skysight-inc/HackerNews huggingface dataset:
Be proud. You're part of the new wave
Lua IDE "Decoda" open sourced
The main problem here is it isn't communicated effectively to users.
I think there is probably a finite number, and one that is calculable if you have the right data. My totally ignorant speculation is that it's a small percentage.
> little-old-lady-molesting budget

How about a bit of maturity ?

The TSA performs a legitimate role that is required by EVERY SINGLE COUNTRY. Yes. Every country has a TSA. The difference is in the aggressiveness of their searches. So how about instead of this "abandon the TSA and let every gun toting idiot board the plane" why not focus on the specific policies.
I recently moved to the U.S from Israel. If there's a country that knows about Airport security, it's Israel, for obvious reasons.

Let me tell you this - most of the security procedures in U.S airports are pointless and ridicules. Taking off your shoes and your belt. Holding your hands in front of a screen. Pat downs. We have the technology to avoid this (and have had it for the past 20+ years). If you've been to Israel, you know it's a completely different procedure, and I can guarantee you it's way more secure. They focus more on behavior profiling through multiple inspection points and with a series of questions they ask you AS YOU WAIT IN LINE for checking in your luggage. No fuss, no body strip checks, no taking off pieces of clothing. X-ray screening is done by simply walking through the machine, while your baggage passes a different machine.

Airport security in the U.S feels like the result of bureaucracy and procedure for the sake of appearance.

EDIT: clarified what I meant by profiling.
Twitter, American Express Partner For Hashtag Purchases
I liked the post and the general message, but the 'Avoid Xcode' part is rubbish.

You shouldn't make such assumptions when you don't fully know how to use a tool, specially when you have such large audience.
Not to call out your comment specifically but I've always been curious why when people advocate against government spending on one thing they always feel the need to say it would have been better spent on something else as apposed to just not spending it at all. The general argument seems esp. perverse in light of the fact that the US Government is so far in the hole in terms of both total debt and yearly deficit.
> Is the network really "slower by orders of magnitude" than disk?

Congrats on asking this question, because it's a window into a foundational fact of life in computer programming and technology:

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

You can feel good about gaining important knowledge. (Advanced exercise: extrapolate from the implications of not having known one piece of fundamental knowledge, then take action.)
That was the plan - about four years ago before PHP6 went defunct. Whilst APC works well (I use it currently everywhere in production) - having a solution baked into the core can only be a good thing

For one, the cache will now finally keep inline with the PHP version itself, unlike APC which historically has been behind PHP releases themselves by several months at times.

Keen to get some time to compile this and swap out APC for Optimizer+ on some production boxes.
Checking nil after assigning variables is not helpful for the reason you mentioned earlier: If you check for it and it is nil where it shouldn't be -- you're merely converting one runtime error (null exception) to another (different exception).

If however you use types to distinguish whether it can be nil or not, you simply eliminate the error completely at compile-time.

Glad you're checking it out!

I don't know Scala, I'm a Haskeller myself, but I believe it does get nulls more correctly. It might have bad old null in there too though because of Java interop.
XCode is all command-line based too.

https://developer.apple.com/library/mac/#documentation/Darwi...
These personal details could then be used to access the users' bank
details. That's also more than enough information to be able to access
your other devices which could also be mined for more data - insurance
information, other credit cards - which could then be used to access
your banking credentials.

Do developers have access to users' bank details? How would anyone access 'other devices' with just a name, address and email? This seems a little far-fetched.
> My kids are growing up in a bubble that I did not grow up in. There's something about this bubble that slaps erroneous labels on problems. Some of the problems aren't even problems.

That's how you see it. They don't have to, and probably won't, see things the same way. Some of their problems might not be problems to you.

> But before I can do that, I have to teach them how to walk away, because their natural inclination seems to be to engage.

Let them engage! Let them both observe and be heard. They are very capable of coming to a conclusion. Your only role should be to ensure that they are heard, visible, and safe. Why would you first teach them to walk away? Why teach them that this form of engagement is negative? Inaction is valid, true, but we should not be afraid to act or suggest that some forms of aggression or anger are invalid.

