Readit News logoReadit News
ildjarn commented on Only walking for exercise?   theconversation.com/only-... · Posted by u/akbarnama
galaxyLogic · 2 years ago
I'm using a stepping-machine in my home-office. I guess that is much like walking but doesn't require me to go out into the rain or walk on the side of dangerous freeway.

Stepping in-place is not too much fun but the act of deciding to do say 100 steps gives me a psychological jolt of feeling I can do it, I have the strength, I can do anything!

I've also started to lift my arms up and down while doing the steps, which is good exercise for my arm-muscles.

ildjarn · 2 years ago
Good on you for exercising, but this is really sad. We don’t live on Mars. I hope your city / district can find a way to create pleasant outdoor spaces.
ildjarn commented on Only walking for exercise?   theconversation.com/only-... · Posted by u/akbarnama
nytesky · 2 years ago
Is it having a resurgence or just never died?

https://time.com/6284245/walking-barefoot-health-risks/

ildjarn · 2 years ago
If the podiatrist in the article is to be believed, humanity never would have made it out of the Stone Age.
ildjarn commented on Only walking for exercise?   theconversation.com/only-... · Posted by u/akbarnama
mvdtnz · 2 years ago
The book is widely discredited and thankfully the barefoot running trend is behind us.
ildjarn · 2 years ago
Born To Run is an adventure/travel book. I don’t know why people read it as pop sci.
ildjarn commented on Silent Running: 1970s Environmental Fable Remains Depressingly All Too Relevant   reactormag.com/silent-run... · Posted by u/colinprince
jordanb · 2 years ago
I had a similar reaction seeing Logans Run as a kid on TV (it must have been edited pretty aggressively as the movie is very racy).

I had no idea what I had watched but I remember this show about these people who are stuck inside a mall and can never go outside ever. It really affected me incredibly deeply and filled me with melancholy whenever I thought about it.

Finally in College I was renting old sci-fi and watching it, and as I was watching Logans Run I suddenly realized that it was the show I had seen as a child about the people who couldn't go outside.

A lot of 70s dystopian sci-fi hits pretty hard to be honest. Two more that come off as incredibly prescient are The Network (about a media company that will do anything for viewership) and THX1138 (about people who take drugs to control all their emotions, confess their sins to chatbots, and masturbate to porn every night).

ildjarn · 2 years ago
A Boy and His Dog is another one.
ildjarn commented on Google: Angular and Wiz Are Merging   twitter.com/sarah_edo/sta... · Posted by u/tosh
lokhura · 2 years ago
And C#, Python, Rust...
ildjarn · 2 years ago
You can de-color an async function by blocking.
ildjarn commented on Hackers found a way to open any of 3M hotel keycard locks   wired.com/story/saflok-ho... · Posted by u/jasoncartwright
iancarroll · 2 years ago
I worked on this research along with many others, happy to answer any questions! Our disclosure is also available at https://unsaflok.com.
ildjarn · 2 years ago
Did you set out to find a vulnerability or just stumble on it?

If setting out to find a vulnerability, how do you get started?

What is the “open ide, write print(“hello world”)” for this kind of work?

ildjarn commented on Google: Angular and Wiz Are Merging   twitter.com/sarah_edo/sta... · Posted by u/tosh
adrianmsmith · 2 years ago
The way concurrency works is pretty unique amongst mainstream languages.

Java has just copied some parts of how concurrency works in Go, but that's nearly 20 years after Go was released.

It's extremely easy to start up code concurrently with "go foo()". You can start up lots of such functions concurrently, as it works in userspace. Like async code, but no "colored functions" problem.

ildjarn · 2 years ago
Colored functions is only a problem in JS
ildjarn commented on Ask HN: What would you do for developer experience    · Posted by u/Atotalnoob
Atotalnoob · 2 years ago
Perhaps I wasn’t clear in my post. Templates to me means distributing them in a usable fashion, and all templates should be able to be used via invoking some binary and providing inputs/flags.

Similar to helm.

Right now, we are using dotnet new templates, which is .net’a way of creating new apps, yeoman for npm, etc.

No copying and pasting. Copying and pasting isn’t DRY and is currently ramped at my org, since we didn’t have any shared templates

ildjarn · 2 years ago
What’s the deal with templates? I make new projects infrequently. Templates save me little time. I spend far more time struggling to fix broken code, fitting existing code to new requirements, etc
ildjarn commented on "3 Body Problem" Is a Rare Species of Sci-Fi Epic   newyorker.com/magazine/20... · Posted by u/irtefa
danpalmer · 2 years ago
How does the writing compare to The Martian, if you have read it? Objectively, The Martian (and Artemis, and perhaps to a lesser extent Project Hail Mary) are not particularly great prose, but I felt this was more than made up for in story content. I'm similarly concerned about this with 3BP though because of what I've heard of it, the translation, and the tendency of media from that part of the world to have significantly different values to me that I find hard to connect to.
ildjarn · 2 years ago
I’d call those books competent. They didn’t advance the art form but the prose supported a fun story and was never distracting.
ildjarn commented on What's worked in Computer Science: 1999 vs. 2015 (2015)   danluu.com/butler-lampson... · Posted by u/not_a_boat
anon291 · 2 years ago
Immutability by default is not a requirement for functional programming (I mean... if it were, Haskell would be obviously not FP since the 'default' entrypoint is very mutable).

Neither are monads. There are entire FP languages without monads for effects (obviously, you can write a monadic interface in them, but it's not part of the idiomatic core). For example, clean uses linear types to control effects and purescript / Idris use a custom effect-system. So no, monads are not a requirement, and even if they are, modern c++ fully supports them, as does rust, javascript, etc. It's very common in javascript to use Array.map() and Array.flat().

ildjarn · 2 years ago
> Immutability by default is not a requirement for functional programming (I mean... if it were, Haskell would be obviously not FP since the 'default' entrypoint is very mutable).

I mean the bindings and collections. For example, when you make an array in JS, the default syntax is a mutable list with a mutable binding:

    let xs = [ 1, 2, 3 ]

> Neither are monads. There are entire FP languages without monads for effects (obviously, you can write a monadic interface in them, but it's not part of the idiomatic core).

I should be more precise - there needs to be some way to mange effects. Monads with syntax extensions is simply the most common (Haskell, Scala, F#, Closure macros)

> and even if they are, modern c++ fully supports them, as does rust, javascript, etc. It's very common in javascript to use Array.map() and Array.flat().

JavaScript does not have good monad support. This is why async/await was added as a new language feature. Yeah, I know you can hack together something with generator functions, but it’s hardly idiomatic.

But we’re getting into the weeds here. My point is: I don’t consider a language to support FP when writing functional code in that language leads to lots of friction compared to what is idiomatic.

Have you ever tried FP in Java? It works for some toy thing but then you hit the lack of TCO, or the ridiculously long type names (not inferred) or the pyramid of doom…

u/ildjarn

KarmaCake day141January 30, 2024View Original