skysight-inc/HackerNews huggingface dataset:
> I also dont understand why the second version signals use of the variable any better than the classic version, esp if you declare the variable right ahead of it, but that is the classic "C" style.

Because you have no idea if the variable is used further down in the scope. Compare with something like parsing a csv file with support for quotes:

let rows = [];
let quoteMode = false;
for (char c of csvFile) {
...
}

rows is the end result, quoteMode is state only relevant to the process happening within the for loop. There's nothing past variable names to distinguish their intended use. Whereas:

const rows = parseCsv(csvFile);

makes it totally clear.

The reason something like reduce can make for nicer code is because it lets you do simple operations (probably not parsing a csv lol) inline in a way that makes the code just as clear as a function call would be, without adding a bunch of extra layers of abstraction (meaning more scrolling and flicking between tabs).

Really it's not about the reduce function at all, it's about the "const foo =". Once you see that, you can completely disregard the rest of the line if you've already read it and/or are confident you know what it's doing. It acts as a refresher in a way that a for loop doesn't. After you get past the inital shock of seeing a scary one liner (which get less and less scary as you see them more), it makes the next 20 times you read it much more pleasant.
Substance Painter. Blender's texture painting capabilities are rudimentary at best.
Armies will be like flash mobs. Remain dispersed and conceal intent until absolutely necessary.
Agreed 100%, and some of the "simple" approaches like repetition penalty, can harm output, because for example markdown tables repeat a lot of characters, and if you just blindly apply repeat penalty, it will just stop doing what you've asked for.

My guess is that they have some kind of state-aware sampler, and they know if they are in the table, etc. Because then you can sample in a much better way. Just like with grammars, but grammar itself is probably not enough.

Sampling and tokenization are IMHO the biggest open problems. We have something which kind of works but it's nowhere close to be perfect.
https://news.ycombinator.com/item?id=37553113

https://news.ycombinator.com/item?id=37552394

https://news.ycombinator.com/item?id=37550461

https://news.ycombinator.com/item?id=37550353
Yes: it's bad

https://pubmed.ncbi.nlm.nih.gov/33091697/
A “soft join” between SQL tables for when a correspondence is only implied
Godot needs a whole lot of work to be a visble alternative even for a mid-sized team.
Curious how long this one lasts.
Astonishing and inspirational is the fact that the game has been in development for 15+ years and still is very well architected and designed to the point that it can be ported with such ease.
There are certain jobs that are just always bound to be automated (any work near a bandwagon or a phone), instead I think the bigger issue is how our economic model is so reliant on maximum acceleration of adoption that we never stop and ask if people are fine with the jobs they have, for instance there's a very well known phenomenon in the military where a lot of soldiers don't really wants to climb the ranks because it means it stops being a field job and instead turns into a desk job.

Its funny how 10 years ago the luddities were usually seen as out of touch or just greedy dumb while the CEOs was seen as pioneers.

And now slowly we see people sympathize with the luddities.

What I wonder is will this automation cause yet another labor movement? If so how different will it be?
https://news.ycombinator.com/item?id=37522858
A B-17 once landed at an airfield in Belgium without any crew on board. Just by chance it was pointing in the right direction, with the right amount of lift and drag and thrust.
https://archive.is/yqHrY - https://archive.ph/yqHrY - https://archive.vn/yqHrY - https://archive.md/yqHrY
I _love_ your site!

I have a question about https://wordsandbuttons.online/lexical_differential_highligh.... What does this part mean:

> Ideally, the smaller the lexical difference, the greater the color difference should be.

I am fascinated by different ways to represent code visually.
Japan's culture is 8000 years old. They are f**g amazing at so many things, from pottery to knives to amazing food.

Why shouldn't they be allowed to protect that culture if they want? Why does every country have to standardised down to some global culture that is all the same?

