Better HN
topnewbestaskshowjobs
Log inSign up

zero_k

902 karma · joined Feb 1, 2014 (12y ago) · 135 submissions

Submissions

comment 2y ago · link · parent

What made me realize is that I saw some snippets of emails he wrote to a colleague. It was... insane. You could see his mind race. He recognized patterns in minutes that would take me days, if not weeks, to recognize. Also, he actually writes and runs code, overnight if need be. It was as bit of a shock to me. He's not in an ivory tower. He's very much hands on, and when he's behind the wheel, you're in for a ride.

comment 2y ago · link · parent

I was involved with implementing the DNF volume counting version of this with the authors. You can see my blog post of it here:

https://www.msoos.org/2023/09/pepin-our-probabilistic-approx...

And the code here: https://github.com/meelgroup/pepin

Often, 30% of the time is spent in IO of reading the file, that's how incredibly fast this algorithm is. Crazy stuff.

BTW, Knuth contributed to the algo, Knuths' notes: https://cs.stanford.edu/~knuth/papers/cvm-note.pdf

He actually took time off (a whole month) from TAOCP to do this. Also, he is exactly as crazy good as you'd imagine. Just mind-blowing.

comment 2y ago · link · parent

I am 100% with you. I have infinite admiration for von Neumann's talents. He was the genius of the geniuses. I wish I could have a 10 minute chat with him. He'd blow my mind, I'm sure. I'd love to explain some of the research issues I'm working on to him, I have a feeling he'd nail them to the ground. His resume is absolutely insane. The dude invented merge sort and it's an effin' side-note to his work. Like, WAT. His achievements could fill the resume of 50 Nobel Laureate scientists. Plus apparently he had a CHARACTER, like a real one. Would have loved to shoot the sh&t with him.

comment 2y ago · link · parent

Just go to an RC field near you, you'll see people flying like that.

But don't forget, an RC heli is an accident waiting for a place to happen.

comment 2y ago · link · parent

Wow, yes, so true! I didn't realize how powerful this kind of fear is. You put it quite well. I'll now have to think about this...

comment 2y ago · link · parent

Yeah, it's a bulls**t comment. Fools are dime a dozen :(

comment 2y ago · link · parent

I get you. It took me a looong time to come to terms with the fact that I can buy myself some nice things, even though I was already gifting nice things to others. I still only rarely buy nice stuff for myself, but I am learning. I bought myself a high-end computer (5950x & RTX 3070) 3 years ago, and I realized how important it is to spend -- it's sometimes cheaper than buying it later (it was the beginning of the silicon crisis), and you get to enjoy it a lot. I still pay a lot of attention to what I buy and for what purpose, but I am less crazy about not spending it.

It takes actual time to learn to spend, and you gotta be patient with yourself.

comment 2y ago · link · parent

I read that many (10? 15?) years ago and it changed me. It literally, changed me. That blog post, and its comments (including one by the sister of the author... really difficult stuff) is incredibly hard and important to read.

comment 2y ago · link · parent

Indeed. If you wanna understand this more in-depth, I suggest the book "Can't Catch a Break: Gender, Jail, Drugs, and the Limits of Personal Responsibility". It does exactly what it says on the lid, an amazing book.

comment 2y ago · link · parent

Haha null deref is funny. Not surprised they are so bad still. They were terrible back then. Didn't improve over time.

comment 2y ago · link · parent

This confirms what everyone who ever touched AMD GPGPUs knows -- that the only thing holding back AMD from becoming a 2 Trillion dollar company is their absolutely atrocious software. I remember finding a bug in their OpenCL compiler [1], but crashing their OpenCL compiler via segfault was also a piece of cake (that was never fixed, I gave up on reporting it).

AMD not developing a competitor to CUDA was the most short-sighted thing I have ever seen. I have no idea why their board hasn't been sacked and replaced with people who understand that you can make the best hardware out there, but if your SW to use it is -- to be very mild -- atrocious, nobody is gonna buy it or use it.

Us, customers, are left to buy the overpriced NVidia cards because AMD's board is too rich to give a damn about a trillion or so of value left on the table. Just... weird. Whoever owns AMD stock I hope is asking questions, because that board needs to go down the nearest drain.

[1] https://github.com/msoos/amdmiscompile -- they eventually fixed this

comment 2y ago · link · parent

The imminent nonsense of fear-mongering and money wasting, mostly. Academic funds spent billions on PQC and academia has been paid to shill nonsense for long enough to convince some of these players to "ah, let's just integrate PQC, whatever". It's nothing more than a waste of money and resources.

comment 2y ago · link · parent

I am very tired of this quantum computing nonsense. I have been hearing about it overtaking everything for almost 20 years (when I did my PhD). While the EU and the US has been pumping money into quantum for all these years, they completely missed the AI revolution, and have been chronically underfunding basic research (e.g. what I'm partial to, formal methods). You can still get tons of money from funding agencies by _somehow_ incorporating "quantum" into your funding proposal. It's a joke.

I remember being at the SAT conference 2 years ago (co-located with all other formal methods conferences), and I raised my concern about the BS that was accepted as a research paper again doing some nonsense quantum stuff, and the person from Intel was like, we are almost at 100 qbits, end of the year! Pinky Promise! Of course none of that happened. They promised 1000s of qbits in just a decade 20 years ago.

Best part is that even when they have 10s of thousands of qbits they can't show me a single, actually useful, revolutionary application other than breaking RSA, which is laughable (yada-yada some optimization problems, sorry, but no, the more you dig, the more it's obvious it is nonsense). Billions of EUR into this fever dream and they got completely blind-sided by deep learning (which they _also_ under-funded until industry picked it up and made it work). It's the same idiots who demoted Katalin Kario who recently got the Nobel recently for mRNA vaccines. I sometimes really get tired of Academia.

comment 2y ago · link · parent

This is cool :) My only small gripe is that python-sat (i.e. pysat) is nice, but it kinda hides all the work that SAT solver writers (like me... :D) do. It gives a nice interface to access them all, but it also means that e.g. if something doesn't work, the user may not know who to contact as they may not be aware which SAT solver they are using. I guess it's the rule of something becoming so mainstream that the authors of the underlying technology fade away, and those doing the (actually really hard work!) of maintaining the common API are referenced only.

I have seen publications/work where the SAT solver was credited only as pysat, which is not a SAT solver :) Kinda cool and sad at the same time!

comment 2y ago · link · parent

Haha yes, that's the norm. They don't care. Report to the regulator. Then they care. Find out who the regulator is in your country, and report to them. Kinda annoying, but when the regulator tells them they need to do it, it magically gets done.

Note that the regulator doesn't threaten with childish things like a fine of 1M USD, that's kids' playground stuff. They threaten to revoke their banking license, which will cost them 100x more per day :)

comment 3y ago · link · parent

Wow, nice, thanks! :heart:

comment 3y ago · link · parent

Hahahahaha good point!

comment 3y ago · link · parent

A cool method to approximately count volume using the power of randomization. It's a pretty simple algorithm, each step being trivial on its own, yet it produces a surprising good algorithm for a rather complicated problem.

109.

Probabilistic Approximate DNF volume counting(msoos.org ↗)

2 points · by zero_k · 3y ago · 1 comment

comment 3y ago · link · parent

That's a cool story! Would have loved to have heard more about that :)

comment 3y ago · link · parent

I work on a regular basis with the author, and we have discussed caste before. I guess the most I can add to the story is that he is very supportive of all those who have not been given the chance, for whatever reason, to excel. For example he is a staunch supporter of women's rights (just check out his track record of both hiring and retaining female talent as PhD/PostDoc), and speaks up regularly for those who are oppressed.

I like that he used Freedom of Information regulation to get information on discrimination. This reminds me of an old friend who did the same here in Germany, about West vs East-Germany born heads of universities. The ratio is way-way worse than you might imagine. It's not the same level of oppression as in India, but those who think this issue is far from Europe need not look further than the heart of the EU itself.

comment 3y ago · link · parent

