Parallel all the applications within cloudbuild test

Parallel the application builds. Run Jupyter/Rag/Ray at the same time in difference namespaces.

/gcbrun

/gcbrun

/gcbrun

/gcbrun

Jupyter seems to be running into some issue with waiting for pods to be ready. Currently happening when rag is being installed, although I'm unsure if it's related and can't seem to repro locally.

/gcbrun

Error mentioned in this comment: https://github.com/GoogleCloudPlatform/ai-on-gke/pull/620#issuecomment-2080202976 seems to be inconsistent. Another issue that seems to occur with cloud-build is Jupyter unable to destroy properly.

/gcbrun

/gcbrun

/gcbrun

Cloud-build was failing due to the port for Rag being changed. It was changed to prevent Jupyter/Rag/Ray sharing the same port. Changing back to see if it succeeds.

/gcbrun

Build takes around 50 mins.

/gcbrun

/gcbrun

The build time for pr-review-trigger is 52m, I was expecting a larger improvement from this change :thinking:

Looking at all the past runs, the cleanup would sometimes not completely succeed (all from standard cluster). Going to run one more time to see if it occurs.

/gcbrun

Looking at all the past runs, the cleanup would sometimes not completely succeed (all from standard cluster). Going to run one more time to see if it occurs.

I don't think clean up ever succeeded fwiw, there's some known bugs there

Looking at all the past runs, the cleanup would sometimes not completely succeed (all from standard cluster). Going to run one more time to see if it occurs.

I don't think clean up ever succeeded fwiw, there's some known bugs there

Oh I was specifically talking about the Jupyterhub cleanup.
success: https://pantheon.corp.google.com/cloud-build/builds;region=us-central1/6e09787a-1d3e-4509-8c42-fe4cb3d0b0d4?e=-13802955&mods=prod_coliseum&project=gke-ai-eco-dev and https://pantheon.corp.google.com/cloud-build/builds;region=us-central1/fefbdae1-a82e-4b2a-884e-f2a8a5bc5cc2?e=-13802955&mods=prod_coliseum&project=gke-ai-eco-dev.
fail: https://pantheon.corp.google.com/cloud-build/builds;region=us-central1/a3b49edc-e6a9-459a-9792-f017cebe9d87?e=-13802955&mods=prod_coliseum&project=gke-ai-eco-dev

And I guess the latest run as well: https://pantheon.corp.google.com/cloud-build/builds;region=us-central1/110ac62c-99c9-4a8c-b4b5-4dcca73193c5;step=8?e=-13802955&mods=prod_coliseum&project=gke-ai-eco-dev

/gcbrun

Oh I was specifically talking about the Jupyterhub cleanup.

Oh my bad, yeah this seems like a new failure

I couldn't repro on local. Printing kubectl events to see if there is anything there.

/gcbrun

/gcbrun

/gcbrun

/gcbrun

RAG frontend isn't coming up with error:  Waiting for rollout to finish: 3 replicas wanted; 2 replicas Ready

Cleaned up all the unnecessary kubectl commands. Will also try test again.

/gcbrun

Same error

RAG frontend isn't coming up with error:  Waiting for rollout to finish: 3 replicas wanted; 2 replicas Ready

Adding terraform debug and kubectl event

/gcbrun

Cleaned up the rest of the kubectl events/get pods commands that was used for debugging.

/gcbrun

Going to run again, the test failed due to cluster not being able to be created properly.

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

I'm noticing that the frontend 3rd replica takes a bit longer to start up since the image takes bit longer to pull. I'm extending the timeout for create of the frontend to address this. As for why image pulling is taking longer, it will require a deeper dive into why it takes an avg of ~7m more for the 3rd replica. This is only occurring for standard.

/gcbrun

/gcbrun

I am now confused. Error is pretty inconsistent for some reason.

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

Ran into network issue while autopilot cluster did not.

/gcbrun

/gcbrun


Add delete().

I needed this so I added it. If you require anything else to merge this, let me know.

Sure thing. Sorry it took so long, have been busy!


fix: is_rockpi and is_raspberry_pi should not break outside Balena

User Story
As a user, I should not hit an exception if running outside Balena.
Notes
We currently detect hardware by inspecting the BALENA_DEVICE_TYPE environment variable, created by Balena. In test cases, this will raise an exception.
    def is_raspberry_pi():
        """
        Pulled from
        https://www.balena.io/docs/reference/base-images/devicetypes/
        """
        device_type = os.getenv('BALENA_DEVICE_TYPE')
        device_type_match = [
            'raspberry-pi2',
            'raspberrypi3',
            'raspberrypi3-64',
            'raspberrypi4-64',
            'nebra-hnt',
            'raspberrypicm4-ioboard'
        ]

        for device in device_type_match:
>           if device in device_type:
E           TypeError: argument of type 'NoneType' is not iterable

Acceptance Criteria

is_rockpi and is_raspberry_pi should not raise exceptions if invoked outside Balena. Return False in both cases.

@marvinmarnold for the version check, perhaps we could use cat /proc/device-tree/model when not on balena...
This gives the following output:
ROCK PI 4B
Raspberry Pi Compute Module 3 Plus Rev 1.0

/proc/cpuinfo has this for RasPi too but not RockPi

@marvinmarnold for the version check, perhaps we could use cat /proc/device-tree/model when not on balena...
This gives the following output:
ROCK PI 4B Raspberry Pi Compute Module 3 Plus Rev 1.0

Seems like a reasonable fallback.

Partially solved by #84


Use friendly disassembly output

It seems to me that the SpvTools::Disassemble method should take the options mask as an argument.  It's exactly the kind of thing that someone might want to control even in a higher level API.
It would be ok to have a default argument for the mask.
Otherwise, the change looks ok.

LGTM.
Didn't go through the test input/ouput text changes carefully, but I won't think it will be a big problem.

Squashed and merged d503d75


Ensure user image is pulled as part of fig up

On a fresh deployment if the user image isn't available, fig up/cloudpipe will fail.

cloudpipe_1 | time="2015-01-01T20:35:53Z" level="info" msg="Initializing with loaded settings." admin account="admin" logging level="debug" mongo URL="mongo" port=8000
cloudpipe_1 | time="2015-01-01T20:36:05Z" level="fatal" msg="Unable to load application context." error="no reachable servers"
cloudpipe_cloudpipe_1 exited with code 1
Gracefully stopping... (press Ctrl+C again to force)

cloudpipe_1 | time="2015-01-01T20:35:53Z" level="info" msg="Initializing with loaded settings." admin account="admin" logging level="debug" mongo URL="mongo" port=8000
cloudpipe_1 | time="2015-01-01T20:36:05Z" level="fatal" msg="Unable to load application context." error="no reachable servers"
cloudpipe_cloudpipe_1 exited with code 1
Gracefully stopping... (press Ctrl+C again to force)

For fun I tried letting the user image come up as part of the fig.yml:
---
cloudpipe:
  build: .
  links:
  - mongo
  environment:
    PIPE_ADMINNAME: admin
    PIPE_ADMINKEY: 12345
    PIPE_LOGLEVEL: debug
  ports:
  - "8000:8000"
  volumes:
  - "/var/run/docker.sock:/var/run/docker.sock"
mongo:
  image: mongo:2.8
user:
  image: cloudpipe/runner-py2

That failed as awesomely as one would expect.
user_1      | Traceback (most recent call last):
user_1      |   File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
user_1      |     "__main__", fname, loader, pkg_name)
user_1      |   File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
user_1      |     exec code in run_globals
user_1      |   File "/srv/runner/multyvacinit/pybootstrap.py", line 10, in <module>
user_1      |     (f, args, kwargs) = pickle.load(sys.stdin)
user_1      |   File "/usr/lib/python2.7/pickle.py", line 1378, in load
user_1      |     return Unpickler(file).load()
user_1      |   File "/usr/lib/python2.7/pickle.py", line 858, in load
user_1      |     dispatch[key](self)
user_1      |   File "/usr/lib/python2.7/pickle.py", line 880, in load_eof
user_1      |     raise EOFError
user_1      | EOFError
cloudpipe_user_1 exited with code 1

Either we:

just document it in the readme
bring it in as part of launching cloudpipe/cloudpipe
provide a dummy command to the user image in fig.yml

For fun I tried letting the user image come up as part of the fig.yml:
---
cloudpipe:
  build: .
  links:
  - mongo
  environment:
    PIPE_ADMINNAME: admin
    PIPE_ADMINKEY: 12345
    PIPE_LOGLEVEL: debug
  ports:
  - "8000:8000"
  volumes:
  - "/var/run/docker.sock:/var/run/docker.sock"
mongo:
  image: mongo:2.8
user:
  image: cloudpipe/runner-py2

That failed as awesomely as one would expect.
user_1      | Traceback (most recent call last):
user_1      |   File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
user_1      |     "__main__", fname, loader, pkg_name)
user_1      |   File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
user_1      |     exec code in run_globals
user_1      |   File "/srv/runner/multyvacinit/pybootstrap.py", line 10, in <module>
user_1      |     (f, args, kwargs) = pickle.load(sys.stdin)
user_1      |   File "/usr/lib/python2.7/pickle.py", line 1378, in load
user_1      |     return Unpickler(file).load()
user_1      |   File "/usr/lib/python2.7/pickle.py", line 858, in load
user_1      |     dispatch[key](self)
user_1      |   File "/usr/lib/python2.7/pickle.py", line 880, in load_eof
user_1      |     raise EOFError
user_1      | EOFError
cloudpipe_user_1 exited with code 1

Either we:

just document it in the readme
bring it in as part of launching cloudpipe/cloudpipe
provide a dummy command to the user image in fig.yml


The use of Class CL_XLSX_WORKSHEETPART is not permitted.

Hi,
Stumbled upon this project via dotabap.org where this is marked as cloud compatible.
However when pulling this into an abap environment on BTP there are a bunch of components used within the class that are not released.
As far as I can tell this is (no longer) cloud compatible.
Kr,
Arne

@ArneVanH what specific errors do you get?

A specific error was title of ticket: The use of Class CL_XLSX_WORKSHEETPART is not permitted.
But indeed, that is not a syntax error, but a whitelisting error.  So I suppose it works as intended.
Thanks


LooseObjectsStep (Part 2)

Pack loose objects into a Packfile

Update to let Stolee know how things are looking.  Don't worry about a review yet everyone else.
Next steps for me are to add the unit tests and make sure I'm happy with all the logging.

Sorry guys it looks like i made the original branch here instead of my fork.  I'll delete the branch in the MIcrosoft project and am opening a new PR.


Typo fix

Which issue this PR addresses:

Fixes a typo fix s/ssk-aks/ssh-aks
What this PR does / why we need it:
Improve documentation, and remove uncertainty when we suggest using a missing file.

Test plan for issue:

Is there any documentation that needs to be updated for this PR?
Not sure

How do you know this will function as expected in production?
There is no such hack/ssk-aks.sh file, and from the context it seems like a typo bug.

/azp run ci


Use basename(argv[0]) in help function

In the current main.cpp code, the help function calls the executable tgs-to-gif, which works great! until the executable is renamed, to, e.g., tgs-to-gif or tgs2gif, the latter being the seeminly defacto standard for simple conversion programs (e.g., apng2gif, dos2unix, help2man, etc.)
This simple change allows the Usage line to display correctly when the binary is renamed or symlinked to another name.
Builds and works on Linux.

Hello! Thank you for the patch, but docker build -t tgs-to-gif . works with an error:
/application/main.cpp:33:35: error: 'basename' was not declared in this scope; did you mean 'rename'?
   33 |  argparse::ArgumentParser program(basename(argv[0]));
      |                                   ^~~~~~~~
      |                                   rename
make[2]: *** [CMakeFiles/tgs_to_gif.dir/build.make:76: CMakeFiles/tgs_to_gif.dir/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/tgs_to_gif.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Thank you I will look into this.

It appears as though the Dockerfile uses alpine linux, with musl libc. The basename(argv[0]) syntax is not supported by musl. I added the libgen.h header, which adds the basename function, however I'm still struggling to fix the argv part. Any and all help is welcome.

master-cpp has renamed to master
previous master become master-nodejs
please, rebase and reopen the pull request to master

I'm not going to reopen this because the .sh scripts can be renamed or symlinked and respect their new names. Thank you!


noa.entities.remove(eid) does not work on hello-world example

how do I remove an entity ,if I step on it

Deleting entities is ents.deleteEntity. The otherID param from collision events should be working, we'd need to see the code to guess what's wrong..


Documentation and schema updates

This PR includes:

significant improvement of main README.md
documentation of schema for parameter and input data schemas/README.md
simplified parameters schema as discussed in gitlab pr 22. Note that the schema description is not 100% complete, but is thought to give a guidance on the approach.
adaption of example schema files to this simplified description

Thanks for the review - I think I've addressed all comments.
Most importantly, I've re-organized the README.md so that it is clearer what part is for users and what is for developers.
Let me know if this is good.

@VictorBarbosaMartins - thanks for the review! I've fixed the path and will merge now.


[QUESTION]

I deleted table "posts" from the SQLite DB but it still appears in a sidebar, how to delete it?

You should delete the corresponding menu Posts in the menu manage page which can be accessed by sidebar menu Admin->Menu.


Bug fixes

Fixes Announcements that are out of order
Fixes sponsors that are out of order
Fixes the map not loading properly
Fixes name not appearing on login issue

+1


Can't mark a test as expected fail

Sometimes you want a test to fail (say if writing the test for some features that are not yet there), so want to mark a test as an expected fail (and therefore a pass when it fails), there currently seems to be no way to do this.
Thanks
James

Sounds reasonable for TDD.


The Ingress "airy-core" is invalid warning on develop

After running the boostrap script on develop I see this error message:
    airy-core: The Ingress "airy-core" is invalid:
    airy-core: * spec.rules[1].http.paths[0].pathType: Required value: pathType must be specified
    airy-core: * spec.rules[2].http.paths[2].pathType: Required value: pathType must be specified
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

Fixed with https://github.com/airyhq/airy/pull/347.


Update fpm.yml to include nvidia-hpc compiler

Hi @vmagnin
This PR includes the NVIDIA compiler in the CI for fpm.
It also updates the Checkout action to the latest version, v4.
Thanks
Ali

Thanks Ali.


Black artifact with plane renderer

When the plane renderer is enabled, some black artifacts may appear when the device is at some positions.
It happens with the hellosceneform sample. When I disable the plane renderer with getArSceneView().getPlaneRenderer().setEnabled(false); it does not seem to happen anymore.
However, when I hide it via getArSceneView().getPlaneRenderer().setVisible(false); for keeping the shadows, the problem also happens.
My device is a Samsung Galaxy S9 and I run Sceneform 1.4.0.
Does anybody else is experiencing this? How to solve it?
See the screenshot below

See video:
https://photos.app.goo.gl/hAWsQn7HLPxqBf46A

Are there other objects in the scene intersecting with the plane?
Have you added any lights to the scene or disabled any lights?

Whats the exact model number of your device?

No, I did not change the hellosceneform sample.
The phone is a Samsung S8 SM-950F running Android 8.0.0

I have the same issue tested on the following devices:
Samsung Galaxy S9 SM-G960F (Android 8.0.0)
Samsung Galaxy S9 Plus SM-G965F (Android 8.0.0)
Samsung Galaxy Note 8 SM-N950F (Android 7.1.1)
Samsung Galaxy A5 SM-A520F (Android 8.0.0)
Huawei P20 Pro CLT-L09 (Android 8.1.0)
Hopefully this can help you to analyse and fix this issue.

This was fixed in the Sceneform 1.5 release.

For me this is still reproducible in Sceneform 1.5 even though its not that often as in 1.4.

I confirm that this is not solved with Sceneform 1.5

Thank you. I'll reopen the issue and try to track down if this missed the release train or if something else is going on.

On what devices do you see the issue happen still?

We tracked this down, the fix came in after the release train for 1.5.  It is committed to our code tree and will be in our next release.

1.6 is released, please confirm this is resolved.

@malik-at-work I can confirm this as fixed. I couldn't reproduce this issue with 1.6. Tested on the following devices:

Samsung Galaxy Note 8 SM-N950F (Android 8.0.0)
Samsung Galaxy Tab S4 SM-T830 (Android 8.1.0)
Huawei P20 Pro CLT-L09 (Android 8.1.0)


Unable to get a major version bump using BREAKING

Hi @edbzn
I just updated our codebase to Angular 16 and we like to use to have our own main version follow Angular's. I migrated to 16 and then committed with a BREAKING in the commit.
:arrow_up: build: migrated to Angular 16

That was easy!

BREAKING: Major Angular version bump.

That was the only commit and when I ran:
npx nx run workspace:version --skipProjectChangelog=true
The plugin only updated the minor version.
What needs to be in the commit text for your plugin to do a major version bump?
Cheers 🍺

Hi @bjornharvold, if you are using Angular's preset (default one):
feat: allow provided config object to extend other configs

BREAKING CHANGE: `extends` key in config file is now used for extending other config files

If you are using the Conventional preset there's a shortcut using !:
feat(api)!: send an email to the customer when a product is shipped

🙇🏼♂


gonum/mat: Dense Matrix Multiplication Bug

Multiplying a matrix with correctly matching rows and columns still sometimes throws a dimension mismatch error:
Example:
a := mat.NewDense(3, 2, []float64{1, 2, 3, 4, 5, 6})
b := mat.NewDense(2, 3, []float64{1, 2, 3, 4, 5, 6})
a.Mul(a, b)
panic: mat: dimension mismatch [recovered]
panic: mat: dimension mismatch

Interestingly, when the cols of the second matrix also match it does not give error:
a := mat.NewDense(3, 2, []float64{1, 2, 3, 4, 5, 6})
b := mat.NewDense(2, 2, []float64{1, 2, 3, 4})
a.Mul(a, b)

works just fine.
What version of Go and Gonum are you using?
go version go1.20.1 linux/amd64
gonum.org/v1/gonum v0.14.0 h1:2NiG67LD1tEH0D7kM+ps2V+fXmsAnpUeec7n8tcr4S0=
gonum.org/v1/gonum v0.14.0/go.mod h1:AoWeoz0becf9QMWtE8iWXNXc27fK4fNeHNf/oMejGfU=
Does this issue reproduce with the current master?
Yes

a := mat.NewDense(3, 2, []float64{1, 2, 3, 4, 5, 6})
b := mat.NewDense(2, 3, []float64{1, 2, 3, 4, 5, 6})
a.Mul(a, b)

a.Dims() does not match the dimension of the product. This is working as intended. The relevant documentation is here and in the sentence above that section:

When a matrix is the destination or receiver for a function or method, the operation will panic if the matrix is not the correct size. An exception to this is when the destination is empty (see below).


feat: add support for declaring a list of public claims

If non-empty, all other claims are hidden from the frontend.

Add PublicCustomClaims type, which picks fields from CustomClaims
Declare a PublicUser type in client.ts, which optionally picks the
selected fields.
Add required machinery in the Go side to handle these fields
Validate the selected claims during code generation

Comments for changes

Thanks for the review. I think I've addressed all requested changes. PTAL

Thanks for the thorough review @Aenimus 👍

I've just realized we're missing some docs for this feature. Moving into draft to prevent merge.

Docs added


Review the nullability of the properties on the Pinboard.Post struct

There are a number of nullable properties which, if null, would result in an invalid object. Perhaps they shouldn't be nullable?

As part of this change, it's important to also take a look at the meta and hash properties which are somewhat opaque Pinboard details that probably shouldn't be relied on internally.


Saltpack-based message-switched network

This is a POC for a saltpack-based switched network with message relaying.
Closes #100
To do

[ ] Header/wrapper to define the wire protocol version.
[ ] Remove mesh package
[ ] Replace registry with addressbook
[ ] Add header/wrapper to wire

Pull Request Test Coverage Report for Build 248

3 of 100 (3.0%)  changed or added relevant lines in 6 files are covered.
51 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-24.4%) to 23.967%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

dht/dht_query.go
1
3
33.33%

mesh/registry.go
0
4
0.0%

dht/dht.go
2
12
16.67%

mesh/peerinfo_secret.go
0
16
0.0%

mesh/peerinfo.go
0
19
0.0%

mesh/key_util.go
0
46
0.0%

Files with Coverage Reduction
New Missed Lines
%

mesh/key_util.go
5
0.0%

mesh/peerinfo.go
18
0.0%

mesh/registry.go
28
0.0%

Totals

Change from base Build 229:
-24.4%

Covered Lines:
174

Relevant Lines:
726

💛  - Coveralls


Esp32 wont update time through sntp with gsm module (IDFGH-1033)

Environment

Development Kit:      none
Module or chip used:  ESP32-WROOM-32
IDF version (run git describe --tags to find it):  v4.0-dev-402-ga20d02b7f
Build System:         Make
Compiler version (run xtensa-esp32-elf-gcc --version to find it): xtensa-esp32-elf-gcc (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a) 5.2.0
Operating System:     Debian
Power Supply: external 5V

Problem Description
I am trying to get time through sntp with gsm module sim800l. The module is succesfully connected to the internet, but the time will not be updated (through WIFI its ok). Even I cannot connect to the HTTP protocol.
Expected Behavior
update time through sntp on esp32 with sim800L
Actual Behavior
nothing happend
Steps to repropduce

clone https://github.com/loboris/ESP32-PPPOS-EXAMPLE.git
set tx/rx/internet settings

Code to reproduce this issue
code here
Other items if possible

I (15211) [SNTP]: Waiting for system time to be set... (1/10)
I (17218) [SNTP]: Waiting for system time to be set... (2/10)
I (19218) [SNTP]: Waiting for system time to be set... (3/10)
I (21218) [SNTP]: Waiting for system time to be set... (4/10)
I (23218) [SNTP]: Waiting for system time to be set... (5/10)
I (25218) [SNTP]: Waiting for system time to be set... (6/10)
I (27218) [SNTP]: Waiting for system time to be set... (7/10)
I (29218) [SNTP]: Waiting for system time to be set... (8/10)
I (31218) [SNTP]: Waiting for system time to be set... (9/10)
I (33218) [SNTP]: ERROR OBTAINING TIME
(34240) [HTTP]: ===== HTTP GET REQUEST =========================================
E (34240) [HTTP]: DNS lookup failed err=202 res=0x0
I (35252) [HTTP]: ===== HTTP GET REQUEST =========================================
E (35252) [HTTP]: DNS lookup failed err=202 res=0x0

this looks the same, but it was closed without answering it.
I have my custom FTP code and it is working, so I have internet on my sim card.

I was further testing, and If I choose branch 3.0, than the code is working, but If I choose branch 3.3 or 4.0, than it is not.

Hi @Arthedian It seems like you didn't setup the DNS server correctly. BTW, we have a PPPoS client example in IDF example here which also support SIM800L. Feel free to try it and check if you still have similiar issue.

I am trying this example code from version 3.3. I changed the pins in the config and added this code to the begging of the main, so I enable power to the gsm module on my board:
    gpio_pad_select_gpio(19);
    gpio_set_direction(19, GPIO_MODE_OUTPUT);
    gpio_set_level(19, 0);
    gpio_set_level(19, 1);

Why the app is falling?

I (63) cpu_start: Starting scheduler on PRO CPU.
D (0) intr_alloc: Connected src 25 to int 2 (cpu 1)
I (0) cpu_start: Starting scheduler on APP CPU.
D (78) heap_init: New heap initialised at 0x3ffe0440
D (88) heap_init: New heap initialised at 0x3ffe4350
D (88) intr_alloc: Connected src 16 to int 12 (cpu 0)
I (98) uart: queue free spaces: 30
D (98) intr_alloc: Connected src 35 to int 13 (cpu 0)
D (108) event: created event loop 0x3ffb98c4
E (118) esp-modem: esp_dte_handle_line(84): handle line failed
D (118) event: created post for event ESP_MODEM_EVENT:4
D (128) event: posted ESP_MODEM_EVENT:4 to loop 0x3ffb98c4
D (128) event: running post ESP_MODEM_EVENT:4 with handler 0x400d4034 on loop 0x3ffb98c4
W (138) pppos_example: Unknow line received: AT
D (188) dce_service: sync ok
Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC      : 0x40104591  PS      : 0x00060d30  A0      : 0x800d44f9  A1      : 0x3ffbabf0
A2      : 0x00000000  A3      : 0x3ffb9418  A4      : 0x0000000b  A5      : 0x3ffbaf2c
A6      : 0x3ffb961c  A7      : 0x0000000b  A8      : 0x8010458e  A9      : 0x3ffbabd0
A10     : 0x00000000  A11     : 0x00000001  A12     : 0x401047a8  A13     : 0x00000000
A14     : 0x00000000  A15     : 0x0000000b  SAR     : 0x00000008  EXCCAUSE: 0x0000001c
EXCVADDR: 0x0000002c  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0xffffffff
ELF file SHA256: cebbf38ef94db7e9dc02c65db5d3a7fba91d6c0b71137bb45a396c3513db3901
Backtrace: 0x40104591:0x3ffbabf0 0x400d44f6:0x3ffbac10 0x400d464e:0x3ffbac40 0x40086911:0x3ffbac70

so after further testing it is sometimes working with exception throwing, but still it wont connect to the mqtt server which is in the example:

D (347256) TRANS_TCP: [sock=55],connecting to server IP:<IP_ADDRESS>,Port:1883...
E (347896) MQTT_CLIENT: Error transport connect
D (347896) MQTT_CLIENT: Reconnect after 10000 ms
I (347896) pppos_example: MQTT_EVENT_DISCONNECTED

@Arthedian Powering on GSM module will cost a long time before it's ready to process AT commands. So in your application you may need to add this delay before you send the first AT command.
And please make sure 2G network is still working in your country.

@suda-morris Even If I add 10 second wait, it is still falling. And If it is not responding to the AT command, than it should write it to the console, not to write an exception right?
2G network is working in my country because my FTP client code is working with gsm.

Any update?

I tested the example just in my local (Shanghai, China) again, it still works fine here.
I wonder if your 2G module print out the IP address it obtained from base station like following? Just want to ensure that your sim card is not out of date.
I (2656) pppos_example: ~~~~~~~~~~~~~~
I (2656) pppos_example: IP          : <IP_ADDRESS>
I (2656) pppos_example: Netmask     : <IP_ADDRESS>
I (2666) pppos_example: Gateway     : <IP_ADDRESS>
I (2666) pppos_example: Name Server1: <IP_ADDRESS>
I (2676) pppos_example: Name Server2: <IP_ADDRESS>
I (2676) pppos_example: ~~~~~~~~~~~~~~

@suda-morris
so currently idf example is succesfully connecting to the mqtt server, but when I added obtain_time, before powering down the module, I still cannot get the time.

I (30076) uart: queue free spaces: 30
I (31226) pppos_example: Module: SIMCOM_SIM800L
I (31226) pppos_example: Operator: "OSKAR"
I (31226) pppos_example: IMEI:<PHONE_NUMBER>77128
I (31226) pppos_example: IMSI:<PHONE_NUMBER>26940
I (31426) pppos_example: rssi: 30, ber: 0
I (31626) pppos_example: Battery voltage: 4153 mV
I (31826) pppos_example: Modem PPP Started
E (32076) esp-modem: Frame Error
E (32126) esp-modem: Frame Error
E (32176) esp-modem: Frame Error
E (32226) esp-modem: Frame Error
I (32596) pppos_example: Modem Connect to PPP Server
I (32596) pppos_example: ~~~~~~~~~~~~~~
I (32596) pppos_example: IP          : <IP_ADDRESS>
I (32596) pppos_example: Netmask     : <IP_ADDRESS>
I (32606) pppos_example: Gateway     : <IP_ADDRESS>
I (32606) pppos_example: Name Server1: <IP_ADDRESS>
I (32616) pppos_example: Name Server2: <IP_ADDRESS>
I (32616) pppos_example: ~~~~~~~~~~~~~~
I (32626) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (32636) pppos_example: MQTT other event id: 7
I (33146) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (34476) pppos_example: MQTT_EVENT_CONNECTED
I (34476) pppos_example: sent subscribe successful, msg_id=29270
I (35386) pppos_example: MQTT_EVENT_SUBSCRIBED, msg_id=29270
I (35386) pppos_example: sent publish successful, msg_id=0
I (36386) pppos_example: MQTT_EVENT_DATA
TOPIC=/topic/esp-pppos
DATA=esp32-pppos
I (37406) pppos_example: Modem PPP Stopped
I (37836) pppos_example: Initializing SNTP
I (37836) pppos_example: Waiting for system time to be set... (1/10)
I (39836) pppos_example: Waiting for system time to be set... (2/10)
I (41836) pppos_example: Waiting for system time to be set... (3/10)
I (43836) pppos_example: Waiting for system time to be set... (4/10)
I (45836) pppos_example: Waiting for system time to be set... (5/10)
I (47836) pppos_example: Waiting for system time to be set... (6/10)
I (49836) pppos_example: Waiting for system time to be set... (7/10)
I (51836) pppos_example: Waiting for system time to be set... (8/10)
I (53836) pppos_example: Waiting for system time to be set... (9/10)
E (55866) esp-modem: Frame Error
E (55916) esp-modem: Frame Error
I (56366) pppos_example: Power down

Huray, it is working, I placed the function after PPP stopped. Thank you for help

I have one last issue with the example. How can i set pin for the sim card, so the code can connect to the sim?

@Arthedian Congratulations!
The sim card is connected to your modem, not esp32, so I'm afraid you cannot set pin for the sim card.

You can unlock sim using AT+CPIN command

Thank you, I just wasnt sure if there is any api for it. I succesfully integrated it into my code. My current problem is when I add Wifi connection. I want to be able to automatically switch between this two interfaces. If the wifi is working, that the internet should be travelling through wifi, but if the wifi is off, than it should be switch to the gsm. In the esp-idf 3.1 I had code which successfully was switching priority between this two interfaces, but in the current esp-idf 3.3 its not working because of this error:

'netif_list' undeclared (first use in this function)

if(config->wifi->status==3){
        if (DEBUGPRINT) printf("case2\n");
        if (canChange | (config->conn->connection!=1))
        {
            for (struct netif *pri = netif_list; pri != NULL; pri = pri->next)
            {
                if ((pri->name[0] == 's') && (pri->name[1] == 't'))
                {
                    //pausenetworkdependanttasks();
                    netif_set_default(pri);
                    //resumenetworkdependanttasks();
                    ESP_LOGD("connCareDefault", "Interface priority has been set to %c%c%d (" IPSTR "/" IPSTR " gateway " IPSTR ")",
                         pri->name[0], pri->name[1], pri->num,
                         IP2STR(&pri->ip_addr.u_addr.ip4), IP2STR(&pri->netmask.u_addr.ip4), IP2STR(&pri->gw.u_addr.ip4));
                }
            }
        }
        config->conn->connection=1;

    }
    else if(config->conn->hasGsm && config->gsm->status){
        if (DEBUGPRINT) printf("case3\n");
        for (struct netif *pri = netif_list; pri != NULL; pri = pri->next)
        {
            if ((pri->name[0] == 'p') && (pri->name[1] == 'p'))
            {
                //pausenetworkdependanttasks();
                netif_set_default(pri);
                //resumenetworkdependanttasks();
                ESP_LOGD("connCareDefault", "Interface priority has been set to %c%c%d (" IPSTR "/" IPSTR " gateway " IPSTR ")",
                     pri->name[0], pri->name[1], pri->num,
                     IP2STR(&pri->ip_addr.u_addr.ip4), IP2STR(&pri->netmask.u_addr.ip4), IP2STR(&pri->gw.u_addr.ip4));
            }
        }
        config->conn->connection=2;
    }
    else{
        config->conn->connection=0;
    }

@Arthedian Missing #include "lwip/netif.h" ?

Thank you, but still I am not sure, why it worked in the old idf.

@Arthedian Maybe some include dependency has been changed and become cleaner in the ESP-IDF.


Vale links to a fork instead of the main repo

Main repo is https://github.com/ValeLang/Vale

Fixed. Thanks!


feat(type): Notnull type optimizations

Fixes https://github.com/azjezz/psl/issues/357
There is still one situation, where you use nonnull() inside a shape().
In this situation, the type will resolve to mixed (inluding null).
This can only be solved once psalm has a TNonNull type.
Thanks @devnix !

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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 98.781%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4377

Relevant Lines:
4431

💛  - Coveralls

I don't like that we are exposing an internal type, but i think its okay in this case.
another option is to introduce a new interface as part of the public API, like EliminiationTypeInterface and have nonnull return EliminiationTypeInterface<null> .
example:
interface EliminiationTypeInterface<TEliminated, TGroup> extends TypeInterface<TGroup>
{
    public function matches<TInput: mixed>(
        TInput|TEliminated $value
    ): ($value is TEliminated ? false : true);

    public function coerce<TInput: mixed>(
        TInput|TEliminated $value,
    ): ($value is TEliminated ? never : TGroup);

    public function assert<TInput: mixed>(
        TInput|TEliminated $value,
    ): ($value is TGroup ? ($value is TEliminated ? never : TGroup) : never);
}

@azjezz That could work - but the interface would be broken by design:
extends TypeInterface<TGroup>

Since there is no way in psalm for doing an Exclude, it will always tell the upstream that it is of type TGroup - yet it is of type Exclude<TGroup, TEliminated>.
Not sure if that is a better solution than leaking one internal that most likely wouldn't affect much applications.
I could make a comment on the "why we did this" there ?


AMQP-473: RabbitManagementTemplate

TODO: Docs

I don't see issues with this PR.
Just only the point to the M1 of Hop. If we are going to release this with our 1.5.0.M1, of course...

Yes, it's ok for us to rely on a milestone in our M1.

Good. So, go ahead, please, with docs and I'll merge it!

Pushed

Don't you add What's New note intentionally?
It's not the first time, when you have missed that...
Should I do that on merge or share with you the polishing commit?
Thanks

I simply forgot about what's new :frowning:

Merged as https://github.com/spring-projects/spring-amqp/commit/69836a657a8838fddc429a983c3b3fe6da9d360a


Deeplink does not open in the desktop application

Description
Deeplink does not open in the desktop application.
After authentication by /api/v1/login I use authToken and I am able to login successfully via browser (desktop and mobile) and app (Android and iOS), but login is not performed in the desktop application (Windows, Linux and macOS)
Steps to reproduce:

Login by api /api/v1/login
Get authToken and userId
Use on https://go.rocket.chat/auth?host={{host}}&token={{authToken}}&userId={{userId}}

