jbrains

joined 1 year ago
[–] jbrains@sh.itjust.works 14 points 1 day ago (7 children)

Of the ones I tried to read, Atlas Shrugged, and it's not even close.

[–] jbrains@sh.itjust.works 4 points 1 day ago

Never program a computer you can't unplug.

[–] jbrains@sh.itjust.works 4 points 1 day ago (1 children)

Canadian. Didn't see this option yet. Anyone else?

[–] jbrains@sh.itjust.works 4 points 6 days ago* (last edited 6 days ago)

As a young person with an interest in languages and an eye towards working professionally as a computer programmer, I found this story especially delightful. It was one of the ones that led me to read more Clarke.

And the parenthetical near the end hit me even harder than the last line did.

[–] jbrains@sh.itjust.works 1 points 1 week ago

Chronologically LOST.

[–] jbrains@sh.itjust.works 11 points 1 week ago

Write comments that explain why the code isn't obvious just by reading it. Why did you do things the long way? What did you need to work around? Why didn't you do the thing that anyone reading the code would expect you to do?

Also write comments that explain the purpose of the functions you use, in case the names of those functions don't make it clear on their own.

[–] jbrains@sh.itjust.works 4 points 1 week ago* (last edited 1 week ago)

I find it uncomfortable not to understand. It has taken me decades to make peace with the notion that being different is not only acceptable, but good. Many people don't get me, but the ones who do become friends for life. Many people find things interesting or enjoyable that would make me cry from boredom.

I've chosen to find it charming.

You might be able to do that, too. If not now, then one day. It took me a long time.

Peace.

[–] jbrains@sh.itjust.works 4 points 1 week ago

APL is Ithkuil.

[–] jbrains@sh.itjust.works 1 points 1 week ago

The Handmaid's Tale

We

Nightfall

The Terminal Experiment

[–] jbrains@sh.itjust.works 7 points 1 week ago* (last edited 1 week ago)

The fact that the loop is doing "find first driver matching these strange criteria" seems most obviously obscured by the pattern of assigning a value, then killing the loop or not. This strikes me as the part that makes the algorithm tedious to test, since it forces us to use a collection to test the intricacies of the inner conditions.

Once we isolate "find first driver matching condition" from computing the condition for each driver, I consider the rest a question of personal taste. Specification pattern, composition of filters, something like that. Whatever you find easier to follow.

[–] jbrains@sh.itjust.works 2 points 1 week ago

Only if temperature distribution is a continuous function.

 

... men jag minns inte varifrån jag känner igen den.

 

I tried to upgrade my recovery partition today and it failed with "No such device"/OS error 19.

I found this discussion on Reddit in which @mmstick suggested restarting, but with no explanation as to why that was needed or would work. It worked for me.

https://www.reddit.com/r/pop_os/comments/xun8vu/error_updating_recovery_partition_no_such_device/

I'd like to know why it worked and why it was needed, mostly for two reasons: to generally understand the situation better and to imagine what I might have been able to do that didn't require restarting.

Thanks.

view more: next ›