2022-11-15 Need to build a new machine environment.

  • Migration with the migration tool is no longer possible due to the companyā€™s management tool.
  • So it needs to be built from scratch.

I was working on it in a very small amount of time and I couldnā€™t really tell what was going on.

  • You need to write down your thoughts properly as you go along.

Migration with migration tools is no longer possible.

  • I ran the migration tool to the last machine, went to bed, and the next morning the new machine had the same environment as before, and I was able to continue working right away.

  • Migration tool conflicts with some management tool and is no longer available

  • Then, I couldnā€™t ā€œmigrate while sleeping and start a new machine the next day,ā€ so I decided to migrate when the work was finished and put it off for a long time.

    • I lost the translation as I kept going back and forth because what I tried didnā€™t work.
  • I was recommended to migrate via OneDrive, but it failed with a mysterious permission error.

    • This is not a mystery, but a theory (current hypothesis) that there are files with special permissions in .ssh, .docker, etc.
  • From finding out how else to move files

    • Setting up file sharing on your Mac - Apple Support (Japan)
    • This is how to set up Samba on the old machine and copy from the new machine
    • Once the progress bar for the crazy long estimate shows up, but it looks like it could be transitioned at a realistic rate.
      • Experiment: Try to copy 36000 files 8GB
        • Estimated end time is 6 hours later (initially indicated 2 hours, increased to 7 hours as I write).
        • I was wondering if it would be over while I was sleeping, or if the time required would keep increasing and I wouldnā€™t be finished when I woke up in the morning, but to my surprise, it was over in an hour!
        • Pattern of progress bar overreporting!
  • To begin with, when selecting and copying target files from the Finder, are folders and files beginning with a dot copied?

    • A: Briefly, it is copied but not selected
      • Hidden by default.
        • Cmd+Shift+. Switch display with
      • So, if you ā€œselect and copy the entire contents of a folder,ā€ anything that starts with a dot is not selected and therefore not copied.
      • A/.gitignore, etc. under folder A are copied when folder A is copied.

Terminal settings are, of course, erased on the new machine.

  • I looked into the possibility of bringing the settings from the old machine, but I donā€™t know how to do that without a migration tool, so Iā€™ll just give up and re-configure.

Itā€™s been so long Iā€™ve completely forgotten what I need.

I copied some projects experimentally.

  • I was able to copy without any problems.
  • Need to test if development can continue without problems

2023-11-15

  • Iā€™m going to sleep tonight with a copy of everything but Dropbox all together.
    • It would take hours to get there.
    • At any rate, according to my current understanding, there should be no error (.ssh and .docker are not selected). 2023-11-16
  • image
  • It didnā€™t work.

http://scorpionfish.blog.shinobi.jp/ubuntu/samba恧macć®ćƒ•ć‚”ć‚¤ćƒ«ćŒā€%20The %E3%80%81 operation cannot be completed because you do not have access to some items%E3%80%82 ā€

Check the permissions on the Mac terminal. There are files that are readable and writable, but have ā€@ā€ at the end of the permissions. EA (Extended Attributes), which is additional information. . due to Mac OS X version upgrade (currently 10.6.3).

This additional information can be erased by $ xattr -d com.apple.FinderInfo ā€œ14 Amazing Grace.m4aā€

Solution for now. ā‘  Delete EA with xattr -d.怀怀(Itā€™s too much trouble) 2) Transfer by USB or external HDD.怀怀怀(Too much trouble, no point in making a serverā€¦) ā‘¢ Create a file server using a method other than Samba.怀怀(Use netatalk. EA is supported for 2.1 and above. But it will be hard)

4) Wait for Samba to support it.怀怀(Fingers crossed)

I decided to go for it and install netatalk.

Iā€™ve checked to see what kind of things have the extended attribute, but itā€™s on a lot of things, like .DS_Store, screenshots, etc.

  • It doesnā€™t seem to me that if youā€™re lucky, youā€™ll always fail.

next action

  • Copy it on the command line to identify what is causing the problem.

