Archive - E

Sunday, August 14, 2016

Macbook Air

Show the Path in the Finder Title Bar

https://www.tekrevue.com/tip/show-path-finder-title-bar/


defaults write com.apple.finder _FXShowPosixPathInTitle -bool true; killall Finder

 

--------------------------

Use the Go To Folder Keyboard Shortcut - use this to go to root folder in Finder

Go To Folder is easily one of the most useful keyboard shortcuts in the OS X Finder since you can jump anywhere instantly, and the root directory is no exception:
  • Anywhere on the Mac desktop, hit Command+Shift+G, then type / and hit return to jump to root (Macintosh HD)

-------------

Moom, Zoom
Utilities for moving windows easily.

Saw video about them here. But they may not show up next time I visit.
http://www.macworld.com/article/2972775/os-x/how-to-check-your-macs-free-hard-drive-space.html
Posted by Paul at 5:49 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Python - Mac Air

http://www.macworld.co.uk/how-to/mac/coding-with-python-on-mac-3635912/
Python 3 is the newer version of Python, so you can be forgiven for assuming that it's the best version. "Best" is pretty relative, though, and although Python 3 introduces a lot of new features, it also introduced a lot of incompatibilities.
Because coding in Python relies on using libraries of code developed by other people, this isn't a good thing.
Also, we've found that the major learning programs, from MIT to Codecademy, all use Python 2 to explain coding. These programs won't always work if you're using Python 3. So until you know what you're doing, stick with Python 2.

This page seems to give a lot of the same instructions as the page below, The Hitchhiker's Guide to Python.

---------------------------------------

http://docs.python-guide.org/en/latest/starting/install/osx/

This opinionated guide exists to provide both novice and expert Python developers a best practice handbook to the installation, configuration, and usage of Python on a daily basis.

The version of Python that ships with OS X is great for learning but it’s not good for development. The version shipped with OS X may be out of date from the official current Python release, which is considered the stable production version.


----------------------------------

16-8-15
Installed Xcode 7.3.1

------------------------------------------

https://developer.apple.com/news/?id=09222015a


To verify the identity of your copy of Xcode run the following command in Terminal on a system with Gatekeeper enabled:
spctl --assess --verbose /Applications/Xcode.app
where /Applications/ is the directory where Xcode is installed. This tool performs the same checks that Gatekeeper uses to validate the code signatures of applications. The tool can take up to several minutes to complete the assessment for Xcode.
The tool should return the following result for a version of Xcode downloaded from the Mac App Store:
/Applications/Xcode.app: accepted
source=Mac App Store

and for a version downloaded from the Apple Developer web site, the result should read either
/Applications/Xcode.app: accepted
source=Apple

or
/Applications/Xcode.app: accepted
source=Apple System



16-8-15 I did this, but terminal is not returning anything. Kinda stuck...
After several minutes, it says:

/Applications/Xcode.app: accepted
source=Mac App Store

--------------------------------------

16-8-15
Installed Homebrew.
By typing:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Installed version confirmed:
brew --version
Homebrew 0.9.9 (git revision 4309; last commit 2016-08-14)
Homebrew/homebrew-core (git revision 8e02; last commit 2016-08-14)

Installed pip by typing:
sudo easy_install pip

pip --version
pip 8.1.2 from /Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg (python 2.7)
 

-----------------------
Installed SublimeText because it's #3 on SERP for "python text editor for mac"

Also:
Sublime Text: This is my personal favourite. You can download and use it for free, although it'll occasionally nag you into paying for it. A slick interface that's easy on the eyes with great formatting control.
http://www.macworld.co.uk/how-to/mac/coding-with-python-on-mac-3635912/

Sublime Text is available for OS X, Windows and Linux.

----------------------

ddd

Posted by Paul at 5:30 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

The beauty of data visualization - David McCandless

https://www.youtube.com/watch?v=5Zg-C8AAIGg

Good examples.

The interactive chart showing scientific data for health supplements (green tea, fish oil, acai, etc.) is interesting.

