Hide Idle (>14 d.) Chans


← 2020-02-16 | 2020-02-18 → ↓
01:47 thimbronion BingoBoingo: Took me 2h 45 min: http://paste.deedbot.org/?id=RU6-
~ 11 hours 32 minutes ~
13:19 BingoBoingo thimbronion: ty
~ 51 minutes ~
14:11 BingoBoingo thimbronion: tyvm http://qntra.net/2020/02/usg-welfare-baron-madame-secretary-mike-pompeo-goes-to-senegal-for-security-flavored-welfare-talks/
~ 44 minutes ~
14:56 thimbronion Nice! Lol Madame Secretary
14:59 BingoBoingo It's the official label for the USG "Secretary of State"
15:02 BingoBoingo Meme'ing and joking are strong on Qntra. The weak part, as I'm getting beaten for... is the spreading.
15:08 asciilifeform BingoBoingo: re spreading -- have you an idea of current readership stats ? ( even e.g. via perlism on machine logs )
15:17 BingoBoingo asciilifeform: I'll grab some of those soon. http://logs.ossasepia.com/log/trilema/2020-02-15#1958113 was a paralyzing blow
15:17 ossabot (trilema) 2020-02-15 mp_en_viaje: i seriously do not wish to hear anymore from you. if all you've got inside is in that vein, do me the favour and make that your last word.
15:20 thimbronion Are platforms, as a structure, out, in terms of spreading?
15:21 BingoBoingo thimbronion: No, I decided to focus on blog comments as a means of targeting folks already writing
15:21 thimbronion Also, what did he mean by "that vein?"
15:22 BingoBoingo http://logs.ossasepia.com/log/trilema/2020-02-15#1958112
15:22 ossabot (trilema) 2020-02-15 mp_en_viaje: fucking inane bullshit, you've decided to see what action actionbot can bring ? who the fuck are you ? go measure the thickness of walls somewhere already, there's 0 the fuck need for YET ANOTHER pompous asshole to do me the very great service of counting my balls.
15:22 thimbronion Yeah I read that but I don't know what it means.
15:23 thimbronion Like is he saying, don't be middle management?
15:24 BingoBoingo thimbronion: He doesn't need me around if all the value I can contribute is flattering him is the core of what I'm reading.
15:25 BingoBoingo But I've been discovering I'm not as good at reading him as I thought.
15:26 asciilifeform BingoBoingo: ftr i read it as on-schedule implementation of 'the old hands gotta go'. a la 1937.
15:26 thimbronion Oh, ok I can see that angle in the "count my balls" line
15:27 thimbronion But I don't get why asking for help with technical work triggered it
15:28 BingoBoingo It was the manner of asking. http://logs.ossasepia.com/log/trilema/2020-02-15#1958112 http://logs.ossasepia.com/log/trilema-hanbot/2020-02-16#1001267 http://logs.ossasepia.com/log/trilema-hanbot/2020-02-16#1001268
15:28 ossabot (trilema) 2020-02-15 mp_en_viaje: fucking inane bullshit, you've decided to see what action actionbot can bring ? who the fuck are you ? go measure the thickness of walls somewhere already, there's 0 the fuck need for YET ANOTHER pompous asshole to do me the very great service of counting my balls.
15:28 ossabot (trilema-hanbot) 2020-02-16 hanbot_abroad: i mean, there'd be some things to ponder in here, such as the notion that you can't hire people to do things for you if you've no idea how to do them yourself; that figuring things out involves struggling with what you don't understand rather than lifting the results of other people's struggles; that "sooner" is nonsense in this context given you've been going to/thinking about maybe trying to start
15:28 ossabot (trilema-hanbot) 2020-02-16 hanbot_abroad: r YEARS; that you picked up everything and moved to another continent, the process and commitment of which is at least a few orders of magnitude larger than what learning how to write a freaking script would involve...and i'm sure i could wring more out of here.
15:28 BingoBoingo http://logs.ossasepia.com/log/trilema-hanbot/2020-02-16#1001269
15:28 ossabot (trilema-hanbot) 2020-02-16 hanbot_abroad: but seriously, all of that is moot, completely, if the foregoing ain't clear. republican tools ain't for passing the buck, and the behavior's not sound, or sane.
15:30 thimbronion Aha.
15:38 BingoBoingo Something in my head broke, "Is that all I've got?", "Wat do?", and after being stunned by dread, I'm throwing myself at the command line trying to make the pieces that be strung together into a blog crawler.
15:47 thimbronion BingoBoingo: what are you writing it in? Depending on the lang, I may be of more or less help.
15:48 BingoBoingo thimbronion: Right not I'm working with shell commands, trying to do it with things that already belong on the system.
15:54 thimbronion Ok. I did write a static blog using bash a while ago, but very much not my specialty.
15:57 BingoBoingo thimbronion: So what I've got right now are a pair of commands. One retrieves urls from a page and sticks them in a file. The second command makes a second file from urls in the first that is a dedeplicated list of domains http://paste.deedbot.org/?id=nIKD
15:58 BingoBoingo In trying to treat the spec I produced here as a sort of pseudocode, right now I'm banging my head on how to go to a top level page and follow the first link inside a div labeled "main"
15:59 BingoBoingo From there I'd like to feed that second page into grep so grep looks signs of a working comment box.
16:07 thimbronion This would be relatively easy to do with an html parser, which I suspect you might be avoiding, but not sure. Using regex to parse html can be very tricky.
~ 15 minutes ~
16:23 BingoBoingo It may be. Can you recommend any html parsers I should be looking at?
16:28 thimbronion Well, the smarmy languages all have one or two popular libraries. Here's one for ruby for example: https://nokogiri.org/. In terms of smarm-free langs, I don't have anything I've used that I can recommend. I suspect there are some good utilities out there.
16:33 BingoBoingo I'm reading the gawk man page and inclined to give it a whirl, but I'm still digesting how to shape the thing
16:33 asciilifeform BingoBoingo: at one time i used a proggy called 'scrapy'. for simple spidering, worked. (python, tho.)
16:34 asciilifeform ( if you want to try it, be aware that only 1.x vers work on python2 )
16:46 shinohai lynx -dump http://qntra.net | awk '/http/{print $2}' <<< if trying to dump url's from a page doesn't that work?
~ 16 minutes ~
17:02 BingoBoingo shinohai: I'll try that form for parsing
17:03 BingoBoingo asciilifeform: I might give that a try if exhausting myself with awk doesn't yield anything.
17:04 * BingoBoingo to head to Spanish class, rescheduled from Friday due to Susan having a job interview, in a bit
17:05 BingoBoingo Thank you all for giving me things to chew.
17:06 shinohai eh sorry abt awk above, should have added: ` awk '/http/||/https/{print $2}' `
17:07 shinohai (to catch the https junk)
17:11 BingoBoingo Maximizing the targeting of targetable junk is indeed the name of the game.
17:11 shinohai I love the fuck outta awk for that.
← 2020-02-16 | 2020-02-18 → ↑