skysight-inc/HackerNews huggingface dataset:
Perhaps someone that knows more about hooks can help me to understand the trade-offs.

After looking at the intro: https://reactjs.org/docs/hooks-overview.html

My understanding is that each time that you call useState the renderer is keeping track of a state associated with the currently rendered component.

It’s a clever solution, but that implicit context bothers me a little bit.
For comparison, Flutter makes the state relationship explicit: https://docs.flutter.io/flutter/widgets/StatefulWidget-class...

The Flutter approach is more verbose, and I don’t know if I like it or not. But the useState looks like a maintenance nightmare. There is no way to type that function usage correctly, and the dependency is not explicit (making refactoring and testing cumbersome).

Any experiences to share?
Being original is a lot harder. People know they won't get as many likes as the original as well, but they'd get a sufficient from their friends—most people aren't aiming for worldwide popularity. It's a sort of consumerism and a cheap way to feel good. I'd wager that most people really don't _care_, they just want to be _in_.

Another example is the 'hygge' trend where people buy a candle, made in some Scandinavian country, and add some wood ornament in their home. It's not 'real', but it's enough for amongst their peers.
Yeah a lot of the public internet is hosted by all-in-one vendors like Google Sites, Wordpress, Squarespace, etc, and object stores like S3, GCP buckets, Cloudflare, CDNs. The website owner just uploads the content, the hosting vendor does all the TLS, protocols, load balancing, whatever else. If the hosting providers update the protocols they use a huge chunk of websites will just immediately use the new one with no interaction whatsoever required on the part of the owner of the website.

If they add easy support in NGINX and HTTPD, then its easier for self-hosted endpoints to change as well, with minimal to no effort on their side.
The EU parliament is not the main legislative body in the EU. That would be the Commission. Furthermore the Council has roughly equal power to the Parliament.

Both the Commission and the Council are nationally controlled by the individual member states rather than directly elected.
For those who are interested in multi-armed bandits, you can have a look at this paper for the budget limited version: https://eprints.soton.ac.uk/270806/1/LTT_AAAI2010_Bandit.pdf

extension of that paper: https://www.aaai.org/ocs/index.php/AAAI/AAAI12/paper/viewFil...
This is assuming the vote actually has a significant impact on the state of things. I vote, but I'm not sure I could justify that belief with evidence.
> Merging onto a freeway from an on-ramp is different, and zipper merge doesn't usually apply.

I'm not talking about merging onto a freeway from an on-ramp. (I'm told the relevant law for on-ramp merging right-of-way varies by state, in the US.)

> The only time other vehicles should have to change their speed is in heavy traffic, when a gap might not exist.

Heavy traffic is the only time a zipper merge might be relevant in the first place, no? In light traffic, just get in the correct lane whenever you want. It doesn't affect anyone else no matter where you do it.

In fast heavy traffic (when drivers aren't leaving the requisite 4 seconds between cars), there's no reasonable gaps into which to merge. Signaling my intention doesn't change anyone else's behavior, and I don't have the guts to sneak my car into a 20' gap at 60mph. Even if I make it, if the driver in front taps the brakes even slightly, we're all going to have a real bad day.

This is a perfect example of how you can't just transplant one aspect of German driving, in isolation, to American highways. On the Autobahn, nobody's driving full speed for an extended length of time at only 1-1.5 car lengths behind the car in front of them. It's reasonable to say "just merge into the gap" because they leave a gap to merge into.
And the most recent releases were the prime f/1.2 pro lenses, which are seriously hefty and massive. The 25mm (50mm FFE), for example, is 410g. Contrast with the pancake Panasonic 20mm f/1.7, which only weighs 100g -- less than a fourth as much!
I have learnt Rust(Just by the book) and haskell I have been doing on and off for some time. Maybe I should try a project in both of these and then decide on them.
in 1847, Marx wrote Wage Labour and Capital, an accessible pamphlet that made the prediction that over time, the middle classes will be squeezed out of prosperity and the majority of people's wages will trend downwards, until they hit a fundamental low point: the minimum amount required to reproduce the next generation of workers. the key point is that this is completely endemic to capitalism, which is characterized by capital owners having diametrically opposed and competing material interests to workers.

we have seen surges of militant class struggle reverse this trend at specific points in history, but in 2019, with decades of dormancy of class struggle leading up to the present, it's happening again.

abolishing private ownership of capital and democratically allocating society's productive resources is the only solution.
Well, I can't know for sure. I went from charging $X/week and getting lots of resistance to charging $2X/week with the guarantee and getting almost no resistance, and several clients specifically mentioned the guarantee.

I didn't ask for anything up front then, but I probably would now that I have an established career and more options (although I'm not consulting anymore.)

Edit: also, $2X was honestly well above my market rate at that point, I charged that much initially because I was already booked. But that's more evidence that the guarantee tactic worked.
200 Euro in Germany
Not only is lucrative creative work elusive, _rewarding_ creative work is too. Is it really rewarding to make unremarkable art that no one cares about or consumes? Maybe for some people, but not for most.
You know, in some cultures I'd assume a computer scientist paid a bunch of folk dancers, slapped numbers on them, and and taught them this pattern to have a laugh with other computer scientists.

But knowing Hungarians, I bet all these folk dancers have math/physics/compsci degrees and had to draw straws to decide whose interpretation of quicksort to choose.
Event sourcing is an "architecture" because it can possibly be used for a part of a system, but only all-in (otherwise, you lose events you should preserve and all integrity benefits).
It sounds interesting, it' s more likely the number of associations than working memory, as I always had very bad working and long term memory compared to other people, still I was the best in elementary class in math without any studying (of course this changed after I went to a school specialized in math).
Those people making sites that are completely broken without javascript have very precise numbers to look at showing that approximately none of their repeating visitors disable javascript.

We, by the other side, have no unbiased number to look and discover if it's a common behavior ;)
==everyone is the same ethnicity and culture==

I think depends on how you define ethnicity and culture.

Sweden foreign-born population - 17.0% [1]

US foreign-born population - 13.7% [2]

[1] https://nordic.businessinsider.com/swedens-foreign-born-popu...

[2] https://www.reuters.com/article/us-usa-immigration-data/u-s-...
Show HN: Osquery Powered Endpoint Security Analytics Platform
We have launched an endpoint security analytics product (https://sttor.com) powered by facebook's osquery agent. It is very easy to use and made with love for CTO/DevSecOps/DevOps. It will help to secure your Linux servers and employee machines (mac and windows). Our main motive is to simplify cybersecurity for organizations.

Features
==============
1. Downloadable Vulnerable deb, rpm, chocolatey, msi, brew packages with CVE and fixes.
2. Rootkit, osx attacks, windows attacks detection in real-time.
3. Compliance Alert for Windows and macOS machines.
4. Intrusion, Malware, APT Detection
5. Incident Response Dashboard.
6. Real-time threat detection.
7. Live Query with fleet visibility
8. File Integrity Monitoring
9. Windows Registry Monitoring.

You will get an instant report for any incidents detected. Daily endpoint security assessment report will get generated per organization. Pricing is equivalent to a cup of a coffee.

Want to get a demo.? Plz ping me on twitter @raushan_rajj I will share credentials instantly.
That's what most do with ketamine to reduce chance of infection . U could also buy a reagent to test it before use .

Only issue I see with intranasal is that bioavailability is only 33%
Yet you can park in many spaces in SF that a regular car cannot. So it can’t just be about utility...
What about the image stabilization sensors and motors, as those also trivially lightweight?
You don't need a root cert, you can just load the session keys into Wireshark
Can data make the world a better place?
Also transcranial magnetic stimulation which is FDA approved for treatment of depression. No drugs involved.
Those are small examples but you can scale them up and Z3 can still handle it.

I have no meaningful experience in OR, don’t know how SAT solvers work or how Z3 reduces things to SAT. Yet I was able to use it to attack a really gnarly scheduling problem with hundreds of variables, weird constraints, preferences, etc.

In addition to finding feasible solutions Z3 has an “Optimize” class that can handle soft constraints and objective functions. This is really useful. (I suspect CPLEX/Gurobi would be better at this but Z3 still works well.)
It's on by default because it is very useful. Just become some websites abuse the ability to run active content doesn't mean Javascript shouldn't be an integral part of the modern web. Browsers should allow the user to crack down on the abuse, but expecting sites to cater to people who disable Javascript is a bit far.
HTTP3 is exciting, I got a couple of questions:

1. is QUIC only for HTTP3 or can be generalized for any TCP-based L7 protocol but over TLS/UDP?

2. How is Websockets dealt with in HTTP3?
Lessee...

14400 vCPU of R4 for 3yr reserved, monthly is $300k MRC. I'm guessing you'd run ceph or rook on your bare metal and have ~8 1TB SSD per server, so 75 servers * 8 SSDs /3 (for replication) is 200TB with decent performance by three data centers for 600TB usable compared to EC2 GP2 at $.10/GB comes to roughly $60k MRC.

Less any network charges that's $360k vs. $156k self-hosted. Guess I'm wrong. It's only twice as much.
> of course

That's not how science works.
Oh my... those are some strange videos.
"In any case, we have an almost divine-like ability to take ultra-fascinating ideas and make them slightly less exciting than a traffic ticket. This is not the skill you need when trying to present the results of your research to a Netflix-addled public. No wonder no one knows Enheduanna’s name."

This is entirely true.

Sumerian literature is fascinating and hilarious. Those translaters, though...

(Has anyone mentioned that Gilgamesh offered to get the monster Humbaba a wife if he would give them the cedars---the suggested wife being the father of Gil's rival, the king of Kish?)
Marx of course came up with these ideas, and much of the 20th century was filled with the unimaginable horror that the people of the world suffered as leaders such as Stalin, Mao, and Pol-Pot, to name of few, implemented them on a national scale.

I am totally unconvinced that any leader seduced by Marx would ever be someone I would care to live under.
Open Graph Image Generator
The good news is that the toxicity rarely carries over to "real life", where people lose their anonymity and can be held accountable for their interactions. Most people that are toxic in both ecosystems would be toxic in either regardless. Of course, the exceptions become news fodder ("he was a good boy until he learned how to internet", etc.).
Having grown up poor I'd say it's not that poor people are not as smart, it's that they are extremely anti-intellectual. I tried my hardest to get family/friends/community into computers (or really any intellectual pursuit). Resistance was extreme to say the least. Reading a book is looked down upon. Computers are for "nerds". I used too many "five dollar words"...

If you want a real view of the situation you have to place some blame on the people making choices holding themselves back. It's not that easy to see if you didn't grow up in that environment though.
The TCP state machine sucks and all of its timing parameters are outdated and unsuitable for modern networks. QUIC frees us from the tyranny of the kernel. Being in userspace is a feature.
I'm gonna flip this on its head a bit; I've been that "bad actor" in the past, when I honest to god could not afford a course/book/whatever. Not "This will cut into my entertainment fund", more "I won't be able to pay rent if I pay for this".

I'm not in that position anymore, but a lot of my later purchases were based on what I learned while I was broke. Now I naturally default to O'Reilly books, for example, if I want a technical manual. Mostly because I downloaded a handful when I was in college.

If you're expecting your company to be around a while, there's a section of customers which will "abuse" your money-back guarantee, then later buy products from you legitimately, that wouldn't be accessible if you made it difficult to abuse the guarantee in the first place. And as many people have stated here, the "abuse" ends up being only a handful of people to begin with.
> nobody advocates sticking with old software versions.

In my experience that's what any policy that doesn't include staying up to date actually boils down to in practice. Auditing old versions is never going to be a priority for anyone, and any reason not to upgrade today is an even better reason not to upgrade tomorrow, so "understanding and mitigation" tends to actually become "leave it alone and hope it doesn't break".
Aw, it was the 18th century: they lost kids all the time.
Because people start off with nothing essentially. And the statement on abundance is the same exact fallacy as Marx. Although to be fair it predated him in far /worse/ forms like many "thinkers" in Ancient Greece thinking conquest was the only way to obtain more wealth. They thought that if someone managed to conquer and enslave the entire world they wouldn't build any more wealth over time. Medieval economic philosophy had a denialism that merchants could be generating value without fraud because they presumed universal values of good. While exploitation may be real presuming that management and capital contribute nothing is just plain not anchored in reality.

Hunter gatherers have little social stratification but no real wealth inequality because they are limited to what they can carry personally and cooperative health is what keeps them alive. It takes a /lot/ of skill and knowledge to live on one's own in the wilderness without advanced tools like say a steel knife.

Productivity is what creates wealth in a meaningful sense. It can improve and boost living standards per person without a specialized pyramid scheme of labor. Proof? The fact that industrialized societies aren't over 90% farmers and haven't starved to death!

While raw inputs may come from land processing it is where the bulk of value actually comes from. If I gave you a claim to all of the gold in Antarctica it would be of very little value because of the extraction expenses.
Do most bosses make 10x the pay? I think that's highly unlikely. Maybe you meant CEO?

I'm 90% sure that my boss makes about 1.2x what I make.
Mattermost (YC S12) raises $20m for high trust & devops focused messaging & chat
Is the expansion a matter of tearing the connecting walls down to the studs and building back up? The idea of a truly modular home, where you can expand or shrink it with relatively little effort (I'm thinking requiring no contractors - hookups are all plug and play) really intrigues me.

Of course, that's a nightmare when considering any sort of centralized heat source or utility, but that's a really fun idea.
Hey!

1. Is it weird inviting guests over? What extra steps do you do to make them feel more comfortable, especially if they're not used to the limited space?

2. How do you store your food, specifically perishables?

3. About how much do you spend on gas per month?

4. Do you ever feel unsafe, such as when you park the bus in a public lot? Do you carry a baseball bat/etc onboard?

5. How do you wash your clothes? Do you take them to a laundromat or wash them yourself?

Thanks!
Part of the process while moving QUIC through IETF was separating it from the HTTP layer, which is why now HTTP/3 and QUIC are different things - although given history and involved players, the HTTP use case was a priority, but other companies are looking to use it underneath other protocols. From my understanding, compared to HTTP/2, the stream concept has moved out of the HTTP spec in the underlying level, where it hopefully can benefit other use cases too.
Wow, the fish scaling using a yanagi is impressive!
I'm not sure OP is saying HN is better. It might simply be the only site they visit regularly that happens to link to mainstream news articles.
A uniformly random ID is really useful when you're implementing a distributed system and you want to evenly distribute the load. You can make certain useful assumptions when your IDs are uniformly random -- which is basically how hyerloglog works and how the article's author was able to approximate the progress of his jobs.
Property without heirs escheats to the state/crown. Wealth buried in your mausoleum goes to grave robbers, eventually.

You could pull a Goldfinger, and irradiate a bunch of gold bars, or otherwise render your wealth unvaluable or unspendable, but that just decreases the wealth supply and makes everything else in the economy a tiny fraction more valuable.

Even if you bought an extravagant Viking funeral, and burned your grave ship, and sank all your treasure to the bottom of the ocean, the world still turns without you. The value of money, goods, and services still depend mostly on the active participants in the economy. When you destroyed the representational tokens for the wealth in the economy that you controlled, their value was immediately redistributed to all the other tokens in existence, and those with the information about the destroyed tokens can theoretically earn arbitrage profit by spreading that information around.

The best you can do is to write a program that spends your estate after your death, give it to your lawyer to compile and execute on the legal mainframe, and hope no one can hack it before it accomplishes your intended goal.
1. Pictures?

2. Did you use any guides on how to build your shuttle bus?

3. What do you do about external services (e.g. showering/toiletries)? I've heard at campsites there's valves to drain sewage into underground septic tanks, but I don't know how common that is in suburban or urban areas.

4. What do you do about insurance (break-ins, fires, etc.)?

5. Do you use public parking and move around or do you buy a parking spot somewhere?

6. Do you remote work / freelance? I'd imagine holding an office job may be difficult given the above constraints.
I don’t know, America is a big place. The sound insulation in my San Francisco apartment building seems excellent.
That's a bad idea because it is visible on the UI and anywhere the user copies/saves the URL, and it would also still have all the downsides that cookie-based tracking enables. Cookies are how HTTP application sessions work, it isn't possible to just get rid of them, without replacing them with something identical in functionality even if you change the name.
If you are so inclined, can you explain what the whole picture shows?
This has seemed so obvious to me forever, but I remember two instances very clearly that illustrate how much people generally hate it in the US.

Once, (in Pennsylvania) there was construction coming up, with maybe still half a mile until the actual cones to merge. This one guy in a massive truck didn't like that people were using both lanes so he straddles his truck across both lanes causing no one to be able to pass on either side.

Second, (in Colorado) there were signs that construction was coming up in a few miles, and the right lane would be closed. So, I was riding in the right lane, passing a massive line of cars in the left lane, getting flipped off the whole time, only to find out there was no closed lane. The signs just hadn't been taken down yet. So I was being flipped the bird because I was using a lane that was fully open.

I think people just don't like feeling that other people are "getting ahead of them", in life in general, and especially in traffic.
For the serious full-time pro shooting nature, sports, etc. "the best" may still make sense. But with modern full-frame digital sensors, it gets increasingly hard to justify thousands of dollars and pounds of weight for an f-stop. It made a lot more sense when you were maxed out at ISO 25-50 for the best color film quality and somewhere around ISO 200 tops for most pro purposes.

Even if money is no object, just the weight and bulk isn't worth it for a lot of circumstances even if you can get a tad better depth-of-field isolation.
What Happens If the Magnetic North Pole Keeps Rushing Toward Siberia?
Hey, author here. I run a couple web games that allow in-game chat between players. One of the biggest complaints from players is that some people like to troll and spam post racial slurs / hate speech / threats. I wanted the profanity detection so I could just filter out the most egregiously profane messages and potentially kick/ban players who continue trying to send obviously profane messages.
Yes, if you developped the taste for it. If you repeatedly savor something, you will become very familiar with it's taste and notice subtle variations. But you need to savor it slowly and be intent about it, not just consume it rapidly while thinking about other things.

The fun part is that it doesn't have to be fancy. Wine is probably the most extreme example as there's a heavy push to equate fancy (expensive) with tasty but very often the 2 don't correlate. While my favorite wines are from the Burgundy area and can reach insane prices, I will thoroughly enjoy a $4 Vinho Verde.

I've mostly eliminated soda from my diet but recently went back to enjoying the Mexican Coca Cola made with cane sugar. It comes in small bottles. I sip it slowly and enjoy it over the course of an entire meal—still my favorite pairing if I'm going to grill my own hamburgers—and of course with water on the side. It's a very different experience than guzzling an enormous amount of fountain soda with a straw.
Brexit and the City
> You probably know that you can find longer dimensional lumber at a lumber yard instead of a big box store.

Not to mention that the lumber at lumber yards tends to be of superior quality as well.
I've spoken with a few . Once u start getting high tollerances the anti depressive effects go away permanently .
I live in Atlanta where MailChimp (the parent company) is headquartered. They hire for progressive politics first, actual technical skills second/third. Many of their employees spend a large part of their day on social justice crusades targeting community members for wrong-think instead of gasp actually building a better products and taking care of customers. They are also known to remove accounts on the system based on these partisan politics.

At some point this is bound to catch up to them as competitors actually invest in their product. In the meantime, they will try to advertise the product like crazy and enough people will buy it without actually researching their actual customer service until this void is filled etc..
Are You a Woman Traveling Alone? Marriott Might Be Watching You
The fairly large amounts of horsehair I used to find in old plaster probably helped with sound deadening as well!