« first day (1899 days earlier)      last day (2945 days later) » 

This is why the Internet was invented https://t.co/5e7m9LOmO5
 
does anyone know why this code doesn't work:
        let access = this.accessor(path.shift());

        if (path.length) {
            if (access instanceof CheddarExecutionScope)
                return access.accessor(path);
            else
                return CheddarError.KEY_NOT_FOUND;
        } else {
            return access;
        }
 
what's wrong?
 
@CoolestVeto What do you mean?
 
@Downgoat That's a really hard question to answer without the rest of the code. :P
 
1:10 AM
1
A: Draw a spiral in a box

Björn KautlerJava Swing, 1056 bytes import java.awt.*;import java.util.*;import javax.swing.*;import javafx.util.*;import static java.lang.Math.*;public class S extends JComponent {int s=500,o;S(float f){o=round(s/f);setPreferredSize(new Dimension(s,s));}public void paintComponent(Graphics g) {Graphics2D h=(...

 
And without the error message.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ ¯\_(ツ)_/¯ it always returns KEY_NOT_FOUND
 
Is access ever an instance of that object?
 
Try console.log'ing the access's type.
 
1:11 AM
@CoolestVeto Oh, you just went ahead and edited it since the code was too long for a comment? I probably would have linked to ideone or something but that works too. Just make sure to leave a comment saying that you made changes and he can roll back the edit if he wants.
 
@El'endiaStarman it's a CheddarExecutionScope
 
@Downgoat Are you saying that's what you think it is/what it should be or what it actually is?
 
it is
JavaScript is just being stupid
 
this is the entire code:
    accessor(token) {
        if (!this.has(token))
            return CheddarError.KEY_NOT_FOUND;

        return this.Scope.get(token);

    }

    access(path) {
        let access = this.accessor(path.shift());
        console.log(access, path);

        if (path.length) {
            console.log(access instanceof CheddarExecutionScope);
            console.log(access.accessor(path));
            if (access instanceof CheddarExecutionScope)
                return access.accessor(path);
            else
 
1:14 AM
@Downgoat I highly dispute your use of "entire". :P
But anyway...
I guess the console.log of instanceof outputs something like false?
 
@El'endiaStarman no, it outputs true
 
ah
Oh wait, you have a function and a variable named access...
 
ohhhhhhhhhhh
wait no
the function is this.access
 
Ahh, using depreciated members of a class to shave off bytes...
I feel so dirty.
 
@CoolestVeto I once jumped into a pool of mud. That also made me feel dirty
 
1:17 AM
I can see how. :P
 
0
A: What's being surrounded

epicTCKJavascript, 485 bytes t=b=>b[0].map((x,i)=>b.map(x => x[i]));var h="#";function a(i){var m=i.split('\n');for(let h of m){m[m.indexOf(h)] = h.split('');}for(let y=0;y<m.length;y++){for(let x=0;x<m[y].length;x++){var k=0;if(m[y][x]==h){break;}if(m[y].indexOf(h)<x&&m[y].lastIndexOf(h)>x){k++;}q...

 
Currently at 71 bytes shaved off for that java solution. \o/
 
@Downgoat Uhhh.... maybe try putting braces with the if/else?
 
@Downgoat but you're a goat…
 
@El'endiaStarman it was because I was using the wrong function actually :|
 
1:18 AM
ah, lol
 
@Maltysen so? Does that mean I am dirty?! I am very offended!
 
@Downgoat ( ͡° ͜ʖ ͡°)
 
Like Python's object?
 
@QPaysTaxes adam / eve?
 
@QPaysTaxes when the students behave bad
2
 
1:22 AM
@QPaysTaxes Abstract class
Base class
 
@QPaysTaxes oh, ParentClass
 
something like that
 
@CoolestVeto 108 bytes.
 
@QPaysTaxes ಠ_ಠ
 
@QPaysTaxes and whats wrong with that? it's a reference everyone gets, and even if religious, it is certainly literature that one should understand
@QPaysTaxes And I am being raised in an (overly?) Christian household
 
1:24 AM
@epicTCK I would argue that it's entirely possible that someone raised non-religious wouldn't know the story of Adam and Eve.
 
@QPaysTaxes So just call it Adam. Sheesh, I mean, everyone comes from Adam and Eve (so I believe), so that makes good sense...
 
Side note: The guitarists Steve and Adam from the band Cave In did a tour together as a guitar duo and they called themselves Adam & Steve.
 
@AlexA. Yeah, but it is a big part of English literature, so most English speaking (highly?) educated people know basic information about the Bible
 
@CoolestVeto you got a time out? D:
 
1:26 AM
@Downgoat ;c
 
call it "not-adam" so you will always remember
 
Finally finished a school project
 
Maybe you could call it god? :P
 
@epicTCK I don't know about most nor what English has to do with anything but I wouldn't be surprised if many people had some basic exposure to biblical stories in their lives.
 
9:27 PM where I'm at
 
1:27 AM
@LegionMammal978 West coast is best coast
 
@LegionMammal978 you must live in the east coast D:
^^
 
@AlexA. probably true
 
@QPaysTaxes * I'm just going to object from this and call it object.... This is a rebellion isn't it... I rebel....
 
I'm on the east coast tho
 
1:28 AM
@Maltysen Which you'd know if your parents would let you listen to the adult male stranger on the internet.
 
UG
 
@epicTCK that formatting is worse than my spelling
 
@AlexA. East coast is... um.. least... bad coast?
 
@Downgoat Oh... Shots fired... wait can goats shoot guns?
 
I haven't thought of a witty response so I am just going to cross this out
@epicTCK yes. they can
 
1:29 AM
@epicTCK Yes
 
user image
5
 
hardy har har
@QPaysTaxes apparantly so is bad speeelang
 
the right of goats to bear arms is the 28th amendment
 
haha
 
@QPaysTaxes goats and bears really hate each other
 
1:32 AM
pls help me get the right to goat hooves through congress
 
@QPaysTaxes because goats don't have arms
2
 
@Downgoat well we know the state of washington is voting yes because Alex is there
 
smbc is great
 
@QPaysTaxes Oh yeah I guess it is recolored
 
1:33 AM
 
@epicTCK 6/10 not a gif
 
My browser history:
 
@AlexA. The tennis rackets are not drawn by hand -5
 
Everytime I make a major milestone in Cheddar, I don't know what to do with my life for the next few hours...
 
1:34 AM
@Downgoat answer: screw around on TNB
 
@Downgoat work on cheddar more
 
@AlexA. WHY ARE WE POSTING LOWLY JPEGS AND NOT GIFS
 
@Downgoat Investigate other kinds of cheeses
3
 
cut the cheddar! Triple Pun
 
@AlexA. brb making mozzarella
@AlexA. I am still dissipated that this picture does not move...
 
1:35 AM
@Downgoat At least everyone can agree on how to pronounce "JPEG."
 
I really wanted to see a dog on a lawnmover
;__;
 
@AlexA. jay-pegorino
 
@AlexA. jape-g
 
@AlexA. With a hard J, right?
 
1:36 AM
 
@AlexA. It's JPEJ not JPEG dammit
 
its a gif
 
GPEJ
 
I stand corrected I guess .-.
 
@epicTCK -1 not giffy enough
 
1:36 AM
GIFPEG
 
@Downgoat Well whatdoyawant?
 
Joint Photographic Experts Group
 
^ actually a very clever acronym
 
Though why a group of photographic experts would choose the JPEG format is beyond me.
 
1:38 AM
@AlexA. fixed the jpeg ^^
 
Here is a doggo.
Is this giffy enough for you?
 
@CoolestVeto yes
 
whoops
 
1:39 AM
@epicTCK 6/10 better
 
@epicTCK ಠ_ಠ you spelled life wrong
 
@Downgoat `zactly
 
@Downgoat lyf*
 
@CoolestVeto I would star but I relized that's a game not real life
 
1:41 AM
@Downgoat wat
 
@CoolestVeto the gif is a video of a game
though it looks very realistic...
 
@QPaysTaxes shadows*
 
@Downgoat but freehand circles and upside down goats and gifs and MLG and thug lyfe... just not enough
 
@Downgoat It's in Washington State Park. :P
 
@epicTCK you need a right goat and a left goat
@CoolestVeto uh huh, sure...
 
1:42 AM
Did someone say Washington?
 
there's no shadow on the hand
 
@Downgoat ill do that in the morning... g'night
 
@epicTCK night!
@AlexA. yes, @CoolestVeto did
If the "Right to goat hooves" gets vetoed it would be the CoolestVeto...
(see what I did there)
 
@QPaysTaxes It's 3 AM for me. :D
 
@CoolestVeto that should be a (´〜`*) not a :D
 
1:44 AM
@Doorknob we were kinda planning a Code Jam series…
 
@Downgoat ...yup
 
@Maltysen yeah I really don't know what to do about that one
 
@Doorknob well its verification not generation
 
@Doorknob You put me on some kind of government watch list, right?
 
@AlexA. what, you're on a watch list? what did you do?
 
1:46 AM
Participated in Google Cod Jim.
 
> Google Cod Jim
 
@AlexA. is that a gym for fish?
 
okay i stop now
 
0
Q: Is it really a comcoin?

DopappVery interesting background Comcoins are a currency like any other. The residents of Multibaseania (an economically robust system of city-states with very few residents in a galaxy far, far away) use Comcoins to conduct transactions between themselves. Comcoins are represented by unique codes on...

 
@Doorknob Yes, now everyone will no the last names?.
 
@Doorknob haha yeah I remember that
 
@Doorknob I laughed so hard at that when I read it oh my gahd.
 
it was in a what-if, right? I can't remember which :P
 
> MR. THE ROCK I DO NOT KNOW HOW BIG A COD GETS BUT YOU HAVE GOT TO BE PUTTING AWAY LIKE A GOOD THREE-QUARTERS OF AN ENTIRE COD AWAY PER DIEM MY SIR, AND ALSO WHERE IS THIS FISH OIL COMING INTO YOU FROM AT?? IS YOUR PERSONAL TRAINER LIKE ZERO CONCERNED ABOUT YOUR MERCURY LEVELS BECAUSE I AM WORRIED ENOUGH TO START GOOGLING “AVERAGE COD SIZE” AND I AM GOING TO WRITE YOU A LETTER ONCE I LEARN SOME STUFF OUT
 
@poi830 ah yes, that one :D
 
> you ever eat just like a piece of fruit my lad?? it’s good as hell, it’s what happens to flowers if you leave ’em alone for long enough
 
> good as hell
not exactly the greatest compliment
 
@QPaysTaxes Yes.
 
1:59 AM
Mark Hamill posted this on twitter: i.imgur.com/ZhFzcfa.jpg
 
@QPaysTaxes m{
 
Documentation is love.
 

« first day (1899 days earlier)      last day (2945 days later) »