[-] [email protected] 5 points 11 months ago* (last edited 11 months ago)

Its fixed in the build im working on now and will be back soon. Just finishing up one other feature

[-] [email protected] 5 points 1 year ago* (last edited 1 year ago)

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

[-] [email protected] 5 points 1 year ago* (last edited 1 year ago)

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

[-] [email protected] 5 points 2 years ago* (last edited 2 years ago)

Theres a lot of different frameworks to use for creating them

The most popular one is lemmy-bot which uses js (and has descriptions for how to use it on the page)

Theres also one in python though here with a couple examples in its repo

[-] [email protected] 5 points 2 years ago* (last edited 2 years ago)

[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.

Link to code

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;
      }
    }
  }
}

50
submitted 2 years ago by [email protected] to c/[email protected]

Hello everyone! I've pushed out a public alpha build to https://beta.pangora.social for people to start giving feedback on the design before it becomes more fleshed out

Feel free to check it out and say what you like or dont like in the comments here.

The UI there is currently pointing to the programming.dev instance


⚠ Warning: This is an alpha, things are still very unfinished. You cant use this as an alternative to lemmy-ui yet since things such as logging in aren't supported

⚠ Warning 2: If you attempt to use this on mobile currently it will be very broken


I constructed the UI by seeing what people liked from lemmy-ui, alexandrite, and photon and trying to match it up to how lemmy-ui is built so that it would be an easy switch between them

Main site mechanics that is different from lemmy-ui

  • Comments from cross-posts show up when looking at a post (will be changed in the future to only communities that community has whitelisted to do it for once I mess around in the backend more)
  • Comments and posts that have 0 or less score in terms of upvotes/downvotes will be collapsed by default
  • Clicking on a post in the post feed makes it show up overlayed on top of the feed similar to alexandrite's system instead of sending you to a new page. (hitting the name of the post when in this preview state will send you to the actual page)

Images:

7
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]

Hello everyone! I've pushed out a public alpha build to https://beta.pangora.social/ for people to start giving feedback on the design before it becomes more fleshed out

Feel free to check it out and say what you like or dont like in the comments here.


⚠ Warning: This is an alpha, things are still very unfinished. You cant use this as an alternative to lemmy-ui yet since things such as logging in aren't supported

⚠ Warning 2: If you attempt to use this on mobile currently it will be very broken


I constructed the UI by seeing what people liked from lemmy-ui, alexandrite, and photon and trying to match it up to how lemmy-ui is built so that it would be an easy switch between them

Main site mechanics that is different from lemmy-ui

  • Comments from cross-posts show up when looking at a post (will be changed in the future to only communities that community has whitelisted to do it for once I mess around in the backend more)
  • Comments and posts that have 0 or less score in terms of upvotes/downvotes will be collapsed by default
  • Clicking on a post in the post feed makes it show up overlayed on top of the feed similar to alexandrite's system instead of sending you to a new page. (hitting the name of the post when in this preview state will send you to the actual page)

Images:

3
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]

Had some more free time to work on the pangora.social site so I pushed some support for the new fediseer tagging system so that it automatically populates instances in the instance selector.

Instances will populate in it if they:

  • Have more than 50 members
  • Are tagged with a tag for the site
  • Are not censured by programming.dev or some other instances
  • Can be found when the site checks for instances every day

A list of all tags that are used on the site can be seen at https://pangora.social/tags separated into categories.

I also pushed a little fix to the site so that if theres no instances in a category that category won't show up

102
Outbound Federation Fixed (programming.dev)
submitted 2 years ago by [email protected] to c/[email protected]

Hey everyone, update on https://programming.dev/post/4613085

We did some changes in the database and it seems like outbound federation is working again. If you run into any more problems with it let us know.

Im pinning this post for around a day to let everyone know since we had the last post pinned for a bit

Any posts or comments made while it was broken still wont be federated but new ones should be. The instance essentially marked all other instances as dead which meant it thought it didn't have to send things to them

3
Outbound Federation Bug (programming.dev)
submitted 2 years ago by [email protected] to c/[email protected]

Hey everyone. Currently the instance is being affected by a bug that prevents outbound federation. This seems to have started when the instance upgraded to 0.18.5

Im pinning this post in the instance while it is affected by the bug so everyone is aware as this affects everyone in the instance

Theres an open issue on the lemmy github repository and we are attempting to track down why this is happening and fix it

https://github.com/LemmyNet/lemmy/issues/4039

What the bug means is essentially

  • We still get all posts and comments around the fediverse like normal (so youll see posts made in other communities populate the feeds like normal)
  • Posts and comments made by users in programming.dev are not visible outside programming.dev

Hopefully itll be resolved soon. If anyones able to get some info that would be helpful towards resolving the bug throw it here or in the github issue

2
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]

Hey everyone! I'm back from doing things for Ludum Dare and am starting work back up on Pangora.

Spent a bit setting up a backend so I can start implementing some backend features such as flairs and started some progress on the admin settings in Pangora-UI

My current plan is to add two new features onto the backend and then clean up and add everything from lemmy-ui that hasnt been added already to get it ready to be publicly tested. After which will be aimed for a first release

Flairs

The first feature being added is going to be flairs which is the main thing that ive noticed has been lacking when interacting with lemmy.

Flairs are split up into four different types

  • instance flairs
  • community flairs
  • post flairs
  • user flairs

Instance Flairs

Instance flairs are flairs set on the instance/site level to show what kind of content your instance contains. For example for programming.dev we can instance tag ourself with programming and mander can tag themselves with science. This can then be shown in the site sidebar and to categorize instances in sites such as https://pangora.social/ .

The instance flairs available will be the same across instances so that a consistent instance flair naming system can be enforced but people can freely request new flairs from the repo if theres one thats missing.

Community Flairs

Community flairs are set on communities to show what kind of content that community contains. These can be created by instance admins and set on a community by community mods

A community flair for programming.dev might be gamedev (to put on godot, unreal_engine, gamedev_news, play_my_game, etc.)

Post Flairs

Post flairs can be set on posts to categorize posts in a community. In a community about godot some posts may be tagged as help if its a help request, or news if its something such as news from the godot blog.

These flairs can be created by community mods and have a setting to make them either only able to be set by mods or be able to be set by both mods and users.

User Flairs

User flairs are community-specific and can be set on a user in that community. People might add a flair onto themselves if theyre an official developer for a software, or for more cosmetic reasons to theme themselves around the community

Admin Permissions

Second thing I want to add is different permission levels for admins. Currently adding an admin to your site gives them access to basically everything on the site. This can cause issues if you for example only want to add someone who can accept applications but dont want to give them access to causing chaos with your site information.

Entering a new permission system for admins. How this is going to work is new roles are going to be able to be created in the site and set to have different permissions. You can create an accepter role that can only accept applications, an emoji master role that is able to create and delete emojis on the site, an admin trainee role that is able to do most things in the site that can easily be reversed, and a standard admin role that is able to do everything.

Permissions are going to be all booleans and able to be stored in one variable length integer per role with one bit per permission (with the bit set to 1 if that permission is given, and 0 if not)

Admins with the role managing permission are going to be able to create and manage roles below them to add some new ones to the site. Instance owners have every permission by default and are at the highest level in the role chain and this cannot be changed without transferring the site ownership.

Ending Note

Thanks everyone for joining and watching the progress here on pangora! If youre interested in helping out feel free to join the matrix and I can help get you set up with the codebase. https://matrix.to/#/#pangora:matrix.org . Backend is in rust and frontend is using Next.js with TypeScript

This is something I'm currently working on part time with most of my time going to university (and some time going to gamedev) but as progress is concentrated on a couple features it still should be getting some good amount of development done. Its also downstream from lemmy so any updates and bug fixes the lemmy devs make will also be merged into Pangora to help keep the two as close as possible (and ill be making pull requests into lemmy once flairs and admin permissions are stable for them to accept or not. )

For transparency on who I am. I'm a computer science student in Canada currently mostly doing work in gamedev and webdev. I try to run AMAs every so often here in [email protected] and should be doing another one soon if anyone wants to ask me some questions there. Ive been mostly doing work on managing communities here in the instance but ive been onboarding some new admins and will start mostly working on development of Pangora in the future.

1
submitted 2 years ago by [email protected] to c/[email protected]
20
submitted 2 years ago by [email protected] to c/[email protected]

[email protected]

A community for the ludum dare game jam! Feel free to show off your games, discuss, or ask questions about it

Community for it as the event starts in a bit more than 24 hours

1
submitted 2 years ago by [email protected] to c/[email protected]

Its being run similar to how its been in the last couple events. You can participate in any one of these three formats:

  • The Compo – 48 hour deadline, solo, from scratch (as much as is reasonable), and share your source code. Scored if you give enough feedback.
  • The Jam (recommended for your first time) – 72 hour deadline, solo or team, mostly from scratch, opting out of the Graphics or Audio categories if yours isn’t original. Scored if you give enough feedback.
  • Extra – 3 week deadline, solo or team, mostly from scratch, opting out of the Graphics or Audio categories if yours isn’t original. Take as few or as many days as you need. No score at the end, but you will get feedback if you submit early and give feedback.

Event Details

1
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]

Pushed an update to https://pangora.social/ to improve various aspects of the instance selector.

Instance Preview

Instead of directly sending someone to an instance it will instead show a preview of the instance so they can see info on it. Info includes:

  • A description of the instance
  • Name & Icon
  • The site administrators (hovering over an avatar gives a popup with info on them)
  • The instance uptime
  • Where the instance is hosted
  • The software and version used for the instance

Theres also a get another site button that pops up if theres more than 1 site for a certain category. When clicked it just gives another one in the category.

Category Shuffling

I changed around the locations of some of the categories and added some new ones. Certain categories will point to general instances until a specific instance is made for that category (but it exists with the general instances for now so I can automate adding stuff to it in the future)

Regions was added as a main category instead of being in other, and crypto and finance was moved into technology.

Pages

If theres too many subcategories for a category it now gets split up into different pages. Currently only happens in the regions category and replaces the old behaviour of using an other category to then send people to another section with more


Wanted to do another update before I start focusing a ton on ludum dare. There may be another update that gets pushed recentish to make instance owners be able to add themselves to categories but unknown when that will go out.

If you host an instance and you want it to be listed (and it isnt already) just let me know and ill add it.

1
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]

Hey Everyone! Back with another update on pangora. This week has had a little less progress in terms of pangora-ui and more setting up various other aspects.

Pangora now has a main site at https://pangora.social/. This will be used as the equivalent to join-lemmy.org and theres going to be a subdomain for testing out pangora-ui once it gets a bit more stable.

On the site currently theres some info about pangora and an instance selector for people to go through to find an instance they want to join. I made it so it sends people more often to what theyre interested in rather than a general purpose instance to help grow the niche instances more

Theres some misc pangora-ui changes but as theyre not big ill hold off on showing them off until the larger feature theyre part of is done

In addition I updated my remindme bot and moved it over to the pangora organization in github. In the future ill be moving the rest of my bots over as well.

Development will likely severely slow down for a bit while I focus on ludum dare and some events after ludum dare but I should be back with another update in a few weeks.

127
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]

https://pangora.social/join

Hey everyone! I recently finished up an instance selector similar to join-lemmy. There are a couple issues with join-lemmy with it sending the majority of people to the general purpose instances instead of growing the niche instances, as well as giving people way too many options at once which can turn into choice paralysis.

The selector will be the default when people visit the pangora site and people can also use it to select lemmy instances instead of using join-lemmy since im keeping pangora and lemmy as close to each other as possible.

How it works:

  • Users are presented with 10 main categories (technology, sports, art, etc.). They can choose one which will be the category of content they primarily look at
  • ~~If a category has no subcategories they will then be sent to a random instance for that category (e.g. if they choose sports they get sent to fanaticus)~~ Update: If a category has no subcategories they are shown a preview of a random instance for that category (e.g. if they choose sports they get a preview of fanaticus to look at and then possibly click visit)
  • Else if a category has subcategories they are then shown those to pick from (e.g. technology when selected will show programming, radio, etc.) (and when selected repeat previous step)

I added almost every active instance to the site so feel free to use it to check out some other instances for various topics

Hope you enjoy :)

site: https://pangora.social/join
source code: https://github.com/PangoraWeb/pangora.social

[-] [email protected] 5 points 2 years ago* (last edited 2 years ago)

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)

[-] [email protected] 5 points 2 years ago

theres no official support currently but thats what W4 will become. Theres a lot of unofficial support currently though

[-] [email protected] 5 points 2 years ago
  • Testing pre release versions
  • Editor version to match the game for game mods
  • Godot 3 vs Godot 4
  • GdScript vs C#
[-] [email protected] 5 points 2 years ago* (last edited 2 years ago)

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

[-] [email protected] 5 points 2 years ago* (last edited 2 years ago)

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)

[-] [email protected] 5 points 2 years ago* (last edited 2 years ago)

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

[-] [email protected] 5 points 2 years ago* (last edited 2 years ago)

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

view more: ‹ prev next ›

Ategon

0 post score
0 comment score
joined 2 years ago
MODERATOR OF