skysight-inc/HackerNews huggingface dataset:
But the hyperloop isn't really targeted at freight, and would probably be a poor fit except for the most express of express freight. For general freight, Chicago already has plenty of railroad lines.
Why hackers attack that hard Sony and not other companies? Or they don't spend enough in securing their systems?
This is a letter which Tim Cook et al issued to Apple UK staff after the BBC's documentary unit, Panorama, went undercover into the iPhone factories.

Terrible working conditions in continue to exist, contrary to public statements made by Tim Cook, and the supply chain continues to make use of child labor wittingly or unwittingly.

When an Indonesian tin supplier to Apple is asked about Apple's environmental policies his response was "Bullshit Apple. Apple Bullshit".

[1] BBC iPlayer - http://www.bbc.co.uk/programmes/b04vs348

[2] Magnet

magnet:?xt=urn:btih:76291D1E48A0930CD649A42E3C7BD82F78E5EE16&dn=panorama+s62e44+apples+broken+promises+hdtv+x264+ftp+ettv&tr=udp%3A%2F%2Fopen.demonii.com%3A1337%2Fannounce
I don't know John Smith, and I assume his idea is poorly thought out and crap. Musk has a positive reputation, and proven experience doing hard things. That gives us a shortcut on the credibility analysis. We're starting from 5 out of 10 rather than 1 out of 10.

Hearing other people's ideas is not a free process. There's an opportunity cost for it, John Smith's idea is more expensive.
How can it handle whitespace differences when pasting correctly?

I have a conditional block. I want to paste some code at the end of it. Do I want to paste it inside the condition, so indented the same as the preceding line - or outside the condition,so indented one level less than the preceding line?

With a brace delimited language, if I put the cursor inside or outside the brace and paste, an editor has enough information to correctly indent it. With whitespace delimiting, the editor doesn't have enough information.
It was my understanding that those 25 UCLA students work at the UCLA lab mentioned in the text and are essentially just an out-sourced free design agency. In addition to the 100 "engineers etc":
I don't think Sony has been truly Japanese in a long long time. The company is a conglomerate. And the part that got hit recently was Sony Studios, their movie making part located in Hollywood.

Wish i could relocate the article, because Sony has the dubious honor of being a company that sued itself by proxy. This by Sony studios being a MPAA member, and MPAA suing a bunch of electronics companies over lax copyright enforcement (Sony included).
NTP is one of those old school Internet protocols that was developed in "a more civilized age". The reference implementation "growed like Topsy" in an academic setting. So it's not surprising that it has serious vulnerabilities.

Many years ago OpenBSD threw up their hands and just decided to roll their own, named OpenNTPD. It's not nearly as full featured as the reference implementation, but it works fine for most people.

Edit: forgot to mention that OpenNTPD does privilege separation (don't know if reference implementation has added that yet). Which means that "executed with the privilege level of the ntpd process" isn't nearly as scary as when the process is running as root.
Except the std lib isn't going stable for 1.0. They have a system that marks which APIs are stable, but a lot of stuff is still unstable/experimental. So it's very possible to write a Rust 1.0 program that won't work on 1.x, if you used those parts if the stdlib. Fortunately, the compiler can warn you of this so you know what you're getting into.
The hyperloop is an incredible idea. One could travel, theoretically, 400 miles in a little under 5 minutes with reasonable, constant acceleration and no maximum velocity in a straight line (so, unreasonable). That means I could make it to NYC in a pinch and be back by dinner.

But I don't think the idea of an air rocket is one that will work. The cost will be incredibly prohibitive. The concept of a "stop" on the hyperloop seems to make the solution far more complex, and the cost of a single stop on the route (assuming in the middle of the trip) is almost 50% additional travel time.
As much as I love California, countries/regions need to compete to be the first place where Hyperloop will be built.

Maybe it will be in USA (California, Texas, East Coast), maybe somewhere in Asia (China) or Europe.

Building innovating infrastructure requires huge resources: land, money and political will. I'm not optimistic that there is some place where government would take a leap of faith, but that would require a lot of convincing in many places even to get one committed state.
Musk's businesses are split between LA and SF. He and his employees travel back and forth and he wants to use it.
... I do, never had an issue. Of course, I also don't pay Wells Fargo for anything, so there's no reason they'd have my mail sitting in a mail room.
You can cut an SSH connection while SSHed in providing the server comes back up in a timely manner as SSH does some clever keep alive tricks to resume broken connections. I often restarted sshd or even the network interfaces themselves while SSHed into some Linux boxes.
plastic bag and tin foil worked for me.
Anything is possible in a press release.
That's one of the first things I thought of, which made me think a priming-configurator ("Hit the 'left' key", "Hit the 'down' key"...) could make a map, saving the "vi homerow" to a file you could load w/ (e.g.) vi -m mymap.cfg ./somefile, or put into your .vimrc or equivalent.
You didn't ask if there was things to do to get around it, or if you would be surprised, you asked if there was a specific reason :)

Big companies don't want "pretty cheaply" they want "logistics systems that you don't get fired for purchasing".
Like other commenters in this thread, I find the author's arguments to be weak and tautological and/or based on invalid premises.

I don't think we should care about keeping as many languages spoken as possible. Collective human culture is fluid, and subject to evolutionary pressures. If the human species converges to fewer languages because it allows us to do whatever we do more effectively, great. Going against that is just not practical and a waste of time.

In France, the modern French language has been pushed onto the population a few hundred years ago, at the detriment of local dialects ("patois"). In the recent years, there have been government initiatives to force schools in certain regions to teach their former dialects. What's the point? Those dialects are close to dead anyway, and take up valuable teaching times. Kids are already graduating high school barely able to write and read French properly- they have very little to benefit from by spending time learning such dialects. Sure, they are important to ~archive~ culturally and historically, and there's nothing wrong with funding a few scholars working on that, but that's it.

What is important to preserve is the knowledge that allows one to learn a language. In other words, if German were to disappear, that's fine, and we shouldn't make any efforts at attempting to preserve it. What we should do, however, is document German as much as possible (its vocabulary, grammar, pronunciation, idioms, native works, etc.) such that if one needs to learn German 100 years later, it's possible to do so.

The basis for that is two-fold: practicality (if an ancient German text is discovered but no one speaks German daily anymore, at least scholars can still decipher it), and preservation of human culture (but in a way that doesn't go against pragmatism, which the approach described by the author in the article is).

The same debate applies to other things, e.g. flora/fauna. Of course, when species are becoming close to extinct because of humans destroying environments, we should do something about it. But species go extinct all the time because that's just how nature works, and how it worked much before we got here. In this light, what's the sense of trying to preserve plants or animals artificially?
NTP's author, Eric Fair, is actually the son of the founder of Fair-Issac. Very smart cat, but this was all written so, so long ago it was bound to be exploitable sooner or later.
They'll keep the tube at a constant temperature by piping Silicon Valley hot air through an insulating layer around it
I genuinely don't see how/why this comment would have been downvoted. Can someone who did at least provide context as to why?
awesome.

so commuting from the east bay to palo alto or SF will take longer than travel to LA.

instead of extending BART around the bay, full circle and across in more places, let's invest billions in hyperloop.
Several articles mention that the hackers have released stolen data, but I can't seem to find any download links. Does anybody have a source?
I built this in Ruby and Sinatra. Here's the writeup: https://www.twilio.com/blog/2014/12/12-hacks-of-christmas-da...
Instagram now worth $35 Billion
Well, I'm from Mississippi and I'm ambivalent about it because for the most part, Jim Hood has been an excellent AG and the only state-level politician (besides Mike Chaney) worth a damn and has consistently pursued cases and policies that definitely helped us.

Obviously this is not at all clear-cut - I do have a problem with people selling unregulated prescription drugs online and that's part of the reason he's doing this (it's not only about movie piracy), but I'm doubtful that going after Google is the best way to go about it.
I have unfortunately also experienced first-hand the doctor's mechanical way of working.

In my opinion doctors who cannot program shouldn't be allowed to be doctors. If you are presented with a problem, you logically prod at it until you can understand it. But then again, I'm sure it's more cost-effective to treat 80% of the patients successfully by following a check-list, than to get personal with the patient to identify the real problem.
They use a fork of Mozilla's Rhino JS engine, according to https://gngr.info/doc/credits.html
Black, female in technology get unwritten diversity code
Now to remove unwinding and make it optional, or make fully recoverable exceptions... This seems like the biggest controversy in Rust, and it sounds like the plan is to just make unwinding optional, though last I read, that means two incompatible stdlibs and s need to compile everything in two different modes. Still it'd be really nice to not have unwinding when your program doesn't need it, but also be able to make apps that benefit from exceptions, like web servers.
That's because when you connect to your SSH, it forked and there is one process which is handling your connection, then when you restart the daemon, it only restarts the master, no harm done to the existing connections.
4. The goal is to keep the US population in fear, so now they have a new "enemy".
how do you know the movie is crap? it's probably at least as good as any seth rogen movie. and seth rogen movies were good enough to get this one made.

for my money, it had a great trailer. the movie could be okay. it's easy to pile on to the notion that the movie is crap, as it makes the proceedings even more absurd. if the movie was good, then sony is somewhat vindicated, but we can't imagine that to be the case, because sony has bungled every moment of their response.
The ntpd daemon does not run as root. So, how is it able to change the time of the system? Does it use setuid, or caps, or something else?

I wonder because this would also affect what arbitrary code could be run as the ntp user.
For reverse sorting, there's a type that does specifically that.

sortBy (comparing (Down . snd))

See http://hackage.haskell.org/package/base-4.7.0.1/docs/Data-Or...
Patrick, if you haven't yet gotten any emails about this, the Amazon link to "Predictable Revenue" is to the .co.jp domain.
I've been particularly bothered by the way that almost all "real numbers" in CS papers attempt to explain the advantages of one algorithm over another based on small performance differences of two partially optimized implementations, compiled with a single compiler with arbitrary options, and then tested on a single older machine. The few that go further merely repeat the exercise with an even older compiler an an even older machine with a forgotten architecture. While it's a step up from simply counting pseudo-instructions and memory accesses, and while there is room for theoretical analysis of asymptotic behaviour, it's painful how much is read into the particular tea leaves of one or two data points.
So now, will an "unhandled" panic on a thread abort the process? Or just get silently ignored until another thread stumbles upon a call that's poisoned?
Announcing Reddit notes
> This was quite an exciting idea at the time. However, in practice, it just didn't pan out: the compromises required to paper over the differences between 1:1 threading and M:N threading managed to almost entirely obliterate the respective advantages of both models.

I would love to read a longer article about this. M:N has quite an allure, but it never seems to reach mainstream. Erlang and Go provide it and they seem to be happy. Both languages do not focus on performance, though.
Please edit your comment to put four spaces in front of the magnet link. Your comment destroys the page for people on mobile.
Also commuters with the capacity to pay for expensive tickets - this thing isn't going to be cheap, at least not initially.
Android startup Linshof shuts down before shipping anything
> Notice how the discussion is full of edge-cases which this code doesn't handle?

Can you point to a single unhandled edge case mentioned so far in this discussion? The only possible one I see is finnh's complaint that it doesn't support changing arguments, but that seems more like a missing feature (which doesn't seem that important to me) than an edge case.

The logic needed to correctly implement this is quite minimal, and implementing it yourself both spares you a rather heavy dependency and gives you more flexibility.
Choose Your Chicken. Picking Your Next Startup Idea
This evades most of the criticisms of Musk's Hyperloop plan by not being the Hyperloop that Musk proposed. Specifically, and most importantly, it doesn't connect SF and LA, and instead chooses a route to fit the budget, instead of the other way around.

Musk's plan for the SF-LA Hyperloop was almost self-evidently fantastical, so much so that it's easy to read it as a political tactic to discredit California's HSR plan (which is also moving forward).
Have you ever tried an alternative layout, like Dvorak?

I wrote about Dvorak a while ago on HN: https://news.ycombinator.com/item?id=8705543

Calling it hopeless, well, our opinions differ, that's for sure!
I've typed in dvorak day to day since about 2004. I type in querty on my phone without any issues—the devices are different enough that my nervous system doesn't get confused.

On library computers and such I'm reduced to hunt and peck. It's really hard to switch between dvorak and querty and type both well. I like dvorak enough that it's worth not being able to type full speed on random computers.
This is such a great example to highlight how information asymmetry and choice overload act to undermine markets.

> The difference in price between brand names and generics accounts for tens of billions of dollars "wasted" every year by Americans in pharmacies, according to the economics researchers.

> Consumer confusion, or misplaced trust, is compounded by the fact that a drug store is likely to have upwards of 300 cold-and-flu products

> One myth is that "brand-name drugs are made in modern manufacturing facilities, and generics are often made in substandard facilities." But, the FDA counters with the reminder that it "won't permit drugs to be made in substandard facilities."

Imagine how much consumers would overspend on branded medications if they couldn't count on the FDA as a backstop.

EDIT: By "backstop" I mean the FDA's role in ensuring that generics are bioequivalent and meet manufacturing standards. Imagine how much more effective brand advertising would be if some of the choices on the shelf really were manufactured in a dirty factory in Mexico.
> Obviously this is not at all clear-cut - I do have a problem with people selling unregulated prescription drugs online

Why?

Disclaimer: I'm biased. My doctor would not prescribe me an extremely safe anti-parasitic that is in no way DEA controlled, and I had to do the research myself and had buy it from an "online pharmacy" to have my issue resolved (which was cheaper, might I add, than what my local pharmacy was charging).
Totally OT, but it would be amusing (to me at least) if Eric named his son Isaac.
TARP is now over, and it made $15B in profits
ThoughtWorks Radar Jan 2015 -Latest Trends
The 'code of conduct' is a sham:

Foxconn and Pegatron issue fake payroll slips to hide long hours, threaten workers to tick boxes saying they consent to working nights, overtime is mandatory, ID cards are illegally confiscated leaving workers trapped at the plants.

The employee education program is a joke. Employees are herded into a hall, shown some slides and then asked to take a test. The answers are shouted out and repeated in unison by everyone. Thus everyone scores 100% and passes.
Recently I was asked to help judge the 2014 iGEM competition which includes software entries in the field of biology, I made a special point to the other judges that we should give special consideration to those teams who included instructions or configurations for setting up their environments - too much of the software entered wouldn't compile (or run) when checked out of SC!
I can assure you that there are quite a few who are, and even moonlights the scene.

That doesn't necessarily have to be the case here however, the h4xors in question could just as easily have written the malware too.
Dot size is used frequently, but I haven't seen many static visualizations that plot the series multiple times using cues (in this case, dot size and opacity) to indicate the data relationship. I see it all the time in animation form, though.

It reminds me of the famous Minard chart of Napoleon's adventures [1], but doesn't draw the focus as completely to the time dimension as his does to the survivor dimension.

I think you're right about the special nature of the third dimension in this case. I wonder what things other than time it'd work for. It feels like it'd work well for other things that are time-like -- results from different iterations of an experiment, for example.

[1] http://en.wikipedia.org/wiki/Charles_Joseph_Minard#Work
People use lisp for something other than a programming discussion talking point?
Few Winners in Anonymous Social Networking, and Secret’s Not One of Them
Here's a round up on static methods vs testability:
http://googletesting.blogspot.com/2008/12/static-methods-are...
Also related: http://misko.hevery.com/2008/08/17/singletons-are-pathologic...
While the example shows five different people bringing in four different ways of doing things, I was sad to recognize a lot of my own work in that story. I've been the sole developer on a smallish web site for five years.

I've personally switched patterns over the years when adding features, always telling myself that I'll go back and refactor the earlier work.
"The idea is to help everyone find exactly the right cold medication."

http://www.iodine.com/cold-and-flu

I work at Iodine (our Cold and Flu tool is featured in this article) and we're watching this thread. Feel free to ask medication related questions of our clinical team or technical questions of our engineering team.
Has it been shown that the anonymous 9/11 threat was made by the same group? Could have been anyone jumping in at that point right? Even if NK wasn't involved in the hack, they could have made that threat to take absence m advantage and stop the movie.
TextIt Goes Open Source
"Reddit Notes" does not immediately imply that it's a cryptocurrecy. I thought it was a Read It Later service from the name.
I think the response is usually to make and release a comedy film about the affair.
> Is there a specific reason retailers don't include the inventory on an item when you are checking out?

Some (e.g., Amazon) do indicate low-inventory warnings, including "Only n left".

> Clearly they have the counts available on the items if they know when they are sold out.

Inventory inaccuracies are not unheard of. Its quite conceivable that you don't know you've sold the last one that you will be able to deliver until you try to sell the next one, go to pick and deliver it, and find its not in deliverable condition (e.g., because it got damaged in the process of getting it ready for delivery), even with an otherwise-accurate inventory. Its also possible that you are expecting deliveries within the delivery window for a given order priority (or that you have a JIT ordering process and that your ordering time from your supplier has a turnaround within the delivery window for your normal delivery priority), so that you actually aren't concerned with your inventory, but your suppliers inventory.

Logistics is complicated. Having enough information to give low-inventory warnings for specific products, with specific counts for low-inventory items, is tractable for some retailers, but not others.

Additionally, the practice of doing so implies that there is little risk of supply running out for other products, so while it may motivate decisions on the products that have the warnings, a retailer being known to provide the warnings may have the opposite effect on sales of products that don't have the warnings. So it may not always be a win to do it.
North Korea’s actions were intended to [...] suppress the right of American citizens to express themselves.

This looks like a new war from an European point of view.
A large number of Americans also believe the Earth is only a few thousand years old and insist their children are being taught their believes as 'facts' in schools.
You said it yourself, nobody lives in the midwest. By contrast, LA-SF is the second on third busiest passenger air route in the world (http://en.wikipedia.org/wiki/World%27s_busiest_passenger_air...). Moving all those people by plane is hugely expensive and inefficient, and the 5 cannot handle any more car traffic. By some accounts, this is the biggest unsolved public transportation problem in America.
I agree that you've basically nailed the dynamic in the career-development market, but I'll point out that there are a number of career resets you can use to escape it. Grad school. Founding a startup. Independent projects. Moving into a different field entirely.

These often aren't objectively worth it under the value system of your old career, but they essentially throw a monkey wrench into your career and make anyone reading it go "Huh? Why did they do that, and what does it mean for me and my company if I hire them?" And that, in turn, gives you an ability to reframe your story on your own terms. If you're behind in somebody else's value system, it makes no sense to continue molding your career to their value system. Instead, pick your value system and then seek out positions that play to your strengths.
First thing I do on a linux machine:

setxkbmap -layout us -variant dvorak -option ctrl:swapcaps,compose:rctrl

(You can leave -variant dvorak out; the -option stuff will still work.)

The compose key, used to compose all kinds of characters from æ to ż, is one of those smart and fantastic options, and it works really intuitive. Just hit that key, then guess two characters (like a and e, or z and .) and voila.

It's also pretty neat that it supports stuff like ™ and ©.

Yeah, the other setting switches ctrl and capslock. My left pinky just really doesn't like the original place of ctrl, and caps is something I use only rarely.
Done, thanks for the heads up.
Oh, all right, I misunderstood.