skysight-inc/HackerNews huggingface dataset:
Looking at this differently though -

Encryption or not, signs point to meta data collection being absolutely essential to tracking down these pricks' location.
On a lighter note https://twitter.com/startupljackson/status/64852259758018969...
Scout Founder (Derek) here. If you aren't running Rails, signup here and we'll email you when we support your language/framwork: https://apm.scoutapp.com/beta_invites/new.
I'm not sure how much of this is "media response". Politicians and people on the street are also blaming refugees, advocating bombinb Syria... at a certain level, the media is just reporting that.

(of course, talking about "The Media" is always problematic because it's difficult to sum up as one blob. There are, of course, bad actors in the blob)
Remix (YC W15) is hiring
"Wonder how many Mexicans were in what is now America at that time"

About 2-300k total population in CA, NM, AZ, NV, UT, and CO. That was well under the population of several native tribes on the same land.

And the ones in NM were not even officially Mexicans; they were loyal to the Spanish crown and refused to pay taxes to Mexico City. When General Kearny arrived in Santa Fe '46, there was a parade instead of a battle because Mexico and the Navaho would have to stop raiding them now they were American.

The Mexican claim to America's southwest was just a line on a map -- total indefensible and non credible. In fact, it was just like America's border enforcement today.
A girl on irc once asked if there is a way to solve FizzBuzz with just one comparison.
Yours is indeed one and it is pretty clever :)
Here is another one https://gist.github.com/giuseppeg/5939177
Like I said, religion is just being used to justify the crime. Like fighting terrorism is being used as an excuse to justify our own crimes (spying on people, torturing people, bombing with drones causing civilian casualties etc.).
Agreed. Word of mouth is still a very viable method of communication and, given the organization's value of human life, I wouldn't be surprised if runners are frequently used to disseminate critical communication.
No, one's personal life is not subject to this.
Thanks nojvek. I didn't know Node-Webkit. It looks cool!
Don't know, I never liked two-way bindings :) <MuseumTech>Adobe Flex added those at some point but it was a complete downgrade from the simpler one way bindings + events.</MuseumTech>

A central state atom has pros (debug tooling and the fabled undo for free being the main ones?) and cons. The cons affects me more than the pros. Clojure's Om and React+redux maintain a central atom but still allow for local state in a pinch.

I appreciate your comment but I wish it was a bit more constructive; Why do you think a central state atom is so much better ? How can one write ready-to-use smart components with central state ? (e.g ReactTransitionGroup)
I will also say, and meant to mention in my original comment, good textbooks are beautiful things.

Most textbooks by the time I got to HS (mid-1990s) were meh. And they seemed to be getting worse each year. Compared to the books my parents and previous generations experienced. (Specifically for math.) Older books tended to be small, concise and precise. Think Sipser's automata text, but for everything in math. Being a third generation mathematician certainly helped by providing me access to an older library of books than a lot of my high school and college peers realized were available.
It used to be that they were shooting for superfluous sex scenes, and a similar argument could be made - sex sells. Theatre is apparently behind the loop and it tries to exploit it now.
no, as the nature of it forces it to be on your network edge.
In fairness, we can't exactly trust professional spies to tell us the truth regardless...
If Elm had a dedicated library for io with Postgres functions (stored procedures) would then become very attractive to my company, for a very ambitious project we are developing.
we store all state and logic inside db safely firewalled by stored procs, so i'm looking for UI focused language/ toolset that is productive, functional and produces atractive ultra reliable, performant html js. I don't feel good about the Sencha tools, my team currently uses, so I'm looking around for alternatives.
ur/web looks very interesting aswell but the limited adoption with only 1 albeit genius developer, is a bit offputing
Quarantine may be an effective tactic for some of the more virulent outbreaks, but it won't prevent antibiotic resistance.

Tuberculosis is a prime example of why this is such an intractable problem. 1 in 3 people globally are infected with the TB bacterium. That's >2 billion people!

It is usually dormant, but there's a 10% chance it will flare up into the active - and deadly - state in a healthy individual's lifetime, so it really needs to be treated. It is the top infectious disease killer every year (>1.5 million people, including 140,000 children).

