Preferences

srcreigh
Joined 1,985 karma
My gmail username is shaneecy, please reach out.

  1. This project and its website were both originally working 1 shot prototypes:

    The website https://pxehost.com - via codex CLI

    The actual project itself (a pxe server written in go that works on macOS) - https://github.com/pxehost/pxehost - ChatGPT put the working v1 of this in 1 message.

    There was much tweaking, testing, refactoring (often manually) before releasing it.

    Where AI helps is the fact that it’s possible to try 10-20 different such prototypes per day.

    The end result is 1) Much more handwritten code gets produced because when I get a working prototype I usually want to go over every detail personally; 2) I can write code across much more diverse technologies; 3) The code is better, because each of its components are the best of many attempts, since attempts are so cheap.

    I can give more if you like, but hope that is what you are looking for.

  2. True, but you don’t need 150GB/s delimiter scanning in that case either.
  3. 4/5 of today's top CNN articles have words with periods in them: "Mr.", "Dr.", "No.", "John D. Smith", "Rep."

    The last one also has periods within quotations, so period chunking would cut off the quote.

  4. Historically, tinkerers had to stay within an extremely limited scope of what they know well enough to enjoy working on.

    AI changes that. If someone wants to code in a new area, it's 10000000x easier to get started.

    What if the # of handwritten lines of code is actually increasing with AI usage?

  5. The website claims it’s 10x cheaper (“10x faster on same hardware costs”) and implements SQL execution.

    I don’t understand why GPU saturation is relevant. If it’s 10x cheaper, it doesn’t matter if you only use 0.1% of the GPU, right?

    Correctness shouldn’t be a concern if it implements SQL.

    Curious for some more details, maybe there’s something I’m missing.

  6. > EU countries can decide to exempt some rail services. These exceptions may apply to urban, suburban, regional, long-distance domestic trains
  7. Did you try WITHOUT ROWID? Your sqlite implementation[1] uses a BLOB primary key. In SQLite, this means each operation requires 2 b-tree traversals: The BLOB->rowid tree and the rowid->data tree.

    If you use WITHOUT ROWID, you traverse only the BLOB->data tree.

    Looking up lexicographically similar keys gets a huge performance boost since sqlite can scan a B-Tree node and the data is contiguous. Your current implementation is chasing pointers to random locations in a different b-tree.

    I'm not sure exactly whether on disk size would get smaller or larger. It probably depends on the key size and value size compared to the 64 bit rowids. This is probably a well studied question you could find the answer to.

    [1]: https://git.deuxfleurs.fr/Deuxfleurs/garage/src/commit/4efc8...

  8. Yep. Thread locals are probably faster than the other solutions shown too.

    It’s confusing to me that thread locals are “not the best idea outside small snippets” meanwhile the top solution is templating on recursion depth with a constexpr limit of 11.

  9. > During his time as the Executive Director of the American Peanut Shellers, John helped to found the Peanut Institute and the U.S. Peanut Federation. These two entities have helped to promote the interests of the peanut industry throughout the United States and the world. Moreover, John has worked on eight farm bills during his life, always advocating for those who he represented. Since 2001, John, in association with the National Peanut Board, has helped to steer more than 36 million dollars to food allergy research, outreach and education. Earlier this year, because of his significant contributions to the Peanut Industry, John was inducted into the American Peanut Council Hall of Fame.
  10. I mean, there's C, and then there's C++. I've found AI to be pretty okay at C.
  11. The guidelines are just fine as they are.

    Low effort LLM crap is bad.

    Flame bait uncurious mob pile-ons (this thread) are also bad.

    Use the downvote button.

  12. I like that ghostty supports bitmap fonts. Kitty doesn’t (and won’t) support those.

    I also like the “ghostty +list-themes” command and the splash page animation on their site.

  13. Try again when it has dns filtering and it’s self host able.
  14. Not just the LLM, but any code that the LLM outputs also has to be firewalled.

    Sandboxing your LLM but then executing whatever it wants in your web browser defeats the point. CORS does not help.

    Also, the firewall has to block most DNS traffic, otherwise the model could query `A <secret>.evil.com` and Google/Cloudflare servers (along with everybody else) will forward the query to evil.com. Secure DNS, therefore, also can't be allowed.

    katakate[1] is still incomplete, but something that it is the solution here. Run the LLM and its code in firewalled VMs.

    [1]: https://github.com/Katakate/k7

  15. Isn’t there precedent for many other governments secretly or openly doing exactly this? Snowden etc?

    There’s an arms race element to this that I don’t see people discussing.

    Do EU citizens have any privacy from US tech? Is there anything to protect?

    Do we want the USA to have exclusive right to spy on the world?

    Is it better to have 1 Big Brother or 10?

  16. This is harmful speculation. Many PWA features are broken in small ways which add up. The caniuse database does not test that a PWA feature meets the spec and there is no better database. Nobody can say that PWAs are "looking good" without such testing.
  17. Most comments here are giving you fish instead of teaching you how to fish.

    The emacs subreddit is pretty active. Search reddit for recent-ish threads for whatever you want to do.

  18. Single label hostnames had an issue where it’s hard to type them into a browser.

    How to fix this?

  19. > One thing I could do is make it exposed in config, to allow the user to block all DNS resolutions until Cilium is integrated. LMK if desired!

    Yes, but it's not great for it to be an optional config option. Trivially easy to use data exfiltration methods shouldn't be possible at all in a tool like this, let alone enabled by default.

    I want to recommend ppl to try this out and not have to tell them about the 5 different options they need to configure in order for it to actually be safe. It ends up defeating the purpose of the tool in my opinion.

    Some use cases will require mitmproxy whitelists as well, eg default deny pulling container image except matching the container whitelist.

  20.     name: project-build
        image: alpine:latest
        namespace: default
        egress_whitelist:
          - "1.1.1.1/32"      # Cloudflare DNS
          - "8.8.8.8/32"      # Google DNS
    
    This is basically a wide-open network policy as far as data exfiltration goes, right?

    Malicious code just has to resolve <secret>.evil.com and Google/CF will forward that query to evil resolver.

  21. > technology like this would make totalitarian leaders foam at the mouth.

    Do we really need to use hypothetical language?

  22. OpenAI pins certificates on their macOS chatgpt app, so it’s hard to monitor the data they’re collecting.
  23. It’s not a DHCP server the way you’re thinking. Pxehost only replies with a couple fields for PXE boot, and only to clients that are declaring themselves as PXE boot client. It doesn’t interfere with the normal dhcp server - the PXE client will get 2 broadcast replies, one from pxehost and one from the dhcp server, and will combine the info
  24. I vibe coded the site for pxehost - https://pxehost.com

    The text content is largely hand written but the style/structures/etc are vibes.

    Codex CLI on the $20 plus plan

    The first shot was remarkably similar to the end result, but there was lots of tweaking and testing.

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal