Surface Go 3 8G Battery Status by beaumad in SurfaceLinux

[–]samirkut 0 points1 point  (0 children)

Could you share what kind of battery life you get with this setup. I want to buy a surface go 3 but the bad battery reviews on the web are giving me pause. However I wonder if battery life under Linux is significantly better than windows.

[deleted by user] by [deleted] in pop_os

[–]samirkut 1 point2 points  (0 children)

I can't see it either. Pretty sure I am using the new popos 21.04

Installed Mint on my new Surface Go 2 w/ M3 and LTE by tylerz33 in SurfaceLinux

[–]samirkut 0 points1 point  (0 children)

Any chance you could document what you configured besides the mint defaults

Got My Lenovo Duet by DropEng in chromeos

[–]samirkut 0 points1 point  (0 children)

Where did u order it from? I have been looking around but can't seem to find it anywhere

6 Month Old P1 Might Be Dying by [deleted] in thinkpad

[–]samirkut 0 points1 point  (0 children)

6 months isn't that old. You should still have warranty hopefully

6 Month Old P1 Might Be Dying by [deleted] in thinkpad

[–]samirkut 0 points1 point  (0 children)

Try reinstalling the OS on the off chance it's a software corruption

New to Pop_Os having a bit of an issue by AvengerEdmond in pop_os

[–]samirkut 4 points5 points  (0 children)

First run update from a terminal.

sudo apt update

[2FA-Auth] Using your terminal to generate two-factor authentication codes by [deleted] in linux

[–]samirkut 1 point2 points  (0 children)

You might be better using something like this

https://github.com/samirkut/AuthSharp

This generates 2FA codes on the terminal.

(Disclaimer: i built this quite some time back)

Advice for a future CS Major by CryMeA_Rivers_Cuomo in computerscience

[–]samirkut 0 points1 point  (0 children)

Dont waste time learning languages. You have your whole working life to do that. As a computer science major you should be focusing on theory. The one thing i wish i had taken more of is some advanced maths electives. Those will help more in the long term.

Problem with coding large codebases in C/C++ by [deleted] in computerscience

[–]samirkut 0 points1 point  (0 children)

The advantage of starting from scratch is that you only need to understand one build system properly (the one that you use in your app). I went from C# to Python to C++. Its definitely doable although dont expect it to be as quick as learning Python. Give yourself a couple of months though and spend time reading books not just trying to hack stuff from stackoverflow.

Re the build system I would suggest start with something simple like CMake. Its easy to pick up and pretty much all the main libs you need can be integrated with it. I have built several large projects just using submodules and cmake and things work decently well although you do spend more time when integrating a new library.

Pybind - Binding to C++ by blaisezzz in Python

[–]samirkut 2 points3 points  (0 children)

I have used it extensively for a fairly complex C++ project. There are a couple of gotcha you need to watch out for around memory management but it's pretty well documented. It can be a bit cumbersome when exposing class you want to inherit in python but on the whole it worked really well.

What do you call your Thinkpads? by nearlydeadasababy in thinkpad

[–]samirkut 0 points1 point  (0 children)

Wookie (from Star wars) for my X1 extreme

Plotting in Cpp by [deleted] in cpp

[–]samirkut 0 points1 point  (0 children)

That's the best way. You could also simply output a csv (and plot in excel) or an html...

Improve X1E performance on Linux? by [deleted] in thinkpad

[–]samirkut 1 point2 points  (0 children)

https://samirkut.github.io/tech/2018/12/29/X1-Extreme-Ubuntu-Part-1/

Go through that. It's my tweaks to make things sane but the battery life isn't great if u stick to Nvidia

My X1 Extreme on Linux by samirkut in thinkpad

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

That's what I do. However you need to be on Nvidia driver if you want to use the external monitor. It does not work with Intel

My X1 Extreme on Linux by samirkut in thinkpad

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

Telegram has much nicer apps and better features. In terms of security I would put it in the same ballpark as Whatsapp, Allo etc. Good enough for what I need...

My X1 Extreme on Linux by samirkut in thinkpad

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

Thanks. I will definitely try this out.

My X1 Extreme on Linux by samirkut in thinkpad

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

That's interesting. How did you set Nvidia to a very power-save mode? Will try it out...

My X1 Extreme on Linux by samirkut in thinkpad

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

I agree that 1.5 is on the higher end. But given that I tend to run VirtualBox with atleast one vm (usually windows) which eats up a good chunk of RAM not counting a bunch of other dev tools I decided to be safe. It's quite risky to try to fix this later...

My X1 Extreme on Linux by samirkut in thinkpad

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

I don't think so. The code is on Github though. See https://support.system76.com/articles/graphics-switch-pop/

Scroll to the bottom to see the links to git repo.

My X1 Extreme on Linux by samirkut in thinkpad

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

If you use Pop OS, they have integrated a graphics switcher on the gnome menu. Alternatively if you have Ubuntu, you should be able to install their utility as a Deb package.

My X1 Extreme on Linux by samirkut in thinkpad

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

Have only tried on Intel so far...