• 0 Posts
  • 29 Comments
Joined 1Y ago
cake
Cake day: Jul 03, 2023

help-circle
rss

There’s an OS you might like. It has no UAC, no file permissions, no sudo nor chmod, as it has no multi-user support, no antivirus and no firewall, no protection rings, not even spectre/meltdown mitigations, and most of all - no guard-rails whatsoever: You can patch the kernel directly at runtime and it won’t even give you a warn. And yet, it is perfectly safe to run. It’s called TempleOS and it achieves such a flawless security by having no networking support whatsoever and barely any support for removable media. If you want a piece a software - you just code it in, manually. You don’t have to check the code for backdoors if it’s entirely written by you… only for CIA at your actual back door…


Is logitech still not allowing you full customization with presets saved on mouse itself? I’d expect that from the cheapest noname 5-button mouse on the shelf, not logiteck, I thought they got their shit together already given how much praise they usually get.


It’s probably because something your instance admins did. For me it didn’t show up either, so i looked at the link:

https://lemm.ee/api/v3/image_proxy?url=https%3A%2F%2Fi.imgur.com%2Fi2IzTtY.png

And it responded with 429 “Too many requests”

But the url is clearly pointing to imgur, why the middle-man? Just urldecode it and here ya go

https://i.imgur.com/i2IzTtY.png


Both of course, but if I had to choose, Cloudflare. Definitely Cloudflare. That company must be purged by fire and magnets. Sure, casinos are evil, but they mostly stay in their lane doing their thing of preying on the vulnerable. When Cloudflare just straight up breaks half the internet for lunch and there’s, by design, no way around it.


The key here I think is the NAND. I know you can do practically anything with only NAND gates. But without it, and with just control structures, I don’t think there’s a way to perform computation unless there is some theoretical voodoo withcraft possible, something like nop-padded cellular automata given the infinite memory. But I don’t have any qualification to talk about this, I’m just some random dude who flunked out of the university but finished all Zachtronics games.


Are you implying that an assembly language consisting of just ret, int3 and jmp (and nop, of course) is turing-complete? …are you sure about that?


Ah I see what you mean by tiling. Still, such a setup feels… excessive, no? I can completely understand that you literally never need to pull up anything since it’s all just there, but I dunno (I’m reaching here) doesn’t your machine get hot from all the displays and forcing all screens to do constant screen updates?

It is excessive yes, but I’m all about going above and beyond, sort of say. It doesn’t really get hot since it doesn’t update if there’s nothing to update - I’ve checked in the driver. Actually an error in said driver might have put an end to my windows journey on this machine, as some bug was causing all screens to not refresh unless there was any app doing a draw somewhere. It does use quite a bit of VRAM, though(~1.5 gigs) but that doesn’t matter when I’m working as I turn off the dGPU and the iGPU uses RAM which I have plenty. I used to just grab this machine and go to the nearest restaurant with poor internet(less distractions) and focus on work until the battery dies, and I’ve consistently got 2-2.5 hours off.

When you have to travel, you can’t take all that with you – so working on a laptop at the airport must be incredibly frustrating if you’re used to things just being there, no?

I do travel with it. It is a bit frustrating, yes, but as mentioned, the quad-screen setup is portable and I can pull it even in an airport given enough space. The problem is TSA, they used to not give a damn about laptops, but the last time I moved, they forced everyone to take out laptops and turn them on, at every one of the 4 airports I went through. But I had like 5 on me: My personal one w/extra screens, a corporate issued one as a spare, a tiny laptop that I used to carry in my pocket which saved me quite a few times, and also a colleague asked me to grab his laptop and iPad to pass off to his relatives. All this, along with a few HDD’s, was just enough to fit into a carry-on bag. But checkpoints were all something like:

  • Is that your stuff?
  • [On reflex already] Yes, and that thing in there is a vape, not a hand-gr…
  • Do you have any laptops in there?
  • Five
  • Five what?
  • Five laptops
  • Come here, put them out on this table and turn all of them on
  • 😩😩😩 It’s going to take like 10 minutes to pack and unpack, and I’ve got a flight to catch
  • Don’t know, don’t care

