skysight-inc/HackerNews huggingface dataset:
How can your tools all accept the same kind of structured data without dictating its representation? I don't get it.
Nyancode
To whomever's edited the title:

"this close" implies a specific value.

"this close" may be used less precisely as a rhetorical expression.

The original title of this article used "this close".

Why change it?

The lack of transparency is stupid. I don't know who made the change, so I whether to argue with the OP or send an email to PG.

Stupid, stupid, stupid.

edit: Apparently there's no way to escape asterisks without a code block. Where you see italics above, they are what I actually typed.
Show HN: Easel, web design in the browser
Navigational accuracy? Do we still need accurate time to compute longitude relative to a point on earth?
>>Why does it appear the internet only has two modes, Blind Adoration and Violent Lynch Mob ?

There's a lot going on in between, but it's not news-worthy.
I am aware of that, but I personally use JavaScript to mean the browser language, and all the browser's features (DOM, WebSocket, etc.), but node.js to mean JS in the node.js environment. Same core language, but different environments, so not the same in practise.
While it probably would have carried the same emotional sting if he'd said, "Here's a picture of your dad trying to get some dolphin love", there is a time honored set of jokes entirely devoted to disparaging another person's mother... many of which involve some over exaggerated take on their mother being fat and/or ugly. Although I am not aware of any that involve bear love. For more information you might check if Google has any suggestions for "yo' mama jokes".
How about using NoCaptcha technique?
> There simply is not the appetite to accept any nuclear fission accidents

Well, that's part of the reason why fusion is attractive.
Let's hope this goads Google to do the same thing in Android.
>No argument here. My points only apply for people starting now, and not for PHP vets.

I wasn't meaning for people - I meant 'the industry' as a whole (or a large segment) - standing on the shoulders of giants and all that.

>> 1. cheap shared hosting to get started

>One can argue that all of the major languages have access to this. PHP doesn't have an edge in this area.

Really? I think there's far more options for people with 'PHP' in the hosting arena. It's not that you can't use other languages/platforms, but ... competition for hosting basic PHP stuff is massive - not so much for Ruby/Rails, Python, etc. along with all the extra stuff you'd need (community libraries and such) - much more is baked in to PHP hosting than you get with the majority of other platforms. Java in particular is expensive to host anything useful because it's RAM hungry.

re: eval - do you have pointers to examples? I just grepped Zend Framework 1.10, and there was 1 eval, in Serializer/Adapter/PhpCode.php, with a warning that it shouldn't be used.
> If this is what you're referring to, this is just a return value. There isn't really an exception system here.

Yes, which is awesome.

> If you think about how return values work in C you'll note that it's usually some subset of the range which is defined for an actual value and some subset defined for an error condition.

This would be an 'in-band' error, as opposed to 'out-of-band.' It's terminology borrowed from communications theory. You also see it used to describe an 'out-of-band' console that is a secondary way to SSH into your machine if your network is hosed.

> Also, I didn't mean that Go should have innovated in PLT, only took advantage of innovations already established.

I think the point is that this is intentional. I love super high-level languages, but they're experimental for a reason -- things haven't 'settled down yet' and until they do, it will be difficult for the average person to reason about what is going on. Take garbage collection: this was technology that had been around for decades, but computers and garbage collection algorithms had to be sped up and tuned before general adoption. Large systems demand predictability and integrity on nearly every dimension. Luckily as time goes on, the experimental stuff becomes the expected; advanced programming language theory gets built into larger systems and we all benefit. Go is part of that evolution.
I don't think that complaining publicly makes you responsible for how people who hear you react. Did the Oatmeal instigate the hate mail?
That's still possible in a negative sum game; all negative sum means is that the sum of the benefits to all parties is less than the sum of the costs to all parties. So if say the US hoses the Mexicans but good it can still come out ahead as long as the Mexicans go down hard.
I hope they are delaying Win 8 for at least a year.
https://plus.google.com/104744871076396904202/posts/1ThZhwVS...

From one of AngularJS author:

> AngularJS is our testbed to see what works and what doesn't. We are taking the best ideas from angular and use them to shape the (Web Components) specs (and the other way around too!).
As the first step, we are hoping to start to replace some pieces of angular when native apis are available. we'll see how far we'll get with this approach. What is important is that Angular can help you start thinking in the way that will be required for using these native apis and believe me that is a huge plus already.﻿

So not only do they care about Web Components, they are using AngularJS to shape the specs and vice versa. Hard to be more standard than given that the specs are still unstable.

About being able to re-use the code on server side, I don't care about that, I write my apps in ruby anyway and this is out of scope of a JS MVC anyway. The only people that might care about that are Node users, and most people don't use Node or other js server side. So that's a non issue.
Did you mean AP? (Accounts Payable)
You have to be willing to fire them if it turns out they're they suck.
Yeah, that's what I was thinking. Or, after some sort of injury, the operator pulls on it differently.
yes, "spaghetti code is not suitable for large web apps" nor apps in general.

that is why things like Ember.js are springing to life - to give the structure necessary to build large web apps without them devolving into spaghetti.
Looks nice, is it or will it be open source?
Google HTML5 cache manifests and then delete this silly rant.
Students need to learn multiple programming languages
While this is good science and I enjoy hearing about it, it needs to be said that "unbreakable" encryption is a solved problem.

The existing public key plus symmetric key infrastructure, with a sufficiently long key, achieves "unbreakable" encryption for any practical purpose, including communications that are a matter of life & death and national security.

There are many ways to compromise existing crypto through implementation errors, bugs, or bad key management, but the same caveat would apply to quantum crypto or this new thermodynamic crypto.

The main unsolved practical problem in crypto is getting it built into every form of communication to happen automatically and transparently. And that would happen if people demanded it. So the main problem is a social one: getting people to care about privacy and secrecy enough that they demand it.
They are announcing that you can watch shows on your television, while hooked into your mobile device, which is being controlled by your tablet device, which is hooked into your oven all while sitting in the refrigerator.
Not exactly - ActionScript3 is pretty much as close as you can get to what JavaScript2 would have been - Ecmascript 4.
"Vertex-centric indices provide vertex-level querying to alleviate issues with the infamous super node problem"

Does that mean, for each vertex, is it's sub-graph indexed?!
We had 5 or so people playing with it over a couple days. We didn't have any insight into the code - how often it polled, how much it changed, the window of valid keystrokes, etc. - just the ability to use the demo software and see various metrics.

You're right, it's not the only drawback. I just meant that there are many vectors of attack when it comes to network security and so many fail at those that this might be less gain than one might assume at first thought.
In the recent Airfoil Speakers flap, they neither stuck to their rules nor gave a reason.
We aren't currently planning on making it open source.
Weird games you’d never notice: Universal Monsters Online
Fool. Fool proof. Not full.
I played with SNOBOL. It may have a more powerful matching engine, but power doesn't equate to usability. Having each line followed by 3 gotos does not good UX make.
The CAPTCHA example is incomplete. It is missing the part that actually makes it difficult for robots to solve. The purpose of the example was to provide a list of ways to implement an effective CAPTCHA.
Cool. One of the things that confuses me though are the hotkeys (control+shift+5 turns the div into a button? not very intuitive). Instead of hotkeys, I'd prefer to be told how to do it normally (in some intuitive way).
Mobile Dev Shop: The Library of Congress for Mobile Devices (coming to SF)
Clearly, we are building more knowledge, which is reflected in but not encompassed by our toys.
Facebook iOS Tutorial
https://twitter.com/raganwald/status/213400151614701568
[Go] doesn't show much awareness of advances that have
already been made.

Go's response would be to question that the things you're talking about are, in fact, unqualified advances. Especially in the context of large (ie. LOC) systems applications, maintained by large (ie. dozens to hundreds) of developers.
Not sure if you need a "clone" for that. I'm running FreeBSD 9.0 with ZFS on Hetzner. I can do a ZFS snapshot, apply changes, test, and then either commit the changes or rollback to the snapshot.
Screenplay for the opening scene of Bond 24 (Skyfall is already in post-production).

James Bond is chasing a villain. Draws his gun to aim for a long range shot. (Gun has a little green LED on the side)
Out of the side lunges a henchman who engages Bond in hand to hand combat. The gun goes skidding away.
Henchman wins combat over Bond and runs to the gun. It appears Bond is done for. Henchman draws gun. The LED is red, but the henchman doesn't notice.

<CLICK>

Henchman thinks the gun is out of bullets and flings it at Bond as a projectile and runs at him to reengage hand-to-hand combat.
Bond deftly catches the gun. He draws it. The LED is green.

Cue gunbarrel sequence.

http://www.youtube.com/watch?v=4_XPjcAFuQY
That depends on the city. Guage demand by checking out monster.com, indeed.com and other job sites (craigslist?) for the city or cities you're interested in. Job postings tell you the skill sets too (no two of them alike!).
"ls" prints a list of files. "find" knows about the filesystem and can print a list of files based on file metadata and a path (such as a filename). If you have a list of files (eg from "ls") -- you would need to look up the metadata you want to filter on; it is not part of ls' interface to give them to you directly:

ls | find -size +1M

On the other hand, if you want to make list of files and their sizes, that can be stored, sent over the network, etc -- and then filer that list, you can do:

ls --size | awk 'file_blocks=$1 $file_blocks > 1024 { print $2 }'

For most tasks, I think the fact that any human can look at the output from eg: "ls --size" and then produce a valid test dataset in the same format is more valuable than having to explicitly "cast" the metadata while processing.
>>Let me ask you this; how would you do the equivalent of this hypothetical command?
>> $ ls | structured-grep 'file.size > 1M'

# find . -maxdepth 1 -size +1M

really, flat text is fine. Maybe it's not perfect, but it's good enough that most want to not add any complexity to it that would make it incompatible.

And if you really need that complexity, it's usually worth whipping up a parser for.
He's basically becoming Bruce Wayne
It's even worse than that, because solar noon is already different from local noon almost always, almost everywhere.

First, you have to be precisely in the middle of a timezone, and not one of those weird timezones that doesn't actually follow the lines of longitude, either. Otherwise you're skewed late or early relative to solar time. Secondly, solar noon even at the precise center of timezones is only local 12:00 on average, because the timing of solar noon vis-a-vis a 24-hour clock fluctuates through the year by up to 18 minutes. Two factors are involved: the Earth's orbit is slightly eccentric, and Earth's axis of rotation isn't precisely perpendicular to the plane of its orbit (http://en.wikipedia.org/wiki/Equation_of_time has details and a graph).

So all the leap seconds do is keep the average local noon, at precise centers of timezones, equal to solar noon.
Splitting a PCB like that is really hard, electrically. Board level signals aren't designed to be run in parallel cables. At best you'd probably just put the battery on one side and the board on the other.
Do you use Photoshop? It's analogous to the hotkeys there.
can you show me an example. Because I can't think of one.
JavaFX 2 Layouts: TilePane
This is a tutorial about TilePane. The TilePane layout pane places all of the nodes in a grid in which each cell, or tile, is the same size. Nodes can be laid out horizontally (in rows) or vertically (in columns). Gap properties can be set to manage the spacing between the rows and columns. The padding property can be set to manage the distance between the nodes and the edges of the pane.
What about the traditional MacBook Pros
We all know that the Retina-enabled MBPs are not upgradable. What about the more traditional model? I believe that, for the first time, there are no RAM options. It's 4 or 8GB depending on the model. Is this a sign that upgrades are not possible? Or is it just a marketing decision? What about the display and battery -- are they upgradable?
By bad queries, you mean if you query "how to buy links without getting notice", Google will track you down, find out who you are, and try and get your sites penalized?
There's no way this won't kill Photoshop for web design
Create Cool Transparent Stage with JavaFX 2
n this tutorial I am going to create a transparent Stage (window) with JavaFX 2, this means that the application won't have a window around the image. In order to make Stage transparent we need to set StageStyle.TRANSPARENT. Also, I wanted here to add little close image, because I want to allow user to close application.
very nice and fast - definitely by leaps and bounds more intuitive than the old dreamweaver I was using some 10 years ago!
Average != suck.

Anyone who thinks they are going to do nothing but hire above-average programmers at any scale is downright naive. Design your system around an "average" employee, and you'll be far happier.
Glad you wrote it so I didn't have to. If you have programmers making bad decisions in any language a project quickly becomes unmaintainable. I say take it back.
I've found or read about bugs in nearly every stdlib time library I've ever worked in, except Joda time[1].

If you rolled your own, you should worry more, but you should still think about it even if you didn't roll your own.

[1] Joda is awesome, and by far better than any other time lib out there, but even they have bugs they're fixing in JSR310 (http://jcp.org/en/jsr/detail?id=310)
RequireJS or one of its AMD cousins would have been all that you needed to handle the "too few files" problem that prevented you from scaling the project's development.
As an armchair history buff, I love famous historical people who were also prolific letter-writers. It gives a great insight into the person, especially when the letter was between family members or close friends and never intended for public consumption. (Reagan was one of these people) As much as I like Letters of Note for the great letters, for me having a stream of letters makes the person much more three-dimensional.

The book on the Adams-Jefferson letters has been on my reading list for a year now. Can't wait to get time to read it. http://amzn.to/MudjlA I believe there is a similar book for Reagan, but I haven't researched it. Enough stuff on the list already.
I know it exists, but my point is that it's mysoginistic.
> If google can't get it right, who else might

Mozilla
What happens depends on what interests Google more: driving the spread of Android through less-than-fully-aligned carriers, or gathering the data that everyone using these with iOS could provide. I'm guessing the latter.

Apple may respond not by blocking a fantastic bit of kit (which would infuriate customers) but by buying a company that has its own patents on similar technology and building on the play they made in buying C3 from Saab. I'm hoping the latter.

http://news.softpedia.com/news/Fraunhover-Wants-to-Beat-Goog...

Apple is a hardware company focused on seamless user experience, and highly skilled in nurturing a commercial developer base. They can think mapps.
I don't know what this article is about (looks like it's not worth reading), but I've switched to CS (IcedCoffeeScript, to be precise) for my Node.js app (a behemoth of an app!), and am much much happier. Sure, it has problems too, but they are more tolerable than having to do (if typeof(x)=='function' && x!=null) over and over again IMO, and the vast majority of them will be gone when we have SourceMaps (which shouldn't take long, maybe a couple more months).
> the idea was that you wouldn't install apps on your phone that you didn't trust

We've known this doesn't work out on PCs for years; why would phones be any different?
put a comment at the top of your function that says what to expect about the return value.

Great, so now the documentation for the function will promise to return a motorcycle, but instead return either a bunny or a toaster.

There are lies, damn lies, and boilerplate code comments.
Just because you can type does not mean you can code
It's free currently, I absorb the costs because I just built it for myself and my friends. No plans for a website, but if I get the right feedback and interest I might make it more full-featured, give it a short-code, and sell it to the airports themselves.
How qualified was Reagan to give marriage advice? How many marriages did he have? Was he a marriage counsellor? Did he study marriages? Statistics on couple behaviors?

Or is this like listening to the Kardashian's opinion on... child rearing or something?
Nice Ben! Good luck with everything. We will be testing it in the future and will give you feedback :)
3. (biggest problem IMO): debugging in CS sucks right now. It would be a no-problem with SourceMap though, so we have to endure it just a few more months.
I tend to like having discrete modules of code split up into separate files when I'm building large JavaScript apps (which is really all I do). It helps keep me organized. And I think it also makes version control run more smoothly.

Generally, I'll write a little build script in Node that concatenates and minifies all my JS and CSS before actually deploying to production to keep the number of HTTP requests down.
It's going to be some time before I stop thinking 'spam' every time I see a URL to theatlantic.
Does "Download as PNG" menu action in File menu work for anyone? That is the only feature I care about, and I haven't seen anything like that before.
> This is the problem, and as you implicate,
> the exact sort of thing we need to stop doing.

You do see the absurdity here, right? Banking on substantially above-average developers doesn't work at scale, by definition.
This is exactly the way language works: words can have multiple senses, from which the context should pick out the one intended. If you look up common words, you'll find they have a multitude of different senses (sometimes unrelated). In fact, the more frequent a word is, the more senses it is likely to have.
Tell that to http://lucidchart.com which is almost entirely built using Javascript. Easily one of the most powerful apps on the web today.
They already do this to an extent with permissions. It's not as in-your-face about it, but it's certainly far more fine grained (read vs. write access, more services have permissions, etc.)
> First of all, put a comment at the top of your function that says what to expect about the return value.

I want a language that gives me a nice pleasant syntax for doing that.

And I want a magic pony; but as I said, declaring the return type doesn't tell users anywhere near all they need to know in many cases. Truly self documenting code doesn't exist, and will probably never exist. And since you can't usefully discuss the return value without implicitly disclosing its type in the comments, declaring the type in the code is redundant.

Now granted, there are a few nice features that you get in terms of debugging by declaring the type in a way that the computer can read. But I don't think I have personally ever actually run into a bug in a dynamically typed language that would have been avoided by a static type system.

Conversely, there are some nice things you can do when the compiler isn't breathing down your neck to make sure that all of your types are consistent. If we had a static type system that allowed me to do elegant, type-agnostic things without getting in my way, that would be lovely. Haskell comes close, but even it falls short of the ideal. Ultimately I have never found the trade off to be worthwhile.

As a programmer, you should be trained that when you see "every time", you think "automate this".

I think that's pretty specious. You do need to consistently check to make sure that your code matches your comments and documentation. You simply can't automate that because humans and computers do not speak the same language.
If you want truly unbreakable encryption, there's always the one-time
pad. In that case, the unbreakability is guaranteed by mathematics,
an even stronger guarantee than physics.

Certainly, the one-time pad suffers from the need of each pair of parties
to exchange keys beforehand. As far as I can see, the problem is just
as bad for quantum crypto or this thermodynamic crypto because you have
to arrange a fiber optic cable, a laser line of sight, or a copper wire
between each pair who want to communicate.

You can't use quantum crypto or this thermodynamic crypto on the
Internet for example. You need to set up unshared exclusive-use connections between each of the parties.

If you're going to the trouble of doing that, you might just as well exchange
some terrabyte disks of one-time pad data, and you'll achieve the same (or greater) guarantee of security.
"Help! I don't know how to organize code in intelligent ways! This is the fault of the language we originally decided to use!"

The problem might not be you. Once you are done with your organized code and are moved to another project, some 'junior' dev gets a hold of your stuff and makes simple mistakes that static-typed languages could've avoided.

I'm not anti-JS btw, just throwing out one possibility.
Social Media is Only Part of the Online Marketing Mix
>20 pricey smart JQuery guys

See, this is how I knew you knew nothing about JavaScript.

My bets, you're a manager that manages shitty Java coders who "used to code" and is an obnoxious know-it-all.

Scale of 1-10, how close am I?

Edit:

From your website: "currentlly: BofA" (sic).

Feeling pretty warm on my bet so far.
It's possible that it'll be a closed device though with no inputs, so no way to actually get CyanogenMod onto it. That's what concerns me.
Which browser? Will look into...
Also, define large scale. Plenty of large scale applications can and are written in languages like Python.
Ronald Reagan was a wise man and great president.