Imagine every time you listen to “Single Ladies” the song would change.
1st time: “All the single ladies...”
2nd time: “Every single lady…”
3rd time: “All sole ladies…”
If that were the case, no-one would have shared the song, it wouldn’t have become a hit and we wouldn’t have laughed at the “Single Ladies” baby dance. Humans expect things to remain the same when all they do is observe. “Friends” must remain the same every time we rewatch it.
Code makes sense when it is a natural extension of familiar things. …
In the picture above, what would you rather own, the Swiss army knife or all the tools on the right? When traveling, portability is the most important thing. The Swiss army knife is the appropriate tool.
But for day-to-day life — would you cut bread, mend the car, or open cans with a Swiss army knife? Probably not. You can do it, but it’s much easier to use a bread knife, a set of screwdrivers, or a can-opener.
Real-life code should be treated the same. A do-it-all class (god object) it’s ok, it will get the job done when you…
The hydrogen propulsion dream has been around for quite some time. Harnessing the most common gas in the universe with water as the only byproduct was seen for a long time as something belonging to Jules Verne’s novels.
The thing with SciFi novels is that you never know when it will become reality. 100 years after the launch of “The Mysterious Island”, the world was introduced with the first working prototype, the Chevrolet Electrovan. But there is a long way from prototype to mass-adoption.
“mind-bogglingly stupid”, Elon Musk
A key player in the electrification of our cars, Elon Musk has…
Tell me if this sounds familiar to you: you just started to watch a tutorial/read an article. You find the concepts interesting so you promise yourself you’ll pay attention. But then, disaster. Your attention gets stolen. How did they manage to squeeze a DSLR quality camera in such a small phone? Why did my friend buy that stupidly expensive jacket, it’s not worth the money. Have they truly put a man on the moon?
5 seconds. That’s how long your mind wandered. Now nothing makes sense. So, scroll back and rewatch it. Or re-read the last paragraph. …
Boxing and Unboxing stay at the base of C# programming. You bump into them when calling functions, creating objects, at interviews, and so on. They are ubiquitous in the .NET space, so a solid understanding will improve your skills. Let’s explore these concepts and how they are related to stack and heap memory.
First, this is the technical explanation, straight from Microsoft:
“Boxing is the process of converting a value type to the type object or to any interface type implemented by this value type […] Unboxing extracts the value type from the object. Boxing is implicit; unboxing is explicit…
Bitcoin has come a long way since it was launched in 2007. It evolved from a geek instrument to a market value of 850B $ (as of 13 Feb. 2020 ). In 13 years the coin reached a valuation 10 times smaller than the gold market cap. Simply amazing.
But all existing cryptocurrencies have failed to deliver on the biggest promise, to provide a valuable alternative to fiat money. For example, Bitcoin hit 2 roadblocks that stop it from becoming a true currency:
Every year right around January, the number of gym memberships soar. This momentum is driven by people who want “this year” to get in shape and be healthy. But going to the gym can be intimidating if you are not in shape. Add to that the burden of getting ready and driving to the nearest gym. No wonder most of the new subscribers quit after 1 month.
To be a healthy active person you don’t have to go to the gym and workout until you look like Dwayne Johnson. Sure it is motivating to picture yourself that strong, but the…
With over 12,000 stores spread over more than 30 countries, Carrefour is France’s biggest retailer and one of the world’s top 5. Managing such a vast network is not an easy task. Unlike manufacturing where you just sell a product to those who like it, in retail you have to adapt to the customs of every country. That’s why in retailing we have national dominant players like Walmart in the US, Tesco in the UK, Aeon in Japan.
Carrefour was among the first ones to expand beyond its national border hoping to cash in on the globalization trend. …
For the last 3 years, electric cars have been the buzz of the tech world. Tesla, Nikola, Nio, Rivian, are just a few of the startups that have captivated the attention and money of people around the world.
But what if the true electric revolution will come from a part of the world that many people haven’t even heard of?
Dacia. If you’re not from Europe, chances are you’ve never heard of this manufacturer from Romania, owned by Renault. All you need to know about Dacia is that they make practical cars. Let’s take the Sandero hatchback, which is the…
On October 13, Apple confirmed the internet rumors and removed the charging brick and the headphones from the phone’s box. The reduction of e-waste and shipping greenhouse emissions should bring the company a step closer to accomplishing their carbon neutral target.
I can’t shake the feeling that this is just good marketing to grow the company’s profit margin. Yes, I still use my charging brick I bought with my iPhone 6, 5 years ago, so there is some truth. For people who update their iPhones regularly, the cut of charging bricks and headphones does add up. But is that enough?
A software developer interested in writing about programming, technology, environment, and self-development. Twitter @mihais77