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 luap42
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #283671 |
We've added a banner above answers floating to the top informing you about the fact and containing a link to return to normal order, this should clear this confusion. Beyond that, @#53196 is correct. (more) |
— | about 3 years ago |
Edit | Post #283688 |
Post edited: |
— | about 3 years ago |
Edit | Post #283689 | Initial revision | — | about 3 years ago |
Answer | — |
A: An edit creates a new tag instead of adding correct one Hm... there was some weird stuff with Art and me attempting to edit the post at the same time and me making changes to the tag to conform to the standard name (without the additional dash), so that probably broke stuff here. I've merged the status-by-design tag into the status-bydesign t... (more) |
— | about 3 years ago |
Edit | Post #283671 | Initial revision | — | about 3 years ago |
Answer | — |
A: Sorting answers by score appears to be broken This is both by design. Lundin's example is an answer link, which intentionally puts the selected answer at the top of the answer list. Because we only have two answers here, this isn't as intuitive as with more answers. (Explanation with reasons.) To reduce confusion, we have now added a notice ... (more) |
— | about 3 years ago |
Comment | Post #281528 |
Re your first question: could you please open a Meta question for that? (more) |
— | over 3 years ago |
Comment | Post #281528 |
@Lundin re your second question. In short: COVID happened and I started studying, so I haven't yet had the time to work on implementing it. Sorry. It is on my list and it will come, I promise. If you have more questions, please ask a separate question. (more) |
— | over 3 years ago |
Edit | Post #281310 | Initial revision | — | over 3 years ago |
Answer | — |
A: Codidactyl game and code - creation process and obfuscation Yo. Me here. I used the code for the Codidactyl on the run as basis for the game, added a wrapper checking for the Konami-code by being a simple finite automaton and after that creating the canvas and loading the game. Then I made changes to the game code to support the new game type (fly instead ... (more) |
— | over 3 years ago |
Edit | Post #281196 | Initial revision | — | over 3 years ago |
Answer | — |
A: PHP variables aren't expanded when inside HTML which is by itself inside PHP In PHP the single quotation mark (`'x'`) is reading the content as raw values. This means, that escape sequences, such as `\n`, or variable interpolation, such as `$x`, is not supported. There are three possible ways to resolve that issue: 1. String concatenation. You can concatenate strings wi... (more) |
— | over 3 years ago |
Comment | Post #280607 |
Hm... Could you share, what exactly you entered into the input field? (more) |
— | almost 4 years ago |
Comment | Post #280491 |
How is the drawing stored in the background? (or more specifically: would you be able to give me only a part of the full image?) Do you want to be always able to see the whole image (shrink-to-fit) or would it be sufficient to "scroll" to see the area outside of the original canvas? (more) |
— | almost 4 years ago |
Edit | Post #278674 |
Post edited: Please do not vandalize your question like that. If you want to get it deleted; raise a flag or ask in the Meta category. |
— | almost 4 years ago |
Edit | Post #279714 | Initial revision | — | almost 4 years ago |
Answer | — |
A: Posts list shows luap42 instead of actual author Oooops. You have discovered my little secret superpower. Just kidding of course. (Unfortunately) I closed the first question upon some flags. On the second post, there was a spam answer, which I deleted. Closure and Deletion both count as activity for that display, which is the reason w... (more) |
— | almost 4 years ago |
Edit | Post #278893 | Initial revision | — | about 4 years ago |
Answer | — |
A: Phantom answer in my notification list That... looks like a funny bug. I started writing an answer, containing mostly the number "1", because that would be an (not really helpful, but correct) answer to your question. To test, whether there was an answer limit, I submitted my one-letter post. Correctly, I was rejected. But appare... (more) |
— | about 4 years ago |
Comment | Post #278780 |
It’s a zombie tag. I think it has something to do with Halloween... (more) |
— | about 4 years ago |
Comment | Post #277410 |
I didn’t fix it AFAIK. (more) |
— | about 4 years ago |
Comment | Post #278061 |
@aCVn huh? I don't really see a difference. From what I have seen (and used myself), many frameworks using the utility classes approach don't make `padding-4` have a padding of 4px, but of 4 times a specific "padding" unit. Also, if you'd name your class `bg-314159`, you'd effectively lose the mainta... (more) |
— | about 4 years ago |
Edit | Post #278061 | Initial revision | — | about 4 years ago |
Answer | — |
A: Styling with classes vs styling with CSS This styling method is called "atomic classes". The goal of those is to prevent writing repetitive and badly maintainable CSS. For example, we might want to have primary colored variants of buttons and notices. In non-atomic CSS we'd write something like this: ```css .button {} .button.btn-pr... (more) |
— | about 4 years ago |
Comment | Post #277556 |
@staticvoid the UI framework is kinda independent from the Q&A software. Code provided with it should be runnable in a totally different context. The Q&A code treats it like any 3rd-party code. It's similiar to how you would use Bootstrap JavaScript for your project. (more) |
— | about 4 years ago |
Comment | Post #277211 |
Thanks. That worked. FWIW I don't have to go to the parent directory, but in my test it worked to use `python3 -m app` (or py, which is a reference to the python executable as you assumed correctly) (more) |
— | about 4 years ago |
Edit | Post #277556 | Initial revision | — | about 4 years ago |
Question | — |
Access TypeScript class outside bundled code I'm developing the design framework for a certain Q&A site. We are currently using an external dependency for the tag selector on the post editor, but it has some disadvantages (not fitting into the design system, not working well without JavaScript, ...). Hence I want to implement a tag autocomplete... (more) |
— | about 4 years ago |
Comment | Post #277410 |
**Diff**erent issue. This one is about the formatting in the diff, the other is about the diff. (more) |
— | about 4 years ago |
Edit | Post #277155 | Initial revision | — | over 4 years ago |
Question | — |
Different behavior with relative imports when using flask vs py I have a small new Python 3.8 Flask project with some relative import quirks. For the DB I use SQLAlchemy with Flask-Migrate. My project has the following general structure: ``` controllers/ static/ templates/ app.py controller.py helpers.py models.py requirements.txt ``` The app.py... (more) |
— | over 4 years ago |
Comment | Post #277152 |
@Ringi as Art said, "we" will not impose any, but the lightest rules on the community. There are some safeguards for "you" (open-source; we plan to create a non-profit organization with community board seats; ...). However we do require some basic amount of decency. See our minimal [Code of Conduct](... (more) |
— | over 4 years ago |
Comment | Post #277142 |
Welcome 👋 from me! (more) |
— | over 4 years ago |