Live data from Hacker News

Viewing profile — m0shen

m0shen

HN member
Joined
Fri, Jul 18, 2008, 8:09 PM UTC
HN karma
235
Public activity
144 items

About m0shen

http://moshen.net

Recent public activity

  1. comment
    Comment #48187793

    Ah I went through the same thing myself, but with Windows https://moshen.net/posts/virtual_kvm/

  2. comment
    Comment #42314930

    I thought it depended on libc by default?

  3. comment
    Comment #41919845

    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/got…

  4. comment
    Comment #40580388

    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 ter…

  5. comment
    Comment #40579245

    `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.o…

  6. comment
    Comment #40529146

    Paperless supports OCR + full text indexing: https://docs.paperless-ngx.com/ As far as AI goes, not sure.

  7. comment
    Comment #40054589

    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/mos…

  8. comment
    Comment #40042087

    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. comment
    Comment #40040313

    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 co…

  10. comment
    Comment #40023157

    Anything that converts to PDF/A will strip Javascript

  11. comment
    Comment #39399868

    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

  12. comment
    Comment #39398548

    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 …

  13. comment
  14. comment
    Comment #39397557

    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 …

  15. comment
    Comment #39397477

    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 t…

  16. comment
    Comment #39393824

    That doesn't appear to be a valid link. Try building `file` from source and using the provided default magic database.

  17. comment
    Comment #39393786

    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 cl…

  18. comment
    Comment #39393538

    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 uploadin…

  19. comment
    Comment #39393506

    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 yo…

  20. comment
    Comment #39392984

    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 …

  21. comment
    Comment #39392940

    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…

  22. comment
    Comment #39392797

    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/moshe…

  23. comment
    Comment #38039466

    Not all. Jet fuel doesn't have lead. AFAIK it's piston based small planes.

  24. comment
    Comment #37496548

    Have this game. Love it! It's a great pick up and play couch game.

  25. comment
    Comment #37464561

    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 activ…