Changed Windows key translate pair from KEY_COLON to KEY_COMMA.

@rodolforg suggestion appears to fix: https://github.com/godotengine/godot/issues/6485#issuecomment-419608905

Thanks!

Now that Godot 3.1 has been released, we only plan to cherry-pick critical bug fixes to the 3.0 branch, unless there is very strong support in favor of a specific non-critical issue. Removing cherrypick label for 3.0.


AttributeError: 'Feature' object has no attribute 'dim'

When trying to change the offical example graph_sage_unsup.py of pytorch-geometric to fit torch-quiver, I ran into a problem of "AttributeError: 'Feature' object has no attribute 'dim'", which indicated that quiver.Feature class does not contain an attribute of "dim".
I changed x = data.x.to(device) to x = quiver.Feature(rank=0, device_list=[0], device_cache_size="10M", cache_policy="device_replicate", csr_topo=csr_topo) x.from_cpu_tensor(data.x) as the other examples this repository provided but got a error in the following code
 def full_forward(self, x, edge_index):
      for i, conv in enumerate(self.convs):
          x = conv(x, edge_index)     <---- error code
          if i != self.num_layers - 1:
              x = x.relu()
              x = F.dropout(x, p=0.5, training=self.training)
      return x

The error is
File "/home/user/.local/lib/python3.7/site-packages/torch_scatter/utils.py", line 6, in broadcast
    dim = other.dim() + dim
AttributeError: 'Feature' object has no attribute 'dim'

Shall we add an 'dim' atrribute to quiver.Feature?

Great, @lausannel  will handle this


Limit parsing of models to only those included in a run

Describe the feature
If a user executes dbt run -m my_model, then dbt will currently parse the entire project before running the single my_model model. While it may be necessary to parse some other models (ie. those that are referenced by my_model), it is generally not the case that all models must be parsed to execute a single model.
There are a couple of benefits of this approach:

it should make running models a lot faster on big projects
parsing errors in unrelated models won't impact the dbt run with a more specific model selector

There are also a couple of downsides of this approach:

it's complicated
parsing errors in unrelated models won't impact the dbt run with a more specific model selector

The fact that unrelated models won't be parsed is both a good and bad thing. It's good in a development workflow - you can be hacking out some in-progress code in one model, while running another unrelated model at the same time. It's bad though in a production env, as it will be a lot easier for models with syntax or compilation errors to make their way into prod.
I'd like to do some experimentation to see what kind of speedup we could expect for very large projects. What % of time is spent parsing unrelated models that aren't considered in the scope of a run for a single model? And how does this compare to the time spent parsing resources like tests/docs/snapshots that will be comparatively harder to identify without actually.... parsing... them?
Describe alternatives you've considered
Enabling --partial-parseing could be a really good alternative approach here

Hi, few pennies to add.
It seem that the feature to allow using variables (var) would play nicely with that selective compiling/parsing of models.
While --partial-parse may be an answer in some cases, it won't account for situation when var's change over time (in between runs). So using one or other option (depending on context) would be pretty useful and complementary to one another in my opinion.

@drewbanin did you get to results on the analysis you mention in your post?  I'm wishing for this feature on a daily basis and would love to know if other folks are still interested in it.

hey @kofron - we've definitely been doing some performance analysis lately. I think this issue is a really good candidate and I'd be excited to ship something that addresses this use case! Also, we're going to take some passes at improving dbt's performance for large projects more broadly over the next couple of releases :)

Any updates?
I have 3273 models, 3228 tests, 69 snapshots, 0 analyses, 448 macros, 2 operations, 56 seed files, 1283 sources, 15 exposures, 0 metrics
and my timing.txt looks like this:

I want to improve both the _thread.lock.acquire() time (15s) and the load_manifest() time (25s).
At least when partial parsing occurs, the load_manifest() time goes away. But still I see the _thread.lock.acquire() time between 15 - 20s with 4 threads, and when bumping up to 8 threads it only goes down to ~11s.
When developing new models, that 25s load_manifest() time is where I think we can have the most improvement through limiting the number of files that need to be parsed somehow.
Are any updates related to load_manifest() on another issue?


document the querystringSearchGet setting

See https://github.com/plone/volto/pull/4658 and https://github.com/plone/plone.restapi/issues/1252
The setting is not documented in the setting reference, and it is worth to have it there.

Thanks @stevepiercy !!!!

@wesleybl We are using it on a large site and haven't had any problems, but there could be a problem if there are too many criteria.

@wesleybl I just pushed updated docs with an explanation about the hazards of GET requests with a large querystring:
https://6.docs.plone.org/volto/configuration/settings-reference.html#main-settings
Scroll to querystringSearchGet.


assertion failure on esp_ble_gatts_close()

Hi.
When I close a gatts connection (ESP32 has gatts server role) this assertion failure is launched:
Assertion failure, esp-idf commit 7ed8c665471200613552e113fd0c1e2d017ea8f7
`/home/pepe/esp32/esp-idf/components/freertos/./timers.c:693 (prvProcessReceivedCommands)- assert failed!
abort() was called at PC 0x400869fb on core 0
0x400869fb: prvProcessReceivedCommands at /home/pepe/esp32/esp-idf/components/freertos/./timers.c:839
Backtrace: 0x40087054:0x3ffcfee0 0x40087153:0x3ffcff00 0x400869fb:0x3ffcff20 0x40086a3b:0x3ffcff60
0x40087054: invoke_abort at /home/pepe/esp32/esp-idf/components/esp32/./panic.c:517
0x40087153: abort at /home/pepe/esp32/esp-idf/components/esp32/./panic.c:517
0x400869fb: prvProcessReceivedCommands at /home/pepe/esp32/esp-idf/components/freertos/./timers.c:839
0x40086a3b: prvTimerTask at /home/pepe/esp32/esp-idf/components/freertos/./timers.c:839
Rebooting...
`
Thanks.

After some testing...
Assertion failure only happens when CONFIG_BLE_SMP_ENABLE=n

This issue should have been solved, please feel free to reopen it if your problem is still unsolved with the latest IDF.


Need more Exchange Online X-Headers documented on the page

I often am tasked with examining emails to understand the hows & whys of a message's delivery. There are many X-Microsoft or X-MS-Exchange headers that are undocumented.
Example: "x-ms-oob-tlc-oobclassifiers" OLM:_____
I'm guessing oob = Out of band? OLM = ? And the numeric values stamped to OLM - ?
My job will be made easier if you can document more of these headers.
Thanks.
[Enter feedback here]

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

ID: e47e11dd-53ab-5f62-ac6c-59dbc00eed0d
Version Independent ID: 362ad038-3b64-f342-2f8e-111635c4337d
Content: Anti-spam message headers - Office 365
Content Source: microsoft-365/security/office-365-security/anti-spam-message-headers.md
Service: o365-seccomp
GitHub Login: @chrisda
Microsoft Alias: chrisda

@NoahsMyBro, I hear you. But, as described in the topic:

The  header contains many different fields and values. Fields that aren't described in the table are used exclusively by the Microsoft anti-spam team for diagnostic purposes.

Trust me, if documenting other header fields and values could be useful to customers and could help reduce support calls, we would do it.

@chrisda Thank you very much for sharing this explanation. @NoahsMyBro Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


vmap into dynamic_slice -- TypeError: unhashable type: 'BatchTracer'

Is it possible to vmap over inputs to a dynamic indexer? E.g., trying to implement a likelihood function for a non-absorbing random walk by splitting into partitions of individual absorbing random walks (see p.4 here, for example).
The most straight-forward way I could think to do this in jax was to use dynamic_slice_in_dim on the markov chain, which can be used to index/partition the transition matrix as needed. Obviously this is vectorizeable, but the input "batch" will be which state I'm currently treating like the absorbing state.
Issue starts when it seems I can't use the iterable used for vmap as an input to the dynamic_slice_in_dim function, as it throws an unhashable type error. Here's some example code:
def P_i(T, a, idx):
    """we need to partition the transition matrix
        $$ T =
        \begin{pmatrix}
         Q & R \\
         0 & I
        \end{pmatrix}
        $$
    where:
        $Q$: the non-absorbing transitions,
        $R$: non-absorbing to absorbing transitions
    Then, probability of being absorbed is given as
        $$P = (I-Q)^{-1} R$$
    However, this inversion may not exist, and may be numerically unstable.
    Instead, this can be rearranged into a linear system of equations,
    $Ax = b$, and solving for $P$ as $x$ gives
        $$(I-Q)P = R$$

    In this case, we only want the probability of transitioning from the
    most recent state to the current absorbing state.
    """

    a_trans = dynamic_slice_in_dim(np.array(a), 0, idx)  # visited
    a_absrb = dynamic_slice_in_dim(np.array(a), idx, len(a)-idx)  # not visited

    Q = T[a_trans, :][:, a_trans]
    R = T[a_trans, :][:, a_absrb]
    I = np.identity(Q.shape[0])

    P = linalg.solve(I - Q, R)  # Probability of absorption...
    return P[-1, 0]  # ...from previous state (P[-1,:] by construction) into next

def invite_likelihood(T, a):
    """Calculate the log-likelihood of a transition matrix $T$, given censored
    observed INVITE sequence $a$.
    """
    # need to include all possible states in T at the end of a
    frontload_a = list(a) + list(set(range(T.shape[0]))-set(a))

    transition_prob = vmap(partial(P_i, T, frontload_a))(np.arange(1, len(a)))

    return -np.log(np.sum(np.array(transition_prob)))

The function P_i is working well, such that trying
for i in list(map(partial(P_i, T, frontload_a), range(1,len(a)))):
    print(i)

gives the desired values. Using vmap appears to break the functionality, however.

Ah I think it might be easy to complete it into a full repro. I added these imports to the top:
from functools import partial

import jax.numpy as np
from jax.numpy import linalg
from jax.lax import dynamic_slice_in_dim
from jax import vmap

And these lines at the bottom:
T = np.array([[0.9, 0.1],
              [0.,  1.0]])
a = np.array([0, 0, 0, 0, 1, 1, 1])

print invite_likelihood(T, a)

I'm not seeing exactly the same error message, but I do see an error that makes sense to me, and could have led to the error message you saw (maybe the message is different because we've updated JAX a few times since you opened the issue).
The error I'm seeing is this:
/usr/local/google/home/mattjj/packages/jax/jax/lax.pyc in _dynamic_slice_translation_rule(c, operand, start_indices, s
lice_sizes, operand_shape)
   1882 def _dynamic_slice_translation_rule(c, operand, start_indices, slice_sizes,
   1883                                     operand_shape):
