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 General Sebast1an‭

Type On... Excerpt Status Date
Question Create a list of Niven numbers in Python
There's this new challenge on Code Golf CD and I'm using Python to do it. A little bit of golfing already took place, so the code might look a bit messy for you. Anyway, I'm proud of what I've written so far: ```python def g(n): s=0;t=n while t>0:s+=t%10;t//=10 return n%s==0 def f(n): ...
(more)
over 1 year ago
Question How do I get an animation from another source playing through hovering?
I was tasked with an assignment where I should get a box to move to the 4 corners of the viewport by hovering on a button. Most of the code is already finished except for figuring out how to get the animation running from another source, since I want only the box chosen to move and not the button. I ...
(more)
about 2 years ago
Question How to align my content to the left?
This revolves around images. I'm trying to write an HTML page of COVID-19 safety procedures, and here's what I've written so far: ``` COVID-19 Safety body { background-color: PEACHPUFF; margin-left: 300px; margin-right: 300px; margin-top: 50px; font-siz...
(more)
over 2 years ago
Question Adding support on mathematical expressions
MarkFuncs has really gotten huge progress, at least in my eyes, and now, I want to make math possible in the language. Background MarkFuncs is a programming language that I have been working on for a while, which is basically a golflang that works like an object-oriented proglang (the summary f...
(more)
over 2 years ago
Question How to initialize variable assignment in a non-OOP interpreter?
I'm still in the process of making MarkFuncs and having given up from copy-pasting open-source interpreters, them using OOP too, I decided to make one without OOP and with scratch alongside with the help of @Moshi in the Discord server. `test4` is where I'm currently at right now. `interpreter.py`...
(more)
over 2 years ago
Question What input functions can I use in TIO's PHP?
Try It Online! is an online interpreter for many supported languages, including [PHP]. I'm trying to solve coding challenges using the language, specifically "Hello, {name}!". In PHP, you can literally add text outside of the script (``) and it will output, which is what I did in the codeblock bel...
(more)
over 2 years ago
Answer A: We'd like to add another moderator -- who?
I'd like to nominate @hkotsubo‭, a high rep user of the site. Judging from the looks of the stats, he has a substantial amount of flags (13 as of the writing of this question), very well-received posts, and he's quite active in the site.
(more)
over 2 years ago
Question How do I filter an array in C?
No, I'm not trying to get the full program written completely in C by you guys. I only need some way to implement the functionalities of each function I found confusing. In this challenge in Code Golf CD, I have to make a program that computes the determinant of a two-dimensional array. It also ha...
(more)
over 2 years ago
Answer A: How to get string length in D?
Strings in D can be assigned either as `char[]` or `string`. Both have `.length` with them, which can be added at the end of the variable's name after assignment. import std.stdio; &#32; void main(string[] args) {&#32; &#9;string greeting1 = "Good"; &#9;writefln("Length of string greeting...
(more)
almost 3 years ago
Question How to get string length in D?
I'm new to D and am planning to use it for golfing. I want to make a ROT13 converter and I want to determine the length of an inputted string. Is there a function for this? If not, what ways can I get a string's length in D?
(more)
almost 3 years ago
Question BMPL: The language I'll bring to life
Last year, I started working on a language I named SuperCode but then decided BMPL (Builder's Multi-Purpose Language) as the final name. The language would be written using C and up until now, the GitHub repo only consists of a library of functions. I decided to bring up the language onto Codidact...
(more)
almost 3 years ago
Answer A: Why use an asterisk after a type?
The `` for variables and not mathematical operators are the pointers. Assigning a pointer goes this way: ```c char text; // string ``` Here, we assign a pointer named `text` and its type is a `char`, but alternatively, this is a string. As for your question, `int ptr` is basically the sam...
(more)
almost 3 years ago
Question Input taking only first character of a string
I wrote a program named `Kernel.c` 2 months into my life in programming and created 4 functions at the time, and now there are 7 functions. Recently, I updated the program completely onto an online compiler so anyone can use it not just on a university's coding sandbox (where I wrote it in the fir...
(more)
almost 3 years ago
Question Where did my proper divisor sum program went wrong?
Here in Python, I created a program for this challenge and I'm having trouble debugging it. I already fixed most errors I have on my program but here's what I have left: ```python x=y=z=[];i=0.0;a=int(input());b=0 for c in range(1,a+1): for d in range(1,a): i+=1 if a/c==i and c!=a:b+=c ...
(more)
almost 3 years ago