HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ccanassa

no profile record

comments

ccanassa
·letzten Monat·discuss
I got a lot of my taste in music from my father. Over time, I started discovering things on my own and branching out, but he definitely laid the groundwork. Led Zeppelin is still my favourite band. We didn't have the best relationship, to put it mildly, but I still think of him when I hear these songs, and I remember him fondly.
ccanassa
·vor 4 Monaten·discuss
That exists, it's called code.
ccanassa
·vor 8 Monaten·discuss
I think LLMs have solved that for Nix. I recently moved my homelab from an Ansible/Debian setup to NixOS. As long as I understand at a high level what Nix is and what problems it solves, I can let the LLM deal with the configuration language.
ccanassa
·vor 8 Monaten·discuss
I’ve been reverse-engineering an obscure childhood game called Entomorph:

https://github.com/entomorph/reverse-engineering

I started the project when ChatGPT 4 was first released, using it as a way to explore what LLMs could actually do. I also find working on it very relaxing, there is something cool about uncovering secrets hidden in code for more than twenty years.
ccanassa
·vor 8 Monaten·discuss
The main advantage of an ORM isn’t query building but its deep integration with the rest of the ecosystem.

In Django, you can change a single field in a model, and that update automatically cascades through to database migrations, validations, admin panels, and even user-facing forms in the HTML.
ccanassa
·vor 8 Monaten·discuss
FastAPI/SQLAlchemy won’t be more scalable than a typical Django setup. The real bottleneck is the threading model, not the few microseconds the framework spends before handing off to user code. Django running under uWSGI with green threads can outperform Go-based services in some scenarios, largely thanks to how efficient Python’s C ABI is compared to Go.
ccanassa
·vor 8 Monaten·discuss
Sounds like a hammer-and-nail problem to me.

Django works perfectly with green threads. It’s a superior model to async and avoids the whole function-coloring mess. I’ve seen Django setups outperform Go-based services running under similar conditions.

JavaScript is a terrible language and should only be used when there’s absolutely no alternative, such as in browsers.
ccanassa
·vor 8 Monaten·discuss
In Brazil, you are expected to bring food or drinks when you are invited as a guest to a party. If you stay until the end, you are also expected to help clean up the place. Guests will often take over certain parts of the party without even asking, such as preparing drinks, taking care of the barbecue, serving people, or going to the store to buy more drinks.
ccanassa
·vor 9 Monaten·discuss
That's why I still use two editors: IntelliJ for when doing "serious" work and Sublime when I need to edit random files or a huge JSON. I don't need anything in between.
ccanassa
·vor 9 Monaten·discuss
The only thing that kept me from choosing Elixir was the lack of a type checker. Has that changed?
ccanassa
·vor 11 Monaten·discuss
I work with Node every day, and the library ecosystem is a nightmare. Just keeping a project from falling apart takes a huge amount of effort. Libraries are either abandoned when the author moves on, or they push major releases almost every month. And there’s a new CVE practically every week.

Python libraries are much more stable and reliable.
ccanassa
·vor 12 Monaten·discuss
That’s called Python or Ruby.

I’ve been building web apps since the ’90s, and I never understood the appeal of PHP. It was always a terrible language, and there were usually better alternatives available.
ccanassa
·letztes Jahr·discuss
Nah man, I work with them daily. For me, the ceiling was reached a while ago. At least for my use case, these new models don’t bring any real improvements.

I’m not even talking about large codebases. It struggles to generate a valid ~400 LOC TypeScript file when that requires above-average type system knowledge. Try asking it to write a new-style decorator (added in 2023), and it mostly just hallucinates or falls back to the old syntax.
ccanassa
·vor 7 Jahren·discuss
As a Python developer, I always fell that I am talking to aliens when I have a conversation with Java developers. I've already built several large systems in Python/Django and nobody in our field talks about these patterns. We tend to follow more broad and philosophical principles like DRY, "we are all consenting adults" or the "Python Zen".