How bad is battery life on Linux laptop?
Pretty bad. My gaming laptop gets 2 hours on Arch and 4 on Windows. My work laptop gets 4 hours on Arch compared to 6 hours on Windows. My 2-in-1 laptop from 8 years ago gets about the same, if not more. My 2009 laptop gets like 8 hours, and probably more than Windows would.
Edit: I use auto-cpufreq, but this doesn't help much. Power-profiles helps a little.
Fair enough, thanks!
Thanks for the suggestion! If you can believe it, I already have Syncthing installed but haven't used it in ages. I didn't even think of using this for keeping git repositories in sync! I did find these forum posts that seem to recommend against using Syncthing for git repositories, though they're 6-7 years old:
- https://forum.syncthing.net/t/can-syncthing-reliably-sync-local-git-repos-not-github/8404
- https://forum.syncthing.net/t/is-putting-a-git-workspace-in-a-synced-folder-really-a-good-idea/1774
Well, conflicting reports really, but it's enough to make me wary. Interestingly, someone recommends the branch solution as an alternative:
One of the objectives of git is to be decentralized. Just make a branch called
uncompilable_mess
and then clone the repo on your laptop.
Seemed to be working out well for the OP, though.
Japanese visual novels, because there are more of them.
It's not so much committing early, but pushing early. You don't want to push early, then rebase your commits, and then force-push to a repository other developers are using too.
But as I've learned from all of the responses in this thread, there are many ways of avoiding this 🙂
I use mpv on macOS and haven't had any trouble to speak of. But you might have installed VLC from the App Store, which is a common mistake—unless you're installing Apple's own software, you probably shouldn't use the App Store. It usually only carries inferior versions of the software to comply with Apple's terms, haha.
I very rarely use Microsoft Office nowadays, but once it's installed, it's (mostly) fine? I've heard from a coworker that there are some significant missing features in some software in that suite. I just remember struggling to find the page to download the Setup.exe
file. I went to the exact same page in Microsoft Edge and a download button that wasn't there in any other browser suddenly appeared! Maddening! This was a 5 or 10-license verison, I think.
Well, it's what I use with Neovim, but not everyone uses a terminal-based editor. But other users had some other suggestions too: https://lemmy.comfysnug.space/comment/620209
I rebase! I just don't want to push to the main repo, pull it down, rebase and force push to it. Pushing to a disposable branch is an obvious solution I didn't see, haha. I tend to not use branching a lot in my projects...
...I guess I could actually set up my desktop as a remote too, huh.
i don’t really know where this is coming from. would you like to elaborate?
As I said, I don't deal with a lot of Microsoft or Google services, though I do run my email through Microsoft Exchange. It took me roughly three hours to figure out how to download the Microsoft Office executable from the Microsoft website. I tried everything on Firefox, Brave, Chrome, even on my Mac. In the end, I needed Microsoft Edge to get it. I don't remember the exact details because this was 2 or so years ago, but requiring a particular version of a Blink-based browser just to download Microsoft Office seems...unnecessary.
I remember needing to use Brave for Microsoft Teams, but I could be remembering wrong. When I think of Microsoft being actively hostile toward their customers, I think of about ten years ago when Microsoft tried to prevent Xbox owners from sharing physical disk games with the Xbox One, essentially killing preowned games (not that they went through with it). Of course, Apple is an easier target than Microsoft for customer-hostile behavior. Frankly, these megacorporations all blend together for me.
I don't have any particular feelings about Microsoft, and after using Windows for 20 years, I don't have any major complaints with it (from memory; it's been a while), aside from the obvious. If there's any particular corporation I despise, that would have to be Amazon.
Judging by the big © Microsoft 2022
logo in the bottom right, I'd say you're right.
I guess this is one of those things I'm not going to appreciate until I need it, but none of that sounds more appealing to me over Docker Compose. I'm not sure how debuggers, etc,. would even apply to the server or why you would need to use a cloud server rather than running the services locally for a development environment. My guess is this would be a lot more useful for Windows users who don't have as easy access to the right dependencies?
how this? through Firefox I experience ms websites the same as with edge. google websites? experience is full of small differences from chrome
Firefox is my main browser. In my experience, Microsoft services don't work at all on Firefox. I can't say I use much of either company's services, but Google tends to be more lax in some departments. For example, the Google Pixel is the only Android device that allows you to securely unlock the bootloader and install another operating system on it, rather than forcing you to root the device.
I'm not a fan of either company, but I get the impression Google is less actively hostile toward their customers than Microsoft. For the most part.
Huh, fair enough. I guess I'm still not using git to its full potential. What I do now is SSH into my desktop from my laptop and work on it there. It's easy because I use Neovim.
This is quite interesting. Is the devcontainer spec tightly coupled to VS Code, or is it something that other IDEs do/can support?
Well, to be honest, I have a Docker Compose setup I use with Neovim anyway so I don't know what the benefits are of devcontainer compared to that.
On which, it’s suspicious that this is probably driven or associated with AI.
The landing page mentions this:
Code faster with generative AI
Work quickly and efficiently with AI assistance from Google built-in, including code generation, code completion, translating code between programming languages, explaining code, and more, all powered by Codey, a foundational AI model trained on code and built on PaLM 2.
I left it out of the main post because I um, didn't think it was particularly newsworthy.
Hell no, no way I’d trust Google with my code. Personal or otherwise.
Ditto. But at the risk of playing devil's advocate, if you were writing free software code you were going to stick on a code forge somewhere anyway, would you still be against it?
Are there Google services that only work in Chrome? I don't use any of them, so I don't know. I do know Google is generally less annoying than Microsoft in that department.
This is good advice. For example, here's a tricky one: https://github.com/IanLunn/Hover/blob/master/license.txt
Hover.css is made available under a free personal/open source or paid commercial licenses depending on your requirements.
Would you need to pay Ian Lunn Design to incorporate the library into your portfolio website? It's used for a commercial purpose technically, but you're not selling the website to a client. This is a source-available license, rather than a free software license. A free software license permits you to use the software for anything, with the only obligations usually being around keeping copyright notices intact and licensing your code in a certain way.
Generally, free software licenses are simpler and you'll usually be fine so long as you keep your code available under the same terms. Of course, things get a bit tricky when combining incompatible free software licenses...
Compatibility is important if you want to combine software with two different licenses into one major work.
Generally speaking, most software on Github tends to be licensed under a few free software licenses, which are interoperable with each other:
- MIT License
- GPL, LGPL, and AGPL Licenses, which have one major difference in obligations between them
- ISC License
- Apache 2.0 License
- Mozilla 2.0 Public License
However, when you combine MIT and GPL together, you may be obligated to distribute any changes you make to the MIT-licensed portion, depending on how strongly it's associated with the GPL portion. This is because the GPL is copyleft—that is, it requires you to provide anyone you transmit the binary form of the software to the associated sources if they ask for them. The MIT license does not require this obligation.
None of this really matters for a website, though, because you're not transmitting the software; you are instead providing a service. Do keep an eye out for the AGPL, because this one applies even with server-side software interacting with clients.
I think writefreesoftware does a good job of explaining licensing for developers in simpler terms than the GNU Project: https://writefreesoftware.org/learn/licenses/
Sorry for the length...it's kind of a complex topic.
Its still open source. You can still view the source code. That’s what open source is.
"Open Source" does not, and has never only meant, "you can view the source code". This is the Open Source Definition: https://opensource.org/osd/
Relevant excerpt:
- No Discrimination Against Fields of Endeavor
The license must not restrict anyone from making use of the program in a specific field of endeavor. For example, it may not restrict the program from being used in a business, or from being used for genetic research.
The Open Source Definition is very specific, and this license does not meet it. This license is, as it calls itself, "source-available".
If the OSI had obtained that trademark in 1999 on "Open Source", it would be abundantly clear what software really is and is not open source https://opensource.org/pressreleases/certified-open-source.php/
Google et al. run crawlers primarily to populate their search engines. This is a net positive for those whose sites get scraped, because when they appear in a search engine they get more traffic, more page views, more ad revenue.
This is not necessarily true. Google's instant answers are designed to use the content from websites to answer searcher's questions without actually leading them to the website. Whether you're trying to find the definition for the word, the year a movie came out, or a recipe, Google will take the information they've scraped from a website and present it on their page with a link to the website. Their hope is that the information will be useful enough that the searcher never needs to leave the search engine.
This might be useful for searchers, but it doesn't help the sites much. This is one of the reasons news companies attempted to take action against Google a few years ago. I think a search engine should provide some useful utilities, but not try to replace the sites they're ostensibly attempting to connect users to. Not all search engines are like this, but Google is.
GIMP is currently missing non-destructive editing (a rather core feature), but that's something they're aiming to fix in 3.2. I don't know when that'll be here, but that will be a good day for GIMP.
You might have better luck with Affinity Photo—it doesn't really work well through Wine yet, but it's getting there: https://forum.affinity.serif.com/index.php?/topic/182758-affinity-suite-v204-on-linux-wine/
I personally use Affinity Photo on macOS and I'm really happy with it. I like it more than Photoshop, actually. Fair warning that it will rasterize all your text layers in .PSD
files, so you'd want to be using only .afphoto
files, but it's impressive how good the .PSD
support is otherwise. So, give it a year or two, and Affinity Photo might be in good shape in Wine! I mean, I can hope.
My work laptop doesn't have a discrete GPU; I bought it explicitly to get better battery life (I really like the gaming laptop for its 120Hz screen and other specs, but the battery life made it a no-go). It gets around 4-5 hours, which is good enough for me, but I'm sure it would get better battery life on Windows.
How did you get better battery life on the gaming laptop, if you don't mind my asking? It uses a NVIDIA GPU.