skysight-inc/HackerNews huggingface dataset:
Have you benchmarked the overhead of awaiting? I believe that in doing so you yield to the microtask queue and then your function has to be scheduled and run again. You could compare

await yieldOrContinue('user-visible');
doSomeWork();

against

if (isTimeToYield('user-visible')) {
await yieldControl('user-visible');
}
doSomeWork();

A few years back when I measured it on a fast laptop the cost was ~1µs to do `await 0;`
Wow. Thanks, I can't unsee this now.

Chilli's wisdom definitely hits hard if you have full context. The ending of this episode (and even the book version) nearly brings me to tears every time.
You first identify "most likely to be contaminated foods" whether that is a type, or sales method, or handling, etc.

Then you require that companies test and report some metric associated with the issue, just like they report calories and ingredients.

Then you require and fund the government to spot-check the reported amounts.

Eventually you could even require minimums.
The number of comments on this thread is data. I'm not sure what this data suggests, but it has to mean something that (at the time of commenting) there are nearly 500 comments. That's a lot more than I would have expected.
The hours on the Hill are insane. Starting work around 7-9am and finishing up by 8-9pm was fairly common. As such, you want to be close to work.

It's essentially PM type hours without PM type pay.

You easily earn more and work less hours as a GS 12-14 with much less stress (GS-15 sucks though because you start dealing with SES and Political Appointees)
Ask HN: How much should language preference influence career moves?
Hey HN,

I've been wondering about career paths, especially when it involves moving into new areas like AI/ML. How much should your preference for certain programming languages influence your career decisions?

For context, I find myself particularly inclined towards strongly typed languages - I've had a great experience with Go, for instance. This preference has become a significant part of my professional identity and comfort in coding.

That being said, I see a lot of growth and learning potential in fields like AI/ML, which often favor more dynamically typed languages. Let's say an opportunity to work in this new field arises, but the job requires using languages like Python.

Should the potential for learning and growth in a new domain outweigh the comfort of using a preferred language? Or is it valid to prioritize language preference, given how central it is to one's day-to-day work?

Curious to hear how others might approach this, especially if you've had to make similar choices in your career.

Thanks for any insights!
Isn't this just data oriented design? The guide contains all the data for the game (maps, most graphics data as they were sprites, npc locations, stat blocks, etc). There have been RPG makers for decades that allow you to create a game with an OOTB world and combat engine. I guess a wiki is a novel interface, but it seems like a No Code game generator, which comes with a whole host of limits and issues.

This seems to come from a place where you think knowledge can conquer the world. Which it can, only when combined with action. Want to make a retro game that is reminiscent of your childhood? Awesome go do it. There are a thousand tools out there. But you are going to be shaving a lot of yaks if you think you can create something by solely knowing everything about it. Might as well build software with UML.
Xbox's Biggest Flop Was a Decade Ahead of Its Time
There are many reasons, LTS, security kernel patches etc ... Ubuntu is not 95% Debian, as a matter of fact Debian got LTS only recently, before that you were out of luck.

I still have bad memories of going to the DC with a USB stick with network driver on them because the Dell server with Debian on it would not ship with non proprietary firmware / drivers.
I mean Bandit and Chili are different (though related) breeds and the kids each have traits from their parents... Bluey has her dad's coloration and mom's spots, and Bingo is orange like her mother but otherwise looks like Bandit.
Zeiss's "Holocam" turns glass windows into cameras
I thought you just meant insurance as in it's a huge profit center, so it's pushed knowingly that the vast majority of people will never use it. Notice the word use instead of need.
The great strength of SwiftUI is that until they have caught up with UIKit and AppKit you can just drop down to those frameworks. So you can use SwiftUI in 95% of your app and where you run into limitions you can use the lowerlevel NSCollectionView for example. Whats even cooler is that inside that NSCollectionView you can just use SwiftUI views again.
If you're just writing code for yourself, well and good, do whatever pleases you.

