skysight-inc/HackerNews huggingface dataset:
I got my car in March 2013 and have 75K miles on it. I haven't noticed any degradation.

I'm sure if I were really careful to measure, there's been a few % of degradation, but nothing on the level of what you might experience from a 3 year old mobile phone and I never look back longingly on the days when my car could go further. There's no trip I took 3 years ago that I wouldn't take now.

There's an 8 year, infinite mile warranty on the battery, but there have been differing reports on when it gets replaced. I have heard numbers ranging from 15-30% capacity loss, but I plan to drive it for another 5 years, so I'm sure I'll find out.
Rock Against the TPP Heads to Portland, Seattle, and San Francisco
Google controls the web
Schneier is basically blogspam. Quotes entirely from another article, follows up with "I don't know what this means???" Why do people keep reading him?
Apple Acquires Machine Learning Company Turi for $200M
Am I the only one who feel sorry for the guy sitting behind that mother occupied with her child. Perhaps he might be annoyed? :)

I am all in for an onsite child-care facility as long as it is a standalone facility. Looking at the pictures, it looks like children are all over this office. Not being a parent, I can still comprehend the hardships of new parents who have to juggle between childcare and full time jobs. But having a baby does not give you a golden ticket to do whatever you want (NYC subway stroller parents please don't ram in a Humvee size stroller during peak hour). You have to respect the common shared space such as office space. Some people are not that fond of cute pudgy babies, not to mention the distraction etc..

I do support an onsite childcare facility and wish more companies will do the same but they should make sure that kids stay inside such facilities only where parents can check on them during their breaks.

parents please don't get defensive here. This is just an opinion not an ignorant insensitive slur towards parents and their young ones
A more aggressive charge cycle will affect battery life-cycle, but even the Super-Chargers don't pack enough current for it to be really detrimental.

110v is just woefully inadequate for charging a pack that large.
Is that sustainable? For Tesla I mean. They can't keep changing drive trains for everybody at no cost.
Yes here : http://epsilonwiki.free.fr/lambdaway/?view=curl
The quiet revolution in precision temperature sensing
I have two screens, one of which is vertical. It's the one I usually use for web browsing, because reading is just nicer if the columns aren't too wide and lots of stuff fits vertically (I can see an entire page of Google search results, really nice!).

Tons of sites assume a width of something that is obviously greater than 1080 pixels and break in awful ways.
"replacing 3 in wherever you see 1000 in this post is probably a good idea"

...which really means "I have no clue where this will break when scaling".

Cute, but not terribly insightful, and possibly risky in an age where following recipes off the Internet is too often the first step towards production :)
Unfortunately Lambda falls apart a bit when you want to do any on-request HTML generation.

You're also kind of stuck with hash URLs if you want to link to anything in your app.

If you've got a truly single page app hitting an API, or you can generate pages and upload them to S3, you're golden.

But there isn't currently a way of having Lambda serve up dynamically generated HTML pages without some funny business.

I'm sure this will change in the future, but it's stopped me from using it for now.
I still find myself absently hitting the backspace key to go back once I've finished reading a long page and moved my hands away from the keyboard/mouse. Then I mash the key for a bit to bring up the alt+left notification hoping that maybe it will put a blip on their analytics radar.

I guess it's good that they officially released something to allow this, but it still seems totally absurd to me to need and extension to modify a single hotkey.
I share that slightly nihilistic vantage point in principle. I don't find it helps make decisions too often. I'm much more helped by thinking I exist, treating existence as a concept, requiring no metaphysics.

Nitpick on "illusion": A map is not an illusion of territory; it's a tool for navigating. Mirages and disappearing coins are illusions, useless for navigation.

Nitpick on "bla bla competitive America": lots of people outside America believe they exist.
Less meddling in taxi regulations almost anywhere not-NYC. Medallions are a huge scam and are a very powerful market manipulation by the govt.
Another one of the things I really miss about the pre-JavaScript, pre-CSS, document-oriented (as opposed to the current experience-oriented) web is being able to make my browser window half or a third of my screen, and having documents be eminently readable.

Man what I remember was doing multiple columns using Tables in HTML which never worked in anything under a 700px resolution.

Case in point this beast:
https://web.archive.org/web/20010503213654/http://www.techtv...
Drew 8s skewed slightly toward left, ended up with "6" or "3"
No, HN has a responsive layout - it works well on any screen size. (Well, hitting the correct arrow on mobile is still hard, but at least there's an undo button now).
They are of varying sizes. We have maybe 3-4 per developer. And they vary in size. The smallest are maybe 5-6 python classes.

To be honest, we still have a monolithic application at the heart of our system that we've been slow to decompose, though we're working on it. We deploy it on a regular cadence and use feature flags heavily to make it play nice with everything else.
Serial acquirers almost always are in throttled layoff mode. It's how they justify the acquisitions. Companies that have been passed by the market (think IBM) tend to cut gradually over time. Occasionally you have companies where both have happened. (Think your phone or cable company)
Only easier to understand if the commit messages suck. If your commit messages are descriptive, and each commit is an atomic unit of work (in other words: following best practices) rebasing has thrown away history that you can never get back.
I don't understand how his warranty isn't void for operating the vehicle as a taxi.
Yes, but twice? The whole drive train. Maybe it's simpler to replace it and refurbish it later, so they just take out the old and give you a new one.
They only do it for 8 years, part of their Infinite Mile Warranty. [0]

0 - https://www.tesla.com/en_CA/blog/infinite-mile-warranty?redi...
I am interested in studying Computer Science Theory for the Information Age by Hopcrot and Kanaan[0]. How do these books compare? Is there much overlap between the two? Are they totally different?

[0] https://www.cs.cmu.edu/~venkatg/teaching/CStheory-infoage/ho... (PDF)
Sometimes good advice, but certainly not a rule. As Pinker points out in "A Sense of Style", passive voice lets you modify word order to emphasize what's important to the reader.
Ah techtv, you bring back lots of memories.
Documentation is scarce, I had understood that Docker 1.12 uses it's own service discovery mechanism.

From here (https://docs.docker.com/engine/swarm/swarm-mode/#view-the-jo...):

"...starts an internal distributed data store for Engines participating in the swarm to maintain a consistent view of the swarm and all services running on it"

Here are the docs for "swarm init" in docker 1.12:
https://docs.docker.com/engine/reference/commandline/swarm_i...
Part of this is how well U, S, A works as a chant. People don't say Canada, Canada, Canada, or America, America, America.
Yeah but you could scroll your window horizontally to only keep the useful column visible.

Now it's "HEY I SEE YOUR SCREEN ISN'T WIDE ENOUGH TO FIT TWO COLUMNS OF ADVERTISING ON THE SIDES. HAVE THE CELL PHONE LAYOUT WITH FULLSCREEN POPUPS INSTEAD!"
Could you elaborate further, please? What you don't like and what could be improved? It is a small project and I didn't think it'd make it to the front page but yet here it is, so some people must like it and see something positive.
I think I see what is going on. Could you be seeing both wearing skimpy clothing and leaving your door unlocked as very minor crimes?

From that point of view, getting robbed would be a minor punishment fit for such a minor crime, while getting raped would be a major punishment, disproportionate for such a minor crime.
The Tesla battery pack comes with an 8 year, infinite mile warranty on all cars. Some small amount of capacity loss is considered normal over time, but from what I've read it's generally been pretty minimal.

My own Model S is only about two years old with a bit over 20k miles on it, so I don't know how things will go once the car gets older, but so far it's lost <1% of its range.
I've been saying for years that CSS is more trouble than it's worth if you're not writing your pages by hand. If I know that this element is an address field, I can style it like an address field, then and there. (Maybe optimize by using a uniquely-named class, or maybe not - pages are sent gzipped, that may well be good enough). Reusable, self-contained components are a great idea - but to be truly self-contained they need to include their styling.
This is really irritating. Not just because of the actual problem, but then because it feeds into the China vs America "conflict" which only exists to serve as an us vs them narrative on both sides of the Pacific. Everybody loses. China is playing this game just like the United States is.
In high school, my friends and I would visit Walmart just to walk around the store and talk. This town did not have much else to do, in the way of social activities.
> A small team starting a new project should not waste a single second considering microservices unless there's something that is so completely obviously decoupled in a way that not splitting it into a microservice will lead to extra work.

That's a good point. I think this thought extrapolates to other parts of software engineering as well. Sometimes writing very modular and decoupled software from the beginning is very hard for a small team, and we can't see well if this is the best approach since it's also hard to grasp the big picture.

I'm currently facing this issue. I'm trying to write very modular and reusable applications, but now I'm paralyzed trying to picture the best patterns to use, where should I use a facade, a decorator, etc. I think I'll adopt this strategy for myself--only focus on modularizing from the beginning if it'd lead to extra work otherwise.
> You don't trust Microsoft ... but trust some random .exe from a forum?

Perhaps the level of run-this-binary trust is about the same for both sources, but he trusts the motivation of the random-forumer more than those of Microsoft?
I came across this [0] a while ago. Really good collection of landing pages

http://www.land-book.com
How we acquired a grew a startup to $30k MRR in 90 days
Stoxnet was discovered by Belorussian anti-virus company, Duqu & Project Sauron were discovered by Kaspersky Lab. Are US-based anti-virus companies that bad or ...?
I don't see the post as arguing against a framework per se, but arguing against pulling in and using code for things you can do as well or better without it, and only pulling out the heavy guns where it's actually necessary.
With Windows 10, Microsoft Disregards User Choice and Privacy
I have two small childern and thought the same thing. Bringing an infant/toddler around to meetings would be highly disruptive.

I would prefer having a shorter workday where we can just efficiently get stuff done and then go home to the kids.

It's also a little disappointing the way the writer completely writes off men being caregivers to kids.When I started reading the piece I was thinking "yeah, onsite childcare would be kind of nice," but nope, apparently the writer thinks this only for women.
And I guess that it removes any interest in this work!
Uber files legal challenge to incoming rule changes in London
I really liked it :)

I don't think it was too hard to "get" at all.

I liked scrolling back up to re-understand previous entries with new understanding (e.g. "But everything seems to remind me of him": at first I thought boyfriend). It's much easier to do this with a text-based (with previous entries visible) than with something like the movie Memento.

And then the reveal at the end gave me an instant big grin.

And then I could re-read the entries in the forward direction to re-understand the missing pieces again.
Those are posed pictures for a PR piece. Don't take it literally. They are probably a bit ill-conceived, since pictures of happy kids in the care centre and happy workers in the office might have got the message across better.

I expect most parents are like me: happy to have a kid-free zone to get some stuff done.
Security Against Election Hacking – Part 1: Software Independence
Absolutely. Yet in some cases perhaps we're so easily duped only because what we're learning to distinguish is not such a strong signal; it could be an education in overfitting.

https://xkcd.com/915/
"Consider the possibility that if the greeters actually prevented a significant amount of shrinkage, walmart would have kept them."

It's a possibility, I guess. But I've seen enough MBAs cut costs with poorly understood consequences to be a little skeptical of that assertion. How would they even know? Did they run a controlled experiment? Or did they just say a prayer to Jack Welch and cut anything they could?
I find myself fighting with the morality of it all. I grew up with a lot of friends whose parents were prison guards. My hometown of Malone, NY is the site of 4 separate facilities (a state supermax, two state medium security, and the county jail). Add an hour or so to the commute and there were a few more that have closed in recent years. I always thought it was kind of cool as a sheltered white kid (that is, except the one time when a state trooper held me at shotgun point and searched my car for an escaped convict, and the whole Clinton Correctional escape and manhunt that happened last year). Some friends went down the same path themselves. It's a good middle-income job, and you get to leave all your work at the office, so to speak. These are all bad, guilty criminals from cities far away, anyway, so it's not like they don't deserve it (or so I thought).

Then, after growing older, going off to college, and meeting and becoming friends with people of color, I gained some perspective, and I have trouble accepting it as the cool, safe job it once appeared to be. But what are these prison guard friends I grew up with supposed to do? Fight against the system that puts food on their table so they can get laid off when the prison closes and have no other marketable skills?

In the end, I have to fall on the side of what's right; better laws on crime should force the prisons to be downsized or closed. More families suffer because of the incarcerations than would due to the potential jobs lost. I just wish our elected officials would/could do more to spur job growth in other industries.
Science Without Open Data Isn't Science
Will publish PT II if folks want to know exactly how the acquisition went down (incl email screenshots, negotiation points, etc).
I've been wanting to use these in some of my CSS, but I had never considered the case where a browser supports a feature, but doesn't support `@supports`. My best guess is you'd need a three stage CSS file to support that: first, use the new feature, then `@supports not` the backup code, then `@supports` the new feature. Maybe I won't be using this for a while...
Yeah, exactly. Some are actually just funny. Some are crazy.
I don't think you can legally drive for more than 8 hours in the UK(as a commercial driver, you can drive your personal car for as long as you like).
This is a personality thing I think. Some people do want to just stick with what they know by the time they are 25 and would rather be unemployed or in management than learn something new. I'm 45. I've worked in video games for my entire working life. Yet throughout that time I've shifted roles drastically every 5-10 years. This keeps things fresh and it lets me stay employed and in demand without having to become a hands-off manager or sit in the corner working on legacy code.
The article waits until the end to mention that Patagonia's been doing on-site child care for decades, and before considering tax advantages. I've been considering agitating for a small trial program at my job just because it'd make the place more human and welcoming.

Patagonia has been making a concerted effort to raise awareness of on-site childcare in recent months; this article appears to continue that mission.

From a scrappy start-up perspective, Chouinard claims that having a ready bank of testers was important for the development of Patagonia's children's clothing line.
Not from what I've read. The Tesla battery pack has some sophisticated heat management capabilities that dump the excess heat generated while super charging.

The most damaging things you can do to the batteries is keeping them 100% fully charged or completely discharging them.
Interesting, this wasn't just a modern problem. But a long standing issue in American history - even connected to their 1980s Olympics.
> I think config-mgmt tools can be extremely useful if your running a widely-ranged environment. But, you probably shouldn't be running a widely-ranged environment. If you keep things simple, and run as homogeneous as possible, you probably don't need all the added complexity.

This applies to small environments. If the environment is large the situation almost reverses.

Deploying automation throughout a large homogenous environment is where config-management tools really shine. They make it easy to ensure homogeneity is maintained (even if that just means ensuring all machines have the same set of shell scripts) and allow grouping for staggered updates.

If the environment is widely-ranged and large, the utopia starts to break down. Their configuration explodes in complexity and (if you're not careful) you end up with mostly the same amount of work as if they were managed as small independent environments. With the added risk that there is now a single place from where you can break everything at once.

And this happens... Usually from wrong assumptions of what's common between all machines in the environment. In homogeneous environments almost everything is common, but in widely-ranged environments you sometimes add some configuration that wasn't there before and you think applies to the whole set and all hell breaks loose. If you're lucky this will happen suddenly, if you're not, breakage will spread slowly and you'll spend quite a lot of time scratching your head on why.
Take the Ultimate REST API Test Challenge
Reminds me of one of my favorite UI books: "The best interface is no interface"
Yea. The most realistic way to get things working IMO is Dockerfiles with 80% use case defaults for parts of the stack. From there if people want/need to dive in and tweak them they'd have the ability to do so but ideally the average user doesn't need to know they are touching Docker much beyond knowing that it's there if they need it.
yeah see that command? --token

that goes to some docker owned server, ask for nodes, and join/create the swarm as necessary. I wouldn't build the cornerstone of an infrastructure on this, like, never.

there's an undocumented feature I just discovered to use a local token server, it seems, but then you're back to square one.

> documentation is scarce

for being a container, documentation is not just scarce but outright insufficient - especially in regards to its failure and recovery modes
What do you mean it won't scale, scaling is as simple as changing the 3s to 1000! Risky??? Just change the 1000s to 2000 and you have even moar scale!
Laptops is usually considered mobile, and there Intel is king. The OP is right that low power has been Intel focus for the last few years which benefits both laptops and servers.
Would this case never have come up if Android wasn't open source? It sounds like it might be incentivizing the wrong things.
You are correct - the interesting question is whether or not the Tesla pack has enough extra but unreported cells to cover that drop over time so you don't see the losses.
There isn't anything enjoyable about a wall of posts honestly. I'm glad that trend on every copycat site died out.
Like a cellphone and the internet? Or better yet, something with heads-up display like Google Glass. Or Siri/Alexis with throat mike and headphones.

Augmenting my memory since reading about the Remembrance Agent and getting into wearable computers in the 90's http://alumni.media.mit.edu/~rhodes/Papers/remembrance.html
PR piece or not, USA really is behind the curve when compared to other modern, forward-thinking countries. There was a great discussion here maybe a year ago about an american family moving to Switzerland or something along those lines and reaping insane benefits to their family and financial wellbeing.
> Maybe it's simpler to replace it and refurbish it later, so they just take out the old and give you a new one.

That's exactly right. The whole drive unit can drop right out of the bottom of the car, so when there are any issues, Tesla will just replace the whole thing so that you don't have to wait for the unit to be repaired. They can then refurbish the broken drivetrain on their own time and then use it to replace someone else's failed unit in the future.
Ik dont think responsive layouts is what he meant by mobile site.
That's the nice thing about JVM languages. They get all that infrastructure without having to use Java straight up.
You can't really shut down and restart a Redshift cluster on-demand, since they take hours to start up on a larger dataset. So you should take the standard pricing and assume it's running 24/7(maybe you can shut it down on weekends or on holidays).

Last I looked, that was something like $7500/year on-demand for a single 2TB node. Multiply that by the number of nodes you need to store your data. Probably you'll want to prepurchase a year to get the better pricing and tax benefits; I think that brings it down to $5000/year.
How would you send an email when an event occurs (e.g. user registration) if your only backend logic is stored procedures?
Or what? I'm not following, but I think its clear that state malware disclosure is political.

If Kaspersky finds a Russian FSB trojan, they won't go to the press. They'll call their pals at the FSB and ask what to do. In an authoritarian state, revealing such a thing could be life threatening. In other words, Kaspersky isn't going to report on Russian state malware, which we certainly know exists considering the documented attacks on Ukraine, Baltics, Georgia, etc.

The US/EU has a stronger freedom of the press tradition and doesn't often follow autocratic staples like murdering inconvenient journalists and serving them polonium tea, but obviously jail-time can be in the cards if laws were violated. I imagine its just safer to report on Western state sigint compared to autocratic/authoritarian state sigint, thus we hear about Western sigint efforts a lot more, especially in the Western press. One of the downsides of having an open society is that you see the warts and all, but a more closed autocratic one has better infomation and propaganda control, so the perception of "those things don't happen here" is easy to sell to low-information constituents, and special efforts are made to keep them low-information.

Also, I think its clear Russia uses Kaspersky to make western intelligence look bad. Its more demoralizing to have a AV vendor point this stuff out than one's own security apparatus and its a good cover for the FSB's own hacking. Wired has written about the FSB/Kaspersky connection before. Note its almost always Kaspersky finding Western state malware, not the dozens of other competent AV firms and thousands of top tier researchers. Funny how that works.

http://www.wired.com/2012/07/ff_kaspersky/