Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
m0shen
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
1.
▲
by
m0shen
4mo ago
Ah I went through the same thing myself, but with Windows https://moshen.net/posts/virtual_kvm/
2.
▲
by
m0shen
2y ago
I thought it depended on libc by default?
3.
▲
by
m0shen
2y ago
Nyancat terminal animation in perl: https://gist.github.com/moshen/1417991 On the slightly more useful side... gotermimg to play gifs in the terminal: https://github.com/moshen/gotermimg
4.
▲
by
m0shen
2y ago
I see what you're saying. When I was writing scripts in `expect`, I didn't really ever try to automate tui programs. So, this could absolutely be a better way to script the the terminal as a ui as you said. I'll certainly tuc
5.
▲
by
m0shen
2y ago
`expect` is absolutely geared towards scripting, as it's an extension of TCL. Though as far as getting a "current terminal view" `expect` has `term_expect`: https://core.tcl-lang.org/expect/file?name=exam
6.
▲
by
m0shen
2y ago
Paperless supports OCR + full text indexing: https://docs.paperless-ngx.com/ As far as AI goes, not sure.
7.
▲
by
m0shen
2y ago
I love seeing how many people wrote one of these. I've written 2: One to learn golang that plays gifs - https://github.com/moshen/gotermimg And one in perl - https://github.com/moshen/Image-Te
8.
▲
by
m0shen
2y ago
Yes, you're correct. I had in mind the 2022 date of the update. It also looks like you've updated the article again today! Thanks
9.
▲
by
m0shen
2y ago
This article was written when cosmopolitan: https://justine.lol/cosmopolitan/index.html was v2. v3 has since been released: https://justine.lol/cosmo3/ . https://cosmo.zip/ Also c
10.
▲
by
m0shen
2y ago
Anything that converts to PDF/A will strip Javascript
11.
▲
by
m0shen
3y ago
I've updated this script with some single-file cli numbers, which are (as expected) not good. Mostly just comparing python startup time for that. make sqlite3 < analyze.sql file_avg python_avg pyth
12.
▲
by
m0shen
3y ago
Absolutely, and honestly in a non-interactive ingestion workflow you're probably doing multiple checks anyway. I've worked with systems that call multiple libraries and hand-coded validation for each incoming file. Maybe it's
13.
▲
by
m0shen
3y ago
Good to know! Thank you. I'll definitely be trying it out. Though, I might download and hardcode the model ;) I also appreciate the use of ONNX here, as I'm already thinking about using another version of the runtime. Do you think
14.
▲
by
m0shen
3y ago
My little script is trying to identify in bulk, at least by passing 165 file paths to `magika`, and `file`. Though, I absolutely agree with you. I think realistically it's better to do this kind of thing in a library rather than shell
15.
▲
by
m0shen
3y ago
That doesn't appear to be a valid link. Try building `file` from source and using the provided default magic database.
16.
▲
by
m0shen
3y ago
Thank you for the release! I understand you're just getting it out the door. I just hope to see it delivered as a native library or something more reusable. I did try the python cli, but it seems to be about 30x slower than `file` for
17.
▲
by
m0shen
3y ago
At multiple points in my career I've been responsible for apis that accept PDFs. Many non-tech savvy people seeing this, will just change the extension of the file they're uploading to `.pdf`. To make matters worse, there is some
18.
▲
by
m0shen
3y ago
This is false in every sense for https://www.darwinsys.com/file/ (probably the most used file version). It depends on the magic for a specific file, but it can check any part of your file. Many Linux distros are years
19.
▲
by
m0shen
3y ago
Yeah, there is this line: By open-sourcing Magika, we aim to help other software improve their file identification accuracy and offer researchers a reliable method for identifying file types at scale. Which implies a production-rea
20.
▲
by
m0shen
3y ago
Made a small test to try it out: https://gist.github.com/moshen/784ee4a38439f00b17855233617e9... hyperfine ./magika.bash ./file.bash Benchmark 1: ./magika.bash Time (mean ± σ): 706.2
21.
▲
by
m0shen
3y ago
As someone that has worked in a space that has to deal with uploaded files for the last few years, and someone who maintains a WASM libmagic Node package ( https://github.com/moshen/wasmagic ) , I have to say I really
22.
▲
by
m0shen
3y ago
Not all. Jet fuel doesn't have lead. AFAIK it's piston based small planes.
23.
▲
by
m0shen
3y ago
Have this game. Love it! It's a great pick up and play couch game.
24.
▲
by
m0shen
3y ago
The fitness apps looked exactly like what I need, but when going to the play store says they were made for an older version of Android. Visiting Github seems like they aren't actively maintained either.
25.
▲
by
m0shen
3y ago
Yeah margin per processor shipped is a different question, and Apple probably does very well here.
26.
▲
by
m0shen
3y ago
Number one in performance / watt? maybe? sales? Well no. According to the web[1] total chip sales in 2022 excluding arm amount to 374 million units. Server chips being 36.1 million units. Apple's biggest quarter in 2022 was 7 mill
27.
▲
by
m0shen
4y ago
It looks like that's auto generated
28.
▲
by
m0shen
4y ago
I just picked up a launchpad x for this purpose. Has a note mode and you can customize what the grid does. Focusrite is also having a sale at the moment: https://store.focusrite.com/en-gb
29.
▲
by
m0shen
4y ago
Xero | Multiple Roles | REMOTE (ON/AB/BC Canada), HYBRID Toronto | Full-Time | https://www.xero.com/ Xero is one of the fastest growing software-as a-service companies globally. We lead the New Zealand, Australian
30.
▲
by
m0shen
4y ago
I don't know about the preview issues, but I have also had some bizarre issues during encoding. Specifically h264 using the mp4 container will crash encoding almost 100% of the time. This started a couple of major versions ago, and con
More ›