skysight-inc/HackerNews huggingface dataset:
Show HN: Filesystem Watcher
An arbitrary filesystem event watcher which is:

- simple

- efficient

- dependency free

- runnable anywhere with a filesystem

- header only

Watcher is extremely efficient. In most cases, even when scanning millions of paths, this library uses a near-zero amount of resources.

Watcher is simple. The library exposes a single function and a single object. That is all.

Happy hacking.
> is obvious when you compare the image quality from a no-name chinese brand with Samsung or Apple even though they are using the same exact sensors.

This is an area where FLOSS has an opportunity to shine. I think many of these algorithms are described in scientific papers and considering FLOSS is much more collaboration-prone, I'd really expect the best algorithms (except for the ones that require much training data) to soon be implemented. An example of a success case: AV1.
Yes, but it's not hidden.

On the one side of it: humanity, and our ability to explore, comprehend, and modify the reality around us.

On the other side of it: naturally-evolved viruses. They have a couple billion years' practice overriding biological countermeasures and massive territory advantage. If we do nothing, odds are they will eventually mutate into something that drops us dead in our tracks or wrecks us slowly, as they have before (smallpox, 1918 flu, HIV). And in our modern, deeply-interconnected world, geographic defenses and population isolation no longer protect us as they did our ancestors.

The main tools we have to avoid this are our ability to explore, comprehend, and modify. The capacity to change something and observe how the change affects it is something the viruses cannot do, and arguably our best chance of "outsmarting" them so that when they naturally mutate into a dangerous form, we already have the tools in place to mitigate or disassemble the danger.
Qutebrowser is best, I pay for it voluntarily though it's free.

But Firefox is mostly independent eh? Did they stop taking google money yet?
In the same vein that Google are not a monopoly in search, Microsoft are not a monopoly in consumer and business OSes, Chrome is monopoly in browsers, etc.

Just because there is some existing competition which has a few percent marketshare and technically it's not a monopoly doesn't materially change anything besides a pro forma excuse. Which is why Google have been propping up Mozilla, they want the excuse "but technically there's another browser". However for consumers and the market it doesn't matter that technically there's an option that practically nobody uses.
> most middle “managers” are what Steve Jobs referred to as “bozos”.

I'll humbly submit that we should offer more grace to middle managers: these typically end up as the first few steps into management for ICs. The role is new, and they face difficulties managing up to upper management and clients, and down to their subordinates. In some orgs, I suspect they are not set up to succeed, but more to diffuse responsibility and hopefully compartmentalize some of the chaos.

That said, I've had a handful of [middle] managers who weren't fun to work under, and it was their personalities/vices combining with various organizational pathologies.

> We went out and hired a bunch of professional management; it didn’t work at all...they knew how to manage, but they didn’t know how to DO anything.

Leadership is instantiated within a business/cultural context. Without knowledge of that context, leaders will not be as effective as they could be. This makes the concept of a professional managerial class that purports to be able to swoop into any industry and "manage" rather ridiculous.
In theory, if the complexity of libraries stayed the same then pretty much the only advantage of not having recursive dependencies is a simpler license statement, and cargo-license should make that easy to automate.

In terms of checking over the code, cargo dependencies should result in less duplication and so fewer lines of code for the same level of functionality, and having it split into crates doesn’t obviously make it harder to review and Cargo.lock means the dependencies won’t change unexpectedly.

I do agree that there is a question about whether easy access to pulling in dependencies means libraries are more inclined to bloat and unnecessary complexity. But not having cargo dependencies at all would seem like a very big hammer to solve that problem. I’d much prefer to grow an ecosystem of minimal/simple libraries which don’t try to do everything and which limit their dependencies.
But I have a Librem Phone ...
ff: hey, we got themes!

me: `guiset gui none`
I believe TSMC is 50% owned by US companies.
I apologize for getting that wrong and also want to acknowledge that choice IS good, and I do agree that informed users can reasonably make that decision. I get a bit too "there's one best/right answer" on this topic, thanks for checking me a bit.
The website says

If you think this could be a good match, please send us an email with your CV/portfolio (past projects, Github profile) to info@localstack.cloud. We very much look forward to getting to know you!

which is a different e-mail address, so you could try that one instead.
Google Authenticator AFAIK doesn't even let you backup the codes. When your phone is lost or breaks, you have to reset every account by some other way.
You are. But benefit depends how your language is utilizing it. Do your function type check your struct input at compile time? Do your condition statement compiled error when you miss addressing a complete set of enum?
> Meta does have thousands of competent engineers, ensuring their data remains exactly where they want it to be

do they, aye?
https://www.datacenterknowledge.com/security/meta-probe-533-...
Found Elon's HN account.
> nothing but silent videos pretending to be gifs.

Actually a good use of tech, does google image search allow searching silent videos ?
The phrase "cutting off the supply of gifs to rivals" may be one of the dumbest things I've ever read in my life. I honestly can't believe someone wrote that in a legal opinion.

To me this smacks of our leaders, broadly, in the West being too old and too far removed from how people operate and live in the world today. This is like Lindsey Graham, who was once on the senate technology committee, admitting that he had never sent an email in 2015. Truly mind boggling.
My code is not on GitHub. If it's there, then someone copied it, and GitHub has no right to claim an extra license to that code.
>Europe has stated they want to wean themselves off of fossil fuel within a decade or so.

And to think that in the 80s Regan tried (but opposed by business) to impose sanctions on europe because of the USSR gas pipelines. What a circus. Europe got hooked on USSR gas in less than 20 years, and has been planning to wean off for 10.

Europe after WW2 relied on the US to defend against Russian aggression, and not even 30 years later, in a master class of cleverness played both sides by buying, and then becoming dependent, on Russian gas, only for the Russians to become aggressive again.

Where the cleverness falls apart is that cheap Russian gas was on bought time, and now all the europeans have to show for it is massive debt, expensive social programs, a lack-luster military and closed nuclear plants. Good job...
Yeah, I've seen middle management get cut faster than ICs at several companies. They're definitely not safe.

Executives and upper management? Yeah, they're likely the ones rubbing their hands in glee. You can hear it in interviews with several of them. "These people not wanting to come back to the office or 'quiet quitting' or jumping ship to get paid what they're worth are going to regret doing so when this recession hits." Inside their heads they're probably adding a 'Muahahaha' at the end of that.

But I think most middle managers are about as worried about their jobs as ICs are.
> When you fuck with nature, nature wins. Always.

There's, like, an entire human civilization on this planet right now that begs to differ.

Ever been to Vegas? Not a single thing natural about that place; it's been there over 100 years.
Other users also report their upload and download. Ergo, if you say you uploaded 10gig, it would show up in other users' download. This is tracked and checked, and you'll be kicked if you try to play the system this way.
i love kanye so much
I wouldn't put money on it being a failure. Meta seems to have figured out that a large potential market for VR is essentially the experience of just being in a room with other people. They are keeping their consumer gaming device around but with the Quest Pro it looks like they are putting their money into devices made specifically for business. I'd say it hinges more on their ability to deliver flawless multi-user interaction that can scale to accommodate dozens or even hundreds of simultaneous users in the same room. That is hard to do, but not impossible.
German cyber security chief fired over alleged Russia ties
Another user here pointed out that Authy uses a user provided password to encrypt the 2fa secrets on the server. That's definitely more secure than I had said, that's my mistake. (I still have my reservations, but that's getting too pedantic to matter here)
My perception was that most infants all over the world now receive shots like MMR, TDaP and IPV. The herd immunity gained through this exercise automatically makes us less susceptible to certain diseases which were widespread even 50-60 years ago, and in turn, more healthy, even at old age.
The job of the SEC is not tell if a stock price is too low or too high. The SEC’s can only protect investors by ensuring companies do not lie. At the moment the SEC starts to decide something is too expensive then the stock market effectively becomes socialism.

It should be everyone’s own resposibility to decide if they invest in something and also be prepared to take losses on that investing. There cannot be investing without the risk taking aspect. Whoever invested in Uber at too high valuation should bear the resposibility of losses of their investment.
This particular licensing term doesn't seem relevant to Copilot.
Something tells me you're not going to Qatar to attend the World Cup
The most banal reason is that groups of researchers generally coordinate to set up little bureaucratic power centers within the national research agencies to ensure themselves a steady stream of grants; this in turn allows them to get tenure at their universities (under 'publish or perish' which more practically means 'get your grant renewed or perish' and grant renewal relies on (1) a steady stream of publications and (2) ensuring the federal agency keeps earmarking funds for your area of research).

This is all perhaps well and good if you're fighting for funds for studying, say, childhood leukemia, but in this case it's been a major disaster and has almost certainly played a central role in this recent global pandemic. Oops.
You also need more than just a yes/no just for the authentication.

You should record the last successful count/time window to prevent code re-use. In the rare case that you expect clients to use devices to generate the codes that may be offline for a long time (or never connected dongles) you also need to compensate for personalized time drift for each device.
Not downvoting, in fact I agree with you. The speed at which these old claims were trotted out against Trump and any Republican right of Lindsay Graham has me thinking about their veracity in a new light.
difference being it is easier (especially if you've got some computer skills) to create a new company than a new university/research lab.

My personal "growth" trajectory will eventually entail starting my own shop, I suspect many other people will have similar paths.
All of this is arguments for why our understanding of science and the nature of the universe might differ. It can also explain how our mathematics might evolve very differently and we will have made different mathematical discoveries and do math in very different ways (all of which I agree are very likely). However it doesn't explain how an alien race will look at one of our mathematical proofs that we have proven True and be able to prove that it is False.
I kind of like the colourways, but the way they present it is quite a bit over the top. Just call it themes and be done with it.
> such transfer would never take place under natural conditions

How confident are we that is the case?

HIV resulted from the fusion of, IIRC, three virii in a host animal.

The odds of any single such event are vanishingly small, but that stacks against how many cells per second a virus can infect, worldwide. Life is a frightening goodness-of-fit optimizer at the scale of microorganization.
I guess that makes some sense if you were already running both operating systems in production. Maintaining an alternative stack would be almost twice the work otherwise.
I’m not sure what the three are, but I was able to use Authy for all of my TOTP codes before I moved them all to the iOS/macOS keychain which now has TOTP support combined with autofill into the TOTP field in Safari.

But in any case, what I wanted to let you know is that you can convert the Symantec VIP token into a standard TOTP token.

https://github.com/dlenski/python-vipaccess
> This. I have no idea why people underestimate the conceptual power of ADTs.

Blub. It's one of those conceptual steps which seems to have no benefit until it actually clicks and you realise how much it opens or does. Being a tremendously good educator is necessary to make people take that step without experience.
> Rust will never make it to the frontend at scale. There is a reason why JS was invented. People doing frontend dev don't want to bother with slow compile time or 3 strings implementation.

> And the fast argument is missleading at best, every modern language are "fast" enough, if Amazon and Google runs Java that mean it's fast enough for 99% of workload.

IMO, it really depends on the workload.

For the stuff that JS is being used for today, you're probably right.

But say someone wanted to implement a CAD program in the browser. I'd say, JS is probably inadequate for that[1]. In that case, performance matters more than for a chat app.

If you look at web development as a spectrum from webpage+ to high performance application, Javascript is a good fit for a large section of that spectrum. But probably not all of it.

---

1. I suppose it depends on the complexity of what you want to display, but "regular" local applications struggle to display extremely complex models today. I'd imagine putting the software in the browser would only introduce additional performance problems.
> Well, there have been skeptics that said that PoS is more prone to centralized control than PoW. Seems like they've been right.

Except nothing that happen actually proves their point. PoW had "luxury" of being concentrated outside of US and yet, miners censored.

Also, whole story is barely news. Tornado Cash txs don't get included in some blocks. Which means that they have to wait 30 seconds instead of 15 seconds. Yeah, the sky is falling.

Please note that both mev-boost authors and core-devs are aligned w.r.t censorship resistance being the most important feature of Ethereum. They all work to assure that even such non-events like this are really hard to cause.
> With more than 25 photos and 90 likes every second

I was very confused as these figures seemed very low for Instagrams scale. Took me a while to realise this was from 2012.
I did some ADA in the past and yes, it is a nice language, but it lacks the modernity and a dynamic community like Rust.
ADA did received some nice update to its specification, but, just like C++, it struggle / cannot really fit the latest innovation in programming language that easily.
And to be fair, it is fine. ADA is very much a "committee" language (its spec are ISO/IEC) instead of a "community" language (all the spec and rfc of Rust are on github and anyone can easily discuss them).
This makes it so that ADA doesn't get the attention, and the rapidity of innovation, that a language like Rust does, but ADA is mostly made for program that will need to be maintained in critical operations for decades with the code being maintainable and compilable far into the future.
It wasnt exactly lacking but immediately after COVID really started all non-critical office visits were cancelled. Lots of elective and non-critical outpatient procedures were canceled and impossible to reschedule for months. Even now it can take months to schedule a regular checkup. Staffing issues and long waits at the emergency room are still common. If you’re about to die there’s not going to be a wait.

A lot of people, including myself, waited a long time for our yearly (or bi yearly if you’re older) visit. I’m sure a lot of older people could have done some preventative stuff to prevent a heart attack. Like getting a stint put in if they had an irregular heart beat, had this happened to a family member in their late 80s.
Um no.

I'm so over this deconstructionist "reality is your perception" line.

Numbers are a thing. In fact they're one of the most basic observable things about the universe. And the concept if a number holds up all the way down to the quantum level. I.e. space and time are discrete and therefore space and time can both be COUNTED. Counting is literally one of the most basic and early achievements of human cognition and were gonna act like we just made it up?

Absolute silliness.
> UX professionals decided to take on a massive overhaul just for fun.

I’d say they were doing it because they were getting paid for doing it. But that doesn’t mean it actually needed doing. What I have found in tech especially is that a product may get to a point where it’s meeting all its functional goals and really only needs small tweaks and fixes. But this is at odds with company growth. I’m not saying this is the case here but it’s prevalent in this industry.
Why? The only difficult thing I could see would be securely distributing the secret key.
Well I didn’t spell out the full drama but:

1. It’s been more than a year and I’ve beat myself up, had coaching, and assumed I was the problem

2. This boss / situation is the outlier from almost every other role and I’ve decided to stop beating myself up about it (for context I’m mid career, worked at half a dozen places)

3. I have complete empathy for the boss. This situation is just different from past roles. They just need someone else in the role.

I admit, perhaps I failed, but life is short and I can keep beating my head against a wall trying to “grow” or move on.
The TOTP secrets are encrypted with a passprhase locally. You need the phone number to download the encrypted secrets but then need to use your passphrase to decrypt the restored backup locally.
No the cold war required a bipolar world for it's stability with MAD being the keystone that held the arch together. That was the only way for it to be stable and why we didn't have a massive war, with all actions being confined to small proxy wars.

We are in a multi-polar world now, Trump pointed out and many people are starting to agree, about whether or not the US really should be so closely aligned with Europe, NATO will probably stick around but it might not be enough. Meanwhile India has happily agreed to buy all the Russian oil that Europe isn't, which is done to spit in the face of the sanctions imposed on Russia. The mutli-polar world right now is US, India, China, EU, and Russia which is still a regional power, each of which have different interests.

The problem is China and the EU are facing huge demographic shortfalls in the next 30 years that will pose existential threats to their society, Russia is in the same boat. The EU is having this problem addressed to a certain extent through immigration but the nationalistic racist attitudes of the Chinese people make this a less palatable option for them. It is likely that the demographic cliff is going to continue to stress Chinese society to the breaking point until it snaps and begins an international incident that could quickly escalate to a global war. The best thing the US could do to preserve it's interests is do whatever we need to to schmooze up to India and cement an alliance with them, as they represent the best regional challenger to China and if they end up on the side of the CCP will cause huge problems as at that point a Bejing-Delhi alliance will be able to exert control over 1/3 > of the world's population. (This assumes they will be able to control all of Southeast Asia through soft and hard power)
What if I prefer Firstname in casual settings, Mr. Lastname in fancy settings, and Firstname Lastname as a fallback when the setting isn't so obvious? For people with such preferences, a schema of prefix/first/last actually does make more sense than a schema of legal/preferred.

But overall, for global optimization, I'm a fan of legal/preferred.
Cost... both to design for the node and to manufacture on it. A lot of products don't need the latest and greatest process node, they just need economical capacity.
You shouldn’t ever need to deal with OsString itself on wasm32-unknown-unknown, since that target basically just doesn’t cover functionality that needs it, but the actual situation is genuinely worse than OsString: Rust insists on valid Unicode (as is right and proper), but the web suffers from the affliction of ill-formed UTF-16. If you blindly convert from JavaScript strings to Rust strings, you will encounter data and functionality loss in a few situations, in practice always involving IME (or similar) text entry on Windows. The first bug I filed about this: https://github.com/Pauan/rust-dominator/issues/10, and you can follow further links if you’re interested. IE and Edge used to be largely immune to this, but IE is dead and I suppose Edge will have regressed in this way with the Chromium migration, since the bug filed in Chromium a few years ago <https://bugs.chromium.org/p/chromium/issues/detail?id=949056> has languished. (Firefox too, with <https://bugzilla.mozilla.org/show_bug.cgi?id=1541349>.) In the worst-case scenario, careless use like was the case in rust-dominator will mean that some users typing with particular software in a language that’s outside the Basic Multilingual Plane will not be able to type anything.
It seems CMA is also on track to block Microsoft's acquisition of Activision, which would wreak havoc into Xbox's plans.
You don't need both Google and Microsoft Authenticators though, both of them support TOTP. But, yeah, there are some places that require as separate app just for them, like Steam, eBay, Twitch and Blizzard, which is annoying.
They may be neutral, but China doesn't care much. I've personally seen in cca 2014 in Philippine's Palawan islands (near El Nido, great diving place btw) big modern military ship plus few smaller that were there stationed semi-permanently. When I checked online back then there were already some provocations from Chinese side happening so this was the response.
Yeah, companies like Snapchat and Roku are down close to 90% because of a narrative. The growth slowdown is real
Xi is not rational. His isolationist policies and "return to Mao-style communism" have killed China's economy. The current zero-COVID policy is the icing on the cake: It runs completely counter to scientific thought and is impossible to achieve for 1.2 billion people. He's painted himself into a corner and is unwilling to budge (how can the Premier be wrong?), and is doing tremendous damage to China in the process.
Everyone is talking about fentanyl. The problem is that overdoses aren't "excess deaths", those show up in hospitals as real data. And they aren't enough to explain the kind of numbers we saw with covid. Surely fentanyl overdoses are a problem, and they get a bunch of coverage. But they absolutely aren't "the real story" behind the covid excess death numbers; that's just your priors arguing in your head.
If we can conceive of shapeless blobs living in a liquid then surely they can conceive of being like us.