skysight-inc/HackerNews huggingface dataset:
It's such an unusual concept to me that you guys still need to show insurance/registration documents when being pulled over.

Ditch the concept entirely, no need for proof of insurance - either in physical card or digital form.
That's because until now, there hasn't been someone who's going to exploit every rule they can, and bribe where it's legal, to stay in power. Stealing the election is perfectly acceptable to the incumbent.
I'm familiar with COM and I do think the kind of interoperability you get with open multiple dispatch is of a different character altogether. There has not been any theoretical reason why this has to be true yet, but empirically it has been surprisingly powerful in Julia. I guess Common Lispers would relate to it too.
Did you read the code? It is standard functionality, but only in newer Node versions and browsers. The linked package is basically a polyfill.
You can think of these NPM micropackages as Github Gist snippets that you can programmatically link to your code.

The first advantage to just copy-pasting is that the snippet author might update it (e.g. if he finds a faster/safer way to do the one thing his package does), and you don't have to do anything.

Imagine finding a solution on Stackoverflow and just being able to import foo from stackoverflow/a/12345, and when the community finds a better way to do it, your software is automatically using the new version!

The second advantage is that it's basically built-in refactoring: Code from these micropackages will not litter your code, there is a clean separation between what is your business logic vs where you just need some generic functionality.
When you buy a pixel, understand you are paying to participate in a beta program designed to further some Google employees careers. You're not buying a phone that is designed to serve your interests.

If you want a phone for daily use, get an iPhone or galaxy.
The left is winning the global culture war, Trump was the nuklear option.
I like that solution. Although it doesn't solve the Snapchat use case, but maybe that is a good thing.
> UNLESS they focus on payment space very deeply and bring merchants, online commerce etc. into picture.

Ofcourse they will. They are not idiots. It's fucking Facebook we are talking here.
Also, there are some large recent initiatives to improve Nix and NixOS, such as Flakes (which give Nix package sets a standard layout and improves hermatic evaluation). Eelco Dolstra has also presented a proposal at NixCon 2020 to improve the module system's usability:

https://www.youtube.com/watch?v=7sQa04olUA0&t=1h24m18s
The pain I run into is that I very frequently need to use buildFHSUserEnv and it's just cumbersome enough that it's almost easier to not use Nix at all. It would be nice if there was a way to make this "just work". steam-run feels very hacky and I am loathe to use it in production, though I admit I've used it a lot.

Rewriting the library paths for a given binary also works but is cumbersome.

Ideally there would be a few extra tools in Nix to say "adopt this binary" in a similar way we can install things into our environment permanently, and to transform a binary to look for dependencies in the right places.
I even "DE hopped" using NixOS, trying out 3+ different DEs for fun, and once I was done I just had to revert to an older generation, no nasty leftovers.
And up to and including the 2016 election I would have agreed with you, but perhaps you haven't noticed the last four years, which changed this to "no, that's really not as unlikely right now. If they can get away with it, they're almost certainly going to at least try".
Previously: https://news.ycombinator.com/item?id=21528425
Gee, where is an easy place to learn about the history of this period?

https://en.m.wikipedia.org/wiki/Nazi_Party

> Hitler saw the party as a revolutionary organisation, whose aim was the overthrow of the Weimar Republic, which he saw as controlled by the socialists, Jews and the "November criminals" who had betrayed the German soldiers in 1918. The SA ("storm troopers", also known as "Brownshirts") were founded as a party militia in 1921 and began violent attacks on other parties.

https://en.m.wikipedia.org/wiki/Beer_Hall_Putsch

> Approximately two thousand Nazis were marching to the Feldherrnhalle, in the city centre, when they were confronted by a police cordon, which resulted in the deaths of 16 Nazi party members and four police officers.
The problem is that there no real stdlib. Sure someone _could_ make a stdlib in npm, but it'd change everyweek.
I have to say I think the implementation is very non-obvious, so I see the sense in shipping a canonical solution

https://github.com/juliangruber/isarray/blob/master/index.js
Small packages like this are key to easily/quickly building polyfill, backport, backcompat bundles for deployment in environments that are quite a bit behind in terms of language support. They still exist and they are still making people money. Having a stdlib in JavaScript would not preclude packages like this due to the afore mentioned legacy environments.

NPM bashing is increasingly popular, and for folks that haven't had to utilize these tiny packages they probably do rightly seem superfluous. Are people abusing it? Probably. Is it being used where it doesn't need to be? Probably. Are there long-stable, rarely changed NPM packages created before `Array.isArray` was a thing, which have this as a transitive dependency? Definitely.
Yeah that person really dialed things up to 11 there. But I think it's a tone that stems from a legitimacy thing with javascript having a super low barrier to entry.
I'm always glad when there's an npm package for something, no matter how small, and I don't have to sift through stackoverflow answers, particularly when something is hard to test, like browser support. 40 million people using a package is far better evidence then a few hundred people upvoting an answer.
For PDFs, I use Documents by Readdle on iPad. Great for the markup and includes syncing (files accessible offline). Lots of options for the latter (OneDrive, Dropbox, iCloud, I use WebDAV), although syncing is a pain because you have to keep the app open (it seems to be an iOS limitation).

For EPUBs, sadly, it doesn’t do highlight... for this I think you could use Marvin, which can read from a Calibre Server.
That's not how it works for me, sadly. After a good run, my mind still wanders, I literally daydream about random stuff for up to an hour (or even more)...

I hope other people have a better experience.
A slim minority of Americans have a 401k?
Wow, what a compelling rebuttal of the original article this is! </sarcasm>

> The writer mostly talks about common implementation errors. PGP has been using RSA for a very long time now. There is no real chance that there are any of those errors in the PGP code.

The opening sections of the article are about how choosing the primes and exponents in RSA is fraught with error. PGP doesn't prescribe any particularly algorithm for these operations, so PGP implementations are potentially susceptible to these issues.

> The writer has a section on padding oracle attacks. Such attacks are not applicable to PGP simply because the encryption is only done once and there is no reverse channel.

Wow. Just wow. There is actually quite a few ways to get reverse channels out of email, some that don't even require social engineering. The most trivial one is the 1×1 tracking pixel that phones home, which is pretty common in email for tracking purposes.

Sorry, this is the kind of rebuttal that proves the actual point of cryptographers: designing cryptosystems is fraught with error, and amateurs are likely to fall into traps they didn't know about. PGP is already decently well-known as being a bad cryptosystem; it's basically a message format that wraps Enc(x) and Sign(x) for your given cryptographic algorithm, and we've spent the last several decades learning that these primitives are not secure by themselves and do not naïvely compose.
> I'm feeling guilt for leaving them in the lurch.

You are not making their lives any worse. Most likely you don't even have that kind of power.
> The first advantage to just copy-pasting is that the snippet author might update it

The first disadvantage of “micro packages” over copy-pasting is that the author might update it to do something completely different - either because the author is malicious, or because of a transfer in maintainership of the package to someone who is malicious, or because of a compromise.
I don't understand the mindset of "you did it wrong once, so you can't do it anymore, you must let me do it for you."

Why is the fact that some devs sometimes screw up one-liners of any material importance to the existence of this library?

Some devs write code with bugs, does that mean they shouldn't write code any more? Is it either you write pristine, bug-free code on the first try for everything, or else you should be relegated to the back room gluing things together built by the _real_ devs? This is such snooty behavior that I'm not surprised at all by a response like the angry dude in there. He's an asshole for sure, but he's not totally wrong in my view.
zsellera covered the mechanism of transmission very well.
The 125MHz frequency is specifically coming from the Ethernet standard, as its essentially the operating frequency of each pair in typical hundred megabit and gigabit Ethernet. 10Mbps Ethernet operates at 10MHz.

