The End of the Apple Magic?

I have just read what Apple shown at the WWDC 2016.

In the 1985 Windows 1.0 was born. In a snap, the IBM compatible system evolved, and the competitive advantage of the Macintosh dried up and disappeared.

IBM PC was cheaper and way more open.

Like in the 1985, now in the 2016 the iPhone revolution has come to an end. After the Retina Display introduction, no real new feature was introduced. The apple Watch was beaten by competition.

Two years passed with no true innovation (i.e. Apple Watch is not a revolution).

The last MusicApp removed the beautiful cover navigation, and try to sell you the apple music rent service all the time, instead of let me play the music I have already bought.

If the WWDC2016 breaking news is a new file system, it is a very poor gift. I am writing this note on a Windows 10 PC. It is not a shining operating system it freeze a bit and has still a very ugly backup engine, but MacOSX is not the “most advanced operating system” anymore, like it used be in 2000.

MacOSX is the oldest one nowadays.

Historically Apple system are very closed. The reason is simple: when you go to your shareholders and ask for money, you can show you have a competitive advantage, a strong set of feature no one can take apart from you. But Apple lost this war in 1985, when the high pricey Macs cannot compete with open IBMs clones.

To be fair, IBM could open to clone market because its business was on high-end server, and Microsoft alliance will help to sell more IBM PCs.

Continue reading “The End of the Apple Magic?”

Solving Emacs Freeze and/or Slowdown on windows7

So you know I need Emacs on every PC I use.

On windows7 I stick with a linuxVM when possibile, but sometime you need maximum speed, and EmacsWin32 is a good guy. Then I read the exact description of my problem…

Emacs on my Windows 7 work laptop was annoying slow when starting (around 10s). If closed and restarted, startup was immediate until, after about 30 seconds, it was slow again. According to Google, slowness might be due to failing DNS lookups of the laptop’s hostname.

and I find out this solution: stop netlogon service via a command like

net stop netlogon

The add also this line to your .emacs…

(setq w32-get-true-file-attributes nil)

ForceBindIP – Bind any Windows application to a specific interface

ForceBindIP is a freeware Windows application that will inject itself into another application and alter how certain Windows Sockets calls are made, allowing you to force the other application to use a specific network interface / IP address. This is useful if you are in an environment with multiple interfaces and your application has no such option for binding to a specific interface.

via ForceBindIP – Bind any Windows application to a specific interface.

Using iPhone/Android Tethering features, you can end up with a

  • Strong cable-network for web browsing
  • A nice UMTS connection for your ssh script kids :) bridged by your iPhone/Android  SmartPhone

 

Proxy NTLM

Spesso capita di dover scaricare file al di fuori del browser: per esempio per installare software o per consentire ai propri programmi python/java/curl di effettuare delle azioni programmatiche

Se avete problemi con i proxy Microsoft (cosa abbastanza comune, vista la diffusione), su Internet trovate una soluzione:

Cntlm Authentication Proxy vi consente di avere un proxy integrato con il meccanismo non standard usato da Microsoft per autenticarsi. L’utility funziona molto bene, e potete integrarla con cygwin e/o python definendo la seguente variabile d’ambiente

HTTP_PROXY=http://127.0.0.1:3128

Grazie a questo trucco aggiuntivo, il proxy sarà usato da libcurl e da python.

Per Java invece può bastare lanciarlo con

java -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=3128 classe.da.Lanciare

Junction: symbolic directory links on Windows

Windows 2000 and higher supports directory symbolic links, where a directory serves as a symbolic link to another directory on the computer. […]Directory symbolic links are known as NTFS junctions in Windows. Unfortunately, Windows comes with no tools for creating junctions—you have to purchase the Win2K Resource Kit, which comes with the linkd program for creating junctions. I therefore decided to write my own junction-creating tool: Junction

Continue reading “Junction: symbolic directory links on Windows”