Add tutorial on comparing current performance to latest calibration

Closes #3784. The goal of this tutorial is to show how one can compare the current performance of a processor to the latest calibration report, specifically for sqrt iswap error rates. The high-level steps are:

Select a line of qubits and partition it into various segments.
Run a Loschmidt echo on each segment.
Run parallel XEB on each qubit pair.
Plot the average error rates on each segment and compare to the latest calibration data.

Pinging @tanujkhattar for review.

I've left a few comments but I'm not an expert on the topic so please let me know if some of the questions / comments are too basic.
It'd also be nice if someone else, like @mpharrigan or @mrwojtek, can also take a look.

@rmlarose  Please let me know once the comments are resolved and it's ready for re-review.

Thanks @tanujkhattar and sorry for the delay! Removed the Loschmidt echo as we discussed offline. The new tutorial is shorter in length, runs faster, and has a final plot which is easier to interpret. PTAL.


Dev image composition

name: Pull Request
about: Create a pull request
Description

Change flow name
support multi input for image composition node
support image composition

Need solve:
flow name can only be modified after building the dag, thus flow name can only changed when it's in node["compile_dict"]["execs"]
TODO:
To "speak" the result of the composed result
Checklist
Please check the following items before code is ready to be reviewed.

[ ]  Code has passed all tests
[ ]  Docstrings have been added/updated in Google Style
[ ]  Documentation has been updated
[ ]  Code is ready for review

As this was further developed in #20


Relate importsNotUsedAsValues -> preserveValueImports

preserveValueImports is already related to importsNotUsedAsValues in the tsconfig reference. Add the reciprocal link, like #1099.

I think the CI failure is fixed by https://github.com/microsoft/TypeScript-Website-Localizations/pull/135?

Agree, looks good to me


Broken CI preventing releases

There’s two issues:

The buildpack attribute has been deprecated in favor of buildpacks
Blue green deploy plugin doesn’t support the new buildpacks attribute

Solutions are

Learn go and fix the blue-green plugin
Use the cf beta cli that has a new zdt (zero down time) feature
Use the sketchier v6 cf cli zdt
Have the website push daily or every other day at 2am rather than instantaneously. This also reduces the frequency at which users need to download a new app bundle.


Add no-cond-assign rule

https://eslint.org/docs/rules/no-cond-assign
Will help prevent issues such as https://github.com/microsoft/azuredatastudio/pull/17002
Disabling for git to avoid having more carbon edits to deal with.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 41.635%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/sql/workbench/contrib/notebook/browser/notebookExplorer/notebookSearch.ts
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
26395

Relevant Lines:
57409

💛  - Coveralls


Question about test

I use 4090 gpu to run the test. The training models of py Uformer_T_RLP_RPIM. PTH, but an error torch. Cuda. OutOfMemoryError: cuda out of memory. But I see that 3090 is used in your paper, why does this happen? I run a smaller picture is normal, but your original GTAV 500 test set will report an error, there are any parameters need to be modified? Looking forward to your recovery

Hi, did you use the --tile option when running the test script? It indeed requires more than the 24GB VRAM for the Uformer_T_RLP_RPIM model to inference on 1080p images, so I adopted tiling to avoid OOM problem. The test.py will process the left and right parts separately to fit in the 24GB VRAM of your 4090.

I'm not using your '--tile' parameter, how do I set this parameter to test larger images? Please advise. Thank you

You only need to modify the test.sh file by appending --tile to the end. Please check the args used in test.py.

Is it that I put '--tile' at the end of test.sh and run test.py? Am I right?

Is it that I put '--tile' at the end of test.sh and run test.py? Am I right?

Yes.


Looking one directory too deep

Hi, thanks for making this! I got it to work but I found a bug.
When I tried running this it failed because it was looking for images in locations ./your_activity_across_facebook/your_activity_across_facebook/ rather than ./your_activity_across_facebook. I'm not sure if this is due to Facebook messing up the.json (there appears to be a bug in the Facebook generated html files as well).
I fixed it by just editing the directories in the .json files and removing the extra "your_activity_across_facebook/".

Thanks @eamcdonald! Same issue, used notepad++ to remove all the "your_activity_across_facebook/" instances from all the .json files and was able to get it to work.

It looks like FB has indeed changed the structure again then
I'll try to make a new release in due course. Thanks for posting a workaround @crispyjones

I wrote a browser tool inspired from this (no need for java JDK/JRE) working with new structure.
Link here
If it can help anyone...

i ran into this issue as well... it was just the media files that have this disconnect. so i created the folder it was looking for and moved the media folder from your_facebook_activity/posts/media to your_facebook_activity/your_facebook_activity/posts/media. This was much easier than doing a find and replace for each of the json files (i had many)


Allow optional string value for getopt switches

arttu.h reported this on 2013-12-13T20:46:20Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=11737
CC List

andrei (@andralex)
andrej.mitrovich (@AndrejMitrovic)
blah38621

Description
Say you want a command line switch like --log. This should enable logging to a predefined file default.log. User should also be able to use --log=somefile.log to define where things should be logged.

I tried to achieve this with getopt, but couldn't find a way for it. Adding --log twice to getopt doesn't work as it just throws an exception if the given value doesn't fit whatever was added first.

Perhaps there are some workarounds for this such as using config.passThrough and manually handling --log. However, as this is quite common in command-line parsing, it would be a nice addition to getopt.

One way this could be achieved: allow an option that takes a string value, but can be used without a value, in which case the string is set to a default value.

andrej.mitrovich (@AndrejMitrovic) commented on 2013-12-15T10:54:11Z
I'm thinking of the following, this current code will allow --log=value, but not --log:

-----
import std.getopt;
import std.stdio;

void main(string[] args)
{
    getopt(args,
           "log",
           (string option, string value)
           {
                // store value here
                writeln(value);
           });
}
-----

$ rdmd test.d --log=foo
> foo

$ rdmd test.d --log
> object.Exception@C:\dmd-git\dmd2\windows\bin\..\..\src\phobos\std\getop
t.d(486): Missing value for argument --log.

So it's meant to catch bugs. However I think we can extend this, and make getopt check whether the value parameter has a default initializer:

-----
import std.getopt;
import std.stdio;

void main(string[] args)
{
    getopt(args,
           "log",
           (string option, string value = "bar")  // should allow '--log'
           {
               // value is either set (e.g. --log=foo), or set to "bar" (--log)
               writeln(value);
           });
}
-----

That way we don't break code and introduce this new feature. Andrei, thoughts?

andrei (@andralex) commented on 2013-12-15T11:02:22Z
I think the default argument trick is quite neat. Andrej, would you care to implement it?

andrei (@andralex) commented on 2013-12-15T11:24:12Z
Upon a bit more thinking, the trick is rather subtle. Perhaps it would be more straightforward to allow two lambdas with the same option, and invoke the appropriate one.

import std.getopt;
import std.stdio;

void main(string[] args)
{
    getopt(args,
           "log",
           (string option)  // should allow '--log'
           {
           },
           "log",
           (string option, string value)  // should allow '--log=value'
           {
           });
);
}

blah38621 commented on 2013-12-15T11:19:26Z
(In reply to comment #2)
> I think the default argument trick is quite neat. Andrej, would you care to
> implement it?

I'm sure he'd love to implement it, but delegate and function pointer types don't currently keep any information on the name or default value of their parameters, meaning that this is currently impossible without declaring a function and passing it as an alias template parameter.

andrej.mitrovich (@AndrejMitrovic) commented on 2013-12-15T12:30:23Z
(In reply to comment #3)
> (In reply to comment #2)
> > I think the default argument trick is quite neat. Andrej, would you care to
> > implement it?
>
> I'm sure he'd love to implement it, but delegate and function pointer types
> don't currently keep any information on the name or default value of their
> parameters, meaning that this is currently impossible without declaring a
> function and passing it as an alias template parameter.

getopt is a variadic template, so it's possible to extract this information:

-----
import std.traits;

void getopt(T...)(ref string[] args, T opts)
{
    static assert(ParameterDefaultValueTuple!(opts[1])[1] == "bar");
}

void main(string[] args)
{
    getopt(args,
           "log",
           (string option, string value = "bar") { });
}
-----

blah38621 commented on 2013-12-15T11:31:44Z
(In reply to comment #3)
> (In reply to comment #2)
> > I think the default argument trick is quite neat. Andrej, would you care to
> > implement it?
>
> I'm sure he'd love to implement it, but delegate and function pointer types
> don't currently keep any information on the name or default value of their
> parameters, meaning that this is currently impossible without declaring a
> function and passing it as an alias template parameter.

I just realized this probably came off a wee bit more confrontational than I meant it to, woops. Either way, I think the default value option for a delegate is a beautiful way to solve the problem, as I think having 2 separate delegates is just a bit too verbose, especially as they are likely to contain the exact same code.

andrej.mitrovich (@AndrejMitrovic) commented on 2014-04-29T10:56:36Z
This is blocked by<EMAIL_ADDRESS>


Autoconfiguration improvements

Make the autoconfiguration fail less often when some dependencies are not present:

Allow web applications to not depend on blossom-ui-common
Do not create / depend on an Elasticsearch Client when Elasticsearch is not present

Coverage remained the same at 56.403% when pulling 022c94db919c2f42288572b1dc7dbadef61569d9 on autoconfiguration into 8ba0f5f1259e3a9d701ecd3f7918be9f0e5f2de7 on master.


[COMMENT] Chasing productivity - Part 1: The nixification saga | Animesh Sahu

https://animeshz.github.io/site/blogs/chasing-productivity-1.html
The first part of an intriguing journey: tapping into the nix module system.

Ah would be nice to see a part 2


use maps instead of lists

uniqueCoordinates :: Tree Step -> Double -> Double -> [(OriginCoordinates, Diagram B)] -> [(OriginCoordinates, Diagram B)]

Should ideally be converted to map as rendering can get expensive. Don't touch until we have:

good telemetry
significantly more complex diagrams

Replacing lists with maps should bring performance benefits, let's just make sure we can measure them first.

Cancelling for now as the diagram representation is undergoing significant changes and I’m not sure this will be required going forward.


Tutorial points to a dead link

The tutorial in the readme doesn't work.

I would also love to see the tutorial :(

Same here.


How to train ktrain model in TPU?

How can i train ktrain models in TPU.

In theory, you'd need to place whichever method you're using to create the classifier within the scope of TPUStrategy as described on the TensorFlow page on TPUs.  But, I haven't tried it. . See this example for more information.


 Thanks.

No prob, I'm on it.

Okay, I'm dumb. This is happening because Travis is testing against commit e156fdc139c174a0e5f45fc6d9e7ef8f5da884fa which no longer exists, I assume because it was squashed or otherwise removed.
Nothing is broken and please continue as normal. That specific Travis build will fail but all future ones should be fine.


Info on Throttling if issuing this Grant command on thousands of users

I see some misspelling on the page, instead of teamsupgrade.csv says teasupgrade.csv , small things, anyway, where can we find info about throttling if issuing these to thousands of users at once ?

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

ID: fd0dd44c-bfc9-5f82-68c4-7b469129e8a5
Version Independent ID: ea015ee3-54e2-e402-d533-c8a9a15557e8
Content: Grant-CsTeamsUpgradePolicy (skype)
Content Source: skype/skype-ps/skype/Grant-CsTeamsUpgradePolicy.md
Service: skypeforbusiness-powershell
GitHub Login: @tomkau
Microsoft Alias: tomkau

@officedocsbot assign @yogkumgit

Hi @vicslive, thank you for your feedback. Small or big things, we are always happy to receive feedback to improve docs.microsoft.com.
I´m not sure if I understood the question but I think you are looking for something like:
https://docs.microsoft.com/powershell/module/teams/new-csbatchpolicyassignmentoperation
Please, have in mind that this cmdlet is currently in public preview. Test it carefully.

@tomkau Please merge this PR #5420

@dariomws  Thank you very much for the contribution and updating the documentation with PR. @vicslive Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


feat: user can toggle off the object slot syntax parser

Shouldn't this option be on by default?

Shouldn't this option be on by default?

Shouldn't this option be on by default?

The default value of enableObjectSlots will be true, see https://github.com/vuejs/jsx-next/commit/41c01e4dd1f39f04239434e2cc773b593878bc51

Shouldn't this option be on by default?

The default value of enableObjectSlots will be true, see https://github.com/vuejs/jsx-next/commit/41c01e4dd1f39f04239434e2cc773b593878bc51


Prices in c/kWh

At least in Finland we use cents/kwh, and if I'm not mistaking in Sweden also "öre"
And probably in all the countries that use €.
The Nordpool integration also have this option, so I think it will be a much appreciated option.

Yes, this would be a better option in my opinion. Also not sure why the time as in am and pm since its European energy prices.

The latest version allows to set a custom currency like "c", "cent", "öre". Then you can adjust the value template accordingly to get the correct number like this:


install error (Air/M2 without rosetta installed)

Battery isn't in the PATH
I've used the latest .dmg (1.0.8)
Battery limiter error: Command failed: PATH=$PATH:/bin:/usr/bin:/usr/local/bin:/usr/sbin:/opt/homebrew:/usr/bin/ battery status_csv
/bin/bash: battery: command not found
Command failed: PATH=$PATH:/bin:/usr/bin:/usr/local/bin:/usr/sbin:/opt/homebrew:/usr/bin/ battery maintain 80
/bin/bash: battery: command not found
Battery limiter error: Command failed: PATH=$PATH:/bin:/usr/bin:/usr/local/bin:/usr/sbin:/opt/homebrew:/usr/bin/ battery status_csv
/bin/bash: battery: command not found
**What exactly did you do to produce the issue? **
Installation goes well.
Icon appears in the menu bar
But the errors above appear
The executable is in the Program folder not in one of the directories listed in the PATH environment. I think this could be the root or the problem.

Please follow the issue template so I can properly debug :)

I tried so.
I fixed it by manually installing the CLI. It seems like the DMG didn’t install the command line executable in /usr/bin
Best
Henning

Am 13.02.2023 um 10:15 schrieb Mentor Palokaj @.***>:
Please follow the issue template so I can properly debug :)
—
Reply to this email directly, view it on GitHub https://github.com/actuallymentor/battery/issues/64#issuecomment-1427594582, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5VIQP43DAUQ3OBPAGE7WK3WXH3T5ANCNFSM6AAAAAAUZ4CGVI.
You are receiving this because you authored the thread.


[Bug]: Double scrollbars on property pane dropdown

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
https://user-images.githubusercontent.com/10436935/156160965-e1419648-19a1-49ba-9690-50aee61ef56a.mov
If we open a long dropdown component, there are double scrollbars on the property pane.
Steps To Reproduce

DnD datepicker
open the date format dropdown and see

Environment
Release
Version
Cloud

A link to the internal discussion: https://theappsmith.slack.com/archives/C025SE88KNE/p1645657546730449


Text Box for Additional Information

Is there a way to add a text box to the chart for additional information?
Something like the red box I added here:

It took me a while, but I was able to figure this out. I wrote a renderable function, similar to the legend functions in legend.go, and then just called it from graph.Elements
graph.Elements = []chart.Renderable{
    chart.LegendLeft(&graph),
    myRenderable(&graph),
}

I made a PR for this: https://github.com/wcharczuk/go-chart/pull/130


Added --token-budget option

As described in the docs:
--token_budget TOKEN_BUDGET
Total budget in tokens for a singe CELI run, across all calls. If set to 0, there is no
budget. This only includes live calls, not cached calls. If the budget is exceeded, the run
will stop.

Caching is always defaulted on, so ai think we are ok.  You have to explicitly turn it off with —no-cache.DaveOn Jun 22, 2024, at 5:25 PM, Jan-Samuel Wagner @.***> wrote:
@x3n0cr4735 commented on this pull request.
Can we make it so that caching is defaulted when a token budget is set? Thinking someone might budget, run reaches limit and quits, and if whatever use wanted wasn't saved they need to rerun entirely if caching is not on
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

I was thinking of my .env where I have it set up to not cache. If someone has NO_CACHE=True in .env maybe we can have a warning pop up? They may not think to change their .env when budgeting for their first time(s). Just as long as we do it in a way where it's not annoying.
I also think we should default to have a budget set up to, say, 200k tokens (open to suggestions), so that worst case scenario someone doesn't run up millions of tokens without planning to.
We should also change the .env.example accordingly.

The doc now emphasizes command line arguments over the env file.  I’ve updated the .env.example to be very minimal.
Also, I’m not sure why you would want caching ever turned off on a regular basis.
The HUmanEval benchmark uses 9 million tokens, so I’m not sure what the right default budget would be.
Dave
From: Jan-Samuel Wagner @.>
Sent: Sunday, June 23, 2024 6:29 AM
To: x3n0cr4735/celi @.>
Cc: David DeCaprio @.>; Author @.>
Subject: Re: [x3n0cr4735/celi] Added --token-budget option (PR #77)
I was thinking of my .env where I have it set up to not cache. If someone has NO_CACHE=True in .env maybe we can have a warning pop up? They may not think to change their .env when budgeting for their first time(s). Just as long as we do it in a way where it's not annoying.
I also think we should default to have a budget set up to, say, 200k tokens (open to suggestions), so that worst case scenario someone doesn't run up millions of tokens without planning to.
We should also change the .env.example accordingly.
—
Reply to this email directly, view it on GitHub https://github.com/x3n0cr4735/celi/pull/77#issuecomment-2184951594 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGNLOTBJSDER5ZKBG3VSMTZI2WRFAVCNFSM6AAAAABJXYADMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBUHE2TCNJZGQ .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/AAGNLOV64RRP772GCYPTZODZI2WRFA5CNFSM6AAAAABJXYADMCWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUCHO3SU.gif Message ID: @.*** @.***> >

@x3n0cr4735 Ok, I added a warning if caching is off and set the default budget to 10M tokens.

@x3n0cr4735 There was a merge conflict so this needs to be approved again.


Andrei alphazero

Could you keep the description as short as the other examples and put the details commands in your fork project? You can follow what we did for BERT and CycleGAN.

Could you also confirm if the Alpha Zero + KungFu converges as expected?


Promote: Fix deletion error for readonly target

In promote, we should always let the transfer promotion happen
whether the target is readonly or not. But currently there is a bug
for metadata deletion in promotion. This pr is to fix the problem.

LGTM.


Update README.md

@paulczar, if we still need this change, please rebase the branch off of the current master.


I can't start the Taiko Node with a Local Holesky RPC

Hi, i'm trying to start a Taiko Node with a VPC with a Holesky Node with Archive activated.
i receive in the different test i made those error from the Taiko Node:
taiko_client_driver-1          | dial tcp <IP_ADDRESS>:8546: i/o timeout
or
error with RPC endpoint: node (ws://<IP_ADDRESS>:8546) must be archive node
what i can do? the Holesky node have activated the ARCHIVE_NODE=true.
thanks

Be sure that your Holesky node is completely in sync with the blockchain. You can use the Holesky L1 endpoint, but it must point to an archive node to access the state trie beyond the last 128 blocks.

Check for any port conflicts. Execute sudo lsof -i -P -n | grep -i LISTEN to verify the availability of the ports you intend to use.

Go through your .env file carefully and confirm your configurations for L1_ENDPOINT_HTTP= and L1_ENDPOINT_WS=. Refer to the .env.sample file for possible guidance. Check your IP address with wget -qO- eth0.me.

As an option you can choose any Holesky RPC provider, but your own Local Holesky node is typically advisable. This approach avoids potential rate limits imposed by third-party providers.

thanks for the help. I've changed Local Holesky node framework and now i receive this error:
taiko_client_driver-1          | no contract code at given address
taiko_client_driver-1 exited with code 1
i continue to investigating

It looks like your Holesky node isn't fully synced:

Check the head of the chain on the Holesky beacon chain explorer
Check your eth node with Graphana dashboard with Gethand Lighthouse
When you settled up your Holesky node, you did it as  non-root user. Make sure you give for User the necessary permission and add to the Docker group.

thanks for the help. I've changed Local Holesky node framework and now i receive this error:
taiko_client_driver-1 | no contract code at given address taiko_client_driver-1 exited with code 1
i continue to investigating

Looks like your holesky node is not fully synced.


Tesla: explicitly copy signals to forward

split from https://github.com/commaai/openpilot/pull/28020

new tesla label!


Annotate incoming and outgoing context

Ref: https://github.com/grpc-ecosystem/grpc-gateway/issues/2571
This is the same code/branch that has been submitted to the upstream: https://github.com/grpc-ecosystem/grpc-gateway/pull/2574
Merging into the sc-main branch will allow us to use this version until it's merged and released upstream.

Looks like this is already merged to master on gRPC Gateway. Would it be better to close this and update our fork?

Already merge to the upstream


Multiple rule repair is having issues

Repairing multiple rules is currently not working well, there are constant crashes in the sniper printer. Running the same rules one-by-one works fine. As we're reparsing the project between each rule, I'm thinking that there's something left over from the previous rule's parse that affects the next one.
@nharrand FYI for you when running experiments, run one rule per worker. I will keep debugging this, but I don't expect to have it fixed today.

After investigating this further, it appears not to have been a Sorald issue.

After investigating this further, it appears not to have been a Sorald issue.


Fix bugs in MultiQueryAttentionLayerWithDownSampling

Fix bugs in "MultiQueryAttentionLayerWithDownSampling", "MNV4LayerScale".

206 context = (attn_score @ v).transpose(1, 2)  # [batch_size, qx * qy, num_heads, key_dim]
208 # [batch_size, qx, qy, num_heads * key_dim]
--> 209 context = context.view(batch_size, qx, qy, self.num_heads * self.key_dim)
210 output = self._output_proj(context)  # [batch_size, qx, qy, inp]
211 if self.query_h_strides > 1 or self.query_w_strides > 1:
RuntimeError: view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces). Use .reshape(...) instead.

206 context = (attn_score @ v).transpose(1, 2) # [batch_size, qx * qy, num_heads, key_dim] 208 # [batch_size, qx, qy, num_heads * key_dim] --> 209 context = context.view(batch_size, qx, qy, self.num_heads * self.key_dim) 210 output = self._output_proj(context) # [batch_size, qx, qy, inp] 211 if self.query_h_strides > 1 or self.query_w_strides > 1:
RuntimeError: view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces). Use .reshape(...) instead.

Already fixed.

thanks
and i found this error and fixed.
class MNV4LayerScale(nn.Module):
def init(self, embedding_dim, init_value):
"""LayerScale as introduced in CaiT: https://arxiv.org/abs/2103.17239
Referenced from here https://github.com/tensorflow/models/blob/master/official/vision/modeling/layers/nn_blocks.py
    As used in MobileNetV4.

    Attributes:
        init_value (float): value to initialize the diagonal matrix of LayerScale.
    """
    super().__init__()
    self._gamma = torch.nn.Parameter(torch.ones(embedding_dim) * init_value)

def forward(self, x):
    # 确保x的channels维度与_gamma的维度相同
    if x.shape[1] != self._gamma.shape[0]:
        raise ValueError("The channels dimension of x must match the size of _gamma.")
        # 在channels维度上应用LayerScale
    # 使用unsqueeze扩展_gamma的维度以匹配x的维度，然后进行广播乘法
    gamma_expanded = self._gamma.unsqueeze(0).unsqueeze(2).unsqueeze(3)
    return x * gamma_expanded

thanks
and i found this error and fixed.
class MNV4LayerScale(nn.Module): def init(self, embedding_dim, init_value): """LayerScale as introduced in CaiT: https://arxiv.org/abs/2103.17239 Referenced from here https://github.com/tensorflow/models/blob/master/official/vision/modeling/layers/nn_blocks.py
    As used in MobileNetV4.

    Attributes:
        init_value (float): value to initialize the diagonal matrix of LayerScale.
    """
    super().__init__()
    self._gamma = torch.nn.Parameter(torch.ones(embedding_dim) * init_value)

def forward(self, x):
    # 确保x的channels维度与_gamma的维度相同
    if x.shape[1] != self._gamma.shape[0]:
        raise ValueError("The channels dimension of x must match the size of _gamma.")
        # 在channels维度上应用LayerScale
    # 使用unsqueeze扩展_gamma的维度以匹配x的维度，然后进行广播乘法
    gamma_expanded = self._gamma.unsqueeze(0).unsqueeze(2).unsqueeze(3)
    return x * gamma_expanded

Perhaps you don't pull the newest code.   :)
https://github.com/jaiwei98/MobileNetV4-pytorch/pull/1/commits/12afaf85cd943f75526e01c67f0482849242329c


ButterKnife Fragment unbinding

Hey, shouldn't you call ButterKnife.unbind(unbinder) in your BaseFragment's onDestroyView(..) callback?

Should.

It could be a nice improvement 😃

The project uses the old version of ButterKnife (5.1.+) which doesn't have the unbind(unbinder) method.
So, @npace, the answer is no. :)

We should update the dependency version before adding this improvement.


⚠ SceneTime has degraded performance

In 69bc2d3, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1222 ms

Resolved: SceneTime performance has improved in e317b36 after 7 minutes.


[Minor Bug] Marking Complete on Module removes YAML from RpgManagerData

Scope
When you mark a module as complete within RPGM, the YAML within the code block for "complete" disappears completely versus switching to true.
To Reproduce

Look at RpgManagerData on an uncompleted character, scene, clue, etc.
Observe complete: false
Close the RpgManagerData code block
Mark the module as complete
Check the RpgManagerData code block again
Observe there is no sign of complete.

Expected behaviour
The expected behavior is complete would remain and would become complete: true.
Screenshots

Desktop (please complete the following information)
RPGM 3.2.3.

Hi @sigrunixia
Thanks for the report. This was a design decision that was taken to keep the data as light as possible. Setting completed to true instead of removing it completely is easy, but before I dig into it, can you give me the rationale to keep the metadata present? I have always thought: once done, it's done...

Ah, I had thought it was a bug because I had no indication it was intentionally removed. :) I would need to update documentation in that case.
It does not matter to me what you decide in this, since I think the complete versus non-complete usage base is small (I wish we had analytics on this). That being said, some quick top of mind rationale.

If a user accidentally hits complete (which is arguably easier to do now with the way the formatting is redone for the modules), then they would not only have to type out the word complete: false, but they would also have to get the indentation right in the code block. Easy enough to explain in documentation, but another step where things can get messed up on their end.
If there was a way to determine that the need for a Complete versus Not-Complete was greater than 1, then the way I would handle it is within the RPG-Manager right bar (after you click the button on the left side bar), list the completed elements under a new heading > Completed Elements and then when those are clicked, do a pop-up that states "Do you wish to mark this element as incomplete?"

Otherwise, makes no difference to me. I'll make a note to redo my documentation on how to mark a module as incomplete if thats what you want to do.

complete flag set to true instead of removing it from the code block.
Waiting for v3.2.5 release


Multireduce PADTO Test

Multiple reduceops introduces an issue with PADTO where the accumulator of the first reduceop doesn't get a ternary when used in later reduceops, ex below:
__kernel void r_17_32(__global float* data0, const __global float* data1) {
  int gidx0 = get_group_id(0); /* 17 */
  float acc0 = 0.0f;
  for (int ridx0 = 0; ridx0 < 32; ridx0++) {
    float val0 = ((ridx0<17)?data1[gidx0+(ridx0*324)]:0.0f);
    acc0 = (val0+100.0f+acc0);
  }
  float acc1 = 0.0f;
  for (int ridx1 = 0; ridx1 < 32; ridx1++) {
    float val1 = ((ridx1<17)?data1[gidx0+(ridx1*324)]:0.0f);
    acc1 = (((val1+((ridx1<17)?100.0f:0.0f))-acc0)+acc1); <--- acc0 should look like ((ridx1<17)?acc0:0.0f)
  }
  data0[gidx0] = acc1;
}

re: #4259

yeah it captured the issue, wanted to check if you thought the tests should explore more angles

yeah we wanna build up to a full spec.
We should have the test_padto_where and test_padto_max cases + some mixed with matmuls

Why is our x - x.sum on axis 1 wrong?
  def test_padto_sum_multireduce(self):
    Tensor.manual_seed(0)
    N = 18 * 18
    x = (Tensor.rand(N, N).shrink(((0, 17), (0, 17))) * 100).realize()
    def ast(axis:int):
      x_ld = LazyOp(BufferOps.LOAD, (), MemBuffer(1, dtypes.float, ShapeTracker(views=(View(shape=(17, 17), strides=(17, 1), offset=0, mask=None, contiguous=True),))))
      x_sum = LazyOp(ReduceOps.SUM, (x_ld,), (axis,))
      r1 = LazyOp(ReduceOps.SUM, (LazyOp(BinaryOps.SUB, (x_ld, x_sum), None),), (axis,))
      return LazyOp(BufferOps.STORE, (r1, ), MemBuffer(0, dtypes.float, ShapeTracker(views=(View(shape=(1, 17), strides=(0, 1), offset=0, mask=None, contiguous=True),))))
    opts = [[Opt(OptOps.PADTO, 0, 32)], [Opt(OptOps.PADTO, 0, 32), Opt(OptOps.UPCAST, 0, 8),],]
    helper_linearizer_ast((ast(0),), [x], opts=opts, wanna_output=[(x.numpy() - x.numpy().sum(0)).sum(0)])
    helper_linearizer_ast((ast(1),), [x], opts=opts, wanna_output=[(x.numpy() - x.numpy().sum(1)).sum(1)])

no handcoded opts or OptOps, just normal linearizing fails the correctness check.
Mismatched elements: 17 / 17 (100%)
Max absolute difference: 3106.3604
Max relative difference: 0.24157341
 x: array([-14075.205, -13289.261, -11547.896, -12052.414, -11245.982,
       -15272.615, -11242.45 , -13194.532, -10273.275, -11780.489,
       -12429.702, -15965.228, -14123.608, -12463.782, -13040.852,
       -14158.632, -11089.664], dtype=float32)
 y: array([-12687.294, -12664.575, -13056.305, -12778.893, -12832.796,
       -12582.915, -12781.638, -12798.597, -12766.285, -12764.453,
       -12726.092, -12858.867, -12946.265, -12852.402, -12780.549,
       -12557.855, -12809.812], dtype=float32)

(x.numpy() - x.numpy().sum(1)).sum(1)

I think x is non-contiguous and also the wanna_output should have a keepdims=True for at least the first reduction, I pushed an updated version with wanna_output populated for all the tests

oh you're right the AST is wrong.
I refactored test_padto_sum_multireduce, big nested ASTs are really hard to maintain. is this ready to merge though? I still see wrong wanna_output in test_padto_max_multireduce


Begin reworking the Usage page in the docs

I started reworking the Usage page of the docs. It will show how to access available ragged-array datasets, how to run some analysis functions and what's available, and how can custom datasets be adapted to a ragged-array structure.
Closes #122.

I also changed the theme to sphinx-book-theme in this PR because it was easy. Let's add graphics in a separate PR.


CI: clean up scikit-umfpack and scikit-sparse usage in CI

Two things improved here:

don't install suitesparse when it is not needed
don't pull in scipy as a dependency for these two scikits

I considered dropping scikit-umfpack and scikit-sparse completely, because they're effectively unmaintained and used rarely. But I decided to leave that alone, because they're in general unproblematic. scikit-sparse isn't even installable for Python >= 3.10 anymore though, so if no one fixes that issue then we'll remove it at some point.

I had a look at what this gained us runtime-wise, and discovered that this did not actually work. Follow-up in gh-16534

Azure templating is so terrible:(


Pin kubernetes version to 27.x.x - 2118

[Auto generated]
Number: [#2118]

openshift-python-wrapper[pull_request][78b0-11ef-8560-e6c37db0e865][PR 2118]: Closing issue for PR: Pin kubernetes version to 27.x.x.
PR was closed.


fix: macos quickstart err

You should not use the gateway address, but the address where the application uses control-plane

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Actually iirc host.docker.internal should just work out of the box in macos

@SOF3 However, on my computer, host.docker.internal and gateway are not the same IP, of course, I believe there are other people who are the same as me. I think the IP using xx-control-plane is more accurate

It doesn't look like the change works on Linux, as seen from the failing CI.


KEP-2170: Kubeflow Training V2 API

This is the Kubeflow Enhancement Proposal for Kubeflow Training V2 APIs: https://bit.ly/3WzjTlw
Related: https://github.com/kubeflow/training-operator/issues/2170
We will collect the final community feedback by mid of next week and start the implementation.
Open Questions:

Since we are planning to introduce OutputArtifact to the ModelConfig, how should we support one-off for different model providers (e.g. HF, PVC, S3, etc.) ? Another option could be to add OutputArtifact as part of TrainerConfig.

Do we want to keep each parameter for dataset and model providers in our APIs, or we should just introduce storageUri field and environment variable that user can modify:
datasetConfig:
  storageUri: hf://yelp_review_full
  env:
    - name: SPLIT
      value: train[:4000]
--- or ---
datasetConfig:
  huggingface:
    repoId: yelp_review_full
    split: train[:4000]

What LLM Fine-Tuning Runtimes do we want to add initially. E.g. Llama-7b, Gemma-7b, Llama-70b?

TrainJobStatus needs to be updated with more info.

/cc @kubeflow/wg-training-leads @kubeflow/kubeflow-steering-committee @kubeflow/wg-data-leads @danielvegamyhre @kannon92 @mimowo @ahg-g @kuizhiqing @sandipanpanda @Electronic-Waste @helenxie-bit @franciscojavierarceo @diegolovison @alculquicondor @zw0610 @lowang-bh @deepak-muley @bigsur0 @Syulin7 @itayvallach @richardsliu @shravan-achar @akshaychitneni @StefanoFioravanzo @zanetworker @nairbv @vsoch @yuzisun @brannondorsey @kellyaa
/hold for review

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4380

Relevant Lines:
12365

💛  - Coveralls

This is the Kubeflow Enhancement Proposal for Kubeflow Training V2 APIs: https://bit.ly/3WzjTlw Related: #2170
We will collect the final community feedback by mid of next week and start the implementation.
Open Questions:

Since we are planning to introduce OutputArtifact to the ModelConfig, how should we support one-off for different model providers (e.g. HF, PVC, S3, etc.) ? Another option could be to add OutputArtifact as part of TrainerConfig.
FWIW I am in favor of adding OutputArtifact to TrainerConfig.

Do we want to keep each parameter for dataset and model providers in our APIs, or we should just introduce storageUri field and environment variable that user can modify:datasetConfig:
  storageUri: hf://yelp_review_full
  env:
    - name: SPLIT
      value: train[:4000]
--- or ---
datasetConfig:
  huggingface:
    repoId: yelp_review_full
    split: train[:4000]

I personally like the latter approach rather than an environment variable but just my opinion. 🤷

What LLM Fine-Tuning Runtimes do we want to add initially. E.g. Llama-7b, Gemma-7b, Llama-70b?
Those seems good. I would also recommend one of the good small ones (e.g., Mistral 7B - DPO).
TrainJobStatus needs to be updated with more info.
👍

I personally like the latter approach rather than an environment variable but just my opinion. 🤷

@franciscojavierarceo Please can you check the latest API for model and dataset configs ? I recently made some updates based on this 🧵 https://github.com/kubeflow/training-operator/pull/2171#discussion_r1680402990

What LLM Fine-Tuning Runtimes do we want to add initially. E.g. Llama-7b, Gemma-7b, Llama-70b?

I think, after initial implementation we can add blueprints for more LLMs, Mistral, BERT, Llama, etc.

After our discussion with @tenzen-y we made the following changes:

Change parameters with env for dataset and model parameters. That will make it consistent with Trainer env and help us to keep CRD schema valid.
Add scheduling directives to TrainJob to integrate with Kueue and MultiKueue
Add Kind and Version to TrainingRuntimeRef
Add RunLauncherAsNode parameter to the MPISpec, to support this feature from MPIJob: https://github.com/kubeflow/mpi-operator/blob/master/pkg/apis/kubeflow/v2beta1/types.go#L161

I think, we discussed on unresolved comments, please let me know if you have any other suggestions/questions before we can merge it.

Very much LGTM!
I don't want to bikeshed too much on the API. I think there will be some PodSpecOverride fields we would want to add but I don't think all those need to be defined up front.

/lgtm

I added more parameters to PodSpecOverrides (NodeSelector, Tolerations, SchedulerName) to make sure we can integrate it with Kueue and other schedulers (e.g. YuniKorn).

One last question - any reason to differentiate schedulerName and GangScheduler ? Can we not just call them the same thing? To use a gang scheduler you should still use schedulerName. If we use the same term in both places we can simplify the abstractions we describe, and not limit the scope of what the type means for the future (in case a different term or kind of scheduler arises appropriate to be used as a plugin here).
Aside from that - LGTM! Really solid work on this @andreyvelich ! :partying_face:

Can we not just call them the same thing?

As you can see the gangScheduler has the ScheduleTimeoutSeconds, and might introduce other parameters to create the appropriate PodGroup that PodSpec doesn't have today. I think @tenzen-y mentioned it in this thread: https://github.com/kubeflow/training-operator/pull/2171#discussion_r1700518746.
However, maybe we can avoid those parameters.
@tenzen-y Do you know if we can just re-use .spec.schedulerName from PodSpec for gang scheduling using coscheduling and volcano plugings ?

One last question - any reason to differentiate schedulerName and GangScheduler ? Can we not just call them the same thing? To use a gang scheduler you should still use schedulerName. If we use the same term in both places we can simplify the abstractions we describe, and not limit the scope of what the type means for the future (in case a different term or kind of scheduler arises appropriate to be used as a plugin here).
Aside from that - LGTM! Really solid work on this @andreyvelich ! 🥳

So there is a subtle detail here.
CoScheduling plugin is a plugin of the kubescheduler (schedulerName is default).
If one wants to use a custom scheduler (replace kubescheduler) they would specify schedulerName. An example of this could be to use Yunikorn in place of the kubeScheduler.
I may have asked this but I think maybe we can drop spec.schedulerName from the first release on this API. I think this would be something a platform engineer would define in ClusterTrainingRuntime as a template that we don't want people to override.

I may have asked this but I think maybe we can drop spec.schedulerName from the first release on this API. I think this would be something a platform engineer would define in ClusterTrainingRuntime as a template that we don't want people to override.

@kannon92 @vsoch We refactored the API for gang-scheduling with @tenzen-y and @johnugeorge. We renamed the GangScheduler to the PodGroupSpec to make it clearer for Platform Engineers what does this parameter mean.
Additionally, we removed the schedulerName from the PodSpecOverrides in the TrainJob. If we find use-cases when scheduler needs to be configured on every Job submission, we can discuss it in the future.
I added example with PodGroupSpec to make it clearer how to use it.
Does it look good to you @kannon92 @vsoch ?

We should be ready to merge this and start the initial implementation.
Feel free to submit the follow-up PRs if we need any updates to the KEP.
Thanks to everyone for the comprehensive review of this proposal!
I am looking forward to see the adoption of these features 🎉
/hold cancel


When do you introduce the glm-4-9b model?

When do you introduce the glm-4-9b model?

Merging this issue with https://github.com/ollama/ollama/issues/4826


Enable Font Choices

Is your feature request related to a problem? Please describe.
Some users prefer fonts different to what the theme provides.
For example, some users prefer the font used in the BCHolmes star trek webapp to our "24th century" theme's "Okuda" font.
Describe the solution you'd like
Saved as part of the Game Info, defaulting to empty string meaning "theme default", the user is provided a dropdown of a few reasonable fonts tested to work with the themes. ('Lexend Deca', system-ui, whatever bcholmes uses, etc)
Describe alternatives you've considered
Considered not letting users decide. Would just be not implementing this.
Additional context
This cannot result in a database clearing. Don't bump the db version or migrate users.

fixed in 4015d06ce19b0c113f3d4ed1771ebde4c8bcdcb4
with a single "alternate font" for each theme


FancyZones does not work for only some applicaitons

Microsoft PowerToys version
0.56.2
Running as admin

[x] Yes

Area(s) with issue?
FancyZones
Steps to reproduce
Setup FancyZones with defaults
Install Service Bus Explorer
Open Service Bus Explorer
Notice that when dragging the Service Bus Explorer FancyZones doesn't appear to work
Notice that when dragging Chrome FancyZones works as expected
✔ Expected Behavior
I would expect that when I drag Service Bus Explorer, FancyZones would work as it does for other applications
❌ Actual Behavior
When dragging Service Bus Explorer I can not get FancyZones to engage. I have tried shift, and also changed the settings to allow the alt mouse button to toggle FancyZones display.
Other Software
Service Bus Explorer
Visual Studio
Windows 10

I just noticed that when I start another instance of Service Bus Explorer, sometimes I see FancyZones work ONE time when I drag the window. I can't find a method or pattern to this behavior. After that first drag, when it does work, I never see it work for that instance of Service Bus Explorer again.

Having the same issue in 0.57, running in admin, with MSI Afterburner v4.6.4 Hardware Monitor.

/bugreport

also chiming in that I'm having an issue with certain windows having stopped playing nice with FancyZones. PowerToys is v0.57.2, though I was also seeing this issue with whatever version I had previously. I'm running PowerToys in admin mode and having the issue with MSI Afterburner (4.6.4, which had worked previously) pop-out graphs. other programs (such as Discord) run as admin do behave as expected. I am not seeing the behavior where it will engage once.
PowerToysReport_2022-04-10-15-25-46.zip
.

PowerToysReport_2022-04-12-15-54-09.zip

Checked ServiceBusExplorer, the window doesn't have WS_VISIBLE style, that's why it's ignored by FancyZones.

Thanks for the feedback. I will move the reference of this issue and report on the ServiceBusExplorer forums.
If this is truly not a bug and working as is expected please close this. I'll continue on the SErviceBusExplorer issues list.
https://github.com/paolosalvatori/ServiceBusExplorer/issues/637


gloadlog sensitivity to timezone on macOSx

Attempts to fix #565
@tarensanders would you mind testing this?

Hi @vincentvanhees, yes - this passes on my machine. Nice job.

Update: release 2.7-1 has been accepted by CRAN and is on it's way to production https://cran.r-project.org/web/packages/GGIR/index.html


Add an additional set of day switcher buttons at the bottom of conference schedule template

Here we are at the top of the Friday schedule.
We will read to the very bottom, whereupon we intend to read the Saturday schedule.

Problem is: when we get to the bottom of Friday, we need to scroll all the way back up to find the button to switch to Saturday.
So do consider adding an additional set of day switcher buttons at the bottom too.

This has to do with the sessionize schedule module and is not part of OSMUS tech.


Changing EDITOR env variable has no effect.

I don't need vim for the editing of bodies, etc, so I tried to change the editor used by mitmproxy by changing the EDITOR environment variable in my .bashrc. However, when I go to edit something in mitm, the editor is still vim, even though echo $EDITOR returns nano.

I have the same problem. Any ideas ?


Add "are you still working" question

Adds controller, view, route and request test for this question.
I've implemented a request test here since that allows us to test the behaviour of the controller and view at the same time, covering behaviour that is untested in the other two form applications.
Next question path, previous question path and test for redirecting cannot yet be implemented (and therefore I've added placeholders) since those questions are not yet available.
Preview:

Trello card: https://trello.com/c/SdBbChS1

We don't yet have any content for the validation errors, so I'll merge this anyway and we can update once we have content.


java.net.UnknownServiceException: CLEARTEXT communication to localhost not permitted by network security policy

I am sorry, I know this problem shouldn't post here but StackOverFlow,  I have post the question there but none of answers could sort my matter out. I have stucked by this problem for a long time.
I got above error when executed my AndroidJunit4Test.  I checked the source code . This exception throwed out by following code, although CleartextTraffic is Permitted
   if (!Platform.get().isCleartextTrafficPermitted(host)) {
        throw new RouteException(new UnknownServiceException(
            "CLEARTEXT communication to " + host + " not permitted by network security policy"));
      }

Any ideas for this problem? Thanks.

I'll take a look on stackoverflow, closing this out.

Ok, Thank you very much!

I didn't have anything to add, looks like you have the correct answers there.  Next step is debugging it, but suggest either way to continue the discussion on stackoverflow, not here.
You can try using mockWebServer.useTls and client.insecureHost to use SSL for the test connections.


feat: add reserve transfer example

Add reserve transfer asset example between Statemine and Trappist.
This example uses trappist#22755b2 which is compatible with polkadot v0.9.37 and polkadot-parachain v0.9.370
The example steps are

In Rococo, create a sufficient asset on Statemine (reserve parachain)
Notes

asset should be sufficient to be able to pay fees in Statemine
root is needed to create a sufficient asset
in a common good parachains, root is accessed through the relay chain

In Statemine, mint the new reserve asset
In Trappist, create an asset to pair it with the Statemeine reserve asset
In Trappist, register Trappist AssetId to Statemine AssetId
In Statemine, make a reserve transfer asset to Trappist

@harrysolovay @tjjfvi I need to setup docker to debug the GH action issue
In the meantime, feedback is welcome

Let's wait to merge this until after #823

@kratico Devnets has been merged, but it'll need to be modified to set up the hrmp channels.


Add cross tenants availability to communicate-with-users-from-other-organizations.md

Closes https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/8915.
https://techcommunity.microsoft.com/t5/microsoft-teams-blog/top-10-faqs-on-leveraging-teams-for-government/ba-p/1273090
https://www.microsoft.com/en-us/microsoft-365/roadmap?filters=GCC%2CMicrosoft Teams%2CGCC High%2CDoD&searchterms=guest

@MikePlumleyMSFT PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Drawing a Hexagon

Hi I've been trying to adapt your triangle example into a hexagon but I don't understand the code enough for the fill.
I've used the following for the empty shape;
        ctx.moveTo(50, 1);
        ctx.lineTo(99, 37);
        ctx.lineTo(80, 96);
        ctx.lineTo(20, 96);
        ctx.lineTo(1, 37);

Could you please give me a hand getting the fill to follow this shape too?
Thanks, really appreciate your work on this script

Hi, @swillis93! I'll gladly help you, I'm just super busy at work last 2 weeks.

Great, thank you

Finally, here it is.

Fantastic thank you so much


Fixup issue when subnetting for a number of hosts

Codecov Report
Patch coverage: 93.54% and project coverage change: -0.42 :warning:

Comparison is base (e2d49f9) 98.89% compared to head (ad1e3e4) 98.47%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #2      +/-   ##
==========================================
- Coverage   98.89%   98.47%   -0.42%
==========================================
  Files           8        8
  Lines         181      197      +16
  Branches       34       35       +1
==========================================
+ Hits          179      194      +15
- Partials        2        3       +1

Impacted Files
Coverage Δ

src/ipv4/ipv4_network.py
100.00% <ø> (ø)

src/ipv4/ipv4_subnet.py
96.07% <93.54%> (-1.07%)
:arrow_down:

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


Search

Added Get-SPOSiteSearchQueryResults which allows querying SharePoint Search for indexed site collections. Ideal to use i.e. for retrieving all site collections on an on premises SharePoint 2013 environment and injecting a JavaScriptLink into all of them with a simple oneliner PowerShell!

Nice updates! thanks!


⚠ Bofrost.nl has degraded performance

In 82ed4b8, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 2475 ms

Resolved: Bofrost.nl performance has improved in 5d96798.


How to use it in realtime audio Data?

I was working on realtime audioProcessing changing pitch, speed and adding effects. I checked various libraries like ffmpeg but all of them work on a save file, instead of realtime byteArray or ShortArray. I checked examples in readme. Can this be used directly on the ByteArray audioData?
Thank you

you can use a temp audio file and use it as live processing.


[BUG] broadcast_in_dim + concatenate causes segfault

I was trying to do broadcast_in_dim + concatenate but got a segfault:
import jax
import alpa

class_token = jax.numpy.empty((1, 1, 768))
x = jax.numpy.empty((196, 8, 768))

def jax_func(class_token, x):
	class_token = jax.lax.broadcast_in_dim(class_token, [1, 8, 768], [0, 1, 2])
	x = jax.lax.concatenate([class_token, x], 0)
	return x

alpa_output = alpa.api.parallelize(jax_func)(class_token, x)

Output:
free(): invalid next size (fast)
Aborted (core dumped)

It also seems that if I swap the order of class_token and x in the call to jax.lax.concatenate() (i.e. doing x = jax.lax.concatenate([x, class_token], 0) instead), it will work fine. Maybe in the code we expect the first argument of jax.lax.concatenate() to be contiguous?

This bug has been fixed by this PR https://github.com/alpa-projects/tensorflow-alpa/pull/99


Upgrade from windows 386 to amd64

Gitea version (or commit ref): 1.4.2
Git version: 2.17.1.windows.2
Operating system: Windows 10
Database:

[X] SQLite

Can you reproduce the bug at https://try.gitea.io:

[X] Yes

Description
Wen we replace the gitea-1.4.2-windows-4.0-386.exe file with the gitea-1.4.2-windows-4.0-amd64.exe file to from 32bit to 64 bit, the repository is empty and a new administration account is deployed.
The old data is not present anymore.
When we go back to the 32bit version of gitea, the repository and accounts are back again.
Is ther a way to upgrade to the 64 bit version without losing data?

check that your data is not saved in system32 folder (32-bit vs 64-bit will have different (System32 vs SysWOW64). You need to reconfigure gitea to use other folders not system ones.

Thank you @lafriks.
Thit solved the problem. Now the db is in c:\gitea\data, and we changed this in the config file.


fix using Term on nightly - julia 1.12

Fix https://github.com/FedeClaudi/Term.jl/issues/246, and fix testsuite on v"1.6" ≤ VERSION ≤ v"1.12".
Fix https://github.com/FedeClaudi/Term.jl/issues/237, by skipping writing files on CI or PKGEVAL.
Also,

add stdlib [compat] bounds per this PSA;
restore CI on master: this branch should always be tested !;
cancel builds in progress on a PR to spare CI credits;
update CI jobs, test nightly and upcoming 1.11.

@FedeClaudi, a version bump after this merge would be appreciated in order to re-enable NanoSoldier - PkgEval checks.
Needed in order to allow UnicodePlots testsuite to run on nightly.

@FedeClaudi, bump ?

Hey, sure let me add you to the repo!

Thanks !
Any objection for merging this PR ?


Exact range quantifier missing

How to implement something like {2,5} in SRL? If it is not possible at all, please add it.

It is implemented as between x and y times but not documented. I forgot about that.
Thanks for reporting! Will add it to the documentation shortly.

Documentation adjusted: https://simple-regex.com/documentation/quantifiers

Thanks!


Remove version: RingCentral.RingCentral version 24.3.350.12147

installers return following HTTP status code: 404
Microsoft Reviewers: Open in CodeFlow

[Policy] Needs-Manual-Merge

URL: https://app.ringcentral.com/download/RingCentral-24.3.350-x64.msi
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 923)


route redirect bug when upgrading to java 11

this way it works in java 8 but in java 11 the zull gets lost and always redirects to the first
zuul.routes.cashout-24horas.path=/c1/**
zuul.routes.cashout-24horas.url=http://www.terra.com.br
zuul.routes.cashout-24horas.auth-type=NONE
zuul.routes.cashout-24horas.allowed-methods=GET
zuul.routes.cashout-24horas-authorization.path=/c2/**
zuul.routes.cashout-24horas-authorization.url= http://www.uol.com.br
zuul.routes.cashout-24horas-authorization.auth-type=NONE
zuul.routes.cashout-24horas-authorization.allowed-methods=POST
this way it works in java 8 and java 11. Can someone explain to me why this problem
zuul.routes.cashout-24horas-auth-status.path=/c1/**
zuul.routes.cashout-24horas-auth-status.url=http://www.terra.com.br
zuul.routes.cashout-24horas-auth-status.auth-type=NONE
zuul.routes.cashout-24horas-auth-status.allowed-methods=GET
zuul.routes.cashout-24horas-authorization.path=/c2/**
zuul.routes.cashout-24horas-authorization.url=http://www.uol.com.br
zuul.routes.cashout-24horas-authorization.auth-type=NONE
zuul.routes.cashout-24horas-authorization.allowed-methods=GET

What version of Zuul are you using?

org.springframework.cloud
spring-cloud-starter-netflix-zuul
2.1.5.RELEASE

    <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-netflix-core</artifactId>
        <version>2.1.5.RELEASE</version>
    </dependency>

I don't believe Zuul 2 is part of that.

you mean that the  GE http request is not work?

What I mean is I think Zuul is not related to the failure here.  Also, Spring integrates with Zuul 1, which is no longer maintained.  We test with JDK 11  in our CI with Zuul 2.


Create proxy operation for add/remove proxy

Create proxy operations:

Create/remove proxy
Show validation error if proxy has no funds for network fee
The account schema is: my account ➝ (any, nonTransfer) proxied account ➝ add a new proxy for delegated to you wallet

DOD:

Update confirmation screens according doc

Status verification: ✅
What has been verified:

Create proxy operation
Remove proxy operation
Check that balance for deposit is enough
Check that balance for fee is enough
Check that this proxy already created


Updated minimum supported version of MySQL to 5.7

Documentation ticket: https://mattermost.atlassian.net/browse/MM-37737
Updated:

Install, Deploy, Upgrade, and Scale > Install Mattermost > Mattermost Server > Software and Hardware Requirements > Software Requirements > Server Software > Database Software

Updated MySQL minimum version to 5.7.12

@wiersgallak - This minimum MySQL version change works for customers on v6.0 of Mattermost, but it could easily be misleading for customers on older versions of Mattermost. This is particularly important since the product documentation isn't versioned but rather "latest".
For dependencies like this, providing both a v6.0 version and a v5.38 and earlier version of such details may be more useful and valuable across our customer base. Thoughts?


Simplify requires expression

std::derived_from<U, T> already returns true if T and U are the same type.

Nicely spotted. Thanks for this.


Manual page about Paul

On all manual pages about Paul the link to oowidgets manual is not correct.
https://htmlpreview.github.io/?https://raw.githubusercontent.com/mittelmark/oowidgets/master/oowidgets.html
an oowidgets is missing
https://htmlpreview.github.io/?https://raw.githubusercontent.com/mittelmark/oowidgets/master/oowidgets/oowidgets.html

Thanks for mentioning this. I think I fixed all the wrong oowidgets links for the Paul widgets, as far as I can see ...

Thank for quickly fixing the wrong links.  The issue can be closed.


LoadHtml() throws exception in Xamarin Forms app

I'm trying to use the nuget package in a .NET standard library 2.0 within a Xamarin Forms Android app.
Whenever I call the method: "document.LoadHtml(htmlString);", I get the following exception:
{System.Reflection.TargetException: Object of type 'NInterpret.InterpretedObject' doesn't match target type 'System.Collections.Generic.IEnumerable1[NInterpret.InterpretedObject]'   at NInterpret.Interpreter.interpretBlock (System.Object[] args, System.Object[] locals, Mono.Cecil.Cil.Instruction initialInstruction, Microsoft.FSharp.Collections.FSharpSet1[T] inTries, Microsoft.FSharp.Core.FSharpOption1[T] lastException) [0x0020c] in <5a7d38ec7eef0f2aa7450383ec387d5a>:0    at NInterpret.Interpreter.interpret (System.Object[] args) [0x00099] in <5a7d38ec7eef0f2aa7450383ec387d5a>:0    at NInterpret.Interpreter.callAMethod (NInterpret.AMethod m, NInterpret.AType[] ptypes, NInterpret.AType[] genericMethodArgs, System.Collections.Generic.Dictionary2[TKey,TValue] genericArgsIndex, System.Object[] args, System.Collections.Generic.List1[T] byRefArgs, Microsoft.FSharp.Core.FSharpOption1[T] byRefTarget, System.Object target, System.Boolean virtualCall) [0x00184] in <5a7d38ec7eef0f2aa7450383ec387d5a>:0
at NInterpret.Interpreter.callMethodReference (System.Collections.Generic.Dictionary2[TKey,TValue] gargs, Mono.Cecil.MethodReference ms, System.Boolean virtualCall) [0x00384] in <5a7d38ec7eef0f2aa7450383ec387d5a>:0    at NInterpret.Interpreter.interpretBlock (System.Object[] args, System.Object[] locals, Mono.Cecil.Cil.Instruction initialInstruction, Microsoft.FSharp.Collections.FSharpSet1[T] inTries, Microsoft.FSharp.Core.FSharpOption1[T] lastException) [0x03c6e] in <5a7d38ec7eef0f2aa7450383ec387d5a>:0    at NInterpret.Interpreter.interpretBlock (System.Object[] args, System.Object[] locals, Mono.Cecil.Cil.Instruction initialInstruction, Microsoft.FSharp.Collections.FSharpSet1[T] inTries, Microsoft.FSharp.Core.FSharpOption`1[T] lastException) [0x0013c] in <5a7d38ec7eef0f2aa7450383ec387d5a>:0 }
Was anyone else able to use it with Xamarin Forms?

Hello @janniksam ,
Seem to be the same error as here: https://stackoverflow.com/questions/49218577/htmldocument-load-throws-object-not-matched-exception-when-running-through-xamar
Do you think you could send us a project example with this issue?
We will try to look at it.
Best Regards,
Jonathan

It seems to be the same issue. I am also using the player.
I tried it without the nuget and with the latest source code directly, didn't help.
This is a cut part from my original project, please don't get mad by the chaos I created there.
ETFChecker.zip

For now I disabled the Live Player and its working, so thats a workaround for now.


RE: MSSQL Driver

Hi Team,
We followed this instruction https://github.com/Senzing/docker-compose-demo/blob/master/docs/docker-compose-rabbitmq-mssql/README.md to install senzing with MSSQL. But, we didn't receive mssql-tools and mssql folder in the folder and it throws error like the following screenshot. Please review it and support us. Thanks!

Looking at it.  Will be trying to recreate.

Hi Michael,
I followed all the above instructions and installed senzing and MSSQL driver. But it throws errors like the attachment., when i trying to connect mssql and not able to perform port forward in my local env.
We are using AWS REDHAT. Please review and support me/

@ryanbasile Do you know if this may be one of the famous RedHat networking issues?

Hi @vijayaramanr!
Are you running RHEL 7 or 8?

NAME="Red Hat Enterprise Linux"
VERSION="8.4 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.4"

Hi @vijayaramanr!
According to RedHat's site:

Docker is not supported in RHEL 8.

Reference:   https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/building_running_and_managing_containers/index#con_running-containers-without-docker_assembly_starting-with-containers

Yes Brian, But docker showing active status in above server

and review sending container status here

And same senzing with postgres is working well in the another server (same os and configuration)

Vijay,
Yes, I realize it "kind of" functions.  But it isn't supported and doesn't work for our docker images.  It doesn't matter which docker images you are using from Senzing, they won't work.
As Michael points out, even RedHat says docker is not supported on RedHat 8.

yes, Brian and Michael. Could you please share the steps to uninstall current docker, dockercompose and senzing and to install the senzing with MSSQL in Redhat8?

My Doubt is: I have another server for my development with REDHAT 8 and it's working fine. Am facing this issue in this server only.

Vijay,
We don't support it and RedHat doesn't support it.  You can try Docker's instructions for CentOS8 (https://docs.docker.com/engine/install/centos/)  but there is no certainty that will work.
If you want a Docker install that works then switch to CentOS/RHEL 7, Debian/Ubuntu, or Amazon Linux 2.

Okay, let us try this instruction and get back to you.

Thanks, Michael and Brian. We can close this ticket. We configured the senzing with docker in RHEL 7. Its working well for us. But we have to find the solution for RHEL 8

Thanks, Michael and Brian. We have created a new server with RHEL 7 and configured everything successfully. It's working well for us. But we have to find the solution for RHEL-8. We can close this ticket now. Thank you so much.


hello-canary.yaml

hello-canary.yaml
---This file also giving the same error-----
error: unable to recognize "deployments/hello-canary.yaml": no matches for kind "Deployment" in version "extensions/v1beta1" #14
on running the command ---> kubectl create -f deployments/hello-canary.yaml
Originally posted by @Shashwatsingh22 in https://github.com/googlecodelabs/orchestrate-with-kubernetes/pull/13#issuecomment-706432819

apiVersion: apps/v1
kind: Deployment
metadata:
name: hello-canary
spec:
replicas: 1
selector:
matchLabels:
app: hello
template:
metadata:
labels:
app: hello
track: canary
version: 2.0.0
spec:
containers:
- name: hello
image: kelseyhightower/hello:2.0.0
ports:
- name: http
containerPort: 80
- name: health
containerPort: 81
resources:
limits:
cpu: 0.2
memory: 10Mi
livenessProbe:
httpGet:
path: /healthz
port: 81
scheme: HTTP
initialDelaySeconds: 5
periodSeconds: 15
timeoutSeconds: 5
readinessProbe:
httpGet:
path: /readiness
port: 81
scheme: HTTP
initialDelaySeconds: 5
timeoutSeconds: 1


Issue weight and issue time stats are missing

The issue weight and issue time stats (including estimated and spent time) are missing the response model of the IssueClient.

@nmklotas This issue can be closed by the pull request https://github.com/nmklotas/GitLabApiClient/pull/13.

Thanks! Closing this.


Resolving Issue #151

Added support for storing character and account login date.

Added Table to DB Login(id, account_id, character_id, login_time)
Added Colum to Table Character (last_login)
Now the last character created or the last who joined the lobby is the one on the top in the selection screen

@Snaacky  I did not add the alembic file. Could you DM me so I can add it before merging?

This should solve issue #87 and #151

https://github.com/Snaacky/dndserver/assets/74472777/abd876c8-8f36-4602-b687-6a6fe59b8960


xterm: install desktop file and icon

Motivation for this change
xterm currently does not install it's desktop file or icon
Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

I fixed the commit message to match contributing guidelines.

Thanks!


How to open inner collapsible from outer one

Hi,
I try to use collapsible for help page.
That's why  I have some collapsible located 3 times inner.
I want to use first section of most outer  collapsible as index page to open inner collapsibles.
But I can open only the collapsible which members section. Cant open inner collapsible by clicking
Have you any idea or hint?
Regards,

I didn't test it by myself but I suspect that the collapsible is not well designed to achieve this effect, maybe you should edit the code to get it.


[Feature] Compatibility with Jade

Is it possible for this mod to be compatible with Jade. It is also a fork of HWYLA, if I am not wrong.

I never know till I try. But I don't have enough time.

No rush, maybe a future consideration for this amazing mod project!😊

I uploaded the Jade compatible version.
Your Reputation v0.2.0+jade.1.19


Fix issue #1640

Thanks @cosmomill for the PR - Do you mind signing your commit?
git commit --amend -s

@FrenchBen, sorry I don't work with commit signing.

no worries - the patch is more important, but it simply shows that this is your own work. PR is simple enough, but future PR should include the -s when you do git commit 👍


Show children count on collapsed objects

Similar to arrays, when an object is collapsed, the collapsed view should show the count of direct children.

@timriker
hey, I make your needs #241
close your issue~!


Add TUF Favicon

Covers issue #32
Not sure why the Favicon looks blurry. I generated from this image https://github.com/cncf/artwork/blob/main/projects/tuf/icon/color/tuf-icon-color.svg

Yeah, that looks kinda retro. 👾 Maybe @chalin knows how to fix this? FYI I tried a favicon.io doesn't seem to give a better result either. 🤷


Allow directory selection in Open dialog

This PR allows the user to select a directory from within the File > Open... dialog.
Directory-opening functionality is already available in MacVim (e.g. by dragging a folder onto the MacVim dock icon, or by supplying a directory path as the first argument when launching the MacVim executable from Terminal) – this PR merely gives the user a simpler method of achieving this.
N.B. Vim's default behavior when opening a directory is to use the built-in netrw plugin to open a buffer displaying the directory contents

Thanks for the quick turnaround!


kv package implementation feedback

[x] entry as string should not print dump as string
[x] verify that value can be empty without null
[x] postgres view on kv table to list keys as strings

Verified that inserting a null as inserting an empty value to bytea in postres are not the same.
We don't want to enable null for key or value.

Can we add tests for all of these cases?


scripts/utils/board_v1_to_v2.py: couple of fixes

While working on converting one of NXP's boards to v2, board_v1_to_v2 failed because of two python issues

variable 'copyright' was not set before being used
loading the yaml file failed

Has anyone else run into these issues?

@yvanderv please rebase.

Done.

please add a commit message explaining the changes

Yes, done.

What is the process we are following on this branch with respect to merging? I have general merge rights but I don't want to overstep this branch's process.


bug: when is a number not a number in the land of pulumi?

Describe the bug
The following error is thrown building our cluster....
View Live: https://app.pulumi.com/qdzlug/do-k8s/jaymara203/updates/2

 +  pulumi:pulumi:Stack do-k8s-jaymara203 creating
    digitalocean:index:KubernetesCluster do-jaymara203-cluster  error: digitalocean:index/kubernetesCluster:KubernetesCluster resource 'do-jaymara203-cluster' has a problem: Attribute must be a whole number, got 3. Examine values at 'KubernetesCluster.NodePool.NodeCount'.
 +  pulumi:pulumi:Stack do-k8s-jaymara203 created
    digitalocean:index:KubernetesCluster do-jaymara203-cluster **failed** 1 error

Diagnostics:
  digitalocean:index:KubernetesCluster (do-jaymara203-cluster):
    error: digitalocean:index/kubernetesCluster:KubernetesCluster resource 'do-jaymara203-cluster' has a problem: Attribute must be a whole number, got 3. Examine values at 'KubernetesCluster.NodePool.NodeCount'.

Resources:
    + 1 created

Duration: 2s

 stderr:

But looking at the config....
❯ pulumi config -C ./pulumi/python/infrastructure/digitalocean/container-registry
KEY                    VALUE
docean:instance_size   s-4vcpu-8gb
docean:k8s_version     1.22.12-do.0
docean:node_count      3
docean:region          sfo3
kic-helm:fqdn          mara203.docean.mantawang.com
kubernetes:infra_type  DO

To Reproduce
Steps to reproduce the behavior:

Deploy to DO, and include a integer for # of nodes.
Run  deployment.
Boom, as shown above...

Expected behavior
To work; if you remove the value from the config file and instead use the fallback in the code (which is also set to 3) things work as expected.
Your environment

automation-api branch, 58020d4f1177266d15e1333bb16414f235f3e253

Additional context
None

Fix is to force Pulumi to treat it as an int; so instead of Config.get you need to use Config.get_int.
Will be closed by #167


ENH: Update constants to CODATA 2022 recommendation

Is your feature request related to a problem? Please describe.
The current scipy.constants are still following the 2018 CODATA recommendation, which are out of date since the 2022 CODATA recommendation is published (24 May 2024). See https://physics.nist.gov/cuu/Constants/bibliography.html
Describe the solution you'd like.
Bump the scipy.constants module to use the 2022 CODATA recommentation by default, keep the 2018 version available.
Describe alternatives you've considered.
I see there are some reorganizations afoot regarding this module (i.e. PR #20430 and PR #20055), and I was wondering if the 2022 update need to wait for these PRs first. I'd like to help and add the update myself, but not if it is to be superseded soon ;) It seems to me that after the reorganization it will also be easier to update to 2022.
Please advise.
Additional context (e.g. screenshots, GIFs)
No response

cc @jakobjakobson13

I currently don´t have the time to work further the reorganization of the module but it should be an easy pull request.
That leaves however two issues outstanding: the recalculation of the exact constants and a possible reorganization of the module. The first one should be included as soon as possible in my opinion as the truncated values given in the ascii files are very inprecise whereas the latter one is less urgent and just provides a less bloated_constants.py file (at last if you are just moving the content of the files into dedicated files).


Always get the error 408 (vehicle is offline) when send to DOMAIN_INFOTAINMENT by signed_command API

I send the session_info_request cmd to the DOMAIN_INFOTAINMENT and DOMAIN_VEHICLE_SECURITY by the BLE, everything works.
But I send them by the Fleet API, the DOMAIN_VEHICLE_SECURITY works but the DOMAIN_INFOTAINMENT always failed:
API GET: /api/1/vehicles/xxxxx
{
    response =     {
        "access_type" = OWNER;
        state = online;
        vin = xxxx;
        .....
    };
}

Send >>>>>> VCSEC
<RoutableMessage 0x30314fac0>: {
    to_destination {
      domain: DOMAIN_VEHICLE_SECURITY
    }
    from_destination {
      routing_address: "\213\265I\234\312/\211\263\242\007\341b"
    }
    session_info_request {
      public_key: "\004\312w\000\345I\231\307\007Zlp;\221\201\314?\342m\016\016Is\277\223\305\243\205k$\374\010\215.\203 Yy\267\362\367#\006wj.M\025*\374VE\013k\"\243e\022s{\266.\277\003\245"
    }
}

API POST: /api/1/vehicles/xxxxx/signed_command
{
    response = "Mg4SDIu1SZzKL4mzogfhYjoCCAJ6XBJBBHy889d/Hy9m/wZ3km/KI3mzn8AQyDXMs1MxMdzDo+2Hqx2dqQ7O0juPMd/K7CKUtHX178jkIk9x82qiIic/xkQaEBHWpnnXa7+hL/NXoTy2hOclEwAAADAKaiQyIgogN8a43EIuoWI5c+luOPntI1vNoG3kCUS2ghaCL8oHuO0=";
}

Send >>>>>> Infotainment
<RoutableMessage 0x30314fac0>: {
    to_destination {
      domain: DOMAIN_INFOTAINMENT
    }
    from_destination {
      routing_address: "\030\003\340~./\3301\235pnp"
    }
    session_info_request {
      public_key: "\004\312w\000\345I\231\307\007Zlp;\221\201\314?\342m\016\016Is\277\223\305\243\205k$\374\010\215.\203 Yy\267\362\367#\006wj.M\025*\374VE\013k\"\243e\022s{\266.\277\003\245"
    }
}

API POST: /api/1/vehicles/xxxxx/signed_command (error: Error Domain=TeslaClientError Code=408 "(null)" UserInfo={NSLocalizedFailure=vehicle is offline})

I am sure the vehicle is online, I am in the car...

If you're able to reproduce, could you try (1) running tesla-control with -debug and (2) checking to see if the mobile app works over the Internet?

I will try it. But the command send to vcsec works by signed_command, I can unlock and open the door.
The commands to Infotainment domain failed.
By the way, my region is China, and the tesla host is https://fleet-api.prd.cn.vn.cloud.tesla.cn. I am not sure it is a bug for the china region.


Caching calls to tput into variables

We can now use $C4 instead of $(tput setaf 4), $C12 for color 12, etc.
I'm not sure if there's a difference between tput sgr0 and tput sgr 0 so each got their own variable (resp. CR and CS0).

Note: if both this PR and #454 are to be accepted, best to just merge #454 (as it already contains this commit).


[Draft] ast bus integration

@eunchan / @weicaiyang
can you guys have a look first?
The DV side will need to be addressed, instead of punting like i'm doing now.  What do you think Weicai? Should the force points just be connected to the module bondary?

ah that's a good suggestion. Let me see if CI passes this round and I can switch to that.

o i remember part of the reason i used port and not the module...was because i didn't want to assume where the module was.
For example if the module is 2 levels up in the hierarchy.  I don't know where to cleanly encode that in the hjson at the moment.

o i remember part of the reason i used port and not the module...was because i didn't want to assume where the module was.
For example if the module is 2 levels up in the hierarchy. I don't know where to cleanly encode that in the hjson at the moment.

yes, it will be easy to connect, but if ast isn't connected to top_earlgrey correctly, we may not catch it. perhaps assume "stub" module is in the dut level, or provide a path for stub module in hjson?

hmmm... i see what you mean. Can we maybe decide / discuss this in a separate PR?
Because in the future we might have this concept of "always on" subsystem.  So i feel like it's a somewhat related topic that when we have fabrics in different levels of hierarchy, what's the best way for DV to hook them altogether, and what information the design should provide to make that easy.

o i remember part of the reason i used port and not the module...was because i didn't want to assume where the module was.
For example if the module is 2 levels up in the hierarchy. I don't know where to cleanly encode that in the hjson at the moment.

yes, it will be easy to connect, but if ast isn't connected to top_earlgrey correctly, we may not catch it. perhaps assume "stub" module is in the dut level, or provide a path for stub module in hjson?

hmmm... i see what you mean. Can we maybe decide / discuss this in a separate PR?
Because in the future we might have this concept of "always on" subsystem. So i feel like it's a somewhat related topic that when we have fabrics in different levels of hierarchy, what's the best way for DV to hook them altogether, and what information the design should provide to make that easy.

sounds good.


fix(ProjectResource): now PathGlob supports deep searching and PathExclude is uses regexp.MatchString instead of filepath.Match

Coverage remained the same at 84.23% when pulling 1d7c1f89711972eddd8d01ca412ad64a83d715c5 on glob into d0f46ebb145a5fce76b02e7cc780861bcdd57c27 on master.


BLUE score

Thank you very much for your work. I tried to reproduce your paper according to the steps. After evaluating my results, the RougeL and Meteor indicators are similar to those in the paper, but my BLEU can only reach 19.6, which is far from enough. 21.75 in the paper, I would like to ask if this has happened to you? Or do you think there are any details that I didn't notice?

Thank you very much for your interest in this work. I guess you run this code on the SQuAD Zhou Split with MixQG-base. I recommend trying the operations/checks as follows:

Evaluate your result with sacreBLEU again. In my previous tests, this result fluctuated very little.
Test the zero-shot performance of MixQG. 19.6 is comparable with fine-tuned MixQG-base.

These experiments were conducted in many random seeds {0, 1, 2, 3, 42}. Small fluctuations is normal, but if the experimental conclusions is conflicted, please feel free to contact me with email. I'd like to solve your problems via QQ/WeChat/Tencent Metting/ or anything that is convenient for you to have a meeting/conversation.

Thank you very much for your interest in this work. I guess you run this code on the SQuAD Zhou Split with MixQG-base. I recommend trying the operations/checks as follows:

Evaluate your result with sacreBLEU again. In my previous tests, this result fluctuated very little.
Test the zero-shot performance of MixQG. 19.6 is comparable with fine-tuned MixQG-base.

These experiments were conducted in many random seeds {0, 1, 2, 3, 42}. Small fluctuations is normal, but if the experimental conclusions is conflicted, please feel free to contact me with email. I'd like to solve your problems via QQ/WeChat/Tencent Metting/ or anything that is convenient for you to have a meeting/conversation.

Thank you very much for your reply. I'm very sorry that I read the wrong value. The BLEU value shown in the paper is 21.24. I used the T5-base model to run the code on the SQuAD Zhou Split. I also used sacreBLEU for evaluation, but I don’t know why my test results have always been lower than 20.

What's your transformers version? Please use the version i wrote in the requirement.txt. And it's MultiFactor or only T5-base? You can evaluate the fine-tuned T5-base instead of MultiFactor(T5-base) firstly. Because of the limited information, maybe i could not answer your question exactly.


ChocoSolver backend

The backends.json file refers to a claferChocoIG.sh shell script in order to start the ChocoSolver backend.  However, it seems like the code at https://github.com/gsdlab/ClaferChocoIG does not contain such a shell script?

Yes, that is just an artifact coming from our internal deployment. It just contains
#!/bin/bash
java -jar ~/bin/claferchocoig-<IP_ADDRESS>-jar-with-dependencies.jar $@

I'll update the instructions to use java -jar directly.


How to read waymo Block-NeRF dataset?

I find that waymo Block-NeRF dataset has been provided here. I want to know how to parse these tfrecords.

Hi, thank you for your interest in the Block-NeRF dataset! We will add some more instructions to the website shortly. In the meantime, you can follow the example below:
files = tf.io.gfile.glob('waymo_block_nerf_mission_bay_validation.tfrecord*')
dataset = tf.data.TFRecordDataset(filenames=files, compression_type='GZIP')

iterator = dataset.as_numpy_iterator()

for entry in iterator:
  example = tf.train.Example()
  example.MergeFromString(entry)

  # Decode RGB image.
  img_data = example.features.feature['image'].bytes_list.value[0]
  rgb = tf.image.decode_png(img_data).numpy()
  print(rgb.shape)

  # Find other entries as described on the website.

Hello, I have some questions about the Mission Bay dataset. The original paper (Block NeRF) states that there are 12,000 images of the Mission Bay dataset, but it seems to be only 659 images of the released dataset. Are there any plans to release other remaining images?

Hi, you should find that the training split contains about 11,269 and the validation split contains about 576 images. Could you let me know how you counted the number of examples?

Hi @VincentCa ,
May I know how to get 360 degree images for any 1 frame from *.tfrecord? To be more precise, for a given frame I want the 8 camera (mounted on the top) images  and 4 camera (front) images.
Thanks.


Display membership roles in UI

Idea is to include it on the group members page https://karrot-dev.foodsaving.world/#/group/6/members

Stepping down from this because it seems to go into the wrong direction. My thinking is that we should allow group members to self-select roles that gives them certain rights and require explicit approval from other group members (one, some or all) if the action has big effects.

We realised we have some uncertainty about the approach to take with roles and permissions, and this task is a bit too concrete for now.


Add package 'ed' to Azure LI/VLI images

As the requirements of the package 'postfix' have changed with SR#280878 we need to add the package 'ed' to the Azure LI/VLI images to fulfill the dependency. See also bsc#1205457.

Do we know which package drags postfix into the images? We do not explicitly include postfix. The inclusion should be in the block of the package that brings postfix along for the ride. If it is fipscheck we're OK, but we should have a better commit message to indicate the dependency.

I don't know how postfix is dragged into the image. But the error message in bsc#1205457 lists "Solution 1: do not install patterns-sap-hana-15.4-150500.7.1.x86_64" so I assume one of the packages listed in the pattern has a dependency on postfix. The package postfix itself is not part of the pattern though.

I need to rework the PR, therefore closing this one and starting new.

I need to get more familiar with handling PRs :d'oh: reopening.

ed is required by postfix
postfix is required by libmilter1_0
libmilter1_0 is required by clamav
clamav is required by clamsap
clamsap is required by patterns-sap-hana


Arc Multicloud Connector

Models for Azure CLI extension arc-multicloud

@alexmahonic please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree company="Microsoft"

https://github.com/Azure/azure-cli-extensions/pull/7954


Gridmap does not display all children of a tile

Godot version:
v3.2.2.stable.official
OS/device including version:
Windows 10
Issue description:
The gridmap does not display all children of a tile. Only the first meshinstance is displayed, the rest is ignored.
Here is how the tiles scene looks:

There is one parent node, with two meshinstance children. The first child is a sphere, the second child a cube.
Here is how they look when used in a gridmap:

Notice how only the first meshinstance (sphere) is displayed.
Steps to reproduce:

Create tilemaps
Convert tilemap scene to meshlibrary
Use meshlibrary in gridmap

Minimal reproduction project:
Gridmap Bug.zip

Each item only contains one Mesh, this is intended. Should be part of the associated tutorial no?

Yeah, the tutorial doesn't really clarify it. It just tells you to download the demo and doesn't even show the basic meshlib tree. I'll transfer it to Godot docs, because it's intended behavior.
Also the Parent node is unnecessary. Your meshes should be directly under root.


Support User defined conversion

[Serializable]
    public class SharedHasHealthBase__Patched_: SharedVariable<HasHealthBase> {
        public static implicit operator SharedHasHealthBase(HasHealthBase value) { *//CH: that should be rewritten as SharedHasHealthBase__Patched_*
            return new SharedHasHealthBase { Value = value };
        }
    }

[ ] Duke from Discord


remove ELECTRIC_CURRENT_AMPERE device class declaration from Ah unit …

…registers
Since "Ah" is a unit of charge, not current, it's not appropriate to use the "current" device class.
This is to address the issue #86 that I just opened--I'm not quite sure if I got the syntax right.

Thanks for opening this PR.
I understand the issue.
The amerage unit was assigned due to the lack of Ah/mAh being a valid unit of measurement.
This is indeed incorrect.
However, instead of going to unit of measurement of type none I would rather add Ah/mAh as valid units of measurement to home assistant.
Therefore, I will keep this PR open as a backup but the main attempt will focus on getting:
https://github.com/home-assistant/core/pull/94730
Approved for the core repository.


Remove extra call to xcode-select

This is already called by our xcode-install gem during the install block of the xcode resource.

@crtfdgk,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


ux-redesign: VM Details > Nics Card (view only)

View only portion of #757
API changes:

Add API → internal transforms to capture more info about NICs
Add better api typing, mostly Nic based

Nic Card changes:

each Nic is listed on the card
the IPv4 and IPv6 addresses are shown below each Nic

Note: There may be a render issue when there are >4 Nics. The nic list may overflow the card. Not quite sure why yet.

@sjd78 could you please add screenshots?

could you please add screenshots?

When the PR docs are done, the issue is created, and it's ready to take a look at, I'll let you know.

@sjd78 great, thank you.

@sjd78 This looks awesome! What do you think about adding a small label to the IP and MAC addresses? Maybe just as simple as:
IP:x.x.x.x        MAC:aaaa:aaaa:aaaa:aaaa:aaaa

@lizsurette ...IPv6 does kinda look like a MAC address... :grin:
I put the IPv4 and the IPv6 addresses there.  We're ignoring MAC addresses in web-ui.
I could put labels in so it looks like:
    IPv4: <IP_ADDRESS>2    IPv6: fe80::21a:4aff:fe16:123

I don't have any strong feelings either way.

IPv6 does kinda look like a MAC address... 😁

LOL. Yep, whoops!

I could put labels in so it looks like:
IPv4: <IP_ADDRESS>2    IPv6: fe80::21a:4aff:fe16:123

I think that would look nice and just give a bit more detail. Although I'm sure the folks using these VMs will be smarter than I am :)

@lizsurette -- with labels:

@gregsheremeta, @bond95 - nudge for review
@lizsurette - how does the card look with the labels?


[FR]: Cache movie details in local database

Is there an existing issue for this?

[X] I have searched the existing issues

Related app
All - Android
Describe the problem
Cache movie and series details in local database to increase API requests and speed up accessing it.
Describe the solution
No response
Additional context
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Good idea. let's do it! 💪


Add Groups to Homematic IP

Description:
This PR adds HmIP Groups to Home-Assistant

SwitchGroups are added as switch with postfix Group
SecurityGroups are added as binary_sensorwith postfix SecuritySensor

Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#8594
Example entry for configuration.yaml (if applicable):
homematicip_cloud:
  - accesspoint: <STIN>
    authtoken: <token>
    enable_group_switches: true
    enable_group_sec_sensors : true

By default groups are disabled, and can be configured separatly.
Configuration is possible via config flow or via configuration.yaml.
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

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

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

@mxworm Hi Mattias, I added more HmIP-Groups to the component.
Please review the code.
Thanks in advance.

I would just add the group devices, there is no need to add the config options. For hassio users it might be even confusing - the have only the options to remove and add the platform again.
Thanks for your contribution!

@mxworm I know what you mean. I am thinking about this point quite some time know.
Question to @mxworm and @MartinHjelmare
Option 1: remove parameters to enable groups.
Option 2: switch to opt-out like osramlightfy does. If you don't want these groups the set the disable parameter in config.
What would you prefer?

Clear vote for option 1 - makes also the code a bit cleaner

Option 1  - even it adds a binary_sensor and a switch for each room

Ok, thats reason why i thought an option might be useful. I totally agree that removing these options makes the code a bit cleaner.
I took some time to add the options, but i am not unlucky to remove these options, because i learned a lot new things. I like to contribute, and i am very thankful for your feedback.

I removed the options.
@MartinHjelmare i hope you agree.
Thanks a lot

Looks better now. Thanks to @mxworm and @MartinHjelmare

@mxworm, @MartinHjelmare
Is there anything left I can do?

@mxworm?

Thanks a lot.


add is_half argument to extract_feature_print.py

PR type

Feature / Bug fix: add is_half argument to extract_feature_print.py

Description
Adds commandline argument is_half to extract_feature_print.py as the new last argument.
Fixes the problem of generating NaN when run on certain GPUs that lack proper fp16 support (e.g. my GTX1650)
Might break 3rd-party scripts.
Screenshot
An example output of the bug in action:
D:\MyPython\Retrieval-based-Voice-Conversion-WebUI/logs/mi-test
load model(s) from assets/hubert/hubert_base.pt
move model to cuda
all-feature-17
0_17.wav-contains nan
now-17,all-6,0_17.wav,(184, 768)
0_18.wav-contains nan
now-17,all-7,0_18.wav,(184, 768)
0_2.wav-contains nan
now-17,all-8,0_2.wav,(184, 768)
0_20.wav-contains nan
now-17,all-9,0_20.wav,(184, 768)
0_21.wav-contains nan
now-17,all-10,0_21.wav,(184, 768)
0_23.wav-contains nan
now-17,all-11,0_23.wav,(184, 768)
0_25.wav-contains nan
now-17,all-12,0_25.wav,(53, 768)
0_3.wav-contains nan
now-17,all-13,0_3.wav,(184, 768)
0_5.wav-contains nan
now-17,all-14,0_5.wav,(184, 768)
0_7.wav-contains nan
now-17,all-15,0_7.wav,(124, 768)
0_8.wav-contains nan
now-17,all-16,0_8.wav,(184, 768)
all-feature-done

Have you checked the extract_feature_print.py on devices that have not been half before?

This pull request will not change behavior when device is cpu or mps, they always have been full precision
As for fp32 vs fp16 on cuda unfortunately I only have GTX1650 on hand so I cannot test on proper fp16 gpus (since RTX20xx)

This pull request will not change behavior when device is cpu or mps, they always have been full precision

Yeah, i know

As for fp32 vs fp16 on cuda unfortunately I only have GTX1650 on hand so I cannot test on proper fp16 gpus (since RTX20xx)

It’s okay, thanks.


Terrain support?

Hi @lo-th
First, thank you for putting in the effort to port this awesome physics engine!  I will definitely be using this as my go-to physics engine for Three.js games.
I have some ideas for games that require terrain-shape support.  I would like to put in a feature request to add a terrain class.  Do you know this engine well enough to add it yourself, or, if not, do you think the original author would be able to add it?
I guess what would be needed is a simple 2-d array of vertex points that form a grid in the x-z plane.  The number of width (x) and depth (z) would be supplied by the developer.  Then, for each point a height value (y) is given by the developer.  This is where my knowledge gets thin.  I'm supposing a series of triangles would have to be made, storing a normal for each triangle.  Then, somehow every triangle would have to be tested against all spheres and/or boxes in the scene (using the existing sphere-plane and box-plane routines?)  Then the intersection point would have to be tested to be inside the triangle.  Finally, an impulse is added to the sphere/box like it would be for a plane, or floor (which is already a part of this engine).
Please let me know what you are willing/able to do with this request.  I could try to do one myself, but I don't see any point-in-triangle routines in the library as of yet.
Again, thanks for this wonderful project! :)
-Erich

@lo-th Hello, I've looked at your sphere terrain demo, but i didn't understand the concept...
Could you make a wiki page, or add some useful comments in tour code?
I've made the same thing, but without physics (here) and i would like to add physics to it.
Could you please help me (just give me a few explainations if you don't have much time😉) and give me a sort of "example code" ?
Thanks...