skysight-inc/HackerNews huggingface dataset:
> But you listen to these activists for two seconds and their real goal is to "dismantle capitalism

That's their goal because the fundamental aspect of capitalism - i.e. the idea that profit maximization for its own sake is the top priority, above all else - is largely what has led to the currently-escalating climate crisis. It's kind of hard to be a climate activist and not be critical of the very ideology responsible for climate destruction.
I quit Twitter long ago because it seemed like a place you’d get verbally assaulted and there wouldn’t be a button to defend yourself.

But now I signed up again, just because.
I would like to add about the text input: I expected that if I edit my text input e.g. put the caret (text cursor) in the beginning of the text, then the focus will change. This is not the case, even when typing.
If the mother is breastfeeding, help her sleep when baby sleeps. If she doesn't things can get overwhelming fast.

It's such a time commitment learning to breastfeed and it's emotionally overwhelming. The lactation consultants all said there should be no pain if the latch is good. That is a lie. Multiple mothers have told us it hurts for the first few weeks. But it gets painless after that.

My son is 8 weeks old. We're just starting to find our feet.
This might cheer you up. There is always hope. https://youtu.be/LxgMdjyw8uw
As another commenter mentioned, do you really think about them, or just tell yourself that you think about them while writing the same boilerplate millions of times?
> My only complaint about go error handling is that they are not encoded as unions/sum types/variants/choice types

It would not be as bad if they were typed at least. My main pain point of Go error handling is that it's all `error` everywhere, and you have to read docs or even library code to understand what kind of errors there can be and how to handle them.
I have a Web API which calls a DB API which calls a stored procedure which executes several SQL statements.

The Web API has a well-defined and documented interface. Is it a “unit”?
> It is odd to mention expense for terrestrial mining in this context.

Only to point out that it's not "worth a lot more", nor that it's "ready to be dug up".

> Asteroid material will become important once orbital construction has seriously taken off, after Musk is long dead.

Possibly, but Mars exploration is an even longer-term bet, which has little to no financial benefits.

Considering Musk has experience in boring, space, and starting outlandish ventures, asteroid mining seems like a good fit. It could be a lucrative shorter-term project, that could fund his Mars and beyond exploration goals. It might even be achievable within his lifetime, by focusing on near-Earth objects.

Granted, this is all speculation from a layperson, but I'm curious if this has ever been considered.
Modernizing wouldn't slow down building.

Probably you could speed up the build by consolidating it into a few files; linking is about the slowest thing compilers do, although mold could help, there.

Moving small things into headers might seem like it would slow down the build, but anything wholly defined in a header doesn't need to be linked.

Looking at your pull 256, a delegating constructor would seem to be right thing, but initializing in the class declaration is absolutely best. I wonder who still wants it pre-C++11.
Is there a term for the opposite - presuming you're smarter than a huge team of full time employees with specialist knowledge and access to data you don't have?
I’m currently unable to sleep and I’m on my phone, so I can’t code and I’m thinking about how to implement an easy to use audio player on my site [1]. I have been slowly making progress on it as a side project and it has been a fun learning experience. I’m also working on trying to get a “full stack” app without a server to maintain.

1. https://boardsearch.io
Decentralisation isn’t about never running things on a centralised stack. It’s about not having to.
Thanks, you're right.

But I still think that "programmers are highly paid" is a bit of a myth, and schoolteachers in SF are just under paid.
Unless they decline to publish their source code for over a year, again. https://github.com/signalapp/Signal-Android/issues/11101
First, congratulations. Second, strap up.

For me, it was an incredibly difficult time to adjust. I'm selfish with my time, I need me time, I need creative thinking - and it went away.

It's easy to become a shadow of your former self trying to be the best father. My advice is, find balance. Find time for yourself, make time for your partner. She will need that time alone too.

Your job as a father, during the first year, is to make sure the baby survives. That's it. Don't think you'll always be able to make it stop crying, or think you can attend to its every need. You'll be lucky if you can put it to sleep. The first year is rough, baby wants mum, a lot. You're the supporting actor, you won't be the lead act. It will feel unfair, that no matter how hard you try, you can't deliver.

Finally, know that the first 6 months are the hardest. It gets easier, and the 2nd year is easier than the first, etc. Don't lose yourself and be patient, compassionate, and understand: life won't be your life anymore. It's about the family's and it hurts, but it's so much deeper and so much more interesting. This will be the biggest growth you'll ever accomplish as an adult, becoming a father.

So enjoy the best of it (they grow up so fast), and brush off the bad parts. Embrace dad jokes and becoming that dad, because humour is the best weapon to the loss of your personal life.

