« first day (749 days earlier)      last day (4198 days later) » 
01:00 - 16:0016:00 - 23:00

1:45 AM
hey
hey got a Jsfiddle here, how would I make only 1 content (web design or graphic design) appear at the very beginning?
right now both load at the same time, but I want only 1 to appear, so that when the user clicks on a button the content swaps. Basically the code will be used to toggle between registration form and login form
I got the code to work so far but just the issue about "both showing at the same time at the beginning"
@ThiefMaster , hey how are you? Thanks for helping me out last time
 
oh .. another horrid jquery thing ... good .. i can ignore it with no regrets
 
hey whats wrong with it? got a better solution?
 
2:05 AM
well solved it $('.website-design').hide();
 
 
1 hour later…
3:12 AM
6
what exactly did I do wrong with the code hereß
this is the JSfiddle which works jsfiddle.net/8jsQ8/55
 
8 hours ago, by rlemon
We never, I repeat: NEVER!, link w3schools in the js chat room.
 
oh
ok well ryan then how to I wrap that code in an onload in dreamweaver?
I tried the way w3schools explains but no success
 
In Dreamweaver?
 
and I know this is extremely easy and basic, not sure what im missing
 
... by editing the source code?
 
3:15 AM
well I use notepad and dreamweaver for making sites
and the JS code doesnt work there as it does in JS fiddle since it uses a inbuilt onload framework
 
@IvoWetzel 2 years. that's crazy
 
so my question is how I would wrap this in an onload:
$('.b').hide();
$(document).ready(function(){
$('#a').click(function(){
$('.a').delay(500).fadeIn(500);
$('.b').fadeOut(500);
});
$('#b').click(function(){
$('.b').delay(500).fadeIn(500);
$('.a').fadeOut(500);
});
});
 
lol jqueery
 
@Demorus That's what the $(document).ready() is for
 
ok so thats what I missing
 
3:55 AM
@Demorus dont end up calling it
 
4:45 AM
Is there a top limit
on number of fonts a page can fetch ?
idthink so but chrome is making me feel so
 
Hello, what is the javascript equivelent to the .net speech recognition library?
 
5:42 AM
I FRIKEN DID IT
got wkpdf working ^^ with google fonts
never thought chmod can be so helpful :-|
 
6:10 AM
0
Q: UI : Progress bar animation review

DNamtoI'm developing a progress bar in QML. But the working is not working for all parameter values. Its more bit of logical issue in UI Requesting everyone to review it. below is the code snippet import QtQuick 1.1 Rectangle { width: 800; height: 480 property int indexCurrent: 0 prope...

 
6:23 AM
we can do this until we pass out
 
6:50 AM
Hey, can we do `$('script[src^="http://site/static/js/script1"]').attr('src','').html("alert(1);")`

to replace `script1.js`'s javascript content with `alert(1)` ?
@Abhishek please answer my question?
 
7:48 AM
 
8:27 AM
hey anyone knows about cross domain ajax
i did so much resarch
but couldn't find any solutions
hello anyone dere ?
its really serious problem for me
i stucked here more then two days
i need to fix it
i have also tried
window.domain = "mydomain.net";
but still hanged
 
 
1 hour later…
9:32 AM
Dafuq happened?
 
9:49 AM
@Zirak u there?
 
Hello Guys
 
room topic changed to JavaScript: If you have a question, just ask it. No need for pinging or asking if you can ask. Best regards, Horse Lime. [crystal-ball] [git] [javascript] [why-is-git-here]
 
10:16 AM
 
:)
 
lol
 
So... what happens here...
 
erm, okay @AmaanCheval...point?
 
@AmaanCheval Wow... those were terrible
 
@Zirak Of the wallpapers?
 
yep
 
It just is something a lot of people do :p Make horrible wallpapers showing how Windows sucks
Wasn't directed at you
The ping was in regard to the not having the new MDN command
 
11:32 AM
okay...in other news, I'm making a Heroku app to generate random words for the hangman
 
So that's what heroku is-
 
@AmaanCheval oh lol, that makes much more sense
 
Yeah I looked it up. I've frequented a heroku app, but never knew what heroku itself was
 
What was the default http port? 80?
 
8080? That was the default on my apache at least-
 
11:38 AM
Hi anyone know how to prevent mouseout event on window when your mouse is over scrollbar? :)
 
0
Q: Array of objects handler

David BarkerI've written this relatively simple class to help with managing arrays of anonymous objects in my scripts. /** * AoHandler - accepts an array of objects or creates a new array * @param {array} ao */ function AOHandler(ao) { this.ao = typeof ao === 'object' ? ao : []; /** * pluck() ...

 
This is the best protocol ever: en.wikipedia.org/wiki/Finger_protocol
Seems like both 80 and 8080 work
I'll just blindly try numbers until it works
 
Hehehe
When in doubt, apply force
Actually: When in doubt, ease off, re-assess the situation, try again if conditions are met
 
!!/mdn location.replace
Close enough
 
can that bot of yours search W3C documents?
 
11:53 AM
It has Google, so...
!!/tell Vivix google appendChild site:w3.org
 
Well, it found something.
 
It has an ES5 looker with a pretty dry functionality, but it's possible to add w3c doc lookup
!!/tell Vivix help spec
@Vivix spec: Find a section in the ES5 spec
 
Hmm, never read ES5 specs, I think- I'd just write !!/spec toDataURL() for instance?
 
es5 spec refers to javascript, not html5 APIs, so you can lookup things like:
!!/spec reduce
 
right, of course.
 
12:00 PM
!!/spec HasBinding
 
Specs can be fun, they read like a proclamation. "Let there be known that!" etc
but yeah- that might be useful. Especially with strange functions that are never properly explained in tutorials.
 
There's also an eval that doesn't work...it has several things. Most of them are undocumented, but:
!!/help
!!/listcommands
@Zirak Available commands: help, listen, live, die, forget, ban, unban, regex, jquery, choose, user, listcommands, define, norris, urban, parse, tell, mdn, get, beautify, google, hang, learn, nudge, ring, roll, spec, stat, todo
 
!!/norris
Make me laugh, bot!
 
ehehehe
 
12:11 PM
Well that sucks
It's also fun that it should have started with a blaring error in your face, but php just cascades down a chain of warnings
 
O php
I'm building an...addon to sites I guess, and am using Node.JS, suddenly I realize, while poking around a web-hotel for a friend, that Ruby is far more common-
for people who aren't wiz's, would installing node.js be so hard that they'd rather not?
 
Ruby is far more common because of RoR
Which has a shit-ton of attention right now
 
12:28 PM
Hm- so that's much more plug and play for those? I could probably try to write node.js and RoR server module- as I'm using Faye for sub/pub--
Maybe this is why all the modern ones rent out rooms rather than give out their source
 
Nodejs isn't difficult to use
 
they can just install a server-script that runs it?
I've only ever installed it on my own computer, obviously, so writing how-to-install documents would be a nightmare-
 
@Zirak RoR is the "wordpress" of Ruby .. and has dome about same amount of damage to development practices
 
What I'm trying to do though, is to make it easy to install and set up for non-devs
 
It's just lower-level; you have to say "this is a server" and "this is what happens when you do something". But there are frameworks to fix that. nodejs is not hard at all.
 
12:31 PM
Okay- good, I'll have to --try installing it on a server once, but, that's good
 
Installing node is easy, and running from it is also easy. The development is the trickier part.
 
Yeah, I tried reading their documents- it was messy, but- it slowly leaks in what it all means
 
12:45 PM
@FlorianMargaine Margaine.com is ranked 7,138,445 in the world (among the 30 million domains). This site is estimated worth $677USD. This site has a good Pagerank(2/10). It has 10 backlinks. It's good for seo website. Margaine.com has 9% seo score. Margaine.com is safe.
 
@Abhishek Where are you getting that from?
 
webstats something something
 
Are ~3.5k words enough for hangman?
I'll assume that's a yes
 
@Zirak nod
Has anybody got some neat basslines ? dubstep music
Is there any method to create / write a file on main filesystem
after user grants permission ?
 
1:00 PM
"Main filesystem"?
 
html5 defines a virtual / sandboxed filesystem
 
Check the filesystem api then. Probably not
 
create or write from js or html5?
 
I think it is explicitly not wanted
 
1:02 PM
@Zirak actually it does
you just need to obtain user privilages
 
404
you can give the user a file to download, I think, but no I don't think your script can be allowed access to someones filesystem
 
hehe, hit ctrl+s
 
isn't there a toDataUrl? For that specific purpose?
 
@Abhishek shame it works only in chrome
 
1:12 PM
I've never read up on it closer than that
 
@Abhishek Like blobs?
 
@AmaanCheval uyes
 
you can get people to download blobs created on the fly
 
hi , I have a php string
$arr = 'a','b','c';

i passed it to javascript, and that is loading on onload.
var arr = [<?php echo $arr; ?> ];
its getting error
its all on same page , what about time of execution.
 
$arr = 'a','b','c'; makes no sense.
Anyway, what you want is json_encode.
$arr = array('a', 'b', 'c');
var arr = <?php echo json_encode($arr); ?>;
 
1:25 PM
i took that from ajson and turned it into a string so so taht i can directy give it to script rather than a php array!! i am a beginner
so actaually php $arr is a string $str ="'a','b','c'";
 
Yeah...arr will be an array containing that string. Since you passed in a string
Strings are not code
Also, open a js console and poke around, see the error you're getting.
 
Do people still say rem'd out?
 
Has anyone ever said that?
 
I think so.. "just rem it out"
 
Meaning: Listening to REM until you pass out?
Anyway, managed to wrestle with heroku. Tada: sleepy-bastion-8674.herokuapp.com/?jsonp=console.log
 
1:40 PM
Hehe
REM as in comment that section, I think
 
Let's take this out for a spin:
!!/hang
  +---+
  |   |
  |
  |
  |
__+__

------
huzzah!
@FlorianMargaine, @Loktar, @rlemon, @AmaanCheval, @RyanKinal (I think those were all the ones who complained)...suck it!
 
!!/hang u
 
  +---+
  |   |
  |   O
  |
  |
__+__
u
------
 
2:43 PM
@FlorianMargaine @ThiefMaster If you want a taste of some power: youtube.com/…
 
nice, but i'm sure there is a way to do that in vim, too
 
The thing is, emacs is an interpreter. Vim isn't.
With all the power of Vim, it's just...different
 
2:59 PM
@Abhishek What kind of files do you want to generate to download?
 
@AmaanCheval *
and dont worry i nailed it
 
Ooh, show
Plaintext is easy
 
wait a lil then
the same way btw :P
blobs !
bloooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo‌​ooooooooooooooooooooooooooooooooooooooooooooooooooooooobs!
 
Yeah, but which other file types did you manage to create?
 
i said *
its just application/octet-stream , u just specify what format its going to be at the end duh!
 
3:00 PM
Every single type?
GAH, I know that
How do you know what the actual data to put in the file is?
 
I am creating a table for holding user info, however I do not want to use the reserved word for table name or plural version of it. Any suggestions?
 
!!/hang y
 
  +---+
  |   |
  |   O
  |   |
  |
__+__
u, y
------
 
!!/hang e
 
  +---+
  |   |
  |   O/
  |   |
  |
__+__
e, u, y
------
 
3:04 PM
!!/hang a
 
  +---+
  |   |
  |   O/
  |   |
  |
__+__
a, e, u, y
a-a---
 
A html table to hold information visually?
 
!!/hang i
 
  +---+
  |   |
  |  \O/
  |   |
  |
__+__
a, e, i, u, y
a-a---
 
!!/hang v
 
3:05 PM
  +---+
  |   |
  |  \O/
  |   |
  |  /
__+__
a, e, i, u, v, y
a-a---
 
!!/hang n
 
  +---+
  |   |
  |  \O/
  |   |
  |  /
__+__
a, e, i, n, u, v, y
ana---
 
!!/hang c
 
!!/hang anabol
 
@AmaanCheval You people suck. The phrase was analog
 
3:06 PM
awww
 
  +---+
  |   |
  |
  |
  |
__+__

--------
 
thinks reddit makes no sense
 
@Zirak vim's philosophy is different than emacs'
vim is to be a great text editor, emacs want to be an OS
 
Emacs' philosophy is kicking ass
 
3:11 PM
yeah
and it kicks ass, except for being a text editor
 
Why? It's a magnificent text editor
 
it's a good one, not a great one
moving around with arrows... meh
 
I never move around with arrows. Why would I do that?
 
how else do you move around?
 
I either scroll by pages, or better yet, search inside the file
 
3:13 PM
you don't need emacs for that :/
 
...that was a counter-argument
I don't use emacs because it can scroll through pages or search through files.
 
that's my point, emacs sucks as a text editor
 
I do those things because moving with arrows is pointless
...what?
 
it sucks because of a navigation feature you don't have to use?
 
emacs strength is the mode feature
that's something I'd like in vim for example
(for the text editing stuff)
 
3:15 PM
No, it's not. It's the extensibility and the rich default options you have.
 
@Vivix try vim, you'll understand what I mean
 
I would try both, but I already bought Sublime-
 
Even in Vim I didn't move with hjkl
 
neither do I
I have f, t, % for instance that are not in emacs
and the "normal mode"
 
I forgot, what do these do?
 
3:18 PM
f : find a letter in the line
t: find a letter and place the cursor right before
%: go to matching brace/parens/etc
 
There's a % equivalent at the very least
 
oh btw
I guess you could code a f/t equivalent in emacs too
but really, what's faster: f<letter> or M-x M-f <letter>
 
And yeah, not all Vim is in emacs. But it doesn't need to be. See, I don't say that Emacs is better than Vim (I think that, obviously, otherwise I would've used Vim.) But I do say that it deserves your undying respect for being a badass motherfucker.
 
or even not faster, but just less hard on the fingers :p
oh I do respect it
I'm just saying that vim is a better text editor, just on the text editing part
for the other stuff (scripting comes to mind), emacs is definitely better
 
meh
 
3:22 PM
Random: I downloaded DirectX SDK and read up on the docs, it was so full of Windows 8
This is gonna be hard to learn while trying to ignore appstore-
 
No not my bike but still... I found it interesting to say the least.
 
Wat?
 
You win "random of the week" award
3
 
@Zirak That was my goal :P
 
3:25 PM
@Zirak you know that @IvoWetzel is more of a vim fan than I am?
 
@FlorianMargaine I wouldn't call me a fan... worshiper might be the better term.
 
@IvoWetzel preacher ? sherman ?
 
@IvoWetzel you know some about vim scripting?
hey @Abhishek is it done now? :p
 
@FlorianMargaine finishing it :-[
 
3:28 PM
@FlorianMargaine A bit yes, at least enough to be "dangerous"
 
browser inconsistencies x_x
 
@IvoWetzel trying to start up by reading some code
 
i am still unsure though if i should allow multiple files to multiple people or not
 
I tried defining a function, didn't work :>
 
so far it allows multiple files
 
3:29 PM
i.imgur.com/sWxa1.jpg dafuq is at the top window?
 
@Abhishek cool :)
 
oh and @FlorianMargaine do you know a way to bind socket.io with express 3 ?
 
@Zirak I don't see
@Abhishek wut?
 
how to make em share a session x_x
 
There's an old chinese dragon, just looking out the window
Playing the drums or something
 
3:30 PM
express.sessions !== socketio.sessions
i want em to be ===
 
ah
use a db session store for example
 
:-/
 
not an inmemory one
 
too much pain
 
or a file session store why not
you have to do this if you want to share session between 2 applications
because each has its on memory store, but they're not shared
 
3:31 PM
funny how TJHoloChukway have contribs in both but still no internal bindings :-|
 
@Raynos 2 years???
 
but... there can't be bindings
these are 2 different applications
 
Am I the only one seeing that thing at the top window?
 
@Zirak yeah the image's not big enough for me to see the dragon
 
I see it
 
3:32 PM
I see there's something, but that's it
 
I'm not sure it's a dragon, though
 
see that
 
It looks like a fuckin dragon with drum stucks
 
Kind of looks like it
 
3:33 PM
Or Predator with a giant head
 
Or odd curtains
@Zirak That's not a screenshot from your iPad, is it?
 
Screenshot from the reddit post you linked to
 
good luck though, vim script is full of wtf's. The most I did was to edit some existing plugins to get rid of some behavior key bindings / I didn't like
 
3:36 PM
k
 
0
Q: Apply Force to many Box2d objects at once

nycynikI am trying to apply a force to a bunch of b2_dynamicBodys, but it seems to only work for a random number of items and then stops with an error. //create some items to move bodyDef.type = b2Body.b2_dynamicBody; for(var i = 0; i < 5; ++i) { fixDef.shape = new b2PolygonSh...

 
I just want to write a small plugin to emulate emacs modes in vim
 
@FlorianMargaine outdated as hell
it's written for 2.0-2.5
 
python -c 'from __future__ import braces
 
wont support 3.x
 
3:37 PM
> There's an old joke that Emacs would be a great operating system if only it had a decent text editor, whereas vi would be a great text editor if only it had a decent operating system.
 
Yall oldies ... sublime rocks!
 
haha, just what I was saying
@Abhishek sublime is pretty. That's it.
it's just not playing in the same league :p
 
^ this
@FlorianMargaine Have you seen vim.org/scripts/script.php?script_id=300 ?
even if it doesn't work / do what you want it might be a starting point for some ideas
 
^ Reading that made my eyes cry... i dont know why!
 
@IvoWetzel that's not it at all
 
3:39 PM
@Abhishek What else of yours can cry?
 
@IvoWetzel I don't want to emulate emacs keybindings, just the modes feature
 
@FlorianMargaine btw, have you tried M-x butterfly
 
@Zirak yeah I did, don't remember what it did :p
I liked ido mode btw, better done than ctrlp or command-t
 
@AmaanCheval brains
well brain can fart , explode , cry ... and we also posses a heart [this was philosophical]
 
@Zirak how do you use the tags in emacs btw?
it has ctags support built-in, but didn't see how to navigate using tags
 
3:42 PM
Never actually used them
 
@Zirak XKCD, right?
I can't remember where I've read that
 
I find them essential on pretty much any mid-size project
 
ah, that's why I remember it :D
but I didn't try it.
 
3:43 PM
One of my favourite emacs goodies is a "happy birthday" message. Was my only solace in the last 2 years.
 
just picked up and installed my dishwasher.
ahh the feeling of never having to have dishpan hands again is so nice
:P
 
@Zirak When's your birthday? We'll wish you :p
(Or we could have the bot wish you :p)
 
@rlemon heeeh thought that too, then comes this way-too-big-plate-to-be-in, this so-fragile-plate-to-be-in...
 
@AmaanCheval That proves you don't care enough ;-;
 
I'll just throw that dish away
only dishwasher friendly dishes from here on in
 
3:45 PM
lol
 
@Zirak Fiiiine, we'll wish you
 
I installed it myself and the instructions were less than helpful so now I'm running back and fourth between my computer room and kitchen to make sure it's not a disaster :P
 
@rlemon rofl
 
@rlemon woah-
 
@rlemon what is the original (cat-less) source ?
 
3:59 PM
no clue
 
01:00 - 16:0016:00 - 23:00

« first day (749 days earlier)      last day (4198 days later) »