Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rednafi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
151.
▲
by
rednafi
1y ago
I’m glad that Go went the other way around: compilation speed over optimization. For the kind of work I do — writing servers, networking, and glue code — fast compilation is absolutely paramount. At the same time, I want some type safety, b
152.
▲
by
rednafi
1y ago
Go is pretty awesome. I’m sure that spending some time with the script would have made it at least 50 times faster than Python.
153.
▲
by
rednafi
1y ago
Sure, it depends on the type and maturity of the business, as well as the availability of local talent. I've worked at three companies that started out with Python and Django, then transitioned to other technologies as the business sca
154.
▲
by
rednafi
1y ago
There is a lock file now. https://packaging.python.org/en/latest/specifications/pylock... Issue is since there are no standardized build tool (pip, uv both are third party), there are a zillion ways of genera
155.
▲
Oneofs are a disaster. Protovalidate has fixed them
(buf.build)
1 points
by
rednafi
1y ago
|
0 comments
156.
▲
by
rednafi
1y ago
Yeah that's a fair point. I still do a ton of Python for work. The language is fine; it's mostly tooling that still feels 30 years old.
157.
▲
by
rednafi
1y ago
> Before this I used to prefer Go for one-off scripts because it was easy to create a self-contained binary executable. Here's how it's relevant :)
158.
▲
by
rednafi
1y ago
I guess this is why people need to get out of this “Python dev” or “JS dev” mindset and try other languages to see why those coming to Python complain so much about dependency management. People complain because the experience is less confu
159.
▲
by
rednafi
1y ago
> Before this I used to prefer Go for one-off scripts because it was easy to create a self-contained binary executable. I still do because: - Go gives me a single binary - Dependencies are statically linked - I don’t need any third-party
160.
▲
by
rednafi
1y ago
Why do you need to do that when Python has built in sqlite3 support?
161.
▲
by
rednafi
1y ago
This is my experience too. All these LLMs and agents are great for bootstrapping projects faster than ever. They help immensely with bringing down the activation energy. So I do a lot more tinkering around in multiple languages that I would
162.
▲
by
rednafi
1y ago
I don’t even write python these days. I just wrote my own version of a terminal llm-caller[^1] in Go for this exact same reason. There’s a famous one that does the same thing but is written in Python. So it has its issues. My point is, pip
163.
▲
by
rednafi
1y ago
This point has been pummeled to death for decades. Before Python, people did the same with Ruby and “gem.” Literally nothing is new here. One of the reasons I write my tools in Go is exactly this. But if the tool was written in Go, people w
164.
▲
by
rednafi
1y ago
Thanks for the tool. This is pretty neat. It’s almost comical to see “why Python” comments after all these years. I would’ve chosen Go to write this, but that’s beside the point. Yes, Python installation is tricky, dependency management is
165.
▲
Gist of Go: Race Conditions
(antonz.org)
1 points
by
rednafi
1y ago
|
0 comments
166.
▲
by
rednafi
1y ago
I never found the act of coding something profound. LLMs are just tools, like sed, awk, or xargs, albeit with more range. So no, I don’t miss the days of dealing with some douchebag on Stack Overflow or some neckbeard on a random subreddit
167.
▲
by
rednafi
1y ago
Define “worse.” V8 is a runtime; it can’t fix JavaScript’s terrible design. V8 is amazing but runs a crappy language. Both Ruby and Python were created by actual language designers, and that still shows even decades after their original con
168.
▲
by
rednafi
1y ago
I used to feel similar when I’d write Python. It was a beautiful language in its primordial days, and you’d feel like a hipster renegade if you could sneak it into an enterprise environment where C#, Java, and C++ were the norms. Even just
169.
▲
by
rednafi
1y ago
If you don’t aim for the moon, you’re gonna surely miss it. The number of orbital calculations you need to get right to land on the moon is bonkers /s.
170.
▲
by
rednafi
1y ago
A large part of these anthropomorphic narratives was pushed by SV nerds to grab shareholder attention. LLMs are transformative, but a lot of the tools around them already treat them as opaque function calls. Instead of piping text to sed, a
171.
▲
by
rednafi
1y ago
Yes—and before AI slop started ruining writing for everyone.
172.
▲
You LLM-loving motherfuckers can pry the em dash from my cold dead hands
(moonbase.lgbt)
12 points
by
rednafi
1y ago
|
0 comments
173.
▲
Agentic Coding Recommendations
(lucumr.pocoo.org)
296 points
by
rednafi
1y ago
|
203 comments
174.
▲
by
rednafi
1y ago
Python is basically the only language that’s used to train the models. Sure, the libs are mostly written in C/C++, but all of them have first-class support for Python and oftentimes Python only. Serving the model is a different story a
175.
▲
by
rednafi
1y ago
Anything at this point.
176.
▲
by
rednafi
1y ago
This is the way. JS is a terrible language to begin with, and bringing it to the backend was a mistake. TS doesn’t change the fact that the underlying language is still a pile of crap. So, like many, I’ll write anything—Go, Rust, Python, Ru
177.
▲
by
rednafi
1y ago
Not every post about Go needs to mention Rust. Rust has its niche and so does Go. Both kind of suck at AI. LLM researchers care about neither since Rust comes with its own headache: learning curve, slow compilation, weak stdlib, and Go’s FF
178.
▲
by
rednafi
1y ago
A lot of people who are wary of LLMs aren’t against the technology itself, but rather the narrative surrounding it. You can take advantage of the tool while turning a blind eye to the discourse. This 16-minute, expletive-filled, edgy-old-ma
179.
▲
by
rednafi
1y ago
I've been maintaining my tiny corner[^1] of the internet for around six years and the lack of readers never bothered me that much; nor did the influx of LLMs. I write when I feel like it, when I have something to say, or when I think i
180.
▲
by
rednafi
1y ago
My favourite kind of bikeshedding :D
More ›