[-] spencerwi@lemm.ee 19 points 8 months ago* (last edited 8 months ago)

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 13 points 11 months ago* (last edited 11 months ago)

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 9 points 11 months 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 8 points 11 months ago* (last edited 11 months ago)

The cropping is not accurate to the question asked at the debate, but every candidate there signed a pledge to back whoever wins the GOP primary, and right now that includes Trump as an option.

So for Hutchinson and Christie, the only way this image is not an accurate representation of their stances (if not how they answered the question on stage) is if we assume that they were lying when signing the "loyalty pledge" document that was a requirement for even being on the stage at all.

Christie in particular opposed Trump in the 2016 election....all the way until Trump got the nomination, at which point Christie became an ardent Trump supporter. I think it's reasonable to assume this is a repeat of that track record on his part.

[-] spencerwi@lemm.ee 17 points 11 months ago

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

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

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

I was pretty sure Firefox provides a Gecko-powered webview. Maybe that has changed since I last checked.

[-] spencerwi@lemm.ee 13 points 1 year ago

It seems mostly like a boomer thing to do, honestly; I don't really hear "I hate my wife/husband" jokes from folks my generation (Millennials) or younger. Honestly, I mostly hear "I hate myself" jokes there.

A lot of the "ol' ball and chain" etc jokes tend to be more frequently casting the wife as the enemy instead of the husband, too, so there's some definite boomer misogyny as key element.

[-] spencerwi@lemm.ee 10 points 1 year ago* (last edited 11 months ago)

As someone who occasionally read Dilbert back in the day, I do have to say that the "author self-insert character is always right and always complaining, and everyone else is always an idiot" tropes are well-tilled soil for right-wing outrage culture.

Add in there that he already had an "perpetually angry woman" character and "Indian office worker stereotype" character, and it becomes even easier to see how he got there.

[-] spencerwi@lemm.ee 9 points 1 year ago* (last edited 11 months ago)

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.

[-] spencerwi@lemm.ee 33 points 1 year ago

As a frustrated Christian, I think I'd say it's most accurate to say that Trump embodies Conservatives, Republicans, and Evangelicals, all of whom have apparently no clear code of conduct or definition beyond "seize power, worship the perceived strong man, crush the marginalized."

Christian, though...there's a least a definition there ("follower of Christ") that excludes Trump — not only does Trump not care at all about Christ except as an incantation to get votes, but he directly contradicts the things Christ taught.

[-] spencerwi@lemm.ee 58 points 1 year ago* (last edited 1 year ago)

I don't get why this is a headline.

There are two pieces of non-new information from this headline:

  1. People throw away pamphlets that they don't care about (and also pamphlets that they do care about, but that's not what's happening here).
  2. Boebert doesn't care about school shootings.

...like....I get that this gives someone their outrage fix for the day, but we've learned nothing new from it, and it has no long-term impact. If Boebert took this pamphlet to her house and then ignored it, nothing would be different. She'd still be callous and uncaring towards the victims of school shootings.

view more: next ›

spencerwi

joined 1 year ago