Hacker Newsnew | past | comments | ask | show | jobs | submit | more Fileformat's commentslogin

  Location:  Philadelphia, PA, USA
  Remote:    Remote/Hybrid/In-office
  Relocate:  Yes
  Résumé/CV: https://andrew.marcuse.info/resume/short.html
  Email:     [email protected]
  Technologies:
    TypeScript, JavaScript, Java, Go, Python
    SQL, PostgreSQL, Redis, MySQL, Microsoft SQLServer, ElasticSearch
    React, Remix, React-native, GraphQL
    Kubernetes, Docker, Kafka, AWS, Google Cloud, Azure
Hands-on development manager with a track record of building and shipping successful products (and teams).

Currently working in finance/fintech but open to everything.


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.

[1] https://www.feed.style/

[2] https://www.fileformat.info/news/rss.xml


feed.style also has a 'try it' feature: Here is what the OP's feed looks like with the stylesheet:

https://www.feed.style/example.xml?feedurl=https%3A%2F%2Fthe...


timg is a really nice similar tool that does pixel graphics in the terminal window if supported, falling back to character graphics if not.

The big plus is that it supports SVG images.

https://github.com/hzeller/timg

And it is available via brew/apt/etc.


A similar concept that is (IMHO) much nicer: RSV

It doesn't need any escaping or quoting: a field just has to be valid UTF-8.

The trick is that the delimiters are bytes that are invalid UTF-8.

The spec fits on a napkin, parsing is trivial, you can jump to the middle of a doc and find the nearest row, etc.

Main downside is you need an editor/viewer that can handle it.

https://github.com/Stenway/RSV-Specification


Thank you. I added a comparison to RSV.


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.

I use a zsh precmd() along the lines of

  echo "$(date "+%Y-%m-%d.%H:%M:%S") $(pwd) $(fc -ln -1)" >> ~/bash/bash-history-$(date "+%Y-%m-%d").log;
Should be doable with bash's PROMPT_COMMAND if you are still on bash


We have a lot in common :-P except I'm still on bash, and do rely on PROMPT_COMMAND like you mentioned -- https://github.com/9001/asm/blob/hovudstraum/etc/profile.d/e...

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.

¹ https://zsh.sourceforge.io/Doc/Release/Functions.html#index-...

² https://zsh.sourceforge.io/Doc/Release/Options.html#History

³ https://zsh.sourceforge.io/Doc/Release/User-Contributions.ht...


> Should be doable with bash's PROMPT_COMMAND if you are still on bash

Already done, with also PS0 and a sqlite backend: https://github.com/csdvrx/bash-timestamping-sqlite


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.

Feedback welcome!

[0] https://www.feed.style/

[1] https://github.com/fileformat/feed.style


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:


Probably needs something like how openrss.org does it. Shows a UX friendly view for RSS but gets picked up by RSS readers as well.


Shameless self-promotion:

My Icon Search site searches these icons & a whole bunch more

https://iconsear.ch/


I had a similar problem with freeloaders, though my project was a backend service that didn't have a UI.

My solution (safe for work, not harmful): https://wordstream.freeloader.wtf/


Shameless self-promotion:

I built a page to compare IP geolocation providers: https://resolve.rs/ip/geolocation.html

I'll work on adding ipapi.is shortly!


I am using the free version of https://db-ip.com, seems pretty good.


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.

[0] https://ipinfo.io/products/free-ip-database

----

Tangent

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.

relevant xkcd: https://xkcd.com/2170/


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: