« first day (4292 days earlier)      last day (847 days later) » 

00:00
But anyway I probably wouldn't use that approach, so no need to worry too much about it
I agree it is probably a bad idea to fetch dependencies independently of the OS package manager
I agree it is probably a bad idea to fetch dependencies independently of the OS package manager
Thanks chat
I love how it only lets you send duplicate messages when you didn't intend to
@RadvylfPrograms because then waterjet can't, say, manage versions for multiple packages or auto-install critical security fixes or even tell the user "hey you have this package installed"! python packages are black boxes and it pissed me off so much I invented waterjet!
I already wrote multiple paragraphs about how python packages are very bad!
lemme find it rq
@Ginger How would managing the versions of a Tundra program's dependencies work? You'd need to either update the whole thing, in which case there's no issue, or do all of the same things Taiga does, like tree-shaking and figuring out which dependencies will work with the original program, which is reinventing the wheel in a pretty problematic way

On Python packages

Oct 19 at 14:14, 7 minutes total – 32 messages, 5 users, 4 stars

Bookmarked 5 secs ago by Ginger

@RadvylfPrograms okay, maybe not that part
it mostly boils down to "I hate black boxes" tbh
Black boxes are good, you just want to do really cursed stuff
and that may not be your philosophy, which is fine, but it's mine and it's what I'm designing waterjet around
@RadvylfPrograms true
00:05
What is your issue with packages being "black boxes" exactly
I can't do cursed stuff if they are
(and btw with Taiga the concept of a "package" won't really exist, but that's a thing for another time)
@Ginger Well like, what changes and what can you not do that you could if there was some tihng that made it not a black box in some way
good question! just a second while I answer it
During that second I'mma go eat food brb
I expect a 1k word manifesto against abstractions in package managers, ending in unintelligible zalgo and extreme profanity
oh don't you worry, I've got you covered
00:10
@Ginger ummm
how does that work
@Ginger are you telling me you have to distribute python source files and they have to run pip themselves???
ok we're at 200 words
@Sʨɠɠan not quite, see the linked convo for the full rant
im lucky i hate python so i dont have to deal with its package manager
python is great, it's just the packages that suck
they're my least favorite part about it
00:28
@Ginger are you working on one right now? if not I can post one shortly
we should have a meta post for it
i thought you were irrationally mad about something not being sufficiently transparent or something but then i actually read the bookmarked convo and what the fuck
@UnrelatedString exactly
@hyper-neutrino yea I'm working on one
will be posted soon
alright thanks
np np
also hyper being here reminds me how bad is it that every time radvylf mentions his praclang being tundra with a package manager named taiga, before thinking "oh they're both cold climates", i think tsundere
00:34
I'd expect nothing less from someone with an anime pfp /j
because of the tundra pun in bakemonogatari
and i haven't seen toradora but its iconic tsundere lead happens to be named taiga
randomly found this
lmao
0
Q: What do we rename Advent of Code Golf?

GingerRecently, Sʨɠɠan recived an email from Eric Wastl, the owner of Advent of Code, part of which is quoted below: Please do not call your event something like "Advent of Code Golf"; this makes it look like an official Advent of Code event. "Advent of Code" is a registered trademark in the United St...

00:44
@Ginger Whoa are you still not finished?
It's worse than I thought
eh?
Oops wrong reply
(also I'm still typing the answer, was delayed by the meta post :p)
we're at 377 words
1
Q: What do we rename Advent of Code Golf?

GingerRecently, Sʨɠɠan recived an email from Eric Wastl, the owner of Advent of Code, part of which is quoted below: Please do not call your event something like "Advent of Code Golf"; this makes it look like an official Advent of Code event. "Advent of Code" is a registered trademark in the United St...

@RadvylfPrograms i was confused by the ping
00:47
@Ginger Please don't be pressured to actually do any of the things I joked about though, I want to hear your opinions not a shitpost with a vague sense of purpose :p
Oh, you misunderstand- these are my opinions I'm typing
and I will deliver a 1k word essay
because if I didn't you might doubt my resolve
514, halfway there :P
@Feeds Sorry, I'm genuinely confused as to what this is referring to
lemme link the message rq
00:51
I've seen the message
Yeah the post doesn't even link to info about AoCG, most people won't know what that is
Is this re. the event Bubbler did last year (and are redoing this year), where "we" (being whoever wants to be involved) post 25 original challenges, one per day? Or, is it referring to people reposting AoC challenges here?
it refers to the event
thought that was clear
@RadvylfPrograms is a 600 word essay ok? :b
Because, if it's referring to the event we run, then, politely, Eric has essentially no say or input into what we call it. It's entirely different from anything he does, aside from it's 1 code related challenge per day in December.
00:54
well you can certainly post that as an answer
I'd like to see more of the original request and reply by Wastl
I could easily see him having a false impression of what AoCG is
cc @Sʨɠɠan
Yeah, especially as I was under the impression that @Sʨɠɠan was emailing Eric to ask about reposting AoC challenges here
didn't he already say that's fine on twitter
yesterday, by Sʨɠɠan
i was asking permission to use AoC challenges in AoCG
00:56
and then that's probably how he became aware of the unrelated naming issue :P
Yeah, don't do this
AoC is entirely distinct from AoCG. AoCG should be about us posting original challenges from CGCC users. AoC is entirely different from that. As far as I'm aware, Eric has given us permission to post AoC challenges regularly on the site, as normal challenges, but people do not overlap the two things
in Advent of Code Golf, 24 hours ago, by Sʨɠɠan
> I'm not sure exactly what you're asking, so I'll try to answer a few different situations that might be relevant:

- You can link to the Advent of Code website. You can encourage people to do the puzzles on the Advent of Code website in a specific way, like fewest characters.

- Please do not copy the text of any puzzles and repost them as your own work. Advent of Code content is protected under copyright law.

- Please do not call your event something like "Advent of Code Golf"; this makes it look like an official Advent of Code event. "Advent of Code" is a registered trademark in the Un
i cant get to my email rn so i cant post what i sent
Did you make it clear that Code Golf is the name of our site? I could see him reading it as "(Advent of Code) Golf"
@RadvylfPrograms yes
That said, the original event used old AoC challenges (as in, from the years before)
00:59
i identified myself as <my name> (Steggan from Code Golf)
Okay, obviously, those involved can change the name if they want to. That said, I think there's a lot of misunderstanding about what exactly AoCG is, especially in communicating that to Eric
Furthermore, it appears that, unlike last year, this year's challenges are all original. If that is the case, and none of them are AoC challenges, then Eric has absolutely no claim to force us to change the name. Obviously, again, we can if we want, but it appears to be unnecessary to do so
I understand Eric's concern, but I think that given the context on CGCC, it'll be clear to everyone that it's unaffiliated with AoC
@RadvylfPrograms ffs my giant paragraph is too coherent to add zalgo text to it and still have it be funny
Nah just leave it unzalogified
We already know not to parse HTML with regex :p
01:06
fiiiiine
@DialFrost anyone? ... :(
@cairdcoinheringaahing agree
@RadvylfPrograms okay, here it is
There are lots of reasons why making packages black boxes is bad. A package like the one you've described that uses its setup script to install more dependencies has many problems. Installing extra packages without informing the main package manager what you're doing means that the package manager can't recognize or ascertain important information about the packages. For example, if the extra packages would require more space to install than is available on the computer, the manager can't tell. If the installation requires no network access, there is no way to tell. If the packages require
and I even got some zalgo in anyway!
> Every The user
(I hope you appreciate it, that's an hour of my life I'm never getting back :p)
@Sʨɠɠan eh, it's fine
01:38
@Ginger You're arguing precisely against packages being black boxes
All of those issues are ones which occur when the inside of the package causes issues which don't fit into the neat abstractions of a black box
Ideally packages would behave as black boxes; the manager doesn't care whatsoever what's inside of them, but can still effectively install, update, and remove the package
i feel like there's two different perspectives here from which each behavior is more black box :P
You're arguing against the installer-in-the-package thingy, which if it worked as a nice black box wouldn't be an issue. You're arguing that it in fact wouldn't behave as one, and that that's the problem
which is to say it's just not a useful term here
Yeah I think I agree
02:01
@DialFrost use blocks
do|x|...end => {|x|...}
if this is why you're asking though, use require'prime'
02:13
y'all ever just get the feeling that there's something important you felt like doing 5 minutes ago but can't remember what it was
02:23
@Sʨɠɠan I tried it doesnt work
And yes lol
@UnrelatedString I've heard that's a sign you've got brain eating amoeba
wouldn't be surprised :P
02:35
@RadvylfPrograms why is this amoeba so popular now
@DialFrost wdym "doesn't work"
My 32-byte solution uses it
Just do Prime.take(...)
02:52
Oh wait lemme try it again
No clue how to use Prime tho
@Sʨɠɠan ?????
Btw how do I join a list on newlines guys ruby
03:10
puts on an array will already join on newlines
a*$/ otherwise
@DialFrost Prime.take(30) will give you the first 30 primes
However you can splat arguments into p instead of puts and it will separate them by newlines
so like p *blah
since this is code.golf though, you could join their discord server, there's plenty of people that can help you there
Ah tysm
nice! you should get 32 by splatting into p
I'm assuming those ppl with 31 bytes didnt use modules?
@Sʨɠɠan I got 34 :/
Wait wait nvm being stupid again
@DialFrost Yep. I'm pretty sure the 31-byter is using a magic formula instead of prime, but I haven't found it yet.
Hmm
Mkay
Tysm for the help
03:16
In long prime numbers though, the module is the way to go
You'll just have to use a different method instead of take to avoid putting in a four-digit number.
How do you know that :3
Because I have the shortest one :P
Different method hmm
Gimme a sec
Although I only got it a few minutes ago because I only had the idea a few minutes ago
I got it
:3
Little neat trick I learnt from ruby code golf tips page
03:18
nice!
Hey I'm right below you go check the leaderboards:3
are you talking about the page on the code.golf wiki or on CGCC? (as far as the tips page)
y?
OH DAMNNNN
03:20
Tons of tips
interesting
not a "ton" of tips it's not a lot ig
there's many different langs
and also there's "hole specific tips"
how have you used all 45 langs
:o
because I know them all? :P
a new hole and lang came out today so I've been busy there all day collecting diamonds
@Sʨɠɠan howwww :(
I only know ruby and pyton
thats it
not a single thing about any other lang
03:23
actually most of them I don't "know", but I can use them
@Sʨɠɠan i cant :/
lucky...
yeah it takes a while, you have to learn how to just use any given language in general
basically learn how to learn a language
@Sʨɠɠan that takes me too long
yeah whatever, most people on code.golf don't use many langs
code.golf/golfers/MeWhenI has a solution (almost, missing a few) for every language on every hole
if you click on "holes" tab you can see a table
BTW, if someone wants to move this all to OTNB sure, depends on whether this is off-topic or not
It's code golf, the literal definition of this site
It's on topic here
03:28
it's not CGCC though
It's still the general act of golfing code
@lyxal ye
@Sʨɠɠan chill lol
me getting pissed on how much bytes this takes a,b,c,d,x,y,w,h=x.split.map(&:to_i)
btw is there a way to golf functions in ruby like python?
where in pyton you can do m=max which doesnt work in ruby
if you're using max many times
what hole even is that
no
intersection
@Sʨɠɠan no to wat
well yes, but no. you could do def f(*a)=max(*a) :P
03:31
shoot
i haven't touched intersection, don't want to bother with the math
try it!
its honestly not that hard
also map(&:to_i) => map &:to_i
:P fine
@Sʨɠɠan damn im so dumb
tysm for the 1 byte
if you don't know already, ARGV.each => $*.map
03:34
yup
I already did that
saw it too on CGCC
@Sʨɠɠan unfortunately it doesnt save enough bytes to compensate for the loss
@Sʨɠɠan wont u lose the diamond if you lose 1st place later on?
yes
or if someone else gets 1st place
but i might as well publish the solutions to get points anyway
Fine, I sovled it and your solution is shorter. I'm bad at math
03:51
lol
how many bytes did you get?
@Sʨɠɠan didnt u say ur fav subject is math :3
you got 42 bytes for prime pyton WHAT
i have 62 :,(
remember to use _1 (numbered parameters) btw
@DialFrost lol hardcode
@Sʨɠɠan ?
posted on October 30, 2022 by trichoplax‭

Connect opposite corners of a rectangle of characters without putting 4 characters in a row. Input Two numbers, W and H, representing the width and height of the rectang...

However I have 44 without hardcoding so big deal
0
Q: How Mondrian is your fine art collection?

loopy waltFor the purpose of this challenge a rectangular piece of ASCII art is Mondrian if it looks the same upside down. What does "looks the same" mean? A feature is any orthogonally connected region of at last 5 characters. A Mondrian feature is any feature that appears in the same picture upside down....

03:57
@Sʨɠɠan still dont get it
Encoding each prime number as a character code, then printing each one out. It's just hardcoding
dont get it still but okey lmao
@Sʨɠɠan character code?
yes
using a byte-string since they all fit in a byte
how is that possible?
sry i've never used string compression in python b4
04:03
OH
tysm ill rewrite my solutiin
Ur too kind ;3
04:17
@Sʨɠɠan *map doesnt work though
@Sʨɠɠan also wdym
05:17
@Sʨɠɠan?
05:27
@Sʨɠɠan [print(x)for x in b'•••••\r•••••%)+/5;=CGIOSYa'] doesnt work lol
att
att
intersection got talked about here a few months ago or so
actually I don't even know how long ago now
ah june last year
05:51
Bubbler has some bounties for it
06:34
@DialFrost you'll need to evaluate it, otherwise it stays lazy
07:14
@JoKing Evaluate?
How lol
like *[...],
Er wut?
oh wait, that's for map, you're having a different problem
Ru talking about ruby
I want to use the map tho
@DialFrost i was talking about this, where the actual issue is that you're using unicode dots instead of unprintables lol
07:17
Oh darn
Why did steffan use map tho
Its shorter it seems
@JoKing but I thot I copied right?
i dunno how you got the text that it was being represented with rather than the actual text
I used tio
Then copy paste
And I used steffan tio program
Unless steffan scammed me :D
Nvm
Being very stupid again
Sry
Got it! Yay
@Sʨɠɠan watt how?? Mine is 64 without
 
2 hours later…
09:59
er guys whats wrong with this JS answer
f=(n,i=n)=>n%--i?f(n,i):i==1
for(i=2;i++<100){if(f(i))alert(i);}
im being dumb again and cant find out why
10:26
nvm I fixed it
new qns: why doesnt for(i=2;i++;i<=25){if(f(i))console.log(i);} stop printing once it reaches 25?
nvm
10:57
clearly because f(i) keeps returning true for numbers larger than 25 /s
11:27
0
A: "Hello, World!"

CliffGaia, 14 bytes “Hello, World! Try it online! Strange that there wasn't a Gaia answer to this challenge yet, given that there's so many answers.

@RadvylfPrograms well I guess I have shot myself in the foot :p
good job gamer.
o_o
L_L____|_
I have absolutely no idea what that's supposed to be lol
dumbnut
¯\_(ಠ_ಠ)_/¯
12:15
@DialFrost i did
this is so confusing i'm done
huh?
I can't differentiate between Sʨɠɠan and Sʨɠɠan
sounds like an issue not an ish-me :p
I was going to say it isn't, but it kinda is (sorry :p)
you just gotta know which is actually which
12:23
Hmm
figure out which icon is which and go from there
do you really think I'm going to look at the icons?
lemme code up a neural network real quik
@mathcat I mean, that's how you tell them apart
fine I surrender
good
13:12
@Ginger Yes
cool!
ok so remember how I said I wanted to make an IDE? well it's going to be called Klein and I'm going to try to start work on it today
@RadvylfPrograms if you make a language server for Tundra then I can add support for it to Klein
13:28
Klein as in small?
nah, it just sounded cool :p
ah well
13:40
anyone wanna check my c++ code to see why it isnt working?
im honestly confused whats going wrong
(its not an error its my program is printing the wrong thing)
dw its a very easy to read program lol
13:58
why does this only print 23?
#include<iostream>
int main(){int x,c,a=1;for(x=2;x<99;x++){for(c=2;c<x;c++){if(x%c<1){a=0;}};if(a){std::cout<<x;};}}
@DialFrost you set a to 0 and never set it back to 1 again
its not supposed to rt?
OH
now it prints every number from 1 to 100 XD
you can easily get 100 with some quick golfs:

int x,c,a=1;int main(){for(x=2;x<99;a&&__builtin_printf("%d\n",x),a=1,x++)for(c=2;c<x;c++)a=a&&x%c;}

it can be much shorter though
@DialFrost it works fine if you set a=1 at the end of every iteration.
@Sʨɠɠan w....w...wa...wat???
tysm
@Sʨɠɠan i aint even good at coding in c++ normally without golfing
what does the && mean?
@Sʨɠɠan?
cuz void main(){var a=1,x,c;for(x=0;x<99;x++){for(c=2;c<x;c++){a=a&&x%c;};if(a){print(x);}}} doesnt work for C#
 
3 hours later…
17:05
posted on October 30, 2022 by trichoplax‭

Given a sequence of lower case letters, sort them into order of height. Heights The heights of letters are dependent on font, so for this challenge the height order to be used ...

17:35
@DialFrost logical and
@lyxal but theres a twist...
18:35
@DialFrost of course that won't work for c#
19:04
SE really wants me to know that I've earned rep
Yea I'm confused about why things are bold or not too
19:39
0
A: Sandbox for Proposed Challenges

PratyushYou are given 5 integers a,b,c,d,k. Print the maximum value of x+y such that x and y follow these conditions : a<=x<=b c<=y<=d x^y =k Note : '^' sign denotes the XOR operator. Constraints : 0<=a<=b<=pow(10,18) 0<=c<=d<=pow(10,18) 0<=k<=pow(10,18) Note : 'pow(a,b)' denotes a raised to the powe...

 
3 hours later…
22:39
@Sʨɠɠan that's why you figure out which icon is which and switch relative to the swap :p
23:39
@Sʨɠɠan welp :(
alright so
for some reason the starboard is just... gone for me???
tf is going on
ok, it's back after reloading
but that's not what I wanted to tell yall
I've come up with a design for Klein that I really like
so basically it's similar to replit's ide but much better
so at the top you have a ribbon like in, say, MS Office with buttons for running and saving and stuff
and then the whole rest of the editor is a notebook widget
and there's a button in the notebook tab strip which lets you open "pages" like an editor and repl and shit
so you can open whatever you want
and of course the state of the notebook is per-project and persists across restarts

« first day (4292 days earlier)      last day (847 days later) »