Expected behavior:
Log in to the desktop application, as it already works in mobile applications and browser
Server Setup Information:

Version of Rocket.Chat Server: 3.2.1
Desktop app: 2.17.9

Please test if the latest release did solve this. If not please reopen the issue or create a new one and tell us. I will be closing this one for now.
Thank you!


getAccount() returns wrong user

If i am logged into visualstudio.com with an azure ad user for organisation X and then logs into my app (localhost development environment) with an azure ad for organization Y, i get the organisation X user from getAccount(). If im not logged in to X, it works fine with login to Y. If i specify a loginHint (hard coded) it also works (acquireTokenSilent will login), but loginHint wont be available for all users.
So if a user is already logged in (in the browser), i get that user instead of the user that i just logged in myself.
I use the latest version, https://alcdn.msftauth.net/lib/1.3.1/js/msal.js.
`
            var MSAL = new Msal.UserAgentApplication({
                auth: {
                    clientId: 'xxxxxxxx',
                    authority: 'https://login.microsoftonline.com/xxxxxx',
                    redirectUri: redirectAfterLogin
                },
                cache: {
                    cacheLocation: 'localStorage',
                    storeAuthStateInCookie: true
                }
            });

	var accessTokenRequest = {
                scopes: ['api://xxxxxxxxx/.default']

            }

	if (MSAL.getAccount()) {
                // Gets wrong account if logged in with another
                console.log(MSAL.getAccount());

                    MSAL.acquireTokenSilent(accessTokenRequest).then(function (accessTokenResponse) {

                        window.accessToken = accessTokenResponse.accessToken;

                        hasSilentToken = true;

                        SearchWrapper(searchQuery);

                    }).catch(function (error) {

                        console.log('error: ' + error);

                    })

            }

	/**
            * Callback
            */
	MSAL.handleRedirectCallback(function (dontknow) {

                    MSAL.acquireTokenSilent(accessTokenRequest).then(function (accessTokenResponse) {
                        window.accessToken = accessTokenResponse.accessToken;

		    // Gets wrong account if logged in with another
                        var account = MSAL.getAccount();

                        console.log(account);

                    }).catch(function (error) {
                        console.log('error: ' + error);

                    })
            });

`

Yes, i got the same functionality. Logged in to web outlook with azure ad for organisation X. Then logged in to organization Y in my web app with cacheLocation changed to 'sessionStorage'. After login i got the wrong user with getAccount(). If i take login again, i can see that organization Y azure ad user is logged in also. Just gets the wrong user from MSAL.getAccount().

To clarify your use case:
You open your browser, and login to app X with user A.
You open a new tab, and login to app Y with user B.
Afterwards, getAccount() always returns with user A.
Is this all correct?

Yes. I just did that again in chrome. Cleared session storage and cookies for my app. Closed browser. Opened browser. Logged in to web outlook with user A. Then new tab and load my web app. No user from getAccount() on initial load. Then logged in with user B. getAccount() now returns user A.

Is what you've posted for code all the msal code you have? You're not actually calling one of the login APIs, such as loginRedirect Generally, the our flow is instantiate msal -> call login api -> call acquireToken api. This is outlined further in these docs.

Yes, i have a login function that i trigger from a button in the gui. So i missed to include that part..
`
function login() {
                if (MSAL.getAccount()) {

                    MSAL.acquireTokenRedirect(accessTokenRequest);

                }
	    else {
                    MSAL.loginRedirect(accessTokenRequest);
                }
            }

`

Can you provide some screenshots of your outputs from getAccount and also the state of local storage in this scenario? I have been unable to replicate this functionality.

Can you also confirm that both apps in your use case have a different clientId?

Closing this as we're assuming that this is no longer an issue due to no activity. Please open a new issue if you see further problems. Thanks!


11/12/2018 04:55 : Create Pull Request for branch master -> prTesting1_2018111204

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestRef1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Introduce configuration-time constants in Forc.toml

This PR adds the ability to specify configuration-time constants. Example. These are constants that are known and put into the Forc.toml manifest, and then available to the Sway program as constants. This is accomplished by injecting them as ConstantDeclarations when generating the initial namespace.
I had to add a little mini-compilation pass for each constant. While this may appear messy, I directly reused our normal compilation pipeline. What this means is that anything that is constant-evaluatable (valid inside of a const expression in Sway) is valid as a config-time constant. As we continue to expand constant evaluation, config-time constants get those benefits for free.
While the span data isn't perfect (always line 0), we do get rendered errors for config constants:

Warnings are omitted for now.
closes #1498

What's the reason for adding this to Forc.toml rather than in the code (eg. in a constants.sw file imported into the root module).
I've wanted something similar to this for rust, as an alternative to rust's (kinda broken) features system. But the point of it would be that you could specify the constant values when building the project, eg. on the command line, or in a dependent package's manifest. Are the values here meant to only be default values? Or are they intended to be overrideable?

What's the reason for adding this to Forc.toml rather than in the code (eg. in a constants.sw file imported into the root module).

I think it's probably easier to inject constants automatically into a TOML file with a build system or other mechanic than into Rust.  It might be better in a different constants.toml file though..?

We discussed verbally adding config-time constants as a flag to forc. I looked into this and it isn't trivial as clap doesn't currently support providing multiple values for non-flag arguments. I've decided to punt that work and created #2575 for further bikeshedding. I think this is sufficient as a standalone PR, with the understanding that we may introduce more ways to add these constants in the future.


custom fields: find better abstraction to index name accessing in service.exists method

in CustomFieldsService.exists the es_client.get_mapping call returns a dict with the index as key.
We have in index._name the alias, so we cannot access the actual value assume is only one mapping returned.

Discussed IRL, there is no better way atm


Selected Nodes stays in selectedNodeData permanently after being deleted

Hi,
When I try to update the selected nodes using a callback to modify either 'selectedNodeData' or 'tapNode' or 'tapNodeData' is not reflecting on the front-end.  i.e. the selection highlight is not changing automatically.
Thanks,
Vivek

To explain this further, when I programatically delete an element from the elements list (i.e.e select node and click 'button' to delete, and also try to clear the selection from   'selectedNodeData' or 'tapNode' or 'tapNodeData', the deleted node permanatly appears in the 'selectedNodeData'  - I am unable to remove it.

Could you share a minimal reproducible Dash app with the error?

Let me try. I am struggling to create examples, as there are so many functions that together result in this. In the meanwhile, would it work if I invite you temporarily to my private repository?
Thanks.
Vivek

Don't worry, take your time! I think it's better if you create a barebone, simple reproducible app, and share it here. That way, it makes it easier for us to debug (faster than taking the time to understand your entire workflow), and we don't need to look at your private data.
Furthermore, creating a reproducible example might help you debug your code, if the problem happens in the implementation side. Also, people who will have a similar problem will be able to find the solution directly in this issue, which saves them time in the future.

I see- that's fair. Let me try to get a simple working example.

When I try to update the selected nodes using a callback to modify either 'selectedNodeData' or 'tapNode' or 'tapNodeData' is not reflecting on the front-end. i.e. the selection highlight is not changing automatically.

@vivekvs1 I didn't register this part when I first read your issue. It is not possible to modify "selectedNodeData" (or any other event prop) using Dash callbacks.

Oh I see. Then how do I change the selection programatically? One way I did was to modify the elements list to make the node I want to be "selected":True. However, in my case, I want to be able to 'select' the node and use a pushbutton  for deleting the node. In this case, I wont be able to pass 'selected:'False before removing the element from list - if you know what I mean. Because of this,  'selectedNodeData' has permanant memory of the deleted element, even thought that was removed from the elements list.

This behavior is definitely not intended, but it will likely take a lot of work to modify the React wrapper (Cytoscape.react.js) in order to account for deleted nodes. I'll add this as an objective for v0.1.1, but it might take more time to get fixed depending on its difficulty.
If you would like to try this out, feel free to take a look at how the Cytoscape wrapper works (src/lib/components/Cytoscape.react.js), and modify it. If that interests you, please get started by looking at CONTRIBUTING.md. When you feel ready, you can submit a PR.

I see- thank you. Sure- I'll take a look. I don't know if I am qualified enough- but I would like to try and take a shot at it!
Thanks @xhlulu !!
As an alternative, if you can think of any other creative alternative, please share. Thanks!

As a workaround, have you tried using two buttons; one to store all the selected nodes in a hidden html.Div, and unselect all the nodes. and a second one that deletes the nodes?

If you provide an example it would be very easy for me to test out this solution.

Yes- I will on Monday. Sorry- my current code atm is pretty complex due to other dependencies - I shall simplify before sharing. But I'll do so asap.
I actually think that your solution might work. So I can use a combination of tapNodeData and delete pushbutton, and remove the use of the selectedNodeData completely.

No - nevermind. Maybe it won't work - now that I think deeper. I'll share my use case soon to make my point more clear. Thanks.

For now let me share the gif of what I am experiencing to give a better picture:

I depend on the selectedNodeData list to see if any node is selected. If no node is selected, I want to display an empty screen like shown in the gif. As you can see, once I delete the node, it retains it in memory and unhides the context Div for the 'deleted' component, when no component is selected.
In my case, even if I keep a track of selected node, since there is no trigger for unselecting using 'tapNode' or 'tapNodeData', I wont be able to make it work- atleast that's my thinking at the moment.

What if you store the list of deleted nodes in a hidden html.Div, and trim the selectedNodeData list every time you need to use it by removing all the deleted nodes? e.g.
@app.callback(Output(...),
    [Input('deleted-node-div', 'value'),
     Input('cytoscape', 'selectedNodeData')]
)
def func(deleted_nodes, selectedNodeData):
    for key in selectedNodeData:
        if key in deleted_nodes:
            selectedNodeData.pop(key)

Obviously a pseudocode, but it could be a quick fix for your situation

If this workaround solves your problem, please do not close this issue. The team will close this when the actual problem has been fixed.

 Cool- that might work. If selectedNodeData was editable, I was intending to manually flush the nodes in limbo.
Thanks very much @xhlulu . Yes I shall not close the thread and keep an eye on this issue.

Thank you. In the meantime feel free to share a reproduceable example if you have the time.

I was able to reproduce your error. I was able to fix it by tweaking the source code. Here's the branch where I brought the changes: https://github.com/plotly/dash-cytoscape/tree/element-removal
I added an example app here. Here's what it looks like:

please look at the contributing.md file to see how to use the package locally

Wow great! I still haven't managed to figure out to use the packages locally- I really also want to trial out the extra layout options. Maybe I'll sit through it today and see.


Remove utf-8 header

Closes #578.
This header was not necessary. I am only removing the header from the *.py files

Merging thanks a lot!
FYI I think the important part is that the utf-8 is the first line (at least before the frontmatter) so that it does not appear in the rendering. It will probably be added again by make exercises but that's fine ...

FYI I updated the notebooks so that the FUN MOOC can benefit from it.


Bitwarden Integration

Task/Issue URL: https://app.asana.com/0/72649045549333/1202684343604567/f
Tech Design URL: https://app.asana.com/0/481882893211075/1202715202076385/f
https://app.asana.com/0/481882893211075/1202870974810231/f
CC: @samsymons
Description:
This PR brings BSK changes necessary for Bitwarden integration into macOS app and verifies iOS app is not influenced by the integration at all.

Steps to test this PR:

Test autofill, saving credentials and updating credentials
Make sure there is no issue related to autofill caused by BSK changes

OS Testing:

[ ] iOS 14
[ ] iOS 15
[ ] iOS 16

Internal references:
Software Engineering Expectations
Technical Design Template
When ready for review, remember to post the PR in MM

I've been running into issues with the Bitwarden/DDG integration on macOS and was wondering is here the right place to raise them?

Hey @jdhauck! Thanks for bringing this up. The easiest way to deliver feedback to the macOS team is to use the feedback form in the app - you can find this by clicking the "..." button and selecting "Send Feedback".

Hi @samsymons. Thank you, I  just submitted them through the feedback button. It seems there is no way to follow up with that though, or is there?
Fwiw, I have thus also created a reddit post:    https://www.reddit.com/r/duckduckgo/comments/13v64gu/duckduckgobitwarden_integration_problems_in_ddg/
Keep up the good work :)


UI beautification

Is there official UI beautification schedule? The control UIs now are so ordinary！

You can use fluent theme in 0.10.0-preview6 also take a look at https://github.com/AvaloniaUI/XamlControlsGallery

You can use fluent theme in 0.10.0-preview6 also take a look at https://github.com/AvaloniaUI/XamlControlsGallery

Cool! Thanks a lot!

You can use fluent theme in 0.10.0-preview6 also take a look at https://github.com/AvaloniaUI/XamlControlsGallery

is there a control for markdown txt to html for text edit and html preview?

@dayAndnight2018
There is new markdown control from community. I haven't tried it, but it looks good.
https://github.com/whistyun/Markdown.Avalonia
And I think the newest WebView implementation using Chromium is this one:
https://github.com/CefNet/CefNet
Also if you need rich text editor, you may be interested in this:
https://github.com/AvaloniaUI/AvaloniaEdit
There are more control here:
https://github.com/AvaloniaCommunity/awesome-avalonia

@dayAndnight2018
There is new markdown control from community. I haven't tried it, but it looks good.
https://github.com/whistyun/Markdown.Avalonia
And I think the newest WebView implementation using Chromium is this one:
https://github.com/CefNet/CefNet
Also if you need rich text editor, you may be interested in this:
https://github.com/AvaloniaUI/AvaloniaEdit
There are more control here:
https://github.com/AvaloniaCommunity/awesome-avalonia

so warm-hearted ! Thanks a lot!

@maxkatz6 not sure who owns  https://github.com/AvaloniaCommunity/awesome-avalonia but could we add the Markdown component ? I was looking for one and didn't see it on this page

@fforjan somebody needs to create PR into this repo. @whistyun may want to do it.

@fforjan somebody needs to create PR into this repo. @whistyun may want to do it.

I alse have a suggestion we may collect main materials about Avalonia development to one place! It is difficult to find a reliable solution for Avalonia development！

