Updates to add annotations audit to docs site

On top of #13 to ensure the PR works well with the docs site.

Create and update index.md (toctrees)
Page headings and asset format updates

@pavithraes do you need to make updates to this PR now that Frank has finished #13

Pushed a couple of commits to address updates in Franks' PR. It's now ready to merge..


“Set Comm Device” no effect until ATAK restart?

After upgrading to the ui-for-smaller-screens branch, my Comm Device setting was lost, as indicated by the orange @ symbol. I set it again in the Devices tab, however that had no effect on the connection status, and the symbol remained orange. Repeating the “Set Comm Device” operation a few times made no difference.
The only way to get the connection to activate was to restart ATAK, which caused the device to be finally recognized and the symbol to turn green.
I was unable to reproduce the bug and was almost going to dismiss it a one-off glitch, but later it happened identically on two other phones, so it may be worth looking into.

This might fix it: https://github.com/paulmandal/atak-forwarder/pull/68
I'm heading out to go hiking so I can't test it yet, I will try it out this week though.

Good catch! Getting rid of the old configuration wasn't easy, but I finally managed to test it this morning and can confirm PR #68 fixes the issue for me.
I hope you enjoyed your hiking trip.

Thank you! I think this reconnect / restart service code needs to be added to the non-ATAK device configuring class, too. I will take care of that in the coming days.
As a tip for the future - if you change the KEY strings in StateStorage you can "clear" your config, I might also add a button to do that to the advanced menu.

Thanks, I'll keep this in mind. Quicker than a factory reset for sure. :)
On this subject, would you consider, as a low-priority task, saving the configuration in a human-readable format (XML or JSON), somewhere under /sdcard/atak - which seems to be the ATAK way of doing it?
It may help with ATAK backups and with migrating the configuration across devices.

I like that -- added it to my TODO list


add another note re. Share service deprecation

Reflects https://github.com/openmicroscopy/openmicroscopy/commit/9759e0c5cbaca1f32fbedbe0f3a498a135acc840.
Staged at https://www.openmicroscopy.org/site/support/omero5.3-staging/developers/Modules/Api.html#service-level-1-direct-database-and-hibernate-connections.

ROIService is also deprecated

Couple of very minor nitpicks, once they are sorted, I'm happy for this to be merged if you're happy too @jburel

few comments:

(switching groups etc). should be (switching groups etc.).
take opportunity to add description to ProjectionService i.e.  Provides methods for performing projections of Pixels sets.
Update service: remove delete from the description since it is now deprecated and not the recommended way to delete objects
OMERO.insight works almost exclusively with the IContainer interface maybe update to indicate that it mainly use the Java Gateway cc @dominikl

Huh, my --depends-on didn't work?

Maybe remove the link, we merge this PR and @dominikl will add the link in his PR

Okay: @dominikl please feel free to cherry-pick https://github.com/openmicroscopy/ome-documentation/commit/609b522cc2d6be196f1a6c8398aa38bcb3cae0d8

Thanks @mtbc .

Force-pushed last commits to remove conflicts with @dominikl's latest.

looks good thanks


Responsive Range-Slider Added!

🛠 Fixes Issue (#666 )
👨💻 Changes proposed

I have added a range slider project (HTML, CSS, javascript).

✅ Check List (Check all the applicable boxes)

[x] My code doesn't break any part of the project (Zero Octave-Javascript-Projects).
[x] This PR does not contain plagiarized content.
[x] My Addition/Changes works properly and matches the overall repo pattern.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

Fully responsive.
Good practice for JS learners.

📷 Screenshots

@Astrodevil Kindly review and merge it. Thank you.

Thank you @KiranAminPanjwani for taking out your valuable time in order to contribute to our project. Looking forward for more such amazing contributions :)

Shall I add my project to your website as well?✨

Check it first.

Check it first.

Okay


Feature Request: Stamina Resource Bar On Tokens

With the addition of temporary hit-point resource bar adding support for the stamina rule by adding a resource bar to the tokens would be nice. I have been using Bar Brawl to accomplish this at the moment but internal support would be nice.

Why not use the second bar for it?

Even built in, you could do this:

I'm a bit concerned about how the bar is going to look like if it splits 3 ways. Are you sure that's what you want?


PointCloud to Graph Protein Lifting (PointCloud to Graph)

This notebook shows how to import UniProt protein data and convert it to a graph using the PointCloudToGraph class. Proteins are represented as point clouds where each point is a residue in the protein, setting CarbonAlpha as its centers. The graph is created by connecting residues that are close to each other in the 3D space or that appear in a sequential order.
The point cloud 3D domain is lifted to a graph defining the edges between its nodes in the following way:
- Sequentialwise: Connecting residues that appear in a sequential order (one after another). This approach is based on the presence of peptide bonds, which link the amino acids in a protein chain in a specific sequence.
- KNN: Connecting residues that are close to each other in the 3D space. This approach is based on the physical proximity of the residues in the protein structure.

Hello @bertranMiquel! Thank you for your submission. As we near the end of the challenge, I am collecting participant info for the purpose of selecting and announcing winners. Please email me (or have one member of your team email me) at<EMAIL_ADDRESS>so I can share access to the voting form. In your email, please include:

your first and last name (as well as any other team members)
the title of the method you implemented
the input domain of the method you implemented
the output domain of the method you implemented
your pull request number (#42)

Before July 12, make sure that your submission respects all Submission Requirements laid out on the challenge page. Any submission that fails to meet this criteria will be automatically disqualified.

Hi Guillermo,
Answering to fulfill the submission requirements:

Name and last name of the participants: Bertran Miquel-Oliver, Manel
Gil-Sorribes, Alexis Molina, Victor Guallar (all of them in cc)
Title: PointCloud to Graph Protein Lifting
Input domain: PointCloud
Output domain: Graph
Pull request: #42
https://github.com/pyt-team/challenge-icml-2024/pull/42

Best,
Bertran

Message ID: @.***>


Feature Request: Ad-blocking && Copy image directly

Feature Requested
Hello!
1, this plug-in should be accompanied by the development of an ad blocking plug-in to be more meaningful, otherwise many of the existence of advertising sites basically can not be used.
2, if you can support right-click image copy and other browser right-click menu function that would be very good.
Relevant Screenshot
Hello!
1, this plug-in should be accompanied by the development of an ad blocking plug-in to be more meaningful, otherwise many of the existence of advertising sites basically can not be used.
2, if you can support right-click image copy and other browser right-click menu function that would be very good.
Checklist

[X] The feature would be useful to more users than just me.

For the first fr, it is hard to do it now, but i am working on building something similar to chrome extensions system. It should be long before it is available to users, maybe over six months.
For the second fr, it is doable, and if you really need to copy a image now, you can drag a image in surfing to your note.

The second feature: if the interaction is made the same as the browser that is the best, so as to meet the normal operating habits of people. Then you can reduce the use of the browser in the future, thus greatly improving productivity.

For the first function, no matter how difficult as long as you insist on developing, you will be able to succeed, if you can achieve this demand then this plug-in will be more meaningful. Otherwise it can still only go back to work in the browser.

The ideal solution to the first fr is to make possible to install or use existing Chrome or Firefox extensions. "uBlock Origin" is the king of adblockers, and no effort should be made in reinventing the wheel that it has mastered.
An acceptable backup plan would be to allow for converting extensions, using source code, to a format that Surfing can use.

The ideal solution to the first fr is to make possible to install or use existing Chrome or Firefox extensions. "uBlock Origin" is the king of adblockers, and no effort should be made in reinventing the wheel that it has mastered.
An acceptable backup plan would be to allow for converting extensions, using source code, to a format that Surfing can use.

This would be very acceptable, as it would allow for reproducible browser setups across teams, which fits my usecase.

For the first fr, it is hard to do it now, but i am working on building something similar to chrome extensions system. It should be long before it is available to users, maybe over six months.
For the second fr, it is doable, and if you really need to copy a image now, you can drag a image in surfing to your note.

I would really love to know if this is close to finished.


Use vi-mode with history-search?

General information

Please report the following information as possible as you can:

Terminal program:  Konsole (xterm-256color)
Operating system: Linux (6.4.9-arch1-1-g14 #1 SMP PREEMPT_DYNAMIC Thu, 10 Aug 2023 05:41:11 +0000 x86_64 GNU/Linux)
ZSH framework: oh-my-zsh master (d41ca84a)
ZSH version: zsh 5.9 (x86_64-pc-linux-gnu)
ZVM version: zsh-vi-mode 0.10.0

Basic examination

[x] I have read through the README page
[x] I have the latest version of zsh-vi-mode
[x] I have tested with another terminal program

Problem description
Using the standard zsh keybinds, when I type in the prompt and then press the up arrow, ZSH searches history for the most recent command which begins with the text already typed in the prompt. I use this at least five times a minute when coding for speeding up repetitive tasks or finding commands. When using vi-mode the up arrow, j in normal mode, and ctrl+p all find the last executed command without taking the prompt text into account. Is there a way to enable this?
Reproduction steps

Enable plugin
Type in the prompt
Press ctrl+p, up, or j in normal mode

Expected behavior
history-search is executed as in the normal input mode.

Best workaround right now is as written here.
Add this to your .zshrc
zvm_after_init_commands+=("bindkey '^[[A' up-line-or-search" "bindkey '^[[B' down-line-or-search")

If you want to use j and k instead you need to add -a to bindkey like so
zvm_after_init_commands+=("bindkey -a 'k' up-line-or-search" "bindkey -a 'j' down-line-or-search")

I got it working in normal mode with zvm_after_init_commands, however is it possible to achieve this in insert mode?


reduce cloudflare functions build size

💻 变更类型 | Change Type

[ ] feat
[ ] fix
[x] refactor
[ ] perf
[ ] style
[ ] test
[ ] docs
[x] ci
[ ] chore
[ ] build

🔀 变更说明 | Description of Change

fixed ClientApi constructor can not get QwenApi llm.
reduce cloudflare functions build size

📝 补充信息 | Additional Information

Summary by CodeRabbit

New Features

Introduced a JavaScript library for generating HMAC signatures using SHA-256, enhancing secure data transmission and integrity verification across applications.
Implemented a scalable API route handler for multiple AI service providers, improving interaction capabilities with various services.

Bug Fixes

Adjusted control flow in the ClientApi to prevent unintended outcomes, enhancing logic clarity and robustness.

Chores

Removed dependency on the hash.js library to streamline the project's dependency tree, potentially improving performance.

Refactor

Updated cryptographic utility functions to simplify HMAC signing and hashing processes, enhancing maintainability.
Restructured API endpoint functions for better modularity and clarity.

#5178


Replace x -> y with (x, y).

The "could not inline @inline-marked method ->$extension" message
is getting a bit old, and there's really no reason we need to be
using it.
For now, I left a few uses in the tests, but I would be happy to
remove those too.

:+1:


Avoid use of reflection-based deserialization in Java model

A reflection-based adapter is not as performant. Since Plank is aware of the type of every field, it can generate a TypeAdapter for each type and route each json element in the tree to the appropriate one.
https://github.com/pinterest/plank/issues/193
Also switched to using the Builder to generate the model, so that we don't have to manually hack the _bits field. We may have to revert that if we find there's a performance hit to calling setters+build instead of just setting variables directly.

@RicoYao Nice! For the setter concern it might be worth seeing what ProGuard does since it might perform that optimization for you?

@RicoYao Nice! For the setter concern it might be worth seeing what ProGuard does since it might perform that optimization for you?

@rahul-malik will do! Also, sorry, I pushed one more commit to the PR to avoid the unnecessary usage of TypeTokens for basic types.

@RicoYao - No worries, looks good. I'll merge when CI passes


Slack import: fix few message subtypes and show when files are downloaded.

Merged, thanks @rheaparekh!


Fixed example code

The original code has errors, maybe due to an older version of Docopt:
$ runhaskell test.hs

test.hs:19:15:
    Not in scope: ‘getArgOrDieWith’
    Perhaps you meant one of these:
      ‘getArgOrExitWith’ (imported from System.Console.Docopt),
      ‘getArgOrDie’ (line 19)

test.hs:22:11:
    Not in scope: ‘parseArgsOrDie’
    Perhaps you meant ‘parseArgsOrExit’ (imported from System.Console.Docopt)

test.hs:25:18:
    Not in scope: ‘getArgOrDieWith’
    Perhaps you meant one of these:
      ‘getArgOrExitWith’ (imported from System.Console.Docopt),
      ‘getArgOrDie’ (line 19)

test.hs:32:20:
    Not in scope: ‘getArgOrDieWith’
    Perhaps you meant one of these:
      ‘getArgOrExitWith’ (imported from System.Console.Docopt),
      ‘getArgOrDie’ (line 19)

I think it's the opposite. getArgOrDieWith is too new. The CHANGELOG says that renaming that function is still unreleased, so someone should decide between updating the documentation or updating the hackage package.

The README is up to date with that terminology. Closing.


Deprecate passing positional arguments to some Parameters

Following the discussion in #730.
I opened first https://github.com/holoviz/param/pull/737 where I deprecated passing any argument by position to any Parameter. Our ultimate goal being to allow to make default the only positional argument of all the Parameters.
I felt #737 was going over the top, most Parameters already allowed passing default first by position, there's really no need to annoy users with deprecating that, and I have to admit that this is very practical when developing Param itself:
class P(param.Parameterized):
    s = param.String('foo')  # very happy not to have to write `default=` there!

What we needed to do was:

for those Parameters that have default as their first argument, deprecate passing any additional arguments by position
for the other ones (ClassSelector has class_ first, Selector has objects first), deprecate passing any argument by position

So effectively to avoid the deprecation warnings users will have to write code like below, which will in practice mostly affect Selector and ClassSelector:
class P(param.Parameterized):
    s = param.String('foo')
    o = param.Selector(default=2, objects=[1, 2, 3])  # default cannot be yet passed by position for Selector
    c = param.ClassSelector(default=1, class_=int)  # idem

The plan suggested for the future:

Param 2.x: change the warning from ParamDeprecationWarning to ParamFutureWarning so that it's visible to all users.
Param 3.0: remove the _deprecate_positional_args decorator, so that an error is raised instead of a warning
Param 3.x: allow default to be passed as the only positional argument to Selector and ClassSelector

I'd say there should be at least 6 months between 1. and 2., and 6 months between 2. and 3.
This PR also allows to pass default by position to Dynamic, while before it could only have been passed by keyword.

Deprecating passing any additional arguments by position certainly doesn't seem like it would be a controversial change (to me at least!) and it makes it easier to make decisions about whether or not we want default as the sole-positional argument or not. Your plan sounds good to me!

Thanks! I completely agree that we should limit the number of positional arguments to at most one; anything else is too fragile and hard to read.
However, I guess I disagree about precisely what that positional argument should be. I think there should be one positional argument accepted if and only if there is a single meaningful value that would be sufficient to define that Parameter. To me, that's what positional arguments are best used for -- easily providing "the" argument that's needed. For the numeric and string types, the default value is that single, meaningful bit of configuration; param.Number(2.7) is often all you need to do to turn a fixed value 2.7 into a Parameter. Simple, obvious, concise!
Selector types also have one single meaningful bit of required configuration, but it isn't the default value, it's the range. If you specify the range (e.g. as a list), the default value can be implicit (currently the first item in the list). But if you specify the default value, then the range is still needed, and so I do not think it's appropriate to have the default value accepted as the single positional argument of a selector.
For instance, you can currently write c = param.Selector(["red","green","blue"]), and it's fine: c gets a value (red), c has a range defined, and if someone wants to change the default, just reorder the list. Simple, obvious (to me! :-) ), concise!
Whereas if a Selector had the default as a positional argument, the minimum sufficient specification for the parameter would be c = param.Selector("red", objects=["red","green","blue"]), which is duplicative and error prone (what if "red" isn't in the list"?), or colors = ["red","green","blue"]; c = param.Selector(colors[0], objects=colors), which is quite wordy and adds a new attribute, or c = param.Selector(objects=["red","green","blue"]), where the default is still implicit and the user is now required to learn and remember the keyword "objects".
For a ClassSelector I don't think the situation is as clear. A ClassSelector also has only a single meaningful required value (the class_), but there's no way to determine the default value in that case, so my guess is that in most uses of a ClassSelector both the default value and the class (range) need to be specified. So I could go either way for a ClassSelector; either accept the class_ as the only positional argument (on the theory that sometimes that's all that's needed), or don't accept anything as a positional argument (on the theory that nearly always both the default and the class are needed, negating any benefit of using positional arguments). Between these two possibilities I have very little opinon other than to break the tie by favoring whatever it already does, which currently is to accept the class_ as a required positional argument.
So that's what I think should happen: default as the one positional argument in nearly all cases, but the range as the one positional argument in the cases where the range is what's required.
Of course, a counterargument would be that most users won't neccessarily stop to think deeply about what's most meaningful, and that those users would best be served by having one simple, easy-to-remember rule "all Parameters accept up to one positional argument, the default value". In this view, even if the resulting syntax is wordier, duplicative, and error prone for the specific case of Selector types, that's outweighed by having a syntax that is more guessable and less error prone for users as they switch between multiple Parameter types.
If that's your argument, then I can grudgingly go along with it, if (a) you are very, very sure that the majority of our users would indeed make that guess, (b) the benefits outweigh the pain of having to deprecate the current behavior and move to the new behavior over several release cycles, and (c) we can realistically get to the point of realizing those benefits in a finite time. I'm dubious about all three, but especially (b) and (c).

Definitely a tricky topic but my gut feeling is that the value of a parameter (as explicitly set with default) is always the most important thing about any parameter regardless of any other wrinkles in semantics (which are associated with the more complex parameter types).
I see arguments both ways but I do think that having the default as the only positional argument will work well for the majority of usage of simple (literal) parameter types which imho are the most common (String, Number, Boolean etc).
This isn't a strong vote for changing things now, but I do think simple, consistent semantics here is a good API goal in the long term.

Ok, here's a proposal that I think is compatible with everyone's position above, at least in spirit:

Remove support for all positional parameters except for a possible first positional parameter default.
Only support default for cases where it is either already supported as t, or no other positional parameter is already supported and it makes sense to support default.

I.e., we'd remove all positional arguments unless the first positional argument was already default, and we would add a positional argument if and only if default makes sense for that Parameter and no other positional arguments are currently supported.
I'm proposing this because then people can safely use the shorthand of assuming the first positional argument is default. It's safe because either it's actually true (with default accepted), or it's not true for a particular Parameter type (e.g. Selector) but they'd get a useful error message saying that no positional arguments are allowed, instead of falsely accepting something other than the default as the positional argument.
What I do not think we should do is to accept a first positional argument of default for any Parameter type that currently accepts some other value in that location, such as Selector. I'd rather accept no positional arguments there than even have some plan to eventually accept default there in a way incompatible with current usage.

OK that's fine by me, as it's indeed what's been implemented in this PR. The only divergence with your plan and the one I suggested is on whether swapping the current first argument for default for a couple of Parameters should ever happen. Swapping those would anyway not happen before a couple of years (imagine someone bumping Param from now to a future where the first argument has been swapped, yuk), at which point we could have this discussion again, as in the meantime:

Maybe there will be more Parameters with a first argument for which default doesn't make sense
Maybe there will be less of such Parameters, or more likely more of the other kind
Users are going to learn more easily about which arguments are positional only or not, and maybe they'll ask for default to be the first argument everywhere
Users will write Param code and we will be able to observe how they construct Selector and ClassSelector params

On 4) and as a side note, I already write it this way and will keep doing so:
class P(Parameterized):
    s = param.Selector(default=2, objects=[1, 2, 3])
    c = param.ClassSelector(default=A(), class_=(A, B))

Thanks for unblocking this PR, merging!

For what it is worth, the behavior Jim describes does make good sense to me. Glad to see this merged!


Fix Gather and update py analysis

For #7075

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

public async postExecute(vscCell: IVscCell, _silent: boolean): Promise<void> {

Just use this flag instead.

Refers to: src/client/datascience/gather/gather.ts:52 in 0d9a022. [](commit_id = 0d9a0228d3e447ab201d3dd45f0feac3a50ca1af, deletion_comment = False)

        if (vscCell.data.source !== '') {

Check it on this line here.

Refers to: src/client/datascience/gather/gather.ts:55 in 0d9a022. [](commit_id = 0d9a0228d3e447ab201d3dd45f0feac3a50ca1af, deletion_comment = False)

Yes, using the silent flag is better.

Codecov Report

Merging #7539 into master will decrease coverage by 0.34%.
The diff coverage is 62.5%.

@@            Coverage Diff             @@
##           master    #7539      +/-   ##
==========================================
- Coverage   58.84%   58.49%   -0.35%
==========================================
  Files         492      492
  Lines       21821    21850      +29
  Branches     3500     3498       -2
==========================================
- Hits        12841    12782      -59
- Misses       8179     8258      +79
- Partials      801      810       +9

Impacted Files
Coverage Δ

src/client/datascience/jupyter/jupyterNotebook.ts
5.93% <ø> (ø)
:arrow_up:

.../datascience/interactive-common/interactiveBase.ts
6.25% <ø> (ø)
:arrow_up:

src/client/datascience/types.ts
100% <ø> (ø)
:arrow_up:

src/client/datascience/gather/gather.ts
67.92% <62.5%> (-1.17%)
:arrow_down:

src/client/testing/serviceRegistry.ts
48.64% <0%> (-46.85%)
:arrow_down:

src/client/testing/codeLenses/main.ts
44.44% <0%> (-33.34%)
:arrow_down:

...t/datascience/jupyter/jupyterDataRateLimitError.ts
66.66% <0%> (-33.34%)
:arrow_down:

src/client/formatters/serviceRegistry.ts
75% <0%> (-25%)
:arrow_down:

src/client/api.ts
62.5% <0%> (-25%)
:arrow_down:

src/client/common/utils/platform.ts
64.7% <0%> (-23.53%)
:arrow_down:

... and 18 more

Continue to review full report at Codecov.

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


Add kusama price component

This is related to #83
Where do you want to show kusama price?
Can I use coingecko api to get it? (Rate Limit: 100 requests/minute)
For now it looks like this (bottom right corner)

Hey @JKrupinski,
I would extend the Money component with a prop showFiatValue which would take fiat compatible argument for coingecko (it think eur / usd) .
Fiat value is important in the NFT detail.

@vikiival Do you mean extend<EMAIL_ADDRESS>component, add showFiatValue as a prop and import  in my KusamaPrice component? or am I wrong

@JKrupinski yup, I guess so.
I mean showing price without context doesn't make any sense, so having it next to the value of NFT would give most of contextual sense to me :)

@vikiival please review my code
it will look like this:


AMBARI-26248: Timeline Service Reader failed to start if hbase is not installed

What changes were proposed in this pull request?
Timeline Service Reader failed to start if hbase is not installed, because the  {stack_root}/{version}/usr/lib/hbase/bin/hbase-daemon.sh does not exist.
So, timeline reader should depend hbase client in the same node.
Details see: AMBARI-26248
How was this patch tested?
Manual testing
Please review Ambari Contributing Guide before opening a pull request.

After applying this changes. The startup log for Timeline Service Reader is shown below.
2024-12-09 14:39:01,695 - Starting HBase daemons
2024-12-09 14:39:01,696 - Execute['/usr/bigtop/3.3.0/usr/lib/hbase/bin/hbase-daemon.sh --config /etc/hadoop/conf/embedded-yarn-ats-hbase start master'] {'not_if': 'ambari-sudo.sh  -H -E test -f /var/run/hadoop-yarn-hbase/yarn-ats/hbase-yarn-ats-master.pid && ps -p `ambari-sudo.sh  -H -E cat /var/run/hadoop-yarn-hbase/yarn-ats/hbase-yarn-ats-master.pid` >/dev/null 2>&1', 'user': 'yarn-ats'}
2024-12-09 14:39:02,754 - Execute['/usr/bigtop/3.3.0/usr/lib/hbase/bin/hbase-daemon.sh --config /etc/hadoop/conf/embedded-yarn-ats-hbase start regionserver'] {'not_if': 'ambari-sudo.sh  -H -E test -f /var/run/hadoop-yarn-hbase/yarn-ats/hbase-yarn-ats-regionserver.pid && ps -p `ambari-sudo.sh  -H -E cat /var/run/hadoop-yarn-hbase/yarn-ats/hbase-yarn-ats-regionserver.pid` >/dev/null 2>&1', 'user': 'yarn-ats'}
2024-12-09 14:39:03,822 - Creating HBase tables


[Distributed] fix missing _remote func entry in TBD

Resolves rdar://82199717
Distributed actor functions seem to be missing from TBD, and hopefully this fixes it?

This reliably fails now with the issue of:

<unknown>:0: error: symbol '$s4test20SomeDistributedActorC5hello4nameS2S_tFTd' (super test.SomeDistributedActor.hello(name: Swift.String) -> Swift.String) is in generated IR file, but not in TBD file
<unknown>:0: error: symbol '$s4test20SomeDistributedActorC5hello4nameS2S_tFTdTu' (async function pointer to super test.SomeDistributedActor.hello(name: Swift.String) -> Swift.String) is in generated IR file, but not in TBD file

@swift-ci please smoke test and merge

@swift-ci please smoke test Linux


[Q]  Which operations communicate with server?

I am trying to reduce the frequency with which I get "rate limit exceeded" errors on hyperparameter sweeps. I am wondering which operations cause a communication with the wandb server. Am I right in assuming that it is only the functions that explicitly involve communication, like: wandb.log, wandb.init, wandb.save, and wandb.restore, or is it possible that there is some background communication that I am not aware of?

Hey Adam, I'll need double-check with the team on this. What I'd recommend as a workaround is to run your experiments offline and sync them with wandb sync


Not consistent with reality in Azure

In the video the workbook is shown from the Monitor Blade, but inside the monitor blade the workbooks dosent exists.
It alsy says that you can pin whatever you want to a dashboard to tailor whats most important to me, but thats not possible. You can only pin a shortcut to the entire workbook.

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

ID: bf379dd0-c5e9-73a6-e169-ec5a02a2df83
Version Independent ID: 38dd7d23-3e90-5bd4-22ff-667e19fdeade
Content: Monitor your backups with Backup Explorer - Azure Backup
Content Source: articles/backup/monitor-azure-backup-with-backup-explorer.md
Service: backup
GitHub Login: @v-amallick
Microsoft Alias: v-amallick

Hi @PolarbearChimney - thanks for reaching out. Yes, there have been some changes in the portal wherein the title of the blade is now backup explorer instead of generic Azure Monitor. We will add a note in the article to reflect the same.
On the 'pin to dashboard' question, you can select individual grids in explorer and pin those to the dashboard (examples in screenshot below). Let us know if you are facing issues on the same.

@PolarbearChimney - Sorry for the delay in getting back. We have updated the videos.
Closing this issue now.
Thanks!
#please-close


packer-rocm: test linting action(s)

Ansible linting now works, will re-submit on my collab account


remove all the onlink route flag usages

Pull Request Description
Describe what this PR does / why we need it
Does this pull request fix one issue?

Describe how you did it
Describe how to verify it
Special notes for reviews

Codecov Report

Merging #319 (b65361f) into main (f1170aa) will increase coverage by 0.40%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #319      +/-   ##
==========================================
+ Coverage   40.87%   41.28%   +0.40%
==========================================
  Files          41       41
  Lines        2686     2686
==========================================
+ Hits         1098     1109      +11
+ Misses       1468     1460       -8
+ Partials      120      117       -3

Flag
Coverage Δ

unittests
41.28% <ø> (+0.40%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/controllers/networking/quota_controller.go
84.00% <0.00%> (ø)

.../controllers/networking/subnetstatus_controller.go
95.91% <0.00%> (+4.08%)
:arrow_up:

pkg/controllers/networking/pod_ip_cache.go
47.43% <0.00%> (+5.12%)
:arrow_up:

pkg/controllers/networking/node_controller.go
82.75% <0.00%> (+5.17%)
:arrow_up:

...kg/controllers/networking/ipinstance_controller.go
92.59% <0.00%> (+7.40%)
:arrow_up:

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


Vlc doesn't show stream link

Hi
I want to extract the stream link from this address: "ustream.tv/channel/live-iss-stream" by using livestreamer, but vlc player always shows "fd://0" as the url and doesn't show the stream link. I use this command:
"livestreamer ustream.tv/channel/live-iss-stream worst"
vlc player opens and plays the stream but doesn't give stream link url and just shows fd://0.
How could i find the stream link such as rtmp or anyother stream type of that?
My system is windows and player is vlc.
Thank you

If you just want livestreamer to return the URL of the stream use the stream-url parameter

i tried that but gives this error:
"D:\Documents and Settings\BZ>livestreamer ustream.tv/channel/live-iss-stream worst --stream-url
error: The stream specified cannot be translated to a URL"
please say me how could i find the rtmp, rtsp, or anyother stream type of ustream.tv/channel/live-iss-stream.
i want to use the stream link such as rtmp,rtsp in my cellphone's player (e.g. mx player, vlc.)

The livestreamer command you posted works on my end. Which version of livestreamer are you using?

The lowest available quality (240p) on this channel is an UHS stream:
livestreamer "http://ustream.tv/channel/live-iss-stream" worst
[cli][info] Found matching plugin ustreamtv for URL http://ustream.tv/channel/live-iss-stream
[cli][info] Available streams: 240p (worst), 240p_alt_akamai, 480p+ (best), 480p+_alt_akamai, mobile_284p
[cli][info] Opening stream: 240p (uhs)

This streaming protocol is a combination of two different streaming protocols (RTMP and HTTP). It simply can not be translated into one URL. It should work properly with other streaming protocols such as HTTP Live Streaming (e.g. mobile_284p):
livestreamer "http://ustream.tv/channel/live-iss-stream" mobile_284p --stream-url
http://sjc-uhls-proxy02.ustream.tv/watch/playlist.m3u8?appType=103&appVersion=3&conn=wifi&cid=9408562&stream=viewer_240p&connectionId=oldurl-638c3c9b9b9eb71a4588295a98404624c9c87ddf&group=iphone

Thanks a lot 0880.
could you say please if someone needs 240p (uhs stream) how should he do to access to the uhs stream link? with what command he can access to that?

Ustreams own streaming protocol is way more complex than you think. The whole stream is splitted into a huge amount of chunks. They do their best to prevent access to their streams. You will have to use the Livestreamer application to access the 240p UHS stream. There is currently no other way around it.

livestreamer --stream-types hls --stream-url "http://ustream.tv/channel/live-iss-stream" best will return a HLS stream URL if it's available.


onError callback returns undefined

We are using Braintree Hosted Fields. I am seeing periodic instances of the onError callback returning an undefined function. Or, at least when I attempt to log the type and message from the error, I am getting undefined for both.
Example code from our setup file:
onError: function(event) {
  RS.braintree.displayErrorIfAny();
  RS.braintree.notify(event.type + ': ' + event.message, 'error');
},

// The RS.braintree calls our just calls to our custom JS to handle and log errors.

In this case, event.type and event.message are both coming across as undefined. Obviously, that doesn't give me much to go on when troubleshooting this issue. Have you seen this before and/or do you know what might be causing it?
This currently seems to be affecting maybe 2% of our customers. Of those, ~ 1/3 eventually end up completing their orders (likely through a simple refresh). The rate seems to have increased over just the last few days, so this is a growing concern.

Also, I don't believe this is a browser related issue. I've been logging user agents on these and they're fairly diverse. Though a disproportionately high number seem to be IE 11 and MS Edge, I'm also seeing this for users on Chrome (Desktop & Android) and Safari (OSX) as well.

This is an issue we've come across intermittently with Edge and Internet Explorer 11, and while we've seen it in other browsers, it seems to have been patched everywhere else.
Modern browsers use something called TCP preconnect to improve performance. This means the browser will often open a TCP connection with Braintree servers from your site before the user even fills out a form.
Because we have a timeout on our servers to avoid keeping open stale connections, these preconnections are often closed before the client actually needs to use them. In most browsers, they will simply reopen a new connection. Edge and IE11 have a bug where they try to reuse the already-closed connection. Because this connection has already been closed, our servers will respond with an HTTP 408 request timeout error.
We've reached out to Microsoft about this issue and are investigating potential workarounds—we'll keep you updated.

Excellent information, thanks. That does seem like it would explain the higher rate of Edge and IE11 users.
However, I had one instance of a user earlier in week who was using Chrome 48 and Safari 9 on a Mac. I can see in the logs that, between the two browsers, they attempted to reload the payment page 27 times. Unless I'm missing something, that seems like it would not be explained by the TCP preconnect issue.

You're right, the behavior you're seeing doesn't sound like the TCP preconnect issue. This is something that'd be easier for our support team<EMAIL_ADDRESS>to debug with some more information about your integration. We'll make sure to follow up with them as well!

@dougjohnston It looks like you've reached out to our support team. Is it alright if we close this issue? No problem if you'd like to keep it open.

@EvanHahn I haven't actually followed up with Braintree support yet, but I will. You can close this issue.

Sounds good! Feel free to reach back out if you need anything.


Warnings and information messages from wiki scripts

At the moment, the harvesting script spits out lots of "Info" messages. Once we are sure it works OK, I think we should probably tone it down so that only "warning" messages are shown by default. Info messages can be turned on using e.g. a -v/--verbosity flag.
I think we could possibly warn in case where we can't find an author string for an image. We could probably have another flag to turn off warnings (by convention, this is usually -q/--quiet, I think)

Done in #76


Overlays: cannot infer an appropriate lifetime for user defined elements

I was experimenting with the new overlays for the floating action button widget of my current project, but got stuck on some problem. The constructor of the widget was designed to take a user defined button and the underlaying element. The button is then rendered as an overlay over the underlaying element.
Like this:
FloatingButton::new(
    // The underlaying element
    Column::new(),
    // The floating button
    Button::new(&mut self.state, Text::new("Press Me!"))
        .on_press(Message::ButtonPressed),
)

The widget containing the underlaying element and the button is therefore the owner of the button. The button is then passed as a reference to the overlay element. This works pretty well, as long as it is an immutable reference. But the overlay element needs to have a mutable reference to be able to call the on_event function of the button.
If I pass a mutable reference, the compiler is unable to determine the lifetime of the reference(s) the button itself is holding.
Is there a way to solve this problem?
Code to reproduce this error
use iced_native::{
    button, event, overlay, Button, Clipboard, Element, Event, Layout, Length,
    layout::{Limits, Node}, Point, Rectangle, Widget
};

pub struct FloatingButtonOverlay<'a, Message, Renderer: iced_native::button::Renderer> {
    button: &'a mut Button<'a, Message, Renderer>,
}

impl<'a, Message, Renderer> FloatingButtonOverlay<'a, Message, Renderer>
where
    Message: Clone,
    Renderer: iced_native::button::Renderer
{
    pub fn new(button: &'a mut Button<'a, Message, Renderer>) -> Self
    {
        FloatingButtonOverlay { button }
    }

    pub fn overlay(
        self,
        position: Point,
    ) -> overlay::Element<'a, Message, Renderer>
    {
        overlay::Element::new(
            position,
            Box::new(self)
        )
    }
}

impl<'a, Message, Renderer> iced_native::Overlay<Message, Renderer>
    for FloatingButtonOverlay<'a, Message, Renderer>
where
    Message: Clone,
    Renderer: iced_native::button::Renderer,
{
    fn layout(&self, renderer: &Renderer, bounds: iced::Size, position: Point,) -> Node {todo!()}
    fn on_event(&mut self, event: Event, layout: Layout<'_>, cursor_position: Point,
        messages: &mut Vec<Message>, renderer: &Renderer, clipboard: Option<&dyn Clipboard>) -> event::Status {todo!()}
    fn draw(&self, renderer: &mut Renderer, defaults: &Renderer::Defaults,
        layout: Layout<'_>, cursor_position: Point) -> Renderer::Output {todo!()}
    fn hash_layout(&self, state: &mut iced_native::Hasher, position: Point) {todo!()}
}

pub struct FloatingButton<'a, Message, Renderer: button::Renderer> {
    underlay: Element<'a, Message, Renderer>,
    button: Button<'a, Message, Renderer>,
}

impl<'a, Message, Renderer> FloatingButton<'a, Message, Renderer>
where
    Message: Clone,
    Renderer: button::Renderer,
{
    pub fn new<U>(underlay: U, button: Button<'a, Message, Renderer>) -> Self
    where
        U: Into<Element<'a, Message, Renderer>>,
    {
        FloatingButton {
            underlay: underlay.into(),
            button
        }
    }
}

impl<'a, Message, Renderer> Widget<Message, Renderer>
    for FloatingButton<'a, Message, Renderer>
where
    Message: Clone,
    Renderer: button::Renderer,
{
    fn width(&self) -> Length { todo!() }
    fn height(&self) -> Length { todo!() }
    fn layout(&self, _: &Renderer, _: &Limits) -> Node { todo!() }
    fn draw(&self, _: &mut Renderer, _: &Renderer::Defaults,
        _: Layout<'_>, _: Point, _: &Rectangle) -> Renderer::Output { todo!() }
    fn hash_layout(&self, _: &mut iced_native::Hasher) { todo!() }

    // The problem occurs here
    fn overlay(&mut self, layout: Layout<'_>) -> Option<overlay::Element<'_, Message, Renderer>> {
        Some(
            FloatingButtonOverlay::new(&mut self.button)
                .overlay(Point::new(0.0, 0.0))
        )
    }
}

The exact error message
error[E0495]: cannot infer an appropriate lifetime for borrow expression due to conflicting requirements
  --> src/floating_button.rs:83:40
   |
83 |             FloatingButtonOverlay::new(&mut self.button)
   |                                        ^^^^^^^^^^^^^^^^
   |
note: first, the lifetime cannot outlive the anonymous lifetime #1 defined on the method body at 81:5...
  --> src/floating_button.rs:81:5
   |
81 |     fn overlay(&mut self, layout: Layout<'_>) -> Option<overlay::Element<'_, Message, Renderer>> {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: ...so that reference does not outlive borrowed content
  --> src/floating_button.rs:83:40
   |
83 |             FloatingButtonOverlay::new(&mut self.button)
   |                                        ^^^^^^^^^^^^^^^^
note: but, the lifetime must be valid for the lifetime `'a` as defined on the impl at 67:6...
  --> src/floating_button.rs:67:6
   |
67 | impl<'a, Message, Renderer> Widget<Message, Renderer>
   |      ^^
note: ...so that the expression is assignable
  --> src/floating_button.rs:83:40
   |
83 |             FloatingButtonOverlay::new(&mut self.button)
   |                                        ^^^^^^^^^^^^^^^^
   = note: expected `&mut iced_native::Button<'_, Message, Renderer>`
              found `&mut iced_native::Button<'a, Message, Renderer>`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0495`.

Does it work if you specify the lifetime for the return type of overlay ? ie:
Option<overlay::Element<'_, Message, Renderer>> => Option<overlay::Element<'a, Message, Renderer>>

Unfortunately not. The lifetime is given by the trait. I'm not allowed to change it (error[E0308]: method not compatible with trait). And changing the lifetime of the struct, at the impl, to an anonymous lifetime like this:
impl<'a, Message, Renderer> Widget<Message, Renderer> for FloatingButton<'a, Message, Renderer> => impl<Message, Renderer> Widget<Message, Renderer> for FloatingButton<'_, Message, Renderer>
would only create a new anonymous lifetime ("for each '_, a fresh lifetime is generated"), which is not the same as the anonymous lifetime of the trait. This resolves into the same error, but with a more confusing hint:
...
   = note: expected `&mut iced_native::Button<'_, Message, Renderer>`
              found `&mut iced_native::Button<'_, Message, Renderer>`

I went digging through PickList and Menu to try and work out why it works for those types and not you.
Does it work if you refactor FloatingButton to store references to underlay and button, instead of owning them? That way, they live as long as 'a stays valid, which (if you put it in your main code along with FloatingButton::new) should be long enough for the anonymous lifetime.
At least I think thats how PickList does it lol

The picklist is using some generic type T which implements ToOwned. Therefore, the data can be taken possession of when needed.
I agree with you. The FloatingButton widget should not be the owner of the button. Taking a reference to the button, would require to store it somewhere else with a minimum lifetime of the view. The only thing I can think of here is the application state. But this doesn't feel right. If the application state would be the owner of the button, it would need to have a reference to itself since it is also the owner of the button's state. This is somewhat difficult with rust.
Instead of the FloatingButton beeing the owner of the button, the overlay should be the owner. I have tried various solutions for this before, but unfortunately failed with all of them resolving in the same problem.
One of this solutions was to supply a function for lazy evaluation of the button. It failed because I was requesting a Fn(&mut button::State) -> Button<'a, Message, Renderer> with the lifetime of 'a. Changing it to an anomynous lifetime '_ like this: Fn(&mut button::State) -> Button<'_, Message, Renderer> was the solution here and the proplem is gone.
The constructor of the FloatingButton now looks a little bit different, but it works now.
FloatingButton::new(
    &mut button_state,
    content,
    |state| Button::new(state, Text::new("Press Me!"))
        .on_press(Message::ButtonPressed)
);

@twitchyliquid64 thank you verymuch for your time and your help! :)
This is the smallest, now working code example, for the case someone struggles on the same problem:
Working code example
I don't know if the additional Overlay struct is necessary here. At least the PickList has it too.
use iced_native::{
    Button, Clipboard, Element, Event, Layout, Length, Point, Rectangle,
    Size, Widget, button, event, layout::{Limits, Node}, overlay
};

pub struct FloatingButtonOverlay<'a, B, Message: Clone, Renderer: button::Renderer>
where
    B: Fn(&'a mut button::State) -> Button<'a, Message, Renderer>,
{
    state: &'a mut button::State,
    button: B,
}

impl<'a, B, Message, Renderer> FloatingButtonOverlay<'a, B, Message, Renderer>
where
    B: Fn(&mut button::State) -> Button<'_, Message, Renderer>,
    Message: Clone + 'a,
    Renderer: button::Renderer + 'a,
{
    pub fn new(
        state: &'a mut button::State,
        button: B,
    ) -> Self
    {
        FloatingButtonOverlay {
            state,
            button,
        }
    }

    pub fn overlay(
        self,
        position: Point,
    ) -> overlay::Element<'a, Message, Renderer>
    {
        overlay::Element::new(
            position,
            Box::new(Overlay::new(self))
        )
    }
}

struct Overlay<'a, Message, Renderer: button::Renderer> {
    button: Button<'a, Message, Renderer>,
}

impl<'a, Message, Renderer: button::Renderer> Overlay<'a, Message, Renderer>
where
    Message: 'a + Clone,
    Renderer: 'a,
{
    pub fn new<B>(floating_button: FloatingButtonOverlay<'a, B, Message, Renderer>) -> Self
    where
        B: Fn(&mut button::State) -> Button<'_, Message, Renderer>,
    {
        let FloatingButtonOverlay {
            state,
            button,
        } = floating_button;

        Self {
            button: button(state),
        }
    }
}

impl<'a, Message, Renderer> iced_native::Overlay<Message, Renderer>
    for Overlay<'a, Message, Renderer>
where
    Message: Clone + 'a,
    Renderer: button::Renderer + 'a,
{
    fn layout(&self, r: &Renderer, b: Size, p: Point) -> Node { todo!() }
    fn on_event(&mut self, e: Event, l: Layout<'_>, cp: Point,
        m: &mut Vec<Message>, r: &Renderer, c: Option<&dyn Clipboard>) -> event::Status { todo!() }
    fn draw(&self, r: &mut Renderer, d: &Renderer::Defaults, l: Layout<'_>,
        cp: Point) -> Renderer::Output { todo!() }
    fn hash_layout(&self, s: &mut iced_native::Hasher, p: Point) { todo!() }
}

pub struct FloatingButton<'a, B, Message, Renderer>
where
    B: Fn(&mut button::State) -> Button<'_, Message, Renderer>,
    Message: Clone,
    Renderer: button::Renderer,
{
    state: &'a mut button::State,
    underlay: Element<'a, Message, Renderer>,
    button: B,
}

impl<'a, B, Message, Renderer> FloatingButton<'a, B, Message, Renderer>
where
    B: Fn(&mut button::State) -> Button<'_, Message, Renderer>,
    Message: Clone,
    Renderer: button::Renderer,
{
    pub fn new<U>(state: &'a mut button::State, underlay: U, button: B) -> Self
    where
        U: Into<Element<'a, Message, Renderer>>,
    {
        FloatingButton {
            state,
            underlay: underlay.into(),
            button: button,
        }
    }
}

impl<'a, B, Message, Renderer> Widget<Message, Renderer>
    for FloatingButton<'a, B, Message, Renderer>
where
    B: 'a + Fn(&mut button::State) -> Button<'_, Message, Renderer>,
    Message: 'a + Clone,
    Renderer: 'a + button::Renderer,
{
    fn width(&self) -> Length { todo!() }
    fn height(&self) -> Length { todo!() }
    fn layout(&self, r: &Renderer, l: &Limits) -> Node { todo!() }
    fn on_event(&mut self, e: Event, l: Layout<'_>, cp: Point,
        m: &mut Vec<Message>, r: &Renderer, c: Option<&dyn Clipboard> ) -> event::Status { todo!() }
    fn draw(&self, r: &mut Renderer, d: &Renderer::Defaults, l: Layout<'_>,
        cp: Point, v: &Rectangle ) -> Renderer::Output { todo!() }
    fn hash_layout(&self, s: &mut iced_native::Hasher) { todo!() }

    fn overlay(&mut self, layout: Layout<'_>) -> Option<overlay::Element<'_, Message, Renderer>> {
        Some(
            FloatingButtonOverlay::new(
                &mut self.state,
                &self.button,
            )
            .overlay(Point::new(0.0, 0.0))
        )
    }
}

impl<'a, B, Message, Renderer> From<FloatingButton<'a, B, Message, Renderer>>
    for Element<'a, Message, Renderer>
where
    B: 'a + Fn(&mut button::State) -> Button<'_, Message, Renderer>,
    Message: 'a + Clone,
    Renderer: 'a + button::Renderer,
{
    fn from(fb: FloatingButton<'a, B, Message, Renderer>) -> Self {
        Element::new(fb)
    }
}


Upgrade to .Net Core 3.0.

DbQuery has been deprecated so I've moved he impl over to DbSet.

Glad the code was of use.
I should warn you however that I've encountered some anomalies in relation to collections which forced me to stop using this library.  I was in a hurry at the time and had to get some code out, so I unfortunately did not write a test for it.  If I get some time I'll try to re-create it, if I can I'll write just the test and submit a PR.


no cast_site command

Installed using the pip install catt. When I try to cast_site, I get:
catt cast_site https://en.wikipedia.org/wiki/Rickrolling
Usage: catt [OPTIONS] COMMAND [ARGS]...
Error: No such command "cast_site".
Please assist. Thank you.
P.S. I'm very new to Rpi.

Which version of catt are you using?

This is where the rookie comes in. Where or how do I find that? Thank you for responding.

Run catt --version.

No such version is is saying

I'm running Raspbian GNU/Linux 9 (stretch)

Can you paste the entire output?

Let me ask you this. How do you upgrade python 3.4? I have 2.7.13

I think you need to install a newer version of Raspbian, but I don't know. You need Python 3.5 to use catt.


VideoCapture not working with app local file

Running     implementation "androidx.camera:camera-core:1.1.0-alpha02"
Can work with phone's gallery just fine but when you try to use an app local file, it crashes with:
java.lang.IllegalArgumentException: Unknown URL file:///data/user/0/com.company.appname/files/VIDEO_20210228_161139.mp4
at android.content.ContentResolver.insert(ContentResolver.java:1831)
at androidx.camera.core.VideoCapture.initMediaMuxer(VideoCapture.java:1025)
This same file works fine with Exoplayer for example. Just not VideoCapture when you start recording. For example:
    val outputFileOptions = VideoCapture.OutputFileOptions.Builder(
        this.contentResolver,

//            MediaStore.Video.Media.EXTERNAL_CONTENT_URI, //Use this to save in normal Gallery
file.toUri(),
contentValues
).build()
...will cause a crash

Looks like you can use VideoCapture.OutputFileOptions.Builder(file).build() instead.


As a user, I want to easily access Verax documentation and website

Description
Updates the Explorer's homepage blocks to provide direct access to Verax documentation and website, improving user experience and accessibility to key resources.
Changes

Left block now links directly to the Developer Guide for attestation issuers
Right block now links to the Verax main landing page

Links

Resolves #781

Testing

Visit the Explorer's homepage
Verify left block's "Get Started" button links to: https://docs.ver.ax/verax-documentation/developer-guides/for-attestation-issuers
Verify right block's "Learn More" button links to: https://ver.ax

is it good or not? @alainncls

is it good or not? @alainncls

Just one change on the URL for the Verax website


Watershed delineation

I would like to use ravenpy for watershed delineation and I was wondering if it's a delineation tool or if it's just pulling out the basin to which my pour points belong? If it is a delineation tool, would it be possible to get the DEM/flow direction raster used? Is it from the hydrosheds products or some other source?

We`re only pulling the HydroSheds watershed upstream of the selected point.


Improve code reuse in api models

test this please

test this please

test this please

test this please

test this please

test this please

test this please

test this please

test this please

test this please

retest this please

test this please

test this please

retest this please

test this please

test this please

test this please

test this please

test this please

test this please

test this please

test this please

test this please


SPI: expand documentation

The current documentation is fine for the initial release, but it will need to be expanded as the design progresses.

This is now done with the new SPI block.


Customize the speed of animation

Hi,
First of all, thank you for this great library.
Everything is working smooth till now with this library. Just want to slow down the sliding up and sliding down animation of bottom sheet.
How can I change it?

Try using the springConfig prop.  I'm pretty sure you can use this for reference to help you out: https://software-mansion.github.io/react-native-reanimated/spring-utils.html


[ISSUE#8142] Show time of create topic and subScriptionGroup

execution time of create topic and subscription

Fixes #8142
show time of create topic and subScriptionGroup

add logs of execution time of create topic and subscription

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 42.86%.  Consider uploading reports for the commit 3b97617 to get more accurate results

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #8143      +/-   ##
=============================================
+ Coverage      42.83%   42.86%   +0.02%
- Complexity     10360    10362       +2
=============================================
  Files           1270     1270
  Lines          88690    88698       +8
  Branches       11401    11401
=============================================
+ Hits           37993    38023      +30
+ Misses         45995    45969      -26
- Partials        4702     4706       +4

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

ping @humkum Do you have any more suggestions？


Microsoft Json Rule Engine Custom Error Message

I am using the following library for json base rule engine. https://github.com/microsoft/RulesEngine
I want to concatenate property value into error message. I have a list of collection and I want to concatenate what item in the list satisfy the expression criteria.
{
        "RuleName": "CheckforVTPumpSelectionErrors121-03",
        "ErrorMessage": "WARNING: 121 - VT PUMP Manual Pick Required for {0} HP {1} pump!",
         "Expression": "ProductFamily.PumpConfigurations.Any(r => r.PumpDescription == \"Water Feature\" || r.PumpDescription == \"Transfer\") && Flag1 == false"
}

I want to replace {0} with horse power value.
My DTO:
public class ProductFamily
    {
        public int SCCR = 30;
        public List<PumpConfiguration> PumpConfigurations { get; set; }
    }

 public class PumpConfiguration
    {
        public PumpConfiguration()
        {
        }
        public string PumpDescription { get; internal set; }
        public int HP { get; internal set; }
    }

From stackoverflow

I think  current RulesEngine  have this implementation as Tested at https://github.com/microsoft/RulesEngine/blob/main/test/RulesEngine.UnitTest/BusinessRuleEngineTest.cs ::
Line Number : 325
Test Method:
public async Task RulesEngine_Execute_Rule_For_Nested_Rule_Params_Returns_Success(string ruleFileName)

Parsing value from list of expression in error message is not supported. you could loop your collection and call rulesEngine for each value.


Refs

After update the ref "geosuggestInput" does not work anymore. How can i get the input from outside to apply eg .focus().

That was not an official thing to use. But I just released 1.17.0 which adds a focus() endpoint for exactly that.


Use Flask Json cast

Changes:

Use the built in flask cast to json
Get rid of posie ref
Return a 400 on schema validation failure

How to test:

Check that invalid schema json against validate endpoint returns 400
Check "posie" doesn't appear in logs

Who can test
Anyone but @iwootten

Good to merge 👍


Add downloading_transiting_planet_data notebook

I'm currently working on a notebook (downloading_transiting_planet_data) to download data that MAST has on transiting exoplanets.
I have a few outstanding questions left (as noted in the notebook), but I think this is ready for review!

Link to ReviewNB

This is really coming along -- great job!

Did an initial more technical pass thru on NBPages but this is looking good! The only thing I anticipate is a little bit of dependency tinkering with the urllib package once you start working on your requirements.txt but other than that, this looks pretty much ready to go.

@arjunsavel, Could you give this one more round of polish, incorporating some of Julia's comments?


adjust the margin and padding of the search bar (see more detail in the comment)

change the margin-bottom of the h1 title from 24px to 12px and get rid of the margin-top of the title.
for the search bar, get rid of the margin-bottom, and reduce margin-top from 56px to 40px

So the search section would look like this:


[EVM-739]: Fix eth_feeHistory parsing of hex arguments

Description
eth_feeHistory rpc endpoint did not parse hex values for arguments blockCount and newestBlock.
Changes include

[x] Bugfix (non-breaking change that solves an issue)
[ ] Hotfix (change that solves an urgent issue, and requires immediate attention)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)

Checklist

[x] I have assigned this PR to myself
[x] I have added at least 1 reviewer
[x] I have added the relevant labels
[ ] I have updated the official documentation
[ ] I have added sufficient documentation in code

Testing

[x] I have tested this code with the official test suite
[x] I have tested this code manually

I have approved but I just saw that type feeHistoryResult struct does not have correct json annotations. Please put those before merge

@igorcrevar Done: https://github.com/0xPolygon/polygon-edge/pull/1725/commits/34599c7d6adbc7f894615237302df0bf9ee63ec4


Support locking with single node (without node-id) configuration

From martin.grotzke on January 25, 2012 21:30:22
This was requested/reported on the mailing list (http://groups.google.com/group/memcached-session-manager/browse_thread/thread/237168484a7b4217):

With a single node configuration (without node id) it's not possible to enable locking. If tried the following exception is thrown:

2012-01-23T22:49:09+00:00 app[web.2]: WARNING: Could not load session with
id 7A218E2E0D4569248686ADB855FEAE74 from memcached.
2012-01-23T22:49:09+00:00 app[web.2]: Jan 23, 2012 10:49:09 PM
de.javakaffee.web.msm.MemcachedSessionService loadFromMemcached
2012-01-23T22:49:09+00:00 app[web.2]:
java.lang.UnsupportedOperationException: Not supported for single node
configuration without node id.
2012-01-23T22:49:09+00:00 app[web.2]: at
de.javakaffee.web.msm.MemcachedSessionService.findSession(MemcachedSessionService.java:568)
2012-01-23T22:49:09+00:00 app[web.2]: at
de.javakaffee.web.msm.LockingStrategy.acquireLock(LockingStrategy.java:167)
2012-01-23T22:49:09+00:00 app[web.2]: at
de.javakaffee.web.msm.MemcachedSessionService.loadFromMemcached(MemcachedSessionService.java:998)
2012-01-23T22:49:09+00:00 app[web.2]: at
de.javakaffee.web.msm.LockingStrategy.lock(LockingStrategy.java:134)
2012-01-23T22:49:09+00:00 app[web.2]: at
de.javakaffee.web.msm.LockingStrategyAuto.onBeforeLoadFromMemcached(LockingStrategyAuto.java:133)
Original issue: http://code.google.com/p/memcached-session-manager/issues/detail?id=119

From martin.grotzke on January 25, 2012 13:00:26
Fixed, it's now possible to use session locking (lockingMode) also if no memcached node id is configured in single node setup.
Status: Fixed
Labels: Milestone-1.6.1


"No api token was provided." error on pull requests from forked repo

Bug report: I encounter "No api token was provided." error on Build And Deploy job when I make a pull request from my forked repository. azure_static_web_apps_api_token part has not been interpret. Full logs are below:

Question 1: Is it related with https://github.com/Azure/static-web-apps/issues/1 ?

Question 2: If the repo does not contain any api stuff, is there some way not to use api token functionality? For example, I tried to specify a dummy value on azure_static_web_apps_api_token as "AZURE_STATIC_WEB_APPS_API_TOKEN" but it generated "An invalid api token was provided." error. It would be also a good idea if a dummy special value (e.g., "DISABLE_API") is specified or an additional option (e.g., "is_api_use: false") is suggested to skip for api stuffs to trigger as optional (note: commenting api_location like "#api_location" didn't help not to show such an error unfortunately).

Build And Deploy 5s
15
Exiting
1
Run<EMAIL_ADDRESS>2
  with:
3
    repo_token: ***
4
    action: upload
5
    app_location: /
6
    api_location: api
7
    app_artifact_location: doc/build/html
8
/usr/bin/docker run --name cb09cf54574e284c3cb9e37f03ab8fbaa6_71713a --label 8118cb --workdir /github/workspace --rm -e INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN -e INPUT_REPO_TOKEN -e INPUT_ACTION -e INPUT_APP_LOCATION -e INPUT_API_LOCATION -e INPUT_APP_ARTIFACT_LOCATION -e INPUT_API_BUILD_COMMAND -e INPUT_APP_BUILD_COMMAND -e INPUT_ROUTES_LOCATION -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/contributon-2020/contributon-2020":"/github/workspace" 8118cb:09cf54574e284c3cb9e37f03ab8fbaa6
9
DeploymentId: 669d00e8-fb89-4d51-94ed-ba18a5745a45
10

11
No api token was provided.
12

13
For further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/en-us/azure/static-web-apps/
14
If you believe this behavior is unexpected, please raise a Github issue at https://github.com/azure/static-web-apps/issues/
15
Exiting

On the other hand, I see that it works well when I make a pull request from one branch to another on the same repo or there is a new commit on the repository. Please compare with the below log:
/usr/bin/docker run --name cbdcaa1a25bf7f4553a92c9efd1a2d6ce9_07866d --label 8118cb --workdir /github/workspace --rm -e INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN -e INPUT_REPO_TOKEN -e INPUT_ACTION -e INPUT_APP_LOCATION -e INPUT_API_LOCATION -e INPUT_APP_ARTIFACT_LOCATION -e INPUT_API_BUILD_COMMAND -e INPUT_APP_BUILD_COMMAND -e INPUT_ROUTES_LOCATION -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/contributon-2020/contributon-2020":"/github/workspace" 8118cb:dcaa1a25bf7f4553a92c9efd1a2d6ce9
10
DeploymentId: 44853027-87ec-4333-8aad-e8ea15b06b1d
11

12
App Directory Location: '/' was found.
13
[WARNING] Api Directory Location: 'api' could not be found. Azure Functions will not be created.
14
Starting to build app with Oryx
15
Azure Static Web Apps utilizes Oryx to build both static applications and Azure Functions. You can find more details on Oryx here: https://github.com/microsoft/Oryx
16
---Oryx build logs---
17

18

19
Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
20
You can report issues at https://github.com/Microsoft/Oryx/issues

...

Removing existing manifest file
97
Creating a manifest file...
98
Manifest file created.
99

100
Done in 15 sec(s).
101

102

103
---End of Oryx build logs---
104
Finished building app with Oryx
105
Zipping App Artifacts
106
Done Zipping App Artifacts
107
Either no Api directory was specified, or the specified directory was not found. Azure Functions will not be created.
108
Uploading build artifacts.
109
Finished Upload. Polling on deployment.
110
Status: InProgress. Time: 0.0899183(s)
111
Status: Succeeded. Time: 15.1601066(s)
112
Deployment Complete :)
113
Visit your site at: https://green-river-0b49fad1e-6.westus2.azurestaticapps.net
114
Thanks for using Azure Static Web Apps!
115
Exiting

Ah so this is the same as #1, and the api's here are actually referring to 2 different things. I see thats confusing!
So the api token its complaining about is the api token used to validate the Github Action with the content servers. This is added to your repo when you create the static web apps resource. When you fork a repo it does not copy the api token as well which is why you are seeing the error.
Whether your project contains an Azure Functions backend (the api folder the logs are talking about) wont affect whether the token is present or not.
We dont have a Portal experience around this today, but you can get your api token and manually add it to your Github repo as a secret, then you can use that secret in the workflow for your forked repo.
cc @ehamai as this is something we should discuss adding

Actually check out: https://github.com/Azure/static-web-apps/issues/131
Looks like Github Actions now allows this behavior, we have a fix coming out to handle this case. I'll post back here when it is out!

@miwebst Could you point me to resources on how to manually get the api token? I forked a repo and now I'm running into this issue during deploy, but couldn't find out how to get the token.

The fix is actually out for this (as of a few hours ago), is this behavior still happening?

Same here, just forked a repo and added a new static website in Azure. The connection is fine, i'm searching for the API token

So just to clarify, are you forking a repository and then creating a static web app against the newly forked repo?

Yes. The solution for me was to delete the .github/workflows folder and recreate the static web app

This is a slightly different scenario than above. If you fork a repository you will also copy over any GitHub Action workflow files with it. Our GitHub Action wont work correctly without a secret for deployment. This secret is stored in your repository secrets which wont be present on the forked repository so the action will always fail. Cleaning up the workflow file and recreating the Static Web App is probably the easiest thing to do.
If your workflow had a lot of configurations and you wanted to save them, there is a way to create the Static Web App without  modifying the workflow file or referenced secrets, but there is no UI experience for this today.

Closing this as the initial problem is now fixed, you can create a staging environment by creating a pull request from a forked repo.


Add lake formation style authorization: external table locations must…

… be a subfolder of the schema location.
@findepi
Hi Piotr,
I'm working on this pull request but I'm stuck on how to write the test. The FileHiveMetastore doesn't allow me to create a schema providing a location in the properties and if I try to create the schema in Java I got an error that I'm not in a transaction.

@amiorin would https://github.com/prestosql/presto/pull/1282 be helpful?

The FileHiveMetastore doesn't allow me to create a schema providing a location in the properties

every schema has a location (explicit or implicit), so you can define schema without one
also, FileHiveMetastore can be modified appropriately

lake formation style authorization: external table locations must be a subfolder of the schema location.

that sounds like a surprising constraint, and kind of removes the point of using table locations & external tables.
Please confirm that simply disabling creation of external tables is not what you want.
(direct subfolder, or subfolder of any depth?)

My 2 cents.
Hive compatibility is limiting Presto development IMO. I like the Drill approach to building a new metastore on top of Iceberg.

The FileHiveMetastore doesn't allow me to create a schema providing a location in the properties

every schema has a location (explicit or implicit), so you can define schema without one
also, FileHiveMetastore can be modified appropriately

I'll think about it.

lake formation style authorization: external table locations must be a subfolder of the schema location.

that sounds like a surprising constraint, and kind of removes the point of using table locations & external tables.
Please confirm that simply disabling creation of external tables is not what you want.
(direct subfolder, or subfolder of any depth?)

Simply disabling the creation of external tables is not what I want. From Lake Formation manual.

I've implemented use case 3. To implement use case 2 and 1, I need to alter the schema of HMS.
My plan is to have two Presto servers. One for queries and one for DDL statements. I'll fork the Hive connector and modify to achieve these goals:

Self-service create external tables.
Faster add and remove partitions with "alter table add partitions" and skipping the metastore and talking directly to MySQL.
Default permissions of create table that doesn't include grantable = true.

As in #3833, we are now evaluating to write an "admission controller" (the name comes from K8s) inside our Presto proxy. It will parse the query and reject queries that are not compliant. We don't need this PR anymore. Thank you for the review.


Could this repo supports Remirror?

As newbie in the prosemirror arena, I apologize in advance for not knowing the difference between the implementations on top of prosemirror from tiptap and remirror.
Is this plugin universal for prosemirror and thus can be added to a remirror project?

Hey @thesocialdev, in theory, any plugin made for tiptap can be made for remirror since they're both based on prosemirror. The question would be to just cast the logic so that remirror accepts it.


Disable current broken integration test (example and security)

Since Oz and Nathan are building a better framework, we have a plan to retire these anyway.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: hklai
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

prow/OWNERS [hklai]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hklai: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
0d9ce991b55939f59e1e3c5c6a9d5f4768721e15
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: hklai, yangminzhu
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

prow/OWNERS [hklai]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: costinm, hklai, yangminzhu
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

prow/OWNERS [costinm,hklai]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: costinm, hklai, kyessenov, yangminzhu
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

prow/OWNERS [costinm,hklai,kyessenov]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/test istio-unit-tests

@hklai: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
0d9ce991b55939f59e1e3c5c6a9d5f4768721e15
link
/test istio-unit-tests

prow/istio-presubmit.sh
0d9ce991b55939f59e1e3c5c6a9d5f4768721e15
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

error	failed to create test namespace: failed to create a role in the presubmit.
do we need to authorize ourselves on the new test cluster?

@hklai: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
0d9ce991b55939f59e1e3c5c6a9d5f4768721e15
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

New changes are detected. LGTM label has been removed.

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: costinm, hklai, kyessenov, wattli, yangminzhu
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

prow/OWNERS [costinm,hklai,kyessenov,wattli]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Merging this to unblock others. The presubmit job is now passing (images can be created).


Long time no see

Guess who..

Top corner of the first transaction sent to harold

Oh yeah when I was hijacked

P
You want any more evidence let me know .  Maybe the team can get time for little old me. I still got the pre paid card as well.
My wife's health wasn't working out she died in 2013 I had to leave to care for the woman I love family first.
I just want to help people nothing more.

My name is not on the list I'm a nobody who met the team and helped them the very night they know nothing about me ..  the last time I spoke to them they asked how will we know it's you.  After receiving the project I noticed some changes had to be done the changes were based on security.  Who ran network and how coins were distribution and the small block size so no hacker could overtake the blocks also no machine no matter how powerful can get two blocks in a row.  After that I got hit in the face with dust lol and said see ya later didn't expect the router to start screeming lol.  My fault for opening a email from a guy emaing my wife lol with the message what we spoke about.  So in a sense my wife who passed I believe got me involved.    Impressive was the message.  Am I the only one left from the team?


Implement modes

We want to load nmrium with different display options. Instead of sending all the preferences, it would be good to have this mapped on the wrapper side.

?mode=viewer
All the side panels need to be hidden, only the viewer is shown

?mode=analysis
The following panels need to be shown

?mode=analysis&panelWidth=100
Would be great if we can specify the width of the side panel in percentage

@CS76

?mode=viewer
All the side panels need to be hidden, only the viewer is shown

Would be great if we can specify the width of the side panel in percentage

we need to wait until the new release is published and for the second request I opened a new issue in NMRium

@CS76
?workspace=embedded
All the side panels need to be hidden, only the viewer is shown
if you did not pass workspace or ?workspace=default
side panels will be visible and The default panels will take the place

@hamed-musallam what's the final approach we have adopted ??

Needs to be tested when NMRium is updated to latest version.

Needs to be tested when NMRium is updated to latest version.

Current status in dev:
workspace mode:

1D multiple spectra analysis mode:

exercise mode: (settings button disappears)

prediction mode:

embedded mode:

Additionally, we want to have the chemical structures  accompanying all the spectra, so I guess it is better to have chemical structures panel active by default in all modes.

To be tested with the new NMRium release

@CS76
These are  labels, we should use these keys
default   =   simple NMR analysis
assignment = NMR spectra assignment
process1D = 1D multiple spectra analysis

@NRayya
I've tested it, and it functions as expected at https://nmriumdev.nmrxiv.org/?workspace=exercise. We have a set of predefined workspaces:

exercise
process1D
default
prediction
embedded
assignment
simulation

and we could add or update the preferences in the existing ones based on our needs


Copilot Chat can refer the whole source file but still doesn't have access to it

VS Code Version: 1.86.2
OS Version: Win 10.0.22621 (but using VS Code in Linux subsystem for Windows)
Copilot chat version: v0.13.2024020201 (pre-release) (I tried also latest released, no help)

I tried different ways:

Ctrl+A to select the whole file
context variable #file

But the result is always as in this screenshot

Most likely the file was not used due to being too long. Need to fix up the UX here
https://github.com/microsoft/vscode-copilot-release/issues/926


The call is ambiguous between the following methods or properties: 'foo()' and 'foo()'

Bug Description
We receive the following error message while trying to run function that has identical name on two different extensions.
The call is ambiguous between the following methods or properties: 'foo()' and 'foo()'
To Reproduce

Make Extension1

pageextension 50110 CustomerListExt extends "Customer List"
{
    procedure foo()
    begin

    end;

}

Make Extension2

pageextension 50111 CustomerListExt2 extends "Customer List"
{
    procedure foo()
    begin

    end;
}

Make Extension3 which depends on Extension1 and Extension2

pageextension 50112 CustomerListExt3 extends "Customer List"
{
    trigger OnOpenPage();
    begin
        foo();
    end;
}

Expected behavior
Here we created these extensions and control the naming, but if we have 3rd parties extensions, it might lead to some drama. In my view this is the gap in AL design. Design should prevent you from doing this or support it. Developer might one to execute both functions from both extensions:
pageextension 50112 CustomerListExt3 extends "Customer List"
{
    trigger OnOpenPage();
    begin
        Extension1.foo();
        Extension2.foo();
    end;
}

AL Language: 3.0.126610
Business Central: on prem CU3

Gintautas

Right now this is by design.
We are planing to make the closest symbol (in this example Foo() in your own extension will be found before the Foo() in the base). This will prevent adding a method to the base to break compilation of an extension to the table/page. That is expected to be in the October release.
This will not solve your case though. We will probably also support qualification in future as well. We don't have a timeline yet.

The AppSourceCop will also provide validation about it in the future, see #5255
Using affixes is a way to significantly decrease the likelihood of facing this kind of issues.


AssertionError in 'State_tsp.py'

When I'm run the 'run.py', there is always a assert error:
torch.is_tensor(key) or isinstance(key, slice)  # If tensor, idx all tensors by this tensor
please help me! Thanks!

Hi! Have you tried Python 3.8?

ooooooh!
It's python version error!
Thanks!


New crash!

This is not that easy to reproduce, but i get it to crash eventually if i try long enough.
It  happens when i group all 3 windows of a workspace together.
Than activate fullscreen, changegroupactive a few times and then finally togglegroup makes it crash.
As mentioned this is happening not every time, sometimes it does the first try, sometimes it takes a while.
coredump.log

Ok here are reproduction steps that make it crash every time (on my side at least):

start Hyprland
open 3 windows on the same workspace
group all of them together
fullscreen
3 x changegroupactive
2 x togglegroup
3 x changegroupactive
togglegroup

and it should crash.

Even easier:

start Hyprland
open two windows
togglegroup
2x changegroupactive
togglegroup
= crash


Fix issue caused by recent commits

Back into testing for this project and one of the latest commits has caused issues in relation to drawing upside-down and the display of the inventory.
To reproduce, go the the top of the well, and try to pick up the bag. This causes the game to freeze with the "inventory window" displayed, but no contents.
I've also seen it where pressing ENTER does not show the inventory and nothing can be picked up.

The commit a268149 fixed the game crashing when collecting the bag, likely related to disabling/enabling interrupts incorrectly


DOC: put API specification first

Current coverage is 82.22% (diff: 100%)

Merging #621 into master will not change coverage

@@             master       #621   diff @@
==========================================
  Files            20         20
  Lines          4332       4332
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           3562       3562
  Misses          770        770
  Partials          0          0

Powered by Codecov. Last update ca66832...d287c82

Would you mind removing the whitespace changes to the ChainMap section? They would create needless merge conflicts with #619.

But this one passes tests, #619 does not :smiling_imp:


Not able to mock readJSON

Expected Behavior
def resultJSON = ''
try {
resultJSON = readJSON text: scriptResult?.trim()
} catch (ex) {
echo 'The response is may not be in JSON format/No error received. \n Exception received trying to parse result as JSON : ' + ex
}
I am trying to mock  the readJSON and get resultJSON populated with some value.
String resTxt = "testString"
String resTxt = "{'test':'value'}"
getPipelineMock("readJSON").call(["[text:'test value']"]) >> { return resTxt}
or
getPipelineMock("readJSON").call(["{'test':'value'}"]) >> { return resTxt}
or any other value even line below....
getPipelineMock("readJSON").call([[text:null]]) >> { return resTxt}
should be returning a value provided with return statement or should throw an exception.
Actual Behavior
Below block is seen anyways.
And nothing is returned.
17:01:32.221 [main] DEBUG com.homeaway.devtools.jenkins.testing.JenkinsPipelineSpecification - TEST FIXTURE intercepted & redirected a call:
Test         : class com.homeaway.devtools.jenkins.testing.JenkinsPipelineSpecification
Note         : pipeline step
Via<EMAIL_ADDRESS>(types)  : queryWebUrl.methodMissing
Invocation   : queryWebUrl@6917bb4.readJSON([[text:null]])
(types)  : queryWebUrl.readJSON(Object[])
Forwarded To : Mock for type 'Closure' named 'getPipelineMock("readJSON")'.call([text:null])
(types)  : Closure$$EnhancerByCGLIB$$94f4fb1c.call(LinkedHashMap)

The mocking will look for an exact match of the arguments passed in. It has to be a map (AFAIK), not a string-ified object such as your first two examples. Here's an example that I have working with a readJSONmock.
getPipelineMock("readJSON")([text: 'contents-of-scriptResult']) >> mockReturnValue


Editing Bills and Cash Flow Support

What's the problem this is trying to solve:
Sometimes a bill has flaws, and the process of correcting this mistake is tough
What do you propose to solve this problem:
The ability to edit a bill and this change reflecting on the whole cash flow table

The hardest thing so far is handling the sync process where there are updates


Can this package be used outside of WemX?

Lets say I want to use Pterodactyl with my own Authentik instance with this addon, can I? Or am I allowed to do so?

Not sure if you got your answer, but you should've asked on our Discord Server. You probably won't be able to, but you are allowed to make it yourself if you can


How to move locally saved emails

Hello everyone am wondering how to move local saved emails to Sent folder .. Am sending emails using SMTP but I can’t find them on sent folder when i access mail through web

I'am using PHPmailer to send email, try appendMessage method:
            $mailToImap->preSend();
            $message = $mailToImap->GetSentMIMEMessage();

            ...
            $mailAccount->appendMessage($message);


New version includes all files

PLATFORM.moduleName() is processed at build time.
The plugin has source code like this:
 useCheckbox(): ConfigBuilder {
    this.globalResources.push(PLATFORM.moduleName('./checkbox/checkbox'));
    return this;
  }

but this does not prevent './checkbox/checkbox' from being included in the final bundle since the call to PLATFORM.moduleName() is processed at build time.
I am not sure what the point of configuration is if all the resources are included anyway...

Right, what's the point..? Unfortunately I never documented my explanation for that decision and now I forgot the details. That's a mistake I'll try not to do ever again. 😃
As far as I remember, there are three alternative approaches to this problem, two of them leading to the state where everything is bundled. The third had the implication that we would have to change the infrastructure of this project completely to both support run-time configuration (SystemJS/requirejs) and build-time configuration (webpack).
If you have any idea how to solve this problem, it would be greatly appreciated.
Naive example: what if we would configure an additional file which only webpack users would import? That file could f.i. use ModuleDependenciesPlugin to define dependencies and as default provide everything.
I'm not a webpack expert so I'm not sure if this would work at all. The file should be ignored if you don't want to import everything. This would at least provide a choice.
I have another problem with that kind of configuration:
Materialize itself is not modular. You get the complete thing regardless of what you do. So is it worth the effort?

 It allows you to optionally include resources in the bundle.
For example, look at this line:
https://github.com/aurelia/framework/blob/master/src/framework-configuration.js#L315
You could probably just hook into one of the aurelia frameworks methods actually. I realize the devil is in the details (as it always is) but just thought I would throw out the suggestion =).
I am kind of busy over the next week but if you want I could try and create a pull request at some point (although it would probably be more difficult for me since I am not too familiar with the aurelia-materialize-bridge source).

since I am not too familiar with the aurelia-materialize-bridge source

That shouldn't be a problem, we can always work on that part. 😏
One difference that I see with the framework's approach is that they load different modules (packages) depending on the configuration. These are modules the user would have to add to the webpack bundle.
Materialize bridge is one single module.
IMO that's a significant difference since you can easily "not include" a module in a bundle.
But I'm curious what your PR will contain. Maybe I misunderstood something. 😃

@ Thanood I believe that when you make the call to PLATFORM.moduleName('foo') that creates a webpack module. In any case, I can try and submit something over the next 2 weeks to a month I guess.

If you want to, please do so. I'm always happy for some webpack insights. :smiley:

I believe that when you make the call to PLATFORM.moduleName('foo') that creates a webpack module

True, but it doesn't work dynamically.
The first version had a .map(m => PLATFORM.moduleName(m)) of the config's result. But that doesn't work since webpack (of course) doesn't evaluate that expression at build time.
(but, strange enough, it worked for custom elements, just not attributes)
I think the only way to do this is via ModuleDependenciesPlugin or creating one module for each element and have users actively import the module they want in their code.
The idea with the second approach is that webpack will scan that import at build time and only include dependencies which are used.