#soylent | Logs for 2022-02-16
« return
[01:46:30] <Bender> [SoylentNews] - Emoji Web Addresses are Now a Thing (on Opera, Anyway) - https://sylnt.us - I'm-NOT-going-to-click-it...YOU-click-it
[02:02:14] -!- boru` [boru`!~boru@nowhere] has joined #soylent
[02:02:16] -!- boru has quit [Killed (NickServ (GHOST command used by boru`))]
[02:02:19] boru` is now known as boru
[02:05:23] -!- SoyCow4240 [SoyCow4240!~b9cadd2a@185.202.iux.on] has joined #soylent
[02:05:25] <SoyCow4240> I wonder what excuse all the Jewfaggots are going to make when it's revealed that some greedy Jew was behind the open DNS connection between Trump and "Russian Bank." And I will wonder still: How will you Jewish Commie faggots walk back the "Russia" narrative?
[02:06:02] <SoyCow4240> Answer: Jews don't issue corrections. They stammer, babble, and pilpul.
[02:07:00] SoyCow4240 is now known as Russian_Hackers
[02:07:53] <Russian_Hackers> Da Comrade, unsky zhot of Wodka
[02:08:09] <Bytram> .kick Russian_Hackers
[02:08:09] -!- Russian_Hackers was kicked from #soylent by Imogen!Imogen@imogen.dusty.attic [(Bytram (martyb)) No reason given]
[02:08:28] <Bytram> buh bye!
[02:19:24] -!- SoyCow4240 [SoyCow4240!~175289e5@23.82.tzr.nkq] has joined #soylent
[02:19:27] <SoyCow4240> https://en.wikipedia.org
[02:19:27] <systemd> ^ 03Rodney Joffe - Wikipedia
[02:19:43] <SoyCow4240> Early life: Joffe was born in South Africa to a Jewish family.
[02:19:58] <SoyCow4240> And there you have it! I didn't even know before I just checked!
[02:20:09] -!- SoyCow4240 has quit [Client Quit]
[02:26:19] -!- inky has quit [Ping timeout: 264 seconds]
[02:39:59] <Runaway1956> "The U.S. Chamber of Commerce has become a self-licking ice cream cone,"
[02:40:15] <Runaway1956> Kinda sounds like my dog . . .
[02:40:24] -!- inky [inky!~inky@duk-pmnqq-1.mnpnk.com] has joined #soylent
[02:59:14] -!- boru` [boru`!~boru@nowhere] has joined #soylent
[02:59:16] -!- boru has quit [Killed (NickServ (GHOST command used by boru`))]
[02:59:19] boru` is now known as boru
[03:26:59] -!- AzumaHazuki [AzumaHazuki!~hazuki@the.end.of.time] has joined #soylent
[03:38:11] <tedious> Good evening AzumaHazuki.
[03:38:56] <tedious> Did you ever check out the political misfits podcast?
[03:45:41] <tedious> Monday's had some local left reporting and critique on the ottowa situation you might find interesting.
[03:46:23] <AzumaHazuki> i'm too deaf for those unfortunately ><
[03:46:50] <AzumaHazuki> =submit https://www.reuters.com from the another-one-doesn't-bite-the-dust dept.
[03:46:52] <systemd> ✓ Sub-ccess! "03First Woman Reported Cured of HIV After Stem Cell Transplant" (27p) -> https://soylentnews.org
[03:47:05] <tedious> Oh no I'm sorry!
[03:53:22] <tedious> I don't know how hard it is to turn a podcast into a transcript using fossware.
[03:53:47] <tedious> I should see if it's reasonably easy to do.
[03:54:21] <tedious> Anyway it's interesting to see more trustworthy reporters talking about what's really happening.
[03:55:22] <tedious> And it's even more interesting to see how people who are supposed to be pro-worker are fighting to get in front of cameras and microphones to denounce this obviously peaceful pro-worker movement.
[03:56:11] <tedious> Smells like some folks have been bought out by the system they are supposed to be resisting.
[04:36:31] <Bender> [SoylentNews] - Experiment with Turnstiles of Single Electrons Lights Way Towards New Power Standard - https://sylnt.us
[05:42:31] -!- Ingar has quit [Ping timeout: 264 seconds]
[06:09:31] -!- inky has quit [Ping timeout: 264 seconds]
[06:12:06] -!- inky [inky!~inky@5.183.pmt.noy] has joined #soylent
[06:55:16] -!- halibut has quit [Quit: leaving]
[07:06:11] -!- halibut [halibut!~halibut@CanHazVHOST/halibut] has joined #soylent
[07:16:12] <Bender> [SoylentNews] - IBM Execs Call Older Workers 'Dinobabies' in Age Bias Lawsuit - https://sylnt.us - how-long-do-those-execs-expect-to-continue-to-work-for-IBM?
[07:20:46] -!- halibut has quit [Quit: leaving]
[07:27:19] -!- halibut [halibut!~halibut@CanHazVHOST/halibut] has joined #soylent
[08:00:09] <chromas> Wow, I've'nt been paying attention. A lot of sites have changed their rss feeds
[08:00:49] <SoyGuest99706> making them more usable, or more modern?
[08:00:50] <chromas> Someone should invent some sort of standard way of accessing resources that doesn't change all the time
[08:01:00] <chromas> neither
[08:01:09] <chromas> probably just changed their software
[08:01:19] <chromas> though some have switched over to google's feedburner
[08:01:34] <SoyGuest99706> well, the access method you seek is just "GET"?
[08:01:51] <chromas> it is
[08:02:09] <chromas> but the urls changed
[08:02:50] <chromas> the url greys
[08:04:28] <chromas> They change their urls and then wonder why they don't show up in my highly prestigious feed page, which has literally dozens of bots hitting it per day
[08:09:06] <chromas> google--
[08:09:06] <Bender> karma - google: -29
[08:09:20] -!- AzumaHazuki has quit [Remote host closed the connection]
[08:23:00] <SoyGuest99706> https://www.slashfilm.com
[08:23:01] <systemd> ^ 03Here's Why Movie Dialogue Has Gotten More Difficult To Understand (And Three Ways To Fix It)
[08:51:03] <inz> chromas, I only wish there was some kind of standard way to tell clients that the resource they are looking for has moved permanently
[08:57:09] <SoyGuest99706> but 404 is 102 better than 302!
[08:57:56] <SoyGuest99706> ooops, 301
[09:01:10] <chromas> or like, maybe they could stop moving them around for no reason
[09:10:39] <janrinok> chromas, they cannot find a way to monetize RSS feeds, to they would rather change to web pages full of js crap and multiple indirection to defeat those who want to read without, gasp!, having to sign their life and computer away to big business.
[09:11:06] <janrinok> I have exactly the same problem for my story sources.
[09:11:30] <chromas> They could just put the twitter/summary stub in so we still have to click to load the page
[09:11:49] <chromas> Maybe I should set up a page-to-rss script
[09:12:01] <janrinok> they could, but how would that get money out of your pocket?
[09:12:05] <chromas> or page to db I guess
[09:12:26] <chromas> by making me click the link that loads their ad-laden site with the full article
[09:13:12] <chromas> as far as I know, pretty much all the softwares have rss built in, so probably most sites only have it on because it's there by default, and they haven't bothered to turn it off :D
[09:13:16] <janrinok> NoScript to the rescue!
[09:13:41] <chromas> µmatrix
[09:14:18] <janrinok> :)
[09:14:28] <chromas> I don't wanna load the ads, but they want me to
[09:14:58] <chromas> they can keep the rss feed and still have me go to the site to read the full farticles
[09:15:28] <chromas> I already have a button to load the full article into the feed summary; maybe I should make it automatic
[09:15:46] * chromas needs to replace curl with Requests
[09:18:11] <janrinok> hang on a day or two - it doesn't work exactly as expected. I'm still trying to resolve a few minor issues. Alternatively, you get it working and I'll have your code please.
[09:18:37] <chromas> Are you using dub and all that jizz?
[09:18:39] <janrinok> It is similar to, but not as well structured, as the Python version
[09:18:42] <janrinok> yep
[09:19:14] <janrinok> Python has 'sessions' whereas D wants you to do all that crap yourself
[09:27:39] <chromas> What goes into the session? Isn't it just a few cookies?
[09:28:37] <janrinok> No there is a bit more than that. And the Python version does much of it automatically whereas the D version doesn't. I am trying to work out which bits it doesn't automatically do.
[09:29:17] <chromas> I probably don't need any of that so any code I make probably won't help. I'll play with yours if you want, though
[09:29:35] <chromas> like for doing stuff with SN, all I need is the login cookie
[09:29:41] <janrinok> sessions contain a connection pool, various variables etc
[09:30:50] <janrinok> In particular, cookies just 'happen' with python - you never need to be aware of them. For some reason D is doing something different and I haven't worked out what it is yet.
[09:32:20] <chromas> it doesn't just stay in the cookie[] array?
[09:32:27] <chromas> or they don't just stay blah blah
[09:32:28] <janrinok> When you log into the site to use the API, where do you get your cookie from. I'm sure it is being returned by the site but I cannot seem to find a way of accessing it - which previously wasn't even necessary.
[09:32:58] <janrinok> the cookie array is empty
[09:33:10] * chromas digs out the ol' editor
[09:33:42] <janrinok> afk 10
[09:44:06] <janrinok> back
[09:46:26] <janrinok> In Python, a session 'wraps' the requests so that rather than write request.get you are writing session.get. This abstracts away all the keep-alive, connection pools, cookies and other trivia that you don't want to waste time doing.
[09:48:31] -!- inky has quit [Ping timeout: 264 seconds]
[09:48:54] <janrinok> Secondly, I don't particularly want to have the latest updated version of D requests downloaded just because it is released. I would rather have it and continue to use it in numerous projects but DUB wants me to keep writing various files and repeating them for each project.
[09:50:23] <janrinok> I wrote the project that I wanted yesterday afternoon after your help 2 days ago in Python. I'm now trying to do the same in D and it is going much more slowly.
[09:51:11] <janrinok> I have the project logic sorted, but just keeping a persistent connection with cookies is proving a little tricky.
[09:51:48] <chromas> Time to make a session wrapper thingymajiggerator
[09:59:20] <chromas> Did a quick test and got cookies i cookie[] after hitting up a site
[09:59:28] <chromas> s/i/in/
[09:59:28] <SedBot> <chromas> Dind a quick test and got cookies i cookie[] after hitting up a site
[09:59:40] <chromas> /3
[10:00:00] <janrinok> so where are you accessing cookie[]?
[10:00:12] <janrinok> in the request, in the response?
[10:00:56] <janrinok> because I have got conflicting information here from Dlang Library, users problems, and elsewhere
[10:02:09] -!- inky [inky!~inky@89.163.rzl.kx] has joined #soylent
[10:02:10] <chromas> in the Request struct created by calling Request()
[10:02:49] <janrinok> so Request.cookie?
[10:02:52] <chromas> auto fart = Request(); fart.get("https://google.com/"); fart.cookie.writeln();
[10:02:52] <systemd> ^ 03Error 404 (Not Found)!!1
[10:02:54] <chromas> yeah
[10:05:10] <janrinok> that is doing didley squat here
[10:05:30] <chromas> nothing shows up in array?
[10:07:22] <janrinok> depends on how you print it. Writeln(rq) - nope, rq.writeln - yep
[10:07:52] <chromas> There's no Writeln. Should be writeln
[10:08:14] <janrinok> start of a sentence! I always capitalise!
[10:08:24] <Bender> [SoylentNews] - Akamai to Acquire Linode - https://sylnt.us
[10:08:25] <chromas> Try rq.cookie.writeln
[10:08:32] <chromas> or writeln(rq.cookie);
[10:08:52] <janrinok> so where does it expect you to put it so that it is always used for future connections?
[10:10:23] <janrinok> Obviously a big difference from Python. print(rq) would print the whole structure showing its layout
[10:10:31] <chromas> the cookies stay in the array as long as the struct stays around
[10:10:41] <chromas> but it's an array, so you can stick it wherever you want
[10:11:05] <janrinok> so they automatically get used with every connection to the same domain?
[10:11:29] <chromas> most things in D have a toString method of some sort that gets called when you writeln() it. You can override it to do what you want
[10:12:02] <janrinok> can it differentiate between subdomains e.g. amazon.fr.livres and amazon.fr.technologie?
[10:12:11] <chromas> doesn't have to be the same domain. I just tried it with google.com and then bing.com. The google cookies were still there after hitting bing, plus the bing ones too
[10:12:18] <janrinok> because they have different cookies
[10:13:08] <chromas> They're all stored there. I'm assuming it only sends the correct ones but I haven't looked into it
[10:13:46] <janrinok> k thanks for that. I'll have to go and play some further but it wasn't doing that yesterday evening.
[10:15:43] <chromas> buttmagic
[10:16:47] <SoyGuest99706> presturdigitation?
[10:19:54] <chromas> sounds cheeky
[10:22:53] <chromas> ah yes, it looks like it only does the matching cookies
[10:23:35] <chromas> auto cs = _cookie._array.filter!(c => _uri.path.pathMatches(c.path) && _uri.host.domainMatches(c.domain)).map!(c => "%s=%s".format(c.attr, c.value)).joiner(";");
[10:33:35] <SoyGuest99706> what a back-to-front inside-out language
[10:34:42] <chromas> don't wipe back-to-front
[10:36:42] <SoyGuest99706> suffers from everything-is-an-object obsession, and then choses the wrong thing to be the object.
[10:37:49] <SoyGuest99706> how on earth can "%s=%s" be *anything* apart from a parameter?!?!? Nope, it's the thing that is doing the doing.
[10:38:31] <SoyGuest99706> you want to format an attr a certain way? why not ask the attr to format itself that certain way?!?!?
[10:41:00] <SoyGuest99706> I used to lecture OO programming, back in the early 90s. Seeing the idiocy that's followed by people who don't understand the origins of the field is painful.
[10:41:10] <chromas> not everything's an object, but it has a 'feature' where the first parameter of a function can look like an object
[10:41:23] <chromas> so you can do writeln("fart"); or "fart".writeln;
[10:41:39] <SoyGuest99706> borrowed from C-front
[10:41:43] <chromas> it's so you can cut back on parentheses
[10:42:16] <SoyGuest99706> oh, gawd, that's an antifeature right there
[10:42:17] <chromas> "fart".reverse.capitalize.burp; instead of burp(capitalize(reverse("fart")));
[10:42:47] <chromas> You don't have to do it
[10:42:52] <SoyGuest99706> it means you can't distinguish between the invocation of a function and a reference to a function.
[10:43:00] <chromas> probably one of the things your favorite guy added in
[10:43:15] <SoyGuest99706> Alexandrescu?
[10:43:53] <chromas> sí
[10:44:21] <SoyGuest99706> but C++ had member function pointers- he should have known that
[10:44:42] <chromas> I haven't looked into it too much, but it's my understanding that everything anyone dislikes about D2 is all his fault
[10:44:49] <SoyGuest99706> maybe he thought they were a bad idea, and wanted to make sure they could never be introduced into D?
[10:45:44] <chromas> D has pointers 'n' shit
[10:46:28] <SoyGuest99706> so why disable method pointers?
[10:46:51] <chromas> so anyhow, instead of "%s=%s".format(c.attr, c.value) you could do format("%s=%s", c.attr, c.value)
[10:47:10] <SoyGuest99706> didn't save you any brackets!
[10:47:42] <chromas> in that case no, but maybe it looks prettier to certain zpergs
[10:47:56] <SoyGuest99706> of course, having format parse "%s=%s" every time at runtime is dumb, even perl got that right.
[10:48:21] <SoyGuest99706> zpergs who don't understand the origins of OO languages.
[10:48:40] <chromas> well it's in a template parameter
[10:49:10] <chromas> also D executes anything it can at compile time
[10:51:01] <chromas> Alls I knows is D was created by a guy who made a C++ compiler and thought he could do better. Then Alex and rescu(e) came along
[10:51:38] <chromas> and it's less gay than c++
[10:51:56] <chromas> because it has modules
[10:52:55] * chromas wonders if FatPhil's off drankin' a beer or headbanging a dent into his desk
[10:54:36] <SoyGuest99706> Walter was smart
[11:04:04] <chromas> ah here we go. they call it Uniform Function Call Syntax
[11:33:08] <janrinok> chromas, where did you find a definition of the response structure?
[12:16:56] <chromas> I was in http.d and quit looking around once I found that line
[12:17:36] <chromas> ~/.dub/packages/requests-[version]/requests/source/requests/http.d
[12:40:09] <SoyGuest99706> TBD54566975 !?!?!?
[12:41:01] <SoyGuest99706> Surely, that should be TBD54776975?
[12:41:14] <SoyGuest99706> anyway, I've never heard of it
[12:41:16] <chromas> Some sort of buttcoin circlejerk?
[12:43:27] <SoyGuest99706> probably. part of "Block", which was "Square".
[12:44:51] <chromas> oh, quadrilateraljerk
[12:45:15] * chromas checks his parallelogrammar
[12:46:16] <Bender> [SoylentNews] - Study Highlights Worldwide Disparities in Treatment Rates for Major Depressive Disorder: Meta-analys - https://sylnt.us - no-laughing-matter
[12:46:58] <chromas> ooh, an analys
[12:47:23] <chromas> Need to adjust that title so it cuts off at "anal"
[14:56:51] <SoyGuest99706> the final word adds nothing anyway, no need even for anal
[15:00:55] <SoyGuest99706> and nobody needs meta
[15:17:55] -!- requerdanos has quit [Ping timeout: 264 seconds]
[15:20:08] -!- requerdanos [requerdanos!~requerdan@Soylent/Staff/Editor/requerdanos] has joined #soylent
[15:20:08] -!- mode/#soylent [+v requerdanos] by Imogen
[15:33:44] <Bytram> chromas: agreed -- title needs fixing
[15:34:19] <Bytram> would you please do that? Or should I?
[15:35:02] * Bytram edits
[15:35:43] * Bytram sees janrinok is already on it!
[15:35:48] <Bytram> janrinok++
[15:35:48] <Bender> karma - janrinok: 94
[15:36:05] * Bytram backs out of the story
[15:37:32] <Bytram> my bad -- I missed that one when I processed the story !
[15:37:41] <Bytram> Bytram--
[15:37:41] <Bender> [SoylentNews] - Elon Musk Quietly Donated Nearly $6 Billion Last Year. Where Did It Go? - https://sylnt.us
[15:47:49] <Bender> [SoylentNews] - Study Highlights Worldwide Disparities in Treatment Rates for Major Depressive Disorder - https://sylnt.us - no-laughing-matter
[15:50:15] <janrinok> Bytram, that title problem looks ok when we are editing it but it is limited when displayed publicly. Another one of the those niggles that one day might be fixed.
[15:53:20] <Bytram> yes, but I recall noticing that when I was editing the story and viewing the rendered version. but it fell off the stack when I was working on the rest of the story.
[18:25:43] <Bender> [SoylentNews] - First Woman Reported Cured of HIV After Stem Cell Transplant - https://sylnt.us - another-one-doesn't-bite-the-dust
[19:07:15] -!- AzumaHazuki [AzumaHazuki!~hazuki@the.end.of.time] has joined #soylent
[19:16:10] -!- Tekk_ [Tekk_!~tekk@ddn-42-103-92-98.nc.res.rr.com] has joined #soylent
[19:19:07] -!- Tekk__ has quit [Ping timeout: 264 seconds]
[21:17:06] <Bender> [SoylentNews] - U.S. to Inspect New 787 Dreamliners, Says Boeing Cannot Self-certify - https://sylnt.us - fool-me-once...
[21:36:31] -!- inky has quit [Ping timeout: 264 seconds]
[21:37:34] <Bender> [SoylentNews] - U.S. to Inspect New 787 Dreamliners, Says Boeing Cannot Self-Certify - https://sylnt.us - fool-me-once...
[21:40:35] -!- inky [inky!~inky@4.tor-exit.neelc.org] has joined #soylent
[21:43:27] <SoyGuest99706> "I lived in New Mexico once, and found a large portion of the yard to be oily and black one morning. Closer examination showed it to be insect eggs, but I don't know what species. Any suggestions?"
[22:50:43] <tedious> Something alien that will eat the entire human race.
[22:53:02] <tedious> In other news it seems that the canadian truckers have gotten so many gifts of non-perishable foods from visitors that they had to donate lots of it to local charities.
[22:53:38] <tedious> Then the local charities's storage got so full they had to ask the truckers to stop donating.
[22:54:24] <tedious> So now the government has to step in and break up the convoy before all the poor people are fed.
[23:00:25] <Bytram> https://www.youtube.com
[23:00:27] <systemd> ^ 03C.W. McCall - Convoy
[23:02:13] <Bytram> NB: Keep a healthy distance from Pigpen
[23:10:28] <AzumaHazuki> this whole "freedom" convoy thing smells like steve bannon
[23:10:48] <AzumaHazuki> this has got to be a loonie-right hijacking
[23:13:33] -!- xuser [xuser!~xuser@212.102.mn.rlr] has joined #soylent
[23:20:04] <Bytram> I've found that feelings are not facts, no matter how much things *seem* that they are. Get to the source and look for motives... question *everything*. But, OTOH, do not not let that blind you to genuine acts of kindness.
[23:20:18] <Bytram> =g desiderata
[23:20:19] <systemd> https://www.desiderata.com - Desiderata Original Text
[23:23:07] <AzumaHazuki> that's nice and squishy and fuzzy and allathat but...reality on the ground is, it's following a similar trajectory to other "rebels without a clue" uprisings in the US
[23:30:04] <Bytram> I think I pretty much said the same thing. Search for the facts, but don't search and stare so long that you fail to see and appreciate the flowers.
[23:30:04] -!- AzumaHazuki has quit [Read error: Connection reset by peer]
[23:30:34] * Bytram wonders if that was in time?
[23:35:11] -!- Iambchop has quit [Read error: Connection reset by peer]
[23:36:00] -!- Iambchop [Iambchop!sid255637@rh-102222.helmsley.irccloud.com] has joined #soylent
[23:42:04] <chromas> nope. you diagreed. you're alt-right now
[23:54:23] -!- AzumaHazuki [AzumaHazuki!~hazuki@mvx-66-270-248-277.buffalo.res.rr.com] has joined #soylent
[23:54:25] -!- AzumaHazuki has quit [Changing host]
[23:54:25] -!- AzumaHazuki [AzumaHazuki!~hazuki@the.end.of.time] has joined #soylent