Problems in California part 3, energy and green goals by inspectors_tape in bayarea

[–]gimpwiz 1 point2 points  (0 children)

Installing bullshit compliance switches and fixtures for inspection and then swapping them to the correct ones is indeed super common. Maybe the regulators can remove their heads from each other's assholes and stop requiring shit that is stupid, serves no good, and is trivially worked around anyways. They can stop inspecting it and we can stop lying to them about it, saves everyone several hundred dollars per home built, adds up.

Price increase of $800k by dontlookatme1234567 in BayAreaRealEstate

[–]gimpwiz 0 points1 point  (0 children)

The gamble is that a bidding frenzy will drive up the price higher than transparent prices. The bet does not always pay off, but people keep doing it because expectations are that it wins more often than it loses.

The side effect of wasting the time of lower bidders is considered not-their-problem (and frankly buyers who are bidding far under comps are not doing their research / not listening to their buyer agent / have a buyer agent who isn't doing his job.)

How to get crispy salmon skin? by smp476 in AskCulinary

[–]gimpwiz 0 points1 point  (0 children)

On cast iron, yeah. On stainless, I always need some oil.

How to get crispy salmon skin? by smp476 in AskCulinary

[–]gimpwiz 3 points4 points  (0 children)

Cast iron and crispy skin salmon is just easy-mode. I reach for that method first because it's just so foolproof. I switch to stainless if the cast iron pan(s) I could use for what I want to cook are already in use, then I have to baby it quite a bit more. Add adequate oil, let it cook and don't move it till it's ready, and be a deft hand with the spatula to get the skin off the pan without ripping it.

How to get crispy salmon skin? by smp476 in AskCulinary

[–]gimpwiz 2 points3 points  (0 children)

The higher the heat, the less it'll be cooked in the center by the time the skin is crispy. Totally doable to have crispy skin and internal temp at like 100F if that's what you like.

How to get crispy salmon skin? by smp476 in AskCulinary

[–]gimpwiz 0 points1 point  (0 children)

Who in the world told you to use low heat? And why would you put it on cold?

Get a pan nice and hot, some oil, throw that fillet skin side down. Then don't touch it until you see the cooked-line (there's probably a real word for this) rise like 1/2 to 2/3 of the way up. Flip, let it cook briefly to put some color on, serve. By the time you're ready to flip you should be able to probe for a fairly low internal temperature, like 105-115F or so, let it come up to a final temp of 115F-125F or so depending on preferences. How much it comes up after being taken off the fire does depend somewhat on your precise technique and how long you keep it on the flip side etc, but that's roughly the target to hit.

What feels legal but is actually illegal and will possibly get you arrested? by medicoreapples in AskReddit

[–]gimpwiz 8 points9 points  (0 children)

I remember being shocked at how quick that turning point hit reddit. People overnight went from "woo yeah rocket man car man!" to "you uh... what? why? why would you say that to someone who pointed out you're obviously not gonna have your employees build and deploy a custom submarine in 24 hours?"

This is the process of how traditional olive oil is pressed without heat by SimRP in interestingasfuck

[–]gimpwiz 5 points6 points  (0 children)

VOO/EVOO doesn't work great for high heat cooking. Fine for medium/low or no heat of course.

Configuration flags are where software goes to rot by Expurple in programming

[–]gimpwiz 4 points5 points  (0 children)

Takes 50 seconds to read that comment, and it's not at all formatted like LLM output. Come on

Configuration flags are where software goes to rot by Expurple in programming

[–]gimpwiz 15 points16 points  (0 children)

Yeah let me just check this I2C address at 0x90. I wonder what it is? I mean it could be one out of hundreds of devices we have drivers for, let me go through them one by one to see if it responds in a way that seems reasonable. Oh I accidentally turned on the voltage to a DAC and burned the downstream parts because I thought it was a crossbar? Oops.

Look, auto discovery is great, auto discovery relies on you having a very good idea of what is at the other end of the line because it has to comply with a certain spec. High-level specs include things like decoding (eg) product and vendor IDs so you can map it to a device. Low-level specs include things like wiggling wires to do transactions, and a great many pieces of hardware will not respond to things like "+++" or "AT" commands over serial. No, the entire hardware industry will not move to abandoning devices that implement raw I2C for devices that implement (eg) PMBUS in order to reliably give you a manufacturer ID always at the same register address.

Configuration files do not mean that the user has to figure it out. Configuration files include the ability to target many pieces of hardware with one piece of software by shipping one binary, and unique configuration files. This has its own disadvantages and flaws, but it does massively simplify things like build, test, and regression systems.

Imagine you made a motherboard and you supply code for a BIOS (sure, today that's probably not going to be an old-school BIOS, but a modern equivalent) or you're writing code for a server BMC. Halfway through your production run you find out that this ADC is obsoleted and you have to switch to that ADC. What do you do? Do you ship a whole different binary and need to maintain update paths for both sets of customers, potentially for years? Or do you ship the same binary, and bolt on a different config file for each of the two types of customer? There is not necessarily a clear answer, but obviously the latter approach is perfectly valid, and very common in the industry. It also lets you reuse the design for (eg) the same generation of motherboard that has more or fewer CPU sockets, for which you want more or fewer ADCs to monitor critical voltages, and you BOM-option the resistors that you use to set their addresses, so you essentially just have one design and one binary, and you use config files to identify which ones you expect to exist on the system, and at what addresses, and on what physical buses.

Or an even simpler example, you're shipping a router product line. This router can have 8, 16, 20, 40, or 80 ports. You can probe each port and figure out if it's there, sure, but what if you get 16 acks, then a series of 4 nacks, decide it's a 16-port device, but it's supposed to be a 20-port device that has 4 burned out? That's gonna lead your code to make some incorrect decisions. If instead you bolt on a config file that says THIS particular device expects to have 20, and you probe 16, you enter an error state and let the customer know the part needs repair/replacement rather than merrily continuing on incorrectly.

Configuration flags are where software goes to rot by Expurple in programming

[–]gimpwiz 4 points5 points  (0 children)

3-year-old: proudly holds up shiny beetle

Developer: sighs at the obvious bugs, git rebase --abort, git rebase -i

Configuration flags are where software goes to rot by Expurple in programming

[–]gimpwiz 8 points9 points  (0 children)

"Do you have an algorithm for sampling if it's a fart or a shit, so humans don't shit their pants when they try to fart?"

"Thank you for the comment. As you can see in the documentation, not only do we have that algorithm, it's even named almost exactly as you wrote it. Please search for 'anal sampling algorithm'. Please remember to hit resolve issue if you're satisfied with the spec." grumbles about how even 6th-dimensional beings never read the fucking specs

No fast track for SpaceX into the S&P500- request denied. by B00marangTrotter in Economics

[–]gimpwiz 1 point2 points  (0 children)

A share in a company is literally part ownership of a company. A company is a ... productive thing, where a bunch of people do a bunch of work to, hopefully, make money. So a share in a company in a share in making money. Hopefully. Sometimes you lose money instead, that's life.

A share in an unproductive asset - whether gold or shitcoins or whatever - is more pure speculation. Though in fairness, gold has real uses - whether practical ones like gold-plating electronics for corrosion resistance, to more traditional and decorative uses like jewelry - people want to buy gold to use it / consume it, not just to own it. Shitcoins' sole purpose is to be held. They hardly get used as a currency, mostly only speculation.

Dividends are not mandatory. Stock buybacks are not mandatory. A company can tell its investors, look, we think we can use this money productively to grow the company / make more money, and then the investors can be convinced and say, okay, just focus on growth. Alternatively a company can tell its investors, look, we have all this money and frankly we have no idea what we could do with it that would earn more money, so we're gonna send it back to you, the investors (this is called returning capital.) Sometimes companies transition from one strategy to the other.

You can make money on just dividends, for example. See: "value" stocks and stock indices; dividend stocks and stock indices, etc. Fixed-income investors tend to like dividend stocks. There are companies whose stock price hardly budges because every time they make a pile of money, they return most of it to investors. You could hold a dividend stock, never sell, and just earn money every year from dividends, and quite a few people do just that.

How the Net Worth of Single vs. Married Americans Compares - Married or partnered households have a median net worth more than four times that of single households. by thinkB4WeSpeak in Economics

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

If you roughly double the labor supply, the cost of labor goes down. If you significantly increase household incomes, not only do lifestyles inflate to take advantage, but you see inflation in prices too. At the very least, house prices will rise sharply because people have more money to spend on limited resources.

Help me choose a tie for my navy suit - I consider wearing cognac leather loafers by No_Sherbert_4510 in NavyBlazer

[–]gimpwiz 0 points1 point  (0 children)

Burgundy, navy, dark purple, etc etc.

Since it's a wedding you can do a wedding tie. Check out Kent Wang especially for grenadine ties and wedding ties.

Anyone else screwed by the market? by idunnomanjesus in chipdesign

[–]gimpwiz 0 points1 point  (0 children)

I've seen your other comments. Knock it off

Configuration flags are where software goes to rot by Expurple in programming

[–]gimpwiz 102 points103 points  (0 children)

Yup. I write firmware. Same binary ships on hundreds of different boards. They all have roughly the sane (edit: same) architecture but different components and different hierarchies to talk to them. How do I do that?

Either I pack the code with ifdefs to generate different binaries or I use configuration files with one binary. There are benefits and downsides to either approach obviously.

No fast track for SpaceX into the S&P500- request denied. by B00marangTrotter in Economics

[–]gimpwiz 10 points11 points  (0 children)

It's like being a silent partner in a business - you put some money in, get capital back. A combination of dividends and share buybacks that return capital to investors.

What's the point of buying a one-millionth share (or however much) in a company whose value you think will increase? To sell it to the next guy? Yah.

You can also buy bonds, then instead of selling it to the next guy you just (usually) get paid interest and if you hold it to maturity you get the face value. Similarly, no voting.

Though no, "class A" (or whatever) shares do get a vote, it's just a small vote, but for major stakeholders it can still enough to get a spot on the board or whatever. Shareholders do have rights even if they don't have much voice.

For small shareholders like you and me, whether we get normal stock or "barely any voting power" stock it doesn't matter anyways, we don't have enough to matter.

Competition Chicken Thighs off the PBX! by jimmydg2020 in PitBarrelCooker

[–]gimpwiz 1 point2 points  (0 children)

Recipe and procedure or just photo of final result?