skysight-inc/HackerNews huggingface dataset:
Regardless of how this turns out, I am not a fan of employers insisting on non-compete agreements and preventing you from working for a competitor or starting your own competing company after your employment ends for any reason.

Permitting workers to change companies and/or start their own companies is how a competitive labor market is supposed to work. Worse, non-compete agreements make it hard for employees to find work in their field after being laid off.

Imagine if I were to insist, as a condition of accepting employment, that in the case that my employment ends for any reason my employer refrain from entering into any new work agreements with other professionals in my field, for a period of at least two years. That would get nowhere fast, but of course it's the same sort of non-compete agreement that employers are requiring for employees.

If there's a patent or trade secret issue, sue on that basis. Don't artificially restrict the labor market.
In the "The End to End-User Elections" was this quote: "Drones hovering outside office windows will hijack a Bluetooth mouse to silently install malware on systems to tally who is our next president." And I realized, that's just barely plausible.
I use Twos all the time. I have never had it checked, or assumed fake.
It happens naturally. Add freshwater into a bowl full of brine, let it spill over continuously and pretty soon you've got almost only freshwater left.
Nope. We do it all the time. Next time you get to an intersection, look around to see how many folks are looking at their phones.
They arent.
I'm by no means an expert, but open design and verification of secure enclaves seems quite feasible -- keys would differ between different chip makers, I imagine. Folks could write patches, but perhaps not sign them for hardware they own. Though I'd expect most maintainers to work with the community to get bugs fixed.
Yeah for sure, especially since there apparently aren’t partial Kongs.
It uses WiFi for local communications and LoRa for the mesh network, both of which operate on frequencies that don't require licensing.

https://disaster.radio/learn/hardware/
I'm betting on someone liking Judge Dread.
That sounds a lot like the role at Microsoft that was historically called "program manager", though some orgs there are starting to call that role "product manager" as well.

Disclosure: I'm a dev at Microsoft, on the Windows accessibility team.
Looks like a helpful tool! Thanks for sharing!

One thing that was frustrating when learning guitar was figuring out which finger goes where. Even though the tabs show where you need to press, they don't really tell you which finger should go where.

Is this something you would be able to help with?
It depends what you want. Your current code performs the search synchronously, in which case useEffect would not be useful. You would use useEffect if the search was done asynchronously, typically in a web worker.

I would do it in a single useMemo hook like so:

const defaultOptions = { tokenize: true, threshold: 0.2 };

export function useFuzzy<T>(
data: T[],
options: FuseOptions<T>,
keyword: string,
): T[] {
return useMemo(() => {
if (!keyword) return data;
const fuse = new Fuse<T>(data, { ...defaultOptions, ...options });
return fuse.search(keyword);
}, [data, options, keyword])
}

That way there is no duplication of the `keyword` variable, and it is now completely owned by the parent, making it much cleaner (especially if you're going to debounce it etc..).

As debouncing would be standard if you're handling user typing, check out one of my favorite hooks: https://usehooks.com/useDebounce
was my first thought as well, but after watching the video it looks like it's something you can quickly setup AFTER the incident. To deal with the aftermath I guess?..
This book starts you off with NAND gates and then has you build an ALU, CPU, assembler, and finally a Java-like-language compiler.

The Elements of Computing Systems / From NAND to Tetris
https://www.nand2tetris.org/

The first six textbook chapters (all the hardware stuff) are available on the website in the 'Projects' tab, you should buy the book for the other six. All 12 chapter assignments are available on the website. The Software section has a hardware simulator to test your designs.
Ah, a fellow Half as Interesting viewer :)

https://www.youtube.com/watch?v=BApuzIPVTi8

This is a channel run by the same guy from Wendover Productions, highly recommend subscribing. Especially if you're into obscure things such as sand theft, or … really, anything aviation related.
Selective Availability is on its way out. In addition to being disabled for 20 years, supposedly the new 3rd generation GPS satellites were built without the capability.
The US has done that with domestic Muslim terrorists. Agents even setup links for obtaining weapons and explosives.
The ESP8266 is a wifi chip, so almost certainly OK to operate without a license unless you're doing something really bizarre with antenna gain to get above the 36 dBm EIRP threshold.

LoRa can run in any band you want, but it's almost universally deployed in ISM bands as well, 315/433 or 868/915 MHz. I don't think I've ever seen a LoRa chipset that would push enough power to exceed part-15 regs.

HOWEVER, to be strictly legal, a part-15 device actually needs to be tested and certified thereas. Otherwise the parts can only be sold as a kit and stuff, which is how pretty much all lora stuff is sold right now. And you'd be hard pressed to piss anyone off enough to care.
I think you'd find that once you dig into those old machines it's a lot simpler than you think. The 6502 for example is pretty easy to interface. Electronics knowledge isn't much needed at first, as it's mostly just logic. You can make a simple "computer" on a breadboard that just cycles a no-op through all of memory: https://coronax.wordpress.com/2012/11/11/running-in-circles/

From there it's not a tall order to start interfacing SRAMs and some EPROMs and a UART chip and you can get a machine you can connect to over serial.

Just try! It's worth it!
>Some women are happy being homemakers today, and some are happy in the workforce.

Far more were happy being homemakers in the past.

>I'm not sure how we are currently catering to women in the workforce.

Affirmative action, equal opportunity laws, corporate funded programs to instruct men how to behave around women in the workplace, pervasive media praising women with jobs, praising the child-free husband-free life, on and on and on. You have to not be looking in order to not know about it.
Firefox is a nightmare to package that way.
> except a small, hardcoded list that includes YouTube.

No, it uses a Media Engagement Index and YouTube is on a list that includes a bunch of other video-focused websites like Netflix.

> The MEI is meant to allow media heavy websites (e.g. YouTube, Netflix) that rely on autoplay for their core experience

https://www.chromium.org/audio-video/autoplay

https://docs.google.com/document/d/1_278v_plodvgtXSgnEJ0yjZJ...
> So can we all finally agree, that Huawei stating it has no ties to the Chinese government, was a lie after all?

Even if it was it's like saying Boeing has no ties to the US government. Yeah right.
Its weird what people and businesses will and will not support.

Businesses will shovel loads of money into SaaS and cloud hosting without blinking, but support a programming tool? Never! Another hundred Office users and 50 more AWS VMs? No problem.

People will spend $10 on a coffee but would never spend $5 to support a project that saves them hundreds or thousands of hours of work. They'll spend $15/month to host a site, but would never pay for the software that runs it even though that took far more effort than racking up some servers.

No wonder everything is surveillanceware and mega-corp silos. We get what we pay for, or rather we don't get what we won't pay for... like independent software.
Interesting, so how is it different from similar projects, e.g nycmesh.net, I mentioned above? Is it a promo for the custom hardware design initiative? hardware that's more modular, cheaper, focused than traditional brands?
Honestly I dont think it does anything that a gold coin cant do in practical level.

However, a gold coin will remain valid if dropped into water or fire.
You should check out https://eater.net/ and https://www.nand2tetris.org/. Both breakdown a lot of the complexity around building a homebrew computer using off the shelf components.
Is there a real-world workload that would need 1.5TB of RAM?
Interesting. The original Intel 8086/8088 (iAPX 86) manuals discussed multiple processors too. Can't wait for a Concurrent CP/M-86 "NET" version done with 74ALS/ALVT/LVT/LVX glue. ;) Or get really fancy by shoving all the glue into an FPGA.

https://archive.org/details/bitsavers_inteldataBrsManual_570...

Awesome 74xx/40xx series logic quick reference

https://www.mouser.com/catalog/supplier/library/pdf/STLogic....
What you have described is literally an ICO...
What you need is the Allen Algebra over intervals so you can represent, say a "week", as an interval from a start and an end.
Application Security with Apache Shiro
Cancer drug choices tied to drugmaker payouts to doctors
I said tens of millions since you said it was a few cents for each subscriber, but one million dollars for every hour. (Perhaps I did not read that correctly?)
Category:Obsolete occupations
I suppose that CPU would schedule a DMA transfer from SSD to RAM, and then from RAM to a NIC.

For NICs that have memory-mapped buffers, it could be just one transfer.

What am I missing?
Very minor quibble in the final thoughts... "Google everything. Then Google it again when you forget it"

Maybe a nice opportunity to break people out of the google bubble and give other search engine options
Android can't
More importantly: you keep people trapped in your walled garden for several years waiting until they can cash out.
Monkey-pig hybrids created by Chinese scientists
a. Advisors have infinitely more power over you then any future manager

b. You can switch jobs but you cant effectively jump gradschool. If I want a change of pace another job is always available.

c. Grad school has greatly diminished returns if terminated early. 5 years of PhD work but no thesis defense means you dont have a PhD. Lots of companies you can just leave and they still count towards your experience.

d. Grad students get paid peanuts, you have to worry about finances. Tech jobs pay a ton, I may worry about promotion but I dont worry about going to a restraunt/buying nice things/etc. If I want something most of the times I just buy it.

All of this makes grad school substantially more stressful than a normal job.
No I meant BOS to HAN :)

I'm not aware of any direct fligts, but usually it's just 1 layover away.

It's a great city (Hanoi), although I have no doubts that Tokyo is awesome too.
It's not just nowadays, it's always been that way all the way back to the first Mac OS.

I work with a lot of Mac users and just watching them trying to manage application windows is painful. Ever since they replaced maximize with full-screen - whenever someone wants to click near the top of the window, I make a bet with myself whether they're going to miss the mark and cause the menubar to drop down or not.
This is an equality of opportunity versus equality of outcome issue.

Part of competing in the current marketplace of ideas isn't just the quality of your idea it's your ability to market it. Whether you particularly like that aspect of our public discourse is irrelevant to the current state. The difference here is that the toolkit of getting your message amplified has a much lower bar to entry now than it did before (a nobody with a good tweet can get their video or soundcloud profile in front of millions of eyes). It's probably the case that we're just seeing a shift in the mix of actors who hold power, but the trend has been towards it being easier for people to enter the fight.

My assumption is that the easier it is for people to participate the more we'll trend towards a steady state where the quality of your ideas and your ability to sell them will be the deciding factor in your reach. As opposed to having a dominant advantage because your [race | social caste | profession | political party] has captured the medium of communication and intellectual production. Unfortunately I think we're seeing those groups (2,3, and 4 primarily) lashing out and trying to maintain their advantage to the general detriment of society.
Fancy Console Emulator in C/Python
I have, and do, decline to attend events, dinners, parties at home where people refuse to depower their devices. Many were taken aback, and took it as a cue to examine their own stance. You start by having a spine, and follow through with action, while explaining your stance in a thoughtful way. The change starts with us.
sendfile() has done zero-copy networking for a while (the data still goes through main memory and it gets DMAed twice, but the cores don't touch it). More recently, NVMe controller memory buffers should allow data to be DMAed from the SSD to the NIC without hitting RAM and it looks like Linux is adding support for it using the p2pdma subsystem.
Do you live in California, and/or can you comment on California's laws regarding non-compete clauses?

https://en.m.wikipedia.org/wiki/Non-compete_clause#Californi...

> Non-compete agreements are automatically void as a matter of law in California, except for a small set of specific situations expressly authorized by statute.[26]

> There are limited situations where a reasonable non-compete agreement may be valid in California.

> Where the owner of a business is selling the entire business, or is selling the goodwill in the business, the seller may be bound by a non-compete clause.[31]

> When there is a dissolution or disassociation of a partnership.[32]

> Where there is a dissolution of a limited liability company.[33]
Thanks that's interesting, I didn't know that!
Spurious correlations generally don't go in the opposite directions of the direction of causality.

If you travel around the world in a snapshot in time, you find that there's a positive correlation between density and rent prices. If you stay in one location over decades, you would still see a positive correlation between density and rent prices.

I have never heard of an increase in development bringing downward pressure on rent prices.

Edit: that doesn't even bring into focus the effects on traffic, on costs-of-living outside of housing, on infrastructure, etc. From what I've seen in Ann Arbor, overdevelopment almost breaks the competent functioning of the city government.
No, it's really not 58 hours to spend with their parents.

If both parents are working, the rest of the non-work hours are going to be consumed by cooking (if there is time for that, or else expensive prepared meals), cleaning, household chores, errands, and everything else people need to do to keep functioning.

>Nevermind that the kind of unstructured play with other kids at day care is exactly what young kids need anyway.

I don't really know what the point in this comment is. Do you think kids outside of daycare don't do unstructured play with other kids?
#5 is common in new construction today, in the NIMBY-heavy Northern California (including the SF Bay Area), which is, to be sure, not free of the influence of “modern American zoning laws”, and I can think of at least one Bay Area small town where (if one restricts to residential structures) the same developments that contradict #5 also is do so for #8. The essential equivalent of #7 is a common form (including, again, in the Bay Area) of newer condo development, though they are usually marketed as “townhouses” rather than “rowhouses”.
$16,000,000 spent to acquire users that you had to then build a "block all other users" feature for.

Does anyone know how successful this was at getting people on to the platform? I had the same number of friends on Keybase before the airdrop was announced as I do now.
You just proved his point frighteningly.
Ask HN: Hacker News API for Auth?
Hello! I am wondering is there any kind of hacker news API for authentication. As I found just for fetching data?
Reminds me of the NASA guy who built a glitter bomb and filmed people who stole packages from doorsteps:

https://www.youtube.com/watch?v=xoxhDk-hwuo
I wish all courses were this thorough! Thanks Mr Holt!
Will you buy a color e-reader next year?
We've got another article.

https://www.fastcompany.com/90440817/bill-gates-solves-your-...
Technology can build in anti-theft systems. This is a feature of the new iDevices and T2 laptop line by Apple.

Fun story a colleague bricked a MacBook Pro by simply erasing the hard drive which kicked in the T2 anti-theft system. Top case (keyboard), logic board, drive, fans, T2 board, etc. all had to be replaced to restore it in working condition. That is a $1800 repair on a $3000 laptop. I think the parts may have to authenticate to the chip so a full parts replacement needed to be done. Or Apple was being wasteful, one of the two.
The cryptography behind this is done very well so that Google does not ever see even your hashed password, or know if there was a breached password detected. What Google does see is a hash-prefix of your username, to narrow down the encrypted data set of compromised credentials being returned to your Chrome instance.

Here’s what happens. Your instance of Chrome hashes your username and password and encrypts that value with an ephemeral key which doesn’t leave Chrome, Kc

Google gets the encrypted cred-hash and applies a second round of encryption with a key only known to Google, Kg. They return the doubly-encrypted cred-hash, and also return 256 candidates encrypted with just Kg for you to compare against, those 256 candidates are selected based on a clear-text 3 byte prefix that Chrome also sends them.

When Chrome gets the results back, it decrypts the cred-hash using Kc which results in the cred-hash now being encrypted only with Kg; coincidentally this is the same exact key used to encrypt the candidates, allowing Chrome to do a simple byte-compare to see if there’s a match between your cred-hash and the encrypted breach candidates.

The cool part is the encryption operation is basically communicative. You can add your layer of encryption first, send the value to Google, they add their encryption and you get the double-encrypted blob back, and then you remove your encryption to end up with a plaintext encrypted just with Google’s key, even though Google never saw the plaintext, and you never saw their key.

This trick allows your browser, and only your browser, to compare your cred-hash against the breached cred-hashes while all the data you are comparing is actually encrypted with a secret key held by Google that never leaves Google’s server.

The only information leak is the 3-byte hash prefix to identify the slice of the comparison set. This is definitely not nothing, but perhaps it is a reasonable trade-off.
I agree with that. My best advice is to look for work where you are doing meaningful work and don't worry so much about salary until a few years in your career.
We run ads for small beauty clinics & spas that cannot afford their own staff to do that kind of work. This includes facebook ads which have high return value for the businesses.

I cannot tell you the amount of frustrating time we had to spend to chase Facebook to stop banning us because of an algorithm that thinks the belly buttons and the ladies in our ads resemble adult ads (it's not in any way nsfw, it just shows more skin than usual because that gets interested clicks)

Sometimes I wish there was someone to talk to at facebook to make the automated process less painful, but we are in an Asian country with no facebook representative.
This isn't true. I have to restart my Linux desktop all the time. On Manjaro, sometimes I won't even be able to get the next batch of updates for some reason until I do a restart.

I'm sure that there are ways to avoid ever restarting, but none of the major Linux desktops have figured it out as far as I can see.
why do you post a paywalled article?
The Article 1 branch of the U.S. government sees American interests somewhat differently from "divides Europe":

https://www.rte.ie/news/us/2019/1201/1096402-gfa-congress-br...
Also most of the US GPS guided ordnance cannot function when selective availability is enabled.

The reality is that cheap GPS chips enable so much more capability then the risk of your enemy benefiting from a mapping system.
I selfishly hope that the practice gets banned so that Singapore is forced to figure out how to engineer floating cities (they have the skill set!)
CI/CD Pipelines: Monad, Arrow or Dart?
Thats probably fine for most people, for regular day-to-day commuting and things like that. A decent battery would give you a buffer in case you forget to plug your car in, or you need to do a lot more driving for a few days.

Mind you, some small part in me is sad at the idea of yet another device around my home that I have to remember to charge each night.

And I would expect that as EVs become more popular, chargers will start being something tenants will ask about. This will in turn put pressure on landlords who want wealthy tenants to wire up their garages for faster charging. We've done the same thing before with heating, washer/driers and internet over the last few decades.
Somehow Wisconsin politicians thought it would be a good idea to legalize and privatize this entire ecologically devastating process, allowing vast amounts of Wisconsin sand to be sold to out of state fracking companies.
Best spoken in Clint Eastwood voice: "Just look them in the eye." :-)

This is certainly a problem, made worse by AI hype in the press. People expect superhuman performance where it doesn't exist. Substantial part of the job when consulting in this field is bringing down the expectations to something achievable, preferably without ruining the client's willingness to pay.
For routing, most people prefer to use... routers. Linux isn't great for forwarding and IMO that's fine. As the article notes, there's always VPP when you need to do software routing for some reason.
Emacs with SLIME is probably your best bet, as with most other Common Lisp implementations.
Most cities have little stubby ugly things next to every parking spot already: parking meters. It wouldn’t be entirely crazy to convert most meters to combination meter-and-chargers.

That being said, it’s the overnight parking that needs charging, and maybe the employee parking. Charging while shopping isn’t that useful unless the charger is very fast, and those very fast chargers tend to be rather more expensive than home charging.
You could still run that program.

It's a "security update" in that it improves security, but it's not a "security update" in terms of preventing risk for exploits that have come out or become popular since the last patch.

When people talk about always installing security updates as soon as possible, they mean the latter.
Bizarre comment. Have you ever taken a 6+ hour trip in a car?

If you don't control stops very carefully you can add hours to the already long journey.

And for the record I think a hybrid with a 50 mile battery is the sweet spot: Drive it electrically almost every day, but you can go farther if you need to.
“vi
Oh boy. Here we go. Type vi index.html. This going to open vim which is an editor that's all in the command line.”

Not to sound pedantic, but vi is not vim. While vim was designed as vi-improved, instructing users of vi to use vim direction is not going to be a complete match and may cause confusion for those not familiar with it.
I'd be really interested to see what impact this will have on the site they link to http://disasteradio.org/ some tiny little band.

It would be neat to see what sort of traffic spike they get after being linked from a story that made it to the front page of HN.
Oddly, most of these still exist, but hve just chnged names. I must have clicked on a dozen, only to discover that they are just obsolete descriptors, and the roles live on. Which is interesting in a way I was not expecting.