« first day (1358 days earlier)      last day (3600 days later) » 
00:00 - 20:0020:00 - 00:00

12:01 AM
-1
A: Select All Images From MYSQL database in PHP

Abhishek BatraOkay, so your code contains a lot of errors. In your html code you are using id= blah blah. So on the Php side you have to use same key ie $_GET['id'] not $_GET['image_id']. Then your mysql query should be $sql = "SELECT ImageColumnName FROM table WHERE id=" .$_GET['id'] . ";"; //ImageColumnNa...

ugh..
 
@ThiefMaster The user wrote in his comment about handling SQL injection but that's a good point. By not using mysql_* api, then how then can we retrieve the image from database ? — Abhishek Batra 4 mins ago
 
12:43 AM
woop, finished Terra's story in KH: BBS. And no one cares.
It's a pretty good game, I love how the story is further explained.
derp.
 
I have to say; I love my vaporizer
I haven't have a cigarette in 9 hours.
no issues
 
12:58 AM
That's good
You just get a bag of nicotine, insert and get on with it?
 
no I get a vial of nicotine and flavour. then I vaporize it
 
if you do a request for a html file with ajax but the user already cached it, are requests still made to the server ? according to my dev tools i still see a network request with cache turned on.
 
but I can slowly reduce the nicotine in the "juice" I put into it
so it is helpful for quitting
 
my dad tried e-cigs and it exploded lol
 
yea, you have to actually pay for the right stuff
the setup cost me ~$350
 
1:05 AM
@dave should be. You may still see the request
 
I looked at a lot of reviews before I got one
so far I'm more than pleased
 
@SomeKittensUx2666 oh okay, my dev tools doesn't specify if it came from cache or my server. which is annoying
 
@Zirak it's not about being full-stack or not, it's about knowing something from the ground up. It makes you comfortable with what you're doing on a level you can't get from having a set of abstract rules given to you.
A good example is derivative. I assume they haven't changed the bagrut since I did it a billion years ago, but you never had to actually know what a derivative is, just a set of rules, such as (x^n)'=n*x^(n-1)
When I was taught what it was I was blown away by how retarded the way it's taught in high-school
but teach it properly and I guess people won't get it, even in 5 units
which is why public schools are shit and if I ever have kids they will bypass all the bullshit and go straight to uni
 
hey guys. should indexOf() and split() work with ÷?
 
1:22 AM
10 hours.
 
@rlemon Congrats!
 
well I have just switched to e-cigs
so idk how large of an accomplish it is
still get the nicotine but none of the other crap
 
It's less bad stuff in your lungs
So congrats on that
 
:)
and it is tasty
 
1:37 AM
@cantsay Yes
 
@copy thanks
must be something else
 
@rlemon congrats! Are you planning to quit entirely?
 
gonna try
 
good man
 
don't see it as a short term venture
but the no-smoke option makes it easier to cut back
 
1:45 AM
yeah, it's not nearly as harmful
 
and I can slowly reduce the amount of nicotine without effecting the change of habit
 
that's the biggest thing
 
most people try to do both at once and fail (myself included)
I think this is a much smarter choice
fighting the addiction and the habit is incredibly hard.
kudos to anyone who can do it
 
yup, kill the addiction first, then the habit
 
I will also enjoy the health benefits and cost benefits during the process ;)
and did I mention it comes in nice flavours
mmmm
 
1:51 AM
Does it have a bacon flavour?
 
probably
i went with captain black cherry
but I think next I will get Banana
 
I just finished Star Wars. Should I watch The Clone Wars, or move on to something else?
 
I'm watching Dr. Who right now
you should as well
 
That's not what I asked :P
I still want to watch Star Trek TNG
 
lol go for TNG
best star trek IMO
 
1:56 AM
!!/welcome SterlingArcher
 
@SterlingArcher 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.
 
2:34 AM
ok, origin is not only a piece of shit because it's from EA but it's also a piece of shit tech-wise.
their website localize based on ip location and there's a language dropdown on the bottom of the site but it only allows me to select language spoken in my current region ...
and apparently people complain about this since ~5 years and they don't give a damn..
 
 
2 hours later…
4:29 AM
Hi
@rlemon i approve of that.
 