5 minutes later

  • Alright, everything’s good. Why’d you need so many for, anyway?
  • I’m an IT specialist
  • Okay. But what’s this though?
  • It’s 4 hard drives
  • Take them out, show me
  • 😩 Sure…
  • Okay, everything seems in order. Why’d you need so many for, though?
  • I’m an IT specialist
  • Ah, right… You’re free to go

I could’ve saved myself trouble and put all them into a checked baggage, but since I was moving through some totalitarian dictatorship states, I’d rather have all the data close to me rather than have it pulled out and searched without my consent, which they are likely to do given that they forced people to hand off unlocked phones for search before.


I didn’t really mean “tile” as in tiling WM, more like that if you’re this type of guy, then you could just just put everything you’d ever need somewhere on one screen, never maximize anything, and then nothing’s ever going to be out of sight.

My setup is mostly static, with 6 screens, so I rarely even switch windows on screen. I’ve got top-left for whatever is making sounds - music, movies, youtube, etc. Top-right is for the stock charts. Left is for comms - I’ve got all chats tiled up in there, but if I’m in the videocall I’ll fullscreen that, or, if I’m focusing, I put documentation and references there. Middle for IDE, right for the app I’m working on and a front-end debugger. There’s also bottom screen for a back-end debugger, a live database view and a small log tail. Top two screens are stationary that I only use at home, so I don’t need them when I’m out working. The rest are set up so that I don’t ever have anything important out of view. It’s exceptionally good when I’m debugging - I can see, live, absolutely everything that’s going with the app, from rendered page down to db data, click through steps and instantly see what happens where. It also saves me some time, as with one screen I would sometimes forget I was debugging after doing something different in IDE, and then wonder why tf is my app not responding. With debug always open this is never the case. I also set up win+WASD to jump between windows by direction, which in most cases means jumps between screens, so win+w - space would stop whatever is making a noise. When I’m off work, I usually surf or game on my middle screen, tops stay the same, so does the left, bottom switches to PC performance metrics, and right usually has something that controls the PC itself, like fan curves or sound mixer. Surely I could do with a single screen, and I actually went single-multiple-single-multiple before. The second cycle really taught me some window discipline. On the first go at multi-screen I got a short boost of productivity but then fell into a pit where I would have stuff all over the place, constantly switching and leaving apps forgotten on others. It wasn’t until after returning to single that I’ve realized exactly what I want out separated and consistent in one place.

floating (awesome)

Did you seriously set up awesome as a floating window manager? You monster! Jk, do whatever fits you


  • A glance to the side is much faster and easier than pressing physical buttons

  • You can see stuff with your peripheral vision. With alt-tab, you don’t see if anything is happening at all

  • Alt-tab is linear, screens are 2d

  • You can’t tile absolutely everything unless your screen is huge and has very high resolution, at which point it turns into rich people’s version of multi-monitor setup, since a bunch smaller screens are much cheaper than single big one

  • Alt-tab list changes constantly. But some apps are likely to be constantly there, you can throw them on separate screens and unclutter the main one by doing so


Looks like nothing has changed. This is how it opens up on 4k screen. Although, it looks like they tweaked it a little. Up until recently I remember opening a post would show a hilariously small like 800 by 600-something box, half of which was comment section that’d fit like 5 comments at best. But now they finally made it properly scalable.


It’s like the BDSM dynamic. Linux is sub, Apple is dom, and Microsoft is like a guy who calls himself dom, but is actually just a dick.


Nope. I still hate ISO and KS/JIS with passion, even after spending years with those. Keyboard being anything other than ANSI is a huge dealbreaker to me now.


I started lurking twitter somewhat regularly only after the reddit meltdown, and I’m already got so used to X that I instinctively type X into the address bar and press enter to go there. The problem is, it takes me to xvideos.com instead…


It’s not the amount of services that’s the problem, the competition is aleays a good thing. It’s exclusives that are the problem. Almost noone is complaining about origin and uplay even thouhh it’s games are available via a launcher launching yet another launcher. But epic? Everyone hates epic precisely because of their exclusive deals taking content off of other platforms. And for streaming, I guess if some of the players worked out some deal to get their hands on exclusives from other platforms, people would stop complaining about it, even if they jack up the prices to ultimately end up with the same amount of revenue.



