Jun Makita
    • Create new note
    • Create a note from template
      • 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
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me 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 New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy 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
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me 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
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Hamamatsu.rb #137 ## 自己紹介 - 初参加者がいる場合は自己紹介 - 普段はC#。ERPパッケージをカスタマイズしたり売ったりしてる人 - 2回目。プログラミングスクール参加者の方。8月いっぱいはスクール生 - 同じく学習中の人。5月に始めたばかりの人。楽しみながら出来たらいいな - 司会担当。普段はC言語の組込仕事の人。Rubyは趣味 - 普段フリーランスの方。Railsのカンファレンスの主催者!来年はリアルでやりたい。浜松にゆかりが無いけど参加 - 静大の院生の方・processingに興味 - オライリーの本がおすすめ - 製造業系の会社の人。たまに仕事でRuby。普段は品質管理とか ## 前回ふりかえり - [KPT #136](http://firekpt.jacoyutorius.com/board/?id=-N41kii202T9bEZ2DZSl&title=Hamamatsu.rb%20%23136) - 前回のネタはレベルが高すぎたかな… ## 今回のネタ - [Rubyのメモリ管理方法](https://techracho.bpsinc.jp/hachi8833/2022_06_02/118259) - ヒープ・・・動的に確保可能なメモリ - mallocでやってることに近い。Rubyはそこが自動 - Rubyのしくみとかに詳しく書いてあるかも - https://www.amazon.co.jp/dp/4274050653 - Rubyソースコード完全開設が無料公開中...ただし古い - https://i.loveruby.net/ja/rhg/book/ - 可変幅アロケーションはかなり最近に入ったやつ - https://rubykaigi.org/2021-takeout/presentations/peterzhu2118.html - https://github.com/ruby/ruby/pull/4933 - 文字列のVWAの実装PR - https://github.com/ruby/ruby/pull/5986 - 文字列が大きくなってプールを変えるためのPR(?) - https://github.com/ruby/ruby/commit/214ed4cbc6f33675230602dd09268b436da96f7d - 配列のVWAに関するコミット、できたてほやほや - https://github.com/ruby/ruby/blob/master/gc.c#L11785-L11817 - mallocを実際に呼んでいそうな箇所 - [アニメ少女がプログラミング本を読んでるリポジトリ](https://github.com/cat-milk/Anime-Girls-Holding-Programming-Books) - [RubyGemsの運営元が「Ruby Shield」を発表。RubyとRailsへのサプライチェーン攻撃への対策としてShopifyが4年で100万ドル(約1億3000万円)を提供 - Publickey](https://www.publickey1.jp/blog/22/rubygemsruby_sheildrubyrailsshopify410013000.html) - サプライチェーン攻撃対策 - https://rubytogether.org/news/2022-06-23-may-2022-monthly-update - > @$150/hour - 1000000 / 150 = 66666 hours - [Ruby - Qiita](https://qiita.com/tags/ruby) ### 気になるツィート <blockquote class="twitter-tweet"><p lang="ja" dir="ltr">弊社、お昼の時間帯に毎日のように勉強会が開催されてて、それに参加すると昼ごはん代が経費で落とせるから、もう毎日参加したろうかな。<br><br>いわば「出前取り放題制度」やな。</p>&mdash; 無職やめ太郎(本名) (@Yametaro1983) <a href="https://twitter.com/Yametaro1983/status/1527059695185575936?ref_src=twsrc%5Etfw">May 18, 2022</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> - おすすめはやっぱりスシとかピザでしょうか - 未経験の人がまじめに勉強してくれてる - 経験者よりモチベーションが高い - 経験者の刺激になる - すばらしいです - 仕事に入ってからが本番!? <blockquote class="twitter-tweet"><p lang="ja" dir="ltr">互換のない(保証できない)アプデはx.0.0を上げて<br>互換のある機能追加は0.x.0を上げて<br>バグを直したら0.0.xを上げる<br><br>新卒研修で念を押された記憶が() <a href="https://t.co/s3cDu1yEDS">pic.twitter.com/s3cDu1yEDS</a></p>&mdash; れいぢ@バーチャル全身義体🌸🐼 (@reiz3716_vr) <a href="https://twitter.com/reiz3716_vr/status/1526863470310080512?ref_src=twsrc%5Etfw">May 18, 2022</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> - セマンティックバージョニング(https://semver.org/lang/ja/?s=09) - https://github.com/okuramasafumi/alba/releases/tag/v1.6.0 - > 1.6.0 release is a final release of v1 line. It includes lots of deprecations and they'll be removed in v2. - `~> 1.2`だと2に上がらない、1系との互換性は保たれているなら壊れる心配がない - なお、Railsはセマンティックバージョニングしていない(お気持ちバージョニング) - Semantic Versioningの闇 - knqyf263's blog - https://knqyf263.hatenablog.com/entry/2020/11/10/224424 - Ruby 2.1.0 以降のセマンティックバージョニングについて - https://www.ruby-lang.org/ja/news/2013/12/21/ruby-version-policy-changes-with-2-1-0/ <blockquote class="twitter-tweet"><p lang="ja" dir="ltr">めちゃ精度高い。すごい。 <a href="https://t.co/aGcmAWUVXQ">https://t.co/aGcmAWUVXQ</a></p>&mdash; mattn (@mattn_jp) <a href="https://twitter.com/mattn_jp/status/1526013661202235392?ref_src=twsrc%5Etfw">May 16, 2022</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> - https://zenn.dev/kama_meshi/articles/517acebcdd1d61 - Ruby対応してない・・・ - Ruby対応したらネタにしましょう <blockquote class="twitter-tweet"><p lang="ja" dir="ltr">今日のスライドです!<a href="https://t.co/RcJ5YyDRkC">https://t.co/RcJ5YyDRkC</a> <a href="https://twitter.com/hashtag/fukuokarb?src=hash&amp;ref_src=twsrc%5Etfw">#fukuokarb</a></p>&mdash; 森塚 真年@エンペイ (@sanfrecce_osaka) <a href="https://twitter.com/sanfrecce_osaka/status/1524369275079000065?ref_src=twsrc%5Etfw">May 11, 2022</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> - ↑パターンマッチの話 - Pythonにもパターンマッチはいりました - Python 3.10の新機能:「構造的パターンマッチ」とは:Python最新情報キャッチアップ(1/2 ページ) - @IT - https://atmarkit.itmedia.co.jp/ait/articles/2110/08/news035.html <blockquote class="twitter-tweet"><p lang="ja" dir="ltr">うおーめっちゃまとまっている<a href="https://t.co/J6QFI8Ixxf">https://t.co/J6QFI8Ixxf</a></p>&mdash; Yui🍎 (@MayForBlue) <a href="https://twitter.com/MayForBlue/status/1524389640253636613?ref_src=twsrc%5Etfw">May 11, 2022</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> - ↑RESTful Web API の設計の話 - 何かしらフレームワーク使うとREST準拠してしまう気がする <blockquote class="twitter-tweet"><p lang="ja" dir="ltr">アトラシアンの4月のデータ吹っ飛ばしインシデントのポストモーテムが公開されていた / 他2件のコメント <a href="https://t.co/o5nCry3fc2">https://t.co/o5nCry3fc2</a> “Post-Incident Review on the Atlassian April 2022 outage - Atlassian Engineering” (5 users) <a href="https://t.co/tkgvuM0BMG">https://t.co/tkgvuM0BMG</a></p>&mdash; 鈴木心之介 (@sasasin_net) <a href="https://twitter.com/sasasin_net/status/1520608019888820225?ref_src=twsrc%5Etfw">May 1, 2022</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> <blockquote class="twitter-tweet"><p lang="ja" dir="ltr">【実績解除】新聞の一面に載る <a href="https://t.co/u4yK2bGYfW">pic.twitter.com/u4yK2bGYfW</a></p>&mdash; Sora Arakawa (arkw) (@arkw0) <a href="https://twitter.com/arkw0/status/1516702415026016259?ref_src=twsrc%5Etfw">April 20, 2022</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> <blockquote class="twitter-tweet"><p lang="ja" dir="ltr">実装や環境構築などで困った時は、いつもどこかのプログラマのおっさんが書いた備忘録ブログ記事に助けられている🙏</p>&mdash; 京 (@shatiku_master) <a href="https://twitter.com/shatiku_master/status/1546997305982976000?ref_src=twsrc%5Etfw">July 12, 2022</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> <blockquote class="twitter-tweet"><p lang="ja" dir="ltr">これ、マジのガチですごいんで(ボキャ貧)是非皆さん活用してくださいませ!(JAPAN CHOICEか議員ペディアで何かしてみよう)<br><br>>スマートニュースが、国会の過去20年分以上の議案データ約1万8000件を収集・整理し、オープンデータ化したデータベースをGitHubで無償公開。<a href="https://t.co/FaI6F8Ucem">https://t.co/FaI6F8Ucem</a></p>&mdash; とんふぃ@SmartNews/ZeLo/JAPAN CHOICE (@tonghwi17) <a href="https://twitter.com/tonghwi17/status/1542792402762489856?ref_src=twsrc%5Etfw">July 1, 2022</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> <blockquote class="twitter-tweet"><p lang="ja" dir="ltr">採用面接時に会社に「逆質問」すべき項目の一覧。自分の業務、会社の技術、チームの雰囲気、同僚、会社の業績、もめごとの解決法など。<br>- 「1日はどんな感じですか?」<br>- 「入社3か月後に期待することは?」<br>- 「バグ追跡には何を使ってますか?」<br>- 「リモート勤務の割合は?」<a href="https://t.co/tvlCMqPUBL">https://t.co/tvlCMqPUBL</a></p>&mdash; 新山祐介 (Yusuke Shinyama) (@mootastic) <a href="https://twitter.com/mootastic/status/1541950453252239361?ref_src=twsrc%5Etfw">June 29, 2022</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> <blockquote class="twitter-tweet"><p lang="ja" dir="ltr">心理的安全性って「単に仲の良いチーム」じゃないですよ? という話 <a href="https://t.co/s28SYMhM7c">pic.twitter.com/s28SYMhM7c</a></p>&mdash; 石井 遼介 (@ryouen) <a href="https://twitter.com/ryouen/status/1539437638632890369?ref_src=twsrc%5Etfw">June 22, 2022</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> - O'Reilly Japan - Team Geek - https://www.oreilly.co.jp/books/9784873116303/ - 心理的安全性がコモディティ化気味の状態 <blockquote class="twitter-tweet"><p lang="ja" dir="ltr">これは良資料。エンジニアにとって文章の書き方の参考になります。<br><br>文章のBefore / Afterの事例がたくさん載っていて、勉強になります。<br><br>テクニカルライティングの基本 - Speaker Deck <a href="https://t.co/3De5TG8xDL">https://t.co/3De5TG8xDL</a></p>&mdash; 池田 泰延 (@clockmaker) <a href="https://twitter.com/clockmaker/status/1535068080359243776?ref_src=twsrc%5Etfw">June 10, 2022</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> <blockquote class="twitter-tweet"><p lang="ja" dir="ltr">肩にエヴァンゲリオンみたいなパーツつけて<br>天井からぶらさげれば腰痛なくなるのでは</p>&mdash; zakone3 (@zakone) <a href="https://twitter.com/zakone/status/1544257967599800321?ref_src=twsrc%5Etfw">July 5, 2022</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> - 歩け - 椅子に金をかけろ ### みんなに聞きたいこと - この議事録を自社内に展開している人っていますか?… - どんな勉強会してるか共有してほしい、みたいなニーズがある ## LT - 今日は無し ## 告知 - Kaigi On rails 2022 10/21~22 - https://kaigionrails.org/2022/ - 昨年とおととしもやりました - 今までコアな人に登壇してもらったりしていました - 喋りたい人募集中 - Railsにかかってなくてもいける。締め切りは今月まで - [RubyKaigi 2022 - RubyKaigi 2022](https://rubykaigi.org/2022/) - 9/8~10 - 話す人が決まりました ## KPT - http://firekpt.jacoyutorius.com/board/?id=-N6r-pi2VPUt9P73Pnre&title=Hamamatsu.rb%20%23137 ## 雑談 - しばらくリアル開催できてないな… - 昔は鴨江アートセンターとかエアーズでやってました - エアーズさんは浜松でRubyで仕事してる企業です(宣伝) - http://www.airs.co.jp/ - 研鑽Rubyはまだ出てないです - Alba - https://okuramasafumi.hatenablog.jp/entry/2021/12/03/144055 - https://zenn.dev/okuramasafumi/articles/53fcee0f946ac3 - TL;DR: ActiveModelSerializerっぽいけどずっと高速で読みやすいやつ

    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