« first day (737 days earlier)      last day (4217 days later) » 

4:01 PM
@Vivix here is your opportunity to help me :P
simple algos escape me
 
Yeees-- except, they tend to escape me too-
I've been looking at it, but can't see--anything
 
@rlemon you're never going in the last else
 
damn, then once I figure it out I get to write it in C# for ushort[] => List<ushort[]>
@FlorianMargaine you are in the first pass
it's how I populate temp the first time
 
no
the nested else, I mean
 
4:04 PM
since you only add to ret at the next item
it's never going to the next item, since it doesn't exist
 
see what I mean?
the last array is never added to ret because it only adds the previous items, not the current
 
StringBuilder sb = new StringBuilder();
sb.Append("<script type=\"text/javascript\" src=\"/_layouts/1033/jquery.js\"></script>");
sb.Append("<script type=\"text/javascript\" src=\"/_layouts/1033/jquery-ui-messageBox.js\"></script>");
sb.Append("<script type=\"text/javascript\">");
sb.Append("$.showMessageBox(\"Very simple message box!\")");
sb.Append("</script>");

// Write the JavaScript to the end of the response stream.
HttpContext.Current.Response.Write(sb.ToString());

is there any problem with above code ?
 
My brain just broke, 'cause I can't tell the difference between /3 and /1
 
so the last item of the array is not added to ret, because it's not going in the nested else
@Vivix I just changed the original array for the code to go in the nested else :p
since there is another item, the forEach runs through it and can see that it has to add something else to ret
 
4:07 PM
@FlorianMargaine ohhhhh I see what you mean. I thought you meant the last else never gets hit ever
 
Hmm
 
@rlemon ah no, it just isn't hit for the last chunk
 
I am- A/Bin'g the code, I can't see the difference, but am getting the two different results- I think this is over my head
 
@Vivix look at the array declared at the beginning
they're not the same
 
4:09 PM
Ooh, yes-
 
ok so this circumvents it
I don't think there is a case where this will break?
assuming at least two chunks
 
yep, sounds good
but I'd rather check the current item
 
yea it works nicely
@FlorianMargaine just so long as I have the logic right - this is going to be converted to c# dealing with lists and ushort arrays
 
I miss C#-
 
4:11 PM
thanks :) much obliged
 
@rlemon and btw, guess how I found it out?
 
how
 
I didn't want to think about it
so I used a debugger
 
lol
 
!
 
4:12 PM
ahhh those pesky developer tools showing me up again
 
just a piece of advice :>
"developer tools" built-in your browser ffs :(
 
I could never figure Firebug out, so I just ended up using the console alone-
 
logic matters are often solved using the debugger
you're not smart enough <<
 
I wish wacom had a fake tablet for deving-
I'm not spending ...800 dollars to test this
I fell off the topic. I guess debuggers are good to have, if you know how to use them. Sadly, I just stared at mine until I gave up
 
What does a breakpoint do, though? When would you want to use one?
 
it stops the code execution at the selected point
so you can start moving yourself in the code
with play/step in/step out
 
Aah, nice
if I create an <object> tag in JS, from js rather--- will it work? It should, right?- I can't test it-
 
Sure
 
"Syntax error at line 1: expected ';', got 'wat'"
Yeah, I'm brilliant
 
@Vivix wat.
 
And that would be an awesome t shirt
@AmaanCheval When in doubt, always wat
 
Hahaha
 
@RyanKinal I saw an awesome one the other day that read: "Do || !Do; Try(); Unable to find method 'Try'"
 
4:57 PM
I think Zirak posted that?
 
:-)
 
Probably so
 
pfft. that was all this guy right here
 
Yeah, I was confused about whether it was you or him
 
Oct 9 at 13:20, by rlemon
user image
I also posted this but not a single fuck was given
 
5:02 PM
Well, I don't get it
 
Prince (born Prince Rogers Nelson; June 7, 1958) is an American singer, songwriter, musician, and actor. He has produced ten platinum albums and thirty Top 40 singles during his career. He established his own recording studio and label; writing, self-producing and playing most, or all, of the instruments on his recordings. Born in Minneapolis, Minnesota, Prince developed an interest in music at an early age, writing his first song at age seven. After recording songs with his cousin's band 94 East, seventeen-year-old Prince recorded several unsuccessful demo tapes before releasing his d...
 
@AmaanCheval How old are you, son?
 
16
afk
 
Well that explains that
 
too young for prince I suppose
 
5:04 PM
When I think about the fact that there are teenagers who grew up with the teletubbies, it makes me weak at the knees
 
Nobody grew up with the Teletubbies... they stunt growth.
 
@rlemon now that's not even true
 
When I think about the fact that there are people who grew up without laughing at "some people think... that I eat too many chocolate bars.... or that I don't wash my face...."
it makes me sad
then happy because I just said all of that in his voice
idk why but when I was 12-16 this was like the funniest shit in my school
watching it now... yea it's kinda stupid. when I was 16 it was epic
 
@rlemon But was the Informational Video informative?
 
dunno
can't remember
was loling too hard
America! Fuck Yea!
 
5:17 PM
lol
I mean, it could be a college gradutation...
If we wanted to be optimistic
 
But do we? Really?
 
Yes :-D
Hell, I remember when my mom graduated, after going back to school in her 30's.
 
Ouch. My company hired an external designer to design our new Product. How should the current designer take that? (because I think it's really a way to disavowed him)
 
Optimistically. It means less on his plate.
 
@RyanKinal That must be really self motivating
To go back to school and graduate, after having Children and all that
 
5:22 PM
My mom did it
I was 8 when she finished HS
she was 17 when she got prego with my brother so only needed like 7 credits or something
either way - she took night school and finished HS when I was in elementary school.
 
@dievardump She wanted to teach. So she got her degree, and now she teaches. She's definitely a motivated kind of person.
 
this song reminds me of Guitar Hero 3
good times.... good times....
catch (Exception ex)
{
    MessageBox.Show("this is a bad error. you probably should call Rob over..." + Environment.NewLine + ex.Message);
}
 
You mentioning Guitar Hero 3 reminds me of Guitar Hero 3... and makes me want to play it.
 
seems good enough ?
 
5:24 PM
@rlemon lol
 
what else do you do when your logger crashes
uhhhh ohhhh looks like we got a tuff guy in here
 
Q[_Q]
 
.... come at me bro
:P ;)
 
/flex
i have a very important question tho
 
42
@RyanKinal not at all what I was expecting after reading the title and artists
@tuff spit it out jr.
 
5:27 PM
variable naming poll: what do i call the variable in a function "visited" which returns whether or not a node has been visited if given a value
*if NOT given a value :D
if given a value, sets whether or not that node has been visited
 
whatever is readable and understandable to you
 
lol
 
@rlemon I know, right!
 
like all my return values are ret
 
it has no bearing whatsoever on the function it is merely my ocd
 
5:28 PM
That was exactly my reaction
 
wanting the loveliest code
 
does the variable return
what does it hold a bool? string? integer?
bool I suspect
 
it only returns if given TWO values, where the first is the node and the second is the bool
d'oh, i am totally backwards
 
function isVisited(node) {
      var visited = false;
      if( condition ) {
            visited = true;
      }
      return visited;
}
 
only returns if given one value
 
5:29 PM
like this?
 
certainly all my failures as a coder are down to slydexia
like this
 
return condition ? true : false;
 
    visited: function(visiting) {
        if (visiting === undefined)
            return !!(txe.state("v_" +loc.id));
        else if (!visiting)
            txe.state("v_" +loc.id, false);
        else
            txe.state("v_" +loc.id, 1);
    },
 
return !!condition
 
the name "visiting" seems misleading somehow
 
isVisited: function(sitter) {
     if( sitter === undefined ) {

     } else if ( !sitter ) {

     } else {

     }
},
@tuff my OCD smashes your head into the monitor if you leave out {} or ;
 
Ragequits life
 
but that is just me
 
yeah? i was kinda leaning toward putting them in
 
my college seniors can barely write html :'(
 
5:32 PM
 
<img src="C:\Documents And Settings\p\Desktop\blah.img"
 
i suppose it is not the responsibility of humans to write the smallest code :D
 
One would expect that you were used to people getting into Computer Science only for the money, @Abhishek
 
thats what they start with
 
Hahahhaha
 
5:33 PM
and what they end with ?
writing the whole <p> tag inside the open img tag :-[
and wondering why the heck wasnt the content showing :'(
 
@Abhishek looks like DreamWeaver pre CS
like DW3 or 4
 
they wrote it on Sublime @rlemon
 
seriously. looks like bad auto generated code
are you sure?
 
yes
i would of paid more attention :-/
 
and by sublime you mean.... frontpage...
 
5:35 PM
"would have"...
 
Sublime Text 2 , and the way they choose to send me despite teaching them git for 1 whole firken day is
 
An IDE is a tool.
 
EMAIL ME ALL THE FILES
 
email them a zip bomb and say their grades are inside?
 
lol
 
@dievardump Thanks for the link.
 
The last one is more interesting
> DON’T CALL IT “OPEN SOURCE” UNLESS YOU MEAN IT
 
I dont think i will survive fixxing this html code
<div class="left-column">
  <!-- Long wall of html code -->

<div class="right-column">
  </div>
</div>

<!-- Look i found a left column ending in a right -->
 
Semantics!
 
user1596138
Anybody here good with jquery?
 
5:49 PM
@RyanKinal there is no real semantics with attributes not meant for
@Abhishek You can have a right column into a left one
 
Yeah, true.
 
@dievardump what if its 2 column magazine page ? where i explicetly told em to keep em apart ?
 
@JosiahSouth we are good with JavaScript and so with jQuery. Just give it a try.
 
user1596138
If anyone feels like it... I can't figure out why my table won't animate when it's hidden with jquery. I'm new to jquery lol. Here's a fiddle jsfiddle.net/SwPp9/9
 
@Abhishek Even if it's two columns. You can name your class according to the "visual" aspect, but have some obligation to write your tree in an other form.
 
5:51 PM
 
But if you explictly told them to write it apart, it's different
 
user1596138
When clicking the "Acoustic" anchor it does what it's supposed to and hides it, but it just won't animate no matter what I try. I've removed almost all the other sections of the table for simplicity but normally theres about 30 results to be filtered by genre.
 
to attain that .. i explicetly told em :-/
 
There is an email into your image
 
@JosiahSouth there is a tonne shit more wrong with your HTML than anything else.
 
5:52 PM
Guys, can anyone of you help me with an issue?
 
<table id="Genres" border="0px" bordercolor=#7E3817 align="left" width="100%">
<td valign="top" ><p class="genre"><a class="trigger" onclick="$('.test').not('.acoustic').slideToggle('slow');">Acoustic</a>



</table>
 
user1596138
This wasn't written by me. I just started working here and I've been cleaning up they're old persons shit.
 
Where are the tbody, the tr, the ending td and p and the non inline javascript?
 
I want to know #How can I save the position of an element (for use with ajax) #how can I use what position was sent from php TO PLACE the element at that position.
I want to make a drag and drop with jquery, but the elements saved in they're positions
 
user1596138
It won't be inline once I get it working. I'll put it with the rest of my JS
 
5:53 PM
border="0px" bordercolor=#7E3817 - I didn't know we still have 1998.
 
if ( Questions[0].match(/can i ask a question/i) ) {
    Questions.unshift();
}
Questions.forEach(function(q) {
    Room.Ask(q);
});
 
user1596138
@ThiefMaster You should see the old page... That's unneeded and I'll get rid of it.
 
user1596138
They had a real shit head working here before me and she didn't know anything at all. Just copied and pasted crap and it's all a huge mess. You'd puke if you saw the css file for this site.
 
@JosiahSouth your best bet is to take the old outcome (picture will suffice here) and code it all over again
I wouldn't touch that with a Math.max() + "ft poll"
everything in code monday!
 
So does anyone know how?
3 mins ago, by Jordan Richards
I want to know #How can I save the position of an element (for use with ajax) #how can I use what position was sent from php TO PLACE the element at that position.
 
user1596138
5:57 PM
Haha.... Yeah, I will. But first I need to figure out why the animation isn't working. This has to stay live till I'm done rewriting it and the boss man says it needs to have some kind of animation by the end of today lol.
 
One of this - if you don't use jQuery just look at how the functions work
 
@ThiefMaster hmm, I really could do with soem example code
 
@JordanRichards .By 1/ asking a real question 2/ provide some code 3/ trying to be understandable (-» explaining the context)
 
@dievardump Oh sorry! I didn't mean to come across like that.
I'm just looking for some sample code.
so I can learn how to grab the position and give another element that position
 

« first day (737 days earlier)      last day (4217 days later) »