skysight-inc/HackerNews huggingface dataset:
> Obama during his candidacy was the most opposed to this cloak and dagger stuff

Were you watching the same campaign I was? Obama's response to "what would you have done differently than Bush?" was "I would have hit Afghanistan harder." He campaigned on a policy of essentially turning back the clock to the Clinton era, curbing some of the worst aspects but not on fundamentally scaling back the whole operation.

And where were you for the second campaign? He campaigned as "the guy who killed Osama." The guy who sent troops into Pakistan without Pakistan's permission and shot Osama in the head in a midnight raid. And people bought it up. They made a movie out of it. And then pressured him to go bomb Syria.

> How can voters influence outcomes when regardless of the principles and/or promises of who gets elected they end up getting the same policies?

By and large, voters get what they voted for. If people wanted a real scaling back of the military industrial complex in the U.S., they'd vote for candidates who propose to do that. But very few people really do. They might oppose this or that specific program, they might support a 10% budget cut here and there, but the mainstream of the voting populace is simply not willing to give up on the idea that the U.S. should maintain total military supremacy over the world. The cloak and dagger stuff is part and parcel of all that.

> I always get this impression that the first day in office of a new president some guy in a black suit comes into the oval office, sits down across from the president

It's really more an issue of incentives and priorities. At the end of the day, almost nobody who voted for Obama in Round 1 changed their vote in Round 2 on the basis of his failure to close down Guantanamo. But Republicans gave him absolute hell over Benghazi. That's the incentive that American voters create for the President. Even if they support some anti-war or anti-spying policy in the abstract, when the rubber hits the road and Americans get killed, the blame will fall squarely on the feet of the President, and the question will always be: what could we have done to prevent this?

Right now, half the country is up in arms that Obama shook hands with Ramon Castro. They are a lot more pissed off about that than the other half is about Guantanamo still being open or NSA spying. That's the incentives and priorities right there.
Agreed - why dig up ancient books that did not stand the test time? Just go forward with what is present and focus on future.
Red Hat just added Docker to RHEL 6.5, so there's your example of them adding something mid-lifetime.
> I wouldn't claim they're doomed from the start.

They are set back and certainly extremely limited from the start. Native means you have almost unlimited capabilities for interacting with the user and their system. A browser application by definition is much more limited. The experience is always improving but it's to get the point that native applications have always had -- and they still have a long way to go. And the nature of browser based applications might mean that it can never happen. The browser is layer between the solution and the user and it will always interfere in some way.
Which part is generating the keypairs? Is it bitcoin specific?

I'm curious how it's done. I'm thinking to code up something where people can have a small amount of bitcoins donated to every URL they visit. If it ever caught one if could be a way to fund content instead of ads.
Okay, thank you for putting all that together. Running everything out of runit/etc is about what I figured I'd do if I wanted multiple services in one container, so it's great someone has already done all the work for me. :-)
>Why bother suspiciously going door to door (where the residents would be more likely to quickly retrieve their mail anyways, instead of some common box down the street) when you can pry open a superbox and steal the mail of dozens of people at once.

Suspiciously door-to-door? Slap a newspaper bag over your shoulder like you're delivering fliers and go collect everyone's mail.

Quickly retrieve their mail? Most people are at work for hours before and after the mail is delivered.

I've lived in communities with both services. I prefer home delivery, because it's more convenient to me. But if you think it's easier to break into the super-boxes than it is to steal someone's home delivered mail, you're out of your mind. Luckily, community morals make either mostly a non-issue.
Great. Would love to hear your results!
Using StrongLoop to Overcome Challenges with Connecting Mobile Apps to Data
6-year-old kisses girl on the hand, is suspended for sexual harassment
he he. In fact every group claim that the "ancients" already knew "everything" but we just forgot about it and rediscovering it..
But it's not idiomatic to take advantage of those close ties (by, say, having two containers share a named pipe mounted from the host.)

I suppose what you mean is that containers aren't applicable in every instance that VMs are--like, say, providing VPS instances, where some of the instances might want to do funny fiddling things with their virtualized "hardware." This is true.

But for the situations where the applicability of VMs and containers intersect--using them to run Heroku-like isolated "app slugs", for example--then you can think of containers as lighter-weight VMs, and you won't really go wrong.
I can think of a number of different approaches to try and explain it, loosely building on each other:

1) If you've used Qt before, you can think of QML files as next-gen .ui files. Like .ui files, QML files allow you to instanciate objects implemented in C++, set properties on them and declare connections between them. However, unlike .ui files they can also instanciate things implemented in QML, and they can evaluate JavaScript expressions.

2) The latter is quite powerful. Expressions can be bound to properties (example: c: a + b), and if properties referenced in an expression (i.e. a and b in the example) change, it will be re-evaluated and thus the value of c will change. This is a simple principle that tends to eliminate an entire class of UI bugs by dropping an entire class of scaffolding code, namely code written to update values somewhere in response to changing state in the system. This is the declarative style - the correct state sort of arises out of the description of the system the files hold, instead of needing to write procedural, step-by-step code to get it there.

3) On top of ideas like this, QML has an excellent anchor-based layouting system and well thought-out ways to inject things like animation behavior into property and state changes. It's also implemented on top of a modern OpenGL scenegraph that does sophisticated draw call batching, texture atlasing and so on, so its performance is game-like. It's also easy to get your own stuff in there.

Combined with what Qt offers in terms of writing serious C++ backends to UIs written in QML, I'm a fan.
It's just a cross-platform UI markup language, as far as I know. It solves the problem of creating a cross-platform UI, and whether it is better than other solutions is a matter of preference.

https://en.wikipedia.org/wiki/QML
I kind of like grocery shopping, especially if it's in a decent store that has enough registers open and where the vegetables aren't molding on the shelves and the cans aren't all dented.
One pricing strategy I've heard of goes like so:

No rational person would bid above the on demand price, so the spot price will never rise above the on demand price. Therefore if I bid just above the on demand price I'll never be outbid, and I won't have to deal with automating the switch from spot to on demand instances.

Needless to say, this logic is wrong.
Also voted most fucking ugly.
I'm going to manually email them myself at first. The ones that decide to use it will hopefully do a blog post on it furthering the concept's reach more autonomously. Over time, as it gains traction, the site should start to promote itself.
We store the shipping/payment info if you create an account. The idea behind it is that entering information on mobile is a hassle and with amberExpress you enter it once and then it works across all stores.

During the summer we went through the PCI DSS process. PCI DSS is a standard for secure handling of credit card data. This means we have to abide by a very strict set of rules of storage/usage.

At the same time, if you don't have an account all your information is volatile and disappears after the order is placed.

When it comes to 2, the truth is we wish it was baked in too. That's why we implemented it the way we did. All we can do / focus on is on building an amazing service.
US and UK suspend non-lethal aid for Syria rebels
Searching always been pretty much instantaneous for me at work. But when I used Outlook for my personal email it was terrible and I now use Thunderbird at home for superior searching. So I don't know -- probably everyone here is right.
Elementary OS is the best. Problem is, it's buggy and would freeze on me atleast 3x a day.
Amazon gift card raffle, free entry
Seems like a throwback to TV -- you pay for the service and you get ads.
The metal cage is there because probably the boxes were robbed constantly ;) The pics I've seen of these new boxes don't have a cage but I imagine will when tons of theft happens.
Look at the Rakefile under `task :generate_keypairs`. It's using the bitcoin-ruby gem
Maybe Gmail can be fast when you have a small inbox and a low-latency internet connection. I don't remember complaining about the performance early on. But now it takes 3-10 seconds to switch to a label.
This is really only a step away from Dickens-esque statements. "Then maybe they should die and decrease the surplus population."
But processes - theoretically - are segregated. Own address space, running as different users, bound to a processor set, etc. The use of hypervisors is because processes in practice don't really do what they say on the tin, so you need to force another layer of protection and manageability in, and just eat the overhead.
What features would you add to Gmail to make it more useful for business users?

What UI fixes would you make?

How do I get started writing plugins for gmail to add the above features and fixes?
His implicit assumption is that the act of me voting increases the extent to which government represents me enough to justify the time and effort spent voting (not to mention researching candidates and options). I think that assumption is demonstrably false.
If you take a look at the math subsection (https://sites.google.com/site/ancientbharat/math) be aware that Brahmagupta was a beast of a mathematician. His sucessors, the two Bhaskaras, were ridiculously good as well. Their names aren't nearly as big as any of the European mathematicians you know, but they were powerhouses of math during Europe's dark ages.

Brahmagupta was pretty much the first recorded dude to use 0 in math, so he's got that going for him, and the only issue people take with his work is that he was weak around the indeterminate forms (e.g. claiming 0/0 = 0)[1]. His work on Pell's equation is pretty awesome too, but then we're veering into more esoteric mathematics, so I digress.

Bhaskara II invented a rough and early verison of differential calculus to calculate instaneous rates of change in the mid 1100s. Newton finished his Method of Fluxions in 1671. (Newton's work was independent of Bhaskara II's and is said to be far more rigourous with greather breadth and depth of usage and applications; I haven't read enough of either to be an honest source, but the claim seems reasonable.)

[1]For an ancient, though, this is understandable. We know that 0⨯0 = 0, that b|a iff a = b⨯k, and that a = bq + r, so it's reasonable to assume that since 0 = 0⨯0 + 0 and 0|0, that 0/0 = 0. (Phew!) When you pretty much codify 0 in math, I'll cut you a break on that one.
Thanks for the nice words btw :)
Google wants to take control of your Living Room
So You Have an Idea for an App...
The cost of community mail delivery is not unknown.

Imagine that UPS figured that delivering packages to your door is a real sucker's game, and they were in a monopoly industry where they could unilaterally make moves that competitors couldn't competitively undermine.

So they want to build big, onerous, eyesore structures everywhere throughout a neighborhood.

How much do you think it would cost them to do that? What do you think they will pay to rent the spaces, for instance?

Canada Post pays nothing. The federal government just forced it on municipalities. To make this even more built on imaginary economics, Canada Post forces developers to pay for Canada Post to install the superboxes ($200 per address).

One of those beautiful forms of downloading that of course end-users pay for, but somehow it saves the end user money.

In any case, Canada Post does not publish numbers for CMBs. They publish numbers for group mailboxes (how credible and all inclusive they are we certainly don't know), which includes a massive array of group deliveries, of which superboxes are a subset.

I actually worked part-time as a mail carrier doing home delivery once. It's not easy work, especially in the winter.

I'm not saying it is. But what is happening here is a battle between the union and Canada Post, and both are a part of the problem. One of the reasons home delivery has so many imaginary expenses is that it is a secret known country wide that doing home delivery is a dream job because you are paid for the route, but most carriers can complete the route in a small fraction of a work day, though it is assessed, over long battled union rules, as a full work day.

It's a battle of imaginary work and imaginary expenses, and in the end everyone loses.
The author is only arguing for ramping up funding of defensive biotechnologies. It is much easier to create a new virus than to find a cure for an existing one. The immune system is simply vastly more complicated than a virus.
But the web site still works in other browsers, doesn't it?
Show HN: CycleLux, my first attempt at responsive ecommerce
Thanks I will have a look and just to be clear, I trust your intend 100%.

I have been lucky enough to be accepted at Sloan Memorial en New York given I have more than a thousand moles.

I wonder if I could ask my dermatologist there.
Just out of curiousity, what are you looking for in a delivery service that Google Shopping Express/Instacart does not offer?
Sent few more, the website is not checking the Blockchain fast enough. :P
I think you have a mistaken assumption, though, namely that advances in CREATING dangerous things will be paralleled by advances in the ability to prevent bad things.

Nuclear weapons have been around for over 50 yeras. We do not yet have __in place__ any ability (other than treaties and fear) to prevent a nuclear holocaust. Missile shields, "Star Wars" -- all of those are of questionable capability, and none of them are deployed.

Given that our only way of preventing nuclear winter is to agree not to launch (and go to war to prevent Bad Guys from getting them?), an option which is not available when dealing with a disease, I'm not optimistic about our future ability to prevent a superbug from wiping out humans.
K-Means Data Clustering Using C#
reserve can be very easily misused. For example, let's assume a function append_10_items_to_vector. Since we're adding 10 items, we may get a better performance if we call reserve() before 10 push_back()s. Right?

Not always. If we have a loop that calls our append_10_items_to_vector N times (on the same vector), then your reserve() just transformed the loop into O(N^2) code. Without reserve, it would be O(N).

As a rule of thumb, use reserve only if you are really sure that nobody's ever going to add anything more to your vector in the future.
This is the current text:

> to change the text of this page send 0.1 btc to 16JMNc3B5vCkuuPxNcNj388gmhP8UDKBuW

Well done, it didn't take more than 1 hour to someone find a loophole.
Welcome back OpenVZ... except that this will be part of the OS now.. and i wouldn't call these "an optimization of virtual machines".. containers are part of the kernel/OS so call it kernel/OS virtualization based if you want where virtual machines are or supposed to be hardware virtualization based.

Ex.
openvz,lxc - containers
kvm,xen - virtual machines
I think you're focusing on the wrong (or at least, non-primary) axis: destination. I'd suggest your on-wire image instead: packet header, protocol, encryption, etc.

This is all assuming you consider your adversary to be the NSA. If it's google, well, choose other vendors. If it's both, you'll have to consider both your destination and wire-protocol axes.

FWIW, if your traffic is split evenly between 3-4 main vendors (e.g., google, amazon, bing, etc), and all HTTPS, it's hard to tell what you're doing.
Last day to sign the ECPA reform petition
Yes, but don't all pharma researchers "stack their decks" in similar ways, to maximize their chance of success? And still fail with the dismal statistics I linked to?
While it was pretty that was incredibly frustrating to read. I gave up after scrolling for a while.
I use https://www.neutrondrive.com/ everyday to code. Mainly I started using online IDE's because I wanted to code on a Chromebook but after about 2 years of doing this there are a lot of advantages.

1. I always have my development environment. I can switch computers and be right back where I left off. Now instead of always carrying a laptop I just use whatever computer is at work or home. And I still use a laptop/chromebook for travelling.

2. Forced me to start using virtualized environments. I can setup and switch dev environments more easily. What takes hours of compiling open source programs on the Mac takes me a few minutes to setup. I can clone environments or setup environments more closely to what runs in production.

3. I can collaborate on code in real time very easily since I can share it just like a google doc.

4. I can setup dev environments for non-coders very easily. I needed my designer to do some HTML coding but running the full stack on her Mac would have taken hours to setup. Now she can help and not have to do as much setup she doesn't understand. Plus since everything is out in the cloud I can check up on her without needing access to her laptop.

With all that said I'm a web developer and the online IDE route works well for me. Other developers might not have the same experience. For example, a mobile developer will have a harder time getting everything working online for them.
Ask HN: Convincing Sendgrid, multipart/related to be used when have embed images
We are using Sendgrid, and we have used their SMTP endpoint to send emails. On our end we use PHPMailer to construct the email, and we have emails with embed images (src as CID).

PHPMailer and also Swiftmailer sets Content-type to multipart/related when embed images are used. This is RFC 2387 standard. Our emails are displayed fine on every client.

We considered to switch to Sendgrid API as it turns out it's faster for us compared to SMTP. We are a high volume client.

But, we realized they build the body using multipart/mixed as Content-type. Hence emails on certain clients don't have embed images, instead the embed places are left empty, and there are attached files listed separately. One such client is latest Thunderbird. Other giants Gmail/Yahoo are although displaying emails fine.

We contacted Sendgrid support to get explanation why they are using multipart/mixed. At the beginning of the conversation they didn't understood the problem, and they were not on the top of the issue. Then the ticket was escalated to TAM and engineers and they provided just a generic answer, that their system supports only multipart/mixed and they do not consider changing this. No reasoning why they have that.

We consider this is a bug.

We tried to convince Sendgrid about this bug, but they are sticky on their version. We also asked if this could be configurable via the POST variables, no accept from their end. They even recommended we link or use data uris for our images. We don't want to change this, and I consider these recommendations very cheap, from support personnel. Even more, data uris are not handled well by the email clients.

- are we chasing a wrong point?

- how can we convince Sendgrid they do this wrong?

- how to identify if other clients are displaying embed images wrong? (We know about Litmus, but we need something more as proof).

- would you help us to spread the issue, and also submit the same request?
Snapchat Raises $50 Million In Series C From A Single, Undisclosed Investor
FYI, it was a joke; the first sentence in the post was excessively long.
Black Friday is carefully designed to make you behave like an idiot
Panspermia only interests me in an intra-solar system context. I imagine the probability of ejected rocks from an asteroid impact in one solar system reaching a body in another solar system is significantly lower.
Yep, this is more like it
When you search about this issue, you will find several topics, all stating the multipart/mixed is the trouble, and multipart/related should be used for embedding images. Swiftmailer has a unit test just to check this. We reported several articles/topics which all had this problem, and it went away switching to multipart/related.
Yeah, you can argue these as points in the sense that they may lead to a decreased life span, which means less time enjoying your state of bliss. There's a possible utilitarian angle here.
"Added" via EPEL and supported by redhat officially isn't the same thing.
Good point. I think there is a fine line to walk with regards to Google's concept of a link scheme.

In the case of Trafomatch, the links won't be embedded in the article with keyword-rich anchor links. There will only be a section at the bottom of the article with a link to article writer's site for more information.

The link at the bottom of the article will be approved/vouched for by the blog site owners. Furthermore, blog site owners will only select excellent articles that fit within the context of their blog to keep their user base happy and engaged.

With all this, I think Trafomatch will fall on the good side of a link scheme analysis.

Also, even if no links are provided do to a negative link scheme analysis, website owners will still get a lot of traffic from the blog reader base itself.
Try https://www.neutrondrive.com/, since you can connect it to any Virtual Machine in the cloud you have, it is infinitely flexible.
I just did a very adhoc test, I've switched to a label with 17000+ threads in it.

It took exactly 5 keystrokes:

* gl (go to label, focues cursor in the search input)

* re (the label is called reports, it autocompleted after re)

* enter

I got results within 1 to 2 sec, along with typing. I'd call that satisfactory.

edit: I'm on 10MB ADSL and I wouldn't describe it as low latency; it's ok, but nothing fancy about it.
When these issues come up, there's always a vague "comes from india" contingent willing to riot and avenge their country over the fact they are the best at everything. (Don't bring up any discussions about infosys, else you'll be inundated with how great and expansive they are.)

Maybe it's because such a huge population actually has an origin place and story going back quite far? I don't have an origin. I come from some vague stock of medium-tall people with transparent skin in northern europe where the sun don't shine. I've nothing of ancestry to fight for, so I'm not sure I can even understand how they approach the world largely focused on the past.
What you describe is a music world in which your entire music vocabulary was controlled by large labels.

What kids have now isn't sitting around waiting for Atlantic or Columbia to grace their record store with the next big thing to listen to. Instead, they have a world where they can dig through an immense, mind-bendingly vast catalog of music and unearth their own hidden gems.
So kind of like the stargate SG1 plot line where instead of the ancients spreading life across the universe using stargates you have meteros doing the work