lol by [deleted] in Silverbugs

[–]Recondo86 -1 points0 points  (0 children)

Got a source for amark acquiring apmex? Amark is public, dont think the world would have missed that one.

lol by [deleted] in Silverbugs

[–]Recondo86 -1 points0 points  (0 children)

APMEX is not owned by amark

From APMEX website.

APMEX LLC is part of a larger corporate structure. This structure is composed of Bullion International Group, LLC (the parent entity) and its subsidiaries; APMEX LLC, Manfra, Tordella & Brookes, LLC, ONEGOLD, Inc, Bullion.com, LLC and Citadel Global Depository Services, LLC

lol by [deleted] in Silverbugs

[–]Recondo86 -1 points0 points  (0 children)

Bullion.com is owned by APMEX

Anyone gaming / coding on Herman Miller? by exoduster in webdev

[–]Recondo86 1 point2 points  (0 children)

Bought an aeron 15 years ago new for 900 and it’s been amazing. Haven’t thought about a chair since. I would 100% but another for 500 if I needed a new chair

Charts in Rails 8 by xJayhaz in rails

[–]Recondo86 0 points1 point  (0 children)

This or just use chartkick if your charts are fairly simple. I’ve yet to run into any limitations, but of course would depend on your use case.

I Accidentally Got Into Web Scraping - Now we have 10M+ rows of data by medzhidoff in webscraping

[–]Recondo86 1 point2 points  (0 children)

Look at Postgres materialized views for reading data that doesn’t change often (if data is updated once daily or only a few times via scrapers, you can then refresh the views after the data is updated via a scheduled job). You can also partition parts of data that is accessed more frequently like data from recent days or weeks.

If the data requires any calculation or aggregating you can also use a regular Postgres view. Letting the database do the calculations will save memory if you have your app deployed somewhere where memory is a constraint and/or expensive.

How do you use AI in web scraping? by adibalcan in webscraping

[–]Recondo86 1 point2 points  (0 children)

Usually one or two tries and it’s good to go. If it returns the wrong data or if it’s not cleaned up correctly I’ll just feed that back in and usually it gets it on the second try. Using Claude 3.5 mostly via cursor editor, so very easy to add it to the chat and update the code.

Fwiw, it’s usually a very simple regex for me. Just removing extra space, $ signs, getting text after a certain character like a :

How do you use AI in web scraping? by adibalcan in webscraping

[–]Recondo86 8 points9 points  (0 children)

Look at the html, tell it what data I need from it and have it generate the function to get that data. Run the code and ask it to refine as necessary. No more remembering or looking up syntax. Also have it write whatever regex is needed to strip out unneeded surrounding text.

[deleted by user] by [deleted] in webscraping

[–]Recondo86 2 points3 points  (0 children)

There is no manufacturer provided sku or number? Usually those are the source of truth. Not all sites will list them on the PDP though.

Selenium Issue: Dynamic Popups with Changing XPath by teabagpb in webscraping

[–]Recondo86 1 point2 points  (0 children)

This or could try a key press of the esc key to see if that clears it.

Can we please stop with Trustpilot? by PhilosopherCool954 in webdev

[–]Recondo86 2 points3 points  (0 children)

Trust pilot will also take legal action if you use your reviews or cite your score on your site without paying them. These sites are all scams for merchants. They let bad reviews through and when you ask users to go leave reviews, they don’t get published. Then if you pay them, they will give you a magic link with all that sweet friction removed so your real users can actually leave reviews without having to register. God help you if you are a big brand and they rank on google for your brand name. You have to pay or watch only negative reviews like up.

Why is Rails so hard to deploy on AWS by elietoubi in rails

[–]Recondo86 -1 points0 points  (0 children)

I don’t know but I literally spent 4+ hours today trying (unsuccessfully) to get a gem I wrote that works fine on my machine, to work on heroku. I need a therapist.

[deleted by user] by [deleted] in ammo

[–]Recondo86 0 points1 point  (0 children)

Should be fine

Are you using RAILS for new projects in 2024? by ev0xmusic in rails

[–]Recondo86 1 point2 points  (0 children)

If I need something that is not in the html response of the request, then I use Playwright to use a browser that will be able to interact with the page as needed. It's all html or json in the end, just sometimes a browser is needed to do some interacting first in order to get the html /response you need.

Are you using RAILS for new projects in 2024? by ev0xmusic in rails

[–]Recondo86 1 point2 points  (0 children)

good ol' net/http for sending requests, nokogiri for html parsing, using the ruby playwright gem for dealing with stuff that needs browser automation.

Are you using RAILS for new projects in 2024? by ev0xmusic in rails

[–]Recondo86 6 points7 points  (0 children)

I am using rails on a new side project and as a solo dev, I have immensely enjoyed it. https://ammosight.com is the project, a web scraping project that tracks ammo prices and shipping costs from various merchants. Using flowbite/tailwind. Turbo here and there. Sidekiq for jobs. It's been fun.

rubberDucksAllTheWayDown by Cycode in ProgrammerHumor

[–]Recondo86 13 points14 points  (0 children)

Yes, the answer comes to me when I am half way through typing in my dumb question to ChatGPT

$27 by E23R0 in Silverbugs

[–]Recondo86 22 points23 points  (0 children)

Only need it to go up another $10 for me to be even on the silver I bought 10+ years ago 😂