Nazrin

joined 1 year ago
[–] Nazrin@burggit.moe 6 points 1 year ago (1 children)
[–] Nazrin@burggit.moe 2 points 1 year ago (1 children)

Computer engineer here. I think physically swappable CPUs could be physically doable. You would have something like an SD card slot and just be able to click it in and out.

The main problem is the speed of electricity. Electricity moves about as fast as light does, but there's a problem. Meet the light nanosecond. The distance light travels in a nanosecond:

It's 6mm less than a foot. If you have a processor running at 4GHz, the pulse of the clock is going to be low for an 8th of a foot and high for an 8th of a foot. You run into issues where the clock signal is low on one side of the chip and high on the other side of the chip if the chip is too big. And that's saying nothing of signals that need to get from one side of the chip and back again before the clock cycle is up.

When you increase the distance between the CPU and the things it is communicating with, you run into problems where maybe the whole wire isn't at the same voltage. This can be solved by running more wires in parallel, but then you get crosstalk problems.

Anyway, I'm rambling. Main problem with multiple CPUs not on the same chip: by far the fastest thing in a computer is the GPU and the CPU. Everything else is super slow and the CPU/GPU has to wait for it. having multiple CPUs try to talk to the same RAM/Harddrive would result in a lot of waiting for their turn.

It's cheaper and a better design to put 24 cores in one CPU rather than have 12 cores in two CPUs.

Most things are still programmed like they are single thread and most things we want computers to do are sequential and not very multi-threadable.

[–] Nazrin@burggit.moe 4 points 1 year ago

The keyword you need to look for is "temporally stable".

[–] Nazrin@burggit.moe 10 points 1 year ago (2 children)

What you are describing is a bit of an oxymoron. The ideal of truly supporting free speech is that you are not removing anything.

sure, you can move the line back, but where the line between remove and don't remove is is extremely arbitrary.

I think, instead, you should ask yourself what you are actually looking for and find a place that has that.

[–] Nazrin@burggit.moe 1 points 1 year ago

Left click the tampermonkey icon. Click "Create a new script". Paste in the code. press ctrl-s.

[–] Nazrin@burggit.moe 3 points 1 year ago
	"        .d-inline img{",
	"        max-height: 2em !important; ",
	"        max-width: 2em !important; ",
	"        object-fit: scale-down !important; ",
	"    }"

Due to markdown, images can be embedded into titles. There's no limit to how big the images can be. This piece of code limits the size to the original size or 2x the text height, whichever is smaller.

before:

after:

Credit to @RA2lover https://burggit.moe/post/92409

[–] Nazrin@burggit.moe 10 points 1 year ago

like so:

NSFW LOLI

[–] Nazrin@burggit.moe 1 points 1 year ago (1 children)

I feel like there should be a better way to do this, but I'm adding:

var vids = document.getElementsByTagName("video");
for (var i = 0; i < vids.length; i++) {
 vids[i].setAttribute("loop", "true");
}
window.addEventListener('click', function() {
var vids = document.getElementsByTagName("video");
for (var i = 0; i < vids.length; i++) {
 vids[i].setAttribute("loop", "true");
}
}, false);

So that videos get the loop attribute when you load a page like https://shota.nu/ss/m5h4pn2n.webm and when you click to expand an image like clicking the ▶ on https://burggit.moe/post/86930

[–] Nazrin@burggit.moe 3 points 1 year ago (1 children)

I'd say red, pink, or light blue.

[–] Nazrin@burggit.moe 6 points 1 year ago (3 children)

I find it interesting contrasting the comments in that thread: https://vlemmy.net/post/586298

With this thread: https://vlemmy.net/post/583052

It's interesting how the tone of the post changes the tone of the comments.

[–] Nazrin@burggit.moe 0 points 1 year ago (2 children)

Videos tend to still be over stretched:

So I'm adding

"    .embed-responsive-item {",
"        max-height: 90vh;",
"        width: auto;",
"        max-width: 100%;",
"    }",

So that videos at least attempt to show at their native resolution:

I'm unsure if I should do the same to images.

 

It's been 22 days since https://burggit.moe/post/9644 , and I bet the demographic has shifted A LOT.

How did you hear about Burggit?

 

Congrats everyone, you made over 100 posts in the last 24 hours!

When using "Active" sorting, it's 9 pages!

Pretty soon I'll start having to use Subscribed instead of Local 🤭

 
// ==UserScript==
// @name         burggit
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://burggit.moe/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=burggit.moe
// @grant        none
// ==/UserScript==

// Permission to use, copy, modify, and/or distribute this software for
// any purpose with or without fee is hereby granted.
// If we meet some day, and you think this stuff is worth it, 
// you can buy me a comfy hoodie in return.

(function() {
{var css = [
	"    .img-blur {",
	"        filter: none !Important;",
	"    }",
	"    .thumbnail {",
	"        height: 160px !Important;",
	"        width: 160px !Important;",
	"        object-fit: contain !important;",
	"        aspect-ratio: initial !important;",
	"        background-color: rgba(0, 0, 0, 0);",
	"    }",
	"    .justify-content-center {",
	"        height: 80px !Important;",
	"    }",
	"    .embed-responsive-item {",
	"        max-height: 90vh;",
	"        width: auto;",
	"        max-width: 100%;",
	"    }",
	"    .my-3 {",
	"        margin-top: 0.1rem !important;",
	"        margin-bottom: -0.3rem !important;",
	"    }",
	"        .d-inline img{",
	"        max-height: 2em !important; ",
	"        max-width: 2em !important; ",
	"        object-fit: scale-down !important; ",
	"    }"
].join("\n");
if (typeof GM_addStyle != "undefined") {
	GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
	PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
	addStyle(css);
} else {
	var node = document.createElement("style");
	node.type = "text/css";
	node.appendChild(document.createTextNode(css));
	var heads = document.getElementsByTagName("head");
	if (heads.length > 0) {
		heads[0].appendChild(node);
	} else {
		// no head yet, stick it whereever
		document.documentElement.appendChild(node);
	}
}
}
var vids = document.getElementsByTagName("video");
for (var i = 0; i < vids.length; i++) {
	vids[i].setAttribute("loop", "true");
}

window.addEventListener('click', function() {
var vids = document.getElementsByTagName("video");
for (var i = 0; i < vids.length; i++) {
	vids[i].setAttribute("loop", "true");
}
}, false);
})();
 
// ==UserScript==
// @name         burggit
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://burggit.moe/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=burggit.moe
// @grant        none
// ==/UserScript==

(function() {
{var css = [
    "    .img-blur {",
    "        filter: none !Important;",
    "        max-height: 160px !Important;",
    "    }"
].join("\n");
if (typeof GM_addStyle != "undefined") {
    GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
    PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
    addStyle(css);
} else {
    var node = document.createElement("style");
    node.type = "text/css";
    node.appendChild(document.createTextNode(css));
    var heads = document.getElementsByTagName("head");
    if (heads.length > 0) {
        heads[0].appendChild(node);
    } else {
        // no head yet, stick it whereever
        document.documentElement.appendChild(node);
    }
}
}
})();
view more: next ›