« first day (908 days earlier)      last day (4047 days later) » 

7:00 PM
@SimonSarris awesome!
 
I'll be honored to have it on my shelf :-)
 
Your book comes out on DDay as well!
 
@SimonSarris Add a link to the room :) Also, I'll order it
 
its already starred but:
once the book is done being written I need to revise that text right there :P
 
I missed a lot, apparently
@rlemon did you figure out your menu thing?
 
7:03 PM
yes sir
5 mins ago, by rlemon
@AmaanCheval hehe still ugly (colours etc) but i'm playing around with it still. http://jsfiddle.net/rlemon/Qx785/
 
Any JS ninja's here fancy trying to solve this?
http://stackoverflow.com/questions/15947867/jquery-event-drag-update-available-drop-target-after-dragstart-has-fired
 
I'm not a ninja. I'm more like a elevator technician.
 
That is... possibly the most confusing question title I've seen on the site.
 
why thank you
 
user2157210
it is
 
7:09 PM
other people complimented it
 
user2157210
i couldnt figure out what he wanted until i played arround in the fiddle
 
how would you word it?
 
user2157210
i dont know
 
It probably comes from the fact that I've never used jQuery draggable
 
> jquery.event.drag update available drop target after dragstart has fired
wat
 
user2157210
7:10 PM
jquery draggable
 
user2157210
has the best api documentation
 
user2157210
they use wrong code in it
 
user2157210
fucking damn USELESS
 
> Update available drop target after dragstart fires in jquery.event.drag
@Blowsie ^
(I'd edit myself, but I'm not entirely sure if that's what you mean)
 
@Nexxpresso Not retarded... better word choice please
 
7:11 PM
@AmaanCheval why thank you
 
user2157210
u happy
 
Yep
 
believe it or not I am English, i just had my head deep in this drag n drop issue for too long!
 
user2157210
meh a brit
 
I think I finally figured out what you mean... but I can't really help :-D
 
user2157210
7:13 PM
he wants to say you cant drop the object in the boxes created while you already drag it arround
 
@Nexxpresso Jquery draggable has the same issue
 
user2157210
why do they even care to write a documentation when they have syntax errors in it?
 
user2157210
maybse?
 
7:17 PM
@Nexxpresso nope, as per the bug report - bugs.jqueryui.com/ticket/7619 JQUI suffers with the same problems
 
user2157210
then you just have to i dont know
 
Is this worded better?

How can I update the drag to allow dropping on elements which have been added to the dom after drag has started?
 
Yes. Yes it is.
But it might be too long, lol :-D
 
user2157210
tl;dr fucking help me
 
> Dropping on elements which have been added to the dom after drag has started
 
7:24 PM
hopefully thats easier to understand
 
Hooray! Better questions!
Have an upvote for a good question!
 
i hate poor questions, and i hate it more when im the author of them!
 
Have another
I'd try to help, but jQuery :/
 
^ yep lol
 
wish i could write more questions like this... groups.google.com/forum/?fromgroups=#!searchin/threedubmedia/…
its barely jquery tbh
 
user2157210
7:28 PM
@Blowsie well its still hard to understand consider a bounty id say
 
@Nexxpresso You have to wait 2 days before adding a bounty
 
user2157210
argh ok
 
user2157210
I NO HAVE ENOUGH REP TO ADD A BOUNTY
 
user2157210
I CANT KNOW
 
looks like its going that way.. 5000
500*
 
7:33 PM
I don't ever want to touch front-end code again.
 
@Blowsie Yeah, that's gonna be a tough one
 
WARGHARBBLE
 
I don't ever want to touch server-side code again...
 
OK demo is done.
Where is @Darkyen when you need him
 
user2157210
driving his car
 
7:33 PM
@RyanKinal Deal?
 
clearly the UI is ugly.
but it's fully functional
 
@rlemon thats pretty cool
 
@Blowsie I tried triggering draginit in the drag handler, but it's a horrible horrible idea efficiency-wise.
 
@rlemon Hey, nice
 
user2157210
who cares about UIs
 
7:34 PM
@rlemon gratz, thats nice
 
@SomeKittens lolyep
 
Oh, Crusader Kings II is on sale. $10 gamersgate.com/DD-CK2/crusader-kings-ii
 
@RyanKinal i tried that too, even if that worked it would be a start
 
You might like it, @rlemon
 
who wants to make that demo prettier?
 
user2157210
7:34 PM
@AmaanCheval stop
 
HAMMERTIME!
 
user2157210
i cant spend more money
 
@Nexxpresso No.
 
user2157210
but but i has to eat
 
@RyanKinal also, i have an event i can trigger it on, rather than as you drag
 
7:35 PM
@Blowsie $(this).trigger('draginit')... it looks like it works... it's just horribly horribly horribly slow.
 
srsly.. I am too lazy to make it pretty myself after writing all of that HTML
 
@RyanKinal really, you got a jsfiddle link?
 
is it just me, or do we all hate writing HTML
 
I quite dislike it
I was just looking at it and was pretty impressed that you took the time to make all those lists
 
I started in on generating the lists... but then it got too complicated. I was going for random generation
 
7:36 PM
@RyanKinal this is actually going into a js grid. I just made it that way in the fiddle to simplify it
@rlemon zen / emmet ftw
 
if the data were organized server side this would be super easy to pump out tho
Can you disable CSS in todays browsers?
 
Hmmm. may6be the inefficiency fooled me
 
user2157210
dont think so
 
alright, so i'm writing code to target stupid nojs browsers ;)
 
user2157210
which are?
 
7:38 PM
@rlemon I don't mind writing HTML... as long as it isn't terrible and repetitive HTML
@Blowsie Seriously had to restart my browser after attempting to test that code.
It was... kind of ridiculous.
 
@rlemon I hate it.
 
@RyanKinal You can put the init insie the setTimeout.. jsfiddle.net/36AJq/10 doesnt work tho
 
Trying to make tabbed chat for Kittens-Chat. It's horrible.
 
PRO QUESTION: link(rel='stylesheet', href='../../public/stylesheets/general.css')
Is there a way in node/jade to avoid having to set up directories? Every time I link to a sub page like http://adf.com/page/page, i have to step twice, if i was to go /page/page/page ill need to add another ..
 
Pro tip: Never ever ever do selection inside a mousemove
EVER
 
user2157210
7:41 PM
sounds like that would e perfomant?
 
ha ha.
 
I kind of want to write an AngularJS/NodeJS/Mongo app. Yo dawg I heard you like JavaScript
 
especially when its reinitializing itself!
 
user2157210
i like perfomant things like java
 
user2157210
so i can add this to my list of likes
 
7:43 PM
For some reason, my content div has decide it's width should be 0px
 
Always a plus
 
@SomeKittens absolute positioning all of the direct descendants?
 
@SomeKittens smells like positioning or floats
 
@Shmiddty Yeah
 
@SomeKittens ... Absolute positioning removes elements from the document flow. the parent has no width because for all it knows, it has no children.
 
7:46 PM
That should only be true if the parent element itself is absolute, fixed, or floated
 
but removing position:absolute; breaks other things
 
you're doing it wrong
 
That much is clear.
 
link?
 
it's only local right now
 
7:46 PM
Check out my Pen http://codepen.io/rlemon/pen/rJsgi on @CodePen
 
lemme fix that
 
can I get come codepen love on this?
 
@SomeKittens like the server side. They like to curl up under the fans and bask in the warm air.
 
user2157210
@rlemon eh? is it working correctly?
 
@rlemon Make up your mind about calling bad cars lemons. :P
 
user2157210
7:47 PM
if i click i jsut get white
 
@Shmiddty :P
@Nexxpresso you seem to be the only person who this shit fails for.
 
@rlemon If it hadn't had the "log in with GitHub" button, then I wouldn't have bothered making an account. You got lucky.
 
user2157210
@rlemon the fiddle worked
 
user2157210
THIS NOT
 
I'm sorry I could care less about your Ice browser failing.
 
7:48 PM
@rlemon Fav'd
 
user2157210
firefox 20
 
!!/mustache twiz
 
user2157210
ah in details it works
 
user2157210
didnt work in editor tab
 
7:49 PM
!!/undo
 
it doesn't like mustaching me....
 
@Shmiddty I'm afraid I can't let you do that, Shmiddty
 
total abuse of :target :) I am happy now
 
$('#assessmentLink').innerHTML('Assessment (' + data.success + ')'); This does not work. WHY
 
Socket.IO makes fiddles hard...
 
7:51 PM
@rlemon I wouldn't have more than one level of submenu with that design.
 
@Shmiddty I just wanted to show you could have endless levels of menus
 
@XCritics Because you fail
 
@Shmiddty now now
 
@rlemon Oh I know, I was just making a usability statement
 
@Loktar as it's stacking up (my CSS only demos) it looks like i'm close to making a modern site without JS :P
 
7:53 PM
haha nice
 
@Shmiddty All the broken goodness: dormless.mooo.com
 
Not enough java on codegolf
 
@SOChatBot was hoping for this: i.imgur.com/tflPxqJ.png
 
@SomeKittens URL blocked
 
@dystroy Coincidence? I think not...
 
7:56 PM
@dystroy Not enough of an incredibly verbose language on a site that promotes minimal code? Shocker.
 
The problem is that I'd need java answers to make my Go answers look less verbose :\
 
lol
 
Even the C# answer is shorter :(
You don't need imports in C# codes ?
 
hi
guys i am blocked from posting question. Is there any way out so that i can start posting my query again. Earlier i was not aware of rules and regulations of forum
 
user2157210
some usings
 
user2157210
7:58 PM
but not as many as java
 
Is this C# answer valid and complete ?
 
@guptakvgaurav Fix yo questions.
 
common people
I'm a karma whore
 
user2157210
uhm never tried to golf c# but i wouldnt run say it runs
 
user2157210
8:00 PM
just downvoted
 
user2157210
karma whore
 
@rlemon
(function poll() {
	setInterval(function() {
		$.ajax({
			type: 'GET',
			url: '/assessment/poll',
			success: function(data) {
				if (data.error) {
					console.log('Error ' + data.error);
					$('#assessmentLink').innerHTML('Assessment (Error)');
				} else if (data.success) {
					$('#assessmentLink').innerHTML('Assessment (' + data.success + ')');
				}
			}
		})
	}, 1000*60*1);
})();
 
you are officially a bitch
 
Is that good for a poll?
 
@XCritics if it works, sure
 
8:01 PM
@KendallFrey but how to find which question caused the error. I mean question which was root cause for the problem
 
@Room, protip: We hate Nexxpresso. He's a douche.
 
@rlemon it doesn't seem to load it on page load, am I missing something?
 
@guptakvgaurav It's based on all your questions.
 
If you have a history of poor quality contributions, you are not allowed to add more contributions until you prove that you know how to provide good quality content.
 
8:04 PM
(function poll() {
	$.ajax({
		type: 'GET',
		url: '/assessment/poll',
		success: function(data) {
			if( data.error ) {
				$('#assessmentLink').innerHTML('Assessment (Error)');
			} else if( data.success ) {
				$('#assessmentLink').innerHTML('Assessment (' + data.success + ')');
			}
			poll(); // there is no waiting on the client, the waiting is done on the server.
		}
	});
}());
 
okkk i ll try to fix dem
 
@rlemon but then doesn't that do only 1 poll?
 
@XCritics then on the server you say

function CHECK
  IF new data
    RETURN NEW DATA
  ELSE
    SLEEP 1 sec
    CHECK AGAIN (MAX ten times then return null)
  END IF
 
What is that, Rust? lol
 
pseudo code
 
8:07 PM
@rlemon but, wont the client side only send the 1 request?
 
user2157210
 
user2157210
anygood?
 
tl;dr -> the client sends a request, the server checks once a second for ten seconds for the response, the server sends the results as soon as it finds them or at the end of the ten seconds sends back no results. the client as soon as it sees a reply sends another request. Thus starting the long poll again
 
user2157210
oh i killed server
 
8:09 PM
@XCritics the only way the client won't re-poll is if 'success' callback is never hit from $.ajax
 
@SomeKittens So, what I think you probably want is the header position: fixed, the input position: fixed, some top and bottom padding on the body, and then the rest in normal document flow.
 
@rlemon I could see that working if the poll() was in data.success, but it isn't, so I don't understand where poll ever gets called again when the server comes back
 
