skysight-inc/HackerNews huggingface dataset:
I don't understand the inclusion of license keys in the blog post; is this some less than legal blog post or did those products mentioned close up shop and publish some global license keys to allow their software to live on?
Baking is science, cooking is art. Use metric values when baking and intuition when cooking.
IP Geolocation API: 20K of free requests/mo
My LBS (actually a local chain of 5 shops) has a month wait for servicing, which they do at one central location. I was quite happy to pay a few hundred bucks to get my brakes bled and everything retuned but not prepared to lose my bike for a month. As it is I got the parts/tools I needed from Amazon and did the job myself.
I'm not sure if this is testament to a fantastic Covid-19 driven uptick in business or their lackluster business acumen.
What really costs nothing is putting assert(0) in any place that should be unreachable. For example:

switch (...) {
case A:
...
case B:
...
...
default: // all possible cases are dealt with above
assert(0);
}
I don’t get the impression that most people care to learn about computers, they just want things to work. In this way I’m not sure it’s much different than most other things we use in life.
Probably. Maybe. I have no clue. I only recently found out there have been three people in this middle management role before me; not a single one of them stayed around for two years. I’m on month 14 and started working on the resume this morning. :/
I don't disagree, but please don't escalate like this. It only makes things worse.

https://news.ycombinator.com/newsguidelines.html
Yeah, science is just like religion, scientists are the clergy, and meta-analyses in the current literature are the scripture.

But here are some important differences[0]:

1 The willingness to admit ignorance. Modern science is based on the Latin injunction ignoramus – ‘we do not know’. It assumes that we don’t know everything. Even more critically, it accepts that the things that we think we know could be proven wrong as we gain more knowledge. No concept, idea or theory is sacred and beyond challenge.

2 The centrality of observation and mathematics. Having admitted ignorance, modern science aims to obtain new knowledge. It does so by gathering observations and then using mathematical tools to connect these observations into comprehensive theories.
And then trying to repeat faked or fluke results

3 The acquisition of new powers. Modern science is not content with creating theories. It uses these theories in order to acquire new powers, and in particular to develop new technologies.

0: https://medium.com/ceoeducation/notes-on-sapiens-a-brief-his...
Well, a story I am confused after 5 seconds...

BTW, this is a personal take. Everyone is allowed to write in their own style. No judgement on that.

The point is that one certainly can write in a way that is readable. The Lord of the ring is quite mystic, but it's written in a way that let readers follow along and enjoy. That'd be the style I appreciate and mimic.
I've been running Chrome on my Arch desktop with 8GiB of RAM just fine for the last couple of years. Usually averaging to 20 tabs
Does it support GPU when installed on Windows 10 WSL1?
Looks pretty, yet ... why do I get the feeling that I've seen those designs a million times before?
This isn't quite the same, but sometimes Spotify gets stuck in an ad loop for me, and I'll get a long wall of shorter ads that can only be removed by restarting the app.
C++20 designated initializers must be specified in definition order, whereas they don't in C99.

In your example,

Point point = {.z = 2.0, .x = 1.0};

produces a compilation error. This is annoying, but workable. And at least it's a compile-time error, rather than a bug that perniciously sneaks into production.
I think it’s fair to say that “swapping” the symbolic colors with each other would be an antipattern in most cases.

But here’s one scenario. Let’s assume the app in question is used for therapy or meditation[0] and its primary color is a sage green to emphasize calmness and a connection with nature. (BetterHelp is an example)

In this case, red over navy green is one direction you could go in. But another direction might be a notice with a darker green background and a large white error graphic (bold exclamation marker with a circle or triangle). The header could read “Error” in bold and the error message could appear in white.

To me the dark-green/white mixture would just as clear and usable as the red-over-green method.

[0] Theoretical Branding - https://dribbble.com/search/Therapy
Certain middle management positions are setup to be “fall guy” positions. Technically, everyone is a fall guy for the person above them, but some more than others.

For example, the budget gets decided a few levels up, but the the immediate manager knows they aren’t being given the resources to succeed. Then their strategy, if they have the ability, might be to hire someone who they can point a finger to when it inevitably fails.
I actually stopped eating out due to the tipping requirement
What Did Mary Know?
Make BFS Your BFF
Stand out from the background
Ask Netflix
I worked as a cleaner in a factory for 3 months before I started university.

I didn't get tips, and it was hard work in an uncomfortable environment (30°+ all summer, wearing overalls), but a useful experience to look back on.
I wish they had better coverage for PGP keys.

On RDS, my typical pattern is to use Secrets Manager to auto rotate the master password immediately. AWS has sample Lambdas for that various databases.
Seattle Windshield Pitting Epidemic
I run a support department for a SaaS product and we’re lean. Everything is fine unless someone is sick or wants to take vacation. Of course hiring another person is never the answer according to the budget gods.
You don't need to get kicked out—it's not as if the guidelines are so hard to follow. Just post when you have something thoughtful and substantive to say, and don't be gratuitously provocative.

https://news.ycombinator.com/newsguidelines.html
The article doesn't say much about how he thought the magpies to use the machine. Does anyone know where I can find more info about that?
Yeah, exactly the same functionality, but just implemented with a different toolset: https://docs.gitlab.com/ee/user/infrastructure/
TLDR: companies will likely shaft you as the market value for your individual dataset isn't that much, companies derive value by aggregating data over a large number of consumers.
Except for the
Aborigines (native Australians)
That looks more informative so we'll switch to it from https://twitter.com/whiteHatSnr/status/1330202709203578882. Thanks!
This is effectively a "minimum wage tax" in addition to the sales tax. Alternatively, it can be seen as a clever way to monetize guilt, by redirecting the staff's anger from the boss to the customer.
Wow, what are the odds that he ended up dying in a house fire aftewards!?!?
> A bitcoin transaction does not cost $10 (https://mempool.space/graphs#1w).

At the time I posted this, the average fee was hovering between $8 and $14 per transaction, and so I picked a fairly generous, low average.

> If you are going to add in your (completely made up?) estimate of mining costs to a bitcoin transaction...

It's not made up, it's available for you to review and criticize here [1], with all the linked studies available to you. I specifically did not include the 700 kWh at a global average $0.14/kWh ($98) so as to avoid inviting this criticism.

> ...you would need to include the costs of the entire fiat payments and settlement infrastructure to the costs of credit card transactions. From gold mined and stored by central banks all the way through to the energy used by the back offices of commercial banks all over the world.

Without going through the process of estimating what it is, I can tell you what it isn't -- even close to the same order of magnitude as BTC. I know that because if I scaled up linearly the energy consumption and e-waste generation of BTC vs. just Visa it would require several times more energy than the entire world generates today, and would generate more e-waste than the entire world generates today.

It's wasteful, and it's shameful for people to defend it like this. Its energy usage is not comparable, at all, no matter what externalities you tried to bundle in. Now there might be a case to be made that the energy usage is worth it, but deflecting the energy usage criticism with hand-waving about including the calories exerted by gold miners swinging pick-axes under the earth is at best disingenuous.

[1] https://digiconomist.net/bitcoin-energy-consumption
The article mentions that if all seven billion individuals could communicate efficiently and agree to use extra time-saving services to rest, the rat race may be prevented. But I think it is incomplete: we may still need to rush in order to be technologically advanced in time to defend ourselves against an unknown future threat: an incoming asteroid, or an invading alien species. So it seems agreeing to slow down Earth-wide would still be insufficient.

In theory, the same burnout problem may be affecting an independent alien life form far away, making this outcome an emergent property of any intelligent life form.
But if the definition of "optimisation" is achieving the best solution for the problem, then regularization isn't constraining optimisation, it's part of getting to the best solution and so becomes a part of the better optimiser.

I agree, any sufficiently complex problem is beyond what we can define as a concrete objective function and any of the solutions we have. So instead the best we can hope for is that today is closer to being optimal than yesterday, and tomorrow will be better still.
> ads drive innovation because they make expensive services possible for the masses.

The flaw is the assumption that this is not possible without them. Consider what happens in the alternative.

The services would still exist, but they would charge a ridiculous amount of money, even more so because charging money means most people won't pay, but if only a minority of people are paying the prices have to be even higher.

So then a hobbyist starts their own free one, and it's terrible, because it's the effort of one person on a weekend instead of a full-time staff. But free-as-in-beer. So everyone who can't afford the pay service uses that one instead.

It ends up with many users, because it's free. And the users want it to be better, so they make improvements and submit patches, or donate money etc. You end up with Linux, BitTorrent, OpenStreetMap. Somebody tell me why you couldn't build a YouTube based on BitTorrent.

You could, over time, if you could get people to use it while it's still terrible and therefore improve it. Which you could do if it was the free one when all the others cost money, but you can't do when the existing YouTube is better funded and proprietary yet still doesn't require the user to pay money to use.

And then the dominant platforms become controlled by individual companies instead of being federated open standards, which suppresses innovation by creating a monoculture that only one entity has the ability to modify.
I came to Terraform optimistically from CloudFormation, thinking it would fix many of the latter’s warts, and it sort of has, except it’s introduced as many of its own. I’m still undecided about which set of problems I prefer, but in general I’m disappointed with Terraform. Some particular things that bother me: I get the distinct impression that it’s trying to badly reinvent a programming language (with “locals” replacing variables, “variables” replacing parameters, and “modules” replacing functions, “for each” replacing loops or comprehensions, and so on). Additionally, I find myself wanting rollback support like CloudFormation has. It’s unsettling that TF makes it easy to get into a bad state. Further still, (and maybe this is just my organization’s use of Terraform), it seems the convention is to split the whole architecture up into lots of root modules, but the links between resources in these modules are basically string identifiers (e.g., ARNs in the AWS world) which will likely change if the resource gets deleted and recreated or if AWS changes their naming conventions or so on. Similarly, people seem to build these identifiers from strings instead of referencing them directly from resource attributes (I’ve seen this practice advertised in some of the AWS provider docs IIRC) which is bad for all of the same reasons that pointer arithmetic is bad. I do like that custom providers aren’t full-on lambdas that I have to deploy, unlike in the CloudFormation world, but mostly I’ve been disappointed.

I wonder if Pulumi or AWS CDK is the solution I’ve been searching for, or if I should just stick to generating CloudFormation from YAML.
> What use case would cause significant heat generation? Worst case you can get a $15 laptop stand with fans.

I dunno; it's just something I've heard. [1] I suppose probably not in any scenario I'd consider an RPi4.

[1] Searched for this and found eg https://superuser.com/a/1536145
I am puzzled when I see railing against meritocracy - what exactly is the alternative and how and why is it better? It is no wonder that the pejorative meaning didn't stick when there was a failure to show how it would be worse than the existing system.

The obvious solution to the elite getting more opportunities is to increase the availability of it across the board to narrow the gap so others can meet their potential as well - meritocracy isn't guaranteed callous social darwinism.

The only logical reason I can see is not wanting competition from those better.
> A good start to this would be making the code FOSS, and allowing webmasters to self host it, rather than relying on Google’s black box proprietary cloud services.

Clearly, this could never work. You'd be giving the bot makers a clear and testable recipe for bot detection.
Yeah, I'm not sure if it's clear but the iptables family and its replacement, nftables, are what I'm referring to when I say netfilter. iptables/nftables are userspace applications and netfilter is the underlying kernel module.

SELinux itself is not aware of pid/user/group.
Great article. Anyone know where FoundationDB is in use?
> videos are never automatically removed.

Unless the video trips some automated DMCA thing, or the owner of the video account runs afoul of some inscrutable algorithm, or journalists start asking about disturbing videos aimed at children, or...

But yes, probably not to save money on storage.
I’ve also run into these from time to time, at an old gig where we didn’t have a support contract, and thus we just had borked stacks here and there and prayed that we would never similarly bork prod. On the other hand, we worked hard to get our CloudFormation templates to a state that we could rebuild prod from scratch fairly easily if it came down to it.
The good old days when you were still getting a proper paper user guid when you bought expensive software. Sometimes missing those days.
There’s a term in gaming, that seems to apply here - playing the meta.

Every time a game is released or a new patch changes the mechanics, a game is in a state of flux.

New models are tried out, new build orders, and it’s more random, people experiment.

Eventually though, the optimal strategy or set of strategies are known - the meta.

It results in many striking metaphorical similarities

1) not following the meta gets you abuse in team games, and is generally going to be suboptimal.

2) the meta is not about fairness. If there is an unfair mechanic, well you had best be executing it better than the competition

3) the meta rewards people who can follow and execute, and significantly less towards experimenting new approaches. The game has only so many degrees of freedom so it’s not like there is much more you can do better than the meta.

4) related to 1, everyone does the meta. It’s the way to play.

Eventually things get stale and boring, and only people who can Stomach/enjoy the meta get ahead.
I'm not totally against, in general, artists and celebrities publicly sharing political opinions, but I am saying that those places which are supposed to be shared, places of common unity, shouldn't become places of polarization. Kanye West is welcome to have political opinions and go on podcasts and share them, but it would be inappropriate to bring them to something like the Grammys or a late-night talkshow. Colin Kaepernick is welcome to go to a BLM rally, but when he creates a spectacle of it on the field, he's wholly inconsiderate of those who don't agree with that sort of cop-hating message. People criticized him a lot for it, but is anything better for it?

These things aren't changing minds, they're just dividing people. People who agree with the messages feel good about it, and people who disagree turn away. Right-leaning people, who would otherwise hold Kaepernick in high regard as representing their city, now see him as an enemy, and he holds them in the same regard. This sort of thing is happening everywhere now, and it is what it is, but no one should be surprised when the country becomes increasingly polarized and uninterested in any sort of unity.
Technical performance is an entirely different matter.

The "unnatural" black argument is not valid, as others are making clear.

Avoiding display artifacts is something different. And it is not "unnatural" black.

It is better to discuss black, as in 0, in those terms that have a basis in reality. "Unnatural" black is not reality.
> It's also interesting to watch old American movies like Rocky or Top Gun where the Soviets are portrayed as the more technologically advanced nation but Americans prevail thanks to their spirit and courage.

I don't recall the USSR being portrayed as a more technologically advanced nation in Top Gun, and they absolutely weren't in Rocky (in Rocky IV they were portrayed as more committed to using the power of the state without ethical boundaries in sport)

> When you come to the end of the 90's and the beginning of the 2000's you have movies like Fight Club and Matrix denounce technology as the destroyer of the society or humanity.

Maybe the Matrix; Fight Club focussed on consumerism and blind capitalism, not technology (and even then, the attack on it was literally a manifestation of mental illness.)
How are you getting shafted if your individual dataset isn't worth that much?
Black Holes Cast Shadows
The notion that "Not doing politics" is political position is a fairly recent fallacy. I believe that the individuals who parrot this sentiment verbatim have been reinforced with this idea from lobbyists and monied interests (including corporations and the media). The reason that I think this is as follows:

This notion helps to habituate partisan zealotry, which allows individuals to have their attention captured for profit, and makes them more manipulatable. If non-involvement in one facet of one dimension of life (politics for the benefit of corporations) is now not possible, then nobody is safe from the moral imperialism of political movements.

There are many spheres of life and influence within the world, and politics is but one of them. In modern times, however, the lines between different currencies of power are blurring, and there are clear channels for the transmutation of different types of power and capital to political power. For corporations, this is very appealing because democratic ideals, the environment, or individual rights might be at odds with their interests. Therefore, if they can convince you to give up your individualism in order to become politicized towards a cause that benefits the corporation, that is a wonderful way to circumvent democracy and concentrate power.
> When setting up your first lemonade stand, you learn that you should set prices at the sum of costs for goods, labor, and overhead, plus a profit margin, hoping that the output of your manufacture delivers more value to your customers than that sum.

That's kinda opposite of a lot of (good) HN advice about pricing.

Here, we (mostly) agree that you set your prices to capture as much of the value you're providing to the customer as you can, not some simple markup on your costs. If the customer gets 10k/month value from your startup, of course you don't price it at $1k - even if it only costs you $500 to provide it.

If I had been running a lemonade stand on the island where Fyre Festival was failing to eventual, you can be sure my pricing would have been regarded as predatory and obscene to all the "cost plus a profit margin" folks.

I reckon the big error here - is tradition wholesale and retail chain ignoring the fact that geographic market segmentation is rapidly disappearing for many things. Shimano think they can gatekeep their markets, and sort-of can at retailer level using distributor contracts. But they totally can't stop consumers buying online from wherever it's cheapest, and that includes dark shift and/or knockoffs from AliExpress et al. Shimano will slowly kill their distributor network, who'll go broke or give up stocking Shimano as more and more consumers use them as a showroom and then go buy parts/bikes online. That'll happen more or less slowly depending on Shimano's brand strength, but the smaller and less discounted distributors will go (or skirt the wholesalers) first, and sooner or later the only place to see a Shimano bike will be a few major specialist bicycle retailers or on late night TV watching the Tour De France.
Title changed from real article - "FoundationDB: Simulation and Testing" would be more accurate.
> This is the first post I've seen on HN that actually captures how to properly set up your color palette.

This is just a Boostrap color palette that I see here and it would be nice if they'd been a bit more creative. Imagine if Rembrandt used Boostrap colors in all his paintings and all his peers copied him ... that would be a boring world, but alas, that's what the internet is currently like, and articles like these certainly don't help.
Believe me when I say that there was a huge amount of doubt.

When I was contemplating becoming a FF-PM I had a wife and 1 year old child. I was far from being in shape but I passed the requirements to be selected (if I had to do it today I'm not sure I would pass. They up their game on entrance requirements!). It didn't help that my mom was telling me that I shouldn't do it and that I should think about my family. But it was actually my family I was thinking of. I knew if I didn't do it right then and at that moment I would never do it and would regret it for the rest of my life.

Fast forward to April 2020 and the department agrees to pull me out of the field because of Covid since I have a chronic liver disease. I thought I got a new lease on life as I was getting tired of the field. But it was more frustrating "upstairs" than in the field and I started applying for almost all remote programming jobs.

When I finally got a legit job offer came doubt again. As a FF-PM in good standing with the department there was little chance of ever getting laid off or fired (the dept has a high, high rate of turnover). Now I had to decide to leave a secure job or take a job in the private sector. From money standpoint it was a no brainer, but from a security standpoint not so much. Ultimately I made the decision to leave the department.

Look at where you are and where you would rather be in 1 year, 5 year and/or 10 years and work backwards from there. What can you do today to move you toward that 1 year, 5 year or 10 year position?

Don't give up and don't stay in something you don't like.
It could be that they have left for work early to avoid the traffic. ie if their start time is 9am then they could leave at 8am and take an hour, or leave at 7:30am, take 30 minutes and then spend an hour in their car reading.

Plenty of firms have fixed hours so you gain nothing by starting early. The office might not even be open for employees to come in early.
In the US, if the lottery ticket is signed it then belongs to the signer