The problem is that, as George Costanza said, we are living in a society. If you work on code that other people need to read and maintain, then there are a few individual concessions we should consider in order to benefit the larger group. In addition to linting, I'd also put types in this bucket. I don't think it's a coincidence that DHH doesn't like the way those feel, either.

They may cut into your personal enjoyment, but if it benefits the productivity of the larger group then that's a sacrifice you should probably consider. This is the entire reason that standards exist.
In 2015 web browsers/chrome didn't have QoS tagging, how did you get around that?
It’s a lot cheaper to 3D print your own frame and just buy the components to build an FPV drone with an attachment for whatever payload you want to deliver. You can build one for under $300 if you already have controllers and headset to pilot one. Blades can now be 3D printed as well using SLA printers or using carbon fiber. ESC’s can be made with Arduino. I doubt they are flying DJI’s in one-way missions. Military drones are one thing but these new front-line drones have changed warfare forever.
> Our research has identified numerous critical and high-risk vulnerabilities that your vendor hasn’t patched.

This sort of language strikes me as fear-mongering. I can't tell which issues they have patched in CentOS7 that otherwise remain unpatched. Anyone know what they are talking about?
>I also don't buy the idea that we're stuck in some endless loop to acquire money or stuff either.

Does anyone argue this idea?

If so then why do people like the Amish exist? They seem pretty happy to me, with little.

Maybe I am naive, but do Amish typically worry about money and about materialistic things?
> What comes after the 6TB option?

Well, 12TB.

And if you are head of household and share storage, you can combine storage plans. Mine currently shows “2.3TB of 14TB used”.
Technology wins again!
Why would you want to combine it all into one app? Having seperate apps for those things (maybe besides having calendar and email together) sounds proper to me. Seems odd to put it all together into one.
I'm always struck by Brits who include a wellness check with their greeting.

[knocks]

[door opens]

"Y'alrite?"
> enhanced selector engines that pierce shadow DOM by default

It’s worth noting, for those that don’t realise it, that from client-side scripting you can’t reliably pierce the Shadow DOM. Playwright must be doing this with privileged APIs.

Specifically, although element.attachShadow({ mode: "open" }) sets element.shadowRoot to the ShadowRoot that it returns, element.attachShadow({ mode: "closed" }) only returns the root, and you can throw that away or store it in a private property or closure variable or whatever, so that it’s impossible to access from outside. Yes, shadow roots give you an inviolable membrane (and one that I don’t think content blocker are piercing yet, because not many sites have been abusing it yet). The only way outside code will even be able to discern that there is a closed shadow root is by trying to create one and having that fail (which is a canary, you can only do it once).
Pipeline Operator in JavaScript
Could be worse. Could've been Panera Bread's Charged Lemonade.
Every class of road users has jerks in it, because all drivers, riders, and walkers are human, and conflicts can be inflamed by local road design and driving culture. Personally, I find it much more productive to focus on the economic and public health impacts of the various available forms of transit, rather than building my view of the Problems with Transit around the things that personally inconvenience me.

Large pickup trucks in particular are a public health catastrophe. They kill occupants of other vehicles in collisions at about 2.5x the rate of other vehicle types (cars and SUVs), and they have abysmal pedestrian safety performance. On top of their high fuel consumption and emissions baseline, there is a nationwide trend called "coal rolling" in which truck owners modify their vehicles to produce thick black exhaust full of NOx, which bystanders are then forced to breathe. Pickup truck drivers also have some of the highest DUI rates around. Even setting aside my personal anecdotal observation that pickup truck drivers are by far the most aggressive and unsafe class of drivers on the road, it's clear that if we actually cared as a society about saving human lives, we would take measures to drastically curtail the use of large pickup trucks on public roads tomorrow.

