« first day (1132 days earlier)      last day (3809 days later) » 

12:00 PM
@Kippie Was your comment an actual question, or did you just think the Answer was missing an explanation regarding named function expressions ? :)
 
Whjo is upsetting Bananasandwich?
 
@C5H8NNaO4 Actual question, really. Had never actually used it that way
 
GE @all
 
@MartinJames everyone :P
damn it, NPM proxy settings doesn't seem to work at all :/
 
@C5H8NNaO4 But my actual question was also about the case where you'd simply make a statement like ``var foo = function bar(){...};``
This is syntactically (sp?) correct, but doesn't seem to serve any purpose
 
12:04 PM
@SomeGuy you played any of the bioshock games?
 
@Kippie private functions in closures
 
Not yet. I do own them, though
 
@SomeGuy amazon.com/dp/… seems a great deal.
 
@BartekBanachewicz I must test the performance of my embedded systems that use JS and Node.... Oh wait, there's a problem....
 
@Kippie function() { var f = function() {...}; var g = function() { f(...); }; return { g : g }}
@MartinJames hm?
 
12:05 PM
@mikedidthis Yeah, I saw it
I got Infinite when it was $10, though
 
@BartekBanachewicz There are none.
 
Ahh. Its either that or Max Payne 3.
 
@MartinJames lolololo :)
 
@mikedidthis Max Payne 3 is a lot of fun as an action game and it has a brilliant story too
 
Thanks, you just sealed it. I completed the first two, so may as well.
 
12:07 PM
I saw this problem on how to calculate number of ways to add up 2 pounds
 
also node packages in ubuntu are outdated
 
couldn't think of an intelligent way to do it
even caching results took too long
 
@Kippie I see :) My first thought was that you already know the answer.
Actually, the examples are the only 3 cases as well where it came in handy for me til now;


If your function, bar, doesn't use its identfier for recursion, the the only usecase I would see is the case of an error occuring within bar.
 
@BenjaminGruenbaum quick question can you tell me the installed size of Visual Studio Professional ?
 
@AbhishekHingnikar BenjaminGruenbaum is afk: lunch
 
12:08 PM
around 12 gigs right ?
argh :-( idk how much this fucker wil download
 
Damn, I'm finishing sentences with semicolons instead of dots from time to time, if I don't pay attention
 
@AbhishekHingnikar around 10GB
depends on the components you choose
 
I chose " Blend + Visual Studio Basics + Windows 8 Phone SDK "
this will take almost a night or two :-(
 
10GB? Can't take more than 1h from a microsoft server
 
@Kippie 60KBPS - 78KBPS
 
12:16 PM
Oh.
 
and i can't do anything about that .
 
Your university can't supply you with a faster download speed?
Or even a shared network disk with installers ready for you guys?
 
I am the first one to actually use them
 
Oh.
 
+ i will have to leave my laptop at college which gets 10mbps at max , for one whole night
and since I bought a pseudo laptop because i was stupid enough to choose it over a macbook, and now its slightly damaged (no hdd etc) I really don't wanna take it for a ride on Indian road.
 
12:20 PM
Oh my, why not choose the macbook? They're all shiny and made of metal!
 
12:34 PM
@AbhishekHingnikar mysay.in/2013/08/23/…
 
@Kippie I thought the ugly and cheaper G55vw's insane power
is better for my game hunger... After buying the gaming pc i never played anymore games*
 
12:51 PM
@CJRamki lo
congress ain't an OS its more like a Virus
 
@AbhishekHingnikar lol
 
but well if you consider Congress as Windows, BJP as MacOS X , then AAP becomes Linux :D
 
@AbhishekHingnikar oh.. no......
 
@CJRamki why ?
 
@AbhishekHingnikar for BJP as MacOS X, Mac is always costly...
 
12:54 PM
bjp is not ?
 
@AbhishekHingnikar after winning we will discuss about it...
 
lol
you are in bjp ?
also mac's r usually clean care-free nd cool
 
@AbhishekHingnikar hmmm... I'm not in bjp... but this election i would support bjp by congress
 
over*
I am going with NOTA
until there is an AAP candidate :P
ps suggest me an external hard-drive folks
 
@AbhishekHingnikar i don't know about aap... It is national party?
 
1:01 PM
Aam Admi Party - Kejrivaal and it is national but out of budget :P
 
@AbhishekHingnikar We should need some changes... So We can offer AAP... because we already saw bjp and congress on the hot seat.
broom stick is the symbol?
 
yes
@CJRamki guess what delhi most likely will have AAP in hot seat
ps AAP is open source :D they share everything
 
@AbhishekHingnikar whats goin on
 
@Gamex We are planning about future India
 
PS anybody has any suggestion for external hard-drive
 
1:05 PM
@AbhishekHingnikar Good luck getting into politics. We (rlemon) have plenty of pictures to prevent that.
 
i have no experience buying them but my comptuer supports Thunderbolt :P
@KendallFrey No i am NOT going into politics EVER
 
@CJRamki our politician plan since last more then 50year
 
Can sombody suggest me from there ?
An EXTERNAL HARD DRIVE
 
@AbhishekHingnikar what ?
 
@KendallFrey latest news: Rob Ford finds Jesus and vows to quit drinking
 
1:10 PM
orly
I also heard he works out every day
 
well they removed him from City Hall yesterday. Deputy Mayor is in his place.
so the last of his powers are now gone. He still holds the title but that is it
 
@KendallFrey @rlemon you from?
 
no I to
 
@rlemon , @KendallFrey can you suggest me an External HDD ?
 
1:14 PM
WD black 1TB
 
link ?
will it work with Thunderbolt ?
 
"WD Elements" I think it is called
^ why would you even make a usb2.0 3TB ext HDD
 
is it just me, or is grep really slow?
 
@rlemon because people don't know what they are buying?
 
1:26 PM
Transfer Speed 5 Gb/s (USB 3.0), 480 Mb/s (USB 2.0)
Holy SHIT !
 
Thunderbolt 2 is 20Gb/s IIRC
 
@BartekBanachewicz I can't find a thunderbolt drive on flipkart
if i could i would off bought that instead :-/
 
@Incognito The fact that there is a business for that is impressive... That this guy got 5$ so many times is hard to trust.
 
@dystroy Oh, it's you again...
 
1:31 PM
@rlemon bought
 
@dystroy I'm going to give him money for a logo once I sit down and code my side project.
 
@Incognito I'd rather pay 7$ to a guy doing something a little more usable.
 
(the scope of my project is so small I can bang it out in a day or two)
Yeah, but in my case it'll be funny.
 
Announcement : who here wants to draw a not crappy logo for an amazing open-source project ?
 
@AbhishekHingnikar you are not the only one!
reading this post about some shit going on with twitch
get this screenie: i.imgur.com/zuEuis9.png
look in the top right corner
hurr hurr hurr
 
1:35 PM
@dystroy me!
However, I don't know how to draw, is that a requirement?
but I've made amazing logos.
 
@FlorianMargaine Well, you know what Miaou means, it's a start. SVG and transparent would be perfect.
 
@rlemon sfw pic?
 
yes
 
@FlorianMargaine Here's mine : dystroy.org/spacebullet/img/bullet.svg
 
1:37 PM
wow
way better
 
(well, I probably made other ones but I dutifully forgot them)
 
@dystroy I forgot to tell you I've enjoyed playing your game.
 
basically he posted like 10 screen shots on reddit bitching about Twitch.tv going on a ban parade and in his google search bar it says "furry porn"
 
lol
hi motu !
 
@BartekBanachewicz Thanks a lot.
 
1:38 PM
hi chotu
 
@FlorianMargaine Well, there are a few logos I made here : dystroy.org
OK, so the contest is open : Draw a beautiful logo for Miaou and I might go as far as look for an excuse to not use it !
4
@FlorianMargaine I know you use reveal.js. Do you use highlight.js in it ?
 
I think it's provided by default with it
but yeah I've used code snippets in reveal.js presentations
 
@BenjaminGruenbaum Where were you!?
 
@BenjaminGruenbaum Hum... yes ?
@FlorianMargaine May I invite you on my chat ?
 
1:49 PM
How does microsoft name its products ?
Blend , LightSwitch, Visual Studio
 
Can somebody find why there's an indentation break in dystroy.org/temp/pres/#
                    arguments: {
models: [
?
 
@dystroy the HTML source has an indentation difference
 
@FlorianMargaine I don't get you
 
@dystroy open it in sublime ctrl + a
 
2:07 PM
@AbhishekHingnikar Can you please point the problem instead of asking me to install another editor ?
 
posted on November 21, 2013

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) {} Hey geeks! I'm curating some of my favorite comics over at Buzzfeed.

 
Hi
 
what editor do you have @dystroy ?
 
@AbhishekHingnikar geany
 
@dystroy well whereever you have written this source code
                    arguments: { <- has <span> elements

models: [ <- starts in a new div
basically you have indentation difference or you pressed enter twice
 
2:09 PM
@AbhishekHingnikar Office time is over... Bye dude...
 
@CJRamki Come back in the room from home ?
I stay in this room 24 / 7
from office , from college , from home
 
@AbhishekHingnikar view the source of the page... it looks perfectly fine. (@dystroy that's odd O_o)
 
@AbhishekHingnikar It is not possible for me... But i will try... GN
 
@dystroy just convert this to french and you are set.
 
@CJRamki why ?
 
2:11 PM
 
@rlemon Well, "converting" it might require more talent that what I can provide :\
 
nahh, add an accent above the right ear and you are set.
 
@AbhishekHingnikar I'm not having internet facility in home... So only...
 
2:14 PM
@AbhishekHingnikar It works. Can you explain that to a stupid (and excessively tired) senile French coder ?
 
@dystroy tabs vs spaces
I converted your code to spaces from tabs
 
But I thought I checked that... Where did spaces come ?... Damn...
 
also if you see the block is huge -_-
 
@AbhishekHingnikar I hate you
 
with tabs it made the block a div
with spaces it made everything a span
@KendallFrey hate me all you want :P
 
2:16 PM
@AbhishekHingnikar Bye dude...
 
OK, it breaks if I replace all 4 spaces by a tab. highlight doesn't seem to be compatible with tabs or there's a problem with the enclosing markdown parser...
@AbhishekHingnikar Thanks a lot
 
no probs :-)
 
0
Q: How to detect attachments has been uploaded ? via using JS/jQuery

l2aelbaSame as this How to detect when a file has been uploaded? PHP : function my_cool_func() { // whatever it is that you want to do, do it here } // function my_cool_func add_action('wp_handle_upload', 'my_cool_func'); Looking for real detecting function when attachments / images / files has ...

 
I am almost about to shoot my ISP with a MOAB
seriousy -_- 4 days for MS office 2013 and Visual Studio 2013 pro
 
pet peeve # 479 - websites that offer example code but don't properly indent it.
 
2:23 PM
How can I quickly find all instances of a certain string in all files with a certain name, searching the current directory and subdirectories? I have some version of grep installed on Windows, but I couldn't figure out how to bend it to my will.
 
grep -r pattern filepattern
 
@KendallFrey Maybe overkill, but SublimeText has that feature built-in, I think.
 
If the pattern for the file name is slightly complex, you might need zsh
 
It just needs to be an exact name.
grep: MyFile.txt: No such file or directory
It's not searching subfolders
 
Yeah, it needs the right path
 
2:27 PM
grep -r MyFile ./
 
grep -R pattern|grep Myfile.txt
 
hey, it worked
thanks
 
grep -r pattern ./**/Myfile.txt # with zsh, faster
 
Speaking of logos.... Rafflemon will need a nice logo.
go crazy.
 
@rlemon Maybe identation isn't important to you as a programmer. Maybe you program in PHP.
 
2:36 PM
it was php :)
 
@rlemon Ah ha, there you go. :)
 
3:09 PM
Hi @Neil
Hi @rlemon
Hi @copy
I am in a Hi mode.
 
@qwertynl 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.
 
@rlemon I have been here before :-)
 
its a damn shame then that every time I stop lookin I forget you existed
 
@qwertynl Hi
 
@rlemon Who?
@Neil How are you?
Am I allowed to delete this post because I do not want to help the OP anymore?
 
3:19 PM
@qwertynl Nothing is stopping you
though I think you lose the rep you gained on the answer
 
Or do I leave it and ignore the silly comments?
The OP isn't trying anything!
 
Yeah, not really your problem, is it? :P
If OP wants you to offer him a full solution adapted to his particular work environment, you simply need to push him in the right direction and let him do the rest
 
<([^>"']|"[^"]*"|'[^']*')*>
 
@Neil I did, didn't i? Do I need to continue commenting?
It doesn't seem like he tried anything!
!!help
 
3:22 PM
!!undo
 
@qwertynl You do not have permission to use the command undo
 
ahh, ok then
@rlemon - how do I see what I have permission to do?
 
@qwertynl Short answer: No.
 
Does this guy not know how setTimeout works?
@Neil Ahh. ok. Thanks.
Again @melc ... Where is there any recursion in this example? You answer has just as much "recursion" and much more unstable (using setInterval) — qwertynl 4 secs ago
Also the OP still thinks that I gave him PHP code...
@qwertynl I can see that the script works at jsfiddle, but I can't get it to work at my own site. How am I supposed to insert it into my PHP file? — Marius 2 mins ago
 
@MirkoCianfarani blocked at my office.
What is that?
 
where are you from? or this (site) is blocked form router or state
state, I say country
 
1 min ago, by qwertynl
@MirkoCianfarani blocked at my office.
My office
I was just pointing out that you have errors and inconsistencies in your answer. And I usually use setTimeout instead of setInterval because the latter can cause headaches... — qwertynl 6 secs ago
 
ok now I upload the video in youtube
 
Hey everyone. I am developing a web application that includes multiple clients (android, website). The clients should be able chat with each other and post (and read) news. This means that all the news is added by the clients. Would node.js be a good option for this or would a plain php web service and a database be sufficient?
We're taking about approximately 100 users.
 
3:43 PM
Yes
 
Good morning
 
@qwertynl
repeat stupid golf
 
Best idea i ever had was right now, binding Shift+Space to four spaces
 
Oh cool, I forgot lunch is on Dell today. That should be fun
@C5H8NNaO4 outside of a text editor?
 
@RUJordan System wide, if it causes problems, i guess i limit it to Notepad, Notepad++ and Chrome
 
3:48 PM
Interesting, how did you do that?
 
If you're programming outside of your editor, you're doing something wrong
 
@MirkoCianfarani ow
 
jsFiddle is my editor
 
Why?
 
shift+spc = 4 would be handy on SO main and chat for easy indentation in editing
 
3:52 PM
Only if you write code outside of your editor, which you shouldn't
 
Because I have Chrome open anyway,It's faster to open a new Tab with jsFiddle, than opening Notepad++ also I have access to it if I'm not at my PC
 
I write tonnes of canvas stuff just in online editors: take it from me, this is a horrible habbit and has bitten me in the ass more than once.
 
I can understand. jsfiddle is no worse than notepad++...
@RUJordan ctrl + k
ah, I see what you mean. Sorry.
 
@RUJordan I just found a neat tool called AutoHotKey pretty configurable
 
go choke on a croissant...
 
3:54 PM
@rlemon :D
 
My brain says "Visual studio is a bloatware"
 
@AbhishekHingnikar talking to dead isn't sane
 
@FlorianMargaine it will be brain dead soon
 
@copy is there any editor you would recommend? the idea of not writing code outside ones editor sounds right
 
vim
 
3:57 PM
vim/emacs/st3
 
st2 vs st3 go
 
@FlorianMargaine :D
<3 ST3
 
@C5H8NNaO4 Real programmers code in binary use a hex editor !
 
I should give ST another go
 
It has a good CF plugin and it's great for .js files, .css etc. Auto complete is great
 
3:58 PM
CF?
 
@AbhishekHingnikar :D Seems legit
 
ColdFusion
 
@AbhishekHingnikar no, real programmers use electricity
 
only the worst...
 
@FlorianMargaine coldfusion (yes I know, it sucks. It's what my work uses)
 
3:59 PM
@RUJordan poor soul
 
(I answer questions for other people)
 
I don't even like writing functions in CF because the overhead is insane.
 

« first day (1132 days earlier)      last day (3809 days later) »