Showing posts with label apple. Show all posts
Showing posts with label apple. Show all posts

Friday, August 28, 2020

Mac OS的Automator

 昨天和老同學討論Mac vs Windows, 當然火花十足,事實上我也算不上蘋果忠粉,用的日子也不長,所以至今天才發現Automator這個「新」功能,今天要和各位網友分享。

話說我製作蘇子曰YouTube頻道的錄像時,在資料搜集期間,用Google Slides最為方便,不過錄影時如果要同時控制Presentation的話難免分心,所以會在錄影完畢後,在iMovies的Main track逐張Slide的圖像加上去,再在Main Track之上加上有「 人頭」的部份作Picture-in-picture.

問題來了:在Google Slides入面只能逐個Slide「手動」Export為圖像檔!如果多Slides的話頗費時。其他可Export的格式包括PowerPoint及PDF等,而這些格式又能否「一次過」轉為多張圖像呢?答案是可以的!特別鳴謝兩位網友(Link1, Link2)

我在此簡單描述一下步驟:

  1. (在Spotlight)打開Automator
  2. File->New->Choose "Application"
  3. 在左邊Library選PDFs,把Render PDF Pages as images拖到右邊。
  4. 再在左邊Library選Files & Folders,把Move Finder Items拖到右邊。(不然會找不到之前一步的檔案)
  5. Save(為此Automator Application改個易記的名字)
  6. 在Finder把PDF拖到這個新Application即可把它轉為多張圖像
不知Windows有沒有對應的內置功能?


Wednesday, January 21, 2015

Action camera pioneer, and Apple

Did Apple computer invented the first smartphone, the first MP3 player, and the first Windows GUI? Some people would like to make you think so. Add action camera to the list. Apple has been granted patents for wearable camera. It's a matter of time that you see GoPro listed alongside Handspring, MPMan and Xerox.

Tuesday, January 06, 2015

Calendar Event Custom alert time

I have been a detractor of iOS products for years with mixed (more negative than positive) experiences on early generations of iPod, iPhone and iPad. Gotta admit I became more mellow these days and actually think it might be possible to live in an iWorld without other OS. I mean, there are enough things to do on an iPad to occupy all 24 hours of a day in your life (if you have an electrical outlet nearby or an external battery :P) But then there are moments that reminded me I still need a non-iOS device to achieve some very simple goals, like setting a "3 week before" reminder of an event on the calendar (You can't do that with the builtin Calendar app of iOS8) which I had to perform with my Android phone.

Tuesday, October 28, 2014

The Apple post

I am writing this as part of my effort to cleanup my long-forgotten-unpublished draft posts. Before talking about old news, I will start with a new one: RiteAid and CVS (two popular pharmacy chains in US) blocked Apple Pay over the weekend in thousands of stores. My first question was: wasn't Apple Pay become usable very recently? Why would a business reverse its decision so quickly? Well, it turns out: (1) RiteAid and CVS have installed NFC (near-field communication) terminals at some stores some time ago, not for Apple Pay. (2) RiteAid and CVS are NOT partners of Apple Pay. It just happened that the existing terminal works with Apple Pay, for a few days before being disabled. The "casualty" also included Google Wallet. Some Apple supporters were very vocal about this and claiming they will not buy from those stores anymore. Well, is it that big a deal? Currently only iPhone 6 owners could use Apple Pay anyway. Do you think it's a high percentage of the drug stores' customer base? And, most people shopped at a pharmacy when they really need the stuff (e.g. medicine) quickly so they just go to the closest one or the one they know will have the stuff. Do you think people will do otherwise just because it doesn't accept Apple Pay? Is it so much more troublesome to pay with (gasp) cash? And one news article brought out another point to support Apple Pay: iPhone users are richer than Android users. I can't argue with that ('coz it's true when it comes to my friends) but is that relevant?

An old news from August 2012: More than $60,000 worth of computers, jewelry and personal items have been stolen from late Steve Job's home in Palo Alto. A report in the San Jose Mercury News says that the burglar made off with iPads, iPhones, Macs, Tiffany jewelry, Beats headphones and Cristal Champagne, among other items. He also took Steve Jobs' wallet, which contained his drivers' license and $1. McFarlin, a former San Jose State football player, has confessed and has written a letter of apology to Steve Jobs' widow, Laurene Powell, the Mercury News reported. Maybe he could write about his experience later. I'm sure a lot of people want to know more about what the house is like.

Finally, I commented on a report from July 2012: ABI Research recently predicted that in coming years, smartphone users around the world will be downloading and using fewer and fewer apps. What will they be doing instead? Using the mobile Web more and more, according to senior analyst Aapo Markkanen. Do people still remember when iPhone first came out, no app developer kit was available and Jobs was pitching software would be available on the phone by 3rd party (non-Apple) as Web application? Once again it proved he was such a visionary. I am no iOS expert but read that some App are actually "wrapper" on top of browser-webapp-based library. Anyway, as of 2014, I found most businesses still prefer users to download their own apps on iDevices, like Yelp or Groupon (the links from emails actually won't work with mobile Safari for me)

Tuesday, October 07, 2014

Tech from the olden days

I am cleaning up some really old posts that I wrote way back yet still in draft status. The title used the term my daughter likes to play with: olden days (which apparently many others found interesting too. In fact, it has a long history according to this.)  All those posts are consolidated here.

1) Workaround was needed for sharing files from Win2K to Win7 Home Premium Edition (dated 2009.) Those were the days I still used a Win2K laptop as our home NAS. It required a registry change.

2) Guest Additions (dated 2010) was for VirtualBox. I needed it back then for sharing files between my VM and the host (and I still need it now!)

3) Dell DJ 20 Gen 2 was my latest toy in 2010 (and I still listen to it almost every night!) When it was newly released in 2004, it cost >$100 and I bought it for $40.

Its drivers were still available for download from Dell in 2010 (not sure if the link works now.) It is not a plug-and-play device on Win7 and the Windows driver needed to be installed for it to be recognized. The WinXP driver actually works on Win7 too. Also, to use subscription service like Rhapsody, one needed to upgrade the player with a PlaysForSure compatible firmware (the last one on the page) Unfortunately that .exe only works on WinXP so you need to somehow find one. And when I ran it, it stuck on "Restarting player" even though the player was restarted (and upgraded) Fortunately it didn't matter. I just close the installer and it didn't cause any problem. Once the player has been upgraded, you could still transfer subscription tunes using a Win7 computer.

Fast forward to 2014: I could use my Dell DJ 20 on my Win8 PC in plug-and-play fashion. I couldn't get it to work with the Rhapsody client though. Rhapsody no longer officially supported it (no more PlaysForSure?) Today it plays non-DRMed files for me only.

4) CopyTrans is a free tool for copying songs to iDevice without iTunes

5) 2009 was the 50th anniversary of COBOL. It was obviously an important milestone but it's also one of the few major computer programming languages that I knew little about.

6) Shozu was an iPhone App I experimented with (and wanted to recommend) for posting to Blogger. I don't think I used it that much after I drafted that post in 2008 with it though :P

Fast forward to 2014: the official Blogger app on iOS is free yet still not very good. I'm writing this on a PC instead.

7) I wanted to raise awareness of radiation level in Hong Kong back in March 2012. Excerpt from the CNN article:
When Pieter Franken visited Hong Kong one of the first things he did was measure the level of radiation in his hotel room. "The whole idea is to measure everything (rather than only performing spot checks)," said Franken. Hong Kong lies just 50 kilometers from a nuclear power station located in Daya Bay in Guangdong province, but its 12 permanent radiation monitoring stations are not in heavily populated urban areas. On a six-hour drive around the city's major commercial and residential, Franken mapped radiation levels with a portable monitoring kit devised by Safecast. All the data is publicly viewable as interactive heat maps on Safecast's website. The drive revealed that Hong Kong had a constant level of radiation that hovered around 0.2 microsievert per hour for an annualized dose of 2 millisieverts. This was slightly higher than the 0.1 microsievert per hour that Safecast mapped in the major urban centres of Tokyo and Beijing. One millisievert per year is an internationally-recognized nuclear factory guideline for exposure to radiation by the general public, according to Dr. John Leung, radiation expert and physics professor at the University of Hong Kong. "Your risk of having cancer is increased for 4 to 5% per sievert of radiation your body absorbs," explained Leung. "The way to control it is to receive as little as possible." On his drive around Hong Kong Franken wanted to see how localized the radiation was, "but it seems to be all over," he said. Franken believed that the common denominator throughout the city, concrete, was a key source of the radiation. Or more specifically, the locally-sourced granite aggregates used in place of pricier cement to make the concrete. "Hong Kong is lying on a high-background radiation level because the radionuclide content in the granite in this region of the country is a bit higher than the world average," said Leung. "There is more uranium and thorium in our granite. It's natural." A study conducted by Leung and his colleagues in 1990 found that the gamma radiation dose rate of local soil to be 1.8 times the world average. Hong Kong's concrete infrastructure poses no immediate harm to residents' health, but some wonder if more attention should be given to how buildings are made in the city. "When we make concrete, we don't pay attention to the mineral content of the rock, so long as it is strong enough," said University of Hong Kong structural engineering professor, Albert Kwan. "If it's really is the case (that local granite has elevated radioactivity), perhaps we should import our granite from elsewhere." The everyday doses of radiation we encounter are far from being fatal in one shot, but it is the accumulated exposure that may be cause for concern. To reduce everyday levels of radiation Safecast suggests opening doors and windows to ventilate rooms. This minimizes the accumulation of radon - a radioactive gas produced by the decay of naturally occurring uranium and thorium. Inhaling radon - one of the leading sources of human exposure to natural radiation - in the home and workplace causes tens of thousands of deaths from lung cancer annually, according to the World Health Organization.

