« first day (3776 days earlier)      last day (1062 days later) » 

12:16 AM
@Wezl Wanna make a LotM post for Red?
 
12:49 AM
0
A: Sandbox for Proposed Challenges

caird coinheringaahingDemonstrate some easier abstract algebra From my related challenge, Demonstrate some advanced abstract algebra Consider a binary operator \$*\$ that operates on a set \$S\$. For simplicity's sake, we'll assume that \$*\$ is closed, meaning that its inputs and outputs are always members of \$S\$. ...

 
@SandboxPosts @hyper-neutrino @Bubbler This one has the "may not exhibit the other two in its group" behaviour (with a fancy example table), I decided to do the other one (now called "Demonstrate some advanced abstract algebra") as finding 9 functions with only one of the 9 properties each
It feels weird to basically copy-paste 90% of a question from another one, but I highly doubt that the two will be duplicates
 
 
Is it really easier...?
 
Github's giving me 42 code scanning alerts, for some reason. Anyone know if that's normal?
 
@Bubbler I'm open to better titles, I just chose that because it seems somewhat easier :P
 
12:54 AM
@user Well, sounds normal if you're using npm and your project depends on a lot of npm packages
 
And also, "Demonstrate some abstract algebra" was such a bad title, and then I had to create another title based on that :/
 
I'm not sure enforcing exactly three programs with exactly three properties each would be better than just letting answerers choose what they want to do
 
What do you mean by "choose what they want to do"?
 
@Bubbler It's not an npm project (and it doesn't have dependencies). On closer inspection, it looks like I was an idiot and just have a lot of linter warnings (methods that are too long and stuff)
@cairdcoinheringaahing Choose if they want different programs to cover 3 properties instead of just one
@user I take that back, though, it's unlikely that making three different functions would be golfier than making just one
 
It's weird to have plain linter warnings as "security" issues though
 
ngn
12:57 AM
@user microsoft advising people about securty.. :)
 
¯\_(ツ)_/¯
 
Covering 3 properties is significantly easier than covering less than 3
 
@ngn I hate those false positives :/
 
2 hours ago, by Bubbler
It's actually possible if a*b = b*a for some inputs and a*b = -(b*a) for the rest
 
No, that one's for "not satisfying any of the three"
 
12:58 AM
Yeah, but to satisfy <3, it has to "not satisfy any of the three" for the other 2
 
Okay so it turns out the auto-acknowledge thing never even worked lol
Apparently there's an id that's separate from the message_id
Fixed now, so I can stop getting emails all the time
 
Replies and pings both have a separate id than message_id btw
 
That's why I added that feature lol
Kind of tempted to keep a counter somewhere
 
@user I feel it's too similar to rebol, no big golfing differences (I may be proved wrong)
 
1:08 AM
ig but that doesn't mean it's a bad language (and you've nominated it already)
Besides, REBOL hasn't been LotM before, has it?
 
@RedwolfPrograms event_id of 8 is a direct reply (:message_id style) and 18 is a @NewPosts style reply
 
I know, that's been working for a while. It's just the weird property naming that confused me :p
 
1 is just "message sent to room"
 
@user oh whoops my brain just temporarily broke. Ignore that message, Ok I can make it
 
@RedwolfPrograms IIRC OSP has something like 30 inbox notifcations, cause I just don't bother to clear them :P
 
1:14 AM
You might want to try a system similar to the one I'm using, it's super easy to acknowledge the pings
 
¯\_(ツ)_/¯ I get an email every 2 weeks I think. Compared to most emails I get, its fairly non-disruptive :P
Plus, its fun to have a counter. I'll check it in like 2 years and see how it turns out :P
 
Considering making a general purpose library for SE chatbots in JS, I've got most of the work done now
I had to make a custom requests library
Because the default ones don't support cookies
It was as painful as it sounds
 
There are 2 main ones for Python that I;ve used, that a lot of bots are based on. TBH I can't think of any SE chatbot in JS aside from NP/SP, so that could be a useful first step towards more
 
1:31 AM
Can I get confirmation that red is the new lOTm?
 
Looks to be, go ahead and write up the post :)
 
wait I almost posted it after replacing all the reference to May with April
 
good job
 
Lol
Now we're going backwards in time
 
insert quote about drugs
 
1:34 AM
can I get confirmation that the next month is june?
 
no it's july /s (yes it's june)
 
thanks want a bounty :P
 
yes i would like a 1 rep bounty for this highly valuable information
 
