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.
Posts by . .
Why SDL (the Simple Directmedia Layer) apps are showing in a single quarter of the window, while the other three are blacked out, and what can I do about it? I'm using Xcode. I think this started h...
If you can, have the repository locally and/or in a Git server. Use rsync to deploy updates to public_html. If the repository still needs to live in that same server, same applies (rsync, just loca...
I'm facing rsync full syncs every once upon a time, I think it's because DST, notice an hour of difference: $ ls -l tier2/VIDEO-2020-06-17-15-10-27.mp4 /Volumes/KINSTON2/dat/laptop_kinstones/tier2...
One could either do a unique constraint on those foreign keys or a composite primary key on those columns. For elegance, canonicity, a primary key is necessary. You would initially have a primary...
I need to rename one column in 170 tables in a MySQL database and its going really slow. [...] Doesn't make much sense. A column name should be easy to rename and somewhat independent of the data...
This is as old as the ages, and the problem existed in the Yacc world long before CSS was invented. Keep both the SASS and the resulting CSS files in version control. Good: More predictable, eas...
Solved this æons ago actually... [Assumes Bash shell]. If the DST difference is for instance an hour (or 60 minutes, or 3600 seconds), change: --modify-window=3 To: --modify-window=$((3 + 60...
I saw at least one compiler (Codewarrior for HC12) warn me if I use a function without using it's return value. [...] Ye, for that's the right choice. [...] Other compilers (clang/gcc) do not is...
There is a privilege to add the information to the tags: https://github.com/codidact/qpixel/blob/047a8d92073559fb10ebead89df8ce686f1a3dc4/app/views/tags/show.html.erb#L36-L39 https://github.com/cod...
It is OR. Assimilate FALSE to the empty string, and TRUE to any other string: ε CONCATENATE ε = ε ε CONCATENATE something = something something CONCATENATE ε = something What about both sides at T...
Let's start with this perl at https://www.json.org/json-en.html: A number is very much like a C or Java number, except that the octal and hexadecimal formats are not used. That's an extremely imp...