skysight-inc/HackerNews huggingface dataset:
I like her comment about documenting what happens in meetings. Can anyone recommend software to help with this? I currently just use Word files in a folder, can someone recommend something better?
As an example of taking this to an extreme, I was at a coderetreat where we had to implement Conway's Game of Life without any if statements (or similar, such as switches) -- we had to use polymorphism instead. The result was that my partner and I ended up reimplementing a subset of the natural numbers as distinct classes.

http://mike.zwobble.org/2012/12/polymorphism-and-reimplement...

I'm definitely not advocating this as good programming practice, but the point is that if you're used to always using if statements, then it's hard to learn alternatives. By forcing yourself to use the unfamiliar, you might find some situations where polymorphism is better suited to the problem, whereas you would have previously defaulted to using ifs.

(barrkel has already left an excellent comment on when the two styles are useful, so I won't repeat it:

http://news.ycombinator.com/item?id=4977487)
multiple designs - UI patterns
http://patterntap.com/
This would be a sad move, but it is completely their call. It might open the door to emulators being back in style. vMac and Basilisk were my weapons of choice. And there was Shapeshifter/Sheepshaver on the Amiga... Good times.
Everything is impermanent and has no real nature. Learn to ride the waves of change. Enjoy the small and beautiful things in life, the company of friends and family, and don't be afraid of change.

For me, mindfulness meditation helped me understanding emotions, sensations, and life in general. But running, hiking, or cycling, works for many people as well. Give your mind peacefulness.
please. build for people, not validators. it's good to check for mistakes, but validators are far from a stamp of approval for anything. know what you're doing instead of seeking 'validated' crap.
Interesting. I guess in the case of static web hosting you could use onerror to deal with failed frontend requests to smooth out the broken images from the user perspective. Though as I say, not been a problem for me.
"All of this wouldn't bother me so much if it weren't for the fact that I see these kinds of generalizations all the time. It's not uncommon for Americans who've briefly visited one or two countries in Europe to say, "In Europe they..." or "Europeans are...". This makes me cringe every time, because it is the equivalent of a European person visiting a city in Mexico and going, "In North America they..." or "North Americans are..." solely based on their experiences in that Mexican city."

A better analogy is the way Europeans come to America, visit New York City and L.A., and think they know everything about the nation as a whole, as if the U.S. is a homogenous culture, rather than a conglomerate of roughly 10 or 11 different cultures. The worst part is that the majority of Europeans (yep, I'm generalizing) I encounter seem to think that the massively exported American pop culture is representative of U.S. culture, when it is absolutely not. I grew up in rural Appalachia (West Virginia, western Virginia) and the culture for both business and informal activities is vastly different than that of the Deep South, West Coast, Mid Atlantic, etc.

See this book: http://www.amazon.com/American-Nations-History-Regional-Cult...
Android Malware that can DDoS Attacks from your smartphone
Subreddit generated playlists, YouTubes content + reddit love = awsome
See also

How To Use SQL Calls to Secure Your Web Site http://www.ipa.go.jp/security/vuln/documents/website_securit...

Official Site http://www.ipa.go.jp/security/english/third.html
One advantage of this not really covered in the comments so far is that something like CoffeeKup makes it very easy to mix custom code with html generation.

As an example, I'm currently using CoffeeKup as part of a build system for single-page websites. I wanted fine-grained control over things like whether to inline or reference external scripts and be able to defer non-essential chunks of markup until after page load.

It's nice to be able to take something like this:

body ->
div ->
p -> "some text here"

And make it this:

body ->
defer ->
div ->
p -> "some text here"

I'm not sure CoffeeKup would necessarily be the best choice if you're just looking for a generic template language, but I found it useful in my case.
This was a concept that was hanging in my mind but I couldn't quite grasp it and make a prototype!
Very nice
A 3d scanner and 3d printer, both controlled by a phone. I should be able to send whatever I scanned to my friends and have him/her to print it off rightaway(3d fax?).
A weekly/monthly report of my utility (electricity/gas etc.) usage pattern in my home. For example, we get a monthly utility bill with breakdown of how many KWH etc. was used. But I want to know specifically by rooms. Something like:

Room | Usage when room occupied | Usage when unoccupied |

The above will tell me if we are wasting utility for no reason etc.
I think it is still expensive, manufacturers in China ship Android HDMI-usb dongles for samples at 55$ featuring 1.6GHz A9 dual core, quad core GPU, builtin 802.11n, BT 2.0 and HDMI output featuring Android 4.1 and more..
Did you watch the linked talk by Misko?

This is not about getting rid of "if" (as he mentions in the talk), this is about structuring large software systems for maintainability, extensibility, testability, etc.
I just set it up with non-www as the primary, works like a charm.
Mind eagles
Agreed, I wouldn't call ifs a code smell but rather OOP itself a code smell.

In any decent language, if will be an expression, not a statement. There is no difference between if and a function.
One of the most important things ever written
> This is like blaming all professional plumbers for your bath tub leaking

A large amount of bath tubs and pipes are leaking, worldwide.
That's USD 13/hour per employee. Not too much. It is interesting to compare to other companies, IBM?
My take on why ifs are "bad" is that they are statements, just like for, while, switch and others. Being statements they can't be composed as you would do with expressions.
Washington’s Blog: Facebook Censors Prominent Political Critics
I dunno, I do take your argument about our feelings on the matter not necessarily being a useful guide.

Then again, deterministic actions (which is an assumption) in our brains do not necessarily correlate with a completely deterministic human. Perhaps the computation of such quantities as may be involved is impossible, and this would lead to a situation where even a completely deterministic universe could be compatible with the experience of "free will".

We probably need a better term for this sensation, as "free will" is a particularly loaded term.
OpenShift and AppFog are two PAASs I've used that both support Rails. Their free tiers will be more than adequate for a personal website.
Seeing as this site is no longer functioning and the article is 1.5 years old, is there a site that does inexpensive focus groups to review websites?
It's not down, he sold it.
Go on a trip, and do something physical outside. Ideally, combine the two--I went on a very long bicycle tour, but a running/kayak/canoe/hiking trip would also work. Bonus points for making the trip itself an achievement, but even if all you get is some clear-headed thinking in nature you should be fine.
Truth be told, I'd rather pay $500 (or more) for a powerful console than $100 for OUYA - I guess it's addressing a very specific market, but it's not hardcore gamers (although I don't have much time to play lately, I consider myself one).

That being said, I'm happy for Steam's Big Picture, where I can actually build a HTPC myself and still enjoy the living room coziness for playing.
Well, yes (build for people) and no (stuff should be technically correct, as well).

For instance, the WGAC 2.0 guidelines require that HTML be valid, and if a client wants WGAC 2.0 compliance (even A level, not AA), the site's gotta validate [1].

[1] http://www.w3.org/TR/UNDERSTANDING-WCAG20/ensure-compat-pars...
People generally don't read HTML... machines do; the further levels of validation you can obtain (and certainly to the extent to which the code is somewhat valid at all, such as making certain to have tags that aren't misusing quotation marks or brackets or entities), the more likely your code is to be understood in the same way by random implementations of HTML parsing that may be used in the field.
Living in the US, the only three places I can get to within a mile are the business where I get my hair cut, my children's school, and the veterinarians' office.

I almost always walk the dogs to the veterinarians', and also to get my hair cut, however I often drive the kids to school because from there I commute to work.
Not really misleading: most screen readers aren't yet using the HTML5 Document Outline algorithm, so for accessibility you still have to rely on proper h1-6.

Ideally, you'd use them in combination for future proofing. It takes a little work, but you can arrive at the same general outline from both algorithms, since the new one ignores the ordinality of the h tag.
Not everyone spends in USD.
China’s Black Market City
Samsung expands Silicon Valley crib with 1.1 million square foot R&D center
The software or the front-end doesn't matter for the arm TCS. It is the revenue TATA get from it. The TCS doesn't develope any software, but just create a code for other software, just as asked by the US and other customers. They are back-end in other words.
The revenue matters. As and Indian I also don't know any software created by TCS. They just TYPE as said by other.
Appelbaum's Keynote at Chaos Communication Congress
give me half of your Hacker News karma points.

You'll feel much better about yourself - it's all about giving.

https://www.youtube.com/watch?feature=player_embedded&v=...

https://www.youtube.com/watch?v=zqCT2aP4pSM
TextMate 2 is awesome. I compiled it from the source on Github, so it was free, and I love the little features (like auto-indenting HTML tags and autocompleting brackets and the like) and the language compatibility and plugins.
Both would work just fine. Good Points.
Twitter became popular because Firefox / Chrome got rid of their in-navbar subscribe button and Google didn't advertise Reader. They had incentives to monetize doing things their own way, and every average joe who would go to twitter would have the easy path to just using what is in front of them or having to discover feeds in the page info, install an addon to return the subscribe button, and find an RSS application.
Did this hack myself a month or two ago - I go the XBMC route (openElec) on the Pi with Airfoil for Windows to stream Spotify. That combination is finicky - sometimes requires one or two connects. When spotify releases a libspotify compiled for the right ARM architecture (something about floating point?) I'm going to run http://www.mopidy.com/

The disadvantage of the headphone port of the Raspberry Pi is that it used to put out absolutely awful sound, but that may have improved. Using shairport also has bugs - the audio output from the script sometimes has pops and after about 10 or 20 minutes will randomly disconnect.
Here's the thing: It's not uncommon to come across weird bugs/rendering errors on web pages that were caused by incorrect HTML (where the developer writes </a> where he should have written </p> and similar issues). Pages with those kind of errors might render fine in Browser X and yet have render errors in Browser Y. That's why you validate - to find those kind of bugs.
How Benjamin Franklin Got His First Fifty Customers
It turns out, Benjamin Franklin was extremely "Normal" and relate-able.

The very valuable lesson learned below applies equally to raising money from investors, crowds of investors, or finding your first customers.

In his Autobiography he talks about starting a Public Subscription Library in Philadelphia, going door to door trying to find people willing to pay 40 shillings and commit to a subscription fee of 10 shillings a year for 50 years.It's important to note that Ben was an avid reader, and tried a shared library prior to this which ended up flopping. He also believed he was doing a great service to all who would participate and to society at large. In other words, his startup was both doing social good and creating value...

Here are Ben's words from his AutoBiography about the experience.
"The objections and reluctances I met with in soliciting the subscriptions, made me soon feel the improprietary of presenting one's self as the proposer of any useful project, that might be suppos'd to raise one's reputation in the smallest degree above that of one's neighbors, when one has need of their assistance to accomplish that project. I therefore put myself as much as I could out of sight, and stated it as a scheme of a number of friends, who had requested me to go about and propose it to such as they thought lovers of reading. In this way my affair went on more smoothly, and I ever after practis'd it on such occasions;and, from my frequent successes can heartily recommend it."

He continues, "The present little sacrifice of your vanity will afterwards be amply repaid."

This very much reminds me of the plaque sitting on Ronald Reagan's Desk that stated, "There is no limit to what a man can do or where he can go If he doesn't mind who gets the credit."
25 is a good age to feel like a loser - you've got another 50 years to do something about it.

I find that writing down an internal dialog helps profoundly with isolating the specific reason that I feel like a loser. Then, it's just execution.
Thanks -- this is helpful feedback. We agree that Inky will be be most useful when it's available on "all screens," and we're working towards that goal. The architecture is designed with that specific goal in mind.
It was a great talk I think everyone should watch.
I spent some time over the past weekend migrating my static-generated blog over to S3+CF and the only problems that I ran into were invalidation and permissions on the bucket. It is likely a result of my lack of knowledge of S3 bucket/CF utilities, but I've been using s3cmd for sync.

Definitely impressed with how quickly it went. I muddled through setting up AWS DNS, S3 and CF through a bunch of blog articles. But it was well worth the time investment.
It's not too difficult. Suppose you have a 728x90 and 300x250 and want to see if a 160x600 would be better than the 300x250 unit. Create four new ads. 728x90 channel a1, 728x90 channel b1, 300x250 channel a2 and 160x600 channel b2. On your website half the time show a1, a2. Half b1, b2. Later go to AdSense and view stats by channel and see which made more.
Look, we all get that you can't call every new company a startup, but Paul Graham does not have the ultimate authority to decide on the definition of the word "startup" either.
Does anyone know of a good standalone speaker that this hack could be paired with to make an airplay speaker for smallish spaces? E.g. not a home's main living area where you'd want to use a higher powered stereo system, but perhaps a bedroom or office.
Have more compassion for yourself.

Read this book to understand more what I'm talking about:

http://www.amazon.com/Compassion-Self-Hate-Alternative-Despa...
You're not over-simplifying, you're just wrong.

S3 and CloudFront have supported custom subdomains for years.
I don't hear the politicians arguing about multipliers. I hear Republican's arguing that taxes should not go up especially not for the rich and Democrats arguing against spending cuts largely.
In what languages is if a function?
Travel to another country NOW.

I know you are American, why?, because "loser" is an American word, as an American friend told me "In America everything is about money and they have this word they are always using, loser".

Go to Brazil, India, Rift Valley in Africa and contemplate how people could be 10 times more happier than you having 10 times less and think about that. Look at how people live in communities there and not isolated like in the US, where places to walk and talk with your peers simply do not exist, unless you have lots of money(but not time) to enjoy it.

$$, job and status is an external thing, we need a minimum those things, but is not going to make you happy over it. You are not going to eat 10 times a day, or drive two cars at the same time, are you?.

You also need internal things to make you happy. For every person is different. E.g I need to create new stuff for feeling alive, I need to spend time with my girlfriend, touch and feel her, money(once my necessities are satisfied) is nothing in comparison.
haha, my bad :P thanks
Many countries discount capital gains by inflation but then tax as income (eg the UK).
Why, do you think startups are valued and created only in the US? Where do you think German multi-nationals come from? Slow-growth companies?
Interesting. I tried to state the goal in one of the bolded/highlighted notes. Someone on reddit pointed out that it seemed like you could jump into professional web development within a couple of months. I didn't mean to give that impression. Let me requote it for you:

"Please be advised that I’m not saying you’ll be able to enter the competitive web development field under 3 months. But you’ll be able to start seeing results, grasp some basics concepts and decide for yourself if you’d like to continue this path. Also, note that these were the times for me, and I had some minimal tech background."

See, my thing is, it took me only a few weeks to get into PHP, MySQL, HTML, CSS...with Javascript much later (hated javascript for the longest time). Within that time, I was able to decide whether this is something I am capable of doing, something I'd like to do, and where to head from there.
Am i right in thinking that all usb speakers have their own sound card on board?
I have a pair of logitech z120 I want to try out with this (and then maybe hook it all up to a battery to make it completely wireless) but i've left them at uni and can't try it out yet.
Of course it's not for a hardcore gamer. I used to be a hardcore gamer when in high-school. These days I don't have time nor the patience to get into many hardcore games. I'd much rather enjoy playing a simpler and more entertaining indie game for 30 minutes or an hour every now and then.

I also think its biggest market in the long term may be for young kids, like from 5-12 year old. That being said, I hope they upgrade it with more powerful and more modern ARM chips as soon possible.
The way I see it, a programming language should...

1) correspond to computer architecture (which excuses the distance from human thinking)

2) correspond to human thinking (which excuses the distance from computer architecture)

So what's the excuse for pulling such strange rules out of nowhere? The sort that have no counterpart outside of the language itself? Is it just for the sake of making programming more of a puzzle, or...?
"It's odd that the OP fails on basic math. If you took ALL of the money from the top 10% wealthiest people and put it towards the debt it would barley make a dent."

The top 1% in the US has around $12 trillion in wealth, which is about the public part of the debt ($16 trillion total).

