skysight-inc/HackerNews huggingface dataset:
As an owner of a US business myself, I will not be complying with these EU laws, period.

The US government already requires me to know who my users are in the sense that they must be able to warrant/subpoena me for any data that belongs to my customers, even if my customers attempt to delete their accounts with me: if I still have the data in my company's possession, whatever data I have that is covered by the warrant/subpoena must be turned over.

So, if a EU customer says "oh, you must delete every data you ever had about me", and the US government THEN comes and warrants/subpoenas my company shortly after, can I theoretically be held in contempt of court or be charged with destruction of evidence? Possibly.

I'm sorry, but as an American, I'm going to comply with US law here.

It's one thing to require explicit consent to share data with non-government third parties, or with the government without warrant or subpoena, but it is another thing to explicitly require consent for them to enter data into your app, service, or product.

As in, real name field? Address field? Phone number field? Email field? Somehow, the user inputting data into those fields of their own volition still does not constitute explicit consent to store and use that data for purposes of making the service/product happen.

The law, as mentioned in the article, also has no provisions for legal, financial, or tax purposes. Let's say I am someday audited by the IRS, and I can't match where money came from to an actual customer, they can punish me for that: I can't go tell them, "oh, User #1931, they used some EU law to force me to delete all their data, so all I know is they sent me money in exchange for goods and/or services, but I no longer know their name, their address, or even their Paypal account name."

So, yeah, no. I'm all for privacy and rights, but this just doesn't work. This is just as backwards as the cookies law they passed a while back, forcing me to close annoying banners at the tops of websites to "consent" to cookies, and I'm not even European!

Also, one last thing, I must be able to let my user download all data about them? No more "walled silos"? I imagine there is an entire classification of apps that you could never produce useful results out of this, ie, you can't just import it into another service or app and continue on as if nothing changed. Like, imagine being able to export your entire Evernote everything and try to import into OneNote, or vise versa. It just wouldn't work all that well, even though they are similar apps.
The C++ programmers here disagree given how often they point out that C++ close to the machine is actually the C style of programming done with C++ language. It's actively discouraged by the C++ community in favor of the C++ style of programming described in Modern C++, etc. The C++ style gives low-overhead abstractions that increase safety and maintainability (in theory) while aiming for C compatibility and performance. Main libraries and well-written apps are big on metaprogrammed constructs.

So, learning to code professional C++ will not help you understand machines more. You'd have to learn C, basic OS/CPU structures, and which compilers produce for certain C statements. Maybe read Write Great Code by Hyde or some online articles. Learn C++ to understand machines? Not happening unless you microprogram a CPU for it on a FPGA.
Because I drive more aggressively than you and I don't make claims or get in collisions. Or make comprehensive claims. Why should I subsidize your claims?
There's no really good way to trade programming time for money.
It's various shades of spin. For unencrypted videos, T-Mobile might be using other techniques beyond throttling (e.g. downshifting the resolution). Or perhaps he's trying to get around strict throttling by claiming (in his head) that they're only throttling videos, while other data isn't being touched.

I wonder if he's on an internal hunt to find out who confirmed to the EFF that videos were being "throttled".
I'm a former Linode employee, so you don't have to sell me on the advantages of the VPS. :) I think we need to remember that people new to programming don't know about all of the available tools and services. Costs could have been reduced by using a VPS, but they also could have been reduced without becoming a *nix expert. For instance, the author talked about buying SSL certificates, something that comes free with a CloudFlare account. They could have also used a CDN to reduce the load on their dynos.
> Typing apt-get install mongo / mysql / rethinkdb after the droplet is really all there is to it.

This is one of the reasons why web security is as bad as it is.

Even so heroku is not the right choice for this, way too expensive.
Server Monitoring for Apple TV
Build the bag around it?
Is there any moral difference between using VLAs and calling alloca? Because alloca is generally recognized as evil.
I am (or at least was) a big fan of the EFF. It is the first charity I can remember giving money to that I earned myself. However, I think they've gone in a direction of picking fights that are popular but a deviation from their original mission.

To me, the EFF is about protecting the internet and technology users from governments (or private entities) that don't understand it.

Private companies cutting sweetheart deals with other companies that are detrimental to their customers is not a matter of rights protection. Adding new rules that prevent certain usages of technology is not an increase in digital rights, it's a decrease. I wish EFF would instead focus on how we can create a regulatory environment that allows more competition than spend so much time advocating for popular ideas that are at best orthogonal to digital rights and sometimes antagonistic.
> While these are not new ideas - Why not use s32 rather than i32 and so on. Makes more sense if you use something like u32 too.

i denotes an integral, as opposed to the also-signed float types?
OT: Not to sound negative, but I always find it strange to see these 'popular' banners on these (now standard) pricing pages.
I'm sure for such a new product no pricing plan is yet 'popular' or do they already have so many customers?
If you are sure that this is going to be the case, then use uint_least8_t.
Normally it is called sanitized, but that doesn't make a good headline
Why would an email service know that conpany.com is a scam address of company.com? If they were spoofing addresses then it may be detected, but if they are using a valid domain with a random letter changed you are out of luck unless you have common sense and pay a lot of attention.
I'm one of the core Racket developers, so I also think we're doing pretty well. :)

But what you're suggesting requires persuading a large group of developers to adopt a new language -- if you have a recipe for doing that, lots of people including me would love to learn it.
The same effect is noticed with GMO foods. They're better in all regards, yet there are people who are afraid of them because "not natural".

I don't think this has to do with the education system. My friend's father has a terminal illness, and in his attempt to understand and rationalize it, he thought that he did it to himself by leading an "unnatural" lifestyle. The man has a masters in mathematics and owned a software company, he's quite intelligent.

I think people just try to rationalize their situation, sometimes they rest on the idea that natural is better.
That's a really, REALLY good question. I wonder how state insurance commissioners let insurance companies not share their data or models? Likely because, at this point, it's used to calculate discounts, not base rates.

This will definitely become an issue.
How do you explain JavaScript going down?

Is it because of the rise of languages that compile to JavaScript?
Oh, definitely. No disagreement there. I'm very much looking forward to my CV1 Rift :)
Yeah, projectors are a different kettle of fish, at least for 4k. I'm strongly considering a 4k projector when they get to a decent bang-for-buck ratio.
T-Mobile's product is a move into creating a "wireless cable" company. In the long run, it's going to be cheaper to compete across many local markets by building towers than running last mile wires and contracting fleets of service technician vans.

In the US, the fact that most regulation is at the Federal level, implies that such a move will be relatively unconstrained by local governments and less burdened by franchise fees and right of way agreements and negotiations with power companies for stringing wires on poles. I suspect that regulations requiring big carriers to provide access on their networks and access to their exchanges may be another advantage, but I'm not a telecom lawyer.

It's probably a necessary move as video increasingly dominates bandwidth consumption. And my experience is that competition in the cable market tends to lead to better service.

I'm not really sure this is a bigger affront to net neutrality than some CDN delivering stale content or Google and Bing customizing my search results. It's just that we've come to accept those things and tend to heap hate on cable company business practices.
If you know C, you will love Arduino. It's very easy to "to speak to a web API". They are usually low power 8-bit CPUs with 16 MHz, exactly right for small projects like blinking some lights that should run on battery for years.

JavaScript/Python/etc on RaspherryPi or this new Mozilla thingy are interesting too, though will drain your battery faster. You need an OS on a 32bit CPU. If it's connected to the web you should also update the software stack.
Early hunter gathers had fewer communicable disease risks due to vastly lower population sizes. So, for example they did not get the seasonal flue. Consider, there was lot's of EU to America disease spread, but almost nothing went the other way. Despite the fact that south America had fairly large scale farming and population growth.

Excluding communicable diseases, most people stay fairly health until 50+ and many hunter gathers likely lived into there early 90's. Infection likely a major risk, but antibiotics are very recent and less necessary than frequently assumed.
There are other complexities. For many municipalities, regulation regarding artificial chemicals and dissolved pharmaceuticals is lacking or nonexistent. When you aren't sure of what's safe or not, it's better to be safe than sorry. And if the problem is information, is it the voter's fault for being uninformed or the establishment for insufficient propagation?
Interesting! I shall have to test that.
popular with employees?
I thought `ssize_t` was only signed `size_t` in practice. Technically, it only needs to be `size_t` with -1.
You may find it distasteful but that has been idiomatic C for more than a decade.
I think this is not true.

Usually the recycled waste-water is send in to the rivers.

The fresh water usually comes from dams, ground water or river bank filtration (you don't suck out of the river, but from a well right next to it, so it get's filtered by the ground in between).

The water from the dams tastes really really good. The one from the big river (at least in my town) is very rich in minerals, not exactly the tastiest, but perfectly fine to drink too. The minerals build up in water cattle though and are annoying to clean off.

German tap-water is usually cleaner than german bottled water I think.

In the warmer parts of europe water is often is chlorinated I think, wouldn't want to drink it.

I didn't read the article, but I'd be afraid of purely recycled water. I know the fish have problems because of contraceptives, which are hard to filter out and in Great Britain there are traces of ataractics even in the ground water.
They don't even use step 4. They just raise the "non-participation" penalty so high that you, for all intents and purposes, have to participate.

The company I work for charges a $50 per week penalty for not participating.
This might be the only time I've ever been happy to not be a t-mobile customer. (Well, at least for reasons other than network coverage...)
I would not call card carrying EFF members ordinary internet users. We may be vocal but the vast majority of the internet denizens don't know who the EFF is either.

The EFF does represent the concerns that most ordinary internet users should have but I don't know that I would say most of the do have those concerns.
A memory intensive proof-of-work should be much faster to verify than to attempt a proof.
trackers on your landline phone calls, CCTV face recognition in public places, trackers on your employer's door card system, roadside license plate recognition, tracked usage of payment cards, tracked usage of loyalty cards...

the universe always knows where you are, it's only other people who don't. And soon, they will.
The Computer Revolution Has Yet to Happen
A nit I'd like to pick is also that China has a vastly smaller PPP adjusted total GDP. So even four times the number of people, even a guaranteed loan program the size of TARP would be a larger intervention.

To digress a little bit, I know this may be heresy, but TARP was the single most courageous and under appreciated accomplishment of the G.W. Bush administration.

It's an economic miracle that when push came to shove, suddenly we were all Keynesians again.
I use OneNote for this.

Android app + desktop app + web app all have similar basic functionality.
But for that technology to work you have to re-encode the source stream for every desired bandwidth range which is not exactly cheap [1]

[1] https://zencoder.com/en/file-transcoding/pricing
Related: https://www.hodinkee.com/articles/the-h-moser-and-cie-swiss-...
That would require a fanless GPU capable of 4k @ 60Hz. But we can dream ;-)
This goes along with a good site I saw mentioned in comments yesterday, https://www.goodui.org/. If your site was still up, I'd sign up. You might even go cheaper with something like a shared hosting solution, like webfaction. it's cheap, it's easy to setup stacks, you'd have plenty of space, and you don't have to manage your server.
>If you find yourself typing char [..] into new code, you're doing it wrong.

>The only acceptable use of char in 2016 is if a pre-existing API requires char (e.g. strncat, printf'ing "%s", ...) or if you're initializing a read-only string (e.g. const char hello = "hello";) because the C type of string literals ("hello") is char .

Heh, basically you need to use 'char ' for strings. I would far prefer if strings were unsigned so that I could use 'uint8_t ', but if you try it you'll get tons of conversion warnings and your code will look weird.
FAA Releases App for Drone Flyers
I'd really like to know how well that works out at Dropbox. How honest and public do you think they'd be if major data losses resulted from Rust crapping out on them? I'm not sure about them but lots of businesses keep such things on the DL.

I think it's a risky move. I'd have first deployed existing, native code along with Rust in parallel using the data splitting technique so some is saved with original and some with Rust. Any compiler or library related issues on Rust side would be caught without data loss. I wonder if they did this in alpha stage and how long that lasted.

I mean, I love seeing Rust in production and some success stories would be great. It's just... wow, that's pretty mission critical for what I gather is still a beta-phase tool. I'd be testing on the middle or front-end layers first given they're usually stateless(ish).
I guess the solution is to store it locally and buy less from the grid, then.
Indeed it makes no sense to have a 64-bit physical bus, but the parent was asking why we don’t have 128-bit yet on consumer devices.
I don't want to hijack by focusing on your second footnote, but:

> I had a recent debate over whether a border should be 3, 4 or 5 pixels wide, and was asked to prove my case. I can’t operate in an environment like that.

Can any designers explain why it's unreasonable to provide data for a decision when you operate at Google's scale, and presumably can come up with that data very quickly?

It's one thing to override design based on data, and that's something that can be argued on its merits. But when the design answer is "one of these three," why not run the experiment and pick the best?
I think the Chinese tradition of accepted regular popular revolt makes this possibility weigh more heavily on the communist party's collective mind than, say, that of the Indian ruling party.
Nice, can you describe some of the interesting elements Elixir brought to development experience? How would you compare it to your previous tool of choice?

Great to see Elixir getting more use!
http://www.bloomberg.com/bw/articles/2014-06-24/googles-sund...

"And Pichai killed a project to develop a version of Android for touchscreen laptops—it overlapped with Chromebooks—shifting attention toward tablets and new categories such as smart TVs and wearable computers."
Not true - ground water accounts for 80% of Germany's drinking water, with reservoirs accounting for the rest. Germany has a very strong set of waste water treatment laws, but that treated water is either used commercially, for irrigation, or dumped into rivers and lakes, just like it is here in the US.

Before you get all high and mighty with your anti-americanism, check your facts.
hehe, true.

I had Meningitis when I was about one year old and a double Pneumonia when I was about twelve. But nothing happened in my adult life.
Is it? I think most water here in Germany comes from a long-distance water supply that is filled with water from aquifers (which regenerate fast enough though).

Sure, the wastewater gets treated to be extremely clean, but I think it just gets pumped into rivers.
The issue isn't free/paid, but variations in communications service performance based on the content of the communications or the parties involved.
When you replace the initialiser with 1, it should only initialse the first element to 1. Objects initialized in this way have unmentioned elements set to 0 or NULL (recursing into aggregates, initialising the first named union member). (See C11 standard, 6.7.9.21. 6.7.9.10 gives the rules for selecting the default value. Aside from the extra syntax, I don't think the rules differ substantially from C89...)

C++ lets you do "uint32_t array[10]={}", which is something C should allow as well, really. But it doesn't.
I downloaded the app just for giggles.

The entire DC area, and much of the Eastern US, is a no fly zone. Between DC having a 30 mile no-fly zone, and every heliport (which included most hospitals and many police stations) and airport getting a mini-no-fly, it's hard to find an area to legally fly.

I imagine most casual drone users will simply delete the app and pretend the FAA doesn't exist. What a mess.
That's simply not true at all, if you're paying the lowest, that means you value money over extra service and provided ample opportunities for competition in the market place and customers that want cheap service. They'll get what they want.

If there isn't ample competition or near perfect legislation, it doesn't matter what you pay, the service will eventually be held by a monopoly that can do almost whatever they damn well please.

You don't fight monopolies by paying more money, because as long as that's your only focus, the bar to entering the market will continue to rise until eventually you can't afford the `good guy`.
Never use int? Use uint8_t instead of char for strings? These are not best practices, this is a lot of terrible advice that will make many c people laugh at you.
Haskell bindings are here: https://hackage.haskell.org/package/argon2-1.0.0/docs/Crypto...
Whatever helps them get acclimated is fine. The problem is taking projects no one wants to do and forcing the new person to do it without help.
> It is about a change to Net metering and the addition of a new fixed monthly fee just for solar users.

I've predicted rising fixed fees for solar customers before [1] and I think it's just the beginning. When a significant amount of households have a solar installation they're not really providing a service to the grid anymore. Everyone sends a lot of power into the grid when nobody else needs it during the day, and then wants power from the grid at night.

So what you're basically doing is using the grid as a giant battery. The grid doesn't really need your energy most of the time, but has high fixed costs to maintain the infrastructure. I think it's just fair that you pay them for this service. If you don't want it, you need to get off the grid and install your own batteries.

[1] https://news.ycombinator.com/item?id=10473509
My experience as a one man operation is that you always have to make trade offs between building something yourself (especially if you actually need to learn a new skill-set to do it) and using someone else's solution. Honestly, in general this is essentially always the debate even at my regular job.

For me, Heroku has always been the choice over AWS or Digital Ocean. I haven't had it block me from doing anything I've wanted to do and my monthly bill is around $10 (for multiple sites). For my projects, I could never make a solid argument that moving away from Heroku would actually change the product for the end user in any meaningful way. And with the greater amount of time and energy I would need to focus on a non-Heroku server-side, it would likely slow progress.
You know that the way Solar City works is that they put the money down themselves for the solar panels and rent/lease (more or less) them to the users. Using Solar City, the large up front costs of solar panels are paid for over a long period of time. That is why they are so successful.

http://www.fool.com/investing/general/2014/04/18/what-i-lear...

http://marketrealist.com/2015/08/solarcitys-business-model-r...

It is actually unfortunate such an innovative company is seeing the negative effects of policy changes.
All of my drinking water is recycled. Pull it out of the well, put it back in the septic system in the ground where it came from.
The Case of Insecure MongoDB Defaults and 600TB of Data
>Does not initialise every element to 0 in the way it would seem to.

Yes it does, since atleast C99. As for the others:

a) Removing the initializer will leave the values undefined.

b) Using an initializer of { 1 } will initialize the first element to 1 and the rest to 0.
Many timezones, one team – how do you stand up?
This is basically an ad.
That doesn't sound like an in-house accountant (i.e. an employee) but that you are engaging an external accountant to work for you - completely different commercial relationships.
> cable company business practices

Nearly by definition, "cable company business practices" means shared bandwidth circuits, the business practices in question being network QoS attempts to make it profitable to offer shared network services at low cost.

I'd love to see a mathematical analysis of how much FIOS would cost if everyone got a 100% dedicated circuit at anything close to the advertised specs.

The hubbub about T-Mobile's policy is a misguided rant which idealistically supposes that all bandwidth should be sold in some idealized "dedicated" way with no QoS imposed. It certainly could be sold that way, but at a much higher price.
Discovering Hardware Topology in Rust
Please don't do that with drop shadows. The combination of the non-3d image and the 3d drop shadow makes for a really disconcerting distortion effect. Are the corners of the image curled up or not? A simple 2-3 px drop shadow on the right and bottom edges would look much better imo.
Poor Objective C, nobody likes you.

http://www.tiobe.com/index.php/content/paperinfo/tpci/Object...
Very few cities don't 'just dump the water back' - that's actually the way it works outside of a very very small handful of places. The reason for these treatment plants is so that the water that gets dumped into the environment is clean. Well, pretty clean - there are still things that aren't removed today with even the most advanced treatments, such as hormones/contraceptives...
There's a robot for that too

http://www.gizmag.com/tiger-stone-lays-paving-bricks/16951/