skysight-inc/HackerNews huggingface dataset:
I wish you the best of luck on your journey - it's a difficult path, I've had friends and relatives who were similarly afflicted and it's a complex addiction to resolve when it takes hold! Keep at it, a day at a time!
I agree it’s be nice to be able to return error + zero values in a simpler way.

Personally I think they should add a keyword like returnif or check to do this, as sometimes (maybe half the time?) you don’t need to decorate an error if you want to handle it higher up. So you could just do:

returnif err

I hate the guard proposal as it mixes up error handling and function calls, but it’d be nice to have a simpler less verbose way to return errors.

In comparison with languages throwing exceptions though, Go is far far easier to reason about, even if more verbose.
The blue checkmark was worthless before, because:

1. It did not prevent impostors and fake accounts anyway, see my other comment[1] for an example. Others have posted more examples in this thread as well.

2. It was primarily available to celebrities and media personalities. Real experts in fields, journalists, scientists, writers had a hard time getting it if they were not established media personalities already.

[1] https://news.ycombinator.com/item?id=33490042
My proposal: add “→”, with the following semantics:

Instead of having programmers slog through an if statement:

if err != nil {
return err
}

Allow them to instead write [the superior]:

err != nil → {
return err
}

PROS:

* composes well with go’s existing “errors as values” philosophy

* matches →‘s usage in formal logic to signify implication

* a whopping 50% less verbose than “if”

CONS:

* to make it backwards compatible, we’d need to also add “←”
"Grew too quickly" does not imply that Twitter currently has too many engineers, only that they did at some point in the past.
So, here's the thing - there's a secret world of sports and odd activities that, I feel, only a select few know about, that are both more fun, cheaper, and more beginner friendly than mainstream stuff.

I found, a while back, that things like Lightsaber Fencing, Megagames (board games with 60+ people), dodgeball, Historical Fencing, Ultimate Frisbee, Apenkooi (tag, dodgball, minigames in the Netherlands), etc - I found that those exist. And I finally feel great doing sports - it's great to explore around a bit, do something unusual for once.

The issue is - communities are small, barely known. And it's a wee bit tricky to manage a club as it is, even without doing marketing and outreach.

So I've taken up a project to try and help out. Bundle all the unusuals into one platform, help with club management, help with being seen. In a way, perhaps I can take all of these small activities and form "one big sport" that can grow faster as a result.

Anyway, humble beginnings, but here's the site: https://nogym.co/
AFAIK copilot suggestions are sourced from a model that is trained on many sources. Presumably when it claims a solution (an autocomplete suggestion), it would be using data taken from dozens, maybe hundreds of examples. How does a person even provide attribution in this case?

It's like saying, I know 'polo' comes after Marco not only because I was at your pool party where we all signed NDAs, but also because I've been to dozens of other pool parties. How do I know where to attribute this knowledge? In part that knowledge is due to the prevalence of examples and not just any single example.
hello i am looking to connect with fellow aliens and this seems like a good place;
discord: the.k01#2727
It’s certainly better at providing the psychological safety that you have “a really good lock”, and since that’s what locks are for that’s important. With that said, nobody being stopped by the Schlage but not by the Level. Especially since as you point out the default configuration of the Schlage is trivially bypassable with a boot.
@Dang, you see that? You very well saved a persons life and run a great community. Hats off to you my friend.

To OP, wishing you the best on a successful recovery and happy times ahead.
That you can run Twitter with a much smaller crew is probably true, but also kind of irrelevant. Question is, can you make it so overnight.

You write stuff totally differently depending on whether it's going to be maintained by just you, or a team of 50 DevOps etc. Yes you could probably run stuff on N servers instead of M where N << M, thus requiring much fewer sysadmin support etc but that requires that you designed things that way from the get go.

But how much work is it to realign stuff to run this way? Probably initially more work than just keeping it going as is.

It's like, you can't take a ICE car and turn it electric by just cutting out the engine and sticking a battery where the fuel tank was.
> Cut Twitter’s reliance on advertising to less than 50 percent of revenue

He’s definitely reducing reliance on advertising considering how poorly ad sales are going. So we’ll soon be able to mark that one as a « win » I guess. /s
As someone who really likes Go, I don't agree with you on this one. To me, it just means writing a lot of pointless boiler code and what's really worse is that the "happy path" of the code is obscured underneath a pile of pedantic make-work code
I use Twitter daily. A lot. I can understand feeling bad if it falls apart - we will have lost something. I don't understand feeling bad now though, when it hasn't yet fallen apart.

