« first day (615 days earlier)      last day (4349 days later) » 

2:00 PM
Quite sad
 
created a machine to make unique art and poems (at a university level)
 
Nice
 
speaking of books, what do you guys think of Atwood's reading list?
 
@SomeKittens Never dug into GPUs; they could be a step forward. But it's not all about paralleled calculation; it's also about the structure of the machine.
 
when he was like 16 made a computer (remember this was before the days of computers :) ) that composed music
 
2:00 PM
A computational web, instead of a line.
 
@rlemon I'm taking an AI class next semester, I'll look into him
 
@RyanKinal Hear hear! I just got more books as a pre-birthday present. People want to kill me.
 
sorry 17
 
@Zirak Yeah, the differences are pretty neat, but I do agree that we need to be looking to a leap forward in processing tech, not ever-smaller shuffles
 
and itwas 1965!!!!!!!
he is pretty much my freaking idol
 
2:05 PM
 
@Zirak I'm halfway through "The God Delusion", plus "Burning Silk" (written by my aunt), then I have "Godel, Escher, Bach", "Out Stealing Horses", "The Girl With the Dragon Tattoo", "The Hunger Games"... so much reading to do.
 
You can skip Hunger Games
Awesome tech stuff > teen fiction
 
I got 4 books last christmas and I haven't even cracked the cover.
 
Well, I can tell you that you can skip "The Hunger Games". It started out nice, then got crushed and burned into a cheap, dull and story-less romance.
 
I am looking forward to the drunkards walk.
 
2:06 PM
@Zirak I have no plan to read past the first in the series
 
Probably still a better love story than twilight :p
 
Twilight isn't a love story... it's a fucking joke that got taken too far.
 
hunger games is basically battle royale :/
 
Twilight isn't a love story. It's a Stockholm Syndrome story.
 
@ThiefMaster What you and I have is a better love story than Twilight
 
2:07 PM
Hahaha
What a mosquito and its victim have is better than twilight.
 
are you guys kidding me? twilight made me cry
 
"OMFG HE'S IN YOUR BEDROOM CALL THE FRIGGIN' POLICE"
 
The ingredients of my sandwich (mayo, cheese, pastrami) make a better love story than twilight...
2
@FlorianMargaine of shame?
 
nah, I just lied.
 
2:08 PM
"YOUR DAD IS THE POLICE. JUST CALL DOWN THE HALL."
 
Ehoooooooooooooooooooooo
 
You want good vamp books
Anne Rice
She is where it is at!
 
If you want a good vampire novel that uses romance right: amazon.com/Vampire-Mists-Ravenloft-The-Covenant/dp/078694871X
 
can I flag that?
 
2:09 PM
lol
[cv-pls]
 
Find his address and stone him. With big rocks.
Made of garlic
 
?
..
 
^ @Abhishek is wearing this while he codes.
 
LOL
 
" sorry boys " -» where did you find this shirt image ?
 
2:11 PM
@rlemon i was just kidding about twilight :3 <- mischief face
@DieVarDump Its him wearing it ;-D custom printed
 
@DieVarDump LOL I honestly saw it in a local Jean Machine... so I knew they existed - quick google later.
 
(this will probably be flagged) How do vampires give blowjobs?
 
LOL
 
@rlemon Where ? I want to buy it :o
 
@Zirak you sire have a point there :! , they like blood eh ?? oh now i see why vampires try to lure young women
[this will get flagged for sure if you get what i meant ]
 
2:13 PM
 
@Abhishek the Witching chronicles and Vampire chronicles by Anne Rice are very well written.
 
if you are actually looking for that genre
 
Only vampire book I've read
 
2:14 PM
@rlemon will buy em
 
(cookie to whoever can figure out why)
 
GF question
 
because networking sucks the life from you
 
what do you do if your GF is a Java Coder ?
 
You dump her.
 
2:16 PM
you create a sexFactory and run that shit double time.
 
well this escalated quickly
 
