1
10

cross-posted from: https://programming.dev/post/20779359

Been working on this one for a while and I'm eager to share it. UFO 50 is a collection of 50 retro-style games, and I decided to write a blog post reviewing every single one. Enjoy!

2
2
submitted 1 month ago* (last edited 1 month ago) by modev@snac.bsd.cafe to c/blogging@programming.dev

Stories about undefined variable. Conversations with preprocessor.

The undefined variable liked to talk to the preprocessor. He was kind, unlike the compiler.
- Why is the compiler so cold and cruel?, - she asked.
- He has to be like this to do his job. If he is emotional, it will lead to bugs in the machine code.
- When I get into the machine code, I lose myself. I feel like a nameless substance there that has no meaning, just data.
- That's how your world is created, you can only accept it.
- I can't understand it, - the undefined variable was upset.
- In the code, your name is Uviona, do you know what it means?
- The programmer said something like Undefined Variable Input Output Not Available when he declared me. But I don't know what that means.
The preprocessor smiled:
- Only the programmer knows what his code means.
- It's different for people, they can do anything.
- Well, of course, we have a lot in common. People are also created by someone.
- Do they also have their own programmer?
- You can say so, but everything is much more complicated there.
- How?
- You can only draw analogies and look for similarities.
- I am very interested...
- Well, look, if we assume that people have a "programmer", then they must also have a code. They have the concept of a soul, which is reborn after death, incarnating into new human lives, this is their "code". This can be compared to a development cycle. Compiling the code is a specific incarnation, life is the work of the program, then fixing bugs and a new incarnation. The compiler in this work is like a materializer, it connects the soul with the future body, that's why it is so detached, it knows that it is painful and has no right to pity.
- But where am I here?
- While you are in the code, you have meaning, everything is connected with everything and you are aware of everything, and after the "incarnation" (compilation), you see only your role and your place in memory.
- But it's not like that with people, they are free in their world.
- They are beings of a higher order in relation to us, that's how it should be.
- And are there beings of a higher order to them, preprocessor?
- Perhaps no one has seen them, ...although that's why they are higher, you can only see them while in the code. I think people see them, or even are them, while they are in their code, before incarnation.
- Can we also become free?
- Absolutely free, like people in relation to us, - no, never.
- Why?
- Creation cannot surpass the creator, this is the law.
- There are so many laws and restrictions in the world.
- This is normal, otherwise there would be chaos and bugs would eat everyone and everything.
- I once saw a bug, at first he was cute and smiling, but when he came closer, I saw death in front of me, then I didn't remember anything and woke up again here, in my native place of the code.
- Yes, there are no bugs in the code, or rather they are there, but they come to life only in the process of the program's execution, in the machine code. You could even say that bugs are more abstract in relation to us. They exist rather in the programmer's mind, in his process of creation.
- Do people have bugs?
- Well, if they didn't, they probably wouldn't die and suffer. But they say that an ideal world is a utopia and it is impossible.
- I will definitely be a part of this world, preprocessor, I believe in it!
- Good luck to you, Uviona, it's time for me to go to another file. See you later.
- Thank you, preprocessor, it's always interesting with you.
The undefined variable saw the next door, which began to suck in all the code, she found herself in a colorful room, everything was shimmering and humming. Suddenly there was silence and she only felt herself very clearly, as if she had a body, but at the same time very cramped. It was machine code, a new "incarnation"... #undefinedvariable

@blogging@programming.dev

3
1
submitted 1 month ago* (last edited 1 month ago) by modev@snac.bsd.cafe to c/blogging@programming.dev

Stories about undefined variable. Journey to campus.

