skysight-inc/HackerNews huggingface dataset:
This has actually been my experience. When I started with Clojure I was writing it badly. I came from NodeJS world. It even took me a week's time just to setup the working environment.

With time you get to understand the power of simplicity. How to break the problem and compose the solutions to achieve your intended result..

That's where the power of Clojure came in for us.
omg, I’ve used vim everyday for more than 15 years and did not know Bram died. RIP
maybe dumb, but what happens when low and high > unitMAX/2

shift left is worse in that case right?
Apart from Kagi are there anyone else using Crystal in production?
The policy gets the street people out of the line of sight of the wealthy and vocal while minimizing their participation in society (ie. their tax burden). In other words it buys them their own peace of mind while letting them keep more for themselves.

An actual effective policy would mean the privileged giving up some of their privile. Keeping one's privilege is a far stronger motivator than ending someone else's suffering or doing good.
Show HN: Jist now searches JSON 17x faster than jq
Hi HN! Happy to share that jist can now search JSON 17x faster than jq for a provided input (string or a file). The major change is using the bleeding edge simdjson parser as the preferred way of parsing and querying the input.

Since simdjson can only work on files up to 4.2GB, jist falls back to its earlier implementation of scanning through input in chunks of 1MB which means it can still query files of virtually infinite size 3x faster than jq ever could while using ~10MB of memory.

The next major feature will be summarizing input JSON into a schema - and it will do this by scanning the whole file to get a complete picture. Stay tuned!

Any feedback (or code review) is much appreciated!
Vim in maintainance mode makes a lot of sense to me. For larger features and refactors it makes more sense to turn to neovim, which has already undergone a lot of modernization work, at times breaking with old vim.
Good for you for being able to use the system to you advantage. Parent has a point though. DEI goals kept moving and changing along with the language in ridiculous direction. Question of the expected future state is very much relevant here. Note that we may disagree on what is acceptable future state.
I’m really into the TV show Downton Abbey, and lately I’ve come to take one of the characters as a role model of mine, and it’s telling that that role model is the Butler. Still a position to aspire to but squarely in the lower classes. I think there’s a balance, but engaging with your own life, whatever that is probably leads to more happiness to continuous aspiration. So many of our billionaires seem miserable. Even more so if you pine for that life to the absence of caring for your own.

It’s interesting how society never really teaches you how to have enough. But, of course, having more doesn’t really change your position. For the most part, unless you’re a top billionaire, relatively speaking there are still so many people above you. If my career took off like a rocket, it actually probably wouldn’t change my position much.

And being wealthy or famous or successful is just a set of activities. Ones that in some way, aren’t that much different from the activities you can pursue as an upper middle class person.

