skysight-inc/HackerNews huggingface dataset:
“Return”? The employees never had it in the first place. Amazon runs on razor thin margins on the retail side so I pay $50 for a keyboard that cost them $45 wholesale + $1 to store + $3 ship + $0.20 labor for the 10 seconds employees interact with it. That 80 cents of profit goes into the business and is used to expand.

Jeff Bezos is rich because his ownership stake (stock shares) are worth a lot of money on the stock market. He did not get paid out profits (amazon doesn’t pay dividends). There is nothing here than even makes sense to ‘return’ to the employees.
"It" factor? What does "it" mean here (silly question i guess)

Edit: the “it factor” is that feeling in your heart that you get when you know you are with the right person ... No, with the right software feature.
Disagree completely, and I am far to the right of what I suspect the average hacker news member would be politically. Certainly opinions on the right get heavily downvoted, but that’s not censorship. Dang has corrected me a number of times for incivility, but he has never touched any of my posts because I happen to lean in the opposite direction of my colleagues here.
Contact this guy. It looks like a non-surgical solution may be possible :

https://media.ccc.de/v/35c3-9370-hacking_how_we_see

Essentially, they use a VR headset to offset the shifted vision, and then gradually correct the difference in therapeutic sessions. Pretty ingenious.
I think the wording was awkward. It sounded like Jeff was saying she approved herself. Life lesson: stop using passive voice.
I think a core problem is that merely changing the type and recompiling it is likely to cause other issues with code that is using time_t--for right or for wrong--to store the result of subtracting two other time_t values; it also could easily be that a piece of software just sort of looks like it works after that edit but doesn't die to some less-used corner case.

(And, FWIW: my expectation is that civilization will have collapsed because of the machines taking over, and the only thing that will save humanity is when they all keel over and die on February 7, 2106.)
Oh.. Yes. I assumed that they hot linked (a word I haven't used in 10 years) all the images/videos from reddit / imgur. But no, they seem to re-host everything. Which is admirable both from a privacy and "fairness" perspective, it lessens the burden of Reddit.

But yes, without ads or fees, it seems unsustainable.
"If you gave a JS programmer a C programming textbook or tutorial they'd type out and run Hello World in about 2 minutes, like anyone else. "

There are lots of js programmers, who do programming by modifying copy and paste bits of code in a try and error method.

They don't know they use a dynamic scripting language.
They don't know what a compiler is. They oft even don't know exactly what a variable is. So I doubt they boot up and run C in about 2 minutes.
And man page? Terminal? What is that?

And if they manage after a while, they still don't understand printf, as it already uses pointers. They don't understand types. Etc.

Those are the people, who are eventually able to make a website somewhat work, but they never learned the basics. Thats why there are lots of terrible js devs around.

Oh and like someone else has mentioned, of course because people coming to js and insist to write js code in C style or in java style. When js is a prototype based language, requiring different methods.
(even today when there is finally class support)
The world of urban centers is a world of a fixed amount of lane-miles of road. Cars are an extremely inefficient use of road space, they have some of the worst throughout in terms of people per lane-mile per hour relative to other transit modes. What cities like Paris are doing is reallocating lane-miles of road from cars to alternate mere efficient transit modes, which increases there throughout and decreases their commute times. In a world of limited resources (lane miles of road) how much of a penalty should bus riders pay (in terms of minutes wasted sitting in car traffic) to increase the freedom of a much smaller in number group of drivers. I don’t have the numbers offhand, but let’s say there are 5 unique passenger trips in a bus for every unique passenger trip in a car in Paris. It’s calculable, by saying “preserve car drivers freedom” you are also saying “increase commute times by 30% for a group of people that is 5x as big as those having their freedom preserved.
The article is about that. Bell inequalities proved there isn’t ‘predestined’ effect(If you mean ‘hidden variables’ by that)
I wouldn't say it's hard... I've worked on a web app that had extensive keyboard shortcuts because it was designed for power-users. There are some platform-specific inconveniences like listening for Cmd on Mac vs Ctrl on Windows/Linux, but that's nothing compared to writing an entirely separate application for each platform.

I think they don't get made because of a) a cultural shift, and maybe also b) because the browser itself has some keyboard shortcuts that users may care about more (and don't want overridden). For example Twitter actually has a bunch of shortcuts and I usually invoke them on accident. But if your users are power-users then they probably know what features are available, and of course if you're using electron then the point is moot.
> I know at least one person who’s having problems exacerbated by lack of mobility. Atrophy in old people can be a big problem.

