Recent Activity tag:siafoo.net,2007-12-02: 2015-12-17T09:23:21.544538-08:00 Siafoo tag:siafoo.net,2015-12-17T09:23:21.544538-08:00:/snippet/416,version:2 2015-12-17T09:23:21.544538-08:00 Michael Case http://www.siafoo.net/user/mecase Michael Case edited the Python snippet“ Throwback Thursday inspired script to search image files” diff tag:siafoo.net,2015-12-17T09:18:20.350496-08:00:/snippet/416, 2015-12-17T09:18:20.350496-08:00 Michael Case http://www.siafoo.net/user/mecase Michael Case posted the Python snippet “Throwback Thursday inspired script to search image files” First off, all I wanted was a way to find images for Throwback Thursday and I have a very messy folder called Pictures and in there my photos go back to 2003, November.... more tag:siafoo.net,2014-06-16T20:55:51.804705-07:00:/snippet/415, 2014-06-16T20:55:51.804705-07:00 Stou S. http://www.siafoo.net/user/stou Stou S. posted the C++ snippet “Print constant tridiagonal matrix” a = diagonal element b = sub-diagonal element c = super-diagonal element tag:siafoo.net,2014-01-19T00:46:10.779260-08:00:/article/52#comment_316,comment:316 2014-01-19T00:46:10.779260-08:00 jjfawkes http://www.siafoo.net/user/jjfawkes jjfawkes commented on the article “Python Tips, Tricks, and Hacks” numbers_under_4 = [number for number in numbers if number < 4]http://i41.tinypic.com/30jqlb8.jpg:DDD reply tag:siafoo.net,2014-01-13T08:19:39.779977-08:00:/snippet/100,rating:216 2014-01-13T08:19:39.779977-08:00 Anonymous http://www.siafoo.net/user/ C snippet “An implementation of Marching Cubes and Marching Tetrahedrons” was voted up The new rating is +1. rate tag:siafoo.net,2014-01-01T14:47:33.937400-08:00:/snippet/88#comment_315,comment:315 2014-01-01T14:47:33.937400-08:00 screwloose http://www.siafoo.net/user/screwloose screwloose commented on the Python snippet “Python colored output” Also "[1;" = bold "[0;" = normal reply tag:siafoo.net,2014-01-01T14:33:57.805024-08:00:/snippet/88#comment_314,comment:314 2014-01-01T14:33:57.805024-08:00 screwloose http://www.siafoo.net/user/screwloose screwloose replied to a comment on the Python snippet “Python colored output” Is there a chance you are using it in Bash?As in the following echo statement...echo '\033[1;33mFoo\033[1;m'if so use -e to enable interpretation of escaped charactersresult:echo -e... more reply tag:siafoo.net,2013-07-10T21:24:49.276388-07:00:/article/87,rating:215 2013-07-10T21:24:49.276388-07:00 Anonymous http://www.siafoo.net/user/ article “'A' Longest Common Subsequence (LCS) implementation” was voted up The new rating is +1. rate tag:siafoo.net,2013-07-10T21:21:31.985247-07:00:/algorithm/5,version:4 2013-07-10T21:21:31.985247-07:00 Stou S. http://www.siafoo.net/user/stou Stou S. edited the algorithm“ BogoSort” diff tag:siafoo.net,2013-06-30T20:50:30.503605-07:00:/article/52,rating:213 2013-06-30T20:50:30.503605-07:00 Anonymous http://www.siafoo.net/user/ article “Python Tips, Tricks, and Hacks” was voted up The new rating is +15. rate tag:siafoo.net,2013-06-14T12:24:45.255389-07:00:/snippet/88#comment_313,comment:313 2013-06-14T12:24:45.255389-07:00 Stou S. http://www.siafoo.net/user/stou Stou S. replied to a comment on the Python snippet “Python colored output” Not really sure what you are asking. For me this works when run as a script, in ipython and the normal python shell. reply tag:siafoo.net,2013-06-14T01:58:50.399136-07:00:/snippet/88#comment_312,comment:312 2013-06-14T01:58:50.399136-07:00 sravanthi http://www.siafoo.net/user/sravanthi sravanthi commented on the Python snippet “Python colored output” this is working in python interpreter but not in shell..why is it soo..? reply tag:siafoo.net,2013-06-14T01:58:03.915660-07:00:/snippet/88,rating:210 2013-06-14T01:58:03.915660-07:00 Anonymous http://www.siafoo.net/user/ Python snippet “Python colored output” was voted down The new rating is +3. rate tag:siafoo.net,2013-06-07T12:22:10.130232-07:00:/snippet/414, 2013-06-07T12:22:10.130232-07:00 Stou S. http://www.siafoo.net/user/stou Stou S. posted the Python snippet “Quick Python Logging” Very very basic logging... go to the Logging HOWTO for much more info http://docs.python.org/2/howto/logging.html tag:siafoo.net,2013-03-10T15:07:34-07:00:/group/117/blog/2013/03/10/Astro-Python-Primer, 2013-03-10T15:07:34-07:00 jsimones http://www.siafoo.net/user/jsimones jsimones posted the blog entry “Astro Python Primer” I'll be leading a Python session during the next CC meeting. Anyone who wants to get started using Python for everyday astro situations should definitely check it out. I'm planning to cover Numpy... more tag:siafoo.net,2013-03-09T22:10:43.847121-08:00:/snippet/413, 2013-03-09T22:10:43.847121-08:00 jsimones http://www.siafoo.net/user/jsimones jsimones posted the C++ snippet “Numerical Integration 2” tag:siafoo.net,2013-03-09T14:26:01.009104-08:00:/snippet/412,version:2 2013-03-09T14:26:01.009104-08:00 jsimones http://www.siafoo.net/user/jsimones jsimones edited the C++ snippet“ Numerical Integration” diff tag:siafoo.net,2013-03-08T13:47:28.487367-08:00:/snippet/412, 2013-03-08T13:47:28.487367-08:00 jsimones http://www.siafoo.net/user/jsimones jsimones posted the C++ snippet “Numerical Integration” tag:siafoo.net,2013-02-28T22:31:07.837273-08:00:/algorithm/4,rating:209 2013-02-28T22:31:07.837273-08:00 Anonymous http://www.siafoo.net/user/ algorithm “Quick Sort” was voted up The new rating is +2. rate tag:siafoo.net,2013-02-28T22:24:17.859891-08:00:/snippet/410, 2013-02-28T22:24:17.859891-08:00 Stou S. http://www.siafoo.net/user/stou Stou S. posted the Python snippet “Simple quick sort implementation” Can chose different pivot types by setting pivot_type tag:siafoo.net,2013-02-28T19:42:00.440282-08:00:/snippet/408#comment_311,comment:311 2013-02-28T19:42:00.440282-08:00 Stou S. http://www.siafoo.net/user/stou Stou S. replied to a comment on the C++ snippet “Stou's I/O and sorting assignment” They are the same thing except by default all things inside a struct are public while in a class by default they are private. reply tag:siafoo.net,2013-02-28T19:35:21.488400-08:00:/snippet/408#comment_310,comment:310 2013-02-28T19:35:21.488400-08:00 jsimones http://www.siafoo.net/user/jsimones jsimones commented on the C++ snippet “Stou's I/O and sorting assignment” I don't get the difference either. I still feel like I'm kludging things together until it works rather than writing legit c++ code. reply tag:siafoo.net,2013-02-27T18:08:27.024295-08:00:/snippet/408#comment_309,comment:309 2013-02-27T18:08:27.024295-08:00 msgordon http://www.siafoo.net/user/msgordon msgordon commented on the C++ snippet “Stou's I/O and sorting assignment” One thing about C++ that I think we should discuss this week is the usage of 'struct' vs 'class' data structures. Since my first programming language was Java, I gravitate towards classes overs... more reply tag:siafoo.net,2013-02-25T12:39:40.945788-08:00:/snippet/408,version:2 2013-02-25T12:39:40.945788-08:00 jsimones http://www.siafoo.net/user/jsimones jsimones edited the C++ snippet“ Stou's I/O and sorting assignment” diff tag:siafoo.net,2013-02-25T12:38:54.710293-08:00:/snippet/408, 2013-02-25T12:38:54.710293-08:00 jsimones http://www.siafoo.net/user/jsimones jsimones posted the C++ snippet “Stou's I/O and sorting assignment” tag:siafoo.net,2013-02-25T12:37:45.327954-08:00:/snippet/406,version:2 2013-02-25T12:37:45.327954-08:00 jsimones http://www.siafoo.net/user/jsimones jsimones edited the Python snippet“ Stou's I/O and sorting assignment” diff tag:siafoo.net,2013-02-23T14:32:22.812548-08:00:/snippet/407,version:7 2013-02-23T14:32:22.812548-08:00 msgordon http://www.siafoo.net/user/msgordon msgordon edited the C++ snippet“ PointSort, C++, Priority Queue” diff tag:siafoo.net,2013-02-23T13:43:24.690260-08:00:/snippet/407,version:7 2013-02-23T13:43:24.690260-08:00 msgordon http://www.siafoo.net/user/msgordon msgordon edited the C++ snippet“ PointSort, C++, Priority Queue” diff tag:siafoo.net,2013-02-23T11:53:40.879027-08:00:/snippet/407,version:7 2013-02-23T11:53:40.879027-08:00 msgordon http://www.siafoo.net/user/msgordon msgordon edited the C++ snippet“ PointSort, C++, Priority Queue” diff tag:siafoo.net,2013-02-23T11:51:13.483966-08:00:/snippet/407,version:7 2013-02-23T11:51:13.483966-08:00 msgordon http://www.siafoo.net/user/msgordon msgordon edited the C++ snippet“ PointSort, C++, Priority Queue” diff tag:siafoo.net,2013-02-23T09:38:52.223004-08:00:/snippet/407,version:7 2013-02-23T09:38:52.223004-08:00 msgordon http://www.siafoo.net/user/msgordon msgordon edited the C++ snippet“ PointSort, C++, Priority Queue” diff tag:siafoo.net,2013-02-23T09:35:50.544386-08:00:/snippet/407,version:7 2013-02-23T09:35:50.544386-08:00 msgordon http://www.siafoo.net/user/msgordon msgordon edited the C++ snippet“ PointSort, C++, Priority Queue” diff tag:siafoo.net,2013-02-23T09:31:45.889083-08:00:/snippet/407, 2013-02-23T09:31:45.889083-08:00 msgordon http://www.siafoo.net/user/msgordon msgordon posted the C++ snippet “PointSort, C++, Priority Queue” tag:siafoo.net,2013-02-21T23:09:28.293212-08:00:/snippet/406, 2013-02-21T23:09:28.293212-08:00 jsimones http://www.siafoo.net/user/jsimones jsimones posted the Python snippet “Stou's I/O and sorting assignment” tag:siafoo.net,2013-02-21T17:34:40.071015-08:00:/group/117,version:5 2013-02-21T17:34:40.071015-08:00 Stou S. http://www.siafoo.net/user/stou Stou S. edited the group“ SnortSnort” diff tag:siafoo.net,2013-02-21T17:34:40.071015-08:00:/group/117,version:5 2013-02-21T17:34:40.071015-08:00 Stou S. http://www.siafoo.net/user/stou Stou S. edited the group“ SnortSnort” diff tag:siafoo.net,2013-02-21T17:34:40.071015-08:00:/group/117,version:5 2013-02-21T17:34:40.071015-08:00 Stou S. http://www.siafoo.net/user/stou Stou S. edited the group“ SnortSnort” diff tag:siafoo.net,2013-02-21T17:34:40.071015-08:00:/group/117,version:5 2013-02-21T17:34:40.071015-08:00 Stou S. http://www.siafoo.net/user/stou Stou S. edited the group“ SnortSnort” diff tag:siafoo.net,2013-02-21T17:34:40.071015-08:00:/group/117,version:5 2013-02-21T17:34:40.071015-08:00 Stou S. http://www.siafoo.net/user/stou Stou S. edited the group“ SnortSnort” diff tag:siafoo.net,2013-02-21T16:52:45.339422-08:00:/group/117/blog,version:1 2013-02-21T16:52:45.339422-08:00 Stou S. http://www.siafoo.net/user/stou Stou S. edited the blog“ Snort Snort” diff tag:siafoo.net,2013-02-21T09:41:00.535680-08:00:/snippet/405, 2013-02-21T09:41:00.535680-08:00 mnoble http://www.siafoo.net/user/mnoble mnoble posted the C++ snippet “Euler28: The Spiral - zero finesse” tag:siafoo.net,2013-02-20T17:15:19.002710-08:00:/snippet/403#comment_308,comment:308 2013-02-20T17:15:19.002710-08:00 jsimones http://www.siafoo.net/user/jsimones jsimones commented on the Python snippet “Project Euler 28: Wacky Python Solution” Oh boy, this is dirty. I need a shower after reading this. reply tag:siafoo.net,2013-02-20T17:02:39.093659-08:00:/snippet/404, 2013-02-20T17:02:39.093659-08:00 mbagley http://www.siafoo.net/user/mbagley mbagley posted the C++ snippet “Euler 28 in C++” tag:siafoo.net,2013-02-20T14:00:04.203037-08:00:/snippet/399,version:2 2013-02-20T14:00:04.203037-08:00 msgordon http://www.siafoo.net/user/msgordon msgordon edited the C++ snippet“ Euler28, C++, Analytical Solution” diff tag:siafoo.net,2013-02-19T16:07:16.609108-08:00:/snippet/402,version:2 2013-02-19T16:07:16.609108-08:00 brianoneill http://www.siafoo.net/user/brianoneill brianoneill edited the Fortran snippet“ Project Euler 28: Fortran” diff tag:siafoo.net,2013-02-19T16:06:38.798689-08:00:/snippet/403,version:2 2013-02-19T16:06:38.798689-08:00 brianoneill http://www.siafoo.net/user/brianoneill brianoneill edited the Python snippet“ Project Euler 28: Wacky Python Solution” diff tag:siafoo.net,2013-02-19T12:36:06.337596-08:00:/snippet/403, 2013-02-19T12:36:06.337596-08:00 brianoneill http://www.siafoo.net/user/brianoneill brianoneill posted the Python snippet “Project Euler 28: Wacky Python Solution” tag:siafoo.net,2013-02-19T12:32:59.662981-08:00:/snippet/402, 2013-02-19T12:32:59.662981-08:00 brianoneill http://www.siafoo.net/user/brianoneill brianoneill posted the Fortran snippet “Project Euler 28: Fortran” tag:siafoo.net,2013-02-18T23:08:38.907825-08:00:/snippet/401, 2013-02-18T23:08:38.907825-08:00 jsimones http://www.siafoo.net/user/jsimones jsimones posted the C++ snippet “Project Euler 28” tag:siafoo.net,2013-02-18T23:07:16.181860-08:00:/snippet/400, 2013-02-18T23:07:16.181860-08:00 jsimones http://www.siafoo.net/user/jsimones jsimones posted the Python snippet “Project Euler 28”