Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
andersa
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
481.
▲
by
andersa
3y ago
And by the time you actually ship something, 10 years have passed.
482.
▲
by
andersa
3y ago
I wonder if this code was written in c++ or similar, the flags were actually a bitfield, and they repurposed it because they ran out of bits. Need a space here? Oh, let's throw out this junk nobody used in 8 years and there we go...
483.
▲
by
andersa
3y ago
Most large teams totally ignore whatever the standard library is doing, because it's largely just bad, over engineered and slow, both to compile and at runtime. They then have their own developed from scratch. It would be funny if it w
484.
▲
by
andersa
3y ago
You don't actually have to remove it if it's not technically feasible. It's not like it was illegally collected there. I really hate how metadata of git commits is immutable though. I've often wanted to make a small chan
485.
▲
by
andersa
3y ago
Luckily, one can just ignore all the modern C++ shenanigans and use it as not much more than C with classes and some basic templates for generic containers. Those are too useful to give up.
486.
▲
by
andersa
3y ago
IP reputation is absolutely a thing, as I understand it it's a large factor in Cloudflare deciding to put you in an infinite loop (or trigger the protection at all).
487.
▲
by
andersa
3y ago
Because it doesn't work. Malicious users can circumvent the rate limiting by using botnets. If requests were somehow tied to the identity of the human operator rather than the particular computer they used, then yes, rate limiting woul
488.
▲
by
andersa
3y ago
There definitely is an alternative solution here that preserves people's freedom to use whatever browser they want, but I'm not sure if anyone would like it. Web services are intended for humans to use them, and all abuse also ult
489.
▲
by
andersa
3y ago
Who cares? He wants to provide a free service, which he is not obligated to do and costs money for him to do, for individuals to check their email. He never intended for bots to check a billion emails, and obviously doesn't want to pay
490.
▲
by
andersa
3y ago
Since nobody is proposing alternative solutions that actually work, people are looking to Cloudflare and Google for help with the real problem that impacts them right now. People are looking for solutions to: - How do we only allow real hum
491.
▲
by
andersa
3y ago
This shall serve as a great example for why no reasonable company would ever use a permissive license for their main product again.
492.
▲
by
andersa
3y ago
I wish. When do we get this upgrade to windows security in a way that is actually useful? Windows Sandbox is not useful. App Isolation seems promising but is still in some kind of preview phase. I've been waiting for so long.
493.
▲
by
andersa
3y ago
But doesn't a basic text editor like notepad++, or sublime text, I guess nowadays people use vscode too, take care of that? Why would you want to use some kind of rich text editing program for those?
494.
▲
by
andersa
3y ago
I must be the only one who didn't know what a WordPad was before reading about it being removed on here. What do you use it for? I can't remember the last time I had to edit a text document that wasn't either pure text (like
495.
▲
by
andersa
3y ago
> Fetching data from disk is something that everyone strives to avoid since it takes approximately 10x more time than using it from main memory. Did they mean 10 thousand times? Or is the in-memory version that inefficient?
496.
▲
by
andersa
3y ago
Basic invariants are very helpful for developing data structures and algorithms if you can come up with good ones. The more the better, as long as they can be checked reasonably quickly. For example, I was implementing a dynamic spatial dat
497.
▲
by
andersa
3y ago
No, gdb is not what people really use. There is probably a correlation between using it and having a grey beard. Here's an example of modern tools: https://twitter.com/EskilSteenberg/status/169533726869157102.
498.
▲
by
andersa
3y ago
It was the same for me. I had access to computers for as long as I can remember, and they had internet access with no restrictions. For the first few years my dad made me use some kind of sandbox so I didn't brick the PC if I downloade
499.
▲
by
andersa
3y ago
There are actually some stoves out there that can use two phases for one large pot, reaching 7.2kW. For example, Miele stoves with the "PowerFlex" feature do this (that is quite the big brain name given the context). Since it is p
500.
▲
by
andersa
3y ago
They should make turbo kettles that hook up to 3 phase power like a stove. That seems like it would be fun. Why stop at 3kW, when you can have 11?
501.
▲
by
andersa
3y ago
Sure would be nice to have some kind of hyper boost setting. There's a 3 phase connection, so why don't they use it? Time to heat that one pot of water with 11 kW.
502.
▲
by
andersa
3y ago
It's really strange to me how people continue to build services using python, knowing it is 100 times slower than appropriate languages, and then get surprised by it being 100 times slower, so they eventually rewrite it.
503.
▲
by
andersa
3y ago
It has been an eternal, abandoned beta for many years. But sounds like work resumed now. Maybe one day it shall be stable.
504.
▲
by
andersa
3y ago
Interesting, that's neat. Somehow didn't realize using it like this was an option, but now that you mention it...
505.
▲
by
andersa
3y ago
I'm confused what you mean. What is a packager doing here? I always assumed that the intention of this library is that you, as a developer, compile and embed it in a product that needs a scripting engine. What use would a standalone Lu
506.
▲
by
andersa
3y ago
Huh. I thought this project was abandoned, with the beta 2.1 being the latest version for many years now, and the new GC having never been implemented. But looking at the page now, all mention of this has been deleted. Has work on it resume
507.
▲
by
andersa
3y ago
I once ended up having nans get interpreted as 32 bit colors accidentally, and it made everything red and white, like Christmas decoration. Wonder what caused the difference in the latter bits being all 1 or 0 together.
508.
▲
by
andersa
3y ago
Well, the whole point of my post was that I would really like a hardware feature that does it without overhead. How that would work behind the scenes, I have no idea. Not a hardware engineer.
509.
▲
by
andersa
3y ago
But in that case, it's not going to be wrapping either. We'll just read beyond the end of the buffer, which a bounds check should catch. Or perhaps I'm not thinking of the specific sequence that would 1) not wrap during modif
510.
▲
by
andersa
3y ago
It doesn't matter if triggering the exception is expensive. At that point overflow has already occured, so your program state is now nonsense, and you might as well just let it crash unhandled. Much better outcome than reading memory a
More ›