Skip to content

u/LevHB

In this archive from Jan 2023 to Jul 2023

5
posts
7
comments
2
media
55
score
1 saved before deletion

Top posts

How can I have it so that VPN's (OpenVPN) automatically turn on/off based on what WiFi connection I connect to? E.g. I want to turn off my home VPN when I connect to my home WiFi?

I'm running Arch on a Thinkpad X2100. I have several OpenVPN connections setup, I use OpenVPN, and manage my connections by the openvpn-client@[config_name] systemd service. I have a WiFi 6E Intel AX210NGW. I use NetworkManager. And if relevant I use i3wm (i3-gaps) on X. My home connection, that is...

18 points2 comments
Open on Reddit

Any tools out there to take scrolling screenshots? Like how Firefox has a built-in method of taking a boxed screenshot that scrolls with the page (producing images larger than your screen). But for anywhere, e.g. in the terminal, in a file explorer, programs like Discord, etc etc?

Essentially I'm looking for a program that can take scrolling screenshots? That is you can select a box like with normal screen selection screenshots, but which can also scroll to take images larger than what's on screen? Firefox (and I'm sure Chrome) has this feature already. Just right click -> Ta...

9 points7 comments
Open on Reddit

Top comments

Wow, thank you for giving so many examples. I have been looking for such info and you squished them into one post.

No problem. It's always been really interesting to me. It was this very out there move to launch such a radically different CPU design so late into the game in the mid-late 2000s. Something that was so generalised and required the programmer to understand it.

I mean I can think of a lot of esoteric CPU designs from the 90s, especially startups etc. But nearly all of those were for special applications, or failed, or lasted a short while with slow old node chips.

And also the further back you go, the more game consoles had esoteric CPUs that were incredibly specific to use. But those were largely limitations of the technology at the time - they were only there because that was the way you'd have to do it to get any performance.

But IBM came up with this totally out there CPU design that was designed to just be how you would do multiple things in parallel on a CPU. That's not surprising, that's IBM all day long. But that Sony decided to go with this idea as well is what's weird. And then IBM really started pushing it, and even made the first petaflop super computer, that was also stupidly power efficient for the time.

Rather predictably IBM failed to easily explain to your average (or even most experienced) programmer how you actually write good code for the device. And didn't have a decent debugger available for a long time (and it was never that good, especially on the first gen chip). So rather predictably a lot of game studios said fuck this, and just used the CPU.

The PS3 did have games that ended up using it well, like the Uncharted series. And you could really see that when studios had the contacts, time, etc to actually learn how to use it - it allowed some really impressive stuff. It allowed such a limited machine to keep close to PC gaming for years. Although the 360 also managed to remain close with the only thing being them developing a very very good understanding of what the CPU was good at, and the shared memory between GPU and CPU (being directly shared with no abstraction layers allows you to do so much more, e.g. look at RAGE - on the 360 it took one instruction to change a texel, while on release the game was a mess despite the PC hardware being so much better, because you never get true direct access on PC).

The only people who really touched it were scientists and researchers. In fact there were quite a few PS3-based supercomputers, most obviously the US Navy's ~1700 PS3 cluster. That became the 35th most powerful supercomputer at the time using 10% of the power of computers around it. Apparently it used "5 miles of wiring", which is really nothing, that's only around 25 standard roles of CAT 5e, and you can go through a 305m roll just doing a normal medium sized home...

There were quite a few clusters made. Especially lucky that Sony added gigabit ethernet. I can't think of a good reason they did that in 2007, the Xbox 360 only went with 100mbit - hell most high end modern TVs only go with 100mbit... Anyway these people building clusters are lucky it did. Else it'd have seriously hampered their speed on many problems (and even gigabit was on many problems). I'm surprised IBM didn't force them to go with 100mbit.

Anyway my point is, the architecture was super powerful and efficient. But it was far too difficult for anyone but those who have months to sit down and just mess with it trying to learn it, and doing a ton of reading and tests. Aka scientists, researchers, etc.

No one in the real world cared enough.

And as for why Sony went along with this? Well Sony failed to predict the rise of the GPU (in fact early on they were thinking about using the SPUs for that). And both Sony, IBM, and seemingly everyone else failed to see that CPUs were going to be stuck around 3GHz for a loooong time. Everyone was thinking about 10 GHz, 20GHz, etc (which is how the SPU GPU thing would have worked).

Just sticking multiple cores on one chip made much more sense in the long run. Far easier to program and debug, pretty natural to understand. And easier to make. The CELL could hold it's own for a while - but who would choose it over a multicore design, especially when we started getting 12+ cores etc. Maybe the CELL could dramatically increase the number of SPUs and be faster (but they'd be dealing with the same issues as Xeon Phi), by 70%? Well maybe, but it's probably going to be far cheaper to just add another node to the system, instead of finding people who can program esoteric architectures.

