« first day (2398 days earlier)      last day (2436 days later) » 

12:02 AM
Oh
How silly of me
 
anyone pls i have a bounty :(
 
@ASCII-only golfed spidermonkey: print("Hello, World!")
 
And Python, Python3, ...
 
@ASCII-only it's hard
 
12:31 AM
@ASCII-only space in file name? ಠ_ಠ
 
Ayy, I'm just happy to see MY language there.
 
@totallyhuman why not
@Zacharý well it has TIO in its name for a reason :P
also Rosetta
 
MY's on TIO, I just can't believe that.
 
@Zacharý Well Dennis is fine with putting anything on TIO, you just need to ask
 
@Zacharý There is a language who's interpreter is literally 4 lines of JS on TIO. The requirements aren't exactly very high.
 
12:34 AM
@Pavel wat
 
And it has to be possible to run for free on Fedora of course
 
Send a link to it please?
 
@totallyhuman Spaced
 
Sorry, 3 lines.
 
12:35 AM
@ASCII-only So, what happened with Dyalog? How does he get past all the pop-ups?
 
oh i remember
 
@totallyhuman Yes.
 
yeah that makes sense
it expands to a lot of lines since it evals as JS code
 
12:37 AM
@Zacharý Dennis has a special license to use Dyalog APL that's specific to TIO.
 
Oh, that makes sense. He is Denn-is after all.
 
"Helo, Wrd!"
@Zacharý ಠ_ಠ
 
@totallyhuman what about it :P
 
helo
 
wrd
 
12:41 AM
here we see a clueless goat being guided by a wise lemon
 
would be better if it said here, you goat
I have gotten more work done on my raster thing!
now all I have to fix is off by one errors
 
something something only hard things in computing
 
TOTALLYHUMAN, Y U EDIT TEXT?
 
devtools is your friend
say, what is JS written in
 
12:50 AM
you mean like the JS engine?
 
@totallyhuman I think a lot of it's in offices :P
 
the V8 engine that Chrome uses is written in C++, iirc
 
right, bad question, there's loads of inplementations
 
which is part of why Node uses C++
 
@totallyhuman Many many languages, there's even an implementation of ECMAScript in D.
 
12:53 AM
@totallyhuman C++ usually
@NickClifford *all, Node uses V8 directly
with a bunch of libraries written in mostly JS
 
right
 
> ctrl+f
> "C++"
> 1 of 3
> tfw
 
TFW, I never understood what that meant. What does it mean?
 
@Zacharý what
 
The (Face/Feeling) When
 
12:55 AM
feeling is the correct one here I always interpret it as feeling
 
i've understood it as "that face/feeling when"
 
there's also MFW (my face when)
 
TFW, FTW, WTF. THIS IS CONFUSING!
 
my raster triangles look like they have rough edges... ;_; why, raster graphics, why
 
@DestructibleLemon because you forgot to do antialiasing?
 
12:56 AM
how to do antialiasing
 
stop calling people by aliases
 
just when I think my program is done and then this happens
 
@Downgoat anything else (also preferably pr so less work for me)
 
if I want to do antialiasing properly, that would require some complex stuff...
like rewriting the algorithm
probably
 
@DestructibleLemon not exactly
 
1:04 AM
or I could just calculate a 4times enlarged image and then use the fraction of pixels included from that in what the shade of the pixel is
 
@totallyhuman Hypocrite?
 
@DestructibleLemon no pls
 
why not?
 
@DestructibleLemon just calculate from the linear equation
 
@Zacharý eh?
 
1:05 AM
better than no anti aliasing
 
4x less computer power needed
 
@ASCII-only that's impossible
 
@DestructibleLemon that's really easy
 
@totallyhuman ...
 
ok not impossible but whatever
 
1:06 AM
@DestructibleLemon it's the opposite of impossible (no i don't mean possible i mean pretty much trivial)
 
@Zacharý ehh?
@ASCII-only ...possible?
 
@ASCII-only yes but this is hard
 
@DestructibleLemon no.
 
maybe
 
1:08 AM
when you include the stuff for when a pixel includes two lines it will become annoying
also I need to change most of the program to do that ;_;
 
... ... ...
 
start = eqn(x); end = eqn(x + 1); if (start > y && end > y) return 0; if (start < y && end < y) return 255; return 255 * ((start + end) / 2 - y);
 
@Zacharý ehhh?
 
... ... ... ...
 
1:09 AM
...
 
and for two lines it's just min
 
... . . . ...
 
@DestructibleLemon why ew
 
ok i've had it with these ellipsisessieses
 
@totallyhuman ...?
 
1:09 AM
@ASCII-only idk
 
i mean sure it's not the best looking code, but it's pseudocode and shows it's pretty trivial
 
Okay then totallyhuman
 
how do you pluralize ellipsis
> ellipsisessieses
 
wtf is eqn
 
equalin'
equation
 
1:12 AM
?
 
@DestructibleLemon Why? It's equation
 
why eqn required
@ASCII-only doesn't work if the line doesn't go through opposite sides?
 
@DestructibleLemon ?
you mean for corner pixels?
 
it isn't that hard to modify for corner pixels
 
1:16 AM
+----+
|    |
\    |
+\---+
or maybe with a different slope
 
what
 
no i mean what's with your diagram
 
nah I really don't know tbh
 
wth are the plusses doing
 
1:17 AM
that's a line going through a pixel
the pluses are corners of the pixel
 
why are there five corners
@DestructibleLemon hmm i see
 
um
actually that specific one does not offer a counter example
oh wait yeah it does
that one would be fully filled when it should not be
 
sure
 
also there would really only be about 2* as much computing for my solution
 
but seriously >_> it isn't hard to figure out the logic needed
@DestructibleLemon how is it not 4x
+ you need to average = even more
and only 5 shades = terribad antialiasing
 
1:20 AM
because it's only 2 times more rows
@ASCII-only ;_; stop bullying me
 
but. seriously if you know like basic algebra it's pretty easy to figure out an algorithm
 
stahp
also again, when a pixel has two lines in it, that's just annoying and would not work easily
 
@DestructibleLemon uh no
 
uh yeah it would be annoying
am I gonna have to make like a quadrilateral area calculator?
 
@DestructibleLemon A bit annoying I guess
@DestructibleLemon No?
just area under/over two lines, and add/subtract depending on whether they're on the same side
 
1:24 AM
@ASCII-only also corners will be annoying?
 
...
I just described the case for corners
 
where
starspam?
anyway, I'm not doing your complex antialiasing thing, so terribad is better than none probably
so there
 
@DestructibleLemon :/
it's not complex
 
yes it is >:(
 
1:27 AM
):<>:(
 
well it's way less complex than many things
e.g. this
 
@DestructibleLemon :<>:( is a weird face
also, use >:U
 
no or we'll be trashed
so how do I calculate corners anyway
 
take the pointy bits
and put each one of them on one of your fingers
 
stop
@ASCII-only you never explained how corners work
 
1:32 AM
7 mins ago, by ASCII-only
just area under/over two lines, and add/subtract depending on whether they're on the same side
I can do pseudocode if you want
 
@DestructibleLemon no
 
@ASCII-only worst explanation ever!
 
@DestructibleLemon also i just realized your avatar has eyes
 
@DestructibleLemon Hmm all start/endpoints will be integers right?
 
yes
but those are in the middle of pixels
 
1:34 AM
yes
 
was that wrong?
 
but this means a corner is either acute or has only one line right?
 
uh unless it's an obtuse triangle
 
???
@DestructibleLemon yes but i mean in a pixel
 
yeah in a pixel it will have two lines no matter what
 
1:37 AM
unless it's obtuse
 
no
I phrased that badly
if it's obtuse it will still have two lines
 
what. why
 
I guess either it's acute, or it only has one line per half of the pixel maybe?
not sure about that statement
 
@DestructibleLemon :/ but you just said endpoints are only integers
 
they are
integers are in the middle of pixels
 
1:39 AM
:/ what
 
your previous pseudocode was sort of incorrect for that reason
.5 is on the boundary between two pixels
 
O_o
 
was that wrong?
 
okay I guess
that's just making it harder for you though
 
I fail to see how this is particularly unintuitive
that seemed like the natural way to do it
 
1:40 AM
natural? possibly
easy? quite the opposite
 
quit bullying me 😭
like when you want to draw a line from pixel to pixel that's what you would use
 
Idea: just stop doing raster graphics and use JS canvas instead :P
that way you get nice antialiasing without having to do a single thing
 
that is bad and is js canvas graphical output?
 
yes? obviously?
well you can use Java Processing too, which is even easier
 
like file output
 
1:45 AM
With canvas? Well you can't save without user prompt in a browser :/
 
ehhh tbh maybe the best idea is to just forget about anti-aliasing for now
 
0
A: Sandbox for Proposed Challenges

MD XFCode the beach on the beach (heavily WIP) The Gods of the Sea have seen your coding ability and asked you to rewrite their beach-generating program. Code the beach This program will take no input and, in this order: Print sand (.) Print ocean waves (~) Print crabs (>.<) Print seagulls (-v-) ...

0
A: Sandbox for Proposed Challenges

MD XFNumbers to Algorithms Another horrible part of Cubically is attempting to print numbers when the notepad is occupied. Since you can't add up existing faces, the integer (or ASCII value) you have to print needs to be on one single face. The maximum value you can store on one Cubically face is 45...

 
@DestructibleLemon Maybe :P
 
program in a format I can later use in a program for your java canvas thing
then screenshot it even
 
@DestructibleLemon what
 
1:46 AM
ok, so the idea is that I will use my raster graphics implementation here to make the genetic algorithm work
 
generic algorithm?
 
I will have it output, into text file, the triangle dimensions, which I can then use on java canvas
or whatever it is I should be using
@ASCII-only genetic*
can I see this java canvas thing pls?
 
@DestructibleLemon what
java canvas thing = Processing?
 
9 mins ago, by ASCII-only
Idea: just stop doing raster graphics and use JS canvas instead :P
what exactly do it work like
 
how is JS java
 
1:52 AM
;_; stop bullying me about your crappy java things
 
it's literally like context.move(x, y); context.lineTo(x, y); context.stroke();
but processing is probably easier
 
it's not good enough though
 
0
Q: Internet Instances

MD XFDifferent people, words, places, numbers, and virtually anything have different numbers of instances on the internet. For example, the word "ruby" (which may refer to the programming language, gem, female name, or anything else) has about 737 billion instances on the internet. The word "computer"...

 
@totallyhuman lol
 
2:08 AM
:P
eqn = re.sub(r'\)\(', r') * (', eqn)
 
@totallyhuman made it better
oh yeah
@totallyhuman here
https://tio.run/##nVJdb8IgFH3vr7j6AlTTzC0xmYnxab9ibA2t1LJQWgG1@/XdpXXO6vYyEhK495xzP5tPX9bmqetU1dTWg5VRYesKKuFLONviKMq1cA5e9gfhVW1onX3I3LNVBHjS1OnauzSFNdCp3JvpnEW9ZysL9CqjfJpSJ3UxB3SfaeHgD0lWJu6QUUsoP80YdzGnNIk3jIf3Gi@ZgyV8gVAtqmwrgD@ugAxif2nxdwSQOL6FNVYeETedXiynUmk52CfrAP7J74qA9pH5LvVtn3pfwne@MSZ6G/837mYy1JXEjGfnJsz@o8SH7vUshiR6X70yno771sqckp2uM6Gh4IbAbMwJg0uGQPIodGAnrtHKUwKEvT68jaadC60v046F3bmreVvpD9ZcFOngj6KyqlD9sl6koC0L29Sy8JjBElpwytBF@DwTZAyFkBZFAxjTRmNRW1CgDFhhdpIuz5EHrMJ1CEtTUMVY130B
more fixed:
https://tio.run/##nVLLTsMwELznK5ZKyGu3inhISCBVPfEVNURO67RGjlNsF4LEv5d1XQKlcMGXxLM7k53NbN7iunPXu51pN52P4HXR@K6FVsU1HDBRFAurQoD7562KpnPY1U96EfldAXSqKtguhqqCKeBIP7vRhBf7ylI3VDXOxKrCoG0zASofaOnQjUhel2Fbo2coX8d8DjI@CIlYihmXh@s0P9gEPJOXxLGqrZcK5NUdsKz6l6h8pAYmxM@2jdcv1DcaDcjr2lid8bNpav4a9BuB8CP4xMPy08PezufIgmb9OcJv9NlZtlaK95XtamVLwWX9tZnxf1TlsNU9kRMPT/dhXMTjTfZ6gSyPAedBOgbniVSGjTURGTA@v3iA8bFQ@tFlHkC/KIsnhKN0LJS1QzqE8qvwLR9ex613gyLmelGs25bUhziyBnue0tfz9DKGG@ghGIeX6XLLiJHdsZ5EUzNZIbDpPBgwDrxyK403hy/nXkOpSdlq0HC@230A
 
2:24 AM
curl http://www.google.com/search\?q\=computer says i'm not authorized o0
 
yay
https://tio.run/##nVJdT8MgFH3vr7guWbiwpXGaLNFk8clfIdrQjXYYRiuwWRP/@4Qxuy99UB5auOecy7ntaT/8sjG3261atY31YGVW2WYFK@GXsK@xLJtr4Rw8vq2FV43BpnyVc0/vMwirKJxuvCsKmAEO5JsZjGm2QxayCqgyyhcFOqmrMQR4L4srnILIytytS7QE@fuIPgH3z4wj5uyB8v1xll5kDJbwSdBosSoXAvjNPZBd19x5q1qk9Lfm/CUQCWOJfqC1Vm4CbzDoK@9LpWWqX80i@WD4SBDqJ@WLWRbfs@zG@rbOgudzCz/JH67SiDn7rHVTCp0zysvDFxr9pyvvHeFnL6dRPfmDmmOvw3OZ7OQcSXIMQ8cNgWH6Pa1WHgkQ@nT9DKNTVcxGnm6TG6HxQnASqLnQug8UE7Z2R5Gy0q@t6TtiwrOszy6psKMxqh2NmxFMoQOnDE7i4Y7QI2qdqDtFfAQwa60ywVcX7opwmDAUq8aCAmXAClNLnO4NJa4KuYsprVFRut1@AQ
 
o0 what are you doing
 
@totallyhuman idk
 
2:43 AM
oh boy, remember this?
 
oh hey :D TIO still has my shtriped implementation even though I deleted the repo
 
@totallyhuman +1 sympy
 

« first day (2398 days earlier)      last day (2436 days later) »