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.

Posts by Peter Taylor‭

41 posts
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‭

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 3y ago by Peter Taylor‭  ·  edited 3y ago by Peter Taylor‭

Answer
66%
+2 −0
Q&A How to make Microsoft.Build.Evaluation.Project use same base properties as Visual Studio?

By forking MSBuildLocator and basically just removing the #ifdef it's straightforward to list the available VS instances. It even works to register one, although if you want the same application to...

posted 4y ago by Peter Taylor‭

Answer
66%
+2 −0
Q&A How to break infinite loop in CTE

For small tables you can bound the recursion depth: WITH my_cte(childId, parentId, depth, max_depth) AS ( SELECT r.childId, r.parentId, 1, (SELECT COUNT(*) FROM My_Table) FROM My_Table ...

posted 3y ago by Peter Taylor‭

Answer
66%
+2 −0
Q&A Algorithmically generating the grid formed by the vertices of a dodecahedron (Hunt The Wumpus)

When I implemented this for a code golf challenge, the state had to encode not only the vertex you were at but the edge by which you had entered (or, equivalently, the direction in which you were f...

posted 3y ago by Peter Taylor‭

Answer
66%
+2 −0
Q&A How to set FontFamily for an entire WPF application in a theme?

While writing the question I did find one hacky solution which works, and which I will use unless someone has an alternative. Create a codebehind file for the theme: using System; using System.W...

posted 2y ago by Peter Taylor‭

Answer
66%
+2 −0
Q&A Using Lua's `os.rename` to rename a file from a hard drive to a new location on a USB flash drive

Your diagnosis appears to be correct. Per https://www.lua.org/pil/22.html Because Lua is written in ANSI C, it uses only the functions that the ANSI standard defines. POSIX rename extends the...

posted 2y ago by Peter Taylor‭

Answer
66%
+2 −0
Q&A TeamCity build variables

I have created a Configuration Parameter in TC's 'Parameters' area: That can work, but from the rest of the question I think that what you actually want to do here is create an Environment Var...

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

Answer
66%
+2 −0
Q&A Git-ignoring files with special characters in their names, especially newlines

Hidden in the documentation there's See fnmatch(3) and the FNM_PATHNAME flag for a more detailed description. so that's probably the route you should be taking to emulate the behaviour as acc...

posted 1y ago by Peter Taylor‭

Answer
66%
+2 −0
Q&A Git command formatting characters in msbuild are interpreted incorrectly

From MSDN: To escape a special character, use the syntax %<xx>, where <xx> represents the ASCII hexadecimal value of the character. So to use format %ad you should escape as %25ad.

posted 10mo ago by Peter Taylor‭

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

Tags also serve for someone who stumbles across the question directly from a third party link to find related content. Perhaps the child tag would suffice if the parent tag is automatically inserte...

posted 4y ago by Peter Taylor‭

Answer
60%
+1 −0
Q&A Why comma is expected for auto_increment?

Read the documentation for SQLite CREATE TABLE clauses, not questions about Netbeans JavaDB. In particular, if you expand column-def and column-constraint you'll see the correct syntax for what yo...

posted 3y ago by Peter Taylor‭

Answer
60%
+1 −0
Q&A Conditionally ignore files in git

Per man gitignore there are four sources of patterns for ignoring files. Command-line arguments are probably too much hassle; .gitignore is itself version-controlled (unless you include .gitignore ...

posted 3y ago by Peter Taylor‭

Answer
60%
+1 −0
Q&A Can I set a memory limit for the .NET Core garbage collector to collect objects more aggressively?

forcing the GC collection after each operation - this can be done using GC.Collect(), but it is not recommended to do so ...unless you have good reason. Here you have good reason. The oth...

posted 3y ago by Peter Taylor‭

Answer
60%
+1 −0
Q&A Identifying non-daemon threads in an Android ANR stack dump

One of "my" Android apps is showing a heavy frequency of "slow exit" application-not-responding (ANR) problems. The Play Console has the "insight": Slow exit Problem The main thread has finish...

0 answers  ·  posted 3mo ago by Peter Taylor‭

Question android stacktrace
33%
+0 −2
Q&A How can I write an egrep (grep -E) regexp that matches lines containing two stanzas in arbitrary order?

This doesn't answer the question in full generality, but the assumption made seems reasonable to me: match lines containing (x1=y2;|c5=c6;) twice. I.e. ^(([^;]+; )*(x1=y2;|c5=c6;) ?){2}

posted 4y ago by Peter Taylor‭

Answer