skysight-inc/HackerNews huggingface dataset:
This is great. Another good source is Karpathy's recipe: https://karpathy.github.io/2019/04/25/recipe/

Does anyone know an updated version in the age of Transformers?
I think the Substack article is a better venue for the audience here: https://davidrozado.substack.com/p/political-bias-chatgpt

I appreciate the work done here. We definitely need to understand more about the bias in such tools and as the other comment here noted, the zeitgeist of modern internet is left-leaning so it is unsurprising that this trend is also found in ChatGPT.

However, I would say that these online tests are not necessarily robust. Saying 14 out of 15 tests went a certain way when you include low-quality efforts such as this one (https://www.proprofs.com/quiz-school/story.php?title=what-is...) is unhelpful. Another issue is that this is very American-centric. The average center-right European would likely fall in the left spectrum in the US. Considering training data is worldwide, your results might simply reflect the fact that the US is a right-leaning country by Western standards.
What kind of lunatic distorted world view does one have to have to put postwar Britain in the same bucket as North Korea or the DDR?

SMH
They need to explain themselves to shareholders (why did they hire so many people in the first place, expensive) and employees (so that people want to keep working there also in the future).
I think calling them cockups is a stretch. A few points:

- Flexibility of the US labor market is one of the things that makes it attractive relative to labor markets of other rich countries: it's easy to hire more people when demand goes up, and fire them when it goes down.

- Demand just went down, all over the interwebs, since people miss doing things in real life.

- It's an easy time to fire a bunch of people without making your company look bad. I suspect some knock-on layoffs are CEOs taking advantage of the ability to clean house while everyone else is doing it.
The Lisa used the Motorola 68000, not the 6502.

Turbo Pascal didn't exist yet. The leading Pascal of the early-1980s era was UCSD Pascal [1] but it used a cross-platform bytecode approach which wasn't very fast and wouldn't have been suitable for the Lisa.

I suspect Apple built their own 68k Pascal compiler? But I'm sure someone on HN knows the actual facts.

[1] https://en.wikipedia.org/wiki/UCSD_Pascal
> Is there a right to stay employed?

People have spouses, kids, mortgages. They relocate for work. They pour a lot of their time, energy & emotion into it. It causes people strokes, and hairloss. People bring the stress of their work home, and marriages suffer for it.

Your comment is rather glib. Praise these companies? No thanks.
Probably Apple Pascal which existed for the Apple II and Apple III, with a later implementation for the Lisa itself (which then got the name Lisa Pascal).
I have wireless light switches in my rented apartment, and I don't like them.

1. I can't see from the position of the switch the state of the light, so I still after 5 years press the wrong switch sometimes.

2. Sometimes, maybe 5% of the time, the light doesn't change instantly, but up to 2 seconds after I pressed the button.

3. About 5% of the time, the light doesn't change at all. Then I either think I've pressed the wrong switch (see 1), or I have to turn around, walk back and try again.

I think the benefit is for the company who built the apartment, since they saved a few crowns not needing to run wires near the doorways. There is no benefit to the occupant, only problems.

At least the batteries in the switches are still fine.
Also, outside FOSS UNIX world, C++ has had a presence already in kernels for quite some time.

Even if not for the kernel itself, the drivers make use of C++, naturally a subset, just like the C for kernel space isn't ISO C proper.
That would still ultimately be spun as greed and proof they were getting pay increases when everyone else was suffering - at least, that's what happened in the UK when a bunch of CEOs didn't get their normal bonuses during Covid. This substantially decreased the total pay of the average FTSE 100 CEO that year, and once it returned to normal every news outlet ran articles about how their pay had increased by a massive amount in the last year alone whilst ordinary workers' pay had decreased over the last decade. Of course, it was really only their pay returning to normal after dropping substantially over the last year or two in a way that normal workers' pay had not, and the actual numbers in the report this way all based on put their pay at lower than it was a decade ago.

Still, the press managed to turn them taking a temporary cut in pay that ordinary workers didn't suffer from into them getting an increase in pay that ordinary workers didn't get.
This looks like a great and really comprehensive resource!

Karpathy’s recipe for training neural nets is one of the only similar documents I’ve come across http://karpathy.github.io/2019/04/25/recipe/

There’s also the (older) devil in the details papers focused on computer vision. I’d love to read something like this on modern methods like transformers. https://arxiv.org/abs/1405.3531
I used to have a huge aversion to any kind of smart control, but the new generation of home automation (2010-now or whatever) is fundamentally different from the kind of 80's and 90's domotics that we all have vague memories of. Older systems (like the school system, probably) relied on an expensive central panel and wiring and accessories that were potentially tailored to that particular system, and if something went wrong you were totally out of luck, and only the installer could make changes or apply fixes. But now, all you need is mains power and a smartphone, Hue lights default to working like a regular light if something goes wrong with the Zigbee bridge, Shelly switches can be added onto regular switches so that it's just something on top of exactly the same tactile interface you already had, and so on and so on. And if all of it does mysteriously fail and you need to replace it, a new set of 10-20 light bulbs and some smart relays would set you back no more than a couple hundred dollars / euros.

Almost makes you wonder whether the school would be better off with a consumer grade system.
What if you could run an ad empire without employees? The human component of marginal cost in that business is zero. From capital's perspective, the final stage of perfection would be just a CEO serving the legal requirement of one existing. Surely that person wouldn't have to fret about their bonus...
Regards the archaic laws I'm not convinced, they tend to just parallel real world crimes. For example if you parallel it to the real world then the crime of trespass covers the Jenkins server situation (you can trespass on land that is open and easy to access) and you still commit a crime if you enter a house where you found the key on the floor outside the door, which covers the S3 situation.
I like Darknet Diaries, but I feel it is geared towards techies and not engineers.

The concepts are high level, the details are vague and the stories take a lot of shortcuts to make the podcast accessible to more people.
Google US employees know if they'll be laid off or not immediately, but all non-US employees are still waiting.
That makes sense. Thanks for taking the time to clear up a stranger's confused mind! :)
He means multiple GPUs in parallel that have a combined VRAM of that size. So around 4 x NVIDIA A100 80GB, which you can get for around $8.4 / hour in the cloud. or 7 x NVIDIA A6000 or A40 48GB for $5.5 / hour

So not exactly cheap or easy yet for the everyday user, but I believe the models will become smaller and more affordable to run, these are just the "first" big research models focused demonstrating some usefulness after that they can be more focus on the size and speed optimizations. There are multiple methods and lot of research into making them smaller with distilling them, converting to lower precision, pruning the less useful weights, sparsifying. Some achieve around 40% size reduction 60% speed improvement with minimal accuracy loss, others achieve 90% sparsity. So there is hope to run them or similar models on a single but powerful computer.
Do employees not have some sort of contract? Surely you'd want to have some level of notice - it's no good for employers for people to quit with no notice either.
One of the things that help about it: talk about it with the people you trust the most. Not like asking them for something specific, just talk about it.
I'm getting older and I still feel as bored around older, married people as I always have. I don't want to hear about other people's careers or children anymore.

I didn't experience it but I remember reading a lot more wild stories of the golden era of Wall Street than the tech scene today. Nowadays people just post about putting money in index funds. Too many high-IQ introverts in a room maybe not a good thing?
Hospitals chose to do that because everyone thought that bubonic plague was upon us and we no longer needed staff in elective surgeries.

Obviously everyone was proven very wrong.
Yeah, I mean if you really think about it, this sort of concept would still work very well.

If everyone has an electric car and that car is always plugged in when not in use, regardless of where you are, then car batteries are only out of grid use while they're being driven.

The electrical grid must be such a difficult thing to manage, even with cars acting as local grid storage we'd need supplemental neighbourhood/regional storage units as well as a way to handle any unexpected peaks.

I mean I know there's the whole "Coronation Street finishes and everyone turns their kettles on" thing but imagine if at x time on x day everyone collectively did turn their kettles on - literally everyone, every single household. It would blow the grid no matter what the operators tried to do.

In a way we need grid storage in the form of batteries to enable better use of green/local energy sources, but I think it would be smart to include some sort of chemical based generation capacity with that local storage, some way for us to store energy in a solid form say, then never use it apart from very unexpected peaks where the system needs to scrabble to find more juice.

Unfortunately a lot of potential fuels are also flammable, not really the best thing to have a huge stockpile of in your neighbourhood. Maybe a huge flow battery fed by massive underground tanks, if we ever manage to improve that technology...
You say that like they knew that. No, they were thinking it was going to be a recession. It's all just cargo culting nonsense.
for a period of time, one of my previous employers had an unwritten policy that you couldn't send a job offer to a non diversity applicant at our headquarters. so yeah, these programs can actually have a pretty big impact on my life.
I recommend this video on the subject.

"Let's build GPT: from scratch, in code, spelled out."
https://youtu.be/kCc8FmEb1nY
Then he should say something like, "this isn't personal - I am just doing my job."
> I posed such an Ask HN a while ago, before the Microsoft layoffs, where the general takeaway was that there’s no indication for a recession.

I don't how this 'indication of a recession' could not have been more clearer since November 2021 as predicted a year ago. [0] We were already in a recession [1] and it just took time for the indicators to take effect.

I guess now the people denying about a looming recession are now 'preparing for a recession' which is a bit too late for that.

Should have prepared as early in November 2021.

[0] https://news.ycombinator.com/item?id=29508238

[1] https://news.ycombinator.com/item?id=31441710
What do you make of this, then? Third row, on the right side:

https://www.younggloballeaders.org/community?class_year=&pag...
T-Mobile says hack captured data of 37M customers
> I am very unlikely to be hacked

More likely to be framed for someone else's crime (maybe someone uses your AWS account to hack others), because, well, who would miss casenmgreen, right? There are non-obvious reasons people should still use 2FA even if they have "nothing to hide".
I enjoy all of Jupiter Broadcasting’s output (mostly shows about Linux) but especially “Self-Hosted”

http://jupiterbroadcasting.com
When Meta stock started going into the toilet, they gave out huge top-up RSU bonuses. Amazon is much slower to react, but they give you a target comp that they hope is fulfilled by stock price growth. If it isn’t, they give out-year grants to get you to target.
Exactly: the person who checks the windows are shut, taps are closed, and locks the doors every evening can also switch the lights off.
I'm not from the US either, and this is about their legal system I think. Whether they need to change this is up to them. I think your intuition from another country doesn't apply to the US. If you ever live in the US, ignore his advice at your own peril.

This attorney seems to think the Fifth is enough, but people don't know they can use it. He doesn't think all cops are bad, where did you get this idea?

> So maybe let me refine my question, what if it is your neighbors child, you know closely or even your own child. You still would not talk to the cops, out of the fear that they wrongly suspect you and have a dead child on your consciousness?

Yes, that's the advice. You shouldn't talk to the cops without a lawyer even in this case, lest you end up implicated in a crime. If you want to talk, lawyer up! (Note: if the missing kid is your neighbor's, you can bet your ass you are a suspect and should definitely lawyer up. People the victim knew are suspects! If the missing kid is your own, you have more pressing concerns than being careful and will probably ignore this advice; know that you are definitely a suspect).

By the way, in my country you can give information about missing children through a hotline (unrelated to the police), no need to go talk to cops. Not sure how it works in the US.

> And I watched that video (some years ago) and if I remember it right, in his example the person that stupidly talked to the cops, was actually guilty.

You misremember. Most of the examples he gives are of innocent people (or of not obviously guilty people). He claims the people who are more at risk when talking to the cops are innocent people. In a followup video he mentions the Innocence Project and that his primary motivation is preventing a lot of wrongful convictions in the US.
Taking full responsibility here should have involved firing himself along the 12K. This is the norm in many cultures, resigning (or even killing yourself, sadly) when being responsible for a major failure.
This link will make you less informed, because it is adding narrative (crypto firms teetering!) to a bland story (the economic damage from the COVID response is serious). I think someone needs to be proactive and point out that this is useless. If this was Crypto News then sure.

This may as well be a Tweet telling us that Powered Brands went bankrupt. Whoever they are, I just searched for "bankruptcies 2023". If this one matters, then someone will have to write a blog post explaining why and we can all read that instead and learn something.
I'm a big fan of property-based testing. When I'm writing property-based tests, I usually follow a process like this:

- Think of a simple unit test example, e.g. `assert 1 in my_sort([1, 2, 3])`

- Turn constants into arguments, e.g. `assert x in my_sort([x, y, z])`

- Generalise any irrelevant details, e.g. `assert x in my_sort(prefix + [x] + suffix)`

Property-based testing also complements static typing: if we find ourselves restricting a test generator, like avoiding zero in the article, we can instead try to strengthen our function's argument types (e.g. giving one argument a `PositiveInteger` type). That way, not only have we avoided a crash in our tests; we've also eliminated it from all real usage sites too :)
Whhhhaaat how do I not know this??? Thank you sir. I'm gonna be asking my lawyer some questions.
How would you measure that? How would you notice a failed attempt at finding a hole, of stack smashing, etc, if it did not even result in a crash, or any other dysfunction?

Not a rhetorical question.
Diversity programs have considerable side effects: there's both pressure to hire people who tick DEI boxes, and equivalent resistance to get rid of those who are underperforming. And neither of these does any favors to those who are qualified, but get tarred with the suspicion of being the dreaded "diversity hire".
It doesn't need a login... only the syncing part uses your account.
California companies will remotely raise your thermostat too (actually turn it off), but you sign up for it first, and they pay you to do it.

That, and it sensing if you're home or not, are what makes it useful.
(I am not talking here about Google but more like general)

A company (especially a big one) needs to have an excuse to let people go.

The argument here is two-fold:

1. There is a power imbalance between a company and an employee.

Just as a short example: letting go of 1 employee usually means nothing for the company life, but for the employee is biggest/impactful event happening that month or maybe that half of the year.

Thus we usually balance this with laws (in some countries/states) and, of course, with public expectations.

2. Companies are asking for your whole professional time, and they usually want exclusivity

You can see this usually written in contracts like "you dedicate all your work time", "you cannot work for other companies", "you dedicate all your business time" ...

Thus when a company is asking this from you then they need to offer something in exchange. And this exchange is they need an excuse to let you go.

---

(again I don't speak here about Google as I never worked there so I don't know what they offer and what they ask for)
It applies to Google. Their main revenue still comes from Search Engine Advertising, which is a really good customer acquisition channel.

But the reason ad spends decrease during downturns is that people consume less, so there's no point in advertising when nobody's buying.
The issue is not simple. There are various reasons why people may react negatively to news of layoffs. Some may be angry at upper management for not feeling the impact of the layoffs and still receiving bonuses. Others may be worried about the potential for a recession. Additionally, some people may critique the capitalist system, despite participating in it in their own lives on a smaller scale. And on some level you are completely right as it may be necessary for a private company to occasionally lay off employees, like pruning a tree.
Scammers going bankrupt is the absolute right thing to happen. As a whole, the crypto market emerges stronger, when the trash is taken out. It's also a learning experience for everyone to be skeptical about yield products. If you don't know where the yield comes from, you are the yield.
For UX and Web Design, I highly recommend The Boagworld UX Show, although it is over now but it has a huge repository of over 15 years, with transcripts. It's a timeless relic.
Depends which register of english.

If I'm in a mixed group down the pub I won't at all be surprised if somebody (usually female) walks up to the table and says "hey guys" as a greeting, intending to include male, female and enby members of said group.

If I'm on the internet I'm not going to try and use "guys" as gender neutral because I fully expect I'd be misunderstood by a decent percentage of people reading if I did.

So I wouldn't say people are necessarily pretending, it's entirely possible they're just used to it being neutral and forgetting that for a bunch of people it very much isn't.

That's socially though - when talking about people I've slept with, I acknowledge I'd expect people to read 'guys' as only referencing the male-identified ones. Though I'm more likely to use 'dudes' for that purpose myself, because confusion around 'guys' can go in both directions.
Well I don't know about GOOG specifically, but I know there has been relatively large diversity teams at every tech company I've worked for in recent years. Again, not GOOG specifically, but it's not uncommon for companies like this to have employees whose job it is to email people informing them to do things like rename their project's master branch to main. There have also been efforts within companies like GOOG to bring in employees who are less qualified simply because they're female or are of a certain racial group. My point about diversity programs is not that the team itself is expensive, but that when these companies push politically-motivative policies within an organisation they often cause larger inefficiencies and disruption. We've seen this in several companies in recent years such as Coinbase and Netflix.

Whether you believe diversity and inclusion is important isn't really relevant to the profitability point my comment was focusing on.

I also don't think it's necessarily comparable to the other things I listed and was actually considering not including it because I know there's always someone like yourself who will just focus solely on the politics and not my point. For example you didn't take issue with my point about their over hiring of kitchen staff? That's probably a much smaller expense and arguably doesn't have the larger productivity costs of diversity programs - it may in fact boost productivity.
During the same time the Fed repeatedly suggested that the interest hike would come soon, yet none of these companies prepared for that at all.
I agree that notice is preferable. The question was, “Would it be legal not to?”
> Does a company need to have an excuse to let people go? Is there a right to stay employed

Not in late-stage capitalism, but elsewhere yes. For example:

https://en.m.wikipedia.org/wiki/Collective_Redundancies_Dire...
Motion-activated lights in corridors, hallways and stairwells seem fine.

My apartment building has this, and it's better than needing to press a button while carrying shopping bags etc. Visitors also don't need to work out which button to press -- I once rang someone's doorbell, thinking the switch would turn on hallway lights.
Ask HN: Looking for tech related blogs on Bear blog
Recently discovered the blogging platform Bear blog through this [1] HN post. It was definitely quite an interesting read.

I was also smitten by the Bear platform. It was snappy, easy on the eyes and good looking.

However, I did not find a way to discover new blogs on the platform. So, I would love to discover more blogs on Bear platform. If there are blogs hosted on other minimalistic blog platforms, I am open to those too.

[1] https://news.ycombinator.com/item?id=34449626
In some cultures the prevalent view is that employees should be grateful to their employer for providing them with a job and a paycheck, and that the needs of the business comes first and therefore the business should be free to layoff employees when it deems it necessary.

In other cultures, the view is more that the business benefits from various social contracts (governments providing various structures & regulations so that businesses can flourish, the cost of healthcare/education that leads to a productive workforce being taken on in part or whole by the state, etc), that the employer/employee relationship is fundamentally asymmetrical, and therefore that an employer has a social responsibility to provide stability and not do reckless things like hire 20k people to layoff 10k the following year.

US work culture, and tech particularly, lean more towards the first side of the spectrum in my experience, but that doesn’t mean everyone is aligned with it or that it is the One Truth.
The fed chairman explicitly said he's going to raise interest rates until workers lose power in the market.
Does anyone have a summary of what laws need to be abided to in EU, Canada and other countries that prevent them from rolling this out at the same time as the US?
Hah, they have a link for "start at the beginning": https://darknetdiaries.com/reverse/