« first day (879 days earlier)      last day (4055 days later) » 

9:00 AM
@dystroy +1 I didn't know about octals in JSON
... which is btw weird.
If it is javascript object notation, the numbers should be treated as in JS
 
hi
I want to play video file from my local file system
server side I have defined like
hi,
I have a video file in my local file system.I want to display that video file.
For that In the server side I have given like
public ActionResult openVideo()
{
var Name = video1 + ".mp4";
var myFilePath= "D:\\videos" + "\\" + Name;
return File(myFilePath, "video/mp4","video1 .mp4");
}
and in the script
<script type="text/javascript">
$("#video").attr("src", '/VideoPreview/openVideo');
</script>
but the video is not loading,ca any one help me
 
I think eval('({"ti": 0000011410})') is really disturbing and bug prone. It was probably better to forbid it in JSON.
especially as parseInt('0000011410') doesn't give the same result on last Chrome and FF...
 
I agree, octals are confusing and bug prone, iirc they're forbidden in strict mode
!!> 010 + 010
 
@BenjaminGruenbaum "SyntaxError: Octal literals are not allowed in strict mode."
 
9:08 AM
!!> eval('({"ti": 0000011410})')
 
@dystroy "SyntaxError: Octal literals are not allowed in strict mode."
 
@dystroy returning to the talk about interesting questions...
0
Q: Pass var to a href

fxgI´m trying to pass the src of an image to an a href that is created via javascript. For example I have this var: var src = $(img).attr('src'); And I want to pass the src to the href in this modal (instead of the 'javascript:void(0)'): _this.modal_zoom = $('<a />', {'href' : 'javascript...

 
@VisioN Well... that's probably interesting, and hard, as so many high rep users are unable to answer it...
@VisioN Look at the last answer ! (now deleted)
 
LOL that's hilarious
 
@BenjaminGruenbaum That's a useful comment you just added on my answer. Thanks.
 
9:13 AM
That's a good answer :)
I love commenting on questions like that stackoverflow.com/questions/15380961/…
In general, questions that go: My code does this but I want it to do that please write it for me are hilarious
 
Which github repo and/or branch names hold special semantic value? E.g. 'master', 'gh-pages' branches are probably two of the most obvious. Then a 'documents' repo could be meaningful if using some static document/site generators like Nanoc, Jekyll, Hyde.
 
@BenjaminGruenbaum :D :D
 
@Darkyen Your comment is too aggressive in my opinion
You sir are a helpvampire of millenium! — Darkyen 2 mins ago
I think the point had been made
 
@dystroy dude ... i neutrilized it :-(
 
9:18 AM
I try to avoid comments that look aggressive,
 
@dystroy say now ?
Kindly try learning the language before using it. :-) - Regards JS ROOM – Darkyen 3 mins ago edit
 
That's still aggressive imho
Also, it won't really accomplish anything, he won't go and think "huh, he said I should learn the language, I'm going to stop being a help vampire and do that "
That's just my opinion though
 
lol
i actually felt like that when peehaa or somebody asked me to do that in the C++ room
 
@Darkyen BTW you can't learn the language if you don't use it ;)
 
@VisioN you can atleast learn the basics
before starting to write a production app ?
no ?
 
9:22 AM
@Darkyen no. I found myself learning new languages better when I start with some basic project and not with c = a + b.
 
@VisioN what he has asked is comparable to asking how to do c = a + b; when i use the whole .net to get a and b
 
(insert mandatory pottery class teacher analogy)
 
lol, that is funny
 
@BenjaminGruenbaum It will become more funny if it will be accepted
 
9:30 AM
It's funny because OP said "It works, thanks!" :/
 
Yes, because it will work, besides it uses evaluation.
Poor T.J. Crowder... No one reads his answers... :)
 
!!> 'hello'[0]
 
@phenomnomnominal "h"
Dart is a good language and idea
 
!!>(Math.random()>0.5)?"Multiagent systems reading":"Computability theory hw"
 
@BenjaminGruenbaum "Computability theory hw"
 
9:40 AM
so it is
 
!!> (function(){var q = [0,0,0,0,0,0]; for (var i = 0; i < 10000; i++) q[Math.random() *6 |0]++; return q })()
 