Hahha, I am Mate :) I still think that GPGPU can't help in the core of the algorithm. However, I was pleasantly surprised with Nicolas' work. He is a proper magician, and he had a great idea and made it work. Notice that he didn't make the GPU do propagation/conflict generation. Instead, he used it to better distribute clauses between the threads that do all of that. In a way, he improved clause cleaning. When I saw his work, I was very-very happy.

I still hold that GPGPUs can't do CDCL. However, they may be helpful in some of its sub-parts, or may be able to run another algorithm for solving SAT that we haven't invented yet.

Just my 2 cents,

Mate

comment 3y ago · link · parent

For anyone who understands easier through code, I suggest:

https://github.com/msoos/minisat-v1.14

It's an early version of MiniSat by Niklas Eén and Niklas Sörensson. You can get the original ZIP from minisat.se, but it's easier to read from GitHub. Enjoy!

comment 3y ago · link · parent

That is true, but there are many interesting heuristics in modern SAT solvers, such as kissat: https://github.com/arminbiere/kissat (winner for a few years now). LBD ("glues" in glucose) is one of them. Kissat is actually quite readable. More readable is CaDiCaL, also extremely fast and effective: https://github.com/arminbiere/cadical

I personally also develop a SAT solver called CryptoMiniSat, but the above two are easier to read :)

comment 3y ago · link · parent

There is a solver that can make effective use of GPUs (shameless self-promotion): https://github.com/nicolasprevot/GpuShareSat

It is a VERY fun work. Code entirely written by Nicolas Prevot, a magician of CUDA. Paper link here: https://comp.nus.edu.sg/~meel/Papers/sat21-psm.pdf

comment 3y ago · link · parent

No, parallel SAT solvers are NOT disqualified, in fact there is a parallel track. Seriously? Every year there is a winner for the parallel track. Here's last year's:

https://satcompetition.github.io/2022/results.html

comment 4y ago · link · parent

The company I know handles account "deletions" by pseudonymizing data, which is utter BS, any half-competent engineer can recover who the original person was. The engineering lead in charge realized he can get promoted by calling pseudonymization "anonymization" thereby fooling most, and not losing the data for the company. Those who knew he was making a mess were not included in the data deletion project, likely because it was inconvenient to hear the truth.

So that's how a huge company deals with "data deletion". I hope the DPA will come down on them hard but of course this clown will then just go and do this circus at another company, now promoted to high heavens.

I hate that privacy and security are full of snake oil peddlers, and it pays of extremely handsomely to be a snake oil peddler. It's not in anyone's interest for you to get caught (who wants to advertise their security is bad/they don't abide by GDPR?), so even if it becomes painfully obvious you've been selling snake oil, you'll only be asked to hand in your resignation, allowing you to do the same (but at an even higher level) at another company.

comment 4y ago · link · parent

People here talking about PII reminds me every day that we still haven't grasped what Personal Data is, and how incredibly different it is from PII. Ah, sad.

comment 6y ago · link · parent

+1. I am always surprised that they used to do (and of course still must do) proper full-on formal verification of e.g. train track scheduling systems, so train accidents, and consequently 100s of deaths don't just happen because "sorry for the bug, ver 1.2 fixes it" -- but people are happy to sit into a Tesla going at 120km/h and allow a well-tested, but not formally verified deep learning system to make decisions. BTW, I know it's not formally verified, because formally verifying deep learning systems is a currently very much unsolved problem for anything but toy examples.

comment 6y ago · link · parent

Yes. It turns out that squeezing more performance out _purely_ from the silicon has been mostly due to: (1) hand-rolled memory layouts that optimize placement, do bit-stuffing and the like to take the most advantage of the cache, (2) using clever data structures that cache certain elements of the pointed-to data in the data we read linearly, thereby allowing the cache to pre-fetch them and allow us not to (always) dereference the pointer, (3) prefetching.

Note that (1) and (2) are much more important than (3). In particular, you can even arrange the data elements for (1) in an order that you _expect_ them to be dereferenced, and even if your "hit" ratio is only slightly better than zero, you can get a performance improvement. For this latter one, check out https://www.msoos.org/2016/03/memory-layout-of-clauses-in-mi...

12345