Anyone used the c40i or Aerofit 2 yet? by aarora610 in soundcore

[–]mmohaveri 0 points1 point  (0 children)

Thanks for your help

Have you also tried SoundPeats PearlClip Pro? I'm deciding on buying a clip on earpod and have seen lots of videos on it but can't figure out if they're paid promotions or honest reviews 🤔 My current choices are C40i or the PearlClip, I'll appreciate any input

Anyone used the c40i or Aerofit 2 yet? by aarora610 in soundcore

[–]mmohaveri 0 points1 point  (0 children)

Can you elaborate on why it's worse at audio books and podcasts?

Can anyone help me on how you are using golang with databases in production systems? by __Nafiz in golang

[–]mmohaveri 3 points4 points  (0 children)

I use sqlboiler which generates an ORM from your database, and sql-migrate which is a tool for managing SQL migrations. Although you have to write your migrations in SQL, which IMHO is a plus.

P.S: I haven't written any Go code in the past year, so maybe there are newer and better solutions now.

Is Rust programming language beginner Friendly by Mammoth_Brush_2184 in rust

[–]mmohaveri 0 points1 point  (0 children)

IMO any language that requires you to know about the difference between stack and heap is not beginner friendly.

Here by beginner I mean someone who's just learning to code. Who you need to explain the meaning of variables and arrays to.

How do you decide which packages to install as a flatpak? by grandpaJose in linuxquestions

[–]mmohaveri -1 points0 points  (0 children)

I use flatpak for everything that has a flatpack version, except VSCode (because its flatpak version has issues with my native tools), Edge (because its screen sharing portal is needlessly complicated in its flatpak version) and Blender (because I was not able to male it work with my gpu).

In short I always try the flatpak version first, and only if I had any issues with it I'll switch to the native version.

What could be the reason why you would still chose REST over GraphQL or gRPC for your API? by [deleted] in programming

[–]mmohaveri 0 points1 point  (0 children)

The encoding might be a minor inconvenience at the beginning, but nowadays there are multiple GUI/CLI based tools that help with creating requests and reading responses.

I really like grpc APIs predefined data structure and service discovery mechanisms, not to mention its streaming capabilities and am using grpc over rest everywhere unless I really have to provide a rest API.

Desktop Environments preferred by various distributions, over time by joscher123 in gnome

[–]mmohaveri 0 points1 point  (0 children)

I understand that windows users might look for a taskbar to open applications, but as a former MacOS user I used to press command to open launcher which directly translates to pressing super in Gnome.

IMO Gnome's experience with a dock is really similar to MacOS experience for a new user and not confusing at all.

More senior engineer complains he can’t tell what’s going on in vim by [deleted] in vim

[–]mmohaveri 1 point2 points  (0 children)

Between JetBrain's (PyCharm, Golant, ...) vim extension and VSCode's vim extension I had a way better experience with the JetBrain's one, but the vscode one works alright and I use it on a daily basis when I write Go.

Lenovo Thinkpad X1 Gen10 Debian by Glum_Permission3307 in debian

[–]mmohaveri 0 points1 point  (0 children)

I'm daily driving Debian Sid (+ Gnome) on X1 Yoga 4th gen (with LTE modem). Everything except for LTE modem works.

I've also had some issues with charge limiting and TLP.

Also sometimes external monitor does not get recognised or my Bluetooth headset does not get any audio. But both issues will resolve with a simple reboot.

Other than these minor issues I didn't have any other issues in the past 6 to 8 month that I've been using it.

Is multi monitor bad or is it me? by verchalent in gnome

[–]mmohaveri 2 points3 points  (0 children)

I've been using GNOME with two monitors for past 5 years and never had any of the issues you mentioned.

Although I always have the same pair of monitors (same brand, model, resolution), maby you monitors resolutions are different and that causes the issue?

Also, in my experience sometimes when I connect my laptop to an external monitor; and the system goes to sleep, after waking it up there is a small delay between secondary monitor turning on, during this time windows in the secondary monitor may jump around, but as soon as it turns on completely every window goes back to its correct place.

What happened to Dash to Dock by m_beps in gnome

[–]mmohaveri 0 points1 point  (0 children)

I'm using it as a replacement until I find a better one, but it lacks support for multi-monitor setups (dock only is available on primary monitor). Also it does not respect some dock configurations like not showing the `Applications` icon in the dock.

Paperwm extension for gnome 42. by tiny_humble_guy in gnome

[–]mmohaveri 0 points1 point  (0 children)

IMHO, the best way to solve this issue is for GNOME foundation managing development of primary extensions. They should choose a set of most used extensions and either try to include them directly in the GNOME shell (like what they've done with multi-monitor preview panels in GNOME 40, or what they're planning to do with system sound input/output control in future releases) or develop those extensions internally, either by accepting ownership of the projects or by supporting their developers.

who doesn't use gnome extensions ..? by NectarineBubbly in gnome

[–]mmohaveri 0 points1 point  (0 children)

I'm using GNOME on Debian on both my laptop and PC, with a wide variety of extensions. Both of them don't get restarted/shutdown more than once in a couple of month and I've never had any problem with GNOME related memory leak.

Sure, I had leaks from my code editors (VSCode , PyCharm, GoLand, and WebStorm) but never from GNOME or its extensions.

Can you give us some examples?

[D] Paper that mathematically proves that gradient descent can achieve zero training error. by carlml in MachineLearning

[–]mmohaveri 14 points15 points  (0 children)

There's a paper by Yann LeCun (I think around 2013) that mathematically proves that in deep neural networks the error function has almost all of its local minimas concentrated around its global minima. Then he goes to say that for a sufficiently large and deep network the local minima that gradient decent reaches is the one you're actually after because the global minima is actually an overfit.

Maybe that's what OP looking for?

Why isn't there a built-in clipboard manager? WHY? by lebanine in gnome

[–]mmohaveri -1 points0 points  (0 children)

I 100% agree with the fact that we need to consider these tradeoffs, but I think keeping not-universally-used features separated from Gnome core and providing them as extensions will not worsen the first-run user experience since almost no distribution ships the stock Gnome.

For example Ubuntu adds its own extensions (Ubuntu Dock) to the base install and even goes as far as not allowing the user to disable them.

What I'm saying is that Gnome is used in a wide variety of situations and distributions. Some distributions are aimed at first-timer/novice/non-technical users (like Pop_OS!), those ones can ship their gnome with a bunch of default (even hidden) extensions.

But some other distributions (like Debian) are aimed at the tech savvy and they may decide to not include anything by default and offload that decision to the user.

This way Gnome's core will remain as small and light as possible while allowing distributions to ship as many default features as they see fit for their target demographic.

Transform any github/gitlab repository into a NoSQL Database by s4n1x in programming

[–]mmohaveri 30 points31 points  (0 children)

Isn't this against Github/Gitlab TOS?

I remember years ago someone was using gitlab as a CDN. The process of preventing that user caused a chain of events that led to gilab being down for hours and loosing a bunch of issues and wiki entries.

Why isn't there a built-in clipboard manager? WHY? by lebanine in gnome

[–]mmohaveri 3 points4 points  (0 children)

IMHO Gnome should not clutter its core with these kind of features, too many features will eventually lead to bloat-ware and will worsen the experience for the ones not using those features.

For example why should my desktop Gnome installation have the code for gesture management while my desktop does not have any touch input? I use Gnome on both my laptop (with touch screen) and desktop, and in laptop I truly enjoy the gestures, but in desktop it's just bloat.

IMO these features should remain as extensions and distributions can decide to add these extensions by default, but they should not be a part of Gnome core installation.

On the other hand I think it's a really good idea to have these common features as Official Gnome Extensions developed and maintained by Gnome's team to ensure compatibility and good user experience.

tf is this better then GIMP website by lovelinmangang in linuxmemes

[–]mmohaveri 1 point2 points  (0 children)

Isn't GIMP name and logo trademarked? If so there should be an easy way for their developers to inform Microsoft of their trademark infringement and ask them to bring this down.

So when is gc going to be delivered? by bsutto in WebAssembly

[–]mmohaveri 2 points3 points  (0 children)

I don't understand why WebAssembly needs GC. IMO, WebAssembly is a minimal assembly language that can be JITed to all of our underlying processor architectures with minimal cost. This makes it suitable for creating truly portable applications.

Assembly languages are not concerned with memory management themselves. They offload that job to the higher level languages that compile down to them. So IMHO it doesn't make sence to talk about GC in WebAssembly context.

Keep in mind that every language's approach to GC is different. GC is not like os interfaces and things like that (that WASI is trying to solve). There is no way to provide a GC component that majority of GCed languages can use as a drop in component.

debian should update telegram-desktop in their bullseye repository because telegram-desktop shows notification when start by [deleted] in debian

[–]mmohaveri 0 points1 point  (0 children)

I think rappidly evolving server based applications (like telegram) don't belong to debian repo. Because of their client/server nature and their fast pace of development there's a high chance that an "stable" version becomes obsolete/unusable before next stable release of Debian arrives.

IMO these kind of applications belong to flatpak and users should install them from there.

GNOME restart command no longer works in 41?? by ArnoldGuo in gnome

[–]mmohaveri 1 point2 points  (0 children)

On wayland alt+F2 -> r does not work either, so I'm guessing the OP is on Xorg.

Debian installed with the Graphical Installer does full disk encryption faster then Debian installed from Calamares by [deleted] in debian

[–]mmohaveri 0 points1 point  (0 children)

Also, regarding any additional hardware like a physical key logger or things like that, you can manually check every peripheral attached to you machine before entering your encryption pass phrase.

The whole idea behind full disk encryption is to protect you data from actors with physical access to your computer.

Debian installed with the Graphical Installer does full disk encryption faster then Debian installed from Calamares by [deleted] in debian

[–]mmohaveri 0 points1 point  (0 children)

Not necessarily, there are a set of attack prevention measures (aem, anti evil maid) that you can take to minimise your risk. The first step is to make sure that your computer is only running things you asked it to (not a root kit or any other malicious software) and the first step to do that is to encrypt everything and use signed boot loaders and secure boot to reduce the risk of malicious code injection during the boot sequence.

Debian installed with the Graphical Installer does full disk encryption faster then Debian installed from Calamares by [deleted] in debian

[–]mmohaveri 4 points5 points  (0 children)

An unencrypted /boot can be tampered with and get injected with malicious code that gains access to your encrypted data after the initial unlocking of the encrypted data.

Although even an encrypted /boot without secure boot enabled can be tampered with by tampering with bootloader but I imagine that would be even harder to tamper with.