> Reducing what I was trying to express to "ignore them and they will go away" has put the ball in the bleachers.

I got this message from this statement you made:

> Rather I think of it as not letting other people's drama own any part of me. And that is what I think when anyone complains of anything, be it gender bias or racial bias or religious/political disagreement: nothing can own you unless you let it.

Seems like a valid conclusion to make on my part. Be made out of rubber as though you can just brush off all forms of oppression. But, regardless of being made of rubber, an anchor tied to the waist can still sink you, perhaps regardless of what you do. It requires a collective change to reverse... something I believe your children can inspire.

> We can't go through life saying, "I'm not welcome here because of attributes that are beyond my control."

I wonder, in hesitation, just which attributes you speak of. Regardless, maybe... just maybe... they are within our collective control. The more these types of articles come out, regardless of your feelings that they be suppressed due to their negativity, the more positive discussions like ours will play out in front of your children's generation.
Of those people who were in the company directory, none of their specialities seem to point overwhelmingly to this being mostly about hardware. There are some incredibly talented people from a range of fields.
On the denormalization front, is it possible to do transactions without locking / syncing the entire tree. I'm thinking friendship modeling like:

user1.friends = ['user2']
user2.friends = ['user1']
Thanks a lot for this article.

Were you already using http cache of 1 year for all the images when this happened? Do you think it could have been avoided by setting it to 1 week, 1 day, or even 1 hour?

It's funny that I have to ask this to you instead of asking Cloudflare. They have really messed up on this one.
This is one time when, even for an anti-hierarchical company, you can't afford to be a democracy. You need a strong leader to communicate the layoff, the reasoning, and the strategic ramifications going forward.

Another element to the art of layoffs is that you get about one shot every 5 years. One large cut can be painful, but it's not damaging to morale if it's well-justified by business or economic concerns. If you do a series of small cuts, that's when you get people paranoid and the alliances and intrigues start to form.

So, I think the best way to do a layoff in a Valve-style corporation is this:

(1) Fair severance, including career support (positive reference, right to represent self as employed). People will find out what kinds of packages people are getting.

(2) CEO communicates the decision to the whole company and takes full responsibility. No mystical "calibration scores" or HR indirections. He gets up and says, "This is what I did, and here's why I had to do it." I'm not talking about traditional hierarchy, but "buck stops here" leadership. That's needed when layoffs are happening.

(3) Unless the people actually are being fired, explain that it is a layoff and that the people will be eligible to re-apply when you start hiring. (Most won't come back, but this lets the rest of the team feel better about the whole thing.)

(4) Err on the side of a larger layoff, because a series of small cuts is more damaging.

(5) Impose a hiring freeze externally, but keep internal mobility as it is. Many companies impose internal hiring freezes during layoffs and that's actually more damaging.

ETA

(6) Make it very clear that these aren't performance-based firings. The worst is when a company tries to depict a layoff as performance-based. Layoffs are understandable, but trying to depict one as a performance-based firing is being a dick.
Yes, that's true, but for apps with significant memory footprint I don't think it's a huge help. Heroku dynos have 512mb ram (https://devcenter.heroku.com/articles/dynos), so for an app that has a 200mb footprint you're looking at probably 2 worker processes. I'd still prefer for an idle dyno to handle a new incoming request, rather than remaining idle while an in-use dyno attempts to service two requests.
> The TSA is there to make people feel secure, not to be secure.

Security theatre is part of it but they do make planes more secure.

I (and the majority of people) don't want people bringing pocket knives, guns, samurai swords, lighters or whatever other crazy thing people feel they "have a right" to bring. Because when disagreements happen we don't need people escalating situations into life/death scenarios that require planes to make unscheduled and riskier landings.
OS X does that. A problem: it's currently set up so that 8GB is not quite enough. It would be better for it to be just a bit less agressive in caching and have much lower "swappiness." Right now, it's as though it's set up to be responsive to a wide variety causal use-cases, but far from optimal for users doing really memory intensive work on just a few apps.
Indeed-- this is fairly trivial to do, though as noted, illegal.
That's a programmer-centric view of matters.

I want software that works so well that I don't feel the need to worry about how "restrictive" it might be. If I want more power, I'll pull out my laptop.

This quote from Steve Jobs is relevant:

"We’re getting to the point where everything’s a computer
in a different form factor. So what, right? So what if
it’s built with a computer inside it -- it doesn’t matter.
[What matters is,] what *is* it, how do you use it?"
I can't get over how radically expensive their bandwidth is.

1tb for $2,000? Wow, breathtaking bandwidth costs. That's at least ten times higher than I would have expected.

It makes Firebase completely unusable for any service that needs scale, unless you've got more money than you know what to do with of course.
This is not entirely true. Even if you factor in the plethora of taxes Brazilians businesses and customers are "enslaved" to pay, it still should not be this abusive. In Brazil, people consider imported products (specially Apple's stuff in the electronics category) to be something of super high status, so they are willing to pay for an Apple product in 12 installments with their credit cards, money they know they shouldn't spend. Suppliers and importers are extremely aware of this Brazilian mentality and exploit it to its maximum potential. This happens across all kinds of products: all types of electronics, clothing, cars, MacDonald's, you name it. I'm not even taking price-fixing (which happens in Brazil's car industry for example) into account. A new Honda Civic in Brazil costs around $35000 USD, while the minimum wage is around $320 USD/month. Talk about inequality...
This is something that I have been struggling with the past long while. Very troublesome when a dyno cycles itself (like they always will at least every 24 hours), as the routing layer continues to send it requests, resulting in router level "Request Timeouts" if it takes too long to restart.

Especially difficult to diagnose when the queue and wait time in your logs are 0. What is the point of these in the logs if it never waits or queues?
I always thought this koan summed up this concept best: http://stackoverflow.com/a/501053/580947
That's not correct. APC under PHP-FPM will used a shared opcode cache between PHP child workers, maybe that wasn't the case in the past - but it's been the behaviour I have seen since PHP 5.2 at least. In any case, Optimizer+ is PHP-FPM aware.
If they can reduce user intervention for maintenance to near zero, that's a lot of value right there.
For anyone interested in this sort of stuff, The Spirit Molecule was a great read. http://www.amazon.com/DMT-Molecule-Revolutionary-Near-Death-...
A sad day indeed - What are the implications for the open allocation philosophy?
I'm not here to moralize. In at least some cases, he clearly copied and pasted and then did some minor edits. I don't see how that could have happened accidentally, and therefore I don't think it's unreasonable to ask how having a set of rules is going to help (given that, obviously, it will typically require a certain amount of diligence to follow any set of rules). I'm not saying that it won't help, but if it will, it would certainly be instructive to understand exactly how.
So basically, a sweatshop?
We ran into this exact same problem at Impact Dialing. When we hit scale, we optimized the crap out of our app; our New Relic stats looked insanely fast, but Twilio logs told us that we were taking over 15 seconds to respond to many of their callbacks. After spending a few weeks working with Heroku support (and paying for a dedicated support engineer), we moved to raw AWS and our performance problems disappeared. I want to love Heroku, but it doesn't scale for Rails apps.
It has software features and capabilities that are not available on a Samsung Galaxy smartphone or Apple iPhone. The software is really powerful and it pulls together Google services like no other manufacturer has done in the past

If it is software that makes this phone special, why couldn't it be duplicated on another Android phone? Unless I'm missing something, the hardware shouldn't make much of a difference if the goal is to tie together Google services in a unique way.

EDIT: one thing that came to mind would be a physical +1 button that could be used to +1 anything, from a picture in your gallery, to a web page you're viewing, to a restaurant where you're currently located.
Ackermann function in 128 languages
I Was a Political Prisoner at Birth in North Korea
Fair use has their limits. Commercial use is commonly not covered.
I'm really enjoying my Pebble as well. Screening text/calls on my wrist is a lot nicer than I thought it with be. I'm excited to see what kind of apps the developer community is going to come up with now that they have Pebble's in hand.
I went halfway through signing up for an ACM account once. I believe I never agreed to the final conditions or anything. They send me e-mails every once in a while about how they "noticed" I didn't finish signing up.
So, what's the large decision?

I'm betting on close work with Sony on the PS4. Valve has been hostile to MS for quite a while, and friendly to Sony. This would include further Steam integration with Playstation consoles, which started with Portal 2.

This change would exclude hardware people, as Sony/AMD are doing that portion of the design, explaining that area of layoffs.

No inside information here, just trying to read the tea leaves, as Sony's PS4 announcement will be on the 20th.
Physics Lecture Demonstration Manual
Firing by group consensus is, I agree, not tenable. This is one point in time where the CEO needs to step up and take a "buck stops here" attitude.

There are generally 3 types of job loss:

1. People who are unethical or obviously toxic. Here, management can step in and fire the person without much blowback. If someone steals, or is a direct threat to your culture (e.g. he starts playing politics and trying to set himself up as the executive empire-builder you don't want) then it's not very controversial.

2. Good employees who run afoul of political nonsense or parochial managerial politics. This is what companies like Valve are trying to avoid, because it poisons the culture.

3. Layoffs for economic reasons.

I assume this is a case of #3. The CEO needs to explain what happened, why it happened, take responsibility for the decision, and assure people that the company will be better after the change than before.
Having a developer calculate tax seems odd. Does this mean every single developer who puts a paid app on android store needs to figure out the intricacies of digital download tax for every single state / country? Sure big companies can hire someone to do it but that seems excessive for an individual developer.
ITunes Error Reference List
Yep, I've been there. Then there's also the point when you realize the "gaps" are not gaps, but rather, what things are. Kinda like focusing on negative space. Then, there's the realization that the experiences (thoughts, emotions, sensations) arise and pass, begin and end all on their own. And that nowhere in there is any sense of self. So there is no sleeping or anything. Just ... here.

Now, I've been trying all of that off the cushion. Mindful standing. Mindful walking. Mindful martial arts. Mindful coding. Mindfully listening to other people. With varying levels of success :-)
Jeez I thought our tax system was broken. This must happen all the time.

Thankfully Australia's taxation is handled federally.
Actually no I think $9/month is appropriate. A heroku dyno is about $35 a month, and you have a full on solid highly supported service. Here you pay $9/month + server fees which say with the micro instances comes out to about $14 bucks a month. So by doing it on my own EC2 with this service a small instance comes out to about $24.

Only thing is though, here you have the option of choosing a larger instance type and by percentage the charge may be to low. To combat that I suggest a more tiered pricing.
Starwood Hotels has filed for trademark on "BNB"
This movie looks like it will be far funnier than it deserves to be.
Yes, this happens a lot. This is also why the US opened a lot of new consulates in Brazil to keep up with the tourist visa demand.
I think that's an issue of moving from Objective-C (and pure C), to what is normally a dynamic language.

Using nil as a final argument (also called the 'sentinel') is fine for C to mark the end of a variable length array like it expects with 'strings' (so it doesn't stretch into the next unrelated block of memory), but you'd expect Ruby to handle that for you. Because in any other circumstance, it does.
Yeah, been there and done that.

Me: "I didn't live in your state or earn a dime in your state the year you're claiming I owe you thousands of dollars in tax. Shouldn't you have a shred of evidence that I owe you money before you send out a bill? Why should I have to waste my time proving that I don't owe you money, instead of the other way around?"

Minion at the California Franchise Tax Board: "That's just not how it works, sir."

Happened again when I moved from New York to New Jersey, and I fully expect it'll happen again this year, since I moved from New Jersey to Texas.

And people wonder why I moved to Texas.
Yes, as soon as the TSA begins loosening its procedures like other countries(using your example), gun toting idiots will come out of the woodwork to board flights. Obviously this is what happens in every other country. The current TSA procedures are the only thing stopping the hoards of gun toting idiots attempting to board planes.
I didn't immediately see a "fork" option (am I missing it?) - but I hope they add that feature. I think this has a ton of cool potential.

Open source design could be massive. There are already tons of places where designers give away assets to the community - fonts, PSD templates, logo templates, etc. But they all have the limitation of being done by a single designer. I think - despite the fears of "design by committee" that some might have - there could be some great stuff that comes out of collaborating in this way.
Insert Gists without JavaScript
> Why own a smartphone, then?
> Why pay $700 for stuff you won't even use?

I use it for calls, music, podcasts, mapping, email, browsing the web, calendars, messaging, weather, banking, and occasional light gaming. My smartphone is an utterly indispensable part of daily life.

But I still don't view my phone as a computer.
(edit: This comment's first paragraph is wrong, as pointed out in the reply below; in fact, this functionality is not in WebKit, it is in WebCore. However, it is still closed source, and it is not available on the website that was linked to: you cannot find the source code for anything that makes WebKit on iOS work on iOS, as it is all closed. The point stands.)

WebCore != WebKit. You were saying that WebKit was open source and forkable: no, WebKit isn't. There is a library used by WebKit called WebCore that is, but WebCore doesn't provide most of the juicy iOS functionality; Apple actually seems to actively avoid touching WebCore, lest their lives become more difficult due to it being under LGPL.

The reason, then, that I brought up WebCore was as a demonstration that even for things where Apple must release at least some source code (as WebCore is under LGPL), they still weasel around it: WebKit, which is under BSD, has no such protection, and you will note that there is simply nothing available for it on iOS at all.

(Trust me: I routinely download all of opensource.apple.com, to find not just new packages but redactions, and have scripts to reconstruct git repositories out of the various tarballs for key projects, which I then export for others in our community to more easily be able to work off of; you forward me there as if I haven't heard of it... ;P.)
Scout Can Wirelessly Protect Your Groovy, Wood-Panelled Bachelor Pad
Returning 0 makes perfect sense. parseInt matches an integer from the beginning of the string, so it reads the 0 and then stops at the 8 because 8 is not a valid digit in base 8.

>>> parseInt("123foobar", 10)
123
The author has since added a MIT license to the repository. Yea!
There are many complicated licensing relationships in this ecosystem.. do you mean a particular ToS? a college's license with Elsevier/JSTOR/IEEE? a scholar's use of library resources, presumably governed by some honor code or something setup by a university? or something else?
The most disturbing thing about this article is this fact:

"But in a recent poll, one-third of Americans said they would be in favor of cavity searches to board a plane. No, you didn’t read that wrong. Cavity searches."

What the hell, people?
You know what's really sad? Installing a virus checker on your phone.
Note economic stimulus resultant from the space race. Compare with the money being spent that actually ends up slowing economic activity.
If you consider Crashlytics to be a valuable service that is a step above others, I'm curious to know why you sold it as a data spy play to Twitter? Doesn't that kind of compromise the integrity of your vision? Or was it not clear to you what Twitter was going to do with it before the acquisition?
>And yet when they tore down an iPhone with its glued battery, nary a mention was mentioned of the inconvenience..

A huge stink was made with the Retina Macbook Pros

http://www.wired.com/gadgetlab/2012/06/opinion-apple-retina-...

http://www.reddit.com/r/IAmA/comments/v2h57/im_the_ifixit_gu...

Also, on HN
http://news.ycombinator.com/item?id=4115942
That's a horrible criteria. Maybe you have a really talented employee who just happens to be working on a doomed product. The right thing to do is to move that employee to a more viable project, not to fire them just because they're working on a dead project.
Introducing Made by Made on HN
Introducing new metadata for Tweets