« first day (1187 days earlier)      last day (3760 days later) » 

user1607528
7:00 PM
Can anyone help, please ?
 
Your domain ends with ie, therefore no
 
@Muhammet "Blocked a frame from accessing blah blah cross domain blah blah"
 
No.
Google the errors you get.
 
user1596138
@SomeGuy Oh I thought she was serious. I was like... That's assinine
 
Daaaaaamn the smackdown from Kittens!
 
user1596138
7:02 PM
@SomeKittensUx2666 Pin-worthy
 
user1607528
I don't get errors @SomeKittens
 
user1607528
@RyanKinal are you seeing it with Chrome + FireBug Lite
 
Just Chrome...
Why would you have FireBug installed in Chrome?
And why do I feel like I've had this conversation before?
 
user1607528
where can i see JS errors then ?
 
Content loaded on a different domain to dev.elsol.ie/ics/player/launch.htm?cf=../himss_m1Blocked a frame with origin "http://www.dev.elsol.ie" from accessing a cross-origin frame.
 
7:03 PM
@Muhammet Just loading the site, I get two alerts and two console errors.
 
F12
 
test is not defined
anything else i'm missing?
ohh and an image 404'd for me
 
I got an "API not found" or something silly like that too
 
user1607528
yes only thing i want to fix is to get the pages when clicked next and previous
 
user1607528
thank you to all
 
7:04 PM
Also, BWAHAHAHAHA my company is going to crush yours. Nice site
 
anyone know fullcalendar?
 
@tehdoommarine No.
@RyanKinal You're a direct competitor to him?
 
@SomeKittensUx2666 Yeah, pretty much
Well, one of our subsidiaries is
 
user1607528
@rlemon i don't see that different domain error in console, i just see test is undefined
 
ng-i-am-animating
 
user1607528
7:11 PM
@RyanKinal I am not getting the cross domain error in console, i just get test undefined
 
I wonder if Miegakure will ever be finished
 
@RyanKinal And the 'Irony of the day' award goes to....
 
@SomeKittensUx2666 Irony?
 
Dude from competitor asks you for help. Opposite of what's expected.
!!define irony
 
@SomeKittensUx2666 irony A statement that, when taken in context, may actually mean something different from, or the opposite of, what is written literally; the use of words expressing something other than their literal intention, often in a humorous context.
 
7:13 PM
@SomeKittensUx2666 Odd, but I'm not sure it's ironic
 
meh, close enough.
 
hehe
@Muhammet I don't get errors in the console for that either. I get popups (alerts) when I load the page.
 
We just open-sourced our office streaming jukebox!
 
user1607528
@RyanKinal then where is Content loaded on a different domain to dev.elsol.ie/ics/player/launch.htm?cf=../himss_m1Blocked a frame with origin "http://www.dev.elsol.ie" from accessing a cross-origin frame. come from
 
user1607528
I don't see it
 
Ale
7:16 PM
> veto
lol
 
@Muhammet No idea.
 
@phenomnomnominal :-)
 
^^^ not in the console.
but thrown in my face
 
user1607528
@RyanKinal thanks, have any idea why next button doesnt get html pages in Chrome ? It works in IE, Firefox perfectly. I don't get errors so I am lost where to dig
 
None whatsoever. But with the SOP errors, I doubt your app is working correctly for me.
 
user1607528
7:18 PM
@rlemon hmmm I don't get that :D
 
I'm sad that I opened the source
@RyanKinal if you haven't... don't
 
Me too
Too late
<frameset> makes me sad
 
	if (!ie4)
			return document.getElementById(id);
	else
			return document[id];
made me throw up in my mouth a little
 
rofl
 
user1607528
I know, it is a old site which my client wants me to get fixed :D
 
7:20 PM
glhf
 
user1607528
Anyone have an idea where to dig ?
 
line 5 on the framed content is missing a \
<script><script>
should be
<script></script>
 
output+="<scr"+ "ipt>"
output+="var player = parent;"
output+=getTimeout('player.onQuestionTimeout(window)');

output+="function toggle(item){ ";
output+='	if (typeof(item.checked) != "undefined")';
output+='	{';
output+='	if(item.checked) ';
output+='		item.checked=false;';
output+='	else ';
output+='		item.checked=true;';
output+='	}';
output+='}';

