skysight-inc/HackerNews huggingface dataset:
A thing I tell junior programmers is that their job isn't so much to solve problems, as to help figure out what the problem really is, and solve that. When somebody asks for a thing, don't go silent and go and build precisely that thing, and then come back weeks (or, heaven help us, months) later with that thing. Rather, talk to them! Hardly anybody knows what they want! Your job isn't to do precisely what they say they want, it's to help them figure out what they want! Iterate!

So, in that vein, both the solution *and the problem* are fair game for attack.

There is a wonderful, wonderful short essay by Michael Jackson (the other one) called "Brilliance" in his book "Software Requirements and Specifications". It is poignant, even painful, in the way that the the TV shows Silicon Valley or The Office are exquisitely painful. It is, alas, impossible to find unless you know exactly what you are looking for, but...

*Brilliance*, by Michael Jackson (from "Software Requirements and Specifications")

Some time ago I spent a week giving an in-house program design course at a manufacturing company in the mid-west of the United States. On the Friday afternoon it was all over. The DP Manager, who had arranged the course and was paying for it out of his budget, asked me into his office.

"What do you think?" he asked. He was asking me to tell him my impressions of his operation and his staff. "Pretty good," I said. "You've got some good people there." Program design courses are hard work; I was very tired; and staff evaluation consultancy is charged extra. Anyway, I knew he really wanted to tell me his own thoughts.

"What did you think of Fred?" he asked. "We all think Fred's brilliant." "He's very clever," I said. "He's not very enthusiastic about methods, but he knows a lot about programming." "Yes," said the DP Manager. He swiveled round in his chair to face a huge flowchart stuck to the wall: about five large sheets of line printer paper, maybe two hundred symbols, hundreds of connecting lines. "Fred did that. It's the build-up of gross pay for our weekly payroll. No one else except Fred understands it." His voice dropped to a reverent hush. "Fred tells me that he's not sure he understands it himself."

"Terrific," I mumbled respectfully. I go the picture clearly. Fred as Frankenstein, Fred the brilliant creator of the uncontrollable monster flowchart. That matched my own impression of Fred very well. "But what about Jane?" I said. "I thought Jane was very good. She picked up the program design ideas very fast."

"Yes," said the DP Manager. "Jane came to us with a great reputation. We thought she was going to be as brilliant as Fred. But she hasn't really proved herself yet. We've given her a few problems that we thought were going to be really tough, but when she finished it turned out they weren't really tough at all. Most of them turned out pretty simple. She hasn't really proved herself yet - if you see what I mean?"

I saw what he meant.
I watched Doug DeMuro latest video on the ID.4 and he says it's not fast. On one hand performance might not be needed for a people mover. On the other hand people expect EV's to have superior performance.
I wouldnt call it a "gotcha". Using vanilla javascript you'd be using className as well:

document.body.className = 'class1 class2'

JSX chose to align names to the DOM spec [0]. Same for htmlFor and friends.

[0] https://dom.spec.whatwg.org/#ref-for-dom-element-classname%E...
IRS Opened Investigation into Journalist Matt Taibbi on Christas Eve
Because this person is conservative and cherry-picking those who are impartial and far-left. Notice how they do not point out any paradigms where the person is clearly conservative; I have a feeling they exist, just like the examples they chose to highlight.

I guarantee they purposefully picked the West Point grad paradigm as a way to say, "oh this is someone who is very likely to be very conservative who isn't behaving like the ideologies I've shared."
We also need to normalize not tipping in most situations (outside of restaurants) and instead force employers to pay a reasonable wage to their employees. I, as a customer, should not have to take on the mental or emotional burden of deciding an employee's compensation every time I buy something.
Exactly. Whether he intended to or not, he - HIMSELF - put two different, equally authorially-dominant, sets of answers into the wild and expected students to pick the best one in what can only be described as an unauthorized (afaik?) social experiment.

