monailabel not installable after uv 0.2.3

uv 0.2.3 and later cannot install monailabel, but 0.2.2 and earlier can. It is still installable with pip.

Minimum reproducible example:

Create new environment
Try to install monailabel

$ conda create --name demo python=3.11

$ conda activate demo

$ uv pip install --dry-run --verbose monailabel
DEBUG Searching for Python interpreter in virtual environments
DEBUG Found CPython 3.11.9 at `/opt/homebrew/Caskroom/mambaforge/base/envs/demo/bin/python3` (conda prefix)
DEBUG Using Python 3.11.9 environment at /opt/homebrew/Caskroom/mambaforge/base/envs/demo/bin/python3
DEBUG Acquired lock for `/opt/homebrew/Caskroom/mambaforge/base/envs/demo`
DEBUG At least one requirement is not satisfied: monailabel
DEBUG Using request timeout of 30s
DEBUG Solving with installed Python version: 3.11.9
DEBUG Adding direct dependency: monailabel*
DEBUG Found fresh response for: https://pypi.org/simple/monailabel/
DEBUG Searching for a compatible version of monailabel (*)
DEBUG No compatible version found for: monailabel
  × No solution found when resolving dependencies:
  ╰─▶ Because there are no versions of monailabel and you require monailabel, we can conclude that the requirements are unsatisfiable.

$ pip install --dry-run monailabel  # successfully installs

Attempting to specify the version to install doesn't work either
$ uv pip install --dry-run monailabel==0.8.3
  × No solution found when resolving dependencies:
  ╰─▶ Because there is no version of monailabel==0.8.3 and you require monailabel==0.8.3, we can conclude that the requirements are unsatisfiable.

$ uv pip install --dry-run monailabel==0.8.2
  × No solution found when resolving dependencies:
  ╰─▶ Because there is no version of monailabel==0.8.2 and you require monailabel==0.8.2, we can conclude that the requirements are unsatisfiable.

$ uv pip install --dry-run monailabel==0.8.0
  × No solution found when resolving dependencies:
  ╰─▶ Because there is no version of monailabel==0.8.0 and you require monailabel==0.8.0, we can conclude that the requirements are unsatisfiable.

Current uv platform: macOS installed with brew. I've also observed this on Linux-based Docker images where uv is installed with pip.
Current uv version: 0.2.10.

Huh thanks for the report that's very weird.

❯ RUST_LOG=uv=trace uv pip install --dry-run --verbose monailabel
DEBUG Searching for Python interpreter in virtual environments
TRACE Cached interpreter info for Python 3.12.3, skipping probing: .venv/bin/python3
DEBUG Found CPython 3.12.3 at `/Users/zb/workspace/uv/.venv/bin/python3` (virtual environment)
DEBUG Using Python 3.12.3 environment at .venv/bin/python3
TRACE Checking lock for `.venv`
DEBUG Acquired lock for `.venv`
DEBUG At least one requirement is not satisfied: monailabel
DEBUG Using request timeout of 30s
DEBUG Solving with installed Python version: 3.12.3
DEBUG Adding direct dependency: monailabel*
TRACE Fetching metadata for monailabel from https://pypi.org/simple/monailabel/
TRACE No cache entry exists for /Users/zb/Library/Caches/uv/simple-v8/pypi/monailabel.rkyv
DEBUG No cache entry for: https://pypi.org/simple/monailabel/
TRACE Sending fresh GET request for https://pypi.org/simple/monailabel/
TRACE Handling request for https://pypi.org/simple/monailabel/
TRACE Request for https://pypi.org/simple/monailabel/ is unauthenticated, checking cache
TRACE No credentials in cache for URL https://pypi.org/simple/monailabel/
TRACE Attempting unauthenticated request for https://pypi.org/simple/monailabel/
TRACE cached request https://pypi.org/simple/monailabel/ is storable because its response has a 'public' cache-control directive
TRACE Received package metadata for: monailabel
TRACE selecting candidate for package monailabel with range Range { segments: [(Unbounded, Unbounded)] } with 0 remote versions
TRACE exhausted all candidates for package PackageName("monailabel") with range Range { segments: [(Unbounded, Unbounded)] } after 0 steps
DEBUG Searching for a compatible version of monailabel (*)
TRACE selecting candidate for package monailabel with range Range { segments: [(Unbounded, Unbounded)] } with 0 remote versions
TRACE exhausted all candidates for package PackageName("monailabel") with range Range { segments: [(Unbounded, Unbounded)] } after 0 steps
DEBUG No compatible version found for: monailabel
  × No solution found when resolving dependencies:
  ╰─▶ Because there are no versions of monailabel and you require monailabel, we can conclude that the requirements are unsatisfiable.

https://pypi.org/simple/monailabel/ shows packages...

I can take a look.

Probably something to do with all of the versions having a build tag.


Background color tearing when resizing window

Describe the bug
The background color of top level control of window has tearing effect when the user drags the window to resize.
If you create default WINUI3 app in visual studio then change top level child control of the MainWindow.xaml to Grid and set background color non-transparent color (ex. red).
Then start app and drag the window to resize. You will see that the border on the right side is white. Like the grid object is not adapting quick enough.
Steps to reproduce the bug
// USING DEFAULT WINUI3 APP TEMPLATE.
// CHANGED TOP LEVEL CONTROL TO GRID AND SET BACKGROUND COLOR. BELOW IS ONLY CODE MainWindow.xaml CONTAINS.
<Grid Background="Red">
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
            <Button x:Name="myButton" Click="myButton_Click">Click Me</Button>
        </StackPanel>
    </Grid>

Expected behavior
No response
Screenshots
Screenshot of issue.
https://1drv.ms/v/s!AmXfyJ0hgFGtgcNm1Z0xWvZnQDatCw?e=zdmLpq
NuGet package version
WinUI 3 - Windows App SDK 1.2.2: 1.2.221209.1
Windows version
Windows 11 (21H2): Build 22000
Additional context
No response

The WinUI3 Gallery App doesn't seem to have this problem, but I can't figure out how to fix it in non UWP app.

Just to ask, is this what you mean?
https://user-images.githubusercontent.com/52577874/212414863-15f63e61-03b9-4343-bcd5-9d216ab34f2e.mp4
If so, then this is a difficult problem to deal with because of what needs to be done on a resize. What's more, a resize like that is normally made up of several small resize operations and each of them can do some very heavy things.


CAMEL-29297: do not swallow interrupted exceptions

Marking as a draft. I need to review test results on my CI.


Add open url command

Add an open command to allow opening the main domain or the test domain (if active) in the default browser.
I will happily redo it when version 2 of ploi-cli is released

Thank you very much for the PR!
I'll probably update the command on my own for the v2 release, but really appreciate your help!

Happy to help. I'm just happy to help. Love the cli. I use it daily. If I get any other ideas I will add a new pr


Package.activateResources is deprecated.

The context menu CSON format has changed. Please see
https://atom.io/docs/api/latest/ContextMenuManager

@Jamestt any idea if this is the 1.0 API or if there will be more changes?

Hey ilanbiala, no not sure i reinstalled ubuntu yesterday to clean out the computer


Hotel-website mobile-view

Hotel-website is a site built on a single page for easy access and understanding.it is build using HTML,CSS and JavaScript.
the page contains information about the hotel. how they work and what they do.

Sir, I sent a message for you through slack
On Fri, Nov 22, 2024, 6:33 AM Umar Lawan Sani @.***>
wrote:

@.**** requested changes on this pull request.
Hi @samirayahayaibrahim https://github.com/samirayahayaibrahim
Good job so far!
You still need to work on some issues to get your project approved, but
you are almost there!
[image: Remote Collaboration]
https://camo.githubusercontent.com/7cf1ba8db9cd08f454a9651e48128c064a4440a59881658c8593a41a8de243f3/68747470733a2f2f6d656469612e67697068792e636f6d2f6d656469612f744b797263304e546c4563475764546870342f67697068792e676966
To Highlight 💯

Good use of Gitflow 👍
Implemented some project requirements 👍

Required Changes ♻

kindly consider having the app's name on the splash screen as
requested in the project requirement or as given on the design
Your code isn't clean, you can highlight your code and press shift +
alt + F to trigger prettier to make your code clean and make's the
indentation good
Your hamburger menu isn't working
Why is this section like this?
image.png (view on web)
https://github.com/user-attachments/assets/7649ecad-6a2b-4a26-b41f-1c2f3b9780dd

Optional Suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this
PR. However, I strongly recommend you to take them into account as they can
make your code better.
Cheers and Happy coding! 👏👏👏
Feel free to leave any questions or comments in the PR thread if
something is not 100% clear. Please, remember to tag me in your question so
I can receive the notification.
—
Reply to this email directly, view it on GitHub
https://github.com/samirayahayaibrahim/HOTEL-WEBSITE/pull/1#pullrequestreview-2453364028,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BKDMWNM46ZAJ2W2QSGHILJD2B264LAVCNFSM6AAAAABSG5AGOGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDINJTGM3DIMBSHA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Deposit issue

My Gate.io rose deposit address oasis1qp6nvqkgwf66059va4x9lqzpxz2395msdyh72evq
And The transaction in question 17a9d70c8e63aac0c50cd0af312904d59a8cb6a863555aeee50f21974ea624c4
I deposited Rose from my oasis wallet to Gate.io four hours ago.
However, the deposit was not made normally, and after that, the deposit was made again.
However, only the deposit sent afterwards came in normally.
Still, the rose sent 4 hours ago has not been deposited.
Rose is missing from my oasis wallet and gate.io said,

However, my question is that the transaction was a failure, but the rose balance appears normally on the exchange wallet(oasis scan, not exchange wallet). Where should I solve this problem?

In addition, almost all transactions in the same round that I was in failed transactions failed.

Of the 270 transactions, only four succeeded.

the same happened to mi with savage tokens from metamask. what can i do?


When the url is written as a parameter, accessing /en?sku=123 causes the web page to crash

Description
When I access /en?sku=123 on the official case, it will always redirect and eventually crash the browser. Please note that there is no problem accessing /?sku=123.
https://github.com/amannn/next-intl/assets/40122311/5a62b8d3-c430-49a3-85ef-5d5b3417ba1e
Mandatory reproduction URL (CodeSandbox or GitHub repository)
https://codesandbox.io/p/sandbox/github/amannn/next-intl/tree/main/examples/example-next-13
Reproduction description
Steps to reproduce:

Open reproduction
Click on …
See error: …

Expected behaviour
I hope to be able to access normally

This was fixed as part of https://github.com/amannn/next-intl/pull/149.


added doc review to global hub api descriptions

Summary: Doc review of API descriptions.
Related issue(s): See Jira: https://issues.redhat.com/browse/ACM-9275
Fixes # See Jira: https://issues.redhat.com/browse/ACM-9275

@jc-berger Do you mind me run  make bundle and then commit to your branch?

/override dco

/override dco

@clyang82 thank you for your patience, and I sincerely apologize for overlooking this comment!
Yes, feel free to override or make commits to this PR.
DId you want me to apply @yanmxa comments?Or were you planning to in a commit?

/lgtm


Half of the functionality doesn't work.

I apologize in advance, I don't know much about this topic. So, about a month ago the “Load All Gallery Images” function stopped working, I didn't care at first and thought it was a bug and the new update would fix it. Now I tried to use this feature again and it still doesn't work. Also, I tried other functions. Some work, some don't. I don't know, maybe I'm doing something wrong, or is it exhentai.org updated? I've tried installing previous versions of the script and changing browsers - doesn't help. In the script settings, the functions are enabled.

There are some DOM chages recently indeed.
I'll check "Load All Gallery Images" after I get off work.
For other functions, could you please point out which function is not working? Thanks

Should able to use "Load All Gallery Images" in v1.15.2.

I apologize for the long wait for a response. It works. Thank you so much.

About other functions I meant hotkeys, I apologize for the lack of clarification. Some work, some don't, for example the full screen key, switching 10 pages at once and zooming with ctrl+1-5 don't work.

Hi @maleon4ik,
Sorry for the late reply.
The functions you mentioned (e.g., full screen, navigating 10 pages at a time, etc.) are all working fine on my computer.
Are you using MPV (Multi-Page Viewer)?
According to the documentation (link), these functions only work under the following conditions:

The URL matches https://e(x)hentai.org/mpv//.
Settings -> Multi-Page Viewer -> "Always use the Multi-Page Viewer?" is set to "Yup".

If these conditions are met, were you using English as your input method? Also, could you let me know the browser and its version you're using?

Hello, @sk2589822,
I am sorry for the late responce too.
I think I figured out what's wrong. Isn't Multipage View a paid feature? If so, then yes, it is not available to me, I apologize.

Isn't Multipage View a paid feature?

Partially, yes.
But you can also earn points through other methods (such as HentaiVerse), but donating is the fastest way. In any case, you'll need to go to the Hath Perks page to redeem this feature.

Here is the demo page with MPV.
I'll close this issue since "Load All Gallery Images" has been fix in  v1.15.2.
Thanks for the reporting!


Fix $set optimization

Changes
Solves a bug noticed in https://github.com/PostHog/posthog-plugin-geoip/pull/8#discussion_r669681840. Adds a proper test.
Checklist

[x] Tests for new code

Thanks again for the quick turnaround, @Twixes !


Why is the value of a characteristic automatically changed but notify is not automatically called?

I connected to an ESP32-C3 BLE server and there is a read, write, and notify characteristic. I enabled notifications on the first device and then changed the value with the second device. The first device did not get a notification. When I read the value with the first device manually, I saw the updated value. When I added notify() to the code on write, notifications worked as expected.

Is this expected behavior?
If yes, why are notifications not automatic? Seems  inconsistent / confusing.

The current behavior is expected.
Notify is not automatically invoked so that users can use it when they want to.
However, I did not realize that it is a hard to call notify when writing from the outside.
So, I added notify funciton to OnWriteArgs so that you can easily notify as follows.
characteristic
  .lock()
  .on_write(|args| {
    args.notify();
  });


Finishing touches

Added the information to each project in the Projects page and also modify the footer to have hyperlinks


Adding MPI swiches

Following: https://github.com/conda-forge/impact-t-feedstock/tree/main/recipe
Checklist

[X] Used a personal fork of the feedstock to propose changes
[X] Bumped the build number (if the version is unchanged)
[X] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[X] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender


NodeRenderer crashes

Hi. Simple problem: Adding a SVGView and setting the filename to a file, that doesn't exists, crashes the app. This is because of the forced downcast in NodeRenderer.swift at line 74 in the render() func. The cgContext will never be set. So I would suggest to just return, if the cgContext is nil.
I know, that this cases would be rare, but what if someone leads to SVG files, set by the user? And if he moved it? What would be better... checking if the file exists or just return, if cgContext is nil?

Hi, @Lupurus, I think sometimes crash is better way for finding issue, instead of nothing happening

You're right, but usually that's only ok when developing. But I forgot, that SVGView actually not supports loading svgs from outside the bundle. So my case is only limited to the case, that the svg is not in the bundle. Then it's really a developer problem ;) Sorry for that useless issue, I'm closing it now.


ResNet50 performance

Hi Allan,
Have you tried ResNet50 with your approach? I recently tried by myself, but get very low performance for the starting epoches, ~30 J&F mean. Any ideas?

Hi @xvjiarui ,
I haven't experimented much with ResNet50, but using different networks (especially deeper networks) will require changing certain hyper-parameters; e.g. you may need a more extreme temperature (lower, like 0.01), and you may want to try a learning rate warmup.


Add mobile demo links to README

It's not clear that there are any demos from other platforms in this repository.

Thanks @victorlaerte!


Adding sub menu with header not shows selected item effect for sub items

Hello,
I have refer this android developer blog for the NavigationView.
http://android-developers.blogspot.in/2015/05/android-design-support-library.html
I have updated your drawer.xml layout as below:

Here, I have added more menu items with header. But after that when i click on item that are in Sub menu, it is not showing highlighted effect. But it is working fine for top two items.
Where it need to update. I guess there is nothing to update in the Java file.  If it is then please let me know.
Thanks for this example.
Sincerely,
Shreyash

I don't think there is an easy solution for this. Highlighting submenu items is one of the open issues in the current version of the NavigationView, as I also mentioned in the blog post. It seems the NavigationView is really meant for very basic applications.

No. It is clear mention in the google blog that we can add header and sub menu in that way. I guess there should not be the custom implementation for that effect.
I suggest to please keep open this issue until google or other contributor not found proper solution to this. There has to be some solution to this.
Thanks for quick reply.
Sincerely,
Shreyash


[YouTube] Pass selected text as argument

Extension
http://www.raycast.com/tonka3000/youtube
Description
When enabled, Recast will automatically pass the selected text from the frontmost application to a Youtube with single argument when invoked via hotkey.
The same way as Youtube Quick Link work.
Who will benefit from this feature?
No response
Anything else?
No response

We could not find the extension related to this issue. Please update the issue with the link to the extension.

I can access the link weirdly enough: http://www.raycast.com/tonka3000/youtube


Created worlds ignoring set parameters

I am currently running

SpongeForge version:
SpongeVanilla version: spongevanilla-1.12.2-7.1.6-RC156
Java version: 1.8.0_211
Operating System: Windows 1

When creating a world certain parameters appear to be ignored however properties do display as set. For example setting a specified seed to a world, when running /seed, the correct seed is displayed however the world is generated completely different from the expected results. Tested this a couple of known seeds from the web. Also flying around appears no structures are being generated nor have I found a bonus chest at spawn. Code snippet below.
        WorldArchetype.Builder builder = WorldArchetype.builder();

        builder.generateBonusChest(true);
        builder.usesMapFeatures(true);

        try {
            Long s = Long.parseLong(value);
            builder.seed(s);
        } catch (Exception e) {
            builder.seed(value.hashCode());
        }

        WorldArchetype settings = builder.enabled(true).keepsSpawnLoaded(true).loadsOnStartup(true).build(args.get(0), args.get(0));

        WorldProperties properties;
        try {
            properties = Sponge.getServer().createWorldProperties(args.get(0), settings);
        } catch (IOException e) {
            e.printStackTrace();
            throw new CommandException(Text.of(TextColors.RED, "Something went wrong. Check server log for details"), false);
        }

        Sponge.getServer().saveWorldProperties(properties);

For example setting a specified seed to a world, when running /seed, the correct seed is displayed however the world is generated completely different from the expected results

That specific thing should have been fixed by https://github.com/SpongePowered/SpongeCommon/pull/2234.
Can you update to SV 160 and recheck? 156 is over a month an a half old.

ah, Last I check 157 was the latest but contained a game breaking bug. Will update and re-run tests. Thanks

Confirmed, this is a non issue on SV 160. Thanks


Login Error: InvalidPassword

The bots were working just fine , untill " WARN: Logged off Steam.  Reason: LogonSessionReplaced ". After that the bot tried to restart but the  ERROR: Login Error: TwoFactorCodeMismatch" occured. After that I couldnt log in into the bot because of  "ERROR: Login Error: InvalidPassword".

Looks like someone logged elsewhere (LogonSessionReplaced), changed your 2FA keys (TwoFactorCodeMismatch) and also changed your password (InvalidPassword).
... or maybe just Steam is acting up like usual. :grinning:

invalid password can be u re throttled from steam too. If u have no pause between failed logins


Compiler errors emit paths which are not relative to project root

Using :make or similar from vim is problematic, because the full path of the source file and line number are not what are emitted by gb when there is an error.  For example
scott@savoy:~/code/experiments/go/gb> mkdir -p src/example
scott@savoy:~/code/experiments/go/gb> cat > src/example/main.go
package main

import "fmt"

func main() {
    fmt.Println("vim-go")

    !! Error, oops
}
scott@savoy:~/code/experiments/go/gb> gb build
# example
main.go:8: syntax error: unexpected semicolon or newline, expecting := or = or comma
FATAL: command "build" failed: exit status 2
scott@savoy:~/code/experiments/go/gb>

This is quite problematic, it prevents editors from parsing the output of the compiler.

Thanks for raising this issue.
The underlying problem is we execute the compiler in the working directory of the source being compiled. Part of this is legacy, the Go compiler does this then fixes up the output later, another part is a fear that very long paths would lead to HUGE argument lists and that would run afoul of various OS limitations.
We've had a few goes at trying to address this, including #97, #377.
This issue is most likely a duplicate of #406 so I'll close it and follow the discussion on 406.


[Bug]: manifest ci check runs for any version runs on both jdk-11 and jdk-17

Describe the bug
The recent improvement in manifest ci check https://github.com/opensearch-project/opensearch-build/pull/4101 is not handling the jdk version correctly. On checking the previous workflow https://github.com/opensearch-project/opensearch-build/actions/runs/6267489648/workflow looks like the below is the right approach:

Use jdk-11 on 1.x manifests
Use jdk-17 for 2.x manifests
Use jdk-21 (most recent update) for 3.x manifests

To reproduce
See https://github.com/opensearch-project/opensearch-build/pull/4226 failing for 1.x series.
Expected behavior
CI check should only run on specific jdk versions and not a matrix of all.
Screenshots
If applicable, add screenshots to help explain your problem.
Host / Environment
No response
Additional context
No response
Relevant log output
No response

cc: @hitenshKharva if you wanna have a look.
Also tagging @zelinh
Thanks!

We could also get the JDK version from our manifest template. For example for 1.x manifest, we can get from here. https://github.com/opensearch-project/opensearch-build/blob/d1796ed5c1995420a07fd638253247a7f99d95b9/manifests/templates/opensearch/1.x/manifest.yml#L9

We could also get the JDK version from our manifest template. For example for 1.x manifest, we can get from here.
https://github.com/opensearch-project/opensearch-build/blob/d1796ed5c1995420a07fd638253247a7f99d95b9/manifests/templates/opensearch/1.x/manifest.yml#L9

I dont think that is feasible. Might be too dynamic if too many manifests are changed. Not required for CI check level.

Will take a look on this.

Have some tests and seems like matrix.manifest does not show up in the if statement as it is dynamically retrieved now.
Need more research on this but the idea is clear.

I overlooked the implementation and now send an easier PR.


Can't make class method new private on parmetric class

This works:
class Foo
  private def self.new
    super
  end
end
Foo.new  # error: private method

But not this:
class Foo(T)
  private def self.new
    super
  end
end
Foo(String).new  # hmm... still works

Crystal's behavior here is odd. On one hand new seems to get used (non-parametric), on the other it seems to be by-passed (parametric) -- I can define subclasses on it and they don't go through the superclasses' new at all.
On this topic, is there a way to make new private without redefining?
 Is there a better way to do this besides making new private, or am I doing the right thing?

From https://crystal-lang.org/docs/syntax_and_semantics/virtual_and_abstract_types.html

Marking a class as abstract will also prevent us from creating an instance of it:
Animal.new # Error: can't instantiate abstract class Animal

example:
abstract class Foo(T)
end

Foo(String).new

Error in ./file.cr:4: can't instantiate abstract generic class Foo(String)

If you want to avoid a generic class to be instantiated, simply use abstract instead:
abstract class Foo(T)
end

Foo(Int32).new # compile error: can't instantiate abstract generic class Foo(Int32)

And this works:
abstract class Foo(T)
end

class Bar < Foo(Int32)
end

pp Bar.new

Docs:

Generics
Virtual and abstract types

It was a bug, though for your particular use case I'd recommend to use an abstract class as a base type, as @luislavena suggested.

Nice. Thanks.


Set error messages

Hello, It's question just for discussion.
For example, I have a multilanguage application. And I want to make all translation on clientside (JS, React etc). In that case I wouldn't like to get human-readable error messages from Jsonschema validation, instead of it I'd rather get some code errors, like:

%FIELD_NAME% ERR_DOES_NOT_EXIST

I would try to make some stuff in this lib.
Does it make sense?

Hi. Have a look at https://python-jsonschema.readthedocs.io/en/stable/errors/ which has documentation on all the available properties for validation errors. Happy to answer specific questions, though ideally not on the bug tracker.


feature: gatsby recipe starter

@boris-becomes thanks!

@siradji

The src/templates folder is missing, so the local server can't be run because that folder is needed for the pages generated from the gatsby-node.ts file.

@siradji

Home page - recipes sections - arrow on the button is black and should be white ( green on hover )
Single recipe page - steps section - arrows on the navigation buttons should be grayed-out just like the text when on first/last slide
Home page - top section - search bar - when typing "pe" the autocomplete shows the rest of the recipe's name ( "ppers" ), but when pressing the tab button to select that name the "pe" part is appended to the whole name "peppers" and the result is "pepeppers" but should be just "peppers"
Favicon
Rename "Next" to "Gatsby" ins PageWrapper.tsx

@boris-becomes, i have made all icons to native elements + auto complete fix

Apologies for the back and forth


After using for a bit - Issue

After a few cycles of running the bot this pops up:

Its fixable by replacing all the files in the directory.
Any help would be appreciated

Sonny

I think there are some intermittent issues connecting to Tesco's servers but it could just be down to high load on their site.
It's odd that it was fixed by replacing the files, but that could just be a coincidence.


fixed query find only the product pages that are under the current page.

Description
Limiting the query scope of categorylist component to its container page's scope.
Related Issue

Motivation and Context
The categorylist component used to list other language copies' product pages as well, breaking the isolation completely and leaving the users confused.
How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Looks good.


[ALLUXIO-3119] Add a new task to check super user privilege on HDFS under file system

https://alluxio.atlassian.net/browse/ALLUXIO-3119

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/18750/
Test PASSed.


Unexpected end of JSON input

Description
I'm trying out the jupyterlite-terminal extension in a custom JupyterLite deployment, which disables the service worker but runs in a secure context (so the contents drive is available). When executing any command, it fails with a JSON parse error.
Reproduce

Go to https://lab.climet.eu/main/lab/index.html
Open a new terminal
Execute the ls command

Expected behavior
The terminal command should execute.
Context

JupyterLite version: 0.4.2
Operating System and version: MacBook
Browser and version: Chrome or Firefox

Browser Output

JupyterLab extension @jupyterlite/terminal:plugin is activated!
610.c0ae8fe065dc81c2a812.js?v=c0ae8fe065dc81c2a812:1 terminals available: true
610.c0ae8fe065dc81c2a812.js?v=c0ae8fe065dc81c2a812:1 terminals ready: false
610.c0ae8fe065dc81c2a812.js?v=c0ae8fe065dc81c2a812:1 terminals active: true
index.js:185 JupyterLite ServiceWorker not available
o @ index.js:185
index.js:188 Kernel filesystem and JupyterLite contents will NOT be synced
o @ index.js:188
index.js:33 Memory storage fallback enabled: contents and settings may not be saved
activate @ index.js:33
610.c0ae8fe065dc81c2a812.js?v=c0ae8fe065dc81c2a812:1 terminals ready after await: true
610.c0ae8fe065dc81c2a812.js?v=c0ae8fe065dc81c2a812:1 ==> Terminals.constructor wss://lab.climet.eu/main/
610.c0ae8fe065dc81c2a812.js?v=c0ae8fe065dc81c2a812:1 JupyterLab extension @jupyterlite/terminal:routes-plugin is activated! o
/main/git-pull/api?1730811538138:1
   Failed to load resource: the server responded with a status of 404 ()

389.f067a180c43ff46da6db.js?v=f067a180c43ff46da6db:1 JupyterLab extension @jupyterlite/litegitpuller is activated!
610.c0ae8fe065dc81c2a812.js?v=c0ae8fe065dc81c2a812:1 ==> Terminals.new 1
610.c0ae8fe065dc81c2a812.js?v=c0ae8fe065dc81c2a812:1 ==> Terminal.wsConnect wss://lab.climet.eu/main/terminals/websocket/1
610.c0ae8fe065dc81c2a812.js?v=c0ae8fe065dc81c2a812:1 ==> Terminals.list Array(1)
610.c0ae8fe065dc81c2a812.js?v=c0ae8fe065dc81c2a812:1 ==> server connection r Proxy(e)[[Handler]]: Object[[Target]]: e[[IsRevoked]]: false
610.c0ae8fe065dc81c2a812.js?v=c0ae8fe065dc81c2a812:1 ==> Returning handshake via socket ["setup"]
817.7297f5b6dcf0b0f72dec.js?v=7297f5b6dcf0b0f72dec:2 Importing JS/WASM from<EMAIL_ADDRESS>817.7297f5b6dcf0b0f72dec.js?v=7297f5b6dcf0b0f72dec:2 Importing JS/WASM from<EMAIL_ADDRESS>610.c0ae8fe065dc81c2a812.js?v=c0ae8fe065dc81c2a812:1 ==> Terminals.list Array(1)

I can reproduce just by disabling the service worker, although that gives me a different error:
js-shell: ls
ErrnoError: Invalid argument

Evidently the service worker is currently required.

JupyterLite itself is able to use shared array buffers (when CORS isolated) instead of the service worker. This allows me to use the contents drive even without the service worker. Would it be possible that the terminal can also use either alternative?

Here is where the Pyodide kernel switches between the comlink (service worker based) and coincident (shared array buffer based) worker: https://github.com/jupyterlite/pyodide-kernel/blob/6a2777961fcefb7ff4f0a907aad4726aea2f7e23/packages/pyodide-kernel/src/kernel.ts#L46

cockle, the project that implements the shell functionally used here, currently requires shared array buffer to work and hence this terminal extension does too. The service worker requirement must be due to the use of DriveFS that connects cockle to the JupyterLite filesystem, whether that is an explicit or implicit dependency.
Future changes in this and indeed in everything else in both cockle and terminal are likely as we try to solve some of the big issues that are required for this to be a viable project long-term. That's the priority, everything else will have to wait but may accidentally be solved by some of those big changes.

The lower prioritisation right now makes sense :)
As far as I understand, DriveFS by default uses the service worker, but can be subclassed to use shared array buffers, which is what the pyodide-kernel uses. So in theory all needed code should already be there.


Deploy App Stepper - content should scroll

Also fix the margin above the nav buttons.
Looks like we have some sizing issues on the last step with the log vieiwer.
Fix the responsive of the stepper control - seems to have a large minimum width

Fixed


root5: drop

Description of changes
Makes all packages still using root 5 use the default version instead (6).
Originally part of https://github.com/NixOS/nixpkgs/pull/266512, but now split off since @veprbl had concerns about applgrid working correctlry with root 6.
Things done

[x] Built successfully on x86_64-linux:

[x] applgrid
[x] apfelgrid
[x] xfitter

I'm not gonna be able to follow up on this, @veprbl feel free to take over


TSLint is not supported for rush-stack-compiler-4.X packages.

When I run "gulp bundle --ship" comand I have this error:
TSLint is not supported for rush-stack-compiler-4.X packages.
So I uninstall the 4.5 package and install the 3.9 one, but when I run "gulp bundle --ship" it take this error:
'Cannot find module<EMAIL_ADDRESS>How can I solve it?

@MatteoChiaffitella is this related to a specific sample? If it is please provide more details as to which sample you are referring to. It looks like you have the wrong version of React installed for the sample you are working with. Some work with older versions, some work with newer versions. If this is a general SPFx development related question, you might get a better response by posting here SP-Dev-Docs

Closed due to inactivity. If this is still an issue please create a new issue and reference this one with the requested information.


React capstone project - Crypto Watcher

Project Requierements - React App ( Crypto Watcher )

Choose API : Coin Stats ✅
Design : Guidelines ✅
Interactions

Home page ✅
Details page ✅

Testing requirements

Create unit tests for pure functions in your Redux code. ✅
Create integration tests for your application using the React Testing Library. ✅

Technical requirements

The project is a single-page application (SPA) built with React and Redux. ✅
The data retrieved from the API should be stored in the Redux store. ✅
You should filter the data that you retrieve from the API using a Filter stateless component. ✅
Every page (the main page and the pages for each item) should have a unique route within the SPA. ✅
The project should be deployed and accessible online using Render, Netlify or GitHub Pages. ✅

Project documentation

Description of the project. ✅
Live Demo of the project. ✅
You should also highlight some interesting piece of code or something you built that you are very proud of. ✅

All linters have been checked! ✅

Loom Video: React Capstone Project: Crypto Watcher Presentation

Required changes made 🛠
All linters are enable!

Fixed: "Please revisit your code and Jest configuration to identify and address these issues. Feel free to ask for assistance if you have any questions or require clarification on specific points.
check the screenshot below and kindly fix this 😉 Your Test are not Passing" ✅

Now the tests are passing correctly! ✅


SUGGESTION: allow her to be used as a desktop asssitant

you can drag her arosss the screen as well

Thanks for the feedback. I will make it even better in the future! 🙂


Fix OpenFL MICCAI tutorials

At least two OpenFL tutorials from MICCAI 2022 are failing:

2D MedMNIST - https://github.com/intel/fl-tutorial/blob/gh-pages/tutorial_notebooks/Tutorial_1_Medmnist_2D.ipynb
OpenFL GaNDLF tutorial - https://github.com/intel/fl-tutorial/blob/gh-pages/tutorial_notebooks/Tutorial_3_GaNDLF_OpenFL_tutorial.ipynb

