« first day (1489 days earlier)      last day (3449 days later) » 

5:01 PM
@BenjaminGruenbaum MS open sourced .NET...
awesome news
 
ooold
so who's up for a game of potato empires :D
 
@BartekBanachewicz Is that when you reenact crusader kings/europa universalis with your french fries at lunch?
 
@ssube nah, it's my game
:)
I'm happy because I've released 0.2.1 today
 
Nice polling
 
@copy oh come on :D
everyone notice that thing
@copy here
 
5:17 PM
So much code
 
The server that is
It's not very complex, is it?
 
@copy well it has quite a bit of functionality already
dunno what's "very complex" for you
game logic has 230 LoC, web handlers 117 LoC, serialization about 100 LoC
that's not much IMHO
 
user1596138
@BartekBanachewicz Haskell 69.7% // nope
 
@Jhawins nope what
 
user1596138
5:23 PM
Nope.
 
@Jhawins ?
 
If I define a named function within a function, is the scope of the name constrained to be just in the function in which it was defined.

eg. function x() {
function y() {
}
}
 
@Kolban Yes.
 
@ssube Thank you sir
 
That goes for anything you declare, be it function foo or var foo. It's what makes scoping useful.
 
user1596138
5:27 PM
@BartekBanachewicz idk I know nothing of it
 
@Jhawins Our flatmate, who isn't a programmer (had a few months' experience on uni a few years ago) took about 30 minutes of reading the code and was able to fix bugs in it; I'd say it's fairly readable
 
user1596138
Good irrelevant point :P
 
@ssube I think I understood for 'var' definitions but wasn't sure for function() definitions especially since if define "var y = function() {....}" I would have achieved a definite local function called "y" but wasn't sure about an explicit name on the function definition.
 
user1596138
Nice
 
@Kolban Also, I don't mean this as snarky as it sounds, but your browser has a javascript console that you could have tested that question in pretty quickly.
 
user1596138
5:29 PM
Yeah I can follow the code in your repo, it's oddly readable for what I expected form you.
 
user1596138
Ya know, king of difficulty and all. :P
 
!!> function x() { function y() {} }; y();
 
@Retsam "ReferenceError: y is not defined"
 
@Jhawins woah. why? :D
 
@Kolban I'm not honestly sure the effective difference between function foo and var foo = function () {, at least scoping-wise. The former is much better when it comes to debugging, since it's a named function, rather than anonymous.
 
5:30 PM
@Retsam Thats true and you weren't being snarky at all ... I'm new to this chat room and figured it was less formal than Stack Exchange questions and more of folks around a water cooler.
 
The latter can obviously be reassigned, but the former can be screwed with a fair amount as well.
 
@Retsam @Kolban that gives you just the behaviour of one interpreter, though.
 
@BartekBanachewicz If scoping varies between browser, may the darkest gods help us all...
 
user1596138
Heh.
 
@Kolban It is; and we don't mind reasonable questions like that one; but it's probably faster for you to get your answer that way, anyways.
 
user1596138
5:31 PM
But yeah that XHR is slow
 
it's set up to 500 ms now
but yeah it won't run much faster :|
 
user1596138
Well but no matter what
 
user1596138
lol yeah. Eh.
 
user1596138
Is haskell socket friendly (as in easily)?
 
Can someone here tell me which is more suitable for MVC? Node.js or SignalR?
 
5:33 PM
@Jhawins I haven't really tried websockets with my web framework yet; they required a different handling (i.e. I couldn't add them as another post handler) so I left them for later
 
user1596138
Is (haskell.hispterLvl > NodeJS.hipsterLvl)
 
@Arbaaz Probably not. What are you deploying to? What languages do you know? How big will the app be?
 
You can just serve all files statically and do websockets only
 
user1596138
@BartekBanachewicz Oh yeah of course lol. But ^
 
@copy true.
I wanted to use EventStreams
But they are weird.
 
user1596138
5:35 PM
!!afk lunch
 
@ssube I work with c# and asp.net . Sql Server. And I know some javascript and jquery. Thats all i know . My aim is to learn whatever is required to develop a social networking kind of site(real time) Just for learning's sake. But i would not want to learn something which is not in scope in the market.
 
@Arbaaz What market? Which skills are you trying to use/improve? Neither of those seems like the best choice.
 
@Arbaaz sure. Because the world needs another social network of few
 
yay
I've enabled -Werror :3
 
@Arbaaz You're almost always going to end up ahead of you write a backend REST API and frontend using JS MVC (or MVVM, if you buy into that naming convention).
It learns you many practical things.
Plus you can just pick your favorite stack for that, or mix it up every so often.
 
5:39 PM
*teaches
 
@ssube by market i mean .. i dont want to spend time and effort which will not help my career.
I am fascinated by how real time web apps work.. like social networking sites for example.
 
@JanDvorak Teach implies some consent and is a softer form of education. Sometimes you'll run into a situation that's gon learn you a thing. :p
@Arbaaz Then definitely look into JS MVC stuff, like Backbone or Angular or (insert others). That's how single-page apps are built.
 
I would just like to learn how i can develop websites like those. Real time notifications and posts and stuff.
 
@ssube "learn" is strictly intransitive
 
It just so happens that it often goes with a REST API to pull the data from your server.
IT also means you can mix and match clients and servers as you go along, which makes it a very valuable exercise. Set up some data structures and a standard API, then implement the server in a few ways, the client in a few, ...
 
5:41 PM
@ssube lets suppose i want to develop a replica of facebook(or something more simple)w hat would you suggest . WHat should i learn?
 
@Arbaaz Honestly? Don't.
 
why not?
 
It won't teach you much. You don't need to be scaling to billions of users, that just obscures practical things like writing clean APIs and code.
 
facebook sucks
 
Start with something small, interesting (to you), and maybe even original.
 
5:43 PM
what interests me are the real time websites where you see notifications and messages or contents poping up
not necessarily social network
 
I think a social network is okay.
Start with basic functionality like user profiles and chat.
 
Games are a good way to play with notifications and syncing. So would a chat app.
I've always been intrigued by atmosphere for that, but never had a chance to use it.
 
java, eh.
 
i will look into it
 
well you can use it from clojure or scala I suppose
 
5:47 PM
@BartekBanachewicz The interesting part, imo, is how it abstracts a bunch of various transports.
sockets, SSE, and all the way back to JSONP.
@Arbaaz Whatever you do, make sure you write docs and tests (before or after the code, whichever you prefer). Keep notes, coverage, maybe even spin up a teamcity server if you feel like building a network that's complete overkill for your project (which we all do eventually).
 
@JanDvorak it really does. All I see are people sharing buzzfeed articles or things I saw in imgur 3 months ago
Buzzfeed articles suck D:
 
@SterlingArcher Watching that progression is hilarious. At my house, a couple folks read reddit, some facebook, and one just watches buzzfeed. When something big comes up (like too many cooks), it works its way through the networks.
 
DAMN YOU I JUST GOT TOO MANY COOKS OUT OF MY HEAD
D:
 
sry :(
 
@SterlingArcher what's that?
 
5:59 PM
My boss is gonna hate me when I start singing it again lol
@JanDvorak it's... it's something else.
 
@JanDvorak oh no
 
You have to watch the whole thing.
Don't give up.
 
It just keeps getting better.
and keeps getting better, and keeps on, and keeps, and.....
 
The ending made me laugh way too hard
 
The hawk/house/hawk/house is my favorite.
 
6:04 PM
I really don't understand the topless girl
Like, dude climbed up my window, has binnoculars from 5 feet away, yeah let's keep losing the shirt
 
I was able to figure out how to replace a swatch with a symbol in my highcharts but lets say I dont want the swatch to show for the other one. How do I hide the swatch but keep the column?
here is the fiddle
 
wtf that guy looks like jandy
ripped, and wearing lederhosen
 
@SterlingArcher I think she was purely fan service, since she keeps showing up topless.
 
Either way, there were definitely too many cooks.
 
But fan service in the creepy "why did you do that? oh god, why?" adultswim way.
 
6:07 PM
xoo.bynifty.com ....sure?
 
Hey !
 
ok, now it's starting to get good
 
Wanted to ask.. can i deploy an angular app on heroku ?
 
anyone know how I would go about removing the colored swatch from my highchart?
without killing the column...making it transparent also hides the column
 
@BenjaminGruenbaum I like the idea, not sure if I'd have the time.
 
6:11 PM
@SterlingArcher ok... WAT
 
@JanDvorak literally (sorry copy) my reaction
My co-worker showed it to me
 
stackoverflow.com/questions/24918629/… so I never realized that someone put an answer (aka what I commented)
why is it I have to vote to close a question with a zero-score answer?
 
@royhowie You can answer your own question
 
@royhowie Answer yourself and accept it.
 
@SomeKittens But the question should be closed. It was just a typo.
 
6:14 PM
yup
voted close for typo
 
@SomeKittens +1
 
@SomeKittens cool
 
I have no idea what I just watched
 
@KendallFrey Too Many Cooks?
 
6:16 PM
@rlemon there's no saving that question, right?
 
@SomeKittens There was blood
That's about all I know
 
@royhowie correct - though closing will let you keep the 3 rep.
 
It takes a lot to make a stew, bro
 
@SomeKittens okay, thanks
 
@SomeKittens until Roomba swoops in
 
6:18 PM
@SterlingArcher Seeing as I actually mod around here, can haz owner?
 
@SterlingArcher A pinch of salt and laughter, too
 
Guys here's some photos from the comet landing imgur.com/gallery/NoPlA
They're pretty tight
 
@JanDvorak I'd much rather be at 2040 rep anyway. I don't like 2043
 
@SomeKittens I have no trouble with it, but can you ask Benji, Florian and Lemon too?
 
@rlemon See above
 
6:20 PM
@royhowie 2048 is better
 
@JanDvorak DON'T YOU DARE DRAG ME BACK
 
I have no issues with it @SterlingArcher @JanDvorak @BenjaminGruenbaum @FlorianMargaine
 
@JanDvorak this is true
You haven't won at 2048 until you've gotten at least 4096, though
 
@SterlingArcher they missed one
lemmy find it
 
@royhowie Have you ever gotten 8192? No? NOOB
 
6:22 PM
@SterlingArcher found it! I don't know why this wasn't in the gallery, it was the first picture the lander snapped. here
2
 
@SterlingArcher Ooh, haven't seen those yet!
 
ITS AN ALASKAN BULL WORM :O
 
@KendallFrey actually, I just did: csie.ntu.edu.tw/~b01902112/9007199254740992
 
0
Q: How do I remove the color swatch from my HighCharts legend without affecting the column?

SkullomaniaIn my JSFiddle the swatch by My Company is blue. I already know that I can replace the swatch with a symbol as shown in the JSFiddle posted, but how would I go about removing the other swatch without affecting the columns and just keeping the series name My Company. I tried setting the color to t...

 
@SterlingArcher i.imgur.com/7AwXxKC.gif what a great gif.
 
6:23 PM
@royhowie ...noob
 
!!youtube numberwang
 
good old british tv
 
6:25 PM
American version: That's ...a number!
 
@SomeKittens oh my god what the hell is this?!
 
@SterlingArcher ESA is so underfounded they still have black and white cameras. hahaha
 
Is StackOverflow the best place for asking web development questions? Do we have a more specialized stack for web dev?
 
@NickAlexeev 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.
 
@SomeKittens starts playing I need some reference!
 
6:27 PM
the rooms rules are confusing
don't ask to ask
but ask and if we want to we will answer, and sometimes call you a vampire
lol
 
asking to ask is redundant
 
@Skullomania I'm not asking to ask. I'm asking where to ask.
 
@JanDvorak See the video
 
I hate @KendallFrey
 
@NickAlexeev SO seems fine for webdev
 
6:28 PM
@NickAlexeev it depends on the question to be honest
 
if it is a good question
 
@SomeKittens :)
 
if it is a conceptual question, not so much
 
@NickAlexeev i think this stackoverflow is a good place to ask development questions
 
If it's a typo, or "why isn't my code working", it's going to be closed
 
6:28 PM
but be specific
 
Disclaimer for all, Nick is a mod on another SE site. we don't need to hold his hand on how to ask a good question
 
@NickAlexeev and make an attempt to try yourself before asking or do research
 
@NickAlexeev just give it a shot. SO isn't so much for conceptual questions so much as it is "I actually have a problem with this code"
 
@SterlingArcher why isn't my code working is it because i am on my period
 
@KendallFrey I'd be scared to CV that one
 
6:30 PM
lol
 
@rlemon is tuna healthy?
 
depends on how you cook it :P
but generally, yes
tonnes of protein
 
How many piano tunas ah thehe in the UK
 
tuna is great with sweet relish
 
@rlemon The question is this one, actually : "contact me" (or "help request") page with file attachment
 
6:31 PM
@NickAlexeev Submit the file with the form?
unless the form is AJAX
 
!!google tuna
 
yay...i made the bot speak
 
@NickAlexeev hrm, might be a little broad as it's asking for a recommendation on how to structure / what already existing things there are
 
@SomeKittens Yes. What to do if 2 users are filling out the same form and uploading files at the same time?
 
6:32 PM
it is however a good question for the chats! :P
 
The server will explode
 
so you have a form on a website. and people can send you a message AND attach a file to send to you. and you want this emailed to you?
is this accurate?
 
@rlemon Yes, that's accurate
 
@copy When was the last time you actually said something not blatantly false?
 
@NickAlexeev save the file with a timestamp as a name. attach the timestamp to their entry in your email/db
match files to names?
shitty way, but could work
what server technologies are you using ?? languages ??
 
6:35 PM
1 hour ago, by copy
You can just serve all files statically and do websockets only
 
@rlemon ASP.NET (possibly with MVC)
 
System.Web.Mail namespace provides classes for sending email in .NET. The classes involved are MailMessage which manages the content of the mail message and MailAttachment which manages the mail attachments
 
@NickAlexeev why don't you simply send the attachment in the mail?
you don't have to save it anywhere...
 
so when the upload hits the server, attach it, send it, dispose of the garbage.
 
@rlemon The other way could be to create a folder for each user (session). The folder would be named by a timestamp or a GUID.
 
6:36 PM
no need to manage the files
@FlorianMargaine this is what i'm trying to get at
the files do not need to be stored anywhere if you're attaching them and emailing them to yourself
keep em in the email.
 
damn, a left and a right KO shot
I wanna know what he is dropping
is that a phone? why does it look like it sparks when it hits the ground?
I have to know....
 
user1596138
I documented some intelligent behavior in this chat
 
user1596138
Jul 17 at 18:30, by Jhawins
I just headbutted my coffee mug while it was on my desk
 
That's using your head.
 
user1596138
6:41 PM
Oct 6 at 18:57, by Jhawins
Hmm no wonder my cursor wasn't moving that's a fork not a mouse
 
wat xD
 
user1596138
Eating lunch at my desk
 
Were you involved in a motorcycle accident that left you without the use of your arms?
 
user1596138
?
 
@Shmiddty Limiting that to motorcycles is discrimination. It could have been a bicycle, unicycle, tricycle, or any other kind of incredibly dangerous contraption without the proper, complete set of four wheels.
 
6:43 PM
@ssube I have it on good authority that Mr. Hawins enjoys motorized bikes.
 
user1596138
Srs bsns this is
 
I'm poking fun, sir.
 
user1596138
I was too
 
you headbutted your coffee mug, so I'm imagining what could have possibly led to this eventuality.
 
user1596138
Hey @Shmiddty I bet there are cool skii resorts in CO?
 
6:45 PM
I would imagine so
 
user1596138
My ~2 week vacation is over the holidays so
 
I may go up this season. I'll let you know what I think
Oh. We should totally go up to the mountains
 
user1596138
Actually scheduled this time. Mandatory. So I have to do something I've been thinking of skiing/boarding
 
I'll see if I have a group of friends heading up that coincides with that period
(I don't drive)
 
user1596138
Cool cool I'd seriously be interested! I'm in Indiana so it's going to be a bit of a drive no matter what to get to any mountains
 
6:50 PM
Still can't decide if I'm getting this: kickstarter.com/projects/1990654819/paranoia-rpg
thoughts?
 
I want that damn belt now
:shakes fist at @SomeKittens:
 
user1596138
Holy shit
 
user1596138
Me too
 

« first day (1489 days earlier)      last day (3449 days later) »