Of course we know the answer, that makes for a great global market and government, but it's amazing how it's the left that's actually advocating for this these days.
Those are not the only alternatives for storage. I think Power-to-gas, https://en.m.wikipedia.org/wiki/Power-to-gas, will be an important part of energy storage. Basically, use excess renewable energy to create hydrogen and methane by means of electrolysis. That's essentially natural gas, which can then be used by conventional natural gas power plants.
We have seriously looked at FoundationDB to replace our SQL-based storage for distributed writes. We decided not to proceed unless we are about to overgrow the existing deploy, a standard leader-follower setup on the off-the-shelf hardware. The limiting factor for the latter would be a number of NMVMe drives we could put into a single machine. It gives us couple dozen Tb of structured data (we don't store blobs in the database) before we have to worry.

fdb is best when your workload is pretty well-defined and will stay such for a decade or so. It is not usually the case for new products which evolve fast. Two most famous installations of fdb are iTunes and Snowflake metadata. When you rewrite petabyte-size database in fdb, you transform continuous SRE/devops opex costs into developers capex investment. It comes with reduced risks for occasional data loss. For me it's mostly a financial decision, not really a technical one.
It’s a bit silly to me that Karp can say that the existence of democracy depends on the United States developing superhuman AI weapons. There are absolutely no guarantees regarding how the government or those with access to such a problem solver will choose to use such a system.

Perhaps Karp should consider the fact that any executive with superhuman AI will no longer need politics either. With no executive action, an attack by a foreign power is exceedingly rare. But the president losing office within 4-8 years is all but guaranteed. A system capable of navigating the complexities of a battlefield could find more action defeating political opponents and crushing all opposition.
Why would your original assumption not be that the Fauna website exists to promote Fauna?
Show HN: Community Detector in Academic Collaboration Network
Computed by https://tinkerpop.apache.org/docs/current/reference/#peerpre... on a huge academic network (4+ million scholars, 19+ million collaboration relationships)
So what if people get the latest. It’s not like the previous device will just magically disappear.

It will get resold and reused.
Why? Same as the US,China literally invaded Vietnam in the recent past, its not like they have ever been on especially good terms. The most likely scenario remains neutrality, but the idea of them joining China in a war seems fanciful given china constantly testing the border and their naval sovereignity.
All this is doing is effectively accepting the website defaults on the hope that those defaults follow the GDPR rules. No thanks.
> France has a huge success story with immigrants as well

Oh boy, I would like to hear the "success story" even much more than I would like to continue discussing other things :)
Alpine is awesome, but as the article says it is terribly badly documented. On my todo list is contributing some better RPi install docs, and a more sensible A/B boot partition process.
> The VACUUM command works by copying the contents of the database into a temporary database file and then overwriting the original with the contents of the temporary file. When overwriting the original, a rollback journal or write-ahead log WAL file is used just as it would be for any other database transaction. This means that when VACUUMing a database, as much as twice the size of the original database file is required in free disk space.

> The VACUUM INTO command works the same way except that it uses the file named on the INTO clause in place of the temporary database and omits the step of copying the vacuumed database back over top of the original database.

