« first day (505 days earlier)      last day (4442 days later) » 

5:01 PM
Okay now that website is going on my blog
on how not to html !
@OctavianDamiean i dont think that idiot even realizes what DOM even is lol
 
5:31 PM
wow
0
Q: Select box opening input box jQuery

user1235905I am trying to open a have a select box show an input box when certain options are selected. Here is my code. $("document").ready(function() { $('input.other').hide(); $('#amount').change(function(){ // var val = $(this).find('option:selected').text(); //alert(val); var...

pretty noob guy there.
 
GGG
flagged it
not a real question
 
Cleaned up his code. I have no idea what he is trying to say though.
 
GGG
whatever it was, it wasn't a question
it was a statement
if it's not a question at all, it's certainly not a real question
 
lolol
 
Well it is not that easy.
If you can salvage it then you should try.
 
GGG
5:36 PM
he declared a variable and then tried to treat that variable as a property of an unrelated object
it was nonsense
isn't there supposed to be at least some amount of... like... understanding how to program
or can i just go hey guys i have some code here:
 
GGG
sdve er er er
oh it doesnt work
xlvdnsdvn svwe owewie woiefwefwpefw pefwe jfpwe jpweojf jwefjwe
wth it looks fine to me
 
You can't expect prior knowledge.
 
GGG
ok so if they have no programming knowledge isn't it essentially give me the codez
 
GGG
5:38 PM
i mean what the hell are they going to do with your answer
they can't program
 
Because he clearly tried it himself.
 
GGG
all they can do is cut and paste it right
he has no clue what he is doing
the question or its answer will never be useful to anyone else
because it's based on a complete misunderstanding of how the language works
 
Well they are going to learn from it if the answers are good. If the answers are just Try this [some code] then he is not going to learn anything.
A question doesn't have to be good, it is the answer that has to be good.
 
GGG
ok... so if this is a valid question, how come the actual question has not been edited in there
 
@GGG Exactly. Now the task is to not just write some code for that guy but to highlight the real problem and explain it. Even if it is a short explanation with a reference link to a long and throughout explanation.
 
GGG
5:41 PM
but i don't see an actual question
what is he asking? does he have a question about programming?
 
Well you understood the problem, go and edit the question in. ;)
 
GGG
the problem is.... gahhhhh
look
would you hire a guy with no legs to drive you around?
no. he has no legs, he can't drive
this guy is not a programmer
why is he here, wasting our time with his garbage code that he probably didn't even write
 
When was the last time you've seen someone been born as a programmer?
 
GGG
is that really the point of the site
just take them all the way green, give them codez, hope they learn something somehow?
 
The point of the site is sharing knowledge.
No!
I did clearly write don't just give them the code.
Provide an explanation why it is the way it is.
 
GGG
5:44 PM
in my experience when you try explaining stuff to them they don't get it
 
Here is an example.
 
GGG
guess why?
 
49
A: How to parse XML using the SAX parser

Octavian DamieanSo you want to build a XML parser to parse a RSS feed like this one. <rss version="0.92"> <channel> <title>MyTitle</title> <link>http://myurl.com</link> <description>MyDescription</description> <lastBuildDate>SomeDate</last...

 
GGG
the have no programming background
 
I could have just answered, Here is the code, enjoy.
 
GGG
5:46 PM
So you basically wrote a tutorial
that's fine
are you going to do that for every little one or two-sentence question someone asks?
"hey i want to know how to use XSL, can you explain it to me"
 
I have tried to answer every question with an explanation once I realized what this site is actually here for.
 
GGG
maybe if you're in the mood to write a tutorial, sure
 
@GGG That is a valid close candidate.
It is too broad.
 
GGG
oh it's never too broad
"by the way i'm using asp.net lolol"
"even though it has nothing to do with my problem lol"
there's always a ton of situation-specific noise
like even in the example you linked, he's following a specific tutorial. The next guy can ask the same question, but it's a different tutorial about the same thing, and it can get answered all over again
 
Yes, however you have to take the some parameters into consideration. How new is the user to Stack Exchange? How new is he to the programming language? and so on.
 
GGG
5:50 PM
look at this list of questions
 
@GGG No it can get answered with a generalized answer.
 
GGG
they should all be closed as dupes
 
Except if it is a more specific question.
@GGG Well let's start working on that then.
 
GGG
probably all dupes
 
I think you are in the same situation I was a couple of months ago.
I was trying to fix a problem that just can't be fixed.
It was humanity.
 
GGG
5:52 PM
the problem i have is i want to read some interesting stuff
 
It took me a couple of months to understand that you can't fix humanity. All you can do is combat the side effects of that problem.
 
GGG
and i'm assaulted by waves and waves of garbage
yes i say we aggressively close all these garbage questions
anything that can be googled
or learned off the first 15 minutes of a computer help dvd you bought off tv
 
Well then you just are not interested in fixing the broken window which is fine. Not everyone has to be interested in maintaining the site.
Ah, well apparently you are interested in fixing that problem. :)
 
GGG
what do you mean fixing the broken window
i'm interested in not feeling like i'm bobbing for apples in a bowl of turds when i want to read some good questions
 
The broken windows theory is a criminological theory of the norm setting and signaling effect of urban disorder and vandalism on additional crime and anti-social behavior. The theory states that monitoring and maintaining urban environments in a well-ordered condition may stop further vandalism and escalation into more serious crime. The theory was introduced in a 1982 article by social scientists James Q. Wilson and George L. Kelling. Since then it has been subject to great debate both within the social sciences and in the public sphere. The theory has been used as a motivation for seve...
 
GGG
5:55 PM
yes i'm all for fixing that
 
That is great.
 
GGG
start them all on probation. no stupid questions until you get upvoted for an answer at least
the majority of the complete garbage comes from very low rep users
probably got all the rep from questions
so, don't give noobs rep for questions
let them prove themselves with answers first
 
Well, it doesn't really work like that.
 
GGG
there you go, probably cut out about 50% of the crap right there
 
Everyone is different.
 
GGG
5:57 PM
so?
 
Some come here just to consume content.
Which is nothing bad.
 
GGG
...
i dont know
if this isn't the broken window, what is - stackoverflow.com/questions/9557133/…
this is ugly, bad, broken, stupid, third-rate stuff that is making me dumber every second i look at it
 
Well, do you know a good question with a nice answer that is a duplicate of it?
 
GGG
i already flagged it as NARQ anyway
 
If you can find one let's close it as a dupe because it is a real question.
 
GGG
6:01 PM
i can't VTC yet
is there another SE site that is more geared towards professionals?
 
It might not be a "good" question but it is a valid question.
 
GGG
maybe i'm just in the wrong place
is programmers.SE what i want?
it seems all theoretical "i had a bad day at work" stuff
 
If you want high-level questions and answers yes.
 
GGG
that's the thing i don't really most of the time
every now and then maybe yeah what do you think of this pattern
but mostly i think implementation is interesting
 
See? That is exactly the type of answer that should have been posted.
0
A: Select box opening input box jQuery

adeneo$('input.other').hide(); $('#amount').on('change', function(){ if( $(':selected', this).val() == '25.00') { $('input.other').show(); } });

 
6:04 PM
Questions also need to want to be answered.
 
Code only answers ...
 
GGG
i just wish things were somehow more tiered so i didn't have to look at all the garbage
it literally feels like you're trying to rescue some good questions that are floating in a huge sea of garbage
 
Well you could write your own filtered version of Stack Overflow.
 
GGG
you have to swim up and inspect each one
 
Using the SE API v2.
 
GGG
6:05 PM
oop, nope, garbage
i have thought about it
i named it "overwatch"
 
GGG
already made a thing for it on the extensions site
no code yet tho
 
Filter out every question from <x reputation users.
 
GGG
yes unless it has some upvotes
and integrate chat possibly
we will see
if i actually do what i'm planning it will be pretty nasty
 
Rep !== quality
 
GGG
6:06 PM
@Zirak its the 1 reppers
like anything below 50 or so
they really aren't good contributors or they'd have at least a bit more
anyway it will be tweakable
if its a noisy day you can crank it up a bit
 
I can only confirm what @Zirak said.
I've seen horrible questions from 5k rep users too.
 
GGG
yeah i've been watching the new questions closely lately
every few minutes there is a really bad question by a single-digit repper
basically a new user
with his one question that sucks balls that he's asked three times already
 
A "hide User" will be awesome
Also, sorry for lameness of messages...I'm trying to write on a kindle.
 
You know what would be really interesting? An application to gather some statistics of how many new users per hour Stack Overflow gets and how active they are.
Especially the kind of activity.
 
lol
 
6:12 PM
What type of question gets asked most by such new users.
 
Define "type of question"
 
Based on that you can gather a list of good canonical questions as dupe candidates.
A few catch words in combination with the tags for example.
Like, [jquery select ...]
I'm just throwing around with ideas, fyi. :)
 
GGG
If i end up writing overwatch it will gather statistics about reactions to things
anything you manually hide, etc
 
We have 51 low quality flags in the queue. I'd be surprised if 5% of those flags are valid.
 
GGG
i've been flagging stuff really liberally
i don't know of a better way to deal with it
i asked on meta and they were all about flagging so hey
guys
i'm going to make a jsfiddle
think of a domain
i mean like a jsfiddle site
 
6:21 PM
Wait!
 
GGG
?
i'm going to start now and see how long it takes
 
GGG
i think it will only take a few hours
what's that?
 
Basically what you want to do now. :D
 
GGG
it says it's in the planning stages
 
6:22 PM
Yup.
 
GGG
i already have it planned out
 
We can push that project.
Oh.
 
GGG
in my head ;)
 
GGG
i am gonna do it right now
i'm serious
help me think of a domain
 
6:23 PM
yetanotherfiddle.com
 
GGG
:(
just built ACE
 
Look how you can sometimes help improving an answer.
1
A: Select box opening input box jQuery

adeneoYou can target the selected option inside the #amount element directly by using the selector below, and find it's value and compare it all inside the if statement. The problem with the code in the question is $(this).selectedValue, where $(this) is referring to #amount and not the option, and se...

This answer will help the user.
 
GGG
yeah yeah i'm sick of SO right now
help me think of a domain name :D
i don't want to see any jQuery for the rest of the day
 
nonamefiddle.com?
 
GGG
hmmm
fidgit
 
6:30 PM
Step 1. Have idea.
Step 2. Find domain
Step 3.???
Step 4. PROFIT!
 
GGG
yess
help me out zirak
it has to sound cool
not like tinkerbell
 
imboredsoimadethis.org
 
GGG
jsbin nailed it on the domain thing
hahah lol
ahhh
hereswhyyourcodeisbroken.org
 
nah, jsbin would have nailed it if it would've been jsb.in
 
haveyoutriedjquery.com
 
6:32 PM
Stylish name, plus link shortener in one.
 
GGG
jsb.in already registered
 
I know.
 
js.bin, if anything
 
GGG
is that a tld?
bin doesn't seem to be a tld
 
You know who really won? Michael Carter for registering js.io
 
GGG
6:35 PM
jes.us = registered
 
hehe just found a nice domain.
clou.dz
 
GGG
is that available?
i just bought testjs.net :)
 
It is available.
 
GGG
not too bad right
do you want it?
clou.dz?
 
Not sure what I could do with it.
 
6:38 PM
stuff around jsplayground could be fine too
js-pg or something
 
GGG
@OctavianDamiean buy it... i can't get it thru 1&1
are you on GD?
that is a sick domain u should probably snag it
 
In 3 days, when you give up, you'll regret the money wasted on it
 
GGG
pshh like it's hard
go daddy
who do you buy domains from
1&1 will only sell me the basic tlds i think
i don't have an account with any other registrars
 
6:41 PM
1
Q: Macbook Pro 8,1 - wireless interface not showing up

Florian MargaineI've installed Ubuntu 11.10 on my Macbook Pro 8,1. Everything went fine and everything installs fine except for the wireless interface. I've installed the b43 module according to these instructions: https://help.ubuntu.com/community/MacBookPro8-1/Natty#Wireless I've tried compiling the module, ...

 
webhost.at generally.
 
Y U NO HELP?
 
GGG
true
 
I could buy them from Hetzner as well.
 
GGG
i would def buy cloudz if 1&1 would let me
testjs.net will do for now
 
6:50 PM
Best deal I could find for registering a .dz domain was 98.00 USD/1 Year and I don't trust that website.
 
GGG
ahh yeah fuck that
i think it's gonna be a two-pane deal, left side is code, right side is preview
like jsbin...
tabs for html, css, and js
but no live preview. ctrl+enter to refresh
not sure what to use on the server for storing and generating slugs
 
jsFiddle would be a lot better if you could just hide panes.
 
GGG
yeah... i think 2 panes is fine
you don't need more than one code pane open
 
Live preview is easy for html+css only. Disable it if js is present. And yeah, ability to hide/show tabs.
 
GGG
do you see a need to look at more than one code pane at once zirak?
 
6:56 PM
But the problem is hardly the UI...the problem is making a syntax highlighter.
 
GGG
was going to make one code pane, hidable and tabbed
i'm using ACE for the editor
 
Sure
oh, so you're just making a UI around ACE?
 
GGG
yup
 
@GGG I needed it often
 
GGG
@SergeS do you like the 2x2 grid, or the tinkerbin setup?
 
6:58 PM
I'd say have the user decide. Make the GUI fully customizable (drag-drop?)
 
GGG
ew
ok how about this
two panes
left and right
 
Resize, hiding, relocating, the whole group.
 
@GGG 2x2 grid
 
GGG
each pane can have either js, css, html, or preview
 
Whatever you do, make sure to add less.js support.
 
GGG
7:00 PM
that stuff can come later
 
don't think about panes - best thing you can do is make it fully customisable
 
GGG
everyone wants something... coffeescript, HAML, blah blah
 
Actually, how about making it like Vim/Emacs buffers? Hotkey to split vertically/horizontally, have each pane be standalone (so that you can, for example, have 2 html panes representing the same code, just in different places.)
 
GGG
hmm making it customizable might take too much focus off actually using it
 
If in doubt you can also ask on
 
GGG
7:01 PM
@Zirak that's kinda what i'm thinking...
you know what's hilarious
 
You can always have the default meet your idiosyncrasies. But for the love of Norris, make it customizable
 
GGG
i can barely read that UX logo
 
I know. :D
 
@GGG not really, do it like chrome, it IS customisable, but it is not visible, and still, you need only one object type (More abstract, but only one)
 
It just takes the site logo and substitutes it with the url :)
 
GGG
7:02 PM
@Zirak i just can't see the need to have more than 2 panes open. I don't think ppl can concentrate on 4 things at once
it's just a distraction
 
I can. Right now I have 6 Emacs buffers open side by side
 
Well I like the jsfiddle setup, I just sometimes don't need all panes.
 
GGG
@Zirak really, wow
you must have a big screen
let me think about how drag and drop pane stuff would work
anyway there's not going to be more than four for sure
 
First of all, I have a strict 80-chars per line regime, so that about 3 buffers can fit horizontally. Add a vertical slice, and it's 6. Second, I often forget things, so a "hey, what does this require again?" is answered very fast this way.
 
For me 80 chars per line is limiting :)
 
GGG
7:06 PM
if i do a strict grid, a tinkerbin setup wouldn't work
what if instead of full customization there's like 3 options
split, fiddle stile, tinker style
i mean there's only 4 panes anyway
then make them all hidable with sliding splitters
should pretty much cover it right?
 
Or, you can make it fully customizable
 
GGG
how do you envision that actually working
it sounds like overkill to me
 
@SergeS I actually find it to both make me refactor and force better styling. If a line gets to 80 chars, I think "why is it this long? how can I make it shorter?", and if it's a necessity, use whitespace to make it more aesthetic.
 
Take piece of paper, write down ideas, drop it and take new piece of paper, write better ideas (Edited paper one) ...
 
7:11 PM
@Zirak I have it too, but during fact i worked long time on large displays and with small fonts i have limit at about 140 chars per line ... and also i use much spaces for styling ... this is just personal habit
 
@GGG I envision it "oh, you clicked on my header? whatdya want me to be? [js html css split-vert split-horiz remove]" something like that, maybe
@SergeS My monitor is huge, and I use Consolas 10pt. I can fit about 270 chars per line, if it's the sole buffer. But it makes my code better to have it soft-stop at 80 (I'm very liberal - 82 is allowed.)
 
GGG
hmm
 
And yes, changing habits is very very hard ...
 
In my case, though, breaking it is fun. I had to write a hacky script for something, a write-only-and-dispose script. Wrote a 4 line monster, each line was about 200 chars long. Broke every single good-code agreement known to man, and several only known to Ents. It. Was. FUN.
 
Sometimes I tends to do this too, but many times it kills me before i do something bigger in "bad" style
But what i got to maintain in a new job ... it is 10M of code with all bad practices you can invent + copypaste ...
Bye , must make some dinner
 
GGG
7:35 PM
0
Q: Multi-pane code editor with preview: help me find a good compromise between usability and complexity

