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 trichoplax
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #291047 |
The question author is seeking a way to be notified of answers to their questions. The only current options for subscribing by email are for new questions and interesting questions. There is not yet an option to be emailed when you have a personal notification. (more) |
— | 18 days ago |
Edit | Post #291041 | Initial revision | — | 18 days ago |
Answer | — |
A: Email alerts for notifications This feature has not yet been implemented. However, there is a feature request on Codidact Meta that requests it for all communities. You (and anyone else who would like to see this) can add your vote and/or thoughts there. I would definitely use this feature myself if it were implemented. (more) |
— | 18 days ago |
Edit | Post #291040 |
Post edited: Typo |
— | 18 days ago |
Edit | Post #291040 |
Post edited: Mention that 2 line breaks are required but 1 still causes a similar problem |
— | 18 days ago |
Edit | Post #291040 | Initial revision | — | 18 days ago |
Answer | — |
A: Issue with the Monospace font What's wrong As Moshi's comment points out, single backticks only work for inline code (code that appears within a paragraph of other text, and contains no line breaks). The following raw text: > ```text > A paragraph with `inline code` showing. > ``` is rendered as: > A paragraph with... (more) |
— | 18 days ago |
Comment | Post #289261 |
No I doubt anyone is going to post an answer if they consider it dangerous, except perhaps on Code Golf... (more) |
— | 5 months ago |
Comment | Post #289831 |
> Certain operators like the && and || in C guarantee a left-to-right evaluation and also that the evaluation stops if it finds that the result cannot be true.
It also stops if it finds that the result cannot be false (pedantic point since the sentence mentions `||`, not just `&&`). (more) |
— | 6 months ago |
Edit | Post #289698 | Initial revision | — | 7 months ago |
Answer | — |
A: Tags are highlighting while my favourite tags is empty The problem mentioned in the question The original problem mentioned in the question is now fixed. If several users share a computer (or one person has several user accounts), the user who is currently signed in will be the one whose preferences are used. Previously, preferences were stored in th... (more) |
— | 7 months ago |
Comment | Post #289694 |
See also [How to best ask about algorithmic problems](https://software.codidact.com/posts/285461).
There the question of whether a programming language should be specified was a sub-question and didn't get much discussion. I'm glad it has now been asked as a separate question to allow more focused... (more) |
— | 7 months ago |
Edit | Post #289695 | Initial revision | — | 7 months ago |
Answer | — |
A: codidact profile editing requires 30 characters but has no error message This has now been indirectly fixed for all Codidact communities by removing the minimum character requirement altogether. See Is there a reason for preventing user profile content being less than 30 characters? on Codidact Meta. (more) |
— | 7 months ago |
Edit | Post #289655 |
Post edited: Formatting |
— | 7 months ago |
Suggested Edit | Post #289655 |
Suggested edit: Formatting (more) |
helpful | 7 months ago |
Edit | Post #289656 | Initial revision | — | 7 months ago |
Answer | — |
A: Reaching to a directory in git-bash You can narrow down the problem by using `cd` to navigate to the different nested directories in the path one at a time, starting from the one on the left. The first one that gives you an error tells you that this is the directory causing the problem. In this particular case, you could try the fol... (more) |
— | 7 months ago |
Edit | Post #289261 | Initial revision | — | 8 months ago |
Answer | — |
A: On self-answered questions, is it inappropriate to mark my own answer "Works for me" immediately? Bear in mind that unlike on some other question and answer sites, the "Works for me" reaction is not restricted to the author of the question. Anyone can add that reaction, whether they posted the question or not. You can also add that reaction to more than one answer to the same question. This la... (more) |
— | 8 months ago |
Comment | Post #288768 |
It's just an option since you mentioned wanting everyone to be free to voice their opinions.
I agree it's more likely communities would choose a non-zero value for both, or a zero value for both. Another option would be to have downvotes giving negative rep in Meta but not as much (for example, -2... (more) |
— | 9 months ago |
Comment | Post #288768 |
Just for completeness: the system is already set up to allow changing the rep per upvote independently of the rep per downvote, so gaining rep for Meta upvotes but losing no rep for Meta downvotes is an option. Mentioning in case that affects your concern that people be free to express unpopular opin... (more) |
— | 9 months ago |
Edit | Post #288765 |
Post edited: Typo, format table, remove redundant statement |
— | 9 months ago |
Suggested Edit | Post #288765 |
Suggested edit: Typo, format table, remove redundant statement (more) |
helpful | 9 months ago |
Edit | Post #288701 |
Post edited: Use "<thead>" and "<th>" instead of manual "<b>" |
— | 9 months ago |
Comment | Post #288698 |
Might be worth editing to mention the extra options that this example is not using:
- above the dividing line of hyphens, you can include column headers between the vertical bars
- you can add more hyphens in the dividing line to make the vertical bars line up with the vertical bars in the other ro... (more) |
— | 9 months ago |
Edit | Post #288701 | Initial revision | — | 9 months ago |
Answer | — |
A: Best practices for posting tabular data For most purposes, the easiest approach is probably Markdown tables, as described in Wicket's answer. If you have requirements that Markdown tables do not support, such as merged cells, you can resort to HTML tables, which can be included directly in the raw text of a post. For example, raw tex... (more) |
— | 9 months ago |
Comment | Post #288668 |
[A more recent answer](https://software.codidact.com/posts/288660/288698#answer-288698) suggests Markdown tables are already supported here. (more) |
— | 9 months ago |
Comment | Post #288060 |
I also like the fact that the question is not complaining about the difference in behaviour between `if` and `for`, but actively seeking understanding and asking about a potential explanation. (more) |
— | 10 months ago |
Comment | Post #288060 |
I don't see the question as asking why Python doesn't have the same syntax as JavaScript. The author understands that the parentheses are not required in Python. The question is why is it OK to add redundant parentheses to an `if` statement, but not to a `for` statement.
Until the reason is unders... (more) |
— | 10 months ago |
Comment | Post #288464 |
I agree questions are useful at all levels.
The answer might seem obvious after it is discovered, but it was not obvious before it was discovered, so it will not be obvious to the next person either. (more) |
— | 10 months ago |
Comment | Post #288321 |
Codidact is already set up to have multiple categories per community, so I think it just needs an admin to add it (if the community indicates support for it). (more) |
— | 10 months ago |
Comment | Post #288321 |
Would the community benefit from a separate category for software recommendations (like the code reviews category)? (more) |
— | 10 months ago |
Edit | Post #288173 |
Post edited: Typo |
— | 10 months ago |
Edit | Post #288173 |
Post edited: Clarification |
— | 10 months ago |
Edit | Post #288173 |
Post edited: Typo |
— | 10 months ago |
Edit | Post #288173 | Initial revision | — | 10 months ago |
Answer | — |
A: Queries to count points lying on arbitrary line Some answer-specific terminology to make describing things simpler: - I will refer to the N points as candidate points. - I will refer to the integer points inside the [bounding box] of the N points as lattice points. Two approaches There are two ways to approach this question: - Check w... (more) |
— | 10 months ago |
Comment | Post #288170 |
Are the N points known to be distinct, or can some of them be duplicates (several points with the same x and y values)? (more) |
— | 10 months ago |
Comment | Post #288170 |
When you use the notation `O(N)` are you looking for an improvement to the worst case performance or the average case performance?
My first impression is that your suggestion of a quadtree (or even just a regular grid) is likely to improve the average case, but not necessarily the worst case. I ha... (more) |
— | 10 months ago |
Edit | Post #288152 |
Post edited: Fix backticks so syntax highlighting will work, fix typo in title |
— | 10 months ago |
Edit | Post #288154 | Initial revision | — | 10 months ago |
Answer | — |
A: Are there other reasons why useEffect might not be defined apart from not importing it? Including the full file in the question The question states that `useState` has been imported, but the codeblock does not include `import { useState } from 'react';`. Is this the full file or just an excerpt? It may be difficult to say for certain what is wrong from an excerpt, if the problem turns ... (more) |
— | 10 months ago |
Suggested Edit | Post #288152 |
Suggested edit: Fix backticks so syntax highlighting will work, fix typo in title (more) |
helpful | 10 months ago |
Comment | Post #288098 |
One way would be to use singular `LogRecord` for the record type, and plural `log_records` for the dictionary variable name. (more) |
— | 10 months ago |
Edit | Post #288148 | Initial revision | — | 10 months ago |
Answer | — |
A: How do I return ISO day of week in Redshift? Quick answer ```sql (DATEPART(dayofweek, mydatetime) + 6) % 7 ``` Slow answer For avoidance of doubt, here is what I believe you currently have (assuming an input called `mydatetime`): ```sql DATEPART(dayofweek, mydatetime) ``` Or its abbreviated equivalent: ```sql DATEPART(dow... (more) |
— | 10 months ago |
Comment | Post #288062 |
Really glad to hear that you found it helpful.
Thanks for the tip on using `export` to allow testing from another file.
(more) |
— | 11 months ago |
Edit | Post #288062 |
Post edited: Typos |
— | 11 months ago |