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
 
50%
+1 −1
Q&A Input taking only first character of a string

I wrote a program named Kernel.c 2 months into my life in programming and created 4 functions at the time, and now there are 7 functions. Recently, I updated the program completely onto an online ...

1 answer  ·  posted 4y ago by General Sebast1an‭  ·  last activity 4y ago by elgonzo‭

Question c string input
50%
+2 −2
Q&A Print value from constructor

#include<iostream> using namespace std; class Book{ public: string title; string author; int pages; Book(string aTitle, string aAuthor, int aPages){ aTitle = title; ...

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

Question c++ constructor initialization
50%
+1 −1
Q&A yyyy/mm/dd instead expected dd/mm/yyyy format in PHP-created-HTML output

I have an HTML-PHP-CSS contact form with a date field: <input type="date" name="date" id="cf_input_date"></input> The default value in this field is the W3C built-in default: dd/m...

1 answer  ·  posted 4y ago by deleted user  ·  last activity 4y ago by Peter Taylor‭

Question php html css
50%
+0 −0
Q&A Submitting a form via XHR/AJAX causes partial data arrival to email inbox (only HTML without input)

I have a simple HTML-PHP contact form with some CSS. I desire to prevent the default behavior of the form which leads the user into a blank PHP page after submission, and, to have the form being s...

1 answer  ·  posted 4y ago by deleted user  ·  last activity 4y ago by Alexei‭

Question contact-form input ajax
50%
+3 −3
Q&A What is a typeless programming language?

I have read that several programming languages, listed below are considered "typeless": Forth Brainfuck B MUMPS BLISS Lucid BCPL I have shared this data with a programmer who clued that...

1 answer  ·  posted 4y ago by deleted user  ·  last activity 4y ago by deleted user

Question terminology
50%
+0 −0
Q&A Why some items aren't clickable in RecyclerView?

if (type=="dialer") { String timestamp = list.get(position).get(Constants.DATE); holder.txtTimestamp.setVisibility(View.VISIBLE); holder.imgDelete.s...

0 answers  ·  posted 3y ago by Anonymous‭

Question java android recycler-view
50%
+0 −0
Q&A Why ArrayList is always same value in only Adapter?

Each list index refers to the same HashMap which it just override the key's value with each iteration of your loop, losing any previously set values. So if I put the HashMap value inside loop then ...

posted 3y ago by Anonymous‭

Answer
50%
+0 −0
Q&A WARNING: environment variable DISPLAY is not set (netbeans)

I had installed default-jdk, jre and java although I didn't get any GUI of netbeans. I was thinking what was missing. While visiting lots of site I had seen oracle (Article) then I remembered I did...

posted 3y ago by Anonymous‭

Answer
50%
+0 −0
Q&A What should I use instead of managedQuery?

managedQuery is recently deprecated. ManagedQuery was used for using Cursor. What should I use since managedQuery was deprecated? Without it, I can't work with Cursor. So there must be alternative ...

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

Question java android android-cursor
50%
+0 −0
Q&A What should I use instead of managedQuery?

There's obviously an alternative. But it was available earlier also. It's actually getContentResolver().query(). There's not much more difference. Both classes (not actually class it's something el...

posted 3y ago by Anonymous‭

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

I have used Drupal since 2010 to create websites and I recall a few years back reading that it can be used to create smartphone applications (or something similar). Is this only the "web-integrate...

1 answer  ·  posted 4y ago by deleted user  ·  last activity 4y ago by corporat‭

Question drupal
50%
+1 −1
Q&A How to temporarily disable a MySQL user?

Sometimes I will need to temporarily lock out other MySQL users when I am making large structure changes and want to make sure that nobody else is inputting or changing the data. The other use case...

2 answers  ·  posted 4y ago by Charlie Brumbaugh‭  ·  edited 4y ago by Charlie Brumbaugh‭

Question mysql
50%
+1 −1
Q&A Count the number of occurrences in a text string

If I have some text in a cell, how can I find the number of times another piece of text appears in it? For example, suppose A1 contains Peter Piper picked a peck of pickled peppers.. pick occurs 2...

2 answers  ·  posted 4y ago by pnuts‭  ·  last activity 2y ago by Dirk Herrmann‭

Question excel string libreoffice-calc google-sheets openoffice-calc
50%
+0 −0
Q&A How to calculate the Hamming weight of a binary string?

A presently unanswered question on Stack Overflow asks: Does there exist a popcount function in libreoffice calc? and clarifies that "I often use BASE(A1;2;8) to show a number in binary".

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

Question string hamming-weight libreoffice-calc spreadsheet-formula
50%
+4 −4
Q&A Is concatenation a logical AND?

As a person with no significant background in mathematics and computer science I thought that concatenation and AND are logically identical if not very similar because both add something to somethi...

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

Question terminology concatenation string-concatenation
50%
+0 −0
Meta How can I fill in tag information?

There is a privilege to add the information to the tags: https://github.com/codidact/qpixel/blob/047a8d92073559fb10ebead89df8ce686f1a3dc4/app/views/tags/show.html.erb#L36-L39 https://github.com/cod...

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

Answer
50%
+1 −1
Q&A Should a salt be stored in the same database as the hash?

The issue with using two separate databases is you need to: store both access strings back up both databases manage both databases keep both databases patched By the time you have done that, th...

posted 4y ago by Ringi‭

Answer
50%
+3 −3
Q&A What is the worst code you ever saw?

The worst code I ever saw was when I was called in to finish the work of a consultant who had left the company for greener pastures. The feature had been in development for 4 months, and was, accor...

posted 4y ago by meriton‭

Answer
50%
+0 −0
Q&A Is it possible to rebuild a STL file from gcode?

I have a couple of 3d example projects in gcode for my printer but the printer bed has a couple of bumps in the center (where things are printed by default) and in order to print the objects I woul...

0 answers  ·  posted 4y ago by Charlie Brumbaugh‭  ·  edited 4y ago by Moshi‭

Question gcode stl-format
50%
+2 −2
Q&A Having trouble adding include directories

I'm trying to set up a simple test project, to unit test a change I'm working on. The change is to a file inside some existing project. I've tried to set up the includes as the original has it, but...

1 answer  ·  posted 4y ago by Hyperlynx‭  ·  last activity 4y ago by Hyperlynx‭

Question c++ cmake
50%
+0 −0
Q&A How to automatically run Entity Framework Core migrations for an application which uses a user with read/write rights on certain tables?

Migrations are applied during the application startup (initialization) only when the application is not accessible yet. One way to go is to leave the existing user as it is and define a designated ...

posted 4y ago by Alexei‭

Answer
50%
+0 −0
Q&A How to drop all stored procedures from a MySQL database

I need to drop all of the stored procedures from my MySQL database before I recreate them. How can I do so?

1 answer  ·  posted 4y ago by Charlie Brumbaugh‭  ·  edited 4y ago by Peter Mortensen‭

Question mysql stored-procedures
50%
+0 −0
Q&A How much memory is allocated for a MySQL VARCHAR variable in a stored procedure?

This answers your questions, not what I suspect to be real issue. According to the specifications a VARCHAR(100) will need actual data stored length + 1. So, the actual size would have mattered if...

posted 4y ago by Alexei‭

Answer
50%
+0 −0
Q&A In MySQL is there a limit to the number of keys in a IN() clause?

I'll readily admit I'm not too familiar with MySQL specifically, but personally, I would try to avoid listing all the primary key values in an ad-hoc query. What I would rather do personally is to...

posted 4y ago by Canina‭

Answer
50%
+0 −0
Q&A Unable to `mount` overlayfs in Docker container when inside a LXC with a ZFS pool

Summary The TL;DR is that, as long as ZFS is being used as the underlying file system, mount commands on top of that will not work. It's simply not supported. I was also able to confirm this over ...

posted 4y ago by ghost-in-the-zsh‭

Answer