Steps to reproduce:

Go to either of the above links and click the Open in Colab link

Run all cells

Investigating on 2D MedMNIST
Seems to be an incompatibility with Google Colab and OpenFL v1.4. Colab currently uses Python v3.9.16 whereas the version of OpenFL installed in the miccai_fl_tutorial branch specifies Python <3.9.
Installing from the latest branch or binary (pip install openfl) seems to resolve this error. For some reason, I still end up with an import error:
ImportError: cannot import name 'builder' from 'google.protobuf.internal' (/usr/local/lib/python3.9/dist-packages/google/protobuf/internal/__init__.py)

Here is a workaround (bandage) for that:
!pip install --upgrade protobuf
!cp /usr/local/lib/python3.9/dist-packages/google/protobuf/internal/builder.py .
!pip install protobuf==3.19.6
!mv builder.py /usr/local/lib/python3.9/dist-packages/google/protobuf/internal/

Worth it to note that this issue looks to be unique to Google Colab. I didn't not run into this issue using Intel's Developer Cloud or a standard local notebook

OpenFL_Team1 is working on this

"OpenFL_Team1 is working on this"

Closing this issue as the Interactive API is being deprecated, and the MICCAI tutorials repo is being archived. Please reopen if the priorities change.


exclude some folders from codecov

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


ToolTip has border around it.

Has white border around the actual tooltip border.

This seems to have magically gone away.


Limiting Size of Summary

When the size of the summary of a event is too long my i3bar gets messy. So I'm proposing to consider adding a command line argument to choose the size of the summaries, putting "..." to the end to indicate that it is cut. Like -l 7, and the event that was like "meeting with costumer" would turn to "meeting...".

Sound great


Shamap sparse inner

High Level Overview of Change
A large percentage of inner nodes only store a small number of children. Memory can be saved by storing the inner node's children in sparse arrays. Measurements show that on average a typical SHAMap's inner nodes can be stored using only 25% of the original space. This results in saving approx 3/4 of a gig of ram on a typical rippled server.
Context of Change
This is part of an effort to reduce the memory footprint of the rippled server.
Type of Change

[X] Memory or Compute Optimization

Before / After
Before this change, SHAMapInnerNodes always kept space for storing all 16 of its children's hashes and shared_ptrs. After this change, when a child is not present, its hash and shared_ptr may not be explicitly stored, saving space.
The optimal sizes of the sparse arrays was calculated by measuring the number of children inner nodes had, and calculating the savings for different number of boundaries, and choosing the best. This jupyter notebook shows that work: https://github.com/seelabs/shamap_compress/blob/master/shamap_compress.ipynb
I also benchmarked this "sparse" version vs. the "normal" dense version. Result is here: https://gist.githubusercontent.com/seelabs/e98d2dfe41d495a8d997730154ff1694/raw/9b5c838354aae1ad031abea1348209825835c702/compressed_shamap.md (best on a wide window).
Test Plan
There are no externally visible changes from this patch. Existing unit tests should cover this change. I will look at CI after it runs to check for unexercised code.
Future Tasks
The memory in the allocator pools is never reclaimed. This means memory spikes may leave these pools larger than we'd like. We should consider how to reclaim this memory after memory spikes (or identify likely places for memory spikes and reclaim memory after that. I.e. after shard finalization).
There is also some unnecessary copying and zeroing of buffers when changing the number of children (but not terrible; it is much better than a naive solution). I made an attempt to reduce this to the minimal number of copies, but the code ended up being too complex. I will revisit this issue in the future.
Notes to reviewers

Only the commits starting from [FOLD Above] Move SHAMapInnerNode to its own file: need to be reviewed. It is based off of Nik's branch because that branch made many changes to SHAMap.
This started out as a simple patch that used one sparse array size and one dense array size. Much of the complexity in the patch comes from tweaks that give us "medium" space savings (see the jupyter notebook referenced later for the calculation showing the extra space saving we get from multiple spare array sizes). We also don't need to use a TaggedPointer. While I decided the extra code complexity was worth the space savings, if you decide this patch is overly complex I do know how to simplify things (at the cost of some extra space, of course).

Using a non-unity build:
[100%] Linking CXX executable rippled
Undefined symbols for architecture x86_64:
  "ripple::TaggedPointer::~TaggedPointer()", referenced from:
      std::__1::__shared_ptr_emplace<ripple::SHAMapInnerNode, std::__1::allocator<ripple::SHAMapInnerNode> >::~__shared_ptr_emplace() in SHAMap.cpp.o
      std::__1::__shared_ptr_emplace<ripple::SHAMapInnerNode, std::__1::allocator<ripple::SHAMapInnerNode> >::~__shared_ptr_emplace() in SHAMap.cpp.o
      std::__1::__shared_ptr_emplace<ripple::SHAMapInnerNode, std::__1::allocator<ripple::SHAMapInnerNode> >::__on_zero_shared() in SHAMap.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

The easiest fix is to move ~TaggedPointer() from TaggedPointer.ipp to TaggedPointer.h.
However consider creating TaggedPointer.cpp and moving all non-templated sizeable code there, especially those two huge constructors.

@HowardHinnant Fixed the non-unity linker error in 3550ff996 [fold] Fix nonunity linker error I may re-organize the .h/.ipp into a .h/.ipp/.cpp, but there are tradeoffs for that and I wanted to get a fix out.

Squashed and rebased onto the rollup PR

Rebased onto b5


WIP: Delete dqlite

dqlite is still supported through kine, but we are deleting the native integration of dqlite into k3s. We are instead going to switch to etcd for the embedded HA option.  Being that in general etcd is well supported in the k8s ecosystem it seems only natural to use etcd.  A follow PR is coming shortly to add etcd support.

There's no point in merging this until we have the etcd replacement.  But I'm just separating this out to keep the PRs cleaner and smaller for this major change.

I'm super curious to see how this pans out.
My biggest surprise when I switched from dqlite to etcd is how demanding etcd is of low-latency disk. For my tiny 3-node cluster that's basically doing nothing (7 etcd events/sec) etcd issues 40 write ops/sec and 15 fsync/sec. It also expects these to reliably execute in less than 10ms, or nodes start getting evicted from the cluster due to election timeouts. 7200 RPM rotational disks could not reliably deliver this; I had to put the etcd database and journal on ramdisk until I was able to get some additional SSD to throw at it.

@brandond You bring up some excellent points here. Fundamentally dqlite and etcd are the same beast as they are both raft. But dqlite has the main advantage in that it's using sqlite under the hood and not boltdb.  This is one of the reason we picked it over etcd to start with.  We can tune the some of the timeouts and heartbeat intervals for etcd, but the the iops and fsync could be an issue.  I'm curious if you have some actual stats of iops/fsync for dqlite vs etcd running the same workload.  This would be a show stopping issue if we can't make this more tolerable to slow disks.

Included in #1770


{Misc} Remove Python 3.8 typing fallbacks

Description
Python 3.9 seems to be the minimum requirement.
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Thank you for your contribution! We will review the pull request and get back to you soon.


I have a question

in the javascript file on widgets.py, when do you use the dismissRelatedLookupPopup method?

Doesn't look like anywhere. Closing.


Test Google Colab

I have managed to get it to work in Google Colab, as far as Cloud-Game is running, but since it stays running, I can't run ngrok to make localhost public.

Can you help me finish the cell?
https://colab.research.google.com/drive/1G-28cHOhRu2oUn1Y2Lk51JLOIIFsa9EA
Is there another way to access localhost?

Wow, really nice to know that we can use google collab. It can support GPU as well. This is nice approach that I can take reference from. I remember last time I tried GG Collab I don't need ngrok to access its address :/
Regarding to your script, I think your syntax for ngrok is wrong, so it pointed to port 80 but it should be port 8000
"Tracking URL: NgrokTunnel: "http://13699365c7b6.ngrok.io" -> "http://localhost:80"
I change to "public_url = ngrok.connect(8000, proto="http", options={"bind_tls": True}), so it can map the port correctly.
However, the server section I cannot run it successfully, so cannot verify the whole flow work.

Um... apart from serving static HTML/JS with the HTTP/S, it requires opening a bunch of random UDP ports for audio/video/data streaming directly to the users. The easiest way is to open all the ports on your server...

Wow, really nice to know that we can use google collab. It can support GPU as well. This is nice approach that I can take reference from. I remember last time I tried GG Collab I don't need ngrok to access its address :/
Regarding to your script, I think your syntax for ngrok is wrong, so it pointed to port 80 but it should be port 8000
"Tracking URL: NgrokTunnel: "http://13699365c7b6.ngrok.io" -> "http://localhost:80"
I change to "public_url = ngrok.connect(8000, proto="http", options={"bind_tls": True}), so it can map the port correctly.
However, the server section I cannot run it successfully, so cannot verify the whole flow work.
Can I change the Cloud-Game configuration to use port 80?

Um... apart from serving static HTML/JS with the HTTP/S, it requires opening a bunch of random UDP ports for audio/video/data streaming directly to the users. The easiest way is to open all the ports on your server...

I was testing the binary available in "release" in Windows, but when using ngrok or cloudfare, to obtain a public link, only the interface was displayed, but it was not seen that it loaded the emulator or the game in shared links using the url created by ngrok or cloudfare.

https://gist.github.com/ImanCol/2928cc0870efcca8cd0041cd1fa4975f
The code is now ready. All that remains is for the emulator to be displayed, and it is something that I cannot fix if I am missing something.
She left them in her hands.

I don't think you can easily run it on Colab (or run it at all). As I said, all server ports should be open, not just one 8000 with Ngrok tunnel. If I understand correctly, Google Colaboratory has some kind of firewall, so you can try:

to open UDP ports from the range 40000-65536, if it can open UDP ports
or to open several UDP ports specified as I wrote here #257
or (your best chance) try to add some TURN server into the app's config file (TURN server should essentially do for WebRTC what Ngrok does for Web server, work as a proxy)

I don't think you can easily run it on Colab (or run it at all). As I said, all server ports should be open, not just one 8000 with Ngrok tunnel. If I understand correctly, Google Colaboratory has a custom firewall, so you can try:

to open UDP ports from the range 40000-65536, if it can open UDP ports
or to open several UDP ports specified as I wrote here #257
or (your best chance) try to add some TURN server into the app's config file (TURN server should essentially do for WebRTC what Ngrok does for Web server, it works as a proxy). Some guide for TURN, after creating it, just add something like this into your config:

# ...
webrtc:
  # a list of STUN/TURN servers for the client
  iceServers:
    - url: stun:stun.l.google.com:19302
    -
      url: turn:somethin-somethin-your-server-address
      username: your-username
      credential: your-password
# ...

Work

