skysight-inc/HackerNews huggingface dataset:
As someone who's new to react, and basically started with hooks: am I missing something? The old class based code looks so much better than the hooks magic. Is this just js people hating OO or is there something deeper?
> Your land value would skyrocket by allowing apartment buildings

That is too far away. That may or may not happen

In the short term, the supply just increases significantly. Probably also the traffic and other infrastructure use.

Not that I disagree or agree with nimby. Just pointing it out because you only point out one side.
Won't there be an equilibrium at some point? Empty ships rush back to Asia but can't load in Asia because all the containers are back in the US. Hence they will sit idle in Asia not earning any money and ships that do carry empty containers back will be rewarded because someone will pay to ensure trade is not blocked in Asia
Dew can definitely be a problem depending on location and weather. Dew shields and heaters for lenses or scopes can sometimes be required. It doesn’t need to be cloudy for dew to be an issue.
A large team under POTUS has been working on this for two weeks and the Flexport CEO can sail through and come up with this within 24 hours of doing that? That's embarrassing and concerning.

EDIT yes he's not an outsider to the industry, I mean he's an outsider to the group of officials who were tasked with solving this problem.
Talking yourself into feeling apprehensive about everything sounds like anxiety, which I think we're agreeing, while using different words, needs to be overcome before anything else can happen - but afterwards the rest will probably fall in to place. The neurology vs psychology thing is a semantic issue, really, whatever solves the problems works, and the problem is the same whatever we call it.
I'm not afraid of vaccines. I took two shots of coronavac. I'm not being "emotional" either. Pointing out the fact that these things are still being studied is information. It's possible that these things have risks we don't know about. It's possible that some vaccines only have favorable risk/benefit in certain populations such as the elderly. All doctors I know are reporting cases correlated with COVID-19 vaccination.

People should be able to make informed decisions with regards to these vaccines, not get manipulated into taking them because governments are desperate to contain the situation.
No. Shipping container prices have risen threefold. The transshipment companies who have to deal with the containers piling up don't own the containers, and can't sell them to you.
> But he's not just an actor but the producer

Rust has (currently) 5 credited executive producers, 6 producers, and a co-producer.

Even if Baldwin’s producer credit reflects an actual responsible role and not a producer credit in lieu of additional pay, no one not involved in the production can say from the credits alone that Baldwin had any responsibility over the actions that led to the incident, beyond that which he had as an actor (which is not none, to be clear.)
Awesome work! Btw, you could have also submitted this as Show HN :).
Check out Surplus. It was "hooks" before the react team decided to implement a half-assed version of clocks.

I use surplus everywhere I'm allowed to, and it rarely bites me. It also allows me to develop pretty robust frontends quite quickly. The learning curve is a bit high, admittedly, but I think that's fine.
Does anyone know what UI components or style this documentation uses?, I have to say the UI style is really nice and modern.
The only way is to talk to a Facebook employee. If you don't know any, try cold-messaging some on LinkedIn. If any went to the same school as you or have a mutual friend, that's a good way to get contact info.
What about embedding KGs? That could be useful?
Because the voters have accepted the representatives that chose them.
You could compensate the employees with things other than stock
From time to time I run projectM on songs I like. It's designed to be an open-source implementation of the Milkdrop visualizer (I think), so it also runs on Linux unlike WinAmp/Milkdrop. Its visualizations are very psychedelic and mesmerizing.

It is very entertaining and I highly recommend giving it a try. You can download extra presets or use the ones that come with it. It's also worth noting that I had to adjust (increase) the beat sensitivity and fiddle with the audio output settings to get it to work on Linux. It also works better for faster-paced songs IMO.
But the key is who regulates, prohibits, etc.

