« first day (280 days earlier)      last day (3508 days later) » 

2:00 PM
@Mr.Alien i did state that i think like that because of bootstrap (i think its bootstrap)
 
I know that that's not so literal; But let me ask you this: how long since you used <i> to make stuff itallic? (or wtv the behaviour of I referrs to cause I havent clicked @SomeGuy's link)
 
long time for me
 
it's the same for <b> I know <b> is for bold though I still use <strong> instead. why? Semantics, pure semantics.
Anyway. get back to key-tapping
 
I used <em> / <strong> since they existed and I learned of them
 
2:04 PM
@MoshMage I use it often, it is better than people, who are over obsessed with CSS and I've seen them using
<span class="i">This is italic and I am crazy</span>
 
Hahaha
 
.i {font-style: italic;}
 
@Wes Lynyrd >
 
.i {
    height: 1em;
    transform: skew(5deg, 5deg);
}
the only real way to italicize
 
lewl
 
2:09 PM
 
@MoshMage nah, its cool. At the same time I am arguing about the <i> element I am using the checkbox hack :D
 
@SomeGuy lol
@SomeGuy that linked me to this:
 
@rlemon lol
 
Hey, at least we all agree on one thing, Dreamweaver is bad, right?
 
It's my favorite IDE what are you talking about
 
2:17 PM
@rlemon also I apologize if I came across like an ass, or as you put it stuck up brit.
 
@mikedidthis What the hell are you saying?
Dreamweaver is bad?!
 
Dreamweaver is the shitz
all the cool kids use it
 
position: absolute all the things.
 
I reject people who uses dreamweaver in my company
bloody I asked whats the hex of black and he goes for a color picker
 
@Mr.Alien what about me ? :(
 
2:19 PM
"Will you marry me?"
"I'll answer that, but tell me if you use Dreamweaver first."
2
 
@PatsyIssa don't tell me you don't remember base hex
 
What is hex ?
 
lol
 
^ hacks, but evolved to leet
 
Hex is Lex Luthor's brother
 
2:19 PM
"Are you coming to bed honey?"
"Not yet, I am nearly finished this layout in Dreamweaver!"
 
did I just answered wrong because it was bootstrap? I just realized
 
@SomeGuy his good brother, irrc.
 
*with this
 
I love sublime
 
what color scheme do you use ?
 
2:20 PM
@Mr.Alien no, I think you are right. table-cell needs a wrapping element
 
OP doesn't seem to be asking for bootstrap
 
@Mr.Alien Why did you have to ask someone for the hex code for black anyway? :P
 
@mikedidthis haha nahh it is cool. not everyone agrees. :P
and "stuck up brit" was a joke
 
@rlemon yep that is the beauty / pain of the web, there is no one way.
 
@SomeGuy I told him to color black, he went for colorpicker, I said wait, write the hex and he was like I don't know
 
2:21 PM
user image
3
 
github.com/chriskempson/tomorrow-theme <<<< best color scheme for sublime imho, i use the bright one
 
@mikedidthis I read bootstrap so I thought the op threw a demo but was asking for bootstrap, so got lil confused there
 
I use Twilight or Mac Classic
 
Check out the one i linked
 
I have
 
It's good, but I prefer the ones I already have
@mikedidthis Ooh, that looks good
I like Carbonight too
 
@SomeGuy its lovely. Before that I was all about Cobalt2: github.com/wesbos/cobalt2
 
does everyone use Sublime or what?
 
I think so.
 
I like Twilight theme
 
2:24 PM
Yeah, I use Twilight when my monitor settings work right
 
maybe i'll tackle sublime today
 
@rlemon Which editor do you use?
 
VIM / n++
 
@rlemon net.tutsplus.com/tutorials/tools-and-tips/… check this out as well
b/w sublime has a vim mode
 
I have ST3 installed
just never use it
 
2:25 PM
I am still on ST2.
 
you can turn on vim mode in sublime, you won't miss a thing
 
I just love the package support.
 
Yeah, I'm on 2 as well
 
@PatsyIssa I use monokai
 
Didn't upgrade because I'm not really interested in the new features
 
2:25 PM
ive been told 3 is a great improvement
 
I use webstorm :O as IDE
 
(by someone who actually uses Sublime)
 
it's still in dev though
 
it is stable (so i'm told)
 
Yeah, ST is always in dev.
 
2:26 PM
@MoshMage I avoid full blown IDEs
 
Yeah, Sublime's always been stable while being in development
 
(personally) they get in the way more than they offer assistance
 
Yeah, I used Sublime when I was doing C++ as well
Sublime is great that way. It has build systems too
 
^ that.
 
with vim you have THE POWER OF THE CONSOLE
ultimate power!
 
2:27 PM
Same with sublime, it has a console.
 
with sublime you have the power of vim + cool features :P
 
yeah, I do too normaly; but they gave me a license and everything and i was like "well, why the hell not?" and I kinda like having my node/forego console connected to it -- but thats abou all I like in it;
I tried sublime (after using notepad++ for a few years) but didn't get accostumed to it so I went back to np++
 
I'd use vim if I could get used to it
 
@SomeGuy it blows my tiny little mind.
 
@SomeGuy code remote
you will have to get used to it
 
2:28 PM
I don't feel comfortable using a text editor in terminal
 
(how I did it)
 
/away
 
@SomeGuy how do you ssh and mod your files on server ?
 
I use nano because I know some of it
 
I do a lot of remote coding over ssh
 
2:28 PM
@PatsyIssa I don't have a server :p
 
that makes sense :P
 
Ghah. I need to leave this chat - you guys are too interesting and I can't code.
 
hahahah
 
@SomeGuy get one, I just bought one few days back
 
@MoshMage We could ban you :P
 
2:29 PM
@rlemon but you are a boss. You manage to help people in chat on your mobile.
 
the ultimate /part x)
 
@Mr.Alien Don't need one yet. I will when I actually start doing stuff that needs a server
 
get your portfolio online, now that needs a server :)
 
Not if it's hosted on Github :P
 
@mikedidthis it is a struggle
i hate mobile chat
 
2:32 PM
@PatsyIssa Don't you use FTP for that, though?
@rlemon They should be adding it to the StackExchange app soon, right?
 
@MoshMage the story of my life.
 
ftp is for scrubs :O
 
@rlemon it is. The fact you can't ping is totes annoying.
 
@SomeGuy coding on mobile is hurd
@mikedidthis yea auto complete NEEDS to be there
 
Yep.
 
2:33 PM
And contextual pings
 
@PatsyIssa you down with sftp? Yea you know me! I'm down with sftp! on every last copy.
now I have Naughty By Nature in my head
I blame you
 
ahhahahaha
Worship the eunuch :D
@rlemon familiar with digital ocean ?
 
setting up sftp was a nightmare but got it working :P
 
2:36 PM
hahahahahahha
 
@SomeGuy github is public, anyways you will have to pay to make it private
 
bitbucket is free
 
@Mr.Alien My portfolio would most likely be open-source anyway
 
never heard of that ^^
 
bitbucket gives you free private repos
 
2:38 PM
@SomeGuy hmm, I showcase cms so can't drop the source on git, though am looking forward to build one, but I don't get time
 
you pay per collaborator
 
000webhosts
 
@Mr.Alien Yeah, that makes sense. Mine will be HTML5 games that I'll be keeping open-source anyway
And the ones that aren't open source, I can just link to at wherever I host them
 
my portfolio is open source
 
@rlemon that sucks totally, used that for a year. 90% of the time your site is down
 
2:39 PM
rlemon.ca <- right click > view source
 
Hahaha, yeah
No official license, though
 
@mikedidthis thanks btw for pointing me to purecss.io
 
@rlemon been showing your portfolio to my bosses to convince them that giving me experimentation time is worth it :P
 
it is my goto over bootstrap now
 
Oh, what happened about the dude who was selling LeMeme?
 
2:40 PM
I sent him a DMCA takedown notice
he/she stopped selling it without attribution
 
@SomeGuy if you want you can use web sockets to protect the source by generating random session id
 
