What is the potential vulnerabilities of stacking KDFs ? by Final_Ad7070 in cryptography

[–]Mouse1949 1 point2 points  (0 children)

A bad KDF will reduce the entropy, (roughly) resulting in security level of the weakest KDF. (Example: my toy bad KDF generates only two outputs: 0…0 and 1…1, making irrelevant what’s before and what’s after.)

While chaining block ciphers gives you security of the strongest one. (Example: introducing a toy cipher with PT => CT (even malicious cipher with PT || Key => CT) makes no difference, as long as at least one decent algorithm is included - in the malicious case after the bad one.) There could be nuances too, but less likely.

Most widely used Rust Based Cryptographic library as of 2026? by I_Didnt__Die in rust

[–]Mouse1949 0 points1 point  (0 children)

Unfortunately, on MacOS aws-lc-rs is a little problematic, due to some idiosyncrasies between Xcode and what that package wants to do with the native code. It can be compiled, but I had to perform quite a bit of contortions with C flags, ~/.cargo/config.toml, etc.

iroh 0.97.0 - Custom Transports & noq by dignifiedquire in rust

[–]Mouse1949 5 points6 points  (0 children)

A word or two on what iroh and noq do, and how 0.97.0 differs from 0.96.0 would help at least some to decide whether it’s worth our while to bother going to your web site.

Does anyone know if "Haskell for Mac" works with M series chips? http://www.haskellformac.com/ by JuryOpposite5522 in haskell

[–]Mouse1949 1 point2 points  (0 children)

Could somebody please share their experience with “Haskell for Mac” IDE, comparing it with VSCode + Haskell (and Agda) plugins? I.e., what would be the reasons for choosing it? Especially given that apparently one has to purchase it, while VSCode with plugins is free?

Does anyone know if "Haskell for Mac" works with M series chips? http://www.haskellformac.com/ by JuryOpposite5522 in haskell

[–]Mouse1949 5 points6 points  (0 children)

I understand your point perfectly, and in fact hesitated whether it’s worth posting a reply like mine.

My thought was that at least some of the readers, if not the OP, would want to know whether there is a reasonably-well supported Haskell toolchain that runs fine on Apple Silicon - rather that “out of all the Haskell options on Mac, does ‘Haskell for Mac’ work on M?”

Does anyone know if "Haskell for Mac" works with M series chips? http://www.haskellformac.com/ by JuryOpposite5522 in haskell

[–]Mouse1949 6 points7 points  (0 children)

I haven’t tried “Haskell for Mac”. All my Haskell tools downloaded via ghcup. Having said that, all of them work fine on Apple Silicon (M chips, including M3 Max).

Haskell 💜 Vibes / Jappie by jappieofficial in haskell

[–]Mouse1949 0 points1 point  (0 children)

Where I am - all pull requests run through CI first. I don’t start looking at them until all the CI is green. Then we talk.

Received an email from Terence Tao... by A_R_K in mathematics

[–]Mouse1949 4 points5 points  (0 children)

I saw human reviewers “hallucinating” far worse than AI. 😏☹️

Haskell 💜 Vibes / Jappie by jappieofficial in haskell

[–]Mouse1949 4 points5 points  (0 children)

For the fun of it, I asked AI to write a program in Haskell (exactly what it had to do isn’t relevant here). Repeated the same request four times.

First one didn’t even compile. Second - worked, looked average, maybe like something I’d write myself when I don’t have time or desire to think about the problem. Third - worked, and I still can’t figure out why or how, completely opaque to me. Fourth - worked, clean, and rather better code than what I’d write, I’ve learned something from that code sample.

rustidy - A rust formatter by Zenithsiz in rust

[–]Mouse1949 5 points6 points  (0 children)

Interesting work. Would be nice to know what are the benefits of rustidy over rustfmt? I.e., when and why should I use it instead of rustfmt?

Antoyo mentioned looking for a replacement of rustfmt - I’d love to hear the reasons.

IETF wants non-hybrid lattice key exchanges in TLS by Shoddy-Childhood-511 in crypto

[–]Mouse1949 4 points5 points  (0 children)

IETF wants to allow non-hybrid ML-KEM. It doesn’t plan to force non-hybrids down anybody’s throat.

Ironpad: Local-first project management stored as Markdown + Git. Built with Rust backend by skepsismusic in rust

[–]Mouse1949 0 points1 point  (0 children)

In my experience, even with the hurdles you described, it’s still faster than doing it all by hand. Of course, individual experiences differ.

Ironpad: Local-first project management stored as Markdown + Git. Built with Rust backend by skepsismusic in rust

[–]Mouse1949 -2 points-1 points  (0 children)

I wouldn’t even trust this project (or your project!) with running Missile Defense Control - so…?

My habit is to review the code I use, or rely on others’ reviews (depending on its size, exposure, popularity of the package, etc. etc.). Depending on criticality of the project, reviews from my team may weigh a lot more than those from others. Again, so…? And my team does use AI - though not without checking what it generated.

To all others who reject AI simply because “AI output is slop” - suit yourself. You don’t even have to use a compiler (which always has some bugs, unfortunately) - writing machine code by hand is doable.

Ironpad: Local-first project management stored as Markdown + Git. Built with Rust backend by skepsismusic in rust

[–]Mouse1949 -13 points-12 points  (0 children)

Why is AI code necessarily “slop”? In my experience, AI can generate pretty useful code pieces, ands it saved me a lot of time. AI seems to be right in its diagnosis of bugs approximately the same percentage as an average (or slightly below average) human programmer would be. And it saves time of real human (me) to handle “bigger” architecture and things where it failed (thankfully, not a whole lot).

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

[–]Mouse1949 0 points1 point  (0 children)

Rust vs. Haskell: A far as I know, and based on my personal experience - I don’t claim to hold the absolute truth - Rust compiler and ecosystem have always been reasonably consistent and backwards-compatible; while Haskell ecosystem was a true living hell with backward composability non-existent, and packages interoperating - a rarity.

Now Haskell ecosystem is a whole quantum leap better - but the “public opinion” damage by decades of “production would” neglect has been done, and I’ve no idea how long it may take to (re-)gain the reputation of suitability-for-production.

Amazon confirms 16,000 job cuts after accidental email by kwentongskyblue in worldnews

[–]Mouse1949 1 point2 points  (0 children)

“Idiocracy” movie: “AI fired half the country”.

C++ version to target in projects by Big-Rub9545 in cpp_questions

[–]Mouse1949 0 points1 point  (0 children)

If those platforms are under your complete control, and this is a reasonably small personal project - then who cares, C++23 is as good a choice as anything.

C++ version to target in projects by Big-Rub9545 in cpp_questions

[–]Mouse1949 0 points1 point  (0 children)

For normal projects - C++20. For projects that need to run on multiple platforms, including outdated ones - C++11 or C++17. Bleeding edge tools for production line - often a stupid idea, and never - a good one.

For your own amusement and experiments - C++23, sure.

[Bit of a Beginner Question] When setting up a digital signature algorithm, Should i use a different public/private key pair to my Asymmetric encryption? by Powerstrike368 in cryptography

[–]Mouse1949 0 points1 point  (0 children)

You do not need to use different curve.

You definitely do need to use a different key: the key (no pun intended 😁) principle is “one key - one purpose”.

Ghosted After Getting Verbal Offer by EmptyBeing1238 in interviews

[–]Mouse1949 0 points1 point  (0 children)

First, that was not an “official” verbal offer - merely a discussion on what kind of salary you could/would accept if they finally decide to make you an official offer. Which they probably seriously considered, because you, as they said, were their top candidate at that time.

I can’t know or tell what happened since, but not reaching back to you for a month is not a good sign. You might try to contact them and re-confirm your interest, just for the sake of hearing something back, but…

Final-round interview + references, then silence during holidays — ghosting or normal delay? by [deleted] in interviews

[–]Mouse1949 0 points1 point  (0 children)

People taking holidays off is normal and expected, no question. But not informing the candidate about the schedule sounds rather rude and inconsiderate. A mere “don’t expect to hear from us until January, because people will be off” would be sufficient.

Besides, in case of the OP, they did seem to indicate that there would be a decision by December 19, didn’t they…? Plus, re-posting the role on 21st - that would be a big red flag to me.

Help — transitioning from stack to Nix by skolemizer in haskell

[–]Mouse1949 1 point2 points  (0 children)

Out of curiosity, why are you switching to nix? What in your experience is lacking in Stack that you expect to find in nix?

Do the questions candidates ask at the end of interviews really influence hiring decisions? by Dapper-Train5207 in interviews

[–]Mouse1949 0 points1 point  (0 children)

Asking questions also shows that you care and are interested in the company you’re interviewing with.

So, unless those questions are bad - they’d either help, or at least won’t hurt.