skysight-inc/HackerNews huggingface dataset:
Partly because it is a simple language and that simplicity allows some optimisations that are hard in a more featuresome language.

There's also the history of development. Lua has always been an embedded language and the Lua team have always had an eye cocked to size and speed.

Finally, size. The Lua runtime is tiny, these days it fits into an L2 cache. If your program doesn't have a lot of data, the effects of cache locality may give you tremendous speedups.
The block based layout reminds me a lot of some of the desktop publishing software I used to use in the early-mid 90's. At the time, it served well the purpose of integrating multiple media types into a single document, but it was a bit of a clunky way to edit. That's my concern with Sir Trevor.

The nicest (for me) aspect of Markdown, is that it removes the need to mess around with anything other than text to produce a formatted output document. Sir Trevor seems to remove that benefit, for limited upside.
I think that a better analogy is the Scheme of script languages.
Want to be able to do this on your own Games?
Check us out on http://kck.st/1dTzw9t and www.playir.com
1 based indices are fine most of the time, they are mostly like 0 based yet start at 1 :) When it does become a problem is when you are reading and using binary formats and offsets, where I seem to always get off by one errors. A ternary function, iff, is soo simple to implement Lua. Scoping is just something you have to understand as with tables there is no problem with them besides a beginners understanding of them.

What you consider a minor gripe, compound assignment operator, I personally think is a flaw in the language same goes for bitwise functions instead of operators.
Here is an example I posted earlier on twitter.

object = object + other

"object" and "other" here are full userdata and the code is going to malloc a new userdata and also create a new object in C/C++; which is straight away going to over write the original instance. Huh? why? += makes so much sense.

Each to there own, I can fix my issues using patches but it would be nice if I did not have to.
(except for the Nexus 7 ads that run all the time)
Lua is a far smaller language than Python. Python's complexity makes it extremely difficult to optimize because feature A conflicts with feature B, while Lua you can make much more specific optimization code.

Python's standard methods of creating new objects off common operations also leads to huge amounts of memory being used compared ('functional programming' to use the term of the moment) to Lua's more c-like mutate-in-place standard behavior.
Really?

I've been stuck with many piles of resumes and to have this show up would not only be a breath of fresh air vs the prototypical format, I GUARANTEE I would be talking about this one.

Even if I didn't hire the person, I would be showing people this resume around the office.

</$0.02>
The photos miss that, but it is mentioned in the text:

The increase in rods also enhances their “refresh rate”, so that they can pick up movements much faster (very helpful when dealing with small animals that change direction very quickly during a chase)

Also: Interestingly, this also means that humans have the ability to see very slowly moving objects at speeds 10 times slower than cats (that is to say that we can see very slow things move that would not appear to be moving to a cat)

Which made me wonder why sneaking up on a cat chameleon-style doesn't work better.
Gedit3 e ElementaryOS shortcuts #LinuxInADay
Yes, actually check http://swtch.com/~rsc/thread/ to trace back. It all starts with CSP from Hoare.
Flying Blind within the Clouds with PaaS Applications and “Managed” Services
Oboe.js: reacting to Ajax/Rest quicker by not waiting for it to finish
TFA says it is a "glimpse of the e-mail exchange". I, too, would have liked to see him elaborate on what he said, but since the interview was conducted over email, I can't blame the interviewer for cutting him off.

Also, judging from the 'glimpse' part, that is just an excerpt. There is the possibility that he elaborates in the dead-tree version.
If he's looking for an animation- or illustration-heavy position, I think this is perfect. I'm sure it'll catch the eye of at least a few creative directors out there, at which point the standard HR process becomes a bit moot. I mean, he can always send a plain old PDF resume if he finds himself applying online for some random position, but I doubt he'll need to.

Anyway, I really like it. No, it's not perfect—he loses some points for listing Dreamweaver as a skill—but it's good fun, and it certainly makes him stand out.
Hilarious, this stuff comes from some manifesto? Nobody wrote '...in solitude'.
I have seen my cat find a mouse in a camouflaged garden even when the mouse was not moving. Either this study is wrong or my cat is special.
from the article:

"Since we’re guessing there are a few Calvin and Hobbes enthusiasts in the audience, we thought we’d provide a glimpse of the e-mail exchange."
Ok, these comments is exactly what I hear, but leaves me more curious. What exactly is this complexity? On the surface, Python doesn't seem much more complex. It's data-structures also seem more simple to me.
Is not a crazy amount, you have to take into account that it will probably be a year or more before this port is even close to done. And then take into account the years of support he will probably offer.

That's not even thinking about all of the service they've provided to our community already.

I would argue it's on the low side, I sincerely hope he'll go over it.
Taxis and technology: Tap to hail
that's a blog just to get seo for a "deals" website. to flag or not to flag?
Speaking as someone who tried to use the godawful abomination that is Caltrain, I have no sympathy for any Caltrain employees, and never will.

You could replace the entire staff with San Francisco homeless and it couldn't get any worse.
You can exclude the OS and applications from your Time Machine backups if you want. It's a great way to save space, since you can probably reinstall those from other sources.
FWIW, the underlying jQuery code explicitly tests for false with ===:

https://github.com/jquery/jquery/blob/a5037cb9e3851b171b49f6...

So returning undefined does NOT stop propagation.
Excellent post. I've heard of the book before but never read it - although I did just order a copy.

I liked Carmack's comments on patents. Interesting that all these years later is still such a big issue in the software industry.

It was also very interesting to see the comparison between shareware and in-app purchases. Never thought of that before.
> We have a diver who killed an animal for food, and this generated tremendous outrage. Why?

I think it's just social taboo.

Everyone defecates, and everyone is fine with that. However if you did that on a public beach, people would be outraged.

Also, if you beat up a cow, dog or bear with your bare hands on a beach, people would be outraged with that too.

I'm not sure that trying to come up with a "rational" way of looking at it makes sense. It makes people uncomfortable because it violates social norms.

You would have to frame the act in certain ways for people to be comfortable with it. If the Octopus was dangerous, for example. Or if you had some elaborate social ritual around killing it. Or if it was structured as your job, people knew you were going to do it humanely. Etc.
I don't use words like happy, and not because of the shape of their beak, but DOLPHINS ARE ALSO AWESOME.

This "dolphins play with bubble rings" video is ancient but great. Play is perhaps a tricky word, but still.

http://www.youtube.com/watch?v=TMCf7SNUb-Q
Yeah.. too late for my bro.
Lost all his data.. ssd reported as 33kb
What motivates me is that I USUALLY don't have to deal with that stuff anymore. I generally deal with other (private sector) clients lately, and one project that is Federal I'm working has such a hard-to-solve problem with such a big payoff that it keeps me motivated.
VMG is right. You should definitely add this to the Wikipedia page! Great stuff.
He mentions this in the article - the long password stored in the Yubikey is printed out and stored securely.
The Trap of Small Thinking
That's really not a solution. At all.
"restarts required once daily"? Do you mean restarting the crashed application (Chrome), or an actual daily reboot of the OS?
I left the house with David, Susan, Steve, Kate, Alice, and George. I still have David, Susan, Steve, Kate, Alice, and George, so I can't have left any behind.

I've got issues with a lot of (Dan) Everett's work, but you don't need counting to handle that scenario.
I appreciate your logic, but there is a wide variety of needed levels of sleep among different animals, and even among different individual humans which tells me that some are more efficient than others at sleeping (maybe clearing toxins?).

As efficient as evolution is, the ability not to sleep as much may not be a huge determinant in reproduction. Just 100 years ago, people worked all day, then relaxed and slept. There was little to no demand for not sleeping at all from a survival standpoint.

The main reason people want to stay awake all night now is to work more and advance their careers. You don't need that for survival.

