Sky viewed from inside of a well…

All Unix are not created equal.

Usually chmod is for changing rea/write/executable bit for users/others/group for folders and files.
however, on Debian Linux, it’s usermod.

I remember that I guided student at my graduate school for Unix.
I told them, “Although you are quite sure of Unix command, always look up MAN page to make sure.”
There was a guy who think he knew Unix very well and didn’t listen to me. He issued “ln -s …” command to make a link file.
However, HP Unix and SunOS were different on that.
One had “ln -s <source> <target>” while the other had “ln -s <target> <source>”.
I don’t remember which one is which. Anyway he ended up deleting all files while doing that. He used *.

When I joined the company I work for, I heard that my XXXX called someone to make him give me some repository info and told “he doesn’t know Unix, so please explain him well.”
Thankful.. but I thought he was very near-sighted.
There was reason why He thought so. I didn’t use command line version of svn when being interviewed or some point of time. When he asked me if I knew how to use it, I answered, “I know, but I have to look up MAN page.” He took it as an excuse? or deception to hide that I didn’t know Unix.
Most people who are from India, Russia, US and Britain tended to think as such.

It means that they didn’t have broad experience in Unix and whatever they are talking about for the situation.

The reason is because of this.. I have used CVS and Subversion a lot. However, I also used Git, Mercurial, Bazzar and so on for open source projects.
What’s confusing was that.. between Subversion and Git or Subversion and Mercurial, or Git or Mercurial, pull and fetch are different, although they use the same ‘word’. Because I have used all of those, and once I started to use other than Subversion, I relied on GUI frontend of those programs rather than CLI version to minimize mistake. Also, as I said above, I know that often some very common Unix command doesn’t exist on one specific platform. Or even though it exists, sometimes what they do is different.
ifconfig is also one of such example.

Because I know that I always look up MAN page first. It doesn’t take long time. Because I already know what they are, i can skip most of those contents and just confirm what command is the one I really wanted.

My xxxx didn’t know such thing. He only seemed to know the Unix of Mac OS X.

How different Slackware, RedHat, Debian, Ubuntu, Mandrake were?
Also BSD Unix and AT&T Unix are different.

What’s funny about western people is that they don’t respect the person whom they talk to first, and tend to think that they know more than the other and look down on.
However, how can a frog in a small well can measure how big outside of the well is.


The necessity of multi-slice, simultaneous upload/download slices for file transfer over HTTP

In the era of modems, FlashGet was very unique and useful downloader. It sliced original file to download and each FTP session assigned to each slice was downloaded independently and at the same time. It boosted download speed.

In the era of Web, shouldn’t there be a program or HTTP feature like that? Also, Mike Zuckerberg, the CEO of Facebook said that video post will become mainstream soon. However, even the mid service of ISPs like AT&T does’t have sufficient bitrate for live streaming and also for non live, uploading video takes too much time. So, even for ‘Uploading’ side, shouldn’t there be such multi-slice upload feature?

Open letter to Apple

1. Why didn’t Apple reduce the price of 3.5mm earphone when they announced a lightning earphone? They have the same price, $29.99.
2. Apple suffered decreased sale of Mac. Do they know why their Mac becomes less attractive?
   – No meaningful update for long period of time.

   – No user upgradable memory and storage devices. Why should users pay more up-front after estimating the growth of needs in a few years? Compare prices of memory and SSD/HDDs nowadays on Amazon. Isn’t it better for users to replace memory and storage devices when they need more?

   – By making batteries not replaceable, Apple could use every inch of their internal space for filling up with batteries. But isn’t it better to have standardized battery pack and made it user replaceable? 

  – A few years ago, batteries, memories and storage devices were user-replaceable and it was the best in the industry. Computers are different from phones. Why does Apple people cripple Mac and make it less attractive?
  All of above are why Apple’s Mac becomes less attractive.
3. When they were almost out-of-business, they aggressively accepted X-Windows, Unix ( well.. OS X is.. ) and ‘research market’. They closed price gaps between Mac and PCs although Mac was still more expensive than PCs, the price gap was narrowed noticeably. 

Now, after Apple made a lot of money and put those in their pocket, they started not to care of those. 
4. Nowadays even iPhones have 128GB or 256GB or storage devices. Well, among those 3GB are said to be ‘main memory’ ( for the latest iPhone 7 Plus )

However, take a look at MacBooks. There are MacBook and MacBook Airs with 4GB of RAM and 128GB of SSD. What a shame! Nowadays S/W requirement went up even more, so people need more memory. Then shouldn’t the lowest spec is like 8GB of RAM and 256GB or 512GB of SSD?

And 16GB of RAM with 512GB of SSD model should not be that expensive. Those should be around $1000.

8GB RAM with 256GB SSD should be like around $600 to be competitive.

Now, even MacBook Air reaches sub $2000 when you order 8GB with sufficient storage space for installing Windows. Especially if you consider that this is the era of video, you should pay more to get ample amount of storage space.

So, Apple’s usable low spec started around $1800. What the….
There are 2GB or 4GB machine in the Windows world? So, it is OK to have low spec of MacBooks? No way.

Those Windows machines are for kids. You can’t do serious things with those. I’m pretty sure those are answer to Google’s Chromebooks. Are you in the market?
No way, Apple. Be realistic.

Be aggressive when you are still strong. 

There is no more Steve Jobs to come back to Apple when Apple becomes almost out of business this time. 
Apple, make your products attractive when you are strong. If you try doing that only after Apple is endangered to be gone out of business, it becomes hard to make the company alive.

Difference in screen lock handling between iOS and Android

Most people compares one platform with another platform by specs like how much memory they have, how much higher pixel density their screen have, and so on. Well, that’s one measure for comparing ‘Hardware’ but not for ‘Platform’. Even pundits don’t seem to understand the differences between ‘platform difference’ and ‘hardware difference’.

So, to them Android is same to iOS. But to me, they are whole lot different.

I have an iPad mini 2 and Motorola Moto-X gen 2. I’m a person who are on multi platform from PC era and use them very fluently. I’m actually a S/W engineer on Linux ( and other Unix), Mac and Windows ( and iOS).

People I run into in the US are not really multi platform-savvy developers. They write code in their own style. I’m different. I write Mac code which look like Apple’s code, and Windows code like MS’s code. It’s based on the understanding of different philosophy of such platforms. What’s funny is that interviewers who interviewed me tried to judge me with their own standard, but once I worked with them, I found out that they lack such kind of thing, and they are very obstnate and doesn’t admit that there are better ways to do. Usually they think ‘inside of a box’ rather than ‘outside of a box’. So, that’s why they don’t learn from Apple’s coding style, MS’s coding style, Google’s coding style and so on. There is no one good solution, but there are reasons why things are written such a way especially with APIs they use.

Then.. those people usually are not good at comparing platforms and stick to ‘hardware spec’ based comparison usually. They will not understand what the humanity means when Steve Jobs said Apple understood the technology and the humanity and it’s good at combining them.

It’s that they consider how people think, how people react, how people behave and so on when they use apps.

For example, on a login web page on iOS, if the virtual keyboard pops up, the web page is slided up to prevent the virtual keyboard doesn’t hide ID and password fields. However, on Android, it usually don’t . They don’t care whether the virtual keyboard hides those fields or not. Usually the keyboard is drawn on top of those fields.

Apple cares such thing. So, they put such behavior in the underlying system, not giving the responsiblility to app developers.

How lock screen works shows such differences. On the both Android and iOS, you can set what minutes later it wil lock the screen.

[Fig. 1] Screen Lock setting on iOS

[Fig.2] Screen Lock setting on Android

However, there are differences.

On Android, if you press the power button or don’t do anything, then it wil lock the screen. To access the home screen, you should unlock it.

