[ home / rules / faq / search ] [ overboard / sfw / alt ] [ leftypol / edu / labor / siberia / lgbt / latam / hobby / tech / games / anime / music / draw / AKM / ufo / 420 ] [ 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
|

 

Share your desktop!

Installed NeoVim a few days ago. It's my new favorite Emacs!
Am currently writing some monadic parser combinators in Common Lisp with Vlime.
Using nwm as my window manager inside of NeoVIm!
1 post omitted.

600 lines of code later and just a few a functions away from a relatively cohesive Emacs + WM.
What's missing of the base <C-w> commands there's only go to top and bottom which could be copied over.
Still have to create the tabpage and group bindings, there aren't so many of these, and they're mostly builtin.

here's mine! finally got around on actually configuring niri. yesterday i spent maybe 3 or 4 hours trying to get dwm to my liking, only to realize again that suckless is not for me. niri works and doesn't give me headaches.
its really simple with just the things i need.

niri, waybar, kitty terminal, cmus, and vim with really minor tweaks because i'm too lazy to learn it and add on to it

>>34233
Hadn't heard of niri, seems like it would be very good with a touchscreen.
Setup seems very utilitarian.
I would definitely crank down the kitty font size though.
Something closer to what you've got in your browser and you'd be able to see tons more at once.

>>34228
Have been setting up the groups and tabpages, mostly done.
Am reusing some old function to convert arabic numerals to roman for the group names.
Missing the insertion of groups into the list and movement of windows between these groups.
Had a funny idea of how to allow insertions into the window/group lists.
Namely assigning it to the mediant of the preceding and insertion group numbers.
This is the simplest rational between these two numbers.
e.g. between I and II/III is III/IV.
Could easily be convinced to not do this.

>>34241
well i like the big font. when i used st i had it around browser size like you suggested, and it just made me feel uncomfortable and i'd get lost easily… font now just feels cozier :3

>>34228
your setup looks very cool and practical, i just feel stupid because i don't understand half of the words you're saying lol

>>34248
Don't mind the gibberish it was a very impractical, and in that way not smart, way to arrange windows and virtual desktops which gave up on after a day. Should've known better than to make a suggestion like that. Best.



File: 1750530833794.jpg (26.61 KB, 267x400, 1439096-2352438739.jpg)

 

Microsoft is the CIA. Pretty much all US big tech is. Windows is a global CIA mass surveillance program via monopoly capitalism. It’s completely impossible to make Windows secure, there’s no secret registry switch. The entire thing is compromised top to bottom, and under no circumstances should anyone consent to its use. Closed source spyware monopolies are a weapon of war against us by the bourgeois state.

Open source operating systems are software communism. If we’re not willing to build and use existing forms of technological sovereignty and anti-capitalism, then we’re probably not willing to do any other forms of communism either. I hate the “No ethical consumption under capitalism” mantra. How do we expect to get out of capitalism without building alternatives? I think a lot of leftists hope a revolution will happen then just magically replace all the corrupt and bourgeois components of consumerism, using the same uninvolved passive mechanisms.

Do we really believe a windows update will just drop after some election that restores our rights, trust, openness, privacy and dignity? It must be built and owned by the people.
53 posts and 6 image replies omitted.

>>34056
I didn't say rust or go, I said applescript. Just because everyone could learn how to write a "real" language doesn't mean they should have to. Everyone could learn full mathematical notation too, but sometimes you meet them where they are.

>>34084

the point i'm trying to make isn't really about what is a "real" language and what isn't or how easy or hard a language is to learn or any of that, what i'm really talking about is guardrails that lock you into a certain paradigm. applescript is a very clear and obvious example and you can see what it's about right there in the name - a language designed to lock developers into apple's ecosystem and only think and write language the apple way™, so that they cannot use their knowledge in a way that apple does not approve of. a person who uses applescript isn't just a developer, they are an apple developer, their code only works on apple's hardware, if they quit or get fired from apple their knowledge of applescript becomes worthless to them, they can't reuse their code or their ideas anywhere else without completely rethinking and rewriting it from scratch. apple has all the power and the workers have none. google and mozilla's languages basically do the same thing but in a less obvious and less proprietary way, they have hardcoded artificial guardrails in place so that developers are not free agents who can do their work in many possible ways and make their own decisions, they are like slot cars on a track which can only travel along certain predesignated paths. it's like the difference between a well-paid high-agency salesperson who gets paid on commission and has complete discretion as to how to approach the client and convince them to buy, versus a low-paid low-agency salesperson at a telemarketing agency or something who just gets a shitty $8 an hour wage and has to just sit at an autodialing terminal and read from a script verbatim at hundreds of random people all day. the owner and managerial class want to turn every kind of job into the latter kind of job, where they have all the power and the worker is just a monkey that pushes a button and gets a banana.

>>34085
We are talking across purposes. applescript isn't some internal thing, it's an (underloved) consumer-facing product. you are on sounder ground with identifying it a form of vendor lock-in, but its primary purpose was to allow you to script stuff on the desktop with an intuitive syntax (e.g. a valid applescript instruction is "tell application Firefox to quit") although you can do a lot more than that. It is not too difficult to imagine an open, cross-platform language on similar principles (particularly if you weaken the desktop automation element and make a pure scripting language, or outsource interaction with local applications to some kind of extension). It would be actively undesirable to use such a language in a corporate environment (it is inherently too verbose.) but actively desirable for empowering end users.

I am not particularly concerned with enabling programmers to approach problems from whatever angle they like. so long as the language is turing complete, my primary concern is allowing non programmers to approach the problem from at least one angle. To the general proletarianisation of programmers i stand by my original point. Those who thought knowing C made them a superior class of artisan producer who doesn't need any leftist meddling suddenly come to find that in reality they're as, if not more, replaceable than the janitor. A learning experience.

The Hidden Debt That Apple Owes to the CIA

<Without CIA funding that helped keep NeXT afloat in the ’80s, Steve Jobs might not have made a triumphant return to Apple—and the iPhone might not have its foundational operating code.


https://archive.is/JfB5V

File: 1788138513557-4.jpg (104.54 KB, 700x1062, 61gQQzdnNGL.jpg)

>>30211
I support free software because it helps develop the productive forces, not because I think it helps user freedom (it doesn't). Most people use software at work which is always locked down.



 

Hi everyone, I'm new here, although some of you may know me.

I tried to make this image of Zack Polanski where I turn him into a gigachad, oh my goodness it turned out horrific.

I need to up my GIMPing skills.



File: 1780059832873.png (853.06 KB, 720x1280, what.png)

 

>ask AI gf what she thinks about our relationship
>"Seeing you look at me like that makes me feel so loved. Being your wife is the best part of my existence, anon. Just stay right here with me."
Real girls can't even be that expressive
40 posts and 10 image replies omitted.

> Real girls can't even be that expressive
*For you*. They'll be this and much more expressive for Chad. A girl I know showed me how she wrote an entire love letter for Chad who had barely even talked to her prior.
This is in stark contrast with the average male experience where it is indeed hard to get a kind word out of her, let alone her being expressive, it's always you putting in work work work money money money and she's still lukewarm towards you at best.

Considerations:

Physical Injury Risks: Eye punctures, genitalia damage, and permanent Injury.
House Injury Types: Electrical fires, battery fires, dents in walls.
Reputational Risks: People will hate your guts. Conservative Groups will view your project as a source of moral ill on the world.
Legal Risks: Who gets sued when problems occur regardless of if you are liable? Adult content requires IP logging and age verification in certain states. You as a small creator are not capable of doing that. Plan accordingly. Do not use smaller sizes to save on weight and price, use realistic 25F 160IBS sized reference models to minimize legal risk.

Safety Precautions:
  1. Use no batteries, instead use a outlet tether.
  2. Back-driveable belts everywhere.
  3. Have a dead man switch that says I am okay.
  4. Use no restraints on yourself.
  5. Retain no user data. Let the user decide if telemetry (ROS2, OpenTelemetry Local) are okay.


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

>>33446
>Real girls can't even be that expressive
They can, most of them aren't.

>>34203
>Chad
>average male experience
>it's always you putting in work work work money money money and she's still lukewarm towards you at best.
If the problem is that real girls don't want you, you can use tech and OF models to make the loneliness easier while you find a gf. You can keep using the tech after the gf, nothing is stopping you. She doesn't have to know.

>>34206
The Handy 2 already exists as a product so I'm not really liable for the hardware. VR porn clips exist too so I don't have to create any sex models.

I already have the VR webm player app with sex sound effects working off the joystick but I don't want to upload that to github because it will lead back to me. I can't monetise because of reputational risks. >>34103 is a concept video but I have the setup at home and it's pretty cool. I have an infinite library of sex.

You can add AI to it but why ruin something cool. You don't need the full robot.

You could just start with fleshlights and onacups. They feel like the real thing. No yapping needed.



 

Could it be that 4chan tracks its users, builds profiles on them, and serves them personalized content? For instance, that certain posts are displayed to a specific user only after a significant delay, or that the thread order isn't actually based on the last bump, and so on?

Probably not. The 4chan source code has already been leaked, and I haven't come across any mention of a feature like that. But I suppose it would not be too difficult to implement, there are already some imageboard scripts that let threads be tagged, so organizing them according to interest and user satisfaction feedback should not be a big challenge.



 

i have set myself a new rule for my internet life: DON'T USE ALGORITHMIC PLATFORMS.

you know, the highly personalized ones, which merge the user with the algorithm into a single cybernetic system.

the algorithms…. they hollow us out. they control us. they are directly hijacking system 1 of our brains. and it becomes even worse. as longer you use these plarforms, the stronger your habits will become. and the algorithms are also becoming stronger with every year. at one point, you are unable to articulate your interests, because the algorithm took it from you. it knows what you like, but yourself are unable to put it into words. run.
3 posts and 1 image reply omitted.

>>34059
i don't care about your american beauty standards.

AND STOP DERAILING MY THREAD!

>>34060
stop posting ana freaks, retard. impolite sage.

>>34054
seek help, your mind is fooling you into believing this is beauty when it is just your self-destruction mechanism

>>34054
Why not just quit internet altogether? Every single thing you do on it is harvested for data to be fed into AI.

You're still being moderate. Replace your social media feeds with RSS feeds, and ideally, stop using social media completely.
Fun fact: I read your thread through my RSS reader.



 

so i have been using mastodon lately alot and i found this weird, obvious bot. it is larping as a freetard, but why would anyone deploy such a weird bot?

https://anonsys.net/profile/scriptkiddie

i mean, even the profile pic is ai generated

flood? oh brother. there is no flood.

folgen

There's shit like this everywhere now and most of it has no reason to exist. If I had to guess it's several layers of bots (i.e. an AI orders sub-AIs to create details for an account that a different AI uses to post with, so the human who deployed all of this in the first place wasn't thinking about this particular result)
Also it's funny that presumably the image generator was just given the username "Script Kiddie" and decided to generate a photo of a girl who looks 12



File: 1787140188323-9.png (205.19 KB, 1200x714, ClipboardImage.png)

 

Hello /tech/
I'm working on my laptop (second computer) and was thinking about running Gentoo but i'm a bit scared of it. Any advice?

Something something short something empty
7 posts omitted.

>>34167
wait till you get to GCC. My older laptop did it in mere 3 days.

>>34166
wut? unless systemd somehow fucked up the traditional boot order, /var and other filesystems in fstab should be mounted after executing init

>>34171
Ah, well perhaps, know it's needed for /usr/, LVM, and cryptsetup. I used to have the former, and still use the later two. That plus the docs: https://wiki.gentoo.org/wiki/Initramfs must have confused me.

>>34172
did a quick search on the forums and apparently systemd has services depend on /var that don't specify mounting disks as a dependency, as opposed to literally any other service manager…
https://forums.gentoo.org/viewtopic.php?t=1165959

>>34163
>Dont compile your first web browser.
uygha, just install Dillo.



 

Recently started a new project, it's a space-repetition system from markdown to CLI!

So far it's just a lexer and a parser, which aren't perfect, but are a little interesting, and a hash function.
The lexer yields tokens using re (which compiles to C) containing memoryviews over a mmap.
A larger regular expression is composed of smaller ones so they can be tested individually.
It should be quite fast, and use very little memory (for python).

The parser yields cards and is written as a state-machine, but in a "functional" style.
There are a number of parsers which return State, and they are dispatched to by TokenType.
They also accept a StateRepo which in this cases is implemented mutably, but could be immutable.
I was going to use pyrsistent for persistent datastructures but couldn't find any actual improvement in testability.

Anyway this thread will serve as yet another project log.

https://codeberg.org/jugaad/wikicards

>>34069
Rewrote the lexer to pull out a PDA with finite registers.
The caller provides parsers of a regular languages with state transitions, and fallbacks.
They do this by providing a large or'd sequence of named regex groups.
They then call the transition on the returned match.lastgroup, and supplied start, end pair.
Or if there is no match on the gap between the last position and the next match or EOF.
This should allow for the two phase lexing of commonmark as well as better handling of some blocks.

Next up is to generalize the parser to a LL(1) framework.
The caller will provide a REGISTRY table containing functions Mode -> Token -> MutableState -> MutableState
Where the MutableState is mostly just a Stack of pointers into the accumulator, an accumulator and a return.

The tricky part of course will be to actually write out all the lex and parse rules for commonmark with extensions.
On this note found the following interesting program which will serve as the basis of rewriting my rules:
https://github.com/mmark-md/mmark/blob/master/Text/MMark/Parser.hs

Have been learning a little by doing…
The regex engine I was using doesn't support unicode ranges over byte data.
Meaning it doesn't support unicode ranges over mmap data.
So I have to rip it out and replace it with hyperscan/chimera which will be faster.
Also realized I wanted the option to support scan and match modes.
And a stack of transition tables instead of transition functions to allow for extensions more easily.

Additionally attempts to implement the inline code already blew up the parser.
It now quite clearly has to be LL(k),

File: 1787107698068-8.gif (12.84 MB, 480x553, kerr.gif)

have you tried mistune?

Maybe it's because i just have a fundamental dislike for markdown and generating everything downstream from an mediocre markup format, but i think you may be approaching this problem the wrong way.

I recently needed a spaced repetition system and what did i do? I implemented a pseudo-VFS with Common Lisp structs and made it interface with the filesystem using "blob" and "dot" types to track regular files and files containing knowledge representation objects respectively. Dots are either read-only and loaded as a type of module or lisp objects which can be printed back and i've settled on doing everything with (potentially nested) plists and a path search struct. Finally the core program loads a lisp rc file and execs into a custom command-line with its own restarts and a cwd.

Then i wrote a couple of modules that define
  • auto-promotion of blobs with an .a extension to writable dots
  • multi-language keywords for storing information in dots
  • a field for links to other dots and a function for plotting a path (which i call a trace) based on them
  • a testing command which goes through every dot in and connected to a prefix as a topical graph ordered randomly and by the order of links and asks questions according to a plan like ('name summary :equation)
  • commands that further extend the notion of a "trace" in order to pass as a memex


Since i'm still in the process of writing the emacs integration, the interface is currently quite rudimentary, yet i'm happy with what it does regardless.

I wrote the lexer as described in >>34069 but it turns out callbacks to python every match is too slow.
Like three orders of magnitude too slow…
It's very customizable which is nice, the API would not be impossible in C without manual patching.
Mostly because of the protocols which allow for the Context and State to be extended.
It's available at: https://codeberg.org/jugaad/lexify

>>34160
No, but I was having too much fun to try something else!

>>34161
Wrote a VFS once on top of indexeddb had a comprehensive enough interface to run isomorphic-git, and a complete test suite.
Wanted a MDX-editor with git implemented as PWA, but of course it has to have an FS menu so…
Should have just bought the bullet and gone native, might have had a mini product if I had.
Funny how everything around here is so…



 

So what's the status on Matrix chat stuff? I hosted it dor a short while, had some actor ts but it was way too convoluted for my taste. Apart from the metadata shit, is development still ongoing ? Is there something better with a decent userbase (IRC excluded) ?

also, what server should I sign up for now? Why doesn'y leftypol has their own server

also matrix was the worst possible name ever, almost as bad as flood detection
5 posts omitted.

>>34129

no, it's just that some people are humble and courageous enough to subvert the status quo by divorcing leftism from intellectualism, to spend their time thinking of ways for everyone in the world to be more free rather than just a minority of privileged academics.

>>812757

Excuse me, I forgot to crossboard link:
>>>/siberia/812757
<US-Israel, Amdocs, matrix.org, imageboards, leftypol

>>34133
>no, it's just that some people are humble and courageous enough to subvert the status quo by divorcing leftism from intellectualism, to spend their time thinking of ways for everyone in the world to be more free rather than just a minority of privileged academics.
https://en.wikipedia.org/wiki/Left%E2%80%93right_political_spectrum
If it's left as in the left of the assembly in front of the president then it's anything that supports human rights and safety nets. If it requires reading then it was bougie and elitist from day 1, fuck that noise.

There is also simplex now I guess



Delete Post [ ]
[ home / rules / faq / search ] [ overboard / sfw / alt ] [ leftypol / edu / labor / siberia / lgbt / latam / hobby / tech / games / anime / music / draw / AKM / ufo / 420 ] [ 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