I think this points to the real problem: it is hard to evaluate how "good" someone is during the hiring process
Lots of great coders don't have a big open presence. Years of experience isn't a good sign with the churn in tech, plus you don't know if they wrote code or just watched. Is being able to do a l33t coding exercise in a fixed time a sign? IMHO I'm decent programmer and I've failed them. Can you come up with an exercise that matches the work that will be done and can be completed in a reasonable amount of time?
And the phrase "matches the work that will be done" is doing some heavy lifting: many companies don't really know what they need. I've seen companies that need 99% soft skills that want a ton of niche tech experience. Or advertise for something other than the real dumpster-fire that you'll have to work on.
This is the fundamental reason that knowing someone works: they know your coding skills and they can give you the inside scoop on the position.
I made feed.style[1] to help people add a decent XSLT stylesheet to their feed.
I'm using it myself[2] and really like the effect.
I think it always makes sense to have a stylesheet (and use text/xml content type): otherwise people clicking a rss/atom link are greeted with a wall of xml (or a download prompt). Hard to think of a worse UI for people who aren't familiar with feeds & feed readers.
Everyone's memory is better than mine: I can't even remember the command I typed, so I need to hunt it down from the context: current directory, date or previous commands.
Lines 11-21 can be ignored, they detect if the folder you were in got moved/deleted from another shell, to avoid the confusing behavior you get in that case.
zsh has a comprehensive hook system available for these types of tasks¹(zshaddhistory in this case). It gives you more options to control how/when the history is preserved, and allows you to be more selective in when it should be written.
Possibly worth noting for others that you'd want to think this through if you're using any of the history eliding options(hist_ignore_space² for example), as one history file may contain secrets when you're really expecting that it wouldn't.
There is also a better interface to work with hook functions through the add-zsh-hook mechanism³, which allows stacking multiple hook functions together.
I always like to put a link to the RSS in the actual HTML (i.e. so a human can see it)
However, clicking it is horrible UX: a wall of text. Or even worse (shaking fist at Firefox), a download "Save as..." prompt.
So... <shameless self promotion> I made Feed.Style[0] to help people make it be a semi-presentable page by adding an XSLT stylesheet.</shame>
I have a couple of examples (of HN and high-ranking HNers natch ;) and found a fair number of bugs^H^H^H^H non-optimal choices in their feeds, probably because XML is not all that human-readable, even for devs.
Source [1] is MIT-licensed and is completely static, except for the examples, which are just an optional hack running on Cloudflare pages.
I've seen RSS styling before but it does feel like an oddity. I think I'm so used to the code view that when I see a styled feed page, it makes me wonder if I'm on the real URL. But at least the page does explain itself.
As a side note, it seems like a number of your "after" examples do not load. HN hug, or something else?
> I've seen RSS styling before but it does feel like an oddity. I think I'm so used to the code view that when I see a styled feed page, it makes me wonder if I'm on the real URL. But at least the page does explain itself.
Indeed, that was my greatest concern for adding a stylesheet to the RSS on my website. I tried to solve it by including a screenshot of the source tree :)
On my website, the RSS is announced through metadata only on the news page. Per the “Exposed RSS” statement, it should be linked from all pages? I wonder whether it really makes sense for someone to subscribe to a page without even checking it out on such a cursory level as to find the news page, though?
Hmm... The examples are running on the free tier of Cloudflare Pages Functions. I should be dramatically under any CPU/networking/transfer limits. And it should scale up as needed.
I just tried all of them now, and they did load. What is the exact error you are seeing? Just a blank page or ???
If you mean that the input box for "copy to clipboard" is empty, that's because the feed doesn't have a "self" link, which the stylesheet needs.
I'm not sure then. The first two "after" examples were blank for me. I tried again now and the first loaded, but second did not. After another few refreshes, it did load, though as you said the "copy and paste" link was blank.
I tried it in Firefox and got an XML parsing error[1] instead. Again refreshed and it loaded fine. So it seems intermittent at best.
[1] Error follows:
XML Parsing Error: mismatched tag. Expected: </link>.
Location: https://www.feed.style/example.xml?feedurl=https%3A%2F%2Fnews.ycombinator.com%2Fshowrss
Line Number 6, Column 3:
Fantastic stuff. I work for IPinfo.io and I actually came across your site about a month ago. I was planning to contact to you about mentioning the free IP databases [0].
However, when I saw that a few API didn't return any response, I thought maybe the site was not maintained.
I find the geographic coordinate values returning up to 15 decimal places is absurd for an IP geolocation response. IP geolocation is never that precise and, this level of "precision" is not warranted and frankly distracting. Like at best it should be 4 decimal places.
Currently working in finance/fintech but open to everything.