If that power is local, NIMBY always wins. These decisions must be made at the state level. Cities are way too fractured into myriad municipalities competing for jobs and "quality" housing.
'catastrophic' supply chain disruptions from Biden's vaccine mandate
Do you believe that you can reason about a computer? I'm going to assume yes. If you'd rather your computer do the countable number of things you know it needs to do, before it draws to the display because it's faster. That's only because you know thoes things exist, and how long they should reasonably take. Most users can't count them, nor do they trust their computer. The loading screen does satisfy them because they know the computer hasn't randomly crapped out... *again*. People who don't understand how to fix computers don't trust them. Rightfully so, they generally dont do what their owner/users want, and randomly will just break costing more money, for seemingly no reason. Those loading screens prevent some of the anxiety of using something you need when you don't understand any part of it.
If you tax unequally, depending upon location, then that's just zoning with another name, except the rich can ignore it.
most of the people who does'nt have friends around me are waiting for someone to call them to events.
If you are doing it stop immediately you don't need someone to call you to events or to hang out you go and join them or call them. its not highschool there are no cool kids or groups everyone is same just relax and go hang out with the people you want to.
So a whistleblower from company A should wait until company B has a whistleblower, otherwise it will look bad?
"You should've been filthy rich like Bill Gates!"

Really?
Aha, then your answer to “if you don’t already know, then how do you learn?” is “you should just already know” / “use common sense”. Respectfully, that is quite unhelpful.

I was thinking a waterproof bag in case you set up and a storm rolls in and you have to pack up then get back to shelter. My common sense says be prepared because you don’t even want expensive gear to get wet while being transported.
magnet: links link to a file to download. Web browsers don’t handle these. ipfs as well. And plenty more …

FTP has nothing exceptional to it beyond it being a shitty, old protocol that is much more rarely used than BitTorrent.
I have to say I agree. Presenting a login screen early is a great idea, as most people take a short while to log in, and in that time system can finish initialising - as long as there is enough free CPU and interrupts to service the keyboard and mouse during that time.
> You should have bought a considerable amount of land next to your property too then.

Your suggestion is much worse. It'd require millions of dollars.

Doing this might also get yelled at by another activist group for buying up all the lands in the city.

A better alternative: we could just join city council and vote to reject any new building.

Not that I agree or disagree with NIMBY, it's just that your suggestion is much worse than the alternative for NIMBY-ists.
The revolutionary groups were trained and funded by the US government years before the Arab Spring even started. In some countries like Syria it even provided weapons to terror groups. What components of an op do you believe are missing here?
When you hardcode something because parameterizing it would take you five
times as long. My advice is learn to code so your corporate existence
isn't just tire-spinning semanticising.
You are not alone.

I have a decent amount of experience starting with plain HTML in 1995 and table based layouts in late 199xs. Modern CSS grid named areas are awesome!

However, whenever I teach at bootcamps and at a university 90% of my students produce better homework than my own pages.

It is a combination of lack of design chops and lack of time to perfect.

I can talk about transitions, color theory and everything but I have no eye for it.

So I when I need something quick and dirty I fall back to Bootstrap at least it will not be absolutely horrible.
Can't spoof IP on a device behind CGNAT either, can you?
For one thing they currently plan to maintain classes indefinitely, so if you really wanted to get started with classes you can just do that, and learn hooks later.

That said, the React docs are pretty clear about the motivation for hooks and I think that is a good place to start: https://reactjs.org/docs/hooks-intro.html#motivation.

After that, this post explains roughly how hooks actually work (in a simplified way), and why they're a more natural fit for what's happening under the hood: https://www.netlify.com/blog/2019/03/11/deep-dive-how-do-rea...
Yes exactly. And a lot of this stuff is open-in-name-only. Like I tried to implement an LSP for a language I am working on using Sublime and nvim as test benches, and the documentation is so bad and some of the interfaces are so convoluted that it seems like it's basically impossible to do without starting with their VSCode starter project or reverse-engineering an exiting LSP.

And with the push towards remote development, I can see things moving toward a world where the default is not even running things locally. Lines get blurred, and sooner or later you're depending on proprietary Azure services without even realizing it.
If Itanium is any indication, even inventing a new ISA is something Intel will likely screw the pooch over. With that said, I'm cautiously hopeful that with the move to a big.LITTLE-like configuration in Alder Lake processors, Intel is at least taking notes from it's competitors. If chasing Apple is enough of a carrot to add ECC support to i7's in the near future, I say chase away.
For maxk42: I think it should end with :

“A deeply troubled company is always the fault of the CEO, the board of directors, and the controlling stockholders who appoint these worthies,” he writes. “It is never the fault of the frontline troops.”

How true that is. I've noticed that the lower-level employees of a terrible company can always get an interview: no one blames them for it. Unless they stayed there long enough to become a lifer. Moral: if you're at a garbage company, get out while you can.

Trader Joe's stores are always full, even at times when "regular" supermarkets are mostly empty. Moreover, you almost never have to wait a long time to check out. It's really a miracle how good they are.
DAOs will be the future of online communities in five years
The Sheikh, the Businessman and a Hacking Mystery on 3 Continents
Lessons from ransomware attacks at Maine water-treatment facilities
In practice, people are pushed out of their homes because they can't afford to live in the neighborhood full of high rise apartments anymore, and they then struggle to make a living (much less find another place to live). It's funny that the GDP itself is prized over the people who are supposed to be the beneficiaries of an economy with a high GDP.
Amazing work! Congratulations!
It's more prevalent than that. Just on this movie set alone, there were prior problems with accidental firings of prop guns that were supposed to be unloaded. On the morning of the deadly shooting, union members walked off the job due to safety concerns. This is going to be one huge lawsuit.
Agreed. I think everyone idealizes public policy as some sort of machine whose principles of action are ultimately traceable.

Alas... It's a bunch of humans trying to sort out an answer to problems that don't lend themselves to being "solved" especially when the definition of "solved" is once again, politics.

This, seemingly, is why we can't have nice things.
SQL is amazing but the mental model beyond inner joins is not at all obvious. Things like outer joins (and when you need them), aggregation, partitioning etc... I am sure I've missed a few things.

But SQL is absolutely amazing.

You have to understand the data and the relations, what's not in the data that you'd expect to be etc...
I see the original poster kindly requested that this video to be deleted. I'm assuming this account basically just stole all his views and therefore any ad revenue. Giving credit is meaningless when the person specifically asked for its removal.
https://help.twitter.com/es/rules-and-policies/inactive-twit...

https://help.twitter.com/content/help-twitter/es/rules-and-p...

should be fixable, but if it has active logins it will not count as inactive even if it's not really used for active stuff like following or tweeting, any activty counts I think
> Solonchenko reportedly exploited Messenger's contact import feature by using an automated tool that mimicked Android devices. He fed Facebook millions of phone numbers and gathered data whenever the site returned info on accounts with phone numbers.

> Facebook asked for undefined damages as well as bans preventing Solonchenko from accessing Facebook or selling its scraped data.

So he used an Android simulator and a loop to generate phone number to make HTTP GET requests to FB’s unprotected phone number endpoint?
>So you show them ads of the latest cellphone or pair of famous-rapper-sponsored shoes that cost half of what their parents bring home in a month, and they'll want that crap no matter the cost. This is no that different from targeting very old people with phone calls, among which some can be lured into buying unnecessary stuff, sign fraudulent contracts, or worse, just because a well dressed drone rang their door and spent the evening talking with them to conquer their trust.

I don't see how companies not properly filtering out minors from their platform equate to them being similar to fraudsters who target the elderly. One is an example of (potentially) willful ignorance of the age of users on their platform, and the other is willful malice targeted at a vulnerable group.
Why blame the rich people rather than the system that allows them to abuse it? Rich people will always exist. The solution is to make it so that abuse is not possible. One possibility: create a state system for zoning and override every local zoning system. Let local zoning boards decide how to zone but make zoning be based on a tiered zoning system. Namely every zoning is a superset of the previous zoning. So industrial areas also allow every other type of zoning. https://www.youtube.com/watch?v=wfm2xCKOCNk
1. Why the orb?

So they say it’s about UBI, but… what’s wrong with the ways we establish human-ness now?

Usually it’s a combination of national ids, photo ids (also a kind of biometric) and respected persons like doctors or licensed engineers attesting you exist. No one method is dominant, which has its privacy benefits.

The eyeball scan, plus the cryptoasset incentive, seems like a strategy that could place this company as a very dominant broker of human-ness. Regardless of whether WorldCoin becomes a useful financial token.

2. What’s even good about the Orb versus something more boring

So the orb bootstraps a user into having a private key. So I have all the same privacy difficulties of managing my own key, don’t I? It’s not like I can pay for things with my eyeball.

So if we have special licensed operators, with controlled hardware, why not generate a key randomly with that hardware?

Presumably they have provisions for transitioning you to new keys when your iris changes, so… if that is done by a controlled hardware and a licensed orb franchise, why not just use regular national or photo ID methods, sign that data with the Orb-station’s private key, and we’re done?
Yeah I think this is just one example of how VSCode can serve to blur the lines of what are OSS dependencies, and what are proprietary ones. It takes a certain amount of vigilance to have a truly open source development workflow on VSCode.
Yes but:

- lifecycle methods are clearly named and explicit. Hook lifecycle is implicit and you better have the whole doc in your head. It depends on this weird array, and have a few edge cases.

- you need useRef() to hold the interval ID for it to work with hooks. A fact you are unlikely to realize without a hard debugging session. While a simple attribute will suffice with a class.

- spreading accross methods is actually nice: people intertwine code for various steps easily in hooks, making a mess of things

The benefit of the hook version, of course, that the reusable version is very nice.
I have certainly not hit "every platitude"!

I left out the "protecting our children" platitude. Thought it might be a little bit over the top. ;-)

In any case, I think Glenn Greenwald has the best take on internet censorship:

https://greenwald.substack.com/p/democrats-and-media-do-not-...
I usually search for suppliers using Google. Did you try that yet?
> How is an actor supposed to know the difference between a blank and a dummy round on a specially modified prop gun?

Dummy rounds are generally visually similar to live rounds (not blanks, which apparently are referred to as “live rounds” in film), so a readily distinguishable from blanks.
Not to be a broken record on HN, but I've often said--and I'll repeat here--that I don't believe altruism will solve greenhouse gas emissions and global warming: it'll only be solved when it becomes economic to do so.

The term "economic" can mean a lot of things. Solar and Wind can be cost-effect replacements for many uses of fossil fuel. With some regulations and transformation of daily surplus energy to other forms, you could get an economy with energy costs similar to the present and low carbon usage. So if "economic" just means, idk, works in an economy, then it's essentially not an important barrier (except the state should finance it's efforts with a graduated income tax and not a visibly-punishing measures like carbon or at-the-pump taxes, instead just making some things eventually prohibited but cushioning the blow for those poor or industries want to preserve).

But if by "economic", you mean the economy has to just do what it "wants" with no intervention at all, well we'll not only suffer the disasters of global warming but also unbridled pollution.
Just no.

Zoning is extremely important. You should not be allowed to build a factory in the middle of a neighborhood next to a school.

There are certainly bad zoning laws but to say they are all bad is just ignorant nonsense.
Survivorship bias. Especially for high-demand religions, answering "no" means admitting the church you make so many sacrifices for does absolutely nothing. This leaves those who are either too afraid to confront the cognitive dissonance or who were already happy in the first place.
I’ve been a server operator and was subject to DDoS attacks. I’ve also tried self hosting since I am familiar with the challenges. Short answer is 80% of the time you will be able to block a <10gbps attack (assuming that’s your uplink speed) at the node level. Most boosters all use similar attack methods, and it just requires you to drop packets as upstream as possible (preferably on the NIC as a hardware upload). In most cases you can block common SOURCE ports of packets. Note, there may be legitimate uses for some protocols, but I doubt most customers use them. If the attack is >10gbps you must likely need a BGP scrubber, that can divert your traffic and “tank” any bandwidth before it comes to your line lease. If your uplink is saturated it doesn’t matter how much your hardware can filter, good traffic won’t be able to get through.

There are theoretical cheap ways where you can assist your customer subject to attacks to setup a GRE tunnel to act as that scrubbing however it’s a bit annoying. Get a VM on a host that has that capability already, and route your packets through them first. Con is you have one more failure mode and increased latency.
And the best way to spend as little time as possible solving problems is solving them the right way. Which you can achieve best with some understanding of what's actually going on in the background.

If you know the basics you can apply them to any tool. If you only learn to build software using a specific framework, IDE etc. you're probably going to have problems if anything in the setup changes. One day in a simple text editor and a shell taught me more about how Java builds work than years of formal education, because all those years were spent in an IDE and nobody even explained what the classpath is.
The issue with Jamulus is that it requires a central server - which means it needs to be close to everywhere . It also needs double buffering and double compression. P2P is the way forward here IMHO.
If you want to live in a very desirable area and you also want to have very few neighbors, you should have to pay for that luxury. Right now that luxury is effectively subsidized for a few people who are “grandfathered in”, thanks to the market distortion created by zoning.
Ok.

So basically zoning but pretending it's not called zoning.
Be curious about people.

If you need a nerdy framework to practice to do this (I sometimes do), then Clean Language Questions are a good one.

Also, look at breath exercises for anxiety. Prof Huberman’s youtube channel has some.
Why? If people choose to live next to the incinerator that's their choice. You can also have "industrial only" zones for stuff that's pollution emitting, but most things don't need that zoning. Example Japan: https://www.youtube.com/watch?v=wfm2xCKOCNk
I've heard tech debt compared to:

- Credit card debt (get instant gratification today but interest payments later will cost more than present benefits)

- Kitchens (everyone else just sees the nice food coming out but if you don't clean up the kitchen, pests/mold start accumulating and cause problems later)
Yes the US Navy has been researching synthesizing aviation fuel onboard nuclear powered carriers since at least 2013. The goal is to reduce fleet dependence on vulnerable tankers.

https://www.autoevolution.com/news/us-navy-aircraft-carriers...
https://www.autoevolution.com/news/us-navy-aircraft-carriers...
Chisel builds with sbt, which is extraordinarily slow[1][2][3], and extremely difficult for newcomers to use[1], if not outright poorly-designed.

[1] https://www.lihaoyi.com/post/SowhatswrongwithSBT.html

[2] http://overwatering.org/blog/2013/12/scala-1-star-would-not-...

[3] https://duckduckgo.com/?q=sbt+slow
On the other hand, Eclipse is still steadily improving. They're already very good in remote development. Lately they've implemented "build into docker". Concerning containers are a more open technology (many runtimes, open standards, etc.), there are still very good real IDEs with very rich features.

Moreover, Eclipse has LSP support too.

Maybe these should be made more visible.
You must have set it up wrong. It doesn't add any latency, but you do need a higher bitrate to get similar quality.
The guns were left on a table to be picked up by the assistant director. Anybody could have tampered with the guns.
For me, technical debt is two things:

Deployed [infra/code/apps] for which few people have remaining context within the company for how those items designs were come about, dated information, SPOF that cant be easily addressed (like a mission critical machine running in a closet that has one-sh job, but can never go offline with causing issues...

And, having to dedicate time/effort/staff/your-own-personal-time+angst to maintain dated systems in a way that may not be efficient for the team/company financially, but you're beholden to it as you determine how to allocate staff who would be better at doing something else, but they need to create projects to manage/update/replace