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.

Posts by ArtOfCode‭

20 posts
84%
+9 −0
Q&A Is there a naming convention for table aliases?

This can depend on both your flavor of SQL and your personal preference - I've seen a number of schemes in use. For MySQL, the most common scheme I've seen used (and the scheme that my editor uses ...

posted 4y ago by ArtOfCode‭

Answer
84%
+9 −0
Q&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 i...

posted 3y ago by ArtOfCode‭

Answer
84%
+9 −0
Meta Meet the Codidact Team!

As we start on building a new community here together, we're bound to find some sticking points. Those might be bugs, new features you need, things you need support with... whatever they are, the C...

0 answers  ·  posted 4y ago by ArtOfCode‭  ·  edited 4y ago by ArtOfCode‭

80%
+6 −0
Meta How will you balance demanding high quality questions with maximising the number of users?

The question is not "what will you do", but "what will we do?" This site is community-run. While of course there are a few rules that we need to impose to be able to host a community, for the most ...

posted 4y ago by ArtOfCode‭

Answer
77%
+5 −0
Q&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 ...

posted 2y ago by ArtOfCode‭

Answer
77%
+5 −0
Meta 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.

posted 3y ago by ArtOfCode‭

Answer
77%
+5 −0
Meta Multiple code blocks have the code in different colors

#NotABugForOnce This is down to language guessing. If you don't tell the highlighter what language your code is in, it guesses. Sometimes, it guesses wrong, like here. I've edited the post and ad...

posted 4y ago by ArtOfCode‭

Answer
77%
+5 −0
Q&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 a...

posted 3y ago by ArtOfCode‭

Answer
77%
+5 −0
Meta 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 malic...

posted 3y ago by ArtOfCode‭

Answer
75%
+4 −0
Meta 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 s...

posted 3y ago by ArtOfCode‭

Answer
75%
+4 −0
Q&A Iterating through a MySQL table with a LIMIT clause and PHP gets progressively slower

LIMIT/OFFSET, fundamentally, is slow for large datasets. With a clause like LIMIT 10000 OFFSET 150000, you're asking the query engine to find 160,000 rows, then throw away 150,000 of them. Hardly e...

posted 4y ago by ArtOfCode‭

Answer
71%
+3 −0
Q&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-cli...

posted 3y ago by ArtOfCode‭

Answer
71%
+3 −0
Q&A How to allow sign-ups without confirmation as an exception using devise confirmable?

You should be able to pre-set confirmed_at when you create the User instance: user = User.new(confirmed_at: DateTime.now) # plus any other details you want user.save!

posted 2y ago by ArtOfCode‭

Answer
71%
+3 −0
Meta 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 ...

posted 2y ago by ArtOfCode‭

Answer
71%
+3 −0
Q&A Access TypeScript class outside bundled code

Easy enough: if this code is only ever going to be used in a browser, just add it to the Window object: export default class AutoComplete { // ... }; window.AutoComplete = AutoComplete; You c...

posted 4y ago by ArtOfCode‭

Answer
71%
+3 −0
Meta Why `excel` is set as a child tag of `openoffice-calc`?

Good question. It's not any more 🙂

posted 1y ago by ArtOfCode‭

Answer
71%
+3 −0
Meta Merge [functions] with [function]

Makes sense to me! Done as of a few minutes ago.

posted 1y ago by ArtOfCode‭

Answer
71%
+3 −0
Meta 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!

posted 1y ago by ArtOfCode‭

Answer
66%
+2 −0
Q&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 mi...

posted 12mo ago by ArtOfCode‭

Answer
44%
+2 −3
Meta 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 i...

posted 3y ago by ArtOfCode‭

Answer