Better HN
topnewbestaskshowjobs
Log inSign up

noperator

423 karma · joined Jan 21, 2024 (2y ago) · 50 submissions

Submissions

31.

Show HN: curlmin – Curl Request Minimizer(github.com ↗)

7 points · by noperator · 1y ago · discuss

comment 1y ago · link · parent

You can also use https://github.com/noperator/raink to brainstorm TLDs that are relevant to some topic you care about. For example:

    curl -s https://data.iana.org/TLD/tlds-alpha-by-domain.txt |
        raink -f /dev/stdin -p 'which of these TLDs is most related to the concept of "hacking"?' |
        jq -r 'map(.value)[:10]'
    
    [
      "BLACK",
      "COMSEC",
      "TOOLS",
      "SECURITY",
      "ZERO",
      "EXPOSED",
      "FORUM",
      "SHELL",
      "BOT",
      "SOFTWARE"
    ]
Those are all in the IANA list but not all can be registered—just showing as PoC. See https://bishopfox.com/blog/raink-llms-document-ranking for more background.

comment 1y ago · link · parent

Agree. I think LLMs are usually not "harnessed" correctly for complex, multi-step problems—hence the `raink` CLI tool: https://github.com/noperator/raink

comment 1y ago · link · parent

Great questions. For commits or revision diffs as documents—either will work. Yes, I've applied this to N-day vulnerability identification to support exploit development and offensive security testing. And yes, for fuzzing, a sensible approach would be to dump the exported function attributes (names, source/disassembled code, other relevant context, etc.) from a built shared library, and ask, "Which of these functions most likely parses complex input and may be a good candidate for fuzzing?" I've had some success with that specific approach already.

comment 1y ago · link · parent

That's awesome. Will take a closer look!

comment 1y ago · link · parent

A concept that I've been thinking about a lot lately: transforming complex problems into document ranking problems to make them easier to solve. LLMs can assist greatly here, as I demonstrated at inaugural DistrictCon this past weekend.

37.

Hard problems that reduce to document ranking(noperator.dev ↗)

318 points · by noperator · 1y ago · 54 comments

comment 1y ago · link · parent

> palm rejection while using the stylus

Do you mean that it doesn't sufficiently reject palm touch while writing with stylus? I'm a long-time Onyx BOOX user and hoping that DC-1 writing experience is as good or better.

39.

Show HN: jqfmt – like gofmt, but for jq(github.com ↗)

1 points · by noperator · 1y ago · discuss

comment 1y ago · link · parent

PRs welcome ;)

comment 1y ago · link · parent

Yeah could do. I do this for some SSH hosts but not all.

comment 1y ago · link · parent

I just like to be notified when I need to tap something with explicit intent.

comment 1y ago · link · parent

I published a nearly identical tool, referencing the same paper, a few weeks ago :) Although I implemented a listwise algorithm instead of pairwise as described in the paper; ends up being a lot faster.

https://github.com/BishopFox/raink

https://bishopfox.com/blog/raink-llms-document-ranking

    raink \
        -f testdata/sentences.txt \
        -r 10 \
        -s 10 \
        -p 'Rank each of these items according to their relevancy to the concept of "time".' |
        jq -r '.[:10] | map(.value)[]' |
        nl
    
       1  The train arrived exactly on time.
       2  The old clock chimed twelve times.
       3  The clock ticked steadily on the wall.
       4  The bell rang, signaling the end of class.
       5  The rooster crowed at the break of dawn.
       6  She climbed to the top of the hill to watch the sunset.
       7  He watched as the leaves fell one by one.
       8  The stars twinkled brightly in the clear night sky.
       9  He spotted a shooting star while stargazing.
      10  She opened the curtains to let in the morning light.

comment 1y ago · link · parent

I've found that when I'm cloning submoduled private repos via YK-backed SSH key, I'll need to touch multiple times but there's not always text in the terminal notifying me to do so. Easy to miss the small flashing green light.

45.

Show HN: yknotify – Notify when YubiKey needs touch on macOS(github.com ↗)

63 points · by noperator · 1y ago · 29 comments

46.

Show HN: Raink – Document ranker using LLMs(github.com ↗)

2 points · by noperator · 1y ago · discuss

47.

Raink: Use LLMs for Document Ranking(bishopfox.com ↗)

1 points · by noperator · 1y ago · discuss

48.

Show HN: Sol – A de-minifier for shell programs(github.com ↗)

147 points · by noperator · 2y ago · 24 comments

49.

Show HN: sol – A de-minifier and formatter for shell one-liners(github.com ↗)

2 points · by noperator · 2y ago · discuss

50.

Zero-Knowledge Appointment Scheduler(noperator.dev ↗)

2 points · by noperator · 2y ago · discuss

12