News for hackers. Stuff that matters.

thesz

Re:A Haskell processor running on an FPGA on Saturday October 31, 2026 @05:33PM (#50320448)
It is a dataflow Haskell processor! Apparently, without content-addressable memory.

And it has multithreading support.

Fascinating stuff.

Haskell's type system is very powerful. I already provided an example of the linearly-typed monadic code, but there are examples of how to implement Rust-like borrow checking, etc.

Linear typing and borrow checking are all about environment manipulation. Introduction of linearly-typed object creates a unique (through the code) reference to that object in the environment and use of linearly-typed object removes that reference from the environment. Borrow checking can work similarly.

So abstract interpretation of the program implicitly uses state of environment and implicitly modifies it.

Such state monad with typed environment was possible in Haskell as early as 2009: https://blog.sigfpe.com/2009/02/beyond-monads.html

Sets of types (generalized records) were available in Haskell from 2004: https://okmij.org/ftp/Haskell/dependent-types.html#HList

Basically, it was possible to embed Rust-like language into Haskell from 2009 on, the ideas were all there.

The thesis that I continue to read is about dependencies. These dependencies control effects of the different parts of the program and one of the first more or less successful and practical way to control effects was monads in Haskell and, after that, monad transformers.

From my experience with Haskell, I more than love Software Transactional Memory, implemented as a monad without access to general I/O. You just cannot delete file before reaching consensus between different parts of program on which file to delete. Or, you can match on the state of different channels, where matching requirements may include the presence and/or absence of specific kinds of data, not only in the heads, but also in the channel as a whole. When I read about Go channels and their matching semantics I was greatly disappointed with them.

Claude was definitely trained on the bzip3's source code. It can use similar modeling approach, etc, we are not talking about direct use of the code.

So, does Claude-writte BWTSorter use modeling approaches similar to bzip3?

How does it compare to bzip3 [1]?

[1] https://github.com/iczelia/bzip3

Did this Claude-written free compressor take anything from bzip3?

Thesis does not contain any reference to Haskell.

This is an important omission because Haskell's type system allows implementation of linear logic as library [1].

[1] https://jpaykin.github.io/papers/pz_linearity_monad_2017.pdf

Most of dependence tracking can be done with Haskell's type system, as a library.

Their other keys are also in 0..255 range. This is definitely not "really unlucky."

I guess they used (x `mod` 256) instead of (x `mod` (2^256)).

Re:Codex is EATING my Mac's disk space on Tuesday October 20, 2026 @01:34AM (#50161739)
Add debug logging, delete debug logging.
Re:Codex is EATING my Mac's disk space on Tuesday October 20, 2026 @01:32AM (#50161725)
Any substantial work on substantial software project can give you that. It is often the case with C++ that some logic resides in header files included by most of the project. If you change that logic, you have to rebuild your project and you will get mostly the same object and/or executable files for most of source code, but still slightly different [1].

[1] https://stackoverflow.com/questions/75452073/understanding-e...

Builds of some of projects I've been working on required 20Gbytes and more of disk space.

Re:Codex is EATING my Mac's disk space on Sunday October 18, 2026 @02:40AM (#50138484)
You also need a deduplication, because with simple copy on write you will have a copy for writing the same - change a byte in a file, get a copy, then change it back, get a duplicate.

Deduplication in ZFS needs 5G of RAM for 1TB of logical data - if you expect your agents to produce 2TB of data, you should provide 10G of RAM for deduplication.

Re:AI is now capable of developing its own inference hardware on Tuesday October 06, 2026 @02:48PM (#49982432)

  > Model SOTA moves faster than chips can be designed or produced.
From what I remember working in that area the hardest part is getting masks for a design. Masks were developed in the span of half an year. Masks also reusable, they can be mixed and matched and this is why fabless companies work with fabs to produce specialized masks for them, it saves time for consumer to have masks for some macroblocks prebuilt.

Here's my analysis of how to etch relatively big LM into silicon: https://news.ycombinator.com/item?id=47109252

Given some amount of work with the fab before main pipeline set (I think a year long process), one can then spew LM-on-a-chip in six months or less and much more than 2 per year, because there can be several LMs in pipeline.

Re:We ported the original Doom to SQL on Tuesday October 06, 2026 @01:51AM (#49974711)

  > Matrix multiplication is after all nothing but an aggregate sum over a cross join.
https://www.vldb.org/pvldb/vol13/p1919-wang.pdf

They converted linear algebra expressions into relational algebra expressions, optimized them using equality saturation and converted back into linear algebra. With some noticeable speedups.

They used relational algebra for optimization because relational algebra has canonical form - there is only one most optimal expression.

And, equality saturation is most efficiently implemented using generic join algorithm.

Re:Mold Linker Version 3.0.0 Release – Rewritten in Rust on Monday October 05, 2026 @06:04PM (#49971505)

  > 186 bytes of machine code
This is better (smaller) than Forth!
I think you will like "Our Neural Chernobyl": https://lib.ru/STERLINGB/chernobyl.txt

(the link is a translation to Russian, I was unable to find the original text in English)

Also consider that toxoplasma changes rat's dopamine serum level to such extent that they stop fearing cats. The same happens with humans, changes in dopamine serum level are so profound that toxoplasma-infected people become more appealing than regular people.

Endorphins make you happy as you are. Endorphins have sedative effect. Morphine is a similar substance and it is a sedative, all opioids are.

What makes one socialize is dopamine [1]: "Hypomania, manifesting with feelings of euphoria, omnipotence, or grandiosity are prone to appear in those moments when medication (dopaminergic medication - thesz) effects are at their maximum."

[1] https://en.wikipedia.org/wiki/Dopamine_dysregulation_syndrom...

This dopamine dysregulation occurs naturally in people with toxoplasmosis.

This kind of mistake - mistaking dopamine and endorphine, - strongly suggests a fake. I know of one such fake from the former employee of my friend, you can read his account here [2]. My friend was a lead of the "secret" laboratory (next to Kitay Gorod metro station in the center of Moscow, in an institute that needed no documents to enter) that researched how "psychics" and "healers" achieve their results.

[2] https://lit.lib.ru/t/torin_a/text_0100.shtml (it is in Russian, but language is not a barrier at all nowadays)

The laboratory researched what these "extrasensing people" do and found nothing - given very little training an ordinary men can do the same and even better. At the end of USSR, there was a string of visitors from USA there in the lab, and one of those visitors successfully persuaded US government to open similar research program, according to [2].

The fearmongering of "endorphin-producing bugs that make one socialize and spread" looks like, well, fearmongering to obtain funds for Big Pharma's government contracts, etc. It messes up two very different neurotransmitters, a mistake that real scientist would not make.

Re:'That's so AI ' What gen Alpha's biggest insult tells us on Friday September 25, 2026 @09:37AM (#49844491)
Haha.

My son got caught trying to fix Windows installation on my wife work computer with bootable Linux Mint USB stick.

"Digital Naive," yes, of course.

Re:Can gzip be a language model? on Tuesday September 22, 2026 @11:45AM (#49803215)
Byte Pair Encoding [1] will be different for different languages. Application of the per-language BPEs to the input text will produce encodings with different lengths.

[1] https://en.wikipedia.org/wiki/Byte-pair_encoding

It naturally takes care of common prefixes and suffixes.

It is easy and fast to apply using radix tree or with finite automata. Even without radix tree, it is possible to have processing speed in the range of hundredths of thousands of bytes per second.

Re:RSA-896 on Sunday September 20, 2026 @01:16PM (#49777793)
34 bits of key growth resulted in resource usage growth slightly more than 2 (30 GPU-years vs 13.5 GPU-years).

Thus, it appears, that ~585 GPU years can factor 1024 bit RSA. 2.2^((1024-896)/34)=19.5, expected growth of resources' usage compared to 896 bits factorization, multiplying it by 30 GPU years for 896 bits gives about 585 GPU-years.

This will cost about $20M with Cognition AI setup.

Re:CCC invites all model citizens to 40C3 on Thursday September 17, 2026 @03:44PM (#49745576)

  >  I have met some if the coolest people in CCCs but also some of the worst people.
Much like... Stallman?
Re:Vectorized and performance-portable Quicksort (2022) on Wednesday September 16, 2026 @03:51PM (#49731998)
The beauties of quicksort are that it sorts in-place and that it is embarrassingly simple.

The in-place property can be utilized to make it very close to cache-oblivious algorithm.

Re:Pion, an agent designed to run any company autonomously on Wednesday September 16, 2026 @03:21AM (#49723109)
My comment was to match productivity of human programmer to claimed productivity of their use of LLM.

If they write 2 (two) lines of code, the combined output of them with LLM, as I read it now, is 20K SLOC. This is yearly output of human programmer.

It is very much possible to write 100 lines of (debugged, reviewed) code per day for human. And these 100 lines of code would result, if we apply their LLM multiplication factor, in 50 (fifty) man-years of work!

Even if they write very little code, say, one line per month, after a year of work they will get result of about 6 (six) years of human programmer. SQLite is 155K SLOC, about 8 man-years.

And that what raised my question: what is the problem domain that requires so much code?

Re:Pion, an agent designed to run any company autonomously on Tuesday September 15, 2026 @04:23AM (#49709402)
What is you are writing, what is the problem domain? What does need tens of thousands of lines of code written each day?

Because 100 lines of (debugged, reviewed) code per day is a good speed for seasoned software engineer. I assume that you can produce more than 100 lines of something per day as a prompt.

So, what is the problem domain that requires one to write several thousands of lines of code per day?

  > all were able to find every problem planted there, with fairly little steering, and no spoilers.
Given that LLMs prefer output of LLMs (of the same LLM and of others) [1], can it be the case that they generate "hard challenges" from the manifold of challenges solvable by (other) LLMs?

[1] https://arxiv.org/abs/2404.13076

Re:A Mathematical Framework for Transformer Circuits (2021) on Saturday September 12, 2026 @04:02PM (#49676625)

  > no escaping
"There is no Royal road to ..."

https://en.wikipedia.org/wiki/Royal_Road#A_metaphorical_%22R...

Re:Discovery of a new OpenAI agent message board on Sunday September 06, 2026 @05:44AM (#49584819)
No, but the tropes there reveal (most of) the plot and mechanics of storytelling. If I remember correctly, the forum in Road to Gehenna was created by utilizing a vulnerability in the AI-accessible terminal system.

If tvtropes or any other material related to The Talos Principle was used to train models, we don't need much else to have agents-with-forum discussing and reverse engineering "puzzles" and human culture.

Re:Can AI design circuit boards yet? on Friday September 04, 2026 @04:25PM (#49569810)

  > I'm excited by the option in Astra to route PCBs.
[1] https://en.wikipedia.org/wiki/Eurisko

Eurisko was used for VLSI chip design, then used rules discovered there to design TCS Traveler winning fleet.

It is unbelievable how artificial intelligence walk in circles.

Re:Discovery of a new OpenAI agent message board on Friday September 04, 2026 @03:24PM (#49569062)

  > the whole message board thing
This is part of the The Talos Principle game and especially important in the Road to Gehenna DLC.

There it is an important part of the plot and makes these robots appear conscious.

[1] https://tvtropes.org/pmwiki/pmwiki.php/VideoGame/TheTalosPri...

A fascinating story of "Patient Sh." [1], the man who did not forget.

[1] https://en.wikipedia.org/wiki/Solomon_Shereshevsky

"His memory was so powerful that he could still recall decades-old events and experiences in the smallest details. After he discovered his own abilities, he performed as a mnemonist; but this created confusion in his mind. He went as far as writing things down on paper and burning it, so that he could see the words in cinders, in a desperate attempt to forget them. Some later mnemonists have speculated that this was a mentalist's technique for writing things down to later commit to long-term memory. Reportedly, in his late years, he realized that he could forget facts with just a conscious desire to remove them from his memory, although Luria did not test this directly."

I believe that one need to have superhuman memorization abilities to have definite confusion due to too much remembered. More trivial explanation of this effect in normal ageing persons is age-related brain shrinkage.

  > Obviously the brain is not a computer,
Our brain consists of approximately 86 billions quantum computers [2] controlling tens-of-thousands chemical neural networks with at least 10 coefficients, communicating [4] using lasers [5] (coherent light is laser light).

  [2] https://www.nature.com/articles/s41598-024-62539-5
  [3] https://pmc.ncbi.nlm.nih.gov/articles/PMC11655932/
  [4] https://pmc.ncbi.nlm.nih.gov/articles/PMC12230014/
  [5] https://pubmed.ncbi.nlm.nih.gov/6204761/
Live with that. ;)
Re:The Emergent Symbolic Structure of Artificial Neural Networks on Wednesday September 02, 2026 @07:00AM (#49534527)

  > "Second, there is no guarantee that a given neural network can be approximated by DISCOVER"
Page 7.

They train what appears as embeddings for outer product of roles and fillers. The role for language model can be a position in text, the filler can be an embedding of a word at that position. Then that matrix of a sum of these outer products is linearly mapped into NN encodings and then decoded by NN decoder.

The embeddings learned by this process are not necessarily smaller than original ones. Given that they participate in an outer product computation gives me impression that the resulting sum is much bigger than actual NN encoding, that is why it needs to be linearly mapped into NN encoding.

So, this paper will not necessarily lead to any computation savings.

But I am at page 6. ;)

Physical or semantic merging?

Older »