Further, Pharma companies have done some amazing things. While I agree that it is unlikely soon, I am confident that if humans are around in 200 years, it becomes much, much more likely.
You are not the first that thought about that possibility, there's a lot that we observe that is expected result of the Big Bang and that wouldn't exist otherwise:

http://en.wikipedia.org/wiki/Big_Bang#Observational_evidence
> It is generally accepted that all mammals have the same life span in number of heart beats.

Please note that while there is some correlation it may not be strict enough to suggest that lowering your own heart rate will help you live longer.

http://skeptics.stackexchange.com/questions/5701/does-every-...
very cool, thanks for this. btw -- to make the jumpiness disappear on the hover effect, add:

.icons a, .icons a:before, .icons a:after {
-webkit-backface-visibility: hidden;
}
I think there is one fundamental flaw with simulating color seen by non humans or dichromat humans. I've seen this in all computer based simulators. They simply change the weight of some colors relatively to others.

But a dichromat with say, missing L cones will not simply mix green and red, he will experience "green" totally differently than a trichromat. What a trichromat call green is the result of the stimulation of both M and L cones. We cannot see the pure spectral green. We cannot subtract the L cones contributions to what we experience, and its is quite important. The dichromat won't have any L cones contribution, the physiological stimuli won't be the same. He sees the actual spectral green. A color we have never seen and that we cannot imagine.

Now there is an experiment to do : put a full page of bright red and stare at it for minutes. It will start to become orange-ish. This is your L cones getting tired. Now swiftly switch to a bright green full page (prepare it so you can switch with a key press). You will experience a purer green that you ever experienced, because this green will have less red component to it as your L cones are tired (the effect will last mere seconds and quickly fade into normal green). If you were able to completely remove your L cones, you would see what the dichromat sees.
> > Forgetting to change the code that consumes the API means that things don't work, which is visible right away.

> Oh how do I wish this were the case!

It's certainly not always the case, but it's a whole lot more likely to be the case than for unchecked documentation.

> > Documentation that can break visibly when things change is better than static documentation.

> Agreed, but I would not call your average run-of-the-mill unit tests "documentation",

I think "is it documentation" is probably more of a spectrum than any particular threshold, and run-of-the-mill unit tests probably do fall on this spectrum though I'd probably agree that they're not particularly far along it (though that surely varies with the habits of those writing the tests).

> nor can all documentation can be programatically tested.

As a practical matter, that's certainly currently the case - tooling is not set up for testing documentation, and there are things we'd want to check that would be hard to check in any event. Theoretically also, there are certainly properties that can't be statically demonstrated. I'm not entirely convinced that there's nothing we're interested in that couldn't eventually be got at for the programs we care about, though it's certainly a possibility. Regardless, it seems an ideal worth pushing towards, and if tested documentation is interwoven with untestable documentation such that some conceptual locality is preserved it's less likely (though absolutely still possible, to be sure) that you'll forget to update the other when you're forced to update the one.
PTT is still heavily used in Taiwan by university students. The numbers today might not be quite as high as the quote from Wikipedia below (due to the rise of Facebook), but the system is definitely still extremely active.

"PTT is arguably the largest BBS in the world with more than 1.5 million registered users. During peak hours, there are over 150,000 users online. It has over 20,000 boards with a multitude of topics, and more than 20000 articles and 500000 comments are posted every day."

http://en.wikipedia.org/wiki/PTT_Bulletin_Board_System
Yeah I'm looking at my app icons and they're squares with rounded corners [1].

Not sure if the author is lumping in iOS 7 for clicks or if he's got some fancy European version of iOS.

[1] http://ua-mac.org/wp-content/uploads/2013/09/iOS-7-Styled-Ap... (hope this isn't someone recreating it...)
It also misses another key aspect of cat perception - the keener senses of smell and hearing. They are less visually-centric than humans.

You could say the same about dogs and many other animals.
That sounds much, much worse. I'd take no SD card support at all over having to explain to people why, when they take their card out of the phone and put it in their camera, their phone shits itself.
Very interesting, thanks. I knew about pinboard but not about their archival account.
Ah, yes. I think with my machine being a very old model (MBP 4,1) there was some issue for why I didn't do this. Perhaps the maximum speed of the optical bay? I'll have to look up the specs again to see if it wouldn't be worth the trade off, as it would be great to make the old goat more portable. Thanks for the tip!
To be fair, the excitement is in tech circles which is a relatively small portion of the market.

Generally, the overwhelming majority of handsets in at least North America are procured through one's carrier. If I'm getting a device through the carrier, not only do they not even offer Nexus devices, if they did it would seldom make economic sense: Get a subsidized $700 iPhone for $199 (so $500 of subsidy), or a subsidized Nexus for perhaps $0 (so $349 of subsidy?).

Speaking of carriers, this is why the overwhelming majority of smartphone ads for Apple are actually carried by carriers.
While I agree that true masters admit they have a lot more to learn I kind of like the idea of rating yourself. How would you convey to someone that you have worked with a certain technology but would not put it as your main experience?
Funny to see the 'greenhouse effect' mentioned in the beginning and later on the advice to take longer showers.
I think he is saying that for example the Linux kernel version 3.11 would be the Nth prime.
Just as heads up:

- Time machine: is not reliable for network backups (yes, really)

- CCC: needs a USB connected drive for a MBA

- Crashplan: recurring payment service based in the US

All of the above solution are useful, but none are reasonable and no brainer backup solutions for everyone, especially for MBA owners.

As for now, bittorent sync with a mirror on the same network feels like the best solution IMO.
If I'm a beekeeper, that might be what I want...
Oh shit, I totally misread your sentence! I think the problem is most people just aren't in touch with their bodies and the effect that having a body has on the mind.
Prefer the Mail? http://www.dailymail.co.uk/sciencetech/article-2462559/Nicko...
The presumption that students have memorised the formulae allows you to build more complex tests with confidence that they will tease out understanding and not just computation.

In my highschool physics exam, about 2/3rds was of questions based on memorised formulae. For example, the bouncing ball problem, with a series of questions to tease out our application of calculus, memorisation of compression rules and so on.

Then comes the final question. I remember it well because at first, I did not know which formula to apply. Water wells into a pool at rate X per hour, falls over a waterfall into a second pool below, which drains at rate Y per hour. When it falls over the edge of the waterfall, the water is at temperature A; at the start of the problem the temperature in the bottom pool is C.

After an hour, what will the temperature in the second pool be?

To solve this problem you actually need to consider the thermic effect of water falling. You need to build a single equation to accounts for acceleration due to gravity and the beginning temperatures of each pool. Then you need some calculus to transform it into an equation that will spit out the final numerical answer.

The only reason I was able to attempt and solve this problem was because I had memorised the equations. There simply would not have been enough time to try to reverse-engineer a bunch of anonymous letters in-flight.

Similarly, when I studied law, all exams were open-book. This is because, as a law professor told me, "it lets us ask harder questions". There's simply no way to synthesise thousands of pages of material in an exam setting. Either you learnt it beforehand, including a whole bunch of flat out memorisation of details of cases, or you didn't. Having your casebooks for reference is useful, but only to check a detail or reuse a quote.
Those pointy ears are there for a reason - cats use more than sight to locate prey.
Well, these are green threads, if you need to do actual concurrency you should probably look elsewhere.

And, lighweight looks like it refers to the minimal amount of code in the library. Its a handful of fairly short files, enormous by no standards...

Besides, if you're writing C, C11 has the atomics support you desire. Not to mention that most programmers should stick to higher level abstractions than atomics (like mutexes).
Grid Forms: Data entry can be beautiful (js library)
I think you're missing a few possible scenarios.

First and foremost, cats have exceptional olfactory senses.

Second of all, the mouse was likely moving around before it noticed your cat approaching, at which point it froze. (By that time, it was of course too late.) Mice don't typically just sit in a garden, never moving.
Our Startup Story - Everhour
Answer is simple: you are adding more and more listeners as jsPerf runs your test case.

