Notices by Tyler (tyler@nicecrew.digital)
-
Embed this notice
Tyler (tyler@nicecrew.digital)'s status on Thursday, 20-Feb-2025 16:27:26 JST Tyler
It's hard to teach others to program frankly. I've encountered some difficulty with my son, when trying to accumulate a two-element array in-place. (I am the one who had a retard moment) -
Embed this notice
Tyler (tyler@nicecrew.digital)'s status on Thursday, 20-Feb-2025 16:25:15 JST Tyler
The most-recommended yet least-read book in existance -
Embed this notice
Tyler (tyler@nicecrew.digital)'s status on Thursday, 20-Feb-2025 16:22:32 JST Tyler
It's CHAI NIGGA -
Embed this notice
Tyler (tyler@nicecrew.digital)'s status on Thursday, 20-Feb-2025 16:06:34 JST Tyler
REAL -
Embed this notice
Tyler (tyler@nicecrew.digital)'s status on Thursday, 20-Feb-2025 15:53:51 JST Tyler
I declare a {} war -
Embed this notice
Tyler (tyler@nicecrew.digital)'s status on Thursday, 20-Feb-2025 15:52:04 JST Tyler
real -
Embed this notice
Tyler (tyler@nicecrew.digital)'s status on Thursday, 20-Feb-2025 14:47:34 JST Tyler
@alex what do you have to say for this? -
Embed this notice
Tyler (tyler@nicecrew.digital)'s status on Thursday, 20-Feb-2025 14:40:24 JST Tyler
I have learned to stop being fat, I just need to stop eating. -
Embed this notice
Tyler (tyler@nicecrew.digital)'s status on Thursday, 20-Feb-2025 13:39:45 JST Tyler
One of them ODrive Clones, the ODESC V4.2 from Flipsky, comes with old ass firmware and doesn't work right with modern odrivetool, despite saying it's compatible. The flipsky is like $35 while the genuine odrive was like $130. The flipsky based on the v<3.6 hardware spec is not compatible with their web tool, only the python odrive library over usb, serial, and CAT control.
First, we just want to bring it up to date because the stock firmware just shits itself and doesn't work. The hardware version of this board is 3.6, which means that we can flash the onboard stm32 with the most recent firmware compatible with it, which is 0.5.6.
- create and enter new python venv
- pip install odrive=0.5.4 (need older version)
- maybe optional, install udev rules sudo bash -c "curl https://cdn.odriverobotics.com/files/odrive-udev-rules.rules > /etc/udev/rules.d/91-odrive.rules && udevadm control --reload-rules && udevadm trigger"
- download the .elf for your voltage config: https://github.com/odriverobotics/ODrive/releases/tag/fw-v0.5.6
- convert the .elf to a .hex that's actually compatible with the firmware flasher objcopy -O ihex firmware.elf firmware.hex
- edit the .venv/lib/python3.12/site-packages/odrive/dfu.py file and completely comment out the following section:if hw_version is None: logger.error("Could not determine hardware version. Flashing precompiled " "firmware could lead to unexpected results. Please use an " "STLink/2 to force-update the firmware anyway. Refer to " "https://docs.odriverobotics.com/developer-guide for details.") # Jump to application dfudev.jump_to_application(0x08000000) return
- connect your flipsky odrive via usb, power externally via the DC input port, and hold the boot button then press the reset button, release, then flash the new firmware with odrivetool dfu firmware.hex
Congratulations you now have the most recent firmware that will actually work with odrivetool.
-
Embed this notice
Tyler (tyler@nicecrew.digital)'s status on Thursday, 20-Feb-2025 08:16:21 JST Tyler
pretend retards > pretend geniuses -
Embed this notice
Tyler (tyler@nicecrew.digital)'s status on Thursday, 20-Feb-2025 05:36:02 JST Tyler
Wow. What an explosive reaction. -
Embed this notice
Tyler (tyler@nicecrew.digital)'s status on Thursday, 20-Feb-2025 05:36:01 JST Tyler
Don't get your outer shell in a twist. -
Embed this notice
Tyler (tyler@nicecrew.digital)'s status on Wednesday, 19-Feb-2025 16:03:47 JST Tyler
-- do rum indexing live with minimial degredation of performance for users. DO $$ DECLARE sleep_time FLOAT := 0.01; -- minimum value, ~100 records updated a second. processed_count integer := 0; total_count integer; current_record RECORD; new_time timestamp; BEGIN SELECT COUNT(*) INTO total_count FROM objects WHERE updated_at < NOW(); RAISE NOTICE 'Total rows to trigger RUM indexing on: %', total_count; RAISE NOTICE 'Estimated time to completion: % minutes', sleep_time * total_count * 1.2/60; FOR current_record IN SELECT id, updated_at FROM objects LOOP UPDATE objects SET updated_at = NOW() WHERE id = current_record.id; -- await trigger completion and release some computation time for live usage processed_count = processed_count + 1; IF processed_count % 500 = 0 THEN COMMIT; RAISE NOTICE 'Processed % rows', processed_count; END IF; PERFORM pg_sleep(sleep_time); END LOOP; RAISE NOTICE 'RUM Indexing complete'; END $$; -
Embed this notice
Tyler (tyler@nicecrew.digital)'s status on Wednesday, 19-Feb-2025 16:03:46 JST Tyler
me when i fuck up the pleromussy -
Embed this notice
Tyler (tyler@nicecrew.digital)'s status on Wednesday, 19-Feb-2025 16:03:45 JST Tyler
related but irrelevant help video -
Embed this notice
Tyler (tyler@nicecrew.digital)'s status on Wednesday, 19-Feb-2025 16:03:44 JST Tyler
okay this is one of my very favorites -
Embed this notice
Tyler (tyler@nicecrew.digital)'s status on Wednesday, 19-Feb-2025 15:55:41 JST Tyler
nice -
Embed this notice
Tyler (tyler@nicecrew.digital)'s status on Wednesday, 19-Feb-2025 15:55:40 JST Tyler
POV: You're about to be SuperRaped ™️ by bugs -
Embed this notice
Tyler (tyler@nicecrew.digital)'s status on Wednesday, 19-Feb-2025 12:07:55 JST Tyler
It gets worse -
Embed this notice
Tyler (tyler@nicecrew.digital)'s status on Wednesday, 19-Feb-2025 12:04:54 JST Tyler
nopw this is quality content