@Seggan No, I'm pretty sure tracing garbage collection refers to how it's determined what's still being used, not how the unused memory is kept track of
There can be compacting or non-compacting tracing garbage collectors, and while this is technically non-compacting I guess, it's not really the normal way you'd do it from what I can tell
Which is why I'm asking what that method of doing it is called :p
I've used that sort of strategy a few times, e.g., in a world map storage format for a planned game, and a project where I implemented a stack and RAM directly on the brainfuck tape, and my typical assumption with things is "if I can come up with it myself someone already did fifty years ago and named it after the person who did it before them" :p
(A lesson I learned when I spent all day thinking of this super awesome way to encode things in a small number of bits, and it related to binary trees, and it was super cool, and then y'all were like "yea radvylf that's huffman coding duh")
Find the Caesar cipher shift
[Description of Caesar cipher]
Given a string which represents a sentence encoded using a Caesar cipher with some shift \$n\$, output a guess for \$n\$. (You can decide whether punctuation is included of excluded.)
For example, if you take the word Happy code golfing!...
The advantage of big endian is that it's how we typically read/write it, but small endian is more convenient since digits[i] will always be the same power of 10 place regardless of the size of the number
E.g., [8, 4, 0, 2] and [6, 5, 2] both have their 1s place at index 0, 10s at index 1, ...
code-golfgrid
Optimally pop all the bubbles
In a given 2d grid of numbers (representing different types of "bubbles"), there are one of two actions that you can do each "step". You can either:
Pop an island (a connected group of bubbles) of the same type of bubbles, given that the island consis...
Welcome to the sixth Language Design Workshop! The general premise is that you can post work you've done or are doing on esolangs and people will give feedback. In short, you'll get to show off our languages and their features, chat about them, get feedback, try out WIP languages, and, hopefully get ideas over the next 24 hours.
maybe I should set up a program to make this account post that message when the event starts :p
def implied_type_conversion(value, to_type, implied=True):
from_type = type_(value)
if type(to_type) == dict: to_type = to_type[from_type]
if from_type == to_type: return value
if implied: warn(f'IMPL TYPE CONV AT LINE {current_line+1}')
if from_type == 'int' and to_type == 'float': return float(value)
if from_type == 'float' and to_type == 'int': return int(value//1)
if from_type == 'string' and to_type == 'character': return value[0]
if from_type == 'array' and to_type == 'set': return set(value)
Actually LDQ I have a function system, but I'm wondering if I should allow functions to recurse? It would make the language more usable but also allow you to potentially avoid engaging with the whole cellular automata system
@mousetail Not really though, loads of people here are master/phd level computer scientists/developers who are obviously passionnate about those kinds of things
LDQ: preface: i already know im doing this bad question: for infix, which order should unary / binary operators priority? example: U is a unary operator, B is a binary operator U0B1 = B(U(0),1) or U(B(0,1))
Or, at the very least, it's not something I'm looking for feedback on, as it's almost always going to be "When no answers have been posted after X time, the second to last answer wins"
we Launched our new landing page Prompt attestation but we want to add Lottie animation on our main page prompt Attestation we tried but Lottie is asking about their location is there any possibility to add their js to our domain and play, we don't know the process can anyone explain the process ...
BREAKING NEWS: There is a phishing attack against PyPI users in progress right now. Please be on the lookout for any suspicious emails from "PyPI" if you have packages on pypi.org.
It depends:
If the answer-chaining question is :
Scored based off of the chain, then the tag is self-contained. For example, scoring by the last answer (or second to last answer).
Scored based off of something else, and the chain is a restriction, then the tag is not self-contained.
Programm...
Practical languages: "It looks like you're about to shoot yourself in the foot. You should probably reconsider." Golfing languages: "Foot-shooting goes brrrr"