[ home / rules / faq ] [ overboard / sfw / alt ] [ leftypol / siberia / hobby / tech / edu / games / anime / music / draw / AKM ] [ meta / roulette ] [ cytube / wiki / git ] [ GET / ref / marx / booru / zine ]

/tech/ - Technology

"Technology reveals the active relation of man to nature" - Karl Marx
Name
Options
Subject
Comment
Flag
File
Embed
Password (For file deletion.)
Required: 2 + 2 =

Join our Matrix Chat <=> IRC: #leftypol on Rizon

| Catalog | Home
|

File: 1690977591576.png (262.86 KB, 670x375, systemdjogging.png)

 No.21162[Reply]

Anyone got an idea what could be happening here?

I have a fat32 partition on a flash drive for live booting and want to use the remaining space for storage.

I can format #2 as fat, exfat, ntfs, btrfs, whatever.
But if I try
mke2fs -t ext4 /dev/sdb2

it gets stuck and then says
Writing superblocks and filesystem accounting information: mke2fs: Input/output error while writing out and closing file system

Similar problem with ext2.

Scaling down the partition to 1GB or reducing the number of inodes doesn't help either.

After trying other file systems I wondered if this may be due to some kind of anti-linux DRM in the flash key's internal driver software.
But alas, even using cryptsetup on /dev/sdb2 does not help, it still only works with other filesystems.
Post too long. Click here to view the full text.
7 posts omitted. Click reply to view.

 No.21170

>>21169
>I would recommend mounting ext2 and other journal-less filesystem with the sync option.
If this error message is from a journal-less filesystem then it must have come from btrfs, but thanks for the info.

>I'm starting to supect it's the flash drive or your usb hub is flaky.

It didn't work on two PCs with two OS's.
One is a 10 year old gaming rig, the other ancient prehistoric hardware someone gave away. Those should be different enough.

Lubuntu 5.x kernel, antiX 4.x kernel.

Could it be a bug in mkfs.ext4?
e2fsprogs: Lubuntu - 1.46.3, antiX - 1.46.2

Maybe its the flash drive, but why?
As I said above, even when I used cryptsetup and tried to format /dev/mapper/usb-encrypted I got the same result.

 No.21171

>>21170
PS: I'll test another flash drive later, gotta free it first.

 No.21172

>>21170
>Maybe its the flash drive, but why?
Io errors on block devices only happen with bad hardware, device drivers or partition tables, not because of partitioning tools.

Filesystems commonly have multiple superblocks for redundancy (they are at the sector numbers mkfs.ext2 prints during partitioning). Your fsck indicates all of them were garbage, so something must be very wrong.

 No.21173

Try this with e2fsck:
       -c     This  option  causes  e2fsck to use badblocks(8) program to do a
              read-only scan of the device in order to find  any  bad  blocks.
              If any bad blocks are found, they are added to the bad block in‐
              ode to prevent them from being allocated to a file or directory.
              If  this option is specified twice, then the bad block scan will
              be done using a non-destructive read-write test.

 No.21177

>>21173
>Try this with e2fsck -c -c
mkfs.ext4 -c -c tests for bad blocks before writing.
I downsized the btrfs sdb2 and created sdb3 for testing,
(0/0/0) errors and it still doesn't work.

Furthermore, searching for bad blocks on a usb stick is pointless afaik because those drives constantly check for bad blocks themselves, due to flash storage wearing out more easily than others.
Flash drives have an abundance of "secret" storage space that is activated whenever part of their memory breaks down.
This is the reason why data eraser tools can not reliably be used on flash drives
Afaik there's also custom driver software that you can put on USB keys to make that backup space accessible, thus increasing available storage space.

Back to me:
If on 128GB of storage even a small 1GB partition can not be ext2/ext4 formatted, that's impossible when 45 GB video data on 120GB btrfs partition can be written (and read again) flawlessly.

Btw here someone says it doesn't make sense at all to check for bad blocks on newer drives of any kind:
https://superuser.com/questions/1370054/checking-a-new-disk-for-bad-blocks-on-linux-does-read-only-make-sense



File: 1667904355797.png (814.93 KB, 974x970, 2f41a4f4aacd1049.png)

 No.17462[Reply]

https://libredirect.codeberg.page/

A web extension that redirects YouTube, Twitter, Instagram, and other requests to alternative privacy friendly frontends and backends

some guy on mastodon was shilling this, seems pretty legit
8 posts omitted. Click reply to view.

 No.21067

>>21051
If im reading it right, it seems like they only added an option to switch to local instances (there are no other options) but then it hides all public instances
Im going to do what you said and add my own redirects with that extension, thanks for the suggestion

 No.21085

Does it "redirect" by editing links on the page or by editing your request? And how does it handle embed media? Can you use regex for configuring "redirects"?

 No.21090

>>17462
>LibRedirect
I'm getting errors, it won't redirect me anywhere.

 No.21157

>>21090
i think its been fucked up by nitter dying

 No.21161

>nitter dying
Just use any of the other instances?
https://github.com/zedeus/nitter/wiki/Instances



File: 1688816497357.png (2.56 MB, 1920x1440, twitter.png)

 No.20836[Reply]

I view Threads as a project that Facebook/Meta had always on the backburner, and they were pushed by the US to release so that intelligence services had an alternative ready if/when Twitter dies. If Threads doesn't release on Europe, I would view that as another crack on Atlanticism and another step in the creation of an American Firewall. Thoughts?
13 posts and 2 image replies omitted. Click reply to view.

 No.20884

>>20875
I have not seen a single threads or bluesky screenshot.
People are just parking their names and not touching it. EEE schemes require convenience to the user to work, these platforms have nothing locally and can't import content because every instance except maybe gab and baraag is blocking them premptively.

 No.20912

>>20884
>I have not seen a single threads or bluesky screenshot.
Threads doesn't exist. It's a fake app meant for use to appear in TV shows.

 No.20913

>>20912
>Threads doesn't exist.

I preferred The War Game anyway.

 No.21149

>>20884
The only screenshots i saw screamed linkedin energy

 No.21155

Lets put aside all the glowing conspiracy nonsense shall we? Its crying wolf to the point that when there is something legitimately concerning people will be tired of you claiming that everyone and everything is somehow a CIA plot with hairbrained "evidence"..

>Threads in Europe delay

This is just as simple as that the EU has at least a handful of of privacy and data use regulations that aren't present in the US. Everyone heard that whole Threads connected to Instagram accounts et.. thing here in the US? Well in EU they have to prove that the info is silo'd and there are more declarations and and that probably a lot of the "retention" and data mining stuff that Zucc wants to do and is free to do in the US, cannot be done without jumping through more hoops in Europe.

>>20865
>>20866
Its all basically just Zucc trying to take advantage of Musk's mistakes and get another type of social media user into their walled garden. This is why connecting it to all the other Meta apps is important and also they're trying to leverage another form of "engagement" which can be monetized. Honestly, if it wasn't for Musk doing crazy shit very public with Twitter I imagine they would have taken on a TikTok alternative first.

>Fediverse stuff

>>20867
Though I like the picture and think its well made, I think it gives Meta too much power. Certainly be wary of their behavior, but there are other things to consider.
>>20869
I don't think this is accurate, assuming there some single speech controlling project globally. There are a number of different interests that cross over or make use of resources at different times but its not as though there's some giant cabal with one intent all sitting at a table. A lot of it is simple to explain by normal capitalism doing capitalism profit seeking.

Post too long. Click here to view the full text.



File: 1649872407646.png (2.33 MB, 1777x1000, proletariat-lisp.png)

 No.14416[Reply][Last 50 Posts]

Last one got full
96 posts and 38 image replies omitted. Click reply to view.

 No.17422

Stallman is an anomaly
He’s heavily involved in STEM stuff, but he doesn’t seem to hold any Hitler Particles as far as current studies have explored

 No.17423

>>17422
why? all the STEM loads I come across are autistic libertarians who seem to get boners if people die from COVID as long as it doesnt touch their sacrosanct liberty.

 No.17424

>>17423
Yeah that’s what I’m saying

 No.17425

>>17422
The Soviets were also heavily involved in "STEM stuff", and they too didn't hold any "Hitler Particles" aside from POWs
>>17423
So you are saying the left needs to attract more "STEM loads" lords? to pull them away from the right ?

 No.21132

>>17422
it's because he hates suffering and has no tolerance for it.
STEM fags, the ones you talk about, are usually blind to suffering.



File: 1684873783171.jpg (246.97 KB, 640x512, 128364.jpg)

 No.19683[Reply]

Hello, I've been wanting to switch to Linux for awhile now, but I'm not sure which distro I should use. What distro would you anons recommend I use?
47 posts and 8 image replies omitted. Click reply to view.

 No.20975

>>20823
It's a meme and probably not maintained.

 No.20976

>>20662
Xubuntu

 No.21073

>>19720
you all should start riding and working on motorcycles instead of changing operating systems every 6 months

 No.21074

>>20662
if you dont want to use command lines at all then you shouldnt use linux. just being honest.

 No.21077

>>21074
It's perfectly usable without using CLI, unless you want to really fine tune the system, automate shit, etc. Stuff that you couldn't do on Windows/Mac anyway without use of CLI and scripting, and even then you were far more limited. Not to mention that most of this shit is actually configured via text files, and you can use whatever GUI text editor you want for that.

To conclude: if your needs are the same as a Windows/Mac user than you absolutely don't need to touch the command line at all.
If you want to go beyond that then you're probably a geek interested in CLI and scripting anyway.



File: 1690471718020.png (420.06 KB, 388x596, ClipboardImage.png)

 No.21035[Reply]

Superconductors is this magical new supposable discovery solve all of capitalism problems and head towards eco-capitalism?

HA!

It might reduce eco waste but how many years will it take to make it factory assemble ready and will they use it?

https://www.theregister.com/2023/07/27/room_temperature_superconductor_paper/
3 posts omitted. Click reply to view.

 No.21048


 No.21049

>>21036
how tf does someone fake human cloning

>>21037
what is HVDC lines?

 No.21052


 No.21068

>>21049
>what is HVDC lines?
High Voltage Direct Current

 No.21069

>>21037
>>21049
>>21068
Superconductors still have a maximum current they can handle before they heat up and lose superconductivity. Most can do 20 kA/cm^2, so if you want to move say 2 GW through a 1 cm^2 cable, it would still have to be at 100 kV.



File: 1650840633745.jpg (60.85 KB, 500x672, fuckmitwalkout.jpg)

 No.14515[Reply]

> Join fbi.gov for community trying to opensource a clone of a popular game engine
> Look at game engine
< MIT License
> Leave

Is the entire gamedev community cucked? Nearly impossible finding a recent github project without some 'permissive' but non-copyleft license. Why would anyone as a reaction try to clone a game they feel should belong to the community while giving other usurpers the chance to turn it into a botched IP?
10 posts and 4 image replies omitted. Click reply to view.

 No.20601

>>14517
>barely graduated highschool, but expert in Constitutional law

This complaint makes no sense. The constitution has been written to be accessible to 18 century retards. How many of them do you think had a highschool diploma? And that's a liberal document anyway. Laws in socialist States should also be written as plainly to avoid making stupid class distinctions based on educational achievement like these. And the lawyers get shot first so it can't be any other way.

 No.20603

>>14515
>Is the entire gamedev community cucked?
You have to be to put up with the labor conditions in the industry.

 No.21004

>>14517
>1st pic

it's simple. libertarians in 2012 still lived in Fukuyama land. Libertarians in 2020 went mask off because Socialist popularity was back on the menu. I considered myself a "Libertarian" in my youth and I split off with all my "Libertarian" friends and realized socialism is the way once their mask came off.

 No.21029

>>14515
>Is the entire gamedev community cucked?
they develop primarily on windows, would rather beg Microsoft for dev tools than use free ones, use stuff like perforce (whatever the fuck) instead of git, would rather "license" trash engines then modify for their own use than modify an existing open source one, basically putting in effort just to keep it closed, no other reason.
gamedevs are cucked beyond belief and will willingly go lower and "gamers" are even worse where they will pay these gamedevs 2 years in advance through "pre-orders" for whatever closed, often not even functional on launch garbage they will release.
the whole game industry is possibly the most nightmarish example of consumerism that is worse than anyone could have even imagined. people pay to rent (not even own) non-existent products many years in advance.

 No.21058

>>14517
I was shooting heroin and reading “The Fountainhead” in the front seat of my privately owned police cruiser when a call came in. I put a quarter in the radio to activate it. It was the chief.
“Bad news, detective. We got a situation.”
“What? Is the mayor trying to ban trans fats again?”
“Worse. Somebody just stole four hundred and forty-seven million dollars’ worth of bitcoins.”
The heroin needle practically fell out of my arm. “What kind of monster would do something like that? Bitcoins are the ultimate currency: virtual, anonymous, stateless. They represent true economic freedom, not subject to arbitrary manipulation by any government. Do we have any leads?”
“Not yet. But mark my words: we’re going to figure out who did this and we’re going to take them down … provided someone pays us a fair market rate to do so.”
“Easy, chief,” I said. “Any rate the market offers is, by definition, fair.”
He laughed. “That’s why you’re the best I got, Lisowski. Now you get out there and find those bitcoins.”
“Don’t worry,” I said. “I’m on it.”
I put a quarter in the siren. Ten minutes later, I was on the scene. It was a normal office building, strangled on all sides by public sidewalks. I hopped over them and went inside.
“Home Depot™ Presents the Police!®” I said, flashing my badge and my gun and a small picture of Ron Paul. “Nobody move unless you want to!” They didn’t.
“Now, which one of you punks is going to pay me to investigate this crime?” No one spoke up.
“Come on,” I said. “Don’t you all understand that the protection of private property is the foundation of all personal liberty?”
It didn’t seem like they did.
Post too long. Click here to view the full text.



 No.20955[Reply]

give it to me straight, /tech/. Does this mean my commie shitposts and memes that I post on /leftypol/ will be traceable to me?
1 post omitted. Click reply to view.

 No.20958

>>20956
It seems like its only function is to track the provenance of information porky considers problematic with the pretext based on the disinformation hoax hysterics the MSM peddles.
Just looking at who's established this makes it clear this is part of an attempt to control the internet but through private sector standardization so they just claim "it's a private company, they can do what they want :)" when it's inevitably used against dissident voices.

 No.20959

File: 1690014230674.png (138.43 KB, 768x607, ClipboardImage.png)

Brought to you by Adobe, BBC, Intel, Microsoft, Sony to keep "online misinformation" (AI-generated content) in check with what amounts to DRM for digital media. It's pretty easy to get spooked by all of this.
Now to be fair, it's an open standard, so maybe the comparison to DRM isn't entirely accurate. They also claim it's opt-in, but I doubt it will stay that way. As the video >>20955 mentioned, Steam is already cracking down on games with AI-generated content so requiring C2PA seems like a logical next step for them, as with other web services.

Here's the technical specification by the way (perhaps someone can upload it): https://c2pa.org/specifications/specifications/1.3/specs/_attachments/C2PA_Specification.pdf
Here are a few key parts from the introduction (chapter 1):
>C2PA specifications SHOULD NOT provide value judgments about whether a given set of provenance data is 'good' or 'bad,' merely whether the assertions included within can be validated as associated with the underlying asset, correctly formed, and free from tampering.
>The identity of a signatory is not necessarily a human actor, and the identity presented may be a pseudonym, completely anonymous, or pertain to a service or trusted hardware device with its own identity, including an application running inside such a service or trusted hardware.
>The creators and publishers of the media assets always have control over whether provenance data is included as well as what specific pieces of data are included.
Another thing to take note of is chapter 18 which lays out the team's assessment of the "Threats and Security Considerations" and "Harms, Misuse, and Abuse". They basically say they will address these concerns sometime in the future. Pretty unsatisfactory in my opinion.

Here's a super simple explanation by CAI (a partner organization) for those of you who need it: https://contentauthenticity.org/how-it-works
Here's a guide on how not to do a case study (pro-tPost too long. Click here to view the full text.

 No.20964

File: 1690031494821.webm (3.74 MB, 480x360, SharpX1F-Lum.webm)

>>20959
>When you see the CAI info icon (the small i in the circle), you can inspect the image and dig into its edit history. If you click on the info icon on an image on this webpage, you’ll be able to see who took a photo, where, when, and with which device. You can see the tools they’ve used in Photoshop to edit the image and, by clicking the “View more” button, you’ll even be able to compare versions. This adds a layer of transparency and veracity to images that has never before been possible, so that any viewer of content on a news article or social media post can evaluate what they’re seeing and decide whether or not to trust it.

The problem is what happens if there was no edits made in the software that makes this meta data as all edits were made prior and imported in. For example what is Adobe going to do when you import an analog video signal in regards to if it is authentic? It seems like the whole endeavour has multiple ways to circumvent.

 No.20971

there's already a bajillion metadata standards, this does not sound very different
>le social credit
can this meme die already?
he's woke on the mars conspiracy though, I'll give him that

 No.20979

>>20971
The social credit meme is legitimate to the degree that it's the west seeking to implement such a system instead of China.



File: 1689566441325-0.png (77.42 KB, 800x1124, ClipboardImage.png)

File: 1689566441325-1.png (224.94 KB, 618x592, ClipboardImage.png)

 No.20923[Reply]

Fucking KNEEL. You will die but C will live. C wont die out because of embedded systems. So long as there is electricity, C will be forever. C is used in kernels. I like to see fools who think C will die. C prioritizes the purity of atomic control, raw power, and a small and manageable feature set because that's what the rest of the computing world needs as a foundation. A feature not provided can't be flawed or slow - the fewer features are crammed into C itself, the less opportunity there is for bugs to creep in beneath the very feet of every OS and many interpreted languages at the same time. Python is the worst language to start with because it promotes bad practices and doesn't really teach you anything not to mention dynamic types make it hard to understand certain concepts like how data is actually represented and it creates this illusion that basically lie to people as to whats actually happening. having that much disconnect from processors that do very simple things to accomplish a specific task and over-engineering solutions because it conforms to language syntax is just stupid. there is no better starting point than C. C syntax is explicit and clear and actually lets you do exactly what you want to accomplish conforming to the actual hardware and not some made up language syntax. its why c will never truly be replaced. The current languages that are shilled in shillicon valley are all terrible. JavaShit is a complete disaster and we are stuck with it and that's the reason we have tons of dependencies and libraries with very sketchy glue code. OOP is also bad as it has a lot of hidden allocations that happen with constructors and make compile times more complex and harder to optimize or debug compared to simple functional direct code without a million rules that you have to follow giving you no real freedom to design software. There are reasons to redesign and make custom engines for handling specific tasks. Most languages cant exist without C, as their runtimes are all basically C, and it's the language that runs other languages and provides the abstractions people use. When you no longer have to think about hardware or what your code is doing that leads to ruin and slow sub-optimal code and libraries and dependencies. Python is ugly and hard to read. you have absolutely no idea what most of those libraries are actually doing and you lose sight completely of programming and live outside of reality. C syntax is explicit and clear and aPost too long. Click here to view the full text.
18 posts and 7 image replies omitted. Click reply to view.

 No.20946

>>20945
I think this has to do with the requirement of a turing machine to process a theoretically infinite input "tape" conflicting with C's mandated use of fixnum pointers. You could get around this limitation by writing custom allocation and dereferencing routines, that use arbitrary length pointers and may grow a theoretically infinite page table by manually swapping to disk.

 No.20947

>>20946
Wouldn't that mean that it is then theoretically possible to do robust static analysis on programs for things like security vulnerabilities, segfaults, shit like that?

 No.20948

>>20947
Bound checking of arrays is already a staple of linters and has a gcc switch i believe. C programs are made unpredictable the most by the ambiguouity of API definitions.

Character strings may either be null terminated or passed with their length (functions handling both exist), yet there is nothing stopping the caller from violating both. While the compiler can hook into the allocator calls to perform static bound checks or warn about an index range, the programmer may misplace or inadvertently copy a null terminator and miscalculate a string length smaller than the data.
When passing string arguments to external functions, static analysis is simply impossible. The newer standards define some semantics whereby compiler can detect some of the possible errors though: https://gustedt.wordpress.com/2023/06/10/enforced-bounds-checking-for-frozen-function-interfaces/

 No.20949

>>20948
I thought the biggest issue is aliasing.

 No.20950

>>20949
Writing to an aliased pointers isn't strictly required for use of the language and can be forbidden with restrict from C99 or __restrict implemented by most of the C89 compilers.

Compilers can detect dangling pointers in function scope just as well as uninitialized variables. The state necessary for this is lost when pointers are passed to other non-inlined functions as arbitrary fixnums.
If however C pointers were a datatype with shared state that must point to a valid memory location, dangling pointers could at least be diagnosed with runtime checks. Some testing frameworks modify the allocator to track all current allocations.

In any case the semantics for passing standard C types require a lot of faith from both the caller and the subroutine, which i see as the primary defect at work.



File: 1689555607807.jpeg (23.18 KB, 217x320, fetchimage (7).jpeg)

 No.20922[Reply]

Anyone watch those shows about prison inventions? I wonder what the most sophisticated onss would be. My three biggest questions would be

1.) A gun
2.) A computer
3.) Bombs
4.) A canera
5.) A jet pack

P much all improvised stuff you see in prisons are all essentially the same thing: pointed weapons. If you went to prison and you were squaring up with some hardened convicts who are all armed with shanks, you'd need to upgrade in technology to fairly face them head-on since the no. #1 rule in a fight is there are no rules whatsoever. For a gun I was thinking of a Gauss rifle (similar to the Arc Flash GR-1 Anvil which has the same amount of muzzle velocity as a .22lr (note that most "Gauss guns" you see on YouTube are harmless toys). They shoot small magnetic projectiles and are quite bulky in size. I was thinking you could propbably make one (including the capacitors) out of car parts, among other things like wires and stuff. Because I know there are automobile jobs available in prisons in the US. These guns require no powder propellant.

Second one is computers. I heard one story of an inmate in ohio that made computers and connected them through the ceiling straight into the WiFi network out of pre-made computer parts. Obviously not everybody has access to salvaged and repurposed computer (esp not ones that can easily be smuggled) so my idea would be to make a PDA out of the Electronic Control Units to a car (which connects to the Controller Area Network). But then again I'm no expert in engineering, but I do know that a lot of people in prison do, since all they have is time on their hands whereas most people are preoccupied.

As for bombs, I would think that whoever is in the woodshop could make a Roman-style Ballista + tin cans + airbag inflators from cars, again, from a prison job, since the older ones come in capsules that have sodium azide in them - which is a shock sensitive primary explosive (sometimes mixed with potassium nitrate and silicon dioxide to reduce harmful byproducts), whereas the newer ones rely on a mixture between Guanidine Nitrate w/ Copper Nitrate as the oxidizer. There was one Japanese company that sold ammonipum nitrate airbag inflators that ceased production due to lawsuits anx recalls that still might be on the streets even now. And aside from that, some newer cars use gases as some experimental thing (I think helium or argon-helium mix). But azide and ammonium nitrate-based ePost too long. Click here to view the full text.

 No.20931

Snackwoods are am American prisoner invention



Delete Post [ ]
[ home / rules / faq ] [ overboard / sfw / alt ] [ leftypol / siberia / hobby / tech / edu / games / anime / music / draw / AKM ] [ meta / roulette ] [ cytube / wiki / git ] [ GET / ref / marx / booru / zine ]
[ 1 / 2 / 3 / 4 / 5 / 6 / 7 / 8 / 9 / 10 / 11 / 12 / 13 / 14 / 15 / 16 / 17 / 18 / 19 / 20 / 21 / 22 / 23 / 24 / 25 / 26 / 27 / 28 / 29 / 30 / 31 / 32 / 33 / 34 / 35 / 36 ]
| Catalog | Home