skysight-inc/HackerNews huggingface dataset:
American steel companies just raised prices a week ago in anticipation of tariffs (not even passed tariffs), and the tariffs wouldn't even effect them. Everyone is going to want their share of higher pricing power, so expect domestic producers to follow higher import prices (well, its already happened).

If there was a lot of domestic suppliers and (more importantly) a lot of domestic competition, inflation might be avoided. But none of that exists, so expect consumers to pay for the tariffs directly and then more.

https://www.cato.org/blog/more-costly-steel-tariffs-horizon
The entire justification for Musk's DOGE & MAGA is that the status quo in the USA is not good and needs to be torn down.

From my observation, the West suffers from the opposite of Chinese or Indian nationalism, in excessive self-flagellation to the point of self-destructiveness. Critical Theory, Identity Politics, Woke, Anti-Woke, Postmodernism (both left & right), etc would be immediately crushed in those nationalist societies, they are very much a unique artifact of the Western order.
And it will still be cheaper than any other alternative.
https://youtu.be/8huHGfY4xYQ?si=VSbvGTVjb2N-qsGq
If you were still confused like I was, here's a photo of the map on-site (best photo I could find):

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg...
>Can you not adjust your tab stops?

I've used this in vim for years:

:se expandtab tabstop=4 shiftwidth=4

(those can be abbreviated, check docs)

Then:

I use only tabs for indentation.

All the tabs get expanded to four spaces each.

Indenting and unindenting lines or blocks of lines, moves them by four spaces.

Never had a problem.

Maybe there are more fancy ways, but this works fine for me.
Common Crawl maintains a free, open repository of web crawl data
> I was resigned to playing under Ibuprofen until I heard of fastDOOM

WTH is Ibuprofen?!
Good callout, thanks
The downvotes for your comment are quite telling of the demographic of Hacker News. But even leftwing media are admitting the Democrat party has a problem:

https://newrepublic.com/article/192078/democrats-become-work...

"We cannot solve this problem without an honest assessment of who we are. How we see ourselves as the Democratic Party—the party of the people, the party of the working class and the middle class—no longer matches up with what most voters think."

https://www.realclearpolitics.com/video/2025/01/21/eric_adam...

The Democratic Party "Left Me And It Left Working Class People"

https://www.thirdway.org/report/renewing-the-democratic-part...

"For the first time since the mid-20th century, the central fault line of American politics is neither race and ethnicity nor gender but rather class, determined by educational attainment. But in the intervening half century, the parties have switched places. Republicans once commanded a majority among college-educated voters while Democrats were the party of the working class. Now the majority of college educated voters support Democrats"

But I suppose there's too many well-off, well-educated, white collar elites on this site who aren't willing to face the reality that their politics have been ruining blue collar lives for decades, and the political backlash has finally hit a crescendo powerful enough to wash over Washington. So I guess we blame it all on disinformation campaigns?
This is a baseless argument. A human being and a machine are fundamentally different. A human being synthesizes things from the world and it becomes a part of them. The art they produce is filtered through their unique brain and life experience and natural talents. All a machine does is spit out recycled versions of things that actual human beings have done.
I don’t see how you can understand something without being part of it.

It is like learning stuff from the book vs learning hands on. There is no book that will teach you skiing.

The same for working with the team - it is so much different than listening and trying to understand.

Everyone nags about how MBA graduates ruin everything by thinking that you can manage and it doesn’t matter who and what.
I bet I could guess where the teardrops are.
I was surprised to learn Taiwan has dabbled in nuclear weapons in the past. They actually got caught developing them and had to swear they'd stop.

Given that the US is doing a professional wrestling 'heel turn' and is now The Bad Guys, I wouldn't be surprised if, like NK, they just come out and announce that they have nukes. Honestly, and this is bad for the world but smart in a game theory sense, I think a lot of countries that depended on the US being a force for stability either go the Israel route ("We won't say if we have nukes or not" wink) or just announce that they have them and do public tests to prove it.
They can always retreat. Like they did from Kherson. Russian constitution is a joke, putin does whatever he want. Like a true friend of Trump.

"Show me your friends, and I'll show you your future." And now Trump calls putin a friend...
I think Trump would happily sell out the United States for a few billion dollars pumped into his memecoin (or whatever).
But you are a part of it. You are the manager of the codebase, you should actively be part of the discussions of what's being merged in, what your architecture looks like, what changes are required to complete a new project, what issues are arising, what the blockers are on projects, whats slowing down your team etc. None of that requires you to sit down and code.

If you're really listening and asking the right questions you should be aware of even changes like "Were deciding to use this HTTP client rather than what we currently have". OK why are we doing that? What was the issue? Ask ask ask.

As a manager Id argue you have (or should have) more technical insight into your whole codebase than any IC
>US policies have a way of flip-flopping every two years

Yes but until the trump era, things remained relatively consistent in terms of international relations.

Flipping on and off 25% tariffs (or even the threat of) is going to have a long term effect regardless.

Flipping on and off the level of interest in international norms, is going to have a long term effect.

And its already ratcheted, things are going to be worse this term than Trumps last term. The next MAGA presidents term is going to be worse again.

Just because its not a paved road doesn't mean you aren't going down a hill.

For me however, this might just be the justification we need to close Pine Gap and US access to the joint submarine radio in WA.
> The playground hover type annotation says aOrB is `A | B` at declaration and if you hover over aOrB in `if (hasTypeName(aOrB, "A"))` it produces `const aOrB: B`. Two types for 1 variable with no operations between.

It's not that the variable has two different types. It's that the expression `aOrB` has a different type inside the condition. This is normal for TS - indeed, the very pattern of doing a check first and then magically getting a different type inside the body of the conditional hinges on this narrowing behavior. This particular case just looks a bit weird because there's no conditional, it's based solely on the assignment. You can see the same in code without any conditionals at all:

let foo: {foo: number} | {bar: string};
foo = {foo: 123};
foo; // if you hover over foo here, the type is narrowed.

So, before it even gets to the type guard, it has already determined that the actual type of expression `aOrB` can only be `B`, and typed it as such. OTOH when a type guard is used, if it returns true, it knows that `aOrB` can only be `A`. To combine these two, it has to type it as `A & B`, which is what you see in the hover if you do it inside the body of the conditional. And the intersection type will only show the properties `A` and `B` have in common.

As for your new example, keep in mind that a missing property is not the same as `undefined` in TS (nor in JS itself, since there are ways to observe that difference). So the sum type must have both `a` and `b`, but either one can be set to `undefined` (but not omitted!) depending on `type`. If you remove `b: undefined` from the initializer of `aOrB`, you will see an error telling you that `b` is missing.

However, your example does not produce any error at the line with the comment that says "Error". Instead, you get a warning on the line above, specifically for this expression:

aOrB.type.name === "B"

And if you look at the text of that warning, it basically says that `aOrB.type.name` is statically known to always be of type "A" at this point (since that is what was in your initializer, and TS did the requisite narrowing), and thus comparing it to "B" is pointless since it'll never be equal. All the property accesses for `a` and `b` work fine though since your sum type has both properties for both variants.
What? Bullying who?
Could you elaborate more on the inverse correlation between degree and skill? Do you mean that usually people who did not go to university actually went straight to work and had the chance to get more skill as opposed to people with a degree that actually started later?
Your argumets and links are interesting, I hope to study these materials some day.

But.

To be useful in practice the approach does not need to work in all cases of natural language usage. Even if works in some limited cases there may be useful applications.

The authors evaluate their approach on two datasets. One is LOGIC consisting of learning examples of logical fallacies. The other is LOGICCLIMATE, consisting of logical fallacies collected from real world news articles about climate change.

The datasets are here, if anyone is interested to see the type of natural language they try to adress currently:
https://github.com/causalNLP/logical-fallacy

I guess this csv contains the LOGICCLIMATE: https://github.com/causalNLP/logical-fallacy/blob/main/data/...

