Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ben_bai
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
211.
▲
by
ben_bai
9y ago
It's like those e-mails. If it starts with "make 600 USD a week with this tool..." I don't read I delete.
212.
▲
by
ben_bai
10y ago
It's like a drone with GPS. It stays where it is unless you touch the joystick. https://www.youtube.com/watch?v=OazFiIhwAEs
213.
▲
by
ben_bai
10y ago
The 2X predecessor is called VC200 and reaches 70km/h and had a flying time of around 20 minutes.
214.
▲
by
ben_bai
10y ago
range: ~30km battery: ? flight time: ~20min max. load: 2 persons... 150kg? weight: under 450kg fully loaded price: ~300k EUR permission needed: difficult... no airclass yet for those things except. "ultra light" Those figures are
215.
▲
by
ben_bai
10y ago
HFS+ can be configured at creation time to be case sensitive. I did so a while back. Worked perfectly except for one application which could not find it's files. So i had to create a container and Format it case in sensitive and intall
216.
▲
by
ben_bai
10y ago
Until an attacker comes and "parks" in front of the red light blocking all the traffic. There is no legal obligation to keep moving.
217.
▲
by
ben_bai
10y ago
There is a denial-of-service attack possible. Red light with green arrow means you may turn right if you feel like it or wait for green. Just park your car in front of the traffic light... it'll be fine.
218.
▲
by
ben_bai
10y ago
> I don't think the Shuttle landing was particularly problematic. They had a lot of control over the glideslope and lots and lots of runway to work with. I'm sure it's a lot more challenging than the sailplanes I fly, but
219.
▲
by
ben_bai
10y ago
Mostly Strato and Hetzner.
220.
▲
by
ben_bai
10y ago
Yes a dedicated server. Mostly german servers from Hetzner and Strato. https://www.hetzner.de/us/hosting/produkte_rootserver/ex51ss...
221.
▲
by
ben_bai
10y ago
I don't get the whole VPS thing anyway. 5$ for playing around is great but anything that costs more is just not worth it. 60$/month for 16GB, 1CPU, 20GB disk for VPS... in comparison a root server with real remote console access,
222.
▲
by
ben_bai
10y ago
GPS is a military project controlled by the US. With just a switch of a button the civilian receivers will be practical worthless for navigation. They can't do that on Galileo or GLONASS. I imagine Russia can dial down GLONASS precisio
223.
▲
by
ben_bai
10y ago
I would argue that w is a ligature of double-v but since the latin v was pronounced like todays u, its pronounced double-u. Works very well in english and other European languages. Uuindouu... One cant help but make a w sound. Vvindovv... N
224.
▲
by
ben_bai
10y ago
In ye olden days oft UNIX, users home directorys lived in /usr/username.
225.
▲
by
ben_bai
10y ago
I just think of it as offsets. Array X at offset 0, which is the first entry.
226.
▲
by
ben_bai
10y ago
Not for long, if this catches on. There was a free C plugin, now you have to pay for CLion.
227.
▲
by
ben_bai
10y ago
Oh indeed. Static it is...
228.
▲
by
ben_bai
10y ago
4.3BSD-Reno, basically unchanged since 1990 until yesterday. http://minnie.tuhs.org/cgi-bin/utree.pl?file=4.3BSD-Reno/src... Personally I'm more worried about the function returning obuf, a pointer to a stack
229.
▲
by
ben_bai
10y ago
reallocarray is a very thin layer around realloc. No surprises there. Simple find and replace to bring overflow checking into your code. reallocarr changes the semantics. Equally easy in new pieces of code and a little harder when convertin
230.
▲
by
ben_bai
10y ago
> Plus, if we wanted to, we could certainly write our own wrapper for malloc that took two arguments and multiplied them together with overflow checking. And in fact if we want an overflow-safe version of realloc, or if we don't wan
231.
▲
by
ben_bai
10y ago
Well, there is a lot of code from *BSD in Android, for example libc. OpenBSD: https://github.com/android/platform_bionic/search?q=openbsd
232.
▲
by
ben_bai
10y ago
$280,000 !
233.
▲
by
ben_bai
10y ago
If only there were a command like "pkg_add sudo".
234.
▲
by
ben_bai
10y ago
Congrats: Your shell just spawned another shell to run an empty script. Also: # rm /bin/true && true && echo success success
235.
▲
by
ben_bai
10y ago
The real kicker is this comment in GNU true(1). /* Note true(1) will return EXIT_FAILURE in the edge case where writes fail with GNU specific options. */ If you can't program a bug free true(1), please stop with wha
236.
▲
by
ben_bai
10y ago
I would not do that. Userspace Apps have way to many ways to screw up memory managment already. Allowing them to buf=malloc(128); free(buf, 256); seems dangerous, if free can't check the size. But kernels sometimes do just
237.
▲
by
ben_bai
10y ago
Chromium is the Browser you want. You can load a bunch of tabs an it only starts autoplay when you finally switch to the tab you want to watch.
238.
▲
by
ben_bai
10y ago
But it can overflow, which will result in a different value that the programmer might expect, which can give an attacker a nice "information leak" or worse. This could be a security bug!
239.
▲
by
ben_bai
10y ago
This seems to be the Manta [0] way. Letting you run your beloved Unix command pipeline on your Object Store files. [0] https://www.joyent.com/manta But the youtube videos with Bryan Cantrill are even better at explaining.
240.
▲
by
ben_bai
10y ago
Not on OpenBSD. The bootloader supplies entropy, so that basically as soon as the kernel starts booting, random numbers are available. Edit: /dev/random on OpenBSD also does not block.
More ›