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
Edit Post #286904 Initial revision almost 2 years ago
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)
almost 2 years ago
Comment Post #286183 @#53305 I got the right combinator, but nothing happened. ```css .detect:hover + .ani-square { animation-play-state: running; } ```
(more)
about 2 years ago
Edit Post #286183 Post edited:
about 2 years ago
Comment Post #286183 @#53305 I'm starting to give up on these combinators. Any advice?
(more)
about 2 years ago
Comment Post #286183 > closing the button element with `</div>` Oh wait. OMEGALUL
(more)
about 2 years ago
Comment Post #286183 @#53305 I think I have something. ```html <body> <div class="ani-square"></div> <button class="detect">Move</div> </body> ``` ```css .detect { background-color: red; font-size: 25px; position: relative; top: 80px; left: -5px; } .detect:hover ~ .ani-square { a...
(more)
about 2 years ago
Edit Post #286183 Post edited:
about 2 years ago
Edit Post #286183 Initial revision about 2 years 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
Comment Post #284964 Problem with removing `align="left"` is that the text doesn't go to the top, yup. Good answer though!
(more)
over 2 years ago
Edit Post #284961 Initial revision over 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
Comment Post #284355 @#53078 Oh no, object-oriented programming my interpreter has been discontinued a few times already. I don't want to go through the trouble of importing code from open-source interpreters then not knowing how to properly work with them. This is why I started making an interpreter from scratch, so as ...
(more)
over 2 years ago
Comment Post #284355 @#36356 Yep, and I don't see why you see it as a nightmare. :/
(more)
over 2 years ago
Comment Post #284355 @#53305 That's a ton of text I have to decrypt then. Thanks for the advice, I'll see what I can do.
(more)
over 2 years ago
Edit Post #284355 Initial revision 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
Edit Post #284103 Initial revision almost 3 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)
almost 3 years ago
Comment Post #284092 Thanks. Was able to finally make an [answer](https://codegolf.codidact.com/posts/283966/284091#answer-284091).
(more)
almost 3 years ago
Edit Post #284089 Initial revision almost 3 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)
almost 3 years ago
Edit Post #283861 Initial revision almost 3 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)
almost 3 years ago
Edit Post #283797 Post undeleted almost 3 years ago
Edit Post #283797 Post deleted almost 3 years ago
Comment Post #283797 @#53305 How do I approach such tasks? I observe what's going on and try to represent it, and if I can't figure out how to properly make it, I look for some advice. The documentation's might help.
(more)
almost 3 years ago
Edit Post #283797 Post edited:
almost 3 years ago
Edit Post #283797 Post edited:
almost 3 years ago
Edit Post #283797 Post edited:
almost 3 years ago
Edit Post #283797 Initial revision almost 3 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)
almost 3 years ago
Comment Post #283001 @#8046 Don't know exactly, but it might have something to do with being `char[]` rather than `string`. You can read the TutorialsPoint link if it might help.
(more)
almost 3 years ago
Edit Post #283001 Initial revision almost 3 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
Edit Post #283000 Initial revision 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
Comment Post #282567 @#8176 Meh, that's how I'd code it, wherein `char` is different from `int` when I figure out how to properly create a compiler using C, or maybe Python if I know more about it.
(more)
almost 3 years ago
Comment Post #282567 This won't be a library for long.
(more)
almost 3 years ago
Comment Post #282567 When I'm thinking of making the language at first, if it actually exists, I thought of a program like this: ``` use gen-purp func main() { char c = 'A'; say(make_int(c)); } ``` This may look like recreating, I don't care. The point I'm trying to make here is that moving variables ...
(more)
almost 3 years ago
Comment Post #282567 Let's get to another big point, the encasing. I will need huge amounts of help trying to make functions without the help of other functions that already exist within the C libraries. That's why I assigned `all.h` in the repo for now as something I can rely on before I start with making functions that...
(more)
almost 3 years ago
Comment Post #282567 I'm also making sure that my functions will start to work properly soon so that when it's time I start making a compiler, all of my functions are ready to go. With all of these things about recreating, yes, I'm kind of doing it in the case of functions, but I need to settle on them first before I cou...
(more)
almost 3 years ago
Comment Post #282567 So after re-reading and fixing the repo, I realized you mentioned that I shouldn't be recreating C. Well, it actually looks like I am, not gonna lie, but for starting, I'm building most, if not all, of C's functions then soon, I can start creating original functions for my language, hell, even with t...
(more)
almost 3 years ago
Comment Post #282567 Can I add the now-existing headers (ones like `stdio.h`) onto `something.c`?
(more)
almost 3 years ago
Comment Post #282559 @#8176 You can access the header files via `#include "Library/something.h"`, something I learned when I was making the language.
(more)
almost 3 years ago
Comment Post #282567 This answer put me into a "wet blanket". Yep, I peed my pants reading what I should be fixing. I'll get to work on fixing these.
(more)
almost 3 years ago
Edit Post #282559 Initial revision 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
Comment Post #282487 I use C99, a version of C. `char *` in itself isn't a string but somewhat acts like one when something is initialized in it and maybe even inputted. `string` is not a thing in C.
(more)
almost 3 years ago