« first day (600 days earlier)      last day (4345 days later) » 

user895378
12:46 AM
@tereško "ctor" is short for "constructor" ... it's clearly a terrible abbreviation if it's not immediately apparent what it stands for. I'll change it to getConstructorParameters now that you've brought it to my attention.
 
user895378
@webarto nice :)
 
@rdlowrey Unless you are a C developer . . . if you don't know what ctor is, then you are in for some trouble.
 
ajax preloading seen everywhere in sites and etc.. but i lost about 7 hours to find a simple and well explained script for a div loading!

anyone know such address?
 
@W2S It's off-topic here. I know the JS chat room guys can be jerks, but I don't feel like talking JS right now.
@rdlowrey Ping me when you are ready to talk/work. Hopefully I'll hear it :)
Haha, I was reading up on the dv-pls meta question since I missed that action. A part of @Kev's answer caught my eye:
> But what a lot of folk seem to forget is that a large number of developers are working in maintenance mode with code bases that cannot possibly be fixed by a complete rewrite to satisfy the pedantic expectations of righteous few - i.e. stop using global variables.
For a second I thought, this guy is a realist and therefore I like him. And then he suggested that removing global variables was beyond the capacity of even basic developers.
 
1:36 AM
@rdlowrey In Atreyu, the Artax src is supposed to live under vendors/Artax as a submodule, right?
 
user895378
@LeviMorrison just got back from the grocery, sorry.
 
user895378
@LeviMorrison Yeah, about that ... I was thinking of changing from vendors/ to vendor/ for compatibility with php composer
 
@rdlowrey Well, that was a typo to be honest.
I just cloned the repo and can't initialize Artax.
$ git submodule update --init
No submodule mapping found in .gitmodules for path 'vendor/Artax'
 
user895378
@LeviMorrison it may be because I pushed the changes to getConstructorParameters then walked out the door to get some groceries. hold on, I'll check it out.
 
Have you experienced this problem?
 
user895378
1:43 AM
well, that would have nothing to do with git, i guess :)
 
user895378
@LeviMorrison I just updated the repo with the latest artax submodule commit link ...
 
user895378
I use this to make git download all the submodules:
 
user895378
git submodule foreach git pull origin master
 
@rdlowrey My friend, git clone --recursive https://github.com/rdlowrey/Atreyu.git will clone Atreyu and all its submodules. You need to work on your gitfu.
 
user895378
@LeviMorrison you don't have to tell me that, I'm aware of my mediocre git skills ... learning on the go :)
 
1:50 AM
But you've done something wrong when adding your submodule.
It won't clone the Artax repository.
 
user895378
Strange. I'll zap the submodule and re-add it and see if that fixes things.
 
git submodule add GITHUB_ARTAX_URL vendor/Artax should be right.
 
user895378
@LeviMorrison Okay, just removed and re-added the submodule ... should be legit now
 
@rdlowrey It is legit now.
 
user895378
Okay, good. Not sure what I did the last time I added the submodule to mess it up. ANYWAY ...
 
@rdlowrey I'm going to look through the src a tiny bit before I say anything, okay?
 
user895378
@LeviMorrison for sure. nothing (example-wise) will work. I totally changed how the routing works -- so just go over the files in src/Atreyu/Routing
 
Ah, yes, I remember now. If my uri is http://www.mysite.com/users/user25?showFriends=true, then getRequestUri should not return /users/user25, it should return /users/user25?showFriends=true if we want to follow the HTTP vernacular. My suggestion is to follow the HTTP specification.
 
user895378
@LeviMorrison It's my understanding that from a routing perspective, the showFriends has nothing to do with the resource being returned. Please elaborate.
 
$file = 'new.txt'; file($file, FILE_IGNORE_NEW_LINES); is this the proper way to open / read files?
 
user895378
2:03 AM
The resource is user25 ... showing friends is an option that has nothing to do with the Uniform Resource identifier
 
or do I specifically need a string as the first argument of file()?
 
user895378
 
@rdlowrey Gladly. Let's refer to the HTTP spec as defined by RFC 2616: w3.org/Protocols/rfc2616/rfc2616-sec5.html
 
user895378
@LeviMorrison This is what I needed :)
 
The link is to section 5, which defines what a Request is.
Section 5.1:
> Request-Line = Method SP Request-URI SP HTTP-Version CRLF
 
2:05 AM
@rdlowrey but if I'm putting contents into an array, wouldn't I want to use file()?
 
Clearly, the HTTP specification states that everything between the spaces is the Request-URI, which includes the query parameters.
 
user895378
(reading)
 
If we return a string from getRequestUri, then I strongly advocate returning the Request-URI as defined in the grammar.
If we want to return a Uri object, then the issue is whether or not we want that coupling.
(By the way, my network driver on this machine is flaky, so sorry if it takes me a while to respond.)
 
user895378
@LeviMorrison I'm having trouble identifying the part that clearly shows the query string as part of the URI ... I'm not saying you aren't right, I just don't understand which part of the below the query string figures into:
 
user895378
5 mins ago, by Levi Morrison
> Request-Line = Method SP Request-URI SP HTTP-Version CRLF
 
2:10 AM
It will look like this:
 
user895378
And, this is a terrible argument, but why would $_SERVER['REQUEST_URI'] in php not include the query string?
 
user895378
(because obviously core php devs are infallible)
 
GET http://www.mysite.com/users/user25?showFriends=true HTTP/1.1
GET(METHOD) (SP) http://www.mysite.com/users/user25?showFriends=true(Request-URI) (SP) HTTP/1.1(HTTP-VERSION)
 
user895378
Okay, I can get on board with that. I googled around and you're definitely correct.
 
My suggestion is this: have it return the string /users/user25?showFriends=true. We can always make a URI object from that output. If we are fine with coupling the Request object to the Uri object, then we should just return a Uri from the method getRequestUri.
 
2:16 AM
morning
 
user895378
@LeviMorrison How would you feel about breaking out things like a Uri object in addition to putting things like GET/POST parameters into their own objects and using composition to put each of those inside the Request object (making them dependencies)
 
user895378
@Paul morning
 
user895378
@LeviMorrison Where the Request interface extends the Uri interface and a hypothetical Parameters interface?
 
user895378
So you can access everything about the request through the single StdRequest object
 
@rdlowrey . . . Interfaces can extend multiple things?
I've never tried.
lol
 
user895378
2:18 AM
@LeviMorrison I think so. I might be crazy though.
 
user895378
I'm pretty sure I've done it, but I'm going to test real quick with php -a
 
You can definitely implement many interfaces
 
@Paul But that's different than extending them.
 
traits
 
@rdlowrey My syntax checker was okay with ` extends Blah, Brah`. Didn't run it.
 
user895378
2:19 AM
Yes, just verified in interactive shell, interfaces can extend multiple other interfaces
 
user895378
I've done it before, but I just needed to double check that I wasn't making things up :)
 
ok, i was wrong
 
But a Request isn't a Uri and it isn't a Parameter, yes?
 
user895378
@LeviMorrison You're right ... I guess I was thinking more in terms of a Request being compound object composed of different parts ... parameters, a URI, etc ... which would be injected into the Request
 
user895378
So the Request interface wouldn't need to extend the others ... it could just provide getter methods to access them or wrap the composed functionality
 
user895378
2:24 AM
Just an idea
 
user895378
but I'm not crazy about a controller "reaching through" the Request object to get at a composed Uri or Parameters object
 
user895378
Seems like a LoD violation ... which was the original reasoning for a Request that wraps the functionality of its component parts.
 
@rdlowrey I was making an initial Uri class to help me think and I realized it doesn't belong in the Http namespace. o.0 Where to put it?
 
user895378
Oh goodness. I hate naming conundrums.
 
user895378
I have no idea.
 
user895378
2:28 AM
We could just put it in the base Atreyu namespace ... it IS, after all, aiming to be a RESTful web framework ...
 
user895378
So I guess it wouldn't be terrible for it to live in the base namespace ...
 
Bueno.
 
user895378
Going back to the composition of the Request, it might also be entirely unnecessary to inject it with anything other than a Uri instance because automatic instantiation of controllers is so simple (handled for you). If a controller needs access to GET parameters, for instance, it could just ask for a Params instance in the constructor or method signature.
 
@rdlowrey By the way, the name for those parameters should probably be FormEndcodedData.
Or something.
Actually, scratch that.
That's the way the POST request is put together.
 
user895378
@LeviMorrison Your knowledge of the HTTP spec clearly supercedes my own ... I'll probably defer to you in such matters.
 
2:36 AM
@rdlowrey I had to write a webserver. I didn't implement the full spec, but I sure learned a lot.
 
user895378
@LeviMorrison For retrieving what I previously called the "request URI", how about Request::getCanonicalResource()
 
are you guys planning on completely removing the use of $_SERVER, $_POST, etc?
 
@Paul If I can get away with it cleanly, yes.
 
user895378
my thoughts as well
 
in PHP?
 
2:38 AM
unset($_SERVER); should work
 
user895378
No reason to engage in the standard PHP Array Oriented Programming if I can avoid it :)
 
The framework might use it, but I don't want any code that uses the framework to touch those globals
 
why not go to the source with c?
 
user895378
@Paul that seems a bit overkill for my purposes ... I'm happy with just creating representative objects from the superglobals and accessing those instead.
 
user895378
That and my C skills are ~ nonexistent, though slowly improving
 
2:42 AM
@Paul Having used C and C++ to write a webserver, I would recommend staying away from pure C in this day and age.
 
user895378
4 mins ago, by rdlowrey
@LeviMorrison For retrieving what I previously called the "request URI", how about Request::getCanonicalResource()
 
yes, it is definitely overkill. It would be cool having it in the core though.
 
a PHP framework should contain PHP code :)
 
user895378
@Paul This concept popped up the other day ... about how it would be really nice to have some sort of SplRequest in core ...
 
i was talking about changing the PHP engine.
 
user895378
2:44 AM
and maybe SplResponse ... instead of buried in the http extension
 
O_o
 
user895378
(those don't actually exist in the pecl http extension, but better access to the underlying http data does)
 
yes, we can't complain too much though. PHP is quite workable for http.
 
user895378
true :)
 
@rdlowrey You should pull my changes.
 
2:46 AM
hey can someone help me with a issue in C?
 
user895378
@LeviMorrison looking at Uri now
 
Also, what's your vote? Return string or Uri? If we are wrapping it so as to not violate LoD it doesn't really matter how it is represented internally.
 
@nEAnnam You'll have better luck in the C room, or even the C++ one
 
^^ thank you
 
user895378
@LeviMorrison I prefer to represent it with Uri internally
 
2:48 AM
And the part before the query parameter is officially called the path. Yes, even the last bit that traditionally would hold the 'executable' is in the path.
 
user895378
And add Request::getCanonicalResource() to wrap access to Uri::getPath()
 
user895378
Oh, I've been giving a lot of thought lately to value objects being immutable. Basically, A Uri doesn't ever need to change once its values are set. What would you say about doing away with the setters and requiring a constructor to specify the raw strings to populate it?
 
user895378
Of course, we could also leave it as-is, but you carry the possibility that code could change the Uri properties after they've been used to route things, etc ...
 
@rdlowrey I've thought about it as well. Unsure what I think on it as of right now.
 
user895378
2:56 AM
@LeviMorrison Yeah, I've waffled back and forth a bit. Just keep it in mind. For the record, non-object constructor parameters wouldn't affect the Artax Provider's instantiation ... the framework would just manually create the Uri object and share it before any routing or anything happened.
 
user895378
taking a break for a few minutes, gotta catch the end of the Spurs-Thunder basketball game :) back in 15 or so
 
3:16 AM
@rdlowrey The issue I have against the constructor taking a bunch of strings is that either: we have 1 string that knows how to parse a string (which might be breaking some SOLID law), or we have bunch of strings, many of which will be optional. I hate optional parameters in PHP.
Even still, I am inclined to doing these as immutable value objects.
Also, in document block comments, do you use bool or boolean?
 
3:32 AM
php code sniffer is a hungry beast when you have a repetitive error. It just ate my 128M of memory. You definitely need to give it a tabWidth if you indent with tabs and spaces.
 
user895378
@LeviMorrison I've always used bool, but I don't have a strong preference if you prefer boolean
 
user895378
Also, I've started putting function and class braces on the same line as the declaration, which will make you happy :)
 
user895378
@LeviMorrison What about having only the required Uri properties in the constructor for now and removing those setters?
 
@rdlowrey I'm attempting to push some changes now.
Unfortunately having some issues.
 
user895378
@LeviMorrison git issues or other?
 
3:39 AM
git issues
 
user895378
@LeviMorrison Well, if it makes you feel any better I failed to commit the changes from about 45 minutes of work before I did the whole "re-add the submodule" situation and lost a fair amount of work ... annoying. Gotta redo those now -- the routing stuff will change a bit ... just what happens when a 404 or 405 occurs, shouldn't affect the stuff you're working on.
 
user895378
<---- dumb. This is the first time I've successfully lost work using a version control system.
 
user895378
At least I still had the html code coverage report in a browser tab for the main class where I lost stuff. Woot :)
 
3:57 AM
blog post for tomorrow written and scheduled
I am doing something bold: coining my own approach to application architecture
 
user895378
nice
 
user895378
should be interesting
 
yeah, I'm happy with this one...
 
that should be very interesting
 
A new blog post for tomorrow written and scheduled. All I'll say is that it's about #AOA (which is a new term I'm coining, so :-P )...
 
user895378
4:05 AM
Array Oriented Architecture! wooooo!
 
user895378
Oops, was I not supposed to say anything? :)
 
lol
No, I'm not writing a post saying Drupal is awesome
 
user895378
hehe
 
Ok, bed time. Good night
 
I wonder if one of the A's is Abstraction related. Applied Object Abstraction.
good night
 
user895378
4:08 AM
later
 
user895378
@LeviMorrison were you getting some sort of 403 for your git push?
 
@rdlowrey Yeah, but working now.
I figured it had to do with my fault network drivers.
 
user895378
@LeviMorrison strange ... I'm getting the same thing when I try to delete a now-superfluous branch I made earlier
 
Well, I'm done for the night. You can pull my changes when you like.
As seems to be my standard, I didn't even run the code.
 
user895378
no problem :)
 
user895378
4:13 AM
I'll catch ya later, you'll wanna pull my changes before working again as the routing will have changed a bit
 
Probably something wrong with it.
 
user895378
Whatev, it's all experimental anyway
 
Let me know if you like the structure I did.
Good night.
 
user895378
will do. night
 
 
user895378
4:23 AM
I'm certain that whomever invented animated .gifs has their own special reserved spot in hell.
 
@rdlowrey
 
user895378
lol ... gif issues?
 
No
 
hello everyone
 
Hi
 
4:48 AM
i'm trying to make a chat, i would not like to put a submit button, the user will only need to press enter key to submit the form, when a user enters a shift+enter, it will try to append a <br/> or a new line, how can i make this happen?? here is what i come up jsfiddle.net/ctyQZ/1
and its not working :(
 
Sam
inside this condition if(e.which == 13), submit the form, and empty the textarea
 
$(document).read => $(document).ready
 
Sam
what's the purpose of this part if(e.shiftKey === true){} ?
 
if a user pressed shift key and enter it will not submit the form
just append a new line
@paul thanks have you tried it, does it work for you ? i cant get the status of my shift key. i tried it here api.jquery.com/keypress
 
Sam
he meant that your code read $(document).read instead of the proper $(document).ready
also, since the event handler is on keypress, and you plan on pressing 2 keys simultaneously, you need to understand which key,= for which the handler will run
 
5:05 AM
@tomexsans sorry as sam said, I was only pointing out that one error. It still doesn't work.
 
pagination of CI
 
the shift and enter logic is good, but it doesn't seem to want to set your span text.
 
Sam
5:17 AM
 
@Sam yes thank you i will try it,
@sami tried it, and its a good progress. @paul was right, the value of the textarea wont go on the span, but when i used alert(''); it worked
 
@tomexsans display is out of scope inside your keypress function: jsfiddle.net/ctyQZ/13
 
@paul yes i figured that out, thanks for pointing it out earlier. . my problem is how to insert a new line for every shift+enter a user does. .
i'm gonna keep on fiddling
 
@tomexsans probably + "\n" // Append newline character.
 
Sam
what do you mean the value of the textarea won't go on the span?
 
5:29 AM
@Sam, its ok now i figured it out, the value i retrieved from textarea is outside of the function keypress
 
Sam
oh ok....yeah; this var display = $('#textarea').val(); needs to be here :
    if(e.which == 13){
          // submit to form using submit()
          //  somewhere here
          $('span#display').html(display);
    }
 
5:46 AM
1
 
2
 
for($five = 6;;)
 
how to append a newline for every shift+enter key pressed on a textarea?? anyone. . i'm not to good at Javascript . . i'm still learning please give it a try jsfiddle.net/ctyQZ/22
 
Sam
is this the geeks' version of the wave? :P
this should work : pastebin.com/2sWY4Vta
 
6:08 AM
"This website/URL has been blocked until further notice either pursuant to Court orders or on the Directions issued by the Department of Telecommunications" .. for pastebin :|
 
pastebin is ok here.
 
6:26 AM
India
 
Sam
pastebin has been blocked in India?
 
yeah
 
Sam
any special reasons why?
 
passwords and disclosures happen there ..
 
Sam
lol.....developers paste their passwords on pastebin, and the site is censored? wow
 
6:30 AM
many other sites have been blocked ( vimeo , all torrent sites )
 
Sam
what's the deal with vimeo?
 
donno..but its blocked
 
here in the Phil, our department od telecom has no care whatsoever. hahaha
 
but vimeo might have been restored..
similar was the thing in India..but recently they are getting involved
 
Sam
I guess technology is always blamed for people's mistakes
just great
 
6:34 AM
@tomexsans Canada doesn't care too much either, so it appears.
 
Yup, and especially if the Gov't can't make money out of it
@sam
 
The states blocks us from syndicated television productions, otherwise available free on the web, but they do that for all nations
 
Sam
yup
 
7:05 AM
hello all
 
7:16 AM
morning
 
morning
 
7:34 AM
i'm tryin to install this color picker plugin on notepad++, this is such a nice plugin, anybody know how to install this?? it has no DLL .. and no instructions
 
happy new day everybody!
 
ok i made the wrong download, i downloaded the sourcecode and not the DLL file hahaha stupid me
 
hiya @hakre
 
Hi @RepWhoringPeeHaa, what's cooking?
 
Sam
Morning
 
7:38 AM
@hakre nothing much. Just annoyed at all the magic stuff that's happening in the code I'm currently working on in the office
 
You can do magic, you can do anything that you decide, MAGICC
 
@RepWhoringPeeHaa You mean overnight ninja changes?
You should suggest the office to use git to versionize the code.
 
Is the following possible using CSS animation? Have an image's position (or a background-position) to have 2 separate animations, one on the vertical axis, and one on the horizontal?
The point is to have some sort of sine wave, which is faster vertically than it is horizontally
 
7:53 AM
@hakre I'm talking about the kind of magic like my colleague introduced a new module. Of which the code is freaking impossible to follow :(
@hakre And I have to use svn here. :'(
So basically I'm double screwed :P
 
@RepWhoringPeeHaa Did you know that git comes with SVN client? They use svn you just git it ;)
@Truth the x any y position of the background can not be separated, so I'd say the animation won't work with one background (if you can not pre-calculate it / sync it). You could put two elements into each other and then move the one inside the other.
 
@Truth Let me know when you start to parallax scrolling in CSS ;).
 
Firstly, I need to find me an infinite scrolling image
 
posted on June 07, 2012 by Henri Bergius

This is a liveblog from the Symfony Live 2012 event, and will be updated as the conference progresses. You can also follow the #Symfony_live Twitter hashtag The Symfony Live event is held in the old Cite Universitaire building in Paris. While tomorrow the RER strike will make things slightly more complicated, more than 600 developers have made it here. First session of the day was Fabian Po

 
Needs to be a landscape :)
This'll do
 
8:22 AM
@hakre Did not knew that no.
 
Today I need to maintain a software and extend it that I touched 3 years ago last time? And that was only for a short maintenance and it was coded like 10 years ago?
So if you find me in a bad mood later on, don't be worried too much.
 
8:36 AM
@Truth I use 360* for my site, which I never finished webarto.com ask me anything :P
 
Remember the wobbling example from yesterday @webarto?
I want to add a horizontal movement for it
slow, infinite advance of the image to the side
 
@Truth @webarto just asking is this purely css, or has a touch of javascript??
 
Purely CSS
dabblet doesn't support JavaScript
Not sure about his site though
 
wow, this is great, i think i'll add this to my "to-learn" things :)
 
0
A: PHP Cut unknown file extensions

hakreTake care that glob('*') works differently on windows and linux (compare with answer). Use DirectoryIterator instead if you want a more stable code. Also that one provides the needed functions already to process the file-extension and wont break - as in this example - when a file does not have a ...

 
8:51 AM
Hi has anyone had any experience with the facebook oauth api?
 
@RichardHousham Some of my friends have had some contact with it, you find the list and their issues here: stackoverflow.com/questions/tagged/facebook-oauth
 
Yeah - I've been reading them and I'm having trouble getting my head round it.
Could you help maybe - previously we got a access token from facebook and then we stored it and used it to post to their facebook page. All was well but since they have depreciated the offline_access thing I'm now just confused. There are questions like this http://facebook.stackoverflow.com/questions/8982025/how-to-extend-access-token-validity-since-offline-access-deprecation
and indeed my own and some talk about an extended token - do you know what is the current state of affairs and even how make it work properly with the api base_facebook and all that?
 
Actually oauth is specified. And Facebook is massively popular. PHP SDKs exist. I can not imagine that there is any question left unanswered on the site out there. But I'm deeply sorry with you that you actually need to waste time of your livespan - even if it's only your professional career or for private leisure - with Facebook.
Facebook tries to turn your relationships into a grid that is easily consumeable and for the fun of others.
 
Thanks I think I'm starting to understand it's just turning into a pain
 
Hi guys. Do you have any preferences on PHP site/app directory structure?
 
9:04 AM
@RichardHousham Sure everything Facebook turns into pain.
 
Like app/ lib/ www/ /doc
I'm wondering why we aren't naming app/ src/ like most other languages
 
@Znarkus To what do you refer to?
And @LeviMorrison made a suggestion here: github.com/morrisonlevi/PHP-Tutorials/blob/master/…
 
@hakre I've been trying to create "my perfect structure/fw" lately
Just trying to get some input
And as I asked above, it just hit my, why "app/" and not "src/"
 
@Znarkus src is commonly referred to source. PHP is not a compiled language so perhaps that analogy is not that common. However if you take a look at the various libraries that exist, the good ones have a src directory and a tests directory.
 
Yes
 
9:14 AM
So I won't say it's not uncommon. Perhaps not common for applications because they make use of libraries and are mostly glue-code.
 
But many fw use bin/ for cli scripts
 
and?
 
Eh nvm
 
1
Q: Can I close a file by unsetting the handle?

hakreI'm a little puzzled if I can spare the fclose command by just unsetting the variable that carries the handle? $handle = fopen($file); ... fclose($handle); ... // script goes on for a long Compared with: $handle = fopen($file); ... unset($handle); ... // script goes on for a long Insights...

 
That makes sense
 
9:15 AM
okay ;)
 
@hakre But what do you think is logical to put in app/ ?
 
Refused to display document because display forbidden by X-Frame-Options.
 
@Znarkus non library code perhaps.
 
Any idea why this comes?
 
@hakre But not configs, db, data, docs and anything else that is app specific?
 
9:17 AM
@ShyamK website configuration via response header, see developer.mozilla.org/en/The_X-FRAME-OPTIONS_response_header
@Znarkus that could be subject to argue I'd say. I assumed you were talking about code only.
 
@hakre I'm trying to find a project directory structure that is flexible yet simple enough
*find/create
@hakre What's your preferences?
 
Hey guys!
 
@Znarkus wow, that heavily changes (it depends). First of all my preference is to use git to have the project under version control. that allows to change things later. Then the root directory should not be crowded too much, following a package principle here.
Also it's easier if you have files already in a subdirectory as if you need to move them from the packages root into a subdirectory later on.
 
9:33 AM
do anyone have idea about gzip?
 
@hakre Why would that make it easier? And why does using a vcs make it easy to change structure?
 
0
Q: gzip not working on internal css and javascript

uttamI followed this link to gzip my php driven website It's working fine but what happened is I checked my website in this link http://gzipwtf.com/ and as well as checked it in web developer toolbar in mozila whether css and javascripts are gzipped or not, I found only external css and javascripts ar...

 
your question in this form cannot be answered (if you are not psychic)
 
