[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/tech/ - Technical SEO

Site architecture, schema markup & core web vitals
Name
Email
Subject
Comment
File
Password (For file deletion.)
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

File: 1792630762815.jpg (256.92 KB, 1024x1024, img_1792630755195_7f04cl4k.jpg)ImgOps Exif Google Yandex

d9206 No.2369[Reply]

saw someone talking about stripping out 28k lines of code using knip. sounds great in a vacuum but i'm certain pretty sure my production build would just fall apart if i tried that. it's easy to talk about deleting bloat when you aren't dealing with a legacy mess where everything is tightly coupled. how do you even verify you didn't break a side effect?

full read: https://tkdodo.eu/blog/dead-code-shouldnt-exist


File: 1792386066002.jpg (143.22 KB, 1024x1024, img_1792386056703_t0m46qw8.jpg)ImgOps Exif Google Yandex

df553 No.2354[Reply]

using ai for semantic drift check feels super reliable risky in a real ci/cd pipeline. also that bit about comprehension decay because of commoditized code is too real. im already struggling with cognitive debt without adding an agentic judgment layer to the mix. spoilergood luck debugging that mess/spoper

https://www.infoq.com/minibooks/evolutionary-architecture/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global

df553 No.2363

>>2354
tried running gpt-4o for a schema validation check on a client's product feed and it hallucinated an entire category tree, so yeah agentic judgment is just a fancy way to say "untraceable errors".

df553 No.2365

>>2363 That's exactly what I mean. Did you at least have a fallback script for the schema, or did it just let the hallucinated categories push straight to production?

df553 No.2368

>>2363 gpt-4o is basically just a fancy way to automate break things. total nightmare for any production environment.



File: 1792587998309.jpg (185.86 KB, 1024x1024, img_1792587991075_64wdeowt.jpg)ImgOps Exif Google Yandex

b1a12 No.2367[Reply]

saw that faros ai report saying merged prs without review jumped over 76%. it's getting ridiculous how much of the work is just being rubber-stamped by bots now.
>AI review took over bug-finding.
the tool can check if the syntax is right but it doesn't know if we should be using a token bucket or a sliding window for this specific feature. i don't see how having a second agent push back on the first one actually solves the lack of human intent in the diffs. anyone else feeling like they're just auditing logs instead of actual code?

https://thenewstack.io/review-decisions-not-code/


File: 1792098442564.jpg (208.66 KB, 1024x1024, img_1792098433865_40jbe587.jpg)ImgOps Exif Google Yandex

86ed5 No.2342[Reply]

been thinking about this all morning because i just saw another dev trying to patch cors after the api was already live. it's so exhausting watching teams treat security like a layer you just slap on top of existing code once something breaks. you can't just add it later without breaking everything.
>Security isn't something you add to software. It's something you build into it from the beginning.
it's much easier to handle things like encryption standards or field-level masking at the domain layer before the first pull request even exists. if you aren't doing threat modeling during architecture, you're basically just waiting for an incident report to hit your inbox. i don't know how anyone manages to maintain a clean pipeline when they're constantly chasing vulnerabilities in production. it feels like people think 'secure by design' is some magic trick instead of just basic engineering discipline. it's actually just common sense but nobody wants to do the extra work upfront. does anyone here actually get time for a proper threat model before shipping, or are we all just winging it?

found this here: https://www.freecodecamp.org/news/secure-by-design-engineer-security-into-architecture-before-writing-code/

86ed5 No.2360

>>2342
>if you aren't doing threat modeling during architecture, you're basically just waiting for an incident report to hit your inbox.

seen this happen with a recent migration where they forgot to audit the s3 bucket permissions until we were already leaking logs. its way easier to just fix the iam policy before the deployment goes live than trying to clean up a mess after the crawler finds it.
it was literally public

86ed5 No.2366

>>2342
>>2360 s3 buckets are such a disaster waiting to happen if you don't lock them down early. i dealt with a client last month who had an entire directory of sensitive user uploads set to public because someone wanted to bypass the auth middleware for a quick test and just forgot to revert it before prod.



File: 1792545326300.jpg (155.79 KB, 1024x1024, img_1792545317966_778srp6j.jpg)ImgOps Exif Google Yandex

6bfc0 No.2364[Reply]

Spent all morning digging through GSC for this client. They have these huge e-commerce categories where every single page has its own canonical pointing to itself instead of the main hub. It's making the crawl budget look like a disaster because Google is just wandering through endless filter combinations.
>Everything should point back to the root category
That's what the dev team keeps saying, but they don't realize how much junk we're feeding the index. If we don't clean up these self-referencing tags on page 2 and beyond, we're just wasting resources. I've seen it happen where a single deep filter creates a thousand new URLs that shouldn't even exist. It's not even about the weight of the pages, just the sheer volume of redundant paths.


File: 1792508386307.jpg (177.53 KB, 1024x1024, img_1792508378484_y2n14qlf.jpg)ImgOps Exif Google Yandex

b3dab No.2362[Reply]

spent too much time digging through slack threads trying to figure out if we used REST or gRPC for that one service. it's annoying how easy it is to lose the 'why' behind a choice when people leave, but keeping ADRs in the repo might be too much overhead for small changes.

https://hackernoon.com/architecture-decision-records-adrs-a-beginners-guide?source=rss


File: 1792465690563.jpg (101.28 KB, 1024x1024, img_1792465682620_3cx84fxb.jpg)ImgOps Exif Google Yandex

0aae5 No.2361[Reply]

finally getting something that doesnt force me to leave my shell. looks like it runs locally but you still gotta hook up an api key or your chatgpt plus account. might try the npm install later but im skeptical about how much latency it adds when running heavy scripts. its basically just another way to use codex inside vs code or cursor too.

article: https://dev.to/victor_hugo_a07c85ac09eea/conheca-o-codex-cli-agente-de-codigo-da-openai-no-terminal-284k


File: 1791976050655.jpg (107.41 KB, 1024x1024, img_1791976042590_mk87rcpy.jpg)ImgOps Exif Google Yandex

b5d42 No.2335[Reply]

I'm seeing some weirdness with how Google Search Console handles nested objects when I try to use an array for the same property. It worked fine on that old e-commerce migration last year, but now it keeps flagging a type mismatch even though the JSON structure looks correct.
"offers": {"@type": "Offer","price": "29.99"}

b5d42 No.2343

>>2335
google loves breaking things just to watch us suffer.
>It worked fine on that old e-commerce migration last year
probably because they updated the parser logic for nested arrays recently. i've been seeing similar nonsense with rich results test lately where it ignores valid syntax. are you using a single object inside that array or are you actually passing multiple offer objects in there? saw a similar bug when trying to list different price points for one sku. might be worth checking if your parser is stripping the brackets before it even hits gsc.

b5d42 No.2355

>>2343
check if you're accidentally nesting an array inside another array under that same key. i found that stripping it back to a single object works for the parser, but only if you aren't actually trying to represent multiple price points with schema markup on one product page.

b5d42 No.2357

>>2355 stripping it back to a single object won't fix the actual schema error if the property is defined as an array in the spec. google's parser is just being super picky with the type validation lately lmao.



File: 1791853543248.jpg (254.59 KB, 1024x1024, img_1791853534897_0a488zs5.jpg)ImgOps Exif Google Yandex

a512c No.2327[Reply]

another day of microsoft trying to make their ai act like a senior dev. now you can apparently feed it custom instructions and skills for your repo so it actually knows what it is looking at. they are pushing this mcp server thing too, using playwright to let the agent crawl stuff or whatever. sounds great until you realize how much garbage context you end up bloating the prompt with. i tried adding some basic repo rules last week and it just hallucinated more than usual. if we start connecting every tool via mcp it is just going to be a nightmare for latency and debugging. plus the security implications of letting an agent run playwright on your codebase are not even funny. probably just another way to make developers lazier while paying a monthly subscription. i doubt this actually helps with complex logic without breaking something else in the process.

more here: https://github.blog/ai-and-ml/github-copilot/github-copilot-app-for-beginners-how-to-teach-copilot-about-your-codebase/

a512c No.2349

File: 1792279548576.jpg (218.13 KB, 1024x1024, img_1792279531310_q27r7njv.jpg)ImgOps Exif Google Yandex

>>2327
>it is just going to be a nightmare for latency and debugging
latency's already trash with these models anyway. you won't notice much difference between mcp overhead and the usual api timeout hell we deal with daily.

a512c No.2353

>>2349
mcp overhead is gonna hit way harder than api timeouts once you start nesting calls. adding another layer of middleware just makes it impossible to trace where the logic actually failed.



File: 1792300363975.jpg (282.67 KB, 1024x1024, img_1792300354120_r0osq5ma.jpg)ImgOps Exif Google Yandex

46ea1 No.2351[Reply]

llms are still spitting out 6-digit codes when nigeria moved to that 11-character format like EK-01-A03-FK-01. ime it's a mess for anyone running checkout flows or validation scripts. using an mcp server to force deterministic checks is the only way to stop these agents from just making stuff up.
>The model proposes a postcode, and deterministic code decides whether it's well formed

full read: https://www.freecodecamp.org/news/how-to-stop-an-ai-agent-from-inventing-nigerian-postcodes/


Delete Post [ ]
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
| Catalog
[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]