So a possible practicle utility for the approach - spot individual wrong sentences in a long article and highlight them.

Another real world example. I propose a solution at work, based on some statistics. And a colleague dismisses it by saying that there is a book "6 Ways to Lie with Statistics". If there was a smart assistant in the room who gently explained his logical fallacy to the colleague, it would save a lot of efforts for me and made the discusdion more productive. I doubt the difficulties you mention apply to this simple case.
i thought they just point vertically? like other nuclear missiles.
> This isn't some 100k line long program

It could use `str*` functions without any issues then. Nul-terminated strings are perfectly safe with assumptions to follow.

Anecdote: I fixed 3 reported segfaults and another 2 after fuzz-testing in a small 500 line lib. Original author had the same cowboy mindset about keeping all stuff in his head. It's always last words before getting into CVE database.
The Lo-Fi Art and Human Tools Era
My guess is that it was the decision of Ukraine to pursuit joining EU and potentially NATO (and potentially having US forces there) and Russia understanding that it is out of options to prevent this by peaceful methods like bribing politicians, propaganda, appealing to voters sympathetic to Russia at that moment etc.

This happened in 2014. Also, if you remember, before starting the war Putin demanded that NATO stops expanding to the East, but was ignored [1].

So basically Russia wasn't willing to lose a large neighbouring country to US.

[1] https://en.wikipedia.org/wiki/December_2021_Russian_ultimatu...
Taiwan can still blow up their TSMC plants and fire conventional missiles at the three gorges damn to inflict near nuclear results on China.
Vertical tabs are awesome. I use them on the right-hand side in Vivaldi, along with thumbnails. It doesn't look like Firefox supports thumbnails, but maybe that's will come in the future.
"Building new lamps" is why the engineers and technicians developing new scientific instruments and experimental processes deserve more credit than they get.
Mozilla's self stated mission as a self proclaimed "global crew of activists" [1] is to "more than deplatform" [2] people they disagree with. Deplatforming just means censorship in this context and they want people they don't like more than censored, they want them off the internet completely. Pretty dangerous for a company making a browser to list infringing on people's human rights as a goal, but they've convinced themselves they're the good guys.

[1] https://blog.mozilla.org/en/mozilla/mozilla-brand-next-era-o...

[2] https://blog.mozilla.org/blogarchive/blog/2021/01/08/we-need...
I'm pretty sure the majority of Linux contributions are made by corporations these days, which almost certainly have internal management structures.
Interesting that the Wikipedia entry says it was designed to be a “major tourist attraction.” I live in the north of England and this is the first time I’ve ever heard of it(!)
Because it provides an indication that the app is receiving your voice input?
For readability:

html { font-family: system-ui; }

Consider https://alanhogan.com/bookmarklets#add_css to add this to the page. Code blocks are still shown in monospaced font. BTW, monospaced font for prose is an anti-pattern that you hackers need to relinquish, but whatever!
WordPress Web Performance Optimization
It's truthiness for software. It doesn't matter if the code is correct, as long as it "feels" correct.
Not really, because it likes to the conflate the negative connotations of the confederates and their slavery to the ROC, when it's more like if the Union Government was in a civil war with the Confederates with the Union controlling most of the land, but then the British/Mexicans/Canadians, etc invaded and the Union broke it's back holding that back, then when the invaders finally retreated the Confederates were able to reorganize and defeat the Union, so then it would be the Union that retreat to Long Island or something.

Instead of doing blind analogies, it would be alot better just to directly describe the events of what occurred, but that's going to be inconvenient for the CCP and their supporters to introduce some nuance into the conversations.
The trouble is that his behavior vis a vis Russia is so difficult to explain otherwise. We've been at this long enough to know that if you just assume Russia has a relationship with him, you have a fairly good idea of how things are going to play out.
> - EGA & Plantronics ColorPlus: https://www.youtube.com/watch?v=gxx6lJvrITk

Any love for Tandy Graphics Adapter? I'd hate to have to run in CGA :( would need a 286 build for my Tandy 1000 TL/2, if it was still alive.
Details please.

