Anything works that way as long as it doesn't come with a built in router and you are careful not to accidentally bundle two different versions of your runtime.
I'm not super familiar with HTMX but lots of people in the Elixir/Phoenix/Liveview world are using Alpine JS for these types of problems.
Liveview(HTMX analog) for anything with data and state that needs to go to and from the server; Alpine JS for client side interactions with ephemeral state like opening a modal.
Consider that for a lot of shops and restaurants demand might be inelastic over the course of the week. If everyone in town is closed on Sunday and consumers don't have convenient access to other options it's likely that demand will simply shift to other days, thus being closed on Sunday would reduce operating costs without significantly affecting revenues.
This is arguably a big factor for both Chick-fil-a and liquor stores that are prevented state-wide from opening on Sundays (in the US)
In some cases for sure. Our speculating was about some oddball cases—like clothing stores that are never busy and only open a few hours a week. And dealing in odds or purely consignment goods. They must be hobby projects (expensive ones, considering the rents around here).
But for others, definitely that's the case. And it's been this way for so long I'm sure it's just a known and we're essentially tethered to Hamilton via transit and highways so there are a ton of options just a few minutes further down the road.
The problem for me (at least with Chic-fil-a) is that I am really only eating fast food ever on Saturday or Sundays. Those are the days I have off and the days I am most likely to be traveling (by car or other) and when I would be mostly likely to indulge in fast food. Probably about 2/3 of the times I would have gone to Chic-fil-A I could not due to the Sunday closure.
Probably because interviewing is highly subjective. The advice in this article could be used as part of a great interview or part of a terrible one. It depends on how the interviewer uses it.
1. What is the current general standard.
2. Does our site do what we want it to do?
-> Yes? Then we don't need more meta tags.
-> No? Go to 3.
3. Are meta tags part of how to accomplish what we want?
-> Yes? Look up the docs and tags needed and implement.
-> No? Implement without touching the meta tags of the doc.
That's why focusing on the first 10 lines isn't very helpful IMO. Most of these are things that are trivial to look up and read the docs on when they become necessary.
If you want to interview around a site's source you'd be better served to have a discussion around the whole document.
When I look at the article two things stand out to me:
1. The author is focusing on the first 10 lines, not the whole document.
2. Their "perfect answers" have the candidate essentially reciting the reference docs verbatim.
That to me reads very differently from reading and discussing the whole HTML file. It reads much more like gotcha questions or an expectation that your candidate has extremely specific, arcane knowledge.
For example, the perfect answer for line 1 includes:
> This was especially annoying because each standard generated a different layout so this tag was adopted to make it easy for browsers. Previously, DOCTYPE tags were long and even included the specification link (kinda like SVGs have today), but luckily the simple <!doctype html> was standardized in HTML5 and still lives on.
So to the author, one should ideally not just know what "<!doctype html>" is for, but also be able to rattle off complaints against the previous revisions of HTML. The whole article just comes off as very verbose and stifling. (For that line he does allow for a more basic, but still verbose, answer)
Is it unreasonable for a senior frontend engineer to rely on references for some of these extremely specific details?
Not to mention they're perfectly referenceable. If I need to set up a new HTML doc and add the meta tags I can easily find everything I need on MDN and a quick Google search for best practices. Anything more specific (like Apple specific tags) is trivial to find as well.
Interviews should be focused on skills and experience because those take time and effort to develop. Not 5 minutes on the internet.
There's a good deal that I feel is lacking, but a big issue is the lack of continuity of documentation between Phoenix's component parts. If I want to build a CRUD app with Rail, Django, or Laravel, then I can get all the information I need from their docs. If I want to do the same in Phoenix, I'll have to jump between the docs for Phoenix, Ecto, Plug, and HEEx/Liveview.
Rails, while it has its equivalent of these modules, presents them in a cohesive manner and makes it clear the role they play in the greater context of the application. Phoenix doesn't make it nearly as clear and instead of being able to gradually learn these various concepts as they become relevant you have to take on the burden of them all before being able to even begin to be productive.
> Of course teams of employees with emotions and institutional knowledge are a bit more complex than a hand of cards, but that has never stopped bad management strategies.
This acknowledges that the "optimizing a hand of cards" analogy leaves out factors -- which is true.
My point is, even if there were no emotions or institutional knowledge, even if I had a "staff" of AI agents or robots whose "knowledge" could be fluidly copy-pasted, the "optimizing a hand of cards" analogy is poor, because a robot that makes money is worth keeping even if there are better robots out there. An army of low-but-positive ROI robots can help me buy a high ROI robot.
Vue positions itself for anything from jQuery replacement all the way to a full SPA and everything in between.