Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
panstromek
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
panstromek
1mo ago
I think you severely underestimate how much effort goes into tackling the computation complexity of those problems as well. Multiple months (at least) went into tackling various exponential blowups in the next trait solver work. That's
2.
▲
by
panstromek
1mo ago
> 2. Type checking (not all type systems) > For (1) and (2), the worst-case just doesn't occur. I don't think 2. is a good example to be honest, It happens quite a lot. At least it's definitely not in the same category
3.
▲
by
panstromek
1mo ago
Asking on zulip is the good first step, yes. But RFC or MCP is only needed for bigger changes. Majority of changes will not need that, especially the ones contributed by newcomers.
4.
▲
by
panstromek
2mo ago
It's relevant for C++ interop at least, but that's about it.
5.
▲
by
panstromek
2mo ago
By default yes. Part of the work is figuring out how to get around that.
6.
▲
by
panstromek
2mo ago
For everybody who doesn't have the context, just note that this is not an accepted langauge change. It's a just project goal, which means it's accepted as something people will work on, but the design might change significant
7.
▲
by
panstromek
2mo ago
Rust moderators are not anonymous.
8.
▲
by
panstromek
2mo ago
This is difficult to answer, because these systems exhibit somewhat chaotic behaviour, and it gets even more complicated cross-crate. I was mostly talking about single crate scenario. Since you mentioned libc, the likely answer is that noth
9.
▲
by
panstromek
2mo ago
> GHC currently needs to parse+typecheck+codegen a file before it can process other files that import it. Codegen is slow. Thus, there's currently demand split compilation into "stages", so that the next file can be typech
10.
▲
by
panstromek
2mo ago
Yes, and there is some compiler flag to do this, even though it's not 100% intended for this use (I think it's something like mir-inline-trheshold=0). There's also -Zhint-mostly-unused flag. The tradeoff is that these functio
11.
▲
by
panstromek
2mo ago
> To me compilers should be content-addressed databases. There's a language called Unison that does that - and the "content" is the AST, so all functions that have the same shape are the same function. It's pretty int
12.
▲
by
panstromek
3mo ago
Casey also got less aggressive when talking about Stroupstrup lately, especially after his last talk at Better software conference, where he mentioned him multiple times with a lot more historical context.
13.
▲
by
panstromek
4mo ago
This is good diagnosis of the problem. I found that often the right solution is to ditch the hierarchy and use flat structure. I wrote about this some time ago: https://yoyo-code.com/embrace-flatness/ Big insight in th
14.
▲
by
panstromek
5mo ago
Yea, when there's a match, our app stops playing videos in Spain and we get some bad reviews. It's pretty annoying.
15.
▲
by
panstromek
5mo ago
I will join the others and say you should just leave twitter: https://yoyo-code.com/you-should-delete-twitter/
16.
▲
by
panstromek
5mo ago
That makes sense, because JWT is base64 encoded, and those base64 tokens are bigger and more expensive. JWT has 3 parts, so it's 3x more expensive, obviously.
17.
▲
by
panstromek
5mo ago
Also, the game is much faster on desktop, looks like it's maybe not framerate independent?
18.
▲
by
panstromek
5mo ago
The game is pretty fun. Page height is a bit wrong on mobile, you probably need some dvh height?
19.
▲
by
panstromek
5mo ago
Depends on how many JSON tokens you need to format. I recommend getting JSON ForMAX+ with 200k tokens and 100k sign in bonus.
20.
▲
by
panstromek
6mo ago
Actually, from the OP, the timeline is: > March 31, 00:21 UTC: axios@1.14.1 published with plain-crypto-js@4.2.1 injected > March 31, around 01:00 UTC: axios@0.30.4 published with the same payload > March 31, around 01:00 UTC: firs
21.
▲
by
panstromek
6mo ago
Well, the hack didn't survive more than 2-3 hours if I'm not mistaken. I don't think that counts as "nobody acted on it."
22.
▲
by
panstromek
6mo ago
As far as I understood it, it only talks about electricity, so that doesn't seem like a contradiction to me. I think some electrification of heating is expected in 2030, but not that much bigger than it is now.
23.
▲
by
panstromek
6mo ago
The parent comments references real world data from Google: https://security.googleblog.com/2024/09/eliminating-memory-s...
24.
▲
by
panstromek
6mo ago
The talk "Black-Hat LLMs" just came out a few days ago: https://www.youtube.com/watch?v=1sd26pWhfmg Looks like LLMs are getting good at finding and exploiting these.
25.
▲
by
panstromek
6mo ago
Yea, passing `-movflags +faststart` to ffmpeg when processing the file should be enough.
26.
▲
by
panstromek
6mo ago
If you don't need to switch versions at runtime (ABR), you don't even need to chunk it manully. Your server has to support range requests and then the browser does the reasonable thing automatically. The simplest option is to use
27.
▲
by
panstromek
6mo ago
That's good and arguably the right default for most websites.
28.
▲
by
panstromek
6mo ago
Yea, honestly you probably just don't understand. FE frameworks solve a specific problem and they don't make sense unless you understand that problem. That TSoding video is a prime example of that - it chooses a trivial instance o
29.
▲
by
panstromek
6mo ago
> Most integration tests are not thread safe and make assumptions about running against an empty database. Which if you think about it, is exactly how no user except your first user will ever use your system. Yea, cypress has this in the
30.
▲
The key insight for programming with LLMs effectively
(yoyo-code.com)
2 points
by
panstromek
7mo ago
|
0 comments
More ›