skysight-inc/HackerNews huggingface dataset:
While you are right about it not being stable, and about packed struct being a bit wonky, I've been using Zig a lot for some hobby projects and rarely run into problems. APIs are in flux of course, but that usually only takes minutes to fix as long as you keep the compiler reasonably up to date. Maybe there's a fix required every month or so, but it seems that most things are settling down. YMMV, I mostly use the basic stuff and sprinkle some comptime here and there.
I think that’s part of the problem. We have very little understanding of the mechanisms of depression and how ADs can help or harm that.
My main criteria for choosing a place to rent is choosing a place that has a gas stove.
It is so bizarre to me that people are acting as if they've never heard that gas stoves are terrible for your health. I've known this for years! I've seen reports and anecdotes and buzzfeed-style articles a couple of times a year since at least before the pandemic. I assumed the things would be outlawed for new construction years ago, and phased out over time, except in the sense that some people still burn coal for heat in the northeastern US, so "phased out" clearly means little.

It's just weird to me that people seem shocked, and weirder still that people reject the idea as preposterous. I mean, we live in a country which had lead in paint and gasoline making a notable dent in the population for decades. We lay pipes to deliver a flammable gas to houses to which a noxious smell has been added so that we might notice if we're being poisoned by it.

What about this does not seem outlandish?

I grew up with gas stoves off and on, but I don't have one now. When I want to cook with fire, I use the propane grill on the patio. I'll be the first to admit it's not as nice to warm up tortillas on a flat electric surface as it was on either a gas burner or even an electric coil, but that's a minor thing.
There are so many tech layoffs because there were way too many tech hires during the pandemic. And despite the layoffs, most of these companies are still far above the pre-pandemic employee count
I dunno, I have this problem all the time. I feel powerless being presented to all those enormous pieces of software I have no idea how do they work. I guess it’s a form of procrastination, as the moment I stop thinking, investigating and learning beforehand and start actually working with the input I have — the actual progress starts.

Edit: Phrasing.
To you maybe but not to me. Because I know that Gmail usage and behavior was functionally equivalent in beta to what it is in non beta.

While FSD beta on the other hand has different usage and different behavior than what FSD will have if it’s ever released.

Knowing this, the comparison falls flat.
There's something at play here that I haven't seen anyone talk about: we have a LOT of new talent entering the tech industry in the last 5 years.

On average, the quality of devs, PMs, designers, etc has gone down in my experience. Companies expanded massively and when we ran out of seasoned employees, we started to hire people with very low qualifications.

I think a lot of these layoffs are driven by correcting not only for increased headcount, but for decreased quality. A lot of tech companies are looking to up their average employee by culling the bottom performers.
The precedence should be: "typing" folder in workspace root -> project "extra paths" -> python search paths -> pylance bundled.

If that's not working for you you should open an issue at https://github.com/microsoft/pylance-release.
yeah, but those houses aren't the ones that are getting electric heat. that's almost all only new construction. (and if you are in a house like this you'll gain a lot more by replacing the windows than the heat)
Yep. Look at the fate of nearly every piece of home exercise equipment sold in the last 50 years. The vast majority fall into disuse pretty quickly. Who's going to want to keep paying a monthly fee for something they don't use? Hopefully it's easier to cancel than a gym membership.
Modern self help is also selfish. There was a great bit on the Bojack Horseman show. A character disappears. Everyone is looking for them under the idea that they might have committed suicide. In the end, they went to decompress on their California ranch. They wanted to disconnect and so didn't tell anyone where they were going. Self help, with no regard for how your self help negatively impacts countless other people. When confronted, the character doesn't care. They take pride in choosing to "take responsibility" for their own happiness. Selfish jerk.
Wow, fun to find this trending on HN this morning! I am currently also working on the associated video lecture (as the next episode of my video lecture series here https://karpathy.ai/zero-to-hero.html ), where I will build nanoGPT from scratch and aspire to spell everything out, as with the earlier videos. Hoping to get it out in ~2 weeks or so.
Ferris is the archetype of the kid in high school for whom absolutely everything always works out. Everyone else is painfully jealous and stuck in their own troubles.

He works as a foil to Cameron and all the others.
> dinged on a performance review for negatively comparing their kernel... engineers are not allowed to try or even talk about it

I wonder if it was possibly not that you compared the kernels but rather how you chose to express the comparison. For example this bit makes me think you possibly expressed your opinion combatively:

> a dogshit IO scheduler

Perhaps you were more polite in your day-to-day, I don't know. But your language here makes me wonder.
That is sadly not really the case. If you ask the majority of people the consensus is "male" and "female" are the only genders. If what you saying were the case we would not even get the "other" option, not to mention all the other neo-genders.
Violates the principle of data minimization, but I'm not sure if its on its own a violation that can result in an enforcement action.
ASGI is a newer spec that uses async for everything (what is not really a great ideia if you is not IO bounded), so you can process more than one request at a time with ASGI if you are IO bounded, but have more overhead (a lot more) than WSGI in non IO bounded work
Heckin people fighting for their core beliefs. Unbelievable.
Whenever there's an "other" option, I fill in "human" :P
Your example about being an alternative to C/C++ for Python-wrapped libraries is a good one. In fact, that's already mostly how Fortran is used - wrapped. That future is here already, and it looks the way it currently does.

> if people are serious about fortran as an ongoing idiom

> Development is increasingly a collective endeavour and frequently open source affair

I disagree with the premise that these two things are linked. Fortran is alive and well in the closed-source corporate world, and it will continue that way indefinitely. It's used by scientists and engineers, not developers, so it's unaffected by changes in the development world. I think it's cool that people want Fortran to find a broader audience, and I think it would help, but it's not necessary for it to continue being used.
Add a mode to share a file, again using SSH alone.
Works together with "python3 -m http.server", obviously, but should be possible with SSH alone.
This would be the first time since the invention of NATs one can share a file over the internet without uploading it anywhere or downloading any executable!
I don't think salutations seriously matter in most (English-speaking) countries. Even in professional settings, I receive emails that address me by my first name.

Even still, if you must record the relevant salutations, you can ask for the salutation to use rather than the gender or sex.
I haven't looked at the v2 but they seemed to be doing an alright job at getting things upstreamed with the v1. the only thing i remember seeing that wasn't very good in that regard was the neural net stuff that they had and that seemed more from just issues getting the hardware working than any nda or lack of desire to do it. I'd hope that the v2 is similarly worked through even if it needs some non-upstream patches at the start just because it's new hardware and it takes time.
I am saying the article is awful. The layoffs are not caused by a "SIMPLE" single cause. There are several factors that caused the current layoffs.
Still holding out hope that sanity will return to the web and we'll bring back xhtml, I guess.
This is my first release for pico-8 and Playdate. It's a rage quit type game. Please take a look and let me know if you think it's worth expanding on.
Personally, I'm going to spend the rest of the day looking for those people walking around with the faces of squid...they sound terrifying.
The _t suffix is so ergonomic for typedefs this is one area of POSIX I simply ignore, because my types are usually prefixed with a namespace POSIX won't ever collide with anyways.
I followed this guide (mostly) and ended up making a reese's peanut butter cup mold out of silicone (from a 3d printed template; I'm not doing anything ultra-precise) and then used my 3d printer to melt chocolate to make the entire confection. It was fun.
The official release notes garnered a great number of comments last month¹, including loads of informative stuff directly from upstream dev waddlesplash.

¹ https://news.ycombinator.com/item?id=34109349
Another mistranslation. However, the state of enlightenment (at the tantra level) can be described as a state of joy or bliss that is orders of magnitude beyond any transitory happiness that we might feel when we're not enlightened.

But to your point, you are right, looking for transitory moments of happiness is not the same as working towards enlightenment.
T.S. Eliot Reads 'The Love Song of J. Alfred Prufrock'
I've found all of your code and lessons on youtube so incredibly useful. You're a wonderful teacher and I really appreciate all the work you've done with this!
Ha! Understood now.
AFCI's are of dubious effectiveness at their purpose (preventing fires). They're kinda snake oil because each manufacturer won't tell you under what exact conditions they'll trip. Somehow the law in the USA now requires them on every circuit, although they aren't used at all in Europe (which has a higher voltage yet far fewer electrical deaths).
Maybe I was just too young to know better, but I seem to remember AltaVista being pretty decent. My internet was super slow back then anyway, so the search latency probably didn't make a huge difference.
Well, he does include instructions for running it on a personal computer, which looks like what I'm gonna be doing next week.

Besides the rental options discussed below these nvidia boxen don't look too big so either used ones will be available for cheap relatively soon, or you could just locate and liberate one in Promethean fashion.
That is pretty brutal on the cost. We live north of Boston is a decently high cost of living area but nowhere near California. I got the our main panel upgraded from 100 amp to 200 amp, the mast and meter socket replaced, and 4 new outlets in the basement for $2400 in 2021.
Web Components were and still are a failure.
That’s why I experimented: to work out the correlation/causation issue. When I was experiencing a long period of stable happiness, I would take away one of these things to see if it would affect my happiness, all other things being equal. Some of them did, so I’m assuming causation for those.
The second type of company will never be sustainably profitable. The barrier for entry is so low that the moment it turns on the profitability levers, some new startup will pop up with a slightly different model.

Happening to Uber in my local market. A new startup (BluSmart) with an all-electric fleet and full-time driver employees showed up. Uber's service quality declined as they started squeezing drivers for profits. The new startup has stolen a big chunk of marketshare (and more importantly, mindshare) and Uber is now considering exiting this market altogether.
Yeah sure if there are some pure functions involved then by all means unit test.
Hi PaulHoule,

Yes, you are right the grooming texts will always be that small I guess, that is partly why we extended to other grooming risks here. There may be few grooming (luckily) but there is still some people looking for an underage partner or some underage users looking for sexual favors, for instance

Thank you for the tip, this is a simple filter here but I will present a BERT model trained on those labels in my next blog post tomorrow :)

