Skip Navigation
Path of Exile 2 New Gameplay Trailer
  • Definitely give Ruthless a go, I love it.. reminds me of early game ARPG's on higher difficulties. Positioning really matters, you have to adapt based on what you get. It seems to have been the proving ground for PoE2's new tempo.

  • Larian CEO's advice about origin characters has thrown my Baldur's Gate 3 playthrough plans into disarray
  • I was going to do an origin character as a solo play-through and a custom character for a group play-through with my mates, but now I might do it the other way around... which means hours in the character creator! Ha.

  • The Fall of Stack Overflow
  • Often the question marked as a duplicate isn't a duplicate, just the person marking it as such didn't spend the time to properly understand the question and realise how it differs. I also see lots of answers to questions mis-understanding the question or trying to force the person asking down their own particular preference, and get tons of votes whilst doing it.

    Don't get me wrong, some questions are definitely useful - and some go above-and-beyond - but on average the quality isn't great these days and hasn't been for a while.

  • Is Web Environment Integrity a risk to the accessibility of the Internet?
  • Google's first quarter 2023 report shows they made massive profits off vast revenue due to advertising.

    It is about control though. The thing that caught my eye is that they're saying that only "approved" browsers will be able to access these WEI sites. So what does that mean for crawlers/scrapers? That the big tech companies on the approval board will be able to lock potential competitors out of accessing the web - new browsers, search engines, etc. but much more importantly... Machine Learning.

    Google's biggest fear right now is that ML systems will completely eliminate most people's reason to use Google's search, and therefore their main source of revenue will plummet. And they're right to be scared, it's already starting to happen and it's showing us very quickly just how bad Google's search results are.

    So this seems to me like an attempt to control things from that side. It's essentially the "big boys" trying to consolidate and firm-up their hold in the industry and not let newcomers rival them, as with ML the barrier to entry has never been lower.

  • [Gamerant] Dungeons and Dragons Player Shows Off Simple But Genius Spell Slot Tracker
  • NPCs! Definitely not PCs! Ha.

    I have seen people that don't track spell slots for NPCs and just have them all at-will, which I think is an interesting idea. But I tend to give players non-combat objectives in their encounters, which prolongs them significantly so spell slot usage can become important for balance for NPCs in those cases.

  • Red Hat refuses Alma's CVE patches to CentOS Stream; says "no customer demand"
  • Red Hat saying that argument in-particular shows they've pivoted their philosophy significantly, it's a seemingly subtle change but is huge - presumably due to the IBM acquisition, but maybe due to the pressures in the market right now.

    It's the classic argument against FOSS, which Red Hat themselves have argued against for decades and as an organisation proved that you can build a viable business on the back of FOSS whilst also contributing to it, and that there was indirect value in having others use your work. Only time will tell, but the stage is set for Red Hat to cultivate a different relationship with FOSS and move more into proprietary code.

  • [Gamerant] Dungeons and Dragons Player Shows Off Simple But Genius Spell Slot Tracker
  • I just have a series of "pips" that I colour-in when used and erase when claimed back. Super simple, easy to see at-a-glance, and robust so it's not going to get messed up in my bag. Added bonus is that it works when being DM too and you have several casters to track simultaneously.

  • Ubuntu server to run Remmina only
  • Don't roll your own if you can help it, just use a distribution dedicated for use as a thin client. I was co-incidentally just looking into this last week and came across ThinStation which looks really good. There are other distro's too, search for "linux thin client".

  • Attackers invite targets to collaborate on a project, convincing them to download and run a repository with malicious npm dependencies.
  • How do Linux distro's deal with this? I feel like however that's done, I'd like node packages to work in a similar way - "package distro's". You could have rolling-release, long-term service w/security patches, an application and verification process for being included in a distro, etc.

    It wouldn't eliminate all problems, of course, but could help with several methods of attack, and also help focus communities and reduce duplication of effort.

  • Was Fedora always so unstable?
  • I personally found Fedora to be rock solid, and along with Ubuntu provided the best hardware support out of the box on all my computers - though it's been a couple of years since I used it. I did end up on Ubuntu non-LTS in the end as I now run Ubuntu LTS on my servers and find having the same systems to be beneficial (from a knowledge perspective).

  • Removed
    I've just hit the mark of 450 uploaded containers to my docker repo! And two of my containers (cmatrix, btop) are at the #1!
  • If I’m okay with the software (not just trying it out) am I missing out by not using dockers?

    No, I think in your use case you're good. A lot of the key features of containers, such as immutability, reproduceability, scaling, portability, etc. don't really apply to your use case.

    If you reach a point where you find you want a stand-alone linux server, or an auto-reconfiguring reverse proxy to map domains to your services, or something like that - then it starts to have some additional benefit and I'd recommend it.

    In fact, using native builds of this software on Windows is probably much more performant.

  • Removed
    I've just hit the mark of 450 uploaded containers to my docker repo! And two of my containers (cmatrix, btop) are at the #1!
  • Containers can be based on operating systems that are different to your computer.

    Containers utilise the host's kernel - which is why there needs to be some hoops to run Linux container on Windows (VM/WSL).

    That's one of the most key differences between VMs and containers. VMs virtualise all the hardware, so you can have a totally different guest and host operating systems; whereas because a container is using the host kernel, it must use the same kind of operating system and accesses the host's hardware through the kernel.

    The big advantage of that approach, over VMs, is that containers are much more lightweight and performant because they don't have a virtual kernel/hardware/etc. I find its best to think of them as a process wrapper, kind of like chroot for a specific application - you're just giving the application you're running a box to run in - but the host OS is still doing the heavy lifting.

  • What should we be using to develop web apps?
  • As always, it depends! I'm a big fan of "the right tool for the job" and I work in many languages/platforms as the need arises.

    But for my "default" where I'm building up the largest codebase, I've gone for the following:

    • TypeScript
      • Strongly-typed (ish) which makes for a nice developer experience
      • Makes refactoring much easier/less error-prone.
      • Runs on back-end (node) and front-end, so only one language, tooling, codebase, etc. for both.
    • SvelteKit
      • Svelte as a front-end reactive framework is so nice and intuative to use, definite the best there is around atm.
      • It's hybrid SSR/CSR is amazing, so nice to use.
      • As the back-end it's "OK", needs a lot more work IMO, but I do like it for a lot of things - and can not use it where necessary.
    • Socket.IO
      • For any real-time/stream based communication I use this over plain web sockets as it adds so much and is so easy to use.
    • PostgreSQL
      • Really solid database that I love more and more the more I use it (and I've used it a lot, for a very long time now!)
    • Docker
      • Easy to use container management system.
      • Everything is reproducible, which is great for development/testing/bug-fixing/and disasters.
      • Single method to manage all services on all servers, regardless of how they're implemented.
    • Traefik
      • Reverse proxy that can be set to auto-configure based on configuration data in my docker compose files.
      • Automatically configuring takes a pain point out of deploying (and allows me to fully automate deployment).
      • Really fast, nice dashboard, lots of useful middleware.
    • Ubuntu
      • LTS releases keep things reliable.
      • Commercial support available if required.
      • Enough name recognition that when asked by clients, this reassures them.
  • Templating engine for docker compose
  • I was using file merging, but one issue I found was that arrays don't get merged - and since switching to use Traefik (which is great) there are a lot of arrays in the config! And I've since started using labels for my own tooling too.

  • Templating engine for docker compose
  • I was recently helping someone working on a mini-project to do a bit of parsing of docker compose files, when I discovered that the docker compose spec is published as JSON Schema here.

    I converted that into TypeScript types using JSON Schema to TypeScript. So I can create docker compose config in code and then just export it as yaml - I have a build/deploy script that does this at the end.

    But now the great thing is that I can export/import that config, share it between projects, extend configs, mix-in, and so on. I've just started doing it and it's been really nice so far, when I get a chance and it's stabilised a bit I'm going to tidy it up and share it. But there's not much I've added beyond the above at the moment (just some bits to mix-in arrays, which was what set me off on this whole thing!)

  • Why is snaps hated
  • I hear they have improved performance now though

    It's still not great. Better, but still slow enough to make you question whether you've actually launched the app or not.

  • Does anyone actually like the default GNOME workflow?
  • I did start with it and use it on a laptop, honestly I think that's where it shines the most - but I guess the more windows you open the less useful it becomes. I think if there was a way to do the expose-like "view all things at once" (Super key) that worked across all workspaces, I'd be all over them. But as there's no easy way to live view everything on all workspaces, I just don't use them.

  • Does anyone actually like the default GNOME workflow?
  • Yes, I love it! Really it's the MacOS-like "Expose" feature that I find to be essential.

    I would advise against using workspaces though, I find those actually sort of go against the core idea of it IMO. There are a few things I'd really like added to it, but for the most-part when you get into it it's great.

    My main desktop I have 4 monitors (I know, but once you start a monitor habit it's really hard to not push it to the limit - this is only the beginning!) It roughly breaks down into:

    1. Primary work (usually a full-screen editor)
    2. Terminals (different windows, some for the project, some monitoring)
    3. Browsers - documentation, various services, my own code output
    4. Communication - signal, discord, what's app (ugh), etc.

    The key, literally, is you just press the Super key and boom, you can see everything and if you want to interact with something it's all available in just one click or a few of key presses away.

    On my laptop with just one screen, I find it equally invaluable, and is actually where I started to use it the most - once again, just one press of Super and I can see all the applications I have open and quickly select one or launch something.

    It's replaced Alt + Tab for me - and I know they've made that better, and added Super + Tab, but none of them are as good as just pressing Super.

    The things I'd really love added to it are:

    • Better tiling (including quarter tiling). It's a sad state of affairs when Windows has far better tiling than Gnome.
    • Super then Search, I'd like it to filter the windows it's showing and shrink/hide the others, along with a simple way to choose one using the keyboard.
    • Rather than having an icon for each window, I also want the tooltip information to always be shown (e.g. vs code project) and for standard apps to expose better information for that (e.g. Gnome Terminal to expose its prompt/pwd) and/or have a specific mechanism by which apps could communicate.
    • Adding Quicksilver-like functionality to the launcher/search would be amazing. e.g.
      • Super
      • Sp... (auto-populates Spotify)
      • Tab
      • P... (auto-populates Play/Pause)
      • Return
    • Session restoration - it just doesn't work at the moment for some reason. Some apps do, some don't. Some go to their correct position/size, some don't.
  • What runs on your base domain?
  • I just have a static page that I randomly change - you can see mine here. In this case I was testing the idea of having text within an SVG for better scaling from mobile to desktop, and also I'm loving orange and purple at the moment for some reason! Oh, and I was testing automated deployments from CI/CD, so I always use my own base domain with those first tests!

  • What was your first experience using Linux? How old were you? Stick around or did you go back to windows before eventually circling back to Linux?
  • Slackware was mine too - all it took was a box of floppy disks and tens of hours of downloading and installing! It was great though, something so different. But it was just a toy, and I went back to DOS/Windows on PC - mainly for the games and hardware support (Voodoo!)

    A year or so later I spent a lot of time playing with Solaris and VAX/VMS at University and really developed a love for the command-line and UNIX environment. It was that which led me to my first job (with HP-UX) and my second (Debian/Yellow Dog). From then on I used it at home a lot more. Now I use Windows for games/gamedev, and Ubuntu for everything else (desktop, laptop, servers).

    But it's amazing how far things have come in some respects, but how some things have regressed over those 20 years - window managers/themes never reached the heights I envisioned in the Enlightenment hay day, session management/restoration/remoting seems to have been eroded away, virtual desktops/window management/tiling regressed and became fractured, the wonder of Compiz didn't really move things in an interesting way, and I felt sure Quicksilver (for MacOS) was the future of launcher, but it's not really been taken up - though the Expose feature is an excellent essential part of Gnome now (Activities)!

    In some ways I think Linux has lost that "wow factor" that we used to have with all those cool features - but it is much more rock-solid and professional now! I use it more now than I ever have.

  • Does anyone know of a good client portal?

    I run my own small software development company and I'd like somewhere my clients can login and get access to things like:

    • Access to documents from their repo(s) (GitHub, all contracts/etc. are kept here)
    • Links to invoices and to pay.
    • Milestone progress from their repo(s) (GitHub)
    • Links to their test, staging, and production services.
    • Ability to get in touch (potentially raising an issue in GitHub).

    We're just doing things manually for now, but before we reinvent the wheel I thought it would be useful to see what's out there to either use directly or extend.

    1
    100% code coverage is near-meaningless - but is there a good measure to use?

    Is there some formal way(s) of quantifying potential flaws, or risk, and ensuring there's sufficient spread of tests to cover them? Perhaps using some kind of complexity measure? Or a risk assessment of some kind?

    Experience tells me I need to be extra careful around certain things - user input, code generation, anything with a publicly exposed surface, third-party libraries/services, financial data, personal information (especially of minors), batch data manipulation/migration, and so on.

    But is there any accepted means of formally measuring a system and ensuring that some level of test quality exists?

    38
    I just discovered Starship, the cross-shell prompt, which has support for docker context
    starship.rs Starship: Cross-Shell Prompt

    Starship is the minimal, blazing fast, and extremely customizable prompt for any shell! Shows the information you need, while staying sleek and minimal. Quick installation available for Bash, Fish, ZSH, Ion, Tcsh, Elvish, Nu, Xonsh, Cmd, and Powershell.

    Starship is a really nice, fast, customisable shell prompt - of which there are many - but Starship supports a very wide range of things out-of-the-box.

    Including docker context's. It detects Dockerfile and docker-compose.yml/yaml in the directory, and if you're not on the default context then it'll show the name of the context you're on in blue alongside a little whale icon. A tiny but very useful feature.

    1
    vampatori vampatori @feddit.uk
    Posts 3
    Comments 59