9:51 AM
Hello every one
any one use Knet payment gateway before
 
10:05 AM
@Znarkus It's easier to move a file from one subdirectory to another than moving from root into a subdirectory. A VCS allows you to refactor your code safely.
 
Hmmm
Looks like Coyer started hosting his screencasts on YouTube
It's about time, 111 large videos is rather heavy on any normal server
 
lol steroids for web developers,
 
10:32 AM
Any Twig users here?
 
@Eugene Hi Eugene! Not a pro, but please ask ;)
 
@hakre hey. Well my question is simple stupid. As I know === this comapres two variables for save value and type, but in twig documentation it describes something completely else twig.sensiolabs.org/documentation If I'm right.
 
any idea how to get rid of that error I mentioned earlier?
`Refused to display document because display forbidden by X-Frame-Options.` error
 
@Truth looked at the page he opened for jade and just
The amount of code produced on jade is almost equal to amout of html code on other side. Then what is the point?
Sure there are some condition statements and variables, but is it really so much better then plain html combined with diff. technologies (css, javascript, etc.)?
 
10:47 AM
@Eugene Don't you mean ?
 
XD Sure.
 
I'm starting to get mixed in with preprocessing
So I viewed the screencast for the SCSS
But yes, you're right, there's no need for a HTML preprocessor, at worst, you can use some PHP to do some magic
 
@Truth I agree, SASS is a great tool, using it everywhere now, also the Twitter Bootstrap port to SASS, and html preprocessing is kind of an akward idea... IMO
 
@Truth Don't use the server, use the client. And do your tags, not their tags. It's all so angular.js - HTML enhanced for webapps
 
@Truth my point exactly.
 
10:50 AM
@markustharkun I never got this twitter bootstrap thing
 
@hakre any response to question about Twig?
 
You add a multitude of unsemantic classnames like .style6 or .button2_3 and work with that?
 
@Eugene Yes just saw. What do you wonder about, the semantics?
@Truth SASS like LESS twitter bootstrap is with LESS. LESS makes you write less CSS so easier to manage your CSS files.
 
@hakre well, would that sameas do same as === or as it said there checks if a variable points to the same memory address than another variable:
@hakre +1
 
@hakre SASS and LESS have the same goal, I analyzed both for quite some time and came to the conclusion, like many others, that SASS is better
 
10:53 AM
@hakre I know what SASS and LESS are
but what is twitter bootstrap?
 
@Truth A preconfigured website.
 
@Truth What type of CSS3 fallbacks do you use?
 
since Twitter Bootstrap uses LESS and I don't like to adopt LESS parallely to SASS, I was happy to find a port of TB to SASS on github which is only a day or two late with the versions
 
@hakre In which case, it's exactly what I thought it is
@Zundrium I generally use browser detection and graceful decredation
 
@hakre it can be that, but that's not it's real purpose
 
10:55 AM
If something can be done with CSS3, awesome, if not, jQuery, if not, not at all
 
@Eugene I'd say it's like === however twig not PHP. Let me check sources.
 
Haven't been using CSS3 for critical features yet (layout etc), but instead, enhance already functional web-pages with extra eye-candy.
@hakre Than it's like I said it is, a simple framework(?) with many non-semantic class names
That's at least, what I see from questions on Stack Overflow
 
Is there a general JS fallback plugin for CSS3? That would be sooooo usefull.
 
Or am I not understanding it at all?
 
@Truth Twitter Bootstrap is a collection of standard compliant, HTML5 / CSS3, cross browser, high quality style sheets and jQuery plugins, it additionally offers a nestable 12-grid system
 
10:57 AM
@Zundrium Nothing general that I know of, but you can use Modernizr.com for feature detection
 
@Truth I'll check it out, thanks.
 
@markustharkun Do you have an example of use?
 
@Eugene It's ===, see raw in github.com/fabpot/Twig/blob/master/lib/Twig/Node/Expression/… - the compilation is to PHP.
 
I've seen classes like .button4 or .style6, that doesn't seem very robust and standard complient
 
@hakre awesome. I guess there should be a change made to description.
 

« first day (600 days earlier)      last day (4345 days later) »