0

Hexbear Code-Op

preview

Where to find the Code-Op

Wow, thanks for the stickies! Love all the activity in this thread. I love our coding comrades!


Hey fellow Hexbearions! I have no idea what I’m doing! However, born out of the conversations in the comments of this little thing I posted the other day, I have created an org on GitHub that I think we can use to share, highlight, and collaborate on code and projects from comrades here and abroad.

  • I know we have several bots that float around this instance, and I’ve always wondered who maintains them and where their code is hosted. It would be cool to keep a fork of those bots in this org, for example.
  • I’ve already added a fork of @WhyEssEff@hexbear.net’s Emoji repo as another example.
  • The projects don’t need to be Hexbear or Lemmy related, either. I’ve moved my aPC-Json repo into the org just as an example, and intend to use the code written by @invalidusernamelol@hexbear.net to play around with adding ICS files to the repo.
  • We have numerous comrades looking at mainlining some flavor of Linux and bailing on windows, maybe we could create some collaborative documentation that helps onboard the Linux-curious.
  • I’ve been thinking a lot recently about leftist communication online and building community spaces, which will ultimately intersect with self-hosting. Documenting various tools and providing Docker Compose files to easily get people off and running could be useful.

I don’t know a lot about GitHub Orgs, so I should get on that, I guess. That said, I’m open to all suggestions and input on how best to use this space I’ve created.

Also, I made (what I think is) a neat emblem for the whole thing:

Todos

  • Mirror repos to both GitHub and Codeberg
  • Create process for adding new repos to the mirror process
  • Create a more detailed profile README on GitHub.

Done

spoiler

* Recover from whatever this sickness is the dang kids gave me from daycare.

Where to find the Code-Op

Wow, thanks for the stickies! Love all the activity in this thread. I love our coding comrades!


Hey fellow Hexbearions! I have no idea what I’m doing! However, born out of the conversations in the comments of this little thing I posted the other day, I have created an org on GitHub that I think we can use to share, highlight, and collaborate on code and projects from comrades here and abroad.

  • I know we have several bots that float around this instance, and I’ve always wondered who maintains them and where their code is hosted. It would be cool to keep a fork of those bots in this org, for example.
  • I’ve already added a fork of @WhyEssEff@hexbear.net’s Emoji repo as another example.
  • The projects don’t need to be Hexbear or Lemmy related, either. I’ve moved my aPC-Json repo into the org just as an example, and intend to use the code written by @invalidusernamelol@hexbear.net to play around with adding ICS files to the repo.
  • We have numerous comrades looking at mainlining some flavor of Linux and bailing on windows, maybe we could create some collaborative documentation that helps onboard the Linux-curious.
  • I’ve been thinking a lot recently about leftist communication online and building community spaces, which will ultimately intersect with self-hosting. Documenting various tools and providing Docker Compose files to easily get people off and running could be useful.

I don’t know a lot about GitHub Orgs, so I should get on that, I guess. That said, I’m open to all suggestions and input on how best to use this space I’ve created.

Also, I made (what I think is) a neat emblem for the whole thing:

Todos

  • Mirror repos to both GitHub and Codeberg
  • Create process for adding new repos to the mirror process
  • Create a more detailed profile README on GitHub.

Done

spoiler

* Recover from whatever this sickness is the dang kids gave me from daycare.

0

Tips to reduce eye damage from screens while working?

preview

Heya, I work from home. I have a decent screen (27inch) from about 7 years ago, a g*mer monitor with some blue light protection. I’vw had quite perfect vision because of using a big screen and even if staring long periods of time at it I would take breaks. Since I’ve begun wfh, though I can feel my eyes tired al the time and I’m pretty sure I’ll damage my eyes this way. Color-wise I use about 5000K during the day, and 3500K at night. I assume though a bigger factor might be the distance, there’s is an arm lengths distance between me and the screen, but many times I slouch forwards, or if i go back I dont really have space, as behind me there is a big drawer. Is it worth it to invest in a new screen with the fancy blue light protections, or any other tips? I would really not want to fuck up my eyesight for meagre pay and slop at work that would suck lol

