Better HN
topnewbestaskshowjobs
Log inSign up

Fileformat

824 karma · joined Jan 5, 2011 (15y ago) · 169 submissions

https://andrew.marcuse.info/

meet.hn/city/us-Philadelphia

Submissions

comment 1y ago · link · parent

That's my point: you know all about RSS & feeds and don't need it. But what about someone who hasn't been using them since the beginning?

I think every page with an RSS feed should have a link to the feed in the html body. And it should be friendly to people who are not RSS wizards.

comment 1y ago · link · parent

Gotta love the reference to the <link> header element. There used to be an icon in the browser URL bar when a site had a feed, but they nuked that too.

comment 1y ago · link · parent

One extremely important XSLT use-case is for RSS/Atom feeds. Right now, clicking on a link to feed brings up a wall of XML (or worse, a download link). If the feed has an XSLT stylesheet, it can be presented in a way that a newcomer can understand and use.

I realize that not that many feeds are actually doing this, but that's because feed authors are tech-savvy and know what to do with an RSS/Atom link.

But someone who hasn't seen/used an RSS reader will see a wall of plain-text gibberish (or a prompt to download the wall of gibberish).

XSLT is currently the only way to make feeds into something that can still be viewed.

I think RSS/Atom are key technologies for the open web, and discovery is extremely important. Cancelling XSLT is going in the wrong direction (IMHO).

I've done a bunch of things to try to get people to use XSLT in their feeds: https://www.rss.style/

You can see it in action on an RSS feed here (served as real XML, not HTML: do view/source): https://www.fileformat.info/news/rss.xml

comment 1y ago · link · parent

This is exactly my point: everyone here is tech-savvy and knows what to do with an RSS/Atom link. So we don't see a need for XSLT.

But someone who hasn't seen/used an RSS reader will see a wall of plain-text gibberish (or a prompt to download the wall of gibberish).

XSLT is currently the only way to make feeds into something that can still be viewed.

I think RSS/Atom are key technologies for the open web, and discovery is extremely important. Cancelling XSLT is going in the wrong direction (IMHO).

I've done a bunch of things to try to get people to use XSLT in their feeds: https://www.rss.style/

You can see it in action on an RSS feed here (served as real XML, not HTML): https://www.fileformat.info/news/rss.xml

comment 1y ago · link · parent

One extremely important use-case is for RSS/Atom feeds. Right now, clicking on a link to feed brings up a wall of XML (or worse, a download link). If the feed has an XSLT stylesheet, it can be presented in a way that a newcomer can understand and use.

36.

Show HN: RSS/Atom Feed Analyzer – test your feed for best practices(rss.style ↗)

3 points · by Fileformat · 1y ago · discuss

37.

Show HN: XSLT and graphical outline viewer for your sitemap.xml(sitemap.style ↗)

5 points · by Fileformat · 1y ago · discuss

comment 1y ago · link · parent

No, it is a multi-stage build. The second stage [1] uses oven/bun:distroless

[1] https://github.com/regexplanet/regexplanet-bun/blob/main/Doc...

39.

Show HN: Comparing Docker minimal image size for a JSON API in various languages(andrew.marcuse.info ↗)

2 points · by Fileformat · 1y ago · 3 comments

40.

Fearsome File Formats by Ange Albertini (YouTube) [video](youtube.com ↗)

1 points · by Fileformat · 1y ago · discuss

comment 1y ago · link · parent

Don't show this to your favorite fascist billionaire!

42.

Buying Wikipedia(en.wikipedia.org ↗)

6 points · by Fileformat · 1y ago · 1 comment

comment 1y ago · link · parent

I'm hoping for better quality than favicons. I've also looked at using the BIMI icons (which are SVG), but there aren't enough of them...

https://bimi-explorer.svg.zone/bimi/

44.

Ask HN: Any Recommendations for Logo APIs?

1 points · by Fileformat · 1y ago · 2 comments

45.

Show HN: Ghashboard is a dashboard builder for GitHub Actions(github.com ↗)

2 points · by Fileformat · 1y ago · discuss

comment 2y ago · link · parent

Shameless self promotion: I build a logo search engine that currently has almost 500K logos indexed: https://logosear.ch/

Also, a good source of official SVG logos is BIMI, a standard that uses DNS to point to the URL of an SVG.

Spec: https://bimigroup.org/

I recently scraped them for the top N domains: https://bimi-explorer.svg.zone/bimi/

comment 2y ago · link · parent

Feature suggestion: a "my location" button on the map, so you can zoom in to your current location. There is a browser API [1] for this (which asks permission, or you can do it based on the IP address [2]

[1] https://developer.mozilla.org/en-US/docs/Web/API/Geolocation...

[2] <shameless self-promotion> Geolocation provider comparison: https://resolve.rs/ip/geolocation.html </shame>

comment 2y ago · link · parent

The root cause for the PHP vulnerability is trying to parse unstructured text. The actual information in WHOIS has structure: emails, addresses, dates, etc. This info should be provided in a structured format, which is what RDAP defines.

IMHO, there is no reason for a registrar to not support RDAP, and to have the RDAP server's address registered with ICANN.

comment 2y ago · link · parent

The real solution to WHOIS is RDAP.

Unfortunately, it isn't required for ccTlds, and there are plenty of non-ccTlds that aren't working.

https://en.wikipedia.org/wiki/Registration_Data_Access_Proto...

https://resolve.rs/domains/rdap-missing.html

comment 2y ago · link · parent

  Location:  Philadelphia, PA, USA
  Remote:    Remote/Hybrid/In-office
  Relocate:  Yes
  Résumé/CV: https://andrew.marcuse.info/resume/short.html
  Email:     andrew.marcuse+hn@gmail.com
  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.

51.

Old Crap Vintage Computers(oldcrap.org ↗)

11 points · by Fileformat · 2y ago · discuss

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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...

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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

comment 2y ago · link · parent

Shameless self-promotion:

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

https://iconsear.ch/

123456