Readit News logoReadit News
jkoudys commented on Axum 0.8   tokio.rs/blog/2025-01-01-... · Posted by u/minimaxir
robjwells · a year ago
I really hope guide-level docs are on the roadmap for Axum. The current situation of "here are some (third-party) blog posts and YouTube videos" is not greatly encouraging. For reference:

https://github.com/tokio-rs/axum?tab=readme-ov-file#getting-...

https://github.com/tokio-rs/axum/blob/main/ECOSYSTEM.md#tuto...

jkoudys · a year ago
I usually ask gpt4o as my ref doc.
jkoudys commented on Alley Cat Remeow Edition   joflof.com/alley.html... · Posted by u/justsomehnguy
jkoudys · a year ago
The opening screen in this game is why I ended up working at IBM for 8 years.
jkoudys commented on Use Rails   jmduke.com/posts/microblo... · Posted by u/mscccc
causal · 2 years ago
When software engineers start a business, it's easy for them to hyperfixate on technical decisions because those are the types of problems they understand well enough to optimize.
jkoudys · 2 years ago
Yep. The problem with the story of bikeshedding is that it assumes people know bike sheds but not nuclear reactors. There are plenty of cases of people who are great at nuclear reactor design but have no idea how workers should park their bicycles.
jkoudys commented on Use Rails   jmduke.com/posts/microblo... · Posted by u/mscccc
vertis · 2 years ago
The key here though is that choosing a bleeding edge tech is more likely to be a problem because it's fairly untested.

I can tell you what ALL the problems with rails are. For the most part they won't even start to bite you until you hit scaling problems. By the time you hit scaling problems with Rails you can probably afford to pay engineers to solve the scaling problems, and/or port off at that point.

I love sveltekit and use it a bunch for my own personal projects, but it's too immature to recommend to others. Instead I mostly point them at Next.js if they want a javascript stack and Rails if they don't. I have created and maintained apps based on both platforms for 6 and 16 years respectively and know exactly what I'm recommending to people.

jkoudys · 2 years ago
I was big on Rails scene when it was huge in 2008, and saw a big exodus from it. I found so many of the "Rails" problems were solved by learning two languages: ruby, and sql. People would go to crazy lengths to avoid looking at the queries they'd actually run. I can admit to not really learning ruby as a language by itself, and can now see how much better my old code would've been if I wasn't just blindly shoehorning Railscasts in there.

Similar problems for people who learned angular but not typescript, laravel but not php, etc.

jkoudys commented on Bitcoin Block 840000   mempool.space/block/00000... · Posted by u/greyface-
JohnTHaller · 2 years ago
It keeps chugging, but it's not terribly useful for a typical person. Close to $20 for a transaction that takes an hour or so to complete is kinda rough.
jkoudys · 2 years ago
Crypto "currency"
jkoudys commented on S3 is files, but not a filesystem   calpaterson.com/s3.html... · Posted by u/todsacerdoti
jkoudys · 2 years ago
I absolutely loved this article. Super well written with interesting insights.
jkoudys commented on Coroutines in JavaScript for web components   lorenzofox.dev/posts/comp... · Posted by u/HumanOstrich
HumanOstrich · 2 years ago
Although I tend to mostly use async/await these days, I find the other JavaScript asynchronous primitives interesting. Generator functions, iterables, and async versions of the two.

The author shows a plausible way to put these primitives together to create coroutines powering rendering and lifecycles for web components. And although I'm pretty familiar with the syntax involved, I still learned some new ways to put it together from this article.

Also the author's previous intro article to coroutines in JavaScript might be helpful for learning the basic syntax and patterns: https://lorenzofox.dev/posts/coroutine/

jkoudys · 2 years ago
I'm the same camp. I use async/await because they exist and it's usually a good idea to use similar approaches to other devs, but I question why we even needed async/await in the first place. It's a big deal to add syntax to a whole language, and a small one to add a function to a library. We have

  const foo = async function() {
    const user = await fetchUser()
But if they'd just made a Promise.coroutine, you could equivalently do this without needing to change the language:

  const foo = co(function* () {
    const user = yield fetchUser()
There's some unpopular cases like async iterables or async generators, but for the most part we could've done the same thing without extending the language. I remember the v1 of koa that had yield everywhere and people thought it was confusing af. Then they released with await and suddenly it made sense to people.

jkoudys commented on 'Lukewarm' and 'lukecool' (2021)   grammarphobia.com/blog/20... · Posted by u/tintinnabula
zeroonetwothree · 2 years ago
You could say “chilled water”
jkoudys · 2 years ago
Chilled sounds pleasant. The utility of lukecold is you're saying it's cold but not cold enough.
jkoudys commented on Why Tolkien Hated Dune   whitherthewest.com/2024/0... · Posted by u/paulpauper
bdjsiqoocwk · 2 years ago
Different tastes. Tolkien hated Dune, and I think LoTR is all style no substance.
jkoudys · 2 years ago
Probably why LotR translated so well into film, while Dune is very hard to capture in live action. The first book at least has some big battles and over the top villains to anchor the whole thing. Children of Dune is like 90% discussing religion and its appropriate role in government. Especially all the chosen-one tropes that are fun in a movie are pretty brutally deconstructed in Children.
jkoudys commented on Why Tolkien Hated Dune   whitherthewest.com/2024/0... · Posted by u/paulpauper
ahepp · 2 years ago
Is Dune (as a series) really an endorsement of consequentialism?

Frank Herbert wrote a lot of books, and it was a long time ago that I read them. I don’t remember the consequences ever being particularly great for anyone.

jkoudys · 2 years ago
Everyone gets murdered, commits suicide, transformed into crazy magic people or giant sandworms, or repeatedly dies then comes back in different forms over centuries.

LotR had them do a bunch of hero shit, then everyone either went home to hang out at the pub for a while, or took a boat out west.

u/jkoudys

KarmaCake day882May 26, 2014View Original