skysight-inc/HackerNews huggingface dataset:
> 2. In particular, if a change causes a deeply nested function that used to always succeed to be able to error, the entire path up the call graph needs to get Resultified.

This is a pro not a con. It now shows clearly that all these function calls are now failable. Of course at higher levels you may have additional assumptions that you know won't make the low-level functions fail, and you are welcome not to change everything as well.

> 4. They aren't a total solution, exceptions usually have to exist anyway (eg panic), for things like oom/assert/etc. So you're usually paying the cost of them anyway.

Panics do not need to be caught and handled. You can (and should) transform panics into abort.
My employer does a pretty good job of giving us terrible hardware so the thought of mining on it is self-discouraging.

They have no problems giving us space heaters though.

As largely a joke, I sometimes fire up monero mining on my laptop at home because the average proceeds exceed electricity cost, even though it’ll take me about a decade to ever get a block. The heat is just cake icing.
Unsure, but dead Atlantic salmon brains have been rigorously studied

Not exactly connected to the discussion, but still worth noting that brain activity sensing can be difficult! (And it also makes me smile, thinking about a fishmonger's prized frozen fish undergoing a brain scan).

https://blogs.scientificamerican.com/scicurious-brain/ignobe...
>subjective reception from critics and audiences is exactly the point

Clearly software is aimed at subjective reception by its customers. We also have the adage "programs are meant to be read by humans and only incidentally for computers to execute" -- to the extent you believe this, subjective reception of the code by maintainers also matters. For these reasons I think subjective evaluations and "taste" for software / software engineers is undersold.
> “A hacker is someone who gains unauthorized access to information or content. This individual did not have permission to do what they did. They had no authorization to convert or decode, so this was clearly a hack.”

So, "view page source," a built in browser function since forever (not even considering various built in inspectors), is illegal according to this very smart politician. That's basically all that was done here, on a publicly accessible website.
How to write a technical paper or a research paper
Is this an issue for Ubuntu specifically or all distributions? Read somewhere that they recommended Fedora 35 for the best driver support at the moment, though that'll probably change after the next releases of 22.04 and F36.

Awesome that you're switching your whole team to Frameworks - my next work laptop will for sure be a Framework too :)
Have you ever been knocked out or disoriented? It's mostly confusing.

Death could be like that too. A flood of signals you're unfamiliar with and a lack of signals you're used to having.

It probably depends on how much warning you have and your willingness / readiness to pass as well.

Kind of like if you're really tired and can't wait to fall asleep vs. scared and trying to keep yourself awake.
I would suggest subscribing to the Sunday delivery of a physical newspaper you like - when they know they can't just quickly update and edit an article online it definitely seems like they are more conscientious with what they are printing.
They don’t care about React they care about having next generation web applications with complex state, not some garbage where you click a button and refresh a page everytime to re-render the screen.
I don't even think a HIPAA-covered entity could hold their data to the standard of zero-knowledge encryption... since, you know, they have to be able to use patient data.
the main selling point is developer experience I think, rather than building out a bunch of stuff on top of a more general purpose tool you use a specialized DB and save time. They also have some benchmarks against Clickhouse for example
Related read is this article by Aaron Swartz:
http://www.aaronsw.com/weblog/hatethenews
"As you have not accepted my second drawing as payment, please return the drawing to me as soon as possible." from this[1] David Thorne post comes to mind. I hadn't thought of it in a few years.

[1] https://27bslash6.com/overdue.html
Beautifully said, reminds me of "All these years, all these memories, there was you. You pulled me through time." from the fountain.
How to secure API Gateway HTTP endpoints with JWT authorizer
Will order one the day there is an AMD option.
Thoughts on Shitpost Diplomacy
No one is under any obligation to consume any news - whether that be sports news, gaming news, or world news. Tangentially, what personally irks me is that the YouTube app on iOS forces a news feed on me with no way to dismiss it.
make_unique, etc.
Is hydrogen green? I've read stuff like:

https://news.cornell.edu/stories/2021/08/touted-clean-blue-h...
If you lied, and they found out, you would have been fired for that reason alone. On the other hand if you told the truth right away, it's hard to say if you would have been fired; where I've worked you wouldn't have been fired for telling the truth and doing that (having seen people fess up to much worse failures). Lying on the other hand is a serious problem since it betrays trust (if caught, of course).

That said, I've also been at a company where people in charge had admitted to not having a backup copy of something rather important. I was flabbergasted.
Exactly. In my age range (25-44) I'm more likely to die by heart disease (9.8%), cancer (10%), suicide (11%, most by firearm), and unintentional injury (34.2%) (plus "other" at 20%). Homicide is the cause of 6.2% of deaths in my age range and in the highest percentage of the population (10-24) it's still outpaced by suicide and unintentional injury. After age 45 homicide isn't even in the top 10.

https://www.cdc.gov/nchs/data/nvsr/nvsr70/nvsr70-09-508.pdf
Memory allocation is the big think that new players often miss.

A lot of time I see people saying D is unusable (excitedly) for a certain usecase, and you know what if you use the GC a lot it might be, but then I then see them write code that uses raw malloc and free willy nilly. GC can bite you in the ass, but so will basically all memory allocation if you don't understand the real trends of your program i.e. "Nature is a language, can't you read?"
Those old local ads seem great now right? Then again the theaters were probably much smaller and localized as well. Waiting for the movie to start with a bunch of silent, repeating and unobtrusive ads ended up often being a great time to socialize before the film.
I mentor college students through a local group. I agree that this reads exactly like something they pick up from spending too much time on cynical subreddits where people gather to complain. I frequently have to remind them that they shouldn't get career advice from online forums dedicated to venting and complaining.

> Offhand, I can't think of too many people (myself included) who are a) very happy in their jobs and b) planned very diligently to get to that exact space.

> Mostly the opposite, "A lot of random stuff happened, I followed through on some stuff that felt right at the time, and just kind of did that over and over."

IMO, that's because most of the people who plan career paths diligently only look at one metric: "TC" (total compensation). They may say they value autonomy, growth, good teammates or any other number of things, but when it comes down to offer time most young people will reliably pick the highest offer, no matter what.

The more serendipitous career paths involve a lot of networking, identifying who you like working with and what you like working on, reputation building, and eventually flowing into a great position within your network. The pay may come slightly later, but it's a much happier path.
I have that inner emotion, when thinking about death. It makes me very uneasy. When We die, if there is nothing coming, how is it to not exist? I mean, what is it like? Pure black and emptyness? I then comfort myself into thinking, in the end it comes down to energy. Like being part of that endless stream of energy that became matter and probably will return to energy somewhere in infinty. Or do we maybe just restart. All this is completely mind boggling.

Then again how did it all start? Causality is completely broken, when it comes to these things.
What are some good sites with RSS feeds? I was sad to see that Reuters doesn't have it.
If you were concerned about the ethics of the situation like I was, then here is an excerpt from the paper itself that you might find reassuring:

"After discussion with the patient’s family and in consideration of the “Do-Not-
Resiscitate[sic!] (DNR)” status of the patient, no further treatment was administered and the patient passed away."
having had a few hundred, I usually characterized mine as having the following timeline:

1. A few seconds of acute fear

2. 10 to 30 minutes of anxiety

3. An hour or two of cooldown before return to normal (initially it just drained all my energy and made me depressed)

I'm a naturally anxious person, but that's okay. here are some things that help in phase 1:

- Spot 5 things you see, 4 things you hear, 3 things you touch, 2 things you smell, 1 thing you taste

- Try to think logically about what it is you are anxious about. I had medical anxiety and would convince myself of delusions of having possibly contracted tetanus from a finger prick while restringing my guitar. After some research, the logical conclusion was that tetanus is most commonly found on farmer's fields not metal, presents in deep wounds and has an incubation of 10 days on average, so no point worrying now. It's also curable.

- If all else fails, just remember phase 2 will soon be around the corner

For phase 2, remember that your emotions and your thoughts are most likely at odds. if you can integrate what your emotions feel into what your thoughts think, you may still have panic attacks but they shouldn't ruin your day. This is where the CBT that others mentioned is relevant. I sparsely went to therapy so didn't know this initially. Many times with my panic attacks I felt as though there was a question that needed answering and once I found the answer I would have to write it down because afterwards I felt that the answer no longer mattered enough to remember. This happened many times as I believe I was piecing my life together one anxiety at a time. I think I didn't remember it because it became a part of me.

For phase 3, have some snacks and try to get your energy back.

Another important part of CBT is asking yourself the question: what would I be doing now if I was living a worthwhile life?

and then doing that no matter how much it feels wrong.

EDIT: I rarely go to therapy and am not big on drugs of any kind (even alcohol, tylenol, caffeine). What did help for me which I don't necessarily recommend is a keto diet. I now fast until ~2pm each day and I find I get similar albeit less pronounced benefits.
In India, Live Law is pretty good.
Slack was down to me, and now that it is back, it is begging me to subscribe to use paid features, with the nag screens blocking my view of important stuff.

I guess it was down so they could do this crappy update.
There is very little case law (settled cases) that we could use for guidance so it is hard to say if this is good enough or not.
I have cut my media intake by 99% since 2016. I agree with every single one of these points.
Nowhere in this story did you mention you were happy. You said you "think" you were a "generally happy person". Whatever that means. Whatever it is - I can tell you - it is not being happy as the rest of us would describe it. You don't have to "think" about being happy - you know you're happy. You know you're content. The feeling is obvious.

And being upset does not mean you cannot focus on fixing the issue. You can be mad as hell but also be working on the problem. It does not mean you're helpless. Nowhere did anyone say that.
Don't be snarky. It's a real question. And apparently the article has incorrect information.

https://www.sciencealert.com/brain-activity-recorded-as-much...
problem with russia is not nato but putin's head. if you had listen to his speech yesterday, nato is just a pretext because people need enemy to unite against. in reality he wants ussr back (he was complaining yesterday that republics were allowed to leave ussr to easily and ukraine is not a real country but something made up by lenin and stalin). he wants back the glory of soviet empire.
It is avoidable by using locks like you mention, the article actually says so, but it causes an ABI change. They go on to say that this makes it undesirable, but compared to what alternative exactly?
Yep, these are used extensively at Google (which is where the abseil library came from, and which is famously anti-cpp-exceptions) and they work very well. If I somehow found myself writing a new C++ project I'd probably reach for abseil (and some of the other parts of the Google toolchain: GoogleTest for testing, bazel for builds).
There's also the daily 'The Papers' front pages:

https://www.bbc.co.uk/news/topics/cpml2v678pxt

Which is a great way to see all the points of view (in the UK) on one page.
But you have exactly the same options in C++.
> Even if you avoid malloc,

Way too many people believe the difference between malloc/new+free/delete vs a GC is that one is deterministic and the other isn't.

(It doesn't help that textbooks still teach this!)

Both are subject to the whims of the system's memory and, if swap is enabled, IO systems.

And unless you understand your call graph very well, constructing an object that constructs other objects is not something you are likely to be capable of calculating the performance of in a non-GC language.

Same goes for destructors.

The actual difference is that in language without GC's typically have explicit syntax for dynamic memory allocation (though it can happen by surprise in C++ from time to time!), which means if you are writing latency sensitive code, you can just avoid dynamic allocation altogether.

But there is no reason why GC languages can't do the same! In fact, newer GC languages sometimes do, and nowadays C# give you more control over stack allocation, so careful C# coding can also avoid using dynamic memory.
Can't you also value a thing for the history they represent? The tomb of the unknown soldier isn't sacred because it's human remains, they're sacred because of their story.
Here we go. Seems like the person writing this article didn't research very well since the link below shows that it has been planned/done before.

https://www.sciencealert.com/brain-activity-recorded-as-much...
Wikipedia current events page is your friend. It has a executive summary of about the last week or two and then a daily breakdown if you want more detail
ID.me was founded by two veterans, so unlikely to move off of that anytime soon.
I believe your analysis is wrong and that there is no way Russia would do what it is doing without approval from China. China will do nothing to punish Russia. They might make some meaningless gestures but nothing meaningful.
I get a bunch of Indian IPs as well but probably 80% (non domestic) are russian or chinese for my ssh honeypot on port 22. USA scans are roughly 28%, I don't know if people outside the USA get hammered like that though. I keep it up just for fun. Minimal debian install with only SSH port 22 enabled and auto security updates (and a daily script to update and reboot) and you'd think that I had a fort knox full of gold in there lol. It's pretty insane how bots there are out there banging on the gates. It serves as a good reminder how goddamn hostile the internet is.
Ecosystem and performance.

There are other as performant languages out there that have a "small" footprint (C, Rust, Zig, etc.), but the combo with the libraries heavily used in robotics, mostly for image and mathematics computation, makes it hard to look away from it: C++ standard library, OpenCV, Eigen, Boost, PCL, ROS.

There may come a day when there is enough momentum and support to look elsewhere, but right now C++ is king in this domain. There is a lot of Python going on too, but usually not for the same type of things.
For the sake of pedantry only: I don't think we called it RAII in 1993-1996, but the technique was in use in that period, though it wasn't standardized in any way. IIRC, Mac developers would have been widely exposed to it by Metrowerks PowerPlant during that time.
The D library "Mir GLAS" also does the eigen style optimizations, IIRC.

It's not unique to C++ but yes Eigen is by far and away the most mature option in that space. D templates are significantly better than C++ ones in basically every way, but the work is already done in C++ so I can't be too boastful
Ask HN: Easy and flexible side hustles for programmers?
I’m interested in doing freelance work on the side, in the style of “work on-demand, when and for how long you want” - a la Uber/Lyft/etc.

In other words, I have a full-time job (and full-time home life) but would still like to earn extra bits of cash leveraging my technical skills.

Does such a thing exist?
Now let’s hope the California DMV and health department make the same choice so ID.me isn’t further becoming a national ID replacement
Not a blog, but a (highly opinionated) podcast:

https://www.fivefourpod.com/
>That’s exactly the same claim that China could make about Taiwan.

Logic is for PRC, UKR is sovereign, TW is not. RU invading UKR is international war. PRC invading TW is domestic civil war. RU is violating UKR sovereignty, whereas US intervening on PRC civil war with TW would be foreign power violating Chinese sovereignty. PRC would be UKR sorting out domestic issues whereas US would be RU, an outside aggressor. Note PRC has not endorsed RU annexation of Ukraine including Crimea. Doesn't mean PRC doesn't support RU security concerns, but PRC would like it addressed via diplomacy without normalizing violating sovereignty of countries recognized at UN, which again TW is not. PRC and RU are not aligned on invasion, but it doesn't mean PRC will loudly oppose RU if it's against PRC interest.
That's not true. GCC, for instance, is a GNU compiler collection. (True, it does not include Rust, the last time I checked.) Other than that, there's always Java, Common Lisp, Haskell, and D. Plenty of choice there.
Those steps were a prerequisite to get your NEXUS enrollment -- not to get a login.gov account.

The only thing you have to do to enroll in login.gov is verify your email address.

And optional feature of login.gov is to verify your identity further by uploading a photo of a state ID, and entering your SSN and phone number. When you validated your identity in person with CBP, this was not that.
If soviet russia's PAL locks were built anything like US's security measures where it's actually subtle timing information they would have to rip out and completely rebuild the explosive shell that trigger the nuclear reaction, at which point you essentially are creating new nukes from scratch.
How is the implicit control flow in do notation different from exceptions?

If anything, the issue is between checked and unchecked exceptions.
If the program fails too often or too unfairly, why should you blame how such failures are handled? The only reasonable "probabilistic estimation" is that something that happens 10% of the time is normal and it shouldn't be treated as an "exception", even if actually thrown exceptions were fast.
>
They don't actually guarantee that, there is no formal bar to admitting a country with active disputes to NATO

There's no formal bar, but it would be politically difficult. (Because now you either need to ignore your newest member's problems, or commit to a war that you didn't even want to fight.)

The former significantly undermines confidence in the organization, the latter... Ties it to actually fighting a war (with all the nasty ways in which it can escalate), as opposed to muttering about sanctions.

Out of the US, France, the UK, and Germany, which of those four countries do you think want to fight a shooting war with Russia?

At the moment, the answer is 'none of the above'. Implementing sanctions is comparatively easy, though.
I've seen a lot of commentary about the fact that the Emergencies Act provisions "expire" automatically after 30 days, and include "safeguards", ergo there's nothing worry about. People getting hung up on the text of the bill forget that it's merely an Act of Parliament, and thus can easily be amended or replaced via a simple majority vote.

What played out last night indicates that none of these checks and balances really matter in a parliamentary system where the nuclear option of a non-confidence vote (and subsequent election) can be invoked to force any MPs with qualms to vote along party lines.

It's easy to see what will happen next, based on this government's track record: they will introduce amendments to the Act, or new legislation containing only the provisions they would like to make permanent, and once again proclaim that voting against the amendment will result in a new election.

They will probably also use it as an excuse to ram through their "Online Harms Bill", i.e. internet censorship, targeted at "misinformation" (disagreeable speech) and, many suspect, independent media outlets that the PM despises.

Internet censorship + government-directed financial de-platforming = Canada's near-term future if the situation doesn't change somehow.
Great Missouri facts:

* One abortion clinic in the entire state! It would be zero if not for the pesky courts. If Mike gets his way, Missouri will be "the most Pro-Life state in the country!"

* No permit required for open or concealed carry! Sell or buy your guns with whoever you like. You can even point your guns at filthy liberals with your finger on the trigger and the governor will pardon you of any crimes you may be convicted of

* 54% of the state is fully vaccinated, one of the lowest rates in the country! If you need any more encouragement to visit, masks are optional and actually frowned upon by the better class of Missouri citizens (conservatives)!

* Current Missouri Senator Josh Hawley attempted to overthrow the government on Jan 6!

* No voting by mail! "So if they don’t [feel safe voting in person], then don’t go out and vote". Great words, Mike!
C++ is the only language where exceptions are such an ideology war.

All the other ones that have born with exceptions don't have this issue, including Ada.
I wish they had printable version...
Sunsetting the Bethesda.net launcher and migrating to Steam
Just a genuine question:

A while ago, Airbus retired the A380 [1]. Why would they experiment on a retired airframe, considering the thrust requirements are very specific to large widebody jets?

[1] https://time.com/5529439/airbus-a380-retired/
Because I never really got the impression I was playing an RPG ever since I made a choice but was then immediately funnelled into the same path as everyone else
Hi! So the team is over 100 at this point, but engineering effort is spread across multiple products at this point.

The core timescaledb repo [0] currently has 10-15 primary engineers, with a few others working on DB hyperfunctions and our function pipelining [1] in a separate extension [2]. I think generally the set of outside folks who contribute to low-level database internals in C is just smaller than other type of projects.

We also have our promscale product [3], which is our observability backend powered by SQL & TimescaleDB.

And then there is Timescale Cloud [4], which is obviously a large engineering effort, most of which does not happen in public repos.

Interested? We're growing the teams aggressively! Fully remote & global.

https://www.timescale.com/careers

--

[0] https://github.com/timescale/timescaledb

[1] https://www.timescale.com/blog/function-pipelines-building-f...

[2] https://github.com/timescale/timescaledb-toolkit

[3] https://github.com/timescale/promscale ; https://github.com/timescale/tobs

[4] https://www.timescale.com/blog/announcing-the-new-timescale-...
A New Library for Network Optimization