software.codidact.com
Open in
urlscan Pro
2606:4700:20::681a:112
Public Scan
Submitted URL: http://software.codidact.com/
Effective URL: https://software.codidact.com/
Submission: On November 21 via manual from CA — Scanned from CA
Effective URL: https://software.codidact.com/
Submission: On November 21 via manual from CA — Scanned from CA
Form analysis
2 forms found in the DOMGET /posts/search
<form role="search" action="/posts/search" accept-charset="UTF-8" method="get">
<div class="grid is-nowrap">
<input type="search" name="search" id="search" class="form-element">
<div class="h-m-1">
<button type="submit" class="button is-filled is-outlined">
<i class="fa fa-search"></i>
</button>
</div>
</div>
</form>
GET https://software.codidact.com/
<form action="https://software.codidact.com/" accept-charset="UTF-8" method="get">
<div class="form-group">
<div class="form-group-horizontal">
<div class="form-group">
<label class="form-element" for="predefined_filter">Predefined Filters</label>
<select name="predefined_filter" class="form-element js-filter-select select2-hidden-accessible" data-placeholder="" data-select2-id="3" tabindex="-1" aria-hidden="true">
<option value="" label=" " data-select2-id="5"></option>
<option value="" data-select2-id="6"></option>
<option value="Positive" data-select2-id="7">Positive</option>
<option value="Unanswered" data-select2-id="8">Unanswered</option>
</select><span class="select2 select2-container select2-container--default" dir="ltr" data-select2-id="4" style="width: 559px;"><span class="selection"><span class="select2-selection select2-selection--single" role="combobox"
aria-haspopup="true" aria-expanded="false" tabindex="0" aria-disabled="false" aria-labelledby="select2-predefined_filter-qo-container"><span class="select2-selection__rendered" id="select2-predefined_filter-qo-container" role="textbox"
aria-readonly="true"><span class="select2-selection__placeholder">None</span></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span></span></span><span class="dropdown-wrapper"
aria-hidden="true"></span></span>
</div>
<button type="button" class="filter-clear button is-medium is-danger">Clear</button>
<input type="submit" value="Apply" class="button is-medium is-outlined" data-disable-with="Apply">
</div>
<div class="form-group-horizontal">
<div class="form-group">
<label class="form-element" for="min_score">Min Score</label>
<input type="number" name="min_score" id="min_score" min="0" max="1" step="0.01" class="form-element form--filter" data-name="min_score">
</div>
<div class="form-group">
<label class="form-element" for="max_score">Max Score</label>
<input type="number" name="max_score" id="max_score" min="0" max="1" step="0.01" class="form-element form--filter" data-name="max_score">
</div>
<div class="form-group">
<label class="form-element" for="min_answers">Min Answers</label>
<input type="number" name="min_answers" id="min_answers" min="0" step="1" class="form-element form--filter" data-name="min_answers">
</div>
<div class="form-group">
<label class="form-element" for="max_answers">Max Answers</label>
<input type="number" name="max_answers" id="max_answers" min="0" step="1" class="form-element form--filter" data-name="max_answers">
</div>
<div class="form-group">
<label class="form-element" for="status">Status</label>
<select name="status" id="status" min="0" step="1" class="form-element form--filter" data-name="status">
<option selected="selected" value="any">any</option>
<option value="open">open</option>
<option value="closed">closed</option>
</select>
</div>
</div>
<div class="form-group-horizontal">
<div class="form-group">
<label class="form-element" for="include_tags">Include Tags</label>
<select name="include_tags[]" id="include_tags" multiple="" class="form-element form--filter js-tag-select select2-hidden-accessible" data-name="include_tags" data-tag-set="26" data-create="false" data-use-ids="true" data-placeholder=""
data-select2-id="include_tags" tabindex="-1" aria-hidden="true"></select><span class="select2 select2-container select2-container--default" dir="ltr" data-select2-id="1" style="width: 349.328px;"><span class="selection"><span
class="select2-selection select2-selection--multiple" role="combobox" aria-haspopup="true" aria-expanded="false" tabindex="-1" aria-disabled="false">
<ul class="select2-selection__rendered">
<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="0" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list"
placeholder="" style="width: 0.75em;"></li>
</ul>
</span></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>
</div>
<div class="form-group">
<label class="form-element" for="exclude_tags">Exclude Tags</label>
<select name="exclude_tags[]" id="exclude_tags" multiple="" class="form-element form--filter js-tag-select select2-hidden-accessible" data-name="exclude_tags" data-tag-set="26" data-create="false" data-use-ids="true" data-placeholder=""
data-select2-id="exclude_tags" tabindex="-1" aria-hidden="true"></select><span class="select2 select2-container select2-container--default" dir="ltr" data-select2-id="2" style="width: 349px;"><span class="selection"><span
class="select2-selection select2-selection--multiple" role="combobox" aria-haspopup="true" aria-expanded="false" tabindex="-1" aria-disabled="false">
<ul class="select2-selection__rendered">
<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="0" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list"
placeholder="" style="width: 0.75em;"></li>
</ul>
</span></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>
</div>
</div>
</div>
</form>
Text Content
Users Search Help Sign Up Sign In COMMUNITIES Writing Codidact Meta The Great Outdoors Photography & Video Scientific Speculation Cooking Electrical Engineering Judaism Languages & Linguistics Software Development Mathematics Christianity Code Golf Music Physics Linux Systems Power Users Tabletop RPGs 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 » Users Search Help Dashboard Sign In Sign Up Q&A Code Reviews Meta Q&A Posts Tags Edits Ask Question × 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. General Q&A about programming, scripting, software design & architecture, process, tools, testing, and more. 772 posts Subscribe Activity Age Score Random Filters (None) Predefined Filters PositiveUnansweredNone Clear Min Score Max Score Min Answers Max Answers Status any open closed Include Tags * Exclude Tags * 72% +6 −1 What is do { } while(0) in macros and should we use it? Background I can see the need to use { } when implementing a function-like macro such as this one: #define HCF(code) fprintf(stderr, "halt and catch fire"); exit(code); Because if we use the f... 2 answers · posted 3y ago by Lundin · last activity 2h ago by Karl Knechtel c code-style macros 71% +3 −0 Git-ignoring files with special characters in their names, especially newlines My actual motivation is to understand the semantics of the .gitignore file syntax in precise detail, for a program which is expected to emulate them as accurately as possible. However, while coming... 1 answer · posted 8h ago by Karl Knechtel · last activity 3h ago by Peter Taylor git linux gitignore 50% +0 −0 How to programmatically validate a cell's value based on Excel data validation constraints? What I would like to do: Set a cell value. Check with a program if the cell value conforms to the data validation rules set for that cell. I could extract all the information needed to creat... 1 answer · posted 20h ago by toraritte · last activity 20h ago by toraritte c# f# excel Open-XML-SDK-for-Microsoft-Office 50% +0 −0 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 24h ago by toraritte vs-code ionide 60% +1 −0 Method not found when emitting a custom signal, but the game seems to work when played. In Godot 4.1.1 I moved some scenes and started getting parenting errors. I think I got that fixed, but I'm mentioning it in case it is important. I have an Area2d called House. house.gd has two c... 1 answer · posted 3d ago by TecBrat · last activity 1d ago by TecBrat godot gdscript 50% +0 −0 Ghidra decompiler: c_str() used in phantom string? I loaded a binary into Ghidra for analysis. The decompiler says undefined8 main(void) { basic_ostream *pbVar1; char *pcVar2; [--snip--] pbVar1 = std::operator<<(pbVar1,"PXZ ");... 1 answer · posted 9d ago by nteodosio · last activity 3d ago by nteodosio c++ ghidra decompilation 75% +4 −0 How to run Gitlab CI jobs only in specific branches? By default Gitlab CI jobs run on any commit. I would like to restrict some of them to run only on commits to specific branches. How to do this in .gitlab-ci.yml? 1 answer · posted 5d ago by Iizuki · last activity 5d ago by Iizuki gitlab-ci 80% +6 −0 How to revert main branch to an earlier commit in git? How to move the main branch back to an earlier commit in git? 2 answers · posted 1mo ago by Iizuki · last activity 8d ago by Michael git 66% +2 −0 How to automatically add package reference into project file after installing .NET package? Just getting into F#, finally figured out how to add .NET packages to projects, but the way I managed to get it to work doesn't make sense. Once the package is installed (either with nuget or paket... 2 answers · posted 10d ago by toraritte · last activity 8d ago by toraritte f# .net .net-core nuget paket 71% +3 −0 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 8d ago by toraritte · edited 8d ago by toraritte f# msbuild 75% +4 −0 When should I parenthesize macro arguments in C? I've seen macros use parentheses to enclose its arguments. Most of these make sense, as in #define sum(a, b) ((a) + (b)) The outer prevents the following: #define sum_bad(a, b) (a) + (b) ... 2 answers · posted 11d ago by alx · last activity 8d ago by Lundin c macros 71% +3 −0 Is it possible to re-export types similar to JS? I'm writing a library "MyLibrary". In there, I group code into sections that make sense. Let's say I have a folder "Reports" and a folder "Helpers". I would like to have my code separated while ... 1 answer · posted 2mo ago by raphaelschmitz · last activity 9d ago by raphaelschmitz c# 77% +5 −0 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 11d ago by toraritte · last activity 10d ago by toraritte excel xlsx 66% +2 −0 Is there a correct way to fetch data with a SwiftUI ViewModel? Background + Example Code Let's say I have a SwiftUI ViewModel like so: class ViewModel: ObservableObject { @Published var strs: [String] = [] func fetchStrs() async { // T... 0 answers · posted 17d ago by MrDevel0per · edited 11d ago by MrDevel0per swift swiftui observableobject 80% +6 −0 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... 2 answers · posted 13d ago by toraritte · last activity 12d ago by Iizuki git ci/cd 75% +4 −0 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 13d ago by toraritte · last activity 13d ago by Michael git 80% +6 −0 How to compare a git stash to the current working tree? In git you can put your current changes aside for a moment with git stash. This is really neat but what often ends up happening is that you forget what was in there, and what was the state of the b... 1 answer · posted 14d ago by Iizuki · edited 14d ago by Iizuki git git-diff git-stash 66% +2 −0 Winui 3 Combobox in datagrid not displaying data I am migrating a WPF app to WinUI3. Things went well until I needed to put a combo box in the datagrid. That MS had removed the datagrid from the standard tools was overcome with Community Toolkit ... 0 answers · posted 16d ago by FrankLuke c# wpf 66% +2 −0 How can I get a value as a node:stream from the Nest.js cache-manager? Question How can I read data from a NestJS Redis Cache as a stream? I'm using Nest.js and its @nestjs/cache-manager (using the Redis implementation), I need to read data I have stored in the cach... 0 answers · posted 18d ago by gdfelt · edited 16d ago by MrDevel0per node.js caching redis nest.js node:stream 71% +3 −0 How to declaratively enable RabbitMQ feature flags in Kubernetes We use Kubernetes on a cloud (GKE, to be precise). We use RabbitMQ for messaging and we need to upgrade it from 3.10 to 3.12 . FWIW RabbitMQ has been added to our system using a chart from Bitnami... 0 answers · posted 18d ago by FractionalRadix RabbitMQ kubernetes 60% +1 −0 How do I register the Chart.js Zoom plugin? I am attempting to use the chartjs-zoom-plugin v2.0.1 with Chart.js v4.4.0. I have the plugin as the file chartjs-plugin-zoom-2.0.1.min.js, and I have imported it into my page using <script ty... 1 answer · posted 1mo ago by CavanWright · last activity 20d ago by surajrao chart.js 33% +0 −2 Axios error bad request [closed] I'm trying to use this code with Axios: import "./feed.css"; import Post from "../post/Post"; import Share from "../share/Share"; import { useState, useEffect } from "react"; import axios from... 0 answers · posted 26d ago by AyeshSoul · closed 22d ago by Alexei javascript axios 71% +3 −0 Using an existing web server vs writing your own When writing a dynamic web service, you broadly speaking have two paths: Use an existing web server (e.g. Apache, Nginx or Lighttpd) to handle the "raw" web requests and implement your own cod... 4 answers · posted 1mo ago by Iizuki · last activity 25d ago by Basile Starynkevitch architecture webserver fastcgi 50% +1 −1 Angular Testing fails with Service.method is not a function I'm trying to write a spec test for a (correctly working) Angular component, but it errors when calling a service method with: TypeError: _this.myService.getSomeData is not a function The service... 0 answers · posted 25d ago by mcalex angular this testing 66% +2 −0 Escape both reserved characters and curly braces in a URI in Spring Boot I need to pass URI's that contain special characters, using Spring Boot. The characters include spaces, curly braces ({ and }), square brackets ([ and ]), and hash signs (#). The problem is that ... 1 answer · posted 28d ago by FractionalRadix · last activity 26d ago by FractionalRadix spring-boot escaping uri 35% +4 −9 Find the name of the student with the top mark, display their name and mark I have a CSV file like this: name,surname,score Moon,Walko,148 Jerald,Gryder,150 I need to find the highest score. My attempt: namespace test { class Program { string[... 2 answers · posted 2y ago by InPut · last activity 27d ago by NetMage c# csv 60% +1 −0 Command to format code from repo into single markdown file I'm trying to flatten a repository of Python code into a Markdown file where each file is formatted like: relative/path/to/file1.py # contents of file1.py I'm using this command: find . -name... 2 answers · posted 29d ago by ShadowsRanger · last activity 28d ago by Michael bash 71% +3 −0 How to use docker hub with podman? Unlike docker, Podman won't (understandably) use docker hub by default. You can use it explicitly like this: (just using a random example here, it's an OpenAPI linter) podman pull docker.io/dshanl... 1 answer · posted 1mo ago by Iizuki · last activity 29d ago by Iizuki podman docker-container 88% +14 −0 Why are list comprehensions written differently if you use `else`? The following list comprehension worked when I tried it: [num for num in hand if num != 11] But this doesn't work: [num for num in hand if num != 11 else 22] It gives a SyntaxError, highlightin... 2 answers · posted 2y ago by true_blue · edited 1mo ago by Karl Knechtel python syntax list-comprehension 66% +2 −0 Get list of all variables from Jinja template Suppose you have a jinja template like this: I am going to {{ foo }} to get some {{ bar }}. I hope I can find: {% for i in baz %} - {{i}} {% endfor %} This template will require you to pass ... 0 answers · posted 1mo ago by matthewsnyder · edited 1mo ago by Karl Knechtel python jinja introspection 50% +1 −1 Running a bash command with a Key Combination in Gnome [closed] Is there a way in Ubuntu to run a given bash command for a given Key combination in Gnome (42.9)? I run an Ubuntu in Hyper-V and after a while the normal Keyboard layout change doesn't work (maybe... 0 answers · posted 1mo ago by Arpad Horvath · closed 1mo ago by Alexei linux gnome 81% +7 −0 Git add/stage only part of a file's changes Say I've made a bunch of changes to a file and would like to split those changes into two or more commits. Normal git add however stages the whole file in one go. So how to add only some of the ch... 1 answer · posted 1mo ago by Iizuki · last activity 1mo ago by Iizuki git 88% +14 −0 Is strcpy dangerous and what should be used instead? I heard rumours that the strcpy function is dangerous and shouldn't be used. Supposedly it can be exploited to create buffer overflows somehow. And indeed when I compile my C code in the admittedl... 2 answers · posted 2y ago by Lundin · last activity 1mo ago by alx c strcpy strncpy buffer-overflow 71% +3 −0 How do I share a type between a client and server, but make a specific field optional for one and required for the other? Let's say I have a client/server application with a data structure on the server side: type User = { name: string; superSecretGovernmentIdNumber: string; }; These fields are both non-nul... 1 answer · posted 1mo ago by Emily · edited 1mo ago by Emily typescript 50% +1 −1 What software architecture are available for developing an application with multiple business domains that only share some common aspects? NOTE The meaning of the word "program" below is (PROGRAM) A federal or state initiative that offers grants for non-profits so that they can provide service at low cost or free of charge. a... 2 answers · posted 1mo ago by toraritte · edited 1mo ago by toraritte architecture database-design 71% +3 −0 How to provide meaningful names for emails in Maildir? I am writing some scripts that operate on emails in Maildir format. A lot of things are easy in this format, but the filenames are absolutely incomprehensible. For example, one script moves mails ... 1 answer · posted 2mo ago by matthewsnyder · edited 1mo ago by Alexei email maildir 25% +0 −4 Configure port in Gbee.ai [closed] How do one configure a port in GBee.ai framework. 0 answers · posted 1mo ago by nishnatadat · closed 1mo ago by Alexei Gbee.ai 40% +0 −1 Determine which script is slowing the page down in Firefox [closed] A page is very slow and laggy in Firefox. I am certain it's one of the many Javascripts slowing it down. Out of curiosity, I'd like to figure out which script is creating the heaviest load. Note t... 0 answers · posted 2mo ago by matthewsnyder · closed 1mo ago by Alexei javascript firefox profiler 50% +0 −0 How do I get the min/max axis values in Chart.js? I'd like to get the minimum and maximum values of the axes on a Chart.js 4.4.0 plot. When the plot is created, these values must be calculated somewhere. However, reading through the Chart.js doc... 1 answer · posted 1mo ago by CavanWright · last activity 1mo ago by Ullallulloo chart.js 75% +4 −0 Set transform of SVG element I'm trying to set the transform attribute of a group within an SVG. Specifically, I'd like to set translate's value to 0 0. I tried using the set element for this but that didn't have an observab... 1 answer · posted 1mo ago by Matthias Braun · edited 1mo ago by Matthias Braun svg 66% +4 −1 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 1mo ago by toraritte · last activity 1mo ago by Derek Elkins database postgresql database-design 66% +2 −0 Redshift int casting from varchar - how to force early evaluation order? Context: I have a varchar column in a segment event table that contains version numbers. Most of these are formatted nicely as X.Y.Z (major.minor.patch) where X, Y, and Z are integers. However, the... 0 answers · posted 1mo ago by Sigma sql compiler-errors redshift 60% +1 −0 How to validate Ansible role dictionary argument's "additionalProperties" In JSON Schema one can use the additionalProperties key to validate properties whose names are not know. You can still impose restrictions on their type. How to do this in an Ansible role argument... 1 answer · posted 1mo ago by Iizuki · edited 1mo ago by Iizuki ansible 60% +1 −0 How to use Ansible extract filter in map with an external dictionary Ansible's extract filter is supposedly made for use in map, but at the time of writing the documentation doesn't actually show how to use it together with the map filter. The following outputs VAR... 1 answer · posted 1mo ago by Iizuki · edited 1mo ago by Iizuki ansible 66% +4 −1 How to overwrite lines of STDOUT in Python? print() normally adds text to STDOUT, it does not erase existing text. https://linux.codidact.com/posts/289869 describes various ways of doing the overwrite in shell scripts. How can you do this ... 2 answers · posted 2mo ago by matthewsnyder · last activity 1mo ago by hkotsubo python-3 71% +3 −0 Can you run Python code on text in VS Code? In VS Code, is it possible to run Python code on the text being edited? I realize that I can save my text, create a .py file, switch to a terminal (including VS Code's own terminal) and run the .p... 0 answers · posted 2mo ago by matthewsnyder python software-recommendation vs-code 66% +2 −0 Advanced Regex extension for VS Code VS Code supports regex search, but the search/replace is UI is just a tiny dialog box. It's okay if you know regex well and the expression is not complex, but when trying to apply complicated expre... 0 answers · posted 2mo ago by matthewsnyder regex software-recommendation vs-code ide 71% +3 −0 How to open VS code with a particular path expanded? When you do: cd /some/path code . VS Code opens with that location shown in the "Explorer" sidebar. However, the state of the file tree and the currently open files will be the same as what wa... 0 answers · posted 2mo ago by matthewsnyder · edited 2mo ago by matthewsnyder vs-code 66% +2 −0 Remove entries by two-column ID everywhere, that meet a condition somewhere MWE import random import pandas as pd from itertools import product random.seed(12345) dies = [1, 2] cells = list(range(10)) currents = [100, 200, 300] dcc = list(product(dies, ce... 3 answers · posted 7mo ago by mcp · edited 2mo ago by mcp python performance pandas 60% +1 −0 How do I install Chart.js as a file? I'm trying to replace Flot.js with Chart.js. In my application, Flot.js is included as a normal JavaScript file, like so: <script language="javascript" type="text/javascript" src="jquery.flot-... 1 answer · posted 2mo ago by CavanWright · last activity 2mo ago by Ullallulloo chart.js * ← Previous * 1 * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * … * 15 * 16 * Next → Category RSS feed Featured How can we grow this community? Introducing proposals.codidact.com, a new way to add communities to our network What should I know when coming here from Stack exchange? Clarifying Codidact's position on AI-generated content Hot Posts Q&A — How to run Gitlab CI jobs only in specific branches? Q&A — Method not found when emitting a custom signal, but the game seems to work when played. This community is part of the Codidact network. We have other communities too — take a look! You can also join us in chat! Want to advertise this community? Use our templates! Like what we're doing? Support us! Donate THE CODIDACT PROJECT * Terms of Service * Privacy Policy * Code of Conduct * About us * Contact us * Other communities OTHER CODIDACT COMMUNITIES * Writing * The Great Outdoors * Photography * Scientific Speculation * Cooking * Electrical Engineering * Judaism * Languages & Linguistics * Software Development * Mathematics * Code Golf * Christianity * Music * Physics * Linux Systems * Power Users * Tabletop Role-Playing Games * Codidact Meta Version e1874749 (2023-08-06 00:27:36 +0100)