Live data from Hacker News

Viewing profile — mozey

mozey

HN member
Joined
Mon, Apr 21, 2014, 7:56 AM UTC
HN karma
367
Public activity
155 items

About mozey

[ my public key: https://keybase.io/mozey; my proof: https://keybase.io/mozey/sigs/xSF9tMAMKCKz4u2waGjej5krzW2F1NYoUojccHAavIY ]

Recent public activity

  1. comment
    Comment #43009716

    What is the benefit of writing Go to generate HTML? 1. With go-app func (h *hello) Render() app.UI { return app.Div().Body(app.Text(fmt.Sprintf("Hello %s", h.name))) } 2. Compared …

  2. comment
  3. story
  4. comment
    Comment #40559466

    Some people used to have a little putty stuck to the middle their CRTs

  5. comment
    Comment #39998946

    Have to admit I've never used this code, and didn't know what it was about. Quickly read up about it. So ETag is a hash of the resource. You must provide it with requests that modi…

  6. comment
    Comment #38909087

    I'm working on a server/backend for htmx that's intended to run as a local service beside the browser. In theory you could do this with any server stack that is self host-able. My …

  7. comment
    Comment #38470001

    Yes it is, compared to gojq https://github.com/itchyny/gojq/blob/main/go.mod

  8. comment
    Comment #38457364

    Been renovating an old house with a large garden for almost ten years now. I tell myself this is better than building something from scratch, but it definitely doesn't always feel …

  9. comment
    Comment #38215867

    Touch typing is something I should've invested in much earlier, can't imagine how I ever coped without this ability. Another thing that really helped me is the "Alternative finger …

  10. comment
    Comment #37999967

    Actually, just remembered why I haven't used it. Although it "Ships with IDE autocompletion", last time I checked that's only on the Go code, not the HTML. Usually I keep my templa…

  11. comment
    Comment #37999801

    Besides the built-in templates/html, there's also this https://github.com/a-h/templ Haven't used it yet, but seems promising

  12. comment
    Comment #37790188

    I applied for a UK visa from South-Africa about a year ago. To start my application I had to submit a form on this domain. The navigation to the form was obscured by a giant banner…

  13. comment
    Comment #37580816

    CORS policy usually requires that the port must match. This issue potentially applies to all web apps, not only those hosted on localhost

  14. comment
    Comment #37580799

    Last time I checked it's not possible on iOS. On Android it's possible with some effort (e.g. you have to use Termux), not something you could expect a user to setup

  15. comment
    Comment #37568610

    Instead of wrapping the application with something like Electron, why not install as a service and connect to a localhost port using your default browser? I know this is not the sa…

  16. comment
    Comment #37568547

    > 5 seconds later, the thing I wanted appears Is this an intrinsic attribute of all web apps, or specific to an implementation?

  17. comment
    Comment #37479421

    This default behaviour makes sense. If you're going to be using it for hosting in production, then read the documentation, and it's trivial to disable. If I recall, AWS has a simil…

  18. comment
    Comment #36595580

    "This project attempts to push TypeScript's type system to its limits by actually implementing various functions and algorithms, purely on top of the type system... Please note tha…

  19. comment
    Comment #36432886

    The hx-disable attribute can be used to disable htmx for parts of the DOM that load user generated content, is that what you're referring to? https://htmx.org/docs/#security

  20. comment
    Comment #36430032

    > dynamically loaded modules, error boundaries In an MPA, modules https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guid... can be included on the pages that require them wit…

  21. comment
    Comment #36428627

    > by wrapping a vanilla lib to a component or an action, you’ve essentially created basic Svelte version of that lib This is the key to making framework churn go away. The DX of us…

  22. comment
    Comment #36288823

    > which might be scanned under different conditions, such as different light levels and resolutions This makes me think of your stereotypical pirate map to buried treasure

  23. comment
    Comment #36040571

    > One thing this kind of pattern actually does is expose the conversation to more of YOUR psychology and perspectives. You expose it to more nerves to tickle, let’s say. Or in effe…

  24. comment
    Comment #35899912

    The compilation step, and the resulting binary, is also very useful if you need to distribute your software. As opposed to creating a ZIP file. There are tools for creating stand-a…

  25. comment
    Comment #35789920

    Whisky can be incredible harmful and it's just a stronger version of wine... difference is the label clearly states the percentage alcohol