skysight-inc/HackerNews huggingface dataset:
Oh yes, poor Briane [0] from Chilliwack, single mother, minimum wage job, made $50 donation to the convoy. Of course that's the person the PM is targeting here. No source, no proof, nothing. This (unfortunately) is my MP and it's sad to say that he's contributing to the echo chamber of made up stories for the sole purpose of making people angry and voting for him.

[0] https://twitter.com/markstrahl/status/1495472037438967808
Errors and exceptions aren't necessarily low in all cases.

And in any case this is about how these exceptions impact parallel processing - and the impact is not negligible.
Politics section is very US-centric and the timestamp defaults to PT.

Would be cool to make it more global in coverage and presentation.
Police use of Pegasus malware not illegal, Israeli inquiry finds
Usually, the first few hours of learning, you find a very gentle 30m slope that stops naturally, and you just learn to go straight with only one foot bound. Then you learn to initiate front-end and back-end turn by rotating your shoulder, still with one foot. Normally, you wouldn't even fall at that stage.

Only then you take a lift, bind two feet, and then you learn to skid facing the slope, then the other direction. After that, there are a several exercises of gradual difficulty that takes you to the full skidded turn. It usually takes one or two days for most people to be able to turn frontside and backside.

There will be a lot of falling, much more than with skis, but if the snow is soft, no risk of injury and it's pretty fun. I taught snowboarding for a few years and my experience was that beginners had the most fun.
> and 1% of your tasks fail

That's a lot of failures. I'd question whether or not you should be using exceptions for something that happens 1% of the time all the time.

Admittedly you might not have any choice in the matter if it's a dependency that is failing.
Yeah, fizzle was a bad choice of word. I'm not sure what you'd call an intentionally subcritical detonation, though.
I've always subscribed through a third party (DiscountMags) and it's been painless. In fact I've had the opposite problem, where my Economist doesn't show up one week and I start cursing the USPS until I realize it's because I forgot to renew.

Hopefully the FTCs actions last year will put an end to the kind of cancellation hell you describe. At least for US customers anyway.

https://www.ftc.gov/news-events/press-releases/2021/10/ftc-r...
What are the other career destinations I should look out for?
Fundamentally I believe it’s a communication problem + a problem of “engineers gonna engineer” to launch the next Big Win™ for their team / resume.

If I were looking for an honest solution for the first part, I might start with a standardized way of classifying technical problems and solitons. Maybe then it would be possible to build a directory of sorts for existing solutions that could be referenced when the need for a solution arises anywhere within the company.
You are right. That's why in good old languages they were called 'procedures.'
Reminded me of a quote:

"The cradle rocks above an abyss, and common sense tells us that our existence is but a brief crack of light between two eternities of darkness. - Vladimir Nabokov "
Do your developers have a say in what hardware they use?
This isn’t a constructive comment. There isn’t a point to accusing people of being propagandists or <insert nefarious Soviet intelligence term here> unless you have proof.
You could use an output pointer parameter. You could construct an object which self-reports as invalid. You could take an error handler callback. You could use a global variable.

Or I think my preference would be a private constructor, and a friend-function that returns value-or-error.
Might I add, I reallllllly hope this isn't what it looks like.
I'm 44 and can agree with some of what you say. I started snowboarding at 20 after skiing as a kid.

My hips are mostly OK in the lift line but otherwise I get what you're saying. Adjusting your stance might help with that. Other fitness routines can help too. I want to say I had more trouble last year than this year.

Totally agree with how taxing it is to wait for people. My 9 year old is learning snowboarding and it's exhausting to sit/stand/sit/stand waiting for someone. Also being in a mixed group of riders & skiers sucks for everyone. The skiers don't want to wait for anyone to buckle up off the lift. Riders don't want to stop and stand around, they want to sit if they stop. Riders can't keep up great if you have to ski/ride uphill.

I don't fall any more than I used to. Frankly there is a different situation.. I expect I would fall on ice far more if I want back to skiing. Conditions where I go have never been icier.. the snowboard just has incredible edge hold across ice.

Perhaps you're on the wrong board for the conditions you're riding? I rode the wrong board for a long time being stubborn not wanting to buy a new one. When I finally got a new one and had experience to guide buying the new one I ended up choosing one that was just such a huge improvement. But not for ice, my old one was exceptional over ice as well.
This is a big factor in my insomnia. Not necessarily the fear that I'll die in my sleep (God willing, that's my preference in old age) but the realization that every night, I'm getting a little more and more acquainted with oblivion. Knowing that you and everyone else here is in the same boat helps a lot. Maybe it's trite, and silly, but the phrase "We're all in this together" brings me a little bit of comfort, a tiny slice of what I imagine the spiritual feel in greater quantities.

As I get older I suspect more and more that humans are not adapted for atheism. Even us hard atheists tell each other stories of chemicals and stuff and cosmos and infinity. I have an ongoing conversation with my wife on whether we'll raise our future children Catholic or not. I think we might. The lure of those stories, the grandiosity of those narratives, the imagery and ritual... Those are just buttons that I don't know if an atheistic upbringing could press. I'm not saying it's not possible... Would a reverential trip to the Grand Canyon, a late night summer trip to Amboyd Crater, fulfill the need for awe that a child has as she's growing up? If I could will it I would have her completely skip the existential terror that I've contended with throughout my life, but of course, she would be her own person and her own mind, regardless of my plans.
You can make similar counterproductive claims about everything. How can you assume that your senses and all humans are not gaslighting you?
That would turn communicating between threads into communicating between VMs, which is a disastrous change in itself.
(Unofficial) iCloud API for Node.js
Spotify Car Thing
> What if you have a long-running operation? If you return an error value when that operation happens, but it turns out the nature of the operation allows you to ignore that error and continue, you'll have to re-start the entire computation.

This is just as much of a problem with exceptions. "Fix the error and continue" needs some equivalent to resumable conditions, which are generally implemented at the "low level" using coroutines. My understanding is that async-await as a language feature might be able to express these with relative ease, but exceptions alone clearly do not suffice.
Crypto enthusiasts are trying to raise $4B to buy Denver Broncos
Yeah, but when it's Fastmail it's a whole team's worth of somebody elses' problem. :p

Hosted my own for 17 years, moved a little over a year ago. There's nothing I want they don't have for $50 a year, and while that's more than I was paying for the VPS, it's been enough of a load off my mind and my calendar to still be amply worth my while.

edit: $50 a year is certainly not more than I was paying for the VPS...
Of course the fib example is extreme. But some code bases do a lot of calls, and people care about calling overhead. I think a moderate calling overhead like, e.g., with Herbecptions is acceptable, because usually people doing something useful in a function that will mask the calling overhead. But other approaches are really to expensive to justify, they violate the zero-overhead promise of C++.
Yea, Night City cops are incompetent, bought and/or downright criminals themselves. They don't care if you shoot someone on the street.

And if you shoot the wrong someone, cops and jail time are the smallest of your problems.
That’s a tweet not an official govt doc. Which entities are targeted has not been released nor a list of the amounts donated.

The text of the invocation allows for freezing of anything more than $25 which is a fact, not a tweet.

If you want to believe an org that bombs people and blames it on farmers go right ahead.

https://en.m.wikipedia.org/wiki/List_of_controversies_involv...
From Developer Experience to Developer Satisfaction
>The only heavy element that we actually "use up" to any significant degree is uranium

Helium would like a word with you.
I built something similar a long time ago using deno and deploy.

https://github.com/searchableguy/burger

Although, after trying out different feeds and approaches. I must admit, I don't care about every item that is posted on a news site or someone's blog.

Anything interesting will get posted here.

So I figured I need a way to clean up HN stories that I don't find useful. I built an API server which does this using sentiment analysis.

Another problem I noticed is I tend to click on comments of stories I know won't be any useful (web3?) but it's hard to stop the urge so I check if comments are overly negative and return a score which is used to hide or show the see discussion button.

I also return all the urls from the discussion separately because those are usually good resources.

Meet cabbage news - https://github.com/searchableguy/cabbage_news

I haven't updated the repo so it is probably outdated and that's my first time writing a python application.

Oh here's the block list of keywords I recommend to everyone using HN

https://github.com/searchableguy/cabbage_news/blob/main/app/...
> usually you'd be trying to save the dying person by any means

I expect that in the majority of deaths, nobody is making any effort whatsoever to save the dying person.
Agreed, which is why I'm advocating for a less-specialized version of this software
3 of those 4 reference the same post by MP Mark Strahl. What do they all have in common? No sources or proof of any kind.
Deployed to VMs, internally vmware, outside whatever they have (e.g: EC2)
I agree with the overall sentiment but perhaps disagree with the idea that bureaucracy is the result of specialization. I tend to think bureaucracy grows as a side effect of network effects. As the number of nodes in a corporate network grows, the interaction depth grows exponentially and processes help manage all those interactions. If there's a high level of specialization, but minimal interaction, there's still no need for a bureaucracy. In theory, you could have a large organization with so many silo'd departments that don't interact, there'd be no need for bureaucracy.
This is exactly what happened for me- optimizing my light and sound just made it harder to sleep under all but the most perfect conditions.
Deadlines should always be a management problem. Missing deadlines ought to be a signal that there are inefficiencies somewhere - your requirements are unclear, goalposts are a little too fluid, etc.

It's really your job as a lead to objectively report status of things, and it's management's job to listen to what you have to say. It might be helpful to attempt to detach emotion when thinking about the upcoming deadline - instead of "oh shit, will I be fired? will I lose the respect of my peers?" - think more - "what can I personally do to mend this?"

