HNHacker News
TopNewBestAskShowJobs

AlexeyBrin

11,729 karma · joined January 25, 2013

submissionscomments
AlexeyBrin··on Tiny Basic for Arduino
Nothing wrong with implementing an interpreter in another interpreter, this is actually a classic CS rite of passage.

This TinyBASIC however, is using Python only during the build phase, the actual interpreter code is in C and what runs on the Arduino is a binary.

AlexeyBrin··on Practical Compiler Construction – Nils M Holm
These two are good books, I worked through "Writing an Interpreter in Go" and I liked the approach.

Another really good book is "Crafting Interpreters".

AlexeyBrin··on Practical Compiler Construction – Nils M Holm
Third edition targeting x64 Linux.
AlexeyBrin··on Teenager rescued from B.C. 'Widowmaker' after getting stranded using Claude
Original title (too long for HN): Teenager rescued from B.C.’s ‘Widowmaker’ after getting stranded using AI instructions.
AlexeyBrin··on US killer's sentence quashed because of AI video of victim shown in court
The video was aired before the sentence was given if I understood correctly, so one could argue the judge may have been influenced one way or the other by the video.
AlexeyBrin··on US killer's sentence quashed because of AI video of victim shown in court
The issue with presenting a fictional video is that it can influence in a way or another the final decision and it can also create a precedent.

If someone wants to watch fiction, it can do it in a more appropriate place and not in a court of law.

AlexeyBrin··on US killer's sentence quashed because of AI video of victim shown in court
I doesn't matter what the AI model said, it was not real. The "victim" was dead and it could not forgive anyone. This "testimony" should not have been allowed in court.
AlexeyBrin··on Modern Object Pascal Introduction for Programmers
> Bigger problem is that they teach the fundamentals with the abandonware that is turbo pascal instead of using something like the modern Free Pascal Compiler. Which means knowledge of what is possible outside curricula is limited.

FreePascal can compile TP programs with no changes except for the MS-DOS graphics. A student can swap FP for TP and the code will keep running. But yes, I would switch to FP from the start if I were in charge.

AlexeyBrin··on Microsoft exec called AI scraping 'the largest theft of labor in human history'
You assume there will still be free elections and democracy. There is also the possibility that the form of government will change into something else.
AlexeyBrin··on Dell's Response to the MacBook Neo
On Linux you have full control, you can disable swapping if you want to preserve your disk. You can also use a less heavy UI manager and further reduce memory usage. You have, in theory, more options to control what runs on the hardware than on a Mac.
AlexeyBrin··on How AST-grep Rewrote Tree-sitter in Rust and Made It 30% Faster
Reading the article is like climbing a load-bearing wall to quote their last phrase.
AlexeyBrin··on No-Look Coding and the Five Stages of Grief
I can bet in a few months we will see a book from Uncle Bob Martin about coding without reading the code or something about how to increase your productivity in the age of AI.
AlexeyBrin··on LLM Usage in Debian: Three Proposals
> I wonder how long software projects will even be able to ban LLM use in an age where exploits are found by LLMs.

You can use an LLM to scan your human written code for exploits and patch the relevant ones yourself without any LLM code generation. An LLM is a tool, you can chose how you use it.

AlexeyBrin··on teachers decry plan for humanoid robot in New York high school
Sounds like an episode from Black Mirror. How can this complement teacher's work ?
AlexeyBrin··on Software rendering in 500 lines of bare C++
You can replace the tga with bmp which is natively supported by Windows and not difficult to implement (if you prefer to use a C library look for stb libs).
AlexeyBrin··on Software rendering in 500 lines of bare C++
Gustavo's lectures are great! I work through his Compiler lectures now and I bought the 3D renderer course too.
AlexeyBrin··on OpenAI and Anthropic unite against open-weight AI risks to their bottom line
There is no HN as a thinking entity, there are individual users each with his own mind.
AlexeyBrin··on OpenAI and Anthropic unite against open-weight AI risks to their bottom line
You can probably simulate (in theory) the creation and destruction of neural connections the same way we simulate "wires" between elements in an FPGA.
AlexeyBrin··on OpenAI and Anthropic unite against open-weight AI risks to their bottom line
Probably Douglas Adams The Hitchhiker’s Guide to the Galaxy the book or the screenplay for the movie with the same name.
AlexeyBrin··on How I Do My Computing
He does not use AI. I saw a recent interview with him in which he talked a bit about gen AI.
AlexeyBrin··on One probable outcome of an open-weight-model-dominant world is full AI communism
This is in the same vein as "Linux is a cancer" from years ago.
AlexeyBrin··on Understanding the Odin programming language
I have no connection with the book author. Also, people post all the time links to paid sources on HN (like books, software or pay for services).
AlexeyBrin··on So you want to learn physics (second edition, 2021)
https://www.susanrigetti.com/math
AlexeyBrin··on Show HN: Learn by rebuilding Redis, Git, a database from scratch
First impression - looks great. Congrats.

I have couple of questions:

* I didn't see any AI mention, was it entirely built by humans without AI ?

* Were will the tests run ? Your servers or the user machines ? If on your servers, how do you plan to cover the costs if you don't charge for the service ?

* Will you accept contrbutions to the teaching material? How can other people contribute to the teaching material ? What is the AI policy for contributors ?

AlexeyBrin··on A road to Lisp: Why Lisp
Now, it looks fine to me too. I tested it in Chrome,Firefox, Safari on macOS and on Safari on an iPad yesterday when I wrote my comment and in all cases there were black lines all over the the place. The author corrected the problem, see https://news.ycombinator.com/item?id=48855382
AlexeyBrin··on Building a real-time AI tutor for 5-year-olds
This sounds like a terrible idea. 5 years olds need human interaction with a human tutor or with other children.
AlexeyBrin··on Maxwell's Equations Were Discovered [video]
The original title is much better How Maxwell's Equations Were Discovered. As it is now Maxwell's Equations Were Discovered it sounds like they were just discovered or someone rediscovered the equations.
AlexeyBrin··on A road to Lisp: Why Lisp
The website seems to have a bug with syntax highlighting. Pieces of code included in the post text are black, you can still see the actual text if you select it with your mouse. Same bug on Chrome desktop and on Safari on iPad
AlexeyBrin··on Book: RISC-V System-on-Chip Design
Judging by the authors, I'm sure the book will be excellent. Hopefully it will be available through O'Reilly Online, because the price is a bit steep.
AlexeyBrin··on 1,700 free online courses from top universities
Too bad that most Coursera courses are now behind a paywall. First they were free without certification, after a few years they removed the access to quizzes and tests but you could still audit for free. Now, you have to pay.
Page 1 of 25Next →