react-router-redux to replace redux-simple-router

Fixed in https://github.com/choonkending/react-webpack-node/commit/46a14ef4cea555f718bde3bab2d3c4c15616fcf8


Copying a feature model into an project doesn't work correctly

Copied an feature model from an project to the desktop, then copied it into another project branch.
Causes visual bugs and evolution doesn't seems to work.

By deleting the hylayout before overwriting the model, the model works normally.

This issue arises if the layout doesn't match the feature model.
We should integrate some Error handling:
If the layout has problems loading, it should be discarded and a new layout should be created with the default layout as starting point.


Add encounters support

Needed this to examine raid progress

Thanks for the PR! really sorry for the late reply, There's another PR that enables this and does a bit more, so I'll merge that instead.
Again, I definitely appreciate the PR though so thank you!


Pseudo instruction for integer truncation / narrowing convert

In vector ISA, we have vwcvtu.x.x.v and vwcvt.x.x.v for widening integer convert, which is pseudo instruction of vwadd.vx and vwaddu.vx, should we add similar one for narrowing convert, vncvt.x.x.v, it can be done by vnsrl.wi.
 vncvt.x.x.v vd, vs2, vm
 ->
 vnsrl.wi vd, vs2, 0, vm

Ref:
14.17. Narrowing Floating-Point/Integer Type-Convert Instructions

An integer value can be halved in width using the narrowing integer shift instructions with a shift amount of 0.

ping

I support having a canonical pseudoinstruction for integer truncation.
In case some implementations choose to optimize these instructions, it would be good to choose an encoding more similar to vwcvt[u].
vnsrl.wx has an encoding more similar to vwadd.vx, so perhaps we should use vnsrl.wx instead of vnsrl.wi, in case implementations choose to optimize.

PR request  https://github.com/kito-cheng/riscv-v-spec/commit/baf2ceadc5b5459fe7e54a9f3432e710521ce210 merged to fix this


CUDA Coo spmm implementaion

This PR implements the COO spmm.
The implementation is simple. Read the needed elements, compute the result, and then atomicAdd the result to the output vectors.
I have tried that using warp to read a line of nonzeros and shuffle the data in previous commit warp_coo However, in my testing cases, this warp implementation is not better than the simple one because the warp implementation needs more condition and index calculation.
The matrices set contain 100 matrices which obtained by using K-means on the whole real matrices set of SuiteSparse.

GFLOPS when nrhs = 32

simple vs warp

simple vs csrmm

Looks good! Do you have performance result of a comparison between our csr spmv with this spmm and one nrhs?

@tcojean
previous coo vs this PR

csr vs this PR

So it looks like this version pays off if we have 8 and more RHS - otherwise the scalar versions are preferred. Correct?

@hartwiganzt Yes, but I prefer to use 4 as the condition because this PR is faster when #nonzeros is large.
i.e. nrhs >=4 use this PR, others keep using the original one.


Changes to be made to gist

Description:
Here I have found out some of the gists that currently using have not updated recently. There are some of the changes need to be made. For example, in configuration YAML blocks need to remove wso2.datasources: entry.
Please refer the following documentation URL as an example.
[1] https://siddhi.io/en/v5.0/docs/config-guide/#siddhi-50-config-guide
Note: As a suggestion, it is better to remove these gists if we can because when we update the doc we have to change two locations.
Affected Siddhi Version:
5.1.2

We support datasources only from v5.1.2. however, +1 to move to code blocks instead of gists.

Please don't update the gists if it's an API change, because it can break some older docs.

Removed the gists of wso2.datasources

Removed all gists from 5.0 and 5.1 docs


duofern component cannot be loaded

The duofern component cannot be loaded since HA update to 2023.6.3
Log:
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: homeassistant.setup
Source: custom_components/duofern/init.py:47
Integration: Duofern control (documentation, issues)
First occurred: 10:49:23 (1 occurrences)
Last logged: 10:49:23
Error during setup of component duofern
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 286, in _async_setup_component
result = await task
^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/duofern/init.py", line 47, in setup
from pyduofern.duofern_stick import DuofernStickThreaded
ImportError: cannot import name 'DuofernStickThreaded' from 'pyduofern.duofern_stick' (/usr/local/lib/python3.11/site-packages/pyduofern/duofern_stick.py)

Which version of duofern are you using?