Heya, I work from home. I have a decent screen (27inch) from about 7 years ago, a g*mer monitor with some blue light protection. I’vw had quite perfect vision because of using a big screen and even if staring long periods of time at it I would take breaks. Since I’ve begun wfh, though I can feel my eyes tired al the time and I’m pretty sure I’ll damage my eyes this way. Color-wise I use about 5000K during the day, and 3500K at night. I assume though a bigger factor might be the distance, there’s is an arm lengths distance between me and the screen, but many times I slouch forwards, or if i go back I dont really have space, as behind me there is a big drawer. Is it worth it to invest in a new screen with the fancy blue light protections, or any other tips? I would really not want to fuck up my eyesight for meagre pay and slop at work that would suck lol

0

Linus Torvalds, reaping what he sows, now pissed that people are submitting 41,000-line pull requests late into the release cycle.

Linus Torvalds: "Tell Your AI Companion To Get Its Act Together" www.phoronix.com
preview

New LLM prompt: if the average boardroom in Palo Alto would struggle to snort the same number of lines as your patch, then don’t.

New LLM prompt: if the average boardroom in Palo Alto would struggle to snort the same number of lines as your patch, then don’t.

0

Tech CEOs Have FRIED THEIR BRAINS On AI

play · youtube.com
YouTube Tech CEOs Have FRIED THEIR BRAINS On AI www.youtube.com
preview

We have SO MUCH MEDIA that warns us to NOT DO THIS. Palmer Luckey’s brain is cooked, and so are so many other tech billionaires’.

We have SO MUCH MEDIA that warns us to NOT DO THIS. Palmer Luckey’s brain is cooked, and so are so many other tech billionaires’.

0

Camera lenses for MFT camera + general camera help

preview

cross-posted from: hexbear.net/post/10130399

Hi!! I have the Olympus OM-D E-M10 Mark II along with the following the (kit lens) Lumix G Vario 14-42mm F3.5-5.6 Asph. Mega OIS. I’m just getting started with photography but rapidly picking it up and it’s a lot of fun :3 I’ve taken some really great pictures that I’m proud of (also learning RAW photo editing, using ART/another (fork) of raw therapee). The lens does fine in most cases, though I’m lacking in a couple of aspects.

I’m still learning the differences between a full sensor camera and a micro four thirds so bear with me :3

With regards to portrait shots, I can get more background bokeh by moving backwards and using the full 42mm zoom, though it doesn’t compare to an f1.8 lens (so an f0.9 on MFT?) I don’t particularly shoot that many portraits as a hobbyist, but it’s nice to have it for e.g. taking pictures of physical clay figurines. Doesn’t seem to justify the money though they’re expensive and I’m poor.

I love macro! My current lens manages about 20cm distance before unfocusing, which sucks, I really like to get close on nature photos, it’s so amazing to see details you cannot pick up without a camera. So I’ve been thinking of getting a macro lens, but most of them are awfully expensive, and I need one for the MFT mount

Another comrade here recommended to get a nifty fifty equivalent for the MFT, a 25mm f0.9 lens. (So to calculate the MFT lenses, I halve everything because it’s half the sensor?). I wouldn’t mind having a prime lens, seems cool, with that low of an aperture too, probably can use it really well for photography shots, but I’m undecided on it, mostly because of the following option.