You may come to the conclusion that deadlines are mostly out of your control - and especially, people's reactions to deadlines being missed is 100% out of your control, and should not be taking up any mental real estate. Is it really worth panicking, losing hair, gaining weight, being miserable stressing over the PM getting his 10% bonus for shipping on time?
Unironically, no it's not.
It's a global market, we get hit by high gas prices too. Almost half of Europeans gas prices are fuel taxes anyway. Talk your governments into backing off those for a while.
I run lots of servers and I'm very confident with Linux and systems admin.

The one service I really hate running is email - I found it very hard to configure and run reliably. There's so many interrelated systems and potential things that can go wrong and the outcome is lost email which isn't acceptable.

I'm happy to run a local server for literally any other service.

In the end I decided that it's well worth it to pay someone else to do email.

I use Amazon Workmail which works really well and it easy to set up.
I didn't know something like dapr.io existed! I take it you use it and vouch for it? What limitations have you found?
Slippery slope is only a fallacy when you have very limited, often a single, data point. You could say using the Emergencies Act is only a single data point or you could say giving in to the authoritarian nature of power hungry politicians has endless data points. If one sees the Emergencies Act as a subset of power hungry politicians, there are already more than enough data points to see where the slope leads. Even before the pandemic there were already plenty of data points to establish that PM Trudeau and his cabinet are power hungry authoritarians. It pretty much comes with the position.
In 30 years of c++ I've never seen error checking + throw in a tight numeric intensive loop like this. Sure, somebody could do it. I'd have a chat with a coworker who wrote something like that.

I only use exceptions for cleanly unwinding the stack when an unrecoverable error occurs. I design and implement my code so that is rare.
> One can hardly see how the trucker protests qualify as such

There are multiple facets to the protests.

- Blocking the bridge that was responsible for a sizeable percentage of trade between US and Canada goes far beyond a protest and any government would be well within their right to classify this as an emergency.

- You had US-based, armed, ultra-right wing militia elements who weren't trying to protest at all but rather sow discord. These were the types wanting to overthrow the government. Which meant that police weren't able to control the situation and there were legitimate concerns about it getting out of hand.
I put the phrase in my profile but it couldn't complete the validation in a couple of minutes. Probably same issue.
I just started playing with it to get my exim server to send my outgoing mail through. It seemed like AWS had a bit of trouble understanding that I was only looking for something low volume and transactional. They kept wanting to know how I handled unsubscribe requests. But I finally got them to ok the account (with a 40,000 email/month email limit, after I told them 100/month would be fine). After I sent a few test emails and looked at their spam scores, they were ok enough to probably get through most of the time but not great. I then tried SendGrid and they were both much easier to set up and the test messages got much better spam scores.
I've had VPSes hosted outside the US and not seen much difference in scan traffic, although it's been years and maybe things are different now.
I personally do. A "just works" configuration will be ideal for me. Anytime I install linux on a new computer, I find myself spending too much time tinkering with configuration settings to make basic things like adjusting keyboard brightness and volume control work with the respective keys.
https://en.wikipedia.org/wiki/The_Limits_to_Growth

Figured this out decades ago.
I don't know where you all are, but many U.S. communities have senior centers that have volunteers to help seniors with computer issues. Also, in the U.S. every county inn every state has an office called the Area AGency on Aging, and they provide free help to know what community resources are there, help seniors sign up for Medicare and Medicaid, and they also have an ombudsman office to help with assisted living and nursing home issues. Just google the county name where they live, then Area Ageny on Aging phone number, and it should come up.
Or you get "old" and experienced enough to realize it's all the same things every day, everywhere :-) And I can almost guarantee startups are much more learning-conducive than FAANG in that regard.
Sleep then hibernate was a game changer. Pretty convoluted to setup (PopOS in my case) and still kind of a pain (takes longer to resume than I'd like) but definitely an improvement.

I have other issues with it (USB-C DP alt-mode, fan noise) but I've already ranted about those on HN.
Does anyone know which areas of Ukraine have the large proven reserves of Lithium, the element needed for EV battery production? I know that the Donetsk and Luhansk oblasts have or are near to large coal deposits.
That almost makes it worse!
I don't know where the pollsters find these respondents, but judging by the comments of any article that still allows them it's not the majority of politically engaged canadians. Not that the majority being okay with it would make it all right under the charter.
Gas/fuel prices are a global commodity, of course the Ukraine conflict will affect Americans, not as much as Europe, but Americans will get a lot of it as well. The middle east is probably loving the influx of income.
My local library has a certain number of electronic subscriptions, so I am able to read The Economist on my iPad with the Libby app for "free" (i.e. paid for by by local taxes).

I would GLADLY pay for a print subscription, because I greatly prefer physical magazines over digital. But whether it's magazines, satellite radio, or whatever... I'm just not subscribing to anything known for not letting people go.
The most powerful manipulation the so-called news uses is not what it reports, but what it refuses to. I'm not going to give examples because I see no upside in violating other HN readers' widely held taboos, but they're pretty obvious with a little consideration.
Correct answer. Most of the fertile soils are under concrete now.
The 2-Sigma Problem
I do, so far i have had no problems, i run postfix relaying to SES on tailscale interface.
> What does C++ give us in 2022 that makes up for the enormous cognitive load of understanding and keeping up with it.

If I were starting a greenfield project today, I might choose C++ for it, depending on what it was. (Pick the best tool for the job, and all that.) But if I picked C++, I would not use the full enormity of the entire C++ language specification. I would use the parts that helped with the program I was trying to write, and explicitly not use the rest of it.
I agree they should offer a Linux option from factory, but you have a fair point.
Spinnaker supports multiple cloud providers and is self hosted. Vm machine images are built with packer

https://spinnaker.io/docs/setup/install/providers/
Great point. One issue with your last paragraph though, is when trying to select a company to work for from an equity/ownership standpoint, there isn't the option of diversifying a career. You can only work at once place, so you put all your eggs in one basket. In hindsight, sure, you would make better money at coinbase rather than facebook, but it's essentially going long on one stock with your time rather than capital.

The owners and capitalists have been the winners, at least in my lifetime. Investing has been de-risked enough through monetary and political policy that it's a good bet. A good example of monetary policy is low interest rates. The ability to borrow capital and take "risks" hasn't been cheaper. A political policy to encourage investment is for example the 401k - most wage earner's retirement funds go straight to the capital markets. Even public employees retirement funds ride the capital markets with optimistic outlooks. I suppose that makes most Americans capitalists whether they want to be or not, so my argument has come full circle, but that money bubbles up to the people up top, since they make the compounding gains and have access to inside markets. Personally, A few times I've made more money from ownership and investment than from my labor. It certainly is a valid approach to a career.
More people start using C++ professionally in any given week that the sum total paid to code Rust.

Rust is not "displacing" C++ anywhere beyond the HN echo chamber.
1. with a sample size in the hundreds of thousands, even if its true, it's irrelevant.

2. the state of emergency could not be in response to the border closures, because they were cleared prior. one single cachet of weapons was found. per 100,000 criminals, gee, thats better than my hood. as for honking, it should be punishable by death or bankruptcy in any civilized country.

3. yes it is. override of the charter is precisely the power the emergency act seeks

4. have you ever donated to the world wildlife fund? sponsored a child in africa? the data has already made it clear that the majority of funding came from within canada in small amounts. occams razor: this is the result of frustrated citizens, not vladimir putin
I tend to disagree. In democracy, the people is the state and, in extent, has the power. The government (elected people in place) is only temporary.
Show HN: LightningEscrow Demo Video – Beta V1
> I have relatives who pronounce "pen" and "pin" identically, and are generally hard-pressed to hear the difference in how I pronounce them. On the other side, I also have relatives who distinguish between "ferry" and "fairy", which I don't.

Yes, some hard choices do need to be made. In cases like these, it’s almost always better to err on the side of preserving distinctions even if the speaker does not recognize the distinctions. Because over time, they will start to recognize patterns and understand the distinctions more while nothing of value is lost in English.

> Shavian might still require you to use more than one letter for the same sound (and therefore have to remember which words use which)

Yes and for the most part I think this is a good thing. It is a very small concession to make considering the alternative.

> Or, at least, it will if you want to have standardized orthography.

One single prescriptive spelling for global english may be impossible for the time being. But I am very interested in further researching a kind of neo-mid-atlantic accent.
> A function that can error out should not have the same signature as one that will never return an error.

Functions that never fail are pretty rare compared to ones that do. It's easier to just assume that all functions can fail. Mentally it's a much simpler model.
Thanks for the info! Super useful. I came across this Twilio support article:

https://support.twilio.com/hc/en-us/articles/223181668-Can-T...

Looks like you need to get the feature enabled, so you can receive SMS from shortcodes. You also need a number in the same country as the shortcode, so users of the service would need to indicate which country the number is for. This would most likely be fine, as I think most people only use 1 number in 1 country anyway.

Hopefully this would solve (1)

Twilio allows you to register mobile numbers, so I think (2) would be ok.

3. I'm not intending to use any hardware, so I think I could disregard this limitation, although it's useful to know anyway!
Doesn't it only exist on ethereum classic? The transaction was reverted on the "main" chain.
Government is the glorious monopoly, no other monopoly is glorious. What if government wants to invest in housing? Ban it too? How about if they label it as low cost?