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.

Search

Advanced Search Options

To further refine your search, you can use additional qualifiers such as score:>0.5. For example, the search score:>=0.5 created:<1y grammar would return only posts mentioning "grammar" that have a score >= 0.5 and were created less than a year ago.

Further help with searching is available in the help center.

Quick hints: tag:tagname, user:xxx, "exact phrase", post_type:xxx, created:<N{d,w,mo,y}, score:>=0.5

Filters
2.3k posts
 
40%
+2 −4
Q&A Child process works only once after the parent's two calls to scanf

This program creates a child process and shares two integers (base and height) through the shared memory. The parent process asks four times to insert two integers and wait for the child process t...

1 answer  ·  posted 2y ago by Luca_Impellizzeri‭  ·  last activity 2y ago by Alexei‭

40%
+0 −1
Q&A Is there a JavaScript command to remove all CSS pseudo-elements whatsoever in a document? [closed]

In a dense DOM tree created by a content management system which I didn't create and don't know much about there might be pseudo elements hiding in various places. To ensure that, I want to run so...

0 answers  ·  posted 2y ago by deleted user  ·  closed 2y ago by Alexei‭

40%
+0 −1
Q&A How to uncollapse the first and second tiers of a link tree in JavaScript?

I wish to display the first and second branches of a link tree with JavaScript. I want to show these branches in a single action, instead of clicking each vertical arrow (link) anew. HTML examp...

2 answers  ·  posted 2y ago by deleted user  ·  last activity 2y ago by hkotsubo‭

Question javascript treeview
40%
+0 −1
Q&A How To Verify Old Password in PHP? [closed]

I have a page to change the user password in my website, this page can only be used if the user have a logged in! The change password page have 3 inputs: Old Password, New Password and Con...

0 answers  ·  posted 2y ago by rrenildopereiraa‭  ·  closed 2y ago by Alexei‭

40%
+2 −4
Q&A Should I check if pointer parameters are null pointers?

The kind of comments telling you to add checks against null are typically coming from programmers mostly used to deal with higher level programming languages. They think that generally, more explic...

posted 2y ago by Lundin‭  ·  edited 2y ago by Lundin‭

Answer
40%
+2 −4
Q&A Problems with data structures and filestreams.

So I just started learning how to use file-streams in C & decided to attempt a question which is to do with library management in C, however I am currently encountering some problems and feel l...

2 answers  ·  posted 2y ago by dumplings‭  ·  edited 2y ago by Alexei‭

40%
+0 −1
Q&A width="100%" for an iframe, breaks responsiveness CSS directives

Changing @media screen and (min-width: 922px) to @media screen and (min-width: 720px) helped. Since the iframe wrapper is smaller than 992px the iframe children appeared relative to the wrapper ac...

posted 2y ago by deleted user

Answer
40%
+0 −1
Q&A iframe tag is vertically scrollable although I would expect it to vertically stretch 100%

I think that adding this to the original code helps: iframeToWorkOn.height = parseInt(iframeToWorkOn.height) + 50; This adds 25px top and 25px bottom compensating for CSS padding. I also wra...

posted 2y ago by deleted user  ·  edited 2y ago by deleted user

Answer
40%
+0 −1
Q&A How to run a remote JavaScript file from GitHub?

const script = document.createElement('script'); script.src = `your.script.url/?_bustcache=${Date.now()}`; script.async = true; script.onload = doSometh...

posted 2y ago by chovy‭  ·  edited 2y ago by chovy‭

Answer
40%
+0 −1
Q&A What solutions available for a CMS-agnostic contact form?

I can't recommend anything specific because the ones I used around 2012 and before, Magic Form Mail and Form World they've both shut down. However there's lots of good ones for sale on Code Canyon.

posted 2y ago by desbest‭  ·  edited 2y ago by desbest‭

Answer
40%
+2 −4
Q&A How do I properly format a String for parsing with a com.google.gson.JsonParser

I am trying to check a JSON array for a certain element. However, when I try to instantiate a JsonElement to search the list for: JsonElement builderElement = JsonParser.parseString( "{\"disc...

0 answers  ·  posted 2y ago by cuzzo‭  ·  edited 2y ago by Stephen C‭

Question java json json-parser
40%
+0 −1
Q&A How to mock LazyCache when performing unit testing?

A few of my services rely on LazyCache and they use it by injecting IAppCache. For unit testing, I would like to mock this. I have found MockCachingService, but it does not do any caching (as spec...

1 answer  ·  posted 2y ago by Alexei‭  ·  last activity 2y ago by Alexei‭

40%
+0 −1
Q&A How do World Wide Web interactions happen in a general level? [closed]

I understand that any World Wide Web interaction works this way: Stage 1: Client (human or software) ⟶ User agent ⟶ HTTP/S web-server request (with an unresolved domain) Stage 2: ISP-initiated Rou...

0 answers  ·  posted 3y ago by deleted user  ·  last activity 3y ago by Alexei‭

Question web
40%
+0 −1
Meta Community feedback: What type of questions can I ask here?

questions about which tools, frameworks, or technologies to use, unless they are directly related to development (e.g. code, schema changes documentation tools) Don't understand. Frameworks or ...

posted 3y ago by meriton‭

Answer
40%
+0 −1
Meta Community feedback: What type of questions can I ask here?

questions dealing with how to write software documentation This seems overly broad. I mean this would include Mark Bakers entire book, but technical writing has an established codidact community,...

posted 3y ago by meriton‭

Answer
38%
+3 −6
Q&A Why most hosting providers support ticket systems allow text only (no formatting)?

TL;DR Simply not necessary Markdown, and other methods of formatting (Word or similar documents, HTML/CSS, Latex, etc.) are used where the document is the product. In this case, the support ticket...

posted 3y ago by manassehkatz‭

Answer
37%
+1 −3
Q&A theme always not changing [closed]

const body = document.body; const light = evt => { body.setAttribute('data-theme', 'light'); localStorage.setItem("theme", "light"); console.log("light"); } const dark = ...

0 answers  ·  posted 3y ago by Anonymous‭  ·  closed 3y ago by Alexei‭

Question javascript html theme
37%
+1 −3
Q&A Are there textual-formats for documenting actions in Graphical Windows systems? [closed]

I've recently been involved with creating text documentation of steps for workflows in graphical windows systems (and web-pages). These are often somewhat wordy, for example: "Click on the 'Exit' ...

0 answers  ·  posted 3y ago by CodeFarmer‭  ·  closed 2y ago by Alexei‭

Question documentation
37%
+1 −3
Q&A Why does this code that uses a pointer-to-pointer-to-int segfault?

Hello folks, can someone resolve this seg fault with me please, i can't find the error where it occur. Thank you. #include <stdlib.h> #include <stdio.h> int ft_ultimate_range(int *...

1 answer  ·  posted 3y ago by M3dc0d‭  ·  last activity 3y ago by Lundin‭

37%
+1 −3
Q&A An HTML form in Hebrew is Right to Left in general but a select list inside it is Left to Right

My HTML form got dir="rtl" attribute and value and in desktop computer systems it appears Right to Left (RTL) but in my mobile device (OnePLus 6) with Android and DuckDuckGo browser, the form's HTM...

0 answers  ·  posted 3y ago by deleted user  ·  edited 3y ago by deleted user

Question html right-to-left
37%
+1 −3
Q&A Did functional programming predated Object oriented programming or rather the opposite?

According to "Composing Software", by Eric Elliot, pages 13 to 17, yes.

posted 3y ago by nelson777‭  ·  edited 3y ago by nelson777‭

Answer
37%
+1 −3
Q&A What's the better way to deal with deprecated feature?

It's a very old question came to my mind. Whenever I start building some applications for Android using Android Studio. In every update, lots of tools get deprecated. I know I can use deprecated "t...

0 answers  ·  posted 2y ago by Anonymous‭  ·  edited 2y ago by Anonymous‭

Question android deprecated
37%
+1 −3
Q&A Separation of password cookies from all other types of cookies

When I clear my Google Chrome browser history I can clear both "Cookies and other site data" AND "passwords and other sign-in data". Clearing just one of the two would require me to re-login t...

1 answer  ·  posted 3y ago by deleted user  ·  edited 3y ago by Alexei‭

Question web cookies browser
37%
+1 −3
Q&A How can I make --reset-author the default?

Here's the problem: Wednesday I make the changes, git commit --amend them Just do a normal commit. You are trying to re-write, or cover up, history. That's generally bad. The record should ref...

posted 3y ago by Olin Lathrop‭  ·  edited 3y ago by Olin Lathrop‭

Answer
37%
+1 −3
Q&A How can I make --reset-author the default?

Rather that doing git commit --amend --date= every time you commit, you can coalesce commits at merge time using git merge --squash. That said, for non-trivial topic branches, it is usually valuab...

posted 3y ago by meriton‭  ·  edited 3y ago by meriton‭

Answer