News for hackers. Stuff that matters.

adamch

Re:How to speed up the Rust compiler in September 2026 on Thursday October 01, 2026 @09:33AM (#49921467)
I'm glad to see the donations from big companies to open source maintainers are making measurable difference to the Rust experience. Telling these companies that their employees spend 5% less time waiting for compilation might motivate future investment in people like Nick and the others mentioned.
Re:Cloudflare Quick Tunnels on Saturday September 19, 2026 @10:45AM (#49766977)
Lovely to see Cloudflare Tunnel frontpage on HN. Working on Tunnel was the highlight of my career. It was a fun product with a lot of bugs to fix, features to add, architecture to design. We were all working in-person, solving incidents together, getting lunch together every day. Taught me so many important skills that have helped me in every other project I've ever worked on.
PRs are welcome.
Re:Apple M5 chip on Wednesday October 15, 2025 @09:29AM (#45592214)
They'll announce that along with M5 Pro and Max in March or so.
My guess is that users can select a query at runtime, sending it to you via http or any other text.
This is interesting. But how would you use it? You'd need to open up a new type of socket (neither TCP nor UDP but nyxpsi) and everything along your network route would need to support it. So it wouldn't be useful with existing mobile networks (middle boxes won't speak the protocol) nor within the data center (because it's used for high packet loss situations). So what's the use case? Custom wireless networks with embedded devices?
Re:Lorelei and the Laser Eyes on Saturday July 20, 2024 @11:16AM (#41017063)
I didn't mind the controls, they were somewhat clunky but fine once you got used to them.

The game suffered imo because the puzzles had nothing to do with the story. They felt arbitrary and disconnected from the world, unlike the puzzles in Myst. Solving them never felt very intriguing, I was motivated to solve them just because that's what you have to do to finish the game, rather than motivated to solve them because they were interesting.

There are some CF SWEs in Australia. But few teams are willing to work across 3 timezones. The SRE teams might be more open to hiring, as there's a big SRE presence in Singapore.
Nice job! I'm glad the team was able to ship a useful subset of the desired functionality. Yes the current implementation shipping next week has limitations, but they're clearly marked, the compiler helpfully explains them and warns you away from some sharp edges.

I'm glad the Rust project is willing to ship useful but limited features quickly, see how people use them, and then iterate and slowly remove the restrictions in the future. I think it'll be more productive than taking another 3 years to solve all the remaining rough edges and problems.

Re:You might want async in your project on Saturday September 09, 2023 @05:54PM (#37450683)
> tokio uses a 'static, threaded runtime that has its benefits but requires its futures to be Send and 'static.

This is only partly true -- if you want to `spawn` a task on another thread then yes it has to be Send and 'static. But if you use `spawn_local`, it spawns on the same thread, and it doesn't have to be Send (still has to be 'static).

Re:Async Rust Is A Bad Language on Friday September 08, 2023 @03:45PM (#37438484)
Wow, I've been using tokio for years and never knew about this. Thanks!
Re:FiraCode: Free monospaced font with programming ligatures on Wednesday July 19, 2023 @09:18AM (#36785818)
I love ligatures. First thing I do in a new machine is install this font. I won't use a terminal or IDE that doesn't support them.
Re:Tunnel via Cloudflare to Any TCP Service on Saturday May 20, 2023 @01:01AM (#36009497)
You don't need a websocket proxy. CF tunnel supports TCP and UDP just fine.
Re:Load Balancing on Tuesday April 18, 2023 @08:40AM (#35613205)
Really excellent simulation and explanation. Thank you!
Re:Why use Rust on the back end? on Tuesday March 21, 2023 @11:11AM (#35247352)
I would choose [axum](https://docs.rs/axum) as my default Rust server framework. It compiles quickly, it's very ergonomic, and it integrates well into the rest of the ecosystem.

Never wrote a Java web server sorry cannot compare.

Re:Why use Rust on the back end? on Tuesday March 21, 2023 @11:07AM (#35247288)
I would love to use Haskell. The main reason I stopped writing Haskell and started writing Rust was that I could more easily teach new programmers Rust due to better compiler error messages, and Cargo is 10000x easier to use than the Haskell package managers, which never seem to be able to resolve the right set of versions for me.

Being able to write a lot of functional Rust and drop down to imperative/mutation when necessary also eases the curve compared to Haskell.

Re:Why use Rust on the back end? on Monday March 20, 2023 @04:49PM (#35238463)
Hello, author here. My coworker Olivia (of https://losslessbits.com/) really likes SQLx, I haven't personally used it though. I'd love to try it for a future project, as long as it can help typecheck my SQL queries.
I started a personal blog two years ago, roughly. Even if nobody had read it, I'd feel successful, because I only write about things I'm confused about or learned recently. Then I can link them to my coworkers and they get an exact guide about this particular issue.

But, people _have_ actually read it, which is nice. I've hired at least one person through my blog (he emailed me after reading it), and he was awesome to work with. A lot of coworkers have messaged me saying "hey, I was googling for this problem I'm having, and I found your blog, and I realized you work at the company, so thank you!" I've benefited so much from reading developer blogs throughout my career, so it's nice to be able to give back and help others too.

I think it's helped me get better at technical writing and show employers that I can do more than just write code too.

I really like the design of this blog. It's clean and simple but has enough character from the carefully-chosen decorations. The rainbow hyperlinks are a nice touch! Great styling.

Older ยป