skysight-inc/HackerNews huggingface dataset:
I love this quote:

> Treat yourself as a writer and approach each commit as a chapter in a book. Writers don't publish first drafts. Michael Crichton said, "Great books aren't written-- they're rewritten."

This is a more succinct and poignant way of describing my workflow, and why "just put a PR up with all your WIP commits" is so difficult for me. I don't want people to see how long I spent getting this one unit test to pass when the answer was staring me in the face the whole time. I don't people to see just how badly I wrote the first draft of my code, when my approach was basically "make it work e2e first, no matter how bad of a hack it is, then actually figure out how the code should be laid out later."

Folks say "your PR can just be squashed when merging anyway", but it misses the point: My private commit history is very, very, intensely personal to me, and I don't want anybody seeing it, ever.
Do people ask for support? What I mean is like "x package isn't working" or "I'm having trouble setting this up on my machine", do you help them troubleshoot? Or is it just the videos.
I think you hit on something I missed, and much of this thread missed: there is one weird generation that was sold the daft idea of rebuying its music as format shifts - the 45, the LP, the cassette for the car, the CD remaster... - who also have economic advantage and so the commercial stats just don't reflect what lots of people enjoy because the metrics measure that generation's interest and vice versa. Thanks. that was useful.

Combine that with new or rescued recordings meaning a greater range of _really old_ music is available to people prone to falling down musical-history rabbit-holes... and you really do have a recipe for it becoming hard to spot the evolution of music happening vs. the surrounding (pardon me) "noise". Yet it is still happening...
My wife works as a language teacher and I noticed a big difference when she started doing an adventure game like this with one of her young boy students. The kid went from accidentally turning off his web cam a lot, pretending audio isn't working, not looking at the video call at all, etc. to actually being engaged and wanting to answer the next question to earn more points he could then spend on equipment to defeat the next "monster" in the game. Be they robots or man eating plants or whatever and then win the treasure at the end. She would just draw the monsters and the treasure and the equipment in colored marker in a notebook she showed the student each step, but it was still very motivating to him. Seems like this app takes a lot of the work out of the parent/teacher side.
>> Fifty years ago, the cheapest way to keep your child quiet was to sit down and dredge up your memory of Rapunzel, Snow White or (in my grandmother’s case) the fairy tale-like plot of The Sound of Music.

Well, I got The Return of The Jedi. Only my mother didn't remember Luke Skywalker's name so I knew him as "the handsome prince" until I watched the movie X)
It took an engineer to invent Autotune. A programmer never would have been able to.
Whenever I feel down, I remember one powerful book I've read: "White on Black" [1]. It is in Russian and was written by a person born with a cerebral palsy, who had survived in soviet orphanage. The very vivid depiction of a life of a person with severe disability just forces you to better appreciate things you are taking for granted: like a capability to walk on your own and have working hands. This is what matters, and all other problems are transitory and should be treated as such.

Unfortunately, I don't know if a translation to English exists.

[1]: https://ru.wikipedia.org/wiki/%D0%91%D0%B5%D0%BB%D0%BE%D0%B5...
it makes sense if you read it as:
I'm working at 80% of my capacity for 20% of the time, I get 16% of my possible productivity
It should give you pause if you find that you are spending much of your time fighting the GC.

Perhaps you're doing something very wrong in terms of object allocation and lifetime. Perhaps this GC/memory performance debugging time is well spent and expected - just as you might optimize memory usage (and VM and cache usage) to squeeze out better performance from a C++ program. Or perhaps .NET is not well suited to your requirements.
You said exactly what I wanted to say but far more eloquent and thorough.

I totally agree. I see so many of these articles judging the past according to modern values. It’s absolute anachronistic nonsense if you ask me. I have no idea why people keep writing articles like this, except perhaps as some kind of signaling.
There are many cases where it does.

