HackerTrans
TopNewTrendsCommentsPastAskShowJobs

thuttinger

no profile record

comments

thuttinger
·7 ay önce·discuss
Claude/LLMs in general are still pretty bad at the intricate details of layouts and visual things. There are a lot of problems that are easy to get right for a junior web dev but impossible for an LLM. On the other hand, I was able to write a C program that added gamma color profile support to linux compositors that don't support it (in my case Hyprland) within a few minutes! A - for me - seemingly hard task, which would have taken me at least a day or more if I didn't let Claude write the code. With one prompt Claude generated C code that compiled on first try that:

- Read an .icc file from disk

- parsed the file and extracted the VCGT (video card gamma table)

- wrote the VCGT to the video card for a specified display via amdgpu driver APIs

The only thing I had to fix was the ICC parsing, where it would parse header strings in the wrong byte-order (they are big-endian).
thuttinger
·8 ay önce·discuss
For a general file sharing / storage solution there is also OpenCloud: https://opencloud.eu/de

It's what I want to try next. Written in go, it looks promising.
thuttinger
·3 yıl önce·discuss
There is one guy that does the same for batteries, chargers, power supplies and more: https://lygte-info.dk/
thuttinger
·3 yıl önce·discuss
Works great! However, i had Python 3.11 set up as default python3 in path, and since there is no wheel for torch for 3.11 yet, the script failed. With 3.10 it worked flawlessly.

Small improvement: the node script could check if the model files are already present at the download location and not download them again in this case.
thuttinger
·4 yıl önce·discuss
I agree, ncdu is a great and easy to use command line tool.

On Mac OS, run for example:

   ncdu -x --exclude /Volumes --exclude /System/Volumes /
This scans the root filesystem but excludes the Volume mounts specifically (the -x option to limit the scan to the current filesystem doesn't work properly on mac os). Navigate through the folders, sorted by size, from there. Press d to delete a folder.
thuttinger
·4 yıl önce·discuss
Interesting. I'll take a look at this, thanks!
thuttinger
·4 yıl önce·discuss
I tried running it in realtime with live audio input (kind of).

If you want to give it a shot, you can find the python script in this repo: https://github.com/tobiashuttinger/openai-whisper-realtime

A bit more context on how it works: The systems default audio input is captured with python, split into small chunks and is then fed to OpenAI's original transcription function. It tries (currently rather poorly) to detect word breaks and doesn't split the audio buffer in those cases. With how the model is designed, it doesn't make the most sense to do this, but i found it would be worth trying. It works acceptably well.