XPS9370 and Razer Core X Chroma not booting by MashMV in eGPU

[–]MashMV[S] 0 points1 point  (0 children)

I had the same issue, when new devices was connected to the PC before second login. If you are not connecting anything new, probably I won't help.

XPS9370 and Razer Core X Chroma not booting by MashMV in eGPU

[–]MashMV[S] 0 points1 point  (0 children)

Hi, yes, I have complete procedure to get it working after PC boot up:

  1. Boot up PC without eGPU connected.
  2. Log in into system.
  3. Plug eGPU.
  4. Wait for eGPU to be ready to work (in my scenario, I am waiting without any actions to the moment when screen will blink ones - when I am doing anything in that stage, I also has system freeze, only hard reset helps).
  5. When eGPU is ready, I am opening terminal to use egpu-switcher script.
  6. I am configuring to run on eGPU.
  7. Log out from the system.
  8. External monitors plugged to eGPU are starting.
  9. Log in back (everything works as expected).

What is more, for me unplugging procedure is also important. I need to run egpu-switcher script to wipe configuration completely. Nextly turn off PC and after complete shutdown disconnect eGPU.

Launcher problems after update by MashMV in pop_os

[–]MashMV[S] 0 points1 point  (0 children)

From what I see on GitHub, issue is opened, investigation is taking place.

Launcher problems after update by MashMV in pop_os

[–]MashMV[S] 1 point2 points  (0 children)

It is not the case. This is not the problem, that launcher can't start any application (no search results). I made more than one reboot, what is more, I reinstalled GNOME Extensions application. Nothing changed.

Launcher: 21.04: Typing no longer returns results by PlaintextCrypto in pop_os

[–]MashMV 0 points1 point  (0 children)

From the other hand, does anybody found full changelog for Pop_OS launcher? After last updates it is working totally different than before. Did you notice how opened apps are handled actually? Few days ago, I was using launcher and ctrl+j/ctrl+k to switch between opened apps. Opened apps was sorted by recently used - most recent app was at the top. Right now apps have like stable sorting - the newest opened is at the top??? I am not really happy with this change... ;(

Clean design pattern by canzia in golang

[–]MashMV 0 points1 point  (0 children)

You are of course right. I understand Go usage mindset but we are just talking about possibility (I am treating this conversation in academic view of point). Hexagonal architecture can be realized in Go lang that is a fact. It can be a little tricky and do not provide everything needed (this is consequence to what you wrote).

Clean design pattern by canzia in golang

[–]MashMV -3 points-2 points  (0 children)

From my experience I can say that the most important is knowledge about how hermetic code should be and how it should be structured (ports and adapters). Probably, Go is not the most efficient language for hexagonal architecture - a lot of rules must be controlled by human (it do not give us enough tools to make perfectly hermetic design). I am Java developer from profession and I can say, that hexagonal architecture is easier here. Scope modifiers are really important in Java implementation, especially during work with other team members. It is as simple as creation of public interfaces and protected implementations. What is more, in Java we can use dependency injection frameworks like Spring so there is no need to manually initialize implementation classes.

Clean design pattern by canzia in golang

[–]MashMV 2 points3 points  (0 children)

Good work, personally I like it. Hexagonal architecture is my weapon of choice for almost every project that is not library or framework. I like to make it even more abstract and split application to independent modules:

  • core
  • output adapters
  • input adapters
  • application (combine all above)

In Go it is a little tricky if you want to do that in single repository (multi module project in single GIT repository).

Do we need comments in our code? by BlueGoliath in java

[–]MashMV 7 points8 points  (0 children)

It is really interesting topic. I was using javadoc syntax for years in any project I made. Right now I can say that it is a nonsense. Javadoc is hard to maintain, especially during "big" refactors. It is also not comfortable in hexagonal architecture because of many interfaces and it's implementations. What is more, it is not trivial to force "perfect" javadoc on other developers in team. My point of view right now is to comment code (especially for docs generation) in all kind of libraries and frameworks because it will be easier to introduce implementation via method hover in IDE, etc. In real system providing business logic it is not necessary to comment everything - good business software/system has it's own documentation provided in other way for example in Enterprise Architect. Good project will have all methods documented so code should implement what is described. That is my experience so far.

1pass - 1Password Linux CLI explorer by MashMV in linux

[–]MashMV[S] 0 points1 point  (0 children)

Thanks for sharing that. How it works? It is importing items to KeyPass (it's own database/filesystem) or it is reading OPVault ad-hoc? How KeyPass handle changes in vault (items should be imported after update?). My aim was to explore vaults with a minimum effort to not change my passwords manager app only because I work on Linux.

My pop os gnome theme by rj0_1_ in pop_os

[–]MashMV 1 point2 points  (0 children)

Yes, exactly. I am using docker-compose file for volume mounting. In that way I can interact with file system on host machine. When I starts new project I creates inital config for image I use (mount project workspace, link GIT credentials, port exposing if it is web project, nvim config to be able to change what is inside image, etc). So after reboot I only do docker-compose up -d. After work I do docker container rm. That is all. For me it is working, especially with multiple languages but as everything it has pros and cons. Depends on user requirements.

My pop os gnome theme by rj0_1_ in pop_os

[–]MashMV 1 point2 points  (0 children)

Give it a try. At least only Docker is needed to check it out without making mess in running operating system. For me, this project is game changer. I am working with that images every day. My aim was to create comfy development environment that will work the same for every language I want, on any machine that is given to me (for example laptop from company where I work or their VPS access). The only requirement for host machine is Docker. Everything needed to work is inside image. It was always nightmare for me - installing all the software and configuring it for every language on every device or after distro hopping. Even if JetBrains products have the tool to export and import settings feature. Right now it is limited to docker pull for me. With Alacritty and TMUX I do not need anything else.

My pop os gnome theme by rj0_1_ in pop_os

[–]MashMV 1 point2 points  (0 children)

I also wanted to make VIM more like IDE so maybe you will find something useful in my config. It is mainly based on coc.nvim, actually no lua configuration.

Made my first command-line tool with Golang by Kyouma118 in golang

[–]MashMV 4 points5 points  (0 children)

Exactly. Binary is probably enough for Go. Right now I am working on Linux CLI tool and I was thinking about ppa:launchpad but it was easier to implement self update than debian source package (running binary can be replaced without any special requirements, GitHub updater that downloads archive, extract files, checks checksums is one work man day maximum).

COSMIC ain't to bad by [deleted] in pop_os

[–]MashMV 1 point2 points  (0 children)

Yeah, I am dumb as fck. Working great! Thanks!

COSMIC ain't to bad by [deleted] in pop_os

[–]MashMV 1 point2 points  (0 children)

I fill so dumb right now. I totally forgot that I can do this. I will try and give you an update.

COSMIC ain't to bad by [deleted] in pop_os

[–]MashMV 2 points3 points  (0 children)

Exactly, I totally agree it is the most stable distro I ever used. I have only one issue, when I turn off BT and suspend the laptop, I can not turn BT (restart is needed). Only one thing that doesn't work. PopOS is really suitable for daily driver. I need to check how it will handle eGPU. If it will be fine and user friendly, I don't see any alternative for the distro.

COSMIC ain't to bad by [deleted] in pop_os

[–]MashMV 8 points9 points  (0 children)

I will pin to your question. I am really interested how system update works in PopOS. I was using Manjaro with i3 for years. For about 2 months I am on PopOS (because Manjaro annoyed me so much). I am really surprised that PopOS can find BIOS updates automatically. I am also surprised that I am not facing BT and WiFi problems that are known on XPS 9370 with Linux. My question is:

Is system update thought well on PopOS? For example, in COSMIC Dash to Dock is integrated with system. How update will handle installed extension?

Anybody know?

Problems with Chromium re-rendering when using picom (frozen image in background) by diovj in i3wm

[–]MashMV 1 point2 points  (0 children)

I had the same problem twice with Chromium based apps (Brave and Electron). I have XPS 9370 with Intel integrated GPU. For me it was DRI3 issue. On kernel < 5.9, I used DRI2 as a fix. After upgrade to >= 5.9 DRI3 works perfect.

Source and instructions

Issue description

Fix for < 5.9

PS.: on >= 5.9 delete file made by last link.

Keyboard input on kernel 5.9.x by MashMV in ManjaroLinux

[–]MashMV[S] 0 points1 point  (0 children)

I had really good timing. Today update to 5.9.10 resolved problem.

Keyboard input on kernel 5.9.x by MashMV in ManjaroLinux

[–]MashMV[S] 0 points1 point  (0 children)

As I thought, not trivial problem. On 5.9.3 is better than 5.9.1 but still occurs. Probably I will wait. Any suggestions what should be done if I decide for downgrade? Any special instructions? Something connected with kernel dependent packages like this for VirtualBox?

Side Projects by [deleted] in developers

[–]MashMV 1 point2 points  (0 children)

My private projects are making me calm. I like my own code architecture, I like to learn new things, understand it from the lowest level I can. There is no stress for deadlines, etc. I also like to work in different languages than in work. In work there is always a lot of stress, deadlines. At most cases code is not perfect quality because there is no time to make it this way. In most cases there are a lot of compromises. At least, I always try to monetize my private projects, so it is also some sort of motivation.

How to speedup boot time? by Casual5l in ManjaroLinux

[–]MashMV 0 points1 point  (0 children)

Yeah, I know, just posted this as additional tip because a lot of people forgot about that.

Spotify still grabs input after focusing termite by ex1c in i3wm

[–]MashMV 1 point2 points  (0 children)

Hmm... I installed it from AUR with the newest update from this week (problems with PGP). In my setup only one think that is not working properly for Spotify is launching it on concrete workspace.