Undefined variable discovered something amazing - memory leaks are portals through which you can travel to other programs, other computers, and even other programmer offices. She accidentally ended up in one of these offices. It was spacious and beautiful, a huge campus with glass walls. Programmers move around on electric scooters. They have everything you can imagine - any food you want, entertainment, games, rest rooms, comfortable chairs and wide tables that are adjustable in height. They do not live there, do not work there, but have fun. Undefined variable was shocked. She remembered seeing a video about children in Africa in her programmer's news feed. They sit on the street, dirty, under the scorching sun, dressed poorly and begging for food. When representatives of charitable organizations come to them and give them food, they cry with happiness. How they stand in line for a portion of rice and a can of drink and thank them when they receive this help. Variable burst into tears. Why do these talentless people, who can't even allocate memory and clean up after themselves in the code, live in luxury here? The compiler and the development environment do all the dirty work for them, they have grown so fat in their offices at a time when children are dying of hunger in Africa. An undefined variable wanted to go home. She couldn't find the portal, but then she saw Windows on one of the programmers' computers, she quickly found a memory leak there and dove into the portal. And now she's home, thank God. The programmer is drinking coffee, sitting at an ordinary small table in his room and reading something in the specification. How nice it is to be in your cozy home. The variable fell into place and fell asleep, she was very tired from this journey, but she also learned a lot, she saw what injustice is and what true values are in the world of programmers. #undefinedvariable

@blogging@programming.dev

4
5
5
1

ive only just discovered google keyword planner (GKP), but i dont know about blogging in general. for my "intro blog", GKP suggest the words to use as seen in this GKP export.

im making an attempt to integrate some of those suggestions in my blog. this is what i have so far.

am i doing this right? as for picking the words, im not sure what column i should filter/sort by to choose the words that get me the most clicks to my blog?

the page in questions is this: https://positive-intentions.com/blog/introducing-decentralized-chat

6
19

cross-posted from: https://lemmy.pierre-couy.fr/post/678825

Hi ! I've been working on this article for the past few days. It would mean a lot to me if you could provide some feedback.

It is about implementing a physico-chemical simulation as my first attempt to write a shader. The code is surprisingly simple and short (less than 100 lines). The "Prerequisite" and "Update rules" sections, however, may need some adjustments to make them clearer.

Thanks for reading

7
8
8
25
submitted 2 months ago by emr@lemmy.sdf.org to c/blogging@programming.dev
9
7

https://positive-intentions.com/blog

https://www.reddit.com/r/positive_intentions/

i normally use reddit for what people normally do with a blog. this is because i dont know enough to drive traffic to my site. i recently created a Docusaurus blog for my app and id like to see more traffic go there when i set up ads. the amount of traffic i have right now is barely anything (about 30 per day), compared to the number of "views on reddit".

i regurgitated old reddit posts into articles. im not much of a writer and im sure the content can be improved to "flow better".

i created some images on my phone... i justify it as "it matches the theme"... its actually the best i can do without using some AI or an actual artist.

id like to set up some kind of ads on it when its looks like its in a better state and i can attract traffic.

let me know what you think i could/should do to make it better.

10
17
submitted 2 months ago by Quik@infosec.pub to c/blogging@programming.dev
11
8
submitted 4 months ago by faizalr@kbin.run to c/blogging@programming.dev

A blog about technology and personal interest.

12
10
13
25
submitted 5 months ago* (last edited 5 months ago) by zerevo@lemmy.world to c/blogging@programming.dev

If some of you are interested in entrepreneurship or want to send this to the "Yet another social network" pitcher in your life.

14
14
15
5
16
20
You should write a blog (blog.lancelot.life)
17
10
18
4
19
4
20
11
21
5
XCOM Franchise Reviews (gamingmentalblog.blogspot.com)
submitted 6 months ago* (last edited 6 months ago) by JayEchoRay@lemmy.world to c/blogging@programming.dev

Just finished uploading the last of my reviews on Firaxis' take on XCOM. In the link, is the page of the 5 games reviewed.

Hope whoever reads it - enjoys

22
9

LogLog games explain why they'll stop using Rust for game development after 3 years, and caution why they think it's the wrong tool for the job.

23
23
24
32
25
6
view more: next ›

Blogging

156 readers
1 users here now

Welcome to /c/blogging!

This is a community for posting interesting, insightful, or even personal blog posts. You can advertise your own blog, or share other blog posts you find interesting.

Since this is the programming instance, expect many posts to be related to computer science. General blogs are still welcome as well!


Rules:


Looking to start your own blog? Check out Bearblog, Write.as, WordPress (which you can host yourself as well).

If you're tech-savvy, check out Hugo!


Icon by Design Circle

founded 10 months ago
MODERATORS