Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rezonant
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
301.
▲
by
rezonant
2y ago
I'm not sure what a filesort refers to here, but there are absolutely cases where :order can cause performance problems. If there is no index on the ordered field, you have to remember that the order applies first (ie before you filt
302.
▲
by
rezonant
2y ago
If Rubocop's default rules told you to jump off a bridge, would you? :-)
303.
▲
by
rezonant
2y ago
For considerably long methods you are correct. But the rubonic ideal is shorter methods, and for such short methods, it doesn't provide much in the way of reducing cognitive load. As a reader, if you see no assignment prior to the acce
304.
▲
by
rezonant
2y ago
Re (1, assignment of conditional), I tend to avoid this construction, though I don't stress about it too much in code review. It's just fairly easy to lose track of the fact that an assignment is occuring except in the most simple
305.
▲
by
rezonant
2y ago
> Use of self to refer to instance methods (the text here refers to "model attributes", but that's just a particular use of instance methods) is appropriate and often desirable, because failure to do so as the example demo
306.
▲
by
rezonant
2y ago
I agree in general here, but safe navigation is almost always better, because you are reducing the amount of syntax being loaded into the developers head for the same effect, which helps to avoid getting bogged down and missing the bug, or
307.
▲
by
rezonant
2y ago
I assume (since such practice is fairly common in Ruby metaprogramming) that the methods are generated at runtime , so there is nothing to grep.
308.
▲
by
rezonant
2y ago
Was there some kind of side effect that prevented you from simply using the debugger to evaluate parts of the statement to interrogate the results?
309.
▲
by
rezonant
2y ago
This cracks me up. There's really cool implications with this research, but I think the fun value might actually outweigh it.
310.
▲
by
rezonant
2y ago
I'm hoping for the hand terminals from the Expanse: Project images into the space around you.
311.
▲
by
rezonant
2y ago
> It super easy to prevent AI from becoming skynet If only. It will only take one hapless script to bring about judgement day.
312.
▲
by
rezonant
2y ago
Also, if entropy decides you are unworthy and the download dies after reading "rm -Rf /" instead of the full line "rm -Rf /tmp/setup" then you're going to have a bad time on any Linux that doesn'
313.
▲
by
rezonant
2y ago
If we can't let ChatGPT take the wheel, how will we feel alive?
314.
▲
by
rezonant
2y ago
It's still rolling out. It's not browser specific.
315.
▲
by
rezonant
2y ago
Dear sir/madam, that's a browser. This is a feature of Google Search, which is a search engine.
316.
▲
by
rezonant
2y ago
It definitely buries the lede and is overcomplicated
317.
▲
by
rezonant
2y ago
What's new (versus when the story broke years ago) is: > A 47-page report summarizing Ebury's 15-year history said that the infection hitting the kernel.org network began in 2009, two years earlier than the domain was previousl
318.
▲
by
rezonant
2y ago
Uh, you know there's an app search on iOS right?
319.
▲
by
rezonant
2y ago
Worth noting Android (or at least Pixel) does have a feature like this, but it actually does the opposite: while a Bluetooth device is connected it keeps the phone unlocked . It would be way more useful in the reverse: that if a Bluetooth
320.
▲
by
rezonant
2y ago
Or GPT-5 went rogue, took out the senior staff, and is running the game now, Westworld style.
321.
▲
by
rezonant
2y ago
> We have had literally zero complaints of anyone being stalked with a device where anti-theft was enabled. First, it's highly likely that someone being stalked wouldn't realize a tile device was the cause. Secondly, you said T
322.
▲
by
rezonant
2y ago
> because it completely ruins the ability to use Bluetooth devices to deter theft I'd rather have the assurance that at-risk groups like women, marginalized people, and notable people are not at risk of having a cheap and easy to us
323.
▲
by
rezonant
2y ago
Joke of the day right there :-)
324.
▲
by
rezonant
2y ago
Your comment is duped
325.
▲
by
rezonant
2y ago
Most large companies aren't particularly well run.
326.
▲
by
rezonant
2y ago
> Technical writers: documentation by example is good only for newbies skimming through. People familiar with your product need a reference and exhaustive lists, not explanation for different fields spread over 10 tutorial pages. Well sa
327.
▲
by
rezonant
2y ago
Yes this is a puzzling part of the story, for sure. The handling of the situation overall is pretty poor (also for instance the community management response was pretty stupid)
328.
▲
by
rezonant
2y ago
There's so much coverage of this from the gamer crowd that entirely ignores that a PSN account was required from the beginning but waived because of the unexpected popularity of the game and how Sony couldn't handle it. To be fair
329.
▲
by
rezonant
2y ago
Oh that's fair, you're right, that accident happened 5 years ago. Even more reason to excuse them from doing engineering badly! That is basically the beginning of the universe!
330.
▲
by
rezonant
2y ago
Good point, the statute of limitations for killing your customers should probably only be two years. That's, like, ancient history in tech years! GPT 4 wasn't even released at that point! We can't keep holding them accountabl
More ›