« first day (763 days earlier)      last day (4410 days later) » 

11:00
@mmmshuddup Did Kurt Cobain shoot himself in the head?
So they can then show off how big a liar he was the previous term
the idea of this bipartisan crap is just a hoax
it's a farce to trick people into thinking they have a choice
It's funny how the US presidential system is essentially in binary
LOL
@Zirak best comment so far
We should get a random number generator to decide on this shit
11:01
hahaha
I would totally go for that
Humans fuck it up; you can legally punch machines
SSK
SSK
@Zirak are you comedian ?
@Zirak How will you make sure it's random enough?
What's really ridiculous is the disparity between American opinions of the candidates and the international opinions of the candidates
@AmaanCheval Pray to God or whatever makes the voters seem confident
In essence it does return 1;
11:02
@Zirak :D
I don't think ridiculous is the right word, but I know what you're saying yeah
Atheist woman president please.
@Zirak Reminds me of the XKCD comic
Yes it is
it's absolutely fucking RIDICULOUS
11:03
America, essentially 50/50. Rest of the World 90/10
Exactly!
@AmaanCheval lol
SSK
SSK
@AmaanCheval LOL
anyway you people think China will start hammering USA ?
Startup: Service controlling thousands of dice. Each time a random number is requested, dice are rolled, results are shown.
I like the title text of the comic
11:04
Amaan no its just that i just bought a new phone
@FlorianMargaine Oh, cool! Which one?
Im currently typing with the galaxy note II
Congrats
Having fun cya :)
Whenever you don't @ someone, I know you're on mobile :p
Bye!
SSK
SSK
11:05
Congo :))
Why u didn't bought galaxy S3 ?
@phenomnomnominal yeah because so many other countries are already socialist that of course they would be in favor of that. be the US is a constitutional republic. big government is the worst form of government there is
it's like what Benjamin Franklin said... Democracy is two wolves and sheep arguing over what to eat for lunch.
The Sheep already ate the cabbage from the previous riddle
Call it what you want, American government is broken
@phenomnomnominal yes...yes it is :(
Doesn't change the fact that Barack Obama is a better president and has more of a chance of creating change for the better that Mitt Romney
SSK
SSK
11:08
hmmm USA is already Broken ... they have money , Big companies
People, this is important!
1
Q: Add two time variables in javascript

GuruHow could i add two time variable in javascript. for example1: var a = 17.30hrs var b=1.30hrs so total should be (a+b) = 19.00hrs example2: var a = 23:00hrs var b = 1.30hrs so total should be (a+b) = 00.30hrs Here we can use 24 hrs time format. Thanks in advance for the help

Go back and read the original constitution, sans amendments. That America is long gone.
@SSK in that context, I think you mean to say "broke" not "broken".. "broke" means basically out of money.. or bankrupt. which is true, yes.
@phenomnomnominal I know. we all die a little on the inside every day over that fact
SSK
SSK
@mmmshuddup :)
meh, capitalism was never meant for diversity.
11:10
I can't imagine pledging allegiance to such a lie
Can't have freedom or equality with money. I propose a form of currency based on custard pie.
@phenomnomnominal ha. the ACLU is trying to get rid of the pledge of allegiance. if that tells you anything.. all in the name of this supposed "diversity." which brings me full circle to one of my original points. that global government has only served to deeply worsen things
Diversity can never be a bad thing
@phenomnomnominal Whoa, just saw your Github
The clouds look pretty cool!
@AmaanCheval, haha theres a BIG bug in it
11:13
@phenomnomnominal yeah when it happens naturally. not when it's forced on everyone
It's on my list of to fix
@phenomnomnominal What is it?
You using three.js or something?
For some reason the draw order gets fucked up
Yeah three.js being fueled by a 3d CA
@mmmshuddup, what is your idea of it being forced on people?
SSK
SSK
I am OFF
@phenomnomnominal oof thanks for asking. where to begin.. let's start with affirmative action. how about the US' immigration/border policy(ies). how about the fact that they want to get rid of the pledge of allegiance because it offends people that have no business being there in the first place and flat out refuse to assimilate. etc. It's really something that is best experienced not explained. the US is the proverbial "melting pot" after all..
11:19
You seem to be missing the point that everyone in America, with the exception of the indian peoples are immigrants. Why do people from other countries not have the right to help build your 'home of the free'? Did the original white europeans assimilate to the native american way of life? This is just a steroetypical example of what seems to be a common american point of view: that everything is a right, not a privelidge.
so many of these things they've forced on people have only served to perpetuate other issues and further deepen the gaping chasm between groups of people
@phenomnomnominal so is every other nation on this earth basically. The spanish stole mexico. canada was taken by the English. Australia was populated by so-called criminals. none of us actually CAME from ANYWHERE.
You mean like working many, many jobs to give their children a better life, when the richest can't even be fucked to pay tax?
but the fact remains...
America has a society that has existed for 200+ years. people that just RECENTLY go there have no right to complain.
and actually. in some other countries it's actually downright illegal to form a public opinion on the government if you're not a citizen.
guys guys
please stop flagging political opinions
flagging?
11:22
if you disagree just say so, no need to flag stuff
I don't know who is doing any flagging but it certainly wasn't me
@mmmshuddup You are the one being flagged
@NikiC LOL of course.. can't say i'm surprised by that. funny though. I haven't said anything demeaning about anyone. nor anything of the sort. nor have I used profanity. I don't get how any of my comments could be flagged.
The modern America hasn't existed for 200 years. And maybe if people had a more progressive attitude and listened to some of their opinions, they could help fix some of the problems
I haven't flagged anything either? Don't know how
and to whomever has an opinion, let's hear it. flagging something like this is weak.
11:24
i agree. personally, i think it's an important topic that really should be debated more.
at least until it degrades to calling each other faggots.
finally! the idae of this being "taboo" is just a way to shut people up
@phenomnomnominal LMAO
literally I busted out laughing from that one :)
My ideal election would be one preceded by an IQ test...
YES, I agree
I also thought voting should as well.
not an IQ test though. but more like a general aptitude test.
if you don't know certian things you shouldn't be allowed to vote :) (but like basic things obviously. it's not meant to be prejudice)
11:27
Any one with 'who is running for US president' in their google search history should be disallowed
On the contrary, it SHOULD prejudice. Just not by race, gender, sexuality or religion!
right. good point
well.. maybe by race. lol jk
too soon? :P
I think Henry Rollins should be president lol
@phenomnomnominal I think we scared everyone off.. :S maybe it's time to get back on topic with JS?
Just quitely, Rollins voted for Obama :)
sss figures
haha
11:31
And yes, YAY JAVASCRIPT
:)
curiously, what else do you program in?
python, c#, bit of c++, lots of matlab
:O
I started with C/C++ but it's been a long time. now i'm doing PHP and I love it actually
@phenomnomnominal I've recently started using matlab a bit
I hear C# is all the rage.. that initially surprised me quite frankly. kinda makes me wanna check it out
11:33
@NikiC, yeah what are you using it for?
I think that matlab is kinda really terrible language, but at the same time it gets the job done so freaking well
it's fucking awful haha. but so so quick
A bit like PHP ^^
I barely have heard of it
@NikiC is PHP such a terrible language? I think it gets its bad rep from the cesspool of crappy code and programmers out there
i personally HATE PHP
except for it's name
11:35
it bears a striking resemblance to PCP
I like how it stands for PHP: Hypertext Preprocessor
YAML is a fun name
it's one of those recursive acronyms. I forget the technical name for that
@mmmshuddup It's hard to say for me; my opinion on the topic wouldn't be impartial.
@NikiC yeah. still, I'm curious :)
11:37
npm - recursive bacronym for "npm is not an acronym" :)
GNU is an awesome recursive acronym
GNU's Not Unix
@phenomnomnominal haha yes, that.
I mean, in a way it's a really awesome language because it can scale from quick and dirty code to heavy OO application. On the other hand PHP has so many dirty little secrets and odd behaviors
Zirak is an anagram for krazi.
Shit. Now you know. You must be eliminated.
11:39
@NikiC haha yes that is true. but if you can properly wield said behaviors it becomes better
@phenomnomnominal does C# require the use of Visual Studio?
And it's really hard to get rid of those old annoyances :/
I don't know if it requires it, nothing stopping you using a text editor. But they do go very nicely together
Mono is a free and open source project led by Xamarin (formerly by Novell and originally by Ximian) to create an Ecma standard compliant .NET Framework-compatible set of tools including, among others, a C# compiler and a Common Language Runtime. The stated purpose of Mono is not only to be able to run Microsoft .NET applications cross-platform, but also to bring better development tools to Linux developers. Mono can be run on many operating systems including Android, BSD, iOS, Linux, OS X, Windows, Solaris, Unix, and some for game consoles such as PlayStation 3, Wii, and Xbox 360. The ...
whoa matlab looks almost as disturbing as APL haha
ok let me rephrase my question. does use of the .NET framework require Visual Studio? I honeslty can't remember and that's coming from someone who studied C++ and .NET in Visual Studio
@mmmshuddup It's incredibly easy to work with (much unlike APL)
11:43
@NikiC gotcha. yeah APL makes my brain hurt
@mmmshuddup Nope. You just need a .net compiler
Especially because of the way you can work on matrices and vectors just like with scalars
everything is one-index which is weird to get used to at first
@Zirak oh, right lol. dang I miss software programming
@phenomnomnominal yeah, that's annoying
11:45
I never took physics or calculus sadly. what do you guys use matrices for anyway?
Graphics
3D Transformations mainly
Also systems of equations
Theyre useful in quantum computing too
fark. I knew I should have finished school haha
I'm out of my league on such topics
@mmmshuddup I'm doing CS and physics in university and for the latter I need to analyze experimental data ;)
So mainly easy stuff like regressions and error simulations
@NikiC nice. sadly for me that ship hath sailed
I mainly use matlab for signal processing
11:48
that's advanced
Haha, not really
fft?
maybe I am glorifying it?
yeah some fourier stuff
the matlab fft is cray-cray fast
github pages have to be static aye?
@phenomnomnominal yes
it's generated using jekyll, but after that it's static
11:52
Damn
but that's usually enough ^^
to run a blog or something like that
Who has a good way to do this:

On a github page, retrieve values from a server somewhere
Run a genetic algorithm on the values
Upload the new values to the server again, so the next user has updated values.
Possible?
with js?
Set up a web app somewhere and do some JSONP?
was js the language with that shitty x-origin policy?
11:55
lol
yeah, if it weren't for that...
Oh duh, you can't post with JSONP
!!/google caniuse CORS
@NikiC what is the << operator in PHP? I forgot
11:58
bitshift left
aka times 2
ahhhhhhh yeah teh bitwise operators
I learned that so long ago and have never used it for anything -.-
@mmmshuddup a left shift
oh i'm too late
honestly I forgot those operators even existed in PHP
and << again is one of the places where you can see a nice little PHP oddity
touche!
12:00
E.g. if you do 1 << 32, what do you get back? 1 :)
because in PHP the shift operator is circular
Haha excellent, didn't know that
Same is JS!
binary math is weird haha
@phenomnomnominal Yeah? Maybe it's everywhere like that
I can't see how anyone would want to use PHP for that..
12:02
Just looked through the code and it seems like PHP's << comes down to a C <<, so it's probably the same for all langs
Maybe? I would have thought it should go to Infinity?
or need to use PHP for that matter
Hum, and I thought it was one of those PHP bugs :/
They can be very fast
true. a lot of PHP is just kinda like a proxy to C
12:02
For example, if you have a MASSIVE list of binary states
and you can store them as an actual bit (which you can't in JS)
such as for what though? in a PHP application..
You can perform binary operations on the whole lot in one step
Some data out of a database?
@phenomnomnominal Js has ArrayBuffers though
A million users with some sort of binary data attached to them
Which is kinda awesome
12:04
right yeah
Oh yeah!
So useful
Wondering whether they'd be useful in PHP ...
ugh I learned most of this stuff so long ago but haven't used it since school. everything I do in PHP is more about application design but at the end of the day it could easily be replaced by short simple scripts that read from a DB and just echo HTML ha..
hence why i've been wanting so much to get back into software programming. and why I wanna learn more Obj-C (even though I hate it)
@NikiC With 32 bit numbers, a << b is defined for b < 32. After that it's circular.
@Zirak Is that a common implementation for UB or is it really defined as such?
12:10
@NikiC a << b is basically a * 2^b, so the circularity is pretty built-in
Okay, but in JS at least, a * Math.pow(2, b) will just get bigger and bigger and then go to Infinity
Which is intuitive
Because it's not represented as 32 bit integers
When you use bitwise operators you turn the numbers into 32-bit
@Zirak One way to see it. But if you see the shift as a shift then you could expect that the stuff just get's shifted out of the range
12:12
Yeah
a << b is not a * 2^b for floats =D
!!/spec <<
ah, there. If b > 32, only the low five bits are used.
@AmaanCheval noice
12:16
!!/tell NikiC help
@Zirak That is kinda super awesome
hehe, thanks
Now I'll have to write a bot for the PHP room :(
go bots go
12:25
@AmaanCheval haven't you realized i have been less online lately ?
@Zirak i am 14 now
-.-
@OctavianDamiean :D
0
Q: My PHP AJAX bridge to jQuery library

pocesarI've been working on this library for 2 years now and using on many websites with great success. And I decided to make it public, I can assure this is the best jQuery <=> PHP bridge library there is for PHP 5.3 at the moment. I've created the documentation using phpDocumentor 2, but people are...

GAHHHH WHY DIDN'T I UNIT TEST THIS
hey… is it possible to define a class which can be called as a function?
Functions are objects in JS?
What do you want to do?
ECMAScript talks about a "[[Call]] internal property" but I don't see how to get that and also have a prototype.
Or even how to return such an object from a constructor, for that matter.
12:41
Is that not just function.call()?
Function.call inside a constructor does not work, if that's what you mean.
If I also set 'constructor.prototype = Function.prototype`, then Webkit gives me an object which is an instanceof function, but doesn't work, and Firefox refuses to run the constructor.
So you want to create a class that makes object that are functions but also have their own functions and properties?
yes. I come from a C++ background :)
I'm sort of willing to give up on having their own functions and properties. But as you said, functions are objects in JS.
The only difficulty here is having such objects belong to a class.
It's easy, for example, to write a constructor that produces an object containing a function object with properties.
I wonder if you can extend Function...
@Abhishek Exactly. He's the new one who stays here all the time
12:50
Literally change Function.prototype? That sounds horrible.
@Zirak Why do you think Abhishek is a 13 year old girl?
@Potatoswatter Why would it be bad? You could shim Function.prototype.bind for example in case the browser does not support it
@Potatoswatter - this might help you:
In a roundabout way
That is CoffeeScript...
But it is an object which extends Function, has properties and functions and can be called
@AmaanCheval nice
@Abhishek What's been up?
12:56
@AmaanCheval wiki voice and vos-broadcaster
@AmaanCheval If it talks like a 13 year-old girl, it is a 13 year-old girl. simpler than ducks.

« first day (763 days earlier)      last day (4410 days later) »