Better HN
topnewbestaskshowjobs
Log inSign up

seanparsons

242 karma · joined Jan 29, 2016 (10y ago) · 74 submissions

[ my public key: https://keybase.io/seanparsons; my proof: https://keybase.io/seanparsons/sigs/o4hvM6Y_1V25CzfSuqR87sYdOWyoq-IsPW8HxBsh28o ]

Blog: https://funwithfunctions.com

Submissions

comment 8mo ago · link · parent

Good luck to him, fuck cancer.

comment 10mo ago · link · parent

Flipping things around as I see it as a desktop Linux user: "OMG this one thing doesn't work in macOS, looks like 2026 wont be the year of the macOS desktop!"

comment 11mo ago · link · parent

"This type of code error is prevented by languages with strong type systems. In our replacement for this code in our new FL2 proxy, which is written in Rust, the error did not occur." It's starting to sound like a broken record at this point, languages are still seen as equal and as a result, interchangeable.

comment 1y ago · link · parent

The point is that by the time Gatekeeper closes tight enough that everything must run through Apple and it can't be disabled, most people wont notice and will be stuck with it.

comment 1y ago · link · parent

My longstanding prediction that Gatekeeper will ever so slowly tighten so that people don't realise like a frog boiled in water is continuing to be true.

comment 1y ago · link · parent

Here's me hoping this was something for Factorio: Space Age...

comment 1y ago · link · parent

Even if they're not written as TypeScript, there are usually add on definitions like "@types/prettier" and the like.

comment 1y ago · link · parent

My last job was working at a company that is notorious for Ruby and even though I was mostly distant from it, there seemed to be a big appetite for Sorbet there.

comment 1y ago · link · parent

Not ignoring, I just didn't write an essay. In all that time working with TypeScript there was very little that I found to be gradually typed, it was either nothing or everything, hence my original comment. Sure some things might throw in a bunch of any/unknown types but those were very much the rarity and often some libraries were using incredibly complicated type definitions to make them as tight as possible.

comment 1y ago · link · parent

As a static typing advocate I do find it funny how all the popular dynamic languages have slowly become statically typed. After decades of people saying it's not at all necessary and being so critical of statically typed languages.

When I was working on a fairly large TypeScript project it became the norm for dependencies to have type definitions in a relatively short space of time.

comment 1y ago · link · parent

I'm reasonably versed in Haskell and my response would be that it shouldn't make that much difference to you what they've written in here. I've yet to see any code in the wild using the backpack extension.

comment 1y ago · link · parent

LFS and git-annex have subtly different use cases in my experience. LFS is for users developing something with git that has large files in the repo like the classic game development example. git-annex is something you'd use to keep some important stuff backed up which happens to involve large files, like a home folder with music or whatever in it. In my case I do the latter.

comment 1y ago · link · parent

I think the fact that it's a horrible language is a big contributor to the frameworks being horrible as well. There's all these incidental sacrifices that have to be made which bleed through into everything else, like handling null and undefined.

comment 1y ago · link · parent

I always maintain that this is just familiarity, Haskell is in truth quite a simple language. It's just that the way it works isn't similar to the languages most people have started with.

comment 2y ago · link · parent

Yup, that felt incredible even at the time, let alone now.

comment 2y ago · link · parent

Conversely I live in Gillingham, where there's several references to him and his history.

comment 2y ago · link · parent

Been posted a bunch of times in the past: https://hn.algolia.com/?q=haskell+useless

comment 3y ago · link · parent

I remember writing a state machine system for a project to replace Windows Workflow Foundation (shudders) using Aspect.Net (IIRC) many years ago and it working but being a faff.

But then I think to something like the bracket function from Haskell: https://hackage.haskell.org/package/base-4.18.0.0/docs/Contr... That's 2 orders of magnitude simpler and doesn't need arbitrary function definitions so a pointcut can be defined against a block of code.

comment 3y ago · link · parent

As I now start to wonder how many replies to HN posts are also written by AI systems...

comment 3y ago · link · parent

So how does that make a difference to my point? The title is literally false as multiple other languages have already done it, Haskell in fact has even rewritten the underpinnings at least once the feature has been there so long.

comment 3y ago · link · parent

Well it's not really ushering it in, given that this is what Haskell has had for a decade at least.

comment 3y ago · link · parent

I think most people would find these clearer if they used the functions view/set/etc, rather than the various operators which are just alternatives to those.

comment 4y ago · link · parent

I would say the following for NixOS (which is a distro itself not a way to make a distro):

- I have machine configurations that if say a HDD dies means I can just replace it and be pretty much where I was an hour later from scratch.

- I can update a configuration (even doing the equivalent of a major OS update) without fear as it's possible to just use the old configuration if something is broken.

For Nix in general:

- Can define versioned development environments which aren't awkwardly sandboxed as they are in Docker.

- It's possible to make multi language/ecosystem builds.

- Builds only build what needs building.

- You can build on one machine and ship the build to another as if that machine had built it.

comment 4y ago · link · parent

It's fine, just disallow jargon like functions, lambdas, addition, concatenation and so on...

comment 5y ago · link · parent

> there is no CLI equivalent to brew install that I am aware of

There is! You use `nix-env` for that by running something like: `nix-env -iA ripgrep`.

comment 5y ago · link · parent

That MBR reference reminds me of the time that OSX just point blank refused to update because I had a multi-boot setup. "It just works!"

comment 5y ago · link · parent

I'm not sure where you got the second point from, certainly in my experience it hasn't been a bit issue with Haskell.

The third point is the same with just about every ecosystem in my experience, there are libraries written by big open source contributing companies which are completely dead as far as maintenance. I've even been bitten _this week_ by a JS library which is dead in the water.

comment 5y ago · link · parent

Depends on if you identify it early enough really and even then halving your app tier costs could be sizable for any company. If you can get some productivity benefits at the same time from say static typing then there's even more reason to switch.

comment 5y ago · link · parent

As an example I recently had someone say that "best practices" are just as good at avoiding the kinds of things a static type system catches. Python seems to be (for whatever reason) a language that creates this kind of ideology with the kind of tropes everyone has heard before.

comment 5y ago · link · parent

I've observed the weird phenomenon that any valid criticism of Python is treated as either some kind of personal attack or because you're a mad static typing ideologue.
123