skysight-inc/HackerNews huggingface dataset:
I like the headline's attempt to imply that there is another side of Wall Street that is respectable and above-board.
Oh, sure. I don't mean "controller" necessarily in the sense of MVC; just the idea of using a class as a bag of unrelated functions. Web frameworks trying to be MVC happen to be the most egregious offenders.[1] I'd actually forgotten that I made up the name "controller pattern". :)

[1] I blame this on MVC not making sense for Web backends; the controller is supposed to make sense of a stream of realtime user actions, but that doesn't apply so well to the discrete request/response model of HTTP. Your URL layout itself is, in effect, already doing most of the work of a GUI controller, and what's left is a relatively small bit of glue between the model and view. (Pyramid even bills itself as an MV framework; it refers to request handlers as "views", rather than reserving the name only for templates.)
Boxshot King: Can You Create Professional Cover Graphics in Minutes?
fale@machine:~$ tcptraceroute -f 128 -m 128 thepiratebay.se
Selected device venet0, address 5.9.249.8, port 40771 for outgoing packets
Tracing the path to thepiratebay.se (194.71.107.15) on TCP port 80 (www), 128 hops max
128 thepiratebay.org (194.71.107.15) [open] 51.673 ms 49.002 ms 47.187 ms

That server is in Germany, no way it's possible to have 50ms to NK. Also traditional traceroute has 500ms+ RTT.

They are faking/spoofing the ICMP responses.
They are also prepending their route advertisement with corresponding AS paths to further disguise it.

From TeliaSonera looking glass http://lg.telia.net/

194.71.107.0/24 *[BGP/170] 02:10:36, MED 0, localpref 150, from 80.91.255.255
AS path: 2914 39138 22351 131279 51040 I

AS39138 is probably the real upstream provider of TBP. They peer with AS51040(TPB network) and TPB router prepends AS22351(Intelsat) and AS131279(North Korean ISP) into it's AS Path before advertising it to AS39138.
For a while it was even visible on both sides of the Korean peninsula: a left-wing military dictatorship in the North referred to themselves as the "Democratic People's Republic of Korea", while a right-wing military dictatorship in the South referred to themselves as the "Republic of Korea". Neither country actually operated as a republic, but both seemed to like the term (and did have some superficial trappings of a republic, like legislatures). The South is now an actual Republic, though, since around 1987.

Similar situation for some years in the Taiwan Strait, where the not-a-republic People's Republic of China faced down the also-not-a-republic Republic of China (Taiwan).
It's complicated in this case because he has a grand vision for change... but also has made some mistakes in his changes, like the pricing debacle. The fact that he is still CEO at all shows that someone has faith in him... 30% revenue declines are pretty terrible.
> Everybody needs at least a bit.

This is a bit of a myopic view that assumes everyone has the capability to learn logic.

(Un)surprising truth: some people are dumb, and simply can't grasp it.
I don't hate this decision. I probably won't upgrade as soon as it comes out, but in my opinion linux ecosystem needs competition in the display server segment.

If they screw it up there are plenty distros to choose from.
However, the two countries do use a completely different word for "Korea" in the Korean language.

In South Korea, they call South Korea "Hanguk" which means "Land of the Han" (Han people being the Korean ethnic group). They call North Korea "Bukhan" which is just "Northern Han."