I also like zooming a lot. With 42mm can’t really zoom in nature or on buildings for details, and it sucks :( So I was eyeing something that goes up to 200mm, but they’re so expensive. I don’t want to go above 200mm because I don’t want to use a tripod. I feel like I need a good macro lens + a zoom lens, cause I definitely cannot afford a macro + prime nifty fifty + zoom lens, so I would use the zoom lens like I currently use my kit lens. Zooming is a lot of fun and helps with composition, but it’s so darn expensive :/

Also keep in mind I cannot afford to drop 1000$ on a lens because I’m not in the west nor labor aristocracy please

Thank you comrades:3

(sorry for the cross post, I know more people, myself included, are subscribed to c/technology than c/chat lol)

cross-posted from: hexbear.net/post/10130399

Hi!! I have the Olympus OM-D E-M10 Mark II along with the following the (kit lens) Lumix G Vario 14-42mm F3.5-5.6 Asph. Mega OIS. I’m just getting started with photography but rapidly picking it up and it’s a lot of fun :3 I’ve taken some really great pictures that I’m proud of (also learning RAW photo editing, using ART/another (fork) of raw therapee). The lens does fine in most cases, though I’m lacking in a couple of aspects.

I’m still learning the differences between a full sensor camera and a micro four thirds so bear with me :3

With regards to portrait shots, I can get more background bokeh by moving backwards and using the full 42mm zoom, though it doesn’t compare to an f1.8 lens (so an f0.9 on MFT?) I don’t particularly shoot that many portraits as a hobbyist, but it’s nice to have it for e.g. taking pictures of physical clay figurines. Doesn’t seem to justify the money though they’re expensive and I’m poor.

I love macro! My current lens manages about 20cm distance before unfocusing, which sucks, I really like to get close on nature photos, it’s so amazing to see details you cannot pick up without a camera. So I’ve been thinking of getting a macro lens, but most of them are awfully expensive, and I need one for the MFT mount

Another comrade here recommended to get a nifty fifty equivalent for the MFT, a 25mm f0.9 lens. (So to calculate the MFT lenses, I halve everything because it’s half the sensor?). I wouldn’t mind having a prime lens, seems cool, with that low of an aperture too, probably can use it really well for photography shots, but I’m undecided on it, mostly because of the following option.

I also like zooming a lot. With 42mm can’t really zoom in nature or on buildings for details, and it sucks :( So I was eyeing something that goes up to 200mm, but they’re so expensive. I don’t want to go above 200mm because I don’t want to use a tripod. I feel like I need a good macro lens + a zoom lens, cause I definitely cannot afford a macro + prime nifty fifty + zoom lens, so I would use the zoom lens like I currently use my kit lens. Zooming is a lot of fun and helps with composition, but it’s so darn expensive :/

Also keep in mind I cannot afford to drop 1000$ on a lens because I’m not in the west nor labor aristocracy please

Thank you comrades:3

(sorry for the cross post, I know more people, myself included, are subscribed to c/technology than c/chat lol)

0

I hate you Claude!

preview

I downloaded a demo of battlefield 1942, the secrets weapons xpack, and it won’t launch on windows. So claude gave me every fucking thing to check off and nothing worked and I wasted half an hour. No wonder why vibe coded shit sucks.

I downloaded a demo of battlefield 1942, the secrets weapons xpack, and it won’t launch on windows. So claude gave me every fucking thing to check off and nothing worked and I wasted half an hour. No wonder why vibe coded shit sucks.

0

BYD Made Its Cheapest EV Bigger, Then Cut The Price

play · youtube.com
YouTube BYD Made Its Cheapest EV Bigger, Then Cut The Price www.youtube.com
preview

BYD’s new Seagull starts at about US$9,800 in China, 700 US dollars less than the old car despite being bigger and switching to rear-wheel drive. I think the pressure from the Geely Xingyuan explains this redesign: buyers get a fifth seat, independent rear suspension and more interior space than a Volkswagen Golf. The Ease, Flight and Smart will also get 1,000 kilowatt charging, but that requires a scarce BYD flash charger; BYD has not announced the new car outside China.

BYD’s new Seagull starts at about US$9,800 in China, 700 US dollars less than the old car despite being bigger and switching to rear-wheel drive. I think the pressure from the Geely Xingyuan explains this redesign: buyers get a fifth seat, independent rear suspension and more interior space than a Volkswagen Golf. The Ease, Flight and Smart will also get 1,000 kilowatt charging, but that requires a scarce BYD flash charger; BYD has not announced the new car outside China.

0

Superbrain 1, a really interesting haptic feedback headband to aid people with vision loss

play · youtube.com
YouTube A new way to interact with the world | 7Sense www.youtube.com
preview

7sense.ee

Somehow I’ve never even considered doing this. Haptic feedback is such a powerful sensory experience in VR which makes or breaks those games. I think even with my original HTC Vive controller I could play a sword-fighting game without looking if the controller was tuned to vibrate higher/lower based on where it’s contacting the blade.

This headset maps your surroundings and then overlays a haptic map so you feel a full 360 degree picture. An obstacle is presented as the presence and strength of the vibration, so you move toward the absence of it. It’s still super expensive at €9,000 or €5,500 for the basic version, but as a concept that’s such a fascinating approach to extra-sensory bionics. I really hope some miniaturised version of this makes its way into mass proliferation. It would be so useful even just as a bike commuter.

7sense.ee

Somehow I’ve never even considered doing this. Haptic feedback is such a powerful sensory experience in VR which makes or breaks those games. I think even with my original HTC Vive controller I could play a sword-fighting game without looking if the controller was tuned to vibrate higher/lower based on where it’s contacting the blade.

This headset maps your surroundings and then overlays a haptic map so you feel a full 360 degree picture. An obstacle is presented as the presence and strength of the vibration, so you move toward the absence of it. It’s still super expensive at €9,000 or €5,500 for the basic version, but as a concept that’s such a fascinating approach to extra-sensory bionics. I really hope some miniaturised version of this makes its way into mass proliferation. It would be so useful even just as a bike commuter.

0

Having a phone with an sdcard slot on it again is fantastic.

preview

Went from an iPhone 10 to a Samsung sm-a600a. My iPhone 10 fell out of my pocket and got crunched in the car door. The Samsung was the nicest option in my stash.

Was probably the only valid option as even if the newer ultra low end Android Go phones hadn’t been accidentally smashed by me or their previous owners, them being “Obama phones” probably means they can’t be network unlocked. Fucking capitalism…

Despite taking lots of reference photos I was never cramped for storage space on the iPhone. It’s a 256GB model and max storage I ever got to was 60GB total. Probably the result of growing up with cheap tracfones during the 2010s lol.

Despite not being someone who consumes all the storage space on a phone by god having expandable storage is so nice!

I can put an sdcard in there. And stuff like the camera app will just… Default to dumping data there! Makes creating backups easier too.

And there’s less write cycles on the internal storage. That’s a plus.

Went from an iPhone 10 to a Samsung sm-a600a. My iPhone 10 fell out of my pocket and got crunched in the car door. The Samsung was the nicest option in my stash.

Was probably the only valid option as even if the newer ultra low end Android Go phones hadn’t been accidentally smashed by me or their previous owners, them being “Obama phones” probably means they can’t be network unlocked. Fucking capitalism…

Despite taking lots of reference photos I was never cramped for storage space on the iPhone. It’s a 256GB model and max storage I ever got to was 60GB total. Probably the result of growing up with cheap tracfones during the 2010s lol.

Despite not being someone who consumes all the storage space on a phone by god having expandable storage is so nice!

I can put an sdcard in there. And stuff like the camera app will just… Default to dumping data there! Makes creating backups easier too.

And there’s less write cycles on the internal storage. That’s a plus.

0

I want to expand my programming knowledge.

preview

I’ve been tinkering with games like Screeps World and Screeps Arena recently, and also had a rather involved programming task at work. I’m entirely self-taught, save for my use of something like Codecadamy in the past. Back when I used it though, it was “free”. That ship has sailed. I looked at it again recently, and it doesn’t seem to have changed much. Every tech YouTuber wants me to look at boot.dev. I did, but holy shit they want $60 a month ($33 if you pay for a year up front). What I sampled seemed nice, but not $60 a month nice. I’m not trying to boot camp my way into DevOps job or some shit. I just want to learn some strictly-typed languages, and not write code like everything is a PowerShell script.

So I’m looking for some advice on how to do that without melting my bank account. Some of the concepts of strictly typed languages I understand intellectually but not practically. The Screeps games are a nice way to put that into practice, but I wouldn’t even know where to start.

I’ve been tinkering with games like Screeps World and Screeps Arena recently, and also had a rather involved programming task at work. I’m entirely self-taught, save for my use of something like Codecadamy in the past. Back when I used it though, it was “free”. That ship has sailed. I looked at it again recently, and it doesn’t seem to have changed much. Every tech YouTuber wants me to look at boot.dev. I did, but holy shit they want $60 a month ($33 if you pay for a year up front). What I sampled seemed nice, but not $60 a month nice. I’m not trying to boot camp my way into DevOps job or some shit. I just want to learn some strictly-typed languages, and not write code like everything is a PowerShell script.

So I’m looking for some advice on how to do that without melting my bank account. Some of the concepts of strictly typed languages I understand intellectually but not practically. The Screeps games are a nice way to put that into practice, but I wouldn’t even know where to start.

0

What China Is Doing in Shenzhen Is Amazing- Can We Compete?

play · youtube.com
YouTube What China Is Doing in Shenzhen Is Amazing- Can We Compete? www.youtube.com
preview

cross-posted from: hexbear.net/post/10095885

China has been quietly building an army, and I don’t know if the rest of the world has an answer for what they’ve built. After spending a week in Shenzhen, I have some serious questions about the West’s ability to compete with what they’re doing.

cross-posted from: hexbear.net/post/10095885

China has been quietly building an army, and I don’t know if the rest of the world has an answer for what they’ve built. After spending a week in Shenzhen, I have some serious questions about the West’s ability to compete with what they’re doing.

0

MTT S80: Qwen3.8-27B at 10 tk/s 128K

preview

Managed to get Qwen3.8-27B to run at 10 tk/s with a context window of 128K on the MTT S80. That isn’t super fast but, for this GPU, that is pretty fast, as llama.cpp on its own only runs this model at about 3 tk/s without any room left over for any significant context window, without letting it spill over onto the CPU which then drops the tk/s drastically down further.

Here’s some of the things I had to do to achieve it.

  1. I am using GSQ-RCO-IQ_S which is smaller than Q4_0 while performing about as well, which makes extra room for a larger context window.
  2. I am using a custom driver which frees up the GPU’s memory so I don’t have any memory lost to things like the graphical environment and such; the graphical environment is being rendered on the iGPU.
  3. I discovered that the GPU has undocumented tensor cores which none of even Moore Thread’s own libraries use; I figured out how to get them working and dedicated them to MTP which is where much of the speedup has come from.
  4. I’ve also spent a lot of time just optimizing the kernels generally.

Qwen3.5-9B can also run at about 25 tk/s.

Below is the project.

www.foleosoft.com/software/S80-Optimization

Video: www.bilibili.com/video/BV1QXy4zoE2q/

Managed to get Qwen3.8-27B to run at 10 tk/s with a context window of 128K on the MTT S80. That isn’t super fast but, for this GPU, that is pretty fast, as llama.cpp on its own only runs this model at about 3 tk/s without any room left over for any significant context window, without letting it spill over onto the CPU which then drops the tk/s drastically down further.

Here’s some of the things I had to do to achieve it.

  1. I am using GSQ-RCO-IQ_S which is smaller than Q4_0 while performing about as well, which makes extra room for a larger context window.
  2. I am using a custom driver which frees up the GPU’s memory so I don’t have any memory lost to things like the graphical environment and such; the graphical environment is being rendered on the iGPU.
  3. I discovered that the GPU has undocumented tensor cores which none of even Moore Thread’s own libraries use; I figured out how to get them working and dedicated them to MTP which is where much of the speedup has come from.
  4. I’ve also spent a lot of time just optimizing the kernels generally.

Qwen3.5-9B can also run at about 25 tk/s.

Below is the project.

www.foleosoft.com/software/S80-Optimization

Video: www.bilibili.com/video/BV1QXy4zoE2q/

0

China's Memory Breakthrough Threatens Samsung, SK Hynix, and US Gear | Inside China Business

play · youtube.com
YouTube China's Memory Breakthrough Threatens Samsung, SK Hynix, and US Gear www.youtube.com
preview

Samsung and SK Hynix are leading producers of the memory systems that drive consumer electronics, and have giant fabs in China to produce chips for the world’s largest electronics market.

They rely on advanced chipmaking gear from US companies, namely Applied Materials (AMAT) and Lam Research (LRCX).

But that equipment may be cut off at any moment by Washington, who controls the exports of any gear that contains even trace components or technology originating in the US.

The Korean companies are also now threatened by up-and-coming Chinese memory chipmakers, like Yangtze Memory Technologies (YMTC) and Changxin Memory Technologies (CXMT), who build their chips using domestic (non-US) suppliers and tools.

As Chinese chipmakers gobble up market share in China, and then in export markets, profound impacts will also be felt at Micron and AMD, who today enjoy booming gross sales margins.

Samsung and SK Hynix are leading producers of the memory systems that drive consumer electronics, and have giant fabs in China to produce chips for the world’s largest electronics market.

They rely on advanced chipmaking gear from US companies, namely Applied Materials (AMAT) and Lam Research (LRCX).

But that equipment may be cut off at any moment by Washington, who controls the exports of any gear that contains even trace components or technology originating in the US.

The Korean companies are also now threatened by up-and-coming Chinese memory chipmakers, like Yangtze Memory Technologies (YMTC) and Changxin Memory Technologies (CXMT), who build their chips using domestic (non-US) suppliers and tools.

As Chinese chipmakers gobble up market share in China, and then in export markets, profound impacts will also be felt at Micron and AMD, who today enjoy booming gross sales margins.

0

New electric fleets challenge diesel-run trucking industry | Landline

play · youtube.com
YouTube New electric fleets challenge diesel-run trucking industry | Landline www.youtube.com
preview

From electric prime movers to battery-powered trailers, Australian farmers and freight operators are testing alternatives to diesel. But can the savings outweigh the costs of batteries, charging infrastructure and vehicle conversions?

From electric prime movers to battery-powered trailers, Australian farmers and freight operators are testing alternatives to diesel. But can the savings outweigh the costs of batteries, charging infrastructure and vehicle conversions?