8) I was experimenting with booting to a Live version of Arch Linux on a USB drive on my personal laptops in 2009. larch was the next thing to try after my FaunOS experiment.

I basically followed the instructions and also did the followings:
I) make a copy of an existing profile. I copied xmini to a new one named "my"
II) I changed the addedpacks by
- remove all xfce* lines and added one line with jwm (pacman cannot find those xfce related packages and I prefer jwm anyway)
- remove aufs (otherwise I got error about dependency on pre-2.26.29 kernel. It has actually become part of the new kernel anyway. However, the included one is aufs2 and it doesn't support "Merging overlays" when you save sessions from running the resulting image of larch.)
III) create a directory for building the image. Make sure it is on a filesystem with lots of free space!
IV) the command should be./mklarch -ug -p ./larch/profile/my [dir created in 3]

Fast forward to 2014: I tried something similar again: Live Ubuntu on USB on my Intel Core i5 laptop. The performance was horrific. Slow to boot and slow after boot (probably worse than the 2009 experiment!) I ended up buying a $50 60 Gb SSD (el cheapo and SSD didn't appear in the same sentence back in 2009) and installed Ubuntu 14.04 properly on it. I like this setup. It didn't require much tweaking at all and most things work out of the box (except this)   

Saturday, March 16, 2013

The iTunes-less way

I prefer not to install iTunes on my PC because Apple is acting more like Real Network these days: it wants you to install Safari, QuickTime and so on. And it has background process unnecessarily running too! My mission is to transfer a few tracks to my daughter's ipod (a hand-me-down) Free ware CopyTrans manager saves the day. Make sure you're downloading and running the right piece of software though because there's another from the same folks simply named CopyTrans (without the word manager) It also needed iPhone/iPad/iPod drivers already installed to work and they kindly provided a CopyTransDriversInstaller for such purpose.

Friday, October 07, 2011

巨星隕落

我想大家都知我指的是Steve Jobs,他去世後,連日來一大堆人吹捧他為天才甚至偉人,略嫌誇張。不過以他的星級魅力,稱他為巨星,絕對實至名歸。雖然我不欣賞他公司旗下大部份產品,但一部Apple][就已贏得我對他一份尊敬。今早踩單車我特地繞道到他家憑弔,街邊已放了防止泊車及禁止汽車駛入橫街的圍欄,相信周末場面會更墟冚。以前我們為蘋果日報寫矽谷手記專欄的日子,必定會寫這單大新聞。想不到今天竟然倒過來被蘋果日報記者採訪!

Thursday, April 30, 2009

Topic of the day: Boycott Pocket God

Imagine you are a minority in your country and there is a game of which the object is to kill and torture people of your race. Will you be offended? I would be furious!

And that's what the iPhone game Pocket God did to Pacific Islanders. I thought Apple has a high standard on approving apps to be sold at their App store. Well, probably not.

The sad thing is: the maker of this game is going to make even more money because of this publicity (for example, idiots like this are encouraging people to buy and try the game.) It proves once again no publicity is bad publicity. Shame on them!