• Activity
  • Votes
  • Comments
  • New
  • All activity
  • Showing only topics in ~comp with the tag "ask". Back to normal view / Search all groups
    1. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      9 votes
    2. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      10 votes
    3. Anyone here a LISP/schemer?

      LISP and schemes have always, from a distance appeared to be the best way to write code. I even started my own language that has languished for the past couple years, and it's taken on a...

      LISP and schemes have always, from a distance appeared to be the best way to write code. I even started my own language that has languished for the past couple years, and it's taken on a pseudo-likeness to (scheme)-like languages by accident.

      This brings me to my questions -

      1. How did you start?
      2. Does anyone here do systems-level scheme/lisp? what do you program in for that?
      My why on learning lisp/scheme-like languages, and if anyone knows Chez.

      I find the idea of CLI-inspired languages as one of the best possible ways of writing a language, and lisp is very nearly exactly that, it's just how my mind thinks about code, in a procedural/functional/modular way. This is one of the reasons I adore programming in Odin, as it's a modern systems-level procedural language, but it is not a scheme/lisp-like language. I should note, I abhor working with REPLs, but I can learn to live with it.

      Corollary, as I am sure the audience for this is even smaller, ignore if you haven't a clue - but I am incredibly interested in Chez, for the performance metrics, the systems design, and the whole lot - yet there aren't any real resources other than the manual to learn. As I am not a native schemer, it's almost alien, and a bit hard to get right into and make something useful. Does anyone know of any good resources for this?

      12 votes
    4. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      14 votes
    5. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      19 votes
    6. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      14 votes
    7. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      15 votes
    8. Windows 11 cleanup/configuration script(s)?

      I'm doing a long overdo computer update (new CPU, mobo, and RAM), and am going to be reinstalling windows for the first time in a while. My current system is still on Win10 due to incompatiblity...

      I'm doing a long overdo computer update (new CPU, mobo, and RAM), and am going to be reinstalling windows for the first time in a while. My current system is still on Win10 due to incompatiblity with Win11, however I wouldn't have updated to Win11 until now anyway. I have Win11 on a Surface Pro and with recent updates adding features that match my existing muscle memory better (such as allowing expanded window buttons and putting Start on the left), I'm not as resistant to installing Win11 on my new hardware. I have access to the Education version of Win11 which after some research looks like it's basically Windows Enterprise and that itself seems like a big feature since it shouldn't come with a lot of the bloat apps already.

      With that in mind I have few questions:

      1. Does anyone have a PowerShell script they've put together to run on a fresh Windows 11 install that configures a lot of the settings to make it behave more like Win10 (and it's predecessors), toggles privacy settings on, etc. I am not looking for something that tries to strip anything out, I just want something that will save me time chasing down all the settings I've slowly found and adjusted on my Surface. I have the default folders like Pictures and Documents pointed to a drive on a seperate drive from my Windows drive specifically to make migrating to a new installation easier. I'd love something that prompts me to update where those shortcuts should point as well.
      2. Does anyone have any protips for getting the bulk of programs I need installed? I looked at Winget and Chocolatey a couple years ago, but they didn't quite look as fuss free as I was looking for. I generally avoid installing things from the Microsoft app store (which I understand would make this easier if I was willing to lean more into the Microsoft ecosystem). I'd love something (script based or otherwise) that's going to grab and install the program (rather than app) for a list of things like Firefox, Spotify, Steam, Miniconda, etc. I plan to make a list of programs I have installed that I know I will want to reinstall before doing the fresh install, but I'm making a plan to make installing everything as easy as possible. If there's a reliable script based way to install like 80% of my main programs I'd be thrilled to only have to track down and install more specialized stuff.
      3. Any general advice for transfering my browser data? I use Firefox, am signed in to an account, and think I have everything set to sync. However I'd love to bring over all my browser tabs and windows I'm still working in. I did look up how to transfer the browser data and found a Mozilla article for it, just wasn't sure if anyone had a method they discovered and like better.

      Thanks in advance for tips and advice.

      25 votes
    9. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      9 votes
    10. Kiosking Ubuntu computers

      I recently set up some public computers with Ubuntu at a hackerspace. People kept logging into their Gmail etc. and forgetting to log out. For their own benefit I changed the computers to use...

      I recently set up some public computers with Ubuntu at a hackerspace. People kept logging into their Gmail etc. and forgetting to log out. For their own benefit I changed the computers to use overlayfs so on reboot all changes from the base filesystem (Ubuntu 24.04 + packages + updates) are lost. I'm looking for tips on configuration. Keep in mind that because our users tend to be fairly technical I am not attempting to outright prevent changes, just prevent them by default.

      Here are the current details:

      • The machines have a wallpaper warning users that all changes are wiped on reboot
      • The normal automatic update system is disabled (updates through it won't persist)
      • I install updates and reboot on a cronjob at 5am every day (this uses overlayroot-chroot)
      • The overlay is implemented as an encrypted filesystem on a separate partition, with the key generated on boot and held in memory
      • Documentation is taped to the desktop computer itself educating users on how to make persistent changes
      13 votes
    11. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      19 votes
    12. Cloud hosting in EU

      Hi! I've decided to move some of my selfhosted things from on-prem (at home ;)) to the cloud, and at the same time I'd like to try and run this in EU, or at least europe. I'd like to get started...

      Hi!

      I've decided to move some of my selfhosted things from on-prem (at home ;)) to the cloud, and at the same time I'd like to try and run this in EU, or at least europe. I'd like to get started fairly quickly as this was prompted by one of my home servers halfway dying on me.

      The features I'm most interested in are approximately:

      • Virtual machines.
      • Storage. Cheap long term for backups (similar to S3 Glacier).
      • Managed DB, most likely postgresql.
      • Serverless jobs (similar to AWS lambda).
      • IaaS (I've got a bit of experience with terraform, but it doesn't have to be that).
      • Builtin monitoring.
      • Git hosting, it's likely that I'll just go with github/gitlab here, but if there's a nice alternative I'm up for it.
      • Automated sending of email. I'm using AWS SES atm, and I'm very happy with it.

      Some other things:

      • I intend to run a combination of services written by others, e.g. nextcloud and software I've written myself.
      • I'll most likely be running linux only, but I prefer to select my own flavour where it makes sense.
      • I much prefer managing permissions and users in gcp than in aws as I find aws way too complicated for my needs while gcp mostly just makes sense.
      • I'd prefer a platform that's being developed and improving over time with big potential for the future.
      • This is a hobby project, and some of these requirements may seem a bit contradictory or non-optimal, but that's ok.
      • I have some experience running kubernetes (self-hosted), and I'm not a huge fan of the complexity and yaml files, at the same time OpenStack is getting kinda old, and I don't know if I think it's a platform for the future. But from what I see most of the options seems to be built on top of one of those.
      • Cheaper is of course better, I don't have a company-sized budget, this is all coming out of my "hobby pocket".
      • I live in Sweden, so datacenters geographically close is a plus.

      Right now I'm looking at European alternatives to Amazon Web Services (AWS), and Scaleway is looking the most promising, but I'm really skimming the top when it comes to info atm.

      Hope that makes sense =) I'm interested in all kinds of feedback.

      22 votes
    13. Opinions on NPU laptops?

      Looking to buy a new laptop, and of the model I'd like (thinkpad carbon x1), it seems like I can choose one with or without an NPU. My surface-level understanding is they make built in AI...

      Looking to buy a new laptop, and of the model I'd like (thinkpad carbon x1), it seems like I can choose one with or without an NPU.

      My surface-level understanding is they make built in AI processing and a couple other niche uses more efficient. Flip side, they're maybe a marketing gimmick?

      Price aside (price difference doesn't seem too great), I'm wondering: should I buy a model with an NPU to help potentially future proof? Are there potential downsides to an npu model? Upsides?

      I know there are lots of technical people here, I'd love to hear your thoughts or experiences!

      18 votes
    14. Suggestions for uses of old computer hardware?

      I recently “upgraded” my wife’s computer, since it was about 7 years old and I think the WiFi chip in the motherboard was starting to go (and the motherboard wasn’t Windows 10 compatible either,...

      I recently “upgraded” my wife’s computer, since it was about 7 years old and I think the WiFi chip in the motherboard was starting to go (and the motherboard wasn’t Windows 10 compatible either, and she wanted to upgrade to Windows 11).

      Of course, upgrading the motherboard to the latest WiFi standards meant upgrading the CPU (also swapped from Intel to AMD), which resulted in getting new RAM as well (a rough time for that, given the prices).

      All of that to say, I’m now sitting on a mostly functional old motherboard, cpu, and ram. Basically an entire computer sans case and power supply (I’m sure I have a hard drive laying around somewhere).

      Any thoughts on what I could do with it? I’d thought of trying to build out a NAS (or some other home server of sorts), but I’ve been thinking that for 2 years and haven’t done it yet because I haven’t really found a “need” for one. I basically just use my computer for gaming, and I don’t really have or plan to have media collections with seem to be the main use case of a hobby NAS.

      23 votes
    15. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      14 votes
    16. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      8 votes
    17. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      13 votes
    18. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      12 votes
    19. What diagramming tools do folks use?

      I've gotten very tired of fighting the GUI of my company's self-hosted charts.io instance, so I've been looking around at diagramming tools. I saw D2 posted on Hacker News, which seems like an...

      I've gotten very tired of fighting the GUI of my company's self-hosted charts.io instance, so I've been looking around at diagramming tools. I saw D2 posted on Hacker News, which seems like an interesting option, but I'm curious if anyone around here has a beloved tool to recommend.

      I think my main use-case would be diagramming how components of a software system go together, although sometimes I'm interested in making wiring diagrams and stuff, too. Something that lets you specify overall dimension constraints for diagrams would probably help, since I often need to throw a diagram into a PowerPoint.

      39 votes
    20. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      10 votes
    21. Gimp Tutorial for Idiot?

      I've been trying to use Gimp to replace other options for years now, but it feels so abstruse and severely inefficient. I used to use Photoshop around 15 years ago but have stuck with Paint.NET...

      I've been trying to use Gimp to replace other options for years now, but it feels so abstruse and severely inefficient. I used to use Photoshop around 15 years ago but have stuck with Paint.NET since - my problem is that I now use Linux and paint.net isn't available natively. I was using Pinta, but it just is like temu paint.net, and I wanted something more/better (also it has a number of bugs that can easily frustrate me and often crash/hang when doing work on larger files or for longer times).

      And for decades, people (both Windows and Linux users) have tried selling me on Gimp. I've tried over and over to get into it, but nothing made sense and it took way longer to do simple things than I thought it ought... but I'm trying for reals about 10 years since my last attempt.

      Please does anyone have a page that explains how to do things without everything being convoluted? There seem to be no ways to turn commands into keybinds or icons I can just click, and all the keyboard shortcuts I find are in relation to nothing I want to do. Ultimately, I prefer keyboard shortcuts, but I can do icons as well.

      Latest example: I want to draw a rectangle outline. Should be simple, but there is no tool to draw shapes (at least that I can find, and the tutorials online don't seem to imply the existence of one either). Okay... I have to select the rectangle select, then I have to go to the menu (Edit) and choose Stroke Selection... which pops up another menu with a ton of options. That's great and all, but in every other program I've ever used (even MS Paint!) you just click an icon and make the rectangle. If you want to alter the shape or something you right click or hold click, or maybe you can bring up a menu. But if I want to make a number of rectangles over and over? Even with keyboard shortcuts I have to make the rectangle (no issues there), then click Edit, "s" apparently takes me to the stroke menu, then enter. Bloated at best.

      So, if anyone has a good tutorial or something similar that can help me out here, or an alternative Linux-based raster graphics editor that is free, I would greatly appreciate to know of it/them. I really want to like Gimp, and I'm hoping someone here can either help me get into it or direct me elsewhere. Thanks!

      Edit: I realise I forgot to mention, I did use Krita for a bit. It felt like an in between Pinta and Paint.NET, but iirc, it crashed somewhat often or had enough bugs that I went back to Pinta.

      30 votes
    22. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      12 votes
    23. What code editor / IDE do you use (2025)?

      For a while now I have used VSCodium- which is just Microsoft's VSCode, but with as much of the telemetry stripped out (or rather, not built-in in the first place) as possible- but I've found...

      For a while now I have used VSCodium- which is just Microsoft's VSCode, but with as much of the telemetry stripped out (or rather, not built-in in the first place) as possible- but I've found myself with a desire to move away from Electron-based apps for a number of reasons.

      Primarily, I'm ideologically opposed to the trend in which everything is an Electron-based web app packaged as a "desktop application", but on a slightly more functional note, Electron seems to behave poorly in Wayland contexts, especially on Arm64 devices.

      In terms of feature set, I'm not too interested in complexity. Something open-source, relatively clean / light-weight, capable of providing a project overview and a number of tabbed or vsplit / hsplit buffers. Something with comprehensive syntax highlighting and some form of language server interface. Something theme-able, and good to look at, with relatively intuitive or well-established keyboard shortcuts. I don't much care for integrated terminals, extensive debugging tooling, or any form of built-in AI assistant.

      I have been trying out Micro, with a set of plugins which allow for a project overview, a language server, and a number of other QOL improvements, but it has a list of breaking issues that will likely not be solved for years given the speed at which pull-requests are addressed, if at all. Even so- it hits most of the marks that I find most important to me.

      But I'm also interested in what other people use; what other programmers find matter to them. So what text editors, or IDEs do you swear by (and please don't suggest VIM- it's overwhelming ;])?

      46 votes
    24. Does anyone use AppleScript on macOS?

      I heavily utilize ChatGPT to generate .ics files to populate my Apple Calendar with various events, but I have been wanting to upgrade my time management and also use the Reminders app. I recently...

      I heavily utilize ChatGPT to generate .ics files to populate my Apple Calendar with various events, but I have been wanting to upgrade my time management and also use the Reminders app.

      I recently used ChatGPT to help me populate a Trello board with tasks associated with a project I am working on, but I was getting annoyed with having my workflow split across Apple Calendar and Trello. I exported my Trello board as a CSV and was trying to have ChatGPT turn it into a file I could import into Reminders, but as it turns out, this is not easy.

      .ics files do contain syntax for reminders tasks with due dates that populate the Apple Calendar, but generating an .ics file with only reminders tasks and importing into Calendar doesn’t actually work. Calendar recognizes that the .ics contains Reminders tasks and opens Reminders to import the tasks, but Reminders returns an error because it doesn’t support import, it only supports export to Calendar.

      I found that Reminders has a Reminders.scpt dictionary file within the .app package that details .applescript commands that can create new tasks, so I fell into the world of AppleScript. The issue with AppleScript is that it was created in the 80s and hasn’t been updated since 2013. It has no native CSV support and is pretty clunky.

      AppleScript does have text file support, so I was able to have ChatGPT convert my CSV into a .txt that I could parse with AppleScript. This allowed me to automate the creation of tasks in the Reminders app from my Trello CSV, but it was annoying and I still feel like there must be a better way.

      Does anyone here use AppleScript regularly and know its full capabilities?

      Also, are there any good resources out there for learning more about AppleScript? The Apple documentation is very out of date and it seems like more of a legacy language than something Apple regularly maintains.

      14 votes
    25. Using NFS mount with docker containers

      When I first setup my NUC, I wanted to setup docker on it so that all the information is stored on the NFS mount I setup on my Synology mount. Meaning volumes and anything of that kind. One issue...

      When I first setup my NUC, I wanted to setup docker on it so that all the information is stored on the NFS mount I setup on my Synology mount. Meaning volumes and anything of that kind.

      One issue that came up however, was that if my router experience a temporary glitch, the docker containers would then also experience an issue since they were trying to access information stored on the mounts and my system would freeze and I had to force a shutdown to get the mount to work correctly.

      Which makes me wonder, what is the recommended way to have docker containers store their information on an NFS mount while also allowing taking into account that sometimes a networking issue or router issue might happen?

      6 votes
    26. How can I combine several ranked lists into one mega list?

      Hello smart ~comp people! I have a very basic, layman question. The kind of question I'm scared to make on Reddit and gettting flamed. Tildes is usually more patient ;) Suppose that I get get a...

      Hello smart ~comp people! I have a very basic, layman question. The kind of question I'm scared to make on Reddit and gettting flamed. Tildes is usually more patient ;)

      Suppose that I get get a bunch of "best of" lists for several videogames. Like "the best RPGs on the Nintendo DS" for example. The lists have varying lenghts. Is there an easy way for me to combine those lists into one that doesn't require (really) learning to program?

      I can follow instructions! Thanks!

      24 votes
    27. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      6 votes
    28. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      14 votes
    29. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      20 votes
    30. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      13 votes
    31. UPS recommendations for home use?

      I have traditionally used APC's UPS products for my NAS, router, media centre and desktop computer. Nothing fancy, just something to survive short power outages and to allow graceful shutdowns if...

      I have traditionally used APC's UPS products for my NAS, router, media centre and desktop computer. Nothing fancy, just something to survive short power outages and to allow graceful shutdowns if such an outage lasts longer than a few minutes.

      Unfortunately, I have had three of APC's devices malfunction in the past decade and while their customer support has always been excellent, I would prefer products that just work and don't cause me additional headaches. Do you know of any UPSs that you would recommend for home use and are reasonably priced? I'm located in the EU, if that makes a difference.

      31 votes
    32. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      14 votes
    33. Is OpenWRT worthwhile at home?

      I'm buying a WiFi router for a new house. What would we get from using a router that works with OpenWRT, versus just going with Wirecutter's top pick? Since we upgraded to fiber, I'm pretty happy...

      I'm buying a WiFi router for a new house. What would we get from using a router that works with OpenWRT, versus just going with Wirecutter's top pick?

      Since we upgraded to fiber, I'm pretty happy with the network speeds at our current house. We don't have WiFi 6. I'm fairly unlikely to mess with advanced networking features as long as the networking just works.

      The new house will also have fiber. The previous owners left us some kind of mesh networking devices, which I need to go look at tomorrow.

      If we did go with OpenWRT, is there any particular recommended hardware?

      26 votes
    34. Request: resources for learning digital electronics

      This college term I was signed up to a class on Digital Electronics, and it kicked my butt on the very first week because the learning materials were extremely obtuse; I actually dropped the...

      This college term I was signed up to a class on Digital Electronics, and it kicked my butt on the very first week because the learning materials were extremely obtuse; I actually dropped the course because I could not see myself being able to keep up no matter what I did, especially because my university does not allow late work. I'm going to have to go back to it next term in order to get my degree, so I'm looking for any learning resources anyone can recommend me to give me a head start.

      Just to be clear, I'm primarily looking for good resources that covers basics like boolean algebra (which I already understand but am terrible at) and logic gates. I know we'll be using VHDL later, so those will also be appreciated.

      16 votes
    35. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      14 votes
    36. Musings on "Developer Mode"

      Peruse this relevant meme. It depicts the magical transformation that occurs at the moment one taps the Android build number for the seventh and final time, as the arcane ritual transforms one...

      Peruse this relevant meme. It depicts the magical transformation that occurs at the moment one taps the Android build number for the seventh and final time, as the arcane ritual transforms one from a chill dude in a business suit into that powerful, shadowy figure known only as "a developer".

      It's a joke, obviously, but only half a joke. The "You are now a developer!" message that the developers at Google programmed your phone to display, when it grants you this set of powers that Google permitted them to program it to grant you, is doing something in the model of the world that its authors live in.

      "Developer mode" isn't just for Android. The browser you are reading this in has a little panel you can open to inspect or adjust the content of the page. It's useful for things like composing humorous screenshots, deleting annoying ads, and downloading images and videos, but it's called the "Developer Tools", a set of tools defined not by what they do but by who they are intended or imagined to be doing it for. Discord has not only a "developer mode" that lets you get the permanent identifiers for messages, but also additional developer-exclusive functions that are activated by enabling the Electron developer tools and injecting code to set the isDeveloper flag. Windows has a Developer Mode. ChatGPT ~got one for some reason~ has a popular jailbreak based around convincing it that it has one. This notion that a special class of people called "developers" exist, and that they must or should be afforded extra power in our society's digital spaces, is woven into the structure of the digital environment.

      Why is it like this? Big Tech doesn't give any power for free. Is it something their labor force of developers demands to be able to grant to their counterparts outside the company? Is it a Ballmer-Doctorow gambit of courting programmers as potential business customers by temporarily empowering them, before they start putting up the prices on the code signing certificates? Is it to distract and mollify hackers, to keep them from seizing similar powers in a more destabilizing way?

      Is there any truth to the notion that "developers", independent of whether or not they are currently testing or programming something, are a class with different needs and rights from normal humans?

      17 votes
    37. New linux user: dual boot Mint install fatal error

      Following this guide (linuxtechi) and got Mint Cinnamon 22.2 (Zara) - yes the iso is verified, created bootable USB with Etcher, and after the screen where I input user details and password, well...

      Following this guide (linuxtechi) and got Mint Cinnamon 22.2 (Zara) - yes the iso is verified, created bootable USB with Etcher, and after the screen where I input user details and password, well along the install process, got a fatal error (screenshot) :
      Unable to install GRUB in /dev/sda
      Executing 'grub-install/dev/sda' failed
      This is a fatal error
      Here is a screenshot of the GParted, fdisk, df, lsblk and what re-running the install now looks like.

      Restarting (after pulling out USB) , instead of going to Windows 10, goes to a black screen that says

      This is not a bootable disk. Please insert a bootable floppy and press any key to try again ...
      Turn it off, back on with USB, at least I can still boot from there into USB-space mint for now.

      I'm guessing this has something to do with some peculiar hardware/BIOS settings than the fault of Mint. Worth mentioning that this is a refurbished 2013 HP box (order excerpt) , with a windows 10 digital key license, and that upon every fresh boot up (first time ever to now) it shows a black-background screen that says

      The preboot authentication application cannot be found.
      Press any key to attempt boot without authenticating.
      so it's very possible something is bork'd from the get go or else it has some very unorthodox settings to begin with.

      Can confirm running Mint off the USB is fine. The screencaps are sent from Firefox within, and I'm super happy with how clean everything is. Just not sure what to do now. If it's complicated, I can try sending the box back for refund and try again with another brand new box. But now I'm shy about trying dual boot on my regular desktop.

      Questions after looking around for help:

      1. am I booting from UEFI or Legacy? I don't know -- how do I check ?
      2. Fatal error installation hard stop: is there a way to access a log of what happened ?
      3. How do I boot back into Windows 10 for now ? use GParted to delete all the "new" partitions and try booting again?

      Edit: gave up . It's now a Mint box. Goodbye Windows you can kiss my dust

      18 votes
    38. Linux noob question regarding full / partition

      Background: I started daily driving Linux (specifically Mint) several months ago and for the most part it's been great. Some weird hiccups occasionally but nothing I can't handle/deal with. When...

      Background: I started daily driving Linux (specifically Mint) several months ago and for the most part it's been great. Some weird hiccups occasionally but nothing I can't handle/deal with. When doing my research to set the system up for the first time, I decided to go with 30GB for the / partition and ~220GB for the /home partition (the other half of the drive is for Windows 11 and the various essential tiny partitions). For a while this seemed to be fine, but lately I've been starting to get warnings when performing software updates via the Update Manager that the / partition is running out of space. I think it peaked at maybe 90-95% full a few weeks ago, at which point I started doing some research and cleaning up a bit (apt autoremove, deleting old logs and kernels, etc). I was able to claw back ~4GB and kick the can down the road, but now the warnings have returned and I'd like to handle this properly. I'm working from the assumption that I simply made the / partition too small and intend to double it by giving it some of the Windows space.

      My question: How do I know if this is expected or if I've been doing something wrong? Is 30GB indeed too small on modern Mint, or should that have been enough? I know it partially depends on what all I actually do with the computer, but I really don't have very many applications installed (aside from defaults of course) and only four of them are Flatpaks, which I read tend to be larger. If it helps, the Disk Usage Analyzer reports that within /, /usr is taking up 13.2GB (55%), /var accounts for 9.1GB (38%), /opt is 1GB (4%), and everything else is <1% each.

      Thanks in advance!

      23 votes
    39. Anyone have advice (or horror stories) on setting up a 100GbE NAS with RDMA / SMB Direct?

      Pretty much what the title says - I'm building out a smallish compute cluster and hoping to set up some centralised storage that won't be a bottleneck, but I'm very much not a networking...

      Pretty much what the title says - I'm building out a smallish compute cluster and hoping to set up some centralised storage that won't be a bottleneck, but I'm very much not a networking specialist. Most of the load will be random reads from compute nodes pulling in the bits of various datasets they need to work on.

      Is it plausible to throw a 100GbE ConnectX-5 card and 256GB RAM into a consumer AM5 machine, format everything in ZFS, and set up a network share with KSMBD? My understanding is that I want to ensure everything's using mirroring rather than worrying about RAIDZ parity if I'm optimising for speed, which is fine, and I know that I'll only get full throughput as far as things can be cached in RAM - but is it reasonable to expect ZFS ARC to do that caching for me? Dare I hope that the SMB driver will just work if I drop it in there between the filesystem and the NIC? Or have I crossed the line into enterprisey-enough requirements that it's going to be an uphill battle to get this working anywhere near line speed?

      15 votes
    40. How is Linux these days?

      How is Linux these days for everyday desktop use? I'm looking to reformat soon and I'm kind of sick of all the junk the comes alone with Windows. I've used Linux briefly, back in the early 2000's...

      How is Linux these days for everyday desktop use? I'm looking to reformat soon and I'm kind of sick of all the junk the comes alone with Windows.

      I've used Linux briefly, back in the early 2000's but..not at all since really. I'm also learning web dev so I thought it could be fun to use to get used to it.

      Do you use it for everyday use?

      If your unfamiliar with Linux, how difficult is it to get things "done" on it?

      Do most modern apps work these days?

      As someone that's been using Windows for most of their life, do you think it's difficult to pick up and get running?

      Do games work?

      Edit I'm going to test out mint tonight on a thumb drive, thanks everyone!

      52 votes
    41. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      16 votes
    42. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      16 votes
    43. Home network help part 2, SSH and Server

      Edit: I've made some progress if you want to read the edits at the end. Last year I started slowly planning out a home server setup with help from Tildes. I've gotten a few things up and running,...

      Edit: I've made some progress if you want to read the edits at the end.

      Last year I started slowly planning out a home server setup with help from Tildes. I've gotten a few things up and running, but have been bouncing off a variety of walls trying to get to the next step.

      The first goal was-
      "Ok i've got Cosmos up and running for local access using self signed certs. I'd like to get it up and running using lets encrypt and a domain so I can eventually start giving a few family and friends proper logins and external access". Of note, ideally,

      This led to a second goal of-
      "Gosh it sure would be nice if I didn't have to be sitting at the physical server to do testing and could instead be at another computer in my house. I should probably configure ssh locally (working) and get it to forward windows so I can work in other rooms (not working...)"

      "The stack":

      Server - MS01 running LTS Ubuntu with Cosmos Cloud installed (well it was, but is currently not)

      Router - Ubiquiti Dream Machine Pro (of note i've done some minimal guided config of this to try and harden it at a basic level so my cameras and IoT devices are better isolated. Not fully default, but the server is, for now, in the same network/vlan as the rest of my main computers so don't think this should matter.)

      Clients - All local windows 10/11 machines for now, although in the off off chance it matters, i'm running nushell in the terminal

      Domain Provider - Cloudflare

      The SSH Problems:

      I have a friend who's set SSH up for themselves with their home server, however they haven't had time to come over and troubleshoot. My rough understanding is "setup VcXsrv, change some configs, then it just works.". Windows these days has ssh built in, and I can SSH to the machine just fine with my key.

      ssh -X...less so. I've read some docs, followed some guides, tried copilot, and it all leads to "yeah should work" and it just doesn't. I have configured a ssh config on both machines to allow X11 forwarding, i've started the XLaunch making sure I disable access control, made sure my unbuntu login isn't on wayland and so on. So far, no dice.

      If someone has an end to end guide they trust to link, i'll gladly read and start from scratch. I've been cobbling together so many sources at this point i'm very lost. Lots of things jump quickly to "well just use WSL", which yeah ok i probably should test that next, but I was hoping I wouldn't need to (and am unclear if that'll even help).

      The HTTPS/Domain Problems:

      So..cosmos cloud.

      I like the theory behind this software in that it helps enforce best practices so you don't blow your own head off when you screw something up. Maybe it's not the absolute best starting place, but getting it running without a domain was trivial, and more importantly, shockingly well documented. Not perfect, but for what I understand is mostly a one man show it's better than a lot of professional grade stuff i've dealt with.

      And so I figured it'd be easy to just do the setup from scratch but choose https and point to my domain. There's been two attempts here, no DNS challenge and DNS challenge

      No DNS Challenge Method

      Per their docs it seemed easy enough. I'd never touched a DNS screen before but I configured an A record pointing at my WAN IP (eventually...) and disabled the cloudflare proxy.

      Well going to that domain took me to my router login. Hmm. After screwing around with port forwarding and router DNS records I never got it to work and felt like I was playing with fire, so undid everything I'd done and decided I'd try the DNS challenge. Of note I could still access the cosmos cloud page from http directly to the IP, where it confirmed it failed to get the TLS cert, but https to the domain wasn't having it.

      DNS Challenge Method

      This seemed like I was close, and then nothing. I have no idea if i need to do internal routing on the router for this, it just sorta says "Do the DNS challenge, here's a form, you don't need to fill out all of it" which uh...ok.

      I filled out what I think I needed to after setting up a token(not an API key) in cloudflare. I'm pretty certain I got that correct as I saw text files with keys created on cloudflare's DNS page and had I screwed that I'm guessing it couldn't have.

      However from what I can tell, that's as far as it got. The files nuked themselves 2 minutes later when the TTL expired, and going to the domain locally gave me the cloudflare "our shit's fine, the server is timing out" page. From what I could tell diving into logs, cosmos had the same error, and I couldn't hit cosmos at all, even using the IP and http.

      I do however wonder if maybe it did work BUT since I undid the router DNS record before trying this maybe that killed it? dunno.

      Any ideas?

      That's basically my situation. Figured i'd throw it here and see if anyone has some guidance or troubleshooting they'd recommend. Aforementioned friend who's done some of this before should be free one of these weekends and can probably help, and I haven't tried again since the second attempt. I've thrown some of the questions i've had on the discord and gotten minimal response(although I'm kinda using the thread as a rubber ducking spot as well). Next attempt is probably just DNS challenge again after more research on it and seeing if that works if I put back on the router DNS record, but i feel like logically that shouldn't work.

      Oh also if anyone has some general recommended reading so that I can really understand what the hell it is I'm doing I'd love that. There's a ton of networking books/articles/etc, and in general I'd like to learn more about the subject, but I'm curious if there's a go to for people who are techy and trying to dip their toe in all of it the same way I am and setting up a proper home network and server.

      Edit:
      So after lots of testing, doc reading, and help from the cosmos discord I:

      1. Got the DNS challenge to work according to the cosmos logs.
      2. narrowed down that the main issue was my UDM pro router policies. Needed a firewall rule and a port forward, and had only done one of those at a time in my various attempts and not realized they were really different.

      Now once that was all working and I could hit the site i was getting "likely a false cert" errors, but since i've got all the pieces I'm probably going to try another clean install later and see what we get. Hurrah for troubleshooting, good docs, rubber ducking, and helpful humans.

      Edit 2:

      Eventually required:

      1. Port forward rule in UDM pro
      2. Firewall rule in UDM pro
      3. Static IP and DNS entry in UDM pro.

      One I’d done those things started working. Killed it after that as now I need to think about architecture

      14 votes
    44. Should C be mandatory learning for career developers?

      The year is 2025. The C programming language is something like 50 years old now - a dinosaur within the fast-moving environment of software development. Dozens of new languages have cropped up...

      The year is 2025. The C programming language is something like 50 years old now - a dinosaur within the fast-moving environment of software development. Dozens of new languages have cropped up through the years, with languages like Rust and Go as prime contenders for systems-level programming. Bootstrapping a project in C these days will often raise eyebrows or encourage people to dismiss you out of hand. Personally, I've barely touched the language since I graduated.

      Now, with all that said: I still consider learning and understanding C to be key for having an integrated, in-depth understanding of how computers and programming really works. When I am getting a project up and running, I frequently end up running commands like "sudo apt install libopenssl-dev" without really giving it much thought about what's going on there. I know that it pulls some libraries onto my computer so that another program can use them, but without the requisite experience of building and compiliing a library then it's kind of difficult to understand what it's all about. I know that other languages will introduce this concept, but realistically everything is built to bind to C libraries.

      System libraries are only one instance of my argument though. To take a more general view, I would say that learning C helps you better understand computers and programming. It might be a pain to consider stuff like memory allocation and pointers on a regular basis, but I also think that not understanding these subjects can open up avenues for a poorly formed understanding about how computers work. Adding new layers of abstraction does not make the foundation less relevant, and I think that learning C is the best avenue toward an in-depth understanding of how computers actually work. This sort of baseline understanding, even if the language isn't used on a regular basis, goes a long way to improving one's skills as a developer. It also gives people the skills to apply their skills in a wide variety of contexts.

      I'm no expert, though: most of the programming I do is very high-level and abstracted from the machine (Python, Haskell, BASH). I'm sure there are plenty of folks here who are better qualified to chime in, so what do you think?

      39 votes
    45. Looking for advice on setting up computer case fans

      I've never actually put in more fans than what a case comes with, but I have an unraid server that is running hot so I got a pack of 5 fans to put in it. From what I understand, you want them set...

      I've never actually put in more fans than what a case comes with, but I have an unraid server that is running hot so I got a pack of 5 fans to put in it.

      From what I understand, you want them set up so that there is a solid airflow throughout the case; ie I'm planning to set it up so that the front and bottom fans are intake and the top and back fans are exhaust, so that cool air enters from the front/bottom and exits out the back/top.

      However, one of the fans will be going on the side door. I'm assuming this wants to be intake as well (so that the airflow goes through the entire case, as I assume it would disrupt the airflow as exhaust). Or would it be better to not have one on the side and just have an extra fan laying about?

      This is how I plan to set it up (shout out to MS Paint): https://ibb.co/KcXx5cgW

      Note: The X's are because the installed chassis block being able to put fans there; the bottom one is especially disappointing as it's the HDDs that are mostly getting hot

      Just wanted to confirm that that set up looks good and that intake for the side one (where the ? is) is the proper choice

      10 votes
    46. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      20 votes
    47. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      14 votes
    48. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      9 votes
    49. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      10 votes