skysight-inc/HackerNews huggingface dataset:
The code examples are written in Toit:

https://toitlang.org/

> Toit is a modern high-level language designed specifically for microcontrollers

> Toit is optimised for live reloading on your microcontroller. Your code runs incrementally as you write it and you get instant feedback. Push changes over your local WiFi in two seconds and reserve your USB cable for charging your phone. You iterate quickly, learn fast, and build better things.
Slow as heck tho compared to on a dedicated card. I was running it on my M1 pro till I bought some old miners to resell and tried out a 3070. That thing gets me a 512 x 512 DDIM 20 steps photorealistic image with protogen 5.3 in 2.85 seconds. Its insane to watch it churn out images like that. My on my MPB I had to downgrade to the older SD model that was trained only one 256 x 256 to get decent feedback on my prompts.
It can be implemented in hardware but the implementation would be more complex than a digital adder based on logical gates.
Pathogens. Find Earth's twin. Land on it. Die a miserable death shortly thereafter.
Does "OOPS" stand for anything in this article? It's uppercased but never defined.
This solution is free.
Their methodology of judging popularity is absurd.
Wouldn't supertalls need much higher water pressure to reach top floors, resulting in both higher chance of ruptures and larger spills in such cases?
I assume that the person who replied to the github issue actually works for The Trade Desk, not the IAB.

UID2 came from TTD IIRC.
That's not true, there have been several medical center drug lists since mid 2020, with the most(?) popular probably being the one shared by the Eastern Virginia Medical School which they began in Jul 2020 and kept updating. Here's a snapshot of it:

(formatting compactly to save space)

Suggested approach to prophylaxis and treatment of COVID-19

Prophylaxis

While there is very limited data (and none specific for COVID-19), the following “cocktail” may have a
role in the prevention/mitigation of COVID-19 disease, especially amongst the most vulnerable citizens
in our community; i.e. those over the age of 60 years and those with medical comorbidities. While there
is no high level evidence that this cocktail is effective; it is cheap, safe and should be readily available. So
what is there to lose?

• Vitamin C 500 mg BID and Quercetin 250-500 mg BID
• Zinc 75-100 mg/day (acetate, gluconate or picolinate). Zinc lozenges are preferred. After 1-2
months, reduce the dose to 30-50 mg/day.
• Melatonin (slow release): Begin with 0.3mg and increase as tolerated to 1-2 mg at night
• Vitamin D3 1000-4000 u/day (optimal dose unknown). Likely that those with baseline low 25-
OH vitamin D levels and those > living at 40o latitude will benefit the most.

Mildly Symptomatic patients (on floor):

• Vitamin C 500mg BID and Quercetin 250-500 mg BID (if available)
• Zinc 75-100 mg/day
• Melatonin 6-12 mg at night (the optimal dose is unknown)
• Vitamin D3 1000-4000 u/day
• Enoxaparin 40-60mg day (if not contraindicated; dose adjust with CrCl < 30ml/min)
• Optional (and if available): Chloroquine 500 mg PO BID for 5 days or hydroxychloroquine 400mg
BID day 1 followed by 200mg BID for 4 days
• Observe closely.
• N/C 2L /min if required (max 4 L/min; consider early t/f to ICU for escalation of care).
• Avoid Nebulization and Respiratory treatments. Use “Spinhaler” or MDI and spacer if required.
• Avoid non-invasive ventilation
• T/f EARLY to the ICU for increasing respiratory signs/symptoms.

https://srpc.ca/resources/Documents/COVID-19%20Resources/Cli...
Very nice and interesting read.
> another 7-10 minutes to do the elevator ride

Really?! This sounds _very_ high.

> then another 10-30 minutes to get to the hospital.

This also sounds pretty high. Looks like there's a general hospital literally 500m away in this case.

> in a small town ambulance response time is about the same, and travel to the local hospital is also about the same

It's going to depend on the small town, but I would assume that most small towns are _not_ within 30 mins of a general hospital. Of course, depending on what's wrong with you, something less than a general hospital might work, but then again it might not.
In a similar vein, is there someplace where my kids can watch He-Man, The Gummi Bears and GI Joe today?
I'm at elevated risk for skin cancer, which is almost trivial to handle with monitoring. It's a perfect case for a phone app / camera app. Not just "is this cancerous" but "how has this changed over time"
I've myself tried to create a small simulation of water and erosion, and although very fun I found it extremely hard to implement. (so well done to you!)

Is it a grid based system underneath? How do you calculate water displacement, is it with a vector field? anything else you'd like to share about the implementation?
Great idea. Working on it!
Why does the arrow only go to PagerDuty and not from it? I imagine there's already integrations that initiate an incident via PD so it could be managed from this system. Going only to PD means it has to be managed downstream, recreated in the system or migrate all integrations from PD to an intermediary which seems unwise as it's another failure point.

