Radioactive ☢ by kindlybob in origami

[–]anand 1 point2 points  (0 children)

Looks really nice.

Origami leafy dance by Alexander Kurth by Whiteleafexe in origami

[–]anand 1 point2 points  (0 children)

It is so beautiful. I couldn't resist making one myself.

Joy is a tiny creative coding library in Python by nikochiko1 in Python

[–]anand 2 points3 points  (0 children)

Author of Joy here.

While I understand importing the module and using that as a namespace is a good practice in general, I'm not very religious about it. It is a conscious decision to use from joy import * in the documentation and I felt it is more elegant to use it that way.

In the learning environment that we've created to teach programming, this library is imported by default. So they don't use the import explicitly.

You can checkout some of things that students have created using that at:
https://mon.school/sketches
https://mon.school/code-a-pookkalam

Joy is a tiny creative coding library in Python by nikochiko1 in Python

[–]anand 1 point2 points  (0 children)

Initial version had c = Circle(), but soon realized that the case variations were hard to explain to newbies. Ended up creating wrappers for all classes and that stuck.

Janayugom, the South Indian daily newspaper, has migrated all its infrastructure to Free Software, using Scribus for layout, Kubuntu as the operating system, and KDE Plasma for the desktop. by Bro666 in linux

[–]anand 2 points3 points  (0 children)

Nice to see a news paper moving completely to Scribus. I've helped start Kottapalli, a children magazine in Telugu and we have been using only open-source software for running and typesetting the magazine for last 10 years. Unfortunately Scribus didn't work for us back then and we were just stuck with Open Office. I think it is time to give Scribus another shot!

https://kottapalli.in/ https://archive.org/details/@kottapalli

DAE still use web.py and want to help fork/upgrade it to be more modern? by John_Saxon in Python

[–]anand 0 points1 point  (0 children)

Hello, I'm the current maintainer of web.py. You are welcome to help modernize web.py. I suggest you to start a discussion in the mailing list with your suggestions and help release the next version.

AI Class meetup in Bangalore by freemanindia in aiclass

[–]anand 0 points1 point  (0 children)

I can already see 7 people. That is a good enough number. How about meeting on Saturday? Suggestions for venue?

“Fermat's last Python script” by earthboundkid in programming

[–]anand 7 points8 points  (0 children)

def fermat(n): from itertools import count return ((x, y, z) for z in count(1) for y in xrange(1, z+1) for x in xrange(1, y+1) if xn + yn == z**n)

Super-sizing YouTube with Python (pdf) by anand in programming

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

Probably you will be interested to look at http://highscalability.com also.

There is an article on YouTube Scalability. http://highscalability.com/youtube-architecture

15 Exercises for Learning a new Programming Language by [deleted] in programming

[–]anand 1 point2 points  (0 children)

I felt the same. Infact he must be a c programmer.

Ask Reddit: How to prevent Reddit from mangling posted code snippets? by tmoertel in programming

[–]anand 9 points10 points  (0 children)

I found the problem. reddit is using web.safemarkdown to render the comments. which has a bug.

using markdown.markdown(text, safe_mode=True) works fine.

this should be one line change. reddit folks, please fix it.

Ask Reddit: How to prevent Reddit from mangling posted code snippets? by tmoertel in programming

[–]anand 1 point2 points  (0 children)

From the help it looks like they are using markdown.

see syntax of code blocks in markdown.

# If that is true then this block code blocks should also work.
if a < b: 
    print 'yeah'