Better HN
topnewbestaskshowjobs
Log inSign up

mattmein

152 karma · joined Mar 23, 2019 (7y ago) · 31 submissions

Submissions

comment 1mo ago · link · parent

Reminded me of this comedy skit: https://www.youtube.com/watch?v=fibDNwF8bjs

comment 4mo ago · link · parent

This is the concept of Simple vs Easy https://news.ycombinator.com/item?id=38768107

comment 1y ago · link · parent

There's a WKUK comedy sketch that fits this story pretty well: https://www.youtube.com/watch?v=fibDNwF8bjs

comment 1y ago · link · parent

A few years ago I set up a ublock filter to hide the next/more buttons on hacker news and reddit. It works great because I can still get my news fix, but I can't scroll endlessly.

Ublock Origin: ! 2020-10-11 https://news.ycombinator.com news.ycombinator.com##.morelink

comment 1y ago · link · parent

I think that particular issue was addressed in the recent Clojure release [https://clojure.org/news/2024/09/05/clojure-1-12-0] ("Clojure developers can now invoke Java methods taking functional interfaces by passing functions with matching arity.")

comment 2y ago · link · parent

Also check out https://github.com/D-Star-AI/dsRAG/ for a bit more involved chunking strategy.

comment 2y ago · link · parent

Check out agenix-rekey[https://github.com/oddlama/agenix-rekey], it has the ability to set up secret generators.

comment 2y ago · link · parent

Reminds me of Planck's principle: > A new scientific truth does not triumph by convincing its opponents and making them see the light, but rather because its opponents eventually die and a new generation grows up that is familiar with it ...

comment 2y ago · link · parent

Related: https://yamlscript.org/

comment 3y ago · link · parent

>> In practice, they are a niche endeavor used by a bunch of hackers and computer science nerds.

I don't know anything about federation, but what you said basically describes the Internet when it started, so I don't see how you can imagine it is not going anywhere based on that. Most tech starts as a "niche endeavor of a bunch of hackers and computer science nerds" (I'm also thinking of Apple starting at a computer club).

comment 4y ago · link · parent

My point is that there is nothing about functional programming, specifically the "Data structure + Algorithm" style, that makes it unsuitable for building complex applications like air traffic control system or bank lending system, and it has in fact been used successfully in domains like that.

If you are really interesting in this topic, check out the following pages: https://clojure.org/community/success_stories

https://wiki.haskell.org/Haskell_in_industry

comment 4y ago · link · parent

Data structure + algorithm is a valid way of building large programs. That is basically how Clojure is designed, and it works pretty well for big applications.

Functional programming in aviation: https://m.youtube.com/watch?v=0x3EIqBrZxw

Functional programming in banking: https://www.finextra.com/newsarticle/36297/nubank-buys-firm-...

comment 4y ago · link · parent

>> other languages have radically different tools and practices that lead to far fewer footguns

Can you share any examples of these different tools and practices?

comment 4y ago · link · parent

I've used Tabula for many years, and it works great. Use it for converting PDF invoices from specific supplier for import into our system. Changed a task that took about a day each month, to about 10 minutes each month.

comment 5y ago · link · parent

Regarding your long lines issue - from your description it sounds instead like an unicode issue which I also ran into a while back.

What happens is that your main programming font does not have the unicode characters, so Emacs falls back to searching all your fonts for each character it can't find, which is slow if it has to search through many different fonts.

The solution is to ensure you have symbol fonts installed - see the list of fonts here: https://github.com/rolandwalker/unicode-fonts

16.

Remnants of the Precursors is an open source modernization of Master of Orion(github.com ↗)

3 points · by mattmein · 5y ago · discuss

17.

A small C utility that encodes bytes into whitespace characters(github.com ↗)

1 points · by mattmein · 5y ago · discuss

comment 5y ago · link · parent

I've used Zerotier for several years now, and it does feel that the stability on mobile has improved in the past couple of months.

comment 5y ago · link · parent

The free version of Foxit PDF Reader allows you to upload a signature image and add the signature to PDF documents. There is a Linux version. https://www.foxit.com/downloads/

20.

Remnants of the Precursors – open-source remake of Master of Orion 1(reddit.com ↗)

2 points · by mattmein · 5y ago · discuss

comment 5y ago · link · parent

One thing that has tripped me up with this workflow in the past is that you lose context - the code you copy/paste and execute in the repl is not evaluated in its module/namespace, so any other code calling it is not updated.

Is there a shortcut to evaluate the code in the correct module/namespace for Python? Maybe to switch the namespace in which the Python REPL evaluates the code you paste in?

22.

Guidance to developers affected by effort to block less secure browsers, apps(developers.googleblog.com ↗)

159 points · by mattmein · 6y ago · 159 comments

23.

The Silenced Majority(harpers.org ↗)

1 points · by mattmein · 6y ago · discuss

comment 6y ago · link · parent

This is completely unrelated, but I remember your blog about dotnet development. I followed it about 10 years ago and remember when you started with RavenDb. I haven't done any dotnet development in about 7 years, but you taught me a lot about programming properly. Thanks.

I'm glad RavenDb is still going well.

comment 6y ago · link · parent

I think it is worth reading his explanation [1] of why he built this. He doesn't really seem to be scaremongering, just that he identified a risk that he thinks has a high likelihood of happening, and he decided to do something about it.

He isn't talking about apocalyptic collapse, rather a collapse of supply chains necessary to develop complex electronics.

[1] - https://collapseos.org/why.html

comment 6y ago · link · parent

I wouldn't classify those emails as spam, as spam is unsolicited bulk email, ie untargeted emails going out to a large amount of people.

Personalised unsolicited email or any other type of contact can be an important way to make new connections, at least in my opinion.

comment 6y ago · link · parent

What does it mean that I have a unique user agent? I just use normal brave browser.

comment 6y ago · link · parent

https://pijul.org/manual/why_pijul.html#pijul-for-darcs-user...

comment 7y ago · link · parent

I've never understood this advice. To me it just makes a lot more sense to store everything in the database - much less complexity.

What I've done in the past is just put a CDN in front of the file url, so the file content is stored in the db, but served from the CDN.

comment 7y ago · link · parent

How is this website legal and different from hosting a movie/TV series? It is basically stealing the original website's content.
12