With the arrows the way they are, I would think that this is more of an incident filtering and initiator than management with a people-perspective. My memory's fuzzy but I recall something like that for SNMP traps, maybe called NetView.
Clearly it's very hard to push for a vaccination mandate when acknowledging uncertainties like "more research is needed to determine which age/gender cohorts net benefit from vaccination". Much easier to push forward based on aggregate results from preliminary data. Some people think the end justifies the means but I'm very much opposed to misrepresenting scientific results to justify public policy.
Isn't it up to the email provider whether `+` and `.` are ignored in email addresses, won't removing them to "normalize" end up sometimes mapping different email addresses to the same identifier?

I guess maybe that edge case is not nearly as bad for the advertisers as failing to link the same person, so it's tolerable?
Ancient Mediterranean artefacts on show for first time in UK
There are already a growing number of services that won't even allow you to sign up unless you have an email at one of the large services. I never noticed until I started using my personal domain to separate work/personal after changing jobs recently.
That way you can ensure that nobody in the audience will have tried to run it? :)
It looks like a wrapper arround hyper?
well there is no need to immediately resign

the employers behaviour here is offensive to any persons sensibilities and I think everyone reading this would be of the same mind to moving on as soon as possible. The way to do this is of course start talking with other employers, there is no reason why you couldn't rustle up some more suitable opportunities whilst you continue in post with this employer. Go only when you have found the right opportunity
When you have enough savings to take the plunge and survive until you either pick up work or return to a perm position.

Many people love the idea of being their own boss but the reality can be quite different and they return to perm roles.
Not if you are going to rent your tent as a house afterwards.
All the Data Apple Collects About You–and How to Limit It
it would disastrously fitting for our current level of civilisation for lawsuits stop human progress
We're well into the realm of arguing ridiculous scenarios, but in that vein: the Earth will 100% become thermally uninhabitable before Mars as the Sun turns towards being a red giant. There will be a period of time when a terraformed Mars would be more temperate than the Earth.
When you expect your network to learn a binary adder and it learns FFT addition instead. :)

