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.
Activity for Michael
| Type | On... | Excerpt | Status | Date |
|---|---|---|---|---|
| Edit | Post #296618 |
Post edited: Fix code with trailing Markdown. |
— | 16 days ago |
| Suggested Edit | Post #296618 |
Suggested edit: Fix code with trailing Markdown. (more) |
helpful | 16 days ago |
| Edit | Post #296556 | Initial revision | — | about 1 month ago |
| Answer | — |
A: How do I make Phosh consider my app "mobile friendly"? For store metadata, you'd be looking for the Device Support section of Flathub's documentation. Notably the `touch` control: ```xml keyboard pointing touch ``` and the display size ```xml 360 ``` Hopefully, that gets you what you need. If not, there are some older (perhaps de... (more) |
— | about 1 month ago |
| Comment | Post #296522 |
While Karl is correct, I think Lundin must have gotten a flag in before the spammer finished their bombing run.
I like Trich's idea, but we should weigh the possibility of a malicious existing user DOSing someone else. Maybe our old friend Wilson Score is a part of this? (more) |
— | about 1 month ago |
| Comment | Post #296178 |
It feels weird that I didn't find this with my handful of DDG searches, but I'm glad for the pointer! Hopefully this post helps someone else find it, too. (more) |
— | 4 months ago |
| Edit | Post #296177 | Initial revision | — | 4 months ago |
| Question | — |
Configure Git branch to push to different remote than it pulls from As a loose follow-up to Why force designation of a remote main branch?, is there a Git-native way to configure a branch for GitHub's so-called "triangular" workflow? The triangular workflow is meant for synchronizing upstream branches, namely abbreviating this: ```sh git switch main git p... (more) |
— | 4 months ago |
| Edit | Post #295740 |
Post edited: Link the cherry pick answer. So good! |
— | 6 months ago |
| Edit | Post #295740 | Initial revision | — | 6 months ago |
| Answer | — |
A: How do I split a feature branch into two? In the most general case[^cheats] that you're asking about, you want the three-term `rebase --onto`. First, make your `feature-2` branch: ```sh git switch --create feature-2 ``` ```text --A--B--C main \ `Q--R--S--X--Y--Z feature-1, feature-2 ``` Next, move `feat... (more) |
— | 6 months ago |
| Edit | Post #295739 | Initial revision | — | 6 months ago |
| Question | — |
How do I split a feature branch into two? I just realized that I started writing code for what was going to become a second independent feature on the branch I was already working on. ```text --A--B--C main \ `Q--R--S--X--Y--Z feature-1 ``` How do I split my work into two different branches diverging from `... (more) |
— | 6 months ago |
| Suggested Edit | Post #295592 |
Suggested edit: Mint a new tag. Bullet the trade-off points. (more) |
helpful | 6 months ago |
| Edit | Post #295532 |
Post edited: Add additional Markdown formatting (notably list nesting). |
— | 7 months ago |
| Suggested Edit | Post #295532 |
Suggested edit: Add additional Markdown formatting (notably list nesting). (more) |
helpful | 7 months ago |
| Comment | Post #294637 |
Is this because Homebrew disabled the texstudio cask? (more) |
— | 8 months ago |
| Edit | Post #295315 |
Post edited: Formatting |
— | 8 months ago |
| Suggested Edit | Post #295315 |
Suggested edit: Formatting (more) |
helpful | 8 months ago |
| Edit | Post #291970 |
Post edited: Note Git's page on vimdiff layouts |
— | 8 months ago |
| Edit | Post #295278 |
Post edited: |
— | 8 months ago |
| Edit | Post #295278 | Initial revision | — | 8 months ago |
| Answer | — |
A: Python-compatible regex for Markdown tables You won't be able to do it for arbitrary length tables in a single regex matching the whole row. Capture groups are replaced when repeated. So any `\| (?:(celltext) \|)+` expression[^ws] will wind up with the capture group `\g` as the last cell's text. Instead, you'd have to send, say `\|? \t[... (more) |
— | 8 months ago |
| Comment | Post #295236 |
Could you map the divergence points as distinct nodes? Like this pseudo-code:
```
Me -> Me_origins[shape=point] -> {Mom, Dad}
Mom -> Mom_origins[shape=point] -> {Memaw, Poppop}
Dad -> Dad_origins[shape=point] -> {Grandma, Grandpa}
``` (more) |
— | 9 months ago |
| Edit | Post #294736 |
Post edited: Mention merging |
— | 9 months ago |
| Comment | Post #295207 |
That works fine for the YAML file, but I want a method (`{?fileviewer}`?) to do it for, say, https://bitbucket.org/dismine/valentina/src/master/CONTRIBUTING.md#CONTRIBUTING.md-5
See [my project](https://github.com/michaelblyons/SublimeText-GitLink/blob/812053acbde490fc3cf4e15673e951ebae671903/... (more) |
— | 9 months ago |
| Edit | Post #295206 | Initial revision | — | 9 months ago |
| Question | — |
Link to Markdown line on Bitbucket Is there a way to link to specific code lines for a Markdown file[^files] in Bitbucket? I have found a UI toggle for each of GitHub, GitLab, and Forgejo that adds a query string to disable the pretty output,[^render] but nothing for Bitbucket. Interestingly, using various values for `?viewer=`... (more) |
— | 9 months ago |
| Edit | Post #295148 |
Post edited: Nest image in its list item |
— | 9 months ago |
| Comment | Post #295148 |
The ["Recent Changes" post for 2025](https://meta.codidact.com/posts/39539/293230#answer-293230) suggests the change was made in September. (more) |
— | 9 months ago |
| Comment | Post #295148 |
The "Sign Out" button used to be a little door with an arrow. I think someone complained about that, and it was changed to the much larger text. I can't find the thread just at the moment. (more) |
— | 9 months ago |
| Suggested Edit | Post #295148 |
Suggested edit: Nest image in its list item (more) |
helpful | 9 months ago |
| Edit | Post #295046 |
Post edited: Remove suspicious link |
— | 10 months ago |
| Suggested Edit | Post #295046 |
Suggested edit: Remove suspicious link (more) |
helpful | 10 months ago |
| Edit | Post #294957 |
Post edited: Nest the code blocks in the appropriate Markdown lists. Minor grammar improvements. |
— | 10 months ago |
| Suggested Edit | Post #294957 |
Suggested edit: Nest the code blocks in the appropriate Markdown lists. Minor grammar improvements. (more) |
helpful | 10 months ago |
| Edit | Post #294951 |
Post edited: |
— | 10 months ago |
| Edit | Post #294951 | Initial revision | — | 10 months ago |
| Answer | — |
A: GitHub action triggered by somebody else's repository Facing a somewhat similar situation, I took mr Tsolder's suggestion of looking into submodules. In my case, it was fine to keep the remote project as a folder in my local clone, but I think it still works if you don't want the copy in your worktree. Just `git submodule deinit` Joseph Wright's ... (more) |
— | 10 months ago |
| Comment | Post #294874 |
For what it's worth, this ending up pushing me down a path wherein I (who also wanted something like this) converted the external repo to a submodule. I have Dependabot configured to make PRs when it notices that that repo has updates.
Then, I can test the changed dependency, make sure my code... (more) |
— | 10 months ago |
| Comment | Post #294874 |
> Unless there is a way to use submodules without having them in the local repository,
It sounds like one of the [submodule configurations][sm] lets you do that:
> - Deinitialized submodule: A `gitlink`, and a `.gitmodules` entry, but no submodule working directory. The submodule’s Git dire... (more) |
— | 11 months ago |
| Comment | Post #294874 |
If you go that route, you can probably have a branch from root in Beamer Theme that Probot interacts with and triggers analysis of your *other* branch with the actual theme. (more) |
— | 11 months ago |
| Comment | Post #294909 |
Yeah, no worries. Groups are really helpful for lots of things! Learning regex is really worthwhile!
I just wanted to caution you that if this is supposed to be part of a generic Markdown tokenizer, you will eventually run into gnarly situations. (more) |
— | 11 months ago |
| Edit | Post #294909 |
Post edited: Proofreading |
— | 11 months ago |
| Edit | Post #294909 |
Post edited: Expand upon the regex trouble. |
— | 11 months ago |
| Edit | Post #294909 | Initial revision | — | 11 months ago |
| Answer | — |
A: Python re.sub() how to include and slice the match in the substitution? To answer your immediate question, use a capture group. ```py re.sub(r'(?\g', testString) ``` With that out of the way, text parsing for a language is probably best served by an existing library. For instance, `r'(?<!\\)\(.?)\(?!\\)'` is probably meant to be `r'(?<!\\)\(.?)(?!\\)\'`... (more) |
— | 11 months ago |
| Edit | Post #294874 |
Post edited: Fix prettyprint language. Inline the links. |
— | 11 months ago |
| Comment | Post #294874 |
Haha. You're going to be disappointed when you realize that the issue is still open because nobody did the work. 😅 (more) |
— | 11 months ago |
| Suggested Edit | Post #294874 |
Suggested edit: Fix prettyprint language. Inline the links. (more) |
helpful | 11 months ago |