By flipping the port speed between 100 and 10Mbps they are essentially toggling the 125MHz oscillator. I don't think anything is intentially generating the frequency of the tone you hear, it's just intermodulation products of the noise and the LO in the receiver.
That is not the impression my reading about various cases has left me with.

I can't point you to specific cases - I can only say that what has really stood out to me is that the justices do mostly seem to have well-defined interpretive frameworks, and that they work from those.

I can think of an exception, but my experience has generally been that it's the case.
I’ve done this for a website, but when you’re pasting a really long link and texting to a friend, it can get a little frustrating, since it eats the entire chat window.
Resolve is decent for editing 360 video on a budget (GoPro Fusion, Insta360 etc).

I trialled 6 video editors and almost chose Resolve but ended up using Cyberlink PowerDirector Ultimate, purely for the one extra option they have, which was to allow choosing which direction you face inside the 360 video, at every edit point.

(I preferred Resolve UI much more but needed this one feature they did not have when I was looking, 18 months ago)
yes, that was a welcome change. They used to have terrible support ~2011.
Yeah it's gotten worse over the years for me, too.
Tangential, but I would be curious to know if "capiche" refers to the Italian "capisci?", which is Neapolitan dialect meaning "do you understand?".
2021 will be the year of Linux on the ... Phone
Killing off industries is not what free societies do.
I know lots of people use Calibre, but I find it fussy and don't like how it organizes things in the library interface. I've been using Ubooquity instead and it's pretty drop-dead simple to use and I like the web-reader more, especially on tablets.

1) Start the application

2) Tell it where your stuff is

3) Wait while it indexes it (it does not replicate your content into a book index just grabs front pages for thumbnails)

4) Go to the server address:port with whatever browser.

It really works well if you organize your reading material by folders as Ubooquity simply uses that in the application.

It works really brilliantly on the kinds of full-page-image books you might find on the Internet Archive.
Were they? I haven't seen any history on that one way or the other [checks wikipedia]...oh, they were! My guess is that it was because we had an established infrastructure for making influenza vaccines in particular. Even then, the vaccine didn't appear in any quantity until almost the end of 1957, and the influenza was first seen in 1956.
We've come a long way. We started with the idea that he had said Nazis are fine people. We debunked that totally. Now we're all the way down to the much smaller claim that even though Trump consistently and publicly signals his support for black people you believe he is lying. Progress.
Don't forget step 0:

0. Don't illegally put nonessential cookies in the browser without the user's consent.
> Imagine finding a solution on Stackoverflow and just being able to import foo from stackoverflow/a/12345, and when the community finds a better way to do it, your software is automatically using the new version!

What a nightmare!
FontForge 20th Anniversary Edition
Just to clarify, I wasn’t looking to put anyone on defense there - so, apologies.

Off the top of my head, “How to Survive a Pandemic” by Michael Greger suggests pandemics may be an emergent, new-normal. Many of the factors which led to this pandemic are not going to be mitigated without broad, deep, and costly changes to how agriculture function. The medications used in raising and killing cattle, chicken, pigs, and etc combined with the scale of those activities act as a breeding ground for viruses which are statistically likely to become pandemics.
The downside is, your code and your heavier libraries now have their dependencies changing constantly, which can lead to things breaking if either depend on specific behavior, or if the micro package author does something wrong.

It's a trade off, although personally I've been bit by that enough to keep strict version numbers in my dependencies.
> If thick neural networks would indeed exist they would probably be a special case of something Schmidhuber invented 30 years ago.

Heh. A burn both pointed and subtle. A+.
The Narcissism of Head Binding and Butt Injections
Show HN: Startup Growth KIT – 300 growth resources in Notion
Show HN: btdu, a sampling disk usage profiler for btrfs
I won't be surprised at all if a safe, effective vaccine is developed for SARS-CoV-2 and I further wouldn't be surprised if newer vaccine development methods also make it affordable to attack the occasional longstanding cold virus.

If/when we have another, more damaging pandemic, I expect the lesson about how powerful a tool social distancing is to sink in more widely (we are somewhat accidentally having a mild flu season so far; just changing attitudes about what is appropriate when symptomatic would be a benefit, you don't need to do big lockdowns to benefit).
The meticulous planning behind synchronized drone light shows
I thought so, the 80's on the other side of the wall sure weren't too funny, may interesting but not funny. The blackouts are the ones troubling because they are not linked to the pandemic, at least not in the ways the others are.
It can be interesting, but also draining if you’re no careful, to view these companies from the outside.

I work with a client, who have the most toxic environment I’ve ever seen. The company is just a handful of people, including the CEO, and we’ve been in meetings where they are basically yelling at each other, sometimes us, trying to allocate blame. Fixing stuff is less important than identifying who is to blame.

Trying to get a decision about anything is impossible, we have questions that goes unanswered for months. It frequently trivial stuff like: when do you want this script to run? Picking a date, or where is this documented (it’s not but they’ll insist it is, and we’re just to stupid to find it).

It all stems from the leadership within. Their managers all have one or more of the traits in the article, and it seems to trickle down to the employees who act similarly towards people on the outside.

Personally I’ve take the approach that I’m consulant, paid by the hour (because the client refuse to sign an actual contract), so I really don’t care, I’ll make any modification they want, write whatever document they need, redo anything they’re unhappy with, even if the result is worse.

The main things with having these companies as clients is:

* Double check everything you write, before sending it.

* Have them sign of on everything, before starting the work.

* Always get everything in writing.

* Don’t lie, they will catch you and use it to blame you for unrelated stuff.

* Don’t take it personal.

* Bill by the hour.
Written in D!

The basic idea behind this project is that you only need to cast 100 random samples to have roughly a 1% resolution, which is usually enough to know what ate your disk space. Even on very slow drives, resolving 100 samples should take no more than a few seconds.
Does it have a feature to import books from the Internet Archive when provided an item link? Killer feature imho.
I think there's some merit to "this site uses cookies to track you as you visit different sites". There's none whatsoever to "this site uses cookies to remember your login information".

The law seems to make no distinction. As a user, I view every cookie notice as pointless and annoying -- obviously you use cookies, and obviously I'm okay with it. If the notice were specifically about cross-site tracking, that would be a meaningful notice, and opting out would make sense. Session cookies, though? You're warning me about session cookies?

If I could set a blanket "I accept cookies" in my browser settings and have those notices all go away,. I would in a heartbeat.

And, in fact, I DO have a blanket "I accept cookies" setting in my browser. Sadly, I'm still forced to manually opt-in on each stupid website.

Ideally, we would distinguish between different "types" of cookies (and I believe the law requires you do this), and we would have settings specifically for these in browsers (which we sort of do in a limited fashion), and we would simply make it a setting defaulted to "ask". show notice only if the user has manually changed the setting from "ask" to "accept" for the types of cookies used on a site. Boom, useful and non-annoying cookie notices.

Until we do that, it's a bad system, and a useless law.
The scp protocol is literally deprecated: what do you not agree with? The idea (and already being worked on) is to change the scp command's underlying code so that it behaves exactly the same as before, all your scripts will keep working just fine, it just won't use the now dead scp protocol under the hood and will instead use the universally supported sftp protocol.
Maybe you could run the app in an emulator and take screenshots on the host computer?
I would prefer opening a different app to complete the payment than living in a society where payment space is completely dominated by one company
Neat. How long has that been around? I tried NixOS in mid-2016. I don't recall what package I was trying to use at the time (likely PlatformIO/Arduino or Rust ecosystems), but the only advice I remember finding was to run some utility to rewrite the paths embedded in the binary.
People keep saying this is "so trivial", denigrating anyone who would use this, but I am convinced they haven't even looked at the "one line of code" they are denigrating.

I've been a JS/Node dev for years now (granted, post a time when Array.isArray was part of the standard), and if someone asked me to write isArray, I wouldn't have done it like this, and I'm assuming there is a reason it was done like this.

What I really see is a bunch of typical "I'm a cooler dev than you" posturing for people who haven't even actually looked at the code. That's a shame because there is a valid discussion to be had around how lots of teeny dependencies can make the npm ecosystem brittle, but bullshit posturing around how any dev should be able to write this one line is just false.
I wouldn't be so sure. Apple wants to increase their market share, and reducing risk so they can extend more credit seems like a great way to do it.
Yeah, github desperately needs moderation. Maintainers should be able to flag issues, and prevent people who more then x flags from filing issues.
Interesting! Yeah that's an easy fix.
orf.at minimalistic and fast
> Imagine finding a solution on Stackoverflow and just being able to import foo from stackoverflow/a/12345, and when the community finds a better way to do it, your software is automatically using the new version!

That sounds like a security nightmare, and broken functionality waiting to happen.

How on earth have we got here?
This argument makes a ton of sense to me. Why is this not how most people explain it, rather than "all developers are stupid and they mess up one-liners so we should write their software for them"?

How it normally goes:

A: why does this exist it's one line?

B: people mess up one-liners all the time.

A: those people are dumb and shouldn't be programmers

How it should go:

A: why does this exist, it's one line?

B: it's not about that, it's used to easily/quickly compose with other similar functions into more complicated things like polyfill, backport, and backcompat bundles for deployment in environments that are quite a bit behind in terms of language support.

A: oh, neat, thanks!
The disabled reporter example isn't what it seems. Trump had done that identical style of mocking to many non-disabled individuals before doing it to the disabled individual, most likely he didn't even know the reporter was disabled, it was just a way that Trump mocks people. The media framed it as though Trump was specifically picking on his disability even though this historical context (which they omitted on purpose) makes that explanation unlikely.

This is, of course, no defence of Trump's behavior in this instance.
What is the geographic area? How is the pay band of the company compared to local competitors? How are the perks?

I don't expect managers in a tech hub to be able to keep younger employees for many years, when they can jump ship after 1-3 years to get a huge pay raise somewhere else.

Then there's the grade of the company, if you're at a lower grade company (low pay, mediocre projects, no pension, bad health insurance) good luck keeping people around. They will figure out soon enough the grass is greener elsewhere.

The few people I met with 10+ years of tenure were mostly in large companies with benefits and comfortable positions. They've changed roles internally a few times over the years.
>I cannot point to any coherent, constructive thought, mostly feelings of entitlement and an unwillingness to put myself in the other’s shoes.

You point this out as if it is some moral failing on the right. In fact, this is a personal failing. It should be simple enough to recognize that for any ideology that is large enough there almost certainly exists coherent and constructive thoughts within it. If you have yet to discover them, this is not because they do not exist, it is because you're not actually looking for them. I think this is done by people on both the left and the right all the time. They fail to deeply investigate the ideas of the other side, and then criticize the other side for having no good ideas.
My shortcut to text my partner is called “Yo” and sends a “Yo”. Use it all the time. She knows when I’m leaving a store, or swinging by the house to pick her up, or when we’re in a store and ready to meet at the checkout lanes.

I think frequently that the app could’ve survived and have been useful. The iterations they went through took it in less useful directions, but the idea itself didn’t need to die. Feels like a lost opportunity.
Did you actually read the function in this library. While yes it's a single line I'm convinced that anyone who thinks this is an "obvious" implementation hasn't actually read the code.
I'm on a pixel 4a and haven't encountered this. I just tried it on a couple apps including my bank's app and it worked fine. So this seems like a bug?
Go 1.16 reduces significantly reduces sizes for built executables
It's literally 5 lines of code. My question is always "why is this a dependency and not a Stack Overflow answer?"

For anyone who imported this as a dependency, why didn't you copy-paste the five lines into your code? I'm genuinely curious.
Gitpaste-12 Worm Targets Linux Servers, IoT Devices