skysight-inc/HackerNews huggingface dataset:
1) Testing a Dockerfile, then scp'd it to the server, doesn't guarantee that it will build successfully on the server. However if you build successfully an image and push it to a repository - it will definitely work. Based on this, you can decide which one works for your setup. If you are on a production setup, I would say that you should use tested images, instead of hoping that the Dockerfile will build correctly.

3) As far as I understand your problem is that both containers would be running their own nginx, and would have to take port 80 for example. If this is what you mean, you could just EXPOSE port 80 from within the container, and it will automatically be mapped to a random port like 43152. Both containers would be mapped to different random ports (for example 43152 and 43153). You could then install Hipache and route different domain names/sites to different containers, essentially having Hipache proxy in front your Docker containers setup.

EDIT: There is also a project called Shipyard, which is Docker management... what I described above is called "Applications" inside Shipyard.

[0] https://github.com/shipyard/shipyard
[1] https://github.com/dotcloud/hipache
How well does this work for packages?

Especially in the case when I ask for something to be shipped via UPS, and they "outsource" is to the USPS for the last part of the delivery?
No, you misunderstand what I was saying/askin. I asked "Why?" And then I proceeded to enumerate all the reasons I could think of that would lead a reasonable person to have "privacy concerns" about Google. And I also said that they did none of those.

Agreed. Abuse wouldn't be even very feasible to define, let alone get the majority of people to agree on.
Varnish 4
I have to say, I really don't like that 'simplification' of debts. If I extend credit to B, I don't want repayment to be contingent on the creditworthiness of A instead.
Strongtalk: A High-Performance Smalltalk With An Optional Type System
> Roll the mouse wheel inside of the tree view. If you are on a touchscreen device, pinch out.

I have neither mouse wheel nor touchscreen device, only a touchpad.
I do live in the Bay Area and the only place I have seen Square is at coffee shops and farmers market stands. I don't think it has that much traction and their growth is reported to be poor (or negative, I forget which). The mag stripe reader was a cute hack but when you get down to it the service is pretty expensive and you need a huge up-front investment in equipment, compared to ordinary cash registers which are dirt cheap.
Using ansible inside of Dockerfile's means that you do a full rebuild of your image for every minor change, and when shipping images, you ship the full image every time instead of a small delta.

What do you gain by using ansible inside of your Dockerfile? I find ansible pretty useful to set up a bunch of Docker images on a server, but I haven't found it very useful to actually build the images.
Save the historic GGMRC model railroad in San Francisco
Bad programmers will code bad in any language. Language change won't help.
Originally, exposure of APIs to JS was done using the XPConnect JS/XPCOM bridge in Firefox. Simplifying a little, XPConnect is not thread-safe, so exposing APIs to workers required manually writing code using the SpiderMonkey JS API. This was done in an ad-hoc fashion for a while. Additionally, XPConnect allowed JS code to be written to expose functionality to content on the main thread, but was basically a non-starter on the worker thread because of the lack of XPConnect. (Simplifying slightly again, XPConnect also provided required security protections.)

Between having to write thread-safe code and custom JS exposure, the overhead could be significant. This has now been greatly improved through the use of automatically generated WebIDL bindings, although C++ is still used and threading issues do have to be dealt with (usually by remoting a runnable to the main thread), so worker versions of an API still aren't free.

New Web APIs implemented by the platform team should usually be designed from the ground-up for worker exposure and have worker support land soon-after or at the same time as the main-thread support. Experimental APIs related to Firefox OS and developed by Firefox OS Gaia teams are more likely to be prototypes implemented in JS for rapid prototyping and will need another rev before they can be exposed to workers. This last bit frequently happens as part of an effort to standardize the API informed by the prototype.

Links for context:
https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/...
https://developer.mozilla.org/en-US/docs/Mozilla/WebIDL_bind...
The history of invisible ink is finally out in the open
I did misread the nepotism part - but he is mistaken about the pitfalls of a meritocratic society. While I do agree with his idea that the values of standardized, mass education that functions like a sieve are too narrow - and that being branded a failure too early can leave one unemployed for life. But on the whole that is becoming rarer, not more common. We - as well as Britain - have a system of public and private education that lasts until an individual is aged 18 - 22 years. We at least to some degree invest in our youths and give them many chances to succeed. And yes, it is far from perfect - but it is also still far from a true meritocracy, which functioning perfectly would find and cultivate talents from all individuals and allocate them to a task suited for them, and would give every student similar opportunities to discover and cultivate their own talents.

I just don't see what a better alternative to this perfect meritocracy would be. I don't see any alternative proposed. I don't see a better way to allocate labor. You choose people for positions that are well suited to those positions. How else would we have it? How else would we build/accomplish/organize anything?

A selection of one is a rejection of many. Likewise, choosing to fulfill a single duty means choosing not to perform all other duties. Should we do nothing? Should we hire no one? In the end I think this critique of meritocracy collapses to Marxism or some form of communitarianism - a nice idea in principle, but a failure in practice. To even remotely be able to accomplish the same kind of technological and societal progress that a true meritocracy is capable of you need to make decisions about who is and who isn't suited to particular functions.

So this seems like less a criticism of meritocracy than a criticism of the economic inequality that necessarily emerges in a society where individuals are different from each other.

Also, I somewhat disagree with the idea that a coiner of a term gets to decide its meaning in perpetuity. Language changes and terms get repurposed and given new connotations
The problem is at Linode’s DNS resolvers. For my own servers, I worked around it by changing to Google DNS, and ensuring it was listed before Linode’s own DNS servers. https://gist.github.com/natesilva/11409605
In a meeting with Adsense employees, by an Adsense employee, I have been told that when fraud is discovered, the account is not cut off and they are not immediately notified. I was told that they wait as long as possible before cutting off the account. Do you deny this?

After attending several meetings with Adsense employees I believe that 90% of Adsense accounts could be considered in violation of at least one policy. Several employees have been told me increase revenue by means which I considered policy violations. Once I saw another Adsense publisher directly confront two employees directly because one said strategy X was a good way increase revenue and another said it was a good way to be banned. They could not resolve this basic issue.

Google is capricious. They are often draconian. They are often evil. They are sometimes beneficent.

You mention that they are no names mention in the accusations. Who is the final arbiter of Adsense policies? To whom should Adsense publishers turn for the resolutions of these serious complaints? Where is the contact information for this person? If Google is not draconian, why has this info not been may public over the past decade?
Definitely.

Child, this is why I always add unit tests.
I am not sure exactly. I would imagine that by the 1970s or 1980s it was. I used to work for a different mail forwarding company than either Outbox or Earthclass Mail and worked on an internal version of the mail imaging/OCR/barcoding/etc machine.

The papers that I read detailed the efforts of folks to make OCR software primarily for the USPS for mail sorting machines. The earliest papers I saw were early 80s. You can read more about the history of mail sorting here: http://en.wikipedia.org/wiki/Mail_sorter

I would tend to assume that the advances in mail sorting roughly coincided with bulk mailing but I can't point the causation arrow. It could be that bulk mailing really took off and the USPS got swamped and then people started making mail sorting machines. Or it could be that people invented the machines, the USPS then rolled them out and then you saw presort discounts and then bulk mailing took off. I'm not sure which.
Flat LED now qualifies for rebates in most states (prices as low as $1.97)
I didn't find it yet, but I'd be very surprised if you couldn't just define a new "_is_" method/function/block/parse extension/whatever the hell it is to mean "::=". Or maybe "const_is_" if "_is_" wouldn't work.

Anyway, Avail looks very, very interesting, like it's a combination of Smalltalk, REBOL and Coq (although it's just an uneducated impression for now).
I tried it: http://imgur.com/lO7Rmxd
I wanted to add that not always “eval(input())“ is a bad thing. It's the core of REPL[0], for example.

[0] http://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print...
Fools, trolls, manipulators.

A lot of rumors are the result of poor understanding or misinterpretation. For example, there was a big rumor a year or two back that the US government was buying hundreds of millions of rounds of ammunition, sparking fears of everything from a conspiracy to drive up prices to an imminent imposition of martial law. The basis of the rumor was a government solicitation to bid on ammunition pricing, so that the government could lock in its ammunition purchases for the next few years at a fixed and predictable price, rather than being subject to spot price fluctuations which would make budgeting more difficult and possibly result in higher costs. However, to understand that that the government was looking for (essentially) a call option required a basic knowledge of finance and a fairly high level of reading ability to deal with the 'officialese'. It's not surprising that many people misinterpreted a request for a pricing guarantee as a solicitation for actual supply. There was also a misunderstanding of how much ammunition the government actually uses, with people who cheerfully fire off hundreds of rounds during their own practice sessions overlooking the fact that federal employees who carry firearms also have to take part in training and practice sessions where they expend large quantities of ammunition. More here: http://www.snopes.com/politics/guns/ssabullets.asp

Trolls shouldn't need much explanation; a tradition of spreading outlandish or silly rumors is as old as the hills, and for trolls every day is April 1st.

Then you have people with a vested interest in spreading rumors of one sort or another, often for political ends. Negative rumors about 'Obamacare' have been widespread in recent years for obvious reasons, likewise people on the left often expressed their animus towards the previous Republican administration by making up negative stories reflecting their view of how that administration would behave, or what would motivate them in the case of some otherwise random-seeming fact.

EDIT: here's an outstanding example right here on HN, today: https://news.ycombinator.com/item?id=7667068

There are a great many people who are not especially concerned with truth, but with shaping people's behavior in order to bring about a certain result - whether that is getting people to buy a product or a book, or to change the price of a financial asset, or to create a more favorable political environment etc.
Pbrt has a pretty solid treatment implementing both a grid and octree.
Looks like Firefox is still incredibly laggy on a 13" MBP Retina, which is a shame. Safari runs perfectly, so I wonder what the issue is.
And I say that if you are making design decisions BECAUSE Of testing you are doing it wrong.

The premise of TDD (and one I've found true) is that there is a natural correlation between easily tested code and well factored code, not that you should be compromising your design for testing. Thus the original comment about bad api design as a result of TDD rings false with me.

You have apparently encountered cases where people have introduced unnecessary DI in the name of ease of testing when in reality they should have been fixing their central design problems. Software with long dependency chains and complex IoC containers are not easy to test, though looking through the comments it seems that many people have fooled themselves into thinking they are.
They won't "stop breaking everything" because they feel the irresistible urge to constantly "improve" and "reinvent" the UI until it becomes unusable (a.k.a. the Linux desktop syndrome).

BTW, the refresh button is in the 'menu config', you can drag it to the old place. The stop button and other 'classic' buttons are gone. Meaningless 'browser.tabs.onTop' prepares you for your transition to Chrome.

FF is so frustrating and disappointing. I'm not angry, just sad.
Nope. Folks who sign up for the API generally have some awareness of what size files work and what don't. And since they're uploading for their users, we're aligned around wanting those users to have a good experience.

We haven't worried about it in this particular implementation around the API because we didn't run across many raw github files that were big. And even when we do get the odd big one, we just refuse to process it once we receive it, so it doesn't hurt us much if someone sends us a few GBs.
I think you're referencing an episode of This American Life.
http://www.thisamericanlife.org/radio-archives/episode/513/1...

It was a very informative episode, and did a great job highlighting the financial difficulties faced by car dealerships. It made me sympathetic to their plight, but it's an old business model and I still prefer the direct sales method being championed by Tesla.
It works a lot better for food & drink — Starbucks or your local coffee shop has very few items and they better be in stock!

For local inventory — I work for a team which has been trying to collect this data for years. You're 100% right ... it is extraordinarily hard. What's particularly crazy to me is that consumers are already starting to _expect_ it from businesses, and are shocked/angry when it isn't perfectly accurate. I think it is a carry-over from web shopping — it works there, why shouldn't it work in a store?
Fair enough, but it's still irrelevant under current law.
The Space and Freedom Party in light of the crisis of 21st century capitalism
no, says the law of unintended consequences
This is startlingly true. The more I dive into development and open-source solutions, the more worrying this becomes.

Edit: to maybe relieve the concerns of downvoters: I find it worrying because there are lots of generally productive and intelligent people who will avoid command line tools as much as possible. These are some very good programmers. This means that tools as simple as Grunt are deemed to be "too much fuss."

I'm a big user and supporter of OSS, and I try and promote it as much as possible within my colleagues and peer group. I've had some success, but that's really another story for another time.
I only agree about the "knowledge of newspage" part because I have seen many others go through said ordeal.

I distinctly remember not having looked at the newspage before I began the systemd-move update. My system wasn't rendered unbootable; I monitored the update process, and was clearly notified of the things that needed to be done in the update output. Same with the /usr/bin-move.

In unthorty's enumeration, yes, all those errors could've happened to an experienced user, but the three points other than linux-ck seem like bugs due to lack of testing. In other words, perils of bleeding-edge. And linux-ck is a third-party kernel.
$140k in refunds the past year

do you know what are the main reasons?
>I wouldn't be happy with a Java project with 306 mentions of anything.

Please expand on this.

>Go's interface{} and Java's Object not the same thing,

Yes, they are. They are both the top type.

>nor are they used for the same ends.

Yes, they are. Did you ever use Java before they added Generics?
Setting aside my own biases on the subject and giving the OP the benefit of the doubt, perhaps the OP feels that PHP is some kind of local maximum of some characteristic that makes languages good for the lives of programmers, but s/he feels there are much greater nearby local maxima. Perhaps the OP doesn't hate PHP as much as s/he hates that some programmers haven't found greater productivity/peace/enlightenment/whatever because they're locally maximizing and have settled into the local maximum of PHP, which s/he feels is much below nearby local maxima. In this view, the lives of programmers would be better if the PHP local maximum did not exist. I'm intentionally not commenting on the validity of this view.

Playing devil's advocate, perhaps it's even noble to hate a non-sentient thing which one believes impedes the progress of sentient things.
I thought of adding them to my list but I wasn't familiar enough with the story. I do recall something about an implosion happening though. Oh yeah, and the pyramid scam / forced suppliers thing.
Symfony and the related components are awesome. I've used Silex at work a few times and it's honestly fun. When done right, PHP can be almost as good as any other Object Oriented language. Unfortunately, when done wrong, it can be much worse.
Prediction:
Students will
a) Buy drugs on the internet.
b) Exchange for $ asap.
c) Sit on it and probably forget/lose it.
I had a music teacher who told us that when one of Pythagoras' disciples pointed out this discrepancy, Pythagoras threatened to kill him if he should ever reveal it to anyone else. Obvoisly hard to verify but a funny story nonethless!
Looks great, but brew is such a simple tool. It's one of the ones I don't think I need a GUI for. Maybe if I start installing lots of packages it will come in handy.
Edited. I didn't read the fine print.. :)
Busy food truck lines are not great for calling names out. With a line of people yapping, and traffic noise, you have to be nearly under the canopy to hear your name called, and there's only room there for ~8 people (crowded). So they'd have to send you an update to your mobile device, which now creates more questions like, how to communicate to the person in line that's been waiting for 15 minutes that no, you are not cutting in line. Once you navigate the line to the truck, do you show your phone to the person and hope they have good organization of orders pending pickup? Does Square help the business with that aspect?
Being married to a teacher let me say that anything helps. We try to make or re-purpose as much as we can but we still go over the max you can claim when tax time comes around on buying school supplies, etc. So good work Basecamp!
I am so excited for Changset Evolution. The only thing I miss having from git in mercurial, is the ability to safely rewrite commit history.
Lack of empathy is usually when one is a sociopath

Yes. I didn't make that sufficiently clear.

Interesting contrast in traits and psychiatric profiles you highlight in Holmes there. Nice.
Apple boosts MacBook Air processor, slashes prices
I'm talking about guests spreading bedbugs to other apartments in the building.
> I don't think you need to avoid private methods in Java.

I think the reverse question is better in Java. Does this method/class need to be public? Only expose the bare minimum in the API so that you retain free reign within your codebase.
Forests Around Chernobyl Aren’t Decaying Properly | Science | Smithsonian
I always thought I would dislike the tabs. Well after upgrading, I was right. Congrats, you succeeded to make them uglier than Chrome's.

I'm even surprised I hate the non-active tabs more than the active one.

Sorry about the rant.
I use something like that in one of my programs, it's more or less like a hacky repl (well, without the loop part). It isn't a vulnerability in any way either, since it's just the user running the code in his computer.
I've never been to Hursley. Just www.mqseries.net :)
Out of curiosity, can you provide an example (or examples) of what you consider to be a well-designed CLI?
In other words, a more charitable parsing would be "the new (PHP on Heroku)" instead of "(the new PHP) on Heroku".
so what types of things are you looking to do next?
That's correct, an NDA is completely irrelevant in terms of keeping someone from disclosing a crime.
Smalltalk, Forth and Rebol are some other languages which allow for transparent language extension. There are others, too. Minimal syntax helps, as does homoiconicity, but Nimrod shows that you can do much even with fairly "mainstream" syntax.
> Because it makes doing things right hard.

It actually doesn't. It makes doing things wrong easy. And no, those are not equivalent.
So true. I was hoping for a discussion on improved WebGL support (if any), performance improvements, new HTML5 feature support, etc. rather than whether the address bar and search bar should be merged. The latter is important, but IMO should not be the most discussed item.
Previously submitted under canonical URL with lots of comments:

https://news.ycombinator.com/item?id=7404345
I'm excited because it is SO MUCH more powerful than git's commit history rewriting, because "I re-wrote history" becomes part of your (distributed) repository's history.
Laravel is pretty awesome, but in my opinion, I think it borrows too much from Rails, and it does too much. Just knowing how to use Composer, PSR and a url router will take care of, like, 80% of PHP's headaches (even though, yes, none of this is even necessary, it's still better.)

The bare metal lack of abstraction in PHP that other languages have to have but PHP doesn't can be one of its strengths.
Reeder 2 For Mac Beta 2 Released
That's straight out of Neuromancer.

The opposite is a Russian surname.
"People, including you, are willing to accept it as fact that this is an obviously false conspiracy theory because its Google."

aggronn, that's simply not correct. As I said earlier in this discussion, I believe this document is a fake because in my personal experience the terminology is incorrect and the allegations are completely at odds with my direct experience. In addition, multiple people who I trust and have worked with for almost a decade agree that this document is a fake.
9 months later
Something like Real Basic (now Xojo it seems) provides a much better developer experience, while offering native compilers.

If I am not mistaken, QB64 is just a plain command line compiler, from what I could find.
Looks like a lot of fun! I feel like a bit of a dick for asking this, but: isn't it really annoying needing to enter unicode-only characters (like →, ÷, “ and ”)?
Possibly true, but I think beside the point. You are holding parapsychologists to a much higher standard than the rest of science (except physics.) That's what the entire article is about really.
Can you give a concrete example where you would need to run a custom kernel? For security reasons?
Said every author of a security bug ever.

Edit: Not sure why I got downvoted. Developer #1 writes script that prompts technical user for input expecting (as parent did) that stdin will be a local console. Developer #2 later wraps script with a web form so sales/marketing can access the tool as well.

https://www.owasp.org/index.php/Don't_trust_user_input