Friday, 2014-05-30

*** tpb has joined #timvideos00:00
*** mparuszewski has quit IRC00:23
shenkidoh, tija forgot to push his changes00:53
shenkihrm, it looks like he tried. he merged in the upstream branch, but i can't see any of his commits00:53
shenkimithro: is 2014.pycon-au.org working for you?00:53
aps-sidsshenki: not working for me01:03
aps-sidsalso, http://www.isup.me/2014.pycon-au.org01:03
shenkiaps-sids: thanks01:03
tpbTitle: Down For Everyone Or Just Me -> Check if your website is down or up? (at www.isup.me)01:03
shenkiaps-sids: yeah, i did the same :) i reported it to the guys on twitter01:03
shenkiit's funny, as they were bragging about how many registrations they were getting only 40 minutes ago01:03
shenkiperhaps they good too many :)01:03
*** CarlFK has joined #timvideos01:40
*** ChanServ sets mode: +v CarlFK01:40
*** CarlFK has quit IRC01:44
*** ayush3504 has joined #timvideos01:49
aps-sidsmithro: ping?01:53
*** ayush3504 has quit IRC01:54
*** CarlFK has joined #timvideos02:08
*** ChanServ sets mode: +v CarlFK02:08
CarlFKmithro: have time /  ec2 setup to get  a stream up now (shop bot build out here at PS1)02:23
CarlFKI have dvswitch running, bringing up an encoder box now02:23
*** FeltonChris has joined #timvideos02:56
CarlFKoh right.. streaming system expects ubuntu something I dont have handy03:30
CarlFKNote, selecting 'gstreamer0.10-plugins-bad' instead of 'gstreamer0.10-plugins-farsight03:30
CarlFKfarsight?03:30
mithroNFI03:34
mithrobrb03:34
aps-sidsCarlFK: mithro: small doubt here. I'm not able to understand how to use this - https://lazka.github.io/pgi-docs/Gst-1.0/constants.html#Gst.TIME_FORMAT - in the code here - https://github.com/aps-sids/flumotion-orig/blob/porting-to-gst1.0/flumotion/component/padmonitor.py#L11403:48
tpbTitle: Constants - Gst 1.0 (at lazka.github.io)03:48
aps-sidsAnother relevant link, http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstInfo.html#GST-TIME-FORMAT03:48
tpbTitle: GStreamer 1.0 Core Reference Manual: GstInfo (at gstreamer.freedesktop.org)03:48
mithroaps-sids: that is a question for gstreamer people I think. It is just a logging message so don't let it hold you back03:54
aps-sidsmithro: Please see this output from ipython. http://paste.ubuntu.com/7548660/   I'm missing something here and not sure exactly how to use Gst.TIME_FORMAT. Basically, I need to pass a long int and get output in hh:mm:ss format. I feel its a silly question :/04:03
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)04:03
mithroYou should compare it to the old object04:07
mithroI think you'll find the old thing was a function04:08
aps-sidsIn [34]: gst.TIME_ARGS(6)04:09
aps-sidsOut[34]: '0:00:00.000000006'04:09
aps-sidsold thing just returned the string04:09
aps-sidsmithro: 6 is a nanosecond here04:10
mithrobut the new thing is a string not a function which returns a string04:13
mithroaps-sids: don't be afraid to go and look at the code04:33
CarlFKoh I think I get it ...  Gst.TIME_FORMAT = 'u:%02u:%02u.%09u' is the format string which can vary depending on country/local04:33
CarlFK>>> 'u:%02u:%02u.%09u' % (1,2,3)04:34
CarlFK'u:01:02.000000003'04:34
CarlFKI'll have to admit I don't understand the u:, but anyway, Gst.TIME_FORMAT is just a string04:35
aps-sidsthanks  CarlFK04:36
aps-sidsthat's a new thing I got to know04:36
mithroI would have thought that aps-sids knows Gst.TIME_FORMAT is a string04:40
mithrobecause in his ipython output it said04:40
mithroIn [98]: Gst.TIME_FORMAT??04:40
mithroType:        str04:40
aps-sidsyeah mithro, I knew that but I didn't know about using % to format (1,2,3)04:41
mithroIn [5]: gst.TIME_ARGS??04:41
mithroType:       builtin_function_or_method04:41
mithroString Form:<built-in function TIME_ARGS>04:41
CarlFKaps-sids: I bet you did ;)  - it is a more compicated version of >>> "%s foo %s bar %s" % (1,2,3)04:44
CarlFK'1 foo 2 bar 3'04:44
mithroaps-sids: looks like there is still a gst.TIME_ARGS method in the new Gst?04:45
mithrohttp://cgit.freedesktop.org/gstreamer/gst-python/tree/gi/overrides/Gst.py#n27204:46
tpbTitle: gstreamer/gst-python - Python bindings for GStreamer (at cgit.freedesktop.org)04:46
mithroThis is what the old code did04:49
mithrohttp://cgit.freedesktop.org/gstreamer/gst-python/tree/gst/gst.override?h=0.10#n87304:49
tpbTitle: gstreamer/gst-python - Python bindings for GStreamer (at cgit.freedesktop.org)04:49
aps-sidshuh, I was and am still getting Gst.TIME_ARGS() , object has no attribute TIME_ARGS04:57
aps-sidsits not showing in ipython as well04:58
mithromaybe it's not in the version you have?04:58
mithrogo and look at the git history to see when it was added04:58
*** CarlFK has quit IRC05:35
aps-sidsmithro: its added dec 2013 and I have Gstreamer latest stable version 1.2.1 :/06:04
mithroaps-sids: it's not a complicated function06:06
mithrohave a "gst_fixups.py" file which does06:06
mithroimport gst06:06
mithroif not hasattr(gst, "TIME_ARGS"):06:06
mithro  def TIME_ARGS(...):06:07
mithro   ...06:07
mithro  gst.TIME_ARGS = TIME_ARGS06:07
aps-sidsokay, got it06:08
*** slomo has joined #timvideos06:15
*** slomo has joined #timvideos06:15
mithroonce the newer version is everywhere, we can drop that06:15
*** CarlFK has joined #timvideos06:18
*** ChanServ sets mode: +v CarlFK06:18
*** mparuszewski has joined #timvideos06:36
mithromparuszewski: morning?06:36
mparuszewskimithro: good morning06:37
mithromparuszewski: looks like you've made good progress with the planet06:37
mithromparuszewski: have you set up autogeneration for it yet?06:38
mparuszewskiI am working on it. :)06:39
mithromparuszewski: I can also get you those email addresses06:39
mparuszewskiThat would be great, or I can use gravatars from GitHub.06:40
mithromparuszewski: The text in the logo circle on the left it weird, doesn't match what it suppose to look like06:41
mithromparuszewski: can you add an example email in the config file?06:42
*** mpar has joined #timvideos06:44
mparI will think about the logo, should I change the text or whole idea?06:46
mparmy irc client will make me crazy :D06:47
*** mparuszewski has quit IRC06:47
aps-sidsmpar: stopped using irccloud?06:49
mithrompar: correct text layout/design is found a https://secure.gravatar.com/avatar/ed665fc30c4688bdf7a4d4040d2eebcc?s=16006:51
mparI have problem with irccloud, because I have only a message that I need to confirm my email address, but I've already done that. I wrote to support about that issue :)06:52
mparmithro: Ok, I will update the logo.06:53
mparmithro: what do you think about other ideas from my snippet?06:53
mithrompar: I don't think we need pagination?06:54
mithrompar: we probably want an "embed" version of the page which doesn't have the left side bar06:54
mparOk, so I won't fight with pagination and remove the sidebar from that page. Now I will add github activities, gravatars and OPML generation. I will add TimVideos logo to the header and change it a little bit.06:58
mithrompar: I think we want both the one with the side bar and the one without06:58
mithrompar: the one without would be designed to be iframed into the main site?06:59
mparOk, I can do that.07:00
mparCould you send me emails for gravatars?07:01
mithroIf you update the planet.yml I'll send you a pull request with emails in them07:01
mparOk.07:02
mparShould we keep emails in that file in the repository or just gravatars ids?07:03
mithrodunno07:04
*** rohitksingh has joined #timvideos07:06
mparIn my opinion it would be safer for emails to keep only gravatar ids, I don't know if spam bots are looking for emails in GitHub repositories.07:06
mithrosounds fair07:17
mparI've created small program to generate gravatar id for email: http://ideone.com/eBcTx507:21
tpbTitle: Ideone.com - eBcTx5 - Online Ruby Interpreter & Debugging Tool (at ideone.com)07:21
mparand updated main repository with planet.yml07:23
mparI will update planet.yml to have all people from GSoC201407:42
mparI created special category for HDMI2USB, it is a large project.07:43
mparI've added generate.sh script for planet08:39
mithrompar: great, did you add the gravatars yourself?09:09
mithrodo you still need me to add them?09:09
mparI've added random gravatars. I still need you, if you give me a list of emails I will generate them. :)09:12
mparNow I will add new page with github activities (it shouldn't be on main page, because it will contain a lot of posts), and then create iframe with content only.09:14
mparI ran my script locally (without ssh connection) and all worked fine.09:14
mithroIt doesn't look like most people have gravatars09:16
mparWe can have images also, but gravatars are great, because even if someone does not have gravatar and we will use default gravatars, we can separate each post, and if someone want to have another image for post author he can create account on gravatar and have one.09:19
mparI will think about auto deploy, cron tab, or else, but I will need your or Leon's help, I don't want to break something.09:20
mithrompar: you can just a crontab entry on generate.timvideos.us ?09:27
mithromaybe we should be using github identicons instead?09:28
mithrohttps://github.com/blog/1586-identicons09:28
tpbTitle: Identicons! · GitHub (at github.com)09:28
mithrompar: actually why not just let people provide an image?09:28
mithros/image/image url/09:28
*** wanig_ has quit IRC09:30
mparOk, we can use every solution that is available. :)09:34
mparSo, by default I will use Indeticons, but if someone will provide me a image I will change that in config, is that good?09:35
*** wanig_ has joined #timvideos09:37
mithrompar: yeah, that sounds good. The Ideticons will be the same as the github ones right?09:38
mparYes, and it's easy because identicons requires only name of GitHub account09:40
mparHow often should that script work? Every minute? Hour?09:41
mithrohow long does it take to run?09:44
mithrompar: you should also make sure you are thinking about pushing any planet.rb changes back upstream09:46
mparYes, I will make pull request for that project too.09:49
mparIt takes about 1 minute, I'll set it for every 5 minutes.09:52
mparI've got permission denied error when trying to run script on generate.timvideos.us10:07
mparCould you validate if my script is correct?10:07
mparI will be back in few hours.10:07
aps-sidsmpar: can you give link to your script?10:10
mithroYou should use a similar curl method to the other one. Will look at it when I get home.10:10
mparhttps://raw.githubusercontent.com/timvideos/planet/master/_generate.sh10:11
*** tija has joined #timvideos10:12
mithroOkay10:14
mithroMorning tija10:14
tijamithro: good morning10:14
mithrotija: you should make it a goal to get shenki to replicate you results.10:14
*** mpar has quit IRC10:16
tijamithro: okay, actually lot of work that I did I have overwritten on the same file. Say changing clock frequency: I simply change PLL parameters and overwrite the previous once.10:18
tijaSo how should I go about it.10:19
tijasave every changes in a new xsvf file?10:19
mithroYou should commit often to keep a history of your work.10:19
mithroYou can keep them on separate branches and then clean them up when they should end up on the master branch.10:20
mithroCommiting to often is better then not enough10:21
tijaokay I will do that from today10:22
*** tija has quit IRC10:23
*** tija_ has joined #timvideos10:24
*** tija has joined #timvideos10:33
*** ayush3504 has joined #timvideos10:35
*** ayush3504 has quit IRC10:40
*** ayush3504 has joined #timvideos10:40
tijaxchat-reset10:56
*** rohitksingh has quit IRC11:00
*** rohitksingh has joined #timvideos11:02
*** aboutGod has joined #timvideos11:04
*** rohitksingh has quit IRC11:06
*** aboutGod has left #timvideos11:09
tijashenki: https://github.com/ajitmathew/HDMI2USB/tree/gsoc This is the new branch that I have made. hdl/jpeg_encoder/jpeg_top-Copy has yesterday's changes11:17
tpbTitle: ajitmathew/HDMI2USB at gsoc · GitHub (at github.com)11:17
*** tija has quit IRC11:18
*** tija has joined #timvideos11:19
*** sarwarc has joined #timvideos11:19
*** sarwarc has quit IRC11:21
*** sarwarc has joined #timvideos11:21
*** rohitksingh has joined #timvideos11:22
*** tija has quit IRC11:28
*** tija has joined #timvideos11:28
*** rohitksingh has quit IRC11:30
*** ayush3504 has quit IRC12:21
*** slomo has quit IRC12:23
*** slomo has joined #timvideos12:25
*** slomo has joined #timvideos12:25
*** rohitksingh has joined #timvideos13:04
*** FeltonChris has quit IRC13:10
*** rohitksingh has quit IRC13:36
*** sarwarc has quit IRC13:46
*** sarwarc has joined #timvideos13:48
*** rohitksingh has joined #timvideos13:59
shenkio/14:00
*** mparuszewski has joined #timvideos14:03
*** Niharika has joined #timvideos14:20
*** rohitksingh1 has joined #timvideos14:30
*** rohitksingh1 has quit IRC14:46
*** rohitksingh has quit IRC14:46
*** rohitksingh has joined #timvideos14:47
*** tija has quit IRC14:51
*** tija has joined #timvideos15:06
*** tija has quit IRC15:18
*** tija has joined #timvideos15:34
*** sarwarc_ has joined #timvideos15:56
*** sarwarc has quit IRC15:57
*** ayush3504 has joined #timvideos15:57
*** Niharika has quit IRC15:58
*** Niharika has joined #timvideos16:14
*** tija has quit IRC16:23
*** Niharika has left #timvideos16:56
*** Niharika has quit IRC16:56
*** rohitksingh has quit IRC17:03
*** ayush3504 has quit IRC17:08
*** rohitksingh has joined #timvideos17:12
*** Palash has joined #timvideos17:25
*** ayush3504 has joined #timvideos17:28
aps-sidsCarlFK: you have a minute?18:11
aps-sidsand gstreamer 1.0 installed? need to check something.18:12
*** hyades has joined #timvideos18:15
*** Palash has quit IRC18:27
CarlFKaps-sids: sure18:51
aps-sidsCarlFK: please do "from gi.repository import Gst" and check value of Gst,CLOCK_TIME_NONE18:52
aps-sidsGst.CLOCK_TIME_NONE18:53
CarlFK>>> Gst.CLOCK_TIME_NONE18:53
CarlFK18446744073709551615L18:53
CarlFKbrb18:53
CarlFKb18:54
aps-sidsfor some reason, I'm getting this value as -1 :/19:00
CarlFKfrom gst or Gst?19:01
mparuszewskimithro: I need to install bundler on generate.timvideos.us, but I don't have permissions to do gem install bundler (that's why my script won't work)19:03
mparuszewskiexit19:03
*** rohitksingh has quit IRC19:06
*** rohitksingh has joined #timvideos19:06
aps-sidsCarlFK: from Gst.. gst gives me correct value19:08
*** sarwarc_ has quit IRC19:08
CarlFKhow do I check Gst version ?19:08
*** sarwarc_ has joined #timvideos19:10
aps-sidsGst.version or version_string19:12
CarlFK>>> Gst.version19:14
CarlFKgi.FunctionInfo(version)19:14
CarlFK>>> Gst.version_string19:14
CarlFKgi.FunctionInfo(version_string)19:14
aps-sidsGst.version_string()19:15
CarlFK'GStreamer 1.2.4'19:15
aps-sidsah, I have 1.2.1. Is 1.2.4 development version? and you are using Ubuntu 12.04?19:16
CarlFKUbuntu 14.04 LTS19:18
CarlFKwhat is the .deb package name?19:18
aps-sidsCarlFK: https://launchpad.net/~gstreamer-developers/+archive/ppa?field.series_filter=precise19:46
tpbTitle: PPA for GStreamer developers : “GStreamer developers” team (at launchpad.net)19:46
aps-sidsdoes this mean 1.2.1 is latest version for ubuntu 12.04?19:46
CarlFK *** 1.2.4-1~ubuntu1 020:01
CarlFK        500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages20:01
tpbTitle: Index of /ubuntu (at us.archive.ubuntu.com)20:01
CarlFKit may be easier to work with 12.0420:01
*** sarwarc_ has quit IRC20:05
*** hyades has quit IRC20:59
*** CarlFK has quit IRC21:32
*** CarlFK has joined #timvideos22:00
*** ChanServ sets mode: +v CarlFK22:00
*** FeltonChris has joined #timvideos22:06
*** ayush3504 has quit IRC22:09
aps-sidsCarlFK: ping?22:12
CarlFKaps-sids: here22:12
aps-sidsplease do this,  "from gi.repository import Gst" and gst.TIME_ARGS(6)22:13
aps-sidssorry22:13
aps-sidsGst.TIMEARGS(6)22:13
aps-sidsoops,  Gst.TIME_ARGS(6)22:14
aps-sidsthis ^22:14
CarlFKAttributeError: 'gi.repository.Gst' object has no attribute 'TIME_ARGS'22:14
aps-sidsah, ok thanks22:14
aps-sidsIf you're free please go throughg my blog. I just posted.22:15
aps-sidsworking on Ubuntu 12.04 is a really bad idea according to gstreamer guys.22:18
*** ayush3504 has joined #timvideos22:19
CarlFKsomewhere recommend 12.04 - should update that to 14.0422:22
*** rohitksingh has quit IRC22:39
*** slomo has quit IRC23:08
*** ayush3504 has quit IRC23:41

Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!