skysight-inc/HackerNews huggingface dataset:
> plus some creative bookkeeping/regulation.

The economic growth measurements are by Western institutions. Considering they're cut off from SWIFT and the most sanctioned and demonized nation on earth, they're actually doing pretty well (remember, they were supposed to completely collapse like a house of cards).

> CSTO¹, EEU², CIS³, etc. are a joke

BRICs combined GDP is larger than the G7, and growing. Sans Russia and China, that's where the future population growth (and economic opportunities) are.

> Canada, Brazil, Australia, Indonesia

Brazil and Indonesia are absolutely up and coming major powers.

> Aging and dying. "Demographic crisis".

While still declining, their demographic situation has largely stabilized. It's better than the rest of Eastern Europe and even better than many Western European countries.

> "Regular", in the sense that the launch rate collapsed by over 80%

In the 1980s it was the USSR. We're talking about just Russia, a much smaller population and economy. And they launched at least 20 large payloads just last year, including a number of military sats.

> Germany, France, Canada, the Netherlands

Yes, you're making my point.

> Their flagship needs a tugboat

An old aircraft carrier is not their "flagship"; NATO ships also age out. Look into Project 22350 and Yasen class subs. Both carry Zircons and could disable a CBG.

> They've built a grand total of 36 "5th-generation" combat aircraft

If you're talking about the Su-57, it only went into serial production this year (2024) and their prototypes already have more air-to-air kills than the F-22 (via the R-37 which out ranges anything in NATO inventory).
Google's Critique: How Google takes the pain out of code reviews
Their mission to keep existing? Because at this point I can't tell what exactly their mission is beyond keeping the system going so that they maintain their position in it.
The C specification mandates that new keywords use _Keyword naming conventions to ensure backwards compatability by not overriding potentially existing identifiers in codebases. That is why the C specification has reserved identifiers that begin with an underscore and either an uppercase letter or another underscore.

Typically, a <stdkeyword.h> header is included that contain macros to provide the lowercased variants. I.E., this is how _Bool was implemented; <stdbool.h> provides the lowercased `bool` variant.
Yeah I honestly wish the book was not labeled "for babies" because I think it would be fun for my 9 year old nephew but it 1) will probably offend a primary school aged child to be called a baby, you know how they are 2) it would be far more educational for the children who actually have a hope of understanding the puzzles if it also assumed some reading ability and therefore contained short explanations.
Google is changing how search results appear for EU citizens
I linked this post because it explains how the lottery works which I thought was more interesting and relevant for HN.
For the scanned documents, I used to compressing them with jbig2 as one of the post-processing steps.

Representing the pages as big images not only takes more space to store/archive, but also increases IO-time for loading the documents.
Same way the algos designed to spot cats in pictures can generate pictures of cats in reverse. Sorta
Another analogy

Would you rather write/read:

DIVIDE X BY 5 GIVING Y

or

y=x/5; / this would be considered "noisy" by C programmers, relative to COBOL

The first is COBOL (designed to make code easier for "normal" people to read. The second is C/Java/Python/Javascript (which looks more like the math that we learn in grade school).

k/APL/J simple moves further in the direction of the algebraic notation you already know. The difference is more operations/algorithms.

When you read the one-character symbols in K as algorithms versus characters, it makes much more sense. In addition, you can read "faster" in k than in other languages, relative to the functionality being expressed.

When I review C/Java/C++, I print out the source code and write the equivalent k code in the margin. The compression ration is typically 10-20X. Doing so speeds up my work significantly when I go back over the reviewed code.
> 4) stores have people hired to catch thieves and their incentive is that they are paid 50 to 100 euros per report (paid by the person caught)

Every once in a while I'm reminded to be grateful I live in North America.
To be fair there are endpoint protection solutions that provide phone (instance) information that can be used to decide if the particular device is secure enough to be allowed on the network.
DuckDB file format is the compressed column oriented equivalent of SQLite files.
Yeah thats my point. A new ev 5 years from now would cost 75% of what a new ev cost today anyway so 2nd hand ev will have a price pressure from new ev.