Do you use VACUUM (uses a write-ahead log to survive power-off) or VACUUM INTO (as far as I can tell, it doesn't survive power-off during writing, and might corrupt the existing file contents if the filename already exists)?
US military asks for public's help to find F-35 fighter jet
Only if you're eating human meat... cloned from you or your twin.
Building one wall doesn't keep you dry in a house when it rains. You need 4 walls and a roof.

But the Linux ecosystem builds up to things bit by bit. So in this case, Wayland is progress towards a goal where untrusted apps can be run and are limited in what they can do by design. It doesn't matter at the moment, but one day it'll be an important brick in a secure system.
Wouldn't NAT be an existing and well used solution to this problem?
The tool whose main purpose is to build stuff should not demand "understand gradle at least fundamentals so that afterwards you can probable possibly improve times".

Why isn't it fast out of the box? Why does the simple "provide a list of deps, provide a list of paths, build" take so darn long? Because Gradle is a great tool or something?

Don't forget that it's also already at version 8, where each change is mostly incompatible, bizarre and inexplicable breakages between versions, often due to meaningless option renames. Imagine if they spent all that effort on actually making it a great tool.
>bring the mobile security model to the desktop with partially untrusted apps?

That isn't a mobile security model. It's a good and more modern security model. Desktop operating systems are moving this way too but it's harder due to apps not originally being designed for it.
Thanks for clarifying the somewhat messy history of the format!
> There are a lot of things I liked in my youth that I look back fondly on now, but realize they aren't for me as an adult

FWIW for me one of those things is Lord of the Rings. Po-faced and boring in comparison to Harry Potter (and I'm in my 50s)
What do you mean? We are as compliant with WASI as a Wasm runtime can be. We have tests assuring that for each commit on our repo.

As a matter of fact we pass more tests than any runtime created by the BA as reflected here:

https://wasi.fyi/
App using a format specific to their own and unique implementation, that ends up kind of proprietary is perfectly ok.

Using it for a open specification which target is cross implementation compatibility makes the move way more hazardous. Meaning, every implementation has to run on environment targetable and compatible wit sqlite or has to re-implement a compatibility layer on something complex enough that you only reliable definitive source of truth is the very famous sqlite test suite.

It the same reason why Web SQL has being abandoned: if sqlite is the sole api implementor, it takes precedence on any others specs, and you have no control on your standard.

I would be 100% for a specification on how to map open docs files to an relational structure, though, with a well know sqlite-backed implementation.
Please do not, absolutely worst laptop I've ever owned, even if Linux worked perfectly fine and ran better than Windows on it...
Insert joke about they needed Cloudflare to thwart that DDOS attack.
You can make an outdated CPU design with any ISA.
Intel Broadens FPGA Range with New Products Across All Six FPGA Platforms
Graphic designers don't often don't create every little thing that goes into what they do, and often don't do their own illustrations (there are exceptions, but this is usually done by dedicated illustrators).

Exact example I was thinking of: graphic designer does social media post for BigCorp, let's say Christmas themed.
They're going to get an illustration from somewhere, do a bit of photoshop, add some text over the top, and then post it to social media (oversimplified, I know).

Especially for a small shop where they don't have full time illustrators a lot of the illustration work gets outsourced. These days, some of it gets outsourced to Midjourney.
This means that like a regular app, you lose data if the app crashes or there is a power loss.

It's much better to save after each operation in a temporary place (probably in ~/.local/share/application/yourapp, using XDG directories), and when the user clicks save, just copy the file into the desired location. That way, if there is a power loss and you reopen the app, it opens right back where it was doing (losing maybe he last few seconds of changes, but not all unsaved data)
Maven is okay-ish, Gradle is an abomination. Incremental compilation doesn't always work, and the fact that the build tools often spends a magnitude or more time just starting up than actually doing useful work is inexcusable.
Majority of the population doesn't understand the gun laws that exist now. Democrat politicians advocate for laws that currently exist.
I got into Tinycore this summer. Useful complement to the security
philosophy "One OS, one function" which is kinda the thing behind
Qubes, Tails and Whonix we talked about here a few days ago.

It's so light, you can spin up VMs, one for a mail-server, one for a
database, one for a firewall/router, each in a couple of seconds.

Tinycore is itself immutable, so you add a vdisk with a "package" and
some config, mark it read-only, and job done. A single Virsh script
handles the startup and shutdown of "services" - each being a Tinycore
instance. Fun, and robust so far, but not sure if I'd put it into
anyone's production just yet.
Has to be a virtual network right? The throttle was for safety not cheapness.
> I always find it weird that people lament population decline.

> The largest dangers to Japanese society lie in the transition period, where many elderly people will need to be supported by relatively fewer working age people.

You answered your own question.

In a lot of countries the working population pays the pensions, more pensioners and less workers = more stress on the workers. In the long run it's good but it's going to suck ass for a few generations

And that's not even talking about the logistic of taking care of elders, it gets either very expensive or very time consuming, or both. For example in France it costs about $3k a month to have a small room in a shitty retirement house that is already overcrowded and understaffed
Don't trust everything on the internet. At least some plants have ears. [1]

[1] https://en.wikipedia.org/wiki/Ear_(botany)
Have you not noticed the issues Europe is having? And no one is even studying or discussing it, it's too taboo.

The West is in decline, and they're sealing their own fate because they're allowing themselves to be bullied, turning the other cheek out of politeness.
How hard is it to adapt a memory allocator to CHERI?
One reason could be the proliferation of prefix delegation, meaning an ISP now controls the numbering of your internal network, and it keeps constantly changing the net block, so you can never get stable local addressing… so you just keep running dual stack or try to use nat66 with a ULA network as a kludge or something.
"It's simple. I started a charity with $10 million that convinces 1 million middle/low class people to keep their heating off during the winter, meaning my jet is now carbon negative. Sure a few people die each winter, but that's another win for the earth."

This is basically the reality of government leaders jetting in to global climate change conferences.
Hi, this is boats.

1. If you don't read and comment on Rust RFCs, this post is probably not relevant to you.

2. This post is not even a suggestion for Rust to do anything, it's about how if you want to make a certain kind of change, the barrier to do so backward compatibly is very high.

3. A lot of Rust contributors have recently talked about how they think Rust should have linear types (which involves adding a trait like "Leak"). Some of the commentary suggests people don't realize how big of a hurdle there is to doing this. This is a detailed explanation of how difficult it is.

I don't know why my blog posts show up on the front page of Hacker News all the time!
A curated list of cool things related to GitHub Actions
Exactly my question as well. Rarely you can find a country on world map where family values are cherished more. Luckily Japan has none of feminism, pronouns and related stuff.
They can with training. That's exactly what happened when horses became less common
I asked Bard to roast my landing page. And roast it did
OpenRA's Red Alert is Red Alert as it was in player's dreams. The game is just as fun as it once was: fast, fun and limited in scope - but adapted to contemporary connectivity and display resolution.

OpenRA's killer feature is the extremely fast installation of a reliable cross-platform game that anyone can understand in ten minutes, that works in even the most skinny hardware... The perfect combination for an impromptu LAN party, where having fun with friends right now is more important than gaming depth and graphical sophistication.
Thank you! I learned the technique from another indie website along the way.

Another thing I like about the independent, old-school web is that you can view the source code to learn things.

I love the Moments of Joy series on your site, and the Written by human not by AI label!
It's somewhat off topic I know, but is there something like sqlite but tailored for hierachical data? Like a xml document store rather than for relational data like sqlite is.
Turning a 15 years old laptop into a children proof retrogaming station
Boquila trifoliolata appears to mimic surrounding leaves and the mechanism is currently unknown. One (controversial) hypothesis is that it has some sort of vision.

https://en.m.wikipedia.org/wiki/Boquila
I'm actually in court later this month pertaining to some stolen traffic cones. Dismissed my lawyer just yesterday due to a dishonest swagger. I'll be preparing some documents using this after I prototype using a few frameworks. Will keep you posted.
Sure, here is a roast of your landing page:

BetterStacks.com: The landing page that's so bad, it's good.

Where do I start? The design is straight out of the early 2000s, the copy is cringeworthy, and the call to action is non-existent.

But that's what makes it so special. It's like a bad car accident: I can't look away.

Let's break it down:

Design: The design of your landing page is so outdated, it's almost nostalgic. The bright colors, the cheesy fonts, and the stock photos all scream "early 2000s." I'm surprised there's not a blinking neon sign saying "Welcome to the Internet!"
Copy: The copy on your landing page is even worse than the design. It's full of clichés, buzzwords, and empty promises. For example, you claim that your product can "help you achieve your goals faster and easier than ever before." But you never actually explain what your product does or how it works.
Call to action: The call to action on your landing page is non-existent. You never tell visitors what you want them to do, whether it's signing up for a free trial, downloading a white paper, or making a purchase.
Overall, your landing page is a perfect example of everything that's wrong with landing pages. But that's okay. At least it's entertaining.

Here's a suggestion for improvement: Start over. Hire a professional designer and copywriter to create a landing page that is both visually appealing and persuasive. And don't forget to include a clear call to action.

But until then, I'll be back here, laughing at your landing page.
- Why not? https://www.sqlite.org/appfileformat.html

- Its size is less than a megabyte: https://sqlite.org/footprint.html

- 750KB if all features are enabled: https://www.sqlite.org/about.html

- Looks like fair amount of functionality can be left out when compiling sqlite and with options to influence/strip down query planner: https://www.sqlite.org/compile.html

- And "SQLite does not compete with client/server databases. SQLite competes with fopen()": https://www.sqlite.org/whentouse.html

In the end, you don't need a database, but a library that gives you database API and behavior.
Isn’t Upwork severely undercut by tons of people bidding from developing countries?
Don't have technical documentation -- instead have

- design documentation which has a date, and it is understood that it is correct at the time of writing but will age and become less accurate with time

- clear code with comments on the sharp corners
With FDB latency shoots up when a bunch of writers compete to update the same entry, because writers can have to retry many times before the write finally goes through, with a network round-trip each time. Personally I found this much harder to work with than a postgres queue with SKIP LOCKED for example.

There's this however: "QuiCK: A Queuing System in CloudKit": https://www.foundationdb.org/files/QuiCK.pdf. I suspect it really depends on what you expect from a queue, e.g. if you need strict FIFO or priorities, and how much effort you're willing to invest.
When I was a wee one in the 90s (teenager actually :D ) I tried to be interested in programming my Mac. I had the opportunity to learn how to program (Turbo Pascal) in school, and wanted to do something with that on my Mac. I vaguely remember that accessing a Pascal compiler was a bit out of reach. At the time there was MPW and Codewarrior and a ton of documentation in the form of the Macintosh Toolbox (for which I excitedly printed out - a number of Inside Macintosh editions). However, nothing stuck with it. I think all I had an evaluation version of Codewarrior only and I think MPW was a bit hard to come by (and being dated anyway.) I think it would have helped to have a tutorial or something, but I ended up getting very impatient with it and gave up for a few years, until I started with web development with a purchased toolchain (and serving on classic mac :D )

I was lucky to have my computer, but I grew up with a mentality from my parents that they will not buy something that I am only going to probably look at or play with once. With a thick enough price tag on compilers/IDEs, that crushed that interest for awhile. It wasn't only until my brother bought licenses to certain software, it became a bit more available. However, it was eventual access to Free software that changed everything for me. It's hard to put a price to something as valuable as free (in both ways) access to software to make a career out of and it goes well beyond the exchange value of software licenses.

Things have changed a bit and accessing any classic Mac stuff is easier and I have been a little curious again about making some silly classic mac application, if easily possible through emulation. HyperCard, AppleScript, etc. never interested me, but they very much had their purpose.
NAT works well as an ultra simple firewall. All those ancient IoT devices don’t need to accept traffic from arbitrary addresses, but they may need to communicate with the outside world.

Using a firewall is obviously an option, but why give an IP to something you don’t want accessible by the outside world?
When you want to build games for many platforms at once, dealing with platform-specific rendering, sound, and input code just becomes tiring. Having an engine at the base gives you these for free (or at a cost, with Unity).
"37Signals" , i.e. basecamp, Hey, etc. I know HN strips out numbers automatically to remove clickbait articles like "37 signals you need to watch for when buying a SaaS" or whatever, but pretty annoying when it butchers something like this.
You couldn't pay me to live in France, it's a **hole. I know that's a low-effort comment, but it's important for some people to know what opinions others have outside of their "rainbows and butterflies" worldview.