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
Code Reviews Vanilla JS Functions Review

Without seeing the HTML and CSS for the page I'm going to be making assumptions about the effects that the JavaScript has. Feel free to include the other files if the lack of context leads me to in...

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

Answer
71%
+3 −0
Q&A Running remote scripts (cloud scripts) locally --- valid and securely as possible

An example for a current problem; the file downloaded can have a trivial name such as install.sh and collide with similar files (the rm is especially problematic here I think). This is why tem...

posted 4y ago by Peter Taylor‭  ·  edited 4y ago by Peter Taylor‭

Answer
71%
+3 −0
Meta Border-bottom of inline code is (sometimes) not displayed when it's in the last line of a paragraph

After I wrote this answer, I could notice that, when there's inline code in the last line of a paragraph, sometimes the border-bottom of the inline code text is not displayed. One case is when the...

0 answers  ·  posted 4y ago by hkotsubo‭  ·  edited 4y ago by Monica Cellio‭

Question bug status-completed code-formatting
71%
+3 −0
Code Reviews C# WPF MVVM View & Get new record values

Some thoughts: Consider using Github (or something like that, but I suggest Github due to its popularity) to share the project. It allows us not only to write some code but open PR with sugges...

posted 4y ago by FoggyFinder‭

Answer
71%
+3 −0
Q&A Trying to create a POST request with Apache

I have tried many different ways to do this with apache but the server seems to not be receiving the data. Stacktraces are not being printed so I can only assume I have the request set up wrong for...

0 answers  ·  posted 4y ago by cuzzo‭  ·  edited 4y ago by Alexei‭

Question java apache http-request
71%
+3 −0
Q&A Search paths where all nodes are in a relationship with same node

Something like this query should work for you: MATCH (a:Person)-[:IS_SON]->()-[:WAS_BORN]->(b:Country) WITH a, count(DISTINCT b) AS birthplaces WHERE birthplaces = 1 RETURN a Note that...

posted 4y ago by r~~‭

Answer
71%
+3 −0
Q&A Why is this symlink() call returning successfully while apparently failing to create the sym-link?

Summary I've fixed the issue and what follows is the best explanation I have so far. What I had described in the OP were some of the observations, but I'll be including more detail so that it's (h...

posted 4y ago by ghost-in-the-zsh‭  ·  edited 3y ago by ghost-in-the-zsh‭

Answer
71%
+3 −0
Q&A Static and thread_local initialization order

TL;DR The initialization of the variables a and b in your question are indeterminately sequenced in relation to each other. The initialization order is not guaranteed between them. The initiali...

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

Answer
71%
+3 −0
Q&A Is there a way to automatically fix MySQL tables where the auto_increment has fallen behind the correct value?

This is possible in two steps by using a dynamic SQL: SET @nextId = (SELECT MAX(id) + 1 FROM `CustomTable` ); SET @sql = CONCAT('ALTER TABLE `CustomTable` AUTO_INCREMENT = ', @nextId[]()); PREPA...

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

Answer
71%
+3 −0
Q&A Union of queries depending on variable in list

Yes, you can achieve this using UNWIND and CALL, in the following pattern: UNWIND ['Canada', 'Europe'] AS region CALL { WITH region query } RETURN * You can replace RETURN * with any o...

posted 4y ago by r~~‭

Answer
71%
+3 −0
Q&A Union of queries depending on variable in list

I have a big Cypher query that is depending on a variable. Example: With REGION = 'Canada' query I want to execute this query several times based on different values on a list and return the UN...

1 answer  ·  posted 4y ago by Guilherme Costa‭  ·  edited 4y ago by Alexei‭

Question cypher neo4j union
71%
+3 −0
Q&A In PHP what is the use case for include instead of require when including PHP scripts?

In PHP one can either use include or require to include files, the difference is that if the file doesn't exist it will emit a fatal error and halt with a require and only emit a warning with inclu...

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

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

According to the documentation for the MySQL IN function: The number of values in the IN() list is only limited by the max_allowed_packet value. The default value for it is 67108864. So, you...

posted 4y ago by Alexei‭

Answer
71%
+3 −0
Meta Add syntax highlighting for Cypher

There have now been two questions about Cypher, the Neo4j query language. Highlight.js doesn't support Cypher syntax highlighting out of the box, but they do offer a drop-in highlightjs-cypher modu...

0 answers  ·  posted 4y ago by r~~‭  ·  edited 3y ago by sau226‭

Question feature-request status-deferred syntax-highlighting highlightjs
71%
+3 −0
Q&A In MySQL is there a limit to the number of keys in a IN() clause?

I have a PHP program that does a SELECT and then updates some of the values based on an algorithm. Rather than updating one row at a time UPDATE example_table SET COLUMN_A = 1 WHERE primary_k...

2 answers  ·  posted 4y ago by Charlie Brumbaugh‭  ·  last activity 4y ago by Alexei‭

Question mysql
71%
+3 −0
Q&A Iterating through a MySQL table with a LIMIT clause and PHP gets progressively slower

I have a very large table that I need to iterate through with a PHP script and I can't do all of the results at once so I do it in sections with a LIMIT like for ($x = 0; $x < 10000000; $x += 1...

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

Question php mysql
71%
+3 −0
Q&A How to make Microsoft.Build.Evaluation.Project use same base properties as Visual Studio?

Microsoft.Build.Evaluation.Project seems to have some rather odd ideas of what values to use when loading projects. In particular, I have a number of projects with the following dependency: <Pa...

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

Question msbuild visual-studio
71%
+3 −0
Meta I can't choose any tags when posting a question

The problem described below occurs in Windows 10 and Chrome 87.0.4280.66 (64 bits, JavaScript enabled). I could post this question only in mobile (Chrome/iOS 14.2), where the problem doesn't occur....

0 answers  ·  posted 4y ago by hkotsubo‭  ·  edited 1y ago by hkotsubo‭

Question bug status-completed tags
71%
+3 −0
Q&A Why would an unique index get moved to the primary key after the underlying column is dropped?

So I had a table with a primary key and a bunch of different columns. Columns A, B, and C were all unsigned ints (like the primary key column) and each column had a unique constraint I dropped the...

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

Question mysql database-index
71%
+3 −0
Q&A Would a MySQL database run more efficiently with smaller varchar lengths?

YES or NO: It all depends on the storage engine Fairly universally, though IIRC from looking at PostgreSQL a while back, PostgreSQL may not even do that, there is a difference between CHAR/VARCHAR/...

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

Answer
71%
+3 −0
Code Reviews Counting number of assignments that a `fscanf` format strings implies

Consider using look-up tables to increase execution speed (at the cost of some 200 bytes .rodata use). For example this: static const char specifiers[] = "diouxaefgcspAEFGX"; could be replaced wit...

posted 4y ago by Lundin‭

Answer
71%
+3 −0
Meta Code Reviews: ‘it's fine’

Put it in a comment if it's just "It's fine, no problems here". As with most answers that aren't substantial enough to warrant their own answer post, I'd say to just leave a comment. As you said, k...

posted 4y ago by Moshi‭

Answer
71%
+3 −0
Q&A SID to login for access via a group

I have a query that returns the owner of jobs on an SQL instance, select s.name as JobName , s.owner_sid , ISNULL(L.name,'AccessViaGroup') as LoginName --Trying to figure out how to turn that ...

0 answers  ·  posted 4y ago by James Jenkins‭  ·  edited 4y ago by Alexei‭

Question sql-server login sql-server-2019
71%
+3 −0
Meta Phantom answer in my notification list

That... looks like a funny bug. I started writing an answer, containing mostly the number "1", because that would be an (not really helpful, but correct) answer to your question. To test, whether t...

posted 4y ago by luap42‭  ·  last activity 4y ago by luap42‭

Answer
71%
+3 −0
Meta What is the point of tagging a question with both a parent and a child tag?

I can provide an answer based on Stack Overflow experience. SO offered watches by tags. By using a general tag along with a more specific tag, users interested in [sql] will also get the question i...

posted 4y ago by Alexei‭

Answer