There are so many activities that I can pursue that I enjoy, maybe more than I would enjoy the activities of a billionaire. In my heart I think I know there’s something great in a moderate life. Something filled with friends and family and personal challenges and triumphs. But I’m certainly not immune to the world of comparison we live in.
Small nitpick: you don't need 16GiB, 2^31 bytes is "just" 2GiB. Doesn't contradict your point though.
Too many. I still write /bin/sh syntax (I know it's a symlink to bash now but I mean the old school sh). Anything that requires bash-that-isnt-sh is usually better written in perl or something else.
If whoever did this cared about recycling they would just tell people how to do this.

If the people who bought this cared about recycling rather than having a virtue signaling conversation starter they wouldn’t have bought it.

This is insane, the carbon value of $22 is high enough without the garbage of shipping this crap all over the country and possibly the world.
This is awesome and inspiring. Thanks for the write up.

I like the look and style of the game art and making it interactive, somewhat makes me think of the game 'The last night' (still in development).

Your post made me curious about Janet. Will explore it more and how it can be used for graphics and art.
I came here to say this. I did my own benchmarks on JSON versus msgpack. I shall have to reproduce and publish them one day.

If you have a lot of strings, or lots of objects where the total data in keys is similar to the total data in values, then msgpack doesn't help much.

But when you have arrays of floats (which some systems at my work have a lot of), and if you want to add a simple extension to make msgpack understand e.g. JavaScript's TypedArray family, you can get some very large speedups without much work.
Cultural evolution in genetics is a current topic of research

For example:

https://www.cambridge.org/core/journals/behavioral-and-brain...
It's not possible, because low and high are of type int, which is always lesser than uint_nax/2
Java's arrays use a signed 32-bit int as their length, so the longest they can be is about 2 billion elements.

If your code has arrays over a billion elements, then it will fall over the moment someone inputs slightly larger data
I am planning on writing how we have built the real time collaboration engine with conflict resolution.

I think having a clear example would help in understanding.

Subscribe the newsletter to know when it's live.
Wait a second. Is it really your bug if the fix is to make it work around the hardware's limits?
That still requires you to plan how you use the virtual address space, though. You can't just add more memory pages on the back of your vector if you've already started using those virtual memory locations for other stuff. So you have to know in advance how much space your vector might end up using, and carefully avoid placing anything else there. If you're willing to come up with such an estimate, and if your OS is happy to overcommit memory (and I think Linux is, by default at least), then you can just malloc() all that memory in the first place. With overcommitting no physical page will be used to back your virtual memory block until you really use it.

If your system doesn't do overcommitting, then I guess that with some mmap() trickery (using the appropriate flags) you could do more or less the same thing, reserving the virtual address space that you need and then actually backing with memory as you need.
As a long time (20+ years) vim user the passing of Bram came as a shock.
But it has become clear to me that the project is in safe hands, and I've seen slow but steady progress, continuing the tradition of stability that Bram always safeguarded for 3 decades.

I do try out neovim from time to time, but I don't care for Lua (vimscript is easier to read and less verbose for .vimrc), I don't need an LSP and I found treesitter often buggy and slow.

So I'm sticking with vim, here's to another few decades more, thank you to all maintainers!
Ghostly: Metal alpha blending fixes and color handling improvements
If fact checking doesn't necessarily "always work", then you should not call it fact checking. That is already a great reason why Community Notes are better.

And, don't you see the connection? If the government can tell Facebook to censor content, they can also tell them what facts to publish.

Community Notes is from the community, not from Facebook, so not directly influencable by the government. The government could of course tell Facebook to censor certain Community Notes, but the community would notice. With the fact checkers, which are in the hands of Facebook, the community doesn't know.
No you are paying for the story that you’ll be able to smugly tell your colleagues of how much you care about the environment that you’ve purchased a recycled laptop stand, ignoring the fact that this was likely air shipped from Korea and then delivered by multiple trucks to you.
This is a great explanation for "data as first class citizen"
>"Today, there's a different language with ugly historical baggage that enjoys a strong following, *notably amongst people that don't identify as programmers*. *That language is Python*."

>"Python is the new BASIC because *Python is the language that non-programmers always seem to use*"

>"If even a *Python-hater like me* defaults to using Python, then I think it's pretty clear that Python has taken over the world, just as BASIC once did."

1) As a Python fan, I consider this hate speech.

2) I have yet to encounter a software development kit like Visual Basic that makes it easy to write executable files with a GUI.
Better make any certificate expire after 20ms. Slow internet ? Bad luck. /s
> there are societies where even children are given alcohol (like Italy) and where alcohol related disorders are much less frequent than in societies which strictly limit alcohol to adults.

True. Like in Russia normally a child drinking any alcohol is super bad and unacceptable. Many places don't sell alcohol after certain time of day. And people in russia drink less in total than in many european countries. But they do "risky drinking pattern".

I knew a British guy who can start before noon and drink till night while maintaining sanity. he is strategic, drinks weak ass beer etc. And yes he had a "drinking problem". But a russian with the same problem would get shitfaced and completely out of control by mid afternoon... and I hope you don't meet him on the street, if he doesn't like how you walk he can murder you and not remember it in the morning. I'm not joking.

> However such would be difficult to imagine for smoking.

So I'm not totally sure it's too different. While smoking is bad I think it can be a disorder or associated with a disorder (call it "risky smoking pattern") however it can also be a mostly neutral habit. Less stress, less harm.

Also, a thing I've recently read

> People with Schizophrenia appear to have a high rate of self-medication with nicotine; the therapeutic effect likely occurs through dopamine modulation by nicotinic acetylcholine receptors

https://en.wikipedia.org/wiki/Dopamine_hypothesis_of_schizop...

If schizotypy is a spectrum and many people are somewhere on it then nicotine can make someone feel saner. (Of course smoking is probably not the best way of getting nicotine)
Have they put one in a car yet? Maybe I’m a simple person, but the first thing I’d do if I was CEO of that company would be putting my ultra-powerful motors in a car and heading to the drag strip.
Im very tempted to think the japanese have higher life expectancy because they are on average much shorter than western europeans with similar quality of life.
I am so shocked at how many people use `auto` in C++. I can not think of a worse thing to do to your code in terms of readability and future maintainability. Maybe it is OK if you use an IDE to identify types for you but I still hate it. I am trying to learn a new library right now with light documentation which means reading the code, and between typedefs, auto, and technical debt, it is a tedious exercise to figure out something's type, to go look up its function, to see what type that is returning.
Nobody wants to live next to the poors. Best way to do that is to keep housing expensive.
FoodTV and other influencers also drove a lot of people to kosher salt, which isn’t iodized.
I especially like the little sidenote

>Do you work at xAI or X? I’d love to chat. You can reach me securely on Signal @kylie.01 or via email at kylie@theverge.com.
People run Windows because it comes installed in their machines.

> Windows is rock stable and doesn't break randomly after every upgrade (sans occasional conflicts with third-party software here and there affecting ~0.05% of people).

What? I've lost count of the amount of times that I've had to restore botched Windows updates. It has gotten better lately, but it still happened more times than I've had to deal with update issues on my Linux installation. And I run my Linux near the bleeding edge where, in theory, everything should break all the time, right? Well, it doesn't.

My point stands. People don't choose their OS. It's chosen by the hardware manufacturer, their employers or their requirements.
I'm gonna repeat this because it's extremely important: people don't spend a single second choosing their OS.

If you want to game, you have to use Windows (yes I know about Proton and love it, but mainstream online games require Windows).
If you want to use your computer for work, you need Office. Even with Google Docs, people in my country simply default to the Office suite. Again, not because they choose it, but because it was already chosen for them by the monopoly that is already in place.

Aside from Office, you have all of the other specialized tools like the Adobe suite and many others that force you to use Windows again.

Windows doesn't have anyone competing with them. Their monopoly guarantees they can get away with anything. It's not a competition.

Windows 11 is a great example of this. Nobody asked for it. It's garbage with more ads in it. It wasn't built to improve the system for users, it was built to sell ads and force people to buy new computers. Being the only option allows them to do all of this. Windows simply doesn't need to add, change or remove features because of competitors since there aren't any.
its looks hassle to implement ngl
Also terrible for the environment.

The energy cost of buying this online, the carbon cost behind the $22 + shipping, the actual carbon cost of shipping this crap.

We are truly living in the most idiotic timeline.
Here is Frank Calegari's excellent talk on this work:

https://www.youtube.com/watch?v=znBdPEyDScY
pg_search dev here -- Thanks for mentioning us.

Re: Tantivy. I'm hopeful the community Paul and the Quickwit team have built on top of Tantivy will continue to flourish. I'm sure Datadog will build product(s) with Quickwit, which is built on Tantivy and will contribute to it. Many other companies like ours (ParadeDB) and other databases also integrate it. I can't speak for others, but we'll contribute whenever possible. We're currently working on supporting nested documents in Tantivy, for example, and hoping to upstream this work.

While it's reasonable to be concerned, I'd say this is a win for Quickwit, Tantivy and, of course, the well-deserving team behind them.
I watched this debate between Destiny and a centrist influencer and the centrist influencer was really confident in their perspectives, but also said they mostly used heuristics to learn things. There’s nothing wrong with heuristics, but they played this game where Destiny tried to guess the centrist influencers perspectives on things, and came pretty close to all the opinions. And the influencer admitted their heuristics were really shallow.

One of the weirdest things I’m reckoning with is that objectivity isn’t optimal. That you’ll be most successful based on a relative positioning of beliefs (either towards or against a given common perspective) rather than being “objective” in most areas.

I suspect actually if you want to shape public opinion you do what Twitter and Meta are probably doing by the scenes, put your thumb on the scales around what goes viral. Which is much more terrifying than “fact checking”
Curious to know whether you considered Visual Studio?

I used vim happily for 15 years. When deciding to move on to something else, VSCode won over emacs.
Blame the business people. I tried becoming an expert in `make` probably at least 7 times in a row, was never given time to work with it daily until I fully memorized it.

At one point I simply gave up; you can never build the muscle memory and it becomes a cryptic arcane knowledge you have to relearn from scratch every time you need it. So I moved to simpler tools.

The loss of deep work is not the good programmers' fault. It's the fault of the business people.
You sure about this? Not every single person works in service, hospitality or blue-collar jobs.
I don't wish to throw any fuel onto the fire, but people appear to have very different experiences of DEI.
You might be describing Javascript. Which is far more ubiquitous thna python, and a 100 times the design issue.
How does that interact with cache? Does accessing the ring buffer using the second set of mapped pages ends up using the same cache line, or is it a fresh request to main memory? If it's the latter, I guess that's has good chances of making your circular buffer slower, depending on how big it is, how does your cache work and how much cache pressure you experience. I don't think I know enough about actual caches to say whether that's probable or not.
What algorithm would you suggest to find the year in an arbitrary submission? Of course AI is not a very clearly defined term, more difficult problems certainly exist. I was just thinking of the case the submission contains several dates or none at all and still several hints a human would take into consideration get checked.

Of course some minimal implementation without AI techniques could already handle many cases. My AI suggestion was not death-serious ;)
We started working on it full time around 1.5 years ago.

2 years if you count when I exploring building it in other languages.

Alongside building Vade Studio:
I have been working as a contractor for 2 clients. Developing systems for them
Other two developers have been managing their college curriculum as well.

