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

Not reporting is bourgeois

| Catalog | Home
|

File: 1751570986514-0.jpeg (251.83 KB, 2000x1333, DSCF2988.jpeg)

 

A wealthy family member on their way to another country bought me pic rel.
This is probably the nicest keyboard money can buy.
It costs 1 and 2/3 months rent in Romania.
It's open source, fully programmable, and curved for ergonomics.
My typing speed is currently at least halved thanks to the learning curve.
This and switching back to QWERTY at the same time.
Second pic is my old dream keyboard.
What keyboard do you have and why, or what do you want?
Feel free to discuss other peripherals.

Are you Romanian?

>>30438
Nu sunt romana, dar invat.

Second is what i've used for years. It's robust and feels very nice to type on. You can even rearrange the keycaps, so mine match my particular dvorak layout.
>other peripherals
I always get a proper three button mouse, sucks when software assumes you have a scrollwheel though.
>no numpad for data entry
Do you even do REAL work?

>what do you want?
Leap key for navigation like the Canon Cat had: Under the space bar is your leap key. While holding it down with your thumb, you start typing a word and the cursor immediately moves to the closest match. Actually the Canon Cat had two leap keys, for going LEAPING back and forth.

File: 1751599602204-0.png (163.17 KB, 891x677, ClipboardImage.png)

File: 1751599602205-1.png (154.07 KB, 881x671, ClipboardImage.png)

>>30442
Interesting idea. I just made a macro that does that. I just made a macro that does exactly that. It was a super easy.

It's just:
>ctrl+f
>tab once for previous
>tab twice for next
>enter

I just tested it and it works flawlessly in firefox. It might depend on the program. Just tried it in google docs and it doesn't seem to let you tab to the arrows. Ok tested it in Chrome and it works flawlessly as well there.



File: 1751479657354.png (55.44 KB, 1209x798, ClipboardImage.png)

 

Users of all levels are welcome to ask questions about GNU/Linux and share their experiences.

* Please be civil, notice the "Friendly" in every Friendly GNU/Linux Thread *

Before asking for help, please check our list of resources.

If you would like to try out GNU/Linux you can do one of the following:
0) Install a GNU/Linux distribution of your choice in a Virtual Machine.
1) Use a live image and to boot directly into the GNU/Linux distribution without installing anything.
2) Dual boot the GNU/Linux distribution of your choice along with Windows or macOS.
3) Go balls deep and replace everything with GNU/Linux.

Resources: Please spend at least a minute to check a web search engine with your question.
Many free software projects have active mailing lists.

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

File: 1751481206799.png (655.43 KB, 1024x911, user.png)

Learn to use the catalog.
>>26556
>>1280



File: 1747403878845.jpg (35.12 KB, 686x386, hq720.jpg)

 

Well, /tech/? How do you keep your notes? What do you do while you read endless pages of theory? How do you remember and process information into your personal zeitgeist?
20 posts and 9 image replies omitted.

Pen and paper tbh

>>30412
How do you install that, I can't find it on AUR.

>>30413
You’ve got to compile it from a feather, ash mixed with water and some wood pulp.

I mean it might be packaged by someone somewhere and the version I’m compiling from is from 1687, so presumably if there is a packaged version it’s probably newer, but hey if it ain’t broke don’t fix it.

>>30410
>Its also bloated and slow, and its internal wiki style links might not transfer to another system so notes might get linkrot if I switch to other platforms in the future
shouldn't the links be easy to replicate in another MD editor, i don't see what's so special about a folder of .md files pointing at each other

>>30409
>Haven't yet setup any LSPs or Treesitter, don't really have any projects to motivate it.
Was looking for an excuse, simply can't believe didn't configure this years ago.
It's so easy with Helix that even editing one file made it worth it to setup an LSP.



 

why the FUCK is javascript a vibes based language?

<[] + {};

>returns '[object object]'
<{}+[];
>returns 0
<[]+[];
>returns ' '
<0 == [];
>returns true
<0=="0";
>returns true
<"0"==[];
>returns false
<2+"2";
Post too long. Click here to view the full text.
26 posts omitted.

>>30388
It's the same issue mentioned already, assume that they fixed the conversion rules and a browser implemented it, suddenly a lot of sites that used to rely on the old behaviour would be broken and as a consequence users would use other browsers where their favourite sites still worked.

>>30389
In 1997? The standard came about because there was already incompatibilities between browsers…

>>30390
In 1997, yes.

>>30391
Okay, a nicer hill than any other to die on lmao

>>30373
>technology/abstraction intended to facilitate computer programming for people with no formal computer science knowledge is actually full of unintended caveats which complicates programming rather than simplify it
How many times has this happened before



File: 1608526423381-0.jpg (185.98 KB, 1280x720, dnm.jpg)

 

Darknet markets are as close as it gets to a free market, where you can order drugs and have it delivered to you by mail. The purpose of this thread is to discuss opsec, ask for help and discuss markets in general. This thread should be fully legal as long as you don't solicit or facilitate illegal transactions, meaning:

&ltDon't beg to buy from someone
&ltDon't attempt to sell to anyone here
&ltDon't link to dealer Instagram/Reddit/Snapchat accounts. These accounts are run by either scammers or feds.
&ltDon't directly link to any market. These links could be fake scam/fed markets, designed to phish your login details and steal your cryptocurrency. Only use https://dark.fail/

The following is my personal recommendation for good opsec while conducting business, however, you must [b]read the darknet market bible[/b] (.pdf attached) after you are done with this post. If you don't read theory, it's likely you will be caught and convicted.

>Will I be 100% safe?

In theory, no. The darknet market bible, together with this thread, is meant to minimize the risk of getting caught as much as possible. If you follow the exact procedure outlined in the bible, you should be okay, especially as a small-time buyer.

Tails
Tails is an Linux-based operating system that runs entirely on your RAM and is wiped when PC is powered off. If the cops intercept your item, conduct a controlled delivery and seize your machine, they will not be able to find evidence linking you to the package and you can deny involvement via a lawyer.
You will want to install the Tails operating system to a USB flash drive with at least 8GB of storage. Personally, I'd go for USB 3.0, with at least 16GB storage for persistent volume purposes, or even 128GB or more if you want to store the Monero local node on it. You also need a PC with at least 1GB RAM to run Tails. The bible contains a guide for installing Tails in [b]2.A.2 Installing Tails[/b]. You can download it here:
Post too long. Click here to view the full text.
86 posts and 7 image replies omitted.

>>21346
So you don't know how Monero works. Unlike bitcoin, transactions cannot be tracked back to you. When you are controlling a node, you can wipe/not save all the logs you want. Nobody is forcing you to keep logs on yourself lol

bohemia/cannabia might be exit scamming

localmonero is dead

Archetyp got taken why do these morons host shit in Germany?????

Also Europol put out the most cringey fucking page of all lmao

>>30187
hosting shit on a .su domain hosted on an abandoned russian warehouse is not viable for sites that big



 

Started work on a new project a few days ago.
Previously was working with Starlette, SQLAlchemy, and Jinja, vanilla front-end, and only recently Docker.
With this was able to build some cool AJAX applications, but the method of doing so was a little crude.
Through job searches found that many employers were interested in Typescript, React, and some in FastAPI.
There were also tons of listings asking about LLM usage either as tooling or through the API.
Further decided to actually write tests for my software this time, previously only ever testing, live, in situ.
Anyway a 630MB folder later and have gotten OAuth2 authentication with a JWT token, and React login screen to work.
Very close to the entire project has been written with an LLM, or by modifying examples.
This has fealt time consuming at times mostly in testing, specifically setting up mocks and fixtures.
But really it's only been three days to get a pretty well tested (the front-end still needs a little more) application.
9 posts and 2 image replies omitted.

>>30364 (me)
>>30366
Well, ORMs tend to tightly couple your application code to your database schema, which is my reason for avoiding them entirely. You need to keep track of all your migrations and even then if something breaks, it might permanently ruin your database. This is why I try to use the most generic interface possible when interacting with databases with the least amount of abstractions, which in this case is SQL. As long as you don't do anything stupid, raw SQL is fine. But as another anon already mentioned, you're building a hobby project and it'll probably work just fine even if you don't write raw SQL queries.

>>30374
In this application there was a loose coupling between the table UserInDB and the rest of the application. Even though the data is ultimately stored in UserInDB what's passed around are User and UserCreate objects. Ended up really liking this structure, but only understood why after you mentioned this.

