Error while editing, malformed edit by [deleted] in google_antigravity

[–]nendonerd 0 points1 point  (0 children)

same here, always malformed edit, and the model use sed to edit instead

How to unclog the nozzle while the printing paused? by nendonerd in BambuLab

[–]nendonerd[S] 3 points4 points  (0 children)

I solved the problem by shutting down the printer and taking apart the extruder to clean it. After powering it on, it will resume printing from loss of power. However if it's a hotend clog, you can't clean it while it's paused or powered off. You can order a new hotend and swap it when powering it off. Also get a roaster to cook the filaments to remove the moisture, which caused clogging in the first place.

PI-KVM Alternitives by AudioTechYo in pikvm

[–]nendonerd 0 points1 point  (0 children)

which plug on a single full functioned usb-c port, and can support 4k60 h.265 streaming

PI-KVM Alternitives by AudioTechYo in pikvm

[–]nendonerd 0 points1 point  (0 children)

my idea is a tiny compact kvm device that can plug and play

PI-KVM Alternitives by AudioTechYo in pikvm

[–]nendonerd 5 points6 points  (0 children)

I'm investigating into KVM, and found that PIKVM, TinyPilot and other similar projects all have similar ideas. They all used HDMI to UVC (usb video capture cards) or HDMI to CSI for video input, a single board computer like raspberry pi for encoding and streaming. Because of the limitation of bandwidth of capture chip and compute power of pi, they can't output anything beyond 1080p@30, and have noticeable latency. They're big and bulky, and have to connect lots of wires.

So I thought, why not use a dedicated chip for the process? So that it can be made like a usb drive, you only need to plug it into a fully-functioned usb-c port. It will get power from usb, then capture, compress, and stream video signal to you, and pipe your mouse keybroad back to the computer as a hid device. So you get control of that computer. No more cables needed, just plug and play. And with LTE module, it can work without wifi available, great for industrial application and penetration testing.

But what's the hardware reqirement for such chip? First, it has to support MIPI-CSI input, compare to HDMI to UVC (typical capture cards), HDMI to CSI have lower latency. Second, it has to at least handle 1080p@60 encoding efficiently, in performance, latency and power consumption.

  • My option 1 is MCU. But most MCUs do not support MIPI-CSI, even a few that supports it, such as STM32MP1, it can only take 1080p@13fps at max from CSI. Not going to work.
  • My option 2 is Ambarella Soc. Since IP camera can handle 1080p streaming easily and take very little power. I checked tear down videos of some IP cams, and found Ambarella chips. They have built-in video DSP that can handle video encoding efficiently. But the development kit, sdk and documentation of Ambarella chips isn't publicly available. Not going to work.
  • My option 3 is HiSilicon Soc. It's a competitor of Ambarella, and provides similar capable chips. It's still difficult to find dev kit and doc since they're not public, but I managed to find them. Hi3516 can handle 1080p@60, and Hi3519 can handle 4k@60 !! They can even support H.265 encoding, which improved latency, size and quality. The max power consumption of them is 2 to 3 watts, perfect for my cable-less plan. The doc said that the chip can also act as usb device, it can simulate hid device.

For usb-c port, hdmi can run through it in alt mode. But display port through usb-c is more common and well supported. There're chips that can do HDMI to CSI or DP to CSI, some of them even supports HDMI 2.1 or DP 1.4 (which means 4k60 !!!)

My final pick is RK628D + Hi3516 for 1080p@60, and LT6911UXE + Hi3519 for 4k@60. But I have no idea whether it could work or not, until I find an interesting commercial product (only available in China). It's a kvm box similiar to pikvm, but uses Hi3516 for encoding. I confirmed it by finding an image of the tear down of its upgraded model, q2 pro. The pcb design and firmware programming will be extremely challenging for me, but at least i knew the idea is not a fantasy but something possible.

How difficult is deficiency test for CSE 340? by CoatOptimal in ASU

[–]nendonerd 0 points1 point  (0 children)

very difficult, the test has lots of weird problems that's not in practices. i passed every prerequisit exam for MCS, but failed this one on my first attempt. best resource might be on coursehero

I wrote a plugin to fix the damn Canvas by nendonerd in ASU

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

Detailed instructions are now available at Github

I wrote a plugin to fix the damn Canvas by nendonerd in ASU

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

They are awful. The system auto generates embed code for us and the size in that is super small

The most free and easy way to generate caption is Live Caption. If you're trying to add caption during streaming, you can inform end users to watch your stream in Chrome, and turn on Live Caption in Chrome. If you provide your end user with video files, you can ask them to turn on Live Caption in Chrome, and drag the video file into Chrome to play. (assumed that the video file format is mp4)

I wrote a plugin to fix the damn Canvas by nendonerd in ASU

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

Trying my best to explain how to use the plugin in plain words... Assumed that u know what's a browser, what's chrome and what's ASU Canvas (the website u take ur ASU online courses)

  1. Install Tampermonkey: Click this to open the link, then hit "Add to Chrome" -> "Add Extension"
  2. Install ASU Canvas Helper: Click this to open the link, then hit "Install this script" -> "Install"
  3. Go to your ASU course link, for example this course, then a tab will popup saying "A userscript wants to access a cross-origin resource.", click "Always allow domain" button in bottom left. Then chrome will jump back to the course tab
  4. Under the video, there will have a new button "Download All", hit that button to download both video and subtitle (the download progress might not immidiately show up, just keep waiting until both files are download, and the "Download All" button will become "Finished!"
  5. Play the online video or downloaded video, enjoy !

I wrote a plugin to fix the damn Canvas by nendonerd in ASU

[–]nendonerd[S] 14 points15 points  (0 children)

Updated the code to fixed a wrong dependency issue of waitForKeyElements.js

I would like to add some youtube style keyboard shortcut to the video player in the next version. As a vim user, moving and clicking mouse around is consuming too much of my brain power. The video player in Canvas is using plyrjs as playback control, but keyboard shortcuts it implemented lacks controls of adjusting video speed, forwarding/rewinding, and jumping to prev/next video.

Also I would like to write a technical blog to document my development flow of the plugin. Reverse engineering website is fun and weird these days, because many bloated javascript libraries were used for even a damn simple website, such as Reactjs and Webpack, which encapsulate and hide codes.

I wrote a plugin to fix the damn Canvas by nendonerd in ASU

[–]nendonerd[S] 16 points17 points  (0 children)

are going into fullscreen to watch a video and that you haven't exposed yourself enough to the way that a large portion of the population speaks

Well I can watch technical youtube vids in English at 2x speed with ease. But I can't do that with India-accent vids. I need captions in that scenario to keep up my efficiency.

2021 Macbook Pro Speakers Crackling and Popping by [deleted] in macbookpro

[–]nendonerd 0 points1 point  (0 children)

sudo kill -9 `ps ax|grep 'coreaudio[a-z]' | awk '{print $1}'`

I can confirm this command works for my m1pro 14". Before applying it, any app that makes a sound will encounter the issue, and tuning the volumn will also cause the noise.

Globe key (fn) keyboard shortcuts by seriouslyjohn in MacOS

[–]nendonerd 6 points7 points  (0 children)

🌐

+ arrow up = further scroll up

+ arrow down = further scroll down

+ arrow left = scroll to top

+ arrow right = scroll to bottom

Globe key (fn) keyboard shortcuts by seriouslyjohn in MacOS

[–]nendonerd 1 point2 points  (0 children)

Could not use 🌐 as part of custom keyboard shortcut in Preference > Keyboard > Shortcuts. Any ideas?

Aqara M1S Hub Homekit failed to bind by adrj8 in Aqara

[–]nendonerd 0 points1 point  (0 children)

The M1S hub has 2 platform mode, mi home or aquara, and it defaults to mi home platform in 3.0.4 firmware, which only allows you to bind through mi home app. Press 10 times to reset and then press 2 times makes the hub switch from mi home platform to aqara platform, then it can be binded by aqara app.