~erock

Ann Arbor, MI

https://bower.sh

~erock/pico.sh

Last active 2 months ago

~erock/public-inbox

Last active 3 months ago

~erock/sentences

Last active 1 year, 9 months ago
View more

Recent activity

Re: How prose.sh counts the views of a post? 2 months ago

From Eric Bower to ~erock/pico.sh

Yes, that's how it works!  It's very crude at this point.  We considered doing user agent parsing but didn't get back to working on it.

----- Original message -----
From: Thomas Tramley <thomas@tramley.ca>
To: "Iván Hernández Cazorla" <ivanhercaz@protonmail.com>
Cc: "~erock/pico.sh@lists.sr.ht" <~erock/pico.sh@lists.sr.ht>
Subject: Re: How prose.sh counts the views of a post?
Date: Monday, February 12, 2024 8:31 AM

Hi Iván,
I'm not an expert, but I took a look at the code for prose and it looks like the visit counter is incremented every time the page is loaded. I've provided a link to where the request handler triggers the increment in the db. There is a `isRequestTrackable` function, but that always returns true (I assume there was intent to add that as an option at some point) so it just increments each time you load the page. I did some testing with that a while back and found that to be true, every time I reloaded the page the visit counter went up.

https://github.com/picosh/pico/blob/main/prose/api.go#L404

Re: prose.sh markup syntax 9 months ago

From Eric Bower to ~erock/public-inbox

Hi!

Sorry for the late response. 

https://prose.sh/help#post-metadata

image and card are the properties you want.

I’ll fix the raw issue asap, thanks for the feedback!

----- Original message -----
From: Nikolay <nkbolg@gmail.com>
To: ~erock/public-inbox@lists.sr.ht
Subject: prose.sh markup syntax

Re: lists.sh feedback 1 year, 15 days ago

From Eric Bower to ~erock/pico.sh

Greetings!

Thanks for much for writing to us, much appreciated. Sorry it took my so long to respond.

I'm going to go right to the juicy bit of your message

> You outlined a range of options for lists.sh in the blog post. I'd like to encourage option #2: rolling lists.sh functionality into prose.

I've been thinking about this a lot as well.  Part of me likes having lists as a separate service because my main prose.sh site is a blog that I want to be curated for that specific purpose.

Having said that I kind of like your idea of creating a `/lists` route that then contains all of the list content.

We’ve also been thinking about using pico.sh as the landing page for users and their services on our platform. So erock.pico.sh would link to all the other services I have in pico.

Re: Conventional wisdom 1 year, 1 month ago

From Eric Bower to ~erock/public-inbox

> I have uttered an Undisputed Truth, and there is no need for discussion.

Agreed.  It's the same as calling something an anti-pattern.  That's supposed to
immediately settle the conversation apparently.  It's lazy thinking and something
I catch myself doing often.

> "all abstractions leak."

This one is great, maybe "all abstractions leak, eventually."

> I have found that there is never enough testing; you do as much as you can 
> with the resources available.

This one is tough, but because I work at startups with tight deadlines and many

Re: lists.sh lists cannot be listed. 1 year, 1 month ago

From Eric Bower to ~erock/pico.sh

Sorry about that, I made some updates to the style of the default blog pages and used the wrong variable!  It should be fixed now.

Thanks for letting us know!

Re: conventional wisdom 1 year, 1 month ago

From Eric Bower to ~erock/public-inbox

> People call something "conventional wisdom" when they don't want to spend any time justifying it.

I think this is at the core with what I don't like about conventional wisdom or calling something an "anti-pattern."  My next post is probably going to talk about lazy thinking and how calling something an anti-pattern is an anti-pattern.

Re: Is pico.sh on some platform that allows small donations? 1 year, 5 months ago

From Eric Bower to ~erock/pico.sh

> Is there any option to donate to pico.sh organization? Liberapay? 
> OpenCollective? Ko-Fi?

We don't have anything setup yet but I think that's a good idea. 
Since you're the first to ask, which platform would you prefer?

Re: Consciousness 1 year, 5 months ago

From Eric Bower to ~erock/public-inbox

Hey thanks for reaching out and reading my article!

> With regard to your article, I think you are overly simplifying 
> consciousness to a more materialistic explanation.

This is very likely.  I haven't really read the literature on consciousness and only have a bachelor's in neuroscience that I have never really used in any practical sense.

> It is possible to be 
> both conscious, for instance, and asleep. We might say that person is 
> "not as aware" at that specific moment, but that they are still 
> perceiving something is reflected in the potential for having dreams.

Interesting point.  I think there's also a question I would need to answer about going under general anesthesia.  Are we conscious when we are under anesthesia?  How does that work into my explanation?

Re: prose.sh 1 year, 6 months ago

From Eric Bower to ~erock/pico.sh

Matt,

Thank you so much for bringing this bug to our attention.  We have found the issue, patched it, and deployed the fix.

Please read the commit for more context: https://git.sr.ht/~erock/pico/commit/412982b9851a9555c747513d5cd50

Thanks for using prose!
Eric

Re: rooting for prose.sh (and pico.sh) 1 year, 6 months ago

From Eric Bower to ~erock/pico.sh

Hey thanks!  Much appreciated!