skysight-inc/HackerNews huggingface dataset:
I'd need to verify my sources, but I recall the way photon detection works is by cascade; one photon comes in, and causes a couple of more "things" (I can't remember what - electrons, probably) to be dislodged, each of which causes a couple more... and boooom whooooosh very quickly you have something which can be easily noticed by a sensor.
"- Where do I even begin?"

With logic:

- Pick a goal (AKA a destination)

- Find a map to achieve that goal (AKA a Roadmap)

- Ask a question regarding the above two points, to a search engine, such as "Roadmap to becoming <XYZ Occupation>"

For example, perhaps it's "Roadmap to becoming a Civil Law Attorney" or "Roadmap to becoming a Web App Developer"

If it's the latter, here's a good resource: https://roadmap.sh/

If you intend to educate yourself, search for "Resources for <learning to become XYZ Occupation/Learning XYZ Skillset>
Typo in footnote 2 (scan)
"Meanwhile, the carbon monoxide burns with a blue flame" should that be (instead of carbon dioxide - CO2 is the product, not reactant, that burns.)
Highly disagree on two counts:

> that's a symptom of issues with React, not issues with JavaScript

IMO keeping as much as possible in an expression-context is preferable, even without React, because it simplifies control-flow and avoids mutation. The main problem in this case, as I see it, is that javascript doesn't fully support that style- it could and should have a feature that allows intermediate constants (but not variables!) inside expressions. (It should also have something better than ternaries for expressive conditionals, but that's a separate topic)

> Refactor into more than one component

Plenty of ink has been spilled here in the past about splitting functions when there's a real conceptual boundary, not just when they "get too large", and how otherwise keeping your code together in one place can actually make it easier to follow because you don't have to jump around all over the place. So I don't really want to get into all that again here, but suffice to say that's my stance on the subject.
Something missing from this conversation is that Mercedes is one of the few 'legacy' carmakers that are managing the transition to EVs and automated driving well.

They have flagship EVs - EQE, EQB, EQS that are well reviewed.

They are the first car company to get approved for L3 self-driving in the US: https://insideevs.com/news/630075/mercedes-first-to-offer-le...

and they are building out their own network of charging stations: https://insideevs.com/news/629594/mercedes-ev-charging-netwo...
Such things exist because of an EU directive https://en.wikipedia.org/wiki/Works_council
> Isn't part of inflation that this doesn't work at scale? As in, if everyone gets higher wages, bigger bonuses, and more money is being poured into 401ks, inflation gets even worse? Or do wages become a rounding error when you add in stuff like real-estate and loans?

Kind of, but wages are only part of the cost of goods.

Assuming wages represent 30% of the cost of goods (i.e. 30% labour, 20% property/fixed costs, 50% materials) and wages go up 10%, then they only impact the cost of goods by 3% (thus 3% inflation might be expected at a simplistic macro level).

Then there is a sort of loop where the 3% inflation could encourage another 3% wage inflation, but that only affects the cost of goods by 0.9% and so on. When you follow this theory, that 10% wage inflation only turns into an additional c4.5% increase in inflation (or 15% if you include the initial 10%).

This is overly simplistic and there are other levers at play, which is why lots of economics calculations often have continous simulations which can show the impact of these feedback loops (Inflation causes wage increases causes inflation causes wage increases).
Very common on regional parties to do that, but the whole cow meat is not good for BBQ. Some meat is better for stews, other to bake or to cook in a pan. It is common to BBQ the whole ribs.
That % syntax is just completely unlike anything else I have seen in JS.

As a multi paradigm language, JS typically suffers from whatever programming style is on trend when these features are implemented. We are apparently on the other side of the pendulum now, but I can’t remember the last time I worked with a class and felt like that was right either.
People misunderstand this.

Google's board can be sued by its investors if it decides to do something like make a pile of $50b and light it on fire. "We don't think you are maximally leveraging your payroll" is not actually a real concern.
Temporary variable make debugging easier too.
Family has been long-time Mercedes owners since the mid-80s. Our MB diesels have been phenomenally reliably over that time period and the last one I owned (a '98 W210 E300D owned from 2005 through 2016) was by far the lowest maintenance car of my life until I bought an electric. The only non-routine repairs in twelve years were three window regulators (absolutely a part that should ~ never fail) and one preheater ("glow plug") that failed, so I replaced all six.

Depreciation issues are great; it means that (in normal times) I can buy a 4-6 year old MB for a fraction of the new price and enjoy it for a decade or more, because of its good long-term reliability.
Feel free to disagree with me on this, but I hold the view that diversity programs erode productivity generally speaking.

And for the record here, I'm not even opposed to them as a worker. It bothers me about as much as companies providing me with free lunches (not at all). In my current place we spend around an hour each week either discussing diversity or in diversity & inclusion training, and it's always the easiest hour of my week.
> I worry about using google products for anything essential due to the risk of being locked out with no recourse

This is my big one as well. As Google refuses to segregate accounts, nebulously AI defined “bad” behavior on YouTube or GCP could lock me out of my digital life.
I don't know, but just tried to find some stats about which are the cars with the highest depreciation. Of course, the lists you find on various do not agree with each other, but what seems to be common across the board is that there is a pretty strong mix of all kinds of different car brands. It's not like Mercedes is standing out in any way on the lists I was able to google.

With reliability lists, it's slightly different, in that you see the name Toyota multiple times towards the top of the lists. Mercedes is nowhere to be found in that area, but at the same time, it's not like the bottom places are all taken by them either. It's a mix, again.
Fair, but then it's not a question of either one or the other. Im not arguing against bonuses. It just shouldn't be the only outcome of what's expected to be a permanent increase in revenue.
> Companies in the top quartile for racial and ethnic diversity are 35 percent more likely to have financial returns above their respective national industry medians.

I hope this is right.

But I keep seeing stats like that being thrown around and implying that the cause of those high financial returns are diversity when it is as likely that projections of high financial returns give you the money and time to focus more heavily on diversity. Both can also be symptoms of a common cause such as healthier management.

Again, correlation is not causation.
Open Recipe Format
Cool stuff, but I miss the "it" variable from HyperTalk (the language used by HyperCard) which contained the result of prompts to the user. Just search for "The it variable":

http://www.jaedworks.com/hypercard/HT-Masters/scripting.html

ask "How many minutes do you want to play?"
put it * 60 into timeToPlay -- convert it into seconds

Today we could have a reserved keyword that holds the result of the last statement executed. A practical example adapted from the article using "it" might look like:

Object.keys(envars)
it.map(envar => `${envar}=${envars[envar]}`)
it.join(' ')
`$ ${it}`
chalk.dim(it, 'node', args.join(' '))
console.log(it);

A better name for "it" today might be "_", "result" or perhaps '$' in a shell-inspired language like php. Most shells support "$?" so that could work too:

# prints 0
true ; echo $?

# prints 1
false ; echo $?
Makes sense that they would become the dominant culture in Google then, no?
Sure! I'll accept Python into the list of languages that have types as first-class constructs! And thanks, the suggestion is much appreciated!
I struggle to think of real-world examples where I've just needed to chain and chain and chain values of different types more than a handful of times. The claimed need for the pipe operator is this construction:

function bakeCake() {
return separateFromPan(coolOff(bake(pour(mix(gatherIngredients(), bowl), pan), 350, 45), 30));
}

The piped code looks like:

function bakeCake() {
return gatherIngredients()
|> mix(%, bowl)
|> pour(%, pan)
|> bake(%, 350, 45)
|> coolOff(%)
|> separateFromPan(%)
;

Which is... fine? It certainly looks better than the mess we started with, but adding names here only helps clarify each step.

function bakeCake() {
const ingredients = gatherIngredients();
const batter = mix(ingredients);
const batterInPan = pour(batter, pan);
const bakedCake = bake(batterInPan, 350, 45);
const cooledCake = coolOff(bakedInPan);
return separateFromPan(cooledCake);
}

Even if you consider the `const` to be visual noise, the names are useful. At any point you can understand the goal of the code on the right-hand side by looking at the name of the variable on the left-hand side. You can also visually scan the right-hand side and see the processing steps. You can also introduce new steps to the control flow at any point and understand what the data should look like both before and after your new step.

I agree that the the control flow is more clearly elucidated in the pipe operator example, but it tosses away useful information about the state that the named variables contain. It also introduces two new syntactical concepts for your brain to interpret (the pipe operator and the value placeholder). I contend the cognitive load is no greater in the example with names, and the maintainability is greatly improved.

If you have an example where there are dozens of steps to the control flow with no break, I'd be really curious to see it.
Google is bragging about spending hundreds of millions of dollars on diversity programs every year.
Ask HN: Common software that has regressed over the years?
Are you using any programs that seem to be getting worse than their older versions. I don't think it's uncommon anymore. Off the top of my head this week:

Windows Movie Maker from windows 7 is leagues ahead of the current movie editor that MS ships . It's a joy to work with

Skype - the desktop app (copy of the mobile app) is just lacking so much in speed n versatility compared to the old windows client
Because there's plenty of other types of parties that don't involve booze or loud music while still presenting an opportunity to start friendships or acquaintanceships. Sometimes they're a simple as a gathering where you can meet your friend's other friends to as complex as a board game party at a local Masonic lounge you read about on the Web.
Show HN: New kind of data notebook for SQL, Python, and viz
Agreed. I'm not even nearing 1/3 of that.

It is, however, a fact that a relatively high amount of HNers earn way over 100k due to the prevalence of people form SV on here. Tech salaries in the rest of the world are nowhere near those in SV.
COVID was a huge shift IMHO - we used to complain about large kids parties every weekend (as parents), but nowadays if my kids are invited, they're with close friends and usually not more than 5-6. And it's now like 1-2/mo not every weekend.

My spouse is thrilled with this; we go do family stuff more on weekends. I don't mind the socialization but don't miss the rush to buy gifts every week.
I uninstalled Twitter app months ago, before Musk takeover, I'm using it less and less, the only social network I used since 2013, I feel better since then I reduced Twitter usage. As far as it regards me, Twitter can close tomorrow.
Your complete mischaracterization of these programs and outright lies about "efforts within companies like GOOG" reveals that you are completely unqualified to assess their impact on profitability. And thus you are in fact the one mentioning it for political reasons.

You also didn't say "over hiring kitchen staff", you said "free lunches", which are two different things.
My understanding is that Rust is particularly lacking in the hardware interface area - a feature of incredible importance for kernels. In fact, that is the Kernel's primary function - to serve as an interface between user programs and hardware. Without excellent hardware interaction support, it's unlikely to be a good language to write a kernel in.
Yes, providing you have a year of free time. Learn to learn first, research, decide on what makes sense to you, learn the basics, practice the fundamentals every day, do your own projects.
Why does Apple think my M1 Pro MacBook Pro is suddenly worth nothing?
> I'm betting my reality is very common for people who grew on small towns and had to move, or for people who live in large countries where you often move around for jobs (like the USA).

Yes, 100%. I met with my (high school) friends weekly when I lived at home. And I met with my brother's friends, who were entirely on the opposite end of the political spectrum from me. We partied together, swam together, went out together, no issues. We'd sometimes get drunk political discussions, but usually we just didn't go there because it really never came up or mattered. And, if it did, we'd usually do it jokingly and never really fight about it.

Now I'm half a world away and any time any of them are anywhere near where I'm at on traveling, I go visit. I've planned to fly to Scotland to visit some of them before Christmas but it fell through on their end. They're planning a Euro trip this autumn; I'll meet them wherever they're at.

Not a tech worker, but i'm lucky in that I can afford it thanks to cheap European flights.
Licentiates certainly aren't commonly used in the States, but there are several programs that offer ecclesial licentiates like Licentiate of Sacred Theology or Licentiate of Canon Law, which are each required for work in certain areas even in the States.
I'll offer a counterpoint here.

It's not "[twitter's] own data". Full fucking stop.

It's the data of the users on the platform. In the same way that the texts I send are NOT my carrier's data, and the emails I send are NOT my email provider's data, and mail I send is not the postal service's data. It's mine. They are simply holding it.

The alternative to pulling this data from the api is to simply scrape it from the site. And there are many (very legal) ways to do this. Although they come with some notable downsides (everything from forcing a user to download a browser extension, to having to ask the user for their credentials).

They also carry downsides for twitter - scraping may not be efficient for them.

So the API is the compromise: I can get access the data I could anyways using the automations I'd prefer, but in a manner that allows Twitter to moderate possible downsides for themselves.

Broadly speaking - this is the legal structure twitter (and google, and all sorts of other sites based on user content) operate under. They are not the legal publisher of the information. They may be granted a right to copy and reproduce the information to facilitate the operation of the service, but it's not their info. Period. if it were... they could be in a fuck load of hot water for anything they allow to be posted to the site.

So - while they're under no obligation to build an API... it's a compelling way to improve the user experience, moderate the consequences of scraping, and increase engagement and activity. Because at the end of the day - that information is already available to users.
Definitely an awesome idea. If you ever need an example, cLabs.co is a US corporation that has an employee board seat.
Hey,
So I recently had a similar problem -- had a semi-serious medical issue, had to go to a number of different medical institutions, all of which asked me for a comprehensive medical history. I was able to give them high-level answers, but some of the details were hard to recall.

I started working on an open-source project to electronically pull my medical information from various healthcare providers, and store it locally (no cloud involvement at all).

https://github.com/fastenhealth/fasten-onprem

It's definitely an early beta, only 1500 healthcare providers are currently supported, but I'm working on a big update to bump that up to ~10k. The UI is also a work in progress.
I'd love to hear your thoughts!
TIL that DLC means https://en.wikipedia.org/wiki/Downloadable_content
Who said it altered brain chemistry or that it would change you forever? I called it an interesting experience, that is it. Maybe for some people it is life changing, but then again some people say seeing the northern lights was life changing.
You spent your 20s cutting your teeth on a failed startup. Lots and lots of people do that and it's a perfectly acceptable thing to have on a resume. I know people who have started in their 30s from never having programmed professionally at all and are now working at a FAANG company. The world is your oyster, go get it.
It's a literal meaning referring to the idea of a secret ruling class of leftist women in society. They're assumed to have all this societal influence and control ("blue-haired gestapo") despite no actual leaders resembling this. I feel like the burden of proof is pretty high for claims like this.
Poster said they threw parties but aren't invited in return.
And just to add to this, I actually think the political polarization of today is just not substantial compared to many other eras. Every generation since the early modern period thinks it’s politics are the most controversial. But the 1880-1950ish era sticks out to me as special. That was the era of real progressivism, communism, socialism, fascism, teetotalers, religious revival, super-powered unions, monopolistic capitalism, wars of political ideology, passivism, hardcore nationalism, etc. It had just so much more ideology dividing people than our world today. The generations that really lived it are dead and many people have forgotten now, but it just takes a bit of reading from that era to see how vehemently politically divided people were.
Then try a less capital-intensive industry? If you don’t have capital, and you want to use a lot of it from other people, then maybe you don’t get to dictate how that capital is used?
Yes, there's an opportunity cost to society.

That overhired person who's not productive in Google could have done something better for society.
Paywalled, but from another piece, “ high California gas prices should encourage supply to be shipped to California from other states. But this doesn’t happen, because no other state formulates California’s unique gasoline blend. If gasoline is imported into California, which does occur when a California refinery goes offline for repair or maintenance, it comes from either South Korea or New Brunswick, Canada, by ship. This process is expensive, and it can take weeks”

https://www.hoover.org/research/why-are-gas-prices-so-high-c...
Is Amazon a book seller only? This is so out of ignorance.
Agree a lot with this. The test (quoted below) has absolutely nothing to do with the skills that a 10x developer possess.

A 10x developer is the one to identify that the stories don't need to be done at all, if one just deletes some codr elsewhere. Connect the pieces and find better overall architectures. Solve the REAL business problem with a small script instead of 3 new microservices required if one wish to provide enough tasks to work on for 10 devs. And so on.

The test mentioned here is just too low level, a lot of the problem space is already resolved at the start of the test and limited potential for a 10x developer.

Also, because of all the overhead in communication and the breakdown of speed once more than 1 head is involved, it is enough to do "the job of 3" to become "10x", since tasks that need 3 regular devs end up taking a lot longer due to the communiciation effort.

Again, in this test it seems the meetings and communication that slows everyone down by being multiple participants are already completed, assuming everyone did the task alone..

Relevant quote:

"[..] each solution involved simple input, output, modularization, and the use of control and loop logic. Each was the size of one or two small Agile user stories requiring two or more hours to implement. The student recorded time on the major activities needed to complete a solution that passed all required tests, including planning, design, coding, testing, and personal reviews."
https://www.glassdoor.com/Salary/Mercedes-Benz-Group-Stuttga... : "The average Mercedes-Benz Group salary ranges from approximately $39,314 per year for a Customer Service Representative to $141,969 per year for a Manager"

Looks like a month's pay for the top end, and several months for the lower end, depending on what the bonus rank cutoff is (interns aren't going to get it)
I went from bare metal/OS stuff to cloud in my 30's. It felt like starting over.
Yes, they laid off ~500 folks in Feb 2020 right before covid gave them a huge (and in retrospect, temporary) shot in the arm.
Not in my experience. On east and west coasts, there are at least a couple widely accepted insurance plans available. A BCBS affiliate, a vertically integrated one like Kaiser or Providence, and other insurers offering PPO plans like UHC/Aetna/Cigna/Humana/etc.
military was the true woke since prussian days.
People will say capital, but there are successful businesses in America started in garages literally every day. Not every one becomes Apple, but many of them go on to support lots of families.
There's nothing preventing you from not using the pipe for last call or even introducing that rule in your team if you can convince your colleagues it's a good idea or even automate it with the use of a linter.

If it's really good rule you can advocate for it at this stage. It might be prudent to use |> % only inside function call parameter or possibly as right hand of an assignment instead of everywhere where parser expects an expression.

a(b(),c(), g() |> f(%) |> d(e(), %))

Although I'll be honest, I don't like it. Other parameters of a() call for me occlude the flow and the intent.

We could make it a bit better with newlines.

a(b(),c(),
g() |> f(%) |> d(e(), %))
)

But if a() takes more parameters after the main one then we have the same problem as usual where parts of the same call can end up far away from one another.

a(b(),c(),
g() |> f(%) |> d(e(), %))
x(), y(), z())

For me

g() |> f(%) |> d(e(), %))
|> a(b(), c(), %, x(), y(), z());

is still better and I wouldn't want it to be prevented by language syntax.
PSE (Puget Sound Energy) has an offset program that includes paying for delaying the harvesting of trees[0]. That's kind of paying for already growing trees but research has found increased carbon capture as trees age [1] so it might be an effective choice regardless. This will, of course, not counter actually fraudulent cases.

[0] https://www.pse.com/en/green-options/Renewable-Energy-Progra...
[1] https://www.pacificforest.org/ee-old-trees-store-more-carbon...
The way I see it, it’s not unlike the expression “Workplace safety rules are written in blood”. It’s taken a century of fatalities and refinement of procedures to come to the modern set of 4 gun safety rules. They exist because of those countless deaths over the years by those who didn’t follow them. The morality of it speaks for itself.

Given how much thought, refinement and bloodshed are behind those rules, to not follow them seems immoral. Anyone handling a gun has a moral obligation to following the safety rules. Do to otherwise is criminal negligence.