skysight-inc/HackerNews huggingface dataset:
> It becomes more than a job. It’s our purpose, our sense of self.

Also, consider Brain made a quarter of 1 Billion dollars with the sale of his company. The man didn't have to work, it was his choice to work. I think this contributes even more to the feeling that work is your identity.
If you like this sort of thing (and don't care about performance) check out Arithmetic Coding for the most generalized fractional symbol packing algorithm.
To be able to reversibly encode an N-trit ternary number into an M-bit binary number, the number of possible N-trit numbers must be less or equal to the number of possible M-bit binary numbers. Otherwise there would be two input ternary numbers that would map to the the same binary number (pigeonhole principle). Which means that 3^N <= 2^M.

3^N <= 2^M
log(3^N) <= log(2^M)
N*log(3) <= M*log(2)
log(3)/log(2) <= M/N

where M/N is the bits per ternary digit.
This is a hard business decision to make as it doesn't directly increase revenues and directly reduces productivity.

Might be smart in many instances to do cross training, and on the job perspective expanding, but at the end of the day: it's usually better to let the animous live...and the spice flow.
Well done taking the high road, Marx.
Excellent analysis, would absolutely read more. Have you any more juice along these lines? Yourself, or others. Thanks.
Ah, sorry, I think I mixed that up with the opposite practical limitation then – IIRC you can't actually display a fullscreen bitmap on the original GameBoy without some hacks, as the full screen fits 360 tiles, but there's a limit of 256.

But in any case a frame buffer would use up almost the entire available VRAM of 8 KB and would have probably also been more expensive since it would have to be dual-port RAM (I believe the Game Boy's VRAM isn't).
Huston is in fact building transit. They have a large spread out city which makes it a hard problem, but if you carefully choose where you look you will find people living there who don't have a car and just rely on transit and don't notice any loss of lifestyle.
Your main point is the well-established modern consensus among economists, and nicely put. But what makes you think salaries don't keep up with inflation? In the postwar US, they absolutely have kept up over the long term. There are ups and downs depending on the strength of the labor market, and they don't always react instantly to short-term bursts of inflation (as in 2021-22), but over the long term they are steadily up even in the "great stagnation" period of the past 50 years:

https://fred.stlouisfed.org/series/MEPAINUSA672N (individual)
https://fred.stlouisfed.org/series/MEHOINUSA672N (household)
It's a choice, economy is about choices and math (staying at home cost < cost of kindergarten) is the tool. (in EU you may prefer to go to work because additional income is that time is added to retirement, even if money is low it has some value).
At the physical layer, this makes a ton of sense. Apologies for completely ignoring that part. I was specifically curious on encoding each "digit" of a ternary number independently in a computer. Which.... yeah, that isn't what this article was even saying.
1-2% inflation is "healthy" is a trope that nobody really justifies. Perhaps its true, and it is often repeated as gospel. the "2% inflation target" was derived just from the comments of economist Roger Douglas in New Zealand who thought that sounded about right.

We welcome and celebrate deflation in technological goods (cars, electronics), apparel but are constantly warned about the dangers of deflation and why "some" inflation is good.

What is the argument for why 1-2% _deflation_ in housing, education, and healthcare would be bad?
Digitone 2 ($1k USD) just released this quarter, has a strong FM synth in a package with a few other rad synthesizers + killer sequencer.
A raw string literal gets embedded into the binary's data section at compile time, just like it would in C or C++. What this means is that the type of the string literal is actually a reference (to an underlying memory address). And so it has type '&str' which reflects the fact you are using a reference to a value that exists somewhere else.

The type 'String' is instead an "owned" type, which means that it is not a reference, and instead a complete value and has a copy of the data. to_string() will create a String (owned value) from a &str (reference) by copying it. This is no different than if you had a global static compile-time string in C and you wanted to modify or update it: you would memcpy the global (statically allocated) string into a local buffer of the appropriate size and then modify it and pass it onward to other things that need it. You would not modify the static string in place.

In short, no, you do not need to_string() every time you want to work with a string. You need it to convert a reference type to an owned type. Rust's type system is just used here to codify the more implicit parts of C or C++'s behavior that you are already familiar with, but the underlying bits and bytes behave as you would expect coming from C++.

> And that bizarre scoping of Person p feels very un-intuitive. How would you work around that if you need to keep using it after show()

You take a reference just like you would in C++. Possibly a mutable reference if you want to modify the thing and then use it afterwords. This is in the article as the "Advanced rust example" at the end, it's right there and not hidden or anything.

It isn't really bizarre honestly; it's a matter of defaults. The difference is that Rust uses move-by-default, not copy-by-default or ref-by-default. Every time you write `x = y` for a given owned type, you are doing a move of `y` and into `x` and thus making `y` invalid.

let g: &str = "Austin"; // statically allocated string
let x: String = g.to_string(); // do a copy
let y: String = x; // no copy, x is moved

Once you internalize this a lot more stuff will make sense, or at least it did for me.
I think the comment you are replying to is implying that it's a bit funny/weird that the wipers turn on, because there aren't any sensors that are looking out the window to see. (As others pointed out, it could just be default auto-wiper functionality, and of course passengers still like being able to see out the window, even if they aren't controlling the vehicle).
Somewhat ironically you are underestimating the amount of effort it takes to be as universally reviled as that person. Presumably because you, like most people, have never been in that field.
What day to they retool on?
"if you find pleasure in the death of a human, you need to reflect on-" -
HN Already flagged comment.
This is true, but only by definition of murder as a wrongful killing. There are plenty of killings that aren't murder.
For one thing, we now know not to use .to
"Non-Contact Biometric System for Early Detection of Hypertension and Diabetes Using AI and RGB Imaging" (2024) https://www.ahajournals.org/doi/10.1161/circ.150.suppl_1.413...

From https://www.notebookcheck.net/University-of-Tokyo-researcher... :

> optical, non-contact method to detect [blood pressure, hypertension, blood glucose levels, and diabetes]. A multispectral [UV + IR] camera was used and pointed at trial participants' faces to detect variations in the blood flow, which was further analyzed by AI software.
I think a more objective analysis would have been for skilled vs unskilled labor, supply/demand and age stratified.

It seems like a pretty series of infographics that are oriented towards some sort of narrative the creator is trying to impress on folks, something about guilt and unfairness?

It seems like the author put in a lot of work in order to demonstrate a thing that most people intuitively understand:

There's a large supply of unskilled or low skilled labor, so wages are less and the jobs are crappier and more physically demanding.

If you age stratify it, I feel pretty confident that you'd also see a trend that shows that most physical labor is performed by younger folks, and the percentage of their day spent doing physical labor mostly decreases as they progress in their lives and become more skilled.

I'm not talking just about desk jobs, I'm thinking (for example) of an apprentice electrician vs master electrician. One of those is going to get stuck doing the more physically demanding work while the other is in more of a supervisory role.
An insurance adjuster defending insurance companies. Sounds good to me!
I think it's a sign of Musk's trajectory that his reward for stanning for Trump is to become co-head of a body that has literally no power. And as you note, Trump is not known for reciprocation to people who are loyal to him.

There's a strong assumption from a lot of people that Musk has some major influence over Trump, but honestly, I would be more surprised if their friendship survived 2025... and I wouldn't be that shocked if it didn't make 2025 in the first place!
Show HN: I put all the best lessons from successful people on one platform
For >10 years I consumed books, articles & podcasts to figure out the habits, lessons & techniques that made successful people successful.

Now I don’t have enough time to read and/ or listen to all that information.

So I put all the best tips in one place.

So you (& I) can achieve more, faster.

At the same time I made it easy to search with AI & apply the lessons to your life.

It’s called Focus - I would love any feedback.

I've made a test user for all those from HN - enter it when accessing paid content: hntester@email.com.
That's fascinating! Do you recall any examples of such tweaks? To my mind, making the decision more complicated for all players, human and bot alike, would probably have been justified. But I suppose for a 1980s computer scientist targeting only the bot was an extra-interesting puzzle.
The information theory comment is correct but I’m going to elaborate a little bit with some potentially useful info.

For a binary number with N bits, you can represent 2^N values. Easy example: There are 2^8 = 256 possible values that can be represented by an 8-bit value. You can go the other way, too, and ask “how many bits do I need to represent a given value?” by using some math.

2^N = 256

Log2(2^N) = Log2(256)

N = Log2(256) = Log(256)/Log(2) = 8

And you can use this to figure out how many bits you need to represent an arbitrary number: N = Log2(1000) = Log(1000)/Log(2) = 9.966. That makes intuitive sense because a 10-bit number has 1024 values.

To get to the theoretical limit you’re asking about we do the same thing. For an arbitrary number x, how many trits do we need to represent it in trinary and how many bits N do we need to represent it in binary? What is the ratio of trits to bits?

x = 3^M and x = 2^N

Log3(x) = M

Log(x) / Log(3) = M

Log2(x) = N

Log(x) / Log(2) = N

And then we can just take that ratio N/M to figure out how many bits N we need to represent M trits:

R = N/M = Log(x)/Log(2) x Log(3)/Log(x) = Log(3)/Log(2)
The wealthy have captured the levers of government and wield them against the working class, and it's only getting worse.
Funny you should choose 2008 as the reference point because they did a 2:1 stock split right at the end of that year (i.e. the stock price halved but they doubled the number of stocks in circulation, keeping the companies value the same). Comparing the price of a single stock now to then is apples and oranges.

Their stock price has dropped sharply since its all-time peak in 2018-2021 but I recall they were already being accused of a woke agenda during that peak, for example due to the villain of 2018s Far Cry 5 being a white American conservative preacher. Their stocks decline wouldn't start until 3 years later.
Here's one: https://abcnews.go.com/US/tap-water-millions-americans-erin-...

For lead alone there's a lot of variation in how many homes are impacted. The white house recently said 10 million are connected to lead service lines (https://www.whitehouse.gov/briefing-room/statements-releases...)
> no it would save miami and the state and the federal government billions

Have you ever looked at the local budget of a US transit authority?

They typically lose $2+ per passenger trip, and get bailed out by the federal government.

Mass transit is not going to save Miami any money for decades until ridership approaches Hong Kong levels.

Unless you count passing on expenses to the Federal government as savings, and even then, it's still decades out.
A much improved successor to Tomatan: https://www.youtube.com/watch?v=cOJaDDO38kk
This article is a work of art. Thank you for writing and sharing it.

I too have struggled to find something that worked for me for consistent exercise (surprisingly, prepaying for training helped more than I expected), and now I don't want to lose momentum. Make no mistake though; I had a LOT of help from friends and family as well.

Bonus points for Mord Fustang.
Yes but my point isn't really about neuralink itself. It applies to any endeavour to connect us to communicate faster.
Why do you think that makes a bad market for a driverless car?

If driving is miserable, that means lots of people that dont want to do it. If traffic is chaotic, that means a good place to improve their software.
Can TIC-80 for Retroarch run WASM "ROMs" directly or do they have to be precompiled?
I work in HPC and mostly on the shell/console. Without a doubt, the combination of Bash (or another shell) and AWK is truly amazing. Being able to quickly generate statistics, filter out unnecessary information, generate pipelines, etc., is unmatched, and 99% of the time only requires a pipe redirect. Not to sound trendy, but using AWK really is the proverbial "if you know, you know".

One of my favorite use cases is based upon grep with extended regular expressions; there's always a need to search for strings while needing to exclude others, think of a basic example as "grep -E 'this|that' file |grep -Ev 'not(this|that)'". With AWK it's simple, "awk $0 ~ /(this|that)/ && $0 !~ /not(this|that)/' file". Or, if you're monitoring server load averages via a tool like sar, you can pick and choose which loads you want to monitor based upon a threshold, "uptime |awk '$10 ~ /[0-9]{3,}\.[0-9]{1,}/ || $12 ~ /[0-9]{3,}\.[0-9]{1,}/'". This will print matches if the 1 minute or 15 minute load averages are over 100.

Just because it's an "old" language doesn't mean it's obsolete or useless!
Really triggers Sonder in a way curated content never can.

The back to back viewing of things going on everywhere around the world, seeing what is important to people moment by moment really makes you appreciate how big the world really is, a reminder that my perspective is quite narrow.
N=1 anecdata here, but... My wife and I got pregnant -- both times -- during the first month of trying. We were mid-30s, myself being 3 years older than she is, and my wife was old enough at the time of conception to have had a "geriatric uterus" and our first pregnancy, spontaneous fraternal twins, was considered "high-risk" out of the gate because of her age.

> Things like IVF do not dramatically change the odds either. They're better of course, but it's far from guaranteed - it's still just a rather expensive roll of the dice.

Sadly, literally all of our peers who were trying and having kids in the same demographic as us, +/- a few years, struggled hard and most needed fertility treatments. At least 2-3 of them were never able to conceive, despite the expensive and time-consuming treatments. It's brutal.

I will also add, I have a number of friends who are >= 10 years younger than I am and many of them also struggled with miscarriages in their late 20s while trying to start families.
Array programming seems adaptable to any form of parallel processing: SIMD instructions, multi-core, or GPUs. I think it's because, in addition to their inherent parallelism, primitives are so simple that they make very few demands on an implementation. GPU code can be a lot more flexible than array programming because the processors have a bit of independence, so array primitives are not necessarily the best way to use a GPU, but they're pretty good and the limitations might make it easier for a human to think about.
> In what way is it non working at this point?

Because you're in the driver's seat supervising at all times? If it worked fully autonomously, you would be in the backseat.
you should read it as log₂(3) because logₓ(y)=logₙ(y)/logₙ(x) and it represents the minimal number of bits (yes it's not an integer) required to represents 3 states
> One can often just register a foreign company with the local tax agency for a direct hire.

This is the non-contracting employment part of GPs comment. I don’t think it’s frequently used, but it is possible.
I am into telesales and I was thinking it has something to take with sales pitch lol
I've lived in a rural area for 20 years, and I still miss the city
This is a pretty ignorant attempt at a spicy take.

Before you can even have this conversation, you need to define what "work" is and take into account the stressors of that work, the abilities of the workers, etc. This mentality of "us vs them" when someone wants to ask "who works harder" accomplishes nothing aside from pointing out disgruntled laborers who got suckered into punishing jobs for laughable compensation.

It stems from this a twisted pride, typically from the laborer side of things, that I have seen so many times I've come to just expect it from them. The problem with that stance is that it falls apart with any scrutiny, after the laborer who wants to call someone else out for "not working as hard as they do" realizes that they are being exploited, which is nothing to be prideful about.

It's silly, as was your contribution to this conversation. I recommend reframing it as each position being important to the team, but requiring different demands and skill sets to which different people can contribute. It's not a competition and nobody wins by trying to diminish the contribution of others.
Small business owners rejoice. CTA is dead for now
FreeDOS Editors I Love
1. gacha, not gocha

2. Ubisoft is large, it does both. it has several mobile games. No gacha models, AFAIK.

3. "You don't need to ask people define what they want". If someone is going to assert "make good games", then yes. I may as well just simply ask them. Alternatively: do you really think I'll make Genshin Money if I just copy Genshin? a dozen studios already beat me to it.

4. "I doubt the DEI departments at Sony, EA, Ubisoft and Microsoft will let them release games with waifus and jiggle physics so they'll have to keep saying no to money to die on a hill." Those aren't the only ways to make money. Not even in Asia. And this is an odd statement given Sony did publish Stellar Blade this year. Its wishy washy but it's not like there's some hidden cabal banning this stuff. It really comes down to a mix of culture, PR, and sales. Dead or Alive's newest dating sim isn't releasing in NA just because of "DEI"
Citation needed. I've seen claims like that, but none of them from a source that stands up to scrutiny. Most such claims come from the people promoting self driving cars and so they have reason to "lie with statistics". Those who have unbiased data (ie governments) are not talking about it from what I can see.

I personally am significnatly safer than the average driver. This comes solely down to me not drinking alcohol and thus I never drive while drunk. The typical driver also isn't under the influence and thus is significantly better than the average. (I also try to follow other safety practices, but I'm not sure if I'm really better - I'm aware of and pay attention to one thing which makes me better - but what am I not aware of that others are doing?)
I think the funniest realization on my end, was that liking Folgers wasn't just me liking "cheap" coffee. :D
I think the issues to evolve our democracies are not directly connected with technologies (e.g. crypto). Indeed as an incumbent I see that crypto "wants to" reinvent democracy and at the end they only find that they are just reinventing the wheel, or resulting in a square wheel. Democracy seems more linked to institutions and great organizations with strong fundamentals and good vision.

Regarding liquid democracy specifically I think it inherit the problems of issue oriented politics: "don’t miss the forest for the trees", democracies are
looking for short term clientelistic policies because the short term pays better to politicians.
I generally unbundle age and adulthood.

For me the definition has always been "an adult owns up to their own mistakes".

Which is the shorter version of "A child doesn't care about their mistakes, a teenager expects others to fix them and an adults own up to them".

This allows me to categorise older people who I feel like don't act like adults.
Show HN: Fifty – A game where you match numbers until you clear the board
Hey everyone, I'm Fabio, a very long time lurker here.

Today I want to celebrate and share with you, again, a game that I conceived more than 8 years ago.

I shared it last week with all its history (if you're curious) [1], but it just stayed in the "shownew" and never reached the main "show" page, hopefully this time it'll do better (:crossed_fingers:)!

What changed since last week? Today I've also published the mobile apps for both iOS and Android (last week it was just web), which are also my first mobile apps ever. So I believe it's still a worthwhile post and something to show :)

I'd love to know what you think about it. I'll try to answer to everyone during the day.

[1]: https://news.ycombinator.com/item?id=42244536
Royalties may be flowing in over the next few years, but they still have to keep the lights on and the payroll flowing - the long tail of a game that wasn't initially profitable may not be enough. Remedy has a few projects in the barrel, and if those hit it big they will probably be fine, but I remain skeptical. (especially if they stick with an Epic exclusive PC deal)
I would expect less feudal outcomes in a world that calls itself free. Capital income does not reflect economic performance, its just a inheritable privilege.

Are you upset about seeing those unfortunate suckers, that dont have this privilege maybe coming to your country? Upset, that the world does work this way?
According to the workflow file, you’re using self-hosted runners…
But not with a sufficient reliability and safety. You need that to do what Waymo does. Waymo could do highways 15 years ago, right now they use highways in autonomous mode but only with employees or empty, so they will presumably launch soon.

Imagine 2 drivers, one does something dangerous every hour, the other every 1000 hours. If you observe them for one hour, they may appear identical to you. Yet, one is 1000x better.
A Texas court just enacted a nationwide injunction on this.

https://www.texasattorneygeneral.gov/news/releases/nationwid...
Hey HN, supabase ceo here.

This is a Postgres-native Queue. It's built with the PGMQ extension[0] which the Tembo team have generously licensed their extension with the OSI-compatible PostgreSQL license. PGMQ has API parity with AWS SQS and RSMQ.

Our implementation is compatible with the rest of the supabase stack. With RLS enabled, you can use the client libs to CRUD messages/tasks. eg:

import { createClient } from '@supabase/supabase-js'

const queues = createClient(url, key, {
db: { schema: 'pgmq_public' },
})

const { data, error } = await queues.rpc('send', {
queue_name: 'foo',
message: { hello: 'world' },
})

We'll be around for any questions

[0] PGMQ: https://github.com/tembo-io/pgmq
Critics are a minuscule part of the audience. Also reviews can be bought.

To be actually successful a game needs to capture the target audience (gamers).

Problem is there seems to be a huge disconnect between critics and gamers gamers nowadays
Since I had to look it up:

pursuant: in accordance with (a law or a legal document or resolution).
"conversations that they wiretap pursuant to court order"
Precious Plastic Is in Trouble
Do you want the matrix because this is how you get the matrix