In North Korea, they call themselves "Joseon" which means "morning calm" and was the name of the last Korean kingdom.(cf. http://en.wikipedia.org/wiki/Joseon) Meanwhile they call South Korea "South Joseon."

So, they each call themselves and the other "Korea" in a sense, but they disagree on what the word for "Korea" is in Korean.

"Korea" is itself a romanization of "Koryo," which was the name of a much earlier Korean kingdom.
Great idea and execution, but it's somewhat telling that some of the "side projects" people are posting really don't look like side projects.
White House: You Should Be Able to Unlock Your Phone If You Own It
Enemy of my enemy is my friend.
Regardless of the technical considerations, Linux and its surrounding ecosystem has a long history of many different companies co-operating on core software. Canonical's philosophy seems to fly directly against that - so far we have:

Launchpad / Upstart / Unity / Mir

Launchpad is free-software by name only, and Canonical actively discourage you to setup your own instance.

Upstart hasn't been widely adopted outside of Ubuntu, and has been replaced by the technically superior systemd.

Unity has been extremely unpopular from a user-experience point of view, and now we have Mir. So past history isn't filling me with confidence. Their philosophy seems to be "patch first, ask questions later".

I'm amazed how Canonical has the resources to keep branching out so much while producing a distribution every 6 months. I was under the impression they weren't yet making a profit.
I wonder if they are using a bayer mask with an RGBO pattern (R, G, B filtered wells, and an open channel in each repeating subunit).

Kodak has the patent, so they may have been able to acquire or license it at low cost.

http://web.archive.org/web/20070720002510/http://johncompton...
Thank you!

Is this streamed or available for viewing later?
> X has a long and successful history and it has served the purposes of both system level and application level UI well for more than 3 decades.

HAHAHAHAHAHAHAHAHAHA
There is just one action on the post that will have dire consequences if ignored: disabling the ssh password authentication.

The rest are decisions that you don't need to rush into, and things you should learn when they make sense. Be advised that "the proper way to configure a server" is an elusive beast, you'll be always improving it, it's never done.
Voice Gives Way To Data: Erosion Of Voice Communications Technology
Three IT Trends to Pursue According to SnapLogic CEO, Gaurav Dhillon
I think this can help you understand their mentality, PRQ, the hosting company behind TPB, have hosted pedophiles.

I don't know if they still do because I haven't kept track, but they did for sure host pedophile message boards in 2005-2006 where pedophiles discussed things like raising children for sex.

Why? I can only guess that it's because they believe in freedom of speech over everything else.
What exactly is a side project supposed to look like?
Wow - this is the first sentiment analysis tool I've seen made available for free. In my experience, these are overly expensive and don't work very well. Will have to try this next time I need to analyze a Facebook post - thanks for sharing.
JS roguelike game: The Royal Wedding
w.r.t. x::xs vs. head::tail

One of the nice conceptual things about pattern matching is the pattern on the left hand side describes which bits of the structure you're interested in, while the stuff on the right hand side describes how to manipulate that data.

When you're looking at the rhs it shouldn't care about where data came from, it should just care about what the data is. I've got some arbitrary thing `x` and a list of arbitrary things `xs`. I've got some `person` and a list of `people`.

Using `head` and `tail` makes the rhs concerned with the structure of the incoming data. This becomes more of a problem if you have more complicated data structures on the lhs.

One of the key elements of readable code is how easy it is to map your conceptual model onto source code onto executable code. Using head::tail wouldn't help new people grok the separation of structure on the lhs and manipulation on the rhs.

All that said, it's such a minor point as to probably not really have any impact in this case. Just a bit of silly purist hand-waving.
If they (the White House) can point to the guilty parties here (congressmen, senators, lobby groups) or even point to relevant bills or decisions, it will help us in terms of knowing which politicians we should not vote for.

Remember: vote with your wallet/ballot. Outrage works when it is concentrated and directed at the right people.
Teaching 2.0: Is Tech In The Classroom Worth The Cost?
Official WH response here: https://petitions.whitehouse.gov/petition/make-unlocking-cel...
I think you're missing the point some of the earlier posters were trying to make.

It's difficult to justify taxation by saying that it's spent on public services that everyone uses if you can't also demonstrate that the same money spent voluntarily by the taxpayer on private provision of the same services couldn't have achieved the same or better results. The provision-of-services argument alone doesn't allow for the opportunity cost of all that tax money.

However, if the government is the only provider of a service and doesn't allow for private competition, as is often the case with the kinds of service being mentioned in this thread depending on where in the world you are and what your system of government is, then clearly it's difficult or even impossible to measure how well private competition would have done instead. Some cases of large-scale privatisation of important services have worked very well, yet other cases have failed horribly, so there's no obvious, black-and-white case for whether tax-funded public services are better or worse than privately funded commercial ones.
Not to the extent of keeping thousands of prisoners in Holocaust-like conditions, I think.
I'm not really a fan of Reddit, but the local area subreddits would likely be an invaluable resource for quick-time networking and intelligence information.
If Linux idiots weren't senselessly married to terrible in-group traditions and the status quo, it wouldn't have taken 20 years (or Canonical) to replace the clusterfuck that is X.
> root login should be disabled completely

Would you care to explain why?
I wouldn't be surprised if some of the ICMP responses are forged - It seems disadvantageous for the site to have such a long path, since each hop has the potential for attack.

http://www.thoughtcrime.org/software/fakeroute/ can be seen as previous work that it is practical to do something like this.
I thought the important part of the "no-sales" strategy was to have lower prices every day. Author doesn't mention it. Doesn't seem like such a bad idea?

What might be happening is the same squeeze that happened to (now lower-end) stores like Sears and Kmart as well ... they can't compete on pure price against Walmart, Costco, et al. They can't move into the high-end because of historical baggage and lack of credibility, etc.

And of course, the retail world has changed. Much business has moved online, and the widening gap of rich and poor (and their associated tastes), are a double-whammy to the solar plexus of the midrange retailer.
Long-polling doesn't totally suck
"...being persecuted for beliefs of freedom of information."

Seriously?

The Pirate Bay's "freedom of information" posturing is a complete farce. The site exists for the sole purpose of making money for its operators. Messages like this one, whether satire or not, expose the site for what it is. It makes money by ripping content from the distribution channels chosen by the content authors, repackaging it, and giving it away for free while raking in advertising dollars. In the process, they deny content authors the freedom to select channel of distribution that will allow them to be compensated for their work.

Technology has paved the way for improved means of distributing content, but this is not it.

The only upside of TPB is that it will disrupt the existing content delivery chain enough to force some innovation in a space dominated by a few very large and very stagnant players.
Yes, definitely, we should not stand by while companies host their content in countries known to use torture to extract information, hold prisoners with out trial, hold prisoners with out charge, allow their leaders to execute citizens summarily, execute minors and the mentally retarded, incarcerate people at a rate higher than any other country on earth merely in order to serve as slave labour for the state and state sponsored corporations.

Even worse is many of the citizens of this 'republic' have been brainwashed by a compulsory education system that they actually live in a democratic republic.
Stupid move, so much that words fail me. "Korea" (as they call themselves, they don't acknowledge the autonomy of the South) has been looking for months for investors to replenish their economy in the face of mounting sanctions. TPB is giving them exactly what they need to become a greater menace to the region.
It is good you clarified this here as it wasn't clear to me and though I had before now settled on using spreedly-core, due to my not understanding that bit, I quickly began thinking I may need to evaluate other options all again. But no need with this explanation.

Why don't you paste the exact explanation/examples that you have given here in the pop-up that comes up when we mouse over 'pay as you go' in your new pricing page.

Great job.
Yes, order of files in a project matters. If Things.fs contains type Foo and Main.fs uses it, then the project must look like

MyProj
|- Things.fs
|- Main.fs

Visual Studio has a few functions to manage this order.

The benefit is faster compilation, because F# requires recursive types to be declared together, such as

type Foo = A of Bar | B
and Bar = {Baz: Foo}

this doesn't really come up that much.
Great idea! Hope I get good feedback on one of my newer projects: https://breakpoint.io/103-awdio/
The primary function that the Pirate Bay serves is to illegitimately take other people's work and give it away for free - ohh, while displaying ads.

Why would you hold them up to a higher standard?
Actually, if you're browsing the code in Visual Studio, it's a hell of a lot easier to jump around the code if you have one class per file. All the main navigation UI is geared to the file level - the tree in solution explorer is all files. The tabs in the editor are lists of files. ctrl-tab brings up a list of files. You can bring up a new tab group and see two files side by side.

So, yes, one thing per file is actually a pretty good idea. Sometimes it's fine to put multiple things into a single file, if there's a lot of small implementations... but for anything even mediumly big, it's good to give it its own file. It helps a lot with navigation.

And yes, I know you can do "go to definition" etc, but if you want to go back and forth between code, separate files is a lot easier. It also makes source control a lot easier, because you can see a file changed and know immediately what it will and will not affect.

Which is not to say that I don't think java got it wrong, it did, it's just that the problem is not with one class per file, but rather that the file heirarchy matters.
I like the idea a lot. Nice work!

One slightly negative impression: while there are already lots of good submissions and it looks like people are using the heart button, there are very few feedback comments so far. I particularly like the idea of a smaller, more tight-knit group of HNers giving each other feedback, since it seems nearly impossible these days to get any attention for a Show HN post without preexisting internet fame or a voting ring, so I found it a bit unfortunate that Breakpoint seems be starting out more in the direction of show-off gallery than a place for substantive discussion and critique in the HN vein. I'm not really sure how to remedy this. Perhaps placing more emphasis on discussion vs. screenshots could help?
See http://news.ycombinator.com/item?id=5319720
AS Paths can be modified pretty easily http://blog.ioshints.info/2008/02/bgp-essentials-as-path-pre...
Registered with a South African ISP, but a Colombian top level domain. ( .co.za is South African). Real pros at work...
Sad but true. Is the White House, ie the executive, the right entity to petition in this matter, which seems to be legislative? In Germany we have a mechanism to bring stuff in front of [a committee of] our parliament, is there anything like that in the US?
> The Pirate Bay has been hunted in many countries around the world. Not for illegal activities but being persecuted for beliefs of freedom of information.

How noble. Good thing that they found refuge in the country that basically is one big concentration camp. Can't make this stuff up.
I'm much the opposite: I keep giving Ubuntu a shot, only to find myself disappointed by GNOME, Unity, and the other usual suspects of the DE world. With no need for Unity & Friends, I just use stock Debian or Crunchbang.

I'm rooting for Canonical to do well with this so that I might finally be able to switch to using Ubuntu in order to get a well-supported, well-integrated, targeted-by-most, "Fast and Fluid" Desktop Environment. Up until now I still hide away in a corner with my annoying-to-maintain (but certainly "Fast and Fluid") Openbox environment.
The problem isn't Linux idiots (whatever that means) or their cautionary tendencies, it's Canonical.
If he just got off the phone with the White House, I'd imagine he has a pretty good idea of what their response was. Your cynicism is a big part of the reason it's so hard to change things around here.
Ubuntu Announce Unity Next, Will Be Written in Qt/QML
The cost of living is the real kicker in SF that makes you have to closely evaluate an offer if coming from another place.

For single people its a lot easier to live in SF on around 70-100k. Having kids and family makes it harder in SF and there is a definite portion of people that leave due to the extra financial pressure it inevitably puts on you.

Probably for you there are 2 things to potentially take into consideration... in SF 1) child care is expensive if you ever needed it and 2) the schools in SF have a reputation of not being very good. There are private schools but those are costly as well.

The last thing is that rent for a place is very expensive for a place that would fit your family. Make sure to get a feel as to what you'd be paying here. My guess for a just large enough space would be $2800 to $4500 per month.

Based upon your wife not working and having kids Id honestly not recommend moving. Not trying to be discouraging but just trying to be honest with you that it could be tough going financially if you are the sole income earner for the 4 of you.
> The x::xs example is bad because it's a widely used idiom, similar to using i as a loop counter.

And IMHO bad for the same reason. I'd rather see "index" than "i" and I'd rather see "head::tail" than "x::xs", abbreviations for variable names are terrible; the English language is not running out of words and readability is more important than brevity. Of course, I'm a Smalltalker and we like to actually have readable code.
Well, if you're looking to feel superior to the rubes, a little tried-and-tested "they're all the same" cynicism will really do it for you.

Petitions raise visibility and they require organization to get the signatures. Organizing to get the signatures once means you build the mailing lists etc to organize for other things later.

I mean, when they instituted this petition thing in 2009 do you think they were really thinking "We need some kind of 1984 mind control device here after that presidential campaign"?

As far as the actual content -- read the word 'respect' in the diplomatic context there and it's pretty clear that they'd love to get rid of this, but don't have the legal authority to just up and do it.
9600: no idea, it sits in my parents' box, 300km away and no ssh.

3000: 760G chipset, many (most? all?) Linux/Mesa/Xorg version released in last two years. Completely random lockups, usually at few days of uptime. I no longer use one of this mobos so I'll have a look at this issue if I find some HDD to boot it.
> The only thing I can think of is either a Zero day TCP/IP stack vulnerability (not a realistic threat), or that the admin doesn't trust the other admins when they install new services. Yes, if an admin installs a new email server and enables relaying to the whole world against the explicit recommendation in bold font by the install wizard and the configuration file, a firewall can block that admins' actions. Then again, that same admin could just as well have disabled the firewall to "get the mail to work", so I'm not sure it's a viable defense against bad admins.

I think it's less about defense against "bad admins" than it is about protecting against accidental bone-headedness. :-) I typically set up a restrictive firewall policy even when I have a clear list of the services I'm running and/or I am the only admin. This comes in handy every once in a while, in cases where...

* A service is expecting more ports to be open than are documented. (Happens not-infrequently with license servers.)

* I'm re-using an old image and there are undocumented services enabled by default.

* A user decides to run a network service in their own account without informing the admins.

In all those cases, am I likely to change the firewall to "make it work"? Sure. But having to actually make that change helps keep an audit trail, and helps keep the admins explicitly aware of the attack surface. It's similar to why it's a good idea to periodically run nmap against your own servers.
And, yet, the best practice seems to require an user account with full sudo priviledges.