However, on iOS, it actually wait for the minutes/seconds you choose whether you hit power button or the iDevice goes to sleep mode automatically due to no access for the given duration of time. So, even though you hit the power button to turn off the screen, if you hit it again, you can immediately access the home screen or the front-most app you were using.

If you need more security, then you can lower the time to wait or you can lock it immediately.

Which one is more convenient to use while provide security? It’s iOS, not Android.

Especially when you wear gloves, it’s very inconvenient to use Android.

There are this kind of differences between iOS and Android. If the engineers only compare hardware spec, they can’t close the gap, although it doesn’t mean that they can’t sell Android phones.(Because there are people who don’t see the differences. Do you thin it’s because it’s not inconvenient? Well, if you think so, think again. )

How to make iOS devices more attractive

This is actually a message to Apple. I’m thinking about sending it to Mr. Cook.

Apple is nowdays struggling in global market and it now has lower market share than Android.

Still their profit share is the more than any one else, and probably it’s still more than 90% globally.

However, iPhone/iPad business is not like TV set business. There should be many developers who want to create apps for iOS. If iOS market is decreasing in terms of market share, more and more developers will make their apps for Android not for iOS. Actually this kind of trend is already started. Previously, serious S/W companies or individual developers didn’t consider Android too seriously. They still did by considering the future of Android, which would eventually catch up the status of iOS. Samsung, which takes the biggest chunk from Android phone market, doesn’t necessarily make as much profit as Apple does. The reason is that they even do promotion like “By Galaxy 7, then we will give you free 32″ TV” or “Get Galaxy 7 and get another one for free”. Or even in S.Korea, I have heard that even the flagship phones like Galaxy 7 becomes ‘free phones’ quickly, which is called “Gong-Cha-phone” or “공짜폰’ in Korean.

So, by considering all of that, Apple’s high profiled people, who decide the future plan on how iPhones should be like, and so on, can still think that it’s still good now. But.. think this way. If small drop of water is leaked, a dam can be broken eventually, because the hole will become bigger and bigger and eventually lots of amount of water will flow through the hole.

Recently there was news saying that Apple lost ground in India too.

In China, their home players now take 2nd~4th position in terms of market share.

Also, due to THAAD, which is to be installed in S.Korea, many Chinese people throwing iPhones away or smashing iPhones on streets as street performance. Why? Apple is an American company!

Anyway, in every angle, Apple faces some big challenge.

Then, shouldn’t Apple make their iPhones or iPad more attractive? It’s also true with their Macs. But let’s talk about iOS devices only.

Unlike Samsung and many other Android phones/tablet makers, Apple doesn’t allow two big things.

  • SD card slot
  • Replaceable battery.

So far, we were OK wth this. However, nowadays I see more and more people try to record video with their iPhones or iPads. However, there is one big problem.(Actually two. But let’s say you can always find an outlet for hooking up your power cord. So, the 2nd factor, ‘replaceable battery’ is gone, at least. But still there will be some situation you don’t find such outlet. Then if the internal battery is discharged, then you can’t shoot video anymore. )

Apple people would think “Ah.. you can buy the 128GB model, which is the biggest at this moment. However, I don’t like that idea. People would bought 32GB or 64GB model at first thinking that it’s sufficient. However, they often forget that iOS device is not only for taking photos and videos. They use it for listening to music, podcast, reading books. Also they use apps like Facebook, Twitter. Both of them now started “Live”. For Facebook it’s “Facebook Live” and for Twitter, it’s “Periscope. There is another big guy.. YouTube. What does it mean? They would leave big chunk of cached data. Then, once-thought-sufficient 64GB iPhone or iPad is not sufficient anymore. How about the 128GB model? It’s just matter of time! They now even allow recording 4K video! ( I wonder if it’s meaningful to watch 4K video on small mobile device’s screen or even on TV set. I know, I know. There are 4K TVs. However, does 1080p full HD TVs look bad suddenly? Well, let’s set aside the fact that there are not many 4K content. I don’t know if 4K content will be introduced more and more, or if it would perish like 3D TV and its content. 2K and 4K were made for big silver screen for theaters, not TVs for home. Big screen in most of living room setup makes me dizzy. Ok. There are 50″ 4K TVs which are OK. But isn’t 1080p content look great on 50” TVs? Why 4K? I know that technology evolves without real good use case often. If you are not film maker, shooting 4K video would not be meaningful. Well.. who knows.. 4K TVs becomes more popular in coming years, and people just shoot 4K video without realizing that TVs installed at their home are not so big to get benefit from 4K. )

