skysight-inc/HackerNews huggingface dataset:
> I'm not questioning the technical chops.

No worries then; a lot of people have made very similar statements in the past, and that's the place they're coming from.

> I'm just arguing about a tradeoff that I have not been able to find much discussion of.

I am still not 100% sure what exactly it is you're talking about, at this point, to be honest. I think it's "why do we need async/await and not just write manual futures". I've pointed out several things. Is there something else?

> It would seem the lifetime needs to be coerceable to the lifetime of the executor, but as far as I can tell never really should need to be 'static.

Some executors, like Tokio, are mult-threaded with work-stealing. A task (chain of futures) may start executing on one thread, be waiting, and then get moved to another thread before continuing execution.

> the borrows are not lexical in the classic sense of lasting until the end of the function, but they are still determined completely lexically, correct?

I am not totally sure what you mean by "completely lexically" here. It is true that NLL means that borrows can exist for only part of a lexical scope, but not more than a lexical scope. Or rather, the "more than" part is already taken care of by lifetimes anyway.

> Is it possible that this is going too far? It sounds like it introduces an awful lot of magic.

Most programmers don't really mind magic as much as you'd think. I mean, sure, in some sense, it's a lot of magic, but the result is that instead of writing

use std::future::Future;
use std::task::{Context, Poll};
use std::pin::Pin;

struct Five;

impl Future for Five {
type Output = i32;

fn poll(self: Pin<&mut Self>, _cx: &mut Context) -> Poll<Self::Output> {
Poll::Ready(5)
}
}

fn returns_five() -> impl Future<Output=i32> {
Five
}

I write

async fn returns_five() -> i32 {
5
}

And, the intuition that "async fn returns an impl Future that I don't have to implement" is simple enough and accurate enough that it feels like even less magic.

In practice, the people who have been writing tons of networking code don't see it as too much magic; they see it as a significantly nicer way to write the code they already have to write. The ergonomic difference is so large, that the delays in shipping have caused fairly significant community strife and pressure. It is possibly too hyped. Writing manual futures is so, so, so painful.
They want unemployment obviously.
I've been part of the community for 2 years and I have to say I appreciate the diligence and hard work in pushing this through. Plus, I love having access to all of the different apps with a single login, and _not_ having to pass all my usage patterns/data to a google or facebook.
I worked on the Ask Toolbar and it definitely caused me to question my ethics. I felt like shit about it because I wasn't creating something I was proud of, something that other people I knew and cared about would think well of. I quit that job and moved on to something better.

I would not include such bad behavior from some bad actors as part of the "human condition" but outliers on the fringe because I believe most people want to be good and do good things, but apparently not these assholes.
Some people are bad at logical reasoning.
Well the reason there won't be a cleanup is that the lake exists for the power plant and the plant is still running, the US has similar water features near many of their power plants. According to the plant it's not poisonous per say, just not a good place to swim for irritant and safety reasons, and you don't want to drink the water. There are probably far more toxic naturally occurring areas than this based on the lack of immediate health impacts to visitors.
You generate a public/private keypair for your service. Your domain is a short hash of your public key. Whomever owns the private key, owns the domain name.
>Ignoring for a moment that this rationale can support any tax policy at all (including 100% tax rates)...

Isn't that true for any rationale for tax? I mean, I wasn't talking about tax rates, that's a completely separate discussion...

>This holds for all businesses, not just large tech companies. So why is the tax focused on the latter?

Because other businesses are already effectively taxed by existing laws. Overseas tech giants are targeted because they were legally avoiding existing taxes.
Chernobyl is not dangerous.

Also, it's a very interesting place to visit. Can recommend; been there in 2017.
There are programs in the failing coal towns to teach former coal miners how to code. I'm not sure the stats on the success rate though.
From the start, Google cared enough about device makers potentially shipping a device running a fork of Android that they forbade doing so in their contracts with device makers.

When it came to making sure consumers got timely software updates, Google sided with the device makers and carriers.

Device makers wanted you to buy new hardware every couple of years, and carriers wanted to lock you into an additional two year contract.

Google could have contractually required device makers and carriers to support end user devices after the sale, it just wasn't something they cared enough about.
Firefox Blocks UAE Spy Firm After State-Sponsored Hacking Claims
Just go slowly, you can do it, just not as naturally as Ruby for example.
> vector<shared_ptr<SomeThing>>

Also uses move semantics. It's not _required_ here, no, but it highly benefits from it. Huge efficiency gain to avoid all the atomic refs & unrefs during resize.

> vector<SomeThingPtr>

This is error-prone and a leak risk. You just made the code buggy and worse, kinda like using const_cast.

> At the end of the day to me std::move is like const_cast. It's a quick fix that you can use to sort out a situation, but you shouldn't be proud of it because if you require it, chances are your design is messed up in a more fundamental way and the actual fix is sorting that out.

No it's pretty much the exact opposite. Avoiding std::move or insisting you don't need it is like scattering const_cast everywhere. You're avoiding a thing that helps you categorically avoid bugs (like unique_ptr does) in favor of just winging it and hoping for the best.
So what I'm hearing is that I should change my safe-word from "Ok Google"?
> If my web site policy discloses "I may randomly send a thug to your house to shoot your children," and you come, visit, click through the license which warned you, and then I shoot your family, that doesn't mean I'm not doing something super-evil.

You kinda had me until you lost me here. Analogies need to make sense. If you have to go this far with your analogy then that says more about your own argument than the other side's.
they are definitely pretending they are somewhere they are not
From privacy.com terms:

>You grant us and our subsidiaries, affiliates, and successors a worldwide, non-exclusive, royalty-free, fully-paid, transferable, and sub-licensable right to use, reproduce, modify, adapt, publish, prepare derivative works of, distribute, publicly perform, and publicly display your Content throughout the world in any media in order to provide and promote the Services. You retain all rights in your Content, subject to the rights you granted to us in these General Terms. You may modify or remove your Content via your Privacy Account or by terminating your Privacy Account, but your Content may persist in historical, archived or cached copies and versions thereof available on or through the Services.
Now finally, kernel space JavaScript is in reach! ;-)
The best athletes are extremely intelligent and driven people. The over-representation of black people in athletics is most definitely related to their under-representation in other fields.
Memser: AI-Powered Testing
> Building products for everyone is a core part of our DNA at Google. We hold ourselves to high standards of privacy and security in product development, and hold our partners to these same standards

I guess those standards don't include clearly letting end users know that their data will be stored, shared and transcribed by 3rd parties (not that the 1st party in this case isn't bad enough).

The leak is not the problem here (and it's extremely disconcerting that they're focusing on that). Their lack of communication with consumers is the problem. This blog post makes things worse as far as I'm concerned.
It blows my mind that UpWork does so well as a platform. I have never had a good experience using it. And I don't know anyone who says good things about it.

I think there is a real market opportunity for a startup that can provide a way to connect businesses who need short-term or specific project work (i.e. they don't want employees) with freelancers who want to work in that mode while (and this is important) avoiding the creepiness and flaky nature of UpWork. Conversely, it would also need to avoid being too similar to having the middleman as an employer.

I probably know 50 people who would jump on a platform that hit this sweet spot in a heartbeat.
Why would anyone advertise to french customers if there is no functioning french economy, and thus no money to be made there? How would french consumers pay for satellite access without a functioning economy?
If pin is implemented correctly, then it is almost as secure.

That is, the user has a very limited number of tries after which, only the password will unlock it.

Then of course, great care must be taken to disallow resetting those number of tries.
Awesome! Nice work.
Ye. Patching system libs should be just pulling those as long as they are backwards compatible. Maybe some key parts that the OEMs fiddle with are not behind abstractions properly.
One of the reasons I don't believe there's a real developer shortage is that so much of the job market is joke postings.
I think that the outrage doesn't come from supervised learning, rather that it's contracted out to a third party and seems to be done in a irresponsible way. I think that the fact that most of the public that uses these devices would be surprised by the fact that their voice is being recorded and transcribed is the irresponsible part. Of course a ML engineer is going to want to go the route of human labeling the audio data, and these folks seem to have won. You can blame the public for being uniformed, but it's new technology, and most aren't going to have read up on the methods used, even if it's no secret. Many have suggested other opt-in methods, which would also provide (arguably less real world) data. I think that many would prefer to trade a less accurate service for not having strangers listen to their conversations.
What you think about aucalc.com?
Visual Programming with Embedded Rust? Yes with Apache Mynewt and Blockly
http://news.mit.edu/2016/how-cancer-cells-fuel-their-growth-... - this more recent study theorizes that amino acids, rather than glucose, supply most building blocks for tumor cells
It's much simpler. Those have complex in-process hot swapping. Dark's "hot swap" is a write to a DB, then new HTTP requests use the new code.

As we grow and start to look at compilation and optimization, I think we'll probably get much fancier, but for now we're very into keeping things super simple.
Google never forbid updating phones... They forbid forking Android.
Amazon Shopping Is Easy. Browsing Is Agonizing
Using Git and GitHub to safely store your code
> that isn't boxed into predictable ideological or partisan tropes

What makes you think Greenwald's writing is not predictably ideological?

Sure, it's not partisan, in the sense that no particular party aligns with his ideological biases.
Unemployed Fishing
There’s also a kubernetes version of it:

https://github.com/iovisor/kubectl-trace
Ask HN: How can I make sure my phone isn't listening to me?
As well as other devices. I've unplugged my google home, but like many people, I have several devices with cameras and microphones in my house. What can I do to ensure they're not recording or listening to me?
Do users know where these tree they have planted are?
New Leak: Intel 10-Core Comet Lake CPUs Will Counterattack Ryzen 3000 Family
Isn't this just kind of like wedding photography before Instagram? Photos everyone else has already done in fake "spur of the moment" situations, you're selling illusion just like P.T. Barnum.
Check out this actual war game they conducted in 1974 where they concluded that the invasion would have been a resounding failure.

https://en.wikipedia.org/wiki/Operation_Sea_Lion_(wargame)
It is factored in really. The people who advertise on that yahoo keyword are aware that somewhere close to 80% of clicks or views are worthless to begin with (clickbaits, dark patterns, actual fraud).

In a lot of cases it is still worth it. In many other cases people perceive it to be worth it, but don't really do the research involved to prove that it is.
People. Like 15% of hn users and the like
Wrong. Pebble croaked and Fitbit got them on the cheap when they basically liquidated.
You likely weren't using Wayland session, but X11 one.
Nice try, Satan. First dinosaur bones are planted to trick us, and now this?!
I think Infinity can be handled lot more elegantly in Python.

Here is my response with the same problem solved in Python.

https://anandology.com/blog/python-is-infintely-beautiful/
That's what he said. They didn't forbid it, but they also didn't mandate it be allowed.
You can't make effective prediction off this stereotype. It is useless.

There is nothing inherent in "being black" that leads to greater basketball performance. Also, define "black," good luck.

Being tall, maaaaaybe. But not perfectly so, and there's no useful correlation between tallness and race, considering that the NBA generally just selects for the most skilled basketball players.

Then you get into all the cultural influences that totally shoot any genetic arguments out of the sky, and really just makes trying to do any, uh, science, around genetics and the NBA pointless. In my experience (as a southerner) it's typically just a sort of dog whistle kind of psuedoscientific attempt to set the groundwork that race can be related to other things, such as likelihood to be a criminal, hence why I jump on this argument whenever I see it. Apologies if that wasn't your intent.

In short, "race" (good luck defining even one) is not related to job performance.
>> After this, a hijacking, explosion, or terrorist attack would occur. They would argue that it could have been prevented if place X had a listening device installed. And that's all it would take to push a law mandating the installation of such devices in open spaces, eventually private ones.

I agree that this hypothetical is an accurate depiction of the future, but I think eventually we'll see this as the better of two evils. As the pace of technology accelerates, the average crazy man is going to be capable of killing more and more innocent people. Eventually, creating a safe society is going to involve closely monitoring every citizen and weeding out bad actors. That, or, eventually, some crazy man is going to build a nuclear bomb in their garage and obliterate the world.
Here's my new article that explains how we can have drag-and-drop visual programming with Embedded Rust and Apache Mynewt.
The ones we read on HN, were there any good consequences so far?
I actually agree and don’t have a problem with it, just speaking from the perspective of what is probably popular opinion.
Is the matching algorithm the problem, or is it just that most companies don't want to pay people what they're worth?
Much of this is because of information distortion - when the state directly collects an LVT from homeowners or a VAT from consumers, every individual citizen is aware of that tax and feels the pain of it. When they collect a tax from corporations, only the corporation feels it as a tax, and they raise their prices to compensate for losses from it, and the consumer instead sees it as simply the price of goods. The consumer has no information for what things would have cost without the tax, so they simply accept it as how things are. Meanwhile, the beneficial effects of an LVT or VAT all appear in reduced opportunity costs (the price of housing comes down, the prices of consumer goods more truly reflect supply & demand), so they're completely unaware of them.

It makes me wonder, now that cryptocurrency is a thing, if fiscal policy could be embedded directly in the monetary system. Rather than a separate tax that's charged and remitted to the treasury, it'd simply be the difference between what a consumer spends and what a producer receives, much like how transaction fees come straight out of the transaction.
> And you still haven't explained how you would pay for ransomware over the internet via cash

you're not seeing the forest behind the trees. bitcoin like cash is permissionless, private and fungible (to some extent). these properties enable illegal activities both in cash and in bitcoin. with cash it happens in face to face exchanges, with bitcoin it happens over the network.

> we have strict limits on cash to provide a stop of a complete abuse of it for criminal activities

yeah, that's why there's definitely no illegal activities going on involving cash. /s

> Bitcoins don't seem to have a large practical values beyond the illegal actions

uninflatable, scarce commodity/currency and transaction platform that is impossible to censor. you sure have a high bar for something having "practical value"...

the largest practical value of bitcoin is that i have full ownership of my money, not some ephemeral record in some bank's database which can be destroyed/modified by bank's employees or devalued by monetary policy.

> I am not aware of a large econommy based on Bitcoin transactions.

that you're not aware of it could simply mean that you never looked for it.
I'm still on android 5.0.1 because at&t won't allow me to update my phone unless I'm on their network as a customer. But they don't have service where I live so I can't.
I think you're right, but from what I've seen this causes services to make a special cancellation process for CA residents while making everyone else still jump through hoops.
I think everyone would notice the much higher data usage bill.
If I make a video game and sell it to a person in France does it mean I do business in France?

Yes, by the commonly and globally accepted definition of "doing business" in a country, selling into a country is doing business in that country.

It seems to me it should be treated the same as French person coming to my country, buying my game and going back home.

No, it would be more like your company going to France, selling the French guy the game, and then coming back to the US. The burden of tax compliance is placed on you, the seller, because you are the one profiting from the activity and therefore morally (and legally) should shoulder the burden.

In fact I think it's both not very consistent with general tax law principles nor practical as the burden of complying with regulations in every country you sell to even if you don't have presence there means many companies dummy won't sell at all to smaller countries.

It's exactly consistent with general tax law in the US and internationally. It's not practical, but that's the price you pay for choosing to make money in another taxing jurisdiction. If you don't want to deal with it, make money somewhere else.

That being said, the US has a good treaty network so that the situation you describe generally wouldn't result in income tax to the US seller unless they had a physical presence in the country of the buyer. Which is exactly why the French tax at issue is an excise tax (not subject to treaty restrictions) and not an income tax (covered by treaty restrictions).
Thank you for reference. That description seems to be a wiki article that deconstructs friendship and then reconstitutes it with hooks for critical theory elements designed to imply empowerment of the critic over the subject. I'd say that's a load of crap. :)
Amazon doesn't pay VAT, the consumer does
The music sounds like the intro music from Tarkovsky's Stalker.