class UserCreate(BaseModel):
    username: str
    email: str | None = None
    full_name: str | None = None
    password: str

class User(SQLModel):
    id: uuid.UUID = Field(default_factory=uuid.uuid4, primary_key=True)
    username: str = Field(unique=True)
    email: str | None = Field(default=None)
    full_name: str | None = Field(default=None)
    disabled: bool = Field(default=False)

class UserInDB(User, table=True):
    hashed_password: str

async def get_user(session: AsyncSession, username: str) -> User | None:
    user_in_db = await get_user_in_db(session, username)
    return User(**user_in_db.model_dump(exclude={"hashed_password"})) if user_in_db else None

async def get_user_in_db(session: AsyncSession, username: str) -> UserInDB | None:
    result = await session.execute(select(UserInDB).where(UserInDB.username == username))
    return result.scalar_one_or_none()

>>30377
nope, still dim.

>>30374
Am talking too much and thinking too little; for unknown reasons.
I'm disappointed, and cooked.

A query builder lets you conditionally chain parts of queries.
This is unlike PugSQL, HugSQL, or pg-promise.

You're perfectly free to translate from the ORM objects to other objects.
So the coupling to the database schema shouldn't really be an issue.

Really the only substantial issue can understand at my level is missing features in the ORM.
This is like for example the missing TRIGGER functionality for Async SQLAlchemy.

>>30379
>A query builder lets you conditionally chain parts of queries.
Just realized this is of course still possible because for each clause you can just modifying conditionals or CASE.



File: 1750713256780.png (520.11 KB, 870x578, ClipboardImage.png)

 

are computer touchers considered proletarian? if so, why do they seem to lean libertarian and meritocratic, and work against their own class interests for capitalist aspirations? e.g. taking anti-union positions because it may "hamper innovation" or their rockstar 10x engineer persona.

Also when will AI finally break programmer chuds (inshallah)
89 posts and 21 image replies omitted.

>>30330
>but they want to be pb again!
And most proletarians just want to win the lottery and not have to work again, it’s kind of the job communist parties to educate and organise people towards a much more likely goal.
And let’s face it, that’s what the seething is about ITT, that educating and organising involves talking to people who might earn more than yourself and presumably that being impossible as they start vomiting blood at the idea of sympathising with people who went to university or had a spare $500 to lose on crypto five years ago.

>>30235
>Ideologically, programmers align with Estonia and Tallinn
nani???

>>30238
>>30234
>meaningless nitpick
>owning capital
how some of you manage to be so smug despite not reading a single book never ceases to impress me

I think a lot of tech workers are in the process of being proletarianized, or will soon be.
If you got in late you probably still don't own shit anyways, I certainly don't. I'll likely be crushed by debt I didn't want for the rest of my life.
What I'm concerned about is that the current batch of Leftists are incredibly hostile to anyone that "hasn't been" or is only a recent proletarian struggler. As the century marches on, more and more people from educated professions and the labor aristocracy are going to get proled against their will, some of these individuals will be able to be swayed over, but not if we petulantly make an enemy out of every single individual that at some point belonged to a different class. These people NEED to be captured.

This kind of ongoing hostility to anyone who has at some point had it better than you reeks of reactionary bullshit to me and is honestly kind of christcuck-esque in its identifying/constructing an identity around suffering.

>>30333
>Ideologically, programmers align with Estonia and Tallinn
<flat tax rate.
<digital democracy.
<social problems have technical solutions.
Something like this anyway.



File: 1748694754889-0.png (21.13 KB, 554x554, ClipboardImage.png)

File: 1748694754889-1.png (31.21 KB, 300x450, ClipboardImage.png)

 

What is the materialist explanation for chuddy alt-tech FOSS nerds like Luke Smith and Bryan Lunduke? Many lolberts and rightoids seem to think that loonix and open-source software is some privacy-protecting alternative to woke big-tech surveillance and censorship. I used to think like this but now I realize how wrong I was.
11 posts and 1 image reply omitted.

>>30056
If you have any kind of formal employment, financial or medical history, it's pointless to consider the privacy benefits open-source software. Unless, the activities you're trying to hide are done exclusively on an encrypted p2p network, but that too could bite you in the ass someday.

>>30052
>>30057
Lay down the serious hat for a bit.

