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 tarhaldaâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #290614 | Initial revision | — | 10 months ago |
Answer | — |
A: How can one import two classes with the same name in Java8? While other JVM languages, such as Groovy, Kotlin and Scala have Python-like import aliasing, Java does not. It's not possible to 're-name' imports, however, when you call a class from a package, you can use its FQN (Fully Qualified Name), that is, add the full package name before the class name. ... (more) |
— | 10 months ago |
Edit | Post #290613 | Initial revision | — | 10 months ago |
Question | — |
How can one import two classes with the same name in Java8? Some development tools provide an error message when a user tries to import two things (classes, packages) with the same name. Some programming languages offer a syntax to import one of those things under a different name. In Python, that syntax is `import foo from bar as foobar`. Does Java have an a... (more) |
— | 10 months ago |
Comment | Post #290520 |
Can you include the line of code with the function call that's throwing the error? I don't see it in your example. (more) |
— | 11 months ago |
Edit | Post #290489 | Initial revision | — | 11 months ago |
Answer | — |
A: Are "strong passwords" at all meaningful? Disclaimer: I am not a security expert nor a security professional. There is, of course, a relevant XKCD comic for this: XKCD comic about how short passwords with special symbols and numbers are less secure and harder to remember than long passwords with only alphabetic characters The entrop... (more) |
— | 11 months ago |
Comment | Post #290488 |
Relevant XKCD: https://xkcd.com/936/ (more) |
— | 11 months ago |
Comment | Post #289212 |
- Beginners don't always know which sites to trust for information on a new language, especially when just getting into programming
- Tutorials often don't come with the appropriate security warnings. For instance, getting input from the keyboard in C has several built in ways to do it and the obvio... (more) |
— | over 1 year ago |
Edit | Post #289032 | Initial revision | — | over 1 year ago |
Answer | — |
A: Log4j2 not looking for log4j.properties even with the system property set I had been using log4j2.12.4 jars. When I switched to log4j2.20.0 jars, log4j2 correctly searched for and found the log4j configuration file. (more) |
— | over 1 year ago |
Edit | Post #289030 | Initial revision | — | over 1 year ago |
Question | — |
Log4j2 not looking for log4j.properties even with the system property set I am migrating an application from Log4j1 to Log4j2 using the API bridge jar. All references to the log4j1.jar have already been removed. I set the system property in Websphere as a JVM argument `-Dlog4j1.compatibility=true`, but when I watch the debug output from log4j2 it is not actually lookin... (more) |
— | over 1 year ago |
Comment | Post #288920 |
@cafce25 that would solve my problem, thank you! (more) |
— | over 1 year ago |
Comment | Post #288920 |
@#61308 that's the main issue for my current application. I've also had issues with reading and writing simultaneously causing the database to lock instead of queuing the read. (more) |
— | over 1 year ago |
Edit | Post #288920 |
Post edited: Added specifics on SQLite issues |
— | over 1 year ago |
Comment | Post #288920 |
SQLite doesn't enforce column datatypes. The code has to enforce the datatypes, which is error-prone. (more) |
— | over 1 year ago |
Edit | Post #288920 | Initial revision | — | over 1 year ago |
Question | — |
Can I package a database other than SQLite with a Flutter app? Flutter supports packaging a SQLite instance with a Flutter app using the Sqflite plugin. I do not like the speed of SQLite or the fact that it does not enforce column datatypes and want to use something like PostgreSQL or MySQL with my desktop app. Is there a way to do this in Flutter that doesn't r... (more) |
— | over 1 year ago |
Edit | Post #288617 |
Post edited: Added link to original post by me on StackOverflow |
— | over 1 year ago |
Edit | Post #288617 | Initial revision | — | over 1 year ago |
Answer | — |
A: What is lifting state up in Flutter? This article has a good explanation of lifting state up in Flutter. >Let's say for example that we have a `BlueSquare` widget that displays the number of times it has been tapped. Each click on the square automatically updates the text displayed with the updated total number of clicks on that squa... (more) |
— | over 1 year ago |
Edit | Post #288616 | Initial revision | — | over 1 year ago |
Question | — |
What is lifting state up in Flutter? What does lifting state up in Flutter mean, and how does it work? (more) |
— | over 1 year ago |
Edit | Post #288615 |
Post edited: |
— | over 1 year ago |
Edit | Post #288615 | Initial revision | — | over 1 year ago |
Question | — |
Clear selectManyMenu component if user unselects item in JSF 2 I am working with JSF 2.3 and have a `selectManyMenu` component that is marked as `required` but that I want to be cleared if the user unselects all items. Currently, the user can unselect all items, but the backing bean will still have the last selected item retained. This causes the UI to not refle... (more) |
— | over 1 year ago |