Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Activity for Trilarion‭

Type On... Excerpt Status Date
Edit Post #283848 Post edited:
better formatting, removed a few unnecessary phrases
about 1 year ago
Edit Post #280492 Post edited:
added link to wiki page about test cases
about 1 year ago
Edit Post #285866 Initial revision about 2 years ago
Answer A: What (where) are the current code standards and commit guidelines?
So far nobody else has answered. That's why I took the code standards that were stored in the old core.wiki (https://github.com/codidact/core/wiki) and combined them and re-formatted them slightly in a single CODE-STANDARDS file (https://github.com/Trilarion/qpixel/blob/updatedreadmeandinstallationin...
(more)
about 2 years ago
Comment Post #285625 @#53922 "not data" But that's exactly what I'm interested in. I want to know something about the "data" of Codidact, that's why I need somebody with access to the production server.
(more)
about 2 years ago
Comment Post #285625 I was asking for specifically for Codidact here.
(more)
about 2 years ago
Comment Post #285625 Where should I input that? I do not have have access to the production server. Otherwise I would do `select count(*) from users where len(name) > 40` or something like that.
(more)
about 2 years ago
Edit Post #285625 Initial revision about 2 years ago
Question Do we currently have users with a name length > 40 characters on Codidact?
Title says it all. Need somebody with database access for it. Is needed for discussion in a Github issue.
(more)
about 2 years ago
Edit Post #285521 Post edited:
found an issue that might be related
about 2 years ago
Edit Post #285600 Initial revision about 2 years ago
Question What (where) are the current code standards and commit guidelines?
The contributing guidelines are probably copied from the previous "core" project. They even link to there while mentioning code standards and commit guidelines. I wanted to update those, but could not find any definition of them in the QPixel repository. What are the current code standards and ...
(more)
about 2 years ago
Comment Post #283622 Okay. I see. Not useful for me then.
(more)
about 2 years ago
Comment Post #283622 Yes, but still: What was the purpose of the Discord message? Can somebody deliver a bit of context maybe? Because without, it's not very useful for others.
(more)
about 2 years ago
Edit Post #283316 Post edited:
streamlined a bit
about 2 years ago
Comment Post #283622 Getting an example project? Something else?
(more)
about 2 years ago
Suggested Edit Post #283316 Suggested edit:
streamlined a bit
(more)
helpful about 2 years ago
Edit Post #285582 Initial revision about 2 years ago
Answer A: How to fix NameError (undefined local variable or method `background' for #<#<Class) in avatar_helper.rb?
It was a minor regression. Fixed in https://github.com/codidact/qpixel/commit/993562804a2843d1e96764ffe6d955f9f333389d
(more)
about 2 years ago
Edit Post #285517 Post edited:
about 2 years ago
Edit Post #285517 Question closed about 2 years ago
Comment Post #285521 I went back to the revision of 2021-11-27 but nothing changed. Maybe I should investigate more what these errors mean. I guess a post type needs to "has_tags" in order to be used as something that one can post, but it seems that in db/seeds/post_types.yml there are five default post types defined an...
(more)
about 2 years ago
Edit Post #285564 Post edited:
about 2 years ago
Edit Post #285564 Post edited:
about 2 years ago
Comment Post #285564 Line "background = "##{Digest::MD5.hexdigest(user.username)[0...6]}FF"" got removed in the latest commit to that file: https://github.com/codidact/qpixel/commit/cb7380a5ee6a933170d94dabc4b52dcc64d10aee#diff-2695b54932747a21a39444e7981463d365d96a14b78e9510518eaee6ce4f90d8 I can probably fix it myse...
(more)
about 2 years ago
Comment Post #285521 Next thing I will try is doing rails db:seed on the commit that CD is running on currently from 2021-11-27. Maybe it works there.
(more)
about 2 years ago
Comment Post #285521 I also updated https://collab.codidact.org/posts/285516 with new information. It looks slightly different than before but still something is strange there. Probably related to this one here.
(more)
about 2 years ago
Edit Post #285516 Post edited:
updated
about 2 years ago
Comment Post #285521 I redid the setup again and the error persists. I debugged it a bit and added more information to the question body here. Are you sure, that this should not happen? I think I may be able to describe a procedure to reproduce it. Seeding isn't really covered by tests and circleci, or is it?
(more)
about 2 years ago
Edit Post #285521 Post edited:
added new information
about 2 years ago
Edit Post #285565 Initial revision about 2 years ago
Question How can I remove a category from a community?
On page `/categories` it's easy to create or edit a category, but I cannot find a way to delete a category again. Is the functionality not existing? Following the setup guide my user is a global admin but also in the admin tools only a `create category` exists.
(more)
about 2 years ago
Edit Post #285517 Post edited:
update with repeated
about 2 years ago
Edit Post #285564 Initial revision about 2 years ago
Question How to fix NameError (undefined local variable or method `background' for #<#<Class) in avatar_helper.rb?
I'm setting up a QPixel instance. I just created a new category and I realized in the `rails s` output a NameError in avatarhelper.rb: ``` Started GET "/users/1/avatar/40.png" for 127.0.0.1 at 2022-01-12 22:37:01 +0100 Started GET "/assets/codidact.png" for 127.0.0.1 at 2022-01-12 22:37:01 +0100...
(more)
about 2 years ago
Comment Post #285521 There are two databases qpixel_dev/qpixel_test. qpixel_dev has 50 tables and table post_types has 5 rows (started with four). I did seed the database (more than once). I got the error somehow, so maybe somebody else could get the error too and then it's good if we collect information about it here...
(more)
about 2 years ago
Comment Post #280451 QPixel contains installations instructions in the README file which are somewhat different from the answers here. I wonder what can be done to not confuse people and have preferably only a single document containing this information. Maybe this question could restrict itself to what goes beyond the R...
(more)
about 2 years ago
Comment Post #285520 No need to be sorry. I'm happy that I got this far. It's almost a running instance and Art probably knows what to do.
(more)
about 2 years ago
Comment Post #282141 This question is hardware centered. Maybe it would be better to focus instead on different ways to setup a development instance of QPixel and the requirements. For example, I work on a Windows computer and use [WSL](https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux) and are quite satisfied wi...
(more)
about 2 years ago
Edit Post #285516 Post edited:
about 2 years ago
Comment Post #285520 with more information
(more)
about 2 years ago
Edit Post #285516 Post edited:
added info
about 2 years ago
Edit Post #285521 Initial revision about 2 years ago
Question Error undefined method `has_tags' or `id' for nil:NilClass during rails db:seed
When running `rails db:seed` I get some errors without any further explanation. ``` CloseReason: Created 0, skipped 5 User: Created 0, skipped 1 PostFlagType: Created 0, skipped 4 PostType: Created 0, skipped 5 ReactionType: Created 0, skipped 3 SiteSetting: Created 0, skipped 57 Got error ...
(more)
about 2 years ago
Edit Post #285516 Post edited:
about 2 years ago
Edit Post #285517 Post edited:
better title
about 2 years ago
Edit Post #285514 Post edited:
about 2 years ago
Edit Post #285517 Initial revision about 2 years ago
Question How to fix ActionView::Template::Error (No route matches {:action=>"new", :controller=>"posts", :post_type=>nil} when visiting the moderator page?
In a fresh development instance I went to `http://localhost:3000/mod` and got a 500 Server Error related to ``` ActionView::Template::Error (No route matches {:action=>"new", :controller=>"posts", :posttype=>nil}, possible unmatched constraints: [:posttype]): 34: 35: 36...
(more)
about 2 years ago
Edit Post #285516 Initial revision about 2 years ago