My first step to Avalonia! (https://github.com/dayAndnight2018/AvaloniaRelated)


STORM-1148 - Removed references to incubator in URLs.

Duplicates [https://github.com/apache/storm/pull/828]

@rmkellogg could you please close this pull request as the other pull already covered this.


New version: SavitzkyGolay v0.6.2

Registering package: SavitzkyGolay
Repository: https://github.com/lnacquaroli/SavitzkyGolay.jl
Created by: @lnacquaroli
Version: v0.6.2
Commit: 8b6cec414511903df2d95a3f3d6273d0b44954ab
Reviewed by: @lnacquaroli
Reference: https://github.com/lnacquaroli/SavitzkyGolay.jl/commit/8b6cec414511903df2d95a3f3d6273d0b44954ab#commitcomment-76169771
Description: Implementation of the 1D Savitzky-Golay filter in JuliaLang

@lnacquaroli did you skip a version number on purpose?  What do you want to do?
[noblock]

Hi, sorry for the noise. Yes, I skipped a version on purpose (or by mistake). In any case, it's OK to merge.
Thanks!


Iphone wkwebview play video, and then shrink the page will appear card Dayton

Iphone wkwebview play video, and then shrink the page will appear card Dayton

I can not understand you.

猜下蛤 Dayton是代顿 shrink是收缩
使用逐字翻译: iphone wkwebview 播放 视频，然后 缩小 页面 将会 出现 卡 代顿
so i guess, what he what to say is
when using WKWebView on iPhone, resizing this view will cause lagging
怕是国产渣翻译受害者
所以说为啥非要英文啊 中文不一样好么
d' u think ur user is major English speaker?


Request mapping not working in desired way.

I have posted a question in stackoverflow. Would be grateful if anyone could help me out.
https://stackoverflow.com/questions/50511756/requestmap-not-working-in-grails-as-expected
Grails version 2.3.4 Spring security plugin : compile ":spring-security-core:2.0-RC2"

@vinaykr91 , I believe you would need to define all Roles which may access the URL.
For example:
new Requestmap(url: '/admin/user/**', configAttribute: 'ROLE_ADMIN,ROLE_SUPERVISOR').save()

You may read more about it at http://grails-plugins.github.io/grails-spring-security-core/2.0.x/guide/requestMappings.html#requestmapInstances

Can you please explain why /** given for ROLE_ADMIN is not working?
If ROLE_ADMIN  has /** and ROLE_TEST has  /customer/** then both admin and test user should be able to access customer page right?

/** for ROLE_ADMIN is not working the way you expect it to because the plugin calculates the most specific rule that applies to the current request.
/customer/** is more specific than /** so the associated role of  ROLE_TEST is applied.

In Bootstrap.groovy, I am giving /** to admin. Before giving  /customer/** to test user , admin can access all pages (including customer). When I add a new request map for test user with  /customer/**, only test user can access it and not admin

because the plugin calculates the most specific rule that applies to the current request.

is there anything that I can do to override this?

In Bootstrap.groovy, I am giving /** to admin. Before giving /customer/** to test user

When working with RequestMaps, the order in which these are created is irrelevant.  What's important is the specificity of the rule.
The easiest solution, and my recommendation to you, is use Requestmap as it was designed.  This means, when overriding general rules with more specific ones, all roles which are granted access to the more specific rule must be defined.
If you wish to modify the way rules are applied, you will need to modify the plugin and publish locally for your use.
Another approach to take would be to think about how users will be accessing your application, then create groups with roles to accommodate the access.  This will allow you to specify one group in place of many roles.

When working with RequestMaps, the order in which these are created is irrelevant. What's important is the specificity of the rule.

The easiest solution, and my recommendation to you, is use Requestmap as it was designed. This means, when overriding general rules with more specific ones, all roles which are granted access to the more specific rule must be defined.
If you wish to modify the way rules are applied, you will need to modify the plugin and publish locally for your use.
Agreed. I had not understood how this feature was intended to work . Thanks for clearing it up.

Another approach to take would be to think about how users will be accessing your application, then create groups with roles to accommodate the access
Is there any built in feature in the plugin like creating groups with roles?  I did not find it iin the documentation.

Here's some documentation on groups.  Hope this helps!
https://grails-plugins.github.io/grails-spring-security-core/3.2.x/index.html#authorityGroupClass

Thank you. This has been most helpful.

springSecurityService.clearCachedRequestmaps() has to reset request map(database table), but it is not happening on when we have two different servers on different nodes are pointed on the same database.
it took some time to refresh the dynamic intercept request map.


feat: add BitVec.neg_neg

.. as well as neg_neq_iff_neq_neg.

Draft PR to indicate that @bollu or @alexkeizer should maybe double-check my style choices before Kim does his review.

I am currently still unhappy with the BitVec.neg_neg proof, as the explicit use of Nat.mod_eq_of_lt is something that comes up very often also in other proofs and is always tedious to write:
theorem neg_neg {x : BitVec w} : - - x = x := by
  by_cases h : x = 0
  · simp [h]
  · simp only [toNat_eq, ofNat_eq_ofNat, toNat_ofNat, Nat.zero_mod] at h
    simp only [toNat_eq, toNat_neg]
    rw [Nat.mod_eq_of_lt (a := 2 ^ w - x.toNat) (by omega)]
    rw [Nat.mod_eq_of_lt (by omega)]
    omega

I found a neat way to clean this up with two helper theorems sub_toNat_mod_cancel and sub_sub_toNat_cancel.

This is now clean from my perspective and ready to review.


Show a hover over "Disconnected/Connected" label for the connection icon in the toolbar

For #

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.
[x] Has a news entry file (remember to thank yourself!).
[x] Appropriate comments and documentation strings in the code.
[x] Has sufficient logging.
[x] Has telemetry for enhancements.
[x] Unit tests & system/integration tests are added/updated.
[x] Test plan is updated as appropriate.
[x] package-lock.json has been regenerated by running npm install (if dependencies have changed).
[x] The wiki is updated with any design decisions/details.

The connection icon in the Notebook toolbar (on the top right corner), it displays red icon for Disconnected and green for Connected but does not show not show anything when you hover over it. This PR shows "Connected/Disconnected tooltip" on hovering over that icon

You do need a news entry so we can resolve the issue. Look in the news folder for examples. It's just an md file with a number that matches the item you're resolving.

Codecov Report

Merging #13544 into master will decrease coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master   #13544      +/-   ##
==========================================
- Coverage   59.77%   59.72%   -0.05%
==========================================
  Files         670      670
  Lines       37378    37412      +34
  Branches     5361     5369       +8
==========================================
+ Hits        22343    22346       +3
- Misses      13876    13901      +25
- Partials     1159     1165       +6

Impacted Files
Coverage Δ

src/client/common/utils/localize.ts
96.21% <100.00%> (+0.01%)
:arrow_up:

src/client/common/utils/platform.ts
64.70% <0.00%> (-11.77%)
:arrow_down:

src/client/datascience/crossProcessLock.ts
79.41% <0.00%> (-11.77%)
:arrow_down:

src/client/linters/pydocstyle.ts
86.66% <0.00%> (-2.23%)
:arrow_down:

src/client/datascience/debugLocationTracker.ts
76.56% <0.00%> (-1.57%)
:arrow_down:

src/client/datascience/notebook/helpers/helpers.ts
39.41% <0.00%> (-1.47%)
:arrow_down:

src/client/common/process/proc.ts
14.49% <0.00%> (-0.73%)
:arrow_down:

src/client/datascience/raw-kernel/rawSession.ts
6.57% <0.00%> (-0.37%)
:arrow_down:

...ascience/jupyter/liveshare/guestJupyterNotebook.ts
9.28% <0.00%> (-0.14%)
:arrow_down:

src/client/datascience/jupyter/jupyterNotebook.ts
4.23% <0.00%> (-0.02%)
:arrow_down:

... and 3 more

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 eb6736f...fcbbfce. Read the comment docs.

You do need a news entry so we can resolve the issue. Look in the news folder for examples. It's just an md file with a number that matches the item you're resolving.

Just did that :)


Question: Can Hero work with QLPreviewController?

I tested latest Hero release but it says Preview is not supported by default Hero animation styles. Have you try it on QuickLook before? Thanks for the guidance.

I have never tried QLPreviewController. But if it is a UIViewController subclass then it should be supported.


Crash with "Platformer - Alpha, need testers."

Problem Description
When playing with the mod  "Platformer - Alpha, need testers.", opening the factory planner tab makes the game crash to main menu. I'm guessing it's caused by the removal of trains (and thus cargo wagons) from the game.
Error log below
The mod Factory Planner (2.0.16) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event factoryplanner::on_gui_click (ID 1)
factoryplanner/ui/components/item_views.lua:165: attempt to index local 'default_cargo_wagon' (a nil value)
stack traceback:
factoryplanner/ui/components/item_views.lua:165: in function 'rebuild_data'
factoryplanner/ui/base/main_dialog.lua:103: in function 'rebuild'
factoryplanner/ui/base/main_dialog.lua:116: in function 'toggle'
factoryplanner/ui/base/main_dialog.lua:49: in function 'interface_toggle'
factoryplanner/ui/base/main_dialog.lua:186: in function 'handler'
factoryplanner/ui/event_handler.lua:173: in function <factoryplanner/ui/event_handler.lua:121>
Reproduction

Start the game with "Platformer - Alpha, need testers." and Factory planner enabled
Start a new save
Open the factory planner tab

I'm kind of confused, both the oldest and newest releases have cargo wagons, at least on the backend. I'm guessing things might be changing rather quickly with the mod. I am happy to fix my crash if it's caused by non-existant trains, but I do need an actual mod that causes it 😅 So if it's okay at the moment, I'll consider it resolved until further notice.


Fix Pages directory resolution

fix: Correctly resolve directories for 'wrangler pages publish'
Previously, attempting to publish a nested directory or the current directory would result in parsing mangled paths which broke deployments. This has now been fixed.
Fixes #938

@GregBrimble
/home/runner/work/wrangler2/wrangler2/packages/wrangler/src/__tests__/pages.test.ts
Warning:   14:1   warning  `node:process` import should occur before import of `./helpers/mock-account-id`  import/order
Error:   14:17  error    'cwd' is defined but never used                                                  unused-imports/no-unused-imports
Warning:   15:1   warning  `node:path` import should occur before import of `./helpers/mock-account-id`     import/order
Error:   15:10  error    'basename' is defined but never used                                             unused-imports/no-unused-imports
Error:   15:[20](https://github.com/cloudflare/wrangler2/runs/6985003870?check_suite_focus=true#step:7:21)  error    'join' is defined but never used                                                 unused-imports/no-unused-imports
/home/runner/work/wrangler2/wrangler2/packages/wrangler/src/pages/upload.tsx
Error:   254:30  error  'resolve' is already declared in the upper scope on line 2 column 45  no-shadow
Error:   315:[26](https://github.com/cloudflare/wrangler2/runs/6985003870?check_suite_focus=true#step:7:27)  error  'resolve' is already declared in the upper scope on line 2 column 45  no-shadow


MDC and MDIO pins undefined for Ethernet example in esp32

CONFIG_PHY_SMI_MDC_PIN and CONFIG_PHY_SMI_MDIO_PIN declarations not found in Ethernet example.
Please let me know where should it be found?

Prefix CONFIG_ usually points to the menuconfig.
Looking inside Kconfig.projbuild there are:

PHY_SMI_MDC_PIN - https://github.com/espressif/esp-idf/blob/3bd3640d60a0aff719470dd870d8ef3527ee9953/examples/ethernet/ethernet/main/Kconfig.projbuild#L42
PHY_SMI_MDIO_PIN - https://github.com/espressif/esp-idf/blob/3bd3640d60a0aff719470dd870d8ef3527ee9953/examples/ethernet/ethernet/main/Kconfig.projbuild#L48

After running make menuconfig, an include file sdkconfig.h is being generated.
Search your build\include directory for this file.
Inside you should find declarations CONFIG_PHY_SMI_MDC_PIN and CONFIG_PHY_SMI_MDIO_PIN, you are looking for.

Hi @Nakul93, did the above suggestion help you resolve the issue?

Yes it did thank you!!


Remove referenced projects from multiroot data file

We only build and test swift-tools-support-core with this multiroot-data-file, so there’s no reason why it should include any other projects.
This should fix the CI failures on macOS.

@swift-ci Please test

@swift-ci test windows


Stopwatch timing inaccurate on various machines

We've noticed the stopwatch time to be slow/inaccurate on most of our installs of 3.2.2+6688-stable-7417d2a0
How slow/innaccurate isn't consistent between machines.
To test, I'm starting and stopping the stopwatch with a 120000ms delay, so I expect 2m0s0ms on the stopwatch. The 120000ms delay is accurate, measured with a realtime clock and external stopwatch.
Desktop Windows 11 Pro / Intel Pentium Silver N6005: 1m35s600ms
Desktop Windows 11 Pro / Intel Atom N100: 1m36s150ms
Desktop macOS Ventura 13.6.5 / M1 Max: 1m57s450ms
Laptop Windows 11 Pro / Intel Core i7 1255U: 1m58s800ms
Desktop Windows 11 Pro / AMD Ryzen 7940HS: 1m59s150ms
Desktop Windows 11 Pro / Intel Core i7 13900k: 1m59s500ms
Seems to depend on processors.

I just pushed v1.0.3 of the module with some performance improvements.


/construction/metadata/

this is returning 500 for me after the upgrade to v.0.7.0
curl --location --request POST '{{url}}/construction/metadata' \
--header 'Content-Type: application/json' \
--data-raw '{
    "network_identifier": {
        "blockchain": "Filecoin",
        "network": "testnetnet"
    },
    "options": {
        "idSender": "t1zdqprv6ryul3md3xiqpsczpui7xmqwjztvhirsy"
    }
}'

{
    "code": 44,
    "message": "unable to estimate gas limit",
    "retriable": false
}

If you pass the sender address you also need to pass the receiver's.
Lotus needs both to get a good estimate on gas fees.
Check out: https://filecoinproject.slack.com/archives/G015X3KLKB6/p1599255450028700
From rosetta-proxy perspective, there are two ways of getting gas fees:

Providing sender & receiver: most accurate estimates for gasLimit, gasPremium and gasFeecap.
Not providing any address: without that info Lotus can only provide an estimate for gasPremium

Maybe a good idea would be to return, in this case, another error code like "cannot estimate gas, receiver address is missing"

reporting another issue with the construction/metadata
curl --location --request POST 'http://<IP_ADDRESS>:8080/construction/metadata' \
--header 'Content-Type: application/json' \
--data-raw '{
    "network_identifier": {
        "blockchain": "Filecoin",
        "network": "testnetnet"
    },
    "options": {
        "idSender": "t1davxd5spqeb5mts45e2v2xqkhwx2ayvzjqeydvi",
        "idReceiver": "t1hif7sm5jm7qfspiolo5ovmuyarfr2zzgbdr3qzi"
    }
}'

{
    "code": 44,
    "message": "unable to estimate gas limit",
    "retriable": false
}

I've replaced our integration test with those addresses and it's working. Maybe the node was syncing and it couldn't estimate gas because of that ?
On the PR #62 I'm adding an extended Error obj with the underlying Lotus's error message. This should help clarify these situations.

Appreciated! This seems intermittent, which is more annoying. I hope we can always reproduce...

Another issue with fee estimation is that the gasLimit seems to be very low and results in out of gas failure on chain... here is a sample transaction we made using the fee estimated by the construction/metadata endpoint. We are getting SysErrOutOfGas according to the explorer
https://filfox.info/en/message/bafy2bzacebrh2lc6fv3cv3atwmulawm44j2ixieikpixk7ihvrptkkeqbzwb4

Yes, It happened to me a few times. I've asked FIlecoin about that issue and followed their recommendation of using GasEstimateMessageGas though, but seems that in certain cases it falls a little short on gasLimit.
I'll dig in more to check what's happening.

I'll close this issue, we'll keep tracking gas estimation issues on #52 since this is all external dep.


keeps asking authorization even after success authorazion

It works as it should except that user is always asked for authorization even the slack app is already authorized. I tried with and without team parameter as well.

@Skalkaz change profileUrl & scope in your strategy config:
	profileUrl: 'https://slack.com/api/users.identity?token=',
	scope: 'identity.basic',

@felixexter I've tried the above entering the profileUrl and scope in config and I still keep getting asked for authorization.


Support multiple merchant for a given payment provider

see wiki

Business model should be taken into account.
For example, when using WeChat Pay, which one fits the business scenario? The service provider mode or multiple merchant.
Need to collect more cases


@Autowiring into lazy proxy causes infinite loop and Stackoverflow error

We encountered really strange problem (happened only for certain developers) which caused following stack trace when fetching token from /oauth/token endpoint:
java.lang.StackOverflowError
    sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:606)
    org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
    org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
    org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
    org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
    org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
    com.sun.proxy.$Proxy120.getAccessToken(Unknown Source)
    sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:606)

Error occured only when credentials were correct and "AuthorizationServer" tried to access TokenStore which in our case was JdbcTokenStore. Meaning that for example with bad credentials server was able to response {
"error":"invalid_grant",
"error_description":"Bad credentials"
}
I was able to fix this problem by removing @Autowired Tokenstore and creating it locally like this:
private TokenStore tokenStore;

 @PostConstruct
 private void init(){
         tokenStore = new JdbcTokenStore(dataSource);
  }

@Override
        public void configure(OAuth2AuthorizationServerConfigurer oauthServer) throws Exception {
            oauthServer.allowFormAuthenticationForClients().tokenStore(tokenStore)
                    .authenticationManager(authenticationManager).realm("woodforce/client");
        }

TokenStore was earlier defined in another Config class with @Bean annotation and autowired to class above which then cause stack overflow error.
We are running our auth server on Tomcat 7.0.47 with JRE <IP_ADDRESS> and building with Maven 3.1.1.
Oh and we are using M4 version of oauth with latest Spring (4.0.2) & Spring Security (3.2.3) versions.
Not too critical issue because we were able to get around it but reported now anyways.

Hi. This is similar to the error I encountered. Though we are able to get the authenticate user; but to get the primary key of the user record which we need to save in the audit trail, we encountered infinite loop or stackoverflow error.  The error occurs in saving One-To-Many and Many-To-Many.  I provided detailed code, debug and error logs for your reference.
Kindly refer to my post in StackOverflow:
https://stackoverflow.com/questions/71050524/stackoverflow-error-in-audit-using-auditoraware-when-saving-one-to-many-many-to
Thank you very much.


Add ability to manually specify SCM when adding a component

When adding a component, the existing functionality will scan the URL and base the SCM type off of that. This works for most use-cases but particularly when managing a self-hosted instance the URL may not comply with the standard formats implemented here: https://github.com/spotify/backstage/blob/master/plugins/register-component/src/components/RegisterComponentPage/RegisterComponentPage.tsx#L94
Feature Suggestion
Add a drop-down selection that is initially null, but can be used to manually override the detected SCM.
Possible Implementation
Bind select element to pre-defined URL formatters (for when we add support for more SCM).
Context
Adding an existing component on a self-hosted GitLab instance that does not conform with the standard self-hosted URL.

Closing after PR merge


Sneaky way to update an object property without setting defaults (clickable for laser pointer)

It would be nice (certainly not a priority) if there was a way to create an object in arena-py that didn't actually set any parameters on initialization.  One use-case would be setting a clickable callback on an object without having to get/maintain its state from the persistence DB.  Right now, if you address an object by name it looks like the create function publishes default values in terms of type and location.  This would move an existing object and/or change its type.

v0.1.0+ should no longer set "unneeded" defaults for objects.


Does not support pure Dart packages

Hi thanks for the code generator! However, I need it in pure Dart packages (as well as Flutter packages), but the generator generates code with import 'package:flutter/widgets.dart';, which is impossible for dart packages.
Talking about #63, maybe we can create two supportive packages (instead of one), one for dart, one for flutter-specific features.

There is a flag locale_handling: false to disable generation of LocaleSettings and other wrappers.
Maybe we can add a dart_only: true flag which is basically the same as locale_handling: false but also removes some util functions which need flutter

I am currently trying to refactor things into dart package and flutter package. Then for, say, a my_library pure-dart package, both pure-Dart packages and Flutter packages can use it happily. The pure-Dart consumers will only use dart-related apis, while the Flutter consumers will enjoy extra Flutter-related apis.


Some breaking change when update to element plus 1.2.0-beta.2

Looks like there are some breaking change after updating to element plus 1.2.0-beta.2. Button icon cannot be rendered (the same to navigation icon).
https://github.com/element-plus/element-plus/discussions/4060

fixed it


HM: lost internet connectivity -> don't remove QR

When losing internet connectivity before uploading a file, it make sense to hide the upload widgets.
But when the file has already been uploaded, and QR-code is displayed, then we should ignore the "lost internet" event, and keep the QR on screen.
The mobile device may still have a perfectly cromulent connectivity on its side.

Related: #475


add initOnce

uses double-checked locking (the correct one)

all instances shared the same global mutex

minimal overhead and simple API

Anything left to do?

Ping again

LGTM

Someone merge this please?

Auto-merge toggled on


fix extra triggering mouse leave on child elements

copied from pointer_event_aware
discussion starts here

Before I merge it - could you please check whether there isn't the same problem within the "true branch"? (Or why there is not?).
In other words - I'm just not quite sure why there is problem only with mouseleave and not with mouseover. And I don't remember clearly why I've chosen mouseover over mouseenter. It was and still is a bit messy so I would like to have it implemented correctly and another pair of eyes could help a lot here :)

(Also please rename the commit, I rebase PRs and fix is too general, thanks!)

this is no longer reproducible on main both
El::new()
.on_hovered_change(|is_hovered| eprintln!("{}", is_hovered))
.child(El::new().child("text"))

and
El::new()
.child(
    El::new()
    .on_hovered_change(|is_hovered| eprintln!("{}", is_hovered))
    .child("text")
)

print true false as expected
but i found an adjacent issue with mouseenter, which retriggers on children e.g. hovering across this
El::new()
.s(Borders::all(Border::new()))
.s(Align::center())
.s(Padding::all(10))
.on_hovered_change(|is_hovered| println!("{}", is_hovered))
.child(El::new().child("text"))

prints true true true false, as opposed to true false as expected, also using the mouseleave strategy doesn't work ...

potentially relevant thread from Pauan https://discord.com/channels/716581000800632853/716581000800632856/1147724389115232286, .on_hovered_change uses MouseLeave, but uses MouseOver instead of MouseEnter

Closing in favor of PR https://github.com/MoonZoon/MoonZoon/pull/183


Version compatibility with KernelDensity.jl

Hi
I am trying to install GpABC. Unfortunately, there is a version compatibility issue with KernelDensity.jl (GpABC requires 0.5.0-0.5.1), but I have a requirement for 0.6.3 from other packages. What's the best approach to solve this? Thanks

KernelDensity.jl dependency version bumped in the most recent release of GpABC.jl


Issues with libraries

Im using material-ui to create my components, every time I click on something like a menu or a radio button that is supposed to change the view somehow I get:
Uncaught Error: addComponentAsRefTo(...): Only a ReactOwner can have refs.
I wonder if this is a conflict with this particular library or if other react libraries suffer the same with nextjs.

@nsantini Any luck integrating Material-UI? I am facing a Maximum call stack size exceeded error when implementing a RaisedButton component.

Haven't been able to make it work with material-ui, I have been able to make it work with react-bootstrap though.

I got slightly further with react-toolbox, but without webpack to load the SASS, it won't work. One idea would be to convert all the SASS into CSS and then insert them into the page via <HEAD>. Haven't tried it though.

Hi Nicolas!  I love your name it's fun to say!!
Get Outlook for Android
On Sun, Oct 30, 2016 at 6:20 PM -0700, "Nicolas Santini"<EMAIL_ADDRESS>wrote:
Haven't been able to make it work with material-ui, I have been able to make it work with react-bootstrap though.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Ran into this issue as well with material-ui... confused as to what the source might be though

Has anybody succeeded with any of the existing UI toolkit using Next.js?

FYI, I have just reported an issue, which seems to reveal the root cause of the issue we encounter in most of the UI toolkits: https://github.com/zeit/next.js/issues/204. Please, have a look and maybe you will have a good guess of how this can be fixed.

I have succeeded in hacking Next.js to work with React-MD in #221, and it can be also hacked to work with Material-UI, but I have no idea on how to solve the hacks as I have a very little experience with NodeJS world. Thus, I put all my findings into the comments to the PR. I hope somebody will make sense out of my proof of concept and implement a proper PR.

@nsantini how did you manage to get react-bootstrap working?

@jonaswindey for me, it just worked... what sees to be your issue?

@mattapperson there's no styling applied, for instance to the default , even with bsStyle="info"

@jonaswindey did you add the css from react-bootstrap?

@jonaswindey you got it, boostrap is different than matarial-ui in that css is separate and uses className to apply styles, material-ui uses inline styling applied to the components

In general I recommend you load the CSS through <Head> (more on this technique here: https://github.com/zeit/next.js/wiki/Global-styles-and-layouts), but as you can probably guess, the strength of Next.js is in using libraries that already bundle the CSS intelligently.
The reason for this is obvious: why ship more CSS than is actually needed? eg: why ship an entire stylesheet of tools, inputs, textareas, radio buttons if you're only going to use a dropdown menu in a certain page?
For an example of this mindset check out http://jxnblk.com/rebass/ by @jxnblk

Rebass is a React UI component library that uses inline styles to avoid CSS dependencies and prevent leaky global styles from affecting an application. Rebass components inherit styles where appropriate and can be customized using React Context. Rebass components are built as stateless functional components and modeled as presentational components

That said, our goal is to make the framework work with everything that works with React. For that we're exposing the webpack / babel config you can extend. The method we're going with is: #222

Custom webpack config is now supported: https://github.com/zeit/next.js#customizing-webpack-config
@nsantini is this still an active issue? Otherwise it can be closed ❤

Closing in favor of custom webpack config. If your issue is not solved. Please do re-open this one. Or create a new one 👍

@timneutkens I am not sure what to do with my custom webpack config to fix this issue. https://github.com/zeit/next.js/issues/232

@cyrus-za do you manage to solve the issue with injectTapEventPlugin?

var reactDomLibPath = path.join(__dirname, "./node_modules/react-dom/lib");
var alias = {};
["EventPluginHub", "EventConstants", "EventPluginUtils", "EventPropagators",
 "SyntheticUIEvent", "CSSPropertyOperations", "ViewportMetrics"].forEach(function(filename){
    alias["react/lib/"+filename] = path.join(__dirname, "./node_modules/react-dom/lib", filename);
});

config.resolve = {
      alias: alias
    }

This helps

Thanks @vozni4iy that helps

+1
Getting RangeError: Maximum call stack size exceeded on RaisedButton for the following line:
var styles = getStyles(this.props, this.context, this.state);                                                    // 298


Unable to make kustomize work with go 1.18

Report
Looks liek something changef in go get and go-get-tool no longer works?
aslom@m:~/Documents/awsm/go/src/github.com/kedacore/keda|main⚡ ⇒  git pull
Already up to date.
aslom@m:~/Documents/awsm/go/src/github.com/kedacore/keda|main⚡ ⇒  git rev-parse HEAD
99619e3a8b52dfa3e70a525c94b204dbf9e03028
aslom@m:~/Documents/awsm/go/src/github.com/kedacore/keda|main⚡ ⇒  go version
go version go1.18.1 darwin/amd64
aslom@m:~/Documents/awsm/go/src/github.com/kedacore/keda|main⚡ ⇒  make kustomize
go: creating new go.mod: module tmp
Downloading<EMAIL_ADDRESS>go: added cloud.google.com/go v0.38.0
go: added github.com/Azure/go-autorest/autorest v0.9.0
go: added github.com/Azure/go-autorest/autorest/adal v0.5.0
go: added github.com/Azure/go-autorest/autorest/date v0.1.0
go: added github.com/Azure/go-autorest/logger v0.1.0
go: added github.com/Azure/go-autorest/tracing v0.5.0
go: added github.com/PuerkitoBio/purell v1.1.1
go: added github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578
go: added github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a
go: added github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: added github.com/davecgh/go-spew v1.1.1
go: added github.com/dgrijalva/jwt-go v3.2.0+incompatible
go: added github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633
go: added github.com/evanphx/json-patch v4.9.0+incompatible
go: added github.com/go-errors/errors v1.0.1
go: added github.com/go-openapi/analysis v0.19.5
go: added github.com/go-openapi/errors v0.19.2
go: added github.com/go-openapi/jsonpointer v0.19.3
go: added github.com/go-openapi/jsonreference v0.19.3
go: added github.com/go-openapi/loads v0.19.4
go: added github.com/go-openapi/runtime v0.19.4
go: added github.com/go-openapi/spec v0.19.5
go: added github.com/go-openapi/strfmt v0.19.5
go: added github.com/go-openapi/swag v0.19.5
go: added github.com/go-openapi/validate v0.19.8
go: added github.com/go-stack/stack v1.8.0
go: added github.com/gogo/protobuf v1.3.1
go: added github.com/golang/protobuf v1.3.2
go: added github.com/google/gofuzz v1.1.0
go: added github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
go: added github.com/googleapis/gnostic v0.1.0
go: added github.com/gophercloud/gophercloud v0.1.0
go: added github.com/hashicorp/errwrap v1.0.0
go: added github.com/hashicorp/go-cleanhttp v0.5.0
go: added github.com/hashicorp/go-multierror v1.1.0
go: added github.com/hashicorp/go-safetemp v1.0.0
go: added github.com/hashicorp/go-version v1.1.0
go: added github.com/inconshreveable/mousetrap v1.0.0
go: added github.com/json-iterator/go v1.1.8
go: added github.com/mailru/easyjson v0.7.0
go: added github.com/mattn/go-runewidth v0.0.7
go: added github.com/mitchellh/go-homedir v1.1.0
go: added github.com/mitchellh/go-testing-interface v1.0.0
go: added github.com/mitchellh/mapstructure v1.1.2
go: added github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: added github.com/modern-go/reflect2 v1.0.1
go: added github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00
go: added github.com/olekukonko/tablewriter v0.0.4
go: added github.com/pkg/errors v0.9.1
go: added github.com/pmezard/go-difflib v1.0.0
go: added github.com/qri-io/starlib v0.4.2-0.20200213133954-ff2e8cd5ef8d
go: added github.com/spf13/cobra v1.0.0
go: added github.com/spf13/pflag v1.0.5
go: added github.com/stretchr/testify v1.6.1
go: added github.com/ulikunitz/xz v0.5.5
go: added github.com/xlab/treeprint v0.0.0-20181112141820-a009c3971eca
go: added github.com/yujunz/go-getter v1.4.1-lite
go: added go.mongodb.org/mongo-driver v1.1.2
go: added go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5
go: added golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
go: added golang.org/x/net v0.0.0-20200625001655-4c5254603344
go: added golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
go: added golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd
go: added golang.org/x/text v0.3.2
go: added golang.org/x/time v0.0.0-20190308202827-9d24e82272b4
go: added google.golang.org/appengine v1.5.0
go: added gopkg.in/inf.v0 v0.9.1
go: added gopkg.in/yaml.v2 v2.3.0
go: added gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
go: added k8s.io/api v0.18.10
go: added k8s.io/apimachinery v0.18.10
go: added k8s.io/client-go v0.18.10
go: added k8s.io/klog v1.0.0
go: added k8s.io/kube-openapi v0.0.0-20200410145947-61e04a5be9a6
go: added k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89
go: added sigs.k8s.io/kustomize/api v0.6.5
go: added sigs.k8s.io/kustomize/cmd/config v0.8.5
go: added sigs.k8s.io/kustomize/kustomize/v3 v3.8.7
go: added sigs.k8s.io/kustomize/kyaml v0.9.4
go: added sigs.k8s.io/structured-merge-diff/v3 v3.0.0
go: added sigs.k8s.io/yaml v1.2.0
aslom@m:~/Documents/awsm/go/src/github.com/kedacore/keda|main⚡ ⇒  ls bin
controller-gen keda           keda-adapter   mockgen

aslom@m:~/Documents/awsm/go/src/github.com/kedacore/keda|main⚡ ⇒  make kustomize SHELL="/bin/bash -x"
+ go env GOBIN
+ go list -f '{{ .Dir }}' -m k8s.io/client-go
+ go list -f '{{ .Dir }}' -m sigs.k8s.io/controller-runtime
+ dirname /Users/aslom/Documents/awsm/go/src/github.com/kedacore/keda/Makefile
+ pwd
+ pwd
+ '[' -f /Users/aslom/Documents/awsm/go/src/github.com/kedacore/keda/bin/kustomize ']'
+ set -e
++ mktemp -d
+ TMP_DIR=/var/folders/tw/q5ywbn910mg4qpdbrsrfhlkc0000gn/T/tmp.bVeyr7oM
+ cd /var/folders/tw/q5ywbn910mg4qpdbrsrfhlkc0000gn/T/tmp.bVeyr7oM
+ go mod init tmp
go: creating new go.mod: module tmp
+ echo 'Downloading<EMAIL_ADDRESS>Downloading<EMAIL_ADDRESS>+ GOBIN=/Users/aslom/Documents/awsm/go/src/github.com/kedacore/keda/bin
+ go get<EMAIL_ADDRESS>go: added cloud.google.com/go v0.38.0
go: added github.com/Azure/go-autorest/autorest v0.9.0
go: added github.com/Azure/go-autorest/autorest/adal v0.5.0
go: added github.com/Azure/go-autorest/autorest/date v0.1.0
go: added github.com/Azure/go-autorest/logger v0.1.0
go: added github.com/Azure/go-autorest/tracing v0.5.0
go: added github.com/PuerkitoBio/purell v1.1.1
go: added github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578
go: added github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a
go: added github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: added github.com/davecgh/go-spew v1.1.1
go: added github.com/dgrijalva/jwt-go v3.2.0+incompatible
go: added github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633
go: added github.com/evanphx/json-patch v4.9.0+incompatible
go: added github.com/go-errors/errors v1.0.1
go: added github.com/go-openapi/analysis v0.19.5
go: added github.com/go-openapi/errors v0.19.2
go: added github.com/go-openapi/jsonpointer v0.19.3
go: added github.com/go-openapi/jsonreference v0.19.3
go: added github.com/go-openapi/loads v0.19.4
go: added github.com/go-openapi/runtime v0.19.4
go: added github.com/go-openapi/spec v0.19.5
go: added github.com/go-openapi/strfmt v0.19.5
go: added github.com/go-openapi/swag v0.19.5
go: added github.com/go-openapi/validate v0.19.8
go: added github.com/go-stack/stack v1.8.0
go: added github.com/gogo/protobuf v1.3.1
go: added github.com/golang/protobuf v1.3.2
go: added github.com/google/gofuzz v1.1.0
go: added github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
go: added github.com/googleapis/gnostic v0.1.0
go: added github.com/gophercloud/gophercloud v0.1.0
go: added github.com/hashicorp/errwrap v1.0.0
go: added github.com/hashicorp/go-cleanhttp v0.5.0
go: added github.com/hashicorp/go-multierror v1.1.0
go: added github.com/hashicorp/go-safetemp v1.0.0
go: added github.com/hashicorp/go-version v1.1.0
go: added github.com/inconshreveable/mousetrap v1.0.0
go: added github.com/json-iterator/go v1.1.8
go: added github.com/mailru/easyjson v0.7.0
go: added github.com/mattn/go-runewidth v0.0.7
go: added github.com/mitchellh/go-homedir v1.1.0
go: added github.com/mitchellh/go-testing-interface v1.0.0
go: added github.com/mitchellh/mapstructure v1.1.2
go: added github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: added github.com/modern-go/reflect2 v1.0.1
go: added github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00
go: added github.com/olekukonko/tablewriter v0.0.4
go: added github.com/pkg/errors v0.9.1
go: added github.com/pmezard/go-difflib v1.0.0
go: added github.com/qri-io/starlib v0.4.2-0.20200213133954-ff2e8cd5ef8d
go: added github.com/spf13/cobra v1.0.0
go: added github.com/spf13/pflag v1.0.5
go: added github.com/stretchr/testify v1.6.1
go: added github.com/ulikunitz/xz v0.5.5
go: added github.com/xlab/treeprint v0.0.0-20181112141820-a009c3971eca
go: added github.com/yujunz/go-getter v1.4.1-lite
go: added go.mongodb.org/mongo-driver v1.1.2
go: added go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5
go: added golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
go: added golang.org/x/net v0.0.0-20200625001655-4c5254603344
go: added golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
go: added golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd
go: added golang.org/x/text v0.3.2
go: added golang.org/x/time v0.0.0-20190308202827-9d24e82272b4
go: added google.golang.org/appengine v1.5.0
go: added gopkg.in/inf.v0 v0.9.1
go: added gopkg.in/yaml.v2 v2.3.0
go: added gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
go: added k8s.io/api v0.18.10
go: added k8s.io/apimachinery v0.18.10
go: added k8s.io/client-go v0.18.10
go: added k8s.io/klog v1.0.0
go: added k8s.io/kube-openapi v0.0.0-20200410145947-61e04a5be9a6
go: added k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89
go: added sigs.k8s.io/kustomize/api v0.6.5
go: added sigs.k8s.io/kustomize/cmd/config v0.8.5
go: added sigs.k8s.io/kustomize/kustomize/v3 v3.8.7
go: added sigs.k8s.io/kustomize/kyaml v0.9.4
go: added sigs.k8s.io/structured-merge-diff/v3 v3.0.0
go: added sigs.k8s.io/yaml v1.2.0
+ rm -rf /var/folders/tw/q5ywbn910mg4qpdbrsrfhlkc0000gn/T/tmp.bVeyr7oM
aslom@m:~/Documents/awsm/go/src/github.com/kedacore/keda|main⚡ ⇒

### Expected Behavior

make kusotmize working

### Actual Behavior

Build fails

### Steps to Reproduce the Problem

1. git pull
2. make kustomize

### Logs from KEDA operator

_No response_

### KEDA Version

2.6.1

### Kubernetes Version

1.21

### Platform

Any

### Scaler Details

_No response_

### Anything else?

Makes deploy CRDs and KEDA into keda namespace fail as it depends on make kustomize:
 https://github.com/kedacore/keda/blob/main/BUILD.md#custom-keda-locally-outside-cluster

For the moment, KEDA doesn't support go 1.18 because there are some gaps in the tooling. I have checked and kustomize should work with go 1.18 but maybe requires an update

I just hit this same issue with go 1.18 installed on my machine.
The fix is to use go install (instead of go get) in go-get-tool.  go install works on go 1.17 and 1.18.
However, 'kustomizev3 doesn't work withgo install`, and needs to be bumped to v4.  I don't know how the team feels about this last part.
But, I can put up an MR for you to look at.

Hey,
Sure, we can give a try to it :)


[documentation] Explain running with flux in more detail

Add a short explanation that flux start has to be called before users are able to use Flux with executorlib. Alternatively, use the custom jupyter kernel https://github.com/pyiron/executorlib/blob/main/binder/kernel.json

I've given it a try but I got the following error message [Errno 2] No such file or directory: 'flux'.
Steps I made:

Create a directory by: mkdir -p ~/.local/share/jupyter/kernels/flux
Insert the content of kerne.json into ~/.local/share/jupyter/kernels/flux/kernel.json
Replace /srv/conda/envs/notebook/bin/python by the content of which python
Restart Jupyter server
Choose Flux from the top right of the notebook

Do you have flux-core installed from conda?

Yes yes (otherwise it would be super awkward XD)

Is flux installed in a specific conda environment e.g. a different one than your jupyter lab server? In that case you might need the absolute path to the flux executable in the kernel.json file.

ah true... ok it was almost as awkward as not installing flux-core but at least my problem got resolved. Thanks!

The coupling of flux with jupyter is now covered in the installation section of the updated documentation https://executorlib.readthedocs.io/en/latest/installation.html#flux-with-jupyter


Black screen with no render

Hi,
I'm trying to run the app in debug mode but I only got a black screen

.
Do you have any idea about this issue?
Android Honor Huawei X7

Logs
Launching lib\main.dart on JSN L21 in debug mode...
lib\main.dart:1
Picked up _JAVA_OPTIONS: -Xmx4096M -Xms2048M
√  Built build\app\outputs\flutter-apk\app-debug.apk.
Connecting to VM Service at ws://<IP_ADDRESS>:50706/a5Nj7y1f-Oo=/ws
I/native  (13254): I20211005 22:25:15.217648 13254 asset_manager_util.cc:59] Created global reference to asset manager.
E/libEGL  (13254): validate_display:103 error 3008 (EGL_BAD_DISPLAY)
I/native  (13254): I20211005 22:25:15.239147 13254 gl_context_egl.cc:163] Successfully initialized EGL. Major : 1 Minor: 4
I/native  (13254): I20211005 22:25:15.243521 13398 gl_context.cc:331] GL version: 3.2 (OpenGL ES 3.2 v1.r18p0-01rel0.1ba20d94cbd7b05d6630eff84a60e5f7)
D/PermissionHelper(13254): checkAndRequestCameraPermissions
W/Gralloc3(13254): allocator 3.x is not supported
D/GlThread(13254): Starting GL thread ExternalTextureConverter
I/HiTouch_HiTouchSensor(13254): HiTouch restricted: Sub windows restricted.
D/HiTouch_PressGestureDetector(13254): onAttached, package=co.sotai.flutter_mediapipe_example, windowType=2030, mHiTouchRestricted=true
D/mali_winsys(13254): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
I/HwViewRootImpl(13254): removeInvalidNode all the node in jank list is out of time
I/flutter (13254): Android 10
D/AwareBitmapCacher(13254): handleInit switch not opened pid=13254
D/GlThread(13254): Starting GL thread ExternalTextureConverter
I/CameraManagerGlobal(13254): Connecting to camera service
D/CameraRepository(13254): Added camera: 0
I/Camera2CameraInfo(13254): Device Level: INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED
D/CameraRepository(13254): Added camera: 1
D/UseCaseAttachState(13254): Active and attached use case: [] for camera: 0
I/Camera2CameraInfo(13254): Device Level: INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED
D/UseCaseAttachState(13254): Active and attached use case: [] for camera: 1
2
D/CameraOrientationUtil(13254): getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=270, isOppositeFacing=false, result=270
D/DeferrableSurface(13254): Surface created[total_surfaces=1, used_surfaces=0](androidx.camera.core.SurfaceRequest$2@f1e79d8}
D/CameraXPreviewHelper(13254): Received surface request for resolution 1280x720
D/CameraOrientationUtil(13254): getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=270, isOppositeFacing=false, result=270
D/Camera2CameraImpl(13254): {Camera@91f4042[id=1]} Use case Preview:androidx.camera.core.Preview-43e42971-3681-49a7-a3db-48c842cd8244 ACTIVE
D/UseCaseAttachState(13254): Active and attached use case: [] for camera: 1
D/Camera2CameraImpl(13254): {Camera@91f4042[id=1]} Use cases [Preview:androidx.camera.core.Preview-43e42971-3681-49a7-a3db-48c842cd8244] now ATTACHED
Maybe "E/libEGL  (13254): validate_display:103 error 3008 (EGL_BAD_DISPLAY)" ?
Thanks!
PS: I've compiled the Selfie Segmentation GPU example APK from mediapipe and it works well on my smartphone.

Thank you for your report.
I am using Pixel4a by google. And I succeeded to show the face mesh on the device.
I am afraid I can't try it with Android Honor Huawei X7.