skysight-inc/HackerNews huggingface dataset:
Similarly, if you prefer the American date format you can change the two $scope.text lines near the end of controllers.js to

$scope.text = "Good " + $scope.getStateOfDay(moment().get('hour')) + ", today is " + moment().format('dddd MM/DD/YYYY') + ".";

which looks like 'Thursday 03/12/2015'; or you can change both lines to

$scope.text = "Good " + $scope.getStateOfDay(moment().get('hour')) + ", today is " + moment().format('dddd, MMMM DD, YYYY') + ".";

which looks like 'Thursday, March 12, 2015'.
You're right that writing singletons needs expertise because there are a number of (possibly unsolvable) gotchas that you need to know about to even start using singletons.

Take the self-referencing problem: let's say we have a logger singleton (pretty simple, what could possibly go wrong?) And let's say that the logger singleton invokes particular code during its initialization, such as the file I/O code that is also our own and that uses... guess what? a logger! Thus, when the logger class initializes, it will either try to log using an uninitialized object or invoke the initialization recursively depending on whether the singleton is lazy or not. A beginner is normally not aware of this problem when they are writing their singleton class. Another problem is the initialization order: what is initialized first - the logger singleton or the I/O singleton? Turns out, we just have to use lazy initialization. Then the multithreading comes on the scene. So you have to make a thread safe lazy singleton. But that implies additional cost on every call for the singleton.

I don't know... Singletons are a mess.
Well, I mean, if you want to, I guess. I went ahead and graduated.
Right, I was referring to all ML-based languages -- so SML, OCaml, Haskell, F#, and possibly even Rust.

Do you know how this would look in Haskell?

# Return K most common lines in a file

def top_k(f, k):
counts = collections.defaultdict(int)
for line in f:
counts[line] += 1

return sorted(counts.items(), key=lambda x: x[1], reverse=True))[:k]

I was actually looking for the OCaml example which does this. I think it was in "Real World OCaml", and I remember it being horribly ugly compared to Python. I couldn't find it though.
https://algorithmia.com/docs/marketplace#pricing

"Royalty

Algorithm developers may choose to set a cost-per-call royalty associated with their algorithm"
I haven't seen the documentary, so I hadn't heard that. Thanks.

I think Lessig's exactly right.
The idea of being able to eat a balanced meal without having to meticulously plan and prepare it. It's hardcore efficiency at it's finest and for a relatively good price. If I'm left to eating regular food, I tend to go out to eat more than I should because I procrastinate going to the grocery store or even preparing what I already purchased. This ends up a lot cheaper and a lot more healthy.
While I haven't look at the OS/2 support of OpensSSL specifically, surely it is not a question about code that it never executed, but code that is never built on a modern system. That makes it more a question about code maintainability and code readability, rather than security problems with seldom executed code.
My ethical system considers intent, consequences in specific, consequences in general, economic impact, psychological factors, and next-best alternatives for each actor.

Thoughtlessly ordering someone else to commit a murder is definitively worse than ordering someone else to commit a murder after careful and deliberate consideration, presuming all other factors remain equal.

In my view, killing someone just because it benefits you in some way is worse than killing someone because you truly believe that they deserve it--even if the thought process that led to the latter conclusion is provably flawed.

Not all murders are equally bad. The condition only short circuits at murder if your ethical framework has discrete values rather than defined intervals on a continuous spectrum.

Of course, ordering a murder in a stage production where no one actually gets killed is hardly even bad at all. It's almost like doing a mission in Grand Theft Auto, or doing a shot-for-shot remake of the baptism scene from Godfather II. Or perhaps it's the inversion of Ender's Game, where rather than the ethical burden being lighter because you didn't realize it was for-realsies, it is heavier because you didn't know it was fake.

RU may be an ass for trying, but the facts remain that no one died because of him, nor was anyone at any risk of dying from his actions. The cops put him inside a fake situation, and he acted according to his assumed role as though it were real. If I were judge or prosecutor, I wouldn't want to untie that knot either.
I'm sure the rich have ways of being in two places at once (from a paper trail perspective).

They do well with this when it comes to tax, I don't see why they wouldn't do well just because it's a question of citizenship.
Yeah, VMs were my thought too -- VMs are easy to spin up and cheap/free, so why bother having everyone share one staging server? Use a configuration management tool like Chef/Puppet/Ansible/etc. to make sure everyone's staging VMs are configured the same, and you're good to go.
"It is difficult to get a man to understand something, when his salary depends upon his not understanding it!"

~Upton Sinclair
Hmmm, you're right, the Apple site says it uses GPS and WiFi in the iphone, whatever that means. So I guess it's possible the watch syncs with the phone using NTP. Good catch.
> We were worried about reliability

You don't say?

After pulling the plug on all the products I liked, I'm worried too.
> Nothing in the world is absolute.

I'll drink to that :)

> However so far I have not hear any non nebulous reasons why an Open Source project should be on gitlab.

Heh, that's okay. I'm not here to convince anyone of anything.
Upgrade to pg v0.18.1 If Using Ruby v2.2
Of the complaints you can make about Go's type system (and there are many), being too complex is not one of them.
‘FREAK’ encryption flaw compromises Windows
I see your point but have you considered that Comcast is the only one who controls the last mile routing to any specific customer? By definition that is why the route is called "last mile." Since Comcast controls the ingress to every household subscribed to it, it also controls the traffic rate and can throttle it if need be. However, if Comcast wants its argument to hold that throttling protects network congestion, then it must also throttle the source of the ingress traffic. Otherwise it's just barricading traffic from its destination, ultimately creating a bottleneck that solves no problem.
I love this idea. One of the hardest parts of teaching kids to lean coding is giving them a reason to do it. With the led's and bluetooth there will be plenty of fun projects to do. I've been helping out at our local code club and would love to get my hands on a box of these.
Or Clojure or Erlang. Funny enough out of "functional" languages those have probably just as much (or even more) been used to develop distributed, fault tolerant systems than F# or Haskell. Just saying.

BTW both Clojure and Erlang allow a form a gradual typing.

From personal experience. I've used both static (C#, C++, Java) and dynamic typing (Python, Erlang), and have to say, the prevents-many-bugs excuse as the main problem with dynamic types just wasn't true.

Maybe my code is more complicated and dealing with distributed state, consistency, and protocols but what what kills everything is usually logic errors, network failures, files not being there, misconfiguration, segfaults, user-after-free, and the most evil ones, shared global states in a concurrent shared-heap environment.

Things like "oh I expected an int but got a string" are pretty trivial and easy discovered.

Moreover, in a recent service I implemented. I did in Python and I believe the faster development time and less code to write in general, gave me time to write better integration tests that exercises and covered the code a lot better. I would have had to write the tests anyway, even if this was written in Haskell.

Perhaps static typing helps a lot more in large code bases. Think of a large game, or a CAD application or some huge C++ back-end. But, if you buying into the whole micro-services fad, well, you shouldn't have large code bases if you can help it.

Another big motivation for types, which I think most people have in mind when they pick a strongly typed language is performance. Usually static typing and a very large performance increase would go hand in hand. Now with the effort put into v8 and PyPy we see that gap getting smaller.
... and they posture to get jobs, friends, romantic relationships, to feel good about their place in the social pecking order...

I know some such people well.
Well for me personally I always head straight to the pricing page of any service I'm interested in and I didn't see any mention of the repository hosting you do there. Is that just for support / enterprise installations? Might be helpful to mention it there.

