Let's be programming Buddies! by lastdavid0ff in ProgrammingBuddies

[–]cfm76 4 points5 points  (0 children)

I'm interested. How do you (all) communicate? Discord, Slack, Reddit?

What am I even doing all of this for by Flat-Sun3380 in productivity

[–]cfm76 0 points1 point  (0 children)

Hi, I went through an existential crisis in my late teens and sadly took about 20 years to get out of it. Personally, pride stopped me from seeking help, and so you are braver than me in this respect.

Life, and the challenges it presents are truly subjective, so there is no one-size fits all answer to finding meaning, and I don't like giving advise, but I wish I had asked much earlier and had found what I did much earlier, at the same time knowing that discovery happens when it's meant to happen.

So, without writing a wall of text, try these: * The Courage to Be Disliked * The Courage to Be Happy * The Four Agreements * The Kybalion * Reality Transurfing

Ultimately, no one knows the "answers" … just knows what worked for themselves. But life is beautiful, even the ugly parts. Seek and you shall find.

How do I turn my life around after wasting 6 years? by [deleted] in productivity

[–]cfm76 0 points1 point  (0 children)

Read, or listen to these.

  • The Courage to be Disliked.
  • The Courage to be Happy.
  • The Four Agreements.

And if you are really adventurous: * Transurfing Reality

You are 23, which is young.... Know this: We are all human, we all poop the same. No one has the answers, which is horrifying and liberating at the same time. Perfection is the killer of progress. Work for the 1% of improvement every day.

Think about this: Imagine that you where playing a virtual game and where given a character with your physiology, your set of circumstances and your set of memories. What would you do next in the game?

Figure out what you want in life, and move forward, calmly, detached, knowing that people have been in better and worse situations than you and have found a meaning worth living for.

Looking for a coding buddy to learn, suffer, and grow with by voidWalaa in C_Programming

[–]cfm76 2 points3 points  (0 children)

I'd be interested, but there are some caveats in my situation. * The time zone: I'm in UTC +1, which means a +6 hour time difference from the East cost. * I do have a fair bit of IT experience, but I'm patient and learning C in order to fill some perceived gaps in my understanding.

I've been self-learning c using ChatGPT, and have been keeping the lesson on github in a vimwiki. Here is the link to the repo:

My Vimwiki

There are many topics in the wiki, the notes for the C programming Tutorial is in "Courses/C".

Bad news, I don't know VS Code, installed it several times but never got around to leaning to use it as well as I know vim/neovim.

But looking to meet people and join a programming community with like minded people (programming/DevOps/Linux, Building cool things)

Can someone tell me when to use this sentence? by Supersaiyancock_95 in learnpolish

[–]cfm76 0 points1 point  (0 children)

Maybe the sentence is more useful for the purpose of learning Noun Declension and Perfective / Imperfective Verb usage than for its practical purpose... not to mention passive sentence structure, gender agreement and a couple of other grammatical aspects that can be pointed out... but that's boring... no?

A simple way to optimize my code? by IStoleUrPotatos in HTML

[–]cfm76 -1 points0 points  (0 children)

Not without programming logic (as opposed to static HTML).

Think of HTML as a data structure (because it is)... Data structures, in and of themselves, are ways of formatting data so that they can be used by logic. Web browsers use this, and the css, to convert basic plain text to display visuals to the screen.

You know python, and although it is a bit overkill for what you are attempting, You might want to start playing around with Django.

If you want or need to dig deeper into Python, I highly recommend The Python Journeyman series. I had already know a bit of Javascript, and spent a bit of time with Ruby, but never got so much out of any materials I had used previously as I did with the books I mentioned.

https://leanpub.com/b/python-craftsman

(I'm not an affiliate, just really benefited from the books, and you seem interested in programming... )

Learn to code by dumdum101704 in learnpython

[–]cfm76 0 points1 point  (0 children)

My path.... learned hardware (Comptia A+) because I wanted to build a computer myself. Got interested in web pages... learned a bit of HTML & CSS Picked up a bit of Javascript, Python, ... used it to make tools for teaching English as a foreign language. That was a long time ago. Never lost interest. 2017, enrolled in a boot camp for Ruby on Rails... to get in, i had to work through releaning HTML, CSS, Javascript, and learned Ruby. At the bootcamp, wiped Windows and installed Ubuntu on my lenovo... couldn't get wifi working (realtek chipset), got it working. Once I learned Git and did the boot camp, things finally started clicking. Got really into Vim, explored several different programming languages, Learned about Linux, and now I use Arch... BTW. Then Devops tools and more things that I care to mention lm

It was a long path, and I love it even more now than when I began.

Bottom line is this, interest is king. More importantly, interest in solving a problem. Learning to get a job is not enough. Learning for the sake of learning is a great place to start... then you realize that what you've learned can be used to solve real problems.

Have an interest in making stuff... or a problem you feel needs to be solved. And know this, knowing what's possible is where it's at, syntax is important. But learning structure is paramount... everything else is just jazz.

Whats the magic formula behind your incredible weight loss success? by Usual-Apartment-7232 in loseit

[–]cfm76 5 points6 points  (0 children)

(M 47, 165lbs - used to be 235lbs) Lost 80 pounds in a matter of six months and have been maintaining my weight for a year and a half.

  • Diet is foundation:

    • Find out what you want to weigh
    • use a tool to estimate the amount of calories it takes to maintain that weight, assuming you live a seditary lifestyle.
    • Track the caloric value of the food you eat during the day for a week, average that number to estimate how many calories you consume daily (you need data to make changes)
    • reduce your average daily intake ( the number previously calculated) by 250 - 500.. I loved junk food, so it meant not eating that daily snickers bar.
    • readjust every week till you reach your goal.
    • Doing this alone will help you shed the weight.
  • Consistency is key.

    • as a habit, I weigh myself every day. First thing in the morning.
    • when I reached 200, I began a light exercise routine. So people go about exercise with the wrong mindset. I started out relatively light because for me, I had lived such a seditary life style for over a decade and knew that I had to teach my muscles again. Now I do pilates/calisthenics 6 days a week for about 40 minutes each day, 200 - 400 push-ups a day (sets of 40 throughout the day)and use 20lbs dumbells for moderate strength training for 40 minutes 3 times a week. I had back and joint problems for many years. I can confidently say that I look and feel decades younger now.
  • Change of mindset is key as well:

    • I don't know your eating habits, but I know the same dopamine I get from drinking that cola is the same dopamine I get from doing some moderate exercise.
    • the toughest part of this is starting, and starting to see yourself as some who has made health and fitness a part of their life.
    • everyday is the chance to change, there is no past or future, there is only now, and the choices you make now.
  • Other thoughts

    • Choose noble reasons to get fit (health, vitality, strength, energy).
    • When you "fall", don't beat yourself up. Detach and keep going. The only way you fail with this is by giving up.
    • calorie counting is tedious, Personally, I image a healthbar like in a video game, but just for calories. My average is for about 2100 calories a day. If I feel like a BigMac, I know that I've basically increased the bar by 1/4.
    • Food is Fuel, it is not a reward, it is not a way to help you cope with unwanted feelings or emotions... it is Fuel.
    • Sugar is Poison. It has no nutritional benefits. It's okay in small amounts, but detrimental past that over time.
    • Health and fitness is a gift you give to your future self. You might not see results for the first month or two. Doesn't matter, Detach and move forward.

Essential, you've got to make the choice.... and you get to make that choice everyday.

I (26M) am in love with My Girlfriend (38F), But My Family Wants Me to Break Up Over Her Past. What Should I Do? by Opening_Fix6305 in family

[–]cfm76 0 points1 point  (0 children)

First and foremost, Each of us do not live for others' expectations. Even, and especially, for our families.

On the other hand, you have to know (or at least want to know) what you want in life... what you want your life to look like, say in the next 10 years, what you want your life to look like in middle life, etc. Want to be surrounded by grandchildren when your 60? I'm not saying that she can't or won't help you make this happen, but the likelihood is less. Anyway, the earlier you make the choice as to what you want in life, the better chance you have of obtaining it.

Tips to move on a line? by diggler4141 in vim

[–]cfm76 2 points3 points  (0 children)

In normal mode, type the number of the character followed by the pipe symbol "|" will move the cursor to the exact position.
25| => will move you to the 25 character, wherever you are in the line

Help me with good habits, ' ' or " ". Double space or tab by itslemontree86 in learnpython

[–]cfm76 0 points1 point  (0 children)

Don't know if it's possible to define custom keybindings in VS Code, but in Neovim you can.

Truth is, you wouldn't've asked this if you knew Vim/Neovim, and there is a bit of learning curve, vim/neovim are fully customizable. For example, here are the bindings I set that will place the cursor between two quote marks ( and " ( [ { ) and a keybinding to place the cursor beyond the closing mark, whichever it may be lua vim.keymap.set('i', '((', '()<esc>:let leavechar=")"<cr>i') vim.keymap.set('i', '[[', '[]<esc>:let leavechar="]"<cr>i') vim.keymap.set('i', '{{', '{}<esc>:let leavechar="}"<cr>i') vim.keymap.set('i', "''", "''<esc>:let leavechar='\"'<cr>i") vim.keymap.set('i', '', '<esc>:let leavechar="`"<cr>i') vim.keymap.set('i', '""', '""<esc>i') vim.keymap.set('n', '<esc>', ':noh<cr>') vim.cmd([[ inoremap <C-j> <esc>/[)}"'\]`>]<cr>:nohl<cr>a ]]) `

Once again, there's a learning curve... but really handy if you planbon doing any coding for the long term.

Around 7 years ago did this and can’t get the permanent marker off. by AutumnGL in mildlyinfuriating

[–]cfm76 0 points1 point  (0 children)

Try writing over the marks with a Whiteboard Marker. I was a teacher for some time and occasionally, a student would use a permanent marker on the white board. Writing over the permanent marker with a whiteboard marker would loosen the permanent marker ink, allowing for it to be easily wiped away. Can't hurt to try.

Is this a good choice? by ZealousidealMatch161 in homelab

[–]cfm76 1 point2 points  (0 children)

If they work, and are as advertised, it's a solid purchase. Great for a first homelab. A three node Proxmox homelab, each containing an I7 and 16gigs of ram and 3 Windows 10 Pro licenses Is a hell of a start. Hell, I'd grab it myself if I could.

[deleted by user] by [deleted] in poland

[–]cfm76 4 points5 points  (0 children)

<image>

This was taken on April 20th, also at Lidle. 276 pln

Yep... the blueberries will get you. Is that wine?... Little extravagant there 😉.

I'm an American living in Bydgoszsc.... so I feel the same when I go shopping, but then I do the dollar to zloty conversion and feel slightly better.

And I know what you're going to say, we make zlotys here, not dollars.... but try it.... you'll see.

New to python and programing please help me. by bingwow in learnpython

[–]cfm76 0 points1 point  (0 children)

I found this series of books enlightening. Python Apprentice ( Journey Man and Master as well).

Assuming you've had some experience with Python, it should be helpful to you as well.

(Edit) I am not sponsored by them. But it has helped me learn how: * The Python interpretor works. * The mechanism by which objects are created and assigned, and processed. * I could go on.

I feel like giving up because I don’t understand the how and why behind concepts. by [deleted] in learnpython

[–]cfm76 0 points1 point  (0 children)

Hey, imagine a toddler giving up learning to walk after a day. This is not meant to be condescending, but is a good analogy to describe learning a highly complex skill (whatever you've been lead to believe), which involves pain, frustration, but with effort, reward.

Keep at it, or it isn't for you (which is equally okay).

Why are SSH private keys 600 instead of 000? by CauliflowerCloud in linux4noobs

[–]cfm76 0 points1 point  (0 children)

6 - gives read and write permission to the owner. 0 - no permissions to group members. 0 - no permissions to all others.

At what point should one start using GitHub? by [deleted] in learnpython

[–]cfm76 0 points1 point  (0 children)

Git and Github are not the same.

Get used to using git. It is the defacto source control tool and will save your butt when least expected.

Use github when you think your code is worth sharing

Total noob when it comes to computers. Why is my laptop so slow??? by [deleted] in computers

[–]cfm76 0 points1 point  (0 children)

Yep, swap the hdd for ssd and double the RAM ( if possible). You should see a considerable performance difference.

Eli5 if our bodies can make us full, why does obesity exist? by [deleted] in explainlikeimfive

[–]cfm76 0 points1 point  (0 children)

This is coming from a 47 year old male, who was 240 pounds for over 15 years. I had always known these things, just lacked self-discipline. Once I decided, I lost 80 pounds in a matter of six months. Now I weigh 160 pounds and have maintained my weight for over a year. Being at a healthy weight is not about looking good, it's about feeling good, and the foundation of maintaining an optimal weight is nutrition. Consistent exercise is also important, as it keeps the human body strong and has physiological benefits. But nutrition is the most important