Live data from Hacker News

Viewing profile — rand_r

rand_r

HN member
Joined
Wed, Feb 02, 2011, 11:38 AM UTC
HN karma
467
Public activity
145 items

About rand_r

Programmer, @ghedsouza on Github. Personal Blog: https://dsouzaman.net

Recent public activity

  1. comment
    Comment #48336298

    > all viewpoints covered from you populace This is the core of the issue. We don’t actually want all viewpoints represented because that wouldn’t by itself produce any value. You w…

  2. comment
    Comment #47176430

    > When I watch a movie, I don't care about the artist's life. I care about character life, that's very different. It may seem like this, but up to now, you haven't been able to div…

  3. comment
    Comment #46444103

    Only in as much as their product is a pure commodity like oil. Like yes it’s trivial to get customers if you sell gas for half the price, but I don’t think LLMs are that simple rig…

  4. comment
    Comment #45009912

    There is no difference between “def f(x={})” and “def f(x=dict())”, unless you have shadowed the dict builtin. They both have exactly the same subtle bug if you are mutating or ret…

  5. comment
  6. comment
    Comment #44980944

    You can use “set()”. Introducing more weird special cases into the language is a bad direction for Python.

  7. comment
    Comment #44450435

    This is something you see in movies. Cash is by nature not traceable, so invalidating notes after issue would make it impossible to trust any cash transaction.

  8. comment
    Comment #44447722

    > to see if the serial numbers are out of circulation. Cash cannot be invalidated like this. It would ruin the value of all cash since you could no longer trust cash from anyone. O…

  9. comment
    Comment #44220638

    Not sure what you mean!? Locks, at their core, are not implemented by languages. They’re feature of a task runtime e.g. Postgres advisory locks or kernel locks in a Posix OS.

  10. comment
    Comment #44216233

    Race conditions are generally solved with algorithms, not the language. For example, defining a total ordering on locks and only acquiring locks in that order to prevent deadlock. …

  11. comment
    Comment #43986275

    Yes, exactly. Latency is the killer feature. Doing a video call with extra 50ms of latency is noticeable.

  12. comment
    Comment #42994641

    This is a great point. Life is tough because we are all competing in a game. Tweaking the rules of the game so that each basket is worth more points doesn’t make the game easier fo…

  13. comment
    Comment #42614363

    I don’t know why they couldn’t do the friggen obvious move of asking the police to unblock the roads by force, and impounding the vehicles for repeat offences. Going after bank acc…

  14. comment
    Comment #42252154

    Nothing prevents explicit error handling in Python either. Forcing explicit error handling just creates verbosity since no system can functionally prevent you from ignoring errors.…

  15. comment
    Comment #42243777

    > never handled correctly I’ve seen this argument, but if you look at real golang code and examples, it’s just a bunch of “if err nill” copy pasta on every line. It’s true that han…

  16. comment
    Comment #41904085

    Interesting! I wonder how this plays into AWS pricing. They charge a flat fate for MBps of IO. But I don’t know if they have a rule to round up to nearest 4K, or they actually char…

  17. comment
    Comment #41838023

    I know what you mean, and you’re probably right, but there’s a deeper problem, which is the overuse of adjectives and overall wordiness. It’s quite jarring because it reads like so…

  18. comment
    Comment #41773526

    This is sort of an aside, but a very interesting thing about Postgres is that it can efficiently combine independent column indexes together, so there is much less of a need, compa…

  19. comment
    Comment #41575173

    Something I’ve been curious about recently, is how did Linux get away with straight C for so long, considering how complex of a project it is. Did they end up reimplementing a bunc…

  20. comment
    Comment #41566551

    Using hardware floating point types is not suitable if mathematical correctness matters, and is largely a deprecated practice. Check out Python’s fraction module for example, for e…

  21. comment
    Comment #41516084

    It is true that DB compute is relatively expensive, but doing a join on the DB itself is obscenely more efficient vs doing it manually in a nested loop on an app server. Also, the …

  22. comment
    Comment #41318131

    Yes, exactly! We found out the hard way just how unreliable Redis-based locks are, and switched to Postgres locks. It works reliably since our code is already in a Postgres transac…

  23. comment
    Comment #41201797

    Development speed and conciseness is what sells Python. Something simple like being able to do `breakpoint()` anywhere and get an interactive debugger is unmatched in Go.

  24. comment
    Comment #41161939

    Well the 192 case would probably have an external IP + Port uniquely mapped to it in the router’s NAT table. I think you’re missing the larger point though. No one said IPs are exc…

  25. comment
    Comment #41161677

    Because of NAT, it’s actually “IP + Port#” that is globally unique, and ultimately associated with a single physical network interface on a device (e.g an ethernet port on a PC). T…