skysight-inc/HackerNews huggingface dataset:
I don't agree. First, education levels among Foxconn employees are probably considerably lower than you can imagine. These people just don't fully understand how inhumane their jobs are or the lasting effects of the chemicals they work with and are probably directly lied to about it. Second they may already be owed money by Foxconn for overtime, healthcare, regular wages etc. and can't just outright quit out of fear of never seeing any of that money. Third there's a never ending supply of new workers, ignorant to the conditions in the factory, which pretty much nullifies their ability to bargain for rights. Fourth, according to the recent This American Life episode, THEY CAN BE LEGALLY PUNISHED FOR TRYING TO FORM UNIONS. I don't know how to stress the importance of that other than by raising my voice on the internet. HN doesn't have bolding.

TLDR:

They can't bargain. Plain and simple.

We have worker protections. If all that mattered was the free market then we wouldn't need them.
> I think most would agree that China is now considered a "socialist market economy [with Chinese characteristics]"

In other words, less "USSR", more"Sweden without elections"?
skype?
Sorry to turn this into reddit, but she's quite pretty. My genuine interest is to know what impact that has for her. Harder to be taken seriously? Easier to to sell to other hackers?
There's a subtle reason that programmers always want to throw away the code and start over. The reason is that they think the old code is a mess.

This one hits the nail on the head, also, maybe it's better since you did it yourself, rather than somebody else?

Rather than reading someone else's code, it's better to write your own..

then the next guy comes along and does the same thing to your old code..
If you have an external monitor and USB keyboard/mouse plugged in your mac shouldn't sleep.
The most sincere form of flattery
Grove is essentially a IRC server, not a client. While we provide a web based client you can use whatever you want. Even IRCCloud. As we keep web based archives you don't have to keep connection open all the time if you don't want to (once you connect to channel, there will be a message on latest activity).
In a way you're right but really there is no best or even "better" platform for development. To really get to what is better you have to take into consideration

1. Are you developing for web or desktop
1a. If web, then what server environment
1b. If desktop then what platform

2. What frameworks, languages, and other tools will you need and prefer

I think Linux and the Mac are on equal footing with what's better being purely a matter of personal preference while choosing Windows seems to only be the better choice when developing for Windows or IIS, .NET and Windows only things in general. Mac is great for GUI tools as an alternative to the command line while Linux is great for keyboard jockeys.

I don't agree that Linux needs to cut it out with the UI craziness. They're just trying to make themselves a viable alternative to Win/Mac for everyday users and I think they're doing well. I myself prefer xfce and OpenBox over Unity, GNOME, and KDE too so I just choose to run xfce instead while leaving everyone else to use whatever desktop they like. It's better for certain distros to use the shitty interfaces by default so that normal folks are included while the rest of us use our skill to run an alternative. Also, there's too much of this idea floating around that doing everything from the terminal is a badge of honor. It's cool that you can but it doesn't mean you should. GUI apps are great and there's no shame in using them. Bad programmers can use the terminal for everything just the same as good ones can use mostly GUI tools. I think there's a small minority of programmers who just learned how to get around in the terminal and start bashing all other OSes because they're optimized for the mouse. That's just silly. The best choice is the one that you can most easily set up a dev environment in, supports the tools your workflow demands, and offers the features your personal preference dictates. Choosing anything else is just blind loyalty to some ideal of a "best", "free-est", "coolest" platform "for good programmers only".
Ask HN: What do you recommend to build desktop apps?
What's your favorite SDK (or framework or toolkit) for building desktop apps?

I've got few requirements:
- Cross-platform (Can build and distribute Windows, Mac, & Linux executables)

- Great documentation

- Open source or commercial licensing

I do Java and Ruby programming, so there a few that come to mind:

* Swing

* SWT

* HotCocoa

I've also found:

* Qt

* wxWidgets

If you've used one of these SDKs, was it successful? Did you get the job done on time? What was the learning curve like?

Thanks
The decentralized nature of skype is probably a major security issue for banks. In fact, this hosted IRC might be as well.

Which brings up a good point, maybe at some point they should consider something like Github Enterprise for large enterprise customers.
Why not set your alarm for 8:25? I've found that the time snoozing is just time that makes me feel guilty. Make realistic goals, and then stick to it rather than ruining your last half hour of sleep with noise and guilt.
Can your recommend any particularly good resources/tutorials or further information on this? Thanks!
I also wish I had read that. I remember thinking it through, as I had kind of a hard time switching from Django ORM to SQLAlchemy, and ultimately I made the decision to use SQLAlchemy for everything because it minimized the possibility of me creating a schema that didn't perfectly match the ORM schema.

I worried that this would lead to having problems that weren't easily identifiable, and I was just learning Flask and SQLAlchemy at the time, I was making plenty of other mistakes on my own, and didn't need the added frustration.

Of course, as he says, it's a very fiddly process, and I either over or under-fiddled enough times to negate whatever frustration savings I might have otherwise avoided.
> Wolfram's proposal sounds completely backward to me. You'd have to consider: does google.data apply to google.org or google.com? Should we have google.org.data and google.com.data?

As for that notion, maybe we should switch to naming it such as we do for java packages :D

Google.com would be com.google.search, com.google.mail, etc :P
Of course there is coercion: he's threatening you with passive death. Just because it's passive doesn't change anything.
I'm also a Flask user, and I honestly don't see anything that might cause alarm, though I've only scanned the code so far.

In fact, it looks much more structured than the majority of my own Flask apps, but usually, by the time an app gets to the size that this already is, I'm either moving or considering moving it all to Django.
I once had a study partner who took quite precise power naps. I remember one occasion when he asked to be woken up after 16 minutes. At the end of the 16 minutes I was mid-paragraph so I finished the paragraph and then woke him (after probably 18 minutes). His comment was, "That wasn't 16 minutes."
Well! Google is a search engine. So if I search for my name, why should the google plus profile show up first, above the facebook or linkedin profile which probably has a way higher relevance score. Just because you decide to add a widget to detect a name and show the google plus profile as the first result, that to me is hacking the search ranking. From the blog-post, say if you search for music, it might bring up the gplus profile of a famous musician(not even in your circle or friends). Why should it bring the gplus page rather than the myspace page for that musician(which might have a way higher relevance)? That page is public, why don't you show that as the representative page for that piece of information rather than the self-promoted gplus page. It's ok to promote one's own product, all it means is that google search ranking now has a big if-then-else. If google-product, show at top, else push down :p
"Talent.me" - Career Networking on Facebook
True, but the direct legal action wouldn't threaten Google and other businesses much (Google does run DNS servers, but it's not their main gig) so moving outside the country would accomplish very little from a technical standpoint.
That's called the "Fallacy of the excluded middle", or a "False dilemma".

They don't have to suicide. They can also quit and work somewhere else.
It says in the blurb at the bottom of the page that Liz is a "full time volunteer." Why can't they pay someone to do their PR if they're funded?
I read it completely to look for the C++ part. Did not find it.
> template for how other restrictions are implemented in future.

It is a template for what not to do. Counterfeitting still occurs. It only adds expense for manf., and invades privacy of people (probably the real reason governments push it, the anti-counterfeit is just a cover).

Plus counterfeiting is already illegal. There are lots of laws against it. Punish the violators, not everyone else.
Previous discussion: http://news.ycombinator.com/item?id=3400449
Here's the only thing you need to know about social
It's been all over the front page for at least a month, including a (very) popular announcement a month ago that all redditors see, regardless of subscriptions.

Besides /r/sopa, there have been top-voted posts in:

/r/technology (625k subs)
/r/politics (>1M subs)
/r/funny (>1M subs)
/r/android (100k subs)
/r/games (50k subs)
/r/gaming (>1M subs)
/r/pics (1.25M subs)
/r/wtf (900k subs)
/r/trees (170k subs)

and countless others.

I'd be very surprised to find many redditors who haven't heard of it by this point.
same here. eye-opening
excellent, i went east back in 2006 (japan, then china), it has been one of the best decisions of my life, living in shanghai now. i work in software development and the market and talent is red hot!

i disagree with the author in regards to the food scandals, this is a really crappy part of society here and i can't think of any scandal against citizens worse in modern day history.
Lace Front Wig Choices
Do the Facebook ToS allow storing the data for indexing and searching?
Read it again chump. You need to-- oh wait, damn, you're right.

Sorry. Try this instead. No real numbers, but perhaps a bit of inductive support:

http://www.foreignaffairs.com/articles/136963/patrick-chovan...
"a 'tail call' and 'tail call elimination' are 2 completely different things."

Indeed. For those seeking more detailed information about this issue, see:

http://c2.com/cgi/wiki?ProperTailRecursion

http://c2.com/cgi/wiki?TailCallOptimization

http://lambda-the-ultimate.org/classic/message1532.html
I'm curious as to how it would look if you used some other measure of entropy besides local symbol frequency. Probably a general purpose compression algorithm should give you a good idea, like gzipping the blocks.

Hmm, I'm not sure if this could work, but perhaps if you use a stream based compression algorithm you could relatively precisely see how much compressed data it takes to represent up to a certain point in the file, with only a single pass (rather than having to compress a huge number of local windows). Of course this is probably going to weight earlier parts of the file heavier, simply because the compression won't be calibrated yet to efficiently encode. So you could also run it on a byte-reversed version of the file, and a "rotated" version of the file (i.e. file[n/2:n]+file[0:n/2]), and a rotated-byte reversed version, and combine all those metrics together in some way (maybe min(entropy1,entropy2,entropy3,entropy4)).

That way you could get an entropy measure which compensates for the sort of alphabet runs that fooled shannon entropy.
Simple In/Out: Now with Reports
I'd heard the same about the 15 minute limit. I've experimented with more and less and have settled on 13 minutes, which works well for me, and I'm sure it varies among everyone. If I'm really sleepy (usually from lack of sleep), even a 5 minute nap clears almost everything out the mind.

I think that the key to going right into the nap, nearly as soon as your head hits the pillow, is to have a routine of using a timer, and get up quickly as soon as the time is up. Then, you won't lie there worrying that you'll oversleep or thinking you should be doing something else more important. Your mind is given permission to fall off, knowing it will come right back with the timer beeping.

I've found it helps to cover my head with another pillow, blocking out some light and noise. The head sandwich feeling is also relaxing and may contribute to my falling right out of consciousness in 10 seconds or less.
As I don't live in the US, i always found the US black-or-white politics unusual. People seem to argue for more or less government, but not about the right government.
Free-market capitalism is only one several capitalist subtypes, a fringe one at that. Also it's "private ownership of capital or means of production" thus ensuring a few masters rule over many wage slaves.
6 minute abs!
I didn't see it yet from a quick skim of the available chapters, but I'm going to guess that his preferred alternative is 'bstr - The Better String Library' - http://bstring.sourceforge.net/

I've used it the past, and I try to include it in any project that isn't immediately trivial, although the to/from integration with just about all library code ever is a bit of a hassle.
s/companies/companies that use google apps/
Does AdSense have an SLA? In any case, I'd be shocked if the contracts weren't in terms of number of searches. If 0 searches are done, there will be 0 AdSense "hits".

The "fiduciary duty" to shareholders seems pretty far fetched and could be argued the other way as well. Enforcing SOPA will be a heavy financial burden and negatively impact future performance, therefore not using every means necessary to block SOPA is also a breach of "fiduciary duty".
Maybe, but this won't do when you actually have to do algorithmic processing of the video (which I think Youtube does after all).
and by "algorithmic processing" I mean detecting when the video contains a pirated song, for example.
An alternative might be the TP-link TL-WR703N: a wireless router available on ebay for about $30 delivered.

