#Soylent | Logs for 2019-09-11
« return
[01:11:37] -!- dx3bydt3 has quit [Read error: Connection reset by peer]
[01:18:51] -!- dx3bydt3 [dx3bydt3!~quassel@99.192.lg.tt] has joined #Soylent
[01:26:46] <Bender> [SoylentNews] - Japanese Settlement Found In Forests Of British Columbia - http://sylnt.us - lost-colony
[01:28:27] -!- arti|work has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
[01:57:20] -!- AzumaHazuki [AzumaHazuki!~hazuki@xmf-92-154-91-63.neo.res.rr.com] has joined #Soylent
[01:57:20] -!- AzumaHazuki has quit [Changing host]
[01:57:20] -!- AzumaHazuki [AzumaHazuki!~hazuki@the.end.of.time] has joined #Soylent
[02:07:59] <AzumaHazuki> the pharmacy tech training has finally taken off the gloves :) I actually have to use my brain on it now
[02:08:07] <AzumaHazuki> today's session was about antibiotics. all of them.
[02:25:38] <Bytram> vanc++ saved my life
[02:25:39] <Bender> karma - vanc: 1
[02:55:35] <Bender> [SoylentNews] - Sex Lives Of App Users 'Shared With Facebook' - http://sylnt.us - oversharing
[03:03:45] <AzumaHazuki> for real though...all six major classes of antibiotic plus a bunch of "miscellaneous" (which included, oh, tiny little details like vancomycin and linezolid...)
[03:04:10] <AzumaHazuki> plus associated side affects, adverse interactions, and contraindications. this training went from dripping faucet to firehose. my note-taking hand hurts :)
[03:24:25] -!- Sulla [Sulla!~atomic@cgxhvf-444-454-963-92.mycingular.net] has joined #Soylent
[04:25:45] <Bender> [SoylentNews] - New Lows At Bose As Firmware Update Woes Infuriate Soundbar Bros - http://sylnt.us - maybe-do-some-testing
[05:37:24] -!- AzumaHazuki has quit [Remote host closed the connection]
[06:07:01] <Bender> [SoylentNews] - Claim: SHA-256 has been Broken - http://sylnt.us - renaming-it-to-be-NSHA:-the-Not-Secure-Hashing-Algorithm
[06:27:16] <Bender> [SoylentNews] - Scientists Discover More Evidence of That Dinosaur-Killing Asteroid - http://sylnt.us - what-the-hell-was-that?
[06:55:57] -!- Web_weasel [Web_weasel!~Stefan@cqig64-433-10-1.range14-483.btcentralplus.com] has joined #Soylent
[07:35:01] <chromas> So what's the best window manager?
[07:35:42] <chromas> KDE's Kwin used to have tabs but not no mo'
[07:36:02] <chromas> any other ones have tabs? So I can group several windows and switch with little tabs in the title bar or something
[07:46:31] <Bender> [SoylentNews] - Gas Plants Will Get Crushed by Wind, Solar by 2035 - http://sylnt.us - things-prior-to-2038
[08:01:56] <FatPhil> Hmmm, bikeshed time: If today's 30th March, then what was the date "one month ago"?
[08:04:17] <chromas> Depends on what time it is
[08:10:34] <FatPhil> midday
[08:11:10] <chromas> Probably 27th February
[08:11:33] <FatPhil> That's precisely the logic I'd use too! (unless leap year)
[08:11:44] <chromas> Accounted for
[08:12:34] <FatPhil> 'date' disagrees, it turns 30th feb into 2nd (or 1st) of march
[08:12:54] <chromas> date's wrong
[08:13:01] <chromas> it's probably a systemd tool by now anyway
[08:13:15] <FatPhil> not on my devuan box it ain't!
[08:14:36] <chromas> systemd-devuand
[08:15:59] <chromas> Slightly offtopic, but hey, 9/11 is old enough to vote now
[08:26:12] <chromas> https://i.imgur.com
[09:25:27] <Bender> [SoylentNews] - Woman Receives First Corneal Transplant Made from iPS Cells - http://sylnt.us - Biology
[09:38:13] <chromas> eyePS
[10:56:36] <Bender> [SoylentNews] - UK Musicians Call for Facial Recognition Ban at Gigs - http://sylnt.us - bands-watching-out-for-the-people-who-watch-the-people-who-watch-a-concert
[11:17:32] <TheMightyBuzzard> coffee++
[11:17:32] <Bender> karma - coffee: 4951
[11:18:31] <TheMightyBuzzard> ugh, i lurve fishing but i think putting jugs out every night and pulling them in every morning may have been a bit of an ambitious plan. it conflicts with me wanting to sit around drinking coffee.
[11:19:09] <TheMightyBuzzard> oh well. they gotta get brought in or i'll end up with a ticket.
[11:19:13] * TheMightyBuzzard buggers off
[11:19:42] <chromas> ticketed for showing off your juggs?
[12:32:48] <Bender> [SoylentNews] - Intel Faces its Own Degradation Issue, and a New Vulnerability - http://sylnt.us - Here-we-go-again
[12:40:48] <FatPhil> OK, sh skills hitting a road block now...
[12:42:05] <FatPhil> I have a list of files whose name contains date stamps, and I'd like to select all files whose name's datestamp is older than a certain date.
[12:45:13] <FatPhil> all I can think of is using sed to munge the filenames to turn the randoprefix_YYYY-MM-DD_randosuffix into a numeric YYYYMMDD and then use [ with -lt
[12:50:24] <AndyTheAbsurd> I think you *might* be able to do it without sed; but I can't think of a better way to do the comparison offhand without resorting to something other than a shell.
[12:50:50] <AndyTheAbsurd> (are you stuck with sh or can you use a different shell?)
[12:52:19] -!- dx3bydt3 has quit [Ping timeout: 252 seconds]
[12:53:42] <FatPhil> my last commit was "ctop - drop reliance on bash" :-#
[12:54:59] <FatPhil> I'm just extracting the date components from the trailing part of the filename in sh now using fixed width extractions
[12:55:27] <FatPhil> not as elegent as one call to sed, but less forking overhead
[12:55:55] <FatPhil> I'm annoyed [ only has = and !=, but no other string comparisons
[13:00:47] <FatPhil> haha, that requires bash again!
[13:04:29] <FatPhil> I don't need sed, cut -c1-4,6-7,9-10
[13:35:46] -!- Sulla_ [Sulla_!~8cd35204@140.211.gj.y] has joined #Soylent
[13:42:55] -!- Sulla has quit [Ping timeout: 252 seconds]
[13:56:35] * FatPhil , all aquiver, replaces the "echo" in his script with an "rm -f"
[14:06:15] <Bender> [SoylentNews] - Silicon Valley Went From an Industry With No Enemies to One With No Friends - http://sylnt.us - with-great-power-comes-great-responsibility
[14:11:38] <inz> perl -MFile::Path -e 'rm*REMOVETHISIFYOUREALLYWANTTOWILLEATYOURDATA*tree grep { join("", /^(\d{4})-(\d{2})-(\d{2})/) < 20190101 } <*>'
[14:11:47] <inz> when all you have is perl, everything looks like a regex
[14:12:49] <inz> Maybe it would be wise to check that the timestamp is actually there before removing, but meh
[14:15:36] <inz> Ah right, (join...||99999999) should do the trick (y10k problems ftw!)
[14:23:11] <Bytram> coffee++
[14:23:11] <Bender> karma - coffee: 4952
[14:28:50] <Bytram> FatPhil: gawk -v FS="_" -v date_stamp=2019-08-01 '{if ($2 < date_stamp) {print}" file_containing_filenames.txt
[14:29:45] <Bytram> sets the Field Separator character to be an underscore, compares the 2nd field to the date_stamp you want files before, and then outputs those matching date stamps
[14:30:18] <Bytram> it assumes there are exactly 2 underscores in the filenames to be parsed
[14:30:29] <Bytram> if you want the full filename output, instead:
[14:31:20] <Bytram> correction, it outputs space-delimited filename with each "_" replaced with a space " "
[14:31:26] <Bytram> to get the intact filename:
[14:32:05] <Bytram> FatPhil: gawk -v FS="_" -v OFS="_" -v date_stamp=2019-08-01 '{if ($2 < date_stamp) {print}" file_containing_filenames.txt
[14:32:20] <Bytram> At least, I expect it will work; only written, not tested.
[14:32:43] <Bytram> the OFS variable is for the Output Field Separator
[15:37:25] <Bender> [SoylentNews] - New Blood Test for Prostate Cancer is Highly-Accurate and Avoids Invasive Biopsies - http://sylnt.us - life-saver
[16:45:00] -!- arti|work [arti|work!~textual@kpku-40-80-465-497.west.biz.rr.com] has joined #Soylent
[17:05:16] <Bender> [SoylentNews] - Near Misses At Large Hadron Collider Shed Light On The Onset Of Gluon-Dominated Protons - http://sylnt.us - we-like-near-misses
[18:36:30] <Bender> [SoylentNews] - Uber Lays Off Hundreds More, This Time From its Engineering and Product Teams - http://sylnt.us - do-they-get-a-lyft-home?
[18:43:13] -!- boru has quit [Ping timeout: 252 seconds]
[18:49:49] -!- boru [boru!~boru@d6d4nbeo.dyn.telefonica.de] has joined #Soylent
[19:04:59] -!- SoyCow2718 [SoyCow2718!~4039920d@64.57.rwn.vj] has joined #Soylent
[19:05:06] <SoyCow2718> =submit https://krebsonsecurity.com
[19:05:08] <upstart> Submitting "NY Payroll Company Vanishes With $35 Million"...
[19:05:30] <upstart> ✓ Sub-ccess! "NY Payroll Company Vanishes With $35 Million" (29 paragraphs) -> https://soylentnews.org
[19:05:51] <SoyCow2718> =submit https://www.zdnet.com
[19:05:54] <upstart> Submitting "IoT security: Now dark web hackers are targeting internet-connected gas pumps"...
[19:06:16] <upstart> ✓ Sub-ccess! "IoT Security: Now Dark Web Hackers are Targeting Internet-connected Gas Pumps" (17 paragraphs) -> https://soylentnews.org
[19:14:22] -!- SoyCow2718 has quit []
[20:16:11] <chromas> Mozilla's mercurial search is trash. Anger noises
[20:16:51] <chromas> I don't know what AlternateServices.txt in the profile is, and the one result their search returns doesn't actually contain it
[21:15:55] -!- dx3bydt3 [dx3bydt3!~quassel@99.192.uk.tt] has joined #Soylent
[22:05:04] <Bender> [SoylentNews] - U.S. Manufacturer Most Recent Target Of Lokibot Malspam Campaign - http://sylnt.us - do-not-open-suspicious-emails
[22:05:39] -!- Web_weasel has quit [Read error: Connection reset by peer]
[22:10:45] -!- AzumaHazuki [AzumaHazuki!~hazuki@xmf-92-154-91-63.neo.res.rr.com] has joined #Soylent
[22:10:46] -!- AzumaHazuki has quit [Changing host]
[22:10:46] -!- AzumaHazuki [AzumaHazuki!~hazuki@the.end.of.time] has joined #Soylent
[22:13:50] -!- Sulla_ has quit [Quit: Web client closed]
[23:38:31] <Bender> [SoylentNews] - Secret Service Investigates Breach At U.S. Govt IT Contractor - http://sylnt.us - whoops