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

Type On... Excerpt Status Date
Comment Post #296509 I get that point 1 is false. I'm just looking for an example that I can understand. If you can provide another one then that is great
(more)
about 1 month ago
Comment Post #296509 Hmm, I don't know Pascal, and the languages I'm familiar with (TypeScript, Python, PowerShell, AutoHotKey) don't have subroutines in my understanding, so I may not really understand your example. But is your example similar with something like this? ``` const numVar = 3 const stringVar = num ...
(more)
about 1 month ago
Comment Post #296489 can you give an example for that example? Maybe a piece of code
(more)
about 1 month ago
Comment Post #296489 > Compilers raise many errors other than syntax errors. Can you elaborate this? What non-syntax errors that compilers can catch too?
(more)
about 1 month ago
Edit Post #296487 Post edited:
about 1 month ago
Edit Post #296487 Post edited:
about 1 month ago
Edit Post #296487 Post edited:
about 1 month ago
Edit Post #296487 Initial revision about 1 month ago
Question Can all compiler errors be caught by language server?
Here is the reasoning: 1. Compiler error is syntax error 2. Language server can catch all syntax error 3. Therefore, all compiler errors can be caught by language server I have the feeling that this is true, based from my understanding on Language Server Protocol - Wikipedia. But the article doe...
(more)
about 1 month ago
Comment Post #296206 Here you go: - [Business processes - Community Proposals](https://proposals.codidact.com/posts/296204?comment_id=29476&thread_id=11866) - [How do hosting vendors deal with successful attacks at the sites made by them?](https://proposals.codidact.com/posts/296238) However, why aren't questi...
(more)
3 months ago
Comment Post #296206 No, I mean some sources to read on how there is no way to automatically discover **common** vulnerabilities (as listed by OWASP), especially in application security. I found the [Cohen's problem](https://security.stackexchange.com/a/19715/94500) also applies the halting problem in security. One c...
(more)
4 months ago
Comment Post #296206 How do vendors deal with successful attacks at the sites made by their builders? Do they have an alert system or the site owner are likely have to detect themselves and report to the vendor? How do they fix the problem? And do they do that for free? As the site owners are their customers, and thi...
(more)
4 months ago
Comment Post #296206 Referring the halting problem makes me interested to learn more about this. Do you have any good pointer? If it is readable for novices than it's great
(more)
4 months ago
Comment Post #296206 The report in the link is from [Veracode](https://en.wikipedia.org/wiki/Veracode), an appsec company which "provides SaaS application security that integrates application analysis into development pipelines." Isn't this the tool we're looking for? Or the service isn't a tool but a manual labor? W...
(more)
4 months ago
Comment Post #296206 Is there a way to check the history of being attacked (succeed or not) of sites made from a specific builder (WordPress.com, Webflow, etc.)?
(more)
4 months ago
Comment Post #296203 I understand that those are just version controls. It helps reviewing and rolling back, yes, but how does that help secure coding?
(more)
4 months ago
Comment Post #296197 [This source](https://github.com/denoland/fresh/issues/983#issuecomment-1891656732) lists examples of frameworks and the metaframeworks they are built upon: ``` | Framework | Meta Framework | | --------- | ------------------------- | | Preact | Fresh | | Rea...
(more)
4 months ago
Edit Post #296203 Initial revision 4 months ago
Question How do websites built by website builders defend security threats or follow secure coding?
There are SaaS providers for building and hosting websites made with WYSIWYG and LLM-prompt website builders, such as WordPress.com, Webflow, etc. I guess these services should be secure-by-default and secure-by-design, e.g. the builders should be guided to generate code to follow secure coding i...
(more)
4 months ago
Edit Post #296197 Initial revision 4 months ago
Question Are metaframework and server-side framework the same?
I occasionally hear the split between framework and metaframework, and then the split between client-side framework and server-side framework. Are they just the same? Sources use "metaframework": - GitHub - fyodorio/awesome-metaframeworks: A curated list of awesome resources related to softw...
(more)
4 months ago
Comment Post #296119 Well, when is a category better for a niche, and when is a standalone site better?
(more)
4 months ago
Edit Post #296119 Initial revision 4 months ago
Answer A: What categories could we benefit from having?
- Security - Software engineering - Software recommendation
(more)
4 months ago
Comment Post #294736 Why can't pulling new upstream commits directly to my current branch work? I didn't make a new branch in my first PR though
(more)
11 months ago
Comment Post #294736 Do you mean `git switch remotes/upstream/master --detach` and `git switch -c second-pr-take-2`?
(more)
11 months ago
Edit Post #294731 Initial revision 11 months ago
Question How to avoid pushing past commits when making a pull request?
I had a PR that was accepted. Now I make another one, but it also push my past commits. I have created a new branch but it doesn't solve the problem. Why does this happen and how to prevent this?
(more)
11 months ago
Edit Post #293670 Post edited:
over 1 year ago
Comment Post #293670 `const a = new Temporal.PlainDate(2025, 1, 1)` works. I just wonder why using `Partial` doesn't work here
(more)
over 1 year ago
Edit Post #293670 Post edited:
over 1 year ago
Comment Post #293670 Thanks for taking time to help me clear. I expect the type check to pass. In my understanding, `Partial<X>` is a type with all properties of `X` set to optional, so `a` should have no error. If this is the intended restriction, then how can I create a `Partial<Temporal.PlainDate>` instance?
(more)
over 1 year ago
Edit Post #294120 Initial revision over 1 year ago
Question From local, how to create new GitHub repo to have GitHub Pages with actions?
`gh repo create` doesn't have a flag to set GitHub Pages with GitHub Actions. Is there a way to do so, or am I have to visit the setting page to set it manually?
(more)
over 1 year ago
Edit Post #293871 Post edited:
over 1 year ago
Edit Post #293871 Post edited:
over 1 year ago
Edit Post #293871 Post edited:
over 1 year ago
Comment Post #293871 I suggest us to merge/synonymize the `scope`, `on-topic`, `off-topic` tags
(more)
over 1 year ago
Edit Post #293871 Initial revision over 1 year ago
Question Are software recommendation questions on-topic?
I want to build an HTML/CSS/JS interface in which cards are spread like physical cards on a table. You can move them around, and clicking on them will open a modal with more details. It should be usable on mobile. I guess there are examples around the internet with sample code, but I can't find o...
(more)
over 1 year ago
Edit Post #293670 Initial revision over 1 year ago
Question Why does the types returned by 'valueOf()' are incompatible with the type `Partial<Temporal.PlainDate>`?
This code: ```ts type A = Partial; const a: A = { day: 1, month: 1, year: 2025 } ``` yields this error: ``` Type '{ day: number; month: number; year: number; }' is not assignable to type 'Partial'. The types returned by 'valueOf()' are incompatible between these types. The 'Obj...
(more)
over 1 year ago
Comment Post #293657 See: [Why is my question body hidden?](https://meta.codidact.com/posts/293658)
(more)
over 1 year ago
Edit Post #293657 Initial revision over 1 year ago
Question How is `Temporal.PlainDate.from()` constructed?
Continuing from What is the advantage of creating instances from a method rather than constructor?, I want to construct a method that create a new instance of a class without using the constructor. One example of it is `Temporal.PlainDate.from()`. I look at the polyfill but am unable to answer m...
(more)
over 1 year ago
Edit Post #293642 Initial revision over 1 year ago
Question I comment on an answer on my question, and get this error: "New users can only comment on their own posts and on answers to them"
I'm the author of this question: What is the advantage of creating instances from a method rather than constructor? A user provides an answer and I want to open a comment thread. I get this response when submitting it: ```json { "status": "failed", "message": "New users can only comment...
(more)
over 1 year ago
Comment Post #293639 If overloaded functions tends to be error-prone in itself, then when is it be good to use? In small scripts I guess? Is the whole argument boils down to it's not worth for the *authors* to catch all possible errors when using overloaded constructors? Because I'm unable to imagine how *users* can ...
(more)
over 1 year ago
Edit Post #293634 Initial revision over 1 year ago
Question What is the advantage of creating instances from a method rather than constructor?
Take the newly `Temporal.PlainDate` class as an example. New instances can be created via the constructor: ```js new Temporal.PlainDate(year, month, day) new Temporal.PlainDate(year, month, day, calendar) ``` or via the `from()` method: ```js Temporal.PlainDate.from(info) Temporal.PlainDa...
(more)
over 1 year ago