« first day (2222 days earlier)      last day (2917 days later) » 

08:10
'eyy bois
CL's formatting strings make CL not Lisp-like for some reason
I'm about to make a challenge
about: Interpret your language
like PyPy and C
@MatthewRoh Python, 4 bytes: exec
Oh right
V/Vim can also do that very easily
Anonymous
08:11
@MatthewRoh Use the sandbox
I should probs find a way to prevent eval/execs
btw eval is evil
08:26
canvas is love
I had such a pretty bash answer to inf output, non repeating challenge: yes|sed -n =, but I'm pretty sure the internal counter of sed will overflow :(
hmm
If we think about that, every answer is invalid
no, not every answer
arbitrary precision counters are ok, because the memory is infinite
above it's only the default number type that is the problem
wat
wat
What is the inverse of the power?
Logarithm or root?
Then asking in the comments is probably the correct way
wat
wat
08:33
By the way people PLEASE HELP WITH TOMATO
@wat n^2 or 2^n?
wat
wat
x^y
@MatthewRoh I already asked, but I'm sure numerical type overflows won't be allowed
probs log
wat
wat
08:34
k
What should the inverse of root be then?
root of n^2 is n, log2 of 2^n is n
hope it helps
wat
wat
no, it's y'th root of x
What is the variable and what is the constant
That question should probs come first
wat
wat
no constant
08:37
both variable?
wat
wat
pop 2 vars off stack, x and y. raise x to y.
wat: inverse functions only work if the number of inputs is the same as the outputs of the other function and vice versa
x^y, logx and you get y, yth root and you get x
did it help
if both are variable, they can not be inverse as they both return only one value from two input values
wat
wat
08:39
no, that is not what I mean.
Thats why I asked this
wat
wat
My language will have an operator to negate/invert the action of a function. I am tryingto find out what to make the negated version of raitsing to power.
> What is the variable and what is the constant
wat
wat
Seriously, check out tomato.
@wat so um, well
08:40
@wat I think it would be better to see how inversing functions in mathematica works
I think what you want is f(F(x, 2), 2) = x?
wat
wat
no
where F is power function
@wat I don't think you are giving enough info or you are going for something impossible
wat
wat
Qo pops x, pops y, pushes x^y.
You mean, you put in x^y and you should get x and y?
wat
wat
08:41
I would like a logical thing to use for Qu.
No.
I'm using function notation?
so I'm thinking f in that expression is the one you want
wat
wat
Seriously, please look at the language spec.
wat
wat
no, I don't want the mathematical inverse.
I just want a logical operation for the "inverted" version of power.
Okay, This is getting worse, lets just see how inversing functions in mathematica works
08:42
that'd be logarithm generally
wat
wat
OK, thanks
I know that if you get a graph that is exponential and put it on its side it becomes logarithm or something
also I just realised the function notation I gave you suggests a root function :P
this could help?
also am I the only person that gets kind of annoyed at watt hours?
I mean, joules already exist people! Watts are pretty much just derived from them
What do you mean?
08:46
@MatthewRoh lol ninja
and then it messes up all the metric things cos you gotta multiply by 60 for it to be joules and stuff
Joules are work, Watt hours are capacity
no, watts are power
Pondering code-golf challenge for shortest code to crash the system it's running on
joules are energy, watt hours are energy
1 watt hour is 3600 joules
edited..?
hmm
08:48
you know, watts are joules/second, so joules are wattsseconds, and watt hours are wattsseconds*60*60
I mean Watt hours are derived from Amp hours
amp hours are charge
@DestructibleWatermelon Watt hour is also charge
volt amps is watts, so I get that, its just that there already is a unit for that
@MatthewRoh not in the same way
its just amp hours multiplied by voltage
08:49
I meant amp hours are the same units as coulombs, electric charge
joules are a unit that exist
I think you are misunderstanding about the concept of amp hours and coulombs
and they just ignored it, for that nice 3600 multiplication factor when you wanna use it with joules
@MatthewRoh I am not
amps are coulombs per second
coulombs are amps * seconds
seconds got same type of units as hours
both measurements of electric charge
Amp hour is capacity that can be used in an hour
08:52
you know, it makes little difference
amp hour and coulombs measure the same thing
also I'm supposed to be working on my koth bot
for example if you have 3Ah of capacity and your load uses 3A, you can use it for an hour
not true
Batteries store energy and stuff
not charge
charge stays in the circuit and things
> The commonly seen milliampere hour (mAh or mA·h) is one-thousandth of an ampere hour (3.6 coulombs).
- the wiki
:\
WHY
WHY WOULD YOU EVEN DO THAT!?
wait wrong section?
> An ampere hour or amp hour (symbol Ah; also denoted A·h or A h) is a unit of electric charge, having dimensions of electric current times time, equal to the charge transferred by a steady current of one ampere flowing for one hour, or 3600 coulombs.
there
08:55
yeah, but you don't have a capacity of charge that matters
when you're making electronics stuff
prove that
its all about the battery putting out the electric tension, and the amps flowing around the circuit, multiplied. the battery capacity basically just says how much energy there is in the battery to sustain that
batteries make voltage, not charge or current
batteries also store energy, not voltage or charge or current
I learnt it at school
also I'm kind of confused about how voltage works though, but anyway
School?
Australian science and mathematics school
Schools are always wrong at teaching physics
( ͡° ͜ʖ ͡°)
08:58
well now. this one is a different school
anyway, I should be working on my koth bot. speaking of which what should it be called
I figured out the first part is "hecksome"
what is the next part
I know!
the next part should be...
@MatthewRoh what is it boy!
'ಠ_ಠ'
its a meme isn't it :/
oh you ninja'd me
I knew it was a meme though
yes the name shall be hecksome ಠ_ಠ
overlord?
actually that'll be nice
ty
ok, so now onto the actual bot!
so, how does hecksomeOverlord search the maze...
so, I guess I'll code the thing that puts the maze in memory
09:05
not gonna work
I think the common algorithms rely on actually knowing where you are on the graph
or how the map is
hi @Qwerp-Derp the koth I'm making is mostly finished
wanna help me make a bot? or make your own?
its a graph maze?
@DestructibleWatermelon After like 3 months, finally!
I kinda want to play it now :)
quit judging my work ethic
09:07
"finally" is in an excited tone btw, not a condescending one
@MatthewRoh mazes can be represented as graphs
So more like "finally, yay!" instead of "finally, took you long enough"
also this one is multiply joined also
But it did take you long enough TBH, so I'm kinda conveying both meanings here
09:08
yeah, I know
anyway my bot is HecksomeOverlord
Hecksome is gonna be a thing now
maybe in like 2588 mainstream culture digs up TNB transcripts and makes all the memes and hecksome gets put in the dictionary
anyway I don't really know where to start with programming this bot
also I have a github repo where you will be able to test stuff soon, but I haven't commited the finishing touches yet
wat
wat
I will add hecksome to wiktionary
please define hecksome
you can't do that wat
it hasn't become noteworthy yet
Wiktionary is not a joke
treat it with lispect
actually is lispect on wiktionary?
I'm planning to make CMQ a lisp-like
wat
wat
“Attested” means verified through[3]

clearly widespread use, or
use in permanently recorded media, conveying meaning, in at least three independent instances spanning at least a year (different requirements apply for certain languages).[4]
If anyone objects to that I can make it a normal(ish) lang
wat
wat
09:13
We need to put hecksome in newspapers
wait lispect is not there apparently ;_; the spongebob memes nooooo
wat
wat
OMG I kinda finished Algebra 2!!!!!
Now doing the "final knowledge check"
@DestructibleWatermelon Should I make a Lisp-like and call it Lispect?
Just for the memes
Alright I'm making a naming list for good names depending on what their language is based on
Excel: Excelsior
Lisp: Rhotacism
There's two right now
Lispect is kinda on the edge though, it's not a good name
09:19
I think you make a language to get people to lispect you, not make a language called lispect
That's why I changed the lisp language thing to rhotacism
I don't really get the "lispect" thing anyway
It went something like this
"we like stinky" "nuh uh we respect stinky!" "woah woah kids lets just say you lispect me"
Oh
That's not funny
Anonymous
@Qwerp-Derp Of course it's not funny, it came from Spongebob
@Mego u wot mate
09:22
@Mego Do you see what I did there for the Lisp-like language name?
of course its not funny the way I presented it?
Heyy
Ping me if you get what I did for the Lisp name
Please don't flag Spongebob conversations as offensive!
Anonymous
@Fabby I sure will flag someone telling someone else to shut up - that's definitely rude
09:25
It was rude, not offensive
ok why is TNB going in to high contrast mode again
Anonymous
@Fabby Rude is inappropriate - Be Nice applies everywhere. Please read the chat guidelines on Mother Meta before handling any more flags.
I said shut up as if being defensive of a thing I like because @Qwerp-Derp insulted spongebob
@Mego Wait wait wait was the "shut up" thing about Melon telling me to shut up?
Yup.
It was flagged as offensive without reading the entire context.
Anonymous
09:27
1 message moved to Trash
I probably should have written "... shut up"
Anonymous
Even if the flag didn't end up validated, telling someone to shut up (jokingly or not) is disrespectful and has no place in this room
how to disable "high contrast theme"
@Mego That's a bit hardline, I feel
of course there is very low contrast on the starboard
Anonymous
09:29
@Qwerp-Derp Please give me a counterexample, then. Tell me in what situation telling someone to shut up would not be violating the Be Nice policy. I'll be waiting.
@Mego It's all about context.
@Qwerp-Derp Can you tell me to shut up?
@Fabby I might get my message thrown in the trash anyway though
wait did you just deping me!
D:<
@DestructibleWatermelon le gasp
09:31
@DestructibleWatermelon I clicked a link while someone was posting something and clicked on you instead of @Qwerp-Derp
you know, saying shut up in a jokey defensive way is about as offensive as stating nothing from spongebob is funny
@Mego But that message taken in context isn't disrespectful at all, it's a joke, which isn't really meant to be disrespectful at all, because it's not meant to be taken seriously.
And if I would ask @Qwerp-Derp to tell me to shut up and he dis that would be an example to @Mego that "shut up"can be appropriate.
Alright, y'know what, let's just get over this.
(or when quoting a comic, or a book, or, ...)
Anonymous
09:33
@Qwerp-Derp That's a very good idea
ok seriously TNB display is acting up right now
Is this a valid submission?
@Mego But I'm still keeping with my opinion on this, IMHO you're still taking this a little too hardline, I agree with the "shut up" thing disobeying the "Be Nice" policy, but when that message is put into context as being jokey, it's not meant to be taken seriously, and therefore shouldn't be violation the "Be Nice" policy.
Anonymous
@Qwerp-Derp Even jokes can be offensive
ok but those tend to be bigoted jokes
Anonymous
09:38
My point is, just because something was said jokingly (or was claimed to be a joke) doesn't mean it can't still be offensive
@Mego Aren't jokes only offensive when the joker is targeting someone or some group as the "punching bag"? I'm not sure if there an example that encompasses more than that.
@Mego But "shut up" doesn't include any of that, and if meant in a joking way, shouldn't be offensive (unless you don't get the context itself).
Anonymous
6 mins ago, by Qwerp-Derp
Alright, y'know what, let's just get over this.
Hooray for civil discussions! This is why I like SE chat more than Youtube comments or any other chat service.
@KritixiLithos Can't you just do millis() instead of frameRate to save a byte?
"more than Youtube comments" that's a pretty low bar :p
@Qwerp-Derp millis() returns a long that can overflow, but then again, millis need not be always constant
09:46
ok, why can't I push to my github repo?
it says incorrect username or password but I just logged in with them
Ok millis() seems pretty non-deterministic, I'll do that now, thanks :)
is it to do with my 2 factor authentication?
darn
@Fatalize "any other chat" at the end
@Mego You work at Google, right?
Anonymous
@Qwerp-Derp Not yet
I remember you being offered a job but then it was a lie?
09:53
@Mego ??? Didn't you say you were going to work at Google, like, a few months ago? Did they still not put you in to any workplace yet?
Anonymous
@Qwerp-Derp There was a complication on their end, and I wasn't hired. I should be receiving word in a few months about trying again
@Qwerp-Derp wanna have a look at the repo on github? maybe start making a bot
@Mego just found that. Neat! Is it possible to request more code pages?
however there are no docs on how to make a bot
wait a minute...
@DestructibleWatermelon link?
Anonymous
09:54
@Fatalize Not currently, because I'm in the middle of an overhaul. But soon.
did I even implement diagonal shooting...
Apparently I get to go on an excursion to Silicon Valley for one of my subjects
or diagonal moving...
@Mego Looking forward to it
Anonymous
@Fatalize Glad to hear it :)
09:56
(I'm sick of copy pasting :p)
Anonymous
I wasn't really happy with it in its current form for a few reasons. A big one is the clunkiness of Brython.
I thought of improving my REPL to be able to input everything with just the keyboard but it's probably not worth the effort, and it wouldn't be useful for people that only use TIO anyway
@Mego What is Brython exactly
Anonymous
@Qwerp-Derp Browser Python, implemented (poorly) in JS
@Mego Skulpt but worse or better?
Also why not just use JS?
@KritixiLithos Wait hang on that might not be stored with arbitrary precision though
Does it matter if it overflows?
I think I'm confuse :(
10:08
But it still does not have to repeat
wait can I use deadfish~ on evolution of powers of two?
The interval between each result of millis always differs (from what I can see)
hmm probably not
Anonymous
@Qwerp-Derp Because JS doesn't have builtin support for tons of text encodings like Python
martian chess as a koth maybe. Thoughts?
10:15
Why not?
well I'll get around to it after this koth
maybe even rando'd terrain
But make it so that any language can participate
well, that slows things down a lot I've learned
but maybe
wat
wat
Why not browser ruby instead?
also I just realised my BF code to generate a power of two is probably pointless considering that I could just generate the char code of zero and inc and dec and print that anyway
wat
wat
10:17
WHY PYTHON WHY
WHY ARE YOU SO BAD
^ thats offensive
can I flag it
wat
wat
to who? snakes?
ok wat do you have a sock that stars your posts?
wat
wat
no
i have a sock but it doesn't star my posts
> seen 8s ago, talked 56d ago
ok wat
wat
wat
10:19
who is that
Jarko Dubbeldam
wat
wat
Not me
do they just sit silently and watch the conversations unfold. "yes yes, all is going to plan"
"all is unfolding as I predicted it would"
4
Q: Pick a random number betweeen 0 and n

LembikTask Given a positive integer n less than 2^30 specified as input in any way you choose, your code should output a random integer between 0 and n, inclusive. The number you generate should be chosen uniformly at random. That is each value from 0 to n must occur with equal probability (see Rule...

wat
wat
10:43
tomato cheating quine: VO
10:59
Do any of you sleep? I get the whole timezones but still.
(Not trying to be offensive)
But I am kinda impressed
@ChristopherPeart yes
I was more thinking of wat :P But I guess you need sleep
Some people indeed seem online 24/7
My two sleep modes are "SLEEP IS FOR THE WEAK" and "SLEEP IS FOR THE WEEK"
11
No intermediate level
I just had a interesting idea. A challenge that you write code that runs in 59 seconds and produces one output and uses the most CPU power. Now if you notice this is where I will not post it. This would be the anti TIO challenge. I may actually post this (in sandbox at first) if @Dennis would be OK with this. I currently do not think it should be posted as I love TIO and don't want any hurt to happen to it. But if Dennis says that TIO would be fine I may sandbox it
There are several problems with it but I think they could be worked out (except the TIO part)
11:54
The most CPU power is used by AVX instructions. I think you mean the most CPU time. The latter is rather trivial. E.g. an empty loop per thread per core will consume 100% CPU time, but it won't block other apps, on modern CPUs that is. So you'd have to shuffle random data through AVX in a loop for each core. This is the optimal solution and will always have the highest CPU utilization.
12:32
Guys i have a question its not related to codegolf, hope its still okay
I really want to get into Linux kernel programming and i have not found a single project where you can do and learn, like i did my LFCS certification i had terminal to try out so many possible scenarios with UNIX commands. any helpful input would be great!
I have books like LDD, Linux Programming Interface but not really practical examples, hope I'm not spamming! Thanks
What do you mean "a project where you can do and learn"?
And: Do you mean programming for the kernel or programming kernel mode programs?
13:10
@mınxomaτ By project i mean like writing my own kernel for ARM processor for instance, on Beaglebone or so. Writing High-level drivers for I2C, USB 3.x for example. i meant programming for kernel. Like compiling my own kernel modules.
13:26
That's two different things. For kernel modules you need to have a kernel. And I was confused by your "linux kernel" which lead me to believe you were talking about the linux kernel. If you want to get into kernel programming in general checkout wiki.osdev.org/Main_Page
.
Hi. I thought of an idea for king of the hill. Is it a plausible idea?......................The initial state of a Conway's game of life is a 10*10 space with cells randomly filled in (but uncoloured). The rest of the space is blank. Each opponent program can view the board at any time. After every 10 generations, player 1 colours one cell red and player 2 colours one cell blue.
Coloured filled cells are treated the same as uncoloured filled cells when calculated which cells are filled in the next generation. However the colour of a cell that gets filled automatically in a generation depends on the colours of the cells that led to its creation. If only colourless cells were adjacent, it is formed colourless. If cell(s) of one colour were involved, it gains that colour. If both colours red and blue were adjacent, the dominant colour is chosen.
Objective of the game is to have maximum cells of your own colour at the end of, say, 100/1000 generations.
Will this kind of a game end up being too random or can it be played well by AI?
13:42
@ghosts_in_the_code I can think of a few different tactics for bots that might be good. I don't think the game would be too random and I'm not aware of an optimal solution so I think it could work well as a KotH.
But do get more opinions than mine (and be sure to sandbox it first). There are some experienced KotHers here that could give valuable input.
@ghosts_in_the_code my personal opinion is that this would become a battle of CPU time
Didn't we have a KotH GoL?
You would want to calculate as many iterations as you can ahead, doing alpha/beta pruning
@AdmBorkBork this one is a bit different, as the other one had them on separate sides
Ah, I'm fuzzy on the details.
@ghosts_in_the_code what happens if both players chose the same square?
@ghosts_in_the_code either way, you should use my KotH framework :)
13:47
I would say this should be moved to the sandbox for discussion.
I just added a bunch of stuff to my readme to make starting easier
I can't actually do the test running part because I don't know how to.
It was just an idea
Challenge discussion is still on topic here. I do agree it should be sandboxed :)
So if someone else wants to use it, then can
Unfortunately koth challenges have the biggest idea/work disparity: its so easy to come up with ideas, but the challenge takes the most amount of work
13:57
@DestructibleWatermelon 10 is less than 256
this is not true in some bases
e.g. base -10
eh
wait that's wrong offset right
ye that's the wrong offset
100 can be more than 2560 though
in base -10
@orlp Pavel was the one who said 10 is less than 256. Destructible Watermelon was just quoting him
I'm just responding to the starred message
I don't really care who said what

« first day (2222 days earlier)      last day (2917 days later) »