We are I estimate 7-10 years from when batteries become such small percentage of ev cost to not matter. When you add 10% cost decline for solar electricity every year I think a lot of ice enthusiasts, politicians and car manufacturers haven't realised the hammer that is coming for them.
same HN book list for the past 15 years
Loosing memory is an issue, the question is how to maintain the archive?
I mean, I think it's fairly reasonable to point out that the outlet is dodgy, so that people can watch out for spin.
Show HN: Consensual and Accessible Online Community Spaces [pdf]
Same question, but amending the requirements:

- touchscreen for camera and entertainment system is okay, for anything else - no-go

- not an EV

- no automatic breaking

- automatic gearbox

- SUV

- preferably on the higher end

Is there something satisfying the requirements from Mercedes or Volvo maybe?
7 records for me that relate to two old data breeches - Dropbox and Last FM.
> reads to me as

That was not the intention with that claim. I meant to convey something more minimal: if you after investigation have no strong reason to think either is environmentally worse then let animal harm considerations break the tie.

> suppose I source my wool from sheep that are kept well, but have shorter lifespans. If I'd then switch to cotton, I'd contribute to entire ecosystems being impacted due to water usage.

What does "kept well" mean? If a sheep was really treated well in the sense of it not being subjected to the many harms that 99% of all sheep currently are subjected to and was individually cared for, including appropriate food and veterinary attention, then it would likely live much longer, unless someone kills it while still healthy and with years left to live, which does not sound like "kept well". Also, the water usage comparison depends on what type of cotton production you're comparing to, since there exists recycled cotton and various smaller scale production methods geared to reduce water usage.

As for the climate impact of wool see https://www.vox.com/future-perfect/24008053/wool-marketing-e...
Home Assistant integration for Haier hOn – takedown
Haier issued a takedown on the homeassistant integration modules
I'd blow my brains out if I has to sit through 6 hours of useless meetings a week.

I've found a singular Slack message at the start of the day more than enough for stuff like daily standups or whatever, literally no reason to drag people into a meeting for crap like that.
Apache AVRO [1] is one but it has been largely replaced by Apache Parquet [2] which is a hybrid row/columnar format

[1] https://avro.apache.org/

[2] https://parquet.apache.org/
SQLite is something like that.
Hahaha, everyone here is so 2020 :D

The right answer of course is to ask ChatGPT to build it for you!
Off-topic, but

> I now have one and only one job, which is working on real estate mass appraisal valuation technology for the purposes of accurately and credibly measuring the value of land separately from buildings and improvements. This is the kind of straightforward, steady, stable, boring work that I need to support my family right now. It also conveniently lines up with my niche interests [Georgism and LVT].

Is there a link regarding this? I'd like to know more about this project.
I try to do this and it _seems_ to be working okay. Facebook has not given me a correct/interesting recommendation in ages and google thinks I'm a different age and various other things that are not true when I look at their collected information.
This. When I was a kid my best friend and I made our own Pokemon game by drawing our own Pokemon cards and assigning various nuts (still in shells) to each one. My Charizard was an almond and her Mewtwo was something like a pecan, for example. We created our own arena on cardboard and would "battle" by knocking our nut-Pokemon against each other - the Pokemon that got knocked out of (or overshot) the borders of the arena lost, and eventually the loser of the set would get to pick an opponent's Pokemon (nut and handmade card) to confiscate.

I love video games and went on to work in game dev for more than a decade, but that was still one of the most fun things I've ever played.
MAD = Model Autophagy Disorder

At least AI hasn't reinvented Mutually Assured Destruction!
> Visual C++ has been available for free, for at least 20 years now

The context of this discussion (DJGPP) is from the MS-DOS and Windows 9x era, which was more than 20 years ago.
As a kid I designed a few imaginary CPUs, complete with instruction codes with bit fields for memory and register addresses and so on. Fun, but definitely not with a lot of scientific rigour. Never implemented one though, until relatively recently.
> Understand that you're not going to finish what you start. Do things that are fun. Keep a notebook of ideas. Talk about plans and what you want do.

