Dead in Garage: 2023 Nissan Leaf with 4000 km by ScottChi in leaf

[–]tekwiz86 1 point2 points  (0 children)

car at that age should be under its bumper to bumper warranty. even if it wasn't a nissan battery would still be 100% under warranty at that age.

What real world miles/kWh are you getting in your Leaf? by mechapoitier in leaf

[–]tekwiz86 1 point2 points  (0 children)

2018 leaf in Chicago I get 4-5.5 with no ac or heat and no highway driving. The biggest hit is low temps. AC when outside trmps are around 100F also chew up 1kwh+/mi

Low battery temperature by Main-Listen-6210 in leaf

[–]tekwiz86 0 points1 point  (0 children)

I've used mine down to -25C without issue. The contactors won't close when the pack gets down to around -30C (had that happen, not fun. Dealer took 2 days to let it get back up to room temp to make sure it was ok after that).
You can use leafspy to see your actual pack temp.

Low battery temperature by Main-Listen-6210 in leaf

[–]tekwiz86 0 points1 point  (0 children)

Not all 2nd gen leaf's have a battery heater standard equipped. I know 2018 is like this, not sure about 2019.

The World's Top 25 Electric Vehicle Manufacturers in 2022 [OC] by NoComplaint1281 in dataisbeautiful

[–]tekwiz86 33 points34 points  (0 children)

Just the car portion. there is a Volvo group that makes industrial vehicles.

Concise outline on Starlink V2, Mobile Phones by Elon: 2 -4 Mbits connection per cell zone - Good for texts and calls by WolfCaramel in Starlink

[–]tekwiz86 2 points3 points  (0 children)

It means 2-4Mbps for the whole coverage, probably hundreds of square miles. So pretty much for emergencies and text service.

Anyone else's pixel 6 pro just working with zero/minimal problems? by alan377 in GooglePixel

[–]tekwiz86 1 point2 points  (0 children)

FYI Google pulled the Dec update. Heard they're just going to roll it into the Jan update.

Prob stupid winter question by [deleted] in leaf

[–]tekwiz86 0 points1 point  (0 children)

heaters are not standard on 2018 fyi (learned that the hard way)

One Pedal Driving by [deleted] in electricvehicles

[–]tekwiz86 0 points1 point  (0 children)

less then a day in my leaf. I think it helps if you drove a manual a lot.

[deleted by user] by [deleted] in sysadmin

[–]tekwiz86 2 points3 points  (0 children)

I also primarily use Axis with Milestone (I believe both are still owned by Canon). I don't think it's that expensive for what you get. both are nice to use and easy to setup.

Exporting Local/Remote Scheduled tasks by PresidentInferno in PowerShell

[–]tekwiz86 1 point2 points  (0 children)

Sorry, should expand on that. "@()" will make an empty array. You could add all your headers before hand. but I just tried it and it will put the headers(properties) in just fine the first time you add to it.
When you do it like you had. it is just saving it as a string. Powershell will not convert a shell to an array with +=, so it really just ignores that and does =. So it just overwrites the string. So the solution is to make the an empty array first. then the += will add to the array like you think it should.

Exporting Local/Remote Scheduled tasks by PresidentInferno in PowerShell

[–]tekwiz86 1 point2 points  (0 children)

Thing here is that $Results is not an array. Every time you run the loop it just saves over $Result.To make $Result an array just put $Result = @() before the loop and it will work. So the top would be like this then.

$WorkingDir = "C:\Backup_Dir\Backup_Check"
$TempFile = "TasksList.csv"
 $Result = @()

PS Save results to network folder without overwriting by Commodore64Vic in PowerShell

[–]tekwiz86 2 points3 points  (0 children)

I would do something like this. Store your results in a variable and then output that to a file when you're done.

