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

6:05 AM
Hey guys why is my fridge all of a sudden musical? And why is it now Russian too?
 
@lyxal I upgraded it because I felt kinda bad about demolishing your previous one. Sorry about that, that wasn't very polite of me.
4
 
No it's cool
In more ways than one
 
At least it doesn't sing 'O Canada'....
 
ngn
@RedwolfPrograms "zsxdcq2w3e4rt6y7ui9o0p-[]fvgbnjmk,l." - this doesn't look right
shouldn't fvgbnjmk,l. be right after zsxdc?
oh.. that explains it. sorry
 
6:12 AM
 
@hyper-neutrino Plz no
 
The Maple Leaf Forever is way better than our national anthem IMO
i think it used to be the anthem
 
@lyxal For Vyxal, can we have a shuffle functions so no Ṗ℅, which can break everything?
 
one moment
 
6:22 AM
thanks redwolf, now i'm never going to be able to hear SE chat pings normally again
 
@hyper-neutrino hmm that makes me want to get wifi anywhere I go
 
lol wtf did i just witness
 
@hyper-neutrino 21st century humour
 
The 21st century is overrated.
 
@RedwolfPrograms you lied to me
t is A
no wonder everything's been sounding off
 
6:28 AM
Looking at the rate the things change, 21st century is way too broad
We should say 203rd decade instead
 
I dislike that the centuries are 1-indexed
 
It's... off by one in two ways
 
@Bubbler The 0.00000014644927th universe lifetime.
 
6:57 AM
If space and time are the same thing then we can measure time in km
yeah that's why I'm not in physics se
 
ngn
@EnderShadow8 we can, just like we measure distance in "light years"
 
7:56 AM
0
A: Sandbox for Proposed Challenges

tshDetermine Centrosymmetric String code-golf, string, decision-problem We define centrosymmetric string as: First padding spaces to the end of each line to make input a square \$ A_{m×n} \$2. And the input is centrosymmetric string iff you may get the original square if you rotate the square 180deg...

 
8:21 AM
psst mods or ROs... ^ to bakery
 
Very good
 
idea for a bot: a command to vote to move a message to the bakery; if the command gets enough stars, the bot moves the message (and command) automatically and/or wipes it from the starboard
 
9:05 AM
ok, I'm now gonna work on a BUTTERISER 3000 to perform this task
 
@Bubbler Is there a reason we need a separate trash for TNB?
 
Well, I didn't make the trash, it was just there...
 
@Adám Is there a reason we don't?
 
\○/
 
@Adám how else would we keep the bakery-related puns from getting stale?
4
 
9:44 AM
@Ausername that's where you're wrong
 
How?
 
Trying apl on tio is a bit odd
You put stuff in code and it doesn't run
 
Ok...
 
I don't really know how to properly use it
 
@Ausername Not really. The input was never passed to the function.
@lyxal Actually, it is run when put in code.
 
9:47 AM
As lyxal said, APL on TIO is weird.
 
Only that \○/ is a function. You stated a function. APL basically goes "so what?"
 
@Adám I remember now, you need the rectangle glyph to output iirc
 
Yes.
 
Firstly, that's a square, not a rectangle:
Secondly, you should use the Unicode edition. TRANSLATION ERROR means that the glyph isn't in the SBCS.
(I.e. there was an error in translating from TIO's Unicode to APL's SBCS.)
 
@Ausername Yup, that's correct. As you can see, the is pointing at \ because you're trying to call that built-in with one argument (the result of ○/ on the input ) while \ must be given two arguments.
 
Ok cool.
 
 
3 hours later…
1:08 PM
0
Q: error "Hello, World!"

user16076988There is a pair of base - error questions like quine and error quine and I would guess that there would exist some more, but I haven't seen basic error "Hello, World!"... So here it is :) Rules make a full program that writes Hello, world! (this version) on stderr or as error message during comp...

 
I don't feel like this is different enough from STDOUT hello world
error quine is interesting because throwing an error changes the source code so you might not be able to just use standard payload capable quine patterns, and some languages don't do errors that easily
 
0
Q: KotH - Create a program-fighting program!

4D4850KotH - Create a a program-fighting program! Challenge will be done on TBD Background You are a programmer who has been requested to create a self replicating program that wipes out other self-rep programs. However, you need to have your self-replicating program fight others to see how it does in ...

 
Consider all lists that sum to n with only 1 or 2 in them.
 
CMC: 1->15,17 2->16,18 4->19,21,22 6->20,23,24 8->25,27 9->26 Other single digits should return an empty list. Bonus brownie points for working out what the sequence is and extending it
 
CMC Output all such lists for a given positive integer n
 
@ngn nice. In K?
 
ngn
yes
 
Is the code recursive?
 
ngn
yes
 
I can't read it at all
What can you do in python?
 
ngn
1:24 PM
because you haven't learned the language
 
@ngn yes :)
 
ngn
@Anush in python - the same but a lot more verbose
 
I would love to see it, or an English version I can translate to python
"As a result, K expressions can be opaque and difficult to parse for humans" It's not just me! :)
Looks like we should all be using Q
 
@NewPosts no controller
@NewPosts also sort of asks for malware
 
1:52 PM
@NewPosts Aww, I was just about to answer
17 bytes in Jelly, using the UTF-8 encoding: tio.run/##ASQA2/9qZWxsef//w74Dw7PDt8OxCsOEPHLDkgLClsOgwrvDuxNW//… Doesn't work on TIO, as it uses the u flag, and this shouldn't
 
2:28 PM
@cairdcoinheringaahing fixed
 
2:47 PM
Wait, can you change how flags got handled?
 
In the mod pop-up there's an option to delete all of the red flags on a post which disputes them all even if they were previously declined, lol.
 
3:07 PM
@Anush Jelly (fork), 7 bytes: ؽṗⱮẎSƘ (Ƙ is a replacement for =¥Ƈ in my fork)
 
that's a useful alias
 
0
A: Sandbox for Proposed Challenges

Maanas BCreate a line given length. code-golf ascii-art Info Create a diagonal line given its length (lets call the variable say \$n\$) The diagonal line starts from top left and goes to bottom right. You must use the ascii character \. The input number is given from the STDIN. Here is an example program...

 
feels like a dupe
 
It;s definitely a dupe of a JHT exercise
 
lol yeah
 
3:16 PM
There's this, but I'd say they're different enough
 
Ah. yeah, I think that's different enough
 
3:30 PM
do we have a challenge that's something along the lines of "solve a system of boolean algebra statements", so if i say "a & b" then you can solve a = T, b = T, and if i say "(a | b) & !a" then you can solve a = F, b = T?
i want to repcap so i won't have time to properly sandbox something. maybe this challenge is too complex to direct post
 
If it requires "nested" expressions, such as with parentheses, it's definitely too complex to direct post
 
it's been over a week since i've gotten more than 50 rep in a day
i've been primarily active in chat lately :p
 
You are the monthly rep leader :P
But this month has definitely been slow rep-wise. I think I got ~4k in April, and I was #1
 
i want to animate a scatter plot of rep / rep gain maybe like daily or weekly
that sounds rather expensive on API calls though
 
@cairdcoinheringaahing I was 50 rep away from 5k last month, and Arnauld (#2) got 300 more in April than HN has in May
So this month has definitely been slower
@hyper-neutrino The leagues have weekly, monthly, quarterly and yearly records back to site creation
 
3:41 PM
oh, nice :D
 
I hate the FGITW effect. I got 10 upvotes on a trivial answer just because I was the first :/
 
    **CMP:** good name for this shape
#                  #
  #      ##      #
 #  #          #  #
      # #  # #
  #     #  #     #
       # ## #
   #   #    #   #
     ##      ##
   ##          ##
 #   #        #   #
 #   #        #   #
   ##          ##
     ##      ##
   #   #    #   #
       # ## #
  #     #  #     #
      # #  # #
 #  #          #  #
  #      ##      #
#                  #
 
Butterfly
 
ironically in Charcoal you wouldn't use ReflectButterfly to draw that
 
Wait, what happened here?
@Neil What would you use?
 
3:57 PM
just ReflectCopy I'm afraid
 
thinking of posting it as a challenge, yay or nay
(mostly just because I discovered a fairly ok way of doing it in APL :P)
 
ReflectButterfly keeps the central axis of reflection, plus it also does extra work for reflectable characters, of which there are none
 
I'd recommend posting it as a challenge instead of as a yay or a nay
idk how you post something as a yay anyway
@Neil Oh cool (or not cool here, I guess)
 
@user pppery found a dupe target that we all somehow missed while it was sandboxed
 
although, the diagonal would need ReflectOverlap, which is almost as good
 
3:58 PM
@hyper-neutrino Oh lol
 
cure for hiccups: let a cat jump on your stomach with their claws out
 
@rak1507 proven to work after 30 minutes :D
 
@Wezl doesn't seem like a particularly good method
@Neil my challenge would take the size as an argument
 
size of what?
 
4:10 PM
the grid length, 10 would be
#        #
  # ## #
 #  ##  #
   #  #
 ##    ##
 ##    ##
   #  #
 #  ##  #
  # ## #
#        #
 
oh, I hadn't twigged as to how it was drawn, sorry
 
np lol I'll probably sandbox it before I post it if I do
 
... which also represents a 4-byte saving on the fixed input version...
 
@hyper-neutrino Oh, sorry about that. I know nothing next to nothing about music, changing the offset from 12 to some nearby number will fix it
 
4:18 PM
However many octave-twelfth-thingies A is from C
 
semitones?
 
Yeah those
 
tbf i don't actually know what key the soviet anthem is in anyway, so it's fine
 
@Neil nice one
 
Mary Had a Little Lamb sounded fine to me, so I assumed it worked :p
That's all I can do without googling it lol
 
4:19 PM
@Neil ah, it's doubled, my original worked for odd numbers too so 15 is
#      #      #
  #         #
 #  # # # #  #
      # #
  #  ## ##  #
    #     #
  ###     ###
#             #
  ###     ###
    #     #
  #  ## ##  #
      # #
 #  # # # #  #
  #         #
#      #      #
 
@hyper-neutrino Bah, we call 'em half-steps here in 'Murica
 
well mary had a little lamb would probably sound fine in any key :p there are very few songs that'll sound wrong to me off-key
i don't have perfect pitch :(
 
Practice your baseball more, then
 
Dang it, I was about to make a baseball joke
@NewPosts Maybe we should add a tag warning for KotH, with a link to the tag wiki.
 
@Adám moving messages to the normal trash will invite everyone who had messages moved to trash, which can be annoying
 
4:22 PM
ninja'd?
 
our room's trash is only accessible to our room owners (and of course mods) so will only invite those people to the room
 
7 hours later?
 
Wow, that's quite the coincidence lol
 
some interference must have happened with the hivemind's synchronization
must be whatever lyxal was doing...
 
4:23 PM
We need to hire a hivemind tuner
 
TNB room topic: general discussion for CGCC
 
I'm up for it. How much will I be paid?
 
also TNB starboard: soviet anthem with pings, bakery-related puns, me destroying lyxal's fridge, the hivemind, chat ping noises
5
@user how much was Tim paid again?
 
@hyper-neutrino About 200 USD an hour, I believe
 
i think caird proposed reducing his pay to 2 waffles a week since redwolf's bots have replaced most of his job
 
4:25 PM
Yes, but I'm not posting posts as Tim did, I'm tuning the hivemind
 
@hyper-neutrino I don't think mhall has a definitive key it's "supposed" to be in
 
That requires tremendous skill, which I just happen to have
 
Okay, we'll pay you with one stale waffle
 
@DJMcMayhem yeah, me neither. it's probably mostly just in whatever key is most convenient because it's probably mostly played by people learning a new instrument :P
 
@RedwolfPrograms I'm going on strike, then
 
4:27 PM
We never hired you in the first place though :p
 
does user have enough compuational power to tune the hivemind even? or would we need to upgrade their model
 
I think we should directly wire user into an HVDC power line. I hear overvolting things makes them more powerful.
 
May 19 at 20:24, by user
@hyper-neutrino It's okay if my mortal form is damaged as long as I get to wield even a portion of that power for just a few seconds
 
That's not what I meant!
 
@hyper-neutrino why does this sound like you're plucking my neurons
it startles me every note
 
4:36 PM
@Wezl you are part of the hivemind right?
 
@hyper-neutrino I have no choice
apparently waseals are not exempt
this is why I turned off sound notifications
 
that would probably explain it; I think SE chat ping sounds are special-cased by the hivemind's input handler
 
but don't get me wrong the song is still beautiful :P
 
it's either to optimize speed of responding to chat or because redwolf has ping sound on for every message so a special functionality has evolved out of that
hence probably why the song directly plucks your neurons :p
 
Also, the hivemind has started offering a new Plus Tier: If you donate 100% of your brainpower to the hivemind during your sleep (for at least 6hrs per day), you can receive boosts of up to 35% during daily activities.
 
4:41 PM
at least 6h a day? damn, i don't sleep for long enough to get this benefit then
 
I've invented a new standard unit: B%/h
 
@hyper-neutrino I clicked this, started playing it, then heard the first ping and went "Oh, who's pinging me?" :P
 
0
Q: Tips for golfing an arbitrary precision fibonacci sequence generator

Kamila SzewczykOne day in July 2020, I made the following C program: #define A m] a[9999],*m=a;main(){for(2[A=4[A=1;;){for(;4[A;putchar(6[m-=3]+48)); for(puts(a);7[A;2[A=4[A,4[A=1)if(4[A+=3[m+=3]-1,9<(3[A=2[A+=3[A))++ 5[A,7[A=1,3[A-=10;}} with three superfluous newlines removed, it's 167 bytes and it prints th...

 
^^
 
@cairdcoinheringaahing same
i ran the script, pressed T, and then immediately alt-tabbed back over to chat
 
4:44 PM
Every human has exactly 2400 B%/hs per day. Our Plus Tier allows you to gain more brainpower than you contribute, meaning you can have up to 4000 B%/h
 
@RedwolfPrograms how is that possible though? where does the network obtain that extra power
 
@hyper-neutrino Testing the pingano was even more painful, since it was always exactly the same sound until I got the pitch changing working
 
@hyper-neutrino People who use the basic tier
They contribute some of their brainpower when they don't need it, in exchange for receiving a fraction of that as a boost when they actually want it
 
@RedwolfPrograms "Every human"< Glad you got that right ;P
 
4:47 PM
ah, I see - so it's kind of like a reserve system?
 
That is one of the features, yes
 
well I don't use my brain as y'all can see from my chat activity so I can contribute to the network continuously :p
 
Our other services include instant communication, and our very popular Hivemind Drive
 
what language does the hivemind run on
 
SQL
We use JS for the backend though
SQL with react is our frontend stack
 
4:50 PM
cursed. i am disconnecting myself /s
 
you are missing 5s, 6s, and 6s plus
 
@cairdcoinheringaahing thx
 
4:59 PM
fixing that brings you to +2
 
though I am shorter
 
though with caird and redwolf's golfs you get to -3
 
127 bytes if you can have a leading blank line (@RedwolfPrograms ?)
 
aha still I am 8 bytes shorter thanks to @caird and @redwolf!
 
No leading newlines allowed
> Output should be printed exactly as specified, though trailing newlines are allowed (as well as additional whitespace at the end of each line).
 
5:02 PM
Boo :P
 
Go boo 2020 Redwolf, I'm just quoting the challenge :p
 
ok after fixing the leading newline I am still 3 bytes shorter
which is at least an achievement for a JS noob like me
The scenario was after everyone saw a super complex answer of Arnuald none dared to try a trivial one :P
 
It's not a very good kolmo challenge honestly, the trivial solutions tend to win :/
 
other than list + join by iPhone there isn't much compression that can be done
 
Smasung phones might've been a bit more interesting
 
5:05 PM
even the numbers don't offer much of a solution due to irregularity
 
yeah Samsung list is much more longer
 
5:31 PM
do we have a challenge "given a list of numbers, partition into equal-sum groups, maximizing partition count"?
 
@RedwolfPrograms May I opt in to this?
I don't much like my dreams anyway
 
Sure. Can I see your hivemind loyalty card?
We also accept gift cards
 
How dare you question my loyalty
 
We've had incidents with potential impostors or compromised units lately. Don't take it personally.
 
 
5:34 PM
You also earn hivemind miles with your loyalty card
 
Oh wow, Paint really doesn't mess around with cropping
 
Okay, I've signed you up for Plus. Would you like to add a drink with that?
 
Sure, I'd like a lager
 
Would pepsi be fine?
 
Do you have id?
 
5:36 PM
@cairdcoinheringaahing See below
 
I see. You can use this tracker to determine when your order is ready.
 
Also, I would recommend elevating me to the Doublepluspremium Tier. That way, I'd be able to draw on 50% of the brainpower of the lesser 50% of the hivemind and keep the hivemind in tune without having to electrocute myself.
@RedwolfPrograms My order's ready, where's my coke?
 
@RedwolfPrograms is that the 2020 election countdown lol
 
No, mod election :p
 
(i meant that)
(forgot about the american election that same year)
 
5:40 PM
(Wish I could)
 
(why (using you 'lisp))
 
(< (time-to-read 'lisp) (time-to-read 'english))
 
(doubt)
 
(= (bad? 'english) true)
 
5:42 PM
(agree user)
(> (number-of-parens-in 'lisp) ordinary-human-paren-threshold)
(superior-to 'infix 'prefix)
 
lisp but infix
the middle item in (a b ... y z) is the function
and everything else is arguments
 
NONONO THAT'S NOT WHAT I MEANT
Honestly, I think the way everything looks the same in Lisp is really cool, but those parentheses are just really annoying
 
agreed. i propose using multi-lining
 
It doesn't help that Dr. Racket doesn't automatically add a closing parens :(
 
instead of (+ (* 1 2) (/ 3 (- 4 5)))
it's much clearer to do
+
  *     /
    1 2   3 -
              4 5
 
5:48 PM
For math, I'd prefer to suck it up and use a macro like (infix-stuff 1 * 2 + 3 / (4 - 5)) instead
@hyper-neutrino Wait what
 
My brain parser does not like that
@hyper-neutrino Thanks for closing my :( from before
 
understandable; i don't think the hivemind parser supports that yet so it may take longer
 
We're not TC unfortunately :((((
One day, we'll spawn an infinite number of offspring, and then we can truly achieve Turing Completeness!
That sounded less weird in my head
 
0
A: Sandbox for Proposed Challenges

hyper-neutrinoBuild me a fence code-golf array-manipulation Background I have a bunch of panels. Unfortunately, they're not all the same height, and obviously, you want a fence to be a consistent height. Fortunately, I can join multiple panels together vertically. Given this, can you help me build the longest ...

 
5:57 PM
@user A language with :( and :) as some sort of parentheses would actually be really cool
Or maybe (: and :)
 
@SandboxPosts can i get some feedback on this? i intend to post today if possible. i am 99% sure it's clear but i mostly want to dupe check it
 
The title and backstory seems a bit unrealted to the challenge itself
 
@hyper-neutrino Why not keep it around for longer? The Sandbox isnt' active enough that you'll necessarily get enough feedback within a day
 
HN wants to repcap :P
 
6:02 PM
Time for some voter fraud (ignore me, mods)
 
@RedwolfPrograms it is just flavortext based on the source of inspiration lol
but tbh this is a simple enough standard problem to just not have flavortext for
 
@SandboxPosts 12 byte, \$O(2^{n!})\$ solution (\$n\$ is the number of elements) in Jelly :P
@SandboxPosts I'd suggest requiring sublists to have more than one element, otherwise the id function works
 
@cairdcoinheringaahing how so
you need maximal number of sublists
 
Oh, I thought it was just any partition where the sums are equal. In which case, I'd suggest adding a test case where the singleton partition is the answer ([2,4,5] -> [[2,4,5]])
 
ah, good idea
oh yeah i forgot id was even valid, in which case assume a solution exists is totally unneeded lmao
fixed some parts of the spec
 
6:17 PM
0
Q: Pickleball Doubles Scoring

Ross MillikanPickleball doubles is a game where only the serving side can score. The server calls the score as a triple of numbers, the serving side's score, the receiving side's score, and \$1\$ or \$2\$ to indicate whether the server is the first or second of their side to serve. If the server's side wins...

 
6:45 PM
Wow, someone on MM just nuked a spam post 17 seconds after posting O.o
 
nice
@cairdcoinheringaahing i nuked this in 15 seconds, beating Smoke Detector's chat message :P
 
Careful with the nuking, you might start an international incident
 
@hyper-neutrino I'd suggest changing the test case generator to generate lengths between 2 and 8, which is generally what TIO can handle for permutations
If the length is 10, it'll just not work most of the time
Other than that, it looks good. I'd mention that it's code golf tho :P
 
ah, yeah, 10 was a bit ambitious. given my solution is N! :P
@cairdcoinheringaahing oops :p yeah good point, thanks
May I suggest limiting to digits 1-9 to allow interesting trickery? — pxeger 33 secs ago
thoughts? i think it's probably fine to allow this so like
regex solutions can exist or smth
 
It limits the maximum sum to 9n (with n elements), but I don't see any obvious issues
 

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