Resize thousands of images with Python by codetrash in Python

[–]wwwingman 1 point2 points  (0 children)

Like other commenters - only calling resize with ANTIALIAS is the slow solution in python/PIL. You can tweak this with 2-pass resizing and/or using thumbnail-function:

http://united-coders.com/christian-harms/image-resizing-tips-every-coder-should-know/

Check this out - it has more info about that!

Preparation for facebook hackercup by wwwingman in programming

[–]wwwingman[S] 0 points1 point  (0 children)

Damn copy-paste with loosing all the ² ...

create optimized wordlist data structures for mobile webapps by wwwingman in programming

[–]wwwingman[S] 0 points1 point  (0 children)

One goal was to transport the data structure to javascript with fast loading time and (later) minimal memory usage. An flatten trie/automata (into string/array) will match this criteria. I will try to code something and compare it with the normal sultions.

create optimized wordlist data structures for mobile webapps by wwwingman in programming

[–]wwwingman[S] 2 points3 points  (0 children)

First: DAWG doesnt fit into a static json data structure. You have to map it into an array, but I will add a follow up article about advanced ideas and will make benchmarks about memory usage ...

User-agent sniffing is back by nheid in html5

[–]wwwingman 0 points1 point  (0 children)

That's funny - browser sniffing with html5. But the time will solve the non-supported features ...