skysight-inc/HackerNews huggingface dataset:
Looks interesting. Given this json,
[{"name":"john", "grades":[1,2,3]}, {"name":"jane", "grades":[4,5,6]}],
can it print it out as this:
john,1
john,2
john,3
jane,4
jane,5
jane,6
Might I suggest a third communication method: stdin/stdout? It should be very easy to implement, would work better with really small process and would be much more cross-platform compatible without having to invoke the TCP stack.
Just like everyone else, I really liked the article.
And of course I have some questions.

What is the benefit of EvoStream over nginx-rtmp?
I use nginx-rtmp as well and it creates HLS files just fine.

Also, how did you handle the network load? How many edge servers were actually delivering the content to users?

Did you use 10G ethernets, link bonding, or did you use cloud services (eg cloudfront) to deliver the content?

Thanks a lot.
Ask HN: Nepal Earthquake Perdictions
With regards to the devastating earthquake in Nepal, what are your thoughts on earthquake events in the next few weeks or months. I am told that there is a 54% chance of a magnitude 6 quake and 7% chance for a greater than 7 magnitude quake within a week. These numbers come from a USGS spokesperson who is currently in Nepal.

English is not my first language, so please excuse any phrasing/wording errors.
Right, what I was trying to get at was the Minnesota case isn't that different. They just didn't have the law being challenged in a federal court. In other cases, the law was changed and then it was taken to court. It's not like the courts just decided to make a ruling out of the blue.
This looks great. Are there any plans for topic-based pubsub?

With AMQP (specifically, RabbitMQ) I can set up a fanout topology such that a publisher simply publishes to an exchange. Clients then bind their queues to this exchange based on a routing key, and any messages matching the key will be copied there. If no clients have bound, messages disappear into the aether.

For example, the publisher can use the exchange "changes" to write messages with keys such as "create.post.123" or "update.user.321". A consumer can then bind a queue to the exchange with the filters "create." and "update." to get all create and update messages. A different app can listen to just ".user." to get anything related to users.

This is a really powerful tool, allowing publishers to be dumb firehoses and clients to surgically pick what they need. Of course you don't need exchanges and bindings to accomplish this, only topics.
It looks alien to you because you haven't come to terms with the fundamental shift in technology (all the data that is created, collected and analyzed) and politics in western society (using said data in the name of security).

The current trend is to gather all data and to use it in any way possible, regardless if you're in China or if you have a Confederate flag on your truck.
In my case, there were two professors that were widely loved and often cited as the best professors.

One was an english professor who had control over the courses about science fiction and fantasy, and often taught a Tolkien course. No real mystery why he was so popular (although he was also a really great personable guy).

The other was a math professor that taught the standard assortment of undergrad math classes. I had him for Calc I, Calc III, and Discrete. Most of the math professors in my university that were teaching those classes (particularly the calculus classes) were either hated or unknown. However he had a reputation for being a truly gifted lecturer, and for having incredibly accommodating office hours. His reputation was well earned and deserved.
Why do you think most people don't use cfengine?
You should understand that jacquesm made a pretty sweet joke.
The thing muddying the water with stress, is that most things that trigger stress are also bad for the body, and thus for foetal development. Making rats run until they collapse from exhaustion might cause miscarriage, but it's unclear whether that is due to stress-hormone-induced spontaneous abortion, or due to the mother's body using up some micronutrient necessary for the foetus, thus causing a developmental defect which either kills the foetus or stalls its metabolism enough to be detected.

I'm unaware of whether there has been the study of the effects of purely psychological (or synthetic, using injected epinephrine) stress on spontaneous abortion rates.

It's much clearer with fear, though; things that cause a fear response don't tend to harm you (in fact, in an adaptive environment, to the degree that a fear response is created, you tend to avoid harm you would otherwise succumb to) but do trigger spontaneous abortion anyway. This would be much simpler to prove/disprove a purely-hormonal effect.
Those 3 I linked above are mostly research projects, all funded as part of FP7 and the EU doesn't seem to do much PR for those themselves.

