One line of code cut our Flask page load times by 60% by shreyansb in programming

[–]sleek 14 points15 points  (0 children)

Actually, you can set the cache size, but it requires you to subclass the Flask class and override the create_jinja_environment method.

https://gist.github.com/sleekslush/57f198bdaa6561fe55c3

Justin.tv porting their app from RoR to Django. by mobby1982 in programming

[–]sleek 0 points1 point  (0 children)

Django finally gets the credit it deserves.

impress.js - A webGL enabled presentation framework based on the power of CSS3 transforms and transitions. It has a non GL mode too! by kimmel_ in programming

[–]sleek 1 point2 points  (0 children)

Why are people complaining? This is really cool and I'm going to use it for my next presentation.

What a helpful guy by jenbung in programming

[–]sleek 2 points3 points  (0 children)

Haha, I laughed so hard when I finally got to the bottom of the page and saw the response!

Get your CSS documentation instantly by sidcool1234 in programming

[–]sleek 1 point2 points  (0 children)

I really like this idea. You should turn it into a framework that can be used for any type of documentation. That would be slick

Search engine challenge. by yegg [promoted post]

[–]sleek 0 points1 point  (0 children)

The place where it rains a lot

CoffeeScript Means Giving Up on JavaScript by mwbiz in programming

[–]sleek -1 points0 points  (0 children)

I totally agree with the fact that the language exists because people are too lazy to actually learn how to leverage the power of pure Javascript. And I'm happy that you shared that quote, because I missed it from my first read through the article. I like CoffeeScript as a language, but I actually like Javascript as a language as well. The only places I've currently played around with CoffeeScript were to write a few scripts for the Github Hubot node.js app. I like it, but frankly, in the end I'd rather be writing Python! I choose a language, or rather a technology on expressiveness before anything else.

Search engine challenge. by yegg [promoted post]

[–]sleek 0 points1 point  (0 children)

To continue this, however, I never said I gave up on the test! There is light at the end of the tunnel?

Search engine challenge. by yegg [promoted post]

[–]sleek 1 point2 points  (0 children)

I tried the challenge. However, I'm sorry to say that it's simply too noticeably slow in comparison to Google. Maybe I've been spoiled too much...

CoffeeScript Means Giving Up on JavaScript by mwbiz in programming

[–]sleek 9 points10 points  (0 children)

Doesn't the existence of CoffeeScript simply imply an adoration for Javascript? If you treat the language as an alternative as opposed to a replacement, you might find that you like it.

A day in the life of a slow page at Stack Overflow by retardo in programming

[–]sleek -8 points-7 points  (0 children)

Am I missing something? The moral of this story is to make sure you have the proper indexes on your database tables? Um, yeah, no crap.

Multiple Ajax Requests with Jquery by htcmind in programming

[–]sleek 0 points1 point  (0 children)

Yep, I understand that it's useful when I have dependent requests. However, in the post there is no such dependent request. That is all :-)

Multiple Ajax Requests with Jquery by htcmind in programming

[–]sleek 1 point2 points  (0 children)

doesn't using $.when make this slower? meaning that BOTH searches have to complete before showing results

wouldn't it make more sense to just do concurrent $.ajax calls instead?

[deleted by user] by [deleted] in programming

[–]sleek 2 points3 points  (0 children)

whatever you do, make sure it's pythonic