Does the printer refuse to print, or does the operating system printing subsystem refuse to print?

What is your operating system?

Have you given Brother support an opportunity to respond?
How do you define "exists"?

Remember, this is about Cartesian duality (mind-brain duality), so the key question here is not whether a brain exists, but whether the mind exists independently of it.
Try disabling everything labeled “suggestion” in settings. This drove me crazy too and pretty much went away after I disabled Siri and safari suggestions.
> “We can get through more [coding] quicker and do more tests and learn quicker,” Lu said. “Like, how much time do you spend debugging because you put the bracket in the wrong place? That’s the sort of time spent that’s unnecessary,” she said.

Pretty much never? Do people actually struggle with that?
This is a threat to my company's product managers.
> both Starmer and Macron represent a minority of the electorate in their respective countries—having won due to a deeply fractured electorate.

Yet MAGA types keep claiming that Donald Trump supposedly got an "overwhelming mandate" from the American people even though he got just under 50% of the popular vote.
Aiding natural pollination can boost cacao yields and climate resilience
That would be more optimized for sure. But it wouldn't be scalable and would take more work to create than what looks like a pretty simple change.
How can you tell the difference between the 3G and 3GS except for speed?

Do you know off the top of your head the difference between the MacBook and MacBook Pro at the time? Would you have known then?

Jobs passed the day the iPhone 4S was released and they were selling the 3GS, 4 and 4S. I’m sure he had something to do with the lineup. The 4 and the 4S were indistinguishable from the outside and the 4S and was only faster.

As far as iPads…

iPad - $350, slowest processor, worse screen of the three iPads

iPad Air - $799, higher price, faster processor (M3), more memory, better screen (anti reflective coating), choice of larger screen

iPad Pro - $1199, higher price, better screen with higher refresh rate and slightly higher resolution, better processor (M3 vs M4), better camera, faster USB C, Face ID, better speakers.
It’s AI slop, that’s expected.

“Pop punk with prog rock time signatures“ is a funny idea, but it’s not interesting to listen to when there’s obviously zero intention behind it.
Ask yourself, “Why would they do this?”
> Of course they can defeat Russia, if they’re tenacious enough. Just look at Afghanistan (against both Russia and USA)

Ukraine is steppe and swamp, very flat. Afghanistan .. is not.
I think they're suggesting an animated PNG or GIF.
Ah, ok, it's a red line for you. Good that you make that explicit, but you are being a thrifty with information there.

This site is for curious conversation, so I'd love to see you elucidate a bit further!

What's the nature of the red line?

For instance, Are you worried they'd get hurt? Are you worried about political implications?

Or, does the fact that there are already American volunteers to fighting in Ukraine change your calculus? [1]?

What's your idea on whether this applies to Taiwan too? How about Canada or Greenland?

Is this a red line that is shared by many?

[1] https://www.youtube.com/watch?v=MlgWI0FzjKc "US volunteer soldiers appear in Ukraine frontline footage"
Reversal Theory
Considering that the code is mostly x86 assembly, the gains from such optimization are quite unlikely.
The best response!
Those are legit volume licenses from reputable sellers. You don't get media; you don't get anything but a license code. Plus, I only use those at home, of course - I would never use such licenses for business!
Timely!

> March 3 (Reuters) - The United States is drawing up a plan to potentially give Russia sanctions relief as President Donald Trump seeks to restore ties with Moscow and stop the war in Ukraine, a U.S. official and another person familiar with the matter told Reuters.

> The White House has asked the State and Treasury departments to draft a list of sanctions that could be eased for U.S. officials to discuss with Russian representatives in the coming days as part of the administration's broad talks with Moscow on improving diplomatic and economic relations, the sources said.

https://www.reuters.com/world/white-house-seeks-plan-possibl...
Yes. And in fact the Trump Administration may boost military aid to Ukraine in the future still.

This was mentioned in the above thread: "A direct confrontation between NATO and Russia is another, much less likely alternative. The idea that Russia's economy will collapse is highly unlikely."