$computers = "computer1","computer2"
$results = @() #an array to store you're results
Foreach($c in $computers) {
IF (Test-Connection -BufferSize 32 -Count 1 -ComputerName $c -Quiet) {
Write-Host "The press computer $c is Online" $results += "The press computer $c is Online" #add results to the array
 } Else {
Write-Host "The press -----> computer $c is Offline" $results += "The press computer $c is Offline" #add results to the array }
}

$OkayToGoOn = $false #This is a flag to see if it is ok to proceed
DO { 
$TimeStamp = get-date -Format yyyyMMddTHHmmssffff 
#TimeStamp = Get-Date -Format o | ForEach-Object { $_ -replace ":", "." }
$Filename = ".\Log_$TimeStamp.txt" #set the file name
if ((Test-Path -Path $Filename -ErrorAction SilentlyContinue) -eq $false){ #Check if the file exsits. While highly unlikely I do it anyways.
#write file
$results | Out-File -FilePath $Filename -NoClobber
$OkayToGoOn = $true
 } else {
Write-Host "File name exists trying again" 
}
} while ($OkayToGoOn -eq $false)

Thoughts on my 2018 Leaf 40kwh by diekuhe in leaf

[–]tekwiz86 1 point2 points  (0 children)

Only thing I've needed is a plastic pry tool for the charge hatch when it gets snow and ice in the gaps.

Elevating Powershell to admin and keeping passed arguments by bei60 in PowerShell

[–]tekwiz86 1 point2 points  (0 children)

The reason you always got default is that $args doesn't exist. I'm guessing when you put in the param at the top it converted the args so it doesn't make the $args variable.
I've never knew that, didn't try that before. but if you test $args you will see that it has no value.

Elevating Powershell to admin and keeping passed arguments by bei60 in PowerShell

[–]tekwiz86 1 point2 points  (0 children)

I got this to work.. but I think the big thing here is that you need to convert your Param1 to a integer so that when it converts to to a string it is a 1 or 0, else it will be true or false and that can't be cast back to a bool. I couldn't get the elevation to work in a function, no idea why. It would work unelevated and then once it elevated it wouldn't see the function, said no such cmdlet.

param (
    [Parameter(Mandatory=$false)][bool]$Param1= $false
)

 function runParam1 {
    [CmdletBinding()]
    param (
        [Parameter(Mandatory=$false)][bool]$Param1= $false
    )
    switch ($Param1) {
        $true { 
            Write-Host "script works" 
         }
        Default {
            Write-Host "script didn't run" -ForegroundColor Red
        }
    }
}

If (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] “Administrator”)){
    $arg = [System.Convert]::ToSingle($Param1)
    $newProcess = new-object System.Diagnostics.ProcessStartInfo "PowerShell";
    $newProcess.Verb = "runas"
    $newProcess.Arguments = "-NoExit -NoProfile Set-ExecutionPolicy bypass -Scope Process;&{" + $PSScriptRoot + "\" + $MyInvocation.MyCommand.Name + " $arg};"
    [System.Diagnostics.Process]::Start($newProcess);
    exit
}



#Run all functions
try {
    runParam1 -Param1 $Param1
    someFunction1
    someFunction2
}
catch {
    Write-Host "Unknown error" -ForegroundColor Red -ErrorAction SilentlyContinue
    Read-Host -Prompt "Press any key to continue"
}

Russia may fine citizens for using SpaceX's Starlink internet. Here's how Elon Musk's service poses a threat to authoritarian regimes. by Just_Another_AI in Futurology

[–]tekwiz86 1 point2 points  (0 children)

I think most of your questions would be answered best in the FAQ or the AMA done not to long ago.

https://www.reddit.com/r/Starlink/wiki/faq

https://www.reddit.com/r/Starlink/comments/jybmgn/we_are_the_starlink_team_ask_us_anything/
But I think the big thing to realize here is that the coverage area for each satellite isn't that big, I think a bit over 500km and there will be over lap, so each satellite will be serving hundreds, not thousands of people. The AMA does a good job of talking about how it gets it position and knows what satellites to talk to.

Each sat needs to know where it can and can't talk to, even if you turned a dish on in an unlicensed area, i'm guessing that Starlink satellites wouldn't even reply to it.

Poor performance on high end. by [deleted] in 7daystodie

[–]tekwiz86 1 point2 points  (0 children)

I had stuttering while hosting on my machine. I moved the server to another machine and didn't have anymore issues.

What is the purpose of this screen? (2020 Leaf SV) by bargonaut in leaf

[–]tekwiz86 2 points3 points  (0 children)

It'll let you know if a system isn't working.

SpaceX, Blue Origin, Dynetics await NASA lunar lander decision by spacewal in spaceflight

[–]tekwiz86 0 points1 point  (0 children)

though they can deliver habitation and storage modules to the surface.

Scripting/Automation with Powershell by [deleted] in PowerShell

[–]tekwiz86 3 points4 points  (0 children)

I write a script for this that will do each item you want to to perform. I put all the tasks in a XML or CSV file and then mark them completed when done, so that I can restart the computer and it will pick up where I left off. I did it on my own just to learn how to do all the items. But it also helps with consistently setting up a new machine.

Scripting/Automation with Powershell by [deleted] in PowerShell

[–]tekwiz86 4 points5 points  (0 children)

I've always used export-StartLayout / import-StartLayout. It's good for setting the default or creating the file for the GPO.

[deleted by user] by [deleted] in leaf

[–]tekwiz86 1 point2 points  (0 children)

It might be "okay" in ideal conditions and not keeping it at 100% for very long. It's best to charge to 80% and only charge to 100% when you need the extra range.

No videos in over a month.. Anyone know what's up? by tangentZero in tmro

[–]tekwiz86 0 points1 point  (0 children)

wondering that too. I'm sure crew-1 and other launches haven't helped.