[ home / rules / faq / search ] [ overboard / sfw / alt ] [ leftypol / edu / labor / siberia / lgbt / latam / hobby / tech / games / anime / music / draw / AKM / ufo ] [ meta ] [ wiki / shop / tv / tiktok / twitter / patreon ] [ GET / ref / marx / booru ]

/tech/ - Technology

"Technology reveals the active relation of man to nature" - Karl Marx
Name
Options
Subject
Comment
Flag
File
Embed
Password(For file deletion.)
What is 6 - 2?

Check out our new store at shop.leftypol.org!

| Catalog | Home
|

File: 1761479465853.png (1.32 MB, 1280x720, ClipboardImage.png)

 

Do you think it's worth it to look for decent secondhand hardware as windows 10 is EOL?

I like my crusty ol' thinkpad, but I want something more modern (read: quieter and more powerful). Suggestions are welcome.

>suggestions
NixOS with niri window manager, with KDE window manager in case niri's sattelite-based window positioning borks something (i.e. Krita when using a tablet pen)
Basically install NixOS with KDE then add niri.
Niri is good for general use as it's lightweight.

>>31608
I meant hardware doofus

The EOL is not a sharp cliff.

1. You can still get updates for free with a Microsoft account.
2. Most businesses have already gotten rid of their pre-11 inventory. If you're looking for ebay deals this is where a lot of them come from.
3. A lot of people, especially sellers, install Windows 11 on incompatible hardware, even hardware that's too old to receive updates because the ISA is too outdated.

So you won't see the kind of glut in the market that you might think. That said you've been able to get a cheap T470 for years if that's what you want. It is probably cheaper than it would be if it was officially compatible with Windows 11.

>>31607
windows 10 iot ltsc is still an option. that or linux

I think windows 11 iot ltsc bypasses hardware requirements anyways so it doesnt matter

The newer thinkpads are alright, but no match for the old ones regarding price. Framework has some options if you're part of that sort of crowd.

i still daily an old t480.



File: 1756509712830.webp (2.33 MB, 2528x1346, asjg9sgjs.webp)

 

Is a self-driving car really an invention that society needs? We already have a machine that was fundamentally designed for a human operator, there is no entity in the universe more well-suited to the task of driving an automobile than a human being, but now we want to try to retrofit every car with some software that replaces the human driver and will never be as good as a human driver and for what? Is driving really such a laborious and horrible ordeal for humans to endure, having to sit in a comfortable air-conditioned chair and listen to music for a while? Is it really worth wiping out an entire category of jobs that humans depend on to survive, just to replace them with software that is not nearly as well suited to the task and will likely kill people with no accountability?
8 posts omitted.

>Is a self-driving car really an invention that society needs
Probably, because of points that have already been brought up. Personally I'm wary of them because if they become ubiquitous they might try to take away human-drivable cars. As someone who enjoys driving I'm not interested in that.

>>31606
Massively gay

>>31610
>massively gay
Like you? Anyways it doesn't matter be as gay as you want

Are self-driving buses gay

no. the personal motorized carriage, self driving or not, as a mode of transport and the subsequent design of infrastructure, industry and institutions around it have been a disaster for the human race.

Yes because it makes car ownership more expensive while nonetheless essential
>Self-driving tech is expensive! Cars need to cost more
>Insurance companies are unconvinced self-driving cars are safer! Insurance must cost more
>To improve self-driving systems, really the roads need to be redesigned to become "smart roads, tear them up! Gut public transportation projects to fund it
>The thing that is blocking the potential for self-driving cars is human driven cars, scrap them!
>Any one would tell you getting to the next town takes an hour, thanks to AI predicting there will be a traffic jam, you have been put on a route that will double that!
>You can't possibly service this vehicle, it's too advanced! Neither can your town mechanic, nope you're going to have to send it directly to Tesla I'm afraid
etc, etc

Generally speaking, consumer choice boils down to what brands you can buy, choice in how people use something is not ideal because naturally they will aim to use it for the least cost possible when the point of gaining market share is to lay claim to customers and more importantly their salaries.



File: 1761154341724.png (459.65 KB, 1008x720, 1384993837.png)

 

I'm writing a tech demo of an idea I had about alternative GUI programming techniques. so far I had been using xcb and everything is going fine and the idea is working but I was thinking about adding wayland support before releasing the code. I know wayland has a compatibility layer with x11 but considering I'm not doing anything crazy, mostly just drawing rectangles and text, and handling events, I thought "how hard could it be to add native support with a few ifdefs here and there". however, it doesn't seem like there is much documentation on how to write applications for wayland, and most places just tell you to use gtk or kde or some other high-level framework

tl;dr my question is, is there something like this official xcb tutorial but for whatever the wayland equivalent of xcb is?
https://www.x.org/releases/X11R7.7-RC1/doc/libxcb/tutorial/index.html


>>31601
huh, apparently it doesn't have drawing commands like x11, you just render client-side. I guess I will just use cairo then
but man it feels like a regression, as antiquated as it was, I liked that, in theory, you could use pure x11 programs through a network and the remote application would just send you the drawing commands to be rasterized locally

>>31602
It is pretty good, even locally if you're running a browser in a chroot or container like myself.

It's because wayland is garbage, put it in the bin.



 

I'm a volunteer for Marxists.org. Finding forgotten gold articles from 100 years ago and sharing them with the modern world is my jam. The problem is that they're often microfilm scans that are a pain in the ass to read, so I have to transcribe them - which rarely goes smoothly with my OCR software. A lot of the time I have to resort to typing everything out by sight, which as you can imagine takes forever.

That OCR software is ABBYY FineReader 15, said to be the best when I pirated it right before the big machine learning breakthroughs. Is "AI" able to work magic for optical character recognition now?

Attached is a book-length article I'd like to transcribe. It's mostly too fuzzy for FineReader 15 to handle. I was originally going to call on /leftypol/ to help me transcribe it by hand, but I thought I'd ask /tech/ first to see if a machine can do it after all.

TL;DR: help me transcribe this plz.
12 posts and 1 image reply omitted.

>>31586
Better yet do encode image by image, but not in a stupid way:

def render_pages(
    src_pdf: pathlib.Path,
    resolution: int,
) -> List[bytes]:
    pages = []
    with Image() as images:
        images.resolution=resolution
        images.read(filename=src_pdf)
        images.depth=8
        images.colorspace="gray"
        for image in images.sequence:
            compressed = Image(image=image)
            compressed.format = 'jpeg'
            buffer = io.BytesIO()
            compressed.save(file=buffer)
            pages.append(buffer.getvalue())
    return pages

>>31586
I'll admit that I have no idea how to use that code or what it means, but thanks for creating the script to transcribe this! There are a fair amount of errors, but not as many as ABBYY would generate - it seems like the LLM is a lot better at cutting out all the extraneous exponents and apostrophes that ABBYY would pick up from the film grain.

The downside from the LLM is that you sometimes get some true bizarre hallucinations. Like this one in the opening sentence of part IV. Here it is typed out by sight:

In the first article we introduced the reader to Comrade William English Walling, the "new" Duehring, who proposes a "new" Socialism based on "new" methods and principles.

And this is what the LLM spat out:

In the first article we introduced the reader to Conrad Williams*. [*Footnote: Not William, as given in the heading. Editors.] Dorothy, who proposes a "new" Socialism based on "new" methods and principles.

To clarify, there are no footnotes. The AI just totally made that up somehow.

>>31590
>no idea how to use that code or what it means
Well, that's a little too bad. I'm not exactly sure how to run it on Windows either. But it sounds like your existing solution is maybe good enough?

>true bizarre hallucinations

Yah, one of my other runs (maybe the one with the weaker model?) got it repeating "to my knowledge" a hundred times and monotonically decreasing the column width until it was just a word or part of one for one article.