It has a MIPS CPU, has built in 802.11b/g/n, 1 ethernet port, a USB port, and runs at low power off a USB jack (5V). It can be flashed with Linux but you have to navigate chinese menus to do so (not hard).
Example: A few injuctions from major studios against google for not removing results or banning adsense accounts or even blocking google checkout accounts on time could result in major losses for the company. If they were based outside the US, they'd be protected.
The speed increase on paragraph editing capabilities is really attracting versus pointing your mouse to do everything. I'm gonna give it a shot, thanks.
> At some point, you just have to shut up and make stuff.

It does sound like she's ferociously productive. It's also possible that she could be ten times as productive and that C++ is holding her back. The programmer credo is to work hard and work smart.

> I guess the current "shiny" thing is still more-or-less Ruby [with] Rails. Oh, I suppose there's also the whole node thing, in which you write things in Javascript and run them server-side with v8. She dismissed node right away (with no argument from me)

> I have no practical experience with them

Casual dismissal without evaluation of merits.

> it's all been linked to frothy people clamoring for the latest shiny thing. I've seen that pattern plenty of times before, and it's always annoying.

This is what I mean by hipsterism: Dismissal based on an excited fanbase.

> that somehow you would need to abdicate almost all of your code to modules where you just hope they work.

I had a problem with this sweeping generalization. If cgic isn't great, that's fine. Certainly you still have to evaluate your dependencies' merits.

> that creates an awful design where you give up main() to that program's code and then just wake up when it decides to call back to you

This did read like an indictment of callbacks as a whole, but I see now that she's not happy about libraries that hijack main() and have some secondary entry point. I concede that.

> It might not be wonderful, but you could build something relatively quickly, at least in theory.

High-level languages have proven productivity gains and known pitfalls. Here, she is hand-waving them away without giving them a chance.

> Better still, since I"m not chasing the shininess in that realm, I can spend those cycles on other things.

Trollish fallacy.

> she hasn't yet seen a newer "shinier" language that would make enough of a difference to warrant switching to it.

As far as I can tell she didn't even give them a fair chance. She dismissed them based on supposed hype and blubbiness.
I think that depends on compiler, although it's been a while since I've done C, so I might be wrong.
Good point. Many people have remarked it when they see me browsing the site.
Chinese people generally are not allowed to own land. Most people are renters from the state. That doesn't sound very capitalist to me.

http://www.economist.com/node/5660833
Texas, Scott & White
Here's the thing, writing a web app in C is like using a flame thrower to light a candle. Yeah it's possible, but it's dangerous as hell at best and it doesn't really gain you much.

And this distrust of other's libraries is odd. You're already running on an OS that's providing millions of lines of code to you in the form of api's and services, and using a compiler that's going to do all sorts of modifications to what you've created at the machine code level. You're already well into trusting a lot code that's not yours. But something that's a million times easier (parsing HTTP headers), and now they're worried about other peoples code? Seriously?
For something that has to be tethered to monitor, power, keyboard, adding ethernet cable is no problem. I much prefer wired connections over wifi for non-mobile devices.
Who is paying to drive traffic to Wikipedia?
I'm confused. This is a self-interpreter, but in what sense is it metacircular? It's an implementation of JavaScript in JavaScript; it does not appear to rely on the host's evaluation semantics, which is necessary to qualify as a metacircular evaluator: http://en.wikipedia.org/wiki/Meta-circular_evaluator
Mozilla also has a Firefox addon called Zaphod which will allow you to force scripts in web-pages to be executed with your (customized) Narcissus interpreter, instead of executing scripts with SpiderMonkey directly:

https://mozillalabs.com/zaphod/
Obviously, (1) it's not very reusable, and (2) doesn't work for office with glass doors and open-plan offices.
Ohh, so this is what became of Convore. I remember hearing Leah Culver talk about it in some DjangoCon vidoes, and I've seen grove.io around as well, but didn't make the connection between the two.

Looks solid though -- the business model seems much more logical than Convore.
I think that the number of people for whom the extra $10 is an issue will be small, particularly early on.
How can such a bill be worded to divert criticism that the bill might interfere with the government's ability to fight "terrorism"?
Not everyone who is suicidal does so because they are mentally ill. People kill themselves for political causes, too. It's kind of a thing for monks to set themselves on fire as a means of political protest.

Source: http://www.cnn.com/2012/01/10/world/asia/tibet-march/index.h...

Also, Gandhi went on hunger strikes.
If you're just starting, I strongly recommend you go through vimtutor. After installing vim, just type "vimtutor" in your shell.

Then, head over to #vim on freenode.net with any questions. Even simply lurking in that channel is a great education.
Intel Medfield chip on Motorola and Lenovo smartphones ~ Daily World News
I guess, my point is that when I come to google and enter a search term, I expect to see all the public information ranked by relevance. Just because you have a different UI treatment for the personalized results doesn't mean that they should get the preferential treatment. When I search for Britney Spears, the google plus, facebook, myspace.. pages for the artist should have equal probability of appearing in that widget/in the search-suggestions(which currently only shows gplus). Let the pagerank/other ranking factors govern which page shows there, don't just hard-code it to be the google-plus page. People are used to google search being impartial and showing the best out of all available information. You can't just show a google plus result at the top and say oh but its in the personalized results widget and not part of the web-ranking.
> One party can't exploit another without the threat or use of force.

Exploitation can happen through more than just force. Of course, at what point you call something duress, coercion, or force is somewhat subjective, but none of these requires someone putting a gun to your head. If you are offered money to do something that you don't want to do, but the alternative is starvation because you're so poor, that is certainly duress, it is probably coercion, and it may even be force. But it is also certainly exploitation.

Income inequality, which creates power inequality, is the main driver of exploitation. If you make people poor enough, you can make them desperate enough to do just about anything. There are people in this world who will sell you their children, and all of them are poor. There are also people who will buy those children. This is not a free exchange that makes both parties better off. It's exploitation. No guns required.
Google responds to Twitter
I downvoted you for two reasons.

1. Suggesting that blacking out google would not be effective is naive. It would be very effective.

2. While it would be straightforward for to make an argument that mp3.com, grooveshark, and piratebay.org have suspect motives - I don't think the majority of people think "Piracy" when they think "Google" - they think "Search."
Beginners Guide to SEO
From all i read, it seems that it is the first time that these guys are producing a board on industrial scale.
Good luck
I think it may depend on the distro (on Ubuntu, for instance, you can set MALLOC_CHECK_ to 2 to force aborts on errors --- but this also forces the use of a debugging malloc, and you should care about malloc performance).

So what I'd recommend is, grab Jason Evans' jemalloc package and use that (it's good enough for Facebook!).
MPAA ratings are not legally required for films, but most mainstream movies are and many theaters will only show rated films. Why? Because voluntary self regulation is less odious than mandatory government regulation.
Funny enough, I just started using this the other day to write a little async callback JS pre-processor. I wanted to just tokenize but then I found out that JS's regexp literals make JS ambiguous to parse. This project turned out to be a huge boon--really easy to patch to find particular token boundaries.
Most factory workers are characterized by Western media as being poor, uneducated peasants from rural China who migrate to cities as they have little or no opportunities in their home villages.

Now whether this is actually true or not? I don't know.
Saying that their other option is to 'starve' seems improbable in a country that is based on the communist teachings of Mao and Marx.

Chinese policy is based upon the teachings of the capitalist roader Deng Xiaoping. Go into a Chinese bookstore and you will find his writings not things by Mao or Marx.

There isn't any sense in which China is communist. How could the working class be in control of the society, when they are suffering in foxconn? Such a thing could never happen under communism.
It's not just that the to/from is a hassle, it's also that you have to deeply understand the gotchas of ASCIIZ strings to safely do that bridging at all --- so pretending it doesn't exist is probably not a good teaching strategy. (I have no opinion about the article and am only commenting on this thread because I like C).