GGGI am creating a simple web site/app for testing JavScript code in the browser, similar to jsbin.com, jsfiddle.net, and tinkerbin.com. The usual approach is to have 3 code editors (for JS, CSS, and HTML) and one preview window. Each of the sites listed above uses a different approach. jsbin.com ...

 
GGG
7:49 PM
i know how to make the panes fully customizable
but i dont know if i wanna do it :(
 
@GGG with tinker.io you can change the panels position
 
GGG
i don't know if i feel like writing all that ui junk from scratch or just using yui or somehting
 
It's not exactly whats your are looking for, but it can give you an idea
 
GGG
i think i will do it with drag and drop if anything
they will start in a 2x2 grid like fiddle
drag one to the left to make it like tinker
close two to make it like jsbin
and anything that's closed shows up as tabs on all the others
except preview
huh looks like tinker is using some twitter script for ui
 
7:53 PM
am i only one who hates jsfiddle layout ?
 
This one is not so bad too
 
GGG
yep could do that the way i'm thinking
drag preview to the left, close the last code pane on the right
 
GGG
i might as well just do it
 
At the top you can change positions
 
GGG
7:54 PM
can anyone recommend a ui toolkit that doesn't suck
or should i just code it up
 
( horizontal, vertical, separate ) and tabs on the right
I heard yui is not bad
 
GGG
yui seems pretty ok
ugh
no fuck that it is simple i will code it
 
@GGG: jQuery UI? (lulz)
 
GGG
ahhh no
 
7:56 PM
@FlorianMargaine now we say herpDerpQuery not jQuery
 
go for hdQuery then, herpDerpQuery is way too long.
 
GGG
sigma and dijit... the rest can't be too good
i will just code it
it will be fast :D
 
no hdQuery, they'll think that " hd " means a good thing
 
GGG
i will call it some stupid name
 
UKI looks good
 
GGG
7:57 PM
i'm thinking "chinstrap"
or "pegleg"
maybe "kickstand"
heh that actually sounds kinda cool
 
@FlorianMargaine 'shit'.length < 'herpDerpQuery'.length
 
8:41 PM
@OctavianDamiean
now get my beer ready cause i am coming for it
use firefox
not made for webkit yet lol
 
Not yet,
The right side of that collapsible pane doesn't look like on your mockup.
 
8:58 PM
var up = new Error( 'Unexpected end of input. ' + errMsg );
throw up; //problem?
 
Works for me. :)
 

« first day (505 days earlier)      last day (4442 days later) »