Maybe it'll be okay, maybe it won't, but no company lasts forever. If Twitter dies something else will come along.
Employee hazing?
I’m not a lawyer but he is on video in 4K doing illegal activities. I think it would be an open and shut case.
For development I would just recommend github issues with comments. Way more user friendly. Also separate identities, perhaps even different server. No need to get main account compromised, or to get banned from Github for spicy comments.
I've been told they've had internal discussions around having LPL test their products, but they never went anywhere. Level was pretty dismissive when I brought it up as a suggestion in one of their many recruiting attempts.
But you are saying he should say something different. If Dorsey believes he hired too quickly he should say simply that.
In my opinion stealing is when you benefit from an implementation that you were not supposed to copy-paste.

I do not think that using an existing idea to work on your own implementation is stealing.

But copilot does not reimplement ideas, it blatantly copy-pastes implementations (with comments, bugs and everything)
I'd love to get back into it, but I'd fear that all my lessons and parental "guidance" with music and singing would come flooding back and ruin it again for me like it did the first time around. I was one of those kids whose parents kind of imposed music on us kids rather than let us enjoy it.

It makes me happy to see someone getting some joy out of singing, I hope you really emjoy it!
We did it in the pandemics. We started on April 2020, and Monday we are getting an electrician here to connect our solar panel array to the main network (Germany). Me and my wife learned a lot, we fought a lot, but was such fun. I value much more now the people that do that as daily job. Not everything looks perfect, and in our opinion it was definitely more expensive than paying someone to do it. If in one hand you can ave labor costs, in the other you spend quite often more money in more material (buy more then necessary, buy stuff that you dont need and etc). Have fun!
https://www.google.com/search?q=propagation+is+Prohibited&hl...
Meta reverses plan to occupy 66-story downtown Austin skyscraper
That really misrepresents how exceptions are used, IMO.
Who said they were impersonating? Police officers don't mind working on the side for a little scratch.
Mastodon has plenty of moderation: every instance has it's own people, when questionable content makes its way from a non moderated instance to others, the moderators of the others can moderate it. If an instance receives moderation requests from the rest of the fediverse and doesn't act on it, it eventually gets defederated.

Having a process that distributes the load of moderation is better, IMNHO, than piling all that work on underpaid people.
returnif err

That's exactly his proposal at the end of the article, except he uses 'guard' as the keyword.
Sure, let me be clearer. The media said the laptop and the videos were Russian misinformation. Turns out that was his laptop and that was him in those videos.
I guess that is true in the higher latitudes on Earth. On Venus the tilt is 2.64 degrees, so it would be even more apparent in lower latitudes.
Let’s hope Microsoft doesn’t read HN. Else you’re going to see that bundled with Office in no time.

\s
I'm not a physicist, so maybe I missed the connection between negentropy and some very generic life advice.

In terms of actual energy usage, the examples don't make sense to me. It doesn't take 3x as much energy to pick up 3 socks from the floor, or wipe a counter that is 3x as dirty, so if you actually want to conserve energy you should let something get to its maximum-acceptable dirty state before cleaning/tidying.
It is more of an example. Say you drop a sock and other clothing items every day, you will be swamped in clothing soon. -If you lived with people a lot, you know these types exist. And it might point to a behavior where you let things be (in an entropic state) which could spiral out of control, where the amount of work to fix it (negentropy) is a big energy expenditure and needs more and more effort to organize.
My university actually has a near 1:1 ratio in its CS course.
It helps that we are in the middle of a large metropolis...
Could be. Slackware is a popular name, but I would call it "niche" rather than a major distribution. Just my personal view, obviously.
Is this different from the GP data? Didn't we had to opt out of sharing GP data a while back? Still think this should all be opt-in
Running a pinball game from a disk image doesn't make me a pirate
I'm a fan of Elon and am optimistic on Twitter's future, but this is not compelling whatsoever. The fact that I pay $8 a month and still see ads is enough to make this a non-starter.
Yes the fact the Go makes you use errors is good.

The particular syntax for returning an undecorated error is needlessly verbose and takes three lines.

We shouldn’t have to write this say three times in a function:

if err != nil {

return nil, 0, err

}
You can use a carbonation cap and diffusion stone with any 2L PET soda bottle and any CO2 tank with regulator:

https://www.amazon.com/Carbonation-Cap-Diffusion-Air-Stone/d...

The original version of this was a plastic cap but it doesn't work all that well:

https://www.morebeer.com/products/carbacap.html
That’s what I try to explain to my wife all the time!
I don't know about this project, but OSM data included information on levels for a while (and it was used, in addition to just being there: e.g., in JOSM you can switch between levels for editing; not sure if I saw 3D rendering of OSM data before, but that's possible). While this looks like a demo by a commercial company selling "Interactive Map Solutions": not major news about OSM itself, but may be amusing to poke.
That's why you unfollow such people.
What's the zoning and regulations around building a house in Sweden? If you're connected to utilities like water/electricity, do you still need a professional to come out and certify everything?

