skysight-inc/HackerNews huggingface dataset:
It is crazy timing from his point of view. Crazy perfect timing. He was going to advertise it anyway, and now he has lots more people that would be interested. And in fact, it is relevant to this news.
Yes, the hierarchical namespace for modules was super nice. Migrating to a flattened package structure of npm was a disappointment. I ended up encoding the same type of structure in internal npm package names, e.g. "@myorg/net-aws-.." and "@myorg/file-..."
All cookies set via Javascript code are 1st party, and belong to the site that was in the address bar when the code ran (unless they are in a frame).

GA primarily utilises 1st party JS cookies. If you have GA on example.com then the cookie will be stored against example.com. One of these cookies stores a unique ID for you as a user.

GA will then send 'beacons' (GET requests to Google endpoint, with data passed in URL parameters) for pageviews and other events. Your unique ID is included in these URL parameters, which allows the various events from you to be joined up into a 'session'. That has not changed.

Apple's ITP affects both 3rd party HTTP cookies and 1st party JS cookies.

The main impact of ITP on GA is to limit the age of these cookies to auto delete after 7 days (usually), meaning that if you leave a site for more than 7 days your new session won't be able to be joined up with your previous session.

There is an edge case where ITP 3rd party cookie limits will directly block GA JS cookies, which is when it is running inside an iFrame (hat tip to Simo [1] for alerting me to this), in which case the JS code may not be able to set a cookie and will not fire a beacon.

[1] https://twitter.com/SimoAhava
The 4 I was thinking of:

Search, Maps, Gmail, YouTube

Chrome is arguably a monopoly if you segment desktop web traffic, but iOS Safari is such a large percentage that Safari can't be ignored.

People will disagree with email - but I challenge you to go look at email threads you're on and see what % of the emails are @gmail.com - not to mention G Suite addresses you don't know are Gmail. Outside of enterprise, there's no alternative.

Not bad either that Android and Chrome are duopolies at this point.
Static electricity provides clues to Neanderthal behavior
I thought this was hilarious personally but in general, this kind of comment doesn't really add to the discussion and feels not very appropriate for HN.

https://news.ycombinator.com/newsguidelines.html

> Be kind. Don't be snarky. Have curious conversation; don't cross-examine. Comments should be more thoughtful and substantive, not less.

However, I will absolutely take the opportunity to plug a food-by-mail company that is very near and dear to my heart:

https://www.zingermans.com/OnlineCatalog.aspx

Prices are obviously a bit high, but the quality is amazing. They treat staff incredibly well. They do lots of employee training so people really can work their way up from Janitor to whatever they want. Pay has always been above average. All finances are essentially open-book to employees and they go through each businesses (it's a conglomerate now) monthly/quarterly finances on a whiteboard with the team members so that everyone understands where they're at.

Sometimes ordering food by mail is awesome.
Why can't they do the shim approach while the library loads though?

Google Analytics for example lets you push everything you want to record into a plain global array called "ga", and when the library loads, everything in the array in processed by the library. This lets you start capturing events without waiting for the library to load.
>Our MDM is meant to be a new fresh take on device management that puts end-users in the driver seat.

Oh, so that means I can pay you a few hundred for a copy of your software and put it on my own ESXi system and have absolutely zero further dependency on you specifically or the internet in general beyond if I eventually decide to pay for further updates right? I'll have total control over all my data?

Oh, it's just another subscription service 3rd party dependency lock-in thing? Oh.
Apple ID login screen doesn’t allow use of a password manager for starters. But also, why care? I already paid for an iPhone, there is the option of making me regret my purchase or letting me be.
My first thought was good ol' Microsoft UX design...

Wish they had kept the description and page URL top and center.

And at least made the tabs and badges area the same width as the content. I bet they'll eventually come to their senses about that.
It takes around 2-3 seconds on the first attempt, future launches are instantaneous (cache plus gnome leaves a gnome-terminal-server process floating around).
Ampere Reveals “Quicksilver” Altra Lineup, 128-Core “Mystique” Kicker
I wonder what part of the Web Auth APIs does iOS Safari support since MDN says most of the APIs are not supported.

https://developer.mozilla.org/en-US/docs/Web/API/Web_Authent...
We’d need to have a standard HTML element like <facial-rec> or something and let the browser handle mapping it to whatever specific hardware the device is using
Pretty much! https://news.ycombinator.com/item?id=23632044
Easily one of the most bizarre stories of corporate malfeasance I've ever heard about. The blog/newsletter in question is likely the top in its niche, but it wasn't even in the top 200,000 of sites ranked by SimilarWeb – the WSJ, which according to the affidavit the executive mused as being the next of their targets – is ranked in the top 900.

In fact, most of this blog's coverage was linking to and discussing eBay-related stories from mainstream press like the WSJ. The pure malice of the alleged actions is unfathomable, but how did these senior managers and contractors have the time to even give a shit?
I did actually see that, on second thought I worded my OP in a way that sounded like they didn't comment at all, when I was referring to if they would compare it to how they handled Wikileaks in their response.

So I guess trade secrets are not in these leaks, but private information is certainly what Wikileaks is about. I think that the information of innocent people is more than enough reason not to host it, though. Just figured they'd want to clear the air of any accusations of favoritism.
Save land? Most land in the US is doing NOTHING, or has little potential for anything other than carbon sequesteration
I am skeptical that "more farm workers" is a trend that anyone really wants. Maybe at small scale you can sell produce at vastly higher prices to make up for the higher costs, but I don't think that what you're suggesting would be good for agriculture if adopted broadly.
Go to YouTube and search “operate a combine” if this is new to you.

Our farmers are computer literate.
Thanks for checking it out!

1) The agent is based on the Java Flight Recorder (https://en.m.wikipedia.org/wiki/JDK_Flight_Recorder) which is a technology built into the (Oracle/OpenJDK) JVM. The performance impact is thus rather small, around 1-2% of CPU.

2) To the best of my knowledge, New Relic and Dynatrace can't provide similar levels of JVM metrics (e.g. which methods allocate the most memory), since they are based on JMX metrics rather than flight recorder data. They do however have better APM functionality and framework integration than Blunders.
Moreover, a Windows .exe compiled 25 years ago will also likely just run.
>.... The actual history is that police have slowly become more localized and detached from central authority

Policing has been a problem for the black community since before your "not racist" reason of detachment from central authority happened.
> Anyway, torture is a crime in Italy and it is considerd an aggravating factor if it is committed by an officer.

Thank you. I appreciate your answering my questions and not assuming I am asking rhetorical questions (something I am not very good at yet). I didn't know about the case and saw it when I googled for any case.

> And right now the right wing parties, that also support Trump, that wants free guns for everybody like in the US.

I don't know for sure as I am not friends with many 45 supporters but my understanding is the "base" is more interested in guns for everyone more than 45 himself. Not that it matters in the larger scheme but just thought I'd share my understanding.
Thanks for the correction. I meant “profit”, and wasn’t even aware that YouTube revenue was disclosed this year for the first time (profit wasn’t... and YouTube likely costs a lot more to run per $ earned than the search, but how you assign profits and costs is art rather than science).
AI researchers condemn predictive crime software, citing bias, flawed methods
When I was a poor Comp Sci student I couldn't afford Visual Studio so I got an IRC buddy to mail me a pirated copy of Visual Studio Enterprise Edition (gotta love rural dial-up internet.) This was around 2003 I believe.

Package never arrived, so I got him to re-send it. Got the discs a few weeks later.

Some time later I got a call from the RCMP -- Canadian version of the FBI. They wanted me to come to their detachment and answer some questions. When I showed up they took me into an interrogation room and told me they had seized the CD-Rs at the border, that software piracy was a big deal and he had been instructed by his superiors to "make an example out of someone."