His name is Biden. You can see it on video when he shuffles to the podium.
Slavery was leveraging the forced labor of other humans. Leverage is not always "wonderful".
> on record

You mean spoke to journalists? Or gave a legal deposition?
Private lessons on the close order of $100 two, or maybe more, times a week, plus group classes several times a week for maybe another $100, plus travel, plus equipment, plus competition fees, is probably true for lots of individual sports. For most the lessons will be the big expenses.
Not to be argumentative but there are numerous studies involving these compounds individually evaluating their effect on blood glucose, cardiovascular health, cholesterol and other measurable health-related metrics. Respectfully, what is wrong with a study that might show a synergistic or deleterious effect involving taking these compounds together compared to them taken individually? Since a study like this is a QA of sorts for scientific truths shouldn't tests involve as many permutations as possible? Also, it's not like they could corner the market even if this study went viral. I can buy each of these compounds in bulk and cheaply at my local Costco.
Never suggested everyone who posts shitty arguments is doing so disingenuously. Just suggesting there are many who do.
The amount of osmosis learning of how things should be that comes from working somewhere that things were that way is hard to explain. The density of good ideas you get exposed to has a huge effect, even if you aren't in leadership. It also doesn't necessarily come across in interviews, it's reflexes you might not realize you have.

I was very skeptical about this, then I worked for one. Now I get it.
Here's is a simplistic example of a state machine:

let transition (state: State) (action: Action) : State option =
match (state, action) with
| (StateA, ActionA) -> Some StateB
| (StateA, ActionB) -> Some StateC
| (StateB, ActionA) -> Some StateB
| _ -> None

If you get the quoted representation of the transition function, it can be visualized as a tree data structure (like code-as-data in LISP). You can analyze that tree to understand that if current state is StateB, only ActionA can be applied on it.

Couple this with another realization: "Any sufficiently complicated model class contains an ad hoc, informally specified, bug-ridden, slow implementation of half of a state machine." (not sure where I read this quote).

This means all the entity framework/ORM crap work that we do can actually be neatly represented as transforms on a F# state machine, which suddenly makes the application more powerful if you give it this structure.

We use this technique to auto-generate admin panels.
I wish there would be pure .NET project, that at least matched QBE. Garbage collection would be interesting to tinker on top of it.
Woodworking Product on the Internet
It's not only false, it's offensive. Livermore, like the rest of the 680 corridor in Alameda county, has been paying full BART taxes for two generations with no service.
One method I can think of off hand is to de-risk new ideas by triangulating from success already in the market. Use the data that other's have collected to launch their successful thing and show how your feature or product is a combination of things already working. I think PMs who can do that have the "it" factor. It's walking the line between going with gut and not having time/resources/energy to get actual data.
That book feels so much like Atlas Shrugged in a sci-fi universe. It’s dreadfully exciting to read.
Did you look at the "Excess mortality using raw death counts" chart? It's very very clear that 2020 is a huge outlier. Is it possible some of their numbers are a bit off? Sure. But the size of the difference in 2020 dwarfs that.
GPS chip in the car?
License plate readers all around you?
Face recognition cameras?
Chip in the credit card that you are not using?
Friends with a iphone that have your number?
ID cards that swipe you into places?
How do would you tackle two conflicting views from two different internal customers.

How would you tackle a situation where a customer wants something completely diffrrent, which you are made aware of during UAT.

What is a customer journey?

What do yoh thing of working agile?

Hiw do you start off after being hired onto a project and broader system ecosystem you have never been part of before.
Do you have anything for remote jobs?
From modder to game developer, Brian’s tribute to the simulations of the ‘90s
A story about fighter aircrafts, space ships, game design, modding and programming, with a pinch of nostalgia.
Poverty does not in fact ensure misery. Victor Frankel wrote about surviving the most hideous depredations imaginable in World War II concentration camps. It was obvious from the first that a defeatist attitude killed you, and that determination to survive was essential. Knowing this helped me through many years of misery.
> And secondly, the author points she is "upper class"? How can upper class family or individual ever need to borrow loans and also not have assets?

In the US, economic class and social class are often used interchangeably, which is wrong. Social classes are cultures, and while ever-increasing amounts of money are needed to perform the rites and shibboleths of the classes, you can still be upper class while being dirt poor. It's a set of values, not a figure in your bank account.

> For example, our social context, a middle class family wouldn't take education loans and would have assets, in general

With the way tuition costs have snowballed in the US, I would imagine that even upper-middle class families are starting to struggle to put together college funds for their kids.
> There are almost always deep-rooted issues that the addiction hides

William S Burroughs wrote, at the end of "The Naked Lunch":

"Statistically, the people who become addicted to morphine are those who have access to it: doctors, nurses, anyone in contact with black market sources. In Persia, where opium is sold without control in opium shops, 70 per cent of the adult population is addicted. So we should psychoanalyze several million Persians to find out what deep conflicts and anxieties have driven them to the use of opium? I think not."

Similarly, historical opium addiction in China was largely a function of supply.

I think there's a bit from column A, a bit from column B, and WSB's scoffing at the idea of "psychoanalyzing Persians" does seem a bit... dated (what a concept, that a large number of people might have anxieties and deep conflicts). And I whole-heartedly agree with you about the "health problem not a crime" issue.

However, I often think about that remark of WSB's in connection with some of the more radical ideas about legalization (as opposed to decriminalization/depenalization).
> and as OP says, that gap at scale is what makes a billionaire.

But that’s a dumb generalization. Microsoft wasn’t paying low wages and software people easily found jobs elsewhere but it still made Gates a billionaire.

Warren Buffet gave cash to companies he thought were undervalued and on hard times in exchange for ownership stakes. This worked out more frequently than not and made him wealthy without exploiting any labor (many of these companies paid/pay solid middle class wages).

The Google founders are billionaires and their company has nothing to do with paying for cheap labor and up selling it.

Exploiting labor prices isn’t a business model that pays well enough by itself. In other words, companies that produce billionaires have to be providing more than just labor at a higher price than they paid for it.
As does anyone contributing any new idea ever (apart from purely technical/scientific advancements).
It is unfortunate flagging censors the posts. Was interested to get more context in the thread and instead it’s hidden entirely.

Regarding the rest, I’m happy to simply disagree with you having observed this in practice in other communities. It’s not black and white.
Depends on where. It should be available in the UK and Canada. It's not available in Germany because of some weird requirement that I was not able to meet (closed captions in German or something like that). Where are you trying to access it from?
https://docs.google.com/spreadsheets/d/1JfNAbUX_lN9K3MCNHO15...

Not mine. Just a thing I keep handy.
PHP RFC: Enumerations
I think it's also worth noting that this is specific to (common) CPU architecture where cache is sufficiently big and orders of magnitude faster than main memory, and where main memory reads and writes have similar cost.

The tradeoff in moving memory at the end of the array vs scanning to the point of linked list insertion could be different on some existing and some hypothetical systems where these concepts may be relevant. For example, storage write cycle minimization could be a priority in rare cases.

That said this is an excellent point about the majority of use cases. I hadn't considered the dominance of the time it takes to locate the element to modify. I've never had a reason to benchmark a linked list since even a basic idea of the effect of cache/prefetch precludes its use in every use case I've actually come across.

Probably useful for CS education to start comparing linked lists to bubble sort. There's always a better algorithm, but here's a simple one to learn so you understand how to compare data structure performance.
Show HN: One last trip down memory lane with the Raspberry Pi Zero
You can conditionally style elements based on an input checkbox's `checked` state. A label element can also toggle an input checkbox's `checked state`, but contain whatever HTML you want.

Put the two together and you can do interactive elements without JS:

```
<input id="inputId" type="checkbox" />
<label for="inputId"></label>
<div class="toggle-content">Some DOM</div>
```

```
label::after{
display: block;
content: '[+]';
}
#input,
.toggle-content {
display: none;
}

#input:checked + label::after {
content: '[-]';
}
#input:checked ~ .toggle-content {
display: block;
}
```

Off the top of my head, so YMMV but principal is all there.

You start getting headaches if you want animate that though (keyframes that animate a max-height from 0 to 9999999px goes some of the way but feels a bit hacky/doesn't give you much control over consistent timing.)
> PG is picking a fight with the least sophisticated form of the anti-billionaire argument (i.e. "billionaires suck"), which is beneath him. I get that it's easier to do that than than argue over how the structural issues that allow massive wealth accumulation also undermine the foundations that markets and societies are built on, but it's really beneath PG to choose such a trite argument to oppose.

PG has good ideas and experience in programming and startups, and some fresh perspectives that I enjoyed reading in the early days of HN. His essays today seem to be devoid of that. I can speculate on the reasons why, but that's not useful. He has a huge following, and like any thought leader they will consider his word as gospel. I just wish he would do better.
Not sure how it bears on the article, but yes I'd think that "very ignorant people" being able to more easily engage in discussion with those different from themselves and learn new facts and perspectives ought to very much raise the level of public discourse.
It will always baffle me how some programmers believe that meetings are the bane of their existance because "they only waste time", while at the same time they can entertain the "tabs vs. spaces" (or "vim vs. emacs") discussion for hours.

I don't care about the indentation method, I just want to press Tab, or Ctrl+S and have it do the right thing. Not waste any brainpower thinking about it.
> You mean spoke to journalists?

Non-anonymously, yes, and also non-anonymously on social media and other public venues.

> Or gave a legal deposition?

There being no lawsuit in which for them to be deposed on the issue, that would be impossible.
Thanks, I read your comment in its entirety. I think we need more people like you. Disagreements about issues and these things happen all the time. My fear was founded in the fact that people perceive me as either 1) Faking as a non-white person (see some accusations here) 2) On top of that, accusing me of being racist. The truth cannot be more further from that. 3) Downvoting because its a difficult conversation. 4) Perhaps tracking me down and finding my identitity and may be someone crazy can go nuts and cause harm to my persons or my career.
On the other hand, in Finland the cost is around 200-250€ a month per child and the cost goes down with each child currently enrolled.

From ages 0-5 you need to pay for childcare, pre-school starts at 6 and that's free. Pre-school isn't 8 hours a day though, so you need to pay around 100€ to supplement it with childcare.

After that it's school, high-school and university, all free again.
High-school & university require you to buy the books though, which do have a cost, but nothing like the US schoolbook prices from what I've gathered. It's hundreds of euros per term if you buy new.
Awesome answer. I work a lot on business systems with complex forms and agree with everything you say.

We are still feeling our way for a solution as we don't want to move to a SPA (swapping one set of costs for another) but have outgrown our current SSR + hand-rolled JS + jQuery + Bootstrap JS mess.
>If the purpose of the analysis is to determine whether the preventive measure is effective and not overwrought, an excess deaths analysis is a good one because it helps infer what the toll would be in absence of the measure.

How do you know what the toll would be in the absence of the measure? Excess deaths tells us how many deaths are from virus+shutdown. I don't see how we can use this data to find out how many deaths there would be in a virus (no shutdown) scenario, or in a shutdown (no virus) scenario.
Hi I'm the author! Yes, I wrote this code quite quickly and when I originally posted this on reddit someone pointed out my mistake. The more you know, I suppose.
I don't understand what you're saying here; could you expand a bit?
if this is true, why on earth wouldn't they just use that money to, I dunno, rent them an apartment?
Yes, I figure it would have been easy to get to 100% if MySQL had been designed so that plugins could be coverage tested.

For example, there might be an "environment" API which abstracts memory management and file I/O. The plugin could use this API instead of direct calls. Then if MySQL had an option to use a specific environment implementation for a plugin, then testers could drop in their own implementation under test.

Getting that sort of support by MySQL is an example of what I think you mean by "cultural challenge."
You have to pay to give birth in the US, like the government doesn't even care about the most fundamental act of creating more citizens, so not funding heroin treatments is no surprising in the slightest
A great data source for EU excess deaths is Euromomo. They publish official national mortality statistics weekly from the 26 European countries.

Graphs and analysis as well.

https://www.euromomo.eu/
It would be nice to know who that "new player" is.
Looks nice, but quarantined boards don't work.
That was true historically but all of the real estate around MIT is now worth millions
Hey I'm the author. Bash treats 0 exit codes as a success, so the "server up" echo runs if the connection is made.
You (and others, evidently) don’t pick up on the tongue in cheek nature of the comment. We all know we can simply raise pay at the bottom without needing to cut (or inflate) anyone else’s pay. They are similarly absurd propositions.
I'm more inclined to believe the organisation literally called 'our world in data' as an authority for data research. Your analysis just seems incomplete and I highly doubt they would just leave something out or use bad data. Look at their formulas to get a better idea why.
Or you can learn to lie better. It's actually a very valuable skill. Do it well enough and you can become an actor or president of the United States -- or both if you really master the art.
I use it in production and I recognize your username because you always appear when the topic of Elm comes up on HN so you can write the same exact comment.

https://news.ycombinator.com/item?id=22237578 (I wrote this exact comment about you 10 months ago on another F# + JS submission)

If this is going to be your hobby horse, why not put some effort into it beyond "lol sux"?
Now imagine that you're not looking at a famous equation and you tell me which one you would rather have to sus out the intention of.

a = b/c

or

numApples = numBananas/apple BananaConversionRate
It’s pretty much the same at all tech companies now - Twitter, Facebook, Amazon, etc. This is both because the companies are primarily located in far left cities but also because they are powerful institutions that committed extremist activists seek to take over and weaponize for their own causes.

For many, the way these employee activists operate is in fact very unhealthy and distracting. But with leaders often letting these disruptive activities and ignoring the fact that these activists aren’t actually doing work on paid company time, it feels to the majority that they have no psychological safety to speak up. And so they remain silent while a vocal aggressive minority takes over.
It feels to me like Reddit is only good for hobby or niche interests you might have. The main subreddits and politics are what make Reddit the shittiest. But if you stay away from these it’s ok.
These are not different caches.

Database engines do this with system memory and CPU cache, in addition to the disk cache. If you are implementing user space I/O and execution scheduling, you are already most of the way there. In fact, some have much more advanced scheduling around the CPU cache hierarchy than what was discussed in the paper. Some database engines don’t just prefetch memory, they also dynamically reorder the execution schedule to minimize CPU cache churn and save some memory bandwidth. A good database can easily retire tens of millions of page operations per second these days, giving them a considerable look ahead window.

The technique discussed in the paper has been used in many systems for a long time. This was a standard design idiom for graph databases for at least 15 years, due to their intrinsically poor locality.

Most advanced database kernel engineering techniques and architectures are not in the academic literature. That’s just the nature of the domain, they do massive amounts of R&D but rarely publish.
I'm guilty of not clicking through to the profile page of everyone I reply to