I'd expect the upcoming (pan)"European Open Data Portal" to receive significantly more PR from the EU.
Why did this get 4 upvotes in 15 minutes when the article is from 2014 and unrelated to the recent hack?
It's common for en_GB, I can't speak for en_US though. Here[0] is a test with it used twice.

[0] http://www.bristol.ac.uk/arts/exercises/grammar/grammar_tuto...
The C Programming Language, Second Edition; Ritchie and Kernighan; has end of section and end of chapter problems that are pretty good. Especially if you want to learn C.
Yahoo Mail is Down?
How would you deploy a cluster with highly dynamic portions with shell scripts?

You end up with a process that pulls it from a database or something to fill out the configuration. At which point, you might as well just use a script in python or an existing system.
Man accidentally buys an Xbox One on the Apple Watch during live review
The fatal error in computer science was that it modeled complex systems without truly understanding them."

And yet, mechanical, civil, chemical, and electrical engineers have made great strides without such understanding, in fields where it is truly impossible to fully understand or model the forces at work, the materials in play, the structures in shape, or the physics in motion.

They manage to get by on approximations, so that's not it.
Excellent points. I totally agree - there's still part of me that wants to dive back into both DXpeditions and contesting, both of which don't really have a parallel in Internet-land. Locking myself in the bedroom and doing the ARRL 10m contest one weekend was still one of the most fun experiences I had as a ham.

And yes - satellites / ISS are great too! Talking to a buddy - even next door - and knowing the signals are being directly repeated by a bird whizzing by overhead is still extremely cool :)
One can say that all university credits are relevant to any job but only in the most general sense. Certainly you wouldn't advocate 8 years of general education before getting into degree specific education so the amount is at the very least arbitrary.

Yeah you are probably right about ambition as a general filter too. But the point remains that universities take advantage of this. They know full-well that plenty of students are there to get a job and they can and do milk this.

Issuing degrees is not part of Universities being "about education". Degrees are an arbitrary milestone, that can be received after completing a nearly arbitrary set of classes, that in-turn have taught an arbitrary set of lessons. The fact that Universities have coalesced around issuing degrees of the same type without ensuring their curriculums match further makes the degrees aribitrary.
Pair Up allows two developers to be jointly credited when Pair Programming
ESPN Sues Verizon to Stop New Sports-Free TV Bundles
Yep I get it. That is the whole point of the joke after all.
Comments moved to https://news.ycombinator.com/item?id=9447185.
This thing helped me with networking immensely in college. Nice to see it still exists.
This looks cool.

Have always hated that even with the container game, so much changed between environments.
"It's" for "it has" is much more common in spoken English than written (even moreso than is explained by the fact that contractions are generally avoided in formal writing.)

But it is a real thing.
SOX isn't to put an additional human in the loop. It certainly isn't to prevent a single engineer from doing anything.

SOX is there to force managers and every down the line to verify what they do is accurate, where they said things are is accurate and who has access to what is accurate.

It's more of an audit and legally verifying so that if something goes wrong, people can be blamed.
Yeah, exactly my point. That statement is laughable to anyone who as been to a University. I'm not even sure if being pushed and/or challenged to become better educated is even a primary focus of Universities.
Seeking asylum in Sweden
I am a Yemeni woman who want to seek asylum in Sweden, I can go through a Shengen visa can I apply for asylum after going into the country.
Vignettes of Famous Evolutionary Biologists
Mpv: a free, open source, and cross-platform media player
Yeah I had plenty of good ESL professors but I also had a few that, try as I might, I could not learn from.
Jacquesm indeed made a sweet joke. No, he wasn't the one who used the "my grandma" line. It was the person he was replying to, who wrote:

> HN lately reads like newsclippings sent to me by my grandma

which continues to propagate the insidious, ageist and sexist assertion that older women don't get high technology.
Simple use cases for message queues in a web application include:

- Improving response latency by moving deferrable tasks out of the page serving code

- Improving response latency by simplifying implementation of concurrent tasks (whether across cores or servers)

- Allowing capacity planning for average load instead of peak load for deferrable tasks

The bigger story is that message queues make a good substrate for building fault-tolerant, highly available, scalable distributed systems that are easy to reason about and have predictable performance. This is because system components can be cleanly decoupled, implemented with redundancy and scalability, the message queue itself takes over much of the complexity of failover and delivery/ordering guarantees, and the message queue makes an excellent point for monitoring the system, giving visibility into logjams and problems in a live system.
Therefore the only thing left to do is run the following migration:

add_index :discounts, [:promo_code_id, :customer_id, :order_id], :unique => true
I appreciate jq and use it almost every day. At the same time, I recently had a task that was easier to do in Node.js. I had a file containing a JSON object with a structure like so: [ { }, { }, ... ] and I wanted to turn each object into a separate file.
Our public servants are not good or evil. They are merely people responding to the incentives that they are faced with.

This means that they are incentivised to behave by fear of losing their jobs, by financial contributions and kickbacks, by legacy, by moral sentiment, by haste and convenience, by duty. There are very few to no public servants who feel that what they are doing is wrong - and you might agree with some of their actions even when it blurs lines (assassinating Osama Bin Laden without due process of law).

What's happening now is that America's post WWII order is fracturing and weakening. There are new players on the stage. The theater of global politics and finance is shifting from Europe to the Asian Pacific. The borders fixed to prevent another great European war had also been fixed to provide energy security from the Middle East - but this freezing has prevented those people living there from having a great or fully modern society of their own. The technology backing nuclear weapons has exceeded the defense capabilities of all nations at a time non-proliferation treaties expired (the Bush administration did not renew them). Russia and China are rushing to create a Eurasia that can compete with Europe and Europe is trying to create a United States of Europe to ween away from NATO and to achieve a regional hegemony that provides it security and an opportunity to be a global player. Frought with both politicization, financial warfare, general gamifiedness, and brittleness global finance has brought financial redistribution, bubbles and busts to both hemispheres.

In response the US is building oil pipelines across the Americas, coup'ing Venezuela to open up its oil to US investment, settling new bases and rigs into the now contested (for geostrategic military reasons) the artic north.

The internet through all of this was supposed to allow a marketplace of ideas to exist across the world - but instead has been used by nations to propagandize, spy and sabotage one another.

In this turbulant time of America losing its grips, huge changes and bets will be made and American leadership will kill, torture, surveil and censor to ensure its own survival. That is to say we can't think of this as good versus evil but dog eat dog. The world has never been about good and evil, though men are compelled by it before they stand in trenches and need to survive.

The sad part is that during a time on Earth where there is more of everything for more of everyone that changes and fluxuations and opportunity mean the prospect of violence.
But everything you say is what everyone believes is "common sense." If all you want are clear lectures well delivered, great, follow the advice on some random rating website.

The research, however, says that the student evaluations are negatively correlated with subsequent ability in the subject. In other words, you are repeating the common sense view that is flatly contradicted by careful research.

What should I trust: your anecdata, or published research?
Geek = cheerleader who owns a pair of glasses that she sometimes wears when she doesn't have any contacts available.

Or is that a nerd?
I have always hated the idea that I have to pay ESPN and Disney, services I have zero interest in, in order to have video services from the cable company. It's one reason that I dropped cable for TV. As a former cable insider, I know that these two companies demand the highest per-subscriber fees from the MSO's for their special interest services.
Nilam montez
Yup, A-12 as the title of the Youtube video states.
Bash scripts (to pick the most popular shell language) are hard to write, hard to debug (no stack traces), have weird historical artifacts, like not having named arguments to functions, or [[ $foo == true ]] or a whole slew of gotchas that make writing and maintaining them unpleasant.

If your application is written in ruby or python, why should you learn another (worse scripting, but that's just my opinion) language to deploy it?
Everything you need to design Apple Watch apps
You can update a title? I didn't realize that was possible.
Plants don't just magick carbon away. They store the carbon as more plant. Ergo, to offset the release of a pound of carbon, you need more than a pound of plant. A typical American releases tons of carbon per year (literally, not figuratively), so to offset this will require tons of plant. Thousands of pounds of houseplant per year is... impractical, to put it gently.

80ft tall, 24ft diameter hardwoods can hit 50 tons at maturity (50+ years). So it seems that planting half a dozen to a dozen hardwoods would be enough to mostly offset a typical American's lifetime carbon emissions. Of course, when the tree dies, the carbon has to go somewhere.
We use Codenvy for TeachingKidsProgramming for this reason. Plus they have excellent support for Java IDE features.
Kaggle Facebook Recruiting IV: Human or Robot?
I suspect it's more a matter of ejecting poorly implanted zygotes—implanted enough to get some nutrients, but not enough to overtake the mother's hormonal balance. A poor implant could grow for a period of time before ultimately failing, fomenting a much more dangerous (for the mother) situation later in the term.
nilam montez
Or perhaps the US has a fairly nuanced understanding of international law, and when it can circumvent it, when it can ignore it by expending some power or international good-will, and when it will cost too much.
I get my ass of my chair and go out. Get a friend or just solo and go to someplace new, preferably on the open. Don't believe other developers the sun outside won't kill you.

I live in a city and just a one hour car ride there are countless of different awesome places to visit, old fortresses, 1000 meters mountain peaks, spa centers and many more. I haven't managed to visit them all and I have been trying and I am pretty sure that there are great places that would give you the inspiration you seems to need.

Your business is still there, it will wait for you. Don't forget you founded that company and you own it, not the other way around!
Yet I bet iOS still makes a lot more money than Android even in Europe. Market share doesn't mean anything if the money isn't there.
PowerShell is cool, I wish it was more popular. I also wish that XProc was more popular too, but XML is a big no-no on the Web nowadays.
WordPress XSS 0day
That is indeed what we do here. We took the principles we love and strongly believe in for application releases (one immutable unit, regenerated after every change & promoted unchanged from environment to environment) and applied them to the whole stack.

No more reconfiguring each node individually. No more subtle differences between machines or environments.
let's see:

jq does JSON parsing. And does it really well. Check.

jq does filtering
jq does projection (. operator, .[] operator, select etc)
jq builds objects (the {} operator)
jq does arithmetic (addition, subtraction, division, multiplication)
jq does database-like "lookups" in collections (keys, has, length etc)
jq does pipelining of the in-tool "objects".
jq does object generation of new objects like range operators etc.
jq does data type conversions
jq does sorting, grouping, extracts min/max etc.
jq does string interpolation and string formatting
jq does equals and relational comparisons, tests and other boolean tests.

awk does many of these too.

bash has some boolean tests, but typically very filesystem or envvar centric.

In general, when using shells and tools:

Sorting should be handled by sort. Except when it is handled by jq or by ls or by find or by ps or ....

Filtering should be handled by grep. Except when it is handled by ls or by find or by ps or by jq or by awk or ...

Formatting is always handled by each and every command. Which is understandable given that the format of each line is so important.

Now consider PowerShell where
ConvertFrom-Json does one thing: Converts text from JSON to objects.
Where-Object (aliases ?, where) does filtering. On any type of object.
Sort-Object (alias sort) does sorting. On any type of object.
Select-Object does projections. On any type of object.
Format-Table, Format-List and other Format- cmdlets formats objects to human-readable output.

The text protocol does not scale well with structural complexity. It is really only good for lines of text. It has been somewhat enhanced to be able to delimit fields which then makes for an informal tabular-like protocol.

The object protocol scales with structural complexity. That's the difference.
There's a difference between "you can" and what's actually convenient for an user.
> Do you wish to wager?

WTF does that even mean?

Look, I'm a student. I'm supposed to make mistakes. It's natural for me to be wrong. I should be wrong many times now so that I can learn and not make those mistakes in the future.

But you're a teacher. You are supposed to correct mistakes. You are supposed not to make mistakes, or at the very least to be honest about those mistakes. You're not supposed to try to intimidate me so that I stop questioning you; you're supposed to encourage critical thinking and healthy scepticism.

In short: if a teacher hears that he made a mistake when grading it's his duty to check it again, carefully; and if it happens to be true he should be honest about it and admit it instead of threatening that he'll lower the grade even further. What your teacher said could be read as: "Ok, so I may have fucked up, but that doesn't matter, because I'm so much smarter than you and I can fuck you up in any way I'd like; do you want me to show you?" Your teacher probably didn't mean it that way, but I met a fair share of teachers who did; it would be best to stay away from such ambiguous phrasings altogether.
May I draw your attention that Google was made a little bit later, and the Internet too.
Yeah, the Gaussian trick is like programming in a high-level language: using existing abstractions lets you write clean and concise code, at the price of some efficiency versus the optimal engineered-from-scratch solution.
It feels like they reinvented the wheel on a lot of things (especially on the monitoring side). I also wish there was some more detail about the caching/endpoint side of things. We rely heavily on Akamai's services for their edge servers, caching, and site acceleration. I don't see anything like that here, but maybe they're just not mentioning it?
I would tell myself that there are more optimal ways to give money to charity. Then I realized that doesn't work unless you actually do that, so I did that. Now I happily stare down panhandlers while giving them nothing. (The caveat's that now that I'm living off of savings, I think the most optimal charity is me. For some reason reading about timeless decision theory didn't help with this.)
Jetbrains pycharm does many of the same checks for free, it's also integrated straight into the ide so you get the error 1sec after you wrote it and can fix it immediately. What does this offer me that pycharms analyzer does not?
The lawyers who can't get jobs at the Big Law firms?
Lower back pain may have ties to our last common ancestor, chimpanzees
Interesting. Gearman with a few additional promises (sudh as providing transactional and durability guarantees). I'm looking forward to seeing this mature.
Well there's XProc. But as with everything XML - you shouldn't really edit it by hand without proper editor support at the very least (preferably DTD/XML Schema aware).
Construct 2 r204 (Beta)
> We are currently inserting our logs in an sql database, with timestamp, logType, userId, userAgent and description columns.

That's what I would do.

> However, after three and a half years of continued use, the table is now way too large.

Yeah, that's what happens...

There are many ways to handle this issue. The simplest is to start archiving your records ( i.e. dumping your old records into archival tables ).

Do you have access to a DBA or a data team? They should be able to help you out with this if you have special requirements.
The Troubling Reality of Forensic “Science”
Where Does It Make Sense to Use WAN Optimization Equipment?
I always like when there's a good, practical example of how to use a service.

Also, Python seems to be one of the most popular languages among AWS users (disclaimer: I used to work at AWS).
The word sport came from 'leisure activity' meat-sports took over the term, but does that mean we can't change it back?

http://www.etymonline.com/index.php?allowed_in_frame=0&searc...
I'm curious how you feel Haskell has helped you. Do you actually use Haskell for a great percentage of your deliverable code or do you simply use it for ideas, experimentation and so forth?
Sitting in on UPenn’s Controversial Seminar on “Wasting Time on the Internet.”
You can write them in PS itself, and it is quite simple and minimal.
Update on Security Incident and Additional Security Measures
W1CEG checking in! I haven't been as active as I used to be since I have two little ones that take up more of my time.

I guess I'll also take this opportunity to shamelessly plug the software WU2X and I developed (although not under active development for a few reasons (one being what I mentioned above)). I mention it mostly, because some of you may find it interesting and worth looking at. It allows using PowerSDR with some traditional (non-SDR) radios: http://www.wu2x.com/sdr.html
Data Suggests the Language of the Future Could Be French