Do you think of this advice as specific to working with your kid(s) or do you feel it applies (or should apply) more generally? If so, in how far?
Definitely!

I have both the Princeton Companion to Mathematics and Princeton Companion to Applied Mathematics and both are well worth the money. One of the difficulties in studying the breadth of mathematics is that the huge amount of jargon/notation of the different branches/models/tools all seem complex/unrelated and hence a single volume where you can jump back and forth between different views is very much necessary to appreciate the unity of Mathematics. It is also an invaluable aid in understanding new terminologies/techniques that one may come across while studying other subjects. The volumes are truly comprehensive w.r.t. "Modern Mathematics" and should be a part of every educated person's "personal library".
Chat GPT 3.5: https://chat.openai.com/share/9187924c-64ab-4246-a2b0-0c9cea...

Regenerate for more languages solutions
> Nowadays you can sport the same phone for 3-5 years without missing out anything important.

But the non-swappable batteries create a need to buy a new phone anyway.
> YOUR SON DOES NOT WANT TO LEARN TO CODE

Maybe he does, but he doesn't know it yet. Do not force him, but you can show him. That's actually how I got into coding. Like every kid, I wanted to make a game, but progressively, I found that I had more fun coding than actually making the game. In the end, I went in so many tangents I didn't complete my game, but who cares?

Everyone is different. Maybe he just wants to imagine stuff, maybe he really wants to produce something, or maybe he wants to code, or write, or draw, whatever. Maybe that's an opportunity to see what he is really into. For me, it turned out to be code. People, kids and adults alike don't just want to "learn to code", they have a motivation and code is what gets them there. You need a starting point. For adults, it is often making money, but for kids, making a game is probably the most common.
In case you're not joking about public transit and gloves, you can get gloves with pads on the fingertips that allow you to use touch screens. And if your gloves don't have it, there are pads you can stick on or liquids you can apply to make existing gloves touch screen compatible.
Ask HN: I got 99 problems but a flaky test is one?
Hi HN community!

Fellow developer here and I am curious how many developers struggling with flaky tests in terms of keeping the CI/CD pipeline green and not fail intermittently.

- What kind of struggles are you facing today?
- How are you tackling those issues?
- What tools would you like to see to help combat this?

I am not sure how companies handle flaky tests, some people at companies might just shrug their shoulders and retry the pipeline until they pass (that's what I've experienced out in the field), others assign them and investigate? What do you guys do at your company?

I am keen on developing a tool that would help developers track and debug flaky tests by using tracing while running tests which I don't think any tools do in that extent today.
Also utilizing LLM's to pinpoint root cause of failure would be interesting in that context to help fixing flaky tests.
I agree with your example paragraph. I think it is only beneficial for highly motivated senior engineers with families to work remotely. As a junior who doesn't know what I'm doing half of the time and feels demotivated without support, and as a single young person without a family that got cut off from building a community because of COVID, when I have worked mainly remotely I've been severely depressed. Not seeing people or leaving my house for most of the week makes me want to die not work harder.
Nice try but I'm not adding more javascript
Lightweight is an understatement here.

A client's project (with not necessarily technical customers) has had pretty reasonable success using the Dropbox originated library[1] for this, `zxcvbn`[2], on both frontend via js (for "instant" feedback) and on the backend via php (to enforce the requirements when writing password hashes to the database)

1: https://dropbox.tech/security/zxcvbn-realistic-password-stre...

2: https://github.com/dropbox/zxcvbn
Promp is injection of experience how? You pick from artist you like https://midlibrary.io/styles and try to describe what you want on the picture. Are you aware that most artists already work this way - you hire them with an assingment. No client would claim they are authors or that they injected emotion into the work.

Execution is the creative and hard part not thinking out the content of the artwork. Most artworks content is super basic like face of a person. Midjourney will make even the basic prompts look awesome.

