HNHacker News
TopNewBestAskShowJobs

thdhhghgbhy

43 karma · joined November 2, 2024

submissionscomments
thdhhghgbhy··on VPN use surges in UK as new online safety rules kick in
The new online safety rules are already being used to shut down government criticism. How it works is their new elite protection squad, if someone is deigned an influential critic of government policy, trawls through your social media posts until they find something against the laws. A lot of government critique is coming from the working class here now, who have virtually no political representation in the UK. As you can imagine, some of these social media posters don't mince their words, and end up getting caught out and arrested.
thdhhghgbhy··on Flix – A powerful effect-oriented programming language
It's different. Effect systems claim to be a 'major evolution' that 'enforce modularity'. But they don't really enforce anything other than the modularity provided by standard oop classes or if in a fp language, function modules.
thdhhghgbhy··on Flix – A powerful effect-oriented programming language
But you have user defined effects don't you? E.g say I define an effect ReadsFromDB, it doesn't necessarily do what it says on the tin, and there is no way a compiler can check that it does. It could read from the db, and send some rockets into space. So a consequence of that is that these "effect systems" just amount to giving names to blocks of code. That's not necessarily a bad thing.
thdhhghgbhy··on Experimental X11 Compatibility Layer
Very clearly written, thank you.
thdhhghgbhy··on Experimental X11 Compatibility Layer
Very naive question, but what is the difference between this and XWayland?
thdhhghgbhy··on Fairphone 6 is switching to a new design that's even more sustainable
Can it actually take and make calls, and hold a battery charge yet?
thdhhghgbhy··on A Lean companion to Analysis I
Is there not an idiomatic way to write proofs in Lean/Coq/Agda though? Idiomatic in the sense that once you learn the common idioms/tactics proofs become a degree more readable.
thdhhghgbhy··on A Lean companion to Analysis I
He didn't really fully explain why he chose Lean over Coq or Agda though.
thdhhghgbhy··on Why Algebraic Effects?
>Can the compiler check that a function is pure besides its assigned side effects?

The compiler can't. It is up to the programmer to make sure that a database effect doesn't, say for sake of example, write out to a file also.

So in the end this is just a novel new way to organise code.

thdhhghgbhy··on Why Algebraic Effects?
Just seems to be a way of organising code really.
thdhhghgbhy··on Silly job interview questions in Haskell
Typical Haskell coding post with no mention of order or efficiency of the algorithm solutions. The thing is, even in basic coding quizes, if the interviewer is worth their salt, they will ask about how to improve the efficiency of the naive solutions first put forward, like the palindrome answer in this post.

What is the order of sumNToTotal?

thdhhghgbhy··on Show HN: Hardtime.nvim – break bad habits and master Vim motions
Great work.
thdhhghgbhy··on I failed a take-home assignment from Kagi Search
I did one once for Barclays for a Haskell role in London. A whole evening of work and they never even sent me a rejection email.
thdhhghgbhy··on Migrating a JavaScript Project from Prettier and ESLint to BiomeJS
Vite is trying now too.
thdhhghgbhy··on The End of Programming
Unconvinced. I believe we'll go the other way, further into the theoretical aspects, in particular program verification.
thdhhghgbhy··on Test Spies in Haskell
Seems like a clumsy version of dependency injection in Haskell to me.
thdhhghgbhy··on 'Parkinson's is a man-made disease'
Discovered in 1817, but we weren't using pesticides at scale until the early mid 1900s.
thdhhghgbhy··on NixOS and reproducible builds could have detected the xz backdoor
If Jia Tan's PR was approved, malicious artifacts could go to github releases just as easily as in a tarball. Struggling to understand the point made about github releases being a security mitigation.
thdhhghgbhy··on Performance of the Python 3.14 tail-call interpreter
Don't apologise. Programming is about the process not the person.
thdhhghgbhy··on AI tools are spotting errors in research papers
Now all AI tools have to do is spot errors made by themselves.
thdhhghgbhy··on Why Ruby on Rails still matters
I miss writing Ruby.
thdhhghgbhy··on Sunsetting Create React App
The hybrid server render, then hydration step is too magical for my liking. There's a bunch going on in there that would be very difficult to debug, if some mysterious error at this stage of the app were to present itself. I prefer either wholly SPA or serverside, can debug and understand the whole thing.
thdhhghgbhy··on TL;DW: Too Long; Didn't Watch Distill YouTube Videos to the Relevant Information
Text summarisation already frequently misses things, sometimes gets them completely backwards. Can't convince myself this will be any better.
thdhhghgbhy··on I bought a container full of Chinese electric excavators. Here's what showed up
Seems wasteful to me.
thdhhghgbhy··on Why Tracebit is written in C#
Haven't written C# for 8 years, but Visual Studio used to be dog slow. But that's the only criticism I can think of, love the language. I remember when ReactiveX came out, C# became close to unbeatable at that point.
thdhhghgbhy··on Emotional support across adulthood: A 60-year study of men’s social networks
More like by 40. My relationship with even my best buds from school became empty or non existent after years of marriage and kids.
thdhhghgbhy··on Please don't force dark mode
I'm more extreme, I dislike all dark mode, including code. Shreds my eyes, no idea why. Have tried a zillion themes, just can't be one of the cool kids.
thdhhghgbhy··on Haskell: A Great Procedural Language
Okay, might be definitional, but when I think of 'first class', I think of something baked in to the language. So in Haskell's case, in the Prelude I suppose.
thdhhghgbhy··on Haskell: A Great Procedural Language
Thanks, I've followed along with a lot of your posting on the Haskell discourse. One thing regarding this matter:

>well, you point out the analysis of its flaws from the effectful documentation. That's correct.

Thinking deeper about this, that there is essentially no way to fix this issue with StateT, because of the type choice, the monad, the composability requirement, all conspiring together to not be undone, does that signal something deeper that is wrong with the flexibility of Haskell, that we can progressively paint ourselves into a corner like this. Could it not happen again, but with another late breaking requirement, for effectful, or bluefin?

thdhhghgbhy··on Haskell: A Great Procedural Language
Basically StateT uses Either to model either the application state or an error. So if your application throws, you lose the current state forever. They sort of painted themselves into a corner with this choice of type, there's no real way out now.

This explains in more detail:

https://github.com/haskell-effectful/effectful/blob/master/t...

I agree loosely with what haskman above says about creating relatively bug free applications, the guard rails are so robust. But those same guard rails mean you can paint yourself into a corner that it is harder to get out of without imperative state, case in point above.

← PreviousPage 2 of 3Next →