skysight-inc/HackerNews huggingface dataset:
Interesting, but it doesn't have the strange 6-wheel suspension of a real rover. Not only does the suspension have 6 wheels, but I understand there's a differential inside linking left and right sides, so the body of the rover rotates (in pitch) only half the angular displacement between the two sides of the suspension.
Coming from an embedded background gives you a very different perspective on things. I too have a strong embedded programming background. This, among other things, makes you keenly aware of the CPU and resource cost of your code.

If you've ever spent a day hunting for clock cycles to trim you know how that one can affect run time dramatically with a little attention. After a while this sort of thing becomes second nature.

I think the C solution I posted is fairly tight:
http://news.ycombinator.com/item?id=4327004

It pre-computes all that can be pre-computed outside the loop and then, once inside the loop, it uses a calculated index to address the array. The index only requires a comparison and, if going in reverse order, a subtraction, which are computationally cheap. If absolute performance was the goal --at the expense of a few more bytes of code-- this could be tightened further.

One of the problems with programmers that don't have a low-level background, and, in particular, those who grew-up, if you will, with object-oriented programming, is that they don't generally have a connection with the cost of their code.

Object oriented programming is great for the programmer, but the computer doesn't need it. It exists purely for the programmer's benefit. The computer would execute functionally equivalent non-OO code just fine and much, much faster. Case in point: Objective-C classes. I forget where the stats are but I remember that in some cases things run 400 times slower if you use certain "NS" classes. Four hundred times slower is a pretty serious price to pay for human convenience.

I wrote a genetic evolver for an iOS app I worked on. The initial code was done in full Objective-C on purpose. I wanted to see just how efficient the code could be made "using the Force". I then re-coded in nice-clean C. Wow! I don't have the data in front of me but I remember that it went from having to wait for a solution to executing hundreds of generations (and arriving at a solution) almost as quickly as you retracted your finger after pushing the "Go" button.

If we apply this to web programming it means that one could save a tremendous amount of money in server costs and provide a far more responsive system at the same time. Server costs go beyond the mere monthly cost of the hardware. Calculations should include MTBF, maintenance, power, cooling, etc. If you are using AWS these costs are all part of the package, of course.

So, no, in my case, I don't take it lightly. I don't like it when people suggest that we "throw another server at it". First I want to see that the code is as tight and fast as can be. Then we look at throwing hardware at it. Of course, there is a point where hunting down clock cycles becomes more expensive than it is worth. The location of this point on the timeline is different for each business and project.
Muslims around the world are going through the same materialistic tendencies as being seen all over the world. Instead of using Ramadan as a chance to cut back on worldly life and focus on spirituality, they are using it to focus on shopping, malls, entertainment, television, etc.. Fasting heightens the senses and brings an awareness to your mind about how we are only here for a short time. If you choose to sleep all day, I wouldn't call it a loophole, since you are not hurting anyone but yourself by sleeping all day during the fasting hours.
really... just india and china? what about australia? canada? Russia?
Agreed, and I would also add that the overhead in terms of development time to set up the boilerplate to render this triangle via immediate mode and the newer methods would be comparable.
What Your Boss Should Understand About Hiring InfoSec Pros
Is your company hiring a security specialist? This is what management doesn't know, what she should really ask, and what (hopefully) doesn't seduce him into hiring a disaster.
I don't really get the outrage. Is there some moral or legal obligation that a service's price must tie directly to its immediate costs?

Netflix charges me the same monthly fee whether I use it or not, is that fair? After all, on their end they only pay license holders per-stream (AFAIK).
You never should query a REGISTRAR, always directly query the REGISTRY for domain availability and whois info.

