skysight-inc/HackerNews huggingface dataset:
I just realised that the statement "it's still an if-then construct" illustrates a common problem among people practising OOP: conflating implementation with interface.

The OR is not an if-then construct. If anything, the if-then construct is a specialised use of OR, given than if-then-else is literally XOR.

Both are an implementation of the interface "coalesce a value with null/0/false".

I only mention this because it points to a lack of precision in our thinking which I see time after time get in the way of using OOP/OOD effectively. Maybe that's a failing of OOP, but I think that if it were, it'd be a failing of programming in general, too.

This helps explain why I teach OOP the way I do: start by following the rules of removing duplication and improving names, which encourages the programmer to ask ever-more-interesting questions about what tools are available to help follow those rules, which encourages the programmer to learn OO theory as needed, rather than having it shoved in their face all at once. This just-in-time learning leads to longer-lasting understanding for many (most?) people.
At the moment not very concerned about digital privacy and security
It doesn't really matter what your preferences are. That's why I had the "whatever" option. I am just advocating that you have to be aware of what matters to you, always. It's pretty easy to get lost in everyday stuff, whether procrastinating on the internet or anywhere else. If you know what's important to you, by comparison you won't be bothered with the rest, and you'll spend your energy wisely.
True...

I much prefer to ask what they have done in the last year to improve as a developer, and what they feel they need to do in the next year.

But as an interviewer, you always have to be wondering how honest a person is being. That's why you also do an in-depth examination of their past projects, and ask them to design something.
I would recommend reading a biography on Ben Franklin, either his own or one done more recently. He has a lot of wisdom to share and I greatly enjoyed the reading.
How does it work? Does it read comments? Posts?
You can bet their ToS and our ToS are not nearly the same.
I am right there with you. At one time I spent hours and hours playing "Hardcore" games, tweaking settings for better frame rates. Studying forums and websites for multilayer strategies and tip. Now I really would like something I can sit down with my five year old and play together. Or spend that precious hour after bed time and before my bed time playing. I don't necessarily have time for the six hour game marathon any more. I don't think I am alone as there is a whole generation that grew up like me that is now in the same position I am. I think there will still be a hardcore market, but I think it will transition from the mass market to an enthusiast market.
video chat within gmail is what I am referring to. Video chat on the android phone works fine.
And if your company has dreams of becoming a larger successful company, you are going to have to pull it out anyway. Its cheaper in the long run just to buy a Mac Mini or an older MacBook. I'd even argue its cheaper time-wise just to get the hardware instead of dealing with an unstable build server if you go the hackintosh route.
Screw you, I would if I could. ;)
Why 2013 should be a good year for the U.S. economy
Fair enough, I can certainly agree with that.
Bugger, i forgot the 'b' on the url. Thanks for telling me, I wouldn't have caught that otherwise. I'm http://twitter.com/jordnb

And I agree. I expect someone could kickstart a little electronics add on to do exactly that - a reasonable wireless DAC to airplay to. But thoughts on it would be that with all the required components still I'd be difficult to undercut Apple's airport express still.
That's highly individual. You may be unable to read while going hells bells on an eliptical (or running on a treadmill), other people can.
List an achievement you don't think fits the above statement and is of the type you believe the OP wishes to accomplish.
my comment was too long, so I posted it on my blog instead
http://rikacomet.blogspot.in/2012/12/comment.html
society has always rewarded you for doing well at your job.

This is far from the case, and even trivial reflection presents us with many counterexamples (military veterans, construction workers, folks from NASA, etc.).
I know it was used at TFK for I was there and originally, at that time, we were the only unit operating around KAF (aside from the defence team of KAF itself). Later our area of operation got split in half and shared with TF Striker, a US mechanized brigade. I shared my tool with them and I know my counterpart in their brigade HQ used them, but I don't know for how long as I left a little later.

For a period between April 2010 and Sept 2010 (maybe going later than that), all of TFK's MEDEVAC, which must have accounted for over 70% of MEDEVACs in KAF, were fulfilled using this tool.
That's not even fair, because the commercial pilot wouldn't have been able to collect his free drink!
Looks cool! Anyone know any of this for Android? At least for Samsung Note. I want to try to wirelessly stream audio from my Note to my Logitech Z2300.
yea it can easily get you over 12,000 views
> inadequate firewalling between IFE systems and aeronautical control systems

How is this possible? Why do they even need to be on the same network?
Ran in to similar issues. Not sure if you saw my article, but the forked version of s3cmd I mention handles invalidation excellently.

http://iamnotaprogrammer.com/Jekyll-S3-Cloudfront-Aname-Root...
1/5 in decimal is 0.00110011... repeating in binary, therefore not exactly representable, therefore it could lead to errors. Not big errors, but enough that smart people would prefer not to use it for money.
For those who do not know about him, Ratan Tata is a role model for many entrepreneurs in his homecountry (India). He is renowned for his practicality and down-to-earth attitude, despite being the head of a multi billion $ conglomerate.

Infact he spent his last day on the shop floor of Tata Motors rather than at some lavish retirement party (as most CEOs today do)[1]

Massive respect for the man who's led the conglomerate for decades and brought it to the forefront in multiple sectors, and all this while keeping values and morality at the core of his business logic.

Wish him all the very best for all of his future endeavours!

[1] https://twitter.com/RNTata2000/status/284648010657456128
Where on CNBC are these "Primer Posts" linked from? In other words, what CNBC page would I bookmark to see the latest one?

The best I could come up with is a search, which is silly.

http://search.cnbc.com/main.do?target=all&categories=exc...
The ternary is an expression, not a statement :)

You can write: a = b ? c : d; in C/C++, you can't write a = if(b) { c; } else { d; }.
The idea of 'Robot Utopia' is funny in a way. By most measures we are already there in terms of technology, but the economy does keep opening new avenues for work. The big question is what people would do if they didn't have to work for their needs?

One answer is make-work, i.e., hobbyist jobs. The other is general hedonism. Conservatives fear that the latter would be destructive - that it would lead to widespread addiction and criminality. The question: "What would you do if you didn't have to work?" can be answered in many different ways depending upon a person's history, self-image and inclination.
Oh come on... 15 seconds of research would have spared us your question:

http://fiverr.com/gigs/search?query=youtube

A quick scan of the first results shows 7000 views for $5.
Similarly, when there are no extension points, extension get hacked in (= "if" everywhere !)

Here is my experience with architected extension points:

1. Generally the first extension point used set the trend, other developers will follow the "pattern" blindly. Hacking to make it fit rather than use another more appropriate extension. That is both bad and common (everyone has had to work with too little time)

2. There is often a sharp refocus close before or after release 1.0. A lot of the extensions disappear at that stage (demo, experimental feature, cross-platform/framework support, performance targets are set, security infrastructure is decided, server setup, integration test env. available instead of simulated, ...). Structural change (like removing extension point) become very difficult to justify after release 1.0.

3. Technical debt is very often called "selling feature" at management level.

But yeah, real world code sucks.
Snapchat succeeds because (not despite) it is not Facebook. Snapchat lets young people communicate without parental oversight. Text messages, phone logs, facebook accounts can all be seen by parents. But Snapchat's "self destruct" messages don't give parents the chance to oversee what their kids are up to.
Not using amazon's method, but combining S3 + Cloudfront w/ DNSMadeeasy's Aname record, you can this works (example):

http://www.customer.io

http://customer.io

No redirect, 1 s3 bucket, and they both serve up the same assets from cloudfront. And HTTPS works too on cloudfront.
Why European forecasters saw Sandy’s path first
Show HN: CSS3 animation
It could be worse--psychiatrists are also physicians.
> Big data will replace the need for 80% of all doctors

I believe it is true, but more for dieting reasons than anything else.

Right now this quote is still true:

"The food industry doesn't care about health, and the health industry doesn't care about food".

I hope big data will change that. The future is keto.
It's hard to define a rule against over-engineering. The only approach I've seen that has any success is to ban any and all design up front, and only ever write code to implement user-facing features.
Add Your Business to the Online Yellow Pages for Free
If I were to design a new international language I would take the vocabulary and grammar from Basic English [1] and modernize the writting system to be fully phonetic.

Still, I'm afraid that such Newspeak-like language could be implemented only in some totalitarian dictatorship, so I hope that it won't happen any time soon...

[1] http://en.wikipedia.org/wiki/Basic_English
And I would recommend the original vehemently!
This comment here is quite important, as Martin Varsavsky isn't "American" in the way most of the people use it, but from Argentine.
The article's right, and in fact, I thought it was common sense. Like, interface design 101. In the end, a graphical interface is just an intuitive way to use the application's functions. If using the interface is enough of a task that you need a tutorial to use that, it kind of defeats the point of intuitive access. Just let me use your application and get the interface out of the way.

Then I came to the comments and everyone was complaining. I didn't know people liked hand-holding so much.
Also R and I think were mostly in agreement here. However I'm of the opinion that more than just these languages (languages with lazy evaluation or macro's) are decent and that in for example Ruby there are differences between if and a function, as this example shows (my first lines of Ruby)

def iff(cond, x, y)
if cond then
x
else
y
end
end

puts iff(true, 1, puts('2'))

echoes

2
1

if may behave as a function, but you can't write a function that acts like if.

edit:
R does have real lazy evalution, e.g.

> iff <- function(cond, x, y) { if (cond) x else y }
> iff(TRUE, 1, cat('foo'))
[1] 1
Are you saying: who's worse, the criminals pick pocketing people or the policeman that fails to catch the criminal?
Thank you.

I found it hilarious how vaadu led his comment with "OP fails on basic math" and then lands a turd like that...
I walk about 0.7 miles to the train station daily to commute to work (NY/NJ area). However in the US, it is more common for ppl to drive specially in winter.
What I found particularly interesting about this is just how minimum the minimum viable product was. I think it's easy to lose perspective on the MVP concept and forget that not everything has to be automated right off the bat. Instead of starting out with a web app that automated a process, he started out by offering a manual service, and then automated the job he had created for himself. Very smart.
I might agree if that type of if statement only appeared at one point in the code, but there're normally several scattered around which all have to be updated when obj3 is introduced. Also introducing a class hierarchy often makes it easier to move responsibilities between objects as the code evolves.

For example I recently did some work on a graphics library which had a lot of ifs to do with line and fill styles. By changing those into an inheritance hierarchy I found a couple of places where clauses had been missed and so fixed some bugs, but more importantly when we needed to add new fill styles which were more complicated to draw it became very easy to turn the fill style objects into fillers which had all the responsibility for filling paths, not simply setting the graphics state.
Awesome, Going to try this with my Pi.

I presume that it'll work with the HDMI out into my AV receiver well without the distortion from lack of on-board DAC?
Important question: were any of the billion Gangnam Style views faked?
For video encoding, things like OMAP/et al already give you hardware video encoding next to the ARM, usually based on an arm "DSP" like cortex m3/m4.

Given this is infinitely cheaper than using general purpose cores, why wouldn't you just build yourself an army of cortex m3/m4's and use them for video encoding now.

ARM doesn't really need to do anything here to make this happen. Since they give you all the chip related stuff necessary to build your own, just go and do it. If you want 64 m3's, go make it.
Same here. I feel old and terrible at life :D
I also would love to have student hours again.
By describing the cultural differences within the US as "vastly different", you are basically just confirming the idea of Americans not understanding the depth of cultural diversity in Europe.

I'm very well aware of the significant differences between the Deep South and the West Coast etc, but those differences pale in comparison to the vast centuries old cultural differences you can find in Europe even between towns only a few dozen miles apart. Hell, the differences inside the US barely compare to regional differences within small European countries.

This is not a matter of ignorance. Even in well educated and well traveled Americans seem to be unable to really comprehend the depth of cultural differences outside the US.
This is much much much more entry-level than most of the content posted to HN. Maybe a "Beginners: " label would be appropriate...
You can live very very comfortably 13 USD per hour if you're living in South Asia. Few people get paid those kinds of numbers
That's a shame, I was hoping for some amusement along the lines of Berwick upon Tweed still fighting the Crimean War with the Russian Empire:

http://en.wikipedia.org/wiki/Berwick-upon-Tweed#Relations_wi...
There is no programming construct that exists that is not rife for abuse.
The author is correct that app licensing is in its infancy, just like webfonts licensing was completely unstructured a few years ago.

Constructing this as some sort of malicious action of foundries is quite far from the truth, though.

In the fairy land of foundries, there's the great and unrivaled king – Monotype – and then there's a thousand princelings with a few princes (Adobe, FontFont) sparkled in between.

Type is a TINY market. In a back of the envelope calculation last year, I found that the whole type industry is generating around $120m – $150m in sales every year. Monotype/Linotype is around $50m of that pie already. Adobe Type is another $20m is I recall correctly. FontFont is a private company but I take their overall revenue is something like $10m.

Most other foundries are 2 men operations that produce a small profit but not enough to make huge technological investments like hand-hinting the complete back catalog.

At that point a foundry has three options:

1) Not offer their catalog for web- and app licensing at all. The respected resellers / foundry VLLG (Village, http://vllg.com) does this currently, for example.

2) Offer them on request, with the possibility of having a conversation with the customer about their expectations and what they're really getting for their money. See the note in the sidebar on http://commercialtype.com/typefaces/atlas as an example for this.

3) Offer them no matter what rendering quality on Windows devices they can achieve.

While horrible Windows rendering this does not apply to mobile app licensing due to better rendering engines and high-resolution displays on most current devices, it's still a large effort for most small foundries. Setting up the products in the e-commerce backend is the smallest part of that. And all that effort is a bet on (currently) a very small possible return.

And last but not least, one thing to understand is that most foundries make a huge percentage (60%+) of their money licensing large volumes to bigger companies. One corporate design may include office fonts for 500 workstations. While I personally love selling to small studios and startups that love our work, it's not what pays the bills.
Virool's in big trouble.
What do I do? Honestly?

I watch a slo-mo tiger woods fist pump* and get back to work.

