« first day (4013 days earlier)      last day (823 days later) » 

1:07 PM
yo im back
 
no, you're Ginger Industries
4
 
@lyxal you've heard of GrubHub Perks, now get ready for GitHub Perks
I am the owner of GitHub Perks
 
@GingerIndustries that actually already unironically exists
so that's a yesn't from me
 
@lyxal That's a cheap knockoff for college students. I've got the REAL DEAL
lemme find a screenshot
 
I found one for you
 
1:11 PM
@lyxal I found one for you
 
@GingerIndustries No, I did.
(I drew it by hand on my touchscreen in MS Paint)
 
@lyxal No, I did.
 
Mine's better
 
@lyxal Mine's better
 
yikes that's a big image
why the extra red dots?
haha you screwed up first
meaning I win
meaning I'm free to go sleep now
goodnight y'all alexa hoodieless nerds. (use the transcript for context)
o/
 
1:20 PM
@lyxal no I didn't
what red dots?
@mathcat hey guess what I got
user image
4
GitHub Perks
 
woah
 
the only thing that can counter SE Nitro
 
and butter
 
besides butter
 
what can it do?
 
1:29 PM
@mathcat hmmmm
 
try it out!
 
you can use GitHub Copilot on IRL objects
 
what's copilot?
 
AI-powered code formatting tool
 
nice
and IRL?
 
1:32 PM
Thug: Hand over your money!
Me: Not so fast. Get REFORMATTED!
Thug: I feel different
Me: HAHA! You are now PEP-8 compliant!
hmmmmmmm
 
ooh
nice
 
What the hell happened here
 
now fix some real-life security exploit
 
@mathcat IRL Dependabot lets you scan for outdated infrastructure
sometimes it's one of those days when your Internet is at 2 bytes per second and the outside temperature is -0 degrees
 
@GingerIndustries I should be asleep rn, but this is hilarious
 
1:37 PM
@lyxal GitHub Perks lets you open issues on physical objects
 
You walk up to someone and say // send this person to the shadow realm and it just be like // TODO: send person to shadow realm
 
See a pothole? Start a pull request
 
0
Q: Squishy vectors

Wheat WizardIf we have a list of integers we can "squish" one of them by: decrementing it replacing adjacent values with its new value For example in this list: [1,2,8,3,6] If we squish the 8 we get: [1,7,7,7,6] The question is given a starting array what is the largest we can make its sum by repeatedly ...

 
@lyxal and it just floats over their head for the rest of eternity
 
@GingerIndustries needs 2 reviews from people with write access, needs to pass 5 checks and comments have been locked because it's too heated
 
1:38 PM
@lyxal when your apartment building fails GitHub Actions' formatting checks
 
@GingerIndustries I say this because similar things have happened while using copilot
The useless comment part
Not the sending people to the shadow realm part
I don't need AI to do that
 
@lyxal I wouldn't be surprised
@lyxal wait what
 
You heard me.
And with that I'm leaving to actually go sleep
 
@lyxal no, that's my job
 
o.o
 
1:40 PM
hello caird
 
@GingerIndustries too bad I just took it
o/
 
@GingerIndustries \o
 
brb
no actually
bbalt
 
bbaltman
 
1:51 PM
I am back
46 mins ago, by lyxal
no, you're Ginger Industries
 
@taRadvylfsriksushilani theres still the chance that its a very plane shaped data set
(also: loving the splash of red in your pfp)
 
@thejonymyster It's a llama
 
@thejonymyster I feel old - there are TNB users who don't know that Redwolf's original pfp was red :P
 
@Razetime Here's what I got in Haskell, but I don't know if there's anything to interleave in Husk
 
@cairdcoinheringaahing I know this because that's been their GitHub PFP as long as I've known
 
2:04 PM
@user You can zipwith pair, then flatten
 
Yeah but that's annoying and takes more than one character :(
 
@user It's called intercalate
 
Ah
No intercalate in Husk either
 
Oh it's intercalate in Haskell I don't know anything about Husk.
 