4:42 AM
@ThiefMaster prays and opens the site expecting to see hindi
 
 
1 hour later…
5:56 AM
@ThiefMaster it opened in ENGLRISH
 
6:07 AM
I just came back from A&W
they discontinued their large fucking cups
canada man
if they tried to pull this shit in the US, there would be riots
cities burned to the ground
 
hello, I need help, I'm doing a Boostrap collase, but the toggle part doenst work, could any of you give me some help on this jsfiddle.net/emigort/4KZfa to find what is the problem
 
6:29 AM
@EmilioGort what doesn't work?
 
@Mosho when I click in one element it open the submenu, but when I click another the other element doesnt hide
 
6:54 AM
@EmilioGort you need <div class="panel"></div> around each one
 
@Mosho are you refering to class="panel-title" and class="panel-body"
?
 
@EmilioGort it doesn't seem to work with <li> wrappers
 
should be that..
 
or wait
 
it's working in your example
 
7:03 AM
yeah
 
thanks...just change the first level to div no?
 
add the div with the class, and make each not a list item
can't get it to work with <li>
although you could do it with js
 
7:28 AM
yes...'m working to do with js...because is a headache change the script to make the list
 
8:12 AM
@ThiefMaster When @OctavianDamiean and I wanted to play together, we had this weird bug where after the first game ended, Origin still showed us as connected, so we couldn't invite each other.
Googled it, it's been a complaint since the game's release.
 
user652649
@SomeGuy ahahahahahah
 
user652649
8:31 AM
@SomeGuy I heard there was a solar flare today
 
user652649
that's the best so far :D
 
8:47 AM
"Well done, you found my easter egg!"
 
9:37 AM
@rlemon please give me the link to your JavaScript image library on github
 
@shortCircuit How about you go to his github page and find it yourself?
 
I don't have that link either
 
!!tell shortCircuit google github rlemon
 
9:49 AM
Thanks commando
Looks sexy that image of his
@Zirak how do you look?
 
@shortCircuit Like a newt after being raped by an octopus.
 
Eww that's sad.. Probably the octopus was making love, 8 legs must have made u feel raped, poor soul that octopus. :(
 
10:04 AM
Erm, @Zirak?
Did you transfer that to me by mistake? :p
 
Wow, duck-donkey...that was old
I deleted that a while back
 
Should I transfer it to you or delete it?
 
So no transferring. Maybe it doesn't show up as a fork if the original is deleted?
 
Maybe. I don't remember forking it
 
It was abandoned after realising I don't care enough to fix irclib's horribad utf8 handling.
Delete it if you want
 
10:08 AM
A sudden urge to learn python one evening leads to a bot ...
 
woop, beginning BBS as Aqua. And still. No one cares. Woop.
 
10:54 AM
Aqua is weeeaaakkk
Beginner battles take longer than Terra's endgame...
 
11:06 AM
jsfiddle.net/AhpLF <- I refuse to understand how can somebody with access to google cannot create that ?
 
11:44 AM
Interesting, but relatively unknown attribute: accesskey.
It allows you to do things like <input accesskey='c' />, and when you hit Alt+C, the input will be focused.
 
@SomeGuy why is your name someguy again?
 
He wanted to join Anonymous.
 
@BenjaminGruenbaum I want to build my own bootloader, kernel, etc. Do you have a resource, kinda like a tutorial?
 
0
Q: Resolve promises one after another (i.e. in sequence)?

XåpplI'-I0llwlg'I  -Consider the following code that reads a collection of files in a serial/sequential manner. readFiles returns a promise, which is resolved only once all files have been read in sequence. var Q = require("q"); var readFile = function(file) { ... // Returns a promise. }; var readFiles = functi...

 
@FlorianMargaine an OS book?
 
12:04 PM
@FlorianMargaine wiki.osdev.org/Main_Page
 
from today i will do mobile first && offline first && internet explorer for mobile even first before first before the firstest first ever firsting in the first world.
 
user3141603
12:27 PM
Hello.
How can I "textify" div except images?
I'm using "$("#DIV").html($(this).text());" I want it to delete all html and leave only text and images. I have no idea what to do to keep the images
 
Hi all the javascript loving freaks :D
 
@VladGincher well , you just add more jquery
 
user3141603
Is there a short way? :D
 
Only if you have lots of money
 
user3141603
;(
 
user3141603
12:37 PM
I have 10 ILS
 
I don't want you communist money
 
user3141603
communist? What?
 
user3141603
ILS is LOVE
 
@VladGincher We have to go deeper.
 
Hey can anybody do a small test for me ? [ pretty please ? ]
 
12:39 PM
You'll have to take the pill.
THERE'S NO TIME
Jump on this freight ship
 
use webrtc to find the maximum resolution of camera your phone supports ?
 
user3141603
@Zirak You want to by a web programming?
 
user3141603
buy*
 
user3141603
:|
 
No thank you, I already bought 4 embedded programming this month
 
user3141603
12:41 PM
I'm suffering from rockets everyday. It's like giving money for a poor man
 
user3141603
Give me your 10K$ now!!!
 
And there are villages in Africa dying because they don't have clean water
 
user3141603
So buy from them programming too...
 
user3141603
What do you think about my Avatar?
 
user3141603
It looks like me
 
user3141603
12:44 PM
I'm so hot
 
1:03 PM
you like symbols from some lost civilization, probably in which brain wasn't required for sustained existence.
 
user3141603
@AbhishekHingnikar What? :|
 
user3141603
What lost civilization?
 
for us peace loving humans those symbols look like ancient mayan or somehting
 
user3141603
I love peace too!
 
user3141603
(You know that this is the default avatar in SO, right?)
 
1:13 PM
well there isn't much "peace" here
 
user3141603
@Qantas94Heavy Where is here?
 
user3141603
Where are you from?
 
user3141603
I didn't see...
 
user3141603
You are 15? :D
 
user3141603
I'm 16!
 
1:16 PM
@AbhishekHingnikar still need anyone to test?
 
user3141603
@Qantas94Heavy where are you from?
 
user3141603
How is your English that good?
 
user3799134
Hey guys, any of you has to deal with the HTMLAudioElement ? Especially with looping sounds ? Try my game in IE : http://stevehemond.com

Then try it in Chrome : in chrome there is a little silence gap before the sound is played again
 
@s.hemond 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.
 
user3799134
(the saucer sound)
 
1:21 PM
Yeah, <audio> elements aren't really good for accurate timing (especially for games).
 
user3141603
@Qantas94Heavy ...
 
user3799134
@Qantas94Heavy Thanks I will take a look at that API
 
user3141603
@Qantas94Heavy Are you from the middle east?
 
user3141603
4 mins ago, by VladGincher
@Qantas94Heavy Are you from the middle east?
 
user3141603
1:28 PM
If you don't want me to ask so say that you don't want, but say something...
 
user3141603
:D
 
@s.hemond: note that it isn't supported under IE (including IE9+), which is a shame.
 
user3799134
@Qantas94Heavy Yeah I realized it when I got that popup when I browsed to the web api webpage, that's sad
 
Though for some reason it hasn't been as bad as Chrome with timings in my (very limited) experience
that's for audio elements
 
Does anyone have any experience with node+express?
If so, why isn't this file being found? var model = require('./models/model');
the file model.js is in the directory
Node just can't seem to find it
 
1:43 PM
@tjons permissions?
 
Not an issue
 
internet makes me sad
5
 
look for the [x] then
 
don't extend Object.prototype
seriously
haven't we been over this?
 
1:53 PM
Yes
 
so why still go down the wrong path?
 
, I was trying, I won't be doing that in real life
 
5
Q: Object.prototype is Verboten?

Elias Van OotegemRECAP: Ok, it's been a while since I asked this question. As usual, I went and augmented the Object.prototype anyway, in spite of all the valid arguments against it given both here and elsewhere on the web. I guess I'm just that kind of stubborn jerk. I've tried to come up with a conclusive way...

 
wohoo! I'm in england!
my sister just graduated an oxford college with 91.6
so we came to visit her
this is amazing... there are quite a few programmers in her school aswell
not web developers sadly... but still
 
@towc: what, Java? :p
anything else
 
1:59 PM
@Qantas94Heavy mainly c and c++
some java aswell
 
Anything else you doing in England?
 
@Qantas94Heavy well, my family rent a camper and we're going to go places
we'll probably go to the theatre festival in edinburgh
then maybe visit stonehenge and cambridge
but other than that we have no plans
anyone currently in england here?
 
@rlemon, @shortCircuit meh, you can extend Object.prototype if you're careful about what you're putting in, and make sure it's not enumerable.
 
shhh no
don't tempt him
don't do it
 
It's like chocolate syrup on a cupcake.
 
2:04 PM
:D I put enumerable false
 
Without it, hey, you still have a cupcake. Put too much and it ruins everything, but put just the right amount, and mmmm
 
Haha
jsfiddle.net/2922n/1 Although I removed the Object.prototype I need to correct the code ... I am thinking something like recursion to determine whether the property has more nested properties in it
 
ok... my goal for this week is to learn a good portion of css animations... any good tutorials other than mdn?
 
user3141603
 
user3141603
Cool idea :D
 
user3141603
2:11 PM
@Qantas94Heavy Please tell me where you from?
 
@VladGincher Your website errors out web-gen.net
 
user3141603
Yeh I "closed" it a year ago :D
 
user3141603
That what was there
 
user3141603
@Zirak I had there a problem with my slider and I cant find the reason... Try entering the website from mobile phone
 
2:15 PM
bbl
 
user3141603
bbl?
 
2:31 PM
@BenjaminGruenbaum Google associates the shit I post here with my name
 
2:58 PM
@VladGincher please don't post political videos here thanks
 
I just got a yearling badge. But I don't hit three years for another month and a bit.
I'm confused
 
Ask on meta?
 
@Qantas94Heavy nope
hi guys !
 
@copy thanks.
@BenjaminGruenbaum I guess? I don't know where to start
 
@FlorianMargaine os-book.com
Oh wait, you want to write a basic OS and learn how things work in concept?
I'd start from nand2tetris.org
 
3:11 PM
@BenjaminGruenbaum actually, wiki.osdev.org seems to fit my bill
but I'm keeping your links in bookmarks
 
Cool good luck
 
thanks
writing a lisp machine sounds fun
I'll see how far I go
 
3:31 PM
Long delay when leaving page
    	if(time() - $start > 10){
    		die();
    	}
Barely noticeable delay, but requests every second
    	if(time() - $start > 1){
    		die();
    	}
Request hangs without it
So yeah it's waiting for the request to timeout before it loads the next page
 
Why did you just post php here?
 
It's server-sent events and ive been complaining about them for days
 
posted on July 05, 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) {} Happy Patriotic Hangover Day, America!

 
@FlorianMargaine OSDev is a great site
 
3:49 PM
anyone use godaddy?
if I have a custom namesesrver setting, does it ignore my cnames?
 
uh oh, Neymar has a broken back, Brazil is screwed.
 
by Brazil, do you mean the Brazillian football team?
 
They didn't have that great a chance anyway
Even with Neymar, I don't think they'd manage to make it past the semi-finals
 
4:06 PM
@JanDvorak No, he means Brazil the country.
Neymar was the only one standing between Brazil and the forces of darkness.
They're doomed.
 
How come the forces of darkness won't spread afterwards?
 
Because of people like you, Dan Jvorak. Because of people like you.
 
4:38 PM
burnt 500 calories today, ate probably several times that. :-(
 
@FutuToad that's a basic DNS question ;)
if you delegate foo.bar to a separate nameserver, anything regarding foo.bar and *.foo.bar is delegated to that nameserver
so any CNAMEs would have to be on that nameserver
 
5:00 PM
anybody from netherland ?
Because you listened to {artists} and {artist}
grooveshark is broken :o
 
@rlemon the extend is not happening .. I tried checking if the value in the descriptor of the property (props[i]) is an object by doing
.value.constructor=== Object , then arguments.called(destination, desc.value) but that does not work, because in case of baz:{fooz: "bars"} fooz is added as a separate property ib destination not under baz ...
jsfiddle.net/2922n/1 How can I get the value in place of undefined ?
 
5:21 PM
can you set breakpoints in javascript in javascript ?
 
debugger;
 
@FlorianMargaine no not that, i mean is there an API ?
 
not that I know of
 
</3 There goes my dream of a codepen like thing in JavaScript TurboC style :3
 
@AbhishekHingnikar Yes, write a JS debugger in JS
Add your API
 
5:28 PM
@BenjaminGruenbaum i am not that free dude.
 
fork an existing one
 
it'll take ages..
@FlorianMargaine YOU LIE
 
If you want to build something awesome, it'll take ages anyway
 
stick yield between every two commands and use FB's regenerator, then yielding the generator will progress the function
 
@BenjaminGruenbaum thats evil
it does makes sense though, if i plan to add yield only after a breakpoint
but getting the stack is still a pita
 
5:33 PM
Error().stack
 
yeah thinking so
instead of that throwing an error and then catching and then yielding
woosh
@copy your x86 emu runs dos ?
 
Yeah
 
wow nice :O
booting windows
 
5:46 PM
@Benjamin how can I fix this jsfiddle.net/2922n/1 .. If it is fixable at all
 
Sometimes you depress me @AbhishekHingnikar :D
@shortCircuit "fix"?
 
Is it possible to use anisotropy and nearest-neighbour texturing at the same time in three.js? When I set anisotropy to something other than 1, it blurs the texture.
 
@BenjaminGruenbaum why so ?
I never saw how windows 1.01 looked, now i realize its what windows 9 will look like.
 
You're obviously a clever one, but sometimes you get these "dumb days" where you ask mediocre questions :D
 
Yes
Is it correct in the first case
 
5:47 PM
@BenjaminGruenbaum oh that :-) i can't control that my brain is unstable :-(
 
@JanDvorak ?
@AbhishekHingnikar yes you can :P
 
@BenjaminGruenbaum wrong room, sorry
 
Tavern?
@shortCircuit I posted one here at a point
 
yep
Final complained that people didn't appreciate YCS' rant
 
He's right
 
5:52 PM
is he?
 
@Benjamin in this room? Or in jsFiddle? How do I find it?
 
@shortCircuit About TCS
*YCS
 
what is YCS , I was thinking about Object.extend
 
BHSASQ
Everybody is using lots of "" <-- this these days
 
yep
 
@Zirak yes
 
He raises valid points, but he was obviously wrote that when he was too angry
 
He was definitely wrote that when he was too angry
 
((Thanks for reminding me I need to stupid-check things after rewording them))
 
6:34 PM
morning
 
Monring
 
Monirng
 
Turns out TJ added two other people to Commander.js
 
The slut
 
6:42 PM
One guy's done nothing, the other has only overridden one of my comments.
Life goes on
 
7:08 PM
Anybody have opinions on hosting demos for a plugin on GitHub? I was planning on using jsfiddle, but is there a way to use GitHub pages for demo without having the demo's code in the repo?
 
Don't use jsfiddle
 
the other option to GitHub pages is to host it on my own server, but I don't really want to clutter it up
 
@ZachSaucier runnable.com ?
depends on the type of demo
 
It'd include the plugin (js) and require one line of HTML and a few lines of CSS to make it look okay
 
@ZachSaucier Github is a good idea. When I clone your repo, I also get a demo to get started quickly
jsfiddle just sucks in most regards
 
7:12 PM
@copy So include a folder called "demos" or something then?
 
@ZachSaucier Yeah, GitHub pages is nice
 
@ZachSaucier Yeah
 
will do. Thanks
 
7:45 PM
If source = { foo: "bar" , baz : { fooz : "poop"}}
and dest = { bar : "foo", baz : { bars : "thud"}}
What will be the result of deep extending dest to source? I mean dest.deepExtend(source)
 
1 message moved from PHP
Sorry I you people don't want it :)
 
@PeeHaa You're not honestly sorry.
 
Sure I am
What makes you think I am not?
 
:(
Awsome
 
Emotional trauma stemming from my mother abandoning me at a mall when I was 4.
2
 
7:52 PM
:P
Fair enough
 
@PeeHaa Hold me ;-;
 
/me holds @Zirak
brb le match begins
 
@PeeHaa u see they are pre occupied now .. Should have invited to Trash Can instead
 
Yes that is exactly what I am going to do the next time
tnx for the hint
 
Jshint
Life as an amature is a big EFF mess
 
7:58 PM
@shortCircuit idk what deepExtend is, but... try it?
 
00:00 - 20:0020:00 - 00:00

« first day (1358 days earlier)      last day (3600 days later) »