skysight-inc/HackerNews huggingface dataset:
Nor should it be a global police force. I think people/countries that don't condone this type of behavior should be more willing to offer refugee status and provide the means to leave such places and situations, but people are pretty hard-mouthed about their borders... At the end of the day, we can't tell people what to do, only offer them alternatives.
Using ifs is definitely more readable than &&, words always win. However carefully alignment of && and ( can make things better. Note that the comment after "if" is necessary to keep the shape balanced.

if( /* b is same as a */
(b != nil)
&& (b->qid.type == a->qid.type)
&& (b->qid.path == a->qid.path)
&& (b->qid.vers == a->qid.vers)
&& (b->dev == a->dev)
&& (b->type == a->type)
){
fprint(2, "cp: %s and %s are the same file\n", an, bn);
ret = 1;
}
UCLA Surgeons Live Vine Brain Surgery
I write news articles in addition to code, and a fellow writer gave me a simple piece of advice that I think applies to both disciplines. It has to do with planning -- but not over-thinking -- your work.

Before you start writing, sit down with a friend in a bar and explain to him exactly what you're trying to say and do. If you can't communicate your idea in a concise, conversational way, then you're not ready to start writing.

Applied to code, I suppose this is similar to the concept of Rubber Ducky Debugging: http://en.wikipedia.org/wiki/Rubber_duck_debugging
Honestly they should just add another tier with no ads.

$8: Hulu with x ads per show.

$9: Hulu ad free.

There was a True Blood/Apple image series atop reddit not too long ago but Googling reveals that HBO insists that they don't raise money for product placement but allow writers to use products so score one for HBO.

Humorously, Apple claims they don't pay for product placement but they do give devices away which is supposed to be different I guess.

Netflix ran into problems with Lillehammer due to Norwegian law against paid placement.

House of Cards with non-paid for Apple advert below:

http://forums.macrumors.com/showthread.php?t=1537771
Bringing friends over is the hard part. Bringing photos over from Facebook to Google+ is extremely easy with its facial recognition.
Executives don't care about that specific flamewar (or even know that it exists) but they like creating environments where we slug each other over minor, superficial differences in coding style because (a) it makes us look stupid and petty, and (b) it tires us out and makes us even easier to steal from.

Programmers are often oblivious, when they find themselves in work environments that are designed to play divide-and-conquer games against them, to what is going on. Executives often enable/encourage the worst traits of programmers in order to weaken the group.
This is horrific.

A good time to remember that if you're reading this, you are in the <0.001% of humans privileged enough to live a life without having to worry about such things on a daily basis.

Compared to things like that, our preoccupations seem so trivial, and I don't know what we can do about it.
The difference here is, that all your needs can be fulfilled by doing a job. When it comes to dreams, you enter into entrepreneurship. Your day job might be enough to support you, your family, travels and still leave some savings. But dreams, that translate into huge impacts need switching to entrepreneurship.

Now the question remains, what you dream about. Is it just money that you want, that you'll do great deeds with, when you have it? That's a dream you don't want to have. There is a saying for it: The dreamer is one who can look beyond what is immediately around him, family, kids and loved ones.
I'm sad for our neighbours... At the same time, I really hope we manage to not do the same mistakes here at Brazil.
Cultural Imperialism is bad.
Using it as an excuse to stand by in the face of evil because of some sense of moral relativism is arguably a lot worse.
meant to upvote you and downvoted by accident, just so you know
Small correction:

2 pints in a quart, 2 quarts in a pottle, 2 pottles in a gallon.
> Most lynchings, both against either whites or blacks, were a result from vigilante justice. It was completely illegal, but a result from accusations of rape or murder, not witchcraft.

The fact that the accusations were of rape or murder doesn't make the murder any less ritualized.
It depends on how much time you want to spend with your family. For example, if both parents want to stay at home to take care of the kids (admittedly rare), it'd take quite a bit of capital for a middle-class or higher lifestyle.
See, I'm not sure I want a different job. The people and the product are both really cool, I'd rather not leave.
Fashion White Rectangle Portable Power Source 2000mA - TooSell.com
Show HN: Upload files for your Youtube subscribers
Yes. But ultimately it comes down to this. Trying to go and affect rapid change on a culture and society is no easy task. It is difficult to predict and control, and almost certainly full of unintended sideeffects and costs.

To jump into any attempt to affect change without really REALLY carefully considering what the actual goals are, what the acceptable costs on the sides of all parties are, and even what tools and strategies are available or possible is literally how you end up with Afghanistan.

For example, say we decided to go in there and change things. Do we go and punish those who partook in this? What happens if the potential backlash from imposing punishment is too way to even consider it? How then do you answer the cries of the victims asking for justice? Yes, you could answer with all sincerity and truthfulness that you cannot go after their tormentors for the good of all future people. But it still sucks, and if you're not careful, you can find yourself not just in a shitty situation, but also causing all sorts of unintended problems where you're trying to fix things.

These are clearly not easy issues, and I do not mean to say that these problems or issues should always deter from action. What I do mean to say is that "OMG, that's terrible, can't we do -SOMETHING- about that?" is a fine, and acceptable first response. But if that becomes your guiding philosophy, then you're going to have a harddd time.
Google and MS make Windows Phone YouTube app worse while they write a new one
Do you know about Adept Scale?

https://www.adeptscale.com
SCO boss: I was offered $2 million by Utah’s top prosecutor
Isn't PPC the norm nowadays? Unless I'm wrong, viewing the ads gives them no benefit; only clicking would.
There are several things you can do about it. Donate to http://ncse.com, http://ffrf.org, http://www.au.org and/or similar orgs in your own country.

Everything from witch-burning to the teaching of Creationist doctrines in public schools is possible because we somehow still consider it not only socially acceptable but desirable to be superstitious in the twenty-first century.

Civilization isn't a gift, and it didn't just happen. We had to build it. The people who are burning witches in New Guinea are not monsters, or aliens, or mutants. They're us, and we're them. The only differences lie in the decisions we make, as individuals and as a culture.
The commercials is the reason I've never bothered with a Hulu sub. I pay on iTunes and Netflix so I don't have to deal with those.
Myspace's New Architects Reveal How to Rebuild a Brand
How To Create A Business Page On Facebook
I'm a senior in high school, and I've found that with college coming up, Facebook is becoming increasingly important to talk with the other kids that are in your college class. There's a group for my class, and I've already befriended a few of them. This sort of community isn't found on places like Twitter.

A large part of my high school class is on Twitter, but I can't stand to follow them. Most of them are blithering idiots, spewing incomplete, barely legible sentences about some stupid thing they've done.

I have tried to get people to use Path, but it hasn't caught. I see it as the replacement for Facebook. However, as other commenters have said, it would be impossible for Path to compete with Facebook because they don't have the sheer numbers of people that Facebook has. If I meet someone and want to continue communicating with them online, Facebook is the place to do that: I know that they're there.
One screen is way too big! Make each function do a single thing. Even in verbose languages, you should be able to get most of them down to 5 lines or less - and this isn't actually difficult (except for coming up with names for all of them) the transformation is actually very mechanical, so much so that if you're using an IDE it can probably "extract method" for you, but even doing it by hand is trivial once you get the knack of it.
Either I'm missing a bunch of literary references, or you guys are starting a cult. Maybe both.
Robots have already become our masters, without firing a shot.
In Papua New Guinea the prion based disease, Kuru, transmitted by cannibalism was last reported in 2005. There is still cannibalism among the Korowai tribe. Papua New Guinea has many corners that are a far, far different place from the modern Western world.
Brilliant article on decision making and why it sometimes can be better to delay a decision for as long as possible :)
Are you the note-taker? Learn to be the graceful strategist.
Both clang and gcc warn on "if(1);", clang by default, gcc with -Wextra. clang also warns on "while(1);" - I think this is somewhat obnoxious, since it can be useful, and would prefer if it only warned if the semicolon was followed by an opening brace, but YMMV.
curl -I http://whytheluckystiff.net/\#update

