« first day (2365 days earlier)   

12:02 AM
 
damn it, my thing doth not working :-(
 
12:14 AM
blame as a service?
 
12:28 AM
Is there a way to trace when and by what process a variable was declared?
I have a SUPER weird bug that I have been searching for for like 4 hours.
 
@Allenph you mean like a stack trace?
 
Don't know what that is but sounds right.
 
@JoeWatkins nope, still looking :/
@Danack looks reasonable, but I haven't worked with oauth in a while
 
12:46 AM
Ta. tbh, I think that using the password grant might just be a 'bad idea' in general....but doing so in a way that exposes client secrets seems to be defintely bad.
 
needs some serious caching though, it needs 3 requests, it's pretty slow
 
@DaveRandom what's with the #.jpg?
 
Also the width is calculated on number of chars * 10, which is a rubbish way to do it but I don't really know how else to do it in PHP
@PaulCrovella to get chat to render it as an image
 
oh right yeh, duh
ty
cba now though
@PaulCrovella github.com/DaveRandom/BadgeOfShame if you wanna fiddle
it's one monolithic script right now because I was mostly just dicking about
 
@DaveRandom taking the width after htmlspecialchars instead of before isn't helping
 
Oh, true
although in most cases it's not going to make a difference, but you are absolutely right
I may fiddle with it again tomorrow
 
 
2 hours later…
Wes
3:29 AM
morning
 
Wes
you are still wearing your canadian halloween avatar
did you watch south park eventually
:D
 
@Wes nah..
tbh, I have no clue what to change it for..
s/what/why/
 
Wes
3:53 AM
a kitten?
a moose?
a beaver?
 
Wes
lol
animals are cute
 
the next one should be exactly the same, except replace his face with a bottle of maple syrup
 
Wes
just look at my waving panda
lol
 
@PaulCrovella that would work
 
3:56 AM
and with poutine on the hat
 
if poutine is involved, I rather have the maple syrup on it
 
Wes
is recurse (as in recursive) an actual verb?
 
a few contrasting images went through my mind
 
@Wes yes
 
Wes
"the function recurses to itself"
 
3:58 AM
I'd go for through
 
Wes
yes that sounds better
 
Hi I'm currently working in date comparison using javascript
when I tested it on my sample php page. it works
but when I added it on a working php page, the result became wrong
this is my sample code:
var datenow = new Date();
	var cutoff = new Date("2017/04/01");
	var hrsnow;
	//alert(datenow+"="+cutoff);
		if (datenow<cutoff){
			hrsnow = 9.25;
			alert("9.25");
		}else{
			hrsnow = 9.5;
			alert("9.5");
		}
	if(schedule=='compress'){
		var defaulthours = hrsnow;
		}else if(schedule=='shift'){
	 	var defaulthours = 8;
		}else if(schedule=='monthly shift'){
	 	var defaulthours = 9.6;
	}
I wanted to check if the datenow is before april, and if it is befor april the result will be 9.25 else 9.5
 
@EarvinNillCastillo javascript room is that way ---> chat.stackoverflow.com/rooms/17/javascript
 
Wes
4:13 AM
don't forget the traps on the way. there are spikes, rolling boulders etc
 
4:39 AM
morning
 
4:57 AM
Gpmatka.net – #74390
 
@Jeeves :)
 
@Linus You just call my name I'll be coming trough.
 
5:19 AM
posted on April 07, 2017

New Cyanide and Happiness Comic

 
5:31 AM
@Wes, thanks!
 
Wes
:P
 
It's dangerous to go alone... take this --I===>
 
morning
 
Why exactly are Environment variables preferred over having a config.ini file outside the document root?
 

« first day (2365 days earlier)