skysight-inc/HackerNews huggingface dataset:
Singapore's position on race is difficult to characterize. This is what I've heard:

Most Singaporeans live in government-owned housing blocks. The distribution of the races within each housing block is roughly the same as in Singapore as a whole. Within these blocks, you are only allowed to sell your apartment to another person of the same race as yourself.

Officially this is to promote "racial harmony." That's probably true. Unofficially, it seems clear that it's also a form of gerrymandering: the government assumes that the Chinese majority will always support the ruling party, and this system stops any district from gaining a Malay majority.

I've also been told that your second language in school (which is taught in English, a neutral language) is determined by your race: Mandarin for Chinese, Malay for Malaysians, and Tamil (!) for Indians.

I really love Singapore -- been there several times as a visitor, studied its governance, society (and its food stalls...) but I would be seriously pissed off if I were told that I had to do certain things because of my race.
it sounds like he(?)'s a relatively new programmer whose jumped from a place where they don't test at all to somewhere where they are forced to be written before code.

fact is, they're a tool. i don't write tests for everything. and i don't care much if they are unit or integration or regression or xxx tests. i write tests where i know they will help (and i write my code so it can be tested, but how can you separate that from "good design" anyway?). that comes from experience and requires freedom - the freedom to decide when to use them and when not.

which sucks if you're new and clueless and in a shop with "rules". but then the rules are there because you're young and clueless and this is your first job where you get to write tests...

if the poster is reading this, all i can suggest is: suck it up, get better, and get to the point where you know what to do, and where you're good enough to get a job where you're trusted. it will happen with time, if you stick at it.
Wrong. We need more unskilled living wage jobs.
Hey, so you don't want to fail right? Learning from the mistakes of others is cheaper and less stressful than making those mistakes ourselves. In this Mixergy interview, Scott Gerber shares:

1) how to bounce back after hitting rock bottom
2) how to provide a service people actually want to pay you for
3) how to get started without moving in with your parents
Comparando MuseScore y Finale NotePad función a función | MuseScore
What is a usecase for everyone in the company to see raw logs? Nagios / zabbix dashboard - sure. Some visits analytics - maybe. General stats / resource usage - not for everyone, but ok.

But why would you ever inflict raw, unprocessed, scrolling logs on anyone other than developers working on a specific bug? (they'd expect an accessible backwards search too)
A lot of things don’t use syslog. For example, default configurations of Apache write logs directly without syslog. The benefit of this method is that it is general enough to work for most people without configuration changes, and I assume they could always add syslog support later.
I can already buy an unlimited amount of gasoline from thousands of sources..

I can also buy any type of "missle" (read vehicle).

I can also buy fertilizer, cheaply.

Say I forego the fertilizer route, and fill my car full of gasoline. Now, all I need to is then put a rag in the gas intake and break off the tab. I have a molotov cartail, that, when steered does a lot of damage.

It's easy to kill people and cause terror. Moreso, if you are an engineer. But its decency and ethics that keep people from doing these sort of things.
Regarding side-by-side portrait-orientation split views on the iPad, wouldn't such a layout require the message view to be too small? I'd rather that the message list appear in the top half of the screen, with the message view below it, but this isn't quite typical on the iPad (notable exception provided by Matt Gemmell's open-source MGSplitViewController [1]).

[1] http://mattgemmell.com/2010/07/31/mgsplitviewcontroller-for-...
ICloud vision articulated in 1997?
Proximity Can Suck
And the American Congress routinely ignores its constitution with the complicity of the Supreme Court. What's your point? Are you suggesting that a constitution is enough? It's matter of who gets elected too, you know.
VLC 1.2.0 features - Part 1 video output
I stick with "Developer", if only because programming is maybe half of what I call work these days: requirements gathering, UX research, wireframing, etc.
So, whenever you see "Quality Score", I want you to read BIG Score: Best Interests of Google. This will remind you that QS has nothing to do with quality and is designed to maximize revenue for the borg. For example, the dominant factor of QS is not relevance, but is, in fact, click-through rate. (Google defines that which results in you paying more money to them as "relevant.") Next up is account history, for much the same reason that e.g. an airline will throw you off the plane if Mr. Super-Diamond-Elite really wants your seat.

Defaults are also set to be notoriously BIG. For example, no responsible AdWords professional would suggest putting search and content ads in the same campaign, because the performance of the two is not comparable and this will result in massive overspending on the Content Network. Guess what the default behavior is? Yep, both checked. Default ad rotation strategy? BIG (n.b. which is sometimes in the best interest of the advertiser, too, if they're doing it wrong). The behavior of various match types? BIG etc, etc
There's no email on your profile but you can get me at ben@playtomic.
No problem, and good luck. I started a number of music-language projects that rarely made much progress, usually because I got frustrated after recognizing my design had some fundamental flaw that made it particularly hard to express something important. In retrospect, if I had known about Lilypond I'd have started there.
Raw logs generally aren't a useful source of information for humans.
You missed the words "at scale." An MVP is when you offer a service X, but only build the capacity to handle, e.g., one customer, until you have 2+ customers. Sometimes this is done by not building anything at all, but rather by manually creating what the service would create for the person. The idea is that you only invest in automating/scaling/tooling up when you actually determine that there is demand, rather than building something for no reason. It's sort of like TDD: you have a facade (your storefront) that presents a finished product, and have customers make requests through it—then your business does the simplest thing that could possibly work to satisfy each request, only adding code/equipment/people/etc. when a request can't possibly be satisfied without it.

In the case of the article, an actual MVB (as done by someone who doesn't already own event-staging equipment) would be to put up the page, and then only rent the equipment needed if-and-when people actually set up an event.
Ask HN: Should I join Google
Recently Google offered me a job.

I was ecstatic as I was frustrated with the work at my current company and intrigued by the scale of the problems worked on at Google. This was my third attempt having interviewed previously while in Grad School without success.

The Google offer is also a decent bump in compensation with a raise, GSUs, and bonus. However, the commute to Google is almost three hours round trip compared to the one hour I drive now.

When I told my company they came back with a comparable salary and significantly more options that could potentially be worth 3 to 6 times the GSUs. Also, they offering me a new role in management.

If I was single I would jump at the Google offer and rent an apartment nearby and work on problems of a scale I haven't before.

I am in my late thirties and married with a young child I like to spend time with. I am willing to make some sacrifices to advance my career but not sure whether it is better to move to management with my current company and potentially make more money on my options or if it is wiser to join Google and work there for three to five years and build my resume and experiences potentially sacrificing time with my family.
Update: http://searchyc.com/ and http://af.searchyc.com/ are both back online for the moment.
Forging history from the lists people kept, 1600-1900.
It's a general law in fiction, going back to Frankenstein, that any development that challenges the status quo will prove harmful. Mary Shelley didn't call it "The Modern Prometheus" for nothing - the implication is that to challenge our limitations offends the gods, or God, or Nature. It's a great way to make people feel OK about mortality or failure. And a guaranteed trope - when a TV episode or movie starts with a new development in science with great promise you know 100% by the closing credits that the scientist will have been punished and the status quo ante restored.

I would guess that when the first crazy experimentalist tried putting seeds in the ground instead of foraging for fruit, there was a cave painting about how the Spirits would punish the whole tribe for its arrogance.
Except my Cisco switches, HP printers etc won't be talking that anytime soon.

In addition, graylog appears to be "solving" something RFC 5424 already has with structured messages.
Piracy might not bother him again... until his pirated downloads drop by 98% and paid downloads drop by 50%. And when he complains about this on Hacker News, patio11 tells him to spend more time blogging and working on SEO. ;)
This sounds like a great solution for the problem of package deliveries while you're not home.

I'm skeptical about the burglary prevention angle — I imagine they would just switch to knocking on the door to determine if you're home or not.
Nice summary.

Two things that I find to be very nice/cool when developing for Android:

- As mentioned in the article, applications are bundles of components and have no specific entry point. To be more accurate, they have multiple entry points.

- The Intent system. Not only does it provide an easy and robust way to integrate deeply with other apps, it also provides a simple IPC mechanism. Intents can be used to publish and subscribe to events between applications and are incredibly simple to use.
1995 DOS game opensourced, needs hacker love
But I've already read (and enjoyed) iCon and Accidental Empires. What's so great about this one?
My advice would have the desirable property of actually working.
"I don't mind if X is illegal because I don't X."

"I don't mind if the state thinks I did X because I don't X."

There is a crucial difference between these two things and it's why any sane nation avoids applying draconian punishments for mundane offenses. Basically, the state realizes it could be wrong and hedges its bets. The Singapore state doesn't consider that, and it should give anyone living there or planning to go pause. Even if you don't care for the guilty, remember that no judicial system will always convict only the guilty.
right, i can't think of anyone that prefers xml over json-- xml seems too bloated, dom and sax parsers require lots of code to walk trees compared to just a single json parse call and then you can just directly access things in an object. though i have had to write several json decoder/encoders for special objects.

for my internal rest apis, the only response format i provide is json, this is for mvp purposes. though i will add xml when i publicize these apis.
Fiona Apple's song Extraordinary Machine, off the homonymous album, tells the same story:

"he's no good at being uncomfortable, so he can't stop staying exactly the same"

I don't think I've listened to a more instructive lyrical album than that one. But your mileage may vary.
Well, I'm kind of familiar with that firsthand since my hobbies include getting myself well when doctors claim it cannot be done. So I get called a liar, charlatan, and snake-oil salesman...blah blah blah... by folks who think it just cannot be done. Still, the idea of intentionally introducing a virus to cure cancer doesn't sit well with me. :-)
[author of socket.io]

