skysight-inc/HackerNews huggingface dataset:
Pretty sad that all these examples are bad comments not good ones.

Here's a comment from some code that I posted to my blog. The idea was that this would explain in detail to someone reading the code what I was doing with the pieces of a wooden train set. This was critical to the operation of the program and I imagined that many of the readers of the code would need a careful explanation.

It turns out that I'd forgotten what this code does so the comment was helpful.

# The 15 possible pieces: a straight edge (which has $unit length) and
# is used as the measurement for everything else, a bridge (which is
# twice the length of the straight edge; it is actually supplied in
# two pieces but for the purposes of this program is considered to be
# a single piece) and a curve (using $radians_in_curve above the
# length of the straight line between the ends of the curve is
# calculated).
#
# Each entry consists of three parts:
#
# length: the length in a straight line between the ends of the piece
# at its centre.
#
# angle: the angle (in radians) between the straight line through the
# piece and a tangent to the curve at the piece's start. This only
# applies to curved pieces where the straight line is the line joining
# its two endpoints.
#
# count: how many of these pieces are supplied.
#
# Note that curves can be placed in either a clockwise or
# anticlockwise direction. The program detects this by looking at the
# angle. If it's non-zero then the piece has two orientations.

my %pieces = (
Bridge => { length => $unit * 2,
angle => 0,
count => 1 },

Straight => { length => $unit,
angle => 0,
count => 2 },

# Here's a curved piece, the angle a is $radians_in_curve, the
# length l of a side is $unit. So length is the distance between
# the points labelled s and f. Bisect the angle a you get a right
# angle triangle with hypotenuse of length $unit and angle at the
# vertex of $radians_in_curve/2. So the angle b is $PI/2 -
# $radians_in_curve/2. By simple trigonometry the length is twice
# $unit * cos($PI/2-$radians_in_curve/2).
#
# s
# C
# . . C
# . b C
# l . . C
# . C
# . . C
# . a C
# . . . . . . . C
# o f
#
# To calculate the angle to the tangent at point s (the angle c),
# note that the angle formed by os and the tangent is a right angle
# (since os comes from the centre of the circle). So b+c is $PI/2
# but b is $PI/2 - $radians_in_curve/2 and so c is
# $radians_in_curve/2
#
# s
# .
# . . .
# . b c .
# l . . .
# . .
# . . .
# . a .
# . . . . . . . . . . .
# o f
#

Curve => { length => 2 * $unit * cos($PI/2-$radians_in_curve/2),
angle => $radians_in_curve/2,
count => 16 }
);

http://blog.jgc.org/2010/01/more-fun-with-toys-ikea-lillabo-...

Interestingly, the first line of this comment contains an error. There are 19 pieces not 15.
From your own quote: "Graphic design is created to convey a specific message (or messages) to a targeted audience" = form follows function (communication), not the other way around.
Nintendo visionary Hiroshi Yamauchi dies aged 85
That's applying technology to a, fundamentally, people problem and it may not yield predictable results. Such solutions aren't going to appeal to the vast majority of non-tech savvy people (and hosted solutions are arbitrary at best, censorship-inclined at worst) therefore will not make a dent in the actual proliferation of "crapware".

In short, anything that requires more effort than is necessary to install crapware, will not see adoption rates higher than the crapware itself.

We need something else.
> a system-wide DirectShow component which can be reused and composed in processing pipelines by all third party Windows-applications.

Why should a user care for this? I don't have DivX on any of my systems for years now and I've never come across a context where I needed it.
Thanks for the reply. On #2 - isn't runway money/burnrate? I always viewed it as measured in months. "We have 12 months of runway" versus "we have 24 months". I mention this because the original Wilson post was encouraging people not to stay too lean purely to increase the runway, implying the runway could be variable for a given amount of money.

IRR data is semi public, no? Isn't it possible to see how much a company gave up in the A round by comparing valuation to money raised? Then back out the IRRvat the IPO?
Also https://github.com/GaloisInc/HaLVM (Haskell). Though I think it doesn't handle parallelism.
So in the end, we're reinventing the OS with a hypervisor acting as the kernel? Are the current hypervisors better or worse than the Linux kernel at this task? What's the reason people don't just run these processes straight in a regular Linux install with properly configured users/chroots/quotas?
This seems a bit ridiculous to me.

In the beginning you had

[OS] -> App

Then, people would put those Apps into a VM, the trend going to one VM per app.

[OS] -> [VM] -> [App]

Just to realize that the VM may be too much of an overhead, so now OSv comes along to cut that down, relying on the OS for memory management, task scheduling, etc, effectively ending up with

[OS] -> [translation layer] -> App

So that's just a glorified sandbox, why not just use LXC?
maybe an image of what the notebook looks like will be very helpful
Why do you assume the implementation hardware matters?

If it does, why assume brain-meat is better, as opposed to worse?
Would be good if it had a copy & paste field for installing via bower (if available)
tl;dr: they're making $30 million annually from over 100,000 advertisers. Some of who, like Comedy Central, apparently pay $75,000 for a campaign that runs a few days. And after cutting staff from 120 to 75 earlier this year, they're now hiring again.
The favourite one from our codebase:

// And God said: "let there be....shite"!

