« first day (3959 days earlier)      last day (870 days later) » 

4:09 AM
Who approved a golfing suggestion edit??
 
uh oh
 
Oh :/
I guess the one who suggested the golf didn't have comment privilege, so it's one more thing that SE hinders our site culture for newcomers
 
0
Q: Temporally Dither an Image (Image to PWM Image)

ATacoBackground I want to display rich, vibrant images on my theoretical fancy custom display, but due to budget constraints, it displays everything in 3-bit colour! Whilst Regular Dithering would work, I don't want to sacrifice resolution, so I would like my images to be dithered through time! Specs ...

 
4:44 AM
@lyxal I'm so bummed that I missed this conversation X^D
 
@DLosc lol
 
 
@NewPosts this is a really cool challenge, i like that a lot
 
5:21 AM
@Bubbler that's exactly what happened, sorry :(
 
No problem
and welcome to CGCC and our chat :)
 
thanks :)
 
We recommend writing some answers on your own, to get the hang of the site culture and challenge style, and to get some basic privileges
 
5:46 AM
i made my first userscript
 
What does it do?
 
@RedwolfPrograms change the monospace font on adventofcode.com
 
Lol, I was working on a userscript for changing the appearance a bit as well
To Roboto Mono, smaller, and with higher contrast
Not using it yet though
 
 
1 hour later…
6:58 AM
youtube.com/watch?v=eMvXR3xFKSU I love how everyone starts cheering when the fox enters the endzone, as if it got a touchdown
 
 
1 hour later…
8:25 AM
wait, that's not what I thought it was :(
much less exciting
 
@pxeger what did you think it was
 
Maybe a new kind of string literals in addition to "" f"" r"" etc
 
what'ask questions and you get results from stackoverflow!'
 
@pxeger probably same here
I was expecting something like "${...}" syntax
 
print(what'how do i add all elements of a list in python') -> sum(<list>)
 
 
1 hour later…
9:58 AM
When you mistake philosophy for politics
o////
 
10:30 AM
@AlanBagel The Jas One?
@lyxal Charcoal, 6 bytes: I⁻…·⌈θ
@Adám surely almost anything can be made to be compatible with a duck, it just has to be made to walk and talk like one
5
 
hi
 
10:58 AM
👋
 
gaming
 
11:53 AM
@PyGamer0 print(what"create a golfing language") => 4394235834 lines of code
@Neil :( nope
 
12:14 PM
how often are heterogeneous arrays used in cgcc answers?
 
12:30 PM
@PyGamer0 not too often
 
12:55 PM
:59756087 I still got chat pinged for that, and now I don't know what it said, except for the ping, which said ATaco: csharp public static class DuckHelper{ public string Quack(this int j){return "QU...
 
 
1 hour later…
2:00 PM
unfreeze
 
simon didnt say
i like the aicmcs, was there a site to generate them or do people just have em set up locally
 
@cairdcoinheringaahing Can't re-pin.
 
@thejonymyster I'm not sure what Fmbalbuena is using, but Lyxal generates them with GPT-3
 
ah i see
 
g'morning all
 
2:10 PM
@Mayube good morning
 
the volume of a pizza with radius z and height a is pizza
7
@cairdcoinheringaahing you might need to 11 one of the nearby messages and pin that
 
CMQ in Python, what is the golfiest way to find the number of minutes from start to end of the day given a string such as '9:45-18:00' ?
 
uh guys a tried creating a japt room but i accidently put it in a StackOverflow one so how do i delete it
 
@AlanBagel simple: you dont
or you can always call SO MODS
 
@PyGamer0 oh well i'll just create one for codegolf stackexchjange
done
*stackexchange
how to invite
 
2:23 PM
@AlanBagel just copy the link and paste here
 
@Anush a,b,c,d=eval(input().translate({58:44,45:44}));return(a-c)*60+b-d
 

 Japt Lair

Japt golfers
 
@Anush Use Py'n'APL to do it in APL ;-)
 
@pxeger where is translate from?
start, end = [datetime.datetime.strptime(s, "%H:%M") for s in "9:45-18:00".split("-")]; print((end-start).total_seconds() / 60)
is my terrible effort
 
@Anush it's a standard method on str
 
2:25 PM
@Adám Pineapple for puns?
 
@pxeger where did {58:44,45:44} come from?
 
