monkinetic the blog

Posts tagged with 'Python' (35 posts)

Steve Ivy
Steve Ivy

Converting a small playground #python data pipeline from ruffus to #apachebeam and wrecking my assumptions

https://beam.apache.org/

~ # 21:05 ~

Steve Ivy

Me seeing #python source with 2 spaces

http://monkinetic.blog/uploads/coffee_spit.gif

~ # 20:13 ~

Steve Ivy

Reading through some Apache Beam examples in #python #apache #dataprocessing

~ # 14:51 ~

Steve Ivy

Christian Clauss is working on moving pytatsd to Github actions for automated testing and builds https://github.com/sivy/pystatsd/pull/109 #python #statsd #opensource

~ # 20:47 ~

Learning Can Be... Boring?

http://monkinetic.blog/uploads/bored.png

Ran into a friend today at church and he asked me “hey I’m trying to learn Python, do you have any good sites or books to recommend? I’m kinda… bored.”

Now some of us geeks can’t imagine being bored learning something new, but I went through this when I first started learning Go. I had decided I wanted to learn a new programming language, and Rust was way too… Rust, so I picked Go and started building a small o-nothing web app. I got part way in an realized that I had no interest in what I was doing, and it (and some bits of Go that hadn’t matured) was killing my fun. So I put it down.

Fast forward to this year. I was ready to pick up Go again, but this time I also knew that I wanted to start writing again, and that the friction in my blogging process was killing my joy there, too. So I decided to write my own blog software (see #goldfrog), and I was going to write it in Go.

Suddenly I was energized to learn, because I had all these feature ideas for the site, and I had to learn the #golang techniques for tasks I’d only one in #python before. Also, it got me into the golang newbies Slack, and connecting with a community - for me at least - helps.

So my advice to my friend was:

  • Find a project you’re passionate about, or at least really interested in
  • Be willing to re-learn things you think you already know
  • Find a #community!

#goldfrog #golang #python #community

Steve Ivy

Golang Templates Cheatsheet

This resource really helped as I’ve been building #goldfrog.

Golang Templates Cheatsheet

#python

https://t.co/tcXZqriOlQ

~ # 21:19 ~

Steve Ivy

This resource really helped as I’ve been building #goldfrog.

Golang Templates Cheatsheet

Go’s template system is rich and powerful, and not much at all like systems in #Python, which is why it’s been breaking my brain.

~ # 00:00 ~

Steve Ivy

The XVIth edition of the monkinetic blog may run on lektor https://t.co/IHzYjWjzuK, a nice little #python based #blog generator with web ui by the author of flask.

Need some kind of macOS launch thingy to have the web ui running all the time, or private hosting. #oldschool

~ # 05:17 ~

Steve Ivy

I f’ing hate pbr. Never installs right, never found as a dependency. POS. #python

~ # 03:21 ~

Steve Ivy

monkey-patching like hell #python #patchit

~ # 21:46 ~

Steve Ivy

Working with unit tests and mox in openstack… infuriating. I don’t understand mox and am sure it hates me, personally. #python #openstack

~ # 15:22 ~

Steve Ivy

logger.debuuuuughh(‘what the hell’) #python #debuglogging

~ # 02:44 ~

Steve Ivy

I may be teaching #python to my mother and daughter this year. Any thoughts on resources? LPTHW seems too nerdy. /cc @kcunning

~ # 23:45 ~

Steve Ivy

I’ll give Tornado.template this: allowing {% end %} instead of {% end<tag> %} is nice. #python #tornado #jinja2

~ # 20:10 ~

Steve Ivy

E127 and E128 can just go jump in a lake #pep8 #python #notmystyle

~ # 22:44 ~

Steve Ivy

RT @holdenweb: New Pope declares 4-space indents the only way to go for #Python source code

~ # 21:24 ~

Steve Ivy

Don’t use a clever list comprehension when a simple regex will do. #python

~ # 22:06 ~

Steve Ivy

Apparently python does not have a keyword ‘enumberate’, thought it should. #python #fantasykeywords

~ # 16:33 ~

Steve Ivy

going callable-crazy #python

~ # 19:14 ~

Steve Ivy

RT @akavlie: Python meetup at 7:00 tonight. Join us. http://t.co/ebToq6Em #python #phoenix #meetup

~ # 20:38 ~

Steve Ivy

Stand back folks, I’m going to write tests! #pystatsd #python #unittest2

~ # 21:58 ~

Steve Ivy

I love that Django makes it so easy to integrate 3rd party apps, then replace them with your own when you outgrow them. #django #python

~ # 13:51 ~

Steve Ivy

Personal python import style: sys imports first, then framework imports, then app imports. #python #django

~ # 16:19 ~

Steve Ivy

@stripe: webhooks v2 support is now in django-zebra: https://t.co/RG4np3Dx #stripe #python

~ # 18:51 ~

Steve Ivy

django-copyblock, now with markdown file serving: http://t.co/Wa40EMT2 #django #python #markdown

~ # 13:47 ~

Steve Ivy

Wow, django just surprised me in a great way. Just implemented markdown static pages, basically, in a clean way. #django #python #winning

~ # 05:04 ~

Steve Ivy

I’m now teaching my brother (who once upon a time mocked me for not knowing wordperfect macros) how to program. #python

~ # 16:25 ~

Steve Ivy

Aaaand, hotel booked for http://t.co/XIFo50S. All that’s left is the waiting. #python #nerds

~ # 17:29 ~

Steve Ivy

Deciding whether to do DjangoCon US this year – my first time. Have to decide by friday for EB rates. #Django #python

~ # 15:57 ~

Steve Ivy

excited to see #mozilla trying out pystatsd #devops #python

~ # 16:36 ~

Steve Ivy

I work on a number of codebases right now; I love my #django work. #python

~ # 20:46 ~

Steve Ivy

very excited to be getting issue reports for pystatsd (even if they’re for stupid n00b erros) #statsd #python http://t.co/ck7knpb

~ # 16:44 ~

Steve Ivy

#python client for @etsy’s nifty statsd server http://t.co/PWvjdVO

~ # 16:47 ~