>>31591
>But it sounds like your existing solution is maybe good enough?
I have dozens of hours of experience using it, which helps a lot. ABBYY also has a lot of PDF image editing tools built-in to deskew the text etc., so it looks like I'd be processing through ABBYY anyway before running the images through Tessaract or an LLM. Severely grainy or unevenly exposed images still give it a lot of trouble through with random apostrophes etc. that are a chore to manually remove.

I thank you again for transcribing the Slavit text for me though. It looks good enough that manually correcting it wouldn't be too bad. We'll see about that though, maybe the hallucinations will be so severe I'd have to verify every sentence.

The ultimate solution to this problem will be to get New York University to take the original crinkly newspapers out of storage and scan the broadsheets properly. Which the publication definitely deserves, but it's a huge ask and I'd like to be able finish my William English Walling complete works project (plus polemics aimed at him) before I dive into that.

>>31592
Good luck with your endeavors then.

>William English Walling

This seems like a very interesting character and project.



File: 1751762900436.png (3.11 KB, 225x225, images.png)

 

>WireGuard
Written in C, so no.
>OpenVPN
Insecure (and written in C).
>Tailscore
Proprietary trash. Again, written in a lower level language.

When the fuck will somebody use Python to script a VPN protocol out of for a full tunnel client w/ access to iptables w/ default setting at "strict"? Plus run it on custom STUN servers, uses 10.8.0.53 instead of 8.8.8.8 (Google)/1.1.1.1 Cloudflare)/9.9.9.9 (Quad9) and blocks any connections to them for a fine-grained DNS control, and fully self-hosted w/ local only control. Everything else is too insecure. Oh, and also
>Tailscale leverages Google's OAuth2 for user authentication, allowing users to log in to Tailscale using their Google accounts
Lmao. The absolute state.
16 posts omitted.

This is in OCaml plus a unikernel so free of bloat: https://blog.robur.coop/articles/miragevpn-server.html


what's wrong with mullvad


If you want to go with the proxy client + VPS route, Singbox, Clash or V2ray are written in Go


https://github.com/SagerNet/sing-box
https://github.com/MetaCubeX/mihomo
https://github.com/v2ray/v2ray-core



 

Who else rayhunting? Tired of police militarization and surveillance? Watch them back!

https://www.eff.org/deeplinks/2025/03/meet-rayhunter-new-open-source-tool-eff-detect-cellular-spying?language=en



File: 1760128928458.png (16.06 KB, 512x512, ClipboardImage.png)

 

Why isn't it widely adopted yet? It's much better than AVIF since it's actually designed for still images, and Apple supports it natively on Safari and Photos. What's Google's endgame by killing work on support for it in Chrome?

Competes with webp. Think that's about it. A lot of programs do support it but chrome refusing is the main banana peel on the road.

nothing is sufficiently better than good old JPEG to actually dethrone it. what we should do is actually implement the full JPEG spec, which has a bunch of neat features like pyramidal compression and range coding

>>31542
Many websites already use webp or avif.



 

In the recent years, more and more platforms at starting to introduce age verification trough external services like Persona. The most recent one, being roblox, which introduced ID age verification not so long ago. We also have cases like Facebook and Linkdin. But it is just the start. Probably, soon more and more platforms will introduce restrictions and age verification trough ID.

Now the question is, how would one bypass these tools? Fake IDs, if so, how good they should be? Or is the technology even working? All the questions surrounding this are encouraged.
3 posts omitted.

I know from a friend's friend that you can use an image generator language model and photoshop to make fake photos of IDs to get around this, you just have to let your email account associated with the service's account "cook" first (e.g. let big data fingerprint it by watching youtube and creating general activity on it) so their algorithm does not recognize it as fraud

File: 1759111703465.png (335.11 KB, 1287x881, 1632443542682.png)

bump

Since this thread was last bumped things have gotten worse.
The thing that is on my mind is how would one run a site without having to follow such laws.
Like I want to run my own porn site which is the most risky category.

>>28047
this is very common if you are overemployed and want to have two different CVs. it's not "anonymously" just not tied to a real ID.

>>31416
>Like I want to run my own porn site which is the most risky category.
How about a webring instead? If a bunch of people making smut just link to eachother, there's no platform to be forced to do this to begin with.