I’m an elite FBI KGB K-unit traffic guard. You dun goofed with your silly hacking attempts as I’ve traced your IP back to ::1. Prepare to get your ass counter-hacked


In my hometown there’s two types of public transit: municipal and commercial. I was surprised to learn that a lot of folk, even the younger ones, only travel by former, even though the commercials are a lot faster, frequent and more comfortable. When asked why, the answer is the same: If anything happens on municipal transport - you can sue the transport company and even the city itself. If anything happens on a commercial line - there’s only a migrant driver and “Individual Enterpreneur John Doe” with a few leased buses to his name. Trust definitely plays a factor here, but you’re right that it’s definitely not based on technical knowledge.


imagemagik

Yes, but it’s more of the middle wide block of the picture. Under it, there are quite a few tools that have been maintained by some lonesome guys since 90’s and some that haven’t been updated for years. Sometimes both. Learned about that the hard way, unfortunately.


Alt+SysRq+F, needs to be enabled first

Do note that this opens up a security hole. Since this can kill any app at random and is not interceptable, if you leave your PC in a public place, someone could come up and press this combo a few times. Chances are, it’ll kill whatever the locking app you’re using.


Reminds me when back in the day I was working on a system where one of major component’s acronym was BOOTY. It was hard picking right terms and names for the new parts, but I managed to fit a variable named BOOTY_SLAP in there such that none of the reviewers even questioned it.


In js there’s reduce. Something like

arr.reduce((result, currentValue, currentIndex, original) => {
if(currentIndex < original.length - 2
    && original[currentIndendex + 2] % 2 === 0 ) {
    result.push(currentValue / 2) 
} else { 
    result.push(currentValue);
}
return result;
}, []) 

This would map arr and return halved values for elements for which the element two steps ahead is even. This should be available in languages where map is present. And sorry for possible typos, writing this on mobile.


Hot take #2: Unless you have great code review culture, code rewiews are just unnecessary blockers


While I think everyone can eventually learn, I know a few smart people for whom it just doesn’t click. Like, people who are great at math but get confused by simple concepts like variables and pointers. I know for me there are some topics that I just don’t get myself and unable to make a first move. Like woodworking, how would I even approach something like building a chair? I have no idea even though I’ve read and watched a few guides, just got a myriad of dumb questions instead.


The real hot take: Spaces are better than tabs. Fight me


Вгь, Iмa gо sрrinкlе sоме cугilliс снаггастегs аll оvег sомеоnе’s lаrаvеl vаlidатiоn гules

(The аеос’s are the most evil ones)


Tailscale is built on top of wireguard. It just manages all the hassle of configuring it. In my case it was a godsend as I have like 10 devices all roaming and scattered across multiple countries. It’d be a massive headache to type down IPs and whatnot every time one changes networks.


Regional prices are fair on one hand, but on the other, they open up opportunities for abuse leading platforms to implement region-locking, where you can suddenly find your library unavailable or even entire account inaccessible when noving between countries. That’s the case with steam and spotify, and a few others I can’t quite remember. But yeah, I feel your pain, I even felt bad for that one ps4 my friends used to share between them like that girl in 5 guys meme just because sony doesnt do regional pricing and the games were at times more expensive than their entire PC’s.


Telegram’s secret chats are e2e encrypted as well. They’re not the default option because it’s their way of balancing between being a messenger for privacy nuts and a social network with huge channels full of media at the same time.

Comparing the end-to-end chats, I straight up don’t trust WhatsApp, it could send my messages straight to Zuck as far as I’m concerned. Given how many reverse engineering projects got closed after a cease and desist letter from them, I suspect a great deal of security by obscurity. While Telegram isn’t much better with it’s ridiculously convoluted code, it’s inviting people to check and they have verifiable builds, that means that they are at least confident in what they are doing.

As for Signal and Matrix, I don’t know a single person who uses either, so for me Telegram is the best middle ground for my normie purposes


Telegram has open source clients and protocol specifications. Whatsapp is a piece of proprietary bullshit that you can’t even use without a phone and zuck will sue you for even trying to decomple it