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 #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) |
— | over 1 year 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) |
— | over 1 year ago |
Edit | Post #288152 |
Post edited: Fix backticks so syntax highlighting will work, fix typo in title |
— | over 1 year ago |
Edit | Post #288154 | Initial revision | — | over 1 year 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) |
— | over 1 year ago |
Suggested Edit | Post #288152 |
Suggested edit: Fix backticks so syntax highlighting will work, fix typo in title (more) |
helpful | over 1 year 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) |
— | over 1 year ago |
Edit | Post #288148 | Initial revision | — | over 1 year 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) |
— | over 1 year 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) |
— | over 1 year ago |
Edit | Post #288062 |
Post edited: Typos |
— | over 1 year 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) |
— | over 1 year ago |
Edit | Post #288062 | Initial revision | — | over 1 year 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) |
— | over 1 year ago |
Edit | Post #288060 |
Post edited: Add tag and fix typos |
— | over 1 year ago |
Suggested Edit | Post #288060 |
Suggested edit: Add tag and fix typos (more) |
helpful | over 1 year ago |
Edit | Post #288061 |
Post edited: Make examples consistent with the question example |
— | over 1 year ago |
Edit | Post #288061 | Initial revision | — | over 1 year 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) |
— | over 1 year ago |
Edit | Post #287918 |
Post edited: Add missing space |
— | almost 2 years ago |
Suggested Edit | Post #287918 |
Suggested edit: Add missing space (more) |
helpful | almost 2 years ago |
Edit | Post #284872 |
Post edited: Typos |
— | almost 2 years ago |
Suggested Edit | Post #284872 |
Suggested edit: Typos (more) |
helpful | almost 2 years ago |
Edit | Post #287782 |
Post edited: Use markdown footnote which is clickable and includes a clickable return link at the end |
— | almost 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 | almost 2 years ago |
Suggested Edit | Post #287666 |
Suggested edit: Typos and tidying (more) |
helpful | almost 2 years ago |
Edit | Post #287635 |
Post edited: Add missing word |
— | almost 2 years ago |
Suggested Edit | Post #287635 |
Suggested edit: Add missing word (more) |
helpful | almost 2 years ago |
Edit | Post #287600 | Initial revision | — | almost 2 years ago |
Answer | — |
A: Can I repost here the answers to questions I get answered elsewhere? Your own questions If the original question was your own, then you own it and there is no restriction on also posting it to Codidact. Other people's answers For a question or answer posted by someone else, you may need their permission before posting here, depending on how it is licensed, and ... (more) |
— | almost 2 years ago |
Edit | Post #287454 |
Post edited: Suppress code syntax highlighting by marking the code block as text |
— | about 2 years ago |
Suggested Edit | Post #287454 |
Suggested edit: Suppress code syntax highlighting by marking the code block as text (more) |
helpful | about 2 years ago |
Comment | Post #287313 |
I can see that you have put thought into this and you have an idea of how you want it to work, but the question doesn't currently show us what you require.
Can you explain why you want this, rather than how it should work? That might make it easier to understand the requirements you describe, and ... (more) |
— | about 2 years ago |
Edit | Post #287297 | Initial revision | — | about 2 years ago |
Answer | — |
A: Should asking about book recommendations directly connected to software development be on-topic? Here is a slightly different suggestion, that may avoid the problems with open ended book recommendations. Book lists? No I'm not entirely against opinion based questions, but I am against opinions that are not attached to any meaning. It doesn't help me to know that one book has more votes than ... (more) |
— | about 2 years ago |
- ← Previous
- 1
- 2
- Next →