I0623 01:37:16.661849    7009 handlers.go:151] Coordinator: A user is connecting... I0623 01:37:16.661956    7009 browser.go:33] Browser 278f3ab0-62c6-401b-9914-bf1f048d9956] Generated worker ID I0623 01:37:16.661997    7009 browser.go:29] Browser 278f3ab0-62c6-401b-9914-bf1f048d9956] Get Room  Zone  From URL /ws?room_id=&zone= I0623 01:37:16.662018    7009 browser.go:33] Browser 278f3ab0-62c6-401b-9914-bf1f048d9956] Send sync[http://localhost:9000/echo]http://localhost:9000/echo I0623 01:37:18.837344    7009 browser.go:33] Browser 278f3ab0-62c6-401b-9914-bf1f048d9956] Latency mapmap[0xc0000ab7a0:9999] I0623 01:37:19.020334    7009 browser.go:29] Browser 278f3ab0-62c6-401b-9914-bf1f048d9956] Received init_webrtc request -> relay to worker: b6600ad0-af48-4af8-8070-a313431e12c9 I0623 01:37:19.020607    7010 internalhandlers.go:44] Received a request to createOffer from browser via coordinator I0623 01:37:19.020769    7010 webrtc.go:119] === StartClient === I0623 01:37:19.021533    7010 webrtc.go:137] Add video track I0623 01:37:19.022253    7010 webrtc.go:230] Created Offer I0623 01:37:19.022427    7010 internalhandlers.go:72] Start peerconnection 278f3ab0-62c6-401b-9914-bf1f048d9956 I0623 01:37:19.023368    7010 webrtc.go:191] OnIceCandidate: candidate:2126570329 1 udp<PHONE_NUMBER> <IP_ADDRESS> 52286 typ host I0623 01:37:19.023694    7009 browser.go:33] Browser 278f3ab0-62c6-401b-9914-bf1f048d9956] Received SDP from worker -> sending back to browser I0623 01:37:19.024029    7009 worker.go:38] Worker b6600ad0-af48-4af8-8070-a313431e12c9] Received IceCandidate from worker -> relay to browser I0623 01:37:19.028784    7010 webrtc.go:191] OnIceCandidate: candidate:1746682845 1 udp<PHONE_NUMBER> <IP_ADDRESS> 54405 typ srflx raddr <IP_ADDRESS> rport 54405 I0623 01:37:19.029125    7009 worker.go:38] Worker b6600ad0-af48-4af8-8070-a313431e12c9] Received IceCandidate from worker -> relay to browser I0623 01:37:19.029174    7009 worker.go:38] Worker b6600ad0-af48-4af8-8070-a313431e12c9] Received IceCandidate from worker -> relay to browser I0623 01:37:19.279477    7009 browser.go:33] Browser 278f3ab0-62c6-401b-9914-bf1f048d9956] Received browser answered SDP -> relay to worker I0623 01:37:19.279852    7010 internalhandlers.go:88] Received answer SDP from browser I0623 01:37:19.280241    7010 webrtc.go:274] Set Remote Description I0623 01:37:19.280413    7010 webrtc.go:175] ICE Connection State has changed: checking I0623 01:37:19.343189    7009 browser.go:33] Browser 278f3ab0-62c6-401b-9914-bf1f048d9956] Received IceCandidate from browser -> relay to worker I0623 01:37:19.343390    7010 internalhandlers.go:105] Received remote Ice Candidate from browser I0623 01:37:19.343456    7010 webrtc.go:285] Decoded Ice: candidate:694132342 1 udp<PHONE_NUMBER> 99331516-4642-41e3-8f04-28485dfa1766.local 58813 typ host generation 0 ufrag PHsG network-cost 999 I0623 01:37:19.343493    7010 webrtc.go:293] Add Ice Candidate: candidate:694132342 1 udp<PHONE_NUMBER> 99331516-4642-41e3-8f04-28485dfa1766.local 58813 typ host generation 0 ufrag PHsG network-cost 999 I0623 01:37:19.516897    7009 browser.go:33] Browser 278f3ab0-62c6-401b-9914-bf1f048d9956] Received IceCandidate from browser -> relay to worker I0623 01:37:19.517362    7010 internalhandlers.go:105] Received remote Ice Candidate from browser I0623 01:37:19.517424    7010 webrtc.go:285] Decoded Ice: candidate:842163049 1 udp<PHONE_NUMBER> <IP_ADDRESS> 58813 typ srflx raddr <IP_ADDRESS> rport 0 generation 0 ufrag PHsG network-cost 999 I0623 01:37:19.517481    7010 webrtc.go:293] Add Ice Candidate: candidate:842163049 1 udp<PHONE_NUMBER> <IP_ADDRESS> 58813 typ srflx raddr <IP_ADDRESS> rport 0 generation 0 ufrag PHsG network-cost 999 I0623 01:37:20.084612    7010 webrtc.go:175] ICE Connection State has changed: connected I0623 01:37:20.084648    7010 webrtc.go:179] ConnectionStateConnected I0623 01:37:20.084655    7010 webrtc.go:325] Start streaming I0623 01:37:20.708994    7010 webrtc.go:159] Data channel 'game-input'-'824638113628' open.
But when I try to start a game

I0623 01:38:42.392804    7009 browser.go:33] Browser 278f3ab0-62c6-401b-9914-bf1f048d9956] Received start request from a browser -> relay to worker I0623 01:38:42.393084    7010 internalhandlers.go:125] Received a start request from coordinator I0623 01:38:42.393122    7010 internalhandlers.go:260] Loading game: Super Mario All-Stars (USA) I0623 01:38:42.393216    7010 internalhandlers.go:266] Got Room from local  <nil>  ID:   I0623 01:38:42.393295    7010 room.go:126] New room:  4587ced56027909b___Super Mario All-Stars (USA) { Super Mario All-Stars (USA) sfc /content/cloud-game/assets/games/Super Mario All-Stars (USA).sfc} I0623 01:38:42.393334    7010 room.go:241] Updated player Index to:  0 I0623 01:38:42.393355    7010 internalhandlers.go:281] Is PC in room false I0623 01:38:42.393363    7010 handlers.go:143] [worker] closing peer connection I0623 01:38:42.393411    7010 room.go:152] Check 4587ced56027909b___Super Mario All-Stars (USA) on online storage: false I0623 01:38:42.393566    7009 browser.go:33] Browser 278f3ab0-62c6-401b-9914-bf1f048d9956] Received room response from browser: 4587ced56027909b___Super Mario All-Stars (USA) I0623 01:38:42.393627    7009 internalhandlers.go:29] Coordinator: Received registerRoom room 4587ced56027909b___Super Mario All-Stars (USA) from worker b6600ad0-af48-4af8-8070-a313431e12c9 I0623 01:38:42.393653    7009 internalhandlers.go:31] Coordinator: Current room list is: map[4587ced56027909b___Super Mario All-Stars (USA):b6600ad0-af48-4af8-8070-a313431e12c9] I0623 01:38:42.393421    7010 room.go:384] Check if game is on cloud storage I0623 01:38:42.393896    7010 room.go:252] Start WebRTC session I0623 01:38:44.394894    7010 room.go:154] Warn: Room 4587ced56027909b___Super Mario All-Stars (USA) is not in online storage, error Get "https://storage.googleapis.com/game-save/4587ced56027909b___Super%20Mario%20All-Stars%20%28USA%29": Get "http://<IP_ADDRESS>/computeMetadata/v1/instance/service-accounts/default/token?scopes=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdevstorage.full_control": dial tcp <IP_ADDRESS>:80: i/o timeout I0623 01:38:44.394926    7010 room.go:158] Room 4587ced56027909b___Super Mario All-Stars (USA) started. GameName: Super Mario All-Stars (USA), WithGame: false I0623 01:38:44.395917    7010 nanoarch.go:239] [Log] [Libretro] Initialization... I0623 01:38:44.403917    7010 nanoarch.go:462] Libretro API version: 1 I0623 01:38:44.404004    7010 nanoarch.go:493] ROM size: 2097152 I0623 01:38:44.404023    7010 nanoarch.go:504]   library_name: Snes9x I0623 01:38:44.404031    7010 nanoarch.go:505]   library_version: 1.60 937c177 I0623 01:38:44.404043    7010 nanoarch.go:506]   valid_extensions: smc|sfc|swc|fig|bs|st I0623 01:38:44.404067    7010 nanoarch.go:507]   need_fullpath: false I0623 01:38:44.404078    7010 nanoarch.go:508]   block_extract: false I0623 01:38:44.411096    7010 nanoarch.go:239] [Log] [Libretro] Loading the game... Map_LoROMMap I0623 01:38:44.435586    7010 nanoarch.go:239] [Log] "SUPER MARIO ALL_STARS" [checksum ok] LoROM, 16Mbits, ROM+RAM+BAT, NTSC, SRAM:64Kbits, ID:____, CRC32:925637C7 I0623 01:38:44.435969    7010 nanoarch.go:543] ----------------------------------- I0623 01:38:44.435985    7010 nanoarch.go:544] ---  Core audio and video info  --- I0623 01:38:44.435996    7010 nanoarch.go:545] ----------------------------------- I0623 01:38:44.436014    7010 nanoarch.go:546]   Frame: 256x224 (604x478) I0623 01:38:44.436030    7010 nanoarch.go:549]   AR:    1.3333333730697632 I0623 01:38:44.436042    7010 nanoarch.go:550]   FPS:   60.098811862348406 I0623 01:38:44.436060    7010 nanoarch.go:551]   Audio: 32040Hz I0623 01:38:44.436070    7010 nanoarch.go:552] ----------------------------------- I0623 01:38:44.436241    7010 room.go:192] Viewport custom size is disabled, base size will be used instead 256x224 I0623 01:38:44.436506    7010 media.go:76] Video codec: h264 I0623 01:38:44.436527    7010 x264.go:31] x264: warning, installed version of libx264 152 is older than minimally supported v160, expect bugs x264 [error]: I0623 01:38:44.436630    7010 media.go:53] OPUS: libopus 1.1.2, Bitrate: 192000 bps, Complexity: 10, DTX: false, FEC: false, Max bandwidth: *1105, Loss%: 0, Rate: 48000 Hz invalid level_idc: 8 error create new encoder x264: cannot open the encoder
Use only CPU mode, because I couldn't get quota for GPU. When I access it (If I am lucky) I will see if the codec does not give a problem.
For my part, IT WORKS ON GOOGLE COLAB!.

Cool. Then stun server is enough.
@ImanCol, try to set vpx codec in the config, your error says that x264 system library is outdated and won't work, probably, due to an old linux version on the server.
Change h264 to vpx here. Can you do it with Colab syntax?
https://github.com/giongto35/cloud-game/blob/c3c3351febdd8f7b85a584a6cf8b8c5f4dacc98c/configs/config.yaml#L153-L156

Congrat, Look good to me.
When you can see the game menu screen, it indicates your WebRTC is successful.
According to log, it seems like Codec issue as @sergystepanov said.
In Collab, It seems like you can ssh to the server and modify the Config file.

Cool. Then stun server is enough.
@ImanCol, try to set vpx codec in the config, your error says that x264 system library is outdated and won't work, probably, due to an old Linux distro version on the server.
Either download and install manually x264 lib version 159+ from somewhere for Colab Linux, i.e. from Debian bullseye or sid (if Google Colab uses Debian-based OS under the hood, check it, I think it uses Ubuntu),
or change h264 codec to vpx in the app's config (the exact line is bellow).
Can you do it with Colab syntax or edit and upload config file like you upload your game ROMs? I'm not familiar with Colab at all.
https://github.com/giongto35/cloud-game/blob/c3c3351febdd8f7b85a584a6cf8b8c5f4dacc98c/configs/config.yaml#L153-L156

The first thing, I already did. I get an error that the package is broken.
"Sudo apt install x264_0.160.3011 + gitcde9a93-2build1_amd64.deb"
´´´
I0623 15:36:05.287628    6649 media.go:76] Video codec: vpx
I0623 15:36:05.288042    6649 media.go:53] OPUS: libopus 1.1.2, Bitrate: 192000 bps, Complexity: 10, DTX: false, FEC: false, Max bandwidth: *1105, Loss%: 0, Rate: 48000 Hz
´´´
The second thing, change the codec to "vpx" and it transmits.

I guess apart from the drawbacks presented here https://github.com/giongto35/cloud-game/pull/275 using "vpx", it is very very slow to use only CPU in Google Colab. Besides, algame the redundancy, of a noise in the video. I have not had a chance to test the GPU, so it is a benefit for Google Colab Pro.

So it works. Nice.
Speaking of CPU, I can, probably, optimize a/v pipe with x2, x3 performance increase even without GPU utilization. That would be the limit of the hybrid C/Go app, I think.
I recommend you try to install Debian packages that have fewer dependencies, i.e. libx264-160.
Yeah, GPU acceleration comes in handy when we'd run OpenGL cores (I didn't look up Vulkan emulation) like N64.

> Speaking of CPU, I can, probably, optimize a/v pipe with x2, x3 performance increase even without GPU utilization. That would be the limit of the hybrid C/Go app, I think.
> I recommend you try to install Debian packages that have fewer dependencies, i.e. [libx264-160](https://packages.debian.org/bullseye/libx264-160).
> Yeah, GPU acceleration comes in handy when we'd run OpenGL cores (I didn't look up Vulkan emulation) like N64.
This is the only compatible package and it is the one you download.
https://packages.ubuntu.com/bionic/amd64/libx264-152/download
```
/content# sudo apt-get -f install libx264-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libx264-dev
0 upgraded, 1 newly installed, 0 to remove and 70 not upgraded.
Need to get 461 kB of archives.
After this operation, 1,766 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libx264-dev amd64 2:0.152.2854+gite9a5903-2 [461 kB]
Fetched 461 kB in 1s (618 kB/s)
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> line 1.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Selecting previously unselected package libx264-dev:amd64.
(Reading database ... 171711 files and directories currently installed.)
Preparing to unpack .../libx264-dev_2%3a0.152.2854+gite9a5903-2_amd64.deb ...
Unpacking libx264-dev:amd64 (2:0.152.2854+gite9a5903-2) ...
Setting up libx264-dev:amd64 (2:0.152.2854+gite9a5903-2) ...
```
```
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libx264-160' instead of '/content/libx264-160_0.160.3011+gitcde9a93-2_amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libx264-160 : Depends: libc6 (>= 2.29) but 2.27-3ubuntu1.4 is to be installed
E: Unable to correct problems, you have held broken packages.
```
I think I'm getting a long way to get it to work, when the main problem is the distro version that Google Colab uses (Ubuntu4). Most of the packages that I try to install tell me that they are broken or that their dependencies are out of date, of which they also ask for other dependencies.

PD: I do not know if I am surprised that it worked with my zero knowledge that I have, or that they will congratulate me when you are the ones who have done everything to make this work.

Thanks for the help, I am going to try other environments, maybe some VPS, and I would like to know which one you would recommend or which one is running cloudgame.io

Oh, I didn't expect that it used Ubuntu 18.04 which has an incompatible libc6 version and I don't recommend trying to install version 2.29 because it'll break the system.
And Ubuntu upgrade to 20.04 probably is not going to work on Colab (sudo do-release-upgrade).
cloud-retro is being hosted on a bunch of DigitalOcean droplets.
Personally, I prefer Amazon EC2 or Oracle Cloud with a basic forever free VPS.

@sergystepanov  oh, :'( I tried to cut cost with DO but forgot Micro tier of EC2 is free. Thanks for reminding me about that. Let me migrate the infrastructure to AWS EC2

@giongto35, it's free for 1yr.