One of the most important things to remember while using jsPerf is that setup phase can and will be executed multiple times. As the result the list of listeners attached to the DOM node is growing and this in turn slows down the event dispatch.

"No return" case is run second so the list of listeners is already large and thus it is slower than "return case".

You should either unregister listeners in tear down phase or register them only once at global initialization time. Here is the fixed variant:

http://jsperf.com/always-return-on-jquery-events/28

[also from the JavaScript VM point of view function () { } and function () { return; } are completely the same]
When the Quantified Self Wants to Conceive a Child
I feel like so many times the startup community acts like the biggest problems left to solve are social games or entertainment apps when there are huge areas of opportunity no one has touched.

</rant>
I can't upgrade Windows 8 -> Windows 8.1 because I've moved my "C:\Users" folder to "E:\Users" (to move it off the SSD). The 8.1 installer tells me "it can't install because either the Users or Program Files directory has been moved to another partition".

Somehow every other program on my machine manages to run thanks to environment variables like %USERPROFILE% and %APPDATA%.

GG.
I'm an American so I'm probably biased.. but what I've found is that in most school districts you can get as good of an education as you want. I grew up in South Carolina and went to high/secondary school in Florida.. two states with relatively poor education records.

However, by staying on the "right" path I was able to get in advanced programs, programs for students with high IQs that taught critical thinking skills.. I graduated high school with over 30 college credit hours and had completed Physics 1, Calc 1, 2, and 3, and a hand full of other electives... all in high school.

Other students in the same exact schools I attended had equal and opposite educational experiences/success.
The issue in IT [1] is treating women as human beings rather than sexual objects. Too many women in technology have stories of men acting inappropriately, creepy, or occasionally intimidating. This can range from constantly commenting on their clothes or appearance, to making jokes or conversation about sex, to showing inappropriate images or video, to repeated asking out, to inappropriate touching (backrubs, butt pats, "accidentally" brushing up against them).

[1] IT is obviously not the only industry with this problem.
what I think is weird is with the command line tool (xflux) that once you start it, it tells you proc ID, and if you want to change the settings, you first have to kill the other process, or otherwise you get two xfluxes fighting over the colour adjustment, causing crazy disco flickering while the new one transitions.

I'd expect a tool like that to just tell the existing xflux process to change its settings.

ah well, tonight I'll give redshift a try.
Pointers in Rust: a guide
Apple: No, We Can’t Read Your iMessages
Definitely, he should use something like a ladder. Shouldn't be too hard for him given he did the balloon thing.
> It's a nice looking phone but the excitement about the Nexus range seems disproportionate with the sales figures for them.

Engadget is a gadget site that caters to gadget enthusiasts, not the average consumer. The excitement is proportionate to their audience.
Hasn't anyone invented a "jiggling cat food bowl" yet?
It works wonders with touch enabled devices like smartphones and tablets
I have started just using iterators for stuff that starts at 0.
Risk on Google maps
Good points. As I was reading it, I wondered if there was some satire in the complaints. I didn't know the author's context, so I thought, "Maybe these are minor complaints from someone who famously loves the language."
The Internet Owes Its Sense of Humor to This Man
>> Since it's not an investment, it's not an investment the Chinese can lose faith in. And it's certainly not a favor to the United States of America.

I have no formal background in economics, but I'd really appreciate it if someone who does could explain this statement in some context.

I would have thought as a general rule: a debtor at risk (even theoretical risk) of default constitutes a concern to its creditor.

I also don't see what giving favours has to do with buying and selling bonds.
If I'm going portable and need every last minute of battery life I'll transfer files I need over to my SSH (or to a 64GB SD card if they're very large files) and unmount the platter drive in my MBP
If there's a point behind your sarcasm, I'm not getting it. Would you mind fleshing it out a bit?
You're not moving slowly enough, and cats can hear really well.
I like how people are getting creative about scrolling these days. A few years back no one though about hooking interactive animations to page scroll.