I was fooling around with Pokemon Go and ended up getting a very rare shiny Magikarp. I also wanted to know how hard it was to record the iPhone screen and the sound. There are lots of different ways from both PC and Mac, but I used my Mac Mini and it was very easy:
Connect your iPhone or iPad to your Mac via the lightning cable.
Open QuickTime player.
Click File then select ‘New Movie Recording’
A recording window will appear (with you in it, most likely). …
Select the Mic of your iPhone if you want to record music/sound effects.
Click the Record button.
So, I recorded the evolution from the rare shiny Magikarp to the rare shiny Gyarados. Results were very good:
Handy links for installing nVidia drivers on Ubuntu 14.04
Essentially you have to disable encryption on remote desktop access in Gnome due to a bug that has come to surface in Vino. However, some threads tell you to uncheck it in the wrong place. Follow these guidelines and you should be able to resolve it quickly.
Tanya Short gave one of the best talks I’ve heard in a long time about the fallacies of crunching and bad work habits many people have. The video is now up for free at the GDCVault. Her talk starts at 6:00 : http://gdcvault.com/play/1024174/Indie
Summary of her points:
When trying to hit deadlines, she starts out by observing that most of the time we think ‘getting X done’ is our highest priority. It’s not. It’s actually #3:
Your real priorities:
Don’t burn out (i.e. don’t die)
Always keep in mind you’re going to do another – and you should be excited to do the next one even better.
Get it done
That sounds great, but it also sounds a bit idealistic. She says it is not easy, but lays out these points.
Step-by-step roadmap to not dying:
Believe it is possible to hold those priorities in that order
Many great studios work and ship games without crunch. It can be done, she does it. You just have to be disciplined.
Stop working ‘all the time’. Set work hours.
It is a fallacy to think working all the time is better. Especially in creative fields. Creative work and creative problem solving require a relaxed mind to do it. Time away from work helps us be more productive. So set work hours and stick to them.
Prioritize your tasks and re-prioritize as often as needed.
In order to hit your deadlines, you need to know what you’re working on RIGHT NOW is important, not just urgent. If you focus just on the ‘urgent’ emails/tasks/etc, then you’ll never get into the steady workflow that is what makes your work great.
Estimate your tasks. Re-estimate when needed.
When you finish your task, ask if it took the time you thought it would take. You should do that with every task. It helps you get better at estimating.
Cut the scope before you bleed out. If you’re 3 weeks out and realize you won’t make it, don’t immediately think about working more/harder/longer. 3 or more 60 hour weeks is scientifically less productive than 3 or more weeks of 40 hour weeks. You are doing worse work. Even if you think you are a special exception. Why can she say that? A study was done on 100 people that claimed they needed less than 7 hours of sleep. Only 5 out of the 100 could actually do it.
Don’t give up – iterate steps 1-5 again and again
These steps (production) is a skill. Skills can be developed. Skill development requires practice. So congratulate yourself when you do it pretty well, forgive and be kind to yourself when you don’t treat yourself as you deserve.
We are primates. Primates need to be taken care of in a way computers and games don’t, so don’t act like that towards yourself. It’s not about how many hours you spend because everyone is different.
A few long nights won’t kill you, but a few long months might. Especially if combined with other health and life factors.
Burnout is the feeling of being dulled as layer after layer of exhaustion accumulates. Burnout is the void left behind where your career could have been.
Then she has a real Benedictine moment: The moment right now will never come again. Every one of us will die. No matter what we create, all we have is right now. Don’t use up that joy, love, and creative energy you have by burning yourself out.
Keep death always before your eyes.
—St. Benedict: The Rules: Chapter 4.47
Setting up VNC on Ubuntu used to be pretty painless. But recent changes in Ubuntu and X have left it kind of a mess. It took me way longer to set up VNC than it should have, and finding the documentation wasn’t super-easy either. There were lots of broken guides. So, here’s what you need to do:
When completed, however, a known issue means the screen will come up blue-grey and have few desktop controls if you try to connect to it. This is because (near as I can tell) the X manager currently used for Ubuntu doesn’t work over VNC anymore. You need to set VNC up to use an older desktop manager that
Lets say you want to copy between two hosts host_src and remote_machine. host_srcis the host where you would run scp,sshorrsyn, irrespective of the direction of the file copy.
On host_src, run this command as the user that runs scp/ssh/rsync$ ssh-keygen -t rsaThis will prompt for a passphrase. Just press the enter key. If you assign a password to the key, then you’ll need to enter it each time you scp. It will then generate a private key and a public key. ssh-keygen shows where it saved the public key. This is by default ~/.ssh/id_rsa.pub:
Your public key has been saved in <your_home_dir>/.ssh/id_rsa.pub
Transfer theid_rsa.pubfile tohost_destby eitherftp, scp,rsyncor any other method.
On remote_machine, login as the remote user which you plan to use when you run scp, sshor rsyncon host_src.
Copy the contents of id_rsa.pubto ~/.ssh/authorized_keys $ cat id_rsa.pub >>~/.ssh/authorized_keys
$ chmod 700 ~/.ssh/authorized_keys
If this file does not exists, then the above cat command will create it. Make sure you remove permission for others to read this file via chmod. If its a public key, why prevent others from reading this file? Probably, the owner of the key has distributed it to a few trusted users and has not placed any additional security measures to check if its really a trusted user.
Optional – allowing root to ssh:
ssh by default does not allow root to log in. This has to be explicitly enabled on remote_machine. This can be done by editing /etc/ssh/sshd_config and changing the option of PermitRootLogin from no to yes.
Don’t forget to restart sshd so that it reads the modified config file.
Do this only if you want to use the root login.
Thats it. Now you can run scp, ssh and rsync on host_srcconnecting to remote_machineand it won’t prompt for the password. Note that this will still prompt for the password if you are running the commands on host_dest connecting to host_src. You can reverse the steps above (generate the public key on remote_machineand copy it to host_src) and you have a two way setup ready!
When setting the password, if you have any special characters like %!&%#$ – or the like – be sure to convert them to their equivalent hex ascii codes. See this chart here.
Example: if your password is ‘cat&dog’, you should use the password: ‘cat%26dog’
I left the arguments as –rtsp-caching=100 (the default)
Once you have iSpy connected, you can set up events and connect to the cloud for full web monitoring.
So, where did I get that rtsp line? Directly from the Amcrest HTTP API SDK Protocol Specification. Section 4.1.1, p14 – Get real-time stream. It’s also a handy guide on all the other parameters you can send the camera.