skysight-inc/HackerNews huggingface dataset:
> So is HN basically becoming Slashdot where Microsoft hate occurs by default?

It's been like this for some time. Bias is slightly changed from being very google-centric to apple-centric and back, but hate for microsoft is pretty much clandestine. So much for anti-flamewar features, encouraging group thinking.

I don't think you can fight it much, just don't read hn in the days of apple presentations, you won't miss anything.
Building a Google Calendar App with MongoDB, ExpressJS, AngularJS, Node.js
For a while I’ve been dabbling with building apps using AngularJS and have quickly become consumed with how amazing it is. Having come from a heavy Adobe Flex background, I felt right at home with the two-way bindings the framework provides. In my quest to learn more about Angular I came across a few articles on the MEAN stack, which is a combination of MongoDB, ExpressJS, AngularJS, and Node.js. Since discovering some of the benefits and quick bootstrapping ability of the stack, I’ve been meaning to work on a project powered by it.
It's real, it's called the Dunning-Kruger Effect. I've seen it plenty of times with real superstar-experts rate themselves as "slightly above average"...

http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
excusing one asshole with another?
Am I the only one that thinks online dating isn't superficial? Yes you have the pictures but you also have a complete rundown of the persons likes, dislikes, personality, what they do for a living, as well as how attractive they are.

Bribing people is a really good way to get bad dates. You have no idea of your shared interests, personalities, nothing at all to gauge whether you are of compatible attractiveness.
How I created a $1500/m Bitcoin affiliate website with $80 within 2 days
Since you're standardizing on Debian/Ubuntu, you should use the official Phusion Passenger Debian/Ubuntu packages instead of the gem. :) https://www.phusionpassenger.com/install_debian
12 Critical Mobile (Game) Monetization Concepts
This post resonated with me. I love C#, but I refuse to use it. Much of the community is tied down to proprietary API's which would mean being sucked into the MS ecosystem, meaning I'd have to kill off over half my potential market. Microsoft makes some wonderful things, but only in reaction to their competitors. Almost everything they make is better. But that's the problem. As soon as they have you, you're trapped. Then it's down the rabbit hole, and you'll find bugs you can't fix. Hideous work arounds. Limitations that force upgrading products. You're going to get stressed.

I'm not a Linux, Google, or Apple shill; but I this is why I refuse to be pulled into the Microsoft ecosystem. I simply can't respect Microsoft as they are still blatantly trying EEE with mobile/ tablet/ laptop markets. It will be sad day if Microsoft actually achieves a monopoly on any of these markets, because they'll stop innovating. They'll come out with closed libraries that only work on their devices. They'll force you to do things their way.

I'm not delusional, MS competitors aren't saints. But they all never seem to stoop that low. Shit, even Google Chrome _asks_ you if you want to use Bing as a search provider.
It's the simple things that have the biggest impact. Even though the analysis is elementary to many I thought the post was useful.
I really hope Pidgin/Audium leverages the source code, or someone else does it and makes a Pidgin plugin. The native Skype client on Linux crashes quite a bit.
I saw Growing a Language in person in 1999 (he redid the talk during Utah's yearly Organick lecture). As for your arguments about Haskell, I find this very useful; thanks for the reply. I am quite interested in type systems for tool purposes, and grocking whether even code completion is possible for Haskell is quite a chore. Hoogle is exactly the tool I'm competing with :)
1. Make an executable.

2. Put it in your PATH.

3. Profit.

The long version is more complicated than that, but you need to tell more details first.
Cloud Foundry on my own infrastructure
I would like to get cloud foundry running on my production network. I have searched all over and can not find and nice guides. Does anyone know if such a guide exists for the current version, or if any organisations have people who can do it for me?
Are you asking how to do this in Go or how to do it in general?

Here's how the hk app does it: https://github.com/heroku/hk/blob/master/main.go#L120

Basically it reads the arguments to the executable and matches them against a built-in list of supported commands and dispatches appropriately.
Sorry I deleted my original comment as I thought it might be too off-topic.

Yes, Dynamic C had built-in coroutines :) I think it's hard for me to use threads now because of how convenient a single-threaded main loop with coroutines is. A lot of concurrency "problems" vanish when you realize you as the programmer are controlling the context-switching and that race conditions are implicitly not possible then.

I went so far as to write my code so that it compiled in GCC and Dynamic-C to speed up development time (not needing to wait for the 2 minutes it takes to compile and reflash), which meant abandoning all those things and re-implementing them in a cross-platform way buried in a mountain of #ifdefs

Although I can't remember all the details now (5 years since I touched that compiler) but I still have a lot of deep seated hatred towards it for reasons I can't remember clearly :)
The Bay Area's 1 Percenters
Google Threatens 9to5Google.com to delete post mentioning youtube downloaded
Is this some kind of arm twisting?If you can watch a video, whats wrong if you download it?
Making money out of those videos is a wrong thing.

Google being evil here

See Here- http://9to5google.com/2013/10/22/google-now-threatening-to-pull-adsense-accounts-of-those-who-mention-youtube-downloaders/
I developed most of the game on SGS2 which has 480x800 resolution which covers more than 70% of the market (depending on whose stats you look at). Then I tested on Nexus 7 and Nexus 10 tablets, and bunch of phones that friends have and I've seen ugly streching effect, so I first tried just to keep the aspect ratio with black bars (letterboxing and pillarboxing), but this did not look too good.

Then I enlarged the background nebulas and stars textures and the game adapts to the screen. If you have 16:10 screen it fits perfectly. If you have wider screen, there would be some free space at the sides. On Nexus 7 and 10, that's just some 10% and it's hardly noticable.

On devices that are wider than 16:10, say some phones with 480x854 resolution, I simply extend the playing field upwards. So it's actually a little bit easier to play on those devices as aliens have more space to travel before they reach the bottom. I thought about increasing the initial speed modifier for those devices from 1 to 1.0675, but I did not do it. I somehow wanted to speed of the game to be constant.

Using libGDX as a library makes testing all this very easy, because you can run in on your desktop as a regular Java application and you can resize the window to whatever you like. I have 1680x1050 monitor, so all phones and most tablets fit the screen.

The only thing I regret is not having Nexus 10 at the very start and make the game optimal for 2560x1600 resolution. There are many popular Android games that do not support this fully (graphics get blurred). The only 2D game I've seen so far is Angry Birds Star Wars II. So maybe if I supported this high resolution, I would have a better shot at being featured in the Play Store, since competition is low. If this version goes well, maybe this is exaclty what I will do next: build a HD version.
For Sale: Balloon Rides to Near-Space for $75,000 a Seat
Considering one would improve local healthcare and the other one is designed to destroy the health in remote places... the priorities on the existing $600-700B/year could be adjusted. Unless the global health of the world is treated as a zero-sum game...
French school isn't free, you're just basically paying it afterwards, threw many taxes including personnal income based taxes.
[Competition] Win a SIGNED bottle of RON De JEREMY spiced Rum.
Key.me
It's actually liveweave which doesn't work with javascript turned off.

This works if you don't have javascript on: http://fiddle.jshell.net/w5GFR/show/light/
Screenshot of the app posting here- http://9to5google.com/2013/10/22/google-now-threatening-to-p...

This app has been pulled down by the app store too.
Very good job. What program are you using for creating the graphics?
I'm afraid that this, while a significant decision, will lot mean much in practice. Companies can play cat and mouse indefinitely, and have more resources than hobbyists, if they need their protocols to remain secret.
Mac vs PC: The Battle Resumes
All of the quirks listed have good reasons to exist. Except size_t, that never makes sense.
Even tough it's very easy to guess what's been going on for anyone who's ever been working on large dev projects, I can't wait for the full story behind this mess to appear on the daily WTF website.
Absolutely agree. I think this app sounds horrendous.
can someone post a link to the apk file because google play does not allow games with in app purchasing in my region
A Computer Program That Hacks Language and Exposes US Secrets
But... that's one less than average! (Assuming 2d6)
Right, like what happens with the memory allocated for px in situation like below, if new ClassY throws?

A::A() : px(new ClassX), py(new ClassY) { }
Thanks for this! I've been playing around with a few of the other offerings out there and they're all bloatware rubbish. Netvibes was the one I landed on, and I hate it with every fibre of my being.

This seems to be nice and simple. I really only want to see my gmail, HN, reddit, and maybe some basic news RSS.

If I was going to build something for myself, it'd be an igoogle replacement. I still might, but I'm hoping now I don't have to.
I'll rather pay an artist to paint me a nice piece using store bought paint than making his/her own paint.

That's fine if you just need a nice picture to hang on your wall, but probably won't work if you want a genre defining piece that that redefines how artists think about the color blue.
I deem myself biased towards Microsoft, i.e. I would prefer to work for Microsoft over Google, Apple, Facebook, et al. I use Microsoft products (alongside OSS, Apple, Google,...) and quite like what they are doing in the last years. I find .NET very good for what it is meant for, etc.

And I think that while there are some MS haters around here. There are not nearly as many as die hard MS fans would have us believe.
Everyone else's advice to learn by doing is great, but there is also _Expert C Programming_ by Peter van der Linden:

http://www.amazon.com/Expert-Programming-Peter-van-Linden/dp...

The presentation's "Deep C" pun is a reference to this book, and if you make it all the way to slide 444 you'll see it mentioned as further reading. It's a wonderful book for understanding C (not C++) and what's really going on.
What bizarre nonsense. I hope nobody thinks this level of (mis)understanding is replacement for understanding, you know, how to program.

The majority of this is undefined behavior or implementation details of your compiler. If you rely on that, I don't want your code anywhere near my machine.
I agree with your overall sentiment, but I have some objections with the specific things you are saying:

- SICP the book and the original MIT course that is available online do not cover data structures or algorithms very well, it isn't that much in the focus of the book, they implement a queue in one place from what I remember, there is some mention of big-oh, but it's all rather cursory. Thomas Cormen published "Algorithms Unlocked" recently, which seems like a good intro book for programmers who are not willing to devote a fraction of their life to studying the big Cormen book or Knuth.

- Constant factors matter increasingly more and more. There has been a lot of talk in the last years about how things like big and very fast processor caches make some not-asymptotically optimal algorithms outperform the asymptotically optimal ones for all input sizes we can ever expect to handle. One should of course still understand asymptotic analysis, but you also have to understand caches, locality of reference and do real-world benchmarking. One doesn't substitute the other.
i would point out that implementing a list with an array is lazy madness. i've seen this before and it always results in the same fundamental problem - you lose the performance benefits of the list because it incurs the performance penalties of an array for insertion and removal when you already have a node.

i've seen this same fundamental blunder in AAA game code bases that will remain nameless...

