« first day (1687 days earlier)      last day (3244 days later) » 

12:04 AM
damn, I move on the 19th. no money for games.
 
12:16 AM
Hi!
 
Hi Marc
 
Hi Ctrl+c
 
12:34 AM
yes
its me!
did you know XNA and ASP.NET ?
 
Kung Fury is awesome if you havent watched it you need to
and then get the game for $2 on Steam :p
 
agreed
although the game looks a bit pants
 
haha I love it
 
I was flaberghasted
 
isthe game out ?
 
12:45 AM
yea
its on steam
 
hi
is document.getElementById and all those functions are deprecated?
querySelector is best?
 
@Marc-AntoineJacob not deprecated, just outdated
and yes, QS/QSA are pretty neato
 
supported by all navigators?
all new navigators
 
caniuse.com @Marc-AntoineJacob
 
12:50 AM
oh thanks
super
website
and for event what is best between DOM-0, DOM-1 or DOM-2 method?
 
@Loktar link ?
 
if i wanted to introduce a different class to a button i would use addclass in jquery terms , i am considering trying a pseudo css function to replace that function anyone ever done this ?
 
@Loktar ever played Little Fighter ?
 
nope
is it similar?
This game is also absed on one finger deathpunch
 
1:04 AM
devils dare is the best one of those type of games i have ever played
seriously can someone let me know if they have ever made a javascript free button using only css that allows for 2 states
for click events only
 
1:39 AM
@SomeKittens yes that is me; the live version has a longer chain // cc @Awal @Zirak
I think another of my comment made it onto GFSE as well, and I've submitted two funny VLQ posts.
 
 
2 hours later…
user2620028
4:05 AM
@taco To be fair baggy pants became popular to me because i didn't like the incredibly tiny inseam that was normal pants. I will take having to wear a belt to keep my pants on over skinny jean thong inseam any day.
 
is skirt an option?
 
user2620028
4:35 AM
yes but you have to call it a kilt and no underwear is mandatory
 
user2620028
But kilts get caught in my motorcycle chain :P
 
ride a horse
 
user2620028
They are too wide to fit through traffic :p
 
4:48 AM
Okay I have a question. Say I'm defining my own script, where I want to be able to call it like so $('#some_id).some_function();

How do I pass the #some_id to the function
 
this
unless you want the selector, which you shouldn't
 
I want the selector
 
do you realise some jQuery objects don't have a selector?
 
well I want to code my own very basic slider
ya ya I know...
$.fn.simple_slider = function (params) {);
 
so far this should work
 
4:51 AM
I want to be able to pass the selector to the function so I can do my thing based on what id is passed to it in the initial call
 
why? What if a different selector is passed in?
What if you're called on the result of tree navigation?
or even on a detached node?
 
well the id will be the contain element
so I do multiple things with the initial selector
 
so... this.closest(".sth")?
 
stuff within the container
 
.find(...)
 
4:54 AM
dude
i want to manipulate the container.
I just want to know how to pass the id/selector
 
grabs the crickets music disc
 
can't tell if you're trolling or you just don't know
 
Can't tell if stubborn or if you have a legitimate reason you are not allowed to divulge
as for getting an element ID, that's pretty easy even in vanilla javascript. Use at your own risk.
 
Okay, this is SO. The purpose of the site is to share knowledge, not to question someones motives for wanting to do something
 
!!tell hybrid google what is x/y problem
 
this.selector
 
except it's a remnant from the days of .live
and it's deprecated, it was never public and if it isn't already removed, it will be soon
28 messages moved to Trash
 
5:17 AM
!!jquery selector
 
It isn't even documented!
 
6:17 AM
What kind of Javascript constructs gives that ability for objects to be equal and opposite?
 
== is weird
hint: what stringifies to an empty string?
 
[]?
 
yes
 
6:36 AM
When a webpage doesn't have jQuery loaded, what is the $() function?
 
depends
 
likely undefined
 
its defined on google chrome and firefox
 
one is provided by the console API
 
6:49 AM
@JanDvorak so it's 0 == []?
 
@royhowie yes
 
I sort of very much hate swift
well, I half take that back
I don't mind writing swift—just learning this whole Xcode framework is no fun
and I made the horrible mistake of trying to use storyboard for everything
 
7:22 AM
@rlemon what did u change in that?
 
@Prashant *you
 
7:35 AM
@JanDvorak what?
 
http://stackoverflow.com/questions/30543256/positioning-of-jquery-java-toggle-content/30543434
I answered this question, but I'm not very satisfied. I don't really know why my answer works, and the most knowledge I have is that a <p> tag is block element while a <span> tag is inline. Any insight?
 