>>30050
>>30062
Lunduke has been covered for being a petit bourgeois piece of shit already, see: >>28088

File: 1749148195188.mp4 (867.9 KB, 384x288, 1749148190087.mp4)

No idea about the other guy, but I think Luke Smith is actually on a trajectory to de-chuddify. The barrier is his viewership/fanbase.

OP I'm confused as shit too, he constantly rails about the negative consequences of profit-motivated design, but then simultaneously he stinks of lolbertism. I can only conclude he experiences a lot of dissonance

>>30050
Luke is a terminal contrarian who repeatedly overcorrects. I don't have a materialist critique of him.
> DEI is bad so thus catholicism must be good. > Consumerism is bad so all corporate jobs are horrible
Etc.
>>30119
I was in a similar situation as Luke and I ended up as a leftist because I realized leftist ideologies are the ones who actually want to reward hard work and bettering your community. Right wing ideologies only do this incidentally.

>>30062
>A lot see themselves as cool digital gangsters, as if pirates were historically criminals for crimes sake instead of radically democratic compared to the empires of their day.
Pirates were a kind of proletarian dictatorship…but lets just say most of them were gross Johnny Depp guys and not based lesbian pirate queens!
These PMC redditors are pirates in the sense of being downwardly-mobile petite bourgeois who emerge during a crisis in capitalism and instead of being low paid servants of the ruling class, choose to be thuggish parasites who steal the fruits from farm and factory laborers. Same thing as happened during the rise and fall of the British empire



File: 1668576113682.png (Spoiler Image,3.22 MB, 1584x1200, ClipboardImage.png)

 

Thread for watching rocket launches and shit.
81 posts and 55 image replies omitted.

File: 1741898560328.png (387.15 KB, 1024x576, ClipboardImage.png)

Not really /tech/ but still /space/.
Lunar eclipse happens tonight, will be visible in the Americas.

File: 1748457688970.jpg (44.18 KB, 640x480, StarshipExplodesAgain.jpg)

Yet another giant leap on the road to the Moon and Mars. The Chinese will never catch up now!

I might be stupid but I still don't understand what problem starship (or even falcon9) is trying to solve

>>30027
Isn't the purpose to soak up government gibs while maximizing profit (offering a cheaper service and doing things no one else can) and inspiring-following a vision of futurism. If the vision of the future were different you'd probably get it.

Another day, another stunning SpaceX success…



File: 1749730345228.webm (634.18 KB, 1280x1024, wm.webm)

 

This might not sound that impressive, but i've just managed to get program-agnostic rio-style window creation working flawlessly in FVWM. Previously it was a flickery, unreliable mess of xdotool commands, but now it's spawning every window iconified, hooking into the window creation event to set geometry from my rectangle selection program and deiconifying it to its correct position.

If you could keep track of all terminals and from which one a particular program is spawned, you might be able to reach true rio emulation closer than even the plan9port version.

Desktop and window management general, i guess.
4 posts omitted.

>>30155
>Keeping track of terminals
you have to keep track of what the terminal does, or of all fork calls for that matter, not the terminals themselves

>>30157
I have a very specific scheme in mind, which i'd hoped would be aided by something like inheritable x properties, but since they don't exist a kludge it is:
/etc/profile runs a script writing the window id to /run/foo/$$. If a new window is spawned, get the process id with _NET_WM_PID (fails with 9term, so much for icccm compliance), then walk up the process tree using ps until encountering a process in /run/foo containing the window id with which to set the correct geometry.

>>30158
Wait, i think i've found a near-perfect solution. Terminals mimicing xterm will set the WINDOWID environment variable, so for every non-terminal child process you could get the parent terminal with an SUID script like:
#!/bin/sh
strings /proc/"$1"/environ | grep '^WINDOWID=' | cut -d= -f 2-

>>30152
That's cool and I don't want to sound like a dick but have you considered using 9wm or Wio? They are Rio-like WMs for Linux.

>>30174
In rio only the plan9 terminal (which gets its geometry passed in plan9port) can be created this way. As you can see from the xterms, which don't accept pixel coordinates, my scheme works for every program. Also notice the sloppy focus in the video, what you don't see are the 3x3x5 virtual desktops, so there's that. My next step is programming keybindings that align with my emacs muscle memory to work, but the scripting language is finicky and a module would clearly be overkill.



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