#Soylent | Logs for 2019-09-01

« return
[00:36:28] <Bender> [SoylentNews] - Entanglement Sent Over 50 Km Of Optical Fiber - http://sylnt.us - did-you-see-that?
[01:45:59] <AzumaHazuki> are any of the admin and/or editorial staff present, upright, and not drunk?
[03:16:44] <Bender> [SoylentNews] - Huge Find of Silver Coins Provides New Clues to Turbulent Times - http://sylnt.us - riches-beyond-compare
[04:20:28] -!- AzumaHazuki has quit [Quit: Lost terminal]
[05:01:55] -!- Sulla [Sulla!~atomic@h-83-92-68-69.hsd3.or.comcast.net] has joined #Soylent
[05:36:10] <Bender> [SoylentNews] - NASA Inspector General Urges Congress to Reconsider SLS Requirement for Europa Clipper Mission - http://sylnt.us - congressional-pork-vs-when-pigs-fly
[06:06:54] <Bytram> legcramps--
[06:06:54] <Bender> karma - legcramps: -7
[06:07:32] <Bytram> yeah, I should not be awake at this hour, so I'm going to take a stab at getting a snack and trying to head back to sleep.
[06:09:38] <janrinok> Bytram, eat and sleep - you shouldn't be wandering around dangerous places like this in the dark....
[06:09:54] <Bytram> =g eaten by a grue
[06:09:54] <upstart> https://en.wikipedia.org(monster) - Grue (monster) - Wikipedia
[06:11:01] <Bytram> A common catchphrase associated with grues is a line in Zork, which is displayed whenever players enter a dark area without a light source: "It is pitch black. You are likely to be eaten by a grue."
[06:11:16] <janrinok> I read your discussion with chromas the other day
[06:11:21] <Bytram> I suppose that would be... grue-some?!!
[06:11:28] <janrinok> very punny
[06:11:56] <Bytram> at this time of day, more likely "vary funny"
[06:12:14] <Bytram> did you see that mrpg popped in for a spell today?
[06:12:34] <janrinok> yes I was just backreading...
[06:12:41] <janrinok> I wish him well
[06:14:25] <janrinok> your 'most commented story' record looks like it is safe
[06:15:00] <Bytram> I know what it is like to have to start over. I can honestly and candidly say it was most humbling and had some major challenges I feared I'd not be able to make it through, but atm I am grateful for the experience -- I would not be the man I am today without it. I have no interest in repeating the process, mind you!
[06:16:21] <Bytram> I wish him well, too. IIRC, English is not his native/primary language, and yet he has pushed out only 1 shy of 1200 stories on the site!
[06:16:46] <janrinok> that is an achievement in anyone's book
[06:16:49] <Bytram> Not only that, he has a great sense of humor and does not seem to take himself too seriously.
[06:17:04] <janrinok> and I don't recall having to correct much of his work
[06:17:07] <janrinok> gtg nurse
[06:17:11] <Bytram> laters
[06:17:16] * Bytram heads back to bed
[06:17:41] <Bytram> hugs and kisses to S!
[07:44:53] * chromas notices nobody appears to be around; takes off pants
[07:45:12] * chromas eats all the cinnamon rolls
[07:47:29] * janrinok who was quietly sitting in the corner is shocked and horrified at what he has just seen
[07:48:43] <chromas> I'm sorry; I didn't know you had your eye on the cinnamon rolls
[07:48:55] <janrinok> ... and you ate them all!
[07:55:16] <Bender> [SoylentNews] - Bruce Schneier on the Myth of Consumer Security - http://sylnt.us - Seckret-Codez
[07:57:58] -!- Sulla has quit [Ping timeout: 252 seconds]
[08:39:48] <janrinok> chromas, are you still on here?
[08:40:03] * chromas puts pants back on
[08:40:27] <janrinok> I'm slowly ploughing my way through various books on D, and doing the exercises
[08:41:02] <chromas> Does it make you wish you'd tried Go or something instead? ;)
[08:41:23] <janrinok> I've started getting an error saying that std.ctypes is not found. I've re-installed and searched on the internet. Some are suggesting that it is a library problem. Are you seeing anything similar?
[08:41:51] <chromas> Don't think I've come across that one
[08:41:51] <janrinok> I've installed via snap on Ubuntu and Fedora and am getting the same result
[08:42:07] <chromas> Do you have an example source file to test?
[08:42:38] <chromas> oh and which compiler are you using?
[08:42:51] <janrinok> yes its easy, just try accessing a char via isalpha e.g isalpha(list[4])
[08:42:57] <chromas> gdc, gcc frontend, ldc, llvm frontend, or dmd, a standalone-ish one
[08:42:59] <janrinok> Im using dmd
[08:43:14] <janrinok> other exercises work fine
[08:43:39] <janrinok> how did you install your libraries?
[08:43:46] <chromas> package manager
[08:43:57] <janrinok> snap, or is there a github somewhere?
[08:44:03] <chromas> pacman. I use artch btw.meme
[08:44:07] <janrinok> which distro
[08:44:14] <janrinok> gotcha'd
[08:44:15] <chromas> arch loonix
[08:44:32] <chromas> is that a char or char[]?
[08:45:11] <janrinok> I suspect that it might be the snap installation, but that is the only way I have found for Ubuntu and Fedora, direct from the instructions on the dmd site
[08:45:15] <chromas> oh, I'll look at the docs for isalpha
[08:46:12] <chromas> I see there are three isalpha()s
[08:46:23] <janrinok> that's interesting
[08:46:41] <chromas> from modules std.uni, std.ascii and core.stdc.ctype
[08:47:00] <chromas> is the XORcize you're looking at online?
[08:47:58] <janrinok> no, it is from The D Programming Language (Alexandrescu)
[08:48:03] <chromas> Must the stdc one because the others are isAlpha
[08:48:13] <chromas> oh. I don't have that
[08:48:18] <janrinok> yep, that's a typo
[08:48:27] <janrinok> isAlpha is correct
[08:48:30] <chromas> well the stdc one is all lowercase
[08:48:36] <janrinok> is it?
[08:48:47] <janrinok> import std.algorithm,
[08:48:47] <janrinok> std.conv,
[08:48:47] <janrinok> std.ctype,
[08:48:47] <janrinok> std.regex,
[08:48:48] <janrinok> std.range,
[08:48:49] <janrinok> std.stdio,
[08:48:50] <janrinok> std.string ;
[08:49:05] <chromas> But I don't think there's any reason to use that one unless you're doing stuff with c code maybe
[08:49:20] <chromas> https://dlang.org
[08:49:21] <upstart> ^ 03Function isalpha - D Programming Language
[08:49:54] <chromas> but try the one from std.uni https://dlang.org
[08:49:55] <upstart> ^ 03Function isAlpha - D Programming Language
[08:49:55] <janrinok> and that is the one I am using - from std.ctype, or would be if it could be found
[08:50:52] <chromas> Maybe they moved it
[08:51:08] <chromas> try changing std.ctype to core.stdc.ctype
[08:51:18] <janrinok> Error: module `ctype` is in file 'std/ctype.d' which cannot be read
[08:51:59] <janrinok> I'll have to search to see where it stores the libraries....
[08:52:10] <chromas> just change your import line
[08:52:27] <chromas> The docs don't show std.ctype to exist
[08:52:40] <chromas> How old is the book?
[08:52:53] <chromas> btw I get the same error
[08:53:30] <chromas> but changing it to core.stdc.ctype fixes the error
[08:54:12] <janrinok> yep, it works for me. A book with an exercise that doesn't work isn't terribly helpful.
[08:55:20] <chromas> heh, what. It returns 1024 instead of true
[08:55:57] <chromas> Since it's using a c function, I assume that's some oddity of c libraries
[08:56:33] <janrinok> I think that zero is false, anything else is true - but I could be talking out of my backside
[08:56:58] <chromas> Sure, but why 1024?
[08:57:30] <janrinok> ? I'm not a brain scientist or a rocket surgeon you know!
[08:57:59] <chromas> Using the D version, it just returns true
[08:58:58] <chromas> I'm just using writeln() on it, so it's probably got a little conversion function call in there somewhere
[08:59:18] <janrinok> I'm now finding lots of silly things in this particular exercise - I think I might skip it and move on. Any more problems and I'll change books
[08:59:58] <janrinok> but thanks for pointing out that std.ctype doesn't even exist according to your docs.
[09:00:03] <chromas> https://wiki.dlang.org
[09:00:05] <upstart> ^ 03Tutorials - D Wiki
[09:00:52] <janrinok> I've also got the PDF of Programming in D - Tutorial and Reference.
[09:00:53] <chromas> ooh, that book's from 2010. That could even be before D2, where a lot was changed
[09:01:46] <chromas> This could also be useful https://dlang.org
[09:01:47] <upstart> ^ 03Articles - D Programming Language
[09:02:06] <janrinok> No, it warns me about D1 so it is definitely D2 but possible outdated
[09:02:50] <chromas> And of course, the docs, API https://dlang.org and language https://dlang.org
[09:02:51] <upstart> ^ 03API documentation - D Programming Language
[09:02:52] <upstart> ^ 03Table of Contents - D Programming Language
[09:02:52] <janrinok> Thanks I've already got that site in my bookmarks, but hadn't got to reading it all yet.
[09:03:36] <chromas> I think the documentation could be better. It's a problem I also ran into
[09:04:52] <janrinok> There are lots of similarities between D and Python 3 - I'm quite comfortable with much of it. But I haven't done C/C++ for a few years and that is a bit rusty. Keep forgetting the ';' because Python 3 is all to do with spacing
[09:05:42] <chromas> Since strings are arrays, but you access them with slices, do you find the function you want in string, array, asci/uni, range or algorithm?
[09:06:05] <chromas> And some of them have differently named functions that do the same thing
[09:06:36] <janrinok> well, I found it in the book I was using - it teaches a few points and then sets exercises to work with.
[09:07:02] <janrinok> My second book is 2019 - so that should be good
[09:07:11] <janrinok> and I have the PDF too
[09:07:38] <chromas> See, now if you'd tried Go, you'd have : but only if you have another statemend on the same line, like in BASIC, which is why you can't do func blah(a int)
[09:08:26] <janrinok> I've also been thinking about Rust - but decided on D first
[09:08:53] <chromas> I like the D
[09:09:00] <janrinok> lol
[09:09:49] <chromas> I was using Pascal before. I think they started working hard on FreePascal right around the time I switched the bot to D, so maybe I should check it out again
[09:11:19] <chromas> I wonder if any of the elder languages have modernish network support. Perhaps we need a COBOL irc bot
[09:11:36] <janrinok> I'm also working on Arthur - it has more options now but can still be a basic story parser if that is all that is needed.
[09:14:32] <chromas> test https://www.forbes.com
[09:15:02] <chromas> oh it finally popped up in the script
[09:15:12] <chromas> Not sure what makes it take so long. Loads fine in browser
[09:15:22] <upstart> ^ 03Have Instagram Influencers Ruined Travel For An Entire Generation?
[09:15:38] <chromas> http://chromas.0x.no
[09:15:39] <janrinok> yep, it seems to have coped with that
[09:15:39] <chromas> teehee
[09:16:59] <janrinok> ah, one of my favourite pet hates - ill informed people telling others what they should do
[09:17:29] <chromas> I didn't really want to read the article, but it was in my feed and I wanted to see if it still errored in the bot
[09:17:40] <chromas> Used to always get a "Forbes Welcome" page
[09:18:02] <janrinok> arthur coped - perhaps you have a slow connection at the moment?
[09:18:17] <chromas> Dunno. Loads fine directly in waterfox
[09:18:33] <chromas> it's only my bot (and feed reader) that seem to have an issue
[09:18:41] <janrinok> lol - another new name. What makes waterfox different?
[09:19:01] <chromas> I think its original purpose was 64-bit builds
[09:19:14] <chromas> but it also has simultaneous support for old and new extensions I think
[09:19:25] <janrinok> now that's useful
[09:34:00] <janrinok> afk - lunch to make!
[09:34:20] <chromas> food++
[09:34:20] <Bender> karma - food: 18
[10:17:03] <Bender> [SoylentNews] - Burgundy’s Vineyards Haven’t Been This Hot Since the Black Death - http://sylnt.us - whine-about-wine
[10:18:07] -!- Sirfinkus [Sirfinkus!~SirFinkus@u-32-30-676-744.hsd5.wa.comcast.net] has joined #Soylent
[12:34:16] -!- Web_weasel [Web_weasel!~Stefan@cqig64-433-10-1.range14-483.btcentralplus.com] has joined #Soylent
[12:35:29] <Bender> [SoylentNews] - Bad Idea: Paint a Car with Vantablack - http://sylnt.us - what-would-it-look-like-using-nightvision-goggles?
[14:30:40] -!- Runaway1956_ has quit [Ping timeout: 252 seconds]
[14:30:51] -!- Runaway1956 [Runaway1956!~justanoth@70.32.z.rgo] has joined #Soylent
[15:00:20] <Bytram> just popping in for a moment to say I'm heading off to work and won't be back until late tonight.
[15:00:28] <Bytram> Hope all of you have a great day!
[15:05:37] <Bender> [SoylentNews] - OpenAI Has Released the Largest Version Yet of its Fake-News-Spewing AI - http://sylnt.us - real-spiel
[15:17:28] <FatPhil> why do I get to sit next to the schizophrenic on the coach? he's kinda scaring me, I hope he's on his calming meds.
[15:21:45] -!- Sulla [Sulla!~atomic@h-83-92-68-69.hsd3.or.comcast.net] has joined #Soylent
[15:24:45] <Sulla> salutations
[16:50:22] -!- Sulla has quit [Ping timeout: 252 seconds]
[16:56:20] -!- Carny has quit [Remote host closed the connection]
[17:27:24] <Bender> [SoylentNews] - Google Play Apps with 1.5 Million Downloads Drained Batteries and Slowed Devices - http://sylnt.us - caveat-emptor
[17:32:16] -!- Carny [Carny!~carn@657.emeraldonion.org] has joined #Soylent
[17:34:17] -!- Carny has quit [Remote host closed the connection]
[17:38:16] -!- Carny [Carny!~carn@608.emeraldonion.org] has joined #Soylent
[18:14:49] -!- Sulla [Sulla!~atomic@h-83-92-68-69.hsd3.or.comcast.net] has joined #Soylent
[18:40:22] -!- boru has quit [Ping timeout: 252 seconds]
[18:42:29] -!- boru [boru!~boru@l2o8efvy.dyn.telefonica.de] has joined #Soylent
[18:50:16] -!- Sulla has quit [Ping timeout: 252 seconds]
[19:33:15] <chromas> Larry Cashdollar
[19:45:51] <Bender> [SoylentNews] - Early Hominin Skull Fills in “a Major Gap” in the Fossil Record - http://sylnt.us - not-such-a-big-head
[20:00:50] <chromas> https://www.youtube.com
[20:00:51] <upstart> ^ 03The Nerd Crew: D23, Star Wars, D23, Disney+ and Streaming Services
[20:24:12] -!- Sulla [Sulla!~atomic@h-83-92-68-69.hsd3.or.comcast.net] has joined #Soylent
[21:09:31] -!- Web_weasel has quit [Read error: Connection reset by peer]
[21:46:57] -!- AzumaHazuki [AzumaHazuki!~hazuki@xmf-92-154-91-63.neo.res.rr.com] has joined #Soylent
[21:46:57] -!- AzumaHazuki has quit [Changing host]
[21:46:57] -!- AzumaHazuki [AzumaHazuki!~hazuki@the.end.of.time] has joined #Soylent
[22:15:59] <Bender> [SoylentNews] - EU Likely to Overshoot Greenhouse Gasses (GHG) Targets - http://sylnt.us - they-said-it-couldn't-be-done
[22:56:07] -!- Sulla has quit [Ping timeout: 252 seconds]