Hacker Newsnew | past | comments | ask | show | jobs | submit | etchalon's commentslogin

cause.

Safari continues to have the best developer tools, so long as you don't need to debug JavaScript.

I use Safari for day-to-day web browsing and Chrome for development. Feels like the best of both worlds to me.

Same. Chrome dev tools, especially around JS are just better.

I don't think JS debugging in Safari is that bad.

But I also use it as my main browser, so maybe there are some nicer features in other browser dev tools I haven't been exposed too.


It's mostly that there's no way for third-party tooling to initiate a debugging session, I believe.

That's fair.

It's criminally bad. You can't copy logged variables. You can't inspect worker threads (!?). WASM support is practically non-existant. You can't even do a heap snapshot on demand, something that should be a basic feature.

The timelines view is practically obfuscated with pretty graphs that show some aggregated data and some automatically generated snapshot points where the dev tools decide that are meaningful.

Inspecting the rendering pipeline is impossible. You can't see memory usage, compositing reasons, long frames (you kinda can but it's tricky)...

Not even going into remote debugging for iOS which crashes either the dev tools or Safari on iOS in any non-trivial scenario — the exact ones you need a debugger for.


That's fair, it sounds like you're dealing with some use cases I don't deal with often. And yeah remote debugging safari on an iPhone is pretty unreliable.

Safari's dev tools are ... just bad. They are frustratingly cumbersome to use: https://x.com/dmitriid/status/1711701552082079764

The Chrome tool where you can edit CSS inside the inspect panel and it writes it to the CSS file is amazing and I really miss that in Safari.

"Technically, anyone can make napalm at home. What's wrong with Walmart selling it?"

We had a working compromise for decades.

You understand that that 30% "markup" has to cover literally everything involved in running the store, right? The building, lights, shelves, labor, website, marketing, HVAC, etc etc etc

A 30% markup spread across 1 product or 3000000 products is still a 30% markup.


Yes, and you realize "theft" is a part of everything.

I don't think the comment you responded to was arguing that theft was moral or companies were being greedy. Rather, just that 30% markup is typical and it takes a fair bit of theft before that starts closing the gaps on the margins.


Then I think the parent comment lacks an understanding of the difference between gross and net margins.

That's an uncharitable reading of their comment.

It's the only reasonable reading if someone is dismissing 2% loss due to theft for a retailer.

I wasn’t dismissing theft and supermarkets do not have 2% of their stock lost through theft (if 1 in 50 items were already stolen then that supermarket is dysfunctional at preventing theft).

Thus what you’re describing simply has no basis in reality.

Furthermore, you’ve completely misread every single comment in this thread and taken the least charitable conclusion from them.


You seem to believe that when the industry says they suffer a 2% loss due to shrinkage, they mean 2% of their inventory. That 2% figure refers to gross sales, not item inventory losses.

As I’ve already told you, the industry says they lose 1.6% to shrinkage and theft is just a subset of shrinkage.

So your figures are flat out wrong.

And I get it’s a gross figure, I was just putting it into simple terms for you because you’ve managed to misunderstand every other comment thus far. I was hoping turning the figure into a fraction might help you understand the ridiculousness of your comments. It was meant as an illustration rather than a literal scenario.

Anyway, like the other guy, I’m done chatting to you now. I’ve done business studies and worked in retail before moving to IT. Clearly you haven’t. And if you’re going to keep repeating incorrect figures then you’re beyond reason anyway.


I literally said that.

The part you missed is that supermarkets sell a significant amount of stock.

If shop lifting is a serious enough problem in a particular store to make it financially unprofitable then there’s more at play than just the theft:

1. The store isn’t following best practices of having electronics tagged, and high value items at the back of the store.

2. The store isn’t making enough legal sales. This could be for a multitude of reasons from the stores location to its cleanliness. Or maybe they’re just stocking stuff people don’t want to buy or at the prices they’re advertised for

3. The overheads are unsustainable regardless of the sales. For example the land rental might be so high that the store wouldn’t turn a profit with the types of products they’re trying to sell.

Shops also factor in loss of stock in their margins. Eg spoiled food, damaged products and theft. This actually comes to less than the cost of personal nor rental costs.

There is still value in anti-theft measures. But that doesn’t mean that the GPs comments were correct when they said:

> it doesn’t take much theft to put the business in the red.

…because if you run a supermarket correctly then it does. Despite what the knee jerk reactions to my initial comment suggest.


That's just not how the math works.

Let's assume an average marginal loss of 2% of gross sales to theft at a business with a net margin of 4% (typical of retail). Let's also assume wholesale markup of 50%, just to be conservative.

On two million in gross sales, a 2% loss equates to a $40,000. Assuming a 50% markup, the retailer has lost $20,000 in COGs. We'll ignore the other $20,000 for now.

On two million in gross sales, and a 4% net margin, the retailer can expect to make an annualized profit of $80,000.

We deduct the $20,000 in COGs loss, the retailer is now making only $60,000 a year, that's a loss of 25% in profit.

And that's using 50% markup.

In your stated case, with a 30% markup, the retailer would have lost $28,000 dollars in COGs, meaning the retailer is now making only $52,000, a reduction of 35% in net profits.

There is no universe in which this is a non-meaningful amount or to be dismissed as "well, something else has to be going wrong. Theft just isn't that big a deal."


Those figures aren’t accurate (eg shrinkage is estimated at around 1.6% and theft is just one of many factors that contribute to shrinkage, so the actual percentage for theft is going to be even lower) but I’m done arguing with you because you keep taking my comments in bad faith, eg:

> Theft just isn't that big a deal."

That’s absolutely not what I said and if that’s the message you’re taking then you’re looking for an argument instead of discussing the facts.

So I’m done.


How many employees does it take to move $2mil in sales? That's not the owner running a mom-and-pop store with only him running the till, is it?

For a retail location, 2 million might be a lot, or not very much. It's going to be incredibly dependent on what type of retail we're talking.

I'm sorry, but I was told "affordability" was a hoax.

If someone doesn't pay you, stop providing the service.

A message like this on a client website doesn't do what you think it's going to do.


I'm sure one of these days Facebook will face a consequence for the amoral, corrupt and lazy culture they've engendered.

Any day now.


Even if you're not using VSCode, you're probably using VSCode.

We're just out here putting hats on hats.


Computers are so weird.


Analog devices pretending to be digital


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: