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 |
---|---|---|---|---|
Comment | Post #292139 |
For fear of self-promotion from the post itself, here's my site in a comment:
https://sebazcanhernandes.github.io
Just shows the example of making the footers. (more) |
— | 4 months ago |
Edit | Post #292139 | Initial revision | — | 4 months ago |
Question | — |
Reusing HTML without rewriting it I have a site hosted through GitHub and I'm using footers for special links and it also serves as my main navigation bar for now. I find it a little frustrating to manually copy-paste the footer's contents and I could end up having footers different from one site to another with me missing a page or ... (more) |
— | 4 months ago |
Edit | Post #286904 | Initial revision | — | about 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) |
— | about 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) |
— | over 2 years ago |
Edit | Post #286183 |
Post edited: |
— | over 2 years ago |
Comment | Post #286183 |
@#53305 I'm starting to give up on these combinators. Any advice? (more) |
— | over 2 years ago |
Comment | Post #286183 |
> closing the button element with `</div>`
Oh wait. OMEGALUL (more) |
— | over 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) |
— | over 2 years ago |
Edit | Post #286183 |
Post edited: |
— | over 2 years ago |
Edit | Post #286183 | Initial revision | — | over 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) |
— | over 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) |
— | almost 3 years ago |
Edit | Post #284961 | Initial revision | — | almost 3 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) |
— | almost 3 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) |
— | about 3 years ago |
Comment | Post #284355 |
@#36356 Yep, and I don't see why you see it as a nightmare. :/ (more) |
— | about 3 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) |
— | about 3 years ago |
Edit | Post #284355 | Initial revision | — | about 3 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) |
— | about 3 years ago |
Edit | Post #284103 | Initial revision | — | about 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) |
— | about 3 years ago |
Comment | Post #284092 |
Thanks. Was able to finally make an [answer](https://codegolf.codidact.com/posts/283966/284091#answer-284091). (more) |
— | about 3 years ago |
Edit | Post #284089 | Initial revision | — | about 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) |
— | about 3 years ago |
Edit | Post #283861 | Initial revision | — | about 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) |
— | about 3 years ago |
Edit | Post #283797 | Post undeleted | — | about 3 years ago |
Edit | Post #283797 | Post deleted | — | about 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) |
— | about 3 years ago |
Edit | Post #283797 |
Post edited: |
— | about 3 years ago |
Edit | Post #283797 |
Post edited: |
— | about 3 years ago |
Edit | Post #283797 |
Post edited: |
— | about 3 years ago |
Edit | Post #283797 | Initial revision | — | about 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) |
— | about 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) |
— | over 3 years ago |
Edit | Post #283001 | Initial revision | — | over 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;   void main(string[] args) {  	string greeting1 = "Good"; 	writefln("Length of string greeting... (more) |
— | over 3 years ago |
Edit | Post #283000 | Initial revision | — | over 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) |
— | over 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) |
— | over 3 years ago |
Comment | Post #282567 |
This won't be a library for long. (more) |
— | over 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) |
— | over 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) |
— | over 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) |
— | over 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) |
— | over 3 years ago |
Comment | Post #282567 |
Can I add the now-existing headers (ones like `stdio.h`) onto `something.c`? (more) |
— | over 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) |
— | over 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) |
— | over 3 years ago |