HTTP/1.1 200 OK
Server: GitHub.com
Date: Sat, 25 May 2013 01:53:14 GMT
Content-Type: text/html
Content-Length: 1
Last-Modified: Sat, 20 Apr 2013 05:13:26 GMT
Connection: keep-alive
Expires: Sat, 25 May 2013 02:03:14 GMT
Cache-Control: max-age=600
Vary: Accept-Encoding
Accept-Ranges: bytes
"We are what we do repeatedly." If you spend time thinking about best practices, it becomes easier and less time consuming. You need a balance of it early in your career but if you're constantly working at it, it'll become second nature. In my opinion, the best programmers are the ones who have exceptional practical wisdom, who know when to utilize a rule and when to yield to exceptions (no one likes a ferengi programmer -- http://www.codinghorror.com/blog/2009/02/the-ferengi-program...).
This is really bad news for latin american developers, as far as I know, Argentina was one of the few latin american countries that were able to sell in the Play Store and now it's gone. It kind of kills my hope that they may eventually give support to my country.

I know I can establish an LLC in US to fix this, but it is something that we would rather not to do. It is kind of a bummer that Google makes it so difficult to do business in certain countries.
Citation needed.

You need a US bank account, social security number, a permanent address, etc. I'd be pleasantly surprised if you could do it without spending at least 10k.
I really like how readable the overview paper is [1]—I'd recommend reading it if you want to understand what is being proposed here. I especially thought the section on a passive operating mode was interesting. The idea that you can hide an ACK in another message, which is then broadcast to ACK both of the original messages is pretty clever. However, since Bradley's message to Charlie is also broadcast to everyone, wouldn't Eve get the same amount of information as if Bradley had just ack'd the message in the first place?

Anyhow, assuming I misunderstood something, passive listening doesn't seem to work well with their description of stream scalability, since Alice would now think she knows Bradley's stream, when it was actually Charlie's stream. For this to work, I suppose Alice would have to know that Bradley would be a secret listener to begin with.

In any case, it is definitely an interesting read. Seems like the type of thing Julian Assange would love to have. [2]

[1] https://bitmessage.org/bitmessage.pdf

[2] https://news.ycombinator.com/item?id=5574589
Maybe all other words in title should be kerned instead.
Reading Hayek in Beijing
Show HN: A way to help figure out mysterious syntax errors.
This is my first non-trivial website, so I'm pretty nervous about it. Please let me know if there's anything I need to change/fix.

I'm hoping the purpose and usage is self-evident - submit your 20 lines of code that definitely contains a syntax error which you can't find, and everyone else will try to fix it for you. There are a lot of days when I get sick of my own code and would rather help someone else with their for a few minutes. This is an easy way to do it during your coffee break.
Just to go further into the numbers Hulu makes quite a bit from the ads. Link [1] is from Feb 2011 when Hulu was making 14.3 cents per episode.

That means if you were watching 2 episodes a day Hulu was making more from you in a month from ads then from the Hulu Plus subscription. And I think ads have noticeably increased since 2011. I guess we know why that autoplay next episode kicks in so fast. And I guess it goes to the true cost of these licensing deals and why Netflix has a much worse tv selection that's a year old.

[1] http://www.wirelessgoodness.com/2011/02/04/hulu-generates-0-...
Nice. http://fdatamining.blogspot.com (linked under "Other links") is another good place for F# machine learning.
>Indeed, the mentioning of last year's suggestion of Sword of Shannara has been rendered less painful between us by the recent success.

This made me smile. I had forgotten about that book and how much my young self enjoyed escaping into it. I'm guessing from your comment that this is one of those "better remembered than revisited" fantasy titles :)

I'm going to keep pretending it was close to perfection :p
Key and block size were the concerns. Key size specifically. Cryptographically speaking, DES has been incredibly good and resisted pretty much all attacks but the key size has made brute force feasible.
Hey this is the only one that's worked out of the box! Very exciting for me to be able to have my linux box at my desktop now.

Thank you for posting.
Go ahead and peruse wikipedia for "prion diseases" ... it's a fascinating subject with some very scary subtopics. Of particular note:

http://en.wikipedia.org/wiki/Fatal_familial_insomnia

... and the account of one patient who valiantly struggled to prolong his life in the face of this disease.
The Future of Finance (Is the Future of Energy)
It can take at least a couple of days - I was checking it after the release of 1.9.1 and was surprised how long it took them.
"McBride says he needs $2 million". Still a loser.

Be sure to review some of his public statements about Linux to get a flavor for what kind of person Daryl is.

https://duckduckgo.com/?t=lm&q=site%3Agroklaw.net+sco

@HN readers -- I am sorry if my comment depresses you, but as long as stories like this are posted comments like mine will be generated.
It saddens me that there are people with friendships that would disintegrate if they left their current job.
I've worked with debuggers that allow you to step the short-circuit operations.

That said, a huge cascade of them is something I try to avoid. Two or three, okay. Nine or ten, break it up and make it clear and readily debuggable.
I see your point, but I still have 6 months to figure that out before I launch- I'll get to it in time.

I was busy figuring out the product until I got sidetracked with the website, now I'm on that & marketing.

It'll help me with my marketing to have a handle on my target market, so its only natural that this research comes next.

My cousin's husband is in banking, and I just reached out to him today to talk with him about resources that'll help me gain an understanding of the kinds of workloads that my customers might run. At the very least he'll be able to point me in the right direction as to where to conduct research.
Runtime Feature Checks at Redfin
His CV on his website http://jelv.is/resume.pdf.

Seems he's fairly experienced. Anyway such things are highly subjective, and YMMV
Huh... I wonder how much they make when I watch 30 seconds of Colbert and close the window.
Ease off on the rhetoric. I'm not accusing anyone of anything, I don't think anyone did anything illegal and, for what it's worth, I thought the Times' lawyering was dumb and hamfisted at best.

But there was a right way for scroll kit to handle this and there was the wrong, easy way they chose. They could've said "Have you been blown away by features like The New York Times' 'Snowfall' or Pitchfork's cover stories? We'd like to show you Scroll Kit." And then put together their own demo video with their own work without a smarmy "it took us an hour to do what the Times did in months".

It's classless and low. But they got the publicity they wanted and seem to have a fan in you. Hoo ray.
Search NPM with Chrome Omnibox
This point is very like an engineer's point, which have many years of development experience. He tell me when I'm a intern in the company. I always like to write perfect and complete code that time. But you must write code first, so that other people could cooperation with you. Just write and see and test, then you can find the problem.
In ruby, the equivalent to a switch (confusingly called case) can take no initial-compare field and basically become a chained-if that lines up nicely (or more nicely than elsifs). I prefer the visual look of it, personally, but it seems that a lot of people find it too confusing.

As an example:

case
when (a == 1)
dosomething
when (b == 2)
dosomethingelse
when (c)
orthis
else
awww
end
I was actually just thinking today how I hope they don't switch to opaque folder icons. While it would look less cluttered and adittedly nice, I find the visual cues as to what apps are contained in the folder far too useful.
No citation is needed.

1. Open an LLC: cheap.

2. Open a Bank Account: travel to US and they will open one with the LLC without a social security number.

3. Transfer funds to the LLC.

You can do it for less than USD 2000.
> would strengthening the economy even more help the situation and modernize perspective or serve to increase class divisions?

Initially it would do the second. As we see from the modern PRC and our own Gilded Age (1870s-1910s), it takes a fairly active and honest government to force wealth out of the hands of the richest and into society as a whole. Until and unless that government comes into being, wealth creates cliques and oligarchs in a crony capitalist mode.
For reference, the Parrot.AR drone is about $350, and gets 15 minutes of flight time. As far as I know that's among the more popular low-end UAVs.
To clarify, my point is that a blog post about improving your security should not have an easily cut-and-pasteable reference for substantially decreasing your security, even if it's intended to be used on a dummy file.
Cheers for saying it. I'd suggest it's not just superstition, it's ignorance in general, in all its forms. The cure is education.
Yes. To add to that:

Sometimes you'll want to plan ahead because the nature of the problem means you'll have a harder time cleaning things up later.

Other times, you want to move quickly because creating castle-in-the-sky architectures is not the best use of your time (especially if it becomes paralyzing).

Experience helps you determine which type of situation you're dealing with.
Even more beneficial, it would give you a much better idea of what, in fact, the computer thought you meant. Seeing a complex nested structure flattened out would give you a more visual indication of what's going on, allowing you to spot misunderstandings earlier.
For the love of god why have 60 servers with ssh available open to the world? Ssh through trusted gateway machine! Then you need a single signature you trust and you can firewall off the rest of your hardware.
Huh - it does have an RSS feed though, it's just the one provided by Wordpress:
http://blog.jquery.com/feed/

If you put http://blog.jquery.com/ into your feedreader it should be able to just automatically detect the feed (it's embedded in the page using a <link rel="alternate" type="application/rss+xml" .../>).
>> The first equation in that second block (and so the rest of the block) doesn't really make sense in 32 bit two's complement arithmetic

> My point exactly.

It doesn't make sense because there's no such number as 2^31 in 32-bit two's complement arithmetic, and I don't think the finite range of finite-length number representations is really a solvable problem. This inevitably leads to a lot of mathematical weirdness, because our math is built on the set of integers being infinite (which is the only kind of set of integers in which closure on addition makes any sense at all).

>> and don't follow the usual rules, in more ways than just overflow.

> At a low level, we program computers to perfom bit operations on registers. Some operations are more straightforward and efficient than others, but ultimately it's how we interpret the bit patterns that makes them "numbers".

Any finite representation of numbers is going to have to break the familiar mathematical rules somehow; I'm pretty satisfied with the tradeoffs made in our current integer representations (unsigned more than signed, but that's in some ways an easier problem).
RIP. http://en.wikipedia.org/wiki/JSTOR#Aaron_Swartz_incident
It would be really interesting to see cooling applied to dive medicine (I dive, and a friend of mine is a Canadian Forces MD who did a hyperbaric/dive med fellowship at Duke, so I read some papers on this stuff more than I would otherwise). Also seems like it could be really useful for flight medicine/extended distance transport post ROSC/etc.
Or if you're running windows you can use group policy and windows PKI to get it done automatically. But I haven't found out how to do the same thing under a nix environment.
Wow, it seems that Mexico is the only Spanish speaking Latin American country that can sell android apps. And of all the countries in the continent of America only Brazil and Mexico (besides the USA, obviously) can sell in the Android play store. I guess it sucks to be from Latin America.

