quattro_4 scribble

scribble 落書き (調べた事をただ落書きする)

Rebuild 180-184

Rebuild: 180: Make Mac Pro Great Again (hak)


Rebuild: Aftershow 180: Emoji Friends (hak)


Rebuild: 181: UNK Reply Bot (higepon)


Rebuild: Aftershow 181: Bragging About Being Unhealthy (higepon)

  • Soft Skills 筋トレ
  • 10年後のrebuildで健康の話
    • 不健康自慢は日本だけ
    • 寝てない、勉強してない自慢
      • スライド書いてない自慢
  • アニメ ピンポン Netflix
  • ゲーム 録画禁止エリア (ペルソナ)

Rebuild: 182: Garbage In, Poo Out (N)


Rebuild: 183: Google Death Note (takoratta)


Rebuild: Aftershow 183: Android Ohagi (takoratta)

  • Webはラストコールで大きいツッコミが入る
  • コードネーム地名

Rebuild: 184: Fu in Fusion Gets Faster (hak)


Rebuild: Aftershow 184: Luckey Beast (hak)

RubyPlus #28

https://www.rubyplus.com/podcasts/331-Episode-28

  • Open Source Software Positions
    • only list jobs that directly improve and involve FOSS or Open Hardware projects
  • Segment Open Fellowship 2017
    • a three month long program supporting three to five open-source developers with $8k per month to focus full-time
  • N+1 Queries or Memory Problems: Why not Solve Both?
    • Manually Building Count Data in Hashes
      • @pending_count_hash = Comment.pending.where(post_id: post_ids).group(:post_id).count
    • bullet, rack-mini-profiler
  • 27 Ruby Gems I use in almost every SaaS project
    • LoDash - A modern JavaScript utility library delivering modularity, performance & extras
    • local_time - display relative time
    • paper_trail - This will allow you to set up audit logs
    • ranked-model - Allows quick ordering and sorting of sibling elements
    • premailer-rails - This helps with CSS inclusion into mail templates
      • Gmail will commonly break email templates
    • griddler - This tool allows you to parse email
    • Rollbar Documentation
  • Incorporating Modern Javascript Build Tools with Rails
    • Yarn, Browserify, Webpack
  • Clean Up your Acceptance Tests with Mache
  • deep_pluck gem
    • User.deep_pluck(:name, :posts => :title)
      • [{'name' => 'David' , :posts => [{'title' => 'post1'}, {'title' => 'post2'}]},
  • Geared Pagination
    • we will return 15 elements on page 1, 30 on page 2, 50 on page 3, and 100 from page 4 and forward
  • Common Rails Mistakes
    • public_send
  • Ruby 2.3.4 Released
    • 80 bug fixes after the previous release

Rebuild 175-179

Rebuild: 175: Executive Order (higepon)

  • 試用期間
    • 解雇できない
  • Google Docを使う文化
  • 挨拶のABテスト
    • See you, お先です
  • Fastly日本オフィス、残っているのは日本人
  • Deep Work
    • Amazon CAPTCHA
    • SNS、メールのせいで難しくなっている
      • そもそもソーシャルを使う必要があるのか?
    • Shallow Work
    • PSのロード画面が長いのも意味がある(気軽にできない)
  • 文字起こしはいちゃもんがつく
  • マイクラのプログラミングはその先がない
    • Scratch, iOS
    • マイクラに夢中になる子はできる子
      • 昔レゴ
    • みんながプログラミングするようになったら違うことしたい
  • アメリカの教育大臣は最悪
  • Exective Order

Deep Workの前半を読んだところで、意識して実践してみたら、Twitter, Pocketの未読が倍増した


Rebuild: Aftershow 175: Abuse of Executive Orders (higepon)


Rebuild: 176: Garbage Collection Police (naoya)


Rebuild: Aftershow 176: Xenoblade Vacation (naoya)


Rebuild: 177: Kamen Rider Ryzen (hak)


Rebuild: Aftershow 177: Mature Friends (hak)

  • アメリカ -> 東京
    • 地球(テラ)へ

Rebuild: 178: Professionals of Cargo Culting (N)


Rebuild: 179: Rustacean (typester)


Rebuild: Aftershow 179: Useful to See the Time (typester)

  • Gumroad
    • 誤課金
    • 二重課金
    • AWSのダウン時にバックアップから戻した時に問題
    • 課金してなかったの方が辛い
    • サポーター機能
      • 課金してる人だけのRSSフィールド
  • Life Is Strange | SQUARE ENIX
    • 時間を巻き戻す
    • PC版
    • Steam
    • シュタゲ
    • セールになる

RubyPlus #27

https://www.rubyplus.com/podcasts/321-Episode-27

  • Mastering Ruby Exceptions
    • free 39 pages book
  • Reading Ruby Code: Ruby Object Mapper - Exploration
    • rom = ROM.container(:sql, 'sqlite::memory') do |conf|
      • require 'pry'; binding.pry
  • Google App Engine adds C#, Node.js, and Ruby options
  • Faster Rails: How to Check if a Record Exists
    • Loading too much data into memory
    • N+1 queries
    • lack of cached values
    • the lack of proper databases indexes
    • advice is to always use exists?
      • present? => 2892.7 ms, any? => 400.9 ms, empty? => 403.9 ms, exists => 1.1 ms
  • Testing Third Party Interactions
  • Google Spreadsheets and Ruby
  • Smarter CSV
    • direct processing with Mongoid or ActiveRecord
    • parallel processing with Resque or Sidekiq
  • Towards Minimal, Idiomatic, and Performant Ruby Code
    • necessary to trade performance for readability, or readability for performance
  • ODBC and writing your own ActiveRecord adapter
    • ODBCAdapter.register
  • Micro-optimizations matter: preventing 20 million system calls
    • sigprocmask
  • ActiveRecord Prepared Statements Can Cause Memory Leaks
    • statement_limit: 200 in config/database.yml
  • Ruby ActionCable Client
    • Client for integrating a ruby application with a remote ActionCable-based backend
    • EventMachine.run do
      • url = 'ws://example.com'
  • Easily Translate Enums in Rails.
    • i18n Post.translated_status(:published) #=> "Was published"

RubyPlus #26

https://www.rubyplus.com/podcasts/301-Episode-26

  • 5 habits that made me a better Ruby developer
    1. Use RuboCop.
    2. Keep your git history clean.
    3. Start a playground project.
    4. Read the Rails source code.
    5. Re-read the Rails guides
  • Introducing Webpacker
    • proper bundling system for JavaScript assets
    • –webpack option
  • Animated Graphics in Ruby
    • Simple DirectMedia Layer (SDL)
  • Why Rack::Timeout Might Hose your Server
  ensure
    clean_up file_1
    # Exception could be raised between the two calls right here
    clean_up file_2
  end

5 habitsは1以外は時々やっている

RubyPlus #25

https://rubyplus.com/podcasts/291-Episode-25

RubyPlus #24

https://rubyplus.com/podcasts/281-Episode-24