skysight-inc/HackerNews huggingface dataset:
Ha, my friend used the same photo as the example for his mathematical analysis of the rolling shutter effect: http://danielwalsh.tumblr.com/post/54400376441/playing-detec...

The questions he investigated: "Can we figure out the rate at which a propellor is spinning by analyzing this kind of photo? And can we figure out the real number of propellor blades in the photo?"
Using `if .. else if .. else` in Rust as an expression is absolutely idiomatic.
Many companies like ARM, Qualcomm, etc, rely on at least the background threat of litigating for their revenue. For obvious reasons, it's the folks with claims at the margin that are most likely to litigate. That doesn't mean that the existence of recourse to litigation doesn't primarily benefit those who are most clearly in the right.
I guess beauty is in the eye of the programmer. I'd choose Python's or Ruby's FizzBuzz. It's beautiful that everyone can immediately understand those. This one, not so much. As a little experiment, I've deliberately avoided learning Rust to see if I can understand its idioms without reading any docs. I can sort of guess at what's going on here by reverse engineering what should happen with FizzBuzz, but it's not at all intuitive. For example, as an outsider, I'd expect it to be (0, 1) instead of (0, 0) since it's matching both the 0th and 1st patterns. Whereas (0, _) would be "0th pattern but not the 1st," or something, even though that really wouldn't make much sense because "0" would refer to which pattern it's matching, rather than the position of the argument determining which pattern it's matching. Etc.

If Rust is the most robust way to solve a problem, it should naturally catch on. It seems pretty promising in that regard.

EDIT: As a counter to my comment, my argument would be equally applicable to Lisp, and Lisp is beautiful. So my argument is probably mistaken.

Maybe someone has to learn a language before judging whether it's beautiful.
Absolutely. My point was that this is not currently possible without any sort of browser extension. However, I think password managers are a reasonable solution that does indeed generally only require one password. (A bit of a simplification of course since multiple passwords do exist, but at least you don't have to deal with them as a user.)
This is an example usage based on Dr Seuss: "Green Eggs and Transducers" via @gigasquid

http://gigasquidsoftware.com/blog/2014/09/06/green-eggs-and-...

(note this is in Clojure not JavaScript - but the ideas and usages are the same).
Monitor I built from an old laptop screen
A. I really like that Ebert stories occasionally pop up on HN, before and after his death. I don't think there is a newspaper writer whose words I've paid more attention to, and I still reflexively visit rogerbert.com on Fridays to see the latest reviews (some of his replacements are pretty good, but they aren't Roger yet).

B. I've always thought it'd be a great thing for university classes to have, as a weekly assignment or final project, for each student to choose a Wiki page and actively edit it, whether it's to add actual content, improve the writing quality, or to restructure and reorganize the page and its priorities.

Hopefully, in practice, once a student starts putting work into a page, they will face resistance from the page's traditional editors. And that's when the fun begins: the students would learn from the give-and-take of the collaborative editing process, as well as getting a great deal of editing experience, period...and if the student is halfway-apt, the debates over significance/sourcing/structure would compel the student to do even more research on the topic...in fact, that's why I stay away from Wikipedia editing, because I end up spending hours doing research and fact-finding, even for trivial things...it's character building, but bad for the work schedule :).

The whole thing is also a lesson about the Internet community and dynamic...which, sure, you could learn by spending a semester on Reddit...on the other hand, at the end of the Wikipedia assignment, both the student and the world more directly benefits from the product of the student's labor: a better Wikipedia page.
Played the prototype two years ago at California Extreme, and the console version at this years' plus XOXO. It is unlike any other arcade experience; watching teams learn to chant SNAIL! SNAIL! SNAIL! just before victory is outstanding fun.
I hope the author isn't being naive in assuming that this outbreak will pass.
> One of the strengths that Java has over Lisp is that it's statically typed.

With the caveat that Java's type system can be subverted and isn't expressive enough to catch any more than the most trivial kinds of errors a type system can catch.
Yeah, this is definitely true. You can see the trend even in networking, where the routing protocols have typically been very decentralized in nature. Now with the advent of OpenFlow and data center networking we're starting to see a shift towards centralized control of network routing.
In general, because you can't hide anything in LEO. X-37B's orbit (and orbital changes) are well known.

That doesn't explain why we know it's coming down, but I'm guessing that leaked or wasn't considered sensitive.
Awesome game - I'm one of the aforementioned interns, and have been experiencing bouts of KQ withdrawal ever since I got home.

Hi Drew!
It’s whether (i % 3, i % 5) is equal to (0, 0) et al., where _ means “any value”.
That actually happens to me from time to time and I've learned to look through my own blog posts for answers before venturing out.

However, the worst situation is when I google for answer, find that ONLY my own blog post has something relevant and it doesn't answer exactly what I need -.- at that point, I'm like, "Google, I wrote this, I already read it, why don't you have something better to show me?"
I wasn't aware of the previous discussion, however, it's not surprising to me that this has shown up before.

Part of the reason I posted this is because a somewhat related article from the New York Times on decentralized computing made the front page today. I figured that HN readers interested in that might be interested in this essay as well. Plus, they might know of some further research on the topic which can help me learn more about the topic :)
Tamper: Chrome devtools extension for capturing and editing HTTP requests
What if I want to have this authentication process on my email account itself? :)
The only other option (soon to be available) is SMS. Seems a bit too limiting and maybe not completely practical.
Assembly is really cool. But one problem ive had with it is how founding a project 600,000 coins for free, even for projects that aren't fully fleshed out. This makes it much more fruitful to start your own projects.
Sony is making steady advancements in the global shutter with CMOS sensors. A bit harder on DSLRS with larger sensors and more pixels to read but the smaller sensors with smaller megapixels already have them [1].
So it's matter of a time that most CMOS bases videos will be free of rolling shutter, starting with higher-end video cameras that have sensors with just enough pixels to cover 2k-4k videos [2]

