skysight-inc/HackerNews huggingface dataset:
The short answer: Use the version of `request` that takes a `URLRequestConvertible`, and specify the header fields in that.

The long answer: Custom headers on a per-request basis are a bit of a red herring, from an API design perspective. In reality, most use cases boil down to one of three, which are taken care of in other ways:

- Default headers, such as `User-Agent`, are specified in `NSURLSessionConfiguration -HTTPAdditionalHeaders`.
- `Authorization` headers, which are handled by `NSURLCredential` and `NSURLAuthenticationChallenge`.
- `Content-Type` headers, which are handled by `ParameterEncoding`.

This is why Alamofire is designed the way it is.
DHL begins drone delivery in Germany (real, not a joke)
being denied german citizenship sucks for you, but with that last-name it's remarkably ironic.
I know what you're saying with Wordroid. You'd find a good one eventually, but it's incredibly time consuming.

As for as second technique, my point was you don't need to use related keywords. Use extremely common words. Animals, plants, foods, colors. Maybe jam a number onto one. Here's a tool to do this. http://watchout4snakes.com/wo4snakes/Random/RandomPhrase

Generate an Adjective-Noun or Noun-Noun. Here are some examples I ran across:

Fourth Asylum

Coding Helium

Young Uproar

Tedious Headline

Hungry Virus

Not saying any of these are great, but this is the kind of name I'm talking about. These might sound ridiculous to you, but if you actually look at tech names, they're often meaningless or incomprehensible. When someone searches for one of these ridiculous names on google and finds only you, that's when the name shines.
You may have missed

> To get your chance of winning down to a coin toss, or 50 percent

If it takes 86 million tickets to get a 50% chance of winning, the odds per ticket must be somewhat worse than 1 in 86 million.
What sort of data are you collecting?
Google could really pay for it. After all they're the copyright holders.

A lot of smaller OSS without coporate backing really need better docs.
How to explain it? is it an addiction that grows slowly, or is it a consequence of people being dissatisfied with their lives. I also wonder if cannabis, when fully legalized, will replace alcohol as our "drug of choice".
Actually it is. Or has the internet done away with the concept of law of the land?
I'm not a cocoa developer, and I don't really know who matt is, or what library that may be ;). Once I'm a seated cocoa developer I probably will though, but then my general point no longer really applies.
As far as I can tell BrowserSync tries to have a little more generic approach and as a result reloads with a regular livereload script, thus triggering html site reloads while Takana (as I mention in another comment) only reloads the css file that changed.
yep and in the Uk working in the Uk most banks refuse to do business with you - so no tax free ISA for you Buddy.

It's extremely unfair to US Expats.
GE was involved? You don't say. Every single CFL at my local grocery store is a GE product.
FBI in talks with Apple, Google over device encryption policies
How could you not have known about this? I knew about this before I went abroad, soon after I graduated from university, and I'm not a sophisticated person about most tax issues.
You are forced to have a Google account to use Google Play.

Once you have a Google account on your phone it is privacy game over.
Note that this cartel would have been impossible without patent protection.

In fact, this seems to be a purported feature of the patent system, not a bug -- to give inventors monopolistic control of a market for several decades.
This was in the 1920s. Modern incandescent bulbs aren't sabotaged.
Whoa, first off, I'm responding to the use of "corrupt" instead of the more accurate "Monopoly". Second, while I don't personally agree with Thiel he raises an interesting point about monopolies - primarily that freedom from commodity competition allows them time to innovate (a la Google). His point is that there are three kinds of monopolies (unethical, govt sanctioned, innovative) and that the innovative kind may not be so bad - kind of like a benign dictator.
> Hadn't heard SBCL was particularly fast

What did you think was particularly faster than SBCL?
By "humanize transactional email", they mean "make spam more effective". We're going to need filters for transactional emails that filter out the spam part.
I'm not sure about this conclusion with regards to alcohol:

> The Pareto Law states that "the top 20 percent of
> buyers for most any consumer product account for
> fully 80 percent of sales," according to Cook. The
> rule can be applied to everything from hair care
> products to X-Boxes...

> ...But the consequences of the Pareto Law are different
> when it comes to industries like alcohol, tobacco, and
> now marijuana. If you consume 10+ drinks per day, for
> instance, you almost certainly have a drinking problem.
> But the beverage industry is heavily dependent on you
> for their profits.

If you're having ten drinks per day you're almost certainly going to be drinking the cheap stuff, not the high-profit-margin luxury alcohol brands.

There's probably more profit in a single bottle of Johnnie Walker Blue than an entire month's supply of the cheapo local beer that's chugged by an alcoholic.
Because the average user doesn't even know what a web browser is, they just open up "the internet" on their phone. They are not going to change something that they're not even aware of. It's also demonstrably true that the average user doesn't know or care about privacy enough to make this choice anyway. You don't have the resources to change either of these things.

So, disregard the average user. Market this as a paid product which offers a superior web browsing experience for the technology connoisseur and the privacy concious. These people, on average, have a lot more money, are easier to sell this product to, and don't mind paying.

Another reason to just charge money for this is that this provides assurances about your income stream which should mean that you are less likely to consider anti-user practises in order to generate income at some point in future.
There isn't a Terrible Racism Bandit that has stolen money from minorities, preventing them from attending Hacker School. It's the specter of racism.

The fear that, say, as a Cuban-American, your boss -- the person responsible for your professional development -- might make a whitewater rafting joke at your expense. You know this type of shit is commonplace in tech, and thus you think twice about furthering your career as an engineer by attending Hacker School.

This might seem trivial to straight white guys. This is because they have not experienced first-hand what it means to advance in a socioeconomic system that was built on centuries of slavery and over 140 years of disenfranchisement because they have never been part of that group.
> Was there any reason why you chose callbacks over a Promise-like pattern for the async responses?

Deeply-nested networking callbacks are a code smell, and I find that promises often do more harm by hiding those smells—or worse, obscuring the flow itself. In practice, Alamofire is mostly going to be single or at most nested two levels deep anyway.
Um... what?

The display is fused to the glass.
The battery is glued to the case.
Are you double taxed? Many countries have reciprocal taxing agreements with the U.S. whereby you get credits for foreign taxes. That's how it worked when I was a U.S. citizen in Canada.
Haha, lucky numbers. The things gamblers will tell themselves.
I had some trouble going from section 2 to section 3, but I found that by clicking on the number 3 in the header I could progress.

I agree. Great story, terrible scrolling.
I'm not sure about undergrad hires (analysts) but business school hires for banking has been trending down in the last couple of years (anecdotally). At my program (a US business school), banking has gone from being the most coveted industry a few years ago, to #3, being replaced by consulting or roles in tech (product management, marketing, entrepreneurship, operations).
I'd also recommend KDB+

I find my code very clear and readable in it.
I assume the book goes into more detail about the actual economics behind the ideas. It would be silly to turn discussion about this hype piece into a pseudo-intellectual argument over methodology we haven't read.
I can see how it could be worrysome. Playing around with a food network could result in unintended consequences. A couple of searches:

"Glomerella cingulata (sexual version of the fungi they want to spread) (...) causes disease on many different hosts including quince and apple..." [2]

"The United States is the second-leading producer (of apples), with more than 6% of world production. " [3]

Link to article [1]

[2] http://en.wikipedia.org/wiki/Glomerella_cingulata

[3] http://en.wikipedia.org/wiki/Apple

[1] http://link.springer.com/article/10.1007/s10526-011-9399-x#p...
Javelin still has a simple innuendo back into it's roots ;)
Here is an SVG of it, in a less-goofy orientation (doesn't look like a creature anymore): http://bit.ly/1rorkXl.

EDIT: Here are the other iterations: http://imgur.com/a/kVDox#0

Anyone may use them as they wish.
You make some good points, and I agree to caution against names that bear no semantic relationship with their purpose. My justification of Alamofire is that it reflects the history of the project, which traces back from AFNetworking to Gowalla (formerly Alamofire, Inc.), the product for which it was originally developed.
I had the same with LB (also N5) and just started using Flynx. Much better experience so far. It's free too.
Appeared at https://news.ycombinator.com/item?id=8365211 but didn't get much discussion.
Here's a pretty good dual citizenship FAQ compiled over the years by Rich Wales:

http://www.richw.org/dualcit/ - start here

http://www.richw.org/dualcit/faq.html - the meat of it is here
Streisanded.
A question worth asking: how long has this been exploited? If you have years of Apache logs, go back through them with "grep" and look for attempts to exploit this vulnerability. Report the earliest date on which you find a hit. Thanks.
I interviewed at ToyTalk when they were first starting out. Oren and Martin are both incredibly smart (both for what they build and for not offering me a job).

I love the combination of storytelling and technology that they've been building.
UNC professor says black holes can't exist
Thanks for the recommendation Sylvain! Yes, we've been busy improving our data over the last month. Give it another shot - I think you'll be pleasantly surprised.
What? Transactional emails are by definition not bulk emails. They're sent in response to an event, like when you've requested a password reset or when the system warns that the CPU is on fire.
Introducing: ShockPot the ShellShock Honeypot
Did a Cycling App Contribute to Bike Death?
That's not true. The rule calls for changing the headline when it is misleading or linkbait. "Think you drink a lot? This chart will tell you" is arguably bait because it uses the "you" trick and the "this" trick.
It has been unnoticed for 23 years, because IT IS NOT A BUG! It is an admittedly misconceived, FEATURE!

It is a feature that has existed since the beginning of bash it seems (the oldest tarball on ftp.gnu.org already has it), and its user interface is documented under the -f option of the export built-in.
Those "benefits" basically amount to an easing up of the legacy airlines' prison-camp style. Why would one want to reward that instead of simply choosing the airlines that treat you more like a person to begin with?
One whistleblower gets $30m, but others count the personal cost
Yes, LLVM is awesome. Clasp uses the inlining LLVM provides to inline C++ code within Common Lisp code by generating LLVM-IR bitcode files from C++ source and linking them with Clasp generated bitcode files and then running them through LLVM module and function optimization passes. I'm really excited about combining the CL specific optimizations with the ones that LLVM provides - stay tuned.
The oldest (mostly) continuously running light bulb was made in my home town. https://en.wikipedia.org/wiki/Centennial_Light ... It is featured also in a documentary about "planned obsolescence" quite prominently.

I think it is well known that things that are made well and do cost a little more are available. This reminds me of a guy who shows how to counterfeit his own product - http://kottke.org/14/01/how-to-make-a-fake-bag

Some things however we've all seem to accept, like light bulbs, razor blades, etc, and its a shame. On one hand, having a newer product that may be better more often is good, and having a lower price for a product that lasts even temporary is also good, but it would be nice if there were more choice, and more awareness, of these kinds of issues in our markets.
Is the compacting garbage collector mentioned in the article not a proper moving GC? I am not familiar with it.
Not to be confused with Branch, the social discussion platform: http://branch.com/
Sgrep: a text query utility – examples
I havent used Blueflood, so I couldnt say but it looks like an interesting project.
I agree that something more generic and less-Django specific has a lot of appeal, I'm just not sure I know exactly how to pull it off.

Our experiment in the post is based on our previous packaging experience, which is largely limited to pip and setup.py.
I didn't realize this either. In fact, we just moved to graphite :-(
Psychology of Computer Programming: Conquering the Imposter Syndrome
A Tale of Nagios and the Bash Vulnerability
As described, the cartel sounds more like a "conspiracy" to help customers by providing a better standard of lightbulb (in terms of brightness and efficiency) rather than to hurt them.

Despite the existence of fines for factories producing longer-life bulbs, quotas, and remarks such as 'This, you will agree with me, is a very dangerous practice and is having a most detrimental influence on the total turnover of the Phoebus Parties…. After the very strenuous efforts we made to emerge from a period of long life lamps, it is of the greatest importance that we do not sink back into the same mire by paying no attention to voltages and supplying lamps that will have a very prolonged life' from people like Anton Philips?
Oddly, the ones I abuse the most -- leaving them outdoors in enclosures, frequent on/off -- have lastest the longest, and those I've simply put in normal sockets have failed the quickest.
Here's a post I wrote that encapuslates a lot of these responses:
http://www.huffingtonpost.com/michael-morgenstern/ello-isnt-...
I love dat, and find its broad promise very appealing though I'm not sure exactly how to pull off all the blocking and tackling necessary for our project limited to its framework.

In addition to downloading the daily file from the state, the file has to be unzipped and transformed before it's ready for loading. Any advice you have would be appreciated.
There is research on glare effects going on but it’s more expensive than camera artifacts (~10ms). http://resources.mpi-inf.mpg.de/hdr/TemporalGlare/
Remember that KDB is based on K, which stems from APL, which relies on symbols rather than words for its functions.

Coming from that background, C and especially C# must seem extremely verbose.

For example (from Wikipedia):

In K, finding the prime numbers from 1 to R is done with [0]:

(!R)@&{&/x!/:2_!x}'!R

And APL[1]:

(~R∊R∘.×R)/R←1↓ιR

Its truly awesome stuff.

[0]: http://en.wikipedia.org/wiki/K_(programming_language)
[1]: http://en.wikipedia.org/wiki/APL_(programming_language)
i've not been paying a lot of attention to golang because it never seemed to solve a need i had, but the recent discussions around the blogosphere about how well it does cross-compilation have got me excited. every time i've tried compiling ocaml code on windows it's been a horrible experience.
Ah I didn't realize the link to the AF in AFNetworking.

For what it's worth, I do love how the name sounds :)
How to use Meetups to grow your business
I don't think this mobile browser is going to make a dent in The Verge's ad revenue.
I was talking about laptops, but thanks for proving my point :)
Absolutely a fantastic tool - well done, and thankyou for existing! Very happy I can depend on you sticking around.
Amazon confirms that EC2 reboots are due to Xen issues
OS X doesn't use Bash for configuring DHCP, so it's not vulnerable. All of that is done in the kernel on Macs.
Women Are Just 'Like Men, Only Cheaper'
Is the Internet on fire?
here we go:

