« first day (4314 days earlier)      last day (828 days later) » 

00:01
ah
lmao
iirc on my machine, it found a length 9 but it didn't work
inprecision
oof
i found a length 6 with inprecision as well
er why did the execution just stop?
Do I have to like stay in the same tab?
No
Ran out of memory probably
or is your max length too low?
Idk
It's at 10
Hmm I've waited 5mins, it's still stuck at length 8
Its still running tho
Apparently kaggle's good
00:17
Yeah, several people use it for weekgolf
Apparently it's fast
Speaking of weekgolf, you've been outgolfed
wait isn't kaggle that like
ml competition website
Yeah but you get 48gb of ram and a full venv
@joyoforigami I don't have any cuz I'm not terribly good at coming up with challenges, but maybe the "no solution" can be anything? Or even printing nothing
@Steffan how fast
what comp is it?
00:55
@Steffan why doesnt this work?
for x=1:10000
y=parse(Int,reverse("$x"))
if (all(x%i for i=2:x)&&all(y%i for i=2:y)&&y!=x)println(x)end
end
you really need to learn how to debug stuff yourself rather than outsource it
@JoKing i tried
i didnt understand the error at all
where it says no method matching *(::Bool, ::Nothing), you're using * on a bool and nothing
probably as a result of passing something weird to %
@JoKing exactly, i dont see that anywhere
@JoKing i tried vectorising, same error
oh lmao i got it
@JoKing its cuz theres no space btw print and the if statement
so julia thinks im if*print (since print is a nonetype)
i should learn julia at some point
01:03
@JoKing why?
dont you know like, 50 langs?
... wouldn't that be an indicator that I would learn more languages rather than less?
@JoKing er, im saying that you probably alr know julia
its way too similar to python
I've been doing parser stuff with arity types and now the words nilad, monad, dyad and triad don't feel like words anymore
01:23
@DialFrost no it isn't, you can code it like python if you want but there's always a better way
0
Q: Interstellar Cabbages, Wolves, and Sheep

joyoforigamiThe Cabbage, Wolf, Goat riddle with a twist! Backstory: There’s an intergalactic river than needs to be crossed! Being a space-ferryman you’ve offered some aliens on your small space ferry that can only carry two entities: you and a passenger. However, you know that because politics, some of thes...

@Steffan ye but its "similar' to python
guys how do you call a function? in ruby
in the form of f=->x{...}
01:49
f[x]
@JoKing :facepalm: me doing f(x)
tysm
@DialFrost that means they deleted their bytes solution
@Steffan thats so weird lmao
02:07
anyone know how to replace the first few consecutive chars of a string in ruby?
@DialFrost @Steffan?
Would it be rude if I linked to duckduckgo.com/…?
In seriousness though, have you tried gsub?
@forest er ya
but its the "first few chars"
not all instances :/
@forest why rude? (i dont get it lol)
@DialFrost It's one step from lmgtfy. :P
@forest lol
I don't know Ruby, but in Perl you can use regex to do that.
02:20
awww
Presumably you can do something similar in Ruby.
Also, g2g.
k cya
02:46
guys what u think about this sandbox post: codegolf.meta.stackexchange.com/questions/2140/…
i feel like its simple enough that i can just post it, i dont see any problems with it
 
3 hours later…
05:27
@Steffan go go go ur like 1 challenge away from beating jayxon in dart!
 
1 hour later…
06:37
@RadvylfPrograms what do ya think of area51.stackexchange.com/proposals/127456/…?
kinda amazing that we got 87 followers
We need 4x that for even a private beta
yeah but just in 2 days... amazing
@UndoneStudios its been platueing since like around today morning
oh
speaking of today morning I got my papers
and they're disappointing
@UndoneStudios make sure you move any votes on questions with a score greater than 10 down to questions with less votes
06:44
as in, those with 9 votes?
could do
That's right
guys what's the julia version of .find in python?
@lyxal done
@DialFrost seriously where do you learn julia
@UndoneStudios hmm? why do you ask :p
because at this point you need to learn how to search for what you need
06:56
@Bubbler why this point :p
I learnt Python from the docs
and isok i alr found something (that apparently doesnt work)
which is also why I'm called a nerd
@UndoneStudios i learnt it julia from er.. trial and error :3
06:57
stop learning by trial and error
you should read more
trial and error takes forever
@UndoneStudios no?
well i mean i do search up quite a bit
most of the time i just port python->julia
since i know python better
if it doesn't it's basically reading somewhere and then pretending to try out alternatives
which is not trial and error
06:58
start from the official site, go to docs page, read through it, understand the language and its builtins
@Bubbler have you seen julia's docs page
@UndoneStudios (i wasnt asking for the link lol)
it was a question
I'm pointing you to a resource that can answer your question
don't appreciate that?
@UndoneStudios i already have it open :/
i use it a fair bit (mainly for methods)
07:01
then use it more
besides we are living in the golden age of search engines
use them
@DialFrost No but I could find something that could work pretty quick
@Bubbler ye i used that
heres the main problem for me when trying to understand julia: I don't get what the errors are saying
Well I'm not a Julia user so I can't help you out
@UndoneStudios isok
e.g. my current error `
ERROR: LoadError: MethodError: no method matching getindex(::Vector{SubString{String}}; x="n")`

me: *wtf is x="n" i dont have that in my code*
@Bubbler why is your name in italics but ours isnt
07:03
Room ownership
@DialFrost it's probably an argument error
@emanresuA oh
@UndoneStudios lmao i also didnt know that (mostly cuz i didnt even realise it)
@DialFrost Did you use getindex?
@Bubbler no
i used findfirst :/
what's your code
07:06
searching for "julia getindex" reveals that it is same as X[i]
(and why are you trying to execute it)
next question: did you use X[i] notation?
"Do we want questions that are less technical and more UX-related?" what's UX related mean?
user experience = UX
User experience
ninja'd
07:07
well then I'm leaving a downvote
i disagree
@Bubbler er yes
@UndoneStudios I mean more like "developer experience" here (user of a programming language = developer)
I'm beginning to think @DialFrost is trying to trick @Bubbler into helping him while lying
based on your tone
@UndoneStudios ?
if im lying then the advice Bubbler is giving me is useless
@UndoneStudios code.golf :3
@DialFrost Then check the type of X and i and fix it
07:09
@Bubbler but i already did! I followed the docs
no you didn't if the code doesn't work
(unless im being stupid again), i made sure x is a string and i is [1:1] in this case
@Bubbler gd point
oh wait I got it nvm, found the problem
:facepalm: when findfirst gets nothing, it will literally return nothing, so x[1:1] gives "n"
darn why cant it work like python to return -1
then make julia think n is -1
hmm lemme try
using some clues from "Write a program that makes 2+2=5"
07:29
@UndoneStudios yup it worked i just did a little ?: trick
Now act as if Julia is Python
@UndoneStudios you downvote a bad question
if your answer to a good question is no, then you write an answer :P
If I did that, I would receive downvotes on my answer
but you can't downvote a downvote
@UndoneStudios or can you? :3
Downvotes always get downvoted by the community bot
07:34
What
You lose rep if you downvote
Oh
never mind
I'm curious though what question is this drama about?
> -2 rep is nothing
:popcorn:
07:35
0
Q: Do we want questions that are less technical and more UX-related?

BubblerProposal: Programming Language Design The vast majority of the high-scoring questions at the moment are about the technical side of programming language design (how do I implement ...). Many of them will also work on CS.SE as pointed out by pxeger here. I don't think PLD.SE should limit itself li...

@Bubbler's
what no way 1 upvote?
The question is good regardless if you want to answer yes or no
this needs to be discussed
Well I'm not exactly sure about where I stand
this isn't a rational one, it's an emotional one
hey you didn't post your answer based on my question did you?
You drew attention to that question yes and I felt my opinon wasn't sufficiently represented yet
Ironically my opinion is that opinions are bad
it's deleted
but should I ask it again based on your answer?
I can't see deleted things
07:41
forget the deleted part, should I ask again?
I still have 4 questions left :)
@mousetail it's not a contradiction, you expressed your opinion on meta and it's true that opinions are bad on main
but yes it's ironic :P
 
2 hours later…
09:29
hi
hello
10:09
hi guys anyone know whats the syntax of this code?
like order of operators (maybe someone can add brackets in it?) its python btw
n<x>s==sum(map(int,str(x)))
@DialFrost Basically that's n < x and x > s and s == sum(...)
ohhhhh tysm
Abusing python's inequality chaining rules
@Steffan hah passed u again
(ur prob gna pass me again when im asleep ltr)
10:53
it's a tip
 
2 hours later…
12:38
heya people
12:58
I have finally done the 2+2=5 challenge in Scratch
too bad I can't upload it, so I'll send the img here
if you wanna see it
13:12
turbowarp with colored on black background setting on
"turbowarp" - there's a term I haven't heard in ages
turbowarp? I haven't heard that name in many years...
I remember back in the day when a scratch game would straight up not let you play if you were in turbo mode. And if there wasn't a check for turbo mode, it really broke the game by speeding up time cycles
And then of course there were the games/projects where it was essential. Good times
 
2 hours later…
14:58
@graffe idk i just Guesses :P
For a metagolf challenge, would restricting complexity to O(n) be enough to prevent brute force solutions?
15:16
so TIL that three.js can load MMD files
don't... really know what to do with that
@PyGamer0 it is GRIN :)
16:00
@graffe how?
teach me
 
1 hour later…
17:04
@mousetail depending on the thing being metagolfed, that would prevent a lot more than brute force :P
It's numbers so a "normal" algorithm would run on O(log n)
whats metagolf
you golf the golf
17:39
Well I just spent 107 aussie dollarydoos on two small MM300 mouse pads
They are shipping to an only slightly shady seeming reshipper
good luck
Oh no the reshipper wants my photo ID and a utility bill to make sure I'm a real person. Hopefully they allow 17 year olds to use their services...
Uh oh I'm also late to work
See y'all o/
17:55
@Ginger huh
18:23
@Seggan In , your submission program produces another program which solves a given task, and the length of that produced program determines the score of the submission.
ah
CMP: can i submit a koth on CGAC?
18:37
@Seggan IDK, but my first thought is that it's Advent Calendar
yeah same
i should wait till bubbler is desperate for more challenges and he'll accept anything
19:22
maybe I'll add it to Klein :p
20:00
Can't believe it's taken me over two weeks to notice this MSE announcement, as I reckon it'd be useful for us, given the odd challenge we get taken from other sites
hmmmmm
I can see how that'd be useful
 
2 hours later…
22:00
@DLosc Hmm, I wonder if technically, is a subset of
It's some kind of meta-programming challenge, but we don't really have any questions about "metagolfing" other OWCs
I think a question posted on Math Stack Exchange belongs to this site. We'll be transferring it
ah, the negotiator
22:17
0
Q: 1 to N column and row sums

Aiden ChowInspiration There is a problem on the most recent AMC 12B test, the one held on November 16, 2022, which goes like this: (AMC 12B 2022, Question 17) How many \$4\times4\$ arrays whose entries are \$0\$s and \$1\$s are there such that the row sums (the sum of the entries in each row) are \$1\$, \...

@Goku Which question?
@Seggan I mainly intend it to be an event of challenges open to all languages (though I guess I didn't explicitly say it yet)
mhm
23:22
hiya
@DialFrost hello!

« first day (4314 days earlier)      last day (828 days later) »