Hacker Newsnew | past | comments | ask | show | jobs | submit | more BiteCode_dev's commentslogin

django-ninja will give you a fastapi like experience without the hassle


The ecosystem has improved thought. django-ninja is great for API, django-coton brings component supports and you have better options than celery for qeueing.


I've stuck to DRF for all these years. But wouldn't mind looking at django-ninja. Is it better?


But that makes them superb heat battery, which is under used at the moment to store energy.


because of the Carnot cycle, no? it just doesn't make much sense to store energy as heat


A lot of energy is spent to heat things anyway.


I managed to break production before vibe coding was cool.

20 years old me had rm -fr root access to way too many systems.

I don't think it's much different today.

If anything, I think the youngsters will learn faster from their mistakes because they already have good mentor for the easy stuff and will get grinded on the hard stuff sooner.


Maybe. One thing I've found is the LLMs give me a lot of short term leverage. I can (get an LLM to) program in a language I know almost nothing about. Then I hit a wall where I don't know enough to get the LLM to fix something I don't know how to ask for, and then I'm stuck. When vibe coding, I'm not learning how to solve problems myself so much, and that means anything the LLM can't do, I also can't do. When I'm coding on my own, I'm picking up lessons along the way the help me build a foundation for incrementally harder projects.


> If anything, I think the youngsters will learn faster from their mistakes because they already have good mentor for the easy stuff and will get grinded on the hard stuff sooner.

Maybe? Back when I had to troubleshoot coaxial network terminations uphill both ways in the snow, we had to learn how things actually work (e.g., what's in a tcp header, how to read an RFC) and that made debugging things a little more straightforward.

I'm pretty insulated from young developers these days, but my limited experience is that they might know the application, presentation and maybe session layers (if using the old OSI model) but everything below that is black magic.


On the other hand, understanding coax termination is much easier than figuring out what 5G or Wifi6 is doing with radio waves.


Sure? But I think the point stands. And why would anyone think that a terminator would go bad until you’ve tried everything else and finally you swap them out and all of a sudden the network chatter stops and things go back to normal? It’s an experience thing and I worry that most of us are too abstracted from the underlying systems these days to properly understand them. It’s pretty common in my other world (info sec policy).


Just saying that the abstraction tower has grown a lot higher since your days and the most common tech in use today is surprisingly complicated.


I'm not so sure. I did an experiment last year. I was writing a prototype in a language I'm not well versed in, using unfamiliar tools and only somewhat familiar libraries. I made heavy use of ChatGPT and other tools to get the job done. (Well, actually, I wrote several pieces of software this way, but only one major for-work prototype).

Some observations:

Initial velocity was high. It felt like I was getting things done. This was exciting and satisfying.

The code I wrote was structurally unsound as it ended up having no overall plan. This became more and more evident as the prototype was completed. Yes, it was a prototype, but usually I use prototypes to think about structure. (Choosing the right way to structure a problem is a key part of solving the problem)

My retention of new knowledge was terrible. Ditto for developing any deep understanding of the tools and libraries I was using. I had skipped the entire process by which I usually learn and just had the LLMs tell me solutions. This provided a poor basis for turning the prototype into production code because I had to catch up on all the thinking that should have been part of producing the prototype. And I had to sit down and read the documentation.

LLMs are only as good as your prompts. You actually need to know quite a bit in order to formulate good prompts. Being a fairly experienced programmer (and also having a some knowledge of LLMs and a former career in web search) I had significant advantages novices do not have.

Now imagine a novice who lacks the experience to see the shortcomings of their code (hey, it works doesn't it!?) and the ability to introspect and think about why they failed.

Half of the time the LLM would lead me astray and pursue paths that resulted in poor solutions when better solutions would have been more obvious if I'd just read documentation. It is easy to become focused on exhausting paths that the LLM sent you down in the first place and poke it to give you something that works.

I have nearly 40 years of programming experience. It scared me how stupid relying too much on a LLM made me. Yes, it got me started quickly and it feels faster. However the inflection point that comes some time into the learning process, where things start to click, didn't materialize. Mostly I was just poking the LLM in various ways to make it spit out solutions to tiny parts of the problem at a time.

I still use LLMs. Every day. But I use it more as a fancy search engine. Sometimes I use it to generate ideas - to try detect blind spots (solutions I don't know about, alternative approaches etc). Having been burnt by LLMs hallucinating I consistently ask LLMs to list their sources and then go and look at those.

LLMs are *NOT* mentors. A mentor isn't someone who does the thinking and the work for you. A mentor is also not an alternative to reference material or the means by which you find information. You're expected to do that yourself. A mentor is not someone who eliminates the need to grind through things. You have to grind through things to learn. There is no alternative if you are going to learn.

A mentor is someone who uses their experience and insight to help your personal growth.


Unrelated but somewhat funny:

I read someone jokingly proposing we pronunciate "particles" and "molecules" like we do for greek nouns (think "hercules").

And now with these "articles", I'm going to do this in my head for one more day.


This is exactly what crossed my mind as I was reading the title. Learning greek makes you perceive so many thing in different light!


Which is what nuitka does. But the result doesn't allow for real time python programs, andy you don't get direct access to the hardware like here.


I wonder if this article was about an illuminated quran if it would have reached HN front page.

Religious scriptures for sale feels really weird on HN either way.


If you ever get the chance, visit the Aga Khan museum in Toronto. It has a number of illuminated Qurans, and they're absolutely gorgeous.


Mohamed would probably summarily have you killed, if that alters your perspective at all


Would he? There seems to be a tradition of illuminations of the Quran (see e.g. https://www.islamicity.org/77800/illumination-of-the-quran/, first result of an internet search). The style is quite different, since Islam forbids making representations of animated beings, but that didn't prevent the development of a rather exquisite craftmanship.


It's art, if you just want the text translated to kingon or L33t speak, you can down load that. No need for a jihad.


Or, you know, use numpy.


Yeah, that’s much more efficient.

But there’s something beautiful in the way that a Taylor expansion or a trigonometric identity emerge from the function definition. Also, it teaches an interesting concept in lazy evaluation.

I mean, why not write straight up assembler? That would be even more efficient…


Yes, and I hope we will steal obj destructuring soon as well.

I mean, they took "yield" and @decorator, we have a trade deficit.


You don't need iterators or decorators.

But normalizing one pattern ensures the whole community build API around it. This creates a unified ecosystem.

And it's a very clean API that is a no brainer for the string user.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: