skysight-inc/HackerNews huggingface dataset:
Just answering some of those questions below:

> How can you gracefully reload kong if you need to add/remove/change a plugin?

You can gracefully reload Kong by executing "kong reload" (http://getkong.org/docs/0.3.2/cli/#reload). It pretty much works the same way: fork, wait for existing connections to drain, and remove the old master process.

> For deployment, again, you need to sync all lua files, with vulcand you just ship a compiled binary.

Kong has a few distribution options (rpm, deb, Docker, etc) that simplify the process (http://getkong.org/download/), so unless it's being built from source, the deployment is straightforward.

> Kong doesn't have a notion of servers for each API, you need to forward requests to a haproxy or another load balancer for this. Also, I can see that backends are added by their DNS hostname. In order to achieve HA (backend redundancy) is there any way you can do it, assuming that nginx is caching the upstream dns values ?

You are correct. Kong supports either a DNS or IP address for a backend service, and starting from 0.5.0 it will be possible to add more DNS addresses or IPs per each API. That will make Kong work in load-balancing mode (https://github.com/Mashape/kong/issues/157).

> About performance, I can see you are advertising about 1000 r/s using kong

Kong is basically built on top of nginx (a very solid core), and it can achieve a similar performance to nginx because all the data requested from the external datastore is being cached in memory. So pretty much the latency it's going to be nginx + Lua execution overhead (which is minimal, thanks to LuaJIT). I will run a better benchmark and write a blog post soon, trying to cover both single-node and multi-datacenter setups.

> and you need 3 machines for this (kong, cassandra, haproxy)

An external datastore (Cassandra - with plans to support PostgreSQL) is required because Kong has been built to scale multi-node and multi-datacenter in order to handle pretty much every use case and plugin/middleware. In very simple single-node use cases, Cassandra can live in the same instance along with Kong. I would say that in this regard Kong is inspired by a different philosophy (start small, grow big, even supporting hybrid cloud/bare-metal setups). Having an external datastore also means that Kong could support some pretty cool plugins, like multi-datacenter service discovery, API billing coordination, multi-region health checks, etc. For example today it is possible to rate-limit requests in an eventually consistent replication fashion across multiple data-centers.
If you took this a step further and set up a debian repo, then you could have your clients use that debian repo.

I'm looking to do something pretty similiar, but RPMs. I found rpmvenv that seems to work in the same fashion. https://pypi.python.org/pypi/rpmvenv/0.3.1
Hulu's Move to DASH
There is already encryption for email. It's called PGP and it works really well already.
Oh and there's a part 2 here https://gooroo.io/GoorooTHINK/Article/16306/Is-Math-Broken-i...
Pluto's Heart
Next time a surprising bug pops up on my server I'll just blame it on cosmic rays and reboot.
In fairness, there's a white paper linked on the bottom. I scanned it. It sounds like an etherium competitor, specifically for computation. It describes a p2p system of compensated nodes, with an external blockchain to manage access\identity. Nodes run pieces of the data through simulated circuits, similar to a protocol described by Cohen in [2013 Crypto](http://link.springer.com/chapter/10.1007/978-3-642-40084-1_1...). The authors claim they got the O(n^2) down to O(n), and parallelize the rest. Storage via a distributed hash table. Other fancy stuff to ensure correctness.

My concern for the site is toward the bottom. They advertise "Fair income distribution: Users get paid for their data". If this were google, that might work. As this is a private computation service, I don't know which way the typo should go.
What's wrong about it? Transistors don't work by electromigration.
EFF Seeks Records About 'Hemisphere' Phone Call Collection Program
My team has been rolling our own conda packages for (frequent) internal software releases to local servers and have been pretty happy overall pulling down code from a locally managed conda package repo.

With that said, Conda is not a perfect solution. One thing that can be frustrating is that a package can include compiled code (shared objects/dylibs) that may be incompatible with your system. Unfortunately, while you can indicate dependencies on other conda packages, python versions, etc there isn't currently a convenient way to indicate things like GLIBC dependencies.
You know what, I was trying to find an example for Matt3o12_ where it was #included, but I can't even find the file at the tip of any of the branches. Can a better git archaeologist explain what happened to it? Did it get merged into another file?

Edit:

Here's an example of a .inc file being used

https://github.com/cloudflare/zlib/blob/31043308c3d3edfb487d...

Double Edit:

git log --all -p contrib/amd64/longest-match.inc

It was merged directly into deflate.c
Semi trucks reduce the quality of the roads much more than lighter vehicles do. The slightly greater tax they pay doesn't begin to make up for it.

http://fhwicsint01.fhwa.dot.gov/policy/hcas/addendum.cfm
Like "Create application shortcuts" in Chrome?
We do something similar at embedly, except instead of dh-virtualenv we have our own homegrown solution. I wish I new about dh-virtualenv before we created it.

Basically, what it comes down to a build script that builds a deb with the virtualenv of your project versioned properly(build number, git tag), along with any other files that need to be installed (think init scripts and some about file describing the build). It also should do things like create users for daemons. We also use it to enforce consistent package structure.

We use devpi to host our python libraries (as opposed to applications), reprepro to host our deb packages, standard python tools to build the virtualenv and fpm to package it all up into a deb.

All in all, the bash build script is 177 LoC and is driven by a standard build script we include in every applications repository defining variables, and optionally overriding build steps (if you've used portage...).

The most important thing is that you have a standard way to create python libraries and application to reduce friction on starting new projects and getting them into production quickly.
I admit I was a little saddened to be insulted by someone whose work I admire.

Your friend definitely has a point. People are dying because of software bugs. And process bugs. And outdated hardware.

I agree with you that we have lost our expertise. I think the defense industry in general has a demographics problem. There's a lot of old guys who are about to retire. A lot of young, inexperienced people. And not enough of the mid-career engineers.
Try multiple times a second. This guy made a hobby of taking advantage of cosmic radiation bit flips to cause dns lookup problems and capturing data.

http://dinaburg.org/bitsquatting.html
I have to do this everytime I have to deploy, which is similar to having to create a deb package everytime Nylas has to deploy.

There are no git dependencies in the process I describe above.

The pip drawback that is discussed in the post is of PyPi going down. In the process described above there is no PyPi dependency. Storing the .tar.gz package in a central location is similar to Nylas storing their deb package on S3.
Yes, Kong plans to add support for PostgreSQL (https://github.com/Mashape/kong/issues/331). In the meanwhile you can outsource Cassandra to cloud providers like https://www.instaclustr.com

For testing check out http://kongdb.org/, but don't use it in production.
I'm a product manager for Stash. I'd love to know more about what you find lacking in Stash. We've got a bumper crop of improvements in the works that we think are useful, but the more feedback to guide us, the better.
I've had decent results using a combination of bamboo, maven, conda, and pip. Granted, most of our ecosystem is Java. Tagging a python package along as a maven artifact probably isn't the most natural thing to do otherwise.
It's part of their information assurance program.
https://www.nsa.gov/ia/index.shtml
Yes, that comment was noxious and abusive, and we are going to ban accounts that do it repeatedly.

I'm sorry to add that you've also been making the threads worse by lashing out at other users. Please follow the HN guidelines and remain civil, even when others are being provocative.

https://news.ycombinator.com/newsguidelines.html

There aren't very many HNers who can articulate the Greek perspective first-hand to the rest of us, so you have a special contribution to make to these threads. Of your compatriots who have been posting, the ones I've seen have done so with impressive dignity, and they've raised the whole discourse as a result. So clearly it's possible, because they surely have the same emotions that you do.
https://www.nsa.gov/ia/index.shtml

Information assurance. Products and services for government and businesses.
The premise of the experiment is that we have already established that the AI is dangerous. Even if you weren't sure, you should always side with caution and not let it out.
WD-40
Thank god this man exists.
I wish that I could more easily compare the assembly outputs of the different compilers! Three or more of the rightmost panel would be superb! I want to see how the assembly compares between them without having to switch back and forth using the compiler dropdown! Make it so my good man! Make it so!
We migrated off of localshop and onto devpi. Devpi is a much better product and much more actively maintained. localshop was nothing but headaches and constantly breaking.
In Memoriam: Caspar Bowden
Concept2 rower

Amazing piece of equipment. Fits in a small space and will give you an amazing workout. I love mine.

I mix rowing with pullups, pushups, curls, overhead press with kettlebell for upper body.

Overall it's a nice base workout that you can do at home before or after work.
When I was coding a Tetris clone as my standard exercise to learn a new programming language I found this site to be very useful:

http://tetris.wikia.com/wiki/Tetris_Wiki
I get very caught up in deciding what to do as well. A bit of decision paralysis.
I use a similar method to ship app.embed.ly (emberapp on top of django). You can package whatever you want in a deb. The virtualenv is just a part of it. Config files are managed with configuration management system (chef in our case). Our django settings.py file just tries to import from /etc/blahblah
box 2-3 times a week, running every other day, eat homemade food, sleep all I can
Well it depends.. even if an Xbox1 has a -10% profit margin and a 10% failure rate.. Microsoft can still make back their money on game licensing and xbox live fees.

For something like a car or a Microwave this is not the case, but this is why the profit margin on a Microwave is closer to 50% than 5%
It seems like we've showed that the blackout in the sky that occurred around that time was almost certainly due to a volcanic eruption in North America. Whether it was a significant factor in the fall of the empire is still up for debate.
US Foreign Policy is not considered to be a matter for democratic concern and consideration. Any time it's brought up as a reason, it's always to be translated to "because we said so and we're the only ones who have the power to affect it."
We love Docker where I work, but running it in production is a big challenge — there's no "just" using it. We build packages of Rails apps and dependencies quite happily. Sure, you have to make sure all dependencies are packaged too, but that's still easier than a full-on Docker roll-out.

Indeed, we actually use Docker to build packages. Blog post coming soon, maybe.
Banning snake oil is never a part of a free society.

Whether you want to admit it or not, some people commit themselves to these centers and come out straight / believing they're straight/cisgendered/etc. Their motivations are generally because they come from a culture/family that is not accepting of who they really are. They themselves probably hate who they truly are. So they pay thousands of dollars for the chance of tricking themselves into believing that things are different.

Does it commonly fail? Of course.

But does there exist someone in the world who is living a happier life because they attended this therapy? I believe it's possible. And for that reason, I think banning it is wrong.

I imagine that choosing between being accepted by your community/family and being unhindered in expressing your sexuality is a very difficult and personal decision. I don't think any lawmaker has the right to make it for you.
"Sunspots" is a very old sysadmin joke.
I am thinking about why encryption was only used by the military in the first place, back when the infamous Bell monopoly on phone service existed. I think cracking encryption was one of the reasons computers was created in the first place, right?
Or app manifests in Firefox?
Ask HN: How best to build a Python-based integration test suite?
I'm working on a project where I need to do integration testing against a stateless REST API that is written in Java. The API tier itself is stateless, but there are several stateful APIs and databases behind the API in question.

The team has an existing test suite of around 20 test cases that consists of Python scripts backed by a sort of QA-Team-produced SDK module for that API. All test cases are at present performed manually.

My first assignment is to write a shell script that manually runs all the test cases (Python scripts) and displays friendly results while handling the shuttling of logs around the filesystem (all test cases write to the same log file in ./).

In the long run, I think Jenkins would be a good way to seat the scripts and their results in a web-enabled dashboard/HUD. Also, I wonder if using a Python testing framework would resolve the need to maintain (NIH-style) all the scaffolding. Would mock backends make sense here?

I'm eager to forge, once I gain a better understanding on the systems and existing testing methods, a more automated and efficient QA pipeline. Any tips would be very helpful and much appreciated.

Thanks!
TuneUp Utilities 2015 Serial Key and Crack Full Free Download
Depends. In France, a building can in itself be copyrighted, meaning you'd technially need permission from the "author" to publish a picture of it, unless the copyright has expired. [0]

Here's a funny one: in France, the Eiffel Tower copyright has expired; however, courts have deemed that the lighting display on the tower is a protected work, still copyrighted. Meaning you are allowed to publish pictures of the Eiffel Tower taken at day, but not at night -- unless you have permission. [1]

[0] https://en.wikipedia.org/wiki/Freedom_of_panorama#European_U...

[1] https://en.wikipedia.org/wiki/Eiffel_Tower#Image_copyright_c...
You can both be pretty AND powerful. It is hard to do, but it can happen.
Smoking ‘may play schizophrenia role’
Pretty app - Ehh, I could add this new feature but it would make my menu go off screen, maybe I will skip it and work on making the profile icon sparkle.

Function ugly app - Ehhh I could research better fonts, but sans serif will work - let's go code some new featues.
7 Examples Trello Is a Simple Project Management Software
Show HN: Svidget.js – SVG widget framework for data visualizations
It didn't prevent PDF.js from being built (though maybe it's not "better")

Though I haven't had problems with poppler, so I don't quite understand what is bad about it.
I saw nothing wrong with that contract.
Science ≠ pop literature. A great man, perhaps, a great scientist? hardly.
swagger 2.0 spec and RAML are almost the same thing. There's some minor differences but I would guess you could import the RAML into AWS and it would work
Exactly. You articulate my thoughts regarding JavaScript excellently
News and updates from DockerCon 2015
I'm tempted to agree. :)
Who could listen to people's phone calls, and how many people were concerned about that happening?
I get a lot of credit for the stuff that Open Whisper Systems does, but it's not all me by a long shot. Trevor Perrin, Frederic Jacobs, Christine Corbett, Tyler Reinhard, Lilia Kai, Jake McGinty, and Rhodey Orbits are the crew that really made all this work happen.
This is very interesting! There is a huge difference between the assembly code generated by the C compilers and the assembly code generated by the Rust compiler for the equivalent code samples! Sometimes there is 10 to 20 times more lines of assembly generated for the Rust code than there is for the C code! The C assembly output is typically very tight while the Rust assembly output is much more verbose! Doesn't the much greater amount of Rust assembly code have a very negative impact on its performance? I just don't see how it can be claimed that Rust can be nearly as fast as C when executing the Rust assembly code requires so many times more instructions to be executed! I don't think it is a case of many fast instructions being chosen instead of a small number of less fast instructions. The Rust assembly to me just looks very unoptimized! I know Rust is a young language still but there is still a very big gap between the C assembly and the Rust assembly!
Breathing in on your phone has traditionally been the FBI's dominion, in any case.
The Origin of the "blink" Tag
How Sharp Makes Its "Free-form" Displays
Yeah but twinkies are delicious :)
Cant the erratic behavior of the transistors (eg flawed ones overheating) cause their logical function to fail?

Past that question, Ive still plenty to learn on hardware and will take your word for it about errata sheets. Sounds right given the things described in them.
Since when TL;DR's have an obligatory hidden meaning? You can speculate on that, but it's. just your speculation and nothing more and it can be at the compete opposite side of my intentions. So don't tell me what you read in my two words "TL;DR".

There is no way I should justify a request for summary in the first place I just did that afterwards in order to undetstand reasons for downvoting and if that was that someone else is giving their own interpretation to my request, then it's not a valid reason for me.

Their downvote does not make me learn anything new and I just observe how obtuse and flawed their mental process was. They were probably angry for having to read all the long comment I referred to and for not accepting someone else could get away with a shorter version of it. It's called envy and it sucks.

TL;DR:

I don't give a shit about your downvotes if you give your own interpretation to my request in order to support your envy for the fact that I could get away with a shorter version of the original text.
Well thank you, and everyone else, for the hard work!
> as you said the data often need to be taken with a grain of salt. It's actually a little surprising nothing like this has been done yet in academia given the increased interest in the topic in recent years.

Definitely. I probably should have emphasized, not the limitations of anecdotal evidence, but the danger of untestable, excessive or irrelevant speculation.

It's super easy to treat metaphor or simple models as truth when the reality is much more complex and, as such, relatively unstudied. The biggest issue with online nootropics communities is not that people share their experiences, it's that readers often take the average of experiences and generalize it into a pseudo-neuroscientific model.

Not only does this reflect terribly on the nootropics and practical transhumanist milieus, it does a disservice (as a third-order effect) to people such as yourself who just want palatable, accurate, expertly distilled information. The rampant generalization diminishes the validity of the entire field from a public perspective, which slows scientific progress in those places with the ability to generously allocate resources, which in turn delays the amount of time it takes for a significant body of literature to arise which might warrant a canonical survey or introductory paper collection.

It's a shame, and I have no clue what to do about it, or if there even is anything that can be done within the context of places like /r/nootropics or Longecity. Here's hoping that systems like Experiment.com do what they aim to.
The cost to the government may be lower than fixing potholes in asphalt, but not necessarily to the people driving cars.
Personal attacks are the height of incivility.
>First, why bother cleaning up the spam?

"to decrease UTXO bloat" from https://www.reddit.com/r/Bitcoin/comments/3cgft7/largest_tra...

(In short, all these transactions were in memory on full nodes, taking up valuable RAM space)

>If a transaction never gets processed, can the original person get their money back? I suppose they can double spend and the transaction that gets processed first wins, but that seems like a risky proposition. It's been a while since I looked at the protocol, but I can't recall anything about cancelling transactions (and I don't know how that would work...). So if nobody decided to add your transaction to a block, do you effectively lose that money? That seems like an unacceptable situation, so I have to imagine that there is some work around that I haven't imagined yet...

You can send another transaction with a higher fee, and it's up to miners themselves whether they'll mine the new one. By default, Bitcoin Core currently has a "first-seen" policy; a miner will ignore any transaction that spends outputs already in the mempool. There are also some miners running the "replace-by-fee" patch [0], which does exactly what it sounds like; however, there's opposition to this being merged to Core [1]. There's also talk of a "child pays for parent", also exactly what it sounds like.

>Finally, if there is some way to cancel a transaction, then I suppose this can lead to a DOS attack by sending out lots of transactions and then cancelling them right away. While nobody needs to add a transaction to a block, I can't understand a way for the protocol to work unless the transactions are propogated to every miner so that they can at least choose what to add to their blocks. Is there anything in the protocol to limit the effect of someone simply flooding the network with worthless transactions? (Given the current problem, I'm guessing no...)

There's no way directly to cancel one, no "cancel" message in the protocol, so your first point doesn't matter.

See also [2] and [3] for stuff on DOS protection.

[0] https://www.reddit.com/r/Bitcoin/comments/235zv5/why_you_sho...
[1] https://medium.com/@octskyward/replace-by-fee-43edd9a1dd6d
[2] https://en.bitcoin.it/wiki/Weaknesses#Denial_of_Service_.28D...
[3] https://en.bitcoin.it/wiki/Common_Vulnerabilities_and_Exposu...
So... the standard issue sysadmin types. Sigh. :-(
Half of us came here to say this.

We should keep saying it to our reprehensatives in Congress.
paper here: http://www.readcube.com/articles/10.1002%2Fj.2168-0159.2014....

Is there a now paywall version around?
Yea, I know this kind of control is not possible on the Internet.
You don't have a right to unlimited quantities of other people's money to support you being there. If we could pull all support for communities which are a persistent drain then maybe you could argue you had a "right to be there" (without subsidies).

We really have much bigger social problems than insufficient subsidies to people who choose of their own volition to live in places which are expensive for everyone else to maintain.
Yes, but isn't that in an of itself somewhat depressing.
> Any Country

Off the top of my head, where's Japan and China?
> A better use of their money would be buying up farms and miner manufacturers and attacking the network that way.

Spamming enough to seriously impact the cost of transactions can be done for far less than getting most of the mining power. Probably less than a million, depending on how long you're willing to wait to accumulate coindays and other factors.