skysight-inc/HackerNews huggingface dataset:
Sure, but it's not a post about the bestest solution. It's a post about how using more advanced math can ("can" not "will") lead to a worse solution for your context. Fibonacci numbers in a long int is certainly a toy example; but it's a toy example that had an actual reference.
It's interesting to note that one can get O(lg (n)) complexity of analytical solution without using any floating arithmetic. There are at least two easy ways to do it: one is to recognize the analytical formula as a result of diagonalizing certain linear map, and calculate nth power of that map using repeated squaring instead of diagonalization. In more concrete terms: consider a square matrix A = {{1,1},{1,0}}. To obtain nth Fibonacci number, raise A to the nth power and take lower left entry. Clever multiplication by repeated squaring lets one perform only a logarithmic number of matrix multiplications instead of linear number using naive method.

Another way is to interpret analytical formula in Q(sqrt(5)) ring, and implement Q(sqrt(5)) arithmetic using quadruples of integers. More concretely: suppose we have two numbers of the form a+b sqrt(5), c+d sqrt(5), where a,b,c,d are rational. then their sum is (a+c) + (b+d)sqrt(5), and their product is (ac+5bd)+(ad+bc)sqrt(5). Thus, just like we usually represent complex numbers as pairs of real numbers with special multiplication formula, we can represent elements of Q(sqrt(5)) as pairs of rationals with special multiplication formula. then we just use the analytical formula for our special number system. I've implemented it a while ago in Haskell: https://github.com/xyzzyz/FibBinet
I've never heard of HAML before. From the website, is it literally just "markup should be beautiful"?

I mean, LESS/SASS add real functionality. Even CoffeeScript adds functionality to JavaScript, beyond just changing the syntax. But is there any functional advantage to use HAML? Is it actually worth half a chapter of an "advanced guide to HTML & CSS"?

(Totally my opinion, but it doesn't even look clearer or "more beautiful" to me, but maybe that's just because I'm used to HTML.)
He may be exaggerating a bit, but once video is done, it is done for quite a while... meaning highly repeatable.
While in principle I agree with you, the article references an extremely simple application for the sake of example. In reality, you would never build an application this simple in this manner. An article showing how to do this with a real webapp from beginning to end would nearly be book-sized.

When building an actual webapp, the Backbone method is going to be much easier to extend, test, and understand versus jQuery spaghetti.
I bet it automatically rejects porn for featured spots now. Features like that tend not to get put in until somebody screws up. It's too easy to think, "nobody will ever do this in the first place."
"Overeducated" implies that there is some upper-bound on the appropriate education a person should receive if they have a particular career. It is the sort of elitist, aristocracy-favoring view of the world that we should be trying to discourage.

Of course, when going to college means taking on mountains of inescapable debt, not getting a high-paying job afterwards is problematic. That's why we need to change the way we pay for college education, so that we can have a society of well-educated independent thinkers, rather than one where people start out in life just a millimeter away from indentured servitude.
New visa program aims to lure entrepreneurs to Canada
Which keyboard would you recommend, I have a Galaxy Nexus, and use to for emergency ssh sessions when I dont have access the computer.
Grabbed scrawlit.com, namedby.com, and lovefar.com. Thanks a bunch.
If people didn't think FB was making things more open and connected, then why are they even on the site (and returning frequently)? It may not be YOUR narrow definition of open and connected but clearly they are deriving value from connecting and sharing with their friends and family.
> It is treated privately - it gets anonymized, so there's no privacy violation going on in the first place.

Fat chance. Say I wanted to edit my resume, so I pop open Dash and search for "John Smith Resume". As long as they send up "John Smith Resume", they know a) my name, and b) that I'm looking for a new job.

> Do you expect privacy when you search in a Google search box also?

Apples and oranges. I have different expectations when searching local data than when searching public data. If something's indexed by Google, it's not secret obviously. If something's on my hard drive, it might be secret.
Coding Freedom: a review
This is minor, but I don't think the umbrella icon makes sense for the "Small" plan given the constellation of craft that you use to illustrate the growing size of the larger plans. Perhaps a bicycle or a small compact car icon would do better?
Good point re: 'the Ubuntu Software Center selling proprietary software [...] goes directly against the Ubuntu Manifesto'.

http://www.ubuntu.com/project/about-ubuntu/our-philosophy

> every computer user: Should have the freedom to download, run,
> copy, distribute, study, share, change and improve their software for
> any purpose, without paying licensing fees.
I think it's a bit more important to look at which degree was obtained, not just that a degree was obtained.

I don't seem to be having any issues here with a CS degree.
Open source projects or nonprofit volunteering?
As engineers (or any other profession for that matter) we have a lot of spare cycles , be it on weekends or other days. I've always felt the need to use my skills as a techie to somehow contribute to non-profits or other projects that can have a positive impact on society. But then there's always the next open source project to contribute to.
I wanted to reach out to the HN community to ask them how they best use spare time to contribute to other projects or organizations. Whether they work solely on open source projects or take time out to help out non-profits with certain projects too ?
Maybe this way i'll get some ideas which projects/people/organizations to approach to help out.
Vine has exploded in my Facebook and Twitter feeds over the past 4 days. Seems everyone is "trying it". Whether or not that will translate into real traction, it's hard to say.

But I don't think "they don't seem to have lots of active users" is true.
Senators Offer a Bipartisan Blueprint for Immigration
Acer: Windows 8 has been a big dud, but Chromebooks rock
The article really isn't about speed, it's more that engineers shouldn't necessarily take mathematical results as the end-all to their considerations when developing an algorithm. Math is important to formulating algorithms, since it can provide, in theory, a closed form solution for something typically done iteratively (the example here: fibonacci numbers). But you still need to verify when an algorithm is going to be correct. In this case, it's pretty well known how inaccurate floats and doubles can be within X significant figures, and this is why I've always said the analytical solution doesn't really work on a computer unless you have a CAS library that can approximate an exact answer to an arbitrary number of significant figures (and it still won't be accurate if shoved into a float/double afterwards). So there's a trade-off, and choosing the theoretically best solution (a closed form solution) isn't necessarily the best possible choice for the task. In this case, yes, if we only need the first 96 fibonacci numbers, ever, in our program, it makes more sense to pre-compute them. However, if we only do the computation once in the entire program, even that doesn't necessarily make sense. It entirely depends on the application, but that's the entire point: a closed form for fibonacci numbers isn't the end of considerations.

I am curious though, why is it so many people are oblivious that there's an O(logN) time algorithm to compute fibonacci numbers iteratively on integers? It's a beautiful piece of math, and very simple so everyone should understand it. Just notice that:

((1, 1), (1, 0))^N -> ((f_{N+1}, f_N), (f_N, f_{N-1}))

given N > 0, where f_N denotes the Nth fibonacci number. For SW engineers who are actively interviewing: does anyone still ask you to write a function to compute the Nth fibonacci number in technical interviews?
How base works:
In base n, you have a number that looks like a list of digits
ex. abc. Let's notate that c = number[0], b = number[1], a = number[2].
Then the value of the number is the sum

value = 0;
for(i = 0; i < numberOfDigits; i++)
value += n^i + number[i];

Or, it looks like a(n^2) + b(n^1) + c*(n^0).

So, if you have a base less than 1, you get smaller as you go to the left.

Also, if you have a negative base, you change from adding to subtracting every digit. In a sort of "That'll take 2 years, minus 4 months, plus 2 weeks, minus 3 days" sort of way.
As much as this sounds like a good idea this seems premature. Not enough information on any of AI's products keeps me in question...
I'm glad someone else noticed this. I actually left a comment on that post which I'll paste here since Disqus and blog comments can be flagged/deleted easily:

I am over 40. In fact, I moved to Silicon Valley when I turned 40. That means I've experienced just over 40 rotations of the Earth around the Sun. I'm looking forward to my new career in celestial mechanics.

I'll pause while you absorb that.

If you are 40 years of age then it is likely you have some number of career accomplishments that can be enumerated and, oh, I dunno... described. However, to simply state you have 10, 11, 13, 20, or more years of experience means little or nothing. "Years of experience" is simply a throw away resume filler on par with 'fresh new ideas un-jaded by years of experience' would be for someone with zero years of experience. i.e. nothing to brag about

Perhaps, focus instead (see also: brag) about career accomplishments that can be enumerated, what you want to accomplish, and who you want to accomplish it with and when.

Lastly, I'm searching for any substance in your post beyond name dropping as a blog post slug, not so thinly veiled personal animosity, and garden variety denigration of women.
The problem with using Random for displaying nice touches and reminder notices is that, well, it's random. It won't take very long for a user to get a rare and annoying "Have you thought about upgrading?" (or similar) message three times in a row, at which point they're likely to get annoyed.
These Media Companies Have A Cash Problem
While US is focusing on increasing temporary H-1B visas (http://thehill.com/blogs/hillicon-valley/technology/279227-b...), Canada introduced a new startup visa that will bring entrepreneurs (not temporary workers) to Canada. Very smart move for Canadians.
I presume that that comment was directed at the, "...it's a little irresponsible..." bit. Not the contacting professionals part.

I am all for contacting professionals. Stalking is potentially a life or death matter. You don't want to go with random advice from random people on the internet.

That said, if your professionals offer advice similar to what professionals in the past have told people that I know, this will be the basic message. Once someone has formed an extreme enough obsession that it becomes stalking, there is no easy way to let them down. Nobody can predict who will flip out, or what manner that will take. The legal system does not offer effective protection against people who have not actually broken the law yet.

Therefore people that I know who have talked to professionals in the field have been told that if the stalker has not yet turned negative, cut off contact, and be careful to avoid confronting the stalker with how unwelcome the attention is.
Vine is getting attention in part because it was acquired by Twitter, and is Twitter's move in the video space.

However, Vine got acquired by Twitter because it took something that was rather complicated - editing short video - and made it really easy through the use of constraints and simplification. (They were also well connected enough to get an early version in front of Jack Dorsey, and he got excited enough about it to persuade Twitter to buy them immediately.)

If you want to replicate their success, you could start by finding something that people would like to do but is currently too hard, and then by stripping enough things away from it to make it really simple and intuitive. Sounds easier than it is, though.
It seems like a general need as well as price. I used to buy every textbook (even the optional) but in hindsight, I was never held to anything in the optionals. The course packs were the real value added content.
Use "Blog" for blog. Use "Blimp" for your main website.

It's not that hard.
I've always done html elements with long attribute lists, simply multiline:

<div attr1="val1, the first one"
attr2="val2, maybe this one is much longer"
attr3="you see where I'm going with this"
attr4="and so on...."
>
Div content goes here
</div>

What do you mean by "run a translate" though?
Creating a dynamic modular multi-page app with Backbone.js and Require.js
I reread the article with that in mind, and it makes much more sense, to the point that I am inclined to agree with much of what you said now. I think you should highlight that difference closer to the beginning of the article. That is a nice, subtle play on words.
Just wanted to add that 1) this is freaking awesome, and 2) some of the formatting gets messed up and makes the answer difficult to read. For instance... well, actually I don't know how to link directly to one of the answers. Scroll down to "Difference between __str__ and __repr__ in Python" on this page[1]. I was having difficulty understanding the sentences, then I realized they were actually bullet points put together.

[1] http://www.stack-ed.com/#tag/python/user/14343/Ned Batchelder
Even ugly hackers should embrace picture time.
Yeah...something like that...
I am actually a little leery of the thread additions and the atomic additions. I feel that shouldn't be a part of the language specification and I would much rather see that incorporated at a higher level.

What higher level? POSIX? Personally, I believe things like atomicity and alignment do belong into the language specification.

