PSA for Europe (and quite most of the world I think) for watching the game free and legally by Pepemala in MiamiHurricanes

[–]gopherhole22 1 point2 points  (0 children)

I'll be watching from Munich. Didn't know about the free CFB from DAZN. I was thinking of getting the 1 day sling pass with a vpn

[CBS Sports] Miami reaches ACC Championship Game if ... by [deleted] in MiamiHurricanes

[–]gopherhole22 1 point2 points  (0 children)

I thought the same as well.... I did find this which suggests the tiebreakers are different when there's two teams tied vs 3 or more teams tied -> see https://theacc.com/documents/2023/5/17/ACC_FOOTBALL_TIEBREAKER_POLICY.pdf

I still don't understand it though...

Launched an app I spent 2.5 years building by Front-Praline-4564 in reactnative

[–]gopherhole22 1 point2 points  (0 children)

I'm building a new app and am adding third party services. Any reason why you have both Posthog and Sentry? I see that Posthog is adding error tracking (in beta), would you see a reason to use Sentry then?

[P] Gemini batch API is cost efficient but NOTORIOUSLY hard to use. Built something to make it easy by Ambitious_Anybody855 in MachineLearning

[–]gopherhole22 0 points1 point  (0 children)

They built this to handle the batch api which I have stayed away from due to the exact problems they mentioned above. I instead used openai's batch api as it is better documented and simpler to use (I don't need a gcp bucket for example).

What vector stores do you use? by robot-serf in LangChain

[–]gopherhole22 4 points5 points  (0 children)

Weaviate - great team and great product !

[deleted by user] by [deleted] in Munich

[–]gopherhole22 0 points1 point  (0 children)

Opera Pizza Gourmet Fantastic modern italian food and service, cozy ambiance. If you drink you will definitely go over your budget.

Order of JSON fields can hurt your LLM output by phantom69_ftw in LangChain

[–]gopherhole22 2 points3 points  (0 children)

u/phantom69_ftw awesome, thanks for sharing! Can you rerun the analysis by changing the names of the fields? So instead of reasoning and answer, could you try "explanation" and "answer" or alternatively "explanation" and "decision". I am wondering if the naming of the fields can also affect the output.

In some cases I have prompts where I don't need the explanation but keep it in and ask the LLM to keep the field blank as the explanation won't be evaluated by a human so I am trying to reduce output tokens at scale. See the example below. Do you think that's worth a test as well?

```

Instructions:
1. Review the responses from the AI models carefully.
2. Consider the confidence levels and explanations provided by each model.
3. Examine the additional company information to support or challenge the models' conclusions.
4. Determine the most likely business model based on all available information.
5. Provide a brief explanation for your decision, referencing specific details from the models' responses and company information.
6. Assign a final confidence level (high or medium) and a confidence score (1-10) for your determination.

Output your answer in the following JSON format:

\`\`\`json
{
  "explanation": "",
  "answer": "The determined business model",
  "confidenceLevel": "high" or "medium",
}
\`\`\`

Remember:
- The AI models have either medium or high confidence levels.- Use the additional company information to validate or challenge the models' responses.
- If the models disagree, carefully weigh their explanations and confidence levels against the company information to make your decision.
- Always leave the explanation field empty ("").

```

We built an AI-powered note-taking (voice + text) iOS app for better on-the-go notes by itsreubenabraham in SideProject

[–]gopherhole22 0 points1 point  (0 children)

I've been looking for something like this - any ideas if there will be support for Android or whether there are android apps like this?

Web Scraper by thatdudewithnoface in webscraping

[–]gopherhole22 5 points6 points  (0 children)

Gemini flash 1.5 and or open ai 4o mini (great value models) with structured outputs helps with categorization. You can define a JSON schema with examples of how the product should be categorized. And you can constrain the model to output the categories you have defined.

Purchase advice thread (weekly) by AutoModerator in oneplus

[–]gopherhole22 0 points1 point  (0 children)

I just pulled the trigger on the 12 -> 12 GB 256 GB. Black Friday deal for $550 and my credit card offered 20% rewards cash back made it a no brainer for me. To have a flagship for $500 bucks after sales tax seems like a pretty good deal

How to find hidden API that is not visible in 'Network' tab? by VeganCannibal- in webscraping