[1] http://www.sony.net/Products/SC-HP/new_pro/december_2013/imx...

[2] http://www.newsshooter.com/2014/09/11/io-industries-4k-super...
The Most Serious Threat When Using Credit: You
I organise things the way you mentioned and was thinking this too. My app's starting to grow now and I think bundling tests, templates and the implementation in a single folder makes sense.

Normally if I'm working on eg a directive I jump across all of it's files, so having them in a single folder makes it much easier.

From a grunt/karma POV, it should be easy to flag specs as: \*.spec.js
Because lots of day-to-day uses large datasets? Especially since 10,000 item array is considered "large" from that perspective.
It seems extremely light on actual science. It's been a couple of years since I worked with biologists but dealing with false positives with this type of thing (well, GeneChips anyway), specifying suitable probe sets, getting the experiment right and making sense of the results seemed like an ongoing struggle for the application (measuring bacteria species diversity) - if I remember correctly, comparison with traditional sequencing techniques were required to better understand how the results behaved with eg. species hybridization in these microarrays. But the field moves so fast and I never really grokked the wetlab side of things, so who knows...
So, I'm not entirely sure what the point is of the (2011) tags is, but my understanding is these are consistently and regularly updated and changed, made sure to be up to date. How much of a regularly maintained scholarly work needs to change before the year changes?
Tech Stocks Show Weakness Amid Uncertain Global Economy
For what it's worth, String in Rust is similar to StringBuffer in other languages. You can append to a String; you can't append to a slice, which always represents a fixed view.

A slice has storage that is borrowed from somewhere else, but it itself does not have its own storage.

When you type `"foo"`, you are creating "static" storage (in the binary) and the slice is borrowed from that fixed-position location in memory.

Mostly, your functions produce Strings and consume slices.
I expect the point is to get from a C compiler to an Arc prompt with "make install && arc". Much later, if you're worried about speed, you can install a C++ compiler and libraries, compile an ancient version of Racket, and do the other steps of the original install.
That's a very useful feature. Maybe I'll go ahead and learn Rust now. If it has a features like pattern matching, which seems about ten times more useful than the classic switch statement, then it probably has a lot of other insights worth learning.

If you were to start a hypothetical project written in Rust, what would it be? I'm looking for something to cut my teeth on.
GPLv2 (or later) at the moment. Might change to LGPLv2 (or later) soon, though.
If it's any useful, I have a playlist for coding.
https://www.youtube.com/playlist?list=PLz3__ZFxjQpStvjUHX-8c...
>Did anyone else experience the purple acrid smoke at the back of your throat?

Of nitrogen tri no. But soldering and having lead smoke blow back into your face is not a pleasant experience in the slightest. And the taste is so bitter, at least as much as it is sweet. It stays in your mouth all day too, you'll be going to sleep with bitter sweet still on your tongue.
Well, if you take some partisan grumblings, most hardware is devoted to C, but that's arguable: Frankly, C isn't as good a fit for those machines as the partisans make out, being rather too high-level to really take advantage of the vector opcodes and parallelism those systems offer.

Chuck Moore has made some CPUs which are really a nice fit for Forth, but I don't know if he considers them "Forth Machines" the way these computers were Lisp Machines.
I considered quoting something from the article to point out the hilarity of looking at a week of data, but really http://xkcd.com/605/ is all that matters here.
Just wish there was one option where I could download my snapshots. Untrap my images!
Nissenbaum on Ad Nauseum, resistance through obfuscation and weapons of the weak
VB is more so than C#. Instead of having the "dynamic" type, which lets you enable late binding for specific references, it has "Option Strict Off". That one enables late binding for every single reference of type Object in the file in which it appears.

And it's had that behavior for much longer than C# has; I think since the very first version of the language. Though I suspect that the implementation of late binding has become more efficient since the DLR came along.
If you have to ask you will never know.
Twig, at least, escapes by default. Laravel's Blade templates don't, unless that's changed recently.

But the price you pay for that of course is no longer working directly in PHP but a templating language with its own syntax (for instance, array shorthand in Twig templates [] has worked since I don't know when but only recently has PHP gotten around to supporting it) which has to be parsed, and partially compiled into PHP classes.
Graffiti is in fact already ported to Android:
https://play.google.com/store/apps/details?id=com.access_com...

This was a wonderful input method -- there is no need to reinvent this particular wheel.
Ha, I wrote this. Thanks for posting :)
Isn't that a good use case for Docker?
> The health risks of leaded gasoline were also obvious to many, and ethanol was known as a safe alternative anti-knock additive in the 1920s.

FTA: "Midgley spent months plagued by the effects of lead poisoning. GM's ethyl plant in New Jersey, meanwhile, was forced to close after several workers went mad and some died. The press renamed ethyl "looney gas". "

And yet it continued to be used for decades. A lesson, I guess, in the power of wealthy industries to be allowed to do whatever damage they want.

Also FTA: ". It was Midgley who invented chlorofluorocarbons - CFCs..."

One guy gave us CFCs and lead additives to petrol? Thanks. Thanks a bunch.
Says who? Last time I checked, in all major platforms (Windows, Mac, Linux) there are platform specific releases that are doing great (commercial and open source).

(note: I consider KDE/Gnome programs as "Linux/*BSD-specific releases", which they pretty much are in practice).
> Government isn't the answer to most problems and certainly not this. The market fixes this.

http://en.wikipedia.org/wiki/Just-world_hypothesis

There is no law of nature that suggests a free (laissez-faire) market fixes anything. More specifically, that style of pure capitalism only has one inherent trait: capital tends to become accumulated. While I, personally, think this kind of unidirectional focus is not healthy in the long run, the amount of regulation needed to mix into a market is a difficult and open questions.

> might have increased lawsuit exposure

Yes. That would be the entire point of regulation. You follow the legislated regulations or you get hit with some sort of lawsuit or fine or similar.

