If you, like me, were tempted to Download DaVinci Resolve “free”* for Linux. Be aware that when you add folders to your media library, you won’t see your videos encoded in h.264 (which is the most used format).
Unzip the contents, then from the terminal run:
sudo sh DaVinci_Resolve_14.0.1_Linux.sh
Try to launch it from the command line too, you find the “resolve” program in /opt/resolve/bin
If you see some errors about missing .so files, you may need to install the packages containing the libs:
I wanted to quickly try this video editor on Ubuntu 17.04 and I was highly disappointed not to be able to import any of my DJI drone videos. What’s the point of having a powerful professional editor that doesn’t even natively open any of my videos, while other open source editors like kdenlive, openshot can open these files? And no, I don’t want to convert my videos in a different format, just to open them in DaVinci.
Also I struggled to find a way to uninstall this software, so here the instructions if you want to clean your hard drive after a disappointment similar to mine:
Today I had to setup automatic pipeline triggering for each new patchset pushed to Gerrit for review. The Gerrit Trigger plugin makes it a piece of cake to achieve the goal.
In reply to How to Checkout a Gerrit Change in a Jenkins Sandbox Pipeline: such a snippet can be easily found directly in Jenkins > browse to your pipeline > click “configure” > click “pipeline syntax” > Sample step: select checkout: General SCM > fill what you need, click on advanced and add a refspec and generate the snippet. Here a snippet using the GERRIT variables exposed by the plugin.
Maybe you are using a build server, with Jenkins or a similar tool and you did not install Visual Studio 2017. I have such a setup and I installed just the ms build tools standalone package, find it at the bottom of this page: Build Visual Studio Downloads > find Build Tools for Visual Studio 2017.
In my case, I noticed I forgot to select also Web development build tools > .NET Framework 4.6.2 development tools:
Updating ms build tools and adding this missing component did the job. Now when I run msbuild I get my artifacts as expected.
If this solution helped you, consider buying something at my favorite affiliate website. I consider this better than asking a donation, because like this you get a product you may need and use and I just get a little commission, which doesn’t affect the price, so win to win 😉
I’m sharing this, because I was thinking I could manually create a folder with the package name, then a subfolder with the version, then copy the nuspec and nupkg files. But the package I needed was never found. It seems that the init command I shared above adds also a sha512 file, this is the only difference and probably that’s why the package was not found.
At work, from time to time we have to update our app. With Android the process (automated in TeamCity) goes smoothly. With iOS, if you are reading this chances are that you already know that it can be quite a pain: expired certificates, Mac OS updates, Xcode updates (at the moment of writing we use Xcode 8.2.1), plist updates, command line commands updates… even if you want to use an old system you can’t, you always need to update something (grr!).
In our TeamCity setup, we have the following 2 steps:
After the second step, we normally get an IPA file and upload it to itunes connect via Application Loader. In the last week, after apparently successful upload, as usual I checked in itunes connect > my app > activity > all builds, but I could not see the build! I waited a few more minutes, nothing. Usually it should be visible as “processing” and that can take some more time, but I was worried to see nothing at all… so I checked the command line output and noticed:
Codesign check fails : /var/folders/vk/…/myapp.app: a sealed resource is missing or invalid
xcodebuild: WARNING: -exportArchive without -exportOptionsPlist is deprecated
So I thought that maybe it would work better using the Xcode UI: “Product” > Archive, then “Window” > Organizer > Upload to App Store… this somehow gave more feedback:
ERROR ITMS-90035: “Invalid Signature. A sealed resource is missing or invalid.[…]”
Seems the same problem, but this time I could see the error upon upload attempts. So as suggested in this blog post by Ash: iOS App Store Submission Problems I added an export.plist file containing just the bare minimum:
I could upload the resulting IPA via Application Loader and could see the build processing in Itunes Connect, but then it disappeared after a few seconds (I was reloading the page to see if there were updates). This time my boss received an e-mail that something was wrong. In our case:
*Missing Info.plist key* – This app attempts to access privacy-sensitive data without a usage description. The app’s Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.
After adding the missing info.plist key and value, the app could be uploaded and processed without problems. The story, written like this seems kinda easy, but I wasted at least half a day to try different commands and figuring out the proper solution. Sharing in the hope to help a poor soul with similar/same problems, as Ash did (thx man!). Good luck!
Yesterday I was in the bus with my wife and I asked her if she received a calendar invitation, she did but the event didn’t show up in her Samsung S Planner calendar. She said that normally, when she accepts an invitation it shows up*… she clicked “yes” again, still no event in the calendar. I checked in the app if there was an option to fetch the updates, I found one called “Sync now”, I touched it. With show, we noticed that all her past and future events disappeared. My invitation was there. So what happened?
My wife has a Samsung phone (Samsung Galaxy S5 mini) with a Google account. For some reason she doesn’t like the Google Calendar and for another strange reason (maybe to save some data traffic**) she deactivated the synchronization with the google account. She also hasn’t a Samsung account. So basically she has no synchronization with any online service, everything is local. Some entries (like my invitation to an event) appear in her calendar because the S Planner app shows the google calendar entries.
I believe that the S Planner app is so buggy that if it doesn’t find a Samsung account and one touches “sync now” it simply sync from an empty calendar which the app thinks it’s the “master”. So if you sync from master to slave, slave gets all updates from master, thus in this case everything is lost. What a stupid buggy app, really! A synchronization feature should be smart enough to sync in both directions to avoid data loss like in this case.
Anyway, I suggest people not to trust apps and always do backups. How do I do backups? Well, I synchronize my important stuff (contacts, calendar, notes) with the cloud so if my phone get broken, stolen, lost etc. I can simply open a browser anywhere else and see my data.
Another app I use, for all those apps that save data locally on the phone is Titanium Backup: I scheduled an automatic backup every morning a few minutes before my alarm for all my important apps and kept a few versions, just in case (so e.g. if an app erases everything and I notice a few days later I can still restore an earlier version, not just the last useless one).
So: activate that damn sync and use it (Google, or Samsung, or both). And if you still wanna use buggy apps such as S Planner, make sure to make backups of your local data if you don’t synchronize it with any cloud.
Open your Android Settings > Accounts > Google > touch your Google account > make sure “sync” is on > you can select and deselect what you wanna synchronize.
*You can activate the Google account synchronization and selectively choose what to synchronize. E.g. if you backup your pictures manually you can deselect photos, but sync at least contacts and calendar and other data that matters to you.
**I believe my google calendar event invitations showed up when she accepted them from a browser, so e.g. logged in in gmail, when clicking yes, gmail would update her google calendar.
To add e.g. 30 GB to an existing raw image usethis command:
qemu-img resize nameofimg.img +30G
In my case, the command was run instantly and it added 30 GB to my existing file, as expected. The output was:
WARNING: Image format was not specified for ‘nameofimg.img’ and probing guessed raw.
Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
Specify the ‘raw’ format explicitly to remove the restrictions.
In my case my image was used in a Windows 10 virtual machine. In the Windows 10 VM: click Start and search “partitions” > the search finds “Create and format hard disk partitions” > which clicked opens up “Disk Management” > Right click target partition > Extend > follow the instructions to extend your partition. It’s super easy.
The Eachine E50 box is like the one of a smartphone. Quite elegant. I liked all contents provided in the box, especially the mini drone of course.
The arms (containing the propellers) can be expanded just like the DJI Mavic Pro, like this:
To turn it on you just press the power button and the front lights will turn on, just like a car:
Tell me if this isn’t a bad ass mini drone just by the looks!
You control this mini drone via smartphone or tablet with the WiFi UFO app. In the instructions they provide a QR code pointing to the wrong app, so don’t even bother installing that app, it doesn’t work. Use these apps:
To begin, turn on the mini drone, then after a few seconds on your smartphone or tablet connect to the “Eachine” WIFI (the number after “Eachine” can vary) :
When you open the app, the initial screen looks like this, touch “play”:
If you connected to the Eachine WIFI, you will see the drone camera view:
Now touch “Off” to show the controls:
You’re almost ready, touch the hourglass icon (the one after “30%”) to show the controls to be able to take off and to land:
Now you are ready to fly. Make sure that the 1st time you try this where you have a lot of space. Don’t try this indoors if you are not an experienced RC pilot! Go outside, find a place with a lot of grass, try thee to get familiar with the controls. When you are experienced you can try indoors. I warned you… Here how the controls work:
Touch the “up” icon (bottom left) to take-off.
Touch the “down” icon (bottom right) to land. Please note that when you touch “down”, the mini drone takes a bit of time to automatically land. You may still have to control it a bit.
I use “stop” to land, when the drone is very low in altitude, close to the place where I want it to land.
Control this drone with a PlayStation 3 controller
Controlling this drone via touch screen is a real pain. I almost lost it a few times and so a friend of mine owning the exact same drone. But I recently found online a hack that improves the experience a lot. It’s a driver that allows you to map a PlayStation 3 (also PS4) Dualshock controller to the touchscreen virtual sticks and buttons. It’s awesome! Check the tutorials here (courtesy of rc fly base):
Tutorial, part 1, check the compatibility (you need an Android device with root access):
Tutorial, part 2, create a touch profile and see the hack in action:
Similar drone: Eachine E52
If you can’t or don’t want to use “hacks” like the PS3 above, you can still buy a newer version of this drone, which comes with controller included and costs even a bit less: 34 USD
But it uses a different type of battery hat I don’t really like. E.g. the E50 model supports even the smaller batteries of my Eachine H8 mini drone, and since I have a 5-pack + charger I can use them also for the E50 model, which is quite nice.
From what I’ve tested, this is the 1st mini drone I’ve ever had with a built-in barometer for this price. The video quality is not good, check my video and see the footage I took. I do drone videos and the footage I took is unusable. Controlling it via smartphone or tablet can be a plus or a minus. I’m used to remote controllers and I hate controlling a drone with a tablet…
very small, can fit your pocket
really a true new awesome experience controlling this drone with the PS3 hack (see above)
bad video quality, not stabilized at all
too light: a bit of wind and the drone is moving around
sub-optimal touchscreen control, can be frustrating sometimes
you can’t really use it for selfies as advertized
Pro or contra (depends on you): controllable via app. If you intend using this to start the drone hobby, you will start wrong because you will focus on the app and not on the drone. Also, the control via app is very bad compared even to a mini remote controller available in other toy drones.
If you still wanna Order one, keep in mind you are buying just a toy!
Conclusion and my honest suggestion: for 15 USD you can buy a mini drone with remote controller, but no camera to distract you form flying. Check my mini drones comparison.
The price is ok, free delivery in many countries worldwide!
If you are a shopaholic, drone addict, don’t own yet a compact drone, you are tempted to get one, you are looking for special deals, or waiting for Christmas: have a look at this interesting idea for a present or just for fun.
I recently ordered a few mini drones with camera, to connect to the smartphone/tablet. I will review them soon, asap I receive them. For now I wanna share the most unique one (which I’ve just found a few days ago):
Battery: if you own other Eachine mini drones you may re-use the ones you already have
It’s a mini quadcopter with camera (advertized for selfies) and foldable arms.I believe that this could be an awesome choice for a beginner: it has a built-in barometer to hold the altitude, a feature that I don’t easily find in other mini drones for this price, thus a big plus. I really like it because it reminds me the DJI Mavic Pro compact drone! Of course you can’t even compare this with the Mavic, but still, it looks fun and costs just a fraction. Looking forward to receive it!
Today a friend of mine shared a quote: “Every moment in business happens only once. The next Bill Gates will not build an operating system. The next Larry Page or Sergey Brin
won’t make a search engine. And the next Mark Zuckerberg won’t create
a social network. If you are copying these guys, you aren’t learning
from them.” ― Peter Thiel, Zero to One: Notes on Startups, or How to Build the
Good that we have already the next big guy! On my opinion Page & Brin (which I highly respect) are not as exciting as Elon Musk… and in fact I read they even support him with some donations they believe would have a better return on “investment” than charity donations.
I recently discovered this blog “Wait But Why” (WTB), do you know it? I wanted to read the latest article about SpaceX, but it suggested to read the entire series about Musk. So I started here (putting the links in a more organized way than in the WTB pages):
How (and Why) SpaceX Will Colonize Mars – humans as multi-planetary species and human backup on Mars lot to read (divided in several parts), available also as audio book(s). I listened the audio books and it was well narrated: understandable and entertaining voice.
All good stuff I can recommend… so have a good read or good listening.
By the way, for such very long articles you may find it useful to have an app to read them later on a tablet or smartphone (that’s what I do, I read most of the articles I find in the public transports or comfy at home on the sofa, not in front of the PC), if you still don’t know the Pocket app, I recommend it. See also my article about Pocket.
Last but not least, if you ended in this page and you like this kind of stuff, you may be on a similar wave length as mine and may be interested in drones. Check my page about drones.