18107

joined 1 year ago
[–] [email protected] 30 points 11 months ago (4 children)

Most engines are less than 30% efficient at producing movement. The majority of the energy is lost as heat.

Thermodynamics tells us that pretty much all energy ends up as heat. In a closed system, any device that uses energy is 100% efficient at making heat. A 1000W computer will make exactly as much heat as a 1000W heater.

A 100% efficient engine can only exist if the desired output is heat, thus making it a pretty useless engine. Also, in a closed system, the exhaust cannot leave.

[–] [email protected] 1 points 11 months ago (2 children)

Mint is based on Ubuntu, which is based on Debian. LMDE is being built alongside Linux Mint and is based only on Debian.

Linux Mint and LMDE are functionally the same, but LMDE is protection/insurance against Ubuntu doing something stupid.

[–] [email protected] 5 points 11 months ago* (last edited 11 months ago)
[–] [email protected] 14 points 11 months ago (10 children)

I highly recommend Linux Mint (cinnamon) as an entry level Linux distro. It looks and feels similar to Windows, and it's based on Ubuntu, so it has a lot of support and compatibility.

[–] [email protected] 52 points 11 months ago (2 children)

And people wonder why whales beach themselves.

[–] [email protected] 8 points 11 months ago

That would be a great idea, and could even help combat climate change.

[–] [email protected] 218 points 11 months ago (38 children)

Why limit these fees to foreigners? Why not penalize anyone who is leaving properties empty?

[–] [email protected] 5 points 11 months ago

I find making a simple text based calculator is a good way to test your skills while learning.

Start by adding 2 numbers together and outputting the result.
Then upgrade the calculator by getting the numbers from user input.
Now you get to decide the next upgrade. Does the user want to add 3 numbers? Perhaps they want to subtract instead. Maybe the user wants to start a new calculation immediately after finishing. What about error handling? What should the program do if the user enters something that isn't a number?

Each step provides new challenges and new learning opportunities.

Make sure to test frequently. The more code you write between tests, the harder it becomes to track down bugs.

[–] [email protected] 6 points 11 months ago

More difficult advice:

Get enough sleep. Programming is something that takes a lot of focus. If you are tired, you won't learn as quickly, and you'll make basic mistakes that are hard to track down and fix.
Every time I've done programming while tired, I've started the next day by reverting everything I just changed and doing it properly.

Don't start the day with social media. Social media is an instant reward system. When you start the day on your phone, you condition your brain to crave instant rewards. Programming can take quite a while to get the reward feeling, and it's not as strong as social media rewards.

Let yourself get bored. It hurts. No-one likes being bored. But boredom is often the precursor to creativity. With all the distractions of the internet, boredom can be hard to come by, but it is also the strongest motivator. When you are bored and have no other options, you'll find that there are many mundane tasks you'd rather be doing.

Don't worry if you can't manage any of these. I've been trying for years and haven't managed any of them consistently.

[–] [email protected] 9 points 11 months ago (1 children)

Body doubling: Have someone sit with you to keep you on task. They don't need to understand the task, just recognise when you get distracted.

Inspiration: Watch a video of someone doing a similar task. Not a tutorial, but someone having fun and showing off how they code.

Jump in: Open a development environment and start writing something. If you're still learning, copy a small example and see if you can make it do something else.

Accountability: Tell someone what you are planning to do, and report back to them. Don't set high goals, just aim for progress.

No distractions: Give your phone to someone else, or put it in an inconvenient place. Mindlessly scrolling is too easy if the phone is within reach.

Not all of these will work for you, but perhaps some of them will.

view more: ‹ prev next ›