Also keep in mind that the multithreading support as specified by C11 is closely aligned with C++11.
Perhaps. However, I was from a middle to upper middle class family and had a ridiculous amount of financial aid and merit scholarships. For a 40k/year school, my family was paying about 5k total, and I graduated with no loan debt. So to an individual, it seems like this policy screws you over, but in general, they are extremely generous, and this policy allows them to move money to other people who need it to afford to come there. There are certainly arguments against it, but a blanket statement like "WashU screws its students over" is certainly unwarranted.
It should be noted there is a difference between "not in repos, so I have to manually build, but it works" and "there is absolutely no way to run this software on this platform due to the processor".

It is really promising for the current software written against glibc and friends to have all these arm devices running homebrew ARM builds without many hitches.

Especially compared to a platform like, say, Windows, where even though there is an ARM version (Windows RT) which is extremely stripped down and awful on all fronts, there is no software for it because of API compatibility issues and the fact that without open source recompiling most of the Windows software catalog is impossible.
The Object Formerly Known as the Textbook
I guess I can't see the need to do any of those things on a bus, or on the street. It's extremely rare that I would have to do something that couldn't wait for an hour or two until I'm either at work or home.
Encouraging is not mandating though. But they're definitely on the right path, now they need to see it through.
I think on the scale of "all immoral things", if you were to rank them from 1 to 100, taking someone else's CSS and HTML has to rank as a 1 or 2.

And it's so trivial to modify the CSS class names, and reorder them... How easy it would be to copy it and never get caught actually makes it less immoral to do.
That's an awesome finish to that story.

Anonymous stalking has always struck me as self-defeating. You want attention drawn to your existence, but don't want to admit who you are? How is that useful?
The next-gen console tech hiding in plain sight
How can trustworthiness be objective while trust is subjective?
No. You don't put your relationship with Apple and the App Store at risk for a 'publicity stunt'.
Education is not just about jobs. The better educated people are, the harder it is to take advantage of them regardless of what sort of job they have. Communities benefit from having educated people living in them -- people who can solve problems, mediate disputes, and organize to improve the community's situation. A democracy requires an educated populace in order to ensure that rights are not violated, that bad laws are repealed, and that an aristocracy cannot hijack the system at everyone's expense (bonus points if you can name a major world power that has that problem).