They wanted to know who sent them, how I got in contact with him, how much I had paid him, and a lot of other questions. I was 19 and scared shitless. I had seen the warnings at the beginning of Hollywood movies, I should have asked for a lawyer but didn't.

I gave a statement and signed it. I told them that the guy had re-sent the discs and I received them, what should I do? They told me to bring the discs in, and I did.

Never heard from them again. No criminal record. I have no idea what happened behind the scenes, but I thank my lucky stars that I wasn't charged with copyright infringement.

I'm not trying to paint this as some kind of Les Miserables bread-loaf-stealing tragedy, but I am beyond ecstatic at the wealth of free software development tools available to anyone with a $400 laptop.
Instant Apps have been around 4 years now (just a guess) and I've only encountered them twice. When going to a Vimeo link or a CBC link.
Good experiences with the ZenBook line here. Pop!_OS worked out of the box with everything but the fingerprint reader, including the Optimus GPU.
I thought App Clips were the most exciting part of iOS 14. I think there’s a real opportunity to utilize this for some guerrilla marketing (I hear a lot of it will work through deeplinking). It seems like a lot of it will be purchase intent based, but I can also imagine once Yelp implements this, you can deeplink to a 5 star rating. A Soundcloud rapper can now have folks scan into their new song and get a preview.

Let these companies build the integrations and find creative use cases around them!
If you bought an iPhone SE 64gb at launch, it cost you $499. $120 per support year so far.

best. smartphone. ever.

(I actually just dug mine out to give it another go, but the battery is nuked from sitting untouched for eighteen months :\ )
How does this compare with Flight Recorder? As of Java 11, Flight Recorder and its analysis tools (JDK Mission Control, formerly Java Mission Control) are free and open source:

https://github.com/openjdk/jmc

I have found Flight Recorder light weight enough to have it always enabled on production services. I didn't start using it until last year because it was a commercial feature on older Java releases.

EDIT: another comment says that this is based on Flight Recorder. The value add proposition is around the interface rather than the instrumentation, then. I think there is an opportunity there. JMC is fairly heavyweight and doesn't have good visualization/exploration tools for everything.
I worked on Perl for a while, liked it. Back in 2008/9, the only option for Perl on Windows was Activestate Perl, whose community version was missing lot of features that would have made it much less painful(I am thinking of PPM particularly). That was one of the biggest gripes I had with Perl. We moved everything to Python as soon as we could get comfortable with it and haven't looked back since.

Regarding Perl's one liners, I feel they are what makes Perl very useful, but my preference is AWK over Perl for that.
I was also very confused. If you're going to sell a fake book, why not just fill it with blank pages? Why go to the extra effort? Did they really think I wasn't going to notice when I opened it and it was full of information about hamsters? Were they hoping I'd just put it on my bookshelf and never actually read it?

We concluded that they probably run some kind of big automated print-on-demand counterfeiting operation, and have a database of textbook PDFs from several publishers. They probably had the wrong entry in their database for this title, and linked it up with the wrong contents. Perhaps next time you order a small-animal veterinary handbook from Amazon, you'll find it full of block diagrams and transfer functions.

I imagine that if they had printed the correct PDF, I never would have noticed. The book was printed on high-quality paper and well bound.

For what it's worth, this wasn't a cheap purchase.
Researchers use simulation to teach drones to catch objects
I added a . after the .com of the original wsj article and it worked.
This is serious concern for me regarding the rise of China. Access to their market is already so valuable that they are able to impose their censorship program internationally via implicit threat against corporate proxies abroad. See the similar NBA Hong Kong controversy[0] and the YouTube 'communist bandit' ordeal[1].

[0] https://en.wikipedia.org/wiki/National_Basketball_Associatio...
[1] https://www.cnbc.com/2020/05/27/youtube-china-communisty-par...
I don't see how this could ever be something not vendor-specific because without this being tied to "Log in with Apple" you're just saying "trust the client."