@Jan-StefanJanetzky "SyntaxError: Unexpected token for"
 
@Jan-StefanJanetzky "1638,1632,1670,1708,1704,1648"
 
statisticz iz awsum!
 
9:43 AM
why does it say a parameter count exception when i do this
document.getElementById('<%=AddVisitorID.ClientID %>').click();
 
why do you post ASP in a JavaScript chat?
 
can anybody help pleae?
 
hello everyone
 
There's a method click on DOM elements ?
 
probably not :D
 
@VishweshwarKapse I can
 
@VishweshwarKapse he can
 
Especially since you asked nicely
I guess he doesn't want my help after all
 
@BenjaminGruenbaum eh ? and @VisioN lol at setTimeout without delay
 
@dystroy huh, i was expecting the support to be a lot worse
 
9:48 AM
@Darkyen Pottery class analogy
The ceramics teacher announced on opening day that he was dividing the class into two groups. All those on the left side of the studio, he said, would be graded solely on the quantity of work they produced, all those on the right solely on its quality.

His procedure was simple: on the final day of class he would bring in his bathroom scales and weigh the work of the "quantity" group: fifty pound of pots rated an "A", forty pounds a "B", and so on. Those being graded on "quality", however, needed to produce only one pot - albeit a perfect one - to get an "A".
 
1
Q: clearInterval() not working

Riette du ToitSYNTAX ERRORS FIXED. Dreamweaver says that I have an error in my code on line 52. I can't see what is wrong? Maybe this has something to do with the fact that my if and else statements are not working. IF AND ELSE STATEMENTS FIXED. If I test the if and else statements individually they work cor...

 
@BenjaminGruenbaum something that i have to smash into my head
> If you aren't building, you aren't learning. Rather than agonizing over whether you're building the right thing, just build it. And if that one doesn't work, keep building until you get one that does.
 
I build, then agonize, then rebuild, then agonize again. Overall it's a very agonizing process :)
 
lol
 
I'm learning python atm, I'm writing trivial code but I'm doing it tens of times until I like the coding style
 
9:51 AM
you just need to keep your motivation up to still freaking write something <-- my problem recently :/
 
copy and TheifMaster are pretty agonized by that process :P
@GNi33 Take a course or a project
 
yeah, i'm in the middle of a project right now
 
@GNi33 Or get a job :P that works, not getting money if you don't freaking write something is a pretty good incentive
 
still, after long work-days, motivation seems to fade, and i gotta change that
oh, i got a job
 
Yeah, you gotta keep learning :)
 
9:53 AM
it's more about personal projects to finally learn new techniques and languages that's a little stagnant right now
 
@RietteduToit Brad M's answer is correct.
oh. i see. you are one of thoose who edit a question untill all problems are gone.
 
@Jan-Stefan is that a bad thing?
 
not really but in my opinion he answered your problem you stated in the "title"
 
Found a peculiar bug. :D
I've installed a fresh copy of Ubuntu 12.20 64bit, after that I've installed the latest proprietary Nvidia drivers.
 
@OctavianDamiean a mantis? they're creepy as hell
 
9:56 AM
Now the really funny part.
 
@Jan-Stefan okay, I'll take a look at it again
 
@OctavianDamiean it's head? i know, they look so stupid
 
I have two monitors. One of them started to have issues when powered up, it takes about five minutes to power on.
 
//sorry, i'll stop being an idiot again...
 
I know exactly what the issue is with the monitor, there is a capacitor which I'll have to swap out but the point is, the power LED flickers. Now every time the power LED flickers the system freeze for a brief moment.
Once the second monitor managed to power up, the system freezes are gone. :D
Well it might not be a bug with the software but it still is very interesting.
 
10:05 AM
(@OctavianDamiean In the time you spent on fixing it you could've done 5 hours freelance which would probably buy you a new monitor, just saying :P )
 
@BenjaminGruenbaum Uhm, that might be true but where's the fun?
 
-1
Q: In Fullcalendar week view should show message displaying "no events this week"

user2164680In Fullcalendar week view should show message displaying "no events this week"..? I need a solution, let me know the answers

:)
 
woah. -12 already
 
Awesome!
 
sometimes i really wonder what people think that this page is for
 
