Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2018-01-05

Perl 6 | Reference Documentation | Rakudo

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

All times shown according to UTC.

Time Nick Message
00:00 comborico Vague can mean mysterious.  And mysterious can be meaningless.
00:02 comborico Thanks for the help!
00:03 comborico I submitted it.
00:03 comborico brb
00:17 comborico1611 Back
00:20 tbrowder check the semi after the sub decl
00:21 tbrowder sorry, didn't see rest of thread...
00:25 geekosaur :)
00:29 lizmat joined #perl6
00:29 comborico1611 Sorry about that.  I will delete that gist thing.
00:42 a3r0 joined #perl6
00:43 Khisanth joined #perl6
00:49 albongo joined #perl6
01:05 Cabanossi joined #perl6
01:07 xcm joined #perl6
01:16 nativecallable6 joined #perl6
01:16 releasable6 joined #perl6
01:16 statisfiable6 joined #perl6
01:17 unicodable6 joined #perl6
01:17 quotable6 joined #perl6
01:43 Ben_Goldberg joined #perl6
01:58 buggable New CPAN upload: Dist-Helper-0.19.1.tar.gz by TYIL https://cpan.metacpan.org/authors/id/T/TY/TYIL/Perl6/Dist-Helper-0.19.1.tar.gz
02:05 aindilis joined #perl6
02:08 buggable New CPAN upload: App-Assixt-0.1.1.tar.gz by TYIL https://cpan.metacpan.org/authors/id/T/TY/TYIL/Perl6/App-Assixt-0.1.1.tar.gz
02:13 xcm joined #perl6
02:25 xcm joined #perl6
02:32 aindilis` joined #perl6
02:59 ilbot3 joined #perl6
02:59 Topic for #perl6 is now »ö« Welcome to Perl 6! | https://perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:,  or /msg camelia p6: ... | irclog: http://irc.perl6.org or http://colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
03:31 cibs joined #perl6
03:37 cibs joined #perl6
04:00 xcm joined #perl6
04:24 Herby_ joined #perl6
04:24 Herby_ o/
04:50 Cabanossi joined #perl6
05:19 lookatme :P
05:22 Herby_ joined #perl6
05:43 cdg joined #perl6
06:04 cdg joined #perl6
07:15 darutoko joined #perl6
07:20 Geth ¦ doc: 96201864ac | (Luca Ferrari)++ | doc/Language/5to6-perlvar.pod6
07:20 Geth ¦ doc: Fix code blocks explaining $!.
07:20 Geth ¦ doc:
07:20 Geth ¦ doc: This corrects my mistakes around two blocks from commit a06f33ab,
07:20 Geth ¦ doc: as for discussion
07:20 synopsebot Link: https://doc.perl6.org/language/5to6-perlvar
07:20 Geth ¦ doc: a06f33ab8944ac6bb6e23484831b4987670ea5e6#commitcomment-26642734
07:20 Geth ¦ doc: this commit does:
07:20 Geth ¦ doc: - remove the :skip-test around the try code block, since it can be tested;
07:20 Geth ¦ doc: - add a =for code directive with shell language around the output code
07:20 Geth ¦ doc:   block.
07:20 Geth ¦ doc: review: https://github.com/perl6/doc/commit/96201864ac
07:22 wamba joined #perl6
07:24 stmuk_ joined #perl6
07:26 lowbro joined #perl6
07:26 lowbro joined #perl6
07:44 jeromelanteri joined #perl6
07:49 abraxxa joined #perl6
07:57 abraxxa joined #perl6
08:00 abraxxa1 joined #perl6
08:09 abraxxa joined #perl6
08:19 cdg joined #perl6
08:22 bhm joined #perl6
08:27 teatime joined #perl6
08:27 xcm joined #perl6
08:33 abraxxa joined #perl6
08:34 abraxxa1 joined #perl6
08:35 stmuk joined #perl6
08:39 abraxxa joined #perl6
08:43 abraxxa joined #perl6
08:43 abraxxa joined #perl6
08:57 zakharyas joined #perl6
08:58 zakharyas1 joined #perl6
09:00 konsolebox joined #perl6
09:05 cdg joined #perl6
09:07 rindolf joined #perl6
09:09 cdg_ joined #perl6
09:09 zakharyas joined #perl6
09:10 scimon joined #perl6
09:12 cdg joined #perl6
09:13 cdg__ joined #perl6
09:15 cdg_ joined #perl6
09:16 zakharyas joined #perl6
09:18 cdg joined #perl6
09:21 domidumont joined #perl6
09:26 cdg joined #perl6
09:27 cdg_ joined #perl6
09:28 domidumont joined #perl6
09:48 wamba joined #perl6
09:49 cdg joined #perl6
09:55 cdg_ joined #perl6
09:57 cdg joined #perl6
10:06 cdg joined #perl6
10:07 cdg_ joined #perl6
10:15 cdg joined #perl6
10:21 xcm joined #perl6
11:00 ilogger2 joined #perl6
11:03 astj joined #perl6
11:03 domidumont joined #perl6
11:07 xcm joined #perl6
11:17 markong joined #perl6
11:28 geekosaur joined #perl6
11:40 domidumont joined #perl6
12:01 Celelibi joined #perl6
12:02 reportable6 joined #perl6
12:02 araraloren joined #perl6
12:04 wamba joined #perl6
12:17 abraxxa joined #perl6
12:20 MasterDuke joined #perl6
12:22 cdg joined #perl6
12:25 cdg_ joined #perl6
12:28 kerframil joined #perl6
12:28 gabiruh joined #perl6
13:24 astj joined #perl6
13:33 eliasr joined #perl6
13:35 geekosaur joined #perl6
13:37 astj joined #perl6
13:38 wamba joined #perl6
13:42 jeromelanteri joined #perl6
13:47 darutoko- joined #perl6
13:47 varada joined #perl6
13:48 notbenh joined #perl6
13:49 zakharyas joined #perl6
13:50 zakharyas1 joined #perl6
13:50 varada joined #perl6
13:50 mniip joined #perl6
13:56 geekosaur joined #perl6
14:00 geekosaur joined #perl6
14:02 Nanjizal joined #perl6
14:03 Nanjizal Good afternoon
14:06 Nanjizal I was wondering how Perl6 compares in features to what I like at the moment Haxe
14:07 moritz Nanjizal: hi. I Don't know Haxe, but if you ask questions about specific features, I can probably tell you if Perl 6 has them
14:09 Nanjizal There are some features spec'd here  https://haxe.org/manual/introduction.html, it's a typed language.
14:13 geekosaur joined #perl6
14:13 * perlpilot wonders if masak looked at Haxe's macros for any nuggets of information.
14:14 moritz Nanjizal: which one are you curious about?
14:15 bart_ joined #perl6
14:16 jnthn Perl 6 is gradually typed. Generally, there's more safety than in most other dynamic languages on things that are lexically scoped (so, you find out about typo'd variables and sub call names at compile time); OO is fully late-bound.
14:20 Nanjizal Ok I learnt flash is my late 30's so I probably don't know all the computer engineering names.  Could I create say a tetris clone easily in Perl6 and run it in the browser and could I also use it with say some shaders
14:21 Nanjizal I find if I can do graphics with a language then it's more interesting to learn.
14:21 Nanjizal for me
14:22 perlpilot someone did write a version of tetris on one of the earlier Perl 6 implementations: https://perl6advent.wordpress.com/2011/12/05/tetris-on-niecza/
14:22 perlpilot I bet it could be updated for modern Rakudo without too much troubl
14:22 perlpilot er trouble
14:22 cdg joined #perl6
14:24 perlpilot looking at the source, it seems that all of the graphics interface would need to be rethought and redone, but not too terribly bad
14:25 Nanjizal This was the experiment I did in haxe it was kind of for job interview but did not get it :(  https://github.com/nanjizal/PolyominoTriangles   It's kind of more complex than normal tetris.
14:25 Nanjizal So you don't normally use multiple files for code?
14:26 perlpilot when needed, sure.
14:26 mspo you had to write tetris for a job interview?
14:26 mspo that seems a little extreme :)
14:26 mspo (or maybe not, idk)
14:27 Nanjizal Think I took too long.
14:27 geekosaur joined #perl6
14:27 Nanjizal And did not use mvc stuff and unit Testing
14:28 perlpilot well, if they asked you "do this simple thing" and you made it way more complicated and didn't quite finish ....  them maybe this task accomplished what they were after.
14:29 perlpilot Nanjizal: This was like a "take home" assignment?  (i.e. here's the problem we want you to solve, you have N time-units)
14:29 perlpilot where the time-units were probably days?
14:30 geekosaur joined #perl6
14:31 Nanjizal yer I had a week, my solution works with all the graphics toolkits and is more analog tetris and more configurable but took two weeks.
14:34 Nanjizal Ah the Rubic Cube example I should look at from that guys blog to get a feel for Perl6
14:35 domidumont joined #perl6
14:35 Nanjizal or maybe not!
14:35 darutoko joined #perl6
14:35 cog__ joined #perl6
14:36 perlpilot I once knew a guy who was told "write a simple rolodex web-app.  Nothing fancy, just record people's names, addresses, phone numbers, and have the ability to search by name.  No fancy interface, just plain HTML to add entries and search for them."   when he called me, he was 10 hours into the project and hadn't gotten anything close to working.  He was suffering from Analysis Paralysis.  Unfortunately, this was for a job he already had and because he
14:36 perlpilot was taking so long, they let him go.
14:37 committable6 joined #perl6
14:37 squashable6 joined #perl6
14:42 Nanjizal I have got large flash AIR projects shipped, but due to bad management and excessive opensource restrictions after taken over by plc quit after 3 years.  But being expert it flash is not needed these days so unsure what direction to take.
14:44 moritz the question is really: what do you want to do?
14:44 moritz web development? application development? backend? devops? project management? agile methodologies? ...
14:45 geekosaur joined #perl6
14:45 Nanjizal Well I was not overly excited by React when i looked at it.  I like visual stuff.
14:46 moritz there is lots of web development that isn't react
14:47 mspo perlpilot: interview for your own job?
14:47 mspo brutal
14:47 perlpilot mspo: my last job interview was something like "implement an API for a tic-tac-toe game"
14:48 mspo perlpilot: that doesn't seem too bad
14:48 perlpilot it wasn't  :-)
14:48 mspo whiteboard-able, I'd say
14:48 mspo I mean the design and pseudo-ish code parts
14:48 perlpilot well, they wanted me to use a few specific Perl 5 technologies
14:49 perlpilot so, yeah, they wanted to see some real working code
14:49 mspo mojolicious::lite :)
14:49 perlpilot that technology was not on the list
14:49 perlpilot I think they just wanted me to use Dancer and Moo(se)
14:49 mspo put /move/game/*/coords/*
14:49 mspo or whatever
14:52 domidumont joined #perl6
14:56 domidumont joined #perl6
14:56 domidumont joined #perl6
15:03 timotimo i'd like to get a little bit of support for a linux/hard drive question: https://gist.github.com/timo/e766094726dd167849bc9d2b1d567efa - should i be worried about this disk?
15:04 moritz good question. Do you have SMART data for it?
15:05 jkramer joined #perl6
15:05 moritz or whatever that disk self-reporting protocol is called
15:05 jkramer Ahoy
15:06 scimon My Perl6 Library grows a little bit with todays arrival.
15:06 domidumont joined #perl6
15:06 gfldex timotimo: that's bad sectors. Most large disks will get a few of those. If it persists after overwriting those sectors replace the disk.
15:07 scimon Hopefully now I can get my head around Grammars. :) moritz++
15:07 timotimo i just bought this disk two days ago
15:07 gfldex timotimo: did you run `badblocks` on it?
15:07 timotimo i did not
15:07 domidumont joined #perl6
15:08 gfldex you should do that with any (non-SSD) drive before using it
15:08 moritz scimon: when read it, I'd appreciate feedback
15:08 moritz *you
15:08 gfldex SSDs will compress and dedup, so you need bigger tools to test those
15:08 comborico1611 joined #perl6
15:10 gfldex timotimo: if the disk is just installed, it might be a cabeling issue too. `smartctl -x /dev/sdf` can tell the difference
15:12 scimon Will do :)
15:13 moritz https://smile.amazon.com/dp/1484232275/ says "#1 New Release in Perl Programming", and has been since November at least \o/
15:14 moritz the actual selling ranks aren't as great though :(
15:16 timotimo gfldex: not sure what exactly to look at there
15:16 timotimo gfldex: if i want to "badblocks" a hard drive that's currently in use, i.e. copying data onto it, do i have to do something special?
15:17 timotimo also, if i already ran it for a few seconds before i decided it'd be better to read the man page first, did it destroy any data?
15:17 moritz and why oh why is the kindle version more expensive than print? https://smile.amazon.com/dp/1484228987
15:18 timotimo also, if that was just a bad block, why did zfs call it an unrecoverable error?
15:18 scimon These things are meant to try us. Don't know why but I prefer print for coding books.
15:19 scimon I guess the diagrams and code exmaples don't always translate to ebook well.
15:19 domidumont joined #perl6
15:20 domidumont1 joined #perl6
15:22 geospeck joined #perl6
15:22 timotimo ah, it's unrecoverable as in that block is not going to heal in time; it also said "applications are unaffected", meaning "no data was lost"
15:23 domidumont joined #perl6
15:23 comborico1611 Print for every book.
15:23 comborico1611 The complier complained that I didn't put a braces around return: else { return; }.  Is that normal?
15:24 moritz m: if 0 { } else { return }
15:24 camelia rakudo-moar 8023d2129: OUTPUT: «Attempt to return outside of any Routine␤  in block <unit> at <tmp> line 1␤␤»
15:24 moritz m: sub f() { if 0 { } else { return } }
15:24 camelia rakudo-moar 8023d2129: ( no output )
15:25 DrForr comborico1611: What did it exactly comlain about?
15:25 moritz but you can#t leave out the {} there, it's not C
15:25 DrForr *complain
15:25 moritz s/\#/'/
15:25 comborico1611 "Missing block"
15:26 DrForr comborico1611: Put your code up somewhere we can see.
15:26 moritz m: sub f() { if 0 { } else return  }
15:26 camelia rakudo-moar 8023d2129: OUTPUT: «5===SORRY!5=== Error while compiling <tmp>␤Missing block␤at <tmp>:1␤------> 3sub f() { if 0 { } else7⏏5 return  }␤    expecting any of:␤        block or pointy block␤»
15:26 moritz like this?
15:26 comborico1611 K
15:27 DrForr (though I think moritz has your cause down.)
15:27 comborico1611 https://gist.github.com/clint-who/8d15aa98d41f7073c9d94821b654e80e
15:29 gfldex timotimo: as you are talking about sdf, I assume there is sd[a…e]. I found that one can't trust a bunch of sata cables. Spending some monay there can save you a great deal of time.
15:29 timotimo interesting
15:29 timotimo three of the cables i just bought recently
15:30 timotimo i'm transfering data over from a fileserver and i took the disks from there and put them into my computer (because this cpu has AES-NI, whereas the other one does not)
15:30 stmuk_ joined #perl6
15:31 DrForr comborico1611: Yeah, Perl still doesn't let you do C-style 'return', sorry, you need braces.
15:31 jkramer How do I initialize attributes in a BUILD submethod when BUILD has arguments of the same name?
15:31 scimon So with new book, Tau Station and project Euler (Having so much fun writing really small solutions to things).... I probably should be doing some work.
15:32 jkramer I.e. submethod BUILD(:$foo) { self.foo = $foo } or whatever
15:32 jnthn submethod BUILD(:$!foo) { }
15:32 scimon What he said.
15:33 jkramer Ah thanks, that works
15:33 scimon https://docs.perl6.org/language/objects#Object_Construction best thing to look at. (If you want build to do other things).
15:34 comborico1611 DrForr, thank you.
15:34 perlpilot comborico1611: or use a ternary
15:37 webstrand joined #perl6
15:38 Nanjizal I was wondering does Perl6 have VSC, something like Kode where perl6 compile maybe embedded in the editor?
15:38 Nanjizal ( eg: https://github.com/Kode/KodeStudio ).  Is Atom the best editor to use at moment?
15:38 comborico1611 It's alright.  I actually do prefer the braces.
15:38 comborico1611 Thanks, though!
15:39 timotimo gfldex: btw, i'm worried that perhaps my computer's PSU might not be sufficient to handle all 6 + 2 disks; how do i tell if the PSU is at its limit, and how do i tell if a problem comes from power?
15:40 rindolf joined #perl6
15:40 Nanjizal Kode is kind of Visual Studio Code with haxe and kha within so you can do single download for editor language and toolkit. It's really nice for starters.
15:40 gfldex timotimo: if you system is fine when the disk spin up all at the same time, it wont be a problem
15:40 Nanjizal So thought I would mention in case you had similar approach for perl6
15:40 timotimo thanks
15:41 comborico1611 Man, I'm just loving the KDE environment.
15:42 timotimo comborico1611: sarcasm or really?
15:42 DrForr Nanjizal: Sounds cool. Got a URL?
15:42 comborico1611 Heh.  Really.
15:42 Nanjizal https://github.com/Kode/KodeStudio/releases
15:44 Nanjizal I mean if you can do that with Perl6 that would be nice for people like me curious, at the moment on a mac I downloaded something I put it my app folder but it is just a folder it's kind of not clear the next step
15:45 domidumont joined #perl6
15:45 DrForr Looks like you'd have to file a bug or make a PR.
15:48 Nanjizal What is the textmate support for perl6 like I seem to have perl.tmbundle installed
15:49 timotimo comborico1611: i'm unhappy with my plasma setup, but it can very well be user error
15:49 DrForr I don't use TextMate, couldn't say.
15:51 DrForr As you say there's a perl6 textmate bundle file, no idea what it does.
15:54 timotimo we do have plugins for atom, i'd expect they also come with a "run my code" and/or "run my test suite" buttons built-in
15:56 DrForr With tmux they're only ^Bn!! away.
15:57 timotimo :)
16:02 DrForr Not that I dislike GUI editors, I just find they're too helpful.
16:02 dogbert17 joined #perl6
16:03 * DrForr goes back to conference-driven development.
16:04 Nanjizal Well from experiance of trying Haxe with lots and lots of editors I like textmate because it's simple but has no completion etc... cross platform Visual Studio Code seems to be the best for people customising and for general use, I think Visual Studio Code is based on Atom.  It's far from perfect but VSC seems quite nice I saw on google there is some stuff but not idea if it's robust?  There...
16:04 Nanjizal ...is a big difference between a nice code text editor and full on IDE eclipse thing.  I think something between eclipse and vim is my preference.
16:06 DrForr I have Atom installed, I just haven't found a pressing need for it. I keep thinking if I just force myself ot use it in preference to Vim I'll get the itch to fix the plugin menus and such, but I eventually throw up my preoverbial hands and go back to vim.
16:06 pecastro joined #perl6
16:07 * DrForr glares at his keyboard again.
16:07 Nanjizal As I said Kode actually has the Haxe compiler embedded in the app, and the Kha framework so like now I am trying to work out how to setup atom for perl6 and its effort.  Vim is keystroke I have devorak keyboard layout and no patients to learn vim.
16:08 DrForr A few core perl6 developers use Atom, so it should get some love. Don't know how it's going though.
16:09 * El_Che would love Perl6 support for IntelliJ
16:09 DrForr If nothing else put your atom config into Git and when you find things, commit and push.
16:09 comborico1611 I like emacs.
16:09 MasterDuke huggable: ide
16:09 huggable MasterDuke, nothing found
16:09 Nanjizal I guess the view point is allow people to create with a language with the least setup friction, you only to look at stuff like node to realize that.  I would not touch the InteliJ stuff for haxe if you paid me but I do know some large games companies etc... that use it like Tivo
16:09 MasterDuke huggable: atom
16:09 huggable MasterDuke, nothing found
16:10 El_Che atom is painfull compared to intellij
16:10 El_Che use a proper ide (intellij and the like) or vim
16:10 El_Che atom uses a sad space in between
16:10 DrForr Nanjizal: So where are the friction points you find with Atom and perl6?
16:11 mspo :)
16:11 Nanjizal DrForr download Kode and try some Kha.
16:11 mspo El_Che: people seem to like it
16:11 MasterDuke well, this is what i was trying to find. https://github.com/perl6/Atom-as-a-Perl6-IDE
16:12 El_Che mspo: for perl6? Sure, there insn't much out there
16:12 Nanjizal https://github.com/Kode/Kha/wiki/Getting-Started
16:12 DrForr (he says, waiting for Atom to spool up...)
16:12 mspo El_Che: I mean Atom in general
16:12 mspo El_Che: although I think VSCode is nicer (in that space)
16:12 El_Che mspo: a desktop in JS, geniousç
16:12 DrForr Nanjizal: That sounds like not so much pain points as nobody getting around to configure it.
16:12 El_Che except when it supposed to be fast
16:12 El_Che :)
16:13 DrForr Huh, haven't touched it in a while and it already throws a configuration error at me.
16:14 Nanjizal DrForr I can just drag a kha project into Kode debug twice and it's running.
16:14 mspo I should try switching to emacs again
16:14 mspo hard to stop using vim
16:15 DrForr Great, then figure out where Kha reads its configuration file, add the '.pm6' => 'perl6' bit or whatever is needed, ake a pull request and you're off and running.
16:15 eiro mspo, why switching to emacs ?
16:15 mspo eiro: I tried looking at vimscript and my head exploded
16:16 eiro i mean: sure it's probably much powerfull but i really think it's not that consise to script and use
16:16 obfusk joined #perl6
16:16 mspo eiro: no real reason
16:16 eiro mspo, well ... right ... loooks like python but
16:16 DrForr Nanjizal: Also, if you're hoping that someone else will write this for you, then maybe you can dig around for fellow Kha users and see if they have any ideas.
16:16 eiro * there is an embedded perl
16:16 mspo eiro: I'd have to use evil mode regardless; I genuinely like modal editing
16:17 mspo cool kids use emacs :)
16:17 eiro * the async of vim8 changes the why extensions will be developped
16:17 eiro really ? :) well ... i'm too old for those things :)
16:18 eiro i'm stuck to vim just because i got old
16:18 * DrForr grabs the community IntelliJ edition out of curiosity.
16:18 comborico1611 I prefer emacs because they help the beginner.
16:18 Nanjizal NOOOOOOO!!!
16:18 comborico1611 At least in the program itself.  It's always nice when things are self-contained.
16:18 eiro DrForr, there is an awesome vim mode extension... i was really surprised how good it was
16:18 eiro but ... wait ...
16:19 mspo eiro: I don't even like ALE (async-version of Syntastic)
16:19 * El_Che is a cheapass and had a legal licensed version for free :)
16:19 moritz let's start an editor flame war right now!
16:19 Nanjizal IntelliJ is eclipse based so if you want to set it up to compile something for two setups good luck!!!
16:19 El_Che Nanjizal: you're are talking nonsense
16:19 eiro wait for the splashsceen to appears, the features to start
16:19 eiro event completion is slow
16:19 mspo eclipse didn't have functional maven support the last time I used it
16:19 mspo EclipseOS
16:20 eiro mspo, so it's time to switch to ... builder :)
16:20 eiro gnome-builder seems to be very cool
16:20 mspo eiro: I also don't particularly like the completion UI that most editors use
16:20 eiro especially the gnome debug integration
16:20 DrForr And now at the launch of the editor wars you see the *real* reason I don't play in this arena :)
16:20 mspo eiro: I'd prefer a fixed size screen on the bottom or something
16:21 eiro :)
16:21 mspo eiro: in vim does that go int othe quickfix or the location list window?
16:21 eiro i have to admit i still use vim from a terminal and it's ok for me. especially because i started to use and abuse the ! operator since i tested plan9
16:22 mspo eiro: are the builtin fd plugins overriding the 3rd part ones or..?
16:22 mspo yes I also just use terminal
16:22 eiro reading the question again ... sorry
16:22 mspo native gui don't interest me
16:22 Nanjizal https://github.com/HaxeFoundation/intellij-haxe/issues     - 175 issues, I will not touch Intellij for any language that is not in the top 5.
16:22 mspo so younger people just view the browser as I view the terminal
16:22 eiro mspo, sorry i don't get your question
16:23 mspo eiro: doesn't matter :)
16:23 eiro about quickfix window
16:23 Nanjizal I am not talking rubish Intellij is just too hard to configure for a language.  I saw how fast VSC was setup and became useful in Haxe community.
16:23 El_Che Perl 5 support is pretty good (third party)
16:24 El_Che builin java and go support in in the enterprise version are top
16:24 eiro mspo, please try again once please "that go int othe " doesn't make sense for me
16:24 jkramer left #perl6
16:24 mspo eiro: the quickfix and location list windows are, basically, the same thing
16:24 mspo eiro: so if I wanted to get completions drawing into one of those, which would I use and how would I do it?
16:25 mspo eiro: my point is that vim is confusing :)
16:25 eiro oohhh ... i use an empty buffer for this
16:26 eiro with a fuzzysearch
16:26 eiro but yes: this is viml
16:26 eiro not that bad but terrible when you come from perl
16:26 eiro cya everyone
16:27 dct joined #perl6
16:29 TimToady I cma frequently...
16:33 timotimo cook my asparagus?
16:35 Nanjizal El_Che  I suggest you try Kode, for creating Mobile/web using Kha and haxe, download Kode, clone Empty ( Kha ), drag project into Kode, debug twice and you have your code running.   You can't tell me that Intellij is as simple? Sure it's not so simple from Kode to make android app but once you have your app you can rebuild that with simple command from terminal after installing haxe.
16:35 timotimo comborico1611: do you get the same bug as me where panels will just not re-render for any amount of time?
16:36 comborico1611 I don't even know if I use Plasma.  Heh.  Sorry.
16:37 comborico1611 Panels, panels, panels. . . Hmm.  I haven't been using Activity because I don't need it at the moment.  I dont' know what Panels are you are speaking of.
16:37 comborico1611 I do know my Kubuntu 17.10 downstairs will not connect to the internet, but the same machine with Kubuntu 14 on a different partition will.
16:38 comborico1611 I also had Firefox on my Kubuntu 17.10 downstairs break.
16:38 Nanjizal is there a simple run through on getting the hello world to run from 'atom'.  I think Perl6 are assuming perl developers, so they are missing out on a huge slice of possible coders, developers want to try a language quickly and see it's legs but from the website it's not really providing that?
16:38 comborico1611 Requesting help: https://gist.github.com/clint-who/f94806020fefdbde9abb08ef7b898078
16:39 DrForr Nanjizal: Someoe posted a link to using Perl 6 with Atom about 10 minutes ago, look in your /lastlog?
16:39 wamba joined #perl6
16:39 Nanjizal Ok so I wrote  say 'hello world';  and called the file hello.p6
16:40 DrForr https://github.com/perl6/Atom-as-a-Perl6-IDE
16:40 DrForr to wit.
16:44 Nanjizal so I drag the folder   perl6   with this file into atom.  Now how do I get it to run?
16:45 brrt joined #perl6
16:47 comborico1611 Whoa dang!
16:48 comborico1611 I think I just discovered the power of sigils.
16:48 comborico1611 say "Days: $days "
16:48 evalable6 comborico1611, rakudo-moar 8023d2129: OUTPUT: «(exit code 1) ===SORRY!=== Error while compiling /tmp/02oDMhQLM8␤Variable '$days' is not declared␤at /tmp/02oDMhQLM8:1␤------> say "Days: ⏏$days "␤»
16:49 comborico1611 Ignore the error message.  What I'm trying to say is YOU CAN USE A VARIABLE WITHIN STRINGS!
16:49 jnthn m: my $x = "foo"; say "And even call methods: $x.uc()"
16:49 camelia rakudo-moar 8023d2129: OUTPUT: «And even call methods: FOO␤»
16:50 DrForr Nanjizal: I'd read the link I posted about Atom for you a few minutes ago?
16:50 comborico1611 I see.  Thanks.
16:50 xcm joined #perl6
16:50 comborico1611 NOW sigils finally make sense to use.
16:51 Nanjizal https://github.com/perl6/Atom-as-a-Perl6-IDE/blob/master/config/.nav-marker-rules  ??
16:52 Nanjizal DrForr I am not stupid but wha do I do with this?
16:52 DrForr Nanjizal: Not trying to be a smartarse, I simply don't know Atom.
16:53 DrForr Not the nav-marker-rules page, there's a nice front page.
16:53 DrForr https://github.com/perl6/Atom-as-a-Perl6-IDE
16:54 * DrForr returns to figuring out a way to do grammar testng that doesn't involve trichotillomania.
16:58 comborico1611 I'm off to lunch.
17:00 DrForr Nanjizal: According to the page I pointed you to it says 'apm install script' will istall the perl6-atom linkage that'll shell out to Perl 6 and run your code for you.
17:07 geospeck joined #perl6
17:10 Ulti can anyone see what Im doing wrong with my named and aliased MAIN parameters in this script? https://gist.github.com/MattOates/0c54dd0152a5ca05b20f7dbd7b008591
17:11 Ulti afaik Im doing mostly what's shown in the docs there
17:11 Nanjizal on a mac- download put into application directory and brew installed so probably have two copies.  I am in atom and I am not sure how to get the folder with a p6 file to run.  The end to end starting process for a new user is not really going to sell perl6 over something like nodejs, at moment perl6 start pages assume a perl or sys admin with interest in perl, rather than any old developer....
17:11 Nanjizal ...Perl6 has to assume that many developers have a huge number of languages they could start using and if they can't easily try it out then they will probably move on to some corporate sponsored language, before even finding out how useful the language is.  I am not intending to be negative just frank.
17:12 Ulti with Atom there's a single package to install to get it to do a lot of nice Perl 6 things
17:13 Nanjizal You assuming i know Atom?
17:13 Nanjizal I have managed to install the package despite any screenshots
17:13 Ulti Im assuming if you've chosen Atom you know how to find the install modules section and type in "perl6"
17:13 ilmari Ulti: :foo(:$bar), not :$foo(:$bar)
17:14 Ulti ilmari: awesome thanks!
17:14 ilmari Ulti: https://docs.perl6.org/type/Signature#Positional_vs._Named
17:14 Ulti makes sense
17:14 DrForr No, I don't know atom, and I managed to install the language-perl6 pagckage following the directions.
17:14 Ulti I just assumed signatures had some magical different syntax nice to know its not
17:14 ilmari also https://docs.perl6.org/language/functions#sub_MAIN
17:14 Ulti did I literally read $ where there are none
17:15 Ulti wow
17:15 Ulti :<
17:15 Zoffix joined #perl6
17:15 gfldex m: sub s(Int :alias(:$name)) { say $name }; s(alias => 42);
17:15 camelia rakudo-moar 8023d2129: OUTPUT: «42␤»
17:16 ilmari m: sub s(Int :alias(:$name)) { say $name }; s(name => 42);
17:16 camelia rakudo-moar 8023d2129: OUTPUT: «42␤»
17:16 gfldex m: sub s(Int :$alias(:$name)) { say $name }; s(alias => 42);
17:16 camelia rakudo-moar 8023d2129: OUTPUT: «5===SORRY!5=== Error while compiling <tmp>␤Shape declaration with () is reserved;␤  please use whitespace if you meant a subsignature for unpacking,␤  or use the :() form if you meant to add signature info to the function's type␤at <tmp>:1…»
17:16 Nanjizal Ok well so I have a folder I drag into atom, I have a file .p6 how to do I run it.
17:16 gfldex Ulti: ^^^ there you error goes
17:16 DrForr Nanjizal: It says in the doc that you press Ctrl-Shift-B, on Linux. Dunno what it is on Mac, I don't have one.
17:17 Zoffix Nanjizal: I don't know Atom's IDE capabilities; personally, I just have a terminal open and run `perl6 teh-script.p6` to run it
17:17 Zoffix Nanjizal: we have a User-Experience repo. You could open an Issue there and describe what snags you hit and what annoyed you when trying to figure out how to try out Perl 6: https://github.com/perl6/user-experience/issues/new
17:18 Zoffix huggable: glot.io
17:18 huggable Zoffix, Run Perl 6 in your browser: https://tio.run/nexus/perl6 or https://glot.io
17:18 Ulti Nanjizal: the entire process on Mac is like `brew install rakudo-star` then in Atom via the menus you just install the perl6 extensions.... this is basically identical to any other language if you're interested in using Atom to edit
17:18 Zoffix Nanjizal: ^ FWIW, there are also these online evalers, if you were only looking to play around with a bit of code.
17:19 Zoffix Nanjizal: there are some instructions on this page; perhaps they would be of help? https://github.com/perl6/Atom-as-a-Perl6-IDE#perl-6-code-execution
17:20 Ulti I think there might be a video somewhere on how to do this also
17:21 Ulti ahh its for p5 instead :(
17:22 Herby_ joined #perl6
17:22 Herby_ o/
17:22 Ulti \o
17:22 bloatable6 joined #perl6
17:22 coverable6 joined #perl6
17:22 benchable6 joined #perl6
17:23 Zoffix comborico1611, sigils are also shortcuts. "my @foo = 1, 2" is shorter than "my Positional $foo = [1, 2]". Extra infos: https://perl6advent.wordpress.com/2017/12/02/#positionlly
17:23 Nanjizal Thanks guys don't intend to be difficult just wanted to quickly try it out. Going to get food thanks for the help.
17:24 Zoffix Nanjizal: no problem :) It's hard for us to know what part of introduction to the language suck—I could clone and compile the compiler with command from memory—so your input on what's hard to figure out is helpful.
17:25 Zoffix There's also http://perl6intro.com/ for some intro material.
17:25 * Zoffix & too
17:25 Zoffix \o
17:25 Nanjizal Have a play with Kode it's really nice to start Kha.
17:25 Zoffix left #perl6
17:27 Ulti Nanjizal: if you want to play around really quickly there is also https://glot.io/new/perl6
17:28 Ulti which just surprised me in being up to date and running MoarVM 2017.10
17:33 webstrand joined #perl6
17:39 bisectable6 joined #perl6
17:40 rindolf joined #perl6
17:44 Herby_ Ulti: that's pretty cool, thanks for the link
17:45 Ulti yeah I added p6 support to glot.io with the intention of creating a little online tutorial thats test based
17:46 Ulti apparently Im lazy
17:46 Herby_ either way, i bookmarked it :)
17:47 dustinm` joined #perl6
17:53 troys joined #perl6
18:01 khw joined #perl6
18:18 lostinfog joined #perl6
18:27 zakharyas joined #perl6
18:32 setty1 joined #perl6
18:42 geekosaur joined #perl6
19:03 cdg joined #perl6
19:03 geospeck joined #perl6
19:04 pilne joined #perl6
19:14 tyil how would I test a function that uses a `prompt`?
19:23 jnthn sub foo($arg1, $arg2, :&prompt = CORE::<&prompt>) { my $foo = prompt("Why do you mock me?") } # or some such
19:23 jnthn Then pass in a fake
19:34 moritz you can also check if &prompt uses $*IN, and if yes, supply your own $*IN
19:35 jnthn Ah, also that :)
19:36 squashable6 Webhook for perl6/doc is now active! Encourage flow.
19:36 AlexDaniel squashable6: status
19:36 yoleaux 4 Jan 2018 12:32Z <tbrowder> AlexDaniel: i added another commit to rakudo PR #1339
19:36 yoleaux 11:16Z <tbrowder> AlexDaniel: this is your periodic invitation to kindly review rakudo PR #1339 and its tests in roast PR #371
19:36 squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈16 hours. See https://github.com/rakudo/rakudo/wiki/Monthly-Bug-Squash-Day
19:36 squashable6 AlexDaniel, Log and stats: https://gist.github.com/cacedc66f3affd0c606b1e2ae99a6d31
19:36 AlexDaniel guess what, forgot to set up the webhook :)
19:37 squashable6 🍕 AlexDaniel++ labeled issue “Make a new language/hashmap”: https://github.com/perl6/doc/issues/1682
19:37 squashable6 🍕🍕🍕  First contribution by AlexDaniel++! ♥
19:39 greppable6 joined #perl6
19:40 comborico1611 joined #perl6
19:41 AndChat|688961 joined #perl6
19:42 |oLa| joined #perl6
19:44 AndChat|688961 Why is it when you put computer to sleep, IRC doesn't show disconnect?
19:44 Aaronepower joined #perl6
19:44 |oLa| left #perl6
19:45 [Coke] depends on the computer, the client, the network...
19:46 mspo because I run irc in a screen on a computer that never shuts off :)
19:49 comborico There it goes.  Timeout.  Hmm.
19:49 comborico That makes sense.
19:49 niceperl joined #perl6
19:49 comborico Mspo, your machine doesn't get slow?
19:51 cpup joined #perl6
19:53 geekosaur it's a dedicated vps somewhere
19:53 geekosaur it's not running a gui so it doesn;t have the same order of memory leaks etc,
19:54 * geekosaur has a vps running nothing but a dedicated znc. why would it get slow?
19:55 [Coke] tpc 2018 (NA) not announced yet?
19:55 [Coke] 19:49 < comborico> There it goes.  Timeout.  Hmm.
19:55 [Coke] 19:49 < comborico> That makes sense.
19:55 [Coke] (oops, accidental cut and paste)
19:56 geekosaur as for slow disconnect, it indeed depends on the network. you don't want the server to assume any momentary network blip is a hard disconnect, so it waits a bit before declaring the connection dead.
20:00 rindolf joined #perl6
20:01 s0me0n3-unkn0wn joined #perl6
20:06 mspo comborico: ?
20:06 mspo comborico: yeah I'm on a vps
20:06 mspo been running @ panix for years and years
20:06 mspo the world's 2nd oldest ISP :)
20:08 comborico Crazy.
20:09 comborico1611 joined #perl6
20:10 squashable6 🍕 coke++ wrote a comment on commit a06f33ab8944: https://github.com/perl6/doc/commit/a06f33ab8944ac6bb6e23484831b4987670ea5e6#commitcomment-26675339
20:10 squashable6 🍕🍕🍕  First contribution by coke++! ♥
20:11 comborico Nice, coke!
20:12 [Coke] O_o;
20:12 phogg joined #perl6
20:12 phogg joined #perl6
20:19 squashable6 🍕 moritz++ wrote a comment on “Proc.status not documented”: https://github.com/perl6/doc/issues/1710#issuecomment-355655269
20:19 squashable6 🍕🍕🍕  First contribution by moritz++! ♥
20:21 squashable6 🍕 AlexDaniel++ edited issue “Table for complexity of …”: https://github.com/perl6/doc/issues/1726
20:21 AlexDaniel squashable6: shut up for a second, I'll be editing stuff
20:21 squashable6 AlexDaniel, .oO( Mmmm… pizza! )
20:21 bwisti joined #perl6
20:26 kerframil joined #perl6
20:37 AlexDaniel squashable6: I'm done, be loud again
20:37 squashable6 AlexDaniel, ALRIGHT, LET'S DO IT!!!
20:40 moritz m: my @x is default([2, 3]); say @x.elems
20:40 camelia rakudo-moar 8023d2129: OUTPUT: «0␤»
20:40 moritz is this intended behavior?
20:43 squashable6 🍕 moritz++ wrote a comment on “show that is default works on @list and %hash”: https://github.com/perl6/doc/issues/1687#issuecomment-355660492
20:45 AlexDaniel moritz: yes
20:45 AlexDaniel m: my @x is default(42); say @x.elems
20:45 camelia rakudo-moar 8023d2129: OUTPUT: «0␤»
20:45 AlexDaniel ↑ we're not expecting Inf here, right?
20:45 AlexDaniel so the [2, 3] is what every unset element gets
20:45 AlexDaniel kind of…
20:46 AlexDaniel and yes, it does work
20:46 AlexDaniel m: my @x is default(42); say @x[5]
20:46 camelia rakudo-moar 8023d2129: OUTPUT: «42␤»
20:47 AlexDaniel as well as
20:47 AlexDaniel m: my @x is default([2, 3]); say @x[5]
20:47 camelia rakudo-moar 8023d2129: OUTPUT: «[2 3]␤»
20:47 squashable6 🍕 moritz++ wrote a comment on “look-around assertion <?[]> is not documented”: https://github.com/perl6/doc/issues/1678#issuecomment-355661336
20:47 squashable6 🍕 AlexDaniel++ labeled issue “show that is default works on @list and %hash”: https://github.com/perl6/doc/issues/1687
20:49 vichib joined #perl6
20:51 squashable6 🍕 AlexDaniel++ wrote a comment on “show that is default works on @list and %hash”: https://github.com/perl6/doc/issues/1687#issuecomment-355662224
20:55 dct joined #perl6
20:57 moritz m: my %h = a => 'b'; say 'b' ~~ / %h /
20:57 camelia rakudo-moar 8023d2129: OUTPUT: «P6opaque: no such attribute '$!reified' on type List in a Seq when trying to get a value␤  in block <unit> at <tmp> line 1␤␤»
20:59 evalable6 joined #perl6
21:00 moritz iirc hash variables in regexes are reserved
21:01 Geth ¦ doc: 5ac524569b | (Moritz Lenz)++ | doc/Language/regexes.pod6
21:01 Geth ¦ doc: Document array variables in regexes. Closes #1674
21:01 Geth ¦ doc: review: https://github.com/perl6/doc/commit/5ac524569b
21:01 synopsebot Link: https://doc.perl6.org/language/regexes
21:01 squashable6 🍕 moritz++ closed issue “document Array object in…”: https://github.com/perl6/doc/issues/1674
21:03 FROGGS joined #perl6
21:04 cdg joined #perl6
21:11 zoosha joined #perl6
21:12 moritz lizmat, jnthn: do you remember why Proc has a public method status($new_status) to set the status? If so, please comment #1366
21:16 jnthn moritz: Don't recall any particular details around that
21:20 bobil joined #perl6
21:28 pecastro joined #perl6
21:28 moritz jnthn: ok, thanks
21:28 cdg joined #perl6
21:33 squashable6 🍕 AlexDaniel++ edited issue “Lots of broken links, in…”: https://github.com/perl6/doc/issues/561
21:35 squashable6 🍕 AlexDaniel++ edited issue “Lots of broken links, in…”: https://github.com/perl6/doc/issues/561
21:35 travis-ci joined #perl6
21:35 travis-ci Doc build errored. Moritz Lenz 'Document array variables in regexes. Closes #1674'
21:35 travis-ci https://travis-ci.org/perl6/doc/builds/325609256 https://github.com/perl6/doc/compare/96201864ac4a...5ac524569b6d
21:35 travis-ci left #perl6
21:35 buggable [travis build above] ☠ Did not recognize some failures. Check results manually.
21:36 squashable6 🍕 AlexDaniel++ wrote a comment on “Lots of broken links, in…”: https://github.com/perl6/doc/issues/561#issuecomment-355671712
21:37 Kyo91 joined #perl6
21:40 squashable6 🍕 AlexDaniel++ wrote a comment on “Table for complexity of …”: https://github.com/perl6/doc/issues/1726#issuecomment-355672602
21:52 Kaiepi joined #perl6
21:52 comborico1611 joined #perl6
21:52 comborico1611 You know what's weird?
21:54 xcm joined #perl6
21:57 AlexDaniel ?
21:57 AlexDaniel buggable: pizza comborico1611
21:57 buggable comborico1611, enjoy this slice of Meatzaa pizza, my friend! Yummy 🍕
21:57 comborico1611 Heh.  Thanks!
21:58 comborico1611 I formatted a partition and installed a new OS, and Xchat knew my username when I installed it . . .
21:58 comborico1611 It must be keeping track of my IP or something.
21:59 El_Che it's gets it from your unix username?
21:59 comborico1611 OHHH
21:59 timotimo usually that, yeah
21:59 comborico1611 Thanks, dude.
21:59 El_Che or the NSA is after you
21:59 comborico1611 You're right.  It is.
21:59 comborico1611 Hah.
21:59 comborico1611 No Such Agency.
21:59 ccntrq joined #perl6
21:59 comborico1611 Okay, another question.
22:00 El_Che the Russians
22:00 comborico1611 What is the command-line in Bash for turning on a drive.
22:00 comborico1611 Like you know when you use a File Manager, you see the drive, but it isn't "mounted?" yet
22:00 El_Che mount
22:01 El_Che on the file manager you can mount the drive by clicking on it
22:01 timotimo lsblk is a nice tool to see what's available
22:01 comborico1611 What is the option you give to "mount" ?
22:01 comborico1611 sudo mount /media BLANK
22:02 El_Che timotimo++: I have dmesg stuck in my fingers, but your way is better
22:02 timotimo you need the device node that represents the disk or partition you want
22:02 timotimo i like /dev/disk/by-id/ for that
22:02 El_Che e.g. sudo mount /dev/sdb1 /mnt
22:02 timotimo but often it's enough to just use /dev/sda through /dev/sdz and then the partition number after that
22:02 timotimo like /dev/sdb3
22:03 comborico1611 Okay.  Thanks, guys!
22:09 niceperl joined #perl6
23:06 xcm joined #perl6
23:11 Aaronepower Hello, what is the name of the perl6 package manager?
23:12 geekosaur zef is the current one
23:12 Aaronepower geekosaur: Cheers!
23:15 wamba joined #perl6
23:22 brrt joined #perl6
23:32 comborico1611 joined #perl6
23:52 Kaiepi joined #perl6
23:54 Kaiepi joined #perl6
23:55 cdg joined #perl6
23:56 Kaiepi joined #perl6

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

Perl 6 | Reference Documentation | Rakudo