skysight-inc/HackerNews huggingface dataset:
I use Violentmonkey because unlike Tampermonkey, it’s open source, and unlike Greasemonkey, it supports old user scripts that use the synchronous `GM_…` functions such as `GM_getValue` and `GM_setValue`.

Greasemonkey 4, released in 2017, introduced a new asynchronous API `GM.…` (e.g. `GM.getValue`), and dropped support for the equivalent synchronous `GM_…` functions: https://www.greasespot.net/2017/09/greasemonkey-4-for-script.... There also used to be some functions such as `GM_registerMenuCommand` that Greasemonkey 4 provided no equivalent to. However, it looks like Greasemonkey’s polyfill (https://github.com/greasemonkey/gm4-polyfill) has expanded its support for the old `GM_…` functions since I last checked, so maybe migrating old scripts I use to Greasemonkey 4’s new API won’t be as difficult and limiting as the last time I considered it. I probably won’t bother unless I have a reason to switch away from Violentmonkey, though.

The user script I use that still uses the old APIs is Webcomic Reader, if you’re wondering. It preloads previous and next comics to speed up browsing, and restyles sites to show hidden per-comic bonuses like title text. It’s at https://github.com/anka-213/webcomic_reader, and its issue about potential Greasemonkey migration is at https://github.com/anka-213/webcomic_reader/issues/130.
Thanks a lot. The article had also a link to the paper, which I read. It's for sure interesting that with SARS the results were inconsistent, as opposed to flu pandemics.
My guess would be drainage. Plants don't like usually like wet feet. Potatoes are more tolerant of this than others but that doesn't make it ideal.
GETPing – The Simplest Notification API
Good question. I has been suggested to use the major version number in the future. Which would mean in May we would see the release of Perl 32.
> Ubuntu got worse at 18.04. Logging in on desktop now requires "swiping up" with the mouse to get the password box.

You can also just start typing the password if you want to unlock the machine.
GETPing is the notification API. It will trigger an email, sms or slack notification on a simple GET request.

Since the API is dead simple, you can easily append it to your Linux commands and monitor systemd services, get notified when your cron jobs is triggered or monitor custom events from your app. You can even put it in the html and get notified when your page is hit or when your email gets read.
Interesting response to this by UK ISP Andrews & Arnold: https://www.aa.net.uk/etc/news/bgp-and-rpki/
It's not just about the time the operation takes, it's about reliability. Even if sending an email synchronously doesn't usually take more than a few milliseconds, you still need to handle cases like servers failing in the middle of the request, temporary upstream unavailability, some expired API, account limits reached, etc...

Honestly, I think that mostly anything that doesn't depend directly in the current state of your infrastructure should be done asynchronously. I've had a lot of issues with systems that start up doing everything synchronously: you'll probably need to refactor it to be asynchronous in emergency mode during a crisis.
That’s simple. If you are trying to fool someone....

“My internet speed is very low. I know the video is choppy”.
Generators will likely be a new paradigm. They are too powerful for senior devs to ignore. And so the junior devs will be taught. Like promises were taught.
Their membership has dwindled as their reactionary values have gone out of fashion.
The pay thing is pretty interesting. Whilst it's really obvious here (and often taken advantage of), I think you find it everywhere people love something.

I think most people start drawing because something in them won't let them stop. They genuinely love it. Same with making music, etc etc. That moment you realise someone will pay you to do something you love (and will do for free) is completely mind blowing. Unfortunately you also end up wrestling with the "I'd do this for free, so how little will I accept," knowing full well that there's a kid down the street who draws really well and lives with their parents and to whom £75 is the equivalent to 2 days stacking shelves in a supermarket...

I found this with web stuff, especially early in my career (and before templates were everywhere). I really needed the money, but "the son of my friend's dentist will do it for £XYZ" and you end up working for less than minimum wage because you're not old enough to know better - plus you tell yourself you "love doing it enough" to do it free anyway, and it's "all experience".
Wow ... this is fascist kind of management ... it was when the company I worked at started blocking IT job search websites and I knew it was time to leave.
Self-hurting is a urban legend afaik and was always (eg putting horse hair in the wound to make it gape wider is such a legend).
The number of fencing fraternities is lower today, many stopped it between 1945 and 1970, and also back then many non-frat-guys practiced fencing. Also the number of fights per person was higher back then.
> link was blocked for me