@pxeger cool
 
@Anush it maps char codes 58 and 45 (which are : and -) to char code 44 (which is ,)
 
nice!
I am not sure how to use eval(input()...) Say the input is in a string called hours
what would it be then?
 
2:26 PM
@PyGamer0 Of course. Nothing less would do it. 🍍=🐍+🍎
 
pineapple = pine + apple
 
@AlanBagel nah Pineapple = snake + apple
so py'n'bqn is pinnacle
 
or pinbacon
 
Fun fact: There's actually a pine in APL:
 
2:28 PM
@Adám what does it do?
 
@Anush just replace input() with hours
 
∧○⊂: advent of code
 
a,b,c,d=eval("9:45-18:00".translate({58:44,45:44}))
print((a-c)*60+b-d) return a negative number!
 
anyone excited for AoCG?
 
@Anush ah, I put the subtraction the wrong way round
 
2:29 PM
@Mayube It returns the list of indices that, when used to permute the input, would sort it.
 
just do c,d,a,b= at the start instead
 
@AlanBagel Not really
 
@AlanBagel me, if i am able to get my brain working that is
 
@pxeger 585 minutes it is
very impressive
but wrong maybe
shouldn't it be 495 minutes?
 
@pxeger it's a shame you can't just replace : with *60+ and then eval; I wonder if there's a golfy way around that
@Anush I get 495
 
2:33 PM
ah yes.. bug was on my side
thanks
 
Python clearly needs APL's
 
@Adám what does dat do
 
@pxeger Nah, we were using that message cause it didn't need to stay pinned once BMG finished
 
oh yeah of course
why did you want Catja to pin it then?
 
@AlanBagel Evaluates in mixed-radix.
 
2:34 PM
@Adám wat
 
@Adám Surely then you'd also want
 
@pxeger Because if there was anyone who'd be able to repin after unpinning, it'd be SE staff, and Catija's the member of staff who's in here the most :P
 
just as an experiment?
 
fair enough lol
 
2:35 PM
I'll be pinging the CEO now and asking him to try :P
 
@cairdcoinheringaahing whos the CEO
 
@cairdcoinheringaahing yeah
 
@cairdcoinheringaahing I nearly died of cringe reading his SE bio lol
 
> Stackers
Is this our demonym?
 
2:39 PM
 
@RedwolfPrograms I personally reject it, if it is
 
Ok, Stacker
 
@pxeger From what I remember other people saying, he's got a reputation as a "marketing forward" kinda CEO, so his bio and the stuff he posts is literally all pitch
Which, given that he was likely brought in as CEO for the sale to Prosus, makes sense, but it still feels off
 
@cairdcoinheringaahing I think I have more access than he does.
 
Yeah, he doesn't appear to have any diamonds
 
2:42 PM
CMs and Devs also have special access in addition to the access diamonds or staff status grants.
 
@cairdcoinheringaahing Should this be unpinned now?
 
@tjjfvi Now that HN has a weeb profile picture, sure :P
My demands have been met, I'm happy :P
 
any japt golfers here?
 
Idea: Pet cat delivery service. You submit an order, and cute cats show up at your door.
@AlanBagel Shaggy, although I haven't seen him here in a few weeks
 
@RedwolfPrograms No, no, it should a red wolf that can program
 
2:45 PM
@RedwolfPrograms are we talking mail-order pets or rent-a-pet?
 
Why not both?
 
The cats are contracted out
It saves us money over considering them full time workers
 
Do they get benefits? Are they unionized?
 
@RedwolfPrograms I said it should be a red wolf that can program
 
About time we addressed feline unemployment numbers
 
2:46 PM
@Mayube No, of course not
 
@Mayube They get pets
 
Lazy freeloaders, the lot of them
 
@RedwolfPrograms That would hurt our profits
 
@Mayube I believe so, as they are neither positively nor negatively charged
 
Any time a cat's starting to act a bit suspicious, they mysteriously get found with a kilo of catnip.
 
2:48 PM
@RedwolfPrograms ok
@RedwolfPrograms what can we order
 
You can edit your messages
 
@cairdcoinheringaahing oh thanks i forgot
done
 
@AlanBagel Right now, for $20/hour you can contract out to a cat. If you live in a rural area, there's an $80 parachute fee
 
I stand with the cats. I advocate for cat workers' rights
 
Some of our cats also do your taxes
For an extra $2/hour, of course
 
2:50 PM
@RedwolfPrograms can they do your hm for you
 
It's so cheap because people realized the cats don't know how to do taxes
 
@Mayube Cats deserve equal rights! Cats are people too!
 
Cat's sufferage ammendment when
 
My Little Pony is on-topic on SciFi.SE, which leads to some great questions. Such as Is My Little Pony: Friendship Is Magic canon with Star Trek?
 
cat sufferage rights approved in 2025
twenthith amebndment
 
2:52 PM
Wasn't that prohibition?
 
oh yeah i forgot
how about 4738736543756357852th
 
27th amendment would be cat suffrage I believe
 
Nope, 28th. I was close
 
@cairdcoinheringaahing yeah you were close
 
2:55 PM
> The 1st Congress submitted the amendment to the states for ratification on September 25, 1789. [...] The amendment eventually became part of the United States Constitution, effective May 5, 1992, completing a record-setting ratification period of 202 years, 7 months, and 10 days
wow
 
Yeah, I'm kinda annoyed I got the numbers wrong, cause I really like the story and history behind the 27th :P
 
The US government definitely works correctly mhm very fast laws yes yes
 
Tbf, this time it was the fault of the states, not the federal government
 
Both y'all and the Tavern are talking about cats and it's weird.
 
im running out of stuff to say
@Catija wat
 
2:58 PM
@Catija Well, JG does hate them for some reason
 
@caird whos JG
 
He doesn't, not really. He even feeds some of his neighborhood cats.
 
It's basically MSE's version of TNB
 
3:00 PM
@cairdcoinheringaahing ok thanks
 
Although, whenever I check the Tavern's starboard, I always get reminded how quickly we refresh ours here
They've still got stuff on their board from Nov 2nd
 
wow
 
Meanwhile, y'all don't have anything more than 15 hours old.
 
Waking up to see what's new on the starboard is the only reason I get out of bed in the morning
 
We do love posting out of context nonsense. We also love starring out of context nonsense. This is not a good combination :P
 
3:04 PM
CMC: Split a string into factorial sized chunks
 
Isn't that just split into characters, as 1! = 1?
 
@cairdcoinheringaahing maybe the nth chunk should be n! characters?
 
first split 1!, second 2!, third 3!, and so on
when is BMG
i forgot
 
~15 hours ago, so the next one is in 2 weeks
 
ugh im late
 
3:08 PM
@AlanBagel Can we assume that the string's length will always be a sum of factorials?
 
@cairdcoinheringaahing ok
 
f=(x,n=1)=>0 in x?[x.splice(0,(g=x=>x?x*g(x-1):1)(n)),...f(x,n+1)]:[]
Can definitely be golfed but I'm busy lol
Horrible idea: Google Docs (or any other collaborative editor), but when you copy and paste something it's copy-by-reference so editing the copy will edit the original text you copied
5
 
Exhibit A for why Redwolf does not develop collaborative editor software
 
3:18 PM
The worst part is when you accidentally paste the copy into the original and cause an infinite cycle
 
@tjjfvi if it detects a cyclic reference it just wipes the document
a document panic, if you will
 
@RedwolfPrograms But the inverse would be kinda cool... though could lead to issues - essentially, if I update the primary source, which is quoted, having that quote keep pace with the primary so that I don't have to find every quote and update it.
 
Something something halting problem
 
@tjjfvi Oh no that implies copy and pasting would be turing complete
 
uh guys how to print 1-100 in japt
oh nvm figured it out
just use ò
 
3:33 PM
Why was this VTC'd?
 
I agree it should be closed as a dupe, which Aaron's vote was for
 
I can see some things that maybe need clarification, but noone seems to have actually given any specification on what was wrong with it
I don't think it's a dupe, because 10 bytes is a lot harder than 100 bytes
 
If it takes longer than an hour to run on the fastest computer in the world, it's invalid. is a bit of a problem, but not necessarily a VTC worthy problem
 
> The program must actually succeed in the output. If it takes longer than an hour to run on the fastest computer in the world, it's invalid.
 
> Your program must calculate a single number and print it. You can not print a string, nor can you print the same digit thousands of times.
That's unobservable
 
3:37 PM
> You may use any features of your language, except built-in exponentiation functions.
Similarly, you may not use scientific notation to enter a number. (Thus, no 9e+99.)
This is difficult to judge in some cases. E.g., would Ash's 10 ** x count?
 
@cairdcoinheringaahing Imma be honest, I don't even remember voting on that lol
 
null's comment sums it up well imo
arbitrary Do X Without Y (banning exp), feature assumption (number), subjective validity criteria (an hour on any computer), subjective scoring criteria (the print rule).
 
all of these are good points but I don't think it's been made clear enough to the OP why it's unclear. (not that they appear to be active any more, though)
 
> Last seen more than 5 years ago
 
3:40 PM
indeed
b[0] can just be b, because you can format a string with a tuple — pxeger Nov 25 at 9:51
may I interest anyone in a -3 byte golf?
hyper-neutrino failed to claim it in time, so I'm putting it up for auction
You can use it on any other challenge
 
I'll pay one brownie point for exclusive rights to use that golf :P
 
Have you seen the brownie economy lately? One point is worth basically nothing!
 
Concept: NFTs but they're golfs instead of pictures
 
24 mins ago, by caird coinheringaahing
Exhibit A for why Redwolf does not develop collaborative editor software
s/Redwolf/caird/; s/collaborative editor/cryptocurrency/
 
I'll pay 3 bitcoin for exclusive rights to use the Ṃ,ṀƊ -> Ṣ.ị golf in Jelly :P
 
3:46 PM
@cairdcoinheringaahing that's like $400,000!
Oh wait no it's $3 now
 
That might be the biggest drop in bitcoin's history :P
 
I'm more of an ethereum guy personally
 
If we're being honest, I'm more of a pounds and pennies person :P
 
@cairdcoinheringaahing ah, that's why I don't remember, I assumed it was recent (i.e. in the last couple days)
 
@cairdcoinheringaahing I worked out what the second one did first, and thought "that's a pretty obvious way to do it", but then I worked out what the first one did and remembered Jelly uses 1-indexing: that's pretty dang smart tbh
 
3:56 PM
@cairdcoinheringaahing I mean yes, when it comes to currency I exclusively use CAD, but when specifically talking about cryptocurrency, I prefer Ethereum over Bitcoin
 
@AlanBagel Here's an unfortunate thing: the notification in my inbox that I got from your answer shows me the first draft of your answer, which included the language. For fairness' sake I won't "crack" it :P
 
@cairdcoinheringaahing Whew! Thank you.
 
I did not see said first draft, but I do know what language it is, so I will crack it :P
 
@Mayube oh no!
welp
 
CMQ: can i post another tips question? (How to shorten the python code? II)
 
4:06 PM
@Fmbalbuena Yeah I guess
 
@AlanBagel OK
 
@Fmbalbuena what does that mean
 
@Fmbalbuena you can ping specific people; in this case, since Mayube mentioned that they'll crack (something) it makes sense for Alan to ping them about the CnR they want Mayube to try
the reason people keep saying that to you is because you keep pinging arbitrary people for literally no reason
 
@AlanBagel I don't know the language. I imagine it's either a language where 1-100p prints a range, or a language where everything that isn't in " is ignored, and everything in " is printed :P
 
I changed to previous avatar.
 
4:13 PM
I have unintentionally invented a new java method: susstring
Pretty sus
 
@RedwolfPrograms what i't does?
 
@RedwolfPrograms lolololololol
 
Does iy just return the string unchanged because all java strings are sus?
 
@RedwolfPrograms does it just replace all characters with ?
 
@Mayube yeah
 
4:15 PM
@RedwolfPrograms This actually sounds cery cool
I find auto updating grapgs and tables from google sheets very useful
*very cool
 
@rues did you just edit a edit
 
😎
 
@rues did you just emoji a edited edit to a edited horribly edited edit feature that makes copy paste turning complete?
 
Wut 🤔
 
4:19 PM
> return a > b ? a > c ? a : b > c ? b : c : b > c ? b : c > a ? c : a;
 
@Fmbalbuena yes (advice may be incorrect due to caching)
@RedwolfPrograms that looks like perl, but worse.
 
@RedwolfPrograms max?
 
Where’s it from? Can’t you do Math.max twice?
 
@rues how
 
4:20 PM
@AlanBagel use the arrow at the right of the message for reply.
 
@RedwolfPrograms like this?
 
@rues I'm too lazy for capital letters lol
 
Bruh
Use Scala so you can do math.max instead, or even better a max b max c infix style
 
RSNBATML: (max from math) a (max from math) b c
Wait are strings not iterable in java
Or is for (char c : str) just not the right way to do it
 
i need to change pfp, @hyper-neutrino
 
4:27 PM
No you need str.toCharArray :(
 
(due to caching)
 
@RedwolfPrograms (in Scala you could do for (c <- str) tho)
 
19 hours ago, by tjjfvi
Then for your chat user I found reassociating it with codegolf worked
 
@RedwolfPrograms Which lang is this?
 
RSNBATML
 
4:30 PM
@rues Scala
 
@RedwolfPrograms Tinylisp
 
@rues lol
 
What’s rnsbatml lol
@AlanBagel ???
 
Not going to trll you
 
4:30 PM
😢
 
@rues dang, wrong person
@Fmbalbuena lol
this should work
 
@RedwolfPrograms I'm glad you're not going to troll us
 
i have Add++ pfp but don't change
 
waves and greets TNB
 
@Fmbalbuena Go to your chat profile, select a new parent user, and choose your CGCC account again.
 
4:33 PM
@ThomasWard \o
 
@DLosc Done
 
@DLosc that doesn't always force a resync
... but diamonds can do that so I forced a resync from their CGCC parent account
 
It's worked for me so far ¯\_(ツ)_/¯
 
shrugs when a diamond is around easier to just ask for a resync of their chat account. at least when i'm lurking ;)
 
@Adám 🐍+🍎 immediately made me think of Genesis 3, which had me confused about what 🍍 might represent. :P
 
4:36 PM
cos x - sin x = [some quadratic] doesn't look very fun to solve
 
guys how to invite someone to a chatroom
 
@AlanBagel just click the pfp of other
 
Click on their chat profile, there's an option for it
 
@RedwolfPrograms oh thank you
 
and tap invite this user...
 
4:38 PM
lets give it a try
 
@AlanBagel Become an RO of TNB, then transfer one of the user's messages to the room you want to invite them to.
 
@RedwolfPrograms cos x - sin x can be rewritten as (√2)*cos(x+pi/4)
does that help?
 
Probably. Is that one of the identities and I just forgot about it?
 
if you write cos x - sin x = Acos(x+B) you can solve for A and B by comparing coefficients
 
cos x - sin x can be rewritten as ∆c?∆s-
does that help?
 
4:41 PM
because cos(x+B)=(cos(x))^2-^sin(B))^2
 
I feel like I'm probably not supposed to actually solve this
 
@AaroneousMiller Also, the change in c per unit of change in s can be written as ∆c/∆s :P
 
that seems likely
 
I'm just going to assume it's a calculator-allowed problem
 
@RedwolfPrograms imagine it's a problem on puzzeling and it's tagged
 
@DLosc don't you mean c¯s¯/? :P
 
You know that stupid joke people make about "who buys 72 watermelons lol" in reference to math problems with unrealistic situations? Well I'm wondering who buys e ** (sin x + cos x) of them :p
 
@AaroneousMiller (i dont actually know im smol brain)
 
@RedwolfPrograms Thomas has 74839573457357e+9483534350358343963456464 watermelons
 
@RedwolfPrograms Why you gotta make fun of my shopping habits? I'm very particular about how many watermelons I buy.
 
4:49 PM
Bryan has 3.1415926535 Avocados...
 
@AaroneousMiller I keep thinking you're Mast because the colors of y'alls' profile pictures are now pretty similar
 
@AlanBagel No
ask the loophole
 
@Fmbalbuena What does that mean
 
@AlanBagel Ask the loophole if this is valid or not
 
4:54 PM
@pxeger wat
 
@RedwolfPrograms lol dw, im probably going to change it back soon
 
@pxeger I wanba say zsh :p
 
@rues about a year ago I actually wrote a super long super obfuscated zsh/Python/C++ polyglot which I was gonna submit to that question before I realised I had so many answers in zsh that it would be too obvious
 
@pxeger is the trailing space on ^34# intentional?
 
Submit under sock ez
 

« first day (3959 days earlier)      last day (870 days later) »