skysight-inc/HackerNews huggingface dataset:
>JS has its quirks

Indeed it does. Its one of the hardest modern language I have ever tried to teach someone. All the minor trip-wires (like http://stackoverflow.com/questions/1995113/strangest-languag...), but the worst part is that there are always at least 5 ways to do something.

Out of those 5, two is bad and should never be done but you would be lucky if any book mention this fact. Of the three left, only two is ever considered as good through noone can agree which one is the preferred way. One solution ends up being neither hated or praised enough to be worth mentioning in a book or ranting article.

So to figure out which ones to avoid, and which ones to use, one can either use what ever superstitious choice one learned by a previous teacher, or read massive amount of javascript articles and books to get a "feel" for it (no guarantee through). When you try to teach a student all the different methods, they will get information overload so one is simply forced to avoid large part of the language and hope they act like "don't think, just do what I say".

Python in the browser would just be a clear improvement over javascript.
I used the simpsonfont for that: http://codebubble.heroku.com/
In the future, searching !cache your_url on Duckduckgo will give you the cached page on Google.
I'd like to say that I worried for you, not Redis, but honesty obliged me to admit that you're right.

That said, it's cool that companies like VMware pay people like you to do the things that people like you do. It certainly gives VMware a few upvotes in my book.
I don't understand some crucial details of these deals. If anyone can fill in the gaps I would really appreciate it.

From my understanding Goldman Sachs typically makes money selling these kinds of derivatives through sellers fees. i.e. They are not actually backing the debt behind the derivative, they are just selling it and collecting a fee (typically, around 0.3%).

If this is true then the deal simply looks like a bad one for the buyers, but not in any unusual way. They purchased derivatives linked to Apple's stock price the day before the earnings were made public. They bet of good news and they lost.

The Goldman deals that were fraudulent were around Goldman recommending their customers buy derivatives they themselves owned and were furiously offloading. Or they were selling derivatives and then betting against those derivatives through AIG.

This article would make sense if we could demonstrate that Goldman actually stood to gain from Apple's precipitous stock price fall. But that connection isn't obvious to me.

I would love to hear from someone with real knowledge about these things. Also if anyone can pick holes in what I wrote about I would appreciate that too.
What Tim Cook Told Employees In A Secret Meeting About Apple's Tanking Stock
What’s that in your pocket? - The dream of an iPod nano-sized smartphone
Introduction to Struts Framework
I think it is a valid point. If it provides the value to you.

I don't get these price discussions. If you earn your money by programming, I think it is crazy to be cheap on your tools if you can get the job better done using them.

If you program occasionally, then use some free open source editor.

People on construction sites don't use the cheapest tools available for a reason. If you use it to earn money, you shouldn't be short sighted.
PokerAgent botnet stole over 16,000 Facebook credentials
I agree. I've experienced a wide range of reactions to Facebook.

In the early days, when the info on your profile was the killer app, I closely curated mine as though it were my online representation of myself.

When my college girlfriend broke up with me, it became a tool of obsession to desperately try to understand why it happened.

Then I forced myself not to check her profile for almost a year, and it was a representation of my willpower and reconstructed self-esteem.

When Facebook made all of your profile entries into linkable graph objects, among other changes that destroyed privacy, I rebelled and shut down my Facebook account.

After leaving grad school, I eventually reactivated, because I realized that when I wanted to visit people, Facebook was by far the easiest way to get in touch.

Nowadays, I have built a really strong circle of people I know from real life but keep in touch mostly on Facebook, and I can honestly say that it's been an intellectual revolution for me. I exchange ideas with people and have debates that I rarely have in person. It's absolutely broadened my horizons. It's made me a much better writer, debater, and communicator.

Obviously, Facebook is what you make of it. Sure, you have to navigate the minefield of what Zuckerberg wants it to be, but for me, it's become indispensable as communication tool, and I pity people who let it be a source of negativity to them instead of taking the positive aspects of it for what it's worth. It's just a tool.
Ok this is awesome. I really need this. When I try to change my way of life, I mostly do a good job in the beginning but than all of a sudden I find myself once again where I left off. It is really frustrating. I need to find something more sustainable. So I hope this helps me Thnx!
Google Declares War on the Password:
afaik the second user should open it read only, so it cant update (that's why I was saying that the user should close it after having read/written some data)
Github is working on an app called Swordfish[1] for some time. It uses JS crypto to make sure that even if your server is pwned, your passwords remain safe.

[1]: https://github.com/github/swordfish
>personifying what society has deemed as the perfect image.

Ugh, social construction theory.

http://en.wikipedia.org/wiki/Evolutionary_aesthetics
Final image shows only part of the code (Why ?)
Ironically , the article itself accepting comments via facebook.

On the topic , facebook is more of a rss feed for me than social network.
Ignoring the fact that I usually go by Kerckhoff's Principle and would assume that an attacker knows the scheme. Let's imagine the situation where two passwords are compromised.

1. As you say the To01n would be static and I would assume that this would be the same in both

2. If both sites are .com then I'll spot the com in both and so I'll end up assuming there are 4 characters to attack. And they appear to be lowercase.

3. Or they are not both .com and assuming I'm not smart I think there are 7 or 8 characters to attack (all lowercase).

In case #2 picking 4 characters from lowercase ASCII has an bit strength of 4.7 bits per character and so 18 bits. Very weak.

In case #3 picking 8 characters from lowercase ASCII has a bit strength of 38 bits. Still weak.
Old rules, New battlefields
30 Well Designed Digital Marketing Agency Websites
I see only one pig here
Canada and Dutch authorities claim WhatsApp violates international privacy laws
>> In the recent time I've often read posts about people suggesting: learn language X to a reasonable proficiency before you criticize.

Hard to disagree with this. That said, I think even JavaScript guru's generally agree that the language itself is actually pretty awful unless you know all of the legacy quirks and WTFs it is dragging along.

When discussing the merits of programming languages, the observation that "JavaScript is the best we have for browser-based development" or "it's possible to write really awesome things with JavaScript" just doesn't cut it for me. Either you acknowledge and accept JavaScript's deficiences and don't try to sugar-coat them, or you refrain from trying to objectively rank it against other languages at all.

My personal opinion is that you simply cannot reasonably maintain that JavaScript is a 'good programming language', for the simple fact that before can say you are proficient with it, you likely have had to deal with multiple WTF's you'll never run into with (most) other languages. Other dynamic VM-based language exist that are much better than JavaScript, but just like the QWERTY keyboard layout, we're stuck with it.
Its rather the other way around; a lot of people who must target the browser, and do learn Javascript, would rather not be using Javascript. This is why there are so many alternatives being baked up - clearly the people baking them up are scratching their own itch and are competent at JS.
The "best" JavaScript-related book, as chosen by the community at large, is generally considered to be "JavaScript: The Good Parts", by Crockford.

While the most widely respected books for other programming languages teach one how to use such languages' features effectively, "JavaScript: The Good Parts" basically says not to use large parts of JavaScript.

That alone should show just how poor of a language it is. You don't have to ignore, or actively not use, so much core functionality when using a good programming language.
Did you once do a calculation of the price as to the percentage of the money it costs in relation to the money you generate using this tool?
I find it curious that so many roads/streets in Pyongyang have names, it's a relatively new thing that's still hardly universal in Seoul.
The New Amazon Elastic Transcoder
ah newbie alert. sorry. if you still would want a critique (i hope you do ;)) pls do reach me at chandru89new on Gmail.
Gmelius 5.7
I don't know if I've ever seen prototype-based OO used to produce something that dynamically-typed, class-based OO couldn't accomplish in a much more comprehensible manner.
It's a perspective thing. I think he missed an alternate reaction to his position. He could have been pleased with the money he was paid, honoured by the responsibility he was given, and driven to do the best he could. Instead he spent most of his time feeling hard done by. That's the kind of attitude problem that people pick up on when they consider people for a position - will this guy work his ass off for me? Oh, he thinks too much of himself? No thanks.
Also there is this resource, and the first sentence says it all: http://bonsaiden.github.com/JavaScript-Garden/
Yes, I think they ought to provide both styles;

Providing the camelCase will allow whole swathes of JS code to be cut-n-pasted; that code would be legal Python as well as JS.
Where I work, we chose it. Could have carried on using PHP, could have moved to $otherLanguage. We chose NodeJS.
Side note: with the pending shutdown of iGoogle, I went on a hunt a couple days ago for replacements. Turns out myYahoo! more or less fits the bill, and some of the gadgets (bookmarks) are a bit better.

It's still a bit cluttered and messy looking in the UI department (and some things only work in FF not Chrome), but after 15 minutes I had 90% of my iGoogle page set back up almost exactly like my original.

This could be an easy way for her to get constant eyeballs on Yahoo! as I go to my iGoogle page at least 20 times a day.
CoffeeScript doesn't try to circumvent JavaScript, it tries to enhance JavaScript. Its constructs and clarity boost my productivity, especially in large projects. Though I wouldn't recommend it to someone who hasn't learned JavaScript yet.
> makes it quicker to write and improvise with new ideas,

I've never thought about that but could make sense.

> as well as its enforced whitespace, which makes it easier to write maintainable code.

This is something I've never understood and where I tend to disagree. When starting with "whitespace" languages like Coffee, Ruby or Python people initially are please with clean and tidy looking code but in the long run this code is not maintainable since all the white space makes the code looking not distinctively enough. In contrast, bracket based languages like C or JS give much better orientation. I can quickly see where code blocks start or I can immediately recognise functions etc.

> Lua, on the other hand, would be an excellent browser language

Totally agree
love that
Thanks for the reply, would you be able to supply a decent link or a quick explanation of how you calculate that? I'm more than happy to admit I'm wrong when I am - the scheme is to make sure all client passwords are different, though not in any way secure against an intelligent attacker - but I am keen to learn more about this, so that as with every discussion on HN, I walk away with a little more knowledge and a little less stupidity.
eihrul used to be very kind to me...

Also you can just go and fork it, like Hirato did (and created Sandbox) or the guys from Bloodfrontier.

In both cases they created the fork without eihrul wanting it, and after a while eihrul recognized their work and started helping them too.
Because a lot of people are greedy idiots?
I love this idea. I did a couple of toy searches and found some pretty great domain names. This sort've feels like one of those "Why didn't I think of that" ideas. Which means... Good Job!
> I think even JavaScript guru's generally agree that the language itself is actually pretty awful unless you know all of the legacy quirks and WTFs it is dragging along.

Are you confusing pure JS with DOM APIs and xbrowser quirks? Pure ES5 (or 6) is actually a very lovely language to work in, and now thanks to Node, we can.

Maybe I'm just so used to the quirks that I don't see them as a problem any more.
Darpa Can See You -- From 17,500 Feet In The Air
I've enjoyed working in an open-plan office until recently, mostly because of our growth.

As I write this the person next to me is on the phone having a distracting conversation (about one of our projects), someone is engaged in a dramatic battle with the nearby printer, two guys across the aisle are making jokes about a difficult vendor, some guests arrived, and it also sounds like someone is playing frisbee with plates in the kitchen, without much success.

At the moment my headphones can't help and serve only a symbolic function. Instead of fighting the waves of distraction I decide to roll with it an refresh HN...
In practice, we've seen its prototype-based OO functionality be a burden, rather than a benefit. In any sizable JavaScript code base, there is usually a lot of code and effort put into faking a far more sensible and practical class-based approach to OO. This often obfuscates the code significantly.

This is part of the reason why languages like CoffeeScript and TypeScript have become popular. They offer the tools that developers actually need, rather than just telling them, "you should be using prototype-based OO because it's good".
Yeah, and a key thing missing from these graphs is ease of movement. As far as I know, Australia is about the only country Kiwis can move to for work without requiring a visa, whereas the UK is getting stricter and stricter each year as it looks towards the EU rather than the Commonwealth.
I just interviewed with Microsoft in Bellevue and the offices were all open-plan. I thought Microsoft was famous for every programming getting their own private office. They told me their building was the prototype and all other MS offices were converting to open plan in the near future. They could have a revolt on their hands if that's true.
This. JavaScript is in many ways a step forward if you're coming from C++, PHP 5.0 or Java (and a step backward in some other ways, but ok). People sometimes use that reasoning to call it a great language, or at least to call JavaScript's Good Parts a great language.

Problem is, compared with other modern commonplace languages such as C#, Python or Scala, JavaScript simply loses on nearly all fronts. These languages all have all the points that the OP lists about Javascript, plus a whole bunch more.

Only when compared to the hot languages of the nineties is JavaScript a serious improvement.

That said, the fact that it's not awesome surely is no reason to diss it. JavaScript does have those Good Parts, and it isn't bad at all. Just not great either.

Still, i can't wait until we can avoid it altogether and consider it some sort of bytecode that those old hackers with mustaches wrote by hand, back in the day. In text editors!
Something is wrong here since Super P-force doesn’t help
Super p force is a revolutionary drug, which prevents premature ejaculation and erectile dysfunction in men. It is a combination of sildenafil citrate and dapoxetine, which uses to treat two major sexual dysfunctions.
Hehe. That sounds familiar. I have sound isolating ear-buds which do a decent job of blocking out noise. Somtimes, however, even my own music is distracting.

In a previous job my desk was next to the printer. You can imagine how that was.
Funniest Architect Help Wanted Ad
and pyQuery too - http://pypi.python.org/pypi/pyquery (btw it's a really good way to handle xml)
In my experience, people who don't have any complaints about Javascript don't know many other languages very well.
Devs: you should make JS your primary language. It's a complete wild west right now -- still lacking so much as a package manager for the browser -- but meanwhile, the entire internet is moving into a rich client architecture. Tools like Backbone, while useful, are very clearly not the platform we'll be using in a few years. It's a phenomenal opportunity to do meaningful work and be in very high demand.

Self promotion: I believe the above so firmly I went out and started a school for JS devs, Hack Reactor (formerly Catalyst). http://hackreactor.com
The only place I've ever seen this done well is at National Instruments in Austin. Working groups get their area cordoned off with high cube walls. I didn't work there, so I have no idea how well it functioned. But it looked reasonable to me. It had to be better than the open-plan cube-farm that I worked at.

In my old co's cube-farm, they even had a paging system where service/tech-support calls to certain individuals were blasted over the whole building. So, every 5-15 minutes you'd get a (BEEP - "Rick/John/Dale/Pam/etc, line 2" click). The paging-lady was very proper too, so she always used people's first and last name.

The HR people & bean-counters loved it because they got to watch everyone (real-time worker productivity analytics!). They never really understood why nothing ever got done on time; or why some people liked to work late, or come in early.

It was an old manufacturing business run by bunch of boomers, who hadn't been outside in decades, and who thought they'd made it a big (100 employees!) company (but in my mind it was a parody of). Another funny note, they'd built this place in response to growth, and planned/expected more growth. However, the building (new, purpose built) only had additional floor space for a few more cubes, so when the growth happened, they had to wiggle, shove, & stuff people into every nook and cranny they could find. Well, that was therapeutic.
I purchase the media I consume too. That's not the part that's archaic, necessarily. It is no longer possible to artificially constrain supply of desired intellectual property, and business plans that refuse to consider this are archaic. It doesn't necessarily mean that no one will be paying money for intellectual property anymore.
My Day on a Treadmill Desk
Clicking on the names of the countries doesn't do anything for me.
Try not to take it personally. Maybe you're not the target market.
Never mind I found your blog post.

http://www.dangrossman.info/2012/09/24/who-hosts-the-y-combi...
i'm sure he is talking about browser programming , what you do server side is 100% your business, nobody cares. And PHP is definetly not a good exemple as it is even worse than JS.
Oh yeah, I always found JWZ's tent-of-doom inspirational.
Apple launches 128GB model of its fourth-generation iPad with Retina display
Did anyone happen to post a mirror or have a cached version? I'm getting a timeout.
http://en.wikipedia.org/wiki/Password_strength
Reminds me of Islands in the Net by Bruce Sterling
Why Do Americans Hate Android And Love Apple?
The search for life below the Antarctic
We talk to Martin Siegert about his attempt to reach the subglacial Lake Ellsworth - the quest to find life below the Antarctic.

"These lakes are potentially extreme environments that have been isolated from the rest of the planet."

http://bit.ly/Wd1mGT
That was true for Keepass 1, but since 2 I think everyone can open it read/write? I think I'm prompted to "synchronise" when I save if another user has saved since I first opened it.
I hope some other sane lang compiled to js will gain traction e.g. Dart http://www.dartlang.org/
I work at a company which has open areas capable of holding from 4 to perhaps 20 people. The desks are on wheels. You choose where to work, where to put your desk, who to put your desk next to.

There are offices available, and if you want to you can put your desk in one. Few people do; the social environment is _really_ important.

Mobility and choice make a huge difference. People are smart and know the difference between environments that are supportive of cooperative work, and simple cheap-ass accountancy coupled with power games.
I'd rather have less sources of information in front of me than more. This just seems like yet another distraction.
If the evidence was that clear then you would, for example, expect some worker-friendly country like France or Sweden to have banned or regulated open plan offices. As far as I know, they haven't.

The problem is that an open-plan ban is not appropriate for all work environments. One example would be a hospital. If you can't handle the stress of an operating room (and many people can't) then you shouldn't be a surgeon. The job has intrinsic stress, and that's a factor in the compensation.

That's the fundamental problem with regulation and government intervention: it's hard to get the special cases right. An open-plan ban would be a good thing for the vast majority of white-collar office workers, but it clearly can't be applied to all work environments (medicine, military).

If I recall correctly, many countries do have lower limits on personal working space, usually in the neighborhood of 10 m^2. It'd be hard to enact a blanket open-plan ban because the concept isn't well-defined, but work space regulations are already in place.

An additional factor that is hard to regulate: the health load of an open-plan office seems to be a function of the person's age, position in the hierarchy, and the amount of personal space. Open-plan wouldn't be so bad if people had the recommended 200 SF (18.6 m^2) with barriers at their backs. At the typical 50 SF, with the person visible from behind and prone to managerial harassment, it's a catastrophe.

However, what you said about >90% health problems and 10-15 year worker lifetimes oversells and undermines what are otherwise very good points.

Perhaps 90% is high, but the going assumption people make when designing office spaces is that the typical open plan office (< 100 SF, open-back visibility) will increase attrition by about 10% per year for younger people and 20% for older people. How much of this one wishes to attribute to health issues, and how much to less serious garden-variety unhappiness, is somewhat of an open question.
Basically at the beginning, the EU was an inter-governmental construct (like NATO or the UN). It has grown into something more government-like, but those with power in the existing inter-governmental institutions don't want to give it up.