(For an ANN FFT is more natural as it's a projection algorithm.)
Looking at the code it relies on Hyper which doesn't support H3 yet

https://github.com/hyperium/hyper/issues/1818
ChatGPT tried to write an obit for Martin Davis. What it got right, wrong
> Personally, I love arbitrary memory access.

C++ does not really permit this. It is incredibly hard to do type punning from void* without hitting UB. You really are only allowed to access objects through their names according to their lifetimes.

Here (https://www.youtube.com/watch?v=IAdLwUXRUvg) is a fun talk that involves trying to do a pretty basic kind of arbitrary memory access and concluding that it is simply not possible in C++.
Wow, what a blast from the past. Protocols that don't sit on top of HTTP.
My first thought was "this better be WSGI!!!" and sure enough it is. If you're doing Python web development and you have no idea what WSGI or ASGI are, you really ought to learn more about them. ASGI is the Async equivalent / answer to WSGI. It is one of the main ways to deploy any web application in Python. Every major web framework supports it OOTB and heck, even one of the fastest web frameworks for Python (FastAPI) uses it exclusively.

Thanks to WSGI you can have projects like this that focus on scaling out your Python web all to the fullest extent possible.
The "leak" could be the company selling their email list, yes?
You don't need an extension to do that. You can get by with a bookmarklet, which would be wise, considering how much contempt browser makers have for extension authors.
2011 Hyundai Elantra, low tech and automatic transmission. I've been looking at buying a new plug-in hybrid Lexus NX 450h+ for my wife, and maybe the upcoming Lexus RX 450h+ for myself.

We both mostly work from home, so a the battery powertrain will cover most of our daily driving like school runs and errands. Occasionally for longer trips, the gas engine is there as needed and has great fuel economy on it's own. And the Lexus balances premium look and feel with Toyota reliability and low cost maintenance.
Most popular options seem pretty well exposed via. gnome-tweaks. I'm curious which others you find missing?
After you get to tty using ctrl alt F. killall sends a TERM signal by default. You could send a KILL signal using "killall -KILL APPNAME". You could also run top using the nice command: "nice -20 top" in order to get the highest priority possible for the top process.
There’s room in the market for a commercially supported *Nix.

Linux is ‘good enough’ for a lot of people, but it’s interface is inconsistent (something a lot of OSes suffer from). A set of tools were all of the commands used the same argument structure in the same order would be hugely beneficial.

This is just my opinion.
> the service needs to show you fewer ads to hit their ad revenue target for you.

In a logical world, yes.

In a capitalist world, that revenue target goes up every year. Apple became the richest company on earth selling hardware, yet here they are now drowning their software with ads.
Job openings data is missing a recent upturn in layoffs
> next level Puritan shit

yups. and besides that: where to draw the line and how to enforce it? "sugar" for instance...
I drive a Ford Mondeo (diesel estate 50MPG) in the UK. I bought it because it has very large cabin space for loading bikes/kayaks, I also have 2 children. I can sleep in it if I need to while away from home. I previously had this car for 10 years and then it needed replacing, so I bought another one, which I've now also had for about 10 years. I might buy a petrol car next (probably skoda superb) but electric cars aren't really ready in the uk for people who like to travel around in countryside areas with a lot of stuff. If they are they cost a huge amount of money. Both of these cars cost around 10K pounds at 2-3 years old.
While I don't see that mentioned very often I do think off-Earth settlements could have many benefits even for the Earth population - say research commoning from experience of living in space environments could have application on Earth. Also many asteroid strikes could be much more likely to be detected and averted using in-space instruments and infrastructure.

Even more exotic stuff like dropping first responders from orbit to disaster areas might be useful, but would not ever be doable without infrastructure in place for supporting space operations.
In which sense is cuda polyglot? It's a dialect of C++. Maybe you mean cuda the toolchain (driver libs, ptxas etc) as opposed to cuda the language. Shame they have the same name.

Anything targeting PTX via LLVM should be able to target GCN by changing flags, though that may not be totally seamless.

Things writing ptx assembly directly would be more awkward to retarget, there's no direct equivalent there.
People who used vi/vim may also know this one as a way to get out of insert mode that is somewhat easier to reach. Nowadays I remap the TAB key to send ESC.
You are blaming individual families on one hand for not budgeting for children and giving CEOs the benefit of the doubt for not budgeting for economic headwinds. This is the precise propaganda I was talking about.

At least I have a consistent logic: if the issue is that we have an unhealthy population we should prioritize the health of the population. Give people the time to exercise and cook. Give people the healthcare they need. Give people who fall down a way to get back up without crushing humiliation, debasement, and poverty trauma.
Interesting.

Back in the invite-only beta days, I signed up for a firstName.lastName@gmail.com address. It appears that years later someone else signed up using the same first and last name but without the dot, and that they are distinct gmail accounts.
I had one of these when I was over in Canada (paddling Ottawa river) in 2004, it was a great vehicle.
Any time someone uses the phrase “good faith” you can discount everything they say, fyi. It’s a bad faith statement about a strawman of the opposition. Kind of ironic.
> It's a leftover philosophy from a time when everyone thought object oriented programming was the only way to go.

I'm not sure object oriented programming ever really caught on. The only object oriented languages that ever gained any claim to fame are Smalltalk, Objective-C, and Ruby. And none of them really gained what I would consider mass appeal, let alone thinking that they were the "only way to go".

> SQL is already a high level abstraction.

SQL is a high level query abstraction, but we're talking about the data model. Again, a relation is nothing more than a set of tuples[1]. That is a very primitive data abstraction.

Using Javascript notation, consider the relation: [["John",32], ["Jane",23]]. Now consider a function that takes that input and outputs: [{name:"John", age:32}, {name:"Jane", age: 23}]. That's ORM. That's all ORM is. You see no value in those higher level structures?

> The models already exist in the database. Why build a repetitive model in the application language?

Primarily because your data store is an implementation detail of your repository layer that shouldn't leak into the rest of the application. Even if your application's domain model can be ideally represented as relations, you still will want a conversion step to not bind that data model to the database's model. Schema changes to the database shouldn't break the users of your code.

> It's a cosmetic thing because people don't want to deal with string manipulation.

String manipulation? Are you encoding your application's state into something like JSON at every turn, or where do strings come into play? Don't do that. Even if you do need to share your application's state (e.g. to share over the network) in a stringly fashion, use another conversion pass to convert your internal representation to the sharable format. Your central domain model should be optimized for the machine's local memory.

[1] If we are being pedantic, SQL actually deviates from the relational model by not staying completely true to sets. But the terminology has stuck regardless.
Python comes with an HTTP server built-in!

https://docs.python.org/3/library/http.server.html
2006 Subaru Outback. We put more annual mileage on our bikes so I probably wouldn’t replace it if it broke but since we already paid for it before leaving suburban California we’ve kept it. 30mpg is lower than I’d like but still higher than most of the new vehicles affluent people are buying around here and since roughly half of the total CO2 is manufacturing I don’t think it makes sense replace a perfectly good car.

If we were buying a new one, I wouldn’t buy an ICE or anything which uses a touchscreen for anything I need to use quickly while driving.

Infotainment systems are another potential deal breaker. I’ve had half a dozen rentals where simply plugging my phone in via USB broke their software (too many tracks in my music collection and some with non-ASCII characters, too many contacts) so I don’t want to pay for anything more than Car Play.
An analogue of this might make a very interesting California ballot measure:

All bills which gather or correlate data must be applied such that their provisions first be applied to legislators.

Or something like that
This. Have been doing this for years as whilst it's been very handy to prevent password leakage etc, it's also very interesting to see where my spam comes from; facebook@ is the biggest culprit.
I've been doing the same thing for nearly 20 years. In that time I've helped two site owners identify data breaches they were unaware of. I can also see evidence of several of the compromises identified in the "Have I Been Pwned" data set.
Have you ever received any spam addressed to that account? I've signed up for countless services over the past decade, the only ones to ever spam me were university consulting groups back from the time I was applying to grad school.
The Drum Major Instinct (video, 1968)
Interesting. I get a little uneasy watching it.
And they don’t charge a penny. Even the cafeteria is free for patients.
Lawsuit risk from nvidia seems likely
With all the doom-and-gloom we get from tech news (and society) most of the time, stories like this make me genuinely excited for the future
It's optimal
along the same lines of 'social media subverts democracy', you begin to wonder if 'democracy' is so damn vulnerable to technological advances that perhaps it is no longer fit for purpose? We are well overdue a refactor of our political system, it is a full stack of anachronisms at this point
The Seven Habits of Freedom Loving Academics
Macros in 24 Programming Languages
The Sweet Spot for Buying Used Cars
Yes, it's called amphetamine. There is an alternative to being fat too, it's called broccoli. The point isn't that there are no alternatives, just that choosing to smoke is just as morally justifiable as choosing to be fat. Whether that means you should judge both categories of people, or neither, is up to you, but there can be good reasons why people are in either category. Things are rarely so black and white in the real world.
Looks like the external funding at least consists of Igalia dedicating four people: https://people.igalia.com/mrego/servo/igalia-servo-tsc-2022/
Populous was a game (series of games) where you could raise and lower mountains for various reasons, this mechanism could be used in a game like that. Actually I do remember a game in a series like that - may have been a sequel to Black & White? That had things like (water) erosion and the like as well.
Reminds me on https://atom.watch
I setup a sequence of letters which makes it completely unobvious for anyone who doesn't know the sequence
Sure, it is false for many. But many of us on HN moved away from family to chase the excitement of Bay Area, NYC, etc. to work on cutting edge tech. And we could potentially have no problem getting hired at a boring, less stressful, 9-5 job tech job back where our families live. Many of us here have options.
They can’t win this fight against people like us, but for the rest of people it’s a mess.
It is one example of gazillions. I chose it because it was published a few days ago.

We've somehow as a community just come to accept that linux will be riddled with security vulns. This is incredible to me, as the security of an enormous number of our applications depends on the kernel being secure. What ratio of vulns to lines of code in linux would you find acceptable?
> But I think you should at least appreciate the irony that if we had added properties, I would be responding right now to another equally annoyed person complaining that we're not learning the lessons of Go and Zig and Rust

Most likely not.

Meanwhile C# could build on the strength of what they have in the language. And Java, and I cannot repeat it enough times, will have a half-assed solution applicable only to a small part of the language while keeping the inanity of manual `.of` methods, manual interminable chains of builder methods, and other half-assed solutions everywhere else.

While denigrating other languages and their decisions.

Even the link you provided clearly states this: "And, everything we can do with records but not with classes increases a gap where users might feel they have to make a hard choice; it's time to start charting the path of generalizing the record "goodies" so that suitable classes can join in the fun."

Again: while others have built on the languages features they have, and they are immediately propagated through the language with little to no additional effort, "Java does not adopt strategies from less successful products", and "keep the language conservative". And yet here we are, "learning from C#" and struggling how to figure out a simple (for some definition of simple) addition so that it works with the rest of the language that has languished in the "conservative" land for too long.

Edit.

I also wonder how many of the things that are currently placeholders will be required and will surpass anything C# and other "lesser languages" have come up with: factory, __byname, __deconstructor etc.
Nordic walkers! Tai chi grandma's!
That's a really good reason why clothing stores should be exchange-only for returns. If you don't like it or it doesn't fit, you should be able to find something else in the store that fits that you do like.

Return fraud leading to perfectly good clothes being wasted is not only bad for the environment but likely leads to higher clothes prices for legitimate customers.
> There's no legal speak as to what constitutes Big Tech. What if it's a social media company that does financial transactions?

Again. This is literally what law is all about. All existing law was created from baselines like these, and this is a very very poor excuse to refuse to regulate a massive and dangerous industry.

Refusing the ability for the government to absorb the data of big tech is not empowering them, it's weakening them.
Who's first? Eric Schmidt? Zuckerberg? Dorsey?

There's a reason these people live in gated communities and don't let their kids use their apps.
“You're the Best” – The Karate Kid (1984) [video]