Oh
 
2:05 PM
@cairdcoinheringaahing well im new to the site, not to this world. im sure youre exactly as old as you need to be
 
@thejonymyster Indeed, I'm very old
 
@cairdcoinheringaahing as the Oracle of Truth I have existed for an indefinite amount of time
 
@Razetime Best I could get is Θƒ(ȯtSoΣzem¬:0 but it's 14 bytes and very ugly
 
@user huh that is fat
 
2:20 PM
The part I don't like is having to do tail at the end of the function inside fix and then prepend a default value before outputting
I think omega could make that better actually
 
@cairdcoinheringaahing lmao
 
Weird, I feel like this should do the same thing but it just hangs. Am I using ω wrong?
 
i looks weird seeing redwolf with his original pfp
 
@user hm might help
@user ⍵ needs a finite fixpoint
 
Oh that sucks
 
2:23 PM
also fun fact: python has zipWith
 
It's just called map :P
 
even haskell has a map right?
 
"Even"?
 
i mean, haskell is pretty much the industry standard fp language
 
When I think of map, Haskell is one of the first languages that comes to mind
 
2:25 PM
Haskell has at least 3 maps I can think og.
 
And any FP language worth its salt has map
 
ok so python borrowed haskell's map
@WheatWizard and they are?
 
map, fmap, liftM
 
mapM?
 
zipWith?
 
2:25 PM
mapM is not a map.
 
Ah
 
liftA is a also a map.
zipWith is not a map.
 
hm, is zipWith similar to python map?
well redwolf's pfp is too red
 
python map is a couple of things haphazardly bolted together.
One of those things is zipWith.
 
-_'
 
2:27 PM
map being a class always surprises me
 
Haskell has a different map2 called liftA2.
 
how is python map different from haskell zipWith and map?
 
Well it's like a bunch of functions glued together.
 
I thought Python's map was just both of them in one?
You could call it more powerful or whatever
 
It's also zipWith3.
 
2:29 PM
why does haskell have so many things
 
Haskell has a normal amount of things.
3
 
@taRadvylfsriksushilani Hey, that's my line!
 
Haskell's fmap is way more powerful than Python's map.
(and liftA and liftM too)
 
2:30 PM
@PyGamer0 If you're asking why it has multiple functions instead of one map to rule them all, I guess it's because it's statically typed and can't do varargs like Python
 
It can do varargs if you want it to. But varargs are usually a bad idea anyway.
 
oh
@WheatWizard why?
 
@WheatWizard Like, real varargs or taking inputs in a list?
 
@user Real varargs.
 
Oh, not sure how to feel about that
oic, you just keep returning a function
That's less cursed than what I thought it'd turn out to be
 
2:34 PM
@PyGamer0 Most uses of varargs are either better attained with e.g. a list or with separate functions. It just is more clear what you are doing. In this case, as I alluded to earlier, there are multiple completely valid ways to extend the idea of a map to more than 1 argument. Rather than choosing one arbitrarily it is better to have them be separate functions with clear names.
 
whoa TIL that map can take multiple arguments
im dumb
i thought it could just take 2 args, a function and an iterable
 
Okay uh...I might not be at the right class
I think today's a B day
Okay good other people are here, phew
 
Gotta love that anxiety when you're the first person in the classroom and you don't know if you're supposed to be there
 
lol
 
TIL CSS lets you specify colors in radians
 
2:39 PM
What does that even do?
 
Well, I half lied. it has to be in hsl, hwb, oklch, etc.
 
Looking back, this is kinda cute :P
"There are now more than 20 users [on SO] with over 10,000 points. To me that's no longer meaningful."
 
Oh boy, wait till this person meets Jon Skeet
 
See the top answer :P
 
lol
Honestly rep doesn't even matter after a point. I know a kid who got 20k+ rep on SO in the last couple years somehow
But he probably just posts multiple times every day, so it isn't too meaningful
 
2:48 PM
I think rep only really matters below 20k (at an absolute max), and even then, it mostly matters if you want to help in the moderation of the site
 
@cairdcoinheringaahing I mean they have changed the reputation awards pretty significantly.
Both questions and answer votes are now worth more than they were back then.
 
The "beginner bundle" of privileges, such as commenting, meta participation, CW etc. is important. Editing at 2k is then the last "essential" privilege for easy use of the site. Everything else can be ignored if you're only here to ask and answer
@WheatWizard Q upvotes were originally 10 rep, I can't remember exactly when they changed to 5, but I think it was around 2009/10
 
3:18 PM
@taRadvylfsriksushilani did you get that from GPT?
 
No
CSS lets you specify the hue component of HSL, HWB, and OKLCH using radians
 
no not that i guess
@taRadvylfsriksushilani this
 
Oh, no, but it was a similar thing
I'll see if I can find a link in the transcripr
Bored of crispr? Try transcripr
I think it's this
 
Is main = do [(i,j) | i <- [1..20], j <- [1..20], i<j] valid haskell syntax?
 
3:41 PM
@BgilMidol Replace the do with print and I think it works
It is valid syntax already though
 
thanks
 
Hi!
I doubt it's being updates though given it's on neocities
 
brb (again)
 
@GingerIndustries You don't have to announce it, I promise we can get along just fine even if you're not here :P
 
3:50 PM
@user ;-;
 
I like to nominate Best explanation for codegolf.stackexchange.com/a/240619/106959.
 
@Fmbalbuena Then edit in a nomination :p
 
Because explains two things
 
You just need to add a link to the post, say that you nominated it, and describe why you did.
 
@taRadvylfsriksushilani Can you generate?
 
3:51 PM
@Fmbalbuena That's from this year.
 
@WheatWizard oops thanks.
 
4:19 PM
(That'll invite a few uninvolved people who had commented on the noise, sorry about that)
 
4:37 PM
CMC: Expand if there is a Truthy number in the border of the board
Test cases:
[[1, 1, 1], [1, 1, 1], [1, 1, 1]]
=>
[[0, 0, 0, 0, 0], [0, 1, 1, 1, 0], [0, 1, 1, 1, 0], [0, 1, 1, 1, 0], [0, 0, 0, 0, 0]]
[[0, 0, 0], [0, 1, 0], [0, 0, 0]]
=>
[[0, 0, 0], [0, 1, 0], [0, 0, 0]]
 
Wait, what do you mean by "expand"?
 
see the first test case
 
x=>x[0].some(f=y=>y)||x.at(-1).some(f)||x.some(y=>y[0]||y.at(-1))?(a=[...x[0]]).fill(0).concat(x.map(y=>[0,...y,0],a),]:x
 
That doesn't quite explain it either.
I think you mean that for each edge (N/S/E/W) add a layer of 0s if there's a 1 there. Correct?
 
because this is CMC but i have to gtg (please do in Python (I still like APL (I learned a lot of Python)))
 
4:46 PM
@Fmbalbuena APL, 17: {0,⍣(∨/⊣⌿⍵)⍉⌽⍵}⍣4 Try it online!
 
4:58 PM
0
Q: Shanghai ascii game sticks

AZTECCORemove one stick and output the stack updated. Description You can remove only sticks on top( completely drawn). You can assume: there are 5 sticks on the table. there's one and only one stick you can remove. sticks are recognizable : there aren't overlapping sticks on the same orientation and t...

 
5:14 PM
forwards
 
@Adám This is... not easy in Pip. :P Current best attempt is 11 bytes and uses (of all things) a regex replacement: a@^J,5R2_Xb
 
AAAAAAAAAAAAAA
var Actor = conn.init();
var Conn = actor.init();
This took me 20m to figure out
 
phenomenal
 
@taRadvylfsriksushilani Uh, wut?
 
Presenting the most monumentally stupid piece of APOL code I have ever made:
v(0 s(i));v(1 []);w(≠(⁰ ¹) v(1 ⁰) f(¹ ?(>(⊕(⁰) ⊕(S(S(S(¹ -(g(¹ ∈) 1) ∈) ¿(-(∈ 1) -(g(¹ ∈) 1) g(¹ ∈)) -(∈ 1)) ¿(≠(+(∈ 1) l(⋒)) -(g(¹ ∈) 1) g(¹ ∈)) +(∈ 1)))) v(0 S(S(S(¹ -(g(¹ ∈) 1) ∈) ¿(-(∈ 1) -(g(¹ ∈) 1) g(¹ ∈)) -(∈ 1)) ¿(≠(+(∈ 1) l(⋒)) -(g(¹ ∈) 1) g(¹ ∈)) +(∈ 1))))));⁰
That's my solution for the "squishy vectors" problem
 
5:24 PM
@GingerIndustries It looks repetitive, but I don't speak APOL yet. What makes it monumentally stupid?
 
@DLosc that it's repetitive
APOL is really not designed for complex problems
 
Aha
 
it also is broken, but I'm working on that
 
For a golfing-oriented language, APOL sure has a lot of whitespace
 
@taRadvylfsriksushilani It's a golfing language for learning about golfing languages kinda
it's simple but somewhat compact
 
5:27 PM
Alright, logging time, yayyy
 
@cairdcoinheringaahing Oof, I really want to see some nominations for Best Explanation--that's one of the categories that deserves more recognition, IMO. I haven't been active enough lately to remember any off the top of my head, though. Maybe I can put together a SEDE query to look for long posts...
 
Pros: code doesn't crash now
Cons: [2, 2, 2] -> -28
:/
 
thought: [atomic-code-bowling] :P
 
5:45 PM
how dumb would it be to put a bounty on this question about symmetric hexagons for answering in hexagony with a symmetric hexagon of src code
5
im guessing >50% stupid
 
@thejonymyster this is an excellent idea
 
1 star and ill do it
wait i cant star my own message
that was gonna be the joke
 
Jan 7 at 2:48, by Wezl - a cautionary tale
It's like they think self-esteem is a bad quality
 
lol
 
@thejonymyster >:)
 
5:51 PM
@taRadvylfsriksushilani like how TLS certificate issuing works? Not a bad idea
 
0
A: Sandbox for Proposed Challenges

Ginger IndustriesApproximate Euler's Number Euler's number (e) is one of the most well-known mathematical constants, with a simple way to approximate it. All you have to do is repeatedly generate a random number between 0 and 1, and add it to an accumulator. Record how many times you have to do this for the accum...

 
I think so, not fully sure how TLS cert issuing works. Here's some stuff I wrote about my idea
 
@taRadvylfsriksushilani oh yea, MINECRAFTER!
 
@taRadvylfsriksushilani catchy name lol
 
The fun part is pronouncing it as one syllable
 
Jan 7 at 17:32, by Ginger Industries
@RedwolfPrograms If you make it Semi-Decentralized Secure and Anonymous Fast Transaction Ledger then the acronym can be MINECRAFTER
 
@thejonymyster If you feel like ruining someone's life by making them work on a Hexagony answer, go ahead :P
 
1
A: List of bounties with no deadline

thejonymyster500 reps for answering Is this hexagon symmetric? in Hexagony... with symmetric source code "Symmetric source code" here is defined roughly as follows: replace all the nops in your program with 0s, and all the non-nops in your programs with 1s. When this string of 0s and 1s is input into your pro...

 
6:21 PM
@user that i do!
 
6:49 PM
i also have a much easier bounty up for a jelly answer to 99 bottles
 
@taRadvylfsriksushilani come to think of it is japt the only golflang where space isn't just a token separator
 
Stax and Charcoal, perhaps?
 
Pip uses two spaces for comments IIRC
And in Ash, spaces were an operator
(They returned null originally, but 0n after null was removed)
 
lol
i've sort of been thinking of space in perhaps being equivalent to either ¹ or µ in jelly
leaning µ
 

« first day (4013 days earlier)      last day (823 days later) »