-> 1884   return c.DynamicSlice(operand, start_indices, slice_sizes)
   1885
   1886 def _dynamic_slice_jvp_rule(g, operand, start_indices, slice_sizes,

/usr/local/google/home/mattjj/miniconda2/lib/python2.7/site-packages/jaxlib/xla_client.pyc in DynamicSlice(self, opera
nd, start_indices, slice_sizes)
   1079       A LocalOp representing the added DynamicSlice op.
   1080     """
-> 1081     return self._client.DynamicSlice(operand, start_indices, slice_sizes)
   1082
   1083   def DynamicUpdateSlice(self, operand, update, start_indices):

/usr/local/google/home/mattjj/miniconda2/lib/python2.7/site-packages/jaxlib/pywrap_xla.pyc in DynamicSlice(self, opera
nd, start_indices, slice_sizes)
    365
    366     def DynamicSlice(self, operand, start_indices, slice_sizes):
--> 367         return _pywrap_xla.LocalComputationBuilder_DynamicSlice(self, operand, start_indices, slice_sizes)
    368
    369     def DynamicUpdateSlice(self, operand, update, start_indices):

TypeError: Argument sequence element cannot be converted to int

Not very informative! Really what's happening is that on this line:
a_trans = dynamic_slice_in_dim(np.array(a), 0, idx)  # visited

the idx variable is abstracted to shape level by vmap because vmap wants to know how your function would behave with any possible integer value of idx, which would let it generate a function that operates on many values of idx at once. But the shape of evaluating that lax.dynamic_slice_in_dim depends on the value of idx. When shape information is lost, vmap (like jit) currently raises an error, instead of continuing to trace on values abstracted to an unshaped level. (For a bit more on tracing and abstract values, if you're interested, see this comment.)
One thing we need to do here is improve the error message by making lax.dynamic_slice_in_dim try to force its third argument to be a concrete int.
As for revising this code, vmap can only work with it if all the intermediate shapes don't depend on concrete values. That might be possible, but it'll take some thinking...

Is it possible to vmap over inputs to a dynamic indexer?

I guess the short answer is no!
Do you know how you would vectorize this by hand? If so, we might be able to stare at that and figure out how we could get vmap to do it for us.

Ok, so I've thought about it a bit (apologies for the long lead time, I went ahead and implemented a working model in autograd just as a PoC to make sure I could get something to work).
I haven't done this yet, but the way I'm thinking might work is to pre-process all of the partitions by padding with zeros.
I.e. what I've been doing is performing the above partition on the fly as part of the loss function, looping over for every observation (for N total nodes at the i'th observation, Q is i x i and R is i xN).  To vectorize this, I suppose it's possible to pad Q and R with zeros, so that every operation will always be solving with NxN matrices. And given a set of observations, it's totally possible to pre-process them to be a set of Q's and R's that we train on directly.
Obviously this will make every observation NxN so vectorization (should) be trivial. It's awful memory-innefficient, however, though like I said, I haven't tested my idea yet.
I can imagine that having jax automatically pad sequential-style data like this, such that observations get post-padded and targets get pre-padded (to the max length of any in the list of training data?), could be useful, but seems a little hackey.

Aha, great! This sounds like exactly the same issue that people run into when, for example, trying to batch RNN computations on ragged sequence lengths. If we want to make use of SIMD hardware (which is what vmap is about), we might need to do some kind of padding+masking to express things in a vmap-friendly way (or alternatively, for more memory efficiency, have some other sparse representation).
I say "great" because we're working on some new function transformations that should help this use case (see the "automasking" branch, which needs updating). But they're not ready yet, and might not be for a couple months.
In the meantime, this computation is just hard to batch in any system, and vmap on its own doesn't help. The best we have right now is "check back in a month and JAX might be able to help with this too!"
I'm going to close this issue if it's alright with you, but reopen if you think there's a JAX bug here (rather than an open challenge).

Sure thing, and I'll keep notifications on for this thread, in the meantime. Is it alright to post a working example here if/when I get jax to work with padding?

Sure, that'd be great! Actually it might be best to open a new issue in that case, to ensure we notice it.


The masking radius is wrong on the Point Mass Roulette model

What happens is that the masking cuts through the centre of the spurious images, leaving almost half of each inside the masked area.  The maths should be right, so it is a matter of cutting an extra margin.

There really isn't anything to do about this, so we close it.


add maxParallelism to Disable/Enable-VSTeamAgent

PR Summary

Fixes #203 by adding maxParallelism to Disable/Enable-VSTeamAgent
What would be the best way to extend any existing tests for this?

Is this a value that the caller should be able to set? We can have it default to 1 but is there a use case where I might want to set it?

I don’t know, from the web ui I have only seen a value 1 yet.
It could be that we need to fetch current settings of the agent, patch in the enabled flag and send that back to keep the current setting?
The weird thing is that without this maxparralism gets reset to 0 (which might actually be a server bug?).

What are the properties of an agent that are settable by the caller, which are read-only? What does maxParallelism mean anyway ;-)? @bryanmacfarlane, is there documentation on this?
For XAML agents the offline/online was also caller settable, which we loved and used heavily in following scenario:
-Set all agents on a specific host to offline status.
-Do host updates (Operating system, application, configuration, etc.)
-Reboot the host. After reboot the agents on this host would come back to online status again, ready to accept jobs on a freshly updated host :-).
On microsoft/azure-pipelines-agent only enable/disable of agents is caller-settable, offline/online is not afaik. So we have to align host reboot and agent enabling ourselves. As we can't do this in an atomic action, the annoying scenario can occur that scheduled/running builds fail because the host is rebooting.

Sorry for delay. I am recovering from surgery. I will get to this ASAP.


Updated event types

These have changed:

https://substrate.dev/rustdocs/v2.0.0-rc4/frame_support/weights/struct.DispatchInfo.html
https://substrate.dev/rustdocs/v2.0.0-rc4/frame_system/enum.Phase.html

Nice, thanks! Could you also create this PR against upstream GSRPC?

I'll create a PR though not right now. Problem is that we've updated all the import paths in our fork of GSRPC, and I'll need to create a staging branch where those changes are reverted. That will allow us to create a clean PR against the upstream repo.


Add mysql support to helm chart

Purpose of the pull request

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

Codecov Report

Merging #12517 (8b8b918) into dev (8add974) will decrease coverage by 0.04%.
The diff coverage is n/a.

:exclamation: Current head 8b8b918 differs from pull request most recent head 87d305e. Consider uploading reports for the commit 87d305e to get more accurate results

@@             Coverage Diff              @@
##                dev   #12517      +/-   ##
============================================
- Coverage     39.63%   39.59%   -0.05%
+ Complexity     4190     4187       -3
============================================
  Files          1038     1038
  Lines         38843    38806      -37
  Branches       4449     4431      -18
============================================
- Hits          15396    15364      -32
+ Misses        21701    21697       -4
+ Partials       1746     1745       -1

Impacted Files
Coverage Δ

...r/plugin/registry/zookeeper/ZookeeperRegistry.java
43.54% <0.00%> (-6.46%)
:arrow_down:

...e/dolphinscheduler/remote/NettyRemotingClient.java
50.00% <0.00%> (-2.78%)
:arrow_down:

...r/plugin/task/sqoop/parameter/SqoopParameters.java
51.19% <0.00%> (-1.20%)
:arrow_down:

...cheduler/plugin/alert/dingtalk/DingTalkSender.java
34.13% <0.00%> (-0.78%)
:arrow_down:

...rver/master/runner/task/BlockingTaskProcessor.java
75.86% <0.00%> (-0.55%)
:arrow_down:

...heduler/api/service/impl/ResourcesServiceImpl.java
51.49% <0.00%> (-0.46%)
:arrow_down:

...inscheduler/plugin/registry/etcd/EtcdRegistry.java
50.69% <0.00%> (-0.35%)
:arrow_down:

.../dolphinscheduler/plugin/task/datax/DataxTask.java
36.62% <0.00%> (-0.26%)
:arrow_down:

.../dolphinscheduler/plugin/task/spark/SparkTask.java
72.56% <0.00%> (-0.25%)
:arrow_down:

...eduler/api/dto/workflow/WorkflowCreateRequest.java
100.00% <0.00%> (ø)

... and 14 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[Search by keypress] not always a complete match

Issue Type: Bug
Searching by pressing keys in keybindings GUI is not always matching for correct hotkey name:
Example of searching for arrow right →
Expected: RightArrow
Actual: right

VS Code version: Code - Insiders 1.29.0-insider (931c22033db3cc8d5dff265889307ed4076ac2d3, 2018-10-12T05:17:15.739Z)
OS version: Windows_NT x64 10.0.17134

Spam quit emailing me
Sent from my Verizon Wireless 4G LTE DROID
Alexander<EMAIL_ADDRESS>wrote:
Issue Type: Bug
Searching by pressing keys in keybindings GUI is not always matching for correct hotkey name:
Example of searching for arrow right →
Expected: RightArrow
Got: right
[screenshot 62]https://user-images.githubusercontent.com/9638156/46886327-433dae00-ce63-11e8-93fc-36059b19a41d.png
VS Code version: Code - Insiders 1.29.0-insider (931c220https://github.com/Microsoft/vscode/commit/931c22033db3cc8d5dff265889307ed4076ac2d3, 2018-10-12T05:17:15.739Z)
OS version: Windows_NT x64 10.0.17134
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/vscode/issues/60804, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ApYdX90L1wdS5r0UXuXAp5UAfNTcwZw1ks5ukNxzgaJpZM4XZ8wL.

Stop
Sent from my Verizon Wireless 4G LTE DROID
Alexander<EMAIL_ADDRESS>wrote:
Issue Type: Bug
Searching by pressing keys in keybindings GUI is not always matching for correct hotkey name:
Example of searching for arrow right →
Expected: RightArrow
Got: right
[screenshot 62]https://user-images.githubusercontent.com/9638156/46886327-433dae00-ce63-11e8-93fc-36059b19a41d.png
VS Code version: Code - Insiders 1.29.0-insider (931c220https://github.com/Microsoft/vscode/commit/931c22033db3cc8d5dff265889307ed4076ac2d3, 2018-10-12T05:17:15.739Z)
OS version: Windows_NT x64 10.0.17134
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/vscode/issues/60804, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ApYdX90L1wdS5r0UXuXAp5UAfNTcwZw1ks5ukNxzgaJpZM4XZ8wL.

Actually, even a perfect match is not good enough:

Is it possible to search only by Keybinding column? Quotes seems to work fine:


python311Packages.certipy-ad: 4.8.1 -> 4.8.2

Diff: https://github.com/ly4k/Certipy/compare/refs/tags/4.8.1...4.8.2
Changelog: https://github.com/ly4k/Certipy/releases/tag/4.8.2
Description of changes

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.11 Release Notes (or backporting 23.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

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

6 packages built:

certipy (python310Packages.certipy-ad)
certipy.dist (python310Packages.certipy-ad.dist)
certsync
certsync.dist
python311Packages.certipy-ad
python311Packages.certipy-ad.dist


hide crop, download and play/pause buttons until sound is done loading

I think we should keep the buttons mentioned in the title hidden until a sound has finished loading, so a user isn't able to click a play button for a sound that's nonexistent at the time they clicked it.
Implementation:
I think we can do something straightforward, like adding
!isLoading &&  ...
to Sound.js, perhaps at the beginning of line 124, and enclosing the two icons and button in this conditional render.

Thanks for creating this 😃

You're welcome!
On Sun, Oct 4, 2020 at 9:43 AM Amila Welihinda<EMAIL_ADDRESS>wrote:

Thanks for creating this 😃
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/amilajack/freesound-player/issues/89#issuecomment-703282273,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKLKAFFF47F7PTM76BAHJT3SJCQ2RANCNFSM4SDOXGDA
.


Non-Author Post Editing

Users who are not listed as an author of an article can still reach it, edit it, and submit said edits. The link won't be provided, but the user can still reach the article by typing in the URL.

Fixed in commit 20166d0


Add Postgres Database Icon

Notes for Reviewers
The colors used are referenced from here
This PR fixes #8752
Signed commits

[x] Yes, I signed my commits.

Will you center the elephant in the exact same way as the persistent volumes have been done?

@leecalcote, is this what you mean ?


Is the project dead?

Hello!
I might be doing something wrong, but I can't make the demo to work.

Is it expected to be working with the recent version of PouchDB (6.x)?
Thanks!

Hi Umkus,
This library was originally intended to be more of a proof of concept than a production ready library.
The user fiatjaf has some updates on his fork (https://github.com/fiatjaf/pouch-replicate-webrtc) that I believe addresses the issues you raise such as PouchDB 6.x compatibility, though I haven't had a chance yet to test and merge them back to this repo.
Scott

Ok, I see.
I'll give pouch-replicate-webrtc as shot, then.
Thank you!

My fork works with the newer versions of PouchDB. Here's a demo that you can try: http://fiatjaf.alhur.es/pouch-replicate-webrtc/ (it is not very clear how exactly the demo works, so please have a little patience and it will work).
Please remember that for this library to work you must create the WebRTC peer connections and datachannels yourself. The demo does it using an echo websocket server.


Robelectric

Hi all,
Here is a step forward on testing, as well as bugfixes to roster handling (preventing duplicate contacts).

thx! will take a look this weekend.

Cool.  I just fixed a couple of broken tests.


KeepAlive default values

Hi @jchristn!
I had strange server disconnected events on WIFI, so I started to investigate it using Wireshark. There were tons of keepalive packets because the default value for KeepAliveInterval is 5 milliseconds instead of 5 seconds as you wrote in the readme (and in the code summary).
Would you be so kind to change the description from second to millisecond for both TcpKeepAliveTime and TcpKeepAliveInterval?
Cheers,
Zsolt

Hi @zsolt777 thanks for letting me know!  I appreciate it.  Taking a look now.

Hi @zsolt777 I assume you are using .NET Framework?
For reference:
The documentation here indicates that it is in seconds.  This is for .NET 5.0.  The same is true for .NET Core 3.1 here
For .NET Framework, IOControlCode.KeepAliveValues is supposed to align with RFC 1122 section <IP_ADDRESS>.  I can't find anything authoritative that the byte array passed in should reflect milliseconds vs seconds, however, all of the sample code indicates that it's milliseconds.
Could you confirm the above?  Cheers, Joel

Ok - I had to leave the keepalive values in seconds, since this is what .NET Core/.NET 5 expect.  The internals will now automatically convert to milliseconds.  This is fixed in v4.8.7, which I'm uploading to NuGet now.
NuGet: https://www.nuget.org/packages/WatsonTcp/4.8.7
Commit: https://github.com/jchristn/WatsonTcp/commit/4ba764fecf1c40acbca38778e011785f7e3cda50
Please re-open if any issues!


Latest docker image does not seem to work at all

The latest version of the docker image on docker hub is failing with a missing shared library problem:
/.chromedriver-helper/2.33/linux64/chromedriver: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
/usr/local/lib/ruby/gems/2.1.0/gems/wraith-4.2.0/lib/wraith/helpers/utilities.rb:58:in `run_command_safely': undefined method `chomp' for nil:NilClass (NoMethodError)
	from /usr/local/lib/ruby/gems/2.1.0/gems/wraith-4.2.0/lib/wraith/helpers/utilities.rb:36:in `list_debug_information'
	from /usr/local/lib/ruby/gems/2.1.0/gems/wraith-4.2.0/lib/wraith/validate.rb:14:in `validate'
	from /usr/local/lib/ruby/gems/2.1.0/gems/wraith-4.2.0/lib/wraith/cli.rb:145:in `block in history'
	from /usr/local/lib/ruby/gems/2.1.0/gems/wraith-4.2.0/lib/wraith/helpers/utilities.rb:4:in `within_acceptable_limits'
	from /usr/local/lib/ruby/gems/2.1.0/gems/wraith-4.2.0/lib/wraith/cli.rb:144:in `history'
	from /usr/local/lib/ruby/gems/2.1.0/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
	from /usr/local/lib/ruby/gems/2.1.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
	from /usr/local/lib/ruby/gems/2.1.0/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
	from /usr/local/lib/ruby/gems/2.1.0/gems/thor-0.20.0/lib/thor/base.rb:466:in `start'
	from /usr/local/lib/ruby/gems/2.1.0/gems/wraith-4.2.0/bin/wraith:5:in `<top (required)>'
	from /usr/local/bin/wraith:23:in `load'
	from /usr/local/bin/wraith:23:in `<main>'

Everything was working fine last week with the same configs.

Reporting a problem? Please describe the issue above, and complete the following checklist so that we can help you more quickly.
Issue checklist:

[X] I have validated my config file against YAML Validator to make sure it is valid YAML.

[] I have run the wraith info command and pasted the output below:

paste results here

[ ] I have run the command in verbose mode (by adding verbose: true to my config) and pasted the output below:

paste results here

[X] I have pasted the contents of my config file below:

---
browser: "phantomjs"
phantomjs_options: "--ignore-ssl-errors=true"
domains:
  current: https://regression-redis-test.mwcprodtest.com
imports: "regression_paths.yaml"
screen_widths:
  - 1280
resize_or_reload: 'resize'
history_dir: 'shots_base'
directory: 'shots'
fuzz: '20%'
threshold: 0
gallery:
  template: 'slideshow_template' # Examples: 'basic_template' (default), 'slideshow_template'
  thumb_width:  200
  thumb_height: 200
mode: diffs_first
verbose: true
highlight_color: red

The included regression_paths.yaml is:
 ---
"paths":
  "category": "/category/uncategorized/"
  "home": "/"
  "post": ""

Trying to run wraith info in the container throws the same error. If you apt-get install libnss3-dev libgconf-2-4 the problem goes away. I'm testing a forked image now to see if it solves the original bug.


Psoc6 add protection

I see a number of fails, but cannot find where to see details - what is wrong. How to find the problem roots?

@nashif The shippable reports are now showing for the failures...

I see a number of fails, but cannot find where to see details - what is wrong. How to find the problem roots?

you just hit a bug, looks like the errors/warnings were too big and the comment was rejected by github and the script failed on that. Will fix that ASAP.

recheck

recheck

I have added more sophisticated protection configuration, that can be used for creating secure system on CM0.
But there are some problems with tests in the shippable. I cannot understand what should I do there - there no last sanity test reported. What should I do here?

Rebased the PR again and fixed conflicts with changes in documentation.
Can it be already merged?

And what about the Codeowners test - who and for which folders should be added in the CODEOWNERS file?

So, any comments about the CODEOWNERS file?

@galak @agross-korg Should I simply add anybody from samples codeowners, or add my name in the CODEOWNERS file for /samples/security to avoid the check fail?

@OlegKapshii Add your name as you are the original author.  If that needs to change in the future, it can.

So, all tests passed. @galak @agross-korg can we close this PR?


Add small column block (project and grant page)

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #52
Test URLs:

Original: https://www.sunstar.com/research/project

Before: https://main--sunstar--hlxsites.hlx.page/_drafts/ritsriva/project

After: https://coloumnsmall--sunstar--hlxsites.hlx.page/_drafts/ritsriva/project

[ ]  If you are adding a new block or a variation to an existing block, please fill below:
Block library path: https://coloumnsmall--sunstar--hlxsites.hlx.page/tools/sidekick/library.html?plugin=blocks&path=/sidekick/blocks/coloumnsmall&index=0

@RitwikSrivastava What is the need of adding a separate small-column block. Why we are not adding one variant of existing column block ?

@RitwikSrivastava What is the need of adding a separate small-column block. Why we are not adding one variant of existing column block ?

The UI on the project and grant page seems different from the existing coloumn block and hence i thought of creating a new block.
But yeah, I can definitely try to add this as an variant of the existing column block. Thanks.

The UI on the project and grant page seems different from the existing coloumn block and hence i thought of creating a new block. But yeah, I can definitely try to add this as an variant of the existing column block. Thanks.

I think this may resemble more to a cards block. The desktop and mobile both have cards stacked vertically. The desktop has image and text aligned horizontally while the mobile has it aligned vertically.


Link to Sec Baseline CSV is wrong

https://github.com/MicrosoftDocs/SecurityBenchmarks/raw/master/Azure Offer Security Baselines/1.1/azure-public-ip-security-baseline-v1.1.xlsx
It points to security baseline for public IP. I don't see an actual file for Purview in either the 1.1 or 2.0 versions of our baselines in the repo either.

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

ID: 195719c8-bc66-4235-0cd3-73cd989c7c45
Version Independent ID: 16847b71-4999-a446-75ff-abe8804a5624
Content: Azure security baseline for Azure Purview
Content Source: benchmark/azure/baselines/purview-security-baseline.md
Service: purview
GitHub Login: @msmbaldwin
Microsoft Alias: mbaldwin

@jeremiahhoward
Thanks for your feedback! We will investigate and update as appropriate.

@jeremiahhoward - I'm looking into this issue now, to see if we can point to a more specific doc for purview, or if the same principals apply. I'll keep you up to date here. Thank you!

@msmbaldwin - wanted to follow up with you here as well. Have you been able to have a look?

@jeremiahhoward @whhender here's the correct Purview baseline hyperlink:
https://github.com/MicrosoftDocs/SecurityBenchmarks/blob/master/Azure Offer Security Baselines/2.0/azure-purview-security-baseline-v2.0.xlsx

Thank you! This is helpful! Working on getting this updated.

This is now updated! Thank you for your patience.

#please-close


How to increasing CPU usage in order ro make the simulation faster

Hi everyone,
I am trying to use mujoco to simulate cable driven parallel robot. I use cable composite to model my cables and as illustrated in the documentation it have multibody to create the cable behaviour. Now when I run my xml file the time passage is slow while my CPU usage just fill 20%. We have already adjusted the step time but the problem didn't fix (simulating in real time is very slow yet).
How we can increase the CPU usage or any other solution to help? I am working in ubuntu 20.04 and using mujoco 2.3.6.
xml model:
XML_FILE.zip
screanshut from my cpu usage information when using model:

thaks in advance for your replying.

As of today, there is no way to speed up simulating a single model by throwing more CPUs at it.
MuJoCo is single-threaded, and there's a certain amount of computation that needs to be done on each step. For things like reinforcement learning training of live MPC, we benefit from running many instances of the same model in parallel, and getting a high throughput that way.
We will be looking to introduce multithreading into MuJoCo in the near future, to speed up things like collision detection that can be parallelised.


updated for fargate and kms keys

Updated the module and examples for :

Added a complete module reference for KMS keys support.
Option to have both types of endpoints for the cluster (Public and Private).
Option for EKS Fargate.

This is with reference to the Jira Ticket : https://squareops.atlassian.net/browse/SKAF-1649

Fargate profile support is added, no need to merge this.


ConcurrentModificationException while generating class documentation

Only seen once (should inspect the log file to be sure it only happened once) during full compile of project (numThreads: 4)
[2024-09-09T15:05:49.781+0200] [ERROR] [<project name>] Error during class documentation phase
java.util.concurrent.CompletionException: java.util.ConcurrentModificationException
	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source)
	at java.base/java.util.concurrent.CompletableFuture.uniApplyNow(Unknown Source)
	at java.base/java.util.concurrent.CompletableFuture.uniApplyStage(Unknown Source)
	at java.base/java.util.concurrent.CompletableFuture.thenApply(Unknown Source)
	at eu.rssw.openedge.ls.builder.x.run(SourceFile:157)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.util.ConcurrentModificationException
	at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
	at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.findFirst(Unknown Source)
	at eu.rssw.openedge.ls.proparse.x.a(SourceFile:290)
	at eu.rssw.openedge.ls.proparse.x.a(SourceFile:292)
	at eu.rssw.openedge.ls.proparse.x.a(SourceFile:292)
	at eu.rssw.openedge.ls.proparse.x.a(SourceFile:292)
	at eu.rssw.openedge.ls.proparse.x.a(SourceFile:292)
	at eu.rssw.openedge.ls.proparse.x.a(SourceFile:292)
	at eu.rssw.openedge.ls.proparse.x.a(SourceFile:75)
	at eu.rssw.openedge.ls.builder.q.a(SourceFile:910)
	at eu.rssw.openedge.ls.builder.z.a(SourceFile:40)
	at eu.rssw.openedge.ls.builder.z.apply(SourceFile:26)
	... 7 more

What is the version number of the language server (ie first lines of the ABL Language Server output tab) ?

Assuming this hasn't changed since yesterday:
[2024-09-10T09:17:17.157+0200] [INFO] LanguageServerInfo: 1.16.0-SNAPSHOT-eb05ceb -- ClientInfo: Visual Studio Code 1.93.0 -- JVM: Eclipse Adoptium 17.0.12+7

Fixed in develop branch, will be included in next prerelease


[zkLogin] Use the same issuer string in address derivation for the two google's iss values

Description
Describe the changes or additions included in this PR.
Test Plan
How did you test the new or updated feature?

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ ] protocol change
[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

I don't think it's a breaking change. The main worry is if someone has previously received funds at a zkLogin address derived with the new iss as they would not be able to spend it. We have not heard about this from any partner until now.


CheckStyle: JavaDoc

@artembilan - you might not want to bother looking at all the changes but you should look at the checkstyle config file changes.
I had to suppress JavaDocStyle for two classes because <bean/> tags within <pre/> confused checkstyle.

I don't understand what's wrong with Travis: works well for me locally.
Merging...


Clarify teams premium licensing requirement for intelligent recap

You write "All participants must have Premium to benefit from intelligent recap".
This is unclear.   Do you mean that if 99 out of 100 attendees have the license, then it won't work for everyone?  Or that only the one person won't see the button?

Delete


IssuerSigningKeyValidator delegate should take SecurityToken as a parameter

All TokenValidationParameters delegates (except SignatureValidator) take the SecurityToken being validated except IssuerSigningKeyValidator.
Add SecurityToken as second parameter

fixed in:
https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/pull/406


Feature: Consider providing StrBytes interface

This would act like the Bytes object but would guarantee that the contents are valid utf-8. It would not implement Buf but would deref to &str and have conversions to the String type.
There would be TryFrom/TryInto conversions from Bytes to StrBytes which would scan the string for validity but would not copy it. There would be zero-cost From/Into conversions from StrBytes to Bytes. There would be an unsafe zero-cost conversion method from Bytes to StrBytes for when the bytes are already known to be valid.
It would be convenient (but not essential) if there was a way to general substring-returning operations on a StrBytes that themselves returned a StrBytes.
This would enable zero-copy string deserialization in the same way as for raw bytes.

Does something like this work? https://docs.rs/string/0.2.1/string/

Yes. 👍

The String<T> in the crate string has no serde support implementation. When I tried to implement support for serde, I found that not knowing whether the internal bytes are borrowed or owned or something like Bytes could lead to additional overhead during deserialization. It would be much easier to implement serde support if a wrapper was created on a deterministic Bytes.

The bytestring crate provides serde support.


Add support for comparing results with a specific status

This patch gives the option to compare only sat/unsat results in the compare2 view (the one that allows to select provers from different runs).

Thanks! :)


[CI] Migrate to GH actions

Q
A

Bug fix?
no

New feature?
no

BC breaks?
no

Deprecations?
no

Related tickets

Documentation

License
MIT

No coverage for now, can come later

Thanks for the PR. Please see my suggestions.

Thanks. I would say subjective suggestions, but I've implemented them. Just FYI, I took most of the structure over from https://github.com/doctrine/DoctrineBundle/tree/2.4.x/.github/workflows

we should adjust the README.md as well, to have the badge and link from github actions rather than travis.
the badge url is https://github.com/php-http/HttplugBundle/actions/workflows/continuous-integration.yml/badge.svg and i would link that to https://github.com/php-http/HttplugBundle/actions/

Thanks for making the changes @ostrolucky ! Yes, I guess they are subjective, but that's how things are implemented in the projects I maintain (Twirp, Guzzle, MoneyPHP) and they worked well for the last couple years, so I prefer keeping them consistent (unless there are reasons not to of course).

All good?

should we put an editorconfig based on https://github.com/twirphp/twirp/blob/master/.github/.editorconfig into the .github folder? we have those at top level in our company projects and they are useful to help with consistent whitespace (and explicitly define the rules)

Rather top level. But separate changeset please

Having a top level editorconfig file is always a good idea and we should already have those in all php-http repos. Having one in .github helps configuring how editors should behave within that folder. I'd say 4 spaces should be the default everywhere, but GitHub workflows are indentated with 2 spaces everywhere (docs, examples), so limiting 2 spaces to .github makes sense.


Focus and blur events not working as expected

Describe the bug
The focus and blur events of the elements inside the custom submenu doesn't work as expected
To Reproduce
Steps to reproduce the behavior:

Create a custom plugin ( SubMenu ), with an Input tag and a button.
Click on the input. It gets focused
Click somewhere outside the input tag, like click the button
Input is still focussed

Expected behavior
On clicking outside the input element, It must not be in the focussed state
Screenshots

Desktop (please complete the following information):

OS: MacOs 13.1
Browser: Chrome
Version: 108.0.5359.124

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

This issue will resolve at the v3.0.0


hierarchical data collection

Sorry, it is possible to have something like this and than call api/heroes/11/children/13 to get Bombasto?
  createDb() {     const heroes = [       {          id: 11,          name: 'Mr. Nice',         children: [           { id: 13, name: 'Bombasto' },           { id: 14, name: 'Celeritas' },         ]       },       {          id: 12,          name: 'Narco'        }     ];     return {heroes};   }

IMO that would make the library too much opinionated. children property is not the only way to reflect hierarchical data. Another user might have/need a flat data structure where the children would have a parentId property on them to reflect the relation.


Improvement: Interactive installation

It would be quite handy for helm to provide an interactive way (say helm install --interactive) of providing the the parameters which are currently specified in the values.yaml file.
Combined with having default chart repositories, this would provide a very convenient way of installing charts without the need to clone a repository and editing the values file by hand.
You may want to look at kupak(kubernetes package manager) which provides such an interface.
This is a sample output:

I agree that this would be a great feature to have. IIRC, some of the Google devs were talking about building a Web UI generator off of the values.yaml file, too.

Openshift templates support this pretty well, by representing the parameters in a form that's amenable to automatic discovery and validation.
https://github.com/kubernetes/kubernetes/blob/master/docs/proposals/templates.md
I assume that Steward, Monocular, etc. will need this capability, also.

@colonelmo Closing due to inactivity but please feel free to re-open if you would like to continue the discussion.


Hint when @protected members are used outside instances of subclasses.

See @protectedannotation definition here: https://codereview.chromium.org/1719353002/.

Support for methods landed in https://github.com/dart-lang/sdk/commit/84f32fe5a653824b127ceed729d5831191ff06a6.
Support for members, in general, landed in https://github.com/dart-lang/sdk/commit/212a058f13f6135cf2ce89d1d3ea58e09731c763.

qv https://github.com/dart-lang/sdk/issues/3193, https://github.com/dart-lang/sdk/issues/6119

meta package published.  Closing out.

@pq is the analyzer package going to get a push as well with this? I didn't see the protected checks in 0.27.3-alpha.0

Eventually, yes. We're in the process of implementing several annotations and it might make sense to wait for more of them to be implemented rather than flooding the world with lots of extra versions.
Do you need it for something?

@bwilkerson I can certainly wait. Been waiting a long time for @protected so whats a little longer. Great work all around :+1:

I guess the question really is, do you need a version of the analyzer package published to pub, or are you just waiting for a new build of the SDK with this support in it? (The two are not necessarily kept in sync.)

I have a library that will load a library through the analyzer then gather the metadata and then let you run queries against the data. I have support for deprecated and override and I was going to add support for instantiating @protected whenever that lands.

It isn't clear that you need a new version of the analyzer package. Analyzer doesn't need to understand an annotation to capture it (though it does have some utility methods for the annotations it knows about). And the annotation itself is defined in the 'meta' package (https://pub.dartlang.org/packages/meta), so you can start adding it to code today. You probably have enough to do what you want, although the utility methods would be helpful.

It was the utility methods ala isDeprecated that would be nice. No rush on my end.


Mount failed in K3s cluster behind the Proxy

/kind bug
What happened?
We followed the static provisioning document
https://github.com/awslabs/mountpoint-s3-csi-driver/blob/main/examples/kubernetes/static_provisioning/static_provisioning.yaml
This is working fine in normal k3s cluster, but not happening in proxy enabled k3s cluster.
Log:
I Mount failed: Failed to start systemd unit, context cancelled output: Error: Timeout after 30 seconds while waiting for mount process to be ready )

What you expected to happen?
Mount should happen
How to reproduce it (as minimally and precisely as possible)?
Anything else we need to know?:
Environment

Kubernetes version (use kubectl version): v1.29.5 +k3s1
Driver version: 1.6.0

Hey, it sounds like a connectivity issue. Did you verify that you can connect to S3 and other AWS services successfully from your proxy enabled cluster?

yes, connectivity is there from the k3s cluster to aws s3
root@peplap11253:~#
root@peplap11253:~# nc -vz s3.eu-west-1.amazonaws.com 443. Below shared ncat results.
Ncat: Version 7.70 ( https://nmap.org/ncat )
Ncat: Connected to <IP_ADDRESS>:443.
Ncat: 0 bytes sent, 0 bytes received in 0.47 seconds.
root@peplap11253:~#
root@peplap11253:~#
root@peplap11253:~# nc -vz s3.dualstack.eu-west-1.amazonaws.com 443
Ncat: Version 7.70 ( https://nmap.org/ncat )
Ncat: Connected to <IP_ADDRESS>:443.
Ncat: 0 bytes sent, 0 bytes received in 0.50 seconds.
root@peplap11253:~#

Thanks for confirming. Can we get the logs from csi driver container as well as mountpoint (we probably want to enable debug logs too) to help us investigate? Also, it would be great if you can share more about how you configure the proxy.

Relevant logs from the driver container (kubectl logs -l app=s3-csi-node --namespace kube-system)
Relevant logs from mountpoint (from the underlying host's syslog journalctl -e SYSLOG_IDENTIFIER=mount-s3 and mountpoint has some additional documentation here)

Here it is :
root@peplap11253:~#
root@peplap11253:~#
root@peplap11253:~# kubectl logs -l app=s3-csi-node --namespace kube-system
Defaulted container "s3-plugin" out of: s3-plugin, node-driver-registrar, liveness-probe, install-mountpoint (init)
I0611 12:58:15.423444       1 node.go:206] NodeGetCapabilities: called with args
I0611 12:58:15.423954       1 node.go:65] NodePublishVolume: req: volume_id:"s3-csi-driver-volume" target_path:"/var/lib/kubelet/pods/fae567d3-4474-4b90-902f-3265e8d9e87f/volumes/kubernetes.io~csi/s3-pv/mount" volume_capability:<mount:<mount_flags:"allow-delete" mount_flags:"region eu-west-1" > access_mode:<mode:MULTI_NODE_MULTI_WRITER > > volume_context:<key:"bucketName" value:"vwt-aqv-iot-prod-ipc" >
I0611 12:58:15.424009       1 node.go:112] NodePublishVolume: mounting vwt-aqv-iot-prod-ipc at /var/lib/kubelet/pods/fae567d3-4474-4b90-902f-3265e8d9e87f/volumes/kubernetes.io~csi/s3-pv/mount with options [--allow-delete --region=eu-west-1]
E0611 12:58:45.436772       1 driver.go:96] GRPC error: rpc error: code = Internal desc = Could not mount "vwt-aqv-iot-prod-ipc" at "/var/lib/kubelet/pods/fae567d3-4474-4b90-902f-3265e8d9e87f/volumes/kubernetes.io~csi/s3-pv/mount": Mount failed: Failed to start systemd unit, context cancelled output: Error: Timeout after 30 seconds while waiting for mount process to be ready
I0611 13:00:47.499748       1 node.go:206] NodeGetCapabilities: called with args
I0611 13:00:47.500390       1 node.go:206] NodeGetCapabilities: called with args
I0611 13:00:47.500999       1 node.go:206] NodeGetCapabilities: called with args
I0611 13:00:47.501612       1 node.go:65] NodePublishVolume: req: volume_id:"s3-csi-driver-volume" target_path:"/var/lib/kubelet/pods/fae567d3-4474-4b90-902f-3265e8d9e87f/volumes/kubernetes.io~csi/s3-pv/mount" volume_capability:<mount:<mount_flags:"allow-delete" mount_flags:"region eu-west-1" > access_mode:<mode:MULTI_NODE_MULTI_WRITER > > volume_context:<key:"bucketName" value:"vwt-aqv-iot-prod-ipc" >
I0611 13:00:47.501724       1 node.go:112] NodePublishVolume: mounting vwt-aqv-iot-prod-ipc at /var/lib/kubelet/pods/fae567d3-4474-4b90-902f-3265e8d9e87f/volumes/kubernetes.io~csi/s3-pv/mount with options [--allow-delete --region=eu-west-1]
E0611 13:01:17.514602       1 driver.go:96] GRPC error: rpc error: code = Internal desc = Could not mount "vwt-aqv-iot-prod-ipc" at "/var/lib/kubelet/pods/fae567d3-4474-4b90-902f-3265e8d9e87f/volumes/kubernetes.io~csi/s3-pv/mount": Mount failed: Failed to start systemd unit, context cancelled output: Error: Timeout after 30 seconds while waiting for mount process to be ready
root@peplap11253:~#
root@peplap11253:~# syslog journalctl -e SYSLOG_IDENTIFIER=mount-s3
bash: syslog: command not found
root@peplap11253:~#
root@peplap11253:~# yum install syslog
Updating Subscription Management repositories.
Last metadata expiration check: 0:14:43 ago on Tue 11 Jun 2024 12:47:41 PM UTC.
Package rsyslog-8.2102.0-13.el8.x86_64 is already installed.
Package systemd-239-74.el8_8.5.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
root@peplap11253:~#
root@peplap11253:~# syslog journalctl -e SYSLOG_IDENTIFIER=mount-s3
bash: syslog: command not found
root@peplap11253:~#
root@peplap11253:~#

Thanks for the logs. I still don't see anything new from driver container logs though. One thing about running mountpoint behind a proxy is that you might have to configure HTTPS_PROXY or HTTP_PROXY environment variables to make it work (see related issue https://github.com/awslabs/mountpoint-s3/issues/322#issuecomment-1613636704). The problem is that currently the csi driver doesn't allow you to pass in any environment variables, so it probably doesn't support this use case.

I would suggest to try spawning a pod with mountpoint installed and try to mount it manually to confirm whether this is also mountpoint issue or just the csi driver.

Without more logs, we're not able to move forward with investigating.
If you are still impacted by this and can provide more information, please do re-open or open a new issue.


iOS: Support borderColor/borderThickness for Container

Defect
NYI. We have schema for borderColor/borderThickness, but have not made it on iOS.
Fix
Parse from JSON and apply when rendering Container elements.
Tests
Using iOS Visualizer, verify:

The default style (without borderColor/Thickness) has no border
The emphasis style (with borderColor/Thickness) has border.

Lovely CSS
x
GLOBALCHERRY
From: Joseph Woo
Sent: 22 February 2018 17:28
To: Microsoft/AdaptiveCards
Cc: Subscribed
Subject: Re: [Microsoft/AdaptiveCards] iOS: SupportborderColor/borderThickness for Container (#1150)
@nesalang commented on this pull request.
In source/ios/AdaptiveCards/AdaptiveCards/AdaptiveCards/ACRContentStackView.mm:

+{

UIColor *color = [[self class] colorFromString:[self paletteForHostConfig:config].backgroundColor];

self.backgroundColor = color;
+}

+- (void)setBorderColorWithHostConfig:(std::shared_ptr const &)config
+{

UIColor *color = [[self class] colorFromString:[self paletteForHostConfig:config].borderColor];

[[self layer] setBorderColor:[color CGColor]];
+}

+- (void)setBorderThicknessWithHostConfig:(std::shared_ptr const &)config
+{

const CGFloat borderWidth = [[self class] borderWidthFromString:[self paletteForHostConfig:config].borderThickness];
nit: do we really need to make it as method call?
borderWidthFromString seems to be simple and used only once so it seems to make it inline.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


OPI flash mode?

I'm working with an esp32-s3 devkitc-1 N32R8 using esp-idf. The module I'm using has octal spi flash, but I can't seem to find a way to do this with espflash. There is a -m <flash_mode> argument I can pass, but it doesn't seem to have an equivalent for ESPTOOLPY_FLASHMODE_OPI (and this setting seems to be ignored by espflash, presumably because it's for the python flashing tool). Is this not supported? Or is there a different way to achieve the same effect?
For context in case this is an XY problem, I can successfully flash my device, but nvs storage isn't working (presumably because of the wrong flash mode).

After much sifting through settings, I've determined the ESPTOOLPY settings actually can solve this, I just had never provided both at the same time (many, many config attempts were made since I'm new to this lol). For anyone else that runs into this issue, the following sdkconfig.defaults options worked for me. I'll go ahead and close this issue.
CONFIG_ESPTOOLPY_OCT_FLASH=y
CONFIG_ESPTOOLPY_FLASH_SAMPLE_MODE_STR=y


intermittent 500 errors

Is this a regression?
No
Description
We're seeing a random error coming through when we hit this API. Seems to happen about 1 / 3 times?
    fetch(`${VERIFIER_URL}/present-proof/presentations`, {
      method: 'POST',
      headers: {
        accept: 'application/json',
        'Content-Type': 'application/json',
        apiKey: VERIFIER_APIKEY
      },
      body: JSON.stringify({
        connectionId,
        options: {
          challenge: makeUUID(),
          domain: 'www.ahau.io'
        },
        proofs: []
      })
    })

Please provide the exception or error you saw
{
      status: 500,
      type: 'InternalServerError',
      title: 'InternalServerError',
      detail: 'Invalid connection record state for operation',
      instance: ''
}

Please provide the environment you discovered this bug in
We've been provided with a test-verifier by the AtalaPrism team that we're using:
VERIFIER_URL=https://w7s4s.atalaprism.io/prism-agent

Don't know what versions they're running
Anything else?
We hit the API again after a failure and it seems to work? :cry:

Hi @mixmix. Could you check the state of the connection used to create the presentation request, at the time it is created? It seems like the connection is not finalised and therefore not appropriate to run a presentation flow. The connection state should be either:

ConnectionResponseReceived => if the record is on the Invitee side
ConnectionResponseSent => if on the Inviter side

@mixmix, could you provide a code snippet that reproduces the issue?
We have a bunch of e2e tests, and if the problem is reproducible, we can catch it and fix it.

Hi, sorry it's summer here in new zealand and I've been looking after kids. I'll be back to work in 2 days

We will review it again next mantainers call.

I've not seen this particular bug recently. Closing this for now


Extensible backup storage interface

Currently our backup sidecar handles the backup logic and controls how to store backup files. We have opinions in how to do it based on our experience.
However, over time we have seen growing user scenarios that are different than our "how to store files":

User who doesn't like our config format: https://github.com/coreos/etcd-operator/pull/1221#issuecomment-311533483
User who haves their in house storage solutions (from Ebay) (https://github.com/coreos/etcd-operator/issues/1245)
User who wants new cloud features: Azure (https://github.com/coreos/etcd-operator/issues/1110, https://github.com/coreos/etcd-operator/pull/1237), GCS (https://github.com/coreos/etcd-operator/pull/1127)
User who want to encrypt backup: https://github.com/coreos/etcd-operator/issues/1308

It would be reasonable to have a more extensible backup storage interface, which makes backup sidecar to only handle the backup logic, but leaves "how to store files" up to the interface. For example, have another HTTP service that serves APIs for write, read, delete, list operations of snapshot data. This would also decouple config/credential management from backup logic.

We should close this for https://github.com/coreos/etcd-operator/issues/1626.
Please see and follow up conversation in that thread.


Support pathlib.Path for directory in App.add_static_route(...)

It has become trendy to support pathlib.Path objects in addition to, or even instead of, str where the argument in question denotes a filesystem path.
We could support and document directory of type Path in App.add_static_route(...).
It currently already works implicitly via our invocation of os.path.normpath in Python 3.6+, but explodes on 3.5.
We could either fix this for 3.5, or wait for Falcon 4.0 which will presumably drop 3.5 support, and then just document the implicit support, backed by unit tests.

An alternative is to just support it for 3.6+ in v3. Personally I don't think it makes much sense to do something special for 3.5, since it's very marginal at this point


Uncaught Svelte error: effect_update_depth_exceeded

Thanks for your work on this repo.
I'm having trouble getting version 3.0.0 to work reactively  in a sveltekit app.
The initial load works fine, but then it goes into an infinite loop with the message below in the console.
The trace in the first line shows that the first $effect in the Embed component seems to be retriggering endlessly on a shallowEqual check.
I haven't been able to make this work in the demo repo (which still seems to be on version 1.2.0, but even after upgrading to 3.0.0) but with a fresh sveltekit and almost no edits I can reproduce.
One possibly related note: I also need to install fast-deep-equal to get the basic app to run.
 This can happen when a reactive block or effect repeatedly sets a new value. Svelte limits the number of nested updates to prevent infinite loops
effect_update_depth_exceeded @ chunk-BWDDQV5P.js?v=30770dcb:173
infinite_loop_guard @ chunk-BWDDQV5P.js?v=30770dcb:1840
flush_queued_root_effects @ chunk-BWDDQV5P.js?v=30770dcb:1863
process_deferred @ chunk-BWDDQV5P.js?v=30770dcb:1904
Show 4 more frames
Show lessUnderstand this error
chunk-BWDDQV5P.js?v=30770dcb:173 Uncaught (in promise) Svelte error: effect_update_depth_exceeded
Maximum update depth exceeded. This can happen when a reactive block or effect repeatedly sets a new value. Svelte limits the number of nested updates to prevent infinite loops

Please:

[X] Check for duplicate issues. Please file separate requests as separate issues on GitHub.
[X] Describe how to reproduce the bug.
[X] Use the latest Svelte-Vega version, if possible. Always indicate which version you are using.
[X] Include error messages or gifs/screenshots of problematic behavior, if applicable.
[X] Provide an example specification and accessible data. Try to provide the simplest specification that reproduces the problem. To share a specification, use the Vega-Editor and click "Share" to embed a working link, or provide an example spec in JSON, wrapped by triple backticks like this:

@Sparkier have you seen this issue before?


systemd_enable.sh: is_enabled -> is-enabled

Typo in systemctl check prevents tmux service to autostart.

This should be merged as well, @bruno-


Change transfer balance from tab to modal (like in apps)

Hmm, are you sure about this one? We didn't do any official user testing in apps, but from the ~20 interviews for the UX dev job posting, a majority of them made the remark that the transfer tab being a modal was weird.


nix-btm: init at 0.2.0

Description of changes
Added nix-btm
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

1 package built:

nix-btm

Works on aarch64-linux as well and cross-compiled.


Commonalities pass for corrections

Problem description
Take another pass at commonalities looking for alignment corrections needed.
Expected behavior
Alternative solution
Additional context
Example to look at: https://github.com/camaraproject/Commonalities/blob/main/documentation/API-design-guidelines.md#appendix-a-infodescription-template-for-device-identification-from-access-token

Error codes also in this pass: https://github.com/camaraproject/Commonalities/blob/main/documentation/API-design-guidelines.md#61-standardized-use-of-camara-error-responses

Error codes also in this pass: https://github.com/camaraproject/Commonalities/blob/main/documentation/API-design-guidelines.md#61-standardized-use-of-camara-error-responses

For this you can copy/paste from https://github.com/camaraproject/Commonalities/blob/main/artifacts/CAMARA_common.yaml
In addition you might want to consider which operation are "allowed" to return a 501 (NOT_IMPLEMENTED). There was a TSC discussion about https://github.com/camaraproject/Commonalities/issues/246 with the result that "Mandatory endpoints must not have 501 defined as a valid response". Currently you have defined 501 as a potential response for all operations, but I don't think you want to indicate that the implementation of all these endpoints is "optional".

Another point for your pass: mandatory header x-correlator in every request and response, cf. https://github.com/camaraproject/Commonalities/blob/main/documentation/API-design-guidelines.md#9-architecture-headers

Add 3-legged device identification in the info object and the relevant api call / schemas.
https://github.com/camaraproject/Commonalities/blob/main/documentation/API-design-guidelines.md#appendix-a-infodescription-template-for-device-identification-from-access-token


Feature request: ability to override Commit Date.

I'm have a tool written which reads revisions of some configuration stored in our internal database and I want to export each revision as a JSON file and commit it to Git. But I need to set the Git commit date to the revision date in our database.
As far as I can tell, this is currently not supported. Or is it?

@sure-hand If you create the Commit with a Signature, you should be able to set the time.

https://www.nodegit.org/api/repository/#createCommit takes a signature for both author and committer. Time can be set on the signature https://www.nodegit.org/api/signature/#create


feat: add udev rules for linksys ae1200 usb wifi dongle

this is the original comment from the original PR #212

Provides support for the Linksys AE1200, a USB dongle that enables WiFi.
Essentially, on normal distros the dongle does not work on boot. It must be physically disconnected and plugged back in to be recognized. Upon closer examination, there seems to be a mismatch between the device ID on boot (13b1:0bdc) and the value that brcmfmac (the kernel module) accepts (13b1:0039). After physically plugging it for the 2nd time, lsusb states the correct ID.
Having this udev rule fixes the issue and WiFi works on boot. Merging this would remove the need to keep the spare .rules file.

Github says "this branch is out-of-date with the base". Should I press the button that says "update branch"?

Github says "this branch is out-of-date with the base". Should I press the button that says "update branch", @HikariKnight ?

did it for you, been trying to poke people about this PR but people have been busy and are still very busy

did it for you, been trying to poke people about this PR but people have been busy and are still very busy

Ah, thank you  :)
Don't worry, there's no rush with this PR. It's easy for the user to paste the fix on their system in the meantime.


[Runner] Bring up maximized settings

Summary of the Pull Request
What is this about:
Bring up opened settings window from the tray icon resize the window if is maximized
What is include in the PR:
Handle maximized window
How does someone test / validate:

Open settings
Maximize window
Click on tray icon with left mouse cursor
Settings should be brought up maximized

Quality Checklist

[x] Linked issue: #14509
[ ] Communication: I've discussed this with core contributors in the issue.
[ ] Tests: Added/updated and all pass
[ ] Installer: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Docs: Added/ updated
[x] Binaries: Any new files are added to WXS / YML

[x] No new binaries
[ ] YML for signing for new binaries
[ ] WXS for installer for new binaries

Contributor License Agreement (CLA)
A CLA must be signed. If not, go over here and sign the CLA.

@SeraphimaZ think this is related to my issue?

@SeraphimaZ think this is related to my issue?

I don't think so. At least I can't reproduce it this way.


Clarify Zeek docs, including description of reference shaper config

Since #2296 removed the legacy types.json approach for restoring rich data types to NDJSON data, this PR now documents the new & improved Zed shaper approach to addressing this. While approaching the revision, I recognized that the scope of our Zeek docs has widened to the point where it justifies a brief leading README with links to separate detailed docs on multiple topics, with shaping being just one of them.
Since the platform is in transition and is expected to keep evolving, I've taken the approach here of being transparent about where current approaches are likely to be improved as we continue adding the enhancement from our backlog, linking directly to the open issues where appropriate. In addition to assuring users that sub-optimal workflows won't remain that way forever, I figure ambitious folks might even be inspired to chime in on issues or speak up on Slack and help us determine the priority of which ones we add first and/or how we implement them.
I'm aware that the ideal approach will eventually be to have a single, generic shaping doc and just link to it as a reference. However, since the rewrite of the docs with a generic data set is still a work-in-progress, for now I'm taking the approach of focusing on the Zeek-centric reference example as a way to introduce shaping, since it's expected to remain our most popular log format for MVP0 and a while after. But I do want this to change over time.
Closes #2594

@nwt: I've incorporated your latest round of feedback and found some more places where I was still calling shapers "configs" and have addressed those as well, so I think it's ready for another look when you're up for it.


Add style transfer example?

Would be nice to have an example showing how to use Metamer for style transfer, using some standard deep nets. Would also serve as an example of an extension of Metamer for other purposes.
@jenellefeather pointed out that it's not straightforward to grab the activation of intermediate layers from the standard deep nets in the pytorch model zoo. can see how she did it in her project. Might be worth giving discussion of how to do that a separate tutorial.

Another possibility: get style from Portilla-Simoncelli texture stats, content from deep net

Use torchlens for this?

I think the torchvision create_feature_extraction is the way to do this: https://pytorch.org/vision/stable/feature_extraction.html


Support configuring a maximum range

It would be useful if the range picker supported specifying a maximum range.
If could either block the user from picker a range > the maximum or show a validation error.

Any updates on this? :+1: :fire:

Nope, we've been fully allocated on providing a design refresh of the entire system, haven't had time to focus on any additional requests this quarter. Goal is to finish that up 7/28 and move on to other things then.

@randyaskin design refresh done ... is there any roadmap when (and if...?) this feature will be implemented?
This is really an important feature and a k.o. criteria for px-rangepicker in our ecosystem...
Would be awesome to see this feature soon :+1:

In progress - https://github.com/PredixDev/px-datetime-common/pull/14

The min and max properties have been added throughout all of the datetime components, including rangepicker.


Quickstart link in Readme points to Google's Intranet

Thank you, @mikklfr.
The link has been fixed.


How to add empty directory to MockFileSystem?

Question is as in the topic. I tried like this:
            _mockFileSystem = new MockFileSystem(new Dictionary<string, MockFileData>
            {
                { _rootDirWithoutFiles, null }
            });

It throws exception that null is not acceptable.

I don't think there's an option to create empty directories using a constructor directory. You have to use the AddDirectory method:
_mockFileSystem = new MockFileSystem();
_mockFileSystem.AddDirectory(_rootDirWithoutFiles);

Fine, I now see that I can use IFileSystem's Directory to create directories.


update formatting reference link

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
❌

Fixed issues
https://github.com/yiisoft/yii2/issues/19163

👍🏻


Wrap id types for type safety

Instead of
type alias Proposal =
    { id : String
    , ...
    }

we should use
type alias Proposal =
    { id : ProposalId
    , ...
    }
type ProposalId = ProposalId String

Same goes for ParticipantId and AccessToken.
This way we strengthen type safety and get better self-documenting code when passing this values around.

Will have to check if it's worthwhile or too much boilerplate.
Deferred for now.

Recently Richard Feldman wrote that union types may get comparable sometime.
Working with wrapped types would become much easier then and we should use them for type safety.

Sounds good.


Publish please

Hi
We are users of this package but we need to upgrade to angular 14.
Looks like many changes are merged but none of them were published to npm.
Could you please publish the latest changes to npm creating a new version so we can update this dependency ?
Thanks

Duplicate of #2032
It doesn't help spaming ;)

It seems like not spamming also doesn't help though 🥲


doesn't work with 2FA

this gives me an error that it cant get past the 2fa screen.

Fixed in 3309195bd433f911dd2b10b76120875a966a3eb1


Different LLMs

Currently, the app uses ChatGPT 4. It would be interesting if the user is able to change what model is being used, even outside of OpenAI.
Model options:

ChatGPT 4
ChatGPT 3.5
Claude 2

Created separate ticket #94 for using older models that are not supported by chat completions endpoint or functions

On holding adding Claude as API only offered to limited set of users on an application basis. Will confirm before applying

Closing this as I think if we want to add more specific models, we should have a new issue for each as it'll be pretty complex to add new ones now.


Provisioning Issue

Who do I need to talk to:  Microsoft Support or Dropbox Support for this issue?
I blocked a user in Azure which then sent a deletion event to Dropbox.  I didn't realize it would delete the user in Dropbox. As such, I unblocked the user in Azure, waited 24 hours, and the user is still deleted in Dropbox.
I'm trying to unravel this as well as understand which provisioning events travel across.
Thanks very much.
[Enter feedback here]

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

ID: 6884bf55-8c3b-aa39-43e3-c0b44dcd6efb
Version Independent ID: 9f606de5-73dd-8985-cf06-0bc9877c0352
Content: Tutorial: Azure Active Directory integration with Dropbox for Business
Content Source: articles/active-directory/saas-apps/dropboxforbusiness-tutorial.md
Service: active-directory
GitHub Login: @jeevansd
Microsoft Alias: jeedes

Hi @dawander - Thank you for your feedback! We will review and update as appropriate.

@dawander Dropbox for business supports just-in-time user provisioning. So I believe that the moment you re-enable a user in azure AD for dropbox and assign the relevant role to the account , logging in to dropbox for business should be working. You can check the article for troubleshooting provisioning/configuring Provisioning for gallery apps like dropbox for business. Please use the articles to check audit logs from our side and if dropbox provides any similar audit logs for user provisioning , try to correlate the events with similar timestamps. If you have already exhausted all these options , please open a case for both MS and dropbox . This would need joint troubleshooting rather than individual engagements. We hope that answers your questions. We would close this issue now. Should you have any difficulty opening a support case , please feel free to send us an email on azcommunity[at]microsoft[dot]com along with your azure subscription ID and we will help you with the same.
Thank you.


Raise exceptions from jit-compiled functions

This PR:

Introduces a new helper that allows to raise exceptions from within jit-compiled functions.
For each exception, a new dummy branch triggered by the same condition of the expectin is injected in the compiled code. In this way, the host callback (that can be slow even if no-op) is not triggered unless needed.
The -apparently- double check on condition (both in the callback and the low-level jax.lax.cond) is necessary because JAX compiles both branches and it would raise an exception while tracing.

The caveat is that JAX raises a XlaRuntimeError to stop the execution of the jit-compiled function. The real exception raised in the callback is printed together with the corresponding stack trace earlier in the output.
Although this method is not capable of handling raised exceptions with a try statement (I don't see any way to do that, regardless), at least we can stop the execution by raising.

📚 Documentation preview 📚: https://jaxsim--181.org.readthedocs.build//181/

On a MWE similar to the new test of this PR, the following is the output:

Output of raising exceptions in a jax callback
jax.debug_callback failed
Traceback (most recent call last):
  File "/jaxsim/lib/python3.12/site-packages/jax/_src/debugging.py", line 84, in debug_callback_impl
    callback(*args)
  File "/jaxsim/lib/python3.12/site-packages/jax/_src/debugging.py", line 246, in _flat_callback
    callback(*args, **kwargs)
  File "/home/dferigo/git/jaxsim/src/jaxsim/exceptions.py", line 46, in _raise_exception
    raise exception(msg.format(*args, **kwargs)).with_traceback(back_tb)
  File "/jaxsim/lib/python3.12/site-packages/jax/_src/interpreters/mlir.py", line 2486, in _wrapped_callback
    out_vals = callback(*args)
               ^^^^^^^^^^^^^^^
ValueError: This is a test exception for 42 data
---------------------------------------------------------------------------
XlaRuntimeError                           Traceback (most recent call last)
Cell In[1], line 81
     77     return data
     80 # _ = jit_compiled_function(data=40)
---> 81 _ = jit_compiled_function(data=42)

    [... skipping hidden 10 frame]

File /jaxsim/lib/python3.12/site-packages/jax/_src/interpreters/pxla.py:1178, in ExecuteReplicated.__call__(self, *args)
   1175 if (self.ordered_effects or self.has_unordered_effects
   1176     or self.has_host_callbacks):
   1177   input_bufs = self._add_tokens_to_inputs(input_bufs)
-> 1178   results = self.xla_executable.execute_sharded(
   1179       input_bufs, with_tokens=True
   1180   )
   1181   result_token_bufs = results.disassemble_prefix_into_single_device_arrays(
   1182       len(self.ordered_effects))
   1183   sharded_runtime_token = results.consume_token()

XlaRuntimeError: INTERNAL: Generated function failed: CpuCallback error: ValueError: This is a test exception for 42 data

At:
  /jaxsim/lib/python3.12/site-packages/jax/_src/interpreters/mlir.py(2486): _wrapped_callback
  /jaxsim/lib/python3.12/site-packages/jax/_src/interpreters/pxla.py(1178): __call__
  /jaxsim/lib/python3.12/site-packages/jax/_src/profiler.py(335): wrapper
  /jaxsim/lib/python3.12/site-packages/jax/_src/pjit.py(1488): _pjit_call_impl_python
  /jaxsim/lib/python3.12/site-packages/jax/_src/pjit.py(1534): call_impl_cache_miss
  /jaxsim/lib/python3.12/site-packages/jax/_src/pjit.py(1558): _pjit_call_impl
  /jaxsim/lib/python3.12/site-packages/jax/_src/core.py(879): process_primitive
  /jaxsim/lib/python3.12/site-packages/jax/_src/core.py(391): bind_with_trace
  /jaxsim/lib/python3.12/site-packages/jax/_src/core.py(2789): bind
  /jaxsim/lib/python3.12/site-packages/jax/_src/pjit.py(182): _python_pjit_helper
  /jaxsim/lib/python3.12/site-packages/jax/_src/pjit.py(305): cache_miss
  /jaxsim/lib/python3.12/site-packages/jax/_src/traceback_util.py(179): reraise_with_filtered_traceback
  <ipython-input-1-4ea84c6da2c9>(81): <module>
  /jaxsim/lib/python3.12/site-packages/IPython/core/interactiveshell.py(3577): run_code
  /jaxsim/lib/python3.12/site-packages/IPython/core/interactiveshell.py(3517): run_ast_nodes
  /jaxsim/lib/python3.12/site-packages/IPython/core/interactiveshell.py(3334): run_cell_async
  /jaxsim/lib/python3.12/site-packages/IPython/core/async_helpers.py(129): _pseudo_sync_runner
  /jaxsim/lib/python3.12/site-packages/IPython/core/interactiveshell.py(3130): _run_cell
  /jaxsim/lib/python3.12/site-packages/IPython/core/interactiveshell.py(3075): run_cell
  /jaxsim/lib/python3.12/site-packages/IPython/terminal/interactiveshell.py(910): interact
  /jaxsim/lib/python3.12/site-packages/IPython/terminal/interactiveshell.py(917): mainloop
  /jaxsim/lib/python3.12/site-packages/IPython/terminal/ipapp.py(317): start
  /jaxsim/lib/python3.12/site-packages/traitlets/config/application.py(1075): launch_instance
  /jaxsim/lib/python3.12/site-packages/IPython/__init__.py(130): start_ipython
  /jaxsim/bin/ipython(10): <module>

There are two piece of outputs. Before the line -------- there is what is seems the actual output of the callback (let's call it output 1) that raises the right type of exception, and after the line there is the XlaRuntimeError exception that can be caught by the code (let's call it output 2).
Originally, in the test I was trying to capture output 1, but I couldn't find any way to do that within pytest (I've tried both by redirecting the std{out/err} streams to a buffer, and using the capsys fixture). I suspect that the callback runs in a different thread o similar, making it impossible to catch its output (at least, I couldn't figure out a way.
@flferretti your suggestion in https://github.com/ami-iit/jaxsim/pull/181#discussion_r1643123536 makes sense, I didn't think about it because it could only catch the content of the XlaRuntimeError, that is much longer than the original exception. However, as you can notice from the output above, it contains the content of the original exception. I'll update the tests to use that, since it is good enough for testing purpose. Thanks! In any case, I wanted to provide all this information here instead of the original comment in order to have better visibility for future readers.


phpstan.neon paths not working

Larastan Version: 0.3.8
--level used: max

Description:
Modifying paths in phpstan.neon changes nothing, it always use my app directory and only.
Laravel code where the issue was found:
Bellow my phpstan.neon
includes:
    - ./vendor/nunomaduro/larastan/extension.neon
parameters:
    excludes_analyse:
        - /*/Definitions/*
    level: max
    ignoreErrors:
        - '#Laravel\\Passport\\ClientRepository::createPasswordGrantClient()#'
        - '#Illuminate\\Database\\Query\\Builder::dynamicWhere()#'
    paths:
        - %rootDir%/../../../app
        - %rootDir%/../../../routes
        - %rootDir%/../../../tests
        - %rootDir%/../../../database

Thanks for reporting this. Are you able to debug this and propose a pull request?

Thanks for reply, unfortunately I would not have time to propose a pull request.

@loic-lopez
I had the same issue, but with the excludes_analyse option. What I ended up doing was using wildcard characters. Like so:
    excludes_analyse:
        - /*/*/NovaServiceProvider.php

Maybe this would work for you. Not ideal, and diffidently an issue tho. But it works for now.

AFAICS, you can't specify paths in phpstan.neon when you run Larastan using php artisan code:analyse.
When you don't specify the --paths= option, Larastan will pass the app directory to PHPStan by default. PHPStan will only use the paths parameter from phpstan.neon when Larastan doesn't provide a path (so in this case: never).
The example from the documentation only works in combination with ./vendor/bin/phpstan analyse.

@staudenmeir Can confirm this behavior!

@staudenmeir @blackfyre Thanks for the input on this folks, fell free to improve this feature adding proposing a Pull Request.

The code:analyse artisan command is no longer available. Therefore, this should be no longer an issue.


add Wireguard MTU support via setupVARS.conf

Adding Wireguard MTU support to fix https://github.com/pivpn/pivpn/issues/1019

Switch target branch to test please.

Switch target branch to test please.

Done

How do we get this merged now? Using my patch in several installations and it's working fine.


Code coverage not available for PHP 8.0

Trying to run the bigtable tests using this command:
cd bigtable
php PATH_TO_HP_UNIT_FOLDER/phpunit --verbose -c ./phpunit.xml.dist ./test

returns this error: Error:         This version of PHPUnit does not support code coverage on PHP 8
Note that this doesn't halt testing.
I think PHPUnit > v9.3 supports code coverage for PHP 8. So, simply changing the testing/composer.json line to "phpunit/phpunit": "^7|^8|^9" does the trick.

I haven't tested with PHPUnit 9 yet, and would be interested to see what happens. It may break compatibility with previous versions of PHP (phpunit has been quite aggressive with their upgrades).
It's worth mentioning that the testing in this repo does not generate any code coverage reports.

Since the error only affects the code coverage, closing the issue.


Sign in/Create Account and Sign in Option buttons have no visual focus cue

The buttons on the Sign in, Create Account, Sign in Options and Institutional selection modals/pages do not all clearly indicate that they have focus when a user tabs onto them.
Related to: https://github.com/DMPRoadmap/roadmap/issues/1443
We have customized these modals for DMPTool, so either contribute the fix back to Roadmap or apply whatever changes are made to Roadmap to our customizations.

A blue border now appears around the selected items. This was addressed in Roadmap codebase


PUBLIC_PORT

I tried to use the PUBLIC_PORT env property to change to port from 80 to 8080.
But the login page is still on the port 80.

PUBLIC_PORT is not for running the webserver on another port but to fix the http redirects of webvirtcloud in case you use another port (host:container port mapping).
To run on another port you need to change the host:container port mapping, which depends on your actual setup, ie. if you use a proxy or not, use docker cli directly, compose, swarm, etc.
See https://docs.docker.com/engine/reference/run/#expose-incoming-ports
Example for running the webvirtcloud container on 8080 with docker run:
docker run -d \
    -p 8080:80 \
    -e PUBLIC_PORT=8080 \
    -v /srv/webvirtcloud/data:/srv/webvirtcloud/data \
    -v /srv/webvirtcloud/ssh:/var/www/.ssh \
    --name webvirtcloud \
    mplx/docker-webvirtcloud:latest

Notice the parameters -p 8080:80 and -e PUBLIC_PORT=8080

Pull the latest image and use a -p 8080:8080 mapping (and PUBLIC_PORT=8080).
curl -L localhost:8080

<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="WebVirtMgr panel for manage virtual machine">
    <meta name="author"<EMAIL_ADDRESS>
    <title>WebVirtCloud - Sign In</title>
...

This is indeed working now on port 8080 thanks.
But it looks like you change introduced an other issue.
When I now open a Instance I get:
Oops!
500 Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete you request.
The VNC to the Virtual machine is working.

Try logging in with another (super) user, besides the default admin account. I had this same issue and this made it go away.

We tested the update before tagging it with our few installations and didn't encouter any problems (usually we try be most conservative with updates; we run our internal master tree and tag it weeks after to keep it most stable). However - no default admin. I guess this might be a problem with the upgrade path of webvirtcloud - has there been something usefull in the logs?

After installation, user admin is not configured as it should be. Just go to "Users" and enter the missing configuration parameters. After completion, everything works fine.


Building package glib:x64-windows-static failed with: BUILD_FAILED

Error: Building package glib:x64-windows-static failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: glib:x64-windows-static
Vcpkg version: 2018.11.23-nohash

read log
"Glib only supports dynamic library and crt linkage"

@Brooklyn2001, glib doesn't support static build, only supports dynamic library and crt linkage.

Duplicated to https://github.com/microsoft/vcpkg/issues/3100


Update user-manual.md - Settings Screen

Add 2 additional methods to reach the settings screen as suggested by @sspanak

I actually already fixed it, but your version seems to be shorter and more clear. Let's use a mixture of both.


Build: Modifies Gruntfile to improve grunt watch

I added spawn and interrupt options to watch task, and added a concurrent task.  I tried using grunt-newer for jshint/jscs but it did not improve speed, maybe I need to play with it some more.
Ref #788

Only some details to change or discuss, otherwise it looks good.
I might be wrong, but it looks it not only improves the speed on grunt watch, but also the regular runs on grunt, right?

That is correct.  The concurrent tasks run with just grunt also.

@rdugue I pulled your branch to check on the speed gain and after trying this config setting below, I was able to free extra 2+ seconds.
	concurrent: {
		build: [
				"concat:src-js",
				"concat:src-css"
		],
		test: [
			"jshint",
			"jscs",
			"search",
			"qunit",
			"test-on-node"
		]
	},

It might work differently on other machines, as this plugin uses the available CPU cores.
You might notice I moved the test-on-node task to the concurrent:test and also splitted the concat tasks on concurrent:build. I also had to remove the concurrent:node from the default task, so now it is just:
grunt.registerTask( "default", [ "concurrent:build", "concurrent:test" ] );

If you like and agree, would you apply these changes?

@leobalter I tried that configuration just now and it is indeed faster fr me as well.  Not sure why I didn't try it that way now that I think about it.  I applied the changes.

Thanks, @rdugue! It's merged at 30197a8


own the key

What about give the ability to users to import their addresses in order to let them own private key?
This would give user quite more confidence on security (especially after recent crack of dogetipbot)
Been a blockchain based tipbot, This should not be a problem

The concern is that then Reddit has your privkeys too.  But yeah, this is possible

Maybe make a command like +export to export your privkey.

A solution would be to have a deposit only address. You import your public key into SoDogeTip, then any incoming tips go to that address.


Upgrading packages

I have taken some steps to upgrade the dependencies

@adar2378 could you please take a look at it?


expose a nice way to get the values for opcodes/addressing modes

for self modifying code.
this data already exists in the big pattern match, a nice way (possibly just by convention?) to get at this would be handy.
{  lda @STA_ZPX }
perhaps it could just be a macro where you pass it a dummy instruction and allow it to infer as normal
{ lda @(infer {sta $20 x}) }
?

73424ca9b04f0af0d906dc1806c53c97b1059731


Add unit test for getting runtime handlers

Codecov Report

Merging #472 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #472   +/-   ##
========================================
  Coverage    45.51%   45.51%
========================================
  Files           68       68
  Lines         2377     2377
  Branches       268      268
========================================
  Hits          1082     1082
  Misses        1229     1229
  Partials        66       66

Impacted Files
Coverage Δ

...ft/azure/maven/webapp/handlers/HandlerFactory.java
0% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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