« first day (4036 days earlier)      last day (1103 days later) » 

00:09
@RadvylfPrograms ಠ_ಠ
Are we learning us a lang for great good?
Looks like Desmos has the highest score at the moment, followed by Haskell
Looks like we aren't.
01:41
speaking of haskell i just noticed there's a (<<) on tio that seems to behave like flip (>>) as one might expect... except i looked (<<) up on hoogle and it doesn't seem to exist
Old version, probably
ah, so it's something that was actually removed in a recent version
interesting
(>>) == (*>) and there exists (<*) but probably not exactly the same as (<<) you want
seems to work as desired here
shld i post my simulating bombs?
02:49
Hi!
if someone's willing to teach desmos i'm in for learning me a lang
I sometimes use desmos but have no idea how to golf it
@emanresuA @Razetime ya guys think i shld post simulating bombs
what does that mean
03:03
my sandbox post
link pls
always give a link
1
A: Sandbox for Proposed Challenges

DialFrostSimulating bombs More advanced version of this The aim of this puzzle is to simulate the impact of the shock wave of bombs on a square grid. The grid initially contains cells labelled 0 along with several bombs of type A, H, or B. Display the greatest intensity of shockwaves felt at each cell aft...

ye i wanna gna post it anyways
i think you were getting feedback on this yesterday?
ye
but only 1 person answered
*which was adam
ok what is the precedence of the bombs
what determines the order of bomb explosion
03:07
okey that is a good qns
the answer is: it does not matter
left to right top to bottom seems sensible
cuz the highest possible bomb explosion will replace the lower ones
basically reading order
what is "highest" in this regard?
so e.g. u have your H-bomb, where it emits a intensity of 5 right
oh ok i see
03:09
then u have ur A-bomb right next to it
the H-bomb outshines the A-bomb
well, that should be written somewhere
that's fine
just specify that and also the order in which bombs explod
changed accordingly
pls check again @Razetime thx for ur help!
yup looks good to me
03:15
thx!
0
Q: Simulating Bombs

DialFrostMore advanced version of this The aim of this puzzle is to simulate the impact of the shock wave of bombs on a square grid. The grid initially contains cells labelled 0 along with several bombs of type A, H, or B. Display the greatest intensity of shockwaves felt at each cell after the bombs expl...

@Razetime pls check if i used the right tags
thx
03:44
what happened to LYAL?
(i almost typed LYXAL out of habit lol)
@AidenChow Are you okay with teaching Desmos LYAL todayish?
(If not, we can do a different lang)
DMSCMC: Calculate the sin of input.
...sin(x?
i forget are variables the input method or is there some obscure other feature for that
I think sinx works
i just need to know how desmos IO works x=0\nsinx
03:49
oh it does nice
let me go see how desmos answers work
well i think the input can be taken as variables
and output can be (idk how to describe it) the result of an expression
a=0 becomes a slider but a=0+0 is a constant
An actual line of code found in an example program for school:
# Initialise some variables # this is a comment
@NewPosts Butterify? The bakery's about to freeze :(
read that as butterfly and was a bit confused
@emanresuA OH SHOOT i forgot i even put desmos for that
Gg gamer.
03:59
uhhhhh
We can do something else if you're not ready
totally not prepared
yeah can we do next month?
Sure
Haskell's the LYAL then if someone wants to teach @WheatWizard?
@PyGamer0 i usually use functions when i can but i think some people prefer to take input through variables
i will always use variables for input when dealing with actions though
its just easier that way
@emanresuA how long do i have to teach
so that i can plan for next month
As much as you want over 24h
04:08
It doesn't have to be full on dedicated teaching for the entire time
There can be little bursts of desmos learning here and there
For planning, I recommend you write down how you want to explain/teach desmos (so that you can have something to reference if someone asks about the basics)
And then I recommend writing a list of CMCs that can be solved in Desmos
@lyxal sorry, new to chat, but what is cmc
Chat mini challenge
so is that like an easy code challenge?
Not necessarily
It doesn't have to be trivial
But it's usually not too hard.
just something not quite main-worthy and/or especially conversation relevant
04:12
huh ok, im not good at creating challenges so i will have to think about this
The idea is that it's not like a challenge on main where you have to objectively specify details
CMCs are allowed to have a bit of ambiguity/subjectivity
in this case just whatever the fuck you think works best for teaching the language and challenging learners
Exactly
And the IO formats are even more lax than usual IO rules
dang ok i didnt realize i was getting myself into all of this when i nominated desmos for this. i will see what i can do
@AidenChow I usually get codex (GPT-3) to generate CMCs for me
@AidenChow planning early certainly helps
04:14
@AidenChow Do as much as you want :P
Vyxal's LYAL had a month of planning and a meta proposal put into it
but most LYALs are spontaneous
And you just ask questions that you think will make people use different aspects of your language
@lyxal hmmmmm...
@lyxal how do you use this?
Also, LYAL just means that conversations about learning the language are given more importance than normal conversations
Off topic/general conversation can still happen if there's a break in learning
@AidenChow beta.openai.com
You need to get on the wait list to join the private beta
I think the acceptance time is pretty quick
Once you do that, you just put some existing CMCs into the prompt box, hit enter and it'll spit out more CMCs
do i just make an account
I think so
It's been a while since I last checked the sign up process
04:22
@lyxal :\ they asking for a phone number, i dont have one though (only in eighth grade, my parents wont let me have a phone)
is there an example of how this all looks like in practice?
just like a link of a msg to the start of a LYAL learning session
If SE chat search worked I'd get you a link
Jan 19 at 0:00, by caird coinheringaahing
Welcome to the eleventh Learn You A Lang for Great Good! Today, we'll be learning Vyxal, a golfing language that aims to be both short and readable. During the day, Vyxal Bot will be active to assist people learning Vyxal, see the pin below for information about how to use it. During the event, feel free to post CMCs to practice Vyxal, ask questions about the language and so on.
Feb 2 at 0:15, by user
Welcome to the Scala LYAL y'all
@lyxal thanks
ok what is vmc?
and what is cms?
@AidenChow Vyxal mini challenge
@AidenChow chat mini scala
ok so if i were to do a challenge only for desmos i would put dmc?
Correct
Dec 22 '21 at 0:00, by pxeger
Welcome to the ninth Learn You A Lang For Great Good! Today, we'll be learning zsh, a Bourne shell derivative that's (sometimes) good for golfing. Feel free to ask questions about Zsh, post CMCs ("ZMC"s) related to the language, and just discuss the language in general. ATO (or TIO, if you're so inclined)
As you can see, LYALs can be as informal or formal as you like
And they can be as planned or as spontaneous as you like
04:39
wait im looking through this and it looks like they straight up just start giving out challenges, not really teaching anything
That's a pattern that unfortunately seems to happen
We tried to avoid that with the vyxal lyal
And except for a few challenges at the start, I'd say it went well teaching wise
You could start by teaching the I/O format and a short reference to built-ins
As well as how to actually make a desmos submission
it lasts 24 hours from start right?
Yes
But you don't have to actively teach that whole time.
General conversation sneaks into the gaps where content isn't being taught
And that's fine.
28 mins ago, by lyxal
Also, LYAL just means that conversations about learning the language are given more importance than normal conversations
04:46
hmm ok is it ok if im not here for like more than half the time
cause i have school and everything
@AidenChow that's fine.
I had to sleep during the vyxal lyal, and normal conversation just took precedence. Once I got back, learning started again
ok i might start it if i have time after i eat my dinner
05:28
0
A: Sandbox for Proposed Challenges

emanresu AIs it a fibonacci-like sequence? The Fibonacci Sequence is a sequence of positive integers where the first two elements are 1 and the rest are the sum of the previous two. It begins \$1, 1, 2, 3, 5, 8, 13\$ and continues forever. But what if you started with numbers other than \$1, 1\$? You could...

06:14
its a wed y everyone offline
06:25
quick qns
how come tio.run doesnt support :=
in other websites it works
for python?
because it's out of date (python3)
use python38pr
tio.run/#python38pr - yes, python 3.8 isn't pre-release anymore, but TIO is out of date
oh
thx hyper neutrino
i forgot about 3.8
 
1 hour later…
07:53
@DialFrost or use ato.pxeger.com
it has the latest version
also i hate my school
haha
y?
should have taken home science instead of computer at my school ......
08:11
yeah, IME computer science courses below university level are all rubbish
ye
same
my school right, the computer science class teaches java lang
java is bad
(imo)
I must change the language my school teaches from Java to APL.
@DialFrost mine taught VB.NET
Which was an interesting experience, given that the school used Macbooks and Visual Studio runs on Windows (sure it can run on macos, but iirc it wasn't feasible to install VS on our macs)
so i dont have to do crap like a>3?a++ + b-- - c:b++ - c++ + ++a
VB NET?
ISNT JAVA BAD ENOUGH
wat sch wr u in @lyxal
08:19
@lyxal the workaround? Thumbdrives that had Windows on them and you booted windows using a VM
im suing them
@DialFrost promotional exams are in a month, and i have 3 projects to submit like what. I have computer due tmrw >:/
@DialFrost Don't sue the school, sue the state I live in
i took sciences
:)
08:20
sue the entire world
lol
honestly what happend to CG
it used to be vry active
It was a course designed in 2001 or so when languages like vb.net were still prominent and pseudocode reflected that
tdy is wed, and the main CG is so empty
sue-docode
lmao
08:23
anyone wanna golf my "simulating bombs" code?
python3.8 btw
@DialFrost no i got non-programming work to do
which includes writing about rain gauges
and drawing onions
@lyxal congrats on ur recent 20k !
(not very recent lol but congrats)
> 🔵 ← pipis
08:28
wait u can js use `` instead of ``````?
wdym
abcd -> `abcd`
like in CG
i always used code
whoops
i always used triple backticks
u can use 1 backtick????????
@pxeger The one I'm in is using Adobe Dreamweaver :(
hi adam!
Anyone want to play tanks?
08:34
tanks???
@DialFrost yeah if the code is in the same line
oh
ic
but multiline cannot?
yeah, multine use ```
@DialFrost thank you, many appreciates
ic pygamer lol lyxal
Can I, who can edit others' post, suggest an edit but not directly edit?
Any progress on figuring out @GingerIndustries package contents?
@l4m2 Unfortunately no. That's a feature I also often wish existed, but I sometimes just put "feel free to revert" in the edit message
Technically I can downvote random users till I can only suggest edit, then undo the downvotes?
3
That's not a good idea lol
08:45
Only if you're quick enough
But if you wanna do that, start with my answers :)
That's why I say technically
@pxeger ¯\_(ツ)_/¯ Look on meta, there's probably soemthing ther
anyone wanna further golf my code?
I'm honestly tempted to vote to undelete
08:48
@DialFrost which code?
nobody steal this ans. its for the simulating bombs challenge i posted
:)
Remove the space between 0 and "or", that's the most obvious one
cant
invalid octal literal
never put a 0 beside a o
Ok...
i can changed the or to a | and the and to a &
but it will still be same code size
the g[i,j]=v.lower() is annoyingly hard to get rid of tho
i havent figure a way to get rid of it
we shld celebrate when sandbox hits 300k views :)
09:10
why i hate java: 18 characters for the print function oof
16 for "print lite"
wats that @emanresuA
@DialFrost it looks like a nightmarish trolley problem situation to me
09:22
@emanresuA the Travelling Trolley Problem: what's the quickest way to run over everybody without running over anyone more than once?
8
answer: nuke the shopping mall problem sovled
@pxeger solve the Königsberg bridge problem first
@DialFrost I think it's frowned upon to answer your own question so soon?
idk
delete ah
no it's too late now, but next time
09:35
k
im assumign u downvoted?
not me
@pxeger sandbox that
shld i js delete lah ophact
it's not up to me as to whether or not you delete your answer. I was just saying that it's generally frowned upon to answer one's own question without waiting a few days.
If nobody answers for about a week, then you can post your answer.
09:42
A WEEK?
Could someone VTD this?
Actually o/ now
Sorry, not enough rep :( the requirement is 3000, right?
wats vtd
vote to delete, I believe.
@ophact no, you need 20,000
> Voting to delete questions with a score of -3 or lower immediately after they are closed
09:45
wow
long way to go then ;)
Why isn't Nineteenth Byte message searching working for me?
Oh actually, if you have 10,000 you can do it as well but you need to wait 2 days after it's closed: codegolf.stackexchange.com/help/privileges/moderator-tools
looks like the vtd worked.
10:13
also i am not happy with java at all
System.out.println is super long
⎕← is much better, or : or even echo
presumably console.log is better, then?
When in doubt, Just use a lambda and return a string.
Printing in Java, and many OOPy languages...
10:33
0
A: Sandbox for Proposed Challenges

ophactDisassemble tables code-golf Given a string that represents a bunch of tables stacked on top of each other and/or arranged side-by-side, disassemble all the tables. Tables A table looks like this: ------- | | | | More formally, a table has a tabletop, composed of n dashes, and two visib...

@Adám I'm still thinking about this...
does anybody else have opinions?
? for what @AncientSwordRage
if I should constrain the error output or my latest challenge to return negative numbers or allow any non-positive
like if there's no way to give an answer for how many matchsticks moves are needed, then do they need to respond with -1, -2 etc, or do I allow text output like "Ooops" ?
@ATaco im doing this for school i cant return strings lmao
@ophact the joys of being a 20k user :p
10:46
@AncientSwordRage I think just "output anything other than a nonnegative integer" is the best option
@lyxal >:( im still 1.8k
:(
when you write Scanner sc = new Scanner as Scanner sc = new Scammer £_€
lmaoooooo
@pxeger cool
also interesting challenge idea: the same, but supporting multi-digit numbers
like how many matchsticks need to be moved to change 12 into 51?
10:48
@PyGamer0 how come ur not posting anything in CG
@DialFrost i dont have my brain cells
i lost them somewhere
i must find them
bruhh
i almost golfed my java lmao
LMAOOOO
anyone wanna validate this post? codegolf.meta.stackexchange.com/questions/2140/…
> You will take two numbers, and return the number of moves needed to convert from the first input number to second input number. If not such operation is possible output an Error Response (any consistent number less than 0 (-1 -> -Infinity) or crash):
10:55
guys singapore got 22k covid cases yesterday
yikes
@pxeger Sounds like a job for pathfinding libraries
0
Q: How many matchstick moves to change a number?

AncientSwordRageHow many matchstick moves to change a number Using the matchstick numbers here: Count the Matchsticks _ _ _ _ _ _ _ _ | | | _| _| |_| |_ |_ | |_| |_| |_| | |_ _| | _| |_| | |_| _| How many matchsticks must be moved or removed to chang...


« first day (4036 days earlier)      last day (1103 days later) »