[-] Ategon@programming.dev 4 points 2 years ago* (last edited 2 years ago)

Not possible in lemmy atm past just rehiding everything from the instance every so often

edit: just did another round of hiding things from lemmynsfw, should be reflected in the hidden communities doc

[-] Ategon@programming.dev 4 points 2 years ago

For people on other instances, you might not see posts 29 and 30 due to some issues (e.g. people on .world) but you can see them by going to https://programming.dev/c/godot

[-] Ategon@programming.dev 4 points 2 years ago

Caused by the same db issue thats been causing issues

[-] Ategon@programming.dev 4 points 2 years ago

Its been getting looked at and we have some more people that are being added on to help out as well

[-] Ategon@programming.dev 4 points 2 years ago

Issue should be fixed, messed around with the db a bit and seems to work now

[-] Ategon@programming.dev 4 points 2 years ago

I've been working on a new frontend (pangora-ui) thats a similar style in terms of design. Theres some progress over in !pangora@programming.dev. These features can't be put into that though since the frontend is instance specific (lemmy-ui equivalent) and this is for all instances (join-lemmy equivalent)

[-] Ategon@programming.dev 4 points 2 years ago* (last edited 2 years ago)

I recently pushed out an update that shows a preview instead of just sending them to it (with a button where someone can get a new instance for the category). I updated the post to reflect that now

Similar ish to what you said but I've been keeping it at 1 instance shown at a time to stop choice paralysis (but they can see other ones in the category now by getting a new 1 instance)

[-] Ategon@programming.dev 4 points 2 years ago

lemmyf isnt currently listed since its one of the instances that I had no idea existed. Would be under nsfw though

[-] Ategon@programming.dev 4 points 2 years ago* (last edited 2 years ago)

Instance is chosen when theres no subcategories for what the user selected

As an example of that when someone first goes to the site they get shown the 10 main categories (technology, gaming, sports, etc.). If they select technology they are then shown the technology subcategories (programming, android, radio, general). if they select general technology that has no subcategories so they are randomly sent to one of the three general technology instances (discuss.tchncs.de, lemmy.sdf.org, or infosec.pub)

A lot of the categories only have one site it sends to but thats fine for now since it still is distributing people to the different sites based on categories

Im not looking at location data at all but in the everything/other category theres countries that can be selected to send the user to country instances

[-] Ategon@programming.dev 4 points 3 years ago* (last edited 3 years ago)

I tried messaging an account I though was running it when your bots posted something to elixir but I can repost it here

Just wanted to let you know that we dont allow reposting of comments made on other platforms (both for spam reasons and tends to be a mess with gdpr). Link posts with no text are fine as long as you get approval from a moderator of a community or by one of the admins for site wide usage (and then allow moderators to opt out), and follow our bot guidelines that you can find in the sidebar on our site. Id be willing to greenlight the bot for sitewide usage as long as you remove the comments, make posts links only (links to the content, not the reddit post) and limit it to maximum 10 posts a day across the instance (max 2 in a specific community) (and also make sure you dont repost stuff already posted in the community). We have another bot called reddit x-poster that its been working fairly well with but they hang out in a couple communities like haskell

1
submitted 3 years ago* (last edited 3 years ago) by Ategon@programming.dev to c/challenges@programming.dev

Bracket Inc. wants to ship out new products using their excess brackets. They have tasked you with generating every possible assortment of brackets for some n brackets where the brackets will match

  • A bracket match is an opening and closing version of the same kind of bracket beside each other ()
  • If a bracket matches then outer brackets can also match (())
  • n will be an even number
  • The valid brackets are ()[]{}

For example for n = 4 the options are

  • ()()
  • (())
  • [][]
  • [[]]
  • {}{}
  • {{}}
  • []()
  • ()[]
  • (){}
  • {}()
  • []{}
  • {}[]
  • ({})
  • {()}
  • ([])
  • [()]
  • {[]}
  • [{}]

You must accept n as a command line argument (entered when your app is ran) and print out all of the matches, one per line

(It will be called like node main.js 4 or however else to run apps in your language)

You can use the solution tester in this post to test you followed the correct format https://programming.dev/post/1805174

Any programming language may be used. 2 points will be given if you pass all the test cases with 1 bonus point going to whoevers performs the quickest and 1 for whoever can get the least amount of characters

To submit put the code and the language you used below

46
submitted 3 years ago* (last edited 3 years ago) by Ategon@programming.dev to c/meta@programming.dev

Hey everyone! I'll be going through and making features for the site soon (as I've almost got my laptop back) and wanted to know if there was any features that are wanted that I dont already have noted down

I'm currently planning to do:

  • Customizable icon shapes (circle, hexagon, etc.)
  • Flairs
  • Ability to block an instance
  • Ability for admins or community mods to hide communities from the all feed
  • Community short descriptions (to show in the community list + top of sidebar)

And polls are also being worked on by snowe

Will try to get the changes merged into lemmy itself as well but they'll be released here first

1
Guess the language: #10 (programming.dev)
IO.puts "Hello, world!"

Options: Erlang, Elixir, Julia, Kotlin

Use the following link to guess an answer, answer + results posted in 12 hours. (If you say the answer in the replies please put it in spoiler tags)

https://strawpoll.com/e2narP0olgB

1

Ive created a js app that can be used to test solutions for the community. Certain ones people made for challenge #1 wont be able to be put through it since they accept user input through entering it while its running rather than command line arguments but ill be enforcing command line argument use going forward

Let me know if theres any issues you find with it. I tested with with javascript, python, and rust and seemed to be working great. There can be differences in runtime when you run the same thing multiple times so ill be taking the median of running it 50 times for the performance score in the challenge

1
submitted 3 years ago* (last edited 3 years ago) by Ategon@programming.dev to c/trivia@programming.dev

Options: TRS-80, Altair 8800, Commodore 64, Apple II

Use the following link to guess an answer: https://strawpoll.com/e2narPLNzgB

If you say the answer in the replies please put it a spoiler tag

2
Guess the Language: #9 (programming.dev)
submitted 3 years ago* (last edited 3 years ago) by Ategon@programming.dev to c/trivia@programming.dev
import std.stdio;

void main()
{
    writeln("Enter a number:");
    int input;
    readf("%d", &input);
    writeln("Factorial:", factorial(input));
}

int factorial(int n)
{
    if (n <= 1)
        return 1;
    return n * factorial(n - 1);
}

Options: Vala, Crystal, D, Nim

Use the following link to guess an answer, answer + results posted in 12 hours. (If you say the answer in the replies please put it in spoiler tags)

https://strawpoll.com/Qrgebk7PKZp

1
Mods and Helpers wanted! (programming.dev)
submitted 3 years ago* (last edited 3 years ago) by Ategon@programming.dev to c/challenges@programming.dev

Hey everyone,

Currently looking for some more help with this community. Out of all of them I'm running for the instance this one by far takes the most work since it involves checking peoples code against tests.

I'm starting work on some generic testing systems for various languages (will do another post about that soon) that should help reduce the amount of work but if anyone else wants to help me create and run the challenges let me know (or if anyone wants to help out with running the tests with peoples code and giving them results)

Theres a matrix room for this community at https://matrix.to/#/#p.d-challenges:matrix.org

1

Use the following link to guess an answer: https://strawpoll.com/w4nWrMRBdyA

You can discuss it below but if you say the answer put it in spoiler tags

1
submitted 3 years ago* (last edited 3 years ago) by Ategon@programming.dev to c/challenges@programming.dev

Welcome to the first programming challenge! Three of these will be posted a week and you can complete it in any language you want.

You get a point for completing an easy challenge, 2 for a medium, and 3 for a hard. For each challenge if you solve it in the least amount of characters you get a bonus point, and if your code runs the fastest when I check it you also get a bonus point. (ties mean everyone who tied gets the bonus point although exact duplicate answers wont count)

Ill be posting a leaderboard that will show the people who have the most points every month

Submissions will be open for a week


As a new hire of bracket inc., you have been tasked with getting rid of excess brackets lying around the facility. You must simplify a series of brackets so that only brackets that dont have a match remain (a match is an opening and closing bracket of the same type beside each other). The final result should have no matches

As an example for the input [(({})({)(()}] the expected output would be [(({)(}]

These are the valid types of brackets: (){}[]

Your system will be tested against 10 different unknown test cases before it is unleashed on the facility. In order to complete this task you must pass all of the test cases.

Any programming language may be used and to submit an answer reply on this post with the code and the language you coded it in

Edit: Clarification, you must take input in from the user using the program instead of them being hardcoded. (makes it easier to test)

15
Instance Taglines (programming.dev)
submitted 3 years ago* (last edited 3 years ago) by Ategon@programming.dev to c/meta@programming.dev

I've been experimenting with putting random quotes from the !quotes@programming.dev community as taglines in the instance.

It will automatically put a random quote every time you go to a page in the site. I put the ones that are shorter so they don't flood the page, and that were upvoted.

Theres also a link back to the quotes community if you click on the credit where you can discuss about that quote. As more quotes get added to the community the pool of tagine quotes will grow

  • note they may not be visible on certain lemmy clients depending on what features the clients support but they work on web
1

This is a community that will have various programming challenges to complete (in any language of your choosing)

Posts will be done three times a week (one easy, one medium, one hard) with the first easy one coming tomorrow

I'm currently running the community until somebody else volunteers but if anyone else wants to manage it let me know

1

Upvote one of the options below to vote, you can reply on an option with more details

[-] Ategon@programming.dev 4 points 3 years ago

Due to issues with this poll would you guys be open to running it again on rcv123?

Things that would change

  • Random ordering of options
  • Better descriptions of options
  • Handling so theres no accidental voting
  • Better ranked system (transferable vote instead of points)
[-] Ategon@programming.dev 4 points 3 years ago* (last edited 3 years ago)

Ive got a couple more communities from the programming.dev instance

view more: ‹ prev next ›

Ategon

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