Perl 6 - the future is here, just unevenly distributed

IRC log for #perl11, 2017-01-04

| Channels | #perl11 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:50 travis-ci perl11/cperl#2094 (smoke/master - 91d22c1 : Karl Williamson): The build passed. https://travis-ci.org/perl11/cperl/builds/188703273
02:09 stephen joined #perl11
02:09 stephen hey willthechill
02:09 willthechill stephen: hello my friend!
02:09 willthechill I just didn't want to jam up GitHub
02:09 stephen so, I have to setup that specific variable and it will be just fine?
02:09 willthechill do you know about the PERL5LIB env var?
02:10 stephen I wanted to come here, but then I said "maybe Will wants to keep a log archive via issues page? ¯\_(ツ)_/¯"
02:10 stephen let me check
02:11 stephen you mean the environment variable for Perl5?
02:12 stephen should I set it as user variable or like system variable to use it always?
02:13 willthechill yes we can keep a log here too
02:13 willthechill and GitHub is not good for real-time talking
02:13 willthechill the env var PERL5LIB is one of the most basic and imporant parts of running complicated Perl stuff
02:13 willthechill becuase you may have Perl .pm files in many different directories
02:14 willthechill so you should check what is the current value of PERL5LIB now
02:14 willthechill it is like your PATH env var, it contains a colon-separated list of paths
02:15 willthechill it needs to have lib as one of the entries in PERL5LIB in order to find the RPerl/AfterSubclass.pm and all the other RPerl files
02:16 stephen on Linux it's extremely easy to do this lol, on Windows though...
02:16 stephen I need to play around a bit
02:17 willthechill well all we're talking about so far is setting your environmental variables
02:18 willthechill that should be pretty much just as straightforward on Windows as any other OS
02:18 willthechill granted, I don't use or know anything about Windows, so I could be wrong!
02:19 stephen you see? ^_^ I have touched Windows for ages
02:20 willthechill I have an appointment, will you be around in an hour or two?
02:21 willthechill stephen: also, I realized I don't have an e-mail address for you?
02:21 stephen willthechill: you don't?
02:21 stephen let me PM it to you
02:21 stephen hopefully I will be here
02:30 stephen it stops at "ok 116 - TIVOO integer_to_string() throws correct exception"
03:42 willthechill stephen: okay I'm back
03:42 willthechill :-)
03:42 stephen welcome back mate
03:42 stephen I think I have just discovered a bug
03:43 willthechill is 116 where it failed before or did we make some progress?
03:43 stephen it fails on all exception tests
03:43 stephen give me a second to double-check something
03:46 stephen no, I don't think I have found a bug lol
03:46 stephen but then again, I might be wrong
03:46 stephen 01 test fails
03:47 willthechill 01 test?
03:47 willthechill sorry can you be more specific please?
03:48 stephen yeah, give me a second
03:49 stephen there you go http://pastebin.com/aQe7ftcg
03:49 willthechill checking
03:50 stephen take your time
03:51 willthechill okay we've got some basic Perl lessons to learn here about how to execute stuff, remember how we set PERL5LIB to include "lib"?  that is because usually it is expected (or required) that you will executed commands from the distribution's root directory, in this case you are putting yourself inside the t/ directory which is incorrect because now your PERL5LIB is invalid again and also it can't find the Changes file, etc.
03:52 willthechill in other words, you can't be in the t/ directory and do what you're trying to do
03:52 willthechill you need to do `perl t/01_changes.t`
03:52 willthechill not `cd t; perl 01_changes.t`
03:52 willthechill make sense?
03:53 stephen let me check this lol
03:54 stephen yep, my bad
03:54 stephen I didn't know that
03:55 willthechill okay
03:56 stephen now, about the 116 in t/04...
03:56 stephen it hangs on the exception and does not reach the end of the program
03:57 willthechill yes but again, we need to see if we can get more info about that
03:57 willthechill did you set the env vars?  RPERL_DEBUG=1  RPERL_VERBOSE=1
03:57 stephen that's the thing; I set my environment variables as you have suggested and does not produce anything specific
03:57 willthechill then run `perl t/04_type_scalar.t`
03:59 stephen I did
03:59 stephen it still hangs there
03:59 willthechill with no additional output?
03:59 stephen nope
03:59 willthechill is it utilizing CPU?
04:00 stephen yeah, the CPU switches from one core to another
04:00 stephen it's on a virtual machine, that's why
04:00 stephen but I can hear it processing something and task manager reports 99% usage
04:00 stephen CPU* usage
04:00 willthechill well what I'm asking is, when you say it "hangs", is it actually running a CPU-intensive process?
04:00 willthechill you say 99% CPU usage, so I assume the answer is "yes"
04:01 willthechill next question: exactly what process is taking up the CPU?
04:01 stephen yeah, it sounds like it's processing something, but even after 30+ minutes, it won't stop
04:01 willthechill is it a call to gcc?  a call to the perl interpreter?  something else?
04:01 stephen it tells perl.exe
04:01 willthechill okay do you see any call to gcc or g++ or anything else at all, other than perl.exe?
04:01 stephen let me double check it
04:01 stephen brb
04:02 willthechill okay
04:03 stephen nope, just perl.exe
04:04 stephen the same behavior happens with other tests too
04:04 stephen and their common factor is the exception mechanism
04:05 willthechill exception mechanism?
04:05 stephen it's something like "bla_bla_to_string() throws correctione exception"
04:05 stephen lol *correct
04:05 willthechill oh okay, you mean the tests which make sure the correct errors are thrown
04:06 willthechill this sounds like a Windows-specific issue which is no longer related at all to the GitHub issue
04:06 willthechill and I don't support Windows, that's bulk88
04:06 stephen indeed it must be something that has to do with Windows
04:07 willthechill we need more debugging info but I can't help with that in Windows
04:07 stephen because with 05 test, it hangs on 109
04:07 willthechill because RPerl is passing all Windows tests via AppVeyor
04:07 stephen nice
04:07 willthechill can you please file a new GitHub issue in RPerl (not Inline::CPP)?
04:08 willthechill and somehow we need to find out if the the current Inline::CPP issue has been resolved?  (regarding spaces in directory paths)
04:09 stephen the spaces problem existed on Windows XP
04:09 stephen since XP has been discontinues like ages ago, I had to upgrade to Windows 7
04:09 stephen so I guess I have to add some spaces in my directory to check it whether it works on not
04:12 willthechill right
04:13 willthechill of course now we have 2 different issues, the spaces-in-paths and the hanging-on-perl.exe  :-P
04:14 stephen OK, the space in paths seems to have got resolved
04:14 stephen now, the hanging issue
04:15 willthechill hmm well in order to make sure the space-in-paths is actually solved, we would need to somehow swap out the old Inline::Filters v0.17 and see if it crashes
04:16 stephen darn it...the spaces are causing problems with modules
04:16 willthechill you are on a totally different operating system now, so I don't trust one simple test to tell us if the spaces-in-path is fixed just yet
04:16 willthechill with RPerl modules?
04:17 stephen yeah
04:17 stephen let me check without double-quotes around my spaced environment variable
04:18 willthechill hmm okay
04:19 stephen interesting
04:19 stephen without the double-quotes, it works as expected
04:20 willthechill well I am really not the correct person to be helping with this, it was bulk88 and rurban who diagnosed and fixed this issue, I only know the RPerl-specific parts  :-/
04:20 willthechill but rurban is not on IRC right now
04:20 willthechill bulk88: are you here
04:21 stephen test 09 failed at 231 from 232 tests :S
04:21 stephen blimey
04:24 stephen test 10 compiled successfully and test 11 hanged like the rest with exceptions
04:24 stephen now I've got curious to check the test's code
04:25 willthechill wow okay
04:26 willthechill there is another person named mako93r who can help with this, but he is also not on IRC right now
04:26 willthechill please take good notes so that we can discuss it with the others when they are here
04:26 willthechill :-)
04:26 willthechill I don't think I can help much more than I have so far...
04:27 stephen no worries mate
04:28 willthechill of course I will help however I can!  :-)
04:28 willthechill we need to keep the ball moving forward on these issues
04:29 stephen true
04:29 stephen I think your message on github came at the right time
04:30 willthechill great, I am very glad to hear you say that
04:30 stephen I haven't had any energy for months now and I was quite down emotionally speaking
04:30 stephen unemployment for nearly 2 years now it's not a joke man :/
04:30 stephen you develop all sorts of issues
04:30 stephen anxiety, panic attacks
04:30 willthechill well we're glad you're back here with the RPerl team!
04:31 stephen heh thanks :)
04:31 willthechill for me, I always feel better about everything in life when I can solve code problems, haha!
04:32 willthechill (of course I also pull out my hair when the code won't compile)
04:33 stephen unfortunately, my self-esteem does not help me to do whatever I want to, but what can I do mate
04:33 stephen I'm completely unmotivated for a long time now
04:34 stephen I have been pushing myself to learn more about WordPress and PHP7, but I'm just crawling
04:34 willthechill well I'm very motivated, so perhaps it may rub off
04:34 willthechill hmm well I don't know anything about that stuff, I just do Perl, sorry!
04:35 stephen where you live Perl has its followers and companies that still use it
04:35 stephen where I live, only a telecommunications company uses it and that for specific tasks
04:35 stephen but PHP it's all over the place
04:37 willthechill well Perl is suffering everywhere, I have been working as a volunteer on RPerl for 4 years now with little-to-no income, so I know what you mean
04:37 willthechill I simply have no interest in anything but Perl
04:37 willthechill and Linux, of course  :-)
04:38 stephen I understand your passion and your zeal about it
04:38 stephen I used to feel this way as a Computer technician
04:39 stephen but they pay pennies and frankly the cloud killed my job
04:39 stephen now nearly everyone are using smart devices which I have no idea how to use nor how to fix them
04:39 willthechill yes the times are changing
04:39 willthechill we must run to keep up!
04:40 stephen that's why I follow the standards, like WP and PHP...what else can I do? ¯\_(ツ)_/¯
04:42 willthechill you should also check jobs.perl.org and the Facebook "Perl Jobs" group
04:42 willthechill as well as upwork.com
04:42 willthechill for Perl jobs, if you are interested
04:43 stephen if I had the level of expertise they are looking for, I'm sure I would have had already a job mate :D
04:43 stephen and trust me, with Perl I feel like home
04:43 stephen when I use it I mean
04:44 willthechill okay I see!
04:44 stephen with other languages, I get disoriented quite easily
04:45 willthechill if you like, you can join our new RPerl web platform, it includes an RPerl IDE and the ability to run RPerl code without the headaches of trying to get it installed...  cloudforfree.org
04:45 willthechill unfortunately, it does not solve our need to fix the current problems such as Windows space-in-path etc!  haha
04:46 stephen lol you know mate, Linux for the win!
04:47 willthechill true, true
04:48 stephen cloudforfree looks interesting
04:48 stephen nice
04:51 willthechill you have to login to get the RPerl features
05:19 stephen yeah, I saw that
05:19 stephen it's alright
06:46 anton joined #perl11
07:16 yukikimoto joined #perl11
08:26 abra joined #perl11
09:35 abra_ joined #perl11
10:42 stephen joined #perl11
11:04 anton_p joined #perl11
13:53 yukikimoto joined #perl11
13:56 travis-ci perl11/cperl#2095 (smoke/master - 48db929 : Reini Urban): The build passed. https://travis-ci.org/perl11/cperl/builds/188846963
14:14 yukikimoto joined #perl11
14:35 travis-ci perl11/cperl#2096 (smoke/master - 2e7002c : Reini Urban): The build passed. https://travis-ci.org/perl11/cperl/builds/188852760
15:27 travis-ci perl11/cperl#2097 (smoke/master - e59a611 : Reini Urban): The build passed. https://travis-ci.org/perl11/cperl/builds/188869873
19:59 ribasushi joined #perl11
21:36 willthechill joined #perl11

| Channels | #perl11 index | Today | | Search | Google Search | Plain-Text | summary