skysight-inc/HackerNews huggingface dataset:
Ok, fine, but an Idea can save you from having to retype whatever your're searching for into a browser, plus semantic awareness.

For example, I'm currently editing a python file in IDEA.. I can easily, with one (chorded keystroke), see the definition of any symbol in my code, wether it be a local variable or a module. Similarly I can easily pull up docs, find any other usage of that symbol in the current file, etc. There is also high quality linting going on all the time, that will highlight things like unused variables, pep8 violations, etc.

Can you do all of this in VIM? Probably, but only with substantial effort.

As far as refactoring...IDEA goes way way beyond what you can do with grep.

For instance, say I have a function foo:

def foo(x):
return x * 2

foo(3)

This is a trivial example, but just go with it.

What if I decide I need to multiply by things other than 2... fine,

def foo(x, y):
return x * y

foo(3) # Ooops, syntax error

Now, I can add y as an optional parameter,

def foo(x, y=2)

... and that way I don't break code I've already written. But that may not be what I want - maybe I want to force callers to explicitly specify both parameters.

That's what refactoring comes in.

Refactoring -> Change Signature (Or just hit Ctrl+F6)

Now, add a new parameter, y, with a value of 2, and now any existing calls to foo across my entire project will have a second parameter of 2. No grepping or manual editing needed. This works reliably over a huge codebase with hunderds of files. Lets see you do THAT with grep. That's just a trivial example.

I can also easily extract a bit of code as a new function, and IntelliJ's code analysis will detect any values I'm closing over and default to those as the function parameters, and replace the original call site with a call to the new function. Again, totally useful, painless, and not doable with grep.
There is this, but it's not particularly mature: https://github.com/mauricio/postgresql-async

I also use https://github.com/etaty/rediscala for accessing redis.

But even without async drivers for MySQL, you can still do:

val sqlResult: Future[StuffFromSql] = future {
val stmt = connection.createStatement("...")
...
}

This will tie up a thread, but you can still run other actions in parallel with it.
@bkor (cannot reply directly), What happens when another init takes it's place? The code in question would be riddled throughout with bugs and assumptions.
Unfortunately, it's way to easy for a select group to ruin an article with their negative and factually incorrect comments. In particular for a science site, I think comments should be restricted, at least from anonymous drivers-by.
And almost 100% of public libraries offer recipes for bombs, nukes and murder to terrorists and teenagers.

The horror
Ask HN: How does one get into energy entrepreneurship (e.g. solar)?
Say I want to manufacture/sell solar modules to buildings in my city or something like that. Where would one get started? Background/theoretical knowledge is an obvious starting point, but then...?
For readability nothing beats BASIC. I sometimes wish that BASIC had taken off rather than being allocated to niche environments like VBA etc. It just wasn't powerful enough and in order to make it more powerful it was kind of bastardized into something almost unrecognisable form its origins.
http://en.wikipedia.org/wiki/Ada_(programming_language)

It has built-in language support for explicit concurrency, offering tasks, synchronous message passing, protected objects, and non-determinism

It's also designed specifically for embedded and realtime applications.
There's a small chip in real lightning cables, which possibly includes some authentication information. Cloned lightning cables may be identified by this chip not reporting a serial number properly, I don't know for sure.[1]

If they didn't allow charging with non-Apple cables the hue and cry would be deafening. The warning is there to cover themselves in cases like that lady who was electrocuted by a 3rd party charger.[2]

[1] http://www.cultofmac.com/196148/the-security-chip-inside-app...

[2] http://www.scmp.com/news/china/article/1283818/woman-electro...
Why I'll never ditch my Blackberry
I'm a vfx guy and used to work at ILM (lucasfilm). This title is incredible misleading. Tech to "previsualize" objects "in camera" has been around a long time and is in pretty wide use. Avatar used it very heavily, for example.

It's important to realize that what happens in post is a whole lot more than making a 3d object and placing it in the scene. We do a lot of integration work in 2D by hand to match things like color, edges, etc. There's massive amount of simulation work on water, fire, etc. Sometimes people straight-up paint on film frames in things like photoshop.

The big win with real-time visualization is the creative control for the direction and director of photography, who are generally far removed from the final product and this can cause expensive second-guessing all around.

Lastly, it's a bit condescending to artists working on games to suggest that the painstaking work that goes into making/optimizing/QCing interactive content is something that can just happen on the fly. Sure, game engines and hardware are pretty great, but games themselves are more and more realistic because very specialized people are working very hard to make them that way.
> Easy Jet's T & C do not override EU regulation. If they don't get you there,reasonably timely, they owe you compensation; period.

Clearly :)
No, the plotting is all done in geographic.

That's just the shape of TN's border. It's not a straight line in any coordinate system. (For example, have a look at google maps, which is in geographic. The northern border of the state roughly follows a parallel, but the details are more complicated due to history and local politics.)

I didn't look at the code in detail (and my R is quite rusty), but the fact that he's using the geosphere package suggests that the intersection calculation is being done on a spherical shell, rather than cartesian space.
Fair enough, I got carried away, but custom keyboards will not suddenly make this a good device. I got caught up in ranting about it, because it looks and feels so cool, but is so infuriating to use. What I was hoping to get across is that adding these to the surface don't make it any more practical, and don't address the existing problems with the surface and its keyboard. Without the Surface, this is nothing new (custom input devices are common).

More about the article:

One of the best parts of touch based interfaces is they can change with context and can be customized/improved/fixed for the cost of changing the software. No need to ship a physical 2.0 for your POS when you want to change the button layout.

Also, with these blades, are you expected to carry around more than one and swap them out based on the activity? Then use the onscreen keyboard when you need to do any text input?

The thing is a computer. It has a USB port. One can attach whatever input devices they want. The only difference about a blade is that this doubles as a screen cover. In the medical and fast food examples he gives, the machines are stationary (and you probably want them to stay that way).

I'm all for dedicated input devices or customized interfaces to make jobs easier, but that's hardly a new idea.
Easy: Put videos of the animal on youtube and http://www.cuteoverload.com and count the upvotes.

To quote @BigDataBorat (Twitter): 90% of data is unstructure. Furthering analysis reveal that 60% of unstructure data is cat video.
It's classic emergent behavior. While you may understand how the algorithm works, and even be able to step through and see how each neuron affects the whole, that doesn't mean you know why the answer is correctly achieved through all of them combined.

The classic example is facial recognition. Training a neural network for facial recognition will result in lots of neurons contributing a very small part of the whole, and only when all (or most) are involved is the answer correct.

To most people, this (emergent behavior) is "magic".
U.S. Census Announces Major Updates to International HIV/AIDS Statistical Dbase
I'm not saying that's the only step in design...
In my attempt at brevity, I lost the nuance.

The point I was trying to make is that if you're taking the view that your users need to have a significantly higher than average the level of knowledge in a domain area (i.e. equivalent to the knowledge of the domain area that the product designer has), you're going to end up with an un-usable product for the left end of the bell curve of your user population.

That left end of the bell curve is relative (as you point out) to your user population, but exists nonetheless - an "idiot" radiological engineer is not an idiot in relation to the general population, but is one in relation to the 99th percentile best radiological engineer (and, hopefully, in relation to the radiological engineer building your product).

What I was trying to say is that a well-designed UX requires that the 1% "idiot" of your target user population still knows what to do...
Some of this article reads as if it were a "Special Advertisement Section" paid by Oracle to fend off the negative press Java has been getting from the recent spate of security exploits.

Its good that it mentions the JVM-based languages though. I know many "Java" programmers who hate Java proper but love languages like Groovy, Scala, etc...
A SaaS Startup’s Journey to $100K a Month
A reality in California is the high cost of regulatory siting. In this case the desert tortoise issue was costly.

In many other cases, you see multi-year court battles (some in regulatory proceedings rather than traditional legal courts). A lot of the time those pushing the fight are not environmentalists but rather NIMBYs who use the laws/regulations to try to prevent progress. Same with High Speed Rail, of course.

The delay and uncertainty adds a higher-than-expected cost since the investment appeal erodes.

It's interesting that California's pro-environmental laws can sometimes be a hurdle to "green" projects in this sense. Different sides of the environmental issue spectrum.
Forex Trading Systems That Actually Work
I love these things, I think concepting road to air is a great field that I encourage people to explore.

However, I think people should refrain from making a business out of this. Use research funds to push boundaries! I can't help but look at this page and video and think that they are trying to make money off of it.

Speaking as a pilot, a lot of aircraft are built with crashing in mind. Just look at the 777 crash at SFO recently. Judging this craft simply by the video, I have serious doubts that this craft would keep you very safe in an air emergency. I'd love to see what its glide ratio is.

Another issue with current road->air systems is the need of 2 powerplants: one for the road and one for the air. For road travel, the extra weight is not that big of an issue. However, the weight of the road engine (batteries if it were electric) puts serious limitations on its airworthiness and stability.
I think getting it street legal will be a much bigger battle.

There's no reason that this couldn't be certified as a LSA (http://en.wikipedia.org/wiki/Light-sport_aircraft).
There's a bit more detail on the actual exploit here: http://lwn.net/Articles/57552/
Sadly, this is true for some, but not for others. I find even Air Optix uncomfortable. It's not the freshness of the contacts themselves, it's that my eye reacts to wearing them after awhile--even brand new pairs. If I go a few months without wearing them, I can tolerate them for a week or so.
This is an ironic project because the Vim docs are one of the worst places to go for Vim help, partly due to their size and unsearchability.
This recipe applies to software as well.

Thinking about the idea with simple notes at first. Paper prototyping (defining and preparing chapters). Writing and re-writing the first version until you get it right. User testing (copy editing).
Haraka: A modern, high performance, flexible SMTP server.
Related: Bring back the 40-hour work week. 150 years of research proves that long hours at work kill profits, productivity and employees: http://www.salon.com/2012/03/14/bring_back_the_40_hour_work_...
Uh, that was a rhetorical question. Intelligent readers can see that he's saying copyright, as a social institution, isn't actually the travesty some make it out to be.

Intelligent people also recognize that "detrimental" is a pretty broad category, and that you can't necessarily make an apples to apples comparison between two things simply because they're both detrimental.

Copyright is a legal and social institution. Wars, murder, and disease are not. Neither are earthquakes for that matter, or volcano eruptions. Detrimental as they may be, they're hardly things we can simply legislate out of existence (even I that's exactly what one of the Carolinas is trying to do in response to rising sea levels).

If you want to make a proper apple to apples comparison, pick something that is, at least, remotely analogous. Slavery, for instance, or the poll tax. Just make sure it's something people can actually legislate one way or the other, and not something that is obviously beyond the reach of the law.
Creativity in the age of Maths Men
I think it would be fairly easy to whip up something like this with WebODF (http://webodf.org). That is able to show real spreadsheet documents from software like Excel, LibreOffice, Apache OpenOffice and Calligra. Of course that works if you move away from the binary formats and choose OpenDocument Format - but this is default in most (and at least in Europe also one of the defaults of the latest two versions of Microsoft Office).
Oregon Film extends tax incentives to video game development
Isn't [...] just syntactic sugar for (vector ...)?

The point about tail call optimization is interesting though. I wonder what it would take to implement that on a JVM.
I would have expected that putting this through a machine learning algorithm( or one of the face recognition ones) trained with a very huge dataset might improve the odds.
Interesting. That's the same pair I use DC H10-13.4s and have never run into this. Good to know though.
I can bet for $1000 that winning team is going to use Convolutional neural networks. Anyone willing to bet (I can bet also for smaller amount if you prefer)?
They're not expecting it, they're fighting to make it happen.
That was what I thought it would be at first as well. My definition of "most" concave: pick two points at random in the state. What is the probability the segment connecting them leaves the state? In this case the hard part is defining what to do about water. As an example, I live in Maryland. It is easily the most concave if you don't treat the Chesapeake Bay as part of the state. If you do, not quite as concave. See maps in the link for the shape of MD if you are not familiar with it.
Only the first canvas works on Android Stock Browser.
Along the lines of: "I paid my attorney $10k and I didn't even get to court!"
I used to use a site called bugmenot to get accounts like these but now as the passwords there have stopped working i have started to use throwaways.
Also my throw away password is 123456789 :P.

I was just thinking if my account is not publicly listed then I can just have a really complicated username and use a really simple password.
(Complicated as in a SHA 2 or MD5 hash of your real name ). (Just thinking loud)
> try to imagine crossing the street in the above simulation

Just start walking, the cars will steer around you! More seriously, there are already separate express and local routes for many major roads across the US, I don't think it has to be a radical departure from what is already there. Best part is, the way that self-driving cars are progressing to drive on regular roads, the infrastructure can grow more specialized for self-driving cars organically over time.
Let's not stop there: http://www.neweconomics.org/publications/entry/21-hours
I hate to focus on the least relevant parts of the article, but when it says he "buried himself in the sand to hide from police," is that metaphorically or literally speaking?
That's an excellent question. Latitude and longitude are straight in the projection he is most likely using, but great circle arcs are what we consider straight on the globe. The kicker is that most political boundaries are neither. They are Rhumb lines, aka loxodromes, which mean that someone started walking in a direction and kept going.

The standard solution for this is to put lots of little points into the state GIS definition, so that the points get transformed correctly. That way short line segments don't differ by more than a few meters. That means you have to watch out for simplified state representations, but not much else, unless you're being a stickler.
Talk is cheap. This guy is a clown.

"My new technology is going to provide a new type of Internet, a decentralized, floating and moving Internet that is impossible to hack, impossible to penetrate and vastly superior in terms of its facility and neutrality. It solves all of our security concerns," McAfee said in an interview with the San Jose Mercury News.
I just don't get the appeal of roadable aircraft like this.

Every single one I've seen is neither a particularly good airplane nor a particularly good car, and they're expensive. For the price of one, you can generally buy a better car, a better airplane, and a second better car to keep at your most frequent destination airport, and have enough money left over to rent cars at other destinations for years.

I can't find a price on this one, but I suspect it will be no different.

If you want a light plane, buy a light plane. There are plenty of them out there, with a large variety. If you want a car, buy a car. Lots of reasonably priced choices there. I just don't see why anyone would ever want a single vehicle for both roles.
Mailbox app for iOS will execute any Javascript embedded in an email.
7 Startup Lessons From a Newborn
Why do taxes matter for a start-up? They're usually not making much money anyway.

If you want a low cost of living, and low rent, you could always live in Mexico. Good luck with #5 and #6 though.

When you have #5 and #6, usually you have an in-demand area, which leads to #1, #2, #3 and #4 being much higher than they would otherwise be. Supply and demand rears its ugly head again.
Tall Buildings Beyond the Core: DC Releases Height Act Recommendations
Pivotal’s Experience at the Kaiser Code-a-Thon
In the last version, the Fire tablets didn't come with Google Play or any of the Google Android apps.

What is the Amazon app store like? Is it worth it to forego the primary Android app ecosystem?

[Edit: I meant as a user, not an app dev]
Bitcoin-Infused Accelerator Boost.vc Launches Second Batch
What we need is a Robo-Indy 500. Companies with the latest tech in driverless cars compete, and the public sees how well (or poorly) the technology can deal with rapidly changing situations. Sure, you don't need to deal with peds or other urban obstacles, but it would go a long way towards assuring the public that driverless cars are safe.
Worked nicely and snappily on an iPad 1 iOS 5.

(added snark: how can this work so nicely and bloody OnSwipe and certain websites crash my browser instantly?)
Hi, I wrote half of Literally Canvas. It looks like we have a lot of overlap, but nice job on the fill and save features. We never got to those. It also looks like you're smoothing your lines, also very good.

I feel like we got "scooped" a bit with this, but at the same time we haven't worked on it in months, so congrats. :-)
If you can handle English, French will be a breeze.

German would be harder, and Cantonese would be virtually impossible by comparison.
I entirely agree on the large number of companies who do crappy work in the infosec industry... there's a lot of them, especially in the penetration testing realm.

We're not one of them. Nor were any of my previous teams whether they were at my companies or at companies I worked for (whose names you definitely know).

"Prominent name" is a marketing thing as much as anything... I'd be willing to put the accomplishments of our teams up against most. Hitting $10M in revenue in under 3 years building a security firm with no investment and no debt isn't something I'm going to feel too bad about, even if we don't spend a lot of time making a big deal about that.

You're making the classic mistake of thinking that a company that makes a lot of noise is the same as a company that does great work.... those venn diagrams sometimes overlap. And sometimes they don't.
Water has quite low thermal conductivity (~0.6 W/(m*K)). If you exclude convection you can easily have such a temperature difference. For example with heat flux of 100 W/m2 you have 60 K temperature difference over a 36 cm thick layer of water.
Even if it really means 0.447 +/- 0.014, an increase of 0.01 is not very significant!
This reminded me that I want to finish reading the book 'How the States Got Their Shapes.' http://amzn.to/16zBxBo There are some crazy reasons some states have their strange borders.
Merging at the last possible moment _increases_ congestion. If there is a lane elimination, after the the lane has been eliminated, traffic speeds up, because there is no remaining merging to complete. Thus, the earlier merging is completed, the sooner traffic can recover from the disruption. Also, spreading out the merges over a longer distance, versus everyone merging in the same spot allows traffic to recover from many small distributed disruptions instead of one centralized large disruption. Early merging = less traffic.
Working 40 hours per week would kill me. For me, work IS learning, and writing code is no different than a paintbrush on canvas.

The only thing that will turn my brain off is some sort of lean back entertainment, such as TV or video games. Otherwise, why read about how to do something when I can practice it?

It's a fallacy to believe that work and play can't be the same thing.
http://groups.csail.mit.edu/mac/users/rauch/worktime/

"An average worker needs to work a mere 11 hours per week to produce as much as one working 40 hours per week in 1950. (The data here is from the US, but productivity increases in Europe and Japan have been of the same magnitude.) The conclusion is inescapable: if productivity means anything at all, a worker should be able to earn the same standard of living as a 1950 worker in only 11 hours per week. "
Great article, very useful for someone learning Scala like myself. If I understood correctly this is an example of polynomial interpolation. One method of solving is Neville's algorithm.
XScreenSaver rotates one of these.
5 tweaks that would improve iOS 7's new motion design.
How to Install the Ghost Blogging Platform on a DigitalOcean Droplet in 10 Steps
I'm pretty sure Terrafugia is much further ahead: http://www.terrafugia.com/aircraft/transitionR

But competition is always good!
I'm not enough of an expert on Clojure or Lisp to answer (my lisp knowledge is extrapolated from scheme in college).

I believe that Rich Hickey said that having special notation for vectors (and for maps, I remember now) was about, basically, yes, that syntactic sugar. He was specifically comparing to lists in () which are somewhat indistinguishable from function calls in (), hence an example of overloaded parentheses.
C# is not a plateform. When people talk about Java it is the JVM , not the language. .NET is no alternative to java, i cant install .NET on a *nix server ( and no, Mono is not an alternative either).
I would love to see a mandatory scheme whereby employees are free to work more than forty hours per week should they wish to do so, or are required to do so, but overtime payments are guaranteed, on an increasing scale, so by the time the employer has their staff working 100 hours per week they have had to pay more than say 6 weeks salary, possibly 8. This would quickly shake out the bulk of big corps who simply encourage presenteeism and other negative cultures.
Kafka 0.8's proposed replication design and partition tolerance