News for hackers. Stuff that matters.

randomsde

Re:Functional programming is finally going mainstream on Wednesday July 13, 2022 @03:17AM (#32079842)
I’m not a functional programmer by trade, but I think you’re alluding to (and should reframe your argument to discuss) concurrent reads and the implications of immutable data in a multithreaded scenario. It’s about simplifying your programs state machine. If I have some object A in an OO world, some N threads may act on said object concurrently resulting in some degree of non-determinism for any function of A. In FP, as I understand it, this is mitigated as you’re not dealing with mutable data structures but immutable objects whose data is consistent over the lifetime of any logical operation. Effectively, you just need to deal with conflicts on writes which you can design for.

This is just a side effect of functional programming but such behavior can be embedded into and made a fundamental part of your foundational data structures in an OO program.

A cognitive performance specialist? I’m genuinely interested in the sort of doctor one would see for insights into improving performance.
Re:Ask HN: How did you get started in tech and/or Linux? on Sunday October 04, 2020 @07:11PM (#24682993)
My brother was working on his engineering PhD and one of the things he always emphasized by his actions was a productive workspace. He loved owning his environment thus carefully designing his engagement with his ecosystem. Being the big brother that he is, he showed me some of the more tangible components such as his latex editing environment (he’s a bit of an editor junky), the simplicity of arch, and the power and brevity in nix tooling, Naturally, studying engineering forced him to pickup programming. He introduced me to project Euler as a means to learn the basics of programming.

At the time I had no marketable education. Using python, I ran through puzzles on project Euler and have progressively increased complexity since. Ultimately, I had the opportunity to finish a degree I had failed to finish 5 years prior. Computer science was the obvious choice. Fast forward some time, now I’ve worked at 2 of the bigger companies in the northwest over the last few years.

With the help of my brother, I found a new challenge I’ve since parlayed into a career at the corporate empire. I wouldn’t have done this alone. For the most part, none of my friends were really into tech or they were not well equipped to speak to it in an attractive manner.

So to all of you who try to spread your hobbies and interests to other people, thank you. You make the world a better place for anyone listening.

Cheers brother