Hi,
I am using 0.4.3. and I re-installed it today. But the saame issue.
Christian
------ Originalnachricht ------
Von "gluap" @.>
An "gluap/pyduofern-hacs" @.>
Cc "Spartacus68" @.>; "Author"
@.>
Datum 04.07.2023 14:05:22
Betreff Re: [gluap/pyduofern-hacs] duofern component cannot be loaded
(Issue #39)

Which version of duofern are you using?
—
Reply to this email directly, view it on GitHub
https://github.com/gluap/pyduofern-hacs/issues/39#issuecomment-1620123696,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5CTFHIG6XAAN6AL2BQOTJTXOQBIFANCNFSM6AAAAAAZ5NLLL4.
You are receiving this because you authored the thread.Message ID:
@.***>

It was already fixed in the beta, so with the beta now dry-aged for a few months I marked the beta as stable.
Take care to read the release notes! 0.5.0 brings a bunch of changes and improvements.

Hi,
thanks for doing that,
I am using now  0.5.7.
I have removed the component and reinstalled it, but it is still the
same issue and not working.
Log:
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: homeassistant.setup
Source: custom_components/duofern/init.py:55
Integration: Duofern control (documentation, issues)
First occurred: 20:37:34 (1 occurrences)
Last logged: 20:37:34
Error during setup of component duofern
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 286, in
_async_setup_component
result = await task
^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line
58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/duofern/init.py", line 55, in
setup
stick = DuofernStickThreaded(serial_port=serial_port,
system_code=code, config_file_json=configfile,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/local/lib/python3.11/site-packages/pyduofern/duofern_stick.py",
line 442, in init
super().init(*args, **kwargs)
File
"/usr/local/lib/python3.11/site-packages/pyduofern/duofern_stick.py",
line 105, in init
assert self.config['system_code'].lower() == system_code.lower(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: System code passed as argument "D5F2" differs from
config file "1A2B", please manually change the config file
/config/duofern.json if this is what you intended. If you change the
code you paired your devices with you might have to reset them and
re-pair.
------ Originalnachricht ------
Von "gluap" @.>
An "gluap/pyduofern-hacs" @.>
Cc "Spartacus68" @.>; "Author"
@.>
Datum 04.07.2023 20:02:13
Betreff Re: [gluap/pyduofern-hacs] duofern component cannot be loaded
(Issue #39)

It was already fixed in the beta, so with the beta now dry-aged for a
few months I marked the beta as stable.
Take care to read the release notes! 0.5.0 brings a bunch of changes
and improvements.
—
Reply to this email directly, view it on GitHub
https://github.com/gluap/pyduofern-hacs/issues/39#issuecomment-1620589347,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5CTFHMSO64MXA5HOFG7QADXORLCLANCNFSM6AAAAAAZ5NLLL4.
You are receiving this because you authored the thread.Message ID:
@.***>

The error message has changed - it seems that you have two contradicting system codes configured. Fixing that should fix the issue.
refer to the last sentence of the error message:
AssertionError: System code passed as argument "D5F2" differs from config file "1A2B", please manually change the config file /config/duofern.json if this is what you intended. If you change the code you paired your devices with you might have to reset them and re-pair.

Hi,
I changed this but it doesn´t help! The device cannot be found anymore.
With fhem everything is fine and the tube is running.
Here my config:
{
"devices": [
{
"id": "49d5f2",
"name": "49d5f2"
}
],
"system_code": "d5f2"
}
------ Originalnachricht ------
Von "gluap" @.>
An "gluap/pyduofern-hacs" @.>
Cc "Spartacus68" @.>; "Author"
@.>
Datum 05.07.2023 08:23:20
Betreff Re: [gluap/pyduofern-hacs] duofern component cannot be loaded
(Issue #39)

Reopened #39 https://github.com/gluap/pyduofern-hacs/issues/39.
—
Reply to this email directly, view it on GitHub
https://github.com/gluap/pyduofern-hacs/issues/39#event-9727271807,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5CTFHLBDDKSMJDSFYT7KBTXOUB5RANCNFSM6AAAAAAZ5NLLL4.
You are receiving this because you authored the thread.Message ID:
@.***>

So the error message is still

AssertionError: System code passed as argument D5F2 differs from config file 1A2B, please manually change the config file /config/duofern.json if this is what you intended. If you change the code you paired your devices with you might have to reset them and re-pair.?

Hi,
no, there is no more error message. It is installed correctly, but it
does not work. HA says it works, and I can see the entities  but the
shutter does not move a millimeter.
When I switch to fhem, everything is fine!
Christian
------ Originalnachricht ------
Von "gluap" @.>
An "gluap/pyduofern-hacs" @.>
Cc "Spartacus68" @.>; "Mention"
@.>
Datum 05.07.2023 16:30:26
Betreff Re: [gluap/pyduofern-hacs] duofern component cannot be loaded
(Issue #39)

So the error message is still

AssertionError: System code passed as argument D5F2 differs from
config file 1A2B, please manually change the config file
/config/duofern.json if this is what you intended. If you change the
code you paired your devices with you might have to reset them and
re-pair.?

—
Reply to this email directly, view it on GitHub
https://github.com/gluap/pyduofern-hacs/issues/39#issuecomment-1621881895,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5CTFHPHE6OPW6ZMFJO52WTXOV3AFANCNFSM6AAAAAAZ5NLLL4.
You are receiving this because you were mentioned.Message ID:
@.***>

Are you using the same system code as in FHEM?

Also: have you tried pairing with homeassistant?

Hi,
there is no field in fhem to configure a special system code (see
below). So I think fhem is using the last 4 digits from the tube ID.
This is  also configured in HA.  I have not tried to re-pair because if
something goes wrong I have to open the shutter box and this is what I
do not really want because it was painted fresh :-).
I think I have to switch off the duofern function  and have to install a
shelly instead of this. The "kitchen" is the only duofern tube I have
and the wireless connection to the tube is also not the best. I also do
not believe that re-pairing will change anything because the DUOFERN
stick is always the same on both VMs (fhem and HA)
------ Originalnachricht ------
Von "gluap" @.>
An "gluap/pyduofern-hacs" @.>
Cc "Spartacus68" @.>; "Mention"
@.>
Datum 05.07.2023 16:35:42
Betreff Re: [gluap/pyduofern-hacs] duofern component cannot be loaded
(Issue #39)

Also: have you tried pairing with homeassistant?
—
Reply to this email directly, view it on GitHub
https://github.com/gluap/pyduofern-hacs/issues/39#issuecomment-1621893428,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5CTFHMYXZCJSV5YNT2ZCG3XOV3T5ANCNFSM6AAAAAAZ5NLLL4.
You are receiving this because you were mentioned.Message ID:
@.***>

The system code is a "secret number" that you chose yourself and is the same for all duofern devices - it is independent from your individual shutter ids. Only devices paired with the same system code will can be reached. So if your FHEM uses a different system code that would explain it. In the FHEM doku this code is called "Duofern Code". It begins with "6F" followed by 4 digits that you likely have chosen during installation of FHEM. Those 4 digits must be the same in Homeassistant and FHEM.
If FHEM and Homeassistant use a different "Duofern Code", that will cause exactly the behavior you describe: Only one of the two will be able to move the shutter, in this case FHEM.

Hi,
you´re totally right. There is a System-Code in fhem (I missed that,
sorry). This is the "1A2B" from the DUOFERNSTICK which was originally
configured in the duofern.json (Checked the backup from HA). But this
configuration leads to the initial error in one of the first posts, this
is what I do not understand....
Now I did the following steps:
I removed duofern from HACS
delete the duofern.json
restart HA
configuration of the Rollotube with the Systemcode above
restart HA ->  (no device available!!)
check duofern.json ->(no device ID available only the system ID, device
ID empty)
replace the dufern.json with the original one from last week before the
HA update
reboot HA
...then it works. It seems to be that the configuration is not working
correctly.
Many thanks for your support. What is the "manual mode" doing?
Regards,
Christian
{
"devices": [
{
"id": "49d5f2",
"name": "49d5f2"
}
],
"system_code": "1A2B"
}
------ Originalnachricht ------
Von "gluap" @.>
An "gluap/pyduofern-hacs" @.>
Cc "Spartacus68" @.>; "Mention"
@.>
Datum 05.07.2023 17:12:08
Betreff Re: [gluap/pyduofern-hacs] duofern component cannot be loaded
(Issue #39)

The system code is a "secret number" that you chose yourself and is the
same for all duofern devices - it is independent from your individual
shutter ids. Only devices paired with the same system code will can be
reached. So if your FHEM uses a different system code that would
explain it. In the FHEM doku this code is called "Duofern Code"
https://wiki.fhem.de/wiki/DUOFERNSTICK. It begins with "6F" followed
by 4 digits that you likely have chosen during installation of FHEM.
Those 4 digits must be the same in Homeassistant and FHEM.
If FHEM and Homeassistant use a different "Duofern Code", that will
cause exactly the behavior you describe: Only one of the two will be
able to move the shutter, in this case FHEM.
—
Reply to this email directly, view it on GitHub
https://github.com/gluap/pyduofern-hacs/issues/39#issuecomment-1621963288,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5CTFHJAUUN5UWQI4V5XHCLXOV74RANCNFSM6AAAAAAZ5NLLL4.
You are receiving this because you were mentioned.Message ID:
@.***>

The manual mode was provided by a user - supposedly there are shutters where the local automation (on the duofern device) can be switched on or off using it. I have no way of testing as my shutters don't have that function.


Catch scenario exceptions

We now catch exceptions raised by scenarios and allow others to
run. Caught exceptions result in a HotSOSScenariosWarning being
raised with the names of failed scenariosn for further analysis.

/lgtm


div blocks getting parsed as nested

Hi, it's me again.
A little while after trying out the new update, I stumbled upon something else.
I was writing some djot div blocks (admonitions/callouts/etc.) like the following :
(...)
::: note
This project is still in active developement. Things may change. The following is taken from the original
`README.md` from the original repo.
:::
(...)

There are a few of these in this page, but they seem to get parsed as one big group of nested blocks. For example :

[!NOTE]
Sorry if the screen is orange, I was using f.lux while recording. Tell me if you'd like a better example.

This time I do have a repo if you want to look at the files.
https://github.com/sugan-reden/japanese-learning_djockey

Can you reproduce the correct or buggy behavior on the main Djot project? I would be surprised if Djockey is messing this up. (But also maybe it is messing it up.)

I get correct results when I build your project on my Mac. So it must be another line break issue, and probably in the JavaScript Djot parser. :-(

That's disheartening. :/
I made some more tests.
First I re-rendered the first method (i.e. ::: note (...) :::) and I took note of what the console threw out:
bunx djockey .\docs --local
✔ Parsing documents
    Unclosed div at offset 1551
    Unclosed div at offset 1551
    Unclosed div at offset 1551
✔ Setting up plugins
✔ Highlighting code blocks
✔ Transform pass 1 of 1
✔ Connecting pages
✔ Copying static files
✔ Rendering html

So it does catch somewhere that it thinks the divs aren't closed, at least with this method.
With the second method (i.e. {.note} ::: (...) :::), it didn't seem to catch or mind it at all.
bunx djockey .\docs --local
✔ Parsing documents
✔ Setting up plugins
✔ Highlighting code blocks
✔ Transform pass 1 of 1
✔ Connecting pages
✔ Copying static files
✔ Rendering html

However, the result still seems off. For example:

[!NOTE]
After the re-render for the first method, I left the 'main' branch untouched for illustration. I made a second branch 'test_second-div-method' for the second test.

Third test, I tried to use pandoc to directly convert a single file -- the problematic one -- to HTML. I used this command:
pandoc -s .\resource-list-old.dj -o resource-list-old_html-test.html

It kind of worked? (Don't hesitate to tell me if there something I should correct in the command.)
However, along the HTML file here link the repo directory with the HTML test, I also got this warning thrown:
[WARNING] This document format requires a nonempty <title> element.
  Defaulting to 'resource-list-old' as the title.
  To specify a title, use 'title' in metadata or --metadata title="...".

After this, I added frontmatter to the djot file, with a title: and re-did it, but I got the same error thrown.
I think your suspicions justly point to the JS djot parser.
It might be worth to mention that the JS djot parser is also the one I have installed for the terminal djot command.

Can you reproduce the correct or buggy behavior on the main Djot project? (...)

I'm not sure I totally understood what you meant by this. Please tell me if the tests I did were of any relevance to your question.


Fixity declaration on shadowed operator causes parsing error

As far as I understand it, Elm allows you to shadow imported functions with locally defined ones. However, adding a fixity declaration to a shadowed operator causes a parse error. For example,
http://share-elm.com/sprout/5483dcb1e4b00800031ffe99. This seems inconsistent.

The error now looks like this:
-- SYNTAX ERROR ------------------------------------------------------- hats.elm

The infix declarations for (~) must be removed.

0|
1| infixl 4 ~
2| ^^^^^^^^^^

The precedence and associativity can only be set in one place, and
this information has already been set somewhere else.

It may make sense to make this more flexible, but we should talk about it in the context of adding a new feature instead of a weird parse error. My inclination is to only allow these declarations in the files where the operator is defined as a top level thing, and then attach the fixity info to particular variables. This is a decent sized change to the parser / AST, but that might be the way to go eventually.


The problem of multi-process distributed training

Hello, I would like to know whether your project can be changed to the ordinary single-machine training mode, if so, how to achieve the specific operation?And can one GPU complete the training?

Our default script is just for single-machine training:
sh scripts/train.sh <num_gpu> <port>

If you want to use one GPU, set <num_gpu> as 1. But the performance may be affected.

sh scripts/train.sh <num_gpu>
请问这里的不用输入确定的端口吗

The port is also required. For example:
sh scripts/train.sh 1 20023

非常感谢！端口号是可以随机设置的对吧


symbol(...) => Symbol(...)

Passes tests under v0.4 and v0.5 and does not produce warnings about symbol => Symbol under v0.5
@simonbyrne Can you take a look and pull the trigger if this seems okay?

LGTM, should be okay to merge once tests pass.

Coverage decreased (-0.03%) to 74.074% when pulling c69e86b048aa18c4a173821baab83b0dc2dab508 on db/symbol into 83d7826ee6feda60ff67e1d9a2d802c39516e7c7 on master.


Avoid caching presto worker worker nodes

After a presto worker nodes gets deregistered from the coordinator. because it is no longer responsive, we've noticed that it still receives cache requests to be read from for a period of time. This can lead to internal errors for the query and/or slower response times. Instead, since the rubix presto cluster manager has a handle to the presto node manager, it can get the worker nodes directly from it, sorting and adjusting the node index only when the nodes have changed.

@stagraqubole - I can take this one if you'd like.

Sure @JamesRTaylor


[I3] Time spent on Code Reviews

log time here that we all spent on code reviews so that we get credit for it in the velocity

I added 2 hours to actual for my time spent


Verifier contract with integrated Prover

This PR implements the Verifier contract. The feature optimizes for Golang signature generation, allowing operator-signed messages from the relayer to be verified in Solidity.
In JavaScript, the Web3 library automatically prefixes signed messages with "\x19Ethereum Signed Message:\n32" and rehashes them such that prefixing the message again within the Verifier contract is required. As the verification process differs between libraries, I've favored Golang as the more relevant current choice. The difference in on-chain signature validation requirements can be seen in Verifier.sol vs. VerifierWeb3.sol. In the future, the bridge will support Web3 signature generation, but it's well outside the requirements of this milestone.

I'm going to resolve conflicts with a merge instead of a rebase, just a heads up in case git history gets messy.


correct commas in password recovery mails

There are some missing commas in the german password recovery mail "Wenn nicht, kannst du ..." und "Passwort zurücksetzen, indem ..."

fixed


mongodb-4_0: drop

Description of changes
MongoDB 4.0 was EOL in April 2022, broken on trunk (#209175), depends on Python 2 (#201859), and (still!) only the UniFi Video module uses it.
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ofborg eval

#209175 did the samem, so should be fine, right?


Count partial coverage as a hit

Partial indicates that the source code was not fully executed by the
test suite; there are remaining branches that were not executed.
Given that in most cases these are corner case error handling, let's
count any coverage as full coverage.
Signed-off-by: Luiz Carvalho<EMAIL_ADDRESS>

Waiting for the codecov comment to see if this actually works.


GPU never in use with Java API

Hi, I followed the instructions with (this)(https://www.tensorflow.org/install/lang_java?hl=zh-cn).
And I add my implementations with bert pb model, but the GPUs are never used
.
I got Tesla K80, and cuda 9.0

Any suggestions?

@itsucks,
Provide the exact sequence of commands / steps that you executed before running into the problem. Thanks!

@itsucks,
Provide the exact sequence of commands / steps that you executed before running into the problem. Thanks!

Well. the system is CentOS Linux release 7.2.1511,
I add the dependency with maven

the code

the results are right, but it never use the GPU
The whole platform works fine in python

the command is mvn -q compile exec:java

Is your problem fixed?  how ?


Support bootstrap 4 by enabling the ability to add classes to the anchor tags

Bootstrap 4 requires the 'dropdown-item' class on a tags to style it properly.

I think I'll add an optional useBootstrap4 input on the contextMenu component that will change the template accordingly.

That works, thank you!

Should the dropdown-item class be on the  element or the  element?  I know that bootstrap 4 doesn’t use list tags, but it would be easier if I could just modify classes instead of html structure.

On Jul 21, 2016, at 2:29 PM, TrevorBroderick1<EMAIL_ADDRESS>wrote:
That works, thank you!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/isaacplmann/angular2-contextmenu/issues/5#issuecomment-234341914, or mute the thread https://github.com/notifications/unsubscribe-auth/AA0lQLXX797hzCD4sa-e6wsgy3YBDyDvks5qX7p8gaJpZM4JSFNx.

I believe it should be on the  element. I just tried it on the  element and it doesn't give the expected style.

Implemented in version 0.1.9 on npm.
<context-menu [useBootstrap4]="true"></context-menu>

Cheers


Enforce SSL usage in production

This pull request adds rack-ssl-enforcer, which is set up to redirect all HTTP traffic to HTTPS in production.
In the past we did this on the reverse proxy level (with Nginx), but now that we're using Empire (https://github.com/remind101/empire) we have to do it on the application layer because we don't have direct control over the reverse proxy.

@zachlatta Let's add an issue for testing this.

Looks like it works in production:
$ curl -v http://hackedu.us

Rebuilt URL to: http://hackedu.us/
Trying <IP_ADDRESS>...

On Tue, Jun 30, 2015 at 9:33 PM, Max Wofford<EMAIL_ADDRESS>wrote:

@zachlatta https://github.com/zachlatta Let's add an issue for testing
this.
—
Reply to this email directly or view it on GitHub
https://github.com/hackedu/website/pull/128#issuecomment-117432223.

Looks like it works in production:
$ curl -v http://hackedu.us
* Rebuilt URL to: http://hackedu.us/
*   Trying <IP_ADDRESS>...
* Connected to hackedu.us (<IP_ADDRESS>) port 80 (#0)
> GET / HTTP/1.1
> Host: hackedu.us
> User-Agent: curl/7.42.0
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Cache-Control: no-cache
< Content-Type: text/html
< Location: https://hackedu.us/
< X-Request-Id: e9eb858d-8b9f-4852-b968-dfa4947a2c57
< X-Runtime: 0.001535
< Content-Length: 85
< Connection: keep-alive
<
* Connection #0 to host hackedu.us left intact
You are being redirected.


Fix typos in LineCommentCommand comments.

Hi @waywardmonkeys, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

:+1:


New authorization dsl.

I've been working to extract the authorization methods to an Grape DSL to make it more future compliant.
At the moment the authorization methods rely on the API description to make it work. Grape really does not require to specify an description. So I'm thinking to introduce the authenticate method which accepts an hash. Maybe the method needs a different name, but im open for suggestions.
Below an example how the method will be used.
desc 'your api', {
....
}
authenticate { ... }
get '' do
   ..your api logic...
end

I'm excited about this. It is annoying that you require a description for every endpoint if you want to decorate with wine_bouncer. This is part of the reason I added the protected strategy!
How do other gems that interact with Grape usually work?

Well some gems tend to implement an DSL. Others use helper methods. It all depends on the goal of the gem ;)


Strict references to SystemCallError and Errno in C

For example, if SystemCallError is changed, it may invite undesirable behavior.
% bin/mruby -e '
E = SystemCallError
SystemCallError = String
E._sys_fail(1)
'
-e:4: allocation failure of String (TypeError)

Hmm, it's users fault to see the failure when they redefine class names (if we don't see fatal failures).
All we have to do is improving errors to be more comprehensive, probably.

Indeed it is. Thanks for reviewing it.


Potential to remove OFF_SCRIPT case.

Currently the ROS test driver will exit with OFF_SCRIPT in case it sees an event (output?) which is not expected.
https://github.com/UoY-RoboStar/rtcg/blob/a10b1696948916cf8780b3d3d6be04f3acb794f2/internal/gen/cpp/embed/templates/base/out_callback.cpp.tmpl#L25-L29
It may be unecessary to distinguish this in the implementation. Effectively for (SUT |[ αSP ]| T )\αSP we have a deadlock when SUT and T can't progress further.

Would there be any possibilities where the SUT can produce an unwanted output A initially, then produce the wanted output B immediately after, without any intervening input from T?  In that case, the OFF_SCRIPT case would end the test, but I think removing it would cause T to progress as if it had never seen A, only B.
That said, it might be that either the message passing semantics of ROS1 or the structure of the tests make that possibility moot or impossible to test against.

Would there be any possibilities where the SUT can produce an unwanted output A initially, then produce the wanted output B immediately after, without any intervening input from T? In that case, the OFF_SCRIPT case would end the test, but I think removing it would cause T to progress as if it had never seen A, only B.

Ok, I think I see your point. I was just expecting the machine for T to deadlock. Is this early termination an optimisation?

It's a bit difficult because the mental model I had for this generator has turned out to not match up with ROS1 particularly well, and it's been a while since I wrote the templates, but I think the effect if the off-script cases here were eliminated would be that the tester would stay in the same state.  That isn't quite the same as deadlock, because it's still able to receive and act upon subsequent outputs.
So it'd be something like
Test: [out A, out B] fails if we see out C
This generates the STM:

State 1 accepts A (goes to state 2)
State 2 accepts B (goes to state 3)
State 3 accepts C (fails)

In the current situation, if the SUT outputs B in state 1, the whole test goes off-script, as we're assuming that the SUT is outputting topics in-order (which may be an invalid assumption).  If the off-script tests were removed, then the SUT would stay in state 1 after the SUT outputs B.  But if we then receive A from the SUT, it moves to state 2, and so the trace
[out B, out A, out B]
becomes passing instead of inconclusive and the trace
[out B, out A, out B, out C]
becomes failing instead of inconclusive.
However... if I understood Lenka correctly, there might not be any guarantee that if the SUT sends A then B, A will propagate through to the tester before B.  They're separate topics.  I think the tester runs in a sequential manner, so there shouldn't be any parallelism induced ordering strangeness at its end, but I'm not sure how we establish the guarantees we'd need to be able to reason about the order of outputs.


Disable postfix items in code completion over namespaces

This is broken after refactoring

Fixed in R# 10 codebase (+ disabled over extern aliases)


PR: Fix error in Pydoc widget when quitting server in Python 2

Hello @ccordoba12! Thanks for submitting the PR.

There are no PEP8 issues in the file spyder/widgets/pydocgui.py !


AMBARI-23930 - Provide a Framework For Regenerating Keytabs During Upgrade

What changes were proposed in this pull request?
There have been cases in the past where a manual step required after performing a stack upgrade was to regenerate keytabs. This was necessary for a variety of reasons, but it wasn't problematic enough to warrant Ambari doing this as part of an upgrade.
With the stack upgrade from HDP 2.6 to 3.0, 2 new components are added: Registry DNS and ATR. If the cluster is kerberized, these new components won't start until keytabs have been generated for them.
The follow will be able to be added to an upgrade pack in order to instruct the upgrade to regenerate missing keytabs for the new components:
    <group xsi:type="cluster" name="REGENERATE_KEYTABS" title="Regenerate Missing Keytabs">
      <condition xsi:type="security" type="kerberos"/>
      <direction>UPGRADE</direction>
      <execute-stage title="Regenerate Missing Keytabs">
        <task xsi:type="regenerate_keytabs"/>
      </execute-stage>
    </group>

A credential store will need to be setup before hand so that the kerberos credentials are available when this step in the upgrade runs.
How was this patch tested?
Added some tests, still adding more. I also went through an upgrade with and without Kerberos. With Kerberos enabled, I verified that errors during the keytab generation phase do not abort the upgrade and are retry-able.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/2417/
Test FAILed.
Test FAILured.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/2425/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/2432/
Test PASSed.


Added Ecmwf CCSDS Decompression

Added the ability to decode ccsds compressed grib2 files, along the lines of eccodes and similar. I wrote a rust version of the libaec decoder used by the ecmwf and others, which I included in the ccsds.rs file. Let me know if I should make it into its own library. Also, included an ecmwf.ipynb file with a quick example, demonstrating the added capabilities.
The only library I added was bitflags, which is just handy for representations and making everything clearer, but it can probably be refactored without it if need-be.
Hopefully this is helpful!

If you are happy with this, I'm ok to merge it and fix the ci after

I'm fine as long as you're fine. Looks like you already merged main into this branch, thanks. Let me know if you need anything else from me.


Clean up (remove) migrated amend fields

What does this pull request do?
Clean up (remove) migrated amend fields.
Please only review 243d33e6e9bdb81abbb928c247e90abf81825936 and a2c69da9493d5c427c1d7f1719e165030cae11e6 -- the first commit is part of #1034.
🚧 Draft pull request until dependencies are deployed

#1034

What is the intent behind these changes?
Maximum enforceable days, completion deadline and further information have been fully migrated and dual-updating since 12 April 2022.

This is part of #1034 now


cmd/go: unknown revision while using go mod -init

What version of Go are you using (go version)?
go version go1.11beta2 linux/amd64
Does this issue reproduce with the latest release?
:+1:
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/juliens/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/juliens/dev/go"
GOPROXY=""
GORACE=""
GOROOT="/home/juliens/.gvm/gos/go1.11beta2"
GOTMPDIR=""
GOTOOLDIR="/home/juliens/.gvm/gos/go1.11beta2/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/juliens/myapp/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build973323575=/tmp/go-build -gno-record-gcc-switches"

What did you do?
go mod -init on a project with Gopkg.lock
What did you expect to see?
Everything works fine
What did you see instead?
A lots of error like this one:
go: converting Gopkg.lock: stat github.com/go-check/check@ca0bf163426aa183d03fd4949101785c0347f273: unknown revision ca0bf163426aa183d03fd4949101785c0347f273

After investigation, it may come from:
git fetch -f --depth=1 https://github.com/go-check/check ca0bf163426aa183d03fd4949101785c0347f273:refs/dummy
error: Server does not allow request for unadvertised object ca0bf163426aa183d03fd4949101785c0347f273

@Juliens Can you show your Gopkg.lock file?

@oiooj Sure
https://github.com/containous/traefik/blob/1d53077fc7a7dd24ac3bd825991ecafea31c3b41/Gopkg.lock

Duplicate of #24087, I will fix it ASAP, Thanks.


HTTP URI parsing not working for Python

I saw the post on Reddit that URLs can now be parsed (and even queried / highlighted) so I tried to take it out for a spin. It's not working for me, it seems.

`:version` information
:version
NVIM v0.9.0
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/gcc-10 -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wvla -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -fno-common -Wno-unused-result -Wimplicit-fallthrough -fdiagnostics-color=always -fstack-protector-strong -DUNIT_TESTING -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -I/__w/neovim/neovim/.deps/usr/include/luajit-2.1 -I/usr/include -I/__w/neovim/neovim/.deps/usr/include -I/__w/neovim/neovim/build/src/nvim/auto -I/__w/neovim/neovim/build/include -I/__w/neovim/neovim/build/cmake.config -I/__w/neovim/neovim/src -I/usr/include -I/__w/neovim/neovim/.deps/usr/include -I/__w/neovim/neovim/.deps/usr/include -I/__w/neovim/neovim/.deps/usr/include -I/__w/neovim/neovim/.deps/usr/include -I/__w/neovim/neovim/.deps/usr/include -I/__w/neovim/neovim/.deps/usr/include
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/__w/neovim/neovim/build/nvim.AppDir/usr/share/nvim"
Run :checkhealth for more info
Press ENTER or type command to continue

Other details

OS: CentOS 7
I installed via :TSInstall comment and ensured the latest with :TSUpdate

Hi, can you check that you are using the latest version of nvim-treesitter or that you don't have a custom query override?
You can get the query file with
echo nvim_get_runtime_file('queries/comment/*', v:true)

I double-checked and I was running an out of date nvim-treesitter. Now that I have this commit, https://github.com/nvim-treesitter/nvim-treesitter/commit/48f4f3ead16e59d886f2109dd796773c37dd713e, URIs show up as expected.

Thank you for the advice, this issue can be closed :)


Create Jasmine testing template that works with flat module style

When running unit tests with Jasmine out of the box, I see a bunch of failures about angular not being defined and other things. I think it is important for the angular community to know that there is a simple and fast way to get started with unit tests.
I think the easiest option might be to create a grunt-contrib-jasmine template that loads the amd loader file before loading all the test scripts.

@jeffmay Did you ever figure this out?

Nope. I don't think this is the right direction to go anymore. The grunt-ts folks have worked out a solution to make compilation faster using decoupled modules. This is a better approach.


Update build-service dashboard owners

Update the build service dashboards to match the build-service owners. At the moment only mmorhun can merge build service update PRs because the dashboard is also updated.

/lgtm


Enhance Spring ConfigServer: Introduce {secret} Prefix for Efficient Management of Shared Secrets

Is your feature request related to a problem? Please describe.
Currently, when externalizing secrets from the git backend to a secret manager (such as Vault or AWS Secret Manager) in a Spring ConfigServer setup, the need to duplicate secrets across multiple microservices can be cumbersome. Each microservice requests its configuration from ConfigServer using the microservice name as the application, leading to redundancy when a secret is shared among several microservices.
Describe the solution you'd like
I would like to propose an enhancement that allows for more efficient management of shared secrets. Specifically, the ability to extend the {cipher} prefix to introduce a new prefix, let's call it {secret}, and include the path to the secret in the secret manager. For example: {secret}/secret/myservice/live:apipassword=test. This modification would enable the reuse of the same secret across multiple microservices, improving efficiency and easing the process of updating shared secrets during refactoring.
Describe alternatives you've considered
One alternative could be to continue with the current approach of duplicating secrets for each microservice, but this leads to redundancy, increased maintenance efforts, and potential issues during updates. The proposed {secret} prefix offers a more streamlined and scalable solution for managing shared secrets.
Additional context
Our infrastructure consists of approximately 500 microservices, and there are scenarios where a secret, such as an API password, needs to be shared among many microservices. The introduction of the {secret} prefix would not only enhance the flexibility of managing shared secrets but also contribute to a more efficient and scalable configuration setup for large microservices architectures.
Contributions
I am available and willing to create a pull request to implement this feature once the proposal is reviewed and accepted by the Spring ConfigServer project maintainers.

The config server looks for something in the backend named application all properties within this store is served to all microservices.  For example with Vault you could do
vault kv put secret/application foo=bar baz=bam

Every microservice that request configuration from the config server would then receive the foo and baz properties.
And with AWS Secret Manager

When using AWS Secrets Manager as a backend, you can share configuration with all applications by placing configuration in /application/ or by placing it in the default profile for the application.

Is this not what you are requesting?

Hi @ryanjbaxter, thank you for your prompt response.
While the solution you provided is appreciated, it doesn't precisely align with our requirements.
Our objective is to maintain a dual backend approach, utilizing git for non-sensitive data and vault for managing secrets. We employ a composite configuration to merge the outcomes seamlessly. The configuration snippet is as follows:
spring:
  cloud:
    config:
      server:
        encrypt:
          plainTextEncrypt: true
        composite:
          - type: git
            uri: git@mygithub.com:configuration/{application}.git
            default-label: master
            ignoreLocalSshSettings: true
          - type: git
            uri: git@mygithub.com:configuration/global.git
            default-label: master
            refreshRate: 86400
          - type: vault
            host: vault.myhost
            backend: configserver
            kvVersion: 2
            authentication: TOKEN

During startup, services request configurations using their service names (e.g., myservice). This retrieves keys from:

mygithub.com:configuration/myservice.git
mygithub.com:configuration/global.git
vault: /configserver/myservice

This setup works seamlessly when secrets for myservice are located under /configserver/myservice. Our secret schema looks like this:
/configserver/rds/myservice/password
/configserver/apipassword/anotherservice

To enhance maintenance, we propose the ability to reference secrets in the git configuration, such as:
{vault}/configserver/apipassword/anotherservice

or a more generic form:
{secret}/configserver/apipassword/anotherservice

This would prompt the configserver to fetch the secret by path from the configured secret backend (in this example, Vault). This approach streamlines management, especially when identical secrets are used across multiple services, like /configserver/apipassword/anotherservice. Additionally, we can create namespaces like /configserver/rds to organize secrets efficiently.
I trust this clarifies our request. Feel free to reach out if you require additional details. Thanks.

I am not sure I am understanding the problem....
It seems like if you structured your secrets like this:
/configserver/application/

And placed all common secrets under there all applications would get these properties.
However since you have chosen to structure your secrets differently you cannot do this?
I also don't understand why your git configuration would reference these common configurations.
Why wouldn't you set
configserver/apipassword apipasswordproperty=mypassword

in Vault?
Why would you set the property in Git and then reference the value in Vault?

Consider a scenario with three services: ServiceA, ServiceB, and ServiceC.
ServiceA needs to make requests to ServiceC, and ServiceB also needs to make requests to ServiceC. Both ServiceA and ServiceB require the apiPassword for ServiceC.
With the current configserver implementation, two separate secrets are needed in Vault:
/configserver/ServiceA serviceCApiPassword=mypassword

/configserver/ServiceB serviceCApiPassword=mypassword

Consequently, when ServiceA requests its configurations, it retrieves the apiPassword to connect to ServiceC, and the same process occurs for ServiceB.
The desired outcome is to streamline this process by having a single secret:
configserver/ServiceC apiPassword=mypassword

In the configurations for both ServiceA and ServiceB, we aim to reference the Vault path:
{vault}configserver/ServiceC

This approach eliminates the need for duplicated secrets. While this example highlights only two instances of duplicated secrets, envision scaling it up to a scenario involving 500 microservices that share common secrets. The goal is to enhance efficiency and simplify secret management across a large-scale microservices architecture.

This can be accomplished with
/configserver/application serviceCApiPassword=mypassword

Both ServiceA and ServiceB will get serviceCApiPassword when fetching their configuration from the config server

Yes, indeed it can, but also a ServiceX would get this secret even though it is not needed, so that would be a security issue leaking secrets to all services.

Ok so what you really want is a list of applications allowed or a list of applications not allowed?
that seems like a much simpler way to accomplish what you are looking for

I guess I know what you are about to suggest. The service sends the token and we link the secrets to the token sent by the service. Yes, that would definitely work. But we can't use client authentication in our use case (for many other reasons), we need to use server authentication (configserver authenticate to vault)

Got it.  I could imagine something on the config server that specify which application names will get the common configuration properties from application.  We could also offer a property the does the opposite and instead is an exclusion list.

I'm not sure if I fully understand that. How that would look like?

I stumbled here by accident.
This looks like exactly what I planned to have.
So I need to enable the vault profile and set the value starting with {vault}.

I just did some tests and it does exactly what is needed for this use case.

I needed to set the configuration for Vault under spring, not under composite.

spring:
  cloud:
    config:
      server:
        vault:
          backend: configserver
          skipSslValidation: true
          kvVersion: 2
          authentication: TOKEN
          token: "mytoken"

I need to enable the vault profile
I need to use the following pattern to set the key: one: "{vault}:rds/testdatabase#password"
My secret is stored in vault like this:

So in the end, it is a matter of lack of documentation since I could not find any mention about this feature in spring cloud docs.

Huh I didnt even know about that.  Would you be interested in adding some docs on this?

Sure, I can take a look. Which section do you suggest to put this?

I would say here
https://github.com/spring-cloud/spring-cloud-config/blob/4.0.x/docs/src/main/asciidoc/spring-cloud-config.adoc#vault-backend

I implemented something similar for AWS Secrets Manager.  The AWS Secrets Manager repository imposes a secret naming convention, but I wanted more flexibility in naming secrets.  A custom configuration overrides the {cipher} prefix resolver to read secrets from AWS Secrets Manager.  An application property can specify a secret ARN or secret name:
spring:
  datasource:
    password: '{cipher}spring-cloud-config/payment-service/spring.datasource.password'

There is already issue #1785 to document the {vault} decryptor.


Create "Up Next" sections in each .livemd file.

By reading the start.livemd file using the File module we can determine the order of reading material and exercises.
Once we have the expected order of reading material we could either

write a script that automatically adds an "Up Next" section to each .lvemd file.
manually add the "Up Next" section to each .livemd file and create a test to ensure each .livemd file includes a link to the next .livemd file.

For example, here's the first day of the course in start.livemd.
1. Course Tools

Reading

Command Line
Git

We would expect reading/command_line.livemd to include the following "Up Next" section:
Up Next

Git

It may be more challenging, but I'd prefer to write this as a script to make it easier to modify the "Up Next" sections. For example, we may want to include the previous .livemd file.

#153 could cause issues for this


[Docs] Working with Components

Current State
In the MeshMap docs
"Working with Components" appears twice:

Under Getting Started With Designs and
In the Main Meshmap table of content

Desired State
There should only be one occurrence of the "Working with Components" document in the MeshMap docs, and it should be structured clearly to avoid confusing users. The content from both existing pages could be merged and expanded to accurately explain what components are and what they can do within MeshMap.
This new document should factor in:

Configuring components.
Using the radial context menu to lock, style, duplicate, and delete components.
Annotations

More research should be done on the Use of components within Meshmap.

Contributor Guide and Resources

📚 Instructions for contributing to documentation

Layer5 documentation site and source

🎨 Wireframes and designs for Layer5 site in Figma (open invite)
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

@Alero-Awani I can get started with merging the contents, followed by additional points.
Where should we put the final doc?

For now it will be under "Getting Started with Designs"


[UI] Inconsistent design of the ‘Workshop’ cards

Environment: Win10 v21H2 64-bit, Chrome v 99.0.4844.74
Reproducible: always
Build found: frontend: gcp-0.0.56, backend: gcp-0.0.119
Preconditions
Go to OoS (https://oos.dmytrominochkin.cloud/#/) as unregistered user
Steps to reproduce

Scroll down to the area with ‘Workshop’ cards

Actual result
The ‘Workshop’ cards do not meet the design: address field is beyond the card’s frame

Expected result
Design https://www.figma.com/file/YRYP4zAAchOyYMgdoeP782/MoE-|-Dev-Team?node-id=805%3A1552
Labels to be added
"Bug", "pri: medium", "severity: trivial", Type ‘UI’

fixed!

Verified, closed.


documentation

The current documentation https://wiederm.github.io/transformato/ does not look like it should (https://johanneskarwou.github.io/transformato/), @wiederm is the correct branch (https://github.com/wiederm/transformato/tree/dev_doc) set in the pages setup? Because it looks like it's only the README from the master branch...

I converted the comment to an issue @JohannesKarwou
I think I might have found the issue --- it was building from the correct branch but from the /root directory. I changed this to /docs.
Hopefully, this resolves the issue.

Perfect! Looks like it should!


ci: Permit failures on nightly

Nightly is  broken today. Let's make these failures advisory.

My preferred strategy is to pin the version of nightly that works w/ a comment linking to the rust issue that is blocking nightly. That said, nightly is currently working, so I will close this.


Exception message too broad

https://github.com/hubblestack/hubble/blob/44cf4a493bc74234980632116acfc2c66ad7569d/hubblestack/splunklogging.py#L361
Just a suggestion: While I was debugging why our hubble instance wouldn't connect to its splunk returner, I found this exception to be a little too vague to figure out what hubble was doing with the request/response. It Would be useful to print out the requests.response.status_code in the exception and the json response in requests.response.content if any.

This is a great suggestion. I agree that it's not super useful at the moment.

I just submitted PR #404 to address this - https://github.com/hubblestack/hubble/pull/404


Fix collection-status truncation

Coverage decreased (-0.03%) to 17.491% when pulling 99de9d604aaa691ed6490bb8d9e6871c1090c14d on cryptobioz:collection-trunc into a5b7e2c4c680daeffcbc0e64935c2709e12ab01b on camptocamp:master.


Assigned Roles - User Roles Changes

Updated the changes across the package.
Fresh installation creates the correct tables , unit tests working without failing.
All areas updated :

All PHP files
Migration Templates
Readme

Tested against Laravel 4.2

Thanks for adding this. This is a breaking change, so I'm not positive we'll add it at this time.
Can you add to the readme upgrade instructions?


Pr14 Split the main file into separate small categorized files

This doesn't change any functionality. Just places the classes into their own categorized files.

As discussed privately, I don't think this approach of many dependent consecutive PRs makes much sense. It is hard to review and causes issues when changes are requested in previous PRs.
Also, they cannot be merged right now: PR 1 is not passing tests, so it can't be merged into main. All other PRs don't target main but the previous PR's target branch, so merging them individually would not land the code in main either.
Due to time constraints, please create a single PR with all changes into main, then we will merge it and do a full review afterwards and act on the feedback in separate PRs.


types declare

Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch<EMAIL_ADDRESS>for the project I'm working on.

Here is the diff that solved my problem:
diff --git<EMAIL_ADDRESS><EMAIL_ADDRESS>index 68a11b2..69a5d0a 100644
---<EMAIL_ADDRESS>+++<EMAIL_ADDRESS>@@ -56,7 +56,7 @@ export interface BaseEvent<
   /**
    * @desc 事件绑定的当前组件的一些属性值集合
    */
-  currentTarget?: Target<CurrentTargetDataset>;
+  currentTarget?: EventTarget<CurrentTargetDataset>;
   [key: string]: any;
 }

@@ -72,7 +72,7 @@ export interface CustomEvent<
   /**
    * @desc 额外信息
    */
-  detail?: Detail;
+  detail: Detail;
   [key: string]: any;
 }

This issue body was partially generated by patch-package.

Can you please specify your problem?

I think I just know what you mean.
Target doesn't exist. Fixed in v0.3.1. Please try.
uni-app doesn't ensure detail exists. So there should be a ?. Please use detail with optional chaining.


Strange error message for incorrect SORT statement

Apparently, I don't know ABAP well enough:
sort itab by group asc number desc.
TEST FAILURE
Expected '[object Object]', got '[object Object]'

Should have been a syntax error.

what are the columns in updated_data?
suggest pasting the entire snippet here so it can be reproduced

  TYPES: BEGIN OF initial_type,
             group       TYPE group,
             number      TYPE i,
             description TYPE string,
         END OF initial_type,
         itab_data_type TYPE STANDARD TABLE OF initial_type WITH  EMPTY KEY.
  DATA itab TYPE itab_data_type.
  SORT itab BY group asc number desc.

correct:
  SORT itab BY group ASCENDING number DESCENDING.

released as 2.93.11

the Exercism test runner will be updated eventually...


Drakula theme does't work at ZSH

.zshrc:
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH

# Path to your oh-my-zsh installation.
export ZSH="/home/ye/.oh-my-zsh"

# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="dracula"

# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in $ZSH/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )

# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"

# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"

# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"

# Uncomment the following line to automatically update without prompting.
# DISABLE_UPDATE_PROMPT="true"

# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13

# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"

# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"

# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"

# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"

# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"

# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"

# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy"

# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder

# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git)

source $ZSH/oh-my-zsh.sh

# User configuration

# export MANPATH="/usr/local/man:$MANPATH"

# You may need to manually set your language environment
# export LANG=en_US.UTF-8

# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
#   export EDITOR='vim'
# else
#   export EDITOR='mvim'
# fi

# Compilation flags
# export ARCHFLAGS="-arch x86_64"

# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"

# Zplug

source ~/.zplug/init.zsh

# Make sure to use double quotes
zplug "zsh-users/zsh-history-substring-search"

# Use the package as a command
# And accept glob patterns (e.g., brace, wildcard, ...)
zplug "Jxck/dotfiles", as:command, use:"bin/{histuniq,color}"

# Can manage everything e.g., other person's zshrc
zplug "tcnksm/docker-alias", use:zshrc

# Disable updates using the "frozen" tag
zplug "k4rthik/git-cal", as:command, frozen:1

# Grab binaries from GitHub Releases
# and rename with the "rename-to:" tag
zplug "junegunn/fzf-bin", \
    from:gh-r, \
    as:command, \
    rename-to:fzf, \
    use:"*darwin*amd64*"

# Supports oh-my-zsh plugins and the like
zplug "plugins/git",   from:oh-my-zsh

# Also prezto
zplug "modules/prompt", from:prezto

# Load if "if" tag returns true
zplug "lib/clipboard", from:oh-my-zsh, if:"[[ $OSTYPE == *darwin* ]]"

# Run a command after a plugin is installed/updated
# Provided, it requires to set the variable like the following:
# ZPLUG_SUDO_PASSWORD="********"
zplug "jhawthorn/fzy", \
    as:command, \
    rename-to:fzy, \
    hook-build:"make && sudo make install"

# Supports checking out a specific branch/tag/commit
zplug "b4b4r07/enhancd", at:v1
zplug "mollifier/anyframe", at:4c23cb60

# Can manage gist file just like other packages
zplug "b4b4r07/79ee61f7c140c63d2786", \
    from:gist, \
    as:command, \
    use:get_last_pane_path.sh

# Support bitbucket
zplug "b4b4r07/hello_bitbucket", \
    from:bitbucket, \
    as:command, \
    use:"*.sh"

# Rename a command with the string captured with `use` tag
zplug "b4b4r07/httpstat", \
    as:command, \
    use:'(*).sh', \
    rename-to:'$1'

# Group dependencies
# Load "emoji-cli" if "jq" is installed in this example
zplug "stedolan/jq", \
    from:gh-r, \
    as:command, \
    rename-to:jq
zplug "b4b4r07/emoji-cli", \
    on:"stedolan/jq"
# Note: To specify the order in which packages should be loaded, use the defer
#       tag described in the next section

# Set the priority when loading
# e.g., zsh-syntax-highlighting must be loaded
# after executing compinit command and sourcing other plugins
# (If the defer tag is given 2 or above, run after compinit command)
zplug "zsh-users/zsh-syntax-highlighting", defer:2

# Can manage local plugins
#zplug "~/.zsh", from:local

# Load theme file
zplug 'dracula/zsh', as:theme

# Install plugins if there are plugins that have not been installed
if ! zplug check --verbose; then
    printf "Install? [y/N]: "
    if read -q; then
        echo; zplug install
    fi
fi

# Then, source plugins and add commands to $PATH
zplug load --verbose

Xtresources:
##### THIS FILE IS BEING CURRENTLY MANAGED BY URXVTCONFIG #####
##### CHANGES DONE TO THIS FILE MANUALLY MAY AFFECT THE FUNCTIONALITY ######
##### PROCEED WITH CAUTION! #####

! Dracula Xresources palette
*.foreground: #F8F8F2
*.background: #282A36
*.color0:     #000000
*.color8:     #4D4D4D
*.color1:     #FF5555
*.color9:     #FF6E67
*.color2:     #50FA7B
*.color10:    #5AF78E
*.color3:     #F1FA8C
*.color11:    #F4F99D
*.color4:     #BD93F9
*.color12:    #CAA9FA
*.color5:     #FF79C6
*.color13:    #FF92D0
*.color6:     #8BE9FD
*.color14:    #9AEDFE
*.color7:     #BFBFBF
*.color15:    #E6E6E6

URxvt.foreground: #F8F8F2
URxvt.background: #282A36
URxvt.color0:     #000000
URxvt.color8:     #4D4D4D
URxvt.color1:     #FF5555
URxvt.color9:     #FF6E67
URxvt.color2:     #50FA7B
URxvt.color10:    #5AF78E
URxvt.color3:     #F1FA8C
URxvt.color11:    #F4F99D
URxvt.color4:     #BD93F9
URxvt.color12:    #CAA9FA
URxvt.color5:     #FF79C6
URxvt.color13:    #FF92D0
URxvt.color6:     #8BE9FD
URxvt.color14:    #9AEDFE
URxvt.color7:     #BFBFBF
URxvt.color15:    #E6E6E6

URxvt*scrollBar:         false
URxvt*scrollBar_right:   false

URxvt*transparent:       true
URxvt*shading:       50

URxvt.font: xft:Fira Code Retina:pixelsize=12
URxvt.letterSpace: 0

*antialias:  true
*autohint:   true

Having your entire config isn't much help. See if you can reduce it (binary search works well) to a smaller piece that "doesn't work." I recommend transferring this over to the dracula/zsh repo, though

@benknoble As you see It's they all configs working with no errors, but result is NOT EXPECTED. What is wrong, what I need to check?
I did only this:
Install manually
Download using the GitHub .zip download option and unzip them.
Move dracula.zsh-theme file to oh-my-zsh's theme folder: oh-my-zsh/themes/dracula.zsh-theme.
Move /lib to oh-my-zsh's theme folder: oh-my-zsh/themes/lib.

I fear you've missed my point; try to narrow down your configuration (eg, by commenting out half of your code at a time) until you have a small example that doesn't work.
I don't have the time or knowledge to debug your whole config (though maybe someone does), in part because I use a custom zsh and not oh-my-zsh, so I have no idea how to troubleshoot it or its theming system.
However, troubleshooting ~10 lines is usually easier than ~100, and so on.


Fix/investigate inconsistent partition size in fetching larger datasets

Looks into #40

@jrbourbeau I left the xfail mark on the test parameter, so it "successfully failed" here. Sorry for that confusion.
I'm trying to (roughly) bisect where things fall apart. I'll push that as parameter to the test and remove the xfail (for now)


 Can you confirm?

Works now. 🙂 May I ask, is this project still actively maintained? (and perhaps planned to be, for the near future)

The page being down had nothing to do with the projects maintenance, I was just doing some re-arranging of my GitHub pages.
I'm not planning on adding extensive new feature or any time soon, but I have been keeping the project up to date with TensorFlow releases and such. Is there anything missing that makes you ask that?

No worries! The question was not necessarily related. I just like to know whether projects are maintained before I decide to further study the documentation and perhaps use it in my models.


Do you support nosql?

Hi guys.
We are using "spring-data-mongodb" library.
Can I use kotlin-jdsl with mongodb (nosql)?
THX.

I am currently in trouble. However, nothing has been confirmed yet.


Failing to extract definitions form sentences with "known as" construction

It looks like we fail to get definitions from sentences with AKA clauses ("known as").
Example: "Arlotto Mainardi, known variously as Pievano Arlotto or Piovano Arlotto, was a priest known for jests and "pleasantries." List of subjects: ([u'Arlotto Mainardi', u'Pievano Arlotto', u'Piovano Arlotto', u'Piovano Arlotto'])
Other examples:
MainThread - DEBUG -   .. whoami exception for: "Norma Sue Edwards Scott, known as Sue Scott, is a Republican member of the Arkansas House of Representatives from Rogers in Benton County in northwestern Arkansas." ([u'Sue Scott', u'Norma Sue Edwards Scott', u'Sue Scott (politician)'])

MainThread - DEBUG -   .. whoami exception for: "Indalecio León Zarasqueta Uriarte, known as Txikito de Eibar or Aizpiri txiki, was a Basque pelota player who participated in "pala", Hand-pelota, "remonte", long bat and short bat categories." ([u'Txikito de Eibar', u'Aizpiri txiki', u'Indalecio Le\xf3n Zarasqueta Uriarte', u'Indalecio Sarasqueta'])

MainThread - DEBUG -   .. whoami exception for: "Club Atlético Kimberley known as Kimberley de Mar del Plata is a sports club from Mar del Plata, Buenos Aires Province, Argentina." ([u'Club Atl\xe9tico Kimberley', u'Kimberley de Mar del Plata', u'Kimberley de Mar del Plata'])

MainThread - DEBUG -   .. whoami exception for: "Lawrence Fewell Roberts II, known as Robin Roberts and in his music career as "Rockin' Robin" Roberts, was an American singer best known for his performances in the early 1960s with The Wailers, a rock and roll band based in Tacoma, Washington." ([u'Robin Roberts', u'Lawrence Fewell Roberts II', u"Rockin' Robin Roberts"])

MainThread - DEBUG -   .. whoami exception for: "Rebuild of Evangelion, known in Japan as , is a Japanese animated film series and a reboot of the original "Neon Genesis Evangelion" anime TV series, produced by Studio Khara." ([u'Rebuild of Evangelion'])

Probably after recent spaCy updates (https://github.com/infolab-csail/whoami/pull/133), all of the above examples now parse correctly with no errors, except for Rebuild of Evangelion which gives:
>>> get_assertion_definitions("Rebuild of Evangelion, known in Japan as , is a Japanese animated film series and a reboot of the original \"Neon Genesis Evangelion\" anime TV series, produced by Studio Khara.", subject=[u'Rebuild of Evangelion'])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/henryhu/whoami/whoami/query.py", line 44, in get_assertion_definitions
    entry = extract_assertion(assertion, subject=subject)
  File "/Users/henryhu/whoami/whoami/defextract.py", line 200, in extract_assertion
    postprocess_entry(entry, substitutions)
  File "/Users/henryhu/whoami/whoami/postprocess.py", line 268, in postprocess_entry
    filter_definitions(entry)
  File "/Users/henryhu/whoami/whoami/postprocess.py", line 219, in filter_definitions
    common_hypernym = get_common_hypernym(definition_nodes)
  File "/Users/henryhu/whoami/whoami/postprocess.py", line 248, in get_common_hypernym
    common_hypernym = nodes[i].common_hypernym(nodes[j])
  File "/Users/henryhu/whoami/whoami/deftree.py", line 136, in common_hypernym
    closest_ss_pair = max(filter(lambda ss_pair: ss_pair[0].wup_similarity(ss_pair[1]), ss_pairs), key=lambda ss_pair: ss_pair[0].wup_similarity(ss_pair[1]))
ValueError: max() arg is an empty sequence

This error doesn't appear to be related.


Pull Request for Files Exercises

@EternalFootman hey, didn't have time to finish this, but I plan to work on some today

@namagic @EternalFootman looks like you didn't get around to this? Bummer.  take a look at my solution and the other students' work to make sure the concepts sink in.
Also, the trinket in this post is blank.  Make sure you get a Share link to one with your changes.


US Core v6.1.0 - 10.10.08 : All must support elements are provided in the DiagnosticReport resources returned

When we run the Single Patient API tests for US Core 6.1.0 / USCDI v3, SMART App Launch 1.0.0, Bulk Data 1.0.1 this test fails with the error - Could not find result, media, media.link in the 4 provided DiagnosticReport resource(s)
There is media element available in couple of resources returned as part of the test earlier (10.10.02 ) but I am not sure why it is complaining about that.
Also none of the tests that ran before this returned 4 DiagnosticReport resources so not sure which 4 is it talking about?

Without looking your actual testing session, one possible issue is that Inferno is not granted to read the referenced Media resource linked in media.link. Make sure patient/Media.read is granted to Inferno during STMART launch

I see this ticket is open for some time, I am also facing this issue. Any updates on it?
We have provided patient/Media.read permission and still this test is getting skipped (10.10.08).


Fix chat-bison unrecognized model error

When using the chat-bison model from vertexai, an error stating the model is not available will pop up:

Google Cloud trail expired

https://github.com/llm-proxy/llm-proxy/pull/152


How to increase the size of the popup?

How to make the popup match the width of device ? Right now its wrap content.

This is not supported, because usually this pattern is supposed to be scaling with the number of displayed items + horizontal+vertical margins. 2 advises:

increase the horizontalMargin parameter in order to increase the dialog width
fork this library and rewrite the dialog internal logic


Remove obsolete 'awaits_download' field.

It used to be a separate piece of state, but after 9a6c0be823 it's just an alias for the Tenant being in Attaching state. It was only used in one assertion in a test, but that check doesn't make sense anymore, so just remove it.
Fixes https://github.com/neondatabase/neon/issues/2930

@LizardWizzard I already did that, #2930 is the tracking issue.
How do we ensure that this commit only gets deployed after the cloud.git change?

I don't think it matters. There's no code in the cloud repo that actually uses the field, so nothing will break. The e2e tests are passing, too.

I don't think it matters. There's no code in the cloud repo that actually uses the field, so nothing will break.

It can still be present in autogenerated models, so even if it is not used client will try to parse it. We respond with TimelineInfo in timeline_create_handler which is invoked by console. So the sequence is correct, remove it from console first and then remove from PS

I don't think it matters. There's no code in the cloud repo that actually uses the field, so nothing will break.

It can still be present in autogenerated models, so even if it is not used client will try to parse it. We respond with TimelineInfo in timeline_create_handler which is invoked by console. So the sequence is correct, remove it from console first and then remove from PS

A new console version was released today, which included the removal of awaits_download from the console autogenerated client.


Pre Zoomed Card

Is your feature request related to a problem? Please describe.
Im uncertain if this feature already exists but I'd like to be able to define a Frigate Card to be zoomed to a specific level by default. Right now you can zoom manual on a camera via scroll. However, I'd like to be able to predefine the setting so on loading a camera view it's already zoom on the area I want at the level I want.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
Within the Frigate Card settings I can define a zoom level and a point of the screen to define the centre. I assume this is roughly how the manual zoom works.
Many Thanks

Can anyone help define if this is an enhancement (feature request) or already possible?

Can anyone help define if this is an enhancement (feature request) or already possible?

This does not already exist and is an enhancement that needs prioritization. I have been thinking about how to do it ...
It's related to https://github.com/dermotduffy/frigate-hass-card/issues/1393 . If implemented the way I had intended in that issue, we wouldn't be able to "zoom back out" from the "pre-zoomed position" -- so now thinking maybe this way is the better choice.

This is now implemented, and will be in the next build. As a nice side effect, you can now do things like this.

Amazing, thanks very much!

@dermotduffy out of interest, when will the next build be released?

When this milestone is complete. It's slow going, but I'm hoping it won't be too long, really want to get this out the door...


Please, release this library

Hi, I would really like to work with this project, it would be really nice to have it in crates.
Can I help you to test/release?

Hi Luis, sorry for not responding earlier 😅.
I am planning an initial release for Bevy 0.9, which should be ready in a few days.
If you would like to test the current version you can add the following to your Cargo.toml, or you could clone the repo and run the examples.
bevy = { git="https://github.com/bevyengine/bevy" }
bevy_terrain = { git="https://github.com/ku95/bevy_terrain" }

I am always looking for people willing to help develop/test/use the plugin.
If you would like to chat about its current state you might want to join the discord server 😄.

Hi again,
Your code runs just fine, but there is quite a limitation in having to use unreleased bevy. It introduces a large question mark about the support for any of the other libraries. Let me know if you need help binding bevy terrain to at least the latest bevy release.


Icons made visible in dropdown of profile section

Related Issue
Issue #777
Description
Icons on the dropdown of the profile section were not visible, which affected the overall user experience. The issue has been resolved and all icons are now visible and properly aligned, enhancing the user experience. Redundancy in the dropdown has also been removed, ensuring consistent navigation across different sections.
Type of PR

[x] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
BEFORE -

AFTER-

Checklist:

[X] I have performed a self-review of my code
[X] I have read and followed the Contribution Guidelines.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[X] I have commented my code, particularly in hard-to-understand areas.

Additional context:
This issue has been resolved, which improves the user experience and ensures consistent navigation across different sections with the help of dropdown in profile section. It is requested to kindly review the changes and merge this PR.

There have some issues check it once

There have some conflict issue check it once and then make a new PR. ok

I have resolved the conflicts in this PR only. Kindly check and merge.


MIX-1328: Improved the performance of for line charts

https://grantadesign.atlassian.net/browse/MIX-1328

👍


We should remove gpg signing stuff from PRs

When someone forks and makes a PR, the build fails on the GPG portions. We should exclude that from PR building

This is a duplicate of this issue I have created already https://github.com/open-feature/java-sdk/issues/36

Thanks. The UI wasn't loading for me so I did it from the CLI and didn't check for existing issues


spi_manifest is not null discrepancy between dev/prod after re-analysis

dev:

prod:

Might have to re-run to be sure but in that case it's probably best to fix #1261 first

Fixed by re-analysing just the missing packages manually:


I want to contribute a game

I have written a game with python and pygame.
Do take a look.
It’s a fairly medium sized project. If you like the project a lot, you could integrate it within your Snakeware Project. And you had mentioned that some changes will be needed to make it work in your project. If you like my project, we can work together to to integrate it in yours.

Hi, I'm closing this for now, but feel free to send a PR and add your game!


B4 update

confirmed:ID1
account1:33dKda6KxEHcPquCcd6ToYeeCDPoBeV4jFj7FPK6Up9QyuqegZ
account2:3w1qLR8yLPvKv6SjvZDWUiNREaz3UgEmGSo9R9tDn1H3hy3EFH

confirmed:ID1
account1:33dKda6KxEHcPquCcd6ToYeeCDPoBeV4jFj7FPK6Up9QyuqegZ
account2:3w1qLR8yLPvKv6SjvZDWUiNREaz3UgEmGSo9R9tDn1H3hy3EFH

confirmed:ID2
account1:33dKda6KxEHcPquCcd6ToYeeCDPoBeV4jFj7FPK6Up9QyuqegZ
account2:3w1qLR8yLPvKv6SjvZDWUiNREaz3UgEmGSo9R9tDn1H3hy3EFH
PublicDataAttributes:verified
DeviceMake&Model:verified

confirmed:ID2
account1:33dKda6KxEHcPquCcd6ToYeeCDPoBeV4jFj7FPK6Up9QyuqegZ
account2:3w1qLR8yLPvKv6SjvZDWUiNREaz3UgEmGSo9R9tDn1H3hy3EFH
PublicDataAttributes:verified
DeviceMake&Model:verified

confirmed:ID4
AccountAddress:3w1qLR8yLPvKv6SjvZDWUiNREaz3UgEmGSo9R9tDn1H3hy3EFH
DeviceDetails:verified

confirmed:ID4
AccountAddress:3w1qLR8yLPvKv6SjvZDWUiNREaz3UgEmGSo9R9tDn1H3hy3EFH
DeviceDetails:verified

confirmed:ID3
DocumentType:verified
Nationality:verified
DeviceDetails:verified
Experience:verified
Screenshot:verified

confirmed:ID3
DocumentType:verified
Nationality:verified
DeviceDetails:verified
Experience:verified
Screenshot:verified

rejected:B1
It looks like you are trying to submit B1, however it seems like the following submission criteria are problematic:

Logs are missing
We’ve thus marked B1 as rejected, however if this is a mistake, please upload the log summary and we can re-review.

confirmed:B4
address:3ixS2Vz4kVUgmNetd9aQghNVjQPrL81T8Nabck1TgxWDZjqthV
baker:508

confirmed:B4
address:3ixS2Vz4kVUgmNetd9aQghNVjQPrL81T8Nabck1TgxWDZjqthV
baker:508


added package for bluez-tools

Since no other bluetooth software works for me, and many other distros have it, thought I'd add bluez-tools to nixpkgs.

Also, could you please reword your commit message according to https://nixos.org/nixpkgs/manual/#chap-submitting-changes? Thanks!

Since no other bluetooth software works for me

Me too.
Bluetooth works in kde 5 using https://github.com/NixOS/nixpkgs/pull/12683. It has just been sitting there as no one seems interested enough to merge it. Feedback would be greatly appreciated.

@fpletz did i do it correctly?


fix grammar

"Try to" is the correct construction (vs. "try and").

Change looks fine but will need the CLA signed.

No thanks. Entering into a contract for changes as minor as these doesn’t seem worth it to me. These changes are minor, so that it should be easy for you to make your own PR if you want.

Sure. I made same update in #2322.
Thanks so much for your contribution.


axis=1 forgotten in tf.reduce_any and tf.reduce_all in TacoTestHelper

Hi,
For making batch synthesis work, there is a code error, you need to add axis=1 to tf.reduce_any or tf.reduce_all or else it will stop decoding for all sentences in a batch at once if one of them is finished decoding.
Regards.

I agree with you.


Link multiple social login sessions for same user via e-mail

if a user tries to social login whose email is already linked to a previous login, next auth callback will fail.

Since the social options are gone now, I'm closing this


Donation amount summary per author/organization

I would like to see how much money each author/organization made.
When I open an author page, (e.g. https://polar.sh/sindresorhus) I want to see

total amount since registration
current monthly revenue

I think this would have the following benefits:

encourage more developers to join Polar
see if a project is well-funded

to help choose well-funded libraries/programs when designing the architecture of a new project
guess if a new project is expected to be successful

Apologies for not responding to this sooner @notramo. Reviewing & cleaning up our issues/discussions to better facilitate an open backlog and clean-up feature requests – moving them into discussions if relevant.
Unfortunately, I'm closing this as not planned. Our focus is to be the best platform for developers to get paid, but disclosing how much should default to being private unless the developer desires to disclose it themselves, e.g share screenshots of their metrics, leverage our API to automate generation of public dashboard etc. I don't think we should make that call on behalf of everyone.


How to sort uuid or string?

Hi, thanks for making this cool library.
I wonder how to model data from another server in which the ID is UUID/Hashid (string, non-integer).
I was thinking about modeling  the key of the data by
{:message, uuid}

But then I get stuck on how to sort the data.
For an integer id, it would be like
select(min_key: {:message, 0}, max_key: {:message, nil})

but how about an uuid/hashid(string) ? Any help would be appreciated

Hi @drselump14 , thanks for the kind words :)
If you want to select all entries from this collection, considering the term ordering, you could do:
select(min_key: {:message, ""}, max_key: {:message, 0, 0})

This should work because:

Tuples are compared by size, then by content, so a three-element tuple is always greater than a two-element tuple
Binary strings are always greater than lists
Numbers are always considered smaller than other terms

Technically the boundaries are not perfect, because for example the range will include {:message, "hello", -1}, but if you control how keys are structured and can ensure no such key is created, it should be good enough.
If Elixir had a concept of infinity, one could set  max_key: {:message, -infinity, -infinity}, but no such thing exists as far as I am aware.

For UUIDs you could maybe also use the Nil and Omni UUID as min_key and max_key.

That makes a lot of sense @optikfluffel 🙂

@drselump14 I will close the issue as the question is answered, but feel free to comment further, and I will reopen it if needed.

This particular use-case has been addressed, but I wanted to offer a refinement based on @lucaong's comment above that is a bit more flexible and works with arbitrary binaries that don't have a known min-max like UUIDs.
Let's say you have keys that look like this:
{:A, :category1, "foo"}
{:A, :category2, "bar"}
{:B, :category3, "baz"}

Now here's the question: how do you select all :A keys in :category1?
You could use {:A, :category1, ""} as a min key, but you cannot construct a max key using the techniques above that will not include unnecessary additional data.
For instance, you could try increasing the tuple length and use {:A, :category1, 0, 0} as suggested above, but this will end up selecting our {:A, :category2, ...} and {:B, ..., ...} records because the size-4 tuple is greater than all size-3 tuples.
The solution we found is to wrap binaries in tuples! So now our keys look like this:
{:A, :category1, {"foo"}}
{:A, :category2, {"bar"}}
{:B, :category3, {"baz"}}

And we can select using the min/max keys:
{:A, :category1, {}}
{:A, :category1, {nil, nil}}

This allows us to select exactly the range that we want! As a bonus, this can be applied to any field in your key to create a natural min/max so that you don't have to remember a bunch of factoids about term order :). For instance, if we wrap categories, we could get all :A records with these min/max keys:
{:A, {}, nil}
{:A, {nil, nil}, nil}

Nice!

thanks @lucaong @zachallaun


Midas UI Updates

Problem
Once we have the basic integration done, we will need to update the Midas UI
Proposed Solution
Do not require user to be on the pool’s chain when clicking ETH asset.

Add ability to choose a chain to supply from. Choosing a different chain will go through the xcall path.

Acceptance Criteria

[ ] As a user I can supply ETH to pools from any chain
[ ] Slippage and estimated amounts are clear to me
[ ] Fees are clear to me

Updating target contract and integrating into SDK/UI now.

Released new chain-abstraction SDK for changes. Basically done, debugging and testing.

https://github.com/connext/monorepo/releases/tag/chain-abstraction-v1.0.2-alpha.8

Pancake V3 SwapRouter issue fixed.
A bug fixed in SwapAndXcall.sol
Redeployed both of bnb and polygon chain
Relesed new chain-abstraction SDK

Finally midas UI is basically working with chain-abstraction sdk

Add functions to chain abstraction SDK to estimate swap outputs.
https://github.com/connext/monorepo/issues/4077

https://github.com/connext/monorepo/issues/4098

Working on estimate amount.

Estimate
Estimating swap output is done and tested.
I created an issue on connext-integration repo and once merged and deployed, we can complete Midas integration.

https://64585fdc792bc95922748ced--preview-midascapital.netlify.app

Moving as done. We will file new individual needs as the ycome up


Crosshair tool

Hello, first of all, congrats and thanks for providing such a good library. I'm also integrating the cornerstone tools on my project and I saw that in your demo the Crosshair tool have the lines drawn (in cross), but the original tool from cornerstone don't have it. Can you tell me how can I draw the lines like your example?
Best regards.

Hello
The lines you described are being maintained in vanilla cornerstoneTools library, namely ReferenceLinesTool. Check out this sample official implementation HERE.
Don't forget to set synchronizer for this tool.

Hello and thank you for this good library you provided
Is it possible to give me a code cut that can be shown?
thank you

Hello
The lines you described are being maintained in vanilla cornerstoneTools library, namely ReferenceLinesTool. Check out this sample official implementation HERE.
Don't forget to set synchronizer for this tool.

@plantarflex
@sisobus
@ruben-cruz

Hello again
How can I display CrosshairsTool lines in my image?
I'm a little confused, please help me

你好， 我怎样才能在我的图像中显示 CrosshairsTool 线？ 我有点困惑，请帮助我

me to

你好
您描述的行在 vanillacornerstoneTools 库中维护，即ReferenceLinesTool。在此处查看此示例官方实现。
不要忘记为此工具设置同步器。

vanillacornerstoneTools？？？？ I can't find it  ， I'm a little confused, please help me。Officially, it has not been realized


/tmp is hard coded destination for new database

Please add an option to change this location.

Closed by #6.


VSTS licensing for Azure AD Linked MPN Accounts

We recently went through connecting our Azure AD tenant to VSTS and this was still a VERY bumpy road.  We had to change the Azure subscription which was associated with the Azure AD directory and needed VSTS team support to unlink the subscription and link to a new subscription for billing.   Once the subscription associated with the directory issue was addressed, the documentation for linking Azure AD accounts to the correct license was extremely confusing (Content linking page below).  While the Alternate Identity information was a clue, there was nothing that explicitly stated how to assign licenses to the newly linked directory based accounts.
In our specific situation as a Microsoft Partners we must allocate MSDN subscription licenses through the partner portal, and can only add MSA accounts through the Partner Portal, the documentation for linking the Azure AD Accounts to VSTS should be updated to explicitly state that the MSA account associated with your MPN based license MUST add your Azure AD identity alias (email address) as the Alternate Account.
Perhaps an FAQ might cover this simply in order to save other partners some headaches.
Q: How do I associate Microsoft Partner Network (MPN) assigned licenses to Azure AD identities?
A: VSTS will recognize the license assigned to the original MSA account assigned a license in the Partner Portal.  Ensure that the MSA account has the MSDN Subscription privilege assigned in the Partner Portal.
Once the MSDN subscription privilege is verified, perform the following steps for each users MSA account and associated Azure AD account.

Log into https://my.visualstudio.com using your MSA account (Hotmail, Outlook.com, Gmail, etc.) - using an InPrivate or InCognito session is recommended
Once logged into https://my.visualstudio.com click on the Subscriptions menu item at the top of the page and you should have the following subscriptions listed:

Visual Studio Enterprise (MPN)
Visual Studio Dev Essentials

Scroll to the bottom of the page
Under the “Alternate account” section, enter your Azure AD <tenant>.com account (e.g<EMAIL_ADDRESS>and click “Save” or “Update” as needed.
Log into https://contoso.visualstudio.com using your Contoso Azure AD account (contoso.com)

Once the MSA and Azure AD Accounts are configured to share the MPNB license, the VSTS Users page will appropriately display the correct Access Level.
Hopefully this helps someone else in the MPN category.

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

ID: a0e967e1-0b8e-a6b5-13ef-bd206ca6d13a
Version Independent ID: 612623f5-6252-6353-8c7c-c1be43bd8801
Content: Identities for Visual Studio subscribers
Content Source: subscriptions/vs-alternate-identity.md
Service: unspecified
GitHub Login: @evanwindom
Microsoft Alias: jaunger

Hello! We will review this and update the VSTS documentation, and link to it from the VS Subscriptions docs. @chcomley @TerryGLee

@pkskelly - So glad I came across this. This is exactly the same problem we are facing. I only stumbled across a separate article about linking Azure AD identities to the Visual Studio account as an alternate account - this was in no way clear and obvious.
I realise that Microsoft are trying to unpick the "two identities" problem, but the whole process for Partners assigning MSDN licenses and making use of VSTS is still a mess and not been resolved yet.

@pkskelly You're a star sir. This is exactly what I was looking for. Thank you for going through all the trouble of finding out how to do this and most importantly sharing it with the world.

@evanwindom @CaityBuschlen FYI


'fromJson' returns map, even if json is array

kind: {{ list | toJson | fromJson | kindOf }}``
returns map. I was expecting slice
Using go template, the result is 'slice'
helm
go

I don't know why it's different (I'd have to dig through the sprig code) but it works if you use mustFromJson.

If you want to file a bug against fromJson, please use the sprig repo's issues.

There is actually a fromJsonArray function
(Creating an issue for docs to document now)

close in favor of docs issue: https://github.com/helm/helm-www/issues/1472


No 'unbroadcasting' when using custom_jvp

>>> import jax.numpy as np
>>> from jax import custom_jvp, grad
>>>
>>> a = np.array([1., 1.])
>>>
>>> @custom_jvp
... def f(x):
...   return a * x
...
>>> @f.defjvp
... def f_jvp(primals, tangents):
...   x, = primals
...   dx, = tangents
...   return a * x, a * dx
...
>>> print(grad(lambda x: np.sum(f(x)))(np.array(1.)))
[1. 1.]  # This should be a scalar

It looks like this is because the multiplication a * x broadcasts x, and normally that would induce a broadcast_in_dim in the jaxpr for the jvp, but it doesn't. With the custom_jvp we get
>>> from jax import make_jaxpr, linearize
>>> make_jaxpr(linearize(f, 1.)[1])(1.)
{ lambda b ; a.
  let c = mul b a
  in (c,) }

If we linearize an instance of f without the custom_jvp we get
>>> make_jaxpr(linearize(lambda x: a * x, 1.)[1])(1.)
{ lambda b ; a.
  let c = broadcast_in_dim[ broadcast_dimensions=()
                            shape=(2,) ] a
      d = mul b c
  in (d,) }

Not sure if this is fixable or whether we just need to require users to do explicit broadcasting in their custom_jvp definitions?

Unfortunately this is because our AD system assumes broadcasts are explicit, and we've made sure our JVP rules follow that constraint. But there's no reason for a user to have to know that.
Now that we have shapes available in jaxprs, we can handle this in transpose rules instead.

#6470 should fix this!


feat: add helpful value in feedback

:tada: This PR is included in version 1.37.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add monitorType JMX

Description
This pull request introduces a new monitorType for JMX-based monitoring in Trino Gateway. It includes documentation and configuration details for retrieving cluster information using specific JMX metrics.
Details

Component: JMX Monitoring in Trino Gateway

New Feature: Added support for monitorType: JMX to enable cluster monitoring via JMX metrics.

Metrics Used:

trino.execution:name=QueryManager
trino.metadata:name=DiscoveryNodeManager

Configuration Instructions:

Users can configure a username and password using backendState.
Credentials must be valid across all clusters with read rights on system_information.

Example Configuration:
backendState:
  username: "user"
  password: "password"
clusterStatsConfiguration:
  monitorType: JMX

Additional context and related issues

Release notes
( ) This is not user-visible or is docs only, and no release notes are required.
(x) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:
*

I am not very experienced with Java and Testing in Java. Please feel free to add tests.

Thanks for the reviews. I was on vacation and didn't have time to implement the requested changes yet. I will take care of them in the next days.
I might need some support to activate the /v1/jmx/mbean endpoint in the test environment for testing.

@alaturqua please ping me when this is ready for another look

I had to sync my fork to be able to change my PR. But it got automatically closed, when I did so.
I am reopening.

I addressed all the points and made the changes. Tests are passing as well. Please review again.

@willmostly added documentation as well.


add dependency to the selenium-http-jdk-client.jar ; specify the systempProperty System.setProperty("webdriver.http.factory", "jdk-http-client")

See the post at 28 Oct 2023 in the issue https://github.com/kazurayam/selenium-webdriver-java/issues/10

This Pull Request contained multiple changes so that it is dirty. I will close this and reconsider.


Docs: Link to Protoschool and other Libp2p learning material

We would like to have better discoverability around:

protoschool libp2p tutorials
concepts overview
connectivity matrix
universal connectivity

cc @p-shahi this arose out of the open maintainers call around exploring ways to improve the documentation and onboarding experience for js-libp2p.


(cleanup) Update error-handling.md

Minor grammar change from a semi-colon to a period (after the word 'calls').
Now = 'You define error-handling middleware last, after other app.use() and routes calls. For example:'
Was = 'You define error-handling middleware last, after other app.use() and routes calls; For example:'

In this case, a semicolon is appropriate since the two clauses are closely related.  Either semicolon or period is correct, but I believe a semicolon is better in this case.  For general guidelines on use of semicolons, see (for example):

https://writing.wisc.edu/Handbook/Semicolons.html
http://grammar.ccc.commnet.edu/grammar/marks/semicolon.htm
http://theoatmeal.com/comics/semicolon

However, the "F" should not be capitalized.

 Sure, I can do that.

Thanks again!