Here is a photo which shows how much space you need for shooting video. (From )

open the image in a separate window or tab to see in its full size.

Amount of space needed for shooting video

So, for 720p, 60MB for 1 minute. If you are to shoot 1 hour of lecture, it’s 3600MB or roughly 3.6GB.

For 1080p at 30fps, 130MB for 1 minute. Then for 1 hour, 7800MB or roughly 7.8GB.

Nowadays YouTube takes 1080p 60fps video. Then.. 200MB for 1 minute. It’s 12000MB or roughly 12GB.

Do we need to calculate for 4K?

Considering that you would lots of music, podcasts, photos and so on, I doubt if your iPhone would have sufficient free space for taking video, without removing those. Well, nowadays there are some lighting thumb drive with which you can move those data to the external thumb drive. But, you can’t move apps to the drive, especially if you have lots of apps installed. The Leef thumb drive allows to record video on it…. with their own special app. It means, your Camera app from Apple, iMovie would not recognize the video. You have to move them to the internal storage. Although they put marketing slogan like “Expand your iPhone’s memory space.” But it’s false marketing. It’s not for ‘expanding’ but having another separated storage which any iPhone apps can’t recognize without implementing those apps to recognize the Leef thumb drive. So, if your iPhone has 1GB remained as free space and addd 16GB Leef thumb drive, the space you get for video recording is not 17GB but 16GB ( reduced from 16GB if you consider file system formatting. )Also, you can’t move 4GB of video back to iPhone/iPad to edit with iMovie. You would say, “I can move some audio/video files to the external one and have some more free space.” But what if you record in 1080p at 30fps for 1.30 minutes? Or how about recording in 4k?

