skysight-inc/HackerNews huggingface dataset:
> What are the use cases you Invision?

Not OP, but they said the following in an answer to similar question: https://news.ycombinator.com/item?id=40940707

"The technology is extremely flexibile, off the top of my head:

* Education (Linux, Programming, Security, ...)

* Live docs for arbitrary languages and binary libraries

* Preservation of historical software and games

* Virtualization of legacy Windows enterprise apps.

* Dev environment for Web IDEs

Just a few examples, the list could go on for long"
So true. On HN, 15 mins is the time to expiry.
Below: A time travelling resource monitoring tool (2021)
<<https://news.ycombinator.com/item?id=40734207>>
The 2024 Honda Civic gets 10,000 miles between oil changes, and 30+ mpg, with a 0-60 and quarter mile that's competitive with a 1985 Mustang. Plus a ton more safety features, and without weighing a ton more because of them; it's about the same weight as well.

Hope that clears up why cars are more expensive today.
Yes, the woman who started Ark Invest because it was "God's will"
Web or app,which more suitable for independent development
I am a Flutter developer who is currently working on independent development. I have noticed that many independent development products are either SaaS or Chrome extensions, and there are very few app development projects. Do I need to switch my technology stack? Thank you very much for taking the time to help me.
Yes, we use something similar for debugging lambdas locally. We use Dotnet, and this library:

https://github.com/Kralizek/AWSSecretsManagerConfigurationEx...

Normally Boto uses the current account context to get secrets, but if we run a lambda as a local build, it uses this library to pull secrets from the actual dev AWS account.

This makes it easier to onboard new developers, reduces problems of figuring out what secrets to get for each lambda, etc.

Also if secrets are rotated in dev, local stacks get them automatically.

I am curious to see if this tool is remarkably different.
Fun little fact, seeing this video is the reason Michael Stevens (of VSauce fame) was inspired to start making his own videos.
We're really not talking about separate things. I have a home office, but I keep the door open and have moments of interaction throughout the day.
Although, it still seems like a slightly different type of maze somehow. You could have many different long paths that go all the way out to your moat. Not that this is an illegitimate type of maze or anything, it is just slightly unusual.
Yeah. To get that 12.4c CH32V003 price (for an 8 pin package) you need to spend $6.21 on 50 of them. If you want to replace a 7400 quad 2-input NAND then you'll need to buy the 16 pin package which is 16.3c each for 50 ($8.30 in total)

On Digikey the cheapest I can find SOIC14 7400s is 20c each, but you have to buy 1480 of them to get that. If you want just a few they're $1.60 each, and if you want DIP14 they're $2.

The propagation delay of using a microcontroller to implement a quad NAND gate will be a lot higher than the 7400's 14ns of course. At a wild guess I'd say 200ns or greater. Could be 1us. I don't think more than that. That's still fine for many uses.

For those who don't know, a CH32V003 is a 32 bit RISC-V CPU implementing the RV32EC instruction set (basic integer instructions, 16 registers, 2-byte instructions available for the most common operations, as well as the standard 4-byte instructions, to save 25%-30% program space. It has 2048 bytes of RAM and 16k of flash memory to hold your program. A program to emulate a 7400 would use 0 of the RAM and maybe 100 bytes of the flash (most of it would be init code, run once at power-on).
As the owner of a now-dead Oura Ring, I would agree.

You're paying a lot of money for the form factor, which is undeniably cool, but the drawback is that the battery is basically the size of a toenail clipping.
If you're interested in someone else's take on this: don't get a CISSP, and ISO 27001 is generally something a company gets, not a person.
Actual paper: https://arxiv.org/pdf/2401.03078
Counting is hard, even for humans.

A child will start to speak at around the age of one, but most will be about two before they start to count. And it is even longer (maybe the age of three to four) before they understand cardinality and can reliably follow “simple” instructions like “bring me four blocks”.

And basic arithmetic without counting on their fingers is usually not picked up until they are around six or seven.
Resources will vary depending on what you want to use it for:

- To use as a general computer, downloading the official OS and following the provided instructions to image to a microSD (or USB flash drive for those Pis capable of booting from USB) might be the easiest. Or if you got a kit that comes with a microSD that already contains the OS, or can get one of those cards, would remove the need to create your own. BTW, You may want to try a lighter distro if you have an older Pi (3 or older), or Pi Zero, because the full version can be slow to load on those Raspberries.

Any particular use case that you are interested in? Also, what Raspberry Pi are you using?
Sure, are we going to ignore that more Palestinians has been killed till October last year, even without an official war declaration in Gaza and West Bank? There are more hostages including minors, taken by Israel, before and after the said incident.
A personal music streaming server that works
I grew up next to Fargo and always wondered what it was like to use their product.

Do you have any stories or anecdotes to share?
Music isn't video games or movies, and is experienced differently, so while there are similarities, it's not the same because they aren't same thing.

Locks keep people honest. Unfortunately, software lockpicks have the unfortunate reality of being as easily distributable as the software itself.
Iran is a bucket list country for me. The politics are a disaster, obviously, but it's an amazing, deep culture. The government of Iran is a disaster, but it's a real, functioning country, in ways North Korea isn't.

Ironically, Iran is probably much more dangerous than North Korea is (not least because you apparently basically can't do anything in North Korea), at least for an American. But like, if you want Korean culture, fly to Seoul and rent a car. I don't know how you get Iran's culture without actually going there.
To reduce it by 100% would be to get churn to zero - no churn. So what does 200%even mean?
Show HN: Uniflow - A fast multipurpose workflow engine
Many workflow tools struggle to optimize for both long-term projects and short-term tasks with the necessary responsiveness. Additionally, these tools often come with too many features, complicating customization for specific service needs.

We've developed a workflow engine that prioritizes performance while offering the flexibility of a low-code solution. Our engine is easily customizable to meet diverse service demands. Initially, we focused on nodes tailored for short-term tasks, with plans to expand to support long-term project management.

With our workflow engine, you can seamlessly integrate API gateways and personalized user features into your applications. Currently, we have implemented the workflow execution engine and are gearing up to introduce GUI tools for extensive SaaS orchestration and customizable workflows.

We welcome your questions and suggestions. Try it out and let us know what you think. Thank you for your interest!
Not being rude but 10 years of experience is dependent on what that experience actually entailed. IIRC Steve McConnell in his book "Code Complete" says "You can have 20 years of experience or 1 year's experience repeated 20 times". The inference should be clear.

I have been programming since the early 90's and can assure you there is more knowledge in these sort of books from certain authors than most of the books being published today.

The book brings together a lot of aspects to Programming some of which may seem obvious but still have nuances to think about. It also teaches you advanced ways to think about your design (eg. the "Notations" chapter i mention in another comment) where you make your code simpler and elegant by inventing simple DSLs/VMs for parts of your problem. It is this "holistic" view of programming that i think is so essential to understand.
Empirical Study of Rust-for-Linux: The Success, Dissatisfaction, and Compromise [pdf]
If you've been to South Korea (and I haven't, only have a bunch of friends who have), was there anything fascinating about North Korea that you couldn't have gotten from South Korea and that didn't hinge on how messed up North Korea is? Genuinely curious.
GCC, LLVM, and MSVC++ all support precompiled headers. How often is a unique and minimal set of #includes worth the extra cost?
I've been protesting the loss of starbucks seating in my grocery store by just making some seating out of whatever product is on display at that time. I haven't run into any entrepreneurs yet, but the community is amused.
I remember building a circa 1.0 kernel for Linux on a 386 in the early 90s (would have been around 1995) and it took > 24 hours to compile - I'm sure someone could speed run this today, but that's what I remember :)
> However, a hardware-naive implementation is approximately worthless.

This isn’t true when there is one vendor that’s 90% of the market and 2 maybe 3 generations of hardware to consider. Support A100, H100 and you are supporting most of the current market.
I wish I could have such app to stream music from my NAS. This is very nice though!
Can you give me your prompt that generates passable humans? Even stuff that worked on SD3 generates flesh demons for me in the playground linked in the post.
"homeless" is a larger category of which visible street people are but one subset. others are living in their cars or couch-surfing or what-have-you
It's interesting how no matter how much that we'd all like for technology to be this nice tidy domain of knowledge which doesn't intermingle in any messy way with philosophy or religion - where there is much less exactitude and clear boundaries - alas, this intermingling of morality comes around sooner or later.

Morality/ethics/religion/philosophy can't help but come to bear on any and all technology, once it becomes widespread, systemic and seemingly "too big to fail."
Happy to see it return. Are all the benchmarks back? It would be nice if all those links from Stack Overflow work again.
May as well argue that they can’t really know things because they lack an immortal soul.
Similar tools already available in many distros:

https://github.com/bpftrace/bpftrace/blob/master/tools/sslsn...

https://github.com/iovisor/bcc/blob/master/tools/sslsniff.py

https://embracethered.com/blog/posts/2021/offensive-bpf-snif...

On Ubuntu for example I can just "sudo apt install bpfcc-tools", then run "sudo sslsniff-bpfcc" and see curl TLS traffic right away.
What makes you think these are all derivatives of Katherine? Especially names that start with G or Q.
I know people hate “enterprise”-type software design, but this is a typical case where Dependency Injection would have made the solution trivial without the need for any OS-specific hacks.

And while the article serves as a nice introduction to ptrace(), I think as a solution to the posted problem it's strictly more complicated than just replacing the getrandom() implementation with LD_PRELOAD (which the author also mentions as an option). For reference, that can be done as follows:

% cat getrandom.c

#include <string.h>
#include <sys/types.h>

ssize_t getrandom(void \*buf, size_t buflen, unsigned int flags) {
memset(buf, 0, buflen);
return buflen;
}

% cc getrandom.c -shared -o getrandom.so

% LD_PRELOAD=./getrandom.so python3 -c 'import os; print(os.urandom(8))'
b'\x00\x00\x00\x00\x00\x00\x00\x00'

Note that these solutions work slightly differently: ptrace() intercepts the getrandom() syscall, but LD_PRELOAD replaces the getrandom() implementation in libc.so (which normally invokes the getrandom() syscall on Linux).
> Writing the same data back out should always be possible...

Depends on the implementation: maybe you open a temp file and then mv it into place after you are done writing (for increased atomicity)?

But as I already said, in practice we ignore these externalities because it makes the problem a lot harder for minor improvements — not because this isn't something software can "handle/resolve".
White Coke – The Forerunner to Crystal Pepsi
That's already more work than other operating systems of the late '90s made you do to get a functioning mouse, keyboard, and display.
That's the point of STRICT isn't it? 2 of the 3 types in your SQL statement aren't valid sqlite data types.
There are a bunch of free guides available at: https://learn.littlebirdelectronics.com.au/categories/raspbe...
Toit is a modern high-level language designed specifically for microcontrollers
If anyone wants to port this over to ROCm / AMD MI300x, reach out to me: hello@hotaisle.xyz (we won't ever spam you).

Happy to donate the compute time for this work.
Banning GMO crops is fine then, yes?

Did God put corn on the earth?
Do like the arithmetic if mentioned in a nearby comment, but better :) :

Do all four: modern / classic x proven / unproven.

Choose based on your gut feel plus logic plus reader suggestions.

Why live by constraints? ;)
I'm most interested in the robotaxi from Rimac Verne. It looks great and they seem to have better sensors and invested lots of time already into how the infrastructure will look to make 23.5h out of 24h availability with cleaning, charging etc.

They might start operating in Zagreb in 2025.

Also - fanboy here - Mate Rimac is great. From adding an electric drive to a BMW in his garage to CEO of Bugatti is an amazing story. Engineer and tinkerer. Great to have those as CEOs.
The article does reference firestorm cores like those in M series chips. It’s also an obvious comparison, because the Oryon is the only other desktop class ARM chip not designed by ARM the company. This chip is what Microsoft will try to use to compete with M series chips of which the latest is the M4. Seems like the obvious competition
...and one day, a younger generation is going to say "enough" because they'll have no other choice. I'm not sure what they'll do, but it probably wont involve respecting the abstractions that we've been basing our retirement savings on.
A CV created with plain boring LaTeX is perfect for the right audience: people who can identify a LaTeX document at first sight.
So what’s the most data we can put on a floppy now?
Even if there is no future, I have been coding for 40+ years and still love it. Kids might still love it too.

One of my proudest achievements was finding out an algorithm for Tower of Hanoi as a 10 year old (BASIC/Amstrad CPC).
The code has a comment which seems to hint that Tri Dao was working on FA3 as early as April 2022, the month after Hopper/H100 was announced. I find it mildly curious that over 2 years has elapsed before the code was released today. Perhaps it’s because now there’s better solutions in the pipeline?

Tri’s publication history has been leaning toward SSM and Mamba style architectures recently. Unlike Flash Attention which has quadratic time complexity wrt sequence length, these latest algorithms are subquadratic. Thus they do much less computation, instead of just doing it more efficiently a la Flash Attention.

Dao and Gu published a really long paper this year which demonstrated (among other things) how Mamba/SSM can be formulated such that it’s amenable to acceleration using the same hardware primitives that Transformers benefit from.
Any sufficiently advanced tagging system turns into dynamic typing for databases.
They are connected.
More shops (including coffee shops) compete for the relatively well-off public walking around Manhattan, so they compete by agreeing to a higher rent, too. If you can't afford $50 / sq.ft., a few other bidders may.
For anyone wondering, the Voice of Korea broadcasts daily on shortwave Worldwide and can be received even inside a house, given your WiFi and Led lights do not produce excessive interference.

For frequencies https://shortwavedb.org/cgi-bin/shortwave.cgi? and search for Country North Korea
If a ban is unconstitutional, what about a $100 million per liter tax?
Ref: https://www.tomshardware.com/news/jim-keller-shares-zen5-per...

> The predictions put Tenstorrent's upcoming CPU core comfortably ahead of Intel's Sapphire Rapids (7.45 points), Nvidia's Grace (7.44 points), and AMD's Zen 4 (6.80 points). Yet, AMD's Zen 5 is projected to hit 8.84 points, making it the absolute integer performance champion in 2024 – 2025.

I absolutely do not believe it. Until independent reviewers can test the new Ascalon processor, these numbers are just fantasy.
They mention golang, which uses static binaries, meaning you can't LD_PRELOAD it.
It’s like that asinine auto engine start-stop feature in some cars. Soon there will be a whole host of buttons you have to press every time you start your car just to drive normally.
Maybe they just found it hard to draw a branching labyrinth? It’s easy for us with Wikipedia and all, but if you’d potentially never seen a branching labyrinth then a non-branching labyrinth is a lot easier to draw.

It’s especially hard for modern people to conceive of a world before the printing press where information wasn’t easy accessible.
Contrary to some of the sibling responses, my experience with pgvector specifically (with hundreds of millions or billions of vectors) is that the workload is quite different from your typical web-app workload, enough so that you really want them on separate databases. For example, you have to be really careful about how vacuum/autovacuum interacts with pgvector’s HNSW indices if you’re frequently updating data; you have to be aware that the tables and indices are huge and take up a ton of memory, which can have knock-on performance implications for other systems; etc.
I went in 2014. I was told Marlboro cigs. For a country that hates the US officially everyone loves those Marlboros.
Building outward causes many serious harms.
Ask HN: Why was Oregon Trail popular?
I am too old to have experienced Oregon Trail as a student, but my children played it in class in the 2010s. Offhand it seems like it wouldn’t be nearly entertaining enough to interest kids, but I’m thinking that maybe it was simply a break from routine history class. My adult children still remember what characters they played so apparently there is also something compelling about the story that I can’t quite understand. Do you have any thoughts as to why it was ubiquitous in American schools, at least for a decade or so? Bonus points for observations on whether you thought it actually further to your knowledge of history.
If you mean the shell of a floppy you can fit about 50 microsd cards in there with 1.5TB each.
How Slow Are C++ Exceptions?
That helps reduce the cost of parsing the headers but doesn't eliminate the issue. Changing a header triggers a rebuild of everything that includes it. If the header is ubiquitous, nearly everything gets rebuilt.

We want to reduce the set of rebuilt files to a minimum. That means separate headers so that files that use A don't need to be recompiled because B changed and A and B are defined in the same header.

Taking this logic to the extreme would lead to one file per type or function. I've read a lot of code that's structured this way and it works well. Editing lots of small files is a little annoying though. In the end it's a tradeoff.
And of course the enclosures have entered a race to the bottom, such that they're just as disposable as they always were. Which sucks as the marketing remains about the longevity. So now ppl complain about the technology, not the implementation.
Cats! It's a stroke of genius in changing the atmosphere.

A small coworking space closest to me is pretty informal, has tables, not desks, but you should bring your own coffee. If they had a cat, it would definitely be an extra attraction.
No I mean spinning rust on plastic.
Wait, aren't third places public places? Like, squares or parks? I thought commercial establishments were second places.
As an aside, Microsoft hired Carter to design a high-quality serif typeface that was easy to render on under-powered PCs. When you're designing type, having a standard set of words you can use to compare revisions is important; for this task, they made up a tabloid headline "Alien Heads Found in Georgia," and that's where the typeface "Georgia" comes from!

(When I was in design school, I heard that it was "Pickup Truck of Severed Heads Found in Georgia" but I haven't found a single citation that supports it. I imagine the person that told me was mistaken.)
HN search can find you lots of threads, one is https://news.ycombinator.com/item?id=27871196
This is utterly insane:

import os
os.urandom = lambda n: b'\x00' * n
import random
random.randint = lambda a, b: a

I love it!
A Guide to Python's Weak References Using Weakref Module
I bought the Stevens’ book sometime in the 90’s. I believe I still have it, but I haven’t opened it up in years or maybe even decades at this point, so my recollections might be a bit off.

The book predates important developments like epoll/kqueue, so is it really a good recommendation today? Are there more modern alternatives?
You're the AMD accelerator server company! Such cool work, hope someone takes you up :)
After the famine in 90s both the party and the people realized that the state can't really guarantee any food security so it's mostly taken care of by free market as anywhere else in the world now. Trading goods may not be entirely legal, but is widely accepted.

Check "North Korea Confidential" by Daniel Tudor and James Pearson from 2015.
Saa – Making Time Speak
> where did the icons like BK pick up their own craft?

They invented it and that is also why they are able to express their ideas so clearly. Small groups of smart people at various institutes/companies coming up with ideas, bouncing it off of each other, learning from each other and settling on the essence.

The mathematician Abel is supposed to have said; "It appears to me that if one wishes to make progress in mathematics, one should study the masters and not the pupils." This is true of all domains.
You're right. Turns out I've just been lucky and got 5/5 good results. Every time I try now, I get blob demons as well. The joys of random generation...
Note that "CheerpX enables you to run existing 32-bit x86 native binaries".
For some reason support for wasm64 (in browsers) has been stagnated for years, which is a pity.
>I noticed how much Nim changes the economics of software writing- you can write easily distributable GUI apps just as quickly as web apps, making GUI apps just as cheap.

Why that sounds just too good to be true.