so its not just choosing the right data structure, but understanding the implementation well enough that you chose the correct implementation of a data structure - which might not be the one in the standard library unfortunately
WordPress Acquisitions: A Tale of WordPress Businesses that Were Bought & Sold
It's not the triple negative that is the culprit here though. It's the inherent ambiguity in a phrase such as "never been better", which could be either a negative or positive statement. I'm sure there's a name for that construct?
I got a couple of 2TB WD Greens for $85 apiece and a ZyXEL NSA221 two-bay NAS (some ARM chip running what I think is Debian but I've never bothered to look) for $120. I think that one's discontinued now, though.
You can disappoint a customer, but you can't afford to disappoint all of them. You can disappoint your boss but you can't disappoint him or her all the time.

A single customer isn't necessarily equivalent to your boss in a job, but together they are.
Last night I submitted comments on the Bugzilla bug, and joined the (small) conversation on the dev list. My message is still in moderation, though (it wasn't rude or anything, so I suspect it's just because of time differences).

https://mail.mozilla.org/pipermail/firefox-dev/2013-October/...
Perhaps check if this is good enough for you https://github.com/robmerrell/comandante
I couldn't find information why generator functions in JS require '*' in the syntax (ES6 spec/wiki just states this as a fact, but no rationale). Does anybody know?

Python manages to work fine without ugly wart in the syntax, and it seems to me that presence of `yield` keyword in body is enough at syntactical level to tell compiler that the function is a generator.
We are talking about FireFox's decision. Not only for Java.
Ask HN: Is it bad to master jQuery without any knowledge of the undelying JS?
or said the other way : "How bad is it ?"
Oh come off it. Name me an established software company that hasn't forced choices on their desktop users that many of them have considered "terrible". Over a similar timescale Apple has been responsible for the debacle that was Apple Maps (to reduce dependence on Google) and the dubious aesthetics of iOS7 whilst Google and Yahoo have forced millions of users to choose other services as they go on shutdown rampages (to focus on more profitable areas) and in Yahoo's case, touted the availability of your old Yahoo email addresses to phishers (because they're crazy?). Meanwhile, despite your "refuse to backtrack" claim Microsoft has brought the much-missed Start button back in the first major patch and continues to ship Windows 7 - you can even downgrade your 8 license if you miss it too much. You can't do that with iOS7 which despite being a relatively conservative update had equally mixed reviews...

Criticising Microsoft is like shooting fish in a barrel, so it's odd you'd pick on them for innovating without thought to convention and backward compatibility - an area where they're generally more cautious than the peers you named - and a product that actually has plenty of fans.
Edward Snowden NSA files
Telegram F.A.Q.
Somewhat related, I have always liked Jonathan Blow's (creator of "Braid") talk on data structures. Slides and audio here: http://www.myplick.com/view/7CRyJCWLM71

> Using the right data structure is usually bad

He argues, because really, most of the time it won't matter.
It is a pity that people only think of "data structures" when they deal with large amounts of data and are forced to think of lists, trees, and all that. Even in simple business problems, choosing the appropriate set of variables to model a given thing can make a huge difference in how easy it is to solve a problem and how elegant the solution is. Recognizing that a data structure is needed in the first place seems to be a craft in itself, and one that isn't taught much.

It's all the more funny, given the structured programming guys talked a lot about this some thirty years ago (at least), and now most of it is forgotten.
> Wow...are you sure you know your history?

Oh, that's right, it sort of was actually IBM. Then again, Bill Gates perfected it -- http://en.wikipedia.org/wiki/Open_Letter_to_Hobbyists
Lists, being an "asymmetrical" recursive data structure, have O(1) time for adding an element to its head but O(n) time for sticking an element to its tail

Well, a list is an abstract data structure. Being Python, it's implemented as an array, so adding an element to the head actually costs O(n) - since all elements must be copied to the next position - while appending to the tail is O(1) (amortized, since in certain cases it triggers a full resize, requiring a full new copy of the list).

The language wiki has a page with the time complexity of a few of its data structures: https://wiki.python.org/moin/TimeComplexity
Ask HN: How do you protect IP in a coworking space?
Just heard a presentation from an IP lawyer who basically said that due to some recent changes in the law, if one were to do a "public demonstration" of their IP then they can no longer file a patent for it.

So, if you invented a spark plug and put it in your car and took it for a test drive down the freeway without filing a patent first, you can kiss it goodbye. The crummy thing about that is if you're working on code and you happen to be working in a coworking space building and running said code, you're essentially on the same boat.

This would apply to coffee shops and other pseudo public places as well.

If that is the case, how do you manage IP? Don't co-work?
Finally! Now when the inevitable "Coinbase is shutting down" post appears, I'll have some idea of what they're referencing...

( https://news.ycombinator.com/item?id=6573455 )
That's because the site that's hosting it depends on javascript to serve anything up, not the demo itself.
Guava Collections Cookbook
Diabetes Consultant | Dr. Alka Jha Fortis C-DOC
Diabetes is an area of expertise of Dr. Alka Jha. She graduated from Lady Hardinge Medical College.
A friend of mine, @ouanilo (french), actually reversed the Skype protocol: http://www.oklabs.net/skype-reverse-engineering-the-long-jou...

Wondering why it didn't really get out there tho.

The rest of the website has more information about the journey, and an actual fake Skype client.
As far as I can tell the "French law" would be Article L122-6-1 of Code de la propriété intellectuelle which is dated 10 May 1994. The Eu Software Directive was first enacted in 1991. The text of the French law is almost verbatim the text of the directive.
Two things:

1. If you really wanted to make it a test of downvoting, you should have discussed the phenomenon in another thread (although I would have downvoted you in that thread, since any discussion of being downvoted flouts HN guidelines).

2. You should have given it a chance, even after two downvotes. It's not unusual to receive one or two quick downvotes and then be upvoted back to full visibility if you're comment is unpopular but rational, unemotional, and no ad hominems or other personal attacks. For one, I would have upvoted it. In my experience, it's rare to see good but unpopular arguments downvoted to reduced visibility after the initial 20-30 mins.
But didn't Bell Labs have the telco mentality? Or how did they protect themselves from it?
Thanks for the link to the source, I was asking in general though.
I don't think I abused the flag function. As at the time my perception was that the thread was an astroturf PR attempt.

I am now extremely sorry that I have participated in that thread at all (before it got off the front page and especially after it got off the front page) since now instead of one crappy thread taking place on the front page of HN we have two and we might have more in the future.

With my disclaimer out of the way I would be extremely glad if you tell my why you think I abused my flagging privilege (besides breaching guidelines by talking about it).
yes you're right, thanks for the correction.
You can get blamed for changing something! The power if inertia....
A French company should now be able to offer a chat messenger which is interoperable with Skype for sale, potentially giving it to keep up with the cat and mouse game.
Thanks, this is excellent for a Go implementation. And I will definitely use it! I was asking in general though..
I think you missed the point. It is more about coder's attitude than about using (or not using) the presented examples in real code. I wouldn't like to work with a programmer than writes shitty code accidentally relying on UB, and denies every criticism by saying "it works, so what's up?".
Animations for Thumbnail Grids
Houseshares: How do people avoid picking a terrible housemate?
Http://www.myrepospace.com/profile/wahyu4ever
This is the kind of thing that Go shines at.
Is it possible to enable some switch in Chrome to force the browser to render only correct code in dev mode? This would catch me making mistakes that otherwise go unnoticed.

On the note of forgiving browsers, I love how they are a very accepting interpreter of information, much like a human listening to someone's broken English and still understanding what is being said.
> My personal thought is that all houses should have AC and Ethernet throughout the walls.

I'd add multi-mode fiber runs for future-proofing and compatibility with 10G to 100G ethernet.
And I thought I was cynical. Crumbs.
Principle is the same in any language. They all provide a way to parse the arguments passed in. You need to examine those and call the right code based on the argument name. Look for something called ARGV or similar in your language. For example:

node.js - http://nodejs.org/docs/latest/api/process.html#process_proce...

python - http://docs.python.org/2/library/sys.html

ruby - http://www.ruby-doc.org/core-2.0.0/ARGF.html#method-i-argv
The CNN 10: Thinkers
Do you mean how to do plugins for your application?

I use this route in one of my projects https://github.com/walle/gas/blob/development/bin/gas

Basically, all executables in your PATH that conforms to a naming convention is a plugin. If a match is found it's run.

So in my case you can call both ´$ gas list´ and ´$ gas-list´.

I don't know if this is the best way to do it, my inspiration was how git commands work.
consult about diabetes to see this.........
FakeSkype: an open source Skype client
The difference is that they don't synthesize the gold, just move it. Gold grows on trees like apples grow on a shopper.
Meh, some of the tools are like vim. Hard to get started, great when you know them. It sounds to me like you are hating because you didn't spend enough time using these things.
Following this discussion[1] I thought this work deserved more views.

[1] https://news.ycombinator.com/item?id=6597297
The CLI has always be open-source. They even put links to the implementation on the download page here https://toolbelt.heroku.com/
IMO => jQuery is just another javascript framework. It is best u understand and know basics of JS before mastering jQuery
Just imagine the reactions you can get from talking about daemons reaping zombie children... Though given how mainstream gory video games have become, talking about Unix process management in public doesn't sound quite as shocking as it used to.