So there is a discord server for the codeblr community founded by the amazing @vexacarnivorous but since they are on a break I am the current server owner (was part of the mod team along with my dudes @codemerything and @xtekker)
So I'm going to take this opportunity to promote the server! We've been alive for about 2.5 years and it's a really frickin friendly community with so many amazing people who are ready to help with any questions without any judgement. And we also have a blast talking about a bunch of nonsense and shitting on genAI and other really cool stuff :3
I really love this community so much, and I am always open to the codeblr family growing and thriving and having a place to express their interests without being shamed by the big dudebros in tech who think vibe coding is an innovation of mankind (bleugh)
If you're a compsci guy with no place to yap about the knowledge that you have, OR if you're just starting out in your compsci journey and have no clue on what to do, and just need a community so you don't feel so isolated in your learning journey (bc trust me, I did — and that feeling is not great) join us here!!
[dm if link has expired]
Talk with other members of the coding community from Tumblr. | 179 members
the last song you sang aloud: “last time (i seen the sun)” from sinners, i think ? but i sing aloud so much that another song might have snuck in 😭
your favourite crisp flavor: salt & vinegar !!! it’s gotta be. 😤
the last book you opened: Persuasion by Austen; i’m at the very end once again !!
earbuds, headphones, or nothing:
headphones, for sure
the last place you went, other than home: my best friend’s graduation party !! & before that, the uni library heheh 🙈
a color that looks good on you: grey ! especially warm greys. light blues also look pretty good.
the last trailer you saw: mmmm, it might not have been the last one, but the one my friends and i talked about most recently is for the movie Him (the horror movie about a football player?)
tagging: @bone-dyke , @notesbyash , @coffeemrk , @academicfever & anyone else who’d like to join ! 🩵
the last song you sang aloud: The Rose (더로즈) – Cure
your favourite crisp flavor: it changes a LOT.. rn its bbq
the last book you opened: LOTR trilogy
earbuds, headphones, or nothing: headphones duh
the last place you went, other than home: my lab aka batcave
a color that looks good on you: I look good in everything darling!
the last trailer you saw: Mountainhead | Official Trailer | Max - YouTube bunch of billionaires in a house ... rooting for all of them to die in the end... can't wait!!
tagging: @dearlyjess @rakelrambles @stargazerbibi& anyone else who’d like to join ! 🩵
the last song you sang out loud: the Mickey Mouse Club House intro LMAO, bc I was explaining to my sister how the portuguese dub is better than the og song
your favourite crisp flavour: plain, im so picky with flavours 😭but also nothing beats good old plain crisps
the last book you opened: Less, by Andrew Sean Greer, my cr
earbuds, headphones, or nothing: earbuds usually, but it's honestly whatever is closest to me ahah
the last place you went, other than home: uni lol
a colour that looks good on you: hmm no idea, maybe purple? or black
the last trailer you saw: "sisterhood of the travelling pants" lol, was in the mood for a 2000' classic, but I wasn't sure if this one was the right vibe
the last song you sang out loud: youtiful by stray kids
your favourite crisp flavour: salted all the way babyyyyy
the last book you opened: uhhhh it's been so long since I read a physical book 😭 but I guess it would be Into the Water by [I keep forgetting the author name but it's the same as girl on the train]
earbuds, headphones, or nothing: headphones!!! I love my noise cancelling headphones they make life so much better
the last place you went, other than home: uni XD but if we're talking about a proper trip them maybe my hometown
a colour that looks good on you: black (i don't think so but @studaxy says I look good in black so I shall trust their opinion lol)
the last trailer you saw: the trailer/teaser for Thani Oruvan 2, I'm so hyped for it!! (Where my Kollywood buddies at)
the last song you sang out loud: brave new world by kalandra
your favourite crisp flavour: salt & vinegar is so good y'all
the last book you opened: does it have to be a physical book? if so, it was "the wee free men" by terry pratchett, but i'm currently listening to "the silmarillion" on audiobook
earbuds, headphones, or nothing: earbuds out in public, nothing at home
the last place you went, other than home: went out to the pharmacy this morning for a prescription 😅 but we got some fish and chips while we were out
a colour that looks good on you: also black
the last trailer you saw: it was for the game announcement yesterday for "truth scrapper" actually - i was curious what else the maker of isat was going to put out. my last movie trailer was for "final destination bloodlines"
tagging: anyone who sees this, but especially my mutuals!
how i do my visual novel filtered photo backgrouds
ive had some questions about this so i figured i'd put together a quick post on my process and what goes into it.
this isnt really a tutorial and instead is just a ramble of how i do stuff with a ton of examples and pictures lol
read more below. this is a long post and you probably want to be looking at these images on your computer instead of your phone
step one is that i find CC0 photos or otherwise easy licenses to use because I'm lazy and don't want to have a list of credits of random photographers caue i used one of their images but also i don't want to use stuff without crediting
because they have a general lincese that just wants you to mention the site i prefer unsplash or pixabay but there's other public domain type photo sites too obviously
so like okay heres a random picture
i have a photoshop CS5 from 10 years ago. but these can be done with gimp or krita and whatever. theres even photopea that has photoshop in the browser
basic stuff is that i start by cropping my bg into my renpy resolution (i use 1920x1080) this is also the part where sometimes i might rotate a bg. it is a good way to add some chaos vibes to a scene
i tend to add some mild blur effect since i find that having too sharp photos as backgrounds clashes with the artstyle of my sprites. like just a couple pixels worth of blur tends to do it
the next part is called fuck around and find out
i like to play with the values to just get random results. hue/saturation for tinting the picture, messing with the curves to get some really sharp effects, or channel mixer to add more of a color
this part is just purely vibes based but i personally think reducing the colors of the background is the simplest way to create something that feels coherent. especially if you make backgrounds based on moods. like having a blue tinted bedroom vs a red tinted one really changes the atmosphere
you can get some pretty intense effects but its always important to remember that its meant to be a background and there's a risk it distracts from the sprites
in this case im not including the effect for the curves. after the colours look fine the final step i tend to have is apply some sort of effect.
i really like changing the colour mode to indexed colour since i like crunchy pixels. (had to zoom in to 100% to show the actual effect) downside of indexed is that it doesn't look ideal unless its displayed in the exact resolution it was made in but i like it
here is the images before indexed mode:
after indexed mode(i think you have to click the image and open it in full to see the actual effect):
another thing ive been playing with recently has been grain+chromatic aberration combo. it makes things feel surprisingly lively with just this simple thing so you'll probably see me overusing this effect in the future
you have to mess with the numbers to get the effect you want but for me these were the parameters I've been using
ignore the preview missing idk why it does that.
heres the image (the non indexed version) after these krita effects
one random special mention i have is that playing with layer blend modes is great
in this example i just copied the same background, mirrored it horizontally and set the layer blend mode to color and it lowered the layer opacity slightly. it just adds some.... idk what to call it visual noise? itj just fucks it up a bit. i used overlapping images and screen modes in some of the hopeless junction images i did for some pretty nice effects
i dont really know waht the blend modes do i just scroll until something looks good lmao
theres a ton you can do with these. like for example just adding a single air brush dot of a bright color on a separate layer and setting it to some blend mode to add a tint to a background
i used these both in malmaid and in the second one i just brushed on some color on a separate layer to give it a moodier vibe
i think having variations of the same background is an extremely easy way to add some life to the bgs without having to do new stuff. like here was the hotel lobby when entering, and here is the hotel lobby when they ran away from the place. i added a radial blur with photoshop
i think theres some beaty in artifacts that come from low resolution images too. sometimes i intentionally use images that have clear compression artifacts cause i think it looks neat. i don't really worry about the details too much as the vibe is the most important thing
its honestly just a matter of knowing these tools exist and just fidgeting around with combinations to find what you want. it also helps to look at other backgrounds or images in general that you come across and just be curious. how was this done? how could i recreate it? that's the type of experimenting that has led me to these.
idk thats all i have to say. ty for reading and play malmaid on steam like and subscribe for more gay puppies
There's an EU initiative going on right now that essentially boils down to wanting to force videogame publishers with paid games and/or games with paid elements such as DLC, expansions and microtransactions to leave said games in a playable state after they end support, or in simpler terms, make them stop killing games.
A "playable state" would be something like an offline mode for previously always online titles, or the ability for people to host their own servers where reasonably possible just to name some examples.
I don't think I need to tell anyone that having something you paid for being taken from you is bad, which is a thing that routinely happens with live service and other always online games with a notable recent example being The Crew which is now permanently unplayable.
Any EU citizen is eligible to sign the initiative, but only once and if you mess up that's it. You can find it here. (https://citizens-initiative.europa.eu/initiatives/details/2024/000007_en)
Even if you're not European or you signed it already, you can share this initiative with anyone who is, even if they don't care about videogames specifically because this needs a million signatures and there is different thresholds that need to be met for each EU country for their votes to even count and could also be a precedent for other similar practices like when Sony removed a bunch of Discovery TV content people paid for.
its lowkey very alpha when u ask questions when u dont understand something like people srsly respect it it isn’t an embarrassing thing at all its like excuse meeeeee what does that mean and people are like omg u r alert like u r discerning watching what’s going on
I was talking about this with a junior engineer on my team, and told her that asking "stupid questions" was really powerful, up to a point. She told me that as a young woman in a room that was usually full of older men, she didn't have the reputational cred to burn -- every question she asks that isn't watertight costs her social credibility, and pads a soft meaningless "she's not technical enough" in a future performance evaluation.
So dudes, especially older dudes: this means you have to ask stupid questions more, especially on behalf of the junior and less-male engineers in the room. And if a junior engineer does get out over her skis and asks something fairly naive, don't be afraid to chime in and amplify the question - "Yes, can you tell us more about that - I'm sorry, just refresh us on the basics so we're all on the same page. Thanks, Liz."
Hello to each and every reader, and hello to future me!
I remember studying the tiniest amount of other programming languages, and then burning out really fast and forgetting all of the material, so now I'm making an effort to revise what I'm learning, which is great timing because the next step on the android course thingy is practicing with compose!
But in regards to actual progress, I didn't manage to do much today.
I got a bit stuck doing the practices, but before I look at the solution code, I'll give it another shot tomorrow once I'm well rested.
I'm starting to think that if I keep making such small steps forward, there's no chance I'll have anything functional in a month or so. But, I keep reminding myself that I signed up for the app development contest as an excuse to learn something I otherwise wouldn't. So, if I don't meet the deadline, I'll just ignore it and continue learning at my own pace.
Here is a trick!
Code should be self documenting. So make it! :D
20% of my C++ language is in my notes. The rest is here:
They are created on Godbolt.org and can be oppened and read in on it too, or any other IDE:
Written by me, for me.
And when it runs it tells me what is happening and why!
And everytime I need a concept I go back and figure it out from these.
Sometimes my notes are not good enough and I still cannot remember or use the knowledge.
Then I improve my notes!
So they get smoother over time! :D
That way I can retain infinite knowledge! :D
Yes!
But!
It is important to think about what you want the code to say, and who you want to say it to.
That is also why doing it for yourself, even for language stuff is a good idea. Because communicating with yourself is a version of it that is easier that communicating with a developer that you will never meet who sees your code after 15 years.
So start with the easy version where you can notice both how you write the things down, and how you understand them when you come back to them later.
And then start doing it in projects in general.
Once you start writing with code instead of writing code you get this... dizzy feeling as you realize that programming languages are just details for the spell that links you with a machine so you may whisper a soul into its metal frame.
Its a neat way to think about code is my point :p
Any Australian students out there who might read this and are disappointed by your ATAR results: I get it, it sucks to work hard and feel like the number doesn't reflect that.
But please keep in mind these numbers do not matter. I did not even finish high school and was able to gain entry into one of the best universities in the country.
If your ATAR is too low for the specific course at a specific university, then do not sweat it. You can apply for a class at the same university with a lower ATAR requirement or apply to the same course at a different uni with a lower ATAR. Then, after a semester, you just apply to transfer unis (slightly harder) or transfer into the degree you want at the same university (easy mode, though, both are easy). If you do a complementary class to your degree you can get Recognition of Prior Learning, or if your course has any electives then you can get RPL for that too, so it is not like you are generally wasting a semester or money, you will be on the same financial and time track as everyone else.
I was assured about this many years ago and it is so true. Once you are IN the uni system it all becomes so easy, ATAR fades away, the score has no power over you. You can do whatever you wanted to do at whatever school in this country, there is not a barricade from that if you didn't get the ATAR to get into the class or school, that is just not really how our system works.
Breathe, enjoy your fucking holidays, relax. It is going to be fine, it is going to be easy, you are going to have an enjoyable uni experience if that is what you want. I promise nothing is compromised.
isometric game worlds are so nice to look at and arguably convey depth better than plain oblique projection but the problem is that control schemes tend to not much care for diagonals. on a platform that just has arrow keys or WASD your player is gonna be holding at least 2 movement buttons anytime they walk down a corridor
anti-DPI programs can handle Discord
here's Goodbye DPI w/ GUI
here's ByeDPI, possibly nicest solution for Android
other variants can be found here
regarding VPNs - Windscribe is still the real one, w/ non-standard protocols and special "hostile network" switch, one problem though - limited traffic, so you most likely have to juggle it w/ some noname VPN apps or proxy add-ons
note that it's illegal in Russia to talk about blocks circumvention, so if you don't live in Russia, please share this post, so your followers, who live there could see it and use it
I started using vim for everything apart from critical config files (just in case !!) once I had this list (except :q instead of ZZ) down, and hjkl bc idk i like them. then figured more of it out as i went.
relevant commands to add to this list:
ESC -- return from insert to normal mode (also visual (select) to normal)
:w -- save file
n -- next search result
N -- previous search result
real talk, the two things making vim hard for people are the idea of modes and the minimal UX. in some cases i'd call it outright bad UX (i always have a plugin that will flash/highlight the text i just copied, bc that's just not a feature default (n)vim has).
nano has its most common keybinds permanently present at the bottom of the window which is super helpful for people who forget shortcuts easily or are used to a nice GUI or whatever.
anyway, vim's advanced features present a steep learning curve, and coming from a GUI i would recommend using an editor like nano first to get comfy w/ TUI editors, but to use the basic features of vim ain't so hard. and you can select w/ you mouse if you wanna !!
SOMEONE scavenged the SD card from my Raspberry pie 1 ( Most likely... me ) so going to pick up a new one of those. They are cheap though.
In the meantime, I will start data collection... can I just run the RGB LEDs straight from the Raspberry Pie's pins or do I have to get clever about it...
Also how many pins with how many different functionalities do I have here...
Data data, I cannot make bricks without clay
coding got me saying shit like “target the child” “assign its class” “override its inheritance” like the third wife of a dying oil baron discovering his of-age son born out of wedlock
on the one hand, codeblr is full of productivity motivation posts and cute bulleted notetaking. and it's cool to see people learning! one of the things i love about programming is that anyone can learn it, there's a much lower barrier to entry than many other stem fields where you need to go to grad school or something to become proficient.
but what i want is like. unhinged system programmers making bootloaders that print "die" and then brick your computer. i want posts written by a transfem in cat ears who hasn't showered in weeks about how they found a bug in opengl that renders pyramids inside out and how they used it to see inside laura croft's triangle titties. i want to see bespoke operating systems written for nokia brick phones that run doom. where is that side of codeblr
Do you want to turn some HTML code you've made that's on your website and have a way to convert it into an image for you to save?
Well, look no further! I too wanted to do the same thing but funny enough, there weren't any straightforward tutorials out there that could show you how! After hours of searching, I finally discovered the solution~!
This is an old tutorial I made 🐼
💛 Set your environment
Before we dive into the conversion process, I'll assume you already have your HTML code ready. What you want to learn is how to turn it into an image file. You should have a good grasp of HTML and JavaScript. For this tutorial, we'll use the following HTML code example:
We won't include the CSS code, as it doesn't affect this tutorial. The JavaScript file (script.js) at the bottom of the body element is where we'll add the functionality for the conversion.
Your page should resemble the following:
As you can see, the "Click me" button will handle the conversion. We aim to convert everything within the div.info-div into an image.
💛 Using the html2canvas JavaScript Library
The html2canvas library allows you to take screenshots of webpages and target specific elements on a screen. Here are the steps to include the library in your project:
The steps to put the library in your project:
Visit the html2canvas website for more information.
Copy the CDN link from here
and include it in a script tag in your project's head tag in the HTML file:
That's it for including the library on the HTML side. Now, let's move on to the JavaScript code.
💛 JavaScript Functionality
Here's the JavaScript code to handle the conversion:
In this code, I want to turn the whole div.info-div into an image, I put it into a variable in const div = document.querySelector(".info-div");.
I also put the button into a variable in const button = document.querySelector("button");
I added a click event listener to the button so when the user clicks the button, it will follow the code inside of the event listener!
You can find similar code like this in the documentation of the html2canvas library:
What is happening here is:
We add the div (or what the element we want to take an image of) into the html2canvas([element]).then((canvas)
Added the image file type url to a variable = const imageDataURL = canvas.toDataURL("image/png"); - You can replace the png to other image file types such as jpg, jpeg etc
Created an anchor/link tag, added the href attribute to imageDataURL
The download attribute is where we will give the default name to the image file, I added "dog.png"
Perform the click() function to the anchor tag so it starts to download the image we created
And that's it!
💛 The End
And that's it! You've successfully learned how to turn your HTML into an image. It's a great way to save and share your web content in a unique format.
If you have any questions or need further clarification, please comfortable to ask. Enjoy converting your HTML into images! 💖🐼
codeblr sideblog @vexacarnivorous - Tumblr Blog | Tumgag