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

Started using certbot-dns-cloudflare to generate the certificate

https://certbot-dns-cloudflare.readthedocs.io/en/stable/

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

Most things will be posted to meta, exception is things like community showcases which go in the community showcase community. Don't see a reason to separate it out to a new community since there wont really be blog posts outside of talking about our instances

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

Theres some other sources like monkeyuser and abstrusegoose. Also encourages the creation of new comics

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

I added code block support to lemmy-ui so if 0.19 comes out before then yes

If not then no but I can try to figure out a solution

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

starts december 1st

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

In the settings all languages are allowed due to issues with language federation from mastodon and kbin. Its up to the mods what languages they allow. (Majority will be English but allows for some communities that are two if theres some technology where official info is given in another language or for things like c/programming but in another language (naturally hidden from people who don't have that set as their language))

I deleted that german post since its just a stream ad

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

Given some assortment of brackets, you must find the largest substring that is a valid matching bracket pattern

  • 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 (())
  • The valid brackets are ()[]{}

For example for the input {([])()[(])}()] the answer would be ([])() as that is the largest substring that has all matches


You must accept the input as a command line argument (entered when your app is ran) and print out the result

(It will be called like node main.js [(]() 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. 3 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


People who completed the challenge:

submissions open for another day (since the last time I edited the post)

10
P.D Custom Emotes (programming.dev)
submitted 2 years ago* (last edited 2 years ago) by Ategon@programming.dev to c/meta@programming.dev

We now have some possibility for custom emotes available in the instance (now that the bug that was happening with them was fixed). If anyone has some suggestions for what to add feel free to reply with them

Ive added the p.d logo and a couple game engines for now as an example. You can send the p.d logo by typing :pro (or more of the name) and then it should show an autofill you can select if youre using the website (theres an emoji picker as well but it doesnt work for custom emotes)

programming.dev logo godot logo pico-8 logo unity logo

Ill likely be adding some for the logos of various things but mainly want to know if theres anything people want other than that

13
Godot at Gamescom 2023 (godotengine.org)
submitted 2 years ago* (last edited 2 years ago) by Ategon@programming.dev to c/godot@programming.dev
1
submitted 2 years ago* (last edited 2 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

47
submitted 2 years ago* (last edited 2 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 2 years ago* (last edited 2 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

1
Guess the Language: #9 (programming.dev)
submitted 2 years ago* (last edited 2 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

This is a place to discuss things relating to developing for ios.

Currently ill be temporarily managing this community. I have reached out to one of the r/iOSProgramming mods to see if they are interested in running it and if not ill do a post here looking for people

Some other related communities

1
Mods and Helpers wanted! (programming.dev)
submitted 2 years ago* (last edited 2 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

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

This was a cross post rather than a direct post to the community so it acts the same as if its posted on two different communities here like a lemmy cross post (with different threads based on the community the post is on)

If someone on mastodon commented on this version of the thread their comment would show up here

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

Yeah that would fit the community pattern better. Can make that the url and then change the display name around

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

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

Lemmy.world view

Programming.dev view

I can mod a lemmy.world account and see if I can fix it from that

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

Its already deleted, may take a bit to federate to your instance

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

Ive removed this comment due to being unrelated to the actual topic of the post which is the new lemmy frontend. Reminder to keep talks here about rust rather than politics. Theres a ton of other communities for that and the lemmy dev politics have already been discussed heavily

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

no problem! Yeah haha im participating in gmtk so running and hosting at the same time would be pain

view more: ‹ prev next ›

Ategon

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