For example if you say "Australia" in an Australian accent, Japanese people probably wouldn't understand. So you'd have to use the "correct" Japanese pronunciation: "oh-su-to-ra-ri-a".

Another example is "Hyundai", which seems to have at least five different pronunciations. Apparently Koreans say "HYUN-day"[1], while the British say "high-UUN-digh", Americans say "HUN-day"[2] or something like "Han-die" in Spanish-speaking parts. Australians say "he-UN-day"[3]. Note to prescriptivists that this is how Hyundai's various subsidiaries say it in ads.

[1]: https://www.bbc.com/news/blogs-magazine-monitor-25813198

[2]: https://www.youtube.com/watch?v=XI3-fJlmnoM&t=50s

[3]: https://youtu.be/RyupLuOVny0?t=15
A long time ago when this was discussed someone suggested "software gardener" would be a good term. As a professional software developer and hobby gardener I kind of agree.
They did come to Switzerland voluntarily and could have left any time they wanted, that must mean something. However an overwhelming majority of that 25% are white and European so I agree that it's not the most convincing argument.
It was clear to me. We cannot say first and second infection because those were of different variants. Someone got previous infection (probably alpha variant), was better protected against delta than someone with vaccination only.

It does not apply to omicron but omicron is milder, so probably both vaccinated and previously infected are mostly fine.
I guess that my setup is extremely tailored to my needs but it requires very little setup so here it goes.

I use Emacs Org-Mode for my todo lists and the default macOS Mail.app for email. On a Mac, Org-Mode has a tool that grabs the currently selected email and inserts a link to the message id into the Org buffer. Clicking on that link opens the message in Mail.app.

I try to clean out my email inbox every evening. I track emails that need additional work in Org-Mode and immediately move them to the email archive after I created the link.
Legislative Exits from the Land Use Labyrinth
Tips for 2022: Get creative, even if you aren't feeling inspired
So are you saying that people should not be allowed to.. accumulate capital? It's a bit of a radical thing to suggest. How did the landlord get the money to afford the building in the first place? Say he was a high-ranking professional or a successful entrepreneur and he used the capital he earned to buy a building - what's immoral here exactly?
Russia’s Possible Invasion of Ukraine
Just once I would like to read one of these stories where the conclusion is "and the company rewarded me with a large bonus and a paid two weeks of leave, and when I came back they had lined up some training and a project plan for me to stabilise what I had built and automate as much of the drudgery as possible"
Guns are nowhere near as expensive as fixed wing drones. Here, for a sense of scale are some costs:

- bullet: cents

- Kalashnikov rifle: hundreds of dollars

- 500 pound unguided gravity bomb: a few thousand dollars

- 50 cal machine gun: 20k dollars

- 500 pound guided gravity bomb: 40k dollars

- Cessna 172 civilian plane: 400k dollars

- AIM-9X air-to-air missile: 400k dollars

- Houthi Samad drone: unknown, but probably hundreds of thousands of dollars

- Turkish Bayraktar TB2 drone: depending on client and delivery package, between $1 million and $5 million

