skysight-inc/HackerNews huggingface dataset:
For me, there is one single reason spaces are superior to tabs, and that reason is the most important: it ensures that you, the reader, are viewing my code exactly as I, the author, wrote it.

Consider this snippet, where tabs (⇥) equal four spaces (·) in my editor:

if (someCondition) {
⇥ Foo foo = SomeClass::SomeFunctionCall(myParameter1,
⇥ ⇥ ⇥ ⇥ ⇥ ⇥ ⇥ ⇥ ⇥ ··myParameter2,
⇥ ⇥ ⇥ ⇥ ⇥ ⇥ ⇥ ⇥ ⇥ ··myParameterN);
}

Looks good.

Now you open this snippet in your IDE, where tabs are set to two spaces:

if (someCondition) {
⇥ Foo foo = SomeClass::SomeFunctionCall(myParameter1,
⇥ ⇥ ⇥ ⇥ ⇥ ⇥ ⇥ ⇥ ⇥ ··myParameter2,
⇥ ⇥ ⇥ ⇥ ⇥ ⇥ ⇥ ⇥ ⇥ ··myParameterN);
}

This matters more when the presentation is important, like I might write ASCII diagrams in my code, are have a large matrix with elements aligned, or similar.
> Canada should just become an American state

Canada is a really interesting take that I ctrl-f'd hoping I'd find a discussion on. It was doing a great job keeping pace with the US but seems to have really stagnated since the last 8 years or so.
Unit tests are more commonly written to future proof code from issues down the road, rather than to discover existing bugs. A code base with good test coverage is considered more maintainable — you can make changes without worrying that it will break something in an unexpected place.

I think automating test coverage would be really useful if you needed to refactor a legacy project — you want to be sure that as you change the code, the existing functionality is preserved. I could imagine running this to generate tests and get to good coverage before starting the refactor.
I wonder how it plays out in money that comes in, and money that goes into the authors of the public domain tools that get used, and make this all possible.
Yeah that's somewhat of a special case - the Gemini API even has a specific CIVIC_INTEGRITY flag in its safety filters: https://ai.google.dev/gemini-api/docs/safety-settings. They literally put "election-related queries" on the same table column as "sexual acts" or "hate speech".

It's not exactly explained how answering who the current president is would be considered harmful to civic integrity, but it is something very specifically filtered out and not really the result of the general RLHF lobotomy.
No, it really doesn't.

PPP-adjusted disposable income per capita (meaning, after all the necessary expenses) is by far the highest in the world: https://www.statista.com/statistics/725764/oecd-household-di...

Food spending as a portion of total expenditure is the lowest in the world: https://ourworldindata.org/grapher/food-expenditure-share-gd...

Out of pocket health care expenditure as a share of GDP per capita is fairly low in comparison with other wealthy nations. Of European nations, only Monaco, Luxembourg, the Netherlands, and France are lower (and not by much!).

Transportation spending is indeed higher in the US than most of the developed world, but it doesn't eat away much at the increased disposable income per capita -- proportionate to household income we're talking about a few thousand dollars higher, and most of that is a very recent development as costs went way up over the last few years.
> People won't do this. A very very small percentage of people will do this.

taps the sign

The idea that companies need hyper growth, "escape velocity," or whatever to succeed is outdated.

> paid search will not overtake free search

There is space for paid and free to coexist. It's not a zero-sum game.
I'm not in the bay area! I'm in Seattle, which used to be the cheap west coast alternative to the bay area!

I'm third generation here. Although I'm remote, my wife's job is tied to a location here. We both want to live someplace with a strong international community, access to an airport with lots of overseas flights, and that is a reasonably large population center. (IMHO Seattle is still small, and we are lacking many things for it, although that has gotten better over the last decade or so.)

The only other locations that meet our criteria have either garbage politics or garbage weather. (not that I'm happy with Seattle's politics, but at least our city council is mostly incompetent and a little bit malicious, as opposed to mostly malicious and a little bit incompetent!)
> Will traditional programming be used for most "production" workloads with gen AI being used to aid in the prototyping and development of those traditional programs

