Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rednafi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
571.
▲
by
rednafi
2y ago
ASGI too. But it’s not too bad and tools like Starlette / FastAPI make it a breeze. Go servers are fast but generating docs from code is a lot more work which you get free in FastAPI.
572.
▲
by
rednafi
2y ago
Go’s stdlib is almost as good as Python’s—with the bonus of a stricter type system and faster execution speed. Package management in Go is better too, though uv is making Python’s experience smoother. That said, Python is great, and beginne
573.
▲
by
rednafi
2y ago
Go initially tried to capture the C/C++ space and failed miserably. Rob Pike lamented[^1] over that in a famous blog post. It got the most love from people coming from Python and Node. Then it became the defacto language for writing ne
574.
▲
by
rednafi
2y ago
Yeah, Python 3.13 got some great performance improvements as well. But both languages are quite sluggish compared to something like Go and even Node. Also, while I like Ruby, other than RoR, I wouldn’t opt for it to build something.
575.
▲
by
rednafi
2y ago
Python is generally faster than Ruby, especially in the newer versions. That said, we’re still talking about two of the slowest languages out there, so the performance gap probably isn’t that big.
576.
▲
by
rednafi
2y ago
Rails is awesome, and so is Django. I’ve built mission-critical apps in both and still do with Python. That said, I’d love to switch to Go for building large monoliths since it has a tighter type system and better concurrency constructs. Th
577.
▲
by
rednafi
2y ago
Loved the overview. Hated the shade toward Redis. Redis has arguably the best key-value query syntax, and there’s a reason so many people swear by it. True, the decision-makers at Redis Ltd are absolute pieces of trash, but Redis itself is
578.
▲
by
rednafi
2y ago
LLM yappers are everywhere. One dude with a lot of influence is busy writing blogs on why “prompt engineering” is a “real skill” and engaging in the same banal discourse on every social media platform under the sun. Meanwhile, the living st
579.
▲
by
rednafi
2y ago
This attempt to represent corporate greed as a “mission” is laughable. They are a for-profit company, just like a thousand others. It reminds me of Google’s “Don’t be evil” ethos.
580.
▲
by
rednafi
2y ago
H-1B is a terrible visa. I went through it with a few of my peers. Working in the US is great, but it’s not the only option. I moved out after two years and settled somewhere that values stability over the churn-and-burn culture. Couldn’t b
581.
▲
by
rednafi
2y ago
Go’s error handling is still cumbersome and lacking. I love writing Go but I don’t want to ever adopt anything like. It’s bending over backwards to achieve something sum types provide and this pattern is a mess.
582.
▲
by
rednafi
2y ago
Don’t we see this kind of rant pop up all the time? So much misery could be avoided by simply using a virtual environment. Plus, uv handles it all in a more elegant manner.
583.
▲
by
rednafi
2y ago
I want to build things and could care less about intellectual masturbation. It was built for proletarians like myself. I like Go because it's neither Rust nor Python. But I do understand that there are times when having some nice abstr
584.
▲
by
rednafi
2y ago
This is great, but it’s not what I get paid for. I’ve yet to work at a place where I thought, “If only I had read SICP, things would be easier.” I work with distributed systems, writing business logic and dealing with infrastructure concern
585.
▲
by
rednafi
2y ago
Enshittification begins.
586.
▲
by
rednafi
2y ago
Thanks, I hate auth even more now. One reason OpenAI and Anthropic ran laps around the big three is how easy it is to get started with their API endpoints; you get a static token, and off you go. Same reason Cloudflare and Fly.io are an abs
587.
▲
by
rednafi
2y ago
Orbstack
588.
▲
by
rednafi
2y ago
What's your point?
589.
▲
Things I've learned serving on the board of the Python Software Foundation
(simonwillison.net)
170 points
by
rednafi
2y ago
|
102 comments
590.
▲
by
rednafi
2y ago
I ask LLMs to modify the shell script to strictly follow Google’s Bash scripting guidelines[^1]. It adds niceties like `set -euo pipefail`, uses `[[…]]` instead of `[…]` in conditionals, and fences all but numeric variables with curly brace
591.
▲
by
rednafi
2y ago
Still “impractical, academic, and niche”
592.
▲
by
rednafi
2y ago
What you’re describing is the manifestation of Gell-Mann Amnesia in the AI space.
593.
▲
by
rednafi
2y ago
Seems like slop.
594.
▲
by
rednafi
2y ago
AsyncRange already has an __aiter__ method defined. So the aiter(…) in the for-loop is redundant.
595.
▲
by
rednafi
2y ago
It’s a great language overall. If it ever gets half as fast as Go, it’s going to be game over for many other high level languages.
596.
▲
by
rednafi
2y ago
For me, hands down, this has been the best Pycon 2024 talk.
597.
▲
Imitation Intelligence, my keynote for PyCon US 2024
(simonwillison.net)
50 points
by
rednafi
2y ago
|
8 comments
598.
▲
by
rednafi
2y ago
How’s only sharing the binary artifact is open source? There’s the data aspect of things that they can’t share because of licensing and the code itself isn’t accessible.
599.
▲
by
rednafi
2y ago
When I started my career in late 2018 and went fully remote in early 2020, a ton of folks said that the worst thing I could do as a junior software engineer was to work remotely. Four years and a few promotions later, you couldn’t pay me ex
600.
▲
by
rednafi
2y ago
Isn't it essentially doing exactly that? The only difference is that it returns a pointer to the struct from each method. The advantange of doing that is it allows you to compose it as such `WithFizz(...).WithBazz(...)`. If you don
More ›