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
 
75%
+4 −0
Q&A Not obligating http:// or https:// in a url field of a contact form

input type="url" works like this by design: An empty string ("") indicating that the user did not enter a value or that the value was removed. A single properly-formed absolute URL. This doesn'...

posted 4y ago by Alexei‭

Answer
75%
+4 −0
Meta Enable text-area for comments to be resized

The comment box is now resizable; drag the control in the lower right corner down to make the area bigger. -- Update: With the later introduction of threaded comments, the comment box lost its re...

posted 4y ago by Monica Cellio‭  ·  edited 3y ago by Monica Cellio‭

Answer
75%
+4 −0
Q&A yyyy/mm/dd instead expected dd/mm/yyyy format in PHP-created-HTML output

The date is sent in the form submission in ISO 8601 format (year-month-day). You can reformat it in the form handler as follows: $input_date = $_REQUEST['cf_input_date']; if ($input_date) { ...

posted 4y ago by Peter Taylor‭

Answer
75%
+4 −0
Q&A PHP variables aren't expanded when inside HTML which is by itself inside PHP

In PHP the single quotation mark ('x') is reading the content as raw values. This means, that escape sequences, such as \n, or variable interpolation, such as $x, is not supported. There are three...

posted 4y ago by luap42‭

Answer
75%
+4 −0
Meta I didn't get notification after user mentioning me in comment

It's because of the comma. Our comment-ping notification system isn't particularly smart and gets tripped up fairly easily, including by punctuation, so that ping wouldn't have worked. We've got s...

posted 4y ago by ArtOfCode‭

Answer
75%
+4 −0
Q&A How to properly deal with impersonation in a Web application? (security vs. usefulness for tech support)

My first instinct would be to track both identities, using one for access control, and the other for audit purposes. For instance, rather than storing: User createdBy; you'd store User create...

posted 4y ago by meriton‭

Answer
75%
+4 −0
Q&A How would I fix my IntelliJ IDE? It cannot open and re-installing does not work.

So I was looking around for some async solutions and I found one on github, https://github.com/electronicarts/ea-async I follow the setup instructions for maven. Only to realize it didn't work (I ...

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

Question installation intellij-idea
75%
+4 −0
Q&A How would I fix my IntelliJ IDE? It cannot open and re-installing does not work.

While I removed the -javaagent argument from the vmoptions file within my Program Files, it persisted in my roaming AppData folder and that seems to be what the IDE was referencing, not the main bi...

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

Answer
75%
+7 −1
Meta Should asking about book recommendations directly connected to software development be on-topic?

As someone who spent a lot of time trying to get this to work on Stack Overflow, I would advise against it. Some background story of my merry adventures with book lists: The story starts around...

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

Answer
75%
+4 −0
Meta The size of the code format window is much too small.

I apologize for the long delay in getting such a small change made and deployed. Someday I would like the blocks to be resizable, but in the meantime, a code block now shows 40 lines before the sc...

posted 2y ago by Monica Cellio‭  ·  edited 2y ago by trichoplax‭

Answer
75%
+4 −0
Meta Should asking about book recommendations directly connected to software development be on-topic?

Are we talking about questions asking for book recommendations, or for a way to share/compile book recommendations? A question doesn't have to be the vehicle for the latter. A question like "what...

posted 2y ago by Monica Cellio‭

Answer
75%
+7 −1
Q&A How can I provide additional information when raising an exception?

Suppose I have some code like: filename = "bad_dir" print(f"File not found: {filename}.") raise(FileNotFoundError) When the exception isn't caught, the stack trace is printed at the end of ...

2 answers  ·  posted 2y ago by mcp‭  ·  edited 1y ago by Karl Knechtel‭

Question python exception
75%
+4 −0
Meta Are questions about language design on-topic?

The ambition of this site was always to give more room for subjective and big picture questions compared with Someplace Else. However, I believe programming language design falls under the topic of...

posted 2y ago by Lundin‭

Answer
75%
+4 −0
Meta Can I repost here the answers to questions I get answered elsewhere?

I've thought that since I sometimes ask questions on chats and they are like black holes for information, whenever I get an answer I should post the question and answer here so that other people ha...

1 answer  ·  posted 2y ago by ShadowsRanger‭  ·  last activity 2y ago by trichoplax‭

Question discussion
75%
+4 −0
Q&A Keep local branch changes to resolve all remaining conflicts in a merge

git checkout --ours -- * --theirs would do the opposite, i.e. keep the changes from branch-y. Don't forget to git add later!

posted 3y ago by Quasímodo‭  ·  edited 3y ago by Quasímodo‭

Answer
75%
+4 −0
Q&A How to plot table from pandas dataframe

If you want a table for including in a latex document, then DataFrame.to_latex should be the best way. import pandas as pd import numpy as np df = pd.DataFrame(np.random.rand(9, 4), columns=['a'...

posted 3y ago by Goyo‭  ·  edited 3y ago by __blackjack__‭

Answer
75%
+4 −0
Q&A How to plot table from pandas dataframe

MWE import pandas as pd import numpy as np import matplotlib.pyplot as plt df = pd.DataFrame(np.random.rand(9, 4), columns=['a', 'b', 'c', 'd']) df.plot.bar(table=True) # don't want plot, ...

1 answer  ·  posted 3y ago by mcp‭  ·  edited 27d ago by Alexei‭

Question python plot pandas matplotlib
75%
+4 −0
Q&A How to configure .gitignore to ignore all files except a certain directory

MWE In the terminal run: mkdir mwe cd mwe mkdir dir touch f1.txt f2.pdf dir/f1.txt dir/f2.pdf git init . Create a .gitignore with: * # ignore all !dir/ # except this directory ...

1 answer  ·  posted 3y ago by mcp‭  ·  last activity 3y ago by Moshi‭

Question git gitignore
75%
+4 −0
Meta "Review suggested edit" page doesn't display Markdown source correctly

While reviewing older bug reports we discovered that the first problem is now working; the code fences show up in the diff. The second one still shows as one line without a clear diff, but I don't...

posted 3y ago by Monica Cellio‭

Answer
75%
+4 −0
Meta Participate Everywhere ability without meeting the requirements?

I noticed I have the ability Participate Everywhere even though I do not meet the requirements (Having roughly 75% of my posts to be positively received, with a minimum of 5 positively-recieved pos...

2 answers  ·  posted 3y ago by Ethan‭  ·  edited 1y ago by meta user‭

Question bug status-bydesign abilities
75%
+4 −0
Meta Questions easily answered by studying a beginner-level book

There's still time This scenario is not yet a problem for this site, but we will get there, since it's a huge problem for Stack Overflow This topic should be separately addressed, too. At ti...

posted 2y ago by Karl Knechtel‭

Answer
75%
+4 −0
Meta How can Q&A sites coexist with LLMs?

My take on this: Q&A sites used to fill two distinct roles, but only one of these (the more boring one that doesn't matter anyway) is usurped by LLMs. The interesting one is not yet in danger o...

posted 2y ago by matthewsnyder‭

Answer
75%
+7 −1
Q&A What are statements and expressions?

In computer programming, an expression is something that yields a value. A statement performs an action. For example, let us look at some pseudocode. Let's assume that we want to calculate the su...

posted 2y ago by FractionalRadix‭

Answer
75%
+4 −0
Q&A JavaScript redirect is getting "hijacked" and it is not onbeforeunload event.

My redirect in javascript somehow gets "hijacked" and I don't understand how. Previous developer (who is no longer working with the company) on page load initialized onbeforeunload event like so: ...

1 answer  ·  posted 2y ago by Vanity Slug ❤️‭  ·  last activity 1y ago by Vanity Slug ❤️‭

Question javascript redirect
75%
+4 −0
Q&A Readable syntax for executing many callables with useful side effects

In Python, multiprocessing is easy to do if you follow a "list projection" paradigm. Say you want to take a list of inputs X and apply some function f to every x_i, such that y_i = f(x_i) and the y...

1 answer  ·  posted 2y ago by matthewsnyder‭  ·  last activity 2y ago by mr Tsjolder‭

Question functional-programming python-3 multiprocess