I just wanted to say that since I have access to the GPU, I tried to use the same cells, but I get this error when CloudRetro is being built
go: downloading golang.org/x/oauth2 v0.0.0-20210402161424-2e8d93401602
go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da

 github.com/go-gl/gl/v2.1/gl
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libGL.so: undefined reference to `_glapi_tls_Current'
collect2: error: ld returned 1 exit status
Makefile:72: recipe for target 'dev.build-local' failed
make: *** [dev.build-local] Error 2

Google Colab:
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.5 LTS
Release:	18.04
Codename:	bionic

Seems that Colab (NVIDIA) requires some additional GL lib linking, maybe something like this.

Ow, I didn't expect that it used Ubuntu 18.04 which has an incompatible libc6 version and I don't recommend trying to install version 2.29 because it'll break the system.
And Ubuntu upgrade to 20.04 probably is not going to work on Colab (sudo do-release-upgrade).
cloud-retro is being hosted on a bunch of DigitalOcean droplets.
Personally, I prefer Amazon EC2 or Oracle Cloud with a basic forever free VPS.

Which AMI do you recommend I use to build this project on EC2?

If you want to run it natively on some OS in the cloud, then I recommend you some latest Debian-based image, either Ubuntu 21 or Debian (11) Bullseye. If you want to run it with Docker, then it will run pretty much on any not-so-old OS.
Personally, I prefer Debian 11 in both cases.


Having problem getting response result

Please how do I get response result? Tried result.fulfillment.speech but it doesn't work or says in handled promise rejection. Thanks a lot

Hey Iamdreo, did you manage to fix it?


missing results compared to the website search

I want to extract the results from this url : https://www.linkedin.com/jobs/search?f_TPR=r2592000&keywords=java&location=Jefferson%20County%2C%20Alabama%2C%20United%20States&f_WT=2&f_E=4&sortBy=R&geoId=105185483
the website shows 7K results

but when I run the script, it only extracts few results(30):
`python3 scrape.py
Scraping...:   0%|                                                                           | 0/30 [00:00<?, ?it/s]`

Interesting, on my end it is displaying 31 jobs for that link. This scraper assumes no user is currently logged into LinkedIn so be sure to logout. It's not generally a good idea to scrape from a user account as that is against TOS and may lead to a banned or suspended LinkedIn account.

Thanks for responding quickly!
have you considered implementing an authenticated session functionality to extract all the results shown by the website?
to avoid getting banned from LinkedIn, users would use an alternative account only for scrape purposes.
I tried to use the LI_AT_COOKIE environment variable to simulate an authenticated session, but it didn't work

Hello there @luitoz,
I work at Proxycurl, a B2B data provider and API and we could help you search for job listings. We are paid, but you won't have to worry about proxies, account bans, or any of the headaches with self-hosted scrapers like this honorable project.
Consider giving our Job Search Endpoint here a go(free trial credits are available).

Recently noticed that if you are scraping with specific url and you are not logged in, when going through every single listing some of them don't show any expanded description of the listing and I can only see the block listings on the left and most of the expanded listings on the right is missing. Is it just me or it happens to anyone else? Thanks

Using a separate account for scraping (and using a user account to scrape in general) is heavily against the TOS and is not something I will support.

some of them don't show any expanded description of the listing and I can only see the block listings on the left and most of the expanded listings on the right is missing.

This is a bug on LinkedIn's end, some sort-of problem with their client-side rendering, potentially even intentional to discourage scraping.


Unable to add or list extensions in CLI 2.0.75

I'm trying to install the Azure DevOps extension, but am unable to get the extension index. I attempted to list the extensions and got the same error. Is there an additional configuration step I'm missing for my environment? I'm able to successfully login via the Azure CLI.
Sample error:
az extension list-available --output table
az : ERROR: Unable to get extension index.
At line:1 char:1

az extension list-available --output table

  + CategoryInfo          : NotSpecified: (ERROR: Unable to get extension index.:String) [], RemoteException
  + FullyQualifiedErrorId : NativeCommandError

Please ensure you have network connection. Error detail: HTTPSConnectionPool(host='aka.ms', port=443): Max retries
exceeded with url: /azure-cli-extension-index-v1 (Caused by SSLError(SSLError("bad handshake: Error([('SSL
routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))

@zikalino  please take a look.

I think it's just a common connection error that can be fixed by retry and not related to azure-cli.
Maybe a network congestion.
It wored fine for me.

Can try against the latest azure-cli?

Hi.
I'm getting the very same error. tried multiple times, and I do have internet access.
any idea how to go on from here?
thank you.

I know this is old, but the error is certificate validation error. I'm getting the same due to some HTTPS inspector that our company is using, and I'm looking for a way to add trust or ignore cert validation errors.

@JeffWRush, please see https://docs.microsoft.com/en-us/cli/azure/use-cli-effectively#work-behind-a-proxy for detailed instruction. If there are any questions, please let us know.


Add bulk submit functionality to step 7 -> step 8

Not all applicants are able to submit the abridged EDS, and we can't track submissions to the long form EDS.
This round, that means applicants (primarily LLCs) must be moved from step 7 to step 8 by hand via the Django admin interface. This can be pretty messy if there are multiple applications per applicant to advance.
Next round, add bulk advance functionality to step 7 in the admin template.

This is related to #320!


Incorrect behavior with 48khz audio

Describe the bug
It's freezing while "Loading wave source..." when source in 48kHz and duration more than 05:05min
duration less than 05:05min works fine.
v5-beta-cml works also fine.
To Reproduce

Selected settings:

file with duration more 05:05min 48kHz
GPU Conversion
Model = HP2_3BAND_44100_MSB2.pth
Window Size = 512
Aggression Setting = 10

See "Loading wave source..." and nothing happen

Expected behavior like in v4 or v5-beta-cml
Desktop:

OS: Windows 10 21H2
GPU: GTX 1650Ti
CPU: Ryzen 5 4600
RAM: 16gb

Additional context
after some testing i think that the problem some where in lines 246-256 in inference_v5.py
when i changed:
X_wave[d], _ = librosa.load(music_file, bp['sr'], False, dtype=np.float32, res_type=bp['res_type'])
to:
X_wave[d], _ = librosa.load(music_file, False, False, dtype=np.float32, res_type=bp['res_type'])
it didn't freeze any more, but final audio is stretching out, I guess because of resampling.

Try replacing this file: https://github.com/Anjok07/ultimatevocalremovergui/blob/master/lib_v5/modelparams/3band_44100_msb2.json

Try replacing this file: https://github.com/Anjok07/ultimatevocalremovergui/blob/master/lib_v5/modelparams/3band_44100_msb2.json

Thanks!
It works after the 18fbabc commit but just changing the .json didn't work for me


updates for libpostal 1.0

Ahoy Oliver!
We have a 1.0 for libpostal as of earlier today. Conditional Random Fields trained on 1 billion addresses, 99.45% full-parse accuracy on held-out, and a saucy new GIF.
Since I was bumping the major version anyway, I took the time to add a "libpostal_" prefix to everything in our header, as is generally good practice but I neglected to do before releasing the initial version.
This PR implements all the necessary API changes for 1.0, and adds the new parser labels, which number 20 now. I don't have an R environment set up to test it on, but think I got everything.
Also, some possibly relevant details for CRAN purposes: 1.0 removes the snappy, sparkey and mmap dependencies (compilation on Windows is maybe-sorta possible). In this version I trained the language classifier with the FTRL-Proximal method instead of L2 regularization. The former combines the L1 and L2 penalty to encourage sparsity while keeping a . Suffice to say, the new language classifier is 1/10th the size (only 70ish MB now instead of 700), and actually a bit more accurate than its predecessor. The new address parser is larger, like 1.8GB on-disk/in-memory, but that's mostly because it trains on 10x more data, though there are some sparsity tricks there as well to keep its size under control. That is to say, the size is now under 2GB (unzipped, download size is around 750MB) if that number magically changes anything.
Cheers!
./al

Sweet; thanks! I'll open a thread to see if it makes a difference to CRAN, although tbh I suspect the answer is likely to be 'nope'. Generally they'd almost certainly wanna see a really, really streamlined form :(. But I'll find out!

Great!
We are interested in using libpostal on Windows. Now that the snappy and sparkey dependencies have been removed, this should be easier. Any suggestions on how to go about this? We don't want to build from MinGW since we use Visual Studio.
libpostal is not thread-safe but is there any way we can make it so by adding mutexes and such to the code? Would this be a major rewrite? We have a use case of worker threads parsing several addresses each (not a lot) so we would like to be able to load the models once and share them across threads.

These questions seem to be for libpostal proper, rather than the R bindings, no?

@BenK10 Windows is maybe possible now. As I've said before, I have zero Windows dev machines and frankly have neither used nor thought about Windows in years, but happy to accept patches if anyone gets a build working.
In saying libpostal is not thread-safe, it doesn't mean that there's no possible way to access it from a threaded program, it just means "it's up to you, the caller, to wrap your calls to libpostal in a mutex or else the behavior is undefined." The Java binding for instance can be used within a threaded server because all the calls to libpostal are synchronized methods.
The C library itself shouldn't have to rope in pthread, add the overhead of holding mutexes per call, and make all that work cross-platform just for the few people who are using it from threaded environments (that would hurt performance in the single-threaded case e.g. Python or NodeJS). As far as making libpostal multi-threaded, the only good reason to do that would be for performance and the library can already do > 10k addresses per second. In anything other than optimized C/C++, the calling code is almost certainly slower than that and if there were a situation where libpostal was a bottleneck, that would mean the workload was large enough to be pegging the CPU to the ceiling (not ideal in most multithreaded environments) which would probably call for sharding across multiple processes/machines anyway.

@thatdatabaseguy
Let's say I use the C API. In a threaded program, would each thread have to do its own setup/teardown of libpostal? Is it possible to instead have a master thread that does the setup once, then spawns worker threads that do mutexed calls to parse_address()? Put another way, is there a way for the child threads to inherit their parent's context so they don't need to each load their own copy of libpostal?

@BenK10 definitely, that's how it's intended to work. The setup functions should be called once per process at the beginning of the program and the teardown functions should be called once at the end. In between it's fine to create multiple threads and call libpostal_parse_address from them as long as they implement their own locking.

I see. Thanks for clarifying that.


Fix control_flow_ops import

Old access was not working on new version of Tensorflow. This should
work for all versions.

LGTM.


todo-app

written in golang
Signed-off-by: Nitish Malang<EMAIL_ADDRESS>

please accept my pr

Not relevant


415 (Unsupported Media Type)

Nginx image problem with https
415 (Unsupported Media Type)

did you config the nginx.conf right? plz give more detail so we can figure it out

resolved, config error. Thanks


Exploding mobs drop their drops when exploding (if using explosion_radius)

I tried using the explosion radius parameter for the exploding mobs and I noticed that for example if I set it at 3 then when the mob explodes it also drops its items. This is not the desired behaviour. It should drop its items only when killed.

Fixed :)


Improve ABI parsing for proxies initialization

Fixes https://github.com/zeppelinos/zos/issues/194

Closing since I cannot assign you as reviewer, because you opened it :-P


Add a source <file> option to rat configuration

Source will load a sibling of ratrc into the configuration. This for
the configuration to be split into multiple files to prevent ratrc
from becoming unwieldly

Thanks @jordansgrant! I made a couple little wording modifications and merged it as 15ff5973178f833cadfbce3b46825d416039ddb4


observability dashboard of wasi modules and the data streams

This is a bit hgh level but i will try to explain my use case.
Also i digged a bit into the docs, issues and code, but i dont think this is a duplicate ???
I DID FIND A DIG ABOUT A CONTROL PLANE HERE: https://github.com/fermyon/spin/pull/417#discussion_r863228069
I think spin is amazing and i want to build some gui tooling to allow dev to have some insight to what spin is doing.
Sort of like a dashboard that has

event when new modules loads / changes ( part of hot reloading issue).
ability to inspect the data flowing in and out of the pipes ( http, redis, other future ones ).
ability to visualise the flow between the modules.

Because Spin allows a sort of micro service development pattern, being able to "see" what is happening acts as a bit of a debug helper. It would probably have many other use cases also.
Because different dev will want perhaps different things in their dashboard, it would be good is this was a designed as a sort of control plane API pushing over websockets or QUIC web transport.
Here is an example BUS that could tap into SPIN control plane for example https://github.com/aperturerobotics/bifrost.
It has many serialization and transport options. Its also able to change bindings at runtime or have many transport bindings to the same source data.  The reason i added this is to show the intent of what i would use to build a dashboard on top of spin.
As i write this its almost reminding me of the Envoy control plane, which is a huge beast.
I am also wondering is some of this crosses over with hippo: https://github.com/deislabs/hippo
Anyways would be cool to here other thoughts on this.

As a bit of background on the control plane discussion, there is also #144 - the title of which is a bit misleading, but it does start to explore some of the roles in Spin, how they might be decomposed, and the possible relationship with Hippo.  It's a conversation we need to pick up for sure!


[RFR] Upgrade to React 16

[x] upgrade to React 16
[x] upgrade to enzyme 3
[x] Fix tests that break
[x] Fix warnings in tests

Looks like you missed a warning though:

Warning: Failed prop type: The prop refreshView is marked as required in List, but its value is undefined.

in packages/react-admin/src/mui/list/List.spec.js

No, it will be fixed in another PR - removing a deprecated feature


Unable to run tests for Dice DB by following the readme guide

I am unable to run Dice DB tests via the commands documented in the README and the Dev Setup guide.
How to reproduce
cd dice

go test ./...

go test ./...
?       github.com/dicedb/dice    [no test files]
?       github.com/dicedb/dice/config    [no test files]
?       github.com/dicedb/dice/core/iomultiplexer    [no test files]
?       github.com/dicedb/dice/server    [no test files]
?       github.com/dicedb/dice/storm/set    [no test files]
?       github.com/dicedb/dice/testutils    [no test files]
2024/07/07 22:42:30 possible cross protocol scripting attack detected. dropping the request.
--- FAIL: TestGetOrCreateBloomFilter (0.00s)
    bloom_test.go:135: nil or wrong error while fetching non existing bloom filter - key: bf1, opts: &{errorRate:0.01 capacity:1024 bits:0 hashFns:[] bpe:0 indexes:[]}, err: <nil>
FAIL
FAIL    github.com/dicedb/dice/core    0.299s
ok      github.com/dicedb/dice/core/dencoding    (cached)
2024/07/07 22:42:30 starting an asynchronous TCP server on <IP_ADDRESS> 8379
panic: test timed out after 10m0s

Expected behavior
Expecting the tests to run as mentioned in the docs

I believe @arpitbbhayani just addressed this. I will try out the new instructions.
https://github.com/DiceDB/dice/pull/131/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R64

@yashs360 The issue still persists. I am able to replicate the issue locally. With my latest changes, I made the setup simpler and more consistent across all tests.

I am facing 2 issues -

Bloom filter fails, i think it might be flakey
Starting webserver just hangs and times out after a few mins

TestGetOrCreateBloomFilter is flakey. Passes in a few attempts.

Issue resolved by change ⬆


infer quandary question

Hello,Infer developers!
I am trying to use the quandary under infer for taint analysis. My test sample is as follows.

The content of the inferconfigure file is as follows,

but the analysis cannot find the tainted process from a to c.

What is the reason for this? How to solve? Thank you, looking forward to your big reply

I think the problem is that kind is supposed to be a classification for the source/sinks (e.g. UserControlledData, not a local variable name.
In the Quandary config, quandary-sources taints the return value of the given procedure and quandary-sinks taints the input parameter s of the given procedure. I suspect that if you rewrite your example code to something like this:
public class SqlInjection {
  public static void Test() {
    int a = source();
    int b = a + 2;
    int c = b;
    sink(c);
  }

  native int source();

 native void sink(int i);

, Quandary will report.

I think the problem is that kind is supposed to be a classification for the source/sinks (e.g. UserControlledData, not a local variable name.
In the Quandary config, quandary-sources taints the return value of the given procedure and quandary-sinks taints the input parameter s of the given procedure. I suspect that if you rewrite your example code to something like this:
public class SqlInjection {
  public static void Test() {
    int a = source();
    int b = a + 2;
    int c = b;
    sink(c);
  }

  native int source();

 native void sink(int i);

, Quandary will report.

infer not report.Can you give a detailed example of infer quandary analysis?thanks


Fix #537 - Add surge.sh preview GHA

Fixes #537

Description:
PR to get back with our some claimed guides preview! Please note that the CI will also fail if you don't fix the references and other buggy code in the adoc pages.
Depending on:

https://issues.apache.org/jira/browse/INFRA-25514
https://issues.apache.org/jira/browse/INFRA-25513

Please make sure that your PR meets the following requirements:

[x] You have read the contributions doc
[x] Pull Request title is properly formatted: Issue-XYZ Subject
[x] Pull Request title contains the target branch if not targeting main: [0.9.x] Issue-XYZ Subject
[x] The nav.adoc file has a link to this guide in the proper category
[x] The index.adoc file has a card to this guide in the proper category, with a meaningful description

How to backport a pull request to a different branch?

In order to automatically create a backporting pull request please add one or more labels having the following format backport-<branch-name>, where <branch-name> is the name of the branch where the pull request must be backported to (e.g., backport-7.67.x to backport the original PR to the 7.67.x branch).

NOTE: backporting is an action aiming to move a change (usually a commit) from a branch (usually the main one) to another one, which is generally referring to a still maintained release branch. Keeping it simple: it is about to move a specific change or a set of them from one branch to another.

Once the original pull request is successfully merged, the automated action will create one backporting pull request per each label (with the previous format) that has been added.
If something goes wrong, the author will be notified and at this point a manual backporting is needed.

NOTE: this automated backporting is triggered whenever a pull request on main branch is labeled or closed, but both conditions must be satisfied to get the new PR created.

LGTM, looks like https://issues.apache.org/jira/browse/INFRA-25513 is still waiting.
I understand the infra tickets need to resolved for this to work, but I am not sure if I am able to test this

@domhanak as soon as those tickets are solved, I'll rerun the actions and you can verify the preview website.

@ricardozanini in that example it seems intentional for these to be used these this, way. I did not find any definition prior to their use

@domhanak I'm merging this since I need to verify if the preview workflow runs. And it will only run if the workflow is in the default/main branch: https://github.com/orgs/community/discussions/25288


Final implementation: Screensharing for android, ios and partially windows.

@tompi
Android: OK

iOS: OK, but it doesn't work with the app in the background, it's possible to share screen only with the transmitter app activated, microsoft intends to fix this limitation through an extension, so I added another project (TestSample.iOS.ScreensharingExtension) to the solution, it will help thereby.
Windows: It is necessary to wait for the next version of the sdk because the method to start the screensharing is not available.
P.S: I haven't added an on-screen button to use the feature yet, but it's in the roadmap.

Hey @andersonvieiragomeslopes
Im sure this is fine, but just wondering about the commented out code mentioning the CallClientHelper:
'''
CallClientHelper.FillFrame
'''
Are you waiting for something in the helper?

Hey @andersonvieiragomeslopes
Im sure this is fine, but just wondering about the commented out code mentioning the CallClientHelper:
''' CallClientHelper.FillFrame '''
Are you waiting for something in the helper?

Hi, @tompi.
This serves to send custom frames, for example: transmit frames of some byte array, but honestly I don't know if anyone would have a specific case like that.

Another thing I was thinking about, I suppose we should have a two branches more, one for beta and one for alpha?
This wound make it much easier to maintain nugets of alpha/beta/official at the same time...
If you agree, i will branch out next time ms releases something new.

Of course, it would be great!


CORS error when contacting Google Maps

Hi,
Does someone know the reason of this error and how can I solve it?

Thanks

Is there someone here?

Hi! Please ask debugging questions on our StackOverflow tag:
https://stackoverflow.com/questions/tagged/google-maps-api-3


Create "Managing State" Document

Current Situation
The docs are still unfinished. The next major set of sections to complete is "Managing State"
Proposed Actions
Write the "Managing State" documentation as per the React docs: https://beta.reactjs.org/learn/managing-state
Work Items
Write the following sections.

[ ] Managing State

[ ] Reacting to Input with State
[ ] Choosing the State Structure
[ ] Sharing State Between Components
[ ] Preserving and Resetting State
[ ] Extracting State Logic into a Reducer
[ ] Passing Data Deeply with Context
[ ] Scaling Up with Reducer and Context

Closing this in favor of the docs rewrite #863


Can't create mongodb secret-engine

Describe the bug:
I want to use the configurer to create a db secrets engine (MongoDB) for dynamic creds.
Expected behaviour:
I expect a db engine called "mongo" to be created with a set of roles that can be used to dynamically create creds.
Steps to reproduce the bug:
I have installed vault using the bank-vaults operator in my security namespace. Here's my config:
apiVersion: "vault.banzaicloud.com/v1alpha1"
kind: "Vault"
metadata:
  name: "vault"
  namespace: security
spec:
  size: 1
  image: vault:latest
  annotations:
    common/annotation: "true"
  vaultAnnotations:
    type/instance: "vault"
  vaultConfigurerAnnotations:
    type/instance: "vaultconfigurer"
  vaultLabels:
    example.com/log-format: "json"
  vaultConfigurerLabels:
    example.com/log-format: "json"
  serviceAccount: vault
  serviceType: ClusterIP
  volumes:
    - name: vault-file
      persistentVolumeClaim:
        claimName: vault-file
  volumeMounts:
    - name: vault-file
      mountPath: /vault/file
  caNamespaces:
    - "security"
  unsealConfig:
    options:
      preFlightChecks: true
      storeRootToken: true
    kubernetes:
      secretNamespace: security
  config:
    storage:
      file:
        path: "${ .Env.VAULT_STORAGE_FILE }"
    listener:
      tcp:
        address: "<IP_ADDRESS>:8200"
        tls_disable: false
        tls_cert_file: /vault/tls/server.crt
        tls_key_file: /vault/tls/server.key
    telemetry:
      statsd_address: localhost:9125
    ui: true
  externalConfig:
    policies:
      - name: allow_mongo
        rules: path "mongo/*" { capabilities = ["read", "update", "list"] }
      - name: allow_secrets
        rules: path "secret/*" { capabilities = ["create", "read", "update", "delete", "list"] }
    groups:
      - name: admin1
        policies:
          - allow_secrets
        metadata:
          privileged: true
        type: external
      - name: admin2
        policies:
          - allow_secrets
        metadata:
          privileged: true
        type: external
    group-aliases:
      - name: admin1
        mountpath: token
        group: admin1
    auth:
      - type: kubernetes
        roles:
          - name: default
            bound_service_account_names: ["default", "vault-secrets-webhook", "vault"]
            bound_service_account_namespaces: ["default", "platform", "ctx-service-invoice", "automation", "security", "test"]
            policies: ["allow_secrets", "allow_pki", "allow_mongo"]
            ttl: 1h
    secrets:
      - path: secret
        type: kv
        description: General secrets.
        options:
          version: 2
      - type: database
        description: MongoDB for nga with mongo access
        configuration:
          config:
            - name: mongo
              plugin_name: "mongodb-database-plugin"
              connection_url: "mongodb+srv://{{username}}:{{password}}@nga-mongodb-svc.db/admin?ssl=false"
              allowed_roles: ["api-r", "api-w", "api-rw", "entity-rw", "webhooks-r", "webhooks-w", "godzilla"]
              username: "vault"
              password: "This.can.be.literally.anything.really."
          roles:
            - name: "api-r"
              db_name: "mongo"
              creation_statements: "{ 'db': 'admin', 'roles': [ {'role': 'read', 'db': 'service-invoice-api'}] }"
              default_ttl: "10m"
              max_ttl: "24h"
  vaultEnvsConfig:
    - name: VAULT_LOG_LEVEL
      value: debug
    - name: VAULT_STORAGE_FILE
      value: "/vault/file"
  istioEnabled: false
---
apiVersion: v1
kind: PersistentVolume
metadata:
  name: vault-file
  namespace: security
spec:
  capacity:
    storage: 1Gi
  accessModes:
    - ReadWriteOnce
  persistentVolumeReclaimPolicy: Recycle
  hostPath:
    path: /vault/file
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: vault-file
  namespace: security
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 1Gi

I think that's a pretty normal config. When I apply it I see vault, the UI works fine and I can log in and look around, and in the UI I can see the policies and the /secrets kv engine have all been created properly as per the config. I see no problems in connectivity.
What I do see is an error in the config pod:
{"level":"info","msg":"adding secret engine  (database)","time":"2022-05-08T08:31:17Z"}
{"level":"error","msg":"error configuring vault: error configuring secret engines for vault: error adding secrets engines: error mounting  into vault: Error making API request.\n\nURL: POST https://vault.security:8200/v1/sys/mounts\nCode: 405. Errors:\n\n* 1 error occurred:\n\t* unsupported operation\n\n","time":"2022-05-08T08:31:17Z"}
{"level":"info","msg":"Failed applying configuration file: /config/vault-configurer/vault-config.yml , sleeping for 1m0s before trying again","time":"2022-05-08T08:31:17Z"}

At the core of which is Unsupported Operation. I see no other errors in any other container in any other pod. I can see that the error is coming from vault itself. I have tried the same thing without the roles to narrow down the error, but I get the same result.
It might be worth noting that I can create the db with the vault cli like this:
vault secrets enable -path mongo database

vault write mongo/config/nga \
  plugin_name=mongodb-database-plugin \
  allowed_roles="vault,api-r,api-w,api-rw,entity-rw,webhooks-r,webhooks-w" \
  connection_url="$$(kubectl get secret mongodb -o json | jq '.data."connectionString.standardSrv"' | xargs | base64 -d)" \
  username="$$(kubectl get secret mongodb -o jsonpath='{.data.username}' | base64 -d)" \
  password="$$(kubectl get secret mongodb -o jsonpath='{.data.password}'  | base64 -d)"

vault write mongo/roles/api-r \
  db_name=nga \
  creation_statements='{ "db": "admin", "roles": [ {"role": "read", "db": "service-invoice-api"}] }' \
  default_ttl="5m" \
  max_ttl="10m"

Environment details:

Kubernetes version: v1.22.4
Cloud-provider/provisioner: AKS
bank-vaults version: latest at time of writing
Install method: helm for the operator

/kind bug

Actually, it gets stranger. I'm having a similar problem configuring PKI now:
    secrets:
      - type: pki
        description: Vault PKI Backend
        config:
          default_lease_ttl: 168h
          max_lease_ttl: 720h
        configuration:
          config:
            - name: urls
              issuing_certificates: https://vault-0.secuity:8200/v1/pki/ca
              crl_distribution_points: https://vault-0.security:8200/v1/pki/crl
          root/generate:
            - name: exported
              common_name: vault.vault
              create_only: true
              save_to: "secret/data/pki/ca"
          roles:
            - name: default
              allowed_domains: localhost,pod,svc,default
              allow_subdomains: true
              generate_lease: true
              ttl: 30m

And this results in:
{"level":"info","msg":"adding secret engine  (pki)","time":"2022-05-09T08:15:08Z"}
{"level":"error","msg":"error configuring vault: error configuring secret engines for vault: error adding secrets engines: error mounting  into vault: Error making API request.\n\nURL: POST https://vault.security:8200/v1/sys/mounts\nCode: 405. Errors:\n\n* 1 error occurred:\n\t* unsupported operation\n\n","time":"2022-05-09T08:15:08Z"}

I'm having the same issue with pki, I'd be happy if I was getting better logging

Okay turns out I needed to add path key to my pki block there are a few other open related tickets

@dmolik Can you post an example, pls?

one thing to note here (bumped into this as I was attempting to find out how to enable the use of VSW with the mongodb plugin) is that the /secrets API endpoint is not where the database for mongodb is enabled. The mongodb endpoint will be where the -path argument specifies it to be and if not specified then the endpoint is /database. It appears that the OP was at least attempting to test this using the /secrets endpoint. Now I'm not sure this isn't still a bug as I'm not able to get the operator to create the endpoint (yet) as far as I can tell.


Component for Fontawesome Icons instead of ServiceNow Icons

Would like to develop and share a component that will allow use of fontawesome's free icons in a similar way to the now-icon component.

I've created fa-icon repo for you! ♥


MINOR: Fix DistributedHerderTest after adding reason to maybeLeaveGroup

Mocking of WorkerCoordinator was not precise after adding an argument (reason) to AbstractCoordinator#maybeLeaveGroup in KAFKA-8569:
Unit test case for DistributedHerderTest is now precise with respect to the expected argument and succeeds
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Minor unit test fix. cc @guozhangwang @abbccdda @hachikuji

Verified locally that unit test did not fail any more