Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
throwaway894345
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
throwaway894345
5d ago
Widgets can't have vulnerabilities?
2.
▲
by
throwaway894345
5d ago
If I was writing no-alloc production code, I would stick with Rust, FWIW, at least until Go's library ecosystem improves. I don't mind writing Rust (have been dabbling with it since ~2014), especially with some AI assistance. It&#
3.
▲
by
throwaway894345
5d ago
I touched OCaml several years ago and ran into a bunch of problems with build tooling, standard library, syntax noise, ideological/unhelpful community, etc that turned me off. I'm also just not experienced enough to write OCaml w
4.
▲
by
throwaway894345
5d ago
A decade ago we would hire them fresh from some Ruby on Rails bootcamp so we could pay them less :shrug:
5.
▲
by
throwaway894345
6d ago
The lock screen widgets don't tell you much more than what you can get from looking outside. It's not very helpful to know that it's currently overcast and raining, but it would be a lot more helpful if I could know when the
6.
▲
by
throwaway894345
6d ago
If the app doesn't have any sensitive information, then yes. We already do this with home screen widgets today, so clearly there's no real barrier.
7.
▲
by
throwaway894345
6d ago
I've been having _a lot of fun_ writing Go apps that don't allocate anything and that use small, preallocated buffers to stream through requests/etc. Basically TigerStyle for Go. I don't use arenas, I just size everythin
8.
▲
by
throwaway894345
6d ago
Unrelatedly, I'm still trying to figure out why Apple requires me to unlock my phone to look at the weather. Is there some concern that someone could pick up my phone and learn what city it is in?
9.
▲
by
throwaway894345
8d ago
As an American, I wonder if Trump succeeds in giving away so much of America's economic and military power to other countries, will it make America a less interesting target for corrupting interests? Maybe the billionaires and foreign
10.
▲
by
throwaway894345
8d ago
> it seems that the devices do MUCH more data-collecting outside Europe Just a note: GDPR applies globally. Companies can't collect data on Europeans even if they reside on another continent.
11.
▲
by
throwaway894345
8d ago
> The Catholic Church has withstood the test of time What does this even mean? That the Catholic Church has some special authority by dint of having been around a long time? Also, what does it even mean if the Catholic Church has been ar
12.
▲
by
throwaway894345
11d ago
> Yeah dog, "just didn't sit right" doesn't really hold up. Can you cite the law that requires more than “it doesn’t sit right” to record police officers in public?
13.
▲
by
throwaway894345
13d ago
This isn’t a thundering herd problem, it’s a cascading failure. (Thundering herd is about a bunch of workers waking up simultaneously)
14.
▲
by
throwaway894345
15d ago
> Most US senior military leaders don't even want conscripts: they're generally unmotivated, cause morale problems, and don't stick around. For an offensive expeditionary force they're worse than useless. Comparisons
15.
▲
by
throwaway894345
15d ago
Yep, I'm an American, and sadly we've proven that our country is neither honorable nor reliable. I hope Saab and others continue to provide the free world with options until my country learns that there are consequences for behavi
16.
▲
by
throwaway894345
16d ago
I also just realized that delegating to “UntypedStateMachine” for I/O probably doesn’t allow for Sans-I/O, right? Presumably the UntypedStateMachine must commit to either being sync or async and that must propagate to the typestat
17.
▲
by
throwaway894345
17d ago
I think this makes sense. I’m eager to try it. Some residual questions: what is “untyped” in this case and what is “PostConditional” (an enum of possible states?)? How do subsequent transitions work?
18.
▲
by
throwaway894345
17d ago
How do you model cases where the reservation fails, where the inventory operation is already complete, etc? Basically conditional transitions based on some data received? Also, where does the actual I/O happen? Presumably there is some
19.
▲
by
throwaway894345
18d ago
I’m probably doing it wrong, but when there’s a state with multiple transitions out, I can either model it as distinct methods per transition in which case the caller needs to know how to transition between states or I can have the caller p
20.
▲
by
throwaway894345
18d ago
I’ve been experimenting with Rust’s type state pattern—I’m trying to build something that builds an inventory of some object storage prefix (recording the version and size of each object in the prefix), but the pattern seemed so cumbersome.
21.
▲
by
throwaway894345
22d ago
Lol why is this downvoted? There is no dispute that he spent hundreds of millions of dollars to elect Trump and seat himself in government while his companies are financially dependent on government programs and contracts. This is an obviou
22.
▲
by
throwaway894345
22d ago
Yep, it's crazy that people can correctly recognize that corruption is responsible for the current situation but fail to recognize that adding more corruption will not deliver us from it.
23.
▲
by
throwaway894345
22d ago
> economically meaningful for our nation 3,000 short term jobs doesn't put a dent in the thousands of jobs he has cut, not to mention the losses to our economy due to the tariffs, immigration policy, and deficit spending that he cau
24.
▲
by
throwaway894345
22d ago
Also, capacitative/multitouch touchscreens were ridiculously expensive until Apple made orders at a scale large enough to bring the technology costs down.
25.
▲
by
throwaway894345
22d ago
And the Zune media player was a much better media player than the other 6 Microsoft media players. It was crazy how much Microsoft invested in cannibalizing its own products--I remember they had a similar number of word processors, email c
26.
▲
by
throwaway894345
26d ago
I mean, I understand the need for an escape hatch, but it’s strange to me that it’s the default and that it’s unsandboxed. Feels like build scripts should be treated like CGo in Go—a rare escape hatch that people strongly try to avoid so th
27.
▲
by
throwaway894345
27d ago
"<Country> doesn't have a largest city because all of the cities in <Country> are small"
28.
▲
by
throwaway894345
27d ago
Yeah, or they will make some reference to “the seam” or “it” or something else that assumes you read and followed the prior 3 pages of output.
29.
▲
by
throwaway894345
27d ago
Kind of both. On the one hand, it is “verbose” in the sense that it will tell me every little nit that it can think of while doing a task, it will tell me a narrative about its thought process, and it will tell me every other detail it can
30.
▲
by
throwaway894345
27d ago
I don’t even understand what a capability based language is, but presumably closed source software wouldn’t apply here? Is it common for closed source software to give the source code to customers to build?
More ›