Fuck the students who thought "wait, this seems like...way wrong. I feel like he said the exact opposite in class...? But, I mean, this IS the test that I'm looking at, so I guess I'm just misremembering...", is the apparent sentiment. At least he caught the obvious cheaters, right?
I believe I've heard that you can ask Tesla if it has the free supercharging for life. The impression I get is that if they get resold through Tesla, Tesla is removing it, especially problematic now that they are offering "money" to remove it, so it's difficult to know based on age.

It looks like the Model S 2017 and older came with free supercharging, and the Model 3 Performance in 2018 and 2019. Model X in 2016 and 2017. Some S & X up to 2020 had unlimited supercharging.

Login to the Tesla website, click on "Manage" next to the car, then click on "Details" and it'll say "Free unlimited supercharging" if it has it.
Maieutic Prompting: Logically Consistent Reasoning with Recursive Explanations
> but how these laws are being abused by governments in order to hide public information.

Now you are on the right track; you should just specify to which "these laws" refer to. As I said, the GDPR is hardly the main culprit; it governs personal data, which is usually of little value beyond gossip magazines and crime "journalism". The real abuses of FOI are elsewhere.
Microsoft Teams update could turn your meeting into a complete mess
Reminiscent of https://en.wikipedia.org/wiki/Trap_street
Damn, that is one nice car. Had the reputation of being the car former hippy teachers drive, but I always loved them. Get me an Aero so!
I still think OpenSSL is a massive success story. It’s used everywhere and it’s good.

Not perfect, and has serious bugs but it’s been used by millions for decades. Even software that costs billions has zero days.

We could be in a world where everyone pays RSA and still have massive vulnerabilities.

We could be so lucky if all software ra exactly like OpenSSL.
There has been a short moment in the history of the web when XML + XSLT looked like to become the way to go. It was at the end of the 90s, when we were looking at a way to develop web sites for both people at home with modems or slow fiber and for people with 2G phones (that is even slower modems and very small screens). We had HTML and WAP and products to apply XSLT to XML and deliver the same site to both audiences. Then 3G came with larger screens, faster CPUs, better browsers and in a few years we were using HTML for everybody with responsive layouts, media query, etc to the rescue. This is probably the first time I heard about XSLT in the last 10 years.
Thank you! I wonder how the other source calculated their answer
Colorado districts built up a supply of Chromebooks. Some are nearing their end
Chromebooks reach their “death date” when they are no longer capable of receiving operating system updates. Replacing them straps district budgets and harms the environment.
I have one and it has been great. We had to buy the most expensive trim to get one - not sure that is true anymore. We mostly use the battery as we live in a small city. Most of our commute and errands are within range or it swaps to gas. I fill up every other month if that. If we go on the road of course it’s basically an ICEbox but still gets better mileage than my older toyotas did. It charges the battery from our home charger in a couple of hours so on weekends we end up using the battery twice a day.
To me, it is good at being simultaneously distinct from and reminscent of Firefox. If I have both of these on my taskbar, I'll know they're related but never get them confused for one another. The old one didn't pair quite as well.
One problem doing this for tech is that we've normalized so much bad behavior.

For example, go back 30 years, and make ordinary software spy on its users, or otherwise act against users' interests, and I think you'd be seen as evil and possibly criminal.

One promising thing, though, is that college students might still be be more open to confronting issues of ethics and morality. (Though often it's only "Revolutionaries till graduation", because of sheltered circumstances or social fashion.) But college is a bit late, and students are already being driven to mercenary behavior by e.g., competition for FAANG jobs (like I used to mainly hear about desperate/ruthless behavior by some pre-meds). Ideally, we teach better values from early age, including by example.
They are relevant to equity. We can't just stay in our air-conditioned running water homes playing on the internet and going to work in our cars while complaining that poor people in India and China and elsewhere should just spend more on solar since cheap coal is too dirty. They clearly have a much dire need for energy than we do, so it is up to us to either help them reach that energy need without coal and gas, or to reduce our energy consumption (and lifestyle) commensurately with how much they are producing.

If they build 2 coal plants, we can tear down 4 natural gas plants and still reduce overall emissions. Sure, we may need some rolling blackouts, but such is the price - we'll still live much better than the vast majority of the world.
Not to speak of its later wave-motion engine: https://yamato.fandom.com/wiki/Wave-motion_Engine_(2199)
child? that tactic still works as an adult. even with strangers in a restaurant, besides who wants to eat "inside" that stupid restaurant anyway.
Whilst it's unfortunate this kid might be cheating the system, I don't think it's worth being upset if they got through. The point of these exams is to allow students to study and learn these topics, which it sounds like they did. It sounds like while maybe you failed in gatekeeping the cheaters (an impossible post gpt task) you have succeeded in the real goal which was to help these kids learn and improve.
Yes. And from what I understand, they’ll never license their name to an automaker again. So even if somehow Saab-cars-the-company could be resurrected, it would be under a new identity (like, say, New Electric Vehicle Sweden or whatever it was called - doesn’t exactly roll off the tongue).

My favorite bit of Saab trivia is that in the 60s, Norway offered Sweden half of its mineral interests in the North Sea in exchange for 40% of Saab. Sweden declined.
The benefit with 3-phase is that you now can use a single cable/charger to charge up to three separate cars, which greatly reduces the cost of setting up a lot of chargers in, say, a parking garage. And you can opportunistically deliver up to 11-22kW (240V/400V) to a single car. Greatly reduces the amount of hardware needed.
Seems weird that you can try and persecute sex crimes, yet care for the freedom of the press, but yes.
This tech has about as much chance to continue unregulated as highly enriched uranium. There is no future-path that includes unregulated AI.

I don't like horrific government abuse of residents,and I would not mind throwing most billionaire CEOs into a pool of alligators and dissolving their corporations. I don't like Altman, I think he's a smart person with NOBUS-level reckless hubris who is softballing the magnitude of the dangera to wet. The status quo is not good and it's getting worse.z

It doesn't matter. 5 people with launch-all-the-nukes buttons is better than 500 million.
In research, you have this situation quite often.

Often you at least have some intuition or assumption on sth and then you just keep doing experiments to either confirm or falsify this. When sth does not work yet, you do experiments or analysis to better understand why it is failing. And then you try out more ideas to compensate those problems.

There is really no ending here, you can push it further and further as much as you like. You will get a better understanding along the way on what is possible and what is not.
Improving GPT-4’s codebase understanding with a map
I'll do you one better: Porsche Cayenne not only shares a platform and some systems with the VW Touareg, the rear doors are interchangeable.
Joro spiders aren’t scary. They’re shy
Despite their intimidating appearance, the giant yellow and blue-black spiders spreading across the Southeastern U.S. owe their survival to a surprising trait: They’re rather timid. According to a new study from the University of Georgia, the Jorō (Joro) spider may be the shyest spider ever documented.
I treat Glassdoor reviews like Amazon reviews.

I immediately go to the 1 and 2 stars, and read all the negative reviews. I then look for trends in those negatives.

If I see no real trend, and instead people being dumb, I ignore them. If I see distinct trends of faulty thing, or fails to perform, then I know to avoid.

I assume (well, rightfully so) that any 4's and 5's are gamified and or just outright fraudulent. Companies who run these review sections are directly complicit, and usually rely on these ratings to "make the sale" or otherwise hold mind share.

There's not much we can do here. Just hope we hit jackpot on the employer lottery.
I don't think the honeypot is necessarily unethical, but giving a take-home multiple choice final exam for a philosophy course seems like several levels of bad pedagogy.
Imagine instead that you’re sitting on a swivel chair and you fire a gun with your right hand. This is more akin to how ejection of materials work. When you put your hands out on the swivel chair, the hands are still attached and are forced into orbit around your torso, when you eject material this isn’t the case, and it leaves the system.
Our uni's CS students kept an online catalogue of past exams/answers/cheat-sheets so it was somewhat democratic for it's time :) Tho I guess you had to know it exists to find it first.
Looking for good parts of 4.5 degrees of warming is like looking for a bright side in a horrible apartment fire. Sure, it might open up some more green space for a future park, but given all the terrible death and suffering that kind of misses the point.
Something like Pug[1] is really nice to avoid all the xml cluttering.