I am sorry but you wont experience what artists do by prompting LLMs. We just stole, copied their work and possibly destroyed their lives. Shame.
Funnily enough, I just tried to do this over the weekend and the results were not ... great.

I hit https://unix.stackexchange.com/q/691436/9452 exactly

> need to process to file added to a directory, then remove them. Files can be large (20KiB to 5 GiB) and arrive slowly (via scp or ftp). How can I monitor a path (possibly with a systemd.path unit) and only react when the new file has finished writing?

And as the question details DirectoryNotEmpty is not adequate because zero byte files still being written will trigger it and there's nothing after.

Indeed all the path unit conditions: PathExists=, PathExistsGlob=, PathChanged=, PathModified=, DirectoryNotEmpty= suffers from this.

One could do the an old fashioned while inotifywait -r -e close_write "/foo/bar/" but now you need to think about the script dying and restarting it which of course leads back to systemd (see https://ma.ttias.be/auto-restart-crashed-service-systemd/ for more) and then one asks: why can't systemd do this alone?
Releem Recap 2023: Our Journey of Improving Database Performance
Well, if we start by assuming the bear is perfectly spherical and there is no friction...
Looking Glass is a scratch-like software designed to teach kids to code in a 3D environment

I don’t think it is quite like a video game. It more allows you to make a scene. Perhaps this can help scratch the itch and can let your child be in the drivers seat

https://lookingglass.wustl.edu/

(I also I used to be an HCI research for the team when I was an undergrad)
You can save pages a self-extracting pages to produce compact pages, see [1].

[1] https://gildas-lormeau.github.io/singlefile-updates/version-....
Don’t buy a Jeep wrangler
Absolutely this. As a middle school teacher of many years I feel like I have some knowledge on this subject.
Almost all children want to spend time with an adult. In my classroom the activity we do together doesn’t matter to my students, besides the attention I give them during the activity. For kids, adults are treasure troves of attention, and they want that attention. Give it to them in positive ways and you will see the relationship grow. Don’t worry about whether or not you produce something in the end, it was the relationship that mattered to the child from the get go.
Really only adults, through social conditioning, are worried about producing something. Kids just want to feel important and feel part of a healthy, positive relationship.
Google caused this situation itself. Sites that only wanted to get some clicks always existed. But the scale is due to the modern advertising industry which uses 20% of internet traffic just to serve mostly unwanted ads.
Rhubarb is apparently poisonous to pigs, even though it's fine for humans.

A pig (or AI) throwing up on an input should increase your priors that it may be bad for humans, but it does not prove the matter either way.
Yeah, that's really creators' fault.

/s
Great DevEx is what you get when devs can easily get in and maintain flow state
Sounds excellent! What are the requirements to run this regarding hardware? How much VRAM? Does it work on AMD or Intel Arc?
> Are you seriously saying that Apple providing that as an option is anti-consumer?

I think Apple not providing the other option is anti-consumer. It can be as on the macs, where you have SIP and you can disable it if you so wish, although it takes some effort and is not straightforward. The phone can have 2 modes, a safe mode and an unsafe mode, and it's up to people to choose which mode they want to operate in. So your wife still has the option to have the non-general purpose computer in her pocket, and others can have it as a general purpose computer.
I would also raise the point that actually having relationships with your colleagues and team can make work a lot more meaningful and make you more motivated. It is impossible to do that if you don't meet them. The idea that corporate work can be motivating at all when you exist in a vaccuum in your bedroom is idiotic. Almost no work is ineherently interesting.
Maybe look into Roblox. I don't actually know much/anything about Roblox, but I'm sure I've read about mods/games/whatever being built in it.

Possibly Minecraft too.
Many New Features Approved This Week for Fedora 40
How it is pristine when major part of worldwide shipping has been going through it for more than a century I cannot fathom.
Many happy memories learning to program C on DOS/Windows back in the 90s. This little website (which looks the same as back then) was my go to! :)
I think your workaround is probably the most preferable of the options. I've worked with mutation observers a lot and I wouldn't want to rely on them for anything that didn't have a simpler mechanism to achieve the same thing.

