2,950 karma · joined Apr 1, 2014 (12y ago) · 989 submissions
comment 2y ago · link · parent
as in
join orders returns on returns.original_order_id = orders.order_id
WHERE <-------- Should order type be in the WHERE clause?
returns.order_type = 'RETURN'
vs join orders returns on returns.original_order_id = orders.order_id
AND <-------- Should order type be in the JOIN clause?
returns.order_type = 'RETURN'
One argument was that JOINs are specifically for tickling indexes and only for structural joins between tables, not for describing the table itself, so it should go in the WHERE clause. ("ALL context should be in the where clause.")One argument was that sometimes a definition is limited by context, so strategically it makes sense to add to the JOIN clause. ("the `returns` alias MUST be limited to return orders, so it should be in the JOIN"; you'd have to adjust your indexes to account for the "order_type".)
comment 2y ago · link · parent
Them whinging is not them being entitled or intending to insult you, they're just defending their self worth, just like you're doing by defending the jobs having come to your area.
Imagine the team had been replaced by fresh college greenhorns using the same seats. The rhetoric would still be the same outrage and resentment.
comment 2y ago · link · parent
Still seems pretty clear as to why someone would find value in the ring. Another poster says he charges his ring while he showers. It's that quick. I'm not knocking smart-*, just reacting to the dismissive "why would anyone want this" attitude of GP.
comment 2y ago · link · parent
The document that uses it then has to then be dated.
e.g. "I warmed up dinner one minute before present" ---> said ??? minutes ago. --> is dinner still warm? who knows.
I get that "about 7,000 years ago" is still going to be "about 7,000 years" for a very long time.
Still. Seems shortsighted to communicate dates via a moving target, especially for something that's already supposed to be thinking in very long terms.
Archaeologists, you'd think, would expect their words to stick around a long, long time, why would they use a short-sighted dating mechanism?
comment 2y ago · link · parent
Regarding the CfE multiple descendants problem, it's not really a problem.
+-----+----------+-------+---...
+ Egg | separate | White | etc..
+ | |-------+---...
+ | | Yolk | etc..
+-----+----------+-------+---...
or you'd just start with "1 egg yolk" and "1 egg white" for your recipe. Or you'd say "See meringue below" or... some other answer that you like.Whatever, we're humans, we roll with it.
If the recipe somehow gets too complicated, you make two separate tables, like they did for the recipe above.
comment 2y ago · link · parent
Eventually the first guy tires of being mocked by this guy claiming not to speak English and beats the guy up.
Totally hilarious example of what you experienced taken to an extreme.
comment 2y ago · link · parent
As to cookbooks... it's tricky to both not insult the reader and also not waste folks' time.
Like HGTV used to smugly, proudly educate their viewers on how cool and easy it is to remove the pit from an avocado. Then at some point during their "next food network star" show a contestant did that and the hosts rolled their eyes. "Everyone that watches Food Network knows how to do that. Move on please."
comment 2y ago · link · parent
https://www.cookingforengineers.com/recipe/168/Pecan-Coffee-...
comment 2y ago · link · parent
The title made me imagine the engine revving such that you'd hear different notes but... this is not a normal mower, it's a smart mower with a mobile app; computer with a blade. It could probably play MP3s for all I know.
What does this actually do?
comment 2y ago · link · parent
Some recent examples:
* "I installed windows and now I can't access my linux partition" * "I want to add an `in` variable to an existing pl/sql function, can it go on the end of the parameter list? (Answer: No, because...)" * "What size soccer ball does AYSO U10 use?" * "what is the name of that python library that handles command line arguments, and could you provide an example that demonstrates required flags?"
nothing earth shaking. not things that're impossible to find, but... instead of reading someone's blog post in which they work as hard as possible to belabor the point so you'll scroll through all 14... this thing just gives you the answer.
comment 2y ago · link · parent
There being negative cases don't mean the prolific amount of positive cases don't tell me the world has shifted.
Seriously I was very skeptical of using ChatGPT, worried it'd give me bad advice but I keep not finding quality content in google searches ("Hey googz, what's the flag in a bash if statement that verifies a file does not exist? --> oh here's a page full of every possible thing bash can do") and i ask ChatGPT and it's just bam, the answer.
It helped me recover a crashed harddrive, verify how `in` and `out` variables work in pl/sql functions ("yes, all `in`s have to come before any `out`s")... it's just so right so concisely that, like it or not, it's here to stay.
comment 2y ago · link · parent
For sure more than a single-digit percentage of people have tried a Q&A bot by now. Shoot, Windows just updated to insert Copilot into users' machines, with the icon right next to the Windows button. It can't not continue to grow. It's such an amazingly effective way to get information versus scouring through web pages.
comment 2y ago · link · parent
mvn clean install ; say "Done"
It's great for those build times that're awkwardly long. Just long enough that you get bored waiting, too short to accomplish something else in the meantime. So you crank up the volume, load up HN, read an article and "DONE!" OH HOLY SHI--. Back to work.that said it sucks to set up that flow when you /sometimes/ are around other people. it's pretty jarring if anyone can hear it, so you just wouldn't do it in a tight-collab area.
Usually though they're SUPER annoying so eventually I weeded them out of my workflow.
Would not recommend using sounds in development.
comment 2y ago · link · parent
Dialects are always in flux and there are plenty of languages out there they haven't conquered, so ... I'd guess they're just leaving it running to detect new speech or languages or dialets or ... personal data gathering or... ?
comment 2y ago · link · parent
* my understanding was simply that the regex would (A) recognize `[a-z][A-Z]` and inject optional _'s and -'s between... and (B) notice mid-word hyphens or underscores and switch them to search for both.
comment 2y ago · link · parent
Strategically/rarely buying and dumping excessively cheap grain would bolster farmers' livelihoods, prevent price collapse, and... some fish get fed one time.
comment 2y ago · link · parent
comment 2y ago · link · parent
Eventually some rich guy thaws him out so he can learn more about his interviews and he goes on from there trying to cure-and-revive his wife.
IIRC he keeps freezing and thawing himself throughout millennia... can't recall the name of it though! Arg.