Wondering if it would be a good idea to setup a VM with this. Setup remote connection, and intellij. Just have a script to clone it for a new project and connect from anywhere using a remote app.
It will increase the size of the VM but the template would be smaller than a full blown OS
Aside from dev containers, what are other options? I'm not able to run intellij on my laptop, is not an option
I use Nvim to ssh into my computer to work, which is fine. But really miss the full capacity of intellij
Ive experimented with several small distros for this when doing cross platform development.
In my experience, by the time you’re compiling and running code and installing dev dependencies on the remote machine, the size of the base OS isn’t a concern. I gained nothing from using smaller distros but lost a lot of time dealing with little issues and incompatibilities.
This won’t win me any hacker points, but now if I need a remote graphical Linux VM I go straight for the latest Ubuntu and call it day. Then I can get to work on my code and not chasing my tail with all of the little quirks that appear from using less popular distros.
The small distros have their place for specific use cases, especially automation, testing, or other things that need to scale. For one-offs where you’re already going to be installing a lot of other things and doing resource intensive work, it’s a safer bet to go with a popular full-size distro so you can focus on what matters.
To really hammer this home: Alpine uses musl instead of glibc for the C standard library. This has caused me all types of trouble in unexpected places.
I'm all for suggestions for a better base OS in small docker containers, mostly to run nginx, php, postgress, mysql, redis, and python.
Valid points, completely forgot about that part, and even with installation script, I manage to waste a good amount of time downloading and setting things up.
Question, I use VirtualBox, but I feel it's kind a laggy sometimes, What do you use? Any suggestion on performance improvements?
Docker to start IntelliJ and access remotely from my Laptop, will have to tunnel. Hm, I should give this a try. I was not sure if Docker+GUI goes well.
Automate, High Performance application development, Data mining, API development. If you have any Rust or Python project that needs some work on, I'm interested! Let's have a chat.
Skill-set:
Programming Languages: Rust, Python
Database: PostgresSQL, MySQL
Backend: Axum, Django, FastAPI
Frontend: HTMX, React, Vue.js, SolidJS
Recent Projects:
- Live tracking of Formula1 racing data, Real time database integration.
- Amazon Selling partner API integration, product descrepcency detection, and generating reports with invoices.
- Data mining application for gathering product data from multiple sources.
- Remote Desktop Application development and deployment.
One use case, when doing unit tests, Docker containers, would make it too expensive with many tests. SQLite's type checking is far less strict than Postgres, which would not catch errors that would occur the real database due to type mismatch.
Having something like this, that I can quickly spawn and know, I am getting exact behavior as prod database would be a lifesaver!
In Gnome, the top bar stays in the Primary monitor only, and worse, even the app switcher always displays on Primary monitor, NO MATTER which monitor you are in! Which is absolutely infuriating. I can't imagine how messy the Global menu could be in a multi monitor setup. Why would one want that pain!
Was never a fan of Desktop icons, nor dash or dock. I use none. And I feel they just adds clutter. Only reason I have the top panel visible, because I need to see the time. Heh.
You don't move windows that you do not need right now to other workspace. You move to a new workspace with the window you are working on. Which is more logical, and workspace are cheap, and quick to navigate to.
There are even extensions, that opens new windows to a new workspace automatically.
But of course, I have few complaints about how multi-monitor workspace are handled in Gnome, I prefer how i3 handles workspace.
My workflow is never so organized and segmented that windows all group neatly together in workspaces together. This is why workspaces/virtual desktops never worked for me.
I can assure you, It's not about organization, not for me at least.
I just can't stand too many windows open in a single workspace, I get anxious, and close window, and then I close an important window and get lost.
With workspace, I don't have to close any window, go to another workspace, and keep working. If I remember something, on some other window/app, I can just move it to the current workspace.
So, now come to the point with too many window, traversing them become a huge pain. So, for that, I use `rofi` with window list option, so, I can just fuzzy search and jump to any window.
Switching by search is absolutely must if you are working in workspace and have too many windows.
I try to keep my projects in separate workspaces, and terminals related to the project in secondary monitors, and IDE on the primary, that's all organization I have
IDK about anyone else's experience but workspaces are not cheap on seemingly any system. Gnome on Linux, MacOS, Windows, all seem to have unacceptable performance degradation the more workspaces you open. I assume that this is because some frame buffer is being kept alive in all cases, but for the love of God, why?
I'm paying attention, and I have respect for the experiment, but something is wrong somewhere. Conceptually I love workspaces, having tried innumerable forms of spatial window management, and I have tried them across multiple OS's and I always run into this problem eventually where the system lags switching between them (despite apparently low resource usage across the board). For some ungodly reason despite the effort and money involved, OSX is the worst at it. Somewhere greater than 5 workspaces, each managing a fairly small amount of work, it lags like crazy on a powerful machine (M2, 64GB RAM). Gnome will just hang until the workspace has "finished" switching. Windows will switch quickly but will flash every app white until it reloads whatever context it needs to show me the right pixels. I know that workspaces exist somewhere in no man's land between "normal people" (what's a workspace?) and "power users" (who have thirty context-specific keyboard shortcuts for their desktop layout) but it's insane how badly they (anecdotally) perform across platforms. Not that your experiment isn't valuable, I certainly appreciate literally any amount of effort going into this problem, but I do wonder if I'm doing something specific to trigger the problems I'm seeing.
Workspace being froze or causing issue, is just the symptom of the actual problem. It's not the workspace are the problem. So, maybe you should investigate the underlying issue.
Which version of Gnome are you using? Older version of Gnome had an issue with workspace switch, which has been fixed over a year ago.
You do realize, Surface Pro 3 is a 10 year old laptop, which only have 4GB of RAM, and iGPU, and I have opened up 14 workspace, with multiple applications. And, obviously it had some lag, but it never became unusable.
maybe you’re doing something different from everyone else or your expectations are too high, but three finger swiping to move between spaces on macOS should feel smooth and buttery. There's a 200 millisecond lag after you switch spaces and when your input gets rendered (it starts accepting input in the new space as soon as you switch) that, if you're staring at that and focusing on that, watching it like a hawk, exists, but if you can get over that, Spaces/virtual desktops is a useful feature. The whole screen needing to rerender shouldn't be happening. What apps (or more likely, your IT department) are you running?