skysight-inc/HackerNews huggingface dataset:
They are following their roadmap, the Model 3 is next at $35k. Not cheap, but certainly affordable for many. Average new car price is $33,560 [0], so it's pretty amazing if they can hit that price with an electric vehicle. Also amazing considering Tesla shipped their first car in 2008 and have completely rejuvenated the electric car market.

[0] http://www.usatoday.com/story/money/cars/2015/05/04/new-car-...
Does anyone have any opinions on DropWizard as a framework? Is it the minimalist web framework for Java, similar to Flask for Python?
Not sure how citizenship and stomach problems can possibly be related...
It uses a algorithm to approximate all the info not just speed (elevation,time...) based on the end and beginning of the segment.
Aaah the never ending debate about global warming. It's been proven to be a scam so many times and everyone has their favorites.

To me when NASA came and admit the rising temperatures on Earth do match up with rise of temperatures on most other planets of our system, including Mars, because the Sun has its rising/declining activity patters and some go into thousands of years, this was clear indication humans are like a drop of blood in a Pacific Ocean. AFAIK, there are not human-made factories on Mars.

End of discussion.
Actually, I was most curious about what happens when two Model X's park next to each other.
Sure, but I start my car from a standstill many times a day. I take my car to a test track -- once every five years?
Neither Microsoft (outside of Research, which let's face it is not too significant on practical Windows), Google or Apple do anything groundbreaking "in terms of overall architecture". You're trying too hard to put the free Unixes in a negative light when, in reality, DragonFly BSD (for instance) is quite more daring than especially XNU, or NT.

Most worthwhile OS research these days comes from universities. RPC in monolithic kernels is some 40 years old, I recall the old TRIX kernel at MIT that the GNU project was supposed to adopt way back, being based on that.

IBM is actually one of the more progressive companies, the GP is correct. Undoubtedly much more so than Google and Apple, and dare I say Microsoft (outside Research).
The number of points defining a cult change depending on who you ask, but from my experience they all have this in common - whatever the definition you take, Roman Catholic Church is definitely a cult under them. Some companies too, likely. Or pretty much any organization formed by people who decided to approach some issue seriously. Hell, haven't you heard that Hacker News itself is a cult, and pg is its leader? Or Less Wrong and Eliezer.

Of course, it is useful to have a concept to describe organizations centered around some bullshit beliefs, that lure people in and then harm them, but it is very hard to make a definition (especially for the "bullshit beliefs" part), partially because a lot of features assigned to cults are in fact features of efficient organizations. You have to evaluate beliefs and intent on a case-by-case basis.
Carly Fiorina: I Supplied HP Servers for NSA Snooping
That's sounds like an argument against "The problem here is people not knowing what's ethical." And accomplishes it, because the problem pretty clearly isn't that.

But the point still stands, that there should be some coordination among programmers to ensure that e.g. when someone is asked to do this, they have a group to fall back on, who's willing to help him/her out and boycott this employer.
Hacker News is a case in point. Its success and civility is due in large part to it being an enclave. Long time users and ycombinator itself has worried that it will be if not has already been a victim of its success as more and more of the general population is drawn to it.
Shame, probably. Most non-public code bases are not pretty to look at. Heck, even for most public code bases that still holds true.
> But even when the USA sees the light on proportional representation, there will continue to be winner takes all elections. Executive positions (president, governor, mayor), senators, judges, ballot issues, etc.

Maybe, maybe not. Most of those don't fundamentally have to be single-winner elected things, e.g., executive positions don't have to be single-winner systems; multiseat executives do exist, after all -- even many US states have multiseat executives, but do those by single-winner election with seats allocated by portfolio (see, e.g., California's "Constitutional officers".)

> In those cases, approval voting is the correct answer.

Approval voting is, IMO, generally a poor choice for most elections (its good for elections in groups where disapproval or approval is tied to some substantive commitment -- e.g., if you are voting on where to go to for lunch, and "approve" on an option means "I will go if this option is chosen".) It doesn't make a lot of sense for most other purposes (because "approval" doesn't mean the same thing across different ballots -- this is actually true, though to a far lesser degree, of systems that require a forced ranking ballot, which is why I prefer ranked voting systems that can use unforced rankings) -- for ballot props that potentially might conflict, a system that merges features of majority and approval makes some sense (that is, it takes a majority to pass, but in the case of conflict the larger majority trumps the smaller one) and is, in fact, already used in some places (e.g., its what California already uses for ballot props.)

> Easy to explain, easy to tabulate, most mathematically fair, hardest to game.

IRV isn't much worse on any of those, and is if anything more familiar (and if you are using STV for multiseat elections, IRV is identical, so even though its a little harder to explain on its own, if you are using STV elsewhere, IRV for single-seat elections is pretty much free in terms of complexity, either of explanation or administration.)
I wonder if this can already be done without waiting on government oversight. Essentially outsourced code review with liability protection up to a certain amount. All too often I see code reviews/projects that occur in an internal, self-reinforcing echo chamber. Even a tier of outsourced code review without liability protection but instead an accompanying seal of approval would make me feel better as an executive.
Perhaps part of the problem is that these interpreted languages have made programmers lazy.
Need of a support group or working for the surveillance apparatus does not imply idiocy, no more than you just implied being addicted to a substance implies the same.

If someone is perfectly content with what they're doing, then this is not for them. Simple stuff. But it's a near certainty there are people in there who are not content with what they're doing, who think it's varying degrees of wrong but keep doing it anyways because job, family, patriotism, whatever.

I would like to see our society stigmatize these kinds of jobs the same way an alcoholic is, FWIW. As in, if you're getting hired somewhere, having intelligence connections on your resumé is grounds for having it thrown in the trash.

You need not be a moustache-twirling Saturday morning cartoon villain to be complicit in perpetrating a great wrong.

And as far as brainwashing goes, you get wonderful things like this[1] being circulated in internal newsletters. It's bald-faced, pro surveillance propaganda designed to get those who it's intended for to stop thinking so hard about it.

[1]: https://edwardsnowden.com/2015/08/25/the-sigint-philosopher-...
i wouldn't be bringing a 2.5 ton car onto a track, but i also can't afford it, so my opinion probably doesn't matter anyway.
Lotus – A complete web framework for Ruby
Agreed. We should have a campaign to get more rational people to join the intelligence agencies.
Education only resembles a caste system because its availability is heritable. The quality of public education depends on the income characteristics of the geographical location you're born into; the quality of higher education depends on the disposable income of your parents (except at the most elite schools with full need-based scholarships for middle-class students).

I'd rather see us abandon the bizarre notion that education is in any way a parental or local responsibility. It should be federally controlled with uniform quality for every student and differentiations that make sense (on natural talent, effort, and specializations chosen) rather than those based on parentage.

Good education gives you a better understanding of what you're doing and the context of the world, people, and systems you're doing it to. Of course it makes a difference, and it should be available to everyone.
I thought that turning lights on and off is most of what causes damage to them.
Case for Defaulting to G1 Garbage Collector in Java 9
Sorry for the typos, I was typing this on mobile.

I meant "confirmed functional bug report"; and by that I mean a reproducible scenario that actually is caused by faulty code path leading to wrong result/behaviour. Usually, in my experience, bugs are ideally reported by people after some repeatable / confirmable thought-out process.

If I understood you correctly, you are automatically posting every exception to your bug tracker. My point is that not all exceptions are bugs. And certainly not all bugs are discoverable through exceptions.

> What sort of separation do you have between application exceptions
> and other types of exceptions such as database connectivity? How do
> either of the aforementioned exceptions/errors materialize into a bug?

These are great questions that you should be asking while architecting / implementing / testing / running your application (i.e. whole lifecycle).
Again, not all exceptions are bugs. Many, but not all exceptions are to die / crash your program. Many exceptions are definitely recoverable (unexpected input), while others are not (failed network, unreachable DB). If you are using a decent logging framework, it’s obvious that they have different levels for logging messages. FATAL/ERROR usually mean unrecoverable, while WARNINGs are typically recoverable but may prompt further investigation for the log audience, and INFO/DEBUG are generally harmless, non-error messages. This design has become widespread across many languages/frameworks and makes you ponder why.

> What does your workflow for logging exceptions and errors look like?

My view is that error handling is generally a delicate art and science (see why Golang doesn’t have exceptions, a decision made by veteran language designers!). I follow the principle of Fail Fast, especially for unrecoverable errors; that is, don’t hide fatal errors. Bubble up exceptions. Carefully design your layers to raise and catch the appropriate exceptions, if at all (see also Erlang’s let it crash principle). c2 wiki has some good starting discussions:
http://c2.com/cgi/wiki?FailFast
http://c2.com/cgi/wiki?FirstRuleOfLogging

Note, these are all abstract and conceptual, and not tool oriented. They go back to the design of your system and your processes, to fit your organization / communication structure.

Also not stated is the great importance of automated tests (unit tests / integration tests / functional tests). Remember I mentioned confirmed bugs? Because at the very least, every bug discovered should have a corresponding test written to prevent regression. A decent engineering team should have good grasp and practice of many levels of automated testing.

P.S. as for our tools, our stack uses logstash/elasticsearch for distributed logging + opsview/nagios NRPE for ops-related detection/escalation of issues that warrant attention.
Probably start with `rm` of the current project and start over with something else.

I call it rm-driven development. It'll be a thing in a year.

In all seriousness, I'd probably look at Scala and Play if JVM was absolutely required, but I'd first look into why that requirement is in place and if the requirement can be removed.
Yet another reason for me to vote for Bernie Sanders.
New Blog: Pink and Grey Elephant Baby Shower Ideas for a Girl
This link is an internal column from an NSA community newsletter. The SIGINT Philosopher was a regular editorial in this newsletter, and we are lucky to have a couple columns in full. These documents were considered classified.

I highly suggest everyone reads the primary source documents in this link-- all of them, not just that single episode from the SIGINT Philosopher. The purpose of this column is to propagandize workers at the NSA and help them to rationalize their complicity in totalitarian surveillance. It's pretty disgusting that the NSA brass realize that what they are doing will create cognitive dissonance within their workforce, yet instead of addressing it, opt to deceive internally (and externally) instead.

This purpose becomes exceedingly clear when you read the actual columns. In the column I linked, the author describes how if the public only knew a few things about his personal life they would be scared or disgusted, but complete transparency would leave them nothing to fear. This thought is supposedly in reaction to anxiety that the author had as a result of a fumbled polygraph test that he was subjected to. The author claims to be a civil libertarian, but of course, it's impossible to be a civil libertarian and also be in favor of a panopticon. A panopticon allows no true freedom, as behavior changes when it is known to be watched by a third party.

The NSA hires internal propaganda artists to keep their analysts quiet and happy. We should study this propaganda carefully so that it may be unraveled, and their surveillance apparatus destroyed.
The best social media campaigns you haven't tried yet
Gave it shot, pretty neat.
One of the things I actually do at my current job.

I use JavaEE, more specifically TomEE.

JavaEE has improved massively since last time I used it and is now quite good.
Apparently it does, but only on recent revisions of their hardware.[1]

I actually have the original youtube channel from way back, before it got pulled from the available channels. it may have been a private channel of someone's and Google didn't like it looking like it was from them, it wasn't even close to parity with youtube phone/web features.

1: https://blog.roku.com/blog/2014/04/22/youtube-update-channel...
Embed Node.js on any website
For truly 'extensive bombing' the Germans would have required heavy bombers, which they did not possess. The Luftwaffe had been largely conceived of as a support to ground troops with no strategic role or capability. Also they wasted their efforts on civilian centres such as London before they had achieved air superiority by destroying the RAF, which they came very close to doing in the late summer of 1940.
A lot of things can read ssh key files, including, sometimes, internet ads: http://www.zdnet.com/article/mozilla-urges-users-to-update-f...

Passwords can't really be gotten that easily.
> Linux can run on those mainframes (maybe on top of zOS, I'm not sure)

z/OS has its own Unix Subsystem (Unix System Services, formerly known as MVS Open Edition or something like that). Linux can run either in an LPAR or on top of VM inside a virtual machine - I think I read somewhere that the latter is far more common, because people that run Linux on zSeries tend to use it for replacing lots of smaller servers rather than a few big ones.
The problem with making it look like an accident is that, to really do that, the testing mode would sometimes have to be "accidentally" enabled while really driving. Which to a customer would just seem like the car occasionally and unpredictably performs very poorly, which is not exactly going to inspire confidence in the brand.

And if the testing mode never comes on during normal driving, well, that's not going to look very much like an accident, is it.
Except the chilling effect in this case is being caused by people afraid of the NSA, not necessarily the NSA itself.

Do you really believe your life and freedom are in greater danger from visiting edwardsnowden.com, but not from, say, hanging out on Hacker News? Or following Edward Snowden's twitter account along with a million other people and counting? Or visiting any site hosting any story related to Edward Snowden? Edward Snowden has done an interview with John Oliver, which presumably means everyone visiting any site hosting that interview is also on a permanent NSA watchlist. He was on the cover of Time Magazine, so all Time subscribers are also on a permanent NSA watchlist.

Yet despite apparently almost everyone everywhere being under constant surveillance by the NSA at this point, there appears to be no global chilling effect, apart from that caused by people warning about a global chilling effect.

Don't let your need for bias confirmation and your desire to play the victim-protagonist in a dystopian narrative cause you to act with more caution than necessary.
Some pretty cool documents are linked here, especially https://edwardsnowden.com/2015/08/25/are-you-the-sigint-phil... , which I have created another HN thread on.

I'm not sure if those documents were previously disclosed or what, but the ones that I just mentioned relate to an internally targeted NSA propaganda campaign designed to keep their analysts complacent. It's pretty obvious if you read the documents.
I work in DC - and our clients have a lot of public affairs work in the portfolio. Many members of Congress, especially on the House side are more active on Twitter than you'd realize. We've found anecdotally that especially during periods of recess or home district work periods, voter contact can be an effective way to target elected on Twitter and we've seen responses. Tends to skew younger.
I was curious what the readme was referring to, this[0] apparently is the macrumors post and tool[1] this is a response to.

[0] http://www.macrumors.com/2015/09/29/a9-chip-split-tsmc-samsu...

[1] http://demo.hiraku.tw/CPUIdentifier/
> The Bitcoin blockchain is the largest immutable data store ever built.

Bigger than archive.org?
If you sincerely hold the opinion that intelligence agencies do more harm than good, this is a perfectly reasonable method of communicating that.
And you won't hear about those pay-offs in the news... bad press for the victim company.
[Danny Hillis] registered the 2nd domain on the entire internet (i think it was symbology but maybe that was the first)

That would be Symbolics, the best known Lisp Machine company: https://en.wikipedia.org/wiki/Symbolics

Which he personally did not like at all due to its role in suppressing use of Macsyma outside of its machines.

Per Wikipedia his Thinking Machines "think.com" was 3rd, per http://interwebs.top5.com/then-and-now-5-oldest-domain-names... BBN, which helped build a lot of the ARPANET and Internet was 2nd, think.com was followed by the MMC consortium and DEC.

As for the security, it was actually quite unusual that the ITS operating system machines he, Stallman, etc. used had essentially no security, just obscurity, although a password system did have to be added by the end of the '70s. The threat environment was certainly much much less back then, but computer time was very dear, and the most common paradigm required explicit budgeting, accounts that kept track of each CPU second used, etc. One reason PCs became so popular, their bigger engineering workstation brothers, etc. And plenty of people were thinking about security, e.g. see the Multics project.
Spoken like a person who didn't live through the 70s. The roads were a blue haze, with choking smog over most cities. Think Beijing today.

Once emissions were controlled to a comfortable level, then further improvements became marginally less important. That's natural and probably correct. I imagine Federal regulations are too stringent now; that's part of why car companies are resisting.
I don't think they're especially good or bad, my point was just that they are almost exactly what Audi claimed.

After the VW news I'm rather happy I went with petrol. Actually I never gave diesel a thought because Audi doesn't sell A3 or A4 diesels in the US (at least dealers don't have them and the website doesn't show them).
Home delivery was never quite universal. Rural Free Delivery (https://en.wikipedia.org/wiki/Rural_Free_Delivery) wasn't even a thing until the 1890s. Hilariously, with budget cuts, there has been more of a tendency to keep RFD while cutting home delivery in some of the smaller towns and villages, since it is easier for people in the village to get to the post office.
> "Perfect enemy of the good" fallacy, if that's a thing.

Its only a thing when the "perfect" is not a real alternative.

Systems that produce more proportional representation than any means of line drawing in single-member winner-take-all districts are real alternatives that are well-established in the real world.
I'm worried about friends, family, and small businesses that run Windows with install updates set to automated mode...

Shouldn't Microsoft be signing updates so that redirection attacks don't work?

Edit:

Elaborating on my question; I mean much more like Linux distributions which sign both packages (updates) and the index of those files. Some distributions use multiple hashs/digests to make collision attacks far less likely to succeed.

Such an attack could be either the traffic at layer 3 redirected via router compromise, via some name resolution weakness (possibly even to localhost as a way of malware upgrading from being able to edit the hosts file to having system level services).

The signing of both the update files and the list of updates could offer protection from an attack that would thus need to be valid for all of the signature checks, not just a single check.
Why not just write something that's worth a damn and isn't just filler?
I haven't done any iOS development before but is there any real reason why a tiny app with what seems to be ~100 lines of code needs to be split into several small files with even fewer lines in them?

https://github.com/WDUK/A9ChipSource/tree/master/A9ChipSourc...

As far as I can see, the actual work is performed by around 5 lines of code in this file, which reads a configuration value, performs two string comparisons, and outputs to 2 text fields:

https://github.com/WDUK/A9ChipSource/blob/master/A9ChipSourc...

In other words, is this level of verbosity/"fluff" typical of iOS apps?
Making a good electric car is a HUGE challenge (see: the entire history of electric cars pre-Tesla). They need to keep their focus there. Once Tesla is delivering on the affordable mass market Model 3, then I think they'll turn up their focus on self-driving.
I've heard good things about it, but my understanding is it's ideal for creating REST endpoints, so it doesn't have some standards MVC stuff out of the box. Spark is a JVM version of Sinatra which may be closer to what you're looking for.
Around that time frame, maybe a few years later, I ported some Windows middleware to Linux. The middleware was some COM objects written in C++, configured using the registry. I ported all those functions: CoInitializeEx, CoCreateClass, RegThis, RegThat, you name it. The framework nicely looked for DllMain and DllCanUnloadNow functions in the shared objects, and such. The registry mapped to a hierarchical directory structure.

Today, if you want to write Unix applications using Win32, the obvious choice would be WINE.
First time I have seen a HEPA filter as a central feature of a car. Tesla certainly understands the main reason people buy SUVs: feel safer
There's a whole business structure that drove and enabled this decision, it wasn't just a bunch of engineers who had a bright idea one day. (Not meant to be exculpatory for the people who worked on this.) But you never hear anyone going around calling for businesspeople to conduct themselves ethically.
5 Things That Make Me Suspicous of Morgan Stanley’s Report on Apps vs. Mobile Web
Public transit in Boston is already choked at rush hour, and badly in need of repairs (including complete fleet replacements for two subway lines, now scheduled to start in a couple of years) -- witness the total breakdowns last winter, which had some lines out of service for weeks.