Readit News logoReadit News
remmargorp64 commented on I fixed the "hide" link for posts on Reddit and now all I see is fresh content   i.imgur.com/wRTV37D.png... · Posted by u/remmargorp64
remmargorp64 · 9 months ago
And here is a bonus CSS Snippet to plug into your RES config. You will never guess what it does:

.promotedlink { display: none !important; }

remmargorp64 commented on I fixed the "hide" link for posts on Reddit and now all I see is fresh content   i.imgur.com/wRTV37D.png... · Posted by u/remmargorp64
remmargorp64 · 9 months ago
I'm someone who likes to hide posts on Reddit after I see them. That way, I never have to worry about seeing the same stuff over and over when I load reddit later. With this technique, the ONLY thing I see are fresh posts.

One problem: The "hide" link on posts is tiny, and appears in a different location under each post (depending on how many comments that post has, etc).

After suffering with this annoyance for over 10 years, I finally fixed the issue by deploying a custom CSS snippet inside of Reddit Enhancement Suite.

And here is the CSS code snippet, in case anyone wants to use it for their own RES config:

    /* Only apply custom hide button styling on listing pages */
    .listing-page .entry {
       position: relative;
       padding-right: 100px;
    }
    
    .listing-page .top-matter {
       margin-right: 10px;
    }
    
    .listing-page .hide-button {
       position: absolute;
       transform: translateY(-50%);
       width: 100px;
       height: 94%;
       right: 4px;
       top: 48%;
       margin-bottom: 5px;
    }
    
    .listing-page .hide-button a {
       display: flex;
       align-items: center;
       justify-content: center;
       width: 100%;
       height: 100%;
       background: #1a1a1b;
       color: #909090;
       border-radius: 3px;
       text-decoration: none;
       font-size: 14px;
       font-weight: 500;
       border: 1px solid #343536;
       transition: all 0.2s ease;
    }
    
    .listing-page .hide-button a:hover {
       background: #272729;
       color: #d7dadc;
       border-color: #d7dadc;
    }

Where to put the CSS snippet:

RES settings console → Appearance → Stylesheet Loader (stylesheet) → Load Stylesheets (loadStylesheets)

Side note: I highly recommend combining this with the "Fix Hide Links" and "Hide Link Instant" feature toggles in Reddit Enhancement Suite. Clicking the "hide" link to a post should just instantly hide the post.

remmargorp64 commented on The US Supreme Court says it is adopting a code of ethics for the first time   apnews.com/article/suprem... · Posted by u/geox
boxed · 2 years ago
> and zero accountability

They can be impeached?

remmargorp64 · 2 years ago
By us?
remmargorp64 commented on Web Scraping: Data for Everyone   omarkama.li/blog/web-scra... · Posted by u/omneity
djsegal · 2 years ago
You mean something like octoparse.com or serpapi.com?
remmargorp64 · 2 years ago
octoparse extracts data from DOM elements. It can't OCR or visually process a dynamic page. The page has to have a structured and predictable HTML DOM.

Unless I'm missing something?

And serpapi is just for google searches?

remmargorp64 commented on Web Scraping: Data for Everyone   omarkama.li/blog/web-scra... · Posted by u/omneity
omneity · 2 years ago
You're probably looking for RPA / Surface automation solutions. This used to be all the rage a few years back, supporting various "digital transformation" initiatives in large Enterprise.

UIPath [0] is a main contender in this space.

[0]: https://www.uipath.com/

remmargorp64 · 2 years ago
UIPath doesn't have a visual web scraping module or automation, from what I have seen. You might be able to build a custom one and execute it with their orchestration/automation tools, but I don't see that any support for that out of the box?
remmargorp64 commented on AI can diagnose type 2 diabetes in 10 seconds from your voice   diabetes.co.uk/news/2023/... · Posted by u/daoboy
remmargorp64 · 2 years ago
Basically, if someone is obese, they probably have some amount of insulin resistance (leading to type 2 diabetes).

Fat affects vocal chords, and this can be detected in the vocal patterns.

This whole "AI Tool" could be replaced with a simple question:

"Are you fat?"

But people often aren't honest with themselves about this topic.

remmargorp64 commented on Ollama is now available as an official Docker image   ollama.ai/blog/ollama-is-... · Posted by u/alexzeitler
remmargorp64 · 2 years ago
Does the docker container run on Windows though?

I still don't see any official documentation showing how to get Ollama running on Windows?

remmargorp64 commented on Langchain Is Pointless   old.reddit.com/r/LangChai... · Posted by u/behnamoh
LASR · 2 years ago
There are a few increasingly harder things when it comes to prompt customization:

1. Prompts ask LLM to generate input for the next step

2. Prompts ask LLM to generate instructions for the next step

3. Prompts ask LLM to generate the next step

Doing #3 across multiple steps is the promise of Langchain, AutoGPT et al. Pretty much impossible to do with useful quality. Attempting to do #3 very often either ends up completing the chain too early, or just spinning in a loop. Not the kind of thing you can optimize iteratively to good enough quality at production scale. "Retry" as a user-facing operation is just stupid IMO. Either it works well, or we don't offer it as a feature.

So we stopped doing 3 completely. The features now have a narrow usecase and a fully-defined DAG shape upfront. We feed some context on what all the steps are to every step, so it can understand the overall purpose.

#2, we tune these prompts internally within the team. It's very sensitive to specific words. Even things like newlines affects quality too much.

#1 - we've found it's doable for non-tech folks. In some of the features, we expose this to the user somewhat as additional context and mix that in with the pre-built instructions.

So #2 is where it's both hard to get right and still solvable. Every prompt change has to be tested with a huge number of full-chain invocations on real input data before it can be accepted and stabilized. The evaluation of quality is all human, manual work. We tried some other semi-automated approaches, but just not feasible.

All of this is why there is no way Langchain or anything like it is currently useful to built actually valuable user-facing features at production scale.

remmargorp64 · 2 years ago
What if you built a scoring system for re-usable action sequences that are stored in a database, and then have the LLM generate alternate solutions and grade them according to their performance?

An action sequence of steps could be graded according to whether it was successful, it’s speed, efficiency, cleverness, cost, etc.

You could even introduce human feedback into the process, and pay people for proposing successful and efficient action sequences.

All action sequences would be indexed and the AI agent would be able to query the database to find effective action sequences to chain together.

The more money you throw at generating, iterating, and evolving various action sequences stored in your database, the smarter and more effective your AI agent becomes.

u/remmargorp64

KarmaCake day372December 6, 2019View Original