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 FractionalRadix
| Type | On... | Excerpt | Status | Date |
|---|---|---|---|---|
| Comment | Post #296320 |
You say this happens when a cactus spawns. Do the fields with cacti have the same width as the rest? If not, what happens if you give them the same width? If that makes the problem go away, then that different width has something to do with it. (more) |
— | 3 months ago |
| Comment | Post #296206 |
Good question; it would take some research to answer that. With work, and perhaps making it a bit more specific, it might even make a nice question for Codidact. However, I don't think it fits Software Codidact. If we had a Codidact for ICT Security or Business Processes, maybe it could fit there... (more) |
— | 4 months ago |
| Comment | Post #296206 |
In general, probably not. Organizations prefer to keep it silent if they are attacked successfully - we needed laws to make them report data leaks. Closest thing would be the CVEs that involve specific builders. (more) |
— | 4 months ago |
| Edit | Post #296203 |
Post edited: Fixed grammar. |
— | 4 months ago |
| Comment | Post #296203 |
A good question, if possibly rather broad for Codidact. That said, the site from Webflow that you link seems to hold part of the answer: "Branching, staging, approvals, and version visibility keep changes contained", and "see who made what change and roll it back if needed". I'm guessing that LLM... (more) |
— | 4 months ago |
| Suggested Edit | Post #296203 |
Suggested edit: Fixed grammar. (more) |
helpful | 4 months ago |
| Edit | Post #296117 |
Post edited: Added OP's comment that there were no error messages. Changed title a little to make it clear that console input is involved (even if, in the end, that wasn't the problem). Added Eclipse tag because it turned out to be relevant (had no repro in IntelliJ). |
— | 4 months ago |
| Suggested Edit | Post #296117 |
Suggested edit: Added OP's comment that there were no error messages. Changed title a little to make it clear that console input is involved (even if, in the end, that wasn't the problem). Added Eclipse tag because it turned out to be relevant (had no repro in IntelliJ). (more) |
helpful | 4 months ago |
| Comment | Post #296117 |
You're welcome! I suggest you post this as an answer. Maybe also make the title of the question more descriptive - e.g. "Why does my JOptionPane not show?" That would make the question + answer easier to find for others who have the same problem. (more) |
— | 4 months ago |
| Comment | Post #296117 |
I tried this using IntelliJ, with OpenJDK 21. The JOptionPane showed up as expected.
Is it possible that the JOptionPane is hidden behind another window?
You could also try showing the answer in, for example, a JFrame - and see if that makes a difference. Then we might know a little more. (more) |
— | 4 months ago |
| Comment | Post #295869 |
Welcome to Codidact! I'm afraid this question is too broad to be a good fit for this site. That said - the best way to learn any programming language is to practice. Find a book or online course, learn the basics from it, then start your own projects.
(more) |
— | 6 months ago |
| Comment | Post #295611 |
Welcome to Codidact! It looks like you're having a rough start here; I'm sorry to see that.
That said, I think there's a mistake in your answer that you may want to address. If code is compiled every time before running, it's still compiled. You seem to be thinking of JIT - Just In Time comp... (more) |
— | 6 months ago |
| Comment | Post #295572 |
I checked the properties of the field in the database... its Collation property is set to `Latin1_General_CI_AS`. So I then tried using an ordinary `==` and... that worked. So, I could have saved myself the trouble! (more) |
— | 7 months ago |
| Edit | Post #295573 | Initial revision | — | 7 months ago |
| Answer | — |
A: LinQ expression not supported in the `Where` clause Since the program uses XPO, the system tries to translate this query to SQL. However, the LinQ provider (LinQ-to-XPO) does not support `String.Compare`. You'd likely have the same problem with other LinQ providers. It does support `ToLower()` so a simple solution is: var relevantAccount =... (more) |
— | 7 months ago |
| Edit | Post #295572 | Initial revision | — | 7 months ago |
| Question | — |
LinQ expression not supported in the `Where` clause My code accesses a SQL Server database using DevExpress XPO. It contains the following query: var relevantAccount = accounts .Where(acc => String.Compare(acc.Description, "Some Account Name", true) == 0) .FirstOrDefault() ; I use `String.Compare` rather than `... (more) |
— | 7 months ago |
| Edit | Post #294988 | Initial revision | — | 10 months ago |
| Answer | — |
A: java.time.ZonedDateTime missing seconds in output The `toString()` method of `ZonedDateTime` uses that of `LocalDateTime`, which in turn uses that of `LocalTime`. If we look at the source of OpenJDK, at least, we see the following method comment on `toString`: > The format used will be the shortest that outputs the full value of the time w... (more) |
— | 10 months ago |
| Edit | Post #294397 |
Post edited: Fix capitalization and spelling |
— | about 1 year ago |
| Suggested Edit | Post #294397 |
Suggested edit: Fix capitalization and spelling (more) |
helpful | about 1 year ago |
| Edit | Post #293819 |
Post edited: |
— | over 1 year ago |
| Edit | Post #293820 | Initial revision | — | over 1 year ago |
| Answer | — |
A: DllExportAppDomainIsolatedTask task failed, requested value Version48 not found You can fix this by installing Microsoft Build Tools 2015: https://www.microsoft.com/en-us/download/details.aspx?id=48159 I found this solution on that other Q&A site. According to the comments there, this should also work if the error message refers to Version46 or Version47. (more) |
— | over 1 year ago |
| Edit | Post #293819 | Initial revision | — | over 1 year ago |
| Question | — |
DllExportAppDomainIsolatedTask task failed, requested value Version48 not found I have a .NET Framework project in Visual Studio. While trying to build it, I get the following error message: > Error The "DllExportAppDomainIsolatedTask" task failed unexpectedly. System.ArgumentException: Requested value 'Version48' was not found. As I understand it, the 48 refers to .N... (more) |
— | over 1 year ago |
| Comment | Post #292128 |
Ah, serialization! That makes sense. One should still wonder, if the subclass is anonymous, why one would need to serialize it in the first place. It's likely an X/Y problem, as you suggest in your comment. Still, I could imagine someone running into this situation. (more) |
— | about 2 years ago |
| Comment | Post #292128 |
Out of curiosity, is there a use case for this? Your answer is clever, but I don't think a parent class should care if subclasses are anonymous. (more) |
— | about 2 years ago |
| Edit | Post #291678 |
Post edited: Fixed capitalization. |
— | over 2 years ago |
| Edit | Post #291677 |
Post edited: Fixed capitalization. |
— | over 2 years ago |
| Suggested Edit | Post #291678 |
Suggested edit: Fixed capitalization. (more) |
helpful | over 2 years ago |
| Suggested Edit | Post #291677 |
Suggested edit: Fixed capitalization. (more) |
helpful | over 2 years ago |
| Comment | Post #291539 |
Looks like my situation was included in this answer as well. Nice! Also, welcome to Codidact! (more) |
— | over 2 years ago |
| Edit | Post #291469 |
Post edited: |
— | over 2 years ago |
| Edit | Post #291469 | Initial revision | — | over 2 years ago |
| Answer | — |
A: Docker push fails with message "denied: requested access to the resource is denied" There are many reasons why this error may occur. In my case, my new token had the `readregistry` scope but not the `writeregistry` scope. I created a new token that had the `readregistry` and `writeregistry` scopes. I then logged out of Docker, and logged in again using the new token. Af... (more) |
— | over 2 years ago |
| Edit | Post #291468 | Initial revision | — | over 2 years ago |
| Question | — |
Docker push fails with message "denied: requested access to the resource is denied" Recently I had to push a new Docker image to our GitLab registry. I have the Maintainer role on that project. I had created a new token and used it to log in to Docker. However, when trying to build and push the image, I got the error message > denied: requested access to the res... (more) |
— | over 2 years ago |
| Edit | Post #290280 | Initial revision | — | almost 3 years ago |
| Question | — |
Allow tagging answers with tools and version numbers TL;DR If we allow answers to be tagged with technologies and version numbers, people can more easily check if an answer is applicable to their technology stack. A few days ago, I had a problem in Java Spring Boot. The error message was a pretty common one: "expected at least 1 bean which quali... (more) |
— | almost 3 years ago |
| Edit | Post #290164 | Initial revision | — | almost 3 years ago |
| Question | — |
How to declaratively enable RabbitMQ feature flags in Kubernetes We use Kubernetes on a cloud (GKE, to be precise). We use RabbitMQ for messaging and we need to upgrade it from 3.10 to 3.12 . FWIW RabbitMQ has been added to our system using a chart from Bitnami. The problem is that we need to enable RabbitMQ's feature flags. More specifically, the p... (more) |
— | almost 3 years ago |
| Comment | Post #290124 |
Welcome to Codidact! Have you tried reaching the endpoint using a separate client, like cURL or Postman?
Judging by the error message, you are trying to reach an endpoint on your own machine? I note that although the message is "ERR_BAD_REQUEST", the code is not 400 but 404 - "Not Found". Are ... (more) |
— | almost 3 years ago |
| Edit | Post #290124 |
Post edited: Fixed grammar. Applied markdown. |
— | almost 3 years ago |
| Edit | Post #290125 |
Post edited: |
— | almost 3 years ago |
| Edit | Post #290125 | Initial revision | — | almost 3 years ago |
| Answer | — |
A: Escape both reserved characters and curly braces in a URI in Spring Boot We ended up using the old java.net.URLEncoder . More specifically, we used `URLEncoder.encode(string, Charsets.UTF8)`. We use it to encode the values for the query parameter, and then build a URL from it using String concatenation. This solves most of the problems, if you're willing... (more) |
— | almost 3 years ago |
| Suggested Edit | Post #290124 |
Suggested edit: Fixed grammar. Applied markdown. (more) |
helpful | almost 3 years ago |
| Edit | Post #290093 |
Post edited: Fixed typos and grammar. Added paragraph headings for (hopefully) easier reading. |
— | almost 3 years ago |
| Edit | Post #290093 | Initial revision | — | almost 3 years ago |
