HNHacker News
TopNewBestAskShowJobs

jarofgreen

1,151 karma · joined June 14, 2011

email james at my-username dot co dot uk
submissionscomments
jarofgreen··on URLs are state containers
Also to consider: bot traffic and SEO.

Depending on which mechanism you use to construct your state URLs they will see them as different pages, so you may end up with a lot of extra traffic and/or odd SEO side effects. For SEO at least there are clear directives you can set that help.

Not saying you shouldn't do this - just things to consider.

jarofgreen··on Google Pixel's most dangerous bug: failing to call 911
> There have been reports from iPhone or Samsung users facing a similar problem, and that's despite their significantly higher user base.

Is there a "no" missing?

jarofgreen··on For Good First Issue – A repository of social impact and open source projects
> I'm still not unsure if I should include it as part of my answer when asked if I contributed to open source projects

I woud say yes, as long as you make sure you indicate the level clearly.

It's not landing a great new feature, but it shows you understand how Open Source works, you understand the value of the non-code parts of these projects, you can use the tools (I assume Git PR's), you can communicate well and work with others.

jarofgreen··on Show HN: Meetup.com and eventribe alternative to small groups
> I think we need to separate meetup discovery from event management - an event-platform-agnostic registry/search that works across Guild, Eventbrite, Facebook Events, whatever. Hmm... might have just found our next Svelte meetup hackathon project.

Welcome, I've seen a lot of projects in this space (and done a few)!

If I can make a suggestion, the first thing to look at is public API's and existing formats like iCal (for the listings information that can be public - obviously some information like attendee details should be private).

Making sure whatever platform you use to host your events has open data feeds is a great first step, and preferably in iCal. Before you even start working on a search site, your regular atendees can import your feed straight into their personal calendars (and I know from previous projects some people will).

ps. Hey OP, please add open data feeds to your project!

jarofgreen··on Show HN: Meetup.com and eventribe alternative to small groups
Seen https://mobilizon.org/ ?
jarofgreen··on The importance of offtopic
That doesn't help with the "Who's listening?" problem. In an office kitchen you know exactly who is listening and can tailor your comments appropriately. In an online chat, it's not clear who is lurking or who will log on in 5 minutes and read back. (Welcome to the site btw!)
jarofgreen··on URL-Driven State in HTMX
> SEO is built in since search engines can crawl every state combination.

This isn't always a plus - bots can find a very large number of pages to crawl and swamp your server with traffic. Maybe they would get stuck on all the combinations of listing page filters and miss the important pages.

Not saying the conclusion is wrong - just something to consider.

jarofgreen··on Show HN: Molab, a cloud-hosted Marimo notebook workspace
> I just turned off /notebooks in robots.txt

That doesn't actually stop pages being indexed.

https://developers.google.com/search/docs/crawling-indexing/...

jarofgreen··on I was wrong about robots.txt
Hey OP,

1)

You consider this about the Linkedin site but don't stop to think about other social networks. This is true about basically all of them. You may not post on Facebook, Bluesky, etc, but other people may like your links and post them there.

I recently ran into this as it turns out the Facebook entries in https://github.com/ai-robots-txt/ai.robots.txt also block the crawler FB uses for link previews.

2)

From your first post,

> But what about being closer to the top of the Google search results - you might ask? One, search engines crawling websites directly is only one variable in getting a higher search engine ranking. References from other websites will also factor into that.

Kinda .... it's technically true that you can rank in Google if you block them in robots.txt but it's going to take a lot more work. Also your listing will look worse (last time I saw this there was no site description, but that was a few years back). If you care about Google SEO traffic you maybe want to let them on your site.

jarofgreen··on Serving 200M requests per day with a CGI-bin
I'm not sure in which spirit you mean that, so I'm going to choose "approvingly" :-)

I do have thoughts for later about modes which could take all the config from .htaccess files and build them into the main config so then you avoid any performance issues - however you have to do that carefully to make sure people don't include any bad config that crashes the whole server. One of the nice things about using .htaccess files as intended is Apache has the Nonfatal flag on AllowOverride so you can avoid that. https://httpd.apache.org/docs/2.4/mod/core.html#allowoverrid...

jarofgreen··on Serving 200M requests per day with a CGI-bin
Had a similar chat with someone recently after I used Apache for a side project in part because of it's .htaccess feature.

This let's you drop .htaccess files anywhere and Apache will load them on each request for additional server config. https://httpd.apache.org/docs/2.4/howto/htaccess.html

One big reason to avoid them was performance; it required extra disk access on every request and it was always better to put the configuration in the main config file if possible.

But now? When most servers have an SSD and probably spare RAM that Linux will use to cache the file system?

Ok, performance is still slightly worse as Apache has to parse the config on every request as opposed to once, but again, now that most servers have more powerfull CPU's? In many use cases you can live with that.

[ Side project is very early version but I'm already using it: https://github.com/StaticPatch/StaticPatch/tree/main ]

jarofgreen··on Are we the baddies?
The title is a reference to a sketch from a UK show, That Mitchell and Webb Look: https://www.youtube.com/watch?v=h242eDB84zY
jarofgreen··on Why AO3 Was Down
or use UUID/GUIDS, many databases (eg PostgreSQL) and frameworks (eg Django) support them.
jarofgreen··on Show HN: PRSS Site Creator – Create Blogs and Websites from Your Desktop
Ah ok. So kinda in competition with something like https://cloudcannon.com/

I'll be honest if you want feedback - as a developer I'd prefer a solution that builds on top of an existing open source static site builder. That way us devs can carry on using the tools and deploy options we know but our less technical colleagues who just want to put up a new blog post can use the nice CMS experience.

A tool that requires we switch the entire site building process over to it is a harder sell. Sorry to be negative!

jarofgreen··on XSLT – Native, zero-config build system for the Web
True - just thought people would be interested in some options
jarofgreen··on XSLT – Native, zero-config build system for the Web
> can use HTML import? nope not exist

Well, Apache says hi: https://httpd.apache.org/docs/2.4/howto/ssi.html (Look for "include")

jarofgreen··on Show HN: PRSS Site Creator – Create Blogs and Websites from Your Desktop
So, reading between the lines, it's a desktop app that makes a static website and it then checks the build output (not the source with a build command) into a GitHub repository for hosting?

Is it your own static website builder or did you consider using an existing one?

What type of model are you going for here? I can't see anything about pricing, but I see text encouraging users to "reach out to support".

jarofgreen··on -2000 Lines of code (2004)
> I'm not sure how the managers reacted to that, but I do know that after a couple more weeks, they stopped asking Bill to fill out the form, and he gladly complied

It would be a much better story if they stopped asking everyone to fill out the form.

jarofgreen··on Updated rate limits for unauthenticated requests
https://github.com/orgs/community/discussions/157887 This has been going on for weeks and is clearly not a simple mistake.
jarofgreen··on Updated rate limits for unauthenticated requests
Also https://github.com/orgs/community/discussions/157887 "Persistent HTTP 429 Rate Limiting on *.githubusercontent.com Triggered by Accept-Language: zh-CN Header" but the comments show examples with no language headers.

I encountered this too once, but thought it was a glitch. Worrying if they can't sort it.

jarofgreen··on Ask HN: Why do we celebrate AI-Copilots but reject AI–Generated art?
I'm not sure we can be certain everyone has that view. I get the impression many of the people who vilify art generators are also against coding copilots.

> I reflexively told my wife, “That’s AI—skip it.”

> Yet I’m using AI-created illustrations for my graphic novel

Aren't you worried people will skip your graphic novel?

jarofgreen··on Show HN: Post with a URL in on Bluesky? The preview can be anything you want
I noticed that when you post on Bluesky with a URL in, the client says "uploading thumbnail". That's odd, I thought, why is the client doing that and not the server?

So I looked up the API and it turns out the client can set whatever it wants as the preview!

API Docs: https://docs.bsky.app/blog/create-post

Here's an example: https://bsky.app/profile/jarofgreen.co.uk/post/3llj76ouqsr2u

Here's a Python Marimo notebook where you can do the same thing too:

Code: https://github.com/JMB-Technology-Limited/blueskyposter/blob...

Run in your browser: https://marimo.app/?src=https%3A%2F%2Fraw.githubusercontent....

This seems ... not great? Users would expect the preview to come from the website, I think.

Also, I assume that means if you update your website and change the info that you want shown in that embed card (the OG tags) it won't change on any old posts that link to your website?

ps. Also this is the first time I've tried using Marimo Python Notebooks for anything real, a few rough edges but pretty nice! https://marimo.io/ If anyone knows how to link to a note book and have it open in app mode, please let me know.

jarofgreen··on Plain – a web framework for building products with Python
> It recently added task queues as a concept

It took me a while to find any information on this, so for others:

https://forum.djangoproject.com/t/django-tasks-bringing-back...

https://github.com/django/deps/blob/main/accepted/0014-backg...

jarofgreen··on How much traffic can a pre-rendered Next.js site handle?
Depends where the bottleneck is. But basically, we're saying different server setups are also a factor and another reason why you need to do testing with representative loads :-)
jarofgreen··on How much traffic can a pre-rendered Next.js site handle?
> One key thing to underline: each request in the test is just a single call to the pre-rendered Next.js page. No assets are requested. A real visitor would need 60+ additional requests. That means as few as three simultaneous visitors could push the server dangerously close to its limit.

Ok but remember browsers will reuse HTTP connections, HTTP2 introduces multiplexing, and browsers have tight mode. So you can't just take the figures for 1 request and divide by 60 to get the real world performance.

jarofgreen··on Git without a forge
https://git.trevorbentley.com/itsy-gitsy/ (I don't use so not sure how good it is, just noting)
jarofgreen··on Show HN: Blunderchess.net – blunder for your opponent every five moves
That's so close to a variant we once invented. There were 4 of us, 2 of us good at chess and 2 beginners. We played in teams, a good person and a beginner on each team. We took it in turns to move and you couldn't tell your partner ANYTHING.

As the good player, you had to come up with a good move for the board but also for what your partner might do next. Was fun!

jarofgreen··on Why some DVLA digital services don't work at night
> Rebuilding a legacy system doesn't require you to support every single edge case that the older system did.

Depends on context.

This isn't some social media fun site where you can live with some rough edges; in this context "edge case" may be someone with an health condition who is still entitled to a drivers license; or it could be someone who normally could get one but due to a health condition really shouldn't be allowed one!

jarofgreen··on Conscious unbossing – 52% of GenZ professionals don't want to be middle managers
This comment cuts straight to my immediate thought when reading - did they dig into the separate bits that people thought a managers job entailed, and which bits where appealing or not?

Cos apparently* "double the amount (30%) would opt for a flat, team-based structure if given the choice" so team work is seen as important.

So what functions would people like in a team? Mentors? Facilitators? Which of these might they actually want to do themselves if it wasn't seen as tainted by the phrase "middle management"?

* I can't see any link to actual data or what questions were used, so we are all working of a thin PR statement which isn't the best.

jarofgreen··on Itch.io Taken Down by Funko
They were sold to another company a year or two ago and now some people are a bit wary
← PreviousPage 2 of 19Next →