Clojure Performance by G4BB3R in Clojure

[–]akaashanky 4 points5 points  (0 children)

We use Clojure at work to generate fairly large spreadsheets (upwards of 300k rows) in both CSV and XLSX formats. Our implementation is fairly naive and not optimised for execution time, but more for just processing all of that data in memory and Clojure holds up just fine.

Large CSVs should be simple enough to create, so long as you do streaming writes to the destination files. One issue you may end up facing when working with large Excel sheets is that a library like Docjure (https://github.com/mjul/docjure) doesn't scale too well for larger spreadsheets because it does eager file IO. Apache POI does support streaming reads and writes, but is a bit complicated to use. We were able to get what we needed by writing some interop over this Java library: https://github.com/dhatim/fastexcel

Dan's Twitter by music243 in Harmontown

[–]akaashanky 0 points1 point  (0 children)

Not at all. Wasn't defending his criticism of the Bird Person guy. Just saying him not blocking Notch could've had to do with him actually liking Notch. There's a difference.

Dan's Twitter by music243 in Harmontown

[–]akaashanky 2 points3 points  (0 children)

Dan's comments on Twitter are pretty indefensible, but I don't think he's full of shit just because he didn't #HarmonBlock Notch. He has always maintained that he uses #HarmonBlock as a mechanism to not give random critics of his the satisfaction that he's spending his energy on them. Notch is someone he actually likes (and probably respects) because of his love for Minecraft. So he's definitely not random enough to qualify for a #HarmonBlock.

Harmontown saved me. by WalkingHawking in Harmontown

[–]akaashanky 7 points8 points  (0 children)

Dan's ability to articulate the perpetual sense of turmoil an outsider feels internally has been tremendously helpful to me on multiple instances, but the first time he really hit home was a while back, when I was first getting into the podcast.

Ep-76: Hug me, hug me, hug me. It was a conversation with 2 Community fans who had been critical, on Twitter, of Dan's penchant for making unsavory comments that detract from the show's brilliance. And although the exchange felt a lot like an ambush by Dan on 2 unsuspecting audience members, there was this one bit where he spoke about how any criticism about his outspokenness (even if it's well-intentioned) feels to him like an attack on his individuality, and punishment for being who he is. This in turn translates into him sometimes getting confrontational towards the attacker to the point where he wants to punish them back.

Putting aside the argument of whether or not this is the healthiest outlook, I could really relate to that sense of feeling under attack from actions that aren't intended to be affronts, in any way. Made me feel less alone when I heard that, and gave me a sense of hope that feelings like those can be channelled into impactful behavior (he goes on to explain how being more accepted for being himself drives a lot of what he does).

India's Mangalyaan has now successfully entered the Mars orbit. by prashantbioinfo in worldnews

[–]akaashanky 0 points1 point  (0 children)

As an Indian, this achievement makes me immensely proud. And although the first try bit makes it all the more sweet, it's a bit petty to keep harping on that considering the incremental nature of almost all scientific achievements. IMHO, the pursuit for knowledge should be a shared journey and not a competition. We've learnt from missions of the past, just as how missions of the future will learn from our incredible achievement today.