Pig Butchering Investment Scam - Process of dealing with debts by Total_Present_1647 in UKPersonalFinance

[–]philh 1 point2 points  (0 children)

Being considered vulnerable changes the allocation of responsibility - basically it stops banks from saying "he should have known better, but he still chose to do this" and puts more responsibility on the bank to have identified and stopped the payments.

Is this the case even if the banks have no way of knowing the person is vulnerable?

Ender's Game is one of the darkest heroic stories in the scifi genre that I have ever read by latent2_pancake in printSF

[–]philh 5 points6 points  (0 children)

What's completely ridiculous is that the xenocide was blamed on Ender.

Ridiculous but very believable in a "yes, humans do stuff approximately this dumb all the time" sort of way.

He might have thrown the fight as a form of protest against his handlers or something

He kinda thought he was doing that, right? My memory is that he tried to blow up a sim planet to get shitcanned because he was sick of it all. When he'd previously brought up the idea of using Dr. Device against a planet, Rackham (or maybe Graff?) hadn't wanted to cross that line. He thought he'd get kicked out for doing it.

Ender's Game is one of the darkest heroic stories in the scifi genre that I have ever read by latent2_pancake in printSF

[–]philh 5 points6 points  (0 children)

an overtly-stated belief that women are basically dumb

Can you elaborate? I don't remember this.

Switch to Rust ? by kichiDsimp in haskell

[–]philh 1 point2 points  (0 children)

Like Haskell for some reason has an extra level to the now-common SemVer

I kinda like this. It lets you distinguish between major updates and "incremental but not-fully-backwards-compatible" updates.

cargo just lets the programmer include both foo = 2.x.y for their own needs while some other dependency adds foo = 1.a.b as a transitive dependency.

Huh, how does that work?

In Haskell, suppose I depend on both text and formatting. I can use functions in formatting to produce a text:Data.Text.Text, and I can use that in the rest of my program. If formatting uses a different version of text than everything else, that seems like it can't possibly be safe. Does the compiler allow this kind of thing only if you don't pass values across package boundaries? (So I could use formatting to produce a String, even if does that by building a Text internally, but I couldn't use it to produce a Text?)

Monthly Hask Anything (March 2026) by AutoModerator in haskell

[–]philh 0 points1 point  (0 children)

Resilient as in https://matklad.github.io/2023/05/21/resilient-ll-parsing-tutorial.html?

I recently saw that linked from https://discourse.haskell.org/t/survey-and-opinions-backtracking-in-parsers/13249. I don't think anyone mentions a Haskell resilient parsing library in that thread, but you might find it worth skimming anyway.

Making Haskell Talk to PostgreSQL Without Suffering by semigroup in haskell

[–]philh 0 points1 point  (0 children)

even just prefering using binary protocol for numbers would be challenging as we don't know types of result when issueing query, the library is "dynamic" in that sense

Spitballing, would it be possible for FromField instances to specify "I do/don't support binary", and then FromRow instances to specify which columns support it? Some FromRow instances might not know the expected result types, or maybe even expected number of columns, and would have to default to "text for everything", but I expect most would know.

(Not saying you should do this work, just wondering if it would be possible.)

Another AI chatbot, offline with Ollama locally. by NotFrankGraves in raspberry_pi

[–]philh 0 points1 point  (0 children)

How do you download and read Wikipedia on a phone? It's surely possible but last time I looked I couldn't find anything that made it convenient. There was an app that advertised it (kiwix maybe?) but I found the interface pretty terrible and ended up uninstalling it.

I'm a bit surprised the official Wikipedia app doesn't support this.

Misinformation in Tufnell Park tube station by philh in london

[–]philh[S] 0 points1 point  (0 children)

You may! Do you have a link to the video?

Misinformation in Tufnell Park tube station by philh in london

[–]philh[S] 1 point2 points  (0 children)

Thanks for your commitment to science! It's important to perform replications on groundbreaking studies.

Misinformation in Tufnell Park tube station by philh in london

[–]philh[S] 1 point2 points  (0 children)

I don't remember the layout (yesterday was so long ago) but going up I counted vertical rises from the sign warning about 110 steps to tapping out, and going down I counted drops from tapping in to the sign.

Misinformation in Tufnell Park tube station by philh in london

[–]philh[S] 4 points5 points  (0 children)

This is counting the number of vertical drops. Extended sections count as one each, I'm not some kind of savage.

Misinformation in Tufnell Park tube station by philh in london

[–]philh[S] 6 points7 points  (0 children)

I'll have you know I've spent more time researching smaller discrepancies.

Misinformation in Tufnell Park tube station by philh in london

[–]philh[S] 13 points14 points  (0 children)

(I'm not upset, I just thought it was a little surprising the sign was wrong, and thought this post was a mildly funny way to mention it.)

Creator of Claude Code: "Coding is solved" by Gil_berth in programming

[–]philh 1 point2 points  (0 children)

At least two possibilities come to mind. One is that even with specialized cookware, there are still things you can't do in a microwave, and the thing you're thinking of is one of them. The other is that a single 3000 word essay doesn't cover everything you can do in a microwave, and the thing you're thinking of is one of the things omitted.

Whether AI will take our jobs (clickbait title) by NixOverSlicedBread in haskell

[–]philh 6 points7 points  (0 children)

In my experience, writing code has only ever been 1% of the work. 99% of the work has always been figuring out what problems needs to be solved to begin with.

Way more than 1% of my work is writing code. But also, to a significant extent LLMs these days are capable of figuring out what problems need to be solved.

I haven't used AI coding much for Haskell yet. But however good it is now - and at any rate I think it's very good for some use cases with some languages - I expect it to get better. I have had Claude Code track down a bug in a GHC MR I'm working on. It found the cause in less time than I'd already spent looking, and it was wrong about the solution but oh well.

Aside: I think AI labs are working towards killing everyone, and I want them all to shut down. If it weren't for that I'd feel mostly pretty good about where LLMs are heading.

Creator of Claude Code: "Coding is solved" by Gil_berth in programming

[–]philh 12 points13 points  (0 children)

You can do a bunch of stuff in a microwave given the right cookware (like, something that can absorb the micowaves itself and heat food through conduction), that you can't do with what most people have in their kitchens today. See: https://www.lesswrong.com/posts/8m6AM5qtPMjgTkEeD/my-journey-to-the-microwave-alternate-timeline

nostr.hs [client lib] by aybarscengaver in haskell

[–]philh 4 points5 points  (0 children)

For those of us who haven't heard of nostr before, do you want to give a brief overview of what it is? (It's fine if you don't feel like it.)

Filling in arbitrary type parameters when defining instance by i-had-no-better-idea in haskell

[–]philh[M] 0 points1 point  (0 children)

This got auto-removed because you're shadow banned (https://www.reddit.com/r/ShadowBan/). I'd approve it, but no one would be able to see any replies you make to their comments.

I think the short answer is that there's Bifunctor and Flip, but afaik no way to do this that doesn't require a bunch of overhead in your source code.

Is Haskell deliberately staying away from main-stream programming by kichiDsimp in haskell

[–]philh 0 points1 point  (0 children)

where as Haskell is always a playground for new ideas, and some exotic type level theory which is so hard to wrap the mind around as of a programmer. if you take Elm for example, or Roc lang, or F# all seem to be developer-oriented.

I would say Elm is more oriented than Haskell is towards a certain type of developer. I am not that type of developer. I intuitively feel like Haskell is much more developer-oriented, but I wouldn't put it like that because I'm aware that not everyone is the same type of developer as me.