HNHacker News
TopNewBestAskShowJobs

BeefySwain

1,761 karma · joined August 12, 2015

submissionscomments
BeefySwain··on Htmx Is the Future
I want my stuff to work on mobile web. What I don't want is for stuff to look like it worked on mobile web, because the front end is "optimistic", but it actually didn't work. I find this to be a much worse user experience than having to wait for a round trip most of the time.
BeefySwain··on Htmx Is the Future
The people using HTMX have never heard of stateofjs.com (though they are painfully aware of the state of js!)
BeefySwain··on Htmx Is the Future
I recently put together https://github.com/PyHAT-stack/awesome-python-htmx at PyCon.

If anyone is looking to discuss making Hypermedia Driven Applications with HTMX in Python, head over to the discussions there!

BeefySwain··on Reddit's proposed API changes and the continued existence of RedReader
> ...it's best to think of RedReader a bit like a web browser -- even though usage from RedReader as a community is high, it's really just a bunch of individual users accessing Reddit directly as if through a browser.

I find this to be a particularly cogent point. What is stopping someone from making an app that just displaying the normal site, ad free with extensions such as RES?

BeefySwain··on The different uses of Python type hints
Great catch, how could I forget!
BeefySwain··on The different uses of Python type hints
A few other examples for the sections given:

Runtime behaviour determination: the stdlib [dataclasses](https://docs.python.org/3/library/dataclasses.html#module-da...)

Dataclasses is notable because it's the only example (I'm aware of) of type hints effecting runtime behavior as part of the stdlib.

Compiler instructions: mypyc was (one of?) the first to do this, but Cython actually supports this natively now, and is much more active than mypyc is last I checked.

BeefySwain··on Framework announces AMD, new Intel gen, 16“ laptop and more
https://github.com/FrameworkComputer/qmk_firmware

If this is anything to go off of, then it seems like they are going to support embedding full QMK enabled input devices. Extremely exciting!

BeefySwain··on What does "Copy clean link" mean?
I used to use this and it did indeed break Amazon checkout. Took me forever to figure out!
BeefySwain··on Pattern: Back Ends for Front Ends
> The most useful architecture might be contextual to your organization's size and structure.

I think this is a huge part of it, the other part is what is the scope of the app? Is it just a crud app that needs to integrate with some billing and auth services, or are you building a true web application with multiple front ends?

BeefySwain··on Pattern: Back Ends for Front Ends
Read this article recently while doing additional research on the points brought up by other articles such as "Don’t Build A General Purpose API To Power Your Own Front End"[0] and "Splitting Your Data & Application APIs: Going Further"[1], and found it to be very insightful.

[0] https://max.engineer/server-informed-ui [1] https://htmx.org/essays/splitting-your-apis/

BeefySwain··on Postgres Unlogged Tables
Very well written and detailed article, with the caveat that they never mention a use case they consider legitimate. Does anyone here have any uses? I could imagine some sort of ETL type tasks which are transient could make sense. Thoughts?
BeefySwain··on Squares in Squares
I'd like to see the percentage improvement over the "naive" approach (just stacking them edge-to-edge) for each of them. I can't tell if the improvements are significant enough for this to have obviously practical benefits.
BeefySwain··on ChatGPT Plus
Can you explain what you mean by "stealth model"? What is it, who discovered it and how, etc?
BeefySwain··on Ask HN: Something you’ve done your whole life that you realized is wrong?
https://www.energy.gov/energysaver/drain-water-heat-recovery
BeefySwain··on Cargo airships could be big
You may have overlooked the part where filling the quantity of airships that would (theoretically) be used would represent over half of the KNOWN quantity exploitable on earth, and would take decades to produce at current production rates. Also, they would need topped up over time. Compared to hydrogen, which is cheap, available, and renewable.
BeefySwain··on Apple attempting to stop investigation into its practices involving browsers
A ton of "Native Apps" are SPA's using React native, Cordova, et al. The problem is not the tech, the problem is the arbitrary feature gating (including the kinds of tricks that React Native is able to leverage when packaging an app vs running in a mobile browser).
BeefySwain··on Apple attempting to stop investigation into its practices involving browsers
I would say every one of those except the SVG icons put PWA's at a huge disadvantage, to the point of being borderline unusable.

Do you feel like the current state of PWA's in iOS presents a viable alternative to publishing an app for any real usecase?

BeefySwain··on Salesforce, but for Dating
Could you expand on what options exist currently? You say you are in the space, does that mean you have been keeping an eye on it, that you are working on something, or ?
BeefySwain··on Urllib3 in 2022
Some discussion of this phenomenon here: https://news.ycombinator.com/item?id=31720356
BeefySwain··on A brief rant on converging compliance regimes
> ...field-level encryption should be a starting place for new application development...

What does the state of the art look like here? Particularly when it comes to familiar tech like Postgres and Redis?

> Conversely, this will generally be a pain to work with ... (You can, of course, build something like a trigger to allow retrieving the keys within the database, but that would significantly undermine the value of this entire enterprise.)

Is this limitation inherent to the concept, or are there some creative ways to retain the benefits without having to lose the relational aspect of the DB?

BeefySwain··on Boring Python: Code quality
That is about as large of an endorsement as I can conceive. Will definitely have to check it out!
BeefySwain··on Htmx in a Nutshell
You have mentioned here and in other places that you use HTMX + HyperScript in production. Curious what that looks like, is it part of consulting, a side business, a day job ?
BeefySwain··on Air Force, FBI raid homes in probe of Area 51 website
> you can't just commit crimes

Are people whose houses are raided typically convicted ahead of time?

BeefySwain··on Why are clinical trials so expensive? Tales from the beast’s belly
Your company is very interesting. I briefly looked over the website, but couldn't tell what country(ies?) you operate in? My assumption is the regulatory requirements of each country are dramatically different, so seeing the pricing in not $ makes me think it's unlikely you offer services in the US, for instance.
BeefySwain··on NYC to require salary ranges be included in job postings
And what, everyone who encounters both of them will conveniently silo themselves into the appropriate bin?
BeefySwain··on Elasticsearch SQL
Is this the part where I mention that trailing commas should be permitted?
BeefySwain··on Mozilla claims Apple, Google and Microsoft force users to use default browsers
While this does align with my beliefs and biases, do you have any proof or evidence to point to that was the case? Specifically that the antitrust suit was due (in whole or in part) to Microsoft not engaging with politics, and that the result has been a trend towards big tech playing ball, and hence future antitrust being unlikely?
BeefySwain··on OpenAI API pricing update FAQ
To be fair we have all been there.
BeefySwain··on An SPA Alternative
Oh wow, this feels like a somewhat buried lede for how you would actually use HTMX in the real world. I've played with it quite a bit and didn't realize this was a pattern that was actually viable.

I think it would really benefit the project to have more documentation/examples of architectural patterns for how an app might use HTMX.

BeefySwain··on An SPA Alternative
I have no idea how one would go about doing this, but I'm curious if you have pursued that option? Getting the functionality of HTMX into the HTML standard?
← PreviousPage 4 of 9Next →