monkinetic the blog

Daily Digest for Friday, Aug 9, 2013

☀️ Earliest posts come first.

Steve Ivy

I’ve updated my post about a weird sqlalchemy error I don’t understand: http://t.co/VCRMTJwH32 #help

~ # 03:38 ~

Steve Ivy

@markpasc Whoops, just missed it when cleaning up the pasted code (trying to simplify a bit for purposes of the post)

~ # 04:06 ~

Steve Ivy

@markpasc For the purposes of this code, it’s just UserBlog, which has the sync_stats property with the blog back_ref.

~ # 04:08 ~

Steve Ivy

RT @lxt: Making yourself vulnerable in front of people is really damn hard.

~ # 05:33 ~

Steve Ivy

@strategiclee oh no! What happened?

~ # 14:10 ~

Steve Ivy

@zzzeek will try it

~ # 14:11 ~

Steve Ivy

@strategiclee ew! Get better!

~ # 16:02 ~

Steve Ivy

@zzzeek Yeah, this test script doesn’t error. I think it’s all about imports.

https://t.co/LOaC8bpAhK

~ # 16:11 ~

Steve Ivy

@zzzeek in pdb, I see Mapper.configure_mappers called twice, from two different import paths.

~ # 16:13 ~

Steve Ivy

Lesson of the day: when in doubt, transaction all the things. #sql

~ # 18:18 ~

Steve Ivy

@zzzeek Found it. 2 imports from different paths caused double import and asplosion.

~ # 18:31 ~

Steve Ivy

@bitprophet Fairey, or Colonel?

~ # 20:33 ~

Steve Ivy

When in doubt… http://t.co/VPj6LyKN9L #nerds

~ # 20:36 ~

Steve Ivy

@bitprophet @palendae Ah, video games, right?

~ # 20:48 ~