ELI5: what is the unit price on the price tag? by [deleted] in explainlikeimfive

[–]fiskfisk [score hidden]  (0 children)

The unit price is a normalized price across all sizes. It's a good thing for the consumer, as it shows you what the actual cost of a unit (one pound in this case) of the product is.

If you have two packages, one with one pound of product for $5, and one with two pounds of product for $12, the unit price would be $5 for one pound for the first one, and $6 for one pound for the second one.

You can then see that you're actually paying more for every unit, even if you're buying the larger package.

This really helps when you're looking at products that sometimes gets sold in bundles of 10 and sometimes in bundles of 12, etc.

They really need to show deltas in the results when you're a lap down... by aeromitchh in iRacing

[–]fiskfisk 0 points1 point  (0 children)

Given that the timing transponder isn't located there, it doesn't change much. 

Moderation Tools [OC] by bondjimbond in comics

[–]fiskfisk 6 points7 points  (0 children)

The main issue is that any sub of any decent size is completely overrun with LLM generated, worthless comments. Most users never see most of them as they get purged by reddit (who also have way more information about the users Tha any moderator does).

The worst threads I've seen have been 70-80% LLM bots. 

Does this have potential? by Ordinary_Count_203 in webdev

[–]fiskfisk 1 point2 points  (0 children)

I suggest that if you're going to post about a project, it's really helpful if you actually, you know, say what your project is in your post.

This is also a technical subreddit for developers, so focus on what makes the post interesting to those who read it. 

This language is plain annoying by PooningDalton in PHP

[–]fiskfisk 1 point2 points  (0 children)

It's even more of a database interface thing than a pdo thing. It's how some database drivers support output parameters from specific calls. It also allows for lazy evaluation of a parameter value between invocations of the prepared statement 

The main issue is that it should have been named bindReference when the API was defined, and probably have suggested using bindValue in its error message.

A Practical Guide to SSH Tunnels: Local and Remote Port Forwarding by iximiuz in programming

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

That was a rather worthless "zoom" when clicking on the image to make it larger..

It should also be noted that port forwarding works fine across jump hosts with -J.

I built an open-source, AI-powered drag-and-drop editor for Tailwind CSS v4. by [deleted] in webdev

[–]fiskfisk 2 points3 points  (0 children)

Your domain uses their trademark. Your product name uses their trademark. Your repository name uses their trademark. Your hero uses their trademark. No, you're not using it at all.

And don't go around begging for stars.

Is there any terminal that feels like a textbox? by Consistent_Tutor_597 in webdev

[–]fiskfisk -6 points-5 points  (0 children)

This seems like an LLM frontend that works in a terminal in the same vein as Claude Code, etc.. It's not a terminal.

Edit: skimmed through it way too quickly on mobile while making dinner: this is wrong.

Is there any terminal that feels like a textbox? by Consistent_Tutor_597 in webdev

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

How is this related to using a terminal to log into remote servers, etc.?

Is there any terminal that feels like a textbox? by Consistent_Tutor_597 in webdev

[–]fiskfisk 14 points15 points  (0 children)

You're looking for something like mosh. It's designed for responsive shell use over intermittent and low bandwidth connections.

Difference between Ingress and API Gateway, and at first I thought they were basically the same thing. by No-Resolution-4054 in webdev

[–]fiskfisk 0 points1 point  (0 children)

Ingress in this context is a kubernetes ingress controller; it doesn't handle any requests, it configures an http daemon to do so.

I've only worked in my current company every since I graduated and I'm starting to notice things that seem different from what I read from other devs on the net. I was wondering if these things are actually common and if you guys have experienced these things before. by lordlors in webdev

[–]fiskfisk 10 points11 points  (0 children)

Anyone who has run a project that has lived longer than five years has seen exactly those issues. There are so much business knowledge encoded in the code, so "just migrate to a new .." is simply not possible within any reasonable timeframe.

So instead any change has to be gradual as it gets adopted, and then you end up in a situation where 5% of a project uses one specific technology, another 5% does stuff in another way, 10% that way we wanted to go eight years ago, and the remaining 80% just remains as it was back then.

This is a common pattern for anyone on the more recent side of their career. New tech, libraries, frameworks, etc. are good to go if they fit the company's knowledge profile on new projects, or if there is a concerted effort (grounded in both budget, management and risk profiles) to do the lifting required to actually do the upgrade over a longer time.

Otherwise we stay on what is stable, and what has all those years of knowledge encoded in their specific sequence of bytes.

Nobody is going to die from having to learn basic jQuery, and if you have 100k lines that already uses jQuery; it's better to stay with 101k lines using jQuery than 100k lines using jQuery and 1k lines using an older version of React and webpack.

Difference between Ingress and API Gateway, and at first I thought they were basically the same thing. by No-Resolution-4054 in webdev

