khoi
    • 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
    ## Questions * Quick introduction Khoi Denis Thibault. * Computer engieer for 20 years? * First half was Java J2EE, C++, backend engineer * Created his own company doing "integraion" * started doing Android because of Java and didn't want to do Objective-C * Moved to Canada mobile engineer specialized in open source development * Specialized on iOS and Swift * Do a lot of reactive programming, involved in the oepn soruce community * Became a senior iOS developer, * Team lead, bootstraped a new mobile team * manage, doing architecture 4 android 4 iOS * CI/CD pipeline * became interested in uni directional data flow architecture, redux * 2 years ago, want to focus on the architecture for both iOS/Android * Doesn't use Spin but other internal implementation * Currently porting that architecture to structural concurrency * descriptive state machine using DSL * Have u worked on multi platform project in the past? Any thought on that? Exp working with macOS/AppKit? * Nope * SwiftUI 100% now * Are you familiar with any other frameworks apart from UIKit? * CoreBluetooth, was using an SDK that uses it * some CoreData, Firebase * What memory management model does Swift use? * Explains it okay * Capture list unowned (i think only theory applies here for him) * "What is a memory leak? Can you show me an example of one that you have encountered at work? How do you discover them in your day to day work? How have you planned (if any) in the past to keep them away, do you run any X period of time a check on the memory graph or something else for example you would like to share?" * in code review, for suspicious PRs * CoreData? Realm? Sqlite? Why? If u were tasked to rewrite Toggl app what would u choose? < Segway to the NSUserDefaults assignment followup k later on * Offline-first * CoreData (iCloud?) * Realm because of synchronization * Synchorinization by hand? (?!) (I think he is meaning what we do with "_backup, _current..." which seems to come for free with Realm) * looks like he redo the assignment in Core Data * What kind of Data structures are u familiar with? What about algorithms, particular algo/ds u found useful in iOS developemnt * rarely have to use algorithms * use value type as much as possible * ramble about state machine, value type, which is kinda not relevant * (i would have wanted to ask about CoW types :P but another time maybe) * know the complexity of lookingup an item in Set Array O(1), O(n) * mentioned he use Deque maintaining backpressure queue in his architecture package * Can we check on this if he knows about CoW? * know Cow * Do u code in any other language? Do u have any exp writing mobile tooling scripts? (localization/fastlane) * a swift cli to generate code coverage report from XML * also write some Bash * Familiarity with The Composable Architecture? Can u quickly compare it to your own's Spin (He wrote this Spin thingy) * mentioedn Mealy and Moore thingy * find the syntax complicated, not natural. mentioned ViewStore * unsure if having a GlobalStore * in his architecture there is no store, so no need to zoomout, zoomin on a state. * ## Assignment improvement * Architecutre walkthrough * I have trouble following his explaination on the arctehicture * Why the use of NSUserDefaults? * No fancy request, fitler * can't have a hierarchy of an object * Moved to CoreData * `StateMachine.swift` line 97, retaining self behavior * in staet machine sometimes u don't want to performa transition * his Swift navigation is kinda weird, does't knkow how to split * `makeTimerView()` passing onStop in, what if the subview is deeply nested, how do u notify its parent about a change? * mediator pattern in the architecture layer * `private var start = Date.now`, refactor the code so these props are coming in from the architecture * struggle to move it out because when introducing new prop to the "phantom protocol" he has, all the sub states have to somehow implement it. ## Get to know Thibault - Tell me about someone who is better than you in an area that really matters to you. - :+1: - *“Look for the candidate to demonstrate a genuine appreciation for others who have more skill or talent.”* - What is the hardest you've ever worked on something in your life? - :+1: (kind of) - *“Look for specific examples of real but joyful sacrifice. In other words, the candidate isn't complaining, but is grateful for the experience.”* - What kind of people annoy you the most, and how do you deal with them? - :+1: - *“What you're looking for here are self-awareness and self-control.”* - Ask him about his remote work exp - Questiona bour remote work - Why do u want to work here, Why do you think you will be a good fit for our team - Used Toggl in the past - Able to work in a well-known application which he "doesn't do" rightnow, becuse he's doign B2B - because of background in architecture world and reactive programming, saw Compsable architecture for Android. He's intesreted in architecture - Anything u want to ask us? - More about the context of the position - Ask whether who is making architecture decision - Ask question about TCA its pros and cons and stuff - Whether we have CI/CD

    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