http://www.irs.gov/pub/irs-soi/12pwwinbulwealth07.pdf

http://en.wikipedia.org/wiki/United_States_public_debt
what happens at 35k? what milestone is that beyond a random round number?
vim, gedit
* It's having the wrong stress on your joints for longer times*

Yes, that was my point #2.

The only real need for a spotter is for barbell bench pressing

I was specifically thinking about the bench-press-like machine press, but also true for the dumbell fly exercise.

I do the free-weight lifts, just not with heavy weight. When I want to seriously stress my muscles I go to the machines.

I just started with the bosu-ball stuff last year and I have to say I like it. It hits stabilizers the squat doesn't begin to touch. I'm a sailor- just got back from a week-long bareboat charter in pretty choppy seas, and I really like the results. I'm not sure I can articulate it though- while it helped my balance, it also helped my strength while maintaining balance. For example, the task of picking up a mooring ball with the boat bouncing seemed easier. But that may just be a distorted perception.
as if the U.S. is a homogenous culture

Compared to Europe, it certainly is.

From a merely linguistic viewpoint, in North America there's English and Spanish (Ok, and native american languages, but they're really not much spoken).
In Western and Northern Europe, there's French, Italian, Dutch, German, Swedish, Danish, Norwegian, and Finnish.

The thing is, identity is a matter of contrast.

See this : http://squid314.livejournal.com/306048.html
No. No no no no. There is absolutely no reason that you need to find full time non-freelance employment in order to network and build a freelance client base. That's complete nonsense.

I am so sick of seeing people do something, become successful, and then start telling other people that their way is the only right way.
Do you do anything physical in a natural place on a regular basis? That's one place to look.

Does your work have meaning? When you are 50 or 60 and you look back at your life's work, will it have value? If not, you might try to find a socially meaningful project to contribute to. It seems you've got valuable technical skills; share them with a project that has the kind of value you'd like in your life.
I've been messing with S3 for a new project involving the HTML5 canvas- So lots of CORS and canvas security concerns, PUTing objects from the browser, and desire for low-latency changes.

S3 has not been delivering. Here's a few reasons:

* S3 only provides read-after-write consistency for non-standard regions: http://aws.amazon.com/s3/faqs/#What_data_consistency_model_d... Since moving to US-West-1, we've had noticeably more latency. Working without read-after-write just isn't an option, users get old data for the first few seconds after data is pushed.

* CORS support is basically broken. S3 doesn't return the proper headers for browsers to understand how objects should be cached: https://forums.aws.amazon.com/thread.jspa?threadID=112772

* Oh, and the editor for CORS data introduces newlines into your config around the AllowedHost that BREAK the configuration. So you need to manually delete them when you make a change. Don't forget!

* 304 responses strip out cache headers: https://forums.aws.amazon.com/thread.jspa?threadID=104930... Not breaking spec right now, but quite non-standard.

* I swear, I get 403s and other errors at a higher rate than I have from any custom store in the past. But this is purely subjective.

Based on all this- I really need to agree with saurik that the folks at S3 aren't taking their role as an HTTP API seriously enough. They built an API on HTTP, but not an API that browsers can successfully work with. Things are broken in very tricky ways, and I'd caution anybody working with S3 on the front-end of their application to consider the alternatives.

I'm moving some things to Google Cloud Storage right now, and it is blazing fast, supports CORS properly, and has read-after-write consistency for the whole service. Rackspace is going to get back to me, but I expect they could do the same (and they have real support).
Directly or indirectly a lot of the money gets invested in the US government's debt, which crowds out private sector investment. So it just funds the deficit, so the government spends the money anyway. May as well tax them.
I'm a little surprised nobody is lamenting the performance hit this kind of technique will incur vs just using an if statement.

(reaching into my way back machine, ifs essentially compile down to a few comparison instructions (which are often just subtractions) and a jmp instruction (depending on the platform), it's literally built into the processor! For a simple if statement we might be talking a handful of cycles to eval the if vs an extended call stack pumping and dumping exercise)