skysight-inc/HackerNews huggingface dataset:
Thanks for bringing this up, I didn't make the connection to default args.

I think this behavior is actually "default args" but reversed. In case of default args it is the mutability that causes the nasty surprise (ooops, all calls share the same object, which is mutable). In case of the "+=" it is the _immutability_ that causes the surprise - I would not expect "obj.a += ..." to create an instance attribute that shadows the class one.

I think the practical conclusion here is "don't call += on objects that don't support it - because it may work and this is not what you want!)".
Wow, this is a textbook example of trying to solve a deeply personal/emotional problem with logics and data instead of compassion. To anyone who activates their empathy sensors it's evidently clear that the OP is having a mild burnout crisis (not surprising after 70h weeks), and needs a bit of support first and foremost. What's really doing damage is your language, not a biased estimate of which percentile of a bell curve we're looking at here. It's simply. not. the. problem. If they are on the wrong track they'll figure it out on their own, but they need support and compassion.

Sorry for being so direct, but this culture of trying to substitute logic for compassion really pervades the IT scene in a rather toxic way.
And this is why we try to hammer into students' head that you can only manipulate series after you've established convergence / that the quantity actually exists in general.
That blog post is a bit dated. That's the old way. Seastar supports C++20 coroutines.

http://docs.seastar.io/master/tutorial.html#coroutines
I’m pretty sure I’ve read that Robert Zemeckis owns the rights to the Back To The Future ip and has to personally evaluate any new proposed media, and he has refused to allow any remakes.
Interesting that the founders and company reps want to remain anonymous. It'd be hilarious if the whole thing turned out to be a subsidiary of Facebook. Much cheaper than acquiring the next FB — just create it under a secret subsidiary brand and then reveal your ownership after it takes off!
But how to find a good therapist?
This is a silly argument.

Even if this convention was a "gun-free" zone in the normal sense (i.e. a lightly guarded school or shopping mall) gun owners are fairly orderly and law-abiding folk. They generally don't rebel against authority and carry guns into gun-free zones, even it objectively puts them at greater physical risk.

But this does not sound like normal circumstances. The whole problem with gun-free zones is that there is often no one close enough to provide an armed response to a mass shooter. As the saying goes "when seconds count, the cops are minutes away". An event with actual security (presumably Secret Service) there is an entirely different tradeoff.

I don't know the security details for that event, but presumably there are security plans that would assure most gun owners of their safety. Is your plan to provide that level of security to all gun-free zones?
Soviet-era mechanical devices actually came with the blueprints to manufacture spare parts.
Firstly I think this idea of rockstar programmers is truly damaging. Yes there are differences in peoples coding abilities but the vast majority of your ability to develop good software, that solves peoples problems is in how you and the team works together, not your ability to write a technically proficient algorithm. It's important to find a team you can work well with and that works well with you.

Secondly 70-90hrs a week is not a healthy work schedule, you're going to be constantly working while exhausted. Even the most productive people I've seen are tired at the end of a 45-60 hour week. If possible give yourself time to rest.

ps. Piecing together code from multiple sources is what 99.9% of programming is. Calling libraries is piecing together code just as copying and pasting from stackoverflow is. You need to understand that code to be able to piece it together effectively as you clearly do.
Feeling stuck in a rut is quite common and most people would at some point have felt that and mostly rightfully so. You’re young enough, potentially with little responsibility in the way of family obligations etc. given that you don’t mention any. Evaluate whether you’re doing what you love. If yes, there are things to enjoy in your evolving relationship to your subject. Things are not always perfect, for some of us never. You learn to extract satisfaction from the little that is good rather than the many that you expect or anticipate. I failed most of my dreams but reality is much better than I thought it would be. Don’t overestimate the value and eventual relevance of your plans. Follow them for the journey.

—they call me the king of the cliché—
Defeating aging sounds like a horrible idea as long as we aren't able to conquer space. The planet is badly overpopulated already as it is.
I am still listening to that song in Windows 95 (OSR1/2) CD - Good Times - YouTube
https://www.youtube.com/watch?v=iqL1BLzn3qc
It’s not “automated”. Instead, it will “notify” the automated action, which requires user’s confirmation. You need to take your phone out of pocket, tap the notification and unlock your phone each time you arrive at home.
others already said enough. me, i am only here to say this: you are not a loser.
We should phaseout Diablo Canyon because propping up that ramshackle contraption would burn enough money to build out twice the PV capacity it would take to replace it.
I thought this would be a problem for me and resisted using imports in YNAB... I changed to using it and I found I was more likely to actually keep on top of my budget knowing I didn't have to login to 2/3 different systems to start entering every transaction.
They've reinvented the funicular.
GP included HN's ellipsis when copying the link from a previous comment of theirs.

