News for hackers. Stuff that matters.

ronanyeah

Re:Stateless Probabilistic Minesweeper on Wednesday July 16, 2025 @11:54AM (#44583683)
- The SAT solver is implemented using the Rust crate `varisat` - The Rust program is provided to the webapp as WASM
Re:Why I Use Elm in 2023 on Tuesday May 23, 2023 @09:23AM (#36043900)
If the low hanging bugs can't even be triaged, what hope is there for any future innovation? ie, the countless unsupported browser APIs

It is clear that Elm is understaffed, to say the least.

Re:Why I Use Elm in 2023 on Tuesday May 23, 2023 @09:19AM (#36043846)
Honestly, even just a tweet from the BDFL twice a year saying 'I still care about this' would be something.

It's impossible to evangelise something when the creator has seemingly taken his ball and gone home.

The idea that enterprise should use Elm is laughable.

Re:Why I Use Elm in 2023 on Tuesday May 23, 2023 @09:12AM (#36043761)
People are constantly asking for a pulse:

https://discourse.elm-lang.org/t/is-elm-browser-still-mainta...

https://discourse.elm-lang.org/t/request-elm-0-19-2-any-upda...

It's pretty sad. I personally believe the ecosystem would be in a much more vibrant state today, if the creator had formally abandoned the language at any point in the past, as there are many who would pick up the torch.

It is telling that several people who could once have been considered 'core team' are now building their own languages:

https://gren-lang.org/

https://www.roc-lang.org/

https://www.derw-lang.com/

Re:Why I Use Elm in 2023 on Tuesday May 23, 2023 @09:05AM (#36043682)
Interesting, got any repos written in this style?
> Please don't post shallow dismissals, especially of other people's work.

I think you are violating this guideline.

'actually the murder rate isn't that bad'
It is possible to tolerate wealth inequality, while not tolerating mentally ill drug addicts terrorising the public.
Americans clearly have very low expectations for their standard of living.

As demonstrated by the amount of insane 'actually the murder rate isn't that bad' comments in this thread.

Re:SQLite-based databases on the Postgres protocol? Yes we can on Wednesday January 25, 2023 @01:36PM (#34522309)
I've been using render.com to host Rust+sqlite stacks recently, and I'd like to leverage this.

Should my Rust server be running sqld, and I would add a passthrough endpoint through its existing http api to the sqlite?

Or alternatively, should I be using sqld locally to access my sqlite instance through SSH or something?

Re:Why Functional Programming Should Be the Future of Software on Saturday November 05, 2022 @12:46PM (#33483146)
I think personal experience with multiple paradigms is essential for a developer to decide which one they prefer.

The opinions of programmers who have only used one paradigm are less than worthless, since they are demonstrating a basic lack of curiosity and lack of willingness to invest in their craft.

You can always find excuses not to learn.

Re:The pool of talented C++ developers is running dry on Wednesday November 02, 2022 @01:06PM (#33439245)
> They make a significant portion of all US voting machines.

> Just quadrupled their staff to make a voting machine then fired them all.

Fascinating.

Re:I lasted three minutes at Amazon on Monday December 06, 2021 @08:54PM (#29468312)
This person has clearly never had a job outside.
Re:Ask HN: Starting a career as a programmer in my mid-40s on Sunday November 07, 2021 @03:15PM (#29143069)
I like this perspective: https://twitter.com/cdixon/status/1440026949838069763

For example, predicting Airbnb or Patreon in the early days of HTML/CSS/JS would have taken a lot of foresight and vision.

Re:Ask HN: Starting a career as a programmer in my mid-40s on Sunday November 07, 2021 @01:16PM (#29141932)
There were plenty of people in 1995 who did not understand the utility of HTML. That is the nature of revolutionary technology.
Re:Ask HN: Starting a career as a programmer in my mid-40s on Sunday November 07, 2021 @01:05PM (#29141845)
Web3 is like knowing HTML in 1995. Act accordingly.
Re:Ask HN: Starting a career as a programmer in my mid-40s on Sunday November 07, 2021 @01:02PM (#29141818)
Yeah Solidity has many resources and is worth learning. Solana is another smart contract platform which uses Rust, and Rust is a fantastic language, though it is tough.

Both ecosystems use Node.js for scripting/tests/frontend so that is going to be advantage to learn.

A good progression might be:

  - Modern JS / Node.js
  - Solidity / Ethers (https://docs.ethers.io/)
  - Rust
  - Solana / Anchor (https://project-serum.github.io/anchor/getting-started/introduction.html)
Re:Ask HN: Starting a career as a programmer in my mid-40s on Sunday November 07, 2021 @12:44PM (#29141633)
Look into web3/blockchain/NFT technology, most of it has been around less than 2 years so experience is less of a hard requirement than in other fields of software engineering.
Re:Software Development Waste on Monday August 30, 2021 @02:18AM (#28353200)
I would like to hear some chaos stories.
Re:I don't want to do front-end anymore on Tuesday February 09, 2021 @07:48AM (#26076855)
I would personally recommend Elm for production use after 3 years of development with it.

I regularly engage in refactoring efforts that would be prohibitively time consuming in React, which I also have production experience with.

Re:Huawei Tops Intel as Top Linux Kernel Contributor for 5.10 on Wednesday January 06, 2021 @11:21AM (#25659082)
Huawei has already made some 'careless mistakes': https://www.zdnet.com/article/huawei-denies-involvement-in-b...
Re:Goodbye, Native Apps on Saturday October 31, 2020 @10:38PM (#24956829)
Re:Is Rust web yet? on Friday October 30, 2020 @09:50AM (#24942156)
I come from a Node.js background and picked up Rust about a year ago, after dabbling with Haskell, Elixir and Purescript.

---

Things I like:

- Modern type system. Sum types, Option type etc

- Strict compiler. If it compiles, it works.

- Great error messages.

- Mature package tooling. Cargo is at least as good as npm.

- Mature GraphQL packages.

- Decent cloud support. Github actions, Container guides.

---

I've been running it in production for a while, usually as a remote schema for Hasura: https://github.com/ronanyeah/rust-hasura

Deploy pipeline:

- Push to github

- Github action builds binary

- Github action pushes binary to AWS ECS in a container

- This triggers a rebuild of the AWS Fargate service which restarts with new Rust code

Older »