Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ianm218
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
181.
▲
by
ianm218
5mo ago
Hmm my reasoning was that in order to have Nginx work in Rust you want to expose scripting so having a decent Lua in Rust is key to not call out to C for that. And then Valkey/ Redis is a lot simpler than nginx so it was a good way to
182.
▲
by
ianm218
5mo ago
In case the topic of memory safety is interesting to anyone I've been experimenting with using AI agents to port common web infra projects to safe/ performant Rust. Somewhat inspired by the Bun port - was thinking that at some poi
183.
▲
by
ianm218
5mo ago
I'd love to see where you end up on this! Happy to hop on a call or something too and get your impression. This is how I was running the benchmarks https://github.com/ianm199/valdr#benchmark-commands . I hope that
184.
▲
by
ianm218
5mo ago
Inspiration for this project is the changing landscape around memory safety + the ability to build quickly against benchmarks and test suites Overview: - valdr is a single node Redis/ Valkey server, drop in for RESP2/RESP3 - ~12 u
185.
▲
Show HN: Valdr - Valkey/Redis in safe Rust, passes >99% of Valkey test suite
(github.com)
5 points
by
ianm218
5mo ago
|
4 comments
186.
▲
by
ianm218
5mo ago
> I personally find the US setup where often the longest serving and oldest workers would be earning the most, strange. Isn't the US significantly more meritocratic in this regard than other large economies? I.e. compared to Europe
187.
▲
by
ianm218
5mo ago
Is someone advocating for banning AI because a guy with ADHD wastes his time? This post seems to just to be about knowing oneself and putting yourself in the right environment not creating a nanny state or something
188.
▲
by
ianm218
5mo ago
I don’t think he’s blaming the technology he’s saying that AI is like crack for people with certain types of ADHD who are always thinking up new projects or going down rabbit holes. I can relate to this greatly I have started dozens of proj
189.
▲
by
ianm218
5mo ago
Very cool! I have been working on scripting in Rust recently on a Lua project [1]. When you made Roto what kind of workloads were you optimizing for? How are you guys benchmarking performance? I ran a quick benchmark based on my recent work
190.
▲
by
ianm218
5mo ago
This end state isn’t guaranteed to be clear people need to go out and work on it.
191.
▲
by
ianm218
5mo ago
So full disclosure I am working on this but my thought is basically this: * Make Rust (or similar memory safe language) drop in replacements for C/C++ code * the stick is Claude mythos and the like - scares CISO’s, shareholders, etc in
192.
▲
by
ianm218
5mo ago
I don’t think is true - the endgame of software security is very secure atleast at the code level. I.e. fully clean supply chain, no memory safety issues, maybe even formally provable code. Right now we are in a very unstable place but it m
193.
▲
by
ianm218
5mo ago
It sounds like they cost a couple hundred dollars in damages I’m not sure it damns a whole generation
194.
▲
by
ianm218
5mo ago
Eh that is just general rot, Trumps brand is a more acute rot. He is brazenly corrupt and petulant in foreign policy in a way we haven’t seen before.
195.
▲
by
ianm218
5mo ago
> Python and Ruby have been an immense environmental (and type safety) disaster. The vast majority of code is not performance bottleknecked at the language level. I.e. Instagram still runs on an optimized version of Django as far as I kn
196.
▲
by
ianm218
5mo ago
I happened to just build a Rust port of Lua this past week [1] for 5.4.7 have been diving back into this world for the first time in a long time. There is some free lunch on performance compared to the C implementation on tables, but the re
197.
▲
by
ianm218
5mo ago
Trump-like behavior isn't the inevitable result of the US System though. We could've had another 20 presidents in a row who didn't go and break the norm of maintaining global alliances and not threatening to invade our neighb
198.
▲
by
ianm218
5mo ago
I can't say I'm overly familiar with Italy's tax regime (besides googling and confirming they effectively don't tax agricultural land) but the large Meta data center is paying >$22 million in taxes to a county with ~2
199.
▲
by
ianm218
5mo ago
C to Rust. c2rust exists but isn’t particularly helpful if you want it to be safe/ performant code anyway.
200.
▲
by
ianm218
5mo ago
I was using large official test suites + lots of tests I generated that test input/ output is byte identical over thousands of commands. You wouldn’t want to ship it straight to prod but it’s a start.
201.
▲
by
ianm218
5mo ago
Italian farmers pay effectively 0% taxes on land and the areas are quite poor. Data centers on the other hand pay lots of taxes. Why would they ban productive uses of land?
202.
▲
by
ianm218
5mo ago
There is things you really can't do by yourself. I've been working on porting some large codebases to Rust lately to experiment with fixing memory safety bugs. There is just no way you can write 100k LOC in a week of production co
203.
▲
by
ianm218
5mo ago
GPUs are much more efficient at parallelizing requests for LLMs so it's going to much more efficient to centrally host. Maybe big companies it would make sense to get their own though.
204.
▲
by
ianm218
5mo ago
Regardless if you find all bad luck immoral it just isn’t practical for every country to support every person. It’s immoral to have borders in the same way it’s immoral everyone doesn’t have a private driver, a personal chef, and a mansion.
205.
▲
by
ianm218
5mo ago
This simplification is very small. #2 is almost literally self evidently true. Most of the disagreement is where a given country should be on the spectrum of zero immigration and fully open immigration. You can know we have the right to set
206.
▲
by
ianm218
5mo ago
It’s a literature study on crime deterrence and says the strongest deterrent is how likely criminals perceive apprehension. I.e. they are much more likely to rob a grocery store if they think they won’t get caught, but the penalty for robbi
207.
▲
by
ianm218
5mo ago
I don't know what you are basing your opinions on here but the literature is pretty clear that their main concern is how likely they think they will be apprehended and cameras + technology + law enforcement clearly make that more likel
208.
▲
by
ianm218
5mo ago
I responded to OP but he correct that criminals are not overly concerned by amount of prison time but the act of being apprehended itself https://www.journals.uchicago.edu/doi/abs/10.1086/670398 . Flock is sti
209.
▲
by
ianm218
5mo ago
To steelman the other side of this - you are basically wrong. One of the strongest deterrants for crime is how likely people think they are to be apprehended. If people were basically certain they would be caught their propensity for crime
210.
▲
by
ianm218
5mo ago
It has a huge amount of areas that are underdeveloped relative to demand. Many areas with height restrictions that block basically all new developments. For example West Village is one of the most in demand zip codes in the entire world cap
More ›