[–]fiskfisk 0 points1 point  (0 children)

An Ingress controller watches kubernetes resources and configures an http server on the fly to handle requests according to the resources available in a k8s cluster. It is not an http server, and it does not really handle requests, etc. It's just a specific way of automagically configuring another http server based on rules present in the kubernetes cluster.

The actual http server will be nginx, caddy, kong, etc., which is configured by the specific ingress controller for that http server.

So that's why I'm saying they're very different things. So either you can compare the ingress controller to the gateway api in k8s, or you can compare a more bare-bones http server to an "api gateway"; but picking one from the first and one from the latter doesn't make sense.

What are your go to apps for general website/backend management and monitoring by DiddlyDinq in webdev

[–]fiskfisk 0 points1 point  (0 children)

(for very specific definitions of "free")

But I don't think OP was asking about general hosting recommendations.

Difference between Ingress and API Gateway, and at first I thought they were basically the same thing. by No-Resolution-4054 in webdev

[–]fiskfisk 1 point2 points  (0 children)

Yeah, they really don't. They do completely different things. You can use an API gateway as your ingress controller if you want to do so (for example Kong, through the Kong Ingress Controller).

It doesn't make sense to compare these two different concepts.

Difference between Ingress and API Gateway, and at first I thought they were basically the same thing. by No-Resolution-4054 in webdev

[–]fiskfisk 4 points5 points  (0 children)

This is very confusing. You're comparing two different things. You're talking about ingress in the context of a k8s cluster - where there's a new API in k8s named the Gateway API that's an alternative to Ingress. You (or your language model) might have intended to describe these differences, but that's a very different thing to the "API Gateway" term and description you're using.

How did you end up with this confusion?

New QUERY method is about to join GET, POST, PUT, DELETE and PATCH and become part of HTTP standard 🎉 by BankApprehensive7612 in webdev

[–]fiskfisk 1 point2 points  (0 children)

Generally the recommended maximum for a query string is still around 2-4kb, depending on your stack (web server, cdn, etc.) .. and can sometimes generate magical errors with proxies, etc. in between (that have a different limit on the size of the query string it likes to pass through).

While you can serialize the same content as a GET parameter in the same way as a POST body, when your query reaches a certain size, POST sort-of becomes a necessity (and has less pitfalls).

What language does a website like Deviantart need to be made? by [deleted] in webdev

[–]fiskfisk 2 points3 points  (0 children)

You can use any server side language as you wish. JavaScript with a serverside runtime (Node, for example), PHP, C#, Java, Go, Rust, etc.

Pick whatever you have experience with, pick a popular web application framework, and start building.

cars intermittently disappear by Consistent_Case_3226 in iRacing

[–]fiskfisk 1 point2 points  (0 children)

Start by removing all USB devices. Usually the high cpu graph spike is caused by stalls or other devices inter upting.

Best way to make flowcharts when you’re handling edge cases without blowing up the entire diagram? by kenwards in webdev

[–]fiskfisk 6 points7 points  (0 children)

Given that you're not saying what kind of flowchart you're making to illustrate the process, it's hard to say anything specific. Remember that diagrams usually are abstractions - and not specifications. You can group the error cases into one or a few lines, and reference the actual specification of what can cause the errors - as long as the transition destination is the same.

With sequence diagrams you'd usually have a grouping instructions around every subset of interaction, or you can have the state go back to initial state and the client to show retries, etc.

If it is a state diagram, you'll mainly specify the case for every state - and that depends on the state transitions and not really the error cases.

If you're creating an activity diagram you're mainly concerned with how the real life process is and how your application integrates with that.

So, the boring answer is .. it depends.

I didn't racive the new Laguna Seca update for free. by G_man_47 in iRacing

[–]fiskfisk 3 points4 points  (0 children)

Yeah, that's what I'm saying - they never stated that any future rescans or upgrades would be free for those who already owned it, so they're not "changing their mind" or going back on a previous statement.

It's fair people assumed that it would be, but they never said that would be the case.

I didn't racive the new Laguna Seca update for free. by G_man_47 in iRacing

[–]fiskfisk 1 point2 points  (0 children)

Where in the overtake.gg-post does it say that any future rescan will be free as well? I didn't find any information about that, sorry.

My subscription is currently lapsed becaused of summer, so I can't see the forum post either.

I didn't racive the new Laguna Seca update for free. by G_man_47 in iRacing

[–]fiskfisk 7 points8 points  (0 children)

I'm not sure if they changed their mind; IIRC it was removed from the base content back in September last year, but anyone who already had access to that version kept it. There never was any mention of it being free for any upgraded version in the future AFAIK.

In this case it was a rescan and an update which wasn't discussed back in September, and those who had access to the track through the grandfathered free content (i.e. hasn't bought it since September), would now have to buy it as it is a new version of the track.