(they can sell it with attribution and original link backs)
if someone is stupid enough to buy it even though the linkback is to an open source project. so be it. I can't control that
 
@rlemon once you put things on the internet, think that it's stolen anyways
 
this was an open source project someone had removed my name from and was selling as their own
I understand it will be used.. but fuck people selling without attribution
 
tried adding wordpress page to menu... it hangs.
what the fuck
 
2:43 PM
 
@rlemon That'll be $200/hour
 
hahahaha
 
@rlemon Hahahahaha
 
#beach, #tan
 
@rlemon that depends on dev, if you see any of my answers, if am sharing support chart I credit MDN for that, where as some just steal my answers without even crediting, just yest I pinged one dude for doing that, but I don't expect people to stop stealing
 
2:44 PM
@Mr.Alien Your answers on SO aren't owned by you
 
@Mr.Alien yea this was different. They forked the project. JUST removed my name as credit and then were selling it on online forums (no support, just the code) as their own project
 
@SomeGuy correct, but its always nice to point to the source of your learning.
 
@SomeGuy you are correct. everyone on SO (including display pics and any uploaded pics) are licensed under the CC
damn SO footer. I find myself calling it the "Creative Commons Wiki" now.
no clue when that started
s/everyone/everything/
walks away
 
@SomeGuy Wrong..
@rlemon yea, I heard that, it was lame, but again, other developers should understand that, I rememeber quiet well, I used responsive file manager for my CMS, I had a talk with the owner first that I will use it for commercial purpose, if it earns me money, I will donate u
 
nahh this chap just stole it :P full blown stole it :P
 
2:50 PM
@SomeGuy some users steal fiddle of other users, I have flagged many times, no issue if you post an answer, crediting someones efforts are worth always
 
I sent DMCA takedowns to the people he/she sold to as well. some took it down, the others did not.
 
@rlemon dmca suck balls, are their notices that effective?
 
it is a scare tactic
unless I am willing to press charges it means nothing
but not everyone sees it that way and some people comply
 
@rlemon hmm, asked mike few days back, even his templates get pirated..
 
@Mr.Alien Yeah, just came across that.
 
2:53 PM
even if it's not a rule, we should be generous enough to write a credit note always.. :)
 
pfff anyone ever made a Facebook app before to share + like your page?
 
yup
@DarkAshelin need a server with an ssl certificate or use heroku step 1
 
@PatsyIssa got the first
I'm struggling with the like&share
 
@SomeGuy answered here few months back, code is like just 5 line, could have easily copied, but this is shame to say that I've seen most of our indian guys stealing codes and fiddles :P
 
2:56 PM
the point is that the user must like + share and then he will be presented with a coupon which he can print
 
ohh need the api then
 
yeah but the api has been removed or something? since yesterday?
can't find it...
 
using the php or js one ?
 
idc, whichever works
just can't find any documentation on how to do this with api
 
2:57 PM
anywhere, it's like it vanished
beh why didn't I see that
reads
 
I ll be working on it tonight, to check out the changes and such
implementing it in a site, tomorrow should know what changed and all that blabla
 
how can i hide my side bar on my parallax page?
whats the best way?
 
display:none; ?
 
@apples display: none;? or if it's fixed, than -left or -right?
 
3:01 PM
Indian finally
 
hahahaha
indians taking over :O
 
@Mr.Alien its fixed
 
@PatsyIssa yea :D @apples left: - whatever
 
First SO chat now microsoft, tomorrow the world !!
 
how can that be used to hide it?
 
3:03 PM
Still miss Ballmer, that guy knew how to get excited.
 
I can only think of two indian CEOs?
Adobe/MS?
 
@mikedidthis DEVELOPERS!
I think he was on coke
 
@SomeGuy if I had his money... :)
 
Oh, by the way, you should read The Republic by Plato
Socrates is an interesting dude
> Don't be such a cunt. - Socrates
4
 
personally I feel microsoft just lost it's way after w8
 
3:07 PM
@Mr.Alien w8 rocks!
 
@PatsyIssa thank you very much for the link, I dunno how I missed it before, but it's exactly what I was looking for
 
