skysight-inc/HackerNews huggingface dataset:
It doesn't appear to be parsing at all. It's just looking for patterns.

If you look at languages.json in RulesEngine/Resources, files with the extension .html (and some others) are recognized as "html", with type "code":

{
"name": "html",
"extensions": [ ".html", ".htm", ".cshtml", ".tmpl" ],
"type": "code"
},

This sets the scope for the patterns in AppInspector/rules/default; e.g.,

{
"name": "Content Management Framework: Wordpress",
"id": "AI021200",
"description": "Development Framework: Wordpress",
"applies_to": [ "javascript", "html" ],
"tags": [ "Framework.CMS.Wordpress" ],
"severity": "moderate",
"patterns": [
{
"pattern": "wordpress",
"type": "string",
"scopes": [ "code", "comment" ],
"modifiers": [ "i" ],
"confidence": "high"
}
]
},

This seems like it would be prone to a lot of false positives, but I haven't tried the tool.
> We urge you to respect the freedom and privacy of your users – not simply strong-arm them into the newest Windows version.

The software is 10 years old, MS bends over backwards to maintain backwards compatibility, and they gave Windows 10 upgrades to Windows 7 users.
Yes, using WAL. I tuned all of the settings that i could at the time.
The Community Edition is open source, though the Enterprise Edition has some proprietary extensions.

It’s admittedly not at all obvious from the repo name, but the following is the top level repo for Couchbase Server (which uses Google’s `repo` tool): https://github.com/couchbase/manifest
Just in case any of you are wondering who Ross is ...

He created the Silk Road, a popular online exchange for illegal drugs, and prosecutors alleged that he paid $730K to try to kill six people. (He was not, however, charged with attempted murder. Instead, he was charged and convicted of money laundering and drug offenses.)

https://en.wikipedia.org/wiki/Ross_Ulbricht

EDIT: I just want to make completely clear that I didn't post this info in an effort to discredit his essay's argument, which is that the U.S. prison system is in need of drastic reform. I agree wholeheartedly with that. I just wanted to give some context, because I didn't know who he was, and the "Who is Ross?" section of the freeross.org site makes it seem like he's an angelic Boy Scout philanthropist sweetheart.
No, they used it first and Bezos named his company after the river. He could have chosen another name instead of using one that was already taken. He's the one that caused a name collision so he's the one that should suffer from it.
Interestingly, "read the kernel’s process table directly to make a list of running programs" is exactly how the "ps" command worked in the distant past. It's a bit hard to find information about this nowadays, but I could find a couple of SE answers (https://unix.stackexchange.com/a/340893 and https://unix.stackexchange.com/a/511530) which mention this fact.
I wonder if they could marry this with ILSpy [1]. Basically point it at a compiled program, de-compile it, then analyze the decompiled code to see what it's doing. Might be useful in malware analysis and other areas.

[1]: https://github.com/icsharpcode/ILSpy
Ask HN: What are your best learning methods/hacks/tips?
Then you lose the ability to run things like DAWs and Adobe products. I've used Linux since 1994, but it just doesn't have the commercial software support necessary to make it a serious desktop contender, which is unfortunate.
^ this. MDMA is kind of like a psychedelic, but it's more of an emotional psychedelic. The first time I tried it, I thought "wow this would be an incredible tool for therapy". But with MDMA it's critical to go to a reputable source, do not buy it through an illicit trade (ecstasy).

edit: some other advice for MDMA. Do it with someone you trust, preferably someone who has done it before, don't do it in public, and make sure you don't have access to phones or any other means to contact people.
Which makes sense: it needs to load firmware/EFI from somewhere; and in a setup where you expect your own SSD to be a fixed resource in the system, there's little reason to have separate BIOS flash.
Word is the killer app for most white collar businesses. Publisher is the killer app for many non-profits and community organizations. Many companies run on Access.

Windows supports more hardware than either of its competitors, from the very cheap commodity crap to the crushingly expensive and proprietary. Hardware usually just works with Windows, and even if it doesn't, it's an automatic driver download away to get it working.

It's also easier to use than Linux and it's cheaper to use and easier to administer than MacOS.
It's really unfortunate there are even Iranian athletes who can't get visas to come here and compete.
It is indeed okay. Phenomena that result in the market being more competitive are good, phenomena that result in the market being oligopolistic are bad.
Unleash the power of Vim Macros in 4 minutes
I was (vaguely) aware of that but what difference does it make here?
Aye, it's SATA. PC is from 2013, old badly, planning this year to make a new one. But it covered me in past 7 years quite nicely. I made a quick math with my wife when she complained why I need a new one since this one is still good. Calculated that in past 7 years she paid 20% more in her cell phone subscription then me in buying/upgrading the PC all these years. And it was the work horse with at least 10 hours daily running, average of 16 and plenty of times stayed on for days.
Sysadmin tools: How to use iptables
I had a GM era SAAB (9-3) and I loved it. I was looking for something fun, relatively inexpensive and different. It satisfied all of those.

I can see how GM's changes were a turn off for traditional SAAB buyers but I can also understand that GM was trying to make it profitable and that means some things had to change. It's too bad they couldn't make it work.

Side note: many of the SAAB engineers ended up at Volvo and I love how Volvo now puts the ignition between the seats. Now they need "night panel" mode. :)
definitely not everyone.
You know you're on ycombinator, right? It seems perfectly natural to want to commercialize something people want.
Spotify's biggest impact is legal "free" music. It's not even a technological innovation (in fact, their technology sucks - I can't even reorder or duplicate playlists!), it's just a legal innovation (or "innovation", as Uber would say).
But I think the worst scammers are those that operate in a semi-legit way. They're actually out there, in person, trying to raise money for some product which may work on a fundamental level, but that does not mater, as they have no plans on developing anything. Maybe they have legit experience from before, and even have serious people that can vouch for them, if needed.

They put together startups, have a couple of good months, but then go back to regular programming of funneling VC money into their own account, while starving out their startup.

Then when the startup goes under, they disappear, only to resurface a year or two later somewhere else. Probably with a new name or alias.

They almost never go for the real big fish / tens of millions, or even millions - but just enough to live a cushy and flashy lifestyle. Nice leased penthouse, cars, etc.
I use SumatraPDF on linux with wine. If you just want a good reader nothing comes close, sadly.
> Why would you expect downvotes on ZH?

For one thing HN doesn't allow ZeroHedge on the frontpage, it's banned from getting there. I suspect posted links to ZeroHedge get auto killed as well at this point (haven't checked lately, however it used to be the case).

It's considered a non-reputable source, filled with propaganda and comically absurd pessimism about the world ending every other day of the week (they've been wrong about the last ten years to such an extreme degree that they should shut down the entire site if they had a conscience). It also posts very pro-Russia propoganda on an almost daily basis. Their bias is interesting, although most sites have one; theirs just happens to be Russian in nature (not a great bias for an economic / business site, given Russia has no functioning market economy, a dictatorship, and has seen zero net economic growth for a decade plus).

Every great once in a while they post an article that is actually interesting, correct and outside of the normal channels of what the mainstream sites are willing to say. They publish a few of those per week, you have to dig through the trash to get to them.
Not if it's a good enough trade deal.

The US will be looking for the UK to pay US-style inflated prices for pharmaceuticals, change food safety standards to accept subsidised US farm produce, and install an ISDS court to protect corporations' anticipated future profits.

Compared to these, banning Huawei - which isn't even a British company - would be a trivial concession.
I'm working on a software stack that would let you plug a hard drive into an old Android phone and access the files over the cloud in a Google Drive type fashion. My patchbay[0] service is a step in that direction.

[0] https://patchbay.pub
In my experience the hallucinogenic effects are diminished but for me at least I still get a nice feeling of calm and well being. Usually the visuals are limited to a "shimmery" effect on clouds and trees, sometimes with some color but very mellow.

This is not medical advice. There are cases of serotonin syndrome from the combination of SSRIs and mushrooms. Use caution.
American fuzzy lop – a security-oriented fuzzer
I think the idea that finding ways of working with threads (and ownership) with more safety while minimizing performance impact is a healthy side effect of rust.

I think though that rust is one approach of many and that they aren't orthogonal.

I personally think libraries for multi threading on top of rust or C++ are necessary to really nail the problem down. Even async and await are too granular and difficult to get right in my opinion.

I think regardless of the language, queues of data chunks (not just tasks) combined with solid concurrent data structures will go a very long way. Rust may help get those libraries and data structures to be more correct with less effort, but ultimately getting threading right at the lower level just isn't practical for most programmers most of the time, and I say this as someone confident in their parallel programming skills.
Baidu's realtime map has a higher count this, though in Chinese. It seems to be more up to date, with detailed patient info sometimes included in the news tab.

https://voice.baidu.com/act/newpneumonia/newpneumonia
Cross platform in the sense of tablet/phone/computer integration IF you're already invested in the Apple ecosystem.

But yeah AFAIK it's apple only.
Multi-cluster Istio service mesh
Sure, only use threads when you actually need them. The cases where you actually need them are quite numerous, though. E.g., you have a library that connects to something over the network but the library is blocking. Or you need to respond to events quickly but for some events you need expensive calculations. If you can get away with copying data to the threads so shared state is minimized this will help. The general principle is to make things as easy as possible instead of as difficult as possible.
U.S. Accuses Harvard Scientist of Concealing Chinese Funding
Can you please share those tweets? IAM is kind of a critical piece in AWS Security :) What comes to mind is perhaps people recommending to use IAM Roles instead of IAM Users. (which has a lot of benefits, these are temporary credentials and you don't need to pass things as env vars / config files etc, lowers the risk of accidentally pushing creds to source code etc)
I had a ring for one week. After about 24hrs of ridiculous setup, constant notifications when I left the house or anything happened inside the detection zone even shadows, and realizing I didn’t coming home to look into a camera that was constantly uploading to someone’s computer I’ll never be allowed to access - I put that POS back in the box and returned it.

Nice idea in theory, exploitive data mine in practice. I hate it.
I do not agree with this sentiment but that's okay. As I said, in my experience, what you're saying is absolutely untrue, but I'm speaking purely from my own experience.
It would be a one-off fee, but you would charge more.

You could also charge a fee for doing a credit check on the other side.
> Like isn't streaming music based on preferences pretty easy?

No, I don't think so.

Millions upon millions have been spent pouring money into recommendation engines (which is an advanced "based on preferences"). Companies like Netflix know that they can keep customers that much longer if they're good at finding the needles in the haystack for each specific customer, and they famously offered a million-dollar bounty to anyone that could improve their algorithm by even a few percentage points (and, just as famously, everyone recognized that it would be worth far more than a million dollars to them).

Pandora tried to do it by creating a "music genome" for every single song in its database, with dozens of attributes per song, thus linking disparate songs though much more than just "genre."

Nowadays it's pretty much "throw a massive database at a ML system, and pump out 'people who like these 10 songs tend to like this song'", but for a long time those systems were crappy. And, even now, its hard for those systems to find a balance between showing you something that matches what you've listened to, and playing you ten nearly-identical songs in a row.
That's a great idea! I would read the heck out of that.
I recall reading that China went with CDMA (which is Qualcomm intellectual property) as a condition on entering the WTO, as mandated to them by the United States.

So they were allowed to join the WTO, and Qualcomm made billions in IP royalties.

I don’t have the evidence at hand. Perhaps someone else can find it.
The literal definition of QE, AFAIK, is "injecting money supply into the market." What the Fed is doing here is swapping one risk free asset for another. These are very different. There was a hiccup in the repo market, so the Fed is "buying" extremely short term (e.g., O/N repo) instruments. There is no net injection into the market. In contrast, during actual QE, the Fed was buying across the curve so that actually available interest rates for economic actors were depressed (again across the curve), encouraging economic activity. The effect is VERY different. The effect was supercharged with operation twist but that is another story.
> Yet threads make backtraces and control flow much less useful, since they miss out important context from concurrent threads.

I mean, when a program panics, you get a stacktrace from (a consistent snapshot of) all the threads, so what's the problem?
For those of you wanting to pick or grow your own mushrooms, I suggest watching Identifying North American Psilocybin Species by Alan Rockefeller.[1] He's immensely knowledgeable on this subject, and covers some interesting legal issues as well.

Also, keep an eye out for upcoming legislation on legalizing psilocybin and/or mushrooms in your local area. Vote and put pressure on your politicians to make this happen, if you believe it should.

To have the best, most constructive experience, I'd strongly recommend reading The Psychedelic Explorer's Guide by James Fadiman.[2]

No brief summary can do this book or the subject of having a good trip justice, but at the very least be sure to have an experienced person you like and trust sit with you during the entire time you're on the substance, and try to carefully prepare for the experience and don't just do it on a whim at a party or a concert. Though such settings could work out, you will maximize your chance of having a good experience by choosing a safe, quiet space, where you won't be disturbed.

Be sure you don't have any other responsibilities for the day of the trip and perhaps the day after as well. Eat lightly the day before and day of the trip. Some people like to fast a bit, though make sure to stay hydrated. Have a clear, specific intention for the trip, and try to take something you've learned from the trip and make it a concrete part of your life afterwards. Depending on what you want to get out of the experience, you might also want to have some pictures of people you care about and maybe a rose to look at near the peak of the trip. There's a lot more to be said about this, and I'd really recommend you read the guide for more. The Secret Chief Revealed, about an underground psychedelic therapist, is another great resource.[3]

If it is going to be your first time, make it really special. You'll never have a first time with this substance again, and you really don't want to squander the opportunity. Some people spend a lot of time later in life chasing the magic of that first time, and it's never the same.

[1] - https://www.youtube.com/watch?v=VcL-7u80kjs

[2] - https://www.amazon.com/Psychedelic-Explorers-Guide-Therapeut...

[3] - https://www.amazon.com/Secret-Chief-Conversations-Undergroun...
You can now bother Google for tech support with AndroidHelp
Parallel N64 with RSP Dynarec – RetroArch – Fastest LLE N64 Emulator to Date
I am a law abiding citizen and a nudist, why should I care?
Coq is a Lean Typechecker
Read the blog article here -
https://www.libretro.com/index.php/parallel-n64-with-paralle...
> Can’t have weak market before that

That is only true when the President has an (R) next to his name. (D)-type Presidents do not enjoy this privilege from the Fed.
Right. So why dish out spectrum and public space for cells to the same players without fixing the existing issues?
There is a big difference between saying Ring Doorbell leaks user data, and Ring App leaks user data.

Even though BBC purposefully puts the wrong thing in the title for clicks, I would hope that HN users would pay more attention to detail.

In other news, smartphones spy on you.
You can grow your own and many people do. In fact I would guess that most people grow them or get them from acquaintances who do.

But I would very much recommend that anyone who tries this is very well informed on the subject at least. It is a process which requires care, high degree of hygiene and experience so the product doesn't get contaminated.

At best one would not only inform themselves rigorously but also consult an experienced grower during and after the process.
451: Unavailable

The page you are attempting to access is not available in your country.
Trees planted in the US and EU generally result in darkening the Earth's albedo, meaning that the Earth absorbs more solar energy than it otherwise would, resulting in increased warming.

Trees planted in the tropical climates, especially in those areas where trees were removed, generally have the opposite effect because they encourage cloud formation, lightening the earth's albedo and reflecting more solar energy away from the planet.
But again, this just acknowledges reality. You only have a finite number of employees. If you aren't devoting all of them to reliability and stability, you're making a trade off with feature velocity.

Being aware of that trade off is more organizationally mature than not

> What I mean is that when downtime happens, nobody at the company should be think "this is fine". They should be very concerned and engaging in urgent and speedy resolution to the problem.

If you think this, you've entirely misunderstood. Error budgets aren't about outages when they happen. Individual outages should be dealt with quickly and without delay. But when making planning decisions for the next year or quarter, that's when error budgets matter.
> the things that go on behind closed doors

"House parties"? That happens to be something I hear about a lot from young Iranians that come to the US for school. My understanding is "house parties" are essentially the only time young men/women can socialize together. I also understand sometimes even alcohol will appear at house parties which again I understand to be at least taboo if not outright illegal generally.
I can't believe I'm the first to metion LiquidText! It's the reason I bought an iPad pro, and more than a year later I don't regret it.

If you have to collect information from a bunch of disparate documents, make comments, and share your collected thoughts, LiquidText is the absolute best.

https://apps.apple.com/us/app/liquidtext/id922765270
Try out a money making betting system for product ideas
The new MacBook Pro is pretty powerful. I have four monitors hooked to mine and the machine is much faster than my five-year-old Hackintosh. I could build a new Hackintosh that would have somewhat better performance than the MacBook, but for me the difference is no longer worth it, so like the previous commenter I'm probably done with building Hackintoshes for now.
> There is also a bit of schizophrenia going on, with the "new" ideas and the "old" ideas clashing in some places. For example, they claim that you can run D without a GC (the new), but apparently a good chunk of the stdlib requires the GC (the old), so you're stuck.

AFAIK this is somewhat intentional; they don't want to make any hard compatibility breaks, so there's a long deprecation period for any 'old' idea. There's also a lack of manpower to renovate libraries; e.g. there's no good xml library.

Regarding GC, it's IMO not a huge problem. The GC is really not a problem for most applications, and for those where it is, you can simply avoid GC allocations in inner loops (GC only runs when you allocate from it).
Just FYI, repairing flat panel TVs by replacing the boards is fairly easy. Sometimes it's even an upgrade if you find a newer revision of the same board.

The boards tend to be used in multiple models of TV, so they're easier to find than you might think.
Seems like this is not necessarily Tesla exclusive and a projector could fool any system based on "classic" 2D vision until they're smart enough to put human like processing power behind those images.

Even people can fall for a "Wiley E. Coyote" type gag where they drive into a painting of a tunnel entrance on a wall [0]. Cars (computers in general) are nowhere near smart enough to deal with such tricks. But it does mean that the bar is significantly lowered for tricking cars in self-driving mode and causing crashes or at the very least some serious disturbance.

[0] https://www.insideedition.com/headlines/15350-street-artist-...
I've noticed (because I once read somewhere) that driving 5-10mph _over_ the limit results in the best timing. This is in both Pennsylvania and Los Angeles.
> If it can solve global warming

Not to be pedantic, but nothing is going to solve it. We're talking about efforts to mitigate it.
The user data for Google is just crashlytics. Saved a few people a click.
Random: Erstwhile Nintendo Rival Atari Is Building a Hotel, Because Why Not
I’d agree with you, but then you hand-waved past forcing Hauwei to open source their IP.
Proper link if you aren’t in to clickbait: https://www.sciencedirect.com/science/article/pii/S004896972...!

> Using a retrospective prediction from a regression models, we estimate an 8.3% increase in external carapace dissolution over the last two decades and identified a set of affected OA-related sublethal pathways to inform future risk assessment studies of Dungeness crabs.

Bad, but it seems no one actually measured this decades ago and it would be nice to have that data vs retrospective prediction. I believe them of course, it would just be nice to have real data if they’re claiming 8.3% estimation and not a range with expected looser precision for their sampling efforts.

Edit: for clarity
Automatically Schedule Emails on MailChimp with RSS and AWS Lambda
> This means insisting on open source systems and then conducting thorough audits.

That would be nice, and in any case I'm a big believer in protecting your information at the protocol level instead of trusting this or that foreign government.

But once you've put that much effort into vetting it, aren't you pretty close to being able to roll your own on commodity hardware?