News for hackers. Stuff that matters.

snicker7

Re:Building a Durable Execution Engine with SQLite on Friday November 21, 2025 @02:46PM (#46008154)
Message queues (e.g. SQS) are inappropriate for tracking long-running tasks/workflows. This is due to the operational requirements such as:

- Checking the status of a task (queued, pending, failed, cancelled, completed) - Cancelling a queued task (or pending task if the execution environment supports it) - Re-prioritizing queued tasks - Searching for tasks based off an attribute (e.g. tag)

You really do need a database for this.

We literally had a major us-east-1 incident on AWS today. Only thing we can do is sit on our butts and wait for it to end so that we can clean up. This happens every few months. I am unimpressed with the the "thousands of engineers" argument.
Re:New Horizons for Julia on Tuesday February 25, 2025 @08:17AM (#43171423)
It may be worthwhile to understand where dynamic typing is helpful since this gets mentioned a lot. Python and other dynamic languages are increasingly reliant on static type checkers.
Re:New Horizons for Julia on Tuesday February 25, 2025 @07:42AM (#43171132)
An interpreter is an optimization barrier relative to native composition.
Imagine being the dev competing game Y and seeing the changelog.
Re:Ask HN: Who is hiring? (February 2025) on Monday February 03, 2025 @09:45PM (#42927049)
Not looking to apply, but can I DM you when the E train is late again?
Re:A new learning experience on MDN on Wednesday December 25, 2024 @09:32PM (#42512744)
The Neopets HTML Guide [1] remains the best beginner’s guide to Web development.

[1] https://www.neopets.com/help/html1.phtml

Re:Conda: A Package Management Disaster? on Friday December 20, 2024 @12:54AM (#42468644)
I believe the problem is the lack of proper dependency indexing at PyPI. The SAT solvers used by poetry or pdm or uv often have to download multiple versions of the same dependencies to find a solution.
Re:Moon on Tuesday December 17, 2024 @07:10PM (#42446852)
Mathematical Methods of Classical Mechanics by Arnold is a good introductory book.
The point is not to spend time frantically fixing code at 3 AM.
Why not dual license with AGPL?
Re:Netflix's Key-Value Data Abstraction Layer on Thursday September 19, 2024 @07:32AM (#41590717)
This API is very similar to DynamoDB, which is basically a hash table of B-trees.

My experience is that this architecture can lead to very chatty applications if you have a rich data model (eg a graph).

Re:Intel Solidifies $3.5B Deal to Make Chips for Military on Saturday September 14, 2024 @12:35PM (#41540854)
“Stuck making obsolete parts” sounds great. Guaranteed revenue without needing to stay competitive.
How does the DX compare against AWS step functions? My experience is that it is very difficult to “unit test” step workflows.
It turns out that DBs were invented to solve hard problems with state management. When people moved away from DBs (at least transactional relational DBs) they had to rediscover all the old problems. Tech is cyclical.
Re:PostgreSQL and UUID as Primary Key on Friday July 05, 2024 @10:43PM (#40887826)
OR if the primary key is exported out of the DB, i.e. for constructing URLs.
Re:Ask HN: Programming Courses for Experienced Coders? on Friday December 29, 2023 @09:36AM (#38805360)
SICP. Lectures are on YouTube.
What’s interesting about this paper is that, with some very generic mathematical assumptions, only Galilean and special relativity are permissible.
I find managing the AWS API Gateway to be too cumbersome. We use a proxy lambda that handles authentication and has routing logic to other lambdas (or SQS | State Machine).
Re:Winsorized Mean on Wednesday October 18, 2023 @02:15PM (#37932513)
Why would I prefer a winsorized mean over a median?
$1B? Imagine if even 1% of that went into LibreOffice funding.
Re:Bad Emacs Defaults on Wednesday October 11, 2023 @11:31AM (#37845780)
YAML was a mistake. Couldn’t count how many issues I and my colleagues encountered due to white space misalignment.
Re:Prefaulting Memory Mapped Arrays in Julia (2020) on Friday September 29, 2023 @01:08AM (#37699499)
Wouldn’t you get similar performance by just loading the file to ramdisk?
Re:Choose Postgres Queue Technology on Tuesday September 26, 2023 @07:15AM (#37657598)
I wonder how this is is actually simpler than an a managed queue, say SQS.
Re:Tabs are objectively better than spaces on Saturday September 23, 2023 @10:42AM (#37623684)
Python is especially bad wrt to accessibility.
Re:XML is better than YAML on Thursday September 21, 2023 @01:42AM (#37593623)
Spec, not library. Otherwise, no chance of having many-lang adoption.

Older »