skysight-inc/HackerNews huggingface dataset:
I'm not sure if I really qualify as being well versed in high end watches, my only current wristwatches are a Timex and a Casio G-Shock, but I did submit the article and I do have an interest in watches and clocks so I'll try and answer as best I can.

In terms of engineering, Rolex watches tend to be on the simpler side, relative to some of the the complications you find in even higher end watches. They don't employ tourbillons, or minute repeaters, or offer watches with a laundry list of different complications, so in that sense they are not on the cutting edge. On the other hand, the things that Rolex does, they seem to do very well. They spend quite a bit of R&D on research into things like special alloys for watch cases as as well as balance wheels, escapements and mainsprings.

In terms of quality, they seem to have a very well earned reputation. It's also important to note that Rolex produces somewhere around 600k-1 million watches a year. They seem to be very good at producing high quality at very large scale.

Regarding maintenance costs, I don't think Rolex is know as a particularly expensive brand, although again, I don't actually own a Rolex so this is second hand info from watch forums. I think one of the problems in this area is that I doubt most watch buyers, Rolex or otherwise, have any clue about the long term maintenance of watches. And I doubt the salespeople selling Rolexes spend much time educating potential customers on these costs so you probably end up with a bit of sticker shock when people realize they have to send a mechanical watch in for service. I do know that Rolex has received some criticism for making spare parts increasingly hard to get for independent repair shops, requiring customers go through authorized channels.

A complaint levied against the Swiss watch industry recently it that they are very happy to allocate labor & capital to producing and selling watches, but they don't like making the same investments in labor to ensure quick servicing, which has a habit of pissing off customers when they have to send a watch back to Switzerland for months at a time every few years. One of the things Rolex has been working on with regards to mainsprings and other alloys is developing movements that require less frequent lubrication and servicing.

I'll also add that Rolex movements, both the newer ones as well as older ones from the 1960s-70s, have a reputation for being rock solid and relatively straight forward to service, assuming parts availability. I've never worked on Rolex movements myself but I have done minor servicing on several ETA 2824s, a lower end workhorse of the Swiss watch industry, and I've been told that Rolex movements are significantly more robust.
This is awesome. The effect of light on our biology is truly incredible -- I have a bad habit of not being able to get to bed before 12am, even if I want to (I know many here will scoff at that), but when I go camping and I'm without unnatural light, I'm exhausted by 9pm and wake up at sunrise. My sleep cycle adjusts the first day.

When I use a campfire, I usually stay up significantly later, which is interesting. Just because the light is "natural" does not necessarily mean it's natural to have the light at a certain hour.
Won't reading a book in candle light hurt your eyes, at least in the long run? How many candles do you use at once to get a healthy illumination for reading?
How much do you like the Golf R? Is the 4WD worth the price increase over the GTI?
Okay, well you can use Angular or Angular 2 (I would recommend sticking with Angular1) and let's see..

MongoDB,
Angular 1,
Node.js,
Maybe some templating language for your css?

Anyway, you can run node on your own machine. Are you using mac or linux or win? Did you mention? It's pretty straightforward no matter which platform now, which is nice. So you make a javascript file that node can run, you run it from the command-line, and on your computer you have the "server" running. It's got a port, so when you go to localhost:3000 or whatever you set it to be via browser you'll see your site.

The next step after you make your site with Node is to get some webspace to run it. Basically you want a remote box that you can SSH into (securely command line access another box) and then clone your project (over github) or just upload it yourself. Then you run it, you make sure you have a web-server running (like apache2 or nginx) and you serve your website over the internet.

If you want to add a domain, purchase a domain on namecheap.com and go to the DNS settings. Set an A Record to the IP address of your box.

Viola, you've made an internets.
By that reasoning you could almost say 'find an example where you had to go over [insert arbitrary number between 50 and 100 or so]'. If the number if low enough or my screen is wide enough I could fit 4 text editor panes next to each other :] Any code could probably be broken up to match that as well.

Don't get me wrong, I personally think 80 is a fine number and it's what I use myself. But making things like this hard rules for what basically are arbitrary reasons (e.g. depending on screen resolution) doesn't seem right in my book. I'm seriously not even considering doing something about a line if it's 81 characters.
even if it is which it's still not completely clear since there is no timestamp on that, it doesn't take into account many factors such as the widespread claim that security into the event was excessive and many people couldn't get in on time, nor the fact that for Obama there was a much larger local turn out, nor the fact that MANY people stayed home out of fear of violence from the left etc. The point is, the media making a story about attendance numbers was nothing more than a swipe at his legitimacy and THAT is the problem.
This was true for me up until about a month ago, when I started getting unskippable 1-5min ads before and during YT videos. Talked to a few people recently having similar experience. Seems to be based on user profile; incognito + ublock completely blocks them, not incognito and regardless of blocker settings, the ads leak through
Thank for the insights!

I think the damage Samsung suffered was simply too high, so they had to release information that would show that they really solved the issue. Otherwise there would be permanent brand damage if people suspected that they don't know what was causing incidents. So what we are seeing is actually some very well thought out PR.
What I love about Python is that it's so similar to how I've written pseudocode over the years. So, I often do quick prototypes of ideas in it, even if the final product isn't in Python.

Like you, I'm basically a C programmer at heart. But, to get efficient at some of the Maple code I had to write for my graduate work, I learnt a number of their functional tools so I now think quite a bit about using some of those as part of my toolset. I'm still largely a C-style programmer, though.

Working with the SymPy project helped me in my Python style.
Really? They were late in doing a recall, the government had to do one first. Then they finally did, but not in every country (they still haven't done one in many countries). Then they re-released the phone that was still exploding.

How anyone can say they did everything right is insane.
> Beyond that, it's frustrating to deploy because its non-relocatable (in our build/deploy scripts at my last python job we had to use sed all over the place to fix paths)

pip does cache the wheels so instead of moving the virtualenvs around, just recreate them. This also ensures the virtualenv is up to date. Using tox this is fairly easy to do.

Sure virtualenv is a bit of a hack but it's not that bad.
bah, you're right it's been going on for a long time. I would imagine the rate of information delivery (or even the potential rate), which for much of the population has increased exponentially in recent years along with the increased ability to form clusters at a greater rate might have an effect on this. It's an interesting research question not worthy of instant dismissal ;P
What's your solution for function definitions for this?

def very_long_function_name(arg_one, arg_two, arg_three, arg_four):
...
Wormwood-based remedies for parasitic infections have been consistently used in folk medicine in Europe and Asia for many centuries. Is it really such a simple truth that it had been "forgotten" and "replaced ... with ineffective treatments"? Or could it be something more nuanced, like that malaria ceased to be a problem in areas where this particular wormwood-based treatment had previously been in use? Regardless, wormwood-based remedies have remained widespread in various forms.

Yes, of course it took modern medical research practices to convert into a potent form, demonstrate its efficacy and combine it with other agents for maximum benefit against malaria.

But it also took someone - one person - to be willing to go against the tide of vicious contempt towards traditional medicine like that which has been on full display upthread here, and painstakingly study the ancient literature and see where it might lead.

That's one person who I'm quite sure would not ever have said anything like "I wouldn't mind if they weren't so insistent on preaching their bullshit everywhere they go and trying to pass it off as having any basis".

It's all very well to casually dismiss all non-mainstream remedies with "the problem is that overwhelmingly most of the time they don't", just as it's all very well to dismiss every new startup or technological innovation as being highly likely to fail. At least 95% of the time you might be right, but the time you're wrong is when it matters most, when you're talking about a new remedy for malaria, or, perhaps one day, a remedy for antibiotic-resistant bacterial infections.

Please just keep it in mind. Millions of lives saved already, because one person was able to suppress the temptation to sneer and let their curiosity win out.
The Second Amendment and the Struggle Over Cryptography
In principle I agree. But OPC UA from an implementation standpoint of view is much more complicated and involved compared to modbus.

I also would express your second paragraph slightly different. Each industry has its own preferred protocols and they are enhancing them and creating new ones. Additionally most companies offer OPC (UA) interfaces, thus making OPC the only protocol which is used over all industries. So if you want to interface with industrial systems, there is a good chance that the only thing you need is indeed OPC UA.
I don't think any of the good watch manufacturers can claim "leading the game in engineering and quality" in the sense that it's way better. Maybe Rolex is statistically 10% better quality (measured how? durability? fit and finish? design?) than the classic "beater" automatic Seiko SKX007 ($200, https://www.amazon.com/dp/B000B5MI3Q ), but then the price of the Rolex Sub is >40x higher.

If you're really after extreme durability (which is one aspect of quality), I think you'd be very hard pressed to find an automatic better than the Marathon GSAR, which is about 1/10th the price of a Rolex Sub.

https://www.marathonwatch.com
Yes please. Let me automatically download episodes in the highest quality and watch them the way I like it, in Kodi: always full screen, 24p, CEC. In short, give me a legal usenet alternative.
He wrote the future: On Arthur C. Clarke's centenary
It's only mentioned in a single line, but there are a lot of real bugs in legacy code that the users actually learned to live with. It's the software's personality now. And when someone has learned to live with a bug, it will be missed if it is suddenly not there any more.

In the past I considered that a bug in human behaviour, but actually it is admirable. You give people a broken tool, but instead of failing, they find a way to succeed using that broken tool. And of course after the effort they are not as willing to change to anything else. Don't change a running system and such.
#3 even if you use yearly average temperature (which is a terrible metric), why would you put a 45F destination under the sunny category?
Considering the amount of support they get from the Korean government, I think it's a safe bet that the company will be able to move past this.
Samsung SDI is separate enough from the smartphone makers that I'd guess it just wasn't prioritized as much as it should have been. 2.5 million phones were sold, at 14 watt hours per battery that means that the Note 7 batteries would only be a few percent of their total production (35 MWh of Note 7 batteries produced.)

Catching problems like this can be pretty tricky and at the end of the day it's also possible that a few people getting lazy and programming the machines wrong led to this.
I like that Erlang more or less enforces that rule: strings are double-quoted, symbols are single-quoted, you generally use symbols for "programmatic strings".
How we built India's biggest robot company
> Promises and perils abound.

what's the peril? I can only see promise ahead, if AI's progress continue unimpeded.
A Few Django ORM Mistakes
"republicans see everything in black and white, democrats see every shade of grey"
Unit tests don't help you determine whether a given behavior is incidental or necessary. For a lot of code, including the statistics code in the article, correctness is a dynamic property: dependent on its context, environment, clients, etc. So working with legacy code is as much project management and communication as it is engineering best practices.

Consider Chrome's recent change to mark sites as insecure if they have a password field without TLS. Will my grandma's bank page be reported as insecure? There's no way to know a priori, or through isolated unit tests. The Chrome team has to go out into the Internet jungle, reaching out to the site owners and pushing until the major sites are ready, and any holdouts can be considered acceptable casualties.

With that understanding, whether code is "legacy" isn't about age or budget or level of support; it's about how much influence you have over your clients. Some code is never used and so never becomes legacy, no matter how old it is. But other code is born legacy: it gets clients immediately and pays the price for being popular.
>They're not in the business of offering a specific fixed service for as little money as it takes to cover their costs; that logic would apply to a non-profit or co-op, not a for-profit company. For a for-profit company, lowering prices isn't an end, it's a means.

Of course. There's nothing nefarious going on here. They're constrained by competition, the amount of advertising people will tolerate, and what their customers are willing to pay, but within those constraints they'll set up the business so that between commercials and the monthly fee they make the most money.
For some people, deep sleep itself doesn't "feel" fulfilling, and justify it as simply dead time in 24 hours.

A lot of people quickly reverse that sentiment once they try having a consistent schedule of high quality sleep.
Personally, I would have hard time with single quotes point.

Double quotes are just so much easier to catch visually.
Not python, but in Java, identifiers can get quite long. e.g.: "localizableRUNTIME_MODELER_PORTNAME_SERVICENAME_NAMESPACE_MISMATCH" is the longest at 66 characters.

As for python, some fancy list comprehensions get rather long rather quickly. Especially if itertools are involved as you izip, etc. Or using useful variable names (i.e. not 'fcnt', 'tcnt') while destructuring as in this example from pyspark/mllib:

(failure_count, test_count) = doctest.testmod(globs=globs, optionflags=doctest.ELLIPSIS)

I adapted your grep to:

find . -name '*.py' | xargs grep -n '^ *.\{80\}'

So leading indentation doesn't mess with the results.
I kind of want to take your list and write a tool that fixes (or, at least, automatically works around) all of these issues. Good job.
Chess, Go, Poker... All feel like variations on the same theme. While it's obvious there is innovation being done, I want to see something more challenging. Something with more dimensionality and integration of several types of input.

How about a machine that can beat someone at Smash Bros, a game with varied characters, complex comboing mechanics, and a nontrivial computer vision task?

Or--more difficult by a few orders of magnitude--what about a robot that can beat someone at tennis? Or a team of robots that can best a professional basketball team?

When do you suppose we'll begin to see these sorts of things? Within our lifetime, I hope?
> it looks great with a tuxedo

Debatable, as it is a sports watch (arguably "the" sports watch). Wearing a sports watch with black tie suggests a middle class New Worlder. I happen to like these values (meritocracy, individual rights, equality of all before the law) much more than the alternative so see it as a positive signal. Also, (see [1]) signals ought to be true or the effect will be very negative, since nobody likes a fake, so better the sub with the "tuxedo" if that's "who you are".

The core value of a Rolex over other brands is two fold.

First, the company is ensuring that the value of the watches will never drop through limiting grey market availability and limiting supply generally even in the face of increasing global demand (people now complain about months-long waiting lists for special editions). As you point out this does make it a sort of global gold standard in terms of maintaining value and fungibility.

Second, it shrewdly invests in multi-generational, tightly integrated marketing to maintain the image of the brand in the global lower and middle classes' mind as "the" luxury watch, as well as in the target market (the GP piece is an example).

AFAIK it is the only brand that does it so thoroughly; Patek has similar operations (including bidding on its own vintage stuff, which even involved setting up a museum, to drive prices higher) but targeted at the aspirational upper middle class only [2], and the other brands are considerably less well recognised or not perceived as expensive. This investment in marketing builds "signal equity" for Rolex wearers in that everybody will see it, not just the readers of Hodinkee.

Which is why I disagree with you that:

> it doesn't scream "expensive"

To close on a humorous note: http://www.gq.com/story/male-engagement-ring-rolex

(I would, personally, blow my $50k on the new Laurent Ferrier Montre Ecole. /signalling)

[1] https://www.quora.com/Why-would-anyone-buy-a-Rolex-watch/ans...

[2] http://thelastpsychiatrist.com/2011/11/luxury_branding_the_f...
You can but it has no user-defined methods related to it, it's just a marker trait. Move and copy are both straight memcpy, the difference is whether the source remains valid afterwards, not what operation is performed.
Transformer Robot Car Battle
Quick website comment: If you're going to ask if I want to subscribe to your agile development course and your newsletter, I'd prefer if those popups came at the same time rather than several seconds apart. It's annoying enough to get one such popup.
The C++ template system alone makes it very difficult. Plus, many people have a habit of writing a mess of interconnected classes that become very difficult to pull apart to understand what's happening.

During my Master's (and my Ph.D.) I was using a finite element approach developed by a former Ph.D. of my supervisor(s). So, I asked for the code. I got back a mess of C++ and it was dependent on a linear algebra C++ library that wasn't around in the same form. I spent some time trying to reason out what he was trying to do, gave up and wrote my own in Fortran in about as much time as I spent trying to understand his.
The MSN reports this as battery defects. Both "defects" were however made more critical by the tight containment within the phone. It is not simply a component but a system engineering issue - from objective, design, tooling, manufacturing to QC. Like with the Challenger disaster there is a cultural problem.

The press release calls into question that Samsung fully owns up to it.
Smash bros shouldn't be too hard. Reflexes alone would give the CPU an enormous advantage.
also u have to do the request over port 443, and the alternative dns validation is not supported in in the official client.
so its 5 min only in ideal case.
OurMine crew hacked the New York Times Twitter video account
Delete an inline function, save 794 kB
Paper is the real 'killer app'
If you are not using a VPN tunnel to access your modbus devices, then you are criminally negligent.

But I also discovered that an entire line of heat controllers is accessible via Modbus on the open internet. So if I want to shut down the heating for a few hundred appartment blocks, I could do that easily. And these are not actually old devices. There is even an app which you can download and control these.
Not with color syntax highlighting. I find double quotes unnecessary noise.
[$i, $n, $d, $e, $e, $d].
It is illegal, according to another comment:

https://news.ycombinator.com/item?id=13459834
Your sort algorithm for temperature does not work - using °C.
Try this on the python source itself and you'll find a lot of perfectly reasonable examples. One problem is that in a method, your first meaningful indent is actually three (12 spaces in) - two are eaten up in declaration ceremony. In a language with delimiters instead of significant whitespace you could just fiddle with the convention - for instance, you could decide that you're just not going to give up a full indent for toplevel class members. This isn't an option in Python.
That's what Microsoft wants you to believe. In reality C++ tooling is vastly better on any Unix, and it's 100% free in both senses of the word.

Also, there's no qualitative difference between C++ toolchains on macOS and Linux, since the same compilers are used on both.
A few other data flow programming languages, LabView (which has been around for a very long time) and is extremely popular for data acquisition (it's basically the goto choice most of the time) and the Houdini computer graphics software (there's other examples in CG as well). I pick Houdini because there's a version people can download and try. It actually works pretty well for most things.
that's the point though, DRM-protection is largely incompatible with oss (it seems, but maybe not inherently so).
I don't think SF's reputation as a dirty city is entirely due to the homeless population

In some contexts, littering almost seems to be a brand of counterculture rebellion. Recurring problems at Delores Park[0] unrelated to homeless gatherings is a classic example.

[0] http://www.sfgate.com/bayarea/article/Dolores-Park-Friends-w...
Intuition in Mathematics (2012) [pdf]
So users of old software may be aware of various defects and have changed their behaviour to make it work for them. It's important to consider the human element when "fixing" legacy software.
“Some fish are born great, others have greatness greatness thrust upon them”