>>31418
yeah thats one step away from just throwing up a torrent



File: 1726459786963.png (365.18 KB, 709x538, nuimageboard.png)

 

The neverending quest to rewrite vichan -

Archived threads:
https://archive.is/xiA7y
258 posts and 59 image replies omitted.

>>31541
>Cache immutable the outbox.
I wrote signature verification for the inbox and three implementation for the Person outbox.
Think I'd like it to be illegal to use an irregular cursor/page so that the cache rarely misses.
But would also like to avoid using the "skip" parameter with O(n) search of the documents.
No matter how it's implemented it seems to require a document mapping cursors to pages.

>>31548
Settled on just using a cursor and "trusting" that servers won't use irregular cursors.
Or else that it may be possible to remove services which query the origin excessively.

Further this is a singly linked implementation because Delete and Update are included.
Delete and Update requires that the pages be traversed in full to render next elements.

The first page is always the total_items modulo the config.OUTBOX_PAGE_SIZE.
This allows every subsequent page to be cached immutable so long as the linked cursors are used.

We also drop the "partOf" parameter to avoid making the full (mutable) collection.

It's all above board with the spec too.
Only downside is the mentioned "trust" required of servers.

Wrote the Person following and followers endpoints.
Ended up not materializing the document to keep track of this.
So similar to the outbox this is just a query on the ActivityModel class.
The only real advantage to this is in bookkeeping.
It's slow because it's not really possible to cache these pages.
It should be less than 50ms (maybe less than 10ms on heavy hardware), for a page, which is probably too slow.
There is also a precondition that there be one follow not undone for any thousand.
This is to make it computationally feasible.

>>31567
It's a bit of a fail to write a federated server with mongodb in anything but typescript.
Guess there's going to be a 2.3 using fedify, mongodb, and typescript.
Think need to separate out the Activity logs from the materialized views.
This is to make the follwers, following, and like sufficiently performant.
My impression is that the client to server protocol would make things like bump ordering difficult.
So there probably needs to be a third layer to the API for a cache efficient client.

>>31583
For future reference, the private key idea is to use fordwardActivity() [^1].
And simply sign on the client side for all the relevant servers sent via a separate endpoint.
It's apparently trivial to wrap the existing fedify classes as monogodb documents with indices.
For the POST fanout use fedify/x/cfworkers [^2] including POSTing to the origin…

:[^1] https://fedify.dev/manual/inbox#forwarding-activities-to-another-server
:[^2] https://github.com/fedify-dev/fedify/pull/242



File: 1756414625701.png (571.1 KB, 1280x720, ClipboardImage.png)

 

Machine Learning general. So anybody here actually do any ML programming? I just installed PyTorch yesterday and actually started training some shit. It was pretty easy to get working. But… I am a dumb dumb, so I am going to go back and learn all the basics I think, because I have delusions that maybe I'll be able to do something interesting with it, but I know unless I'm really knowledgeable about it, the probability is less than zero.

I know that thread about bitching about ML is the most popular thread on /tech/ but I thought we should have a separate thread for people actually programming it.
43 posts and 2 image replies omitted.

File: 1758669323820.pdf (4.18 MB, 197x255, 2305.20050v1.pdf)

>>31353
Am interested in if "Let's Verify Step by Step" can be applied to prompting. So you construct a prompt telling it to explain step by step what it's doing. You then give incremental feedback as it's constructing the chain of thought. The responses steps are kept small so there's not much time lost to generation. Bonus it makes the models look real stupid, and you have to think a little.



I haven't reviewed this televised class because I'm not too interested in Ollama, but I'm assuming it's good because the guy running it caught what a breakthrough deepseek's experimental sparse attention model is




Delete Post [ ]
[ home / rules / faq / search ] [ overboard / sfw / alt ] [ leftypol / edu / labor / siberia / lgbt / latam / hobby / tech / games / anime / music / draw / AKM / ufo ] [ meta ] [ wiki / shop / tv / tiktok / twitter / patreon ] [ GET / ref / marx / booru ]
[ 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