In comparison, though it does happen, it's vanishingly rare for cyclists to cause serious injury or death to bystanders, and they have zero emissions beyond manufacture and delivery. In my opinion, anybody drawing any kind of equivalence between the harm done by bikes and the harm done by large pickup trucks in the public transit sphere needs to do some serious introspection.
Show HN: HN first ever free cloud service for organ and tumor segmentation
Introducing service.neuralrad.com, the 1st ever free to use Full-body Organ-At-Risk (OAR) and Tumor segmentation cloud platform available to anyone. We build this cloud platform with an array of high performance GPU servers (Most of them Nvidia Geforce 4090 and 3090) and dynamically allocate more than 100G gpu memory at any certain time for fast deep learning based segmentation inference. With this service, we would like to help medical physicists and physicians to tackle the troublesome lesion and OAR segmentation problems during radiation treatment workflow. You can sign up to use the service today!

Disclaimer: NeuralRad cloud service is not FDA approved at the moment. We recommend using this service for research and study purposes. All patient information of dicom files are automatically anonymized at the browser (client) side and only anonymized dicom data are sent to NeuralRad cloud servers for segmentation inference.

Enjoy and happy new year!
Can you actually run 1.7.10 modpacks on Java 21? I thought 1.7 was stuck on Java 8
> "The technical primitive data structure here is a hashmap where the keys are sorted."

..somewhere, this person's algorithms teacher is pondering about his life choices.
It might be astonishing but it was obvious soon after the war started that drones would change warfare.

https://news.ycombinator.com/item?id=31842578
wormhole.app (url) isnt
Guess Wirecutter is in the same boat, then.
sound is very important for the game experience
You should report that to your State's Attorney General. That's quite a bit more serious than some scummy ad.
Thank you for your suggestions! I'm mainly looking at how we can use AIS data to gain knowledge about the maritime domain, with an emphasis on fisheries in the north (norwegian sea and the rest of the arctic) , but as there is so many interesting cases here I constantly go down side paths admittedly, especially if you pull in things like operations research and the newer advances of deep learning.
There is plenty of hinting at there being an afterlife throughout the show, but it's aspirational, not prescriptive. It would be nice, wouldn't it?
Criminal conviction + 14th amendment.
Democratic elections are necessary but not sufficient for a republic to operate.
I wonder how they determined that the patients died from HCQ and not from covid..
Thank you for that suggestion, I will check them out!
https://rtings.com is pretty good, they're sponsored by readers just like CR.
I am still using IA/Writer in my Mac. I wrote 3 books with it. The only thing I dislike most in the the absurd pricing on the iOS app.
Ya, when I first saw a cybertruck, it was huge. That would definitely not go over well in Seattle. Heck, we had an F-150 (the normal kind) parked on the side of our street, and it made our street virtually impassable (only one narrow lane because street parking on both sides).

I can't even see it being very popular in the trades here, since trades people often have to utilize street parking at work sites.
So now you have SEAD missions to protect your CAS missions but all in 1/14th scale FPV drones… the future is wild. It’s a game of rock-paper-scissors-lizard-spock.
You can get 20%+ more mileage than EPA on a single charge when doing city driving.

I consistently get 380 miles+ on my Model Y long range.
Very compact (if cryptic) code to smoothly blink an LED using PDM here:

https://gist.github.com/phkahler/1ddddb79fc57072c4269fdd6716...

I just drop that in my 20khz isr and point to the GPIO with the LED.
>because the morons at netcraft told them it was a "phishing website"

How do you know they added a phishing warning because of something Netcraft told them?
It makes some degree of sense for the federal government to have a minimum wage because they have welfare programs. I don't think it's desirable to allow companies to pay wages low enough that the employees qualify for federal welfare.

> As you said, states are moving past the federal minimum wage already, and it is seemingly successful.

Sure, that's basically the current system. The federal government sets an absolute minimum wage, states can set a higher (but now lower) minimum wage, and in some circumstances, cities can set a minimum wage higher than the state.