It's possible that log.io is not trying to send absolutely every message (which is the reason I introduced the volatile flag for the upcoming version: https://github.com/learnboost/socket.io-node/tree/develop)
The shadow physics idea is awesome and brilliant. What a great, creative idea. The only word that comes close to describing it, is "tight."
What I'm working on at Google: Making the mobile web fast
The Twitter app for iPad does an incredible job of solving the side-by-side portrait orientation split view problem. I wish the native mail app behaved like this.
Trevor if you need help, feel free to send me a msg via email. (in my profile) We can get Google Analytics working properly for you and that will help you maximize your adwords spending for ROI. If you have direct access to your sites code (I assume yes from your book) we can set you up in a few minutes and get you going. (The help offer is gratis not paid consulting)

All you should need is a basic GA setup and a basic adwords account to start making sales.
I'm having a problem where I've challenged myself so much in little ways and built myself up so far, that in order to improve past this point, I see extremely huge frightening tasks in my future. Past the point of discomfort, I am looking at staggering terror ahead. (I wish I could elaborate, but unfortunately I have to keep my current situation to myself.) I guess in terms of public speaking, it would be the equivalent of addressing an audience of a million, as opposed to a hundred.
Could you explain your concern? I don't understand why a favicon is important in this case.
Books that influenced Clojure, in no particular order (Rich Hickey)
The SEC can bring felony charges against individuals offering unregistered securities, not just penalize a corporate entity that created the shares. As I understand it, it doesn't even matter whether the securities actually are shares of a corporation, or just some similar enough instrument. Before doing this, I would make very sure either the foreign corporation or the foreign market meet exemptions well defended in case law.
Yes, America is going the way of Singapore. I advise people who ask to avoid both.
Yes; criticism delivered with no justification is often simply rude. Perhaps you have a point--it's hard to tell: you didn't make one.
Groupon's S-1: From Zero to Like... Billions in 30 Months
The lyrical content made me uncomfortable.
I haven't played any of these games, but it makes sense in a couple ways.