And of course, I would love to discuss this project with you!
I always felt uncertain how much PTO was "okay" to take.

My manager kept saying I could take time off whenever I wanted to, but the hurried pace of the team left me feeling like that wasn't really true.

And it's obvious there are limits in there somewhere. I probably couldn't take off every Friday, or take off a week every month. Where's the line? The uncertainty is what killed me.

Leveraging unlimited PTO confidently requires being adept at understanding the social situation around you - how will your team and manager feel if you keep requesting more and more time off?

I wound up taking as little time as I could because I couldn't tell what I was entitled to. I took my cue of what I could do from the people around me, and they weren't taking PTO very often.

I felt better in workplaces where the PTO rules are clear. It makes me feel entitled to take a given amount of time off, and gives me the confidence to request what I need without worrying about whether it's within the unspecified bounds of appropriateness.
Most people probably don’t care about Unix, but rather POSIX user space.
> Memory controllers contain the logic necessary to read and write to DRAM, and to "refresh" the DRAM. Without constant refreshes, DRAM will lose the data written to it as the capacitors leak their charge within a fraction of a second (not more than 64 milliseconds according to JEDEC standards).

Do they use CPUs now?

I did hear that IBM was developing serial RAM (not NVRAM) with an onboard controller on the memory modules - with the need for firmware. Beyond that I didn't think memory controllers ran instructions from ROM or other instruction storage like a CPU.

As far as flash memory, they definitely use a CPU and that's what I meant by "storage" in my list. :)
They're really making the argument that these big companies full of engineers that engineered much of modern life over the last 20 years are just blindy laying people off like some kind of social contagion? That's not how it works. Companies that big and that reliant on data don't make big decisions without some team of eggheads showing them the numbers and telling them they have to.

And layoffs are a bad idea? Always? Even when sunsetting multiple large projects and downsizing your speculative endeavors? There are whole teams at these companies who's jobs just simply aren't needed anymore. It sucks for them, but to say it's a bad idea for a company to lay off people is just nonsense, there are times when you have to unfortunately.
I think CNC machining is primed for developments that make it much easier to use for the home hobbyist. The tech is very close to what's needed for 3D printing but it has a few added requirements like the need for a sturdier frame and accommodations for a fairly large and powerful motor. Both are solvable with the right materials and the motor can be anything from a DC spindle to a repurposed wood router. The biggest hurdle to overcome would be the software. Right now, Fusion360 is the defacto standard for hobbyists but it leaves a lot to be desired for ease of use and handling complex models that a lot of people would like to mill. Having software that is as easy to use as a slicer for 3D prints would be a huge win.

The ability to make metal parts and carvings is a game changer even if you are somewhat more limited in the features that you can carve with a CNC vs 3D printing.

The other small fab tool that I think would be great to streamline would be a small foundry for casting aluminum, brass, and bronze but that one is much more difficult to automate beyond having a furnace with good presets. An ideal machine would be something similar to an injection molding machine for plastic but capable of melting metal, perhaps using induction heating with a graphite crucible and spigot for depositing the metal into a mold.

I'm also somewhat convinced that there may be a way to do aluminum extrusion with a much smaller setup than is normally used but the pressures and temperatures involved may make that uneconomical for an individual.
That's definitely how I'll spin it up to test it, but for me, bare metal use feels more convenient as well as more 'real', once u get past the initial setup.

I'm hoping that it might be fun for me to explore and even struggle with a little bit in the same way that Linux was exciting for me as a kid. :)
In the US this is typically to prevent organizations from systematic racism against particular people groups.
Just World Fallacy.

https://en.wikipedia.org/wiki/Just-world_hypothesis
TRM Labs (YC S19) is hiring Senior and Staff Data Platform Engineers
This makes sense until an employee gets shot defending a $25 bottle of detergent
If you're a programmer who owns a home, there's a lot of electrician stuff you can do around the house. ;-)
I always feel ridiculous being called caucasian. I understand somehow it's come to mean some version of white. But it just makes me think of the Caucuses mountains and how little I can identify with Georgia or wherever.
Google and just the amount of accessible information. I sometimes think that if I were transported back to my pre-web job, the level of sheer frustration I would have at the limited, out-dated information I would have access to for everything would be immense. Of course, most everyone else would be in the same boat but we're accustomed to trivially looking up so much stuff that would have required significant time and/or money to find out--if it were really even available at all.
The tags "#titles #medical #academic" seem to indicate that this is well known by the web master.