I mean we're already there with Copilot, Cursor and other tools that use LLMs to assist in coding tasks.
https://fred.stlouisfed.org/series/CDSP

slightly below pre-pandemic levels, and significantly below 2005-2008 levels.
This is to cap forgotten wells, not exploit them again...
I agree, the parent would've been much better suited with the example of PVE/PVP Roleplaying. People make up stories all the time
It isn't like US public system, medicare, is great. I still end up buying my folks supplemental. This narrative of pubic vs private misses most of the nuance.
The article doesn't mention possible security implications. However, we already get lots of vulnerabilities exactly _because_ implementations disagree on delimiters. Examples for this are HTTP request smuggling[1, 2, 3] and SMTP smuggling[4].

As the references show, this is already a big source of vulnerabilities - trying to push for a change in standards would likely make the situation much worse. At the very least, old unmaintained servers will not change their behavior.

I think we should accept that this ship has sailed and leave existing protocols alone. Mandate LF and disallow CRLF in new protocols, that's fine, but I don't think we should open this particular Pandora's Box.

[1] Simple example that doesn't use CRLF/LF disagreement: https://portswigger.net/web-security/request-smuggling

[2] Complex example that uses CRLF/LF disagreement: https://portswigger.net/web-security/request-smuggling/advan... (see heading 'Request smuggling via CRLF injection')

[3] Random report on HackerOne I found where allowing LF created a vulnerability in NodeJS: https://hackerone.com/reports/2001873

[4] https://sec-consult.com/blog/detail/smtp-smuggling-spoofing-...
Seeing your launch hn made me happy. I tested one of your products in 2021. It's cool to see you and Parsagon working through iterations and finding customer traction. Mad props!
In the tabs world this is just a style set by whatever displays the code, eg. the user's editor setting.

In the spaces world, you have the battle over how large indentation should be and everyone has to live with what someone else chose.
And yet we have the highest disposable income in the world:
https://en.wikipedia.org/wiki/Disposable_household_and_per_c...
I have doubt that anyone with a high school maths would even understand any of these (2023 MSc QM level Oxford exam) [1] . but reading the original source on the study [2] it seems like it is not this or any of what we expect.

> This article is concerned with a new language for quantum, to which we refer as quantum picturalism (QPict) [5]. It
is the subject of two books written by some of the authors, respectively entitled Picturing Quantum Processes [10] and
Quantum in Pictures (QiP) [9]. The first one is the text book of an Oxford University postgraduate course that has been
running for well over ten years now. The second one, remarkably, has no mathematical prerequisites beyond what is already
taught to 6-7 year olds in the UK, namely angles

[1] https://mmathphys.physics.ox.ac.uk/sitefiles/advanced-quantu...

[2] https://oxford24.github.io/assets/act-papers/49_high_schoole...
Understanding Mysterious Outbreaks
Fish Speech 1.5
That’s an important point, people always compare growth as if growing from the bottom is as hard as growing from (close to) the top. People love to do this with India and china.
> No it isn't, because board game people hate it. I don't know who is defending Monopoly, but it's not board game fans.

It's a great example because almost everyone discussing this topic understands the game and its flaws in physical game form, and most of us have probably played at least one digital version over the years.

Also board game people are the same people quoted in the article as saying that bad rulebooks were in fact great, so their judgement may not exactly be the best. Enthusiasts of any category tend to be able to ignore a lot of flaws in their favorite thing as long as the thing they like about it works. I'm a car enthusiast, and there are a lot of us who absolutely love objectively bad vehicles just because of one unique quirk that happens to make us smile.

> Sure. It still doesn't make for a fun game though.

Right, but it takes a lot of the parts that actually ruin most physical plays and solves their problems.

> Sure. But good games avoid tedious tasks to start with.

Remembering a book full of rules and what applies when is a tedious task. If the game requires players have a grasp on a substantial rulebook for basic play it is not avoiding tedious tasks.

