Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
josefx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
481.
▲
by
josefx
3y ago
Must resist the urge to make a joke about Apple users "holding it wrong".
482.
▲
by
josefx
3y ago
Doesn't autocomplete show the arguments? I usually use Netbeans when I write Java, so no idea if InelliJ is just that bad.
483.
▲
by
josefx
3y ago
There is also the classic story about returning war planes. You can try to make sense of the damage, the bullet holes, and try to create strategies around how to improve affected areas. The problem is that the damage you actually want to in
484.
▲
by
josefx
3y ago
You assume that modern day browsers are even remotely secure. They still suffer from significant security bugs every now and then. Reducing the amount of third party java script you run is a security improvement.
485.
▲
by
josefx
3y ago
> Wouldn't it be more ethical to not visit ad supported websites in the first place? There is a negative feedback loop where most third party content is only published on the most popular sites, so it becomes impossible to entirely
486.
▲
by
josefx
3y ago
> but it seems like the annoyance in these situations is potentially worth the security benefits. I would be happy if there was a way to just request a long session for that. No need to force everything into a short session just because
487.
▲
by
josefx
3y ago
> Which is what apparmor and firejail/sandboxes kind of want to embrace but in practice people just care too less. In practice I don't have the time to debug every shitty little app armor integration for weeks. I lost days to l
488.
▲
by
josefx
3y ago
Of course a basic iteration between begin()/end() will never contain out of range elements, but neither will valid increment between two integers. No need for iterators in that case either. Say I want to do something fancy, like gettin
489.
▲
by
josefx
3y ago
But iterating over pointers is once again optimized with lots of undefined behavior at the corners. So you are replacing one source of undefined behavior with another.
490.
▲
by
josefx
3y ago
Many little ways and a few bigger ones. The biggest one would be not using reference counting, which makes execution of cleanup code in __del__ somewhat non deterministic and tricks that rely on the exact reference count of an object outrig
491.
▲
by
josefx
3y ago
List append would probably end up guarded by an instance specific lock. At least it is in some of the nogil concept code.
492.
▲
by
josefx
3y ago
You mix up time and code. You don't have to parallelize 100% of your code to scale with cores, you only have to parallelize the code that your software spends most of its time executing and that is often significantly less than 90%.
493.
▲
by
josefx
3y ago
> I'd say max 5% and that if the gil removal was a benefit to other optimizations going forward Some of the recent performance improvements came out of the no-gil camp to show that there was significant room for improvement even wit
494.
▲
by
josefx
3y ago
> at the very most, 8x faster. Where does that number come from? My current desktop has 32 logical cores and it has been a few years since I bought that one.
495.
▲
by
josefx
3y ago
PyPy breaks compatibility with CPython in significant ways, as far as I understand the current no-gil proposal only got through because it has an automated fallback for modules that are not no-gil compatible.
496.
▲
by
josefx
3y ago
So what about the sources he cites, are those also from freelance science journalists? Or are you going after the messenger because you can't attack the message?
497.
▲
by
josefx
3y ago
Didn't Fifty Shades of Grey start out as a Twilight fanfic?
498.
▲
by
josefx
3y ago
How does the modern web browse itself without JavaScript? Oracle still has the trademark on that.
499.
▲
by
josefx
3y ago
As far as I understand it is mostly relevant when the electronic signature is already explicitly required beforehand. For example some government projects might require a valid electronic signature on offers among a million other things. In
500.
▲
by
josefx
3y ago
> that someone else owns. No one tell this guy about the shit home owners have to deal with. Once you decide to give other people access to anything you own you are held to a completely different set of standards than for things you kee
501.
▲
by
josefx
3y ago
My data driven climate model indicates that we could combat climate change by hiring more pirates.
502.
▲
by
josefx
3y ago
> Vectorization, predictive branching, and asynchronous code are all front and center in the modern programmer's ecosystem. Not to forget all the hardware based security bypasses that let any random application read and even modify
503.
▲
by
josefx
3y ago
A thousand people driving to work using busses need a lot less space/lanes than a thousand people driving cars to work.
504.
▲
by
josefx
3y ago
It doesn't? unless you mean the unnamed "transport bosses" that used the word "might". The article linked next to it even mentions that the government covers the difference and I don't see anyone pronouncing t
505.
▲
by
josefx
3y ago
2 doesn't work since you actually have to list what you use the data for and keep that list up to date. You think large companies like Google didn't already try that? > Which do you do? Given that 2 goes out of its way to viola
506.
▲
by
josefx
3y ago
> Ignoring the “pen dropping” strawman Saying that and then countering with your own. Yeah, the pen dropping is a bit over the top, but as of now the claim is that this situation is planed for and will resolve itself. A report now wont t
507.
▲
by
josefx
3y ago
I am more interested in them working efficiently than wasting time writing a 50 page report every time someone drops a pen.
508.
▲
by
josefx
3y ago
The main clue is knowing that Jack Harlow is from Louisville Kentucky, so he is basically guessing that the picture was also taken there and just confirming it by checking if the license plates and logos match those he can find for that are
509.
▲
by
josefx
3y ago
Going too fast will cause other issues. Unless we get a decent world war or another covid going the elderly aren't just going to drop dead.
510.
▲
by
josefx
3y ago
> the complexity of Unicode is only a mirror of the complexity of human scripts. Oh please, Unicode didn't start out as an encoding covering human scripts - it was too late for that. It started out as an encoding to end all already
More ›