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
- 30 Comments
Or by using gnu style options on potentially bsd tar
Phrodo_00@lemmy.worldto Programmer Humor@lemmy.ml•Daylight saving creator left the chat....2·1 year 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·1 year 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·1 year 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·1 year 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·1 year 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 Chrome1·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 Chrome52·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 Chrome9·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.
What? The early Internet underseas cables were laid down for phones, mostly by private companies.
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?
I’d need to look up the dates, but he might’ve started creating the languages even earlier than that
What? No. First was the story of Arda in a prototype version of the Silmarillon and Unfinished Tales.
Actually for most people, the browser sends enough information in the headers, ignoring cookies, to identify them as unique. You can check out an experiment about this at https://www.amiunique.org/fingerprint. Combining that with an ip gets you pretty close.
I know what you mean and I also find western support of Israel appalling, but the meme is literally about the lack of support to Hamas, which makes sense given how they also like to randomly kill civilians.
Phrodo_00@lemmy.worldto Programming@programming.dev•An efficient C++17 GPU numerical computing library with Python-like syntax2·2 years agoSo looking at it it has no resemblance to python syntax, but it does use typical python library semantics.
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