skysight-inc/HackerNews huggingface dataset:
Use LiveScript.

No, seriously, LiveScript is great and I used it in production already, without any problems. Your first example would look like this in LS:

_.each [1 to 3], (something _, 'param')

where "_" in this context means partial application.

Even better, LS has special syntax for accessing an object method and binding it at the same time, this is a bit of code I wrote recently:

httpify-promise = (promise) ->
# add `success` and `error` methods to the promise, making it into
# $http-compatible one
promise with
success: (promise~then _, null)
error: (promise~then null, _)

Now this is really beautiful and powerful.

I also played with promises some time ago, in Node, where I used q library and LiveScript. Partial application and curried functions from prelude-ls let me write code like this:

read-dir(directory)
.then map (path.join directory, _)
.then get-stats
.then tee (collect-files-into accum)
.then filter (at 1)
.then walk-subdirs
.thenResolve accum

(the whole file here: http://klibert.pl/walkfiles.html)

In short, having support for many higher-level idioms as part of a language, as opposed to library, makes it MUCH more pleasant to work with.
Presumably, the legal product will drive down the price of black market product. If the only reason to buy it illegally is price, then there better be a significant discount.

Putting pressure on the dealers could lead to nasty shit happening (diversification into other products and services, or hostile competition) in the mid term.
This doesn't make existing code more robust. It only makes it orders of magnitude bigger and slower. Nobody will voluntarily run browsers, network stacks, or OSes built with these techniques, it would set your compute performance back 4 decades at least.

As an example, in Adobe's RTMPE (encrypted RTMP) protocol, the type 8 encrypted handshake used an obfuscated crypto routine that comprised 95KB of x86 object code, taking billions of machine cycles to execute. After de-obfuscation it was found to simply be XTEA, which is implemented now in rtmpdump in only 4 lines of C code and executes in hundreds of machine cycles.
Choosing an online IDE will be much the same question as choosing a native application: what are you looking to get from it?

There are heaps of articles comparing different IDEs, but quite often, the question is attacked with a certain bias. Some developers value simplicity; some value turnkey solutions; some value extensibility...you get the idea.

If you're looking mainly for one for you to use, maybe provide some details on what you're hoping to develop in/on/for.

If you're mainly looking for suggestions so that you can compare them (and get a nice one as a side benefit), again do some research, and see if you can find common areas between the offerings, and compare on those. Anything that's not common, treat as either a unique feature/functionality, or as a minus, or as something that might influence niches of developers.
Yes. There is no rational argument against it, only FUD.
That's a pretty fat long tail, if you ask me.
nicee
pieterhg 3 days ago | link

Hi HN! I made this. Here's some info on the data before everyone goes berzerk :)
pieterhg 3 days ago | link

Hi HN! I made this. Here's some info on the data before everyone goes berzerk :)
We are a 3 people company and this is our setup

1. MacBook Air + Sublime + github (major functionality development)

2. Ubuntu + vi editor + Aptana + dropbox (for small edits/backups)

3. Windows 8 + Photoshop (Design)

4. Dell Sutdio 1535 with windows vista - for gaming and porn, well mostly for porn

Technology Stack - RoR

Browser - Chrome

Other software - Thunderbird (emails) + empathy (chatting)

I have found project management and time tracking software to be some what inefficient so have stopped using them.
Amazon Route 53 Pricing for Domain Registration [pdf]
We need 1.
I'd say every country I've been to has been incredibly efficient when it comes to immigration procedures. Except for the USA and UAE, both of which I wasted 3+ hours queuing.
The first of these is still spelled æsthetic in some places. The general convention in US spelling of replacing æ and œ with e seems more jarring to me than other differences in orthography between US and commonwealth English

I can't run the nytlabs thing because a) windows phone, and b) when I try to enter æ I get another character... (potentially see (a))
I see that as a feature, honestly; what other languages have an OO system so massively flexible that you can easily build stuff like this on top of it?

Perl's OO system is often derided as "bolted-on", but once you thoroughly understand `bless` and `->`, your imagination is the limit.
> If the only reason to buy it illegally is price, then there better be a significant discount.

Yes, in the GP quote the discount is 30%.

> Putting pressure on the dealers could lead to nasty shit happening (diversification into other products and services, or hostile competition) in the mid term.

Yes. This was a problem with limited decriminalisation experiments with parts of London (UK) - criminal gangs flooded regions where cannabis was decriminalised; and the rest of the chain of production and distribution was still illegal so minor decriminalisation did not stop people being trafficked into the UK and forced to grow cannabis.
I've always used theatre myself. I always believed that it depended largely on when you first encountered the word in school. If you came of age in the fifties or sixties that was the common spelling of the word. I can even remember movie theatres, pre multiplexes spelling it that way. If you're younger and spell it as theatre then you're an Anglophile;<).
Put it in flight mode while inside the case and take it out of flight mode as soon as it's off. That could automated.
I just wanted to say that even if you don't read this article, this discussion here on HN is very enlightening for people who tend to only use a small subset of git operations in their day-to-day small-team dev tasks (like me).
There is a great (cheesy) explanation of the statistical 'significance' of p-values: http://theconversation.com/the-problem-with-p-values-how-sig...
Attacking is probably the wrong word. It's likely frustration and disappointment.

I get the feeling that the patient and his mother can't really grasp what's going on in their lives, and it makes me wonder whether he was chosen because they knew he was going to be a low-impact first trial patient - in the knowledge that if anything went wrong he and his family wouldn't have the faculties (neither intellectually nor financially) to cause trouble.

Maybe I'm projecting, but I recognize this "vagueness" the author describes from certain patients back when I was a med student, it's not really a great sign if you need people to manage their illness. Getting accurate information from them is difficult and compliance is an issue - just as it's being described in the article.
It's typically spelled aesthetic in American English nowadays (without the ligature). In that one the NYT was a hold-out in the other direction: esthetic never overtook aesthetic in general American usage, though for a period in the 20th century it looked like it might (encyclopedia did definitively displace encyclopaedia). It looks like the NYT wholesale made the ae->e switch around 1920, and then in the case of aesthetic finally realized it wasn't going to happen, and reverted to common usage in 2000.
> What you really should be getting is an RF-shielded wallet for NFC-enabled cards.

And when you do, go with something that shields everything in the wallet. (I bought ID Stronghold wallets for myself and the family.)

Here in London it should be possible to market these wallets with an extra twist. Oyster cards are used everywhere, and for the last 4-5 months I've noticed a constant stream of announcements - "Please keep your oyster and contactless payment cards separate to prevent card clash." An enterprising individual with import and retail experience could tap into this market by selling wallets with one outside - unshielded - pocket for the Oyster card, and everything else inside fully shielded.

People in general don't care about privacy or security, but they do care about convenience. So, by way of introducing a convenient way to prevent card clash, they would also get automatic protection against these drive-by NFC payment card attacks.
My exact strategy for when I leave my stuff in the gym locker or when sleeping in sleeping bags that use metal heat reflector fabric.
As a tangent, I'm still confused by how people think democracy for a government is the best form of government, but that centralized oligarchy is the best form for a business - and also want government to be run more like a business.

I started to write more, but realized that I was mostly pontificating, so I stopped. ;)
I have no idea where you bought your SIM here in Portugal, because you definitively don't need to hand over any ID, and you can charge them on any Payshop with cash.
Show HN: Watch young people present their hacks. YRS
Not available to USA folks.
I would like to see a 'return' statement added to the language, so that:

fun () ->
if foo then return r;
more code ...

is the equivalent of:

fun () ->
if foo then r
else more code ...

Note that type safety would obviously have to be preserved. The returned type would have to match the return type of the overall function.
California Screaming: Why do many residents hate the Bay Area's tech companies?
While I believe in testing, I doubt that the new shade of blue is solely responsible for an extra $200m a year in revenue.
Even if all the testing was done at the same time, the period with the alleged revenue increase was obviously later and during a whole year. So during that year a lot of other things including external market situations influenced the revenue change. Meaning there is no clear link between the shade of blue change and the revenue increase.
Ofc a change of blue worth $200m / year makes a better headline, even if it's rubbish talk.
God: Great Job On Finding My Particle
I prefer that OCaml doesn't support Unicode in the core language, and that it's left to Camomile to support.

One reason is that it's very hard to get it right -- see how complex Perl 5 is which is about the only language that does do the right thing. Another reason is that baking an incorrect Unicode into the language would be worse than the current situation. For examples of brokenness, see: all of Win32, Java, Ruby.

It would be good to remove the broken String.lowercase and String.uppercase functions from the stdlib though.

Edit: Although perhaps your problem was more to do with supporting arbitrary binary in the source files (which instead are encoded as ISO-8859-1). That would be something to fix.
How Facebook Sold Krill Oil
I got interested in FPGAs a few years ago out of a desire to design a toy processor for a Coursera class. I had a similar issue figuring out what board(s) to get, mostly because I didn't know what the number of gates could actually implement. I too ended up with an Atlys board, which is an impressive little beast.

When it came to learning an HDL, I got in contact with several people who worked on FPGAs and learned that most of the experience people seemed to be gaining is how to navigate the development environments. Each FPGA manufacturer has their own environment that only works for their own chips and only supports their own (or partner's) JTAG controllers. Each development environment is completely different and often a design-by-committee mess to navigate, let alone use.

So I continued like most in the direction of my first purchase and messed with Xilinx ISE. I could write pages about this tool (Doesn't support spaces in installation path, 15 gigabyte install, matlab-level licensing even for the free version, on linux first command to run before you use ISE is source settings64.sh, etc.).

Above all that, my primary issue is that while the synthesizing/place-and-route (FPGA form of compiling) work on linux, in the newer versions of ISE that no longer require broken kernel drivers, they incorrectly load libusb, so you have to LD_PRELOAD the library, and even then it only seems to correctly load a third of the time.

(shameless plug time)

I don't think anyone else should have to deal with this crap. I called BS, and started a project I (for now) call "Adapt" to make a tool that runs on all POSIX systems to be able to support all FPGA chips and all JTAG controllers with an easily-extensible code base.

Do note that this project does not synthesize or route for chips, only load the bit files onto the chips. Other work is being done on that.

I am currently working on re-implementing some JTAG controller firmware so the tool can be distributed without proprietary software, and after that I will get back to the core of the project, add testing, and finish the ability to support multiple chips.

http://diamondman.github.io/Adapt/

This project is very much in progress so this is just a heads up for now. However if anyone would like to contribute support for their favorite controller or chip, it would be greatly appreciated.
tai-chi tanglang kungfu.

I learned it years ago and teached it for a few years. Even if I don't practice as much as I should, the moves come back very naturally. An one-hour training makes me happy whatever are the circonstances.
Checked exceptions are possibly the worst feature of Java.

Now it may be a good idea to have an optional tool for checking exceptions -- in fact, one exists already, but I can't recall the name of it. But please don't make this mandatory unless you avoid the mistakes of Java.
Location: Bangalore, India

Remote : Yes

Willing to relocate: Yes

Full Time / Contract / Part Time

Technologies: C++, C++11, C, OGDF, Boost, Java and more.

LinkedIn: in.linkedin.com/in/anujagarwal464/

Github : github.com/anujagarwal464

Resume : On request

Email: anujagarwal464 [at] gmail [dot] com

About Me: I'm in final year of graduation(Computer Science) and actively looking for projects/jobs involving C++, Java or other backend technologies.
Yes, the worst case is pretty bad, both for us and life on earth. We're currently in the middle of a large extinction event, so the biosphere is probably pretty fragile even without the ongoing global warming.

If it "helps", the last time CO2 levels were this high was in the middle of the Permian. 3-4C higher than today, 10C warmer at the poles, and sea levels 5+ metres higher: https://scripps.ucsd.edu/programs/keelingcurve/2013/12/03/wh...
Cute. I wonder, though, is there a reason why the English in the last category is so garbled? Maybe we need a list of types of writer, or editor.
I see no fresh insight in her comments. And this is her full-time job?
Learn Java in just a Couple of Weeks
I compiled list a few months ago, there are also quite a bit of suggestions in the comments.

http://codecondo.com/16-online-javascript-editors-for-web-de...

I hope it helps in one way or another.
Placeit: Place Your App in a Stage
If only Apple could just implement this simple fix in xcode itself...
Making an HTML5 knockoff of Chinese arcade game knockoffs with Phaser
Don't think I've had the pleasure of actually meeting any of those types in real life. It is a joke after all of course, but they do seem more like different 'hats' that most programmers come wear every now and then, rather than static 'types'... /pun
original post : http://www.techrepublic.com/blog/10-things/10-types-of-progr...
One Click to Wrap App Screenshots in a Device Mockup
Android Device Art Generator
It is too bad it doesn't differentiate between cooperation and coöperation.
Nintendo may not like the use of "Mii"...
Am I being naive to think that scientific papers should be written in a way such that people outside the area of expertise can reproduce it? You shouldn't need to be a psychologist to run a psychology experiment. You shouldn't need to be a physicist to run a physics experiment.
Maybe. More research studies would be helpful in making that decision.

Some of the drugs on that graph are questionably "more harmful" that cannabis, does that chart have a source?
Blog -
Google's version includes coöperation, but it has negligible usage: https://books.google.com/ngrams/graph?content=cooperation%2C...

On the other hand it's possible OCR is missing some of those ¨ and screwing up the data.
Yes, that's of course how you should do it if you were looking for something specific. But I'm not, at least not just now.

What I'd like to get from this thread is as many suggestions as possible to compare them, see how they work, and make my own decisions. Probably use one for some project, and another one for something completely different.

I left my requirements out from the OP for a reason.
Jim Simons talks about his career in mathematics
What Is It Like to Be a Brain Simulation?
The Google Books dataset suggests the crossover point was around 1905 in AmE, but not until the late 1970s in BrE (modulo the usual caveats about how their data isn't necessarily a representative sample):

AmE: https://books.google.com/ngrams/graph?content=cooperation%2C...

BrE: https://books.google.com/ngrams/graph?content=cooperation%2C...
HTML5 mockups of popular devices
>> no rational argument against it

People getting injured? Reoccurring flashbacks?
Director: Steven Spielberg
Doctor with Ebola arrives at Atlanta hospital for treatment
Yes - I linked to the source.
PsyFi – Ubiquitous Intelligent Connectivity
That's not the police I know, and I've been living in Poland for 24 years now.
> does that chart have a source?

Yes.

Source: http://www.sg.unimaas.nl/_OLD/oudelezingen/dddsd.pdf
shadertoy.js locked up my Firefox (31 in Xubuntu 14.04).
My problem with FPGA is two fold - I have no idea what to use them for and I have no idea how to use them.

Yet with all these mentions here I fear that I may become unemployable as a software developer if I don't keep up.
It's almost like planned obolescence.

Not if users can reinstall the updates themselves, then it's simply inconvenient. Just like the Palm Pilot, which lost all data when the battery went flat, or when you had to reset it after a crash.
Could you maybe point me to such one tool, i.e. one that specializes routines for given parameters.
Will these tools also perform optimizations that might be possible if the specialization took place?
The point here is that Singaporean authorities, while enacting a huge amount of surveillance, still feel accountable to their constituents and try to make the best use of the data they get.
The attitude that you're accountable for the data you collected and that you actually have to do something useful with it (as in, disease prevention, prediction of future economic trends) seems alien to the US where limiting yourself to fighting terrorists (but leaving diseases, angry US nationals with guns, or stupid people with SUVs on the side) is seen as something perfectly rational to do.
And a central idea of the surveillance state (as we know it through Orwell and others) is that the state (surveillance or otherwise) is not accountable to its constituents, which is a much older idea but should frighten you just as much as living in a fishbowl.
Doesn't this make it an impractical attack in most situations? I've never thought that buying RF shielding cases is of much use for 99% of situations, and this seems to support that theory.

Or should I rush out tomorrow and get one? (Australia, so yep, all of them are paywave, whether you want them or not).
Unfortunately, the demo link doesn't work (http://aarnis.com/demo.html).
Lifestyle choices are the main variable in cost of living...

Expatsian has some interesting data points.

http://www.expatistan.com/cost-of-living/comparison/san-fran...?
Mushrooms, sure, but synthetics I'd say no unless there was a means to produce a quantity and quality of LSD or X akin to seeing the alcohol content written on a bottle of beer.

LSD in particular is no joke, you're relying on word of mouth re: quality and quantity (if they even know, 75, 150, or in some cases 300 micrograms per tab for blotter), and even then you can't be sure it's LSD or some other cheaper-to-produce substance until you yourself try it.

I think the less harm factor referenced in the imgur link has a lot to do with frequency of use. Nobody in their right mind trips everyday for years on end, while many heads break out the bong, pipe, papers, etc. daily.
What does SEIR stand for? I cannot find it explained anywhere.
Wasted – Bought that girl an expensive cocktail?
Purchased a coffee you didn’t really need? Add it to Wasted.
Splurged on a $100 top because it was “on sale”? Wasted.

Bought that girl an expensive cocktail only for her boyfriend to show up a minute later? Wasted.

The Simplest, most efficient way to track money you wasted.
EFF already offers such stickers: https://supporters.eff.org/shop/laptop-camera-cover-set
It's mainly used in Europe. The US has a very similar, but older protocol called ANSI C12. The C12.22 spec includes authenticated encryption, but I'm not familiar with the details.
It might be worth adding [2004] to the title? My wife and I were just in Warsaw for a few weeks, in the exact region he described, and we saw no signs of crime to speak of. We saw very few police out and about, just the occasional uniformed officer at a metro station.
I tried to make an example. 1. I wish there was a possibility to upload next to drag drop 2. The aspect ratio requirement could be relaxed by making it a recommendation and using a
"cover" mode for the screenshot.
I did. I have no idea how many other people have applied though.
I tried all 3 service currently on HN home page, this one is a lead collection service but is the most evolved one, allows uploads for instance. Just wish I could select not one but 3 or more devices at once (like the latest model of each)
Stop asking “How can we hire more women?”
Is this like the Polish version of The Shield?
> ""The patients become contagious once they begin to show symptoms. They are not contagious during the incubation period.""

It still gives them time to diffuse from where they were infected.
What Coursera class did you take that implement toy processor?
Commenter below mentions that it works on his paywave...
Revisiting the “Switch to Android full-time” experiment (on accessibility)
But at least they're much less powerful greenhouse gases than methane itself (IIRC).
Painfully aware.

You do understand what an ever increasing attack surface does?
If you're just worried about your cards, and given the time needed for the attack (as well as unfettered access to the card in that time), I'd imagine the only scenario where it would work currently, is if you leave your wallet out. In this case, even a shielded wallet wouldn't help?

Having said that - how well would just lining your wallet with tinfoil work? (inb4 tinfoil hat jokes)
Nice story, you should write a book about it FAGGOT
Place.to: Create instant realistic mockup of your website or app
I got a surreal feeling when reading about the police reaction. When I lived in Stockholm a decade ago, I called in a few times.

The worst case was in the subway, when a big black guy talked incoherently in bad Swedish and started to beat on the windows with a crowbar.

I shrugged, walked to the next wagon and called the police. I gave up when I realised they weren't interested in hearing which subway line I was on and what time, so they could meet up with it.

At least they answered that time...

The point is, not long after some crazy person killed a few people with a baseball bat or something outside a subway station. I always wondered if it was the same person. (I didn't see any pictures in the newspapers, which implies an immigrant, like the crowbar guy.)

It doesn't matter if it was the same person, a bunch of violent crazy and/or drugged people will destroy others' lives as long as they are outside.

(As I understand, the Finnish police otoh is well respected and trusted. I don't really know about Denmark/Finland.)
Seems like US English was bussy replacing German umlaut characters ä, ö, ü (transcribed in ascii as ae, oe, ue) with americanized version.