skysight-inc/HackerNews huggingface dataset:
Some thoughts from an ex-CL'er that has dabbled in Clojure for 3-4 years:

Clojure's combination of declarative idioms and highly functional idioms (to a greater extent than CL) lead to it being able to by default express certain things in a more terse fashion.

http://rosettacode.org/wiki/Factors_of_an_integer

Compare Common Lisp and Clojure here.

Common Lisp:

(defun factors (n &aux (lows '()) (highs '()))
(do ((limit (isqrt n)) (factor 1 (1+ factor)))
((= factor limit)
(when (= n (* limit limit))
(push limit highs))
(nreconc lows highs))
(multiple-value-bind (quotient remainder) (floor n factor)
(when (zerop remainder)
(push factor lows)
(push quotient highs)))))

Common Lisp in this case is relying heavily on mutation with push. It's not that much better than a typical loop in an iterative language like Python.

Clojure solutions:

; Trivial version
(defn factors [n]
(filter #(zero? (rem n %)) (range 1 (inc n))))

Initial version just does a filter and a lambda across the sequence produced by range. inc so that it includes the final result. Pretty functional.

; Less trivial
(defn factors [n]
(into (sorted-set)
(mapcat (fn [x] [x (/ n x)])
(filter #(zero? (rem n %)) (range 1 (inc (sqrt n)))) )))

Now we're getting a little more clever, relying on mapcat, filter, a lambda, and range.

; Now with a for-comprehension.
(defn factors [n]
(into (sorted-set)
(reduce concat
(for [x (range 1 (inc (sqrt n))) :when (zero? (rem n x))]
[x (/ n x)]))))

http://clojure.github.com/clojure/clojure.core-api.html#cloj...

Take a look at the other things that work across the seq'able data structures. Pretty powerful base set of idioms.

Okay, but lets provide a second opinion on these idioms. What about Haskell?

import HFM.Primes(primePowerFactors)
import Data.List

factors = map product.
mapM (uncurry((. enumFromTo 0) . map .(^) )) . primePowerFactors

Using a primes module for finding prime factors. Okay, isn't that kinda cheating Rosetta Code though? I was kinda hoping to find the equivalent of the Clojure code.

And Mathematica?

Factorize[n_Integer] := Divisors[n]

FFS.

I give up. These are dumb comparisons. Don't listen to this Wolfram post. At least the Common Lisp/Clojure code wasn't pointless.
Am I missing something, or the solutions have vastly different approaches, sample code, etc? What will you get by measuring that?
My friend had a Boxee Box and it was UNSTAAABLE. I saw it freeze up or restart way too many times. Unacceptable.
how about pastebin? http://pastebin.com/N3FXdisP

edit: ah, beaten to it. oh well
Robot Mirrors Our Emotions To Be More Social
Venture Capital Deals
Risk I/O, a Chicago-based vulnerability intelligence platform, has raised $5.25 million in Series A funding. U.S. Venture Partners led the round, and was joined by Tugboat Ventures and Costanoa Venture Partners.
Manual Paper Textures
We wanted to design paper with a special texture. It is not such a difficult procedure.
Anyway, the results can be great, of course, depending on the imagination and the experience you have.
You can do composition in functional style, which is not OOP. So OOP is not necessary for composition.
I've actually enjoyed the first two episodes (half watching while programming); they're are quite entertaining! I think it's a bit unfair to judge the overarching merits of the personalities depicted just yet because we haven't gotten to know most of them. We know Sarah Austin, the life blogger, and the Way duo. The first 2 episodes haven't focused much on Kim Taylor, who has, in fact, worked in the industry over the past few years. Nor do we know much about Dwight's ambitions (yea, we've seen him party and make some general statements about his goals, but we don't know much about the process he went through with regards to Carsabi), though he and his co-founder are apparently Berkeley grads.

If at some point we get to more more about the lives of these two over the last 6 months, I think the overall tone of the show will have shifted.
Nice bit of detective work, it certainly would seem that this could be another case of a 'bad guy' deciding to use his skills above board to make money. The question of whether or not the company will be 'legit' is completely bogus though. It isn't an uncommon path for folks and when they've gone above board they have been just as faithful to the 'protect' mission as they were to the 'attack' mission. About the only thing you can really say is that if this guy really is a state sponsored actor then is Anvisoft a cover for the Chinese military.

Answering that question would be a lot harder. Is Semantic really being run by the CIA? Sure there are tinfoil types will say they do, but seriously?

A long time ago I was talking to some folks about running x86 'emulators' on SPARC for a product that would let you run PC programs on Sun Workstations. One of the 'side' businesses that such an endeavor enabled was sharing how various copy protection schemes worked with folks who were interested in providing workarounds. I could believe that a state sponsored Antivirus company would pass on details of zero days they got by watching other things try to break into systems they were on.
94 Percent of the World's Top 500 Supercomputers Run Linux
Every sufficiently famous person has his/her critics, and everyone - saints included - have flaws, whether or not those flaws are publicly known.

I doubt there's a better example.
I am suddenly seeing a lot of negative stories on Papa John's - on reddit and now on HN - over the last few days. Did I miss something in the news?

First, I saw a boycott thread on reddit and now this news about the lawsuit. As far as I can tell, all these actions seem to have kicked off after the election results due to the anti-Obama stance of "Papa John". Can someone help me with a link that is the source of this current backlash?
I've run servers off residential IPs before. I use to maintain a community box for me and a bunch of friends when I lived with my parents. It wasn't fast but it met our needs. The only problems I ever ran into with the ISP was when I tried to run a mail server.
It could work, but support for Nexus 4 would be very experimental. For that specific device, unless you really want an adventure, I'd recommend sticking to Android for now.
This was the book I used for my Algorithms class, along with CLRS. I much (much!) preferred this one for its brevity and clarity.
> Every try debating a TSA agent about how many explosive shoes they've seen in their careers?

No. As a dark-skinned person with a short beard/light stubble, I doubt that would go over well....
I still believe that the book which taught me the most useful lessons about object oriented programming was Code Complete (first edition).

It was written before OO programming was popular. The concept is not described there. But if you've read and understood its description of things like abstract data types, it is obvious where and when OO is going to be an extremely good hammer to use. And - just as important - you're not going to wind up endlessly searching for nails for your OO hammer.

When I see things like http://www.csis.pace.edu/~bergin/patterns/ppoop.html it is clear to me that someone does not understand the value of simplicity. I don't care what complicated theories you have about what kinds of code are easier to refactor. Less code is generally going to be easier to change later. If need be you just rewrite it.
Kyle Simpson: Stop Using Native HTML5 also, BROWSER VERSIONS MUST DIE
I code my site by hand... each and every page... for these same reasons. I need to figure out templating because it has become quite tedious to update links and I'm only at <50 pages!
Damn, I forget the name of the story, but I read one set on such a rogue planet. They were facing a catastrophe - their low-temperature planet was going to pass through the solar system, and they needed to work out a way to prevent themselves from being cooked to death.

Wish I remembered the author or title, and I wish even more that the author would expand it into a full-length novel.
In the case you mentioned, with a clear perception of a problem being fixable within a nights work, I of course agree, that's the time to keep on working.

But I think we will probably disagree on the right time to call it quits.

In my book, that is when the situation is more diffuse, like the hard-to-find bug on a real-time enterprise system with many integrations, and your team is fatigued, having spent 20 hours already trying to fix it, with no clear outlook on when it will be done.

If you keep on at this point, you run the very real risk of turning a manageable bonfire in the kitchen into a wildfire that takes down the whole neighborhood. I.e. direct contra-productivity in the form of unintended side consequences and breakages introduced by bleary-eyed programmers. Such issues can often end up putting the system down for even longer than it otherwise would be.

In a standard, non-live development situation, the effect will be less immediate, like slipped schedules and high defect counts, sometimes turning into the classical "deathmarch" project where there is a constant feeling of one step forward, two steps back.

The risk and impact of course varies a lot from situation to situation, so just to be clear I am not categorically stating anything here: Calculated risks can be okay, and everything has exceptions, especially when it is a production / sysops crisis versus a development deadline crisis.
It's not a frivolous lawsuit when millions have been harmed even to a small degree. Plus it's not a small degree; it's a rather large fine per text. Whether the fine should have been enacted by Congress is debatable; whether it should be paid once it's been enacted, especially when enacted so long ago (1991), is much less debatable.

"Simple arbitration" is a euphemism for when the arbitration company is in the defendant company's pocket, so that they almost always win, as is the case for today's arbitration clauses in contracts. The court system is the fairest big-case arbitration system we have today.
Sure thing! It could work on older models, but every model is different with different drivers as well, so tread carefully. :-)
McAfee's Unusual Gospel of Wealth Led Him to Belize
Why Gladwell’s 10,000-hour rule is wrong
Actually, I think their plan is to go to the Magellanic clouds, following the rest of the Known Space species who would get there before them via Hyperdrive.

It's been awhile since I've read the series, the Ringworld novels bored me.
When devices are released, I hope they will be priced in an attractive manner.
Isn't this generally what investors look for in a market? Something large enough that even a small share can earn a handsome return? I wouldn't judge Dwight on that statement alone; Ms. Zuckerberg just needed something juicy for her audience. My guess is there's much more to him than that.
I watched it a few years ago and it was a good documentary for sure.
<!--#include virtual="insertthisfile.html" -->
Looks like a sales/SEO play for a Solr/ElasticSearch consultant. Still seems pretty helpful as a community resource. I emailed the author to see if he's interested in setting up a public GitHub repo to take pull requests.

Personally, I'd like to see similar comparisons for other search engines, like Sphinx and Postgres Full-Text. When I talk to people about search engines, the first questions they ask me are to compare one against some other.
In the linked blurb it's mentioned as an alternative to inheritance, so clearly he means it in the OOP context.

(and yes, one should usually favor composition over implementation inheritance)
Kill the project, people hate any social network that isn't a major one like facebook or twitter.
"I doubt there's a better example."

There are plenty of better examples, but they couldn't afford the PR agencies and myth-creators.
Jammie Thomas-Rasset was sharing 1700 songs, and they asked her for $5000. What do you think would be the ethical amount for them to ask for that many songs?
Powering Mobile Applications with StackMob #appdevchat Nov. 15th at 10am PST
The thing isn't that this show is necessarily inaccurate, but that it betrays the spirit of what startup culture is supposed to be. A large reason why I, and I suspect many other people, got into this is that it was seen as a true meritocracy. It's supposed to be about people building something other people love. Nothing else is supposed to matter. It's not about your dad's friend being the boss, or that you were both alums at the same Ivy league school, or brothers in the same fraternity. It's supposed to be about your ability to create real value.

This show makes it seem like what we're doing is the bad parts of Hollywood mixed with the movie the social network. Again, it's not that it's necessarily inaccurate to some, but, at least for me, it's not what it's about. I just wish that a show like this could have promoted startup culture as a kind of culture that promotes tearing down barriers and your merit being based on how hard you work and what you accomplish.
Given that Rob Pike embraces neither OOP nor functional programming, one has to wonder what he really means by composition.

The closest thing to composition or reuse in Go are the typeclasses and it's pretty weak. I hope he enjoys specializing his maps and reduces for every type instance.

Rob Pike has in the last few years spent a lot of time complaining about the younguns and the slightly less young younguns, but I've not seen him talk in concrete terms about what he thinks the solution is.

Other than, "use Go", which doesn't actually answer the questions that are raised by his complaints. Like how Go somehow supports composition in a superior way. I've spent some time with Go, built a few projects and services. I wasn't impressed.

I'll just keep using Clojure and Python until Pike starts talking about what he actually means to do to solve these problems.

Hickey is an iconoclast too, but he's sensible enough to stay focused on what can move the profession forward as opposed to complaining profusely on Google+ every other week.

If you really want to learn something interesting, you'd be better off learning about the fundamental relationships between code, data, state, and objects such as Hickey has covered in his past talks.

They're enlightening even if you don't care about Lisp and the talks themselves aren't really in terms of Clojure except to explain how it does things differently.
> I can only read it as a joke -- the title is almost 'poop'

Don't be so sure!

POOP is the accepted term for Perl Object-Oriented Persistence - without any trace of irony, as far as I have ever been able to tell.
You also have to factor in error correction overhead for TCP transmissions. I find it pretty accurate to shift the decimal one spot to the left when estimating maximum real-world Internet transmission speeds in bytes, rather than dividing by 8.
That was the direction they were heading in, but a pretty decent chunk of them didn't ever want to go back to living inside a galaxy.
Roku doesn't support Youtube... that was a deal breaker for me.
Cool move, youtube has been creating such cool value adds, the concert tickets and mp3 purchasing comes immediately to mind. I think this could easily extend to a compelling second screen experience, where users would be able to buy the furniture in some scene of a show they're watching.
I love that Compuserve is $11.75 an HOUR, and the description of online chatting as a "CB Simulator".
Oh, it's definitely still bullshit. You're right, it can ruin games directly, and even indirectly as others may assume you have an advantage because you're the host and quit. Dedicated servers are indeed simply better on games with more than two players.

I just meant the outrage over it seems to be much less a thing now. Now it's just accepted that this is how it should be done. I think like afterburner suggested in the sister comment to this one, those who were seriously offput by it have left and that's that.
Actually the author clearly states as much:

"Object-oriented programming [...] is a powerful idea. It truly is. But it's not always the best idea."

The problem is the opionated flamebait title submitted to Hacker News, the text of which is nowhere to be seen in the Google+ post itself.
Another archetype is the guy who tries so hard to be a "brogrammer". Sadly those guys exist too.
By the way, the risk of a collision with 10 times more members is much more than 10 times as likely, due to the birthday paradox.
On the other hand, you're asking for advice on a random forum :)
Tire was what convinced me to choose elasticsearch over Solr. A lot of the features described in this document do not apply to my needs, but the speed in which we were up-and-running with elasticsearch because of tire was hard to match.
Matt Wynne raised a good point in a recent talk about hexagonal (Ports & Adapters) architecture that I agree with.

People are exploring new ideas for building software. Why is that so wrong? Instead of attacking people for adding unnecessary complexity or doing it "wrong", why aren't we praising them for thinking about new solutions and approaches to problems in software?
I'm on Time Warner because where I live there is no viable alternative. After they added the modem rental fee, I went out and bought my own cable modem (I highly recommend doing this, with the current fee your own modem will pay for itself within a year). I brought back my old modem, switched the service to use my new modem and thought that was the end of it.

The bill for the month when I was transitioned had a prorated modem lease fee, so that was good, but the next month had a full modem rental fee charge! I noticed this on the bill and called customer service and they adjusted the charge and said it won't appear in the future, but if you bought your own modem like I did, beware of the possibility of them continuing to charge you the fee.
This show is pure mind-rot television. It's as accurate in portraying startups as The Real Housewives portrays real families, or The Hills portrays real friendships. If you have never worked in a startup before and you're looking to see what its like, you are being misled. And if you have worked at a startup before, this show comes off as entertaining at best. Personally, I really like SharkTank. While I've never had experience pitching an idea, the investors always give sound feedback and I enjoy the backstory and follow-ups that they do with the companies.
I can imagine a campaign that's too broad and pays too much for clicks hitting $2000 before AdWords gets around to updating the numbers.
AFAICT taxes in Singapore only create a welfare state that relieves somewhat poverty. A noble and worthy goal, but there are still poor people in Singapore. What about cancer cures and immortailty research, are they big there?

And now for the things you haven't addressed. Why is the government the most efficient way to solve the problem? Why cancer or immortality or space exploration are more important than food or malaria or sex education? Just because you like them?

I think you should stop and think real deep about the questions I've stated and implied in this thread, and answer them in length, with references where appropriate. Then share them.

Else all you end up doing is coming across as a naive angry fanatic with not too much reading comprehension skill (remember all this started because you misinterpreted DHH's essay) who doesn't even get to see the problem and is boasting about solutions.
Except there is no standard implementation for any of those things, every webapp treats them differently, offers a different subset, some offering none at all.
I don't see denying professional healthcare to the sick while traveling internationally to seek it yourself as a "flaw," but we can agree to disagree.
This sort of thing is what keeps the myth of antivirus companies being the ones creating all the damn viruses going.
Consider carefully that Rob Pike is co-author of a well-known programming language which doesn't really have inheritance, but in which composition is trivially easy.

I think that he may know more about this particular topic than you do.
Oh and the girl who says that engineers are secondary to the success of a startup and that people with ideas are the key element. There are a lot of those people around here.
Why startups fail
I'm currently thinking about switching up my mediaserver / htpc setup and I'll prolly end up getting a Synology NAS and run Plex server on it.

If you have a GoogleTv, there's an App to view plex content in the Play store.

As an added bonus, it's possible to run sickbeard / couchpotato / sabnzbd on a Synology as well, so it becomes a set and forget experience.
For PIX alternatives, you might want to give apitrace a try. Valve's Linux team was raving about it at this year's SIGGRAPH OpenGL BoF.

http://apitrace.github.com

Still receiving frequent updates and new features. It's been exciting to see it come together.

My biggest caveat has been the OpenGL ES support on Android. It only builds properly on Linux, and it doesn't support performance profiling the last time I checked. You're better off using vendor specific tools like Nvidia's PerfHud ES for Tegra devices and PVRTrace for PowerVR devices for that sort of work.

There's also no support for OpenGL ES on iOS devices. Fortunately, Apple's OpenGL ES profiling tools for Xcode are (surprisingly) quite solid, and much less of a pain in the butt to set up than any Android OpenGL ES solution. As long as you're content with there being only one game in that town.

EDIT: And for taming GL Extension Hell, GLEW is still the best; http://glew.sourceforge.net . If you see a tutorial that suggests anything else, it's wrong. :)
Why would you run your startup's servers from your residential ISP?
UserVoice launches iOS SDK
What the Obama Emails teach us about Email Marketing
> High-speed LTE networks could be felled by a $650 piece of gear, says a new study.

Oooh, ooh, I know that one! Everyone who was an AT&T customer during 2008 knows that one!

http://www.apple.com/iphone/
Any suggestion for the topic, more entry level for people that can't read math notation (ie newbies?), perhaps in python?
That's not the case for Earth though, is it? I had thought it was the tremendous pressures that kept the internal core molten. If it was radiation wouldn't it be enough to destroy us living in such close proximity?

I am barely qualified to call myself even an amateur astronomer, so sorry if I've misinterpreted anything.

edit: re-reading the passage, it sounds like it's a combination of both (bottom of p.245, 246).
WebPipes.io : Live Snippet runnable in the cloud, 48h project node.js hackathon
Javascript's best feature is that almost any routine can be written without objects. And those that have to be there are hidden from sight like objects should be.
trust me, drudge's minimalism didn't influence modern web design.
I like how there's almost no footage in the second episode for the car guys. Just a two second shot of code being written before the producers gave up.
100,000 stars
> Ubuntu doesn't say "too bad, we no longer own any six year old Thinkpad T60's" when they release a new version.

It's not a huge problem because new x86-based computers still have to run Windows XP (they can probably run MS-DOS too) and, therefore, cannot be that much different from the six year old Thhinkpad of your example.
I really liked how Jacques Mattheij described this cyclic nature of our industry: http://www.jacquesmattheij.com/the-pendulum-swings-again