« first day (2385 days earlier)      last day (2451 days later) » 

12:06 AM
CMC: A007947 - Largest squarefree number dividing n: the squarefree kernel of n, rad(n), radical of n.
 
Ohh my. I just had an amazing steak
 
@ConorO'Brien A007947(Ubuntu) == Linux right?
@ConorO'Brien Wasn't that done yesterday
 
FUN FACT: CAPTCHA stands for Completely Automated Public Turing test to tell Computers and Humans Apart
 
@ASCII-only idts?
 
BTW that video is humor super funny
 
12:21 AM
yesterday, by Mr. Xcoder
CMC: Given an integer, find its prime factors. Then deduplicate the list and take its product again.
 
oh huh
 
@ASCII-only Cheddar: (/:(*))+ @.unique + Math.factor
@ASCII-only btw do you have time to work on VSL today
 
@Downgoat yes
 
:D
 
but i think we should rewrite (again)
 
12:23 AM
ok brb logging onto c9
 
@ASCII-only I see long-term planning isn't a strong suit.
 
@Pavel no it's more issues with whatever framework we're using
 
Just write it in C# like what issues?
 
@Pavel nearley is super slow, bison is annoying to make work without warnings
plus i want to do recursive descent so we can port almost directly to vsl
 
Huh
 
12:35 AM
Are quad trees faster than spacial grids? for collision detection
my collision detection falls to peices when I have 10,000 4 pixels objects, and one 40pixl object (spacial grid)
 
Why is this a pop-con?
 
Not sure, but it produced Some neat answers
 
so apparently spatial grid for uniform sized objects, he doesn't say anything about different-sized ones
 
huh I thought more people would answer the fallout terminal question
 
@HyperNeutrino well it's only been three hours
 
12:42 AM
oh really? I thought it's been longer. Guess I should've checked the time ¯\_(ツ)_/¯
 
Patience, young Padawan
 
@ASCII-only hashing falls apart with widely-varying sizes
I guess ill just stick to hashing
because I dont intend to have 1 40pxl object and 10,000 4 pxl objects
- thanks
 
anyone think a 3d lang is a good idea?
 
There already are some, so someone must think so :P
 
12:54 AM
@ASCII-only Yes
 
For example, my new language is probably not a "good idea" because it's just a cross between Python syntax and Java syntax and it's mostly for fun :P
@WheatWizard Not necessarily. Not all languages are made because someone thinks it's a "good idea" :P
 
1:21 AM
o lol I'm dumb
 
@HyperNeutrino ?
 
num = input() would be equivalent to (num = input)() because I had the [call] pattern matcher at a lower priority than the [binary operator] pattern matcher :P
 
Hello
 
My parser kind of like a regex thing where it matches AST nodes and moves them into the right structure. It works a lot better than how Positron did it
(cc @ATaco) I made the unless syntax as you recommended :3 ([expression][unless][expression][expression|statement])
 
@ASCII-only @MagicOctopusUrn @Mego where's you reach?
 
1:27 AM
Niiice.
 
@rahuldottech no where :|
 
I just realized that I've been working completely off of GitHub so like I have a backup from too long ago (as in about a day ago) :I
 
> This is a US Government computer.
This system is for authorized users only.
By accessing and using this computer system, you are consenting to full system monitoring of your process
what how
 
ok name suggestions?
 
how is even possible did NASA put virus on their website ¬_¬
 
1:31 AM
NSA does what it wants. It doesn't matter how. They do not want you to know how because then you'll be able to sue them

/s :3
name suggestions for this new language? (cc @ATaco)
 
@HyperNeutrino Contact :P
 
...why?
 
@HyperNeutrino what language?
 
I can show you the syntax of some control flow constructs if you'd like. It's kind of a cross between Python, Java, and JavaScript
what really confuses me is that my binary operators are getting 4 arguments ;_;
anyway brb
 
oh ok
how about a snake from java
 
1:46 AM
Honestly Microsoft Excel should have default support for mass performing Regexes on cells.
 
@HyperNeutrino PythonScript
 
challenge idea: make that 05ab1e snake thing (05ab1e doesn't have a zero byte answer because it has the text at the top)
@ASCII-only eww no
 
@HyperNeutrino "Not Ruby"/Emerald/Sapphire
 
Pokémon Sun and Lua.
 
Call it pudding pops
so I can say
actually it needs to be frozen pudding pops
 
1:51 AM
0
Q: Are multi-method solutions allowed in Java?

JakobI recently joined this community as a Java golfer, and I haven't been able to find a definitive consensus on acceptable solution formats for Java. From what I gather, the following are allowed (please correct if consensus is otherwise): full program (class definition with main method) full met...

 
@DestructibleLemon opls not this again
 
2:06 AM
oh huh that's weird
If you put an arbitrary number of unterminated single expressions around a binary operator, it will keep pulling the values in until they don't match around either side
so 1 2 + 3 4 becomes (+) (2, 3, 1, 4)
 
fixed
that was liek the easiest bug fix ever
All I needed to do was add .rmType('binary_operator')
TFW you accidentally try to parse the interpreter in your language and it only fails at index 245 ;_;
 
how to programming language: a=1print(a)a+=1print(a)print(!a)a=0print(!a)
look ma, no spaces!
 
I need to take a break from what I'm doing. Anyone want to collaboratively design a language with me?
 
2:15 AM
Well, I'm working on Proton right now, and Business Cat had a 2D language idea.
 
Looks like he's not in the room :|
 
:I I know what the idea is though
 
Did you change the name of positrino? or is yhis a new language (or am I misremembering)
 
New language. Positron sucks. This one sucks less.
 
Ah not positrino
 
2:16 AM
The idea for the 2D language was to have the commands flip to their inverse every time the IP ran over it (input <-> output, add <-> subtract, etc)
@WheatWizard *positron
 
I guess positrino will be the next one :P
 
sure :P
 
@HyperNeutrino Ph cool, Klein has something similar to that.
 
@HyperNeutrino stop
 
@DestructibleLemon ;_;
@WheatWizard Oh interesting!
 
2:18 AM
Well thanks for the idea
 
yay after Jonathan Allan golfing my answer by 70 bytes to 662 I finally managed to golf... 1 byte... ;_;
@WheatWizard np, thank Business Cat later :P
 
I'll implement that real quick. And when Business cat finishes we can compare.
 
I have to implement a bubble sort thing for a garfield edit I'm making
 
:P
: built-in mathjax support for Discord :3
 
2:22 AM
@HyperNeutrino This almost looks like maybelater code
a=1printa a+=1printa print!a a=0print!a (Although ! isn't properly implemented)
 
printa
How does that work
oh is print a statement?
 
Yeah.
 
I don't like that syntax personally (no variables can start with print) but ¯\_(ツ)_/¯ it looks more golfable
How does your parser/AST-generator/whatever work?
 
Like a very greedy Regex engine, basically.
 
ooh interesting that's basically how mine works :3
 
2:43 AM
would you like to see a sromg I bungled (not just one panel this time)?
 
sure?
 
Does anyone know WebRTC, by any chance
 
@Tobi I made a test/demo webrtc project but that's it
 
ive been searching, for 3 days, for a way to make a data channel between two users
I already know IP addresses so i dont need stun server
(I have IP address because they contact my back end)
How do I do this?
All examples are single page / same computer, not one has used IP addresses
 
2:59 AM
@ATaco what should ! do?
 
@Tobi without a server?
 
I have a server
 
then just use the server -> recieve -> send
magic
 
(thats how I receive their IP, and why I dont need stun servers)
i want fast peer to peer
and I dont have to host everyone
they can host eachother
 
also if this i just for chat there's friends for that
 
3:03 AM
I'll be similar to a tracker
It's game data
 
dat for a more complicated version if you don't want chat, it's like p2p git idk if you'll be able to use that just like add a file -> everyone else download it
 
jesus, Feross is all over npm
 
so... apparently my image is too big to use img.putdata
ffs
 
@Tobi yes he is (also all the other node gods)
 
3:05 AM
@DestructibleLemon What are you trying to achieve
 
I'm trying to use img.putdata to put the pixels into an image thing
 
he want to stanford and sold a p2p web server "replacement" to yahoo
 
Hmmm
An intresting problem
 
watched one of his talks
Anyway, how can i just make a simple data channel, I have IPs
 
@Pavel not really. I want to do it, and img.putdata says there's too many pixels
 
3:06 AM
I'm about to throw my PC out of the window
 
@DestructibleLemon Well, now you have to find an alternative to img.putdata
 
it's kind of weird that it just doesn't work
 
Do you have access it img.putdata's source?
You could increase the limit
 
well...
anyway I made a work around for this earlier anyway
 
3:08 AM
tried this page
its single page only
 
weird that it's a garfield strip that's too big
 
doesnt show how to connect to external client
 
or I could remove the lowest layer of the strip
 
@Tobi external client?
 
peer*
 
3:09 AM
nah I'll just have it add the last line with putpixels
ok it's done
 
@Tobi idk i thought it connected to peers via the server
 
I still cant believe this:
In browser!
@ASCII-only what u mean
 
@Tobi is that a human crush simulator?
owie
 
@Tobi look at the ice candidate parts
 
its supposed to be water
 
3:16 AM
those are the parts to setup the peer connection
 
backgrounds a bit too ligth
 
@Tobi 10/10 best water ever
 
@ASCII-only ill check
 
@Tobi doesn't look very realistic :P
 
3:17 AM
how is it floating?
 
Yeah
its just like in alpha
 
that's not how water works xd
 
Lol :(((((
 
there would be way more movement than that
 
you can see the waves
and i have friction on
so it dies down
lemme turn off
 
3:19 AM
no, I mean by default water is doing heaps of moving and stuff
otherwise it would be a solid
 
@Tobi it looks like some sort of science fictiony super cooled gas thing
because water also isn't going to be compressible, like how it leaves gaps in this simulation
that said it is a cool toy probably
 
@DestructibleLemon looks more like a really empty ball pit to me
 
this is probably worse:
how do i make water?
 
3:25 AM
all the particles need to be moving
 
oh like random movement before hand?
 
like always
which would make it a lot more uniform as well (i.e. more like a liquid)
 
its because initially theres no kinetic energy
 
well more like a gas
@Tobi D: 0k initially
@Tobi >_> you shouldn't make kinetic energy magically appear
 
it appears from the users ball
movement
density 16x that of the water particles
 
3:30 AM
@Tobi this actually sort of looks like a human crush simulator a little bit though
 
oh in case you guys didn't know, esolangs.org is back apparently
@Tobi idk maybe
 
its mesmerising
 
also if you're gonna have friction, you need to convert it to heat energy
 
theres no heat in here lol
do u want evaporation?
 
3:32 AM
no, the heat makes the water particles move around heaps
that's what heat is
 
oh ok
so, friction is useless?
- in here
 
yes
 
there is some friction actually
but it gets converted to heat
 
remember to make total velocity the same before/after collisions, and give everything a random initial velocity
 
ive got the conservations sorted
but just need it to look watery
 
3:34 AM
you need some energy loss because you're moving around too
 
lemme lighten the background
what do you mean?
 
@Tobi don't make it too full
@Tobi if you move around = more total kinetic energy
 
so, loss in friction?
should it just be low, so it doesnt instantly die down?
 
yeah really low
 
do i need highlights
on, like, waves
thats advanced stuff
 
3:41 AM
not really
also hmm seems a bit crowded
 
should I increase particle size too, or only decrease density
 
what
why increase particle size
 
itll look deserted
 
@Tobi it's supposed to
 
have you guys ever made a thing that draws raster quadrilaterals given points on the grid?
 
3:43 AM
@DestructibleLemon ?????
 
prob have but dontr undestand what u mean
 
so, you know linedrawing algorithms?
like that but for a filled quadrilateral
 
@DestructibleLemon for what
 
@ASCII-only pixel graphics, you know
 
no but it doesn't sound hard
 
3:44 AM
i did that in openGL
 
@Tobi that's cheating :P
 
lol really?
 
i could do that in HTML5 canvas too :P
 
what is he talking about then
assembly?
 
Hello! Can anyone here solve this?
 
3:45 AM
I think he means modifying individual pixels
 
How do non-programmers live without programming? Search and replace only gets you so far
 
I did individual pixels too
with canvas and webgl
(canvas' imageData)
 
I'm gonna make a thing that takes a bunch of points, a colour, then puts onto an image that quadrilateral, then does it again
 
@HelkaHomba Where have you been? You haven't posted a new challenge in ages! Well, it was just over two months ago, but it still feels like ages.
 
Anyone up for contact?
 
3:47 AM
you just want to draw rectangles on an image??
 
@Tobi yes
 
wht language?
 
@Tobi no...
quadrilaterals
 
oohhh
 
@DestructibleLemon how is that hard
 
3:47 AM
yeah just use points
 
um... because it's not as trivial as drawing rectangles
jeez man
stop bullying me ;)
 
@R.Kap ppcg is a time sink so I removed the links from my bookmark bar, and yet I did not remove tnb from my autocomplete...
 
@DestructibleLemon you know what linear equations are right
 
@DestructibleLemon then just find the intersections
 
3:49 AM
is there a way to do the filling that isn't flood filling?
 
uh no?
 
@HelkaHomba Oh, I see.
 
why not...
 
do you think you can modify more than one pixel at a time
 
you could
split it into triangles
 
3:49 AM
>_>
 
@Tobi Please don't onebox heavy animated GIFs, let alone more than one. The combined GIFs you posted in the past hour weigh 77 MB, and there are still people with slow internet and/or internet billed by transfer. I've edited them down to links.
 
plus remember each line is separate
 
@ASCII-only hmmm
 
@HelkaHomba What about Youtube? I mean, I did notice you posting more often on your channel as of late. Or maybe it's just me...
 
@DestructibleLemon there are other ways but flood fill is already optimal
 
3:50 AM
@Tobi Mind phrasing that in a less offensive manner?
 
wait, I could just check each pixel is less than and greater than the linear equations
and then the line drawing thing is unnecessary
 
@DestructibleLemon wait what no that's too slow
 
that's not floodfilling
@ASCII-only wouldn't it be quicker than flood filling?
 
no
flood fill = calculate endpoints -> loop to fill
 
actually now that I think about it that might not work?
 
3:52 AM
@Tobi That is not less offensive.
 
What should I have said? cant edit any more
 
@R.Kap I am doing that once a week steadily now, but just the Another Adventure series
 
@Tobi Excuse me sir. I, and many others, are quite offended by that term. Could you please refrain from using it (again)?
 
@DestructibleLemon for each pair (overlapping) y of intersections from lowest to highest y, calculate the x-values for the linear equations that matter
 
really?
 
3:53 AM
@Tobi "I'm not smart" or "I'm dumb"?
 
I thought mental retardation what slowness in the brain
 
@Tobi Literally anything that is not a medical condition. Cal yourself an idiot if you must.
 
actually I might use triangles
 
i think this is evidence that im an idiot
 
just because triangles are never concave or something
 
3:53 AM
@DestructibleLemon no :(
 
^
 
why not?
triangle lines (almost) never overlap
except degenerates
 
malformed*
 
because if you split it wrong you'll fill the wrong area
 
thats offensive
 
3:54 AM
...
degenerate triangle is the actual term
 
@Tobi No, "idiot" has to do with intelligence. The terms I think you are looking for is "ill-informed" or "ignorant".
 
@ASCII-only flood fill?
 
help I'm confused
 
just use my method :P
 
3:57 AM
no
you didn't even give a method
 
why not >_>
4 mins ago, by ASCII-only
@DestructibleLemon for each pair (overlapping) y of intersections from lowest to highest y, calculate the x-values for the linear equations that matter
 
I'm just gonna use this algo I found I guess
 
actually order doesn't matter
actually wait it doesn't work for certain cases
i can write a working one in pseudocode if you want
 
@ASCII-only how about this
 
no thanks
triangles xd
 
3:59 AM
@Tobi idk for some reason some look like they're going really slow, the speed should be more even i think? but at least it's a lot better imo
 
@Tobi What is that for?
 
@ASCII-only does this work for triangles?
 
Hi! @Mego
 

« first day (2385 days earlier)      last day (2451 days later) »