I personally think it's silly to require someone to fill in the title in all use cases except for the title an education facility puts on one's fancy piece of paper. There's a certain vanity to it, like programmers who insist others call them "engineers".
Logging Module for Bash Scripts
This script is used for logging messages to the console and a log file and is designed to be similar to the API of the python logging module. It includes log rotation by size and by the number of log files.

I hope it's helpful to those who still need to standardize their logging. It is opinionated so importing into log platforms is easy.

My first submission of any code, so suggestions are welcome.
can't tell if you're making some kind of clever quip or if this is some random spambot just entering a random reverse DNS lookup line.
If suburbs were to pay the actual cost for maintaining city-like infrastructure with rural density, the Cost of Living would be equally unreasonable for the suburbanites

Suburbs are not sustainable and requires major and continuous infusion of government aid to be keept afloat
That would be a shocking violation of Haiti's sovereignty. It would be colonialism.

Civil wars are sometimes a necessary thing in the organic development of a nation. In general, it's not the business of other countries to prevent them.
Software-Defined Radios
You think it only costs 5k?
Middle of no where. There weren't any hills nearby
How could they be less racist if they know the race than if they don't?
Even the airline case can be handled with an exception - if "other or unspecified or not asked, assume whatever would be the maximum".
A Bank of Her Own
It doesn't matter for English website because you usually send out emails with "Hi Joe".

Once you internationalize you will need this because in German it's an absolute no go to address a stranger by their first name (at least for B2B services).

And internationalization is on the road map for a lot of companies.
AI code generation is great for getting 80% of the way to production, but struggles with customizing the last mile. Vivid's AI learns based on your existing app to generate code in your style, and Vivid’s command palette makes tweaking the last 20% way faster.
I did mention interest rates, indirectly: "Now that investors are more discerning with their money [because the risk-free rate of return is now non-zero]..."

Interest rates play a role, but it's not the direct cause you're thinking of. The value of a company is related to the risk-free rate of return, i.e. interest rate set by the government. Lower interest rates produce higher valuations, and higher rates produce lower valuations. But just because a company's market value goes down as the interest rises doesn't mean the company was inherently overvalued at the lower interest rate.

What we saw in the tech market was that companies were overvalued. The change in interest rate was the catalyst for tech's value adjustment, but the companies were overvalued at the old interest rate, too, because their value was based in-part on unrealistic growth expectation. Also, ZIRP really messed with market dynamics. Look at crypto, which is something that has near-zero utility and thus should have near-zero value, especially all the random shitcoins. Many such shitcoins were worth many millions / billions of dollars. The market was clearly irrationally valuing many different types of assets.
>Would people here take a 10% pay cut if it meant their colleagues weren’t fired?

Yes, especially if the executives are taking disproportionately larger cuts. Knowing that the people up top aren't as sociopathic as more typical "leaders" who feel nothing when axing thousands while getting massive bonuses is going to boost my own morale a lot. Also, even if I survive the layoffs, the thought that I'm probably next is going to weight a ton on my psyche, like the article mentions
Amazon's Buy with Prime is now available to everyone
Carta lays off 10% of the workforce
Just got off company announcement, here are the key details:

- the departure affected 10% of the company

The benefits include:

- 2.5 months of severance, plus one week for every year of tenure
- 3 months of health insurance
- 1 year cliff for RSUs waived for new employees. In cases where employees did not get equity, they get a lump sum payout
- Visa holders get one 30-minute paid consultation with an immigration attorney
- Voluntary self departures accepted until 12PM tomorrow, but self-departures only get 2.5 months (tenure not factored in severance)
ah. so it would be forcing a change when things break. It would likely be that existing devices would be uhmm "grandfathered" in though right? That's usually the case when it comes to these things.
> The gender mapping seems to be used exclusively to determine whether the marketing emails should start with "mr." or "mrs.".

Anything vaguely social is going to have instances where you want to refer to a user in the third person.

Of course, an easy solution to this is not to ask for gender per se, but for what pronouns to use. Even a dropdown with "he/she/they" options is going to cover basically everyone. If you need something more complicated than that, so be it, but probably YAGNI.
What is stopping someone with an unlimited PTO schedule from planning 40 days off a year (setting aside holidays)?

That's just:

* 2 week (10 day) vacation in summer

* 3 week vacation in winter wrapped around Christmas and New Years (so let's say 12 work days off)

* one Friday off a month (12 days)

* slapping on 6 days around holiday weekends, or wrap a couple of long weekends around those Fridays off

40 days out of basically 240 scheduled work days seems reasonable enough.

What I really wish is every 2 or 3 years you earned a 3 month paid sabbatical to go chase your dreams or maybe even do skunkworks or shadow a leader in the org.