« first day (1523 days earlier)      last day (2292 days later) » 

10:03 PM
@JakeSymons None
 
Restart: API quota is 17687.
 
10:23 PM
@ArtOfCode Do you know if after_create runs asynchronously?
 
not a clue
if you want definite async do a Thread.new
 
eh not a big deal I guess
I wanted an after_create for Site that fetches and sets the SE site IDs
 
after_commit maybe
 
Hmm I need a way to skip that though
So that it doesn't recurse
 
after_commit on: [:create]
 
10:27 PM
Not called from a route
 
huh?
or use if and a Proc
 
say that could work
Only call the hook if it doesn't have the SE ID set
thanks
 
after_commit :do_thing, if: Proc.new { |site| site.site_id.nil? }
 
@JakeSymons 9, I think?
Yeah, 9.
 
@ArtOfCode Can that refer to a class method?
the :do_thing
 
10:32 PM
shrug
 
try it
 
don't exactly have a rails env up at the moment
I could probably try it on a similar method though
Eh, I'll just make it an instance method. Doesn't really make sense since it updates all sites but oh well
hmm actually
maybe don't do that
I think I'll just seed the database with the current sites and then let it create the Site record when it first sees a post from there on 155-questions-active
so fetch the site ID only for the one that's being created
 
[ SmokeDetector | MS ] Few unique characters in answer, repeating characters in answer: Interpolation on DataFrame in pandas by dsadsa on stackoverflow.com (@iBug @TetsuyaYamamoto)
 
then also send the WS messages for the per_site post types
@ArtOfCode How do I do a distinct select?
 
10:45 PM
.distinct
 
cool thanks
 
11:08 PM
[ SmokeDetector | MS ] Offensive body detected: my mouse and keyboard turn off completely at random by Seduce Me on superuser.com (@iBug @TetsuyaYamamoto)
[ SmokeDetector | MS ] Few unique characters in body, mostly dots in body: IF statement using formulas for date in column by James on stackoverflow.com (@iBug @TetsuyaYamamoto)
tp- by Rob
 
@ArtOfCode how long for the polling (once you post the top 6)
 
[ SmokeDetector | MS ] Blacklisted website in answer, username similar to website in answer: Is there a list of Bitcoin Forks? by Michael Fulcher on bitcoin.SE
tpu- by ByteCommander
 
11:32 PM
[ SmokeDetector | MS ] Link at end of answer: Good homebrewing podcasts? by Michael on homebrew.SE
 

« first day (1523 days earlier)      last day (2292 days later) »