News for hackers. Stuff that matters.

maattdd

Of course.
Re:Fed hikes rates as inflation worries push up bond yields on Thursday September 17, 2026 @10:03AM (#49740925)
How is 10% less than 5% ?
Re:How Europe is killing makers and micro-entrepreneurs on Monday August 24, 2026 @10:14AM (#49420102)
There are a lot of Aldi in France (also Lidl, also Action (Netherlands)...) Not sure of your point.
Re:Qwen3.8-Max: A New Bar for Coding and Cowork on Monday August 03, 2026 @04:58AM (#49153064)
Interesting. My anecdotal experience is that it is.
Re:Qwen3.8-Max: A New Bar for Coding and Cowork on Monday August 03, 2026 @04:50AM (#49153004)
DeepSeek without OpenRouter is wayyyy cheaper
Re:Ask HN: Can Apple Ever Be Disrputed? on Friday July 31, 2026 @04:22AM (#49120448)
You are American aren't you ?
Re:My Steam Machine Is a 50ft HDMI Cable on Friday June 26, 2026 @05:27PM (#48692199)
It does ?
Re:Toshifumi Suzuki, founder of 7/11 Japan, has died on Tuesday May 26, 2026 @04:52AM (#48276979)
> not because pizzerias in Berlin or Warsaw

Well kinda actually. In countries with good culinary, even basic konbini food can be better than more "serious" restaurant in bad culinary countries.

Your conclusion is really a false dichotomy. The square of something very very small (close to zero) is negligeable : thus subortibal hop (Concorde was flying at 18km altitute for example).
Re:PHP will get an AOT compiler from the Swoole team in 2027 on Thursday April 23, 2026 @03:39AM (#47873132)
I don't know much of PHP, but reaching "Rust/Go" performance is not simply because they have AOT compiler, but because the semantic of the language itself allows efficient compilation.

Many attempts has been made for an AOT compiler for Python and Ruby, but they don't reach those performance because of this.

Re:LinkedIn uses 2.4 GB RAM across two tabs on Thursday April 02, 2026 @04:21AM (#47611502)
Again, this is not by definition. This is by deduction.
Re:LinkedIn uses 2.4 GB RAM across two tabs on Monday March 30, 2026 @09:45AM (#47574269)
This is not what "by definition" means.
Re:Bugs Apple Loves on Friday January 23, 2026 @03:13AM (#46729864)
I'm (and millions other people) are using macOS with a classic scroll wheel mouse perfectly fine. Are you sure there is not something messing with the trackpad at the same time ? (this looking erratically random?)
TLDR: DBtune identified and tuned key server parameters that seem to have had a large impact, including random_page_cost and max_wal_size
Re:Claude Code gets native LSP support on Tuesday December 23, 2025 @09:27AM (#46365551)
Zed uses clangd, I don't think clangd support only 90% of C++ (and I don't think it avoid hard work).
export template extern still exists.
Re:A polyglot's guide to multiple-dispatch on Thursday September 11, 2025 @05:00AM (#45209367)
TIL that std::visit supports multiple variants. How new is that ?
Re:Writing your own C++ standard library part 2 on Monday June 02, 2025 @04:17AM (#44156675)
Obviously you can delete than iterate. He means delete while iterating.
Re:Writing your own C++ standard library part 2 on Monday June 02, 2025 @04:13AM (#44156659)
Examples of better design than abseil in a pure C++20 implementation

Show HN: A Discord/Slack bot to watch HN comments

https://newsbutler.xyz/

Some years ago, I discovered a bot called Little Birdie to watch HN comments for keywords and post a link to Slack. Unfortunately, it has disappeared and I've found myself missing this.So this bot is a re-implementation of it, but now also supporting Discord.It's very easy to use: 1. install the bot on your workspace/guild 2. /keywords add rust,hn,foobar (for Discord) ; @newsbutler add...

( Read More... | no comments | on HN )
Re:Knowing CSS is mastery to Front end Development on Sunday March 02, 2025 @05:47PM (#43236085)
Most of CSS is indeed statically typed (property have statically typed valid values). It's not true anymore when you introduce custom properties and IACVT though.
Re:Ask HN: What Are You Working On? (February 2025) on Thursday February 27, 2025 @12:36AM (#43191661)
It is working with both Slack and Discord already.

I was not aware of f5bot, but I got inspired by another bot called Little Birdie which doesn't exist anymore and it's basically just a re-implementation of it.

Re:Ask HN: What Are You Working On? (February 2025) on Monday February 24, 2025 @10:40AM (#43160786)
I've been updating my HN bot (watch comments for keywords and post to Slack/Discord) written in Crystal to use raw SQL instead of unmaintained ORM.

Turns out the whole app needs only ~ 10 SQL requests, and it's way funier to write modern SQL than fighting the ORM.

The new code looks like this :

    db_message = Model.save_new_message!(@conf.db, DbButler::Hn, item, DbState::Processing)
Than I have a Model module with all the interactions with the DB

    def self.save_new_message!(db, butler, external_id, state) : Message
        sql = {{ read_file "./db/save_new_message.sql" }}
        db.query_one(sql, butler.to_s.downcase, external_id, state.to_s.downcase, as: Message)
   end
(thanks to Crystal ability to read a file at compile time - I can write raw SQL in a file with syntax highlithing and maybe typesafe if I connect the DB to the editor)

The land page is not ready, but the bot has been working for me for months https://newsbutler.xyz/

Re:Rust Is Eating JavaScript on Sunday February 16, 2025 @11:14AM (#43069140)
You can avoid this with custom allocator in C++ for example, you don't have to actually do memory work at synchronous time (aka in destructor)
Re:Stats – macOS system monitor in your menu bar on Thursday January 30, 2025 @05:05PM (#42882630)
I switched from iStats to stats like 1 year ago. I found it more responsive (and free). I'm using Vetero for the weather functionality.
It would be interesting to compile the C++ with PGO (it should catch up with JIT)
Re:Enum class improvements for C++17, C++20 and C++23 on Monday August 05, 2024 @10:28AM (#41161679)
Any reader who comment here hopefully has enough knowledge to understand the implied C++.

struct Add {} std::variant<Add, int> Expr;

OR

class Expr {} class Add : Expr {}

Older »