Don't use txtspk. It's inconsiderate.
 
@JanDvorak i just want to compare index_1, index_2... jsfiddle.net/prashantptapase/wnq7s5ct/6
how to do that?
i try lots
 
Why ask me?
 
@JanDvorak because u have experience
 
7:45 AM
@Prashant *you
 
@JanDvorak what is this
 
@Prashant: It's always more fun to discover solutions on your own than to badger chat users for one. Plus, it's exceptionally annoying when you do it in broken English with incorrect grammar and spelling.
 
@Unihedron sorry for my broken english... i already tried to many time..i am frustrated for small code
that's why i am asking here
 
@Prashant *times. I can forgive lack of skills, but not lack of effort. Saying "u" shows the latter.
 
@JanDvorak @Unihedron thanks for your most valuable time
 
user4861400
8:04 AM
If you open the link more than 4 times then i will bless your health
 
@AhmadTaha should I flagg that as advertising?
 
user4861400
Yesterday there was this types of chats were going on
 
user4861400
Sorry
 
@AwalGarg Got it, it was a problem with /etc/X11/xorg.conf I needed to make some modifications for my R.A.T 5 mouse in order to make it work properly
 
8:21 AM
I'm free from noobland! Finally, enough karma to chat!
 
Don't jinx it ;-)
 
Oh I won't abuse it. But it looks like nobody is talking about javascript here
 
well, sometimes
 
Oh, I see some jquery talk 2 hours ago
 
8:40 AM
your avatar has finally loaded for me, btw
 
user2620028
Whats up everybody
 
user2620028
\o
 
THE
hi
 
8:55 AM
jsfiddle.net/803ytxjL/2 My newest HTML5 technology
 
@Catgocat yuck
 
Nice
 
@Catgocat bravo!
 
THE
@Catgocat that's 1987
 
But the font????
 
8:59 AM
thanks everybody let's make W3C approve the new tag <colorful>
 
Animates css3 marquee would be better tbh
 
no
and no
 
How do you get started with HTML5 canvas?
 
read a book
 
9:00 AM
set up a goal, then open the docs
 
evar? No.
 
Thanks I'm buying it
Do you use it?
 
It was recommended by Loktar
ANd yes I have read it
html5 canvas + websocket + node.js
= awesomeness
just be sure to type everything down.. so you don't forget
the api
 
Cool
Node.js I never used it
Is it good
 
9:04 AM
no
"good"
 
I'm more a php developer
 
ok now tell me you use jquery a lot
 
Yep
 
:(
 
But I like writing pure JavaScript
 
9:06 AM
so learn node.js
or io.js whatever
 
What do they do.. I heard it allows web apps to interact with devices???
 
JAvascript in the server
 
THE
0
Q: Moment js is not giving days properly

THEI am using angular with moment js to get date difference but it is not giving right number of days, module.controller("MainCtrl", ['$scope', '$mdDatePicker', function($scope, $mdDatePicker) { this.startDate = function(ev) { $mdDatePicker(ev, $scope.startDate).then(function(selectedDa...

 
Ahh right
Do you use e for event or event?
Like function (e) {}
I prefer e
But a lot of people use event
There's no traditional way righ??
 
Use what feels right to you.
@JanDvorak Do you use Ubuntu? I've been trying to change the font rendering so that it looks more like windows but haven't got success so far :/
 
9:12 AM
select click event acts on the first option immediately,change option does not act on the first option when it is clicked...what is the correct way of opening a select and then performing an option when something is clicked...
 
@Catgocat no
 
Using a bootstrap button dropdown is not an option because there is a css problem with that...
 
windows 10 ??
what happened to windows 9 ?
 
I use ubuntu
In the softwte centre there's a windows font package download it
 
nice for how long?
where where?
 
9:17 AM
Install and hey presto
 
help me :c
where is the windows font package?
 
In the software centre
Orange shopping bag icon
 
im in the software center, now what
 
I found the PDF version of the bookhttp://onlinepdfbooks.blogspot.co.uk/2014/04/foundation-html5-animation-with‌​.html?m=1
Type in windows font
You should get three hits
 
Smart Unicode font for languages in Myanmar
 
9:19 AM
Click the top one
 
i get that
FreeType 2 font engine, shared library files
this one?
 
Do you have dual boot?
Or Ubuntu only?
 
dual
 
Nice
 
so what package should I install
is it FreeType 2 font engine, shared library files ?
 
9:20 AM
Just don't do anything on Ubuntu that could corrupt hdd
 
I have one hdd for ubuntu and other for windows
hey tell me the package that is to be installed
 
I used the macintosh theme and two days later it crashed and HDD corrupt
 
I searched windows font on software center
now which package is it?
 
In command terminal
sudo apt-get install ttf-mscorefonts-installer
That's the easier way
 
E: Unable to locate package ttf-mscorefonts-installer
I get that error
root@afonso-ubuntu:/home/afonso# sudo apt-get install ttf-mscorefonts-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ttf-mscorefonts-installer
 
9:23 AM
Ahh that's weird okay
I'll open terminal on my laptop
 
wait now I get other error
root@afonso-ubuntu:/home/afonso# sudo apt-get install ttf-mscorefonts-installer
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
 
This proves that I said the right way
That article should help you
 
Categocat: you have another apt-get running
 
@bardzusny Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
also, try 'msttcorefonts'
 
9:26 AM
In software centre just write ms core fonts
 
ok it was a setting in software center
I think wait
 
What setting?
Download wine
 
IT's installing
 
Allows windows apps on linux
 
wine?
like .exe ?
 
9:27 AM
Yeh
 
in linux it's .run right?
Setting up ttf-mscorefonts-installer (3.4+nmu1ubuntu2) ...
Processing triggers for libc-bin (2.21-0ubuntu4) ...
W: Operation was interrupted before it could finish
 
Another thing which is good is wampp on Linux
 
WAMP is for Windows, as name implies, don't use it on Linux
even if you can (through wine)
 
who uses wampp ?
 
Sorry xammp
I get mixed up
 
9:29 AM
my fonts still look bad @IPAddress
 
oh yeah, I never bothered with such "distributions" personally - just install apache/nginx, mysql-server, php
 
omg I'm getting crazy
i can't change the fonts
 
Okay another solution is to download it through the web
 
gimme
 
The answer s here for your problem
4
Q: Unable to install Microsoft True Type Core Fonts on Ubuntu 14.04

CESILICONAfter updating to Ubuntu 14.04, I installed Ubuntu restricted extras and then the Software Center crashed during the installation so I had to terminate the window. I removed and re-installed it and found that the MS fonts are not installed in my OS. Once in a while I'd get the bellow message (I'v...

Hope that helps :)
 
9:32 AM
onso@afonso-ubuntu:~$ sudo lsof /var/lib/dpkg/lock
[sudo] password for afonso:
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
Output information may be incomplete.
This sucks very much
 
That's really weird
 
OK i have installed
 
You can always install it manually
 
fonso@afonso-ubuntu:~$ sudo apt-get --reinstall install msttcorefonts
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'ttf-mscorefonts-installer' instead of 'msttcorefonts'
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 78 not upgraded.
Need to get 0 B/29,5 kB of archives.
After this operation, 0 B of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 170961 files and directories currently installed.)
Now what?
 
Its done
Check with font viewrr
 
9:34 AM
but fonts havent changed
 
Hit the start/super key and search for an ms font like arial
 
it still looks the same
nothing shows up
afonso@afonso-ubuntu:~$ sudo apt-get install ttf-mscorefonts-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
ttf-mscorefonts-installer is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 78 not upgraded.
afonso@afonso-ubuntu:~$
 
The fonts only show up in web browsers and wine apps and text editors
 
But my browser hasnt changed fonts
 
Only where websites access ms fonts
Try outlook.com
 
9:39 AM
it looks so ugly
anyways
im trying to install nvidia drivers
dont work as well
:(
 
Oh
Click settings
 
:(((((((((((((((((((88
it crashes
 
Click display
 
where
 
Then search for drivers
 
9:40 AM
I know
but it crashes when I run it
I have downloaded
 
In the top right corner
 
Do you know the commands....
 
what commands
 
../configure
make
sudo make install
And
Sudo su
And obv cd ../
 
9:43 AM
option click event not firing on chrome??
 
Did you use the on change event?
 
i want to get a click on the first element but not as soon as the select opens
 
@Catgocat the fonts are and look right on your computer. Just remember they are open soirce ms fonts and not the same as original os
You mean first option??
Here....
 
yes
 
document. addEventListener('change', function() {
Value_first_option = 'value in the option';
If(Value_first_option == this.value) {//run code}
});
Crap
Document.get element by id
document.getElementById('I'd for select element').addEventListener('change', function() {
Value_first_option = 'value in the option';
If(Value_first_option == this.value) {//run code}
});
That's should be what your looking for
 
What's the problem.. Looks fine to me
 
i think this fiddle describes the problem a little bit more clearly,I would like to click on the first option immediately after the select opens or change to a different option with both working simultaneously as I tried with mixed-handling. I really do not want to add something meaningless at the top like this jsfiddle.net/vamsiampolu/kua7jsv7/2
 
Let me go on my computer I'll sort it out
Wait so basically you want all the values to change based on the first option????
its still not clear to me
 
10:09 AM
no,first option is clicked after select opens,first options is clicked and then acted upon,ajax call occurs,lots of stuff happens,however user can use the change event instead to click on the second option and choose that...which has its own series of operations occuring
 
@vamsiampolu pease elaborate
So you want a event handler for the first option?????
Or when a select element is active the first option is selected???
Or I've just misinterpreted everything you said????
 
I open a select,
click on first option after select opens,with only the change event being handled nothing happens

I open a select
click event is active,only first element gets selected whenever I open it...do not want that

Desired behaviour

I open a select
click on first option...first option is set to selected
(or)
change to second option...second option is selected as in the change event.
 
Ahh right easy
Let me log on to my computer
 
i'm back
what is a cool programming wallpaper 1080p?
 
10:19 AM
haha thats my facebook wallpaper
:p
 
@vamsiampolu how many select options are there?
@Catgocat thats uncanny
 
@IPAddress so much wrong in this wallpaper...
How can sad() return true and then an object
 
Florian have you seen my new html5 technology? I'm trying to make W3C approve it.
 
lol
 
@Catgocat if you have this wallpaper, I'm not sure I want to see it
 
10:24 AM
Check this out jsfiddle.net/803ytxjL/2
 
Makes me think of blink
 
Pretty good huh ?
 
Amazing
 
@vamsiampolu your looking for this, maybe? jsfiddle.net/2L0uLa6u
@Catgocat i wonder what will happen with a transition????
 
what happens when I open and immediately click on the first one??
 
10:30 AM
then case 1 occurs!!!
@vamsiampolu then case 1 occurs, you can put any code there to execute
@vamsiampolu is that what you are looking for?
 
@Catgocat thats amazing !!!!
needs a tranistion though
look at it now jsfiddle.net/803ytxjL/6
 
great :)
 
@Catgocat your programming is well-written
 
11:29 AM
hello
 
THE
11:41 AM
wag1 IP
 
hello
 
THE
i am in big trouble here
 
call 911
 
THE
Now = Sat May 30 2015 12:43:24 GMT+0100 (GMT Daylight Time)
Then = Sun Apr 01 2018 12:43:27 GMT+0100 (GMT Daylight Time)

how that comes up as 1067 days
$scope.dateDifferenceDays = moment(then, "DD/MM/YYYY HH:mm:ss").diff(moment(now, "DD/MM/YYYY HH:mm:ss"), 'days');
when in real it should be - Result: 1037 days
where is it adding another month from ?
 
i need help here...
0
Q: Is there an event for onclick end?

IP AddressI have a code in which should only be executed after an onclick event. On mobile devices its fine because I use touchstart and touchend. Is there an event similar to touchend for use on a computer? My code currently looks similar to.. document.getElementById('trigger-box').addEventListener(func...

 
11:52 AM
onmousedown and onmouseup
 
yep
didnt ever use mousedown or mouseup before lol
 
Hi, does anyone know how to create a custom helper for Handlebars that returns an array and then iterate over that array in the template?
Or whether it's the right way to do it
 
hi @AwalGarg
you've pinged me before. Accidentally ?
 
12:38 PM
Hello World!
 
12:52 PM
hi guys


when I'm trying to double click any control in visual studio, it not taking me to code behind file its taking me to source code.


why its happening?


how I can fix it?
 
"code behind file" = ?
@rlemon where is the output stream ?
 
/dev/null
 
@KarelG taking me to html code not in c# code file.
 
Hi guys I have some headaches making sure that I don't need to use sudo all the time with npm
I've now uninstalled npm and node completely
 
great work
 
12:55 PM
if I install node and npm with brew, will it work fine ?
9
Q: What is the suggested way to install brew, node.js, io.js, nvm, npm on OS X?

ohhoI am trying to use homebrew as much as possible. What's the suggested way to install the following on OS X? node.js io.js nvm npm and hopefully supports development for: ionic ngCordova

 
I'm using angularjs and trying to authenticate using a restful api, on success my api saves a JSESSIONID cookie but its stored at api.externaldomain.com domain, instead of my webapp.com domain. So everytime I need to check if there's an active session I can't because I have no cookie in webapp.com... Any solution?
 
@Harish if you're talking about ASP.net (which is developed in visual studio) , you have probably checked the wrong file
 

« first day (1687 days earlier)      last day (3244 days later) »