- Tomahawk missile: $9 million (wikipedia says $2 mil, but that's out of date; the latest DoD budget [1] shows the Pentagon will buy 60 Tomahawks in 2022 for $551 MM, see page 23)

[1] https://comptroller.defense.gov/Portals/45/Documents/defbudg...
The difference between a "software engineer" and a real engineer like a civil engineer is that when a manager type tells a civil engineer to ignore safety or standards for profit reasons, a civil engineer gets to tell them to fuck off
Does it silently timeout on the server if I submit something malicious like this?

function multiplyNumbers(a, b) {
if (a == 2) {
return a * b // to avoid locking up my browser :)
} else {
while(true) {}
}
return a
}

It's stuck on "Submitting..." on the client.
> That is exactly what communists did when taking power: stole the wealth and spread it around. It lasted some good 10-20 years, then they started starving

There were a lot of overlapping factors that killed the Soviet experiment. A major one, and the real root cause of "people started starving," is that Russia is a massive country that is historically vulnerable to famines because food is relatively hard to grow at those latitudes; people had starved under the czars of the past, and the main reason we think starvation will be minimized in the future is a global revolution in how agriculture is done of which Russia was a part, not anything particularly virtuous in the modern Russian practice of capitalism.

Another major factor was a combination of central planning and failure to grasp modern science which resulted in error being expanded. Stalin famously supported a Michurinism view of trait growth through stress over the Darwininan view of natural selection, which led to some bad conclusions when agriculture was centrally-planned under a bad model. While central planning can aggravate error (and there's a reasonable discussion to be had about how tax dollars are allocated), a capitalist society is extremely vulnerable to similar failure modes; while ideally, damage gets contained via the "firebreak" of a few companies failing when their heterodoxy proves wrong (or succeeding and displacing other companies when their heterodoxy proves right), bad memes spread widely still cause damage. Consider the dust bowl, or the housing crash; both happened under capitalist models.

But all of this is a bit of a distraction because the fact the communists spread wealth around doesn't imply spreading wealth is communist. Indeed, the US, while actively engaging in McCarthyist anti-communist suppression of free speech, had a maximum marginal tax rate of 91% and was fifteen years into its own project of guaranteeing a basic income (via social security) for the elderly, because we as a society had grown weary of the elderly dying from poverty when the winds of fortune had blown them to a circumstance where they had no savings and no ability to work. Even capitalist societies agree that taxation and use of taxes for social benefit is a good thing; the only argument to be had is how much, and "taxing the rich is communist" is a doorstop meme that doesn't contribute to that conversation.
As someone that has gone through something similar and recently got out of it.

Seems like you haven't started to make any plans on what to change. I'd wait to talk to your manager/company until you have a better idea of what you need. But then do, maybe they offer some extended time off, maybe they have other mental health resources available. If they do try to make use of them.

Take your time. Don't think you'll be back to where you were any time soon if ever. Maybe your work life will be different from here on out. Maybe you'll have to live with it. Prioritizing companies with good work/life balance is a must.

If you have the means definitively take some time off. The more the better. Or take a part-time job if you still need some income.

No hobbies no problem. Play video games, watch movies, netflix and do exercises every day. It's important to keep your mind and body moving with something that is stress free.

If you don't want to do anything, just sit or lay in bed all day. Look for a psychologist. This is not normal, you need treatment and it's available, is easy and it works. It just takes some time to find the right med. Don't let yourself be depressed.

When you are interested again try to create a hobby project, even if it doesn't generate any income, learn a new framework or language, or whatever technical that sparks interest in you. As you build interest again in work stuff you'll miss work.
I think the big outrage is directed at losing all the apps, movies, books, etc... that you purchased from Google using that account. It feels like they should provide some way of transferring those purchases to another account.
The real question.... are you having more sex since it was released?
And who said that "output" is multiplicative? What a useless, unscientific article...
> Fascination with type systems does not seem to be all that useful in practice.

And yet type theory is an excellent way to express all kinds of invariants. The more rich the type system the more you can express. If you get to dependent types you essentially have all of mathematics at your disposal. This is the basis of some of the most advance proof automation available.

What is super cool is that proofs are programs. You can write your programs and use the same language to prove theorems about them.

This is still fairly advanced stuff for most programming activities but the languages have been steadily getting better and the automation faster and I think the worlds will eventually collide in some area of industrial programming. We're already seeing it happen in security, privacy, and networking.

I don't think type systems suffer from complexity. They merely reveal the inherent complexity. You can use languages that hide it from you but you pay a price: errors only become obvious at run time when the program fails. For small programs that's easy enough to tolerate but for large ones? Ones where certain properties cannot fail? Not so much in my experience.

update: clarified wording of "proofs are programs"
1) valid point, but how can I be sure another email provider won't do just the same, or even worse? At least Google is sitting on it's data using it to profit for itself. Smaller actors are just wholesaling everything they can reach.

2) I don't agree with "moments notice" sentiment. 3 months are quite enough for most users (and they can buy more time for a relatively small price). The free lunch was off the menu for more than nine years, I am actually surprised they gave us so much time.

3) There are replies around this post that for paying users Google support is significantly better. Good opportunity to check if it is really so.
You mean, more than are already being killed near the surface? Yes, obviously: there are more sea creatures near the surface.
I've done this as well, multiple swe jobs, I also did not find ways to automate. Just trying to get a little something done every day to report in the stand ups is what I did. Most teams are so low performing it was easy. Every so often a new manager would come along and make my life hell then I'd have to move on.
> With a family this is insanely reckless.

This is why fewer of us are having families. There's something in the back of our minds telling us that we're not safe.
The usual way I've seen (and do myself) is to just let the process be killed and have its coredump taken, then `coredumpctl gdb $process_name -A '-ex "print $rax" -ex "quit"'` to get the syscall number, then check `systemd-analyze syscall-filter` for whether I want to allow just that one syscall or the whole group it's in.
Jira Cloud failing with Redux Devtools extension enabled
This is a very good list. I'll add my to 2 cents to this.

1. Don't do any addiction. Alcohol, Psychedelics nothing. That's another spiral you won't be able to climb out from.

2. Taking some time off is the easiest way to figure out your l life. You will soon be able to realise your priorities in life. I'd say 2 months is good enough a time. But the most important thing is to not attempt doing any work stuff during the time out period.
That's where a lot of the fun of Elixir comes from I think. It's viscerally satisfying to split off functionality into what almost feels like an independent machine that happens to be in the same codebase. It clicked in a way normal object oriented programming never did for me, I guess since it's not feasible to mint 10,000 genservers to use as more complicated structs.
The Cloud Native Community Cookbook
As an example, think of the Roman practice of crucifixion. You could be a kid headed to market, and come upon a bunch of naked men, who were screaming in agony as they were being nailed to crosses by soldiers. Even in the modern age, hangings at Old Bailey in London were public affairs.

My grandmother told a story of a hanging she went to when she was 4 years old. That's here in the U.S. in the early 1920's. She says the whole town was there, children and all. That's totally possible seeing how today the town has a population of 6,200 - back then it was probably 2,000 or less. It's ironic that the gross coddling of children began with the Baby Boomer generation - the generation my grandmother helped raise. I guess between seeing public hangings and enduring both the Great Depression and WWII they wanted to make life easier for their kids.
"Engineers work on predictable projects with a lot of upfront planning and rigorous requirements. Software is dynamic, constantly changing, unpredictable."

Ask someone building medical robots if their software is unpredictable. Or someone building a car ECU. Or an airplane guidance system. Or controls for industrial machinery. Or telecom equipment.

Our entire industry literally follows a manifesto whose purpose was to eliminate upfront planning and rigorous requirements, called "Agile". It was an intentional choice to be irresponsible, and we all ate it up because it meant we didn't have to do any due diligence. Just churn out software turds as fast as you can, get a big smile and a thumbs up from the user, and you're done.

Who cares if tomorrow it fails and the thermostats for 10,000 houses goes out in the middle of winter? At least we didn't have to write documentation! Moving too fast over here, can't be worried about shit like "making sure it's safe" !

Oh, whoops!, every social security number in the country is exposed. But we could never have prevented that, we write software, it's inherently unpredictable!

It's all too predictable. The industry is led by children who don't know how to do their jobs, there are no industry requirements or certifications, and there is no trade school to really learn. Can you imagine an electrician wiring your house up after a 6 week "boot camp" ? Or a mechanical engineering intern building a bridge?
It's true that messy commits happen, that's why squash is there.

