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 manassehkatzâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #292162 |
For any date references that are *not* plain human readable text (but even then it would be OK to do so), such as HTML tags/classes/IDs/etc. **ALWAYS USE YYYY-MM-DD**. That eliminates ambiguity (is 2/3/2024 February 3 (US) or March 2 (elsewhere)) and makes the dates easily sortable, which is importan... (more) |
— | 5 months ago |
Edit | Post #290784 | Initial revision | — | 10 months ago |
Answer | — |
A: What is the difference between hashing and encryption? > What specific algorithm makes it possible to scramble data into an unrecoverable form, yet still be usable for its intended purpose? It isn't any one specific algorithm. There are many different algorithms both for hashing and for encryption. > Is it something like a checksum, in which a fun... (more) |
— | 10 months ago |
Comment | Post #290488 |
Write that up, with some more explanation, as an answer. The key being the number of bits of entropy and how to make that happen. (more) |
— | 12 months ago |
Edit | Post #290301 |
Post edited: |
— | about 1 year ago |
Suggested Edit | Post #290301 |
Suggested edit: (more) |
helpful | about 1 year ago |
Comment | Post #289016 |
If (big "if", because it first requires agreement among the group using this system) we add "Articles" (title could be different, but that's the concept) then something like this could be one large Article or one overview and then additional Articles for particular components. But no reason to make i... (more) |
— | over 1 year ago |
Comment | Post #289016 |
This is the type of thing that first best as an "Article". Or something of that sort - basically a separate category of posts that (a) doesn't have all the usual "Answer" activity because it is supposed to be "a thing" and not "a question to be answered" and (b) that is relatively few in number and t... (more) |
— | over 1 year ago |
Comment | Post #288893 |
SQLite has its place - no separate process running. And PostgreSQL is fine too. But for a **lot** of projects, from small dedicated systems on up to mirrored servers in the cloud, MySQL works just fine. In certain ways it is simpler than PostgreSQL, but it is quite powerful and scalable, and just abo... (more) |
— | over 1 year ago |
Edit | Post #288843 |
Post edited: |
— | over 1 year ago |
Edit | Post #288843 | Initial revision | — | over 1 year ago |
Answer | — |
A: Are AI prompt engineering questions on topic? No. Software Development is about writing software. Yes, you can stretch almost anything that is an input to software to be "writing software". But arguably the closest analogue in actual Software Development to "AI Prompt Engineering" would be unit tests. A unit test basically says: I am writing... (more) |
— | over 1 year ago |
Comment | Post #285366 |
I've never used LaTeX, so I don't know if this is an option: Can you set LaTeX to put the .pdf output into a different directory? If so, you can then just ignore that directory. (more) |
— | almost 3 years ago |
Comment | Post #282532 |
The problem with the last choice is it sacrifices usability/functionality for an IMHO misguided sense of "style". Remember, the user may or may not ever see the actual HTML (most won't, and the ones that do will be mostly curious programmers and 80 lines won't bother them a bit) but they will be imme... (more) |
— | over 3 years ago |
Comment | Post #282532 |
You can't have it all. You can: Use a different language (PHP or other) *generating* HTML using more traditional coding - lots of lines of code but more structured than "blob of HTML"; have big HTML files (a few long lines or lots of short lines - just a question of line breaks for readability); or *... (more) |
— | over 3 years ago |
Comment | Post #282532 |
Generally speaking, HTML doesn't care about white space. When I have this issue, I reformat with, at a minimum, a line break after each closing tag < / whatever >. But you can add more line breaks wherever you want. As far as length of the file (# of lines), why does that matter? 80 lines - or double... (more) |
— | over 3 years ago |
Edit | Post #282530 | Initial revision | — | over 3 years ago |
Answer | — |
A: What are the types of contact forms? There is no "official" contact form. A form is a form is form. HTML (and by extension any language that generates HTML as output) has "forms". A form could be for "contact" or "order" or "chat" or anything else. A form can produce output on the same page (via AJAX or similar) or a new page, and the o... (more) |
— | over 3 years ago |
Comment | Post #281996 |
Fenceposts. Always watch out for the fenceposts. (more) |
— | over 3 years ago |
Comment | Post #281996 |
Actually, 20 **is** 8:00pm. 12:01am is 00:01 = Hour 0, Minute 1. The problem is that **> 20** effectively means **> 8:59pm** because it is looking at only the hour. So the *reason* of the problem was incorrect, but the actual problem (and the implemented *> 19* fix) were both correct.
(more) |
— | over 3 years ago |
Comment | Post #281769 |
Huh? How does your experience, *when you are asking others for an explanation*, make any answer that tries to explain it worthy of a downvote? But in any case, there is quite a difference between a ticketing system and *documentation*. (more) |
— | over 3 years ago |
Comment | Post #281769 |
Anyone care to explain the downvotes? I think I answered the question quite well. Only problem I see is that perhaps the question doesn't really belong... (more) |
— | over 3 years ago |
Edit | Post #281769 | Initial revision | — | over 3 years ago |
Answer | — |
A: Why most hosting providers support ticket systems allow text only (no formatting)? TL;DR Simply not necessary Markdown, and other methods of formatting (Word or similar documents, HTML/CSS, Latex, etc.) are used where the document is the product. In this case, the support ticket system is purely a means to an end. The messages are "just the facts" and meant to be read only o... (more) |
— | over 3 years ago |
Edit | Post #281420 | Initial revision | — | over 3 years ago |
Answer | — |
A: Why often times data compression causes data loss? Data compression uses a wide variety of tactics to reduce the storage needed for data, including (just off the top of my head): Run length encoding - e.g., store aaaaa as ax5 Tokenizing commonly used items - e.g., a BASIC interpreter might store each keyword as a single byte, since the location... (more) |
— | over 3 years ago |
Comment | Post #281302 |
No time for a full answer, so just a comment: I do the same sort of thing, but in the *first* program, that is, inside the if() statement, I add: *validation of input*, *preprocessing of the data (if appropriate)* - that way, if the form is bad (e.g., client-side validation insufficient and/or bypass... (more) |
— | over 3 years ago |
Edit | Post #281171 |
Post edited: |
— | over 3 years ago |
Edit | Post #281171 |
Post edited: |
— | over 3 years ago |
Comment | Post #281171 |
Point made (and Alexei edited) about RTFM - it is an extremely standard acronym among programmers, but I can see the concern. The key is the actual argument list - I will elaborate. (more) |
— | over 3 years ago |
Edit | Post #281171 | Initial revision | — | over 3 years ago |
Answer | — |
A: PHP emails are sent when $message is a string, but not when its an array From the PHP mail manual > mail ( string $to , string $subject , string $message , array|string $additionalheaders = [] , string $additionalparams = "" ) : bool PHP manual syntax (typical for many languages) lists the type of each function parameter prior to the name of the parameter. Since par... (more) |
— | over 3 years ago |
Edit | Post #281166 | Initial revision | — | over 3 years ago |
Answer | — |
A: Is migrating emails from one hosting provider to another a trouble? This is a very common problem. First some basics: There are two very different things in email: Email Server (a.k.a. hosting) This is the system that sends, receives and stores email messages. It may be a single computer, it may be a group of computers (for load sharing and/or redundancy). ... (more) |
— | over 3 years ago |
Comment | Post #280974 |
As @Alexei pointed out, the question is what *programming* (aka Software Development) are you doing here. This is the kind of thing that could be easily written (for a moderate level programmer) in Python or PHP or almost any other high-level language with an appropriate image library. But the questi... (more) |
— | almost 4 years ago |
Comment | Post #280977 |
**Implementing** virtual machines is Software Development. In some cases, developing software in a way that is optimized for virtual machines *may* be a thing. But this is more of a conceptual Computer Science discussion. Translate it into real-world practical use - a specific example you are trying ... (more) |
— | almost 4 years ago |
Comment | Post #280976 |
Definitely not software development. But when you do find the right place to ask, I suggest you include the version of Word, the size of the paper (yes, it can be relevant), the desired margins, etc. Question as stated would be on-topic but likely closed as "too vague" on an "Applications" Q&A site. (more) |
— | almost 4 years ago |
Comment | Post #280937 |
I don't quite see what the question is. Do you have 2 (or more) different CMSes for different sites and are just looking for one form that you can develop and plug in for use everywhere? If you are in PHP it is close-to-trivial to roll-your-own. Email on a different server should be a non-issue. (more) |
— | almost 4 years ago |
Edit | Post #280217 |
Post edited: spelling, punctuation |
— | almost 4 years ago |
Suggested Edit | Post #280217 |
Suggested edit: spelling, punctuation (more) |
helpful | almost 4 years ago |
Edit | Post #279081 |
Post edited: spelling |
— | about 4 years ago |
Edit | Post #278851 |
Post edited: |
— | about 4 years ago |
Edit | Post #278851 | Initial revision | — | about 4 years ago |
Answer | — |
A: PHP script to create a KML square centred on a point. 1 - Rearrange the code: Open stdin, read all parameters, close stdin, then process the parameters. 2 - Consider adding some validation to the parameters. 3 - Add an explanation of the magic number 6378137 - I had to Google it to find out what it means. 4 - Replace $i = 45, $i += 90 and the f... (more) |
— | about 4 years ago |
Edit | Post #278795 | Initial revision | — | about 4 years ago |
Answer | — |
A: Are reference requests welcome here? This will be community dependent - e.g., Software Development, Outdoors, Cooking, etc. might each have a different rule. IMHO, there are two issues here: How helpful is such information, compared to just telling people "Google it yourself" - i.e., is a curated reference list "useful"? Is such i... (more) |
— | about 4 years ago |
Comment | Post #278709 |
About 99% sure. I think this is a semantic issue. I believe that "is used when" is not "this only functions when" but rather "this is *the recommended use case for*". Note later (a) it excludes BLOB and TEXT (but not VARCHAR, etc.) and (b) it states "CHAR and VARCHAR columns are space-padded to the s... (more) |
— | about 4 years ago |
Comment | Post #278752 |
*formula* is way too ambiguous - it applies to spreadsheets, databases, general programming language. But *spreadsheet* can be quite applicable, if I am writing software to create a spreadsheet, or if I am writing my own spreadsheet program, or if I have a generic (not specific to Microsoft Excel or ... (more) |
— | about 4 years ago |
Edit | Post #278709 |
Post edited: |
— | about 4 years ago |
Comment | Post #277393 |
This is valid as far as the length-coding. It doesn't get into the issue of how/where the strings are stored - in the main rows vs. separate structure, etc. (more) |
— | about 4 years ago |