skysight-inc/HackerNews huggingface dataset:
I take your point that NATO needs Turkey more than vice versa, especially as it is now hard to imagine Russia deciding to invade Turkey.

On a 20 year time scale, though, I don't think that gas and oil will see high demand from NATO members. Which countries' oil supply do you think would no longer reach them if Turkey refused to allow transit? For comparison, here[0] are the oil details for Georgia, including the statistics: "Georgia [ranks] 80th in the world and accounting for about 0.0% of the world's total oil reserves".

I agree that it would be very costly from a geopolitics perspective for the West to have Turkey as an adversary rather than an ostensible ally, so I suppose my (non-serious) "two NATOs" plan should have involved both NATOs continuing to exist indefinitely.

Still, I don't think Turkey can demand an unlimited price from NATO, and Erdogan shouldn't try to over-play his position.

[0] https://www.worldometers.info/oil/georgia-oil/
I wonder what it means for, eg, forcing users' printer drivers to update to a hacked firmware which notifies them that their firmware was hackable?

[0]: https://cybernews.com/security/we-hacked-28000-unsecured-pri...
It is a dark pattern, but you need to agree to receive promo emails.

No thanks.

Come June, I will just check manually.
Honestly, what I'm hearing in this podcast is that front line teams end up with OKRs that don't anchor into any strategic product vision. I agree, OKRs should be able to trace down. Since OKRs are supposed to cascade down, this failure falls squarely on upper management, for either failing to provide and communicate a strategy, or for failing to demand that recursively itemized OKRs actually trace up to the holistic vision.

And as always, there is no process substitute for adequate management.
There really is no reason to have this freeway there. It makes the area worse and goes nowhere.
> Mandatory sunset clauses would be another good idea, along with a requirement that the entire bill, along with any external documents incorporated by reference (e.g. building codes), must be read into the official record with a quorum of the legislature present before it can be passed or renewed.

This is one of the most sensible things I've heard proposed that will never work. (I'm saying that, if laws are so complicated that no human can learn them well enough to keep themselves in compliance without assistance of a compliance department, or so complicated that even the people who are directly responsible for them cannot be bothered with being made aware of the details and double checking that they still make sense on a somewhat regular basis... then they are too complicated.)

I think it will never work because complex things are complex for a reason on the balance, and because we're already "too deep to dig ourselves out of this hole." But in principle I agree wholeheartedly with this idea.
New Redesign of ARIA Authoring Practices Guide (Accessible UI Design Patterns)
Something like 60% of homeowners would come out ahead financially with an ARM. You can save tens of thousands of dollars in interest before the rates adjust. Many people sell or refinance before the rates adjust, or soon after. The rate early on is a little more important because that is when the principal is highest, but in practice this isn't a huge factor. Only about 35% of the original principal is paid off after 10 years for a 5% mortgage. Even if rates go up and you stay there for 15-30 years, you could come out ahead because of how much lower the interest was for the first 5-7 years. But it depends on how much rates go up.

But the long tail is some people being priced out of their home as their payment rises, and it could have been prevented. So 90-95% of mortgages in the US are fixed rate.
I looooooove this feature of the MX Master mice, but I went through 2 of them in two years. They do not seem particularly well-built.
Also, note that while bisphemol A is largely banned from certain food-contact plastics, it has been replaced with other "plasticising" chemicals which are largely "the same" such as bisphemol E, F, S, or AF

For the interested
https://en.m.wikipedia.org/wiki/Bisphenol

