AbelianGrape

joined 2 years ago
[–] AbelianGrape@beehaw.org 1 points 2 weeks ago (1 children)

This is definitely true for code but in terms of information retrieval and explaining complex topics, they have gotten much better in the sense that they can cite real sources (with links) now.

The analysis and synthesis that they do of those sources is still often bogus though. I've had one explain some simple Magic the Gathering rules with real-looking words but completely bogus interpretations and conclusions, but it did cite the correct rulebook with a link. I've also had one give a pretty strong overview of the construction and underlying theory of a particular compiler (a specific compiler, not the language it compiles) that matches up quite well with my own fairly deep understanding of that compiler.

Overall the real information is better, but the hallucinations look more real too. And they're still pretty unhelpful for programming in my experience.

[–] AbelianGrape@beehaw.org 3 points 2 weeks ago (1 children)

On my menu it does say original next to one of them, but tapping on the options (any of the options) doesn't do anything. My phone is set to french because I'm an immigrant in a french-speaking region and am making sure to engage with the language as much as possible. But this means the autodub puts a stupid robo-french voice on everything -- and it's not always a faithful translation either.

At this point I just let the creators know that YouTube is making their videos unwatchable to people with different language settings and that they can disable this when they upload videos.

[–] AbelianGrape@beehaw.org 1 points 1 month ago (1 children)

Americans often incorrectly ascribe degrees to "unique." At this point it's so baked into all of their dialects that it's hard for me to keep calling it wrong.

[–] AbelianGrape@beehaw.org 1 points 1 month ago

I'd argue that the resulting tragedy is the moron's fault in all of the ways that matter. The things the post are "warning" about are still alarmism.

[–] AbelianGrape@beehaw.org 5 points 3 months ago (2 children)

Are you calling for people's deaths?

Regardless of how serious their crimes are, calling for people's deaths is not a great way to be(e) nice.

Most of the unfortunate people who support the current administration are suffering from a lack of funding for education and other systemic issues that are not their fault. If the system were to collapse and be restructured, we should aim to help those people, not punish them.

[–] AbelianGrape@beehaw.org 2 points 5 months ago (1 children)

"quantum teleportation" is the correct technical term. The problem is articles being written by people who don't realize this is a technical term that needs explanation.

[–] AbelianGrape@beehaw.org 1 points 5 months ago* (last edited 5 months ago)

I use vim, or spacemacs with evil mode (emacs distribution with sensible shortcuts and vim emulation). Or VSCode with spacemacs emulation.

You will pass your current productivity in less than a month. All of the things you describe are easily done in VSCode with vim emulation (I prefer the full spacemacs emulation but it's not actually a huge difference). You won't have to move your hands away from the normal typing spot on your keyboard -- no home and end, just 0 and $. No control+arrow keys, just w and b (or e or even more motion options). Highlighting is as easy as v and then motion commands. And there are so many more useful things that vim (and vim emulation) make simple and fast. Orthogonal VSCode features like multi cursors still work.

[–] AbelianGrape@beehaw.org 13 points 9 months ago (1 children)

Because lots of people I talk to where I live (eastern Canada) don't seem to realize this: the forcible "transfer" (i.e. deportation) of children is an act of genocide according to international law.

[–] AbelianGrape@beehaw.org 1 points 9 months ago

You have to be explicit about which module you're using at all times, even though 99% of the time only one could apply. When the type class resolution is unique, but complicated, there's no mental overhead for the Haskell programmer but getting all the right modules is a lot of overhead for the OCaml programmer. It also lets us write functions that are polymorphic under a class constraint. In OCaml you have to explicitly take a module argument to do this. If you want to start composing such functions, it gets tedious extremely fast.

And then even once you're using a module, you can't overload a function name. See: + vs +.. Basically modules and type classes solve different problems. You can do some things with modules that you cannot ergonomically do with type classes, for example. create a bit-set representation of sets of integers, and a balanced search tree for sets of other types, and expose that interface uniformly from the same module functor. But Haskell has other ways to achieve that same functionality and more.

OCaml's type system cannot replicate the things you can do with Haskell's higher kinded types, type families, or data kinds at all (except for a fraction of Haskell's GADTs).

[–] AbelianGrape@beehaw.org 1 points 9 months ago (2 children)

Largely reasonable?

Haskell is not good for systems programming which sums up about 60-70% of that post. Laziness is lovely in theory but many industry uses of Haskell use stricthaskell for all or most of their code, so I certainly agree with that part too.

Their largest complaint about using Haskell for small non-systems programs seems to be the mental overhead induced by laziness. But for me, for small programs where performance isn't a huge concern (think Advent of code or a script for daily life) laziness reduces my mental overhead. I think that author is just especially concerned about having a deep understanding of their programs' performance because of their systems background. I worry about performance when it becomes relevant. Debugging Haskell performance issues is certainly harder than strict languages but still totally doable.

The lack of type classes or other form of ergonomic overloading in OCaml is easily the single "feature" most responsible for the language never taking off.

[–] AbelianGrape@beehaw.org 2 points 9 months ago* (last edited 9 months ago) (4 children)

As a Haskell programmer, "OCaml has the nicest type features" hurts just a little bit.

I sometimes teach a course in OCaml. The students who are very engaged inevitably ask me about Haskell, I encourage them to try it, and then they spend the rest of the semester wondering why the course is taught in OCaml. Bizarre how different that is from when colleagues in industry want to try Haskell.

[–] AbelianGrape@beehaw.org 1 points 9 months ago (1 children)

Is Printf.printf not a good generic print function? It's even variadic!

 

Up front: obviously, major spoilers, so if you care about spoilers for how the master sword makes its appearance in Tears of the Kingdom, do not watch!

Normally I don't post things like this on Reddit, but I figure Lemmy needs users who actually post content, so, let's do this :)

I've been working on routing and running this category for a couple of weeks now. This is maybe the 6th or 7th iteration of the route, and this run was sort of a "route test" as much as a run, so I can do even better.

Most of the TOTK speedrunning community has been laser-focused on any% since the game came out. They've done some really impressive stuff and I'm excited to see what they do. There's also some interest in All Dungeons, which I'll probably take my own stab at soon. However, there doesn't seem to be much interest yet for this category, which was a real gem in Breath of the Wild speedrunning for several years.

To avoid spoilers, I won't give the exact rules here, but I can put them in a comment or something if that seems safe.

view more: next ›