It works well in concept. I don't think we're great at adjusting the federal minimum wage for states that don't set their own, but that's more a reflection of stagnation in the political system as a whole than an indictment of the minimum wage system.
Congress should also have the same medical insurance that someone on Medicare or Medicaid does. If the coverage isn’t adequate for a senator then it isn’t adequate for a poor or aged person either.
What we lost? Who is this we?
Because it's not about the lifetime of the person creating the software, it's about the lifetime of the software created during employment. The created asset can be used indefinitely after the employee has left. The salary is now considered the capital investment to create the asset.

At least that's now how the IRS sees it. Similar to buying machines to create a physical product.

Maybe they read all these articles about developers working in a feature factory.
It's not exactly a hot take that networking in general is one of the advantages of attending university.

Likewise, if one's opinion is that the point of university is to get an education, you could just as equally counter with "well, you can get an education from many places". And frankly, it's much easier to recreate the educational aspects of a university than the social aspects. I was a hopeless teenager coasting apathetically through life, and attending university got me to break out of my mold and learn how to socialize, set life goals, and be a functioning human being. I wouldn't trade that time for anything.
If we're still entertaining the above analogy, a home kitchen costs more than a PC with a 3090/4090.

But when I got into software in the 90s, it was about $4000 for just a run of the mill desktop PC, which is about $8000 in today's money. And it didn't even have 3d acceleration.

In the grand scheme of things, a 3090/4090 is not expensive.
Far easier solution, elect some representatives that have actual moral fibre, backbone and enought of a brain to understand what they are voting for and won't sell out their neighbours (and themselves) for a steak dinner.
The hours suck, there's a lot of politicking (unsurprising), and if you're a junior member in either party you gotta pay your dues which takes forever. And there's a bit of unofficial hazing (eg. the freshman get the crappy offices with no AC, which is hell in DC during summer)

Those who stick around either really believe in their cause, have a strong following back home, and/or have invested heavily in living in DC by buying a house or have family ties (eg. Pelosi)
First of all this is amazing. Amazing app, amazing dev, amazing story. Everything that the hacker culture stands for, is flourishing in your app. My question is do you make enough to live off apps like these? I really hope so, because these are some of the best tech products in the world and I would love to see more of these.
The same outlet that ranked BMW higher than Volvo in terms of RELIABILITY.
yes, Flink is dumping scala support and returning back to Java

just one of few such decisions in big projects I know of

https://cwiki.apache.org/confluence/display/FLINK/FLIP-265+D...

others I can't mention because not sure if I break NDA...

And if you work with scala on a big enough project - you'd know yourself the kind of pain I mean here.

