« first day (1178 days earlier)      last day (3776 days later) » 

4:00 PM
I wish you couldn't downvote without a reason >=| so annoying
 
Sessions are stored in cookies not server side. The server just stores the session ID and checks against the cookie on the users computer to see what the sessionID is — Graham Ritchie 16 secs ago
 
Not according to this answer
14
Q: When should I use session variables instead of cookies?

sprugmanSession variables and cookies seem very similar to me. I understand the technical differences, but how do you decide when to use one vs. the other?

 
@RUJordan I think maybe the first person to downvote should have to put in a reason. Subsequent downvoters can just agree with the reason.
 
@MadaraUchiha Can you show a demo?
 
I'm an idiot, disregard me. (adding array to number)
3
 
4:01 PM
:-P
 
@RyanKinal exactly yes! It's not the rep lose that bothers me, it's the fact that I'll never know why I was supposedly wrong :(
 
1
Q: Equivalent of this Javascript code in Objective-C

ge0rgesI would like to know how to mimic this javascript code: var send_photo_tapgram = function(data){ $.post('${request.route_url("tapgram")}', {prev_msg: "New photo", category: 'photo', sub_category:...

 
This isn't the Objective-C room, nor a code conversion service ;)
 
The purpose of SO isn't to port your code.
 
@dystroy Whaaaat? Who said? ;-)
 
4:17 PM
it is a good way to get your question closed however (posting in here)
 
4:36 PM
something in me died since I read that bashing article .. @rlemon posted a while ago
my passion for SO faded slightly :-P
 
@jAndy link please ?
 
Thanks
 
Can someone explain to me this (function() {})(); syntax? you remove the function and it's just ()();Does this only work if the first parenththesis have an anon function?
Why can't I var test = function() {} and place test: (test())();?
 
var test = function (){} .... it's assignment to test variable
 
4:43 PM
@web2students.com It's been 20 years. You can't just waltz back into my life like this.
 
@CapricaSix what?
 
@Phil You mean (test)(), which is the same as test()
 
@web2students.com but, if you typeof test it's a function
Yes, sorry, that is what I meant.
@KendallFrey so is the ()(); syntax only looking for anon functions?
 
@Phil let me explain
 
No, but it's the best way to call them
!!google IIFE
 
^ yep
 
GIMME
 
@web2students.com thank you! reading it :)
 
4:50 PM
@ThiefMaster You're at the CERN ?
 
(to a zürich server, i.e. not just a few kilometers)
yes, started a 2-year contract today
 
"Innarwebs Fameā„¢®"
 
Dang, that's beefy.
 
I should tell recruiters I only accept an employer who provides me at least 500 Mb/s in upload. Thought it might be hardly compatible with my other exigence to work at home...
 
My home has 100 Mb/s and I thought that was good.
My office is performing at 85 up/down.
 
4:53 PM
Yeah !
 
yikes.
 
(biggest problem for me is upload, and this is after they beefed my connection due to my irate calls)
 
Yikes.
 
@Phil i found an error in my blog, function acceptAnonymousFunction, that code is not called, i will update it later
 
haha, I noticed that, but I assumed some code was missing
 
4:57 PM
I noticed when I was looking at my options for internet (at least for AT&T), they all varied in download speed, but all offered the same 1 MB/s upload speed...
Which is a shame, because I'm often running Minecraft or Terraria servers, and it'd be nice to actually have some upload speed...
 
2Mb/s makes for shitty Twitch streams
 
@Phil my updated code see here, jsfiddle.net/hcvLK
 
@web2students.com Can you explain the point of that please?
 
I'm going to start asking subway to just give me the stuff seperatly and I'll make it myself.
You can always tell when employees don't give a fuck
 
Welcome to Subway. Get your shit and get out.
 
5:04 PM
bonj all
 
Hey Simon
 
o/
 
@connorspiracist i was explaining usage of Anonymous function, passing it
 
@RUJordan Jeff Dunham?
 
Ya
 
5:05 PM
lol
 
He makes lots of funnies
 
Welcome to walmart, GET YOUR SHIT AN GED OUT
 
Well technically it was Walter.
 
tut
@web2students.com well, any function that hasn't got a name
 
I'm so tired I can't even bring myself to start this excel import...
 
5:08 PM
yes connor...
 
@nyl66 sucks no ones biting on irc
 
But, I went, on average, 27-5 in almost every round of COD I played. With a sniper rifle no less. #baller
 
@SimonSarris Hi
 
I'm getting like 10:10 on bf4 console with sniper / assault
Best round was like 14:9 or something
 
yeah student...
 
5:13 PM
Is hacker news down?
 
Dawwww... crap in a bucket!
 
Either I just had major deja vu or that was asked yesterday
@rlemon I thought you hated FPS?
 
@RUJordan consoles fps's are teh easy :P
 
Hey, is .split("\n") valid?
 
5:23 PM
Of course they're easy when you're a war monster like me :3 Give me a silenced, thermal sniper with armor piercing rounds? Hide me from thermal sights and automated killstreaks? It's so deadly.
lol
 
@MadaraUchiha yes
 
I played bf4 on PC. Also enjoyed it.
It is one of the only fps I like
Bf3 on PC*
 
!!> "herp \n derp \n lerp".split("\n");
 
@RUJordan ["herp "," derp "," lerp"]
 
Sucks because on console there are only like 4 hardcore servers.
Normal is lame
 
5:25 PM
kill confirmed is my jam. Technically you could get 100 kills and still lose if you dont get the tags
I love going hammer on the other team
dat algorithm
...not dat handwriting though...
 
I know Loktar :( - any good tips?
 
@RUJordan *algorith
 
5:40 PM
que?
 
@MadaraUchiha rtfm :P?
 
@RUJordan You've written "algorith` in the notebook
 
@RUJordan has anyone ever told you your face looks like lined paper?
 
@SomeGuy you've found my fatal flaw
m.
 
The resemblance is remarkable
 
5:46 PM
@rlemon it's hiding my gorgeous Ralph Lauren Polo :(
 
now you have to show us
 
Selfie time!
 
Nuuu I forgot to shave I look like a hobo D:
 
SHOW ME!!!
 
And you'll probably photoshop a dick in and or around my mouth
 
5:48 PM
no, but now I will
that phone will easily become a penis
 
It's the perfect hand position. Not too tight, not too gentle.
 
arr.slice() // clones an array, right?
 
:/ should I do this at work.....
yes.
 
@RyanKinal Yep
 
5:49 PM
It's a nice shirt
 
Sweet. Thanks.
 
But I look fat as crap
 
damn googling for 'erect penis' is not going to be fun
 
LOL
 
-1
A: Javascript regex : remove text between HTML tags

Justin RyderUsing jQuery, it's as simple as $('h1').html(''); $('h1') selects all h1 elements on the page, then .html('') sets the html of all elements returned to an empty string.

Who the heck upvoted it?
 
5:50 PM
The fact you have to do that at work makes this worth the pain
 
@RlemonsBoss rlemon needs you right now
 
Using vanilla javascript for anything sounds crazy to me :P — Justin Ryder 2 mins ago
 
Yeah I responded to that.
a) This has nothing to do with JavaScript but the DOM API and b) consider learning the basics before using abstractions. — Benjamin Gruenbaum 33 secs ago
 
