skysight-inc/HackerNews huggingface dataset:
How much personal info that you have, do you actually need? I don't know your business, and I don't particularly want to, but this is a good opportunity to review how much of the data you retain you even should be retaining.

If the amount is anything substantial, more than contact information and whatever data customers might choose to be hosting with you, then you are exactly the right target for GDPR and you should be spending whatever amount you deem necessary to avoid the fines.

It's harsh, but it is true that software and service companies in general, maybe not you, maybe not your company, are far too lax with personal info, and so now legislative bodies like the EU are choosing to address that issue, and the easiest way to be in compliance is to not have anymore customer data than you actually need so when you do get hit with a letter like the one linked here, you have a much easier time responding.

Will this strangle some businesses? Even prevent some from even getting started? Undoubtedly, but that is a trade-off I'm willing to accept in this world where every incentive is stacked against the integrity of my privacy.
Most applications will log ip addresses by default. Why?
1) Many security products rely on IP addresses in order to blacklist known malicious users (including fail2ban) and/or detect hacking attempts. Monitoring for stolen credentials b also will typically check IP addresses ie why is John showing up as being logged in from an unknown IP address when he's in the office with me? 2) It can be useful for debugging. Are those requests going to the right server? Is there one server where something isn't working correctly ie is that server misconfigured? 3) Some businesses are required to prevent screenscraping of certain data. Solutions to prevent that typically use and store IP address information.
The whole spreadsheet has been re-structured, to make it more practical and scalable.
Basically we have created a system that is very visual and which breaks tasks, projects and aspirations into workable, visual structure. Key is the UX.
I will keep that in mind but moving to a new country as a solution is something I'm hoping to avoid. :)
Subclassing and returning a new object instead of updating the existing one.
I'd like to see a day when [where it makes sense] products are sold with a "repairability index" which might take into account several axes of repairability [mandated by some regulation]:

1. Ease. Can minor parts which break down due to environmental factors be easily swapped out (things which wear or suffer from breakdown over time)

2. The parts make sense to swap-out (sometimes new items are more efficient and are better than repairing an old inefficient item)

3. Cost. The repair may not be cost-effective.

4. Environmental impact.

(others)

Example, I've had a washing machine break down and all it was either a plastic bit that broke, another time it was one of the switches. Those two things have extended the life over 5 years. Online forums help a great deal in figuring out what might be the issue.
> Because I think it's a lot harder (both for you and for your users) than you thought at the time, and I hoped you wouldn't waste your time (and your users' time) on it.

I believe it is possible to offer such a feature without declarative baggage. If it's not, then I don't want it ;-)

> Personally, I think GC is the way to go to keep your (programmers') sanity. If you worry about GC pauses in time-critical sections, provide for a way to turn off the GC temporarily for such sections.

It might be even possible to leverage Scopes' support for compile-time introspection to write contextual GC's from within the language. I haven't explored that yet. In games development we usually prefer to allocate in frames, stages or on custom stacks, so that's also a way to do it.

Installing a GC at the lowest level is a brutal choice that precludes many other possible ways this could go, so I'm cautious.
Wonderful article! I did not expect to read this on HN today at all.

I expect anyone with the undying love for Hopper’s work that I have to immediately imagine the harsh realities that produced these illustrations but alas I am mistaken.

Hopper was not a social artist! He was an embodiement of the eye, a conduit of visual experience. I would also argue Hopper was not a storyteller! He was more like a pornographer of light than a storyteller, and this is a beautiful thing.

https://1.bp.blogspot.com/_MLACmwsxaww/RjtOQOTDtGI/AAAAAAAAA...
Ask HN: Where to get information about payment systems for developers?
I want to get some knowledge in Finance for creating software products. Invoices, Invoice Lists, Payouts, Recurring payments and so on. Information on the internet is too dense and located in different places, we want to integrate payments and add payments microservice into our architecture. Is there any place where information is given about such processes and about finance glossaries?
1 can be done by checking but not logging IPs, which we certainly did (we'd tcpdump traffic and throw it in iptables) or logging IPs of malicious requests but not of normal behavior.

2 is what this regulation is intended to stop: you shouldn't be trading off "it might be useful in the future" for "it can be misused by authorized users, or exfiltrated by hackers".

3 seems reasonable, but does that require a retention policy of more than a couple of hours?
Ask HN: If you were to relearn programming today how would you do it
Any books, websites, languages, tools would be helpful. Thanks
We know of quite a number of large scale migrations into India, I don't know why we should doubt that the Indo-European entry into India contributed significant genetic material. I know there are some fairly recent studies on the actual genetic DNA material linking Indians with Europeans, but I'll have to dig these up (the language side is my area; not the genetic side).

The place of milk in especially early north Indian culture (but continuing into today, esp. say in the Punjab) is not like ice cream parlours in China or whatever. It is quite clear that a large percentage of caloric intake would have been from milk products, and seemingly not primarily cheese, but milk/cream and butter/ghee. The prominence of milk products in India for the last few thousand years is not at all in doubt (and, again, not in the sense of eating the occasional ice cream and farting).

No-one is saying that Indo-Aryan was the first language in India, so I don't know where you're bringing that in from. The Dravidian speakers emigrated into India either around the same time or before the Indo-Aryans, and the Munda speakers seem to have been there earlier than either, and it is quite clear that there was at least one other language family well established in India before the Munda speakers entered (quite possible multiple language families) as attested by the large percentage of words of completely unknown origin in languages like Hindi for agriculture/crops, as well as the languages of the Andaman islands.
It’s already been automated.

https://selbstauskunft.net/ exists to allow you to send a BDSG §34 request (like GDPR request, but under the older German law for it) to basically any company. You select the company, sign it, and they automate all other steps.

I’ve sent dozens just this week.
Nitrogen Gas Is Now the Execution Method of Choice in Oklahoma
In general, I think the whole idea behind these rights is to incentivize companies to implement well-documented and automated processes for dealing with user data, and to keep the data in as few places as possible.

That in itself is reasonable, but it lacks the proportionality aspect that is so important. My own objections to the GDPR aren't about the spirit in which it's intended; while you might not guess it from my comments on HN today, I'm generally a very strong advocate of privacy safeguards. Instead, my concern is the amount of additional red tape and ambiguous obligations that the GDPR appears to be introducing for what ought to come down to simple questions like whether you are using personal data only for legitimate purposes and you are storing it safely, which plenty of us already were anyway.
> Remember that Facebook gives you zero access to users’ data just for being an advertiser.

As an advertiser you can target users based on very specific details, and track any user that responds to your advertisement campaign.

You get all the access (AKA, you know which part of your customer base resulted from targeted ad campaigns, so anything you can target on, you can attribute to that subset).

Regarding elections and digital platforms, a Dutch policy advisory states that the government should disallow non-transparent political advertisements (all advertisements should clearly state who sponsored them and to promote which political cause, if any), and to ensure that political parties can not hide their trade-offs, they shouldn't be able to micro-target people with a different message (increase taxes vs. decrease taxes, depending on what makes the user more likely to vote for you).
I remember when Thailand had heavy floods which spiked the cost of hard drives for years.

Here's the first article I found about that incident, claiming HD prices shot up 50% in one week.

http://www.tomshardware.com/news/seagate-wd-hard-disk-drive-...
Very good explanation. I liken the scheduler to an auto-pilot that takes over with irrelevant tasks and which needs to be interrupted and guided.
The Data That Turned the World Upside Down – Motherboard
Ask HN: I just noticed my GitHub repository is missing all of its ssh keys
Anyone know how that happens? I haven't used them in a long time because I've been on bitbucket for a project for the last year.
Web development might be very different -- both more organized and understandable, and less error prone -- if state machines had been adopted more widely than the active record pattern.

State machines are a natural fit for audit logging and replay, both issues that come up whenever your "models" go into production and customers report errors.
It does not work like that. The whole thing needs to be a single crystal. If a minute temperature change creates a second grain in the melt, it is all gone, along with the crucible.
Facebook Suspends Cambridge Analytica, Data Firm That Worked on Trump's Campaign
I picked up a Steelcase Leap v2 for $150 at a store that specializes in liquidating office furniture from companies going out of business. On the one hand that means there isn't much of a market there (almost 90% discount for a few years old chair is pretty steep) but ... there is a market.
Zoho CEO here. Please take a look at our Workplace suite (Mail, Cliq, Connect, Docs & Office suite - collaboration and productivity) and judge it for yourself. Our Writer (word processor) and Show (presentation) have had major upgrades recently, and Sheet is getting upgraded too.
This is more of an experience thing, but it is usually very obvious if something is poor quality. A good thing to look at is typically the plastic parts. Look for signs the mold was in poor condition or cheap such as excess flashing or surface roughness. Another thing to examine is how thin the parts are, and presence or lack of reinforcing ribs. For comparison, take apart something like a Milwaukee cordless tool vs. a cheap no-name equivalent. AvE on YouTube does these kinds of teardowns, and does a decent job of explaining design decisions, but is definitely NSFW.

Stress testing screws would be pointless for what you want to achieve, but like the other commenter said you can look at them too find signs they are poor quality (irregular heads, bad plating, etc).
Maybe for routine requests, but not when you get a letter on a legal matter from someone who is clearly looking to cause trouble.
iFixit keeps such an index for most electronics products.
This is so good. The lectures broken up into shorter videos are great. Thank you for posting.
the cap across the power lines also provides a reservoir of power closer to the little microcontroller and other bits inside of the keyboard. an old keyboard might actually expect to be able to draw more power than a modern ps/2 port cares to provide, which would cause the microcontroller to reset at some point during its initialization process.

you could try to check that by putting a fast voltmeter across the power lines at the keyboard end and checking for drops.

you could also just try to fix it by replacing the cap with a higher capacitance one. maybe double or triple whatever capacitance is already in there. (can't go too high or the motherboard might think you've shorted the power line.)

might also check the resistance between power and ground in the keyboard (when it is disconnected, of course) and make sure that it hasn't developed any shorts or otherwise inappropriately low resistance between the power rails.

seeing how it behaves on different motherboards or some usb<->ps/2 converters might be informative, too.

in the unlikely event you're in the vicinity of boulder colorado, i'd be happy to look at it.
Is It Time to Panic about American Ignorance of Deep Learning?
You're suggesting there isn't an ideology moving the US government? Every country has an ideology, a doctrine or something like that, and independently of the sheer number and diversity of its population, what's ALWAYS discussed when someone mentions a country is its government and its policies, including foreign policies. You're bringing a no true Scotsman to the table, which is a fallacy. From its foreign policy on Vietnam, the US does not seem to "give a shit" as the OP said.
Big Tech needs to face a Theodore Roosevelt-style trust busting
The original post to which you replied begins with:

> As I said before, resource management is first and foremost a matter of correctness, so performance is neither here nor there.

Your proposed alternatives, namely:

> In Modula-3 or D, as possible examples, a solution might be destructors or scope attributes.

merely offer automation, not verification. Automation without verification simply makes screw-ups harder to undo.
Yes, perhaps, but there is no reason to expect that they will without heavy intervention to make it so.
In real world you stretch a square and it may become a rectangle. So in OO even type of an object should be mutable if you want to model real world closely.
In my country a bike bell is mandaded by law on all bikes using public roads, altough it's not really enforced. All of my bikes are equipped with one, even the mountain bike. Pedestrians are not that used to bike bells and about 20%, especially the elderly can't hear it or choose to ignore you. People with kids on the other hand are always vigilant.
Capacitive and Resistive Touch Sensors for Wearables
There are some things which manipulating supplies are not allowed. These typically are foodstuffs, water, medcines, and other basic needs, under some circumstances.

I'm not sure Electronic components fall in that category.
All the right people hate Trump. It's as asset to him. He clearly courts and benefits from the silly moral outrage peddled against him. The same people outraged by Trump's consensual sex advocate every conceivable form of sexual deviance, oppose public exposure to the Ten Commandments, embrace and promote Islam, and they outright despise Middle America, our culture, values, and us as human beings. The arbiters of tolerance have less than none for Trump or anything he does, nor do they tolerate his supporters. This creates division, cleaving off such a large portion of the electorate that Trump became president simply by painting himself as a regular Joe billionaire who is oppressed by the left. That's why he thought it would be a good idea to run. That's why he won. Because of the closed-minded bigotry of supercilious coastal elites incapable of seeing past their self-congratulatory narcissism. I.E., exactly the attitude you are expressing. I don't mean that as an insult - I want you to understand the dynamics at play. This is how Trump's supporters feel.
> Why are you storing IP addresses in your logs?

Both Apache and Nginx (and others?) log IP addresses by default. The expected result of this is that storing IP addresses in server logs is widespread, useful for troubleshooting, and entirely normal.
There is a market for that - commercial washing machines intended for multiple-use like in dormatories or laundrymats.
My managers might want to fire me at times (and some have tried and failed) but ultimately I think I have enough value that it is worth keeping me around.

I am glad to see medication is helpful for you! I have tried it, but I didn't feel like the benefits outweighed the risks (the irony).
By energy storage, I assume you mean the energy stored in diesel, and released when combusted and used to turn a generator. If you are referring to batteries, do you have any links? I would be really interested to learn more about large scale datacenters that are using something other than diesel/natural gas for backup power.
I think if you can easily automate it this is the time to because it will make everything easier as privacy rights continue their spread to additional countries and on to the UN's charter on human rights. Granting the rest of your users the same rights before they officially have them seems the right thing to do because it does not seem ethical to only uphold some of your users privacy.
Though, at the same time, some of the overly racialised interpretations of the 19th-century have been shown to be rather off track. There was a picture painted of pale-skinned Sanskrit speakers sweeping into India on chariots and dominating and slaughtering dark-skinned Dravidians (and others). That does not seem well supported. The Indo-Aryan speakers certainly were warlike, but the battles narrated in the Rgveda involved Indo-Aryans on both sides, allied with non-Indo-Aryan speakers on both sides; as well as people with overtly non-Indo-Aryan names sponsoring rituals in the Rgveda. (None of this goes against your primary point. And certainly we know of plenty of militaristic invasions of India in more recent times, including the Mughals.)
Billionaire signs up to be killed, have brain digitally preserved
Tell HN: New Google finance sucks
Can’t tolerate it. Please recommend alternatives
I really enjoyed Deep Space 9, too. It's got a comedic twist, and I just can't get enough of Quark and the other Ferengi. The Grand Nagus Zek, whose mellifluous voice I was sure I'd heard somewhere before, turns out to be played by Wallace Shawn, the "inconceivable" guy from the Princess Bride.

https://www.youtube.com/watch?v=SG_A0IOCfdM

One of the important ongoing themes is the relationship between Commander Sisko and his son Jake, which this article is about:

Deep Space Nine Is TV’s Most Revolutionary Depiction of Black Fatherhood

http://www.vulture.com/2018/01/deep-space-nine-revolutionary...

Here's an interesting interview with Avery Brooks (Sisko) and Rene Auberjonois (Odo):

https://www.youtube.com/watch?v=DnWmATqfebQ
Those cafes are a great idea! I recently opened a high quality blender (forgot the brand) and found a cog made partially of metal with one small part made of plastic which will break first due to wear and tear. Otherwise this little motor would run forever.

Is it normal these days to put in breaking points to artificially shorten the life of appliances or does this have a purpose?
Ok, as a regular citizen, in order to go to school, university, hold a regular job, etc. the things I mentioned are unavoidable.
I find it sad and amusing that turning every piece of equipment off and on again would have fixed the symptoms, i.e. flushed the caches.
I’m confused about your analogy. Indo-Arabic number representation enables one to mentally carry out computations that would be much more complex in Roman notation. The notation might not be the solution, but the notation certainly enables solutions not really conceivable in other notations.
Charming response :-) Entire industry dismissed in a single HN comment. Poof!

I'm not sure we understand "data discovery" to mean the same thing, but you reminded me of "How To Draw An Owl":

http://sethgodin.typepad.com/seths_blog/2014/01/how-to-draw-...
https://en.wikipedia.org/wiki/Anti-lock_braking_system#Early...

https://en.wikipedia.org/wiki/Fuel_injection#Mechanical_inje...

I'm not saying computers don't do these things better.
It's fun. Especially when you are first starting out.
Till death do us unite: Japan's dark tales of love
> It seems to assume the person in question has no intelligent reason behind their thoughts/opinions.

If they had, they wouldn't systematically resort to baseless appeals to authority, whose only purpose is to intentionally avoid having to present any semblant of an intelligent reason.
Microsoft: http://www.datacenterknowledge.com/archives/2012/09/17/micro...

I mean, it's sort of silly to locate your data centers where you can't use on site renewable generation, no? If you're going to put a datacenter somewhere due to low land costs, but still meets your user latency requirements (speed of light), if you can generate onsite with solar and meet your consumption needs, and battery back it, and have utility power, you don't need large diesel gensets for battery backup (gensets that are rarely used but depreciating constantly).

Apple built a 200MW solar farm to power its Reno, NV datacenter. It also built a 50MW solar power plant on 300 acres in Florence, Ariz., which is used to power its Mesa data center. They use 100% renewables to power all of their data centers.

https://www.computerworld.com/article/3161732/sustainable-it...

And in manufacturing, Tesla is covering the entire roof of Gigafactory 1 with solar. It can be done.
Well, this is the only explanation I have for loss on such scale, and the fact that wafer manufacturing is the only thing that can't be usually backed up with UPSes.

All DRAM fabs use a lot of proprietary pixie dust treatment for wafers these days, and it is not looking improbable that they had a wafer manufacturing on site.

If they were to loose power on a stepper line, they would've only lost wafers being currently processed.

On my memory, there was a number of wafer shortages when Taiwanese wafer makers had similar incidents. As far as I was told, if a crystal forms on a crucible wall, touches it, or moreover the whole thing freezes, a big part of equipment becomes a write off, and after that it will take few months for a company to resume production.
I don't even care if this is arm chair psychology, from a literary standpoint this really ties the piece together. The Santa example doesn't make much sense otherwise.
Is that really tail recursion though ? Seems like you are making two recursive calls to fib(). I thought tail recursion requires a single final call to recursive function.

Your memorization helps, but seems you will still run out of stack space if you call it with a big number without a warm up.
Ask HN: How does Apple Maps know where I'm going?
This morning I got in my car to go to the gym, and on my phone's lock screen I could see a push notification from Apple Maps that read "15 mins to get to [gym_location]".

I'm very picky when it comes to which apps have access to my location, and Apple Maps' location access is set to "While Using" - but I _rarely_ use Apple Maps (maybe once every 6 months, by mistake). Further, if I ever did use Apple Maps at one time, I always quit any app after I'm finished using it.

So how does Apple Maps know where I'm going? Mind you, while I do tend to go to the gym on Saturdays, this morning was the earliest I've _ever_ been to the gym (by a long shot). If I've never used or had the app open in the background while going to the gym, how does Apple Maps know that I could even be _possibly_ going to the gym? Especially given how early it was in the morning?

I'm quite creeped out.
Ah gotcha. Yes in the current situation we can do nearly everything that the concepts proposal for C++20 does with enable_if, void_t, and a few other helpers. Though concepts have the benefit of letting you "say what you mean", instead of relying on template magic.