skysight-inc/HackerNews huggingface dataset:
> A better question is: which "case" expressions are evaluated - all of them, or only the ones enumerated before the match was found?

Good point. By the way the answer is the latter, so the following prints 1 and 2.

switch (true) {
case (console.log(1), false):
case (console.log(2), true):
case (console.log(3), false):
break;
}
From what I understand (which is limited) a QR code can function as a fiducial but the cutting edge of fiducials far exceed QR codes in terms of recognition speed and can be understood in terms of their relative 3D orientation to the scanner much more accurately and efficiently than QR codes.

The docs page for AprilTag[0] makes for an explanatory example,

"AprilTags are conceptually similar to QR Codes, in that they are a type of two-dimensional bar code. However, they are designed to encode far smaller data payloads (between 4 and 12 bits), allowing them to be detected more robustly and from longer ranges. Further, they are designed for high localization accuracy— you can compute the precise 3D position of the AprilTag with respect to the camera."

[0]https://april.eecs.umich.edu/software/apriltag

Something with the recognition speed and 3D orientation understanding of an AprilTag and with the information density of a QR code seems like it could be quite a useful innovation.
This, many companies even make this quite explicit by issuing stock to employees and buying back the same number of shares, in order to pay with cash flow rather than dilution.
There should be a rule that forbids applying this reasoning to code that isn't triple-nested template SFINAE mess, or a code-generating-code-generating-code-generating-code Lisp macro.

This pattern isn't "cleverness", it's just a readability-improving trick that's cheap to figure out. The hundred seconds you spend on it seeing it for the first time is a one-time cost.
> If one minor is involved, it automatically becomes rape?

YES. This is how it works legally, because one person does not have the emotional and intellectual maturity to provide fully informed consent.
A QR code IS a type of fiducial.

There’s an entire spectrum of fiducial types based on 2D bar code matrices. QR code is the most well known.

But 2D matrices are not as resistant to motion blur, so there are advantages to some of the other types.
Some of his really cool videos I think were taken down (making yellowcake, his mining series, surgically implanting a magnet into his finger to feel magnetic fields)
This is somewhat of a nit-pic, but that's a very incorrect way to use the idiom "drank the kool-aid".

You're using it here as a substitute for "I believed what he said", when in fact "Drank the kool-aid" means you are admitting you were brainwashed into believing a doomed idea to the point you're practically willing to die for it.

The followers of Elizabeth Holmes or Adam Neumann can be said to have "drank the kool-aid".

If you're not aware, it's a direct reference to the Jonestown mass suicide, so to me it comes off pretty jarring to see it used to refer to something as noncommittal and inconsequential as "I didn't disbelieve his statement".
In practice compensation clawback can be quite difficult. https://hbr.org/2021/03/why-executive-compensation-clawbacks...
Bingo. The massive growth in the stock market in the past 40 years is directly a result of the massive inflow of capital from middle class 401k purchases. Overinflated CEO compensation packages are a way to siphon some of this into the pockets of the ruling class.
I can understand how it is rational, but its just not usually accurate any more
Paul now uses “company” to mean unicorn, similar to how he uses “startup” to mean potential unicorn (startups are not companies trying to make only millions according to his meaning). He knows that this is confusing, yet he doesn’t choose to clarify his words except through a footnote. I find this frustrating.

Talking about the Gini coefficient is just ridiculous, because the usual reason Gini is referenced is to talk about what has happened to the wealth of the majority of people, not the Forbes list. There may be more tech billionaires, and that may make the world a better place: however what many people are worried about is what happens to everyone else that isn’t a billionaire... His argument doesn’t reference them at all except perhaps to imply that “a few people can become ultra-wealthy and that is good”.

Perhaps he could argue that Gini is a useless index because it depends on a few ultra-wealthy people, and that the index tells us nothing about the vast majority of people.

An honest title would be “How a few people become very rich”.

I want to see a graph by cohort of current wealth for all the founders inducted into YC: at a population level would that graph show that founding a company with YC was a worthwhile investment for your time? Even if the expected return is high, is the ergodicity such that it is still a loser’s bet? I”m curious whether it is a losing proposition for most, with a few big winners.

Edit: re: Gini: here is the real graph of upward mobility: https://www.visualcapitalist.com/the-decline-of-upward-mobil... (edit: beware that the graphs are full of assumptions - think about them carefully because they are deceptive IMHO).
That's true for 8 hours, but this one was submitted 9 hours after yours.
Windows is in serious need of a new audio subsystem. Something that can replace ASIO, be low latency, multi-channel, allow app audio sharing (which is hit or miss with ASIO), and support rate changes and automatic rate conversion. Essentially CoreAudio for Windows with backwards compatibility with ASIO and MMD. Implement it right, and it can be driverless, much as most audio interfaces are driverless on Mac. It's just such a mess (but not as much of a mess as Linux's audio zoo of incompatible libraries).
> compiler backends to Arm that want a piece of that sweet performance pie

How many compilers didn't support ARM?
I find it interesting that this article completely missed the political rhetoric around electric vehicles [0]. IMO as soon as this issue was politicised, it killed the inertia of the electric car movement locally. Once the EVs are sub-luxury car prices AU may see some more movement.

[0]: https://www.news.com.au/national/federal-election/bill-short...
> Decentralized networks have the potential to resolve many of the issues we techies love to complain about.

I continue to hear this yet I never get a _single_ convincing example from DeFi advocates.
The Last Time a Vaccine Saved America
The people generally aren't seeking weapons to harm other people, or at most have very angry thoughts about some target. The feds do their research. They gain their trust. They play on their fears & desires. They suggest the crime.
I don't think NSA would include a video poker game in the source code

https://github.com/trottier/original-bitcoin/blob/master/src...
Got to the end of week one of Nand2Tetris Part 1 on Coursera and got distracted by other courses. I am going to find time to continue it because understanding every layer of a computer from gates to application layer sounds like a very fun mental exercise and would illuminate the areas on the hardware/software stack I need to dive deeper into
This is nonsense.

What you clearly have here is a principal/agent problem.

The way it works is like this:

1) Money is invested in companies by a diffuse set of investors. That diffuse group is unified by people responsible for managing money.

2) They invest it with the intention of having it go into the productive activities of a business, such as staff and plant and equipment or technology or software or marketing. That money when received by the business is managed by the company management.

3) What is actually happening is that each of these gatekeepers is taking as much as they can get away with. It really isn't all that much more complicated than that.

They'll concoct increasingly complex rationalizations and call it "performance" and launch decades of public relations (like the article we're all commenting on) but at the end of the day the people who should be tasked with fairly apportioning resources in a common enterprise are taking more and more of it for themselves.

The solution is to stop letting them get away with it.
ParkMobile Breach Exposes License Plate Data, Mobile Numbers of 21M Users
When I was in physics, I always read "a typical example of the data from an experimental run is shown in figure 1" as "we have carefully selected the best data, shown in figure 1." It sounds like that is the case here.
They also get experience, exposure and connections that they can leverage to grow the local economy over the course of their careers.
> He's not cancelled,

Meanwhile over at the open letter:

> We urge those in a position to do so to stop supporting the Free Software Foundation. Refuse to contribute to projects related to the FSF and RMS. Do not speak at or attend FSF events, or events that welcome RMS and his brand of intolerance.

Emphasis mine.

The whole text constitutes a textbook character assassination attempt. Consider the amount of support and credibility you want to give to these people, including the Twitter mob that has apparently gone crazy after these announcements.
Interesting that you phrase this as the worker being to blame and not anti-union lobbying and legislation, coupled with an intense psyops campaign from the landed gentry to convince the serfs that voting for their own interests is un-american.
A programming language professor working on interpreters once said - for short-living processes the most effective and efficient garbage processing might be... not to and terminating the process. The OS will collect all garbage at once very quickly. So why bother time spending being smart?
Register renaming for a start, and this is about decoding not execution
Ummm Facebook was the acquirer of those companies not it's investors. I said investors not acquirers.. acquirers bought something of value your investors invested and believed in you when you were nothing. Helped you make it valuable! Believed in you!

I have never would never spat on any or would spit on any investor of mine even if we didnt see eye to eye. The acquiring company sure as they bought something valuable my investor help me create.

No double standard here and if Justin Bieber did the same thing I'd feel the same way ... so no gender double standard here.
"[Computer science] is not really about computers -- and it's not about computers in the same sense that physics is not really about particle accelerators, and biology is not about microscopes and Petri dishes...and geometry isn't really about using surveying instruments. Now the reason that we think computer science is about computers is pretty much the same reason that the Egyptians thought geometry was about surveying instruments: when some field is just getting started and you don't really understand it very well, it's very easy to confuse the essence of what you're doing with the tools that you use." -- Hal Abelson (1986)
Discussed at the time:

Online Text to Diagram Tools - https://news.ycombinator.com/item?id=23483922 - June 2020 (30 comments)
I really don't understand this argument. Why do you think Facebook and Google have so many open source contributions? Is it really out of the goodness of their hearts? Or is it because that was part of their DELIBERATE STRATEGY to attract talent and use OSS as part of marketing outreach.

Microsoft's core business is developer tooling. In the 90's and early 2000's that could be closed-source and proprietary. By the 2010s it was clear that the only way to operate with the kind of tools they have is to be open source, so they pivoted. But their goal is still business.

Google built Kubernetes as a platform play to compete with AWS and Azure - brilliantly - by feeding engineer fears about "lock-in", giving them a set of tools that they could justify feeling "free", and then when the engineers invariably said "this is too complicated to build, maintain, and operate" they turned around and sold a GCP managed kubernetes solution! After all, who better to operate Kubernetes than the team that built it, amirite?

Android is the same play just competing with closed-source iOS instead of AWS.

Facebook built GraphQL for developers on THEIR Platform.

Apple built Swift for developers on THEIR platform.

Examples like this are just as cynical and capitalistic profit-driven as AWS "open sourcing" an SDK for interacting with AWS.
Isn't that exactly the reason to put them somewhere else?
Also "cpu->cpu" NVLink is interesting. Though it was my understanding that NVLink is point-to-point, and would require some massive switching system to be able to access any node in the cluster anywhere near that rate without some locality bias (IE nodes on the "first" downstream switch are faster to access and less contention)
I am a bit of a PG critic myself at times but he became rich from selling his own startup. He became richer by starting YC but he didn't need to start YC. Based on his essays he basically had enough money to be set for life from selling Viaweb and when he started YC he was looking for something to do next other than just retire.
Mysqldump Best Practices: Part 2 – Migrations Guide
Beautiful photos! Thanks for sharing.
OK. I would argue that if you spend that much time making your console look pretty (beyond useful), then you're either not spending enough time on things that matter (everything else, that the user may see) or you're grossly over budgeted.

Btw none of this is as useful as a breakpoint. Type `debugger;` in your code, refresh chromium or what have you with the dev panel open and inspect everything, jump over etc. ad nauseam. Pro tips use IntelliJ or webstorm for a really nice experience debugging.
Parent post implied that westerners brought slavery to Africa which is historically wrong but commonly believed. There was no attempt to justify or evaluate anything.

>Buying a slave is morally equivalent to enslaving someone in the same way that hiring a hitman is morally equivalent to murdering someone.

Well, there are different kind of slaves. For example debt slave, someone in the western world would go to prison potentially being used for cheap labor as well. In Africa back then such a person would likely be "owned" until the debt is paid off.
Buying someone in this context surely isn't morally equivalent as enslaving someone assuming the same "contract" is applied an the slave is able to pay off the debt and be free again.

Also what if someone buys a salve that would otherwise become a human sacrifice (common in Africa at that time).
Assuming ofc that the human sacrifice didn't happen and wasn't simply done with another slave instead. Pretty sure westerner in Africa significantly reduced humans sacrifices maybe by buying slaves but more likely by enforcing laws against it.

We really cant know what the intentions of all the people at the time where but without context Schindler also bought Jews for cheap labor that's a fact but doesn't give the context to morally judge.
1000X this.
This is a very unrealistic idea of how these cases usually play out. I linked this article elsewhere in the thread: https://www.buzzfeednews.com/article/peteraldhous/fbi-entrap...
Could you please shed some light on how many people would be behind a product like AWS Lambda or AWS CloudWatch?

As an outsider, I would guess huge swaths of developers with a massive hierarchy. Buildings full of folks working on AWS services. I have no idea and extremely curious.
> It will always be hidden away somewhere obscure

If by "obscure" you mean "on the actual article with the error," sure. But that seems like where the correction note should go.
pvaldes said that in 2021

Don't expect simple answers to complex problems. Citation without understanding is just appealing to authority complex.

A scientific fact is true even if there is not still a monograph available reviewing all knowledge in that field. (Something much more common that people think).

The alternative would be citing thousands of articles and spending many hours creating the review for you. This is not the place for that and I will not do it for free, so please stop the bullshit of weaponizing citations as a strategy to stop the debate by drowning the readers in academic molasses.

Now returning to the theme...

What you claim is that something dumped in the sea will dilute and disperse homogeneously because "X" liters of sea water and the mantra "contamination plus dilution easy peasy".

I can assure you that this shouldn't be token for granted in the real life.

Some stuff will mix, other will behave in a different way. An example. Salt in a glass water will dilute for a while but its behavior will suddenly change after reaching some concentration.

Another example, If we dump a truckload of cannon balls in water, will they dilute and disperse?. Not. They will accumulate in the bottom, using just a small part of the water volume and remaining in the same location. And in absence of external forces can remain in the same place for basically "forever" rusting at a glacially slow pace for thousands of years. Radioactive metals will act in the same way when dumped in the sea.

We don't need a citation to understand than anything heavier than water will tend to sink, and tritium is heavier. Therefore in absence of other forces Tritium will sink until reaching a layer of its same density.

But not further, because salt is also heavier than water. Electrostatic forces or brownian motion will fight against gravity, so the result is not entirely predictable.

Oceans are vertically compartmentalized. Is something that anybody can observe empirically so citations are, again, unnecessary here

Lets replace now the cannon balls in our example by rubber ducks. They will be free to disperse horizontally. Right?

Again not. Not totally free, because the oceans have also horizontal barriers. If you dump a ton of rubber ducks in the ocean most of them will remain in the same current and travel together without leaving it. Will travel at a similar pace and reach the coast in a narrow interval of time.

Tritium dumped in a point will travel with the same mass water without leaving it for an undefined amount of time.

And in that equation we need to add also the effects of sea life, meteorology, temperature and topology of sea bottom. A mass water rich in tritium could end having jellyfishes rich in tritium also. Or be used as ballast and moved by a ship with a minimum dilution before to be discharged in front of a busy port. Is a chaotic model. We don't know what will happen so we should stop taking just the result that will suit better our wishes. Our plans are based into having zillions of liters to dilute the poison but the correct amount of dilutor will be much lower in the reality. We need to be aware of that.
Finance is one of the largest sectors of the US economy, it is central to its role in leading the world economy.

Additionally, finance is what controls and directs the economy. It is the business of money itself, in both the public and private sector.

Banks play a central role to any economy. Digital currencies can be centralized and controlled in the same way as any state owned enterpeise.
>The comparison is ludicrous because most CEOs are paid like Lebron but have the skill of his teammates.

I agree with you on this. However, do you expect the CEOs who are willing to take a comp that is x10 less to be just as good? Something tells me they won't be.

Like, sure, an average software dev even at a highly paid place like Google is "decent", not "great" (like LeBron would be in this analogy). However, do you think that Google would be willing to just switch to hiring all those other "mediocre" devs from Infosys or Tata for $40-50k/yr? After all, Google's own engineers are just "good enough" on average, and that would be a massive money saver. And yet they don't do it, and neither do their competitors.
I mean, large portions of Chinese citizens are aligned directly with the CCP or members.
I still miss Google Inbox, such a great product. They just killed it for no good reason. Really sad.
console.log can also be styled! It's a restricted subset of css so you have to hack around it, but it's good enough to make images display:

img = $$('img')[0];
// console.log(img);
console.log("%cPlaceholder", `background:url("${img.src}") no-repeat cyan; border:1px solid black; padding:${img.naturalHeight}px ${img.naturalWidth}px 0 0; font-size:0; line-height:0;`);

If you paste this you should see the HN logo display in your console. Credit for the image trick goes to https://github.com/adriancooney/console.image

I use this a lot for working with animated canvases. Appending the current frame into the page is not the same since you lose the context you get from being interleaved with your other log messages.
Thank you for your answer. I wasn't aware all ad platforms today had that requirement.
They could be paying Elastic for gold/plat/etc licenses on their self hosted instances or “self hosted, some cloud” could mean they run mostly self hosted with some Elastic cloud usage.
My main problem with crypto is I like the rule of law. If someone steals my bitcoin it's gone. Normal bank transactions have (imperfect) protections. There is a reason the world switched from storing cash, or gold, under a mattress.

If a country was running on a crypto coin which had a major hack, it could collapse the whole countries economy.
In a similar vein, Fable (an F#-to-JS compiler) is gaining a lot of momentum in the F# community. https://fable.io/
I hope all this data helps us get better free text-to-speech libraries even for English. There's good quality speech synthesis built into OSs like Windows and MacOS and online services from Google, but if you want to include a library in your own local software, the existing open source options are all equally Steven Hawking sounding.
15% of "that number" is 60K, since "that number" is 400K.

They're talking about 60K being good enough on the east coast, and 100K being very nice on the east coast.
This argument is fucking ludicrous.

Money is money. If the business used to have it and now the CEO has it then the business gave it to him.

There's no class of equity that wasn't originally created and owned by the business so that's where the money comes from.

And lest there be any confusion, all the companies we're talking about do massive stock buy backs so it's not even hypothetical, they spend billions of dollars to prop up the price of stocks and the executives get it.
NetlifyCMS comes to mind!
Is the competition on your local boxes (computer, router) or in the network backbone and middleware boxes? Seems like KCP is aimed for real-time gaming and this case it does not matter if your own other connections (browser, autoupdater) suffer at the same time.
I always figured that 'naturally arising' currencies, like gold and cigarettes, have two key properties: a) perceived inherent value (e.g., gold by long tradition and whose origins are lost to history, and cigarettes because people want their fix) and b) natural limitations on quantity (and counterfiting: gold has known density, and a fake cigarette is apparent as soon as you try and use it).

The purpose of the gun, it has seemed to me, is to get around the fact that fiat currencies have neither of the above properties, but that both can be enforced to some degree.
There is no flamewar. Its just a common misconception about well know historical facts.
Love this. And anything else that uses design systems rather than styling individual elements.

I currently have a tailwind project that's around twelve months old. I'd like to add a dark theme.

Normally - in a CSS, SCSS, PostCSS project - this would consist of adding a media query overriding a handful of color variables.

Using tailwind (which has 'inbuilt dark mode support') I have a few thousand colors spread around the project and I have to modify them all. Additionally by having a giant palette of named colors, we have, for example, multiple occurrences of our active color as `blue-400` and `blue-500` and `blue-600` rather than a single `var(--active-color)`.
Playing Different Games