But beyond that I dunno.
Zike's Law: Whenever Nazi's are mentioned on the internet, someone inevitably mentions Godwin's Law.
Some of the names that come to mind:
- Yann Lecun
- Andrew Ng
- Ray Kurzweil
- Geoffrey Hinton
- Olshausen
- Jürgen Schmidhuber
- Demis Hassabis
We've done an enormous amount of work on GitHub Enterprise over the past year. Click on any of the release headings for the 2.x series at https://enterprise.github.com/releases and you'll see the pace at which we've been shipping features enterprises have been asking for. If it's been a little while since you checked it out I'd recommend looking at it again :)
Life Beyond Rails 2: A Second Look at Alternate Web Frameworks for Ruby
That looks like you want to use the result of Racket, rather than use Racket itself.
The future of Linux storage
I need more evidence to have an opinion on whether Lyft and Uber are good for the environment. It's really hard to tell because there are people choosing them over public transit, and people choosing it over car ownership.
That's a nice line, but it's always more complicated than that. Do the actions of one town's government speak for the entire county, state, or country? Do the actions of the federal government speak for each state, county, or town?
Statistic teaches you application and helps to develop correct intuition. Can's speak for everyone, but my college algebra courses were 100% abstract stuff detached from reality. All professors had the attitude that once you learn the theory you could apply it to anything. Problem is, it's hard to remember theory if you don't map to something tangible, and it's hard to apply it to reality when you're just used to crunching equations.
I'm curious, is there any reason you're breaking your Soylent consumption up into meals? I've just been keeping a small mug of it on my desk and sip regularly while I work; every hour or two I'll get up and refill it.

Aside from the convenience factor, it's nice (and strange) to go through my day only feeling hungry in the morning before I've started eating.
seccomp is simple and useful, in both incarnations.
Someone can correct me if I'm wrong, but I don't believe that Comcast "blocking" access to HBO Go has anything to do with net neutrality. In that case Comcast is saying that the HBO cable subscription they sell doesn't include HBO Go access. This is possible because of the requirement to "authenticate" your HBO Go access through your cable/satellite provider.

So that has more to do with television than internet regulation IMO.
Growth Hacking Gumroad, Tricks You Didn’t Know You Could Use
Only rarely are leaves of a tall org-tree positioned to expertly judge the sausage industry in general, its current trends, and the market advantages of its varied competitors.
Senior Software Developer, UI/UX Designer, Internal Tools Developer for videogame developing team

7 years in Video Game industry

Location: Moscow, Russia

Remote: No

Willing to relocate: USA, Canada, Germany, Netherlands

Technologies: .NET, C#, WPF, User Experience, C++, GameDev

Résumé/CV: https://dl.dropboxusercontent.com/u/17443884/Docs/SergeyTros...

Email: wr.main (gmail)

Linkedin: https://www.linkedin.com/in/thewr
Based on the existing comments, I realize this won't be popular, but this is a matter of violating FAA regulations for commercial operation of drones.

No one is stopping you from posting drone footage for private purposes, but if you are doing it for commercial purposes and reasons (whether you are directly paid or not, smart-ass) does not matter.

There is a reason this regulation is in place, because you as a private person flying around a quad-copter (see, you're not even calling it by its right name) for hobby and entertainment is a bit of a different thing than doing so for some commercial purpose and flying it every day, all day.

Quit being little brats that are pouting because you can't have what you want when you want it.
In a world where roommates don't always pay their rent on time and in turn screw you because now you have to cover since they're not on the lease. Vetting a roommates's ability to pay rent is not unreasonable.
Climbing the Mountain: What Zuora's Tien Tzuo Thinks About Scaling a Company
The headline and most of this article seem to avoid the real point of the FAA complaint. The problem wasn't flying the drone. The problem wasn't posting the drone video to YouTube. The problem was turning on monetization for the drone videos. If you try to make money a drone flight, you are using the drone commercially. The fact that the money actually made is less than a dollar doesn't really matter as the intention is there to make money. Not saying I agree with the rule, but it seems to be pretty straightforward with relatively little room for interpretation.

EDIT: Even the updated HN headline still doesn't have it right. Neither the video nor the drone flight are illegal. The video just bumps the flight up to a higher tier of regulation from a hobby flight to a commercial flight. A better headline might be "FAA says monetized videos retroactively qualify drone flights as commercial flights."
Gitorious has a header that informs people to migrate to Gitlab.
Because I am a workaholic who doesn't trust management to look out for me, I want a formal vacation policy that accrues vacation days so there's no chance for misunderstanding either way.

If you can solve the problem of finding a management chain that truly looks out for its employees rather than chasing maximal profitability and/or covering its own a$$, I salute you. Until then, I'll stick to a formal vacation policy as the 80% solution that just isn't broken.
Clink: Bash-style command line editing for cmd.exe
In the comments he says he changed his mind about Go, and the necessity of the efficiency gain over Racket. So there's some confusion apparently.
https://cxwangyi.wordpress.com/2012/07/22/why-go-use-racket/...
> The market handed them a monopoly

Local governments handed them a monopoly.

http://www.wired.com/2013/07/we-need-to-stop-focusing-on-jus...

I disagree that ISPs are a natural monopoly. It's crazy to think that my house could choose between two competing road systems, but my house already has multiple wired communications networks.

And if we all agree that ISP monopolies are real -- then we have a way of dealing with monopolies: break up the companies.

It seems to me that this is the proper solution -- yet for some reason it's never discussed and instead we just keep rearranging the deck chairs on the Titanic.
I really like the idea, but the cheeky part of me now suddenly really wants to make a parody site called "RealREALProblemHunt" where the top problems are things like "I have no access to clean water" and "First world countries keep exporting their garbage to my country's shores" as a counterpoint to the ones on this site like "Need to live to be 300 years old" and "Cannot find a place to order late night food past midnight.".
Pertaining to academics: I think this would be a wonderful tool to help students learn algorithms better. A lot of times when I'm working on a programming challenge the number of example inputs and outputs is too low for me to understand the problem. A professor could publish the algorithm closed source so that students can input their test cases to understand the problem better.
Families of the dead ultimately received $5,000 each, plus one goat.

Unit cost of the MQ-1 Predator: $4.03M

Program cost, as of 2011: $2.38B
FAA says monetized youtube videos shot from drones are against the law.
Fountains in King’s Cross’s Granary Square Are a Giant Playable Version of Snake
> I work on Google Code, and we will be putting a service in place to redirect deep links to project homepages, issues, etc. to their new locations.

And this is an opt in service, nothing is automated. They could ,AT LEAST, partner with Github or someone else to have the whole thing automated... Seriously... the really want to put 0 money in that stuff,they don't give a damn.

There are seriously good projects that will be lost no question.Open source code is a community wealth,even in funky languages nobody use anymore. What Google is doing makes sense from a business stand point but totally shameful from a company that boasts itself doing "no evil".
Yes, good for customers to have a friendly exit path, but I'm sure Google are capable of writing a Google Code to AnyGitHostingCompany exporter tool :-)
Thanks for the feedback.

If you're running a conference, we can host your CFP on Call to Speakers. See https://calltospeakers.com/hosted for more info.

If you just know about a conference and would like it added to the list, fill out the form at the bottom of the homepage (I just added this, so don't worry if you didn't see it before).

As for b), that will be up to the conference organizers. Most use a selection committee instead of letting the crowd decide.
Here's the 67-page dissent from Pai:

http://www.fcc.gov/article/fcc-15-24a5
Employees of any company in the world can do shady things.

You need to trust your server hosting company, your server OS vendor, your own workstation's software, your OS, all your firmware...

If GitHub employees stole proprietary code from you, and commercialized it, proving "prior art" and theft should be extremely easy for you. IANAL, but it's not something I'd worry about with most companies hosting on Github.
It is mentioned there but pretty low on the page, "Sign up for our free GitLab.com service if you want to use GitLab without installing it.". What do you think?
> They're saying that the videos, if monetized, make the drone flying a commercial activity, which is banned.

