HNHacker News
TopNewBestAskShowJobs

bugfix-66

501 karma · joined September 24, 2022

A debugging game for hackers: https://BUGFIX-66.com
submissionscomments
bugfix-66··on 10 KB Club: Curated list of websites whose home pages do not exceed 10 KB size
I aspire to have my site on this list one day. But according to their rules, it would need to get 100 upvotes on Hacker News, and that's not realistic.

  5. ... some content from the website must have received at least 100 points on Reddit or Hacker News on at least one occasion ...
bugfix-66··on 10 KB Club: Curated list of websites whose home pages do not exceed 10 KB size
The user experience is excellent.

Can you point to a specific problem?

bugfix-66··on Show HN: Improving on Daniel Bernstein's Libsecded
This is an attempt to improve on djb's fantastic libsecded:

https://pqsrc.cr.yp.to/libsecded-20220828/README.html

We're using a novel Hamming code that doesn't require any interleaving, so the original data can be left unmodified. The new Hamming code is simple and easy to prove correct.

Here is the checksum generator:

https://bugfix-66.com/6956d0447254a7adce9531669bb2d24e3d2e98...

Here is the corresponding SECDED scrubber, that uses the checksum to fix single bit flips and detect double bit flips:

https://bugfix-66.com/f0a66d0ba87bd566172e5a880cdebd57c50bb8...

Future work is to vectorize the index XOR loop (a tiny piece of code).

bugfix-66··on I drink before I interview
HERE IS THE ANSWER, ACCEPT NO SUBSTITUTES:

Take 20 milligrams of propranolol, 1.5 hours (90 minutes) before your first interview.

It works for presentations and speeches, too.

Propranolol is a beta blocker and you can easily get a prescription for "performance anxiety" if you ask your doctor. It has a long history of chronic use at higher doses for blood pressure control, so it's very safe at the 20mg dosage. Just ask your doctor and you'll get the prescription.

It has negligible direct effect on the brain. It is NOT a tranquilizer.

But your body will be dead calm -- no adrenaline at all. And indirectly this will calm your mind.

bugfix-66··on GitHub Copilot isn't worth the risk
We are witnessing a monstrous perversion of "fair use" and the greatest theft of intellectual property in human history.
bugfix-66··on GitHub Copilot isn't worth the risk
It's interesting to consider how you might prevent training using a license without being too restrictive.

Here is an example of a license that attempts to directly prohibit training. The problem is that you can imagine such software can't be used in any part of a system that might be used for training or inference (in the OS, for example). Somehow you need to additionally specify that the software is used directly... But how, what does that mean? This is left as an exercise for the reader and I hope someone can write something better:

  The No-AI 3-Clause License
This is the BSD 2-Clause License, unmodified except for the addition of a third clause. The intention of the third clause is to prohibit, e.g., use in the training of language models. The intention of the third clause is also to prohibit, e.g., use during language model inference. Such language models are used commercially to aggregate and interpolate intellectual property. This is performed with no acknowledgement of authorship or lineage, no attribution or citation. In effect, the intellectual property used to train such models becomes anonymous common property. The social rewards (e.g., credit, respect) that often motivate open source work are undermined.

  License Text:
https://bugfix-66.com/7a82559a13b39c7fa404320c14f47ce0c304fa...
bugfix-66··on AI found a bug in my code
There are people who believe this is real AI, not just aggregation and interpolation. They really believe the software understands code generally.
bugfix-66··on AI found a bug in my code
From your list, it has solved simple matrix multiplication, LSD radix sort, and pointer padding, all of which appear many, many times in its training set.

I'm surprised it can fix the two prediction compressor bugs, even with a hint... That shouldn't be in the training set. But the solutions to those puzzles did appear on the front page of Hacker News a few weeks ago (https://news.ycombinator.com/item?id=33396037), so they may have been uploaded to GitHub.

Can you paste the Correct! message (as evidence of solving it) and do more than just the first 10? Just list the ones it can solve. Thanks, I appreciate it.

bugfix-66··on AI found a bug in my code
No, it's just a well-written a piece of software.

Thanks :)

bugfix-66··on AI found a bug in my code
The code you submit is compiled, linked, and executed against a suite of tests.

Any functionally correct solution is accepted.

If the site rejected your code, it's because your code was wrong (sorry).

bugfix-66··on AI found a bug in my code
Lots of people here have access to Microsoft Copilot or GPT3.

People with access to these models can demonstrate how the system performs on code THAT WASN'T IN THE TRAINING SET by solving a few of these puzzles.

The reality is that all (?) the amazing demonstrations involve code very similar or identical to what appeared in the training set.

bugfix-66··on AI found a bug in my code
Please, if you have an "artificial intelligence" that can write and understand code, I'm sure it can fix some tiny bugs in a little code that wasn't in the training set.

Why is this so contentious?

Surely the "AI" can withstand a little scrutiny.

bugfix-66··on AI found a bug in my code
I think we should question this, and give it a real test.

Let's see how Copilot does on code that wasn't in the training set.

No problem, right?

bugfix-66··on AI found a bug in my code
It's possible to prove employment at a company without revealing your identity.

But he didn't follow through. That's ok.

People are very passionate about "AI" and disillusionment can be painful.

Many "AI bros" don't understand the technology. But they really want to believe.

bugfix-66··on AI found a bug in my code
No, I don't think I will.
bugfix-66··on AI found a bug in my code
Contact me from your work (non-anonymous) email address, friendo.
bugfix-66··on AI found a bug in my code
I work at the most important company in the "AI" industry, a company you hear about every day.

I write GPU kernels for transformers and convolutions. You probably use my BLAS kernels in your networks.

I know EXACTLY what I'm talking about.

I also know the "AI bros" don't have a clue.

bugfix-66··on AI found a bug in my code
My thoughts on the topic of large-scale "AI" plagiarism:

https://bugfix-66.com/7a82559a13b39c7fa404320c14f47ce0c304fa...

Discussed numerous times here on Hacker News.

We are witnessing a monstrous perversion of "fair use" and the greatest theft of intellectual property in human history.

But the "AI bros" love it.

bugfix-66··on Liblithium: A lightweight and portable cryptography library
Yes, you clearly don't understand it. That's ok, but you probably shouldn't confuse the issue.

Basically the attack shows that Gimli's speed and simplicity introduces exploitable flaws and reduces its security:

Bernstein et al. have proposed a new permutation, Gimli, which aims to provide simple and performant implementations on a wide variety of platforms. One of the tricks used to make Gimli performant is that it processes data mostly in 96-bit columns, only occasionally swapping 32-bit words between them. Here we show that this trick is dangerous by presenting a distinguisher for reduced-round Gimli.

https://eprint.iacr.org/2017/743

bugfix-66··on Liblithium: A lightweight and portable cryptography library
Published by Tesla?

It's unwise to use cryptographic code written by engineers working 72 hour weeks at an "extremely hardcore" company.

Here is the Gimli spec:

https://gimli.cr.yp.to/spec.html

Here is the attack illustrating weaknesses in the design:

https://eprint.iacr.org/2017/743

Here is a statement from the Gimli team arguing that it is still secure despite the published 22-round attack:

https://gimli.cr.yp.to/statement.html

Finally, Hamburg's "attack" will not be feasible in the foreseeable future, even with quantum computers. Even if the "attack" were extended to the full 24 rounds, it would not contradict any security claims made in the Gimli paper.

Daniel J. Bernstein (djb) is a wizard, but use Gimli at your own risk.

bugfix-66··on A gut-derived hormone suppresses sugar appetite/regulates food choice Drosophila
It's easy to find studies connecting metformin to weight loss and loss of appetite. I'll leave that to you, just use Google and you'll be swamped with evidence.

You say you've never heard of metformin affecting food palatability and taste? Did you search the web at all? Just use Google if you want anecdotal examples. For example:

https://forum.diabetes.org.uk/boards/threads/loss-of-appetit...

I joined as after 18 months on metformin, my appetite and enjoyment of food is constantly declining. I’ve lost about 10 kg over that time, which is not a problem. But I’ve lost my appetite and, as a keen cook and someone who has always enjoyed good food, I no longer look forward to meals and get little pleasure from food.

or

https://www.diabetes.co.uk/forum/threads/anyone-experience-l...

Metformin changed the taste of food slowly during the time I took it. It finally got to the point where all vegetables tasted like burnt plastic. This meant that I didn't want to eat them.

And so on. Now you've heard of it! All it took was a web search.

bugfix-66··on A gut-derived hormone suppresses sugar appetite/regulates food choice Drosophila
Here's a question to consider: How much worse would the situation be if they weren't on metformin?
bugfix-66··on A gut-derived hormone suppresses sugar appetite/regulates food choice Drosophila
Yes, I see three responses along these lines, already. Some people don't lose weight. Some people's appetite isn't affected. Some people retain their taste for sweets. And so on.

But "misleading and a bit dangerous"? Really?

Readers can find a summary of metformin's typical effects on Wikipedia, here: https://en.m.wikipedia.org/wiki/Metformin

YMMV: "your mileage may vary"

bugfix-66··on A gut-derived hormone suppresses sugar appetite/regulates food choice Drosophila
We're talking about a particular drug here (metformin) not just "anything".

I'm saying it's likely your doctor will be willing to prescribe METFORMIN (that drug, in particular) for off-label use if you ask.

bugfix-66··on A gut-derived hormone suppresses sugar appetite/regulates food choice Drosophila
Thanks for the anecdote. Biological variation, we're all different!
bugfix-66··on A gut-derived hormone suppresses sugar appetite/regulates food choice Drosophila
Metformin is well-understood, old, safe, and has various health benefits.

Surprisingly, metformin seems to be almost a pure win, even for healthy people: https://www.health.harvard.edu/blog/is-metformin-a-wonder-dr...

In contrast, GIP analogues like semaglutaide present real risks and are less well understood. For some people, with serious health problems, GIP analogues make sense. But generally you don't want to be taking them if you're healthy.

bugfix-66··on A gut-derived hormone suppresses sugar appetite/regulates food choice Drosophila
Just ask your doctor for it. Say: "Please prescribe me Metformin, 2 grams daily."

If you're overweight, tell your doctor you want help with your appetite. Otherwise, say you want metformin for its cancer prevention and anti-aging effects.

Metformin is safe and it almost universally improves health and well-being.

Your doctor knows this, and she'll gladly prescribe it.

bugfix-66··on A gut-derived hormone suppresses sugar appetite/regulates food choice Drosophila
Many foods you used to like (e.g., sweets) will be nauseating.

Other foods remain delicious. For example, eggs and cheese and meat.

But basically, your interest in food will be drastically reduced, and you will eat just enough.

This is an important part of metformin's beneficial effect on lifespan and health.

bugfix-66··on A gut-derived hormone suppresses sugar appetite/regulates food choice Drosophila
We have an old, safe, cheap drug for humans already: Metformin.

Most people can get an off-label metformin prescription for anti-aging or appetite suppression.

Your interest in food will be reduced to the point you have trouble keeping weight on.

Sugar will be repulsive to you. Sweet food tastes "sickly sweet", nauseating.

Metformin also interferes with the absorption of carbohydrates in your gut.

bugfix-66··on DeviantArt upsets artists with its new AI art generator, DreamUp
Are you foolishly suggesting that Sir Isaac Newton was just aggregating and interpolating others' work?

Like a feed-forward chain of matrix multiplications, trained to predict its training data?

No, of course you weren't. That would be FUCKING RIDICULOUS.

← PreviousPage 2 of 7Next →