Even if you're totally off-grid, do you still need someone to certify the build and the design itself? Any time I hear of house building in Europe I keep thinking back to that British version of Grand Designs, where there would be the inevitable house builder that would forget to add metal ties between masonry courses or something and end up costing themselves thousands of bucks.
I think you just start and then redo the mistakes until it works.

If you end up getting tradespeople in, you end up redoing their work as it was worse than the v1.0 that you did initially.
I'd say an exoskeleton amplifies body movements [of at least one limb?].
If advertising interferes so much with public discourse, as you say, isn’t it then a good thing that advertisers are withdrawing?
This is getting ridiculous.

I am sure that Musk does not plan to imprison or torture Twitter's employees. The UN can rest easy.
You can call this a blockchain driven twitter and you would only be about half wrong.
Wirecutter definitely has written articles saying they don't recommend anything in a category in the past. That's the reason people trust them!
Is there an aggregator for fingers? So it becomes more RSS or like twitter in format?
We dance round in a ring and suppose, But the Secret sits in the middle and knows.
How is this adding flexibility?
Sure hello, forgive my cynicism I used to be quite excited about chatting to strangers, not so much anymore!
Hello! I suppose more than anything recently I’ve really been trying to improve and increase my social relationships, which I feel like I’ve left too long by the wayside. It has been an endlessly rewarding journey so far and I feel like I still have so far to go. And I was just thinking about how social I used to be online too, so this thread really hit on something I’ve been thinking about a lot too recently. Thanks for making this, OP!
Yeah, it's interesting how some people think that its axiomatic that checked exceptions are so awful where they're a feature I really value. <shrug>
In college I sat on the floor of my school library and read Siddhartha in one sitting. Great book!
Unfortunately, it seems that Paypal requires a phone number regardless of 2FA method, and there is indeed no way to disable this insane feature.

Seems like maybe a good idea for a class action lawsuit? I'm not sure what to do about that. A company shouldn't be able to do this and still meet compliance obligations.

I'll have to delete my account, unfortunately.

edit:

1. I didn't give Paypal my phone number so that they could use it for this. I gave it to them for banking purposes only. I wonder if this constitutes a GDPR violation?

2. I wonder if contacting their auditors would do anything.

3. Maybe email some of the politicians who care about this stuff - Ron Wyden, Elizabeth Warren?
Nah, I haven't logged in in quite a few months and I got the OTP prompt.
I guess it depends on what your definition of spam is. I think it people are paying to be promoted then it is the same as an ad, and to me ads are a form of spam if I don't want to see them.
This was a good reminder that I’ve been meaning to close my PayPal account for a while. It was a suspiciously easy process
I spent the weekend so far making a quick project to visualize optic capabilities for vehicles in a tank simulater game called War Thunder https://github.com/ImVexed/ThunderView. It's pretty fun getting a useful data viz out of a data mine. I even used another project I made, https://isobot.io, to automate triggering its CI anytime the data mine gets updated.
Is Twitter losing $4m per day his fault? As in the acquisition was a LEVERAGED BUY-OUT and he scared off advertisers at a advertising summit that would have locked-in adrev for the year of 2023.

When you borrow money at an obscene interest rate during a leveraged-buyout, the fastest way to pay your creditors is to cut headcount if history serves correctly.

I have seen no numbers indicating they were losing anywhere near that per day looking at their published financials.
I think what's missing is that Mastodon doesn't cultivate the "Local timeline" in a way to encourage people to act like a community. On their iOS application I believe they actively removed the possibility of accessing it - which was hated on at the time, but the devs were very adamant to keep it like that.

There is a mastodon fork called Hometown, that gives the local timeline a higher importance, but I haven't used, I don't know the details.
So you’re saying that how fast someone can type and how well they can recall makes a difference? I don’t type over 120 words per min like my grandma, but I have a photographic memory. I can tell you what file & line a chunk of code belongs to, or spit it out verbatim, customized to the current problem I’m working on.

So, you’re saying I can’t work in this industry? That seems a bit harsh.
Clutter really ought to be considered a sort of mental energy trap. It takes energy to avoid it, to physically shuffle it around, and it simply saps mood. I used to think I was immune to such effects, but I'm not. It's most obvious after cleaning up from a really bad to a really nice state. A space that can be bright and inviting eventually ends up claustrophobic and repellent. An enormous amount of mental and physical energy goes into either shuffling or mentally avoiding engaging with the mess. I've known people who literally seem blind to it -- but they don't trip over their indoor obstacle courses -- burning energy there both literally and figuratively. One sock is the start!
Guys, there's like four layers of defence between you and the big bad porn:

1. Your instance having banned misbehaving porn instances. A.K.A. all instances that are exclusively meant for porn/sex work.
2. You not following porn accounts or accounts that boost porn posts.
3. Porn having an NSFW content warning (literally haven't seen non-blurred porn yet).
4. You personally blocking/reporting porn instances/accounts that get through to your feed by the means of a boost.
Yes, indeed. My father's first job was as a "computer" at an astronomical observatory (in the fifties of the 20th century, when vacuum tube computers had just started to appear, but they had astronomical prices, so they were out of reach for an astronomical observatory).
I'm not seeing the 'login with an OTP' option that TFA complains about, also not in a private tab. I was using the fake elonmusk address from the article and also tried over a VPN pretending to come from the US (I'm actually located in the EU).

Also, I don't like the condescending tone of the article, implying that everyone at Paypal is a moron who has no idea what they're doing.
Recommend a good daily driver that’s affordable?
Voters are vulnerable to trick questions, is basically what I'm reading in this thread, and by this.. we are to judge that they must be _very_ stupid. Yet.. no one offers any evidence that their elected representatives do a better job at passing these same tests.

How anyone puts this down to anything other than a failing of school systems and the mass media in general is somewhat beyond me. It's easier to poke fun of people than dig into the problems in many spheres, I'm sure, but in this one.. I think you're just enabling a specific class of people to slickly pervert the will of the citizenry while still claiming a moral high ground for having done so.

Still not convinced this is anything other than an elitist trick.
The worst offender when I was in school was a physics textbook for a 2 semester introductory physics series. The textbook was about 400-500 pages with an online code. The total cost was $380, and even in graduate school this physics textbook remained the most expensive textbook I was forced to purchase.

Of course, the other worst offender is schools that get their own copy and sell you a printed version (so you can't resell it after).

Entire business is corrupt all the way down. Piracy would be unnecessary if a single semester didn't require almost $1000 in books. Textbook trading was commonplace when I was in school. To the point the CS lab was a veritable copy-factory because one kid would get a textbook and the rest of us would use our monthly credits (something like 2000 pages/semester) to copy it.
Thank you for your 'Hello', it resonated enough with me to pull in a long time lurker.

Currently renovating my small abode (off-grid solar latest project) as a mental recovery from too many years in tech (and life), and yet my hobby/passion is currently Zig/WASM UI onto tiny-go back-end for some of these Raspberry Pies (plural?) stacked in a corner, since I feel that it captures some of the simplicity we lost along the way from dial-up BBS, and my early days of z80, 68000, C and before the modern chaos that has gradually pushed me away from I.T., and the world in general. I quit all social and news media circus a couple years ago. So HN is pretty much my only 'sense of connection' you mentioned, but what a great find it has been!! I take this opportunity to offer a sincere thank you to everyone here!
If only there was a way to mute, or block individuals or whole instances from your own account. :P By which I mean: there are some knobs in your profile to ensure that you can do all of that.
Pay to be heard, not pay to read. If you want to be heard, you'll need to be pay $8. Blue users will get priority over their tweet ranking compared to non-blue users.

Lot of people would pay I think. It is not the same as Youtube where you are just purely consuming, not participating.
You wrote: <<There are no bonus points for learning a new IDE for every project, either.>>

I'm confused. The point of uber-IDEs (IntelliJ, Eclipse, NetBeans, VSCode): You only need to learn one IDE. Each language is just another plug-in.
Do you have a mobile phone number associated with your account? I'm assuming it's not a US number - perhaps they only do this for those.
Assa Abloy and Bowley stand up if that's all you care about. But he also shows that you can replace the lock cylinder, or take apart the lock and put your own pins in it, so in a way it's not important.
I hope your mom recovers well. I'm on chemo indefinitely so its a matter of finding a cure before chemo stops working for me. I'm only in my thirties so it might just happen!
I used to live at one end of the Portland Streetcar and work at the other. On days when I just missed it, I could almost, but never quite, out-walk it.

And now I know why it makes sense to put your subway underground.
It's weird that somebody thinks mainstream companies refusing to advertise on more controversial but popular properties is a good thing. It tells you those mainstream companies have way too much market power and something should be done to mitigate that, up to and including breaking the mainstream company up. There should be so much competition that few companies would ever choose to ignore a popular property with customers likely to use their product. While this may be an innocuous abuse of market power, or perhaps even an abuse you agree with, companies that are abusing their market power are rarely doing it in just one dimension and one has to wonder just how bad the world is getting screwed in less obvious/ in our face ways.