Disclaimer: I'm from Latin America but currently residing in NYC.
I'm sure it'll come but I'd love to see a petrol powered version of this with a USB plug for an android phone. You can add all the sensors you want (LTE, gyros, gps) via the phone, and the range would be amazing by using mostly the wheels, then the rotors just to get over obstacles.

Would actually be pretty good for park rangers, border control, protecting large industrial complexes (unpredictable camera points with computer vision to locate human movement)
I would argue that the United States death penalty is a form of ritualized murder.
Someone is deleting random words from your posts.
Forcing cultures to change their barbaric ways has been done successfully in the past. A quote, from Charles Napier (Britain's Commander in Chief of India), on the topic of burning women:

"Be it so. This burning of widows is your custom; prepare the funeral pile. But my nation has also a custom. When men burn women alive we hang them, and confiscate all their property. My carpenters shall therefore erect gibbets on which to hang all concerned when the widow is consumed. Let us all act according to national customs."
I attempted to use Ekiga a few years ago. I remember having trouble getting it work, so I don't really have any hope in convincing anyone to use it when Skype is dead-simple.

And I mainly use Skype for its group text chat support (and the fact it still delivers messages to you that were sent while you were offline), which I don't remember if Ekiga does.
Yes, let's go tell these backwards people their antiquated superstitions are ridiculous. Emphasis on their... our own antiquated superstitions are completely OK.