My time on this Earth is a finite resource. I can’t get any more to what I have. Sure, I can live healthy and make sure I live a bit longer and enjoy the time I do have more. But that’s about it.
This is why I grab every opportunity to avoid wasting time. If I can skip tasks, automate them or speed them up, I’ll do it.
This is why I find the “play speed” feature to be so great.
A lot of websites offer this feature. Most predominantly, YouTube does. Every time I watch a tutorial or a guide, I look for the option to play it faster. This makes sense because quite often, the videos are slow by nature. The presenter may be taking their time. They may be derailing. They can usually go faster.
Imagine a x1.25 speed on a one hour video. That video now plays in 48 minutes. That’s a 12 minute gain. In some cases, even x1.5 works. In those case, you save 20 minutes per hour!
So the next time you watch an online walk-through, look for the option to play it faster. You may get a lot of your time back. Magic!
I work hard for my money. Granted, some people work harder. Every once in a while, though, you hear of other people. People who get it easy. They make a fortune with hardly any effort.
The truth is, these people probably fall into one of two groups: those who got extremely lucky, and those who scam others to make their fortune.
Either way, there are no fail-proof shortcuts. I know we’ve all been told this before. It’s true. There is no easy money. This is really worth remembering.
I’ve seen intelligent people fall for scams such as MLM (multi-level marketing, also known as pyramid schemes). These are clever traps. They lure you in with the promise of high income. They end up selling you some bogus product which you get stuck with. Avoid these schemes.
The lottery is a similar scam on a world scale. I used to call it the suckers’ tax. When you understand the lottery can only exist when the vast majority of people end up losing, you can stop wasting your money there.
Making money is hard. There are many ways of doing it, but none are easy. If it seems too easy – it probably is. Don’t risk what you can’t afford to lose. Work hard. Be smart. Have patience and be persistent. You’ll get there.
Every once in a while, it’s time to get a raise. With inflation, and a growing skill set, it makes sense.
As a contractor, I usually stick to one of two opportunities to secure a rate increase. I would ask for a higher rate when assigned greater responsibility. I would also increase my rate when switching contracts.
Let’s focus on the first scenario. When I ask for a rate increase, I do so risking everything. If I’m turned down, I terminate the contract.
You cannot ask for anything without willing to fully commit to using your leverage. False promises dent your credibility. If you ask for anything and don’t get it, there must be consequences. Accept not getting what you asked for, and be ready to never get it.
What reason does anyone have for giving you what you want? Clearly nothing happens if you are turned down. Business is business, right?
So either ask for what you think you deserve, willing to act if turned down, or don’t ask. Otherwise, there IS harm in trying.
However, writing tests is not a box-ticking exercise.
If tests are not written well, they are not helpful. One characteristic of a good test is that its results are consistently reproducible. This helps us see what the problem is every time we run the test.
There is a common mistake I see developers make. Trying to cover a wide range of scenarios, they use a random value in their tests.
To be clear, I am referring to run-time generated random values, not random values generated in advance and hardcoded into the test. The latter can be fine.
When you use random values in your tests, you may end up with flaky tests. Your tests may pass some of the time, and fail at other times.
Both scenarios are bad. If the tests pass, you may have missed out on a bug. Your tests no longer give you confidence. If the tests fail, you don’t know what values made them fail. Will they fail when you run them? Maybe. Maybe not. Maybe only after you ran them ten times. This is time-consuming.
You get the idea. Tests should be boringly predictable. If you want to test multiple values, test them all. Use a parameterized test. Use a loop. Don’t use random values.
Testing should give you confidence. Keep them predictable. If you want the adrenaline rush of gambling, go to Vegas. I hear it’s lovely this time of year.
I love learning new things. Learning something new makes me feel like I’m becoming a better verision of myself. I suddenly have new tools for problem solving.
One thing I’ve always wanted to learn was French.
At school, half the the students were set to learn French, and the other half to learn Arabic. Since most of my family spoke French, I wanted to learn French.
I was put in the Arabic class.
Leave it to the education system to mess things up. No matter how much I protested, and despite there being kids who’d happily trade places with me, they wouldn’t budge. So, being a stubborn kid, I ended up learning neither.
Every once in a while, I’d give it a go. I tried multiple apps (ahem, Duolingo). None clicked for me. I guess different people learn differently.
Luckily, I married a teacher. With the help of my wife, I gave it another go. I started making real progress when my wife introduced me to Memrise.
Memrise really works for me. It’s practical, focusing on everyday words and sentences. It’s friendly, with videos of locals pronouncing common sentences. It’s progress system makes sense to me. I could do with less promotional ads, but for a free app I guess I can put up with it.
I still have a lot to learn, but I’m making good progress now, which is exciting. Mon dieu!
I recently switched from a MacBook to a Windows laptop. There were a few Mac features I really liked and was missing on Windows.
One such feature is the ability to select multiple files, right click them and move them to a new folder. If you want this functionality on Windows, it’s your lucky day!
With a few steps, you can add a “Send to New folder” context menu option to your Windows Explorer. Ready? Here we go:
Create a new text file anywhere. I created mine under C:\Program Files – but anywhere would do. Name the file Send To New folder.cmd.
Open the file in Notepad (or your favorite editor) and paste the following in:
cd /D "%~dp1"
set "baseName=New Folder"
for /f "delims=" %%F in (
'2^>nul dir /b /ad "%baseName% *."'
) do (
set "name=!name:*%baseName% (=!"
if !name! gtr !n! set "n=!name!"
set /a n+=1
md "%baseName% (%n%)"
for %%x in (%*) do (
set /A argCount+=1
for /L %%i in (1,1,%argCount%) do move "!argVec[%%i]!" "%baseName% (%n%)"
explorer /select,"%baseName% (%n%)"
Next, press the Windows Key + R. Type shell:sendto into the field and press Enter.
Drag the Send To New folder.cmd file you created earlier to the newly opened folder while holding the Alt key. This will create a shortcut in your Send To context menu.
Rename the newly created shortcut to New folder.
That’s it! Now, to move files to a new folder, select them in Windows Explorer. Right-click, then select Send to -> New folder. Voila!
I love gadgets. I’ve always loved them. I don’t discriminate, either. Small gadgets, large gadgets, technological gadgets, non-technological ones. I love them all.
Given enough resources, I’d probably own every gadget in existence. For a while, I was heading in that directions. Fidget toys, USB dongles, tiny computers, Swiss army knives… I got them all.
And then I realised I do have constraints. Financial limits, storage space limits and even time limits. So getting more gadgets stopped providing more value for me.
When I look at a gadget now, I start thinking. Do I need it? Will it serve me? Do I have where to put it? Will I actually have the time to use it? Does it even work?
I find in most cases, this stops me from making an emotional buy. I still buy gadgets. But now, I am a lot more picky. I really don’t need another spinning fidget. I won’t have time to program that new micro-computer.
What gadgets have you regretted buying? Which ones are you glad you bought, or didn’t buy?
British landlords have a national sport. It’s called “keeping as much of your deposit at the end of the tenancy as possible”. Not very catchy, I know. But it’s a sport nonetheless. If you rent in the UK, you know what I’m talking about.
When you move out, a British landlord will make every effort to keep as much as possible from your deposit. They’ll quote the most expensive cleaners. They’ll charge you a fortune for menial tasks such as moving a chair from one room to the other (I’m not making this up).
I’ve had a lot of experience with this as a renter. I learned a few things:
– Try and leave the flat in the best state possible. No burnt light bulbs. Clean carpets. No holes in the walls.
– Report any faults as soon as you encounter them throughout your tenancy. Be especially pedantic as soon as you move in.
– When facing the landlord’s attempt to keep the money, challenge everything. Prove (using quotes) the market rates for cleaning. Prove the cost of anything that needs replacing.
– Prepare to only get part of your deposit back.
To win in any sport you have to put an effort in. This is no different. Try your best. You could save thousands of pounds.