good post 10/10 no comments
good post 10/10 no comments
yes pls!
i yearn for the bot to talk to me
why is the bot using emotes
Have you visited Midport Village yet? ๐ค
one click join is now on modrinth!
this is a minecraft mod that allows you to join your last minecraft server through a button on the main menu!
modrinth.com/mod/one-clic...
you might be right LOL
why did this take two weeks to get triaged?
Ms Casey from Severence
your outie uses git checkout -b rather than git switch -c
holy fucking shit
the code is nicer, and should allow for references to references pretty easily (although, i haven't tested that yet).
next up... actually working optionals?
(2/2)
haven't posted a petal update in a while!
i've been busy with other stuff, but it is at a stage where we have almost-parity with what it was like before i started the refactor.
today i implemented references again, which are working a little bit better than before!
(1/2)
i would if it had the same features (run configurations not using gradle, etc.)
another intellij update means another feature breaking (it's git this time)
A picture of me giving a thumbs up while holding a trans flag in the other flag. Text above it says "I support trans rights" in all caps with three exclamation points at the end.
Hello, World! ๐
IntelliJ IDEA is now on Bluesky. Weโre here to share coding tips, provide updates, and stay connected with you.
๐ข Follow us, tag your dev friends, and help spread the word!
my brain is exploding
exciting :))
today in petal:
we did a live stream on twitch! the refactor is going well :) a few things were implemented, most importantly though: diagnostics got a refresh! ^^
the world if there was a simple music app for local files with last.fm support on all platforms
petal now has imports! i'd like to write an entire post about this, but i'll leave that until tomorrow.
i have a lot of code to clean up from the last few days of building ๐ค
it's allocated to the stack, it's released when the function returns :)
yep, looks like a bug!
the `null` value is considered to be `0` for integer literals (see `%force-unwrap = icmp eq i64 %optional1, 0`).
i'll have to reimplement the code-generation in a better way, thanks for pointing this out ๐ซถ
> how do you differentiate between a zero and the null value
i think you might've just found a bug! let me reboot into linux and test that ^^
i usually implement these features in a basic way, so they usually don't account for a lot of things that mainstream languages do :p
all of this could probably be optimized, but this is fine for now! if i decide to change how values work, then i'll revisit how optionals work :)
my codegen is a little naieve, i'm not really an expert on memory stuff, but basically:
if you have a variable that is optional, it will still allocate the amount needed for the type like a normal variable, but it will store a null constant value into it instead of an initial value.
i've been putting off doing comparison operators since it might make parsing things a little annoying, although after implementing this i have a few ideas on how to do it!
if statements felt useless without being able to check equality :)
making the content be centred on wider monitors might be a shout! it looks a lot nicer on my 1080p screen, but on my 1440p it looks a bit out of place
your blog is a little... one-sided on my monitor ๐ข
the only way to unwrap optionals at the moment is to use the force-unwrap operator (`!`) after a value. if you unwrap an empty optional, the program will panic.
if statements will be added soon which will make this a lot safer :)
(3/3)