@claras_universe@ieji.de
@claras_universe@ieji.de avatar

claras_universe

@claras_universe@ieji.de

🏳️‍🌈 21yo ★ she/her 💫 Germany ✨webdev in training who studies cs and loves space, gaming, coding and learning japanese :3

This profile is from a federated server and may be incomplete. Browse more on the original instance.

claras_universe, to github
@claras_universe@ieji.de avatar

Im still onto my streak. Its 132 days now. There is no going back, I have to fill the whole thing xD

claras_universe, to chess
@claras_universe@ieji.de avatar

I did the first board render with my chess engine :o I'm really happy with how it turned out. And it also shows that the white kingside castling worked xD (Assets from itch.io)

claras_universe, to rust
@claras_universe@ieji.de avatar

I am now working on my own chess API and it’s actually pretty fun. I learned that using bitboards is apparently very efficient. So I now use 8 64bit bitboards, 2 for the color and 6 for the pieces (I thought about just using 7 because you COULD theoretically represent the colors in one bitboard, but using 2 makes it faster at the expense of an extra 64 bit, which is neglegible). Gonna continue on this in the upcoming days :3

claras_universe, to rust
@claras_universe@ieji.de avatar

Why is it so fun to create APIs? Something about it is so oddly satisfying, the image down below is part of my API documentation and its just pure dopamine to look at xD I could do this kind of stuff forever… #api #rustlang #axum #programming #technology #coding #dev #development

claras_universe,
@claras_universe@ieji.de avatar

@martijn Im also always happy to get API tasks at work xd is fun even if it's PHP

claras_universe,
@claras_universe@ieji.de avatar

@martijn true, it's not one of my favorite languages, still alright though XD

claras_universe, to python
@claras_universe@ieji.de avatar