Any coder worth their salt should be easily able to make a query program as a weekend project. All the registry whois addresses are readily available.
Came here to post about this. I am clearly not the target demographic (though there's logic in place for me), but asking me which player is offsides and then my two options are "I'm a female, A" or "I'm a female, just show me a picture of Beckham" is.. sigh.

Then I choose the former to avoid a track of assumptions and I'm told "You're a woman that knows her sports, that's hot!" and "I wish I had a fembot like you," (this one is actually kind of cute, out of context of the others) and because I didn't know the final product was underwear (again, maybe a UK brand thing) "The best way to a man is through his pants," was somewhat confusing.

In the end, I just want to buy my SO something nice, not get a barrage of condescending, assumptuous banter in the process. Additionally, I wasn't actually 100% which player was offsides, so I automatically felt like I didn't belong and it was because of my gender. That's a terrible way to make a user feel if, in the end, you're just trying to sell them something.
Are you running Power Nap on battery? Also are you leaving USB items plugged in?

On Lion at least I noticed that if I left my USB HD in, and closed the lid on battery it killed it, every time. There was an Apple Support thread confirming that.
I can think of a few changes I'd make off the top.

I'd put the pricing info on the front page, right next to how much money they
could bring in. The profit calculator is a neat toy, but you could summarise the
info and put it on the homepage.

Get rid of that ticker in the top, or at least remove the seconds. I found it
very distracting. The how it works page is also a bit tight. Maybe have some
bigger number bullets and cut it down to important points.

Make a big point of the "risk free" terms. It didn't really stand out to me.

Really, the big points are:

- You can raise a lot of money in a fun way.

- It's cheap to register.

- IF you don't raise enough, we refund the charge.

That's a pretty good deal, so put it right in front of people.

Maybe you could offer some branding/subdomain options for clubs, so they can
tell players to sign up at myclub.ourclubfundraiser.com or similar. Do players
really need to see a profit calculator?

5 visits a day isn't really enough to find out anything meaningful. More
importantly, the target audience is probably not willing (or able) to drop those
kinds of fees right away. I know when I did volunteer work it could take ages to
get things done, and when money was involved it took even longer.

Given the audience, I can think of a few changes that might help.

Ask for an email address and send more information. Some case studies would be
nice too. It doesn't have to be anything huge, just "thanks for requesting info:
here's how it works, here's how it's helped people, any questions ask
away". Send one or two followup emails to see if they need help setting up of
have questions.

You may have to take a more direct route to getting customers, such as emailing
local clubs to see if they're interested. AdWords and Facebook ads are other
ways to get a quick boost of interest, but I'm guessing the direct approach will
work better.

Hope that helps!
Introduction to ReadOnlyCollection using Csharp and ASP.NET
It is an interesting concept and I can see how it could be beneficial to an organization.

However, I don't think you sell it well enough, especially on the Pricing page. I need more of an incentive - tell me what I'm getting for that price. Is that price a subscription, one-off payment or what? Is there a free-trial? What happens if I miss the count-down deadline?
> I'm reading a lot in here, but I think Carmack sees it as an incubator for new space talent.

I may be reading a lot in here, but are you saying that incubators are mostly just talent farms?
In writing the article I found I had a tough time putting this one in to words. If you've got experience in writing server-side code, this is already pretty ubiquitous thanks to the "fat model" paradigm. Basically, a given object should manage it's own state and everything else should ask it about it's state.

Consider the direction type selector in Google Maps: http://i.imgur.com/5zQcp.png. I would create an object that manages all those buttons. The object would keep track of whichever button is selected and would probably emit an event that said "user changed selection." Then the controls that, say, sent a request to the server for a new set of directions would query the object for the current state.

Couple of advantages here.

1. It's UI-agnostic. That is, the other controls on the page don't have to care how it's actually rendered at all.

2. It's encapsulated. There's a single way to get the selected direction type.

3. It's much more test friendly. You've essentially abstracted away the DOM for that control.

The hard bit about doing this in JavaScript is it's unenforcable in a team environment. What's stopping the other devs from reaching in to the DOM and querying for the selected button?

Hope that helps a bit...
Because if I'm an analyst(employee of the company), a trading glitch isn't my fault. A bad trade is.
What is the best way to buy .CN and .HK domains?
Who is the best registrar to buy .CN and .HK domains if I am not based in China or Hong Kong?

I am aware that there are lots of websites/registrars claiming to sell these domains. But the prices seem to vary significantly between sites.

Is there a risk that the registrar won't register the domain even after one pays them to do so?
Here are a couple of tutorials which may get your brain juices flowing...

http://railscasts.com/episodes/322-rabl?view=asciicast

http://railscasts.com/episodes/352-securing-an-api?view=asci...

http://railscasts.com/episodes/348-the-rails-api-gem?view=as...
Search field after a serach doesn't handle international characters.

Try sjösäkerhet for example
Apple applied for the patent on Aug. 11, 2011, which suggests that they've been working on this for a while. At the very least, it means that there shouldn't be any Patent obstacles to them rolling out a keyboard-cover on the iPad if they choose to do so. Still smells like "Patenting ideas" to me - though there are some good ideas (Using the flip side as a solar cell array is an obvious one)
There's a balance in there between "getting it done" and "getting it right(tm)" and then there's the definition of "right" ;)

"Getting it done" is great for something entirely internal where you have control over all the end points. You have insight and understanding that you don't have to express to anyone outside your organization. Further, if you get it "wrong" deploying updates and new versions is easy (by comparison).

"Getting it right" is key if you want something to go beyond your immediate circles. It should be as self-descriptive as possible to promote clarity. It should be consistent as possible to improve documentation/understanding. And the risk if you get it "wrong" is much higher because there are end points/API consumers that are not under your control, therefore you have to support a variety of versions for potentially long periods of time.

(Biased as I regularly speak on API design and work for Twilio. We have a 2008 and 2010 version of the API. While we still fully support the 2008 version, the 2010 version has a great deal more functionality.)
Well put.

A lot of this "but ... but ... but ... we NEED a human in the loop" handwringing that we're seeing on the news channels is obsolete people who used to be ridiculously overpaid complaining that they have been replaced by fast computers and efficient code.

(Disclaimer: Non-sweaty alpha male HFT algorithm writer here ... ha.)
This was probably very common in the human experience prior to the development of agriculture. People didn't eat regular meals. Hunting opportunities would not have come along every day, and sometimes hunts would fail.

I don't think humans would become too weak to throw spears because they didn't have their Cheerios in the morning.

When I hear people who have skipped a meal complain "my blood sugar is low", I worry for their health. We have fat stores for a reason. Skipping a meal should not be a big deal.
My first triangle came out when there was no programmable pipeline, so yep, via immediate mode (any by that I mean begin/end). Then, when OpenGL 2.0 came out, I learned how to use buffers to do it instead.

Are you saying that immediate mode should be used in all cases, even for rendering a complex mesh where you will need to spend CPU cycles iterating and uploading vertices to the CPU every frame?
New 'Facebook Stories' Reveals Human Drama Within
Antifluoridation Bad Science
How I learned to pump out more features with less work.
Stories - People using Facebook in extraordinary ways
Your body starts eating away at your muscles and storing as much fat as it can. That's why it's important to exercise.
"there are no logically possible situations in the code that they haven't programmed a response for"

Until they blow up one day themselves...

Call me cynical, but no type system, no matter how sophisticated, nor team of programmers, no matter how talented & experienced, is immune to this type of thing.
That sounds like a lot of fun. I am glad I am not religious.

I have no problem with people having the right to do this type of stuff because I enjoy my right to laugh about it.
So, in other words, if it interests you, it's fair to quiz someone else about it, but if it doesn't interest you, it's not fair to quiz you about it.
This is silly. Facebook is wholly reliant on there being no barriers to signup and usage. Facebook would go away if it did anything remotely similar to what the OP proposes. The whole reason it has become a $60b company is because almost a billion people are on board and advertising is by far the best way to monetize 2 billion eyeballs.
HN always seems so fixated on the big payout. tptacek, the other founders, and employees have also just taken their baby to the next level in so many ways. Getting acquired doesn't have to be the end-game.
I had heard a couple of months ago that Facebook doesn't want to improve the native apps and instead Google and Apple to improve the html5 support in their respective browsers. Facebook wants to have a uniform experience across platforms and html5 site would be best way to achieve that. This explains why their apps are not customized as per the Android/iOS standards. They even formed a group to discuss the state of mobile browsers and Google and Apple have been ignoring it.
Another way to look at this: it's a well-known phenomenon that expert radiologists will misdiagnose an X-ray image, even contradicting a past judgment they made on the same X-ray. It's feasible that a properly machine-learned computer could make better judgments on a long-running average basis.

But when a computer screws up an edge case, versus the many, many times a doctor will screw up a diagnosis, which instance will get more attention. People are scared of black box machines and will take particular note of the times an algorithm has screwed them over, regardless of the times a human has screwed them up.

Also, when the possibility of examination exists, computerized decision making is far, far easier to audit (i.e. determine blame)
Have to say i've not suffered too much. I think it's a combination of what i choose to eat at fasting (suhoor) time, abiphasic sleep pattern and limiting sugar intake when breaking the fast.

I do a light sleep / nap for 2hrs at night, and then eat suhoor and make sure i stay awake for a fixed period of time before going back to bed. i wrote a dedicated post about this last year if anyone is interested.
>almost mystical state of oneness with the task at hand
awesome
They _could_. But in Germany, those things are reality, which shows that those groups take these matters seriously. My point wasn't that US culture is not diverse, it was that german culture is very diverse _as well_.
Photobombing Google Streetview
Easy -
The requester asks for "time" not "duration"
Programmer responds with "time".
Why?

You might be far less likely to blow up the way Knight did, but you're hardly immune.
Thank you very much for the above, very helpful!
The subdomain idea is something I hadn't thought of. I will look into it.
Thanks again!
Machine Learning Throwdown: Part 1
me, right now => https://makr.io/p/9561
I think the point is that benchmarking the graphics subsystem's throughput is easiest when you look at high framerate games; otherwise CPU or just rendering time might be the dominating factor.
Don’t count your penguins before they’ve hatched
Use your imagination to come up with a more appropriate heuristic.
Thanks for the feedback. I am currently working on a video. Hope to have it live soon.
It's important to get the terminology correct when discussing VM behavior. Page-outs are not identical to swap-outs. And unfortunately, due to the age and architecture of the Mach kernel, there's no way I'm aware of on OS X to measure the rate of the latter.

Page-outs refer to a file-backed page being committed to disk; these are perfectly normal and expected (program writes to a file, kernel eventually commits to disk). Every OS guarantees that file-backed pages be committed within some reasonably short period of time to reduce the risk of lost data in the event of a power outage (the sync interval).

A high page-out rate doesn't necessarily imply memory pressure; it may simply mean some program running on the system is writing to files frequently. However, memory pressure may temporarily increase the page-out rate if the sync interval hasn't yet kicked in.

Swap-outs, on the other hand, relate to anonymous memory pages (i.e. the heap). Swap-outs, in contrast to page-outs, are generally bad and indicate severe memory pressure.
If you want to start a new religion, be prepared to spend an awful lot of donation money on a crack legal team who can defend a) your religion from anything that looks like defamation and b) your adherents from anything that looks like discrimination.
Hmm, I don't understand why the author said that if we use OAuth, having CSRF protection does not make sense. Does anybody know why?
I've added the output at the end of the blog post for that image... check it out!

This algorithm works pretty well for billboards in urban settings as well -- since the photos come with the units outlined.
The Economics of the Google Gigabit
Alicebot: Chatbot Battles Post-Match Analysis
This test seems to be flawed. I just did this test with four people and we all agreed that their correct solutions are sometimes wrong. Is an expert here?
I also like to mention http://rubymotion-tutorials.com/ on this topic. :)
While it only rarely comes up, my specific form of colorblindness (protanomaly) results in red highlighted text looking like normal black text. This has made using some websites exceedingly difficult/impossible for me to use (www.readthekanji.com comes to mind). According to wikipedia, only about 1% of the male population has this form of colorblindness though, so you aren't looking at truly significant numbers affected.
yes and also your liver gets a break. i normally experience the same a few hours after what would normally be my lunch time. Feel very light physically and find it easy to attune attention and really be creative. i do wonder if the lack of music/tv throughout the month also has an impact
Man sentenced to jail for collecting rainwater in Oregon
http://www.wired.com/autopia/2012/07/virgin-galactic-satelli...

The air-launch system has a lot of flexibility and convenience. It's also a proven concept. (Scaled Composites actually built an aircraft launch system for small orbital payloads years in advance of Space Ship One. It's hard to find with all of the Virgin and Stratolaunch links, though.)
Yes and no. You're absolutely right to ask these questions, and they're ones the article would have addressed more specifically with just a bit more depth.

Folklore has it that Google/Bing/... do give at least small bumps for correct use of microformats. SEO is such a mess--so non-deterministic, among other things--that we perhaps should leave this for another time. There is evidence for SEO, but it's generally smaller than "five spots ..."

Detection of telephone numbers ... well, I find it a challenge, especially when working across national borders. I totally accept that it might be a non-problem for you: the applications on iPhones or other leading handsets do everything you need for your US-oriented Web site.

I appreciate you giving the article a fair reading. Microformats are indeed rather foggy to figure out; do they truly matter? It sounds as though, for you, they might not, at the moment. If you're doing much internationalization, though, or working with calendars, or would benefit from automation of contact exchange, or ..., then it's worthwhile to experiment at least a little.
My Dad and Mom are enemies--it's not Masons--CIA.

God says...
C:\Text\WEALTH.TXT

sual, even
in the fires of the common people, to mix coals and wood together, and
where the difference in the expense of those two sorts of fuel cannot,
therefore, be very great. Coals, in the coal countries, are everywhere
much below this highest price. If they were not, they could not bear
the expense of a distant carriage, either by land or by water. A
small quantity only could be sold; and the coal masters and the coal
proprietors find it more for their interest to sell a great quantity at
a pr
Thanks for the comment. Good points made, I will put together a list of advantages for the pricing page and a clear outline of what you get for your money. There is a free trial, it is something I need to advertise more.
Thanks again!
the drivers are mostly developed in-house by Apple

Really? Are you sure about that? I'm pretty sure that while there's some Apple-supplied kernel-mode glue, and maybe a lot of user-space components, most of the driver code is actually supplied by NVidia/AMD/Intel.

In fact at one time or another OSX seems to have inherited funny GPU driver bugs that were common with Windows (like the way NVidia's 32-bit drivers were unhappy with living outside the 2GB-4GB memory range).
does every site have to work like pintrest?
Facebook Stories - People using Facebook in extraordinary ways
Agreed about the 244% - apologies. I glossed over the relative part which is kind of important here. There's still been growth, but it hasn't been that dramatic.
nice, looks like some informative stuff. thanks
Two things I really dislike (actually it is only one). People reinventing wheels, i.e, recreating same platforms by going after Facebook and Pinterest. The Diaspora has not been able to distinguish itself as of yet and now they go after Pinterest.

This madness by people needs to stop.

If people wish to evolve, they can at least attempt to provide something innovative on top of what is already popular. Sorry if my feedback hurts your feelings but it is getting ridiculously boring on the Internet.