For one thing, a prototype can suggest something compelling without necessarily delivering everything. I found this particularly true in the Limbo example. I found myself intrigued, thinking about the idea of a whole game that worked like that. It was strongly suggestive. But the reality is that it's just a short clip, the rest of the world doesn't have to actually exist. The ultimate release is likely to to make a variety of tradeoffs to realize the suggestions, which imagination doesn't have to worry about.

For another, a prototype only has to appeal to a limited group of people. The important part is selling or proving the concept. Customers represent a much wider array of tastes and while many will be drawn to a good concept, artistic elements are important too. If you're the sort that's more attracted to a clever concept than the overall experience, a prototype is more likely appeal to you in particular.
Check out "Health Sentry". There's a 1999 application that was cancelled in 2007, so maybe you could file for it and it's a good term.
You only need one junior dev to touch software before the whole site is at risk.
An interesting quote from the article:

"I will say that I prefer Unit Tests to none when I'm forced to work with stateless programmers who can't remember what they were programming two weeks ago and operate without a design. They'll see a bug, tunnel vision on it, and wreck the whole code base trying to rewrite things to fix it. What's fun is watching them oscillate between two bugs over time without realizing it, fixing one while breaking the other, and vice versa."

I have certainly come across cases when programmers created >1 bug while fixing one (chain reaction!), but never oscillations like the author mentions. Has anyone else witnessed this? If so, can you provide an example?
Tbh, I haven't seen any standard syslog daemon supporting structured messages - except for apple's syslogd and syslog-ng. Others mostly cut the message to 1024 or so bytes and each one handles new-lines in a different way. So far it seems noone is sending messages that way and noone is expecting them. If a new protocol is the way to push structured logging forwards, I'm all for it. It doesn't mean those two protocols cannot coexist. It doesn't mean a typical logging pipeline cannot include syslog->gelf converter which adds annotations / parses the message.

It also seems that the structured messages handling assumes the message fits in a packet and can be processed dropped when convenient depending on its size. That's not something I expect from a logging system. Gelf adds chunking / compression just in case.
It uses heap only as a fallback if maximum recursion depth is reached. The key difference between __introselect and the posted article is that __introselect uses pivoting to (ideally) "throw" away half of the array during each step.
Regarding ls -lR, why not save the hassle of saving output to a file, and just pipe it to less instead? `ls -lR | less`

Also I'd highly recommend installing ack-grep for searching instead of using grep -R.
So the trademark owner doesn't own the .COM domain. I suppose they are not in tech? Perhaps you can offer to link to their website (e.g. if you were looking for Paint LLC, go to here). Otherwise, a change of name is not a big issue, even big companies do it.

The other thing is that there were even two Apples in the world, just doing different businesses.
Mistakes You Can’t Afford to Make with Stock Options
Cisco Announces Internet Will Quadruple by 2015
Each bitcoin is owned by the public key that it was last sent to. You can't send it from a different key - it won't be accepted by the network. The public key continues to own it until a transaction signed by that public key is accepted by the network. Read the whitepaper.
It was probably [dead] because it wasn't up for everyone, due to slow DNS propagation. It was unkilled a few hours later.
Cheap GPUs rendering strong passwords useless?
Log.io assumes multiple nodes. If you want any kind of visit statistics in that scenario, you're already collecting the logs somehow. Unless you rolled out some homemade script for that purpose, you're probably using remote syslog anyways.

Or do you store your logs on a random server that request happened to hit / session was bound to?
+1 for reprap link.
Thank you. I did assume "put up a page offering X" was advocating a dry test and you needn't be prepared to offer some kind of X prototype.
This advise would be much more credible coming fro
a cancer researcher diagnosed with cancer
I was thinking it would be fun, in a somewhat similar vein to Google displaying Search Queries on the wall - http://www.flickr.com/photos/kchrist/21051526/

