« first day (1527 days earlier)      last day (3421 days later) » 

6:01 PM
got it
 
Glad to help
 
6:13 PM
i have an issue with bootstrap select on IE alll items are selected
if any one could help ,
thank you
 
Does anyone have a way I could use checkboxes to manipulate variables without jQuery?
 
Your question is so basic, every answer would open 3 more question for you
A good start would be to read a book
Hint: The solution will involve events
 
Now I feel stupid
I just need to know how to make the check boxes
 
two more questions to go
 
6:18 PM
:P
 
bye then
 
Have a nice Sunday
 
@wyattbergeron1 hello? The least you can do is say "thankyou"?
 
for what?
telling me to read a book?
 
@AwalGarg Not really
 
6:20 PM
I could do alot less actually
:P
 
Pink Floyd
 
kryogenix.org/code/browser/aqlists must have been a good read once...
 
@AwalGarg jsfiddle.net/ruzL0ysq what am I doing in the last time, I mean I am setting the prototype of the Bar to Foo.prototype, so that Bar has access to the properties of Foo, but why not do a function Bar() {} and do Bar.prototype = new Foo()
 
@argentum47 because that won't do what you are thinking it would do. google "augment.js", and read it's source code.
 
6:33 PM
did you guys know there's a execute.js command in google applications?
 
@AwalGarg I have seen this before, but what exactly am I looking for? I can't connect my understandings :((
 
I wonder if instead of having a switch statement is there a better way to specify this in a declarative way?
I am not too familiar with JavaScript.
 
@Nils why are you using ints for directions?
 
There are no enums?
But that was not my question.
 
6:40 PM
There aren't, you can emulate them pretty easily.
Well, you can use an object map:
 
Is there a better way to apply a dumb rule such as this on an int instead of a switch?
 
@argentum47 You are looking for an example for how does prototype assignment actually works, and what are the consequences of it.
 
        // 0 >
        // 1 ^
        // 2 v
        // 3 <
        var direction = 0;

        function turnLeft() {
             direction = [1, 3, 0, 2][direction];
        }
@Nils that'd work, but meh
 
Ouh thank you..
what does this do?
 
@BenjaminGruenbaum what?
 
6:43 PM
I create temporary users
everytime somebody opens my site
 
array[0]
 
is that a bad thing ?
the reason to do that is to track them :P
and their devices
 
@AwalGarg what what?
It's creating an array literal and then using an indexer.
 
    function turnLeft() {
         direction = 141 >> (direction << 1) & 3;
    }
Noobs
 
@BenjaminGruenbaum why you array = array[sameArray]?
 
6:44 PM
@copy you forgot to assign
 
Hahah @copy
 
@AwalGarg try it :D
 
@copy what is this I mean I can't understand
 
Magic
 
thx for the ideas!
 
6:45 PM
@BenjaminGruenbaum I know what it does, but why?
 
Well, if it was {'0':1, '1':3, '2':0,'3':2}[direction] would it have been clearer?
 
unless turnLeft has some meaning which I am not aware of.
 
It just converts a 0 to 3 int to a 0 to 3 int
 
hi ,
i have an issue with bootstrap select on IE alll items are selected

if any one could help ,
thank you
jsfiddle.net/nr54vx7b/17
 
@BenjaminGruenbaum nvm, I am an idiot.
I didn't look at his paste :P
 
7:00 PM
In Putin's russia ^, they got the superheroes
 
I am the superhero
 
posted on December 21, 2014

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3727700-1"); pageTracker._trackPageview(); } catch(err) {}

 
Guys
 
@AwalGarg okay.
@Sippy guy !
 
Everything i download is corrupted
Images on web pages like half load and the rest is really like fucked up
Hard drive done?
RAM?
Its hardware cos i wiped the fuckin thing thinking it was some lame virus
 
7:10 PM
I think you downloaded:
!!xkcd mother of all suspicious files
 
@Sippy ^
In any case, the guys at Root Access would be of more help to you.
 
@AwalGarg can you give me the link to the doc where it specifies .length and .splice in an object makes it behave like an array
 
A conditional css fallback file for old ie was being too complicated, so now I give old IE a fixed layout only xD
@argentum47 It is not exactly that, but lemme find it.
 
7:27 PM
@argentum47 can't find the original official thing but this: ecma-international.org/ecma-262/5.1/#sec-15.4 AND this: stackoverflow.com/a/6599447/3459110
 
tenks :))
 
@Zirak hey spec guy, got the link to the spec?
btw @argentum47 what exactly are you tryin to accomplish?
 
Nothing much, learning as such
 
7:58 PM
Too rude?
I want a new car, and a pony unicorn and a fire truck and an xbox. That's cool - what have you actually tried? Have you attempted to solve this yourself somehow? Please show us your current attempt and explain why you think it's wrong. — Benjamin Gruenbaum 11 secs ago
 
Bluebirds Promise.resolve
 
@BenjaminGruenbaum flagged as offensive xD (just kidding)
 
can be used for things like
 
It is fine
 
@darkyen00 what?
 
8:00 PM
Promise.resolve(maybeNotLoadedValue).then((value) => { console.log( "ah it loaded" }); ?
 
What's maybeNotLoadedValue?
 
either a promise object or the value itself.
 
:3 squeee
Refactorin my code though i can always return a promise
right now its like this
function getUser(){
   if( user ){ // in case it is already there
      return user;
   }else{
      return new Promise((resolve, reject) => { /* some aajax  */ });
   }
}
 
@AwalGarg no luck :/
Sigh
Shitty time for stuff to break
 
8:04 PM
shouldn't be much of a performance penalty, right @BenjaminGruenbaum ?
 
Can you not use try catch?
Is that not a thing in js?
 
@darkyen00 Why are you doing new Promise ?
 
what else should i use ?
 
@darkyen00 if a function might be asynchronous it has to be asynchronous.
Whatever ajax function you have that returns a promise
Also, cache the promise and not the value
var user = null;
function getUser(){
    if(user) return user; // user is a promise
    return ajax().then(function(result){ return user = parse(decode(result)); });
}
 
that user doesn't seem like promise
 
8:10 PM
@argentum47 (@AwalGarg) Nothing in the spec says "if an object has properties X and Y then it shall magically behave like an array"
We define an array-like object to be an object which has a length property and numeric indices
 
@Zirak :(
Then why does it do it?
 
Why does who do what?
 
make it look like an array
 
What's "it"? Where?
 
just a minute,
 
8:12 PM
!!> var a = {length:0, slice: function(){}}; console.log(a);
 
@AwalGarg "undefined" Logged: {"length":0,"splice":"function (){\n\"use strict\";\n}"}
 
da hell
 
@AwalGarg "undefined" Logged: {"length":0,"slice":"function (){\n\"use strict\";\n}"}
 
You're asking under what conditions the dev tools show something as an array?
 
8:14 PM
Chrome devs made an arbitrary decision, it's not spec dictated, there's no such thing as an "array like object" in the spec
 
!!> var a = {length:0, splice: function(){}}; a;
 
@AwalGarg {"length":0,"splice":"function (){\n\"use strict\";\n}"}
 
Also, remember that I wrote the bot's stringification
 
oh I see
 
caprica apparently doesn't like me
@Zirak oh right, that.
yeah, got a link to that?
 
8:16 PM
To what? The spec not defining something?
 
To chrome dev tools defining this.
 
Search for it yourself. It's even in the jsh code.
 
@Zirak I tried, didn't find it :(
 
Look harder
huh, I don't see that they do that any more.
 
what is jsh
 
8:23 PM
@Zirak ^
 
m'kay
@argentum47 jsh.zirak.me
 
oh
:P
 
@argentum47 java simulation hyperterminal
:p
 
@Zirak so you no got a link?
 
8:25 PM
Not off the top of my head, I'll try and look when I have time
 
ok
!!nudge 500 @Zirak link
 
@AwalGarg Nudge #1 registered.
 
ok good, I don't do that in jsh
 
why?
 
Because it's arbitrary and weird
 
8:28 PM
Then why did the chrome guys do it?
 
Because they're weird and arbitrary
 
ok :P
 
@AwalGarg Yes I do
 
@Zirak How do I access it's man page? I installed zsh-doc, but still no manual entry registered :(
 
man zsh?
 
8:31 PM
awal@awalgarg:~$ man zsh
No manual entry for zsh
See 'man 7 undocumented' for help when manual pages are not available.
awal@awalgarg:~$
 
Your repository sucks
 
it is the official ubuntu repo
 
Confirmed to suck
!!google man zsh
is the closest, or if you wanna try and figure out how to get it in the ubuntu repo
 
@Zirak I can do zsh --help though, it lists all the commands, then exits.
But it is ugly.
 
8:33 PM
That's because you called zsh, you can do that without man installed. Google around for whether the ubuntu repo actually has the zsh man pages, it should.
 
well, I don't do a lot of terminal. I just want to try the spelling check and auto correct. How do I do that?
I wrote sduo, but it didn't correct it to sudo :/
 
@Zirak lol
 
It only does that on tab key press
I don't want this
 
Carefully config it or rip off an existing config. I recommend grml.org/zsh/#grmlzshconfig
 
I want it to correct it as I type, or when I hit enter
 
8:35 PM
try oh-my-zsh
 
@AwalGarg Oh god
 
but sometimes auto correct can be annoying, like in smartphones
 
That'd be the worst. It can offer similar commands if you try to execute a non existing one, but auto-correct?
 
Well, it should be intelligent enough to get things right, no?
I thought that is what it is for...
 
8:38 PM
@Zirak zsh can do that though
 
how?
 
4
A: Zsh — more intelligent autocorrection

GillesZsh comes with a large set of completions but a smaller set of corrections. There are many commands for which completion is useful but not correction; for example, it's useful to complete arguments to mkdir (to create directories inside existing directories) but not to correct them. The correct_a...

 
@AwalGarg I use the grml config but additionally have setopt correctall
The correction has some problems though
Most notably trying to correct your mv when you use it to rename a file
fabian /tmp% mv foo foo2
zsh: correct 'foo2' to 'foo' [nyae]?
 
A correction thing which needs correction?
 
yeah
 
8:44 PM
ok, can some RO please clear stars from the PHP Wordpress message on the right?
 
Done
 
Thankyou copy!
 
@copy!!!
 
I used to do rspec spec/.. zsh always asked for correcting rspec to spec, so I added alias rspec="nocorrect ..." and then one day facepalm happened I typed bundle exec rspec .. and again "Do you want to correct rspec to spec"
 
8:45 PM
@phenomnomnominal That joke has been made many times
 
@copy and is still funny!
 
Hmm, I should have left it then
 
kthnxbye
 
Would anyone mind teaching me how to change variables with html checkboxes, without jQuery
 
A book wouldn't mind teaching you
 
8:54 PM
yeah yeah yeah I can't find anything
thats why I'm back
ok
wow
just wow
Anyone mind teaching me without giving me links to empty chat rooms
 
click on @copy's name, then click start a new room with this user, then click ok.
or just read a book
codecademy.com would do as well
 
@AwalGarg Meh, don't troll
Find a book, I don't know any
@wyattbergeron1 This will help you: youtube.com/watch?v=ljNi8nS5TtQ
 
I might talk to copy
on codeacdemy, what lesson is it?
 
@argentum47 lol
 
ok lol, but I didn't know that
 
> Today, we are going to unravel this mystery for you.
"mystery" rofl
 
:D
@AwalGarg you know, Yami Gautam once participated in a beauty contest, She came first, guess who came second?
 
who's yami?
 
9:19 PM
!!google yami gautam
 
o_O
so, who came second? @argentum47
 
her shadow
 
-_- ?
 
Yo
 
well, leave it. not a great joke.
 
Anyone knows why this isn't working?
it just doesn't state anything in the console either
I neither think anything is wrong with it is it?
 
oh dang it
block had to be display -.- xD
 
:)
@Zirak I installed the man for zsh.
Starting with which version is IE available on Mobile?
 
9:32 PM
I never really looked into JS as I sucked in it and always kept being like "F" JS
 
@MikeM. It's time to look.
 
Argh...
it's so bitchy "like every other language XD"
 
Which language do you use?
 
let the language war begin
 
I am working on a forum software in PHP/html/mysql/css only....
As it's "simple" not all that fancy and stuff...
Just playing around with JS a bit now maybe for further releases :)
 
9:34 PM
Then just use one of the already existing forum software.
 
eh no.
this is for educational purposes atm.
 
Then educate yourself, with JavaScript.
 
like How far can I come, how would it turn out, what do I need to learn further.
 
With excessive amounts of napalm ^
 
@SecondRikudo lol
@SecondRikudo How you find all this lol?
 
9:36 PM
@AwalGarg A ninja never reveals his secrets.
 
> ninja
k...
 
Do you have doubts? Even though I'm right behind you?
 
:D
I should also get all my code done this way xD
CAN SOMEONE PLZ WRITE A LAYOUT FOR ME? MY SKYPE IZ excellentCoder202
 
hello ,
can any any one help me , i have a bug with bootstrap select js , it does not work on IE when i set data attributes data-live-search=true & fill the select > options via Jquery
here is an example
 
9:58 PM
Just do what everyone of us should do, drop support for IE -.-
4
 
@Jonathan i hope i could drop support for IE
 
> The vulnerability concerns Git and Git-compatible clients that access Git repositories in a case-insensitive or case-normalizing filesystem.
 
but it seems to be a bug just because i add data via jquery
 
9:59 PM
@copy ...win-blows
 
As usually, only terrible operating systems like Windoze and Mac OS are affected
 
@SecondRikudo Fortunately, some people here use sane things :P
 
