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 »

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Activity for ArtOfCode‭

Type On... Excerpt Status Date
Comment Post #290645 Please see the feedback I gave you on your previous post. You were right to include the code in the question itself rather than as links - links can go out of date. If you look at the formatting help that I linked you to you'll be able to format it correctly.
(more)
11 months ago
Edit Post #290645 Question closed 11 months ago
Edit Post #290286 Initial revision about 1 year ago
Answer A: How to speed up MySQL query?
Sounds like you may also have a problem with your database structure. A query that fetches 800 records from a table with only those 800 records in it should not take a full second - it should be milliseconds. Make use of the `EXPLAIN` function to find out what your queries are trying to do and wha...
(more)
about 1 year ago
Edit Post #288569 Post edited:
over 1 year ago
Edit Post #288572 Initial revision over 1 year ago
Answer A: Merge spreadsheet formula tags into single tag
Done. I've merged all these tags together and synonymized them. I've also gone ahead and given you the ability to edit tag wikis - we're in need of people who can curate tags!
(more)
over 1 year ago
Edit Post #278366 Post edited:
over 1 year ago
Edit Post #288570 Post edited:
over 1 year ago
Edit Post #288571 Initial revision over 1 year ago
Answer A: Merge [functions] with [function]
Makes sense to me! Done as of a few minutes ago.
(more)
over 1 year ago
Edit Post #288567 Post edited:
over 1 year ago
Edit Post #288568 Initial revision over 1 year ago
Answer A: Why `excel` is set as a child tag of `openoffice-calc`?
Good question. It's not any more 🙂
(more)
over 1 year ago
Comment Post #287842 It's not possible to answer this for such a general case - it depends what you're dealing with. We'd need more detail about the case you're asking for to be able to give sensible answers here.
(more)
almost 2 years ago
Edit Post #286348 Initial revision over 2 years ago
Answer A: Recursion without a procedure ("function") in JavaScript
The typical way to do something like this without involving recursion would be to build an array and iterate through that. However, in this case, recursion is a more appropriate option. With tree structures like HTML where you don't know ahead of time the depth or breadth of the tree, recursion is...
(more)
over 2 years ago
Edit Post #286144 Initial revision over 2 years ago
Answer A: How do I search for "i++"?
It looks like the answer is "you don't", unfortunately. Because of how our search system works, the "+" character is always treated as an operator. Not that it matters, because non-word characters aren't actually considered part of the index at all - just the words. While this works for most Q&A ...
(more)
over 2 years ago
Comment Post #285981 If you're using default Devise settings, it'll prevent that for you - that only becomes possible if you explicitly whitelist the `confirmed_at` field.
(more)
almost 3 years ago
Edit Post #285981 Initial revision almost 3 years ago
Answer A: How to allow sign-ups without confirmation as an exception using devise confirmable?
You should be able to pre-set `confirmedat` when you create the User instance: ```ruby user = User.new(confirmedat: DateTime.now) # plus any other details you want user.save! ```
(more)
almost 3 years ago
Comment Post #283689 Poking at the server logs, the two edits were submitted within 100ms of each other... not entirely surprising that there was some funny business.
(more)
over 3 years ago
Edit Post #283667 Post edited:
over 3 years ago
Comment Post #282536 Doesn't make this less of a bug, but remember that you can also merge tags if they have the same meaning. Merging data-archiving into archiving would seem to make sense here.
(more)
over 3 years ago
Edit Post #282526 Initial revision over 3 years ago
Answer A: redirect to "main" code in Ruby using Ctrl
My go-to IDEs are VS Code for most things, and RubyMine for Ruby/Rails projects specifically. For that specific line of code you're looking at, I'm using RubyMine, which does enable you to Ctrl-click on the view name and it'll take you there. I can't remember off hand whether VS Code does or not for ...
(more)
over 3 years ago
Edit Post #282344 Nominated for promotion over 3 years ago
Edit Post #282045 Initial revision over 3 years ago
Answer A: highlighting code
Looks like it's guessed at a language for both of those code blocks, and got it wrong. If you need a code block without syntax highlighting, you can use ```plain to start the code block.
(more)
over 3 years ago
Comment Post #281305 @Lundin I think we'll admit defeat here for now. I don't have the time to invest in getting this tuned perfectly, and you're right that it's only going to cause more issues. I've turned most rules off except the absolute essentials - let me know if you still have issues.
(more)
over 3 years ago
Edit Post #281555 Post edited:
over 3 years ago
Edit Post #281585 Initial revision over 3 years ago
Answer A: Text with many diacritic marks are not displayed correctly in posts
The solution here is as for many of these edge cases with weird Unicode: don't do that. The difference here is minor enough that I had trouble picking it out in your screenshots. Given that this isn't exactly real-world usage, I'm marking this [status-declined] - if there are issues with display f...
(more)
over 3 years ago
Comment Post #281496 Thanks, @dmckee - yep, one was my test, which I deleted, which is why you don't see it. That you got a notification for the other is interesting, because that indicates it got at least some of the way through.
(more)
over 3 years ago
Comment Post #281496 I seem to be able to post comments there fine, and I can't see any errors in the logs. What was the exact content of the comment you were trying to post?
(more)
over 3 years ago
Edit Post #281494 Initial revision over 3 years ago
Answer A: I didn't get notification after user mentioning me in comment
It's because of the comma. Our comment-ping notification system isn't particularly smart and gets tripped up fairly easily, including by punctuation, so that ping wouldn't have worked. We've got some improvements to the comments system overall in the works, which will include improvements to how y...
(more)
over 3 years ago
Comment Post #281305 @Lundin Thanks for the feedback, I'll keep trying to tweak the settings. Let me know if it's still at annoying levels over the next few weeks.
(more)
over 3 years ago
Comment Post #281347 You can hack it with a zero-width space... not ideal, but it works. We don't have precise control over how Markdown parsing works, since we use libraries for it.
(more)
over 3 years ago
Edit Post #281308 Post edited:
swap link out for one that won't die soon
over 3 years ago
Edit Post #281305 Initial revision over 3 years ago
Answer A: Why do I, a logged in user, have to solve a captcha to post?
We don't actually serve any captchas: it's all done by Cloudflare. Cloudflare runs a firewall that scans incoming requests and issues a captcha challenge to any that appear to be automated or malicious. The exact rules it uses to do this aren't public, but we can tweak it some. It seems to trigger mo...
(more)
over 3 years ago
Edit Post #281304 Initial revision over 3 years ago
Answer A: How to properly deal with impersonation in a Web application? (security vs. usefulness for tech support)
If you've poked around the mod tools here a bit, you may have noticed that QPixel has an impersonation feature, live on prod. It's there for much the same reasons: so that developers can test and identify issues that only appear for one user with a specific set of circumstances that would be difficul...
(more)
over 3 years ago
Edit Post #281091 Initial revision over 3 years ago
Answer A: min-height for HTML form's submit buttons from a web accessibility standpoint
There is no universal accessibility standard for how tall your buttons should be. Consider that when you're using a simple link, users have to click on the text itself to follow the link; as long as your text size isn't ridiculously small there's no problem with that. Don't make your buttons smaller ...
(more)
over 3 years ago
Comment Post #280956 Not entirely clear on what parts of the line you want the regex to match?
(more)
almost 4 years ago
Comment Post #280514 Right, case doesn't matter - I still get the notification there. Autocomplete is in the works (Mith has gone into more detail below)
(more)
almost 4 years ago
Edit Post #280518 Post edited:
almost 4 years ago