> because of someone's interpretation of what the permissible purpose of that permission might be.

I agree! This is a very difficult problem to describe in a clear, reliable manner. I suggest that the industry should be proactive on this; it would be a lot better if the people with the technical knowledge came up with some sort of permission scheme that avoided ambiguity and more accurately reflected what types of permissions the applications actually use.

The alternative is to wait for some well-meaning but technically inept legislation, and all the idiocy it implies.

> education of the public is necessary

Absolutely. This is always of vital importance.

> I don't trust legislators

Neither do I - which is why it is important to beat them to the punch with your own solutions and legislation.

"we had to create the future, or others will do it for us"
- Susan Ivanova, "Sleeping in Light", Babylon 5
Not trying to be snarky, but what makes you think that this one will not? The mainstream media seems to downplay it, and a good number of people online seem to be alarmist about it. I'm not sure what to think with the data I have available.
And that indeed is the real distinction between what Rust has and what other languages tend to have—the fact that &str doesn’t have its own storage. The equivalent to string types in other languages would be more like SendStr.

That functions produce Strings and consume slices is a good way of expressing it.
Minuum seems more interesting than this: http://minuum.com/model-your-users-algorithms-behind-the-min...
Weird to see this mix of a very imperative for-range iterative loop with a very functional pattern match, which makes it look similar to an SML or OCaml solution to FizzBuzz. I guess this is the definition of multi-paradigm right here.

Will Rust's type checker warn you of a non-exhaustive pattern match?
DigitalOcean: Untrusted Connection warning?
The warning shows up in all browsers including mobile Safari.

Screenshot from Firefox: http://awesomescreenshot.com/0da3n7xp74

Chrome & Safari have slightly different error messages.
Ycombinator application questions
I notice that the ycombinator application has changed a bit since the first one. Even some of the questions used in the yc "how to apply" guidelines section are no longer on the current application. Can anyone comment on this or are there some articles already written on this topic?
The C++ analogous, although not exactly the same, is to use a `make_vector` wrapper, like

template<typename...Args>
inline auto make_vector(Args&&...args) {
using T = typename std::common_type<Args...>::type;
return std::vector<T>{{std::forward<Args>(args)...}};
}
...
auto v = make_vector("asd", "dsa", std::string("asdsa"));

It will obviously not deduce types after the vector is declared, but it's as close as one gets to type deduction based on the vector's content.

There is one instance in C++ where information does flow backwards in a sense: disambiguating template overloads. For example,

using fn_type = std::vector<int>(&)(int&&,int&&,int&&);
auto v = static_cast<fn_type>(make_vector)(1, 2, 3);

In this case, the static_cast information flows "back" to the type deduction of `make_vector` to deduce what Args&& is. This is not very useful, just a curiosity.
Non-exhaustive pattern matching is a compilation error.
Here's the same approach in F# without the different types of String; therefore, easier to get more functional.

let fizzbuzz num =
match num % 3, num % 5 with
| 0,0 -> "FizzBuzz"
| 0,_ -> "Fizz"
| _,0 -> "Buzz"
| _,_ -> num.ToString()

[1..100]
|> List.map fizzbuzz
|> List.iter (fun (s:string) -> printfn "%s" s)
That's a lesser disloyalty, considering the whole thing is on an android device
Camel Captures Google Street View of Liwa Desert
Thanks! Which particular speaker was this?
These are easy things to fix: feel free to issue a few pull requests. :)

Regarding rawmemchr(): both are pretty well optimized. Both are implemented in glibc using the same technique (reading a byte at a time until it is aligned, then moving to multibyte reads). strlen() might be faster, yes, considering that the implementation can hardcode some magic numbers. In other words: some micro benchmarks might help decide here.

Regarding __linux__ vs. __GLIBC__: Lwan works with some alternative libcs (such as uClibc), so relying on __GLIBC__ being defined for things like this doesn't seem like a good idea. In any case, since Lwan isn't portable anyway, one can just assume it is always running on Linux and get rid of these #ifdefs.
Let’s write a Chip8 emulator in Kotlin [Part 1: A simple Disassembler]
Thanks for the help! Is there other details I can provide to get more advice?
that's a good point I suppose.
I don't think the RAD languages really died, their most useful features just become so standard that they stopped being notable. Visual Basic .NET and C# have more-or-less exactly the same tooling for developing UIs, for example, and on the Apple side of things there's still Interface Builder.

I could see something similar happening with dynamic languages. Over the past decade, the things that once irritated me about working in static languages have largely been addressed as features like generics, type inference, and interface polymorphism became more common. But I can't imagine dynamic languages will ever go away, if anything because they're still so successful in the scripting domain.
I believe it contains on the order of twice as much flux, but I can't find a source for that at the moment. So I don't think flux fumes are much more of a concern than with leaded solder (for which you should have good ventilation or a fan). I did have a ball of solder shoot towards me when I was first getting a feel for it, so you definitely need safety glasses, though I understand this can occur with leaded solder as well, and you want to wear glasses anyways to keep clipped leads out of your eyes.
Large scale war? Give me a break. The white flags will go up as soon as people loose access to their facebook streams or hackernews for that matter.
CSS3 animation cheat sheet
How Two Young Entrepreneurs Started a Bidding War on Shark Tank
How to Get Ahead
OVH is awesome, super affordable but its dedicated boxes mostly.

Heroku is another option but quite expensive.
AFAICR instilling an entrepreneurial spirit was a goal of the Diamond Age's Young Lady's Illustrated Primer.. Here's an interesting take on it:
http://proto-knowledge.blogspot.com.au/2011/11/building-youn...
Definitely check out other articles on the author's blog; he's a great technical writer.
YouTube Takes Manhattan
Yeah, frameworks that use raw PHP files as views at least have that as an excuse. But the cost of using a simple template engine with good caching support seems to be minimal compared to the benefit of XSS prevention. CodeIgniter, for example, can convert short tags to full PHP tags if short tags are turned off in php.ini. They might as well wrap htmlspecialchars() around every {$var} while they're at it.

Non-PHP frameworks, on the other hand, really have no excuse.
The idea of relabeling "feminism" is not new. A quick search finds a summary of replacement ideas at http://jezebel.com/5828798/the-catchy-new-word-for-feminism , with 'equalitarian' (a 200 year old word) taking the lead.

Unfortunately, that word already has a meaning in economic analysis. Eg, https://www.marxists.org/archive/marx/works/subject/hist-mat... : "The traces of common ownership which are also found in the early stages of the new religion can be ascribed to solidarity among the proscribed rather than to real equalitarian ideas."

Still, many other words have been proposed (and discarded).

But I'm really writing to comment about:

> I'm not sure what "term" should replace feminism -- in the workplace I'd suggest "professionalism". After all everyone wants to be treated professionally, not just women.

The problem here is that "professionalism" is not well-defined. Is it professional to drink alcohol while at work? What about at a conference? At a conference reception? Is it professional to leave your desk cluttered at the end of the day? Is it professional to wear shorts at work? What about to not wear lipstick? Is it professional to take 6 months off to be with one's newborn? Is it professional to participate in a protest march (during off hours) against the company? What about if it's to protest discriminatory hiring practices in upper management? Is it professional to insist on 9-5 working hours, or is it professional to work as long as you think it takes, or is it professional to work as long as your boss thinks it takes?

"Feminism" means that people should have the same political, economic, and social rights no matter if they are male, female, or don't identify as either sex.

What's the equivalent for "professionism"? As best as I can tell, it's broadly defined by whatever the people in power (ie, your boss, or anyone else who can fire you, or your customers) say that it means. There's no underlying philosophy which guides changes in the meaning of "professionalism". One upon a time it was unprofessional to have women working in the office, or studying at universities. That didn't change simply by being "professional."