At the end of the day, that is what this is really about: not having a society ruled by an aristocracy. Public education is meant to ensure that poor people can receive a decent education, to ensure that society does not fall into a pattern where only rich people are educated enough to run the show.
About 6km, for non-americans.
Except for the fact that there are plenty of installations in enterprisey environments that don't get updated regularly enough.
Interesting question. I'm not sure - it doesn't seem intuitively like Twitter / Dorsey (as far as i can tell Vine is Dorsey's pet project) would stoop to that kind of stuff.
I'd greatly appreciate it if you left this as a comment on the original post.
It's simple, simulating C. elegans will not net you a billion in funding. It's not sexy enough.
nostarchpress is pretty good. you can simply email them your idea and if they like it, will parter you with editors and designers to take care of all the typesetting/layout. this according to some friends of mine i'm not published by nostarch

sounds better than the rest of the publishers who want a full draft

i'm too obscure to be published, i have no alphabet soup credentials so i self publish. majority of sales were from my site which was linked in the ebooks i sold on kindle, warriorforums and smashwords

never heard of LaTeX I'll check it out, I write everything plain text in emacs and then pay somebody in Uzbek to slap it together using minamalist design
I've listed all the coursera courses I have taken at the end of my resume, in one line. I think it shows that I believe in teaching myself new skills all the time, on my own time, without needing an employer to train me. But it doesn't have much value beyond that.

Given two candidates of equal skill and experience, I would hire the one candidate that still likes to learn new things on their own. It's a good trait in a developer.
I'm culturally Asian and have a great number (>50) of relatives living in Asia (mostly Hong Kong). My cousins sound exactly like this...
Pushing back against licensing and the permission culture
One of the definitions of "armed combatant" is "person killed in a drone strike", so don't worry.
I believe so. For them an instant thing they could do is just ban certain tags such as #porn and others that still work. I believe it is a calculated thing they are doing. However it does put them at risk of being banned from the App Store like 500px so perhaps not. Perhaps they do not have the resources to deal with the problem.
Tracking Your iPhone's Location
One concern is that Ubuntu is probably shaping up to start rolling release and Wayland support in 14.10, and they face a current real issue of dealing with X in the embedded space. If the launch the phone with 14.04 (though, they don't have much of a choice if aiming for an H1 release) they end up ripping out the graphics stack half a year or a year later if they use X.

And there are still those awful rumors of Canonical writing their own windowing server and compositor. They spread themselves so thin sometimes that you rip the bread apart.
Best light gun game: Virtua Cop (Saturn)
There are webservers for Symbian.
I get the point of the article, but it seems like defaulting to a compiler optimization that might not be in other compilers is a poorer solution than examining the problem for another Math solution. You yourself have shown one.

Computer precision is a problem and programmers should learn a lot about how ints and fp work, but throwing out all Mathematical solutions is really not a good idea.
Vine is about forcing creativity and curation of the visual world around us. 6 seconds really limits the amount of content you include in order to tell a simple story. The 140 character limit on Twitter, whether purposeful or not initially, also forces this creativity and simplifying a message to give as much meaning possible in as little space possible.

Imagine if Twitter had / was able to acquire Instagram. That, plus Vine, and I'd say Twitter would be on their way to helping rapidly kill Facebook; Now Facebook's death with just be a bit slower, and they may own some more assets that might be worth something.
Zero may have originated in India, but it indeed was preserved and then transmitted further not by Indians. It's not hard to understand Peter BetBasoo's feelings toward Arabs/Muslims, but it's improbable that the Muslim progress stopped because "the Christian Assyrian community was drained of its population through forced conversion to Islam" and "it ceased producing the scholars that were the intellectual driving force of the Islamic civilization". Mr. Muhammad al-Khwarizmi (who's name is bared by the "Algebra") was a prominent scholar born in a traditional Persian family (not Arabian but Muslim nevertheless). I agree with mda (a post in the same level as yours) - it is unfair to reduce everything as just "sitting neatly between".
>The vast majority of mankind do not have safe and enjoyable life.

My sentiments exactly.

>The reason for that is not enough progress.

No, the reason for that is not enough political action for solving that.

It's not like we don't have enough food, resources of technology to solve all of those problems. And it's not like any new technology is applied to solving them.

People are dying (by the millions) by problems that can be solved by 200 and 300 year old technology.
I don't think they'd want to be involved in censorship.
Thank you for your (and jimrhoskins?) considered replies to what re-reading could have been taken as inflamatory.

I think I worried about the trauma of copying BigCo culture - I like Treehouse's approach and hoped I could put up a warning flag.

Having said all that, good luck.
I would add to that: being a cab driver out of college doesn't mean you are making a career out of it. It's called an "entry-level" job for a reason.
In Big Tech, Bet on Companies That Seek a ‘Better Way’
Apple needs to be ban all content-creation related apps if they don't want to be hypocrites and/or a bully.
The apps built against it will be using qtwebkit, I imagine they will go with webkit. Maybe use a reskinned rekonq or some other qt based browser as a "default" browser.

What I'm more worried about than the choice of html engine, is if they are going to use chrome or firefox webapp manifests, because they are incompatible and one of them is necessary for first class web applications.
You probably missed the "kidding aside" part, where I write in the middle of my comment "KIDDING ASIDE".
Have they been removed? I thought they were just downgraded from a mandatory feature to an optional feature.
The Earliest Computers And The Beginning Of Journeys To Unknown Places
I just picked up one of the domains. Thanks for the gesture, and best of luck with Cogniso!
I doubt that Monk said that. It sounds more like something people would say about him.
Show HN: real world git "interactive" tutorial