@ThiefMaster not an option pal i love her more then myself
 
I couldnt have a partner into programming lol
 
@ThiefMaster Hey now, Java isn't that bad
 
@Loktar my bad shes a Java Programmer and i am trying to teach her proper C++ and JavaScript
 
2:16 PM
(not saying it's that good either, but it could be worse)
 
it is always strange to see the viciousness displayed towards different languages
 
oh and ofcourse CSS
 
@Abhishek constantly correct her code with the c# equivalent. just for the trolls.
 
@Abhishek lol
 
2:17 PM
That would be the other option!
 
@SimonSarris yeah it is weird actually
 
@Abhishek Wait, you're complaining about her knowing Java and you're teaching her CSS?
 
languages are almost like sports teams
 
lol
 
no...
 
2:17 PM
same end goal.. but people have the ones they love and hate
 
LOL
 
Languages are like countries... you can live in one... know it sucks... know why it sucks... but if anyone talks bad about it...... RLEMON SMASH!
 
@Loktar languages accomplish a lot more than moving a ball from point A to point B
 
@SomeKittens haha true
/me isnt a fan of most sports
just thought it was a fitting analogy, since people have pretty strong feelings towards sport teams
 
@Loktar is a person who is teaching his children how to make games!
 
2:18 PM
:P
 
and leaving comments

// fixed by dad!
 
haha
 
@Loktar Same here. The only time I pay attention is when I'm watching base/football with my dad. (he isn't too much into sports either, just likes watching strategy)
 
@Loktar I think back to our Canada vs USA debate... kinda like the PHP guys debate with the Ruby guys..
 
haha yeah @rlemon
 
2:19 PM
but behind closed doors they both are like "Yo dude our language effing sucks"
 
only difference was Merica is always right!
I kid I kid
 
@Loktar i am kinda handling kids aswell [ but my classes are for poor , would you like to give em a lesson on web well what web is ? , i will interpret your langauge to what they can understand]
 
@Loktar says the country that cannot even spell it's own name :)
 
@Abhishek oh Im a terrible teacher
ill be the first to admit that
 
@Loktar same here ;-)
 
2:19 PM
Im better at guiding rather than explaining
 
hmm
 
I'm a good teacher with little patience ... kinda a conflicting trait.
 
i will see if these kids can make it that level
 
basically I cannot teach the dumb or ignorant.
 
haha I have little patience as well
 
2:20 PM
-1
i have patience with kids , else patience === undefined , well i have a soft corner for poor i have seen poverty myself back in my childhood days living in rural india so yeah i get a lot of patience when i am trying to teach the kids , cause i know how they are like and what they have to through in order to come to the class
 
@RyanKinal If you're into short stories and oddities: smallbeerpress.com/books/2001/07/01/stranger-things-happen It's CC licensed; you can see it here: smallbeerpress.com/creative-commons/?category=3
 
WEE! BOOKS! :-D
 
@SimonSarris whats the correct tag for wpf-canvas, tried to edit one today, couldnt remember
 
Kelly Link won a round-the-world trip in a contest. The contest question was: "Why do you want to go around the world?" Her answer: "Because I can't go through it."
 
@ai ?
 
2:23 PM
@Abhishek messed up :?
 
alright
 
lol
 
I'm gonna make a snake game
 
funny
anyways am offline studying mechanics :-)
 
I made the canvas element
got the context
 
2:23 PM
@Zirak That's awesome
 
see ya
 
see yall laters ;-) have a good day at work
 
and now I have no idea where to begin :D
 
@FlorianMargaine grab the Nihilogic cheatsheat
 
@FlorianMargaine I think @rlemon made a snake game
 
2:24 PM
@Loktar yeah he did, but I want to do one from scratch
 
@FlorianMargaine oh yeah, I meant hed be a good one for tips maybe
 
@Abhishek I got it already :p
 
@FlorianMargaine you can see nihilogics tutorial
on opera dev
 
I mean, I know how to work with canvas (the methods et al), but I don't know where to start
 
2:25 PM
or his blog he kinda sorta was the earliest adapters of canvas right , and you have Loktar in the chat aswell
 
how to structure all this shit :|
 
@FlorianMargaine ever done rendering with C++ ?
 
never did anything in C++
 
ouch
 
did some C tho
 
2:26 PM
@rlemon "linear on a log scale" I'm loving Triangulation
 
can I ask a question about batch file for shutdown here?
 
sure
 
0
Q: A batch file for shutdown with prompt option to abort it and re-run after a certain time of amount?

avirkI have a batch file to shutdown the PC @echo off Shutdown /s /f /t 600 /c "Your system will shutdown in 10 min" To abort this operation I've another one shutdown /a Now what I'm looking for is there any way that when I launch the first batch file it should prompt me to abort th...

 
Looks like you've already got your answer in the first comment
 
@SomeKittens yes but no idea how to use it. Not a deep knowledge of the batch scripting
 
2:30 PM
Well, I can't help you. All my scripting is Linux/bash.
 
@SomeKittens thats sad :(
 
@avirk If knowing linux is sad, xkill me.
 
pkill @avirk
Windows CLI sucks.
4
hard
 
@Loktar either do wpf-controls or xaml or both, I just did one
 
@SomeKittens no, i mean that is sad thing for me
 
2:33 PM
if there's xml in the code sample do xaml, otherwise wpf-controls
 
ok thanks
 
@rlemon cygwin+sshd+putty makes it a bit more usable
 
lol
so much easier!
 
and guake makes using Terminal fun!
 
I think you wanted to say gentoo.org
 
2:34 PM
I remember gentoo
then I became a productive member of society
2
 
...this will be just as bad as the language wars....
 
(yeah)
I honestly can't comprehend wanting to use gentoo though
 
debian or one of it's many derivatives
 
I mean I've never seen someone go to a boat store and demand a peddle boat
 
lol
 
2:36 PM
@SimonSarris LOL
 
On a development server it's extremely handy - no -dev packages to install separately, up to date packages, easy package creation if necessary
 
gentoo was my first linux install
 
hehe redhat was mine
a LONG time ago
 
it was mine too! And I've been scared ever since.
 
first distrib was mandrake 10.1
 
2:36 PM
back when linux fit on a single floppy
 
it wasn't mandriva at this time, still mandrake
 
haha yeah gentoo took me like 24 hours to install...
 
Ubuntu 5.10
 
I lost power in the middle and had to restart it
linux still scares me tbh
 
then I downloaded debian woody, I had to use 6 floppy disks for full install
 
2:37 PM
heh I think windows 3.1 was 3 floppies
 
heh, good ol' times
I think I still have these floppies
 
@Loktar I began with puppy , first ever OS windows 98 .
 
wait nope was like 5
ive installed puppy once
 
my redhat days
 
on a crazy old laptop
 
2:39 PM
Does anyone have a recommendation for a good lightweight distro on a netbook?
 
I remember DOS being about 8 floppies. I remember ruining my DOS machine around 5, my parents brought someone over who ran 8 floppies on the machine in sequence and lots of text flew by. When he left I just took the 8 disks and re-installed/recovered that computer over and over because I thought it was neat to watch text fly by for 40 minutes. I was pretty dumb.
 
(I primarily use Ubuntu, have played with lubuntu, Arch, JoliOS)
 
@SimonSarris hahaha
 
the later vs of dos was only 3, I still have those lol
I remember getting a boot sector virus..
 
@rlemon ugly days, heh?
 
2:39 PM
had to reinstall dos like 4 times
 
to add an event listener on the canvas, you need to use the DOM and not the context, right?
 
lol what are you doing? "installing dos mom, the text is awesome!"
 
@SimonSarris haha
 
do you add the event on the whole window?
 
@FlorianMargaine redhat 1.x fun times fun times!
 
2:40 PM
@FlorianMargaine yeah
you can just add them to the canvas
 
I never used dos [kidding]
 
first OS was MS DOS shell.
 
@Loktar will it work for arrow keys if the mouse isn't in the canvas?
 
I still remember the day I installed windows 3.1
 
dos was meh, it was usable, but heaving to mess with the config.sys and autoexec.bat sucked..
@FlorianMargaine you have to click it to give it focus
you can attach to the window too though
 
2:41 PM
that was the good old days - boot into MS DOS then load win3.1
 
yeah I'll do that
 
OMGADZ notepad! This is awesome!
 
I remember trying forever to get a sound card working
so many config.sys tweaks
 
I remember the day I got the internet - a friend comes over to see it - we were trying to connect to the only address we knew (no google back in these days - or any real search engine for that matter) and he kept arguing me on the .com
he's like "Yo it's ., (dot comma) WTF is ".com" that makes no sense robbie - you are a idiot."
ahhh good times good times
we soon gave up and played some HOMM1
 
haha
oh man homm kicked ass
my friend and I played that all the time over the serial connection
null modem cable ftw
we also played doom that way
 
2:45 PM
HOMM?
 
Heroes of Might and Magic
 
^ that
 
ahhh
I mostly stuck to real time strategy games growing up
I'd get up at like 5am before school just to play more age of empires
 
haha yeah that was a great game too
 
2:46 PM
I had a 286 though, couldnt run any rts's besides Dune2, and WC1
 
Awesome!
 
@rlemon OMG YES THAT
I remember that game
 
ah thats much before my time
my first computer was IBM PS/2? Or IBM Aptiva? It was 1992, whichever thing was out then
 
QBASIC pre-packaged games for the win
 
@RyanKinal that was probably the first game I was ever addicted too.
ever!
 
2:48 PM
@SimonSarris yeah, same here (IBM ps/2) was a 286
had like a 20mb HDD
 
I played this pre-mario world... so..
 
with a weird connector
and.. 4 mb of ram!!
 
ohh my 386
how much I <3'd you
 
lol
 
Ah, that looks familiar :-)
 
2:50 PM
1991 was the YEAR for computers man
never gonna get the quality we had back then
 
RT @p01: Opera Dragonfly - Profiler lands on default path http://my.opera.com/dragonfly/blog/profiler-lands-on-default-path \:D/
 
Look at that off white plastic... sexy!
I miss the days of serial ports :<
I found my serial mouse the other day - been holding that bad boy for like 17 years.
might even still work :) cept I don't have a pc to plug it into :<
 
I cant find a pic of the 386 I had
it was an ibm, but had the monitor built in
got it from my school for helping out the computer teacher
loves computers
 
@Loktar gee, I'd never know otherwise
 
yeah idk what Id be doing
 
2:56 PM
I have a Ultra 386 SX laptop
 
Jesus did anybody here used Macintosh OS 1 aswell ?
 
> Midwest Micro Ultra 386SX-20-$1,549 with 60MB hard drive and 1MB RAM, $1,938 with 80MB hard drive and 4MB RAM 1MB RAM upgrade-$89 4MB RAM upgrade-$289 Infotel Travel fax/modem-$105
I cannot find my power adapter :( so I'm not sure if it still runs
also I took the math coprocessor out and don't know where it is now.
and yes my desk is messy - i am aware.
btw that laptop was circa 1991/2
ok memory lane is closed.
 
...lesson: If you wrote something important on a piece of paper, (1)make sure to put it somewhere you'll find it, (2)type it out on your computer...
Over the past week or so I've been writing something, on paper...now I have pages 1-3, 5, and there was also a page 6
 
hello dear dudes
 
@MeLight morning/afternoon/night/total absence of stars to you
 
3:09 PM
@SomeKittens thanks, i think i thought of the answer two moments after the greeting
I should write it down!
 
PHEW, found it. Right under the box of dead mice.
 
@Zirak ewwwww
 
what? I showered three days ago
 
@Zirak just remember to cook them all the way through or else the bones don't get nice a crunchy.
 
Mice are best raw. Just saying.
 
3:15 PM
ewwwww.... you probably are one of those who eats their raccoon with a knife and fork too...
prude
 
crap. Wasn't the last page. Unless "She seemed to" is really the ending
 
0
A: Parent-child event

KooiIncBeside using stopPropagation you can also check for a condition before handling the event (an event delegation approach). This way you can also use live event handlers (replaced by on in jQuery nowadays, if I'm correct). See this fiddle

like my god people still recommend live!
RTFD FFS
 
We need a language that dynamically creates types at my whim
 
if I want to submit data with base64 encoded, is setting content-encode-type to base64 suffice? I mean will browser do the base64 encoding for me, or I should encode it myself.
 
"Ordinarily, on a web page, the V8 engine assembles" - just nit picking... there is a world outside of chrome :) — rlemon 26 secs ago
 
3:28 PM
set content-encode-type to base64 is merely indicator for server that the coming data was supposed to be encoded by base64.
 
@didxga iirc you have to encode it with JS
php has built in functions for this. js does not (to my knowledge) unless you are dealing with the canvas interface
51
Q: How can you encode to Base64 using Javascript?

usernameI have a PHP script that can encode a PNG image to a Base64 string (which is pretty easy since there's a PHP library that provides Base64 conversion) I'd like to do the same thing using Javascript (in the XUL Javascript environment). I know how to open files, but I'm not sure how to do the encod...

 
ok, they say php ignore content-encode-type
 
but i'm proven wrong again
 
a bug related to php
 
if you want to encode via JS you need to provide a method. nothing native.
 
3:30 PM
Ugh. 377 rep, but 6 gold badges. I feel so futile.
 
1
A: How to send binary multipart formdata as base64?

didxgaIt seems that you can set Content-Transfer-Encoding: base64 quote from W3C: Each part may be encoded and the "Content-Transfer-Encoding" header supplied if the value of that part does not conform to the default (7BIT) encoding http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.2 P...

 
this is how I send my canvas image as base64 encoded string
 
so do you have any complement for this question
 
basically the browser can be made to do the conversion if you give it the ability to (ie include the function)
 
posted on June 22, 2012

On Friday 14th of September, Web Conferences Amsterdam will team up with PhoneGap to organise the first PhoneGap Day EU in the Compagnietheater in Amsterdam. Tickets are a mere €150, and until 1st of July we even give an additional discount of €50. PhoneGap Day is ... well ... a day about PhoneGap. The larger part of the PhoneGap team will be available on that day, and while we're

 
3:33 PM
why does everyone love adding plugins to their site but small, fast, pure old js snippets scare the crap outta them
 
@rlemon because everyone wants someone else to blame when it inevitably goes wrong
 
gist: 2973514, 2012-06-22 15:34:24Z
var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(c){for(var a="",d,b,f,g,h,e,i=0,c=Base64._utf8_encode(c);i<c.length;)d=c.charCodeAt(i++),b=c.charCodeAt(i++),f=c.charCodeAt(i++),g=d>>2,d=(d&3)<<4|b>>4,h=(b&15)<<2|f>>6,e=f&63,isNaN(b)?h=e=64:isNaN(f)&&(e=64),a=a+this._keyStr.charAt(g)+this._keyStr.charAt(d)+this._keyStr.charAt(h)+this._keyStr.charAt(e);return a},decode:function(c){for(var a="",d,b,f,g,h,e=0,c=c.replace(/[^A-Za-z0-9\+\/\=]/g,"");e<
c.length;)d=this._keyStr.indexOf(c.charAt(e++)),b=this._keyStr.indexOf(c.charAt(e++)),g=this._keyStr.indexOf(c.charAt(e++)),h=this._keyStr.indexOf(c.charAt(e++)),d=d<<2|b>>4,b=(b&15)<<4|g>>2,f=(g&3)<<6|h,a+=String.fromCharCode(d),64!=g&&(a+=String.fromCharCode(b)),64!=h&&(a+=String.fromCharCode(f));return a=Base64._utf8_decode(a)},_utf8_encode:function(c){for(var c=c.replace(/\r\n/g,"\n"),a="",d=0;d<c.length;d++){var b=c.charCodeAt(d);128>b?a+=String.fromCharCode(b):(127<b&&2048>b?a+=String.fromCharCode(b>>
6|192):(a+=String.fromCharCode(b>>12|224),a+=String.fromCharCode(b>>6&63|128)),a+=String.fromCharCode(b&63|128))}return a},_utf8_decode:function(c){for(var a="",d=0,b=c1=c2=0;d<c.length;)b=c.charCodeAt(d),128>b?(a+=String.fromCharCode(b),d++):191<b&&224>b?(c2=c.charCodeAt(d+1),a+=String.fromCharCode((b&31)<<6|c2&63),d+=2):(c2=c.charCodeAt(d+1),c3=c.charCodeAt(d+2),a+=String.fromCharCode((b&15)<<12|(c2&63)<<6|c3&63),d+=3);return a}};
there he can include this
problem solved
 
XD XD you guys gotta see this
 
and nooooowwwww
 
see it :P
 
@Abhishek seen it
 
point 36
 
it's the google workout map
 
ahahahahahahhahahahhaha
who the hell coded it must be a Pro Kayaker
lol
 
3:47 PM
Row Row Row the boat gently down the Atlantic !
Merely Merely Merely Merely its just a small sea !
 
YES
exactly 1024 rep
 
@SomeKittens Not anymore evil laugh
 
@Zirak Darn you to Heck!
 
Hi to All
 
@ThiefMaster May I request an abuse of your moderator prowess? Heat this up pl0x: chat.stackoverflow.com/rooms/7206/room-for-chatbot
 
3:51 PM
huh?
 
Can't moderators unfreeze rooms?
 
@Abhishek hi Abhishek i'm ios developer i new to javascrit. Can you help me on how show 20% of image in script
 
@Vassan what ? show 20% of image as in ?
 
@RyanKinal @ThiefMaster
 
20% of image size ?
 
3:53 PM
Done - didn't know what exactly you were asking for (deletion or unfreezing)
 
if so just make something like say if the img height is 200px

var img = document.getElementById('img-element');
img.style.overflow = 'hidden';
img.style.height = img.height * 0.2;
 
@ThiefMaster Thank you! At last...a sandbox! MUAKAKAKA
 
@Abhishek Thanx for reply. The problem is i have iphone screenshot its size 320*480. when user is not buy app it show 20% of the image only
 
for that you can better use CSS you know ?
 
@Zirak any reason why your chatbot isn't a standalone node process yet?
 
3:55 PM
@Raynos I'm lazy
 
@Zirak stop that. It will ruin you
 
@Abhishek sorry i don't know . can u help
 
Is there a proper API for the SO chat?
 
wait let me type that
 
@Raynos I'll stop procrastinating later
 
3:56 PM
@Abhishek sure
 
css
.img-container{
height :96px;
overflow:hidden;
}

markup
<div class="img-container">
<img src="Image.png" />
</div>
 
@ThiefMaster not afaik
looked like 4 months ago
 
@ThiefMaster Nope. I use xhrs all the way down: github.com/Titani/SO-ChatBot/blob/master/source/adapter.js
 
@Vassan thats how you do it in CSS and HTML no js involved though i would recommend you if you have to just use 20% of the size of image loading the 480px image would be an overkill
 
@Abhishek Thanx a lot
 
3:58 PM
it would be better if you are just going to load 320*96 image [if u just have to show 20% and not show more ]
 
@Abhishek @no i can use CSS in iphone
 

« first day (615 days earlier)      last day (4349 days later) »