skysight-inc/HackerNews huggingface dataset:
You're likely to cause a lot of trouble for other (possibly new) engineers going through your code. It seems cumbersome to look up metadata side-by-side while going through code.

I, personally, always reread my code in the form of sentences. Something along the lines of: "okay, first I create a x. Then I pass y to it. I then set this flag..."

If at any point I hesitate or have trouble stating what a line of code does, I add these sentences as comments so someone else can understand easily/quickly (if I can't alter the code for some reason, that is).
A few years ago I took a look at this Unix circuit schematic editor, which seems to be still going strong. Symbols are kept directly in Postscript, if memory serves.

http://opencircuitdesign.com/xcircuit/ : "XCircuit regards circuits as inherently hierarchical, and writes both hierarchical PostScript output and hierarchical SPICE netlists."
Well it stands to reason that the Plan 9 code would work that way if Rob Pike made the comment. I'm just wondering if anyone else found this way of coding attractive. Everything I've seen points to "no".
I wait for new Emacs versions like I waited for Christmas when I was a small kid. And I don't peek into the development branches, I want to take time and enjoy the changes upon the release of the next major version.

Each new Emacs version shows little on the surface which you might expect from a software suite that has had everything and the kitchen sink since the 90's, but in the inside there's an ongoing morphosis into something greater, that quietly reveals itself version by version if only you take the time to study not only what's new but how the new things work. Then suddenly, say, five years later, a new usage paradigm emerges seemingly out of nothing eventhough Emacs has had the bits and pieces in for many revisions already. This is just fascinating. For example, the various completion subroutines have slowly converged into a more solid, generic completion subsystem. And best of all, you have the source code to play with.

If Emacs is nearly an operating system then it's kind of nearly a software Lisp machine.
Jekyll is great, but far from accessible for novice or even intermediate users.

Out of curiosity, link to your new blog?
Touch gestures generate a ton of events, specially in early versions. The most common fix is sleeping for a few ms in the UI thread. http://www.badlogicgames.com/wiki/index.php/Touch_Event_Floo...
The Next Big Thing – Movies & Music (Oh Samsung…)
In these cases, I would check for the type, so instead of your example, I would say "var a = typeof a !== 'undefined' ? a || someDefault". (Not that that is particularly pretty, it's actually quite ugly.)
That would be a bit concerning, given that (according to the story), the survey was run by a company whose business is recommending "work apps".
Christopher Hitchens Takes on Nietzsche: Am I Really Stronger?
LOCATION - Central London, UK

ROLE - Mid/Senior PHP developer with custom CMS experience...

We’re looking for an personable and creative mid-weight/senior web developer to undertake approximately 7-10 days freelance work. This will involve taking some static templates that have already been built using HTML, CSS and jQuery and creating a brand new custom CMS to support the site. The site and CMS will need to support multiple language and so experience with localisation is also required. Ideally you would use Cake PHP to fulfil these requirements. Editing of the existing templates may be required and/or additional new templates may need to be built and so you will also have strong client-side development skills too. We are keen to get started on this ASAP and get the bulk of the work done before the Xmas break. We hope to choose someone after receiving CV's over the coming weekend (Sat 10th / Sun 11th Dec 2011). Initially you'll work on-site at our offices in Fleet Street but we would not be averse to a least few of the days being worked remotely.

REQUIREMENTS

•	At least 3 years experience in web development

•	Significant experience of PHP as well as CakePHP

•	Experience architecting and planning web builds

•	A great eye for detail, both visual, textual and in code

•	Effective communicator

•	HTML/CSS/Javascript/jQuery and SQL should be second nature to you

•	Ideally you'll have a good understanding of Git

THE COMPANY

We’re a young fast growing digital agency based in the Fleet St area of London. There are currently 4 of us and we’re hoping to grow to 5 by the end of the year. We’re an easygoing bunch and we share our offices with a larger firm.

REMUNERATION

Day rate will be competivie and depend on the individual

HOW TO APPLY

If you’re interested please send an email to jobs.tinderfields@gmail.com along with a brief cover note containing some links to your work (including github profile) and attach your CV. Don't worry if you've just got lots of GitHub watches and not too many actual projects.
Btw, you can run the freely provided virtual machines with multiple IExplorer versions on Linux with VirtualBox.

Here's the script that will install them for you (works on my Ubuntu): https://github.com/xdissent/ievms
> I have difficulty interpreting the difference between running a native process, and spinning up a VM (local or remote), as a trivial difference.

Instead of running "redis.exe" (which you installed), you run "virtualbox redis.vdx". You could even have the inner redis use the outer disk with a little more work, running the internal vm read only. Configuration is slightly more complicated, as you have to both configure the inside redis and the outside virtualbox -- but it's all just a few short text files, and you only need to do that once.

You can produce a version that works offline. You can even bundle it inside your product (virtualbox and redis both being free). And you can do it today without antirez's help. Really!

EDIT: online -> offline; typo.
The ridiculous aspect of this page is the quote "We've invented a development process tbat's completely unique in the industry.", after which they describe a process that looks entirely like waterfall. It's an entertaining fallacy.
I'm a bit torn over the RAM limit of 4GB. It's ok now, but if I buy a machine in that price range I'd like it to be good a couple of years.
Motivation – The A – Z of personal growth
This is just for the stores. Apple as a whole has 108B revenue and 60.4k employees, so ~ $1.7 million per employee. (numbers from wikipedia)
Ask HN: Finger Injuries and Coding
After injuring my left pinky finger (Sharp knife, 6 stitches) I've lost partial feeling in the tip of that finger. I didn't expect that it would be much of a problem, but now I'm having great difficulty keeping my left hand on 'home row' in the right position (resulting in CAPS LOCKed gibberish) and it's really affecting my productivity.

So I'd like to ask... have you had to deal with a finger injury - major or minor, and how did you end up dealing with it? Tips/tricks?
Please be informed about the advances before believing in the shoot from the hip comments made in this post. The best and easiest way to do this (albeit a bit dated) is the NIST Face Recognition Grand Challenge results (http://www.nist.gov/itl/iad/ig/frgc.cfm). You'll see the tremendous advances and increase in accuracy in FR achieved recently.
My variables are a little more verbose than the anemic style preferred by Rob Pike and used throughout K&R but, in that tradition, I also tend towards shorter, simpler variable names than something like minValueForTemperature, so maybe it would be useful to illuminate my own thinking.

Complex variable names ought to be avoided because, simply, they hammer the programmer with a bunch of information every time they are used. Usually, when reading code, you're trying to wrap your head around how a procedure operates rather than the specifics of what it's operating on. Often, if you need to know more about what a variable represents, it's sufficient to refer to its declaration.

Thusly, I prefer to name my variables so that one can pick up the general idea of what they're for from the name and then I document any additional information at the variable's declaration, either using a comment or via the type system.

So, this is how I'd handle your examples:

int maxval; /* until overflow */
Temperature minval;
"Apple views toch events as a proprietary interaction that they pioneered."

Surely you recognize that to a lot of people this is exactly the problem, right? Using questionable patents to prevent straightforward interoperability requirements (i.e. make a web app to act like a native app) is, to me and I suspect lots of others, a fundamentally evil act.

It's all well and good to Love you some Apple. But when they start acting directly counter to the interests of the public, don't expect people to stand behind them just because they make pretty phones.
I had to enable three sites in NoScript just to be able to see the blog post.
I'd love to take this opportunity to dive into Emacs, but the past few times I've tried, it's felt like my keyboard was fighting against me. For those of you using Emacs on a Macbook (or an Apple keyboard), which key do you use for 'alt'?
Google releases opt-in ‘Find My Face’ facial recognition tool
A palindromic C program
> He also completely misses the point about javascript's global-by-default variables and how easy it is to introduce them with typos

Using strict mode will avoid these kinds of mistakes.
>protection against things that could be reasonably mistaken for them //

I'm going to guess you're misdescribing the law here as elsewise they could simply point out that the origin of the goods and hence their distinctiveness is clearly born out by the articles bearing the trademarks of the respective companies.

I know practically nothing of US (presumably this is the jurisdiction in question) Design Patents ... do you have a pointer to a primer (or just the USC), thanks.
So... it's OK for Apple to do this because Rambus was worse?

(edit: I don't disagree that Rambus was worse -- they were, and threatened to effectively kill the competetive and vibrant DRAM market with their antics. But Rambus lost, and died. Apple is still around, and behaving badly.)
LeWeb'11: Beintoo (Made in Italy) 1st Place Winner
I wouldn't go that far, but it is reasonable to tax those things in order to internalize that cost to the individual. The trick is getting the politicians to spend the tax mitigating the effects instead of selling favors.
But most smokers will be exceptions. Most smokers will not get cancer. They get cancer significantly more often than non-smokers, but that's not scary sounding enough, I guess.
We’ve reached a point where Social is a must.

Have we? Or is it just the "trendy" thing to say right now?

I use Mint. I love Mint. I do want want Mint to tweet out my finances. Square is fantastic. I do not need it integrated into my Facebook account. I don't need or want Uber to broadcast where I'm travelling.

These are all concepts that can be entirely successful without social. The fact that everyone is so focused on social actually leads me to believe that you might stand out from the pack more by chasing an idea that rejects it.
> should Microsoft (or other contributors) overcome the expressed limitations, then a promoted Windows port makes sense.

This being a BSD product, they can just maintain and release their own version, and they're not even obliged to share their modifications with the community; they haven't in the past (e.g. BSD sockets, zlib) so I wouldn't expect them in this case either.

And as a paying microsoft custoemr, you should be getting such a service for your money.

Really, this is all it is about -- You, yread and microsoft are trying to get Antirez to provide valuable (to yourselves) service for free.
Reverse Engineering Cityville a/k/a Sketchville | Allen Gannett's Blog
I think it's safe to assume that cars driven 20 times as much wear out somewhere faster then the normal rate, but less then 20 times as fast. Some of the wear is due to time, some due to thermal cycling (turning on and off, which happens a lot less for the high-use vehicle) and only some is linear with use.
Dennis Ritchie, creator of C? Ken Thompson, creator of Unix?
Totally right blog post from antirez, I agree with him as for his plans to his attitude.
Lawmakers unveil sensible alternative to SOPA
I'm enjoying the schadenfreude too, but no: I think that's the wrong way to look at this. That Apple "shot first" doesn't make Motorola's suit any less bogus. If anything we're closer to a sane resolution now just because of the court mess in Europe.

The goal here has to be achieving a sane and stable status quo for "obvious" IP law in consumer hardware; not punishing Apple for being jerks about things and upsetting the previous status quo.
Would this help design a process to Balance the US gov budget?
It is a lovely little game. I think the first problem is in your marketing script. You call out negatives (doesn't have plot, soundtrack, etc) right away. I actually was expecting a silent game from this. Instead it does have sound effects, even if minimal. Regardless I don't think drawing attention to the negatives helps you. I also think the hole and wall graphics aren't helping sell it - they don't 'fit' all that well in my opinion.

Despite that I do think you prove the point that the previous poster requested. Unfortunately yours is one of many examples of well-done apps that doesn't get traction.

Do forgive the critique, I hope it will be helpful to you in going on to make ever more amazing apps. And I'll curtail my suggestions here. :)
Where is the evidence that dietary fat and coffee increase cancer risk?
> This just sounds like sour grapes for not getting an invite to the beta.

That is another issue I had with this article. "I hate that large tech companies manage to completely control the initial discussion of their products by controlling who can see it." How is this unlike any other large company? Car manufacturers allow selected press to test drive new vehicles. Movie studios have showings for movie reviewers well before a general audience. This is a well established business model and calling out a single industry to "grow up" reads as someone who is not in touch with the reality of how a lot of businesses operate and why they do. PR is an established field.

I agree there is sexism in the field. The saying of making software for your mom, however, is not a bad thing. If anything I consider this good, even great. Traditionally technology was considered even more of a man's field than today, with little training or encouragement for women. The trend in older generations is more prevalent, which gives rise to the saying. Yet this idea of targeting that demographic explicitly is wonderful, and why the colloquialism is attempting to fight against the long held technological sexism of older generations. Making software for your mom or grandmother is a realistic attempt at solving the problem of lack of technical training for a gender that was largely ignored by technology a few years ago. People are doing something about the situation and bringing in new users to the latest in tech, opening windows into the rest of the tech world.

However, in the long run, this saying should be phased out as it will soon become more sexist with everyone of any gender having full access and encouragement into technology from a young age.
But that are your customers, every company is not the same.
Interestingly though, the article doesn't directly mention exercise. Obviously, obesity and lack of exercise are related, but I'm surprised that exercise isn't helpful in its own right. Or maybe the study or the article just didn't cover it, which I would find rather surprising as well.
When people talk about writing software for their mom, it's not sexism. It's age-ism. They're talking about software for their moms because their moms are older, not because their moms are women. I've seen reviewers talk about their dads and grandfathers in the same way.
I've really enjoyed my MBP 15". I've heard the next gen MBP will be thinner and lighter as well, so likely I'll hold out on upgrading until those come out.
http://thetechjournal.com/electronics/laptop/apple-macbook-p...
Fixed; forgot to proof read that paragraph, thanks Tycho. Always up for improvements no matter how small.
I don't think the study makes that claim. They are claiming that 6% of men with cancer don't eat enough fruits and vegetables (i'm not sure what enough is). There is no way to infer whether or not the lack of fruits and vegetables was the root cause of cancer in those cases.
I use the "Apple" key ...

Put this in your .emacs file

(setq mac-option-modifier 'super )
(setq mac-command-modifier 'meta )

I also use the System preferences to map the Caps-Lock key to Ctrl - A lot easier especially since a lot of keyboards tend to move the CTRL key around
>Developers actively avoided the plugins site for the last few years //

There are several comments on the linked page from people, developers even, that say they hung out there daily.
>> Really, unless you run it on a "server", then sqlite with properly set cache parameters is almost surely a better choice, and works on Win32 since 2002 or so.

> It might make sense for end-user business software if that software ever has to be run offline.

I'm sorry, I'm entirely unimaginative -- but I can't think of a use case for an "end-user" offline Redis server (regardless of O/S) that is better served by redis' sweet spot than by a local sqlite or postgres install. Can you help me here?
"First off let’s talk about why I chose Scala in the first place. After spending a good deal of my last year entrenched in JavaScript and appreciating its functional nature, brevity and flexibility, writing Java code became a tremendous chore for me. At the same time, our developers have grown accustomed to, and appreciative of the wide array of quality frameworks and tools available for Java, so a drastic departure was out of the question. This left us with two viable options: Clojure, and Scala."

Yes, a dynamically typed, functional lang like Javascript can be quite liberating after working predominantly in Java. But is the replacement of anonymous inner classes and traditional loops with closures really that important? And moving to Scala does not constitute a "drastic departure?" Really?

"Simply put, this is the main reason for my departure from Java. I fell in love with having Functions as first class members in JavaScript and it pained me to work without them in Java. Coupled with other functional niceties like currying, partially applied functions, etc. it improves code re-use and drastically accelerates development."

Really. Drastically accelerates development. Sounds suspiciously like he found himself a Silver Bullet. And of course all of the little hiccups along the way that come with moving to a new(ish), less mature platform don't slow down development at all.

"While the Scala compiler invoked through a builder like Maven, or the command line provides workarounds for this, IDE’s such as Eclipse and NetBeans don’t fare as well. Although the Eclipse Scala plugin is supposed to support Joint Compilation out of the box, this has not been my experience thus far. As long as your not married to Eclipse, I’ve heard IntelliJ and Buildr are the best IDE’s for Scala development so you may want to opt for one those if going the Scala route."

Good thing actually compiling is not a frequent and crucial behavior in the development process otherwise these little quirks might really slow things down.

"In my case, I use Java for Servlets and REST via Jersey with the service and data access layers provided by Scala. This way Scala never has to call Java."

LOL. You know, because Hibernate or JdbcTemplate are just too gnarly to deal with. We need the brevity of Scala here! And a functional model for our service layer! Really, maybe if the guy was doing some highly concurrent app and was making the argument that Scala's Actor model greatly simplified things, that might be a plausible justification. But for some service and dao classes? Seriously? How do people justify these decisions with a straight face?
This is flawed from the start.

1. Many people will only use a CC online for the additional protection it allows.

2. Many people put all their spending on CC for the various point / bonus schemes they have

3. This limits you to UK people only. Surely the purpose for most people creating a web app is to reach a global audience
It was just a remark on poor health in general.
I use 'option', also labeled 'alt' on my keyboard. You can set it to act as 'meta' via your preferences. Use iTerm 2.
Econ 101? Sounds like we need to remember Business 101.

Yes, it's revenue not earnings (profit), but a) as a manufacturer, Apple earns more profit on a sale than Best Buy, which b) makes how much more money they're earning all the more impressive relative to a retailer like Best Buy.
Yeah, going back to the chrome web store I see that on the details page it mentions that you can play now for free and then upgrade for $15. The linked page doesn't mention that at all and it's not on the main description for the app either.
I'm sorry, but I'm really not interested in the whole Linux vs Microsoft flamewar. It feels a bit last century, and, well, I doubt we'll be able to change each other's minds here.

Some small responses to some other points you made, though:

> And yet, when antirez says "meh, not interested, it goes against my focus", you call his response "bubble filtered"

Thanks for pulling me out of context. I also said, twice even, that it's his fair choice and I just wanted to give him a different point of view that maybe he's underexposed to. We're all in a filter bubble. Considering "you're bubble filtered" an insult feels a bit, well, naive to me.

> You guys are paying* Microsoft for the privilege of using their products. *

I'd pay for a Redis version on Windows.

> You can just run your C# code on Linux, rather than Redis on Windows. Mono really is that good.

I'd love to believe that, and in fact I'm absolutely baffled how non-sucky Mono really is given how little support it has gotten from both corporations (MS included) and the rest of the open source community ("yuck, Microsoft!"). It's really awesome, all the work they did there. However with the tech we're using (such as, for example, parts of .NET 4's Entity Framework), I doubt we'll be able to move to Mono soon.
Ask HN: Best affordable co-working spaces, coffee places in NYC?
for one person, not for a team. co-working spaces and coffee shops that allow people to work for 4-5 hours, with wifi. any suggestions?
Speed of the site wasn't even an issue. On a super fast connection ;)
Didn't find them when I went looking, that's all. FWIW, FastSpring's checkout is also a redirect, but they give you some pretty flexible control over the markup and CSS so its quite simple to keep the branding consistent.
Does this mean a person can potentially get tested for this, and find out that they have a free pass to smoke as much as they want?
Does nobody remember that there were big corporations trying to get a tablet out for the last decade and have terribly failed to do so?

The iPad is not at all obvious. It is intuitive. That's why everyone thinks it's obvious _after_ having seen and used it.
> protection against things that could be reasonably
> mistaken for them

That sounds more like trademark law.

That said, Apple has to incur a bit of penalty here for being first-to-market. Since the iPad was the first-to-market and the most widely recognized brand, it would not be uncommon for someone to see any tablet (regardless of design similarities) and say, "Is that an iPad?"

It's like Henry Ford claiming that no one else can make cars at the genesis of the Model-T because cars in general are associated with the Ford Motor Company. It would be ridiculous to say that anything with 4 wheels and a combustion engine might be mistaken for a Ford, therefore Ford is the only one that can make cars.
Yes, Google checkout is available to UK merchants. Fees are only 3.4% + £0.20 which seems far better than what FastSpring are offering