skysight-inc/HackerNews huggingface dataset:
There's a name for that.

http://en.wikipedia.org/wiki/Granular_convection
I thought Hack was already released months ago?
In my opinion php is really bad designed, and if you google just "why php is bad designed" you can find a lot of discussions and blog posts about it, very well documented.

I can also tell you that there are a lot of really good php framework (laravel, yii, symphony, etc) that allow you to develop mvc sites very easily making php again fun and not a pain in the ass.

Personally I would never touch php code that is not in a form of mvc framework (also a personal one).

The advantage of other serverside languages like c#, ruby, python, javascript/node.js is that they are also widely used for other purposes and not only serverside, so when you learn them you also have the chance to explore other solution in more different areas.

Basically any of them is good for what you want to do, just choose one, stick with it for some time and learn it well.
I would love to hear more about what it took to wrestle Bundler to do what you guys needed and any insight into how Bundler's design could have been improved to make doing this easier.
PHP is a "crumbling foundation" in exactly the same way DOS, Windows, COBOL, and C and C++ were, are, "crumbling foundations". I don't see how you are disagreeing with me. You are proving the point.

You aren't actually going to claim that Windows was well-conceived and theoretically well-founded, are you? Windows has been a never ending refinement on exceptionally shaky ground.
There is a new responsive site which is going to be phased in soonish (no definite time frame though). It's much better performance-wise.
Fair enough - that's a good amendment.

My point is that no one will ever change the world with a bit of software. Software is not revolutionary. The processes it describes, and the people it influences, THOSE are what is revolutionary.

The printing press was NOT revolutionary. It enabled revolution, sure, but the tool or the tech itself was not the important part in the grand scheme.

Too much of what I see on this site focuses passion for the tech (which I am all for), mixed with blind ignorance for it's actual importance outside of the very narrow world that is Silicon Valley.
Chui Breaks Its Funding Goal
Chui, the world's most intelligent doorbell, has broken its funding goal with over 153 devices ordered in less than 2 weeks.

https://preorder.getchui.com
C# version N: C# version N-1 would be more awesome if it had...
I know, i went to look for info on "facebook hack" because we want to use it in work.

You can imagine what came up!
As much as I'm not a PHP fan these days, you are completely correct. In 2003, you had CFM (which MySpace actually used at first), Java (and probably some overly complex framework like Jakarta Struts to go with it), CGI, or the new ASP.net. For a college student to do a quick HTML doc with some code interspersed here and there, PHP sounds like the ONLY viable option that didn't have you spending money on licensing, or setting up some huge infrastructure.

I used PHP/MySQL too as it was just dead simple for most things.
Cassandra Hits One Million Writes Per Second on Google Compute Engine
And yet here you are posting on the internet about it.
thinkpad t, x or w series; macbook pro
This is already deployed in Europe, and the UK.
Don't break the bronco
I disagree. Perl would have likely crippled them, due primarily to the lack of Perl engineers.
Any idea why Hangouts won't work on Firefox?
This is, as everybody noticed - HORRIBLE advice. Imagine this: You mind your own business on - let's say a man-to-man datings site. You don't appear to have a problem with homosexuality, but MAYBE your wife or your employer does. Like this, when they put in your private, personal email address and the website basically tells them: "Yep, you got it, that guy has an accout here". This "meta data" is quite sensitive information, if you ask me, not only from a security point of view, but from a privacy one. Holy moly, don't follow this advice.
Gmail Traffic Between Google Servers Now Encrypted To Thwart NSA Snooping
> (3) a corresponding runtime for each

That's not really true, HPHP and HHVM share the runtime (mostly).
Can you rephrase your question about the ops perspective? Is there something in particular you want to know about?
Unless you have a good insight, you're probably not going to beat the market. I'm a big fan of Betterment:
https://www.betterment.com/

Make a financial goal, and Betterment will tell you the possible outcomes if you put X% in stocks and 100-X% in bonds. You select a risk level you feel comfortable with and it'll handle the rest for you. It's also like a bank account - you can deposit and withdraw at any time.

As the Wu-Tang Clan said, you need to diversify your bonds:
https://www.youtube.com/watch?v=1_rDtmT246s
A few months ago, "Martini" came out for "Go". I love the framework, but man, searching for stuff on Google was a PITA.
Are there any recommendations on low overhead blogging platforms? I've been looking for something that I can turn on and start writing without a lot of setup. In addition, something that has an easy interface that I can just focus on the writing.

I've looked at Medium and it looks pretty good. Any other recommendations?
The Facebook codebase is not exactly a small-to-medium project, so there is a fair bit of value in edit-and-reload.
Dart requires a major redo of everything. Kotlin is a nice evolution with an easy and soft transition.
Was wondering if the headline was misleading in mentioning 'uranium free'...

Incidentally India's 3-stage plan is meant to use its vast Thorium deposits in the 3rd stage:

http://en.wikipedia.org/wiki/India%27s_three-stage_nuclear_p...

which eventually uses Pu-239 from the fast-breeder reactors (2nd stage) as the neutron source to take it to the 3rd stage.

IIRC, the original plan predicted to reach the 3rd stage in the 90s', but due to various sanctions, it is still stuck in the first stage; probably it will speed up now due to the Indo-US nuclear deal during the 2nd term of the Bush administration.
Invest in Canadian paint pro.com or American paint pro.com as a licensed service provider
Did you raise issues with the glibc team and submit patches etc... before deciding to create your own project?
Aren't you assuming that the manufacturer needs to store an inventory of cars somewhere? If the manufacturer sells direct and the lead time is short enough there's little to no risk because there's little to no inventory.
I'd like to know this too. I can't find a way. Maybe I'll right a script to scrape it.
Mt. Gox finds 200,000 BTC in their old wallet (Japanese)
Nice to hear they're reacting to the revelations by Snowden. I guess the government will have a harder time eavesdropping mails at Google without them noticing.
I can't upvote this plan enough. Well done, Steli.

We're transitioning into stage 2 right now which has been an exciting ride, this is basically exactly the playbook we're running.

Our biggest challenge has been finding the right combination of hunger, fearlessness, & cunning people to bring on as the core of our sales team (if you're out there, shoot me an email, we'd love to meet you)
We've been using Pundit with great success in our organization. We use it along with a few other objects described below.

We have abilities, which is just a table full of strings like "modify users". The policy (from Pundit) looks these up to find whether an actor (user, typically) can do something to a model.

We have roles, which is just a user-definable collection of abilities, so you might define an 'admin' role that has every permission, and a 'reporter' role that has the ability to run reports and not much else.

We have permissions, which includes a role, a manager, and a manageable. The manager is the actor, or the thing asking to do something to another object; the managable is the object the actor is trying to act upon.

There is a "Managable" concern that gets included in any object that may be guarded by policies, and a "Manager" concern that gets added to any object that might be an actor. The Manager concern sets up the associations gives us methods like "#has_ability_on(ability, managable)", and "#has_ability)", which is useful for deciding whether to show gui widgets. These methods are how Pundit looks up the abilities one (manager) object has on another (managable) object.

This simple setup has allowed us to greatly simplify our application.
Personally, I think Microsoft or Amazon (mentioned as possibilities in the article) are good guesses. I can't think of many other tech companies large enough to want space for 8-10k employees that don't already have headquarters in the Bay Area. Maybe Salesforce has decided to move out of San Francisco?

Or maybe someone else on one of these lists?

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

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

http://en.wikipedia.org/wiki/List_of_largest_Internet_compan...
That's the plan (although RMS/FSF would also be happy with a less egregious copyright system; eg. like the early 14 year copyright system).

In the mean time, the copyleft is a clever hack which exploits the current copyright system to make it less biased against Free Software. If the copyright system goes, so does the bias, so there's no need for copyleft anymore.
I already had the experience of text appearing tiny after staring at the old grid version for another long playthrough. Now I have that, plus everything seeming overly blocky and stout, even things in the room around me. It's almost like a visual equivalent of getting tingling or pins and needles after not using a limb. I guess it's just another fun reminder that what we see is not the raw data from our retinal cells, but the adaptive interpretation that our visual cortex cobbles together.
Thankfully, no. Cost of living in Indiana is quite a bit lower.
It appears that the only thing more addictive than playing 2048 is writing a 2048 clone.
The project is moving so fast it warps time. Hard to believe it's only been a year. Big congrats to the team.
F#: Because C# needs something new to steal from.
Unfortunately, free markets aren't free if we let everyone burn down their neighbor's market stall. Without government, there is no free market.

Actually that's the very definition of a truly free market.

Good luck building your startup if your larger competition can get away with Mafia-like tactics.

Right, so, the argument there is that a true free market is not a good idea. So we put up rules and regulations that we think will be beneficial to society, but we don't change the definition of "free market" to "the market structure that we find sensible."

In other words, governmental control is a direct limitation to the amount of freedom in the market, but we think that's a good thing. It's to everyone's benefit to restrict one's freedom to sell rotting rat meat labeled as beef.
Just carry on learning it. Then when you get more experience in other languages you'll understand its short comings. But youll appreciate it for what it is.
just change you keyboard mapping to qwerty on your computer.
you can do this natively on mavericks with the cmd + space shortcut
I'm wondering if it's legal to obscure your license plate to prevent them from tracking you, similar to how people wear masks that look like your face is blurred out to prevent facial recognition?

I'm sure cops wouldn't like it if they happened to be behind you; in an ideal world it would be something you could control with a flip of a switch.

Edit: I worded this poorly - surely it's illegal, I was more wondering how much fun it would be to f with the man like that, but I forget that people these days lack the 'fuck with the man' gene that was so prevalent in the 60's. I think people need to take more LSD or something.
A license that you choose personally never prohibits you from doing anything, because you're the copyright holder, so you don't need a license at all. So choosing the GPL for your doesn't prohibit you from doing anything either. What it does is allow you to use someone else's GPL code, which the MIT doesn't.
Yep. So much weirdness here when they had a really good shot at "fixing" it.
They look like bid/ask offers.
Introducing StandDesk [video]
(I work on Hack at FB)

function f(int $x): float { ... }

For property and constant declarations, we chose to be consistent with the parameter typehint syntax (int $x) instead of the function return type annotation (float).

A nice effect of this decision is that this allows us to change:

class C {
private int $x = 20;
public function __construct(int $x,) {
$this->x = $x;
}
}

into the shorter and cleaner:

class C {
public function __construct(
private int $x = 20,
) {}
}
This is incredibly well done. Did you just download all the data and analyze it with some crazy R skills?
It seems like you're now arguing that PHP isn't a crumbling foundation -- a point that reasonable people could debate -- rather than that building atop crumbling foundations is by far the most successful ways to accomplish anything in computing, which was the claim I challenged.

Incidentally, my point about languages like C or operating systems like Windows was not that they are theoretically wonderful under the hood, merely that they provided a reliable foundation. C has been standardised for a long time and is widely portable. Code that was designed for early incarnations of Windows will often run with little modification even on today's systems because the essential underlying models and APIs have been diligently preserved over the years even as many other changes were going on around them.
Huh. Yeah, it just showed up for me one day and I continued ignoring it.
It is incredible that gmail even had HTTP enabled. It was an option in the gmail account settings. Honestly I am ashamed it took this long.

Their documentation stated that by default HTTPS was enabled, but this wasn't the case for me. Mine was set to HTTP and all my emails were disclosed whenever I accessed them from firefox (which I guess doesn't have the pins for auto https in gmail like I'm assuming chrome does).
Yes - you're absolutely right. We perhaps could have made this trade-off more explicit.

We didn't want the Policy object to know about the redirect paths, so we opted to cut down the number of responses available - we simply redirect_to :back by default, but this can be configured in the controller.
Sendhub.
I built an ad engine base on probability. But I am not sure which way is better.
I wish there were something that you could be charged with. If someone is charged with something that's society's verdict that something pushes the boundaries of what's acceptable and a judge needs to look at it. Seriously, following around a random human all day, what does that do for him except push boundaries?

Also: collecting data on a human by a human does not scale. Large-scale automated data collection on the other hand takes on a wholly different character. Let's say someone became your political adversary fifteen years from now and you don't know it today because he is in college. You needed to dig up dirt on him, and you find out that while in college he was a prolific consumer of "My Little Pony" porn. Automation makes such a scenario possible. Without it you would have to send staffers through archives, and that's only worth it for the biggest targets.
With Async functions I'm not sure if the documentation is lacking or I'm just slightly thick, I believe the later.

(I'm not a php developer so excuse my ignorance)

It seems you only have 1 method 'await', to check if the async function has completed its job (it self, if I'm understanding is a blocking operation in which ever thread/worker its called).

So is there a way to run something more similar to

$i = 1;
while(doingSomeThing)
{
$b = "";
if(completed gen_foo())
{
$b += await gen_foo();
do_critical_task($b);
}
else
{
do_something(do_item[i]);
}
$i++;
}

Because as I see it now, what ever I run asynchronously I.E.:

gen_foo(get_user_data); //async
$x = do_something_for_a_while(); //do something while gen foo processes
do_new_thing($x, await gen_foo()); //do something with rendezvous result

I'm forced to time out my async calls so that they'll rendezvous in the same place won't I?

Again if I'm completely off the mark please let me know.
Some departments treat that as a presumption that you stole the car you're driving, so there is a chance that you will be greeted by the business end of a twitchy officer's Glock.
I would think they need to sort out the lingering legal issues. You don't want to get into the area of "I raised money from public investors to run an illegal business". That's a jail time kind of offense. I'm not saying airbnb is illegal, but if the US courts turned on them I imagine it might get scary for the board and execs.
Tumblr. While a good majority of Tumblr blogs are teens or pre-teens, the simple setup and vast array of customization makes it worthwhile.
It's outrageous - no way is AirBnB "worth" more than Hyatt hotels!!!

"At $10bn, Airbnb would be one of the world’s most valuable startups and worth more than than Hyatt Hotels ($8.3bn) or Wyndham Worldwide ($9.4bn)."

http://www.theguardian.com/technology/2014/mar/20/airbnb-fun...
I have my own empirical evidence as an user: a lot of software I use is slow or uses too much memory, or has memory leaks. As a programmer, I keep wondering if those could have been averted if the programmers working on that code would have used better/more efficient algorithms, instead of just going with the simplest solution.
I've been waiting for a Chromebook with good build quality, nice screen and decent internals (that doesn't cost $1300!), and it looks like the 13" Chromebook 2 will have all of those. The timing will also be perfect, considering XPs EOL.
Somewhat unrelated, but curious: Does anyone know if Facebook still uses MySQL heavily?
Any update on when MMS is coming?
I'll pay for it for personal use when that gets implemented.
Can someone please test this with me.
http://instapainting.com/2x2048/index.html#a2sfouwg03aw0zfr

Edit: Humn, now just says "blue's turn". I can't do anything...
Thanks to everyone who downvoted without expressing your opinion. It's great to have a discussion with you!
I don't know if you are praising Luckey or calling him just a figurehead. Don't underestimate his intelligence, he is a really smart guy.
Clojure: Lisp could use more [] and {}
Right. Sorry. Its type system is actually more complicated than HM, and suffers the same problem of undecipherable error messages.
The Powerful Promise of a Puzzling New Microscopic Combustion Engine
Yes, pieces of Hack will feel similar to other languages.

bos said in another thread: "Yep, we're happy to be inspired by good ideas when they're obviously the right path to walk."
I've been using "Hello" and it's quite nice as a basic / super-simple SMS app. Very minimalist, though.
If there is a version that needs swipe compatibility, this is it because playing with the keyboard is painful.
Thanks! The data was released in a big zip file with a mix of malicious content (malware that stole your btc, personal data on MtGox CEO Mark Karpeles). Trade data was in monthly csvs, and also included some duplicate data which we removed.

Analysis happened in sqlite, python/pandas, csvkit; charts were built in d3.js and exported with phantom.js
Clojure: If ()'s is good, let's add []'s and {}'s.
Encryption is irrelevant when one party will give out the info for a price.
>I don't have to take a photo, give social security, or scan a hand print when I exchange foreign currency with a money transmitter...

1. FinCEN has declared that a Bitcoin exchange (such as this ATM) is not subject to the same laws as foreign exchanges, but rather is a money transmitter, and thus subject to much stricter regulation (such as identification required starting at $0 instead of $1000).

2. When was the last time you exchanged foreign money in the U.S.? When I last exchanged foreign currency in the U.S. (in the past few years), I needed to provide a photo ID and my social security no. I believe this is strictly required only when you exchange over $1000, but many exchanges require them for all transactions.

3. Note that when you provide a photo ID, the end result is the same as if they had taken a photograph on the spot (your photo is copied and filed).
Free version is 7 minutes, but in-app purchase eliminates 3 of those minutes?
Here is the real secret: Become a domain expert.

You aren't going to disrupt SAP by building a better data organizer/dashboard. But if you truly understand the complexities of the domain processes you can build a product that has real competitive advantages that you can directly tie to actual ROI.

Secret number two: Look at smaller and more international markets.

Maybe you can't disrupt the help desk industry in the US but maybe you could in Brazil or India. The enterprise software market is starting to get more interest but in the next 20 years it will quite literally run the world. The biggest opportunities won't come from disrupting incumbents, instead they will come from empowering smaller markets to compete at a global scale.

Secret three: Become the connector not the producer.

Does Zapier want to be the next big enterprise software player? Probably. Does easypost want to eventually create APIs for every logistics process? They better be. Embrace the APIzation of everything and look for places were all that's needed is some glue and oil instead of trying to rebuild the entire machine.
> Now call out to the students who are sitting near where you hid the envelope: “Um, uh, what’s that over there . . . is it an envelope??? Really? What’s inside? Could you open it up?” A student opens it and reads out what’s written on the sheet inside: “Your guesses are all too high!”

Maybe it's because I recently did some reading about magicians, but if I were one of the students I would be thinking that he could have any number of hidden envelopes with different predictions, and he just chose the one that ended up being correct. Of course, I'm deliberately missing the point of the story.
Why do I see scrollbars on the example chokeboards for videos that take up the entire container? area1 class has overflow-y:scroll. Maybe this should be removed from there and moved to text-block or video-block depending on what makes sense. Unless you do want the gutter between containers. But there are better ways to put gutters between containers.
Plus, its not really that much fun.
I reported directly to Cory for a spell when I worked at Facebook. His management skills and guidance made a big impression on my newly-started career and he was undoubtedly one of the most talented managers I reported to at the company. Right now I'm working at a 10-person company and a few of his points really stood out to me:

> Describe culture in ways that make people think and debate rather than universally agree.

Very subtle and probably pretty important. Facebook's cultural values were constantly under debate and if nothing else it made every employee consider them.

> We gathered together for end-of-week whiteboard sessions where we listed our most critical open tasks.

This is a neat idea. We do high-level daily syncs here, but this might be a neat way to help build accountability and inspire more collaboration on tasks.