[object Object]

u/panda_abyss@lemmy.ca
10 posts · 5.7k comments

Recent posts

Recent comments

My idempotent claim was too broad and wrong, up to aliasing that is reversible.

I think I’ve been talking about this differently than you, when you get 8bit into, 255 in/out is correct.

When generating data I do it in the natural [0,1] space, then map to whatever domain I’m quantizing for.

In that case, for N bins you divide by N+1 (and round however you want via correction) so 256. I was probably wrong earlier around this, 256 is correct for quantizing that way.

on Work ordeal · c/microblogmemes · 1 pts · 1d

I did two eggs for breakfast and a fried egg sandwich for 3 days, then just the sandwich, then omelettes, but it wasn’t enough.

I’ve never made devils eggs, I guess I should have tried. Ended up giving them to family.

on Work ordeal · c/microblogmemes · 3 pts · 1d

It is doable, but I also wasn’t that committed after a few days.

I gave them to a family member instead

on Work ordeal · c/microblogmemes · 22 pts · 2d

I was trying to finish a 18 eggs in a week because I needed to travel

The level of sulfur in my farts was comparable to visiting a sulfur mine. It was absolutely brutal.

I did not finish all 18. 18 is a lot of eggs. I am not Gaston or Cool Hand Luke.

If you’re generating random numbers you apply the correction to your random numbers: [0, 1) is a bin for zero, and [255,256) maps to 255. If you are sampling as such, you are responsible for applying the correction as part of your quantization.

256 never comes up, because it cannot in the 8bit quantization.

The correct way to scale a number from one range to another is ((value - min) / (max - min)) * output_range + output_min and in this way the standard colour normalization should be (value - 0)/(255 - 0) * 1 + 0 = value / 255

Now the question becomes whether an 8bit pixel value is a correct representation of a colour, or should it quantize to a half value. To answer this, I aggressively point to the above equation. It is fine. There are 256 well considered values, and any system with higher resolutions/precision should also map from 0 to 1 per channel.

It should be obvious to the reader that 0.5/256 is not zero, and therefore not black. The 256 method is also not idempotent, applying it once destructively alters the data.

And the argument that 256 has higher resolution: so would 354256, but there’s no sensible place that matters.

on Is multi user nix safe? · c/linux · 1 pts · 3d

Are you talking about NixOS?

You can install post user nix home manager distributions which are separate from the shared nix environment (not sure if that’s the right term)

on The hiring process. · c/memes · 4 pts · 3d

Okay, but you need to be an all a rounder with a deep specialization in DreamWeaver CS4 (which I think is when fireworks compatibility broke and macromedia was finally absorbed)

I suspect getting the dates wrong is because websites ump their publish date when nothing has changed, which keeps them showing up in results for extended/indefinite periods.

Obviously Google should police that, but Google doesn’t use Google news I don’t think.

That sucks, why did you have to take the whole course again over a shitty group project?

For what it’s worth, students have always been dumbasses in programming classes. We made a card game in one and one of my classmates had 52 if statements to get the card suit and value.

That’s probably nit nearly the most egregious, just one I remember.

on Porco Rosso · c/animemes · 2 pts · 4d

It’s been a while since I saw it, I remember the swimming scene where he’s looking at her but Porco acts perfectly fine

You could have agriculture without modern capitalism.

We have people who treat Eve online optimization like a full time job for example. If their needs were met, I think they’d work happily on optimizing tractor schedules and crop rotation plans

I would probably do my job for free if I didn’t have to think about retirement and keeping my house and filling my belly. I just like what I do and I find it rewarding. The problem is still resource allocation.

No, I don’t think centralizing power and central planning will solve this either, I’m just saying people will be productive even without money.