That will be because you are using 1.1.1.1 for your DNS: archive.org has decided to give a bung IP to CloudFlare just because... (personally I think CloudFlare are doing the right thing here - protecting your privacy - unfortunately archive disagree. I think archive are wrong since DNS is often cached which is much the same).
NUC dealers are getting incentives from Intel to not build versions of AMD
The Future Authoring Program – Jordan B. Peterson
How to Evaluate “Promising” Coronavirus Treatments Like a Scientist
During the Amiga times, users would scold you for writing a dialog prompt with non-standard placement of buttons.
Checking the result is just doing a SELECT in your database.
> 1. Can multiline strings be indented, with the indentation stripped out?

Not at present, though this would be a nice feature to have. Perhaps open an issue on the issue tracker if you have ideas for syntax or behaviour.

> 2. Why do floats have their own operators?

Gleam's functions and operators are monomorphic- they take precisely 1 datatype. There is no overloading, interfaces or type classes which would be used to have operators work on Ints and Floats but no other type.

We may support this kind of polymorphism later, though we want to ensure the design is right rather than rushing to any particular solution.

> 3. What's the rationale for lists and tuples being different, and not just allowing lists to include different types?

Type safe lists of arbitrary lengths that contain multiple types are difficult to work with, typically a single type is much easier to work with and covers the vast majority of use cases. If you wish to store multiple types in a list you would wrap them in a custom type (a tagged union) which would give the programmer an easy way to defferentiate between the different values in the list.

> 4. How are module paths resolved?

There is a global module namespace. The `src` and `test` directories are considered the root of the namespace, and the file path relative to there dictates the module path. Some more info can be found here: https://gleam.run/tour/modules.html

> 5. Pattern matching looks great!

Thank you! It's one of Erlang's best features.

> 6. Function argument labeling looks great, I wish all languages did this!

We got the idea from Swift! All the credit to them.

> 7. Type system looks simple but capable, but in the User example it looks like the LoggedIn constructor isn't namespaced to User, so what happens if another type has the same constructor name? Conflict?

Yes, you cannot define two constructors (or functions, or types) with the name module with the same name.

> On the same note, can you extend custom types after declaration, by adding constructors? (A little like Clojure protocols)
> 8. Can functions be overloaded, so you can provide multiple implementations for different argument signatures?
> 9. Can you implement custom operators, so you can for example `+` custom types together?

No, these features are not currently supported. We may add something in this direction at a later date if we have a good proposal that fits well with the languaage and provides clear benefits.

> I too miss the concurrency aspects given it's built on Erlang.

They are still there! They're just libraries rather than having dedicated syntax.

https://github.com/gleam-experiments/otp_agent
https://github.com/gleam-experiments/otp_process

> Great work, definitely going to follow this!

Thank you
Probably greenhouse grown strawberries, which imho are bland due to the medium they're grown in. But some varieties of strawberries do seem to need fairly high heat.

But having been raised in central Alberta, which is fairly far north (lattitude 53), I tend to agree with this about flavour and northern climates. Higher lattitudes seem to produce more intense or nuanced berry flavours. One thing I've heard mentioned is that cool nights are important for berry flavour development; here in Ontario in the high humid summer heat (great lakes basin) it doesn't really cool down much at night.

