Better HN
topnewbestaskshowjobs
Log inSign up

mau

385 karma · joined Feb 3, 2011 (15y ago) · 117 submissions

Submissions

1.

Nanvix – Lightweight Sandbox(github.com ↗)

1 points · by mau · 1mo ago · discuss

2.

Don't Train the Model, Evolve the Harness(huggingface.co ↗)

4 points · by mau · 4mo ago · discuss

comment 6mo ago · link · parent

the article complains about ux, not capabilities. In this case it is complaining about the defaults.

comment 6mo ago · link · parent

I think humans are still accountable for the code generated by agents.

You are free to switch language but you still need to understand it.

5.

MicroGPT(karpathy.github.io ↗)

2 points · by mau · 9mo ago · discuss

comment 10mo ago · link · parent

German-style strings is a way to store array of strings for columnar dbs. The idea is to have an array of metadata. Metadata has a fixed size (16 bytes) The metadata includes the string length and either a pair of pointer + string prefix or the full string for short strings. For some operations the string prefix is enough in many cases avoiding the indirection.

This is different from Pascal strings.

7.

Building a Storage Engine That Outperforms RocksDB(tidesdb.com ↗)

2 points · by mau · 11mo ago · discuss

comment 11mo ago · link · parent

https://archive.is/2025.12.29-103247/https://m.independent.i...

9.

AI will make formal verification go mainstream(martin.kleppmann.com ↗)

6 points · by mau · 11mo ago · 4 comments

comment 1y ago · link · parent

> Your coworkers and QA will thank you for learning LINQ and ditching the imperative methods that plague your Python brain.

This is a very unfortunate joke: Python has list (and generator) comprehension expression for a long time (2.3?) which are similar to LINQ. At some point in the history many languages stole useful expressions from other paradigms.

Let’s joke on BASIC, it always works.

comment 2y ago · link · parent

Arrow supports this string format: https://arrow.apache.org/docs/format/Columnar.html#variable-...

From the article:

> As luck would have it, the Arrow spec was also finally making progress with adding the long anticipated German Style string types to the specification. Which, spoiler alert, is the type we implemented.

12.

Simple, Efficient, and Robust Hash Tables for Join Processing(cedardb.com ↗)

40 points · by mau · 2y ago · 3 comments

13.

GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projection(arxiv.org ↗)

2 points · by mau · 2y ago · discuss

14.

Building a baseline JIT for Lua automatically(sillycross.github.io ↗)

4 points · by mau · 2y ago · discuss

15.

Effective Altruism(en.wikipedia.org ↗)

1 points · by mau · 3y ago · discuss

comment 3y ago · link · parent

Congratulations to the team, Pydantic is an amazing library.

If you find JSON serialization/deserialization a bottleneck, another interesting library (with much less features) for Python is msgspec: https://github.com/jcrist/msgspec

17.

LLM Basics: Embedding Spaces(lesswrong.com ↗)

9 points · by mau · 3y ago · discuss

comment 3y ago · link · parent

I think the GH app is a workaround for this:

> Deploy keys only grant access to a single repository. More complex projects may have many repositories to pull to the same server.

19.

Pex: Python EXecutable(github.com ↗)

3 points · by mau · 3y ago · discuss

comment 3y ago · link · parent

I don't know what were the issues Yelp was facing, I have upgraded several times my past Kafka clusters and really never experienced any issues. Normally the upgrade instructions are documented (e.g. https://kafka.apache.org/31/documentation.html#upgrade) and the regular rolling upgrade comes with no downtimes.

Besides this, operating Kafka never required much effort a part when we needed to re-balance partitions across brokers. Earlier versions of Kafka required to handle it with some external tools to avoid network congestions, but I think this is part of the past now.

On the other hand, Kafka still needs to be used carefully, especially you need to plan topics/partitions/replications/retention but that really depends by the application needs.

comment 3y ago · link · parent

You can write code that runs in both interpreters. Same syntax can have different behavior.

I guess nowadays, as the py2 compatibility is a thing of the past, most programs would crash when using that interpreter version.

22.

How to spot AI-generated text(technologyreview.com ↗)

2 points · by mau · 3y ago · discuss

comment 3y ago · link · parent

One thing that is underestimated is keep the tools version in sync between your app dev dependencies and pre-commit. This also includes plugins for specific tools (for instance flake8). A solution would be to define the hooks in pre-commit to run the tools inside your venv.

About typings: I agree the eco-system is not mature enough, especially for some frameworks such as Django, but the effort is still valuable and in many cases the static analysis provided by mypy is more useful than not using it at all. So I would suggest to try do your best to make it work.

24.

Codecov Is Joining Sentry(about.codecov.io ↗)

3 points · by mau · 3y ago · discuss

25.

Msgspec: A fast and friendly serialization library for Python(github.com ↗)

5 points · by mau · 3y ago · discuss

26.

Cryptomining operation leveraging GitHub Actions(sysdig.com ↗)

1 points · by mau · 3y ago · discuss

27.

Everything new from GitHub Universe 2022(github.blog ↗)

1 points · by mau · 4y ago · discuss

28.

GPT-3 Armed with Python(twitter.com ↗)

1 points · by mau · 4y ago · discuss

29.

Mercure: Real-Time Made Easy(mercure.rocks ↗)

2 points · by mau · 4y ago · discuss

30.

Latency in Asynchronous Python(nullprogram.com ↗)

1 points · by mau · 5y ago · discuss

1234