(followed by some C# reflection code to break into a sealed class in the .Net framework)

All other comments are pointful, well described and useful.
Slides from Go London User Group September 2013 meeting: Go Memory
I agree with all of that. The fact that the invasion was mostly unilateral is exactly why Iraq wasn't divided after the war, which was my entire point.
I tried construction worker earmuffs for a while. The biggest problem is that I wear eyeglasses. The arms for my eyeglasses have to go through the soundproofing system to hang on to my face, which leaks sound and makes them kind of useless. I assume construction workers don't wear glasses?

They also squeezed my head which was uncomfortable after 8 - 10 hours.

Lastly, people kept trying to talk to me, which meant I had to pull them off and put them on and pull them off and put them on which was a little maddening.
Flutter Wireless - Arduino with 1km+ range
I think he means that, of all the things to ban, particularly on /b/, ponies is (or rather "seems" - there's logic behind it) random and arbitrary.
http://portableapps.com/apps is a pretty good resource.

The apps are portable versions (made with permission of the original developers) that are meant to be installed on flash drives, but you can click through to the official project pages of each one to find the desktop versions.
The Feminist who Cried Wolf
An Amalgamation of Reviews: iPhone 5S, 5C, and iOS 7
Interesting. We do a lot of custom drawing as well (like I said, our app dates back to iOS 3, so we even have a messy custom transition animation layer that wouldn't have been necessary with newer OSes) but it sounds like we've sidestepped some of the issues you've run into just by chance.

For instance, we already had custom text metrics code since our app's font is italic, and that code already rounded to non-retina boundaries. And I think nearly all our tableviews already had custom backgroundViews.

Our biggest incompatibility was a progress HUD popup that subclassed UIAlertView, and that drawing broke completely in iOS 7 (it just turned into a little blurry white bar in the middle of the screen.
I think there's a useful distinction between teaching a set of opinions that must be held regardless of evidence and teaching the practice of forming one's own opinions based upon evidence, but it's a tricky point to make.
Aprender Inglês Para o Local de Trabalho com a Ordem dos Engenheiros
Because my time is more valuable than 2MB of disk space.
Before I click, I bet this has been closed as "not constructive".

[edit] Yep.
I advise you to rethink the 60 second posting rate for /a/, it's making dumping chapters impossible.
IMO, the big problem here isn't so much the install as the uninstall.

Think that installing Conduit will add value to my computer? Then go ahead, default it to "install" - but let me uninstall it in the usual way.

It's the fact that most of these programs are designed to be as hard to uninstall as possible that's the big problem. And as soon as you're trying to stop me uninstalling your software, IMO, you're basically making malware.
I would rather say that this kind of behaviour is one of the tiny little things that make computers harder to use in general.

We all know of relatives that just use their computer for Facebook and Farmville, and get "infected" by a needless virus scanner and/or alternative browser every time they have to update Flashplayer.

It is so vicious that even people that are aware of this kind of practice may get caught. The fact that users "can't read" (but equally often programmers also "can't write") is no excuse.
Http://www.addthis.com/bookmark.php?v=250&username=sahithp
I Finally Understand Bias
That's beautiful! I have lately been encouraging all my team to take advantages of comments to document the high level business logic as it was at the time of development. It provides utility during code review and future dev, and it's a terrific CYA when debating with stakeholders about what they said they wanted then versus what they "remember" asking for.
>The unpleasantness of giving up my money is simply outweighed by the utility of the thing I'm buying.

Giving away money is also quite pleasurable to some. You could be supporting a product you like, hence increasing their chances of survival. You could be just buying something you don't necessarily need to help the person selling it, putting someone else's needs before yours, which generally feels good if done voluntarily. Finally, you're reducing attachment to your wealth, which reduces the importance of your bank balance in your happiness. That kind of attachment reduction leads to more personal freedom.
Computer hacker
I most interested in hacking pcs
Several of these have just one or two comments - I've made a note of the one that has the most discussion. But here are some previous submissions:

https://news.ycombinator.com/item?id=555201

https://news.ycombinator.com/item?id=604463

https://news.ycombinator.com/item?id=620595

https://news.ycombinator.com/item?id=1626686

https://news.ycombinator.com/item?id=1699760 (Many comments)

https://news.ycombinator.com/item?id=1805021

https://news.ycombinator.com/item?id=2566782

https://news.ycombinator.com/item?id=2791385

https://news.ycombinator.com/item?id=4838161

https://news.ycombinator.com/item?id=5140016

https://news.ycombinator.com/item?id=5379948

https://news.ycombinator.com/item?id=5978923

https://news.ycombinator.com/item?id=6232500 (Ask HN, not StackOverflow)
Oh well I guess your 10 minutes skimming wikipedia defeats my 6 years of university, 10 years experience and constant obsessive reading.

The point I am making is "Design" is how it works. Graphic design is the design of printed, or visual communications. Graphic from the Greek Graphos, for "writing". That is, how the written communication works. To go from that to conclude that "Oh graphic design is just how it looks then" doesn't make any sense, and demonstrates a very shallow understanding of what it actually involves.

Furthermore, with graphic design along with any design process- the most important thing you learn is the process. The process of research, iteration, prototyping, throwing out most of your ideas, starting again and again and refining, and learning- all towards the goal of solving a specific problem.

That is all design. Not just graphic design. To go from there to "Oh but this guy can do some neat looking bevels in photoshop", it really just blows my mind, how amazingly dismissive and disrespectful such a view point is.

That Human-Computer interaction is "new" is really just way to hype it up. There is absolutely nothing new about the process of achieving a good HCI design, because it's the same principles from graphic design, typography, and industrial design all over again, simply applied to this new medium. There is nothing special or unique about it, except that you can get a faster turnaround time on prototypes.

It's not surprising that designers specialise, and all contribute to how it works. But it's like a british tank. All the soldiers in the tank are trained to do each other's jobs, so they can take over if required. They are all "Designers".
Taking advantage of the ignorant. I think everyone here has been burned by crapware installs and I carefully read everything I install.

If I click next next next next finish, it's my fault these days.

Sad world, but it is what it is.
I work a steady 40 hour week and only do additional hours if it's my fault.

And I don't even live in a first-world country.
Ooooh this hits a sore point with me this week.

I have used gmail to date simply because I must have a synched service between laptop and mobile. So gmail was just there as a IMAP/SMTP server for the iPhone mail reader

However as pg has pointed out, and the pretty good ActiveInbox implemented (hey ActiveInbox - apply for YC!) a mail inbox is really a task list.

And it must be linked to a contact book. All of which must be integrated at the event level.

So which mail client I use is less of the question than how do I solve

* capturing and synching contact details, contact events,
email messages and tags across all these

I have a workable solution in gmail now, but I cannot capture events on my iPhone. Android appraently does so I will switch but its not all tied together neatly.

I have played with mutt and goobook but frankly I can see a good couple of weeks disappearing down this rathole. Yet it should be a solved problem. VCards, iCal, X-Headers, the solution is there. It just seems there is no RFC we can agree on

my rant on this subject: http://blog.mikadosoftware.com/2013/09/17/help-i-cannot-find...

Edit: am I just ill-informed (!) or has there really been no successful standardisation for "managing contact details events and tasks in a mailbox?"
Hello,

I would be very interested to fix all that.

Please mail me to give me samples, and I'll do my best to fix it.
Very similar to: https://github.com/anttikantee/rumpuser-xen
Your site gives little details about why somebody would use this over something like metasploit.

PS. Your github links point to a 404: https://github.com/levitate/levitate
Yes, processes are a long forgotten form of virtualization. You are spot on there.

They are pretty good :)
/* Here be dragons. */

At the top of the main loop of a heavily multi-threaded, iocp-based socket server written in K&R-style C. When I refactored it and ported to C++ I left the comment in.
How is it different from DCI?
I would gladly do overtime for a game like that, it would be completely worth it.

EA's sports game studios, or Korean/Chinese outsourcing/free2play sweatshops are places where it really sucks.
> But that person surely needs VLC instead, which too may come with 3rd-party crapware installer if you're not careful.

Bullshit. VLC has no crapware in the installer and installers doing that are illegal.
RIP. You touched many lives, many childhoods were brightened by your game-and-watches, your chimneys inhabited by man-eating plants, your moustached italian plumber heroes. I hope to inspire 1/1,000,000 as many people.

edit: here are some Nintendo Game and Watch devices on eBay for all you young runts. http://www.ebay.com/sch/Vintage-Pre1990-/155342/i.html?_from...
Actually just screw all of that and have:

[OS] -> App

Cheaper, less administrative overhead, less abstraction, less vendor tie in (if you go POSIX for example).

I think that might upset the virtualization proponents though...
The problems of an ageless population are not worth lining up and machine gunning 100,000 random humans per day with no regard to innocence or value.

And so neither are they worth permitting age to kill 100,000 random humans per day with no regard to innocence or value.
Heavens. Glad you're out of that dump.
Does anyone else think that ios7 and windows phone look really similar? I don't think it is only the "flat design" aesthetic, it's something more.

I think they are both less than ideal for this reason, because it is no longer obvious what is a button and what is not.

But it's pretty.
Thwarted Linux backdoor hints at smarter hacks (2003)
The Computer is your friend.
> game developers are typically underpaid and overworked

And marketing people aren't?

I'm a game developer, and it depresses me how much undeserved hatred and contempt "suits" get form us "technical" guys. We work hard to make something, and they work hard to get it to the people. If you don't like the idea that games like GTAV should be advertised in order to get the money they deserve (and I think no one here disagrees that GTAV deserves it), you should be disappointed with the audience who wouldn't notice it if not for a marketing budget.
School and organized after-school activities are nothing like anything I've experienced in adulthood.
Nobody's explained it to you? OMG! How you can you have been tortured so?

Did you consider spending 10 seconds on wikipedia? No. But you still felt it necessary, even after recognising your ignorance, to vomit forth your opinion.

...all that is wrong with the world...
One of the most effective ways to persuade people is to mix lies with truth to give the mixture the flavor of truth. For instance, starting with some comfortable truisms (all wars are full of lies) combined with questionable implications (Pearl Harbor and 9/11 were inside jobs) supported by misleading details (the carriers weren't present at Pearl Harbor, but battleships were universally considered the more valuable strategic asset until the battles of Coral Sea and Midway; the 9/11 hijackers were mostly Saudi because they were dissidents against the US-supported Saudi government whose senior leadership moved to Afghanistan to avoid the Saudi authorities). Consider also the general theme of such arguments: always to attack and denigrate the United States' involvement without ever giving consideration to the wider context. Indeed it's easy for the US to come off as the "bad guy" for entering a war against the actual Nazis so far as you keep the focus squarely on what the US did wrong rather than considering a wider context.
The N64 was the first proper games console I owned (I got it as a gift when I was 7). I spent so much time on it and had a lot of fun (I even brought it on holiday with me :). I still love to dig it out of the attic every now and then. Even though I'm not 'a gamer' it holds a lot of happy memories for me. RIP.
Comment from a project I used to work on:

# Circular references are a pain, yet so easy to avoid,
# however unpicking them at a later date can be hard
# and [python module name] especially so.
# Therefore I shall ignore this for now and use this poor quality
# botch to stop the code from breaking.
# I dream of a day in the future when I will be able to remove
# this crappy hack and the [project name] source code makes the world
# a better place.
# Until then I will cry myself to sleep each night.
50 years ago the movie business was a vertical market. The movie distributor was the producer, studio owner, the cast and crew were employees, and they owned the theater. Look at the old spaghetti westerns and the opening credits were studio, producer, cast, major crew, and that was it. The movie simply started. And the end credits were just as short.

Now the cast and crew are contractors, producers, studios, and theaters are separate entities with each one having to grow 10% annually. The last movie I watched had 10 minutes of end credits. Movies have gotten far more complex in production and there are a lot of hands in the pot now.
I use windows phone 8. No they are not the same. The style is similar but the actual functionality is nothing like iOS 7 from what I can see.

It's really obvious on Windows Phone what is a button and what is not apart from a few shitty 3rd party apps. This is regurgitating one of the many fables about WP.
but do you know of any well-curated list of non-crappy software in general?

<insert your favorite linux distro here>
Thanks for noticing. I took the screenshot: http://svedic.org/wp-content/uploads/2013/09/TEDxPageWaterEn...
They bring it up on response to the inevitable Android market share meme.
The original was developed in Dundee. Rockstar North, who developed GTA V, are based in Edinburgh.

Thankfully, there are still a handful of game developers in Dundee. One of the original designers on GTA now runs Tag Games in Dundee, which does some quality mobile games.
Last year I did something similar, but instead of searching the code I looked at commit messages that matched certain patterns to categorize them by emotions, you can see the results here

http://geeksta.net/geeklog/exploring-expressions-emotions-gi...
It depends. Where I work, C#/Unity3d developer costs about 1,5-2 of a normal C# developer, although they do very similar things and have an equal technical level.
Agreed. I've heard multiple people say that iOS7 looks bad in screenshots, but you really need to use it to understand it. I'd say the exact same has always applied to WP.
Hire iPhone App Developers for Customize iPhone Applications
No, it's not. It's not fool-proof but it makes it slightly more difficult for other developers to determine what's going on and it certainly makes code re-use harder. The effort that goes into examining obfuscated code is a deterrent.
The best I've seen recently was:
// this is shit

Followed by a #region block (it's C# code):
#region shit
{ ... }

This was done by a remote contractor on his last week on the project, which may explain his attitude. Regardless I nearly wet myself when I saw it!
Well, even though the extension lives on the local hard drive, it could still make loading it faster: At least with HDDs, people made experiments gzip'ing the Linux kernel in /boot (or parts thereof) and using the CPU to unzip it on load, which was faster than loading the uncompressed version (no source at the moment, sorry).

So since minified code shouldn’t even need uncompressing, I could imagine it to speed up the time it takes Opera to load the extension – if you always start a new browser if you want to go to a website, that might even make sense.
Wouldn't that be less secure? I understand that it's possible to use chroot and stuff, but isn't the whole point of virtualization/LXC that you have better isolation and more control over quotas and stuff?

I am just curious as to why people would use virtualization at all if it is possible to accomplish the same thing using regular processes.
Seems like it was meant as a joke ...
Yes but rationality and experience doesn't get you any upvotes in the tech communities. Raging fanboyism and denouncing the competition does.

Thanks for being rational - you are spot on.