• 2 Posts
  • 27 Comments
Joined 3 years ago
cake
Cake day: March 15th, 2023

help-circle
  • I don’t think it’s ADD. There’s a book called ‘thinking fast and slow’. In that book the psychologist separates the mind functions into two systems. System 1 is for intuition, no effort, fast thinking. System 2 needs effort, slow, but precise. What happens here is that simply people are trying to be efficient with their thinking and they use less system 2 which is required for reading.








  • I used claude code to migrate a small rust project from raw sql to an ORM. It was next level. In a timespan of a small bug fix I could rewrite the data model. It tested the code, it fixed the errors, I was amazed. I reviewed every change, so I could spot problems like migration would fail with prod data. I wrote a new prompt to fix that and it fixed.

    For anybody new to claude code: It’s a tui app where you can log in and write prompts for the project in the current directory. The way it works, it searches files in the project based on the prompt, and it locates the related code sections. So it gathers the context pretty well. It can suggest changes, it can suggest running CLI commands, it can read its output. It reacts to itself. You can accept or intercept and correct it anytime.

    I ran it in docker just in case.

    In summary, this is a real deal, but of course the code needs to be reviewed. Sometimes, it produces, simply put, unmaintainable code, that shouldn’t be used. Works or not, it should move.






  • By IO heavy I meant db operations or other external requests. When the request handler starts, it waits for the IO to be completed. While it waits, it can accept other requests and so on, so the bottleneck is the IO in my case, not the request parsing.

    I imagine it like this (imaginary numbers):

    • DB operation: 20ms
    • Express request handler: 1ms
    • Brhama request handler: 0.5ms

    Which case, it wouldn’t matter which http framework to use. However, there are probably other use-cases.




  • fxdave@lemmy.mltoLemmy Shitpost@lemmy.worldFunny
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    That is true, however, I think the resolution influences the result. I can be wrong, but there isn’t really an experiment where someone tries to convince kids to be gay and see the outcome. It’s just become forbidden to think this amongst the progressives for no reason.


  • fxdave@lemmy.mltoLemmy Shitpost@lemmy.worldFunny
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    3 months ago

    No I’m not. It’s not about attraction. Biologically it doesn’t matter who stimulates your genitals. Then I found girls attractive, but that came way after I could have an orgasm.

    Prove me that it’s not because of the environment.


  • fxdave@lemmy.mltoLemmy Shitpost@lemmy.worldFunny
    link
    fedilink
    arrow-up
    2
    arrow-down
    6
    ·
    3 months ago

    It’s not an instant switch like you pick up a sport. I believe everybody is bisexual at first, because the genitals work, no matter what sex, however, your soul gets specialized into a direction. I started having fantasies, I accepted those about girls, and rejected those about boys, based on my social norms that my environment gave me. And I became a happy straight guy. I can’t prove whether a different environment would have made me different, but I also cannot disprove it.