Z Blog

ラムダ スクールの 無料の ミニブーツキャンプ! パート2(Lambda School minibootcamp, Part 2)

ラムダ スクール1週間ちゃんとできて いっぱい勉強になった 。ハワイは本土,つまりカリフォルニアと違ってサマータイムは やってないので、ワークスケジュール は事業とちょっとずれていたので 最後の2週間分あんまり参加しなかったけどよかったです 。ラムダ スクール の授業を味わうすること の最高の方法だと思う。 ラムダの bootcampは 強烈らしなので、自分でコーディング をもっと練習してから 受けるべきで あると思うようになった。 実際にbootcampのために借金したくない思うようになってる。 こんなコースを完成しなくても がっかりしない。 確かに心のどこかので素晴らしいアプリ作ってお金儲けたい気持ちはあるだけど、ちょっと落ち着いて趣味のような見方にする。 バイキングのように、あっちこっちで味わいして楽しもう。 bootcamp受けるかどうか 決めてリスト によって、ラムダの利mini bootcampは本当にいい仕方と思う。宿題は優しくて、細かく作られていて、そして自動的なtesting もあって, GitHubで アップロードする 方法の 勉強もできる。そしてslackチャンネルで 質問を 聞くこともできる事業の ビデオこの下をどうぞ。

Made it through a week of Lambda School, and I learned a ton. It really was fun, even though I couldn’t complete the last two weeks due to Daylight Savings Time in California versus my work schedule on Hawaii Standard Time. It really was an excellent way to get a taste of Lambda School’s boot camp, which seems pretty intense. I think I would have to practice a lot more coding on my own before attempting a boot camp. And actually I am less likely to attempt a boot camp now, mainly because of the expense and debt. I’m definitely no longer going to beat myself up about not completing these different free courses. Admittedly a part of me in the back of my mind is saying, “find a way to make money, try to design a super app!” I’ve decided to calm down, that this is a hobby for now; like nibbling here and there at a buffet just as I please. Lambda’s free mini boot camp is a really awesome resource if you’re trying to decide whether or not to try a bootcamp. The homework assignments are very lovingly crafted, complete with automated testing, and you can learn how to upload via GitHub. They have a Slack channel for asking questions and posting notices. You can try out their YouTube videos below. (Links open in new window)
Lesson 1 Git and GitHubStreamed live on Mar 5, 2018
Lesson 2 – HTML and CSS – March ’18 Lambda School Mini Bootcamp
Lesson 3 – Intermediate CSS – March ’18 Lambda School Mini Bootcamp
Lesson 4 – Introduction to Javascript – March ’18 Lambda School MiniBootcamp 
Web Development Mini-Bootcamp Lesson 5
Web Development Mini-Bootcamp Lesson 6
Web Development Mini-Bootcamp Lesson 7
Web Development Mini-Bootcamp Lesson 8
Web Development Mini-Bootcamp Lesson 9
Web Development Mini-Bootcamp Lesson 10
Web Development Mini-Bootcamp Lesson 11
Web Development Mini-Bootcamp Lesson 12

ラムダ スクールの 無料の ミニブーツキャンプ!(Lambda School minibootcamp)

今日の勉強は, ラムダ スクール の 無料の 3週間ミニブーツキャンプ のLesson1 だった 。 (λ =ギリシャ語の字、ラムダと言う発音だ。)
全部 英語だったので, 楽だった .  
とりあえず みんなは 持っていなければ 新しい GitHub のアカウントを 作って Git for Windows をダウンロードしたことです . (マック、リナックス:https://git-scm.com/download) 
 面白いポイントは Gitが ライナス °  トーバルズさん がクリエイトした もんだ 。 (日本語字幕 TEDの インタビュー )
 次はGitHubで 「フォーク」を する作業学びました 。 フォークというアイコンを クリックして 、Git クローン  のリンクを 「Git bash」 のターミナル の中でコピペ とが できた 。

今日学んだコマンド:
  • cd foldername
  • mkdir newfoldername
  • touch newfilename
  • rm filename
  • git clone
  • git status
  • git add filename
  • git commit -m (commit with inline message. this save the changes in the history of this repo.)
  • git push
  • clear
  • exit (logout)
 このYouTubeのビデオで Gitについて いっぱい学んだことができた。ちょっと長かったけど 。
TKizawaさん)
明日はHMTLとCSS,楽しみにしている。。。
Lambda School free minibootcamp! 3-week class https://lambdaschool.com/
All in English.

First, everyone who hadn’t already done so created a new GitHub account. Then we downloaded Git from gitforwindows.org / https://git-scm.com

interestingly, Git was created by Linus Torvalds (which I had heard during his 2016 TED interview (JP subtitles available): https://www.ted.com/talks/linus_torvalds_the_mind_behind_linux )

Learning how to “fork” came next. By clicking fork icon, then get clone, and copying the clone URL to clipboard.
Next in GitBash, cd into the place where you want the newly cloned repository to be placed. At the prompt, we type “git clone” and paste the link, then Enter.

Inside the folder containing the repo, use the ‘git status’ command, which compares the original to your new fork. Git is constantly watching this folder for any changes.

The commands we learned today:
cd foldername
mkdir newfoldername
touch newfilename
rm filename
git clone
git status
git add filename
git commit -m (commit with inline message. This saves the changes in the history of this repo.)
git push
clear
exit (logout)

Looking forward to tomorrow — HTML and CSS!
じゃあ、 Udemy.comでのパイソン•ブットキャンップ  の コース で頑張る と言ってしまった でしょね!
不可侵大変退屈な コース で とりあえず止めて もっと楽しいコース 探そう とした。脱落者(だつらくしゃ)になってしまうっと思ってたけど、実際にいろいろな勉強仕方があって、自力(じりきself-made)で行くよい点の一つだと分かるようになった。

YouTube で見つかったもっと楽しい 先生は シルベスター• モーガン (英語)という方です。彼は我流(がりゅうself-taught)デベロッパーで、色んな実際的なビデオがあるので、それでしばらくやって行くと思う。

Ok, so I did say I was gonna go all out and do the Udemy Python Bootcamp course. BUT…it turned out to be extremely dry and boring!  I felt as if I was being a quitter by abandoning the Udemy course. But now I’m actually enjoying my learning experience, because I realized that I don’t have to be tied to a single learning structure — that’s the joy of being self-taught!

So I found a much more fun teacher on YouTube: Sylvester Morgan.  He is a self-taught developer and he has all kinds of videos, not just function after function with no real-world usage.
So I’m going to try his videos out for a while and see how they work for me.

Here’s where I started in his Python series (I skipped a few). It’s quick and easy! https://www.youtube.com/watch?v=zMnoHsgNvNQ

I also discovered that watching “A Day in the Life of a Programmer” -type videos is also helpful and motivating. They often lead to other learning resources and can be a fun study break as well.

Google音声入力(voice input) で句読文字(punctuation marks)ができないけど。。。

This time I’m posting in English because I think this will only be useful for Japanese-as-a-second-language folks. So I often use the Google app for drafting texts/email by voice in Japanese. This is because I’m much better at speaking than writing in Japanese. But Google doesn’t have any speech punctuation like it does in English. For example, if Ⅰ’m dictating a text message in English and I’m ending an interrogative sentence I say, “question mark” and the correct punctuation appears. But in Japanese, if I say “hatena” into the microphone, Google prints the word, 「はてな」which is really annoying. So I usually dictate the entire message and then go back and hunt through it to add the missing brackets, commas, periods, and question marks.
I found this lovely blog post (http://nakamahalog.com) which explains how to use the Swype app as an ok workaround. 

Swype keyboard with Star Trek skin. The microphone icon is a communicator.

BUT Swype wants a lot of permissions. I just switched off everything except Microphone. And I keep rotating my default keyboard in Settings, because they are basically tricky little keyloggers in my humble opinion.

The other problem was, I was saying the wrong words like “chon” for a period. nakamahalog also provides this handy chart of what to call all the punctuation marks when using Swype (and probably Google, whenever they get around to this functionality). I took the liberty of adding the yomikata below:

 [ 大かっこ開く dai kakko hiraku  ] 大かっこ閉じる dai kakko tojiru
 ‘ アポストロフィー aposutorofī  ◯ まる maru
 ▲ 黒さんかく kuro sankaku  : コロン  koron
 , コンマ  konma  – ダッシュ  dasshu
 ! 感嘆符/ビックリマーク/ kantan fu / bikkuri māku
エクスクラメーション・マーク ekusukuramēshon māku
 – ハイフン  haifun
. ピリオド/ドット piriodo / dotto  ? 疑問符/はてな gimon fu / hatena
 ” ダブルクオーテーション daburu kuōtēshon  ” ダブルクオーテーション閉じる daburu kuōtēshon tojiru
 ‘ クオーテーション kuōtēshon  ‘ クオーテーション閉じる kuōtēshon tojiru
 ; セミコロン semi koron  & アンド/アンパサンド ando / anpasando
 * アステリスク asuterisuku  @ アットマーク atto māku
 / スラッシュ surasshu  ^ キャレット kyaretto
 ・ 中黒 chū kuro  ° 度記号 do kigō
# シャープ shāpu  % パーセント pāsento
 _ アンダーバー/アンダースコア andābā / andāsukoa  | パイプ paipu
 $ ドル記号 doru kigō  ¢ セント記号 sento kigō
 £ ポンド記号 pondo kigō  € ユーロサイン yūro sain
 ¥ 円記号 en kigō  🙁 しかめっ面 shikamettsura
 🙂 スマイリー sumairī   😉 ウインク uinku
 ® 登録商標 tōroku shōhyō  > 大なり dai nari
 < 小なり  ko nari   – マイナス/引く mainasu / hiku
 x かける kakeru  + プラス/足す purasu / tasu
 ÷ わる waru  = イコール ikōru

New tech blog!

So I decided to stop with the “Tech Tangents” already. I had an old blog years ago which was basically my Japanese practice notebook typed up and posted online. Last week while dealing with a friend’s tech support issue, I decided to write up my experience. Then, since I am a glutton for punishment, I decided to also write it up in Japanese. After I did that, I thought, “hey, remember your old Japanese blog? Post ‘er there!”

studiozBlogPost

From now on, I’ll endeavor to keep my techie stuff separate from my art stuff in this way. I think that forcing myself to write in both English and Japanese will keep me from getting too deeply involved in tech blog posts because of the level of difficulty. I also used my dad’s old domain name, dhrp.net , to redirect to my Blogger page:

dhrp.net

Pythonプログラミングのような地形Udemy.com で

(Adapted from the original English post at https://studiozandra.com/tech-tangent-python-on-linux-here-we-go/ )
子供の時に 本 いっぱい読んで 将来に学科になるつもりだった。 高校に入ると 美術 にしたけど、 まだ掌篇小説(しょうへんしょうせつ)や詩を書いていた。 いろんな興味がいっぱいありすぎて しまった!
テクノロジーについてを読むのが大好き。 最近 Python というプログラミング 言語 を学ぼうとしてる。 ブートキャンプのような地形は 高すぎて できないので オンラインをコースを受けている。Udemy.com で “Complete Python Bootcamp: Go from Zero to Hero in Python” と言うコース 9.99ドル 登録 することができた。
Udemy パイソン コース

本気でやらないと思ってしまって Windows じゃなくて Linux でやろう とした。 それで一番最初の 段階で 困った。 このコースの中で ジュピター ノートブック(Jupyter Notebooks) という Web サービスを よく使うので、 インストールしないといけなかった。 アナコンダ というツール を使って、 ジュピターと Python 両方で インストールできて便利です。 そして Jupyter.org に行って ファイルをダウンロードして ダブルクリックした。 けどこういう赤い色のエラーが出てしまった。

問題は Linux ちゃんは text editor  でそのファイルを開こうとしてた。 ウェブ検索してから スタック エクスチェンジ stackexchange で正しい 仕方 を学んだ。

.sh ファイルを ターミナル(terminal)の中 そのダウンロードした ダイレクトリー に行って  chmod のコマンド をしないといけない。

それが終わってから 新しいターミナルを開いてjupyter notebook を書くと、 ブラウザタブが 自動的に 出て 自分の全部の ローカルフォルダ 見るようになった。

Python でコマンドを書いて Shift+Enter 起こしてすぐ ラン ができる。

もう一度日本語でブログ

ちょっと年取ったり違う国に住んだり 違う仕事を している状態になってるけど まだ 日本語 で遊んでいる。 今ハワイに住んでるので 日本語を使う経験 は すごい 増やした。 話すのはあまり問題ないけど帰ったり読んだりするのがまだ難しいです ので もうちょっと練習しなきゃいけない と思った。 日本語の辞典 ウェブサイトとアプリ。。。

http://ejje.weblio.jp/

http://takoboto.jp/
https://www.facebook.com/pages/Takoboto/257922567700189

。。。を 使って これから 書きます!

PART 2: Symantec エンクリプション・デスクトップHDDをリカバーする

既に インストール ができた . 次は public  キー と secret キー インポートする 。
セットアップ  アシスタント というウィザード の 窓の 左側 を見たら、ユーザータイプ と言う 部分 がある 。
 そこでニューユーザーじゃなくて、  existing keys を選んだ 。プロンプト の流れ で .pkr と .skr ファイルのフォルダー を選んだ。
そして彼女の古いハードドライブ を S ATA ケーブル で 繋いだから 「enter passphrase to access disk」っていうメッセージが出た。 私は視線をそらしながら 彼女がパスワードを入れてそのHDのホールダが段々出てきた!!🙌
~fin~
English post at Symantec Connect Forums:
This community for the most part already knows that Symantec PGP Desktop was replaced by Symantec Encryption Desktop, but to someone encountering this software for the first time, this is not obvious. Clicking a Symantec Trialware link, the very next page is a registration form, and then a download for Symantec Endpoint Encryption TW. So as a layperson, I assume that the old PGP product name was changed to SEE, click “download,” and struggle to install the thing. After finally installing .NET, the dependent SEE Mgr and MSI, then the Client in serverless mode, I hit a brick wall. Going back to the forums it was dawning that NONE of the 3 packages I’d downloaded was the right one. Another commenter had posted the correct link and I finally downloaded the SED trialware but it wouldn’t execute, and so I posted the previous questions.

Meantime I started looking into other workarounds, wondering, “Is Symantec PGP Desktop  proprietary encryption? Or, as long as I have the keys and passphrase, can I use any software on any platform to decrypt?” I read the Wikipedia entry on PGP and confirmed I’d gotten the software names confused (easy to do!)
I did another Google search regarding the SED installer which would not open: I think the registry might have been corrupted by the brute uninstall of the SEE Client, so I tried 64-bit on a different laptop and it opened and installed fine!
Then there was the problem of the license key…
At first, like these commentors, I thought there was no way to activate using the product key I received in my trial email.  
The “thank you for trying SEE (confusing wrong product name again)” email sends a temporary product key that is too long to fit in the allotted spaces. A video instructionn said to paste the whole thing, but I was on a separate machine from my email, so I just typed.  But it worked — just cut the key in half and copy the latter half of digits only. (They email you a 12-segmented license key, but only use the last 6 segments.)
After installing and licensing, in the User Type section don’t select New User. Rather, select Existing Key option. Then follow the prompts to browse to the directory containing your original .pkr and .skr files. We plugged in the old HD with a SATA USB cable and a pop-up appeared “Enter passphrase”. So we were able to recover all her data.
(In case anyone else comes across this same situation — that is, having keys and passphrase but cannot get an old copy of PGP Desktop or a working trial copy of SED — try looking into other software, such as GPG Suite (Mac) or GNU Privacy Guard (GnuPG, Linux) for recovery. See this discussion: https://gpgtools.tenderapp.com/discussions/problems/964-migrating-from-pgp-to-gpg-import-private-key
and this https://www.dewinter.com/gnupg_howto/english/GPGMiniHowto.html#toc3.3 (Import key, no graphical interface though)
Maybe even try to import the key into the old PGP Desktop for Windows? **I cannot vouch for this site bc I haven’t tried it!** https://pgp.en.softonic.com/?ex=DSK-347.2
Perhaps someone more knowledgeable could comment on this ‘decrypt by importing keys into other software’ option.)

PART 1: Symantec エンクリプション・デスクトップHDDをリカバーする

すごい 大変な経験あったけど、すごい勉強になりました 。
エンクリプションについて いっぱい学んだので ここに述べたいと思います。   シマンテック のエンクリプションデスクトップ(Symantec Encryption Desktop) の件です。 友達のノートパソコンが動かなくなって  修理しようと しました。
彼女の主人が 何か変なポップアップをクリックしてしまって ラップトップが おかしくなりました*
*彼女のラップトップたんですけど仕事のためにお客さんのデータを守るためにエンクリプションしないといけないって言われて しょうがなかった。
でもこれは7年前 の買った古いラップトップ だったので インストールしてくれた人はもう 連絡できずに 私と 私の主人に 頼んで いることになった。
 一つ のバックアップを持ってた。 そのバックアップは 1年前で 古かったけど、 PGP の パブリックキーと シークレットキー(.pkr/.skr file)は 入ってた (PGP というフォルダの中に入ってた)。
「 じゃあ、 ラップトップから古い SDD を外して 新しい Windows 7の インストール して そして もう一度 Symantec
エンクリプションデスクトップを 新しくインストールして から そのkeyを インポートすることができるでしょう」 と思ってしまいました。
彼女はそのインストール CD もう持ってませんでした それで ダウンロードしよう して symantec.com に調べに行った 。サポートリンク で pgp Desktop の無料 トライアル バージョン をクリックして。。。
。。。ダウンロードページ に行かれて から「あれ 、これって PGP デスクトップじゃない !」
シマンテックエンドポイントエンクリプション ( Symantec
Endpoint Encryption) しかなかったので、それをダウンロードした。
数時間後 全然違うソフトをインストールしてしまって いたことを 気づいた。 シマンテックエンドポイントエンクリプション (Symantec
endpoint encryption) ではなくて、PGP Desktop の名前が 変わって Symantec Encryption
Desktop という名前になっています。
ダウンロードした後に「 thank you for trying Symantec Endpoint Encryption 」(違う 名前)のメールが来た。
そのメールの中 ライセンスキー は入っいる けど長すぎて 入れる場所をないと思った 。

 

しかし半分だけのコードを使ったら うまくいけた。 後半 の部分 だけ入れて、 30日間の フリー トライアルが残ってます というメッセージがあった。
続く。。。
My English post from Symantec Connect forums:
Attempting to reinstall Symantec PGP Desktop for a friend whose laptop quit booting properly after her husband “clicked ‘OK’ on a strange-looking” dialog pop-up.  Toshiba Satellite A665, pretty old machine but still meeting her needs just fine. She’s an independent contractor who was required to have encryption installed on her personal laptop, but the original consultant/vendor who did the install is long out of business.
She has a folder marked “PGP” containing 2 files ending in .pkr and .skr which I think are the keys, and she still remembers and uses her password daily so that’s not a problem.  So I thought I could try to find the trial version/old version of PGP Desktop installer, download, and install to a fresh drive in the same laptop, and import this key, slaving the old SSD with a cable.
Wrong! Hours later and I’ve only just realized that I probably have the wrong software (did PGP Desktop product name change to Symantec Endpoint Encryption, or is it now called Encryption Desktop??? If so, how do I download it?), not to mention I don’t know which version except that it’s from 2011.
So I just uninstalled both SEE Management Agent and SEE Client (…I think!  I got this error: “Error Disk is still encrypted. Uinstallation aborted.”  https://www.symantec.com/connect/forums/see-management-agent-failure?ts=1517136170 but I THINK I fixed that by using Revo Uninstaller because SEE Client is finally gone from the Uninstall Programs list).  I am back to square one.
1. Should I be using Encryption Desktop and if so where can I find a copy? I thought I found it here, but after extracting I click on it it and nothing appears (Task Mgr says it’s running, though!): https://symantecesd.flexnetoperations.com/208927/9…
2. After I get Encryption Desktop installed, how to import the .pkr and .skr files? Or will the original password be sufficient?
To be continued…

Tech tangent: Python on Linux — here we go!

Not even sure I should call this one a tangent, since I’ve been doing a lot more tech reading than drawing and designing lately. I thought I could turn my art into a side gig, eventually growing into a licensing income stream, but that hasn’t been working out. So maybe my other hobby, techie reading, will play out eventually…

With such an interest in tech in general, I decided to try learning Python again (I learned a few basic operations a few years back but not much beyond “hello world”.) Let’s see how long it will hold my interest this time!

Udemy had a $9.99 sale this week, so I bought the course “Complete Python Boot Camp: Go From Zero to Hero in Python”.

I decided, as I am wont to do, to go all in: try to complete the course on Linux instead of Windows. Getting stuck at jump, (“Course materials installation guide,”) prompted this blog post! The course uses Jupyter notebooks, and they recommend that newbies use something called Anaconda to install both Python and Jupyter. So I had to visit Jupyter.org on my laptop. After downloading the file Anaconda2-4.4.0-Linux-x86.sh , I of course tried to double-click it, and got this:

screenshot .sh file

The text editor is tryna open it! So a web search brought me to StackExchange, where I learned that you have to manually run the .sh file from inside the correct directory in Terminal. Success!

screenshot terminal

So I entered ‘jupyter notebook’ into a new terminal window, it was very anticlimactic to just see a new browser tab opened with …a list of my local folders. But glad it’s finally done!!

It’s pretty easy to write commands in Python and then immediately run them by pressing Shift-Enter. And saving is easy as well. On to the next course module, I hope it doesn’t take as long as the installation took!