« first day (1655 days earlier)      last day (3296 days later) » 

1:01 PM
^ flagged as not constructive
sorry
 
notsorry
 
Can't even troll :(
 
then don't
 
#Progress continues to experience issues and has entered slow spin. Russian flight controllers still troubleshooting http://go.nasa.gov/1DbzULl
rockets are fun
 
1:04 PM
@AwalGarg I don't think your comment helps. I might make the closing and votes look unfair and coming from a mob having fun
 
Following problems in question: duplicate ids for DOM elements, using arrays where objects make sense, not doing any code attempts, is an XY question. — Awal Garg 5 mins ago
 
@KendallFrey reload! reload! reload! Oh, wait, this isn't KSP.
 
well now my flag doesn't make any sense.
 
:D Sorry
 
@JanDvorak nah, just timewarp to stop the rotation. oh wait...
 
1:05 PM
Do you want me to delete the comment?
 
I don't know what the hell is going on with Chrome mac, but I have soooo much CSS back from clients because of problems that do not happen on windows or FF mac.
 
it doesn't really offer much more that isn't already said
it isn't rude anymore so meh
 
wait shouldn't dystroy's closing vote close the question immediately? because of the mojlinr thing?
 
only works for duplicates
 
yes
 
1:08 PM
oh. So technically anyone with a mjolinr badge can close any question by marking it as dupe?
 
technically, yes
 
Wha the truck is Liberland? You can just up and make you own country? Are they no pissing off the country whose land they're taking?
 
I can tag any question as javascript, then close it as dupe
 
@NickDugger it was "unclaimed"
 
my keyboard isn't reading all of my inputs...
 
1:09 PM
but now another set of people are claiming it as well.
so we're about to have the smallest war ever
 
Well sheet
 
5 vs 5
 
can they do it via a Halo match?
 
FWIW there is another patch of land unclaimed in some not-so-hospitable place (I can't remember where now)
but it is also very small.
 
CTF may be appropriate
 
1:11 PM
capture the proof of ownership
 
So, how is using spaces instead of tabs a sin? If you have a proper IDE, spaces result in code that's a heck of a lot easier to dump on SO.
 
@Cerbrus how is it easier ?
 
@dystroy: You're aware that mjolnir only counts for questions that originally had the tag right?
Tabs are too wide in SO's text boxes
 
@Cerbrus really ?
 
What you see isn't what you get
Ya rly
 
1:14 PM
I understand that you tried retagging in order to close ;)
 
@Cerbrus install stylish.
* {
	tab-size: 4 !important;
}
all pages
 
That's a hack
 
people being inconsistent with tab size display is a shame
 
@dystroy: Nah, I read that when the feature got introduced
 
so this is the best solution.
 
1:15 PM
The askers won't
The idea behind tabs is that they can vary their width
 
Oh, and I tried to close a question tagged jQuery, after I added JS :P
@rlemon: Oh, and a userstyle like that might mess up your edits. "But it looks ok on my screen!"... "Yea, only on your screen."
 
@dystroy lol close all library related questions :P
 
@Cerbrus not at all. it is only changing the TAB width. how will that ever fuck up one of my edits?
 
Enjoy being banhammered before the end of the day
 
my tabs are all consistent.
 
1:17 PM
When editing other people's posts, I mean
 
I still don't see it
a tab is a tab
I'm not redefining tabs
 
@rlemon when you're mixing someone else's tabs with your spaces
 
But if the width of a tab can vary depending on who's viewing it... imo, that's asking for messed up code
 
@JanDvorak I don't use spaces :D
@Cerbrus and how does that break anything?
 
var foo = 'bar',
	xddd = 'dummm';
 
1:18 PM
lol. okay.
 
or someone else's spaces with your tabs
 
@rlemon ^ looks consistent only at tab width at 4
 
Break? no. Make it ugly? yea.
 
your spaces make things ugly.
 
@Cerbrus Well if it's commited with tabs and everyone is using tabs then the tab width becomes a pure presentation issue in the editor
 
1:19 PM
You make things ugly :P
 
@ivarni thankyou!
 
"everyone is using tabs"
Good luck
 
@ivarni how about right-aligned comments?
 
"everyone is using spaces" equally good luck
 
@JanDvorak Give up on those
 
1:19 PM
@Cerbrus Yeah some people are idiots too.
 
@rlemon you're welcome :)
 
@ivarni These work just fine with spaces
 
damn chat trimmed my excessive spaces between words :(
 
So, back to the original question: "So, how is using spaces instead of tabs a sin?"
 
@ivarni it's not chat's fault :P
 
1:20 PM
@Cerbrus who said it was?
I must have missed something
 
Awal
 
@Cerbrus the same way using while instead of for is a sin
 
@Cerbrus consider the source
 
While vs for, I can agree with you
 
@Cerbrus uh, twas a (bad) joke.
 
1:21 PM
Here I go again taking things too literally...
 
@Cerbrus It's not wrong per se, it's just using the wrong tool for the job
 
Goddamnit
@KendallFrey: Visual studio uses spaces
Sure, it functions like tabs
 
Hi
 
But when copy-ing code, it's actually spaces
 
horrible
 
1:23 PM
horrible
 
I love it
 
TABS vs SPACES is moot so long as you are consistent.
 
My code's the same wherever I post it
@rlemon: best comment in this discussion
 
aslong as "whereever" has fixed fonts
otherwise... hell will crash down
 
If it doesn't, your code liiks like crap any way
tabs or not
 
1:24 PM
That's like saying static layouts are great because they look the same everywhere.
 
@Cerbrus fingers dyslexic today?
 
Qiute. ;-)
 
@Cerbrus only because that's how our code policy dictates
 
@AwalGarg "anal is great because it works for every gender?"
 
lol
 
1:24 PM
its not just about visualization.. I think its very cocky to give someone "spaces" instead of tabulator characters
 
No.
 
just because of editing
 
If it was up to me, my VS would use tabs
 
It's great, period.
 
you're just assuming everybody uses an editor which recognizes 4 spaces as tab.. if that's not the case.. again hell will open its gates
 
1:26 PM
^
 
@jAndy: If they don't, they have a crappy IDE :P
 
as I said, cocky :-P
 
@Cerbrus if you don't use the same tab width as me, you are crappy? :P
 
No, you.
 
No, YOU!
 
1:27 PM
(I never actually managed to use that as a actual answer :D)
 
You should set tab length to 1 space and use 2 tab characters for indenting!
 
0
Q: Combine xml outputs using javascript

Reon JohnI have a html application which allows you to select multiple xml files and it would process these files and display the outputs in separate tabs in Firefox. I would like for the outputs to be displayed in one combined tab instead of many <p> Please select the file by using the browse button...

 
You should mix tabs and spaces to give respect to both.
 
I use 8-spaces tabs
 
This is why I think tabs suck
 
1:30 PM
why is that.. unless you indent like 25 callbacks in nested functions
 
That code looks horrible, and half of it is out of the screen
 
4 space tab is perfectly fine
 
now we can stop the debate
 
Hehe
 
:D
 
1:30 PM
Linux kernel is 8 spaces tabs, Google's java is 2 spaces
 
there is no debate, tab > multiple spaces. period. Just because its a standard character defined in any freaking editor on this blue planet.
 
^ opinion
^ ergo, debate
 
@jAndy if you review my history on the debate. I am 100% in agreement. you hit the tab key, stop fooling yourself.
use a fucking tab
:D
 
opinion ? that is not a fact ?
lawl :o
 
@rlemon: I hit the [tab] key, and my IDE inserts 4 spaces
 
1:32 PM
Have you tried jQuery? — Nathan Tuggy 16 hours ago
 
the fact that you have to redefine the key to produce N spaces instead of the character it was described to be makes me argue it is wrong.
at the end of the day, idgaf
I use tabs
 
I didn't redefine it
 
"you" is a blanket term
 
Still
 
but its one character code which any freaking editor (even the latest crap shit fucking posix editor) recognizes and creates indentation.. ONE character
 
1:33 PM
In the end, whatever works for you, as long as you stick to one of'm, right?
 
if you replace it by spaces manually, this is all fucked
 
@jAndy: keyword: manually
 
Size of the code which uses spaces is larger than the one which uses tabs. I win.
 
there's nothing manyual about using spaces in visual studio
 
@AwalGarg moot
 
1:34 PM
manually = an editor which is cocky enough to replace one char with 4 spaces
 
@AwalGarg: minifier
 
any environment that size matter, you minify it and remove indentation.
 
@rlemon think python
 
bytecode
 
@jAndy: I like cocky :V
 
1:35 PM
python compiles to bytecode right?
 
mhm...
 
I made that statement off an assumption
 
Hi all, looking for help on how to use/set up websockets with apache 2.4 , anyone?
 
@rlemon Yes
 
@rlemon It does.
 
1:35 PM
@rlemon depends on the implementation
 
had a look through google & difficult to get something clear about that...
 
PIP 8 recommends spaces, so it's probably a good idea to stick with that
 
@Julo0sS Not sure if Apache is the best server to use websockets :/
 
so I bought a coffee cup warmer thingy... then realized 9/10 coffee's I have at work are in paper cups :?
 
@AwalGarg what would you recommend then?
 
1:36 PM
@Julo0sS NGINX
 
Anyone uses Unity Mail here?
 
@AwalGarg anything "free"?
 
@Julo0sS NGINX is free, and open-source.
 
@rlemon I need that
 
1:38 PM
There is a pro support version, but you don't need that.
 
@AwalGarg ok.
@AwalGarg why is that better than apache to use ws?
 
One of my colleagues needs that. He never finishes his coffee before it's cold...
 
I second nginx.
 
@Julo0sS Google the differences between the way the two servers work.
 
@KendallFrey it only heats up the bottom of the cup ofc. I keep a stir stick in the coffee and stir it every 20 minutes or so
then it works well
for $9.99 that is*
 
1:40 PM
Put this thing under the heater:
A magnetic stirrer or magnetic mixer is a laboratory device that employs a rotating magnetic field to cause a stir bar (also called "flea") immersed in a liquid to spin very quickly, thus stirring it. The rotating field may be created either by a rotating magnet or a set of stationary electromagnets, placed beneath the vessel with the liquid. Since glass does not affect a magnetic field appreciably (it is transparent to magnetism), and most chemical reactions take place in glass vessels (i.e. see beaker (glassware) or laboratory flasks), magnetic stir bars work well in glass vessels. On the other...
Or get one of those with a heating plate included
 
Added bonus: It gives your coffee that nice metally flavour that we all like
 
problem is, it's probably not worth it for the luxury of being able to enjoy my coffee slightly more slowly
 
we use this stuff homedepot.ca/product/amazing-goop-plumbing-1094-ml-37-oz/833851 for sealant between gaskets on one of the products. it is easier to work with warm so one of the ladies brought in this warmer to put the goop container on.
 
And the potential hazard of swallowing the stir bar
 
I saw it and ordered one.
@KendallFrey it is
when is your bday?
 
1:42 PM
ages ago
 
Your last bday was when you turned 20? :P
 
correct
 
old man
 
cc @Loktar
 
cc @dystroy
 
1:44 PM
cc @dystroy especially
yeah
:D
 
I'm only 29.
 
you're 29?
 
@AwalGarg ok, then^^
 
grandpa
 
I'm not that old. but I appear to be > rooms median
 
1:44 PM
let's make this a get-off-my-lawn competition
 
I'm happy room forgot about me
 
I somehow thought lemon was in his early 20s, based on the pictures he's posted of himself
 
however according to SO I am the exact average age for a JS dev
@jAndy you're 30 right?
 
@jAndy dystroy is just better than you
@rlemon 31 now I think
 
@rlemon ohh thanks my beloved lemon.. from now on I love you even moar :D :D :D
 
1:45 PM
I remember him being not-that-far off my age
 
even worse..
 
@Julo0sS Also make sure you rant about how difficult it is to test server configurations and how many crap installations of Apache are sitting around even for popular web services.
 
Shit I'm only 35
 
you're gonna be jesus' age soon
 
1:46 PM
@codeMagic are depends hard to adjust too?
 
It takes some time, sure, but it's worth it to be able to sit and shit wherever I am at the time
 
btw this describes PERFECTLY what happens if you hand out space-intended code to 90% of the world
 
I wanna be 18 :(
 
I wanna be 18 :(
2
 
I'm twelve and what is this?
 
1:47 PM
I would imagine this was posted in a similar discussion here :p
 
@rlemon But you can't. I can. :P
 
not until science invents magic
 
I'm a youthful 19 years old in hexidecimal
 
@MadaraUchiha This is a homework for me. Best way to start a question
 
1:48 PM
@jAndy real programmers use spaces
 
@Kippie ikr :D
 
real programmers don't use whitespace
 
I just tried many ways ... I tried my best ... But I could't solve it ... — Steeban Charles 7 mins ago
twss
 
@KendallFrey Yeah, that saves you the trouble of using a minifier afterwards!
 
@MadaraUchiha how to java?
 
1:49 PM
posts 50 lines of APL
 
I'm still wondering why whitespaces aren't white on my black background
 
Oh wait... IIRC, this guy was on Codementor trolling me to accept his session request.
 
@AwalGarg I have only one default apache on 80, working fine. setted up ng on another port, but looking at configuration right now, im comfortable with apache, not with nginx
 
The best thing about that is the "answer" that says to use a function that the OP explicitly said he can't use
 
1:51 PM
0
Q: Javascript Password Protected area.. must be better way

ne0nlightI am still pretty fresh in the javascript scene, but I have this bit of code that works as intended for all intents and purposes.. but there just simply must be a better and cleaner way of going about it, and I would just love to see how it would be accomplished. function Restricted() { var pas...

I'd like to know what bank he's working for
 
...
lol
 
user2985029
\o/
 
Good thing you edited, anybody would have seen that bank passwords
 
my favourite way to number extra things is thing, thing0, thing1, thing2... throws everyone off
 
@Julo0sS @PeeHaa is your guy
 
1:53 PM
Well. I had a colleague, the one doing the maths, his program's variables were often a, a1, a2, ...
He just found it simpler
 
... How?
 
user2985029
@dystroy need to put a comment in to say what they are
 
user2985029
but those are terrible names really
 
@dystroy I thought scientists can learn from programmers and stop using single letter variable names :(
 
TBH many times those variables just hold the result of an equation and were combined together. They very often were totally impossible to semantically name
 
1:56 PM
@AwalGarg yeh but he's not there^^
 
@AwalGarg y?
 
user2985029
obfuscated and minimised by default
 
@JanDvorak y!?
@dystroy Shouldn't that mean they need to solve that problem first?
 
What problem ? I have pages of code which are just computations. Some of the intermediate variables make sense but not all of them.
 
bbiab
 
user2985029
1:59 PM
22
Q: Concat and minify JS files in Node

TIMEXIs there any module in NodeJS to concatenate and minify JavaScript files?

 

« first day (1655 days earlier)      last day (3296 days later) »