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
- 22 Comments
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.
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?
Phrodo_00@lemmy.worldto Firefox@lemmy.ml•Be careful, your understanding of incognito mode in Firefox may be wrong and that could be costing you81·2 years agoSo, safari in ipadOS (that’s the only place I use safari) works the same way, and it’s as annoying as it sounds.
Phrodo_00@lemmy.worldto No Stupid Questions@lemmy.world•How do you call someone born in the US besides "American"?11·2 years agoNo, just fat fingered a bunch of words and didn’t check.
Phrodo_00@lemmy.worldto No Stupid Questions@lemmy.world•How do you call someone born in the US besides "American"?11·2 years agoWhy are you arguing against yourself? In the comment I replied to you asked if we didn’t have a word for South American, and we do, it just doesn’t mean the same (edit: because those aren’t continents in the Continental model used back when the Americas were being colonized). I’m not sure what you’re arguing anymore other than trolling.
Phrodo_00@lemmy.worldto No Stupid Questions@lemmy.world•How do you call someone born in the US besides "American"?2·2 years agoHuh? That article backs me up?
Most English-speaking countries recognize seven regions as continents.
Different variations with fewer continents merge some of these regions
The six-continent combined-America model is taught in Greece and many Romance-speaking countries—including Latin America.
Phrodo_00@lemmy.worldto No Stupid Questions@lemmy.world•How do you call someone born in the US besides "American"?1·2 years agoIt varies from country to country. Can be either.
Phrodo_00@lemmy.worldto No Stupid Questions@lemmy.world•How do you call someone born in the US besides "American"?1·2 years agoIt would be like telling French people they’re not allowed to call their arm a bras because it refers to an article of clothing in English.
And yet I’ve seen so many Americans chastising Spanish speaking people for saying the color black in their own language.
Phrodo_00@lemmy.worldto No Stupid Questions@lemmy.world•How do you call someone born in the US besides "American"?3·2 years agoNo soy mexicano, pero hablando en español, si (en los mismos contextos que un francés diría que es europeo, por ejemplo). América es el nombre tradicional del Continente completo.
Phrodo_00@lemmy.worldto No Stupid Questions@lemmy.world•How do you call someone born in the US besides "American"?21·2 years agoIn southern European tradition (which ends up in Latin America), those are not continents but regions. America is the Continent.
Phrodo_00@lemmy.worldto News@lemmy.world•Giant asteroid the size of 1,000 capybaras to pass Earth Tuesday - NASA2·2 years agoWtf is an ounce? Scientist
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