skysight-inc/HackerNews huggingface dataset:
Part of the messyness of URLs might stem from the fact that they occur in a lot of different contexts, with very different properties and reserved characters:

- Somewhere within some unstructured text: Here, finding the exact end of the URL is difficult and disallowing spaces can have a great benefit. Even then you can have ambiguities: Does punctuation at the end belong to the URL? What about URLs that are wrapped in <> brackets?

Whether or not it's even possible that the URL contains non-ascii chars depends on the type of the document.

- As a value of a HTML attribute without surrounding quotes: Slightly less ambiguous but including a space would break the HTML parser. The parser works fine with unicode characters however, so there is less pressure for authors to encode them.

- As a value of a quoted HTML or XML attribute, HTTP header or data field: Charset, Start and end of the URL are communicated out-of-band so there is no pressure at all to normalize the URL.

- In the browser address bar: Start and end are unambiguous but there are other concerns: You have to detect if it's an actual URL or a search term, you have to deal with omitted parts (e.g. no scheme) and people WILL input unicode characters. You also want to display unicode characters to the user, except when you don't want to for security reasons. And then users will copy the URL in the address bar and paste them into an HTML document...
How are you turning the user supplied string

Gijs in 't Veld

into the SQL string literal string

'Gijs in \'t Veld'

?

Is your method for doing so guaranteed to always produce a valid SQL string literal which represents the supplied string? Even if the user supplied string contains, for example:

* control characters
* NULs
* non-ASCII characters
* Unicode combining characters
* surrogate pairs

...?

Wouldn't it be nice not to have to worry about that?

Good. Then use a mechanism that lets you send the parameters as data outside of your SQL, such as parameterized prepared statements.
This is certainly a fun way to experiment with microservice ideas.
is this link actually confirmed yet? from what I heard, other nations which Zika has spread to have not seen an increase in the rate of microcephaly.
Be careful even in non-routine cases. The specialist in question may select his patients based on qualifiers that are in his interest. One of them is the likelihood of recovery - high likelihood improves their track record and thus their standing as a specialist.
In more ways than you'd know. They're already pre-backdoored like almost all other chips for debugging purposes in what's called Design for Test or scan chains or scan probes or something. Much hardware hacking involves getting to those suckers to see what chip is doing.

Now, for remote attacks, you can embed RF circuitry in them that listens to any of that. You can embed circuits that receive incoming command, then dump its SRAM contents. You might modify the I/O circuitry to recognize a trapdoor command that runs incoming data as privileged instructions. You can put a microcontroller in there connected to PCI to do the same for host PC attacks. I know, that would be first option but I was having too much fun with RTL and transistor level. :)
This problem isn't specific to Rails 3.1. At some point, your frameworks need to be upgraded, because at some point the developers stop supporting your version. Django announced recently that 1.7 would no longer be getting security fixes. The question is: how much will it cost to upgrade when the day comes? Frameworks and communities that encourage less magic and less dependencies will always be less costly to maintain.
> It's certainly debatable which countries get the best medical care for the dollar, or which countries distribute it to people in the most fair way, or make it most accessible to the poor.

It's not debatable that the U.S. performs relatively poorly by those measures.

> I don't really think there's debate that the US gives the best medical care if money is no object

I've heard people repeat that a lot, but I've never seen evidence of it one way or the other.
Last time I was contracting (around y2k) I was seeing rates as a (then) dev of around £500 a day, but then again y2k itself was a blip. A very lucrative blip :)
Ask HN: How do you read Hacker News on mobile in 2016?
okay - but why not pivot to something that could work, as a backup project? why wouldnt the company diversify when they realized their tech probably doesn't work? they had tons of money . . .
extremely cool stuff
I don't think any of your assertions are true at all.

There are lots of conforming C programs (just look at the huge list of software which compiles on a huge list of platforms).

There are tons of experienced C developers. Who do you think writes all of that conforming software?

And none of this is related to the topic at all.

If you really can't get your head around the simple idea that the portability of the language is different than the portability of some arbitrary program written in the language, then just look at it this way: If you want to write a program in a language, and you pick C, your program will run on more platforms than if you pick Python.

This is true, regardless of any other argument you might raise, simply because Python won't run on a platform until C runs on that platform (since Python is written in C).

We've been over this. Ad nauseum. Please stop trolling.
“Interviews and Instagram” – GitHub is not your CV
"In April, Icahn argued that stock prices have been pushed artificially high by low interest rates, but that economic fundamentals could not support those prices."

That tells me that his bet is actually that the Fed will keep raising rates, which would likely push down stocks.
Impressing an interviewer, especially on technical subjects is largely beyond your control.

However, when sizing up a candidate's potential 'cultural fit', hiring managers still tend to hire people they like.

Being likeable, that is being friendly-- can go a long way creating a favorable impression. Express a genuine curiosity in the individuals you meet with and what they do, ask intelligent questions, try to find common areas of interest.

In sales, they call it rapport building-- it's a practiced skill-- tremendously powerful and underappreciated asset.
It's already been pointed out that Lamborghinis don't make Italy the world's best car-making country. And Lamborghinis are not even the world's best cars. The rich are particularly susceptible to irrational decisions about purchases.
Well, there are some other as well.

TCL works nice as a shell and is very elegant as a programming language. The famous equivalence of code and data is visible here, while still syntactically looking pretty normal.

Scheme (via https://scsh.net/about/about.html) is also worth looking into. S-exp based syntax looks strange at first, but you get used to it rather quickly.

Emacs Eshell is very similar to xonsh, but with Emacs Lisp instead of Python.

On Windows PowerShell is also a choice. It's both a shell and a sane, procedural programming language, with full access to dotNET.

Tulip (https://github.com/tulip-lang/tulip) express goals are to be good for both shell work and programming.

On the other hand, jq (https://stedolan.github.io/jq/) is just a DSL, but it turns out it's ok for doing more advanced work if you're familiar with functional programming.

Not to mention, almost every language with a REPL can be made into a shell/programming environment given enough library support. For example Python with IPython is a very decent shell and I think OCaml with utop could also be.
I presume that the parent is referring to the locations of the Olympic venues around Rio, which are scattered around the outskirts of the city.
Thanks for the bug report. I have seen that happen intermittently but have never managed to find a reliable repro. There's a long-standing open issue on github for it: https://github.com/antonycourtney/tabli/issues/45

I have new release of Tabli pending that will address a number of performance issues, so may resolve this for you. If you DM me I can let you know when it's available.
It is, but everyone can/will have vulnerabilities.
Any reason why? Just wondering.
That's because they're all starting start ups. Day trading is so early 2000s.
I'm heartened to see a distinct lack of 'donut' charts, the scourge of the infographic world.
>> The cost of honey-bee almond pollination services is believed to have risen in connection with increased costs of maintaining hives in the midst of an industrywide overwintering loss epidemic which is attributable to, but not limited to, colony collapse disorder

Note also that honey prices have gone up (almost doubled), as more of those resources are shifted into "growing more bees" to replace heavy losses: http://www.honey.com/honey-industry/honey-industry-statistic...
How does Duolingo make money?
Symbolic Debugging with DWARF (video / BangBangCon)
Yeah, who cares if they hiked the prices up by an insane amount, right? /s
The key with recruiters is to find one that is like you. Read their messages and if they say something that "hits on something" for you, then go with that one. Trust your gut!

The benefit of a recruiter is that you won't have to do the whole "meet for coffee" thing, where the company does an initial check to make sure you don't have any crazy red flags. With a recruiter, you "meet for coffee" once, he vets you (or tells you you have a big red flag), and then does your leg work.

A recruiter is also your negotiator. The money they make is dependant on your salary, so it's in their best interest to get you the highest salary possible. I suck at negotiating, so I really appreciate this aspect of recruiters.

And if you picked the right recruiter and they are open with you, they can really help cut through the bullshit that are most job postings. They'll say things like "This posting says X, but I talked to the CTO and he really just needs someone to take a functional spec and build an interface out of it".

Without a recruiter, you'll need your wits about you, lest you end up being deceived by a flowery job posting. And you'll need to have confidence and a firm understanding of your abilities so you can negotiate a good salary. You'll have to pour through job sites and you'll submit the same application form over and over and over... It's tiring.
There can be a single pathcompd service that does ipc too. Or maybe that can be left to readline, etc. I don't see why a command interpreter should do line editing/path completion in and of itself.
There are still some incidents that happen from time to time. In Geneva I've heard of someone going out for a smoke from a hotel accros from the main train station, and getting everything robbed; I've also heard of someone being beat up to the point of loosing an eye in Nyon (a town near Geneva). We also had the famous case of a guy who picked up hitchhikers, assaulted them before killing and abducting their bodies. Did so 11 times before he got caught [0].

[0] https://fr.wikipedia.org/wiki/Michel_Peiry
This logo screams fear of Snapchat to me.

Bold gaudyness has always been Snapchats brand touchpoint, this is what made it feel edgy and interesting. Instagram was always a twee retro appeal reminiscent of polaroid cameras.

This change feels completely at odds with what their brand is and looks utterly ridiculous next to the type logo which is still written in that kitsch font that reminds me of 50s Americana.

This is going too far too late and I wouldn't be shocked at all if within 3 months it's rebranded again.
Disclaimer: I've used recruiters to find every job I've had other than the first one.

> I'd rather talk to a company directly.

Why? What benefit do you get from that? You're not like to negotiate a higher salary than you would without the recruiter, and you're not in a better position to get hired either (over the total spend of an employee's lifespan the recruiter commission is a drop in the bucket). Some companies I've worked for place candidates they receive through external recruiters higher than self-selected candidates because they've already presumably gone through some sort of screening process.

A good recruiter will understand what you're looking for and won't put crap in front of you. That doesn't mean you'll get the perfect hand-picked job, and they'll probably challenge you on some of your assumptions, but if you're a .NET developer they're not going to try to get you to take a PHP job.

But here's how I generally go about looking for a new job:

1. Email bosses I've had who I would want to work for again and let them know I'm on the market. Just a quick "Hi _______, I wanted to let you know I'm ready for a change from my current environment. If you hear of anything I'd love to take you out to lunch and discuss the opportunity." LPT: They will buy the lunch 95 out of 100 times :)

2. Email recruiters I've used in the past and send them an updated Word resume, salary/commute requirements, and what I want v. my current job (bigger, smaller, different sector, whatever).

3. If I'm very gung ho I will go on Ladders, Indeed, etc but the above typically hasn't taken very long to find something.
You can learn more about the reasoning and process behind the new design here: https://medium.com/@ianspalter/designing-a-new-look-for-inst...
...it does. You don't add them all.
Yes so I just wanted to get it populated with some data then if any users come along allow job posts.
How to use SASS with Go
It is not a coup, this is allowed by the constitution and has the avail from the supreme court. I'm Brazilian, and only the worker's party and their followers call it a coup. The majority of the people want the removal of the current president due to its inability to run the country.
You honestly did not read my comment, did you?

Tell me, when are you going to find the time to visit the library or these free schools (which do not exist everywhere, only in a few places) when you're working two jobs trying to make ends meet?

Further, the amount of money an American has compared to an Indian IS NOT RELEVANT IN THE SLIGHTEST. It's called "cost of living". Look it up. $15k buys you a fuckload of stuff in India. Look at how much it buys you in the US.

Seriously, you have no idea what you're talking about. A high school education is available to all Americans. That's it. And high school education does not translate to high wage jobs. One needs higher education for that, which is not available to all Americans.
This topic was about GCM specifically, which, since it goes through Google servers (unlike, say, my arbitrary browsing, or the network profile of my arbitrary apps), is directly available to Google.

Speculating that Google may have access to my full network profile is a little off-topic, but yeah, if they did have that data, they could certainly do similar analysis on it.

Did anyone say they couldn't?
I introduced React (alt as flux implementation) to a C# shop that develops internal tools within a large enterprise. We had one application before in Angular but people seem to like React much more and the uptake has been fast.

DI in Angular 1 feels different than in C# land and is mostly used due to a missing module system. That exists these days and that makes it easier.

Routing is the same. Most modern Angular guides even recommends you routing to directives and pretty much using them as react components to prepare for Angular 2.

But the biggest thing about Angular is that you need to learn tons of things that are NOT familiar to a .NET developer. scope, transclusion, different types of bindings (represented by strings ...), template language etc.

If they are not feeling familiar enough with the web to learn React then I don't think they can create a large angular application without creating a mess either.
As a software engineer, I rarely use the algorithmic computer science stuff. It is useful to know (and it is a requirement for my job occasionally), but the only times I have ever had to implement a sort routine were for interview questions or exams.
why do most people only see the extremes?

you don't have to use bleeding egde libs instead of rails...

hapi instead of koa

react instead of cycle

ember instead of react

etc...
One of the actual uses for LinkedIn.

Generally you probably want to work for people you like and respect. If you know some people like that, then finding out how to reach them on LinkedIn is a good way to let them know you are interested in working with them.

Sometimes they won't be interested in working with you, its a fact of life and you have to let that go. Sometimes they are open to the idea but they don't have any budget. And sometimes they will get you interviewed and move you over right away.

If you are in the "any job but this one" mode, you are at a disadvantage. If you don't know what you want to be doing then people will have a harder time knowing if you would work out well in their position. Its painful when there is a job available but you know it isn't what you really want to be doing, do you suck it up and work there because its a job? do you turn them down? Depending on your financial status it can be a very tough call.

When folks ask me "should I look for a new job?" I have two pieces of advice regardless, one is that you should always be considering new opportunities, and two you should think about what you jobs you like doing while you are not under pressure (say being unemployed) because it helps you be more honest with yourself on what you like and don't like.

Recruiters can sometimes get your name in front of a manager at a company you want to work for when you don't know anyone there. But generally their value is more to hiring managers than the people they represent.
Play Daybreak, the 60-second daily game and predict the news
The number of websites with this issue is so small that in my 9 years of crawling the web, I'd never noticed the issue.
Lol indeed. I witnessed a lady with huge shopping bags in Bloomsbury getting her iPhone stolen from a bicycle. The guy acted like it was the most normal thing in the world, just snatched the phone while speeding down a cycle lane. Tons of other cyclists around, going as fast as this guy, and nobody cared.
Yep, same here. Our build system uses multiple repos (and now you can have as many as you want!)

This is shortsighted on their part, I hope they pay attention.
The Bro Network Security Monitor
Markets crave financial stability and Trump is impulsive and seems to either not understand, or not care, about the long-term effects of the policies he mentions.

One example is his plan to get Mexico to pay for his wall, which involves holding hostage the wire payments that flow from people in the U.S. to their relatives in Mexico.

Financial institutions make money on those payments, but from a broader perspective the concept of holding capital flows hostage to policy ideas is deeply scary to Wall Street.

What if Trump decides that capital from Middle East sovereign funds will be hindered until they pay a greater share of the cost of fighting ISIS? What if he decides to hinder capital flows from China until they let their currency's value rise more? Etc.
It actually tends to work a lot better. You almost never actually need metric granularity so fine that push is necessary. If you do, your usually using a purpose built tool for that. It also saves you from accidentally DOSing yourself when someone starts unexpectedly emitting more metrics than you can ingest (due to bug, more traffic, etc). All doable with push based systems but they tend to end up using queues or something to compensate which is its own kind of pain.
What do you mean it's Visual Studio?
A Better Way to Read
(I was curious what the status was so searched)

The CDC has weighed in:

http://www.cdc.gov/media/releases/2016/s0413-zika-microcepha...
Duct tape.

With a large enough roll you could rule the universe.
You guys are awesome and doing fantastic work. Thanks for the inspiration and for open-sourcing an amazing product!
Using my phone's web browser (in my case, Safari). The only thing bothering me is I can't collapse comment sections. Otherwise, it's fine.
Because none of those circumstances are important. There is no way you can say those circumstances justified what happened. None.
http://journals.plos.org/plosntds/article?id=10.1371/journal...

"Historically, adult human infection with Zika virus has presented with mild, non-life threatening symptoms in 20% of infected patients, with 80% being clinically asymptomatic during initial infection."
Wow, what's wrong with what I said...
Or you could read the news...
There's also Ivy Softworks' Atlas (atlas.co). Similar logo, too.
This is for fellow contractors where we take a day rate rather than your usual permanent yearly salary.
Since this is something new we're trying for the S16 batch, we'd love to hear feedback. Is there any information about the companies you'd like to see? Formats you'd like to see us try?
Ask HN: Who would you hire, AppAcademy vs. MakersSquare vs. HackReactor grads?
What do hiring managers think of graduates from these bootcamps relative to each other?

To be clear, I'm asking for a hiring managers opinion on the COMPARISON of graduates from each of the bootcamps. NOT whether the bootcamps are worthwhile overall.
Pass new important law

Hold press conference about it and pat self on back

Fail to enforce the law uniformly -- or at all

Shield politically-favored violators of law

Get re-elected because you're tough on crime

Society remains unchanged
Considering the number of olympic athletes from these countries, what evidence there is that these numbers will increase?
>> How are you turning the user supplied string into the SQL string literal string? Is your method for doing so guaranteed to always produce a valid SQL string literal which represents the supplied string?

Yes. This is trivial. Any self-respecting junior programmer should be able to write this routine.
UberPOP suspended in Sweden: “taxi without permit”
I think a poll is better suited for this question.
Atm just hit and hope but depending on users I can build deletion checks etc.
Your comment seems to be contradicting itself. You say that looking for a recruiter is wasting time, but a recruiter is the best choice. Which one do you mean?
One of their mascots is the unicorn.
Wikipedia Dominates Among Smartphone Users Looking for News and Information
I beg to differ. Hiring is hard. Internal recruiters play an important role in helping your company grow. For technical recruiting, recruiters are essential if you want to grow your eng team beyond single digits unless youre prepare to have one or more engineers devote their full time to fielding applications and screening candidates.
PostgreSQL: "postgres"
The assumption here is programming in some way is special.

What's actually special is building things. While in school, my school principal had our school host science and art exhibitions every year. We would routinely attend other science and art contests at other schools. The common pattern there? You will see the same 10% population in every school participating everywhere else.

To break this pattern, our principal bought in a concept of team work, basically to pair up 90% people with the participating 10%. It was a colossal failure, apart from the fact they were teams on paper, it was essentially those 10% people doing all the work while everybody else in just for the participant tag.

The issue here is human behavior and psychology. The assumption that merely teaching programming will likely build master makers, automation identifiers out of every school. In reality a bare regular 10% of the kids are likely to have the motivation and discipline to see things through.