@AwalGarg Yup
 
@Jonathan and for opera-mini
 
@AwalGarg ew
I don't understand why people even use this crap.
It's not comfortable, it's not good, it's not fast, it's not pretty.
 
10:02 PM
It's fast and very stable
 
@AwalGarg Hehe, have you ever?
 
@SecondRikudo It is very fast and light weight.
 
Best browser for reading things at least
 
It's light weight because it does all processing server side.
By all means it's not fast, at least not last I checked.
 
It is the version of IE6 which does not crash.
 
10:03 PM
guys guys guys
check this out:
 
Especially not with a less-than-optimal connection.
 
keep listening to einstein :)
 
@MikeM. How is this programming related?
 
not at all, but why not share a laugh....
 
@MikeM. Oh god he's AWESOME
 
10:05 PM
I thought you were gonna share some github repo you made lol
@SecondRikudo I have a lot of friends who use that browser, and it is really fast.
 
You know what else is really fast? Lasers
But that doesn't mean you should use them to browse websites with
 
And sites like google, fb etc. spoil users by supporting such browsers.
oh btw @SecondRikudo, @KendallFrey said he uses Opera Mini -_-
 
@AwalGarg Spoiled? If your websites doesn't require JavaScript, don't fucking use JavaScript
Otherwise, it won't work in Opera Mini anyway
With very few exceptions
 
Hello!!! Can someone describe the computation model RAM (Random Access Machine) ?? What is this?? What does it do??
 
10:12 PM
Never heard of it, is that when you break into peoples houses and use their computer?
 
!!tell Mary wiki Random Access Machine
 
-_-
btw, it is my day 2 of using duckduckgo and strictly avoiding using google. Can't see much difference, except that duckduckgo is fast, without any userscript.
 
Cool, I've scanned through that wikipedia article and I'm still going to pretend I've never heard of it
 
she has a peanus XDDD
 
10:29 PM
@MikeM. I just watched the whole thing (part 2 as well), this guy's the best XD
 
IKR :)
That kid is also funny
 
Note that file:// and localhost:// URLs are not supported in Opera Mini. Your page needs to be on a publicly accessible URL (behind a password is OK of course) in order to be viewable in Opera Mini.
how about I punch the opera team in the face
 
user2985029
golden brown
 
How about you stop complaining because you terrible website doesn't work
5
 
If I have elem.addEventListener('click', function () { ... }); is the anonymous function recreated and destroyed each time the 'click' event happens? If so, would it be best to assign the anonymous function to a variable and pass that to the argument?
 
10:40 PM
@crypticツ No
@9205892 Stop spamming
 
6 messages moved to Trash
Holy shit is it fucking idiots day or something?
 
user2985029
@copy come on celebrate with me
 
LOL
 
user2985029
are you so bitter that you cannot face me
 
Celebrate 9205892 day?
 
user2985029
10:41 PM
bitch
 
Pretty sure I get stupider everytime @9205892 opens their mouth.
 
@9205892 You are gonna be kicked any minute now, wait for it.
 
user2985029
chicken
 
XD
 
user2985029
turkey
 
user2985029
10:42 PM
cabbage
 
\o/ copy!
well, that guy was mildly funny though.
:P
 
10:58 PM
linux people, help me please. I type xyz command in bash, which gives me some output, and I grep abc, now how do I get the string following that abc uptil 10 characters?
(say the output is abc 1234567890, I want 1234567890 only)
 

« first day (1527 days earlier)      last day (3421 days later) »