Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
JulianMorrison
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
91.
▲
by
JulianMorrison
5y ago
2 jabs is iffy, 2 + booster seems like "probably fine". Hence the panic.
92.
▲
by
JulianMorrison
5y ago
FWIW, Go _does_ have keyword struct members, so it's possible to do type A struct { B int C int } myfunc(A{B: 1, C: 2})
93.
▲
by
JulianMorrison
5y ago
Supervolcanoes generally aren't violent, though. They're just really, really big. It's the ash and gases that do the damage.
94.
▲
by
JulianMorrison
5y ago
It seems like there's a mistaken assumption here. Suppose you had a cheat code for the drill problem (starship Enterprise is in orbit, it fires its phasers and ablates a huge hole down to several kilometers). The only way to relieve th
95.
▲
by
JulianMorrison
5y ago
Not really. It has to be possible in practise to make proprietary modifications, get them accepted into common use, somehow prevent other people just cloning them, and steal the momentum of the open source project. If someone makes propriet
96.
▲
by
JulianMorrison
5y ago
Second kind of fuckery of this sort: you watch a video about A, and it auto plays a video about a completely unrelated B. There is no option to switch this off (hello, Independent news online). Just no. Seriously. That gets me to block your
97.
▲
by
JulianMorrison
5y ago
I will actively block that video player. Spend time to do it, even.
98.
▲
by
JulianMorrison
5y ago
Either you read data into a fixed byte[] and stop at its capacity, or you read data into an unbounded byte[] by using append, and Go looks after the capacity, either way, you can't go off the end.
99.
▲
by
JulianMorrison
5y ago
Go has no "unsafe" keyword and several parts of the language are unsafe, you're thinking of Rust which has much tighter guarantees. Go idioms, like accepting data into buffers that are resized by "append", work arou
100.
▲
by
JulianMorrison
5y ago
FWIW, Go absolutely would not stop you writing unbounded data into a bounded struct. Idiomatic Go would be to use byte slices which auto-resize, unlike idiomatic C, but you still have to do it.
101.
▲
by
JulianMorrison
5y ago
Why isn't static analysis taint-checking the boundedness of data? Unbounded data should be flagged as unbounded and that flag should propagate through checking until it can be proven to be bounded.
102.
▲
by
JulianMorrison
5y ago
You can get a lot of the way towards that without needing a RTOS though.
103.
▲
by
JulianMorrison
5y ago
Containerisation already goes a way towards this, each executable is bundled with what it needs and nothing else. And the next step is one app per hardware, where you have maybe a minimal stripped OS that just launches your app, effectively
104.
▲
by
JulianMorrison
5y ago
https://media0.giphy.com/media/DwrnYsZCXspu8/giphy.gif?cid=7...
105.
▲
by
JulianMorrison
5y ago
I don't think they link the binaries. It's more like, put them each on executable flash in separate places and the kernel just calls them. The intent here seems to be that each binary has no need (and no ability) to get all up in
106.
▲
by
JulianMorrison
5y ago
> Also what's so special about Giphy? At a guess: a large existing library of GIFs.
107.
▲
by
JulianMorrison
5y ago
I really like this quote from the manual: <<There are a class of "ideal attractors" in engineering, concepts like "everything is an object," "homoiconicity," "purely functional," "pure capa
108.
▲
by
JulianMorrison
5y ago
IIRC English - Indian English, not British or American - is the second language of the most people in India. Otherwise, they have so many local languages they would be mutually incomprehensible. But everyone learns English, and so they can
109.
▲
by
JulianMorrison
5y ago
The author likes ed. From this you may draw any further conclusions necessary.
110.
▲
by
JulianMorrison
5y ago
I fail to see a downside.
111.
▲
by
JulianMorrison
5y ago
And as a user, what's your plan to keep being able to access your notes? I feel that if you don't control your data, then you don't have your data. A license that might evaporate means your data exists at somebody else'
112.
▲
by
JulianMorrison
5y ago
Go's origin in plan 9 tooling carried with it a certain preference for the portable and simple over the optimised. A good way to start a language, and they've been tuning it in various ways since.
113.
▲
by
JulianMorrison
5y ago
"self-automated bug bounties" is my new favourite phrase.
114.
▲
by
JulianMorrison
5y ago
You can stack-allocate in C, with alloca() or by taking the address of a local, and use it like a pointer. So long as you're extremely sure nothing is going to hang onto the pointer beyond the lifetime of that stack frame, it's fi
115.
▲
by
JulianMorrison
5y ago
Go creates less garbage and also stack allocates things using escape analysis which as the article explains, is effectively a form of generational garbage collection.
116.
▲
by
JulianMorrison
5y ago
Production chains would get a whole darn lot shorter if they didn't have to machine everything to spider thinness from exotic metals and build it to fold inside a thimble.
117.
▲
by
JulianMorrison
5y ago
The aside section of what Starlink can do, sounds to me like the kind of thing that gives militaries sleepless nights.
118.
▲
by
JulianMorrison
5y ago
> We haven't been back to the Moon ...because until basically now , the tech for doing so was an immensely expensive, one shot, disposable rocket, which could only carry a return vehicle, one lander and a small crew. As a result, t
119.
▲
by
JulianMorrison
5y ago
It's already happening, see https://www.gov.uk/government/news/world-record-raf-flight-p...
120.
▲
by
JulianMorrison
5y ago
They will never forget Ea-nasir.
More ›