I am not sure how to do the math around it, but anecdotally I don't think this would be possible in any other environment.
I always found it interesting that SQLite is embedded in almost all popular operating systems and browsers. It has like 90% market share in these spaces, being included in Android, macOS, Windows, Chromium, Firefox, etc. [0]

It's very likely that the browser and operating system you're using to view this page are powered by SQLite.

[0]: https://en.wikipedia.org/wiki/SQLite#Notable_uses
The LLM in the Room
> 2) I have yet to encounter a software development kit like Visual Basic that makes it easy to write executable files with a GUI.

Lazarus with FreePascal is pretty close with its drag and drop way of creating GUIs and it generates executables.
Tbf, Rust is catching up fast to become the same mess (especially in the stdlib).

> it's safer and higher productivity than C or assembly

Debatable - in C and even more so in assembly, the unsafety is at least directly in your face, while in C++ it's cleverly diguised under C++ stdlib interfaces (like dangling std::string_views, all the iterator invalidation scenarios etc... meaning that memory corruption bugs may be much harder to investigate in C++ than in C (or even assembly) - which in turn affects productivty (e.g. what's the point in writing higher level buggy code faster when debugging takes much longer).

> it feels like a matter of time before Rust replaces C/C++

It may replace C++, but C will most likely outlive at least C++, and I wouldn't be surprised if Rust too - even if just as C API wrappers to allow code written in different modern languages to talk to each other ;)
I think a big question is what outcomes do you want. Let’s say a vaccine is dangerous. How many people are you willing to sacrifice on the misinformation. What if it leads to social upheaval? You could ask similar questions about say, class consciousness, immigration etc. true or not, beliefs have consequences.
Linux, FreeBSD seem to have memfd_create().
Mac OS seem to have shm_open() instead.
Actually, the first two have that one as well.
Interesting.

The technique itself is indeed very elegant.
> America is the wealthiest nation on Earth, but its people are mainly poor, and poor Americans are urged to hate themselves. To quote the American humorist Kin Hubbard, 'It ain’t no disgrace to be poor, but it might as well be.' It is in fact a crime for an American to be poor, even though America is a nation of poor. Every other nation has folk traditions of men who were poor but extremely wise and virtuous, and therefore more estimable than anyone with power and gold. No such tales are told by the American poor. They mock themselves and glorify their betters. The meanest eating or drinking establishment, owned by a man who is himself poor, is very likely to have a sign on its wall asking this cruel question: 'if you’re so smart, why ain’t you rich?' There will also be an American flag no larger than a child’s hand – glued to a lollipop stick and flying from the cash register.

> Americans, like human beings everywhere, believe many things that are obviously untrue. Their most destructive untruth is that it is very easy for any American to make money. They will not acknowledge how in fact hard money is to come by, and, therefore, those who have no money blame and blame and blame themselves. This inward blame has been a treasure for the rich and powerful, who have had to do less for their poor, publicly and privately, than any other ruling class since, say Napoleonic times. Many novelties have come from America. The most startling of these, a thing without precedent, is a mass of undignified poor. They do not love one another because they do not love themselves.

~ Kurt Vonnegut, Slaughterhouse-Five
Link to slides for this talk:

https://sqlite.org/talks/howitworks-20240624.pdf
Ah, someone has arrived with matches and kindling for the classic Emacs/Vi flame war.

But I'm pouring water on it right away. I'm glad you found peace with Emacs.
Then why haven't they?

Why is Instagram full of boomer normie slop?

You can say youtube is close, but Shorts aren't their prime source of income.
Your experience is very different from mine. I rarely interviewed white candidates, but they were still more common than Hispanic and Black ones. The majority of the candidates were Asian.
> employing some people who potentially aren't as technically qualified, but bring a different viewpoint to the team

I would be pretty pissed off if I couldn't hire a the best qualified person in favor of someone with a different viewpoint that's not materially relevant to the position.

> My life experience was a bubble that was cut off from a significant portion of the population.

No offense, but nothing is stopping you from expanding your horizons, in this day and age it doesn't require you to live with other kinds of people. Nor is expanding your horizons particularly beneficial for many/most domains we work in. I can speak 3 languages, have lived in the US/Europe, grew up in a poor US black/hispanic neighborhood, etc. Knowing how other people live has never given me any particular insight that was helpful at my software development job.

My highly-skilled coworker (and friend) is black/hispanic, he hates this DEI stuff. He didn't get his job from any DEI initiatives (we've worked together at previous employers, his connections/reputation got him here), but that won't stop people who don't know him from wondering if he's actually competent, or is just here because of some DEI quota.
Duke3D used teleportation to simulate height, for instance in the beginning of the game when you drop down from the rooftop you actually teleport to a other part of the map.
>depends on what you class as a WTF

It might take a while to enumerate them all ;)

https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/
No specific reason. Will be rolling it out soon.