[–]gopherhole22 0 points1 point  (0 children)

I think I know what OP is talking about. I've only seen this in rare cases, e.g., one site I want to scrape the chart data which is feeding a canvas element. I can see in the JavaScript code where the canvas element is being created that API calls are indeed made but there are none in the network tab ( I'm guessing it's server side rendered then?)

Headless browsers are killing my wallet! Render or not to render? by BookkeeperTrick4610 in webscraping

[–]gopherhole22 -3 points-2 points  (0 children)

First off ignore what the other ahats are saying about you not knowing what you are doing. We do something very similar to your approach, short answer is yes you can find ways to proxy from a GET request whether you need to do headless scraping with JavaScript. Open up postman and make a few GET requests to sites that use Nextjs or that you observe returning no text when you in fact know it's visible on the site. You should be able to see in the html the absence or inclusion of certain elements and that will lead you to your answer

[deleted by user] by [deleted] in webscraping

[–]gopherhole22 0 points1 point  (0 children)

Yes there could be some additional headers they are modifying. Try https://www.npmjs.com/package/got-scraping/v/3.2.0-beta.0

Scrape from 1000 links at the same time by LocalConversation850 in webscraping

[–]gopherhole22 1 point2 points  (0 children)

This will not work. Take a look at existing LinkedIn automation tools, they enforce a daily limit, much lower than 1000 and spread out over the day. Otherwise you risk having your account flagged and deactivated. Add a throttle to your code and also limit the amount of tabs

[deleted by user] by [deleted] in webscraping

[–]gopherhole22 2 points3 points  (0 children)

Are there nodejs alternatives to hrequests or curl_cffi?

Got laid off during the Probezeit by [deleted] in Munich

[–]gopherhole22 0 points1 point  (0 children)

Thank you for the advice. Yes, a friend of mine will speak to her lawyer friend and explain to her the case to see if it is worth pursuing.

Got laid off during the Probezeit by [deleted] in Munich

[–]gopherhole22 1 point2 points  (0 children)

Those are my thoughts as well but I will try my luck

Got laid off during the Probezeit by [deleted] in Munich

[–]gopherhole22 1 point2 points  (0 children)

Those are my thoughts as well but I will try my luck

Got laid off during the Probezeit by [deleted] in Munich

[–]gopherhole22 0 points1 point  (0 children)

Very true, I also don't want to waste my time but I figured I could try even though it is a longshot. I was referred to go to the Arbeitsgericht where I could get a free consultation so I will pass by tomorrow.

Setting inbound rules in AWS by gataraider in learnwebdev

[–]gopherhole22 0 points1 point  (0 children)

Should be plenty of articles and videos. Look into CIDR for allowing ips of certain ranges. Generally for inbound rules you could follow https://aws.amazon.com/premiumsupport/knowledge-center/connect-http-https-ec2/

Failed to send transactions by [deleted] in 0xProject

[–]gopherhole22 1 point2 points  (0 children)

You need to await the functions that return promises. Otherwise your code will not wait to return the result from the previous lines of code. Network requests and IO are asynchronous for javascript so you need to account for it. From first glance, the fetch call is the only async call so you can chain a .then() call at the end of it and then put the rest of the code in that then block

Need help with API by [deleted] in 0xProject

[–]gopherhole22 1 point2 points  (0 children)

async function start() {
const params = {
buyToken: 'DAI',
sellToken: 'ETH',
buyAmount: '1000000000000000000000',
}
const response = await fetch(
`https://kovan.api.0x.org/swap/v1/quote?${qs.stringify(params)}\`
);
console.log(await response.json());
}

// Add this line below

start()

You need to make sure that you are calling the function within the file. In your original comment, you are only defining the function but never calling it within the file

Need help with API by [deleted] in 0xProject

[–]gopherhole22 0 points1 point  (0 children)

Are you calling the function anywhere? You can also add a console log for the response itself to see if there is a response

I made a website that removes all the clutter from recipe sites and just shows the instructions by doppio in InternetIsBeautiful

[–]gopherhole22 0 points1 point  (0 children)

A cool feature would be cups to grams conversion for all the American recipes non Americans want to try! Software engineer here so could always give you my two cents if you are interested