add event schema

TL;DR
Event schema for external events.
Type

[ ] Bug Fix
[x] Feature
[ ] Plugin

Are all requirements met?

[ ] Code completed
[ ] Smoke tested
[ ] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
How did you fix the bug, make the feature etc. Link to any design docs etc
Tracking Issue
https://github.com/lyft/flyte/issues/
Follow-up issue
NA
OR
https://github.com/lyft/flyte/issues/

@tnsetting, thank you for your contribution, is this ready for review? If not, do you mind converting it to a draft until it's...

@tnsetting, thank you for your contribution, is this ready for review? If not, do you mind converting it to a draft until it's...

I will close it for now and reopen it when it is ready for review.


mc: use functional tests from mc repo

can you fix the branch conflicts? Can't pull docker image from travis.

This PR can't be verified until next mc's release

@harshavardhana @nitisht this PR is ready for review


Scout 2.0 doesn't resume moving if restarted while ROS is operational

Hello, I have an issue relating to the CAN Interface and the Scout 2.0 model. I am using ROS2 and following the instructions as described here to setup the canbus. My robot fails to resume motion once restarted. I have narrowed down the issue to the CAN interface. candump can0 works as expected before and after restarting the robot.
Steps to reproduce

Setup CAN-To-USB adapter
Launch scout_ros2
In another terminal run ros2 topic pub -r 10 /cmd_vel geometry_msgs/Twist  '{linear:  {x: 0.4, y: 0.0, z: 0.0}, angular: {x: 0.0,y: 0.0,z: 0.1}}'
Interrupt normal operation by restarting the robot
Robot wheels are no longer moving

Expected Behaviour

Upon restarting the robot, the ROS node should resume sending CAN frames to the robot and the wheels should be turning.

Actual Behaviour

Upon restarting the robot, the program continues as expected but the robot wheels no longer turn.
A full restart of the ROS node is required

System

ROS2 Humble
Ubuntu 22.04.4 LTS
RMW Implementation: cyclonedds
libasio-dev Version: 1:1.18.1-1
can-utils Version: 2020.11.0-1

Hi,
The behaviour you described is expected. When the robot is switched on, it defaults to standby mode. Launching the ROS node then enables control using the scout_ros2 SDK.
This can lead to the robot remaining in standby mode if it's power cycled while the ROS node is running. Since the ROS node only enables control upon launch, the robot loses the control enable signal when powered off and doesn't regain it on restart.
The fix for this has been made in commit 34bf5dfaf8b1c8f2dd08d19790d0eead16bfb791 under scout_ros2. A new ROS parameter named auto_reconnect has been introduced. When set to true, the node will attempt to re-establish control using the scout_ros2 SDK.

Thank you. This solves my problem. I had begun looking into the CAN interface and the sockets implementation here with the assumption that the socket "expires" as the port doesn't close when the robot restarts.


Migrate jsc-android to mavenCentral

Summary:
Since people mostly use Hermes, it doesn't make sense to download jsc-android from npm even when jsc is not used. This PR migrates the jsc-android to mavenCentral. The new jsc-android supports Android 16KB memory page sizes and packaged by prefab.
Relevant PRs:

https://github.com/react-native-community/jsc-android-buildscripts/pull/184
https://github.com/react-native-community/jsc-android-buildscripts/pull/185

Changelog:
[ANDROID] [CHANGED] - Migrate jsc-android to mavenCentral
Test Plan:
CI passed

Love this change!
@cortinico will probably want to take a look at this, but is on PTO and will be back soon.

Side-note, IIRC JSCRuntime::createWeakObject secretly returns strong refs, which is really sketch, because I think new arch does actually create weak refs in places? @javache has been porting some bits over to JSC where new arch relies on it though like Native State I remember. I sometimes worry a bit about the continued support where Meta isn't really testing with JSC anymore, and whether there is a path to deprecating it.

cool thanks for the note. i was just waiting for Nico coming back.

JSCRuntime::createWeakObject secretly returns strong refs

would be good to know more about this. does that happen on ios or just jsc-android only? if it happens on ios, it would be tough because we have no way to touch jsc on ios.

I sometimes worry a bit about the continued support where Meta isn't really testing with JSC anymore, and whether there is a path to deprecating it.

totally makes sense. i had some thought for this and would write a RFC for lean core of jsc.

BTW this is awesome!

side note: the proposing RFC to move away JSC from core https://github.com/react-native-community/discussions-and-proposals/pull/836


ci: add contrib target

Signed-off-by: Loong Dai<EMAIL_ADDRESS>Now only bazel.release cover contrib, add this target will help developers.
Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@phlax please review.


GroundPrimitive.debugShowShadowVolume doesn't show up when color is opaque

For example, the shadow shows up with this:
      var viewer = new Cesium.Viewer('cesiumContainer');
      var rectangleInstance = new Cesium.GeometryInstance({
        geometry : new Cesium.RectangleGeometry({
          rectangle : Cesium.Rectangle.fromDegrees(-140.0, 30.0, -100.0, 40.0)
        }),
        id : 'rectangle',
        attributes : {
          color : new Cesium.ColorGeometryInstanceAttribute(0.0, 1.0, 1.0, 0.5)
        }
      });
      viewer.scene.primitives.add(new Cesium.GroundPrimitive({
        geometryInstances : rectangleInstance,
        debugShowShadowVolume : true
      }));

But not this:
      var viewer = new Cesium.Viewer('cesiumContainer');
      var rectangleInstance = new Cesium.GeometryInstance({
        geometry : new Cesium.RectangleGeometry({
          rectangle : Cesium.Rectangle.fromDegrees(-140.0, 30.0, -100.0, 40.0)
        }),
        id : 'rectangle',
        attributes : {
          color : new Cesium.ColorGeometryInstanceAttribute(0.0, 1.0, 1.0, 1.0)
        }
      });
      viewer.scene.primitives.add(new Cesium.GroundPrimitive({
        geometryInstances : rectangleInstance,
        debugShowShadowVolume : true
      }));

I can't seem to replicate this issue

Could be Mac/Intel only.  To confirm, zoom in very close to the corner.  In the case where it works, you should see a volume extruded from the globe.  In the case where it doesn't, I only see a polygon on the globe with no extrusion:

Still looks like it extends both below and above the horizon. Can you take a screenshot where the horizon is visible and this is occuring?

If this is limited to Mac/Intel, we can push this as insufficient priority; it is likely a driver bug.  There are other artifacts on this system like this:

See #4820

Could be Intel specific.  @austinEng is also running Mac, but NVIDIA.


Kubuntu 18.04 Mute songs or mute all when detect ads.

For some reason, I can not get it to work properly.
Once opened, it blocks an ad and lets spotify muted, and sometimes blocks songs.
Spotify version: 1.0.89

Remove and try this https://github.com/serialoverflow/blockify/issues/137


Play ogg?

I was wondering if this module actually plays an ogg sound file

@beckmx you'll need to pipe the decoder into a playback module (I.e. node-speaker). HTH!


PWA Builder Image Generator not working

After going to https://www.pwabuilder.com/imageGenerator per the tutorial instructions, I am unable to download any images, since what I assume is the download button self references to the same webpage URL. Attempted in both Chrome and Edge. Any advice on how to continue with this tutorial would be much appreciated

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: bcef5936-232e-1ab0-c1c4-77026c79e277
Version Independent ID: b6ec450d-ead9-ffcf-0d5b-7a408bf0e13d
Content: Get started with Progressive Web Apps - Microsoft Edge Development
Content Source: microsoft-edge/progressive-web-apps/get-started.md
Product: microsoft-edge
GitHub Login: @MSEdgeTeam
Microsoft Alias: msedgedevrel

I ended up using http://cthedot.de/icongen/ to generate my icons.    See https://developer.mozilla.org/en-US/docs/Web/Manifest for what that looks like.

Use https://app-manifest.firebaseapp.com/

Clone this -> https://github.com/pwa-builder/pwabuilder-Image-Generator
Run on Visual Studio 2017 or 2019.
Open https://www.pwabuilder.com/imageGenerator
Submit form with the data you want.
Open dev tools and check network tab.
Open Postman and POST http request with same POST data, headers and multipart form data. Be sure send this data on localhost:{port} where your app is running.
This will take a while if you're using .svg files.
After success you'll receive a link. press Ctrl+Click to download the zip file.

We've updated the document here. I'll go ahead and close this issue now. Thanks.


Update Tasks to retry at least once, log timeouts.

This commit ensures that even if a commit times out, it is retried at least once so that long-running commits still make progress.

Code change LGTM (non-binding), thanks for the PR.
I understand this will make sure tasks retry at least once, logging improvement also looks nice. But I don't understand what's the underlying problem that the 1-retry aims to solve, could you explain a bit? (Why retry once will help long-running commits make progress - won't they still be possible to timeout after the first retry?)
Separate but just a few lines down, we could break out of the for loop after matchedRetryException = true; Happy to throw a different PR if you prefer 😃

Thanks for reviewing, @xiao-chen and @rdsr!


list commits on a pull request seems to be missing

Hi, devs. There is an end-point in GitHub API that is for listing the commits inside a pull request: https://developer.github.com/v3/pulls/#list-commits-on-a-pull-request. It seems that there is no function to map that end-point in Github.js. Could you please confirm if it is missing and if not, could you please say how can I do a request to this end-point? Thanks in advance!

PR #599

PR #599


aws: import buckets

Allow existing buckets in the AWS account targeted by a stack to be adopted into a nitric stack. See the existing feature for importing secrets for reference.

If the stack is torn down the bucket should be released, not destroyed.
If the import directive is removed from the stack and then redeployed a new bucket should be created.

Missing requirements for existing bucket replaced by an import directive. Behaviour with no extra logic would be:

If an existing bucket is replaced by an import the existing bucket should be replaced and deleted iff it is empty, otherwise fail

Currently waiting on new tagging implementation before proceeding with this.

Implemented, but only currently for same region buckets. Running into an issue where I can't invoke bucket lookups in different regions even when creating a provider in that region.

Implemented in https://github.com/nitrictech/nitric/releases/tag/v1.10.0 for same region only


Booleans are serialized as empty objects

public bool Test { get; set; }

output:
"Test"
{
}

This also happens to byte arrays:
				"UnknownBits"
				{
					"0"
					{
					}
					"1"
					{
					}

What should they be serialised as? "true"/"false", or "1"/"0"?

Anything is gonna be better than the current output (and I suppose ideally if it can parse back to strongly typed object as a bool).

void SetBool( const char *keyName, bool value ) { SetInt( keyName, value ? 1 : 0 ); }

bool KeyValues::GetBool( const char *keyName, bool defaultValue )
{
	if ( FindKey( keyName ) )
		return 0 != GetInt( keyName, 0 );

	return defaultValue;
}

Valve are using ints, seems easy enough. It's not entirely symmetric, but ¯\_(ツ)_/¯

It's not entirely symmetric

Parsing to a typed object should hopefully work.


ANSI/VT \e[7m and \e[27m (reverse/negative) do not work correctly after 24-bit color has been used

From @PhMajerus on October 20, 2017 18:23
Concerns Redstone 3 RTW / Windows 10 ver. 1709, tested on build 16299.19. Affects all WSL distros and more broadly, all Win32 CUI apps using VT.
VT escape control sequences "\x1B[7m" and "\x1B[27m" are used to turn reverse video ("negative", but not technically negative) on and off.
They work fine until the console processed a 24-bit color "\x1B[38;2;r;g;bm" or "\x1B[48;2;r;g;bm". At that point, negative off (27) has no effect or even acts erratically, even if the color has been reset ("\x1B[39m", set back to a base 16 color (\x1B[3(0-9)m"), or if SGR has been reset ("\x1B[m") in the meantime.
echo -e "\e[7m Reversed \e[27m Normal \e[38;2;250;20;40m 24-bit \e[36m 16-colors \e[7m Reversed \e[27m Normal \e[39m Default \e[7m Reversed \e[27m Normal \e[m Reset \e[7m Reversed \e[27m Normal"

This is a bug in conhost that affects all Windows CUI apps that uses VT, as the following repro code shows:
#include <windows.h>

#ifndef ENABLE_VIRTUAL_TERMINAL_PROCESSING
#define ENABLE_VIRTUAL_TERMINAL_PROCESSING 0x0004
#endif

int main()
{
	HANDLE hOutput = GetStdHandle(STD_OUTPUT_HANDLE);

	DWORD dwMode = 0;
	GetConsoleMode(hOutput, &dwMode);
	dwMode |= ENABLE_VIRTUAL_TERMINAL_PROCESSING;
	SetConsoleMode(hOutput, dwMode);

	LPTSTR pszTestString = TEXT("\x1B[7m Reversed \x1B[27m Normal \x1B[38;2;128;5;255m Set 24-bit foreColor \x1B[7m Reversed \x1B[27m Normal \r\n");
	WriteConsole(hOutput, pszTestString, _tcslen(pszTestString), NULL, NULL);

	getchar();
	return 0;
}

Calling SetConsoleScreenBufferInfoEx or showing and OK'ing the console's properties dialog seems to reset the issue until next time 24-bit color is used.
Copied from original issue: Microsoft/WSL#2583

From @PhMajerus on February 8, 2018 1:22
@zadjii-msft Thanks for looking into it and fixing it.
Do you know when the fix might appear in insider build? I'm still seeing the issue in 17093 and would hate for something to go wrong and get unnoticed until it's too late for RS4.

From @zadjii-msft on January 4, 2018 21:46
Fix is in code review now.
@PhMajerus Thanks for the great writeup :) It's always so much easier to fix things when the problem is so well isolated with excellent repro steps.

Should now be fixed in Win10 Spring 2018 Update. Let us know if you can repro in 1803 or newer builds.

@bitcrazed Challenge accepted:
echo -e "\e[31m1\e[7m2\e[44m3\e[49m4\e[27m5\e[m"
echo -e "\e[38;2;250;20;40m 24-bit used \e[m"
echo -e "\e[31m1\e[7m2\e[44m3\e[49m4\e[27m5\e[m"

Maybe it re-regressed? I'll take a look. There's a lot of delta around the text buffer attributes right now, so it's possible we regressed this in new and interesting ways

@zadjii-msft I saw you flagged this as RS5 milestone, does it mean it has been prioritized to be fixed in the upcoming release?
I'm getting concerned as there is no mention of it getting fixed and the bug is still present in build 17735 (pushed today to fast ring). This really makes using 24-bit colors problematic, and if it misses the deadline I'm afraid we'll have to wait until 19H1.

I think the fix for this went out in one of the 19H1 insider builds. Thanks for the report!


Jump-to-definition using calcium

Information will be computed by calcium (webida/calcium#35) and this issue is mostly about the UX.

Close by https://github.com/happibum/webida-client/commit/09c2608ba807c83d61f1703686331998945a6a04


Add Redux Dash docs

Any plans on adding the Redux docs to Dash? If not I can do it.

Dash?

I believe @afang is referring to: https://kapeli.com/dash

Ah, that Dash! Well, I'm not sure of the process to get a project added. Do we need to do anything here, or is it done on their side?

There are user contributed docs that are handled on their side. I've just opened a request: https://github.com/Kapeli/Dash-User-Contributions/issues/861

Thanks!


Support TLS 1.2 - "Could not create SSL/TLS secure channel"

[X] set-executionpolicy remotesigned -s currentuser has been ran
[X] PowerShell 3 or greater is installed

PS C:\WINDOWS\system32> $PSVersionTable.PSVersion
Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      16299  248

iex : Exception calling "DownloadFile" with "2" argument(s): "The request was aborted: Could not create SSL/TLS secure
channel."
At line:1 char:1
+ iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Invoke-Expression], MethodInvocationException
    + FullyQualifiedErrorId : WebException,Microsoft.PowerShell.Commands.InvokeExpressionCommand

The scoop directory is created within the user profile folder, as well as the %USERPROFILE%\scoop\apps\scoop\current directory, however, they are both empty.

My colleague has just tried to install Scoop and also got this problem. I installed it last week and it was fine.

What's the output of Get-ExecutionPolicy -List?

My colleagues settings were
    Scope ExecutionPolicy
    ----- ---------------

MachinePolicy       Undefined
UserPolicy       Undefined
Process       Undefined
CurrentUser    RemoteSigned
LocalMachine       RemoteSigned

Hello I'm having the same issue

PS C:\Users\chere> [Net.ServicePointManager]::SecurityProtocol Ssl3, Tls PS C:\Users\chere>

And if I try to install it again it says:

PS C:\Users\chere> iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
Initializing...
Scoop is already installed. Run 'scoop update' to get the latest version.
PS C:\Users\chere> scoop update
scoop : The term 'scoop' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

scoop update

+ CategoryInfo          : ObjectNotFound: (scoop:String) [], ParentContainsErrorRecordException

FullyQualifiedErrorId : CommandNotFoundException

PS C:\Users\chere>

I just ran into this as well on a 'fresh' install of Windows 10 (it was installed from a base image provided by the IT dept, for whatever that's worth).  I found that I was able to delete the ~/scoop directory, run the command:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

directly in my prompt, and then re-install with the standard method.  That being said, it seems I need to re-run that command in each new powershell window, or I see a bunch of SSL/TLS errors any time I use scoop.

You can put [Net.ServicePointManager]::SecurityProtocol = "tls12, tls11, tls" in your Powershell profile (notepad $PROFILE) as a workaround. It seems like something's changed on github's side so they no longer accept TLSv1, which winhttp uses by default. There's also stuff you can fiddle with in the registry to get winhttp to use TLSv1.2 instead.

Just updated Windows 10 today and I'm receiving this.  I've tried the above suggestions without much luck, although the symptoms are the same, my error is a bit different.
PS C:\Users\Tres> scoop update
Updating Scoop...
fatal: unable to access 'https://github.com/lukesampson/scoop/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Update failed.

I've tried setting the registry flag to force WinHttp to a higher TLS version, but it's not working on my machine or my steps are incorrect.
The suggestion to use notepad $PROFILE doesn't seem to work on my installation, I'm not sure what that does.  My scoop version is ef058e9 Update fnproject to version 0.4.34.

@tresf notepad $PROFILE doesn't do anything by itself, it's just supposed to open your Powershell profile file for editing. In that file you need to add [Net.ServicePointManager]::SecurityProtocol = "tls12, tls11, tls". Before adding it to your profile file, you can test out whether the incorrect TLS version is causing your issue by just running this command in a powershell session right before scoop update.

you can test out whether the incorrect TLS version is causing your issue by just running this command in a powershell session right before scoop update.

I wasn't able to get either proposal to help...

[Net.ServicePointManager]::SecurityProtocol = "tls12, tls11, tls"
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

I also removed ~/scoop and reinstalled through the iex ... command from scoop.sh to no avail.

@tresf notepad $PROFILE doesn't do anything by itself, it's just supposed to open your Powershell profile file for editing.

I understood that much, the command just didn't work.  Thanks for the reply!

Apologies... My issue was a botched git-scm after the Windows 10 updates.  The fix was to completely purge all git versions and reinstall.  Interestingly enough, the default git location changed from C:\Program Files (x86)\ to C:\Program Files\ but my system did not reflect it, so this seems to be unrelated to the original bug report and fixed by repairing git through some manual steps.

@masaeedu Is there a work around for this when using the command prompt? Having to use scoop exclusively in PowerShell is inconvenient.

Scoop has these to functions to set enable every available protocol for downloading apps:
https://github.com/lukesampson/scoop/blob/f8f08db7e53f624b4c81f5d61e8d16c8176a13a7/lib/install.ps1#L117-L133
Currently they are only used in do_dl(), checkver.ps1 and checkurls.ps1
https://github.com/lukesampson/scoop/blob/f8f08db7e53f624b4c81f5d61e8d16c8176a13a7/lib/install.ps1#L135-L149
Adding them to all other commands that require downloading something could fix it.

https://github.com/blog/2507-weak-cryptographic-standards-removed
Does the change of GitHub affect this issue?

@h404bi that is the main cause of this issue 😁

Currently using this in a .bat on fresh installed systems:
@echo off
COLOR 1F

set filePath="%userprofile%\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1"

IF EXIST $filePath (GOTO appendTLS) else (GOTO newTLS)

:appendTLS
(
echo.
echo [Net.ServicePointManager]::SecurityProtocol = ^"tls12, tls11, tls^"
) >> "%filePath%"

:newTLS
mkdir "%userprofile%\Documents\WindowsPowerShell\"
(
echo [Net.ServicePointManager]::SecurityProtocol = ^"tls12, tls11, tls^"
) > "%filePath%"

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -InputFormat None -ExecutionPolicy RemoteSigned -Command "iex (new-object net.webclient).downloadstring('https://get.scoop.sh')"

But obviously need Set-ExecutionPolicy RemoteSigned -s cu

@tresf notepad $PROFILE doesn't do anything by itself, it's just supposed to open your Powershell profile file for editing.

Turns out this command fails on systems without a ~/PowerShell folder.
I ran into this today with Windows 7 SP1.  Here's a little script that should help.
mkdir $PROFILE\..
echo '[Net.ServicePointManager]::SecurityProtocol = "tls12, tls11, tls"' >> $PROFILE
& $PROFILE
# thats it

Prepare, do this in PowerShell:

set-executionpolicy remotesigned -s currentuser
And input Y to ensure.

Open https://get.scoop.sh in your browser to download the shellscript, save as install.ps1:
#requires -v 3

# remote install:
#   iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
$erroractionpreference = 'stop' # quit if anything goes wrong

if(($PSVersionTable.PSVersion.Major) -lt 3) {
    Write-Output "PowerShell 3 or greater is required to run Scoop."
    Write-Output "Upgrade PowerShell: https://docs.microsoft.com/en-us/powershell/scripting/setup/installing-windows-powershell"
    break
}

# show notification to change execution policy:
if((get-executionpolicy) -gt 'RemoteSigned') {
    Write-Output "PowerShell requires an execution policy of 'RemoteSigned' to run Scoop."
    Write-Output "To make this change please run:"
    Write-Output "'Set-ExecutionPolicy RemoteSigned -scope CurrentUser'"
    break
}

# get core functions
$core_url = 'https://raw.github.com/lukesampson/scoop/master/lib/core.ps1'
Write-Output 'Initializing...'
Invoke-Expression (new-object net.webclient).downloadstring($core_url)

# prep
if(installed 'scoop') {
    write-host "Scoop is already installed. Run 'scoop update' to get the latest version." -f red
    # don't abort if invoked with iex——that would close the PS session
    if($myinvocation.mycommand.commandtype -eq 'Script') { return } else { exit 1 }
}
$dir = ensure (versiondir 'scoop' 'current')

# download scoop zip
$zipurl = 'https://github.com/lukesampson/scoop/archive/master.zip'
$zipfile = "$dir\scoop.zip"
Write-Output 'Downloading...'
dl $zipurl $zipfile

'Extracting...'
unzip $zipfile "$dir\_tmp"
Copy-Item "$dir\_tmp\scoop-master\*" $dir -r -force
Remove-Item "$dir\_tmp" -r -force
Remove-Item $zipfile

Write-Output 'Creating shim...'
shim "$dir\bin\scoop.ps1" $false

ensure_robocopy_in_path
ensure_scoop_in_path
success 'Scoop was installed successfully!'
Write-Output "Type 'scoop help' for instructions."

find $zipurl:

$zipurl = 'https://github.com/lukesampson/scoop/archive/master.zip'

Find zipurl: https://github.com/lukesampson/scoop/archive/master.zip, download it, and unzip it in the scoop's dir:
%USERPROFILE%\scoop\apps\scoop\current
Or you can change the install.ps1 script, to see where scoop dir is:
Write-Output 'Downloading...'
# this will print scoop dir
Write-Output '$dir'

Then modify the install.ps1，it should be below:
#requires -v 3

# remote install:
#   iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
$erroractionpreference = 'stop' # quit if anything goes wrong

if(($PSVersionTable.PSVersion.Major) -lt 3) {
    Write-Output "PowerShell 3 or greater is required to run Scoop."
    Write-Output "Upgrade PowerShell: https://docs.microsoft.com/en-us/powershell/scripting/setup/installing-windows-powershell"
    break
}

# show notification to change execution policy:
if((get-executionpolicy) -gt 'RemoteSigned') {
    Write-Output "PowerShell requires an execution policy of 'RemoteSigned' to run Scoop."
    Write-Output "To make this change please run:"
    Write-Output "'Set-ExecutionPolicy RemoteSigned -scope CurrentUser'"
    break
}

# get core functions
$core_url = 'https://raw.github.com/lukesampson/scoop/master/lib/core.ps1'
Write-Output 'Initializing...'
Invoke-Expression (new-object net.webclient).downloadstring($core_url)

# prep
$dir = ensure (versiondir 'scoop' 'current')
Write-Output "$dir"
# download scoop zip
# $zipurl = 'https://github.com/lukesampson/scoop/archive/master.zip'
$zipfile = "$dir\scoop.zip"
# Write-Output 'Downloading...'
# comment dl command, download zipfile yourself.
# dl $zipurl $zipfile

'Extracting...'
# notice to comment unzip, otherwise there will be an error of unzip. You should unzip with winrar yourself
# the zip file should unzip in $dir\_tmp yourself
# unzip $zipfile "$dir\_tmp"
Copy-Item "$dir\_tmp\scoop-master\*" $dir -r -force
Remove-Item "$dir\_tmp" -r -force
Remove-Item $zipfile

Write-Output 'Creating shim...'
shim "$dir\bin\scoop.ps1" $false

ensure_robocopy_in_path
ensure_scoop_in_path
success 'Scoop was installed successfully!'
Write-Output "Type 'scoop help' for instructions."

save install.ps1, ** then drag it  **into PowerShell, and then press enter, after a moment:
Scoop was installed successfully!

One line PowerShell command for new installation, if someone is looking for workaround:
set-executionpolicy remotesigned -s currentuser; [System.Net.ServicePointManager]::SecurityProtocol = 3072 -bor 768 -bor 192 -bor 48; iwr https://get.scoop.sh -UseBasicParsing | iex

If I had to guess, the schoop.sh website is probably using a certificate from StartSSL.  As they are no longer a trusted cert authority, the download is failing.  If you browse to https://scoop.sh you'll get a security warning about the certificate.  Should be easy to fix with a new certificate.

@danielgary nope, scoop.sh didn't have ssl, it's a CNAME of scoop's gh-pages. And https://get.scoop.sh redirects to https://raw.githubusercontent.com/lukesampson/scoop/master/bin/install.ps1
GitHub drops TLSv1 support cause this issue.

@danielgary ugh, thanks for pointing this out. I contacted @lukesampson about this.

@h404bi I don't think the one line solution will work, scoop frequently consults the buckets (which are on github), post-install. This means you need to have the TLS settings in every powershell instance you start; i.e. you need to put it in your profile.

@masaeedu I said that's a workaround for fresh installation. Though I have tested on a fresh install windows 10, fresh install scoop with that command, then just install git-with-openssh, every thing seems fine, scoop update, scoop search, scoop status...
The Windows 10 ServicePointManager:
$ [System.Net.ServicePointManager]::SecurityProtocol
Ssl3, Tls

Besides, I search that we could modify the registry of ServicePointManager to permanently force to use strong cryptography, but that's inconvenient and it needs elevated privileges, which is worse.1

Besides, I search that we could modify the registry of ServicePointManager to permanently force to use strong cryptography, but that's inconvenient and it needs elevated privileges, which is worse.1

Do you mean for all users?  For the current user, https://github.com/lukesampson/scoop/issues/2040#issuecomment-368145842, @covertcj's solution works great.  I've adapted @r15ch13's proposal to make it permanent for the current user and this technique was tested on Windows 7.
Is the concern that this won't scale for multiple users?  I would propose that the scoop library internally nudges this since it makes no sense to attempt to continue functioning otherwise.
Even the set-executionpolicy remotesigned -s currentuser, I don't entirely understand as this is part of the base scoop.sh install, this command should already have been run 100% of the time.

@h404bi While I agree that scoop should just work, setting ServicePointManager to only use TLS 1.1 and higher is something you should do anyway since SSLv3 and TLSv1.0 are deprecated due to POODLE.

@r15ch13 As an alternative to use_any_https_protocol, scoop could use Invoke-WebRequest, which supports TLS 1.1 and 1.2 by default.

Was not sure if every site supports TLS 1.2 therefore I created a script to checks all the URLs.
Every single hosts supports it, so it's safe to just enable it I guess.
Script:

protocol-test.ps1
param([String]$dir)

. "$psscriptroot\..\lib\core.ps1"
. "$psscriptroot\..\lib\buckets.ps1"
. "$psscriptroot\..\lib\manifest.ps1"
. "$psscriptroot\..\lib\json.ps1"

# https://www.sysadmins.lv/blog-en/test-web-server-ssltls-protocol-support-with-powershell.aspx
function Test-ServerSSLSupport($HostName) {
    $Port = 443
    $RetValue = New-Object psobject -Property @{
        Host = $HostName
        Port = $Port
        SSLv2 = $false
        SSLv3 = $false
        TLSv1_0 = $false
        TLSv1_1 = $false
        TLSv1_2 = $false
        KeyExhange = $null
        HashAlgorithm = $null
    }
    # "ssl2", "ssl3",
    "tls", "tls11", "tls12" | %{
        $TcpClient = New-Object Net.Sockets.TcpClient
        $TcpClient.Connect($RetValue.Host, $RetValue.Port)
        try {
            $SslStream = New-Object Net.Security.SslStream $TcpClient.GetStream()
        }
        catch {
            write-host $_.Message
            return $RetValue
        }
        $SslStream.ReadTimeout = 15000
        $SslStream.WriteTimeout = 15000
        try {
            $SslStream.AuthenticateAsClient($RetValue.Host,$null,$_,$false)
            $RetValue.KeyExhange = $SslStream.KeyExchangeAlgorithm
            $RetValue.HashAlgorithm = $SslStream.HashAlgorithm
            $status = $true
        } catch {
            $status = $false
        }
        switch ($_) {
            "ssl2" {$RetValue.SSLv2 = $status}
            "ssl3" {$RetValue.SSLv3 = $status}
            "tls" {$RetValue.TLSv1_0 = $status}
            "tls11" {$RetValue.TLSv1_1 = $status}
            "tls12" {$RetValue.TLSv1_2 = $status}
        }
        # dispose objects to prevent memory leaks
        $TcpClient.Dispose()
        $SslStream.Dispose()
    }
    return $RetValue
}

if(!$dir) { $dir = "$psscriptroot\..\bucket" }
$dir = resolve-path $dir

$search = "*"
if($app) { $search = $app }

function test-url($url) {
    $url = [System.Uri]$url
    switch ($url.Host) {
        "sourceforge.net" { break }
        "downloads.sourceforge.net" { break }
        "github.com" { break }
        "raw.github.com" { break }
        "raw.githubusercontent.com" { break }
        "dl.bintray.com" { break }
        Default {
            # write-host $url.Host
            if($url.Scheme -ne "https") {
                write-host -f DarkYellow "$($url.Host.PadRight(40, " "))" -NoNewline
                write-host " | http"
                return
            }
            $result = Test-ServerSSLSupport $url.Host
            write-host "$($url.Host.PadRight(40, " ")) | " -NoNewline
            if($result.TLSv1_0) {
                write-host -f DarkGreen "$($result.TLSv1_0.ToString().PadRight(6, " "))" -NoNewline
            } else {
                write-host -f DarkRed "$($result.TLSv1_0.ToString().PadRight(6, " "))" -NoNewline
            }
            write-host " | " -NoNewline
            if($result.TLSv1_1) {
                write-host -f DarkGreen "$($result.TLSv1_1.ToString().PadRight(6, " "))" -NoNewline
            } else {
                write-host -f DarkRed "$($result.TLSv1_1.ToString().PadRight(6, " "))" -NoNewline
            }
            write-host " | " -NoNewline
            if($result.TLSv1_2) {
                write-host -f DarkGreen "$($result.TLSv1_2.ToString().PadRight(6, " "))" -NoNewline
            } else {
                write-host -f DarkRed "$($result.TLSv1_2.ToString().PadRight(6, " "))" -NoNewline
            }
            write-host ""
        }
    }
}

function test-urls($json) {
    if(!$json) {
        return
    }
    if ($json.url -is [System.Array]) {
        $json.url | % {
            test-url $_
        }
    } elseif($json.url) {
        test-url $json.url
    } else {
        $arch_url = @(arch_specific 'url' $manifest $arch)
        if($arch_url -is [System.Array]) {
           $arch_url | % {
                test-url $_
            }
        } else {
            test-url $arch_url
        }
    }
}

# get apps to check
write-host "Host                                     | TLSv10 | TLSv11 | TLSv12"
write-host "-------------------------------------------------------------------"
gci $dir "$search.json" | % {
    $json = parse_json "$dir\$_"
    test-urls($json)
}

Results:

Main Bucket Hosts
Main Bucket Hosts                        | TLSv10 | TLSv11 | TLSv12
-------------------------------------------------------------------
archive.apache.org                       | True   | True   | True
beyondgrep.com                           | True   | True   | True
binaries.cockroachdb.com                 | True   | True   | True
bitbucket.org                            | True   | True   | True
blog.alivate.com.au                      | http
chocolatey.org                           | True   | True   | True
chromedriver.storage.googleapis.com      | True   | True   | True
curl.haxx.se                             | False  | False  | True
cvs.khronos.org                          | True   | True   | True
digi.bib.uni-mannheim.de                 | True   | True   | True
dist.nuget.org                           | True   | True   | True
dl.google.com                            | True   | True   | True
download.jetbrains.com                   | True   | True   | True
download.linuxaudio.org                  | True   | True   | True
download.mono-project.com                | True   | True   | True
download.sysinternals.com                | True   | True   | True
downloads.typesafe.com                   | True   | True   | True
eternallybored.org                       | True   | True   | True
eventstore.org                           | True   | True   | True
excellmedia.dl.sourceforge.net           | True   | True   | True
files.genshin.org                        | http
ftp.gnome.org                            | True   | True   | True
ftp.info-zip.org                         | http
getcomposer.org                          | True   | True   | True
graphviz.gitlab.io                       | True   | True   | True
hashcat.net                              | True   | True   | True
install.elm-lang.org                     | http
miktex.org                               | True   | True   | True
mozjpeg.codelove.de                      | True   | True   | True
nekovm.org                               | False  | True   | True
nginx.org                                | True   | True   | True
nmap.org                                 | True   | True   | True
nssm.cc                                  | True   | True   | True
nuget.org                                | True   | True   | True
nuget.org                                | True   | True   | True
projects.giacomodrago.com                | True   | True   | True
repo1.maven.org                          | True   | True   | True
rtmpdump.mplayerhq.hu                    | True   | True   | True
s3.amazonaws.com                         | True   | True   | True
scholarlymarkdown.com                    | http
selenium-release.storage.googleapis.com  | True   | True   | True
services.gradle.org                      | True   | True   | True
shellcheck.storage.googleapis.com        | True   | True   | True
sonarsource.bintray.com                  | True   | True   | True
static.red-lang.org                      | http
sysprogs.com                             | True   | True   | True
theunarchiver.com                        | True   | True   | True
tukaani.org                              | True   | True   | True
win.rustup.rs                            | False  | True   | True
www-us.apache.org                        | True   | True   | True
www.autoitscript.com                     | True   | True   | True
www.chrysocome.net                       | http
www.cjmweb.net                           | True   | True   | True
www.fossil-scm.org                       | True   | True   | True
www.gnupg.org                            | True   | True   | True
www.guysalias.tk                         | True   | True   | True
www.itefix.net                           | True   | True   | True
www.nano-editor.org                      | True   | True   | True
www.pdflabs.com                          | True   | True   | True
www.rarlab.com                           | True   | True   | True
www.sqlite.org                           | True   | True   | True
www.syncany.org                          | True   | True   | True
yarnpkg.com                              | True   | True   | True

Extras Bucket Hosts
Extras Bucket Hosts                      | TLSv10 | TLSv11 | TLSv12
-------------------------------------------------------------------
1.eu.dl.wireshark.org                    | True   | True   | True
apache.mirror.serversaustralia.com.au    | http
api.nuget.org                            | True   | True   | True
app.pc.kakao.com                         | http
armkeil.blob.core.windows.net            | True   | True   | True
artifacts.elastic.co                     | True   | True   | True
azurecliprod.blob.core.windows.net       | True   | True   | True
bit.ly                                   | True   | True   | True
bitbucket.org                            | True   | True   | True
bitbucket.org                            | True   | True   | True
cdn09.foxitsoftware.com                  | True   | True   | True
chocolatey.org                           | True   | True   | True
crawl.develz.org                         | True   | True   | True
dist.torproject.org                      | True   | True   | True
dl.google.com                            | True   | True   | True
dl.sinew.in                              | True   | True   | True
dl.yat.qa                                | True   | True   | True
download.cpuid.com                       | http
download.deluge-torrent.org              | http
download.gimp.org                        | True   | True   | True
download.jetbrains.com                   | True   | True   | True
download.linqpad.net                     | http
download.microsoft.com                   | True   | True   | True
download.mozilla.org                     | True   | True   | True
download.mp3tag.de                       | True   | True   | True
download.netbeans.org                    | http
download.nirsoft.net                     | True   | True   | True
download.nomacs.org                      | http
download.robomongo.org                   | True   | True   | True
download.sysinternals.com                | True   | True   | True
download1.rstudio.org                    | True   | True   | True
download2.mikrotik.com                   | True   | True   | True
downloads.arduino.cc                     | True   | True   | True
fastglacier.com                          | True   | True   | True
files.gpg4win.org                        | True   | True   | True
fossies.org                              | True   | True   | True
ftp.ncftp.com                            | http
ftp.vim.org                              | http
gist.github.com                          | False  | False  | True
gist.githubusercontent.com               | True   | True   | True
go.microsoft.com                         | True   | True   | True
kindlegen.s3.amazonaws.com               | True   | True   | True
lpb.canb.auug.org.au                     | http
mobaxterm.mobatek.net                    | True   | True   | True
mupdf.com                                | True   | True   | True
nimbletext.com                           | http
openhardwaremonitor.org                  | http
openresty.org                            | True   | True   | True
r15ch13.keybase.pub                      | True   | True   | True
reshade.me                               | True   | True   | True
rufus.akeo.ie                            | True   | True   | True
s3.amazonaws.com                         | True   | True   | True
shinjiru.me                              | True   | True   | True
soft.rubypdf.com                         | http
sqlitestudio.pl                          | True   | True   | True
storage.googleapis.com                   | True   | True   | True
swupdate.openvpn.org                     | True   | True   | True
updates.signal.org                       | True   | True   | True
updates.tdesktop.com                     | True   | True   | True
windirstat.net                           | True   | True   | True
www.angusj.com                           | http
www.apache.org                           | True   | True   | True
www.bahraniapps.com                      | http
www.baremetalsoft.com                    | True   | True   | True
www.cockos.com                           | True   | True   | True
www.dhcpserver.de                        | http
www.dotpdn.com                           | True   | True   | True
www.faststonesoft.net                    | http
www.fosshub.com                          | True   | True   | True
www.haskell.org                          | True   | True   | True
www.heidisql.com                         | True   | True   | True
www.iographica.com                       | http
www.libsdl.org                           | True   | True   | True
www.makemkv.com                          | True   | True   | True
www.naturaldocs.org                      | http
www.piriform.com                         | False  | False  | True
www.portablefreeware.com                 | True   | True   | True
www.sourcetreeapp.com                    | True   | True   | True
www.stunnel.org                          | True   | True   | True
www.tt-solutions.com                     | http
www.videohelp.com                        | True   | True   | True
www.xiles.net                            | http
www.xm1math.net                          | http
www.xmedia-recode.de                     | True   | True   | True

Version Bucket Hosts
Version Bucket Hosts                     | TLSv10 | TLSv11 | TLSv12
-------------------------------------------------------------------
artifacts.elastic.co                     | True   | True   | True
bitbucket.org                            | True   | True   | True
cocl.us                                  | False  | True   | True
digi.bib.uni-mannheim.de                 | True   | True   | True
dist.nuget.org                           | True   | True   | True
download.elastic.co                      | True   | True   | True
ufpr.dl.sourceforge.net                  | True   | True   | True
windows.php.net                          | http
www.vordweb.co.uk                        | http

I'm not sure what's more impressive... the speed in which you valided every script mirror supports TLS12, or the neat GitHub hide huge codeblock trick.

An easy fix would be to add this neat little line to core.ps1.
Mentioned by @masaeedu in https://github.com/lukesampson/scoop/pull/2065#issuecomment-369669048
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12

@r15ch13 The install oneliner doesn't need to change unless Cloudflare drops support for TLSv1.0 or GitHub drops support for TLSv1.0 on raw.githubusercontent.com.
get.scoop.sh is served from Cloudflare's servers, then redirects to raw.githubusercontent.com. GitHub only dropped support for TLSv1.0 on github.com and api.github.com.
The install oneliner doesn't have trouble downloading the install script, it just has trouble accessing api.github.com during the install.
That being said, the following oneliner is shorter, but suffers from the same problem.
iwr https://get.scoop.sh | iex

I didn't see a commit related to this but I am no longer receiving the error after updating scoop.

@dsbert What happens when you run this:
scoop search --no-cache

@jordanbtucker There it is

This is fixed for me, but I left a comment about it leaving side effects. It's probably not a big deal though.

rtgsd

@h404bi While I agree that scoop should just work, setting ServicePointManager to only use TLS 1.1 and higher is something you should do anyway since SSLv3 and TLSv1.0 are deprecated due to POODLE. (Although, this could break other .NET applications and libraries.)
Here's how to do that in PowerShell:
# set strong cryptography on 64 bit .Net Framework (version 4 and above)
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord

# set strong cryptography on 32 bit .Net Framework (version 4 and above)
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord

Plus, this will allow scoop to work in Command Prompt instead of just PowerShell.

This finally let me install boxstarter on windows7 via azure-arm/packer.


Chinese (Traditional) QA: Onboarding & About Page

Onboarding 1

Onboarding 2

Onboarding 3

Onboarding 4

About Page 1

About Page 2

Confirm new string is in staging.


There should be an error dialog for incorrect settings instead of just crashing

Windows Build: 10.0.18362.86
Open Terminal.
Opened up settings, to profiles.json.
On a profile, for example cmd, added "icon": %windir%\\system32\\cmd.exe. Save.
On trying to focus on the terminal, it crashed. No errors. Almost instant crash.
Removed that line.
Tries to relaunch terminal, unable to launch it again.
Tried rebooting. Tried redeploying, did not work.
Edit: nvm, was just an extra comma in the end. It would launch again. But crashes when that exe is there.
i feel stupid for posting this issue without a second thought.

Yea there's no way for us to get an image from an .exe at this time.
I'd recommend trying a .png, .jpg, or any other image format :)

I am gonna take this issue as an opportunity to create a "there should be an error dialog for incorrect settings instead of just crashing" thread.

Just noting, that the json files gets resaved as unformatted json when you use the app. Making it difficult to change your settings at the go.

Windows Terminal crashed after I upgraded powershell-core from a old version to 7.0.0-preview.1.
This may because it cannot find the main shell. But I think it's better to "fall back" to cmd.


Unfinished data from continuous frames

The last frame also contains a payload, so we have to add it to the list "continuousFrames".

Changes Unknown when pulling 06c0effe2a1098ef568a2ac8f68806030a4a0bea on as1an:websocket into ** on NanoHttpd:master**.


Shiny new logo

Hello,
I've designed a brand new logo for TypeGraphQL. Additionally, I made some styling tweaks on website.

You can preview my changes in my fork:

Readme: https://github.com/pkosiec/type-graphql/blob/master/README.md
Website: https://pkosiec.github.io/type-graphql/

Best,
Pawel

It looks amazing! 😍
Thank you very much for your contribution 😉


Adds support for re-running server and client tests automatically

Adds two more tasks to execute server and client tests separately
To run full suite
grunt test
To run only server tests
grunt test:server
To run only client tests
grunt test:client
Fixes https://github.com/meanjs/mean/issues/155

@lirantal @NeverOddOrEven I think it's a good idea to have 2 separate tests, and just call them together in the grunt test command. Thoughts? I can probably put together a Gulp version if we want to bring this in.

I don't know what the merge conflicts could be, in August when I opened the bug and created the MR it merged without warnings. Also, in that time, only grunt was supported, that's why I only did the grunt test. I suppose that it would be easy to port it to gulp.

@miguelcoba you have to rebase your changes off of the new master. Once you do that we'll be able to review it.

@ilanbiala I agree, sounds like a nice idea. @miguelcoba it's impossible to merge this due to changes already commited on the same files you changed.

I like this idea.

@miguelcoba can you either rebase your changes so that we can merge this PR or open a new PR that will merge without conflicts?

I did a rebase of pull request code to upstream/master code. This can be merged now to master.

@miguelcoba looks good. @lirantal @NeverOddOrEven @roieki @amoshaviv I'll merge this if someone gives another +1.

lgtm @ilanbiala, you can go ahead and merge.


Fix link to macro section

This is a:

[x] bug fix PR with no breaking changes — please ensure the base branch is main
[ ] new functionality — please ensure the base branch is the latest dev/ branch
[ ] a breaking change — please ensure the base branch is the latest dev/ branch

Description & motivation
A couple of links are missing the -source suffix.

Actually, also just realized there does not seem to be a README section for listagg even though the macro exists?

#552

Actually, also just realized there does not seem to be a README section for listagg even though the macro exists?

Good catch, Claus! I just merged https://github.com/dbt-labs/dbt-utils/pull/560 which adds docs for listagg, and it will go out in the next release.


can't reproduce results for gradient, grad_times_input and integrated_gradients

Hi, thanks for the insightful paper and making the code public!
While trying to reproduce your results (namely figure 2 in the paper), I ran into issues with multiple attribution methods:
For gradient and guided backprop, the explanation visually does not change at all.
For grad_times_input the explanation does not look like the target explanation and the image is visibly disturbed.
For LRP the method works as expected, so I feel like it's not a general issue.
In all cases I used the parameters suggested in appendix A (num_iterations, learning_rate) and otherwise did not change your implementation or default parameters.
Do you know what could be the issue or are there other parameters that need to be changed? Thanks for your help!
Guided backprop:

Grad x input:

Thank you for your interest in our work and for contacting us. This is much appreciated!
For gradient-based explanation methods, you will want to use beta growth which can be activated using the --beta_growth flag in the run_attack script. Please have a look at Section A1 in our supplement for more details.
Hope this helps!


MNT: Re-rendered with conda-smithy 1.6.1

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


feat(order): Extend query parameters to list orders

Codecov Report

Merging #432 (dbfa405) into main (ff100af) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #432   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           19        19
  Lines          502       502
  Branches        39        39
=========================================
  Hits           502       502

Flag
Coverage Δ

unittests
100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/order/OrderAPI.ts
100.00% <100.00%> (ø)

Thank you for your very valuable input, @jonathansampson.
Based on your input, I have made a decision:

I will not rename getOpenOrders, because it expresses what is being written in the Coinbase docs: "List your current open orders"
I am extending the parameter of getOpenOrders with the optional properties product_id & status to be backwards compatible and to allow users of newer versions to use these props
The status must be passed as an array, so you can either pass one status or many (default is [open, pending, active])


Image folder does not export

I use an image in my AE project, but when I export using Bodymovin there is no image folder comes with the json file
My AE is CC 2016
My Bodymovin is 2.14.0
Here is my project link: https://goo.gl/DHkYYm
I have seen an issue similar to this and you say it would have been fixed in the following update. However, I still encounter with the same problem so I create a new one.
Thank you a lot for making such great plugin

I tried your animation and it exported fine.
Are you trying to export it to a folder with special permissions?
On the zip file you sent me, the images folder seems to be there.

Actually I included it manually, however, after several times of restart, the plugin seems to work perfectly now, thanks for your attention, keep up great work man!

Glad it works now


adding support for reading from stdin

It would be great to be able to load triples directly from stdin, so I made this simple implementation allowing for usage like grep 'john' 30kmoviedata.nt | ./cayley http -stdin=true
I've yet to fully play around with all the features of Cayley, so I may be missing something, but this seemed right to do.  It will at least serve to get the conversation started with regards to stdin as a datasource.
Thanks!
Oh, and I signed the CLA.

This PR is pretty stale.  Any ideas for direction on a 20 months newer Cayley?   Happy to take a swing.

Closing for posterity.   If we want really want this.  We can take another clean whack at it.


Add mock data script to package.json scripts

Describe the Problem
Adding mock data to the mongo db is not intuitive.
References
No response
Describe the Proposed Solution
add node src/lib/scripts/connect.js to the rpm scripts in the package.json. Give the command to run it db:mock-data
so to populate your DB you would be able to use npm run db:mock-data

also test it to make sure this works


nprobe is compiled with FreeBSD 13

Hi,
it seems the current version of nprobe was compiled on a 13 which wont work with current OPNsense/pfSense.
Sadly you need to compile it for both versions to make it compatible.
If you need help about restructuring the repo I'm happy to help :)
root@scope1510-1:~ # /usr/local/etc/rc.d/nprobe start
Starting nprobe.
ld-elf.so.1: /usr/local/bin/nprobe: Undefined symbol<EMAIL_ADDRESS>/usr/local/etc/rc.d/nprobe: WARNING: failed to start nprobe

https://forums.freebsd.org/threads/glib-undefined-symbol-pthread_setname_np-fbsd_1-6.78959/

Unfortunately we are not yet making builds for FreeBSD 13 as you can see https://packages.ntop.org/FreeBSD/.

Maybe you got me wrong. I just updated a running setup from 21.7.2 to 21.7.5 with the new nprobe Version and get the error above (which claims you binary was compiled on 13)

I updated to the latest build and it seems fine now.
Version with error:
Installed packages to be UPGRADED:
nprobe: 9.7.211125 -> 9.7.211205 [ntop]
os-nprobe: 9.7.211125 -> 9.7.211205 [ntop]
os-ntopng-enterprise: 5.1.211125 -> 5.1.211205 [ntop]
After upgrade it started up correctly.
As we discussed in out teams talk earlier this year, am I allowed to grab your repo binarys from time to time and load them into my repo so they are not updated every day?


Login

Tasks:

[x] implemented new login-ui
[x] parallax effect for background
[x] redirect to last visited page (or to /admin if there is none)
[x] implemented AuthenticationHandler in SecurityBundle
[x] implement Administrator-email address*
[x] login with email OR username AND password
[x] password forget functionality
[ ] gather feedback for my changes
[x] test coverage

Dependent PR:
https://github.com/sulu-cmf/sulu-standard/pull/410
*Administrator-email-adress:
This is just an email-adress specified in a config-file. This address acts as a fallback if a user has no specified email
Informations:

Q
A

Tests pass?
yes

Fixed tickets
fixes https://github.com/sulu-cmf/sulu-standard/issues/294, fixes https://github.com/sulu-cmf/sulu-standard/issues/214

BC Breaks
none

Doc
none

@danrot @wachterjohannes
The login is basically finished. There are only to more small tasks I am stuck at need to be done. The
first: The Resetting-Routes are not accessable for an unauthenticated user in the tests. I tried adding the firewall settings to the config.yml in the test-folder (SecurityBundle) but no effect.
second: the login files in the adminbundle need to be built. Essentially the only thing missing there is the built of the login.min.js file. I managed to built the twig template (also the references to the minified js/css file get updated properly). So the only thing I can't fix there is that the login.min.js file is always empty.
I'll attach the diffs below

Either you make this setting required, or you handle it everywhere in the code. I would suggest making it required in the Configuration.php.

The login sends two requests for me:


[User Interface: Redesign]: UI approaches for funneling user queries to Dataset search or ComputationalTool search

Issue Name
UI approaches for funneling user queries to Dataset search or ComputationalTool search
Issue Description
Users may wish to search just for computational tools, resource catalogs, or datasets from the get-go. To ensure that users who are searching for one of the three types immediately see relevant results rather than results polluted by one of the other types, create mock ups of potential simple tweaks to the landing page UI which would allow the user to specify the type of thing they're searching for.
Logic Schematic (expected behavior of the ui change)

Issue Discussion
This issue was raised during the bi-weekly meeting dated 2024.05.28
Mockup URL
No response
WCAG Compliance Check

[ ] The ui changes are not expected to significantly affect WCAG compliance (ex- wording changes)
[ ] The ui changes have visual elements which have yet to be tested for WCAG compliance
[ ] The ui changes have visual elements which have been tested for WCAG compliance
[ ] The ui changes have passed all checks for WCAG compliance

Related WBS task

[ ] Check here if the ui change is centered on the look and feel (https://github.com/NIAID-Data-Ecosystem/nde-roadmap/issues/52)
[X] Check here if the ui change includes new features (https://github.com/NIAID-Data-Ecosystem/nde-roadmap/issues/53)
[X] Check here if the ui change was suggested by the NIAID team (https://github.com/NIAID-Data-Ecosystem/nde-roadmap/issues/2)

For internal use only. Assignee, please select the status of this issue

[ ] Not yet started
[ ] In progress
[ ] Blocked
[ ] Will not address

Status Description
No response
UI change status check list

[ ] This ui change has yet to be discussed between NIAID, Scripps, Leidos
[X] This ui change has been discussed/reported between NIAID, Scripps, Leidos
[ ] This ui change has been mocked up
[ ] This ui change has been implemented on Dev
[ ] This ui change has been approved for Staging
[ ] This ui change has been implemented on Staging
[ ] This ui change has been approved for Production
[ ] This ui change has been implemented on Production

Hi @hartwickma, @lisa-mml, @rshabman, @sudvenk,
Mock ups for how a user might toggle between searching for Datasets, ComputationalTools, or both are now available here: https://drive.google.com/file/d/1ZKexIt7SkbGCb7MTlqIGKCuj1lu4lYwU/view
We are marking this as 'review requested - mock up' and adding it to the list of GH issues on the agenda (to make it easier for you to find, not because we need to discuss it at the upcoming meeting).

NIAID has added the categorization of 'Ongoing Discussion Item' for issues that are part of ongoing discussions and do not currently require NIAID review.
Please bring this as an agenda item when Scripps is prepared.

Hi @gtsueng, thanks for providing these mock-ups. Please move ahead with Option 2. We may provide additional feedback once we have a chance to explore the functionality in staging.

Thanks for the feedback, @hartwickma, @sudvenk.
@candicecz will proceed with moving Option 2 to Staging.

Hi @hartwickma, @rshabman, @lisa-mml, @sudvenk,
The ComputationalTool-related UI changes are now on Staging awaiting approval for Production. This includes updates for:

the cards
the resources page
the landing page search options (this issue)

The following updates cannot be applied to staging (due to the STRAPI pages already being published), so the updates will need to be approved in google docs before moving to production:

the documentation

The following changes are under investigation:

Facets and filter updates

Hi @gtsueng once the changes to the documentation are finalized, please move the the landing page search options to production.
For future issues with interdependencies please:

Avoid adding duplicate notes - it is difficult to determine what to address in order to move the issue forward. Please limit the documentation to what needs to be approved only for that GH issue. If it is too complex for a single GH issue, please provide as an email or an agenda item.

Note that moving forward, NIAID will provide a single review for updates to documentation, text, and aesthetics. Please update NIAID once these changes have been implemented and moved to production

This is now on Production. I am marking this issue as Pending close out


[Feature Request] An option to show real names instead of usernames.

It would be great to have the option to view whatever people have entered for their real names instead of their usernames in the chats, chat lists, and anywhere else.
Thanks!
Joey

This would be very nice indeed

Fully agree! Its hard to keep the nicknames in mind of so many contacts. Maybe this should be optional in the settings?!


Swift 3

Hi there, I am writing a project in swift 3 that also uses a library written in swift 3. Is there a way to convert the current Alamofire to Swift 3 or is there a beta for swift 3 that I might be able to use?
Thanks

We will start an official Swift 3 branch once Apple officially releases the Swift 3 tools at WWDC.

Hi. Since Swift 3 tools have been released couple of days ago, what is the status on this?


Sprite pivot point scrolls with texture offset

Godot 3.2.1
Windows 10, Intel HD 4000 Chipset
I'm using a mirrored texture and its region to scroll it along its Y axis infinitely. The problem comes when trying to rotate the scrolling texture. It seems that its pivot point scrolls along with the texture. As such it gives the impression while testing that the rotation gets faster over time, but this is only the result of the pivot being continuously offset more and more, messing up the math.
As a workaround, I've tried making the sprite itself the child of a position 2d node and rotate that instead, but for a reason I don't quite understand, the problem is still occurring. Next, I tried scrolling the texture with a shader instead, to see if that would produce different results. I did not.
After posting on multiple help forums, I finally got a moderator on the godot Q&A forum to test out my project and see if he could fix it. His conclusion was that the problem was probably occurring due to an engine bug.
Here is a screenshot of the scene tree and the relevant script:
https://godotforums.org/uploads/editor/2b/z4afqzo940eo.png

https://godotforums.org/uploads/editor/20/dzblywwu0zp8.png

Steps to reproduce:

Use a sprite, add a seamless texture imported with mirrored option enabled
Enable and configure the sprite's texture region according to the texture used
Through script, scroll the texture region on the y axis and have the scrolling move relative to texture rotation
Through script, rotate the sprite

Original Project:
Shmup_Project.zip
Sample Project
[Pivot Issue.zip]
(https://github.com/godotengine/godot/files/5884371/Pivot.Issue.zip)
Note: Use Q and E keys to rotate while testing.

Can you make a simpler sample project? I wanted to try it in 4.0, but the scripts are incompatible. Perfectly it should have only the background movement and rotation.

Can you make a simpler sample project? I wanted to try it in 4.0, but the scripts are incompatible. Perfectly it should have only the background movement and rotation.

Can you make a simpler sample project? I wanted to try it in 4.0, but the scripts are incompatible. Perfectly it should have only the background movement and rotation.

As requested, I've edited my original post and added a stripped down sample project which contains only what is relevant to my issue.

Can you make a simpler sample project? I wanted to try it in 4.0, but the scripts are incompatible. Perfectly it should have only the background movement and rotation.

As requested, I've edited my original post and added a stripped down sample project which contains only what is relevant to my issue.


[DOCS] CONTRIBUTING.rst does not render the commit message formatting example

The code block is missing a newline after

@devin-petersohn
at which should there be a blank line?
https://github.com/modin-project/modin/blob/master/docs/CONTRIBUTING.rst

Looks like line 52 which has only . should be deleted.

prior to line 92, add a blank line.


Add the Tasks calendar from My Calendar - Feature Request

Please allow the ability to add "Tasks" from under "My calendars" to this awesome extension. Please!!!

Unfortunately, the API does not expose the Tasks calendar to apps like this one. That's the reason the calendar is not automatically shown in the list like the rest of your calendars.
Even more unfortunately, Google recommends the use of Keep to maintain tasks and to-do lists instead of Google Tasks. The advantages are that new Google products such as Google Inbox, Google Calendar (the new one), and Google Now all share the same data from Keep.
As such, it does not seem like a good idea to implement a Tasks calendar in this extension.


[pull-request:create] Give a pat to PR's author after merge

Q
A

Fixed tickets
n/a

License
MIT

TODO:

[x] Add tests.

I prefered it when it did violate psr2 there tbh.

I wish my docker PR would awake more attention than this PR 👍

Hehe, don't be jealousy @cordoval.
:+1: for #591.

he he @phansys just a bit, i am actually swimming against the current, but as i am convinced of where i am heading i keep pushing. No time for discussion sorry.

@phansys please rebase PR

Rebased.

if you can @phansys help me fix the skipped tests of the test suite, also if you can check the circle.yml there is a line commented out that was failing not sure why

Sure @cordoval, I'll try to help later today. Maybe something related to the native version of phpunit locked in Circle CI? I'll try to include phpunit/phpunit at require-dev in order to test with the same version in both suites and at least discard that doubt.


autoDetectRenderer doesn't work properly on Ejecta

I'm running example 1 on Ejecta.
However it just produces a black screen with the CanvasRenderer, though it does work ok with WebGLRenderer.
The only trouble is that autodect doesn't work - i suspect because of the "experimental-webgl" check on the canvas - which I doubt is implemented in Ejecta.

Closing due to inactivity.


fix : bug in alpha.press function

I added a condition to execute a press only when it isn't calling a nil value (because it could try to call a nil value for me)

why can't you just pass function () end instead of nil? this seems superfluous to me

why can't you just pass function () end instead of nil? this seems superfluous to me

Well to be honest I don't know much about lua, I just tried to fix an error I was facing, if you can fix it better I would appreciate it.
Just so you know sometimes cursor_jump_press[cursor_ix] isn't defined and it gives me an error (maybe because the cursor moves on redraw idk)

@goolord This issue can be reproduced.
	local dashboard = require('alpha.themes.dashboard')
	local button = dashboard.button

	require('alpha').setup {
		layout = {
			{ type = 'text', val = 'hello', opts = { position = 'center' } },
			{
				type = 'group',
				val = { button('<leader>u', 'test', ':echo "test"<CR>') },
				opts = { spacing = 0 },
			},
		},
	}

Press <CR> twice. It will throw an error.

i see, the bug wasn't well described so i misunderstood. anyways this doesn't seem like a good solution to the problem described

https://github.com/goolord/alpha-nvim/commit/a858e4e7b0805835e61fab2b54704450427d47c3 should fix the problem described by @adoyle-h


feat(core): Allow to configure with json, yaml and package.json

Fix #73

I changed the code to use the async function of cosmiconfig. I also add to set the load tests as serial.
You mentioned setting stopDir as the git root. But I don't know how to obtain the git root, and I'm not sure how to handle the case where the project is not a git repo. Any suggestions @marionebl ?

An example on how to do that can be found in core/read.js#74.
I think it is fine if you just copy the relevant implementation for the time being, I'll move that to a separate package eventually

Ok but that mean I need a .git directory in each fixtures subdirectory for the test to work.
And .git directory are excluded with .gitignore.
The other solution is to create a git repo in a temp directory for each test and copy the content of the fixture subdirectory in it. But that's a lot of changes in the load.test.js file.
What do you prefer ?

Option 2 sounds good

Ok I'll have to copy the whole content, recursively, of each fixture sub-folder into the temp git repo.
Do you have an util function to do that ? (I can't find one).
Otherwise I could use https://github.com/jprichardson/node-fs-extra/blob/master/docs/copy.md

The cli package uses sander for fs stuff – you are looking for sander.copydir

I made the changes.
I had to duplicate initRepository, cleanRepository and rand which is not ideal.
Ideally we should extract those in a module. Normally ava  helpers would go to test/helpers directory. But as your structure is not standard and require ava custom config path, I'm not sure where to put those test helpers.
Let me know where to put them and if you want me to do that.

Looks good, thanks. I'll handle the dedupe at some later time. I am on vacation till 3th Oct, will make an effort to merge it then!

Moving this to #83

Landed, thank you!

Published with v4.0.0 :rocket:


Add ability to dynamically compute log levels

Similar to the behavior in Phoenix.Logger, allow dynamical computation of log levels. This allows users to do things like suppress logs for health checks.

This feature is backported to master (where the library is fully rewritten) and will be released with 6.0. Sorry for waiting for so long.


spglib: 2.0.2 -> 2.1.0

Description of changes
Changelog: https://github.com/spglib/spglib/releases/tag/v2.1.0
@PsyanticY Please have look at python3Packages.spglib. I tried to update it as well, but there are a lot of changes that require some more work.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build cp2k python3Packages.spglib


feat: demonstrate contract-first CRDs

Modify the leader-election sample to use contract-first. That is, the CRDs is written in YAML and the java code is generated automatically using the java-generator-maven-plugin from fabric8.
#1338

I missed lots of details, sorry for that. Should be fixed now !

Great thanks! May I kindly ask to add the label hacktoberfest-accepted to it?


Fix unit tests

Fix #2780.
Signed-off-by: Steven Bellock<EMAIL_ADDRESS>

@Xiaohanjlll as well.

Will restrict this pull request to https://github.com/DMTF/libspdm/pull/2819/commits/eba35bd866bbfa470061ddb83cdcd3ecbe930c9b. The other commits can be a separate pull request.


feat: add Vertex AI component

Because
We want to integrate Vertex AI client into our VDP pipeline platform.
This commit
Added the Vertex AI Component, which supports the following tasks:

[ ] TASK_TEXT_GENERATION_CHAT
[ ] TASK_TEXT_EMBEDDINGS
[ ] TASK_TEXT_TO_IMAGE
[ ] TASK_SPEECH_RECOGNITION

Since the SDKs from Google is not quite polished, I've decided to use REST interface to interact with GCP.
Here are the reference:

Gemini link
Imagen 2 link
Text Embedding linkl
Multi-modal Embedding link
Speech to text link


[frontend] Real time editor

adds real time editor (without matching service since the matching service hasn't been merged in at the time of this pr, and the collaboration server hasn't been implemented) using yjs and websocket; users can simply create rooms and join them.
this can be a separate feature but it should also be easily adaptable to the collaboration service (just add on the question retrieval etc) when the dependencies are resolved.
this pr also adds a websocket server in the backend for the real time code editing, collaboration service might have to either add a new server [this websocket is binded to the editor itself] or refactor it to better support its functionality (very barebone right now).
sometimes user highlighting (called awareness) might be a bit buggy but thats also because the library isn't super well supported, but i think it still should be pretty ok overall(?)
[password protected rooms aren't actually implemented here as i didn't have time to look too into it- might have to do some stuff server side to support it; nevertheless i think its still a good security feature (for this room feature, if we're still going to have it in the future), else the collaboration rooms should still be password protected anyways so randos can't just join in]
possible improvements also include syncing editor language and question but I didn't have time to look into them and I think we should do the collaboration service first as it might cause some merge conflicts.
https://github.com/CS3219-AY2324S1/ay2324s1-course-assessment-g17/assets/79991214/d6dd4bd3-168e-45cd-b70e-c432a193ddba

to run this, you'll need set up the collaboration service (just npm i and npm start) in the backend and add this to your .env file in the frontend: REACT_APP_COLLABORATION_SERVICE_BACKEND_URL=ws://localhost:8081/ (refer to notion)

regarding the avatar thing: this may be relevant: https://socket.io/get-started/private-messaging-part-2/
(i am under the assumption that collaboration service will also integrate socket.io)

@sltsheryl

i think some minor things that arent very impt - (see video below) idk if its a state thing but when i redirect and then come back, the number of avatar logos increases until i refresh

oh good catch! I think the reason why its like that is because I haven't implemented the room close/ leave logic yet (yes i realised the backend code is a hot mess : ")))

i was thinking after the matching is done, both users would automatically be placed in the same collab room (so would they still be sharing their room id with each other? how would the password work if they're placed automatically in a room? oh are we having the option of having matching interview or coding with friend)

yep, they'll share the same room id i think, i think the password can somehow be shared as a state somewhere (though I'm not very sure how to implement this yet :"))), i've seen that when creating the/ joining a 'room' (through the websocket) there's an option to pass a password to the room creation as well. but tbh this password might just be used to encode communication, i'm not very sure (the documentation for this library is quite sparse TT)

not sure if this is gd/possible either but is having uniform language gd so when a user changes the language, it changes for the partner too

yep! agreed would be a good feature to have (and potentially also sync the question shown)
thanks for the review! : D i'll merge this in first and work on the changes/ enhancements later to avoid blocking other prs


Issues when accessing the state from within an action

🐛 The bug
I can't access the correct state from an action.
🌈 Expected behaviour
When dispatching an action I should be able to read the contents of the state, yet state.coins is undefined here when it should be an empty array.
ℹ Additional context
import { actionTree, getAccessorType } from 'typed-vuex';

interface Coin {
	id: number;
}

interface State {
	coins: Coin[];
}

export const state = (): State => ({
	coins: []
});

export type RootState = ReturnType<typeof state>;

export const actions = actionTree({ state },
	{
		async get({ state }) {
			console.log(state) // state.coins = undefined
		}
	});

export const accessorType = getAccessorType({
	state,
	actions
});

This is the console.log output

@Pitu Would you provide a reproduction on CodeSandbox?

Sure thing, I'll try to get a repo up and running today for you to check it out.
Thanks a lot!


Halston update

I think this can just be merged. There are some slight modifications to a shamir file @ the bottom you might want to check out. I tried untracking them but I couldn't really figure it out

I cannot resolve conflicts for some reason so i cannot merge this i guess, maybe make another pr??


Benchmarking harness

@sa2257 is building a simple harness that will allow us to do the following:

Have a top-level benchmarks/ directory.
One benchmark per-directory benchmarks/foo
The harness will run a command to (probably make) build build each benchmark using the HLS flow.
Compile and run all benchmarks using a single command.

@sa2257 If buildbot already has the right capabilities to run multiple examples, we should just extend it.
Also, buildbot needs to be updated to the new compiler to actually compile Fuse files.

Done in https://github.com/cucapra/fuse-benchmarks/


Add Version helpers

Version is read from version.txt
Fixes #527

Version is read from version.txt

What's the goal here? Will the user write some code to check whether their version is >= or < some known version that they are compatible with? If so, should we provide equality operator helpers on the version as well? Or are we only going to provide the ability to get the version and leave it to the user to do whatever they like with that info?
From the issue, are we going to include the git commit hash?

We could look at adding a Git commit hash later.  I don't want to currently b/c its a chicken and egg problem to commit that hash in code.

We could look at adding a Git commit hash later. I don't want to currently b/c its a chicken and egg problem to commit that hash in code.

In that case, should we leave the issue (#527) open?

If you have a reasonable approach to do Git hash which addresses the chicken/egg problem then we can do it.  Otherwise its a feature I don't see us ever addressing.  I plan to close 527 noting that the hash is not available at runtime in code.  Users can self-supply it via their build systems

If you have a reasonable approach to do Git hash which addresses the chicken/egg problem then we can do it. Otherwise its a feature I don't see us ever addressing

Looks like there are some possible solutions that we could investigate using git hooks. Requires some investigation though:
https://stackoverflow.com/questions/3442874/in-git-how-can-i-write-the-current-commit-hash-to-a-file-in-the-same-commit
https://stackoverflow.com/questions/16524225/how-can-i-populate-the-git-commit-id-into-a-file-when-i-commit/38087913#38087913


WIZLAN - can't find any lights

I tried both configuration options, but non seems to find any light. I am using TP Link Deco to connect all lights. Please suggest any solution. Thank you

Did you configure the plugin settings to use the IP address of your bulb, as listed in the WIZ App?
Note: you first need to configure your router to reserve the IP address to use for that device.

I used IP address from the app, and reversed all the IPs on router, but still nothing shows up on Hoobs.

Which bulbs do you have?


support MOUSEx

[x] Add UI
[ ] Test if keys are binding correctly

Somebody please tell me if it works or not, can't test it - do not have any of these keys.


Update Driver to existing Binary of specified GUID

Functions Introduction Functions:

Parse the input FV file into a origin binary tree. Currently, we just support FV level replacement operation, so we define two different types of tree nodes - FV/ FFS.
Given a new FFS file , parse the new FFS file into a new binary tree and get the new FFS Node from the new binary tree.
Find target FFS node from the origin binary tree with new FFS's driver guid.
Replace the target FFS node with New FFS node in the binary tree.
Encapsulate binary with replaced FFS.
Design thoughts:
A binary tree will be created for binary file to include all the info.
The whole binary file will be seen as a Root Node of the tree. When parse the binary, the FV and FFS part will be seen as the FVNode/FFSNode which is the Child of the ROOT/FVNode.
With the tree, both the structure and data of ROOT/FV/FFS... can be saved which can be used for function extensions.

Use method Method 1:
Step 1: Copy the origin "bios_image.bin" & target "driver_image.ffs" (The file name can not be changed) into the XmlCli repo root folder.
Step 2: Open windows console with XmlCli repo root folder, then run "py -3 src\xmlcli\common\bios_fw_parser.py".
Then the expected output binary file "replaced_image.bin" will be generated into the root folder.
Method 2:
Step 1: Copy the origin "bios_image.bin" & target "driver_image.ffs"( with your own file name )into the XmlCli repo root folder.
Step 2: Open windows console with XmlCli repo root folder, then run "py -3 src\xmlcli\common\bios_fw_parser.py -r $(input_binary_file) $(target_driver_ffs).ffs $(output_binary_file)".
Then the expected output binary file $(output_binary_file) will be generated into the root folder.

Known Issue 3.1 Only support replace the first find driver ffs. 3.2 Only support replace the same guid driver ffs file. 3.3 The entry extension in xmlcli_registry_listener.py does not been complemented.

Extension direction 4.1 All the Known Issues can be enhanced with more details requirements descriptions. 4.2 The binary tree can be extended to save all level's FV and FFS and Section Node through binary parsing. 4.3 The existed binary Tree can be used to extend more functions like "Add a new driver / Delete a driver...".

Update the Descriptions:

Design Ideas:
A multiway tree will be created for input bios image file to include all the info.
The whole bios image will be seen as the root node of the tree. When parse the image, the FV and FFS part in it will be seen as the node (FVNode/FFSNode) which is the child of the root/FVNode.
With the tree, both the structure and data of different level layout ROOT/FV/FFS... can be saved which can be used for function extensions.

Feature Introductions
    1. Parse the input bios image binary file into an origin multiway tree.
        PS: Currently, only root FFS level replacement operation is supported, so only two different types of tree nodes are defined FV/ FFS, the multiway tree only have FV/FFS Node.
    2. Parse new driver FFS file. Given a new FFS file, the file can be parsed into a multiway tree with defined FFS Node which have the FFS info got from binary file.
    3. Find FFS node. Go through the whole bios image tree to find the target FFS (which will be replaced by our new driver) with specific guid (get from new driver file).
    4. Replace the target FFS node with new driver FFS node in the multiway tree.
    5. Encapsulate multiway tree which has the replaced FFS into the output bios image.

Code Function Descriptions
    1. uefi_parser.parse_binary(): extend the parser to parse both bios image and driver ffs file:
        We add the multiway tree establishment process into this function, and the input file of this function is extended to both FV and FFS file. All FV/FFS tree nodes with both multiway data and position info can be collected by this function.
    2. uefi_parser.find_ffs_node()
        This function is used to find target FFS Node in the multiway tree.
    3. uefi_parser.ReplaceFfs()
        This function is used to replace target FFS Node with given new FFS node.
    4. uefi_parser.Encapsulate_binary()
        This function is used to encapsulate multiway tree data into the byte buffer.
    5. uefi_parser.dump_binary()
        This function is used to dump the multiway tree data info into a file.

Use Methods
Method 1:
Step 1: Copy the origin "bios_image.bin" & target "driver_image.ffs" (The file name can't be changed) into the XmlCli repo root folder.
Step 2: Open windows console with XmlCli repo root folder, then run "py -3 src\xmlcli\common\bios_fw_parser.py".
Then the expected output bios image file "replaced_image.bin" which has the replaced driver ffs will be generated into the root folder.
Method 2:
Step 1: Copy the origin "bios_image.bin" & target "driver_image.ffs" (with your own file name) into the XmlCli repo root folder.
Step 2: Open windows console with XmlCli repo root folder, then run "py -3 src\xmlcli\common\bios_fw_parser.py -r $(input_bios_image) $(target_driver_ffs).ffs $(output_bios_image)".
Then the expected output bios image file $(output_bios_image) will be generated into the root folder.

Known Issues

Only support replace the first find driver ffs.
Only support replace the same guid driver ffs file.
The entry extension in xmlcli_registry_listener.py does not been complemented.

Extension directions

All the Known Issues can be enhanced with more details requirements descriptions.
The multiway tree can be extended to save all level's FV and FFS and Section Node through binary parsing.
The existed multiway tree can be used to extend more functions like "Add a new driver / Delete a driver...".
More features that you want ....

This Updates Driver with GUID from another binary to fulfil usecase where:

User has label01.bin  which is working BIOS
User tried label_different.bin which can be newer or older but eventually it does not have working driver which is expected by user.

Eventually This would likely to go with failure.
To aid regression without modifying code, this can replace driver from working firmware

TODO:

Test changes with working setups.


Clean up temporary files

Description
Pytest provides a handy tmp_path and apparently cleans up files placed in there.
Fixes #373
Checklist:

[ ] I have performed a self-review of my own code
[ ] My code is PEP8 compliant (flake8 anesthetic tests)
[ ] My code contains compliant docstrings (pydocstyle --convention=numpy anesthetic)
[ ] New and existing unit tests pass locally with my changes (python -m pytest)
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have appropriately incremented the semantic version number in both README.rst and anesthetic/_version.py

There's something funky going on with macos and pytables, had to try three times to get the runner to complete. Whatever the problem is, it isn't one to fix here
Issue at https://github.com/PyTables/PyTables/issues/1114


Readability improvements

The code should do the same thing, but hopefully is easier to read

I've just rebased.

I was also wondering about this: https://github.com/django/django/blob/master/django/core/serializers/base.py#L117 (self.first = self.first and False)

Thank you for having a look at it and the detailed feedback! I will improve the PR once I have the time (unlikely to happen this week)

@MartinThoma Thanks :+1: I pushed small edits.


VSC keeps crashing

Type: Bug
I opened VSC and then the terminal crashes and I get this error message that says "A shared background process terminated unexpectedly. Please restart the application to recover."
 If not, and if you don't want to, please wait for 1.94 to release later this week, then re-test.

@gjsjohnmurray I have and both VSC and Insiders crash the same way.

Also if you launch with the --disable-extensions qualifier?

Are folks still running into this?

Unfortunately, both this and the attached issue don't have enough information to figure out what exactly is breaking. Please tyr following this to add more info: https://github.com/microsoft/vscode/wiki/Terminal-Issues

The previous issue had only one report of shared process crashing due to proxy resolution and it has been resolved since then. If you are experiencing termination of the process in latest stable please attach the crash logs following the steps at https://github.com/microsoft/vscode/wiki/Native-Crash-Issues#creating-a-crash-report


isNull() returns false for null type

Split off from #31

isNull() should return true for the null type

confirmed fixed on my end! :tada:


Add the complete feature into the Scratchpad

I love using Witsy for my daily tasks!
The Witsy scratchpad would be better with auto-completion.
Currently, you have to type "complete" in the command bar.
Adding custom features to the scratchpad would be great.
Thank you for creating this amazing tool!

Hey thanks for the positive feedback!
What do you mean exactly by:

Auto-completion: you mean just starting a text and ask to complete it? Is it not "Expand my writing" in the action bar?
Custom features: you mean custom actions in the action bar?

Thanks!

Auto-completion: you mean just starting a text and ask to complete it? Is it not "Expand my writing" in the action bar?
Exactly. To complete only the sentence, for example. The expand feature generates more content than expected in the complete one.

Custom features: you mean custom actions in the action bar?
Yes, predefined prompts that will execute over the text.

Will be included in next version


Semantic Highlighting can't be disabled

VSCode Version: 1.50.1
OS Version: Windows_NT x64 10.0.19041

Steps to Reproduce:

Find the Sematic Highlighting option in settings.
Set it to false.  It will remain enabled.

Does this issue occur when all extensions are disabled?: Yes

Found that this is actually possibly to disable by setting it to... true! the settings still says it is 'enabled' but it is definitely then disabled from looking at the editor.

I can't reproduce the issue. All works fine for for me. true enables semantic highlighting, false disables it.
To find out if semantic highlighting is there, set the cursor on an identifier and run Developer: Inspect Editor Tokens and Scopes.
If you see the semantic color section then semantic coloring is on.

Whoops, yeah dev inspector shows it is working! I guess I was misinterpreting what it was doing so had it backwards in my head whether it was working or not!


Add RTC example, or document peripheral activation.

I cannot figure out how to use the RTC.

19.5.3 The RTC bus clock (CLK_RTC_APB) can be enabled and disabled in the Power Manager, and the default state of CLK_RTC_APB can be found in the Peripheral Clock Masking section. A generic clock (GCLK_RTC) is required to clock the RTC. This clock must be configured and enabled in

<IP_ADDRESS> shows that CLK_RTC_APB is enabled by default, and the apbamask shows that is is on.
peripherals.PM.apbamask.read().rtc_().bit() // true

I tried writing RTC enable bit but it blocks forever.
let rtc = peripherals.RTC.mode0();
rtc.ctrl.write(|w| w.enable().clear_bit()); // <- this blocks forever

I know that I need to enable a clock generator, but I don't know how to connect a generator to the RTC peripheral.

Thanks for writing this crate, it helped me build this calculator. Now I want to use the RTC to seed the PRNG.

Hi everett, I responded to you on irc when you were asking there a week or so ago, but you had already left the channel. Unfortunately, at this time we have not built up a hardware abstraction layer dedicated to the RTC, so it requires diving deep into the dirty register writes, as you have seen. I expect what you're seeing in terms of the blocking is that the peripheral isn't set up properly. So you have two options: figure out all the steps required to initialize the RTC, or find a simpler way to seed your rng.

Maybe a good option would be the cortex-m dwt cycle counter? https://docs.rs/cortex-m/0.6.0/cortex_m/peripheral/index.html

I'd rather figure out the steps required to initialize the RTC. I want to do more with rust on hardware so it would be beneficial to understand how to create my own abstraction layers. I've read the reference sections on clocks, generic clock controllers, power management, the rtc, and synchronized reads. I'll go back and read the rest of the book.
As far as I can tell there are only abstraction layers built for digital input pins, clock controllers, spi, i2c, and countdown timers. Maybe usb uart based on reading some of the example code. That leaves most peripherals without abstractions. Is there advice you could add to the docs that would help people write abstraction layers or interact with low level hardware?

When I'm adding something to the HAL, I usually read the datasheet, an existing C library for the peripheral, and existing sections of the PAC and HAL. Other than that advice it's all pretty specific to what you're working on.

Can you recommend a particular c library to reference? Can you link to any
commits or pull requests where you implement a HAL for a peripheral?
On Mon, Mar 18, 2019, 9:33 AM Paul<EMAIL_ADDRESS>wrote:

When I'm adding something to the HAL, I usually read the datasheet, an
existing C library for the peripheral, and existing sections of the PAC and
HAL. Other than that advice it's all pretty specific to what you're working
on.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/atsamd-rs/atsamd/issues/44#issuecomment-473993077,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAnrM-WPHapZGQd089tCsDxZmOEr4HMdks5vX7_GgaJpZM4b48Vr
.

I found this arduino RTC library for SAMD21: https://github.com/arduino-libraries/RTCZero/blob/master/src/RTCZero.cpp
Pretty much everything under hal/src of this repo would work in terms of looking at a hal for a peripheral.

This may or may not be helpful https://www.youtube.com/watch?v=_M0AYdWKnzw A video where someone is setting up an RTC on another microcontroller.

Thanks, I'll work on this this weekend

I haven't forgotten about this.
I added a line for the RTC here
and the RTC works if I call
clocks.rtc(

I'll happily review a pull request.

I think this is closed by #284?

Maybe, but there are still other RTC modes I think.

#291 adds a driver for RTC in 32 bit timer mode, but only for thumbv6 targets

@twitchyliquid64 @TDHolmes Can you guys even out the target support for rtc modes so I can close this issue? Are there any other modes we should worry about?

Yeah I only implemented clock/calendar on M4. Fwict @TDHolmes implemented counter mode on M0? Is counter mode all that needs to be ported across to M4?

Yeah. Do you know if there are other modes as well?

The d/e 5x has 16-bit counter, 32-bit counter, and clock/calendar modes. Cannot speak to the d21, but from memory its got similar features but different IP.
I can implement the counter modes on M4 if thats all thats needed on thumbv7em. I don't have d21 hardware readily available (well, theres an itsybitsy_m0 in a box somewhere in my apartment), so would prefer if any work on that front is picked up by someone else.

Sounds good.

I've implemented a unified RTC driver in #346. let me know what you guys think! @twitchyliquid64 @sajattack