That said, I agree- Historical Search is a necessary feature for it to be very useful to debugging.
ssh user@server tail -f logfile

It's even encrypted.
Or, if the option is there, make a killer product and attach a good affiliate program to it. I've long been amazed Pragmatic doesn't have one. I have the perfect audiences for much of their stuff but there's not much motivation to rave about it and, even when I do, I might as well link to Amazon (meaning they make less money).

I linked up Trevor's book in JavaScript Weekl recently simply because it was such a big deal but I couldn't make a bean from it (not always the point, but if I have two choices..)
There's nothing stopping docs from using customized therapies that haven't been through clinical trials. Once a drug is approved, doctors can pretty much do whatever they want with them. If there is an approved drug with the mechanism that the computer program wants, the doc can prescribe it.

But bear in mind that the doc may have trouble with malpractice liability, and insurance probably won't pay for it.
Try to make a modification that should be simple. For example, in a web app update the text shown when there is a validation error on the server side. Make the modification, get it deployed and working on your local dev machine.

This should take you around most high level areas of the system and in my experience show you just how nice or complicated of a system you just inherited.
I find this absurd. I don't even call them bugs when I get compiler errors. They are typos. They are trivial to fix, and I'd much rather fix them at 3pm before I've checked in the code than at 3am when it's live or 5 minutes before a presentation. If you really want to sketch a function, just make a stub that throws. It will only be 3 lines long.
Length of time on the front page in comparison to the average length of time on the front page and if that average exceeds by a large amount (150%+) then one can safely assume that the community likes it a lot.
I've heard "Doing Agile Wrong" too, however I think what the post is talking about is when the participants accuse each other of doing it wrong, which is different than when an outsider says an entire project was done wrong.

So for example, if I say "We tried Scrum, and it didn't work," and some evangelist tries to defend the project and says "You did it wrong," that is not the same as when I say, "We tried Scrum, our Team was fine, but the Product Owner did it wrong and that's why we failed."

I can't speak to what you've heard, but I certainly have heard a lot of the former, to the point where I reply to all such discussions with a pointer to the No True Scotsman fallacy:

"Agile works."

"No it doesn't, we tried it and failed."

"You did it wrong."

Compare and contrast to:

"Scotsmen are cheap bastards, Ne'er would you catch one standing a round."

"Hamish just bought me a dram of Lagavulin."

"Hamish may have Scots parents, but he lives in Toronto. No True Scotsman would stand a round."
I'm not affiliated with them but 10pines.com is in Buenos Aires
Try that with N servers and M log files where nodes join / leave the cluster at any time.
Pastebin: How a popular code-sharing site became a hacker hangout
Show HN: weekend hack -- Whac-a-Wall (or Whac-a-Mole on a wall)
It's the classic amusement arcade game Whac-a-Mole on a wall -- any normal wall, with an overhead projector and Kinect (on the floor in front of the wall, pointed upwards).

Done as an exercise to learn Processing and check out what Kinect hacking is all out. Fun!

See video at http://www.youtube.com/watch?v=mZ30Kuk4kAE
I'm not a fan of the death penalty. But to be afraid of dying in Singapore is silly. Singapore is probably the safest country on the planet. There is no crime. No natural disasters. A good, cheap medical system. A great transportation system. A booming economy. All things that make you safer and live longer.

I just moved to London from Singapore and I don't understand why westerners put up with such high levels of crime. Its awesome to be able to ride the train at night and walk through any park or dark street anywhere in a major city at 1am and feel completely 100% safe.

Westerners distrust government because government sucks in the West. They tax you at high rates and give you long lines and crappy service. In Singapore government works. It produces jobs, every government form is online and the rules are ALL practical and actually make sense (unlike the west). Policemen are polite and courteous. My Singaporian wife paid 5% in taxes last year btw.

And above all its safe to go for a run at night!