Everything else in my comment is just a common sense (do you need any prove that the world is an "ugly" complex system that doesn't fit perfect math or functional programming picture?)
Can't you just use the Apple Shortcuts app to do a lot of this?

Pretty sure that can enumerate and query things like the filesize of the photos and videos in your iCloud.
« Some languages, like Go, have a built-in linter, which applies a universal style that’s been set by the language designers. That’s the most totalitarian approach. A decree on what a program should look like that’s barely two feet removed from a compile error. I don’t like that one bit.

It reminds me of Newspeak, the new INGSOC language from Orwell’s 1984. »

I do not like something hence it’s totalitarian and newspeak.

Excellent material for some courses on discourse analysis!
> Your point about Foundation was meaningless and the others just nits. Do you have an actual point to make?

My point, as always, is the truth. You said two false things, which you subsequently admitted were hyperbole. Truth is valuable in itself, and more important than "points", i.e., arguments or motives.

If I were to make a point, though, it's that Objective-C still has a very long life ahead of it, and its complete replacement, if that ever occurs, will be an arduous process, given the amount of extant Objective-C code in the operating systems and first-party apps (not to mention third-party apps). It's not just Objective-C either: C++ is also used quite a bit in the OS. Think of WebKit, for example.
It would seem like a water heater using heat pump tech (these exist) could use this as a source of heat to scavenge in addition to the surrounding air.

I've also wondered why we eject the hot air from running an AC to the outdoors, while we then pay to heat the water in our hot water heaters. That seems like a no-brainer to use that to help heat the hot water.
I made it from empty PCBs hence the squared shape.
VHDL for designing a new chip.
> Without plastics, the food available to you would be more expensive and much less varied.

Maybe that's not so bad? The modern consumer has access to a wide variety of hyper-processed food that is nutritionally bad anyway, the microplastics are just the toxic sprinkles on top.

> No, there is no evidence that the levels of microplastics or free plasticisers in the environment are significantly harmful to human health or ecosystem health, nor any plausible mechanism by which that could be true or become true in the foreseeable future.

What about the xenoestrogens angle, the hypothesis that invasive microplastics are behind the drop in fertility?
heh, I came in here to say "we lost nothing".

people who were addicted to twitter are now addicted to X, people who weren't don't really care.
Daniel Tiger is so much more difficult to watch as an adult, but I have to give it credit for its potty training episode: that was a huge help when trying to potty train our 2.5-year-old. So I definitely agree that a targeted application of Daniel Tiger can really help, and also easier to digest for a pre-schooler.

However, I do think that having complex messages that aren't easy to understand is probably important for young children. "The world is a complicated place" is a lesson I wish even more adults understood. And I've learned that children may show no comprehension of something the first few times they hear it, but it's in there, making connections, shaping the brain as it grows. I can't tell you how many times I've told my daughter something I thought went way over her head (and did, at first), but randomly came out again months later. So by all means go for the simple Daniel Tiger message when it helps them through a problem they're having. But don't underestimate their capacity for deeply integrating ideas from everything they see and hear -- and I love Bluey for being by far the best young kids' show for them to integrate into their brains.
Perhaps you should have walled yourself off from my comment, but you still chose to get upset and reply. Weird how that works.

I'll you the same thing I told the other responder; Hypocrisy's a helluva drug, eh?

Anyway, moving on.
According to these legacy media outlets, Twitter was supposed to be days from total collapse and permanently going offline over a year ago.

And yet, here we are, more than a year later. The legacy media is completely detached from reality. You have to genuinely be in a bubble in a bubble in a bubble (or an idiot) or to not see the propaganda being peddeled.

The legacy media will continue giving Elon Musk all the free advertising he needs to finish disintermediating information away from the enemy class, and democratizing the citizenry.
No matter how many times I clicked the back button it wouldn't let me return to hn. Its a terrible implementation.
I always slap relaxed.ruby.style on every new project that uses rubocop. It disables all the excessive rules.

https://github.com/janlelis/relaxed.ruby.style
Driving around the midwest in the winter time I find I get about 200 miles to the full charge. The cold weather, increased wind speeds, and need to run the heater all eat into the range substantially.

I hear you about wanting to drive up north for outdoor winter sports. It requires a lot more planning once north of Grand Rapids to make sure you won't end up stranded.

Many times I'll stop at a supercharger early just to take advantage of the battery heating the charging provides. That alone makes the rest of the trip more efficient, and I can get back below 300 wh/mi. The heated seats and steering wheel also make a big difference and allow the heat pump to not have to do so much work.
Having money solves money problems. A huge chunk of people worldwide are struggling because of money problems, so of course money will make them happier. Others have problems that have nothing to do with money, and for them "just spend more wisely, duh" is idiotic advice.

So the answer to "does money make people happy?" (on in this case "does using money correctly make people happy?") is – first tell me why they are unhappy.
You should give it an other go building on SwiftData and the new Observation API’s. They made leaps and bounds and it’s so much better now!

I’m having a lot of fun with it at the moment. If you stay within the bounds of how they encourage you to build the apps, you can just go go go and with very little work release a fast, stable, native app across all their platforms.
I've settled on much the same as you, Flutter/Dart and Vultr. Haven't needed much in the way of cloud storage so just use the filesystem and MySQL. For anything webby, Vue/TypeScript on Netlify + CloudFlare. The backend language/framework can vary if I'm interested in something at the time (e.g. F#/Giraffe).
Changes in ESPHome configuration validation – Pin Reuse validation