10:09 AM
for serious job requests!
 
Holy shit! This system is so fast now with a SSD.
 
with changing questions that make you change your answer for days!
 
imagine developer-meetings in india
 
I'm so going to buy a SSD for my computer at home now ...
 
0
Q: How to find the user name in the URL?

Rajasekharhttps://abacde.aa.aaa.abc/aba/abc/login.do?MID=xyz_rajasekhar_123lup&cause=INVALID_MEMBERID&gotoURL=%2Faccount%2Facmg%2Facmg.do HI, Have small requirtement, I have above URL and may I know how to find the MID (memberId) value(xyz_rajasekhar_123lup) in alert box. I tried this code, var gUr...

That guys get an E for Effort
 
10:10 AM
@OctavianDamiean don't make me envy you again!
 
@GNi33 Say what?
 
(and I still haven't bought my desktop-rig)
@AmaanCheval :P
 
Somebody will probably answer that :
-7
Q: Java split a string

user1752557I have a string which is a path for (e.g) as below, \abc\def\ghi I wanna split it with \ how it can be done using java??

Oh, no... it was closed before. I'm happy for once on how a too trivial question turns.
 
@GNi33 8GB RAM, 2 x 3.2GHz Intel Xeon dual core and an OCZ Vertex 4. That's right!
 
Hey! I've got 8GB RAM and an OCZ Vertex 3
 
10:12 AM
Yea they're awesome too.
Ubuntu should come with git-core preinstalled ...
 
@BenjaminGruenbaum can u help me with this please?
 
@OctavianDamiean Agreed
 
@VishweshwarKapse I already answered this, I can help with your question
30 mins ago, by Benjamin Gruenbaum
@VishweshwarKapse I can
Why would you ask me again?
Anyway, I'm off to lunch, see you all in about an hour
 
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. — Laurence J. Peter
2
 
heh
I like that.
 
10:25 AM
lol
mustachify sure screws up if someone has his hand in his face
 
screws up with people holding pink ice-cream too :(
 
Everyone screws with people with pink ice-cream ...
 
Ree
hi
 
now that's right, especially the girls smirk
 
10:30 AM
@Ree oi
 
Hahahahaha
@OctavianDamiean Why did you undo that?
 
I just didn't want that discussion again. :D
 
Tabs are better than spaces.
discuss.
undo THAT!
 
!!/undo 8238927
 
@OctavianDamiean Y U NO MAEK SENSE!? Could not understand undo 8238927
@OctavianDamiean I can only delete my own messages
 
10:39 AM
Sonofa!
 
STOP DOING THAT, SHITHEAD!
:P
 
dudes how do i select in css first and last child of an element?
@AmaanCheval pls take me srly today
 
!!/awsm :-) :-D
 
@GNi33 ) D
 
10:45 AM
i've been never been so srious
 
@AmaanCheval i wont make any more codepen's [atleast public ]
 
@AmaanCheval no u ._.
 
!!/awsm look at me i'm too cool
 
or will copyright stuff before posting there -_-
 
10:46 AM
@Darkyen Why?
 
@BenjaminGruenbaum ok then will u help me..?
 
@Darkyen Guessing someone stole something?
 
@AmaanCheval somebody ripped off my css 3d visualizer ... and they are featured
 
@VishweshwarKapse He's gone for lunch, I think
 
sadly they are my college senior..
 
10:46 AM
@Darkyen Oh, balls! Link!
 
and i am going to sue him :D
 
@AmaanCheval oh ok thanks :)
 
@Darkyen Sue him over code?
 
10:47 AM
@Darkyen Did you license it?
 
^ Exactly
 
@OctavianDamiean Nope ... but ... i put a dcma everytime i write ... anything
 
@AmaanCheval cause of you everyone does not takes me seriously :(
 
so havent got a proper copyright but ... i have DCMA .. // or dmca
 
tell everyone that i'm deeply serious please
 
10:48 AM
@donotusetabtodigitthisnick Because of me? How?
 
@AmaanCheval sue him over grades :D
 
@AmaanCheval you always start trolling with me :(
 
the college head of department :-> must be made known of this
 
@AmaanCheval do not kid me for my avatar, it's a big problem my avatar, hope one day i'll be able to change it :(
 
!!/tell donotusetabtodigitthisnick mdn CSS first child
 
10:49 AM
@AmaanCheval Command css does not exist.
 
@donotusetabtodigitthisnick we can't take you serious if we look at your trolling-background and that you answered your question inside of your question
smells like another troll immediatly
 
I am fucking pissed off about my original demo not being featured but this rip off
is
 
@AmaanCheval really really thanks
 
10:49 AM
:-| FUCK It ... i guess my codepen-pro really worths it
 
> Public Pens you build on CodePen are MIT licensed, meaning other people are free to use it for whatever they like as long as that is also MIT licensed. Don’t put anything on CodePen where that wouldn’t be OK. Private Pens are un-licensed so that you may apply your own license and retain direct ownership.
@Darkyen ^
So, you're basically fucked.
 
That was expected, though
 
A common form of the MIT License (from OSI's official site, which is the same version as the "Expat License", and which is not identical to the X source code) is defined as follows:[4]
Copyright (C) <year> <copyright holders>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Softwa
atleast give credit -_-
 
It doesn't say that he has to give you credit for it.
Just that it has to stay MIT licensed.
 
That would be GPL
I think
 
10:53 AM
No.
 
@OctavianDamiean Doesn't GPL require you to give proper credit or something?
 
mhm
okay then i will hack him :D 3:-> .
 
@AmaanCheval It would be CC-by
 
cya. off for lunch
 
cya Jan :D
 
10:54 AM
@OctavianDamiean Haven't heard of that, but thanks. What does GPL require?
 
anyways anybody wanna help me with TapeerTimeline ?
i promise to share the credit .. besides tapeer WONT do what FACEBOOK / XAT / TWITTER does :P
i kinda dont like privacy selling :3
 
Kind of? Good enough, huh? :P
 
@AmaanCheval Well, the GPL requires you to a) keep the original license header including the author and b) share the changes you've made with the author or the public.
 
Ah, didn't know the second part
 
@AmaanCheval lol
kind off as in i dont mind my name being sent
but i dont LIKE my messages or any other info being scrawled on
to customize ads
 
10:56 AM
Oh yea, it also says that you should release the documentation of your software with it.
 
tapeer is ads free
the only advertise i will have is for the old browsers/adsswho fall on the site
a bigass google chrome advertisement :D
 
@Darkyen free of ads. :D
 
yeap :P i hate ads.... a lot
 
Note the single d there.
 
gotcha :D
so if somebody wanna help just ping me and i will add them to the repo :P .. .there is lots to be done on it and i am... kinda dieng doing that
 
11:03 AM
I'm sad that @rlemon 's message about him pooping on a slide fell out of the starred stuff in the left
 
O_O
Why did he poop on a slide?
 
Ask him :D
@BenjaminGruenbaum better now ?
 
@rlemon, why did you poop on a slide? :D
 
when u weren't here i once accidently posted a screenshot
 
@Darkyen Yes, thank you
 
11:05 AM
folks will tell you . about it :D
it was pinned ... had about 10+ stars
 
the infamous porn-tab incident
good times
 
Hahaha
 
@GNi33 infamous ?
 
you kidding me ?
its on google -_-
 
11:06 AM
@Darkyen infamous means famous for the wrong reasons
 
but the room was going strong yesterday night too, what happened to the 14yo then @BenjaminGruenbaum?
 
@Darkyen Yea, we told everybody on the Stack Exchange network.
 
@AmaanCheval ah
 
@GNi33 He apologized and started learning to code, went well
Today he even asked for review on two functions he wrote
 
and the cell-discussion? :D
 
11:09 AM
He admitted he was wrong
And all I had to do is to tell him that if he doesn't I'll tell on him to his family on facebook XD
Just a little faith :)
 
What'd I miss? :D
 
so he probably learned a good lesson.
 
prntscr.com/w4wj0 what he fuck mozilla ? they dont filter names :D aha
 
don't be a combination of smart-ass and dickhead on the internet
 
@AmaanCheval can you see my new avatar?
 
11:11 AM
msporny!
github.com/msporny <-- so there is a guy whose name sounds like microsoft porn site
 
LMFAO
That's a legit name
 
@donotusetabtodigitthisnick Nope
I lost the game
Hi @jAndy!
 
@AmaanCheval: !
 
@AmaanCheval damn, will be a surprise anyway ;)
 
I also want to join the borg !
 
11:13 AM
@donotusetabtodigitthisnick Haha, Manmohan Singh?
 
@Darkyen: assimiliate me please
 
@jAndy Just write a function that filters the words "the game" from strings and don't tell anyone you did, that way you'll never lose the game
 
@jAndy woot dont tell me u lost the game again and whoa again and whoa again u lost the game hell losing the game is recursive because just processing this string in your brain you have lost it again and again and again!
@jAndy your avatar is the same :-(
 
@AmaanCheval )) Mohammed Colgatehab
 
@BenjaminGruenbaum th3 g4m3
 
11:14 AM
I'm the first voluntary borg
 
^--- watch it :D awesome song @jAndy
 
lol :P
 
@Darkyen mmmm
 
@Darkyen are u ace of spades?
 
11:17 AM
Why would you upload shitty profile images?
It's bad trolling
 
@BenjaminGruenbaum why you think you have a good one?
 
If you want to troll, change your avatar to that of AmaanCheval
Or something that looks similar
:P
 
))
i'm stopping see ya !
 
pro tipp: if you want to insult someone, don't forget the @ so he will now :p
 
11:21 AM
@BenjaminGruenbaum You're a genius ... not only feeding the troll but giving him trolling tips.
 
@OctavianDamiean Thanks
 
@BenjaminGruenbaum Sonuva!
 
@donotusetabtodigitthisnick you are indian ?
if no how do u know about manmohan ?
 
He just saw a funny picture and he's racist
 
@BenjaminGruenbaum I wonder if its your troll account ?
so precise ?
 
11:35 AM
@OctavianDamiean Just about ready to install Ubuntu I think. Do I just drop the iso file on the usb and boot from it ?
 
@OliverSchöning No, doesn't work that way
 
@Darkyen If only I had the time
 
You need to make a bootable USB
Or you could burn it to a DVD
 
@AmaanCheval Got no CD here. I saw some linux make usb to bootable software
 
Yeah, you'll need to make it bootable
 
11:40 AM
does it have to be empty then ? :o
 
I think so
 
@OliverSchöning depends
if you have to make uefi bootable use the bootable usb makers
or else forget about your current partition/os :D
 
Well, I kinda want to remove everything hehe.
 
use UnetBootin still :D
 
11:44 AM
Quote from askubuntu: "best not burn your bridges - "Ghost" backup or similar your current hard-drives"
 
Get a network cable too. Just in case. Your wifi probably wont work during install
 
afaik I can install without internetz?
@Darkyen Do I need to clean the usb when using that software?
 
it will autoclean , if u tell it
 
Oh boy :) good u say that. borrowing the usb ^^
 
@FlorianMargaine good point
hackforums is a clean website :D
all hail internet :D
 
11:48 AM
[word.translate(None,punctuation).strip().lower() for word in line.split() if word not in stop_words]
 
@OliverSchöning Nope. get Unetbootin and create a bootable stick.
 
What would be the best way (in python) to split it into two shorter statements, it's too long
 
here is my validation code [ which i am proud off ] for tapeer
String = String; :D
 
@Darkyen Inbox (8,198)?!
You're a monster!
 
i never understood this email-thing either
 
11:52 AM
@OctavianDamiean kk :)
 
Goddamn HP and their goddamn BIOS update USB key flash tool. It was written for RedHat based systems ... now I have to patch it up so I can create a bootable BIOS flash drive from Ubuntu ...
 
it just keeps adding to a number, i'm not impressed
 
@OctavianDamiean D: unetbootin not supporting 12.10 ?
 
@OliverSchöning Nah, that's something else I'm bitching about. ;)
Don't worry.
@OliverSchöning Oh wait, I think I know what you're referring to.
Don't select it from the dropdown list.
 
@OctavianDamiean yeah their website
 
11:54 AM
Just download that thing, start it, select the right USB key and then select your ISO from the file picker.
Hit start and you're good to go.
 
@OctavianDamiean I see, let it figure it out on its own. fine with me
 

« first day (879 days earlier)      last day (4055 days later) »