@apples I feel it very very uncomfortable to work with
 
@Mr.Alien well i have a touch screen laptop so that's one of the resons i like it. and i can sink it with my surface.
 
@DarkAshelin np hit me up if you need anything
 
Hi can I ask questions here?
 
3:13 PM
ofc
 
I have a webpage and it uses a php function to generate a drop down menu and then I want a javascript function to take the dropdown menu ID and modify it's values
 
@PatsyIssa we need your room description now
 
and I think I can't now because I try to run the script function after the php function but I guess the page hasn't finished loading and so the function does nothing
 
@EwokNightmares stick your javascript at the bottom of the page, just before the closing </body> tag.
 
@EwokNightmares i had this question the other day use jquery see here if thats what you looking for
 
3:15 PM
@PatsyIssa sharing is done through FB.ui(method: 'feed'), but what about liking?
 
well the html generated is actually from a php file and being inserted into a div from a innerhtml response thingy
so I can't put it in </body>
maybe my design is just disorganized too much
 
oh nm then
 
@EwokNightmares if its not inside the <body> tag, where is it :D
Example maybe useful?
 
it is a webpage with a form, and then when the form is submitted, it will reload with the POST data and it will call a javascript function and this function sends a new php website inside the body of the webpage
so it is being put inside the body
so it must be immediately before the </body> to execute the script on itself?
 
your script must be after the markup you want to alter.
 
3:25 PM
@mikedidthis I satisfy that condition
it is confusing because the function can be called and works if I make it called on a event after the webpage is loaded
 
@EwokNightmares then you will need to show an example, as that should be enough
 
ok it is a giant mess so I will try to make an example with just the skeleton of what it does
 
@Purify Skype chat?
 
.is-degree::after {
  content: '\02da';
}
happy mike
 
@PatsyIssa lemme know when you're here
 
3:27 PM
@Will I'm at work at the moment.
 
ARE YOU FUCKING HAPPY NOW?!>?!?*
 
@Will can type though.
 
yeah I meant typing
 
@Mr.Alien lewl :P
@DarkAshelin sup
@DarkAshelin it was something like og.likes let me check
 
@DarkAshelin o/
 
@PatsyIssa yeah I was looking at that but it doesn't seem to be jquery?
 
method: "og.like"
in the end you're talking to the api, language you use is irrelevant
 
doesn't work
 
@EwokNightmares thanks
@rlemon eat a dick.
7
 
sec let me get the correct endpoint
 
3:34 PM
lemme test some things
 
@mikedidthis only works if you can find it first. :hands mike magnifying glass:
 
@rlemon haha :D
Anyone know an alternative / way?: gist.github.com/Ralt/8805241
 
I'm just trying to figure out what arguments the og.likes action needs
 
@mikedidthis ok
sorry if this is hard to follow pastebin.com/sLwrM2Zr
 
hahahaha best thing I saw on reddit last night. some comment from a NSFW video "yea the guy is just <strange stuff with poop> and he has a really small penis" > "This comment just ruined my day... his penis is about the same size as mine"
@SomeGuy @mikedidthis ^^
i'll see if I can find it
 
3:36 PM
Hahahaha
 
it isn't exactly all code if you can tell where I just write it out what it does
the very last part "then calls javascript function to act on generated html" is what I'm asking about
 
Hey everyone. I am trying to add max-height to a container to make it fill the remaining height. Could someone take a look why it does not work? jsfiddle.net/SRyBq
 
@EwokNightmares whats the error?
 
@mikedidthis it does nothing
the script call to the function does nothing
but it will domsething if I call the function from an event after the html is generated
 
ahh, then I am lost. I would maybe ask on the main site, or give a live example?
 
3:40 PM
what's a live example?
 
an example of the html / javascript on a server?
 
@mikedidthis oh I don't have a server
:/
i will ask on the main site thank you for looking at this
 
You could try the PHP room?
 
ohh php
 
3:42 PM
@rlemon php :(
 
but it looks like he is asking how to call the js?>
I really don't follow the question at all
 
@rlemon he has some js he wants to interact with his php generated html.
I think
 
jQuery('all of the things!');
2
 
@rlemon you have spent too much time in this room :D
 
i have a javascript function and it calls 1 php file to generate it's html and put it inside another older php generated html and then the newer one calls another javascript function at the end to modify it's html it just generated
 
3:47 PM
@mikedidthis window.jQuery = jQuery = $ = document.querySelectorAll.bind(document);
@Will how's placedoge coming?
 
@mikedidthis do you think my organisation is bad?
as in maybe there is a better way to do it all
 
Just talking over it now. Going to do some when im home. This I might add another URL param to either have text on the image or plain images. @rlemon
 
@EwokNightmares I don't know. I just know that all javascript should be after all your markup, if you are planning on manipulating the DOM.
 
what is the issue? why can't you do what it is you are trying toi do
@mikedidthis eh, not always
correction libraries (modernizr) and frameworks should be loaded first.
 
@EwokNightmares @rlemon taught me javascript, so he maybe best to help
@rlemon better?
 
3:50 PM
uuuuuurgh
 
@mikedidthis yup :P
 
@rlemon No issue just not got to it yet. (Not sure if you were talking to me)
 
if you give people hard rules you'll see modernizr loaded in after the fact and display 'jumps' on page load.
@Will that was for Ewok
 
haha ok
 
3:51 PM
@rlemon I have a php file and it contains a form. When this form is submitted, it reloads the php file and within the file it looks at the form's post data. if the data is correct, it then calls a javascript function that does innerhtml respons on a div inside the body of the php file's html and loads a new php file into this div
 
@DarkAshelin do you need a hug? I think you need a hug... EVERYONE HUG @DarkAshelin!!!!
 
then that new php file at the end calls a javascript function to change the values of a drop down list that it created
 
okay so what is the issue?
 
the javascript function is not doing anything
 
let me see it
inb4 delegation
 
3:52 PM
it works if I let it be called by a event within the html after it is generated
but not if I try <script>myfunction();</script>
 
well I can guess, or if you show me your code you are working with I can help :P
 
is that good enough? i tried to make it short and readable
to give the idea
the specific code to call the function is just like this at the end of the 2nd php file: <script src=\"weeklyupdate.js\"></script><script type=\"text/javascript\">setSunday('calcheckstart', '".$startTime->format('Y-m-d h:i:s')."');</script>
 
generates html
then calls javascript function to act on generated html
you didn't include the code you are actually having issues with?
 
@rlemon there it is, I just put it here
<script src=\"weeklyupdate.js\"></script><script type=\"text/javascript\">setSunday('calcheckstart', '".$startTime->format('Y-m-d h:i:s')."');</script>
that's within php
 
okay so you have a page -> it loads -> cool
then you have some ajax function return more HTML to the page yes? cool..
then you have some JS that you want to manipulate the new HTML you just put into the DOM yes?
 
3:55 PM
@rlemon yes
and that JS call is within the ajax function that returned more html
 
okay the code you've shown me doesn't allow me to help you then. I need to see the JS code you are using to call on what HTML, and where you call it / use it
    var xmlhttp=new XMLHttpRequest();
    xmlhttp.onreadystatechange = function()
    {

            if (xmlhttp.readyState == 4 && xmlhttp.status == 200)
            {
                    document.getElementById("divID").innerHTML=xmlhttp.responseText;
            }
    }
    xmlhttp.open("GET","runNewPHPfile.php?mon="+mon+"&d="+d+"&y="+y+"&h="+h+"&m="+min+"&ampm="+ampm+"&name="+name,true);

    xmlhttp.send();
this only tells me you are loading in the new HTML
 
would you like to see the php file that is being called in the xmlhttp.open()?
 
yes, and the JS code
<script src=\"weeklyupdate.js\"></script><script type=\"text/javascript\">setSunday('calcheckstart', '".$startTime->format('Y-m-d h:i:s')."');</script>
this doesn't tell me anything
weeklyupdate.js contents might be helpful
also WHERE are you calling it from
and when
 

« first day (280 days earlier)      last day (3508 days later) »