https://www.tandfonline.com/doi/full/10.1080/155636507014778...
Second this, would add any musical instrument to the list. You don't even have to be any good at it. Just improvise and see what comes out. The value for me lies in not being able to "think" about it. You just have to do it. It's not a problem to be solved but something to be discovered.
There are ways to do that. The simplest one is to overvalue inherited assets.

You don’t pay taxes on inheritance.
Surely you can buy them from Tblisi like we do.
Towards Gnome Shell on mobile
Hello Hacker News,

I'm the guy who made the Twitter post and wanted to clarify a few things because this Tweet keep coming back every year with the same comments.

1. About the thread:

First, I would like to say that this thread was purposely dramatic with the only goal to get a quick answer from Digital Ocean. We did not have a communication channel with them after their last ban email, and it was a way for us to promptly establish a communication through social pressure. And with hindsight, probably a bit of immature social-media revenge of creating a shitstorm on social media.

DO did not kill our company, they put us in an uncomfortable position. We did have two Fortune 500 clients at that time, but we had no critical data, just a few configuration variables that we were aware of and could probably recreate from our memory.

2. About the backups:

We had two database backup, DO automatic disk backup and a backup script that uploaded to DO object storage.

YES, IT WAS A MISTAKE to have all our data with a single provider. I've learned from this, and it was a valuable lesson for all the people that followed this story.

At the time, I was the only person with tech skills in a two-person company. My tasks ranged from UI/UX to NLP to DevOps, I had professional experience with frontend / backend, but it was my first role where I had to handle system administration. I think I did a fantastic job with it for a junior, outside not setting up multi-provider backups.

3. About what we did to get ban:

It really was a python script that had to process ~500k records and fuzzy match them against another DB with 1M records. It was pure business logic and nothing illegal / shady / or against DO TOS.

As stated in the postmortem, we did not have a payment history with DO, as we were still on free credit at this time. We had no malicious intent to avoid payment and had the mean to pay for what we used once the credit ran off.

4. About Digital Ocean:

I do not hold any grief against DO, it was a human a process error, it happens to everyone, big and small companies. What matters is that they fixed quickly, did a postmortem on it, and acted to prevent this situation in the future. Nobody got killed, no data got lost, and we all learned from this event.

Hope this clarifies the story a bit. And please stop harassing me about multi-cloud backups :s
> You mean 9.1% fossil fuels for electricity, right?

Yes, I do.

Yes, emissions-wise it is very good! A 'renewable'-based energetic system could do the same.

Yes, load-following capacity, it is getting better, but not good enough. And compensating it by over-provisioning would be, economically, a deal breaker.

Which source states that "60%" gas backup is needed in a renewable-based energetic system?

Denmark already more than half of its electricity thanks to wind power, officially plans to reach 84% in 2035 and AFAIK nobody stated that it cannot be done: https://en.wikipedia.org/wiki/Wind_power_in_Denmark

As stated above we know how to compensate for most of intermittency by spreading out (at continental scale) production units and using a mix (wind, solar...): https://www.imperial.ac.uk/news/180592/european-cooperation-...
What "modern" even mean in this context? Is Redis not modern and somehow obsolete?
I don't think WMPAUD1.WAV et al were composed by Brian Eno? They are from the Windows Media Player tour included in later Windows versions.
You will be fine - expand your network to people who will value your work and give you better opportunities. Abandon the idea of making it on your own. You need others to succeed.
For what it's worth, the DX7 isn't capable of producing most of the sounds heard in the Windows 95 sound. If it was used at all, it would be one out of several synthesizers.
OP Here: Had edited out a few things (don't know why), that I thought I'd add again in case others can identify with this

While in School I was easily impressed by startups and there missions but I find it tough to get impressed now. Stuff short of getting humans on Mars or extending our biological lifetimes (longevity). It's tougher to find jobs in these fields, achieve what ones set out to do or make SaaS / consumer tech money. Someone suggested doing an exercise on values, will do this.

Learning has generally become difficult since School - I think this comes from the broken reward circuit & inability to focus. I suppose working on meditation, physical health, detoxing from my phone and just exercising the learning muscle should help.
Indeed, using styles is the (only) way to manage any significant document in Word.
the point of the video is that given a distribution, the total expected profit cannot be defined, because the infinite sum of the probabilities of each case don't have an order, and also adds up to positive infinity and negative infinity.

it doesn't really matter what the distribution of the amounts are, as long as there's an infinite number of possibilities in the distribution (ie., it's not a finite amount of possible envelopes).
Often 'discovered' in this context means 'popularized' or 'made known' to the audience in question. Not neccessarly the very first human who found it
Yeah I expect to be fired and professionally scandalized if I were to call equity training Maoist too, and expose such confident ignorance in my understanding of what either word means.
I've stuck to using only email logins simply for less reliance on google (or any other specific service) and getting unique logins for every new service. I'm glad there's now a security benefit attached to it as well, even if I would have never imagined it myself.
Curated Human Anatomy Art
Hi HN, I'm toying around with a product concept for curating images that is free of Ads, Social Clutter etc. Sharing our first collection that is based on art and anatomy.
Stop expecting someone else to notice and start making things happen.

You could just leave and go somewhere else, but the problem will probably follow you unless you luck out and find a great company. Most companies are happy to let their devs stagnate on low pay. Making things happen yourself is the best way to improve your life.

Go to the founders of the startup and tell them you want to hire a couple more developers so you can lead, mentor, and improve. Sell them on the idea that you'll be able to move faster and reduce the bus factor of the app you build. Ask for a raise. Suggest features you'd like to build that will improve your learning.
Pretty good reddit discussion here.

https://www.reddit.com/r/JordanPeterson/comments/5qoe4d/self...

IMO, doesn't hurt to try at a fairly low price w.r.t with intended outcome. Additionally, there's a link with a free PDF/docx on the thread as well.
I'm afraid I still don't understand. Which profit flows are you talking about? And ownership of which capital?

If I set up a personal website or for a local non-profit organisation with no advertising, there is no profit to capture. And if I include advertising or take donations I don't need to capture "some" of the profits, I already capture them in their entirety.

Regarding capital, are you referring to server infrastructure? I can see the appeal of some kind of "hosting cooperative" in which all users of the servers take part ownership of them. These may already exist. However, I fail to see how cryptocurrency would be necessary for this in any way.
I am interested in how OP tested idea before making this product. I had similar idea but many people disliked AI voice, so I didn't make it.
I agree with you on Adobe Reader but I think Adobe doesn't care one bit. Somehow they have managed to entrench themselves in the enterprise document workflow.
He is a developer not an assembly line worker. Office work is subjective to the environment and can not be objectively measured. It largely depends on how he presents and positions himself in his specific work environment and there is always room to level up this situation.
Australian digital driving licenses can be defaced in minutes
The tone of the article is not very objective at all. Especially not in the way it characterizes the environmentalist movement. It appears that this nuclear plant in California will stay open because president Biden has signed a bill that will ensure that the plant will receive federal bailout money to keep operating. I.e Americans not living in California will subsidize California's nuclear plant. Hard to frame that as a massive win for nuclear.
Everybody can read about the authors and methods, abut the critics and their answer to it.

> mid-to-low thousands in total, with the current death toll in the hundreds at most

... isn't exactly summarizing the (quite large) spectrum of estimations:
https://en.wikipedia.org/wiki/Effects_of_the_Chernobyl_disas...
Schools should use whatever is popular in the real world. Because that is what they will need to know when they graduate. And preparing for that is the whole point of School. Right now, that's iOS and Windows.
... and then the "hero" proceeds to not use this craft of his, at all.
3-4 months seems doable. We are usually asked to do it in a week or two.
Significant gap in this case will be several years, no less, but regular technical interview can answer all the questions about qualification.
I can’t answer all of your questions, but I can relay my own experience of similar thoughts and feelings.

I find from my experience that happiness and satisfaction, sadness and envy rises and falls in peaks and troughs.

I too am prone to focussing on the negativity of my experience, but I realise it leaves me detached from everyone close to me, forgetting why it is I live and work.

It’s very easy to wall one’s self in, to become narrow in focus on the things you have, what you want to have and what you’re doing.

It’s worth considering broadening your worldview or perspective.

Take a step back and look at the life you’ve built, as you said yourself - you’re in a high paying job where you’re not so frequently challenged. You are fortunate and even if you do not see it you have opportunity to shape things to your needs. You can challenge yourself in your free time. Your work doesn’t have to be your whole life.

Outside of your work do you have other hobbies? Do you know people who work in a different field? Or perhaps come from a different culture?

From this differing perspective comes a better view of your own life.

Different things work for different people. Some find inner joy in creating art, writing, music, cooking. For others it’s experiencing nature, and physical exertion. If you’re more gregarious, taking up a new language, and speaking to others from a different country.

I channel my negativity towards writing, offline, physically in a notebook, I enjoy intense music and I’m learning the basics of how to use a physical synthesiser/sequencer.

Quite by chance I met someone through a friend and at spontaneously at their invite I went to Portugal from the UK to meet them again in person. The break from my life has been tremendously valuable and it was even better being able to share it with someone I care about
I agree in that it's not these quirks that are the problem with Python. My take on Python is that it has poor support for tools that make it easy(-ier) to reason about code that you don't know very well.

"Where is this called from?", "Where is x being set/modified/read?" - such questions are hard to answer with a large Python code base and I'm not even talking of code that abuses the dynamic nature of Python.
The way I read it it's dormant (unconfirmed) until Alice signs up, at which point it's implicitly confirmed through SSO.
I am currently traveling as I take time off and therapists seem to have licenses that restrict them to state lines. I should look into this though. Perhaps staying at one place would help with sticking to a PT at the gym & a good therapist.
I tried this with a few HP desktops I was going to use as a homelab, but I found it flaky. I used MeshCommander but I never got a stable workflow. I wanted to be able to reinstall with PXE. Somehow the vPro failed to connect when booting into BIOS.
Here's my attempt:

  ~/Code/local/hn ································ at  09:14:14
python3 hn_example.py
Hello Joe
Hello Sue

  ~/Code/local/hn ································ at  09:14:16
cat hn_example.py greeter.py
───────┬───────────────────────────────────────────────────────────
│ File: hn_example.py
───────┼───────────────────────────────────────────────────────────
1 │ import sys
2 │ from importlib.util import find_spec, module_from_spec
3 │
4 │ def encapsulate(mod):
5 │ s = find_spec(mod)
6 │ m = module_from_spec(s)
7 │ s.loader.exec_module(m)
8 │ return m
9 │
10 │ greet1 = encapsulate("greeter")
11 │ greet2 = encapsulate("greeter")
12 │
13 │ greet1.name = 'Joe'
14 │ greet2.name = 'Sue'
15 │
16 │ greet1.greet()
17 │ greet2.greet()
───────┴───────────────────────────────────────────────────────────
───────┬───────────────────────────────────────────────────────────
│ File: greeter.py
───────┼───────────────────────────────────────────────────────────
1 │ name = 'nobody'
2 │
3 │ def greet():
4 │ print ('Hello '+name)
───────┴───────────────────────────────────────────────────────────

I differ from your syntax by passing string parameters on (your) line 3 & 4 (my line 10 & 11).

I think this isn't a good idea though, i'd lookup __slots__ if leanness is an issue.
There's many different sweeteners each of them has its own lifecycle in our body.

In general you can eat them safely, most of the studies showing their negative effects are poorly conducted inconclusive experiments (asparthame especially). The other half shows adverse reactions in mice, which have a very different digestion.

The point of sweeteners is that you do not digest them, they leave your body with the same structure they had when they entered.

I would avoid stevia though, I think it's the one more controversial and it's only pumped because it's extracted from a natural plant rather than sythesized.
Asking on Hacker News about your psychological problems is better than ignoring them, so yay. But given the picture you paint, I'd advise you to get in-person help of some sort. I'm not a big fan of low cost counseling: most places it's done by interns, who are beginners. If you have access to good counseling, via insurance or ability to pay out of pocket, I'd start there. So often, we are blinded by what we can't see in ourselves, which makes it very difficult to get unstuck via typical self-help books. Another thing to consider: There are all sorts of high-powered processes designed to help you change direction in life, but whether these are suitable for you personally is something only you can know. (Examples include Tony Robbins workshops, The Landmark Forum, the Hoffman Quadrinity process.) Some folks will opine that these are scams (and they certainly don't work for everyone) and others will say they've found them very helpful, if sometimes extremely pricey. YMMV.
Still, historically people have died from diseases at a much higher rate than even during the worst of COVID pandemics. I think if anything people should be more accepting towards death, recognizing it as a part of life that is eventually unavoidable to us all.

I guess one problem is that nowadays in Western world people often spend their last times in a hospital, rather than at home and their local communities. This doesn't give space for healthy mourning.
Hi Nic,

As a person that has been watching this kind of horror stories from outside, I just wonder why people choose to make business with companies that have no human in the loop when stuff gets serious.

AFAIK, for AWS for example, when things get serious you are prompted to upgrade to a the big boi support plan (1.5k$/month) and are assigned a TAM (Technical Account Manager). In a situation like that, if you were running on AWS, a TAM or any human in general would have probably fixed the whole thing in like 30 minutes (if anything, because they would know you and that your usage is legitimate).
Well then you can just break the concave (?) piece into two, without altering the design too much, no?
I don't think anyone here says that nuclear should be completely eradicated. Sure, there are valid use cases.

What I was trying to touch is the argument about land use. I don't want to stereotype, but oftentimes these things are a product of simple "back of the envelope" calculations where someone takes surface of one panel per Watt and tries to calculate how big of an area would You need to replace N nuclear reactors of given power.

Not the first time I saw it. It's a sort of a theme I see in discussions around me with people from STEM over 50 (not saying that's You, it's just where I keep hearing it).

Nuclear made a lot of sense in the 60s-70s, sure. But since maybe 20 years or so the alternatives are getting better / cheaper / generally improving way faster than nuclear currently is. And so is the energy grid. Makes sense to update those arguments then.