skysight-inc/HackerNews huggingface dataset:
Creativity: Myths and Misconceptions
Slightly interesting fact: The barmaid at the end is Sophie (was Roger) Wilson.

http://en.wikipedia.org/wiki/Sophie_Wilson
I hate omitting braces, but Javascript semicolon omission is a totally different argument. It's easy to show simple cases where omitting braces causes problems. It's actually quite difficult and artificial to find cases where (especially with "use strict") semicolons confer any benefit at all, and in some cases they make things worse (e.g. multi-line variable declarations). Also, "correct" use of semicolons in Javascript makes code less consistent (e.g. some function declarations end with a semicolon, others do not) whereas consistent use of braces is consistent.

I certainly see far more bugs caused by an improperly inserted semicolon than an improperly omitted semicolon, but then I'm looking at jshinted code most of the time.
I have explained Behavior Driven Development and its benefits here http://www.mehdi-khalili.com/bdd-to-the-rescue.

Hope it helps.
Emotional Startup Waves
I probably shouldn't post when I'm feeling ill and grumpy.
I think you're right about the driver. There's some more info about that here: https://wiki.freebsd.org/FreeBSD/mips/Octeon
Mistakes to avoid in mobile commerce
1. Overcomplicating your mobile homepage

The majority of your mobile traffic lands directly on your homepage, so you should direct visitors where you want them to go: deeper into your website.

Keep in mind that shoppers are interacting with your site via a much smaller screen, so having complex carousels or dramatic slideshows on your homepage can be highly distracting.

2. Convoluted checkout experience

Remember the last time you entered your name, billing information, shipping information and credit card number on a 4-inch screen?

The same cumbersome experience holds true for your mobile customers. That’s why, from a user experience standpoint, you should work to keep the amount of information required for checkout to a minimum.

3. Predominantly highlighting QR codes

While QR (quick response) codes may seem like an innovative mobile marketing tool, consider it officially old school.

Long story short, QR codes ask a lot from users, including the following steps: recognize QR code, pull out mobile phone, launch QR scanner app (assuming they already have one downloaded), perfectly align mobile camera to QR code, snap picture, submit QR code, wait for response, then arrive on desired website.
Camouflage Scientists Invite Gamers To "Spot The Bird"
I think it's a question of what kind of people you come into contact with. I'm from the 'web' world, and for many web sites, the whole fault tolerance thing is not that important in the grand scheme of things. Look at Twitter, for instance. Despite starting with Rails, which is really not the right technology for the kind of system they have, they managed to kind of stumble along until they got more appropriate systems in place. And most web sites have nowhere near that need to scale or be always available.

I think that in an area like telecoms, it's of course more likely that people care about that a lot more.
> People bitch about indentation in Python

Really? I did something in Python for the first time a while ago and the indentation as code block is something I find very elegant. I can't fathom why would people find something wrong with this.
Definitely don't need determinants to learn everything you need to know about eigenvalues.
> Don't C compilers warn about code that is never executed?

Not by default. On both GCC and Clang this kind of error isn't caught using -Wall or even -Wextra - you have to explicitly opt-in using -Wunreachable-code. It'd really be nice if that changed and Clang basically had close to -Weverything on by default and required you to opt out, preferably with something like `#pragma ALLOW_SHODDY_<category>` per file to put some pressure on C programmers not to just continue ignoring errors rather than fixing them.
"#2 Hard work beats Talent when talent doesn’t work hard."

Interesting. So which is more important, working hard or working smart?
I personally don't like how he uses the term "system" in place of "mapping" or "transformation," but they're some good notes
It could actually.
Exceptions and RAII are not resilient against typos and programmer error.
If the exception handler caught the wrong type, for example catching by value instead of reference, instead of having a catch(...) it would have the same problem as the above. It's harder to spot this sort of error than a double goto and incorrect parentheses - because you have to check the code that throws and the code that catches.

Admittedly in the scenario I lay out - what happens is an error is thrown and not caught, rather than a check being skipped, but the net effect is equivalent - and it takes 1 character out of place to invoke.
Sounds like an interesting concept. Few thoughts:

- You would need a large user base to get enough momentum for all of the voting and rounds.

- Wouldn't the user-voted platform have the potential to produce a candidate that appealed to an individual equally or even less than existing candidates?

- I don't know if this is the kind of thing which people would put money into on Kickstarter.

Would be interested to hear other peoples thoughts.
At my current job i'm working a lot with angular, so I figured i'd dogfood it a bit more and rewrite my previous chrome extension (not published in the store) in Angular.js to learn more about the services/directives/controllers part.

So after 2 weeks of work in my spare time, some features:

- Add your favorite series, and view the schedule on the calendar

- Completely built with angular.js and bootstrap, no jQuery as of yet!

- ThePirateBay.org search for downloads of episodes that have aired

- Batch mark-as-watched function

- Local storage using via SQLite by using my new promise based CreateReadUpdateDelete.js : https://github.com/SchizoDuckie/CreateReadUpdateDelete.js/tr...

Upcoming:

- Configurable sources to scrape for new downloads (Private trackers, rss)

- Auto-notify of new episodes available for download

- Subtitle integration

- Minimum Quality selection for download

- More improved design

Check out the public angular branch of the git repo if you want to see the inner workings:

https://github.com/schizoduckie/seriesguide-chrome/tree/angu...
Learn How to Hide WhatsApp 'Last seen at' Time
How so? It would seem to me to say nothing on the issue. The added hardware may be a mix of profitable and non-profitable machines. The question is where is the equilibrium now and over time?
There is such a tool, clang-format in 3.4 does as you expect.

This is what happens if you try the same thing in it http://imgur.com/syt6LuU.

I have emacs setup to auto run clang-format on each save of cc-mode files. I can't NOT notice this stuff now.
> Why exactly should Steve Jobs be on a stamp?

Iconic figure of the late 20th/early 21st century IT revolution?

Led a company that was involved in multiple hugely-successful, era-defining products (the Apple II, the Mac, the iPod, the iPhone, the iPad) along with many industry leading products (the Macbook Air and iMac to name but two)?

Had a unique management style - I don't mean the unpleasantness, I mean the laser-sharp focus on a few product categories and on pushing smart people to deliver amazing things that even they didn't think they could deliver - a management style which everyone tries to emulate in some ways these days...?

Founded, built up, was kicked out of, came back into and rescued what became for a little while the most valuable company in the world by market cap?

Any of the above is reason enough for a postage stamp, of all things. All of them together seem to make it a no-brainer.

And yes, Bill Gates no doubt deserves a postage stamp too - but I'd argue it's for his relentless delivery of Microsoft's mission: a computer on every desk and in every home. They achieved it and they changed the world with that.
I would be shocked if this doesn't apply to the email client as well.
There is no excuse to bypass static analysis nowadays. At very least should be part of the continuous integration build.

The problem are the many developers that still think they are perfect and know the full C standard, including undefined parts.
On FreeBSD, screen is available in the sysutils/screen port: http://www.freshports.org/sysutils/screen/
The downside of this right now is that there are no binary packages for mips64 and there is no space on the device to store a ports tree so you need to cross compile everything.

I am running gentoo on mine at the minute, I did have FreeBSD on it for a bit.

I tried a larger flash drive but the driver doesn't like it and won't mount the root partition, need to find one it likes. Or use nfs/smb but that is a pain.
Sadly it could, because of the C compatibility you can never be sure if a developer wouldn't write something like this.

The same applies to any other language that allows for copy-paste of C code.
In what possible reality was this not the inevitable outcome? The "enough eyeballs" aphorism makes for a nice soundbite but in practice was always a red herring.
And since this is HN, you probably wonder where the ICQ founders are now? As far as I know, 3.5 out of 4.5 (one quit early) are busy having fun and enjoying life, and the remaining one has since started and sold companies for $100m each at the rate of about one per two years.
We're all famous now.
WhatsApp makes $1/user/year after the first year, and appears to keep users around pretty much forever because it's such a good deal.

So that's a revenue that, today, is probably a sizeable fraction of $400m/year. All that with a few dozen employees.
"If you're on OS X Mavericks or on iOS 7 and haven't patched"

how do I patch on OS X Mavericks? Software update shows nothing to update
So how many Americans will be described as X American where X is any other country? How about European American? If not, why not?
There's also a Leonidas up at Madison & 52nd - don't remember the prices there but definitely on the higher side. And well, we both know what Godiva really is...
Updating Kara's Python
Sure, the idea is not new.
Using the compilers libraries and internal representation to re-format your code is new, though.

You want the compilers knowledge of the code for this, e.g. while formating C++ template mess.

There's a tight integration into the actual toolchains, which is a good thing.
Trying to get teams to agree on the code style is the hard part when using such tools. `gofmt` somewhat avoids that by defining one true way and only giving minor customization options.
When will you release the game?
Worth $1000 Amazon Gifts: MongoDB Bug Hunt for Database Lovers
https://www.youtube.com/watch?v=sIcAyFVK0gE
Polymer Muscles from Fishing Line: 100X Stronger and $2/lb
Worse, lint was part of the original C toolchain, but very few people cared to use it, because they couldn't be bored to tune the tool to their projects.

This is the type of error that any static analysis tool would easily pick.
Do you use any open source libraries at work? Are they flawed? Write good bug reports and get involved in the community. It's not building up a patch portfolio (I should trademark that) but it shows that you're paying attention and care about quality.
I'm not a lady (or woman) so I can't speak for them, but you certainly managed to offend me.

> Women are usually pretty awful programmers and engineers.

People are generally awful programmers. Don't know that many engineers, but I've certainly met a few good engineers of both sexes in the offshore industry.

As for female programmers, most of those I've met or seen the work of are on average much better than men -- but that's probably just because I've seen more code written by men (and also more crappy code).
The article contains a similar test: https://www.imperialviolet.org:1266
Concept #1: Opportunity Cost: Everything has a cost. Everything. At a minimum, it is the foregone time you could have invested into other activities rather than the thing that you've chosen to invest time in. Even if you had unlimited funds, you still have to chose what to do with your time, and that's frighteningly finite. Realize, therefore, that you are always giving up something, and choosing to be weak in one area in return for being strong in another. No one is good at everything. No one has it all.

Concept #2: Labor-elasticity relative to wages/money can be negative, and that's ok. For those not keyed in on economic mumbo-jumbo, that simply means that having more money can result in people choosing to work less. First year economics people (and i'm assuming many young, and HN-types) assume that everyone will do more work for more money. But money is not the point, and unless you're neurotic and insecure (and most people who chase money are), there comes a time when you realise that maybe now that you've got money, you can instead use it on the things that really matter rather than trying to get more of it. And work, on the whole, is not the shit that matters...

Concept 3: Be humble and self-critical. Humble to realise how fallible and pathetically human you are, so that you don't beat yourself or others up too much, and how much luck had to do with any success that comes your way, and how much it has to do with a great deal of suffering that comes the way of others. Self-critical so you can deal with, improve upon and compensate for the flaws you realise you have.

Bonus concept 4: Learn from the things stupid people do so you don't do the things that make them stupid. Their sole purpose in life is to act as a warning to others.
I'm seeing a positive (yes the bug is there) on all my Apple devices, including my OSX laptops - laptop sees the bug IF and only IF I browse using Safari. Chrome and FF browse to your page fine on the laptop.

I've not seen any information about fixing this issue on OSX. Have I just missed it in the noise about the iOS fix?
I think that they should choose the most widely used document format. If that's MS Office one then so be it.
Note that I rather specifically said "acceptable" code. That means "not good, but not terrible". Acceptable can be mediocre. But it shouldn't ever be bad.
Nice and minimalist service. But it would be good if it gives following;

