Better HN
topnewbestaskshowjobs
Log inSign up

sunshadow

86 karma · joined Apr 12, 2023 (3y ago) · 42 submissions

Submissions

comment 1y ago · link · parent

Too late, we all went to cursor.

comment 1y ago · link · parent

I can make this in couple of weeks, but I need an incentive other than just having fun

comment 1y ago · link · parent

What made you use caddy in front of tiny-http? I guess tiny-http should be still fine on its own. genuinely curious

comment 2y ago · link · parent

They made 11B$ last year. It has incredible amount of ads. If you haven't noticed, then that means they did a great job. (tip: look for the custom logo pins in the map. Its printing money)

comment 2y ago · link · parent

According to the license, this repo is not that different than me just extracting the source code from the binaries. Pass.

comment 2y ago · link · parent

There is no difference between this and a well known bot prevention mechanism, from the scraper perspective.

comment 2y ago · link · parent

I don't see any difference than browserless?

comment 2y ago · link · parent

If you're looking for open-source function calling: Checkout Functionary: https://github.com/MeetKai/functionary/

It's MIT licensed. Supports both CPU and GPU

comment 2y ago · link · parent

Yes, Functionary: https://github.com/MeetKai/functionary/ MIT Licensed

Its actively maintained as open-source. You can even run it with llama.cpp

comment 3y ago · link · parent

Original project: https://github.com/xenova/transformers.js

comment 3y ago · link · parent

Unless you start a war against scrapers, you don't need to worry about that as I'll always find a way to scrape your site as long as its valuable to 'me'. Even if it requires Real browser + OCR :)

comment 3y ago · link · parent

Crul looks nice, though, you cannot imagine how many startups that I've seen failed doing a very similar thing as Crul. Wouldn't rely on it. The problem is complex: Humans generating messy pages

comment 3y ago · link · parent

You don't use XPath&CSS selectors at all (Except if you dont have choice). You rely on more generic stuff, e.g, "the button that has 'Sign in' on it":

    await page.getByRole('button', { name: 'Sign in' }).click();
See playwright locators: https://playwright.dev/docs/locators

comment 3y ago · link · parent

These days, I'm not even using Go for scraping that much, as the webpage changes makes me crazy and JS code evaluation is a lifesaver, so I moved to Typescript+Playwright. (Crawlee framework is cool, while not strictly necessary).

Its been 8+ years since i started scraping. I even wrote a popular Go web scraping framework previously: (https://github.com/geziyor/geziyor).

My favorite stack as of 2023: TypeScript+Playwright+Crawlee(Optional) If you're serious in scraping, you should learn javascript, thus, playwright should be good.

Note: There are niche cases where lower-level language would be required (C++, Go etc), but probably only <%5

comment 3y ago · link · parent

It would be nice to see it open source. As im concerned about the privacy policy as its a really valuable information

comment 3y ago · link · parent

Give it 1 year

comment 3y ago · link · parent

But its too expensive to become practical with the OpenAI API. Also, demo is cool until you see the real-world webpages, then you'll realize that this only works less than %50 of webpages.

comment 3y ago · link · parent

You're good until this is cheaper than your salary.

comment 3y ago · link · parent

I don't understand why people still spend time on jailbreaks of the proprietary models, while they can easily use uncensored open-source models these days. I feel like its kind of waste of time.

comment 3y ago · link · parent

Unfortunately its gonna be abused like hell so you'll end up shutting it down or requiring API keys for each one of them :(

comment 3y ago · link · parent

I would love to see the code to verify this is not a confirmation bias.

comment 3y ago · link · parent

Do you have any explanations on why this performed better than Llama 2?

comment 3y ago · link · parent

Mixture of Experts is actually some sort of ensembling

comment 3y ago · link · parent

Unfortunately the license makes this somewhat useless. Hope they realize that and change it.

comment 3y ago · link · parent

Checkout: https://github.com/facebookresearch/llama/blob/4d92db8a1db6c...

comment 3y ago · link · parent

What are the benefits over https://github.com/microsoft/guidance/ ?

comment 3y ago · link · parent

I think you need a small video and much more clear and simple marketing material. For example, these don't mean anything for me: "Boxcars, CableReady, and StimulusReflex"
12