output+="</scr"+"ipt>";
 
> output+="</scr"+"ipt>"; // That's a hanging offense
 
the title says IT Innovation
where??
 
7:22 PM
I no longer want to have children. I can't bring them into a world where that code exists.
2
 
@rlemon 15 years ago
 
user1607528
@SomeKittensUx2666 who would do that, I mean lol
 
good lord o_O
@Muhammet protip: if you are doing this under contract.... RUN!
no one needs $$ that badly.
 
Holy shitballs.
 
user1607528
Haha I am
 
7:24 PM
Fly, you fool
 
I haven't seen code this bad in a very long time
 
user1607528
me niethier
 
user1607528
@rlemon in which page / was missing ?
 
splash.html lines 5 and 6
look at the closing script tags
function closing(){}
var checkFailure = true;
try{
	checkFailure=true;
	supportCheck();
	checkFailure=false;
}
catch (e){
}
this... this code.... I don't even know... what?....
can you find out who wrote this and give me his address?
 
@phenomnomnominal output+="<scr"+ "ipt>" <-- ... whut
 
7:26 PM
@RUJordan repost.
 
user1607528
@rlemon he's probably dead by now :D
 
so someone else read this file...
poor bastard
� Copyright Learning Union Ltd. 2007
it isn't even THAT old
 
user1607528
haha
 
user1607528
I can't believe it
 
2007... omg
 
user1607528
7:28 PM
it must be someone from India no offense
 
I suddenly agree with @phenomnomnominal
 
function tempAlert(msg)
{
var tempAlertsOn=false;
	if (tempAlertsOn)
		alert(msg);
}
function ReportDebugAlert(msg) {
	if (reportDebugMode)
		alert(msg); // reportDebugMode
}
function eventAlert(msg) {
	if (eventDebug==true)
		alert(msg); // eventAlert (eventDebug)
}
function FatalError(msg)
{
	alert("Fatal Error: "+msg); // FatalError
}
function DisplayWarning(msg)
{
	alert("Warning: "+msg); // DisplayWarning
}
function playerDebugAlert(msg)
{
	if (debug==true)
		alert(msg); // playerDebugAlert (debug)
there is an entire file of these.
 
user1596138
What a nicely written script.
 
This entire codebase belongs on thedailywtf.com
 
user1607528
haha
 
user1607528
7:30 PM
I don't even know how I am going to debug it
 
m59
@phenomnomnominal How do you feel about php?
Because I think it's partially to blame.
 
user1607528
So, it is getting static html pages from folder into the page with JS after pressing next button. It works in IE , FF but not Chrome
 
user1607528
Can JS do that
 
I don't like PHP
 
user1607528
?
 
7:31 PM
JS can do anything.
 
@Muhammet Reword your question. It's broken.
 
@phenomnomnominal It can even do jquery?
 
> Android and Java expert, I invent new UI mobile concepts often before Google uses them.
geez, this guy
@phenomnomnominal but can it see why kids love the taste of Cinnamon Toast Crunch?
 
Ale
Tfw forgot how not to use jquery
 
@phenomnomnominal I think, the best thing about it is you can do both server and client
 
user1607528
7:32 PM
What the heck is wrong with Chrome
 
a lot at the moment ^
 
@Muhammet Better security?
Maybe?
 
user1596138
TDWTF is funny
 
m59
@phenomnomnominal my question was kind of irrelevant anyway. I suppose it's a server-side thing in general. I have a strong suspicion that people string together a ton of html and then use document.write(theHtml) because they're used to php.
They're thinking like echo $thisStringFest.
 
Mmm. Chocolate covered raisins.
 
user1596138
7:33 PM
@RyanKinal See it?
 
@Jhawins ?
 
user1607528
So nobody have idea about why it doesn't work in Chrome
 
@Jhawins the SQL?
 
Love them
 
@connorspiracist I do, yes
 
user1596138
7:34 PM
 
user1596138
@SomeKittensUx2666 Bingo!
 
WTF
haha lol
 
I'm on a power trip.
 
@Jhawins Go for SQL INJECTION
 
What are the chances Miegakure will ever be released?
 
7:34 PM
@SomeKittensUx2666 yup
 
user1596138
Haha I was staring at it for a good minute or 2 like what's funny about these raisins...
 
@Jhawins Ima post that in the php room
 
m59
I'm the only person I've heard say this, so I'm probably wrong, but I'm pretty convinced that with all the modern goodness we have available, the server should only deal with data. If it has anything to do with html, it's only because html was stored in the database from a WYSIWYG editor a client used.
 
user1596138
Nice
 
m59
Maybe I just <3 Angular too much =D
 
7:36 PM
I mostly agree
 
user1596138
I want to go smoke, but I didn't wear a coat and I now realize that my truck isn't here...
 
@connorspiracist You still bitter?
 
@m59 I guess it depends on the application. If all you need is something very simple, grabbing it from the DB is probably overkill.
 
@SomeKittensUx2666 was never bitter
 
m59
@RyanKinal uh...then wouldn't that mean even less server involvement?
 
Ale
7:37 PM
Guys, once again
 
m59
Like, the whole app would be js?
 
user1607528
Should I quit on that JS website ?
 
@m59 Maybe I'm misunderstanding what you mean by "server involvement"
 
Ale
Why is angular so superior and stuff?
 
@AbhishekHingnikar OI!
 
m59
7:38 PM
@Ale for ALL THE REASONS!
 
@Ale It's not
 
Hey guys, anyone familiar with jQuery UI; particularly .draggable? I was wondering if its possible to get access to the (x,y) coordinates of the point where the drag operation started
 
m59
@connorspiracist lies.
 
@m59 It's good, but i wouldn't say the code is "quality"
 
m59
wow
 
7:39 PM
I looked over the api on the site but haven't found anything yet
 
hm why doesn't this submit function work? Would submit functions work if there was an EJS template being added to the DOM?
 
@connorspiracist haha, thanks for letting me know your opinion can be safely ignored.
 
m59
@connorspiracist much pro very knows better than google
 
user1596138
You should finish the project. Except forward the payment to paypal: j.hawkins@hotmail.com
If you follow these steps, you'll have a good time.
 
@Jhawins HOTMAIL?!?!?!?
 
7:40 PM
@m59 aye?
 
user1596138
I haven't used that email in 6 years... Back when hotmail was acceptable, and I was 13. Haha
 
lulz Hotmail
 
hotmail does it still exist
 
whats wrong with using hotmail
 
m59
@RyanKinal the server obviously presents the html document, but my document is basically just script tags
 
7:40 PM
@SomeKittensUx2666 ha ok :D
 
user1607528
@Jhawins that pain I am about to feel and forward the payment to you :D
 
m59
The only other thing the server does is present my api
aka data
 
user1596138
I wouldn't dump my legit email into this chatroom. The crawlers would find it haha.
 
m59
Total boss separation of concerns.
 
Ale
Because well, what I'm writing now is complete rubbish
 
7:41 PM
@m59 Alright then. I guess that makes sense.
 
Ale
That somehow happens to work
 
user1596138
@Muhammet :D
 
But I have to disagree with the "WYSIWYG editor" part of your statement. For content, sure, why not, but for layout.... just no.
 
@Jaigus
var x,y;

$(element).draggable({
  start: function(event) {
    y = event.pageY;
    x = event.pageX;
  }
});
 
user1607528
I don't want to lose 100$ :)
 
7:42 PM
something like that?
 
@Muhammet wait, really? That's all you're paid?
 
user1607528
yeah :D
 
m59
@RyanKinal ohhh, yeah for content man. Dang, why would you even think I meant otherwise? :D
 
Ale
So freelance wow
 
m59
Like, so the client can update their blog post and all.
 
7:43 PM
@Muhammet is that weekly?
 
@m59 Just had to be specific. Because I was scared for a minute there.
 
m59
I obsess over good practice. No worries here =D
 
:-)
 
user1607528
@connorspiracist no it is just for fixing it so it works in CHrome
 
@Muhammet ohright ok :)
 
m59
7:44 PM
Fixing something so it works in Chrome....that's a first.
 
@m59 Speaking of which, I'm quite certain I've mangled "best practice" regarding Angular. I need to learn it better.
 
m59
Lemme see that code =D
 
hush.com is what i use
 
@Muhammet That's an hour's work here.
 
m59
I wish I could trade Angular code review for php code review.
 
7:45 PM
hushmail isn't secure, they hand over encryption keys to the government
 
user1607528
@SomeKittensUx2666 100$ is a lot of money to me :D
 
@m59 Well, it's mostly regarding promises. In order to get the resolve to correctly update the model (scope), I had to wrap it in a $timeout. Which I'm quite certain is wrong.
 
user1607528
@SomeKittensUx2666 BTW I might not be as experienced programmer as you're
 
@SomeKittensUx2666 in your dreams mate
 
m59
oh yeah
 
7:45 PM
Otherwise, I think I did passably well for my first app
 
@Muhammet $100 is average JS consultancy rate.
 
user1607528
I wonder why
 
m59
@RyanKinal can I see it? I could doctor it up and leave some notes that might help.
 
@connorspiracist thanks for the response; the element I'm calling draggable on happens to be a canvas. there are pictures on the canvas that I want to be able to drag outside of the canvas. Each picture is within a space that I have a findSpace function for that given a set of coords will return the starting coordinates, size and source of the image.
 
m59
I owe ya =D
 
7:46 PM
@Muhammet How long would $100 sustain you for?
 
@m59 You do?
 
m59
That blog post changed my life.
lolzzz
 
@Jaigus Oh, that's a different kettle of fish then, i don't do canvas that much
 
@m59 Ah, lol
 
user1607528
@SomeKittensUx2666 in my homecountry I could live with it for a month
 
7:47 PM
(Grinning like a fool now, btw)
 
m59
;D
 
@Muhammet Holy cow. My monthly rent's $1250.
 
user1607528
@SomeKittensUx2666 US?
 
@Muhammet Because you don't have to buy all the useless shit that everyone else wants
 
I'll gist my API access file. But be warned... it uses a .NET web service as a "proxy"
 
7:48 PM
@Muhammet Yep.
 
I'm out
 
user1607528
@connorspiracist gas, electricity, water free LD
 
user1607528
:D
 
m59
@RyanKinal uh oh, I dunno what that even means. It gets me to the js??
 
@Muhammet How much do you actually know about programming?
Like, formal training, side projects, etc
 
7:49 PM
@m59 Yeah, no worries. .NET web service = method of doing AJAXy stuff.
 
@Muhammet exactly, kinda the same in Libya until they blitzed the place
 
user1607528
I have no formal education, but can build average classfied ads website etc
 
I'll include a couple of my controllers too.
 
m59
@RyanKinal like asp.net? I'm confused how it relates to Angular code...
 
@Muhammet How much would formal education cost for you?
 
user1607528
7:50 PM
I am getting it now for free :D
 
user1607528
in scholarship
 
user1607528
in ROmania
 
Very cool.
 
user1596138
!!mustache Muhammet
 
user1596138
7:50 PM
That's what I figured...
 
user1607528
what about the mustache :D
 
Here's some advice: Don't take on any job just because it pays. Try and find ones where you'll learn something both new and useful in the future. Refactoring horrid code like that isn't either.
 
user1607528
We get 720 litres of free gas for 6 month
 
@m59 I'm kind of using it as a proxy to access a cross-domain REST API
 
I seen a Chinese kid with blue eyes yesterday wtf
 
7:51 PM
Hackish, yes. I know.
My main controller is kinda gross :-(
 
@qwertynl ok Neil
 
@connorspiracist I am not @Neil
 
user1607528
I think I should write in Jquery
 
user1596138
TMobile is paying termination fees now? Anyone done this with them?
 
7:54 PM
if I have a form with an onsubmit, how would I do console.logs and stuff within the function the onsubmit is calling and see what they do?
 
@Muhammet Think for a second. Why jQuery?
 
user1607528
instead of digging into JS code from ICE AGE
 
@qwertynl I didn't say you were @Neil i just thought your name was neil, strange
 
@Crowz just use console.log...
 
!!afk wouldn't you like to know why
 
7:54 PM
@Crowz Add an event listener instead of the onsubmit attrib
 
@qwertynl nothing appears in the console
 
@connorspiracist My name is not @Neil
 
var _print = window.print;
window.print = function() {
    if( confirm('do you want to print?') ) _print();
};
function () {
    if( confirm('do you want to print?') ) _print();
}
 
@qwertynl oh it's querty neil?
 
Neil you can give him this
thanks.
 
7:55 PM
@connorspiracist No....
 
user1607528
@SomeKittensUx2666 why not
 
user1596138
@connorspiracist His is Neal not Neil
 
user1607528
In my case right now
 
My name is not Neil @rlemon ... it is the principle of the thing!
 
user1596138
He's just being difficult.
 
7:55 PM
Thank you @Jhawins :-)
 
@Jhawins no, he was mistaken by his own name. it is in fact Neil.
 
Hi all. I'm preparing a panel discussion on «Challenges that top engineers would kill for» and thought I'd come here for some ideas. Anyone care to chime in?
 
@rlemon :-P
 
@Muhammet jQuery is a tool programmers can use. Why would you use a hammer over a screwdriver?
 
@Jhawins oh
lol
 
user1596138
7:56 PM
@rlemon Yes, all knowing Lemon is correct. He will forever be called Neil instead.
 
user1596138
I personally prefer "troll"
 
thank you!
 
@Jhawins Ohhh shutup Larry
 
@JúlioSantos Challenge: What to do with all this free money
 
Does anyone watch "Parks and Rec"? :-)
 
7:56 PM
Josiah <- what nationality / background is this BTW
 
user1596138
@rlemon Biblical. Hebrew.
 
are you jewish?
 
user1607528
@SomeKittensUx2666 i dont get it , my english bad i guess :D . I meant rewrite the function of the site i was talking about without trying to find the bug
 
user1596138
Not actually related to myself at all. I'm not Hebrew.
 
m59
7:57 PM
@RyanKinal the only thing I can see in a short review about the controllers is just the complex methods could go in a service so that the flow of the controller is more readable
 
user1607528
Rewrite it in JQuery
 
@m59 RyanKinal is afk: wouldn't you like to know why
 
ahh, so moms just thought it would be a cool name
 
@Muhammet That's a huge project. I wouldn't take it on if I were you.
 
user1596138
I'm mostly American Indian and Irish.
 
7:58 PM
tell people you are Irish.
 
user1596138
@rlemon Every kid in my family has a Bible name... All of the guys start with J, except for one that starts with A. All of the girls start with A, except for one that starts with J.
 
Irish drunks are respected and feared.
Native drunks are made fun of and disrespected
 
@m59 Yep. Been thinking about that for the applyFilters method.
 
user1607528
@SomeKittensUx2666 it doesn't do much actually. All it does. has 10 html pages next previous button thats it
 
m59
@RyanKinal you did really well though. The $timeout thing should be avoidable, but I'd need to see the issue in isolation with the markup. I have a vague idea of how you ended up there.
 
7:58 PM
And I think the static values should go in angular.value calls
 
user1596138
Plus all the guys have the same middle name, and all the girls do.
 
user1607528
@SomeKittensUx2666 what do you think ?
 
user1596138
So me and 4 brothers initials are fucking "JDS"
 
your parents need to get some fucking creativity man.
jesus.
 
@m59 The problem was that without the $timeout, the promise.then was not being executed.
 
user1596138
7:59 PM
I know.
 
But with the timeout, it was
 
slightlyviral.com/beware-sugarless-gummy-bears-on-amazon-com << The reviews selected in this article are better than reddit.
 
@Muhammet I'll repeat myself: The code there is terrible. Don't waste your time on it.
 
user1596138
Worst part is it's not like they just did it with 3-4 kids. We're a 10 child family.
 
Wait @Jhawins, You are a doctor?
 
7:59 PM
And I'm glad to hear I did okay with it :-)
 
user1596138
@qwertynl yes
 
It should actually be live-ish within a week. You can see the whole thing then.
 
@Jhawins hmmmm
 

« first day (1187 days earlier)      last day (3760 days later) »