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
 
71%
+3 −0
Q&A How to copy a PostgreSQL database to another machine.

On the server I dumped to a file using these commands user@server:~$ sudo -i -u postgres postgres@server:~$ pg_dump databasename > dumpfile Then I copied dumpfile to my machine and executed...

posted 4y ago by Estela‭  ·  edited 4y ago by Estela‭

Answer
71%
+3 −0
Q&A Why does this code that uses a pointer-to-pointer-to-int segfault?

Bugs: int **range = 0; should be int *range; and then call the function like ft_ultimate_range(&range, min, max);. That's the whole reason the parameter is pointer-to-pointer, so that you c...

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

Answer
71%
+3 −0
Q&A Storing input from different frontend webpages of a multi page contact form

Cookies vs Local Storage vs Session Storage. Cookies Has different expiration dates (both the server or client can setup expiration date). Cookies themselves can specify which pages from which...

posted 4y ago by Kevin M. Mansour‭  ·  edited 4y ago by elgonzo‭

Answer
71%
+3 −0
Q&A How do I communicate with a subproject in qmake?

Options There are three basic channels to choose from Shared build-include (.pri) files CONFIG .qmake.conf and I discuss the practicalities of each below. Shared .pri files Set or add to...

posted 4y ago by dmckee‭  ·  edited 4y ago by dmckee‭

Answer
71%
+3 −0
Q&A Why use an asterisk after a type?

#include<stdio.h> struct Node{ int data; struct Node* next; }; Here I used an asterisk after Node. What is it used for? What if I don't put any asterisk after Node (both Node...

2 answers  ·  posted 4y ago by deleted user  ·  edited 4y ago by hkotsubo‭

Question c pointers
71%
+3 −0
Q&A Why use an asterisk after a type?

The * for variables and not mathematical operators are the pointers. Assigning a pointer goes this way: char *text; // string Here, we assign a pointer named text and its type is a char, but a...

posted 4y ago by General Sebast1an‭

Answer
71%
+3 −0
Q&A redirect to "main" code in Ruby using Ctrl

Not a direct answer, but it should clarify some things. It redirects me to where the variable was declared Yes, this is called "go to definition/declaration" and it works out of the box in ma...

posted 4y ago by Alexei‭

Answer
71%
+3 −0
Q&A redirect to "main" code in Ruby using Ctrl

My go-to IDEs are VS Code for most things, and RubyMine for Ruby/Rails projects specifically. For that specific line of code you're looking at, I'm using RubyMine, which does enable you to Ctrl-cli...

posted 4y ago by ArtOfCode‭

Answer
71%
+3 −0
Meta Is it correct to ask customer service-related questions?

I didn't find any guidance on On-Topic - Help Center about customer service-related questions. So, I am asking: Is it correct to ask customer service-related questions? Example of customer service...

1 answer  ·  posted 4y ago by Kevin M. Mansour‭  ·  last activity 4y ago by Alexei‭

Question discussion
71%
+3 −0
Q&A What are the types of contact forms?

There is no "official" contact form. A form is a form is form. HTML (and by extension any language that generates HTML as output) has "forms". A form could be for "contact" or "order" or "chat" or ...

posted 4y ago by manassehkatz‭

Answer
71%
+3 −0
Q&A How to make the text box such that its placeholder goes up and arranges itself in the centre of the border upon clicking?

How to make the placeholder so that it goes to the top of the border line on click? For example, when you go to Gmail and click on the input field, the placeholder text goes up and arranges itself...

1 answer  ·  posted 3y ago by nobodyImportant‭  ·  edited 3y ago by hkotsubo‭

Question javascript html css
71%
+3 −0
Q&A Are there practical reasons for designing a method-only class/object?

Many languages support the concept of functors or function objects which are classes only containing a method/member function. Most notably C++ STL was designed around this - whenever you declare ...

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

Answer
71%
+3 −0
Q&A Credentials for multiple tenants with Azure.Identity

Situation: I have an Azure account which has management permissions for various subscriptions in various directories (tenants). I have a GUI tool to do various management tasks whose details are ir...

0 answers  ·  posted 3y ago by Peter Taylor‭

Question c# authentication azure
71%
+3 −0
Q&A setting of translateX for carousel image slider

I made carousel image slider by following tutorials. To slide images , I made the below function. const moveToSlide = (track, currentSlide, targetSlide) => { track.style.transform = 'translat...

0 answers  ·  posted 3y ago by aya2222‭  ·  edited 3y ago by aya2222‭

Question javascript carousel image transformation
71%
+3 −0
Q&A Proper way of sending large amount of data from View to ViewModel

I agree with you in that using MutableLiveData for achieving this feels wrong. I think this is because: LiveData is meant for sending data to LifecycleOwners such as Activity or Fragment, abstra...

posted 3y ago by nnlei‭

Answer
71%
+3 −0
Q&A How to initialize variable assignment in a non-OOP interpreter?

I honestly have no idea why you feel that OOP would be necessary in order to keep track of variable assignments in a language interpreter. People wrote both interpreters and compilers long before o...

posted 3y ago by Canina‭

Answer
71%
+3 −0
Q&A What does android:ems do?

What does ems in xml do? I saw that I was using following line in EditText. But, I never thought what it does. I was trying to check what actually it does by removing the line. I couldn't see any d...

1 answer  ·  posted 3y ago by Anonymous‭  ·  edited 3y ago by Alexei‭

Question fonts android em
71%
+3 −0
Q&A What might happen if I ignore warning?

Not returning a value on all code paths is error-prone because the function might not return the expected value in the non-covered cases. That is why it is better to explicitly return a value. As ...

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

Answer
71%
+3 −0
Q&A What does android:ems do?

The em is simply the font size. In an element with a 2in font, 1em thus means 2in. Expressing sizes, such as margins and paddings, in em means they are related to the font size, and if the user h...

posted 3y ago by Anonymous‭

Answer
71%
+3 −0
Q&A How do I redact values when Save()ing a yaml structure with YamlDotNet?

I handle several projects that use yaml files for configuration, and load them with YamlDotNet. It is sometimes useful to log the effective configuration when the program starts, to aid future debu...

0 answers  ·  posted 3y ago by ajv‭  ·  edited 3y ago by Troy‭

Question c# .net yaml yamldotnet
71%
+3 −0
Q&A Why content delivery networks often require a www. redirect?

Rather than re-iterate all of its points, I will link Netlify's reasoning in To WWW or Not WWW . It's a very eloquent article. That said, I'll try to summarize in my own words: You need to us...

posted 4y ago by corporat‭

Answer
71%
+3 −0
Q&A Can Drupal be used to develop native (non web) applications?

Just to confirm the terminology commonly used in mobile app development: Native apps - Written in compiled languages compatible with the target platform, uses platform-specific APIs. Hybrid app...

posted 4y ago by corporat‭

Answer
71%
+3 −0
Q&A Is there a problem in making Captcha an HTML builtin with an attribute setting which type of Captcha

A standard form tag such as <input type="captcha"> won't exist. Browsers are not to be trusted to self-regulate a Captcha service. Without getting into specific examples, there are browser e...

posted 4y ago by corporat‭

Answer
71%
+3 −0
Q&A How to create a MySQL generated column that uses a join in a concat?

I have a column that is a concatenation of 5 other columns plus a join to a different table. UPDATE db.a JOIN db.b ON fk_b = b.pk SET concat_field = CONCAT(field1,field2,field3,b.field,field4,fi...

1 answer  ·  posted 4y ago by Charlie Brumbaugh‭  ·  last activity 4y ago by Alexei‭

Question mysql generated-columns
71%
+3 −0
Q&A How to retain a service's data between components in Angular 8 ?

Found the problem: I wasn't using router in some links and the whole app was restarted.

posted 4y ago by nelson777‭

Answer