2022-11-20

  • I was so tired that I kept getting up and getting the wrong password and the old machine locked up.
    • While consulting with the IT department about unlocking the machine, the new machine was set up at the same time.
    • ā†’11/22 Found to be in a state where remote unlocking is not possible due to an error on our part during the transition.
  • Chrome
    • Installed.
  • Mattermost
    • I didnā€™t write down the server information, Chrome history remembered, I wrote it down.
  • Zoom
    • I could go into the meeting.
    • Iā€™m still waiting to see if I can SSO with my company account.

Problem to be solved

  • Unable to input Japanese with thumb shift
  • Chrome goes back with a gesture, I want to stop it.
    • image
  • Need certificate to access company groupware

2022-11-22

Fastest key repeat before / after imageimage

Enable Japanese input by thumb shift - Diary of Thumb Shift on Mac 2020-01

  • 2021 [/shiology/06161 I have completed the setup to realize thumb shift ā€œshio shiftā€ using only Karabiner-Elements and will publish the simple setup procedure](https://scrapbox.io/shiology/06161 I have completed the setup to realize thumb shift ā€œshio shiftā€ using only Karabiner-Elements and will publish the simple setup procedure).
  • [/shio/ 4 settings and 1 training for drafting on the new Mac](https://scrapbox.io/shio/ 4 settings and 1 training for drafting on the new Mac).
  • I see. So Lacaille doesnā€™t have to use it anymore.

image right-handed genealogist Hereā€™s the thing (this is written in shio-shift) I have no problem with shio-shift for writing Japanese, but I am a programmer. I type a lot of symbols that people who mainly write Japanese donā€™t use.

  • I tried to respect the shio-shift (and its base orz array) while also remapping the symbols to where they are easier to useā€¦
  • In the end, I came to the conclusion that ā€œthe state of mind when writing Japanese and programming are two different things, so the sequences should also be two different things.
    • Iā€™ve always been a fan of writing comments and commitments in English while programming, so thereā€™s no advantage to using an array for Japanese input while programming.

I have an idea of the code that should be implemented, but Iā€™m not sure if Iā€™ve implemented it in the pastā€¦ There it is.

As you can see from the source, when outputting JSON, the following conditions are added: ā€œJapanese mode must be onā€ and ā€œnot a login dialogā€.

VSCode

git

  • image
    • Wow, now Mac says something like this.
  • image
    • Seriously?
      • ā†’It took me about an hour to finish.

Install Dropbox ā†’ default to online and only offline mode for what you need.

I just realized that I canā€™t type Japanese, so Iā€™m using my phone, which is causing me to lose perspective. On my PC, Iā€™m getting lost, with tabs being opened in Chrome and Safari because of a weird Handoff setting. I finally understand the reason for the confusion.

The repository also contained pre-generated files, but I donā€™t know how to use theseā€¦ How to use Complex Modifications in Karabiner-Elements

:

!@#$%^&*()_+
1234567890-=
qwertyuiop[]
asdfghjkl;'\
zxcvbnm,./

Hmmm, the right hand displacement is gone, but the symbols arenā€™t correct. Is this something wrong with the original data itself? Or is karabiner configured incorrectly?

How to fix a Mac that recognizes it as a us keyboard even though it is a jis keyboard | unlogue-

  • Check the ā€œPreferencesā€ > ā€œKeyboardā€ > ā€œInput Sourceā€ screen.

    • image
    • Certainly a different display than the actual keyboard.
  • If ā€œApple Internal Keyboard/Trackpadā€ is checked, uncheck it.

    • image
      • Itā€™s off.
    • image
      • Fixed!

      • No, not at all.

        • If I turn off Modify Event, the thumb shift conversion in Japanese is also turned off, which makes no sense.
  • Circle symbol with backslash

  • Mac setup notes

2022-11-25

Delete the Ctrl arrow shortcut in Mission Control

qkatakosayyrachikutsuho ā€œ. Ushikitekese h wa tokiin.ā€ Nehisufu he nmeso,. ___. 5e00e8f5aff09e00000e2fb5

I actually typed it in and noticed that the double brackets and asterisks were not showing, and the full-width slash and middle black were wrong. image Hmmm, where was the last time I changed a layer of this?

2022-12-04 - Installing ipython

  • Put in Adobe XD
    • I wondered how the license management or whatever was going on, but the installer opened a browser tab, authenticated me, and asked me to log out one of the two machines since I was already logged in on two different machines, easy.

2022-12-19

2023-01-11 - Create a development environment for Kozaneba

2023-01-16 VSCode forgot to set auto-format on save

2023-01-17 Old machine salvage

2022/12/9 Machine B locked up during transition from machine A to machine B to machine C. Machine B cannot be remotely unlocked due to improper migration of Machine A to Machine B

If so, itā€™s currently unclear if itā€™s possible to unlock machine B or if itā€™s just a matter of restoring it to the state it was shipped in. I guess ā€œNext action: salvage data from machine Aā€ would be a good place to start. Iā€™m slammed until next Friday, so Iā€™ll check after that.

I tried to start machine A, but when I mistakenly started machine B, I was able to log in (eek).

  • Lock released over time?
  • Did a reboot from complete battery depletion reset some state?

Mysterious hang-up when using Finger ID to re-login from screen lock after time elapsed.

  • The login process does not proceed.
  • Cancellations can be made.

When I canceled and tried to log in with my password, I got ā€œAccount is lockedā€. I donā€™t know if the condition for unlocking is the passage of time or a restart from battery depletion, but I would like to try the latter. And itā€™s possible that even if you return from a screen lock, it might work if you put in the password.

next action

  • Leave Machine B until the battery is fully discharged.
    • Itā€™s hard to conserve battery because it goes to sleep right at the login screenā€¦
    • For now, leave it until tomorrow.
      • Iā€™ll check tomorrow and if the battery doesnā€™t seem too low, Iā€™ll figure out another way.
  • Reboot and log in with your password
    • Note that the password is different from Machine A due to the change in password policy.
  • Connect from machine C with Samba
    • Copy the project folder from the one with the newest update date
  • In parallel, try the following
    • Can the lock time for non-operation be released or made longer?
    • Can we turn off Finger ID?

2023/1/23

  • I had 12% battery left, but I could log in.

    • Unlocking over time?
      • image
      • This display must be strange.
        • I left it off for 6 days since the 17th and now itā€™s showing like it was on until 3am this morning.
        • Was there something wrong with the indication that the battery had 12% left, once it was empty, and then the indication went even more wrong?
        • No, but it was a speedy startup, not like from a full dischargeā€¦
          • I should have activated the AC and checked it before hooking it up.
  • Samba connection is not available

    • Why? I was able to do it last time.
  • image

    • I was able to get my Mac to not use Finger ID to unlock.
    • When I try to turn off the password autofill as well, it asks for the password.
    • If you put your password here, it will be rejected.
      • I can log in with that password, why?
      • Something funny going on around authenticationā€¦
  • Unable to connect to Samba

    • password is rejected when I enter it / I can log in with that password, why?ā€œ.
    • Grant read access to the guest and try to connect with the guest
      • image
      • hmm
  • Login to your MS account and pour into OneDrive Challenge

    • You donā€™t give an end time estimate or anything.
    • image
    • This one was in node_modules, so I decided to delete the whole thing.

I guess Iā€™ll leave it alone for now for a while and see how the synchronization went.

2023-01-26

  • Gyazo GIF
  • image

Something was wrong with the local development environment settings, and something that didnā€™t warn me locally and went through was failing in the production build.

  • That kind of thing is a pain in the ass, so Iā€™d like to make the local warnings stricter.
  • Did you forget to include eslint in your development environment?
  • VSCode extension, ESLint and Prettier ESLint, which is it?
  • I put the former in and now it warns me properly.

2023-02-01 Docker for Mac

  • image
  • image
    • I downloaded it from the top page, but upon closer inspection it said Intel Chip.

This page is auto-translated from /nishio/Macę—„čؘ2022 using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. Iā€™m very happy to spread my thought to non-Japanese readers.