Error: Passing props inside type="" doesn't work

I'm creating a generic TextInput using 'react-native-masked-text', but I cannot pass props inside type="", how is it works?
<TextInputMask           {...props}           type={this.props.type} // HERE           ...   />

{...props} -> {...this.props}?

I don't understand your question, but my code is here:
GenericTextInput
<TextInputMask           {...this.props}           type={this.props.type}           style={styles.input}           autoCapitalize="none"           autoCompleteType="off"           autoCorrect={false}         />
When I use GenericTextInput
<Input                   type={'cel-phone'}                   options={{                     maskType: 'BRL',                     withDDD: true,                     dddMask: '(99) '                   }}                   value={values.mobilePhone}                   onChangeText={handleChange('mobilePhone')}                   blur={() => setFieldTouched('mobilePhone')}                   label="Celular"                 />
but doesn't works :/. Could you help me?

You are using in the first part:
{...props}

And in the second part
{...this.props}

Probably one of them is wrong. Did you debugged this part to check what have inside the ...props and what have inside the this.props?
I think you should add this. to ...props (...this.props) or remove the this in this.props.type.

You are using in the first part:
{...props}

And in the second part
{...this.props}

Probably one of them is wrong. Did you debugged this part to check what have inside the ...props and what have inside the this.props?
I think you should add this. to ...props (...this.props) or remove the this in this.props.type.

I solved it, but when I have input without mask, doesn't works because type="" is required. How can I change type="" as optional props?

Just render a normal text input instead the masked text input.
For now this how the community is handling this behaviour.

Just render a normal text input instead the masked text input.
For now this how the community is handling this behaviour.

Thanks man! It works :)


Acrolinx quality improvements: rcp.md

Learn Build status updates of commit d2550eb:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

WindowsServerDocs/administration/windows-commands/rcp.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@robinharwood, @Xelu86
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Status should change

I sent Anant a gift. He accepted it. I got a notification for it as well. The status in sent section of that particular gift should change to "Accepted"

Verified this issue on staging app v2.0.5(382)


[Fix] View not attached

Codecov Report

:exclamation: No coverage uploaded for pull request base (hotfix/4.2.1@a6095a8). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             hotfix/4.2.1   #1335   +/-   ##
==============================================
  Coverage                ?   2.48%
  Complexity              ?     124
==============================================
  Files                   ?     383
  Lines                   ?   15520
  Branches                ?    1337
==============================================
  Hits                    ?     386
  Misses                  ?   15109
  Partials                ?      25

Impacted Files
Coverage Δ
Complexity Δ

...s/review_and_confirm/ReviewAndConfirmActivity.java
0% <0%> (ø)
0 <0> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a6095a8...1c05c43. Read the comment docs.


BUG: Broken after PR #223: The "path" argument must be of type string. Received type object

Describe the bug
When running slsart deploy , I get the following error:
Expected behavior
It should deploy the function to AWS.
Actual behavior
Errors due to returning a Promise object instead of a string.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS: macOS
Serverless Artillery v0.4.3
Serverless versions:
Framework Core: 1.57.0
Plugin: 3.2.3
SDK: 2.2.1
Components Core: 1.1.2
Components CLI: 1.4.0

Additional context
I believe this was broken by this PR: https://github.com/Nordstrom/serverless-artillery/pulls?q=is%3Apr+is%3Aclosed
It works if I simply return cwd here: https://github.com/Nordstrom/serverless-artillery/blame/c27e54406c084da1f3edce83914b55eb690801de/lib/index.js#L457

cc @gwsii

Well spotted. Fix being verified now.

In fact, let's let you close this if it works.

Going to give it a try now, thanks for the really quick fix!

@gwsii  that fixes it if you are deploying from an existing configuration, but if you just do slsart deploy without having done slsart configure first (so, without any serverless.yml present), the path looks like it is Promise { <pending> }, so it still fails for the same error.

Just published v0.4.5 should have both scenarios working now.
@bernardobridge Thanks so much for your help!

Thanks @gwsii . I think it is fixed!


Provisioning specs: workload delete

The current specification for provisioning doesn't define how BCDB notify a node that a workloads needs to be deleted.
All I could find is there is a state for when the reservation has been deleted. But I didn't find how the node learn that a deployed workload needs to be deleted before expiration.

I think I found the answer in other issue: https://github.com/threefoldtech/zosv2/issues/234#issue-488671579
So from this comment It seems this is indeed just a flag on the reservation schema.


Adds port/SSL config options for RainMachine

Description:
Adds the ability to specify two more configuration options when querying a RainMachine locally:

port: the TCP port used by the device for its REST API (default: 8080)
ssl: whether HTTPS should be used on all requests (default: true)

Pull request in home-assistant.github.io with documentation (if applicable): https://github.com/home-assistant/home-assistant.github.io/pull/3180
Example entry for configuration.yaml (if applicable):
switch:
  platform: rainmachine
  ip_address: <IP_ADDRESS>
  password: my_password
  port: 8080
  ssl: true

Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.

Appreciate your help, @MartinHjelmare!


Provide option to use current date when generating docs

The date at the top of each page currently corresponds to the last modification date of the Markdown file.  I think for hosted pages (e.g. gh-pages), this might be confusing for users if each page has a different date.  Would be good to provide an option to generate docs with current date.

@jyeakel do you have any objections if we add a parameter to command line tool to force a different strategy for calculating "last update date"?
Do you think it still makes sense for internal docs to have individual pages update date?

Honestly, it's hard to make sense of dates in Two Sigma so I don't expect they mean much to users today. I think because of the ways most users deploy (monorepo push, jenkins pipeline), most of the internal documentation all has the same date for each of its pages. The only ones I see that have different dates for different pages are ones that I know for a fact are where users manually run znai --upload from their terminal.
A parameter is definitely fine, but I also think just making all pages have the same date is okay as well.

If it doesn't add value currently I will change the default behavior then. Thanks.


Crash with STATUS_STACK_BUFFER_OVERRUN on nil pointer dereference (windows)

What version of Go are you using (go version)?

$ go version
go version go1.11.5 windows/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\d34d10cc\AppData\Local\go-build
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=D:\development\gopath
set GOPROXY=
set GORACE=
set GOROOT=D:\development\go
set GOTMPDIR=
set GOTOOLDIR=D:\development\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\d34d10cc\AppData\Local\Temp\go-build060979054=/tmp/go-build -gno-record-gcc-switches

What did you do?
I ran this program:
package main

import "log"
import "os"

func main() {
        type Point struct {
                x int
                y int
        }

        var p *Point = nil

        l := log.New(os.Stderr, "", 0)
        l.Println("log msg")

        log.Printf("%v", p.x)
}

with go run main.go command

What did you expect to see?
Panic message
What did you see instead?
$ go run ./main.go
log msg
exit status<PHONE_NUMBER>

Disabling CFG (control flow graph) in windows defender settings "resolves" this problem. Not sure where the bug is - in windows defender or in go, or if "bug" even exist. Feel free to close this issue.

Thanks for following up.  Closing.


I think FDCAN is missing?

Sorry, not trying to be annoying.
https://github.com/stm32-rs/stm32g4xx-hal/blob/16d6ae2a4b7d38805fbe614d6494ddd2a83429c8/src/fdcan.rs
just not sure if that is supposed to be ported over to this repo?

Yep! There are many things missing. The device family HALs are mostly separate projects run by mostly separate people. If you're looking to add FDCAN support, copying the most complete version from the most similar device can be a good place to start.
The stm32-rs/stm32-rs  data files can help to find which devices have similar peripherals, or the peripheral map from embassy-rs though it looks like they haven't implemented FDCAN yet. And in this case the STM32G4's FDCAN registers are probably very similar.
Even if the G4's FDCAN peripheral is identical to the G0 peripheral there are usually different bugs in ST's SVD files, which are used to generate the register access HAL, which will need to be fixed.

Appreciate the insight.
Not to add more fire to the flame but it seems that… the fdcan driver itself is in the process of being copied/moved out of the stm32gfxxx repos and moved into its own at https://github.com/stm32-rs/fdcan… maybe? I’m not sure
Then that was was supposed to implement embedded-can traits for embedded-hal, but that’s commented out (just putting that here for anybody else that tries to go down this rabbit hole)
I’m sure the community will catch up/clean up support for these chips soon enough, thank you for everything this team does for the community!

Didn't intend to sound testy, just wanted to add some info for if you needed to get FDCAN working.


Microservice dev: LLM & vector DB for video RAG

Description
vector DB microservice (FastAPI wrapped)
LLM inference microservice (Ray serve + LLama2)
streamlit pipeline updated to fetch results from restful api instead of from langchain lib
Issues
Type of change
List the type of change like below. Please delete options that are not relevant.

[ ] New feature (non-breaking change which adds new functionality)

Dependencies
see requirements.txt
Tests

At high level, changes look fine. Can be merged. @ttrigui

@shawnxhong can you please update the code from VideoRAGQnA folder?

@shawnxhong can you please update the code from VideoRAGQnA folder?

will make new PR.


🐛 toast loading for multiple records, multi-pks, and uuid pks

#365  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @RTLS and the rest of your teammates on  Graphite


Correct .editorconfig and corresponding files

Fixes #281
By submitting this pull request I confirm I've read and complied with the below declarations.

[x] I have read the Contribution guidelines and I am confident that my PR reflects them.
[ ] I have followed the coding guidelines for this project.
[ ] My code follows the skeleton code structure.
[x] This pull request has a descriptive title. For example, Added {Algorithm/DS name} [{Language}], not Update README.md or Added new code.
[x] This pull request will be closed if I fail to update it even once in a continuous time span of 7 days.

@singhpratyush I can't get what the issue could be. Maybe this is something about the indentation of comments.
coin_change_problem/CoinChange.java failed indent_char: found setting '  ', should be '    '

This fixes the problem -
/*
* Implementation of famous dynamic programming problem
* that aims to find out the maximum number of ways in
* which a value can be achieved using some fixed valued
* coins.
*
* In the implementation, the time complexity is O(mn)
* and extra space required is O(n).
*/
import java.util.Arrays;
/*
* coin: Array containing value of coins
* n: Value to find the change for
*/
public class CoinChange {
    public static int coinChangeProblem(int[] C, int n) {
        int[] possibilities = new int[n+1];
        Arrays.fill(possibilities, 0);
        possibilities[0] = 1;
        ...
    }

    ...
}

Notice that spaces are removed from the comments -
/*       /*
 *   ->  *
 */      */

And for the python code, it was
    print(str(base) + ' raised to ' + str(power) + ' is ' +
            str(exponentation_by_squaring(base, power)))

instead of
    print(str(base) + ' raised to ' + str(power) + ' is ' +
          str(exponentation_by_squaring(base, power)))

The changes suggested are against PEP8.

@singhpratyush We can exclude python check from editorconfig-tools as coala will take care of that. (only valid if this is possible)
To fix Java as well, we will have to switch to another tool like eclint.
See https://github.com/jedmao/eclint#support-for-doc-comments

Closing in favour of #331


Split up CDC

Heya!  I put cdc into its own subdirectory and split it into logical pars - this will make it easier for multiple people to work on it at once.
This is a pure refactoring, no behavior changed.

Codecov Report
Patch coverage: 90.50% and project coverage change: +0.15% :tada:

Comparison is base (23615bf) 78.62% compared to head (6139079) 78.78%.

:exclamation: Current head 6139079 differs from pull request most recent head 3f6d857. Consider uploading reports for the commit 3f6d857 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #905      +/-   ##
==========================================
+ Coverage   78.62%   78.78%   +0.15%
==========================================
  Files          90       93       +3
  Lines        5783     5802      +19
==========================================
+ Hits         4547     4571      +24
+ Misses       1236     1231       -5

Files Changed
Coverage Δ

superduperdb/db/mongodb/cdc/task_queue.py
100.00% <ø> (ø)

superduperdb/db/mongodb/cdc/base.py
80.00% <80.00%> (ø)

superduperdb/db/mongodb/cdc/db_listener.py
83.76% <84.21%> (ø)

superduperdb/db/mongodb/cdc/vector_task_factory.py
96.00% <96.00%> (ø)

superduperdb/db/mongodb/cdc/handler.py
97.64% <97.64%> (ø)

superduperdb/container/document.py
93.33% <100.00%> (+2.32%)
:arrow_up:

superduperdb/db/base/cdc.py
89.65% <100.00%> (+0.36%)
:arrow_up:

... and 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Qutestion about Error console when Verify/Build/Upload

Hi me again,
when I'm trying to Verify/Build/Upload I only get the notification in the upper right coner, not the console on the bottom witch contains the error messages.
Both if I'm start it via drop down menu or the command pallete.
Does I have to activate it anywhere?

As long as there is no error during verify/build/upload the error console shouldn't open, as soon as there is an error the console will open itself automatically.
You can try this by placing an obvious syntax error somewhere.

my code is (sad enough) full of errors :/
I only get the Notification Build failed.

Is the code too long to post? 'cause I'm smelling a bug in this atom plugin

Not to long but to bad for public.
I also don’t get a console with the default examples.
Here I remove the Semicolon in Line 27:
/*
  Blink
  Turns on an LED on for one second, then off for one second, repeatedly.

  Most Arduinos have an on-board LED you can control. On the UNO, MEGA and ZERO
  it is attached to digital pin 13, on MKR1000 on pin 6. LED_BUILTIN is set to
  the correct LED pin independent of which board is used.
  If you want to know what pin the on-board LED is connected to on your Arduino model, check
  the Technical Specs of your board  at https://www.arduino.cc/en/Main/Products

  This example code is in the public domain.

  modified 8 May 2014
  by Scott Fitzgerald

  modified 2 Sep 2016
  by Arturo Guadalupi

  modified 8 Sep 2016
  by Colby Newman
*/

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT)
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}

looking at the code atm i can see why uploading may not display the error console, but that is definitally also the case with verify? Because for me it shows up on that one....which Arduino IDE are you using?
If that also happens with verifying, please compile in the IDE with verbose mode during compilation on and paste the output here ^.^

I'm not relay have tried to upload with this package, because for now i have it to copy it in the ArduinoIDE for debugging anyway, so for me only when I'm Verify/Build.
I just tried it now, same on Upload.
My IDE-Version is: 1.8.1 (Downloaded from arduino.cc yesterday)
Output when Verifying with IDE Preferences:
Show verbose output during:
- compilation: TRUE
- upload: FALSE
Compiler warnings: NONE
Arduino: 1.8.1 (Linux), Board: "Arduino/Genuino Uno"

/home/johannes/Downloads/arduino-1.8.1/arduino-builder -dump-prefs -logger=machine -hardware /home/johannes/Downloads/arduino-1.8.1/hardware -tools /home/johannes/Downloads/arduino-1.8.1/tools-builder -tools /home/johannes/Downloads/arduino-1.8.1/hardware/tools/avr -built-in-libraries /home/johannes/Downloads/arduino-1.8.1/libraries -libraries /home/johannes/Arduino/libraries -fqbn=arduino:avr:uno -ide-version=10801 -build-path /tmp/arduino_build_236865 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/home/johannes/Downloads/arduino-1.8.1/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/home/johannes/Downloads/arduino-1.8.1/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/home/johannes/Downloads/arduino-1.8.1/hardware/tools/avr -verbose /home/johannes/Arduino/exaplefalsch/exaplefalsch.ino
/home/johannes/Downloads/arduino-1.8.1/arduino-builder -compile -logger=machine -hardware /home/johannes/Downloads/arduino-1.8.1/hardware -tools /home/johannes/Downloads/arduino-1.8.1/tools-builder -tools /home/johannes/Downloads/arduino-1.8.1/hardware/tools/avr -built-in-libraries /home/johannes/Downloads/arduino-1.8.1/libraries -libraries /home/johannes/Arduino/libraries -fqbn=arduino:avr:uno -ide-version=10801 -build-path /tmp/arduino_build_236865 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/home/johannes/Downloads/arduino-1.8.1/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/home/johannes/Downloads/arduino-1.8.1/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/home/johannes/Downloads/arduino-1.8.1/hardware/tools/avr -verbose /home/johannes/Arduino/exaplefalsch/exaplefalsch.ino
Using board 'uno' from platform in folder: /home/johannes/Downloads/arduino-1.8.1/hardware/arduino/avr
Using core 'arduino' from platform in folder: /home/johannes/Downloads/arduino-1.8.1/hardware/arduino/avr
Detecting libraries used...
"/home/johannes/Downloads/arduino-1.8.1/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-I/home/johannes/Downloads/arduino-1.8.1/hardware/arduino/avr/cores/arduino" "-I/home/johannes/Downloads/arduino-1.8.1/hardware/arduino/avr/variants/standard" "/tmp/arduino_build_236865/sketch/exaplefalsch.ino.cpp" -o "/dev/null"
Generating function prototypes...
"/home/johannes/Downloads/arduino-1.8.1/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-I/home/johannes/Downloads/arduino-1.8.1/hardware/arduino/avr/cores/arduino" "-I/home/johannes/Downloads/arduino-1.8.1/hardware/arduino/avr/variants/standard" "/tmp/arduino_build_236865/sketch/exaplefalsch.ino.cpp" -o "/tmp/arduino_build_236865/preproc/ctags_target_for_gcc_minus_e.cpp"
"/home/johannes/Downloads/arduino-1.8.1/tools-builder/ctags/5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/tmp/arduino_build_236865/preproc/ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"/home/johannes/Downloads/arduino-1.8.1/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-I/home/johannes/Downloads/arduino-1.8.1/hardware/arduino/avr/cores/arduino" "-I/home/johannes/Downloads/arduino-1.8.1/hardware/arduino/avr/variants/standard" "/tmp/arduino_build_236865/sketch/exaplefalsch.ino.cpp" -o "/tmp/arduino_build_236865/sketch/exaplefalsch.ino.cpp.o"
/home/johannes/Arduino/exaplefalsch/exaplefalsch.ino: In function 'void setup()':
exaplefalsch:28: error: expected ';' before '}' token
 }
 ^
exit status 1
expected ';' before '}' token

Ok, ummmm....would you mind giving me the output of something like
arduino /tmp/test/test.ino --verify

Where arduino is the full path to your arduino executable and /tmp/test/test.ino is the full path to the ino file

Output is:
Picked up JAVA_TOOL_OPTIONS:
Loading configuration...
Initializing packages...
Preparing boards...
Verifying...
/home/johannes/Arduino/exaplefalsch/exaplefalsch.ino: In function 'void setup()':
exaplefalsch:28: error: expected ';' before '}' token
 }
 ^
exit status 1

OK, this is very weird.......
um, mind changing the source of the plugin in the following way:
The file ~/.atom/packages/arduino-upload/lib/arduino-upload.coffee
There around line 114 you should see
			stdoutput.stderr.on 'data', (data) ->
				if data.toString().strip() == "exit status 1"
					dispError = false
				if dispError
					output.addLine data.toString(), workpath
				if data.toString().strip() == "Verifying..."
					dispError = true

Please insert a `console.log´ statement to make it look like this:
			stdoutput.stderr.on 'data', (data) ->
				console.log data.toString()
				if data.toString().strip() == "exit status 1"
					dispError = false
				if dispError
					output.addLine data.toString(), workpath
				if data.toString().strip() == "Verifying..."
					dispError = true

Now restart atom, hit ctrl+shift+i to open the debug console and verify again, giving me the output.

OK I also Installed this package and may I should have tried this earlier but when I'm disable it I get the console.
Give me 5 minutes and I'm change the file as you mentioned.

That is weird, I use that package, too, and stuff is working for me o.o

I re-enable it and get the the console now.
edited the file now, output is:
arduino-upload.coffee [sm]:115 Picked up JAVA_TOOL_OPTIONS:

arduino-upload.coffee [sm]:115 Loading configuration...

arduino-upload.coffee [sm]:115 Initializing packages...

arduino-upload.coffee [sm]:115 Preparing boards...

arduino-upload.coffee [sm]:115 Verifying...

arduino-upload.coffee [sm]:115 /home/johannes/workspace/example/example.ino: In function 'void setup()':

arduino-upload.coffee [sm]:115 example:28: error: expected ';' before '}' token
 }
 ^

arduino-upload.coffee [sm]:115 exit status 1

still get the console.

dangit, this is very weird......mind reverting that change, and in output-view.coffee in the same folder change this: (around line 42)
		finish: ->
			if @message.trim() == ''
				@message = ''
				@hide()
				return

to this
		finish: ->
			console.log @message
			if @message.trim() == ''
				@message = ''
				@hide()
				return

And restart atom and post the output again?

I don't get a console when Uploading, as you assumed earlier. Output in debugging console when upload a Sketch with syntax error is:
Object {comName: "/dev/ttyACM1", manufacturer: "Arduino_Srl", serialNumber: "Arduino_Srl_Arduino_Uno_9553034323535180C152", pnpId: "usb-Arduino_Srl_Arduino_Uno_9553034323535180C152-if00", vendorId: "0x2a03"…}
after the change when Verifying:
/home/johannes/workspace/example/example.ino: In function 'void setup()':
example:28: error: expected ';' before '}' token
 }
 ^

still get the console

oh, wait, you do get the console now?
I thought you were running these tests on when you didn't get the console?

No after disable and re-enable of the language-arduino package I get the console. As I mentioned before 20 Minutes. I thought I'm helping you finding a Bug.

I'm so sorry i did't catch that line and i htought the console still didn't appear for you D:
If you want to help some more you could try to get it again where the console doesn't appear, or, if not, just close this issue.
Again, I am so sorry, i thought the console still didn't open for you D:

I already try to reproduce the bug, but I'm not able so far. I've done 2 things before the console appears:

run this Shell command:
Downloads/arduino-1.8.1/arduino Arduino/exaplefalsch/exaplefalsch.ino --verify
Disabled the language-arduino package

Absolutely no problem.

The Arduino Community is in my opportunity the Idea of working freely  together over the Internet.
If you have any Idea how I can reproduce this Bug I'm happy to try it.

So the console still shows up with the language-arduino package enabled? If so, please just close this issue, perhaps somebody else will stumble upon it and i'll be able to fix it then, heehee
Other than that, thank you for taking your time trying to help ^.^


Lets update the documentation for navbar search.

How about a fix for #1669 . Just because it works in master doesn't mean the docs shouldn't be updated. It in fact does not work as intended in master, which was the whole point of that issue in the first place.
Signed-off-by: Daniel Rix<EMAIL_ADDRESS>

You are using the wrong icon files

Please elaborate.
It is clearly broken as pointed out in #1669, and this is the appropriate fix for it, again as stated in #1669

You are pulling in the use of the old icons. The google material icons should be used instead: http://materializecss.com/icons.html

So then why is it broken on the main site, which is using that icon family?


JS Environment improvements

Date and Error builtin added
Minor improvements to existing builtins
Added JSC specific builtins to JSCProfile

Hi @saelo was there something required of me on this PR? I can get rid of the -0 addition to the interesting numbers set and we can revisit it at a later stage if that helps.

I've run this in debug mode and fixed a runtime crash due to the missing Date constructor. Interestingly, this runtime failure wasn't caught by a debug assertion in the code. I feel that the ObjectGroup struct should have a separate member to represent the constructor for an ObjectGroup. In this way we can detect if a builtin is missing a constructor definition in the same way we do for group name, properties and methods. Or perhaps there's an easier way to do that that I've not considered?
I've addressed your other review comments and also added some JSC specific builtins to JSCProfile. If you feel that the JSC Profile updates are unrelated to this PR then I shall separate that out into its own PR.

Cool, thanks! Nice idea with the additional assertion also!


Unable to build docs

When I try to build the docs (latest master, version 85bfae53900d0b5415a8375d881875765aa49cdf) with cargo doc (Rust 1.30.1 on x86_64-unknown-linux-gnu), I get an internal compiler error. Is anyone else experiencing this, or is it just me? I don't see any other issues about this.
 Documenting nalgebra v0.16.10 (...)
error: internal compiler error: librustc/traits/select.rs:2539: Where clause `Binder(<base::default_allocator::DefaultAllocator as base::allocator::Allocator<_, _>>)` was applicable to `Obligation(predicate=Binder(TraitPredicate(<base::default_allocator::DefaultAllocator as base::allocator::Allocator<_, _, _>>)),depth=3)` but now is not

thread '<unnamed>' panicked at 'Box<Any>', librustc_errors/lib.rs:587:9
note: Run with `RUST_BACKTRACE=1` for a backtrace.

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.30.1 (1433507eb 2018-11-07) running on x86_64-unknown-linux-gnu

error: Could not document `nalgebra`.

Caused by:
  process didn't exit successfully: `rustdoc --crate-name nalgebra src/lib.rs ...` (exit code: 1)

The fix was merged into rust already but is only available for nightly build. You can build nalgebra docs on nightly.
See https://github.com/rust-lang/rust/issues/55690

Okay, thanks. I tried stable, beta, and the nightly I had already; I should have tried updating nightly. I can confirm it works with the latest nightly.


[10.x] Cleaned up excludeAttributes removal

Removed shouldBeExcluded check from rules iteration.
Replaced second $this->rules iteration with $this->excludeAttributes iteration.

No tests or sufficient explanation of what this is fixing.


countup: add props -> tag

may be (span,small,strong...)
Please makes sure the items are checked before submitting your PR, thank you!

[x] Rebase before creating a PR to keep commit history clear.
[x] Only One commit
[x] No eslint errors

cool.


New command: Get-DbaLinkedServerLogin

Type of Change

[ ] Bug fix (non-breaking change, fixes #)
[x] New feature (non-breaking change, adds functionality, fixes #7964 )
[ ] Breaking change (effects multiple commands or functionality, fixes # )
[x] Ran manual Pester test and has passed (.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[x] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[x] Unit test is included
[x] Documentation
[ ] Build system

Purpose

New command for obtaining linked server logins.
Approach

Basic approach that allows for instance, linked server, login name, and login exclusion list to be passed in.
Commands to test

See the examples and the pester tests.

Awesome command, thank you! Will be available in the next release


Assert that config files contain valid key/value pairs at runtime

We need a way to assert that all configs in a file are valid, to prevent config keys with typos or remove functionality from going ignored.
For example, this key no longer seems to be used in the codebase, but it's in all the example configs and constants files:
https://github.com/twitter/heron/blob/master/heron/common/src/python/constants.py#L172
INSTANCE_SLAVE_FETCH_PPLAN_INTERVAL_SEC = "heron.instance.slave.fetch.pplan.interval.sec"
#1712 also is about a config key that is not used in the code.
In SystemConfig.Builder.putAll(String fileName, boolean mustExist) we could validate that keys in the config exist in the enum (we could do the same in Config.Builder), but that approach doesn't work because some config keys are used by python or C++ processes which are not in the java Key enums.

PR #1920 removes the config mentioned above.


Carousel dev

Merge Carousel-related updates into master.

👷 Deploy Preview for bongosian-press processing.

Name
Link

🔨 Latest commit
07936c20ce92356635c9efb285e95ef7645011f9

🔍 Latest deploy log
https://app.netlify.com/sites/bongosian-press/deploys/65b15cdb1a0fa8000841a4f0


Aconcagua (Japan) (Disc 1 & 2)

tonyhax version: v1.2.2b (think it was the build posted with the Parasite Eve fix)
Game name: Aconcagua (Japan) (Disc 1 & 2)
Game code: SCPS-10131 / SCPS-10132
Console model: SCPH-101 NTSC U/C, BIOS v4.5 05/25/00 A
Executable hash:
Disc 1
SCPS_101.31 SHA-1: 0AA2AF9D40270955DF9BBFBC003402DF7B940956
PROGRAM.BIN SHA-1: FD51721B8433F33A15135EBE2342713DA53DBA52
Disc 2
SCPS_101.32 SHA-1: 0AA2AF9D40270955DF9BBFBC003402DF7B940956
PROGRAM.BIN SHA-1: FD51721B8433F33A15135EBE2342713DA53DBA52
After some digging there's a PS-X EXE header for PROGRAM.BIN and that's where the antipiracy message is.
Triggered at: Immediately
I don't have a copy of disc 2 ready to go at the moment, but disc 1 triggers it pretty much immediately after the game starts loading.

Thanks for taking the time to properly fill the form! Will have a look and report back.

This was another though one: https://github.com/socram8888/tonyhax/blob/master/patcher.c#L27
Please try with this beta version: tonyhax-v1.2.3b.zip (compiled from 485246775a7b38bbf5be23a4dce604c9bf9df7fa)

I'll take that thumbs as "working".

I'll take that thumbs as "working".

Oh sorry my bad, I have this habit of marking things like that to let them know I saw it. I tested it and it loads the patch but it still triggers the protection.

So it says on the screen that it is "Patching" it?

Indeed, it finds the checksum in the list of patches, patches it, executes the game and then still immediately goes to the antipiracy message.

I found out why - the game executes the antipiracy check multiple times in multiple executables. Ugh.

Still, wait - do you mean you can't even get to the title screen? That shouldn't be possible.

Yeah it immediately triggers it, as soon as the game executes it shows the antipiracy screen.

So based on a previous report I decided to look on google to see if there were any gameshark codes, and found one that claims to let it work on modchip consoles:
D0027756 1040 80027756 1000
Not sure if it'll help, but thought I'd post it as well.

Okay, I've found a way to tweak no$psx to emulate having a modchip:

Still, when launching via tonyhax it works just fine:

Okay so I'm noticing the boot process doesn't have the
Load: 80010008
Load: 00014000
part after Loading executable for me.

It also goes to an English message when it triggers the protection, is that due to my console's region?

Yeah the "Load message" was from a test I had made, where I was getting inconsistent CRCs due to some no$psx quirks. I tried recompiling again without that message and it still worked fine, though.
The reason I am getting a Japanese error is because my console region is being detected as an unknown and falling back to Japanese, as I am using the no$psx BIOS which has a space where the American one has a "U".
I will try using an actual console and see how it goes for me.

I've still haven't had time to get around testing on real hardware, but could you please try with this beta version?
tonyhax-v1.3b.zip (compiled from 1e587653ae044c477a6d76a5d73c0c896dc05554)
I think the reason it failed to work but did on software was a cache coherence issue. This might fix it.

Gotta dig a PS2 out to copy over the new version, but I'll update when I'm able to test. Thank you for continuing to look into the problem.

Still not working and there's a new issue with that build. When it attempts to execute tonyhax, it makes my video output stop working for a bit (never happened on older versions), but the program is still running. And I decided to just put the disc in and it booted (video came back after this) but still triggers the protection. Perhaps there was an issue and it attempted to switch to PAL video instead of NTSC?

Is your console chipped? I tried yesterday this very game on my SCPH-102 and it booted just fine.
Does the protection trigger immediately or upon loading a particular savefile or something like that? This game seems to have the antipiracy in multiple places and I am only patching the very first one, for testing basically.
The issue with the video is known and I've already fixed it in current master.

Since this is working fine on my emulator and my console and I am not hearing back, I'm closing this one.


try/catch for inconsistent data

An attempt to fail less dramatically when inconsistent data occurs in the database (when the change recommendation refers a line that does not exist in the motion, e.g. if the motion has beed shortened afterwards)
(I opened a new PR, as a strange commit somehow sneaked into my last one at #3451)

@CatoTH Why do you created two pull requests? #3456 and #3457 Please close one that I can test the other.

The other one is deleted. I got some strange error messages from Github when I created the former one, so I created the second one.


Violation - Commit (Committer) is not done by a member of the delivery team (out of scope for Github.com)

We need to find out the differences (commits) between the current release of an application and the previous version.

@anjahoffmann We would not like to prevent commit from people who are in other teams.


Fixing submodules commit ID which got messed up in merge

Description
During the release process, the submodules for utilities and visualizations got messed up and pointed to the wrong commit. This updates the commit ID to match the 23.07 commits for their respective repos.
Will need to be included in a 23.07 hotfix
Fixes #1084

/merge


Issue/2861 resources error inventory (#3070)

Pull request opened by the merge tool on behalf of #3070

Merged in 16477c75bcbbb10cbd5ac61d94a0141eebdc7aa4


Add support for passing additional message metadata

Originally: https://bitbucket.org/gdamore/mangos/issue/12
We'd like to have the ability to pass additional metadata. Specifically, a transport could provide details about the pipe that the message was received on. Imagine that with TLS we could provide the information from the certificate. Or the peer address. Or with IPC knowing the credentials correspond to a root socket -- which would give a good validation that a system service wasn't being spoofed -- would be incredibly useful.

Arguably, the approach proposed in #75  would fix this.

This was really addressed in #75 and #122.


Upgrade knative serving vendor

knative serving 0.6.0 has released, but kfserving now cannot work with knative serving 0.6.0

Why it can not work with knative 0.6 ? We are still using the v1alpha1 I do not think there are breaking changes. I'd prefer waiting for 0.7 release which is for official v1beta1 serving API and then we update vendor to use beta API.

ok, make sense.
/close


[WIP] Make claim validation of with_validation optional, depending on the claim existence

Idea is to make with_validation accept additional options instead in parallel with custom error message like:
with_validation("d", &(&1 == 1), optional: true)
...
with_validation("d", &(&1 == 1), optional: true, message: "Failed!")

when optional: true we will skip validation if claim is absent from the payload
P.S. This is initial implementation and will be polished soon

Coverage decreased (-3.3%) to 81.429% when pulling 3924dd3e9d70e4b2185e604d4e5bfebf1ef9c793 on ybod:verify-optional into 4e7d34f4020ee1346f4c437e0c555589e1173132 on bryanjos:master.

I really like the idea. We will have this on the 2.0 version.
I should probably open a PR with the WIP of version 2.0 and a TODO list so that other people can contribute to it too.
I'll try to make that as soon as possible. Just wanted to have a good grasp at the API along with @bryanjos before that.
Will leave this open until we have a working 2.0 prototype.

Opened the v2.0 PR. If you can help us there we'll certainly be glad!
Thanks!

I'll open an issue for a per claim options implementation on 2.0.0 and close this PR because it is conflicting. If you can collaborate there it would be awesome.
Sorry for any inconveniences.


Can't create a ShadowMap object using public API

I'm trying to use a light source other than the sun so I figured I could just change the shadowMap of the scene. But to create a new ShadowMap it looks like I need to specify a Context which is not part of the public API.

We weren't planning on exposing multiple shadow maps until Cesium support multiple light sources so this constructor should actually be private and not in the reference doc.
In the meantime, you can, of course, use Context and friends, but the API is may change.

See also #4001


Possible Default Solver Issue

Can you reproduce this on v0.2.2?
.dwrc along these lines,
name|url,token

python3 interpreter,
conn = dwave_micro_client.Connection()
solver = conn.get_solver()
...
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/dwave_micro_client.py", line 320, in get_solver
    self.solvers[data['id']] = Solver(self, data)
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/dwave_micro_client.py", line 646, in __init__
    self.id = data['id']
TypeError: list indices must be integers or slices, not str

Thanks for reporting this. We're working on replacing the legacy .dwrc all together. The new version will handle profiles and authentication in a more user-friendly way.

But, FWIW, I can't reproduce this with dwave-micro-client==0.2.2 and Python 3.5.2 on Linux.

@ccoffrin Looks like the last line of that traceback is missing. Is it maybe TypeError: list indices must be integers or slices, not str? That could mean the response you received from API was ill-formed. Pull request #24 adds some checks for that case.

You are correct, I fixed the note above.  I was able to reproduce on os x, python 3.5.  I believe the root of the issue is that no default solver is specified.

Fixed as of #103 as part of #101.


Pagination's search incorrectly yielding None values

Describe the bug
search() incorrectly yields a value of None when there are no results when it should simply not yield anything.
Steps to reproduce
On an account with no CloudFront distributions:
import boto3
distributions = list(
    boto3.client("cloudfront")
    .get_paginator("list_distributions")
    .paginate()
    .search("DistributionList.Items[]")
)
# distributions ends up being [None]
print(f"Found {len(distributions)} distributions")
# prints "Found 1 distributions"

Expected behavior
The generator should not yield anything, resulting in an empty list.
The above code should print Found 0 distributions

@ericfrederich - Thank you for your post. I am able to reproduce the issue. This will be the problem for service which does not return an empty list if there is no item available.

Got bit by this again.
Running the following code incorrectly returns [None] instead of []
list(boto3.client("cloudfront").get_paginator("list_distributions").paginate().search("DistributionList.Items"))

@swetashre does such a service exist?  For instance this list_distributions doesn't return any Items key at all.
[{'DistributionList': {'IsTruncated': False,
                       'Marker': '',
                       'MaxItems': 100,
                       'Quantity': 0},
  'ResponseMetadata': {'HTTPHeaders': {'content-length': '210',
                                       'content-type': 'text/xml',
                                       'date': 'Thu, 04 Mar 2021 20:30:10 GMT',
                                       'x-amzn-requestid': 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'},
                       'HTTPStatusCode': 200,
                       'RequestId': 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
                       'RetryAttempts': 0}}]


re enable button if there is an error after submit

Description
This PR fixes a bug where when you create or update a user|profile|role|document then the submit button will be disabled to avoid creating multiple documents by flood clicking it.
We forgot to re enable the button in case there is an error.
fix #287

Codecov Report

Merging #303 into 2.x will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              2.x     #303   +/-   ##
=======================================
  Coverage   75.84%   75.84%
=======================================
  Files          39       39
  Lines         770      770
=======================================
  Hits          584      584
  Misses        186      186

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3cd5557...242479a. Read the comment docs.


Gradle updates and misc.

Updated the `com.facebook.react:react-native' requirement in build.gradle to use whatever is in node_modules, rather than pinning to an old version, following the example in the app's build.gradle (generated by RN). AndroidStudio also updated the buildToolsVersion.
Changed the error message generated by the native layers when a BUO is not found, since this always caught in the JS and retried. Also removed some outdated comments.