[1] https://pugjs.org/
This feels harsh because if the tests were similar but with small differences then getting the right wrong answers seems likely to happen anyway. Also, he went the extra step and outright failed the student but I'm not sure why that extra step was justified, surely the cheaters were automatically going to get very poor marks.
The article says pretty much all of the reviews which got removed were the unreasonable ones (rude language, unfounded accusations, and TOS violations). Albeit according to the HR reps, but with context it sounds believable.
I suspect you are confusing me for Ee Durbin, Director of Infrastructure at the PSF.

I'm not doing anything for the Python ecosystem. I'm a Python developer, not part of core dev, PyPI, Python packaging, or anything ecosystem related.
https://www.telegraph.co.uk/business/2023/05/26/elon-musk-te...
The evolution of React APIs and code reuse
I'm thinking if it had been notorious, people would know what you're referring to.
It seems obviously wrong to incarcerate citizens on the basis of ethnicity. That said, an important part of the discussion that usually isn't discussed at all is the Ni'ihau incident: https://en.wikipedia.org/wiki/Niihau_incident

TLDR: The first thing that happened in WWII for the United States was the attack on Pearl Harbor. The second thing is a Japanese pilot crash-landed on Ni'ihau on his way home from bombing Pearl, and a Japanese immigrant and a couple Japanese-Americans decided to take his side and help him (treason, of course). In the end a couple people were shot.

Edit: I'll add some discussion from below to the top-level comment, I think it improves it.

In a situation where you have no data (hostilities just started), this incident being one of the first things that happen is, in fact, quite striking. And, critically, these people weren't spies or saboteurs. They were rando civilians who, without premeditation or contact with enemy government, decided on the spot to help the enemy. If you were a commander in that war you would rightly find it terrifying. It is, we might say, a bad look.

I bring it up in response to the story because it's an obvious part of the narrative about Japanese internment camps in the U.S. in WWII that is suppressed because it is inconvenient and uncomfortable. That doesn't mean we should ignore it, though.

Obviously, this event makes the actions the U.S. government took look more justifiable. The fact that it happened so quickly after hostilities started is also striking. The idea that Japanese immigrants and Japanese-Americans are more likely to turn against their adopted country than, say, German or Italian immigrants seems more plausible in this light, and that helps understand the decisions made by people in power (in addition to stuff you already know, like Japanese is a very different language to English and culture to American, far more different than either German or Italian, and Japanese people and other East Asians are much more easily visually distinguished, etc.).

And, I will reiterate, in my mind it doesn't justify interning tens of thousands of citizens on the basis of ethnicity. It seems obviously wrong to me, either you're a citizen and you get the same rights as everyone else, or you're not. Discriminating on the basis of ethnicity is...racism? Not quite, but I suppose that's the word people use. It is a stain on the country's history.
From my experience working at a university (in the foreign language department), I found a number of students who put a large effort into "getting out of work". I was astonished at the number who put more effort into avoiding work than it would have taken to get an A.

If I were in this professor's case, I'd just mark the answers wrong, and in the future upload more wrong answers. The students who use these sorts of online dumps aren't the ones who study and will beg at the end of the semester for some sort of extra-credit. If it were necessary, perhaps have a second gradebook where the number of "exactly the same wrong answer as the bait" were kept.
Dr John Campbell talks through the paper in a 15 minute YouTube video here: https://www.youtube.com/watch?v=iyo2UNQcdpQ
I think it's good. This sort of thing will move Universities back to being about teaching and research instead of vending credentials.
I think/hope most people agree the internment of western Japanese people was abhorrent.

Hypothetically, how many instances of sabotage/war-like acts by Japanese Americans would have to happen before the internments would be justified?

I also wonder how much of a impact the Niihau incident had on the decision to do internments. Literally the first Japanese-Americans that had an opportunity helped a pearl harbor attacker terrorize Niihau.
I use HN a lot, but not sure I can use this. While user profile tooltips and inline reply authoring would be nice, I'm struggling with the typographic choices, it feels a lot harder to visually parse, and most of what I'm doing on HN is reading.
> This is how you can buy a gas powered car and have lower emissions than an electric F-150, Rivian, Hummer, etc. because those require so much more steel and thus manufacturing emissions.

That's a different problem - US consumers are (lured to) buying SUVs because of an old loophole [1] and because SUVs make really good margins so manufacturers prioritize these in advertising. Nothing, absolutely nothing makes an electric vehicle be heavier than an ICE vehicle.

Comparing apples to apples, a Tesla Model S clocks in at 2255kg max dry weight, a 7-series BMW at 2525kg.

[1] https://www.wired.com/story/the-us-wants-to-close-the-suv-lo...
I'm inclined to agree. If you're actively putting out misinformation, that's always bad. It feels a bit "entrapment"-ey.

Sort of tangential, but I have always thought teachers/professors who put "trick" questions on tests to be sort of assholes. It's fine if it's an extra credit thing and isn't going to take away from the final grade, but when you write a question that literally everyone in the class gets wrong, I think that says a lot more about your communication or teaching ability than the students.
Its not really a templating system - its just syntactic sugar for making very nested function calls that evaluate to a tree like data structure.

JSX:
<div><div><div></div></div></div>

Compiles to:
createElement('div', null, createElement('div', null, createElement('div', null)))
Dancing baby and "All your base are belong to us" are definitely from the 90s.
Many frameworks do exactly that, including React and https://github.com/vanjs-org/van
In case anyone's wondering, this is a TV series:

https://m.imdb.com/title/tt0808491
How do you manage the card on file? Who is hosting the file?
In that example, your arms are still rotating about an axis. The moment of inertia of the rotating body increases, so the angular velocity decreases. Imagine instead that the ejected material is no longer rotating about an axis (say, you detached your arms and flung them away in a straight line); the moment of inertia of the remaining rotating body _decreases_, so the angular velocity increases.
>> He said right out, the course was designed to cull the heard.

That seems unethical too. Students are paying to learn material. Professors are ostensibly there to teach it. Making it extra hard seems to go against that.
At least in North America I don't think this is true. GM can't reliably produce the Lyriq or Hummer and is ending the Bolt. Ford has stagnate sales on the MachE and Lighting porduction was stopped during Q1. Toyota and Honda are MIA.
Another piece of the puzzle seems to be transformer "induction heads" where attention heads in consecutive layers work together to provide a mechanism that is believed to be responsible for much of in-context learning. The idea is that earlier instances of a token pattern/sequence in the context are used to predict the continuation of a similar pattern later on.

In the most simple case this is a copying operation such that an early occurrence of AB predicts that a later A should be followed by B. In the more general case this becomes A'B' => AB which seems to be more of an analogy type relationship.

https://arxiv.org/abs/2209.11895

https://youtu.be/Vea4cfn6TOA

This is still only a low level mechanistic type of operation, but at least a glimpse into how transformers are operating at inference time.
This doesn't (necessarily) have anything to do with rotation speed, and the article doesn't say it does. The fact that Betelgeuse is pulsating more quickly does not imply that it is rotating more quickly.

Making an entire star suddenly spin twice as fast on its axis would require a staggeringly, absurdly huge transfer of energy and angular momentum. The mass ejected from Betelgeuse was much, much smaller than the star's total mass, and would not have been capable of causing such an effect.
It also works with ffmpeg but only if you specify it

progress -wc ffmpeg
I'm just savoring the irony here.
Wait, Saab made cars with odometers that actually use Scandinavian miles? Is this a Saab thing? Or are all cars sold in Norway/Sweden set up that way?
PhotoLine (1996, https://en.wikipedia.org/wiki/PhotoLine)