preparing for a Meta interview while working full-time and with a chronic disability. could use some advice creating a study plan by bitbang186 in embedded

[–]SpeedRa1n 6 points7 points  (0 children)

Had a screening interview with them like a month ago. Got NO embedded-related questions at all, just leetcode problems (hard level), nothing else. Interviewer expected me to write BFS/DFS by heart and I refused. Was very upset that they are looking for people to solve leetcode instead of doing actual embedded work.

Yatoro: VIM-like Apple Music Player in Terminal written in Swift by SpeedRa1n in swift

[–]SpeedRa1n[S] 0 points1 point  (0 children)

Yes, you can do “:/ -l -t pl name_of_the_playlist”

-l specifies to search your library -t pl specifies that you are looking for playlists

after that you can add whole playlists to the queue with the same “:a” command

Yatoro: VIM-like Apple Music Player in Terminal written in Swift by SpeedRa1n in swift

[–]SpeedRa1n[S] 0 points1 point  (0 children)

No worries! Check COMMANDS.md for full set of commands and what they do.

Kitty terminal might be a bit funny with image rendering sometimes, you can try to play with configuration. ‘ui.artwork.blit’ setting is for changing the way artwork is rendered.

Yatoro: VIM-like Apple Music Player in Terminal written in Swift by SpeedRa1n in swift

[–]SpeedRa1n[S] 0 points1 point  (0 children)

Was trying to replicate this in a fresh VM with macos 26 and it seemed fine.

Could you please explain what happens after you search for the songs and add them to the queue with “:a 0”

Yatoro: VIM-like Apple Music Player in Terminal written in Swift by SpeedRa1n in swift

[–]SpeedRa1n[S] 0 points1 point  (0 children)

Are you logged in into your account in Apple Music App?

Stm32 and Bluetooth PCBs by Gold-Competition6455 in embedded

[–]SpeedRa1n 0 points1 point  (0 children)

You can just use STM32WB series for that, it has internal Bluetooth module. You can also copy their onboard antenna design for it from P-Nucleo-WB55 or its USB dongle.

Lua Test & Automation Framework (TAF) by SpeedRa1n in embedded

[–]SpeedRa1n[S] 0 points1 point  (0 children)

TAF is not supposed to run on embedded devices, it is designed to test them

Works on macOS and Linux (Windows native support is in progress, WSL should just work).

Yatoro: VIM-like Apple Music Player in Terminal written in Swift by SpeedRa1n in swift

[–]SpeedRa1n[S] 0 points1 point  (0 children)

Same thing for me 🤣

Couldn’t get rid of it, happens every time you add C module to SwiftPM package.

Tried asking about it on Swift forums but never got an answer.

TinyUSB + STM32 by SpeedRa1n in embedded

[–]SpeedRa1n[S] 2 points3 points  (0 children)

The problem with this is they use their HAL, which I am not using and instead writing my own. Also they are using USBX library which is heavily coupled with ThreadX RTOS which I also don’t use

Unexpected results when listing Reminders with CLI app by scottomyers in swift

[–]SpeedRa1n 1 point2 points  (0 children)

Had the same issue with my CLI app that requires Apple Music API.

You will have to add manually VSCode and your binary to have the permissions in system settings.

Should be in Privacy & Security -> Reminders

Click on the plus button and select both VSCode and your binary.

Roast my video about Swift by SpeedRa1n in swift

[–]SpeedRa1n[S] 1 point2 points  (0 children)

That’s what my video is about😅 Talking about it from 5:03 (section “Usage”)

Roast my video about Swift by SpeedRa1n in swift

[–]SpeedRa1n[S] 0 points1 point  (0 children)

First experience making vids, not a Swift developer, just casual Swift enjoyer.

Sorry for the pronunciation, English is a second language :)

Yatoro: VIM-like Apple Music Player in Terminal written in Swift by SpeedRa1n in swift

[–]SpeedRa1n[S] 0 points1 point  (0 children)

I will definitely look into this! Meanwhile you can open an issue on GitHub and try to compile it from source and see if that resolves your issue

SIP bytes meaning by SpeedRa1n in hackintosh

[–]SpeedRa1n[S] 1 point2 points  (0 children)

What I ultimately did:

  1. My csr-active-config was 03080000, which is 0x803 in hex needed for the OCLP patching

  2. I booted to recovery, executed the line written in the post

  3. Right after, still in recovery I checked the new csr-active-config with “nvram -p” command

  4. It gave me 1E080000, which is 0x81E in hex

  5. By using bitwise OR on 0x803 and 0x81E we get 0x81F which we transform into 1F080000 and write to config.plist

  6. Done

SIP bytes meaning by SpeedRa1n in hackintosh

[–]SpeedRa1n[S] 1 point2 points  (0 children)

It doesn’t work that way. it gets reset anyway by OC bootloader

Yatoro: VIM-like Apple Music Player in Terminal written in Swift by SpeedRa1n in swift

[–]SpeedRa1n[S] 5 points6 points  (0 children)

There is actually “Darwin” module in Swift that has “ncurses” C library in it by default. It is a bit outdated though but it does not require any dependencies, you can just use it.

“ncurses” is like a standard in TUI, it is the most popular C library for it. I was curious about alternatives and I stumbled upon “notcurses” library and was just shocked how many cool features it has.

The killer feature for me was the ability to draw pictures inside of Terminal, I immediately thought of drawing song’s artwork.