skysight-inc/HackerNews huggingface dataset:
Well, here is an example of a blatant lie that Apple put in a newpaper magazine a long time ago: http://i.imgur.com/qq19rcD.jpg

The famous "we invented the first personal computer system". I guess nobody can never believe anything they say again.

Steam should probably stop selling games for OSX and Linux, as they don't represent anywhere near 20% of the market.

Or should we just cherry pick some stat where they are over 20%? Let's do that with Windows Phone 8 too then. I'm sure they are over 20% usage of something, or will be soon. >20% usage of One Note?

Or we could just judge technology on its merits, and take everything technology sites say about all of this stuff with a grain of salt.
Nor does one have to when using JavaScript. Crockford's recommendations are a good starting point for new JS developers, but they're not the word of God on the subject.
I've been looking at exactly this issue this last week. I have a logo with a gradient and a small border outline for increased legibility. I'd much rather do this in html/css than as an image, but I'm going with an image for now since these text features are a moving target.

I agree the examples are a little garish, but if you look around, most logos are some mix of these attributes (font, stroke, fill). And it would be much easier (for me) to resize and update logos in html/css than to have to supply 3 or more versions every time I need to create or update a logo.
He is not arguing that they are not being built. He is arguing they are not going scale well going forward. The vast majority of stored megawatts is pumped hydro, solving the energy storage problem would greatly speed our transition from fossil fuels.
TLDR: More fresh air is good for kids; the fact that it's cold outside is irrelevant if they have enough clothes. Well what do you know?
Have you tried reddit?
No, I didn't (see my other comment). I expect (especially Haskell) to be correct without -O2 -- being slower isn't a problem - crashing - not so much.

Tried it now -- both haskell versions crash with -O2 as well (and ab -n 100000 -c 1000 -- so not the same benchmark as the original -- and a rather silly test).
Pirating the Oscars
The first one will be hoisted to the top of the function (the whole declaration), the second one won't (the variable will, but not the function expression itself).

EDIT: To clarify:

All variable declarations in Javascript do indeed get hoisted to the top of the scope, but with function declarations even the function value itself gets hoisted. So for instance, this returns 'two':

function foo() {
function one() { return 'one'; }
return one();
function one() { return 'two'; }
}

foo();

But this returns 'one':

function foo() {
var one = function one() { return 'one'; }
return one();
var one = function one() { return 'two'; }
}

foo();
incidently, 3 of the 4 are still moderately common

I assume you're talking about Algol as the one not in moderately common. But the lisps, cobol and fortran in use today generally isn't the same as 50 years ago (maaaybe legacy cobol/fortran stuff is?) - especially the lisps used today (mostly common lisp, scheme and new lisps like clojure) are very different from what they were 50 years ago to the degree that they are really entirely different languages. I'd go so far as to say that lisp is not moderately common anymore, but that languages called Scheme, Common Lisp, Clojure etc are. Saying that Lisp is still moderately common due to these languages is no different than saying that Algol is still moderately common - or rather, Algol dialects known as C, Ada, Java, C# and so on are.
> list of gotchas that omits discussion of falsiness

This was something I picked up pretty easily (blame perl, I guess? I blame perl for lots of things.) The weird way in which coersion would interplay with {truth,fals}iness, however, took much longer and involved much weeping and gnashing of teeth.

> And the throwaway comment about JavaScript being poorly designed is facile and annoying Every language anyone uses has warts.

Agreed. The post was helpful (and the link to Crockford's book is arguably the single most helpful thing in the list) but the off-hand comment about ES being poorly designed didn't add anything to the discussion.
The gotchas are fine, but the explanations are very poor. I'd like justifications or references.

I would prefer Ben Alman, Douglas Crockford, John Resig, Paul Irish, or one of the many talented people writing about javascript if you were actually interested in understanding the gotcha's on this list.

Also, I wish authors would be careful to distinguish js from jQuery. Yes it's standard now, but preferences change with time.
"Since I didn't pick and choose my battles, my boss now assumes anything out of my mouth is an over complicated response"

Assuming that the OP is actually correct in his suggestions (I think everybody else has covered the other option ;-) - this is a sign of another problem. Not being able to communicate. Not being able to lead.

Communication and leadership - especially to people outside of your area of expertise - are skill. It needs practice to get good at it. Being right doesn't matter if you can't demonstrate to others the value of what you're saying.
I actually don't like ketchup, but I'll use Huy Fong Sriracha as a ketchup substitute. It's got the sugar like ketchup, but it has additional flavor than just your standard ketchup bland sweetness.

What I think Tabasco excels at is dishes that traditionally are served with vinegar. The best example I've had is greens, like spinach or collard or turnip.
Two new initiatives would help:

1. Start taking steps so the environment is much cleaner within 10 years.

2. Start an initiative to better treat and cure cancer(s) within the next 10 years.
Holy crap, that would be AWESOME.
I really want to develop for Android, but I hate Java with passion, and Scala doesn't seem like an option.
Fair enough. I don't really hang around in enterprise circles any more these days; I can readily imagine that the new windows phones are filling a role there.

And it's funny you say "hip iphone kids". I'm well out of the "kid" generation but I think the iphone has lost quite a bit of coolness this last year. They're just all the bloody same. I don't think I'm that big a snob but even I feel a pang of annoyance when I notice some bratty little schoolkid pulling out the exact same model phone I have. I get the vibe Android is considered a bit cooler now; it's certainly considered more individualistic.
Does that mean soegaard is a level 3 master wizard -- since he caused you to make this alternate analogy? ;)
"Why did that article need to be spread over ten pages?"

ads and reportedly Google Panda rewards these tricks (theory is that by clicking on many pages instead of one means you like the sites)
Great having one bringing a balanced view on Go and showing that Go is still not ready for production when used with external libs. A refreshing take in this overhyped thread.
What? I have no idea what you are talking about. Both get hoisted to the top of closure scope...
If I received this email, I would probably delete it immediately. I probably wouldn't reply to any follow up messages either, I'd just delete those as well.

No advice here, just letting you know what I would have done if I were the recipient.
No, that means that you should adapt your business model to market reality.
Starts?

For anyone that's not heard of Hanford before do look up its significant history.

Speaking out of turn I've probably met an anti corrosion engineer that might have worked there as part of team looking at issues to do with long term storage and after a few drinks there might have been a lot of head shaking. [1]

[1] http://nuclearsecrecy.com/blog/2011/12/09/friday-image-the-h...
Just relax. The chances of some random email address's owner being an identity thief is incredibly small. Not everyone is capable of abusing those documents.
> Why does the message point you to emergency.mit.net? IS&T has secured a mirror image of the emergency page on servers physically located in other off campus geographic locations. This is important in the event that a problem on campus made the MIT servers non-operational. The “.net” location would allow you to have access to the information relative to the emergency on campus.

From: http://emergency.mit.net/emergency/whynet.html
It's not ideal, but those are the rules of the game. Optimize with these constraints, don't hope that doing or charging what others do will work. It's pretty clear to me that this product is worth more than a buck, and I don't even know what it does.

There's nothing to feel sorry over in this case. These guys were blessed (non-denominationally, of course) with a product that people want, and aren't able to capture the value in it. That's what running a business is all about. The product is only one (albeit large) component.

And this isn't irreparable. If too many customers breaks you, you're in the wrong business.
The answer to "Why are there so many different ways to declare a function? What are the differences?" doesn't really answer the question.

No error:

<script>

myFunction();

function myFunction() {};

</script>

Error:

<script>

myFunction();

var myFunction = function() {};

</script>

A correct answer should explain why this happens in order to understand what the difference really is about.
Depends on your definition of "core functionality". Some things stop being core because they're recognised as antifeatures and avoided. This includes huge swathes of many languages that don't get off-handedly derided as often as Javascript.
Reddit is the obvious one, especially as if you sign up you can get rid of the sub-Reddits that don't interest you or are too noisy (e.g. atheism, politics, world news, videos) and subscribe to only those that suit your tastes.

If you want something a bit more high-brow and substantial out of the gate, however, MetaFilter is a classic example: http://www.metafilter.com/
Exponential decay as an alternative to circular buffers
Here is the archive for the Unix Hater's mailing list:
http://www.mindspring.com/~blackhart/

Download it and, in the first half of the (long) archive, you will find the users raising holy hell at Eric S. Raymond for what he was doing to the Jargon File at the time.

Raymond had changed the anti-Unix jokes, substituting MS-DOS for Unix in each case. The users of the mailing list would have been happy with Raymond coming up with original anti-Microsoft jokes, but were justifiably angry at Raymond for re-writing history.

I don't have quite as bad an opinion of Eric S. Raymond as do some people around here. In particular, his idea of Kafka trapping is insightful ( http://0-esr.ibiblio.org.librus.hccs.edu/?p=2122 ). I do note the irony of a libertarian who gripes at the distortions of the mainstream media having done a bit of media distortion of his own.
Domain Exchanger - For Exchanging unused Domains
Oh duh, I'd forgotten about that. One up vote for you sir! Thanks
Javascript is probably an excellent example of something written without any consideration of how it would work at scale (which is exactly what we tend to promote). The idea of it suddenly being used for writing single page applications and entire UIs, and now servers and god knows what else, was probably unthinkable at the time.

It wasn't that long ago when all JS did was put snowflakes on a page, or trails of fire behind your cursor, or annoying sequences of alerts and prompts. And it was called DHTML.

Were it possible - in the 90s - to anticipate the recent surge in popularity of JS, maybe we would have had a totally different language.

That said, these 'gotchas' are just part of learning the language. Same with PHP really. With a sufficient level of experience you tend to forget they actually exist.
Blogger Claims Eric S. Raymond has “Severe Mental Problems”
Or they could release version 2.0 as a separate app.

But then again: It's all speculation because we don't know how Twitter would handle those cases. And being at the mercy of another company is a really terrible position to be in.
Speed matters. How to make a forensic image as quickly as possible.
Maybe, but I feel it's a little more the result of developers feeling like marketing is pushing their product on someone. I think the perception of posting something someones done on HN is more here's something I did, what do people who know what they're talking about think about? Where as they see marketing a little more like, how can I tryick this user into using my product.
The Maker's Order
I'm all for never overestimating the technical literacy of one's users, but .. really? The average person doesn't even know they CAN zoom? That seems an "ignoratum too far", like not knowing they can alter the volume on their stereo.

Average desktop user does not know how to zoom. I have done hundreds of usability tests and user observation in my time - the number of folk who know how to zoom text is vanishingly small.
Obama White House expands access to federally funded research
"Police responded to report of man w/ gun inside building on Mass Ave. Police searched building w/ negative results."

http://twitter.com/CambridgePolice/status/305324628149153792

Also, follow the Tech's coverage here: http://twitter.com/thetech
Your examples are all cases where someone creates social stress by reacting poorly to avoidable, stressful situations.

Your goal seems to be to hire people that will put up with these avoidable stresses.

My goal is to build an mature workplace where we avoid creating unnecessary social stresses by applying collective wisdom and experience to plan ahead.

This is one of the many difference between engineering and hacking.
How will that fix the problem at all? Will me changing the source code of my local copy of the source code somehow lead to the ads disappearing on SF, or me having to do less clicks when trying to download one of the six projects that still use SF for their hosting?
Reminder: Nine Mac Apps, Including TextExpander and Path Finder, for $50
Local restaurants in my area, depending on the type of food I feel like.

When I want sushi: http://www.dakesushi.ca/

When I want Chinese: http://chinalegend.ca/

Steak: http://www.charcoalgroup.ca/main2.cfm
No.. that's an artificial scarcity for resources your business needs.. not a scarcity for a product people will want to pay for. So there's nothing to thank.
Could we just get a petition going or something to get this sauce in condiment packets? Last time I asked they didn't do this. No idea what the impediments would be (supply constraints? Fermentation?)
Hopefully I've replied to everyone who emailed. So sorry if I missed anyone.
1. Not a good idea in my opinion. 2. Large companies would prefer to be pitched on the value of your site than to have fake profiles setup in their brand image/likeness without their approval. 3. You could create a fictions profile of a company that doesn't exist as a demo of how your service works to help them visualize it being them.
>> "Closures are a concept that appear in pure functional languages like JavaScript"

Err.. since when did JavaScript become pure functional?
Multiplexing on top of TCP
The solution to these problems is for everyone to be completely ignorant of any character encoding and just deal with octets. If the characters represent UTF-8 text, then only when text needs to be presented or interpreted in some way, UTF-8 decoding happens. Any automatic encoding or decoding of UTF-8 (such as what Python3 does) is stupid.

EDIT: A common example of implicit and wrong handling of character encoding is when a file gets created with invalid characters, and your Linux file manager is unable to delete it. This can happen because the file manager assumes the file names it gets from the OS are text, and which it decodes incompletely. When it wants to delete the file it encodes the text back, but the result is different than the original file name bytes. The error happens because the file manager tries to decode the as text too early - it should keep the original octets as a reference to the file, but only decode them when it needs to display a file name.
Isn't "am going" a "present tense".

"Going" is a special case of subject+be+gerund. In modern colloquial English, anyone who says "I am going to X," means, based on context, either "I will be going to X soon" (i.e. a committed future action), or "I attend classes at X". If you want to talk about a concurrent action, you have to say either "I am going to X right now," or "I am on my way to X."

Again, this doesn't apply (AFAIK) to any other gerund. e.g. if you say "I am walking to X," it means you are currently in the act of walking to X.

English is weird.
There's a plugin available for Visual Studio that does something like that: http://visualstudiogallery.msdn.microsoft.com/4a979842-b9aa-...
I Can't Find a Single Productive Use For My Tablet
While I do hope this turns out to be a false alarm as below, the fact I know about this from the UK and can mail my friends visiting to check on them is to me seeing the glimmers of a worldwide immune system for humankind, able to react instantly.

Again, do not wish to detract from a potentially dangerous situation - just from 3000 miles away my second reaction was to be glad our grandchildren will live in a qualitatively different world.
At work I'm known for having a weird sleep schedule (usually 18:00-02:00, though circumstance can push that out occasionally). I've similarly found that my days tend to be more relaxing and more productive since adopting this schedule. I suspect that the value of this schedule is inversely proportionate to the number of those who adopt it.
That would throw me into deep depression from loneliness since my social activities outside work are in the evenings (since that is when other people do that kind of thing).
That's silly.

Javascript doesn't mandate that this regular expression be slow. In fact, in Safari and Firefox on OSX this regular expression runs fine. Chrome OSX fails but I remember it running fine in Linux yesterday (but I might be wrong.)

1) Back references do not mean you need to have exponential edge cases for vanilla REs

2) There is no one true way to execute an RE. There are good ways and bad ways, though.

3) The Thompson algorithm does not preclude non-regular extensions.

Anyway, just wanted to add the rsc link to the discussion :)
That's as may be, by making their event t-shirt, they're saying "our demographic is people who would wear this." If you're not in that demographic you feel isolated.
Good that the man was not found there(in a sense that no one was harmed).

I still would like to understand few things.

Of course I shall not be able to understand how it feels to have a gun when you want it(and afterwards take a decision on how to use it. To defend yourself or flash in malls or kill children for fun or out of depression) as I live in a country where having fire-arms is either a luxury for powerful and rich (mainly because of license red tape and high license fee) and operational equipment for criminals.

But I still don't understand that how can guns be allowed in such a manner when they don't let you handle a gas cylinder at a public place or a take a metallic fork on an air-plane. I mean I just want to understand the logic behind it, if there's anything other than the logic that "the gun lobby makes sure it's open" - just like the tobacco lobby the world over even though it's perfectly clear that it causes cancer(i.e. it kills).

I mean this just doesn't add up. There's some reason you have police, military, para-military and federal agencies so that citizens don't have to handle this aspect of security.

There's one more doubt - is it as easy and as simple to get a gun in USA as it's projected in films or in the media? That looks like going to a store and asking for a new mobile handset. Maybe the latter is more complex.
Yeah, whilst he mentions work and school, there's nowhere to just be social with people in that schedule. What do you do if you want to go to the cinema or the theatre, or just the pub?
Free iTunes Gift Card Generator Online
Even when it is you merely some cash to complete a download, it could effortlessly mount up ought to you be searching for a severe substantial quantity of songs to appreciate.
I hope to see the day where the web is language agnostic. Why the hell do we have to be tied to one single language?
i'm pretty sure that choosing to wear a t-shirt that suits your own personality is totally okay, and indeed kind of the point
I'd like to have the tex, to translate the letters to blocks before doing image processing, but it's almost as good to simply convert it to a binary mask, and then "dilate" or "grow" the pixels. I think it makes it a simpler problem both in processing time and conceptually. Not sure about how I'd decide, identify what vertical lines to pick out, there are a lot of choices for that.
At every job when I started no one knew me yet and I didn't push for change. I focus on simply doing the best I can do and after you deliver high quality software (or whatever you are doing) and push out small ideas the actually improve things you get usually get a reputation as someone who is worth listening to. Then you can push a little harder. Until then you can't do much. Evidence of being smart is always better than claiming it.

I once had a 5 week contract at a University where I saw everything the group was doing was a horrible security nightmare but the manager had no interest in anything I might say and made it clear; by the end after delivering way more on my part than anyone thought possible suddenly the manager wanted to know everything I had to say and then made sure it got fixed.
i would wear a t-shirt that said that :)
Is there a risk that this would increase the account's "spam score" with Google, and future emails might get unnecessarily flagged? I have no clue how they determine what's spam, just something to think about.
Derailing the derailer? Maybe so.
It's pretty simple-- As an American, I have a right to the life, liberty, and the pursuit of happiness. I don't want to give up any rights I don't have to. That includes the freedom to buy and carry a gun.
The problem with grunt is that it doesn't detect if files have changed, it therefore does not replace ant, make, scons or any of the other build tools that don't build things that don't need to be built.
I don't doubt you're right — it makes me think of some of the legacy portions of Object Pascal — but can you give an example or two of what you are referring to?
phones are more expensive
Appointing a Technology Advisory Board - Etienne de Bruin
> Cannot decide which is a worse language, Javascript or PHP.

If you discovered that the answer was one or the other, would it make you a better developer in any way? Would it help solve any problems the world has?

Perhaps you should look more into why the "Gresham's Law of Programming Languages" exists. Maybe the have better documentation, a more friendly user community. Maybe they fix more real-world problems and spend less time mentally masturbating over programmer porn.
I've also been doing this for the past few months. Only difference is I have to get 10-12 hours for some reason. So it turns out to be either 12pm-12am, 3pm-3am or 5pm-5am. All of which are great.

I think the greatest merit of doing this is not being tired when you start your day. When you wake up at 8am and go to class or work at 9am, your brain just hasn't had enough time to wake up. I've failed many exams for this reason. Now when I take my exam, I've already been up 8 hours and I even get all that extra time to study.
مشاهدة مباراة الاهلى وليوبار بث مباشر
FTA "COBOL code was written on paper, sent to a punch operator, who would type the punch cards"

Nitpick. When I learned COBOL in 1990 we had terminals, typed the code like gentlemen.

What they taught us was 1) flowchart the process 2) write it out by hand on graph paper 3) type it up.

I still use flowcharts. Not all the time, and not well: that kind of thing works much better on fan-fold paper!

But it helps me keep the logic I had in mind as I bang out code.
Tingo - Pick 3