Preferences

gonational
Joined 751 karma
License plate # 35102

  1. Yeah it's crazy, people use Django and they think the things that are making them productive are all these little contribs and built-ins, but the reality is it's the solid foundation that is the ORM. BTW, I discovered after writing my comment that tortoise ORM is essentially Django ORM, but written on asyncpg, making it way faster. So, if you're stuck in some other non-Django framework and would like to use the Django ORM, that's probably your closest bet.
  2. I agree, type annotations need work. I just use stubs and then I have some rules to set some of the more common ones to be warnings instead of errors, and then I just deal with the fact that there's gonna be some yellow squiggles.
  3. I sometimes think that the direction web development took is like some kind of bad dream that we will wake up from. It's unbelievable to me. The problems we faced before SPAs were things like "great we've got two forms on the same page and this widget on the top right needs to update when a message comes in from the back end… How will we ever solve this", and before anybody could come up with any good patterns google came on the scene with Angular, and ruined the entire direction of the Internet, forever.

    TBH I also think that Alpine and HTMX are just as dastardly and disgusting, maybe even worse. I don't know why nobody can figure out a good way to just put in reactive components where you need them. All of the frameworks support that, Svelte seems to be the one that is the least against that, but I still don't see anybody using it that way. Front end developers, which tend to have the least business logic experience, somehow captured the entire SDLC. This is why literally all software is just completely riddled with insufferable bugs, beyond anything anyone in the 90s could have imagined.

  4. I see a lot of people in here talking about the "batteries included" aspect of Django, as if that's where it really shines. those batteries are definitely helpful, but the biggest benefit, by far, is the absolute best ORM in existence.

    If somebody were to reproduce the Django ORM, with full native asynchronous support, it would change Python forever. I know there are people who come from SQLAlchemy and swear by it. As somebody who has used both I can tell you, at least when working with a small team on enterprise software, the ORM blows SQLAlchemy out of the water, in terms of being able to produce quality software, quickly.

    For anyone new out there thinking about using FastAPI... don't. You'll find 1 million people on the Internet happy to tell you that it's terrific, and 90% of these people have not built real software. The performance gains are lost, by double when you attempt to build real real software with it. I've worked with it in three different apps, and in all three cases it was used because the front end team insisted that all we needed was REST. In all three cases I have seen page load times that are slower than the 90s, 3 to 10 seconds or more before everything is done on the page. It's actually unbelievable to me that that is the direction a lot of Python backend development has gone in, relegating all the important logic, and, in a lot of cases, security, to frontend niceties.

  5. Putting your comment into simpler terms reveals the nature of your thinking:

    When you were doing good you were sure it was your fault, but when you were doing bad you were sure that it was not your fault.

    Do you see how that sounds?

  6. I know from the inside it feels like nothing is wrong, but if you're looking at the EU as a whole from the outside, the economies there have been coming apart for many years. You could even say the wheels have already fallen off. 100% of the economic woes in the EU are conferred by EU membership, and the web of inefficient, bureaucratic laws therein. Geographically speaking, Europe is positioned, perfectly, to be an economic powerhouse. It is close to the Middle East where much of the energy comes from, close to Africa where energy and other resources come from, close to Asia where certain base materials and manufactured components come from, surrounded by oceans everywhere, the Mediterranean has more than 1/5 of the world's coastline, giving ample opportunity to develop commercial ports, etc. The only reason the economies of Europe are in trouble is because of the EU. That is the only reason. The EU is the singular one only single reason. The EU. That is the single reason.

    Cookie banners are just one tiny example that illustrates how death from 1000 cuts is a real thing. In the case of cookie banners, you could say it's death from 100 cuts, because, if you live in the EU, you spend probably one percent of your entire life clicking cookie banners. 7.2 minutes a day is all it takes to waste one percent of your productive life (assuming 12 hours of useful time per day). You might scoff at this, "I probably spend 10 seconds", but I spend probably a minute or more dealing with broken cookie banner garbage every day and I am an American. Just from American websites complying with GDPR nonsense, we have to waste some small portion of our lives here as well. Stupid laws written by stupider bureaucrats ruin everything for everyone. This is the description of an idiot by Dostoyevsky, somebody who does things that harm themselves and others.

  7. This, 100%.

    So many of the basic features (e.g., automatic Python venv, Pyright running, etc.) have random bugs that pop up from time to time, making the basic editor unreliable.

    My fear is, if they keep going in this direction (adding bloat without fixing basic functionality), they'll be a perfect fit for Microsoft acquisition, at which point I'll have to switch careers, because there isn't any other editor out there that I like.

  8. Literally this.

    I'm typing this on an iPhone SE 2022 (the last one with a home button). I'm done with iPhone as soon as I am no longer able to use this model. I don't like the new, oversized pieces of junk, and I also like the home button as opposed to the new Face ID/swipe up workflow.

    For people that have good visual acuity, the smaller screen is ideal; it's such high resolution that you can fit a lot of things in a small area. For people that turn the font size up to 600, the bigger screen is obviously ideal, but nobody really wants to have to hold something that is bigger if they don't need it for the screen size. That's the market I fit in and Apple has abandoned at market, along with all common sense (re: liquid glass, the recent Apple/Google Gemini deal, etc.).

  9. There is an extreme difference between outsourcing physical difficulties to mechanical advantages, and outsourcing your brain to a large corporation that is stealing all of the IP that we have collectively created, as a society, and using it to replace our brains.

    It feels clever to make comments like yours right now, but in two years when the order of control flow moves up two more steps and you are no longer needed at all, it'll be frustrating to look back and think "I wish I wouldn't have given money to them."

  10. One of the biggest beefs I have with AI in the workplace is that LLM coding does not discourage large piles of code, since the output is instantaneous. Instead of having to type out 1400 lines of gibberish, the LLM will do this for you in an instant, instead of you having to think through the problem and come up with 175 lines of code that achieve the same result in a cleaner and more efficient way.
  11. Dealing with this exact scenario, right now. My company has implemented an unnecessarily complex spiderweb of services and the litany of problems that go along with it, in anticipation of some hypothetical, future requirements. Most of the team is fairly new, but they have been led astray by a mid-level engineer who has been masquerading as a top level engineer. By the time I came along, the damage was already done, and the rest of the team is unaware that they have developed about 60 days worth of software, mostly code debt, in more than 18 months.

    The situation is extremely frustrating, because I have to be careful not to insult anyone or create endless arguments, while trying to somehow salvage the project into something workable, or convince a team of junior/mid-level engineers to start over (the code is technically not salvageable, at all). Trying to convince people who don't know what they're doing that the same end result could be reproduced in 45 days and then the next 18 months of effort could be condensed into an additional 45 days is like trying to convince an octopus that there are satellites in orbit around the Earth.

  12. It's hard for nupeople to understand that people from our generations learned how to do things and to use our brains. The younger tech folks only do things that the computer automatically knows how to do and/or AI can help with. Even UI design and basic stuff is purely done on web-based tools with prebuilt components and AI help these days. I'm completely shocked from day-to-day when I interface with front end/design. I would venture to guess there aren't many front end peeps that even know how to code HTML & CSS these days.

    In my opinion, the only thing that AI is helpful for is doing all the menial boilerplate nonsense that is only necessary because the unexperienced people in charge of so many projects. For example, setting up 30 totally unnecessary GitHub actions, etc. Anything that is worth doing, I'd rather do myself and not lose my skills.

  13. We're still in the early phases of millennials getting their first jobs and saving up to get apartments, etc. Gen Z is right there with them. The result has been a generation of the workforce that didn't learn good work ethic and skills in their teenage drug years (from approx 13 to 31). I worked from 13 on, but I have friends who didn't get their license until they were 19, didn't work until after finishing their gender studies degree, and now aren't qualified for their job monitoring the self checkout at Publix.

    That is why quality has declined.

  14. 100% agree. I've used FF since version 1.x, but I've used Chrome as a secondary at times, and I've had more problems in Chrome than FF. In fact, I've literally never experienced a bug in FF, except for, prior to and in the early days of the Servo Rust rewrite, I had a few crashes (tabs all reopened upon restarting). I haven't even had a crash in probably 8 years. Chrome is just spyware trash, IMHO.
  15. Calvin: trust me, I know more than the Fed and I used AI account this pile of cash

    Also Calvin: can't make a basic functioning webpage that doesn't crash

    The absolute state.

  16. Zed is putting so much focus into AI that their editor is falling apart:

    https://www.hackerneue.com/item?id=43041923

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal