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.

Activity for Michael‭

Type On... Excerpt Status Date
Comment Post #294874 And [here is a GitHub thread](https://github.com/SublimeText/sublime-text-docset/issues/2) where I talk with some collaborators about running a `cron` that checks the other repo for updates to run our CI/CD steps. TLDR: You could use the Atom feed of their commits to decide whether to do the r...
(more)
11 months ago
Edit Post #294786 Initial revision 11 months ago
Answer A: How can I export a full Scryfall search to a CSV compatible with Moxfield collections?
The documentation for `/cards/search` says >This method is paginated, returning 175 cards at a time. Review the documentation for paginating the List type and and the Error type type to understand all of the possible output from this method. So yes, you would have to handle pagination yours...
(more)
11 months ago
Comment Post #294736 You can switch to your own `main` and pull it (which might be a good idea), but it's not important to this question. **Pro tip:** When I fork a repo that I don't have push rights to, I configure my `main`/`master` to track `upstream` instead of `origin`. In those cases, `origin/main` is not re...
(more)
11 months ago
Edit Post #294736 Post edited:
Fix switch commands
11 months ago
Comment Post #294736 I did mean `switch -c`, yes. (I'm still not quite used to the change from `checkout -b` to `switch -c`. I just have an alias of `cob` that I use on my systems.) I think I can combine the switch commands here.
(more)
11 months ago
Comment Post #294736 The history is still different. A rebase or merge-squash will drop the duplicated history. But in your PR I think the commits are still shown, even though the file diff is simplified.
(more)
11 months ago
Edit Post #294736 Post edited:
Add diagrams
11 months ago
Edit Post #294736 Post edited:
Summarize the problem. Be a little less vague about cherry picking ranges. More clarifications.
11 months ago
Edit Post #294736 Initial revision 11 months ago
Answer A: How to avoid pushing past commits when making a pull request?
The Problem The main problem is that it's important where on the commit graph your branch diverges. I'm going to make some assumptions about the circumstances that are not explicit in your question: 1. When accepting PRs, the upstream project either - Rebases them, ```none ...
(more)
11 months ago
Edit Post #294712 Post edited:
Fix markdown rendering html literally
11 months ago
Comment Post #294712 It might conflict with your grid layout, but Mozilla suggests moving colons to style, rather than including them in the `<dt>`: ```css dt::after { content: ": "; } ```
(more)
11 months ago
Suggested Edit Post #294712 Suggested edit:
Fix markdown rendering html literally
(more)
helpful 11 months ago
Edit Post #294709 Initial revision 11 months ago
Answer A: How to morph a table into a list when its content wraps?
Does this not seem like a good place for description lists? You're a usecase mentioned explicitly in Mozilla Developer Network's docs for the `` element. Then, you can use whatever CSS you want to for arranging items side-by-side with enough space and shifting them to above/below on narrow scr...
(more)
11 months ago
Edit Post #294676 Post edited:
Markdown formatting
12 months ago
Suggested Edit Post #294676 Suggested edit:
Markdown formatting
(more)
helpful 12 months ago
Edit Post #294554 Post edited:
Footnotes!
about 1 year ago
Suggested Edit Post #294554 Suggested edit:
Footnotes!
(more)
helpful about 1 year ago
Comment Post #294464 Hello and welcome to Codidact. Your answer does work for the question, and I like the breakdown of the explanation. However, it's not technically different to [the existing five-year-old answer](https://software.codidact.com/posts/277930/277931#answer-277931) from pnuts.
(more)
about 1 year ago
Edit Post #294329 Post edited:
Drop broken save
about 1 year ago
Edit Post #294354 Post edited:
Fix save method
about 1 year ago
Edit Post #294354 Initial revision about 1 year ago
Answer A: Add additional shapes on a GeoPandas matplotlib
Apparently, it doesn't take much to add another set of features. You create the axes first and refer to them when plotting additional shapes. Adapted from GeoPandas' geocoding example. ```py import matplotlib import matplotlib.pyplot as plt # Don't forget this import import geopandas as gp...
(more)
about 1 year ago
Edit Post #294338 Post edited:
Add sample code
about 1 year ago
Edit Post #294338 Initial revision about 1 year ago
Answer A: Can you have syntax highlighting for streaming text in Python?
I mentioned [Textual][] in my second answer to your other related question. The 4.0 release's demonstration video of streaming Markdown does include syntax-highlighted code blocks. The code block even fixes previous highlighting as more context streams in. Here's their example code to produce ...
(more)
about 1 year ago
Edit Post #294337 Initial revision about 1 year ago
Answer A: How to format Markdown in terminal
[Textual], a Python terminal UI toolkit, has a new 4.0 release whose primary focus is streaming formatted Markdown to the terminal: > The highlight of this release is the new `Markdown.append` method which can be used to efficiently stream markdown content (like you might get from an LLM). ...
(more)
about 1 year ago
Edit Post #294329 Initial revision about 1 year ago
Question Add additional shapes on a GeoPandas matplotlib
I have some GIS data that I'm trying to plot with Python. One feature at a time works fine,[^credit] but I'd like to have two (or multiple) datasets on the same map. ```py import matplotlib import geopandas as gpd import contextily as ctx points = gpd.readfile('points.geojson') points =...
(more)
about 1 year ago
Edit Post #292900 Post edited:
Make Alexei a quote block.
about 1 year ago
Edit Post #294096 Post edited:
Section titles. Some grammar improvement.
over 1 year ago
Suggested Edit Post #294096 Suggested edit:
Section titles. Some grammar improvement.
(more)
helpful over 1 year ago
Edit Post #294071 Post edited:
over 1 year ago
Edit Post #294071 Initial revision over 1 year ago
Answer A: Why does my regex "match" at the beginning of the string, but not at the end?
The documentation for `re.match(...)` is explicit that it only matches at position 0. If you're asking this question, what you probably want is `re.search(...)` to match at any point within the string.
(more)
over 1 year ago
Comment Post #291970 It could conceivably be useful in merge-only workflows&mdash;but much less often&mdash;since the pre-conflict state is less likely to recur. And you're right, I do a lot of rebasing. Fun fact: you can point your ReReRe storage location to anywhere on disk. This means that you can use a shared ...
(more)
over 1 year ago
Edit Post #291972 Post edited:
Some proofreading.
over 1 year ago
Suggested Edit Post #291972 Suggested edit:
Some proofreading.
(more)
helpful over 1 year ago
Comment Post #293717 Do you want to put Jupyter notebooks on a shared server where you don't have root? Or do you want to arrange a shared server where you *do* have root such that users can make Jupyter notebooks?
(more)
over 1 year ago
Comment Post #293660 It seems a little suspicious to me that `file` is not passed into your function and the that important thing is the line numbers. Only you know your code and why that seems important, but I'm rather skeptical that this is the way to set it up.
(more)
over 1 year ago
Comment Post #293516 @#53937 I've been liking `--date=auto:human` for my casual log: ```ini [alias] # Pretty logs ## Casual lg1 = log --graph --date=auto:human --format=tformat:'%C(bold yellow)%h%C(reset) %C(green)%ad%C(reset) %s %C(dim white)%aN%C(reset) %w(0,0,9)%C(auto)%+d%C(reset)' ## Details lg2 = ...
(more)
over 1 year ago
Comment Post #293516 I have a couple shortcuts (`fa = fetch --all`, `cob = checkout --branch`, ...), some pretty formatted log variants bound to `lg` and `lg2`, and a couple long gnarly ones. One resyncs an integration branch in another worktree. One performed a status summary on 100+ other repositories. One managed ...
(more)
over 1 year ago
Comment Post #293564 Not exactly a well-received question, but thanks for linking it. =)
(more)
over 1 year ago
Edit Post #293564 Post edited:
Escape asterisks not to make italics
over 1 year ago
Edit Post #293564 Post edited:
Link a list page, just to be explicit
over 1 year ago
Edit Post #293564 Initial revision over 1 year ago
Answer A: Do we want MathJax?
There is a small oddity wherein this post shows up strangely in list pages: > ### Regex to get text outside brackets > > I am trying to capture the content outside square brackets in groups, using this regex: (.\)\.?\ And it works perfectly for a simple string like this: testing\[\is\]\don...
(more)
over 1 year ago