News for hackers. Stuff that matters.

raister

Show HN: Markov Chains for Programmers – free book (2nd ed.) with C code

https://github.com/czekster/markov

I have just finished reviewing the 2nd edition for my Markov Chains book.This for programmers who want Markov chains explained through code, not proofs. You build chains as matrices and solve them in C: power method, steady state for DTMCs/CTMCs, simulation to check the numbers.2nd edition just out: errata fixed, new material on uniformised/embedded DTMCs, and the code now has tests and CI.Repo...

( Read More... | 1 comment | 3 points | on HN )
I bet French people can't wait for their electric bills to halve overnight! (/sarcasm).

On a more serious note, EDF, France's suppliers sells their provision as 99.99% clean, which is not wrong, I guess, but a good selling point to their business.

Too bad this github has latest changes 5 years ago, I wonder what they could update with LLMs, etc.
Re:1,600 days of a failed hobby data science project on Sunday December 08, 2024 @11:43PM (#42363127)
I feel this whilst learning (trying to) German: when I think "how I would say this in German?" I got nothing less than a blank on my mind. But I'm a good "speaker" though, and sadly, I feel I'm not going anywhere as well...
Re:My second year without a job on Friday December 06, 2024 @10:41PM (#42347066)
The way I see it, it's not CS per se, it's about solving problems.

You hone that skill, and it will shape your future, whatever field.

You'll never be jobless having that particular skill.

Don't give up.

Great story, especially for a 9y! I love to know that one can rise to occasions given time and persistence and willingness to learn, at any age.

Thanks for sharing.

Re:Algorithms We Develop Software By on Monday November 11, 2024 @12:37AM (#42104785)
I once thought I lost a paper I'd written a while back (before OverLeaf and Cloud), and I've rewritten it only to find it back again: when I compared the versions, the second one had better sentences altogether. The core framing was there, but the quality was higher.
Re:I've had a change of heart regarding employee metrics on Monday November 04, 2024 @01:43AM (#42039118)
"Tell me how you measure me, I will tell you how I behave." Eli Goldratt

"When a measure becomes a target, it ceases to be a good measure." Goodhart's Law

Re:Fuzzing 101 on Sunday October 06, 2024 @02:57AM (#41755331)
Thank you for sharing this - very useful!!!
Re:Too much efficiency makes everything worse (2022) on Saturday September 28, 2024 @11:14PM (#41684585)
This reminds me of Eli Goldratt's quote: "Tell me how you measure me, I will tell you how I behave."
If you have the time and the attention span: "ChatGPT is bullshit"

https://link.springer.com/article/10.1007/s10676-024-09775-5

(although they concluded it's "soft" bullshit, as it doesn't aim to 'harm')

Re:The war on remote work has nothing to do with productivity on Monday September 23, 2024 @02:31AM (#41622904)
TL;DR: "It’s about real estate."

Real.

Re:Retiring from the Idea of Retirement on Sunday September 15, 2024 @11:40PM (#41552542)
I resonate with this, unfortunately. I wish things in our field were better.
Re:Founder Mode, hackers, and being bored by tech on Sunday September 15, 2024 @06:28AM (#41546585)
It's so disheartening that a lot of effort is put towards presenting ads to people in all spectrum of tech.
Re:Simplifying programming with AI-tutors on Wednesday September 04, 2024 @02:23AM (#41442471)
Sorry for the very basic question, but, is DSA, in this context, Disabled Students' Allowance?
I agree that being the first is important. I have had a paper reviewed, then rejected, only to see the same idea elsewhere a while after. I cannot say the reviewer "had the same idea" nor prove, but it is known to happen. Putting into arXiv remediates that. However, my personal issue with that is that the journal might not be that keen to want to publish your paper after knowing it was publicly available elsewhere, as they thrive "innovation" and "being the first" as well. It's a very difficult problem, indeed.
Re:Markov chains are funnier than LLMs on Monday August 19, 2024 @03:42AM (#41288754)
For anyone interested, I've wrote a while ago this book: "Markov Chains for programmers". Link: https://czekster.github.io/markov/
Roblox is a huge problem for me, as a parent of a 8y kid. Let me explain: I try to block violent apps in his tablet using Google's Family app, however, Roblox internally keeps 'offering' my kid almost any game, whatever if there's violence, drugs, killing others, and so forth.

It's a headache and a source of fights, so, I thank the responsible (/sarcasm).

The problem with Excel, in my view, is that people start using it as a database, and things get convoluted from there on very fast.
He surely has a point stating that creators will compete with AI generated content in the years to come. Virtual stars are already plaguing the platform and companies are seeing those as costing less to produce content (and they don't have to handle PR campaigns whenever the 'physical' stars do something controversial).

Well, welcome to the future, I guess.

Re:Thoughts on Testing on Friday January 05, 2024 @05:12AM (#38877468)
Please, elaborate.
I would expect Mojo to perform better in these settings.
This was posted 50 days ago - how does it reach first page again? https://news.ycombinator.com/from?site=benhoyt.com
Responded: > Scanning is unavailable at the moment. Try again later.
Re:UK GCHQ's CyberChef on Thursday December 28, 2023 @11:50PM (#38801843)
Well, it's true, however, it's nice to have a way of showing stakeholders about technologies behind security solutions altogether.
Re:Why Are Things Expensive? on Monday December 18, 2023 @10:46AM (#38684032)
Well, houses, it's simple: they (politicians) limit the number of new builds, otherwise prices would fall. It's always supply and demand in the end. Diamond extracting also: they control the amount of diamonds that 'enter' the market each year. Imagine if it was 'flooded': the diamond market would collapse.

Older »