Libby on a phone -> Kindle Paperwhite without WiFi. Possible
Libby app on Android Kindle Paperwhite Mint Linux Is there any way with the above combination that I can still get a book from Libby on my phone to my Kindle Paperwhite?
Libby app on Android Kindle Paperwhite Mint Linux Is there any way with the above combination that I can still get a book from Libby on my phone to my Kindle Paperwhite?
[Edit] Details on the plan as it stands are here, potentially using one of these heat pumps.
Looking for advice before the weather starts to warm up! I'm running multiple GPUs for dev work in my small home office, and it's pretty much equivalent to having a fan heater running all day. Right now that's actually a bonus, but it really won't be in a couple of months.
The big heat generating components are all water cooled - partly just to fit them in a sensible amount of space, and partly because I figured I'd end up with exactly this problem and being able to physically pipe the heat elsewhere (ideally outside) would probably be necessary. The bit I'm trying to figure out now is how to actually make that happen...
Ideas so far:
Stick an air duct on the back of the radiator and hang the duct out of the window: straightforward but messy, may be counterproductive depending how hot it is outside and how well I can rig up some kind of baffle between the open window and the duct.
Put the whole radiator outside and drill a couple of small holes in the wall for the pipes: this was my first thought, but PC radiators and fans definitely aren't rated for outdoor use, and I'm not sure where to start looking for something that would be designed for that while still being suitable to hook up to the computer waterblocks. I'm also concerned about condensation on the electronics if the coolant gets below indoor ambient temperature overnight.
Set up some kind of actual exterior radiator (or heat pump?) outside, and use a heat exchanger between that and the PC cooling loop: seems more like the "proper" way to be doing this, but it's well outside my area of expertise and feels like there would be a lot of potentially expensive stumbling blocks. Also still has the condensation problem, I think.
Just crank up the air conditioning: I'm not actually sure if the unit I've got has enough capacity, and it definitely seems wasteful to heat up the air and then use more energy cooling it again rather than dumping the heat directly outside, but maybe I'm wrong there!
I'm in a kind of awkward middle ground: I'm running enough hardware that this is getting to be an issue beyond what you'd get with normal end user setups, and I'm willing to put some money into fixing it (it's affecting my job and my home, after all!), but I'm self employed and nowhere close to the industrial or datacenter scale that tends to come up when searching for solutions.
Has anyone dealt with this themselves, or come across small office/homelab scale solutions that might work?
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?
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?
I've got a notion to put some of my extra energy into learning to code. I'm familiar with EXTREME basics - I did some coding in BASIC and Python when I was younger ("Hello world" type stuff, and some futzing around with my Ti calculators programming capabilities) and while I had a pretty good knack for it I never developed it further.
I'd like to use this as a chance to create something useful for me - a discord bot for my server. We have a handful of bots doing a few odds and ends, and I'd like to try and work something out to consolidate things. That's getting a bit ahead of myself though - initial scope would be simple: have the bot do a simple task like counting +rep points, or something silly like telling a joke.
I don't really have any idea of where to start - what resources I need, what language to use, or really anything about how this all works. Any assistance at all would be welcome!
To be clear - I want to learn to code, and specifically I want to learn in a way where it is immediately applicable and useful in a context I care about.
Hi all, I've had a Netgear XR300 serve me fairly well for the past 5 or so years, but in the last few months I've had increasingly frustrating levels of failure. Things like sustained 100% CPU utilization, individual machines connected but unable to access internet, being unable to access the router admin page, individual machines suddenly having their ping go to 500-2000ms and bandwidth down to the kB range (I have symmetric 300Mbps up/down).
As a potential, I've been eying the Firewalla Purple to become my new router for a few reasons (Netgear not getting security updates, Firewalla has Wireguard support, etc.). The Firewalla only has short-range wifi, so my question is this:
Would using a Firewalla as a router and using the Netgear device as an access point for wireless connectivity be likely to mitigate these kinds of issues?
I've realized I lack the knowledge on which aspects of connectivity would be handled by two discrete devices, so I'm hoping to suss out if this is a viable solution.
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?
I'm currently using AWS to run a couple of t4g.nano instances for a few little services but I'm wondering if there's a good hosting service in Canada, owned by Canadians, etc.
Basically I don't really like handing money over to daddy bezos and due to current political tensions I'd rather not support US companies, but I have NO IDEA how to find a reputable VPS provider.
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:
Thanks in advance for tips and advice.
RESOLVED
/var/lib/docker/volumes/ <-- thats where the data is saved
I fucked up colossaly
I run a Nextcloud all in one instance on my ubuntu VM with Hetzner.
I run a backup of my phone to said instance.
I forgot to set a sensible limit on my Nextcloud.
I somehow changed to hourly backups....
My Vm filled up in a very short time.
My VM has not one byte of free space left.
What I tried to do:
open Console inside the Nextcloud Aio Container with docker exec -t -i , to find the space and delete stuff, but no chance, not enough space.
There is nothing else on the VM i know of that i could delete to make space (nothing else i put)
has somebody an idea how to fix this gracefully?
I have some ideas but they involve a lot of work or money...
My memory kit is G.Skill Trident Z5 RGB 32GB (2x16GB) 5600 CL36 Black. The CPU is i9-13900KS on Gigabyte Z790 AERO G.
I noticed that memory price has been dropped significantly so I think I might upgrade to 64GB.
Online information seems to be conflicting regarding XMP and dual/quad channels, so I'm asking for advice here:
From what I understand doing any of those options might cause XMP to not work and it'd be the best (but costly) to have 2x32GB as the only sticks in the system.
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?
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?
I asked Claude for references to some ideas the ai had output earlier about a 16th century cardinal (Sadoleto). It's response was, Let me analyze the letter, and then this:
async function searchForSadoletoLetter() {
try {
const files = ['sadoleto_letter.txt', 'sadoleto.txt', 'sadoleto_to_geneva.txt', 'letter_to_geneva.txt'];
for (const filename of files) {
try {
const content = await window.fs.readFile(filename, { encoding: 'utf8' });
console.log(`Found file: ${filename}`);
console.log("First 500 characters:");
console.log(content.substring(0, 500));
return content;
} catch (err) {
// File not found, try the next one
}
}
console.log("Could not find any files containing Sadoleto's letter");
return null;
} catch (err) {
console.error("Error searching for files:", err);
return null;
}
}
const content = await searchForSadoletoLetter();
// Since we don't have the letter available as a file, let's search for published versions online
console.log("The letter isn't available as a file. We would need to rely on scholarly knowledge about Sadoleto's letter to Geneva (1539).");
console.log("Sadoleto's letter was published in 'A Reformation Debate: Sadoleto's Letter to the Genevans and Calvin's Reply' (ed. John C. Olin).");
This strikes me as odd? Did Claude write a script to generate its own response? Have coders put something like this in as a gaurdrail?
edit: details about earlier convo
Hi Tildes community,
I'm seeking your suggestions for spinning up Windows virtual desktop.
Allow me to set the context...
My offspring is in second semester of their first year of university, and needs to use Adobe Photoshop for one of their classes this semester. They don't use a regular laptop, and have been doing quite well at uni. with their beefy Ipad. While they have used photoshop so far on their ipad, there are some growing pains. Of course, they have access to super beefy desktop Apple Macs at their school's computer lab, but its a pain to get usage of them for a few reasons. At home, all my machines are linux except for my partner's which is an old clunker Windows laptop - which i am in progress of migrating themn away from that Windows machine towards linux laptop...Hence, I don't really have a solid, modern enough machine for my offspring to load Photoshop onto.
Then, I thought, hey, maybe i can spin up some Windows virtual desktop somewhere for my offspring to use photoshop on...Its only needed for about 10 or 12 weeks remaining this semester...and they only need to use it once per week for each week's assignments. I feel like as long as the virtual windows machine is beefy enough to suppoort photoshop workloads, it can get them through the semester...and then in summer i can decide if I need to buy them an actual laptop (like an Apple laptop, etc.).
So, may i ask of you dear Tildes community members...Does my approach make sense (of trying to use a windows virt. desktop)? And, if so, are there any recommendations for which provider to use, and how to spin these up? Like, should i try something via AWS or Google Cloud or Azure? Or, should i not even consider this virtual windows approach? I'm open to hearing any/a ll recommendations. If you have links to share for me to research, or if you actually wrote your own blog post on similar topic for example, i'd love to hear it! Thanks in advance!!
Edit: 2025-02-24 UPDATE: Wanted to update folks on where i am on this...After reviewing these comments, researching some more both online and offline, etc...I arrived at the decision of biting the bullet and just buying my kid an Apple Macbook laptop. I want to thank you all for all your greet feedback and suggestions! Thanks so much Tildes community!!!
I usually have a decently thick and protective case on my iPhone 15 Pro. But occasionally I use it without the case to see how it’s “intended” to be used. To be honest it doesn’t seem very usable. I constantly find my palm or fingers activate the screen on the lower right edge - which is surprising as MacBook touch pads have excellent palm rejection. I would have expected the same attention to detail and quality on the company’s flagship product.
Maybe I’m just not used to it and I’m “holding it wrong”.
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?
I am a scientist who has semi-frequently written code in C (and other compiled languages like Fortran). When it comes time to compile, I typically tape together a Makefile from past projects and hope for the best, but even then I spend more time than I'd like to admit trying to figure out why my project is not being compiled or linked correctly. I've had a hard time finding any resources that aren't extremely surface level, or else are not behind some type of paywall. Can anyone recommend me some reading so that I can confidently write Makefiles and compile programs and actually understand what the different flags and commands are doing? I don't need extreme "under the hood" information as I don't intend to do things like write my own compiler, I just want to understand the process a little better. Help a scientist out!
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?
I'm a Linux and big old tower PC guy. I know next to nothing about laptops or Windows. Is it possible to keep a Windows 11 laptop closed, but still be able to turn it on and off?
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?
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?
We have this big project at work...an "all hands on deck" kinda thing that has us rank-and-file frontend devs working alongside our manager more closely than I'm used to. And it was fine, because I like the guy and he's been a decent manager. But this project is killing me.
On multiple occasions now I've written code, had it pass code review (often with his approval after a round of changes/guidance), and then every few days we get these massive re-write PRs from him where he completely rewrites large chunks of what we've done. It's leaving me feeling a few different ways:
And like I'll be the first to admit I'm not the most proficient developer on our team. React and Typescript are relatively new concepts to me, despite a long career in web development. But I've been writing with it for about a year now and I had thought I was finally getting a good grasp on things. But now I'm wondering if I'm just an idiot? Is it imposter syndrome or have I actually somehow coasted through a 15 year career across various stacks and it's just now catching up to me?
Or is this just the nature of massive projects like this? We had a half-baked product scope to begin with and its getting daily changes with entire chunks of it not very well thought out by our PM. I can see how it would make sense that the more senior developer might see the need to refactor things when things are constantly changing and we're left writing code based on assumptions and half-written requirements. I'm also getting are comments on my PRs that request changes, but mid-comment he's like "I'll just take care of this because it's blocking me".
It's just really taking a toll on my mental health and how I feel about my job. I've been trying to find another job for a few months now, but I'm not having any luck. Job hunting sucks and when you're already demoralized as hell, it's hard to sell yourself to prospective employers.
Could really use some insight from other experienced devs, please!
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?
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?
I've been the sole developer for my company's website for over a decade now. It's gone through a bunch of evolutions throughout the years, but I've been sidetracked lately and have let things stagnate as far as maintenance goes. Now, I'm looking to do some upgrades for security purposes and I'm trying to wrap my head around everything.
Some facts:
My first thought was to take baby steps and start by upgrading Symfony as much as possible. However, the next major version (6.0) requires PHP 8.0.2. Symfony 6.1 requires PHP 8.1. Symfony 7.2 (the current release) requires PHP 8.2. So, then it just makes sense to upgrade PHP to the latest version.
However, I am terrified of upgrading PHP in the current (outdated) Ubuntu environment. So I might as well upgrade the distro while I'm at it.
And then, MySQL 5.7 is no longer supported, so I might as well bring that up to date too (8.0, I believe).
There will be no baby steps. I'm gonna have to just upgrade everything all at once. Which then leads me to my next question: should I stick with the self-managed VPS, or is it time to look at something like Google App Engine or Fly.io that is a little bit more managed and "locked down" than what I'm doing right now? Should I look into just going with Docker instead?
Put another way, if I'm going to start from ~scratch, what's the modern best practice to host all of this, given that I'm going to have to upgrade a bunch of different things all at once? (Turns out the "baby step" of upgrading Symfony will actually have to come last since I need to hit these prerequisites first).
Please let me know if I've left anything out. PS, security is a pretty big concern for us because we manage user auth, so I'm all for anything the cloud providers can do to take some of that responsibility away from me.
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?
I want something like typingmind but for free, and that doesn't require installation. mainly for gemini and mistral (or perhaps groq too) I just want to be able to paste my API key and just use it. I know about OpenWebUI and msty but OpenWebUI requires installation, and msty doesn't have an android version.
anyone know something like this ? (would also be nice if it supports LaTeX)
Good evening, everyone. I was wondering if any of my fellow Tilders had experience with using Android's Private DNS feature on unconventional android devices e.g. WearOS, Android TVs etc.
It was quite easy to figure out exactly how to set up an alternative DNS server on these devices. By default, Google has hidden the private DNS setting on them, but it is still accessible from ADB. In both of my examples it is likely easiest to enable “Wireless Debugging”, pair the devices successfully, and then run the commands.
settings put global private_dns_specifier one.one.one.one
(replace this with the pertinent server!!)
settings put global private_dns_mode hostname
The issue I have been running into, however, is if there is seemingly any form of content filtering enabled on the DNS server of your choice, the WearOS device seems to think internet is unavailable when first connecting. If you open the Settings app and leave it open for long enough on the Wi-Fi page, it will switch from “Internet not available” to “Connected”. Contrary to this, if you open an app like Samsung Internet for, it does not take this time and just refuses to use any configured Wi-Fi network.
To go into my specific situation in a little more detail, I use NextDNS configured with Hagezi Multi PRO++ block list. I have no issues on my S24+ with regard to internet being deemed unavailable by the OS (sure the occasional public Wi-Fi network blocks DoT—I just use mobile data then). I have also yet to try it on my Smart TV, which is frankly the more important target device than my watch (I will get around to it in the new year once the holidays are over).
This is all a potentially very convoluted way to ask what people's experiences are with this, and if they have faced similar problems to me when using providers like NextDNS, AdGuard etc. that provide content filtering options on their encrypted DNS connections.
Merci beaucoup !
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?
I've been having intermittent problems with selecting text. I'm not sure which software it is in, but it is certainly in Slack and IntelliJ. The text I select will often/sometimes not stay selected once I lift my finger up. It will take several times to make the selection last, sometimes swiping in a different direction.
Is it my mouse or the software?
My mouse in made by Inland, model RTM098( J10 ). Probably very old.
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?
By "modern-ish" I mean support for wifi, USB, etc. Maybe modern is the wrong word, but "not prehistoric" fits better? I primarily want to use these machines for some old school mudding. Bonus points for a browser that works with encryption to make web browsing somewhat usable.
This one came with the OG Windows NT. I've toyed with FreeBSD installs from version 4 to 7 or so. Right now I believe it has Windows 95 or 98.
This one's running Windows 3.1 at the moment. It's going to be much tougher to get a network connection going. Is it possible to do some sort of modem-to-wifi bridge?
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?
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?
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?
I'm looking to see if anyone can speak to how life is (good, bad, or meh) with using one of the popular OneDrive clients on a common enough Linux distribution.
Ok, so allow me to set the context...
So, from a computing needs perspective, that's pretty much it. For every other function and need (e.g. email, productivity, etc.), they simply use browser or mobile apps as noted above.
You might be thinking, well, move them to linux, and if they like Microsoft, then use the Word or Excel browser app, right? Well, they LOATH having to use the browser or mobile versions of Microsoft Office. Being of a certain age, they might be ok with LibreOffice, since it mimics close enough to desktop versions of Word, Excel desktop apps...So, I think the desktop and office suite are less of a problem to find an alternative if needed...
But, OneDrive, yeah, this is the one app that they won't let go. Not because they love Microsoft (they could careless about the company), but because they have a good trust and experience of its functions to date on Windows. Onedrive has really empowered their workflow. That is, because they jump from browser to mobile app often through their day, etc....the feature of having a file easily and reliably sync (via onedrive) between devices is probably the most important need that they have.
Now, before anyone says, well try "NextCloud"...yeah, been there and done that. Nextcloud works wonderfully for me (has for years)...but it does not conform exactly to my partner's workflow. I've tried Collabera, but could never get it to work reliably enough. I want to state again, i am a strong, emphatic open source advocate...But if my partner can't get their work done without me constantly diagnosing and fixing things....then its not proper solution for them.
So, while i have a solid linux or open source option for all of their other needs, Onedrive is the challenge here. So, can anyone advise, how things are with onedrive clients on linux? Any particular client that is worth me looking into? What about a specific linux distro that, maybe possibly works best with a particular onedrive linux client? I should add that my partner is willing to pay for file synching and does NOT want to have me self-host things for this single function since they don't want to have me kill myself in supporting it. So, if there is a valid alternative to onedrive that is awesome on linux, and that they can pay a company to reliably host, that is welcome as well.
Or, should i simply advise them to stick to Windows through EOL, get them set on Win11 along with native Onedrive, and move on with our lives?
I'm thankful for anyone's recommendations and advice. Cheers!
Alright, time to ask for help. I designed a website for my cousin using Wordpress, hosted via BlueHost. It's 99% done.
The problem: she'd originally registered her domain through wordpress.com. She also has an email through that, which she accesses via Google Workplace. We've transferred the domain, but the nameservers are still registered to wordpress.com. I've found the guides for transferring nameservers on BlueHost and wordpress.com, but this is a step above what I've dealt with in the past.
My main concern and frustration are the email. She's already using it for work, and I want to make sure there's no downtime, but I... honestly have no idea how it's even set up, right now. Or how this would work when transferring hosts entirely. Attempts to search it haven't been too helpful for me.
So my questions: How will changing nameservers impact the email? Would updating them potentially just... break her email entirely? Need her to set up the email separately? And if she does, can it be kept through Google Workplace/Gmail since that's what she's already using? Is it fine to leave it as-is? I assume not but her wordpress.com account shows that it expires in 2027, so...?
Just, please help.
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?
I have a long standing problem that probably has several good solutions, I just haven't been able to figure them out. So here I am, asking you.
I'm selfhosting some services, a mix of selfbuilt and open source software. But some things I don't want to selfhost. Notably backups and alerts/notifications. For backups I have a solution which works well in every regard except one - I don't always get alerted when things fail, because the way I send myself those alerts is failing more than the actual backups.
Currently I'm using python and gmails smtp interface to send myself email, but gmail disables my smtp access from time to time, and it's really easy not to notice not getting an email. I've tried sending the email regardless of whether the backup failed or not, but I've noticed several times that I still don't notice if the they stop coming.
Now on to my requirements/wishlist.
As you may have noticed I'm pretty much expecting there to be something in aws that I can use, but aws documentation is so abstract, that I often don't understand what the point of something is or how I'm supposed to use it.
I have a standard Meshify 2 that has a lot of space in it. Its pretty much only got my GPU (3080) and a few drives. Anyway, it idles around 40C in my office, which is fine.
Here's my question --- I've got five 140mm fans, not including the normal exhaust on the back. Here's the setup I did today.
The top exhausts run around 50rpm slower than the two intakes. I read that I should build negative pressure. This case is covered in filters, too, so dust hasn't been an issue.
Under load (GTAV) the system maxes out around 60C.
Is that top optional intake a waste of time?
Apologies for the terrible tagging...
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?
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?
Preface: I am familiar with Habitica. This idea would probably scratch a similar itch, but I'm also using this as an opportunity to sharpen my Rust skills.
My idea came about when I was trying to find out some new tactics to curb my alcohol consumption, which isn't quite out of control yet, but I don't want to tempt fate.
I've also really liked the progression aspect of RPGs. What if I could gamify my quest to not drink alcohol and make it sort of a fun, unique RPG experience at the same time?
In the broadest sense, it would go something like this:
The initial game concept I came up with is just one that I see as the quickest way to get this off the ground, which would be something CLI-based, where you are presented with a menu ("visit shop, enter arena, view equipment" etc.). You spend battle tokens to enter into arena battles, which reward experience points, money, and gear. You level up, work towards a build (there needs to be a way to respec because restarting isn't really an option), and progress through the arena.
In total, you would probably spend less than 5 minutes every day playing the game, which is by design. It should be an every day habit. But, there should be enough entertainment value that, if I'm not getting those sweet battle tokens by not drinking, I'm missing out on experiencing the game (or, I could lie, which defeats the purpose of the app).
So that's where I'm at right now. I'm really interested to hear your thoughts, ideas, critiques, etc. before I spend a free weekend building out a concept.
Some questions in particular:
In the end, this is a deeply personal project that would be built, first and foremost, for my specific needs. But that's not to say I couldn't build it with some scalability in mind. Rather than asking about alcohol, perhaps the "habits" can be customized, and so forth.
Anyway, have a great weekend!
I am planning on switching to Linux Mint as my first Linux daily driver. I know someone who's used Cinnamon (the default) and it works fine, but I was wondering if the other options officially provided (Xfce and MATE) are any better? I have a little bit of (pretty trivial) GNOME experience on Ubuntu, but I don't really understand the pros and cons of different DEs. I've used KDE on the Steam Deck, and I hear that's a popular one, but can I get that on Mint?
Okay, so this is getting really long, I'll put the ask up front: I have a strategy, I think it is reasonable. Now is a point where I can easily change things, and it won't be so easily later. So I'm looking to see if anyone has trod this road before and can recommend any of:
I have a project I'm working on where the ultimate deliverable will be a hardware device with 3-4 different microcontrollers coordinating with each other and interacting with a PC-ish platform. This is a clean rewrite of a C++ codebase. Due to the microcontroller (and some of the PC APIs) being C++, the language of choice for most of it is likely to remain C/C++.
I'm succeeded in setting up a build system for embedded code. The old code was arduino, so it relies a lot on those libraries, but I've managed to set up enough custom cmake to get off of the ardunio tools altogether, even if I am borrowing their libraries and some of the "smarts" built into the system about setting build flags, etc. So far, I have a dockerized toolchain (cmake + make + gcc-arm-none-eabi) that can successfully build ARM binaries for the target platform.
The thing that I'm up against now is that I'd like to have a robust off-target unit testing infrastructure. My ideal case is that everything in the embedded system will be broken down into libraries that have clear interfaces, then to use unit tests with mocks to get high coverage of test cases. I'll still need some HIL tests, but because those are harder to set up and run, I want to use those for integration and validation.
In terms of OSes available, we're mostly working on Windows systems using WSL for linux. I'd like things to be as linux-based as possible to support CI on github, etc.
I started out using cmake because I hate it least of the tools I've used, and I am at least pretty far up the learning curve with it. But a limitation I'm hitting is that you can't do a mixed compile with two different toolchains in one build. The reasons why cmake has this limitation seem reasonable to me, even if it is annoying. You can easily change the toolchain that your code is built with, but that seems to be largely targeted at cross-compiling the same binaries for different systems. What I want to do is:
My current plan is to configure a library build like this (pseudocode):
add_library(mylib sources)
if (BUILD_TYPE STREQUAL BUILD_TYPE_EMBEDDED)
<embedded config>
elseif (BUILD_TYPE STREQUAL BUILD_TYPE_LINUX)
<linux config, if any>
endif()
#unit tests are built for each library
if (BUILD_TYPE STREQUAL BUILD_TYPE_LINUX)
add_executable(mylib_test sources test_sources)
target_link_libraries(mylib gtest etc.)
endif()
For the rollup binaries, I make the whole target conditional
if (BUILD_TYPE STREQUAL BUILD_TYPE_EMBEDDED)
add_executable(myembedap sources)
target_link_libraries(mylib)
endif()
Then the build script (outside cmake) is something like
cd build/embedded
cmake <path to src> <set embedded toolchain> -DBUILD_TYPE=embedded
make
cd ../../build/linux
cmake <path to src> -DBUILD_TYPE=linux
make
Things I like about this strategy:
Things that worry me:
Thanks for reading. If you made it this far, you have my gratitude. Here's a video with funny out of office messages that I enjoyed.
Hi folks--
To those more knowledgeable than I am:
What would be the best local solution to extract numerical data from a batch of PDF file reports? The values I want are interspersed among word processor formatted tables and irrelevant text. The text and table formatting are (nearly) identical across reports. The data I want vary across reports. The PDFs are not of images...I can select and copy text without OCR. I have thousands to process, and the data themselves are confidential (I have clearance) and cannot be shared. I can use Windows or Linux but no MacOS.
I am technically inclined, so I bashed my head against regular expressions just enough to use notepad++ to find and delete most of the irrelevant stuff and make a CSV, but it's a hacky, imprecise method and not nearly automated enough for batches. For reference, I don't code for a living or even as a hobby, but I use R and bash, am familiar with IDEs, and can follow pseudocode well enough to edit and use scripts.
Any thoughts? Thanks in advance!
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?
I stopped blogging several years ago. Over the last few years, I've been writing plenty of private essays. However, very recently I have been considering starting to publish my writing and, well, start blogging again publicly. I have no desire to waste time on templates, look-and-feel, visual stuff, etc. I just want to write a bog-standard html file, and then publish it...I do value leveraging html elements that help with meta data (e.g. microformats, etc.), but don't care about how things look - and these elements that i value are all invisible to most users anyway. I would be fine with just crafting html by hand, deploying it via sftp or some boring deployment pipleine, and that's it. But, then, I started thinking: what about having an RSS/Atom feed? I used to consume content via an rss reader, but have not done so in years. But, I don't want to manually craft that feed file; nope, sorry. But, I've heard a comment or two from acquaintances that rss/atom feeds and syndication are really something that people - like my potential audience - might really desire. So, I should really consider having one. This means that either I have to craft several things manually (from the blog post itself, the list of archived posts, the feed file, etc.), or use a static site generator that will handle all this for me, etc. I don't want to get trapped down a rabbit hole where I am spending so much on the tooling, the scaffolding, twiddling with templates, or the publish process itself. I just want the minimal for writing and publishing, I want it to live on my domain name, and that's it. Am I crazy or extremely lazy for not wanting to generate an RSS/Atom feed file?
So, here's my ask of you all nice people: are feeds like RSS/Atom feeds even worth it? If so, does anyone have recommendations for a manual process where i can craft the blog post's html by hand, but somehow leverage a portion of a static site generator (or some minimal tool) to only automate the creation of the RSS/Atom feed file? Thanks in advfance for any constructive feedback!
P.S. - One thing that re-ignited my desire both to write more in public, and keep it alive with minimal fuss was my re-reading of Jeff Huang's excellent "This Page is Designed to Last" post: https://jeffhuang.com/designed_to_last/