In "regular" frameworks, this problem would be expressed as state that is owned by A, that B's contribute to. Maybe by calling a function passed down to them, or by updating a shared store. It's a big shortcoming that composition of web components is limited to string attributes unless you use some sort of framework to mediate things.
Gym Class VR (YC W22) Is Hiring Lead Applied AI Engineer
Fujitsu agrees to compensate Post Office scandal victims
'No AI Fraud Act' Could Outlaw Parodies, Political Cartoons, and More
Or you can be in the office and speak to people. I've never been in an office for a professional job where chatting, popping down to the canteen, stepping outside for a bit etc are not completely normal things to do and not frowned upon. For young people without families and pets, having a thriving office where we can take social breaks sometimes is important. Otherwise I literally just sit in my room and want to die. This is why I'm glad my company has 3 days compulsory.
Show HN: Zami – a single API for all chat networks
decided to build Zami because building chat integrations should be as easy as email/text.

launching public beta today with WhatsApp and Instagram, rest of the networks will be added in the coming months.

hope you like it :)
How a corporate duopoly ruined skiing
This and TIC-80 recommended bellow really feel more like a fun challenge for a programmer than a creative tool for a kid. Was it the first time your kid was exposed to any kind of programming?
That's true, but the human made content, however, has largely been carefully curated, sometimes through generations.
The pump is the rain. The water flows down into both oceans, evaporates there and falls down on the lake's tributary areas, then flows down into it.

That's the beauty of the whole design.
A bit of a tangent, but reminds me of this article, RenderGAN [1]. The main point of the article was about using 3D rendering + GAN to generate convincing synthetic data, and their application was creating training data to detect "barcodes" [2] attached to bees.

It's a similar premise and method than Apple's SUGAN paper [3], that came out around the same time, to much more fanfare (it won CVPR best paper award iirc). I think the impact of renderGAN was a bit limited by the narrow scope of their application (even narrower than Apple's eye tracker application) and the fact that the generator had some handcrafted layers that didn't really generalize well outside the black and white marker application.

[1] https://www.frontiersin.org/articles/10.3389/frobt.2018.0006...

[2] Technically not a barcode since it doesn't have bars, it's a circular 2D marker, but close enough. For that matter the QR-like codes aren't really "bar"codes either, but that's just pedantry.

[3] https://arxiv.org/abs/1612.07828
Your point is still unclear there. The specification allows it, for historical reasons. The fact it doesn’t recommend it does not change that.

Many people, myself included, prefer to have code that is easily parseable (both mentally and by a program) without requiring a lookahead or awareness of a list of special elements. A slash for self-closing elements achieves that. It just makes sense. Can you imagine JSX allowing this?
What prompted the switch? Was performance improved?
That is basically a toy example though. With a design like that you do just do the simple thing, but it's not fast or efficient
Is anyone trying to write ISA for specific programing languages, like the lisp machines of old?

Would RiskV be amenable to have language-specific customizations or peripheral accelerators?
And you're still not understanding what's written there.
Seagate's Mozaic 3 HAMR platform to provide the next jump in HDD capacities
Bro what sort of dystopiian offices have you been working in. I've never had that experience. People are always somewhat intersting and like to actually talk. There are some off days but it's never like that. And never ever have I had a colleague spontaneously try to have casual zoom conversation with me while remotely working. I've had people never turn their cameras on. And meanwhile, I'm here, a childless 20-sth, not having spoken to a human in days, wanting to hang myself with my headphone cable. The pro-wfh people just don't care that young people are still growing up in this time I swear.
There are many simple game engines for kids, I'd start small just to show that he can do something. And if that piques his interest you can move on to an actual project with storyboard and planning together.
Great read. I really understood that the value here is in spending time with your son, and if your son learns to code then that is a byproduct!
The Sinclair QL's legacy at 40