姫路IT系勉強会
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Help
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    --- title: 姫路IT勉強会 2019.09 langs: ja-jp --- # 姫路IT勉強会 2019.09 * 開催日 2019/09/21 * 司会: * 参加者数:参加者: 9名 / 学生: 0名 * HackMD: https://hackmd.io/W5j5YiDQTsOpjZVb9LV3eQ * connpass: https://histudy.connpass.com/event/146731 * ハッシュタグ:[#histudy](https://twitter.com/search?q=%23histudy&src=typd) ## 自己紹介 * 飛び入り+会場の人を合わせると9人です。 ## 英語でコミットメッセージを書く勉強はどうしたらよいか? - 英語で書く必要はあるのか? - ある - 海外拠点がある(将来的にはそちらと...) - レビューツールを使ってるため、マージログなど後から非日本語圏の人も読む可能性 - コミットテンプレートを活用してはどうか - SUBJECT だけをテンプレートを埋めておく - まずは英文に慣れて - [GitHubのコミットメッセージで英語の勉強](https://qiita.com/yuch_i/items/bc57f67f52e92eae7ec9) - 日本人の英語アレルギーはハンパないな - なぜか完璧を要求する/される状況(強迫観念) - 英語を学ぶよりもプログラマ向けに定形処理の形にする方が良いのでは - 英語ちゃんと勉強しろ!といいたいが、果てしない議論になってしまう - というか、そもそもコミットがおかしくないか(アトミックコミット) - Subjectが一行で収まる粒度でコミットすべき - バグフィックスと機能追加のコミットは同時にはしない - [Googleのやりかたプラックティスの文書](https://google.github.io/eng-practices/) - [Gitのコミットメッセージの書き方 PostD 英語記事の翻訳](https://postd.cc/how-to-write-a-git-commit-message/) - [gitのコミットメッセージのテンプレ Qiita](https://qiita.com/Kattrxvjxxde/items/f03aa43d8f9ebe22344d) ## IPv6プラスの回線からSSHはできるがSCPができない...? - IPv4 over IPv6 の環境 - SSH 接続はできる。 - SCP を debian(buster)から行うとできない - scpの-6 または -4 オプションで IPv6, IPv4を強制指定できる。 - git clone (ssh)もできない - VSCode のsshfs 拡張からはできる - 動いている部分から原因を切り詰めていくしかないかも。 - パケットロスが発生している? - 通信はできているので、発生してないと思われる - エラーログはしっかり抑えましょう(どこで詰まってるかわからんどす) - ホワイトボードに図を書いて確認しました。 - ローカル(Debian, Win10)、AWS(Amazon Linux)、githubの相互通信がおかしい...? - 設定変えつつ問題の切り分けとか ## Android Studioでアプリを書いてます * デモしようかと思ったらノートパソコンではエミュレータが動きませんでした * Win10 19.03でWindows Hyperviserががバグっててx86エミュレータが動かない * Ryzenは修正パッチあてろ!という情報がありました * https://developercommunity.visualstudio.com/content/problem/528337/whpx-problem-android-emulator.html * MicroSoft製エミュレータもあった、使ってはない。 * https://visualstudio.microsoft.com/ja/vs/msft-android-emulator/ * AndroidエミュレータとVirturlBoxでWindowsの仮想化設定がコンフリクトする模様 * WSL2が動作していると、VirualBox動かないです(仮想環境が衝突する...) * Hyper-V上で動いているのです * のでWSL1もまだ残ってるのです(遅いけど) * Xenみたいな仕掛け * そもそもWindows使うのが間違いです * さりとてDebianへの全面移行はキツイっす * AdobeCCが動かない * 一応Macでなんとか * でもMac版のOfficeは互換性いまいち(その他も大同小異) * だからExcel方眼紙使うなって言ってるの * 最近はGoogleSpreadSheet多いよね * こんなアプリ作ってみました * 入眠時刻・起床時刻・薬を飲んだ時間を記録するアプリです * [Toggl](https://toggl.com/) というタイムトラッキングサービスに対応するといい * 各種サービスのAPI叩く構想だけは色々あります * 記録するのが面倒で使わなくなる問題がある * Androidなので開発中のをChrome Castで映そうかと思ったけどダメでした * DBはRealmでローカルに保存してます * SQLite3が定番だが * プリペアSQL書くのが面倒なので、ORMでオブジェクト操作で済むのを選んだ * https://realm.io/docs/java/latest#working-with-realmobjects * デフォルトコンストラクターでカラムを作る仕組み * Kotlinなのに `column1: string? = null` でカラム作るのはどうなんだろう? * KotlinはNull Safeな言語なのに * Kotlin -> Java -> Realmで呼び出して * この先、Kotlin -> Realmのインタフェースが改善されたら書きやすくなるかも * こんなのをバックエンドにするといいかもしれない * https://rethinkdb.com/ * デフォルトでRest APIがあります * バックエンドを楽にしておきましょう * FireBaseとかにしといて、RestAPIで操作 * Android OSにRestAPI叩くOS APIがあるので楽そう * 設計が大事です * DB設計で、テーブル構成やカラム構成に悩んでます * 普段触ってるWordPressだとDB設計とかないので * そのデータは集計する?しない? * 集計のしやすさもDB設計で決まる * そもそもDBで保存する必要ある? * WEBアプリのだとファイル追記でも十分な場合あるよね * 先にER図を作りましょう * ER図は一応ある -> もってきたらレビューできるよ * 画面遷移とかも悩む * 使い勝手はどうだろう? * コードはリーダビリティを最大化しましょう * アプリを一つ作るとなると、考える範囲が広いです * プロトタイプと収益化 * 単体で動作するアプリは無償、多機能版は有償にする予定 * FireBaseのお代がかかるぐらいユーザーが増えたら、儲かってるはず * プロトタイプは10月初めにリリース予定です * リリースしたら姫路IT系勉強会でレビューしましょう ## HP Stream のノートでUbuntu * メモリは2GBで Windowsでサポート対象外になった * Ubuntuではデバイス周りに問題がでている。 * 復帰など * Atom系はKernelを5.2に上げればたぶん解決 * [Kernel newbie](https://kernelnewbies.org/) のリリースノート * Intel Baytrail & Cherrytrail Systems Can Now Correctly Hibernate Again Under Linux - Phoronix: https://www.phoronix.com/scan.php?page=news_item&px=Baytrail-Cherrytrail-Hibernate ## Jetsonの処理速度が遅いんですが * NVIDIAのJetsonで画像認識処理をする * 車載向けRasPi互換ボード。ヒートシンクが付属 * 人間の顔、動物の姿などを認識するアプリ * GPU使用していても1fps、まれに2fpsしか出ません(スペックを考えれば善戦してます) * ちなみにCore i7 + 16GBのノートで10ftsくらい * 動画をやめて写真をベースに処理させるようにしてみる ## 楽しい夏休みでした * LibreOfficeの本を書いておりました * Twitterを停止しました。 * 自宅サーバをあれこれメンテナンス * Vagrant + VirtualBox遅いっす * [vagrant-libvert](https://github.com/vagrant-libvirt/vagrant-libvirt) ? * vagrant-lxcは、もうLXC終わってるしー * [vagrant-lxd](https://gitlab.com/catalyst-it/devtools/vagrant-lxd) を試してみると快適だった * インストールが簡単 (Debian/Ubuntu) * vagrant-lxdを試したらかなり良かったのでメモ - Days of Speed(2019-09-19): <http://www.nofuture.tv/diary/20190919.html#p02> * vagrantでlxdのboxをつかっている人がいない(そもそもBox少ない) * ノウハウが溜っていない? * lxdのboxが無くてもvagrant-lxcのbox自動変換してくれる * LXD単体もおすすめです。ノウハウはまだ書きかけですが・・・ [LXC/LXDの使い方](https://gist.github.com/alessiareya/60eaeb6776e7b86d9bb3ab297a6d5171) * もらったBayTrailタブレットをHackしてました * Debian BusterとAndroid x86を突っ込むとか * Debian MultiArchイメージを使うと32ビットUEFI+64ビットOSでもサクッとインストールできる * 旅行にPCは持っていけないのでタブレットとしても使えるPCとして持っていきました * Android x86 Oleoが好調でした * でも、スリープさせると死んでしまう。なんで死んでしまうん? ### 雑談いろいろ * ソースコードに継ぎ足し継ぎ足しが多いのは何故? * 1万行のPHPクラス * [循環的複雑度](https://ja.wikipedia.org/wiki/%E5%BE%AA%E7%92%B0%E7%9A%84%E8%A4%87%E9%9B%91%E5%BA%A6)が1000を超えるソースコード * 5万行のCSS * 時間がないので、ひとまず継ぎ足しで作ってしまうのが繰り返される * 削除する決断をあまりしたがらない * 手動テストでもいいから、テスト通して問題なかったら消したら? * Gitでバージョン管理したら、巻き戻せるから継ぎ足し問題は昔ほど酷くない * 5万行のCSSはSassでリファクタされたそうです * それやったひとはリファクタリングした直後に去りました * 設計の能力、概念化、抽象化の能力はエンジニア・プログラマーに必須 * これは教育と訓練 * データを表に落としこむぐらいのことでも差がある * 定期的にシステム、環境はスクラッチで作り直すべき * システムというのは汚れていくもの * 2年サイクルぐらいで抜本的に見直しをすべき * WordPressなどを仕事で使ってる人、プラグインなどの問題に気づいてもissueかかない * 放っといても直らないけどいいの? * OSS精神を学ぶ機会ってなんだろう? * https://ja.wikipedia.org/wiki/%E3%82%AA%E3%83%BC%E3%83%97%E3%83%B3%E3%82%BD%E3%83%BC%E3%82%B9 * 案外でもなくOSSの考え方に触れる機会は少ないのでは * 企業など、使うだけ使って儲けてるのに、それを良くすることは何もやってないとこがあったり(特にクラウド系) * [MongoDBがそのコードのオープンソースライセンスを改定、オープンソースの“食い逃げ”に むかつく TechCrunch](https://jp.techcrunch.com/2018/10/17/2018-10-16-mongodb-switches-up-its-open-source-license/) * さくらインターネットはサーバホスティングなど色々援助してくれています * アピールしてるかといえばしていないかも * エンジニア受けは良いからそれでもいいかも

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully