skysight-inc/HackerNews huggingface dataset:
> The city of San Francisco did not give Lopez-Sanchez (the alleged murderer) sanctuary in the same way as described in the article...I found your comparison to medieval sanctuary to be cheap and inflammatory.

Every time I touch on an immigration related topic on HN, I swear it is the last time, but because it is so personal to me I just simply can't resist.

OP falls into the classical logical error equating undocumented/unlawful/illegal immigrants as criminals. It is just simply impossible for certain individuals/groups to wrap their minds around the simple fact that ones immigration status does not and can not constitute a crime in and of itself. Almost everyone is aware there is civil and criminal laws, I also think everyone knows immigration law is civil in nature, but you will never stop those with a certain bias from wrongfully projecting immigration status as a criminal issue, hence the existence of terms such as "illegal immigrant" for the mere fact that is sounds closer to a criminal label...its sad really.
Yes but he is more concerned with ransacking its employee pensions.
They could wear anything they like working from home, but HP disallowed telecommuting so it is a moot point. Sounds like a blast to work there.
I like the name :)
Wait, so Samsung wrote their own new JavaScript engine for embedded devices? This is actually very cool.

It looks very constrained in what it supports so far though.

Update: They're at ECMAScript 5.1 https://github.com/Samsung/jerryscript/issues/205 but not all tests are running https://github.com/Samsung/jerryscript/issues/158

Ok, it doesn't yet JSON.stringify https://github.com/Samsung/jerryscript/issues/432 so not sure if ready yet.
Do like me and turn off JavaScript by default.

The more people we are, the greater the chances that the web remains usable without JavaScript.
It's good to see that the course is listed here. I am the founder of EH Academy so if you guys want to know anything, just let me know.
nickpsecurity's reply is dead because he used the m-word.
#define add(a, b) _Generic(a, int: addi, char*: adds)(a, b)

Just because you can doesn't mean you should. Someday, someone will have to read that code. Note that when "add" returns a string, it's done an allocation, but for the integer case, it hasn't called "malloc". Now you'll now need to know the type to get rid of it.

Back in C99, generic trig functions were put in to make the number-crunching people happy. After all, FORTRAN has them. Everybody was tired of different versions of math libraries for "float" and "double". Then in C11, the mechanism behind that, "_Generic", was exposed. Now, anybody can use it. But, probably, they shouldn't. [1]

[1] http://www.robertgamble.net/2012/01/c11-generic-selections.h...
> a place where they can gain unparalleled experience

that makes it sound like the kind of experience they could put on their CV... imagine the interview...

Interviewer: "Tell me about an experience you think would be relevant here at OfficeDeskCo"

Guy: "Well I was in the east side crack dealers gang for 4 years, and this one time...."
Don't think of "a monad" as a thing. Think of "monad" as "a way you can threat things": you can treat things monadically by implementing the monad operations for them, such that they obey the monad laws.
I think there's room for interpretation but that in cases like this, it is indeed a bug.

Many applications are programmed this way but I firmly believe that an application needs to honor the TTL of a DNS request for any subsequent connections, for exactly this reason. DNS records change. Sometimes frequently. IMO you shouldn't need yo kick your apps to get them to use the new hostname for subsequent connections.
> the compromised router isn't a usefully privileged position to launch this attack from.

I hadn't thought too deeply about it but you're absolutely right. Given the presence of encryption, the biggest advantage you can get from owning the router is being able to phish the user from a site they might normally trust but isn't encrypted (a group of sites that is, thankfully, getting smaller every day).
Gogoro’s First Scooters Hitting the Road in Taiwan
Ask HN: What is your most successful life-cycle email?
We've got a couple life-cycle emails/in-app messages for our users that are really well received and some that aren't as much. I know there are sites that share really good emails that look nice but I'm interested to know what is your most successful email/message you send out to your users and what makes it so good. How are you adding value to their experience?
a few days ago Cesanta brought their v7 JS engine to the esp8266 and now samsung is showing JerryScript. Pretty interesting times for embedded JS
Ha! There are no general purpose tools--lots are a) overkill or b) not robust enough given your task but two general ones that have served me well (and of course lot of Python scripting for my domain-specific issues):

Refine (formally from ITA/Google, now open source)
IBM Watson Analytics - Don't knock it until you try it. Forget the 'analytics' bit but the ETL bit is pretty decent for getting through the basics
Thumbs up! I like your work.
The LDA stands for Latent Dirichlet Allocation which is the basis for a probabilistic model of words in documents.

The wikipedia article is excellent and goes on to explain why you would need to use Gibbs Sampling:

https://en.wikipedia.org/wiki/Latent_Dirichlet_allocation
I originally began trying to start my own business because I had seen how businesses work (smallish through to large public companies) and I've noticed that people like me (not particularly politically savvy, not an ounce of sociopathy) ended up not advancing and losing influence over both the technical and cultural aspects of the work environment.
Attacks I heard of were MITM on vulnerable services, network monitoring to enumerate other attacks, malicious DNS activity, proxies, DDOS attacks, and shutdowns if it's eCommerce. Could be more. These are the one's I've seen happen or read in reporting on the subject.
I'm trying to think of a good, sarcastic comment about privacy being too inconvenient on the internet, but quite honestly, they all sound too much like things I've heard people here say.

At the end of the day, unfortunately, commerce seems to be the prevailing decision maker. Sometimes I feel like it'd be great to see the money driven out of tech for that reason.
YC fellowship, whats in it for YC?
How about some specific examples instead of "I use `cat` and I'm right"?

>You don't know that there's no good reason to do what I do.

Exactly. Show us.
Ask HN: How many developers at your company are highrated competitive programmers
I am just interested in knowing that percentage of developers excel at competitive programming. Also interested in the reverse statistic which is about how well competitive programmers perform in a real programming scenario. At my company, I only know of two people who are "Yellow" rated on Topcoder.
I feel that continuous and frequest releases do not serve the end user.

It can take time to find and fix subtle bugs. Adding new features introduces new subtle bugs.

Even as a developer, for me to grow happy with a tool often means that Apple will crush my joy by altering thatntool in a way that makes no sense to me.

Today's "UX" is particularly tragic. I find so many user interfaces that make no sense. Perhaps thats because there isnt enough time to solicit feedback from end users.
Huh? If you mean mainstream, there's certainly a mainstreaming effect in INFOSEC. It sometimes promotes things that stop hackers. Mostly just tactical stuff that's bypassed later or thing inferior to more obscure stuff that worked with better design/architecture.

Example (paraphrased): "Dude, what's with all this separation kernel, decomposition, and interface protection nonsense? Nobody does that shit. Real hackers use a monolithic kernel with several MB of privileged code, no POLA, implementation fully in C, and some security features/apps on top of that. Do that and you're good."

Several hundred CVE's later related to the above... yeah, some things aren't popular for their actual security.
Reading HN ;)
This is like going back to y2k and saying 'well if you want double-slash comments you should use the version of c that already has it, namely c++98, and it was a mistake to add it to c'
Nice. JavaScript allocates a lot of memory dynamically, and sometimes implicitly, though. In very tiny RAM environments, that's going to be a problem.
You may also want to check this spelling correction algo. I'm using it along with trie. Original is in C# but ports are available.

http://blog.faroo.com/2012/06/07/improved-edit-distance-base...
I take it from ICE spokeswoman Virginia Kice's statement that "the detainer was not honored" that a detainer was issued for Lopez-Sanchez:

http://www.latimes.com/local/california/la-me-immigration-sa...

An ICE detainer is a request (not a court order) that a state or local police department detain an individual for 48 hours (excluding holidays and weekends) while ICE decides whether or not they want to take someone into custody for consideration for deportation:

https://www.aclu.org/issues/immigrants-rights/ice-and-border...

In retrospect, I probably exaggerated ICE's power wrt my local police department. Still, compliance with a detainer means an arrested citizen can be detained for up to five calendar days (48 hours + 3 day weekend) without charge, or indeed any sort of judicial review, merely on ICE's say-so.
Retro ThinkPad - Lenovo wants your opinion on what to bring back in a new laptop
I can't remember the last time the teams I've worked on ever mentioned making the site usable for people without JS and people with disabilities. "It's not in the scope!" Ugh.
The problem is not the frequency with which it happens. The problem is that the way you get notified that it has happened is that IP packets suddenly start to get delivered to the wrong machine. If you're lucky, the net result will simply be a dropped TCP connection. If you're not lucky, pretty much arbitrarily bad things can happen.

Now, it is true that IP is not reliable, and so arbitrarily bad things can happen at any time and you do have to be prepared for those. The problem here is that there is no notification. Potentially bad things are happening here not because something has gone wrong, but by design. That, IMHO, is the very definition of Bad Design.

Normally, when you make a DNS change, you control the DNS and the affected end points. That way you know when the change is happening, and you can give yourself as much time as you need to make the transition in an orderly way. With ELB, the only guarantee you have is the TTL. With a 60 second TTL, that means you have at most 60 seconds to do the transition, and even that is only if you notice it when it happens (and the only way to guarantee that is to poll the name server constantly).
When C++ is not a substitute, it's for some reasons having nothing to do with language or philosophy, such as not having a C++ compiler for the given chip.
It's worth reading Nielsen's essay "Will neural networks and deep learning soon lead to artificial intelligence?" which was added today

http://neuralnetworksanddeeplearning.com/chap6.html#AI
When you have more than a handful of strings, you will want to return only a small number (k) of completions, preferably sorted by some pre-assigned score. Depending on how you order the trie, you can only get the first k completions by lexicographic ordering, which could be very far from the "best" completions.

A common approach to solve this is to store in each internal node the maximum score among all its descendants, and sort the children of each node by maximum score. This way by doing a best-first search with a heap you can efficiently retrieve the top-k completions by score.

If you then have millions of strings, it becomes tricky to do this in a space-efficient and cache-efficient way. I wrote a paper a few years ago with different space-time tradeoffs: http://www.di.unipi.it/~ottavian/files/topk_completion_www13...
How does this compare to duktape (http://duktape.org)? I really like duktape's API and documentation (stack-based interface similar to Lua and the doc perfectly describes how each function call affects the stack state).
While Its Streaming Service Booms, Netflix Streamlines Old Business
If you take the view that collective action always trumps individual action, no matter how great, then your most effective performers will be team-oriented people who might not see things this way.
I was exactly where you were. I felt I was solving problems that look almost trivial to me. Of course there are lots of hard distributed computing problems at the scale that Facebook and Google operate but not anyone is to work on them.

I found scientific programming: i.e. using Machine Learning and related disciplines to solve hard AI problems. I can guarantee you might get frustrated by lack of success and hardship of challenges but never ever bored.

In case you are interested, this is my blog post when I got inspired by this:
http://byterot.blogspot.co.uk/2015/01/future-of-programming-...
I haven't, though the germ of an idea has been percolating recently. I keep trying and failing to find some sort of how-to book about it, but whenever I bring this up in hopes that somebody knows what I'm talking about, the response tends to be "well why don't you write one".

The recent article in The Guardian titled "The end of capitalism has begun" is closely relevant and has a lot to say on the economic situation driving these kinds of ideas.

Most of the practical experiences I've had so far have come about either through open source software development, or various large, collaborative, non-hierarchical, non-profit-oriented art and festival projects related to the Burning Man community. Several years helping run a makerspace have also contributed.
Discovering places to play your favorite sports and finding fitness center
He covered this:

> I'd usually speed read
Maybe given a few more hours I'd have gotten it to work correctly, but who wants to spend hours fighting bad tools, especially when just trying to evaluate them?
AWS support has said that ELBs will continue to accept connections (and use the correct backend) for at least an hour after the CNAME stops resolving to a particular IP.
Stay fit with playnlive.Excellent app for Sports Lovers.
I'd recommend an OpenBSD-based setup given 0-days, lack of security tech, and bad configuration are top methods of attackers. That team is way ahead of the rest in auditing for and preventing such problems in every area. Plus, unlike stronger architectures, it's available to you free and ready to go.
> Which one is better was not his point, ...

The comment is loaded with judgment, and the word "better" actually occurs.
But the AMD drivers keeps being a piece of shit on Linux ? I know that improve a lot (from buggy desktop to usable), but lags behind NVIDIA drivers or are at similar level.

I'm too tired of fight with issues of these drivers, plus AMD have a bad tendency of drop support for old video cards. I can understand that they drop support for desktop old cards, but not should be too fast with notebooks cards, that can't replace the GPU.
Why Mobile Voice Quality Still Stinks–and How to Fix It
No, I think tend to think your preferences are common.

Until a robot voice gets an appealing personality that people enjoy talking to, people will avoid interacting with "robo voices" if at all possible. Even though may interactions with voice recognition applications have reached the point of being "seamless", I still dislike the things.

Another factor is that voice isn't very desirable for things that involve only formally specifying something. If you type out the key word-preferences for recommendations, you can see what they are and change them easily. If you interact by voice, you'd need to have your preferences tediously read back to you.

Even if a person has a human assistant to perform various chores for them, the value of that assistant would derive from being able to make choices wouldn't want to overtly make or think about yourself - someone who would buy clothes for a person with no interest in fashion but needed to look good for example. Even in this case, you'd want the preferences for your assistant spelled out so much as it made sense. Once robot voices pleasant enough, they'll probably still want to supplement any interactions with "notes about the conversation" that the person could also edit.
I wish and hope web developers (and developers in general) read your post. Very well said.
Data Brewery has a nice ETL library called Bubbles for Python [1]

Kiba [2] is a really nice library for ETL in Ruby

Hope this helps!

[1] http://bubbles.databrewery.org/

[2] http://www.kiba-etl.org/
Your are looked to a single vendor on his proprietary language ? You should move to use OpenCL ASAP.
Python 3.5.0b4 has been released
I wanted this to be teams of 10k people or more, I wouldn't say this is "at scale".

tl;dr Self selected Instant runoff voting of future destiny instead of forcing decisions on workers turns out pretty well.
Yeah, I've come to see my primary outlet for political action as the process of building the kinds of structures and organizations I want to participate in, from a local level outward. These tend to take the form of semi-amorphous, self-assembling, non-hierchical temporary groups arising to accomplish specific tasks out of a larger ongoing network of social networks. You can get a lot done this way and it's a very pleasant kind of experience. I'm part of a large extended "tribe" that has repeatedly proven its ability to mobilize substantial resources and manage large complex logistical operations with no permanent hierarchy or profit motive, and that demonstrates that there is some valuable body of social skills and experience present which, so far as I know, nobody has yet laid down in writing for others to pick up. I'd like to see this kind of thing get franchised and spread around, and I'd like to be able to borrow from the practices of other such tribes, but since we don't really have a name for the phenomenon yet or a body of writing about it, it's hard to have a global conversation driving it forward.
I misspoke here, I meant Dirac or Majorana fermions.
Clarify the syllogism?
This experiment should neither prove nor disprove it. It measures a parameter of a phenomenon (neutrino oscillation) which is well-known and which is only weakly affected by the premise that neutrinos are Majoranas.

So, just as a quick overview, there are two ways within the Standard Model to give a particle mass, one is the Higgs mechanism where the particle couples with a field generating an effective Dirac mass; another is to sum up certain Feynman diagrams (loops and other particles and such) generating a Majorana mass. These Majorana mechanisms effectively require that the particle be a charge-neutral fermion, so bosons (force-carriers) are out, as are quarks, electrons, muons, and taus. That leaves the neutrinos as the only known particles which could get mass this way.

For a while, it wasn't even known if neutrinos had mass; we now know that they do, but it's (m) at a scale much smaller than any of the known masses (M) of the Standard Model, and just postulating, "hey, the diagrams work out just right so m/M is a small number" feels like a cop-out. So one of the most intriguing Majorana-mechanisms is the so-called "seesaw mechanism": this postulates some symmetry breaking between the left-handed neutrinos of the Standard Model and some new right-handed neutrinos; the left-handed get ratio m/M and the right-handed I think get ratio M/m and it all sort of balances out.

There are two clear "signatures" that neutrinos are Majoranas: one would be to observe these huge right-handed neutrinos. The other is to observe two neutrinos perfectly annihilate.

What I think you're thinking of: In the early 2000s there were claims that experiments had observed the latter. This is a little tricky and the process is called "neutrinoless double beta decay," since a beta-decay produces an antineutrino and two antineutrinos can only annihilate if they are their own antiparticle.

The general consensus now is that those early experiments weren't sufficiently reproducible and we've never seen neutrinoless double-beta decay. However, that doesn't shut the door completely since double-beta-decay is already pretty rare: 76-Ge for example decays via double-beta-decay into 76-Se with a half-life of 10^21 years, or a hundred billion times the age of the universe. The GERDA experiment has been studying this stuff and can conclusively say that the half-life for neutrinoless double beta decay must be at least 10^25 years, and they're looking to increase their resolution to 10^26 years: so it's less than 1/10,000 of their decays observed so far, but they can capture it if it's more frequent than 1/100,000.
There's a definite balance between cargo-culting and reinventing the wheel. Minification is often a premature optimization. A somewhat proper/standardized module system (aka that which comes with ES6), on the other hand, is almost a necessity when it comes to building software.

Standalone JS was meant to add little bits of interactivity to documents. If what you're building is interactive documents, build tools are generally overkill. If you're building applications, the tools exist largely b/c JS-in-the-browser was not designed to build applications.
Thanks. These look good and won't break the bank.
> you would need to be able to handle reconnects, but that shouldn't be a new challenge for any system relying on connections being open for long

That's true, but it kind of misses the point. Normally, if a connection is dropped it means something has gone wrong. In this case, connections are dropped by design, and there is no way (AFAICT) to work around this. Designing so that behavior that is otherwise the result of things going wrong is now the normal designed-for behavior is, IMHO, the very definition of Bad Design.
There is a Matt Taibbi talk somewhere, where he says he was on the presidential campaign trail with more or less the top reporters in the country when Bear Sterns collapsed, and his shock at realizing that none of them knew what that meant or what even the story was about.
Hm. They put in 700 watts of microwave energy, and got 20μN of force out. That's incredibly tiny. At that level, they have to try to eliminate sources of error such as attraction between the current-carrying conductors and anything conductive in the neighborhood.
They're working in a vacuum, because 700 watts will generate enough heat to move air. It's one of those things that's so close to the noise threshold that you can't tell if it's real. They write: "Our test campaign cannot confirm or refute the claims of the EM drive."
Where's the rest of the paper? I only see page 1. Do I need to pay? :(
Ah, I didn't know that. That makes a big difference.

But there's still a significant hole here: is there any way to get notified that this has happened other than polling the DNS?
You might get some ideas by looking at Citi Bike, which is a bike sharing service in NYC: http://www.citibikenyc.com
Well, I guess the DB already has caching logic to keep things in memory. Or otherwise, it is not such a good DB system.
Ostensibly, "control flow hijack attacks" is a recently coined umbrella term for the various standard non-managed memory corruption vulnerabilities like buffer, heap overflows and uncontrolled format strings.

The main target for so-called CPI then appears to be LLVM's SafeStack: http://clang.llvm.org/docs/SafeStack.html
Anatomy of an Attack: How I Hacked StackOverflow (2012)
From Burma to Nagasaki: the man who walked through hell
The select algorithm is described in Robert Pike's "The Implementation of Newsqueak." You may want to take a look at a paper called "Scalable Join Patterns" which is about implementing Join Patterns in C#. Join patterns involve channels. The take-away of the "Scalable" paper is the use of lock-free algorithms.