skysight-inc/HackerNews huggingface dataset:
Macros here would make the problem worse. The problem is not notation, it's the call to glBindTexture.

It has 1) inescapable measurable performance overhead and 2) affects state that changes the rendering output.

So if you macro it, you're forcing yourself to calling glBindTexture even in the cases where that wasn't necessary. (say, if you had just called glBindTexture and knew that the right texture was bound anyway). And, in addition, you have to remember to store the previous state of the bound texture in case someone down the execution path wants to use that value. Macroing things which change global state is, in general, a terrible idea.

If you don't macro it, your code has to remember whether the right texture has been bound, and design around that. It can be done for sufficiently simple cases, but the general solution also has performance overhead (checking a local variable before calling glBindTexture will get you into branch misprediction problems)

You can imagine complicated solutions like state batching: writing a better, retained-mode domain-specific language atop OpenGL which will analyze the sequences of your calls before making it, and then remove all the unnecessary glBindTexture, etc. calls. But it's a major pain in the ass that simply shouldn't exist.
吉他谱
CLOP [a coded game that sucks to play] it's fun
I appreciate the insight in the OP, but I'm frustrated by the imprecise use of language. Valve is hierarchical. The hierarchy is simply informal and spontaneous based on the attributes of individual team members. (The OP hints at the distinction with the occasional modification "authoritarian hierarchy", but this line is often blurred.) In addition, the notion that Valve is "bossless" is disingenuous. For every person at Valve, there is some other person (or persons) who can fire him. If you worked at Valve, that person could in principle tell you what to do. That he doesn't have to is a product of the kind of people who work at Valve, not any radical innovation in corporate structure. Although its organization may be relatively flat, Valve is strictly hierarchical by any sensible definition of the term.

Valve's model reminds me of the old Costco vs. Walmart debates. Costco, we are told, get lots more productivity out of its workers by treating them well—good pay, generous benefits, etc.—while Walmart suffers by comparison. What this analysis ignores is that the people are different. Costco has discovered that it can thrive by compensating disciplined, productive people well. Google does the same. Apparently so does Valve. But not all people have such discipline or high productive capacity—you couldn't just swap all Costco employees for the same number of Walmart employees and expect to get the same results, any more than you could with Google or Valve. The miracle of Walmart (or one of them, at least) is that they manage to thrive using the labor of people whose productivity is often marginal by the standards of Costco or Valve. Arguably, that is even more impressive, and perhaps more laudable. Unsurprisingly, Walmart's corporate structure is very un-Valve-like.
> First of all, there aren't really any decent solutions for the problem in Ruby.

Even ignoring other frameworks, Rails has supported streaming through various APIs since at least the 2.x days.

In Rails 2, you would pass a Proc to the render method giving direct access to the response.

Rails 3 changed the API to any Enumerable assigned to self.response_body, as described in the article.

Rails 4 gets yet another API. It may be arguably cleaner, but the end functionality remains the same as it has always been.
Of the three companies I've worked for, the most actually agile one was the one that placed the least emphasis on being "agile" when they were recruiting.
Ask HN: Is it better to build out your own back-end or use an online service?
I'm doing some research and curious about the differences time wise and money wise. Anyone have advice?
I do my share of the domestic chores, I don't even mind changing the diapers or feeding my son. However, what I hate is walking around holding him up on my shoulder for hours on end while he is crying.

Unfortunately, I think I let the wife "shoulder" the burden in that case - though I don't pretend incompetence, I just work it out with her in discussions that I'd prefer her to do that and I'll make it up in other ways.

FWIW, I probably do a bit more than half of the housework, I always cook, almost always do dishes (she does them a couple times a month), do all of the yard work/trash, etc and she sweeps, does laundry and cleans the bathrooms. We split everything else.
I didn't know the concept had a name. Awesome, thanks.
The parallels to Unix are strong enough that having an actual pipe operator can be very useful. I frequently write code that looks something like this:

List.map data ~f:(fun elem -> ...)
|! List.find ~f:( ... )
|! Option.map ~f:( ... )

(This is OCaml, not Haskell, but the syntax is similar.) The definition of the '|!' operator is quite simple:

let (|!) x f = f x
No, software is not infinitely scalable, and adding a new developer won't immediately increase productivity. The general solution to concerns about delivering in time is to scale back the scope of the project. Doing so at the beginning rather than at the end helps morale, coordination with partners, and decreases stress.

Time is generally fixed to some extent. (I've never worked on a project where delivering significantly late didn't have economical disincentives. Even if Project A is worth 20 million now or 20 million six months late, money is always more valuable now than later.) Scope rarely is fixed. However, having a defined scope allows other partners to do cool things on the assumption that a given feature will be developed.

Managers can do some things that impact development time and project success. Simply knowing which features will provide the most value is a difficult problem in itself- and if team A and B don't agree, can lead to issues. Organizing a project's development time to work around code dependencies is also non-trivial with a large number of people working on a large code base.

Agile is great for small projects without large amounts of cooperation with other development teams or companies. The more people involved, and the more different groups you need to coordinate with, the value of planning, estimating, and not constantly changing requirements increases.
Since an android app has to demand all possible permissions pre-installation (feel free to correct me here if I'm mistaken), then how else can one provide versions of said app that don't ask for the permissions that make some uncomfortable?

The Android guys even have videos that touch on this:
http://www.youtube.com/watch?v=WDDgoxvQsrQ

And that's just one non-spammy reason for multiple versions. More sweaty Steve Ballmer and less Bill Lundburgh please...
We're still testing, but on CloudFlare.com we've seen a 8-12% decrease in overall page load times for HTTPS connections. That's in-line or slightly better than what we've seen testing Google sites. CloudFlare.com may benefit more than the average site because we use a relatively high number of objects and pull virtually all content from our own domain. Sites that don't have as many objects or pull from several third-party domains are less likely to see as much of a speed up.
440 Million of that is for SpaceX. I know HN loves to hear about them so I thought I'd point that out. ;)

If I am not terribly mistaken, this is more money than they have received either from NASA or Elon so far. Pretty significant.
I'm gonna hazard a guess that SpaceX will have a reusable Falcon 9 test by the time Orion is ready for a real mission.
新开超变态传奇世界
One of the reasons I think we don't have a clear understanding of methodology effectiveness is that there's too many other variables. For example you could take the same team, completing the same project and have them work under different methodologies in order to see which one was the fastest, best quality, etc. but even that isn't possible since the team would be better the second time around. Also what works for one team may not work for another due to personalities, work culture, etc. different projects may be better suited to a different approach. We tend to want to find the one true methodology, but I don't think it exists.

I tend to think that just using any methodology at all will tend to give better results because it means the team is at least attempting to manage the process. It usually means that at least somebody on the team cares about keeping some kind of organization. Even if it's a loose version of a methodology. Having no methodology at all can work too, but tends to rely on heroics and can be more stressful for everyone - especially the other people in the company who need to plan their work around the development schedule.
1How  to install Android Apps Without the Google Play
I don't necessarily expect to be asked for my opinion on policy, but I'd at least like to know what problem the policy is solving.
That $15k in student loan debt is higher than the average loan debt at graduation at many high-priced private universities. Harvard, Yale, Princeton, Caltech all average $10k or under, and MIT and Stanford average under $15k.

The averages are the averages of those who borrowed, which for most of those schools is about 50% of the students (about 25% at Princeton), so half the students at these high-priced private schools are graduating without any debt.

These are 2010 numbers. The numbers are probably lower now at some of them. Stanford, for instance, waives tuition completely for students whose families make under $100k.

By all means consider affordability when choosing a school--but don't assume that you can't easily afford a high-priced private university just because the sticker price is in the stratosphere.
Private schools in the UK get a fair bit of flexibility in what they do, some (I believe) will even start doing separate physics/chemistry/biology before CE.

But state schools... well I've honestly no idea, the last time I was attending one was when I was 7. But I would never presume to guess what they do based on my experience of what private schools do - they're far too different.
As someone with vision impairment, this is what your site looks like to me: (level of detail is approximate)

http://i.imgur.com/w2iNd.png

But when I try to enlarge the fonts, it doesn't look any better.

http://i.imgur.com/WQYPB.png

Can we, as a community, please stop using px units in our CSS? I can't help but chuckle when opening a site in elinks in a terminal makes it look far better than it does in my browser.
I think good designers these days are used to HTML/CSS/JS - designing in Photoshop alone these days just doesn't cut it. This is why Pixate is so interesting.
>For the perplexed: Node isn't a web framework.

For the perplexed: it doesn't matter.

Take it to mean "Node+whatever" vs Rails. Or even "raw Node + totally custom js framework on top" vs Rails.
> I mean, who doesn't know who that lady on the umbrella, flying out of the sky is (for example)?

I actually wonder how many people under 20 know this.
That's a new policy, it was more when I did it. It was summer 2011 but I can't find an email reciept so I'm not completely sure. I believe it was between $2-$5 at the time.

An expensive typo for sure.
So these changes won't be available in the free version of Phusion Passenger 4?
Which is really as it should be. /usr/bin is typically considered to be the property of the OS.
Now have I have a long email to parse AND a policy change sigh.

More seriously, I doesn't seem to me that the author demonstrated how one such policy change can kill "company culture". At best he showed the way he personally likes it done, at worst he's trolling us by presenting a solution to a problem that doesn't really exist and now everyone comments on how they agree/disagree/have a better solution. The fact that a policy change is needed or not isn't even discussed.
Agree that best tool for the job is important, and that node.js may be the right tool if your app is very realtime-focused. But no need to go node.js if all you need is a progress indicator.

I think the modern web stack does need an easy way to do realtime communication, and as a casual Rails engineer since pre 1.0, I'm happy to see this get support out of the box.
Are SaaS companies really data-driven?
Downvoted you by accident! Sorry!
On the Appropriate Design of a Functional GUI Library for Clojure
Brave New World—Ramifications of 3D printing
Securing OAuth2-Enabled, Multi-Tenant Applications with Spring Security
Failed company, successful pitch deck
I think the first time I've seen someone make that connection was when I watched the Haskell presentation @ GoogleTechTalks.
The condescending explanation of JavaScript to Carmack is odd, as if Carmack doesn't know about it or have experience with other scripting languages (including ones he's written), or that he doesn't understand the advantage of writing fewer lines of code. Carmack has spoken in favor of static typing and other compile-time checks after negative experiences using a scripting language in Doom 3, including poor performance and debugging.

The demand that JavaScript be taught to Carmack's son just caps the douche-iness.
Property Near Chandigarh
Barnala Realtech Started With Developing Modern And Stylish Apartments In Apt Locations; The Successful Completion Of Maya Greens Vouches For Their Passion, Dedication And Trustworthiness.
This makes no sense, possibly the intentional faking to make him look bad does, but it still seems silly. No way a new poli account is going to come close to Obamas, the timing makes it near impossible. One is old and was benefited by the first round of suggested users, the other is near crippled by the now impossible. Not that I like politics but this is so odd to me for some reason it just strikes me as silly no matter how or why it is happening.
FTC Appoints Steven M. Bellovin as Chief Technologist
pose your query like a question, also the query should be 4 words long..
How Hard Is It To Drive a Tank?
That's just repeating the speculation in the article. We have no idea if the multiple app versions are the source of the warning. We haven't seen the letter, nor even read selective quotes from it. That's what drives me nuts about this: this is pure sensationalism. There's no journalism here at all, and almost no real facts. Yet all the "con-Google" crowd jump in with the tired old customer support meme anyway.

Stop it, people. Find some real evidence and indict them with that.
zbuc 1 hour ago | link [dead]

The real question is why do the British call it "public school" when it's not run by the public?

Sounds like they need better English education...

In reply to this (dead) comment, it's worth noting that while it doesn't seem to make sense now, it did in the past. The term "public school" (which incidentally doesn't apply to all private schools - they are all "independant", they aren't all "public") dates back to when many or most schools were aimed at specific groups of people, such as a local church, or a specific trade. Public school, therefore, meant that it was open to any paying member of the public - as long as they could pay, it didn't matter who they were.
At the time, when I was getting into Quora. I was quite keen to have my Facebook friends be able to find me easily.

Additionally, my boss was the guy who encouraged me to use Quora more heavily, so he was following me already. Even unlinking Facebook wouldn't have changed that.

There's the option of maintaining multiple accounts, but I wasn't a heavy enough user yet to be willing to deal with the hassle.
Ah, I think I missed the ;) last night!

Thanks
Co-op program. And networking.

A lot of companies see RIT as a huge talent pool, and dedicate quite a bit of recruiting resources to look for potential interns and full-timers. Plus, you'll find peers that you can use to develop your professional network.
Oh, that is an interesting distinction. In the American newsmedia, "Populist" is definitely used to describe wealth-redistribution / pro-nationalization of resources, a la Evo Morales.
You guys should consider sending her to a quality daycare. We've been sending our son to one since he was 3 mo. old. He loves it; we love it. We think that's the best thing we've done for him so far.

Socializing with other children is sooo important. He interacts with other adults (daycare employees). He learns so many things (esp. wrt self-control, autonomy etc) just by playing with his friends.

I personally think a daycare (many kids + several caregivers) is closer to the environment that we evolved to grow in, rather than having no other kids + couple of caregivers as would be the case with an at-home parent.

You should give some serious thought into finding a quality daycare. You're highly likely to like it. Good luck!
Does it support range scan selects (example: "where f > 5") as HandlerSocket do?
Ballmer's biggest blunder ever? The mis-naming of Metro
I'm not an Android developer, but it looks like there are several contact forms at the bottom of http://support.google.com/googleplay/android-developer/bin/a...

When a problem happens with Apple's App Store, is there a guaranteed way to contact and get an answer from a human?
SportStream (born from Evri and Twine) merges social media and live sports
>There are so many ways to shoot yourself in the foot if you develop large realtime systems in Ruby (or any other language that includes a lot of blocking libraries).

How is developing "large realtime systems" in Node any better?

It's a thrown together library on top of V8, in a language that doesn't even have concurrency primitives.

Doing non-blocking stuff in Node is like powering your car by pedalling. It works and takes you places, but it misses the point of needing a car in the first place.
Here's a more detailed

http://book.realworldhaskell.org/read/code-case-study-parsin...

(also you can read about the F# (|>) forward pipe, and there'll be operator precedence/associativity and thunk forcing issues)
It took about 2 weeks of working with Node and you quickly realize where its place is your stack, and its very much not the same thing I use Rails for. It's also a pretty distinct line that is pretty easy to determine.

I also find any Node/Rails comparison's pretty silly honestly, they're very different tools, and though you can do the same thing with each, I wouldn't.
Mary Jo Foley says a Microsoft spokesperson told her the change wasn't due to a legal challenge.
The non power of two issue is not a problem. Just load the texture in with padding to get it to the next power and put a texture region in that doesn't have the padding.

OpenGL is an awesome platform for those who want system portability IE minecraft, or any other indie developer who wants maximum exposure.
In other words: like most dogmatic religionists, they're in search of a way to live without thinking.

"How can a graduated MBA lead a software development team without knowing the business or the domain?"

The MBA is the American capitalist equivalent of the Soviet apparatchik.
No, but at least the second one explains the problem — or at least what is perceived as the problem — it's trying to solve.

Which opens up the ability for discussion of alternative solutions, or the criticism of there being a problem at all.
"There are so many ways to shoot yourself in the foot if you develop large realtime systems in Ruby (or any other language that includes a lot of blocking libraries)."

As opposed to doing I/O flow control in an asynchronous, callback-driven system? Have you ever heard of the "slow consumer problem"?

Not only can you build realtime systems with threads, by using synchronous I/O you'll be taking advantage of all the flow control TCP has to offer, instead of unboundedly filling up write buffers.
> I don't pursue professional aspirations and then ask myself, "How can I squeeze my kids into this?"

Brilliant nugget! Thanks.
Yes, I can see how Rails evolving to match the evolving needs of its users can give that impression... /s
They are less broken now. The Rails team put a lot of effort into fixing them in the past three releases.
Rails: reinventing Java one feature at a time (and that's not necessarily a bad thing)
How is it not journalism? The story is admittedly one-sided but only because Google won't communicate with anyone. The author and the article's subject both reached out to Google and got no reply at all.

That is the story. Google is threatening to remove non-shady apps for reasons that are entirely mysterious.
Looks good and it's something I could use.

I would like to see a more compact dashboard though. One screen that shows me how successful I am on all my questions (I only entered yes/no ones and probably won't use anything else, except maybe the quantity)
I can't disagree with what you have suggested. But FB/Pinterest and even Twitter apparently had lot more going for them hence they achieved the mass adoption. So one can claim that they were helping evolve what was already present at the time.

This is pretty much how things go. Good or bad things exist and people come along evolving them further. What matters is how are we participating in evolving whatever is available for better and upward.
Tell that to a blind user. Let's see how they react.

If you have a site that breaks without javascript, you are leaving a significant portion of your customer base on the table.
He's not telling Carmack to use a web browser scripting engine. In fact he specifically says "Nobody pretends that the next AAA-title will be written in JavaScript."
Rack 1.x doesn't have end-to-end streaming, and certainly not with a socket-style API. The Rack specification mandates buffering and rewinding input, and while it's possible to write a rewindable input stream (I've actually seen it done) nobody has ever written a stable one.

EventMachine is poorly maintained and doesn't have the same level of community support as Node.js, not to mention an ugly API. Of course, Node.js doesn't have the same level of maturity as Twisted Python but Twisted doesn't get any hype whatsoever.
Giving too much power to the browser? What does that even mean? Native Client runs in a very similar sandbox as JavaScript, so the only extra "power" it has is the ability to run faster. Why could it possibly be bad for the browser to be faster?
The thing is that this is an extremely common sentiment that's echoed by virtually everyone. You will occasionally get someone who says they turned out fine, or that they had this one great teacher... but they also tend to be the exception that proves the rule.
This is a rebuttal comment to Pogue:
http://pogue.blogs.nytimes.com/2012/07/30/one-of-apples-best...

> The ''L'' shaped conductor covers the Ethernet and the Firewire port completely on the Macbook Pro if any type of protective cover-clamshell is installed on the 15 or 17'' designs. Reason being, the ''L'' shaped conductor hugs the body so closely it cannot establish a connection if 3/64" clearance is not provided...Anecdotal evidence supports the view that the 90º magsafe connector design that Apple has reverted to using is the safer of the two designs in terms of accidents as it reduces the chances of a 'shear pull' which made the ''L'' clip vulnerable to pull downs when the Macbook is left on slick or glass like surfaces.
I almost can't tell if this comment came from some sort of Markov text generator.
I don't think it's the order of the elements, I think it's the combination of the elements and the process of entering them. See Ford's (yes Ford's) experiment for proximity based automatic login/logout with your phone.

http://www.fastcodesign.com/1670097/ford-schools-apple-with-...
They could add a breathalyzer check to the install verification prompt.