@RyanKinal padding or margin?
 
@XCritics yes it is. :P
 
@rlemon Definitely isn't :P
 
8:11 PM
did you even see my code :P
dork :P
freezing rain here so i'm leaving now. bbs
 
@SomeKittens Either would work, I think
 
As an aside, where's a good place to learn general concepts about CSS? I'm tired of piecemeal.
 
from me!
I will teach you all of the shifty things you shouldn't do but will just because you can!
rlemon out!
o/
 
Right, I'll get trolled every time I've got a question and then never get a real answer. Even w3schools would be better.
 
8:14 PM
Hahaha
I want to get better at CSS too
But really, it seems like CSS isn't ideal right now. So I plan on trying Less or something
 
@AmaanCheval vendor prefixes are stupid.
 
@rlemon o/
 
@Shmiddty Oh, yeah. PrefixFree.js
But I think precompilers would cover prefixes
 
@rlemon haha I didn't see that closing statement, you dink
 
8:17 PM
@rlemon whatever your reddit comment was it crashed chrome
 
@SomeKittens Ummm... I don't really have a good resource.
Unfortunately
 
@AmaanCheval Use less. Once you make a site with it, not using it seems so painful. And there's no downside...
 
Yeah, that's what I've heard
 
Especially when you want to tune the colors or the style, the fact is so dryer makes you much more productive. And you're not afraid to test changes when you have variables.
 
Why is top not working like it should?
 
8:21 PM
Define "should"
 
@SomeKittens margin or position
also, top is potentially relative to the document, or the element's parent
 
*offset parent
 
Yeah, it was position
 
how can I call function2 inside function1? - see the code paste.ubuntu.com/5699637
I mean, in this kind of scope, it says function 2 is undefined, I've tried using this, but doesnt help
 
@SomeKittens I don't think I'm doing anything wrong, but why isn't this triggering on page load (sending a request right away and then starting the interval) gist.github.com/Gacnt/a2af41fab0d0777402ec
 
8:27 PM
@XCritics You need a dollar sign before (function() {
 
@copy Hey Mr. Smarty pants: for(i=256;i--;)putstr(150>>(i^i/8)%8&1) This gives us the first and last 64 bits correctly. The middle 128 need to be inverted.
 
@SomeKittens It's on the Node side
@SomeKittens sorry let me reword that, why isnt that triggering from ajax, and only 1 minute after it gets the ajax request
 
.... why?!?!?
 
@rogcg this.function2()
 
(also, your ajax may be timing out)
 
@Shmiddty as I said. this doesnt work, since i'm calling this function inside a post request.
 
@rogcg well show us how you're calling the function...
 
@SomeKittens that way it only polls on the server side, and when the ajax gets a success response, it sends it again instead of doing it on the client side
 
I have no idea what you're doing and I can't help you.
 
@SomeKittens the ajax request is hitting the server fine (and on page load) but when it hits the server, it waits 1 minute
@SomeKittens that bottom portion is the clientside jquery
@SomeKittens I'm just curious when the interval on the server side is only triggering, after the timeout, and not on initial request
 
8:31 PM
STOP PINGING ME
 
@rogcg jsfiddle.net/AFUpK Works fine. So you're doing something silly somewhere.
 
@Shmiddty And 1 character left, great
 
@Shmiddty paste.ubuntu.com/5699664 here it is.. it's called in line 54
 
enuff Latin for today ...
I'm so fucking tired ...
 
@rogcg You need to store your this object inside of Register.register. You might be able to just use Register.clearFields()
    register : function()
    {
        var thisObj = this;

        ...

        thisObj.clearFields();
 
8:36 PM
@Shmiddty by calling Register.clearFields() is fine. thanks for clearing my mind.
hahah
 
m59
Twitter Bootstrap all the way?
I'm not sure what I'm getting into with it, but I've heard so many good things.
 
Python is for people with guttheria
 
@Shmiddty I'm trying, but no idea
 
8:52 PM
would anyone class bootstrap as a lot to load? and a lot of unnecessary code you don't use?
 
is booting Arch Linux on his RPi (addendum: like a bauce)
 

« first day (908 days earlier)      last day (4047 days later) »