skysight-inc/HackerNews huggingface dataset:
Choose units that have clear interfaces between each other.

Say you have (in this example, Java) classes A, B and C. A is public, B is public, C is package local to B.

It might make sense to test A independently, possibly with a mock B.

Then look to see if B and C can be tested together - the package local relationship suggests they may be the same unit.

There are no hard and fast rules, IMHO. If your tests are a world of pain, consider breaking things down in different ways.

Checking for a 500 sounds like it might be an acceptance test. Only hit the interface your program exposes for these!

As a worked example:

class PageGenerator {
Page generate() throws ServerException {
...
}
}

class HttpProtocolHandler {
HttpResponse handleRequest(HttpRequest req) {
myPageGenerator.generate();
}
}

Unit test PageGenerator. Assert that it throws a ServerException on error.

Unit test HttpProtocolHandler. Assert that if a mock PageGenerator throws an exception, the HttpResponse from handleRequest has status 500.

Acceptance test both together. Start the web server and make an actual HTTP request you know will fail. Assert that the response code is 500.

Happy to help more if you would like.
Google doesn't claim that Android is a Java platform (which will run any Java software).
Locating Mountains and More with Mahout and Public Weather Dataset
Yeah, that's fucking hot. Imagine an onmemory event in the DOM. Juicy.
Writers' Writing Sheds
surprisingly enough, I actually saw this book on shelf in person at Barnes and Nobles, just an hour after I saw this post. (the union square location in NYC has it)
Thanks for all the comments. And I hear all of you.

I lost my step-kids due to my "transition" some 15 years ago and being "the end of the line" so to speak, I was feeling a little maudlin when I wrote it. (The wine helped)

And now I'm over the almost loss of my mother recently I'll be working hard on documenting my memories and code and...

On a side note, I am working on a "diary" of my transition from 1956 to the present. If it works out I'll be making an eBook of it. Hopefully that will add something to "His^h^h^hOurstory."
If the humans operating the plants are not reliable, it means the plants are unreliable. You're running in circles with your argument.
How about a simple "onmemory" event that gives js apps a cleanup chance?
How about a simple "onmemory" event that gives apps a chance to clean up unused objects before crashing the VM? Good heavens why hasn't this been done yet? (Inspired by this comment: http://news.ycombinator.com/item?id=4527782)
To me this is an important step to help get rid of mindless eating.

That kind of eating, where a hand goes reaching into a bag of fried shit to grab one more piece of something you never wanted to eat in the first place.

I'm not great at it yet, but I try to stop myself before every bite and ask "Am I hungry?" in my head. I stop way earlier in meals, I eat more frequently with much smaller amounts, and I honestly have happier meals because I have more time to sit and enjoy my company.

I'm trying to do a water-only desk thing. I can have coffee, but only on a coffee break, etc. Not sure if it will make as big of a difference, but we'll see.
Mildly unrelated, but I wanted to point out the awesomeness of the K-map[1] for handling simple minimization problems like these.

Unfortunately, once your dimensions get large it becomes difficult for humans to visualize the optimizations, which is where Espresso[2][3] comes in handy.

[1] http://en.wikipedia.org/wiki/Karnaugh_map

[2] http://embedded.eecs.berkeley.edu/pubs/downloads/espresso/in...

[3] ftp://ftp.cs.man.ac.uk/pub/amulet/balsa/other-software/espresso-ab-1.0.tar.gz
Thanks. I have found the article: http://www.paulgraham.com/distraction.html
Those numbers are barely better than the SIII and Nexus. I would have expected more, given that Androids much faster than these are coming out any day now.
I agree, it's an over-used trope. Because it works. And I was implying exactly what you stated. Go to meet ups in the field of your choice, etc. The whole point of that is to expand one's social network.

It's second only to "update your resume!"
Maybe I'm missing something big but Dart looks to me like Slightly Better Java, yet another boring incremental improvement on languages that are well past their sell-by date. There are plenty of more daring and yet more mature alternatives that already provide the security of running on a Java or Javascript VM (Scala, CoffeeScript, etc) so I'm really fuzzy on just what they're trying to do here.
You can't just average them out - you think they have the same number of customers now as they did when they started?

Let's assume they doubled in size every year - I think that's a good if imperfect approximation. That would mean 30m messages sent this year, 80K sent today. A far cry for "a few thousand".
As I wrote below, working in a engineering-driven company with product would tick all boxes. This is the goal of a whole quest. What you're saying about passion was reiterated on HN countless times and something to be passionate about is the main thing I lack in a job.
Oh. And while I think of it, I have added a bunch of memories in the "Interesting Stuff about Kim" page.
See that's the thing, I know what we eventually want to do after we release and some of them are very large ideas to integrate which will take a lot of time. I believe that our product idea is way better than anyone else's, but the fact is this competitor hasn't really shown off what their product is besides in a post outlying the general "obvious place to start" as you say.

There doesn't really exist a service that we have in mind currently, so it's hard to not see it as a race. Especially if they release first, then a couple months later, we release practically the same thing and then we start work on what makes us different. But what's to stop them from copying our extended features?
It has been written about multiple times. I would suggest a search that includes the terms "expired", and "closure".
I can't speak for the people who have interviewed you and rejected; but a couple comments spring to mind:

1) You're in London. Most of the companies you're thinking about are based in the San Francisco bay area, and this is where all the truly exciting stuff goes on. Now, I'm sure there's a technical community in London; but there are very few places in the world where technical people are in demand and where there is a lack of supply. And those places each have different prominent industries. In New York City, the smartest minds become Wall Street Quants. In San Francisco, they make web-technology startups. I imagine in London, the default is in the financial industry.

Concluding my point; this may not be a possibility for you, but if it is, you may want to look outside of London. You'd probably get something in a heartbeat in San Francisco, and I'm sure you'd do fine in NYC, too.

2) You're an "old school" guy; as you said. I'm doing a startup in SF which has grown tremendously (now >30people and barely a year old) and the growth has put us in a situation where we're desperate to hire more smart and skilled people. I have interviewed and rejected many people (including Googlers) who were much smarter than myself, having experience with Big Data, Java, C++, and even artificial intelligence. Pure skill is nowhere near as important as your mindset, and how you will fit within the company culture. People who come from an environment where they sling Java for a big company have a tendency to not fit well with the way we all take responsibility for our projects, iterate and release fast and often, etc.

Now you may be looking for a change of pace. You may be into the idea of switching methodologies and toolset; but that's something you need to make clear to your interviewers. Your experience is like a background check. It tells us that you're a good & smart programmer. But the hiring decision is going to come down to the question: "How well do we think this guy is going to fit in here?"

That said, if you're looking for something in San Francisco, we're hiring. Shoot me an email at kenneth@ballenegger.com.
- [Dual CPU] Intel Xeon E5-2670 @ 2.60GHz = 28,459 CPU MARK

from : http://www.cpubenchmark.net/multi_cpu.html
Lowering the brightness helps, but there's more to it than that. Changing the color temperature is one of the cool features of both f.lux and this bulb. The idea is a warmer color temperature at night acts less like the sun.
IPhone 5: Customers in the Big Apple camp out 8 days early
Richard Branson's books (e.g. 'Business Stripped Bare' & 'Like a Virgin') are brilliant for the themes of branding, big picture thinking and leadership. Have a great holiday!
Cuban ingenuity in the iPhone age
But do you say that you are willing to take a non-City salary?
Hi there, please drop me an email (toby@timetric.com), we're looking for a Java dev now for Timetric for data crunching/visualization.
The first step to being unlimited is to learn how to post links correctly.
Cirque du Soleil and Startups
From the indictment: JSTOR is a not-for-profit (=no tax liability?). JSTOR charges universities annual subscription fees as high as $50,000.

Are we told anywhere what JSTOR's actual costs are for scanning documents and serving PDF's? Yes. Someone provided a link to details of JSTOR's budget in the other Swartz thread. Very interesting. They appear to be some very well paid "librarians" (archivists). And lo and behold, they are trying to figure out how to make Google bucks. Seed the Google index with links to JSTOR articles that sit behind a paywall, then charge $10 or more for a la carte access. (Can you feel the desperation?)

Sounds great, they can piggyback on Google, maybe run some SEO, do some behavioural tracking and all that. But there's just one problem: this is library material. Library as in the kind that is funded by grants, taxes, tuition or endowments. Non-commercial. And even more, does Google Scholar show ads? Do they charge anyone for access?

I'd put my money on projects like archive.org or publicresource.org, who charge nothing, before I'd bet on these guys. Sadly, this criminal case may really be all for nothing. Because businesses like JSTOR will likely fail, not because of kids like Swartz, but because they simply are not as smart about technology as the folks who run sites like archive and publicresource.
Considering the question-asker has a specific problem to solve, I would even hazard they probably aren't a programmer by trade.

So why would someone hire them to be a programmer? And yet, unlike other skilled professions, rank amateurs often present themselves as competent programmers. It would be valuable to include evidence to the contrary with résumés.

you've never been a complete novice programmer before?

I certainly wasn't hired when I was. What kind of ridiculous statement is this?

The poster is asking the wrong question. They are asking about how to manage incidental complexity, when they should be asking how to avoid inherent complexity. Incidentally complex code is the worst possible code to maintain, and you'll thank yourself for not letting contributors commit it.
Ask HN: Anybody want to be a cofounder on a developed word association website?
I've spent the last 5 years and 1500+ hours developing this word association website in my spare time: http://www.thlinx.com<p>I want to apply for the winter funding cycle at YCombinator (due Oct. 30th), and I want to find a passionate cofounder with a complimentary skill set to apply with me.<p>Anybody interested?
Shown HN: Calendar widget for Twitter Bootstrap
Those hipster startups will probably fail then. That is an amazingly bad criteria.

Check for creativity? No. Check for passion? No. Check for problem solving ability? No.

No experience in the dominate internet development language for the last 15 years: Awesome!
Yes, I thought of it as a cross between beta testing and A/B testing. Or throwing spaghetti on the wall and seeing what sticks. Certainly not basic or serious research, which is probably going on right now somewhere in Google.
There's a huge startup community in London. Huge community of VC's, angels, accelerators and startups. The government is aggressively pushing startups through TechCity and is redeveloping apart of the city for startups. http://www.techcityuk.com/#!/home

Most major US startups are basing their international offices in London.

Of course you are right, until a few years ago most development was for the financial industry but it's all changing.
Will Google smite Asus next?
Post by my friend Sam. Is it possible Google will come after Asus next because they will be shipping Bluestacks with their Windows 8 hardware? Same question for Blackberry 10.
4 Best Mobile phones Set For 2012 on Verizon for you
Hyperbolic post is hyperbolic. C'mon.
And I've been wary about publishing them :)

Shameless plug: I put out jsmag in PDF, and regularly get people asking for Kindle version, but have not yet been able to make something look decent. Revisiting this again next month. Suggestions/guidance on this topic welcome.
Спасибо за статью. Печально, что русский язык не входит в десятку наиболее используемых языков в Internet.
I would buy this if there were a PDF version available. Am I able to purchase the Kindle copy and download some kind of Kindle app to read it? I really want this book.
Do I really have to point at the logical fallacy you're using here? You're basically saying nuclear power doesn't suck because coal sucks.

Let me tell you about how many people die each year from the hydroelectrics that power 90% of my country.
1) Contribute to, or publish, open source, the more the merrier (it's a very good way to get judged by coders)

2) Keep a technical Blog and write about interesting stuff you did. Try to offer a service for your readers covering topics and explaining things to help them along, attracting an audience.

3) Get a twitter account to tweet about technical things that interest you, get followers that like what you tweet.

4) Participate in other coding communities (like stackoverflow) where you can help people along.

5) Make sure that your entire presentation is geared towards steering people towards your blog and your software.

