IRC logs

20150202

Logs from channel #fedext on freenode - our official support channel.

IRC log range: 20150202*

20150202

  • 06:53:35 <mrboe> OFFFTOPIC: can anybody help me with a grunt problem?
  • 09:16:44 <xaver> mrboe: nope
  • 09:16:56 <mrboe> ;)
  • 09:24:17 <Xatenev> How do I actually write something like this:
  • 09:24:26 <Xatenev> <button onclick="clickAjaxCall({location.uid}">
  • 09:24:37 <Xatenev> the {location.uid} is wrong somehow
  • 09:24:42 <Xatenev> cause the dot is not allowed or something
  • 09:25:19 <xaver> onclick Oo
  • 09:26:09 <Xatenev> xaver: hm? :p
  • 09:26:54 <Xatenev> I would have some trouble with binding a click event to the element
  • 09:26:57 <Xatenev> so I am using onclick here
  • 09:27:06 <Xatenev> But obv im too retarded to write the syntax for that :(
  • 09:27:55 <Xatenev> Any idea on that? :p
  • 09:29:14 <xaver> why $('area').on('click', 'button.xy',
  • 09:29:21 <Xatenev> Nevermind, it actually works
  • 09:29:50 <Xatenev> xaver: nope, onclick is better for this specific case
  • 09:32:53 <rosieres> Xatenev: nope. See this -> https://fluidtypo3.org/library/code-examples.html?tx_fluidshare_display%5Bgist%5D=19&tx_fluidshare_display%5Baction%5D=display&tx_fluidshare_display%5Bcontroller%5D=Gist&cHash=ca4eb1b45d865196a7e605f6a14f409f
  • 10:13:43 <jmverges> hi there folks
  • 10:13:56 <jmverges> I have a question about serialize realurl conf
  • 10:15:48 <jmverges> I've never used serialization, always a big array, is the serialization a real performance improvement?
  • 10:18:11 <danilobuerger> personally i think it cant be although it says so in the EM from the realurl author
  • 10:18:24 <danilobuerger> why would serialize ever be faster than a real array?
  • 10:19:01 <danilobuerger> (i am talking about the performance of including and using it, not writing)
  • 10:21:27 <jmverges> danilobuerger, I don't know, do you use serialized realurl?
  • 10:23:34 <danilobuerger> yes, but i dont really care for the performance, so i dont make the switch
  • 10:23:58 <danilobuerger> (for that specific performance)
  • 10:24:25 <jmverges> aham
  • 10:24:36 <jmverges> you just serialize the array
  • 10:24:40 <jmverges> right?
  • 10:24:47 <danilobuerger> no i use autoconf
  • 10:24:52 <jmverges> aham
  • 10:25:05 <danilobuerger> which gets serialized in autoconf, which realurl deserializes on read
  • 10:25:21 <jmverges> but, why autoconf always put the pid of the page instead of the title?
  • 10:25:33 <danilobuerger> what do you mean?
  • 10:25:58 <rosieres> that happens if not correct configurend || not configured
  • 10:26:23 <jmverges> I didn't configure the autoconf
  • 10:26:28 <jmverges> never
  • 10:28:15 <jmverges> well, I have other thing in mind, that is more interesting that this realurl shit xD I have a vagrant machine like the one provided by fluidtypo3. I'm trying to configure phpstorm with the phpunit inside the vagrant to run my own UT, could anyone help me a bit?
  • 10:28:44 <danilobuerger> lol... i am out on that one
  • 10:28:48 <danilobuerger> ask xaver
  • 10:28:59 <danilobuerger> he does that vagrant thingie ;-)
  • 10:29:12 <xaver> danilobuerger: hi :)
  • 10:29:13 <jmverges> hehehe ;)
  • 10:29:29 <jmverges> so, danilobuerger you don't work with vagrant?
  • 10:29:29 <rosieres> jmverges: realURL config -> this works for me quite -> https://gist.github.com/githubrsys/29588e47b70368078726
  • 10:30:10 <danilobuerger> no i dont use vagrant
  • 10:30:10 <jmverges> thank you rosieres I have my own config and works nice
  • 10:31:47 <jmverges> hey, did you see https://github.com/helhum/realurl ?
  • 10:31:58 <jmverges> I'm working with it and works nice
  • 10:32:03 <mrboe> hey danilobuerger
  • 10:32:27 <rosieres> jmverges: Did you see -> https://fluidtypo3.org/documentation/contributing/contribution-guide.html -> [CTRL] + [F] phpunit
  • 10:33:30 <mrboe> when i use vhs asset allowMoveToFooter = 1, is there a way to set the position
  • 10:33:36 <danilobuerger> hey xaver and mrboe :-)
  • 10:34:03 <mrboe> because page.includeJSFooter is always insert bevore the vhs asset
  • 10:34:13 <rosieres> mrboe: with depends on
  • 10:34:35 <jmverges> rosieres, thank you, I was reading others but not this
  • 10:35:15 <mrboe> rosieres: i know, but for example powermail inserts the JS by includeJSFooter
  • 10:35:30 <rosieres> mrboe: dependencies was the magic word
  • 10:35:59 <rosieres> ahh now I got the point.
  • 10:36:11 <mrboe> thx
  • 10:36:24 <rosieres> Disable the ts inclusion and add it only as vsh asset?
  • 10:36:26 <mrboe> i worked with dependencies
  • 10:36:40 <rosieres> kk
  • 10:37:27 <mrboe> that is one way
  • 10:37:38 <jmverges> javascript in typo3 extensions, in general is shit
  • 10:38:04 <jmverges> I don't want to be disrespectfull but people is not using namespaces or requirejs
  • 10:38:22 <rosieres> I do always disable every JS from extensions and handle the inclusion myself
  • 10:38:24 <jmverges> so is always $(document).ready(function(){//mystuf})
  • 10:38:33 <jmverges> +1
  • 10:38:41 <jmverges> rosieres, I'm doing the same
  • 10:38:59 <jmverges> or I copy and paste in my provider
  • 10:39:04 <jmverges> and works with it
  • 10:40:58 <jmverges> do you work with requirejs?
  • 10:41:55 <rosieres> nope
  • 10:42:19 <jmverges> did you try?
  • 10:42:32 <rosieres> nope
  • 10:42:56 <jmverges> do you have some problem with it?
  • 10:43:43 <rosieres> nope
  • 10:44:45 <rosieres> But IMHO if you need it you make something wrong :-)
  • 10:44:57 <jmverges> why?
  • 10:45:22 <jmverges> namespaces or require are necessary IMHO
  • 10:46:09 <jmverges> as was working the last two years as javascript "evangelist" with more than 40k lines on charge
  • 10:46:10 <rosieres> it loads js files when they are needed. I had never a usecase where I had to worry about amount of data to load.
  • 10:46:14 <mrboe> Round 1: fight
  • 10:46:31 <jmverges> is not because of that
  • 10:46:32 <jmverges> is just that
  • 10:46:48 <jmverges> everybody with PHP: PSR-2, PSR-3, PSR-4 etc
  • 10:47:00 <jmverges> and javascript is always the last shit
  • 10:47:12 <jmverges> nobody cares about it
  • 10:47:34 <jmverges> generally, php developers hate javascript or is just something that has not importance
  • 10:47:45 <rosieres> As I said. I don't disargue. Just had no usecase for it.
  • 10:47:51 <jmverges> so, is not necessary to have structures
  • 10:48:00 <jmverges> ok, sorry
  • 10:48:21 <jmverges> I don't know how do you say in english "me has tocado la vena sensible"
  • 10:49:17 <rosieres> I just implement my libraries in 1 file or concate them. And another file for my individual functions, which I always only call If I find any element on page regarding them.
  • 10:50:34 <jmverges> " you have touched a soft spot in me"
  • 10:51:08 <rosieres> *LOL
  • 10:51:16 <NamelessCoder> flashback to Spanish classes in school
  • 10:51:16 <rosieres> why that?
  • 10:51:20 <jmverges> I don't know if this expression is correct
  • 10:51:51 <jmverges> talking about how work with Javascript
  • 10:52:06 <jmverges> I'm wondering to make fluidcontent_angular
  • 10:52:19 <rosieres> You've touched my sensitive vein -> google.translate()
  • 10:52:41 <jmverges> but, that makes sense in english?
  • 10:52:42 <rosieres> *lol²
  • 10:52:50 <rosieres> not
  • 10:53:00 <jmverges> and: you have touched a soft spot in me
  • 10:53:06 <jmverges> ?
  • 10:53:26 <rosieres> sounds better :-)
  • 10:53:40 <mrboe> i think i sould google that "soft spot"
  • 10:54:06 <rosieres> soft spot sounds to me something like withing the female body
  • 10:54:10 <rosieres> :-))
  • 10:55:01 <rosieres> \me habha kitkat
  • 10:55:11 * rosieres habha kitkat
  • 10:57:04 <mrboe> had to go - cu guys
  • 10:57:13 <rosieres> bye
  • 11:11:33 <jmverges> Connection timed out, did you read me?
  • 12:03:01 <jmverges> well mates, see you tomorrow
  • 13:43:27 <TomL2> Hi guys! I've run into a problem with the flux grid and some custom content elements which are defined by TSconfig and ext_tables.php from the core elements (Example Button-Element: http://pastebin.com/LzLxakAz). When I add this element into a flux grid column the value for the tx_flux_column is missing in the database. This only happens with my ad
  • 13:43:28 <TomL2> apted content elements, the default elements (text, textpic, ...) are ok.
  • 13:44:57 <TomL2> I've used fluidcontent only for the grid container, the other elements are from the core or a adaption of the core elements via TCEFROM