Weekly digest - 2019.18

F8 2019 Conference

Last year's Facebook conference was shadowed by the Cambridge Analysis scandal. This year company told us that it is "focusing" on privacy. I'm not going to comment this, and I move on to other topic.

First of all the website will be completely redesigned.  It's about time to do so. Right now the site feels old and inconvenient. I only hope that Facebook will not force more "recommendation" algorithms. I know what I want to follow and in what order. So I would appreciate if Facebook stoped filtering the content for me.

Second thing are new versions of the Messenger. Beside size and speed optimisations it will have end-to-end encryption. Also, we will get the desktop versions for Windows and Mac.

From other news, Facebook said that it going to extend the dating features with secret crush. And Oculus Quest and Rift S will be released on May 21st.

Peter Mayhew passed away

Peter Mayhew, the original actor who portrayed Chewbacca in Star Wars, has died at the age of 74 on the evening of April 30.

This is a really sad news, yet another actor from original cast is gone ☹️

MacBook Pro Keyboard Failures

On Reddit, user named cli3x posted and interesting analysis of the MacBook keyboards failures. Long story short, it looks like the design of the butterfly switches is faulted and non of the upgrades Apple did, during last year and a half, are going to solve keyboard issues. This fragment sums this up perfectly:

Macbook owners, please beware. Always have AppleCare, even if paying extra to cover a flaw that should be properly dealt with is morally questionable and a shitty thing to do.

Firefox's "armagadd-on"

On Saturday, almost all Firefox's extensions stopped working.  It turned out that the signing certificate has expired. It took Firefox's team couple of hours to pinpoint and fix the issue. In a meanwhile, the workaround was to disable add-ons' certification validation.

Lesson from this incident is clear, always check when your certificates are about to expire and set a reminder in your calendar.

Image credits: Facebook

How to add Open in VS Code option to Finder

I know "true" developers only use the terminal 🤪, but sometimes using Finder is more convenient. I use Finder most of the time, and I always missed the option to open selected directory in Visual Studio Code. Recently I open folders in VSCode quite often and lack of ability to do that from the Finder became quite annoying.

I did a little research to see how can I add this feature myself. And it turned out it is really simple.

1. Open Automator

You can do this by either:

  • searching Automator  in the Spotlight  CMD + Space or
  • opening it directly from ~/Applications/Automator.app.

2. Select Quick Action template

3. Get Selected Files/Folders from Finder

The first step it to figure out what files or folders are currently selected in Finder. We can achieve that using the Get Specified Finder Items action in our workflow:

  1. Select Files & Folders group from the library,
  2. Find the  Get Specified Finder Items action,
  3. Drag and drop this action to the workflow.

4. Open selected items in VSCode

The last step is to open those files in the VSCode. We can do this with Open Finder Items action:

  1. Select Files & Folders group from the library,
  2. Find the  Open Finder Items action,
  3. Drag and drop this action to the workflow, below the Get Specified Finder Items action,
  4. In the Open Finder Items action, there is open with option.  Just select the VSCode.

5. Save the action

Save the action under clear and meaningful name like Open in VSCode. The name is important as it will be displayed in Finder!

6. Use it

Once the action is saved, it should be automatically added to Finder's Services list. You can access it by right-clicking on a file or folder:

That's all. It took less than 5 minutes to make my, and hopefully yours, life easier.

Weekly digest - 2019.04

This week we also start with Apple news, rumors to be precise. We all anticipating the March event, but the question is what Apple would present. The iOS 12.2 beta unveiled a little bit of the secret. It looks like new (smaller) iPads are coming as well as new iPod touch. iPads are not a surprise but the iPod Touch is, I thought Apple has already killed iPod line.
So far we don't have any rumors regarding iPhone SE replacement, AirPower or new AirPods, except that the latter should be released in the first half of 2019.

Speaking of Apple rumors, new reports suggest that iOS 13 will get a major redesign. The last time iOS got one of those was iOS 7 and since then Apple was perfecting its clean design. I personally doubt that we will see any drastic changes in terms of graphic design, but we might get new ways to interact with the operating system. As Apple plans to combine iOS and macOS apps into one with project Marcepan we definitely will see some changes.

iFixit unveiled a new flow in MacBooks and called it Flexgate. Apparently the ribbon that connects the display with the motherboard is being pulled out when display is open, causing cables to tear over time. This issue is known to all generations of the MacBook Pros with Touch Bar. This is the design flow which Apple hasn't acknowledged yet. Which is not surprising, to fix this problem the entire display must be replaced and such repair cost about $600. Well, if this is a common problem, another law suite is waiting for Apple as well as another repair action.

That's all for this week, if you want more, here is the list of interesting things.

30th anniversary of the Macintosh

Avoiding conflicts between developers and marketers

Open source Eva icons as Vue components

Here are some super secret VS Code hacks to boost your productivity

Image credits: iFixit.

Weekly digest - 2018.21

We've updated our privacy policy. This is the sentence we've seen too many times in recent days. It is funny to see how companies comply to GDPR. Most of the companies just updated the privacy policies. Some companies have stopped providing services for EU users. An interesting approach has been taken by USA Today. They've prepared a separate version of their website for EU users. What's interesting, the EU version doesn't have any tracking and ad scripts, so the size of the site has been reduced from 5.2MB to ~500KB.
Fortunately the GDPR is finally here, all companies must to comply to new law. but it looks like some of them have not managed to do that. Google and Facebook have already been hit with a lawsuits with total fine set to about 7.6 billion euro.

This week we also had a premiere of Solo: A Star Wars Story. It is good summer blockbuster movie. If you are a Star Wars fans, you will enjoy it much more. The number of references to Expanded Universe and ester eggs is stunning. Ron Howard managed to create a fast paced and funny origin story of Han Solo and Chewbacca. Watching it, you can fell a climate of old adventure movies from 80's. In terms of acting, many people has been worried about Alden Ehrenreich. It turns out that he was really good, natural. But let be honest, the show has been stolen by Donald Glover. His portrayal of Lando was spot on.
I really enjoyed this movie and I can't want to see it again.

And here is list of interesting things.

Immersive linear algebra

Best Visual Studio Code Extensions

Adobe Photoshop Souce Code

Best iOS hacks from Twitter: March & April Edition

An iOS architecture approach for UIViewController states & error management in Swift