Instead of requesting new YouTube videos from a channel by searching the channel for videos sorted by date, I retrieve the "uploads" playlist id and THEN get the newest video in that playlist. The first approach ate 101 Google API quota, the new approach only 3, with the same result xD I increased the amount of API requests I can do by 3000% by choosing a slightly different approach c: (It's for my discord bot)

claras_universe,
@claras_universe@ieji.de avatar

@martijn you can get the uploads playlist id when you query channels list with part "contentDetails", it should then be in items[0]->contentDetails->relatedPlaylists->uploads

Then you can just query playlistItems list with the upload playlist id and part "snippet" the get the latest videos, I limit them to 1 with maxResults=1

I only fetch all upload playlist IDs on startup (they shouldn't change though) and then querying for the newest videos is just 1 quota per channel c:

claras_universe, to ComputerScience
@claras_universe@ieji.de avatar

Somehow our uni printing backend turned my 6MB PDF into 10 GIGABYTES... How? I have no idea. I had my worst printing experience today and got home with only 80% of what I wanted to print out 💀 It works normally but today (after giving up on uploading and using a USB stick) I had my funds run out mid-printing, then after that had the color run out mid-printing and after that it said I have no funds even though I charged my account again!

claras_universe,
@claras_universe@ieji.de avatar

@martijn I have no idea xd But it was just 6MB! How do they turn it into 10GB in the online system and send it to the printer! xD

claras_universe, to python
@claras_universe@ieji.de avatar

Im now fetching 50 random “Astronomy Picture of the Day" entries, cache them and then output them as a neat embed when /astronomy is called c: Its pretty fun and my first real custom use of an API. Pretty exciting!

claras_universe, to python
@claras_universe@ieji.de avatar

Wrote my own abstract API controller and decorator for rate limiting today and used it to communicate with opentdb.com (a quiz API), pretty fun stuff :o It's the first time Im properly trying to implement robust handling of however many APIs I wanna integrate in my discord bot.

claras_universe, to IT
@claras_universe@ieji.de avatar

I'm too scared to ask for a raise... I don't even know if it's valid to ask for a raise. Working there since like 1½ years as a working student (WERKSTUDENT in german) and all the starting offers I see from other ppl who would want to get IT students are like 25% higher than what I'm earning rn. When the hell is it valid to ask? xD

claras_universe,
@claras_universe@ieji.de avatar

@martijn well I brought it up but not in the context of a raise xd I asked to work a little more

claras_universe,
@claras_universe@ieji.de avatar

@martijn well yeah its alright for now but I rly wanna ask soon

claras_universe, to Futurology
@claras_universe@ieji.de avatar

When you're only around smart and open-minded ppl in uni and get back into the internet it sometimes feels like a full-blown cultural shock xD Ik it's the internet... But still sad there's people still thinking like that.

claras_universe, to python
@claras_universe@ieji.de avatar

I'm now determining if a randomly generated atmosphere is breathable or not c: And I found out that it's very unforgiving... A lot of things have to be right for an atmosphere to be breathable, and there's SO MANY TOXIC GASES (my search history is messed up now). I'll prolly have to make the generator less realistic to favor gameplay :o

image/png
image/png

claras_universe, to vscode
@claras_universe@ieji.de avatar

Obsessed with the new VSC theme I found thanks to @martijn hehe (Its Cattpuccin Mocha!). Especially loving the lil icons it adds to some folders, super cute x-x

claras_universe,
@claras_universe@ieji.de avatar

@martijn owww, I love the italics c: Gotta try those themes out in other places :o

martijn, to random
@martijn@ieji.de avatar

Added custom css to @forgejo to load Monaspace Neon as a font on @catppuccin Frappe Green <3 great combination. But I must only patch my avatar to have better visibility :)

claras_universe,
@claras_universe@ieji.de avatar

@martijn thanks, just found a new theme for VSC XD (Mocha)

claras_universe, to random
@claras_universe@ieji.de avatar

You sometimes have the urge to turn into a wolf and awoo at the full moon to assert dominance over the whole forest?

claras_universe, to python
@claras_universe@ieji.de avatar

I generated my first atmosphere! xD Its not fleshed out yet, there are still molecules missing and it doesnt check yet if the molecules are gaseous at the planets temperature (thats why there can be large amounts of water vapor on an ice planet). But it does take into account the escape velocity and average speed of molecules at the planets temperature and if they would be able to escape (and therefore unable to appear in the atmosphere) c:

claras_universe,
@claras_universe@ieji.de avatar

Ill probably also have to tweak the random generation values too, not really sure how I could do that yet... Are there statistics on which molecules are more likely to be in an atmosphere? Like its kinda obvious that hydrogen is the most common element, but it doesnt seem to be that common in atmospheres of rocky planets for example…

claras_universe, to python
@claras_universe@ieji.de avatar

Currently working on random generation of atmospheres. I will define a bunch of molecules with weights determining how common they are and how concentrated they can be. I will have to look into factors that determine when a planet can hold an atmosphere, and maybe some weird interactions between molecules (like hydrogen being flammable and stuff, but that's for later)... Little abstract of a test down below, I love the level of abstraction c:

claras_universe,
@claras_universe@ieji.de avatar

@nyrath ooooh that's a nice approach, thanks! Is that an actual thing or just a neat simplification? I guess there's a lot of factors that define what kinda atmosphere (if any) a planet can hold, stuff like solar activity

claras_universe,
@claras_universe@ieji.de avatar

@nyrath thanks a lot!! c: It makes sense though, the heavier the molecule the more energy it needs to reach escape velocity

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • cisconetworking
  • DreamBathrooms
  • mdbf
  • tacticalgear
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • InstantRegret
  • Youngstown
  • slotface
  • everett
  • kavyap
  • cubers
  • JUstTest
  • Durango
  • ethstaker
  • GTA5RPClips
  • osvaldo12
  • khanakhh
  • rosin
  • normalnudes
  • tester
  • megavids
  • Leos
  • modclub
  • anitta
  • lostlight
  • All magazines