News for hackers. Stuff that matters.

j03b

Re:Rust Is the Future of JavaScript Infrastructure on Thursday November 11, 2021 @03:19PM (#29192631)
The takeaways in this article are much more why Go's memory model becomes difficult at scale. When you're dealing with memory at Discord scale garbage collection is hard, for example on the mentioned Discord microservice:

> There are millions of Users in each cache. There are tens of millions of Read States in each cache. There are hundreds of thousands of cache updates per second.

This is something that is probably never going to be hit locally in the development toolchain. You can certainly prefer the Rust memory system to Go and have that be a valid reason to use Rust over Go for something like dev toolchains, but you're not going to hit scale problems like those mentioned in the article.

They're focusing on Ethereum as far as I'm aware because NFTs are pretty popular on the Ethereum blockchain, and the two providers are both for Ethereum (MetaMask solely, and WalletConnect supports a lot as far as I understand)
Re:Hypnogram: Create an image from text on Sunday November 07, 2021 @08:23PM (#29145290)
While waiting for my query to generate, I was graced with "Hacker News", felt it was worth sharing back to this thread :)

https://imgur.com/a/OKW411E

Re:Ask HN: Whatever happened to exploring the internet? on Tuesday October 26, 2021 @08:29PM (#29008226)
You can request a copy from ICANN through the Centralized Zone Data Service (CZDS). It's a pretty neat service and will give you access to zone files for a few months, you just need to file a request to one/multiple TLDs you are interested in seeing.

Sometimes larger TLDs take a bit longer to respond to requests, whereas some others automatically accept all requests.

https://www.icann.org/resources/pages/czds-2014-03-03-en https://czds.icann.org/home

Re:Adopting Erlang on Saturday October 23, 2021 @08:42AM (#28967867)
Significantly better, yes, I've never felt like String methods were missing while using Elixir, they've also got some goodies like Jaro distance right in the stdlib. Docs on Elixir strings are here, plenty of methods: https://hexdocs.pm/elixir/1.12/String.html

This getting started guide also covers some more examples of working with strings (vs. charlists, the erlang string type, which are described at the end): https://elixir-lang.org/getting-started/binaries-strings-and...

This tool is great! Ran through all these checks and deployed them to our cluster the other day.

Immutable fs & non-root is easier than I thought to deploy with k8s, going to be looking into privilege drops this week too.

Older »