IBM at least figured this out and knew when to exit the game. But they always do - they have a really good sense for that. There's been dozens of times they look like they're going to be the next Kodak/Blockbuster - but they know when to pull out at exactly the right time.

What's really cool is we're seeing another resurgence of esoteric chips due to AI/ML. E.g. the Cerebras architecture and chip is insane, and such a huge departure from normality. And the insane deal they just made means they have a bright future.

The i was wondering though, would it be possible to use any of those cell chips on the ps3 in any way? From what i understand, there is a possibility for QS21 line, what about QS22?

lol sorry for the rant. No, the pinout is entirely different. I'm also doubtful taking a chip from the QS21 and putting it in a PS3 would work. I don't know how the PS3's system security works, but if it's anything like the 360s or modern root of trust chips, you're likely going to have to blow certain efuses on the chip. Hell given Sony was essentially using the chips that IBM considered failures (e.g. that's why the PS3 only had 7 SPUs - to increase IBM's yields and make it cheaper for Sony). I wouldn't be surprised if there were larger areas of the chip that have to be enabled/disabled based on use case.

Why would you want to do this lol? I would say a far more interesting thing would be getting PS3 code running on a QS21/22? Or using a co-processor, imagine you could emulate the GPU etc on your PC, but run the CPU code natively!

1 points

usually from the same factories as other sellers.

Maybe - but that doesn't mean anything. When you order something like this from a factory, it's not like the factory will just pump out the exact same product.

Even for something as simple as a cable, they'll offer you a million options. What do you want the area of the copper to be? To what tolerance must it be that area all the way through, how many strands? What do you want the insulation to be made of, PVC with no additives? Or a material which handles UV or fire better? Do the moulds have to look good or do you not care if we carry on using this old mould which is slightly misaligned and has poor detail? Again what quality material do you need on the moulded part? Do you want your company logo on there? What colour do you want the cable? Do you need that colour to be so exact between all of them, and also exactly match an order you made two years ago?

For the front of the C14, what do you want the plastic made of? Do you want the standard black ones or do you want it to be the same colour as the cable. What material do you want it made of, do you want us to add various plasticisers etc and have a thicker back? What type of adhesive do you want to use to secure it? (as I said above the PRO ELEC ones like to fall off for me).

And it's like this for everything. Then there's also QA, do you want 1 in 100 cables tested? 1 in 10? Etc. Or if the factory is higher end they might be able to auto-test them all.

But if it's in China those rejects aren't going to get binned. They'll be sold domestically, or to countries with lower standards. Or honestly anywhere - there's no punishment for you in China for selling dangerously out of spec cables, so really they'll ship them anywhere including the UK.

That's why I'd avoid random sellers on eBay. The same factory doesn't mean shit.

People say the same thing about food as well. "Oh I bet the cheap brand is made in the same factory as the expensive one". Yeah sometimes. But that doesn't mean they used the same ingredients in the machines... Sometimes it does, but even in those cases the product will be "binned". If it's baked goods the ones that cooked the best (e.g. in the most consistent spots if the oven, and made well in the process before) will go to the brand name, while the slightly burned or undercooked ones might go to a generic brand.

1 points

Thanks, but Kenable don't offer that good of a range. And netshop is way overpriced. If you read my longer comment you'll see that I use CPC and DCDI at the moment.

That said I really do like netshop has very good colours, and both them and Kenable colour the entire cable - instead of leaving the C14 tip black. Looks much better - but Kenable lack a lot, and as I said netshop pricing is just absurd (like double or triple in many cases...).

I've used Kenable CAT 6 and can highly recommend it though.

1 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.