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 toraritte‭

48 posts
81%
+7 −0
Q&A What is the point of triggering CI/CD with an empty git commit?

I read posts (e.g., 1, 2, 3) that recommend triggering a CI build process by pushing an empty git commit. I don't understand how this is a good idea as the commit history will be peppered with mea...

3 answers  ·  posted 1y ago by toraritte‭  ·  last activity 12mo ago by matthewsnyder‭

Question git ci/cd
77%
+5 −0
Q&A What are the benefits of starting a Git repo with an empty commit?

Found an article about starting a repo with an empty commit. Read the post a couple of times, but still don't understand the reasoning: 1. git log and other commands blow up with terrifying ...

2 answers  ·  posted 1y ago by toraritte‭  ·  last activity 1y ago by Michael‭

Question git
77%
+5 −0
Q&A How to create and manipulate (read/write) Excel (XLSX) documents with complex rules using general programming languages?

Our organization (blindness non-profit in California) is obligated to submit reports to grant organizations (e.g., Department of Rehabilitation) on a regular basis. Most of the time, this means exp...

1 answer  ·  posted 1y ago by toraritte‭  ·  last activity 1y ago by toraritte‭

Question excel xlsx
77%
+5 −0
Q&A How to create and manipulate (read/write) Excel (XLSX) documents with complex rules using general programming languages?

All of these projects use Microsoft's OpenXML SDK for Office behind the scenes: 1. .NET (F#, C#) The F# Guide recommends NPOI, which also seems to be the most popular and most up-to-date, but the...

posted 1y ago by toraritte‭  ·  edited 1y ago by toraritte‭

Answer
77%
+5 −0
Q&A What determines where the focus goes back to when clicking on a browser's back button?

As far as I can tell, it is in part determined by the HTML spec's History API1, specifically the value of history.scrollRestoration. Quoting the HTML spec's scroll restoration mode paragraph: ...

1 answer  ·  posted 7mo ago by toraritte‭  ·  last activity 7mo ago by toraritte‭

75%
+4 −0
Code Reviews How to programmatically click through a list of elements if one has to wait for a click to load a set of predefined new elements?

I would like to download the old-time radio show I Love a Mystery from the OTRR website. I figured out how to construct the list of right URLs, const urlStub = "https://otrr.org/OTRRLibrary/jukebo...

1 answer  ·  posted 1y ago by toraritte‭  ·  edited 10mo ago by toraritte‭

Question javascript
75%
+4 −0
Q&A What is the point of triggering CI/CD with an empty git commit?