http://www.discoverseaz.com/Wildlife/Tumbleweed.html

"However, anyone who is fond of birds, small mammals, and deer owes a debt of gratitude to the tumbleweed, which provides sustenance for many such animals. Among the desert dwellers who eat tumbleweed seeds, foliage, and stems are Gambel's quail, ground squirrels, pocket and white-footed mice, prairie dogs, kangaroo rats, and mule deer. "

and

http://cals.arizona.edu/mohave/master_gardeners/kingman/arti...

"The main reason the tumbleweed survived is agriculture. In the American mid-west, the tall
prairie grasses would have made it impossible for the tumbleweed to roll any distance. As time
passed, the grasses were replaced by ploughed fields. "

Well, now we sure the killer fungi will be the right solution we've been waiting for.
What's with the red ball always rolling by in the RethinkDB videos? :)
Ask HN: Place for investors to review ideas before they're built?
Hi HN,

The hardest part sometimes about coding a great idea is deciding if the idea is viable or not.

Is there a place somewhere where I can describe the idea and how the solution/service compares to what's currently available and get some feedback from professional investors on whether or not it's viable as a business?
Privacy concerns send Koreans fleeing to Russian messenger app
FAA approves use of drones for film and TV production
Here is an SVG of the earlier black-and-white computer-hit-by-shell logo: http://bit.ly/1rorkXl.

Feel free to use as desired.
Samsung Had the Product a Year Ago
Incandescent light bulbs are cheap. The cost of the electricity over the lifespan of the bulb is much greater than the cost of the bulb. If the cartel was reducing bulb lifespan by making it run hotter thus producing more lumens per watt, then it was actually saving the consumers money by allowing the consumer to select a lower watt bulb. In fact, even today most standard incandescent light bulbs are rated for 1,000 hours or less.
Exactly this; transactional or product based emails are baked into every web service or mobile app you use today. People depend on them for information they want, but the content shouldn't be owned by a developer. That's our goal :)
Probably because they knew Ruby and it doesn't always make sense to pre-optimize unless you know there is demand for your product.
But 1/.FF = 1.01010101..., not 1.02030405... .

(Multiplying the RHS by FF gives FF.FFFFFFFFFF etc. = 100. 1.020304... is 1/(.FF)^2.)
I seem to recall there is an issue with CFL bulbs that has to do with ambient temperature. Recessed sockets get hotter, and shorten CFL life considerably.
I don't see why we couldn't do this. emscripten (https://github.com/kripken/emscripten) says it takes LLVM-IR to JavaScript. The Clasp (Common Lisp) function COMPILE-FILE compiles to LLVM-IR bitcode files. If you have some time and you would like to do this - hit me up with an email - I'd love to make this happen.
Occam's Razor: They forgot a zero, they meant 200%.
iOS systems are not vulnerable unless jailbroken. There are no shells, let alone bash, present in the iOS system.
I was afraid this would happen. Either they will back down on these policies, or worse, they will make the moves to make FBI happy behind the curtain, while promising everyone they still made the changes to protect your privacy.
There's a catch to that that not many consider: the likely number of winners, which divides the jackpot and reduces the expected value per-play. The number of likely winners increases with the number of tickets sold, which increases (dramatically) with the jackpot beyond a certain threshold.
To me, including "mobile-first" as one of your key value proposition seems a little odd.

My immediate reaction was to wonder whether any mobile browsers aren't mobile-first? From my (incomplete) knowledge of smartphone browsers they all feature interfaces designed for smartphones and smartphones alone.

There must be a better word to use in your tagline - I notice you decided on using "Truly Mobile" further down ;)
If a non-disadvantaged black person is not better off than a disadvantaged white person, why do you want to favor them?

That's the core question and it's a normative one. If you give me a positive answer (e.g., citing statistics about group averages) you are ignoring the question. Telling me about group averages does not address this question at all.

I am asking what normative principle you are using to derive your normative claims like "it's ok to discriminate against disadvantaged white people in favor of advantaged black people".

http://en.wikipedia.org/wiki/Normative

http://en.wikipedia.org/wiki/Positive_statement
Alright so necessary conditions are "sets env variables" + "invoke bash". That clarifies, thanks.

I'm not advocating not updating, I'm just trying to understand what to do with this info for say, my hosted project that _doesn't set env vars nor invoke bash_.
What will be virtual reality's killer app?
Yeah. I'd suggest that most "interpreters" today consist of a compiler and a virtual machine that runs those instructions. Historically, the earliest interpreted languages had a parser which immediately executed whatever it discovered, like BASIC, where each line was an independent statement that was parsed and executed.

It didn't take long for this to prove itself to be terribly inefficient.
Freemium advertising package
My name is Asif from Reduce Data (http://reducedata.com). I am trying to create a mixpanel style freemium advertising offer for startups. One that gives them $X worth of credit each month in return for a badge being placed on the site.

Question: What would startups like X visitors or Y worth of traffic?
If a performance gain improves the user experience by either making your product faster or by expanding the ceiling in which you can introduce new features, then yes, the decision can be based on that metric only.

I can appreciate many of the points you made, but programmers are happiest when they can eat, and happy paying customers can put food on the table :)
It's hard to say, considering they don't mention how they pay for expenses in the manifesto..
5 Tips for Networking Like a Rock Star
This implies taxes are fair, that paying taxes is a requirement for voting, like buying your voice, and that voting would give any benefits in return. Yes, of course it is fair to vote when the vote could indirectly decide laws that make you a criminal in some way or another and no, it is not fair to be taxed, especially if you don't use the majority of infrastructure that taxes are supposedly needed for.

I get where you are coming from, sure there are arguments for it, but it's not like there are none against it, either.
I doesn't find it trivial at all, I simply fail to see how giving them money to help them attend hacker school will stop that boss from doing that joke...
Disabling all CSS makes the article very readable. Welcome to the modern web!
I wish every software project had a FAQ like this: http://rethinkdb.com/faq/
Where do you get that? I'm more than a little confused.

The top 10 percent of American drinkers - 24 million adults over age 18 - consume, on average, 74 alcoholic drinks per week.

Title at the time of this comment:

Top 10% of American drinkers consume, on average, 74 alcoholic drinks per week
This is an interesting article. Especially as it reflects some of the unspoken assumptions among programmers.