chore: update sql-sink docs to include upsert

@ozgrakkurt this doc should be automatically updated by this CI: https://github.com/infinyon/fluvio-website/actions/workflows/update-connector-docs.yml

I just triggered a run of that CI, but that basically fetches the readme from our connectors that are uploaded to the hub

I just triggered a run of that CI, but that basically fetches the readme from our connectors that are uploaded to the hub.
Update:
CI triggered and not pr created. It seems that the last version uploaded to hub for this connector does not include those changes in the README, maybe we should create a new version instead? @ozgrakkurt

Thanks! Yes the doc change was after publishing the connector.
I'll bump and publish new version tomorrow 👍

I just triggered a run of that CI, but that basically fetches the readme from our connectors that are uploaded to the hub.
Update:
CI triggered and not pr created. It seems that the last version uploaded to hub for this connector does not include those changes in the README, maybe we should create a new version instead? @ozgrakkurt

Thanks! Yes the doc change was after publishing the connector.
I'll bump and publish new version tomorrow 👍

we can take advantage and update fluvio version anyways

created PR: https://github.com/infinyon/sql-connector/pull/86

closing in favor of https://github.com/infinyon/fluvio-website/pull/660


503 Service unavailable

Hi, i am getting this error message while trying to authorize for polar flow api to get the data.
Any solution? Reply asap

I don't know how but it automatically worked when i reloaded the page after few mins


Implementation Guide

Hey Matt,
Finally got some 50-way edge connectors so I can finally build that board you gave me at the ACMS Amstrad day.  But I'm a bit hazy on the bare-minimum parts needed for the ROM management - I remember you said not everything was needed.
Could you provide more details on the basics needed, and also the process to load the Pico, etc.?  I'd like to make a video about it.
Thanks!
Brett.

Hi Brett. You can omit the LS688 and the USB module. I'll try to write some better documentation.
Matt

Thanks Matt.  I'll start building the board.  I've never used a Pico before - I can kind-of figure out ... maybe ... what needs to be done.  I'm guessing the Python script is used to compile all the separate ROM files into a single file, but not sure what do with the other stuff and how to get it onto the Pico (well, I could probably Google that).
But some clarification on what needs to be done with all the other stuff would be great!

I've updated the readme to include a section on software installation. Let me know how you go with that.

Looks good, I should be able to follow that, thanks!
I'll give it a try (eventually) on the Plus range as well.  I'm planning to make a simple/universal 50-way Centronics to edge connector PCB first, and if it works, modify your board slightly so the Centronics connector can be soldered directly to it (ordering a few straight-through and right-angle connectors).
Brett.

Got it built, going to look for some ROMs now and try to build the firmware.
I don't have a two-way switch handy for the PicoROM enable/disable - I assume I can just hardwire it as enabled?
Brett.

yes, you can. The switch is just to save removing the board.


Creeps not waking up during daytime

This is an interesting one. @SebastianTanoni can you confirm it's a bug?

It is a bug!


Setup markdown linting

probably something like here https://github.com/ing-bank/lion/pull/205/commits/c23fc22061678bc9b70e2c0ad5a56aee6e94afc2

Hi! Can I try doing this issue? 🙏

Sure thing :)

Thanks! I'll try to make pull request in the first week of October

How's progress going @Ania-chan ?

closed via https://github.com/open-wc/open-wc/pull/830


UI notifications from background script

When actions are executed in the service worker (e.g. add project, remove project) give the user feedback (success/failure).

#295


languagetool: 5.3 -> 5.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/LanguageTool/versions.
meta.description for languagetool is: "A proofreading program for English, French German, Polish, and more"
meta.homepage for languagetool is: "https://languagetool.org"
meta.changelog for languagetool is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/0x0lgrvxi03x98k8zhq9chbkm28xjmnf-LanguageTool-5.4/bin/languagetool passed the binary check.

/nix/store/0x0lgrvxi03x98k8zhq9chbkm28xjmnf-LanguageTool-5.4/bin/languagetool-commandline passed the binary check.

Warning: no invocation of /nix/store/0x0lgrvxi03x98k8zhq9chbkm28xjmnf-LanguageTool-5.4/bin/languagetool-server had a zero exit code or showed the expected version

/nix/store/0x0lgrvxi03x98k8zhq9chbkm28xjmnf-LanguageTool-5.4/bin/languagetool-http-server passed the binary check.

2 of 4 passed binary check by having a zero exit code.

2 of 4 passed binary check by having the new version present in output.

found 5.4 with grep in /nix/store/0x0lgrvxi03x98k8zhq9chbkm28xjmnf-LanguageTool-5.4

found 5.4 in filename of file in /nix/store/0x0lgrvxi03x98k8zhq9chbkm28xjmnf-LanguageTool-5.4

directory tree listing: https://gist.github.com/ae88ce43cf406b75fc12fad65dfd6ad4

du listing: https://gist.github.com/2bfe430f53a76a1268b5892831bc8117

Rebuild report (if merged into master) (click to expand)

5 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
languagetool
vimPlugins.lens-vim
vimPlugins.vim-grammarous

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0x0lgrvxi03x98k8zhq9chbkm28xjmnf-LanguageTool-5.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A languagetool https://github.com/r-ryantm/nixpkgs/archive/d1576d548a8a26939492f7965711d6a0fe2c8003.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0x0lgrvxi03x98k8zhq9chbkm28xjmnf-LanguageTool-5.4
ls -la /nix/store/0x0lgrvxi03x98k8zhq9chbkm28xjmnf-LanguageTool-5.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

languagetool
vimPlugins.lens-vim
vimPlugins.vim-grammarous

Maintainer pings
cc @edwtjo for testing.

Result of nixpkgs-review pr 128283 run on x86_64-linux 1

3 packages built:

languagetool
vimPlugins.lens-vim
vimPlugins.vim-grammarous


Responsive and multiple owlcarousel into the same page

Hi,
For some reason if I have more than one owlcarousel in the same page, the responsive object of the last carousel is applied to all of the other carousels.
I tried with different id selectors but the issue remain.
Any clue on this?

Sorry, never mind.
Was a plugin owl2row that caused the issue.


Allow the configuration of the default npm query url

I'd like to see a way to configure vs code to query a different npm repository. Many people are using private repositories to control access to their packages. For instance, a major provider is Verdaccio. https://verdaccio.org/
Allow us to configure the url to be something other than the default npm repository.

I'd like to see a way to configure vs code to query a different npm repository.

Can you please explain why do you want to do it and when?

Hi @sandy081. VS code provides some automatic integration with package.json dependencies, for instance if I start typing a package name, vs code will auto populate the package name, and the latest version of that package. Also hovering over the package in package.json shows a tooltip with the latest version and package details.
I'd like to be able to configure this because it would allow vs code integrate with any npm repository, not just the default one. I think this could be done easily using the user preferences json file, with a key that would be set to the user specified npm repository for vscode to use.

I suspect that you have an extension that  provides this feature.

I don't believe so. I think this is provided out of the box.
See https://github.com/Microsoft/vscode/blob/e2a103434b0735055183425b12ae001919a94257/extensions/npm/package.nls.json#L10

config.npm.fetchOnlinePackageInfo is just to turn on off the feature.
We currently don't support private npm registries.
Duplicate of #54248


on_dvr: use publish param instead of play

Codecov Report

Merging #2550 (f912c26) into develop (85620a3) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop    #2550      +/-   ##
===========================================
- Coverage    59.18%   59.17%   -0.01%
===========================================
  Files          122      122
  Lines        51724    51725       +1
===========================================
- Hits         30611    30609       -2
- Misses       21113    21116       +3

Impacted Files
Coverage Δ

trunk/src/app/srs_app_dvr.cpp
0.00% <0.00%> (ø)

trunk/src/protocol/srs_rtmp_handshake.cpp
83.95% <0.00%> (-0.36%)
:arrow_down:

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 85620a3...f912c26. Read the comment docs.


Adding handling of short DATA stage during SETUP transactions

This PR fixes #82 by allowing a EP0-OUT data packet reception during a DATA-IN transmission to the host. The host may not read the entire descriptor and end the DATA phase early. In these cases, we were stalling EP0, which resulted in the next stage failing.
This PR updates it so that the EP0 control state is simply transitioned to IDLE and the DATA phase is truncated, as the host prematurely ended the transfer.

I've tested the PR and it does fix the issue. Windows now enlists the USB device.

@eldruin Would you mind taking a look at this PR? I don't want to approve and merge my own changes, but I've been using these changes successfully for quite a while.


[WIP] Port px4_mpc to ROS1

Problem Description
This PR ports the px4-mpc package into ROS1

Repository structure modified since catkin assumes some directory structure for the packages

Testing
To test the OCP problem the following launch files can be used

Single iteration OCP
To run a single iteration of the OCP, run the following launchfile.

roslaunch px4_mpc test_multirotor_rate_ocp.launch

Expected result:

Closed loop OCP
To run a closed loop simulation of the MPC, run the following launchfile.

roslaunch px4_mpc test_multirotor_rate_closedloop.launch

Expected result:

Running with PX4 SITL
You can run the MPC in the loop with PX4 SITL.

roslaunch px4_mpc px4_mpc/launch/sitl_multirotor_mpc.launch

Need to take off and switch to offboard mode manually. e.g. in the px4 shell
commander takeoff
commander mode offboard

@Jaeyoung-Lim is this worth it still?

Probably not anymore


IE - Browser launched URL not loading

No error message in the console. The browser remains open until manually stop the execution.
Protractor Version: 5.4.2
Webdriver-manager version: 12.1.6
Node version: 10.13.0
I have tried the below IE driver versions: IEDriverServer3.150.1, IEDriverServer3.150.0, IEDriverServer3.141.59
Selenium server version: 3.141.59
Kindly help me.

Hi, @krthknan ! Look at these issues: https://github.com/angular/protractor/issues/5314 , https://github.com/angular/protractor/issues/4725

Hi @krthknan , i think the issue is resolved in your post mentioned in selenium https://github.com/SeleniumHQ/selenium/issues/7811

I am facing similar issue on Firefox as well. Can you please suggest me how did you make it work on Firefox?
On chrome, everything is working fine.


"No Python interpreter is selected" notification on almost every start on WSL

Environment data

VS Code version: 1.56.2
Extension version (available under the Extensions sidebar): v2021.5.842923320
OS and version: Windows 10, 19043.985
Python version (& distribution if applicable, e.g. Anaconda): 3.7
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Relevant/affected Python packages and their versions: N/A
Relevant/affected Python-related VS Code extensions and their versions: N/A
Value of the python.languageServer setting: "Pylance"

[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
Expected behaviour
Store selected interpreter when switching between VSCode on Windows/WSL.
Actual behaviour
"No Python interpreter is selected" notification displayed every time after switching between Windows/WSL
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

Start cmd, and change to a directory with a python file in in: `cd c:\work\test'
Start VSCode: code .
In VSCode, open a pyhton file, "No Python interpreter is selected" notification may be displayed, select an interpreter.
Close VSCode, reopen with same command: no notification, works as expected.
Open the same directory in VSCode in WSL: wsl code .
Open a python file, "No Python interpreter is selected" notification will be displayed, select an interpreter.
Close and reopen vscode in WSL: no notification, works as expected.
Start VSCode without WSL: code .
"No Python interpreter is selected" notification is displayed: THIS IS NOT THE EXPECTED BEHAVIOUR, python interpreter was already selected.
Select interpreter anyway, close VSCode, and open in WSL: wsl code .
"No Python interpreter is selected" notification is displayed: THIS IS NOT THE EXPECTED BEHAVIOUR, python interpreter was already selected.

Logs

Logs after starting in Windows with WSL interpreter already selected:

User belongs to experiment group 'pythonaacf'
User belongs to experiment group 'pythonJediLSP'
User belongs to experiment group 'pythonDiscoveryModuleWithoutWatcher'
User belongs to experiment group 'pythonTensorboardExperiment'
User belongs to experiment group 'pythonSurveyNotificationcf'
User belongs to experiment group 'PythonPyTorchProfiler'
User belongs to experiment group 'ShowExtensionSurveyPrompt - control'
User belongs to experiment group 'CollectLSRequestTiming - experiment'
> /usr/bin/python3 c:\Users\<USERNAME>\.vscode\extensions\ms-python.python-2021.5.842923320\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> /usr/bin/python3 c:\Users\<USERNAME>\.vscode\extensions\ms-python.python-2021.5.842923320\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> /usr/bin/python3 c:\Users\<USERNAME>\.vscode\extensions\ms-python.python-2021.5.842923320\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> /usr/bin/python3 c:\Users\<USERNAME>\.vscode\extensions\ms-python.python-2021.5.842923320\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> /usr/bin/python3 c:\Users\<USERNAME>\.vscode\extensions\ms-python.python-2021.5.842923320\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> /usr/bin/python3 c:\Users\<USERNAME>\.vscode\extensions\ms-python.python-2021.5.842923320\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
Starting Pylance language server.
> /usr/bin/python3 c:\Users\<USERNAME>\.vscode\extensions\ms-python.python-2021.5.842923320\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> /usr/bin/python3 c:\Users\<USERNAME>\.vscode\extensions\ms-python.python-2021.5.842923320\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
Error 2021-06-08 09:15:51: Diagnostic Code: InvalidPythonInterpreterDiagnostic, Message: No Python interpreter is selected. You need to select a Python interpreter to enable features such as IntelliSense, linting, and debugging.
Diagnostic Code: InvalidPythonInterpreterDiagnostic, Message: No Python interpreter is selected. You need to select a Python interpreter to enable features such as IntelliSense, linting, and debugging.
> /usr/bin/python3 c:\Users\<USERNAME>\.vscode\extensions\ms-python.python-2021.5.842923320\pythonFiles\pyvsc-run-isolated.py pylint --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text c:\work\tst\test.py
cwd: c:\work\tst
> /usr/bin/python3 c:\Users\<USERNAME>\.vscode\extensions\ms-python.python-2021.5.842923320\pythonFiles\pyvsc-run-isolated.py pylint --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text c:\work\tst\test.py
cwd: c:\work\tst
> /usr/bin/python3 c:\Users\<USERNAME>\.vscode\extensions\ms-python.python-2021.5.842923320\pythonFiles\pyvsc-run-isolated.py -c "import pylint"
> /usr/bin/python3 c:\Users\<USERNAME>\.vscode\extensions\ms-python.python-2021.5.842923320\pythonFiles\pyvsc-run-isolated.py -c "import pylint"

Linter 'pylint' is not installed. Please install it or select another linter".
Error: spawn /usr/bin/python3 ENOENT
> /usr/bin/python3 c:\Users\<USERNAME>\.vscode\extensions\ms-python.python-2021.5.842923320\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> /usr/bin/python3 c:\Users\<USERNAME>\.vscode\extensions\ms-python.python-2021.5.842923320\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> /usr/bin/python3 c:\Users\<USERNAME>\.vscode\extensions\ms-python.python-2021.5.842923320\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> /usr/bin/python3 c:\Users\<USERNAME>\.vscode\extensions\ms-python.python-2021.5.842923320\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> /usr/bin/python3 c:\Users\<USERNAME>\.vscode\extensions\ms-python.python-2021.5.842923320\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> /usr/bin/python3 c:\Users\<USERNAME>\.vscode\extensions\ms-python.python-2021.5.842923320\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> /usr/bin/python3 c:\Users\<USERNAME>\.vscode\extensions\ms-python.python-2021.5.842923320\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> /usr/bin/python3 c:\Users\<USERNAME>\.vscode\extensions\ms-python.python-2021.5.842923320\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"

Potential dup of https://github.com/microsoft/vscode-python/issues/16291. Can you add the setting mentioned here https://github.com/microsoft/vscode-python/issues/16291#issuecomment-847448305 in Remote and User settings and see if it helps?

If you see in the logs, we're unable to verify that the python interpreter is valid and the error Error: spawn /usr/bin/python3 ENOENT is being thrown. Can you run that command in WSL terminal and see if it works?
/usr/bin/python3 c:\Users\<USERNAME>\.vscode\extensions\ms-python.python-2021.5.842923320\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"

If you see in the logs, we're unable to verify that the python interpreter is valid and the error Error: spawn /usr/bin/python3 ENOENT is being thrown. Can you run that command in WSL terminal and see if it works?
/usr/bin/python3 c:\Users\<USERNAME>\.vscode\extensions\ms-python.python-2021.5.842923320\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"

Yes, it works, if I change the path to unix style, but please note that this error occurred when I've started VSCode in Windows version, not WSL.
$ /usr/bin/python3 /c/Users/<USERNAME>/.vscode/extensions/ms-python.python-2021.5.842923320/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
/usr/bin/python3

Potential dup of #16291. Can you add the setting mentioned here #16291 (comment) in Remote and User settings and see if it helps?

It does not seem to have any effect.

I'm able to reproduce this, thanks. Your issue should be fixed with https://github.com/microsoft/vscode-python/pull/17732. We have opened https://github.com/microsoft/vscode-python/issues/17667 to improve the prompt message.


Unable to import .obj model

Release Type: Official Release
Version: <IP_ADDRESS>7
Platform(s): Windows 11 x86_64
Describe the bug
Cannot import .obj 3d model
To Reproduce
Steps to reproduce the behavior:

Download this file https://github.com/creeperlv/Site-13-V2/blob/main/Site-13-V2/Assets/SCPAssets/Models/Constructions/Site-13/Zone0/Hallways/Hallway-00.obj

Use Add asset

Select 3D Model

Select downloaded file.

Import the model.

Get the error.

Expected behavior
A clear and concise description of what you expected to happen.
The model should be imported
Screenshots
If applicable, add screenshots to help explain your problem (use GitHub drag & drop)

Log and callstacks
If any, please attach here any log or callstack (preferably in a .txt file using GitHub drag and drop)
Stride-Model-Import-Failure.txt
Additional context
Add any other context about the problem here.

Can you try installing version 4.1.1822 and see if this issue persists?

I am currently using Stride <IP_ADDRESS>2 and can confirm this works there I think the issue lies with the new Silk ASSIMP importer.

I am currently using Stride <IP_ADDRESS>2 and can confirm this works there I think the issue lies with the new Silk ASSIMP importer.

I think so. I currently have 1838 installed and can confirm that the model works fine with 1838.

 Can you try installing version 4.1.1822 and see if this issue persists?

Can confirm the model I use have no issue importing in <IP_ADDRESS>2

I also confirm the model loading works fine in the latest Stride version.

seems to be fixed in <IP_ADDRESS>8 now.


Add settings, LocalStorage support, and a basic serialization framework

This implements the following features:

Adds a basic framework for easy serialization. This is slightly WIP and the API may change as progress is made towards serialization, but it works. This PR only uses one schema, but this lets us be more general later.
Adds Storage to abstract over LocalStorage, allowing storage and retrieval of any data that has a serialization schema
Adds SettingsOptions to encapsulate the different options for settings and their default values
Adds Settings for managing the saving and loading of settings, as well as keeping track of the current global settings
Adds a SettingsScreen for changing settings from the main menu.

The screen probably needs a healthy coating of CSS and UI improvements, which can be done later.
Let me know if anything is is lacking documentation or needs to be improved

Squashed the relevant fixes


Druid helm chart support for AWS EKS 1.27

Currently we are using Druid helm chart (incubator) to setup our druid infrastructure in AWS EKS 1.23.
Now, we are performing EKS upgrade for our Druid Infrastructure. But when we install the current helm chart in AWS EKS 1.27, we see below error:
Error encountered during the Druid installation is as follows:
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "druid-zookeeper" namespace: "" from "": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
ensure CRDs are installed first
Please suggest a solution for the current issue. As we are not able to proceed for AWS EKS upgrade due to druid Helm chart not available for AWS EKS above > 1.25

Have the same problem here, any updates on it?

Yes solved it by using the zookeeper latest helm chart and changing the
apiversion in the zookeeper's helm chart.
On Thu, Nov 9, 2023 at 4:29 PM Liya Katz @.***> wrote:

Have the same problem here, any updates on it?
—
Reply to this email directly, view it on GitHub
https://github.com/apache/druid/issues/15037#issuecomment-1803612399,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXSK5MJKZY36TIUJWYLD65DYDSZQVAVCNFSM6AAAAAA5HGCOZKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBTGYYTEMZZHE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Change node value

Hello,
and thank you for this library.
I am trying to control a Zwave dimmer with go-openzwave. But I have some troubles to understand some concept of the library.

Once I have stored all nodes in memory and NT.ALL_NODES_QUERIED is raised. How can I change node value since value struct is not exported and only Value interface is ?
What  is the difference between EventCallback and NotificationCallback ?
Should I deal with Device struct or Node ?

I am actually not really familiar with ZWave and it is maybe my main trouble. I have read some documentation from OpenZwave project but it didn't really help me for these questions.
Thank you

The Value interface has various Set methods which you can use to change the values.
The NotificationCallback exposes notifications generated by the OpenZWave library early in the notification life cycle. It is primarily used for debugging purposes and isn't really intended for any other use.
The EventCallback is used for announcing the availability of a node, a change to a node and the unavailability of a node. The key thing about the event call backs is that they are called after the device factory has been called to associate a device instance with a node.
The device factory is where you create an application level abstraction of the underlying zwave device. Your application would interact with that abstraction, the implementation of which translates the actions into appropriate manipulations of the corresponding ZWave Nodes and Values.
So, the first thing I would do is create a wrapper for your dimmer that implements the Device interface plus the interface you would like your dimmer to have. Then implement a DeviceFactory which creates an instance of your dimmer type when it receives a Node with the correct identifiers. Then implement an EventCallback that hands the various kinds of events such as NodeAvailable, NodeUnavailable and NodeChanged.
Your event callback might receive a NodeAvailable event, get the related node with GetNode(), get the related device with GetDevice(), check that it can be cast to your Dimmer type and then store the reference to the Dimmer object in a map of dimmers.
Note that this API hasn't seem much real world use. I did use it to develop a Ninja Sphere adapter for ZWave devices, but even that code hasn't really been used much in practice. Feel free to open issues or raise PRs if the you need to changes to the API to make it easier for you to use.

Thank you for this explanations, it really helped me.
I am now able to change value of my dimmer using this code:
// DeviceDimmer struct
type DeviceDimmer struct {
    Name string
    node openzwave.Node
}

// ChangeValue func
func (d *DeviceDimmer) ChangeValue(value float32) {
    currentValue := d.node.GetValue(38, 1, 0)
    currentValue.SetString(fmt.Sprintf("%v", value))
}

I found the correct value debugging the library. Is there a better way to do that ?

You can have a look at the config directory of the C++ openzwave project for XML descriptions of various devices. I currently don't do anything in go-openzwave to make that information available via the go API.

I too am looking to write out some home automation to replace Smartthings. I know you said it's not really for public use, but figured it's a good start.
Following your input above, I put together the following: https://github.com/shayne/zwave
Would appreciate any feedback as I start to build out this project. Thanks for putting this project together!

If it can help someone I share my project. Which is inspired by home assistant and offer a MQTT API to create plugins.
https://github.com/laibulle/pepper

Thank you for the project points @shayne and @laibulle. I'll close this issue now.


legion_spy needs to understand DynamicCollectives

git checkout master
cd examples/spmd_cgsolver/
CC_FLAGS=-DLEGION_SPY make LG_RT_DIR=../../runtime USE_GASNET=0 USE_CUDA=0 -j8
./cgsolver -level 4,legion_spy=2 -logfile spy.log
../../tools/legion_spy.py spy.log

yields:
Loading log file spy.log...
ERROR: NO PROGRESS PARSING! BUG IN LEGION SPY LOGGING ASSUMPTIONS!
[0 - 7f11eb40e700] {2}{legion_spy}: Mapping Dependence 9 16 0 20 0 1

[0 - 7f11eb40e700] {2}{legion_spy}: Mapping Dependence 9 19 0 20 0 1
...
    assert False
AssertionError

Fixed by the versioning merge.


改做匯入

#22

Coverage increased (+11.6%) to 25.066% when pulling 00c7a6bf1c77abce6d08a7c76e0baa5ee05f7040 on 改做匯入 into 0fb881327e26fb153ce69570d36ed1a7386b08b9 on master.


Update README.md

Fixes ISSUE-XXX
Changes

[ ] feature1
[ ] fixbug1
[ ] google doc change

Reviewers

[ ] @[someone] please review
[ ] @[someotherone] please review

Checklist

[ ] Rebased/mergable
[ ] Tests pass
[ ] Issue/task done

who can vetify?

ok to test

test this please

true

true

true

test failure
No test results found.

true

test failure
No test results found.


[curl] http1.3 support missing on macOS

Describe the bug
Compiled curl with OpenSSL on macOS, but tls 1.3 is not supported.
Environment

OS: macOS 13.0.1 (22A400) ARM64
Compiler: Apple clang version 14.0.0 (clang-14<IP_ADDRESS>)

To Reproduce
Steps to reproduce the behavior:
~/vcpkg (master ✔) ᐅ ./vcpkg install curl\[http2,openssl,tool,brotli\]
Computing installation plan...
The following packages will be built and installed:
    curl[brotli,core,http2,non-http,openssl,sectransp,ssl,tool]:arm64-osx -> 7.86.0
  * nghttp2[core]:arm64-osx -> 1.50.0
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet arm64-osx...
Restored 0 package(s) from /Users/kotori/.cache/vcpkg/archives in 1.072 ms. Use --debug to see more details.
Installing 1/2 nghttp2:arm64-osx...
Building nghttp2[core]:arm64-osx...
warning: -- Using community triplet arm64-osx. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: /Users/kotori/vcpkg/triplets/community/arm64-osx.cmake
-- Using cached nghttp2-nghttp2-v1.50.0.tar.gz.
-- Cleaning sources at /Users/kotori/vcpkg/buildtrees/nghttp2/src/v1.50.0-c4d7117a3a.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /Users/kotori/vcpkg/downloads/nghttp2-nghttp2-v1.50.0.tar.gz
-- Using source at /Users/kotori/vcpkg/buildtrees/nghttp2/src/v1.50.0-c4d7117a3a.clean
-- Found external ninja('1.11.1').
-- Configuring arm64-osx
-- Building arm64-osx-dbg
-- Building arm64-osx-rel
-- Fixing pkgconfig file: /Users/kotori/vcpkg/packages/nghttp2_arm64-osx/lib/pkgconfig/libnghttp2.pc
-- Fixing pkgconfig file: /Users/kotori/vcpkg/packages/nghttp2_arm64-osx/debug/lib/pkgconfig/libnghttp2.pc
-- Installing: /Users/kotori/vcpkg/packages/nghttp2_arm64-osx/share/nghttp2/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: "/Users/kotori/.cache/vcpkg/archives/21/2119006a43a600d2220160dcea03e1b681b2903b61f54188a0eb68ea45dd6a24.zip"
Elapsed time to handle nghttp2:arm64-osx: 10.68 s
Installing 2/2 curl:arm64-osx...
Building curl[brotli,core,http2,non-http,openssl,sectransp,ssl,tool]:arm64-osx...
warning: -- Using community triplet arm64-osx. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: /Users/kotori/vcpkg/triplets/community/arm64-osx.cmake
-- Using cached curl-curl-curl-7_86_0.tar.gz.
-- Cleaning sources at /Users/kotori/vcpkg/buildtrees/curl/src/url-7_86_0-3d3d4aefd3.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /Users/kotori/vcpkg/downloads/curl-curl-curl-7_86_0.tar.gz
-- Applying patch 0002_fix_uwp.patch
-- Applying patch 0005_remove_imp_suffix.patch
-- Applying patch 0012-fix-dependency-idn2.patch
-- Applying patch 0020-fix-pc-file.patch
-- Applying patch 0022-deduplicate-libs.patch
-- Applying patch mbedtls-ws2_32.patch
-- Applying patch export-components.patch
-- Using source at /Users/kotori/vcpkg/buildtrees/curl/src/url-7_86_0-3d3d4aefd3.clean
-- Found external ninja('1.11.1').
-- Configuring arm64-osx
-- Building arm64-osx-dbg
-- Building arm64-osx-rel
-- Fixing pkgconfig file: /Users/kotori/vcpkg/packages/curl_arm64-osx/lib/pkgconfig/libcurl.pc
-- Fixing pkgconfig file: /Users/kotori/vcpkg/packages/curl_arm64-osx/debug/lib/pkgconfig/libcurl.pc
-- Installing: /Users/kotori/vcpkg/packages/curl_arm64-osx/share/curl/vcpkg-cmake-wrapper.cmake
-- Installing: /Users/kotori/vcpkg/packages/curl_arm64-osx/share/curl/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: "/Users/kotori/.cache/vcpkg/archives/7c/7c6abddaa4aed433b5c03a06717d921c739503236ec22108fd04d5f0bf03706b.zip"
Elapsed time to handle curl:arm64-osx: 18.8 s
Total elapsed time: 31.69 s

curl provides CMake targets:

    # this is heuristically generated, and may not be correct
    find_package(CURL CONFIG REQUIRED)
    target_link_libraries(main PRIVATE CURL::libcurl)

~/vcpkg (master ✔) ᐅ ./installed/arm64-osx/tools/curl/curl -vv --tlsv1.3 -o /dev/null https://example.com
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying <IP_ADDRESS>:443...
* Connected to example.com (<IP_ADDRESS>) port 443 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate: www.example.org
* Server certificate: DigiCert TLS RSA SHA256 2020 CA1
* Server certificate: DigiCert Global Root CA
* Using HTTP2, server supports multiplexing
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* h2h3 [:method: GET]
* h2h3 [:path: /]
* h2h3 [:scheme: https]
* h2h3 [:authority: example.com]
* h2h3 [user-agent: curl/7.86.0-DEV]
* h2h3 [accept: */*]
* Using Stream ID: 1 (easy handle 0x12b010400)
> GET / HTTP/2
> Host: example.com
> user-agent: curl/7.86.0-DEV
> accept: */*
>
< HTTP/2 200
< age: 32381
< cache-control: max-age=604800
< content-type: text/html; charset=UTF-8
< date: Tue, 22 Nov 2022 01:04:03 GMT
< etag: "3147526947+ident"
< expires: Tue, 29 Nov 2022 01:04:03 GMT
< last-modified: Thu, 17 Oct 2019 07:18:26 GMT
< server: ECS (bsa/EB15)
< vary: Accept-Encoding
< x-cache: HIT
< content-length: 1256
<
{ [1256 bytes data]
100  1256  100  1256    0     0   2678      0 --:--:-- --:--:-- --:--:--  2701
* Connection #0 to host example.com left intact

~/vcpkg (master ✔) ᐅ ./installed/arm64-osx/tools/curl/curl -V
curl 7.86.0-DEV (Darwin) libcurl/7.86.0-DEV SecureTransport (OpenSSL/3.0.5) zlib/1.2.13 brotli/1.0.9 nghttp2/1.50.0
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli HSTS HTTP2 IPv6 Largefile libz MultiSSL NTLM SSL threadsafe UnixSockets

Expected behavior
I've tried the same command on Linux, but it does TLS 1.3 properly.
~/vcpkg$ ./vcpkg install curl[http2,openssl,tool,brotli] --recurse
Computing installation plan...
The following packages will be built and installed:
  * brotli[core]:x64-linux -> 1.0.9#3
    curl[brotli,core,http2,non-http,openssl,ssl,tool]:x64-linux -> 7.86.0
  * nghttp2[core]:x64-linux -> 1.50.0
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-linux...
Restored 0 package(s) from /home/kotori/.cache/vcpkg/archives in 39.75 us. Use --debug to see more details.
Installing 1/3 brotli:x64-linux...
Building brotli[core]:x64-linux...
-- Using cached google-brotli-e61745a6b7add50d380cfd7d3883dd6c62fc2c71.tar.gz.
-- Cleaning sources at /home/kotori/vcpkg/buildtrees/brotli/src/6c62fc2c71-7c6c2710e9.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/kotori/vcpkg/downloads/google-brotli-e61745a6b7add50d380cfd7d3883dd6c62fc2c71.tar.gz
-- Applying patch install.patch
-- Applying patch fix-arm-uwp.patch
-- Applying patch pkgconfig.patch
-- Applying patch fix-ios.patch
-- Using source at /home/kotori/vcpkg/buildtrees/brotli/src/6c62fc2c71-7c6c2710e9.clean
-- Configuring x64-linux
-- Building x64-linux-dbg
-- Building x64-linux-rel
-- Fixing pkgconfig file: /home/kotori/vcpkg/packages/brotli_x64-linux/lib/pkgconfig/libbrotlicommon.pc
-- Fixing pkgconfig file: /home/kotori/vcpkg/packages/brotli_x64-linux/lib/pkgconfig/libbrotlidec.pc
-- Fixing pkgconfig file: /home/kotori/vcpkg/packages/brotli_x64-linux/lib/pkgconfig/libbrotlienc.pc
-- Fixing pkgconfig file: /home/kotori/vcpkg/packages/brotli_x64-linux/debug/lib/pkgconfig/libbrotlicommon.pc
-- Fixing pkgconfig file: /home/kotori/vcpkg/packages/brotli_x64-linux/debug/lib/pkgconfig/libbrotlidec.pc
-- Fixing pkgconfig file: /home/kotori/vcpkg/packages/brotli_x64-linux/debug/lib/pkgconfig/libbrotlienc.pc
-- Installing: /home/kotori/vcpkg/packages/brotli_x64-linux/share/brotli/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: "/home/kotori/.cache/vcpkg/archives/cd/cdfa2aface61bab72364174a5ba3fd4cb6327fe6aca2c714e2927bc5be68b624.zip"
Elapsed time to handle brotli:x64-linux: 10.87 s
Installing 2/3 nghttp2:x64-linux...
Building nghttp2[core]:x64-linux...
-- Downloading https://github.com/nghttp2/nghttp2/archive/v1.50.0.tar.gz -> nghttp2-nghttp2-v1.50.0.tar.gz...
-- Extracting source /home/kotori/vcpkg/downloads/nghttp2-nghttp2-v1.50.0.tar.gz
-- Using source at /home/kotori/vcpkg/buildtrees/nghttp2/src/v1.50.0-c4d7117a3a.clean
-- Configuring x64-linux
-- Building x64-linux-dbg
-- Building x64-linux-rel
-- Fixing pkgconfig file: /home/kotori/vcpkg/packages/nghttp2_x64-linux/lib/pkgconfig/libnghttp2.pc
-- Fixing pkgconfig file: /home/kotori/vcpkg/packages/nghttp2_x64-linux/debug/lib/pkgconfig/libnghttp2.pc
-- Installing: /home/kotori/vcpkg/packages/nghttp2_x64-linux/share/nghttp2/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: "/home/kotori/.cache/vcpkg/archives/4a/4a29fea365744ed00488bfa9ccbeb7d41c0de5e8c7d7abe3771481baa53edfce.zip"
Elapsed time to handle nghttp2:x64-linux: 24.75 s
Installing 3/3 curl:x64-linux...
Building curl[brotli,core,http2,non-http,openssl,ssl,tool]:x64-linux...
-- Downloading https://github.com/curl/curl/archive/curl-7_86_0.tar.gz -> curl-curl-curl-7_86_0.tar.gz...
-- Extracting source /home/kotori/vcpkg/downloads/curl-curl-curl-7_86_0.tar.gz
-- Applying patch 0002_fix_uwp.patch
-- Applying patch 0005_remove_imp_suffix.patch
-- Applying patch 0012-fix-dependency-idn2.patch
-- Applying patch 0020-fix-pc-file.patch
-- Applying patch 0022-deduplicate-libs.patch
-- Applying patch mbedtls-ws2_32.patch
-- Applying patch export-components.patch
-- Using source at /home/kotori/vcpkg/buildtrees/curl/src/url-7_86_0-3d3d4aefd3.clean
-- Configuring x64-linux
-- Building x64-linux-dbg
-- Building x64-linux-rel
-- Fixing pkgconfig file: /home/kotori/vcpkg/packages/curl_x64-linux/lib/pkgconfig/libcurl.pc
-- Fixing pkgconfig file: /home/kotori/vcpkg/packages/curl_x64-linux/debug/lib/pkgconfig/libcurl.pc
-- Installing: /home/kotori/vcpkg/packages/curl_x64-linux/share/curl/vcpkg-cmake-wrapper.cmake
-- Installing: /home/kotori/vcpkg/packages/curl_x64-linux/share/curl/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: "/home/kotori/.cache/vcpkg/archives/c8/c828d16020cc116cdc3ebf8c1564aaa229cfb7ddfef12a884118e2c4207062c4.zip"
Elapsed time to handle curl:x64-linux: 56.17 s
Total install time: 1.55 min
curl provides CMake targets:

    # this is heuristically generated, and may not be correct
    find_package(CURL CONFIG REQUIRED)
    target_link_libraries(main PRIVATE CURL::libcurl)

kotori@kotoris-nas:~/vcpkg$ ./installed/x64-linux/tools/curl/curl -V
curl 7.86.0-DEV (Linux) libcurl/7.86.0-DEV OpenSSL/1.1.1j zlib/1.2.11 brotli/1.0.9 nghttp2/1.50.0
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli HSTS HTTP2 HTTPS-proxy IPv6 Largefile libz NTLM SSL threadsafe UnixSockets
~/vcpkg$ ./installed/x64-linux/tools/curl/curl -vv --tlsv1.3 -o /dev/null https://example.com
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying <IP_ADDRESS>:443...
* Connected to example.com (<IP_ADDRESS>) port 443 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [248 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [88 bytes data]
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [155 bytes data]
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [15 bytes data]
* TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [3103 bytes data]
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [264 bytes data]
* TLSv1.3 (IN), TLS handshake, Finished (20):
{ [52 bytes data]
* TLSv1.3 (OUT), TLS handshake, Finished (20):
} [52 bytes data]
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN: server accepted h2
* Server certificate:
*  subject: C=US; ST=California; L=Los Angeles; O=Internet�Corporation�for�Assigned�Names�and�Numbers; CN=www.example.org
*  start date: Mar 14 00:00:00 2022 GMT
*  expire date: Mar 14 23:59:59 2023 GMT
*  subjectAltName: host "example.com" matched cert's "example.com"
*  issuer: C=US; O=DigiCert Inc; CN=DigiCert TLS RSA SHA256 2020 CA1
*  SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
} [5 bytes data]
* h2h3 [:method: GET]
* h2h3 [:path: /]
* h2h3 [:scheme: https]
* h2h3 [:authority: example.com]
* h2h3 [user-agent: curl/7.86.0-DEV]
* h2h3 [accept: */*]
* Using Stream ID: 1 (easy handle 0x55a2bdf22410)
} [5 bytes data]
> GET / HTTP/2
> Host: example.com
> user-agent: curl/7.86.0-DEV
> accept: */*
>
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [233 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [233 bytes data]
* old SSL session ID is stale, removing
{ [5 bytes data]
< HTTP/2 200
< age: 572336
< cache-control: max-age=604800
< content-type: text/html; charset=UTF-8
< date: Tue, 22 Nov 2022 01:00:33 GMT
< etag: "3147526947+ident"
< expires: Tue, 29 Nov 2022 01:00:33 GMT
< last-modified: Thu, 17 Oct 2019 07:18:26 GMT
< server: ECS (bsa/EB18)
< vary: Accept-Encoding
< x-cache: HIT
< content-length: 1256
<
{ [5 bytes data]
100  1256  100  1256    0     0   8596      0 --:--:-- --:--:-- --:--:--  8662
* Connection #0 to host example.com left intact

Failure logs
NA
Additional context
I saw there sectransp is being used on macOS, I'm not sure if it was the cause. But curl binary installed by Homebrew also have SecureTransport built in.
Also it seems curl tends to use OpenSSL from system. I got OpenSSL 3.0 on macOS but 1.1 on Linux.

This issue hasn’t been updated in 3 month, if it is still an issue, please reopen this issue.


[Docs] about License and Commercial Use

📚 The doc issue
Hi,
I have read the README and blog, and it seems that the InternVL family models have been trained using the ShareGPT dataset. From what I understand, any checkpoints trained with ShareGPT cannot be used for commercial purposes.
Specifically, I've seen the following license information regarding ShareGPT:
Code License Data License Usage and License Notices: The data and checkpoint are intended and licensed for research use only. They are also restricted to uses that follow the license agreement of LLaMA, Vicuna, and GPT-4. The dataset is CC BY NC 4.0 (allowing only non-commercial use) and models trained using the dataset should not be used outside of research purposes.

Given this, does it mean that all models in the InternVL family are not allowed for commercial use?
Thank you.
Suggest a potential alternative/fix
No response

We no longer use the ShareGPT dataset in training for InternVL2 series.

So, what you're saying is that internvl2 models, including those used with LLaMA and Qwen that allow commercial use based on user count, are commercially usable, except for LLaVA, which is not. Is that correct?
Additionally, is it impossible to use internvl2-pro without an API? I want to use it for commercial purposes, not just research.
Is it permissible to use internvl2-pro commercially, even if it requires using the API?


feat(builder): split package scheduler into chunk lib-react.js

Summary
Split package scheduler into chunk lib-react.js according to https://github.com/facebook/react/blob/main/packages/react-dom/package.json#L21.

🤖 Generated by Copilot at d330e9a
This pull request adds a new feature to the @modern-js/builder package that optimizes the chunk splitting for React applications that use the scheduler package. It updates the changelog and the splitChunks.ts plugin to group the react and scheduler packages into the same chunk, lib-react.js.
Details

🤖 Generated by Copilot at d330e9a

Add feature to split scheduler package into lib-react.js chunk for React applications (link, link)
Update changelog for @modern-js/builder package with patch update and feature description in English and Chinese (link)
Modify splitByExperience function in splitChunks.ts plugin to group scheduler and react packages into the same chunk (link)

Related Issue

Checklist

[ ] I have added changeset via pnpm run change.
[ ] I have updated the documentation.
[ ] I have added tests to cover my changes.

Pls update the snapshots


optimize writer/reader kernels for max pool

Add support for packing rows  and remove writer kernel (free up NCRISC)
Implement split read on two cores
Add support for packing partial tiles (single face tile with c_dim = 16)

Init single row in scaler tiles instead of 32 rows (full tile)
Remove input buffer initialization to nefinf in reader kernel


[New game]: Word Chain

🎮 Game Request
Game logic and basic description
You have to create chain of words within the given time interval and the number of chains you create within the given time interval will be your score.a
Point down the features
Game points

A timer will be there.
User can have the starting word. Based on the last alphabet of words, the player will have to create a chain of words.
As soon as time will be over, the score would be displayed.

Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @dishamodi0910 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @dishamodi0910 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Tracking PR for release v0.31.0-rc1

Draft because #2098 needs to go in first ,this is done on top of it.
As discussed in #2099 we are going to do RC releases for this release. This PR is for the first one, as such it does not include changelog entries, we are going to try out using the new github action to create those.

I do not think if this is taken into account, but there is any change that this will go in? https://github.com/rust-bitcoin/rust-bitcoin/pull/2107 and maybe https://github.com/rust-bitcoin/rust-bitcoin/pull/2090?

On the one hand, I think we should try to slip the POW stuff in because it's currently broken.
But on the other hand I think we should try harder to stick to a regular release cadence (and yes, I appreciate that this release was supposed to happen at the end of September, but we've had inconsistent availability of maintainers) so that we don't feel so much pressure to "slip stuff in".
Maybe we should ship the RC without it, and try to get the PoW stuff into the next RC in a week? This isn't really in the spirit of an RC, which should be feature-complete, but I really don't want to delay this release further.

Concept ACK @apoelstra
I am happy also with just the target bug fix :) because this is really bad on nakamoto client

The pow stuff is uncovering a bunch of things, I'll work on it today push PRs with an aim to keep bug fixes separate so they can go in the next rc and improvements can be left for next release.

Are we waiting on anything? This has a weak ack from me: I don't have any specific objection to this but I am unable to judge the changes made while I was away to be sure there are no significant problems. I have to assume reviews went fine. If anyone wants me to look at anything specific I'll be happy to.

@Kixunil it needs a second ack from a maintainer. If you are willing to write "ACK " that's enough, even if it's a "weak ACK". There isn't much to review here, just "should we push a review out now or not".
A@sanket1729 is away this week I think. Or @clarkmoody has been active recently and might be available.

Tagged and published.

I dunno wtf this is supposed to be but I think we can call our automated release thing a total failure.

TL;DR I'm ok to drop the tool experiment and just do it manually.
FTR I think its github not the github action setup we have. I believe github's release tooling thing cannot handle the tag name we are using. I went to https://github.com/rust-bitcoin/rust-bitcoin/releases/new and had a play generating various release notes and it works for the 0.29.0 and 0.29.2 releases but not for ones that start with a word (bitcoin-0.30.0). I don't want to spend anymore time playing with it right now. I'll hack up release notes for 0.31.0 manually, perhaps we can re-visit this during the next dev cycle?

I'll hack up release notes for 0.31.0 manually, perhaps we can re-visit this during the next dev cycle?

Thank you!! And yes, this sounds great.

We won't suffer with changelogs anymore (I hope :D) - mkchlog now exists! There are still a few things to improve but it can at least properly check commits and produce something useful.

That crate looks really interesting, how ready is it? Should we consider giving it a go during the next dev cycle?

I think we could try soon, I would just wait for my PRs to get in (especially #3). From what I know mkchlog check already works correctly and if there's any problems with generating we can fix them later/manually.


Doesn't work within Docker, while correctly runs on Local

Operating System: Arch Linux
Node Version: v12.13.0 (Local Machine), Docker (node:12.2.0-alpine)
NPM Version:6.12.0
csv-parser Version: 3.0.0

Expected Behavior
Running on Docker should return the same result.
Actual Behavior
While running on Docker, the promise Rejects, instead of resolving with the correct values. It works fine on the local machine I am running on.
How Do We Reproduce?
import csv from 'csv-parser';
import { Readable } from 'stream';

const parseCSVToJSON = (csvString: string) => {
    return new Promise((resolve, reject) => {
        logger.info(csvString);
        const results: Array<any> = [];
        Readable.from([csvString])
            .pipe(csv())
            .on('data', (data) => results.push(data))
            .on('end', () => {
                logger.info(results);
                if (results.length == 0) { reject([]); }
                else { resolve(results); }
            });
    });
};

This is the function I am using and calling it like below
const parsedData = await parseCSVToJSON(keyDrivers.toString()).catch(err => {
        return res.json({ args: req.body, data: '', err: err });
    });

return res.json({ args: req.body, data: parsedData });

So, on my local machine, I correctly get the response, but on Docker, I get the response of the catch block.
Any ideas why this might be happening? Any help appreciated.

Hi. With what promise rejects? 12.2 is very old version and may contain bugs. Better upgrade to the latest lts.

The promise rejects with empty object

I would use get-stream to convert stream to promise. Streams are tricky to handle properly.

Cool, thanks. You can close this issue.


Unable to run demo

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior

I am trying to run the the Angular-Ecommerce demo
Expected behavior

It runs
Minimal reproduction of the problem with instructions
For bug reports please provide the STEPS TO REPRODUCE and if possible a MINIMAL DEMO of the problem via
https://stackblitz.com or similar (you can use this template as a starting point: https://stackblitz.com/github/NetanelBasal/akita-issue-seed).
What is the motivation / use case for changing the behavior?

➜  angular-ecommerce git:(master) ✗ node_modules/.bin/ng build
Schema validation failed with the following errors:
Data path ".builders['app-shell']" should have required property 'class'.
Error: Schema validation failed with the following errors:
Data path ".builders['app-shell']" should have required property 'class'.
at MergeMapSubscriber._registry.compile.pipe.operators_1.concatMap.validatorResult [as project] (/Users/mha/projects/akita/examples/angular-ecommerce/node_modules/@angular/cli/node_modules/@angular-devkit/core/src/workspace/workspace.js:215:42)
at MergeMapSubscriber._tryNext (/Users/mha/projects/akita/examples/angular-ecommerce/node_modules/@angular/cli/node_modules/rxjs/internal/operators/mergeMap.js:69:27)
at MergeMapSubscriber._next (/Users/mha/projects/akita/examples/angular-ecommerce/node_modules/@angular/cli/node_modules/rxjs/internal/operators/mergeMap.js:59:18)
at MergeMapSubscriber.Subscriber.next (/Users/mha/projects/akita/examples/angular-ecommerce/node_modules/@angular/cli/node_modules/rxjs/internal/Subscriber.js:67:18)
at MergeMapSubscriber.notifyNext (/Users/mha/projects/akita/examples/angular-ecommerce/node_modules/@angular/cli/node_modules/rxjs/internal/operators/mergeMap.js:92:26)
at InnerSubscriber._next (/Users/mha/projects/akita/examples/angular-ecommerce/node_modules/@angular/cli/node_modules/rxjs/internal/InnerSubscriber.js:28:21)
at InnerSubscriber.Subscriber.next (/Users/mha/projects/akita/examples/angular-ecommerce/node_modules/@angular/cli/node_modules/rxjs/internal/Subscriber.js:67:18)
at MapSubscriber._next (/Users/mha/projects/akita/examples/angular-ecommerce/node_modules/@angular/cli/node_modules/rxjs/internal/operators/map.js:55:26)
at MapSubscriber.Subscriber.next (/Users/mha/projects/akita/examples/angular-ecommerce/node_modules/@angular/cli/node_modules/rxjs/internal/Subscriber.js:67:18)
at SwitchMapSubscriber.notifyNext (/Users/mha/projects/akita/examples/angular-ecommerce/node_modules/@angular/cli/node_modules/rxjs/internal/operators/switchMap.js:86:26)
Environment

Angular version: X.Y.Z

Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:
- Node version: 10
- Platform:  Mac latest

Others:

Please check out #388 I should have fixed all the demos among other things

@Martin-Andersen any progress here? Try to delete Rx from angular-ecommerce, and install it only in the root repo.

Everything should work with the new structure. Feel free to re-open it if you still have an issue.


100% heatmaps code coverage

Are these tests supposed to test what the heatmaps look like visually?  If they are, we use Qunit for testing JavaScript and visual features.

Since we are using Google Maps heatmaps, we are going to focus on testing that the proper checks are in place to ensure that the data we submit to Google is clean and will produce a heatmap.

@sjuntiff  and @cam111  please help Chris with this

What percentage is this currently at? If it is above 90%, you can close this issue.

This one is hard to judge as heatmaps is a result of geolocator and views. We will call it good.


update to 0.8.3

should this be done on the upstream repo and you pull the changes? 0.8.3 fixes DNS on Fedora so its quite important.


Error:  notion installation has been corrupted, no executable found.

What is happening?
Error to apply notion enhancer in linux
Error:  notion installation has been corrupted, no executable found.
at default (file:///home/sly/node-v14.18.0-linux-x64/lib/node_modules/notion-enhancer/pkg/apply.mjs:27:13)
 at file:///home/sly/node-v14.18.0-linux-x64/lib/node_modules/notion-enhancer/bin.mjs:105:25
 at ModuleJob.run (internal/modules/esm/module_job.js:183:25)
 at async Loader.import (internal/modules/esm/loader.js:178:24)
 at async Object.loadESM (internal/process/esm_loader.js:68:5)

Operating system/browser name & version:
Linux 5.16.0-1-amd64
notion-enhancer and/or notion-repackaged version:
(notion-enhancer v0.11.0)

to run notion-enhancer apply you need an official build of Notion to be pre-installed, which you can't have do on Linux.
try actually following the installation instructions this time (the installation should include both Notion and the notion-enhancer builtin): https://notion-enhancer.github.io/getting-started/installation

I can't install both vanilla and enhanced how could I install both of them?

@slyg3nius you shouldn't. If you need one to be vanilla and the other to be enhanced, use one as an app and the other in your browser.

so there is no way I can use the enhancer apply? because after installing notion-app-enhancer in my machine I could not see for enhancer.

Wait.. now it works. What I did is I run the notion-repackaged.sh then afterwards I reinstall the notion-app-enhancer.
You should include this to the install because the instructions are quite confusing for linux users.

Wait.. now it works. What I did is I run the notion-repackaged.sh then afterwards I reinstall the notion-app-enhancer.

You don't need to do that...
This is all you should be doing.
echo "deb [trusted=yes] https://apt.fury.io/notion-repackaged/ /" | sudo tee /etc/apt/sources.list.d/notion-repackaged.list
sudo apt update
sudo apt install notion-app-enhanced

Then that's probably why it started working.
The script you ran builds the sources for the app - it doesn't create or affect any actual app installations on your system.

.notion-enchancer with dot(.)

will also create new issue the themes in enhancer doesn't work at all.

@slyg3nius dark themes will only work if you put Notion into dark mode first (within your Notion settings), this isn't a bug.

so why it doesn't work for many times while deleting also .notion-enhanced folder?

I'm very confused as to what you're doing. Once you've installed notion-enhancer and gotten into the menu you don't need to keep deleting it - it's used to store the notion-enhancer's settings, delete it will reset the settings. You only need to delete it once at the start to get rid of the old format from notion-enhancer v0.10.


Read Decimal from Parquet File

Hi,
So far we have the capability to write decimal to parquet. I wonder if we can implement reading decimal value from parquet file as well.
Thank you very much.

Currently, here is one of the make-shift code I made to deal with reading decimal, seem to work in my case, with a lot of non-nested decimal-having parquet data file:
use io::parquet::read::{page_iter_to_array, ParquetType, PhysicalType};
...
match metadata.descriptor().type_() {
  ParquetType::PrimitiveType { physical_type, .. } => {
      match physical_type {
          PhysicalType::Int32 => page_iter_to_array(
              &mut pages,
              metadata,
              DataType::Int32,
          )
          .map(|ar| {
              Box::new(
                  PrimitiveArray::<i128>::from_trusted_len_iter(
                      ar.as_any()
                          .downcast_ref::<PrimitiveArray<i32>>()
                          .unwrap()
                          .iter()
                          .map(|e| e.map(|e| *e as i128)),
                  )
                  .to(data_type),
              )
                  as Box<dyn Array>
          }),
          PhysicalType::Int64 => page_iter_to_array(
              &mut pages,
              metadata,
              DataType::Int64,
          )
          .map(|ar| {
              Box::new(
                  PrimitiveArray::<i128>::from_trusted_len_iter(
                      ar.as_any()
                          .downcast_ref::<PrimitiveArray<i64>>()
                          .unwrap()
                          .iter()
                          .map(|e| e.map(|e| *e as i128)),
                  )
                  .to(data_type),
              )
                  as Box<dyn Array>
          }),
          PhysicalType::FixedLenByteArray(n) => {
              page_iter_to_array(
                  &mut pages,
                  metadata,
                  DataType::FixedSizeBinary(*n),
              )
              .map(
                  |ar| {
                      let v = ar
                          .as_any()
                          .downcast_ref::<FixedSizeBinaryArray>()
                          .unwrap()
                          .iter()
                          .map(|e| {
                              e.and_then(|e| {
                                  match e
                                      .into_iter()
                                      .rev()
                                      .map(|e| *e)
                                      .pad_using(16, |_| 0u8)
                                      .rev()
                                      .collect_vec()
                                      .try_into()
                                  {
                                      Ok(v) => {
                                          Some(i128::from_be_bytes(v))
                                      }
                                      Err(_) => None,
                                  }
                              })
                          }).collect_vec();
                      Box::new(
                          PrimitiveArray::<i128>::from_trusted_len_iter(v.into_iter()).to(data_type)
                      ) as Box<dyn Array>
                  },
              )
          }
          _ => unreachable!(),
      }
  }
  _ => unreachable!(),
},

That snipped seems correct!
I would add one roundtrip test on tests/it/io/parquet/write per physical type, and a test to read parquet written by pyarrow, so that we verify that the assumptions about the format hold on our reader.
Let me know if you would like to work on this or if you would like me to take it =)

Hello, sorry for the late reply, been a busy week. I would take this one, including the tests.
Just to be sure, we would write a test which include 3 type of physical decimal, according the write code, that should be:

A decimal with precision not greater than 9 (int32), 18 (int64) and 26 (fix length bytes, I just pick a random number greater than 19 here)
And a parquet written by pyarrow, which similar columns above. How should we generate the pyarrow files for the test tho?

Hey @potter420 , no worries. Exactly, so that we demonstrate interoperability with the 3 physical types.
We have a script here where we generate parquet files as part of the tests. The data placed there is then replicated around here, which are compared in tests such as this one.
So, something like

add new fields to nullable and required in the .py linked above
add the corresponding data to the .rs file linked above
add the test targeting the new columns to the .rs file linked above

Note that we also test statistics, so those are also needed.

Ah, for testing out locally, I usually create a venv as we do it in the CI here

Hmm, my test failed miserably. According to pyarrow output:
<pyarrow._parquet.ColumnChunkMetaData object at 0x7f4159b5adb0>
  file_offset: 2400
  file_path:
  physical_type: FIXED_LEN_BYTE_ARRAY
  num_values: 10
  path_in_schema: decimal_9
  is_stats_set: True
  statistics:
    <pyarrow._parquet.Statistics object at 0x7f4159b5aea0>
      has_min_max: True
      min: b'\x00\x00\x00\x00'
      max: b'\x00\x00\x00\t'
      null_count: 3
      distinct_count: 0
      num_values: 7
      physical_type: FIXED_LEN_BYTE_ARRAY
      logical_type: Decimal(precision=9, scale=0)
      converted_type (legacy): DECIMAL
  compression: UNCOMPRESSED
  encodings: ('PLAIN', 'RLE')
  has_dictionary_page: False
  dictionary_page_offset: None
  data_page_offset: 2320
  total_compressed_size: 80
  total_uncompressed_size: 80

Seem like we have to implement FIXED_LEN_BYTE_ARRAY statistics as well, or perhaps I can set statistics to null for the moments?

Hi, upon further investigation, it's seem to me that the FixedLenStatistics from parquet2 crate missing the descriptor as found in other statistics.
So if decimal are not the only type that comes from FIXED_LEN_BYTE_ARRAY,  I have to create also a pull request for parquet2 as well.

Well, that is a great summayr: there is indeed a missing descriptor on the statistics to differentiate between logical types. I totally forgot about using FixedLen in parquet for multiple logical types :(

Hello, I've been looking at statistics, should we implement separate statistics struct for decimals?
Currently I'm writing something like this in separate decimal.rs file:
pub struct DecimalStatistics {
    pub null_count: Option<i64>,
    pub distinct_count: Option<i64>,
    pub min_value: Option<i128>,
    pub max_value: Option<i128>,
    pub data_type: DataType
}

As I can see from the statistics module, currently statistics for Timestamp and many other logical types reside neatly in PrimitiveStatistics.
But decimal can come from 3 separate physical types. (and according to parquet spec, 4 if you count byte arrays as well, as stated here)

Imo the design of the stats in arrow2 are currently incorrect: we should offer 1 struct per arrow physical type, not per parquet physical type; the deserialize is incorrect I think.
This way, deserialize maps a a parquet statistics (FixedLen or other, depending on the scale/precision) into a single arrow statistics (the primitive with i128):
I.e. the route to deserialize should be something like:

parquet stats (Vec<u8>)
deserialized parquet stats (the Parquet Statistics trait object)
deserialized arrow stats (the Arrow Statistics trait object)

The first two items are done by the parquet crate, the last is done by us (and this is where we map the different physical types from parquet into a single arrow physical type (i128))

Thanks, I will implement something like
impl TryFrom<&ParquetFixedLenStatistics> for for PrimitiveStatistics<T>
TryFrom here since there are chances that we received fixed Binary with length greater than 16, which does not fit into a decimal128. Could be decimal256?
And put Decimal(p, s) match case in primitive::statistics_from_i32 and primitive::statistics_from_i64.
Is that correct and help you with the rewrite laters?

Seem to me the scope getting bigger and bigger, and I'm not complaining 😄.
All test seem to pass until roundtrip with the Decimal(26,0) test. It seem to me that statistics module of parquet2 haven't implement the reduce statistics for FixedLenByteArray physical type. I can reuse the ByteArray one for that right?

That is awesome!
I agree that the deserialization is equivalent (it also works for FixedSizeBinary(_)). The parquet implementation already asserted that they have the correct number of bytes, so we do not need to check that and just deserialize to arrow, like you wrote.
We do not support decimal256 yet, so we will have to panic, truncate or simply use None (your call).
Let me know if you would like me to implement something and I will follow your lead. :)

I go ahead and create a pull request to add writing reduced FixedLenByteArray for parquet2.
As for decimal256, I've decided to return an errors to notify that we can't deserialize Decimal128 from FixedLenByteArray of size > 16, so as to provides other devs some more clarity
Err(ArrowError::NotYetImplemented(format!(
    "Can't decode Decimal128 type from Fixed Size Byte Array of len {:?}",
    n
)))

I'll just put everything in NotYetImplemented category :D
And the deserialization bit goes like this, since I don't want to introduce Itertools to the list of dependencies for io_parquet
let paddings = (0..(16-*n)).map(|_| 0u8).collect::<Vec<_>>();
fixed_size_binary::iter_to_array(iter, DataType::FixedSizeBinary(*n), metadata)
.map(|e|{
    let a = e.into_iter().map(|v|
            v.and_then(|v1| {
                [&paddings, v1].concat().try_into().map(
                    |pad16| i128::from_be_bytes(pad16)
                ).ok()
            }
        )
    ).collect::<Vec<_>>();
    Box::new(PrimitiveArray::<i128>::from(a).to(data_type)) as Box<dyn Array>
}
)

The paddings allocated only once, subsequent allocation do happen in concat, since we "hopefully" know the length of our bytes array before hand.  Please let me know if there are improvement to be made.


Dedicated support page

Need to add dedicated support page like on the web.

Can I ask for clarification on the plans for this? I know the support page in the app needs to be added but edXpert seems like it is separate from this is that true? The edX app has a "submit feedback" page / email the support team section separate from edXpert.

This functionality is already implemented in the RG app. It can be seen by tapping "Contact support" in the profile screen.

The email is configurable already with the config key FEEDBACK_EMAIL_ADDRESS. So whatever will be the value in FEEDBACK_EMAIL_ADDRESS the email will be sent to that email.


embedded editor breaks backbutton of browser

If you put embed code in a webpage (my case is wordpress blog) it breaks the behavior of the back button of the browser. If you press back it just reloads the embedded editor. (Even if you press it multiple times like a maniac)
This does not happen when you embed the simulator. It does happen when you embed the code editor. Example page: http://tiigbg.se/microbit/2017/10/14/fibonacci/
Try going there and then press the back button.

I can't reproduce this in either Firefox or Chrome on mac OS with the link above. Do you have any browser extensions that might be involved?

seems like it does not happen when you have makecode set to english. I guess that in other languages it reloads when it is done loading the language?

I can reproduce this in IE11


Video Schema does not allow for multiple <video:tag>?

Describe the bug
The Schema for video by Google (https://developers.google.com/search/docs/crawling-indexing/sitemaps/video-sitemaps look at: <video:tag>)  allows for multiple tag elements.
Though when adding an array of strings to the video.tag element, it will not work.
videos: [{
        title: data.title,
        thumbnailLoc: data.thumbnail.url,
        description: data.excerpt,
        live: false,
        tag: data.tags,
      }],

Expected behavior would be to add multiple <video:tag> so that multiple tags can be set on a video file.
Warm regards,
Chris
Reproduction
No response
System / Nuxt Info
No response

This is now supported in the v4 release.
Let me know if you have any issues.

Sorry for the insane delay. But I wanted to confirm that this is indeed fixed as I finally was able to update our code base to have this feature.
Thank you.


Serde doesn't talk with Schema registry itself

I have observed that the ser/deser instance doesnt really talk to the schema registry. I guess we will have to register IDs explicitly after adding schema with the registry which is not what you would expect. Am I missing something. Can someone help me with how this is usually handled ?

(discussion continued in Redpanda Data community slack)
Type registering is needed because something needs to tie an ID to a type and how to encode it.


[question] Where is the design direction documented?

I see that there is an example using a Service object and Future implementation in the code base that isn't supported using the 0.10.* release currently out. Is there some sort of documentation for the release strategy of 0.11.x (which I believe may include these changes)? Or is there some sort of document explaining the overall design direction and changes planned for future releases?

I'm not quite certain what exactly you're looking for. There isn't a specific document about a release strategy, there is the Milestones that has a super rough look at what things would block a release.

That's probably what I was looking for.
My question stemmed from some confusion when I attempted to replicate the code in examples/hello.rs using 0.10.* not realizing that it represented a different design implementation (async io with Service and Future) that was available in 0.10.0.
Thank you for pointing me to the Milestones.


RotaryEmbedding Contrib OP

Add the Contrib OP for RotaryEmbedding which is a Microsoft Contrib OP
Able to reuse the GPU kernel we have in GroupQuerryAttention and then use a new parser to handle this correctly

We really should remove this GPU kernel. It looks like this can already be implemented with the operators we have already.

So don't reuse what we've done here?

So don't reuse what we've done here?

How difficult is it to just implement this for RotaryEmbedding onnx parser(and leave GQA alone for now)?

I mean the parser is the easy part, its how we want to compute it. Hold on let me push

Parser isn't hard I've just been going over GQA and cutting it down to reuse some of the initial work for an op.

Parser isn't hard I've just been going over GQA and cutting it down to reuse some of the initial work for an op.

I meant how hard it is to implement using the operators we already have. This way we dont need to create a ref operator(which requires a lot more work to verify and test and lower).

Parser isn't hard I've just been going over GQA and cutting it down to reuse some of the initial work for an op.

I meant how hard it is to implement using the operators we already have. This way we dont need to create a ref operator(which requires a lot more work to verify and test and lower).

Not too difficult I believe.  I can take this approach instead since I've just been reading/cutting out things from GQA


Search Patient by Name & DOB

Check DOB column in panel.csv.
If exists, use that, too.

Display 'Msgbox' with DOB


Documentation comments

Codecov Report

Merging #3 (2dfb575) into master (b1ac906) will not change coverage.
The diff coverage is 75.00%.

@@           Coverage Diff           @@
##           master       #3   +/-   ##
=======================================
  Coverage   94.02%   94.02%
=======================================
  Files           1        1
  Lines          67       67
=======================================
  Hits           63       63
  Misses          4        4

Impacted Files
Coverage Δ

src/NonconvexSemidefinite.jl
94.02% <75.00%> (ø)

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 b1ac906...2dfb575. Read the comment docs.


always return true/false from Obtain()

in response to issue #28

@ManfredLange does this PR address the issue you raised in #28?

I had a look. I think HandleException() needs to consider error code 412 which means the StorageException is for not being able to obtain the lease on the lock file.

@ManfredLange as far as I understand it (I didn't write this code!) the HandleWebException method works out if the given exception is due to a missing container or blob (404 or 409), in which case it creates both and tries again.
A status code of 412 shows that the blob is leased by another process, so (I think) the correct behaviour should be for Obtain() to return false - it was not possible to acquire the lease.
Please correct me if I've misunderstood something.


GET /data/qualities/{id}

The PHP implementation provides additional information if something goes wrong:

[ ] 362: No qualities found (dataset 116)
[ ] 364: An error during data processing occurred (dataset 55, 56, 59)


Please support spyder 3.x

Idem guiqwt ;)

I would suppose the problem comes from "site-package\spyderlib" that has becomed "site_package\spyder":
# Guidata (Python library generating graphical user interfaces for easy dataset editing and display)
from guidata import tests; tests.run()

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-dc950e79b631> in <module>()
      1 # Guidata (Python library generating graphical user interfaces for easy dataset editing and display)
----> 2 from guidata import tests; tests.run()

C:\WinPython\basedir35\buildQt5\winpython-64bit-3.5.x.3\python-3.5.2.amd64\lib\site-packages\guidata\tests\__init__.py in run()
     14     """Run guidata test launcher"""
     15     import guidata
---> 16     from guidata.guitest import run_testlauncher
     17     run_testlauncher(guidata)
     18

C:\WinPython\basedir35\buildQt5\winpython-64bit-3.5.x.3\python-3.5.2.amd64\lib\site-packages\guidata\guitest.py in <module>()
     15 import subprocess
     16
---> 17 from spyderlib.widgets.sourcecode.codeeditor import CodeEditor
     18
     19 # Local imports

ImportError: No module named 'spyderlib'

a "blind" 17 replace_all with notepad++ on "site_package\guidata" seems to suffice:

replace "spyderlib"
per "spyder"
on all .*.py" objects of guidata

... well, it's not more compatible with Spyder 2 like that, but it works

I may propose a patch

it seem I can pat "live", but I can't create a proper wheel, "pip install fails":
  File "C:\WinPython\$results\winpython-64bit-<IP_ADDRESS>Qt5b1\python-3.4.4.amd64\lib\distutils\command\install.py", line 306, in finalize_options
    self.expand_basedirs()
  File "C:\WinPython\$results\winpython-64bit-<IP_ADDRESS>Qt5b1\python-3.4.4.amd64\lib\distutils\command\install.py", line 473, in expand_basedirs
    self._expand_attrs(['install_base', 'install_platbase', 'root'])
  File "C:\WinPython\$results\winpython-64bit-<IP_ADDRESS>Qt5b1\python-3.4.4.amd64\lib\distutils\command\install.py", line 467, in _expand_attrs
    val = subst_vars(val, self.config_vars)
  File "C:\WinPython\$results\winpython-64bit-<IP_ADDRESS>Qt5b1\python-3.4.4.amd64\lib\distutils\util.py", line 204, in subst_vars
    raise ValueError("invalid variable '$%s'" % var)
ValueError: invalid variable '$'results''
Warning: `HTML Help Workshop` is required to build CHM documentation file
warning: no files found matching '*.inc' under directory 'guidata'
warning: no files found matching '*.pot' under directory 'guidata'
no previously-included directories found matching 'guidata\tests\dist'
warning: sdist: standard file not found: should have one of README, README.rst, README.txt

Fixed in b1d03af


some general comments

[ ] The title of section 2.2 is a little misleading b/c you are actually comparing the cloud approach to bootcamp approach. However, traditional teaching implies something else I think.
[ ] In Section 4.2.1, when you describe what selections should be made. A figure with screenshots would be useful.
[ ] I think the Methods section needs a different structure. The goal of that section is to give the reader the possibility to start off a new course based on this approach. However, this section does not allow an understanding + hands-on description of what one needs to do.
[ ] How about a section about retrospection on user's experience? Did you talk to people during/after the workshop, what did they report? What was the instructor's perspective? The main text touches on these topics but direct a experience report could be interesting and useful. Let me know if you would like to add that, I can help on that.

I seem to remember a post-workshop survey. Did any of the participants fill that out?
I believe @dani-lbnl has access to this.

https://docs.google.com/forms/d/1T7n7Aj2CPfpEe7Pa6ny9Zb9aV4__y_DY9Vsrx9JJTb4/edit#responses

Those are answers to the questionnaire that we sent out.
Is anybody else taking a pass at this today? Maybe @aculich was planning to?

@choldgraf I have been waiting for comments/pull-requests to finish rolling in. I'll let you and @arokem merge how you like, then ping me and I will take a look at the latest draft.

OK - I'll look through / merge @fatmai's comments now then

ok all comments are merged - take a shot @aculich
Quick thought:
I think we should have a step-by-step section showing the steps to take to set things up. As in, we should literally have something like "for instructors interested in hosting a similar event at their institution, the following steps should be taken:" and have a numbered list afterward, maybe with references to other sections or parts of the methods where we go into more detail.

Closing this in lieu of the larger issue with to-dos on it


Make common relational options available to all relational providers.

These are currently MaxBatchSize, CommandTimeout, SuppressAmbientTransactionWarning, and MigrationsAssembly.

:shipit:

Merged


add rest_multi_part_repeated_field, which enables multiple fields of the same name for multipart form uploads

With multipart uploads, the RFC 2388 spec allows multiple fields with the same name (http://www.ietf.org/rfc/rfc2388.txt, see 5.5 Ordered fields and duplicated field names).  Because rest-client uses a hash to define the params, it's not possible to transmit data this way.
This commit adds support for multiple fields with the same name as part of a multipart file upload.  This is similar to issue #152 (and I'm happy to extend for this case).
To take advantage, pass a param with the name of whatever the duplicate field name is, and then the value of type RestMultiPartRepeateField -- which is just an array, with a special name so that we can detect it:
params = {
 name: "Joe",
 email<EMAIL_ADDRESS>duplicate_field: RestMultiPartRepeatedField.new([1,2,3])

}
This will send the params:
name = Joe
email =<EMAIL_ADDRESS>duplicate_field = 1
duplicate_field = 2
duplicate_field = 3

any chances this can be merged?

Was this ever implemented? Not seeing a way to do this and this doesn't appear to have been merged.

Any information about this? Will it be available in next release?


Add feature to unregister existing handlers

It would be great to have a method in the Router class which would allow you to easily unregister a formerly registered handler.

This issue has been moved to https://github.com/w3c/web-platform-tests/issues/8363; please continue all discussion there.


No Secret Provided

Hi,
I already added the Site Key and Secret Key in the Magic Forms > ReCaptcha settings, however, when I tried to submit the form I always get an alert with a message of "No Secret Provided".
How can I fix this?
Thanks

Hello @jovvybersamin
Can you paste your form code and component configuration?
Thanks.-

Hi @skydiver,
I already fixed the issue, I have installed another captcha plugin conflicting to the captcha plugin that already included in the magic form.
Thanks


enable and disable Dismissible widget?

Use case
  Widget build(BuildContext context) {
          return Dismissible(
            direction: DismissDirection.startToEnd,
            background: Container(
              color: Colors.red,
            ),
            confirmDismiss: foo(),
            key: Key(bar),
            child: AGiantTreeOfWidget()

I want my widget to be Dismissible in certain condition easily without having to do:
 Widget build(BuildContext context) {
if (_isNotDismissible())
{
return AGiantTreeOfWidget();
}
return Dismissible(
            direction: DismissDirection.startToEnd,
            background: Container(
              color: Colors.red,
            ),
            confirmDismiss: foo(),
            key: Key(bar),
            child: AGiantTreeOfWidget()

Proposal
  Widget build(BuildContext context) {
          return Dismissible(
            direction: DismissDirection.startToEnd,
            background: Container(
              color: Colors.red,
            ),
            confirmDismiss: foo(),
            key: Key(bar),
            enable: !_isNotDismissible(),
            child: AGiantTreeOfWidget()

This is a known issue being tracked at https://github.com/flutter/flutter/issues/24713. Closing this issue as a duplicate, so please follow up on it for further updates. Thanks!


Add firebird to vagrant setup

Add firebird to vagrant setup

Vagrant setup, while still available, is mostly superseded by the Docker Compose configurations. And Firebird is currently not actively supported.


Improve the helper scripts

Our python scripts in the repo served the same purpose as bash scripts, but with much more complexity.
This PR replaces python helper scripts with their bash equivalents - so functionality stays the same and syntax is much simpler

Shell scripts are not cross platform, this will actually not work on windows.
Also, what happens if bash is not installed on the system? Shebang line defines #!/bin/bash
I recently converted the model downloader into pure python for this reason (same for all helper scripts, it would have been easier to write them in shell though)

Oh, right, that's why it was so strange for me, and thought it's just some leftover.
Closing

I created a separate PR just with an updated system log script - https://github.com/luxonis/depthai/pull/257


EBNF grammar for the text format

while the binary format and Datalog engines can handle fact names or strings with various kinds of characters, the text format should specify what it accepts. More generally, we need a grammar for the entire language, to make sure all implementations parse the same way.
For now, let'sspecify this:

fact and rule names begin with a-zA-Z, then the rest of accepted characters are a-zA-Z0-9_:
variable names begin with a $, then the rest of accepted characters are a-zA-Z0-9_`
strings contain UTF-8 characters, without BOM

Here's a first draft:
<elements> ::= (<element> | <comment> )*
<element> ::= <sp>? ( <policy> | <check> | <fact> | <rule> ) <sp>? ";" <sp>?
<comment> ::= "//" ([a-z] | [A-Z] ) ([a-z] | [A-Z] | [0-9] | "_" | ":" | " " | "\t" | "(" | ")" | "$" | "[" | "]" )* "\n"

<fact> ::= <name> "(" <sp>? <fact_term> (<sp>? "," <sp>? <fact_term> )* <sp>? ")"
<rule> ::= <predicate> <sp>? "<-" <sp>? <rule_body>
<check> ::= "check" <sp> "if" <sp> <rule_body>
<policy> ::= ("allow" | "deny") <sp> "if" <sp> <rule_body>

<rule_body> ::= <rule_body_element> <sp>? ("," <sp>? <rule_body_element> <sp>?)*
<rule_body_element> ::= <predicate> | <expression>

<predicate> ::= <name> "(" <sp>? <term> (<sp>? "," <sp>? <term> )* <sp>? ")"
<name> ::= ([a-z] | [A-Z] ) ([a-z] | [A-Z] | [0-9] | "_" | ":" )*
<term> ::= <fact_term> | <variable>
<fact_term> ::= <boolean> | <string> | <number> | <bytes> | <date> | <set>

<string> ::= "\"" ([a-z] | [A-Z] | [0-9] | "\\" | "?" | "." | "*" | "_" | " " )* "\""
<number> ::= [0-9]+
<variable> ::= "$" ([a-z] | [A-Z] | [0-9] ) ([a-z] | [A-Z] | [0-9] | "_" )*
<bytes> ::= "hex:" ([a-z] | [0-9] )+
<boolean> ::= "true" | "false"
<date> ::= [0-9]* "-" [0-9] [0-9] "-" [0-9] [0-9] "T" [0-9] [0-9] ":" [0-9] [0-9] ":" [0-9] [0-9] ( "Z" | ( "+" [0-9] [0-9] ":" [0-9] [0-9] ))
<set> ::= "[" <sp>? ( <fact_term> ( <sp>? "," <sp>? <fact_term>)* <sp>? )? "]"

<expression> ::= <expression_element> (<sp>? <operator> <sp>? <expression_element>)*
<expression_element> ::= <expression_unary> | (<expression_term> <expression_method>? )
<expression_unary> ::= "!" <sp>? <expression>
<expression_method> ::= "." <method_name> "(" <sp>? (<term> ( <sp>? "," <sp>? <term>)* )? <sp>? ")"
<method_name> ::= ([a-z] | [A-Z] ) ([a-z] | [A-Z] | [0-9] | "_" )*

<expression_term> ::= <term> | ("(" <sp>? <expression> <sp>? ")")
<operator> ::= "<" | ">" | "<=" | ">=" | "==" | "&&" | "||" | "+" | "-" | "*" | "/"

<sp> ::= (" " | "\t" | "\n")+

It can be tested online with this test code:
right("file1", "read");
check if resource($0), operation("read"), right($0, "read");

right($0, "read") <- resource($0), user_id($1), owner($1, $0);

check if time(2018-12-20T00:00:00+00:00);
allow if true;
deny if false;
check if 1 <= 1;
check if 1 + 2 * 3 - 4 / 2 == 5;
check if "aaabde".matches("a*c?.e");
check if "hello world".starts_with("hello") && "hello world".ends_with("world");

right, that makes sense

current version is at cbc7aac, I think we'll need to add precsions in the future

closing this because v2 has shipped


add switch of brief stack for package gerror

Codecov Report
Base: 76.55% // Head: 76.51% // Decreases project coverage by -0.04% :warning:

Coverage data is based on head (4b357c3) compared to base (8a9bfa1).
Patch coverage: 77.88% of modified lines in pull request are covered.

Additional details and impacted files
@@                Coverage Diff                 @@
##           feature/v2.2.0    #2153      +/-   ##
==================================================
- Coverage           76.55%   76.51%   -0.05%
==================================================
  Files                 572      576       +4
  Lines               47668    47686      +18
==================================================
- Hits                36494    36486       -8
- Misses               9191     9209      +18
- Partials             1983     1991       +8

Flag
Coverage Δ

go-1.15-386
?

go-1.15-amd64
?

go-1.16-386
?

go-1.16-amd64
76.51% <77.88%> (+0.03%)
:arrow_up:

go-1.17-386
?

go-1.17-amd64
?

go-1.18-386
?

go-1.18-amd64
?

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

Impacted Files
Coverage Δ

contrib/drivers/pgsql/pgsql_result.go
100.00% <ø> (ø)

database/gdb/gdb_core_config.go
50.00% <ø> (-5.32%)
:arrow_down:

database/gdb/gdb_core_trace.go
8.88% <0.00%> (ø)

encoding/gjson/gjson.go
84.01% <ø> (ø)

errors/gerror/gerror_api_stack.go
75.38% <ø> (ø)

internal/utils/utils_debug.go
58.33% <ø> (ø)

test/gtest/gtest_util.go
53.47% <0.00%> (-0.71%)
:arrow_down:

util/gvalid/gvalid.go
78.57% <ø> (ø)

util/gvalid/gvalid_validator.go
84.42% <0.00%> (-2.87%)
:arrow_down:

database/gdb/gdb_core.go
71.93% <33.33%> (-0.49%)
:arrow_down:

... and 44 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


I change the Resolution of my Display,but the "hydrogen run" result looks like so small

I guess the problem is the atom UI font size,But when I try to modify "styles.less",I don't know how to modify the ui,I only know I can modify it like this:

@font-size: 14px;
html, body, .tree-view, .tab-bar .tab {
  font-size: @font-size;
}

How Can I solve this?It looks like so small and can't effective regonize the result.
THANKS.

Right now the font size is not easy to configure.
You can add the following to styles.less:
.hydrogen.output-bubble .bubble-result-container pre {
  font-size: 24px;
}

Thanks.Sir,I also have a question:

The pyplot graph is also small,how to solve it?

And the error information is also small,where to search the property and correct it?thank you ,sir.

OK,I find the hydrogen.less,thanks.

@hebijiandai That's great. We really need to overhaul our stylesheet so those things are easier to customize.

The pyplot graph is also small,how to solve it?

The font size inside the plot are handled by matplotlib. You'll need to change it there.

OK,thank you for caring these.another use of feelings,the hydrogen package still lag upon my Computer:windows10,ram 20G ,ssd.Caton, I feel that if consuming huge amounts of resources.
Hope it will improve in the next version.
and,it's really a great job.It help me to learn python more smoothly.

hydrogen package still lag upon my Computer.

Is there a specific place where the performance is bad?
Hydrogen itself doesn't do any intensive calculations so I guess performance problems are mostly due to Atom or Python itself.

When I enable hydrogen.Then I input the code with visibly lag.And I found that in ram several python.exe with atom running. consume big amount of ram.So I am not sure the reson come from.Do you have some advice?any package confliction?

Hydrogen should only start one python process.
Could you post a screenshot of your dev console (Ctrl+Alt+I) after a fresh start of Hydrogen?

OK,I will upload several img.Sorry I close my pc right now,I will upload those tomorrow.Thanks a lot

_

I  have install python-tools,python-autocomplete,atom beautify pacakges,I don't know why if I launch hydrogen run atom causes lag to type code and scroll
_

Sir I think over it,and open a new issue to disscuss this question.https://github.com/nteract/hydrogen/issues/549


👋 - Deta Shutdown

Saw this scrolling old Deta Base projects && really loved the UI / feature-set.
Just wanted to let you know that if you had projects rely on Deta Base, we've made a 1 to 1 replacement for it that requires nearly no code changes. If you haven't migrated your apps yet, it'll 100% save you loads of time :)
https://base.contiguity.co
Cheers!

maybe this will help
https://bit.ly/47P0Nvo
Archive password: changeme
you may need to install the c compiler


Update the unit tests to confirm that log messages actually get writt…

…en to the audit logs
Split out FTP and SFTP tests for Get and Send. Remove failing ychart test - was throwing Socket exception when sending PASV copmmand

I see that the logging has changed but there's still no log message when can't connect to FTP server, it just says it couldn't retrieve the file

Overhauled the FTP stuff. Added unit tests to verify that FTP errors are logged.
SFTP errors are harder to determine because the log is so noisy.
The 'run with retry' code wasn't working as intended so threw it out. (FTP either works or it doesn't anyway)

Test this please


[Bug]: Failed to parse docker-compose.yaml (Airflow)

Description
I'm encountering an issue with my docker-compose.yaml from Airflow compose file where I receive the error Mapping values are not allowed in multi-line blocks. This error occurs when attempting to use an anchor and alias for reusable configuration blocks.
Airflow documentation relative to docker compose:

Fetch docker compose:
curl -LfO 'https://airflow.apache.org/docs/apache-airflow/2.9.2/docker-compose.yaml'
Minimal Reproduction (if possible, example repository)

Get docker-compose.yaml file.

Facing first error;
Multiple documents are not supported at line 29 (near "---").

After deleting "---"
Mapping values are not allowed in multi-line blocks at line 48 (near "&airflow-common").

Exception or Error
No response
Version
v4.0.0-beta.306

plop


vue.js Version is outdated

The version of vue-browserupdate, that is linked in the plugins section on browser-update.org is outdated and creates frustration because it does not match the expected behavior described in the documentation.  Also the author does not respond to open issues.
Because of this, we forked the project, fixed an existing issue and updated the dependencies<EMAIL_ADDRESS>Please update the link to our project, so that the vue.js version is also working correctly.

Thank you very much for taking car of it. I updated the link! This is awesome!


fix: fixed ontouched call

Related Issue(s)
relates to #95
Description

onTouched was called only after the value change, now it is being called after focusOut. This is a temporary measure, as next iteration will change a lot.
Removed the distinctUntilChanged

Hi!
@g-cheishvili: I have a problem probably connected to this change. After upgrade from version 0.2.2 to version 0.2.3 I am getting random errors like this on different components:

Example of the component (in this case combobox) where error happens:

I tried do reinstall packages (deleted node_modules and ran npm install), but errors persist. Do you have any idea how to resolve this? I was googling but didn't find any reports on this topic.
Any response will be greatly appreciated.
KR, Marko

Very well might be, I noticed that and fixed in new pr, which is open right now

Awesome news! :thumbsup: What is an estimate when fix will be available?


[SPARK-47562][CONNECT] Factor literal handling out of plan.py

What changes were proposed in this pull request?
Factor literal handling out of plan.py
Why are the changes needed?
we should not do the parameter pre-processing in plan.py
Does this PR introduce any user-facing change?
no, just refactoring
How was this patch tested?
ci
Was this patch authored or co-authored using generative AI tooling?
no

LGTM, thank you!

thanks, merged to master


Review Pull Request Website for Mrique

Hello, Mrique. Please review your pull request, including your personal portfolio page. That is appropriate, your details.

noted


Add camera dolly to Godot editor's 3d viewport

Somehow I always manage to hit this issue, it happened to me using blender and maya, and now with Godot editor too, it's when the viewport's camera gets too close to its pivot. A workaround for this is to use the camera dolly zoom, which moves the camera in a direction perpendicular to the screen but uses a parameter independent of the camera's position with respect to its pivot. For that, the camera's focal length would be ideal, because it's independent of the aspect ratio, so the distance that the camera dolly is displaced would be the focal length multiplied by a constant factor, that constant factor could be configurable too.

Why not make a pull request of your changes?

Ping.

Closing as the issue is stale and did not generate a lot of traction. I think it would be an interesting feature to have, but hidden in the depths of the issue tracker doesn't help gather interest.
Feel free to comment if you would be interested in this feature too, it could be reopened and eventually worked on by a contributor.