skysight-inc/HackerNews huggingface dataset:
You may be interested in this HN comment from roughly a year ago, in which a user created a playful bash prompt script that displays the number of successful commands run in a row: https://news.ycombinator.com/item?id=15563117. Sample prompt:

[0] /home/bar/g3 14:19 $ echo "boo"
boo

[1] /home/bar/g3 14:19 $

With this as an example ($LAST_STATUS in particular) it seems like writing a custom bash_history program would be very possible.
ColdEmailTemplate.cc – Our First Engineering-As-Marketing Experiment
Does this mean that they can only mandate the backdooring of a user's communication if they know who the user is? Doesn't that seem irrelevant to the concerns they've raised in the past of having apprehended a suspect but been unable to decrypt their previous communications?
This is probably the reason they want to dump Huawei.

Much easier to subvert technology produced locally or in allied countries (and the other Five Eyes members will undoubtedly adopt similar laws soon, if they haven't already).
If you buy a cheap Android phone you are going to get cheapness. In my experience the kind of experience you have with an android device is pretty much driven by the cost of the phone.

I personally own a Sony Xperia XZ ( which is now over 3 years old), but it had a price comparable to an iPhone when i bought it with better specs.

1. Better front camera ( 13 megapixels ) and the rear one has a 25 mp sensor which captures great photos.

2. 192khz/24bit audio. Being an audiophile I hate the fact that apple does not support hi res audio. This phone had a headphone jack and is really good at playing flac music or hi-fi audio from Tidal.

3. Well designed - The back is made out of alkaleido which sounds like a marketing gimmick term, but it really does change colour in a subtle but nice way. iPhones haven't changed much in design over the years and they don't really look as attractive as they did previously.

4. Google cardboard - Android has some good VR applications which run on google cardboard. Heck you can even use TrinusVR on Android and VR stream games wirelessly from your PC . Can an iPhone do that?
Uber is blowing through cash just trying to run an taxi service without the economies of scale that a normal one enjoys. They'll certainly never have enough money or talent to be a real player in self driving cars. But now we're supposed to think they're going to make drones? This looks like a thinly-veiled effort to continue to attract investor money for the failed taxi biz.
.ko is already used for kernel objects :(
https://blog.openai.com/reinforcement-learning-with-predicti...
This doesn’t have anything to do with this but as a developer I cannot longer see the word “React” with its intended meaning.
Tesla gives their powerpacks a 10 year full warranty but projects a 15 year lifespan.
Breaking the Cycle of Archive Migrations with B2 Cloud Storage
Macro Recorder TagIE: RPA Internet Automation in AutoHotKey
Because superficial political flag waving doesn't mean anything?

I see a lot of the progressive flag waving in tech as "protesting too much." Here's an almost exclusively white male industry whose main pay check today is mass surveillance and manipulation. It's based in a city with a cost of living so high that only six-figure professionals can afford to live there in anything more than a bunk bed. Helps to cover it with a lot of faux-progressive window dressing.

I grew up in the Midwest and lived in the South for a while. I know people from many different regions and walks of life. The most ardent, ideological, committed racists I've ever encountered are all in tech. Tech circles are the only place I've had multiple people try to evangelize me with what amounts to neo-Nazi ideology. Even putting those extreme cases aside I don't really see tech as very progressive. It's certainly not progressive in deed, and that's what matters.

This is such a weird time politically. Politics is increasingly bullshit and the more irrelevant it becomes the more emotional and combative people become about it.
TL;DR: 'whom' is to 'him' as 'who' is to 'he'.

For whom does the bell toll? It tolls for him (not 'he').

Who is there? He (not 'him') is there.
>I'm of North African descent, born and raised in france and this passage really hit home.

I am Spanish and my interactions with Maghrebis have been overwhelmingly negative. And on top of that all I hear in the news is how Maghrebis are pickpocketing people, how they are raping women, how they are living off welfare.

I am human, it's normal that I'm prejudiced. That does not mean I'll simply ignore what you say, but yes, you will need to prove you're not a fucking idiot. And if you don't like it, well, I'm sorry, but...
Oh understood. Yeah that suggestion would fix my concerns almost wholesale. They just need to think about scoping it to e.g. domain, subdomain, etc.
Semaphore 2.0 CI/CD platform is now on Product Hunt
Never pledge on indiegogo, it's for scammers only. Kickstarter (for all it's warts) requires a working prototype to post on their site. IGG requires no such proof that you aren't selling vaporware. Also IGG shows total pledge numbers from IGG PLUS Kickstarter (and potentially other crowdfunding sites you might post to) so that their numbers look bigger.

Stop, Drop, & Retro has some really good YouTube videos calling out IGG/KS campaigns (focused on the retro gaming scene) and he does a decent job breaking it all down.
if it lasts even 2 years it was already a good investment
Just a bit unclear on this:

"Canada has arrested the chief financial officer of China’s Huawei Technologies, who now faces extradition to the United States on suspicion she violated U.S. trade sanctions against Iran."

What violation was really committed? Was it Huawei doing business with Iran, like selling chips/devices/etc on their product line? If it (the Huawei company) did, shouldn't everyone on the company's employ who have had a hand on the products that were provided to Iran be arrested?

I look forward to having more factual information on this, rather than mere speculations on the violations that were supposedly committed.
> However, critics point out that its founder, Ren Zhengfei, was a former engineer in the country's army and joined the Communist Party in 1978. There are also questions about how independent of state influence any large Chinese company can be.

Is this really the best they can come up with? I've never heard any more specific accusations, in any media. Sounds pretty racist.

(I have seen specific accusations that Huawei is violating sanctions, but that is a separate concern from national security in infrastructure.)
WordPress 5.0 release brings brand new editor for easier page design
It's going to be a lot of fun in the coming years as people start problematising more and more group classes.
Long enough for this to be a no brainer.

Also the biggest issue with consumer batteries is typically heat management. Industrial batteries with proper thermal control systems will exhibit much better lifespans than a typical iPhone. Thus you should adjust your expectations for these batteries compared to what you’ve seen in consumer electronics.
Show HN: HN Trending – Top posts, domains, links from past wk/mo/yr/all-time
> Authors retain copyright of their publication with no
restrictions. All publications must be published under
an open license, preferably the Creative Commons
Attribution Licence CC BY.

https://www.scienceeurope.org/wp-content/uploads/2018/09/Pla...
The Chinese legislation you refer to is much more expansive in scope as it is not limited to "communications providers". Refer to [1] and [2].

[1] https://www.lawfareblog.com/beijings-new-national-intelligen...

[2] https://www.aspistrategist.org.au/huawei-and-the-ambiguity-o...
The law for making a new language: always include examples up front.
Liberals I think are a little bit more critical, knowing they exist in a society that is systemically racist in a lot of ways, are willing to look at their thoughts and behaviors in an effort to try and figure out ways that they might be unintentionally or subtly racist.
> I have to immediately force myself to be twice as charming, friendly, witty, and intelligent sounding as the equivalent white or Asian person just to be taken seriously.

While this may be true, I find the problem you are describing to be much worse for immigrants (of every colour and race) who speak with thick accent. https://qz.com/624335/the-reason-you-discriminate-against-fo...
It's a shame that Firefox is so rarely used on mobile. As far as I'm aware, it's the only mobile browser with extension support. I know that you can use system-wide host-based ad blocking, but I tend to find that uBO does a better job.
Sure, simply admonishing developers and companies to reduce bloat won't do much to improve the situation. But neither will QUIC. That's the point. All QUIC effectively does is add more complexity to the technology stack, making real innovation more difficult by increasing the fixed costs.
How to view XML files in a web browser
Yelling "pedophiles in the pizzeria" (for example) hasn't yet caused a mass causality event, but it's coming. Yelling "funded by George Soros" didn't cause one because the bomber was incompetent, but it was close.

The gray band here is narrow enough to see across.
I have unfortunately twice been involved in hiring decisions where we had interviewed very qualified black engineers who were good culture/team fits, but the company decided to go with a different candidate because someone else on the team 'got along with that other candidate better'. Both times that other candidate didn't work out (like, they were straight up terrible people to work with). It's frustrating and I can't imagine how frustrating it is on the other side of the table.
And for those white people about to be skeptical, let me say as a fellow white person that you are unlikely to see this. Partly because it's often subtle, and partly because many obvious examples won't happen around you.

In fact, let me tell a story. I was once working at a large, successful tech company as a manager. One of my interns was black. Super sharp, very personable, in an ivy league college, and, as will become relevant, a very sharp dresser. The average white male developer wore a t-shirt and a hoodie; he wore nice, stylish collared shirts. Every day he looked good.

Between our area and the nearest kitchenette was an elevator lobby. One day, he gets up to get more coffee, walks into the elevator lobby, goes to the other side, and realizes he left his badge on his desk. He is now trapped.

Now I had done that exact same thing more than once. What happened to me? Well, I waited around for somebody to walk by, tapped on the door, and said, "So sorry, I just left my badge on my desk." They'd smile in recognition, say something pleasant, and wave me in.

What happened to him in the same situation? He got the third degree. Who was he? Who did he work for? What did he work on? How long had he worked there? Etc, etc. It was clear the (white) guy he was talking to was suspicious that he didn't belong there, that he was not the programmer intern he said he was.

When he got back to his desk he looked distressed. I, not wanting my interns to be unhappy, pried a bit. He told me the story, leaving out any details on the person. He was confident it was unconscious bias; he didn't think his fellow programmer meant harm and didn't want to get him in trouble. But still, it bothered him. Even in this supposedly very cerebral, very liberal place, people immediately saw him as not belonging.

That of course wouldn't have happened if he'd had me with him. Because if I, a white person, were treating him as if he belonged, then he would have been seen as belonging there by the other white people.

Now as a good corporate citizen I (with his permission) mentioned this to HR. I thought they'd want to know that an unconscious bias incident had happened. No names, nobody getting in trouble. Just letting them know so they could tally it and, if the numbers warranted, give more training on unconscious bias. Not just for interviews, which we already had, but more generally.

I quickly got a reply back from a high-up HR lawyer, who was entirely defensive. Their main point was that surely this (anonymous) white person couldn't have meant anything by it, that there was no legal problem here. Well duh, I used the words "unconscious bias", so of course I knew there was nothing meant by it. I just wanted them to take it seriously, because actual harm had been done. But they gave me the brush-off.

Happily, I also talked to the black employee resource group, who jumped on it. The intern ended up feeling heard and that the incident was taken seriously. Which was a relief to me. But it made me aware how often this sort of nonsense happened, and how rarely the harm it does to my black colleagues gets taken at all seriously.
Good disclosure, but as a regular reader of the site, I don't see a ton of bias in anything but the articles they publish and that they have sponsored links to amazon and whatnot. The content is overall quite good and relatively unbiased.

Electrek is generally one of the first sources to post about tesla crashes or things catching fire with the facts and then their own "take" towards the bottom. The guy who runs the site (Fred Lambert) also is extremely active on the r/TeslaMotors reddit community.
As good a place as any to ask something I've been wondering about: Is a Chromebook a complete computing environment now that WebAssembly is getting adoption?
Yes, also Keybase.
Judging from the article I think it's a proof of concept or similar stage.
I didn't structure my reply very well. I didn't mention the fact that the dictionaries are resolved at compile time as a contradiction to anything.
I was looking to do this for my pass-rotate project:

https://github.com/ddevault/pass-rotate/issues/1

I hope a spec gains traction.
Sounds really interesting!

Can you write more about the programming experience? Particularly the handling parallel processes and communication, but also general observations.
Hello,

I’m a Software Engineer with about 4 years experience in a variety of development and engineering positions.

I have experience using everything Javascript like Node.js, React, Hapi, Express alongside MongoDB, CouchDB, Redis, Graphql, Mocha, Chai, Jest, socket.io, Docker, Mysql, PostgreSQL, Travis Ci, amongst others.
What do you think is the best way to do deep JSON comparisons? We work with 2GB JSONs all day, and it is super annoying how long they take to process.
To someone who grew up in a place where “race was never brought up” I’m not surprised that you see any discussion of race as an “unnatural obsession”, putting aside the comedy that you think you’re fit to judge what’s natural. This is the first subject of race on HN that I have seem this week, maybe this month. It’s not like the front page has more than 1 thread on the topic every day.
Have you uninstalled hangouts, or are you just not using it?
Sao Paulo made that into law, banning outdoor advertising: https://99percentinvisible.org/article/clean-city-law-secret...
Facebook is making money off the fact I still visit their website enough to show me sponsored content (much like most of the rest of the internet does), and the data in theory means purchasers of its ads get better bang for their buck. I'm not convinced the fact that I'm a 30something single male currently located in a particular area is something anyone would pay me for, and granting Facebook right to use those facts plus data from ad-retargeting networks to show me ads and sponsored content (some of which I haven't even managed to block!) for free use of their web platform seems like a pretty fair trade to me.

tbh I'm not even convinced half the data is actually that good for the ad platforms: the fact that I invariably report obvious ICO scam ads as "it's a scam" seems to have triggered Facebook to show more of them to me.
Alice really compares more to large turboprops rather than small jets like the HondaJet. When comparing to the used turboprops on the market the Alice isn’t really that competitive. A used Cessna Conquest with more range could be had for around $1-1.5 million depending on condition. Of course operating expenses are significantly more so someone still needs to figure out the math there.

If you’re buying a fleet of new aircraft I suppose it’s competitive but for similar price a Pilatus PC-12 gets you significantly more utility. Land just about anywhere and easily find fuel.

Another factor is these MSRP estimates are really hard to pin down before the aircraft is fully developed. In the early 2000s there was a flood of companies claiming $1 million jets. Eclipse Jet being the most notable. Most of those programs either didn’t survive or ended up charging more like $5-10 million. Getting an aircraft certified isn’t cheap and it’s really hard to get economies of scale on something so expensive.

I don’t want to completely discount the program but I keep going back to the charging when I try to flesh this idea out. The only possible way I see this succeeding is if the company also facilitates building a charging network. When I was in high school I worked at a small Midwest airport and the idea that the city, who owned the airport, would build charging infrastructure for a niche aircraft is laughable. They almost shutdown their Jet A fueling infrastructure (that they charged money for) because they claimed it was too expensive to maintain.

Overall point is that it’s doable but there are hurdles and a half baked idea and marketing fluff is going to result in yet another failed aviation venture.
It's pretty clear what the economics are. Electrical engines are relatively uncomplicated, small, light, and extremely reliable. Also, they tend to last quite long. E.g. in many electrical cars, engine failures or battery replacements tend to be relatively rare and are typically not needed until after hundreds of thousands of miles on the road and usually not because they failed but simply because of degraded performance.

With electrical planes you'd expect similar benefits. Maybe a regular quick inspection of the few moving parts for wear and tear, make sure battery performance is fine and that any sensor read outs don't hint at any problems with cooling, performance, etc. Of course you still need to inspect the rest of the plane as usual. However, the engine tends to be one of the more expensive parts normally.

Jets are indeed reliable but they do need to be inspected regularly to ensure they stay that way. If e.g. there's some hairline cracks or corrosion, the engine might still work but be about to fail in some spectacular way. Inspections for that are expensive and a regular thing. Same with piston engines. Typically engines are certified for a fixed number of hours before they need their overhaul. I expect similar inspections and overhauls to be needed for electrical engines for the same reasons. But they should be much cheaper to do and the engines could likely be certified for much longer because there is less that can go wrong with them. So, less frequent inspections and overhauls, and cheaper inspections are a good thing. Also replacing parts / engines is likely to be a lot simpler if there are any problems.

Other factors are that unused engines tend to need more attention when you take them back into use. E.g. oil can solidify, fuel lines can clog up, etc. Most planes need to be flow regularly in order to avoid extra maintenance cost. To make sure things are functioning, you also have elaborate warmup and runup procedures before take off. A jet or piston engine is not usable until a few minutes after startup when everything is nicely warmed up and properly lubricated. Then you need to typically still go through elaborate runup procedures. Electrical engines are a lot less needy. Also they don't need to warm up, you just flip a switch and they are ready to go.

And that's aside from the fuel cost of course, which is a big deal as well.
What's wrong with Wire or Signal?
Seems like a classic case of “anyone to my left is the far left”.
I used to have lunch with an internal LGBT group at a previous job. Shared experiences are stuff like talking about discrimination, talking about niche tv shows that non-lgbt people usually don't watch, sharing gay artists, etc. There is no reason to believe the group is used to smear anyone.
http://www.cs.rhbnc.ac.uk/books/concurrency/

That book has been made availabel for free as a PDF.
Take it up with the US Supreme Court.
I imagine most north africans' interactions with you have been overwhelming negative for them as well. Perhaps you need to prove to them that you're not an ass before the situation can improve.
No need for a paywall when you have a firewall
No, the new law has no judicial review and has a few other things that wouldn't fly in the US. It's markedly worse (though don't get me wrong, the US definitely has it pretty bad in this area too).
When Kalanick was booted, I actually did expect the board to call a timeout and take a hard look at the business model while admitting that self-driving, especially in places that actually have enough density to make taxi-type services generally of interest, is a red herring. It's too far out and it's not clear what the implications are anyway.

It's not like Uber and Lyft aren't still a useful service at 1.5x to 2x current pricing (or whatever is needed to achieve profitability). Traditional taxi services suck in a lot of places. And, OK, at that point the users who only take Uber because of the VC subsidies end up going back to taking the bus. But who cares.

>destroy all local taxi services

Except they haven't. There are still taxis where they make sense as well as private car services. It's hard to see giving it a few more years is going to make much of a difference.
This is so rad. It's like Tempest, but on purpose. And I love that he hammers it down by filtering out the fundamental and transmitting over 10 feet.
ReactJS Boostrap 4 Dashboard
It's interesting, how much this problem is specific to the US. As someone from a small Eastern European state, who hadn't met a single black person during the first 18 years of his life, I had zero negative attitude towards black people when I first met them at the university in the UK. Actually, many of them were like friends.
I've read that they were planning this change for months before the App Store incident.
But on the other hand, if you try look for something, you'll find proof of it in abundance.

You may not see the influence of the zionist powers ruling the world- but you're not attuned to it. Me, I see it clearly, everywhere. You just have to look hard enough.
I understand there are a lot of “nuanced” rationalizations against Tumblr’s decision-and of course it’s great that they’re discussed and cases are made, so that fair minded people rightfully reject them. We live in a free society- Tumblr is not a monopoly- and now a competitor can freely scoop up the obvious niche community that Tumblr is choosing not to support anymore.
I mean you’re right that the UN has a lot of realpolitik, and you need to take those decisions with a grain of salt. But the rulings you are referring to are an instance where the US took a different ideological stance to the EU as to the best course of action to deal with Iran (which nobody wants to have intercontinental ballistic missiles, but really doesn’t want it to have nuclear weapons).

The example I gave and what it looks like Meng did at Huawei are examples of the Chinese government actively supporting weapons programs in hostile regions. I very much feel that she should stand trial for the deception she did constructing these shell companies to sell US export controlled items to Iran.
Thanks @GrumpyNI, I'm currently in Amsterdam, you guys sure as hell have a lot of Teslas :) Happy we've hit the mark, although our calculations are based on estimations, we've done our best to keep it as relevant as possible.