Eventually, you will fall into the situation I described so far. Also, it’s not fast enough to transfer files. I have heard that a lighting cable is basically an USB cable with a lighting connector. It doesn’t look like the all-in-one cable, the thunderbolt cable, which allows many different protocols like HDMI, ethernet, SATA, USB, and so on can flow. (Wait! It’s not correct. There is a dongle for iDevices for connecting an HDMI cable. Anyway.. ) Whatever underlying protocol it has, it’s slower than internal SD reader circuitry if it has. Test this with your Mac mini or and MacBooks (Air, Pro) with an SD card reader. It’s faster than puttting the card into SD card reader USB device and connect to your Mac through its USB port. (Whether it’s 3.0 or not. ) In a situation like recording a lecture live, copying to a device like Leef thumb driver can be slow. It’s just better to pop out an SD card and inser another spare blank SD card and keep shooting video. Then you have a chance to move the content in the SD card you just pulled out from your phone to a desktop computer or a notebook computer. (This can be one of many reasons people prefer using a camcorder or a camera with video recording feature.( and with external mic.) 

So, in this setup, current iDevices, which don’t provide an SD card slot, has limitation in shooting video. Well, you can say you can use the Leef thumb drive. But again it’s not for ‘expansion’, but for ‘addition’. If there is a built-in SD reader, it will be possible to handle such situation better. As far as I know, Samsung’s Galaxy phones handles an inserted SD card as ‘expanded memory’ or ‘extended memory’. There is a difference between those if you remember IBM XT and AT era. ‘Expanded memory’ means that the added one is now part of the address space of the original one. On the other hand, the ‘Extended memory’ means that the added one is in a separated memory space, but can be switched to use the new memory space. So, it can have the effect of ‘addition of memory space’. But they can be accessed like an additional HDD in a way that apps installed on the machine can access file contents in the additional HDD, which is not possible with current Leef thumb drive. Probably it’s due to sandboxing. However, wouldn’t it be really dangerous create and access files on the added  storage from iMovie, for example? If something else is trying to access the ‘internal folder’ for saving files in iMovie bundle, then it’s a problem.  But if the added storage is marked as ‘public’  and any apps can read and change contents in it, it will be safer. (Hmmm… but there is a still problem. If the file contains a virus  and have a capability to ingest code to or the code is executed from iMovie… )

People with Samsung’s Galaxy phones don’t need to worry about this kind of thing, because they have built-in SD slot, although Android doesn’t have a good video editor for Android phones like iMovie. That’s another issue. But anyway, they can swap SD cards and take those SD cards to their home. then on their PCs or Macs, they can use any video editor to edit those video footages. So, practically there is no problem for not having ‘iMovie’ for Android. I prefer to use my computer than my iPad mini for video editing anyway, if I have to.

So, if Apple people change their mind and decide to add an SD slot for iPhones and iPads, it can be a lot better for video shooters.

Or they can differentiate iPhone and iPad like this. (MacBooks is added for classification, because iPad Pro starts to conflict with MacBook for ‘mobile’ device considering that even 13″ MacBook Air and Pro are not too heavy to carry around. 11″ models? They are even lighter.)

  • iPhone : portable all-around device without good memory expandability. “Portability and simplify is the key of the device.” So, it doesn’t have an SD slot. Anyway video shooter will prefer bigger ‘view finder’, which is the iPad screen.
  • IPad: portable all-around device with good or decent memory expandability for covering more various needs. So, it has an SD slot.
  • MacBook : It doesn’t have the limitation of closed file system of iPad like too restricted sandboxing, no ‘more flexible’ multitasking which can display more than 2 windows from different apps visible at the same time. Also, you can bring up Safari for checking people’s response on YouTube, Facebook, Periscope, to name of the few.

With the addition of an SD card slot, more video shooters would choose iDevices over Android and even still cameras with video record capability and real camcorders. ( for more advanced use, they will prefer camcorders or still cameras still, but at least, under a situation where people just carry one mobile device and happen to shoot video… iDevices will be more suitable. )

How about other users? It’s also good for them! Then can start with a model with lower memory and as their needs grow, their iDevices can grow. 

For Apple? Don’t they manufacture at multiple line based on the memory size even if the same model? Or they can slice times, and they may produce 16GB model from 9:00AM to 12:00 AM, and 32GB models from 1:00 PM to 3:00PM and so on.

However, if they provide a built-in SD slot, there can be only one variation, and they don’t need to worry about what to manufacture more. Also, it’s good for inventory management. Let’s assume that they manufactured 32GB model more than 64GB model. But on the market, actually 64GB model was more popular. As a result, they have a stock of 32GB model which were not sold., while they lack 64GB model to sell. Then they have to change the line to manufacture more of 64GB models while they need to liquidate 32GB models on the market. That’s bad.

So, I think providing an SD slot is good for every participant in the scenario.

Out-of-order ratio? I have heard that generally mobile devices with an SD slot have higher out-of-order ratio than the ones without. So, I have heard that it’s the reason Apple decided to get rid of the SD slot. I doubt if it’s the real reason. Probably the plot to have people to change their phone to thigher ones by paying more $ is the real reason. If it’s true, providing an SD card slot is bad for Apple. But.. who knows. Due to the versatility, more people can buy iPhone over Android phones.

The second factor, replaceable battery , also has the similar situation where it’s better to have a battery replaceable. So, I would not mention it.