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 FractionalRadix‭

Type On... Excerpt Status Date
Suggested Edit Post #286065 Suggested edit:
Fix formatting and grammar.
(more)
helpful almost 3 years ago
Comment Post #283705 Thanks, this makes sense! I'll look into it more closely later. Meanwhile you've got my vote. Good point about the naming of `ListOfPoints`, too.
(more)
over 3 years ago
Edit Post #281149 Initial revision over 3 years ago
Answer A: How to read lines into an array in Bash
Your code adds all three elements to the list. You can see this if you add a line inside the `while` loop: echo "$line" However, if you give the command `echo $myarray`, it will only show you the first element. (I'm not yet sure why, because I don't do a lot of shell scripting. I'll edit...
(more)
over 3 years ago
Comment Post #278897 Haven't voted on this (yet)... but I consider the "extra effort" to read and write braces negligible. In fact, I feel the extra braces make it _easier_ to read, because they help to show which code belongs together.
(more)
almost 4 years ago
Comment Post #279834 @ghost-in-the-zsh If I find the solution, I'll post it. This was always a hobby project, and I've been busy with other ones.
(more)
almost 4 years ago
Comment Post #280795 I feel this question is too broad. HTTP is a protocol, strictly meant for the web. It has a formal specification. REST is an architecture - it's a set of design principles, and if any application follows these principles, it can call itself RESTful. But unlike HTTP, there's nothing formal about it - ...
(more)
almost 4 years ago
Comment Post #280778 @Alexei At the current stage of CoDidact, I don't think this is too broad. Even "that other Q&A site" had a canonical Q&A about building a login page. I hope questions like these will attract more users to our community. As an alternative to a question, we could have an article on the subject of doin...
(more)
almost 4 years ago
Edit Post #280778 Post edited:
Made title more specific. Fixed capitalization. Added a comma in text for easier reading.
almost 4 years ago
Comment Post #280778 The backend should create a salted hash of the password, it should not store the password itself. For calculating the salted hash, use existing software or what is built-in in the available Java API's. Writing cryptographic code is notoriously difficult and error-prone.
(more)
almost 4 years ago
Suggested Edit Post #280778 Suggested edit:
Made title more specific. Fixed capitalization. Added a comma in text for easier reading.
(more)
helpful almost 4 years ago
Edit Post #280649 Post edited:
almost 4 years ago
Edit Post #280649 Post edited:
almost 4 years ago
Comment Post #280658 +1 for pointing out the false dichtomy. It might be worth adding why interpreters are easier to write; e.g. no need to do register allocation.
(more)
almost 4 years ago
Edit Post #280649 Post edited:
almost 4 years ago
Edit Post #280649 Post edited:
almost 4 years ago
Edit Post #280649 Initial revision almost 4 years ago
Answer A: Interpreted language: What is its benefit for being written in that way ?
Historically, compiling programs could take a long time. Interpreted languages did not need to be compiled. So if developers wanted to change the program, if it was interpreted they could just tweak a few lines and run the program. If it was compiled, they had to wait until the compiler was done. Thi...
(more)
almost 4 years ago
Edit Post #279834 Post edited:
Updated with new values - trying to set everything to be the same for both sources, as ghost-in-the-zsh suggested.
almost 4 years ago
Comment Post #279834 @ghost-in-the-zsh As you suggested, I've tried again with exactly the same bytes. I've included screenshots of the captures. If necessary, I could add the .pcapng files, I guess. (Sorry for getting back late BTW; this app is a hobby project, and I have little spare time to work on it.) Good point abo...
(more)
about 4 years ago
Comment Post #279834 @Moshi Well, now apparently I can create new tags... I guess I missed something. Thanks for pointing out that it's not ability-locked!
(more)
about 4 years ago
Edit Post #279834 Post edited:
Added screenshots of the Wireshark captures.
about 4 years ago
Comment Post #279834 @Moshi ...so, I unlocked that Ability? That would be nice! I tried adding new tags myself, but it didn't work.
(more)
about 4 years ago
Comment Post #279834 @ghost-in-the-zsh Well spotted! The 0xfeca value is arbitrary; it is a value that the receiver must return, so the sender knows it got the right message. (And yes, that's not watertight... but that's the spec). There are no logs from the receiver; using the "-d" option is the most informative you can...
(more)
about 4 years ago
Edit Post #279834 Post edited:
about 4 years ago
Edit Post #279834 Initial revision about 4 years ago
Question Fail to send DICOM C-Echo, although DICOM Association seems successful.
I am building an Android app to perform a DICOM C-Echo. (DICOM is a standard for storing and transferring medical images; the specification is at dicom.nema.org). My purpose is to learn more about how DICOM works, by implementing things myself. To test my application, I use DCMTk's `storescp` com...
(more)
about 4 years ago
Comment Post #279002 @Alexei‭ Thanks! "Binding" seems a rather broad tag. But I'll let the community decide about that.
(more)
about 4 years ago
Edit Post #279002 Initial revision about 4 years ago
Question Proper way of sending large amount of data from View to ViewModel
The problem I am working on a simple drawing app for Android. I have a custom view on which the user can draw. This means that a lot of data (a list of points) is generated in this View. I want to store this data in the `ViewModel`. If I need to update a `View` after something changes in th...
(more)
about 4 years ago