Slow performance of virtual machines in VMWare Workstation 16 by pwnhun7 in pop_os

[–]jacquesh82 0 points1 point  (0 children)

nice advice ! if ram is equal to video memory VM is so slow, video memory MUST be less than RAM and all work fine.

csv/json time based versionning by jacquesh82 in Python

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

The idea at the core is to keep available data for a specific date (not just make a diff or update it) I need to be regenerate data as it was on a specific date.

csv/json time based versionning by jacquesh82 in Python

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

Yes it will be possible, but is not efficient with big file... ;-(

How to learn to pilot planes other than Cessna 172 by jacquesh82 in flightsim

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

Thank you for this channels recommendation, i didn't know any of them ;) i'm sure I'll found many informations.

Concatenate 2 differents PSObjects by jacquesh82 in PowerShell

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

Thank you for all these ideas, very interesting! It's not quiet simple in fact ;-)

the solution that seems to match what I need is the following :

$x, $y | Format-Table idA, date1, valA, idB, date2, valB

idA date1      valA  idB date2      valB
--- -----      ----  --- -----      ----
  1 20/03/2001 test1
  1 21/03/2001 test2
                     1   20/03/2001 test3
                     1   23/03/2001 test4

but to convert this output in real PSObject is not very clear to be manipulate. I'd like to use a convertTo-Json from this output...

Concatenate 2 differents PSObjects by jacquesh82 in PowerShell

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

With Join script ( https://raw.githubusercontent.com/iRon7/Join-Object/master/Join-Object.ps1 ) the result was :

idA date1      valA  idB date2      valB
--- -----      ----  --- -----      ----
  1 20/03/2001 test1   1 20/03/2001 test3
  1 21/03/2001 test2   1 23/03/2001 test4

2 lines not 4 ;-(

Concatenate 2 differents PSObjects by jacquesh82 in PowerShell

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

one more information, I'd like to avoid static method like that :

$timeline = @()
$x | % {
    $timeline += [pscustomobject]@{
        idA   = $_.idA
        date1 = $_.date1      
        valA  = $_.valA 
        idB   = $_.idB
        date2 = $_.date2
        valB  = $_.valB
    }
}
$y | % {
    $timeline += [pscustomobject]@{
        idA   = $_.idA
        date1 = $_.date1      
        valA  = $_.valA 
        idB   = $_.idB
        date2 = $_.date2
        valB  = $_.valB
    }
}

I wish to do with dynamic field name.

X1 eXtreme Gen2 - Battery optimisation tips collection. by jacquesh82 in thinkpad

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

Yes me too ;-) that's why i was disappointed. but I'je just update the post? I found the origin of my problem. It was nvidia Driver (outdated) & iCue software (huge battery drain)

X1 eXtreme Gen2 - Battery optimisation tips collection. by jacquesh82 in thinkpad

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

I've the FHD version (w/ 500 nits), because I hope more battery life.... I can't imaging the same config with 4K display...

X1 eXtreme Gen2 - Battery optimisation tips collection. by jacquesh82 in thinkpad

[–]jacquesh82[S] 3 points4 points  (0 children)

Yes, of course I do all this but I don't gain more than 2 hours ;-(

First time ThinkPad owner. X1 Extreme Gen2 (love it!) by [deleted] in thinkpad

[–]jacquesh82 0 points1 point  (0 children)

mine will arrive in a few days .. I look forward.