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 »

Search

Advanced Search Options

To further refine your search, you can use additional qualifiers such as score:>0.5. For example, the search score:>=0.5 created:<1y grammar would return only posts mentioning "grammar" that have a score >= 0.5 and were created less than a year ago.

Further help with searching is available in the help center.

Quick hints: tag:tagname, user:xxx, "exact phrase", post_type:xxx, created:<N{d,w,mo,y}, score:>=0.5

Filters
 
60%
+1 −0
Q&A What's a low-effort option for a Codidact development machine?

If you want something that is marginally cheaper in some regards and doesn't have too much custom stuff to wrangle with (AWS has a lot of stuff like IAM, security groups etc. that can be annoying t...

posted 4y ago by sau226‭

Answer
60%
+1 −0
Q&A mysql return error `ActiveRecord::StatementInvalid: Mysql2::Error: Cannot drop table 'abilities' referenced by a foreign key constraint 'fk_rails_de15a6ad96' on table 'user_abilities'.: DROP TABLE IF EXISTS abilities`

After cloning qpixel (yesterday), I can't post anything. I was trying to setup database properly. rails db:create database already exists rails db:schema:load -- create_table("abiliti...

1 answer  ·  posted 4y ago by deleted user  ·  last activity 4y ago by ArtOfCode‭

Question support
60%
+1 −0
Q&A How to test CoDesign?

Here is an easy way to directly link CoDesign to QPixel. Clone QPixel and follow the instruction to run QPixel in your system. Then, make changes to /app/views/layouts/_head.html.erb. Clone CoDesi...

posted 4y ago by deleted user  ·  edited 3y ago by Trilarion‭

Answer
60%
+1 −0
Q&A How to fetch single column for children?

If I understand you correctly, you want to get the last_edited_at column for every child post, i.e. a list of last edit dates? For this you should use post.children.map(&:last_edited_at) w...

posted 4y ago by luap42‭

Answer
60%
+1 −0
Q&A How to solve Can't connect to MySQL server on 'bimberspot.com:3306' (111) [closed]

How to solve Can't connect to MySQL server on 'bimberspot.com:3306' (111)

0 answers  ·  posted 4y ago by Gate_sprit‭  ·  closed 4y ago by ArtOfCode‭

Question bug
60%
+1 −0
Q&A How can I add post types to a category?

Did you run the database seeds? (rails db:seed) That should have set up initial post types, help topics, and probably some other stuff. (Edit: but it didn't work for me either, so...) If you wa...

posted 3y ago by Monica Cellio‭  ·  edited 3y ago by Monica Cellio‭

Answer
60%
+1 −0
Q&A Is there a QPixel development roadmap somewhere or can we have one?

I provided the feedback linked in this question. I'd like to clarify, in no way would I want time estimates or similar. Just a list of features that have been discussed and agreed to be worth addin...

posted 3y ago by jmathew‭

Answer
60%
+1 −0
Q&A How to circumvent Stripe::AuthenticationError: No API key provided

I don't know the correct way to do this, but I was looking at the commit that added donations, and I wonder, as a workaround until you get the correct answer (presumably from Art), it would work to...

posted 3y ago by Monica Cellio‭

Answer
60%
+1 −0
Q&A How to solve Magick::ImageMagickError: no decode delegate for this image format in AdvertisementControllerTest#test_image_paths_should_return_png

I ran tests (bin/rails test) and got Error: AdvertisementControllerTest#test_image_paths_should_return_png: Magick::ImageMagickError: no decode delegate for this image format `' @ error/constitu...

1 answer  ·  posted 3y ago by Trilarion‭  ·  last activity 3y ago by ArtOfCode‭

Question support tests bug
60%
+1 −0
Q&A How to solve Magick::ImageMagickError: no decode delegate for this image format in AdvertisementControllerTest#test_image_paths_should_return_png

I have this error in my local environment too, and I've not been able to figure it out yet. It's somehow related to ImageMagick being built (or not) with the right image libraries, but as far as I ...

posted 3y ago by ArtOfCode‭  ·  edited 3y ago by ArtOfCode‭

Answer
60%
+1 −0
Q&A How can I add post types to a category?

I ran earlier into this in a slightly different way, now I redid the whole QPixel setup but the problem persists: I added a first category to a development instance and wanted to create a first po...

1 answer  ·  posted 3y ago by Trilarion‭  ·  last activity 3y ago by Monica Cellio‭

Question support installation
60%
+1 −0
Q&A How to fix NoMethodError: undefined method `id' for nil:NilClass when visiting the QPixel homepage?

Following the set up guide I was able to start rails server and got my very first QPixel page served (see screenshot): Unfortunately it was a 500 Server Error, which I did not expect and which w...

1 answer  ·  posted 3y ago by Trilarion‭  ·  edited 3y ago by Trilarion‭

Question support installation
60%
+1 −0
Q&A How to deal with OpenSSL::Cipher::CipherError when editing QPixel's credentials

The error is actually a ActiveSupport::MessageEncryptor::InvalidMessage, which means either the message you're trying to decrypt is corrupted (it isn't), or you have the wrong key. Since the creden...

posted 3y ago by ArtOfCode‭

Answer
60%
+1 −0
Q&A How to circumvent Stripe::AuthenticationError: No API key provided

Stripe setup is handled in config/initializers/stripe.rb, where the Stripe API key is set based on the values saved in the Rails credentials file. You should be able to run rails credentials:edit ...

posted 3y ago by ArtOfCode‭

Answer
50%
+0 −0
Q&A How to show border using classes while there's another border attribute in css? Should I use style attribute that moment?

Speaking to the comment, classes is better style attribute. But, if someone already have written something in CoDesign then how can I use class for that? e.g. I had used $tgt.addClass('has-border-...

1 answer  ·  posted 4y ago by deleted user  ·  last activity 4y ago by ArtOfCode‭

Question co-design design classes style
50%
+0 −0
Q&A Meta: Should Collab have Categories?

When creating a new post in the Q&A Category, I'm asked whether I want to create a question or a wiki article. Are these both stored in the Q&A Category for historical reasons, perhaps due ...

1 answer  ·  posted 2y ago by trichoplax‭  ·  last activity 2y ago by trichoplax‭

Question discussion
50%
+0 −0
Q&A How to solve Lost connection to MySQL server at 'reading initial communication packet', system error: 0

after rails db:create Lost connection to MySQL server at 'reading initial communication packet', syste m error: 0 Couldn't create 'qpixel_dev' database. Please check your configuration....

2 answers  ·  posted 4y ago by Gate_sprit‭  ·  last activity 4y ago by Gate_sprit‭

Question installation
50%
+0 −0
Q&A How to deal with OpenSSL::Cipher::CipherError when editing QPixel's credentials

On Ubuntu 20.04 (WSL) I wanted to provide an arbitrary, non-empty Stripe API key and following this answer by Art edit the credentials accordingly. export EDITOR=vim bin/rails credentials:edit ...

1 answer  ·  posted 3y ago by Trilarion‭  ·  last activity 3y ago by ArtOfCode‭

Question support installation
50%
+2 −2
Q&A 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.

0 answers  ·  posted 3y ago by Trilarion‭

Question discussion
50%
+0 −0
Q&A How to fetch single column for children?

How to get specific children's column? For questions, I can use @post.last_edited_at or, something just like this. But, I was thinking to fetch a single column for all child. <% post.children.l...

1 answer  ·  posted 4y ago by deleted user  ·  last activity 4y ago by luap42‭

Question posts answers data backend
50%
+0 −0
Q&A How to test CoDesign?

Use the following command for live server. said Luap (Discord) npx @11ty/eleventy --serve It is better than other answers.

posted 4y ago by deleted user  ·  edited 3y ago by deleted user

Answer
50%
+0 −0
Q&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

posted 3y ago by Trilarion‭

Answer
50%
+0 −0
Q&A How to circumvent Stripe::AuthenticationError: No API key provided

As a quick fix one can remove test should create PaymentIntent from DonationsControllerTest which may backfire later on, but gets you one step further for the time being.

posted 3y ago by Trilarion‭

Answer
50%
+0 −0
Q&A 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 avatar_helper.rb: Started GET "/users/1/avatar/40.png" for 127.0.0.1 at 2022-01-...

1 answer  ·  posted 3y ago by Trilarion‭  ·  last activity 3y ago by Trilarion‭

Question support installation