skysight-inc/HackerNews huggingface dataset:
I'll try to separate out the different issues you're raising here, and respond to each individually.

1. What if I want to have my module be a function, the way that $ in jQuery is both a function and a namespace for the rest of the functionality?

This is an important use case, and so we're going to support it in ES6 modules. You'll be able to say:

module $ at "http://jquery.com/jquery.min.js";
$(...)
$.ajax(...)

2. Modules will requiring using names without the prefix.

This isn't true. As you can see in the above example, you can just use $ directly, even though it's a module. You can also say:

import ajax from $;

but you don't have to.

3. We should just standardize the node module system.

Of course, there are many different module systems being used in JS code right now, and we could just pick one. Unfortunately, we couldn't just pick the node module system, since it's fundamentally synchronous, which is great on the server side but not in the browser.

However, we feel that we can bring real advantages to JS programmers by extending the language -- we can simplify using modules, we can make some patterns direct that currently have to be written using callbacks, we can better support encapsulation, and we can allow engines to use knowledge about modules for optimization.

3. Static analysis is doable even without a static module system.

The static analysis you describe, while useful, isn't going to tell an engine statically where it can go to lookup references to an export from a module. That means it's not useful for many of the optimizations that we want to enable. Additionally, your analysis isn't sound -- it can miss uses of `require` that are generated dynamically, for example. Again, that means that engines can't use it for optimization.

Finally, if you have comments about ES development, I strongly encourage you to make them on es-discuss, rather than on HN, where they are more likely to have an impact on the development of the language.
The last sentence in the article makes a lot of sense.

The article also explains the ridiculous secrecy surrounding almost anything "defense" related. The US citizens don't get value for their dollar. The B-1, B-2 and JSF are only the latest examples of Giant Pork. If we knew about the costs before hand and during, we'd freak out. We get ripped off by the defense contractors.
It's a git addicted, online github summaries
What a memory flashback...

I made the decision to focus on low level C++ / Windows right around the time tcl/aolserver was cutting edge.

I think my career advice for younger programmers is to stay away from whatever technologies I'm using.
To make myself clear, I personally don't care that much about older articles. Anyway, I think it's good hn practice for older articles to put the year in title ... since many users might expect "news" or are old enough to have been pointed to those articles several times.
A different way to put it is: "the best way to iterate over collections is still being discussed, because we want to get it right".

Also, for `Map`, how do you think `foreach` should work? Should the function be called with (a) the key, (b) the value, (c) an array with both the key and the value, (d) the key and the value as separate arguments?

Similarly, in the statement:

for(let x of some_map) { ... }

should `x` range over the keys, values, or key-value pairs of the map?
"Anil Dash counted 88 apps using his Google account, with nine granted access to Gmail." - I'm amazed he can sleep at night. While twitter and facebook aren't that bad, I wouldn't allow anyone to access my gmail account. Additionally I just checked the tokens list and removed 1 out of 3 apps authorised for google docs, because I don't use it any more. With the amount of security issues for web applications these days, you can safely assume that even if you trust the company, they're going to get hacked at some point in the future and copy/delete all information they have access to.

Again - even if "fortunately, Unroll.me is a totally legit NYC-based startup providing a useful service", that says nothing about their security practices. For all we know, someone already has access to their servers and they will never detect the breakin.
that's true. so perhaps you could start one up somewhere else? thanks!
To make my perspective here clear, I should mention that Dave Herman (of Mozilla Research) and I are the designers of the ES6 module system.
For me, the crufty nature of Tk's Motif-style appearance was the major factor.

I used Tcl/Tk heavily in my 3D graphics class back in 1998, and while I enjoyed its light weight and ease of use, I felt that the GUI output was definitely old-school compared to Gtk and Qt, and had no desire to continue using Tcl/Tk after the class ended. It felt like the past.
This says a lot more about the author than it does Google. Knowing where to go to quickly find information is a good thing; not being able to learn anything because "it's on Google" is not. The point is to choose what to learn and what not to learn; choosing not to learn anything, or being unable to learn anything, is simply not acceptable. The author has ruined his own career, not Google.
From a language design standpoint, Tcl is simple and beautiful. You can read its entire semantics in its rather short man page. It's got the homoiconicity of Lisp (with strings instead of lists) which enables very flexible syntax extension. Its simplicity also allows it to be embedded rather easily.

Unfortunately, it's too simple, in one fundamental way which makes the language very flawed: it does not have closures. Callbacks (which are fundamental to I/O or GUI work) are executed from a scope which has access to nothing but global variables. As a result, users of the language must either stash everything in globals, or else perform awkward explicit variable substitution, taking care to distinguish between variables to be evaluated in the present context and variables to be evaluated in the callback context and escape them appropriately (like writing a Lisp macro, but this is in every callback.)

And if you want to implement any higher-order functions, say filter by predicate, you have a problem because you want to pass an argument to the predicate, but you also want the predicate to have access to variables in the scope where it was defined. The predicate is not a first-class function: it's a block of code that you can eval. In fact, you can eval it anywhere on the call stack. That's right: Tcl gets the job done using functions which evaluate blocks of code in their caller's context. If that sounds scary, good, it is.
I make you deal if you can ship some pizzas to an US address say via fedex I may able to teach you..

see my gh-pages sites:

http://shareme.github.com
New Star Wars t-shirts for release of Episode 1 3D by web designers
i was trying to get an opensuse 12.1 ami from suse studio running (as it has libevent 2). however, i am now following this http://news.ycombinator.com/item?id=3579531 and with the fixes i posted in the comments there, things appear to be ok (waiting for tor compile to finish).
thnx.
How Small Businesses Rely on Mobile
This would be awesome. I bought a theme off of themeforest the other day and they essentially wrote a mini-cms in js that would have been way to much work to tear apart and turn it into a static site.

This morning, I'm working on adding a grid framework to another theme I bought off of themeforest. That's the one thing I hate about themeforest is you can't see the "bones" of the theme before you buy. I've bought 4 or 5 themes off of theme forest with about 3/4 of them being of decent quality. With decent quality being the ease at which I can modify them for my own needs.
It is the anniversary of the overthrow of the Shah and they do something like every time there is something politically sensitive going on.

It is clearly population/sentiment control and not 'fear of spies'.
Pendants
Description
Silver Pendant, Ag 925/1000 - pure silver. Rhodium coating. With stones (CC - cubic zirconia). A beautiful pendant in the form of the contour of the heart. In the center is a round-cut zircon. Collar fixed. Dimensions approx. 22x32mm, including the holder - loop.

Jewelry tested State Assay Chamber: Yes
Ykrasheniya Type: Pendants
Type of suspension: On the rocks
Jewelry: Women's
Type of Stone: Zircon
What movement to save the NHS? I think it's a movement to fuck it up.
Epic's Tim Sweeney: Next 20 Years in Game Technology
I find it slightly easier to look at arguments justifying copyright. That's related to arguments opposing piracy, but the latter can be more complex. For example, if you've established (via an argument justifying copyright) that it is ethical and correct for a country to have copyright laws, why it's unethical to pirate then boils down to why it's unethical to violate just laws, which is a whole argument in itself (social-contract arguments, deontological arguments, utilitarian arguments, etc.).

That might be too fine a distinction, but in any case, there are two main varieties of arguments justifying copyright (though there are also some others, advanced less often):

1. Utilitarian arguments, that copyright improves well-being in some important way. These divide (as I see it) into a more strongly stated utilitarian-ethics approach, and a more weakly stated public-policy approach. The stronger approach argues on utilitarian grounds that it is ethically required to have a copyright system, because of the moral good it produces. The public-policy argument makes the more limited argument that a country adopting a copyright system will improve the country's society, so it ought to do so (but is not necessarily being unethical if it chooses not to).

2. Right-of-the-author type arguments that argue for a property or quasi-property interest in ideas, or some ancillary things around ideas. This is somewhat more prevalent in French thinking than Anglo-American thinking, as suggested by the French translation of the word "copyright", droit d'auteur. The quasi-copyright category of "moral rights" is related to this, and can support some middle-ground positions, such as a belief that copyright itself is not a right, but that being accurately identified as the author of a work is a right (i.e. some kind of anti-intellectual-theft position, where it's ethical to copy a book, but not ethical to copy a book and claim you wrote it).

There's an extra level of complexity when you look at contract law, corporate copyright, and transferability. For example, some of the droit d'auteur based approaches consider it an immutable, untransferable right of the original author specifically, who can enter into licensing arrangements for the work, but cannot transfer or sign away their fundamental moral rights.
Javascript news for this week. Backbone.js tutorial
tcl (as embedded interpreter) had its killer apps. tk was IMHO for quite a long time the only reasonable way to provide a cross-plattform GUI. It simply lost traction (due to the developments described in that article but IIRC also due to the opposition of Ousterhout towards integrating some OO framework) and python and ruby took over.
I'm involved in the startup scene for soccer "moneyball" metric development. If anyone has any interest, contact me.
And really, 88 apps? I don't even use a single one.
I think this is a novelty at best.

The electrical interface standards may change between devices (voltage/current sink ability) and even between software releases (power saving etc) resulting in a sudden "it stops working" moment.

The basis of it is also flawed on the fact that it's a workaround for a closed platform at which point it's probably better to just use an open one.

Hack yes. Novelty yes. Don't build anything important with it.
If you don't want to read the article: "Battery" in its name implies that it has got electrodes in it and that's all. It's neither an energy generator nor an energy storage device -- if you were wondering.

Also here's the catch/

"The desalinated water that comes from the battery still contains too much salt for drinking, La Mantia says: “We removed up to 50% of the original salt, but we need to arrive at 98%."
Wouldn't it be more noteworthy if we weren't able to find one analyst who predicted Lin? With the number of amateur analysts, and the number of players, you'd think that its likely there's a web page somewhere plugging every prospect.
Send me an email, we're potentially looking for a designer.
Bulletin Adds Notifications on your Lockscreen
Pushing Files to the Browser Using Delivery.js, Socket.IO and Node.js
What is the value of a Google typo? $5,000/pm or $300k BIN
This is a screenshot from DNForum (a domain name buy/sell marketplace). The original post has since been deleted, however I managed to grab a shot before it disappeared.

This is a highly secretive industry and I thought the HN crowd would really appreciate an insight into the value of a typo like "oogle.com"

The people who lease oogle from this guy can make their money back very quickly by sending it into affiliate offers and things that appear to be surveys, and promise an iPad or similarly expensive toy to the "winner".

(The terms are such that the toy is sufficiently difficult to get that the actual award is quite rare)

Here's a screenshot of the guy trying to sell or lease his domain

http://i.imgur.com/UsOSO.jpg
Gotta love the random "and so we have computer viruses" paragraph toward the end.
What surprises me most about this story isn't that it happened, but that people still are surprised it works. A data-driven approach will always be better than picking people by how good they "look", etc. Human scouts are biased, make mistakes, and miss plays. Statistics don't lie. The one catch is of course how you analyze those statistics makes all the difference.
The Lego Robotic Prosthetic Arm Defines Complex Hand ...
My kids can have an iPhone when they pay for one themselves.

Until then, they have a PAYG $10 Nokia.

Perhaps that was a good move after all.
Anonymous Attacks CIA, State of Alabama Website
I was hesitant to comment about how that mimics what it would look like on mushrooms. But it is very interesting that the effects are the same.
Otra vez!
DMC-ZS5 Panasonic Lumix Computerized Camera
Noticed the article was written a year ago (May 13, 2010), and Lin went undrafted that year.
This is why you put your permission checks on the resource itself, not on the link to the resource (well, in addition to, really).
I'm not sure why, but Chrome is marking the Windows download as potentially malicious. Microsoft Security Essentials says it's okay.
Can you expand on "weak scoping rules"?

If anything, I thought Tcl's scoping rules were too strict. E.g., global and namespace variables are not automatically available in functions, unless you import it explicitly.
What an author charges for their book on Amazon doesn't have anything to do with copyright. You can charge a million dollars for a public domain work if you want. I believe a lot more content creators are on my side than you seem to think.

But yes, I have been forthright on these boards before about my desire to eliminate copyright. Sorry if I didn't make that clear in this post.

Also, you are correct, there are many benefits to digital works over their physical analogs. The increased ability to share is only one of them. Personally, however, I think it's the biggest benefit of all. Sort of like how modern cars have electric locks and air conditioning, but still their main benefit is their speed and carrying capacity. Hence my horse analogy. Esstentially, we're already in a post-scarcity society when it comes to information, and that change threatens people. But your mileage seems to vary, and that's cool too. It will be fun to see it all play out.
ATT.NET - Email, News, Sports, Entertainment and Games
It's not a battery - it's a cell and it doesn't generate power. It takes power.

It only gets about 50% out.

I did this in chemistry at school about 25 years ago.
New crowdfunding platform for student scholarships launched in Michigan
Seven Tips To Speed Up Windows 7
I love this concept, but I'm hoping they can manage to get a community that can keep the level of content high instead of the mostly link bait and spam articles the SEO community is known for.

A quick look at the home page for Inbound.org which has 25 articles shows:
* 9 articles that are "X Number of Things"
* 4 "The Guide to" articles
* 2 "How to" articles

That's 15 out of 25 articles that are mostly filled with shallow link bait type articles. Granted I didn't read all of them so I'm sure some are good and deserve to be high on the page but the ratio is way off.

By comparison the HN home page has zero of the same type of articles.

Now maybe that's what they are going for, but personally I'd love to see less lists and more high quality content around marketing.
Thanks for the offer. :)

FYI - Your carousel isn't centered, the follow shareme button is clipped, and the Android, Hello article has an extra </div> in the <section id="getsdk">, causing the remainder of the page to be left aligned. I like sausage, mushroom, and olive on my pizza. Did you want my address? <jk ;)>
That's what I've been doing for the last few months and it's been working great for me. Clock tables can have specific time periods associated with them, so you can easily build one that lists all the time for February, for example.
It's not what you know, but who you know.
I think this could be a great route to take. Patrick might be at the point that he has enough marketing work to do though, that he wants to focus on that.
Harvesting power is a bit questionable, but in terms of an input mechanism, Square built their reader on the idea.

As far as it being a hack for a closed platform, I'm not sure why that matters if your goal is to interface with the primary mobile phone platforms. This solution works, and if you need something more professional, working with the dock connector itself isn't an burden any more insurmountable than dealing with injection molding or other product design and manufacturing concerns.
There's a googledoc floating around with a big list of urls for these things. It includes significantly more than the 350 devices he mentions iirc.
Amazon Staffing Up For Original Programming Push
'Director of Googlable things'
Ok, I admit it. After seeing Cathode, this is the first time I've ever had a dose of Mac envy!
Telecom Rip-Off: The Hidden Fees in Your Wireless and Phone Bills
Reminds me of that classic scam of sending out sports (or anything else) predictions to a huge mailing list, and basically AB testing in such a way that after a little time there are at least x% who think your success rate is incredible.
Or just to login with a service as that's probably most people's most prevalent reason to use oauth? I'm surprised that gmail don't have a permissions system like facebook, it concerns me that right now it's such an all or nothing option.
How is he calculating RSB40? I'm guessing its some sort of weighted average of rebounds, steals, and blocks but I can't find a solid definition.
Great work on CardNap. Do you have a Dribbble account or a portfolio so we can preview some of your other work?
Not surprised that most experts(NBA & DI school scouts) don't embrace this because it is easier and safer to go with the typical archetype as opposed to raw stats. Its "human nature" safe in the sense most people will not question if you go with the established archetype. It also devalues the current process of scouting.

An apt quote from the movie Moneyball:
"I know you've taken it in the teeth out there, but the first guy through the wall. It always gets bloody, always. It's the threat and not just the way of doing business, but in their minds it's threatening the game. But really what it's threatening is their livelihoods, it's threatening their jobs, it's threatening the way that they do things. And every time that happens, whether it's the government or a way of doing business or whatever it is, the people are holding the reins, have their hands on the switch. They will bet you're crazy. I mean, anybody who's not building a team right and rebuilding it using your model, they're dinosaurs. They'll be sittin' on their ass on the sofa in October, watch the Boston Red Sox win the world series."
you could ask James White : http://blog.signalnoise.com/
He does movies posters and is really awesome.
And of course there are many valid programs where leaking memory is totally fine (and more performant): shell tools, cgis etc.

When I write any of these, the only time I free anything is when I've had to malloc something huge.
This is one of the reasons I don't use Apple. Biggest patent troll ever
What does this do that Github's "stats and graphs" tab doesn't?
"This discovery of yours [writing] will create forgetfulness in the learners' souls, because they will not use their memories; they will trust to the external written characters and not remember of themselves."
-- Socrates, ca. 360 BC
Every time I'm reminded of Tcl's history through Sun I wonder how much would have had to have been different for Tcl to have ascended instead of Java.

Was it the decision of one man who just liked Java better? Was it for more technical reasons (like the lack of a standard OO system)... etc?

I don't know Tcl well, but I still feel like a different present in which Tcl had arisen to be one of the most popular languages may have been better than the actual Java-dominated present.
"may not be used with apps sold on the App Store" probably just means "Apple will not approve an application which uses this cable for sale on the App Store".
This is the first compelling reason I've ever seen to have a digital picture frame. Imagine just having that swirling continuously on your wall.
Two words: Fair p(l)ay!
(If you are earning money with the work of designers, you should make sure to pay them what they and their work are worth.)
Posting belatedly, but I really disagree with the "no career goal" item.

Doing a good job on today's tasks is very important, that's true. You don't want to live in the future and neglect the present.

But unlike chopping wood and carrying water, in this industry the work is always changing. If you don't maintain a healthy sense of progress toward a future, you're likely to miss opportunities for jobs that would be lots of fun and teach you a lot. In the worst case, your skills will go stale and you'll get sidelined.

Also, I think having clear career goals makes it easier, not harder, to leave a situation that is not appropriate for you. If it's not serving your goals, find something that will.
The HiJack energy harvester can supply 7.4 mW to a load with 47% power conversion efficiency when driven by a 22 kHz tone from the output of a single audio channel through the iPhone/ipad/itouch headset port, no extra energy source is needed. The name "Hijack" refers to this energy harvestign method.

Can someone here explain the functional significance of the 22kHz tone? It would be more intuitive if they'd said "an audio signal driven at the headphone port's maximum volume." Why would there be more harvestable energy in a max-volume 22kHz tone than a max-volume 11kHz tone? Or might this be to avoid accidentally blasting the user with a super loud output tone (i.e. in a more audible range) from the device speaker?
Thanks! Yes, I'm on Dribbble at http://dribbble.com/joshkdavies.

I can provide more info over e-mail if you're interested?
"Sometimes the convincing force is just time itself and the human toll it takes, Kuhn said, using a quote from Max Planck: "a new scientific truth does not triumph by convincing its opponents and making them see the light, but rather because its opponents eventually die, and a new generation grows up that is familiar with it."[1]"

from http://en.wikipedia.org/wiki/Paradigm_shift
That's not the point of visualization.

A good visualization should convey something even to those without any domain knowledge.
Angel Investors And Startups Mingle In Milwaukee
Show HN: Leanback News Browsing (Don't touch keyboard for a while)