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 Kevin M. Mansour‭

Type On... Excerpt Status Date
Edit Post #284022 Initial revision over 3 years ago
Question Error: Cannot find module 'is-color-stop' in Tailwind CLI
While compiling the code for production in Tailwind CLI using: ``` npx tailwindcss -m -o ./build/tailwind.css --purge ".//.html" ``` I get: ``` node:internal/modules/cjs/loader:941 const err = new Error(message); ^ Error: Cannot find module 'is-color-stop' Require s...
(more)
over 3 years ago
Edit Post #283712 Initial revision over 3 years ago
Answer A: Uncaught ReferenceError: variable is not defined
`const` is block-scoped. Which means that `const` can be only accessed inside the block-scope that it were declared in. Block-scope means code enclosed by Curly braces `{}`. Functions are also blocks. If you really want to use `const`, so the solution is to define the variable outside the block-...
(more)
over 3 years ago
Edit Post #283711 Initial revision over 3 years ago
Question Uncaught ReferenceError: variable is not defined
I have a variable defined using `const` keyword. ```javascript function Text() { const variable = "Hello!"; } console.log(variable); ``` When I try to access this variable, I get: `Uncaught ReferenceError: variable is not defined` What am I missing?
(more)
over 3 years ago
Comment Post #283412 Likely you have copied the solution from this [GitHub Issue](https://github.com/nateshmbhat/pyttsx3/issues/48#issuecomment-489223752) without attribution.
(more)
over 3 years ago
Comment Post #283050 Not reproducible or was caused by a typo. This question likely won't help future visitors.
(more)
over 3 years ago
Edit Post #278850 Post edited:
Minor Stuff
over 3 years ago
Edit Post #283003 Post edited:
Mistake, Spaces are calculated.
over 3 years ago
Comment Post #283003 I am very sorry, I have calculated them wrong. Yes, it calculates space, sorry again.
(more)
over 3 years ago
Edit Post #283003 Post edited:
over 3 years ago
Edit Post #283003 Initial revision over 3 years ago
Answer A: How to get string length in D?
Strings in D have `.length` property which is used to calculate the number of characters in a string. Note: Spaces are calculated. Here is an example: ``` import std.stdio; void main() { string s = "Hello, World!"; write(s.length); } ``` Learn more about D in Documen...
(more)
over 3 years ago
Edit Post #282894 Post edited:
Cleaning Up.
over 3 years ago
Edit Post #282894 Post edited:
Minor Stuff
over 3 years ago
Edit Post #282894 Initial revision over 3 years ago
Answer A: What's the difference between =, == and === operators in JavaScript?
1. `=` `=` is an assignment operator in JavaScript, it is used to assign a value to a variable. e.g: ```js const test = 1; console.log(test); // expected output: 1. ``` In the above example, we have assigned the value `1` to the variable `test` using the assignment operator `=`. Her...
(more)
over 3 years ago
Edit Post #282893 Initial revision over 3 years ago
Question What's the difference between =, == and === operators in JavaScript?
While learning JavaScript, I started to see `=`, `==` and `===` operators. What's the difference between them?
(more)
over 3 years ago
Suggested Edit Post #278850 Suggested edit:
Minor Stuff
(more)
helpful over 3 years ago
Comment Post #278847 @#53549 No, threaded comments does not include up-voting comments. maybe it would get implemented in the future but in the meantime, no.
(more)
over 3 years ago
Edit Post #279713 Post edited:
Minor Stuff
over 3 years ago
Suggested Edit Post #279713 Suggested edit:
Minor Stuff
(more)
helpful over 3 years ago
Edit Post #282861 Initial revision over 3 years ago
Answer A: What's the difference between placing <script> in the <head> and placing in the <body>?
Placing `` in the ``: Placing `` in the `` might affect the performance since the content won't load until the browser complete downloading the JavaScript files that placed in the `` while also might produce a blank white screen for 4 Or 5 seconds Or maybe more (depends on the size of the JavaScri...
(more)
over 3 years ago
Edit Post #282860 Initial revision over 3 years ago
Question What's the difference between placing <script> in the <head> and placing in the <body>?
While learning JavaScript, I started to see sometimes the `` is placed in the `` and sometimes it is placed in the ``, What's difference between placing the `` in the `` and placing in the ``, and What's the best for more performance and efficiency?
(more)
over 3 years ago
Comment Post #282839 Personally, I don't see it is copied from Wikipedia at all and even **if** it is copied from Wikipedia, so it is reworded and some other stuff is added in the answer. I think the answer is good at all.
(more)
over 3 years ago
Edit Post #282741 Post edited:
Happy Dot.
over 3 years ago
Edit Post #282741 Initial revision over 3 years ago
Answer A: Is it possible to mutate the DOM directly from HTML, without any JavaScript?
No. Short Answer No, it is not possible to mutate the Document Object Model (DOM) via HTML. You can mutate via JavaScript. Long Answer The Document Object Model (DOM) is a programming interface for HTML and XML documents. It represents the page so that programs can change the document str...
(more)
over 3 years ago
Comment Post #282714 I have edited it. It is now "Lacks".
(more)
over 3 years ago
Edit Post #282714 Post edited:
Lacks
over 3 years ago
Edit Post #282714 Post edited:
Small Improvements
over 3 years ago
Edit Post #282714 Initial revision over 3 years ago
Question How much research effort is expected from the asker by the community?
Simply, there are search engines which you can find answers to your questions. Although there is Stack Overflow which answers many questions. Additionally that there is documentation and there are online tutorials and courses on YouTube and many other platforms that may solve your problem. So, simply...
(more)
over 3 years ago
Edit Post #282700 Post edited:
Small Correct.
over 3 years ago
Edit Post #282700 Initial revision over 3 years ago
Question Is it correct to downvote answers to bad questions?
Sometimes I see bad questions (e.g Off-Topic questions) but I see perfect high quality answers to it but since the question is Off-Topic, so I think that who answered the question is being a victim of this behavior (The behavior of Off-Topic questions), so my question is: Is it correct to downvote an...
(more)
over 3 years ago
Comment Post #282677 I added "Hello", "Thank you" as example only but I understand thare are many other greetings like "Hope this helps".
(more)
over 3 years ago
Edit Post #282677 Initial revision over 3 years ago
Question Should "Hello", "Thank you", "Morning" and similar greetings be removed from posts?
I just started to see greetings in posts like: "Hello", "Thank you", "Morning" and other types of greetings. Should this greetings be removed from posts or we just keep them? Sometimes I think they are just noise and might not be helpful for future readers since all of use are here to help so t...
(more)
over 3 years ago
Comment Post #282598 Well, that means that the button is not found. Could you try: `<%= button_tag(type: 'submit', id: "TestBTN") do %> Test<% end %>`
(more)
over 3 years ago
Comment Post #282119 @#53922 No, he have written a summary. Look closely at [edit summary](https://software.codidact.com/posts/suggested-edit/486) and here is a [screenshot](https://software.codidact.com/uploads/gbAMbNaA5P8MLz9yHynN51ZG) for reference.
(more)
over 3 years ago
Comment Post #282592 @#53305 Yes, there is no issue. Just added as a notice.
(more)
over 3 years ago
Edit Post #282598 Post edited:
Cleaning Up.
over 3 years ago
Edit Post #282598 Post edited:
Cleaning Up.
over 3 years ago
Edit Post #282598 Initial revision over 3 years ago
Answer A: How to call a function from ruby-on-rails (HTML)?
Hope I understood what do you mean. I guess for example you have `app.js` (which contains your JavaScript function) and `app.html.erb` (which you want to call JavaScript function from). OK. In your `app.html.erb`: ```ruby ``` As you seen above, first I linked our Ruby HTML file to our ...
(more)
over 3 years ago