[DISCUSSION] Windows 10 Insider Preview Build 19619.1000 (PC) [FAST - rs_prerelease]

Discussion in 'Windows 10' started by Enthousiast, Apr 29, 2020.

  1. AveYo

    AveYo MDL Expert

    Feb 10, 2009
    1,836
    5,730
    60
    @Enthousiast, I just realized why I don't like your build logs and it's not even your fault: there's no timing whatsoever - it would be very informative to know more than that it succeeded: how long it takes from build to build, assuming you mostly use the same hardware to do these uup conversions, and you're the face of uup conversions on this community. May you ask that lazy @abbodi1406 to add a simple timer?
    :rolleyes:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. I don't know if you're reading the Discord. The problem is not the technical side, but the user side. There are enough questions about everything, with your solution there would probably be more. And bandwidth is not a problem, at least for the server. The solution has to be idiotproof, @whatever127 will rewrite the website in the future and then something would change.
     
  3. And here is the solution:
    Code:
    timer.cmd convert-UUP.cmd
    
    Code:
    @echo off
    setlocal
    set Start=%time%
    %*
    set End=%time%
    
    if %Start:~3,1% GEQ 1 (set /a StartMin=%Start:~3,2%) else (set /a StartMin=%Start:~4,1%)
    if %Start:~6,1% GEQ 1 (set /a StartSec=%Start:~6,2%) else (set /a StartSec=%Start:~7,1%)
    if %Start:~9,1% GEQ 1 (set /a StartFrac=%Start:~9,2%) else (set /a StartFrac=%Start:~10,1%)
    if %End:~3,1% GEQ 1 (set /a EndMin=%End:~3,2%) else (set /a EndMin=%End:~4,1%)
    if %End:~6,1% GEQ 1 (set /a EndSec=%End:~6,2%) else (set /a EndSec=%End:~7,1%)
    if %End:~9,1% GEQ 1 (set /a EndFrac=%End:~9,2%) else (set /a EndFrac=%End:~10,1%)
    
    set /a StartSecs=(%Start:~0,2%*60*60)+(%StartMin%*60)+(%StartSec%)
    set /a EndSecs=(%End:~0,2%*60*60)+(%EndMin%*60)+(%EndSec%)
    if %EndSecs% LSS %StartSecs% set /a EndSecs+=24*60*60
    set /a DurationSecs=%EndSecs%-%StartSecs%&set /a FracDelta=%EndFrac%-%StartFrac%
    
    if %FracDelta% LSS 0 set /a DurationSecs-=1&set /a FracDelta+=100
    if %DurationSecs% GEQ 60 (set /a FinalMins=%DurationSecs%/60&set /a FinalSecs=%DurationSecs%%%60) else (set FinalMins=0&set /a FinalSecs=%DurationSecs%)
    if %FinalMins% LEQ 9 set FinalMins=0%FinalMins%
    if %FinalSecs% LEQ 9 set FinalSecs=0%FinalSecs%
    if %FracDelta% LEQ 9 set FracDelta=0%FracDelta%
    
    echo The following command started at %Start% and completed at %End%
    echo %*
    echo.
    echo Total duration was %FinalMins%:%FinalSecs%.%FracDelta% minutes.
    pause
    
     
  4. AveYo

    AveYo MDL Expert

    Feb 10, 2009
    1,836
    5,730
    60
    I had in mind something to be incorporated in the script itself, so that when I scroll down that log I no longer feel like the fridge-guy.gif not seeing how long it took - it gets me every time :)
    Also, your version is old - here's something more compact and with regional format, 24h and mixed input support:
    Code:
    @echo off
    
    call :timer
    timeout /t 3 >nul & rem Any process here..
    call :timer
    
    pause
    exit /b
    
    :timer [USAGE] call :timer input[optional] nodisplay[optional]
    if not defined timer_set ( if not "%~1"=="" ( call set "timer_set=%~1" ) else set "timer_set=%TIME: =0%" ) & exit/b
    ( if not "%~1"=="" ( call set "timer_end=%~1" ) else set "timer_end=%TIME: =0%" ) & setlocal EnableDelayedExpansion
    for /f "tokens=1-6 delims=0123456789" %%i in ("%timer_end%%timer_set%") do set "CE=%%i"&set "DE=%%k" &set "CS=%%l"&set "DS=%%n"
    set "TE=!timer_end:%DE%=%%100)*100+1!" & set "TS=!timer_set:%DS%=%%100)*100+1!"
    set/A "T=((((10!TE:%CE%=%%100)*60+1!%%100)-((((10!TS:%CS%=%%100)*60+1!%%100)" & set/A "T=!T:-=8640000-!"
    set/A "cc=T%%100+100,T/=100,ss=T%%60+100,T/=60,mm=T%%60+100,hh=T/60+100"
    set "value=!hh:~1!%CE%!mm:~1!%CE%!ss:~1!%DE%!cc:~1!" & if "%~2"=="" echo/!value!
    endlocal & set "timer_end=%value%" & set "timer_set=" & exit/b        AveYo:" Result printed second-call, saved to %timer_end% "
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,768
    103,924
    450
    #25 Enthousiast, Apr 29, 2020
    Last edited: Apr 29, 2020
    (OP)
    As always this is the flow, post the OP info (19:00), start the download and post the result (19:10), there is your timing:)
     
  6. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    OneDrive icon is updated
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. AveYo

    AveYo MDL Expert

    Feb 10, 2009
    1,836
    5,730
    60
    Liar! I know of one past build that took at least 12 minutes on a very fast SSD :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,768
    103,924
    450
    :rolleyes:

    ps, my hardware is 7 year old used up crap, except the sata ssd, still crap but at least newer :D
     
  9. jonaand

    jonaand MDL Senior Member

    Aug 4, 2012
    360
    31
    10
    this is near of rtm?
     
  10. oilernut

    oilernut MDL Senior Member

    Jul 8, 2007
    463
    358
    10
    This is fast builds, not related to 20H1/2004.
     
  11. excalibur2

    excalibur2 MDL Senior Member

    Aug 1, 2015
    271
    25
    10
    Well in these last few builds I had the problem of my computer freezing (never knew when this was going to happen), lets hope with this build they have solved the problem. It was very annoying changing the mouse etc to try and solve the problem my end.
     
  12. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. cuteee

    cuteee MDL Guru

    Oct 13, 2012
    5,761
    998
    180
    I still didn't get the new icon of OneDrive.
     
  14. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    Clipboard-1.jpg
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. nicojac

    nicojac MDL Novice

    Mar 25, 2009
    41
    1
    0
    Hello
    I too freeze screen with a Logitech M705 mouse, I don’t know if it comes from the mouse or anything else?
    Do you have the case, too?
    Thank you
    Nicolas
     
  16. cuteee

    cuteee MDL Guru

    Oct 13, 2012
    5,761
    998
    180
    I have M510 mouse 6 years and I never had problem with it.
     
  17. maddog0266

    maddog0266 MDL Expert

    Apr 26, 2011
    1,247
    161
    60
    Yes I do. with a M705 mouse but not with my wired mouse.
     
  18. 7_eleven.hell-hole_rider

    Aug 15, 2009
    240
    53
    10
    #39 7_eleven.hell-hole_rider, May 4, 2020
    Last edited: May 4, 2020
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,768
    103,924
    450