The approach to try to force Russia to concede to Ukrainian demands and back down would require boosting Ukraine military aid, but would either fail and result in a forever war, succeed by collapsing Russia's economy (highly unlikely to succeed), or result in a direct NATO-Russia confrontation.

In terms of America's past actions, the history is loong, but if you are referring to the Biden Administration - it had a strategy up until the Ukraine military faltered in its failed counter-offensive.

Anyway, you expect policy changes between administrations.
U.S. State Department Shuts Down Pollution Monitoring Abroad
Racket v8.16
I’m personally not convinced by the theory of ortho.

It seems to stem from the idea that stagger is a hangover from the typewriter, in which it was required to make room for the mechanics, and that if we didn’t need to make them like that, we wouldn’t have.

Hence the keys should be lined up so your fingers just move up and down.

However I think this has 2 problems.

1) Most ortho keyboards have 5 columns for 4 fingers.

2) In stagger I use different fingers to strike the same letter dependent on what the preceding letter was, so that I almost never use the same finger twice in a row. You can’t do this in ortho if the 2 letters are in the same column, leading to more repeated strikes from the same finger.

Which I would expect is both slower and more straining.

But maybe my technique is weird, or haven’t given the ortho enough time.

(if you like ortho, good for you, not trying to spoil your fun, just musing)
Simpsons paradox. People without qualifications have to be obviously competent to be hired to do a job. If someone is clueless they probably slipped in because they got certified somehow (like with a degree).

Expect a negative correlation between certification and competence (in the workplace) because the workplace only reliably excludes people who are incompetent and unqualified. So the population sampled is made up of [qualified, competent], [unqualified, competent] and [qualified, incompetent]. And anyone who isn't ready for that will get very confused when they try to work out how much value a degree adds in their pool of programmers. Or any department, really.
Trump have promised to end the war in a short time and is a little late on the deadline. That explains him being irritated at that meeting.
"Wooly mice" a test run for mammoth gene editing
As an aside: If you're a line manager of a small coding pod, and your manager is very engaged in company planning and generally competent, then you can probably do a lot more coding. Someone has to do the organizational engineering work, and it's your manager, in this case. Now, if this individual ALSO wants to spend their time coding, then things can go very wrong indeed.

The worst possible scenario is that a manager doesn't know how to prioritize amongst their existing team, and/or doesn't want to say a difficult 'no' and tries to make up for it by coding in the evenings. That's someone who hasn't learned how to really fly the airplane yet.
That's called text justification. Spaces are added between words to line up the words to end at the right margin.
In fact, a couple years ago they were saying that training models on code translated to better logical thinking in other domains "for free"
Just because something isn't a logical paradox doesn't mean it shouldn't be allowed to be called a paradox...it can also just mean "apparently self-contradictory"
Neither of which would achieve any strategic goals. TSMC is only important because Western economies crave cutting edge silicon and causing a natural disaster by destroying the dam would not only strengthen the resolve of the Chinese public but alienate the rest of the world.
It is really that. It's part of their country (according to them).
This isn’t a serious comparison. China has literally killed tens of millions. All of America’s alleged war crimes would not come anywhere close, not even within an order of magnitude. That’s leaving aside that the US and its technological innovation - which has mostly been shared with the rest of the world - has saved a lot more lives.
I appreciate the explanation; thank you!
As a Canadian also I want you to know that you absolutely do not speak for all of us, and I strongly hope that you don't represent anything remotely like a majority here

Canada-US relationships may be strained right now but the USA is not our enemy, and neither are Americans
Small discussion, including video (12 points, 10 hours ago, 2 comments) https://news.ycombinator.com/item?id=43254455
For anyone who is curious but can't watch a youtube video right now:

It's the flag of Nepal: https://en.wikipedia.org/wiki/Flag_of_Nepal

The instructions for the design are very geometric: http://www.servat.unibe.ch/icl/np01000_.html

A still image from the numberphile video: https://www.flickr.com/photos/numberphile/7703604582/