curious why you updated the build tools version? this just breaks it for people who don't have build-tools 25 installed on their machine. 23.0.1 is required by react-native so everyone would have it installed.
we use continuous integration and delivery and this broke our build requiring us to add installing build tools 25.0.0 to our workflow. seems like an unnecessary change.

@farazs Sorry for the trouble. That setting was automatically updated by Android Studio, which also harasses you continually until you update. If this causes trouble, it's not hard to revert and push out changes.

I've updated our build so it's not a problem for me anymore but others might run into the same issue.

Thanks for the feedback. If there are more complaints, I can shoot out a patch. Usually not having the latest build tools breaks my builds. I'll investigate and see what's wrong there.


Superscript and subscript numbers

Look identical to numerators and denominators, but are slightly higher and lower respectively. The bottom of subscript numbers should be the bottom of parentheses and square brackets; the middle-ish of superscript numbers at the top of parentheses, as shown in this diagram from Wikipedia:

Can be made using <component /> elements from the num and den characters.
Putting this as After 2.0, but might do it in time for 2.0. We’ll see.

A good place for superscripts seems to be about 140 units above numerators.


Animate current Card

Hey,
Less of a issue and more of a question but how did you make the card change colour when swiping between left and right , I went through your code but found no reference of it . Great plugin 👍
SwipedLeftCommand="{Binding SwipeCommand}"
SwipedRightCommand="{Binding SwipeCommand}"

Awesome. I was using the Nuget but looks like I'll have to switch SwipeCardView Class provided in your sample code to access it . Thanks again for the quick reply :)


Use order/group by in quer documents dialog and display errors from backend

I want to use the query documents function to order the data. Simple example, which is working fine on the mongodb shell:
db.getCollection('my-collection').find({}).sort({date: -1}).limit(1)

This gave me the newest entry. But I can't figure out how to write such a query, that it can be used in the query documents dialog. It accepts only json. So I thought, that my querey has to be formatted in some way like this:
{
    "$sort": {
        "date": -1
    }
}

But that's also not working:

Error getting data from Query API

Since those error doesn't help me to figure out what is wrong, I capture the request and see a more detailed message:

{"name":"MongoError","message":"unknown top level operator: $sort","ok":0,"errmsg":"unknown top level operator: $sort","code":2,"codeName":"BadValue"}

Why is this message not displayed? It would be very helpfull for troubleshooting to know, where the problem is. Especially for beginners like me. Without such details, we've to guess and try, which is not very effective.
Additionally, the first question, which is propably not directly related to adminMongo: How can I apply an order filter? Backgrond: I'm a SQL developer, this is my first experience on NoSQL databases. I see that the mongo shell has functions for this like the sort() function. But I don't understand how this fit into a single json document, so that I can use it in adminMongo.

According to  #114 it seems that since a long time only basic queries are supported. Would be nice if we could see progress on this feature-request, which is open since 2016. For me adminMongo is useless without the possibility to filter data, so I'll have to search for alternatives...


mkpr

Applied mkpr on undefined
sed s/"node": ">=14.*"/"node": ">=14.15.0"/

Pull Request Test Coverage Report for Build 3839

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 83.871%

Totals

Change from base Build 3836:
0.0%

Covered Lines:
72

Relevant Lines:
87

💛  - Coveralls


partyman status shows error in port open

On debian 9 stretch netcat6 was replaced by netcat.
$ ./partyman status
missing dependency: netcat6

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package netcat6
partyman version 0.6 - Wed Dec 27 16:40:35 CET 2017
gathering info, please wait...   done!

  hostname                         : servername
  host uptime/load average         : 0 days, 0.00 0.11 0.08
  particld bind ip address         : xx.xx.xx.xx
  particld version                 : <IP_ADDRESS>
  particld up-to-date              : YES
  particld running                 : YES
  particld uptime                  : 1 minute
  particld responding (rpc)        : YES
  particld listening  (ip)         : YES
  particld connecting (peers)      : YES
  particld port open               : /home/particl/partyman/lib/functions.sh: line 1034: [: too many arguments
NO
  particld connection count        : 2
  particld blocks synced           : YES
  last block (local particld)      : 109344
             (explorer.particl.io) : 109344
             (chainz)              : 109344

  particld staking enabled         : YES - 5%
  particld staking currently?      : NO - low_balance
  particld staking difficulty      :<PHONE_NUMBER>733769
  particld staking weight          : 0 /<PHONE_NUMBER>42001
Exiting.

https://github.com/dasource/partyman/blob/master/lib/functions.sh#L1034

Replacing netcat with netcat-openbsd solved it for me.


Force Text Asset Serialization and visible meta files

@jwittner I don't know why this isn't the default settings in Unity.

The addition of this file caused my serialization mode to switch, and broke every serialized reference in the project. Please add a confirmation dialogue before changing project configurations without warning.

@andrewgotow, sorry about that. This was an attempt to control the way people were contributing to the repository.  We were also having issues with broken references because of the mixed serialization, which is why I had originally suggested this change. I apologize for any inconveniences.

No problem, and thank you for the explanation! Would it be possible for me to submit a PR which adds a confirmation dialogue before altering the settings?

Yes, please do that.

The log statements did immediately point me in the right direction, and I appreciate that!
I think my situation was just an isolated incident. I've changed serialization mode mid-project a number of times, and it generally doesn't cause an issue.
The confirmation dialogues wouldn't prevent it from breaking references, but it would allow users to delay the switch until they're ready, hopefully giving teams with bizarre project structures a little time to deal with things first.
I've modified the EnforceEditorSettings.cs script to present a confirmation dialogue when first opening a project, or importing the HoloToolkit, however I can't decide if it is too annoying... Either way, feel free to have a look.
https://github.com/andrewgotow/HoloToolkit-Unity/pull/1


[CPU] Enable fast min/max ops in CPU codegen

This patch introduces a flag to generate arith.minf/maxf instead of arith.minimumf/maximumf ops in the CPU pipeline. We should enable the flag by default in the future as no ML compiler/library is actually caring about NaNs and +/-0.0 values by default.

We can definitely enable it by default but wanted to make sure downstreams are not crashing as this would lead to wrong outputs if the model expects NaNs to be propagated. Actually, we even have some tests failing in CI that would have to fix first. Let's do that on a separate step.


Description

Improve the description.
This project is really:
A GUI for go tests.
An executable that runs a local web server which displays auto-updating test results in a web browser.

A full-fledged go tool gui. :)
Sort of like how kitematic is to docker.


Implementing Google Calender issue..

Hey
Did anyone implement the "Google Calender" yet?
I personally got the calendar title on the screen and the API up running from the "Python Quickstart".
My question is how to get the API from "Python Quickstart" implemented in the exisiting code from HackerShack?
Thank you
Sajuran

https://github.com/big1surg/smart_mirror/blob/master/module_calendar.py
i broke it down into a module and then just called it from the main page. its not the best way to do it but it works
    # calender, added this to the main frame
    self.calender = module_calendar.Calendar(self.bottomFrame)
    self.calender.pack(side = LEFT, anchor=S, padx=50, pady=50)

hi is there any way you could update your module please because the api client is discontinued


Correction for raw affiliation Information Quantique [LIP6]; Laboratory for the Foundations of Computer Science [Edinburgh]

Correction needed for raw affiliation Information Quantique [LIP6]; Laboratory for the Foundations of Computer Science [Edinburgh]
raw_affiliation_name: Information Quantique [LIP6]; Laboratory for the Foundations of Computer Science [Edinburgh]
new_rors: ;05krcen59
previous_rors:
works_examples: W4327810373
contact: f322e55da3e4547d4f3723b8b026f0ff:11df346717bc3a922d57e36ceb @ sorbonne-universite.fr

This issue was accepted and ingested by the OpenAlex team on 2024-11-01. The new affiliations should be visible within the next 7 days.


TypeError when importing ocsmesh

In the first block of code importing the modules I got this error:
`---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[1], line 21
18 import xarray as xr
19 from rasterio.plot import show as rioshow
---> 21 import ocsmesh
22 import pyschism
23 import pyschism.driver
File ~\AppData\Local\anaconda3\envs\simulation\Lib\site-packages\ocsmesh_init_.py:10
6 import platform
9 try:
---> 10     import jigsawpy  # noqa: F401
11 except OSError as e:
12     pkg = util.find_spec("jigsawpy")
File ~\AppData\Local\anaconda3\envs\simulation\Lib\site-packages\jigsawpy_init_.py:58
55 from jigsawpy.def_t import jigsaw_def_t
56 from jigsawpy.prj_t import jigsaw_prj_t
---> 58 from jigsawpy import jigsaw, libsaw
60 from jigsawpy.loadmsh import loadmsh
61 from jigsawpy.savemsh import savemsh
File ~\AppData\Local\anaconda3\envs\simulation\Lib\site-packages\jigsawpy\libsaw.py:65
62 if (JLIBNAME == Path()):
63 #---------------------------- search machine path for binary
64     if   (platform.system() == WIN):
---> 65         JLIBNAME = Path(
66             ctypes.util.find_library("jigsaw.dll"))
68     elif (platform.system() == LNX):
69         JLIBNAME = Path("libjigsaw.so")
File ~\AppData\Local\anaconda3\envs\simulation\Lib\pathlib.py:871, in Path.new(cls, *args, **kwargs)
869 if cls is Path:
870     cls = WindowsPath if os.name == 'nt' else PosixPath
--> 871 self = cls._from_parts(args)
872 if not self._flavour.is_supported:
873     raise NotImplementedError("cannot instantiate %r on your system"
874                               % (cls.name,))
File ~\AppData\Local\anaconda3\envs\simulation\Lib\pathlib.py:509, in PurePath._from_parts(cls, args)
504 @classmethod
505 def _from_parts(cls, args):
506     # We need to call _parse_args on the instance, so as to get the
507     # right flavour.
508     self = object.new(cls)
--> 509     drv, root, parts = self._parse_args(args)
510     self._drv = drv
511     self._root = root
File ~\AppData\Local\anaconda3\envs\simulation\Lib\pathlib.py:493, in PurePath._parse_args(cls, args)
491     parts += a._parts
492 else:
--> 493     a = os.fspath(a)
494     if isinstance(a, str):
495         # Force-cast str subclasses to str (issue #21127)
496         parts.append(str(a))
TypeError: expected str, bytes or os.PathLike object, not NoneType
`
I think it may be something to do with the jigsawpy module but I'm not sure. I'm using the simulation virtual environment that was created for this tutorial, and the files are in the tmp folder that was also created. I was trying to run this in a Jupyter notebook for which the kernel I used was for the simulation virtual environment.
I'm still a bit new to working with virtual environments and the nuances of anaconda so I appreciate the help!

@melissamattwig it looks like it cannot find the jigsaw library. jigsawpy is a python wrapper that relies on jigsaw library to execute meshing commands. You need to install both either from conda repository or from the source code.
Have you successfully executed all the installation steps outlined in the readme? In specific:
python setup.py install_jigsaw

This step requires that you have cmake and gcc installed on the machine. This fetches jigsawpy and jigsaw source code, builds jigsaw library and then installs jigsawpy. It is possible that when you ran this, it failed to build jigsaw library, but just installed jigsawpy.
If for any reason the step above cannot be successfully executed in your environment, you can try installing jigsaw from conda by (also in the readme):
conda install -c conda-forge jigsaw jigsawpy

I tried installing jigsaw both ways. Using the setup.py, it also threw the same TyperError message in anaconda that I get when trying to import ocsmesh in a Jupyter notebook. Is that because there is no gcc compiler? What is the best way to install gcc through conda if possible? I tried using
conda install -c conda-forge gcc

that I got from the anaconda website but I got a message that it wasn't available on that current channel. I do believe I have cmake. I'm doing this all on my NOAA laptop which I just recently got so I'm starting from scratch but not exactly sure what is included in anaconda and what I need to reinstall every time I create a new virtual environment.
The readme installs it through mamba, which I did for my first try and it didn't work. Then I used the above code that you provided and tried installing it through conda to no avail. All in all, I seem to have issues installing jigsaw just in general. It could be the issue is in the previous installation steps. Since I already had anaconda on my computer (and I'm doing this locally and not on an HPC) before starting this tutorial, I started with the step that installs mamba. Do I need to run the first two blocks of code in the readme file before installing mamba if I already have anaconda on my computer?

Thanks for the detailed description. mamba and conda shouldn't really matter in terms of the results. I just used conda in my previous comment because I didn't want to assume you have mamba.
About GCC, since I'm using WSL, I usually install it using apt. I'm not sure what the best way is for conda. I think what you do above works for linux and mac machines, but for windows you need something else. I don't know what/how.
If jigsaw is already installed using conda and it still doesn't work, the problem might just be with how Windows resolves the dll paths. It looks like you're using Anaconda installation on windows, I don't have Anaconda on windows, I'm just using miniconda on WSL on windows, so I'm not sure how to reproduce the issue on my side. Would it be possible for your to use WSL and setup your conda environment on linux?

Do I need to run the first two blocks of code in the readme file before installing mamba if I already have anaconda on my computer?

No the first two blocks just install conda

Just for the sake of completeness:
We investigate this issue further and realized it seems to have something to do with how opening Jupyter using it's GUI in Windows loads the environment vs how this can be done through the command line interface. On Windows, using PowerShell activating the created env (simulation) and then running jupyter lab from that console helped resolve the issue.
Further down we realized pyschism had issue due to dependency on cf. cf-python at this point is not released for Windows on conda and should be installed via pip, which seems to have some dependecy issues when trying to import cf.
Since this latter issue is specific to Windows and is not a main blocker for the meshing section of the tutorial, I close this ticket. Later let's create a separate issue for the cf-python problem.


Powershell environment variables not returned

Steps to reproduce
PS C:\Users\username> $env:TEST='test'

Expected behavior
PS C:\Users\username> $TEST
PS C:\Users\username> test

Actual behavior
PS C:\Users\username> <blank>

Environment data

Name                           Value
----                           -----
PSVersion                      6.2.1
PSEdition                      Core
GitCommitId                    6.2.1
OS                             Microsoft Windows 10.0.17763
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Environment variables are not displayed although they are set:
I have also been having issues with other apps and scripts executed from powershell not working properly due to this
PS C:\Users\username> $env:TEST='test'
PS C:\Users\username> $TEST
PS C:\Users\username> echo "$TEST"
PS C:\Users\username> Get-ChildItem Env:
TEST                           test

The variable names $env:TEST and $TEST are two different variables. The latter is a regular PowerShell variable. The former is a process-scope environment variable. They target completely different things.
$env: is not a variable scope like $script: or $global:; it refers to a PSDrive which targets the Environment variable provider. Similarly, a variable named $c:test.txt would target the file contents of such a file on the C filesystem drive.

@vexx32 what is the best way to set an environment variable and print it out? I've been having issues with PS missing info with different CLI tools and had the feeling it was related to this.

Just the same way you set it! :blush:
$env:MyVar = 'TEST'
$env:MyVar # returns the string TEST

@vexx32 this is working so it's not the root cause for the problem I was having, thanks

@Jonathan-7 You are best using this if on Windows
[Environment]::SetEnvironmentVariable('VariableName', 'VaribaleValue', 'Machine')

As per https://docs.microsoft.com/en-us/dotnet/api/system.environment.setenvironmentvariable?view=netframework-4.8#System_Environment_SetEnvironmentVariable_System_String_System_String_System_EnvironmentVariableTarget_ there isn't the Machine/User value avail on unix versions of dotnet so this will only work in current process it seems

Yep,wife you need to set persistent environment variables definitely do that - but probably go for setting user variable rather than machine ones unless it really needs to be machine-wide :)


vite-plugin-lib-inject-css not working on SSR

We are currently migrating our Vue component library from Rollup to Vite. We gave a try to vite-plugin-lib-inject-css which is working like a charm for the client assets, but it doesn't work for the server assets (build with the --ssr flag). It seems like it adds an import statement for the css file even though it doesn't exist (no CSS is generated on SSR which is expected).
I created a reproduction: https://stackblitz.com/edit/vue3-vite-starter-f7mk9t?file=dist%2Fserver%2FMyButton.mjs

Of course, this breaks our SSR app that complains about the missing CSS files. One way to fix it would have been by using the SSR manifest generate with the --ssrManifest on client build, but it doesn't seem to work properly as the CSS file is sometimes missing. As you can see in my reproduction project, the entry HelloWorld doesn't have anything listed in the manifest:

So maybe vite-plugin-lib-inject-css could generate its own manifest and use it on SSR (e.g. by adding an option ssrManifestOutDir: '/absolute/path/to/dist/client' to retrieve the manifest on server build).
Can I suggest a solution by contributing a pull request? We are blocked by this issue so it's in our best interest to make it happen as soon as possible.
Thanks for the plugin by the way, it's a really nice solution to handle the CSS files 🙌

Of course sure, I'm trapped in my work and have no time to handle this for now, It would be fine if you have interest on it🎉

and I don't have much experience on ssr, i may need some days researching on it👀

vite-plugin-lib-inject-css (1.3.0) is published, you can have a try.

It works as expected. Thank you 🙌


Hosting form city/state should default to event city/state.

Hosting form currently allows a full choice of countries, which is silly since the events can only be in the US. We should fix that. Should be similar to how the event form does it.

@JCattera another one for you :-)


Coordinator show zb_assert at ??:? after some time ... (TZ-651)

Answers checklist.

[X] I have read the documentation ESP Zigbee SDK Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) and ESP Zigbee libs (esp-zboss-lib and esp-zigbee-lib) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5,1
esp-zigbee-lib version.
1.1.1
esp-zboss-lib version.
1.1.1
Espressif SoC revision.
ESPC32C6
What is the expected behavior?
We have a coordinator connected to ~25 ZR (router devices). Every 500ms-1s, a small message is sent to custom cluster, both directions, using esp_zb_zcl_custom_cluster_cmd_req(). Can work fine for hours but sometimes, hit a zb_assert (average of 4 times per day). Can you give us indication on the conditions that what would result in this zb_assert()?
What is the actual behavior?
abort() was called at PC 0x4202b5e7 on core 0
0x4202b5e7: zb_assert at ??:?

MHARTID : 0x00000000
Stack memory:
4084e670: 0x6e6d6c6b 0x6a696867 0x66656463 0x4084e6f8 0x00000001 0x00000000 0x33323130 0x9280f6fa
4084e690: 0x62613938 0x66656463 0x6a696867 0x4084e6d0 0x7271706f 0x76757473 0x7a797877 0x4084e6f8
4084e6b0: 0x00000009 0x00000001 0x4084e6e8 0x9280f6fa 0x00000008 0x4084e6f8 0x4084e740 0x4081eed0
0x4081eed0: ra_to_str at D:/software/espressif/esp-idf/components/newlib/assert.c:24
4084e6d0: 0x00000004 0x4084e6f8 0x4082378c 0x4084e6ec 0x408237a8 0x4084e6e8 0x40840030 0x32303234
4084e6f0: 0x37653562 0x00000000 0x726f6261 0x20292874 0x20736177 0x6c6c6163 0x61206465 0x43502074
4084e710: 0x34783020 0x62323032 0x20376535 0x63206e6f 0x2065726f 0x00000030 0x00000000 0x9280f6fa
4084e730: 0x00000000 0x40829706 0x408296a8 0x4202b5ea 0x00000001 0x00000000 0x4084e778 0x4202ae24
0x4202b5ea: zb_globals_init at ??:?
0x4202ae24: zb_bufpool_storage_free at ??:?
4084e750: 0x00000089 0x00000001 0x408296a8 0x4202a1e6 0x00000001 0x00000000 0x408296b4 0x4203d15c
0x4202a1e6: zb_buf_free_func at ??:?
0x4203d15c: zb_mlme_beacon_notify_indication at ??:?
4084e770: 0x00000000 0x00000000 0x4082cd36 0x40816c34 0x00000000 0x00000001 0x00000001 0x00000000
0x40816c34: vPortExitCritical at D:/software/espressif/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:339
4084e790: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000001 0x42030d28
0x42030d28: zb_sched_loop_iteration at ??:?
4084e7b0: 0x4083547c 0x4203ccac 0x40090012 0x9280f6fa 0x00000000 0x00000000 0x00000000 0x00000000
0x4203ccac: zb_mlme_beacon_notify_indication at ??:?
4084e7d0: 0x00000000 0x00000000 0x4084e880 0x42057562 0x00000000 0x00000084 0x5264c0f3 0x4201e6e2
0x42057562: zboss_main_loop_iteration at ??:?
0x4201e6e2: esp_zb_main_loop_iteration at ??:?
4084e7f0: 0x00000000 0x00000000 0x4084e880 0x420135a0 0x420132f6 0x00000000 0x00000000 0x40832f64
0x420135a0: esp_zb_task_zc at C:/d/software/rfin_pro_git/rfin_pro/main/zb_coord.c:866 (discriminator 1)
0x420132f6: esp_zb_task_zc at C:/d/software/rfin_pro_git/rfin_pro/main/zb_coord.c:768
4084e810: 0x40838080 0x00000000 0x00000000 0x00000000 0x4087ce50 0x40835820 0x40835868 0x40835984
4084e830: 0x420c4ca4 0x00000000 0x40832f64 0x420122f4 0x00000001 0x420122a4 0x00000003 0x00000000
0x420122f4: zbProdTableTask at C:/d/software/rfin_pro_git/rfin_pro/main/zb_coord.c:200
0x420122a4: zbZcConnectInfoTask at C:/d/software/rfin_pro_git/rfin_pro/main/zb_coord.c:162
4084e850: 0x00000000 0x000000ff 0x00000000 0x54535251 0x38751755 0x54535251 0x38751755 0x9280f6fa
4084e870: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
4084e890: 0x00000000 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xbaad5678 0x00004010
4084e8b0: 0xabba1234 0x408352ac 0x00004000 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
4084e8d0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
4084e8f0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
4084e910: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
4084e930: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
4084e950: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
4084e970: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
4084e990: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
4084e9b0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
4084e9d0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
4084e9f0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
4084ea10: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
4084ea30: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
4084ea50: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
Steps to reproduce.
See above
More Information.
No response

More: with Zb trace enable, we see that the zb_assert is at:
I (3811569) ZBOSS: common/zb_debug.c:64   Assertion failed /home/xiaqilin/esp/esp-zboss/components/zboss_stack/zboss/common/zb_bufpool_mult.c:1278
OR:
I (1583330) ZBOSS: common/zb_debug.c:64   Assertion failed /home/xiaqilin/esp/esp-zboss/components/zboss_stack/zboss/common/zb_bufpool_mult_storage.c:105
Can you share info on what would cause those two asserts?
Something wrong with internal ZBOSS buffer pools?
Something wrong with my config?

Hello @Zeboo14,
Could you please provide the trace log with complete information that would be more helpful?

I (3811569) ZBOSS: common/zb_debug.c:64 Assertion failed /home/xiaqilin/esp/esp-zboss/components/zboss_stack/zboss/common/zb_bufpool_mult.c:1278

From this log, I can only deduce that the stack received a malformed frame, causing it to fail to distinguish the layer header or extract the frame payload.

I (1583330) ZBOSS: common/zb_debug.c:64 Assertion failed /home/xiaqilin/esp/esp-zboss/components/zboss_stack/zboss/common/zb_bufpool_mult_storage.c:105

This log may indicate that an illegal buffer is being freed.
Therefore, a complete crashing trace log is necessary.

@Zeboo14 ,
Furthmore, if there are other RTOS tasks in your project, please consider using esp_zb_lock_acquire() and esp_zb_lock_release() to ensure thread safety.

@Zeboo14

Furthmore, if there are other RTOS tasks in your project, please consider using esp_zb_lock_acquire() and esp_zb_lock_release() to ensure thread safety.

Does this method work for you? Do you have any other updates on this issue?

I see a very similar issue.  This happens on both endpoint and router connected to a Philips Hue bridge.  There is no apparent activity related to the endpoint, but once so often I get the below, where it looks indeed like some frame was received which ultimately lead to the error
esp32h2> I (766) zigbee.hpp:15: Zigbee stack initialized type(ZR)
W (776) zigbee.hpp:91: Network(0x7322) closed, devices joining not allowed.
I (776) zigbee.hpp:21: Device started up in non factory-reset mode status: ESP_OK
I (776) zigbee.hpp:30: Device NWK(0x7d94) restarted
Zigbee stack assertion failed common/zb_bufpool_mult.c:1321
abort() was called at PC 0x4202b32b on core 0
Backtrace: 0x40800800:0x40820a30 0x40807f30:0x40820a30 0x4080d312:0x40820a40 0x4202b32c:0x40820ab0
Backtrace ended abruptly: cannot find DWARF information for instruction at address 0x4202b32c
ELF file SHA256: 74288643b

4202b32e t zb_aps_multi_pre_link_key_init
4080d330 t ra_to_str
40807f34 t prvGetDisinheritPriorityAfterTimeout
40800806 t panic_enable_cache

@janjaeger ,

but once so often I get the below, where it looks indeed like some frame was received which ultimately lead to the error

Based on the log, the crash seems to be triggered by a malformed frame from the air. Could you please provide the reproduction steps or a Wireshark packet capture to help us verify this issue?

@Zeboo14 @janjaeger There have been several fixes and enhancements in recent releases, could you pelase test again with the latest esp-zigbee-sdk release. Please share the wireshark capture file if the issue still happens.

Hi @chshu , @Zeboo14 ,
The issue is still occurring (see below).
However, I have been able to isolate this to the groups and scene clusters.
I see this problem only when I have a scene or groups cluster (or both groups + scene) defined.
So, there seems to be something that both the groups and scene cluster have in common that causes this panic to occur.
This error does not occur when I have no scene or groups clusters defined
my definition of the scene and groups cluster are below.
Thanks and best regards,
Jan
  esp_zb_groups_cluster_cfg_t group_cfg = { .groups_name_support_id = ESP_ZB_ZCL_GROUPS_NAME_SUPPORT_DEFAULT_VALUE};
   esp_zb_attribute_list_t *groups_cluster = esp_zb_groups_cluster_create(&group_cfg);

   ESP_ERROR_CHECK(esp_zb_cluster_list_add_groups_cluster(cluster_list, groups_cluster, ESP_ZB_ZCL_CLUSTER_SERVER_ROLE));

   esp_zb_scenes_cluster_cfg_t scene_cfg = {
       .scenes_count = ESP_ZB_ZCL_SCENES_SCENE_COUNT_DEFAULT_VALUE,
       .current_scene = ESP_ZB_ZCL_SCENES_CURRENT_SCENE_DEFAULT_VALUE,
       .current_group = ESP_ZB_ZCL_SCENES_CURRENT_GROUP_DEFAULT_VALUE,
       .scene_valid = ESP_ZB_ZCL_SCENES_SCENE_VALID_DEFAULT_VALUE,
       .name_support = ESP_ZB_ZCL_SCENES_NAME_SUPPORT_DEFAULT_VALUE};
   esp_zb_attribute_list_t *scenes_cluster = esp_zb_scenes_cluster_create(&scene_cfg);

   ESP_ERROR_CHECK(esp_zb_cluster_list_add_scenes_cluster(cluster_list, scenes_cluster, ESP_ZB_ZCL_CLUSTER_SERVER_ROLE));

ZBOSS: common/zb_debug.c:64 Assertion failed /builds/thread_zigbee/esp-zboss/components/zboss_stack/zboss/common/zb_bufpool_mult.c:1321
Zigbee stack assertion failed common/zb_bufpool_mult.c:1321
abort() was called at PC 0x4202f731 on core 0
--- 0x4202f731: zb_assert at ??:?
Backtrace: 0x40802952:0x40823410 0x4080b91a:0x40823420 0x40812c90:0x40823440 0x4202f732:0x408234b0
--- 0x40802952: panic_abort at /COMPONENT_ESP_SYSTEM_DIR/panic.c:468
0x4080b91a: esp_system_abort at /COMPONENT_ESP_SYSTEM_DIR/port/esp_system_chip.c:92
0x40812c90: abort at /COMPONENT_NEWLIB_DIR/abort.c:38
0x4202f732: zb_assert at ??:?
Backtrace ended abruptly: cannot find DWARF information for instruction at address 0x4202f732
--- 0x4202f732: zb_assert at ??:?
ELF file SHA256: dcd70e457
Rebooting...

Hi @chshu ,
Some more info, I am trying to capture the packet that causes the error to occur, which is a bit cumbersome because 1) it does not happen that often, and 2) I and up with megabytes of trace data, which is then difficult to correlate
However, I also see the following message:
ZBOSS: nwk/nwk_main.c:2339 Drop packet with improper protocol version: 0x5
yet, I cannot find any protocol 5 in my pcap trace.  I assume this is the protocol version as below, but that means that we do have an overlay somewhere
Frame Control Field: 0x1209, Frame Type: Command, Discover Route: Suppress, Security, Extended Source Command
    .... .... .... ..01 = Frame Type: Command (0x1)
    .... .... ..00 10.. = Protocol Version: 2
    .... .... 00.. .... = Discover Route: Suppress (0x0)
    .... ...0 .... .... = Multicast: False
    .... ..1. .... .... = Security: True
    .... .0.. .... .... = Source Route: False
    .... 0... .... .... = Destination: False
    ...1 .... .... .... = Extended Source: True
    ..0. .... .... .... = End Device Initiator: False

Some more analysis - The version 5 error occurs about 75 times in a 14 hour period- I have a full pcap trace from this entire period, and no v5 frame is recorded, all frames are v2

Hi @chshu ,
The panic consistently occurs after receiving either a 'move to color' or 'move to level' frame.
Screenshots of the frames attached.
Best regards,
Jan

Hi @janjaeger ,
I have reviewed the information you provided, and the implementation of the group and scene cluster as well as the move to level command looks fine to me. Could you please provide a patch to reproduce this issue based on the example in the esp-zigbee-sdk?


Add roll table for Cantina NPCs

It probably makes more sense to include a compendium with the table rather than the macro I used to generate it:
https://pastebin.com/KN7EfWcE

Done.


Yabai not working with secondary account

I got two accounts on my Mac, one for personal stuff and one for work. I install everything with brew using the personal account, which makes to tools also available on the work account. I set up yabai on my personal account first and afterward, I copied the config to my work account. But yabai does not work on my work account. The service starts but nothing happens. When I manually run a yabai command I get the following error:
yabai-msg: failed to connect to socket..

Have I missed something setting up yabai?

Uh, I believe this could be an issue with the log files being shared between users (and the work account probably does not have the necessary file permissions), causing yabai to not launch properly. Will be fixed when #1619 (needs further adjustment) goes live in next release.

Should work fine in v5.0.4 that does not rely on brew services.


Is there a way to disable some commands?

I can disable comands? like rainbow, particles or others

yes with command commands, see here to more info


SAK-31201 - Syllabus tool-student id can add/delete syllabus items

It looks like the conversion script was correct for the backfill, not sure why this script wasn't.


Attestation App support

If the goal of this is to replicate the functionality of GrapheneOS's Auditor app, then this may not be possible. That uses a hardware based security feature found on all Pixels. secureblue is hardware agnostic, so that won't work here.


@jest-environment node not working in v22

Seeing this error message:
TypeError: environment.setup is not a function

      at node_modules/jest-runner/build/run_test.js:112:23

When using this syntax at the top of the test file (worked in v21):
/**
 * @jest-environment node
 */

have you upgraded the dependency on the env as well?
npm ls jest-environment-node

Ah you know what, it's ts-jest that's the issue.
├─┬<EMAIL_ADDRESS>│ └─┬<EMAIL_ADDRESS>│   ├─┬<EMAIL_ADDRESS>│   │ └──<EMAIL_ADDRESS>│   ├─┬<EMAIL_ADDRESS>│   │ └─┬<EMAIL_ADDRESS>│   │   └──<EMAIL_ADDRESS>│   └─┬<EMAIL_ADDRESS>│     └─┬<EMAIL_ADDRESS>│       └──<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>  └─┬<EMAIL_ADDRESS>    └──<EMAIL_ADDRESS>
They haven't upgraded yet.

Thanks @SimenB

I don't like that jest-config depends on est-environment-node :( (#4992 for explanation)

Would someone please explain the fix for this? I was not clear after reading through this problem.
I setup my app with

Create React App

When I run npm test I get errors.
First it was jest-cli that I needed. Once I installed jest-cli I started seeing this error,

TypeError: environment.setup is not a function
When I run,
npm ls jest-environment-node
├─┬<EMAIL_ADDRESS>│ │ └──<EMAIL_ADDRESS>│ └─┬<EMAIL_ADDRESS>│   └─┬<EMAIL_ADDRESS>│     └──<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>  └─┬<EMAIL_ADDRESS>    └─┬<EMAIL_ADDRESS>      └─┬<EMAIL_ADDRESS>        └──<EMAIL_ADDRESS>
This is my .babelrc
{
  "plugins": [
    "transform-flow-strip-types",
  ],
  "presets": [
    "env",
    "react"
  ]
}

This is my package.json

  "scripts": {
    "start": "react-scripts start",
    "flow": "flow",
    "lint": "eslint .",
    "prettier": "find . -name node_modules -prune -or -name '*.js' -print | xargs prettier --write",
    "build": "react-scripts build",
    "test": "react-scripts test --env=jsdom",
    "eject": "react-scripts eject"
  },
  "dependencies": {
    "bootstrap": "^3.3.7",
    "lodash": "^4.17.4",
    "react": "^16.1.0",
    "react-bootstrap": "^0.31.5",
    "react-dom": "^16.1.0",
    "react-fontawesome": "^1.6.1",
    "react-google-maps": "^9.4.3",
    "react-redux": "^5.0.6",
    "react-router-bootstrap": "^0.24.4",
    "react-router-dom": "^4.2.2",
    "react-scripts": "1.0.17",
    "react-tabs": "^2.1.1",
    "recharts": "^1.0.0-beta.7",
    "redux": "^3.7.2"
  },
  "devDependencies": {
    "babel-cli": "^6.26.0",
    "babel-eslint": "^8.0.2",
    "babel-plugin-transform-flow-strip-types": "^6.22.0",
    "babel-preset-env": "^1.6.1",
    "babel-preset-react": "^6.24.1",
    "eslint": "^4.11.0",
    "eslint-config-fb-strict": "^21.2.0",
    "eslint-config-fbjs": "^2.0.0",
    "eslint-plugin-babel": "^4.1.2",
    "eslint-plugin-flowtype": "^2.39.1",
    "eslint-plugin-import": "^2.8.0",
    "eslint-plugin-jsx-a11y": "^6.0.2",
    "eslint-plugin-prettier": "^2.3.1",
    "eslint-plugin-react": "^7.4.0",
    "flow-bin": "^0.59.0",
    "jest-cli": "^22.0.4",
    "prettier": "^1.8.2",
    "redux-devtools": "^3.4.1"
  }
}

Had the same problem and solved it by downgrading Jest on my package.json from
    "jest": "22.0.4",
to
    "jest": "20.0.4",
I just changed the version and ran yarn install
Before the fix my output for the command npm ls jest-environment-node was:
├─┬<EMAIL_ADDRESS>│ └─┬<EMAIL_ADDRESS>│   └─┬<EMAIL_ADDRESS>│     └──<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>  └─┬<EMAIL_ADDRESS>    └─┬<EMAIL_ADDRESS>      └─┬<EMAIL_ADDRESS>        └──<EMAIL_ADDRESS>
After the fix:
└─┬<EMAIL_ADDRESS>  └─┬<EMAIL_ADDRESS>    └─┬<EMAIL_ADDRESS>      └──<EMAIL_ADDRESS>

If you use create-react-app you can't upgrade jest without them doing it as well

I update jest-preset-angular@latest (which is version 5.0.0) and this solved the problem for me.

@gaearon, that didn't fix what I'm running into with a new CRA app (TypeError: environment.setup is not a function)
  "dependencies": {
    "bootstrap": "^4.0.0",
    "jest-cli": "^22.4.2",
    "jquery": "^3.3.1",
    "node-sass-chokidar": "^1.1.0",
    "npm-run-all": "^4.1.2",
    "popper.js": "^1.14.1",
    "react": "^16.2.0",
    "react-dom": "^16.2.0",
    "react-router": "^4.2.0",
    "react-router-dom": "^4.2.2",
    "react-scripts": "1.1.1",
    "react-transition-group": "^2.2.1",
    "reactstrap": "^4.8.0"
  },

npx create-react-app foo; cd foo; npm i; npm test throws "You gotta install jest-cli" err, because npm i does some crap to jest.
npx create-react-app foo; cd foo; yarn test works fine.
I think it's a problem with Jest's package.json not resolving jest-cli via npm, resolves fine with Yarn.

Protip: If you're using anything Facebook, just use Yarn and save yourself headaches.

create-react-app by default uses yarn, so if you want to use npm, just do npx create-react-app foo --use-npm; cd foo; npm test;

--use-npm

If you are trying @gaearon's fix and have jest-cli then delete that as well.

I faced this issue when I first ran yarn, followed by npm i.
I just removed node_modules folder (rm -rf node_modules) from project root and ran yarn

For anyone who might still be seeing this, make sure to update jest globally too -- and update any jest presets or extensions as well


NIFI-2451 Added encrypt-config documentation to Admin Guide

As with PR 925 this PR has an extra commit c638191 which has been merged into Apache's git repository but has not yet synced to the GitHub mirror repo. Once that sync occurs, this PR will only contain commits a6c543b by @andrewmlim and 5a3f247 by me (1 file, ~100 lines changed).
This should supersede PR 855.

+1 Looks good.  Will close PR 855.

Squashing & merging.

For the record, these were @andrewmlim 's changes; I gave the actual committer +1, he was just verifying I copied them correctly.