His work can be seen at:
http://www.informationisbeautiful.net/blog/
Posted by Paul at 6:08 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Saturday, August 13, 2016

Okinawa, Japan Travel

Beaches on Okinawa Main Island

http://www.japan-guide.com/e/e7119.html

 While Okinawa Honto is not considered to have the prefecture's very best beaches (these are found on smaller islands such as Miyako), it, nevertheless, has some attractive beaches where visitors can enjoy the sun, sand and sea. See the list below for some of the island's best beaches and snorkeling spots.

Cape Maeda

Admission: Free, 100 yen per hour parking fee
Cape Maeda is located in central Okinawa Honto and is the most popular spot for snorkeling and diving on the island, often busy with groups of snorkelers and divers. Maeda's popularity is well founded, as there is a wide variety of marine life in the area, as well as a cave that you can swim into. Good facilities are located at the site. 

http://www.maedamisaki.jp/en/

Odo Kaigan
Admission: Free, no parking fees
Odo Kaigan Coast (also known as John Man Beach) near the southern tip of Okinawa Honto offers interesting snorkeling with smaller crowds of people. While the marine life is not quite as dense as at Cape Maeda, a wide variety of creatures and plants can be found. Odo Kaigan is mostly rough and rocky, and facilities are limited. 

Cape Maeda
Take bus number 120 from Naha to Yamada bus stop (山田; 80 minutes, 1090 yen from Naha Bus Terminal, morning departures only, or 90 minutes, 1180 yen from Naha Airport; 2 buses/hour), from where Cape Maeda can be reached in a 20-30 minute walk. By car, it takes about 50 minutes (more during rush hours) from Naha if using the expressway between Naha and Ishikawa IC (650 yen one way).

Odo Kaigan
Take bus number 89 from Naha Bus Terminal to Itoman Bus Terminal (糸満バスターミナル, 60 minutes, 580 yen, departures every 10 minutes) and transfer to bus number 82. Get off at Seimei Byoin-mae (晴明病院前, 25 minutes, 430 yen, 1 bus/hour), from where the coast can be reached in a 10-15 minute walk. By car, it takes about 45 minutes from central Naha.

--------------------------------------

Snorkeling

Snorkeling is better on the small islands than on Okinawa Island. Especially Tokashiki is ideal for a day trip from Naha with ferries leaving in the morning and returning in the evening.

Camping

There are many campsites around Okinawa, some on nice beaches. They offer cheap accommodation if you have your own tent and sleeping bag (and mat) for ¥500-1,000/night. Their facilities are sometimes very poor, they have only cold shower for example (and they even charge you for using it!) and no cooking/cleaning facilities. However they often rent out BBQ sets (¥2,000-3,000) which can make the night unforgettable.

http://wikitravel.org/en/Okinawa

----------------------------------------------------------------

오키나와 나하 시내 게스트하우스 추천

Guest House Okinawa Monogatari

http://jino.me/2424

------------------------------------------




 https://zamamitouristinfo.wordpress.com/stay/ama-beach-campground/

Ama Beach Campground & Cabins

The campground has a base fee of 300 yen per person per night to use the facilities (shower, toilets, community kitchen, etc.)  Camping gear is also available for rental as follows:
  • Small Tent (1 person) 1000 yen per night
------------------------------------------------
 http://wikitravel.org/en/Zamami

Camping

There is a campground about a 15 minute walk from the ferry port on the beach with toilet, shower and bbq facilities. They also have some camping equipment to rent. The campground is in a grove of shady pine trees right on the beach.



---------------------------------------------------

8/13/16
https://booking.flypeach.com/en/flight_search?access_uuid=75cabffb-8447-4aff-b22b-29ed4213d9b9

Flights from Seoul to Tokyo (Haneda), Osaka 35,000 won each way 9/21-29
10 kg baggage allowed. No checked-in baggage.

https://booking.flypeach.com/en/flight_search?access_uuid=838b5a32-38a2-4bb9-89b9-ced4337b617c
9/21-29 Seoul to Okinawa 25,000 won each way

Regarding carry-on baggage restrictions
In addition to one personal item such as handbags, cameras and umbrellas, passengers are allowed one item of carry-on baggage (including souvenirs) to total 2 items, and the 2 items must weigh under 10 kg in total.


----------------------------------------------

Allergy season:
  • Japanese cedar sugi (February - April)
  • Japanese cypress hinoki (mid March - early May)
  • Rice plant ine (May - mid July / mid August - mid October)
  • Ragweed butakusa (mid August - October)
  • Artemisia yomogi (mid August - October)
---------------------------------------------------

Unlike mainland Japan, Okinawa is immune from the problems caused from cedar tree pollen.
“There are no cedar trees on Okinawa that bother people like in the mainland,” said Dr. Akira Yagi of the Yagi ENT Clinic in Naha.
Yagi said that Okinawa’s geographical features spare many people from problems.
“Pollen is easily blown away into the ocean because Okinawa is a narrow, long strip of island and therefore breezy and at times very windy,” he said.

http://www.stripes.com/news/for-allergy-sufferers-spring-isn-t-pretty-1.4027

-----------------------------------------------

Okinawa air front changes cause allergic reactions

 As the month of November unfolds, my nose becomes itchy and runny and I’ve started to spontaneously sneeze. Initially, I thought it was just me but from outside of my window I could hear a chorus that was my entire neighborhood suffering from a similar onslaught of symptoms.

 I noticed that the warm trade winds had stopped coming from the southern direction in the fall, and the winds had begun swirling in from the northwest direction. This means that instead of receiving beautiful clean air from the southern Pacific Ocean, we are now receive our gusts from the cold northern areas of China and Korea.  

------------------------------------------------------

The good news about pollen allergies…….. in Okinawa there are none!!! That’s right Okinawa has no hay fever at all!! In fact some Japanese people who suffer really bad travel to Okinawa during pollen season just to get away from it.

http://www.okinawa-information.com/hay-fever-pollen-japan

----------------------------------------------------------

Some travelers avoid Okinawa during the peak typhoon season for this reason. It's often possible to find travel deals to Okinawa in August and September that represent a great value if you're lucky and no typhoon shows up.

http://www.japan-talk.com/jt/new/typhoon-season-in-japan

------------------------------------------------------ 

Miyako Island (宮古島, Miyakojima), located 300 kilometers south of Okinawa Main Island and 100 kilometers north of the Yaeyama Islands, is known for some of Japan's best beaches and as a great destination for snorkeling and diving in the coral reefs. The sub tropical climate provides mild weather year around.

Sounds great, but too far...

http://www.japan-guide.com/e/e7300.html

------------------------------------

Posted by Paul at 8:55 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Friday, August 12, 2016

Machine Learning Exercises In Python, Part 1

This post is part of a series covering the exercises from Andrew Ng's machine learning class on Coursera. The original code, exercise text, and data files for this post are available here.

http://www.johnwittenauer.net/machine-learning-exercises-in-python-part-1/
Posted by Paul at 5:57 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Iceman, Wim Hof

http://www.thirteen.org/forum/topics/mystic-fire/38/

On this day, Wim Hof — master of the Tibetan tantric practice of tumo, the ability to control the temperature of the body — broke his world record by staying immersed in an ice bath for one hour and 12 minutes. He was monitored by Dr. Kenneth Kamler, an expert in high-altitude medicine. Dr. Kamler elaborates on the psychological processes at play, and discusses them with Wim Hof. This event was presented as part of the Brainwave Festival held by the Rubin Museum of Art, dedicated to the art of the Himalayas.

This video is mentioned in the book, Becoming the Iceman.
p190 in the pdf file, according to Kindle.

--------------------------------

Wim Hof is the 'Iceman' who was recently on JRE (#712). There's also this VICE documentary: "Inside the Superhuman World of the Iceman" and he did a Reddit AMA a couple of months ago.
EDIT1: Wim Hof was also on Tim Ferris' podcast (September 7th).
EDIT2: Thanks to /u/Kyle0ng for for linking to Wim Hof's free eBook "Wim Hof Method Explanation" (28 pages).
EDIT3: Thanks to /u/redditlogout for linking to Wim Hof's free eBook "Wim Hof Method" (43 pages) which provided some more information (still not a clear guide, however).

[–]jjacks60 47 points 9 months ago 
If you practice yoga and meditation you understand exactly what he's doing. Your body does not have a soul, your soul has a body, which you can manipulate however you please to accomplish what might seem like impractical feats at first but its all really manageable. It's about calming your mind, your mind will try to negotiate with your body and say, "This hurts", or, "This doesn't feel good", to return to the comfort.
In order to grow we need to experience discomfort, we've numbed the connection between mind and body and it's time to come back to it. To come back to nature like Wim Hof stated, that is where you'll find happiness, strength, and health.
A lot of good comments on this post:

https://www.reddit.com/r/JoeRogan/comments/3q0kh1/so_whos_buying_into_the_wim_hof_method_what_can/
-----------------------------------

Wim Hof (the Iceman) on Defeating Extreme Cold & Attenuating the Immune Response 

Published on Oct 22, 2015
Dr. Rhonda Patrick interviews Wim Hof also known as the "Iceman."

https://www.youtube.com/watch?v=389c31dD9xg&feature=youtu.be 

---------------------------------- 

Here's a link with the instructions to the method, idk how close this is to what you would get after paying $200 but seems worth a try, like a free sample.

http://www.riseearth.com/2014/02/the-wim-hof-method-revealed-how-to.html

-----------------

This guy did a blog of the 10-week course:
http://www.timvandervliet.com/?s=wim+hof&submit=Search
This is free info on cold shower therapy:
http://impossiblehq.com/cold-shower-therapy/

--------------------

Wim Hof - The Iceman - PART 1/2 | London Real

 https://youtu.be/woxjutWVuj4

--------------------
Posted by Paul at 7:43 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

GitHub For Beginners

http://readwrite.com/2013/09/30/understanding-github-a-journey-for-beginners-part-1/

If you’ve given up on understanding how to use GitHub, this article is for you.
Posted by Paul at 6:58 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ▼  2016 (26)
    • ▼  August (24)
      • How to get started with AI (Artificial Intelligence)
      • Torch for Mac OS X
      • 14 Best Podcast Episodes for Men | The Art of Manl...
      • Tinder
      • If you shop at Walmart, save your receipt and scan...
      • Python - Virtual Environments
      • Mac video edit - What options are available to _lo...
      • Macbook Air
      • Python - Mac Air
      • The beauty of data visualization - David McCandless
      • Okinawa, Japan Travel
      • Machine Learning Exercises In Python, Part 1
      • Iceman, Wim Hof
      • GitHub For Beginners
      • Wikipedia in 100 MB file
      • 한글 Korean input problem in Firefox, Mac OS X
      • Philippines
      • Chatbot info
      • List of 30+ Summarizer APIs, libraries, and softwa...
      • Linux on a Mac, via Parallels VM - good tips
      • Mac keyboard shortcuts
      • TexLexAn Analyze, Classify and Summarize any text.
      • Drop Shipping - Why It's Nearly Impossible To Stop...
      • The Prisoner Workout: Killer Bodyweight Exercises ...
    • ►  July (2)
  • ►  2015 (1012)
    • ►  November (13)
    • ►  October (11)
    • ►  September (4)
    • ►  August (1)
    • ►  July (14)
    • ►  June (201)
    • ►  May (74)
    • ►  April (185)
    • ►  March (227)
    • ►  February (178)
    • ►  January (104)
  • ►  2014 (1037)
    • ►  December (8)
    • ►  November (196)
    • ►  October (168)
    • ►  September (79)
    • ►  August (86)
    • ►  July (164)
    • ►  June (185)
    • ►  May (109)
    • ►  April (26)
    • ►  March (16)
  • ►  2013 (500)
    • ►  October (62)
    • ►  September (157)
    • ►  August (133)
    • ►  July (148)
  • ►  2011 (4)
    • ►  December (4)

Followers

Simple theme. Powered by Blogger.