Edit: Link for those interested: https://www.youtube.com/watch?v=Kgocncu6MBw
I think andrew_19’s comment about the guy who subcontracted the jobs out to people where 1/10 salary is thought to be hitting the jackpot is probably the better way to go here if you’re even seriously considering the job in the first place. The main problem there is making sure your contract explicitly allows or at least doesn’t prohibit you from farming the work out.
Heavybit's Venture Fund
Because these large tech companies don't pay taxes currently. The current tax laws have a huge loophole in respect to large foreign internet businesses. Now they're trying to close that loophole.
That sounds very similar.

I wouldn't be surprised if there were MANY versions of the same story as a lot of people would have been impacted by the change in approach to everything, but they would have seen the implementation and results in different ways.
Non-competes are legal and enforceable in many states in the US.
That boat sailed when google chrome launched 10+ years ago. Users don't care that applications come built-in with the ability to download a binary and execute it without the users permission. The market has chosen convenience over security. Yes, its a dark pattern, and Apple uses dark patterns themselves (for e.g. to trick you into updating iOS). Its going to be a monumental uphill battle to change this trend..
>FFMpeg is almost a PhD thesis

I’d argue it is a whole lot more than most PhD thesis.

Fabrice is a wizard.
It's interesting to compare the general sentiment of the comments on that post, which was posted 8 hours earlier than this one. Presumably those comments are more from Europeans, and comments in this post are more from people in American time zones.
Yes but apple only has ~10 phones that have to be updated at a time, and all share similar hardware with software specifically designed for that hardware. There are so many different hardware setups for android that getting software to work perfectly on all of them is exponentially harder
When I was younger, I thought for sure I had a sixth sense for detecting when the TV was on. Strangely, it didn't really seem like a sound to me. More like something inside your head.

Unfortunately, my super power didn't pan out to be all that unique ... or useful.
Agree, also China,India and other countries will invest more into reducing their dependencies on US which is as you said good from a fault tolerance perspective
I'd use privacy.com in a heartbeat if their TOS didn't have an arbitration agreement -- but given that they want to link to my bank account, getting rid of legal accountability is unacceptable.

A lot of these types of services sound really good until you actually dig into what their terms are. I don't see why I should trust a business that doesn't trust me.
adblock plus is a protection racket iirc.
Should we be surprised!
Feature flags are not canaries. I checked the article twice, even did a find on the text of the view source because sometimes I miss stuff.

You just didn't talk about the actual complexity of deployment. And that's your call, but as you can see from this thread there are people who think CI/CD to prod with no controls is a good call.
But if you get paid that 1/10 10 times in one month then fired, who cares, you already made out with 10 checks.
The radiation level is '800,000 times higher than normal'. Objectively speaking, that's a big leak. It's just not anywhere that important.
yes of course how did i ignore to comment. i said

> It is a protectionist / anti-tax evasion measure primarily