Better HN
topnewbestaskshowjobs
Log inSign up

sammy0910

293 karma · joined Jun 27, 2024 (2y ago) · 85 submissions

Submissions

comment 1w ago · link · parent

yes! this works for plain-text, like articles, but it's a bit tricky for menus and navigation. the challenge is that grabbing plain-text doesn't always translate the intent of a horizontal (or vertical navbar) into horizontally rendered text buttons

comment 1w ago · link · parent

the idea is to open a webpage in a headless browser, run all the javascript and whatnot, and then ai-generate a program to translate the page as-displayed into a textonly format.

not great for everything, and it does, unfortunately need an LLM call to generate the translation program, but if you truly want to live in emacs, I've found it as a good stop-gap for certain pages that EWW cannot effectively render.

comment 1w ago · link · parent

I've been working on some open source tools for this that you might find interesting:

https://github.com/sstraust/simpleweb

comment 1mo ago · link · parent

if you do decide to give it a try, and are coming from vim, i've had a good experience with https://github.com/emacsorphanage/god-mode as a way to kind of bridge the gap into modal editing

comment 1mo ago · link · parent

> So you got hammered by curl requests! But isn't that part of your delivery static anyway? Were you regenerating the same HTML over and over?

i dont think this was the cause of the slowdown, it was just sort of the thing that led to the discovery that this was mostly bots.

in general, because the purpose of the website is to allow users to generate news feeds based on custom criteria, it does do a bit of meaningful work on each request (ones that do follow through and load the full page).

> How many was it? > Also interesting that it was a single "user". (user-agent?) Did it come from a different IP every time?

I'm intentionally leaving some of the details vague here, both because I don't want to be too harsh on the original author (it may have just been accidental/a buggy program/etc.), and because I don't want the traffic generators to know how im flagging them.

comment 1mo ago · link · parent

yeah, it was a wake-up call that I needed to make certain parts of my application faster, and I've been working on it for the past few weeks

comment 1mo ago · link · parent

not yet, but I think something like this would be a next step

comment 1mo ago · link · parent

I think I could improve the format a bit with something like Jekyll, but I haven't had a good chunk of time to sit down and work on it

comment 1mo ago · link · parent

it's org-html-export-to-html babyyy lmao

comment 1mo ago · link · parent

haha im not naming names

comment 1mo ago · link · parent

:) ive been dreaming of a usable emacs browser for so long

12.

I posted to HN, and then my website was flooded with AI bot traffic(sammystraus.com ↗)

352 points · by sammy0910 · 1mo ago · 188 comments

comment 1mo ago · link · parent

yeah, ... I can't say that I love certain aspects of this era we're all living in

despite everything, I think there are people out there who care a lot, and who are doing good work, and I'm hopeful that if we care enough we can sort of redirect this wave into something good for the world

comment 1mo ago · link · parent

https://news.ycombinator.com/item?id=49660482

There’s this post from a few weeks ago, if you just wanna filter out all the AI content

comment 1mo ago · link · parent

as a lisp enjoyer i also recommend clojure! a phenomenal little language

comment 2mo ago · link · parent

https://sprinklz.io/demo/hackerNews

running live w/ability to set custom tags if you're interested

comment 2mo ago · link · parent

this website reduces the priority of content, rather than filter it entirely, so some articles with high score will still appear, but lower down than they otherwise would.

This is configurable though, so you can make it whatever you want.

see below for a complete demo (view on desktop): https://sprinklz.io/demo/hackerNews

as well as another example I've exported from above with stronger penalty: https://sprinklz.io/public/5vsn97zcgxex

you can also visit the main homepage at https://sprinklz.io if you want to build/save/export arbitrary feeds

comment 2mo ago · link · parent

yes. you can make one that filters arbitrary topics.

here is the demo (best viewed on desktop): https://sprinklz.io/demo/hackerNews

as well as the main site: https://sprinklz.io

where you can build and save arbitrary feeds.

comment 2mo ago · link · parent

yes. it is a live updated feed.

comment 2mo ago · link · parent

yes.

https://sprinklz.io/demo/hackerNews

here is a more detailed demo link (best viewed on desktop).

you can also visit the homepage at https://sprinklz.io if you want a more permanent account where you can create and save custom feeds

comment 2mo ago · link · parent

something that makes this website different from the others, is it lets you filter by _any_ combination of topics, and allows you to edit them live and in real time.

see (view on desktop)

https://sprinklz.io/demo/hackerNews

for a more detailed example

thanks for the your thoughts, and i will also keep working on making it faster.

comment 2mo ago · link · parent

yes.

comment 2mo ago · link · parent

I previously worked on this, but made substanital improvements to the underlying implementation, and now the filters work much better.

This is also a general purpose tool that you can modify/customize

24.

Hacker News with reduced priority for AI driven content(sprinklz.io ↗)

121 points · by sammy0910 · 2mo ago · 54 comments

comment 2mo ago · link · parent

theres also

https://sprinklz.io/public/pdwt4dve5uai

which additionally lets you add and modify custom filters

comment 2mo ago · link · parent

Here is a link to an HN feed with reduced priority for AI content

https://sprinklz.io/public/pdwt4dve5uai

this is what I use to keep the garbage out

comment 2mo ago · link · parent

"Was this vibe coded, or was it carefully crafted with a human making most of the design decisions and the LLM used mostly as a quicker alternative to typing in all the code"?

yes. I want to know how much thought and effort was put into it.

comment 2mo ago · link · parent

can you confirm whether this is ai-written or human driven?

29.

Using LLMs to Make the Emacs Web Browser Great Again(sammystraus.com ↗)

1 points · by sammy0910 · 2mo ago · discuss

30.

Using LLMs to Make the Emacs Web Browser Great Again(sammystraus.com ↗)

2 points · by sammy0910 · 3mo ago · discuss

123