Based on the SO comments, this is not a good general practice, and I believe the point of the posts mentioned in the question is that it can be done (but one probably shouldn't) this can be use...

posted 1y ago by toraritte‭

Answer
75%
+4 −0
Q&A How to sort the output of meta / slash commands in `psql`?

For example, how to sort the output below by the values in "Column" in the psql shell itself? my_db=> \d auth_user Table "public.auth_user" Column ...

1 answer  ·  posted 6mo ago by toraritte‭  ·  edited 6mo ago by MER‭

75%
+4 −0
Q&A How does a client verify a server's SSL certificate? What are the specific steps?

Found this old article at the bottom of the search results to be the best explanation to date: (The longer version is here, SSL Handshake (Sun Java System Directory Server Enterprise Edition 6.0 R...

posted 12mo ago by toraritte‭

Answer
71%
+3 −0
Q&A What does F#'s `box` keyword do and where is it documented?

The Null Values article in the F# Language Reference show an example that uses it, but it does not explain what it does exactly. You can use the following code to check if an arbitrary value is ...

1 answer  ·  posted 11mo ago by toraritte‭  ·  last activity 10mo ago by toraritte‭

Question f#
71%
+3 −0
Q&A What does Nixpkgs' `callPackage` do?

callPackage is a complex function (reasons include the Nix language being lazy, usage of fixed-point evaluation, overrides, etc.), and this complexity steals the spotlight from what this function a...

1 answer  ·  posted 3mo ago by toraritte‭  ·  edited 3mo ago by toraritte‭

Question *nix nixpkgs
71%
+3 −0
Q&A How to establish a relationship between HTML elements (tags)? (i.e., how can one element refer to another one)

Should I use the data-* attributes for this or is there a more idiomatic way? For context, I'm trying to convert annotated legal PDF documents to HTML. Certain parts of these documents are cross...

3 answers  ·  posted 4mo ago by toraritte‭  ·  edited 3mo ago by Karl Knechtel‭

Question html
71%
+3 −0
Q&A Where does the name of the `pure` function in the `Applicative` type class come from?

At this point in my learning journey, I simply accepted that this function is called pure (both in Haskell and in PureScript), but it would have helped a lot if I had known the reasoning behind thi...

1 answer  ·  posted 6mo ago by toraritte‭  ·  last activity 6mo ago by Derek Elkins‭

71%
+3 −0
Q&A Why does RFC 3986 (URI generic syntax) declare the "host" component to be case-insensitive when the syntax rules show it to be case-sensitive?

First, a reminder to future self (the figure RFC 3986, Section 3. Syntax Components complemented with Section 3.2. Authority): The following are two example URIs and their component parts: ...

1 answer  ·  posted 8mo ago by toraritte‭  ·  edited 8mo ago by toraritte‭

Question url uri
71%
+3 −0
Q&A What does F#'s `box` keyword do and where is it documented?

box and unbox are operators documented in the F# Core API Reference; it tersely states that they box / unbox (respectively) a strongly typed value. box a returns value a "wrapped" in a .NET Sy...

posted 11mo ago by toraritte‭  ·  edited 10mo ago by toraritte‭

Answer
71%
+3 −0
Q&A Where is the `.fsproj` project file documented?

More specifically: Is there a dedicated docs page listing "properties" that are idiosyncratic to F# .fsproj project files? Why am I asking? Started learning F# a couple of days ago, but just now ...

1 answer  ·  posted 1y ago by toraritte‭  ·  edited 1y ago by toraritte‭

Question f# msbuild
66%
+2 −0
Q&A How to write a function that only accepts a list of `Error string` `Results` in F# on the level of types?

For example, given a mergeErrors function where input is always a list of Error strings, let es = [ Error 1; Error 2; Error 3 ] let mergeErrors<'a> (errors: Result<'a,int> list) : R...

1 answer  ·  posted 10mo ago by toraritte‭  ·  last activity 10mo ago by Derek Elkins‭

Question f#
66%
+2 −0
Q&A .NET dependency management: `dotnet add package` vs. Paket?

Many older projects (i.e., older than 5 years) provide instructions to the Paket .NET dependency manager (e.g., Suave), so I started digging into it, got confused, then gave up for while because er...

1 answer  ·  posted 8mo ago by toraritte‭  ·  last activity 8mo ago by toraritte‭

Question .net-core nuget paket
66%
+2 −0
Q&A .NET dependency management: `dotnet add package` vs. Paket?

Based on what I know so far, there is no difference. Paket has been created more than 10 years ago to address (perceived?) shortcomings of NuGet. (Reading the .NET history made my head spin, and l...

posted 8mo ago by toraritte‭  ·  edited 8mo ago by toraritte‭

Answer
66%
+4 −1
Q&A How to implement a relationship between 2 tables where the type of participation is mandatory and RESTRICT rule for both?

Found the example below in a book teaching logical database design, but I'm stuck on how one would implement this in PostreSQL: The diagram reflects the following business rule: An instructor...

1 answer  ·  posted 1y ago by toraritte‭  ·  last activity 1y ago by Derek Elkins‭

66%
+2 −0
Q&A How to programmatically evaluate Excel data validations using .NET?

What I would like to do: Set a cell value. Check with a program if cell values conform to data validation rules. I could extract all the information needed to create a validation function, b...

1 answer  ·  posted 12mo ago by toraritte‭  ·  last activity 12mo ago by toraritte‭

Question c# f# excel
66%
+2 −0
Q&A Which .NET project can programmatically validate a cell's value out of the box based on Excel data validation constraints?

Are any of the popular Excel .NET projects have a functionality similar to Apache POI's DataValidationEvaluator class?

1 answer  ·  posted 12mo ago by toraritte‭  ·  edited 12mo ago by toraritte‭

Question c# f# excel Open-XML-SDK
66%
+2 −0
Q&A What does "parameterised type in the positive / negative position" mean in the context of invariant functors?

From PureScript's Data.Functor.Invariant documentation (emphasis mine): A type of functor that can be used to adapt the type of a wrapped function where the parameterised type occurs in both the...

1 answer  ·  posted 6mo ago by toraritte‭  ·  last activity 6mo ago by Derek Elkins‭

66%
+2 −0
Q&A How to "materialize" Ionide function signature type hints as comments?

For example, given this function head, this is the hint that is generated: let updateCell workbook sheetIndex rowIndex columnIndex value = // XSSFWorkbook -> int -> int -> int -> stri...

0 answers  ·  posted 12mo ago by toraritte‭

Question vs-code ionide
66%
+2 −0
Q&A What does Nixpkgs' `callPackage` do?

For the record, this write-up is not better than any of the resources listed in the question; writing it simply helped me better understand callPackage. Level 0. Poor, but short callPackage f att...

posted 3mo ago by toraritte‭  ·  edited 3mo ago by toraritte‭

Answer