The web in a box - a next generation web framework for the Perl programming language

IRC log for #mojo, 2016-10-29

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

All times shown according to UTC.

Time Nick Message
00:42 vicash suede: broadcom wifi is now supported in ubuntu
00:43 suede vicash: i probably wouldn't run ubuntu on a personal machine
00:43 suede if anything i would run Arch
00:43 suede because of the AUR
00:43 suede i was trying to install debian at that point though
00:44 vicash well either way it should be supported.. on debian you may have to add "non-free" to the apt sources.list file
00:47 aborazmeh joined #mojo
00:54 irqq_ joined #mojo
01:03 mgrimes_ joined #mojo
01:08 Grinnz yeah. fedora has had madwifi drivers in the rpmfusion nonfree repository for a while now. doesn't make it less annoying
01:08 Grinnz plus theres still the occasional chip that they dont work for
01:08 aborazmeh joined #mojo
02:18 Janos_ joined #mojo
02:23 polettix joined #mojo
02:46 noganex_ joined #mojo
03:04 noganex joined #mojo
03:42 inokenty joined #mojo
04:18 lluad joined #mojo
04:22 jwang joined #mojo
05:14 mib_j7n2d9 joined #mojo
05:15 mib_j7n2d9 hi Guys,
05:15 mib_j7n2d9 Trying to use this mail client helper in my app: https://metacpan.org/pod/Mojo::SMTP::Client
05:15 mib_j7n2d9 but any error such as user unknown throws an exception 500
05:16 mib_j7n2d9 So, I wanted to try the non-blocking example (second example in that link)
05:16 mib_j7n2d9 however, I get an error, I think when I run Mojo::IOLoop->start;
05:17 mib_j7n2d9 Mojo::IOLoop already running at /blah
05:17 mib_j7n2d9 What I'm doing wrong here?
05:19 polettix joined #mojo
05:24 PryMar56 joined #mojo
05:58 bpmedley mib_j7n2d9 : Howdy, do you have a smallish Mojolicious::Lite app we can test with?
05:59 mib_j7n2d9 No I dont' but I think I've figured it, Mojo::IOLoop is used by the app so its always running,
05:59 mib_j7n2d9 I discovered I could disabled exceptions by setting autodie=>0 in the mail client
06:00 mib_j7n2d9 but I would really like to do that bit non-blocking
06:00 bpmedley Is your code currently blocking?
06:00 mib_j7n2d9 I think the examples in Mojo::SMTP::Client are standalone apps,
06:00 mib_j7n2d9 yes, it is
06:02 bpmedley Hrmm; what type of app do you have?  Does the user issue a GET request that causes an email sent?  Is this AJAX, WebSocket, or a regular request?
06:03 mib_j7n2d9 Well, its a form post
06:03 bpmedley I see, and what makes you think that Mojo::SMTP::Client is blocking at present?
06:03 mib_j7n2d9 after the form is validated, it sends the mail via a small helper then returns a page to the user
06:04 mib_j7n2d9 This is a registration page
06:04 mib_j7n2d9 so
06:04 mib_j7n2d9 if the user does not exist on the specified email server, it gives an exception
06:04 mib_j7n2d9 which invokes the exception in mojo
06:05 mib_j7n2d9 in response to the POST request
06:05 bpmedley Hrmm.  Must the email happen in the controller for the POST request?  Can you use Minion and side step this issue?
06:06 mib_j7n2d9 What is Minion
06:06 purl Minion is a lovely thing ot have. or teh intarsurf
06:06 bpmedley It's a really sweet Job Queue that is integrated really well with Mojolicous.  One sec.
06:07 mib_j7n2d9 http://mojolicious.org/perldoc/Minion ?
06:08 mib_j7n2d9 never heard of it
06:08 bpmedley Yes, that's it..
06:09 mib_j7n2d9 is it part of mojo
06:09 bpmedley https://gist.github.com/brianmed/cb1a7f268d26c8a3f172d0ec34bee09c  <-- Does this example make sense?
06:10 mib_j7n2d9 Can't locate Minion.pm in @INC
06:10 bpmedley Installing via CPAN should be straight forward.
06:12 mib_j7n2d9 does it require sqlite
06:12 bpmedley mib_j7n2d9 : https://perltricks.com/article/193/2015/9/18/How-to-send-verification-emails-using-Mojolicious/ <-- Found this gem.. :)
06:13 bpmedley Minon requires a backend.  There are several supported, current ones.  PostgreSQL, SQLite, and I think Storable.
06:13 mib_j7n2d9 I've got my own custom backend I would need to integrate
06:14 bpmedley What do you use?
06:17 mib_j7n2d9 Well, its a key/value store which itself can used any back-end engine such DB_file, BerkeleyDB, Tie::LevelDB or whatever
06:18 mib_j7n2d9 The main thing about it is its replication facilities
06:18 bpmedley Cool.  How many servers do you require working with at present?
06:20 mib_j7n2d9 probably about 5
06:20 mib_j7n2d9 So it's like a mesh
06:20 mib_j7n2d9 eveything gets replication in every direction
06:21 bpmedley Hrmm.  That's really neat.  May i ask the Key/Value store name?
06:21 mib_j7n2d9 I knew this was coming..
06:21 mib_j7n2d9 well I did not release the code yet
06:21 mib_j7n2d9 but wrote it in 2012
06:21 bpmedley Awesome, sounds like you're a tinkerer.. :)
06:21 mib_j7n2d9 I have a PDF powerpoint on it somewhere
06:21 mib_j7n2d9 :)
06:23 bpmedley http://mojolicious.org/perldoc/Mojo/IOLoop/Subprocess <-- mib_j7n2d9 , this may be helpful
06:25 mib_j7n2d9 bpmedley: Yep, thats perfect
06:28 bpmedley http://mojolicious.org/perldoc/Mojolicious/Guides/Cookbook#Subprocesses
06:29 lluad joined #mojo
06:30 mib_j7n2d9 Anyway, its called BorgDB
06:30 mib_j7n2d9 And everything about it works just the same as the way the Borg do it
06:30 mib_j7n2d9 :
06:30 mib_j7n2d9 https://mail.g-b.net/BorgDB.pdf
06:31 mib_j7n2d9 OK, this view next to chat feature is cool
06:34 Vandal joined #mojo
06:34 bpmedley That's cool.   Thanks for sharing..
06:34 mib_j7n2d9 no prblem
06:38 anon3252523 joined #mojo
06:38 jacoby_ joined #mojo
06:45 bpmedley mishanti1 : https://trepan.pl  <-- Are you involved?  Looks cool.
06:51 mib_j7n2d9 key, that's cool (https://trepan.pl/)
06:52 mib_j7n2d9 Is there a tool to generate those text type videos
06:52 mib_j7n2d9 I know there is script, but that looks more pro.
06:52 mib_j7n2d9 key=hey
06:55 mib_j7n2d9 found it: http://www.mattboldt.com/demos/typed-js/
06:55 mib_j7n2d9 Now you just need voice over
06:56 mib_j7n2d9 Thanks Guys, Bye
07:11 dod joined #mojo
07:42 jamesaxl joined #mojo
07:48 mishanti1 bpmedley: Yeah, it is my company that is behind it. At the moment we're interested in finding out if this would be useful to other besides ourselves.
07:49 bpmedley Neat, what company is yours?
08:20 irqq joined #mojo
08:20 mishanti1 bpmedley: https://stix.no <-- sadly no english information though
08:21 bpmedley Looks cool
08:22 polettix joined #mojo
08:23 jamesaxl joined #mojo
08:23 mishanti1 bpmedley: We are consultants, and have also made a system (using Mojo) for emergency broadcasts. Think amber public service announcement (like eg. with amber alerts), but using standard sms and not relying on software in the phones.
08:23 mishanti1 s/Think amber/Think/
08:23 mishanti1 Gah. Too early to type.
08:24 mishanti1 Yeah, and we also do broadcasts of voice messages. So our system will call phones in a defined area and read a message.
08:25 bpmedley Do you use something like twilio?
08:30 dod joined #mojo
08:38 mishanti1 bpmedley: For the voice-part yes. But those services are still extremely costly, so we might at some point roll our own PBX. With asterisk and a trunking deal that is easy enough.
09:05 dod joined #mojo
09:36 stryx` joined #mojo
09:49 polettix joined #mojo
10:11 irqq_ joined #mojo
10:26 ashimema_ joined #mojo
10:34 rshadow joined #mojo
10:35 sri are there like essential gnome shell extensions to turn gnome 3 into a decent desktop?
10:36 sri so far i've only discovered the classic task bar, which makes it kinda usable
10:36 sri but multitasking and working with multiple desktops is still kinda infuriating
10:44 irqq_ joined #mojo
11:11 rshadow joined #mojo
11:39 stryx` joined #mojo
11:53 rshadow joined #mojo
12:07 irqq joined #mojo
12:08 jamesaxl joined #mojo
12:21 irqq joined #mojo
12:25 irqq_ joined #mojo
12:44 aborazmeh joined #mojo
12:45 stryx` joined #mojo
13:12 irqq_ joined #mojo
13:48 vicash sri: that's why XFCE is so popular... it is simple, and doesn't get in the way with useless gimmicks
14:30 sri and is rather ugly
14:34 zivester joined #mojo
14:53 PryMar56 joined #mojo
15:31 mishanti1 sri: If you want something that does not get in the way of productivity then xmonad, awesome and i3 are very good. They all require you to do some configuration, as they are meant for people who know how they want things.
15:32 pink_mist none of them look nice though, which I believe is one of sri's requirements
15:33 pink_mist did you like KDE, sri?
15:34 sri yes, i liked kde, but i'm not so sure anymore if it has a future
15:35 sri judging by the things some insiders told me
15:49 irqq joined #mojo
15:53 kaare_ joined #mojo
15:59 mishanti1 pink_mist: Well, they look as nice as you want them to.
16:00 mishanti1 pink_mist: https://www.reddit.com/r/unixporn/  <-- plenty of examples here of both functional and visually pleasing desktops
16:00 suede why must everything be *porn
16:00 mishanti1 I have no idea.
16:00 mishanti1 Stupid really. But if you are lazy and not creative at all then 'porn' is probably an easy choice.
16:14 dod joined #mojo
16:16 dod joined #mojo
16:40 Yashsk23 joined #mojo
16:52 Yashsk23 joined #mojo
16:53 Yashsk23 Hello All !!
16:53 bpmedley Yashsk23 : Hello
16:53 purl hello, bpmedley.
17:57 vicash suede: probably because of nerd fascination with porn in the early era when porn wasn't on the internet
18:03 Adura joined #mojo
18:47 polettix joined #mojo
18:52 rshadow joined #mojo
19:05 lluad joined #mojo
19:42 rshadow joined #mojo
20:17 Grinnz sri: why do you think i use cinnamon :P
20:18 Grinnz i think r/earthporn started that naming trennd
20:19 preaction i suspect there isn't going to be a real way to figure out who started that particular annoyance
20:19 howitdo joined #mojo
20:50 vicash Grinnz: i don't think so.. i think the porn attachment to technological pictures has been around since Slashdot in the late 90s
20:50 vicash I first saw it when i joined slashdot in 2003 as a member...
20:55 rshadow joined #mojo
21:16 sri now i know what "mobile workstation" actually means
21:16 sri no battery life at all
21:30 suede fffffff
21:30 suede OVH made me validate my identity because I forgot that I was in another country
21:30 suede Also I proved their TOTP 2fa code
21:30 suede provided*
21:30 suede :|
21:52 rshadow joined #mojo
23:06 lluad joined #mojo
23:54 disputin joined #mojo

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