Good luck, all the best.
Just on the wrong side of my mid-50's here. The previous company I worked for completely burned me out when was 50-51 after they were bought out. I'd been with them for a long time (double figures). I was then made redundant and took a break. I ended up despising the industry I'd once enjoyed working in. I did a bit of freelancing but my heart wasn't in it any more.

Then Covid came along in 2020 and my freelance work dried up. I reluctantly and fearfully started looking for full time work and was lucky to join a company that takes good care not to burn out their staff. Been here now for a decent amount of time and rarely work more than my contracted 37.5 hours a week, and it's fully remote.

> Don't be anybody's bitch. Don't chase after that carrot dangling from a stick in front of you forever.

This. I was made promises about being "looked after" by the last company, especially around the time it was up for sale. It was all bullshit.

In the end, work your contracted hours then go home/switch off. Don't let your life be held hostage by companies that expect you to burn both ends of the candle. Burn out is no fun.
In addition to the sibling commenter there are a couple of organizations with recommendations that one needs to follow. One of those concerns what standards to follow when building bathrooms. They are not technically required but I think it will be hard to get insurance for a house with a bathroom that does not follow the recommendations.
This starts out very well, instant favorite. I hope it stays on track.
Some much less noisier channels for expert insight are tech talks and podcasts. You can select the expert, the subject, and have a respectful monologue/dialogue.
I meant to say "certainly _not_ validating"
Reminds me of how on Stripe’s dashboard I keep getting prompted for a password; I can just click cancel and everything continues working fine. Anyone knows what’s up with that?
This must be a parody. If this was really the only barrier to women being in CS then a university could just sanction individuals with heavy body odor and tell them to take a shower and voila you have your women in CS utopia.
I have spent half a career leaving at 5 (and 8 years leaving much earlier to pick up kids who now walk from school again on their own). If I ever as much as heard a mumble about not working enough when I do 40 hours I’d insta-quit that job.

Yes I did some long days occasionally but I did them because I felt it was needed and because it fit my personal life on that day. Not because someone told me it was needed.
My goal was to understand and explain the quick down votes, but I read enough to determine that it didn't seem useful to me. I followed the first two links in your original comment, so didn't see these other pages, and didn't want to watch a 7 minute video.

I understand what social applications are, what operating systems are, and what web frameworks are. I can't see anything resembling an operating system on any Qbix page I've looked at, but I do see things like a web framework, which is what you call it in some places. I've now watched the video - I think you should put Qbix's capabilities of identity sharing and friends but not websites knowing your private info in text form up the top, as not many people will watch a 7 minute video to figure out what something is (since that feature seems kind of neat and unusual).

I think the GitHub page should mention that the company is also named Qbix, as that's kind of confusing.

Some other things I interpreted as warning signs on the GitHub page are:

- The overly-ambitious goals like "We aim to do to Facebook and Google what the Web did to AOL and CompuServe" - almost no one stating goals like that will achieve them.

- The screenshots are mostly American politics, which is to many people the worst aspect of social media, so quite off-putting.

- "Build once, run everywhere". Developers have heard that before, and it's never been correct before, so seems dubious now.

- In several places there seems to be a lack of distinction between the open source software platform, and the online platform Qbix runs (controls?), e.g. "If your app turns out to be very useful, we can discuss giving it a head start by making it available to everyone on our platform.". I can't tell if it's actually the case, but that makes you sound like gatekeepers in some sense; isn't an app I make already available to everyone?

Those are good examples of open source projects controlled by a single company, but people using them are running the software on their own systems, isolated from the company. Qbix the software sounds more entangled with Qbix the company. I've now read a whole lot more, but I still don't really understand.

I found some broken links on https://qbix.com/platform, on the left "For Developers" etc. don't do anything when I click.
Well run companies do not do all nighters (except in exceptional circumstances).

I think there's a valid point hidden in your insane comment: there is a competitive advantage to abusing your staff, so it's really up to governments to force companies not to. Things like reasonable holiday allowance. Good statutory sick pay. The EU working time directive (which was sadly made optional but it at least set the tone).

All of that is missing in the US which is presumably why companies there don't hesitate to push people as hard as they want.
> What's the benefit of the result type here

Only to be consistent with the more general case:

func tryToGetSomething() Result<Something> {...}

Or perhaps you mean why not:

func CopyFile() Result<error> {...}

Yeah, sure. I don't care. I'm just tired of typing and wading through if (err != nil) { return err } all day long. Go has generics, so why not magic the e r r o r into place and save the species a few billion keystrokes?

> I honestly also don't see how retrofitting it wouldn't be trivial.

I'm not the first to propose this. Others have and the naysayers are legion, citing one corner case after another. I argue that the corner cases aren't worth solving, perfect being the enemy of good. The complier is free to bail on whatever outlier gymnastics someone might try.

> One could probably even write a preprocessor for that.

I (and many others) abhor the concept of a precompiler/macrowhatever for Go (although some have resorted to them for reasons.) Go is supposed to be a fast and self contained; embiggening the tool chain with more stuff is the opposite of the intent of Go.

> it will lead to less explicit error messages

f := os.Open(savegamepath) ?("Couldn't load savegame: %s", err)
f := os.Open(savegamepath) ?{decorateAndReturnError(err) {...}}

Or similar perhaps.

Error handling is common. It's worth bending the rules a bit for a gain in concision. A little pragmatism would go a long way here.
Even as a class I device (which an ekg is emphatically never going to be), the ISO audit is three months between the first two stages alone. Under MDD 3 months is a push, but under MDR I think 6 is a much more realistic minimum (if you're starting from literal zero).
There's some more info on steam [0] about the release.

TL/DR: 30 $, Legend mode for sure, Arena and Classic mode maybe or a few weeks after. More updates (graphics, Mac & Linux support) a bit later. Adventure mode will follow.

[0]: https://store.steampowered.com/app/975370/Dwarf_Fortress/
Sorry, I was not clear enough.

I come from the C++ world, where it is natural that types are checked at compile time. And where you would use classes to implement the 'sophisticated types' the author suggested.

So in the ears of a C++ programmer the article says: design your classes well.
Don't circumcise (genital mutilate) your kid if he's a boy.
Related:

Ask HN: First-time dad-to-be. What do you wish you'd known back then? - https://news.ycombinator.com/item?id=31976803 - July 2022 (388 comments)

Ask HN: Guide to becoming a dad? - https://news.ycombinator.com/item?id=9756232 - June 2015 (89 comments)
Hard disagree. You lose a lot of context by simply returning an error message, which may not actually contain the relevant reason for the “non-happy path”.

While Java stack traces may be verbose, with even an ounce of experience one will realize that you only have to look at the top message and the “caused by” top messages. The other parts are important when you actually want to reproduce the error — good luck reproducing based on a single “failed to query user” message.
As you say, Twitter is a platform for elites. That means you don't get to do anything on Twitter whether or not you join unless you're elite or lucky; the effect is a one-way direction. Twitter is good for notifications from elites but any elite is almost certainly on multiple platforms at once so you can always get your notifications elsewhere.

What kinds of trends or stories are you at at risk of missing out on?
And by research you mean Russian propoganda
There is a surge in RSV (https://www.cdc.gov/rsv/index.html) this year so be sure to wear a mask at the hospital and wash your hands regularly, especially after being in the common areas.
How to parse the date_added field in Chrome Bookmarks file?
This gives me an idea. Do you think this can be used to build a small fire extinguisher?
Something like this?
https://youtu.be/zECUui0qi9Q
I doubt I could learn to speak Japanese at this point, nor could I relocate because we already built a house and have a 1.5yo baby so options are limited :). Plus I was thinking about something smaller, not really an AAA studio because from what we here often working for these studios is a constant crunch, and that’s not what I’m really after.

I tried the free trial of FF14 and I enjoyed it briefly some time ago, but then they made a change that made it basically impossible to log in on the free account so I stopped.
Sad seeing these types of derogatory comments on HN. Take it back over to r/conservative.
Silicon Valley can only exist because a software business can be located anywhere but investors and workers must utilize agglomeration.

What this means is that software companies are closer to the money than other businesses.
"Still technically a DFS" - No! The traditional textbook DFS visiting order has certain important properties. It's not just a "BFS" which uses stack and doesn't produce shortest path. There are more complex graph processing for finding strongly connected components, searching cutpoints and others which rely on proper DFS. Replacing DFS with this thing will result in completely wrong result. It is possible to implement a proper DFS non recursively, but it's a bit more trickier than just replacing queue with a stack in BFS.
I'm so excited for this.
Thank you! For sure easier to go with friends. The “share it with as many people as possible” approach has yielded some invites from other climbers so that’ll work out I think :)
This seems like rust’s return types with `if let`, which is a general concept instead of hard coding it for one specific use case.
> If all-nighters will make you rich, by all means, pull em. And then once you're rich, STOP.

What is rich? 100k? 5m? 100m? I know what your answer will be: "you decide what is rich". Well, maybe the people who work a lot want to be a lot more rich than you.

I doubt anyone will trade becoming rich for meeting mysterious strangers at bars and partying at night. Both these things involve drinking, and really it's just a drug out of misery.

Ultimately, your gripe is not that you worked a lot but just that you didn't make money out of it. Now, you are just fantasizing and romanticizing being penniless (without ever being in such a situation).
When your kids are young, they will depend upon you. As they grow, they will be attached to you. You will be joined at the hip and do everything together. Cherish this.

As your kids progress through their teenage years, they will distance themselves from you. They may lie about what they are up to. They might argue with you, shout at you, and cut you out of the discussion even when you desperately want to be involved. You need to recognise when this is beginning to happen and change your method of parenting to become less telling, and more guiding, letting the rope out and providing a secure nest for them to come back to thats free of judgement and accusations. This will be incredibly hard for some people, and can honestly take a very long time to get right. During this time they are psychologically trying to find their own way and independence, and this is normal. Just be there to gently guide.

If you are kind, loving, guiding, involved, and nurturing, you can't really screw this up.

You've got this. Just keep in mind the above for 12-15 years from now for your own sanity.
Some practical things I’ve learned after a year:

1. Pace yourself. You’re going to want to try to do as much as you can with your newborn/infant but sometimes they’re just not ready for it. If you try to be very extra with your child on day one, you’re going to burn yourself out. A corollary is to appreciate the free time you get.

2. Children all develop in their own way so don’t freak out if your experience something different than what you read online.

3. Fear about SIDS is so incredibly overblown. I think the latest that we know about SIDS is that it’s a genetic thing. You should keep your baby’s area relatively clutter free to minimize suffocation risk but you don’t have to spend every waking hour of your life worrying about if they are breathing.

4. If you plan to formula feed, get a baby brezza. It saves so much time. Don’t believe the negative reviews, my baby is thriving.

5. You can’t spoil a child when they’re an infant. Don’t be afraid to give them all the love they need, especially when they’re crying. You’re not doing anybody favors by letting them cry things out.

6. Be empathetic to your partner as you are now sharing a foxhole with them.
Thanks! Going to give it my all.
Currently learning about electromagnetism. Fell down a rabbit hole building PCB motors and it’s been great fun re-learning things that I neglected at university.
I was at a conference yesterday with my 26 year old son. The speaker was talking about key life moments. I remember being left with my new-born baby son for a few moments by myself. My wife and I had no money, she had a spell of post-natal depression. It was the hardest of times and the best of times. Enjoy each stage of the journey.
I really wish browsers would support this for `contenteditable` (even without the tail, just having some way to put the cursor in either position, maybe based on from what direction the cursor is coming from).
Slack's message editor is `contenteditable`-based, and it means there is absolutely no way to put the cursor inside at the beginning of e.g. an inline code snippet.
Despite the code snippet formatting having an outline border and some padding, meaning it should be possible to even click inside or outside the snippet unambiguously just with your mouse, Chrome will always place it in the same spot and you have to do the awkward trick of replacing the first character.
This single behavior makes `contenteditable` so terrible
You really don't understand the difference between your governement, and a group of invaders?

Native North Americans are not "special". If they have claims, then everyone has claims.

Yet you failed to respond to this point, and instead, discuss race, claiming the issue is that white people did something.

What?!

In my post, I described how those found here when Westerners arrived, were not the first here. This is historical fact. There were waves and waves of immigrants to the new world, over land bridges, over the pole, and by boat.

All before the 1500s. Going back thousands and thousands of years. All resulting in displacement, war, violence, death, and seizure of territory and land.

But to you, all is important is... what? The last event?

If so, where is my historical land? When do I get it back?

But I guess that's not important too, because it is ok (as I said before) for one white group, to invade and take from another?

Here's another example. This isn't from the old world, but the new.

When the US ceeded from the UK, it took over land vacated by empire loyalists.

Do those people get their land back too? Of so, why not?

And of your response is, "it was native land, there before, so the loyalist has no claim!", then why does the native have claim, who stole it from the peoples there before them?

The point is, you either have to go back to the very first person to settle land, back millions of years in the old world, and tens of thousands on the new, and give the land back to their descendants...

Or you have to pick a point. Is it "but white people did it!"? Or is it "the last guy that had it!"?

If so, see my empire loyalist claim, and so on..

Or is it "the guy who has it now"?

Which is it?

And beyond all of this, not a single native north American alive, has had any land "stolen" from them. Their ancestors lost land, yes, but not people alive today.

How do you address this?

It sounds to me that your logic is "a people somewhere lost land, like happened all through human history", so therefore "the laws of the US should be null and void re: land ownership".

I don't get it.

It's like saying "wars happen, and people died, so it's ok if Bob murders Judy".
That’s actually a good thing. If there were no new developments then there wouldn’t be a place to house these new residents. The discussion here is about how people oppose these new developments to increase house pricing or “keep things the way they are”.
I think you’re right, little dopamine hits from attention or feeling self righteous. But I doesn’t seem to work on everyone, and that’s the part of tech Twitter I follow.