Blogging

152 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 8 months ago
MODERATORS
1
 
 

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

2
 
 

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

3
4
 
 

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

5
 
 

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

6
7
8
 
 

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.

9
10
 
 

A blog about technology and personal interest.

11
 
 

Water, the elixir of life, can also become a destructive force when it escapes its bounds. Whether from a burst pipe, torrential rain, or a malfunctioning appliance, water damage can wreak havoc on homes and businesses alike. However, understanding the process of water mitigation and restoration is crucial in minimizing damage and restoring normalcy. In this comprehensive guide, we'll delve into the intricacies of water mitigation and restoration, exploring the steps involved and offering practical insights to navigate the challenges posed by water damage.

Understanding Water Damage:

Water damage comes in various forms, each presenting its unique set of challenges. From structural damage to mold growth, the consequences of water intrusion can be far-reaching. It's imperative to understand the different categories and classes of water damage to devise an appropriate mitigation and restoration plan.

1. Categories of Water Damage:

  • Category 1: Clean Water - Originating from a sanitary source such as faucets, sinks, or water supply lines.
  • Category 2: Gray Water - Containing significant contamination, such as from washing machines, dishwashers, or sump pump failures.
  • Category 3: Black Water - Highly unsanitary water, containing harmful bacteria and pathogens, typically from sewage backups or flooding.

2. Classes of Water Damage:

  • Class 1: Limited Damage - Only affecting a small area, with minimal absorption into materials.
  • Class 2: Significant Damage - Affecting an entire room, with water absorption into carpeting and walls.
  • Class 3: Severe Damage - Water saturation throughout the area, requiring extensive drying and restoration efforts.
  • Class 4: Specialty Drying Situations - Involving deep water absorption into hard-to-reach materials like concrete or hardwood floors.

Water Mitigation Process:

Prompt action is essential in mitigating water damage effectively. The water mitigation process involves a series of steps aimed at stopping the source of water intrusion, removing excess water, and drying the affected area to prevent further damage and mold growth.

1. Assessment and Inspection:

  • Thoroughly assess the extent of water damage, identifying affected areas and potential hazards.
  • Determine the category and class of water damage to implement appropriate mitigation strategies.

2. Water Extraction:

  • Utilize pumps, vacuums, and other specialized equipment to remove standing water from the premises.
  • Extract water from carpets, upholstery, and other affected materials to expedite the drying process.

3. Drying and Dehumidification:

  • Deploy industrial-grade air movers and dehumidifiers to facilitate evaporation and moisture removal.
  • Implement industrial-grade air movers and dehumidifiers for efficient content restoration.
  • Monitor humidity levels and moisture content to ensure thorough drying of structural components and contents.

4. Cleaning and Sanitization:

  • Clean and disinfect surfaces, furnishings, and belongings to prevent microbial growth and restore sanitary conditions.
  • Dispose of contaminated materials safely and in accordance with regulatory guidelines.

Water Damage Restoration:

Once the mitigation process is complete, restoration focus on repairing and rebuilding the damaged property to its pre-loss condition. Depending on the severity of the damage, restoration may involve structural repairs, cosmetic enhancements, and mold remediation.

1. Structural Repairs:

  • Repair or replace damaged building materials, including drywall, flooring, insulation, and structural components.
  • Ensure proper insulation and ventilation to prevent future water-related issues.

2. Mold Remediation:

  • Identify and remediate mold growth using industry-approved techniques and antimicrobial treatments.
  • Implement preventive measures to inhibit mold recurrence, such as improving ventilation and reducing moisture levels.

3. Cosmetic Restoration:

  • Restore aesthetic appeal through painting, refinishing, and restoring damaged surfaces and fixtures.
  • Work closely with contractors and restoration professionals to achieve seamless integration and quality craftsmanship.

Water mitigation and restoration require a concerted effort involving swift action, technical expertise, and meticulous attention to detail. By understanding the complexities of water damage and adhering to proven mitigation and restoration protocols, property owners can mitigate losses and expedite the recovery process. Remember, in the face of water-related emergencies, timely intervention is paramount in safeguarding lives, property, and peace of mind.

12
13
25
submitted 4 months ago* (last edited 4 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
15
16
17
18
19
20
21
5
XCOM Franchise Reviews (gamingmentalblog.blogspot.com)
submitted 5 months ago* (last edited 5 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
 
 

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
24
25
view more: next ›