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!
- Experiment: Try to copy 36000 files 8GB
-
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.
- Hidden by default.
- A: Briefly, it is copied but not selected
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.
- Four years ago and three years ago I was recording! - Mac Diary 2018 - Mac Diary 2019
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
- 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.
- Need certificate to access company groupware
2022-11-22
Fastest key repeat before / after
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.
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.
- from /nishio/thumb-shift-diary.
- August 2018
- Diary of Thumb Shift on Mac 201808
- The structure of overlapping Lacaille and Karabiner-elements is engineeringly weird.
- Karabiner-elements alone can achieve thumb shift.
- Itās hard to mess with Karabinerās configuration files directly.
- I made a script to generate a configuration file.
- August 2018
- Diary of Thumb Shift on Mac 201808
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ā.
git
-
- Wow, now Mac says something like this.
-
- Seriously?
- āIt took me about an hour to finish.
- Seriously?
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.
- I want to open Handoff in Chrome, not Safari.
- I want to fix the order of virtual desktops on MacBooks in any order.
The repository also contained pre-generated files, but I donāt know how to use theseā¦ How to use Complex Modifications in Karabiner-Elements
-
Save your own rules with a .json extension and place them in the folder below.
-
/Users/username/.config/karabiner/assets/complex_modifications
- Official Document: Use more complex rules | 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.
- Certainly a different display than the actual keyboard.
-
If āApple Internal Keyboard/Trackpadā is checked, uncheck it.
-
- Itās off.
-
-
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.
-
-
2022-11-25
- Problem with Karabiner-Elements recognizing JIS keyboard as US keyboard - Qiita
-
Open Karabiner-Elements Preferences and select Virtual Keyboard
-
- right-handed genealogist
- @:*`;+
- OK!!
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. Hmmm, where was the last time I changed a layer of this?
-
- https://github.com/nishio/generate_karabiner_conf/blob/master/nishioshift/SPECIAL.txt
- Now Iāve decided to change it.
- I passed on colons, underscores, circle symbols, etc., because I wrote them at this point but didnāt use them at all after that and didnāt remember them.
- Added exclamations and braces with no middle black and center shift in the lower right corner
- https://github.com/nishio/generate_karabiner_conf/commit/f1a52b08bd5760a0424e61c070620b4a08c3dd3d
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
- The Missing Package Manager for macOS (or Linux) ā Homebrew
$ brew install ffmpeg
- Whisper
2023-01-11 - Create a development environment for Kozaneba
2023-01-16 VSCode forgot to set auto-format on save
- 2023-01-26 Put in Prettier and set up default formatter
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?
- 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.
- This display must be strange.
- Unlocking over time?
-
Samba connection is not available
- Why? I was able to do it last time.
-
- 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
- hmm
-
Login to your MS account and pour into OneDrive Challenge
- You donāt give an end time estimate or anything.
- 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
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
-
- 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.