skysight-inc/HackerNews huggingface dataset:
I was gonna say something along that this would be cool to use to imagine streets built differently. Like with less traffic, cycle lanes, street vendors etc., and then they link to a Dutch website already doing something similar. Very cool.

Things like these could be useful in helping to push decision makers and the public to see new opportunities. Right now when something is being built, it's always a optimistic 3d render on a sunny day with people laughing being shown to sway the public in favor of the project. Letting us "normal people" fight back against certain projects or suggest our own without needing to have professional architects draw a concept could be nice.
You could serialize everything through epoll(): use signalfd() to redirect signals into epoll(), use eventfd() for IPC through epoll(), etc. The kernel programming API is that everything is operated on through a file descriptor, not that everything is a file. You misunderstand.

You can program in another language other than C and avoid using GNU libc, or Musl libc, or any other libc, so avoid using the C API to talk to the kernel. Other languages like Rust and Go provide their own runtimes and avoid using the C runtime for syscalls. Syscalls are written in assembly language, or at least syscall(2) itself is because the kernel API is just marshalling and a context switch. You misunderstand.

Oh, and the fork(2) function on Linux is implemented by a libc using the clone syscall(2). The (2) is the chapter in the manual providing the documentation. You misunderstand.
I presume people bought it for its intended usecase, or just as a novelty. I don't think anyone's buying this for emulation, not when there are friendlier options available for the same price. Once they already have it, though...
> more machinery is necessary to track those dependencies.

Well, is it much more machinery? IIRC doing

void f(size_t n) {
int x[n];
n += 1;
...

does not resize x, so there is no dataflow dependency or rather, x depends on a hidden const variable so no additional dataflow analysis necessary.
In case anyone is wondering:
visualprogramming.net
My grandma had osteoporosis so bad, her hip broke when she sat down in the retirement community bus on a shopping trip. =(
> My experience has been that most companies are pretty good at identifying who the smart people are and giving them more responsibility.

My experience has been the opposite. Regardless of degree or not degree.
So i have two genuine questions:

> The author doesn't give any practical solution to the problem, or things anyone could do to improve their specific or general situation.

Are you implying that nobody should be writing about anything they don't have a practical solution to ?

and

> we call that whining.

who is we ?
https://en.m.wikipedia.org/wiki/The_UNIX-HATERS_Handbook
This one thing https://digitalmars.com/articles/C-biggest-mistake.html would have helped a lot. Imo given 1) GCC and LLVM have had extensions like that for a long time now, 2) most arrive at that/similar destination at some point (b/c it's so useful), and 3) afaik standardization was supposed to standardize current best/popular practice that is widespread but non-standard (and not invent new untried untested stuff), I think that C standardization committee dropped the ball (and kept dropping it for a very long time) as far as C arrays (and matrices and ndarrays etc) go.
Interesting how someone dares to make such a bold public statement? Is this kind of article an example of being smart then?

Meanwhile there are simple rocks in desert that we cannot transport even today with our modern equipment. Was there previous civilization from Earth who more capable or some visitors, who knows, but we are not the most capable ones yet.
I don't actually live in London (there's no way I could afford to), I remote work in the midlands and get the train in to London every couple of weeks. But I do agree that everyone living in London and San Fran for decent wages is part of the problem. It essentially makes those places unaffordable to people who've lived their all their lives, and actually doesn't even make that much sense for tech workers for example, who could work remotely and live anywhere anyway
My problem with all this is that the quality of all the generated text and graphical content is utter garbage. Quantity != quality.
Most people in most countries don't see the value in tax - if you read any forum, people want to pay less tax and have better public services, which isn't really very achievable.

Some people would prefer to follow a US kind of model of cuts to public services and low tax.

Other people (including me) would rather be taxed higher in a more European model and have well-funded public services.

The current UK government seems to have found a fourth option - high taxes and dreadful public services.
While I'd agree these are problems - it's not true to say it's nothing to do with taxation - reducing the tax burden on the rich results in less funds for this sort of social provision.
> If there wasn't for google there would be something else.

I absolutely agree with that, maybe even something better than Google. And hackers would want that regulated and/or shut down as well.

What I'm saying is that the current economy for IT would never exist if it wasn't for the free and unregulated Internet.
Hacker News guidelines don't say something has to be news!
Huh? People have won it _twice_ in a row, repeatedly, and the three times in a row thing nearly happened before (with Heinlein). Like, you could have a rule that the previous year's winner wasn't eligible I suppose, but I'm not sure I particularly see the point.
I admit I don't know enough about kernel development, but from general experience one common example is resource cleanup.

Say, you have several resources that must be cleaned up in certain order. In C, you would just call the appropriate free functions. When abstracting over that with rust, you have to make an annoying choice:

Do what's in C, don't implement automatic Drop, but mark your functions unsafe. You get leanest zero-cost implementation, it is straightforward to understand, but needs additional maintenance care to prevent bugs.

Wrap resources in unsafe structs that have automatic drop (when goes out of scope). IMO this is a terrible choice, because the maintainer suddenly has to know about which structures have this unsafe cleanup going on. Simple scopes suddenly matter, order of items suddenly matter, it's a mess.

Use reference-counting wrappers to track usage and drop the items when they are no longer in use. Most libraries do this, but it's no longer the leanest possible API.

There might be another choice, to achieve both zero-cost execution and correct cleanup using metaprogramming, be it macros, generics, or both. That's exactly what I fear the most.
Why are you not including amex in your point I am wondering?
It's going to be even more infuriating when they try to pull some big ideas out of the bag just before the election, because they've had so long to make meaningful change, but only decide to when their grip on power loosens...
Yeah. And it's a real shame bc even before LLMs got big I was thinking, couple generations down the line and coral would be great for some home automation/edge AI stuff.

Fortunately LLMs and hard work of clever peeps running em on commodity hardware are starting to make this possible anyway.

Because Google Home/Assistant just seems to keep getting dumber and dumber...
Latvia's president proposes regulating use of AI in pre-election campaigns
Not sure if I agree with you on RAID 0, but RAID 1 certainly is, and that's indeed what I'm running.

The 3x20TB btrfs setup I mentioned is configured with RAID1C3 for metadata, and RAID1 for data, and works just fine with even or odd number of drives.

It's funny how people assumed RAID5 when they saw 3 drives.

I switched to this after years of running on ZFS, and for my workloads btrfs is faster on Linux (not to mention the licensing/packaging mess).
I wonder if this is:

AI use in the real world is still early on, and so it is expensive.

OR

Whoa, slashdot (I guess I'm old, perhaps reddit) effect and we can not afford the bandwidth, quick turn it off!

OR

Same as above but with CPU costs.

I am curious to know the limiting factor.
I feel like this post gets posted to HN every few months.

Not as frequently as that, but a bit:

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
Well, this "list mentioned in the original comment" is not an AST or an immediate representation of the program in any reasonable sense just as a symbol table is not. Otherwise, setting the exact values of the text/data/bss size fields in the executable file header's at the end of the compilation would count as the second pass as well which IMO it should not.
They could do like everyone else and add ads or ask for donations
We're working on putting it back online - should be up in a few minutes!
The tax system is broken, the economy is tanking, the people are indifferent. The reality is this has been a slow decay of the British empire for many decades. All the money was being made via colonisation, nothing is made at home. Foreign money now enters to subsume many of the assets the Brits cannot maintain. The UK at this point is a shell corporation. I thought a business minded Rishi was going to do something but he's being held back by his peers and unfortunately it's too far gone to recover. We need a way for the country to make money, we need to be making a profit and that means we need to be investing significantly in producing next generation infrastructure on all levels. We don't do that. Countries in the middle east are reinventing themselves. Look at Qatar moving from pearls to oil and gas and then diversifying those investments further much of which is coming here to the UK. The country has rethink it's approach. Taxes aren't going to get lowered through efficient use of funds. It's going to happen by producing something of value for the rest of the world.
> No, they don't. And they haven't done this for a very long time now.

They do. I've launched several projects in the past years from nothing, with no backlinks, that are ranking high on Google and making good money. Just by adding the pages to their index in the box they provide. That's just the truth, no matter how strongly you feel for your ideology.
Employers treat everyone like bad dates.

93% ghost interviewees, although I would say that the number that interview and have then started to lead on either myself or someone I know before ghosting is probably higher.

87% randomly terminate employees, not based upon performance.

Hopefully they are not surprised when they get treated with contempt, but apparently it's only about 30% on employers who recognise that they treat the workforce badly.
Support for what? If you mean the SDK, then it's up to the godot devs right?
If you liked Pascal and like Python and prioritize the things you mentioned and are considering languages as young/rough as Zig not directly compatible with C but with easy declare-and-go FFIs, then Nim https://nim-lang.org/ may really be the language you are looking for.

While inheritance/objects (and even multi-method dynamic dispatch) do exist in the language, they are not widely relied upon in the stdlib or ecosystem in general. Nim has much more lisp-like metaprogramming / syntax macros than C++ (but its richness of syntax for expressiveness compared to sexp's makes such metaprogramming quite a bit more work). Another way to start to describe it might be a far more terse, less factored Ada with more modern lexical aesthetics.

While I know of no specific Linux kernel module-in-Nim project, since Nim can compile to C, it should require no hand holding|permission-slip for Linux integration, although I'm sure it could be made "nicer", as can anything. (People are also writing a few OS kernels in Nim.)
This is the best, seriously https://wiki.archlinux.org/title/systemd-networkd and it's not specific to Arch, since systemd is in 99% of distros nowadays.
That's not a theory as much as it is an acknowledged fact, and why DJI are banned from many 5-Eyes facilities.
I know of a few tech circles which basically define themselves by not being something else. Every time they talk about themselves they must take a jab at their “competitor”, who likely doesn’t think of them at all. It’s a major turn off. I have no desire to be part of a community founded on hate and who can only define their values in contrast to someone else’s.

I have no idea if this author is representative of the Pulsar community, but I sure hope not.
What rocks are you referencing?

As far as I am aware, modern humanity is by far the most capable civilisation that has ever existed on earth as far as moving rocks is concerned. The only thing beating us right now is glaciers and tectonic activity.
Wow it's great seeing this here again.

The first uni assignment I made for CS101 was a Mandelbrot set renderer. I got it to work, but that's all the merit it had. I didn't have a clue about what I was actually doing.

When I read this post a couple of months later it answered questions I didn't even know I had. Ever since, I try to keep digging if I have that feeling of "There must be more to this.."
I think it's pretty hard to make the claim that people in startup-land aren't prejudiced against women. Just looking at empirical data on fundraising women attract a lot less funding (even weighted for the fact that there are fewer women in the industry). There's also a lot of casual sexism around, assumptions that women aren't technically competent by default, etc.

Also when you say "Asians absolutely killing it" I mean, Asians are a really big group! Some Asians are "absolutely killing it" and others are not.
That is a better comment Fatkam.
But one question, your house is blurred because you (or someone) asked Google to do so?
> Megalopolis are wrong. Stop accruing them!

What makes you say that? In theory they are much more efficient way of living for a given number of people ( assuming you invest appropriately in shared infrastructure ).
One issue I see with this approach (compiler leaking memory) is, for instance, if the requirements change and you need to utilize the compiler as a lib or service.
For example, if the Cake source is used within a web browser compiled with Emscripten, leaking memory with each compilation would lead to a continuous increase in memory usage.

Additionally, compilers often offer the option to compile multiple files. Therefore, we cannot afford to leak memory with each file compilation.

Initially I was planning a global allocator for cake source.
It had a lot of memory leaks that would be solved in the future.

When ownership checks were added it was a perfect candidate for fixing leaks.
(actually I also had this in mind)
According to their benchmark, multi-threaded rendering on a Ryzen 7950X will take about 1.7ms with 4 cores for drawing 1000x polygons with 40 vertices each on a 32x32 px area, which seems like a reasonable approximation for a text character on a high-DPI display. The default font size in JetBrains fits about 2500 characters onto my screen, so I'd expect a 4.25ms frame time, meaning I am capped at 235 FPS with 4 CPU cores running at full speed.

I believe the best way is probably to use Blend2D for rendering glyph bitmaps and then compositing them into the full text on GPU.

Sadly, CPU memory is still plenty slow compared to GPU memory and when you need to copy around 100 MB images (4K RGB float), then that quickly becomes the limiting factor.
Something I find interesting about computer fonts and stuff is how much they remain the same over time, down to the bit. In phylogenetics, the passing of time is measured by the molecular clock - the accumulated mutations that are constantly happening.

In a game I'm reversing right now there's an arial8.tga which struck me as feeling completely timeless, or out-of-time. The game is from the year 2000, but this exact file could have appeared in any game over like a 40 year timespan.
So, the gist seems to be "if you want to win, choose a inferior opponent". First using a somewhat inapproriate sports situation as a teaser (his superior opponents didnt really choose him, they were assigned at random) to later transfer the same idea to investments and general money-making. I am not surprised that a investor outright says that unfairness is the name of the game, what a surprise. But the conflation with sports is just a tad too cold-hearted. I wouldn't want to have a drink with this guy, not even for money.
I’ve been a tax payer in Ireland, Switzerland and the UK. Dividends are treated as income in all three. However, from some superficial googling, it seems these 3 are not a particularly representative sample - without fully researching it, it looks like this approach to dividend income is not the way the majority do it although that doesn’t mean you save money by paying yourself dividends as the tax rates are often higher than income tax rates.
Wasn't expecting to see this on Hacker News! I'm the creator of liftingstones.org - happy to answer any questions about the project!
You're mixing up many entirely different topics in this rant, so it's hard to unpack.

That we use the term "file descriptors" for pointers from userspace to any kernel object, even those that are not files, is unfortunate, but ultimately just a naming quirk. Windows has a better name, "Handle", but the concept is exactly the same.

The OS includes the file system, and file systems include a notion of paths, and relative paths are really useful. So, the OS helps you by automatically resolving relative paths to your current directory, instead of forcing every application to manually keep track of this.

Linux is perhaps the only popular OS whose interface is not defined in C. All syscalls are clearly documented at the assembler level in Linux, and kept backwards compatible. All other popular OSs (Windows, MacOS, FreeBSD) have a C lib you have to dynamically link if you expect compatibility.

Even if signals weren't a thing, you'd still have to worry about processor interrupts. There is no such thing as a purely single-threaded program on any gpCPU released in the last 30+ years.

The variety of calls in Linux to handle various kinds of events is unfortunate. Windows has a slightly cleaner interface, though even there it's not ideal. Hopefully io_uring will subsume all of the current use cases.

The numbers after the syscalls are related to the man pages where they are documented. Not all that relevant.

Sycalls are not functions, they are specific APIs that the kernel provides to userspace, defined at the assembler level (you put this value in this register/stack and jump to this address/invoke this CPU interrupt). It is up to your language to wrap syscalls into functions, which may have an entirely different calling convention. A kernel can't provide APIs as language-specific functions, as Python's calling convention is vastly different from Haskell's.

Fork() has many meanings that are not related to cutlery, used in CS in other places. Fork() is also an extraordinarily terrible interface for process creation for reasons which have nothing to do with its name. I would be happy if one day Linux gets rid of this insanity and adds a CreateProcess syscall that doesn't have to pretend to copy the entire address space of the current process.
What exactly do the purchasers get? If seems pretty muddy to me.
Hi! If you don't mind, I would love to see that Anki deck. I'm a heavy Anki user myself, too. My gmail username is the same as my HN username. Thank you!
I knowingly used the joke phrase as a stand-in for whatever processing one might have an animation for.
A few years back (probably more like a decade now) they closed the London Overground for engineers works over a May Bank Holiday weekend, and opened up the Thames Tunnel for visitors - https://en.wikipedia.org/wiki/Thames_Tunnel - that is to say the original Mark Brunel tunnel from 1843, original a foot passage, but now a part of the London Overground network.

I was lucky enough to attend. It was an interesting experience - from what I recall a lot of the original ornamentation has been lost, but there are some preserved sections.
Direct link to the site: https://dutchcyclinglifestyle.com/
I am well aware.
I dislike shallow dismissals like this.

I can't play an instrument, but I can tell if you play one badly. I can't direct or write a movie, but I can give you my review and tell you if you should watch it.

The idea that someone pointing out problems _has_ to provide a solution or their critical evaluation is worthless is just bonkers.
Considering the size of LLM token contexts now, this has become easily parseable. It would be trivial to set up a GPT that has all historic notes ever, making them easily queryable.

Neat.
Is that 100 Mbps Ethernet vs telephone pin assignment correct? I thought that the inner pairs that are treated like RJ11 would be the telephone lines and the outer pairs would be Ethernet.

Edit: apparently it is right. I hate how intuition based on principles of simplicity and signal integrity are betrayed at every level of classic Ethernet.

https://en.wikipedia.org/wiki/Modular_connector#8P8C
Yeah sure that's all valid points, but will Harry reunite with his family?
It's an open ended question :). It's reasonable to assume both sides are intelligent and will do whatever it takes to win.
Prime95 is my gold standard for CPU and memory testing. Everything from desktops to HPC and clustered filesystems get a 24 hour “blend” of tests. If that passes without any instability or bit flips then we’re ready for production.
Write out a list with all the possible numbers, and her get one of each before buying more. That way you can have better odds. The real issue will be how long it takes to buy them all.
Author could use that queue time and some ML to forecast waiting times trends and create a real time Next-Best-Ride (NBR) model and plot those in the map.
I'd find that useful the next time I'm pushing my 2 kids around that place...
But there's an art to writing great code, no?
Well, C++ is a better, more productive language than C. It's by no means perfect, but having worked with both I do tend to miss C++ every time I touch C.
This is an excellent use case for SimWorkflow (https://www.simworkflow.com). Please give it a try.

Disclaimer: I am the founder of SimWorkflow.
I'm not just talking about the GP comment but the dozens of other comments you've posted to HN so far with this account, many of which have been low-quality.
Ok, but I was responding to the OP claim that dividends were subject to a flat 20% rate. This is not the case - dividend income is added to your earned income for income tax purposes.
> I think that ownership for C is gross

CVEs are gross. How do you prove your code is free from use-after-free and so on?