« first day (5123 days earlier)      last day (15 days later) » 

00:00
code golf brainrot so real I think theseus is a synonym for online interpreter regardless of language :p
(btw I made a chatroom for Jalapeno - chat.stackexchange.com/rooms/157573/spicy-golf)
Does any existing golf language contain inverses?
not as far as I know
a few golflangs have specific "under" operations e.g. transpose, reverse, etc but nothing general
I wonder if a language somewhere between Vyxal and Uiua would be better than Vyxal at golf
probably :3
There's a lot of room for improvement on both ends
By the time you've spent bytes on inverses you might as well have added a digraph for it :p
Or a monograph even
00:12
It's a lot more powerful than you might think
^
I think Under would be a very interesting thing to see in a golflang.
@emanresuA powerful no doubt
But short is what I question
Even just structural under, which is simpler to implement but less powerful, would probably be golfier than the alternative in some cases.
Might not be worth the implementation effort to add to Vyxal currently, though.
Wouldn't make much sense with some other things about Vyxal.
I would not recommend starting with (either) vyxal
Lol
I'm not going to make this. Might sketch out some ideas but I don't really want to make a golflang.
00:16
fair :3
If it's next gen you want, inverses aren't the way to go. Non determinism is
Nekomata for example
There are a lot of unexplored avenues. I'd caution against pushing any specific one too far
and especially against attempting to shoehorn them in to an existing language without sufficient consideration
At some point I did start making a Japt-like language with terser syntax, which I would like to finish eventually, though I haven't worked on it for a while.
00:18
Sounds interesting :3
@noodleperson tbh I don't think anything will be added for a while
I've kinda sorta moved on from golflang design
And when I say kinda sorta I mean I have
My current language sketches are all practical :p
@lyxal Same
01:02
0
A: "Hello, World!"

Bbrk24Self-Modifying Trilangle, 29 bytes <_.)>(o@.#\,../␀!dlroW ,olleH (␀ should be an actual NUL byte) :3

This language is mostly a joke
 
1 hour later…
02:23
Lol cool
03:06
Why it feels that "If x=1, then x=2 is false, while "x≠1 or x=2" is undecided? Any paper/blog discussing about the implication of for-all in word "if"?
 
1 hour later…
04:12
kinda want to go back to working on sttl
it's currently very unpowerful
i have some ideas but there's some stuff i'm not sure how to deal with
like, functions naturally would be represented as just sets of pairs
but then how do i write a function with an infinite set argument type?
0
Q: Half Price for Every Second Pizza

tataPizzaTata is a popular restaurant specializing in pizza delivery. Customers can order pizzas by phone. And each order is charged by the sum of pizza prices and the delivery fee. Pizza Prices: The cost of each individual pizza. Delivery Fee: A fixed fee per order, regardless of the number of pizz...

wild question title
Wait it's not a spam
@ATaco EXACTLY
That actually messed with me
04:19
I thought the same thing but no it's just a cool question
 
4 hours later…
08:17
@lyxal antifreeze 19¾ ?
@NewPosts also don't bite this noob, they did use the sandbox :v
 
2 hours later…
10:01
@Themoonisacheese no
10:15
(the joke being that I can't)
@hyperneutrino funny haha room owner room machine broke
Needs unfreezening
It will always confound me that I count towards moderator activity for freezing purposes but I don't have any other moderator abilities there
Like why even consider me a moderator for antifreeze purposes at that point?
When I can't even unfreeze it myself
SE chat is a very sensibly designed service yes
isn't there some bs that since you're ♦ you could in theory take over the room?
Well see I'm actually not considered diamond there
Well not outside of counting towards moderator activity
And being allowed to have unlimited edits
But that's it
Now, if I was a room owner of the room I'd have full mod powers
Because apparently being room owner of a private room enables diamond abilities in a private room that isn't on your site
(or unparanted)
But that's also outside of what I can do without a code golf mod intervening
And at that point they might as well just unfreeze the room
So it's a situation where we're powerless to use the room dedicated to room ownership :p
We love SE so very much
11:05
Why, when I search for BitCycle, do I see my own fork and not the original repo?
what page did you search from?
just duckduckgo for "bitcycle language"
possibly because the original bitcycle is a folder in a repo not named bitcycle
admittedly, the original shows 4 results down
11:55
@lyxal speaking of, I've published my initial specs for what would have been Vyxal 5: github.com/lyxal/Valiance-Lang
it's a very bare bones idea right now
but it's getting there
 
1 hour later…
13:00
Can it really be true that python multiprocessing pickles anything you want to pass to a worker separately for each worker and in serial??
This doesn't seem well designed
No shit Sherlock
@Simd how else would it work in a languages that wasn't designed for speed in the first place
@Themoonisacheese they could pickle it once!
Why repickle over and over again?
well no, now there's several threads doing god knows what and the object may change
@mousetail 😁
13:14
Normally the data you pass to each worker would be different right?
@Themoonisacheese if I use pool.map the object can't change can it?
@mousetail yes that is true. I guess I don't know how to say it's the same thing
If it's the same for every object in the pool you can set it as a global or local variable and not pass it as an argument at all
(Assuming Linux or Mac)
If you are on windows a local variable will not work but a global one will
How would I pass it to a worker like that? It's a function that I am passing which takes a few seconds to pickle
I am on Linux
@Simd yeah but the runtime doesn't know that
(also i think it still could)
@Simd Why do you need to pass it as an argument? You can just reference it without passing it
13:19
@mousetail I have a function that computers a lambda function. It takes about 30 seconds to run. So I want to do that once and pass the lambda function to all the workers
I don't know how to make the lambda function visible to the workers otherwise
So what you actually need to pass is not the function but the data contained in a local variable in the function?
Can you extract that part?
Otherwise you can assign the lambda to a global variable instead of passing it as an argument, on Linux both should work as long as it's initialized before the fork and not explicitly passed
@mousetail I could try but it's not trivial as the lambda function is quite complicated it and relies on external c++ code
@mousetail I will try that, thank you
if your codebase has c++ code i think it'd be more efficient to simply do the expensive stuff in c++ to begin with
I don't understand how an independent process can access a global variable created before it is started
@mousetail could you explain that?
The processes are not independent until the fork call
13:24
And then they all get a copy of the global variables?
Thank you. I wish there was something I could read to learn about these things. I don't find the multiprocessing docs helpful
Can I declare a global variable inside a method in a class?
@Simd pretty sure you can declare anything global
it's not exactly great practice to use globals at all as i'm sure you're aware but perf is perf
Thanks. I will give it a go
@Themoonisacheese yes. I was trying to avoid it
Hmm... Maybe initializer is the thing to do?
att
att
13:56
apparently i havent done python in too long
while I am pushing python to do things it doesn't want to, how would you convert np.array(['1e401', '1e000', '1e401', '1e000'], dtype=np.float128) into a list of integers?
14:43
@Simd 10^401 is not representable as an integer
14:59
@Themoonisacheese it definitely is!
Try 10**401
@Themoonisacheese what you have found is that it's not representable as a float64
in fact it's not representable as a float128, but its first few digits will be 1000000000 so nobody really minds
att
att
python ints are bigints
apparently my installation of numpy doesn't have float128 huh
att
att
15:24
@Simd [int(n) for n in _] maybe
@lyxal help, now im in a rabbit hole reading about non deterministic languages
15:43
@att are you on a Mac?
@Neil curse the lack of types
rather type annotations for literals but whatever
16:24
1
Q: Card-Jitsu Part 2: Make a Card-Jitsu clone

Weird GlyphsPart 1 is available here. Card-Jitsu was a mini card-game based on Rock, Paper, Scissors available on the children MMO game Club Penguin. A lot of footage of this game is available online, and may be useful if you want to know what the actual game looks like. However, you obviously don't need to ...

17:10
Currently, 4/10 starred messages are mine. I wonder if anyone has ever achieved 10/10
17:31
I've had 6
Rydwolf's had like 7 before :p
17:53
Challenge idea: N trains with given length are queued to cross a N by N grid of tracks. How long at minimum will it take them all to cross?
18:08
@mousetail very nice
Will you specify where each one starts and has to end?
They will all start in a line along the left and bottom edge
And go in a straight line?
Half on each edge?
18:20
Do the ones on the same edge all start at the same place?
Or are they spread out along the edge
==>....
 =>....
==>....
  >....
   ^^^^
   | |
   |
Something like this, they start in a line facing the same direction
parallel, not behind eachother
Got you
I hope there is not some kind of simple formula for it that simplifies it so much that it becomes a duplicate of something far more basic again
You should definitely pose it as a challenge
Would you answer if I did?
18:28
@mousetail if it was code challenge, probably
Not code golf
@mousetail Sounds a bit like the game Rush Hour
I'm not sure how I could score it as a code challenge
I guess there would be two parameters, number of trains and train length?
Probably just a single array for simplicity
@mousetail minimum time for all trains to complete?
18:29
The optimal answer is pretty easy to find though
Ah ok
At least I think for most cases, though I think the problem is most likely NP-complete in the general case
 
1 hour later…
19:59
@mousetail I didn't get that far it doesn't look easy in the general case
Usually I'm able to quite easily visualize a solution I think is likely optimal, though I can't prove it, or know an algorithm
 
2 hours later…
att
att
22:06
@Simd no, windows 11
Windows 11 is what finally convinced me to use Linux
22:18
true...
anything but 11
I like to 11
att
att
22:33
unfortunately i like it when i can assume programs support my os
^
Even when the OS in question is buggy and annoying
hey, all you need is Proton and five hours
what
@noodleperson 11
22:56
@Ginger liar
it takes two days, not 5 hours
and it still doesnt work right
@Ginger get Lego Star Wars to stop crashing then we'll talk
I've only expended like two hours on that
smh
@DLosc Lol, I was going for Mod Abuse 11
23:11
@Ginger they sponsored a hackathon here
I see
@DLosc 11 = 3 + EIGHT

« first day (5123 days earlier)      last day (15 days later) »