skysight-inc/HackerNews huggingface dataset:
Second the off-peak suggestion. The other thing you can do is to experiment with alternative ways of working. I have a 13" laptop that I do all my programming on. No other monitors. It fits in my man-purse and I can program virtually anywhere. As I am a remote developer and like to be around people sometimes, I really do program anywhere. The bus and train have actually become one of my most productive places, and sometimes I wish I could afford to program on the train all day.

I find it helpful to use a text-only interface and use tmux along with a tiling window manager. But basically, learn how to use your computer without a mouse. It takes a long time to get comfortable with this setup, but it pays incredible dividends when you finally do (well... for example 2 hours of your life back every day).

With the off-peak thing, one suggestion would be to get to bed super early and take the first bus/train in. This tends to be the least susceptible to problems. It's also easier to sell the boss on the idea of starting at 6 am rather than 11 am. The trick is to have the internal fortitude to leave at 3 pm. Assuming you work in the city and live further out, this should allow you space on the bus/train to work.
Good point about production stack traces. I just now added the source-map-support package to make that issue go away. Thanks for pointing that out.

I did indeed wrap the callbacks into promises myself, so haven't looked into promises libraries, but I can't imagine there isn't an officially sanctioned solution for this.
> None of the business analysts could remember what this statistics feature was used for, so we tried to find out who uses it. We looked at the logs of the last 6 months and found out: It was never used! Not a single time!

I've seen a lot of similar stories. General advice: if you want to find out whether anyone really uses something, the relevant time span is a year and a day. It's theoretically possible longer would be needed, but a year and a day will cover almost all cases.
I visited your website. Are you here for $$$ or fot the mission to restore cumulative time of 10 lifespans every day?

Consider - https://github.com/jefferyleo/f.lux - install manually via Xcode?
very dependent on the language imo

C tends to be terse, so easy to imagine things under 80

python (due to lack of decent types/more verbose community) has more of a need for those 80 chars.

I think there's likely a per-project line limit that "makes sense".
Methods to stream video from iOS devices explained (with demo apps)
> "assert that X function calls Y stub Z times"

That's a terrible test that should never pass code review. It's worse than no test at all - it's brittle and guarantees nothing.

Writing good tests is _hard_.
Did you look at the generated assembly of your demo? RVO probably didn't happen there. "returns_a_foo" was most likely inlined into main and then there was no need of eliding a copy.

I'm not saying that you are wrong, only that your demo poorly demonstrates what you are arguing.
You're assuming that you are the one doing the posting. If my parents and my sister are on Facebook (they are), I'm in their address book and if that got uploaded to Facebook (quite likely), I'm there now despite the fact I don't have an account. Plus, you can be tagged in photos as well. Plus, they have their cookies which allow tracking of you across large parts of the web.

Note that in all of this, I'm not using Facebook at all and not even visiting it. But, I'm in their system with data about me that I didn't put there.
If punch cards were 160 columns wide, we'd all be enforcing that as the maximum line width. It's arbitrary.

I typically go with 'about 1/3 of my screen width' so I can develop in multiple windows without horizontally scrolling. That's a lot more than 80 chars on a 4k screen.
How I realized India is still an offline country
They lead the game in terms of signalling disposable income to the 90%ers. They have been beaten by the Japanese in multiple areas for decades.

The best example is that the Swiss used to have accuracy contests which they had to cancel after Seiko systematically bested everybody else for several years (easily Googleable e.g. [1]). Even in the quartz world, the current best is still Japanese with the (comparatively cheap!) $1,000 Citizen Chronomaster, the most accurate non-atomic-sync watch. And your average $80 G-Shock now has the atomic sync functionality.

How about extremes? Whilst everybody else was messing about with fragile and expensive helium valves to deal with coming back up from high pressures required by professional divers, such as those repairing oil rigs, Seiko put together an R&D team and after 8 years of research came up with a design that went deeper with no valve, the 6159 aka "tuna can" [2]. Of course divers now use a dive computer, but if you need a backup the Darth Tuna is very good indeed.

Want some real "handmade" artisanal creds, some ties to history? How about hand painted laquer dials using centuries old traditional methods (see any "urushi" model) or the extreme attention to detail in the Credor line (e.g. [3]).

So the watch world is fragmented into Seiko lovers and haters, the former seeing value in the engineering and artisanship and the latter seeing a lack of brand equity and disposable income signalling that is more easily found in Switzerland (or rather, on what is badged as made in Switzerland, see [4]).

Maintenance costs are not per se an indication of low quality. For example, Seiko's Hi-Beat movements (which "beat", or move the seconds hand, many more times per second than average, generating the illusion of smoother motion) have an exceptionally strong spring and need more frequent servicing as a result of the extra work done by the movement, whereas a $10 vintage HMT watch from the 1970s beating 5x slower might just need its first oiling which you could do yourself.

[1] http://watchesbysjx.com/2013/06/explaining-seikos-legendary-...

[2] http://wornandwound.com/a-look-at-seikos-early-divers/ - not a great source admittedly but if I find better I'll update the link.

[3] https://www.hodinkee.com/articles/with-the-seiko-eichi-ii-ve...

[4] https://www.indy100.com/article/cheese-one-million-pound-wat...
i just love that i had never thought of trying to find lines of code of a certain length this way and you probably just wrote it without a second thought.

hn is such a cool place. :)
So what's the next logical step for users that wish to access restricted content should they not be able to use VPNs?
Too for bad that for people in some poorer contries $478 is like many times their yearly income. But then again, their carbon footprint is most likely negligible.

Why not just let nature do it's job? If too much CO2 will kill us, then it's a self regulating system. It happened before with the Azolla event. You get fewer humans, more plants, everything else gets a chance to die off or recover, maybe a new species takes over.

Why bother with carbon sequestration?
Never mind advertising, look at how awful the interface is on Amazon to get an idea of why Netflix's content is crushing it. For instance, Transparent and Catastrophe are both Amazon Prime shows and are reportedly excellent. I have never seen the UI suggest I watch them. It's too busy suggesting I buy something. (Oh yeah, advertising...)
> I think that there are some people who just genuinely enjoy mechanical watches beyond the status signaling.

Yes, I appreciate that, and I do too! Besides, at times I need to do some status signalling too. No disrespect intended.
Wouldn't an article like this be by an ANTI-CIA group and not the actual CIA themselves? I don't see how something like that would be sponsored by the CIA because it paints them in bad light, no?
Puzzles Collector, 0.8 released
it's not a crime but you're saying users shouldn't be informed that their data goes directly to communist hands... i don't think we(americans) need a chinese person to play false equivalence and convince us to allow their communist government to spy on us. especially with how much they rip off our ip. hopefully the new administration will make it illegal. just as german data stays in germany and chinese data stays in china, our data should stay here. if a chinese company wants to come
here let them build a data center here.
To put it succinctly: most of the Internet exists due to advertising - which is - most of the time, misinformation and/or lies.

Given the competition out there, you just have to misrepresent, overemphasise, paint in favourable light or use a good old lie to sell your product.

We've long since accepted this as 'necessary evil' - everywhere - on TV, in print, on the streets and online.

And so the 'mind-fucking' techniques have evolved over the decades - from 'facts' about products to emotional button-pressing voodoo, subliminal messages and click-baits.

The doors to 'bullshit' are wide open in our minds, even though we think we can filter facts from crap, there are techniques that get us too.

"The spread of misinformation" is not a new phenomena at all, in fact it's been here since before the dawn of the Internet.

What changed is the object of bullshit, not the bullshit itself.

In other words, "Enlarge your penis" is coming to your social network news article about your local politician and you won't believe it till you see it!
The drawback is that you make it crystal clear to everyone that you have money. That's the one thing that always troubles me with luxury items. How do people who own Porsche's or Ferrari's cope with unwanted attention, assuming that they don't want it. It's one thing wearing a $3k Burberry coat which few could really tell its value and quite a different one wearing an $8k Rolex watch which everyone and their dogs could tell it's a luxury item.

Other than that, I agree with your sentiment. I own a couple of Longines and they're masterpieces of engineering. But they're a bit more discreet than Rolexes :)
Netflix is in a growth phase and, no surprise, they're catering a much bigger audience now. Besides all the shows you listed, it's recently aired Stranger Things, Narcos, The Crown, Longmire, Unbreakable Kimmy Schmitt, The OA, etc. These shows aren't going to appeal to everyone, but they're going to be somebody's favorite show.

Daredevil never really did it for me. I thought their Wet Hot American Summer reboot was really entertaining. Go figure.
Indeed, from 2015:

http://kotaku.com/overpowered-bot-puts-top-smash-bros-player...
> > you just waste time re-justify everything if you refactor.

> A single `indent-region` in emacs and you are rejustified, no trouble.

Because when you refactor the function/class name, it's never just one region. So now you have to go back and indent all occurrences, maybe even over multiple files. Brilliant!
I went for a few months without lights at night as part of an experiment. I found that 3 candles with a reflector made from aluminium foil was enough light to read by. But it's dangerous. Another thing I tried was to buy some solar powered garden lights and charge them during the day. This provided about an hour of reading light in the evening. Probably you could build something very much more effective (and it would be quite fun to boot).
I totally agree with you. In the end you need different kinds of tests (end-to-end, unit, ...). And with legacy code, you probably want to start with end-to-end tests or integrated tests.

But in that specific case, no amount of tests would have helped us...
Samsung Has Provided Research Data on Note 7 Battery Issue
I feel so honored that this project was tweeted by Matz himself.
https://twitter.com/yukihiro_matz/status/823386626424328192
A post-truth thought experiment
You should find a job closer to home, or move out. 2h of commute is savage.

I don't accept more than 1h commute total per day, or ask for remote to compensate.
Very good advice, especially for obscure features. If the feature was only used when filling out some field on the annual tax return for example, then no one using it for the past 6 month could be perfectly reasonable if you pick the wrong 6 month period.
Thanks for the great suggestions. When I get home and after finishing the home tasks, I go to my desktop (standing desk) and full-sized keyboard, large monitor, etc. That's probably why the times I've tried to code on the train have been quite unproductive. Our company doesn't allow flex hours so unfortunately that's currently not an option. I'll try out a larger laptop and see if it works (and if I can do all my work on it so I'm used to it).
Google's AI Programs Can Replace Human Programmers in the Future
Google Android One $200 Smartphones to Hit US Market Soon
To be honest I think your priority should be to fix your commute.
Finally someones does it!
I was using:
pip -t .pip
in my code, avoiding virtual-env completely, but that was not enough and incomplete.

As this is not cross platform and it would be nice to switch between Linux/Windows while coding to maintain platform compatibility, can the virtualenv envs be created with a os platform & subsystem prefix ?
for example, having multiple envs at once:

- env/posix/bin/activate
- env/nt/Scripts/activate.bat
Just because Fox News is biased doesn't automatically make the opposing media channels unbiased or better. I posit that before the election started some of those channels at least did a token / minimum amount of work to appear impartial. During the election that pretence was dropped. They have basically sunk to the level of Fox News.
Deeply Integrated Progressive Web Apps (WebAPKs) Are Live for Chrome on Android
No chance IMO. The pool of competing content buyers is rapidly growing.
Or you could wonder how the Chinese government would react to Foxconn's intentions to open a factory in the US, and not in China. Foxconn gets lots of concessions from the Chinese government. It's easy for Beijing to twist Foxconn's arm a little bit, just enough to reconsider a US investment. Or maybe they will allow it as some kind of sop to the Trump administration.
Depends, but most of the time it's either

- Java: Eclipse and the actual application running that I am working on, or

- JS: Sublime, a server for running and testing, a few Chrome tabs + Chrome Dev Tools.

While both of those would work fine with 8Gigs, if I ever happen to have to run more things (as in, the aforementioned things at the same time or a VM next to any of them) at the same time, things slow down considerably.
The point here is _everyone_ has an agenda.

_Everyone_.

There are "no clean hands".

_Never_ forget it. Learn to live around it.
Not to be facetious, but fake Rolexes are so widespread now that I actually wonder what the chances are that a random robbery will yield a real versus fake Rolex.
I'm glad that the trend is slowly going towards hiring generally smart people instead of a "PHP/Rails/Python programmer". I'd say, better hire people that can easily adapt something new if needed rather than saying "I am a PHP programmer, I don't want to do this new project in Ruby." (I met my good share of people in previous companies thinking in that way to the extend that they would quit if asked to write in something else than what they were hired for)

In my current company they were looking for a Go programmer. I never wrote a single line Go before, yet they hired me and now I am writing Go. Then we had a deficit in the iOS team, so I learned Swift and now work on our app.
موعد مباراة الجزائر والسنغال في بطولة الأمم الأفريقية والقنوات المجانية الناقلة
My problem (not a problem for me though) with ads is, that I do not trust them at all anymore. Even if I would see an interesting looking ad advertising a cheap 6700K I would think to myself, that they must have paid for the ad somehow and I can probably find it even cheaper somewhere else.
We made the jump (moving various internal projects from Redmine, Trac and Assembla) and couldn't be happier. Everyone loves Gitlab, updates are frequent and full of new features, stability isn't a problem and CI is so easy to get up and running.

Only negative is that you need quite a beefy server to run it (compared to say Gitea or Gogs), but it's a small price to pay.
How do you feel about paying for content with product placement or native advertisements?
Thanks for posting this. A totally unrelated question, if you don't mind answering. Given all this, do you believe that Tesla is changing the battery market dynamics with their GigaFactory. Musk has claimed that their plan is to increase the energy density, but hasn't given out any specifics.
This is why I love HN.
Pushing calculations to the database is a great idea, good to see it gaining more traction. Too often people pull back "all" the data just to iterate it locally.

I looked at MonetDB as part of researching column databases in general. It was as fast as the commercial databases on some queries, I was really impressed. The main thing that put me off was that you couldn't seem to nudge data layout / the query optimizer to do exactly what you specify. They seemed to have the idea of an all-knowing system that would optimize for you, perhaps as a research idea that works but for commercial use it worried me too much.

For anyone interested in column databases in general I put this list of comparisons together: http://www.timestored.com/time-series-data/column-oriented-d...
Of these I used all but Zortech. None of them compare to GCC6. I've also used Microsoft C++ compiler fairly recently. It's not even close. I don't use Xcode when coding C++ on OS X, vim + YouCompleteMe beats the heck of any IDE I have ever used. I prefer Linux "perf" to Instruments, too. It's not an option on the Mac, but if it was, that's what I'd be using.
I wasn't sure how this article would fair on HN but some seem to be enjoying it, and since crdb brought up Seiko elsewhere in the comments, here is a similar tour of some of Seiko's facilities[1]. It might be worth taking a particularly close look at the part about the Micro Artist Studio.

[1]http://www.fratellowatches.com/seiko-factory-visit-trip-repo...
Beginners Guide – Introduction of Big Data and Hadoop
Bundler does proper dependency resolution using Molinillo[0] which is also used by CocoaPods[1]. This is definitely something that other package managers can stand to adopt.

0: https://github.com/CocoaPods/Molinillo
1: http://cocopods.org/
Can you please change the title in something more clear for non native speakers?

”killing it” is not a positive statement for foreigners! It looks like they are dismissing their content creation department!.
You can't stop them all, so why even try? Is that your argument?

All the 9/11 hijackers were on visas. They should have been stopped from coming in. At least one of them was.
This is not really a good example. That bot is massively cheating and if you played against him a few times you would find very simple patterns that always beat him.

(I don't even think the base AI can actually see your location in the air very well, and it has no air DI itself so it really could not win for long.)
"All official builds from LineageOS are signed with our private keys. You can verify a build has been signed with our keys by running ..."

http://wiki.lineageos.org/verifying-builds.html
That's funny, I don't really get any work related things done after lunch.
Perhaps I'm just sensitive to it but the House of Cards placement in particular seemed really conspicuous to me. (Maybe especially because they just all had iPhones in the previous season and so there were lots of iPhone shots when they used their phones).

But generally I find I notice the product placement spots because they seem out of the flow of the program, I guess they work best when the brand is more hands-off and lets the creator do it subtly.
As you pasted-it, it does not accomplish venv:

- you still need to change PYTHON_PATH to recognize libs from `libs`
- packages have bin scripts sometimes that most likely, will be needed by the project

A more proper command:
- pip install -t ./libs --install-option="--install-scripts=./bin"

But still, does not solve the PYTHON PATH issue, it won't be solvable because all python cli tools and all scripts in ./bin must be aware of PYTHON_PATH including ./libs

This is what venv does and pip alone cannot easily solve, replicating an entire python environment that is aware of project local pip packages
Yeah, agreed. My multiline strings (docstring or otherwise) almost always look like

"""\
This line starts at the start.
And so do the following ones.
"""
The benefits of analyzing presentation viewers behavior
Exploring Racket, by Konrad Hinsen
Indeed, Shadowsocks is great but it's just a socks5 proxy under the hood.
So if a friend or family member from Europe wants to visit, they shouldn't travel with their personal laptops, phones etc?

All this talk of 'keep your data on a private vpn server and ssh' is so far outside of what a normal person can do its ridiculous. I understand the concerns but 99.999999% of people aren't even aware of these things.

And yet they can be arrested, detained indefinitely, and much much worse, for no reason whatsoever, and have their devices confiscated at the very least - and this isn't just a possibility now (as in its possible a black hole will spontaneously emerge and swallow us all) but a very likely probability.

So what do we do? Not have any visitors, never travel?
Well that's for sure wrong too. That 3% for the industry is outdated, and whatever the current % I think it would refer to % of swiss watches not % of swiss mechanical watches.

Anyway COSC is just marketing bullshit in my opinion, I don't think it matters or many people care about it, if they ever did. COSC is like Consumer Reports/JD Power (& Associates) certificates but for watches. People have long realized the useless scam of such things and know big corporations are probably slanging crap products that work more or less as expected, with a shady-at-best warranty in case it doesn't, and don't care about these tests.

That inflation link means you could have bought and worn a mechanical Rolex you liked wearing for decades and made money on it! And at a return % way better than saving the cash and more comparable to the % investing in stocks. Assuming you're diversified, anytime you can enjoy an investment more than just a # sitting in a bank or brokerage account somewhere that is great. Sign me up.

How have the prices of second-hand quartz watches compared to the prices of 2nd hand mechanical watches? Not good for quartz defenders I am guessing. What's the point of companies like Breitling continuing to make quartz watches anyway...
Customers are getting caught up as banks de-risk due to money laundering laws
So why does Trump do so much of it?
If the missles don't work I would argue that is pertinent information! Its all well and good discussing a strategy but if its based on a range of options where some are proven to work and some are apparently not working but its being covered up so they appear to work its subverted the entire process of oversight of government.
For me having to read even the ugliest code is better than having to horizontally scroll. Anyone who thinks there is a single one line of code for which it's legit to go beyond 80 characters is either masochist or using a view with more than 80 characters in available width.
Say Hello to the Zeroscience at Vulners DB. Indexed
Amazon Prime has gotten awful for adverts. They have pre-rolls for their other shows, which you could consider OK at the moment but this is exactly what happened with their Fire $TV_DEVICE line. They had a banner ad for new shows and that banner ad slowly morphed into advertising for financial services and such.

I've never been so upset about a product like this. I think I paid ~70GBP for the Fire TV and 20 each for two Fire TV sticks and then they sneak advertising in with a software update after the fact. It's particularly egregious because they've recognised the equivalence of ads and charging you money on their tablet range which I think you can buy at a discount if you agree to have ads shown to you on the home screen.