spencerwi

joined 1 year ago
[–] spencerwi@lemm.ee 7 points 11 months ago (7 children)

I mean, is "other people are having fun" really something that demands a resistance?

Or could you, perhaps, just not do it and not care whether that makes you "cool" or not?

It's like that bit from Community: "wear it because of them, don't wear it because of them — either way, it's for them."

Just be you, without having to have some sort of faux "resistance" to justify yourself.

[–] spencerwi@lemm.ee 18 points 11 months ago* (last edited 11 months ago) (17 children)

Thank u Jason, very cool !!

Seriously though, good for you I guess? Not sure why you're grandstanding about it.

Meanwhile, I'm doing it the way I have in years past: as a fun set of puzzles that let me write code I enjoy in a language I like, because I do actually enjoy writing code, and only until my real-life schedule no longer allows.

Nobody's saving the world by posting on their personal blogs about how they're bravely and boldly not doing a series of optional advent-calendar puzzles.

[–] spencerwi@lemm.ee 7 points 1 year ago (1 children)

In the sort of dialect Charlie Daniels had, "went down to" means "went south to", meaning that Hell is north of Georgia. It's in Michigan, in fact — and based on my experiences there, it might just be Michigan.

[–] spencerwi@lemm.ee 13 points 1 year ago* (last edited 1 year ago) (1 children)

I'm really surprised to see Java ranked as less-verbose than OCaml.

Here's an equivalent code sample in Java 17 vs OCaml:

Java:

abstract sealed class Expr permits Value, Add, Subtract, Multiply, Divide {
  abstract long eval();
}
record Value(long value) extends Expr {
  @Override
  long eval() { return value; }
}
record Add(Expr left, Expr right) {   
  @Override
  long eval() { return left.eval() + right.eval(); }
}
record Subtract(Expr left, Expr right) {
  @Override
  long eval() { return left.eval() - right.eval(); }
}
record Multiply(Expr left, Expr right) {
  @Override
  long eval() { return left.eval() * right.eval(); }
}
record Divide(Expr left, Expr right) {
  @Override
  long eval() { return left.eval() / right.eval(); }
}

OCaml:

type expr = 
  | Value of int
  | Add of expr * expr
  | Subtract of expr * expr
  | Multiply of expr * expr
  | Divide of expr * expr

let rec eval = function 
  | Value value -> value
  | Add (left, right) -> (eval left) + (eval right)
  | Subtract (left, right) -> (eval left) - (eval right)
  | Multiply (left, right) -> (eval left) * (eval right)
  | Divide (left, right) -> (eval left) / (eval right)

....Java has so much more syntactical overhead than OCaml, and that's even with recent Java and being pretty aggressive about using boiler-plate reducing sugars like Records. And F# has even less, since it doesn't require you to use different operators for numerics or do as much manual casting between strings/numerics

[–] spencerwi@lemm.ee 7 points 1 year ago* (last edited 1 year ago) (1 children)

Notably, Woz found out decades later, after Steve was dead already, when he was interviewed by someone who told him the whole story.

I like to think that if Jobs were alive today, the general public would see him as the Elon Musk type that he was. Instead, he died before his cult of personality could properly sour on him.

[–] spencerwi@lemm.ee 9 points 1 year ago

Oh, I thought the point of enoughmuskspam was to funnel all the muskspam into it, so that you could block one community and be set.

[–] spencerwi@lemm.ee 4 points 1 year ago

Conversely, I have a recent-ish (<5yrs old) Brother inkjet printer that's waiting to be dumped to recycling because it arbitrarily decided that it didn't ever need to be discoverable or respond to any print requests one day, and so even though there was nothing mechanically wrong with it, even hooking up a Raspberry Pi to run CUPS over USB didn't fix the issue -- because Brother explicitly refuses to publish drivers for the Raspberry Pi, and their inkjet drivers are proprietary.

I've since replaced it with the best-reviewed Epson printer I could find that supports a generic PCL driver, so that if Epson ever loses their minds in the way Brother did, I can fall back on an open-source implementation of good ol' PCL.

That thing's given us no issues so far.

[–] spencerwi@lemm.ee 17 points 1 year ago (5 children)

Community's Subway arc was pretty good too, IMO.

[–] spencerwi@lemm.ee 5 points 1 year ago (2 children)

Sadly, here in Georgia, pretty decent odds.

[–] spencerwi@lemm.ee 20 points 1 year ago* (last edited 1 year ago) (4 children)

This is super cool!

I took a look, as an avid Obsidian user interested in an open-source tool, and saw that one key difference is your emphasis on encrypted notes, which I suspect is part of why notes are stored in SQLite rather than as plain markdown files.

I think that might be something to call out in docs somewhere, since Obsidian (and Logseq) are popular note-taking apps, as one key feature difference between your app and those.

[–] spencerwi@lemm.ee 9 points 1 year ago* (last edited 1 year ago) (1 children)

He's even dumber than that. He's not just saying "could be the vaccine, could be not"; he's literally saying "you can't say it's the vaccine and you can't say it's not."

He's managed to say less than nothing.

view more: next ›