Some trolls post csam which is why this is currently remove everything rather than handle afterwards since I would rather not let our users see csam. If you get a bit of activity in your account that handling goes away and usually ill restore the post a bit after if I see the automod has removed It but looks like you reposted
Yeah theyre still by far #1 in terms of MAU even when not taking into account votes while everyone else is so might bump it up by another 10k
[JavaScript] Well that was by far the hardest out of all of the days, part 1 was relatively fine but part 2 took me awhile of trying different things
Ended up solving it by working backwards by trying different location values and seeing if that can become a valid seed. Takes around 3 secs to compute the answer.
Part 1 Code Block
// Part 1
// ======
function part1(input) {
const split = input.split("\r\n\r\n");
let pastValues = split[0].match(/\d+/g).map((x) => parseInt(x));
let currentValues = [];
for (const section of split.slice(1)) {
for (const line of section.split("\r\n")) {
const values = line.match(/\d+/g)?.map((x) => parseInt(x));
if (!values) {
continue;
}
const sourceStart = values[1];
const destinationStart = values[0];
const length = values[2];
for (let i = 0; i < pastValues.length; i++) {
if (
pastValues[i] >= sourceStart &&
pastValues[i] < sourceStart + length
) {
currentValues.push(destinationStart + pastValues[i] - sourceStart);
pastValues.splice(i, 1);
i--;
}
}
}
for (let i = 0; i < pastValues.length; i++) {
currentValues.push(pastValues[i]);
}
pastValues = [...currentValues];
currentValues = [];
}
return Math.min(...pastValues);
}
Part 2 Code Block
// Part 2
// ======
function part2(input) {
const split = input.split("\r\n\r\n");
let seeds = split[0].match(/\d+/g).map((x) => parseInt(x));
seeds = seeds
.filter((x, i) => i % 2 == 0)
.map((x, i) => [x, seeds[i * 2 + 1]]);
const maps = split
.slice(1)
.map((x) => {
const lines = x.split("\r\n");
return lines
.map((x) => x.match(/\d+/g)?.map((x) => parseInt(x)))
.filter((x) => x);
})
.reverse();
for (let i = 0; true; i++) {
let curValue = i;
for (const map of maps) {
for (const line of map) {
const sourceStart = line[1];
const destinationStart = line[0];
const length = line[2];
if (
curValue >= destinationStart &&
curValue < destinationStart + length
) {
curValue = sourceStart + curValue - destinationStart;
break;
}
}
}
for (const [seedRangeStart, seedRangeLength] of seeds) {
if (
curValue >= seedRangeStart &&
curValue < seedRangeStart + seedRangeLength
) {
return i;
}
}
}
}
PMs would be ideal but it doesnt work across platforms. I can try to put in a check to see if someones on lemmy and switch to messaging if so but would be a bit since I have a lot of other things to finish up in my backlog of tasks for things like pangora (someone else can feel free to make a pull request though)
theres no official support currently but thats what W4 will become. Theres a lot of unofficial support currently though
- Testing pre release versions
- Editor version to match the game for game mods
- Godot 3 vs Godot 4
- GdScript vs C#
Note if two instances are defederated from each other they can't see each others posts & comments on some third instance
So if people from world and people from beehaw comment on a post here people in p.d can see them both but the beehaw users can't see the world users (if you check this thread on beehaw theres some comments missing)
Due to this and the nature of this instance the people in different instances interacting with each other hasnt been a problem and its mainly the all feed. As you said people deciding whether they want to join the instance can't curate their all feed while they lurk so having that not be shit is ideal (and reducing the amount of blocks people need to do)
I found an option when digging through the lemmy code yesterday that allows a community to be hidden so it doesn't show in the all feed which might be the best thing to do currently. (It just can only be set from the backend and has no ui to set it for some reason ). Still allows users to interact here since that hasnt been a problem and still allows people to sub to those communities. Would have to be extended eventually to be able to cover entire instances and could make it a screen when somebody joins the instance of if they want to see things like politics, sports, etc. which could enable or disable different things to be hidden
Note: I think most people in here arent going to click on a reddit link so you may get some more views if you link something like a youtube or piped link instead
You can also link directly to the reddit video using this url https://v.redd.it/o6md1vnuemcb1/DASH_1080.mp4?source=fallback (if you want to set that as the url you can edit the message (click on the three dots, then click edit if youre on web) and then put it into the url box instead of the reddit link)
yeah thats one of the possible options in the vote (option 1 is anything goes, option 2 is same but also guides people for their future posts on that topic after they posted something) if you want I can note one of those down as your vote
thanks noted it down
yeah in the past ive tried to use different third party sites but havent found one that really works
rcv123 is the best option but its very easy to cheat in it by opening a new browser. snowe has been setting up a native voting system in lemmy that we might be able to use eventually
Ategon
0 post score0 comment score
Its fixed in the build im working on now and will be back soon. Just finishing up one other feature