Readit News logoReadit News
klausnrooster commented on Ask HN: How do I rebuild at 36yo after a checkered career of undiagnosed ADHD?    · Posted by u/poorinterview
12uler · 9 months ago
I went through this exact same scenario. Late 30s, recently diagnosed. Couldn't hold a job more than 2 years because I'd get bored/burned out really fast.

The way I did it was similar to what you've already done except I started doing yoga and jogging as well. It helped me stay calm and think clearly when combined with meds. If you haven't tried doing yoga, don't sleep on it.

If you work in IT, look into MSP work. MSPs can be tough but they often have lower barriers to entry due to high turnover. If not, there is probably something similar in your field.

klausnrooster commented on Programming languages that blew my mind (2023)   yoric.github.io/post/prog... · Posted by u/todsacerdoti
klausnrooster · 10 months ago
No mention of PicoLisp (application server, embedded Prolog, etc, etc...) or Dylan. No way Teller saw them and they didn't make the list.
klausnrooster commented on Can logic programming be liberated from predicates and backtracking? [pdf]   www-ps.informatik.uni-kie... · Posted by u/matt_d
ristos · a year ago
There already is a pretty major effort around the prolog community to build everything as much as possible around pure, monotonic prolog, and to provide a means to support multiple search strategies depending on the best fit for the problem. CLP libraries are also pretty common and the go-to for representing algebraic expressions relationally and declaratively.

I wouldn't say that the logic or relational way of describing effects is a bad thing either. By design it allows for multiple return values (foo/1, foo/2, ...) you can build higher level predicates that return multiple resources, which is pretty common for many programs. It makes concatenative (compositional) style programming really straightforward, especially for more complex interweaving, which also ends up being quite common. Many prolog implementations also support shift/reset, so that you can easily build things like conditions and restarts, algebraic effects, and/or debugging facilities on top. Prolog is also homoiconic in a unique way compared to lisp, and it's quite nice because the pattern matching is so powerful. Prolog really is one of the best languages I ever learned, I wish it was more popular. I think prolog implementations need a better C FFI interop and a nicer library ecosystem. Trealla has a good C FFI.

I think logic programming is the future, and a lot of these problems with prolog are fixable. If it's not going to be prolog, it'll probably be something like kanren and datalog within a lisp like scheme or clojure(script).

This is a great resource for getting a good feel of prolog: https://www.youtube.com/@ThePowerOfProlog/videos

klausnrooster · a year ago
Out of my depth here, but I do have 5 Prolog books I can't seem to let go of. I used to dabble. A lot. Out of all my numerous prog-lang infatuations, only 3 have stuck: Erlang, Prolog and Picolisp. At most, 2 degrees of separation between those 3. No one mentioned Picolisp yet, so I have to, because it has a Prolog embedded in it. This seems like an appropriate place to do it.

https://software-lab.de/doc/ref.html#pilog

klausnrooster commented on Ryelang asciinema demo: exploring JSON   asciinema.org/a/615327... · Posted by u/todsacerdoti
klausnrooster · 2 years ago
Exciting! Was Rebol user for years, dabbled in Factor. Picolisp too. All great for interactive use, but the latter two seemed to have more learning curve than I could commit to. Eyeballed R3 and Red-lang but went with Python 2, then 3. Significant whitespace has not grown on me. I prefer my own idiosyncratic indentation convention. Watching your project closely.
klausnrooster commented on Transputer.net   transputer.net/... · Posted by u/fidotron
lefixx · 2 years ago
ok but what is it?
klausnrooster · 2 years ago
Chuck Moore's https://www.greenarraychips.com/ for example?
klausnrooster commented on Go: What we got right, what we got wrong   commandcenter.blogspot.co... · Posted by u/veqq
kibwen · 2 years ago
> the old "dynamic" vs "static" language wars.

We used to argue about dynamic vs static languages. We still do, but we used to, too.

klausnrooster · 2 years ago
:) ...Mitch
klausnrooster commented on Jaq – A jq clone focused on correctness, speed, and simplicity   github.com/01mf02/jaq... · Posted by u/tmcneal
gigatexal · 2 years ago
It's so awesome when projects shout out other projects that they're similar to or inspired by or not replacements for. I learned about https://github.com/yamafaktory/jql from the readme of this project and it's what I've been looking for for a long time, thank you!

That's not to take away from JAQ by any means I just find the JQ style syntax uber hard to grokk so jql makes more sense for me.

klausnrooster · 2 years ago
jql homoiconicity looks rather ... Lispy. Like you could use it on itself, write "Macros", etc.
klausnrooster commented on Nature: Programming language to experience the joy of programming   nature-lang.org/... · Posted by u/psxuaw
klausnrooster · 2 years ago
Glad to see things like this. Think Phix is contender in the space. 100% RosettaCode coverage in 2021.

u/klausnrooster

KarmaCake day50November 17, 2013
About
"Down at the Lido they welcome you with sausage and beer Klaus and the Rooster have been there too but lately they spend their time here.." (Here At The Western World) by Steely Dan
View Original