The current treatment regime requires daily doses of multiple kinds of antibiotics for 9 months, and that assumes you're lucky enough to have a strain that is vulnerable to first line drugs. In practice many treatment regimes require multiple antibiotics administered at once, and can take up to 24 months to clear from the body. Second line drugs have severe side effects.

Every time someone misses a dose, they risk creating a resistant strain. In fact, even if you're taking it regularly, there's a chance it will still develop into a resistant strain.

There is simply no way to ensure all of the 2 billion infected people around the world, mostly in low and middle income countries, will (1) be identified, (2) have access to these drugs, (3) consistently take them for 9-24 months even if faced with severe side effects, and (4) be monitored by a professional that can decide when to move to a second or third round of treatment.

A certain percentage of the population will never be treated, abandon treatment too early, or simply have terrible luck and not fully respond to treatment. You just can't identify and quarantine them all. Besides, even if you did, where would you house them? For how long, the 24 months of treatment? The rest of their lives?

It's also important to remember the human element here. We can't cycle/phase out antibiotics, even if you did manage to get every doctor in all 190+ countries of the world to agree to do so. What would you do if you or your baby needed treatment, but a doctor told you "no, we won't prescribe the most effective treatment because we're worried in 30 years it won't be effective anymore." Without effective treatment, an active case of TB has a 45% chance to lead to death. It's also in everyone's interest that that infected person be cured asap.

Finally, it's highly doubtful draconian containment or drug cycling restrictions would even work. Drug resistant genes are already in the natural environment. Life finds a way. In 2012, doctors found a strain of TB in India that is entirely resistant to =all= known treatment. They found 12 cases in one hospital alone. Most facilities don't know how to identify it, so it's spreading out there, right now.

Quarantine and treatment can slow the progression of resistance, but it simply can't be reversed. 3.5% of new cases every year are already resistant to =multiple= drugs. We will need to develop an entirely new model over the next century to eliminate these bacterial infections.
Ask HN: What are you favoring YAML/JSON command line tools?
Mine is jq. Wondering if there's something similar I could use to write JSON/YAML from the command line without a need of jumping to Vim.
Is there any way to find this out in other versions of Android? I've been experiencing severe battery drain recently and am unable to pinpoint to the app causing it.
This might be the influence of playing too much metal gear solid, but how far ahead is nanomachine research? I know some people use nanowires coated with certain human-compatible proteins to make them more appealing to osteosarcoma (bone cancer cells) so the cancer cells take in these nanowires. However implementation of a mechanism to target something like a bacterial infection is not something I've heard of.
Despite Paris attack speculation, PlayStation 4 encryption not especially secure
I'd like to see it become taboo to exploit tragedies for political gain like this. Take every opportunity to call it what it is: profiteering off the death and suffering of others.
Here's a long-form answer to both questions. :)

https://www.safaribooksonline.com/blog/2015/10/29/react-loca...
> especially if you were doing it at scale and didn't realize you were about to erase the master copies.

I agree with this.

Negligence of this level, though, is indescribable.
Non-working (UI prototype only), but here's something I put together a while ago to test my homegrown JS framework[1] with the intent of adding an audio engine someday:

http://busfactor1.ca/bin/tracker

[1] https://www.npmjs.com/package/px2
Absolutely. As long as you go and study something you don't already know. A competent programmer who is also a domain expert in some field will always be in a better position than someone who is just a competent programmer.
European Robotics Week #ERW15: 600+ events focusing on robots and society
I think many of the disagreements in this thread can be attributed to different interpretations of the word.

There is the thought-dulling sarcasm common on the internet that is equivalent to preaching to the choir in reverse, "It's ok, congress is on it" or "Another cold day, so much for global warming." Similar is the the teenager's use of mocking sarcasm as a blunt act of defiance.

Then there is the playful language that makes the listener try to inhabit the mind of the speaker and likely does generate creative thought, such as the article's example “Pat, don’t work so hard!”

Finally, sarcasm can be used to express ideas that, if said bluntly, would be unacceptable. A boss can tell a recently-berated employee, "the customer is always right" as a way of commiserating with the employee without directly discrediting the customer. Or a coworker can say "Another good policy decision from management" and gauge the listener's reaction without directly revealing their own opinion.

Pinker on shared vs mutual knowledge, the value of ambiguity: http://scholar.harvard.edu/files/pinker/files/evolutionary_s...
Yeah, but the democrats also want to ban guns, so they aren't hypocrites, they are just wrong.
Until it changes meaning, I cannot give it up. A curse I tell you!
I'm not sure I'd trust Arris products at this point. From another blog post in 2014: "It is worth noting that on previous FW revisions the CGI calls did NOT require any authentication and could be called without providing a valid "credential" cookie." http://console-cowboys.blogspot.ca/2014/09/arris-cable-modem...

With mistakes like that, and three layers of backdoors, I'm half expecting discoveries of hardware backdoors next ...
Popular PHP Web framework Yii2 – versioning explained by core foundation team
Big-event dresses are specialized costume.
Actually, we do:

http://www.nytimes.com/2015/05/06/world/europe/french-legisl...

The "French NSA" already exists. There's nothing to "start up".

Their budget isn't on par with the US but they already have more leeway than US authorities when it comes to invading everyone's privacy. I'm actually quite curious what more they could possibly want in terms of legal authority to spy on everyone.
Harvard and the Making of the Unabomber (2000)
> After a thoughtful analysis, the marketing committee advised w00tsec members to write a Keygen. In order to write a Keygen, we need a leet ascii art and a cool chiptune.

Something old, something new. Of course exploits and chiptunes have always gone together like bread and butter. But now exploits need marketing committees too.
Here's a good intro on Flink streaming:
https://dato.com/videos/data-science-summit-seif-haridi.html

Summary: advantages are real-time (10s of milliseconds) processing latency, exactly-once semantics, failure-recovery model based on Chandy Lamport, backpressure support.
"Irony... dollar for dollar, it's your best entertainment value."

One of my favorite old Usenet .sig lines.
The output of good encryption algorithms is indistinguishable from noise. And you can embed noise in anything, like in images, or in audio or video streams. And this is a worst case scenario, assuming the US convinces the whole world to ban encryption, which is highly unlikely. I mean besides the terrorists meeting the old fashioned way, in person.
That said, it's possible that your cable company could protect you (and their other customers) at the expense of you possibly losing access to port forward SSH, etc.
Right, however, the MITM attack would also come at the cost of causing the rest of the connection to fail. You could also do fun stuff like sending the sha256-mac of the hostname using the DH key as the MAC key. There are lots of fun ideas!
It just happens to be so that the people from the countries we have been interfering with for the last decades are mostly Muslim. Before that it was relatively peaceful and extremism was nearly non-existent. The current anti-Western extremism is reactionary.
Open API is an alternative to RAML
Does this affect their Surboard line? Specifically the SB6141? Its probably the most popular modem for people who don't wanna rent one from their provider.
The idea is to then discuss the project in the interview. This closely relates to what applicant will be actually doing at the job.
If you'd asked me a few years ago, I never would've thought I would be interested in a financial newsletter.

But Matt Levine's really are the best. Hilarious and insightful five days a week.
Oh, I've noticed that... That's why as a French I tend to love UK comedies. We tend to use less dry sarcasm in France. So much the pity.
There are two conditionals in that code.
This isn't actually true. A new Vegas dress for a lot of my friends would cost as much as the rest of their whole trip to Vegas. Furthermore, women 18-30 have tons of weddings, bachelorette parties, work functions, holiday events, birthday parties, brunches, and weekend bars to visit, but almost all of those cost less per person than some of these new dresses.
Thanks for the tip :) I'll explore that. Do you have any recommendations for textbooks to sink my teeth into?
The thing you want to look at is biotech. Life is nothing but nanotechnology that we didn't build and we can't control yet.

The hottest thing right now in fighting bacteria seems to be bacteriophages[0]. I've heard Russians had some success in R&D there, but I don't know much more. Maybe some knowledgable HNer could elaborate.

[0] - https://en.wikipedia.org/wiki/Bacteriophage
This looks great. Hopefully this can be configured to set off a big fat alarm if any unexpected syscalls get called. Will be a huge security win.
Good point - Skype and FaceTime too.
Hey, I know you're saying you're not an expert on Flink or Spark, but do you know if Flink and/or Spark allow you to merge a stream in real-time into a data set that you can run queries against?

Generating analytics directly off a stream has never seemed that useful to me. Being able to take all the data in the stream and merge it with previously collected data, then query that merged data is the sort of thing I need to be able to do.
At the risk of quibbling, my opinion on the definition of sarcasm resembles that of Wikipedia's article on the subject: https://en.wikipedia.org/wiki/Sarcasm

Other than that bit, what you've written doesn't conflict with what I wrote. Even if sarcasm is used at the expense of nonexistent parties, it stands a reasonable chance of making those who don't know you well wary.

One illustration from my own life: I was very sarcastic as a younger person, but generally had no malicious intent. Once I thought I was getting along quite well with a girl, who was laughing at some of my sarcastic remarks. At the end of the evening, she stormed out of the room, upset after I made yet another sarcastic comment. This came to the great surprise of me and others in the group who knew me better. Here there was no evil intended on either side, yet sarcasm combined with the intrinsic difficulty in understanding another person created a very uncomfortable and socially destructive situation.
Sounds like the statists really got inside your head. Why shouldn't your friend's friend be allowed to voluntarily put anything inside her body that she wants to.

>libertarian feels
Only if 1) you are one of the top posters on HN, 2) you are sure the people reading your resume are avid HNers and would recognize your name. Otherwise it's more likely to hurt than help.
Why would anybody bother with jq? App::RecordStream gives much more
flexibility.

And how would you exactly write JSON/YAML? You could generate some e.g. from
CSV or with split/regexp/text parsing (recs-from*), but those are specific
cases when you have some data and you want to work on it as a set on JSON
objects. It's data-centric, not format-centric.
Seems like this only affects the LAN interface. Since most people aren't trying to break into your computer just to break into your cable modem, this shouldn't be considered a high priority exploit.

Malware changing the DNS server on your router's DHCP server could be bad for you. But even though malware on your desktop attacking your network is bad, what's worse is there's malware on your desktop.
This library provides so many anti-patterns. "topMostVC" is going to be the source of a ton of bugs.

As for aesthetics, this library will be adopted by a lot of people who don't understand Cocoa conventions. If I saw it part of a project, I'd consider it a red flag.
Adele Is Said to Reject Streaming for ‘25’
Some of this is just poor style/naming conventions, some of it is simply implemented incorrectly and the rest of it removes necessary distinctions from important functionality.
What a prescient and logical observation.
App claims to cut onboarding costs and time
im gonna learn the random number seed by heart and put it as an anwser every time im asked to do fizz buzz from now on
U.S.-Russian talks on Venus mission resume
It is also possible to write the most complex app ever using just vanilla Javascript/JQuery too, but it's not viable or fun to maintain.

The elm language brings a lot of value compared to the very unsafe javascript; I'm only questioning the validity (or immaturity) of the component architecture.
That's a misleading comparison. I think the argument is that if you have a gun you can protect yourself from another person with a gun. A better analogy would be how some jurisdictions make bullet proof vests and gas masks illegal because they can be used (by bad people) to thwart police.
Definitely not true. Scala is at its strongest ever. It's now possible to write frontends, backends, and mobile applications in Scala. There's an incredibly diverse and growing ecosystem of libraries. The Scala tooling has really stepped up.

The fact that there's so much discussion on the new SIP (Scala improvement process) and SLIP (Scala library improvement process) issues is a testament that Scala is alive and well. This is what happens in a mature language: many people put stakes in the ground.

Also, Scala most certainly has a bright future to go with its vibrant present. EPFL is hard at work with dotty, which will be a simplification and improvement of Scala.
At least it appears to be based on the serial number. Only using the last 5 is still pretty bad though but plenty of cable modems treat the serial number as privileged information. It's already a password essentially for SNMP access provided that your ISP hasn't blocked access to it.
I like this version better.

As an aside - have you read about the supposed NLP used by Obama in his speech cadence and delivery? I think its quite fascinating... just google Obama NLP
Wouldn't putting the Arris modem in bridging mode mitigate it? It should no longer be accessible via an outside IP at that point.
@rtfeldman -- I think your response is a bit disingenuous since only yesterday you wrote, in response to a question about cursor state, this:

"I wouldn't maintain cursor state in the model; I'd just implement the port like this: http://stackoverflow.com/a/14508837/2334666

In other words, you never use the value attribute on the input; rather, you give it a unique key and don't touch it directly. Whenever you want to change its value, just send the desired new value to that port and let the JS snippet do the "stash cursor position, set the new value, restore cursor position" bit.

If you need to do this for multiple elements, send a DOM query string to the port and call document.querySelectorAll (or the like) with it to apply the logic to the correct element."

(See https://groups.google.com/forum/#!topic/elm-discuss/I2JleY8b...)

Clearly, you don't even believe that all component local state belongs in the atom. And kicking the issue to JS-land is just hiding the problem.

Almost everything should be unidirectional, but @boubiyeah has a valid point. Not everything belongs in a single state atom. (I say this having written a 4000 LOC Elm app, which I'm porting Clojurescript/Re-frame due to precisely this issue.) Even Haskell uses mutable references for this stuff.
Clothes smarter than you are: welcome to the future
I skimmed trough it so it wasn't clear to me.

But if you ssh and have root access, then you should be able to change the password. As well as edit a startup script to move/delete the backdoor files.

Try it at your own risk.
Tangentially related: https://github.com/AbstractBeliefs/BadBuzz

A collection of terrible fizzbuzz solutions.
It is truly amazing how bankers always get away with this kind of incompetent non-sense. Every single time a stock sees a "jump", it is because those "analysts" did a poor job in evaluating stock price. And company going IPO is leaving money on the table, which is stolen by those greedy (too polite a term for bankers) bankers.
indeed :) it should be:

words[c] || i

I focused on the bitwise thing and I overlooked that part
Nintendo Controller Teardown
It's a tiny bit funny that a cable modem called "arris" has a backdoor: http://www.cockneyrhymingslang.co.uk/slang/aris
I agree that string concatenation is the optimal solution and always take the chance to bring out a properly generic solution.

let fbg s l u=unlines[case concat[w|(w,c)<-s,mod i c==0]of[]->show i;m->m|i<-[l..u]]
let fizzbuzz = fbg [("Fizz",3),("Buzz",5)] 1 100
main = putStrLn fizzbuzz
Hi DannoHung,

Maybe this article could be of some value to you: http://flink.apache.org/news/2015/02/09/streaming-example.ht...

Btw. handling DataStreams and DataSets in Flink is done via almost similar API calls. In DataStreams you only have to additionally insert the Time-Window parameters. Everything else (transformations like filter, map, flatMap etc.) remain the same.

Kind regards,
Harris
How to easily measure your website #metrics
> because they've trained the recruits well.

filtered, not trained.
Meetearnest.com data showing millenials are flocking to Silicon Valley
Five Essential Phone Screen Questions
Square Pays $93M Penalty to Some Investors in IPO
Bizimply Wins 2015 European Web Summit
I wonder if these USPS losses have anything to do with the fact that I can order something from China for $2 with free shipping.
You're going to be so in for a surprise when the RNG used on the machine you're showing off your skills on has a different underlying implementation than the one that you suspect!
I'm not going to debate on how democracy works or doesn't work, you totally disregarded the second part of my comment anyway.

I'm not aware of any atrocities committed by our current government.

[edited after cooling down]
"Shodan searches indicate that the backdoor affects over 600.000 externally accessible hosts"

It doesn't look like this is LAN-only.

Even if it were, an escalation from unprivileged code execution on a single device to MITM any connection out of a network hardly seems "low priority".