Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Aeolos
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
Aeolos
9d ago
Did you miss the Anthropic and OpenAI blog posts screeching for regulation?
2.
▲
by
Aeolos
10d ago
For the last 60 years, whenever AI achieves something revolutionary, some people immediately say "well that wasn't particulary revolutionary". Every single time. It's a tired argument, and we should strive for the intell
3.
▲
by
Aeolos
27d ago
You audit the code, then you run cargo update and you are pwned. Asking the user to not make mistakes is the c++ approach to security - it doesn’t work.
4.
▲
by
Aeolos
28d ago
cargo add + rust-analyzer instantly executes build.rs before you have a chance to audit the code. Cargo, please PLEASE give me a way to disable third-party build.rs and whitelist the ones I need. And please loudly mark any update that adds
5.
▲
by
Aeolos
28d ago
The problem is that build scripts run automatically without user consent or intevention. `cargo add` is sufficient to compromise you, before you have a chance to even vet the code.
6.
▲
by
Aeolos
1mo ago
We are serving over HTTP/2 and currently testing HTTP/3. I don't have direct HTTP/1 vs HTTP/3 comparisons, because 0% of our requests are over HTTP/1 today...
7.
▲
by
Aeolos
1mo ago
The primary problem with SPAs is actually that the server state is duplicated client-side, which inevitably leads to state desync bugs. The secondary problem is SPAs approximately double the amount of code you need to write compared to a se
8.
▲
by
Aeolos
1mo ago
The library is small enough I simply load the entire datastar codebase in the context when I need to ask how something works. Once you have sufficient context in your html, this is no longer necessary.
9.
▲
by
Aeolos
1mo ago
Absolutely not, even on HTTP1.1. Our webapp is achieving 800:1 to 5000:1 compression ratios pushing down the entire HTML page over brotli and zstd. The first render is about 20:1 compression, every interaction after that is 800-5000:1. We a
10.
▲
by
Aeolos
1mo ago
You do you, but thankfully the rest of the industry disagrees with you.
11.
▲
by
Aeolos
1mo ago
And trending down. IE6 was 97%, how did that work out?
12.
▲
by
Aeolos
1mo ago
Trump was elected by the electors, not by the people. Not entirely dissimilar from how VDL was elected.
13.
▲
by
Aeolos
1mo ago
Breaking an illegal monopoly takes decades but, as it happened with Internet Explorer 6, it's finally happening for Windows.
14.
▲
by
Aeolos
2mo ago
However "world models" have been a thing for the entire history of computers. They have changed names over time: "rules engines", "expert systems", "semantic web", and so on and so forth. And they hav
15.
▲
by
Aeolos
2mo ago
If BEM is regular CSS, why would I use BEM instead of the actual thing? It's a layer of indirection for no reason if it's the same. You use Tailwind in the same way you use BEM: becuase it makes it easier for frontend developers t
16.
▲
by
Aeolos
2mo ago
Replace paper clips with data centers and we are already there…
17.
▲
by
Aeolos
2mo ago
If that is so, why are people getting up in arms about tailwind?
18.
▲
by
Aeolos
2mo ago
The poster I responded to, specifically asked for how to implement this in tailwind, with a worry about "do you really style each component separately for dark mode? Repeating the same modifiers over and over?" I simply answered h
19.
▲
by
Aeolos
2mo ago
That’s exactly how I’m doing this using tailwind and daisyui though, so I’m not sure what point you are trying to make? My global tailwind.css defines two sets of css vars for the light and dark theme, and it all gets applied globally with
20.
▲
by
Aeolos
2mo ago
You just make a design system in your tailwind.css, following the documentation. You can optionally use something like daisyui if you do not have designer skills or the time. That handles consistent sizing, spacing, text, colors, dark mode,
21.
▲
by
Aeolos
2mo ago
All the evidence is against you here, sorry. Just read the google or microsoft security blogs, linux kernel mailing list, or any of the published security research about bug density in Rust vs C++. Or you can bury your head in the sand whil
22.
▲
by
Aeolos
2mo ago
It is obvious that you are just trolling, but for other readers: our production app went from 50-100 unexplained sentry errors in typescript to 0 sentry errors in rust. The language absolutely helps fix logic errors. It's something tha
23.
▲
by
Aeolos
2mo ago
Fat services, thin routes. Try moving your business logic to a library and consume it from both your UI and API routes. That minimizes duplication and decouples your public API resolvers (with backwards compatibility requirements etc) from
24.
▲
by
Aeolos
2mo ago
Having used both in anger, I find d* has a lot of very real advantages over react if you care about performance and application stability. It's simple enough that you don't need training or lengthy guides about "the rules of
25.
▲
by
Aeolos
2mo ago
You either buy a datastar license to get their debug tools, or you spend a couple of hours to build your own. I'm sure you can find something on GitHub too. One of the cool things is how extensible d* is. Everything is a plugin, and yo
26.
▲
by
Aeolos
2mo ago
Our UI is highly interactive: think 3d visualizations with toggle-able overlays, various display settings, searchable lists, drawing tools etc. We made a lot of progress with htmx, but eventually hit a complexity wall where we were spending
27.
▲
by
Aeolos
2mo ago
I highly recommend everyone to give htmx or datastar a try, especially if your main experience is react or nextjs. We recently rewrote a half-million LOC codebase from react to datastar, with a detour through htmx first, and the results are
28.
▲
by
Aeolos
2mo ago
The Rust type system helps you catch logic errors at compile time. Same with Haskell or Ocaml.
29.
▲
by
Aeolos
2mo ago
Many people have tried before, but the bitter lesson has come for them all.
30.
▲
by
Aeolos
2mo ago
There used to be a time when you had to write in assembly and count bytes to fit your code into the vanishingly small ROM you had available. Nowadays, you can just write in python with no care for the hundreds of thousands of cycles and meg
More ›