That's what's great about computer versions of board games, the computer handles that part and players are only able to do things that are allowed. You never have to remember what you can do when, and more importantly never have to decide between unwinding multiple turns worth of gameplay, just rolling with it, or throwing away the entire session when inevitably someone gets it wrong.

There is exactly one game I've played with my partner's board game crew where I didn't discover some way they were doing it wrong, and that's Everdell which has a very well done computer version that they regularly play as well as physical, so they've been forced to learn how the game actually works instead of how they think it works.

> If anything I'd say the converse is true: most computer games would be improved by trying to make a board game version and cutting the mechanics that make that difficult.

I wouldn't disagree with that, but the fact remains that computers allow more complicated mechanics to be implemented without increasing the cognitive load on the players or increasing the odds of a game-breaking misunderstanding.
The second amendment refers to a well-organized militia (which requires the average person to be able to own guns), not individuals taking things into their own hands.
You have seen no grifters in crypto and you're calling me a java developer?
This is amazing! Congrats to him!
Part of the problem with the JS ecosystem specifically is that, because it is culturally acceptable to have dozens of dependencies even for fairly small libraries, eventually you run into a situation where updating that one small library that you need to update requires you to deal with major upgrades for a lot of other stuff that e.g. break your build because they dropped support for your version of Node.js, or migrated entirely to ESM, or ...
I mean, the same is true of median income as well. People overestimate how much inequality affects the actual end numbers in the US. The median incomes in the poorest US states are still higher than most of the world.
I was aware, but the hiring manager thought I would be able to work from an office out of BC, however when it came down to it, in-person in Calgary was required, so I declined.
> Many of those people living paycheck to paycheck have a budget where they're saving or investing a significant amount of their money

I don't think that's the common understanding of what "living paycheck to paycheck" means.
How does turning an image into a game help with robots? Robots don't need to guess what they can't see, they would have sensors to tell them exactly what is there (like a self driving car).
Is that so? What's the best American drone company again? Consumer ones, not the MQ-9 Reaper type.
>living paycheck to paycheck have a budget where they're saving or investing a significant amount of their money

How can you be "paycheck to paycheck" if you have a massive savings pile? Are you dumping it all into 25 year treasuries?
'hired professionals' are always FBI agents. This guy didn't even do a test firing.
They always had these issues, I barely know anyone that freely replied to job interviews for a bank, given the work environment, as I am approaching 50y, have already seen quite a lot in consulting projects.
My insurance denied me a MRI and physical therapy because having 2 working arms was a luxury. Had to pay out of pocket to be able to lift my arm above my head. Private insurance can go shove it.
https://www.youtube.com/watch?v=m8QWxJhna8Y shows off some of the efforts of https://welldonefoundation.org/ to actually do something once they find them - which also puts more emphasis on the abandonment part (specifically the industry irresponsibility involved in allowing them to become hazards in the first place.)
I suppose the person upthread could have been exaggerating or using hyperbole for effect, but it seems a bit much for something like this to "ruin your day".

Having said that, it also seems like a bit much for that other commenter to find it worth policing their feelings like that.
Family needs to make $107,700 a year to own a home.

Apartment in a moderate-cost area is about $70,000-$100,000/year.

Median salary in the US is $59,300

What considered poverty level in the US for:
1 person: $15,060
2 people: $20,440
3 people: $25,820
4 people: $31,200

According to recent data from the U.S. Census Bureau, around 50% of Americans make $70,000 or more annually.

That means about 50% of the US can not afford a place to live.
Meta seeks nuclear power developers for reactors to start in early 2030s
> It is very misleading (at best) to say the economy is strong when a good chunk of the population live paycheck to paycheck.

This is oft repeated by politicians (including Bernie Sanders recently), but I've seen some good arguments why this can be a misleading claim. Ex. https://www.noahpinion.blog/p/paycheck-to-paycheck-and-five-...
Krugman pointed out [1] that 10% of US GDP is in tech counties and Manhattan, with 4.4% of employment.

I wonder if productivity growth is mostly there too?

[1] https://bsky.app/profile/pkrugman.bsky.social/post/3lcii6zna...
You can grab this and then remove the "export default" line at the end.

