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 |
---|---|---|---|---|
Suggested Edit | Post #289655 |
Suggested edit: Formatting (more) |
helpful | over 1 year ago |
Edit | Post #289656 | Initial revision | — | over 1 year 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) |
— | over 1 year ago |
Edit | Post #289261 | Initial revision | — | almost 2 years 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) |
— | almost 2 years 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) |
— | almost 2 years 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) |
— | almost 2 years ago |
Edit | Post #288765 |
Post edited: Typo, format table, remove redundant statement |
— | almost 2 years ago |
Suggested Edit | Post #288765 |
Suggested edit: Typo, format table, remove redundant statement (more) |
helpful | almost 2 years ago |
Edit | Post #288701 |
Post edited: Use "<thead>" and "<th>" instead of manual "<b>" |
— | almost 2 years 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) |
— | almost 2 years ago |
Edit | Post #288701 | Initial revision | — | almost 2 years 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) |
— | almost 2 years 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) |
— | almost 2 years 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) |
— | almost 2 years 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) |
— | almost 2 years 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) |
— | almost 2 years 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) |
— | almost 2 years ago |
Comment | Post #288321 |
Would the community benefit from a separate category for software recommendations (like the code reviews category)? (more) |
— | almost 2 years ago |
Edit | Post #288173 |
Post edited: Typo |
— | about 2 years ago |
Edit | Post #288173 |
Post edited: Clarification |
— | about 2 years ago |
Edit | Post #288173 |
Post edited: Typo |
— | about 2 years ago |
Edit | Post #288173 | Initial revision | — | about 2 years 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) |
— | about 2 years 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) |
— | about 2 years 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) |
— | about 2 years ago |
Edit | Post #288152 |
Post edited: Fix backticks so syntax highlighting will work, fix typo in title |
— | about 2 years ago |
Edit | Post #288154 | Initial revision | — | about 2 years 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) |
— | about 2 years ago |
Suggested Edit | Post #288152 |
Suggested edit: Fix backticks so syntax highlighting will work, fix typo in title (more) |
helpful | about 2 years 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) |
— | about 2 years ago |
Edit | Post #288148 | Initial revision | — | about 2 years 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) |
— | about 2 years 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) |
— | about 2 years ago |
Edit | Post #288062 |
Post edited: Typos |
— | about 2 years ago |
Comment | Post #288060 |
This is an interesting question, exploring why an error occurs as part of gaining familiarity with the language.
I would not expect it to be easy to find the answer by searching documentation or online without already knowing what explanation to search for.
The asker clearly knows how to solve ... (more) |
— | about 2 years ago |
Edit | Post #288062 | Initial revision | — | about 2 years ago |
Answer | — |
A: Vanilla JS Functions Review Without seeing the HTML and CSS for the page I'm going to be making assumptions about the effects that the JavaScript has. Feel free to include the other files if the lack of context leads me to incorrect conclusions. ```js const quoteText = document.getElementById("quote-text"); const quoteAuth... (more) |
— | about 2 years ago |
Edit | Post #288060 |
Post edited: Add tag and fix typos |
— | about 2 years ago |
Suggested Edit | Post #288060 |
Suggested edit: Add tag and fix typos (more) |
helpful | about 2 years ago |
Edit | Post #288061 |
Post edited: Make examples consistent with the question example |
— | about 2 years ago |
Edit | Post #288061 | Initial revision | — | about 2 years ago |
Answer | — |
A: Why can parentheses cause exceptions in Python when using for loops? A single element tuple has a trailing comma Note that the example in the question does not form a tuple, as there is a special syntax for single element tuples. A single element tuple has a trailing comma after its single element. This is necessary to distinguish the single element tuple from an exp... (more) |
— | about 2 years ago |
Edit | Post #287918 |
Post edited: Add missing space |
— | over 2 years ago |
Suggested Edit | Post #287918 |
Suggested edit: Add missing space (more) |
helpful | over 2 years ago |
Edit | Post #284872 |
Post edited: Typos |
— | over 2 years ago |
Suggested Edit | Post #284872 |
Suggested edit: Typos (more) |
helpful | over 2 years ago |
Edit | Post #287782 |
Post edited: Use markdown footnote which is clickable and includes a clickable return link at the end |
— | over 2 years ago |
Suggested Edit | Post #287782 |
Suggested edit: Use markdown footnote which is clickable and includes a clickable return link at the end (more) |
helpful | over 2 years ago |
Suggested Edit | Post #287666 |
Suggested edit: Typos and tidying (more) |
helpful | over 2 years ago |
- ← Previous
- 1
- 2
- 3
- Next →