skysight-inc/HackerNews huggingface dataset:
> Using smartstack the applications running inside container can run on any port but the port on which they are externally available is decided by orchestration service

AFAIK this is not the case: with smartstack you configure your application to listen on some port, and you configure nerve to register <this machine's ip>:<the app's port> under <service name> in zk/etcd/whatever. You have to do both of these things; smartstack itself doesn't configure your app for you or make sure that nerve and your app agree on the port.

I'm not aware of any such efforts to make smartstack aware of orchestration yet, but I haven't gone looking recently.

It'd be entirely possible to make the app and nerve aware of network orchestration: have the orchestration layer 1. pick a port, 2. tell the app about it, and 3. configure nerve accordingly. In smartstack, each instance of <service name> can have different port numbers, so they could all be arbitrary high-numbered ports.

edit: You could also just have your orchestration layer inform the service discovery layer itself (in the case of smartstack, by writing the app's ip:port to zk/etcd/whatever). nerve contains some local healthchecking (sanity checking that the app is up before registering it) and maybe a few other things, however, so I think if you're already using / considering smartstack it would make sense to keep using nerve instead of having orchestration do it.
BrainFuck is quite far removed from a Turing Machine.

In BrainFuck, the "data" (the memory cells being mutated by the program) are completely separate from the code. As a consequence, BrainFuck code cannot self-modify and it has to maintain two pointers (instruction pointer and memory pointer). BrainFuck also allows the instruction pointer to jump arbitrarily far (i.e. from a "]" back to the corresponding "[").

In constrast, a Turing Machine makes no separation between code and data; it just has a tape (the machine's transition table is more like a language's interpreter than a program). Not only can a program modify itself, for many tasks it must; since the tape only advances one cell at a time, moving between two arbitrary cells requires the contribution of all those in between; whenever we traverse a cell, we must also modify it in preparation for any subsequent traversal.

Whilst BrainFuck is certainly a nice idea, I don't think it's the best example of anything in particular.

I wrote up some thoughts on this a few years ago http://chriswarbo.net/blog/2014-12-22-minimal_languages.html
What does it add on top of https://github.com/wesleytodd/react-express-middleware ?
Are you using it for server side rendering, too?
Nothing insightful here. Bad opsec, as usual.
we don't do always-on video conferencing where i work, but with slack + zoom, you can really easily start a conference call on the DM chat (/zoom -> works)
Holy hell, partial classes. I'm not convinced that, outside of WinForms designer-generated control definitions, there is ever a legitimate reason to use them.

I just tore apart one of those kinds of monstrosities last week, where the person who originally wrote it, went so far as to do C-style name prefixing on the methods, i.e. Foo_DoThing(), Bar_DoOtherThing(), Foo_DoOtherThing(), but left it all in one honking monster class instead of splitting it out.
By turning healthcare into a humanitarian mission instead of a business venture. My local clinic is for-profit and found that it made better business sense to only have the most rudimentary neurology department possible since it tends to be expensive. Instead they focus on their financial bread and butter like flu shots and annual checkups.
> They don't need the state for personal protection

"The Hamptons is not a defensible position."

~ Mark Blyth (prof. of Political Economy at Brown), on the recent rise in populism rejection of traditional politics (e.g. Trump, brexit, etc)

https://www.youtube.com/watch?v=Zzl4B3mrKQE
unless they're having trouble getting funding w/o loans, this shouldn't matter:

http://www.investopedia.com/terms/m/modigliani-millertheorem...

TLDR: market value is based on earnings power and independent on cost of capital. i don't think the risk of underlying assets change much in this case
This is part of the premium you pay for using Apple products. While the design is aesthetically nice, you are limited in your flexibility. This is why I prefer other operating systems that I find easier to customize.
The Centuries-Old Shrine Where Indians Pray for U.S. Visas
Yes I know how all that works becuase I worked in the utility industry for over a decade.

My point was
(1) when comparing peakers vs storage you need to consider the cost of:
Off-peak generation + storage cost vs peaker cost.
(2) This wasn't a cost driven thing. This is a demand driven thing.
No work without pay. If they feel that's a bad attitude then they can start offering their products and/or services for free and see how they like it.
This seems to cover a small part of it. Also I don't know much about prison but I assume inmates have access to weights (or maybe that is just a hollywood stereotype that I have picked up). I suppose though while you are in jail if you aren't bailed out you can do weightless training.

I would imagine forearm training would be critical since grappling is so important in self defense. This could be tricky if there are no bars to hang from.

I'm thinking the best training is probably fairly similar to football training... get big, fast, and strong. I'm just not sure gymnastic like training will do that (particularly as you gain weight that sort of training becomes fairly difficult).

Thus from my limited knowledge... I would probably do a ton of power cleans, power presses, and sand bag grabbing. Maybe some farmer walks. Probably no dead lifts while in prison though since that would just sap you and leave you weak for attacks. Maybe deadlifts prior to going in.
I attended a recent talk of a leader in bringing drugs to market (not naming names). The current trend in pharma is moving away from R&D to S&D. i.e. Search and Develop. They search for promising molecules developed by startups or by government, then develop that into a final product manufacturing process. Most of the research drug failures are committed by third parties and do not cost big pharma anything...shoukd not contribute to the cost of drugs
A variant of this that I heard used to be a problem in India: have someone else declared dead. It can be remarkably hard to fix the problems created in a bureaucracy when that happens.

http://newsok.com/article/3044137
You're exactly right. We need publicly available databases on what they charge for every procedure/test/product they perform/sell for every insurance plan and for paying out of pocket. We need competition.
Read Asimov's Robot Series. You'll love it.
I recently purchased one of their "one for one" backpacks. It's of excellent quality, and the founder, Salima, truly cares about the company's mission.
@komali2 You're kidding, right? China is a world power, for sure, but even they know that the US would kick their assets in every way. They have potentially more foot-power, but the US could get away without ground troops at this point. The GPS satellites, the ones that the US owns and are used by every other nation, could be easily shut off or locked if China started a conflict. Sure, they might try to launch their own, but that takes a lot of time and money, and wouldn't be too difficult to sabotage. The US has like, what, 11 aircraft carriers? Last I read, China had 1 and it was a hand-me-down from Russia. The US, as of this last year, has laser technology to shoot down missiles, and I don't think even Russia has this yet. China owns part of the US's debt in treasury bonds, which only the US can honor; so if they want their money to start building up to a war, the US could basically say no and there'd be little that China could do about it. China will do what they can to stay a world power, but it doesn't make financial sense for them to compete militarily with the US when they can profit from competing with the US economy. While the Chinese economy has waxed and waned, like anything else, they have done exceptionally well being an economical force rather than a militant one. I think this can be shown in the fact that many quality products are being produced by Chinese companies, which wasn't really happening a decade ago. Now they are at a point where they can take advantage of certain foolish decisions that the US has made that have stalled it's scientific research, like dismantling large portions of the space program and putting heavy regulations on stem cell research, to name a few. I am making a prediction here, but I think far more scientific advancements will be coming from China in the decades to come. And I think that's a very good thing.
This is not very scientific, but it has worked for me. I have curated this list of YouTube videos some of which have helped me and some of my friends a lot in the last year. I watch 1-2 of these in the gym when I am doing my cardio (elliptical or treadmill) three times a week towards the end of my workout.

goo.gl/Xv4pwT

I am a very distracted person, and need constant reminders. I have designed my life in such a way to be constantly reminded of my priorities. Once, I decide I need to include an activity in my life (be it learning, workout, eating healthy), I set up a time and corresponding reminders/ alerts. This sort of planning and tracking helps tremendously stay focussed on only things that matter.
There is some insider trading going on here. Why was it around $15 about a week ago, which didn't seem quite right, only for the Justice Department to drop this bombshell?

It just means more QE from the ECB. The usual funny banking. More in the pipeline.
Every single job across industries that I have ever worked at (and i've only worked in the US) has been inflexible on hours and location.
> some of it was years ago

Check his post history, he's still doing it. (I don't remember his current username otherwise I'd post links)
Clearing up some things from this week
Chrome Safe Browsing Blocks Piratebay as Harmful
I'm disappointed LOLCODE [1][2] is not on the list.
[1] http://lolcode.org/
[2] https://en.wikipedia.org/wiki/LOLCODE
If this really ends up being the case they can just slow the model 3 deliveries to a trickle-- All those pre-orders are really just an interest free loan with fungible time tables on actual delivery, and the "financing terms" only get better for Tesla the longer they kick the can down the road.

(What is the net present value of $1000 in 2020? 2025?)
yep. Look for "code DD in Box 12 of W-2". That is the total cost you and your employer paid together.
> It would if one would require a Post Office employee to be present whenever an identity has to be verified, but in practice, people would have a passport or identity card with a photo/fingerprint/DNA scan.

And who would verify the passport's authenticity? That takes training.

Every state has a different drivers license format: including watermarks and other security features. Post Office Employees in Texas will know how to read the Texas Drivers License (but not necessarily one from New York).

Valid documents for identity include:
* Birth Certificates (differs from state to state)
* Most Drivers licenses (differs from state to state. Some states are not federally valid forms of ID btw)
* Passports
* Social Security cards (uuuhhhhh... we probably should stop this one)
* etc. etc.
This sounds like some sort of bizarre psychosomatic thing, like Chuck from Better Call Saul and his "allergy to electricity"
That middleware is actually just a isomorphic render method, which uses express's render on the backend and react's render on the FE.

So that middleware actually requires a solution similar to what Nighthawk provides. The point was to keep the routing and the rendering separate, unlike what react router does.
Dell Updates XPS 13 with Intel’s Kaby Lake, Killer Wi-Fi, Now Also in Rose Gold
I don't see any valid reason why anyone vaguely technical should commute to an office.

I think this is really overvalued:
"communicating with co-workers while working remotely is not as simple as going up to their desk and starting a conversation".

Anyone technical despises being interrupted when working. This is why Hipchat/Slack/irc is the best way to communicate, even when sitting right next to eachother.

Communicating by text is also better because you never have to say/type the same thing twice. You never forget what a teammate told you because you can look up the conversation.

Company "culture" must be something for people who don't have families or friends. Personally, I don't get it.

I have worked remotely for 3+ years as a contractor. The last office I worked at involved a long commute even though I mostly communicated by Hipchat.

I don't ever see going into an office again unless it my my own leased space. Remote work is the future!
Ask HN: Feedback for Interview Survey?
One of two things keeps happening to me. I ask the right questions but forget something crucial or I work with a recruiter and get rushed into deciding if a company is good or not. So I wanted to create a printable survey I could use to figure out over the phone, in addition to the usual information given, what the culture/work environment is really like. This is geared toward .Net development environments and is based on both positive and negative experiences.

In your experience, would this survey fish out/raise red flags in your previous work environments? Am I missing anything?

Company: _____________________________________ Date ________

Simply circle each or write in where possible.

Communication

- Email: Outlook, Gmail, Other
- Chat: Skype/Skype for Business, Linq, HipChat, Slack, Yahoo Messenger, Brosix, Other
- Screen Sharing: chat client, dedicated client

Code

- Revision Control: SVN, Git (GitHub, GitLab, BitBucket), TFS (Using Locks?)
- Tooling: 2008, 2010, 2012, 2015 VS / 2008, 2010, 2012, 2015 SSMS / Gulp, Grunt, WebPack
- Do you have? Code reviews, Dedicated QA’s Automated/Manual, Release Process
- Continuous Integration: Build on schedule, build on demand, build on commit
- Releases: Day, Night, Continuous
- Unit Testing: 10%, 25%, 90%, Using mock framework, TDD

Workstation

- Security: Assigned passwords, Turn in computer for updates, scheduled updates
- Specs: Monitor size? 12″, 13.3″, 14″, 15+″ / Resolution? (1440x900, 1600x900, 1920x1080) / RAM 4, 8, 16+ / HDD or SSD / Full Keyboard? / Core i7 / External Monitors? 1, 2, 3
- OS: Windows 7, Windows 8, Windows 8.1, Windows 10

Misc

- Remote Likelyness: once a week, with excuse, after you’ve earned it, senior employees only
- Celebrations in last 6 months: 1, 3, 6, 7+
- Internet Filters? Filter music, filter blogs
- Problem, who can I talk to? Guy in France, Someone in the same office, Take care of it yourself
The border between hilarious and disgusting is sometimes tenuous. When I read these comments by MBAs or any other type of "educated" people, I wonder what their student loans helped them with
Most countries are happy to spend 1/2 the US's GDP % on national defense. The EU has both a larger economy and a larger population so it could easily support a larger military. But, doing so is basically pointless as for example crushing Iraq had zero benefit to the US and countries that matter have nukes.
"Reload"/"Refresh" on Windows. As others noted, Command-R on OSX.
We hope you enjoy using your 1:1 backpack! :) Thanks for making the world brighter!
Write a blog post!
How I built a Hacker News client with Angular 2
It's 2016. If scifi taught me anything about 2016, it was that it involved outrageous plastic headgear.
You are right that docker currently runs as root. There is some phenomenal work that Aleksa Sarai is doing on getting runc to work as an unprivileged user [1] that Docker should be able to take advantage of at some point. There are still a lot of places which need love without root in the Docker world, but it's a huge step forward.

[1] https://github.com/cyphar/runc/tree/rootless-containers
Promoted to what? A manager? I guess in a more hierarchical organization you get to be Programmer III instead of Programmer II and maybe get a higher salary?

What about those of us who don't have strictly defined roles like that? Where I work you're basically just a programmer. Experience has always seemed to count more for me than an arbitrary title.
Sure but that's all outbound. What matters to me more is what can connect inbound e.g. p2p apps and most of them do not really do ipv6
If that is the case, why wouldn't the humans question that premise by testing out whether a live human can be a better battery than an actual battery?

If the machines needed a power buffer for their nuclear plants, they could certain mass produce lithium ion cells. Or if they really needed a bio-battery, they could use cows, which wouldn't resist so much. Or they could simply remove the parts of the human brain that cause trouble. Put every human in a persistent vegetative state by physically destroying the part of the brain that controls consciousness.

The one and only conclusion you can draw from this is that if the Matrix is a battery bank, the machines are idiots. Clearly, judging from the remainder of the script, they are not idiots. They are, in fact, quite clever. So in order for the humans to believe the Matrix is a battery bank, they have to be the idiots. They can't just be ignorant of non-human batteries, because they exist inside the Matrix program, and Morpheus actually shows one to Neo.

So the AIs would have to perform a physical surgical intervention in human brains, inserting an autonomous microsurgeon robot attached to the Matrix connection hardware that is constantly identifying the neurons activated by the concept of a computer CPU, and those activated by the concept of the human brain, and physically removing and blocking any connections between them. The Matrix connection hardware is much more precise than an fMRI, and clearly, the machines are capable of doing fine microsurgery into the human brain to install it in the first place. The Matrix-born humans then have to connect the concepts in a way that routes around the physical block in order to understand them at all. So the humans are like batteries, but they provide a different kind of power than electricity. What kind of power? I can't tell you, and even if I could, you wouldn't be able to understand it, because the machines have deliberately damaged that part of our brains. The freeborn humans of Zion actually gave us the battery metaphor, that is as close as we can physically get to understanding what the Matrix is for.

Morpheus even says, "Unfortunately, nobody can be told what the Matrix is. You have to see it for yourself." If you are told, the physically enforced agnosia kicks in, and you are physically incapable of understanding what you hear. If you ever do manage to make the link, a microscopic pair of scissors inside your skull snips an axon or two, and you immediately forget it.

That's the only retcon I can come up with that doesn't make the whole battery concept sheer idiocy.
That's right, we shouldn't place blame on the sites hosting all of the illegal software torrents. They started it completely with the intent of only distributing media in the public domain. They were also totally unaware of people using their project to distribute the latest Adobe Photoshop release, and thousands of movies.
If you are interested, that link I posted above, Nighthawk, actually is a port of Page.js for its dom and pushstate handling wrapping the Express router, so it is just as simple. Here is the bulk of the code taken from page.js: https://github.com/wesleytodd/intercept-link-clicks/blob/mas...
That's probably going too far in the other direction. Perhaps start by limiting all copyrights to 5-10 years with no extension? If you can't make good money from IP in 5-10 years you shouldn't be relying on income from it anyway.
Hah. There you go: you need almost the opposite mix as me, except for not wanting an easy-to-break charging port, either :-)
I'm tempted to Google about this but I assume I'd end on a government watch list...
That's an interesting claim!

I will go see what I can see. As for a starting point, I'll probably dig around CB insights, pitchbook, angellist, and the Center for Venture Research at UNH (New Hampshire). Then go from there.

If you are right, that's a very very interesting result.
> Because missile guidance technology is a little more sensitive than the iPhone 8's screen dimensions. Because the specifics of the US space surveillance and communications network isn't something you share with anyone but the closest of strategic partners.

Neither of which is in any way relevant to the civilian space program.
Almost every café in Berlin that has wifi: Ask for the wiki password at the bar, or find it next to the menu card, or at some wall.

The only problem is that many cafés / bars don't provide wifi, because they are afraid of providing wifi at all due to the "Störerhaftung" (a legal issue that exists almost nowhere except in Germany). Luckily, there's Freifunk and VPNs to the rescue.
Forbes did a whole feature on this product: http://www.forbes.com/sites/viviennedecker/2016/09/09/the-23...

The founder Salima has applied to YC in the past, so I'm sure she'll be here answering questions
Land Locked Ship
Any way to fix the title? The 'the' after 'for' looks like it ought to have come after 'become'.
Promotions are a myth told to people to get them to work harder, aren't they? They're quite rare and usually come with moderate increments. Whereas the best way to increase your salary is to move jobs. Salary is only vaguely linked to job title.

(I was once promoted en passant, when my first employer wished to inflate the number of Senior Developers assigned to a consulting proposal...)
See above: https://news.ycombinator.com/item?id=12514798
Depends on how you do it, but some people just don't give up on someone "walking away". For example, Bill Ewasko - http://www.otherhand.org/home-page/search-and-rescue/searchi...
No, weights were banned in American prisons years ago.

If you can do one-arm pressups and pullups - which Wade's training leads up to - you will be stronger than 99% of people who train with weights anyway.
This is a truly great idea. I think there should be a movement to explicitly rank and grade tutorials.

I wonder if there is a good way to create a hub for this sort of thing.

A HN interface would not work because

(1) you want many different rankings for different subjects (so maybe more like reddit), and

(2) tutorials and guides have expiration dates.

What is a good way to deal with both of those?
Is this from your own experience or just what you believe to be true? I'm not trying to be rude, but that piece of advice holds much more weight coming from someone that has actually served time.