Also note n2, variations of vinyl or pvc plastic makes strong use of bisphemols for flexibility, pvc is being used to replace ageing copper or lead piping across the world, it is also largely unexplored the degree to which there is legislation regarding the sourcing and chemical composition of said water pipes over most of the world (as in, if there is a new international hotel building being built in, let's say brazil, what type of water pipe will the construction company use? You honestly think they would use copper everywhere and pay a 5x premium on it, or just use some random pvc pipe embedded on the walls? And then, if it proves to be that the pvc had bisphemol X on it, how would you even fix it? Rip it all up? We are talking of literal concrete bricks. Or just hide it from the public? )
Quotes Are Not Notes
Which is sad because salt "farming" used to be done on clay soil near river deltas, which was a perfectly good medium for this job.
This isn't "run out and buy" level (that would be 15", AMD 5000 or Intel 12th gen with a dgpu), but it's probably enough to be my next laptop unless something drastic changes in the market by then.
1. I don't think your Python example if fair. I think

new_array = [x*2 for x in array if x != 0]

is much more common.

2. In your example, `new_array` is an iterator; if you need to transform that into an actual container, your rust code becomes:

let new_array = array.into_iter()
.filter(|&x| x != 0)
.map(|x| x * 2)
.collect::<Vec<_>>();

And there your generic types rear their ugly head, compared to the one liner in python.
Indeed - what a lot of comments on this topic seem to overlook is that a lot of device specific bug fixes have been put into effect for push sync in FairEmail, without battery drain, and while only using IMAP IDLE (therefore avoiding cloud sync or sending email passwords to third party services for push messages).

The idea of rewriting that every few years in a new language, or using new APIs, is counter to the principle of writing robust, reliable software without regressions. In my experience, those writing software that reinvents the wheel every 5 years end up ignoring and externalising the impact of regressions on their users, for the sake of using a new language or framework every few weeks...
There are 100 buyers for every home (charitably assuming "several" is only 2) or 1000 buyers for every home (a more reasonable reading that "several" is minimum of 3)? That doesn't sound right at all.
He wrote the theme song to the Carl Sagan series "Cosmos", both the song and the show had me transfixed as a kid.

https://m.youtube.com/watch?v=7FW_wOUUTT8
Ctx new version released after 2 years (+750k users)
https://pypi.org/project/ctx/
It's more that politicians respond to incentives -- repairing bridges requires money being spent and taxes going up, since states can't run at a deficit for very long. Often this angers voters. Similarly, people get pissed off about what we refer to in Michigan as "Orange Barrel Season" when you cant' get from here to there because of the construction snarling traffic. As a result, it doesn't build goodwill to maintain infrastructure before it's at the verge of catastrophic failure from a political standpoint. On the other hand, building new freeway through mostly farm fields has concentrated costs (the farmers losing land, who are then paid fairly well for the loss) with obvious benefits to everyone. It's pretty "no downside".

In Michigan we've also run into issues where infrastructure crumbles before the bonds that built it from scratch are paid off, which then causes significant pain in paying for repairs, since it requires all new taxes or significant other service cuts. This was one of the main arguments in the 2018 gubernatorial campaign and then in the early part of Whitmer's term.
I quit my job during the last recession to do a startup (which ultimately failed). A lot of people thought I was crazy, but in hindsight it was the right move, as I learned a lot of things that I was able to parlay into a 2nd startup.
You might try adding the number of McDonald's locations and their revenue. I have a hypothesis.
Yejin Choi: Teaching Machines Common Sense and Morality
Do you mean LIDAR? I thought they are using combination of radar and camera, instead of only camera.
found a CSV file containing my passwords in the sandboxed appdata
Well, good thing you don’t need to be convinced for other people to get help. Sheesh.

My partners life was literally changed by taking medication. Do you think that’s a bad thing?

I strongly doubt that ‘herbs’ are more effective than decades of scientific research. I presume that you’re hearing amphetamines and thinking of the extremes; as the parent said, the medical doses are far lower than that of recreational users.

Drinking coffee is a stimulant, and yet in moderation it’s not harmful to the used. Do you feel similarly about any sort of caffenation?
I had no idea it was a _person_ named Vangelis. The word sounds like a band name.

And really, the exquisite textures are a workload which would ordinarily require multiple talents. Guess he was THAT good.
Good article but weird chart, “Bond Markets Over Time”. Both axes are reversed to make it look like something is increasing (y-axis) over the size of the opportunity (x-axis), when instead he’s making the point that Alpha (y) decreases as size of opportunity (x) increases.
Agreed, some part of this feels like capital is flexing its muscle after a period of employees having incredible gains.
Pentest Report – Prometheus (2018) [pdf]
Agreed and that' how C# does pattern matching on `if`
Yes, exactly. The only binding part of the resolutions is the sanctions. The UNSC doesn't have the power to set universal international law, so the NK ballistic missile program is still legal under international law.

However, UN member states can't help NK in those endeavours.

If you look at the fine print of the resolution, you can see it is invoking Article 41 of Chapter 7, which allows : "The Security Council may decide what measures not involving the use of armed force are to be employed to give effect to its decisions, and it may call upon the Members of the United Nations to apply such measures. These may include complete or partial interruption of economic relations and of rail, sea, air, postal, telegraphic, radio, and other means of communication, and the severance of diplomatic relations."

It's weird like that, but the UNSC simply doesn't have the authority to impose arbitrary restrictions on the behaviour of member states (for obvious reasons).
I did everything in Octave. And it was a great learning experience.

Octave is very easy to learn if you have previous programming experience.

You won't _write_ programs a lot. There will be cookie-cutter code, and you will fill in some blanks. A line here a line there.

Trust me, Octave wasn’t a deal-breaker if you tried. And a lot of formulae were the code.
Yeah, it's just a general current I've noticed running through HN comments where people are so trapped in their bubble they have no idea how life operates for most people outside of it.
I know a guy who bought a $10K watch. Wearing the watch effortlessly demonstrated his wealth, which boosted his confidence when talking to girls. The 2nd order effects of the watch seemed to make him very happy.
> guaranteed to outlive jQuery the library

There's absolutely no reason to believe that considering those APIs add new features independently of each other. A library like jQuery can serve as an intermediary if browser A implements new feature X that is possible in browser B but through excessive (and slow) DOM manipulation.

jQuery can act as a bridge between the time browser A's implementation and browser B's.
Anti-aliasing at the wrong resolution looks worse than not anti-aliasing at all. As such, if you tell your applications to render things larger than 1x scaling, anti-aliasing starts to hurt more than it helps.
I believe Safari has been doing it since 2013.

https://bugs.webkit.org/show_bug.cgi?id=110269
A TLS proxy is something that’s trivially easy to sandbox; a browser is the exact opposite.
Show HN: I built a VR laser tag course you can run around in
jQuery is dead, Netcraft confirms it?

"Nobody goes to that restaurant anymore, it's too busy."
There would need to be some very specific circumstances for this to work. The general rule of all cooking is that it takes much longer to cook food than to eat it. So spending time cooking soup, rather than fleeing, would be a net loss of time. Whatever time the Russians were delayed eating your soup would be less than the time you were delayed in making it.

The only way it would work would be to just put the pot over the fire and run. Without someone watchin it, the window of time between soup getting hot and soup burning/boiling into nothing would be slim. A more likely version might be that starving Russian troops were so hungry that, upon finding ingredients left out, they stopped to make soup themselves.
I'm in my mid 30's. My net worth is in the seven figures and I keep it invested across real-estate, stocks, and bonds but I still have so little faith in the future that my ultimate retirement plan is to just make peace with everyone in my life and use an exit bag when the time comes (when neither I or my husband can provide for ourselves). The only exception might be if our kiddo(s) have enough extra resources that they don't mind helping us but even then I'd be hesitant to burden them unless I can help with grandchildren or something in exchange for being kept around.

During the good decades after WWII our society relied too heavily on growth and became totally atomized. You need money for things that you used to get just by being a member in good standing with your community or by having a large family. When the economy stops growing local communities will take time to heal to the point where e.g. the elderly are cared for by default. I will most likely fall into the in between period when there are no options so early death would be the most humane option.

The thought of going from an upper middle class person on easy street to an impoverished lonely old lady is just too painful and I have zero faith in the United States and probably the world in general to not go down the tube to the point where all my investments become worthless. I'll keep hedging my bets of course but... the exit bag is the only sure thing lol.
He wasn't worried about paying off the 15 year mortgage in 10 years. He was worried about getting a 15 year mortgage and then sometime happening so he couldn't afford to pay it off in 15 years. With a ARM you get the flexibility of lowering your payments to the minimum - which will pay it off in 30 years if bad times happen, while getting the lower interest rates of a 15 year loan (for the first X years, then who knows), and if you may the 15 year loan payment it is paid off in 15, while if bad times come you drop to the 30 year repayment amount and have more money to deal with whatever.

It can be a very good idea for someone who plans to pay off their mortgage early. If all goes well it is no worse than a 15 year mortgage, but when (really, if is unlikely) something bad happens you have more flexibility. Of course if interest rates go up you will get burned, which is why I go with a 30 year fixed rate that I pay off. I could probably afford payments on a 15 year loan, but I'm not willing to risk it.
I don’t think it’s unexplained at all. People just don’t like the explanation. People simply eat too much and don’t move enough. The secondary reasons behind that are many but again pretty easy to see (more desk jobs, cheap high calorie foods, automobile ownership etc)
If there's significant, good, on-topic technical content that isn't getting posted to HN, for god's sake someone please let me know.

If it's getting posted to HN but not getting traction, for god's sake someone please let me know that too.

Literally the only thing we're trying to do is have HN be as interesting as possible. Missing out on the best content is disastrous for that goal—sort of like missing out on the best startups is disastrous for an investor.
> For any bit of resentment about how the world has treated you, pouring yourself into someone else can at least give the solace that for them they will not suffer as much as you have

Personally, I'm shocked at how just having kids has healed a lot of my held resentment. I used to look back at moments in my life that I wished had gone differently. Now I see that if you gave me a time machine and the chance to go back and change how I responded, I can't do it because I'd be erasing my kids.

I wouldn't even be able to stop the covid pandemic, selfish as that may be.
It's relative. AMD is "your friend" as long as it's on the back foot, so to speak. Their GPU pricing remains much better than Nvidia's, even with the extreme availability issues over the past two years, and some of their actions on the GPU side are more consumer-friendly (such as offering open-source Linux drivers). But when in a more favorable position with respect to their competitor their behavior can and does change.

> where the CPU is locked down to the motherboard

Don't quote me on this, but I think I heard that this wasn't on by default?
Efficient cooling via monolithic integration of copper on electronic devices
If the auctioning functions correctly, there will always be more reserves as compared to Dai. If the "reserves run out", then there would be no Dai to buy.
If it's a demand issue maybe companies fall in line and all have their layoffs at the same time, reduce worker purchasing power, and then there's fewer shortages of things. problem solved. </armchair supply chain economist>
Do you think the gold rush is over? I was just getting a start in. Are there any areas you would suggest focusing on. The fomo is killing me tbh
> The Russian army also had some chilling tactics. Basically they had more soldiers than guns during the battle of Stalingrad. So they sent them in pairs where one person was supposed to pick up the gun in the (likely) case the other person got shot. To prevent people from refusing orders, they simply shot anyone running the wrong way. Ordering people to march towards (almost) certain death is probably as old as war is.

This was depicted in the film Enemy at the Gates (2001)—and probably other, earlier films, I'd expect—and then strikingly similarly (i.e. they likely deliberately modeled their version on the scene from the film) in the first Call of Duty game (2003), back when that series was all WWII shooters.
Most people believe 2008 was caused by single mothers (as an example) "buying a home they couldn't afford." The reality is it was the upper-middle class, non finance professionals just thinking they were savvy. When your doctor, dentist, or general contractor gives you financial advice you should run the other way!

I see this playing out now with cryptocurrency. Suddenly, everyone is an expert on Bitcoin!
https://noteplan.co/ for a couple of years now. That I'm not hopping around from app to app anymore is a good sign to me that it's working.
> I worry that by not being challenged I will become complacent.

Fair worry.

> What can I do to change things?

You should switch jobs.

I've been the top technical person at a couple of companies (not the size of your company, however). It can be exhilarating to be "the person". You get a lot of respect and autonomy. But it can be easy to fall into the curse of the expert beginner: https://daedtech.com/how-developers-stop-learning-rise-of-th...

While you can mitigate this to some extent by participating in groups (virtual and physical) for other great developers, the easiest way to handle this issue is to switch jobs.

So, I'd suggest you start interviewing. Either you'll find a better place, or you'll discover advantages of your current situation.
It's hard to know what you are seeking. What is "decent 4K experience"?

Many have all worked fine for me with desktop/office work on Linux. But I have older Dell monitors that can only do 30 Hz at 4K and I was not bothered by this. And I do not use the internal laptop screen when using an external monitor, so I have no concern for mixed/high-dpi scenarios. I use a 1080p internal display and 4K desktops with identical dot pitch, and see the 4K monitor as just more real estate for exactly the same font sizes I would use on the smaller laptop screen.

I used to use the same monitor model with a desktop NVIDIA Titan X GPU for scientific work. The experience for regular desktop/browsing was identical, and only differed if I launched an 3D app that really had a use for the extra horsepower. I would suggest that no laptop GPU is really going to both drive 4K at good high frame rates comparable to a modern desktop GPU. There will be some inevitable limits due to the thermal/power design. These days, I think more about idle power and quiet operation, and don't miss having the Xeon + Titan X workstation howling in my office.

I have a T495 with a prior generation AMD Ryzen 7 PRO 3700U that has a Vega iGPU. I've driven a 4K TV or a 4K monitor with its HDMI port at different times, with no drama. It is the best performing graphics I have ever used on a laptop, but is of course limited compared to a desktop GPU since it uses the dual-channel system RAM and has less bandwidth. I don't think you'd play a game at 4K with it, but at 1080p it could perform pretty well.

I've driven a 4K display via displayport and Intel integrated graphics in Thinkpads even from 2015 or earlier. I did this on a T440p (which had an NVIDIA GPU that I learned to ignore, favoring the Intel iGPU). I think I even enabled MST to daisy chain two displays off the single displayport as a test once, using two monitors with the appropriate displayport mode settings in their menus.

My wife has used a T460s for years with a 4K monitor. I think that had a displayport and an HDMI port and both worked fine with 4K, though I don't know if she ever tries using them simultaneously.

I assume the newer models are even better. Going all the way back to the T20 and X20, I've never really seen a backwards step with upgrades to subsequent Thinkpad generations, other than realizing most dGPU choices for Thinkpads were anemic and not worth the bother.
Yeah. My parent comment was insinuating that "This time is different" which of course it won't be.
Very sad, see also https://news.ycombinator.com/item?id=31437226
"No one cannot predict how bad the economy will get..."

???

I get that it's twitter, but grammar is still a thing.
Hello! I think VR headset colocation is super cool and I wanted to try building something with it. I'm currently trying to turn this into an actual laser tag course you can go to, and if you're interested in progress updates putting down your email at https://userland.us is super appreciated.
I'm not sure how that's directly related to the issue of subprime borrowers but in my recollection this was a good change. It was a regulation that was costly and difficult for smaller banks to constantly adhere to while larger banks already had the capability to do this. Much like how the mortgage moratorium policy ended up forcing smaller landlords to sell to larger property holding companies, this particular bit of regulation was causing many smaller banks to sell themselves to larger ones.
There are plenty of other stores with reasonable reach, such as Samsung, Huawei and Amazon's stores.

Of course not nearly as much, but discoverability in the Play Store is already a mess.
I've noticed this a trend lately. Why does everyone suddenly hate jQuery?

Instead, I've noticed everyone re-inventing the wheel. Take Bootstrap5, which "eliminated jquery and we wrote our own!" but now, it is much much larger. Then your next framework does the same, and so on, now we're downloading 1mb of javascript files just to display grandma's 160 byte tweet.