Thursday, 2014-01-23

*** kaspar_e has joined #lv200:09
*** timbyr has quit IRC00:30
*** timbyr has joined #lv200:32
*** rncbc|AFK has quit IRC00:46
*** timbyr has quit IRC00:57
*** timbyr has joined #lv200:59
*** kaspar_e has quit IRC01:11
*** speps has quit IRC01:39
*** speps has joined #lv201:53
*** timbyr has quit IRC02:53
*** timbyr has joined #lv202:55
*** HarryHaaren has quit IRC04:03
*** falktx_ has quit IRC04:09
*** speps has quit IRC05:46
*** awilliams has quit IRC07:20
*** awilliams has joined #lv207:21
*** abique has joined #lv207:28
*** abique has quit IRC07:33
*** abique has joined #lv207:46
*** edogawa has joined #lv208:55
*** kaspar_e has joined #lv213:28
*** HarryHaaren has joined #lv213:41
*** falktx has joined #lv213:48
*** mlpug has joined #lv214:04
*** falktx_ has joined #lv215:29
*** falktx has quit IRC15:32
*** edogawa has quit IRC16:22
*** edogawa has joined #lv216:29
*** sigma6 has quit IRC16:48
*** sigma6 has joined #lv216:50
*** sigma6 has left #lv216:56
*** drobilla has joined #lv216:59
drobillaHeh, apparently the standard practice in glut for grabbing the mouse is to warp it back into the window on every evet17:05
drobillaI wonder how much fun that'll be to do on win/osx17:06
drobilla(actual grabbing, that is)17:06
wrlare you going to have pugl act similarly?17:17
drobillaWarping?  Unlikely, that's awful.17:19
wrlagreed17:20
drobillaBeing able to grab is pretty crucial for many things like knobs and slider controls you drag, though, so API will be needed17:21
wrlyeah17:21
falktx_grab and hide cursor?17:22
wrli like the grab and hide cursor pattern17:22
falktx_I like when knobs do that17:22
drobillaThere is API for changing the cursor which can presumably be used for the hide bit, at least17:22
drobillaThe tricky/annoying thing may be event masks, since it has no event types exposed at all17:23
drobillaMaybe "grab mouse everything ever" is good enough17:23
falktx_I did that once for X11, there was an issue when the user releases the mouse17:23
falktx_if the window behind the cursor is not the plugin, it jerks a bit17:24
drobillaThe Gtk grab stuff seems to work well for me, but I'm not sure what it does internally17:24
wrlfalktx_: couldn't you just rewarp the pointer back to the drag start after every motion notify?17:25
falktx_wrl: don't remember the code exactly now, its better to have a fresh start17:25
falktx_X11 API is confusing17:26
wrlx11 is a ghetto17:26
wrlwayland will save us all17:26
wrli need to figure out why this happens, but like17:27
wrli added a pugl backend to rutabaga and all the window resizes got super laggy compared to the xcb code i had already written17:27
drobillaThe main problem with warping is the mouse position gets all wacky and preserving that would be really tedious (and probably error prone)17:30
drobillaI wonder if that's xlib vs xcb or something else.  I was idly wondering what if any wins using xcb instead would yield.17:30
drobilla(As for Wayland, now way I'm getting involved in the display server mess until the dust settles)17:31
wrldrobilla: xcb if nothing else is considerably more verbose17:32
wrland to do any GL stuff xlib needs to be involved if only slightly17:32
drobillaMeh to that17:32
* falktx_ blames glx17:33
wrlyeah17:33
wrlfalktx_: yep!17:33
wrlit's all glx.17:33
falktx_wayland will be great to sort this out17:33
falktx_they have to :)17:33
wrlwayland is already pretty cool17:34
wrlit's going to be a critical mass thing imo17:34
* drobilla is definitely not getting involved in that mess until the dust completely settles17:35
drobillaThough I guess in the case of pugl the amount of platform code is relatively small and totally isolated, so tinkering shouldn't be that big a deal17:35
drobillaSpeaking of rutabega, two things:17:35
drobilla1) Last I tried, compilation failed due to -Werror.  Having that on by default is slightly insane.17:36
drobilla2) Can't update: fatal: reference is not a tree: 7efa265e68d55ad551f6e8b364df30c309ddc81517:36
drobillaUnable to checkout '7efa265e68d55ad551f6e8b364df30c309ddc815' in submodule path 'third-party/libuv'17:36
wrlah yeah, give me a sec17:36
falktx_I hope plugin UIs won't break because of wayland. Xembed over XWayland sounds painful17:36
wrldrobilla: submodules are a pain in the ass17:36
wrlbut subtree is even worse17:36
wrlugh i need to keep working on that pull request too17:37
drobillaYeah.  Recent minor work on Jack is my first experience with them17:38
drobillaI don't look forward to migrating my many sub-projects to git...17:38
wrldrobilla: ah, i did some fucked up rebasing in my libuv mirror, sec17:39
drobillaThey probably will.  Such is the cost of exposing the lowest level thing, but it's pretty much either that or toolkit17:39
drobillaThen again it's not like we're the only people embedding anything, so maybe it will magically work17:40
*** falktx_ has quit IRC17:43
* drobilla would still like to tear the drawing stuff from the event stuff, but it's not a particularly good use of his time17:44
wrldamn, for some reason the compiler is now completely ignoring -fvisibility=hidden17:45
wrlthe hell17:46
wrlhah17:53
wrlwell, clang pays attention to it, gcc doesn't though17:54
*** mlpug has quit IRC17:54
wrldrobilla: git pull, should be alright now17:56
drobillaWe could really use a standard that allows build systems to map a pkg-config name to a package name, and thus offer to automagically install17:58
drobillawrl: death by warning17:59
wrldrobilla: can you pastebin the output?17:59
drobillahttp://pastebin.com/q1aJYBas17:59
*** mlpug has joined #lv217:59
wrldanke sehr17:59
wrloh yeah what are your cflags again?18:00
drobilla-O2 -march=corei7-avx -fomit-frame-pointer -DNDEBUG -ftree-vectorize18:00
wrloh yeah that's the issue, you compile with -DNDEBUG18:00
wrland the examples have a bunch of dumb shit in assert()s18:00
wrlwhich i should have fixed already and the warnings in this case are actually big deals18:01
drobillaRight, builds with debuggey flags18:02
* drobilla just nukes user CFLAGS entirely if configure --debug is given18:02
wrlcabbage patch breaks with ndebug tho, let me see what's up18:03
wrl(same issue)18:03
drobillaThere appears to be no text in anything18:03
drobillaOtherwise, works18:03
wrloh wow, hm.18:04
wrlsend a screenshot?18:04
wrlalso, should build fine with NDEBUG now18:04
drobillaDo I really need to make a screenshot to prove there's no text anywhere? :)18:04
wrlokay, okay ;)18:04
wrllet me think about why that might be18:04
wrlno text in anything, huh.18:05
wrlhm18:05
wrlso, in cabbage_patch18:05
drobillacabbage_patch or test, no text.  modules and knobs, respectively, no labels anywhere18:05
wrlin cabbage_patch, is there space for text, and it's just not there, or is there not any space for it?18:06
drobillaoooooooohhhhhhhh fine18:06
wrlhaha18:07
drobilla(also apps don't close when the window is closed)18:07
wrli guess it wouldn't be a problem loading the font, because at the moment that generally just makes it segfault18:07
drobillaI like the potential of this project + pugl for plugin GUIs anyway18:08
wrlyeah that's kind of the aim18:08
drobillaI guess Robin also has that Gtk-API-like one too18:08
wrlyeah, yeah18:08
wrldrobilla: what WM, and also can you pastebin me your glxinfo?18:08
drobillaSo many of the pre-existing ones try really hard to look like Windows 95 in GL, it's weird18:08
drobillahttp://drobilla.net/files/cabbage_patch.png18:08
wrlokay, probably a GL issue18:09
drobillahttp://pastebin.com/p4X9geMB18:09
wrlfont looks like it's being loaded fine, since the bounds are being factored into the layout18:09
drobillaIn awesome18:09
wrlhm18:10
wrlokay you're running a version of mesa about one major release behind me, but have almost the exact same card18:10
wrllet me test on my old old old machine, see if i broke anything recently18:11
* drobilla supposes he will have to abandon his stubborn hatred of knobs on screens if he wants to build a control panel builder thingie18:15
wrlhaha!18:16
wrlwell18:16
wrlrtb_fanslider?18:16
wrl(it's not there, i haven't written it)18:16
drobillaGanv effectively uses fansliders without the fan18:17
drobillaAFAIK fan isn't really nicely doable without requiring compositing18:17
wrlyeah18:17
drobillaWhatever, not very important.18:18
*** falktx_ has joined #lv218:23
drobillafalktx_: http://dev.drobilla.net/ticket/95218:24
LAbotTitle: #952 (suil fails to build on OSX when qt4 is installed) – drobillad (at dev.drobilla.net)18:24
drobillafalktx_: I don't understand this.  You mean it works with Qt5, or you just did that to make it not use Qt at all?18:24
drobillargareus: Can we turn that part off per-channel by any chance?18:24
falktx_drobilla: I don't have qt5, so it stkipped qt build18:25
wrldrobilla: i need to sort dinner out, but i want to see if we can figure out what's up with the text rendering. things are kosher on my fairly-old test system18:25
drobillafalktx_: Looks like a check for QtX11 something is required, though, oddly, it seems qx11embed_x11.h does exist18:25
drobillawrl: k.  I'll probably stick around all day even though I shouldn't18:26
drobillafalktx_: Can't really sort this out without OSX around18:26
falktx_drobilla: np, I understand18:26
drobillafalktx_: Speaking of which, what installer did you use to get a vbox running?18:26
falktx_drobilla: suil doesn't support cocoa yet anyway18:26
drobilla../src/gtk2_in_qt4.cpp:21:22: error: gdk/gdkx.h: No such file or directory18:26
drobillaI guess checking for that would do18:26
falktx_drobilla: I use iDeneb 10.5.818:26
falktx_in latest VirtualBox18:26
falktx_the ISO i have here is no longer online though18:27
drobillafalktx_: No, but it does work on OSX if X11 is around, which AFAIK is still how Ardour rolls18:27
falktx_but macports qt4-mac is built without x1118:27
drobillaSure.  Being actually X11 dependent raises the question of whether having qt_in_gtk nad vice versa is even worth it, really18:29
drobillaGtk in theory has an API for this, but plug/socket only actually works on X11 too, I think18:29
falktx_having gtk paint on a rgb buffer might be a better choice18:29
drobillaDoesn't sound fun18:32
drobillaI just meant using the same basic "get system window thing" based wrapping for every combo18:32
drobillainstead of tk1_in_tk2 for every combo, a get_win_for_tk1, and embed_win_in_tk218:33
rgareusdrobilla: ? the bot url-title?18:33
drobillargareus: yeah18:34
rgareusdrobilla: mmh. not sure. maybe. I'll have a look18:34
drobillargareus: Seems kinda noisy and pointless to me, but not really a big deal either18:34
rgareusdrobilla: meanwhile, you should mention in the topic that this channel is publicly archived18:35
rgareusdrobilla: http://linuxaudio.org/irc/lv2/18:35
LAbotTitle: #lv2 IRC logs | Linuxaudio.org (at linuxaudio.org)18:35
rgareusdrobilla: according to the doc, the 'titleSnarfer' config is channel-specific.  So now I only need to find out how to set it per channel ..18:39
*** ChanServ sets mode: +o drobilla18:40
* rgareus should have chosen a simpler bot18:41
*** drobilla changes topic to "LV2 - http://lv2plug.in - Logged at http://linuxaudio.org/irc/lv2/"18:42
drobillaBig brother is watching you ;)18:42
*** drobilla sets mode: -o drobilla18:42
rgareustest: http://lv2plug.in/18:45
rgareusdrobilla: seems to work.18:45
drobillargareus: Thanks18:47
drobillaI guess the two papers in LAC2013 are probably the only published LV2 things currently19:05
falktx_drobilla: you're going to lac?19:09
drobillafalktx_: Well, I'm probably going to submit a paper anyway19:10
falktx_deadline is 27th, right?19:10
drobillaDespite really having to work on other things...19:10
drobillafalktx_: yeah19:10
falktx_I want to submit a paper as well, but I'm most likely to not be present :(19:10
drobillaI figure general atom-idea paper this year, then Ingen next year, since the client/server aspect of it heavily builds on these ideas19:11
drobillaYeah, well.. hopefully the grad office will pay for most of my flight... otherwise, I dunno :)19:11
drobillaThis bloody long citation style makes line length/filling brutal19:13
drobillaWriting this makes me strongly inclined to nuke atom:Blank and atom:Resource.  It looks weird.19:50
*** abique has quit IRC19:57
drobillaTIL erlang calls them "terms"20:09
drobillaand "atom", like X11, is essentially a symbol20:09
drobillaPerhaps an unwise overload, though I think "symbol" is much clearer than "atom" for that20:09
wrlagreed20:20
drobilla'item' would have been a good ext name20:25
drobillathat that implies "not collection" as much as atom does20:25
drobillawhatever, I guess20:25
*** rncbc has joined #lv220:32
wrlyeah, it's almost like the way that a LV2 atom is currently used is more as a collection of atoms20:35
drobillaWell, there are both.  Some are primitives, some are collections20:36
drobillaString is a variable sized kinda-primitive which mucks up the concepts a bit20:36
*** HarryHaaren has quit IRC20:39
*** mlpug has quit IRC20:46
* drobilla fills forge.h up with a bunch of deprecated warning pragma filth20:53
drobillasigh.20:53
drobillaPretty stupid to be making deprecated warnings about code inside deprecated functions, gcc20:53
falktx_drobilla: btw, this is an odd request... but I'm forcing myself to use more strict gcc flags and lv2 headers fail on them20:56
falktx_my full list is this:20:56
falktx_-Wall -Wextra -Wcast-qual -Wconversion -Wlogical-op -Werror20:57
drobillaThere are const problems in some of the atom stuff20:57
falktx_not just const20:57
falktx_there are some size issues as well20:57
drobilla-Wcast-qual will cause warnings20:57
drobillalike, alignment?20:57
falktx_mostly things like this:20:58
falktx_uint32_t someFunc() { return sizeof(int); }20:58
falktx_it's very picky yes, but I find that good to spot little mistakes in my code20:58
drobilla(-Werror is insane)20:58
drobillaWerror doesn't make anything more picky, it just makes builds fail20:58
drobillaFair enough if that's your thing, but don't have it on by default for users20:59
drobillaI will check what is missing from my --ultra-strict flags20:59
falktx_yes, this is only for the developmen git branch20:59
falktx_production code should never have -Werror20:59
falktx_specially since some distros add their own -W stuff21:00
drobillaUnfortunately -Wcast-qual and C is very problematic.  C sucks at const-correct21:00
drobillaThe standard library isn't even const correct21:00
drobillaIf/when I make successor versions of those utility headers I can fork the entire API in 2 and add _c suffixes to const things or something21:00
wrl-Wextra is insane21:01
* drobilla already broke other code by trying to conservatively "fix" as much of these as he could21:01
drobillawrl: All my code is -Wextra clean21:01
wrlheh, damn21:01
wrli'm mostly running afoul of missing field initializers, seems21:01
drobillafalktx_: It's -Wconversion that I don't use21:02
falktx_ok, I'd be nice to have that sorted21:02
drobillafalktx_: We'll see, but cast-qual can't be without breaking the API21:03
falktx_drobilla: regarding const, I set all lv2-atom stuff to use consts. then in c++ I can const_cast<type*>() when I need21:03
*** speps has joined #lv221:11
drobillafalktx_: Most of the problem is iterators.  Needs proper C++ iterator interface anyway, so that will make it go away for C++ at least21:12
drobillaThe rest will have to remain as-is indefinitely.  util2.h or perhaps iterator.h can replace those parts21:13
*** unclechu has joined #lv221:26
*** Gethiox3 has joined #lv221:27
unclechuhi guys, please tell me how I can convert db to coefficient?21:27
drobillaunclechu: There is a macro for that in the amp example21:28
drobilla/** Define a macro for converting a gain in dB to a coefficient */21:29
drobilla#define DB_CO(g) ((g) > -90.0f ? powf(10.0f, (g) * 0.05f) : 0.0f)21:29
*** Gethiox2 has quit IRC21:29
unclechudrobilla but for stereo I must use half of this value?21:29
drobillaunclechu: That really depends on context21:30
*** HarryHaaren has joined #lv221:31
unclechudrobilla ok, thanks21:31
drobillaunclechu: y/w21:31
unclechudrobilla ??21:31
unclechudrobilla aw, "you're welcome" i guess)21:35
rgareusis 'math-functions.lv2' some legacy thing or just some obscure plugin? Does anyone know who maintains it?21:49
falktx_lars luthman? maybe21:49
rgareusit produces around  30 or so   error: /usr/lib64/lv2/math-functions.lv2/math-functions.ttl:XXX name ends with `.'21:50
falktx_old calf used to have such plugins too21:50
*** HarryHaaren has quit IRC21:50
rgareus(just seen that on a debug message https://community.ardour.org/node/7962)21:51
rgareusthere's sord_validate. use it or loose it.21:51
*** HarryHaaren has joined #lv221:51
falktx_never used it21:52
falktx_never got it to work either21:52
falktx_rgareus: ok, got that plugin in my ubuntu install. it's ll-plugins-lv2 package21:52
falktx_ie, http://ll-plugins.nongnu.org/21:52
drobillaI think that's a new serd error (caused by the new Turtle grammar allowing dots in things).21:52
drobillaBecause breaking widely used grammars is a super fucking great fucking, W3C21:53
drobillaidea* even, heh21:53
drobillaHm.  I don't know if that's valid and a serd error, or invalid.21:54
falktx_non-compilable text files will always be like that21:54
drobillaIt's very hard to get right, ambiguous mess.21:54
falktx_web browsers can tell...21:54
drobillaWeb browsers dug their own grave with the initial stupid philosophy of "tolerant" parsing21:55
drobillaWeb people in general don't give a damn about implementation burden whatsoever, it's baked into the culture at this point.  Tens of thousands of lines of filthy error-prone garbage to work around every possible way an input can be outright wrong is best practice, there.21:56
drobillarapper parses it, so it may be my fault21:57
rgareuswe need to introduce the "certified LV2 developer" exam :-)21:58
* drobilla gets mad even thinking about the RDF working group21:58
* falktx_ wants a lv2-ttl-certified banner on his plugins now21:58
Anchakordon't worry I'll make RDF alternative this summer :)21:58
drobillaHowever, regardless, best practice in ttl itself is to put a space before your delimiters, which avoids this21:59
falktx_rgareus: do you think it's safe to update to latest a3 right now?21:59
rgareusfalktx_: there was a relase just today.21:59
falktx_rgareus: I'm speaking of that one22:00
rgareusfalktx_: it's definitley better than 3.5.143 (which had some semi-serious issues. e.g. potential buffer x-talk)22:01
wrldrobilla: hey, still around?22:05
drobillaAnchakor: My only real grip with the data model is the "language OR datatype" thing22:05
drobillaAnchakor: Syntax-wise Turtle and friends are WAY too hard to parse and full of arbitrary/redundant/inappropriate SPARQL bullshit now, though22:05
drobillawrl: ...22:06
wrldrobilla: alright cool22:06
wrldrobilla: if you've got a sec i want to see if we can work through some stuff wrt the rutabaga text22:06
drobillawrl: Stack is a bit deep at the moment22:07
wrlalright, no worries22:07
Anchakordrobilla: well there are other inelegant things, and the issue of branding and choice of language and audience focus of the specs, but I suppose you care mainly about syntaxes (which I don't)22:09
drobillaAnchakor: Your hyper extremist dismissal of anything human friendly frankly makes me pretty dubious I'll like what you cook up ;)22:09
drobilla(like, numbers for all IDs)22:10
drobillaAnchakor: Branding/language/audience is the main reason the semweb is a failure though, that's for sure22:10
drobillajson.org is how you sell a model22:10
drobillaThe W3C is like a farce of exactly how to turn everybody completely off of one22:11
drobillaWell, that and RDF/XML, which is a wonderful example of how syntax matters22:12
Anchakorsyntax matters in short term22:12
Anchakorin long term, not so much (hopefully :))22:13
drobillaShort term, like: "this is ugly, I'm not using it"22:13
drobillaWhich makes long term irrelevant, because you're dead22:13
Anchakorbut lets just agree that it matters :)22:13
Anchakoryep22:13
drobillaThat said, model being distinct from syntax is certainly important anyway, but if your standard one is ugly, you're doomed22:14
falktx_rgareus: got 30 secs?22:14
drobillawrl: I can try things, but I can't go through the glacial process of having a dialog while manually tinkering with things22:14
* drobilla is already like 8 frames down from what he should be doing22:15
wrldrobilla: don't sweat it too much. was basically just going to pastebin you some shader code and have you swap out the text shader a few times22:15
rgareusfalktx_: yes22:17
* drobilla discovers he is, infact, using blank node IDs in Ingen22:18
drobillaFFFFFFFFFFFFFFFUUUUUUUUUUUUu22:18
drobillaThough this is problematic anyway because you can't always round-trip serialise that, if it's abbreviated22:19
drobillaNeeds a property.  Clearest name for a sequence number property?22:27
drobillae.g. I send a GET, and receive a reply, both having a matching number means the reply is for that get22:28
drobillaI guess sequenceNumber is like TCP, but a bit wordy22:30
*** HarryHaaren_ has joined #lv222:36
*** HarryHaaren has quit IRC22:38
*** HarryHaaren_ is now known as HarryHaaren22:39
*** edogawa has quit IRC23:37

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