Strange, I didn't know there was any non-commercial component to the first amendment. How did newpapers and newcasts, which are also commercial activities, escape such issues?
Ranking of CS departments based on theory papers
In Canada, you are required to report all income, whether from employment, business or from property, but in practice for small amounts it is sometimes left out. For example, interest on deposits in bank accounts is taxable, but the bank won't send you a form unless you made over $50 in interest that year, so you don't have to claim that dollar you made.
Night Watch is amazing and moving.

Other Discworld stories that surprised me include Lords and Ladies and Thud!, in which Pratchett manages to write genuine horror stories.
So Dyn buys Renesys and OpenDNS acquires BGPmon...pretty interesting.
Yes, we certainly strongly suggest it to people. Just wanted to make sure everyone understands that the move is initiated by people themselves, we didn't move anyone.
My guess is they are because your comment has nothing to do with anything being discussed.
We do too, it would be nice if someone can contribute an importer.
I'm inclined to believe you simply based on evidence. Uber is till, by far, the choice for most. Moreover Travis Kalanick seems to have the passion for efficient transportation as Steve Jobs did for Apple products.

And I suspect there is some biased on Hacker News in favor of Lyft. Thiel is now even a partner of Y Combinator. And if I was Lyft, I'd rely on the passion of techies and engineers to push Lyft's "benevolent underdog" fight against the "evils of the goliath" Uber.
US and UK/Commonwealth countries have similar conspiracy laws where no actual drugs are needed just action on your part to further the conspiracy agreement. A gangster here in Canada actually tried to use a defense that it was his intention to rob the informant peddling invisible drugs, thus never planned to honor the conspiracy agreement as he and his henchmen showed up to the exchange with guns and not money. It didn't work because carrying out the full conspiracy isn't needed you just need any action on your part laid out in the conspiracy agreement and he had rented a truck to carry the large dope shipment as the informant had suggested.

https://www.mosesandrooth.com/drug-crimes/conspiracy-to-traf...
> And the companies or individual offering paper copies still charge $20 – $30!

$20 for the official version (see the book's web page for a link). That is, essentially, the price of printing and binding.
How did you come up with the 70/30 royalty split on api calls? That seems high to me.
Well, a guy was sued[1] for "copying" John Cage's 4'33.

[1] http://classicalconvert.com/2007/07/the-stupidest-music-laws...
I wouldn't say it oozes with "survivorship bias".
Clearly by your logic, any possible advice given to anyone oozes with survivorship bias, which is silly.

I would argue the tech industry is more egalitarian relative to other industries, which makes it possible to become successful without having a formal education. Sure it'd be difficult, but it's not impossible compared to another industry like finance.
If you're in SF and the person says they are a techie, they can pay rent. You don't need to go into boastful details about it.

(in any case, you should really be signing a sublease agreement)
It would not be easy to legislatively protect consumers from deep packet inspection, because the FCC would need to agree on a suitable definition of "deep packet inspection." I fail to see many reasonable paths to accomplishing that without simltaneously interfering with real network monitoring policies and best practices.

Personally I'm happy that the FCC acknowledged the complaint of DPI, but also acknowledged the tools to defend against it if need be. They are actually avoiding additional legislation, by refusing to limit DPI and therefore define it in law.

I do wonder if this acknowledgement of VPN/Tor, which must certainly be one of the first in the history of executive agency legislation, will simply be the first of many. I hope this tacit acknowledgement does not tumble into subtle discouragement in future legislation.
How to Handle Big Git Repositories
Relevant story with a reddit twist, except I believe drugs did actually exist. Cool story though if you haven't heard of it.

http://kernelmag.dailydot.com/issue-sections/headline-story/...
The Apple Watch – Will Stylish Men Wear It?
Key Considerations for Your Next Development Job
On React in Atom: https://discuss.atom.io/t/whats-the-status-of-react-in-atom/...

Do you have an update beyond this?
banned for everyone who aren't our friends, who give us money, and who write the laws we use.