@rlemon LOL, what are you talking about ?
 
4 mins ago, by RUJordan
And you'll probably photoshop a dick in and or around my mouth
I just do what the people ask for
 
5:53 PM
Please don't post it, it's my first day at my new job. :(
 
0
A: Javascript regex : remove text between HTML tags

RUJordanVANILLA JS TO THE RESCUE var x = document.getElementsByTagName("h1"); for (var i=0; i<x.length; i++) { x[i].innerHTML = ""; } Just insert any tag you'd like and wallah, no need for regex, or a 90kb library.

@BadgerGirl oh so you did end up accepting?
 
Yes, for 8 months. :)
 
Then maternity leave? ;)
 
Exactly.
 
steps over boundaries
 
5:56 PM
Then I will go to Germany forever and be a housewife.
 
@BadgerGirl I'm happy for you :) Congratulations
 
@BadgerGirl hausfrau? Am I good, or what not so much
 
Thanks. I got a macbook pro.
 
Cool, I got one of those for work too
I kinda love it with an external monitor
mavericks handles externals well
 
MOOOOOORNING
 
5:59 PM
@SomeKittens Now that you're married you're not kittens anymore. You're cats.
 
Why roll up a newspaper to swat a fly, when you can use just use a flyswatter-knife-chainsaw-corkscrew-gun-unicycle combo tool to do it? — Retsam 1 min ago
 
@BadgerGirl No.
Also, did you get the video of my wedding?
 
@SomeKittens congratz on getting married!
now enjoy the no-sex drive!
 
\o/ thanks
 
@FlorianMargaine He was already enjoying that
 
6:01 PM
I'm having infinity times more sex now.
 
@SomeKittens No :(
 
Drat. We didn't take any, I thought you would get it.
 
posted on January 06, 2014 by paulkinlan

The Chrome Dev Summit finished a couple of weeks ago, and here's the first in a series of reports from the event. There was a strong emphasis on Mobile and Cross-device development, so we'll kick off with that! Best UX patterns for mobile web apps by Paul Kinlan After an analysis of the mobile-friendliness of the top 1000 sites we found some problem areas: 53% still only provide a desktop-o

 
@SomeKittens <3
YOU SHOULD HAVE MARRIED ME whattup bro
 
That's why i hate jQuery
It attracts the wrong people
 
6:05 PM
Lol @web2students.com you're such pretty decent at troll sometimes.
by the way, ++i is better than i++ because in i++ , during compilation in i++ a extra variable is created as temporary, then value is assigned and then value is incremented, but in ++i no such things happens. — web2students.com 1 min ago
 
@SomeKittens Why not?
 
@BenjaminGruenbaum How is that trolling? Looks like pedanticism to me
 
@SomeGuy We thought @BadgerGirl would get it.
 
@BenjaminGruenbaum yes, i posted just for fun :P
 
@web2students.com Even if this is not bullshit, It wont make your app/page any faster, only less readable
 
6:06 PM
Let me rephrase, I hope that's trolling.
 
@BenjaminGruenbaum Looks factually accurate to me
 
"x is better than y" isn't really factual in this case
The rest of it may be, but that isn't
 
But completely irrelevant - which makes it a decent troll.
 
I didn't read the context
 
Like this: 27bslash6.com/missy.html only not nearly as good.
 
6:08 PM
I do know that that's a well-known optimization
 
@RUJordan what is your email
 
you didn't...
 
Actually having a variable called x is faster because it's before y in the alphabet so when javascript does for loop it will be quicker to get to x to find it and name the variable
 
@RUJordan I did
 
@rlemon jordan.a.724[at]gmail.com
 
6:09 PM
@rlemon link plz
 
ugh, you know it will get flagged.
imgur w4Uu7tz
@KendallFrey @RUJordan
enjoy
 
I want to click it... so badly... but... at work :(
 
haha +1
@nderscore Me too
It's not visible from a distance
 
@nderscore it isn't so obvious
I think for a quick peek it is okay
keep in mind I made it at my desk
had to zoom in to crop things.
:/
 
you have no idea how visible my monitor is to the majority of the office
 
6:11 PM
re-positioning that finger was a PITA
brb coffee
 
did you send it?
I dont see it in my email
 
@rlemon can look up and photoshop pictures of genitalia at work, but whenever I do it everyone else is "glad I'm finally focusing on the task at hand" and "good thing you finally gave up that stupid programming stuff for what really matters"
I also like how the imgur url is all 'wuutz?'
 
@BenjaminGruenbaum that was the best troll ever
those posters killed me
 
@BenjaminGruenbaum What was that 'making Angular' article you pinned a while ago?
 
!!tell SomeKittens google 'make your own angular'
 
6 mins ago, by rlemon
imgur w4Uu7tz
decided to just put the hash
it isn't a link, it is just random assortment of letters and numbers
if it leads you to anything, not my fault.
 
@BenjaminGruenbaum Excellent, thanks.
 
Welp... that's a big ol weener indeed
I'm kind of impressed
 
that's what she said
 
6:18 PM
!!afk I'm going to write down that url and go out for a vape break and look at it on my phone dammit
 
@nderscore Nobody cares.
 
@nderscore lol
!!s/vape/fap/
 
@rlemon !!afk I'm going to write down that url and go out for a fap break and look at it on my phone dammit (source)
 
wow, it seems today I have @KendallFrey level sense of humor
 
need help resolving an angular issue - any experts on?
details and code posted at: stackoverflow.com/questions/20930515/…
 
6:20 PM
@nyl66 in this room; there is no point asking for an expert, just ask the question and hopefully someone will see it.
 
@nyl66 We've got Angular experts, but not mind reading/fixing your terrible codes experts. Ask wisely
 
yay!
 
i have two directives on a page: a server-side data-grid and a filter-form that needs to be initialized to some default values so that the grid loads the filtered data and the form displays the default filter values - what is the best practice for doing it?
 
@BenjaminGruenbaum ^
 
@BenjaminGruenbaum you are freelancer?
 
6:30 PM
@nyl66 uhh... wait what? Any reason to not just store the default values on a scope?
Then replace them?
 
each directive has its own child scope
 
@nyl66 yeah, but why are you not just using values from the parent scope?
 
@rlemon totally worth the trouble of going outside to see. A++++ would look at again
 
@nderscore I already told you, nobody cares.
 
I also want to be freelancer
 
6:33 PM
@rlemon Hahaha
 
@web2students.com I'm not a freelancer... I work for a company
 
@rlemon Dude, that's so much worse than I'd imagined
 
So no lunch today I guess @nderscore ... Tomorrow then?
 
ok @BenjaminGruenbaum
 
ProTip: Don't give me photoshop ideas that have to do with your face and a penis
@SomeGuy lol what did you imagine?
 
m59
6:34 PM
It's worth noting that element.event such as window.onload etc is outdated and it's preferable to use element.addEventListener. You have really high rep and I don't mean any offense, but I think it would be good for your answers to recommend best practices. With a rep like yours, your advice carries a lot of weight. — m59 2 mins ago
 
@rlemon That, but it didn't look that well done in my head :p
 
m59
Does that make me a douche? ^
 
@SomeGuy hahahaha
 
@qwertynl I'm not sure if lunch during the week will work for me. For us to meet up somewhere, eat, and then go back, I will be going over my lunch break limits :(
 
@m59 no, it's incorrect though.
 
m59
6:35 PM
Is it?
 
@nderscore but but but but.... lunch.... One day of extra lunch time won't get u fired :-P
 
I've been inspired by a reddit account
 
@rlemon What is it?
 
@SomeGuy looking for his account
 
m59
@BenjaminGruenbaum if it's incorrect, it only makes my point haha. The concept of it being outdated came right from one of you really high rep dudes =D
 
6:36 PM
it is like "remover of things"
he goes into pics and just photoshops out a random thing
sometimes it is hard to find what he changed
 
Haha, that'd be interesting
 
Templating through str_replace? Is he trying to give me a heart attack?
 
I want to meet this Simon Dempsey guy
He sounds like a card
 
@SomeKittens can't find it right now :/
damn
 
m59
@BenjaminGruenbaum What is incorrect? I'd like to fix it...
 
6:41 PM
it might be the solution i'm looking for...I had issues binding my form to a model in the parent scope because it is dynamically-generated from server metadata (json)
 
@KendallFrey ^^
 
i posted simplified code on stackoverflow.com/questions/20930515/… but some kittens complain its too much :(
 
Because there's > 100 LOC there in an overly-general question.
 
m59
@nyl66 yeah, its definitely too much
 
@rlemon Yes
My problem is I always forget to raise the ladder before takeoff
 
6:45 PM
i hear u m59
 
I recorded a complete Apollo-style mission, but I forgot to send anyone to the surface
 
lol
 
My first 5 tries I didn't make it to the Mun before fucking up
 
will try to trim it
 
m59
@nyl66 Let's say I'm your user
What do I do?
 
6:46 PM
I turned the CSM around before lunar injection, etc
 
m59
Is this just something that happens on page load and that's all?
 
Every time something went wrong
 
> How about you agree to waive the fine and I promise not to email you the remaining eighty six photos of my dog dressed as a bear.
> Agreed.
 
There are worse things than forgetting a ladder, anyway
 
yes...when the page loads the default filter should be used for the server-side query and should be visible in the form
 
6:47 PM
 
You can fly with the rocket pack
 
^ Saw the real thing
 
Is that SSME?
 
I have astonishing news @BenjaminGruenbaum
 
6:48 PM
@rlemon ?
 
@KendallFrey Business end of the Saturn V
 
@BenjaminGruenbaum Gary Oldman is in fact younger than Gary Numan!!!!
 
Yeah, never saw pics
 
I didn't think it looked quite like SSME
 
6:48 PM
Was so in awe of the Shuttle I forgot to take pics
 
@rlemon that can't be true
 
SSME is pretty awesome
Without cooling, the nozzles would melt
 
@BenjaminGruenbaum 13 days older
shocking eh?
 
@KendallFrey The cool part (intended) is that it's the fuel itself that's doing the cooling.
 
ikr
liquid gas
 
6:51 PM
I had a model rocket - said it went 1.5 km high. so I built it and launched it on a day with little to no wind. As soon as the parachute deployed a gust blew in. it was over the horizon and still drifting by the time I gave up on watching it. I hope it landed in someones tree or something. Next time i'll put my email on it.
 
I have one
I launched it a couple times
 
I have another one, haven't gotten around to building it yet.
I think delaying the chute opening would be the best solution
they are so light that they drift SOOO far with any wind
 
yeah
Mine is so light it doesn't even have a chute
 
My father/brother-in-law are into rocketry. They have 8' rockets.
 
Just a streamer which is 1/3 melted away
 
6:53 PM
I probably could have done without - the thing was made from balsa wood and cardboard
but the plans called for a chute, so I included one
 
I've seen a rocket launched without wadding once
lol, oops
There went the parachute
and nose cone
 
Ugh. Angular. UGH.
 
Plugh
 
wow. much angular. very scope. so watch. wow.
(@rlemon I have become quite the fan of this meme)
 
@RyanKinal it is such a good meme :P
 
6:56 PM
It is!
 
You have 50K and do not know about the editing grace period? I am baffled... — qwertynl 23 secs ago
Whoa...
 
look at how it has exploded as well
dogecoin?!
so win, much currency, very wow, forever legit
 
shooting rockets is fun
although power lines suck!
they have some sweet ones that take video now
 
Yeah, I saw that happen once
 
I has been a long time since I've done anything with rockets.
 
6:58 PM
I bet it's still there
 
my son had a 4ft one.. it was awesome
 
@RyanKinal Same, except KSP and orbiter
 
got stuck on a stupid powerline on the way down
lol it was behind our house too, so we saw it there for close to a year
 
m59
@RyanKinal not a fan of Angular?
 
I want to know what happens if I use non-staging engines to make a staging rocket
 
6:59 PM
boom?
 
i doubt it
The worst that would happen I suppose is not having the second stage ignite
 

« first day (1178 days earlier)      last day (3776 days later) »