Maybe that's fine if all you want is to "lock" a sensitive page to people who aren't the device owner but that's pretty limited compared to FaceID to actually log in.
i don't why you are downvoted. There was barely any discussion on Instant apps. Its not the first time i have noticed something like this. But for a tech related site you would have thought there was more discussion rather then down voting.
I think that this is coming in the next release of Safari, so MDN is correct, it's not currently supported.
I called Motorola support once to ask about a battery replacement for a Moto G (3rd gen). They told me it was impossible and effectively that I should buy a new phone.
Deep learning-based surrogate models outperform simulators
FWIW, on a 1440p monitor, there's a huge amount of wasted/empty space, which means that the things that the space is used for should be pretty critical or it seems like a colossal waste overall.

Here's my input. Maybe it's useful? I don't know.

https://imgur.com/a/S9YRBq0
Have you ever read O'Reilly's "Mastering Regular Expressions" by Friedl? He does a deep dive into the weird guts of regex modifiers.

I was obsessed with that book one summer and wrote a bunch of parsers after learning incremental techniques (/o I think), and then 8 months later I could no longer remember how anything that I wrote worked. Lol me.
> This article is discussing the CO2 emissions related to some integral processes within the smelter

In slightly more (but still high school level!) detail, the raw material for aluminum refining is Al2O3. That is dissolved in a bath of molten salt, where the ions dissociate. The 2 Al3+ is electroplated out by adding electrons at the cathode. The 3 O2- comes out by withdrawing electrons at the anode; usually, the anode is carbon [1], and the reaction is:

2 O2- + C -> CO2 + 4 e-

The innovation here is to use an inert anode, so the reaction is:

2 O2- -> O2 + 4 e-

The fundamental chemistry of this is pretty obvious, so presumably there are good practical reasons why everyone was using carbon anode before.

EDIT It seems [2] that the process is using the carbon to do some of the energetic work of reducing the oxygen (carbon loves to reduce oxygen even when it doesn't have two extra electrons, a fact exploited in an earlier industrial process [3]), therefore requiring less electrical energy. This is sort of a way to stealthily burn some carbon to produce energy.

[1] https://en.wikipedia.org/wiki/Prebaked_Consumable_Carbon_Ano...

[2] https://chemistry.stackexchange.com/questions/6774/why-do-th...

[3] https://en.wikipedia.org/wiki/Fire
There is. But its hard to recoup any profit for the same reason you don't hear about iPhone's/premium tech in poor countries/region. Money just isn't there. Also, as pointed out, most farms are larger and getting larger. Small farms and small farmers will (in general) be aggregated (according to history at least).
This happens even by the police. The NYPD harassed the man who filmed Eric Garner being choked to death in 2014.

> Orta has filed one lawsuit and plans to file another, alleging that the NYPD has arrested him several times in retaliation for filming the Garner video. Another lawsuit claims that Rikers Island guards put rat poison in Orta’s food.

https://m.huffpost.com/us/entry/us_57f5019ae4b04c71d6f12ba4
Five Leadership Lessons I Learned from Being on a Submarine
> One thing all these terrorist attacks on american soil have in common? The perpetrator was a white american male.

I do not see why you introduce the race issue here. All the terrorist attacks in the USA after 1995 (last unabomber kill) have been performed by far-right extremists, and this includes islamists and american conservative nationalists. Terrorism in america is clearly a matter of politics, not of race.
I know, my network can be busy, so I don’t want to deal with potential latency issues and I don’t want to bother with side-loading.
> exclusive control of supply

Is not the only, nor even the most useful, definition of a monopoly. And there's also not a magic moment where one second you're not a monopoly, and the next second you are when user X+1 signs up. It's a gradual process and that's why it is such a huge area of law.
Just visited your site and now my title bar (tab name) is flashing "(1) New Message!"

Definitely not interested in your product now. Just FYI.
Wait till COBRA runs out, friend.
There is room for improvement, and there is significant financial incentive to realize that improvement. That said, I'm not sure that measure is the whole picture. If we are losing 30% of our food to the supply chain, what is the alternative? Perhaps we could farm things more locally and shorten the supply chain? If we did that, would we still get 100% of the yield of the old approach? What I am saying is that if we try and fix the waste problem, it would very like be at the expense of reducing yield. The extreme example is the tomatoes I am growing in my back yard. None of them will be wasted, but I'm fairly certain that the yield per square acre is absolutely atrocious.
What I'm hoping for is that Perl 7 will enforce those "proper code conventions" and mitigate that deterioration. Making a lot of common pragmas the default is a good start there.
I wish :-)
New technique may enable all-optical data-centre networks
I assume you're saying it's a good thing there's no reasonable protobuf support? The problem is I have access to data I'd like to manipulate, but it's in protobuf, so my options are:

a) somehow convince Google to let me access Nest data through a proper API

b) get a different thermostat

c) magically get the perl protobuf libraries to actually work

d) write just enough protobuf parsing (and possibly generating) to read my data, and curse

e) use another language to parse the data (ugh)

(I guess you could like to throw out 20 years of experience)
> Start by getting your hands dirty.

Same advice I'd give someone in agriculture looking to get into code.
We've changed the URL now - see https://news.ycombinator.com/item?id=23631761
So roughly speaking this is WebAuthn for a web site, with the iphone acting as the dongle.

It's a really good idea. I can see there being a big demand for just simplifying signin - I can easily see a time where it is worth not having the hassle of managing multiple signin processes and just choosing webauth or nothing.

Edit: to be clear this won't affect B2C sites whose monetisation is based on getting as many people as possible. But imagine a saas business charging upwards of 100 bucks a month - they have something valuable to protect, and the security story just got a lot easier
not all advertising is soullessly cynical
Are you me? That is almost exactly what I did, even including the part about tufte.css and syntax highlighting.

I ended up exporting all of my old blog posts from WordPress. Rebuilding the entire site (~370 pages) takes about 4 seconds.

The biggest problem I found was that I had to modify tufte.css to make it work well on mobile.

Care to post your site?

Mine, if you are curious: https://sheep.horse/
I think the author is discussing large existing apps, for instance connecting something like an externally built authentication layer to an existing user management suite. It's not just plug and play but a series of careful surgical moves.

Obviously shuffling data around is a different (easier) beast, especially for one off tasks.
The issue is that it's just a token that would simply say Passed/Fail. So it's trusting the client/browser.
‘Low cost Android’ to study the brain
Google are already being investigated for antitrust violations in both the US and Europe at the very second. Amazon and Apple likely will be very soon, if headlines are to be believed. Microsoft was found to abuse its monopoly before.

Someone apparently told the FTC and the European authority.
Note this was reported on May 29, 2020 for data in the April calendar month.

It's likely that a good proportion of households got their one-time $1200 federal check in the April timeframe. I'm more interested to see how much of a cliff happened after April.
I.e. so it can be properly regressive, right?
Someone could make a distribution based on tiny core and have it boot into bash, and only install vim. Then create a separate partition to mount as a usb drive to move your work over.
That analogy doesn't really work - software doesn't get worn out from interaction with users. If software is working and in use, then it's age doesn't matter.

Evolution/flux is not the natural state of all software. I've seen plenty of business/enterprise software which has continued to provide business value for decades without structural or architectural changes.
> I see a ton of founders and funders with zero biology background thinking that they have the vision and can just hire biology expertise.

Genuinely curious about your data here. The two first companies mentioned in the article (Zymergen and Gingko) have founders with biology background. Many other companies I know as well.

> You would never use CRISPR if you had the option of using Cre. I’ve made several stable transgenic animal lines using Tol2 transgenisis, which is much higher efficiency, too.

That probably depends on the organism you're working with. E.g. with baker's yeast, my preference would definitely be CRISPR/Cas9 instead of cre recombinase (see e.g. https://academic.oup.com/femsyr/article/15/2/fou004/534426 ).
Pretty terrible! But you can just delete the "/media..." path in the url and refresh