Better HN
topnewbestaskshowjobs
Log inSign up

codingclaws

919 karma · joined Nov 6, 2020 (6y ago) · 388 submissions

Remote freelance front and back-end web developer since 2003.

https://www.rysapps.com

rytf12@gmail.com

Submissions

361.

React Is a Code Smell(peachesnstink.com ↗)

5 points · by codingclaws · 5y ago · discuss

comment 5y ago · link · parent

https://www.peachesnstink.com

Not niche, but it's very minimal with no JS and has nested comments.

comment 5y ago · link · parent

One thing I've found is that when I bookmark an old.reddit.com page on my phone it somehow bookmarks www.reddit.com - super annoying.

Anyway, try my Reddit clone (no pop-ups, no smartphone app, no JavaScript, no AMP, no up or down voting, no content algorithm, no images or videos, open source):

https://www.peachesnstink.com

comment 5y ago · link · parent

Thanks. Yes, it is my forum.

comment 5y ago · link · parent

Peaches 'n' Stink [1] uses ltree for nested comments. All the PostgreSQL is here [2]. The first query that uses ltree is on line 452 [3].

It was hard to decide on the ltree "path" format. There's a "path" value for each comment and it is what sets up the hierarchy. What I ended up using was this (root level comments):

1.aaa

1.aab

1.aac

1.aad

.

.

.

1.aaz

1.aba

1.abb

The "1" is the post ID. Sub-comments under the first comment above would be:

1.aaa.aaa

1.aaa.aab

1.aaa.aac

The reason why I used this "path" format is because if I sort alphabetically then the comments will be in the correct "vertical" order to display chronologically.

[1] https://www.peachesnstink.com

[2] https://github.com/ferg1e/peaches-n-stink/blob/master/db/ind...

[3] https://github.com/ferg1e/peaches-n-stink/blob/master/db/ind...

comment 5y ago · link · parent

thanks

367.

I was let go for refusing to deploy a dark pattern(peachesnstink.com ↗)

615 points · by codingclaws · 5y ago · 517 comments

368.

The Framework Trap(peachesnstink.com ↗)

1 points · by codingclaws · 5y ago · discuss

369.

Fuck Zoom(peachesnstink.com ↗)

43 points · by codingclaws · 5y ago · 42 comments

comment 5y ago · link · parent

I built up a web dev stack over the years while working on personal projects and client projects. First it was all together, but now it's separate libraries and a template app:

db: https://github.com/ferg1e/pajamaSQL

views: https://github.com/ferg1e/corn-wand

form validation: https://github.com/ferg1e/bouncers-book

misc: https://github.com/ferg1e/paper-cello

template user-based app: https://github.com/ferg1e/screen-name

comment 5y ago · link · parent

I built this Internet forum that is similar in structure to Reddit and HN. For the moderation system, each user uses their own user whitelist. I thought it was an interesting idea because I don't know of any forums that use whitelists as the primary moderation mechanism.

The back-end is Node/Postgres, 100% SSR, everything works with front-end JS turned off. It's open source:

https://github.com/ferg1e/peaches-n-stink

372.

Show HN: Whitelist-Moderated Reddit/HN Clone(peachesnstink.com ↗)

1 points · by codingclaws · 5y ago · 1 comment

comment 5y ago · link · parent

4 rounds? 2 is too much.

comment 5y ago · link · parent

I recently launched a Reddit clone and I'd say about 10% of sign-ups are from troublemakers. However, I haven't told many people about the site, it's text only, and it uses an uncommon moderation system (whitelists). Here is the project if you are curious:

https://www.peachesnstink.com

comment 5y ago · link · parent

A Reddit/HN clone. For the moderation system, each user uses their own user whitelist.

comment 5y ago · link · parent

I have not worked with it recently. I recall needing to rewrite a URL and it not being possible with .htaccess - which would have taken a couple minutes. Instead I had to learn the WordPress URL rewrite system.

comment 5y ago · link · parent

I hate WordPress because it has bad DX. But why would I hate CL, it's a simple, useful site with minimal JS.

comment 5y ago · link · parent

More front-end JavaScript equals more expensive, less backward compatible and less cross-browser compatible.

comment 5y ago · link · parent

Agreed. I often only want to read root level comments. There should be an option to only show root comments; I have been thinking about adding this feature to my reddit/hn clone.

comment 5y ago · link · parent

None as well. I like the browser js APIs and it's nice to avoid the front-end framework complexity.

comment 5y ago · link · parent

Most languages have great DX. It seems like the majority of PHP frameworks have very bad DX. I would consider using Laravel or Symfony.

comment 5y ago · link · parent

I like PHP but dislike the PHP frameworks.

comment 5y ago · link · parent

Solidity is fun.

comment 5y ago · link · parent

How do you determine how much value you're creating? And how do you convince clients of that value?

385.

Ask HN: What is your portfolio website format?

1 points · by codingclaws · 5y ago · discuss

comment 5y ago · link · parent

I researched this several years ago and for various reasons it's best to use: sign up, log in, and log out.

387.

Ask HN: What is the best edit/delete setup for Internet forum content?

2 points · by codingclaws · 5y ago · 1 comment

comment 6y ago · link · parent

ning.com?
1
910111213