https://cdn.jsdelivr.net/npm/@stanko/dual-range-input@0.9.8/...

Don't forget the CSS

https://cdn.jsdelivr.net/npm/@stanko/dual-range-input@0.9.8/...
peak hacker news comment
https://fred.stlouisfed.org/series/CCLACBW027SBOG

The trend is basically back to where it would be if you just extrapolated 2019.

You can even see the origin of the "vibe-session" here, things got pretty good for a lot of people in the money shower of the pandemic stimulus combined with low "stay at home" spending. Its the return to normal that has people spun with "the economy sucks".
Though headlines like these annoy me since we, the people, are being pressured to change our way of life when there are bigger fish to fry, I'm glad we trying to fix things within our control. Things like this shouldn't even be studied, they should be addressed aggressively and fixed so we can get a clearer picture of what we as individuals are responsible for.
Dwarf Fortress is an amazing management game in fortress simulation mode, but kinda struggles as a Rogue successor. The layers upon layers of simulation don't mesh into a very satisfying experience in adventure mode, imho.

Brogue is somewhat minimalist and very tightly designed. The design of every item, monster, and dungeon in the game is inextricably interwoven into a cohesive whole. It evokes very similar feelings to Rogue while also doing its own thing. Less "continued development of Rogue" and more "Unofficial sequel."
> nothing more.

Consider the use where you seed the first frame from a real world picture, with a prompt that gives it a goal. Not only can you see what might happen, with different approaches, and then pick one, but you can re-seed with real world baselines periodically as you're actually executing that action to correct for anything that changes. This is a great step for real world agency.

As a person without aphantasia, this is how I do anything mechanical. I picture what will happen, try a few things visually in my head, decide which to do, and then do it for real. This "lucid dream" that I call my imagination is all based on long term memory that made my world view. I find it incredibly valuable. I very much rely on it for my day job, and try to exercise it as much as possible, before, say, going to a whiteboard.
If there's anything Rust takes seriously, it's backward compatibility, so something is definitely wrong with the parent commenter's situation, the code should compile as Rust explicitly lists as one of its main goals the ability to compile code from any Rust version, indefinitely.
I'm curious as to how many problems rats really cause in a modern city. I live in a lightly forested area and have once or twice had to scare various rodents out of the attic and patch up a small hole they made, but that's about the worst they've ever done to me. One time I turned on the porch light at night and saw a very long-tailed rat nonchalantly eating from the bird feeder, which was fun to watch.

A quick Google search suggests that there are millions of rats living in New York City and Los Angeles, but I don't recall hearing about any recent catastrophies they've caused. I guess it's possible they could someday transmit a new novel disease like bats did, so we probably don't wanna let their numbers get too high, but other than that, are they really hurting anything? I view them about the same as pigeons or moths; occasionally annoying, but not something to relentlessly eradicate.
Federal judges are the only people in this country that privacy laws apply to.
Not really. PHP is not HTML-aware the way this thing seems to be, which is a fairly significant difference in practice. Notice how there's no special syntax to toggle between "this is code" and "this is output".

This looks more like .NET Razor, but for Go.
The author makes this assertion:

> CR by itself is occasionally useful for when you want to overwrite a line of text you have just written. LF, on the other hand, is completely useless. Nobody ever wants to be in the middle of a line, then move down to the next line and continue writing in the next column from where you left off. No real-world program ever wants to do that.

Just for curiosity, isn't that what Whisper does, the data file format for Graphite? I remember reading about it in https://aosabook.org/en/v1/graphite.html

I realise this isn't core to the author's point, and I mean the question to learn something rather than trying to be a pedant. I think it uses python byte offset semantics rather than CR, but for all I know the python implementation uses CR under the hood.

The article overall is a fun read! I love the idea of trying to identify simple pieces of legacy ideas and clear them out.
The US has the highest disposable income per capital out of the whole world:

https://en.m.wikipedia.org/wiki/Disposable_household_and_per...

For all the workers are living paycheck to paycheck, they are sitting on a gigantic monetizable pile of money.

Consider this: the most popular languages in YouTube videos are English and Spanish. And did you ever notice how most videos, when they talk about units, talk about Dollars, Miles, Inches, Pounds and Degrees Fahrenheit? That is why...

To be a wealthy YouTuber seems to mean catering to people in North America (the US specifically).
I remember I used TablePlus, which was what you described. Very pleasant program. Not browser based, though.
Since this lacks support for Firefox on Linux, using the built-in password manager with a Firefox account still feels like the easiest cross-platform solution.
People should be confronted and shamed if their ancestors did this and they won't do right by them.
>Unit tests are more commonly written to future proof code from issues down the road, rather than to discover existing bugs. A code base with good test coverage is considered more maintainable — you can make changes without worrying that it will break something in an unexpected place.

The problem is a lot of unit tests could accurately be described as testing "that the code does what the code does." If the future changes to your code also require you to modify your tests (which they likely will) then your tests are largely useless. And if tests for parts of your code that you aren't changing start failing when you make code changes, that means you made terrible design decisions in the first place that led to your code being too tightly coupled (or had too many side effects, or something like global mutable state).

Integration tests are far, far more useful than unit tests. A good type system and avoiding the bad design patterns I mentioned handle 95% of what unit tests could conceivably be useful for.
Aww, thank you! I'm impressed you even remember us from 2021 haha
> The U.S. is filled with homeless people. Even Italy, which was doing economically terrible when I visited, didn’t even have a fraction of the homelessness problem as in the U.S.

Interestingly, these are not unrelated. Italy's housing prices are very low because of how badly it's doing economically.
It's my wife's son, and it is truly extraordinary.

I played but a miniscule role.
The most common one is saying that someone is paycheck to paycheck but they're also funding their 401(k) up to company match, etc.

It's usually just the inverse of saying most people don't have ready cash savings laying around; because there's no need to when you have credit every which way all the time.

Much better to look at the debt load on people and how that changes over time. Someone who makes $5k a month and spends $3k on debt service and lives off $2k is going to feel much different from someone who makes the same $5k, lives on $2k, and spends $3k on candles or whatever (since they can stop buying candles anytime but you can't easily stop paying down debt).
Asset prices are extremely high. When politicians or business journalists say “the economy is doing well” they mean asset prices. The stock market is high on a number of metrics, which is great if you own a bunch of equities. Housing prices are soaring, which is great if you own real estate.

Food, housing, energy, healthcare, education. Real wage growth and job security measured against the prices and durations of those things. That’s what matters to people who don’t own significant real assets, those are the things that can get extremely bad (someone tries to murder the CEO of United Healthcare on the street bad) without showing up in the numbers you see in the press.

Simon Kuznets himself, the inventor of GDP as a metric sternly cautioned policymakers about treating it as a summary statistic.
How to Make the Most Out of Your 20s [video]
I am not against nuclear if there is some system of accountability and commitment that it can be operational quickly and cost efficiently, but the evidence does not show this is the case.

> The company wants to add 1 to 4 gigawatts of new U.S. nuclear generation capacity starting in the early 2030s, it said in a release. A typical U.S. nuclear plant has a capacity of about 1 gigawatt.

> The company said it was using the request-for-proposal process because, compared to renewable energy projects like solar and wind, nuclear is more capital-intensive, takes longer to develop, and is subject to more regulatory requirements.

Meta could have this amount of clean energy, deployed as solar PV backed by storage, built in the US in under 2-3 years. It would also be cheaper than nuclear (from a LCOE perspective).

https://apnews.com/article/solar-google-texas-data-centers-c...

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

https://electrek.co/2024/11/01/toyota-solar-farm-texas/

https://electrek.co/2024/02/23/texas-just-got-an-enormous-1-...

https://www.utilitydive.com/news/connect-and-manage-grid-int...

https://www.datacenterdynamics.com/en/news/solar-and-battery...

https://www.ercot.com/files/docs/2024/06/28/ERCOT-Monthly-Ju...
If you believe that scripture is inconsistent then I can see why we diverge. Good talking to you!