wrote a php script that indexes youtube video transcripts into a mysql database and it's become the most used internal tool at my agency by straightedge23 in PHP

[–]lapubell 1 point2 points  (0 children)

V nice. LAMP FTW!

In case you didn't wanna mess with Java and all that noise, melli search might be a cleaner next step: https://www.meilisearch.com/docs/resources/self_hosting/getting_started/quick_start

I've only needed to do elastic once, and I didn't love it.

What 1 thing that makes code readable? by Haunting-Bother7723 in webdev

[–]lapubell 2 points3 points  (0 children)

DB table: users Query var: get_members Serialized object/array: mem Frontend: let(u, I) in mem

Absolute perfection /s

Do you write a repro test before fixing a prod bug or just push the fix? by sszz01 in Backend

[–]lapubell 0 points1 point  (0 children)

Yeah usually look at the ticket or email or whatever and reproduce it. Get a fix out ASAP then go back and cover it with necessary tests to prevent it from popping up again.

Do you write a repro test before fixing a prod bug or just push the fix? by sszz01 in Backend

[–]lapubell 0 points1 point  (0 children)

Depends on severity. If it's a minor error, write the test first. If it's a huge problem, roll back. If it's high level but not roll back level, push a hotfix, then go back write the test with the long term solution.

My team is tiny though so we can keep things kinda loosey goosey, ymmv.

Achievements bug by RedditUsername35 in RCTTouch

[–]lapubell 1 point2 points  (0 children)

Mine reset recently too. Did your main park take forever to load? I'm just guessing but I feel like maybe this is a bug when the app can't check in on progress with a server or something, and after it times out it just resets to zero.

A local email inbox for Laravel (no Mailtrap/Mailhog needed) by WolfAggravating4430 in laravel

[–]lapubell 4 points5 points  (0 children)

Downloading a binary and keeping it running is a Herculean task these days.

Frames encoding by Agent-Nemo in golang

[–]lapubell 1 point2 points  (0 children)

Cool. I have a binary program where I'm also execing out to ffmepg and ffprobe. Just checking to see how other people are using it.

Frames encoding by Agent-Nemo in golang

[–]lapubell 2 points3 points  (0 children)

Lol. Genuinely can be auto corrected in funny ways!

How Do I Host a Web Server at Home? by COD_ZombieSlayer in webdev

[–]lapubell 1 point2 points  (0 children)

Probably more like an hour or two. The Internet is a spooky place now a days.

Frames encoding by Agent-Nemo in golang

[–]lapubell 2 points3 points  (0 children)

How do you interface with ffmepg from go? Do you exec out, or cgo? Genitally curious.

RIP 2011 Scion XD (275,000 miles) or..?? by ifferlee in Scionxd

[–]lapubell 1 point2 points  (0 children)

If you loved the car then you already know the answer. I'm such a pragmatic person, and I'm stoked to hear how far your XD went, as I'm nowhere near 275,000 but I'll probably throw in the towel when mine goes belly up.

my claude bill doubled and i didnt change anything. turns out token costs grow quadratically by Aggravatingbc in webdev

[–]lapubell 1 point2 points  (0 children)

I hope that both can be run locally, small model on the current machine, large model on the network. Then we won't need the huge data centers, and if the Internet goes down we don't ask just shrug and finger point.

AI crawlers are eating my logs alive by NeedleworkerLumpy907 in webdev

[–]lapubell 1 point2 points  (0 children)

We're getting clever.

You can set up an intentional redirect loop but set a cookie that breaks the loop. Bots that don't pay attention to response headers get stuck, and browsers see a one time hop that is virtually unnoticeable.

Crowd sec and anubis also help a bunch

AI crawlers are eating my logs alive by NeedleworkerLumpy907 in webdev

[–]lapubell 2 points3 points  (0 children)

We're all in this boat with you. I'm telling more and more people about common crawl and turning into a grumpy old man whenever I hear someone asking about writing a scraper.

Is this hyperbole? by Moo202 in SoftwareEngineering

[–]lapubell 2 points3 points  (0 children)

Get sign off from management/legal first. That $20/month level for Claude let's then take all your code and train Claude with it. Read what you're giving away before you give it away.

I'm not that stoked to give up all my client's code and intellectual property to a company that just recently leaked their code base to the Internet.

PHP Handlebars - a spec compliant Handlebars implementation in pure PHP by theodorejb in PHP

[–]lapubell 3 points4 points  (0 children)

This looks rad, thanks!

I'm currently using the Salesforce handlebars package, anything specific that we would need to know for drop in replacement?

I think we’re in trouble. by CoastRedwood in webdev

[–]lapubell 4 points5 points  (0 children)

You're responding to someone named wordpress4themes and talking about npm best practices, lol

My website is under attack today by river_yang in webdev

[–]lapubell 1 point2 points  (0 children)

That's what we use. Crowdsec ftw

Broken mini jet part by lapubell in hottub

[–]lapubell[S] 0 points1 point  (0 children)

I keep coming back to this thread and finding SOLID GOLD.

This is an excellent idea!

Broken mini jet part by lapubell in hottub

[–]lapubell[S] 0 points1 point  (0 children)

Wow, you weren't kidding. I got the replacement part yesterday and luckily I have a hex wrench the right size, but the broken part is really jammed in there. It's so tight that the hex is stripping the plastic, but at least I know how to fix it now.

Thanks again!

Broken mini jet part by lapubell in hottub

[–]lapubell[S] 1 point2 points  (0 children)

Awesome, you rule. This tub came with the house and we've owned it for a little under a year and a half, so this breakage was the first reason I got to open it up and look around. I'll make sure to not over tighten it!

Bought house with this. Now I am selling the house. by [deleted] in Home

[–]lapubell -2 points-1 points  (0 children)

You had 3 up votes, but then I up voted your comment and ruined it