If you know the difference between that and root, please explain it, because I can't see any.
"Why is Mozilla protecting the advertising giants from competition?"
Ubuntu's Unity Written In Qt/QML For "Unity Next"
Apple loses title of most valuable company to Exxon
>I don't want this to turn into a discussion of whether the US is worse than North Korea, but both have abused - and continue to abuse - human rights in abysmal ways.

Sorry, no. Making the comparison assumes there's some parity, which is completely misleading.

In a different context, it's about as outlandish as claiming the space shuttle is really no different from the wright flyer. After all, both are capable of flight.
That depends. I tend to leave small support classes in the same file, but anything public goes to file per type.

Why? Because I have to work with people who don't have resharper installed, and without resharper it's near impossible to find those types without doing a full project search.
Oh well, that's just because US thinks it owns every other country.

Just see what they tried to do with Assange and Kim Dotcom.

They could've done that countless times with less public people.
Ok, that makes more sense. I don't much about virtualization but my understanding is that building an hypervisor is quite a lot of work and I couldn't understand why an IaaS startup would want to build its own.

Thanks for the answer!
If North Korea really is involved in this (and the traceroutes seem to indicate it is), let's turn the irony up a notch and turn the spotlight on a few North-Korea-critical torrents - now served through the very censor-happy country that is getting criticized:

Children of the Secret State - North Korea
https://thepiratebay.se/torrent/6441601/

Inside - Undercover in North Korea
https://thepiratebay.se/torrent/6136295/

Comrades and Strangers: Behind the Closed Doors of North Korea
https://thepiratebay.se/torrent/6899842/

The Vice Guide to North Korea
https://thepiratebay.se/torrent/5378291/

National Geographic Explorer ~ Inside North Korea https://thepiratebay.se/torrent/6110419/

It will be interesting to see how serious their new overlord is about that "freedom of speech thing". My guess is that sooner or later, some of those films will suddenly vanish from the site.
All sensors are monochrome just with red, green, and blue filters over pixels in what's called a Bayer pattern. The only real exception to this rule that I can think of is the Foveon sensor.