http://www.gifsoup.com/view/14342/tiger-woods-fist-pump.html
I know several friends that deleted their accounts over what they read about the TOS changes. Not one of them was an actual active user.
If you look at the XML schema specs (http://www.w3.org/TR/2000/CR-xmlschema-2-20001024/#decimal) you will see that they have been standardized numbers.

Things in XML do not need to be just strings.

PS: I still don't like XML, but your comment is technically incorrect.

Edit: Typo FIX.
Ah, that is correct. You can't use if as a first-class function in Lisp.

I still thought you could pass macros around like normal functions in Common-Lisp. The Lisp interpreter I wrote for fun could do that since the function value is resolved before arguments are evaluated for late macro expansions.
Speculation on XPC for iOS
2% failure rates are excessive, agreed - but why is the requirement to retry on 500 so off-putting? Virtually all API's have this occur on some level and you do the exponential backoff song and dance.

What am I missing that makes this such a show stopper with browsers? You can still do the backing off clientside with a line or two of javascript.

Seems like the pros outweigh the cons but I'm probably missing something.
As a businessman I don't understand this. That would only cost Google a lot of money.
What they most likely will do is either consider that sum to be a loan and not pay for the next 800m views or have them pay back the money.

The reason they won't do this to average Joe is simply that you don't generate enough income for Google to care about keeping you.
For 5 bucks you can buy 2k views [1]

[1] http://fiverr.com/gottapays/provide-you-2000-youtube-views-b...
Hey guys great to see an old article of mine like this posted here. For the people who asked, the site is down because I sold it and the new owner neglected to take care of it :(

Read about the experience here: http://danshipper.com/110636263

Happy to answer questions about it if you have them.
Oh? I just gave mine to ghurlman.
Watch _why talk about Hackety Hack.

http://orgtheory.wordpress.com/2012/03/20/_why-aa-jonathan-g...
In the video, they again claim that all the games will be free to play when they mean that all games will have what is essentially a demo version. Saying they're free to play is misleading.
That actually exists but is a lot pricier than your budget I'm afraid. http://www.mwelab.com/index.php/en/products/emperor-1510
Abuse of bitwise operators is an abomination, but I'd instinctively write "value.abs" (scala), which is clearer than an if.

Obviously many things are ultimately implemented using if, but it's too low-level a construct to be using for day-to-day work.
To adapt this to your startup: rather than selling your service as being something created by you, lie to your prospect and claim that you represent a group of web experts who thought the prospect would love the service. The little sacrifice to your ethics will be amply repaid.

[Unless, of course, he really did belong to a group of friends who founded the service and that they did specifically recommend the subscription to the prospects being sold. The text suggests a solo effort, however.]
OK, to sum up:

You don't know what the word verb "to quote" means, nor the verb "to plagiarize".

The author of TFA did neither. There was no quote, and the family vs. nation metaphor is much older than Krugman's article.

And of course, Krugman is right, because what he says is descriptive of things that have already happened, and those things did, in fact, happen.

Now I disagree somewhat with Krugman on the importance of debt (the state having too much seems to make it defer to much to the bankers, who should be reigned in much more) , but hey, he's a Nobel-prize winning economist and I am a dude with an opinion.
Apple's Company Registration for its App Store is Awkward and Awful
I've used name.com and never had any problems
For Wealthy Chinese, Bicycles Become Status Symbols
A piece of advice that has served me well: "Life is about more than trying to see how high up into the upper-middle class you can get."

Consider your three given metrics.

Money is, ultimately, just a measure of how much economic influence you have available. You don't even need to have your own money in order to make a dent--somebody working for a non-profit or trading company probably controls wealth far in excess of whatever you'll be able to scrape together. The value of money isn't even constant across regions: a pauper in the Bay could live like a king in Houston. From this we see that money is not a reliable yardstick.

A job, especially one for someone else doing something you don't enjoy, is just a way of accumulating money. If you aren't rewarded by the work, you are just wasting the reserve of hours you were given at birth. There's plenty that needs doing out there, and plenty of people that'll pay you for it. Even with a "good" job, you are not guaranteed respect by society: a lot of folks who do construction are viewed with contempt by people who've never tried to float drywall properly in their lives, and a lot of folks who design beautiful architectures go utterly unseen and unappreciated by the public who consumes their software. So, jobs are not a good measure of self-worth either.

Status is arbitrary and something that is accorded to you by others. Valuing yourself in that fashion is much like valuing yourself based on how popular with your preferred gender--it's something over which you ultimately have not the final say, and so makes you vulnerable to "market fluctuations". Status is just good marketing, one way or the other, and don't for a second conflate your perceived worth with your actual value as a human being.

~

In the end, you need to remember that the default case is still failure, and that in half a century you'll be dead, and in a century more more than likely completely forgotten.

This being the case, enjoy every morning and opportunity to try something new, put yourself out on the line, and go to bed each day secure in the knowledge that hey, you're ultimately free to play the game however is most enjoyable to you.

And don't worry about indicators that won't mean anything when you're worm food along with the people who would've judged you. :)
Too bad something like that never happened to Facebook itself whenever they pushed for their more aggressive default privacy settings. Maybe that would've forced them to reconsider a little and have more reasonable default privacy settings.
The keyword here is "could".