News for hackers. Stuff that matters.

vokracko

Re:High-income job losses are cooling housing demand on Saturday December 06, 2025 @01:59PM (#46175699)
> every landlord exists on the slightly-shitty-to-living-slime end of the human continuum

I've been renting for the past 10 years across 5 different landlords and never had a negative experience

Re:High-income job losses are cooling housing demand on Saturday December 06, 2025 @01:56PM (#46175689)
> Financially almost never does

Can you support this claim by evidence? There are various sources [1] reaching the opposite conclusions:

> One thing is clear: renting your housing is not a waste of money, and it can even result in a greater accumulation of wealth over the long-term compared to owning

[1] https://pwlcapital.com/wp-content/uploads/2024/08/2017-07-07...

Show HN: I’m building an uniform blockchain API service

https://stocra.com

I have to interact with a lot of blockchains in my work and it is really painful. They have different structures, different endpoints, return a lot of noise (transactions that are not value transfers) and existing API services are PITA as well.So I built my own service in hopes it will make someone's life a little bit easier, I learn something new and if that doesn’t work out I’ll have a bunch...

( Read More... | no comments | on HN )
Re:Ask HN: What's the best source code you've read? on Wednesday September 21, 2022 @03:10AM (#32921703)
Please don't recommend django, its a dumpster fire in terms of code quality.

Opening random file on github: django.core.serializers.python https://github.com/django/django/blob/main/django/core/seria...

  - function name doesn't match pep8
  - name doesn't match its behavior
  - docstring is trying to explain what it does instead of proper function name, see 2
  - 60 line for cycle
    - what does d mean in for d in object_list? perhaps d as an object/instance/item? Good luck remembering that when you reach end of this for 60 lines later
    - using comments instead of functions
      - Handle M2M relations could be replaced with handle_m2m_relations(...)
      - Handle FK fields could be replaced with handle_fk_fields(...)
      - and so on ..
  - using/catching generic exceptions
  - using isinstance instead of proper polymorphism
  - **options
And I've seen way worse things inside django than this. Please don't recommend django. Please