Merlin could not show type hints in some situation

I was reading the source code of facebook's flow
I could figure out the type of the function run (source) as:

However, when I tried to find the type of program inside run, there's nothing:

The merlin configure file in the root of project:
S hack/**
S src/**

B _build/**

There's signature error on the file parser_flow.ml as above, but I could make this project and found no error as:
$ make
cd /Users/liweijian/wizard/flow/src/parser//../..; \
	ocamlbuild -no-links src/parser/parser_flow.cmxa
Finished, 21 targets (8 cached) in 00:00:01.

Thanks for the detailed report.
In the first case, you can see that fail:bool -> started appearing at the bottom of the screen.
The vim invocation magic slightly changed in latest version, it should work the git master.
For the second bug, I couldn't reproduce, it worked as expected.
Which versions of Merlin and OCaml are you using?

$ ocaml --version
The OCaml toplevel, version 4.03.0

$ ocamlmerlin  -version
The Merlin toolkit version 2.3.1, for Ocaml 4.03.0

And the vim version is

MacVim :  Custom Version 7.4 (104)

As you mentioned:

The vim invocation magic slightly changed in latest version, it should work the git master.

Should I update vim or merlin?
Thanks:)

4.03 is not well supported by Merlin 2.3.1.
To use the git version, try opam pin add merlin https://github.com/the-lambda-church/merlin.git.
Don't forget to unpin when an official version is released.
You can keep your version of vim (although at some point switching to neovim will make everybody's life easier :P).

I think I'd better switch ocaml back to 4.02.3:(
I tried to install neovim, however when I want to install a GUI for neovim, there's always an error:
ld: library not found for -lmsgpack
clang: error: linker command failed with exit code 1 (use -v to see invocation)
scons: *** [build/Neovim.app/Contents/MacOS/Neovim] Error 1
make: *** [all] Error 2

I may switch to neovim when its version 1.0 release.

Release should come in ~ two weeks :).


problem with SVG imange in asciidoctor-pdf

Hi All,
I got next issue.
code in asciidoctor file:
image::server_room_1_floor.svg[Room1,align="center", title-align="center", width="400%"]
in html out look good

but in pdf looks not so good

could you help me with correct inserting of SVG file.
SVG file added
Asciidoctor <IP_ADDRESS> [https://asciidoctor.org]
Asciidoctor PDF 1.5.0.alpha.16 using Asciidoctor <IP_ADDRESS> [https://asciidoctor.org]
Runtime Environment (ruby 2.5.1p57 (2018-03-29 revision 63029) [x64-mingw32]) (lc:UTF-8 fs:Windows-1252 in:UTF-8 ex:UTF-8)
server_room_1_floor.zip
Thanks

Hello @ssydorov ,
The way you use to include SVG seems correct. Here problem with interpreting SVG by prawn-svg library which is used for reading and rendering SVG .  These absent elements arerepresented by image svg elements that include embededed png in base64 encoding. This seems supported (from my experince). I  suggest you create an issue for prawn-svg library, probably the maintaineter can help you.

@AlexanderZobkov Exactly. Asciidoctor PDF can only do what prawn-svg supports.

This can be resolved by upgrading prawn-svg. I will make that upgrade as part of the next release.

It turns out, the data-uri is malformed. In your SVG, the data-uri is written as:
href="data:image/PNG;base64,..."

If you change PNG to lowercase, it works.
href="data:image/png;base64,..."

Then your image looks exactly as it should.
I'm going to report this upstream (see https://github.com/mogest/prawn-svg/issues/108) and close the issue here since there is a workaround.


Two more error to be retried

I think these two errors should also be retried

This makes sense @ivanprado.
I actually think all errors starting with Proxy error should be retried.

Thank you ·@kmike for the review!


hide and show selected sticker not remove it

hide and show selected sticker not remove it
is it possible to hide and show a selected sticker not remove it totally

You can set
realBounds = new Rect(0,0,0,0); to hide the sticker
and again when you want to show it set
realBounds = new Rect(0, 0, getWidth(), getHeight());

when first time click on sticker it display small icon but when i again click than it must be remove... How ???

Create these two function:-
public void hideSticker(Sticker sticker){
if(stickers.contains(sticker)){
sticker.setAlpha(0);
}
invalidate();
}
public void showStickers(sticker){
if(stickers.contains(sticker)){
sticker.setAlpha(255);
}
invalidate();
}


Amount validation in Transfer screen

When entering amount on
Mozilla:

[ ] valid only 0.001, all the other with a dot is invalid
[ ] user is able to add more then 18 digits after comma
[ ] more then 6 zeros after comma is invalid
[ ] Input Spinners is seen in amout

Chrome:

[x] more then 13 zeros after dot is invalid

@CedrikNikita are you referring to the desktop version OR mobile Mozilla/Firefox?


pycurl 7.45.1

Update pycurl to 7.45.1

pycurl version 7.45.1

[x] check the upstream
https://github.com/pycurl/pycurl/tree/REL_7_45_1

[x] check the pinnings

setuptools is mentioned
https://github.com/pycurl/pycurl/blob/REL_7_45_1/setup.py#L14
wheels is mentioned
https://github.com/pycurl/pycurl/blob/REL_7_45_1/winbuild.py#L104
pip is mentioned upstream
https://github.com/pycurl/pycurl/blob/REL_7_45_1/appveyor.yml#L104

[x] check the changelogs
Most of the changes mentioned were new features and bug fixes

Fixed build against libcurl < 7.64.1 (patch by Scott Talbert).

https://github.com/pycurl/pycurl/blob/REL_7_45_1/ChangeLog

[x] additional research
there are no open issues currently mentioned in the upstream at the time of the review
https://github.com/conda-forge/pycurl-feedstock/issues

In addition the home url seems to only work with http instead of https
home: http://pycurl.sourceforge.net/

[x] verify dev_url
https://github.com/pycurl/pycurl

[x] verify doc_url
http://pycurl.io/docs/latest/index.html

Note that the doc_url does not seem to work with https it only seems to work with http

[x] license is spdx compliant

One License is LGPL-2.1-only
https://github.com/pycurl/pycurl/blob/REL_7_45_1/COPYING-LGPL
https://spdx.org/licenses/LGPL-2.1-only.html
One License is MIT
https://github.com/pycurl/pycurl/blob/REL_7_45_1/COPYING-MIT
https://spdx.org/licenses/MIT.html

[x] license family

[x] verify the build number

[x] verify setuptools

[x] verify wheel

[x] pip in the test section

[x] verify the test section

Results:
Based on the research findings and the results we can conclude
that it is safe to update pycurl to version 7.45.1


API to tapping Error

Hello,
For tapping value we can use get, for tapping both value and error we can use tap. But there is no api for tapping just error
So we have to use tap with check inside:
promise.tap { result in
    guard case .rejected(let error) = result else {
        return
    }
    // use error
}

If you agree, can perform PR for this

Can you provide example code that justifies this addition?

I guess I have recently found a situation this would be useful. But I just used recover. Using recover here was a little unwieldy, but still I am hesitant to add more API that makes learning PromiseKit less straight forward.

I would to have this addition as well. recover would make the chain success however we want to do something if error happens but couldn't use catch as catch terminate the chain.

recover would make the chain success

You can re-throw:
.recover { error -> Promise<Foo> in
    // do something
    throw error
}

Is it fine we will have side effects inside recover?

@mxcl yeah true, but it's not so readable as recover is meant to recover from an error and return a valid value, so when I read recover I would expect that. But throwing an error again in recover means that we are not really recovering and it's a bit confusing.
I think something like this would be more readable. no?
.grab { error in
    print("Do something")
}

could be grab, check, grasp

I agree it's more readable, but I have already specified my concerns above. My concerns would be mitigated somewhat with a good name for the function.

Is it fine we will have side effects inside recover?

I don't really understand; the same caveats apply to whatever you do inside the function as for all other PromiseKit handlers.

We have good places for side effects (like updating UI) done/catch/tap/get/ensure
Other functions like map/then/recover` should just modify promise, without any side effect

It's as fine to have side-effects that affect UI or global state in any PromiseKit handlers, typically though it is a better pattern to avoid this until the end of the chain though, since it allows you to reason about the process better, 1) set UI state 2) promises 3) set UI state.
Therefore, it doesn't matter if you modify the state in map or then, it's just not typical since they are usually mid-chain functions.
There are no hard and fast rules in programming, just understandings and patterns.


Upgrade to the ripemd160 0.10 API

Motivation
ripemd160 0.10 has incompatible API changes, so we need to change Zebra's code when we upgrade.
We should only make these changes after librustzcash upgrades this dependency.
Related Work
Dependabot PR:

#3305

Hey team! Please add your planning poker estimate with ZenHub @conradoplg @dconnolly @jvff @oxarbitrage @teor2345 @upbqdn

We can do this when our other dependencies upgrade.


chore(release): 1.16.0

See CHANGELOG

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: 69156c4ffc52dfb11f04a9e3fb36886635e247fe
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Setting someone as admin won't instantly update their admin status in the web service or UI

To make someone admin we have to do a manual SQL update command. The UI caches our user information so we have to logout then login to apply the changes. The webservice also caches our user information, so we have to wait until the cache expires (see dockstore.yml) for the user to become an admin.

Looks like a duplicate of #472


chore(): delete npm scripts breaks

Short description of what this resolves:
Changes proposed in this pull request:

Ionic Version: 1.x / 2.x
Fixes: #

Thanks! We should probably fix this so they work instead of removing them though. :smile:

Close fix in https://github.com/driftyco/ionic/commit/837ca76dada5c46ca5431c85ee49d671ba4177b2#diff-b9cfc7f2cdf78a7f4b91a753d10865a2 thanks @brandyscarney


Event color change

Hello!
It seems I am unable the set a color of the event to be created. I also need to change the color after an action has been performed on an event(on click). How do I achieve this? Thank you!
I even tried your example, I logged the values parsed to the Event constructor and it prints the int representation (example: -49023 ), but I can't get to sort it out.

@cristidan94 thank you for your reporting!
I made a PR: https://github.com/khacpv/Calendar-Day-View/pull/2 to update event color.
to set color, you might need to use CalendarDayView.setEvents(List) after change data.
for example:
((CdvDecorationDefault) (dayView.getDecoration())).setOnEventClickListener(
     @Override
     public void onEventViewClick(View view, EventView eventView, IEvent data) {
          // change data (ex: set event color)
          ((Event) data).setColor(Color.RED);

          // refresh data
          dayView.setEvents(events);

or you can create your own Decoration to fit your desired.

@khacpv Thank you for your fast answer, now it does work just as you said it would, using the .setEvents(events) to invalidate/redraw.
One more question,

You can see in this screenshot I have some events. Each event has in its top left corner and top right corner some characters(in the left I have the date and in the right some chinese characters?).
I really want to set the visibility of this fields to Invisible/Gone.
Is there any way to do that?
Thanks again for the support!

@cristidan94 to hide header texts, you should create your own decoration. Then find and hide them:
public class CustomDecoration extends CdvDecorationDefault {

    public DayViewDecoration(Context context) {
        super(context);
    }

    @Override
    public EventView getEventView(final IEvent event, Rect eventBound, int hourHeight,
            int seperateHeight) {
        final EventView eventView =
                super.getEventView(event, eventBound, hourHeight, seperateHeight);

        // hide event name
        TextView textEventName = (TextView) eventView.findViewById(com.framgia.library.calendardayview.R.id.item_event_name);
        textEventName.setVisibility(View.INVISIBLE);

        // hide event header
        TextView textHeader1 = (TextView) eventView.findViewById(com.framgia.library.calendardayview.R.id.item_event_header_text1);
        TextView textHeader2 = (TextView) eventView.findViewById(com.framgia.library.calendardayview.R.id.item_event_header_text2);

        textHeader1.setVisibility(View.GONE);
        textHeader2.setVisibility(View.GONE);

        return eventView;
    }

    @Override
    public PopupView getPopupView(final IPopup popup, Rect eventBound, int hourHeight,
            int seperateH) {
        PopupView popupView = super.getPopupView(popup, eventBound, hourHeight, seperateH);
        // popupView.show();
        CardView cardView = (CardView) popupView.findViewById(com.framgia.library.calendardayview.R.id.cardview);
        TextView textQuote = (TextView) popupView.findViewById(com.framgia.library.calendardayview.R.id.quote);
        TextView textTitle = (TextView) popupView.findViewById(com.framgia.library.calendardayview.R.id.title);
        ImageView imvEnd = (ImageView) popupView.findViewById(com.framgia.library.calendardayview.R.id.imv_end);

        // do something with views

        return popupView;
    }
}

Works like a charm!
Thank you, really useful library!

@cristidan94 to hide header texts, you should create your own decoration. Then find and hide them:
public class CustomDecoration extends CdvDecorationDefault {

    public DayViewDecoration(Context context) {
        super(context);
    }

    @Override
    public EventView getEventView(final IEvent event, Rect eventBound, int hourHeight,
            int seperateHeight) {
        final EventView eventView =
                super.getEventView(event, eventBound, hourHeight, seperateHeight);

        // hide event name
        TextView textEventName = (TextView) eventView.findViewById(com.framgia.library.calendardayview.R.id.item_event_name);
        textEventName.setVisibility(View.INVISIBLE);

        // hide event header
        TextView textHeader1 = (TextView) eventView.findViewById(com.framgia.library.calendardayview.R.id.item_event_header_text1);
        TextView textHeader2 = (TextView) eventView.findViewById(com.framgia.library.calendardayview.R.id.item_event_header_text2);

        textHeader1.setVisibility(View.GONE);
        textHeader2.setVisibility(View.GONE);

        return eventView;
    }

    @Override
    public PopupView getPopupView(final IPopup popup, Rect eventBound, int hourHeight,
            int seperateH) {
        PopupView popupView = super.getPopupView(popup, eventBound, hourHeight, seperateH);
        // popupView.show();
        CardView cardView = (CardView) popupView.findViewById(com.framgia.library.calendardayview.R.id.cardview);
        TextView textQuote = (TextView) popupView.findViewById(com.framgia.library.calendardayview.R.id.quote);
        TextView textTitle = (TextView) popupView.findViewById(com.framgia.library.calendardayview.R.id.title);
        ImageView imvEnd = (ImageView) popupView.findViewById(com.framgia.library.calendardayview.R.id.imv_end);

        // do something with views

        return popupView;
    }
}

i have to do this, but a got "com.framgia.library.calendardayview.decoration.CdvDecorationDefault cannot be cast to...."
after create my own decoration, how i implement yg own decoration? thanks


[CT-1505] [Feature] Freshness checks should repeat errored tests at the end

Is this your first time submitting a feature request?

[X] I have read the expectations for open source contributors
[X] I have searched the existing issues, and I could not find an existing issue for this feature
[X] I am requesting a straightforward extension of existing dbt functionality, rather than a Big Idea better suited to a discussion

Describe the feature
DBT's command dbt source freshness performs a test against all sources in a project. However if there are a long list of sources, say 70+, one error or warning gets lost in the results printed at the end. Additionally there is no text printed that lets a user know any test failed.

There were 2 failures and 2 warns on that run. I would like to propose a final paragraph similar to dbt test that lists all failed source checks, and lists warnings.
Describe alternatives you've considered
No response
Who will this benefit?
CI and Manual runs of source freshness checks will be easier to mentally parse with a summary block at the end of a run. Additionally printed text of the result, rather than only relying on exit codes, would be appreciated.
Are you interested in contributing this feature?
No response
Anything else?
No response

@jtcohen6 I'd be open to working on this

@kadekillary hooray! give it a go, let us know how it goes :)


Add option to provide global wrapper for each component example

It would be great to have a wrapper for each of the example files.
So if you define an example like this;
```example.html
<div class="hello">a</div>
```

and some option like
componentWrapper: "
{content}
"

you would get

a

in a final example file.
That is very useful for testing - this library works great with backstopjs (you can use example files directly as url in backstop) but if you have a hover shadow it won't get captured. Surrounding div would be great as it could generalize this so you don't even have to encode class selectors anywhere - provide global instead.

Added in v3.0.0


Filter Amazon devices from Amazon domain

What website(s) would this filter apply to?
amazon.ca amazon.com etc
What content should be blocked?
On the Amazon Website, there's a deals section. They manage to put their devices in to each line so that you only see three or four products instead of 5. It's excessive. How many Echo's does one need in their house?
They also splice them into search results - the other day I searched for black plastic zip ties, and had 3 different versions of the Echo Dot show up as valid results.

What options should be offered?

Remove All sponsored devices - blacklist all devices (for Google and Apple Ecosystem homes)
Allow one device per page of any kind, first one that Amazon decides
Whitelist audio only devices - no TV's, displays, etc.
Whitelist only video devices - no Echo's, etc.

Did you write a custom uBlock filter already?
I R smooth brane, don't know how :(
Additional notes
What kind of dinosaur is always on the run from the police?
Doyouthinkhesaurus

Hello @ThatJeffGuy, thanks for your idea.
That looks pretty specific, unless someone steps up to maintain a list of these products, it will be difficult to keep it up to date.
Would a template to configure product listing matching a list of words / regexp work for this use case? We'll need to check the different layout types (deals, search, categories...), hopefully there are not too many.

I don't think it should be difficult to implement, but then again, I'm a electrical engineer, not a software engineer like yourself lol
They're all called the same model, just different version numbers - Echo Dot 4th Gen, Echo Show 2nd Gen, etc.

Sorry for the delay @ThatJeffGuy, I need to also think about non-english countries, where the device naming might be different.
I think I'll use the presets feature (used in https://letsblock.it/filters/search-results) to split the work in two:

a "Hide articles on Amazon" template that allows users to match any product, by word match and/or regular expression. It will need rules for a lot of different pages
presets for Amazon devices and Amazon Basics (any other preset comes to mind?)

If you have some time to help, could you please give me:

a list of device names you'd like to see blocked
a list of pages the filter should be active on (its not only search, there's also the "related products" carousel on product pages for example)

Filter is deployed, don't hesitate to suggest other product presets, or signal pages where the filter should act.

It would appear, likely because Prime Day is coming, that they've changed things significantly. Double checked and even deleted and re-added, in case my filters were out of date, but no change.

Thanks for the ping @ThatJeffGuy, it's just a change in their class names. Could you please confirm that the following rule works for you?

##div.deals-react-app div[class^=DealContent]:has-text(/\bEcho (Dot|Show|Studio|Sub|Buds|Auto|Flex)\b/):upward(div[class^=DealGridItem-module__dealItem])

I'll update the templates.

Seems to have cleaned it up, but a few more snuck through.

Yep, refresh got the 4th gen gone, but still one more I can see:

Fire tablets are not in the current amazon products presets, so that's a different issue.
Could you please open a separate issue with products I missed (ideally with a product page link), so that I expand it?

Yep, sorry for cross contaminating threads. Will start it tomorrow at work 😊
Thanks!
┌П︵Î∏П┐
Jeff Wilton

From: Xavier Vello @.>
Sent: Thursday, July 7, 2022 5:43:00 PM
To: letsblockit/letsblockit @.>
Cc: ThatJeffGuy @.>; Mention @.>
Subject: Re: [letsblockit/letsblockit] Filter Amazon devices from Amazon domain (Issue #146)
Fire tablets are not in the current amazon products presets, so that's a different issue.
Could you please open a separate issue with products I missed (ideally with a product page link), so that I expand it?
—
Reply to this email directly, view it on GitHubhttps://github.com/letsblockit/letsblockit/issues/146#issuecomment-1178258695, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALXWKW3PXQ3HX34MBD5RDRTVS5FOJANCNFSM5VYHSM7A.
You are receiving this because you were mentioned.Message ID: @.***>

Luckily, I'm in the office all this week so I can you this info relatively quickly.
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Xavier Vello @.>
Sent: Sunday, June 5, 2022 12:54:11 PM
To: letsblockit/letsblockit @.>
Cc: ThatJeffGuy @.>; Mention @.>
Subject: Re: [letsblockit/letsblockit] Filter Amazon devices from Amazon domain (Issue #146)
Sorry for the delay @ThatJeffGuyhttps://github.com/ThatJeffGuy, I need to also think about non-english countries, where the device naming might be different.
I think I'll use the presets feature (used in https://letsblock.it/filters/search-results) to split the work in two:

a "Hide articles on Amazon" template that allows users to match any product, by word match and/or regular expression. It will need rules for a lot of different pages
presets for Amazon devices and Amazon Basics (any other preset comes to mind?)

If you have some time to help, could you please give me:

a list of device names you'd like to see blocked
a list of pages the filter should be active on (its not only search, there's also the "related products" carousel on product pages for example)

—
Reply to this email directly, view it on GitHubhttps://github.com/letsblockit/letsblockit/issues/146#issuecomment-1146847541, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALXWKW2NGZMQDL55JLONIETVNTLTHANCNFSM5VYHSM7A.
You are receiving this because you were mentioned.Message ID: @.***>


Chore/Add claims/dashboard navigation bar to other pages

Issue fix Chore/Add claims/dashboard navigation bar to other pages #166
Added the navigation bar to following pages

view-claim
search

Checklist

[ ] Unit tests
[ ] Code coverage checked
[ ] Coding standards
[ ] Error Handling
[ ] Security/performance considered?
[ ] Deployment changes considered?
[ ] README updated

added a partial for navigation bar


Animation oversight

Soul torches have the default holding animation instead of having the same animation as the normal torches do.

Would it be possible to use an item tag for items you hold in front of you, maybe a torch tag?
I have my own torch mod and a user is asking for my custom torches to be held out in first person, but it looks like that's from this mod.
If you just point me to the code that handles certain items being held in front, I could try a PR myself.

Oh this issue is on the wrong mod, so I forgot to close it. The item holding logic is in not enough animations and can be freely configured in the config file. https://github.com/tr7zw/NotEnoughAnimations/blob/1.17/NEAShared/src/main/java/dev/tr7zw/notenoughanimations/config/Config.java#L12 feel free to make a pr/open an issue with the item ids of the custom torches to be added there.

thanks


Resolves #2239 by adding a compass arrow for direction of nearest item

Description (required)
The CTA for the nearest item was missing the direction the user needed to head in. This PR aims to add a compass arrow to aid the user in moving in the direction of the nearest item without knowing where North is.
Fixes #2239
What changes did you make and why?
Computed bearing between the current location and the location of the nearest item and set the initial rotation of the compass arrow to the calculated bearing. Using the onSensorChanged, calculated the degree of rotation of the device and rotated the arrow accordingly, so that if the device is rotated by 30 degrees, the arrow does the same in the opposite direction.
Tests performed (required)
Tested prodDebug on OnePlus Nord CE 2 Lite with API level 31.
Screenshots (for UI changes only)
Example showing the accuracy of compass arrow:

Videos showing the rotation of the compass arrow with the device's rotation.
Dark Mode:
https://github.com/commons-app/apps-android-commons/assets/142137555/db6d20e2-3901-49c9-a661-5c6b58216248
Light Mode:
https://github.com/commons-app/apps-android-commons/assets/142137555/897868f0-3789-4262-916c-75aa1a0eabbd

In order to fix the unit tests, would you mind rebasing (or pulling) from main? Thanks :-)

Thank you so much Nicolas!! It's my pleasure to be of some use in this project ;)


add unittest to check invalid behavior, fix import

Thanks for merging my last request. You are right that modifying self.package_paths is not the solution I wanted. But your code also modifies self.package_paths. If I understand your intention correctly I have found an bug in your code:
package_paths = self.package_paths
now package_paths is a reference to self.package_paths. I think your intention was to use a copy. I add a unittest to show the different behavior. I add 2 fidl packages. The first packages conatin of 2 files P.fidl and definitions.fidl. This is a valid package. The second packgage contains only P2.fidl. surprisingly p2.fidl tries to import definition.fidl from the first package. In this test I do not add any inlcude directories. So the import have to result in an error. But in the current code it found definition.fild because of the first import. With my modification it result in an "Module not found" exception.

Coverage decreased (-0.1%) to 94.835% when pulling 7f9c4e27daecc4a147a887ef4403c8ce31c47b5d on jb090979:feature/fix_package_import into d759c5d5e9156c826e8e2650a01a53a2a4289584 on zayfod:dev.

I'm not sure why the Travis CI build failed. It works on my computer. Culd it be that I add some test fidl files and Travis do not recognize these files?

Good catch. I messed this up.
The tests are failing because the current working directory when tests are executed is the root of the project.
I am working on integrating this fix.


Contradiction between collapsible docs and OSM source

the OSM() source has a default behavior of hidding the attribution behind a button in the bottom right corner even on large screens (see it here https://openlayers.org/en/latest/examples/simple.html )
On https://openlayers.org/en/latest/apidoc/module-ol_control_Attribution-Attribution.html, it reads

If you use an OSM source, [collapsible] should be set to false — see href="http://www.openstreetmap.org/copyright">www.openstreetmap.org/copyright OSM Copyright —

Shouldn't the OSM source create an Attribution object with collapsible set to false on its own, instead of providing only a copyright string ?

ol/control/Attribution is responsible for displaying the attributions that the source provide. A source does not create an attribution control. And currently sources cannot override that behavior of the control.
I agree that it would make sense for sources to be able to hint the attribution control to not collapse the attribution, and we'd accept a pull request for that.


eduke32: fix version number, use string interpolation for src.url

Motivation for this change
This fixes mistakes I've introduced in 7798a4e19cc843874e6329e0a980de7515945923. Specifically:

It uses the correct version number;
It uses string interpolation in src.url (again)

Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

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


Is it possible to skip some controllers while running the rake task?

I have 4 APIs, of which 3 need to be clubbed together and 1 needs to be separately documented. So I need 2 different api_docs.json files. Is there a way I could tell the rake task to skip a particular controller?

Sorry, there is no support for that. You might be able to generate the documents and then in a post step process them in some way that allows you to separate them out.

@richhollis Is this feature available now?


Update ContributorsList.js

HI I AM A FIRST YEAR STUDENT!
TRYING MY BEST TO LEARN NEW TECH STACKS FROM THIS PROJECT
DON'T HAVE A ACCOUNT ON LINKEDIN YET.

No problem!!
Firstly star the project !!

Then only it will be merged

Done
On Thu, 8 Dec, 2022, 19:14 Pranjal Agarwal, @.***>
wrote:

Then only it will be merged
—
Reply to this email directly, view it on GitHub
https://github.com/Pranjal360Agarwal/ApnaBharat-Bus-Booking-Reservation-System/pull/8#issuecomment-1342759465,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4QMZ2XMC5LIEQPE6HOPYRLWMHQ3NANCNFSM6AAAAAASYEWWPM
.
You are receiving this because you authored the thread.Message ID:
<Pranjal360Agarwal/ApnaBharat-Bus-Booking-Reservation-System/pull/8/c1342759465
@github.com>


feat: Add success notification on "set pinning" action

Currently, when we attempt to set pinning for a file, it will display a failure notification on failure, but we don't get any obvious feedback when the operation succeeds.
Example:
Currently, when I pin a file using a custom pinning provider (estuary) it succeeds, and the pin.status is "queued" but there is no visual indicator for this scenario. There are a few things going on here:

We need a success notification
We have a bug when displaying and handling "queued" pins

related to https://github.com/ipfs/ipfs-webui/pull/1919

Hey @SgtPooki is something like this what you had in mind (with a valid reason ofc)?

Do you want a single message for pin/unpin events or would you prefer separate messages (ex successfully pinned / successfully unpinned).

@xrazis Yea that's what I had in mind. I think a separate message for pinned/unpinned would be ideal, but if that's much more work than we can stick with a singular message for now


Cpuset ignore 1.4

Fix for 1.5.0 branch to ignore invalid guest cpuset request.

/test

Fix for 1.5.0 branch to ignore invalid guest cpuset request.
1.5.0 ?

@devimc thank you , I copied and pasted from the other PR.


[FEATURE] Orthognalization on the complex object directly

This is my scipy version :
(devel.p9) bellec@p9-01:~$ pip show scipy
Name: scipy
Version: 1.7.1
Summary: SciPy: Scientific Library for Python
Home-page: https://www.scipy.org
Author:
Author-email:
License: BSD
Location: /home/esrf/favre/dev/devel.p9/lib/python3.8/site-packages
Requires: numpy
Required-by: bcdi, gwaihir, lmfit, nabu, PyNX, scikit-image, scikit-learn, xraydb, xrayutilities
My code for the object orthognalization (where obj is the complex object):
from scipy.interpolate import RegularGridInterpolator
def real_space_orthogonalization(obj, file_ref,
voxel_sizes_cubic=False,
final_roi = True, final_centering = True,
verbose = True, plot=False):
R, B_real_inv = compute_positions_inverse_matrix(file_ref, obj, plot=False)

# No need to interpolate far outside the object
roi = automatic_object_roi(obj,plot=False)
R = R[:,roi[0]:roi[1], roi[2]:roi[3],roi[4]:roi[5]]

# Create interpolation function
rgi = RegularGridInterpolator(
    (
        np.arange(-obj.shape[0]//2, obj.shape[0]//2, 1),
        np.arange(-obj.shape[1]//2, obj.shape[1]//2, 1),
        np.arange(-obj.shape[2]//2, obj.shape[2]//2, 1),
    ),
    obj,
    method="linear",
    bounds_error=False,
    fill_value=0,
)

# Compute automatic interpolation voxel sizes
voxel_sizes = compute_automatic_voxel_sizes(file_ref)
if voxel_sizes_cubic:
    print('force voxel size to be the same along all direction')
    voxel_sizes = np.ones(3) * min(voxel_sizes)
print('voxel size (Angstrom) : ', voxel_sizes)

# Calculate the "indices" matrix to interpolate
M = compute_matrix_to_interpolate(R, B_real_inv, voxel_sizes)

obj_ortho = rgi((M[0],M[1],M[2]), method='linear')

if final_centering:
    center_object(obj_ortho)

if final_roi:
    roi = automatic_object_roi(obj_ortho,plot=False)
    obj_ortho = obj_ortho[roi[0]:roi[1], roi[2]:roi[3], roi[4]:roi[5]]

if plot:
    plot_2D_slices_middle(obj, fig_title='before orthogonalization', fw=3)
    plot_2D_slices_middle(obj_ortho, fig_title='after orthogonalization (uncropped)', fw=3, crop=False,
                          voxel_sizes=voxel_sizes)
return obj_ortho, voxel_sizes

Your code :
def call(self, data: np.ndarray) -> np.ndarray:
"""
Wrap function to execute the interpolation as if the instance of
Interpolator3D was a callable.
"""
rgi = RegularGridInterpolator(
(
np.arange(-data.shape[0]//2, data.shape[0]//2, 1),
np.arange(-data.shape[1]//2, data.shape[1]//2, 1),
np.arange(-data.shape[2]//2, data.shape[2]//2, 1),
),
data,
method="linear",
bounds_error=False,
fill_value=0,
)
    # find the interpolated value of the grid which was defined in the
    # target space and then rotated to the original space
    interpolated_data = rgi(
        np.concatenate(
            (
                self.target_grid_in_original_space[0].reshape(
                    (1, self.target_grid_in_original_space[0].size)
                ),
                self.target_grid_in_original_space[1].reshape(
                    (1, self.target_grid_in_original_space[1].size)
                ),
                self.target_grid_in_original_space[2].reshape(
                    (1, self.target_grid_in_original_space[2].size)
                )
            )
        ).transpose()
    )

    # reshape the volume back to its original shape, thus each voxel
    # goes back to its initial position
    interpolated_data = interpolated_data.reshape(
        (self.extents[0], self.extents[1], self.extents[2])
    ).astype(interpolated_data.dtype)

    return interpolated_data

I don't understand why yours wouldn't work on complex object.
Maybe it does, but we talked about it and I don't remember exactly what was the conclusion. Maybe doing module and phase separately is better for the surface pixels? (The surface strain is not really important for my own BCDI data). You might have done this module and phase separation on purpose.

Sorry for the terrible formatting of the functions, can't get it clean

Resolved


Production and development builds

We should provide a development and production build disabling all the checks, warns, and verbosity that the dev version may have.

We already have it thanks to @sheepsteak with https://github.com/MozillaReality/ecsy/pull/217


disableHugoGeneratorInject is not respected by the RSS feed generator

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.111.3

Does this issue reproduce with the latest release?
Yes
The issue
There is a configuration flag called disableHugoGeneratorInject. This is currently respected by code in hugo/publisher/publisher.go to add/remove the generator information as part of the header in created HTML files.
But the flag is not respected in the default template for the RSS generator that unconditionally inserts <generator>Hugo -- gohugo.io</generator> into the rendered content.

For the HTML home page we inject a generator tag in the rendered HTML if it's not already there. There's no concept of injection in the RSS template, it's just there in the template -- if you don't want it, provide your own template.


Add bash completion for plugin install --alias

Ref: #29487
Please schedule for 1.13.0.
Ping @sdurrheimer for zsh completion

LGTM


[Joy][Table] Table is not being exported from @mui/joy

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
n/a
Current behavior 😯
The new Table component is currently not being exported from @mui/joy, so now this has to be done:
import { Box, Button, Card, Typography } from '@mui/joy';
import Table from '@mui/joy/Table';

Expected behavior 🤔
It should be possible to just do this;
import { Box, Button, Card, Table, Typography } from '@mui/joy';

Context 🔦
No response
Your environment 🌎
No response

Nice catch. Will be fixed in #36010


Doesn't work with string representations of timestamps

Hi,
thank you for this node. It's great!!
However it doesn't work fine when the input is a string representation of a timestamp (what is usual when receiving a timestamp through MQTT, for instance). Including a parseInt() of the payload would work fine with "1614715781000" and also with<PHONE_NUMBER>000.
In this line:
const date = new Date( +payload || 0 );
Kindest regards

Hi,
I am very pleased that you like the watch. I will check why strings are not taken as payload. Maybe there will be a new version soon.
Many greetings
Patrick

Hi,
just checked the behaviour. But I cannot find any bug? As expected does the plus-sign, in the line you mentioned, the casting to int. So any string-input is converted to int and is usable as a valid timestamp. What system do you have (Linux, Windows) and what version of node.js and Node-RED are you using?
Many greetings
Patrick


403 errors when running DotNet.Status.Web locally

When running DotNet.Status.Web locally, we get 403 errors attempting to log in and get tokens.

Release Note Category

[ ] Feature changes/additions
[ ] Bug fixes
[ ] Internal Infrastructure Improvements

Release Note Description

@garath do you know if this was fixed by another PR? (Looks like it according to the discussion on @mmitche's PR linked to this)

Yah this is sorted.


Parser apparently doesnt work for Ipv4 addresses

Is there not a parser for ipv4 whois records?
This is the code i am currently trying to run to output the properties returned from the parser.
client = Whois::Client.new(:timeout => 40)
domain = client.lookup("<IP_ADDRESS>")
p = domain.parser
msg = {}
puts "Parser class: #{p.class}"

Whois::Parser::PROPERTIES.each do |x_prop|
  begin
     value = p.send(x_prop)
      puts "Property #{x_prop}: #{value.inspect}"
      msg[x_prop] = value if value
  rescue => e
    puts "Error accessing #{x_prop}: #{e.message}"
  end
end

puts "Final msg: #{msg.inspect}"

And it returns unable to return a parser for property [disclaimer(example)]
This works fine for domains.

For IPs it would be more robust to use RDAP instead anyway (see https://github.com/jarthod/rdap)
As the whois-parser project will never be able to support and maintain all whois server formats in existence.
And unlike domains, all IPs are supported by RDAP already.

Thanks! I'm still new to this, i'll look into the RDAP protocol.
But in theory shouldn't there be only 5 WHOIS server formats - corresponding to the relevant RIRs? Or am I missing something

I think you are right, but that's still 5 more parsers to maintain. If you want to contribute them feel free but @weppos stopped maintaining this gem so you can't get the fix upstream AFAIK. I maintain a fork in https://github.com/jarthod/whois-parser which is much more up-to-date, but I personally use it as fallback only for TLD which do not support RDAP yet. So I believe for a use-case (IP only) which is already 100% supported by RDAP (I haven't tested all IPs but I think it is), it would be much easier and more reliable to use RDAP (you get structured and machine-readable JSON instead of text intended for human eyes).
Nonetheless if for some reason you prefer to implement the whois parser for RIR IPs, I'll happily accept a PR in my fork :)


Disable flights during morph

Run the Sandcastle camera example
Switch to CV.  Try to click "Fly to My Location" during the morph.
Switch to 2D.  The globe will disappear during the morph.  This does not happen if we don't click "Fly to My Location."

Instead of the globe disappearing, a developer error is thrown if you try to fly during a morph:
Uncaught DeveloperError: lookAtTransform is not supported while morphing.
Can we close this?

Can we fix the Sandcastle example to disable the flight while morphing?

Just kidding, this is actually still an issue.
In the camera example remove line 258
viewer.camera.lookAtTransform(Cesium.Matrix4.IDENTITY);
That's what was causing the crash.

@hpinkos should we keep this open after #4496?

@pjcozzi #4496 made it so the sandcastle example won't crash, but I feel like we should probably make changes to Camera.flyTo should wait until the scene morph finishes before creating the CameraFlightPath.  So I think this should stay open


Use ParameterReferences type for ParameterTable values

Summary
Changes ParameterTable value type from List[(Instruction, int)] to a new collection type, ParameterReferences.
ParameterReferences:

An (insertion) ordered set of instruction parameter slot references. Items are expected in the form (instruction, param_index). Membership testing is overriden such that items that are otherwise value-wise equal are still considered distinct if their instructions are referentially distinct.
Items are ordered by insertion, and may be read or deleted by sequence index. However, update by index and insert by index are not supported, since these actions inherently violate insertion order.

Details and comments
It's not actually necessary to update existing uses of ParameterTable or its values, but usage is updated in QuantumCircuit for performance (mostly to avoid creating lists that are then immediately spooled into ParameterReferences). See ParameterReferences docstring for more information.
Fixes #6725. ParameterReferences is both sequence-like (insertion order) and set-like, so there's no need to perform a linear search in _update_parameter_table to check existing references for every instruction parameter.

Tagging @jakelishman esp. for Python best practice insights :)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

56 of 59 (94.92%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.006%) to 83.123%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/circuit/parametertable.py
52
55
94.55%

Totals

Change from base Build<PHONE_NUMBER>:
0.006%

Covered Lines:
51947

Relevant Lines:
62494

💛  - Coveralls

Do you have benchmarks for improvement for it to hand?

I don't! I should have some time to get some numbers in the coming week, and will report back.

@jakelishman, I found at least one place that depends on ParameterReferences being seq-like. Here, for each reference, we need to look up the corresponding copy of the same reference in a new circuit(s).
https://github.com/Qiskit/qiskit-terra/blob/5ff5757a762a677baa7db2fde09559ee87a0c8dc/qiskit/opflow/gradients/circuit_gradients/param_shift.py#L208-L218
I'm not really sure if there's a good way to do this if ParameterReferences is no longer ordered, since ParameterReferences might (by design) contain multiple references that are equivalent, but not the same. We can't do any sort of lookup since we're dealing with a deep copy in the new circuit.
Any ideas on how we should proceed?

Here are the asv performance results for time_build_parameterized_circuit, which show a significant speedup for large numbers of gates that re-use a comparatively small set of parameters.
  84.6±1ms         74.6±1ms     0.88  circuit_construction.ParameterizedCircuitConstructionBench.time_build_parameterized_circuit(20, 2048, 8)
1.47±0.03s       1.20±0.01s     0.82  circuit_construction.ParameterizedCircuitConstructionBench.time_build_parameterized_circuit(20, 32768, 128)
   484±6ms          307±3ms     0.63  circuit_construction.ParameterizedCircuitConstructionBench.time_build_parameterized_circuit(20, 8192, 8)
14.8±0.06s       4.91±0.03s     0.33  circuit_construction.ParameterizedCircuitConstructionBench.time_build_parameterized_circuit(20, 131072, 128)
4.23±0.04s       1.23±0.01s     0.29  circuit_construction.ParameterizedCircuitConstructionBench.time_build_parameterized_circuit(20, 32768, 8)
   2.15±0m       5.02±0.03s     0.04  circuit_construction.ParameterizedCircuitConstructionBench.time_build_parameterized_circuit(20, 131072, 8)

Is there an asv test for a large number of gates with a large number of parameters?

@ewinston: Yeah, the same benchmark suite Kevin showed goes up to 131,072 gates x 131,072 parameters, but I'm guessing he just didn't show them here because there wasn't much change (and in total there's ~36 benchmarks in that suite).

@kevinhartman: sorry, I haven't had chance to look properly, but I feel like that code block there is logically just trying to match up the instructions between circuits, including from a main circuit.  I think it might be possible to modify the algorithm in that location a little such that it iterates over a index into the QuantumCircuit.data list, and then uses that index for each circuit to retrieve the instruction tuple, from which it can access the parameter table.  I'm not 100% sure, but I'd be hopeful we can change things on the algorithm side rather than requiring ParameterReferences to be sequence-like, because in the end, we don't really want circuit data to have a total ordering - the instruction flow is logically a graph, not a sequence.
(I get that my proposed solution uses the total ordering of data, but I'm mostly just pushing the issue down the line, because when we're ready to move the backing data structure of QuantumCircuit.data to a graph-like one, we'll have to solve these problems far more generally across Terra.)

I think it might be possible to modify the algorithm in that location a little such that it iterates over a index into the QuantumCircuit.data list, and then uses that index for each circuit to retrieve the instruction tuple, from which it can access the parameter table.

Hmm, alright! That's helpful. I'll give it a try.

(I get that my proposed solution uses the total ordering of data, but I'm mostly just pushing the issue down the line, because when we're ready to move the backing data structure of QuantumCircuit.data to a graph-like one, we'll have to solve these problems far more generally across Terra.)

I agree completely that it'd be nice to eliminate maintaining an arbitrary ordering of parameter references, at the very least.


[Bug] App Crash: NullPointerException

Device: Note 14 (Ulefone - Note_14), SDK: 31 (12), App: 2.8.2-alpha01 (137)java.lang.NullPointerException: Attempt to read from field 'N0.O N0.G.M' on a null object reference in method 'void N0.G.J(N0.G)'at N0.G.J(SourceFile:1)at N0.G.P(SourceFile:20)at N0.x0.h(SourceFile:5)at d0.y.a(SourceFile:11)at d0.J.P(SourceFile:26)at d0.a.N(SourceFile:3)at c0.u.j(SourceFile:51)at c0.u.i(SourceFile:6)at c0.y0.a(SourceFile:106)at c0.o.a(SourceFile:5)at c0.u.o(SourceFile:9)at L0.G.i(SourceFile:35)at L0.G.h(SourceFile:121)at L0.B.p(SourceFile:160)at E.V.a(SourceFile:34)at F.i.c(SourceFile:123)at f7.n.N(SourceFile:2107)at f7.n.P(SourceFile:231)at F.l.m(SourceFile:554)at A8.p.m(SourceFile:1878)at L0.D.a(SourceFile:74)at N0.v.a(SourceFile:38)at v0.W.f(SourceFile:1)at N0.B.a(SourceFile:15)at Aa.d.c(SourceFile:38)at l6.d.z(SourceFile:114)at m0.s.a(SourceFile:48)at m0.t.c(SourceFile:140)at N0.m0.a(SourceFile:3)at N0.M.w0(SourceFile:133)at N0.G.M(SourceFile:17)at N0.V.c(SourceFile:3)at N0.V.k(SourceFile:100)at O0.x.y(SourceFile:8)at N0.G.k(SourceFile:41)at A2.g.o(SourceFile:121)at y.r.a(SourceFile:17)at w.n.a(SourceFile:323)at y.G0.a(SourceFile:29)at y.z0.o(SourceFile:72)at y.O.w(SourceFile:59)at Z4.a.n(SourceFile:9)at F6.I.run(SourceFile:95)at O0.d0.V(SourceFile:7)at O0.c0.doFrame(SourceFile:10)at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1103)at android.view.Choreographer.doCallbacks(Choreographer.java:896)at android.view.Choreographer.doFrame(Choreographer.java:810)at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1090)at android.os.Handler.handleCallback(Handler.java:938)at android.os.Handler.dispatchMessage(Handler.java:99)at android.os.Looper.loopOnce(Looper.java:201)at android.os.Looper.loop(Looper.java:288)at android.app.ActivityThread.main(ActivityThread.java:7924)at java.lang.reflect.Method.invoke(Native Method)at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:568)at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)Suppressed: K6.g: [O0.J0@7098a43, c0.h@a0278c0, F{Cancelling}@85819f9, d0@5031d3e]

When?

Duplicate of #1039

This was happening while changing settings, I have it stable now - pretty sure it was the confetti or one of the shadow slider boxes.

This was happening while changing settings, I have it stable now - pretty sure it was the confetti or one of the shadow slider boxes.

It's not my fault, jetpack compose issue


extra connection pool connection-related properties

SqlConnectionOptions inherits a bunch of properties from NetClientOptions and it seems to me that some of these are relevant, and should be configgable via Hibernate properties. For example, both of the following look useful:

hibernate.vertx.pool.idleTimeout
hibernate.vertx.pool.connectTimeout

@vietj should we add these two properties? Are there any others that would be useful to someone configuring a connection pool for use in HR?

@vietj any comment?

they are relevant, however as we want to improve the pool in 4.x and we might have pool properties achieving something similar but at an higher level (like a pool max time idle and pool connection acquisition timeout) that would replace them. In the mean time they can be useful.

In the mean time they can be useful.

Alright then, I will add them. We can always change them later.

Merged https://github.com/hibernate/hibernate-reactive/commit/f299741cef721c1b48b540dd51b352fd801b5e06


Fix circular dependency between libzabbix and zabbix-agent

faild berks install
$ berks install
There is a circular dependency between zabbix-agent and libzabbix

same probrem https://github.com/TD-4242/zabbix-agent/issues/13
Problem points
https://github.com/TD-4242/zabbix-agent/blob/master/metadata.rb#L21
https://github.com/TD-4242/cookbook-libzabbix/blob/master/metadata.rb#L14
is this a circular dependency.
Fix
recommends is depends. to circular dependency
I choice suggests. ref: https://docs.chef.io/config_rb_metadata.html
suggests is not depends, show info only.

This is wokring for me, thank you. 👍
$ gem list
...
berkshelf (4.3.5)
bundler (1.12.5)
chef (12.7.2)
...


Tooltips from graph view need to be replicated in linear view

Graph IL and assembly views allow for hovering over registers/IL variables to see the associated PossibleValueSet. It would be really nice to have this in linear views as well, especially now that there's linear IL views.

Updating the title since there's a number of other tooltips that aren't shown in linear as well and we'd like to bring them all over.

This has been done as of 2.4.3101-dev


Sik-Ho Tang | Review -- Look, Listen and Learn (Self-Supervised Learning).

Sik-Ho Tang. Review — Look, Listen and Learn (Self-Supervised Learning).

Overview
Self-Supervised Learning Using L³-Net for Audio-Visual Correspondence Task (AVC).

Audio-visual correspondence task (AVC): By seeing and hearing many unlabelled examples, a network should learn to determine whether a pair of (video frame, short audio clip) correspond to each other or not.
In this story, Look, Listen and Learn, (L³-Net), by DeepMind, and VGG in University of Oxford, is reviewed. In this paper, a question is considered:

What can be learnt by looking at and listening to a large number of unlabelled videos?

Audio-Visual Correspondence (AVC) learning task is introduced to training visual and audio networks from scratch, without any additional supervision other than the raw unconstrained videos themselves, result in good visual and audio representations.
This is a paper in 2017 ICCV with over 400 citations.

Core Idea
Binary Classification Task
By seeing and hearing many examples of a person playing a violin and examples of a dog barking, and never, or at least very infrequently, seeing a violin being played while hearing a dog bark and vice versa, it should be possible to

conclude what a violin and a dog look and sound like, without ever being explicitly taught what is a violin or a dog.

The AVC task is a simple binary classification task: given an example video frame and a short audio clip — decide whether they correspond to each other or not.

Difficulties
The corresponding (positive) pairs are the ones that are taken at the same time from the same video, while mismatched (negative) pairs are extracted from different videos.

The network learns visual and audio features and concepts from scratch without ever seeing a single label.
Videos can be very noisy, the audio source is not necessarily visible in the video (e.g. camera operator speaking, person narrating the video, sound source out of view or occluded, etc.).
The audio and visual content can be completely unrelated (e.g. edited videos with added music, very low volume sound, ambient sound such as wind dominating the audio track despite other audio events being present, etc.).

$L^{3}$-Net: Network Architecture

$L^{3}$-Net: Network Architecture.
The network has three distinct parts:

the vision and the audio subnetworks which extract visual and audio features, respectively,
and the fusion network which takes these features into account to produce the final decision.

Vision Subnetwork

The input to the vision subnetwork is a 224x224 colour image.
VGGNet design style is used, with 3×3 convolutional filters, and 2×2 max-pooling layers with stride 2 and no padding.
The network can be segmented into four blocks of conv+conv+pool layers such that inside each block the two conv layers have the same number of filters, while consecutive blocks have doubling filter numbers: 64, 128, 256 and 512.
At the very end, max-pooling is performed across all spatial locations (i.e. Global Max Pooling) to produce a single 512-D feature vector.
Each conv layer is followed by batch normalization and ReLU.

Audio Subnetwork

The input to the audio subnetwork is a 1 second sound clip converted into a log-spectrogram, treated as a greyscale 257×199 image.
The architecture of the audio subnetwork is identical to the vision one except that the input is 1D signal instead of 3D.
The final audio feature is also 512-D.

Maybe we should convert MEG/EEG signals into a log-spectrogram? Improve the performance?

Fusion Network

The two 512-D visual and audio features are concatenated into a 1024-D vector.
It consists of two fully connected layers, with ReLU in between them, and the intermediate feature size of 128-D, to produce a 2-way classification output, namely, whether the vision and audio correspond or not.

Training Data Sampling & Datasets
Training Data Sampling & Other Details

A non-corresponding frame-audio pair is compiled by randomly sampling two different videos and picking a random frame from one and a random 1 second audio clip from the other.

Audio involves time information, while frame is just an image!!!

Standard data augmentation techniques are used: Each training image is uniformly scaled such that the smallest dimension is equal to 256, followed by random cropping into 224 × 224, random horizontal flipping, and brightness and saturation jittering.
Audio is only augmented by changing the volume up to 10% randomly but consistently across the sample.

The network was trained on 16 GPUs in parallel with synchronous training implemented in TensorFlow, where each worker processed a 16-element batch, thus making the effective batch size of 256.
For a training set of 400k 10 second videos, the network is trained for two days, during which it has seen 60M frame-audio pairs.

Datasets
Two video datasets are used for training the networks: Flickr-SoundNet and Kinetics-Sounds.
Flickr-SoundNet
This is a large unlabelled dataset of completely unconstrained videos from Flickr.

It contains over 2 million videos but for practical reasons only a random subset of 500k videos is used (400k training, 50k validation and 50k test) and only the first 10 seconds of each video are used.

This dataset is used for the transfer learning experiments.
Kinetics-Sounds
This is a a labelled dataset for quantitative evaluation. A subset (much smaller than Flickr-SoundNet) of the Kinetics dataset, is used, which contains YouTube videos manually annotated for 10-sceond cropped human actions.
The subset contains 19k 10 second video clips (15k training, 1.9k validation, 1.9k test) formed by filtering the Kinetics dataset for 34 human action classes, such as:

such as playing various instruments (guitar, violin, xylophone, etc.),
using tools (lawn mowing, shovelling snow, etc.), as well as
performing miscellaneous actions (tap dancing, bowling, laughing, singing, blowing nose, etc.).

It still contains considerable noise, e.g.: the bowling action is often accompanied by loud music at the bowling alley, human voices (camera operators or video narrations) often masks the sound of interest, and many videos contain sound tracks.

Audio-Visual Correspondence (AVC) Results

Audio-visual correspondence (AVC) results.
Results:

Test set accuracy on the AVC task for the $L^{3}$-Net, and the two supervised baselines on the labelled Kinetics-Sounds dataset is shown.
The number of positives and negatives is the same, so chance gets 50%. All methods are trained on the training set of the respective datasets.

Architecture:

The vision network has an identical feature extraction trunk as our vision subnetwork (Section 2.1), on top of which two fully connected layers are attached (sizes: 512×128 and 128×34), because there are 34 Kinetics-Sounds classes.
The audio network is built analogously.

Model:

Supervised direct: The direct combination baseline computes the audio-video correspondence score as the scalar product between the 34-D network softmax outputs, and decides that audio and video are in correspondence if the score is larger than a threshold.
Supervised pretraining: It takes the feature extraction trunks from the two trained networks, assembles them into our network architecture by concatenating the features and adding two fully connected layers. The weights of the feature extractors are frozen and the fully connected layers are trained on the AVC task.
The $L^{3}$-Net achieves 74% and 78% on the two datasets, where chance is 50%. (Even humans find it hard to judge whether an isolated frame and an isolated single second of audio correspond).

The supervised baselines do not beat the $L^{3}$-Net as “supervised pretraining” performs on par with it, while “supervised direct combination” works significantly worse as, unlike “supervised pretraining”, it has not been trained for the AVC task.

Transfer Learning Results
After self-supervised training in the above AVC experiment, the subnetwork should be well pretrained, and can be

used as weight initialization for other supervised datasets.

Audio Features on ESC-50 & DCASE

Sound Classification.
Dataset:

Environmental sound classification (ESC-50): 2000 audio clips, 5 seconds each, equally balanced between 50 classes.
Detection and classification of acoustic scenes and events (DCASE): 10 classes with 10 training and 100 test clips per class, where each clip is 30 seconds long.

Representation:

The audio features are obtained by maxpooling the last convolutional layer of the audio subnetwork (conv4_2), before the ReLU, into a 4×3×512 = 6144 dimensional representation.
The features are preprocessed using z-score normalization. A multi-class one-vs-all linear SVM is trained, and at test time the class scores for a recording are computed as the mean over the class scores for its subclips.

Results:

“Ours random” is an additional baseline which shows the performance of our network without $L^{3}$-training.
On both benchmarks $L^{3}$-training convincingly beat the previous state-of-the-art, SoundNet [3], by 5.1% and 5% absolute. For ESC-50, $L^{3}$-training reduces the gap between the previous best result and the human performance by 72% while for DCASE, $L^{3}$-training reduces the error by 42%.

The proposed $L^{3}$-training (Ours) sets the new state-of-the-art by a large margin on both benchmarks.

Video Features on ImageNet

Visual classification on ImageNet.
Representation:

conv4_2 features are taken after ReLU and perform max-pooling with equal kernel and stride sizes until feature dimensionality is below 10k; in this case this results in 4×4×512 = 8192-D features.

Model:

A single fully connected layer is added to perform linear classification into the 1000 ImageNet classes.
All the weights are frozen to their $L^{3}$-Net-trained values, apart from the final classification layer which is trained with cross-entropy loss on the ImageNet training set.

Results:

The proposed $L^{3}$-Net-trained features achieve 32.3% accuracy which is on par with other state-of-the-art self-supervised methods of [7, 8, 22, 36] (Context Prediction [7]), while convincingly beating random initialization, data-dependent initialization [17], and Context Encoders [25].
An important fact to consider is that all competing methods actually use ImageNet images when training. Although they do not make use of the labels, the underlying image statistics are the same:
In contrast, $L^{3}$-Net uses a completely separate source of training data in the form of frames from Flickr videos. Furthermore, video frames have vastly different low-level statistics to still images, with strong artifacts such as motion blur.

It is impressive that the proposed visual features L³-Net-trained on Flickr videos perform on par with self-supervised state-of-the-art trained on ImageNet.

Seems like what we are doing with THINGS-MEG:

pre-train on that dataset, the underlying signal statistics are the same!!!
fine-tune on that dataset, making use of the labels!!!

Qualitative Results
Visual Features

Learnt visual concepts.
The above figure shows the images that activate particular units in pool4 the most (i.e. are ranked highest by its magnitude).

The vision subnetwork has automatically learnt, without any explicit supervision, to recognize semantic entities such as guitars, accordions, keyboards, etc.

Visual semantic heatmap.

The above heatmaps show that objects are successfully detected despite significant clutter and occlusions.

Audio Features

Learnt audio concepts.
The above images display the video frame that corresponds to the sound.

The audio subnetwork, again without any supervision, manages to learn various semantic entities, as well as perform fine-grained classification (“fingerpicking” vs “playing bass guitar”).

Audio semantic heatmaps.
The above figure shows spectrograms and their semantic heatmaps.

For example, it shows clear preference for low frequencies when detecting bass guitars, attention to wide frequency range when detecting lawnmowers, and temporal ‘steps’ when detecting fingerpicking and tap dancing.

Reference

[2017 ICCV] [$L^{3}$-Net] Look, Listen and Learn.


URI Utils '==' operators are not correct

The logic in the '==' operators for URI (and its components do not seem to be correct).
https://github.com/eclipse-uprotocol/up-cpp/blob/494b3313b55aaefe5b8b0376dd761b75fa96a78a/include/up-cpp/uri/tools/Utils.h#L188C1-L201C6
This code is only comparing the instance portion of the URI if the left hand side includes the instance. However the logic should really be like this:
    [[nodiscard]] [[maybe_unused]] auto static
    operator==(const uprotocol::v1::UResource &s, const uprotocol::v1::UResource &o) -> bool {
        // Resources are consider equal if:
        // 1. Names are equal
        // 2. Both Resources do not have an instance OR
        //    both Resource do have an instance and they are the same
        // 3. Both Resources do not have a message OR
        //    both resources have a message and they are the same
        return (s.name() == o.name()) && // Condition 1
               // Condition 2
               ((!s.has_instance() && !o.has_instance()) ||
                (s.has_instance() && o.has_instance() && s.instance() == o.instance())) && // Condition 2
               // Condition 3
               ((!s.has_message() && !o.has_message()) ||
                (s.has_message() && o.has_message() && s.message() == o.message())); // if exists must be same message
    }

A simple test case (it fails right now) shows the problem with the code as is:
TEST(URI_UTILS, testUResourceEquals) {
    using uprotocol::uri::BuildUResource;
    using uprotocol::v1::UResource;
    using uprotocol::uri::operator==;

    // Resource 1 - No Instance
    auto resource_1{BuildUResource().setName("rpc").build()};
    // Resource 2 - With Instance
    auto resource_2{BuildUResource().setName("rpc").setInstance("CreateTopic").build()};
    EXPECT_FALSE(resource_1 == resource_2);
}

This operator is slated to be removed in #99.

It is too bad. The operators are handy. Do you suggest an equivalent way to easily compare URI/URI components that isn't being replaced?

Protobuf provides utilities for message comparison.
If the operators are useful, feel free to add a comment to #99 and we will consider reimplementing them using protobuf's message differencer utility.

No requests were added to #99. We will take this request as a low priority item after critical 1.5.8 work is done.


Rename package/repo to ClimaParameters

I will detail the steps needed for this soon!

NB closing this should also close #144


it cannot work on my mac

my mac is macbook m1 air with macos  15.
i found db at /var/folders/k4/rksw_jfx3wb07scshpb3y3gm0000gn/0/
but when new notification comes, the db file have no change
what's your mac version?

https://macbidouille.com/news/2024/07/17/macos-15-sequoia-protege-enfin-les-notifications
the location of the db file is move to new path in macos 15


LuauLSP does not support LuaDoc

Hello!
I'm working with a framework that makes use of shared(), and in order to get intelisense to work you have to require modules like local Module = shared("Module") ---@module Module. However unlike RobloxLSP, LuauLSP does not support LuaDoc so the whole ---@module, ---class, scheme does not work.
I really want to move to LuauLSP but this is the only thing holding me back.

Unfortunately we do not plan to support LuaDoc-style syntax to get types for the foreseeable future. You can use shared("Module") :: typeof(require(path.to.Module)) for the equivalent in Luau.

I think this may be more related to EmmyLua rather than LuaDoc anyway, since that's what sumneko's Lua uses (the one RobloxLSP) is based on. I don't really think it's compatible with Luau.


added example of api rkt in the python

example of client api.

How is api/v1alpha/api_pb2.py generated? It should either be documented, or added in scripts/genproto.sh for make protobuf.

@yifan-gu already asked this question.

Bump..

@Wilybald do you have time to add the api_pb2.py generation docs and get this in?

ok to test

I added documentation for create api_pb2.py. Please check it. Thanks

@Wilybald Do you mind to squash all those commits into one single commit including a meaningful title according to https://github.com/coreos/rkt/blob/master/CONTRIBUTING.md#format-of-the-commit-message?

What is missing more?

Instead merging master into your branch, You should rebase it onto master.
Could you rewrite history of your branch in such way (removing merges)?

Stale PR, closing. This can be restarted at a later point, though.


Enabling ppc64le

Checklist

[x] Used a fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] 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)
[ ] 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

@conda-forge-admin, please ping team

Hi! This is the friendly automated conda-forge-webservice.
I was asked to ping @conda-forge/gensim and so here I am doing that.

Thanks, @Ryan-Dmello for your contribution :+1:


Retroactively apply monotonic compat bounds to MLJ repos

Context: https://discourse.julialang.org/t/julia-v1-4-0-has-been-released/36324/12?u=ablaom

@DilumAluthge Many thanks for this prompt attention. ❤


subtracting "0" from highly precise number fails

subtract("0.351562500000000006", "0")
--1.648437499999999994

this appears to have been already fixed.  I rebuilt and republished preciso just in case.


[Suggestion] ServerVariables Support

Make a direct addition of ServerVariables, in which we could do things like:
  TEST:
    type: player_kill
    conditions: []
    actions:
      default:
      - 'servervariables: <add/remove/set> <player> <variable_id> <new_variable> <silent:true/false>'
    enabled: true

I think you can use console_command: (server var cmd)

I think you can use console_command: (server var cmd)

I know, but I was referring to an integrated one.

The idea of the console_command action is for not to have an integrated action with every plugin that exists XD.


Migrate the rest of the CircleCI jobs to GitHub Actions

Addresses most of  https://github.com/stellar/go/issues/4229

@2opremio I see your commits:

See why the current PR commit is missing
It turns out that GITHUB_SHA is not equivalente to CIRCLE_SHA1

I recently went through this pain adding docker image publishing to stellar/quickstart and ran into the same thing. If you want to take a look at the workflows there, checkout:

https://github.com/stellar/quickstart/blob/5d478fb/.github/workflows/Dockerfile.yml#L18
https://github.com/stellar/quickstart/blob/5d478fb/.github/workflows/Dockerfile.dev.yml
https://github.com/stellar/quickstart/blob/5d478fb/.github/actions/push/action.yml

GitHub PRs run Github Actions on a commit that has the master branch merged into the PR's latest commit. So github.sha and GITHUB_SHA are not the PR's latest commit, they are a merge commit that includes the master branch.
If you want to prevent this from happening, you need to do two things:

Use github.event.pull_request.head.sha in PRs wherever you need the sha, instead of github.sha. E.g.:
env:
  HEAD_SHA: ${{ github.event.pull_request.head.sha || github.sha }}

See this for an example: https://github.com/stellar/quickstart/blob/5d478fb/.github/workflows/Dockerfile.yml#L18

Checkout the last commit in the PR rather than checkout the default commit the action runs with:
    - uses: actions/checkout@v2
      with:
        ref: ${{ env.HEAD_SHA }}

Given you're making a workflow that's designed to run on tagged releases, none of this might matter.

I recently went through this pain adding docker image publishing to stellar/quickstart and ran into the same thing

Yes, that's really annoying. It turns out that, for PRs, github.ref points to refs/pull/<PR_number>/merge instead of refs/pull/<PR_number>/head which is unexpected.
In fact, I don't think we should be checking out refs/pull/<PR_number>/merge which doesn't even exist for the PR creator and may not contain the same code being proposed (but the code after merging).
I think I will create a composite action to make up for this

In fact, I don't think we should be checking out refs/pull/<PR_number>/merge which doesn't even exist for the PR creator and may not contain the same code being proposed (but the code after merging).

The intent behind this is not unique to GitHub Actions, other build systems work similar, the intent is to test the code that would result from the PR being merged. In this repo this maybe matters less in that we require branches to be up-to-date with master before they can be merged. Making the change in this PR further locks us into that I think. I don't have a problem with that, but something to be mindful.

@leighmcculloch PTAL


"hljs is not defined" with 10.5.0

Hello, I have a problem when inserting highlight.js. When I want to make it work, here's what it shows me:
VM4799:5 ReferenceError: hljs is not defined

Here's my code: (insertion is done from a php insert)
load_art.php :
<link rel="stylesheet"
      href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/monokai-sublime.min.css">

The page with the code :

					<!DOCTYPE html>
	<html>
		<head>
			<meta charset="utf-8">
			<title>Site de test !</title>
		</head>
		<body>
		<h1>Bienvenue</h1>
		<p>Les codes de meteoff seront affichés comme sur cette exemple. Le language est écris sous le code.</p>
		</body>
	</html>

Thank you to the people who will help me! Have a nice day!

I would guess you aren't truly loading the JS file (even if you think you are) - perhaps it's not loading, perhaps your aren't generating the HTML you think you are, etc.  This is the most basic usage of Highlight.js there is, so pretty sure the problem is with your page, not the library - since we've had almost 0 reported issues with 10.5.
I'd try to use the developer tools in your browser to find out what is happening.

I would guess you aren't truly loading the JS file (even if you think you are) - perhaps it's not loading, perhaps your aren't generating the HTML you think you are, etc.  This is the most basic usage of Highlight.js there is, so pretty sure the problem is with your page, not the library - since we've had almost 0 reported issues with 10.5.
I'd try to use the developer tools in your browser to find out what is happening.

Thank you very much for your response!
Still, I have the impression that the file loads well (HTTP 200): Thank you for your response!

Thank you very much for your response!
Still, I have the impression that the file loads well (HTTP 200): Thank you for your response!

No idea then... If you can make a reproducible case on a small webpage (with just Highlight.js and no other JavaScript) that seems to indicate it's our library then I could take a closer look. Otherwise I'm not sure what the problem could be.

No idea then... If you can make a reproducible case on a small webpage (with just Highlight.js and no other JavaScript) that seems to indicate it's our library then I could take a closer look. Otherwise I'm not sure what the problem could be.

Okay !
It works on an empty page! Thank you very much, I will try to find the problem! Have a good day and thank you for your ...

Okay !
It works on an empty page! Thank you very much, I will try to find the problem! Have a good day and thank you for your ...


Header gets lost when loading FEN

Take the following example PGN:
[White "test1"]
[Black "test2"]
[Result "1/2-1/2"]
[SetUp "1"]
[FEN "7K/8/7k/8/8/8/5q2/8 b - - 0 1"]
[PlyCount "1"]
1... Qf7 1/2-1/2
If loaded by load_pgn, the headers will be parsed and set, but then get lost, because in load(fen) the function clear() is called.

Known bug. Duplicate of #129


Add missing  include.

<functional> is needed for std::function as per http://en.cppreference.com/w/cpp/utility/functional/function.
This fixes a compile error with GCC (gcc (Gentoo 7.0.0_alpha20170219) 7.0.0-alpha20170219 20170219 (experimental))

I guess this is a duplicate of #305.

Whoops, missed it since the other PR had a wonky non-descriptive title. (Although "Fix error build" sounds like something I should have looked at.)

Fixed with merge of #306.


Apple Releases Security Advisories for Multiple Products -<PHONE_NUMBER>5

Apple Releases Security Advisories for Multiple Products -<PHONE_NUMBER>5

PR submitted for your approval @DGovEnterprise


Updating hubmap-commons

@maxsibilla feel free to PR to main and release once you verified on DEV.


Load testing of subscription

Hello,
Is there any load testing result of subscription (not publishing messages)?
If yes, please share the information.
The result simply is like that
10k subscriptions per sec can be accepted.
Appreciate in advance.

@tremoteye thanks for asking...good question. I have no clear cut number to give you, but let's try to find out.
Are you interested in any specific scenario (number of subscribers etc)? Are you interested in any specific kind of server/cpu size?
Meanwhile I'll try to come up with a loadtest that can give you some preliminary comparative answer.

I think it really depends on how those subscriptions enter VerneMQ, e.g.:

[10'000 Clients send CONNECT, every client issues SUBSCRIBE with one topic/qos pair]/Second
[100 Clients send CONNECT, every client issues SUBSCRIBE with 100 topic/qos pairs]/Second

The way VerneMQ currently works Scenario 1 will produce a much higher load wrt. to CPU, Memory, Network IO than Scenario 2.

Thanks for quick responses :)
The first scenario @dergraf  is suitable for the our target solutions.
I will carry out the load test soon and share with VerneMQ team.

Share the first Load Test Result under the condition below.
Please find the attachment and can see the grafana graph during the test.
[10'000 Clients send CONNECT, every client issues SUBSCRIBE with one topic/qos 1 pair]/Second
Could you give me some performance tuning tips for this load services?
and we will try 20'000 Clients send CONNECT case tomorrow.
VerneMQ Load Test Result_r1.pdf

@hbahn thanks!
did you also disconnect and re-connect the clients multiple times? or do they only connect once, and then constantly subscribe and unsuscribe?
I'm asking because the connection accepted rated stays at 4k in scenario 2.

@ioolkos
Sure. each thread disconnect the session after unsubscription and repeat the sequence in the same thread.

Are the Client IDs the same everytime or random? I guess you connect with clean_session = true?
So the limits you hit are at sustainably (for 20 minutes):

connecting about 4k clients / s
disconnecting about 4k clients / s
doing 4k SUBSCRIBES / s (btw: to individual topics?)
doing 4k UNSUBSCRIBES / s

What would you actually like to optimize for? just linearly better with exactly this scenario?

Yes. Each server has the limit you mentioned.
Is there any way to improve (linerly) the performance for this scenario? Using venremq.conf.

There are no magic configs, I fear.
Non-exhaustive tuning guide is here: https://vernemq.com/docs/misc/tuning-vernemq.html
General remarks:

Optimise the scenario first. Optimising the scenario means optimising the topic tree!
Performance is often limited by bottlenecks. Apart from OS resource contention, processes (gen_server) can be bottlenecks. IO can be a bottleneck.
CPU overload = all bets are off.

What is faster:

HIPE is faster than BEAM (VerneMQ doesn't hipe-compile currently)
Using the same ClientID on every connect is faster than using random IDs. (Verne then reuses the hash keys)
Using clean_session false is faster than subscribing (to always the same topics)
Separating CONNECT and SUBSCRIBE phases is faster than mixing (this only matters in synthetic workloads tbh)
An Erlang runtime tuned to your scenario is faster than a runtime started with default flags.
TCP only is faster than TLS. You should always use TLS.
Running VerneMQ on a dedicated server is faster than running it shared with other software.

Your tools for config experimentation:

vernemq.conf
advanced.config file: supplementary config file
vm.args file: VM configuration file, replaces the autogenerated vm.args file, and overrides
some configurations in the vernemq.conf file.

All needs to be measured. There is no quick fix for anything performance related.
I'll shortly open the Wiki for user contributions here on github. We can collect further performance ideas there.
/cc @larshesel @dergraf @tremoteye

Thanks for the answer.
Attached the load test result carried on today,

The Graph shows that Connection Accept is around 30K each server. (two server clustered) and subscribe individual topics 30K
(if prometheus collect the VerneMQ metric every 5 secs, is 30K / 5secs (6K/sec) right?)
The cluster maintained the status for 17 minutes and went down which means that any client could not connect the clustered broker.

The Graph shows that Connection Accept is around 20K each server. (two server clustered)
The cluster maintained the status for around 20 minutes and went down.

**After the graphs showed that brokers were down, netSplit situation occurred. in this situation, to overcome service out situation, is this okay to set true to all the trade consistency values, allow_register_during_netsplit, allow_publish_during_netsplit, allow_subscribe_during_netsplit, and allow_unsubscribe_during_netsplit. ? **

@tremoteye we cannot tell you if it is ok to set allow_*_during_netsplit = on this is a trade-off you have to decide for your particular case. Please read https://vernemq.com/docs/clustering/netsplits.html.

Could you review the log above?
Keep facing the log during the load test.

monitor busy_dist_port <0.5406.66> indicates that the Erlang Cluster distribution port is overloaded.
This goes as far as a timeout between the nodes, so that in fact a partition is created.
The network partition then explains the can't register client event. (this is depending on netsplit configuration).
The third error from the plumtree metadata manager is unclear to me atm. It says it can't find certain subscribers.
You could increase the max distribution buffer size (let's say to 32MB), by adding
erlang.distribution_buffer_size = 32MB to your vernemq.conf file.
This might delay the problem (or introduce other problems)

Closing this as it seems to have gone inactive

@tremoteye can you please tell me how to conduct these tests on verneMq.
Anyone please show me how to conduct a load test.
Thanks in Advance

@tremoteye can you please tell me how to conduct these tests on verneMq.
Anyone please show me how to conduct a load test.
Thanks in Advance


Add Guest Users using Azure CLI

Can we add Guest Users using Azure CLI ?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: c7ea676e-0678-9e2d-e009-fb44587f93dd
Version Independent ID: 40b581da-26ea-2890-4a78-54b29f5dc610
Content: Quickstart: Add a guest user with PowerShell - Azure AD
Content Source: articles/active-directory/b2b/b2b-quickstart-invite-powershell.md
Service: active-directory
Sub-service: b2b
GitHub Login: @msmimart
Microsoft Alias: mimart

@HoussemDellai, Thanks for taking time to share your valuable feedback! We are taking a look into this and will get back to you soon.

@HoussemDellai, Unfortunately CLI support for adding Guest users by sending them invitations is yet not available. the only supported cli cmdlets for users are the following:

You can find more details here:
https://docs.microsoft.com/en-us/cli/azure/ad/user?view=azure-cli-latest#az-ad-user-create
Hope this helps. Do let us know if any more queries around this, so that we can help you better.

@HoussemDellai, Closing this thread for now since no response on this. But feel free to reach out to us in case of any further queries around this thread, so that we can help you re-open this thread and help you further with your queries.

@souravmishra-msft Which backlog can we get this raised on?  AZ CLI >> Powershell, and I would love to see this added.

Hear hear, this is definitely a feature I'd love to have on azcli.
It's supported for az devops user, so it's definitely desired on az ad user as well.

Hi, we would also like to have the feature in CLI, seeing we have most of our scripts in CLI. Any update if it may be on the planning?

hello
any ETA for this ?
Thanks in advance.

+1, would love to see this added to az cli.

Seems like the 'Microsoft Graph REST API v1.0' does have ability to invite an external user, it'd be great iz az cli would support this as well.
https://learn.microsoft.com/en-us/graph/api/invitation-post?view=graph-rest-1.0&tabs=http

agreed would love the invitaion feature with  az cli


Update version from 0.0.109 to 0.0.110

This is an automated update of version in pyproject.toml. This action is performed by a Github Action from publish.yml.

updated version from 0.0.109 to 0.0.110, @SuleyNL pls review


Replace DeepCollectionEquality.equals() in ferry_cache with something more performant

See https://github.com/dart-lang/collection/issues/263

fixed by #476 and #477


Uncaught error: Null object reference

Describe your bug here.
well this bug appears during song that i put in "mods" folder in psych engine. who knows how to fix this bugggggggggggg

Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
no

Not a bug
Note texture is missing sustain end animations

then what should i do

Add them to your note texture

Add them to your note texture

kk

You can close the issue

I DIDNT GET THIS

and why


[DPTOOLS-748] Resetting DAG runs should allow selecting certain tasks

FYI:
https://jira.lyft.net/browse/DPTOOLS-748
https://github.com/apache/incubator-airflow/pull/3579
Now user gives -t "task_regex" -i (ignore_dependency) to only reset certain task state.

👀 @ArgentFalcon @milton0825 @astahlman
cc @lyft/etl-productivity

I don't think you're code change does that. Did you forget to commit something?

@ArgentFalcon  it does.  Backfill already supports providing "task_regex" input argument. It will construct a subdag with the task_regex. Previously we disable subdag which task_regex won't work. Now by enabling subdag, it works. I verify it locally.

Codecov Report

Merging #88 into data-platform-upgrade will not change coverage.
The diff coverage is n/a.

@@                  Coverage Diff                   @@
##           data-platform-upgrade      #88   +/-   ##
======================================================
  Coverage                  68.71%   68.71%
======================================================
  Files                        142      142
  Lines                      11189    11189
======================================================
  Hits                        7688     7688
  Misses                      3501     3501

Impacted Files
Coverage Δ

airflow/bin/cli.py
50.21% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

That's cool I guess. I still don't understand how this works, but if you verified it, I trust you.
👍


Russian translation of strings.xml

Self-explanatory. I'm not sure if I put it where it should be, but the translation itself should be fine.

Thanks @drobatch !


VMPK.VMPK version 0.8.4

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

I hope it will work this time!
:)

:smile:

😄

what are you doin? 🔢

Is there anything I can do?

@wingetbot you own repo?

📦 will be here soon 😸

what do i have to do to fix the URL?

My browser crashed for some reason.

/AzurePipelines

what do i have to do to fix the URL?

An engineer will take a look at this PR in a few days or so.

😄


kubectl run should generate a name for the pod by default

What would you like to be added: Allow the user to launch
kubectl run -ti --rm --image=alpine

That is, not requiring the user to specify a name for the pod.
Why is this needed: I feel that many user could just call their pod as the name of the image, like kubectl run --image=alpine alpine, kubectl run --image=nginx nginx, ... Why not generating a random name for the pod fror the name of the image + something unique like an id?

We require naming created resources to ensure the user know what was created, and is also responsible for making the resource name unique.
/close


Android - App Crash on Android When Repeatedly Clicking Download Button

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:
Action Performed:

Open the Android app.
Navigate to a chat where there is an attachment. (If no attachment is available, first send and receive an attachment from another account)
Click on the download button once and let the download be successful
Click on the download button multiple times in quick succession.
Observe that the app crashes

Expected Result:
The app should handle multiple clicks on the download button gracefully, without crashing or encountering any issues.
Actual Result:
The Android app crashes when the download button is clicked multiple times.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: n/a
Reproducible in production?: n/a
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/fc843ad8-b87f-4bda-a72e-4b54abbd5b1c
Expensify/Expensify Issue URL:
Issue reported by: @avi-shek-jha
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689287471971879
View all open jobs on GitHub

i've not been able to repro this so far

ok! i was not able to repro this. every time i clicked the DL option, i got a message that said "attachment downloaded successfully" and the app did not crash.
ill close this one out.

@maddylewis Hi, sorry for late reply. Did you click on the download button fast (like 5 times in 1 second)? Because the crash only occurs when the user clicks on the download button multiple times and fast. Try this:
Step 1: download the attachment and let it be successful
Step 2: Click on the download button 5 times within 1 second and verify if it crashes.
Thank you


Tutorial missing description of 'import'

I have been working through the (pdf version) of the Tutorial, which is been very helpful, but I've been unable to import my own modules and the tutorial does not seem to contain an adequate description of how to do that.  For example, the following questions don't seem to be answered:

Where does the module have to reside to be found by the import statement, "import [my_module]?"
Is it possible to provide a filepath to a module in an import statement?
It appears that the module name is the filename without the ".lean" extension.  Is that right?

Apologies if I'm missing something or if this does not warrant a formal issue, and thanks for any help you can provide.

@duganc The next two paragraphs are from Section 5.5 of the tutorial. Do they answer your questions? We are currently working on a new version of the tutorial, and maybe we should change the name of the section to something like "Projects and Imports" to make the information easier to find. I believe you can also change the default search path by setting the LEAN_PATH environment variable.
At this point, it will be helpful to convey more information about the inner workings of Lean. A .lean file (or .hlean file, if you are working on homotopy type theory) consists of instructions that tell Lean how to construct formal terms in dependent type theory. "Processing" this file is a matter of filling in missing or implicit information, constructing the relevant terms, and sending them to the type checker to confirm that they are well-formed and have the specified types. This is analogous to the compilation process for a programming language: the .lean or .hlean file contains the source code that is then compiled down to machine representations of the desired formal objects. Lean stores the output of the compilation process in files with the extension ".olean", for "object Lean".
It is these files that are loaded by the import command. When Lean processes an import command, it looks for the relevant .olean files in standard places. By default, the search path consists of the root of the standard library (or the hott library, if the file is a .hlean file) and the current directory. You can specify subdirectories using periods in the module name: for example, import foo.bar.baz looks for the file "foo/bar/baz.olean" relative to any of the locations listed in the search path. A leading period, as in import .foo.bar, indicates that the .olean file in question is specified relative to the current directory. Two leading periods, as in import ..foo.bar, indicates that the address is relative to the parent directory, and so on.

@avigad Thanks, this does answer my question.  My PDF client wasn't letting me cntl-F the file, so I missed this section.
I think your suggestion of changing the section name would be good.
One other note (and let me know if I should open a separate issue for it): in my haste to create the .olean file, I typed the command "lean -o foo.lean" rather than "lean -o foo.olean foo.lean" which overwrote my "foo.lean" file.  I had a backup, so it wasn't a big deal, but I would suggest configuring the command to require both filenames or warn the user that a file is about to be overwritten.

Ah, good point. In the new version of Lean, the syntax has changed. "lean foo.lean" just checks the file, whereas "lean --make foo.lean" build foo.olean as well.

Great.  Thanks!


Refactoring testing related python packages and SWIG wrapper bug fix

This PR contains some refactoring of testing related python packages and SWIG wrapper bug fix.
Eliminated epanet-reader package. Removed numpy dependency from epanet-output. Fixed reference counting bug in SWIG wrapper. Added error checking to run_nrtest.sh. Added OWA's fork of the nrtest package to the requirements file.

Apart for the PI fix there is no change to EPANET core. I'm fine with merging.

@eladsal Thanks for the review!  @samhatchett any thoughts on this before I merge it?

@samhatchett The message "Unexpected error occurred during diff" from nrtest means that a difference was found between the binary files. I agree that this message is somewhat ambiguous.

So then what is the difference between "Example 1: example1.rpt: diff failed" and "Unexpected error occurred during diff"

So then what is the difference between "Example 1: example1.rpt: diff failed" and "Unexpected error occurred during diff"

The current comparison routines are designed to fail fast. So as soon as a difference is detected they return a false value. I believe that the report files are being compared before the binary files. The report file test is very strict - requiring the files to match exactly.
So what is happening in Examples 1 and 3 is that a difference was detected in the report file so a diff of the binary files never occurred. With Example 2, the report file diff passed and the diff of the binary files is failing.

@michaeltryby where are the the test networks located?

@eladsal Test networks are located here in the tests directory.

@eladsal and @samhatchett I propose we merge this PR as is and I will take care of the test hard wiring issue when this gets moved over to epanet-python. Sound good?

I'm fine with it.

Thanks guys!