skysight-inc/HackerNews huggingface dataset:
>"bubbling up"? What the fuck even is that?

When you throw an error and don't catch it, you just let the error immediately propagate up to the calling function. Think "return err"

>> Either by panicking on error, with .unwrap() or .expect()

This means fatally terminating the program immediately when an error is encountered in this spot.

>> or by matching it against Result::Ok / Result::Err

Result is an enum can be one of either Ok<T> or Err<E>. Pattern matching is one way of finding out which, and running code depending on which variant it is. It's just a fancy and convenient if statement, if that helps.
I was referred to a oral surgeon at the university of Washington (but there are oral surgeons affiliated with Swedish hospital also), my dentist is the typical private practice. Financially they are completely unrelated.
You can try emailing hn@ycombinator.com
> For example, Go error handling is shit

What is bad about it?
That's an interesting approach. Piggy backing off of something users were already actively reading to insert useful blips.
For the life of me I do not understand why they just do not throw a bunch of tests at people with chronic conditions. They all say they do not know what is wrong with us bu they never do any testing, and the outcome is the same every time; patients suffer and costs are higher.
I’d disagree in the sense that the home ownership population differs from those that have been buying or selling in the last few years.
Yip, that's basically just an actor.

When people talk about actor-based languages or frameworks however, theyre suggesting syntax primitives which help express this more naturally.

The simple pitch is: OO where objects could be on any machine.
It would perhaps be best if the first 'dump' of a paper is met with essentially no attention or news coverage at all until it's been properly reviewed and fully studied.

However, the world has 7 billion people on it and, ya know, herding cats and all that. That's a pipe dream.

But perhaps we can strive to temper initial reactions and make sure we post the followups once said studies are done.

Until then, _IF_ we need to the thoroughly disdainful thing of judging a book by its cover because reading it takes some time, its a fair comment to state: Boy that cover sucks.
Another attractive option: “doing it” but for +xx percent to compensation.
To all of you responding, all I said was there were rumors. I didn't say they were true.

Here's an article debunking the rumors from December 2021: https://www.reuters.com/article/factcheck-coronavirus-britai...

So there have been rumors. That's a fact.
Sure, there's "plenty of money out there", but so much of it is held by the super-wealthy that the rest of us might as well be a rounding error. (Disclaimer: numbers not intended to be literal)

Increasingly, money and power are concentrating at the top, with people who are also increasingly insulated from the negative consequences of....well, all the bad stuff that's happening. That's a recipe for things spiraling out of control.
Lists of Mathematics Topics
Thanks for the tip, didn't know that! B
My general sense is that the reason the hiring process at tech companies is so reliant on the kind of technical interview questions that HackerRank makes its money off of is largely due to the fact that students can indeed get solutions online to the various problems they're assigned, and thus many computer science degrees are due more to the student's abilities with Google and/or their reliance on private tutors/services to generate solutions.

Some teachers might check for plagiarism but it's not hard to make enough changes to any body of code to make something like a diff test in an automated submission pass. Automated solution testing seems to be the norm in computer science courses as well, so it has become relatively easy for students to pass courses with good grades using this approach. There are some ways to avoid some of this, for example having in-class tests where students have to write code out with pencil and paper under a time limit while being observed, but that's only part of the grade usually.
Maybe you can get one. I don’t see a nano mode in MELPA or GNU, and it doesn’t ship with Emacs. Nano is also much more likely to be installed than Emacs, especially since Apple stopped shipping Emacs with macOS.
Since I discovered micro[1], it's my go to editor.

[1] https://micro-editor.github.io/
There's a very big difference between solving one problem (if you through enough compute at it you obviously will succeed) and general proving being solved. The latter essentially means being able to replace all programmers, that'd effectively mean AGI in 5 to 10 years.

>>doing some GAN like system of both generating problems that yet can’t be solved and a solver to solve them seems to obviate the need for human training data.

I don't see how this is supposed to work, what if the generator just outputs unsolvable problems?
We don't!?

Animals have brains and nervous systems, form communities and social relationships. And a lot of them use tools as well. This is taught in middle-school biology.

Get a pet, you will quickly realize how similar we all are.
It's funny how the simplest of the questions about this "Web 3" throws off the evangelists. They don't have answers for anything. Good scammers can sort of BS for a bit.

- Decentralized! No government control! 100% freedom of speech!

- What if someone posts a video of child rape, with no moderation or ways to take it down

- ...
Mixed-reality driving simulator a low-cost alternative
Got news for you. Interest rates as a lever on inflation is unproven. It may actually contribute to more inflation as the Federal Government is a net payer of Interest and as such interest income paid out to the private sector increases. This adds liquidity to the economy and could increase demand.
https://www.statista.com/statistics/1041889/construction-yea...
Thank you for saying that, I still don't get how so many people who claim to take decision based on science are so against nuclear tech.
Good point, I immediately read it and replaced "role" with programmer since it was posted on HN.
I've heard "propagating" the exception used as well.
> in China houses are leased for x years (80?)

It's worse. It's the land being leased for 70 years. House usually can't last that long anyway. But not owning the land and no guaranteed usufruct after 70 years is big.
When Python can’t thread: a deep-dive into the GIL’s impact
Covid-19 infection linked to increased nightmare frequency
Not that I'm aware of. They were rushed to market and the clinical data was supposed to remain hidden for 75 years which certainly seems odd at the least.
Startup Trail
Wow, I do something similar, however it is much more limited in scope (and all on pen & paper for now). I also share the author's last name.
Why is this flagged?

I read the first page or so. I don't think I'm going to read it to the end, but it doesn't seem something that should be removed from the HN frontpage.
They changed what It was!
Have you heard of thermometers? I can have a container with 1l of some gas at room temperature T1 and proceed to heat the room - and the container - to temperature T2.

How do you calculate the number of microstates for the sample of gas before and after? How do you think these numbers are related? You said it was easy!
> ... it includes one of the worst actors during the entire pandemic )(McCullough[1]

You mean one of the most highly credentialled and most demonized expert during the pandemic?
This article is an ouroboros of self-citation and speculation. The lead author, McCullough, is a known proponent of Hydroychloroquine, denier of asymptomatic spread of covid, and a paid, invited speaker at right wing and anti-vaxx conferences (see his Wikipedia for citations: https://en.wikipedia.org/wiki/Peter_A._McCullough). This "research" paper offers lots of speculation, and very little data. The number of times these authors made unfounded and spurious confusion spurious is too high to mention all of them. I'll call out one example -"There were 3,657 cases of anosmia (loss of smell), clearly
demonstrating that the SARS-CoV-2 spike glycoprotein from the injec-
tion in the arm was reaching the olfactory nerve." None of the authors are qualified to make this claim, the authors made no attempt to rule out confounding factors like prior Covid-19 infection, and no direct evidence for thistle claim was presented. Tl;Dr - the article is bad science and should be ignored
I remember $5.00 a gallon gas during the recession, and there were two gas crises in the '70s and '80s. We've been here before.
Um...that sounds like the words of someone in a bubble.

People are not doing that well right now, and there's a lot of anger between the people who are doing the worst, and the people who are doing fine and saying "America's financial situations are actually quite good right now."
It requires several additional lines of code just to bubble up an error, for starters, and there's nothing stopping you from ignoring errors and continuing with what could easily be corrupt data.
Apparent CockroachDB data corruption due to CockroachDB issue 74475
There isn't a use case that I personally want, that couldn't be satisfied with transflective LCD instead of e-ink.

They are dirt cheap but only a handful of chinese manufacturers are using them.

On top of the e-ink IP stronghold, I think there is also a Product manager issue in consumer electronics. Everyone wants to show case Macbook-esque glossy displays whereas a large number of consumers want displays that they can use outdoors and without eye strain. Everybody complements garmins transflective displays but somehow nobody makes the leap of slapping them on phones or laptops.
Stride Game Engine – Open-Source C# Game Engine
have added ones from other answers, and will likely do more, as more answers come in :)
Show HN: Loop macros, label break, slices in C with the Cedro preprocessor
And the most interesting thing to my mind is how little the subtle gotchas matter.

The key is they're subtle. If a subtly-wrong design takes only 20% of the code of the truly-correct design to express and understand and it works for 99% of the cases, then there's actually a benefit to a lot of users of using that architecture. If you end up in the swamp outside the happy path you can get badly burned, but that's the thing... If most people never see the swamp, the language's simpler approach can win.

To take an example from the article: the author correctly notes that Go's filesystem library may not be as portable as one wants it to be across OS's, and that it doesn't handle paths as byte-strings. The former issue is one many people don't see because they get to operate on a Linux monoculture (Go's wheel-house was web servers, which are often running on Linux). And the handling of file paths as byte strings is irrelevant if other tools in the Linux ecosystem can't handle them correctly either, i.e. "If it doesn't `ls`, it's not a real filename" is a reasonable position to take on that problem.

It sounds like the author lands in the swamp a lot or has some significant anxiety about ending up in the swamp, and a developer in that situation may very well benefit from using a language and library ecosystem that is more technically correct more of the time.
This is a very sensible confusion. The forms of macroscopic averaging functions which are useful and valid cannot be made up arbitrarily, but are determined by the microscopic physical laws of the system. There is a reason that the law of increase of entropy is the second law of classical thermodynamics, with conservation of energy being the first law. To state it explicitly: energy is a globally conserved quantity, which can be freely exchanged among the interacting microscopic parts of systems. So we can bring a test system (called a thermometer) into interaction with our system under study, (indirectly) observe the average energy per degree of freedom of the thermometer, and call that observation the temperature of the system under study. Similarly, it is a known physical phenomenon that a gas confined to a container will exert a steady average outward force per normal unit area on the walls of the container; we have ways to measure this force, and we call it pressure. And so on, and on: every useful macroscopic averaging function is a relatively stable, measurable quantity which is determined by the physics of the systems under study. If we discovered some new measurement technique tomorrow which enabled us to measure the "quintessence" of physical systems, and this measurement was stable and reproducible, and could be meaningfully aggregated from the microscopic parts of the system and measured on the macroscopic scale, our definition of entropy would change, to account for "quintessence".
You know reddit is basically based on that and is suffering heavily from not being able to find moderators for its communities? Now increase than exponentially and you get fb communities
Hi, when I presented the first release here 8 months ago (https://news.ycombinator.com/item?id=28166125) it got interesting comments and today I’ve made a new release with additional features:

- Break out of nested loops: break label; (https://sentido-labs.com/en/library/cedro/202106171400/#labe...)

- Notation for array slices: array[start..end] (https://sentido-labs.com/en/library/cedro/202106171400/#slic...)

- Loop macros: #foreach { ... #foreach } (https://sentido-labs.com/en/library/cedro/202106171400/#loop...)

The possibility of loop macros was discussed in this thread: https://news.ycombinator.com/item?id=28166698

At the time I hadn’t figured out how to make it useful without type information, but now it works. The same for the array slice notation: it took me a while to figure out how to make it do something useful without reflection, with a purely syntantical transformation.

Loop macros are useful for the kind of things for which you would use x-macros (https://en.wikipedia.org/wiki/X_Macro), with the advantage that it does not pollute the global namespace with macro names and the body of the macro stays more similar to the final result, which makes big macros easier to read.

Since it runs before the standard C preprocessor it can do things like building up `_Generic` macros as shown in the loop macro vec example: https://sentido-labs.com/en/library/cedro/202106171400/#loop...

Source code (Apache 2.0 license): https://sentido-labs.com/en/library/ or https://github.com/Sentido-Labs/cedro
> I hear this a lot and I just don't understand. People in Stockholm seem about as attractive to me as the people I see in the US in NYC.

It's my subjective opinion. I've been to NYC multiple times and found the people totally average, same as Munich, LA, Miami, Seoul, etc.

> I guess you were walking around a city and had to see thousands of people to see multiple women taller than you?

Yes I was in a city. But again, not in LA, nor NYC, nor Seoul, nor Munich did I see that many women taller than me in as short a time

edit: another commenter made a good example, which is weight. I barely saw overweight people in Sweden. I find being overweight extremely unattractive, so that plays into my subjective view of the Swedes I saw as more attractive in general
>Is this a difference between European jobs and American jobs?

I can name examples of both cases for Europe, I'm sure a few American devs can name examples of both cases in the US.

From what I can tell about where I live, the moment you try to move to mid level or higher, you're expected to know "it" already. It also isn't just vertical or horizontal skill progression. Its both, at equal rates. More skills, and each skill is expected to have 2-3 YoE. From a risk management position, most of those skills are not something you want juniors to work with in their first or even their second year. Most juniors would progress skill A for a few years, then start progressing skill B adjacent to A. So A would be at 5 years, B be at 3 years. Expecting "A 3 years, B 3 years" would be moot at that point, since the far majority with B at 3 years would be at 5 years in A.

Above is even worse when jobs are now expecting you to know skill C, but no one is really working with C yet. Now you need to have 3 years of experience in C, but realistically, no junior is going to be learning C on company time. More likely a few seniors will learn C and maybe distribute knowledge by the time the market is asking for 3 years of experience in D.

As said in a comment somewhere adjacent, the junior market is so saturated, many employers can make pretty insane demands. Good learning opportunities are combined with below-market pay where market pay already is a problem to afford a decent place. Good pay jobs basically expecting you to sell your soul. Or a company which seems great as a junior but then provides next to no opportunities to move up along with the associated pay increases (often only the former). The whole "do your dues" wouldn't be so bad if a comfortable income was guaranteed at a relatively low stress factor, but that's starting to be put into question due to socio-economical reasons.
Yes, to everything except "suddenly".
Demonizing and putdowns/name calling and down votes are the name of their game to try to suppress critical conversation.
The media have their agenda and have spread misinformation on purpose throughout the ages. Sometimes there were trustworthy "newsmen" or presenters/anchors. However, quite often in the political realm they did not shy away from pushing agendas. how many 'conspiracy theories' turned out to be true? Recently we've had lots of misinformation disseminated via the media on behalf of officials as well as 'thought leaders'. There was the who Covid thing and its many bits of misinformation from pushing wet market narratives, to people drop dead on the street to masks don't work and back to masks work. The reluctance to examine the numbers when it comes to Covid. Also, dismissal of the younger Biden story as well as promoting the debunked "Russia-gate". So, yeah, they do lie and they diffuse many fake stories which undermine their credibility. Wild conspiracy theories (nanobots and 5G towers, etc) do not disprove the lies as well as hysteria conducted by the media.
Okay. Being in Taiwan doesn't necessarily mean you've experienced the process of traveling to Taiwan described in the article. Ten days of imprisonment even in a hotel room can't be fairly described as "no big deal", especially if it is unnecessary.
Relevant: https://www.dreamsongs.com/RiseOfWorseIsBetter.html

See also Chapter 9 of: https://web.mit.edu/~simsong/www/ugh.pdf
Objects, actors, and (micro-)services are basically the exact same concept at different scales.
Official repair manuals for Apple products
You might be interested in post rock / post metal - heavier sound, no lyrics.

Best of post metal: https://open.spotify.com/playlist/7HPigooLkKvn3Enr5ilQwS?si=...

For example: Pelican, Russian Circles, Isis, Cult of Luna

Best of post rock: https://open.spotify.com/playlist/4ebKOuGNfJ5g8RdtbEBHxe?si=...

For example: This Will Destroy You, Jakob, God is an Astronaut, Maybeshewill, The Evpatoria Report
I'm a huge blockchain advocate, but I 100% think this is an important point people need to understand. The blockchain is a great solution for pure digital assets. Its an awful solution for physical stuff.

I think this is a holdover of thought from bitcoin. Bitcoin wanted to be a currency for our real world economy. It never became more than that for many reasons. ETH (and now more modern chains) have become more than currencies. They are digital economies. Physical items are foreign goods in a foreign jurisdiction the local economy has little control over.

Even within crypto, different L1's are like foreign economies, and moving assets cross chain is complicated.
I mean there's other ways than refresh rate where there can be improvement, especially on color eInk displays. They managed to increase the DPI on this version after all :)
> Don’t you just file a report online?

Often hard to do in a foreign country.

But yeah, not sure who bothers to report a stolen phone. I think it’s rather unusual for phone insurances to require a police report.
I dropped python (for personal use) back in python 2 vs 3 debacle.
To this day, python still doesn't have acceptable package management, which is a shame because python 3.10 is pretty great.
At work I throw the python trash into a Dockerfile and/or with poetry. Hopefully python will evolve to use hashes soon...
actor model has nothing to do with promises
Usually the difference is the "mailbox" an actor has, making the difference more about the level you're calling an actor more than the differences in any code you might write.
I see this point everywhere about Rust's union types and it always kind of irks me:

> The point is, this [Result type] makes it impossible for us to access an invalid/uninitialized/null Metadata. With a Go function, if you ignore the returned error, you still get the result - most probably a null pointer.

It's all about framing. You can just as equally say it is "impossible" to access an invalid Go FileInfo, because you'll get a panic for derefencing a null pointer. Or you can just as equally say it is "possible" to access an invalid Rust Metadata, just by doing .unwrap(). Everyone knows an unchecked .unwrap() is just bad Rust code, but then again dereferencing a pointer without checking the returned error is just bad Go code.

Anyways the rest of the article seems like just a criticism of Go's file system API, which seems fair but also seems a little niche given how difficult it is to create a good cross-platform file system API. This particular point irks me though:

> stat "$(printf "\xbd\xb2\x3d\xbc\x20\xe2\x8c\x98")"

> fmt.Printf(" %s\n", e.Name())

> It... silently prints a wrong version of the path.

What did you want it to do? The author even admits go strings are just byte slices, not UTF8, and then passes a non-UTF8 string to a function that expects UTF8. If there's a chance the file path your program works with might not be UTF8, then you should validate it. I think moving the complexity UTF8-ness out of the type system was a necessary evil.
From what I can read, 1 gram of tritium is 358 trillion berequel. Thus, 760 trillion berequel of tritium would be a total of 2.1 grams.
You usually need to send an email to the site administrators to get their attention. This information is available in the FAQ:

https://news.ycombinator.com/newsfaq.html
Churn Basics and Benchmarks
This is great!

I just added my little trivia game to the list using the Google Form

https://trivia-16.vercel.app/
The reality is that the judge is still out.

Elon has been the world richest man for 6 months, Bill Gates reached the top spot in 1991, that's 30 years at #1, even with charity, divorce and antitrust lawsuit.

A sociopolitical movement like the one the author is describing as Elon-mania fueled by apes doesn't last that long, it burns rather fast. Like the Beatle-mania or the British Pop Invasion. If on the other hand Elon's conglomerate manages to become the new Microsoft then you'll find him at the top of the Forbes list 30 years from now like Bill Gates.

I can't fanthom how can you root against Elon Musk given his mission but haters are everywhere and if his net worth were to deflate to 50B or even 40B, he'll still be our champion.