Things like carrot flavours are likely explained more by the mineral composition of the soils, which haven't been farmed as much and are younger soils.
(After re-reading my own comment, I don't think I'm particularly rebuking what you said, it's turned into a "I hate computers" vent :-))

In my eyes, how Windows and Linux deal with third party software is identical...

The Windows model forever has been "you just double click an .exe or an .msi and it runs".

i.e. outside of stuff published on Windows Store (which many developers will not do), it's down to the developer to:

- Distribute their software and provide an update mechanism (download an exe? Windows Store? chocolatey? Steam / epic games launcher / origin / uplay? jetbrains toolbox? adobe software updater?)

- Deal with the many different environments (i686 vs x84, Windows XP / 7 / 8 / 10 / 10 Home / 10 Pro / 10 Pro N* / 10 Basic Server Education Edition N RT for phones)

- (Probably) bundle their software with the exact version of the libraries they're using (looking at you, "Installing Microsoft VC Redist" and DirectX, every single game that I run), because any in /system32 might be the "wrong" ones

* 10 Pro N = "without media essentials" or something, which I stupidly chose last time I forked out the money for a Windows license. Every time there's a new major Windows update (assuming it doesn't repeatedly fail to update, forcing me to reinstall from scratch,) I need to go and reinstall the Media Feature Pack so Rockstar Launcher and GTAV and $software don't all fail to launch with an obscure error code that means one of 100 things that some corporate web forum rep will not have the answer to... Because none of them put a .log file somewhere ...

So the fact that stuff "just runs" better on Win is more to do with third party developer effort rather than a failing of the OS and distribution. There's no incentive for microsoft to make it work better either, because it's Not Their Problem. A whole slew of software runs like bullshit on Windows too, but we just kind of accept it as it is...

Yet me running a program by installing Wine and double clicking the .exe, or via mono, or running one via a snap image, or an .AppImage, or a docker image (those 3 are essentially containerized environments which should work regardless of distro as they bundle their own libraries a la the windows dll hell, though your kernel version may cause issues, just like windows driver versions do), or my Linux distro's packages... is apparently jumping through more hoops than Windows?

As a power user of both OS'es, they're just as much a pain in the ass as each other.
Dazzle Camouflage
Psilocybin Produced in Yeast
Alone in her mountain home for 38 days, she didn't want to ask for help
Someone else asked in the comments: `I'm using an second gen iPad pro running the "concepts" app.`
Just being pedantic: containers aren't vms. Containers use the native Linux kernel namespacing and segregation facilities to run multiple applications in a somewhat segregated way.
This is pretty funny. I wonder, how hard would it be to use tech like this to make it look like you are looking the camera “in the eyes”?
Conway Look-and-Say Sequence in Rust
type classes sort of solve the same problem and in both rust and haskell they can sort of emulate union types (I have no idea about the details, I am not an expert of subtyping).

Still the usability feature of being able to quickly create arbitrary union types is undeniable (Julia uses something similar as a main source of polymorphism and personally I think it is amazing)
Real Time Voice Cloning certainly has iffy output, but it's probably the most popular because it provides the easiest plug-and-play experience with even a simple UI to get started.

The author says he's working on a more polished toolkit called Resemble.AI, but I've never tried it. https://www.resemble.ai/

There's certainly a market out there for just beautifying existing repos to making it easier for non-scholars to get going. Even having a Colab Notebook ready to click-and-start is quite powerful -- probably a big reason why First Order Model (source paper to the original story) got so much traction so quickly.
What’s this gemstone company?
You can signal events to invoke background processing and immediately return a response.
Bierjunge!
The regions of Canada where we grow tomatoes are not particularly cold. The greenhouse heartland here is in the southernmost part of Canada near Lake Erie and sits at the same lattitude (42) as northern California / southern Oregon, or central Italy.

Yes, it's cold in the winter because it's a continental climate, but the summers tend to be very hot and humid (mid 30C not uncommon and perceptually higher due to the high humidity.) Obviously not in Australia's heat ranges, but warmer than you'd find in most of Europe.

Many of these greenhouses are switching to growing cannabis now, with legalization.
Hängt
Ask HN: How do you use iTerm2? Its best features?
What are the things people use it for that good ol' Terminal bash can't do? The features that make it worth using. Thanks!

I recently started using iTerm2 on a mac, it seemed so cool. But I quickly got sick of it being so slow to startup, sometimes 10 or 20 seconds, and even sometimes slows/freezes the machine with a few windows open. Seems very bloated. So I stopped using it before I got to know its best features. (I had the daily tips appear daily, but never learnt anything from that.)
For me the golden era is the 1930s and its art deco styling, something like this [1] or this [2]

[1] https://i.pinimg.com/originals/ce/62/b9/ce62b9cf9c349ea81018...

[2] https://i.pinimg.com/originals/3c/67/d5/3c67d54d2fe785c773d2...
This is so awesome! I love the way you went about solving this problem.
They should skip "Perl 6" and go directly to "Perl 7", like Windows that skip "Windows 9" to avoid confussion.
Before the rename, any thread about any Perl 6 topic would harp about how it's a terrible name.

Now after the rename, I guess every HN discussion will have a subthread discussing how the rename was terrible, and it should've stayed Perl 6.

There's just no pleasing the Internet crowd.
It's stored internally in React. The instance of your component does not hold the state, just a reference to the state object which is repopulated each render (just like useState, it's the exact same mechanism), and after the render is done, the instance is destroyed.

More here: https://reactjs.org/blog/2015/12/18/react-components-element...
Apple is doing this on FaceTime with the latest iOS.
Pretty neat feature, makes Video calls more personal.
>ZFS on Linux is a perfect example of where GPL hinders a perfectly in-spirit action that would mostly be to everyone’s benefit.

Sorry, I can see where the frustration comes from here, but from an outsider's view the CDDL is just as much to blame. It takes two for there to be a license incompatibility. If there is some piece of information missing here then let us know, although in my experience the lawyers don't like to make this sort of thing public.

>I tend to use a BSD license, and I don’t personally care what happens to my code. Still, that doesn’t mean that I think there aren’t ways to abuse that where someone benefits and open source loses.

I also use non-copyleft licenses a lot, but accepting that other parties are going to profit and not give anything back has always been a part of that. It's not a total loss -- it gives you an in to lobby them hard for donations, support payments, consulting fees, or some other kind of contribution.
Soldier's bedroom has not been touched since he died in World War I
But it may build the desire to want to pet a real goat, and I bet that would be a win for them.
This is great. For demo purposes, maybe it could be nice to be able to join a game with strangers? Accumulate each four next people and then put them in a game together.

At work, we switched from zoom to https://team.video, and one really cool thing about it is that you can play a collaborative word game while you wait for the meeting to get started. A small thing, but those first few minutes go from being totally frustrating to a nice little reprieve.
> As for platforms that users develop on - Linux and Windows continue to dominate.

That seems like a very odd way to characterize the results (55% Linux, 24% Windows, 23% mocOS). Why draw the line between the two platforms that are 1% apart instead of between the two that are 31% apart?
New York will follow Massachusetts in launching statewide contact tracing
I've reread the relevant CDC and Vox recommendations on masks. They both need to updated, to remove ambiguity, to be more strenuous.

Because worksmithing is hard, here's what I proposed to Vox's German Lopez:

"Wide spread mask usage greatly slows the spread of coronavirus.

The combination of masks, social distancing, wide spread testing, temperature screening, contact tracing, and quarantines works.

Everyone should wear masks to protect other people. If you are high risk, wear a N95 respirator to protect yourself. Because healthcare and first responders need more protection than you, please don’t use an N95 until we have a supply surplus.

To clarify the effective difference between respirators and masks: N95 rated respirators are form fitting with better filters, so all air goes thru the filter; while surgical and cloth masks still allow some unfiltered air, they do catch most exhaled airborne water droplets (moisture), effectively slowing the spread."

Thank you again for sharing your find.
Mainframes have been having a moment. Or, perhaps more accurately, certain enterprises are finally waking up to the fact that firing all those mainframers wasn't the best idea for the long-term. The current problem isn't the lack of interest of availability of training; both would be there if it weren't for the fact that enterprises are more interested in having their code written by consulting companies in India than by domestic employees.
Unfortunately, "Perl 7" was a "thing" in the discussions before the name change. IMO, going to "Perl 32" makes more sense, as it actually reflects the current version numbering scheme. Or refer to the year: Perl 2020.
This sounds fantastic. Is there a more comprehensive guide somewhere on how to set this up?
FreeBSD Progress on Slimbook Base14
You're right, I didn't know about that. Thanks!

Link: https://9to5mac.com/2019/07/03/facetime-eye-contact-correcti...
> The Mozilla team switched from C to C++ trying to get memory right. Failed.

Still Mozilla software, including Firefox, run at more than 80% in C++ and are fully usable right now.

It is also the case of probably almost all the software you see on your own desktop right now... Most of them are C++.

Meaning, all considered, your notion of "failed" is pretty relative and opiniated.
Electron works great if done right (see Visual Studio Code).
These are catalog prices. In practice airlines pay almost half that.
I agree. That is why I stopped using languages that have a poor concurrency story. Also, using an external queue and workers considerably increases the operational complexity of the system. An in-process solution with some light persistence for the work queue in an embedded database can go along way, at least until you outgrow a single machine. Doing both ops and development I’ve learned to appreciate simple solutions.
This doesn’t sound fair, to me, to the 7 year old. Just adults doing adulting by saying “do as I say.” The questions asked seem quite reasonable. There are bigger discussions on fairness we haven’t even begun to broach, racism and classism being a big one for me.
Flutter UI Library
He credits the video as his inspiration in his 2/2 tweet.
He scrolled over the code pretty quickly, but it looks like python + numpy, didn't see any references to other major tools (could've easily missed them though).
I'm not sure if that is also something that has changed over time, but a friend who is in a fencing fraternity (and also recently got a scar) told me that in most duels, certain moves or move combinations with a high risk of injury have been banned. That especially applies to the initiation duels required to enter the fraternity.
Not to mention that returns/refunds are a non-issue over here since the EU enforces sane minimum customer protection standards. I never had to worry whether I’ll be able to return an item, regardless of where I purchased it, which still seems to be an important consideration for many commenters in this thread.
You can also use RPC to securely expose SQL queries. This is for example what Wildcard API (https://github.com/reframejs/wildcard-api) does:

endpoints.deletePost = async function(postId){
// Only admins are allowed to remove a post
if( !this.user.isAdmin ) return {permissionDenied: true};

await db.query("DELETE FROM posts WHERE id = :postId;", {postId});

return {deleteSuccess: true};
};
https://looking-glass.hostfission.com/wiki/Installation

Also check out their GitHub and quickstart, they have more details. The main thing is you have to run it both on Linux and Windows.
This might be the right place to look into:

https://hg.mozilla.org/mozilla-central/file/default/toolkit/...

Especially:

https://hg.mozilla.org/mozilla-central/file/a6a5a4f31ea26906...

Edit: this is a potshot.
That seems like a good problem cause before they had issues with demand. I think based on McDonald history of optimization they feel like they can solve that supply side issue more easily than the demand side one they were contending with
It's a bit of a subtle point but Majorana anti-neutrinos are still right handed chiral particle and a Majorana neutrino is still a left handed particle. So any particle-antiparticle effects from Delta-CP (or anything else) just becomes a left-right chirality effect. That behavior is built right into the term "Delta-CP", CP stands for charge-parity, meaning it's related to both a charge flip (particle to anti-particle) or a parity flip (left to right).

This isn't a full explanation but I'd have to go find some old text-books in order to provide a better one. Here's also a blog post that kinda sorta addresses the same point https://www.quantumdiaries.org/2011/06/19/helicity-chirality...
US has more than 1% of it's population tested for Coronavirus
My product on Amazon is coverting 27.3% of traffic into sales.. this is how
I would recommend to not use an unsafe programming language such as C or C++.
Web 2.0 already looks insanely dated, I think we're turning another corner right now as well with Material.

It's pretty fun to click through bootstrap 1-4 and see some changes like the buttons slowly lose their gradient then their outline until by 4 they are just totally flat:

https://bootstrapdocs.com/v1.4.0/examples/hero.html

https://getbootstrap.com/2.3.2/examples/hero.html

https://getbootstrap.com/docs/3.3/examples/jumbotron/

https://getbootstrap.com/docs/4.4/examples/jumbotron/
Looking Glass: Run a Windows VM on Linux in a Window with Native Performance
This is awesome. Let me know how you get on with it!
Why Valorants Vanguard Anti-Cheat Has to Be Changed ASAP