Original grep was pretty much a wrapper around sed (or actually maybe ed, I don’t remember). That’s why it’s called g/re/p, which is the sed command to do the same thing.
- 0 Posts
- 13 Comments
Phrodo_00@lemmy.worldto
Programmer Humor@lemmy.ml•Daylight saving creator left the chat....
2·2 years agotz offset is really not enough. You’d need to save the time zone id and/or offset, to have you library calculate deviations such as daylight savings.
Even that, that would break if the user moves and now what they setup is using their previous timezone.
Basically, I’m saying that storing the offset works most of the time, but not all of the time.
Phrodo_00@lemmy.worldto
Programmer Humor@lemmy.ml•Daylight saving creator left the chat....
1·2 years agoIt depends. If something needs to happen in local time (like, always at the same time regardless of daylights savings for example) you should be storing times in local timezone
Phrodo_00@lemmy.worldto
Programming@programming.dev•'Don't parse markup languages with Regex' is an annoying trollpost and it should die... right?
4·2 years agoHTML is not even a tree (XHTML is. XML is a type 2 grammar). SGML languages like HTML are more similar to Tree-adjoining grammars.
For example
<b>This<i>is perfectly</b>valid</i> html.
Phrodo_00@lemmy.worldto
Programmer Humor@lemmy.ml•*Angry programmers noise getting louder and louder*
35·2 years agoUnder this definition, using mspaint is programming
Phrodo_00@lemmy.worldto
Programming@programming.dev•Should a toggle button show its current state or the state to which it will change?
3·2 years agoIf it’s a verb it should be a button, not a toggle
Ctrl+break doesn’t do anything on my machine. Ctrl+c stops a process.
Phrodo_00@lemmy.worldto
Technology@lemmy.ml•Google's Manifest V3 changes will soon disable uBlock Origin on Chrome
1·2 years agoThat doesn’t even mention the changes to webrequest. Here’s an intro: https://developer.chrome.com/docs/extensions/migrating/blocking-web-requests/
Phrodo_00@lemmy.worldto
Technology@lemmy.ml•Google's Manifest V3 changes will soon disable uBlock Origin on Chrome
52·2 years agountil June 24 also the adblocker devs have updated their products for sure.
If you understood the differences between manifest v2 and v3 you’d understand that it’s pretty much impossible to make an ad blocker with the same effectiveness in V3 as in V2.
So they will exist, just be worse.
Phrodo_00@lemmy.worldto
Technology@lemmy.ml•Google's Manifest V3 changes will soon disable uBlock Origin on Chrome
9·2 years agoThe V3 version of ublock should really use a different name to make it clear it doesn’t have the same capabilities as in V2/Firefox. Maybe something like UBlock use-firefox-instead.
Probably not starting a lot of new projects in them, but there’s loads of valuable software literally being the main income for companies in all of them.
Next, Angular, Django, RoR?
Python is probably the language that popularized them, if not invented them. They’re saying the team doesn’t like using them.
My take is that other than C++, where it’s reasonable, forbidden language features are a smell for the team not having a healthy understanding of the language