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

IRC log for #mojo, 2016-09-24

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

All times shown according to UTC.

Time Nick Message
00:04 disputin joined #mojo
01:01 Sebbe joined #mojo
02:12 noganex_ joined #mojo
02:35 asarch joined #mojo
03:13 kaare joined #mojo
03:21 newbie55 joined #mojo
04:38 polettix joined #mojo
06:07 juikuen joined #mojo
06:17 mpapec jberger  re: avoiding manual $err checking
06:17 mpapec yes, I'm doing the same thing which leaves some space for improvement
06:17 mpapec https://gist.github.com/mpapec/21621a64aab83a247bd8614ed9cc2fc2
06:19 mpapec I hope this could give an option for automatic checking, leaving default behavior intact
07:05 Vandal50506 joined #mojo
08:23 rv24 joined #mojo
08:40 dod joined #mojo
08:46 dod joined #mojo
08:48 Janos joined #mojo
09:26 good_news_everyon joined #mojo
09:26 good_news_everyon [mojo] kraih pushed 1 new commit to master: https://git.io/viNbn
09:26 good_news_everyon mojo/master 49efcc8 Sebastian Riedel: Bountysource is terrible
09:26 good_news_everyon left #mojo
09:27 sri so, this time they sent me 9 euros instead of dollars, reported a dispute to paypal for not delivering good, got my account partially frozen, and now want me to cover the refund fees
09:28 sri s/good/goods/
09:30 sri and of course paypal won't let me do anything because there's no shipping information attached to the transaction
09:38 mpapec joined #mojo
10:01 khfeng joined #mojo
10:04 Janos joined #mojo
11:19 Atog joined #mojo
11:23 dod joined #mojo
11:51 polettix joined #mojo
11:53 tyldis joined #mojo
12:08 wk left #mojo
12:10 Janos joined #mojo
12:20 flow joined #mojo
12:20 flow hi @all!
12:21 * flow has problems with Mojolicious::Plugin::BasicAuth
12:22 flow someone there who could help me?
12:24 flow my call is $self->basic_auth( realm => sub { ... }), as the `perldoc` suggests.
12:24 sri you don't really need a plugin http://mojolicious.org/perldoc/Mojolicious/Guides/Cookbook#Basic-authentication1
12:30 flow yes, have read that but thought I should prefer the module. Well then the plugin is outdated? sorry, did not stumble upon a deprecation note.
12:30 sri plugins are of mixed quality
12:31 sri there's hundreds of them
12:49 flow sri: thanks
12:50 flow another dependency less.
12:52 flow yet I wonder why the module works as I suppose that passing of user and password to the callback is tested because that is essentially what the plugin is claimed to do.
12:52 flow but it does not.
13:00 flow thanks for your spontanuous help, have to now ... be sincere that Mojolicious is a great product. My app runs on it like a charm (FlowgencyTM, project site: <https://humanetasking.net/>)
13:01 flow +go
13:42 kaare joined #mojo
14:56 dod joined #mojo
15:39 itaipu joined #mojo
15:40 abra joined #mojo
15:59 sri gnome marketing is pretty good :o
15:59 sri https://www.youtube.com/watch?v=LhY7rpWXm1Y
16:24 dod joined #mojo
17:13 PryMar56 joined #mojo
17:50 simcop2387 left #mojo
18:10 laidback_01 joined #mojo
18:47 irqq joined #mojo
18:51 asarch joined #mojo
19:30 Adura joined #mojo
21:00 bit_shifter joined #mojo
21:37 bit_shifter This code works when it's a standalone client app, but when I integrate it into a mojo server-side app, I get "Premature connection close" (at line 25) immediately. This happens in less than 1 second from the time I make the POST request to morbo. http://sprunge.us/LjCh?pl
21:38 bit_shifter It doesn't even appear to make the HTTP request to api.steampowered.com, judging by the network packet capture.  There must be something it doesn't like about the IOLoop Delay...?  Any thoughts?
21:46 stefan_ quit
21:46 stefan_ \quit
22:12 bpmedley bit_shifter : What version of Mojolicious?
22:18 bit_shifter 7.0
22:22 bpmedley bit_shifter : Do you a Lite app version you can show us?
22:35 bit_shifter bpmedley: http://sprunge.us/Qdhe?pl
22:37 sri $delay->wait doesn't work that way
22:37 sri http://mojolicious.org/perldoc/Mojolicious/Guides/FAQ#What-does-Premature-connection-close-mean
22:38 sri $delay->wait does nothing in a running event loop
22:38 bit_shifter What constitutes a running event loop here?  I'm still trying to wrap my head around the whole concept.
22:39 bit_shifter Does a mojo "server-side" app have an inherent event loop?
22:40 sri http://mojolicious.org/perldoc/Mojolicious/Guides/Cookbook#REAL-TIME-WEB
22:45 PryMar56 joined #mojo
22:47 bpmedley bit_shifter : Does that answer your question?  Also, from an app perspective, the situation looks like want to retrieve stats for possibly multiple users concurrently?
22:50 jberger sri: I just discovered owntracks, and the developer is near you, ever run into https://github.com/binarybucks ?
22:50 bit_shifter bpmedley: Yes, I think that answers it.  I'm altering the helper to use the http://mojolicious.org/perldoc/Mojolicious/Guides/Cookbook#Synchronizing-non-blocking-operations style to see.
22:50 bit_shifter bpmedley: Yes, multiple users concurrently would be ideal.
22:52 sri jberger: hannover is not that close :)
22:52 jberger dammit I got hannover and hamburg confused
22:54 sri hamburg is the cool city, hannover is a bit meh
22:54 jberger apparently http support in the android app is close, I would really love to try this
22:55 jberger I've been on a bit of a search for self-hosted internet of things
22:55 jberger I've swung very far to the "I don't want my devices talking to your cloud" side
22:55 sri yea, i don't care at all about that stuff ;p
22:56 jberger s'ok
22:56 sri although, i've been thinking about getting phillips hue lightbulbs
22:56 sri apparently they go well with the whole f.lux thing :)
22:57 jberger I just really like playing with new data streams, and how much cooler when the data stream is your own device
22:57 jberger yeah, that's interesting
22:57 jberger dimming the lights and changing the hue in your own house
22:58 sri might get a starter kit for the office
22:58 sri to see if it's worth it
22:59 sri neat, postgres 9.6 will be released in 4 days
22:59 jberger nice
23:00 bit_shifter sri, bpmedley: I rewrote that sub and it seems to be doing exactly what I want.  Does this seem reasonable? http://sprunge.us/CDFd?pl
23:00 jberger and per 2nd quadrant, bdr should work as an extension for 9.6 (no patches)
23:01 sri bit_shifter: yes, although, you might need to watch out for too many concurrent requests
23:01 bit_shifter sri: Ah.  What's too many?
23:01 pink_mist bit_shifter: ask the docs of the api you're connecting to
23:01 sri depends on a lot of variables, like operating system stuff
23:02 sri and of course the peer server
23:03 bit_shifter pink_mist, sri: Great, thanks for the insight.  I'll do some research and testing before I deploy this.
23:04 sri not many flashy features in 9.6 https://www.reddit.com/r/programming/comments/54ahny/postgresql_96_to_be_released_on_29th_of_september/
23:06 bpmedley I wonder if there are any graphs floating around for scalability on multi-CPU-socket servers..
23:07 sri i think 9.5 was scaling pretty linearly up to 64 cpu cores
23:09 bpmedley sri : May I ask how your employment situation is?
23:10 sri see my last tweet ;p
23:11 bpmedley Besonders fantastisch!  Will that allow continued Mojolicious work, and other creations by you?
23:12 sri mojolicious will not be my primary focus i'm afraid
23:13 bpmedley That's understandable.  Do you know what you'll be working on?  Can you talk about it?
23:14 sri the tools around the opensuse release process, a lot of it is open source
23:14 bpmedley Sounds like you'll be a kid in a candy store.. :)
23:16 sri we'll see, it's definitely a very cool company
23:23 sri i guess in the us you don't really hear much about suse?
23:23 bpmedley I just know that a Fortune 1 in Bentonville, Ark used it as the initial version of their Linux image..
23:24 sri in germany they thend to be better known than redhat
23:24 bpmedley Yeah, they have better international support
23:27 bpmedley Do you know what language(s) you'll use?
23:29 sri perl, bash, python and ruby
23:30 bpmedley Craziness.  Sounds exciting, and wearing that many hats in so many different languages will be an experience..
23:31 sri python and ruby only to fix bugs though, so it's not too crazy
23:31 sri and i don't mind spending some time on getting better at other scripting languages
23:53 sri wonder if the new macgyver series is any good
23:54 jberger Hey, crab++ is in the release notes: https://www.postgresql.org/docs/9.6/static/release-9-6.html
23:54 jberger (Maybe he is all the time, I don't know)

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