1. Information of browser used
2. Take snapshot after few more seconds delay to loading page (otherwise dynamic content keeps loading in snaphost).
The German tank problem applies when all the alligators come pre-tagged with serial numbers :) Capture-recapture is a slightly different problem: https://en.wikipedia.org/wiki/Mark_and_recapture
Unfortunately OSX does not appear patched even in the latest developer center 10.9.2 build (13C62). Tested in both Safari and OS-distributed curl. Chrome/Firefox of course is still fine since it uses the NSS stuff, but plenty of OS services use the OS crypto. (I'm violating NDA by commenting on pre-release Apple stuff, of course.)

Windows or ubuntu bootcamp until they fix this, I think.
Unlike many others, I really liked most of Unity. However, I never liked the menu bar always being at the top of the screen. I think that changing the menues to being attached again is a good thing, and I like how they integrated it to hide in the title bar.
There is no patch for Mavericks out yet. :-(
How is this code not covered by a unit test?

I'll admit I don't think of myself as great at unit testing, but the first thing I do when writing one for a new tool or class is use a code coverage tool to look for uncovered lines and once I have written a few basic behavioral tests I write tests to exercise and validate the output of the uncovered lines.

This ensures that the tests I write to cover the public API don't miss catching internal behaviors that require more subtlety to uncover.
XAML is much better then both.
We need to assess people's capabilities so we can try to allocate our resources as best as we can, especially when facing changing circumstances and limited budgets.

When assigning work, I need to know if one programmer is likely better than another at a given task. If Dave tends to work more efficiently with C++ than Gupta does, I'm going to give the C++ work to Dave. If Gupta tends to work more efficiently with Visual Basic than Dave does, then I'm going to have Gupta maintain the old Visual Basic apps.

This is business. We're here to allocate our resources, be they money or people, as best as we can in order to get the greatest return. Professional programmers will set aside their emotions in order to achieve this goal, and will accept being judged as part of the resource allocation process. They realize that this isn't some fantasy where everybody is happy all of the time, and nobody's feelings get hurt.
I guess you are right, because it has NEVER being done and it is really hard to do, we shouldn't do it.
You can already do this here - https://www.imperialviolet.org:1266/

On OSX Firefox and Chrome fail and Safari happily loads it. Yay for not using system crypto libraries.
My German text explicitly distinguishes Swiss and German tipping culture. It agrees that rounding up is correct in Switzerland, and says to add 10% (and potentially round up after that) in Germany.
Not a direct answer to your question but ...

You should probably find someone in the Open Source world who is willing to mentor you for free and you could contribute code to their project (thus building a profile for yourself).

I myself am not very good in C++, but the more you program, the better you become. You may need to read Exceptional C++ by Herb Sutter and some other style guides and other books including Modern C++ Design by Andrei Alexandrescu and C++ Templates : The Complete Guide by Josuttis and Vandevoorde. The Stanley Lippman book mentioned in another comment is also very good.

I work on an Open source project in C++ (but it's also got yacc and it's a compiler (so it may be a high barrier for you, but if you'd like to give it a try I would be happy to help for free) ), and I dont think I am good enough to mentor someone, but you should be able to find an Open Source dev who will mentor you, if you agree to contribute back. This way you can save yourself some money and build a profile at the same time.
His father was Arabic, not his mother.
fucking owned
I have gone somewhat overboard with my comment.
Apologies.
it's relatively harder to refactor code - you can't just select between { and }. otherwise, no idea - python is my weapon of choice, so i may be biased.
...if you have a leafblower, you have no need for a chainsaw...

Yes, but a leafblower combined with a chainsaw...

I don't know about you, but that's a tool I could find some uses for.
WTF? Steve Jobs was not adopted from Egypt.
Why would you use this instead of a warp wallet?

https://keybase.io/warp/
No OS X patch is available yet. :-(

Chrome/Firefox shouldn't be vulnerable.
Sounds interesting. Do you have a github and email?
> How is this code not covered by a unit test?

...or an integration test. or a functional test.

When you write an SSL lib, I suspect that at some point you ought to test that it checks f%^&ing certificates :/
I've been running Gentoo Linux on my EdgeRouter Lite for a long time now. <https://wiki.gentoo.org/wiki/MIPS/ERLite-3>

I must say: the ERL is terrible hardware.

You can get some performance out of it if you're using Ubiquiti's kernel, because it ships with a series of highly specialized proprietary modules that offload packet handling to hardware accelerated modules, for their custom proprietary network stack. But their kernel is old and shitty, and if you want to do anything interesting with the ERL, you have to build your own kernel.

So for any mildly interesting usage, it fails considerably hard.

And even if you do opt to use their closed-source binary blob kernel modules and software stack, as soon as you try to do any sort of advanced networking, you run up against the limits of their acceleration modules, and the OS is forced to fall back to standard non-accelerated mode, and performance drops. Try using PPP, any interesting iptables, MPTCP, OpenVPN, interesting routing tables, or anything cool: performance drops.

I would be very happy to see some small networking hardware with multiple independent Ethernet controllers pop up on the market for a decent price; every other month or so my disappointment with the ERL moves me to re-research this. Unfortunately, the EdgeRouter Lite is not the hardware anybody wants for interesting low-cost networking.
A P/E of nearly 1000x, yet falling price? Perhaps some of them still haven't cashed out? So drive this stuff like mad to get another "good" quarter and win?
Can't agree more. If people can't see what you're talking about, they're probably vulnerable to it. They're buying what that manipulative effort sells.

I totally find her gestures and the shots pretentious. I believe that's a part of her sales pitch but it didn't have to be, because the book idea is already good enough to sell.
euuuhhhh, are people really not been taught this?
Eigenvalues/Eigenvector, space rotation, n-dimension dot product with missing dimensions, LU/RU system ...

How can people do computer science without this knowledge?
It is needed for

1) solving equations;

2) transforming 3D vector and then projecting them on a 2D space (a screen) ;

3) text indexation;

4) resolving graph problem (like drawing a CPU based on declaring connection between "wires"...

5) and with dual space you access even more fire power (fourier, laplace...);

6) clustering db is homeomorph to a balanced n-partition of a graph;

Geometry is one of the most powerful tool prior to the knowledge of any programming language in computer industry.
I will admit that I am probably making a pretty sweeping assumption here... but I'm assuming Netflix previously had the same access as everyone else on the Internet, from Comcast - and now, they do not. They have BETTER access.

To me, this is disturbing. Surely there is some financial incentive for Comcast to do this.

It seems to me that this is exactly the kind of thing that the whole "net neutrality" issue is trying to prevent (i.e. back office deals that give one content provider better access over others)

Or... am I just missing lots of things? (wouldn't be the first time!) :)
nature and nurture... you can't dismiss either. one is your genetic wiring (hardware) and the other is your indelible early childhood experience (firmware) ... and then there's your re-programmable self (software) ... His bio father being from that part of the world means his dad's genetic make is probably shared with 14% of Semites (Jews and Arabs of that area), 75% of south east Turks and southern Greeks, and 10% of sub-Saharan Africans. This is by no means an informed analysis of his dad's genetic heritage. Just an educated guess.
This is a good example of why static analysis is so useful. Testing this in QA is a non-trivial problem but simply adding a compiler flag would report it.
I started making this before agl released that, though he had that up before I finished.

Also, upon closer inspection, mine actually works differently from agl's.
Looking at that screenshot, one question:

What do we drag stuff with now without setting off a menu?
Adding another entity to rely on to hold funds "safe" just adds another link to the chain that can die, disappear, change it's mind and be broken.

I personally love how Electrum wallet does it:

You may generate and regenerate wallet using only key word phrase. Keep it safe in memory or in bank deposit box.

No backups needed. You may always regenerate wallet by keyphrase.