6) Forget resumes. Nobody reads them. Polish yours leaving everything but the bare essentials out, try to smuggle in your blog and open source software links.

7) Cultivate a larger network, go to local or nearby meetups of the crowd doing stuff you're interested in.

8) Publish more software on the app-store (or anywhere), write about your software on your blog.

9) Participate in standard bodies.

10) Freelance and/or run your mini company besides, be sure to write about the awesome stuff you did while doing that on your blog.

In short, get known for doing things. Don't think people read the resume and show an interest.

And if at all possible, let people come to you with offers. Not the other way around, if they come, you already know they're interested.
I think the issue must lie in your CV - usually they're just way too long! You should be making it to at least initial interview stage every time, especially with your experience.

If you'd like to do an interesting A/B test, I'll gladly re-write your CV for you, set up an extra e-mail address & see which gets you best results! If it gets you a job you can give me great feedback.
Go to Silicon Drinkabout (http://silicondrinkabout.com or Hacker News London and talk to some startups. There are many highly funded startups that would love to have you on board. There are a number of big web startups in London with hundreds of employees and many of these founders go to these events.

As another user said http://hackerjobs.co.uk is also a great resource. Look past Twitter, Facebook, Google.
Go to Silicon Drinkabout (http://silicondrinkabout.com or Hacker News London and talk to some startups. There are many highly funded startups that would love to have you on board. There are a number of big web startups in London with hundreds of employees and many of these founders go to these events.
Painstakingly made, highly polished balls of pure mud - a how to
the numbers are all over the place. would be nice if they also did an average score among all the phones with the same name.

here's a Galaxy S3 score better than the iPhone5:

http://browser.primatelabs.com/geekbench2/1026099

and here's one showing the One X beating the iPhone 5:

http://browser.primatelabs.com/geekbench2/989732

of course there are lower ones as well. probably depends a lot on the ROM you're using.
Some favorites from my bookshelf: Benjamin Franklin's autobiography, Thinking Fast and Slow, Fooled by Randomness / Black Swan, SICP, Zen Mind Beginner's Mind
The Dragon Book alone tops your estimate by about 15%.
This story might help:
http://www.thedailybeast.com/newsweek/2012/07/15/vince-gilli...
Being fit into the culture is easily fixable — surely you don't go to Google interview wearing suit. I did the opposite once though.

A/B testing sound like an interesting idea to try, thanks.
Somewhat off the beaten path for this site I know, but the process seemed oddly similar to software development to me as well as simply amazing that you can create something that polished from dirt.
Very cool. 6 Watts, wifi controlled, colors and dimming, and plugs into a standard lightbulb socket. Mayhaps, the transformation from 110VAC adds to the complexity and possibly power consumption. Power over ethernet might be a better option. https://en.wikipedia.org/wiki/Power_over_Ethernet

We're using 12V with many white LEDs that consume .1 Watts powered entirely from the sun. The tiny 12V sockets have intially caused some problems because there are two prongs on the base and the base, and there appear to be different ways of wiring this.
I think my fontforge is the current version (see above) -- please correct me if I'm wrong.
Interesting. A couple years ago I started ALWAYS having homecooked lunch at my desk, resisting the temptation to stay and socialize in the kitchen after heating it. Since then, I've not felt the need for snacks of any kind at the desk except the piece of fruit I eat late afternoon.
Yeah, I knew that. I didn't mean to imply it was a separate entity for doing basic research. What I meant was the fact they closed it seemed to suggest that the idea of research for its own sake is not really somethng Google is interested in. At least, that how it looks from outside the Googleplex. Inside it may look different. (And yes, I am aware that employees are allowed to publish. But that research is almost always for the ultimate purpose of furthering ad sales, though it may not be immediately obvious to the outside observer.)

It's also interesting how Google employees, at least the ones who post on HN, seem to be isolated from what is going on elsewhere in the company. Is there cross-pollination between functional groups within Google? Great research organisations often have this quality. (Prepare for waxing poetic from young Google employees who think they are changing the world...)
Not really my point that anybody has to post or participate at all. More the opposite, that the OP has no right to suggest to people when they should not post. By his standards some people shouldn't be posting on Facebook at all.
Well it's like different, but similar!
Java as a language, maybe, but Java as JVM - lots of interesting stuff going on there that many other people leverage - big data plays, big search (solr, elasticsearch, pure lucene), mobile (android), alt.java stuff (jruby, clojure, groovy, etc).

Someone who is 100% just a Java-the-language developer may be stuck at a bank or other bigcorp. Someone who's got a lot of Java experience and can use the best aspects of the JVM ecosystem while also leveraging other non-Java tech should be able to do much better than the OP is saying he's doing.
You make big promises, are you in manufacturing or are you making the assumption they will? What next, you are betting there might be a new iPhone next year so why bother?
Sure, you have other options to read Kindle books without a Kindle device:

* On the web or on your iPhone/iPad https://read.amazon.com/

* On Android: https://play.google.com/store/apps/details?id=com.amazon.kin...
when did it become so trendy to hate semicolons?
No. He used another base motivator: greed. After he began expanding (winning), Khan himself became the motivator.
Also on Mac and Windows desktops. The great thing about Kindle is that it's almost as ubiquitous as PDF. Almost.
Other folks have jumped in and improved those tests. It's up to revision 10 now:

http://jsperf.com/parsenumber/10

(scroll down the page to find any newer revisions)
Study Identifies Five Loci Influencing Facial Morphology in Europeans
It's really unfortunate that, for many bosses, if you're sitting, staring at your screen you "must be working." To really increase productivity we need to give employees the flexibility to reach "true productivity". True productivity isn't sitting in a desk all day: it's achieving a good measure of quality work.
I've been to all the meetups you mention. Some of the contacts I got there were incredibly useful, but nothing led to an interesting opportunity.

I see you're very integrated in the community, could you maybe mention couple of companies you think are interesting? Maybe they went past my radar.
Yes, work on the network. Inspired by a conference 'open session' on job hunting a few months back, I wrote a blog post explaining this with some more specifics which may be of help to the OP (or ideally anyone) at http://michaelkimsal.com/blog/working-your-network/

In a nutshell, spend time in small groups - explicit networking groups, or networks of friends/colleagues with similar but disparate interests. None of this will be 5 minute job, but the OP has already invested months cold-emailing for jobs and that hasn't worked. Spend time investing in keeping your own network connections going - meet up with people regularly, etc.

Perhaps more importantly - start your own group if you need to. People will end up finding you and reaching out to you with job offers because they want to access your network. You'll sometimes hear about gigs before they're available anywhere else (not often, but it happens).
It's important to note that in the UK, you only pay for calls and texts that you make/send. You don't pay for what you receive.

So, for a fair comparison, double the minutes/texts on UK plans.

You should also bear in mind that no-one actually has unlimited texts. You'll get clobbered by 'fair use' limitations long before you reach anything really high.
This is a great insight. I recognized early on in my career that I could realistically only hold 6 or 7 crisis' in my head at one time. It is why I shied away from management.
Shark Tank Sharks Repeatedly Reneg On Investments
The joy of consuming and providing APIs
> Startups seem to like RoR and Django juniors the most.

Then why aren't "Django junior" and "RoR junior" on your resume, with links to your portfolio? Never mind faking it, it's not hard to become a gonzo Rails artisan who knocks out agile websites more often than most people wash their car. And you get to the interview and they are pleasantly surprised to find you are a hardcore backend engineer as well.
> the numbers are all over the place. would be nice if they also did an average score among all the phones with the same name.

They do: http://browser.primatelabs.com/android-benchmarks

That said the data is pretty useless for many Android phones. For example the international S3 has a quad-core A9 based SoC while the US S3 has a dual-core krait based SoC. Also consider that both overclocking and underclocking is quite common amongst the android crowd that bother running geekbench.

The average across a product name is actually a really poor metic to use here. Well, geekbench scores in general are a really poor metric to use...
Thanks — that's exactly somethig I wanted to reply with.