• 0 Posts
  • 22 Comments
Joined 1 year ago
cake
Cake day: July 3rd, 2023

help-circle
  • I hate this shit being routinely used in PHP. Symfony uses those functional comments for routing, essentially scanning every controller file as text on every visit, to gather the url patterns above functions. Laravel uses Reflection, which is functionally the same thing, to provide arguments to controller functions. Also, kind of related, the project I’m working now has few functions that use backtrace to return different results based on where they are called from. It is indeed very cursed and I’m ripping out any usages of them whenever I see one.




  • Tailscale… is not that good. The underlying wireguard is robust, but tailscale control plane is completely proprietary, as well as their DERP servers that it too often uses completely needlessly. They can also block you off from downloading it, updating, or logging in, if you happen to be in a wrong country.

    I’m myself looking for an alternative to it, but having trouble finding something I could share with non tech savvy friends while not being as complex on my end as, say, open/strongswan ais. Any suggestions welcome.


  • 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…



  • 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.



  • 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.




  • 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.