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 Andreas witnessed the end of the world today
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #292695 |
Post edited: Remove meta commentary. Such belongs in a comment or close flag instead. |
— | about 1 month ago |
Edit | Post #292701 |
Post edited: Remove fluff |
— | about 1 month ago |
Edit | Post #292694 |
Post edited: Remove fluff, remove non-constrained limitation (wasn’t real anyway) |
— | about 1 month ago |
Suggested Edit | Post #292701 |
Suggested edit: Remove fluff (more) |
helpful | about 1 month ago |
Suggested Edit | Post #292695 |
Suggested edit: Remove meta commentary. Such belongs in a comment or close flag instead. (more) |
helpful | about 1 month ago |
Suggested Edit | Post #292694 |
Suggested edit: Remove fluff, remove non-constrained limitation (wasn’t real anyway) (more) |
helpful | about 1 month ago |
Comment | Post #292715 |
Flag one of the posts. (more) |
— | about 2 months ago |
Edit | Post #292715 | Initial revision | — | about 2 months ago |
Answer | — |
A: What is the difference between `back-end` and `backend` tags? Quite obviously, these are the same. The name of the two is literally the same except for a hyphen. They only have one question each. Looking at the questions, they are indeed used for the same purpose. Both have tag descriptions that are mostly similar. Why somebody decided to write descriptions so ... (more) |
— | about 2 months ago |
Edit | Post #284872 |
Post edited: Seemed as if the list was going to explain why using text is good, yet it explains why using images is bad. |
— | about 2 months ago |
Suggested Edit | Post #284872 |
Suggested edit: Seemed as if the list was going to explain why using text is good, yet it explains why using images is bad. (more) |
helpful | about 2 months ago |
Edit | Post #292286 |
Post edited: Remove fluff (for the future, you might as well put that statement in a comment, or simply omit it) |
— | 3 months ago |
Suggested Edit | Post #292286 |
Suggested edit: Remove fluff (for the future, you might as well put that statement in a comment, or simply omit it) (more) |
helpful | 3 months ago |
Comment | Post #292230 |
Based on what I can find about Joe-E, that remains purely a theoretical scenario, not a real one. Standard Java _is not_ capability-safe, so I in that context, I'm not sure if this really answers it. I do like the mention of an import whitelist, though. I can't see anything else in OpenJDK these days... (more) |
— | 3 months ago |
Comment | Post #292219 |
But it isn’t really obscurity, is it? The Java bytecode for the object is available, and that can be decompiled and inspected.
JEP 401, being part of Valhalla, is generally written by the most experienced JDK developers, with deep knowledge of the JVM. Surely they wouldn’t get such a basic misund... (more) |
— | 3 months ago |
Edit | Post #292219 |
Post edited: |
— | 3 months ago |
Edit | Post #292219 | Initial revision | — | 3 months ago |
Question | — |
Why does a lack of object encapsulation constitute a security breach? In the current version of OpenJDK's JEP 401: Value Classes and Objects (Preview), it is said that value classes can leak data stored in their fields, and that this is potentially a security concern. Quoting the two parts: > - The ability to compare value objects' fields means that a value object'... (more) |
— | 3 months ago |
Comment | Post #292128 |
Yes, I originally posted the answer on Stack Overflow. I don’t think it’s a great solution to the underlying issue there, though. I did consider posting a variation of that underlying issue here, but didn’t get that far yet.
https://stackoverflow.com/a/60123319/7395227
(more) |
— | 4 months ago |
Comment | Post #292135 |
It’s not so much about me not wanting exactly Git questions everywhere, I just strongly support limiting topics to as few communities as possible. Overlap isn’t good.
Now, for Git specifically, that is something I’d expect to find on Software Development, so seeing such questions in other communi... (more) |
— | 4 months ago |
Comment | Post #292135 |
Git questions should all be banned for every community other than this one, except for in cases where the question is very specifically _not_ for a development/programming purpose, and the answer would differ significantly. For instance, Linux can accept questions about how to use Git for non-develop... (more) |
— | 4 months ago |
Comment | Post #292135 |
Git is specifically a versioning system for code repositories, so it 100% belongs on Software Development. (more) |
— | 4 months ago |
Edit | Post #292129 |
Post edited: |
— | 4 months ago |
Edit | Post #292129 |
Post edited: |
— | 4 months ago |
Edit | Post #292129 |
Post edited: |
— | 4 months ago |
Edit | Post #292129 | Initial revision | — | 4 months ago |
Answer | — |
A: Prevent anonymously subclassing There is no keyword or compile-time construct to prevent this, but it can be accomplished through the use of a runtime exception: ``` class Parent { public Parent() { if (getClass().isAnonymousClass()) { throw new IllegalStateException("You violated my secret rule... (more) |
— | 4 months ago |
Edit | Post #292128 | Initial revision | — | 4 months ago |
Question | — |
Prevent anonymously subclassing Is it possible to somehow prohibit anonymously subclassing of a specific class? For instance, with a plain public parent class: ``` public class Parent { } ``` Extending this class should not be possible with an unnamed, anonymous subclass: ``` var myClass = new Parent() { ... } ``` ... (more) |
— | 4 months ago |
Edit | Post #291969 |
Post edited: Remove fluff |
— | 4 months ago |
Suggested Edit | Post #291969 |
Suggested edit: Remove fluff (more) |
helpful | 4 months ago |
Edit | Post #291167 |
Post edited: Total makeover. Remove fluff. |
— | 5 months ago |
Edit | Post #291913 |
Post edited: Remove fluff |
— | 5 months ago |
Suggested Edit | Post #291913 |
Suggested edit: Remove fluff (more) |
helpful | 5 months ago |
Suggested Edit | Post #291167 |
Suggested edit: Total makeover. Remove fluff. (more) |
helpful | 5 months ago |
Comment | Post #291848 |
If a question really shows a complete fundamental lack of understanding for how computers work, my natural response would be to treat it as some very low quality post, and move on. I guess I struggle to turn these particular very concrete examples into a more abstract case, and then discuss them all ... (more) |
— | 5 months ago |
Comment | Post #291848 |
Using development tools correctly is an issue for this community, not Super User. Pip on the command line does remain a topic for programmers, beginners or advanced users. Obviously, not knowing how Pip works, because one doesn't know it's not used from within Python (let alone not actually understan... (more) |
— | 5 months ago |
Comment | Post #291848 |
> "trying to use Pip in the REPL"
That sounds like an awful title, but can't you have a question titled "how to use Pip [with]in Python"? (more) |
— | 5 months ago |
Comment | Post #291805 |
The post asks for too much at once. The reason why this is really an issue, is because it renders the reusability of this question almost non-existent. Ask one question for each platform. Imagine if I find this question, but want an answer for one more platform. Do edit this question, or do I post a... (more) |
— | 5 months ago |
Comment | Post #291805 |
Why are you specifically looking for platform dependent functions? Why do platform independent functions not suffice? (more) |
— | 5 months ago |
Comment | Post #291757 |
Considering that the primary usefulness of Q/A is that it's easily searchable, and that giving people a quick answer for a quick web search is where it shines (and arguably, is the main goal), I don't see how splitting it between categories is useful at all. It doesn't solve the issue of duplication,... (more) |
— | 5 months ago |
Comment | Post #291556 |
@#36396 It’s not always that black and white. Sure, with my experience over at SE, I’ve certainly seen a lot of behaviour that I’d classify as «rude» or «abusive», and I’ve been rather annoyed at people asking questions, so much I used to absolutely hate beginner questions at one point.
Everyone ... (more) |
— | 5 months ago |
Comment | Post #291323 |
Nope, not mine. :) (more) |
— | 5 months ago |
Comment | Post #291753 |
See Python's own documentation for [an extended explanation](https://docs.python.org/3/library/__main__.html) (more) |
— | 5 months ago |
Comment | Post #291323 |
> I'm also generally opposed to making platform-specific versions of Q&A for things that can be done on all platforms. That just makes it harder to deal with platform-agnostic answers.
I agree there should be an overview, as one of the things that's been bothering me on SO, is that it's hard to se... (more) |
— | 7 months ago |
Comment | Post #291323 |
But creating a standalone executable is also different for each system. If I'm looking to make my Python application executable on my Mac without having to jump into the IDE to click the "run" button, I'm not interested in how to do it on Windows, Linux, etc, and I'd rather not have to scroll past th... (more) |
— | 7 months ago |
Comment | Post #291323 |
When splitting, you risk running into another issue: a question for how to make Python scripts into (native) executables/applications for all platforms. That's too much at once. One question per platform. Maybe there's a space for having an overview of all of them. Maybe dedicate a Q/A to asking abou... (more) |
— | 7 months ago |
Comment | Post #291323 |
> Making scripts run themselves
This entire section should be moved elsewhere.
The question is an introductory at Python, and a nice place to start learning for a beginner, but for anybody searching for how to do what this section describes, this question is a bad fit. You should make a new Q/... (more) |
— | 7 months ago |
Comment | Post #291068 |
I do agree that Codidact has a somewhat unfocused and confusing idea of «community». It kind of fails to establish what exactly it means, along with the core values and goals, the foundation itself for the community. The community is along for the content, curation and library, and taking care of tha... (more) |
— | 8 months ago |
Comment | Post #291068 |
I do think that there’s a lot to do in onboarding, yes, as well as UI changes.
> I'm trying to think like an inexperienced, new user
Yeah, the site’s UI does give an impression that it’s a helpdesk. It inherited that from SE, and it is worth remembering why it was designed that way in the firs... (more) |
— | 8 months ago |