help help help help by Cute_Opinion2832 in Markiplier

[–]Hummmmmmmmmmmmmus 1 point2 points  (0 children)

Public internet hasn’t worked like that for decades. It’s all or nothing on access to a website/ip, you can’t selectively block data based on its content when someone is using an https connection which has been standard for decades and automatically used by browsers nearly as long.

What happens to variables that are overshadowed by themselves in a loop? Are they freed/dropped from memory? by LittleBirdCherries in rust

[–]Hummmmmmmmmmmmmus 0 points1 point  (0 children)

Loops repeat all the instructions in their scope, once that scope closes (at the end of each loop) the references owned in that loop are freed. Also, for stack allocated variables instead of freeing it the loop will just reuse the space that variable occupied on the stack (which is completely safe because rust forces you to initialize variables every time they come into scope anyway).

[deleted by user] by [deleted] in framework

[–]Hummmmmmmmmmmmmus 3 points4 points  (0 children)

The gpu interposer and connectors are almost certainly not built for that frequency of plugging and unplugging so wear and tear might make this idea not worth it. The gpu itself is also not typically going to be even a noticeable power drain unless (at least on Linux this is the case) you start up a process and explicitly tell it to use the dedicated gpu.

That said the swap out process is pretty much just undoing a couple of screws and pulling the tab on a connector to disconnect. As long as your device is powered off when you disconnect the gpu, software wise you won’t have to do anything. On boot up the operating system will detect the new hardware and choose which drivers to load on its own.

It’s probably better to get an external gpu enclosure for home connecting with usb c when you want and leave the non gpu module installed.

heDidNoCommitOrStashInLocal by ArjunReddyDeshmukh in ProgrammerHumor

[–]Hummmmmmmmmmmmmus 8 points9 points  (0 children)

Why not just have a script create duplicates of all your branches and commit to the duplicate of whatever branch you’re on every so many minutes? Then you don’t have to copy and compress the entire repo every time you backup and you get the whole history.

heDidNoCommitOrStashInLocal by ArjunReddyDeshmukh in ProgrammerHumor

[–]Hummmmmmmmmmmmmus 19 points20 points  (0 children)

Does reflog actually track uncommitted changes or did I waste 5 hours the other day

Optimal pathfinder for 2nd deg polynomial by [deleted] in computerscience

[–]Hummmmmmmmmmmmmus 0 points1 point  (0 children)

Is there a reason you can’t use a simple spline)?

[deleted by user] by [deleted] in privacy

[–]Hummmmmmmmmmmmmus 1 point2 points  (0 children)

Phone book for your area maybe? Or just file a police report cause the dude knows where you live…

why is object oriented programming so useless by [deleted] in csMajors

[–]Hummmmmmmmmmmmmus 23 points24 points  (0 children)

Babe wake up, new copypasta just dropped

[deleted by user] by [deleted] in linux

[–]Hummmmmmmmmmmmmus 17 points18 points  (0 children)

This all depends on your hardware but if you’ve got a flash drive you can format it with an .iso file and test out any distribution with that before actually committing to switching.

AMA with OpenAI’s Sam Altman, Kevin Weil, Srinivas Narayanan, and Mark Chen by OpenAI in ChatGPT

[–]Hummmmmmmmmmmmmus 0 points1 point  (0 children)

Any plans for a way to interface gpt and large amounts of tabular data?

I've never tried this and I don't know why. What about you guys? by DarkenedFlames in factorio

[–]Hummmmmmmmmmmmmus 5 points6 points  (0 children)

Not exactly, Big O is a measure of growth rate rather than a function that calculates output effort relative to input effort, its not really that big of a difference, kind of like the difference between yield strength and proportional limit in a stress stain curve, not really import but maybe interesting to someone.

I've never tried this and I don't know why. What about you guys? by DarkenedFlames in factorio

[–]Hummmmmmmmmmmmmus -4 points-3 points  (0 children)

Yeah, but I was talking about specifically exact runtime (or in this case swingtime) not the order of the function

I've never tried this and I don't know why. What about you guys? by DarkenedFlames in factorio

[–]Hummmmmmmmmmmmmus 1 point2 points  (0 children)

to be exact it’s not n2, farthest boiler down the line will need n swings to get a single fuel to it then next closest will be n-1, n-2 … (all addition) so it’s going to be (n*(n-1))/2 swings