I think its interesting how anomalous we are in the SE network. If you try almost any sorting option in the site listing, most sites generally fall in clusters. Aside from us - we bounce around the list on literally everything. As an example not shown on the sorting options, editors. Our top editor is Martin, with 1632 edits. Comparing to the 7 other sites closest to us on the SE sorting metrics, the top editors have 28523, 1995, 4122, 278, 5673, 1677 and 516
(FYI 28523 is not a typo, that's Jamal on CR, 2nd is 200_success with 18226, and they're crazy)
 
0
Q: Language of the Month for June 2021: Red

WzlIn accordance with our meta agreement, since one candidate received more votes than the others, we have a new featured language! Throughout June 2021, our Language of the Month will be: Red What's a Language of the Month? See the meta post for nominations. In short, during June, those who wish ...

 
1:38 AM
kinda surprized it didn't think it was a dupe of other lOTm posts, especially since a lot of stuff was copied over
 
BTW if you run really low on rep for bounties let me know lol
i have plenty
 
Kudos for even offering bounties with 1k rep tbh
I'm also willing to help pitch in if you'd like, I'm fine to get rid of some of mine
 
@cairdcoinheringaahing I don't have anything better to do with my rep ;P
 
1:55 AM
@Wezl you... You really like using the incorrect casing on purpose, don't you.
 
@lyxal :D yES
 
2:14 AM
@Bubbler you may want to restrict your bounty to "new answerers", cause I post a lot of husk answers
 
Got my library half-working
I'll do more work on it tomorrow
 
7 hours ago, by hyper-neutrino
@pxeger the book of Golf, 69:420 - And then Lyxal said, "Never gonna give you up."
I only just saw that
 
2:34 AM
18
Q: Print the tetration

Oliver Ni Tetration, represented as \${}^ba\$, is repeated exponentiation. For example, \${}^32\$ is \$2^{2^2}\$, which is \$16\$. Given two numbers \$a\$ and \$b\$, print \${}^ba\$. Test cases 1 2 -> 1 2 2 -> 4 5 2 -> 3125 3 3 -> 7625597484987 etc. Scientific notation is acceptable. Remember, this is c...

 
wow
took ya long enough
 
2:45 AM
Feedback welcome: abrudz.github.io/sans
 
@Adám you had me thinking of megalovania for a moment then
 
?
 
 
Due to the icon?
 
due to the path being /sans
 
2:49 AM
^
 
Oh, d'oh.
 
3:01 AM
My golden rule of web-design: If you think you need a database, you probably only need a stateless server. If you think you need a backend, you probably only need a frontend. If you think you need a JavaScript library, you probably only need vanilla JavaScript. If you think you need JavaScript, you probably only need CSS. If you think you need CSS, you probably only need HTML. If you think you need HTML, you probably only need plain-text.
 
I don't like plain-text; it's quite restrictive. The free communication of the hivemind is far faster and allows us to convey much more information and details, especially since we have at least one JSON reader on the network.
but yeah I usually don't like using JS libraries. they usually feel like too much work for something that's not that complex to just do myself; it's not really reinventing the wheel, it's like buying a whole train just to get a wheel
i only really have backends because it takes me like 2 minutes to set up a flask server and that way later if i want to change my statically hosted files to dynamic or add anything it's much easier
 
A benefit of a frontend-only site is that once you load it, you can lose internet connection, and it will still function.
Also, such sites can run straight off GitHub pages.
 
I agree that frontend-only is better, because if you can have your desired functionality with less mess is the background, then you should take advantage of that
 
yeah, TBH i only use a flask server because i'm lazy. static hosting just through nginx would be far better
 
I use flask because I need to run python
 
3:08 AM
Well, if you need a back-end, then yeah. but like my site is entirely static and it's still hosted on a flask server
 
lol nice
 
And online interpreters can be designed to run on the frontend entirely (if you're determined enough to write your own interpreter in JS or Wasm)
 
i could but i'd rather not for most things :p who knows, maybe i'll write my next language in JS just so i can do that
don't need to worry about sandboxing if the code is run by the client themselves!
 
3:14 AM
@Razetime Well, you still deserve the bounty if you solve any hard problem (e.g. Sticky Polyhexes) in Husk. I added a restriction for easy/medium problems
 
3:30 AM
@Adám My golden rule of web-design is that you first find a steady place to build it. Then, you need to make a sturdy Y shape out of web, before you start on the concentric circles. Alternate between the sturdier silk that holds the web together, and the sticky stuff that holds insects on. Too much of the first and you can't catch prey, too much of the second and your web falls apart. Regardless of that, going back to location, it is seriously important to scout out a good spot. (1/2)
I see too many cobwebs walking around, left behind by web developers who didn't think through how much traffic they'd get, and either had to build a new one somewhere else, or starve. Flies like windows if you can find a hooman settlement; make sure to avoid the moving parts. A good balance between safety (achieved by being hidden and out of the way) and proximity to the most flies is required. Resist the temptation to pick a big web site; smaller webs in smart locations are often better. (2/2)
 
@Bubbler neat, I like it
 
Are there any sites where minecraft modding is on topic?
Might actually ask an SO question for the first time in years tomorrow
 
3:48 AM
0
Q: Compute the generalised XOR

xavcThe goal of this challenge is to generalise the bitwise XOR function to other bases. Given two non-negative integers \$ x \$ and \$ y \$, and another integer \$ b \$ such that \$ b \geq 2 \$, write a program/function which computes the generalised XOR, described the following algorithm: First, f...

 
4:03 AM
almost full ascii
but I use the built-in to convert from base to integer, rip
 
Well, Jelly's built-in base conversion has no limits, so no problem :P
 
Your point about little endian base conversion is very true here and I will definitely think about it if I decide to continue language dev
it has to be a 1b otherwise nothing's saved here
i'm not sure if i want to make a usable/ascii language that can be used for golfing but is more for proof of concept, or a stack based golfing language, or a tacit/jelly-like golfing language, or a practical languages
too many ideas, too little time and motivation
 
Stop stealing my entire life
 
sorry, maybe just a restriction to keep the hivemind's power in check
 
:)
 
4:14 AM
Uhh...anyone else see that chat flag?
 
yep
 
I got there late and only saw the last one
Didn't even have time to click for context before it got nuked
 
I guess it was legitimately nuked anyway
 
I missed the (very short) window to validate it because I went to go check context out of habit and ended up wasting too much time scrolling through the whole transcript to decide what to do :P
should've just validated the flag first, it was a no-brainer regardless of context
 
Was there context? Or was it just...that?
 
4:21 AM
It's public logs so I'll just explain. The user entered the room and was sending rather off-topic messages and didn't really get acknowledged, so they started talking about getting banned and asking to be banned, and eventually sent that after everyone just ignored them entirely.
 
0
A: Sandbox for Proposed Challenges

BubblerCounting uniquely solvable polylinks code-golf grid polyomino combinatorics puzzle-solver Related: Counting polystrips Background Link-a-Pix is a puzzle on a rectangular grid, where the objective is to reveal the hidden pixel art by the following rules: Connect two cells with number N with a lin...

 
4:39 AM
THIS is what SO's developers have been working on? No wonder chat's still broken.
 
@Ausername shhh it's very important
 
Confetti?
 
It's not the worst thing they could be working on
It's not actively harmful at least
 
True...
 
4:43 AM
You beat me :/
Stupid spanish putting a after visitar all the time...
 
@hyper-neutrino Sorry, forgot...
 
I've gotten like five questions wrong on Duolingo now becaue of that
 
@hyper-neutrino smh the user's name is literally Code Golf Stack Exchange and it's not on topic
 
Don't you mean Duolinga?
@Razetime You realise they're here...
 
4:45 AM
Only @StackOverflow is here
 
Same user :p
 
Check their code golf profile.
ninjad
 
Alternatively, if you see Code Golf Stack Exchange's profile on SO...
 
@RedwolfPrograms nope
I love the squeezed logos
 
5:00 AM
Sup
 
we were talking about Code Golf Stack Exchange
 
Has new LotM been selected?
 
Yes, it is Red
 
@Wasif Yes, Red/Rebol/Rebmu
 
Then I need to learn that soon
 
5:01 AM
it's sort of like factor but prefix and non-stack based
 
I don't care what color the LotM is, what language?
2
 
Also what is "TrashCan"
 
forth like language
@RedwolfPrograms smh you should care you're literally REDwolf
 
Trashcan is a forth like language lol
 
@Wasif private room that mods move our extremely off topic conversations to
 
5:02 AM
trashcan is the moderator-only room that I throw messages into when I want the public to not be able to follow the message trail there
 
How many times it name will be changed
 
no this is different from The Nineteenth Bakery
 
It was first Indonesian gambling spam and then something else and now trashcan
 
no, trashcan has always been trashcan
our TNB-dedicated trash was only called Indonesian Gambling Spam and then The Nineteenth Bakery
 
5:04 AM
But why bounty on second answer?
I am wondering what reason might be behind this
 
to encourage more than one answer
similar to vyxal
5 answers required, 2 bountied
 
I think Vyxal's got a first-answer bounty too though
+50 for first, +200 on the fifth?
 
I'm worried for Wezl. They have only 1k rep and they're doing LoTM.
 
@hyper-neutrino yep
 
@hyper-neutrino yeah
 
5:07 AM
sorta like an advance payment
 
Anyone want to help in bounty part of Red?
 
Yeah, Wezl's rep is lower than I remembered. If they run low on rep or ask for someone else to do it, I will gladly cover up to 100% of the bounties for this LotM.
1k isn't a lot to be giving away for a whole month, lol
 
Well where can I find good red tutorials?
 
red has many, many tutorials
good place to start
forum.rebol.info if you have red/rebol questions
 
5:33 AM
I asked this on another chat room, so I will ask here.
I don't understand the 5-smooth numbers sequence.
They didn't give a reply.
 
Basically just numbers which are made by mutliplying only 2, 3, and 5
 
If "only", then I think I know what to make.
 
Like 2 ([2]), 10 ([2, 5]), 18 ([2, 3, 3]), or 180 ([2, 2, 3, 3, 5])
 
That's why 14 isn't on the list.
 
n-smooth numbers was posted as a challenge back in 2013
 
5:41 AM
lovely minigame i made cos i was bored
 
That's mean.
 
got a score of 10 on like my 3rd try
 
@EnderShadow8 Meh, too easy. I just keep clicking on b1.
 
hey don't judge i made it in like 10 mins
 
5:46 AM
Arrow keys , r to restart
@EnderShadow8 Ik lol
 
@hyper-neutrino it did
But that was only for lotm
 
@Ausername Doesn't seem to render for me.
 
@Ausername Blank page for me
 
oh do you have a persistent +200 for 5th answer on the deadlineless bounty list?
 
Wait hold on
 
5:48 AM
@hyper-neutrino that's right
 
Sorry was trying to load level 5
Which doesn't exist
 
@Adám I only got a score of 2 thanks to that. Also my 1st try.
 
works now
 
@hyper-neutrino +50 was for lotm. +200 was around before lotm and will continue on for a while yet
 
@EnderShadow8 Math.random()<1/3?rickroll():score.innerHTML++ ― then people can't cheat.
 
5:49 AM
@Ausername nice
 
I have a couple of minigames up here
 
Hello!
I'm wondering about the convention for accepting answers because I noticed challenges even after some time don't tend to accept answers.
 
For code golf it's discouraged
 
Pk good to know
*Ok
 
5:50 AM
@xavc don't accept answers for code golf!!!
It discourages new answers
 
I had deployed from a directory up by accident. It was on there, but in /floofy.
 
thanks, glad I checked
 
@Ausername Just got stuck on a level. Cool game.
 
R to. restart.
 
@Ausername That's actually very nice.
 
5:52 AM
Oh we need to play it with keyboard
I am on mobile
 
Okay.
 
:-(
 
uh.. one of your levels doesn't seem to have the green square
 
@Wasif Sorry no mobile yet
@hyper-neutrino It's a WIP, that's TBC.
 
Ah okay
this is really cool tho
 
5:53 AM
Thx
 
@hyper-neutrino That's level 6, I think.
 
You have to hand-draw the levels, no?
I get some visual artefacts on Firefox.
 
Pretty much, I use a pixel art editor to design, and then type it up as data.
 
If you do it a block at a time, overshoot by a pixel
 
@Adám Yeah, I'm on Firefox too, not sure why that happens..
 
5:55 AM
Same; they seem to go away after I make a move but there are a lot of grid lines before I act and also after a grey block disappears
 
The next block will cover it up
 
Any feedback on abrudz.github.io/sans?
 
I'm not sure what causes it, but I think it's related to either anti-aliasing or fractional offsets of pixels.
 
Thanks, will fix (una momento)
 
If it's the second, which I think it is, you can just manually round to the desired positioning
 
5:58 AM
Fixed now, I think it's anti-aliasing, your overshooting suggestion worked.
 
Getting some weird variation in the movement speed
Are you using setInterval or requestAnimationFrame?
 
SetTimeout
 
That explains it :p
 
Ok will fix
 
I have made the most of 2D deadfish online interpreter: github.com/Detective-Wasif/2D-deadfish/blob/main/index.html
All features like Permalink and submission generator are working
But code is not running
please someone kindly help to fix bugs in it
 
6:02 AM
@Ausername Suggested favicon:
Possibly in a white circle, for proper 2021-ness.
 
@Adám Sick.
 
@Adám Nice, gimme a minute...
 
You may also want to change <title> to SlideGame or somesuch.
 
"Document" doesn't have such a ring to it tbf
 
Fixed that as well.
 
6:06 AM
@Adám I don't tend to pay enough attention when that one friend I have lectures me about FOSS stuff but the "(libre; free as in beer)" bit is sort of confusing--isn't libre "free as in speech" whereas gratis is "free as in beer"?
 
@UnrelatedString yes
 
@UnrelatedString Oops. Yes, of course.
 
I think Adám meant both, maybe?
 
Everything that is free-as-in-speech, is also free-as-in-beer.
 
yeah that was the main possibility I was considering but 1. one tends to follow from the other and 2. mixing the terminology still makes you wonder
(to pxeger)
yeah lol
 
6:08 AM
err how to install REBOL view on ubuntu
does anyone know
 
However, there is such a thing as non-libre and even non-gratis open-source software.
Should be fixed now.
 
@username I can't tell if this level is just not finished, or if I'm missing something, but there seems to be no green square
 
@Ausername Maybe body{background:silver} to avoid confusion?
 
@Adám Ok
17 mins ago, by A username
@hyper-neutrino It's a WIP, that's TBC.
 
ok
 
6:11 AM
You only completed 5 levels. Hoping to see the others soon.
 
Working on it. Also trying to implement some new features like portals/doors.
@Wasif Turns out there was a bug in the interpreter, I broke loops
But it's easy to fix
Popping you a PR.
 
@Adám PT Sans Caption has distinct Il1. It's a "display" font not necessarily suited for long stretches of body text, though. Also worth mentioning a need to keep Il1 distinct from other vertical line characters like pipe |?
 
@pxeger I looked at PT Sans Caption, but it didn't seem to have an Italic.
 
ah; is that a deal-breaker?
 
I'll add something about | although that is a rare need for a proportional font.
@pxeger Yes, look at the 3rd req. This is intended for body text.
 
6:17 AM
also feel like pipe is very commonly taller
 
Yeah, and/or dips down below the line.
That still requires context, though, so…
 
Fixed
 
@Ausername Possibly a better favicon, as it doesn't have sub-pixel oddity, nor does it blend into dark or light tab background:
 
@Adám Thanks!
Done
 
:-)
Yeah, that does look better, imo.
 
6:21 AM
@Wasif There's a PR on yr repo.
 
ok
merged
 
Sorry I should've checked loops worked before giving it to you
in the first place
 
@pxeger Also, no slashed zero.
 
@Ausername But still the output dosen't work
when I click the Run! button the code should change innerHTML of the span tag to the result of the code
but it dosen't
IDK why
oh err it was my fault!!!
sorry I accidentaly typed value instead of innerHTML
And i even forgot to set onClick
Now it works in its full glory
 
The intended use of the output function was to output real-time, here's another PR to add that.
 
6:31 AM
err it says there is conflicts
how to resolve it
I just edited the code to include onClick event after your first PR
 
Just manually fix it
I can't
 
resolved it
 
Ok
It should output. realtime, like for your truth-machine.
BTW the times variable was a very clever approach. Nice idea!
 
@Ausername thanks for the complement
yes merged now
All remaining work is to make the interpreter live
 
I can surge it if you want
Or you can deploy to yr .github.io
 
6:41 AM
@Ausername yes please do it
 
But... It's not merged...
 
ngn
@Ausername have you played atomix? (apt-get install-able on debian)
 
Its live now in 2d-deadfish.netlify.app
 
@ngn No, I just created my game on a whim.
 
@ngn Hi.
 
6:45 AM
@Wasif It's... Not working...
 
ngn
@Adám hello adam
 
Oh no I have completely mixed up things
 
@ngn I specifically thought of you when designing abrudz.github.io/sans ― making sure that a high-contrast mode is available.
 
The interpreter's working fine, the HTML just isn't.
 
@AUsername let's stop it for here now, I will work again later, my head is spinning
 
6:50 AM
Ok
 
@Ausername yes your interpreter is perfect
Faulty is my HTML
 
Anyone care to explain codegolf.stackexchange.com/questions/7/hamming-numbers/466#466? I'm familiar with Python, but I don't understand what's going on.
 
Hi lyxal!
 
Nevermind.
The while-loop confuses me.
 
ngn
@Adám a better reason is to think of all the people who are gonna to read it
 

« first day (3776 days earlier)      last day (1062 days later) »