Nothing forces you to keep the messy commit messages either - keep the short commit message and make sure it's good, then delete the combined individual commit messages from the long message field, done.
It doesn't even have to be known completely! Almost deviation in the expected properties of the nonce severely damages security.
I quit my job October because I was too burnt out to keep going (and because I got a 3% raise in a year of 7% inflation right after I released a product that would save the company millions a month, but I digress).

My best advice is, if you can afford it, quit your job and don't do anything until it sounds good. Like literally sit and stare at a wall until something sounds fun. My recovery was definitely delayed because I thought doing hobbies was how I was going to recover, so I forced myself to try to do things because I though I'd want to have accomplished them after my sabbatical was done.

If you want to call it mediation, call it that. If you want to call it sitting in the shower with a beer call it that. If you want to call it renting a cabin on a mountain to with no internet, call it that. The important thing is you're giving your mind time to (if you will) run a defrag on itself.

I'm still not 100% over being burnt out, so I can't give any guarantee, but giving myself that time has definitely helped immensely.

> Should I tell my boss and/or team? Should I tell them right away, or wait until I know what other steps I want to take? What should I expect their reactions to be?

Hard to say. How's your relationship with your boss/team? If quitting is the most likely outcome, you have nothing to lose, and maybe they can help. If your work reletionships are more adversarial, maybe not.

> Should I take time off? How much? Or should I try to work reduced hours? I'm hesitant because I don't have many hobbies (if any) and in the middle of the pandemic there isn't much to do anyway. I don't think running out of things to do would be any better for my health than continuing as-is. I've been there before and I don't handle boredom well.

In my opinion, yes.

I don't know you or your personality, but for me not handling boredom well was a symptom of being burnt out. Or as I said it, I was "bad at" relaxing. I still am, but I'm getting better about it. And the thing that is helping the most with that is telling myself that I'm allowed to be bored and then scheduling some time to be bored. That might sound stupid, but I really think that is the thing that has helped my mental health recently more than anything else.

> If I continue working, is there something in my working environment I should try to change? Think of senior engineer in a typical DevOps-y SaaS startup.

Can you work less? I've actually started a new gig (2 months after my last day as the last one), but I'm working part time (though salaried w/ benefits) and it's great having more time in the mornings and afternoons. I don't think I could swing a full time gig at the moment, but working half-time has silenced the part of my brain that kept telling me I should be making money and being a contributing member of society.
This is inaccurate and borderline dangerous advice.

The output of a KDF does not contain more entropy than the input. You cannot "create" entropy with a KDF. Sure it _looks_ random, but no actual randomness was added during the process.

A KDF adds some security against brute force attacks by making them more expensive, but it does not add entropy, it does not increase the search space of a brute force attack.
I'm Swiss and worked at a couple of software companies, mostly smaller in size.

1. Engineers are highly sought after. The companies I worked for always had a hard time getting local people (and capable ones at that) and are pretty much continously searching. I'm hearing the same from friends at other companies.

2. Pay is very good, if you go for some of the larger companies or into the financial industry even better. (For swiss people, maybe can't compete with ridiculous silicon valley salaries.) Raising a family is pretty expensive though for everyday things, at least the schools and universities are cheap (and good) ;)

3. From my experience flexible working arragnements and remote work was hard to come by and often only allowed for maybe 20% of your work. Since COVID this has of course changed and we are currently forced to work from home. I think this also changed the attituded of many workplaces (at least I hope so) but it's not been a given for a long time. I can't compare work culture as I have never experienced it anywhere else but as others have mentioned, 42h workweeks are standard with 5 weeks of holidays (depending on the canton you move to you might also have more or less public holidays in addition to that).

The big cities are of course always the most expensive ones to live in but Switzerland has very well built out public transport that is also mostly on time so getting into the cities to work while living outside of the city is mostly a non issue if you are willing to spend the time traveling.

If you care about the FAANG titans, we have Microsoft and MS R&D in Switzerland, Google has their largest Software Engineer campus outside the US in Zurich and AWS is just moving in.