skysight-inc/HackerNews huggingface dataset:
Personally I'd move the register_device() and unregister_device() functions outside of the VFS class entirely, perhaps to namespace scope.

Alternatively, there are other ways to leverage friendship and access control in C++. Here's one option:

template <typename Registry>
class DeviceManager;

class Device {
template<typename Registry> friend class DeviceManager;
int y;
};

class VFS {
friend struct DeviceManager<VFS>;
int x;
};

template <typename Registry>
struct DeviceManager {
static void register_device (Registry& registry, Device& device) {
registry.x = 1; // accessing privates
device.y = 2; // accessing privates
}
};

int main() {
VFS vfs;
Device dev;
DeviceManager<VFS>::register_device (vfs, dev);
}

Here all DeviceManager<>'s can reach inside Devices, but only the VFS device manager can reach inside VFS.

This is also flexible. Remove 'static' and you get yourself a stateful mediator/manager. Add a variadic template register_devices_s_ member to Devicemanager and you've got yourself a convenience function for registering multiple devices (of heterogeneous types) without bloating the VFS API and, without runtime cost, and without losing type safety (by e.g. casting down to Device& from USBDevice&).
I give out my credit card number hundreds of times per year to websites that I have not verified have a merchant agreement with a payment processor to comply with PCI DSS.

In terms of what users are taught (which is plainly the context of the comment you are replying to), this website is identical to ecommerce sites.
I've seen it before. In fact, I'd double checked last time I brought it up and it was there on /login in an incognito tab.

Either HN has changed or they now conditionally load it. For example, I encountered it every time I used Tor on HN, though I haven't hit /login in months.
If your organisation already has good management, then promoting the right people isn’t that hard of a problem to solve.

> Self organizing teams still have a leader, but the team selects the leader.

People who are good leaders will naturally start to show leadership aptitude, without being given any management position. If you have good management, then those people can be fostered. They can be given extra responsibility (without being given a promotion), and if it goes well, they can be promoted. If it goes poorly, they can go back to what they were doing, no harm done.
I've know several drone companies in the last twenty years that were waiting for BVLOS in order to work doing remote sensing work for farmers. Sadly they all went out of business while still waiting.

A Michigan company has failed for over a year trying to get a permit to test on a limited scale in a very rural area. It's all very frustrating waiting for government permission.
Mechanical Turk style processing never ceases to amaze me.
Me too, was excited to learn about some nice wood working :(
Not 2014 Hong Kong, it is now
They could have raised awareness to the problem and provided detailed instructions on how anyone can go about resolving it, in a manner that's consistent with best practices of protecting yourself.

It's a false dichotomy to say its either this web site or Chase wins.

Promoting risky and insecure behavior is just wrong. period. That's independent of whatever Chase or any other company is putting in their agreements.

I think you'd be helping people far more by pointing out all the problems with this kind of website, so they can be aware of the risks and hopefully avoid scams, rather than getting them out of binding arbitration clauses.
Course Introduction of 18.065 by Professor Strang [video]
I've always been impressed by their articles describing how they build their storage pods. https://www.backblaze.com/b2/storage-pod.html
given iMessage's DRM looks superficially to stretch down to the silicon, I'm wondering if a hackintosh or VM actually solves the problem here...
It’s really too bad Hitchens isn’t with us anymore. I’m sure he’d have a lot to about this and many other topics.

“The Importance of Being Orwell”

https://www.vanityfair.com/culture/2012/08/christopher-hitch...
VMWare has annual revenue of about 9B$. Github.... 300M$

Github is way more hyped accross engineers but VMWare is 30 times bigger! VMWare is simply one league above Github.

Github is a Business Departement part of Microsoft. VMWare is a huge company.

This is the typical fallacy of B2C vs B2B. Consumer products are way more hyped and therefore people think they are way bigger than other less famous B2B Enterprise products
You need to update your intel to 2019 where botnets cost peanuts and I can trivially rotate a tiny botnet of 100k IP addresses against your "solution", each IP addresses making a couple attempts. Modern script kiddie software has had that built in for over a decade.

Never had your /login forum attacked with {uname,pass} combos? This is exactly what the traffic looks like.
Can any iOS developers chime in? I know there has to be some type of server side validation to validate previous in app purchases. Could something similar tie a logged in iCloud user to an account?
All Over the Map
>The only real solution is to have educated users that care about their privacy and security.

I don't believe that will ever be possible. Winning with technology seems like the only way to do it. Google wants even IMAP.
That's interesting. Some time ago I had a similar idea, but with the following differences:

3. Ownership cannot be transferred. A file remains in the same application throughout its lifecycle.

4. An application can give another application read-only access to a namespace containing one or more files.

6. An application can give another application read/write access to a namespace containing one or more files through a transaction mechanism.

Do you see any advantages or disadvantages of both approaches from your point of view?
I’ve been wanting to do this since I run a Linux desktop and laptop.

What software did you use to make it work?
This hasn't been my experience at all. There are almost always e-bikes at the Ford stations (per the other comment maybe this was a one off issue) and the Jump bikes work just as well in SF as Seattle in my experience (no shortage of glitches in Seattle).
I don't think this is a good idea.
What song is this, Hey you what do you see somethin beautiful or something free?
I always wondered why Mars is first on the list for exploration. why not develop the tech to mine astroids and then use the resources for building up human presence on Mars. Plus, the economic benefits alone would drive many private entities to jump into it
This is some good advice for making PPTs or Excel spreadsheets as well.
To each their own. My children seem just as inspired by today’s documentaries as I was by zoos, and my daughter has decided she wants to be a Veterinarian.

She seems quite aware that zoos are prisons for animals, and although she did like them when she was too young to understand all of the ramifications, today she is not interested in visiting our local zoo at all.

What you are repeating here is that zoos are a kind of propaganda for protecting nature, not that zoos protect nature.

Therefore, zoos are not an intrinsic good, they are one possible strategy for motivating people to actually protect nature.

Saying that zoos are good in this fashion is like saying that advertising is good because it may motivate people to do good. That’s fine, but it doesn’t make advertising an intrinsic good.

An intrinsic good is something internal to the thing itself. What you are actually arguing is that zoos are an extrinsic good, that the goodness of the zoo happens somewhere else, in the actual nature, and somewhen else, when the kids grow up.
I find it amazing that in the current political and environmental climate we live in Snapple recently decided to discontinue their infamous glass bottle in favor of a plastic one.
Well I imagine the business case (if they even send the same kind of notification to businesses, which I don't know to be true or false) is easy since presumably the business's name is on the account and said business has someone authorized to take care of such paperwork, and I doubt the letter would (or should, for that matter) be accepted if it comes from someone else in the business. Presumably Chase could call back the business's legal department and ask if they weren't sure if it's valid? Dunno, but I don't see it as a very realistic question.

In terms of you as a consumer using the template they gave you, I mean, in principle I would assume it would count (you put your signature on it and mailed it; it clearly signals your own volition and intent to opt out), but I could see a judge saying no if Chase gave a convincing counterarguments why (e.g. hypothetically if Chase had a habit of getting a lot of legitimately fake opt-outs that they couldn't distinguish from yours, and if it would be obviously bad public policy to accept them, then yours probably shouldn't be valid either). Ultimately I'm not claiming gray areas are nonexistent...
> Flipping a "private:" to "public:" has no effect on the binary compatibility.

That's not the case on Windows. The access qualifier is part of the mangled name. https://en.wikiversity.org/wiki/Visual_C%2B%2B_name_mangling...
Found you comment at the bottom of the comment section. Feels like the only safe place here. I've been noticing that the past few years there has been a sharp uptick in vitriolic statements about China.

There was a great look at American 'propaganda' in one of the China in Africa podcast where they were debating whether Voice of America is American propaganda. I think their specific debate was about the term collateral debt in relation to the infrastructure projects China has undertaken in Africa and the agreements that support them. It really helped me see that while the term is still sharply defined when speaking about "other" nation's propaganda, American's have a very difficult time extracting ideas which were put out by the American government and picked up as talking points by the media.

I don't know if propaganda is still the correct term anymore, but it at least feels like group think, which worries me.
You don't really have to feel sorry for them, you just have to recognise that they are entitled to what their contract says they are.

If you're against an exclusivity agreement (which actually makes a lot of sense when establishing a transportation network) then your complaint should be with the government, not Lyft.
Well, the feature might just be one of ubiquitous interoperability, much as email provides today. Particularly in an enterprise context: if you want to do some kind of realtime collaboration with someone, you might just reach them directly via Matrix rather than sending them an Email with a link to Slack/Zoom/whatever.

It'd certainly be more compelling if it was an actual feature though. Joking aside, federated machine learning could be an interesting approach, if the value that Matrix provided included a decentralised search engine which could help you sift through all the available content to find the chatrooms and communities you're interested in (and hide the ones you're not...)
Seems like a market problem. Why not auction the sneakers?
Tldr: it's about patent related US import ban of tapes and voluntary vendor initiated US import stop of drives, not general unavailability.
> Current voice input seems to rely heavily on the scope for commands being limited, and even then it breaks down often with names and such.

Voice commands are more like a CLI (short limited commands) than a GUI and the CLI has been proven to be much more composable and scriptable then GUI's. AFAIK it hasn't been done, but adding stdio and pipes to a voice interface could make it shine for complex workflows where a GUI fails.
I was preparing a response here, but many of the other commenters have covered it.

I recently spent time ensuring our Auth pages’ HTML could be easily cached outside of our application servers. They were a common target of DDOS attacks because we were generating a unique nonce for CSRF protection.

Randomizing form field names does not defeat a targeted attacker (and we have definitely been a target), prevents HTML caching, and will prevent auto filling fields by browsers and password managers.

Additionally it will be terrible from a usability and accessibility standpoint.

It’s trivial to target a form field by the text/label around it so those would need to be randomized as well.
Joe Average uses the Photos app, or the Image Capture app, which moves the files and doesn't trash them in the first place.

Joe Average probably doesn't even know what a "file" is.
"Yes. I personally filled out an electronic signature for my intent to opt out, Your Honor."
An exclusivity agreement might result in the best bike share possible. I don't want to pick up one company's bike and struggle to find a dock for that same company when it comes time for dropoff. Either one company gets exclusivity, or you end up with a huge amount of public space given over to redundant infrastructure.
I had a negative article on Google and I was unable to apply for a job, this has been my major problem since November 2018, I signed up with credit cloud and a so called private repair man but nothing good came out of it, I almost gave up thinking I can’t get a job again but Trust Repair brought back my confidence by deleting the article and now I have a job. I read about him on Carguru, people lavishly speaking about his good works, fixing credit, clearing debts and raising scores then I contacted him for the job. He came through without any stress and I bless the day I contacted him. He can fix Email him on TRUSTREPAIRSERVICE@WORKMAIL.COM, +1 407 917 2120. He is kind and always ready to listen.
There haven’t been ebikes at any station for several weeks because they pulled them all over a front brake failure. They also pulled them in NYC.
That last bit makes the rest look like a rather transparent attempt to mask a trial period.
My Thoughts on My Oculus Rift DK1 (2014)
Quebec tightens the rules for Airbnbs
I don't tend to have too many issues with ReCAPTCHA except when I'm travelling out of the country - then it makes my life really hellish. Given everything Google knows about my travel arrangements you would think they might be able to connect the dots.
> a bio-plastic bag in the ocean will be just as bad as a regular one.

Curious if you could provide justification for this; do you mean that an animal could just as easily choke on a bio plastic bag as a petro plastic one?

My non-biologist assumption had been that compostable plastic would just take longer to compost without the heat and high activity in a commercial situation. IOW, I think that we need to assume some fraction of manufactured stuff will always end up in the ocean, so it's better that is made from bio- than petro- materials.
Ask HN: What are the must-read journal articles in your field?
In your field, what are the must-read papers and manuscripts?

e.g. What are THE articles that graduate students would be expected to read in their first year? Or, what would be the top articles that you recommend to anyone with a nascent interest in your particular field?
Would you rather eat the world's largest steak, or the world's best steak?

Plus, a VP at VMware isn't going to be in charge of that whole $9B like a COO is. Bitnami is going to be a "Business Departement" too.
Riding 600 km (Almost) Non-Stop
> rather substantial 3.7 codebase

What size codebase is substantial?
S3-Benchmark Results with 8 Node MinIO on NVMe, 39GBs/34GBs on Read and Write [pdf]
If you can get your data safely to S3, Athena can handle a lot of reporting and analysis use cases. The table or view definition can handle the normalization process. Full on ETL pipelines are sometimes (but not always) more engineering than necessary.

(Disclaimer: I work in data engineering at Amazon and use those tools in my day to day)
I am aware of the reality, I was just making a facetious comment.

I'm not in the US. We have our own problems here in Australia. We did all pay for IT infrastructure but the government completely fucked it up as expected.
What's the best option available for chat embedding right now? E.g. if I want to build Facebook's chat feature or Fiverr's Inbox feature and have it integrated into my main web app.
"You did not answer my question" is what I would expect after that.
On a similar note, I hope an iOS (/iPadOS) app is in the works for https://code.visualstudio.com/docs/remote/remote-overview
Internet Trends Report
> SAL annotations

Are there tools for developers to use these (e.g. with VC++), or are they all Microsoft internal?
Motivate isn’t exactly rolling in money. It’s essentially a non-profit.
As it often happens, the paper is ignoring people with DSPD aka night owls. We almost never see sunrises, and I wish we had a permanent DST to have later sunsets and longer daylight.
> "Our platform is built on open source technologies such as Python and Google’s Tensorflow, and is therefore easily extensible with the latest and greatest developments in the field of Artificial Intelligence."

This... should definitely not be on your front page if you're trying to appear like a serious desktop automation suite. Just, no.
Elect politicians who will implement carbon taxes?
The alleyway in the ocean?
That doesn't solve the problem the OP solves, which is to expose a method only to a specified set of other classes.
We haven't published an official embedded chat SDK for Matrix yet, but there are a bunch of options from the community. https://gitlab.com/sanlox/tangent is one, which is very new and immature but looks to be headed in the right direction.

Alternatively, you could take a scalpel to matrix-react-sdk and strip it down to do what's needed.

Maintaining UI SDKs like this is very time consuming, and we're currently putting our time into ensuring matrix-react-sdk (and thus Riot) pull their weight against Slack & Discord etc.
Our current recycling methods are not working. Less than 11% of plastic in Canada is recycled.

https://www.narcity.com/news/environment-officials-reveal-th...
Jump bikes strongly follow commuter pattern, e.g. if you're going downtown in the morning or back at 5pm, you won't find any but if you're doing the opposite (or midday ride downtown) then, of course, Jump bikes are plenty.
Might be. I experienced no e-bikes for 4 days in a row while I was there just now. I also saw a ton of people using GoBikes during this period, none were e-bikes.

JUMP bikes in SF didn’t work for me most of the time. I would see one, but it wouldn’t let me take it. It worked about maybe 2 out of 6 times I tried. And as I said, the one I just locked with full battery and came back after an hour just wasn’t unlocking without a reasonable error message either. It makes me think there’s a secret reason they don’t let people unlock the bikes (they also don’t show up on the map).
I feel like "single-use plastics" evokes images of grocery pages, but what about trash bags? How is trash going to be moved with such a ban?
I don't think so. On average, bike share trips are much longer than scooter trips (~1-3 for bikes vs ~0-1 for scooters) and e-bike trips are even further. With this in mind, I think it makes more sense to see scooter competition as walking than bikes or e-bikes.

Can't find the source I read this in originally, but will keep looking.
I can't tell you anything about your local market but you sound "self taught" and there are lots of people like that in the industry.

Look up some local meetups and get to know the local market.
Yeah, they're actually highly sandboxed which is good for isolation but makes it hard to communicate between and update components on the page
AMPrime universal car multimedia player / camera
https://github.com/matrix-hacks/matrix-puppet-imessage is the main one; i've used it at points and it worked pretty well :)
My phone (Moto G7) uses gaze tracking to decide not to go to sleep.

Not a real important input, but there you go.
This is a great idea and follows many of the behaviours found around the world for refilling existing containers rather than starting anew each time.

https://www.globalcitizen.org/en/content/waitrose-plastic-pa...
Why don't they just sell more of them?

Or as ALittleLight says, auction them?

Edit: OK, I know, limited editions. Like numbered and signed prints. But it's arguable that people who want them the most will get them. Even if it's just for resale. Doesn't seem like the seller's responsibility.
Why Text Buttons Hurt Mobile Usability
We should take a break from games and adtech and save the earth.
North Korea has a caste system based on the family's behavior in WW2.

China is actively working on one based on the citizen score.
Your solution is similar to mine and you might find it helpful:

https://news.ycombinator.com/item?id=20160957
This is what the windfall game in the article did. They were smart enough to buy as many tickets as possible during this raffle.
Intel hardware, not AMD.
11,000 Americans Will Die Waiting for Transplants This Year
>Interestingly, one of the main themes that hasn't been the >focus for any past generation, is how controlling language >can control thought, but maybe that is something still to come.

Isn't that what political correctness is all about?
This appears to be a glorified services ad posing as an open source project.

The crux of desktop automation isn't that you can do the easy things, but that you have a way of doing everything. A 99% automated process with one manual step in the middle is still pretty useless.

Which is the reason the major vendors tend to have been in business for 10+ years. Because it's not about wrapping the Windows Active Accessibility API (or whatever they're calling it now) and patting yourself on the back.

It's about supporting, out of the box, that VB6 app with a hacked-in async UI interaction using a custom grid with a combo box in it.

And it's about exposing it in a way that, ideally, a business use familiar with Visio-only can kludge together 85% of the logic.

In short, this looks like all those times HN opines on {biology / rocketry / etc} and offers that "If they just ____, it would all be easy."
How much does ReCAPTCHA's aggressively targeting non-Chrome and/or privacy-enabled browsers and making completing captchas exceedingly difficult factor in your decision?

Do you want your site "protected" from those users, too?
Mary Meeker's 2019 Internet Trends Report
>Interestingly, one of the main themes that hasn't been the focus for any past generation, is how controlling language can control thought, but maybe that is something still to come.

Considering the daily bickering over preferred pronouns and whether a term is racist you see on most online platforms I think that time is on the horizon.
This is technically true, but a smallish effect at the scales its employed. The biggest reason for stranding transmission conductors is that its easier to bend them.

Long spools of wire are much easier to transport and assemble than bars.
“First, acknowledge the disagreement and paraphrase the opinion of the person disagreeing to make sure ...”

To expand on your point, I was taught that a person is just being ignorant if you cannot argue your "opponent's" position to their satisfaction. You really don't have to believe one word of it but understanding where their reasoning has taken them is vital to understanding your own position. It will help you decide that what you believe is reasonable and has been properly tested.

It will also have the value of telling you if there is a real disagreement or the fog of one human trying to talk to another is obscuring what should be an agreement. Nothing is as stupid and painful as two people arguing past each other.