Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
habitue
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
habitue
2y ago
Apologies, this was me doing a quick googling and apparently I misread
92.
▲
by
habitue
2y ago
I was curious, so the context is that current Amazon CEO Andy Jassy was the head of AWS and he hired an outside executive, Adam Selipsky, as his replacement when he was promoted. Adam worked at Amazon a long time ago, but left to found Tabl
93.
▲
by
habitue
2y ago
If you're quite used to Haskell, it's nbd. If you're coming from another language with for loops and someone tells you it's a for loop, you might be surprised that you need to use $ and the loop variable comes after the
94.
▲
by
habitue
2y ago
Sorry, bad attempt at humor. I knew what you meant, I was just poking fun at forM_ for being bizarre and unergonomic
95.
▲
by
habitue
2y ago
There's... forM_ in Haskell. that's basically a for loop, right?
96.
▲
by
habitue
2y ago
> more generous welfare state That's the bull case. The bear case is "money is distributed to government contractors through overpaying for things"
97.
▲
by
habitue
2y ago
It's called a harberger tax: https://en.m.wikipedia.org/wiki/Harberger_Tax
98.
▲
by
habitue
2y ago
This is too one size fits all. It's either "every package is untrusted" so the repo is useless, or it's "there's too many people to keep track of the trust level of" which is insecure. It's much harde
99.
▲
by
habitue
2y ago
The public includes online mobs who send you death threats. It definitely matters to protect your identity from the public
100.
▲
by
habitue
2y ago
Log levels are a distraction. Your app shouldn't be deciding what's relevant, you should be emitting everything with tracing[0] and then writing alerts for fact patterns you care about. [0] Not the trace log level, but events and
101.
▲
by
habitue
2y ago
Are you assuming there isn't a fallback? That's a big assumption if so
102.
▲
by
habitue
2y ago
If you return a pointer from a function that points to a stack local variable, it'll be invalid. Generally this is easy ish to detect though.
103.
▲
by
habitue
2y ago
I am surprised that call stacks aren't mentioned. The call stack is a great way to free up memory that's no longer being used by a function. Maybe it was too obvious to include?
104.
▲
by
habitue
2y ago
I don't know that it would make less errors, but the more expressive type system could help you detect those errors.
105.
▲
by
habitue
2y ago
Exactly, generate Haskell. It's declarative and a programming language
106.
▲
by
habitue
3y ago
> The whole thing could have been avoided if Google and social media stopped embedding previews and summaries everywhere. This is so backwards. This is a terrible experience. Embedded summaries are great, they make everyone's life e
107.
▲
by
habitue
3y ago
This is the kind of smart, walkable, mixed-use urbanism that is illegal to build in most American cities
108.
▲
by
habitue
3y ago
After going all in on tracing and ignoring logs entirely... I gotta say I'm really glad I never have to deal with logs.
109.
▲
by
habitue
3y ago
I remember being the only person I knew who used Firefox in the early 2000s and when I mentioned "standards based css" and got eye rolls and blank stares. It sucked, and it seemed like nothing would get better. It was a death spir
110.
▲
by
habitue
3y ago
To summarize, agents are (essentially) LLMs in a loop: take actions, think, plan, etc, then repeat. Currently, from what I've seen, current LLMs "diverge" when put into a loop. They seem to reason acceptably in small chunks,
111.
▲
by
habitue
3y ago
Rust does indeed have several repls (off the top of my head there's one called "evcxr", which I actually interviewed the author of[0]) But rust doesn't ship with a repl. There are repls probably for every language some
112.
▲
by
habitue
3y ago
Right, but it can control the editor indirectly through that API surface, and the editor can write to the filesystem. It's definitely more secure than running a non-sandboxed executable, but the entire point of a plugin is to have an e
113.
▲
by
habitue
3y ago
Depends. if the editor is given permission to edit files, like say, many people do `sudo helix` when they want to edit some system config file, you could imagine a rogue wasm plugin doing a lot of harm. Sandboxing isn't magic, if you n
114.
▲
by
habitue
3y ago
Metaprogramming and repls are still pretty common, just not as much for static languages (Haskell being a notable exception, statically compiled but ships with a repl) Python, Ruby and C++ are famous for having rampant metaprogramming, rust
115.
▲
by
habitue
3y ago
Biggest constraint on this principle is that you can get promoted to a level where getting promoted again requires someone else quitting. That doesn't really imply anything about your competence. Usually if you're blocked from adv
116.
▲
by
habitue
3y ago
The discussion of the error recovery strategy is pretty interesting. It seems very similar to me to monte carlo tree search, which kind of suggests using a value network to estimate which branches to prune
117.
▲
by
habitue
3y ago
Gotta say, I admire the chutzpah. Commoditize the commoditization software, it's the most open source thing ever
118.
▲
by
habitue
3y ago
Does anyone know what screen sharing looks like in apps like slack with hyprland?
119.
▲
by
habitue
3y ago
Sure, but do we trust Google's non generative summaries / search results for some reason? It's all a black box to us on the outside. It's already heavily ML'ed, like at no point was a human ranking these things or d
120.
▲
by
habitue
3y ago
Didn't opt in? Since when do we get to opt into a tech company's product changes? I get that generative AI is the latest terrible thing, but this seems like a normal product rollout to me
More ›