• Activity
  • Votes
  • Comments
  • New
  • All activity
  • Showing only topics in ~comp with the tag "ask". Back to normal view / Search all groups
    1. W11 Bluetooth won't pair but can see devices. BT works w/ Linux

      tldr; W11 bluetooth doesn't work with multiple cards. It will see devices but will not pair. Same hw pairs under Linux. hey folks. I posted this to /r/techsupport on reddit and for some reason...

      tldr; W11 bluetooth doesn't work with multiple cards. It will see devices but will not pair. Same hw pairs under Linux.


      hey folks. I posted this to /r/techsupport on reddit and for some reason they say they don't support Windows 11 Enterprise... and it took them a day to tell me instead of using automod. I thought this was both funny and the dumbest thing. Anyway, here's a fun little issue I'm trying to sort out.

      Windows 11 Enterprise 22h2 (22621.3810)

      About two weeks ago my bluetooth decided not to pair with anything. It will see devices and try to pair, but it never goes through.

      I have tried:

      • a different wireless card / bt combo (PCIE)
      • removing the wireless / bt combo and using a bt dongle
      • removing all drivers (show hidden devices etc), rebooting clean, reinstalling
      • changing the USB connection to the mobo for the PCIE card
      • live boot of latest Ubuntu LTS -- successfully paired DS4 controller

      The event logs for Bluetooth Policy are all positive (e.g. A connection to a remote device 0xA4538553B7FD was successfully established) -- but nothing is paired.

      This happened on a day when I added two HDDs to the box and ran updates etc. I also tried everything above without the drives installed without any luck.

      Any ideas?

      3 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?

      11 votes
    3. Database schema for project management app

      As a side project, I'm developing a desktop app for project management, especially for students, self-employed, freelancers, etc. as a general purpose productivity tool, not from any business or...

      As a side project, I'm developing a desktop app for project management, especially for students, self-employed, freelancers, etc. as a general purpose productivity tool, not from any business or industrial perspective. The idea is to create projects/goals/missions and break them down into individual milestones and tasks, and then keep tracking them as they are getting done.

      If it takes off, I have other features planned too like embedded notes, tree view for brainstorming items, MCQ puzzles, quote of the day, etc. But for the core project-milestone tracking, this is what I've come up with so far in sqlite:

      drop table if exists projects;
      drop table if exists milestones;
      drop table if exists tasks;
      drop table if exists timesheet;
      -- drop table if exists notes;
      -- drop table if exists mindmaps;
      -- drop table if exists mcq;
      
      
      create table projects (
      	id integer primary key,
      	status text, -- (Pending/WIP/Complete)
      	name text, -- Learn to use Vim Editor
      	category text, -- (Work/Study/Other)
      	tags text, -- (Tech/PHP/Python/Emacs/Vim)
      	start_date datetime,
      	end_date datetime,
      	notes text
      );
      
      create table milestones (
      	id integer primary key,
      	project_id int references projects(id),
      	name text, -- Vim first steps
      	status text,
      	tags text
      );
      
      create table tasks (
      	id integer primary key,
      	milestone_id int references milestones(id),
      	name text, -- hands on with vimtutor
      	status text,
      	tags text,
      	weekly_hrs int, -- no. of hours to be spend on this task each week.
      	notes text
      );
      
      create table timesheet (
      	id integer primary key,
      	task_id int references tasks(id),
      	fdate datetime,
      	tdate datetime, -- tracked 60 minutes
      	notes text
      );
      
      -- @todo mcq/mindmaps/notes
      

      The tracking will be done by the frontend desktop app I will code separately in Python using tkinter library. Can you suggest me any improvements in this?

      7 votes
    4. Does emacs or vim have better support for PHP parameter hinting and intellisense?

      In the coming days, I'm going to give a serious try to one of these "super flexible but super high learning curve editors" called vim and emacs. I'm just unable to make up my mind on which one...

      In the coming days, I'm going to give a serious try to one of these "super flexible but super high learning curve editors" called vim and emacs. I'm just unable to make up my mind on which one though I've heard and read many good things about both.

      Right now I use Notepad++ and php type hints is one of the essential features I highly depend on. When I type a php function call such as strpos(, NPP shows the function signature in tooltip.

      From my initial research so far, I came to know that none of these editors provide this basic feature out of the box, at least not without some tweaks. For example, vim does provide something called "omni-box" when you press C-X C-O but even in that case, it won't show the popup/hint in case of a single completion option (for that you have to enable the menuone option as described here).

      The point is that I want to have a seamless and comfy PHP editing environment without spending a lot of time on these tweaks - I might invest some learning time if there is more utility in the long term, especially compared to what I currently get from Notepad++. How does emacs fare in this regard? Is there better PHP support than vim for that?

      Finally, I'm already ruling out the "heavy" IDEs like Eclipse PDT and PHP Storm as my laptop configuration isn't that high, it has an Intel Atom processor and just 2 GB RAM which crawls if I try to put too much load on it.

      8 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?

      17 votes
    6. What are some great time savers on CLI that you would recommend?

      I use these right now on Debian: ncdu ncdu (NCurses Disk Usage): A disk usage analyzer with an ncurses interface, providing a fast and easy-to-use overview of disk space utilization. Ideal for...

      I use these right now on Debian:

      ncdu

      ncdu (NCurses Disk Usage): A disk usage analyzer with an ncurses interface, providing a fast and easy-to-use overview of disk space utilization. Ideal for identifying large directories and files in a user-friendly terminal interface.

      duf

      duf (Disk Usage/Free): A modern disk usage/free utility with a beautiful interface written in Go. It provides a quick and easy way to check disk usage across various file systems with color-coded output.

      tldr

      tldr (Too Long; Didn't Read): Simplified and community-driven man pages. Provides practical examples for commands, making it easier to understand and use without wading through lengthy and detailed man pages.

      nala

      nala (Next-Generation APT Frontend): A modern frontend for the APT package manager, designed to provide a more readable and user-friendly output for package management tasks.

      Speedtest-cli

      Speedtest-cli: A command-line interface for testing internet bandwidth using speedtest.net. Allows you to quickly check your upload and download speeds directly from the terminal.

      htop

      htop: An interactive process viewer for Unix systems. It provides a real-time, color-coded display of system processes, making it easier to monitor and manage system resources.

      powertop

      powertop: A tool for diagnosing issues with power consumption and power management on Linux systems. It provides detailed information on power usage by various system components and applications.

      thinkfan

      thinkfan: A simple fan control program for ThinkPads. It helps manage the system's fan speed to balance cooling and noise levels based on the temperature sensors.

      tlp

      tlp (Linux Advanced Power Management): A power management tool for Linux. It provides various configurations and options to optimize battery life on laptops without requiring manual tweaks.

      flatpak

      Flatpak: A system for building, distributing, and running sandboxed desktop applications on Linux. It provides a universal app distribution system that works across various Linux distributions.

      neofetch

      Neofetch: A command-line system information tool written in bash. It displays an aesthetically pleasing summary of system information alongside your terminal prompt.

      iftop

      iftop: A real-time console-based network bandwidth monitoring tool. It shows a list of network connections from/to your system and the bandwidth usage for each connection.

      nano

      nano: A simple, user-friendly text editor for the command line. Known for its straightforward and easy-to-use interface, making it a go-to for quick text editing tasks.

      Edit
      Oh wow! Thank you all for your suggestions!

      I was looking around and found cheat; it's defined as a cheat that allows you to create and view interactive cheatsheets on the command line. Hopefully, someone else might find it helpful as well.

      38 votes
    7. How bad are Nvidia GPUs for Linux really?

      I've been interested in switching to Linux, or at least dual booting, for some time now as Windows has kept getting worse and Proton for Steam has been getting better. I'm particularly interested...

      I've been interested in switching to Linux, or at least dual booting, for some time now as Windows has kept getting worse and Proton for Steam has been getting better. I'm particularly interested in trying Mint Cinnamon.

      In every Linux thread on here or Lemmy, I always hear people complaining about Nvidia drivers for Linux or other hardware problems that they avoid by having AMD.

      I have an Intel CPU and Nvidia GPU. How big of a problem is that, really? Does it make it an unbearable experience? Does it make it a lot more work to get things working? Does it make certain things impossible to get working? What's your experience?

      Also for dual booting, I hear people have problems with Windows messing up their Linux install. Is that a common problem, or a few people having bad luck? Is that avoidable?

      30 votes
    8. Looking for a good, cheap VPS for a VPN in or around London

      I watch Countdown every day. For the last year I've had a t2.micro for free from AWS. Its been pretty good, but my year is coming up. I am looking for the cheapest VPN possible, which is often...

      I watch Countdown every day. For the last year I've had a t2.micro for free from AWS. Its been pretty good, but my year is coming up. I am looking for the cheapest VPN possible, which is often having my own VPS.

      Does anybody have any suggestions? Most are around $6, which isn't too bad, but I'd love to get something cheaper; either in a reliable lowend box or a proper provider.

      10 votes
    9. Web tech job sites?

      I'm looking for recommendations for good web tech job sites, ones which are most likely to lead to interviews. While I can always do a websearch myself, I haven't done a job search for many years,...

      I'm looking for recommendations for good web tech job sites, ones which are most likely to lead to interviews. While I can always do a websearch myself, I haven't done a job search for many years, so I don't know what job sites are trustworthy or not nowadays. Working remote is almost must-have, otherwise Canada would be the region of interest.

      9 votes
    10. Advice for hosting (and building) a personal website

      Hey all! I've been thinking about buying a domain and building a personal website for myself -- at this point just a personal website with links to my socials, my CV, maybe any interesting...

      Hey all! I've been thinking about buying a domain and building a personal website for myself -- at this point just a personal website with links to my socials, my CV, maybe any interesting projects I want to publicize. Maybe someday I'll decide I want to add a blog or build a webapp or something, but for now it'll be something simple and static.

      My programming experience is very much not in the frontend side of things (I'm a data scientist and mostly use python day-to-day). I played around with HTML messing with my Tumblr theme enough back in the day that I'm reasonably sure I can build something solidly web 1.0, and I've toyed with stuff like Jekyll in the past. But I was wondering if I could use this as an opportunity to build up some basic skills that I could put on my resume for the future. But I have no idea what's out there that would be useful and quick to learn but wouldn't be massive overkill for a project like this.

      I also have no idea how web-hosting works and who to go with if I want to build a personal website myself rather than relying on something like Wix or Wordpress. Most of the easily-Google-able advice is for different use-cases. Advice is either people who want something user-friendly with minimal coding like Wordpress or it's for something properly big and commercial, neither of which is me.

      Anyway, I know we've got a lot of suitably tech-y people here on Tildes, so I'm hoping people here have good advice for this sort of use case. Thanks!

      21 votes
    11. Need help BCCing entire Outlook autofill contact list

      Today is my last day at work and my boss wants me to BCC anyone I have ever sent an email to announce my departure. I have tried exporting all my sent messages and trimming the list by advanced...

      Today is my last day at work and my boss wants me to BCC anyone I have ever sent an email to announce my departure.

      I have tried exporting all my sent messages and trimming the list by advanced sorting out the duplicate email addresses in excel, but messages with multiple recipients are plentiful and need to have the emails separated into individual cells at the very least.

      I also tried the .NK2 file route. I downloaded the MFCMAPI program to find my hidden autofill contact file, but it can only be exported as an .xml or .msg file and I don't know how to handle those files properly to get the data I need.

      Does anyone here have a solution to automatically add every autofill contact on Outlook as BCC recipients for a final email?

      EDIT: I found a solution that worked for both of us. I emailed the clients I remember as the most important and set up an automated reply to handle those I forgot to message.

      11 votes
    12. 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?

      7 votes
    13. UI/UX Design for web dev

      Does anyone have any good resources, books or otherwise, in regards do good design for web dev? I'm a self taught full stack dev who just can't really make things look "pretty". They are...

      Does anyone have any good resources, books or otherwise, in regards do good design for web dev? I'm a self taught full stack dev who just can't really make things look "pretty". They are functional, but..that's about it. I know CSS, but maybe I just don't have an eye for it?

      Any suggestions would be great, thanks.

      19 votes
    14. 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?

      11 votes
    15. Best news sources and blogs to keep you informed about IT and Software Development

      To be honest, I've bookmarked many but I'm too busy to actually read any of them! But from now onwards, I've decided to give them a try at least once each day, I just want to know from you which...

      To be honest, I've bookmarked many but I'm too busy to actually read any of them! But from now onwards, I've decided to give them a try at least once each day, I just want to know from you which ones are better sources of information and which aren't. Feel free to add more to this list. In no particular order:

      20 votes
    16. Database schema for an upcoming comment hosting system

      I'm working on a small and simple comment hosting platform in PHP (SQLITE database) to host comments for my static blog https://prahladyeri.github.io/. No login, sign-ups or third party OAuth,...

      I'm working on a small and simple comment hosting platform in PHP (SQLITE database) to host comments for my static blog https://prahladyeri.github.io/. No login, sign-ups or third party OAuth, just plain old Wordpress.org style commenting system.

      I have come up with the following DB schema so far to store the comments (comments table) and enable the administrator's dashboard authentication (users table). Can this be improved further?

      -- init.sql
      
      drop table if exists comments;
      drop table if exists posts;
      drop table if exists users;
      
      create table comments (
      	id integer primary key,
      	reply_to_id integer references comments (id),
      	post_id integer references posts (id),
      	message text,
      	name text,
      	email text,
      	website text,
      	ip text, -- $_SERVER['REMOTE_ADDR']
      	notify text default 'n',
      	status text default 'Approved', -- Approved/Spam
      	created_at datetime default (datetime(CURRENT_TIMESTAMP, 'localtime')),
      	modified_at datetime default (datetime(CURRENT_TIMESTAMP, 'localtime'))
      );
      
      create table posts (
      	id integer primary key,
      	user_id integer references users (id),
      	uri text -- /blog/2024/05/some-slug.html
      );
      
      create table users (
      	id integer primary key,
      	username text not null,
      	password text not null,
      	email text, -- can be null
      	name text not null,
      	website text, -- comments will be posted to this site
      	role text not null, -- Admin/Staff
      	created_at datetime default (datetime(CURRENT_TIMESTAMP, 'localtime')),
      	modified_at datetime default (datetime(CURRENT_TIMESTAMP, 'localtime')),
      	unique (username),
      	unique (email)
      );
      
      -- create default data
      -- create a default admin user who handles to dashboard
      insert into users(username,password, name, role, website)
      values("admin", "admin108", 'Admin', 'Admin', 'https://example.com/');
      
      14 votes
    17. Honest Question: What benefits can I hope to achieve by switching from jquery to react?

      I'm a freelance coder who builds small-medium apps and my front-end stack primarily consists of Bootstrap+jquery. This combo has never let me down until now even with all kinds of features,...

      I'm a freelance coder who builds small-medium apps and my front-end stack primarily consists of Bootstrap+jquery. This combo has never let me down until now even with all kinds of features, functionality and complexity thrown at it. I've built dashboards with line charts, puzzles and MCQs, grids and tabular components to edit data, etc. and it was all very seamless.

      But when I keep hearing the discussions here and on other places in social media, they make me feel like I'm stuck in a very different century! There is no doubt that React is a well-known, popular and robust piece of software but one thing that dissuades me from getting into it is the whole monstrous npm system of components around it. It seems to be quite integrated with node when it comes to some react components like next, nuxt or whatever. Is it not possible to just like include react through CDN with link or script tags and still make good use of it?

      More specifically, I want to know what can I hope to achieve if I migrate from jquery to react? I'm quite tied to the jquery way of doing things right from DOM manipulation to event handling to things like cloning and reusing HTML components in <div> blocks. Is there any established guide or path for folks like us to migrate from jquery and react? And to begin with, is this a good idea even?

      22 votes
    18. Looking for some guidance for SEO for a small business

      Hi Tildes! My significant other works in a mom and pop veterinary practice (litteraly : one manages cattle care and the other manages pets (i. e. cats and dogs)) . They are going to retirement, so...

      Hi Tildes!

      My significant other works in a mom and pop veterinary practice (litteraly : one manages cattle care and the other manages pets (i. e. cats and dogs)) . They are going to retirement, so she's gonna take over along with a colleague (only for the pets part though). The practice is located in a mid-sized town (for Switzerland at least) ; it's big enough to support a couple more practices, not enough to feel that much competitive pressure (in fact all but one practice share the night and weekend on-call duties).

      I volunteered to build her a new website, since the name doesn't match the new structure they're creating (it basically goes from "John and Jane Smith Veterinary Practice" to "VetPun Ltd" ), and also because the old website has a dated early 2000s vibe.

      There no plan yet to integrate their practice management software to the website (it's also an ancien piece of tech, they are keen to replace it some day), so it's going to be a couple of static pages for now.

      This is technically well within my range (I'm a full stack dev, for such a small thing it's probably going to be a Github Page; although a small Digital Ocean droplet is not out of question), but I mainly work on B2B and have no idea how to do SEO.

      Here's what's in my checklist

      • Redirect the old website to the new one
      • Register in the Google Business directory
      • Register in the local business directory
      • Register in Google Maps
      • Modify the entry in Openstreet Map
      • Follow those guide for the website itself:
      • Ads: we plan some ads on local newspaper, and adwords for a limited time (and targeting people local to the area of course).
        • I guess I should also do Facebook? Does that overlap with Instagram? (I'm not a regular user of either of them, although I do have to use Facebook for some LARP event)
      • Analytics : say that I integrate Google Analytics, what kind of actionnable item can I expect out of it? Can I get the same kind of data using a self hosted solution? It has been years since I used it in my now defunct blog back in my teenage days, so I expect some change compared to 2008.

      Am I missing something?

      8 votes
    19. 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?

      5 votes
    20. Advice on sharpening skills for career pivot

      After spending a couple years in management I want to get back into more individual contributor roles. It's where I can apply the skills I actually enjoy. Preferably I'd work as a dev or data...

      After spending a couple years in management I want to get back into more individual contributor roles. It's where I can apply the skills I actually enjoy. Preferably I'd work as a dev or data scientist, but what I want is to spend time solving technical/mathematical problems and less herding cats and politicking.

      EDIT: US with ability to relocate; willing to take a paycut.

      Background
      • About 9 years as lead dev in a start up (2004-2013). It was the golden era of 2005 when we started and I got the role strictly on skills I developed as a teenager. The start up failed shortly after I left but an associated passion project has lived on. In this role I built video streaming software client side, server side, web apps, and iOS apps. I used C#, javascript/node, mongodb, redis, SQL, PHP, objective-c, and C++ as well as functioning as sys admin and webmaster. Pretty much solo dev except for a contractor or intern occasionally.
      • Went back to school (homeschooled, no high school so I needed some pieces of paper), BS-MS-PHD, in mathematics (number theory) and published several papers. One of which launched a bit of a cottage industry for my collaborators. I haven't been involved post graduation but get updates when friends see me cited at conferences, etc. Wrote more domain specific stuff (Python, MAGMA, GAP).
      • During my last year of grad school I got very jaded towards the grind I saw before me that more that likely ended with a job at a teaching school making less than I wanted. Pretty much as soon as I made my intentions public covid happened so I was job searching during 2020 while finishing my doctorate.
      • Got my break early 2021, an entry level data analyst role for a major corpo. In this role I had a lot of time to just explore data, find patterns, test out some of the ideas friend in topological data analysis were thinking about, tested early ML models. Pretty much strictly Python and SQL. Went to manager in 2022 and then People Analytics Director in 2023.

      Current plans:

      • Attend more meet ups, there are a couple about an hour south of me. Hoping to build some connections with the local industry.
      • Private server and website stood up, plan to host projects etc here for interested parties.
      • Runs through exercism.io to refresh on some stuff.
      • Find some open source projects to contribute on? There is also a local group of indie game devs, perhaps offer my services where possible.

      So my question to you all is how would you go about sharpening skills and building up a portfolio?

      11 votes
    21. 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?

      17 votes
    22. What’s your method for archiving bookmarked/liked social media posts?

      Following the recent upsets with both Twitter and Reddit, how have people here been exporting/archiving their bookmarked/favorited/liked/etc threads, posts, and the content within (images, links,...

      Following the recent upsets with both Twitter and Reddit, how have people here been exporting/archiving their bookmarked/favorited/liked/etc threads, posts, and the content within (images, links, etc) for later reference?

      It hit me not too long ago that there’s a lot of good stuff I’ve bookmarked over the years on both and it’d be unfortunate for viewing it to be locked behind keeping accounts active. Additionally, more and more of it’s disappearing over time not just due to link rot (which seems to have been accelerating dramatically in the past decade), but also as a result of users deleting their posts on the way out.

      I’m particularly interested in solutions that saves content locally, because exporting these things to e.g. a cloud read it later service or bookmark manager really just shifts the problem around instead of solving it, but beggars can’t be choosers and all that.

      17 votes
    23. Why do the arrow functions won't return "this" object in a jquery event handler?

      Consider the following simple jquery event handler code I've been using since ages: $("body").on("click", ".dome .btn", function() { console.log(".dome .btn onclick::"); console.log($(this)); });...

      Consider the following simple jquery event handler code I've been using since ages:

      $("body").on("click", ".dome .btn", function() {
      	console.log(".dome .btn onclick::");
      	console.log($(this));
      });
      

      The this object here returns the button element in question which is the proper way. But today, I decided to use arrow function just to upgrade myself with the modern times:

      $("body").on("click", ".dome .btn", () => {
      	console.log(".dome .btn onclick::");
      	console.log($(this));
      });
      

      But in this case, the this object won't return the button element. It will return the window object instead which is the parent of all parents! What kind of atrocious quirk is this? Few days ago, someone on the /r/webdev subreddit told me that arrow function is just a modern way of writing the old function(){} syntax.

      10 votes
    24. 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
    25. Is Emacs or VIM worth learning in today's day and age?

      I'm a full stack webdev and gotten through almost everything in life without using these legendary editors. For Linux work, I mostly use the nano CLI editor which does the job fine and while on...

      I'm a full stack webdev and gotten through almost everything in life without using these legendary editors. For Linux work, I mostly use the nano CLI editor which does the job fine and while on desktop, there are superior ones like gedit and geany. On Windows, my preferred code editor is Notepad++ though I've experienced Eclipse, Visual Studio and Android Studio in various situations. Guess there isn't any substitute to AS when it comes to Android APK development?

      But these two legendary editors (Emacs/VIM) come highly recommended and a programmer is considered incomplete in the long beard circles until they learn one of them, isn't it? But I want to understand what can I hope to gain by learning them in terms of utility or usefulness? Can I somehow bring efficiency to my workflow by reducing my development time or adding a feature?

      30 votes
    26. How do you organize your Linux packages?

      Hello everyone. I am planning to get back into Linux development after working with Mac only for almost a decade. On Mac, one of the most important lessons that I learned was to always use...

      Hello everyone.

      I am planning to get back into Linux development after working with Mac only for almost a decade. On Mac, one of the most important lessons that I learned was to always use Homebrew. Using various package managers (e.g. Homebrew, NPM, Yarn, Pip, etc.) creates situations in which you don't know how to uninstall or upgrade certain pieces of software. Also, it's hard to generate a complete overview.

      How do you Linux folks handle this?

      Bonus question: How do you manage your dotfiles securely? I use Bitwarden, and it's a bit clunky.

      If that helps, I want to try Mint and always use Oh My ZSH!.

      6 votes
    27. Honest Question: Why did PHP remove dynamic properties in 8.x?

      I understand PHP has had many criticisms in the past but I'm not sure the existence of dynamic properties of instantiated objects was ever one of them. In fact, dynamic properties are pretty much...

      I understand PHP has had many criticisms in the past but I'm not sure the existence of dynamic properties of instantiated objects was ever one of them. In fact, dynamic properties are pretty much the hallmark of most interpreted or dynamic programming languages. Python allows it all the time and so do many others like Ruby, Perl, etc.

      I don't know what PHP developers achieved by removing dynamic properties feature from the language but one thing that resulted out of this is that many applications based on widely used veteran PHP frameworks (such as CodeIgniter and CakePHP) came to a halt all of a sudden due to an error like this after upgrading to PHP 8:

      A PHP Error was encountered
      Severity: 8192
      Message: Creation of dynamic property CI_URI::$config is deprecated
      Filename: core/URI.php
      Line Number: 102
      Backtrace:
      File: C:\xampp\htdocs\inv_perpus\index.php Line: 288 Function: require_once
      

      The influence of Corporate IT in various open source foundations is pretty well known and also well known is the extent to which corporate greed goes to achieve its interests and objectives across the world. The only way to assuage this uncomfortable thought (at least in this particular case) is to ask if there was any technical merit at all in removing dynamic properties feature from a dynamic programming language?

      I for one couldn't find any such merit here.

      12 votes
    28. Is PyGame still alive?

      So it was a long time ago in the good old Python 2.x days (circa 2010 probably) that I had learned PyGame with some tutorials at my former work place. But nowadays since I mostly freelance with...

      So it was a long time ago in the good old Python 2.x days (circa 2010 probably) that I had learned PyGame with some tutorials at my former work place. But nowadays since I mostly freelance with business apps, I never felt the need for it.

      But since such a game development project is on the horizon after all these years, I was wondering if PyGame can still be up for the task with Python 3.x? Or is there a better Python library available these days?

      I don't need any advanced gaming features of modern day VFX or anything, all I need is some basic Mario/Luigi style graphics, that's all!

      9 votes
    29. Opinions or experiences on Corsair build kits

      I am looking to replace my PC that I mostly use for gaming for close to 10 years. While I used to work in data centers, I've never been into building custom PC, particular the planning and...

      I am looking to replace my PC that I mostly use for gaming for close to 10 years. While I used to work in data centers, I've never been into building custom PC, particular the planning and research portion on what parts to get.

      I am currently eyeing the Corsair build kit, and wonder if anyone has any experience to share.

      Thanks in advance.

      6 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?

      10 votes
    31. 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
    32. A variety of beginner home server questions

      I will soon have a home and figured now's the time to do a proper home server, especially since it's going to come with cat 6 run from the main panel to just about every room. I code for a living,...

      I will soon have a home and figured now's the time to do a proper home server, especially since it's going to come with cat 6 run from the main panel to just about every room. I code for a living, but at the same time network is a massive gap in my knowledge, as are servers, and I was hoping to use this as a learning moment as well as just a way to optimize things. I've been doing research for a few weeks now on and off and feel like I've got more questions than I started with, so I'll just vomit them out and if anyone has some guidance I'd really appreciate it.

      Some information:

      1. I'm willing/able to spend to get quality/simplicity. Time is the much bigger crunch for me right now, and I'd much rather buy something that works even if it costs more than cobbling together some deals.

      2. Related to 1, I'd like this to not become my fulltime second job/hobby. I will at some point try to expand to a full home lab, and do want to use this to learn about things I feel I should understand better for general knowledge and my career, but i'd love for core functionality to mostly "just work" after configuring so when I don't have time to do that I'm not stuck telling everyone "oh yeah it'll be broken until I find time to fix it".

      Things I know I want-

      1. Some sort of NAS. From my research Synology comes up a lot as the "it's expensive but it'll just work" option, and I probably want something like a 4 bay of NAS specific several TB HDD's in something like raid 5/6/10. Pricey as hell but I'm most willing to spend on this as the cost might very well be split by the family members who want me to guinea pig all this.

      2. I will have a camera system and would prefer to not have it sending data outside my network. This is the area i've looked at the least, as it's a little farther down the road, but I know others who have things like Arlo and lets just say i'm not super impressed. Obviously this brings up question like remote access to said camera's and where I'm storing the data (nas? Somewhere else?)

      3. I'd like to mess with a media server. Plex/Jellyfin constantly come up in my research, so I'll be looking into those, but I've also got a bunch of audiobooks that I'd love to be able to easily share, and I think there's software for that stuff as well.

      4. Pihole strikes me as the other "well if you're going to do this, you might as well" option that i'm aware of. Realllly need to better understand networking in general, but I hear these days it can kinda be installed and quickly configured and then left to do its job.

      5. Related to all of this, Casa OS keeps coming up as a very good tool for a beginner like me, since it streamlines the handling of docker containers and also file sharing. However it's not really an OS, since it must actually run on Debian (i think?) for now (zima OS still in testing?).

      Stuff I'd like to mess with but doesn't have to happen right away.

      1. Eventually the aforementioned NAS would be backed up offsite to another NAS at another family members house, once I know what the hell I'm doing.

      2. Proxmox constantly comes up as THE tool to use, but it leaves a lot of questions for me. Obviously if I start trying to do lab environments and screw with VM's it's going to be great, but my understanding is that I probably don't, as a beginner, want to say load up a device with proxmox and then have it host debian which installs CasaOS as it'll get a little more tricky to have everything talk right? Unsure on this part.

      3. Anything else I'm forgetting. One issue I keep having with this is a LOT of the information out there is either too complex for me to really grok or just says "well yeah you could do ANYTHING with this" and it just sorta assumes I know what the options are. If there's anything else worth checking out I'd love to know.

      Hardware I've come across-

      1. Synology - Already mentioned but seems like they're a common go to for a "more money than skill/time" situation like mine.

      2. Zimaboard - My understanding is it's underpowered for its price, but the main draws are that it's VERY low power, small, and quiet. What it could actually do from my list above is where i'm unsure. I see people are supposedly using it for Plex servers and what not, and I'm pretty sure it's not going to make any kick ass lab environments, but being quiet, small, and maybe a bit closer to plug and play seems tempting (I know they make the blade and a few other products but it all seems greek to me).

      3. Various mini computers - I've got a minisforum machine from several years ago that I currently use as a living room computer for light gaming and mostly playing movies and the like. Not sure if i could just wipe it and convert it to be the starting point (more on that later). I know used 1 liter mini pc's from companies like HP are also popular.

      4. The MS-01 - Similar pile as the last one but my understanding is this is the kind of thing that's probably really cool if you actually know what the hell you're doing. I'm 99% positive it is vast overkill for my purposes, but I'd like to eventually get to the point where I could understand why I might want something like this. My understanding is if I knew what I was doing I could probably drop proxmox on this and do everything I could ever want and more, but I feel quite far from that.

      Some general questions I have -

      1. The thing that kicked this all off is my new place likely having fiber, and cat 6 drops throughout the building. Architecture is something I'm still a little shaky on. I assume i'm going to need my own modem/router (just because the cox routers are meh and not really configurable from last I checked), and then that routes to the server first???...or something(seems like a must if you want the pihole to do anything)? I've seen lots of niffty network diagrams at this point but they're all from people WAAAAAAAAY beyond my skill level doing much more ambitious stuff, so it gets hard to understand. If anyone has a simple home network diagram/guide to look at I'd really appreciate it.

      2. I'm just in general going to need to learn more about networking, especially in a home environment. Should I eventually get those camera's set up, I want to understand how to let them talk to internal storage and what not ,but not get out to the web...or..something (again remote access seems nice, but also like a massive security concern). I know speed is also a big factor i'm going to need to better understand. Having a fiber connection in only to be bottle necked by a crappy router or a 1gigabit port is just a waste of money, so that's something else I'd like to better understand.

      3. I'm a little unclear on how to deliver the media in a media server to the various screens throughout the building. I've got cat 6 to all of them, but I suspect i'm still going to need, at the very least, a cheap computer to hook up to it and then display the image to the monitor/TV? This is why I assume I can't just wipe my current mini PC and reuse it as a server, because I still need it to receive the data from the home server (or at least a web browser?). A part of me feels like if I got a powerful enough server it should be able to server the media direction to the screen, but then you'd need some sort of HDMI/DP drops as well from the server to all your screens?...or something?

      Sorry for all the rambling but I've got an odd mix of knowledge and ignorance so it's been a little difficult to research when half the video is stuff I already get, and the other half blows past me or just assumes I know about the parts i'm trying desperately to learn about.

      27 votes
    33. 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?

      22 votes
    34. 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?

      17 votes
    35. Looking for help scraping and deleting a Reddit account

      I have a couple of old Reddit accounts I’d like to delete as fully as possible. However one of them dates back to my teenage years and it’s some of the only writings I have from that time. Any...

      I have a couple of old Reddit accounts I’d like to delete as fully as possible. However one of them dates back to my teenage years and it’s some of the only writings I have from that time. Any recommendations on good simple ways to scrape all the comments off of it and save them? Then what’s the best way to completely erase a Reddit footprint these days?

      Looking for as simple a solution as possible, I’m not tech illiterate by any means but it’s also not a real strong suit for me.

      18 votes
    36. What actually-useful questions should someone ask when hiring a cybersecurity professional?

      Imagine you’re the manager hiring someone for a technical cybersecurity job. What non-obvious questions help you judge the candidate’s skill/suitability? What makes those questions useful? That...

      Imagine you’re the manager hiring someone for a technical cybersecurity job. What non-obvious questions help you judge the candidate’s skill/suitability? What makes those questions useful?

      That is, assume you’ve done the standard complement of job interview questions such as background and tool familiarity. I’m looking for stuff specific to some part of cybersecurity. It’s okay to get specific to your part of the field.

      21 votes
    37. Linux Distro Recommendations

      I know this can be a bit of a heated debate sometimes, and with so many choices people will have their preferences. I wanted to hear some noob-friendly suggestions for me and some friends. What...

      I know this can be a bit of a heated debate sometimes, and with so many choices people will have their preferences. I wanted to hear some noob-friendly suggestions for me and some friends.

      What distros would work well for an old laptop repurposed as a glorified Chromebook (web browsing, Netflix, emails, etc) with some light Steam 2D indie game usage? It would be borrowed by less tech savvy people.

      What distros would work well for gaming desktops? Either current high end desktops or desktops that are a few years old.

      47 votes
    38. Need help planning a pseudo-upgrade for my computer tower

      Pseudo because upgrading some of the parts might have a knock-on effect for other parts. Might end up leading to an upgrade of the whole system, idk. So here's a list of parts that I've already...

      Pseudo because upgrading some of the parts might have a knock-on effect for other parts. Might end up leading to an upgrade of the whole system, idk. So here's a list of parts that I've already acquired. I was originally going to use some of them to fill out the Framework laptop that I pre-ordered... but I had an expensive couple of months earlier this year and figured I could wait on it. :(

      Part
      AMD Ryzen 7 7700x
      Crucial P5 Plus 2TB PCIe NVMe M.2 SSD
      (2) 16GB GSkill Flare X5 DDR5 6000 RAM
      $50 Microcenter gift card

      Now here's what I have in my tower currently.

      Part
      Rosewill Thor V2 ATX Full tower case
      Intel(R) Core(TM) i5-4670K CPU
      (2) 8GB GSkill DDR3 RAM
      Rosewill 650W 80 Plus Gold PSU
      MSI Z97-GD65 MOBO
      Gigabyte Nvidia 970x Windforce GPU
      1 SanDisk Ultra Plus SSD 250GB
      1 Seagate HDD 1TB

      I'm looking to keep the tower at the very least and reuse it for new components. Right now, I know that the mobo will absolutely need to be replaced IF I'm throwing the ryzen chip in. And with knock-on effect, probably the psu as well since these components are drawing more power. The goal is to get a solid 60 fps on Helldivers (which I can't do at the moment, even on the lowest graphical settings) since it's the most intensive game that I play. With this goal in mind, does it make sense to start using the components I have from the first list, or might it be cheaper to keep them for the framework and get older (still compatible) parts that would fit right in to the system as it stands?

      8 votes