skysight-inc/HackerNews huggingface dataset:
Ask HN: Write tests for your infrastructure automation
I use Ansible to automate infrastructure configuration and deployment. Take graphite as an example. Graphite is made up of UI (in Django), Carbon (metrics processing daemon) and whisper (database).

Ansible created the instance, installed the necessary packages, templated the configuration files, created appropriate directories, added Nginx (access to the UI), configured supervisord to manage the django web app and carboon daemon, and a bunch of other things.

Each task/step in Ansible should tell me the state of the deployment (has config file A been changed? Have we reloaded carbon? Is carbon running?). I can also use Ansible to tell me whether or not http://graphite.internal.company is accessible and whether or not I can see the data coming through. I can also write a test in Ansible by sending dummy metric to Graphite over socket (to verify that I can actually send things to carbon and the data is then saved into whisper).

I also want to know if we rotoate our logs or not (yes sure we deployed logrotate config file yesterday and my policy is rotate daily, so the next day I want to check if rotation happened).

See, Ansible can do that. I can write plugins/modules to handle all the above.

But the question is, to what extend do people write tests for their infrastructure? There are probably a lot of things I question myself after deployment. Another thing is, sure I can write everything in Ansible, but would my tests be better off writing in my favorite language, and yes perhaps run using Ansible (especially if I need SSH access).

Because my end goal is to reassure myself, and eventually produce my own Chaos Monkey. How can I run Chaos Monkey if I only have the tests for applications, but no tests for infrastructure?

Thoughts?
What's special about 255K (0F) in relation to heat pumps?
“Play Guitar” with this Kickstarter project button / synth / app / thingy
The article has a quote from: http://venturebeat.com/2016/04/16/game-developers-must-avoid...

> "I can’t begin to imagine how sheltered the lives of modern technology employees must be to think that any amount of hours they spend pushing a mouse around for a paycheck is really demanding strenuous work"

I cannot speak for developers in Silicon Valley or other places, but I suspect the feeling of disgust when hearing such things is similar. The problem is that solving design, engineering, computer science and math problems every day can be stressful and exhausting. Do that for more than 8 hours per day and maybe also multitask between projects everyday, in an environment that has toxic management and it's a recipe for burnout, burnout being that deep sense of tiredness, emptiness and helplessness, being nothing less than depression out of which some people never recover.

Now I'm sure that this is way better than digging for blood diamonds to feed your family, as Mr. Alex St. John is saying. But I can't believe that somebody born into privilege can even think to suggest that such jobs aren't so bad compared to African slavery.
Depends...

Galway has always had a small but still decent tech sector.

Cork has always had a good medical tech sector.
You need to assume nothing. Your government is spying on everybody without an ID. Your explanation just doesn't qualify, sorry.
Not that I think OP is very good, but '31201 bytes' has little to do with UI, unless you are talking about the specific use case of a slow connection.
That is certainly not one of the worse ones.
Organize Your Closet Like a Computer Organizes Memory
No – why should it? This is more about cruising speed. A family sedan won’t accelerate well at its 90HP, but it will easily stay at 180 to 200km/h.
That's interesting. But how does it help the wife to directly interact with her husband's boss?
> destroying the atmosphere

Is bitcoin responsible for more CO2 than airplane travel or concrete production? Lets use our very best judgement and look at some data before making an emotional statement with no basis in reality. Concrete production is responsible for 5% of global CO2 emissions. How much electricity do you think bitcoin uses?
So true...I count myself as one of them......just in the process of moving home after 8 years in London. Hoping to bring the company/parts of it back to Dublin!
I wouldn't be so quick to remove the pushState - people here are mostly complaining that they want to get back to hacker news. But I can see that people (I) would normally use this site as a reference. And being able to explore different options and then use keyboard navigation to go back / forward isn't that bad. You could have used different 'pages' for the content but you chose to make the UX really quick and light, but that doesn't mean we should lose back / forward nav.

But if you've got some other keyboard navigation to go back / forward then maybe it wouldn't be so much of a loss...

Great site, it's what the official docs should be.
Just a number I picked from domain knowledge. Almost all newer heat pumps can still efficiently pull heat out of that temperature, although some more expensive ones can go all the way down to -20 - -30F ambient air temp.

EDIT: If you're in a colder climate, in-ground coolant loops are preferred over an air transfer heat pump.
"Granted, we can never be certain about it. We're not deities, we're still limited by information theory and epistemology. But we're pretty damn sure. Way more than we need to be to go save half a million people a year."

(I support eradicating mosquitos)

What is missing from this discussion, however, is the agent of malaria itself. We keep discussing this in terms of the mosquito, as if it is the mosquito that is the agent of malaria - but remember, it's just a carrier - malaria is using the mosquito to further its own ends.

The reservations I think we should have are not about the food chain or about predators/prey, etc. - it is that the sudden pressure we put on malaria itself forces it to adapt to a transmission host/vector other than mosquitos. Perhaps something more difficult to deal with.

We're pushing something dangerous into a corner, bottling it up under high pressure ... we should be worried about where it leaks out to.
In New Zealand, >90% of phones are pre-paid and anonymous (unless you opt to fill in your personal details online).

It's strange to think that other countries have restrictions on buying SIM cards, I can literally go to the corner store and get one for $20, with $20 credit on it.
Vintage Computer Fans Keep the Great Machines of the Past Running
I wanna say 'we think'* parrots have a sense of humor and I'm pretty sure we attribute 'play' as a motive for various crow behaviors so it seems pretty reasonable to assume they might have something we'd recognize as a sense of humor.

* 'we think' as in various pop-sci articles, so obviously apply your necessary skepticism filters.
Cafes in the Dublin "Silicon Docks" really should sell that at lunchtime. It sounds tastey.
That's similar to the Python interpreter bot "pypie" that we made a couple of weeks ago for our Slack group "#devchat".

https://github.com/devolio-devchat/pypie

Bots are awesome!
Craigslist finds your argument unpersuasive.
It's important to note that running code in vm.runInNewContext is not advised for 'untrusted code' according to the documentation. So probably not good to let random people use this bot.

"script.runInNewContext() is quite useful, but safely running untrusted code requires a separate process."[0]

[0] - https://nodejs.org/api/vm.html#vm_script_runinnewcontext_san...
I've seen dumbphones for sale for $10, including a SIM with $20 credit. Handy for emergencies and for dodgy people.
They should team up with the Time Capsule to Mars project (http://www.timecapsuletomars.com/) which ostensibly will use quartz storage technology to send millions of photos to Mars. If the quartz memory is for real, it should be able to store Wikipedia.
> I still don't see the novelty.

Are you familiar of the state of the art in JIT compilers at the time PyPy's JIT was developed? It was absolutely a novel idea at the time, and was published as a novel result in a peer-reviewed paper. I'm not sure how else to convince you of that.

> However, applying an unmodified tracing JIT to a program that is itself a bytecode interpreter results in very limited or no speedup. In this paper we show how to guide tracing JIT compilers to greatly improve the speed of bytecode interpreters. One crucial point is to unroll the bytecode dispatch loop, based on two kinds of hints provided by the implementer of the bytecode interpreter.

> Applying a trace-based optimizer to an interpreter and adding hints to help the tracer produce better results has been tried before in the context of the DynamoRIO project [27], which has been a great inspiration for our work. They achieve the same unrolling of the interpreter loop so that the unrolled version corresponds to the loops in the user pro- gram. However the approach is greatly hindered by the fact that they trace on the machine code level and thus have no high-level information available about the interpreter. This makes it necessary to add quite a large number of hints, be- cause at the assembler level it is not really visible anymore that e.g., a bytecode string is immutable. Also more ad- vanced optimizations like allocation removal would not be possible with that approach.

http://dl.acm.org/citation.cfm?id=1565827
Better online privacy? Ridiculous!!! It is just a honeypot. As the most notorious company which good at stealing people's privacy, in China no one trust Qihoo360 (opera is acquired by Qihoo360). Qihoo360 is the pet and lackey of Chinese communist party. Go to hell!
Well, to be fair, it's true (except for the part about the paycheck) but it's also equally with gender role reversed, so with a female employee and an husband.

If the partner of the employee is unhappy with the job, it will make the employee much more likely to find another job and so as a manager, it's smart to take into account the girlfriends, wives, husbands and boyfriends of your employees.
Seat size regulation killed in Congress
> This is why C programmers get gunshy about relying on that information and instead just treat strings like pointers all of the time.

Good programmers do nothing of the sort.
Hacker News page: https://news.ycombinator.com/item?id=11541017
Yes, but in the case of encryption we have competing issues relating to commerce, privacy, crime, and national security that have to be considered and weighed - which is a political process. In the case of gold buggery all we have is a political ideology of unrelenting suspicion of government trying to enforce through law or technology ideas about monetary policy that fall well outside of the economic mainstream all in service of depriving government of tools we know to be very effective at influencing the economy.
The argument is that traffic is down. I wonder the impact it had on revenue.
It is not trust in Canonical itself that is the problem, but the constant threat of coercion it puts on both the organization and the people that compromise it. This is why I work on generalized multi-signature schemes and deterministic builds.
Ah I see. So it's nothing fundamental, just a limit on our current heat pump technology.
Platitudes are also information. Information we can do without.
I've always been extremely conscious of who my role models are, so this is my preferred explanation for any kind of achievement gaps.

Many people reach out for "race and sex realism", or, historical-material explanations, but I think the power of media and role models rules in this space.
Start with a simple question...

Do you want ....?
Do you need ....?

Then say with XYZ you can .... , just [Call to Action]

Put that in front of people if people don't bite on it they don't care...find something they do.
I know nothing about pen testing, but this was very interesting and easy to follow regardless. Thanks so much for sharing!
A while back I wrote an article [1] saying that there was no advertising on Quora because that would mean that the founders would have to accept more realistic valuations for their business, and at that time it seemed they were happy to bring investors on using the "greater fool" theory. However, as Russ Hanneman [1] says: "If you show revenue people will ask how much and it will never be enough". So the question now is: will the introduction of ads harm Quora's valuation?

[1] http://newslines.org/blog/why-quora-joined-y-combinator/
[2] https://www.youtube.com/watch?v=BzAdXyPYKQo
If you've got an Android phone and location history is on, take a look at your own: https://www.google.com/maps/timeline
On this island, locals can't marry each other. They have to import their “mates”
How to install NewRelic on Docker stacks
"HN commenters dismiss it" is pretty far from "physicists refuse to test it," especially when the dismissal is based on test results.
liberal democracy requires liberal elites to be present and not vastly outnumbered.

If the elites are not vastly outnumbered, they kind of aren't elite anymore, they're just normal people.
The page makes my browser crash.
They both seem like awful people.
This thread is still here; is it what you mean?

https://news.ycombinator.com/item?id=11538507
No, but only because load-file doesn't play well with all of my dependencies. However, that still doesn't seem like job for a plugin, given that this works out of the box with leniningen:

:uberjar-name ~(str "foobar-%s-"
(-> (clojure.java.shell/sh "git" "rev-parse" "--short" "HEAD") :out .trim)
".uber.jar")
Out of five sites profiled, only one actually shows any correlation between blocking users using adblockers and having a decrease in traffic. The others just continued a pre-existing trend.
The headline under this video is: "What if your new morning looked like this?"

It should read "Who wants to suffer through this data-overload nightmare as soon as they wake up?"
Yet empirically, only a tiny, tiny fraction of crimes committed in France are committed with AK-47s.

Most likely, non-exclusive explanations:

* you underestimate the difficulty of acquiring such a weapon without being caught nor robbed;

* you overestimate the abilities of most criminals.

Incidentally, I happen to have spent about half of my life in Paris and its suburbs. I believe it gives me at least as much legitimacy as having watched a couple of sensationalist reports on French TV stations. Which, moreover, I have also watched :-)
Scott Aaronson Answers Every Ridiculously Big Question I Throw at Him
Months ago, I realized that basically most of what Sirius XM was playing, was available as a podcast, so I canceled satellite radio and just subscribed to all the dj's I could find / listen to. And I really only listen to EDM.

http://podcast.wandwmusic.nl/podcast.php

http://laidbackluke.podtree.com/feed/podcast/

http://podcast.borgeous.com/?feed=podcast

http://afrojack.podtree.com/feed/podcast/

http://podcast.armadamusic.com/asot/podcast.xml

http://podcast.djhardwell.com/podcast.xml

http://tritonia.libsyn.com/rss

http://www.galexmusic.com/podcast/gareth.xml

http://intheair.libsyn.com/rss

http://feddelegrand.libsyn.com/rss

http://static.aboveandbeyond.nu/grouptherapy/podcast.xml

http://toolroomknightsradio.com/radioshow/toolroomknightsrad...
Oddly apt's `search` output is terrible compared to apt-cache's. If they want me to switch to the new command they should at least make it the same or better, not a couple steps backward.
Planet Money is one of the only podcasts I can just let run through all the episodes and still enjoy them all.
So in your formatted suggestion:

"Do you want the ability to switch between voice chat, messaging, map directions, and calendars seamlessly with just using your voice while travelling?

Do you need that ability to enhance your awareness while travelling?

With Cavalcade, you can! Just download the app and form a cavalcade with your friends with just your phone number"

----That works a lot. I'll try that one. Thanks!
These kinds of answers get called out fairly quickly.
If you re-read the parent comment even using the official repo from n nginx team you will be impacted. The issue is with OpenSSL not nginx.
Now you're just getting your facts wrong. Saudi Arabia most certainly did not support the second Iraq war. They went along with it but were mortified when the US essentially handed it over to Iranian control/influence.

I am not a lover the SA regime, but it's important that one's lack of geopolitical knowledge doesn't spread more misinformation.
This seems like it can become truly useful.
We must all understand that we have our own biases. I'm having a hard time believing anybody can use personal observation to separate physiological differences from socializing influences. In fact I don't believe it at all.

It sounds the same as making up comfortable stories, denying the science that is done so as to absolve oneself of doing anything about the current state of affairs.
That's exactly why I used Bourbon over Bootstrap.

http://bourbon.io/
We stopped shipping things to FBA. Sadly we still had to sell on Amazon since it's the best way to sell books online, even with their shenanigans. But without FBA benefits there's no way to compete with Amazons deep discounts on new books, so we pretty much only sold used books.

It feels absolutely horrible knowing that the only way to make any money online with books is to sell on your biggest competitor's site.
The FAQ is much more illuminatng then the main page: https://meta.m.wikimedia.org/wiki/Wikipedia_to_the_Moon/FAQ
New protein injection reverses Alzheimer’s symptoms in mice in just one week
Sadly you don't have a vote! Aside from this bill which has not been passed yet, what's the toxic influence you're concerned about?
I don't see how it had an impact on revenue if ads weren't displaying, which would mean that this article is missing a key point. Not sure that each of these down-slope ranking charts are associated with an equivalent down-slope revenue chart.
The problem here is not that an unhappy spouse will cause the employee to leave, but rather that the author makes the assumption that the employee will be male, and that the male will have a female SO.
> Bitcoin could be hugely beneficial for fledgling financial systems, and robust financial systems can be hugely beneficial for billions of people.

The latter part is true, but BTC cannot provide that. It's nothing more than a nifty hack. It kind of works, which is impressive, but it is horrible inefficient and impossible to scale due to its inherent limitations. So far the only solutions that have been proposed were to tack on even more complexity. To make matters worse, all of these solutions have remained vapourware for quite some time.

> Numerous monetary crises could be addressed in serious ways by it, though.

How? It would have not prevented the Dotcom Bubble. It would have not prevented the Subprime Mortgage Crisis. It would have not kept Argentina or Greece from borrowing way too much money. It's a libertarian pipe dream that Bitcoin will magically solve all of the world's economic problems. In fact, it would make matters worse due to unpredictable volatility and its lack of scalability. It would only drag any country trying to adopt it into a deflationary death spiral. There is a reason why the gold standard has been abolished.
Jarvis: an Amazon Echo clone in your browser
Difficult to say, I've seen it go both ways. Depends on how much he likes the wife.
Because medicine is a social thing that involves meeting and interviewing patients on a daily basis in order to restore and nourish them back to health. It involves a lot of daily interaction with the outside world (it's not an isolated, non-human field; there's a lot of society in it, even as you get increasingly technical). That matches female predispositions exactly.
https://github.com/hacksparrow/safe-eval/blob/master/index.j...

Maybe it's not a nice idea to use Math.random for secure and unique keys.
One nice feature is that TensorFlow includes TensorBoard, a bundle of visualization tools (e.g. model visualizer and various charts). You can see an example here: https://www.tensorflow.org/tensorboard (try clicking around the tabs on the top).

(Disclaimer: I work on TensorBoard)
> An OTA, if it still existed, wouldn't hire college-dropout Facebook engineers. It would be staffed with mid/end-career PhDs who came up through Boeing, IBM, etc. Because that's what the government hiring process considers "qualified." You think they are going to see eye-to-eye with the tech industry on hot-button issues like copyright, patents, etc?

Honestly, I'd prefer that to the status quo. No solution is perfect but the current situation is an absurd caricature of a shitshow.

The ignorance displayed is terrifying because these people are professionals at gathering public support.
Maybe it's about a truck painting shop, and every time they paint something, it either doesn't change color, or get a color different from what the customer ordered. I would watch that.
No, but I think most of those who make an habit of registering SIM cards on behalf of others will be known pretty fast.

Once you know a SIM card is suspect, because it's been registered by a known addict and trafficker, you can put a wire on it even if you don't know who holds the phone. With this plus BTS-based geolocation, your chances of catching typical, opsec-illiterate criminals are vastly improved.
MemSQL raises $36M Series C round for its in-memory database platform
You can verify the integrity of your download with the SHA256SUMS file. You can verify that with the SHA256SUMS.gpg file.
As an ignorant spectator I appreciate the balance provided by your comment. However, I wish you would have provided some concrete examples of which wheels they are reinventing, and how those wheels exist in other solutions.
Exactly. Its a matter of trust (i.e. the paranoid part), and we're burning the planet's limited resources so that we feel better about that.
If everybody else's lived experience matters, then take into account that this guy grew up in a log cabin in Alaska. I didn't grow up that far off the grid, but doing anything on a computer is a damned sight easier than working all day swinging a chainsaw or turning wrenches on heavy equipment. Pays way better too, and I haven't smashed a finger, lacerated anything, or taken a bath in hydraulic fluid since I became a desk jockey.
Infighting Slows Apple’s Cloud Engineering Efforts
Old looking, but they are also super-fast and highly readable. I wish more sites were like this.
Imaginary female dispositions. Because guys do it too. So not strictly female at all.
Somebody coming from the documentary side of things - Alex Gibney would be my pick - in order to 'nail' the grime and feel without resorting to lazy 70% f-bomb script dialogue and using pastiche from other, better directors, which is essentially Tarantino's calling card. Caveat: I think Michael Mann could pull it off though.
Seems like the big thing everyone is missing: you can hate Alex all you want, but he's not making conjectures. He's giving his advice based on successful experience in reality. I'll take his word - as politically incorrect as it is - over 1000 people making arguments off what is 'right'.

If you're running a business and Alex's tactics give you even a 10% edge - take them.
Somewhere out there some God is cursing another God for pissing away an entire sun just for some puny humans.
It's not about skill. My brother who recently started programming has a lot of autonomy at work because he's trying to help out the business in anything he does there. Same thing has happened to me. Your boss is more likely to let you do your own thing when you actually want to help make the company and your boss succeed. Again it's not always about skill
Would you watch this movie?
Probably because it's more of a screenplay/novel than conventional journalism (strictly style wise, it's a great story!). Entertaining, but very drawn out for the amount of useful information provided.