skysight-inc/HackerNews huggingface dataset:
About a year, after living in Bergen for 10. But only my second trip to Storgata 40, and if you've actually driven there, you'd know that the signage is pretty terrible, and -- along with the construction -- it's pretty non-intuitive to get to the entrance.
It's great tool, hence why I posted it here. The last post of snag.gy was nearly a year ago and it got basically no feedback.

My interest in web development has increased over the past through years, so simple effective tools like this appeal to me.

I use it on a regular basis now so thanks for that :)
Thanks! If that's what floats your boat then I definitely suggest you sign up at getremark.com. ;)
But it's exposed as window.localStorage, which is just plain wrong.
> "If I don't typically make a kind of mistake (like setting the wrong variables in a constructor), I don't test for it."

Hmm, that sounds like the old "You don't need to test , just be an awesome programmer duh!" argument.

The kind of mistakes you never anticipate making are probably the sort of stuff you should be testing for.

The amount of times I've had something fail on an edge case that turned out to be a typo in a var name on some edge case somewhere..
Good starting point. If you want to go further you can watch Susan Cain's TED talk, "The power of introverts". As an introvert myself, I love this talk. It is good to hear for once someone saying that it is ok to be what we are.
It depends on your environment. If you completely control all the environments your application is deployed in (for example, when you provide a SaaS), it's fairly common.
Yes, of course, but see reply down-thread. I was called by the school, so the school nurse had made an assessment that the situation was non-critical. Since ambulances are a limited resource, why take it away from someone who could be in critical condition?
Let me tell you what I thought when I wrote it...

I did not assume that kybernetyk was dumb or anything, I simply chuckled and thought to myself ouch haven't I done similar mistake before?! Please don't assume the worst when reading someone's comment.
Design Tools: Website Review UICloud
UICloud collects, categorizes and allows users to search a whole host of UI parts. The goal of the site is to provide a search engine the finds the best UI elements on the web.
Inside the U.S. Military’s Chemical-Weapons Tests
The Eastern Europe Partnership Event
Cloudsigma is presenting Helix Nebula in the Eastern Europe Partnership Event at the Academy of Sciences of Moldova in Chisinau, Moldova.
You're right that internet penetration is low, but I believe that is quickly changing. Almost every person under the age of 35 I know in India (which is a lot, I have a lot of family there) regularly uses the internet, and anyone in the middle class can afford 3g (which is ~1-3 dollars a month).

Also, there's a matter of who is being targeted; you could probably draw strong parallels with Obama's strategy of targeting the young and educated.
Responsive URLs - URLs which respond to your browsers width!
URLs which respond to your browsers width!
15 Agonizing Automotive Atrocities
Proof-of-concept for a more space-efficient, faster-looping dictionary
Ask HN: Would you consider this productive?
It was just recently that I found about desktime.com. And I was wondering..

Would you consider spending time on HN, CouchSurfing or similar sites productive? I understand that from a boss's perspective, of course not! But, in the long run, and for your own personal growth, it of course is productive. You are learning something most of the time. May be something that one learns here won't be useful right now, but it does have some impact that changes how you act or think later when it comes to using it directly or indirectly.

So, I know that it doesn't counts much to be serious enough. But, would you mark HN or CouchSurfing or similar sites to be productive sites, for your own-self and your growth?

What similar productive/may-be-productive-later sites do you know? ;)
It breaks my heart when something that starts as a labor of love ends up becoming a bitter dispute. There has to be a better way to shut down a failed startup.
Not that it matters, but you're replying to the wrong guy.
At the risk of being down-voted into oblivion...Other than the fact that the guy selling the games is a programmer, so what? and why is this on HN?

There seems to be a rash viral digg/reddit style articles creeping onto the HN front page as of late.
The Science Of Persuasion - Cool educational video
In the article it says they have a rebranded version of Firefox called Naenara.
In a comment by Rick Falkvinge in the comment field, he explains this point. Basically, only Swedish authors and translators receive any money at all. Its also not a licensing deal between the copyright owner and the library, but rather a money distribution method, using the statistics of book lending gather by the library to grant money to Swedish authors.
> a three lines program generates 95 lines of error messages; let's throw a template into it, so that it goes up to 112 lines, but look: at the beginning you'll see the error we added!

95 lines of error messages sounds terrible, no doubt. But which language is better in the real world? I am currently consuming a JSON web service written in Java, and I get no less than 30kb of stack trace back when something blows up. Rails' stack traces are filtered by default, but sometimes you still have to jump in there.

And C++ has the advantage that much of this can happen at compile-time.

I agree that almost everything about C++ is broken, but the verbosity of error messages is the smallest of it IMHO.
Brain cells made from urine
Testing is something I do a lot, and like talking about a lot as well. There are no hard and fast answers to testing, like other stuff, there are lots of opinions(they are like assholes, everyone has them, and the others' stinks) about testing. So here goes mine(not necessarily correct, but worth putting them here). I am putting them as one liners, let me know your thoughts.

1. What do you mean by unit in unit tests?

An implementation of very basic feature, probably not more than 100 lines of code.

2. What do you test when you write a unit test?

We test the basic correctness, eg. given a url, if it exists assert 200, if not assert 404.

3. What should not be tested?

The inbuilt libraries should not be tested. Eg. If you are using a library say django, you should assume it comes pre tested and should not spend time writing tests for them.

4. What should be the depth of the tests?

There are no rules, but you should stop when you feel like you are humming inception theme.

If you want to read in slight more detail its http://www.blog.fruiapps.com/2012/09/An-intro-tutorial-to-te...
Ask HN: Which complied language to learn?
Hi,

I'm a programmer who is fairly well versed with interpreted / dynamic languages (Python, JS, ruby). I've started revisiting my algorithms course and felt the need to implement the algos in a complied language. I vaguely know Java to the point of not knowing it at all. So my question is - which of 2 languages ( Java/C++ ) should I learn.
Considerations in order of priority -

1. Ease of learning (minimum amount of time required to be productive for someone coming from py/rb/js)

2. Free online resources to learn

3. Powerful standard library so that I can use heaps, lists and dicts as easily as I do in Python

4. Performance

5. Should not require need an IDE to be productive (I love Vim)

6. Market Demand

Thanks a lot!
How to motivate a child?
Sounds like a database migration [by Google that is] or dump/reimport that hasn't preserved the original primary/foreign keys and so items are now owned by other people. Oh the joys of referential integrity.

The ownership of things seems to have been kept within your company but not so for individual items in the calendar which could mean that random other people are seeing your calendar entries appearing in their calendars.

"Oops" is the operative word from Google.
A Message to the SoundCloud Team
To avoid getting hung up on taxonomy I much prefer defining the scope of tests with the control theory terms of Observability and Controllability, http://en.wikipedia.org/wiki/Observability. That makes it way easier to categorize tests in terms of how effective they are and gives useful starting point to determine whether the granularity of the test really is able to adequately test the desired behaviour.
if rms read it, he would suggest editing GNU+Linux to GNU/Linux.
Russia Gears Up To Enter The Patent Race With New IP Reforms.
Travelling with your startup
do it for more projects, don't you think the first time you did anything it took helluva time??
Big Data, the end of Stock Market, or just a new step?
For learning basic algorithms I would say C, but given your requirements, I think C++ fits the bill.
This is slippery. It does read coherent, but blaming oneself for everything is an excellent fodder for depression. BTDT.
Prod: www.example.com

Staging: www.example-staging.com

Dev: www.example.dev (via host file pointing at 127.0.0.1)

Slightly more expensive (you need more domains) but you sub domains are consistent, which is often easier to deal with.
Yes, I wrote it like this to be clear that I mean the Linux kernel and the GNU userspace
I didn't even know there was a European Chrono Trigger. Certainly the only one of my friends who'd ever played it was the Canadian. So I'm not surprised if it's more expensive than anything else, because it would be very rare (and, unusually for rare videogames, it's also a fantastic game).
I actually briefly saw someone using this when I was in Pyongyang recently.

They have mostly older PCs (with CRTs) and the forums are reminiscent of the internet back in the Netscape 4 days. But from what I saw it is very much an intranet that even had a dating forum. But really it is just a toy for the sons/daughters of the elite. See they very much know about the outside world and so this helps them feel like they aren't missing out on something.

Apparently though Indian workers who have been brought in to work on government construction projects e.g. the pyramid hotel can access the 'proper' internet. But I believe the governments sets up a custom WiFi network.

Also since there were no mobile phone towers around I suspect they may have an underground fibre optic network with lots of microcells around.
I would suggest C followed by C++ (for the STL and other library).
I think every programmer should learn C/C++ at some point. Don't ask me for reasons for thinking so. Just a feeling.
On Page Optimization
Red Star (the OS used on many North Koran PCs) is a Linux distro running KDE3.x and skinned to look like Windows XP.

It's been a while since I've seen any leaked demos of it, but I seem to recall it supporting / running MS Office via WINE. But I might be wrong on that.

[edit] I think I'm mistaken about MS Office. Glancing through some Russian blogs, it looks like it's Open Office. But due to the XP skinning efforts, it looks very much like MS Office: http://ashen-rus.livejournal.com/4300.html
or you can literally write the whole sentence, which is even more secure and you don't have to remember any special rules, just the sentence itself. Of course it's more typing:

Guess what? Back in 2009 I saw a uniquely attired man traipsing round local places with a high number of legs, necks and shirt collars.

136 characters or 14 Gigayears to crack. Wow today I learnt that there's such a thing as a Gigayear.
I almost said Java because it fits most requirements perfectly, but requirement no. 5 makes it much harder to recommend it over C++. I think that developing in Java without an IDE can be a pain...

You love VIM, that's great. But do you hate IDEs? if the answer is no, I recommend trying it...
Two reasons: Because his goal/usage of said games, and because complete collections like this is very rare.
I'm not so sure that applies to most of it.

There's a large gap between games that appeals to me and games that are approaching uncanny valley territory.

For my part, I'd date the "end of interesting games" to approximately the rise of Doom. These games are nowhere near realistic enough to enter the uncanny valley, but to me that's when enough games lost their appeal to me that I stopped playing much.

There's nothing objective about that timing, of course.

Just to me, Doom never appealed, and indeed most FPS's don't appeal, and Doom heralded an age where most games changed in a way that made them less interesting to me. It is conveniently also a way of indicate roughly the timing of the fall of the Amiga and other not-so-3D-capable computers and game consoles, and the styles of games popular on them.

There's definitively exceptions - I bought Sim City 3000 and Alpha Centauri and Terminus long after Doom (those specific games because I've never owned a console nor a Windows PC, and they were amongst a small set of commercial Linux ports available after my last Amiga gave up the ghost).

I'm actually contemplating making my own "retro style" game (only thing stopping me is lack of time to devote to it at the moment) exactly because I keep seeking something that evoke the type of fun for me that the games I grew up with did (what I'd like to do is some sort of mix between International Karate + and Chambers of Shao Lin - never martial arts games don't interest me much).

Of course a lot of this is down to pure nostalgia, and a lot of people would get disappointed if they actually went back and played these games again (with exceptions - I have a Minimig, an Amiga FPGA reimplementation, - and there are certainly games that survive even being blown up on a crystal clear 42" LED TV despite the fact I last saw them on a grainy 26" CRT 20+ years ago).

But there's also a stylistic difference, whether in graphics (cartoon-ish pixel art with lots of metallic gradients vs. "realistic" art that often try to look real), music (80's chip-tune electronica with lots of inspiration from a strange mix of Jarre, heavy metal and others), as well as big changes in gameplay (e.g. 80's games were usually far less forgiving in terms of losing lives and ending the game), and 2D vs. 3D (even for games which today are nominally 2D the graphics is still often in a 3D style).
I think this article is trying to get at a supposed culture of failure worship that exists in the Valley but I don't think that the point is clearly made that anyone is that obsessed with failure. Everyone wants to be successful and nobody regards a 3x failed entrepreneur as being as reputable as a 3x successful entrepreneur. People don't make a point of reading into the details behind success and failure.

I think it is more accurate to say that Silicon Valley has a culture of failure tolerance that is far above the ordinary level of failure tolerance one would expect in other societies. And that is a good thing. In fact, it is probably not high enough, which encourages entrepreneurs to chase quick flips so they can write "(2x exit)" next to their name rather than give a huge, risky idea a chance.

That said, I see the point that failure doesn't feel great. If the author is really trying to say "don't chase failure" then I wholeheartedly agree. Failing sucks and it feels awful, but I think anyone who has been through a failure knows that there is no way you can put a gloss on it. After the first failure you don't need someone to tell you how bad it is, you need someone to encourage you to try again.
Ask any entrepreneur: The freelance economy is a sucker’s game
He's not only a redditor. He's the creator of "bsnes" http://byuu.org/bsnes/ http://en.wikipedia.org/wiki/Bsnes one the most powerful emulator.
Definitive in what sense? For actually playing the games (which to me seems to be the point) everyone I know uses zsnes or snes9x.
Forgive my ignorance but what does "average review times" mean? Number of times app is run before review? Time of the day (although y axis limits might exclude this)? The number of reviews?

I think this graph needs needs a Y axis label with units.
While not obvious by the headline, the reason for acquiring them was to make bsnes better. The reason for selling them is he's done with what he needed them for on the project.
You're quite right, query builder statements are error-prone and difficult to stub; that's why you shouldn't sprinkle them throughout your app. Rather than write things like

User.active.in_group(x).not_replied.each { ... }

all over the place, write scopes on your User model (e.g. User.awaiting_response_for_group(x)) that represent each use case, test them thoroughly against the database, and then stub them out when testing client code. That way you only have to test the queries in one place, and you don't couple the rest of your code to your query builder.
I think it's the number of days it takes Apple to review your app before it can be sold in the Appstore.
Doudoune moncler homme,branson moncler,quicy moncler
Vous voulez acheter doudoune moncler pas cher pour votre ami? Cet doudounes moncler pas cher fournie sur site officiel moncler doit être ce que tu voulais. Son design élégant et de grande qualité satisferont absolument vos exigences. Si vous êtes à la recherche pour le refroidissement moncler doudoune pas cher, il suffit de commencer votre shopping d'ici
This is why we need to keep the Internet as free and open as we can. Progress and innovation happens on the Internet because of that reason. Imagine if the whole Internet was as restricted as the one in North Korea. It makes me very angry that UN is trying to restrict it even a little bit (or maybe a lot) right now. And ironically they say they want to do it to "accelerate" Internet's growth, which sounds very unlikely, and the opposite seems more likely.
I am saying "don't chase failure". I'm also saying that learning from success is just as important as learning from our mistakes.

Similarly, I'm not convinced that the startup community isn't valuing failure. If I look around at how we celebrate startups raising money (sometimes by entrepreneurs' whose only claim to fame is having done that before), I think we've got our wires re: failure crossed.
You're right about how feeling guilty is counterproductive. Personally I tend to feel guilty all the time so I have to do the opposite -- sometimes it's not really my fault/it's all in the head.

Like Buddhism, it's about balance. Too much of focusing on blaming either side is neither constructive and may not reflect actual reality which is what we're trying to understand. I find the trick to deal with this is to recognise that we can sometimes feel guilty/blame someone and get so engrossed into exploring the scenario we forget the big picture.
We do indeed explain that to them and provide them with material so that they can improve rather than just kicking them out of the door. We're good like that. We just can't hire them.

Most programming jobs are very involved. Most vocal positions that are promoted on the Internet aren't. There are a hell of a lot of people churning out masses of code that runs things behind the scenes without so much as a though to expose it on TechCrunch or whatever nor follow any fashion or fad.
Is there something like LPHTW[1] for Java? I've owned a book called "Core Java by Horstmann" and the sheer size of the book is scary. Can you suggest some good resources that can I get up to speed with?

Thanks

[1] - http://learnpythonthehardway.org/
You're the first person 'in the wild' I've come across with an Open Pandora. Nice to see they've finally got to a point where they're selling them, it was spun out of the old Gamepark (GP32/GPxx consoles) and had a serious amount of emu devs involved.
Code Reviews should be the universal rule of serious Software Development
Why the world is arguing over who runs the internet
Expecting the worst case scenario has always seemed more logical. The best case scenario is implied, while the worst can often be overlooked which can lead to hard-to-deal-with situations.

Concerning the goal, from what I understand it concerns one/few big goals, where one has to work hard for a long time before reaching it/them. Would smaller goals be a better approach? I tend to set many small goals, such as finishing this task by the end of the week, and I instinctively expend them as I complete them. If I realize their impact is smaller than expected, or that they even don't matter much, I tend to just forget them and move on with more important tasks. It keeps them flexible and actually forcing me to do things I'm not even sure I would if it wasn't for these small goals. By keeping goals flexible and smaller, I believe they can actually help to achieve something bigger.
oh, of course. I feel stupid now!

I got fixated on user reviews rather than Apple reviews. Quite telling of my state of mind really :)
> you wouldn't plot a town where there isn't one

Seems to happen even with whole islands: http://www.smh.com.au/technology/technology-news/where-did-i...
I personally have little love for the Catholic church but I do believe a previous pope offered to make the theory of evolution the dogma.

(on a side note: Do you make something the dogma? I never really used the word in that sense before)
Review times seem to be falling before the Dec 21-28 shutdown.

Perhaps they're clearing the backlog?
What do you do while your buddy codes?
I don't know about online tutorials, but I do recommend the book Head First Java
The way I orient my use of Hacker News, is I read and then save all that sparks a curiosity or idea in my mind, then as other similar or related articles show up I group them into topics for rereading and researching with the goal of writing my own article about it--often by making connections bringing different ideas together.
So it's being dealt with then. Not sure when wording an attention seeking post and submitting it to HN became standard operating procedure in these situations. Patience remains a virtue when this stuff happens.
I'm thinking most of the "C++ school" is affected by excesses, still, Java and C# are slightly better

" but the verbosity of error messages is the smallest of it IMHO"

It's merely a consequence of the verbosity/complexity of the language itself
I wouldn't call a big cluster of commodity hardware simply commodity hardware because then many of the top supercomputers of the world are commodity hardware.

The combination is exotic enough to be considered non-commodity hardware.
Interesting question. Another one is, why the graph differs so much with the iOS one:

http://reviewtimes.shinydevelopment.com/ios-annual-trend-gra...
Or you can use Clang.

Feel free to shoot C++ in the face. Don't forget to rewrite most of compilers and operating systems in use in the process.
Maybe a "painful problems" spreadsheet would be more appropriate.

This reminds me of something Paul Graham called "sitcom startup ideas" in a recent post.
1: Probably Java. C++11 makes many things related to pointers and memory management easier, but there are still lots of corner cases that will bite you.

2: If you want to learn modern idiomatic C++11, then there aren't many online resources out yet, but it's getting better fast.

3: a tie

4: C++, but for many 'normal' use cases it's not too big a difference

5: C++

6: Depends entirely what you want to do. Java is pretty ubiquitous in large companies and for writing enterprise system. C++ is more of a niche language these days, used in areas like 3d-engines, high-speed simulations, low-latency systems and other areas where performance is paramount.

With all that said, personally I'd learn C as well. Calling C from most dynamic languages is pretty easy (certainly easier than calling C++ or Java) and the combination of the productivity of your dynamic language of choice plus the speed of C when needed is a very powerful one.