python311Packages.casbin: 1.26.0 -> 1.27.0

Diff: https://github.com/casbin/pycasbin/compare/refs/tags/v1.26.0...v1.27.0
Changelog: https://github.com/casbin/pycasbin/blob/v1.27.0/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

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

4 packages built:

python310Packages.casbin
python310Packages.casbin.dist
python311Packages.casbin
python311Packages.casbin.dist


IDIR Setup in Common SSO integration

This ticket is about creating a role in our Common SSO integration. This will allow set up of IDIR login.
Acceptance Criteria:

[ ] create some role in our Common SSO integration for internal IRC staff (just in the -dev environment for now)
[ ] assign DST staff members to the role for now (for testing purposes)

Hey team! Please add your planning poker estimate with Zenhub @dleard @JoshLarouche @andrea-williams @Sepehr-Sobhani


[Bug]: Zooz Zen72  with v10.0 fails inclusion

Checklist

[X]  I am not using Home Assistant. Or: a developer has told me to come here.
[X] I have checked the troubleshooting section and my problem is not described there.
[X] I have read the changelog and my problem is not mentioned there.

Deploy method
Docker
Zwavejs2Mqtt version
6.11.0
ZwaveJS version
9.3.0
Describe the bug
Zooz Zen72 Dimmer Switch with latest v10.0 cannot be included.  It always gets stuck at NodeInfo.
Using Zooz ZST10-700 zwave controller updated to v7.17.2 firmware.  Zwavejs2mqtt running in container on rpi 3 / rasberry pi os lite 64bit v11

zwavejs2mqtt-store (3).zip
.
To Reproduce

start inclusion with Web UI with S2
start inclusion on Zooz Zen72 switch
accept security choices and enter dsk key

Expected behavior
Inclusion should succeed
Additional context
I'm willing to loan (or donate) a switch if it helps.

I'm not seeing any reference to that node in the log you posted. Please make another driver log, re-interview the node and then post the log. I don't need the zwavejs2mqtt logs.

I've subsequently tried to include many additional nodes.  It's seems that the issue may be with the 10.0 firmware from Zooz.  v1.3 on zen77 and zen76s work the first try, but after upgrading to v10, I get the same failed interviews.
with the zen72, etc on v10 firmware, I am eventually able a successful interview the.  I am able to do this by completing the following in various order, sometimes multiple times each: restart of the container, soft reset the controller and reinterview the node. I have not yet isolated a sequence that will reliably interview the noded

I'm not seeing any reference to that node in the log you posted. Please make another driver log, re-interview the node and then post the log. I don't need the zwavejs2mqtt logs.

it's Node 28 in the original logs.  I will repeat on another zen72 and give you that log,

I am including two nodes that fail interviews.  The first (Node37) is a Zen 77 that I successfully included with v1.3 firmware on the first attempt, but when I upgraded the firmware to 10.10 it attempted to reinterview and failed.  I have repeatedly tried to reinterview, reset the container, reset the controller, but it is stubbornly stuck at nodeinfo.   the second (node38) is a zen 72 that came from the factory with firmware 10.0.  Like other v10 zen72s that I have tried to include it fails the interview.

zwavejs2mqtt-store (4).zip

Ok it looks like this is caused by the same issue that https://github.com/zwave-js/node-zwave-js/pull/4595 works around. https://github.com/zwave-js/node-zwave-js/issues/4585#issuecomment-1121140769 has an explanation.
So, this workaround needs to be applied for Zen72, 76 and 77 too, did I forget anything?

those are the three devices that I have been with this issue, thanks!

There is a newer version of the firmware available. Maybe this issue is fixed there.
Oddly, the version number is 2.0 (released in May 2022, whereas 10.0 was released in June 2021).
See: https://www.support.getzooz.com/kb/article/849-zen72-700-series-dimmer-change-log/


[Spotify Player] Handle errors better for remove from playlist command

Extension
https://www.raycast.com/mattisssa/spotify-player
Description
Currently, the command errors with undescriptive errors when removing song from playlist, when the playlist is something the user doesn't have access to or is special.
There should be descriptive errors for each of these cases:

DJ
Liked songs
Autogenerated playlists: mixes, daylist, daily mix, etc
Albums
Playlists the user doesn't have edit access to

Who will benefit from this feature?
Anyone who uses the Remove Playing Song from Playlist
Anything else?
No response

@raycastbot assign me

Turns out Spotify doesn't have an API to determine if user has edit access to a playlist. There's no API to determine if users have edit access to playlists as collaborators, or determine if a playlist is autogenerated.


allow users to pass parameters through the url

Added URL query string support for 'renderer' (or 'r') and 'version' (or 'v'). 'renderer'/'r' can be a string or a number. If a number is provided, the index value of cat.config.renderers is used to select the renderer.  A few sample URLs below:
https://rhoinc.github.io/CAT/?r=aetimeline //draws aetimeline with master branch
https://rhoinc.github.io/CAT/?renderer=aetimeline // same as above
https://rhoinc.github.io/CAT/?r=aetimeline & renderer=hep-explorer //'renderer' takes priority. hep-explorer is drawn
https://rhoinc.github.io/CAT/?r=safety-outlier-explorer
https://rhoinc.github.io/CAT/?r=safety-outlier-explorer&version=noverlap // shows feature branch


deprecate to_gmsh

Closes #2101
Moving all meshing-related code to gplugins, continuing discussion there
I think this feature is mostly used by developers, and so should not impact users too much

Thank you Simon!


Bulk RegisterTypes

https://github.com/drowhunter/hotchocolate/tree/BulkRegisterTypes
I have a branch where i am trying to create a bulk register function
It works when run in my web application using
typeof(Startup).Assembly
but I am unable to test referencing the correct assembly
Not sure whether GetCallingAssembly() or GetExecutingAssembly() is correct
heres the code for brevity
public void RegisterTypes<TQuery>(){
                RegisterTypes(typeof(TQuery));
}
        public void RegisterTypes<TQuery, TMutation>(){
                RegisterTypes(typeof(TQuery),typeof(TMutation));
        }
        public void RegisterTypes<TQuery, TMutation, TSubscription>(){
                RegisterTypes(typeof(TQuery),typeof(TMutation),typeof(TSubscription));
        }

       public void RegisterTypes(Type queryType, Type mutationType = null, Type subscriptionType = null)
        {
            IEnumerable<Type> graphQlTypes = System.Reflection.Assembly.GetExecutingAssembly()
                .GetTypes()
                .Where(x => !x.IsAbstract &&
                            (typeof(INamedType).IsAssignableFrom(x)
                            ));

            foreach (Type type in graphQlTypes)
            {
                INamedType namedType = RegisterObjectType(type);

                if(type.FullName == queryType.FullName)
                    Options.QueryTypeName = namedType.Name;
                else if(type.FullName == mutationType?.FullName)
                    Options.MutationTypeName = namedType.Name;
                else if(type.FullName == subscriptionType?.FullName)
                    Options.SubscriptionTypeName = namedType.Name;
            }

        }

They might be both wrong depending where your code is :)

Have you looked at the way Microsoft does it for their controllers?

No I haven't.  I could also just add a parameter so that you pass the assembly in , but that seems ugly.

I am just looking it up... give me a sec

somewhat related,  Hotchocolate has alote of dependent nuget projects. Such as HotChocolate.AspNetCore
so i referenced all of the Hotchoclate Core Projects in my solution, but then projects that are expecting a specific dll version of HotChocolate.Types  complain and give runtime errors
in the .net classic days you would put a runtime assembly binding in the web/app config.
Do you know of a way I can do this in .Net Core?

ok..


sepolicy: re-add selinux for adboverwifi

selinux was removed in commit 14fe403ac06cdb2d1338795a9f6dc169f0a54f19 and it is needed for devices working under enforcing selinux
Signed-off-by: David Viteri<EMAIL_ADDRESS>

Actually, maybe that's a good idea to keep it as is. It'd probably collide with custom roms. +1

It was renamed to be compatible with custom ROMs


accumulate total tokens spent referenced with prompt names

let's accumulate the total token spent of the LLM we use. I suggest to stick to this formatting:
total token spent: 7

analysis: 1
validate: 1
validate.json: 1
top: 1
candidate.json: 1
suggestions: 1
suggestions.json: 1

we even can render more attractive graph or table with this information


Black screen appears after tapping if answer letters do not appear

From Turkish QA-- possible race condition?:
"Sometimes the answer letters does not come at all. If i somehow tap on the screen when this happens, a black screen appears. (Screenshot-3). And i cannot play the game without completely restarting it."

Additional info from the same report that may be helpful:
"Sometimes answer letters come too late. In some occasions i waited for 5-6  seconds for them to come. (Sometimes they don’t come at all. )"

Hiii @burrage, this issue was not reproducible. I tried it in couple of devices and in low end device as well.

Great! We'll go ahead and close this out.


paper-toggle-button on-tap event handler reveals breaking change

I try this once more. I saw, that my last entry was corrupted somehow :-(
use a paper-toggle-button like this:

<paper-toggle-button id="frontToBack" on-tap="_frontToBack">
use the eventhandler for on-tap like this:
_frontToBack() {
console.log(!this.$.frontToBack.checked);
}
click on the toggle button

Expected Results
With polymer 2.3.x, the console showed 'false' (the value of 'checked' before the click was handled)
Actual Results
With polymer 2.4+, the console shows 'true' (the value of 'checked' after the facts)
Browsers Affected

[ x] Chrome
[ x] Firefox
[ x] Edge
[ x] Safari 9
[ x] Safari 8
[x ] IE 11

Versions

Polymer: v2.4.0, v2.5.0
webcomponents: v1.1.0

Its expected behaviour, the checked attributes when you tap the button is false, use on-checked-changed event instead.

Runnable JSBin: http://jsbin.com/rilubipebi/edit?html,console,output While it is a change in behavior, I would actually say the "new" behavior is correct. @azakus WDYT?

For me, it would be ok to close the issue. I can of course live with the new behavior, if you say that it is correct.

I am closing this as working as intended. Thanks for your consideration!


Create a tile server that does a single layer

Connects: https://github.com/azavea/raster-foundry/pull/647


Datashape not Record Type?

I'm trying to use Odo because I would like to load a few csv's into a sqlite3 database - one of which is over 30gb in size. However, when I try to load the csv's the datashape is not recognized as a record type:
AssertionError: datashape must be Record type, got 0 * {msno: string, is_churn: int64}

I attempted to use discover and resource (as seen in the docs), but this didn't work and it was unsure of types (ie: "?string"). So I then tried to hardcode like so:
odo(f, db, dshape='var * {msno: string, is_churn: int64}')

but still, this didn't fix the assertion error for isrecord().
I also looked at stack overflow, but neither of  the two related questions had been answered [1][2].
Apologies if this isn't the place for this, but I'm unsure of where to turn for an answer after consulting the docs and stackoverflow/google.
[1] https://stackoverflow.com/questions/44598799/python-odo-sql-assertionerror-datashape-must-be-record-type-got-0
[2]https://stackoverflow.com/questions/46287776/using-odo-to-load-csv-postgres-on-aws

@mbyim  I hit this too, and the solution was to specify the table name in the URI for the destination, e.g.  odo("hdfstore://data.h5::/country_partner_year", "sqlite:///test.sqlite::asdf").
For posterity, I did some digging and the error seems to be happening around here:
https://github.com/blaze/odo/blob/39bf5770935c7cb50ec400aec378857379ba88bd/odo/backends/sql.py#L586
where ds is being pulled from dshape in the kwargs, but there's no dshape key, there's an expected_dshape one.

Full backtrace:

n [16]: odo("hdfstore://data.h5::/country_partner_year", "sqlite:///test.sqlite", dshape=ds)
---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
<ipython-input-16-7a5767b4c49e> in <module>()
----> 1 odo("hdfstore://data.h5::/country_partner_year", "sqlite:///test.sqlite", dshape=ds)

/nfs/projects_nobackup/c/cidgrowlab/Mali/intl-atlas-api/env/lib/python3.4/site-packages/odo/odo.py in odo(source, target, **kwargs)
     89     odo.append.append      - Add things onto existing things
     90     """
---> 91     return into(target, source, **kwargs)

/nfs/projects_nobackup/c/cidgrowlab/Mali/intl-atlas-api/env/lib/python3.4/site-packages/multipledispatch/dispatcher.py in __call__(self, *args, **kwargs)
    162             self._cache[types] = func
    163         try:
--> 164             return func(*args, **kwargs)
    165
    166         except MDNotImplementedError:

/nfs/projects_nobackup/c/cidgrowlab/Mali/intl-atlas-api/env/lib/python3.4/site-packages/odo/into.py in wrapped(*args, **kwargs)
     41             raise TypeError('dshape argument is not an instance of DataShape')
     42         kwargs['dshape'] = dshape
---> 43         return f(*args, **kwargs)
     44     return wrapped
     45

/nfs/projects_nobackup/c/cidgrowlab/Mali/intl-atlas-api/env/lib/python3.4/site-packages/odo/into.py in into_string_string(a, b, **kwargs)
    147 @validate
    148 def into_string_string(a, b, **kwargs):
--> 149     return into(a, resource(b, **kwargs), **kwargs)
    150
    151

/nfs/projects_nobackup/c/cidgrowlab/Mali/intl-atlas-api/env/lib/python3.4/site-packages/multipledispatch/dispatcher.py in __call__(self, *args, **kwargs)
    162             self._cache[types] = func
    163         try:
--> 164             return func(*args, **kwargs)
    165
    166         except MDNotImplementedError:

/nfs/projects_nobackup/c/cidgrowlab/Mali/intl-atlas-api/env/lib/python3.4/site-packages/odo/into.py in wrapped(*args, **kwargs)
     41             raise TypeError('dshape argument is not an instance of DataShape')
     42         kwargs['dshape'] = dshape
---> 43         return f(*args, **kwargs)
     44     return wrapped
     45

/nfs/projects_nobackup/c/cidgrowlab/Mali/intl-atlas-api/env/lib/python3.4/site-packages/odo/into.py in into_string(uri, b, dshape, **kwargs)
    140     resource_ds = 0 * dshape.subshape[0] if isdimension(dshape[0]) else dshape
    141
--> 142     a = resource(uri, dshape=resource_ds, expected_dshape=dshape, **kwargs)
    143     return into(a, b, dshape=dshape, **kwargs)
    144

/nfs/projects_nobackup/c/cidgrowlab/Mali/intl-atlas-api/env/lib/python3.4/site-packages/odo/regex.py in __call__(self, s, *args, **kwargs)
     89
     90     def __call__(self, s, *args, **kwargs):
---> 91         return self.dispatch(s)(s, *args, **kwargs)
     92
     93     @property

/nfs/projects_nobackup/c/cidgrowlab/Mali/intl-atlas-api/env/lib/python3.4/site-packages/odo/backends/sql.py in resource_sql(uri, *args, **kwargs)
    615     if ds:
    616         create_from_datashape(engine, ds, schema=schema,
--> 617                               foreign_keys=foreign_keys)
    618     return engine
    619

/nfs/projects_nobackup/c/cidgrowlab/Mali/intl-atlas-api/env/lib/python3.4/site-packages/multipledispatch/dispatcher.py in __call__(self, *args, **kwargs)
    162             self._cache[types] = func
    163         try:
--> 164             return func(*args, **kwargs)
    165
    166         except MDNotImplementedError:

/nfs/projects_nobackup/c/cidgrowlab/Mali/intl-atlas-api/env/lib/python3.4/site-packages/odo/backends/sql.py in create_from_datashape(engine, ds, schema, foreign_keys, primary_key, **kwargs)
    401 def create_from_datashape(engine, ds, schema=None, foreign_keys=None,
    402                           primary_key=None, **kwargs):
--> 403     assert isrecord(ds), 'datashape must be Record type, got %s' % ds
    404     metadata = metadata_of_engine(engine, schema=schema)
    405     for name, sub_ds in ds[0].dict.items():

AssertionError: datashape must be Record type, got 0 * {
  location_id: categorical[[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, ...], type=int64, ordered=False],
  partner_id: categorical[[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, ...], type=int64, ordered=False],
  year: categorical[[1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, ...], type=int64, ordered=False],
  import_value: float64,
  export_value: float64
  }

Wonderful, that worked for me! I wish I noticed that detail, I also just realized that the answer is on one of the stack overflow questions as well. Thanks for the answer and explanation!


DCOS-14508: Service breadcrumbs: Use overview route for service groups

This bug was introduced in this PR: #2079
This PR makes sure that we display overview route for service groups and a detail route for a service:

Checklist

[x] Did you add a JIRA issue in a commit message or as part of the branch name?
[x] Did you add new unit tests?
[ ] Did you add new integration tests?
[x] If this is a regression, did you write a test to catch this in the future?

Tested and worked fine.

Looks good, works well! Nice test, too!


Investigate SSL Certs for Cloud SQL

Currently authorization is managed by IP address.  Having SSL Certs would make authorization on a development machine simple.
See: https://cloud.google.com/sql/docs/admin-api/v1beta4/sslCerts

Closing in favor of #845


[Doc] Update wording of 4bit to GPTQ and add qlora

Problem
Previously, 4bit quant meant GPTQ. However, due to the new release of qlora, there can be some confusion on this subject (like here https://discord.com/channels/1104757954588196865/1111279858136383509/1111846381355802744).
TODO

[x] Add new column for qlora
[x] Rename 4bit quant
[ ] Evaluate qlora on other architectures

Add new column for qlora fixed in #77
Rename 4bit quant fixed in #75

Evaluate qlora on other architectures can be done in other issues/prs.


AndEngine does not allow detecting screen orientation changes.

Am using the latest AndEngnie with camera and Engine initialized as
final Camera camera = new Camera(0, 0, CAMERA_WIDTH, CAMERA_HEIGHT);
return new EngineOptions(true, ScreenOrientation.PORTRAIT_FIXED, new RatioResolutionPolicy(CAMERA_WIDTH, CAMERA_HEIGHT), camera);

Also added the following in manifest.xml
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"

And in the game class, I have onCnfigurationChanged defined, but it never gets triggered. Is there any way I can detect Screen orientation change while the game is going on?

It seems only allow landscape.

I quite don't understand +Taug... I can set the engine options to Portrait or Landscape and both works. What I want is to detect a screen orientation change while the user is playing the game. Looks like once the scene is visible, no orientation change triggers are available.

Really?I will try later.
Is the android API works for you?

Hmmm I found it.. Seems this is intentional. BaseGameActivity does
this.setRequestedOrientation(orientation);

which basically sets the orientation permanently and no onConfiguationChanged() callbacks happen. I guess AndEngine was designed like this because a game is designed based on a fixed resolution and then scaled appropriately.
For my case, I was detecting whether portrait/landscape right at the start of the game and setting the engine appropriately.
So as a workaround, modified AndEngine code (BaseGameAcitivity.java) and introducing a new "NONE" orientation which would not call setRequestedOrientation at all.
In my game class, I use onConfiguationChanged() to detect orientation change and to restart the current activity so it starts again with proper orientation.

I use this function in my wallpaper.  it works good for me.
@Override
public void onSurfaceChanged(final GLState pGLState, final int pWidth, final int pHeight) {
    super.onSurfaceChanged(pGLState, pWidth, pHeight);

    if ( (mEngine.getEngineOptions().getScreenOrientation() == ScreenOrientation.PORTRAIT_FIXED && pWidth > pHeight) ||
            (mEngine.getEngineOptions().getScreenOrientation() == ScreenOrientation.LANDSCAPE_FIXED && pHeight > pWidth)) {
        mEngine.getScene().setRotation(90f);
    } else {
        mEngine.getScene().setRotation(0f);
    }
}


Upsell items and new item layout

Main changes are upsell items and new item layout

@franciscoxrra Wow - this is a big one!  Great work here.  I'll merge and get it up on test.roti.com.  Thanks!


RFE: create GitHub issue template for use by the audit-userspace repository

See the GitHub help article and our own wiki page on submitting bug and feature requests:

https://help.github.com/articles/creating-an-issue-template-for-your-repository
https://github.com/linux-audit/audit-documentation/wiki/Reporting-Bugs-and-Requesting-Features

Patch submitted upstream: https://www.redhat.com/archives/linux-audit/2016-October/msg00021.html

Resolved via https://github.com/linux-audit/audit-userspace/commit/f327d5f1bd0ff49c5bd6101b432245f8d389b73a.


Support for  in MPD describing Low Latency params

Have you read the Tutorials?
Ywa
Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
v4.3.4
Please ask your question
DASH.js has support for ServiceDescription and the Low Latency parameters within it as described in https://dashif.org/docs/CR-Low-Latency-Live-r8.pdf

Is there any plan for Shaka Player to introduce support for it?

FYI @Wayne-Morgan

Implemented in #5394


Update ListCommand to display help

In order to improve the ease of use of the food guide, users should be able to easily get the usage syntax for any command without having to open up the help window or user guide.
A new prefix "-h" (for help) is added to facilitate this. Appending "-h" to any command should override existing behavior and instead display a description of the command as well as its usage.
Similar changes will be made to all other commands, with the exception of "help", for that is redundant.

The implementation of this will be replaced with one that 'hijacks' the command when "-h" is detected, rather than adding separate cases for each command.
This will avoid the need to create new constructors for each command to handle the DisplayHelp case.


Nuclear Jetpack Support

I recently added the Nuclear Jetpack to IC2 Classic,
Which is a Portable Nuclear Reactor,
and the idea were that you can use the Nuclear Kit on that too.
What do you think about that?
I would write the code for that (if you do not want to write it)

I'm just curious,if I'm wearing the jet pack, what would be the point of having the data put on a monitor?

Do you always check your Jetpack when it has almost infinte fuel?
xD Also if someone else uses a nuclear jetpack in your base you can simply make a security system so that he shutof all parts ofyou base if someone has a Overheating Nuclear Jetpack on their Armor slots...

I don't really see how a card can easily monitor an item in someone's inventory, so I'm rejecting this idea, sorry.

Well i have it from the IC2 Wiki and if i am not wrong the Original Dev would have implemented it if he not left... So now it exsists in Classic and You have a Nuclear Jetpack now xDDD

Germans :P

Well i made it but the request came from a none german guy. xDD And i think other people use it too.
Chocohead and Mine_Sasha are using it xDD


Add Fingerprint NodOn

Hello! New to the world of Smartthing EDGE, we had our devices registered in the previous version in .groovy.
I want to request add device fingerprint to zigbee-multi-switch-v4.5-childs-edge.
Thank you in advance for sharing this with the community.
My information for the 2 fingerprint are:

id: "NodOn/SIN-4-1-20"
deviceLabel: "Multifunction Relay Switch"
manufacturer: NodOn
model: SIN-4-1-20
deviceProfileName: NodOn Multifunction Relay Switch

id: "NodOn/SIN-4-1-20-PRO"
deviceLabel: "Multifunction Relay Switch PRO"
manufacturer: NodOn
model: SIN-4-1-20-PRO
deviceProfileName: NodOn Multifunction Relay Switch PRO

The both are dual switch (2 endpoints).
https://nodon.fr/en/nodon/zigbee-on-off-lighting-relay-switch/
Thanks in advance for all your help.
Emilie

Hi @Mariano-Github ,
Thank you for your reactivity, I apologize in advance, I just realized that I made a naming error (id + device label), could you update?

id: "NodOn/SIN-4-2-20"
deviceLabel: Lighting Relay Switch
manufacturer: NodOn
model: SIN-4-2-20
deviceProfileName: two-switch

id: "NodOn/SIN-4-2-20-PRO"
deviceLabel: Lighting Relay Switch PRO
manufacturer: NodOn
model: SIN-4-2-20-PRO
deviceProfileName: two-switch

Also, once this update is done, to be able to test, can we add it with the Smartthings CLI commands and also for publication, is this done in the same way as the other modules present in the community? Thanks for all that work.

Hi
Modified in this driver version
You can install driver in your hub from channel link in my github README.md
If you already your hub enrolled to my channel, you can also install it with the CLI
Once device paired you can view the running logs with the CLI
───────────────────────────────────────────────────
 Driver Id    e9bfd289-1d51-499e-8c64-d564d1868ad2
 Name         Zigbee Multi Switch and Child Mc
 Version      2023-04-03T15:52:42.086859975
───────────────────────────────────────────────────
- id: "NodOn/SIN-4-2-20"
    deviceLabel: Lighting Relay Switch
    manufacturer: NodOn
    model: SIN-4-2-20
    deviceProfileName: two-switch
  - id: "NodOn/SIN-4-2-20-PRO"
    deviceLabel: Lighting Relay Switch PRO
    manufacturer: NodOn
    model: SIN-4-2-20-PRO
    deviceProfileName: two-switch

Hi @Mariano-Github ,Thanks for your answer. After testing device, how can we pull request to smartthings? Is it recognize for adding product in the console for company like others?

Hi,
This driver is not an official driver, it is a personal driver.
If you want to add the fingerprints to the smartthings Zigbee Switch driver you will have to make a pull request on the github smartthings beta drivers
https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/tree/production/drivers

Hi Emile
If you need help on how to integrate the dual switches in the stock Zigbee Switch driver I can help you:

You have to add the fingerprints with "basic-switch" profile, like this for example:

- id: "eWeLink/ZB-SW02"
     deviceLabel: "eWeLink Switch 1"
     manufacturer: eWeLink
     model: ZB-SW02
     deviceProfileName: basic-switch

Then you have to go to the subdriver: "multi-switch-no-master"
Add the fingerprints of your devices in the table and how many chil devices you have to create:

local MULTI_SWITCH_NO_MASTER_FINGERPRINTS = {
{ mfr = "NodOn", model = "SIN-4-2-20-PRO", children = 1 },
{ mfr = "NodOn", model = "SIN-4-2-20", children = 1 },
}

This will be created by installing the child device device for switch-2 and a simple switch for main.

With this they should work perfectly with the stock Zigbee Switch

If you have doubts you can tell me

Hello @Mariano-Github ,
I really thank you for your help, I will test all the solutions that you propose to me. Sorry again for the inconvenience.
Beautiful day


upgrading dependencies

envify is no longer compatible with other builder packages like

json_serializable
built_value
freezed

Because freezed >=0.14.3 depends on analyzer ^2.0.0 and envify_generator >=2.0.0 depends on analyzer ^1.2.0, version solving failed.

Hi @SunlightBro. Thank you very much for the PR. I've been a bit out of touch with Dart stuffs, and this really helps these libs keep up. v2.0.1 for both envify & generator has been published. Have a nice day.


Steps to reproduce
use diesel::{
    dsl::any,
    pg::PgQueryBuilder,
    query_builder::{QueryBuilder, QueryFragment},
    NullableExpressionMethods, PgExpressionMethods, QueryDsl,
};

fn main() {
    let mut backend = PgQueryBuilder::new();
    a::table
        .select(
            a::id
                .nullable()
                .is_not_distinct_from(any(b::table.select(b::id))),
        )
        .to_sql(&mut backend)
        .unwrap();
    println!("{}", backend.finish());
}

diesel::table! {
        a (id) {
                id -> Int4,
        }
}

diesel::table! {
        b (id) {
                id -> Nullable<Int4>,
        }
}

What is the expected output?
Diesel should not allow this query to compile.
What is the actual output?
Diesel compiles and outputs this query, which is not actually supported:
SELECT ("a"."id" IS NOT DISTINCT FROM ANY(SELECT "b"."id" FROM "b")) FROM "a"

Checklist

[x] I have already looked over the issue tracker  and the disussion forum  for similar possible closed issues.
[x] This issue can be reproduced on Rust's stable channel. (Your issue will be
closed if this is not the case)
[x] This issue can be reproduced without requiring a third party crate

Thanks for opening this issue. I can reproduce this problem and would be happy to receive a fix for it.

Looks like this is due to this:
https://github.com/diesel-rs/diesel/blob/7ff5e6327d5e88095cb4b342da13bf06d6d0d1cd/diesel/src/pg/expression/array_comparison.rs#L75-L81
which seems not really correct (looks like Any<Expr> is not really an expression by itself, and the current writing would allow it to also appear in a select).
It looks like one way to fix it would be to introduce something like:
trait AsExpressionOrArrayComparison<T> {
    type ExpressionOrArrayCmp: ExpressionOrArrayComparison<SqlType=T>;
    fn as_expression() -> Self::ExpressionOrArrayCmp;
}
impl<T, ST> AsExpressionOrArrayComparison<ST> for T: AsExpression<ST> { ... }
impl<Expr, ST> ExpressionOrArrayComparison for Any<Expr>
where
    Expr: Expression<SqlType = Array<ST>>,
    ST: SqlType + TypedExpressionType,
{
    type SqlType = ST;
}

and then use that instead of directly AsExpression/Expression in https://github.com/diesel-rs/diesel/blob/fed0da6a46baa2703872bc8bc788891913495ae1/diesel/src/expression_methods/global_expression_methods.rs#L24-L30
That would probably require updating https://github.com/diesel-rs/diesel/blob/0ec6a0ce762922eaa7264dcbd3b4707c4d1aebee/diesel/src/expression/helper_types.rs#L16 (or introduce a new similar one for AsExpressionOrArrayComparison).
I'm not sure to what extent we want to make the same changes for
impl<Expr, ST> Expression for All<Expr>
where
    Expr: Expression<SqlType = Array<ST>>,
    ST: SqlType + TypedExpressionType,
{
    type SqlType = ST;
}

as this seems to behave a bit differently: select works.
https://github.com/diesel-rs/diesel/blob/7ff5e6327d5e88095cb4b342da13bf06d6d0d1cd/diesel/src/pg/expression/array_comparison.rs#L129

impl<T, ST> AsExpressionOrArrayComparison<ST> for T: AsExpression<ST> { ... }

I don't quite understand what this place means? Also how is ExpressionOrArrayComparison defined? Can you help me to explain it? Thanks!

@hi-rustin Every part in diesels query dsl ast currently implements Expression, which contains information about the type of the actual expression. The Eq operator is now simply a that takes two expressions of the same type as argument while the operator itself is an Expression of the type Bool. I think this example shows the basic idea quite good.
On the other hand Any is currently also implemented as normal Expression that converts an Expression of the type  Array<ST> to the inner type ST. (See here). This does not really match the implementation in postgresql, as any is really some sort of custom thing that is only allowed in certain places.
We can fix that by doing the following steps:

Remove the the Expression impl for any (that one linked above).
We need to make sure that something = ANY(…) is valid after the first change. Now this does not work with the simplified Eq version presented above. We need to teach Eq to accept any Expression or the any operator as right site of the expression. For this we need to change the trait bounds here. A simple way to model the Expression or any condition as trait bound is to introduce two new traits:

trait AsExpressionOrArrayComparison<T> {
    type ExpressionOrArrayCmp: ExpressionOrArrayComparison<SqlType = T>;

    fn as_expression(self) -> Self::ExpressionOrArrayCmp;
}

trait ExpressionOrArrayComparison {
    type SqlType;
}

This mirrors the existing AsExpression and Expression trait. (AsExpression describes how to transform rust values into query ast nodes. It is implemented for all types implementing Expression  (as they are already query ast nodes) and for all types implementing ToSql (those generate bind parameters in the query ast)).
Now we provide 2 implementations for this trait:

One for any type T that already implements AsExpression<T>:

impl<T, ST> AsExpressionOrArrayComparison<ST> for T
where T: AsExpression<ST>
{
    type ExpressionOrArrayCmp = T::Expression;

    fn as_expression(self) -> T::Expression {
        <T as AsExpression<ST>>::as_expression(self)
    }
 }

impl<T> ExpressionOrArrayComparison for T
where T: Expression
{
    type SqlType = T::SqlType;
}

One for the any type:

impl<Expr, ST> ExpressionOrArrayComparison for Any<Expr>
where
    Expr: Expression<SqlType = Array<ST>>,
    ST: SqlType + TypedExpressionType,
{
    type SqlType = ST

}

impl<Expr, ST> AsExpressionOrArrayComparison<ST> for Any<Expr>
where Self: ExpressionOrArrayComparison<SqlType = ST>
{
    type ExpressionOrArrayCmp = Self;

    fn as_expression(self) -> Self {
        self
    }
}

Now it we just need to change the definition of ExpressionMethods::eq here to use the new AsExpressionOrArrayComparison instead of the existing AsExpression trait. This implies that also the return type needs to be changed (Replace the AsExpr part there with the corresponding new version).  We should check the postgres manual here.


Add instructions to get your near account id and private key

Very crucial instructions for people who are very new to web3 development world.
Also very new to the Near ecosystem.

Hey @Lukisong82 - do you plan on coming back to this or should I move it into a TODO issue elsewhere.
I'll close it at the end of the week if I don't hear from you.

Hey thanks for proposing these instructions! I've made a couple suggestions (one just adding backticks) and the other changing to testnet (since this is currently a testnet only software package).
I think that these instructions would be much more comfortable living on our docs page: https://docs.mintbase.xyz/
Notice that there is a section for "wallet" and here is the corresponding
GitHub Repo: https://github.com/Mintbase/gitbook-docs/tree/main/wallet
would you mind creating a new page in the docs repo for exporting your key? Then this PR can become a reference to the docs.

Hi @bh2smith, I have made the proposed changes on the readme file. Unfortunately I do not have access to alter the docs.

Alright, in favour of having the instructions here for now (although they don't really belong here) and a bit of duplication with the content in https://github.com/Mintbase/near-ca/blob/main/examples/README.md.
Thanks for your contribution 🎈  and have a nice weekend!


Access violation at startup when targeting x86

Describe the bug
When I'm launching a new WinUI Desktop app and compiling for x86 the app crashes at startup (before any window is visible) with the exception:
Exception thrown at 0x1000B481 (HsSrv.dll) in TestWinUI.exe: 0xC0000005: Access violation reading location 0x019A0000.
If I switch to x64 the app runs fine.
Steps to reproduce the bug

Create a new WinUI app with the template "Blank App, Packaged (WinUI in Desktop)"
Set platform to x86
Press Start Debugging (F5)
The app crashes before any window is even visible with the previously mentioned exception.

Expected behavior
The app launches without crashing.
Screenshots
Callstack:

Version Info
WinUI 3 supported release (Reunion 0.5)
NuGet package version:
WinUI 3 - Project Reunion 0.5: 0.5.0

Windows app type:

UWP
Win32

Yes

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

October 2020 Update (19042)
Yes

May 2020 Update (19041)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
Yes

Xbox

Surface Hub

IoT

Additional context

@mrjfalk , I've never seen this happen.  I've created dozens of x86 WinUI apps.  Based on the failing DLL, perhaps your audio interface components need an update.

I agree with Noemata. I don't think this is related to our package. A quick search seems to point at sound drivers.  Very strange...  @alwu-msft Just in case do you have any ideas?

I do have the latest driver, and I've used this sound card for a very long time, and it has never caused issues like this before developing eg uwp, wpf, c++ apps, etc. So even if it is caused by the sound card driver winui should not crash.

@mrjfalk , I would tend to agree.  All I can suggest is to update the OS to the latest bits, update VS2019, and simplify the execution environment.  Temporarily disable any background tasks (if you have something like an animated desktop, etc.).  Also, don't have any other processes running concurrently with Visual Studio.  If that doesn't work, you may have to try an exorcism on your PC, making sure you have Mike Oldfield's "Tubular Bells" playing in the background while it's taking place ;-)

Closing as this doesn't appear to have been related to WinUI/Windows App SDK at all.

Can confirm that it's caused by the latest driver for the Asus Xonar DGX audio card. Unfortunately there are no new drivers available. Guess I'll be buying a new sound card.


Installing SAP HANA 2.0, express edition (Binary Installer Method)

Hi,
step XSA installation fails unfortunately. Nevertheless the system is running and can be used to a certain extend (installing certificate, PAL, R), but I guess XSA stuff would fail partially.
System Data: 2 Core processor, 16 GB RAM
SLES upgraded to 12.1, several Java 8 version tried (finally Oracle jdk-8u112 x64) and still the installation of the Express 2.0 edition fails with almost the same error (product installer), which came up already with the previous 1.0 express edition.
https://answers.sap.com/questions/35745/hana-hxe-express-edition-binary-installation-error.html
Please find attached part of install log and the output of xs logs deploy-service --all.
hdblcm.log.txt
hdbmodify_addlocalroles.log.txt
xs_log.txt
Thanks for help and kind regards,
Axel

We are still working with installer team on this issue. Thanks for your patience.

having a hostname with 3 dots in will solve the installation problem.


v0.0.4 is currupted at CPAN

Version 0.0.4 unfortunately is corrupted at CPAN: https://modules.raku.org/dist/FastCGI::NativeCall::Async:cpan:JSTOWE, so it's failed to install via zef:
===> Testing: FastCGI::NativeCall::Async:ver<0.0.4>:auth<github:jonathanstowe>:api<1.0>
[FastCGI::NativeCall::Async] ===SORRY!=== Error while compiling /home/kostas/.zef/store/FastCGI-NativeCall-Async-0.0.4.tar.gz/FastCGI-NativeCall-Async-0.0.4/t/001-meta.t
[FastCGI::NativeCall::Async] Failed to open file /home/kostas/.zef/store/FastCGI-NativeCall-Async-0.0.4.tar.gz/FastCGI-NativeCall-Async-0.0.4/lib/FastCGI/NativeCall/Async.rakumod: No such file or directory
[FastCGI::NativeCall::Async] at /home/kostas/.zef/store/FastCGI-NativeCall-Async-0.0.4.tar.gz/FastCGI-NativeCall-Async-0.0.4/t/001-meta.t:5
[FastCGI::NativeCall::Async] Actually thrown at:
[FastCGI::NativeCall::Async]   in any statement_control at /opt/rakudo/rakudo-star-2021.04/bin/../share/perl6/lib/Perl6/Grammar.moarvm line 1
[FastCGI::NativeCall::Async] ===SORRY!=== Error while compiling /home/kostas/.zef/store/FastCGI-NativeCall-Async-0.0.4.tar.gz/FastCGI-NativeCall-Async-0.0.4/t/010-use.t
[FastCGI::NativeCall::Async] Failed to open file /home/kostas/.zef/store/FastCGI-NativeCall-Async-0.0.4.tar.gz/FastCGI-NativeCall-Async-0.0.4/lib/FastCGI/NativeCall/Async.rakumod: No such file or directory
[FastCGI::NativeCall::Async] at /home/kostas/.zef/store/FastCGI-NativeCall-Async-0.0.4.tar.gz/FastCGI-NativeCall-Async-0.0.4/t/010-use.t:5
[FastCGI::NativeCall::Async] Actually thrown at:
[FastCGI::NativeCall::Async]   in any statement_control at /opt/rakudo/rakudo-star-2021.04/bin/../share/perl6/lib/Perl6/Grammar.moarvm line 1
[FastCGI::NativeCall::Async] ===SORRY!=== Error while compiling /home/kostas/.zef/store/FastCGI-NativeCall-Async-0.0.4.tar.gz/FastCGI-NativeCall-Async-0.0.4/t/020-basic.t
[FastCGI::NativeCall::Async] Failed to open file /home/kostas/.zef/store/FastCGI-NativeCall-Async-0.0.4.tar.gz/FastCGI-NativeCall-Async-0.0.4/lib/FastCGI/NativeCall/Async.rakumod: No such file or directory
[FastCGI::NativeCall::Async] at /home/kostas/.zef/store/FastCGI-NativeCall-Async-0.0.4.tar.gz/FastCGI-NativeCall-Async-0.0.4/t/020-basic.t:5
[FastCGI::NativeCall::Async] Actually thrown at:
[FastCGI::NativeCall::Async]   in any statement_control at /opt/rakudo/rakudo-star-2021.04/bin/../share/perl6/lib/Perl6/Grammar.moarvm line 1
===> Testing [FAIL]: FastCGI::NativeCall::Async:ver<0.0.4>:auth<github:jonathanstowe>:api<1.0>
Aborting due to test failure: FastCGI::NativeCall::Async:ver<0.0.4>:auth<github:jonathanstowe>:api<1.0> (use --force-test to override)

I guess lib is simply missed. Install via zef install FastCGI::NativeCall::Async https://github.com/jonathanstowe/FastCGI-NativeCall-Async.git is successful.

No, no.  I hadn't noticed that you had renamed the file and consequently it didn't get put in the tarball.


Enable builds in Xcode 13.1

Description
Xcode 13.1 has been released and is required for using MacOS Monterey.
Acceptance Criteria

[ ] Can create development build in Xcode 13.1
[ ] Can create release builds in Xcode 13.1
[ ] Can create development build in Xcode 12.5
[ ] Can create release builds in Xcode 12.5
[ ] Can run e2e tests in Xcode 13.1
[ ] Can run e2e tests in Xcode 12.5

This is dependent on #1697.

Xcode builds with 13.2.1 appear to be working as intended please reopen if an issue is experienced.


slice indices must be integers or None or have an index method

Getting this error here
babyagi.py
one_shot_example_names = completion[:consts.N_SHOT] if len(completion) > 0 else None

It seems that this error only happens occasionally. Not sure why? Same exact prompt just worked fine with no error

could you share the commit hash you were using?


Changed united marker title source

Fixed #471

The tooltip still uses getTitle, so it must be fixed:

Again with the offside markers huh :(
I'll take care of the tool tip too

@LironRS Please help me understand the tooltip source.
Could this be a spiderfy issue only?

Here's a link to the location for the screenshot above: https://anyway-unstable-pr-473.herokuapp.com/?start_date=2014-01-01&end_date=2016-01-01&zoom=19&lat=32.080704392392306&lon=34.820470613248865

@danielhers which browser are you using? I want to check the rotation issue.. I couldn't reproduce it..

@omerxx On it

@LironRS I'm getting the rotated icons on Chromium 29.0.1547.57. Since it's an old version, perhaps it's not worth worrying about.

@LironRS Could you pls upload a united marker screen shot?


[BUG] Namespaces are generated at the wrong position

Is there an existing issue for this?

[X] I have searched the existing issues

Nature of Your Project
TypeScript
Current Behavior
When defining an entity within a namespace, such as:
entity Name.Something {
key something: String;
}

entity Name.SomethingElse {
key something: String;
}

entity Name {
key something: String;
somethingElse: Association to Name.SomethingElse
}

The namespace is (atleast in my test) created on the top position of the file. Yet that results in TypeScript errors:
A namespace declaration cannot be located prior to a class or function with which it is merged.
Class 'Something' used before it's declaration.

Expected Behavior
The generated types shouldn't have TypeScript errors.
Steps To Reproduce
No response
Environment
- **OS**: MacOs
- **Node**: v20.10.0
- **npm**:
- **cds-typer**: 0.13.0
- **cds**: 7.4.2

Repository Containing a Minimal Reproducible Example
No response
Anything else?
No response

Hi Tobias,
thanks for reporting this issue! Creating a file with the contents you added above and running cds-typer on it produces no error for me.
Looking at the screenshot you initially showed me it seems more like a naming issue, as the error message mentions "declaration merging". Do you maybe have a namespace and an entity with the same name in your actual model?
Best,
Daniel

Yeah, that's correct. Adapted the sample.

Thank you for updating the model. Looking at the linked documentation, namespaces are supposed to be named in lowercase. When I apply this change to the updated model from above the issue is resolved. I renaming your namespace to name an option for you?

Adapted the naming slightly, to lead more into the direction of Scoped Definitions which are right now translated into Namespaces in TypeScript and not mislead into CDS namespaces.

Hi Tobias,
this issue is addressed in https://github.com/cap-js/cds-typer/pull/124
Feel free to give it a whirl with your actual model before it is released.
Best,
Daniel

Looks good to me


HHH-13147 - Fix DelayedPostIdentifierInsert when using second-level cache.

https://hibernate.atlassian.net/browse/HHH-13147

Looks good to me. And I agree we should include it in 5.4.0.
Please push it if you have time or I’ll push it on Monday when I’m back.


Add ability to delete all redbird sessions

Prepends all session keys with "redbird_sessions_" so that it will be
easy to identify which keys in the users redis database were set through
Redbird

Adds the ExRedis keys option to find all keys that start with the
redbird session

Adds delete_all_sessions to delete all matching keys

:shipit:


While auto reading content from dialog screen-reader doesn't tell user about the presence of close button.

Clarity Version: 3.1.1
WCAG 2.1 Guideline: 4.1.1 Parsing
Test Environment:

Test URL: https://clarity.design/documentation/modals
OS: Windows 10
User Agents/Assistive Technologies: Firefox 76.0
Screen reader: NVDA 19.3.1

Steps to reproduce:

Open the test URL.
Move focus onto to the first Show Modal button present under Angular modals.
Activate the button by pressing the enter or space key and observe the spoken feedback.

Expected result:
When the dialog is opened dialog content should be auto read appropriately.
Actual result:
1.Title is announced 4 times (reported as a separate issue).
2. Close button is not announced by screen reader while auto reading the dialog content. If the user  tabs/arrow to the close button, the button is focused and label is announced.
Reporter Email<EMAIL_ADDRESS>

I looked at this again and I felt not announcing the close button reduces verbosity. As screen reader have alternative options like pressing escape key or cancel button, current behavior seems to be better than what's requested in the expected result. So I think no change is required here.

Hi there, this is an automated message.
In an effort to dedupe and track accessibility reports consistently, this issue is being closed and tracked internally with our Accessibility team. It will still be triaged and addressed as part of ongoing work.


fix(meta): refuse to start cluster if data directory is used by another instance

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Reused the TrackingId from telemetry as ClusterId. Its presence/absence in meta store is used to determine if the cluster is being created. If so, the meta node will write a cluster_id/0 file in the specified data directory, signifying its occupancy. If this file is present on cluster creation, the cluster will refuse to start.
Defer system parameter persistence to before starting RPC services, so that if invalid parameters prevent the meta node from starting, they will not be persisted.
The problem of reusing TrackingId is that backward compatibility is broken because its cf is changed.
Checklist For Contributors

[x] I have written necessary rustdoc comments
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Documentation
Types of user-facing changes
Please keep the types that apply to your changes, and remove the others.

Installation and deployment

Release note
The object store URL identified by state_store and data_directory must not be shared by multiple clusters, or later clusters will refuse to start.

The problem of reusing TrackingId is that backward compatibility is broken because its cf is changed.

What happen when upgrading the cluster deployed prior to this PR? Will the cluster fail to startup because cluster id is not found in the new CF?

If the cluster id is not found, meta node will consider the cluster to be launched for the first time, resulting in overriding existing system parameters.
In addition, since the id is newly generated, telemetry's report id will be different.

If the cluster id is not found, meta node will consider the cluster to be launched for the first time, resulting in overriding existing system parameters.
In addition, since the id is newly generated, telemetry's report id will be different.

I see. As long as the cluster can start up without any issue, creating a new telemetry report id sounds okay to me.

overriding existing system parameters.

Though I'm more worried about this, since some parameters cannot be modified, the override will be irreversible.


[v0.17.x] *: remove marker in favor of Github action (#3048)

Description of the change: cherry pick of #3048
Motivation for the change: any docs changes we make in master will affect previous versions of the SDK and break patch releases. With this change we can at least see the breakage without blocking the release.

@theishshah the action won't pass until #3055 is merged, which is blocked by this action :grin:. The action is non-blocking now though, so this should be good to go.


Incorrect relative file paths passed to eslint

A couple days ago my eslint stopped working. Related to #1980 ?
Looking at the below messages, it appears that Neomake is changing the working directory to the location of the file, but then passing eslint a file path relative to the project root. The result is a silent failure.
Neomake: [-.-:4:1] Using setting cwd='%:p:h' from 'maker'.
Neomake: [1.1:4:1] Starting async job: eslint --format=compact server/models/attribution/attribution.js.
Neomake: [1.1:4:1] cwd: /Users/REDACTED/server/models/attribution (changed).
Neomake: [-.-:4:1] automake: started jobs: [1].
Neomake: [1.1:4:1] stdout: eslint: [''].
Neomake: [1.1:4:1] stderr: eslint: ['', 'Oops! Something went wrong! :(', '', 'ESLint: 5.0.1.', 'No files matching the pattern "server/models/attribution/attribution.js
" were found.', 'Please check for typing mistakes in the pattern.', '', ''].
Neomake: [1.1:4:1] exit: eslint: 2.
Neomake: [1.1:4:1] eslint: processing 7 lines of output.
Neomake: [1.1:4:1] Creating location list.
Neomake: [1.1:4:1] Processing 4 entries.
Neomake: [1.-:4:1] File-level errors cleaned.
Neomake: [1.1:4:1] Skipped 4 entries without bufnr: [{'lnum': 0, 'bufnr': 0, 'col': 0, 'valid': 0, 'vcol': 0, 'nr': -1, 'type': 'W', 'maker_name': 'eslint', 'pattern':
'', 'text': 'Oops! Something went wrong! :('}, {'lnum': 0, 'bufnr': 0, 'col': 0, 'valid': 0, 'vcol': 0, 'nr': -1, 'type': 'W', 'maker_name': 'eslint', 'pattern': '', 't
ext': 'ESLint: 5.0.1.'}, {'lnum': 0, 'bufnr': 0, 'col': 0, 'valid': 0, 'vcol': 0, 'nr': -1, 'type': 'W', 'maker_name': 'eslint', 'pattern': '', 'text': 'No files matchi
ng the pattern "server/models/attribution/attribution.js" were found.'}, {'lnum': 0, 'bufnr': 0, 'col': 0, 'valid': 0, 'vcol': 0, 'nr': -1, 'type': 'W', 'maker_name': '
eslint', 'pattern': '', 'text': 'Please check for typing mistakes in the pattern.'}].
Neomake: [1.1:4:1] eslint: completed with exit code 2.

I just reverted back to 29278a44e9ff2176cfa296f61d6d135347235dd7 and all is well, confirming my above suspicion.

Thanks for letting me know.
To fix this I think the cd-handling needs to be refactored / cleaned up.  Have some idea for this, but might take a while.


Broken test due to switch between for UnusedLocalVariable & UnusedFormalParameteter Detection for Inner Functions

PHPMD version: 3.x-dev
PHP Version: PHP 8.1+
Installation type: Composer
Operating System / Distribution & Version: Windows 10 or GH

Current Behavior
The test suite fails with two erros:
1) PHPMD\Rule\UnusedFormalParameterTest::testRuleDoesNotApplyToInnerFunctionDeclaration
PHPMD\Report::addRuleViolation(PHPMD\RuleViolation Object (...)): void was not expected to be called.

\phpmd\src\main\php\PHPMD\AbstractRule.php:360
\phpmd\src\main\php\PHPMD\Rule\UnusedFormalParameter.php:75
\phpmd\src\test\php\PHPMD\Rule\UnusedFormalParameterTest.php:196

2) PHPMD\Rule\UnusedLocalVariableTest::testRuleAppliesTo with data set #0 ('...rs.php')
testRuleAppliesToInnerFunctionParameters.php failed:
Expected 1 violation
But 0 violations raised.

\phpmd\src\test\php\PHPMD\AbstractTestCase.php:268
\phpmd\src\test\php\PHPMD\Rule\UnusedLocalVariableTest.php:65

The related test files are:

https://github.com/phpmd/phpmd/blob/d27f680a8c1cbd6bed5bc210d3ffcf338f1f1e89/src/test/resources/files/Rule/UnusedFormalParameter/testRuleDoesNotApplyToInnerFunctionDeclaration.php#L21-L23
https://github.com/phpmd/phpmd/blob/4303ebc9ebc7ff450852e61eb52804904b78c4dd/src/test/resources/files/Rule/UnusedLocalVariable/testRuleAppliesToInnerFunctionParameters.php#L20

The UnusedFormalParameter rule now detects the three unused formal parameters of the inner function z_testRuleDoesNotApplyToInnerFunctionDeclaration, which could be correct.
The UnusedLocalVariable rule now doesn't detect the unused formal parameter of the inner function z_testRuleAppliesToInnerFunctionParameters anymore, which could be correct.
Expected Behavior
The test suite should not fail.
Either we have to revert the change in detection behavior or adjust the test suite.
Steps To Reproduce:
Execute test sutie locally or on GH.

Fixed here: https://github.com/phpmd/phpmd/pull/1139

I believe this has been fixed


CODE OF CONDUCT

We know code of conduct is a very important thing to be followed when many are contributing in a single project ,
Let me give a description about the code of conduct ,

There will be a pledge which all need to follow so  that this  community  get a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity etc while contributing and we take this pledge to follow the decorum  in conversation in issues also.
There will be Standards like :
-  Examples of unacceptable behavior by participants
- Examples of behavior that contributes to creating a positive environment
Responsibilities
And if any one faces any issues from other contributors , how to contact ?
Scope of code of conduct like This Code of Conduct applies both within project spaces and in public spaces
These are the things i will be adding , in little more descriptive way
let me know if you can assign me @BALaka-18

Assigning.

Assigning.

@BALaka-18    Kindly do check and merge it and also pls do add the same labels added in the issue to pr also

@BALaka-18    Kindly do check and merge it and also pls do add the same labels added in the issue to pr also

@akrish4 Please read this comment

@akrish4 Please read this comment

@BALaka-18 I have to close this pr right ?
so that i can open a new pr to the dwoc-contribution branch

@BALaka-18 I have to close this pr right ?
so that i can open a new pr to the dwoc-contribution branch

#47

#47

issue resolved
#50

issue resolved
#50


AS150 AirSense Pro no longer reports CO2

Describe the bug
AS150 AirSense Pro no longer reports CO2, even though a CO2 value is reported by the device.
To Reproduce
Look at the CO2 entity.
Expected behavior
I expect to see the CO2 value as reported by the device.
Screenshots
If applicable, add screenshots to help explain your problem.

$ curl -s http://AirSense.fritz.box/sensordata.json | jq
{
  "Header": {
    "DeviceId": "40:91:51:xx:xx:xx",
    "DeviceType": 150,
    "ProtocolV": "3"
  },
  "Info": {
    "FirmwareVersion": "0.2-cb32b89-Nov 16 2021",
    "CertificateSHA1": "191ebc14e6b0d72785da806bc0f52e57a3258e59"
  },
  "Measure": {
    "Time":<PHONE_NUMBER>,
    "Temperature": 20.99,
    "Humidity": 47.26,
    "Co2": 639.00,
    "Voc": 85.00,
    "Hcho": 4.40,
    "Pm1u0": 0.00,
    "Pm2u5": 0.00,
    "Pm10u": 0.00,
    "Particles0u3": 3.00,
    "Particles0u5": 1.00,
    "Particles1u0": 0.00,
    "Particles2u5": 0.00,
    "Particles5u0": 0.00,
    "Particles10u": 0.00,
    "SensorStatus": "0000001F"
  }
}
Versions (please complete the following information):

HomeAssistant:
Core: 2024.11.3
Supervisor: 2024.11.4
Operating System: 13.2
Frontend: 20241106.2
ha-venta: v0.11.0

Please try v0.11.1.


Generalize Path logic

Actually, Trajectory, but yeah.

Codecov Report

Merging #2 into master will increase coverage by 6.7%.
The diff coverage is 87.71%.

@@           Coverage Diff            @@
##           master      #2     +/-   ##
========================================
+ Coverage      75%   81.7%   +6.7%
========================================
  Files           2       2
  Lines          56      82     +26
========================================
+ Hits           42      67     +25
- Misses         14      15      +1

Impacted Files
Coverage Δ

src/bin/mp.rs
0% <0%> (ø)
:arrow_up:

src/lib.rs
98.52% <98.03%> (-1.48%)
:arrow_down:

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 870e9be...d8a85d9. Read the comment docs.


refactor(api): Improve typing of opentrons.types.Location.labware

The Location namedtuple is used throughout the opentrons package. It is a very important abstraction.
The type of labware member of Location is defined as: Union['Labware', 'Well', str, 'ModuleGeometry', None]. It is very difficult to change the type of labware Union due to not knowing what the members have in common. There is no documented contracted to being a LocationLabware. Every user of Location class needs to switch on the type of labware.
Proposing there be an interface that makes this clear. Some suggestions:

If a class needs to be a LocationLabware it will have to implement an interface.
Create a LabwareLike class that wraps a labware like object. Have Location.labware be a LabwareLike object.
Make types.Location a class that implements a proper interface for to the labware member.

Branch to get this going.
https://github.com/Opentrons/opentrons/tree/api_location_labware


Keep pending pane hotkey

This is a feature suggestion/request: I would like a hotkey to keep the (currently focused?) pending pane.
It's really cumbersome to always double click and we programmers like hotkeys :) so why is there none for this?
I might even be able to add this myself in a pull request, if given some direction to the current double click logic.

Forgive me if I am missing something, but don't you mean 'tab' instead of 'pane'?

Afaik this was renamed to pending pane items and the relevant core setting is "allow pending pane items"


Automated Package Upgrade

:tada: This PR is included in version 25.3.439 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Run downstream tests in a temporary directory.

Fixes #1299

Current coverage is 100.00%

Merging #1300 into master will not affect coverage as of a9c863f

@@            master   #1300   diff @@
======================================
  Files            1       1
  Stmts         2989    2989
  Branches       589     589
  Methods          0       0
======================================
  Hit           2989    2989
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of a9c863f

Powered by Codecov. Updated on successful CI builds.

I'll land this soon so that future pull requests won't be hampered by a failing test.


[Bug report]: Cannot read properties of null (reading 'getBoundingClientRect') - tds-slider

Requirements before reporting

[X] No duplicated issue reported.
[X] I have checked the latest version if the bug exist there. See all available packages at npmJS.com
[X] I have followed the installation guide.

Package versions
<EMAIL_ADDRESS>Browser
Chrome
Framework
Angular
Version
Angular 16
Reproduction steps

Add tds-slider on your page
visit page where is your slider component (no error here logged)
then visit another page
come back to page where is your tds-slider( now you will see error)
...

Code example
  <tds-slider                 min="0"                 max="500"                 step="1"                 value="50"                 ticks="4"                 show-tick-numbers                 snap                 label="Range"                 tooltip                 ngDefaultControl                 #rangeSlider                 [(ngModel)]="radius"                 controls                 thumb-size="sm"               ></tds-slider>
Screenshots
Add/Copy screenshot here

Expected behaviour
Component "tds-slider" should not log any errors.
Console errors
cpoi.component.html:72 TypeError: Cannot read properties of null (reading 'getBoundingClientRect')
Contact information
No response

Hello @gokberknur
I've tried to reproduce this error but without success.
Can you please checkout my code here https://github.com/alfredskeden/tegel-tds-slider-test/tree/main
And please update that code there to make it break by opening a PR in there? Or am I missing something in your produce steps to get this error? Would help a alot. thanks
best regards

I am closing it as the fix is released and did help.


trg test error on master

Hey! I just cloned the repo, ran julia<EMAIL_ADDRESS>-e 'using Pkg; Pkg.instantiate(); Pkg.test()
and see that one test errors:
trg: Error During Test at /Users/nick/juliacon/ITensors.jl/test/test_trg.jl:79
  Got exception outside of a @test
  BoundsError: attempt to access 8-element StaticArrays.MArray{Tuple{8},UInt8,1,8} at index [9]
  Stacktrace:
   [1] throw_boundserror(::StaticArrays.MArray{Tuple{8},UInt8,1,8}, ::Tuple{Int64}) at ./abstractarray.jl:484
   [2] checkbounds at ./abstractarray.jl:449 [inlined]
   [3] setindex! at /Users/nick/.julia/packages/StaticArrays/mcf7t/src/MArray.jl:126 [inlined]
   [4] TagSet(::String) at /Users/nick/juliacon/ITensors.jl/src/tagset.jl:95
   [5] replacetags(::TagSet, ::String, ::String) at /Users/nick/juliacon/ITensors.jl/src/tagset.jl:205
   [6] replacetags at /Users/nick/juliacon/ITensors.jl/src/index.jl:95 [inlined]
   [7] replacetags!(::IndexSet, ::String, ::String, ::String) at /Users/nick/juliacon/ITensors.jl/src/indexset.jl:335
   [8] replacetags at /Users/nick/juliacon/ITensors.jl/src/indexset.jl:339 [inlined]
   [9] replacetags(::ITensor, ::String, ::String, ::String) at /Users/nick/juliacon/ITensors.jl/src/itensor.jl:151
   [10] #trg#7(::Int64, ::Int64, ::Function, ::ITensor, ::Tuple{Index,Index}, ::Tuple{Index,Index}) at /Users/nick/juliacon/ITensors.jl/test/test_trg.jl:56
   [11] (::getfield(Main, Symbol("#kw##trg")))(::NamedTuple{(:χmax, :nsteps),Tuple{Int64,Int64}}, ::typeof(trg), ::ITensor, ::Tuple{Index,Index}, ::Tuple{Index,Index}) at ./none:0
   [12] top-level scope at /Users/nick/juliacon/ITensors.jl/test/test_trg.jl:92
   [13] top-level scope at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.1/Test/src/Test.jl:1083
   [14] top-level scope at /Users/nick/juliacon/ITensors.jl/test/test_trg.jl:81
   [15] include at ./boot.jl:326 [inlined]
   [16] include_relative(::Module, ::String) at ./loading.jl:1038
   [17] include(::Module, ::String) at ./sysimg.jl:29
   [18] include(::String) at ./client.jl:403
   [19] top-level scope at none:0
   [20] include at ./boot.jl:326 [inlined]
   [21] include_relative(::Module, ::String) at ./loading.jl:1038
   [22] include(::Module, ::String) at ./sysimg.jl:29
   [23] include(::String) at ./client.jl:403
   [24] top-level scope at none:0
   [25] eval(::Module, ::Any) at ./boot.jl:328
   [26] exec_options(::Base.JLOptions) at ./client.jl:243
   [27] _start() at ./client.jl:436
Test Summary: | Error  Total
trg           |     1      1
ERROR: LoadError: LoadError: Some tests did not pass: 0 passed, 0 failed, 1 errored, 0 broken.
in expression starting at /Users/nick/juliacon/ITensors.jl/test/test_trg.jl:79
in expression starting at /Users/nick/juliacon/ITensors.jl/test/runtests.jl:9
ERROR: Package ITensors errored during testing

Version info:
(ITensors) pkg> st
Project ITensors v0.1.0
    Status `~/juliacon/ITensors.jl/Project.toml`
  [861a8166] Combinatorics v0.7.0
  [2ae35dd2] Permutations v0.3.2
  [1fd47b50] QuadGK v2.0.3
  [90137ffa] StaticArrays v0.10.2
  [37e2e46d] LinearAlgebra
  [de0858da] Printf
  [9a3f8284] Random
  [8dfed614] Test

julia> VERSION
v"1.1.1"

Interesting, thanks for letting us know. I thought I had run the tests, it looks like maybe one of the tags being created for one of the indices is too long.

Yes, the test passed for me just now too. But let's look into this! Perhaps the tag is too long but the version of StaticArrays we are using is silently allow it to overrun the array bounds or something?

Yes, that could be. I can try out a newer version.
I also need to rewrite this test in the nicer way that the C++ version is written, but that is a side issue.

The problem was that "downright" was used as a tag but that is 9 characters and wasn't being caught in the earlier version. We should add an error message for that anyway, I am working on that now.

Should be fixed on master now.


Support set_max_stats_count of MultiDimension

What problem does this PR solve?
Issue Number: resolve #2788
Problem Summary:
What is changed and the side effects?
Changed:
Side effects:

Performance effects(性能影响):

Breaking backward compatibility(向后兼容性):

Check List:

Please make sure your changes are compilable(请确保你的更改可以通过编译).
When providing us with a new feature, it is best to add related tests(如果你向我们增加一个新的功能, 请添加相关测试).
Please follow Contributor Covenant Code of Conduct.(请遵循贡献者准则).

LGTM


Add option to install via npm

This PR allows installation via npm. But there's already an "ahoy" package in the registry so I switched the package name for this project to "ahoy.js".
@ankane let me know how you want to handle the package name and I can update this PR. To me, it would make sense to have name consistent in both, bower & npm.

Thanks Matthias!  I think the package name is the best we can do.


How to handle key events when I have global listeners?

Thanks for providing this component!
I want to control an animation with the slider. So I have only one slider. I want the same things to happen when I press keys like right or left when the slider has focus as when it doesn't have focus. Currently I can control the animation with keys. The slider also has event handlers for the keys, and as I want to control the animation from the slider, it gets to be a double command that I don't know how to deal with. Anyone has some pointers for me?
Possibly related:

#292

Try with removing the event handlers for key events from the slider component. Instead, add a global event listener that listens for key events regardless of focus. In the event handler for the key events, check if the slider has focus. If it does, control the animation accordingly. This way, you can have consistent control over the animation whether the slider has focus or not.

Thanks! 🙏 In my case it seems like removing the event handlers for the keys. Will start there.


Makes solver more verbose

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@4b1422f). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #43   +/-   ##
=======================================
  Coverage        ?   84.53%
=======================================
  Files           ?       62
  Lines           ?     2903
  Branches        ?        0
=======================================
  Hits            ?     2454
  Misses          ?      449
  Partials        ?        0

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


tests: add tests for dotprefix transformations.

Continuation of #111
This PR adds tests for new transformations:  dotprefix and tests code added in Suricata 4190
This update

Renames transform to dotprefix

Merged, thanks Jeff.
Please make sure to set proper 'requirements' in your tests. These tests failed on the master-4.1.x branch. I've fixed that up.


Azure Monitor Query: prepare for beta 2 release of batch metrics

API change check
API changes are not detected in this pull request.


[REVIEW] Asmit2952

Portfolio link
https://asmit2952.github.io/

Nice clean design but I agree with Debbie, some of the animation makes it hard to focus on the actual content. I think some animation is fine but make it subtle. I couldn't read the paragraph where all the language names were hopping around next to it for example. Check your site works with only a keyboard, when I just tried it on chrome I can navigate as far as the portfolio section but then tabbing tries to jump to things hidden in the carousel and everything breaks. Also, make sure to use semantic html tags like header, nav and main.

Closing as no GitHub url


Add addresses in Roseburg, OR

Status:

[ ] Research sources and propose best source (and it's data license)
[ ] Review proposed source
[ ] Approve source based on review comments
[ ] Add to OpenAddresses

NOTE: Proposed source notes should include basic column mapping to OpenAddress data model.

Douglas county isn't included in state-wide Oregon data in #2148, this issue is still relevant.

Ricky Hoffman	City Planner<PHONE_NUMBER><EMAIL_ADDRESS>he is sending form to sign tomorrow

Justin,
I have attached the data request form to this email. Fill it out and I will get you as much of the information that I can. The fee for the dataset is $20. (We can take a check in the mail or a payment over the phone). Thanks
Respectfully,
Richard J. Hoffman
Planner III and GIS Specialist
Douglas County Planning Department
1036 S.E. Douglas Avenue
Douglas County Courthouse - Justice Building - Room 106
Roseburg, OR   97470
DCGISDataRequest.pdf

Payment and form sent via snail mail.

Received at a via FTP today – looks like 55,000 addresses! Data table looks clean.
This fills one of the last big gaps in Oregon along the I-5 corridor around Roseburg :)

https://s3.amazonaws.com/data.openaddresses.io/cache/uploads/nvkelso/f56dce/douglas-co-oregon-address-points.zip


Init Spanish translation

Init of the Spanish translation of the Kubernetes documentation / Website.

CLA signed.

I'm still working on the localization of some sections:

/partners
/docs/home
/docs/concepts
/docs/concepts/overview/what-is-kubernetes.md

And looking for a Spanish another reviewer on the Slack channel.

/lgtm

/lgtm

/lgtm

/lgtm

/lgtm

/lgtm
/approve

@zacharysarah Could you merge it?

Is a squash required?

@sieben Yes, squashing is preferred in general. In this case, I see no reverts or other problematic commits, so I think we can go ahead and merge it.

@raelga 👋 This looks great! I will go ahead and merge this now. Some things to follow up with:

Open a PR in k/org to add your new aliases to the list of SIG Docs teams in k/org. This will automate the creation and maintenance of GitHub teams that folks can @mention in issues and PRs.

In the same file/PR, add the individual members of sig-docs-es-owners to the sig-docs-l10n-admins and website-milestone-maintainers sections.

Please /assign me to the PR you create in k/org. Let me know if you have questions about these steps, I'm happy to help.
In the meantime, congratulations! 🎉
/lgtm
/approve

Thanks a lot for all your support and help @zacharysarah!
The k/org PR is https://github.com/kubernetes/org/pull/685

CLA signed

Tracked in https://github.com/kubernetes/website/issues/13948


can't load other lang key

Describe the bug
A clear and concise description of what the bug is.
Extension Version
1.4.6
Framework/i18n package you are using
react-i18next
To Reproduce
Steps to reproduce the behavior:

ko.json add  key , value
"반려" : '반려"
not work i18n-ally support

Extension Log
Go to View -> Output -> i18n Ally, and paste the content below. You should mask any sensitive information

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS:  windows 10
Version :17763

Actually... it's intentional. Since using Unicodes as keys are not a good practice I believe.
For now, we only allows keys contains words, digits, dash, underscore, dots, [ and ]. This also prevents the extension to false positively recognize keys contains scripts.
I may not fix this. Or maybe you can provide me some use cases or reasons for this to change my mind. Thank you! 😁

thank you


[IDEA] Syntax highlighting error when string literals are used

Description:
Please refer the below image.

Steps to reproduce:
Affected Versions:
1.2.2
OS, DB, other environment details and versions:
MacOSX
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):
@NipunaRanasinghe

Closing since the relevant fix has already been added.


[BUG] - Fails to RETR large files

Description
Using the CLI (or the lib), I get corrupted files when trying to retrieve them (using RETR).
Steps to reproduce
I tried to get the same file using the suppaftp-cli and the GNU ftp client.
The GNU ftp client correctly retrieves the file as it is the same file size as the original one. I can run the command gunzip -d ftp.csv.gz without an issue.
When I try to do the same with suppaftp, gunzip tells me that the file is corrupted.
❯ ls -l ftp.csv.gz suppa.csv.gz
-rw-r--r-- 1 matthew_deville matthew_deville 11509311 Nov 10 11:44 ftp.csv.gz
-rw-r--r-- 1 matthew_deville matthew_deville 11552314 Nov 10 11:34 suppa.csv.gz

Expected behaviour
The file retrieved should be identical to the original one.
Environment

OS: Manjaro Linux (Arch linux)
Architecture: x86_64
Rust version: rustc 1.65.0 (897e37553 2022-11-02)
library version: 4.5.2

Trying to make the bug reproducible by anyone, but failing to do so. Closing the issue for the moment.


jsluice: init at unstable-2023-06-23

Description of changes
Tool for extracting URLs, paths, secrets, and other data from JavaScript source code
https://github.com/BishopFox/jsluice
Related to #81418

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

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

1 package built:

jsluice


Manifest fixes for compute lintstats command

Somehow missed including the dependency relation between "complexity" and "lintstats". This change fixes this relation in currently defined manifests.

@muhammadharis to approve the correctness of "registry compute lintstats" command.

Thanks all


Issue 278: Fix segment number

Change log description
Fix segment number not starting from 0 issue.
Purpose of the change
FIx #278
What the code does
When user passes a segment with number x , byte writer first fetches the current list of segment of this stream from server. Then it sorts the list of segment by their segment number and gets the segment of index x.
How to verify it
Tests should pass.

Codecov Report

Merging #279 (ed43d73) into master (9f1b113) will increase coverage by 4.48%.
The diff coverage is 100.00%.

:exclamation: Current head ed43d73 differs from pull request most recent head 7e0c9ec.


Support Thunderstorm and Next-Week Properties in Cornish

In the near future, the API will begin generating the following new properties:

possible-thunderstorm
thunderstorm
next-sunday
next-monday
next-tuesday
next-wednesday
next-thursday
next-friday
next-saturday

Add support for these properties to Cornish. (Information is available in the README, and examples are visible in /lib/lang/en.js and /test_cases/en.js.)

I'll look at it ASAP.


 You should add projects that have a source code, video, tutorial, etc about that project. You can take a look at this resource as example.

Hey @kartikmehta18. You should add projects that have a source code, video, tutorial, etc about that project. You can take a look at this resource as example.

Yes thanks but Can you please assign me for gssoc24

@jfmartinz Kindly assign issue which you think contributor can help with, else let them know by commenting or closing the issue.

@jfmartinz Kindly assign issue which you think contributor can help with, else let them know by commenting or closing the issue.

Noted

https://github.com/jfmartinz/ResourceHub/issues/298#top
https://github.com/jfmartinz/ResourceHub/issues/298 is solved i hope its helpfull @jfmartinz
live link = https://kartikmehta18.github.io/javascriptgame/
repo link = https://github.com/kartikmehta18/javascriptgame

video demo=
https://github.com/jfmartinz/ResourceHub/assets/125860170/7293038a-16d6-4c42-af15-a9bc7880ec5e
Thank-you

@jfmartinz Kindly assign issue which you think contributor can help with, else let them know by commenting or closing the issue.

Noted

https://github.com/jfmartinz/ResourceHub/pull/428 done plz revew


Unbound crashes

After a certain period DNS resolving is broken and I have to restart the firewall (sometimes unbound DNS is stopped and starting it again is enough. Restarting only unbound does not work).
Maybe related to this:
[18-Nov-2022 10:49:55 Europe/Berlin] Error: Call to undefined function reopenlog() in /usr/local/etc/inc/plugins.inc.d/unbound.inc:551
Stack trace:
#0 /usr/local/etc/inc/plugins.inc.d/unbound.inc(198): unbound_add_host_entries(Array)
#1 /usr/local/etc/inc/plugins.inc.d/unbound.inc(339): unbound_generate_config()
#2 /usr/local/etc/inc/plugins.inc(288): unbound_configure_do(false, 'wan')
#3 /usr/local/etc/rc.newwanipv6(106): plugins_configure('newwanip', false, Array)
#4 {main}

-> https://github.com/opnsense/core/issues/6147


Web Account Management Credentials...

Hello, is unclear where I have to go for receive this, for a single authentication Microsoft account:
const string AccountClientId
const string StoredAccountKey
And where I have to set the values in the solution, I understand that I have to associate my application whit my developer account, I already do that. Hope somebody can help me, thanks.

First register a Windows Developer Account at  : https://developer.microsoft.com/en-us/dashboard/registration . you must then register your app which will generate the stored key and client id .

This is explained in the Related topics. See also #173.


[WIP] [POC] Use ActiveSupport::Logger.broadcast instead of MulticastLogger

Makes a switch to use ActiveSupport::Logger.broadcast which is already used to by the rails console to handle printing to both STDOUT and the log file for the rails development.log.  This just makes use of the same functionality that is there that is pretty much being replicated in the MulticastLogger that we put together ourselves.
Minor difference that shouldn't matter:  We now only control the level of the main logger, and that passes it to other loggers via super.  That really didn't matter since we don't multicast to more than two loggers, and the top one is the one is the only one that matters.  The $container_log will always be debug anyway, so no need for the level wrapper method that we had in MulticastLogger.
Links

Based off of https://github.com/ManageIQ/manageiq/pull/17223
Diff between this branch and the above:  diff

Steps for Testing/QA
Right now, just using tests for QA, but we might want to spin up some containers and see if things are still working as expected.

Very Interesting idea!  @bdunne Please review.

Just a reminder that this is built off of https://github.com/ManageIQ/manageiq/pull/17223, so looking at the diff of the two branches might make this a little easier to grok.

Any reason this is still WIP/POC?  Seems like a valid approach

@Fryguy From @bdunne:  https://github.com/ManageIQ/manageiq/pull/17223#issuecomment-377268048
But, I can un-WIP at this point I guess.

@Fryguy @bdunne Going over some of my old PRs and trying to get them cleaned up, this being one of them
From where it looks like we left this one off a month ago, we were basically cool with merging this.  That said, in my comment in the related PR, I think merging should happen after merging  https://github.com/ManageIQ/manageiq/pull/17223 since that one is better suited for a backport (if ever necessary).
That said, this PR is built off of this one, so it will probably get auto merged anyway with this one.
¯\(°_o)/¯

:+1:


MUIC-611: [Android] Create new keys for android CTA buttons

https://glia.atlassian.net/browse/MUIC-611
Keys that can be overrided for dialogs - might missed something :) but end_dialog was the most important one
<!--  Share screen Dialog -->
    <string name="glia_dialog_screen_sharing_offer_enable_notifications_title">Share your screen?</string>
    <string name="glia_dialog_screen_sharing_offer_enable_notifications_message">The operator has requested you share your screen. However this requires the app\'s notifications be switched on. Do this now?</string>
    <string name="glia_dialog_screen_sharing_offer_enable_notifications_yes">@string/glia_dialog_yes</string>
    <string name="glia_dialog_screen_sharing_offer_enable_notifications_no">@string/glia_dialog_no</string>

    <!-- Allow notifications Dialog -->
    <string name="glia_dialog_allow_notifications_title">Allow Notifications?</string>
    <string name="glia_dialog_allow_notifications_message">The engagement would like to show notifications on the status bar. Open settings to enable notifications?</string>
    <string name="glia_dialog_allow_notifications_yes">@string/glia_dialog_yes</string>
    <string name="glia_dialog_allow_notifications_no">@string/glia_dialog_no</string>

    <!-- End engagement Dialog -->
    <string name="glia_dialog_end_engagement_title">End Engagement?</string>
    <string name="glia_dialog_end_engagement_message">Are you sure you want to end engagement with %1$s?</string>
    <string name="glia_dialog_end_engagement_yes">@string/glia_dialog_yes</string>
    <string name="glia_dialog_end_engagement_no">@string/glia_dialog_no</string>

    <!-- ScreenSharing offer Dialog -->
    <string name="glia_dialog_screen_sharing_offer_title">You are about to share your screen</string>
    <string name="glia_dialog_screen_sharing_offer_message">Keep in mind that depending on your selection, your full screen might be shared with the operator, not just the browser window.</string>
    <string name="glia_dialog_screen_sharing_offer_accept">@string/glia_dialog_accept</string>
    <string name="glia_dialog_screen_sharing_offer_decline">@string/glia_dialog_decline</string>

    <!-- Engagement ended Dialog -->
    <string name="glia_dialog_engagement_ended_title">Engagement Ended</string>
    <string name="glia_dialog_engagement_ended_message">This engagement has ended. Thank you!</string>
    <string name="glia_dialog_engagement_ended_action_ok">@string/glia_dialog_ok</string>

    <!-- Overlay permissions required Dialog -->
    <string name="glia_dialog_overlay_permissions_title">Overlay Permissions Required</string>
    <string name="glia_dialog_overlay_permissions_message">The chat requires screen overlay permissions to show message bubbles (optional). Please enable them for your app.</string>
    <string name="glia_dialog_overlay_permissions_ok">@string/glia_dialog_ok</string>
    <string name="glia_dialog_overlay_permissions_no">@string/glia_dialog_no</string>

    <!-- Upgrade offer Dialog -->
    <string name="glia_dialog_upgrade_audio_title">%1$s has offered you to upgrade to audio</string>
    <string name="glia_dialog_upgrade_video_2_way_title">%1$s has offered you to upgrade to video</string>
    <string name="glia_dialog_upgrade_video_1_way_title">%1$s has offered you to see their video</string>
    <string name="glia_dialog_upgrade_accept">@string/glia_dialog_accept</string>
    <string name="glia_dialog_upgrade_decline">@string/glia_dialog_decline</string>

    <!-- End screen sharing Dialog -->
    <string name="glia_dialog_screen_sharing_end_title">End Screen Sharing?</string>
    <string name="glia_dialog_screen_sharing_end_message">Are You sure You want to end the screen sharing?</string>
    <string name="glia_dialog_screen_sharing_end_cancel">@string/glia_dialog_cancel</string>
    <string name="glia_dialog_screen_sharing_end_end">End</string>

    <!-- Operators unavailable AlertDialog -->
    <string name="glia_dialog_operators_unavailable_title">We\'re sorry</string>
    <string name="glia_dialog_operators_unavailable_message">Operators are no longer available. Please try again later.</string>

    <!-- Unexpected error AlertDialog -->
    <string name="glia_dialog_unexpected_error_title">We\'re sorry, there has been an unexpected error.</string>
    <string name="glia_dialog_unexpected_error_message">Please try again later.</string>

    <!-- Permission error AlertDialog -->
    <string name="glia_dialog_permission_error_title">We\'re sorry, one or more permission(s) are missing for required action.</string>
    <string name="glia_dialog_permission_error_message">Please make sure all required permissions are enabled.</string>

    <string name="glia_dialog_yes">Yes</string>
    <string name="glia_dialog_no">No</string>
    <string name="glia_dialog_decline">Decline</string>
    <string name="glia_dialog_accept">Accept</string>
    <string name="glia_dialog_ok">OK</string>
    <string name="glia_dialog_cancel">Cancel</string>

to be on the same page - whom the information in the PR description is ment for?

Every key in the sdk is overridable by the application string keys - this is for Yurii - (and integrators)


DO NOT REMOVE Azure AD registrations manually!

About halfway down the page, you are told
"In pre-1803 releases, you will need to remove the Azure AD registered state manually before enabling Hybrid Azure AD join"
DO NOT DO THIS! Every machine you remove the Azure AD registered state for will no longer be able to sign in to Teams until you reregister, even if their machine is already Hybrid Azure AD joined! Utterly stupid....

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

ID: 72cdc251-618a-e84e-f40d-960b0ac69f99
Version Independent ID: 8cbaba3c-e883-2c71-28fb-f88db3fcaf7d
Content: Plan hybrid Azure Active Directory join - Azure Active Directory
Content Source: articles/active-directory/devices/hybrid-azuread-join-plan.md
Service: active-directory
Sub-service: devices
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@ianc911
Thanks for your feedback! I have assigned this issue to the author who will investigate and update as appropriate.

@SanDeo-MSFT Please review this issue.

#reassign @SanDeo-MSFT

@ianc911 Signing into Teams isnt predicated by Azure AD registered state. It's based on policies governing access to Teams requiring a device to be compliant. If you are on pre-Win10 1803 (which btw is out of support ) and need to hybrid Azure AD join your devices, we strongly recommend to remove the Azure AD registered state so that you dont encounter authentication issues.

#please-close


Remove and fix AugAssign, update dawn backend

AugAssign was simply assigning the field to itself without performing the binary operation. This adds a test that fails without this change, fixes it, and removes the outdated broken code.
Resolves DSL-214.

@DropD Yes, I realized that my test additions were incorrect. I suspect the current code is incorrect, but the tests are passing. I am looking into that inconsistency.

@DropD I found it - the fields needed subscripts, e.g. field_a[...].

@twicki and I had to wrap visit call with gt_ir.utils.make_expr to fix a failing test as a result of fixing the AugAssign 👍 .

This is ready to be merged after the re-review!


Adding Helper Functions

I added image and csv reading functions that can be used with all the lookup functions. The commented code is just testing for all the zip codes given from zipcodes.csv.

This may work, but I'd like to avoid breaking changes like adding a non-optional parameter. I'd prefer the approaches of either

Reading in the file when the package is loaded after the imports
Using @functools.lru_cache to dynamically cache inputs

from #3
Also, adding testing is good, but we'll want to do it in an automated testing module, rather then at the bottom of the file. Keep in mind that as a package, we've got to be very careful as to what is run and when to avoid breaking anyone's workflow or giving them unwanted output


Property named "ID" renamed to "id"

Expected behavior and actual behavior.
I expect property names to stay as they are when reading features from a GeoJSON file, but a feature property called "ID" is renamed to "id" if the feature contains a key "id".
Steps to reproduce the problem.
f1.geojson:
{
  "type": "Feature",
  "geometry": {
    "type": "Polygon",
    "coordinates": [
      [[66.116068, 9.711914],
       [66.116068, 30.849609],
       [53.252069, 30.849609],
       [53.252069, 9.711914],
       [66.116068, 9.711914]]
    ]
  },
  "properties": {
    "ID": "a9e28096aaa4460fad9bb8264607f805",
    "Sub_Region_Name": "Baltic",
    "Region_Name": "Sweden"
  }
}

f2.geojson:
{
  "type": "Feature",
  "id": "0",
  "geometry": {
    "type": "Polygon",
    "coordinates": [
      [[66.116068, 9.711914],
       [66.116068, 30.849609],
       [53.252069, 30.849609],
       [53.252069, 9.711914],
       [66.116068, 9.711914]]
    ]
  },
  "properties": {
    "ID": "a9e28096aaa4460fad9bb8264607f805",
    "Sub_Region_Name": "Baltic",
    "Region_Name": "Sweden"
  }
}

>>> fc = fiona.open("f1.geojson")
>>> f1 = fc.next()
>>> f1["properties"]["ID"]
a9e28096aaa4460fad9bb8264607f805
>>>
>>> fc = fiona.open("f2.geojson")
>>> f2 = fc.next()
>>> f2["properties"]["ID"]
Traceback (most recent call last):
  File "<input>", line 1, in <module>
KeyError: 'ID'
>>> f2["properties"]["id"]
a9e28096aaa4460fad9bb8264607f805

Operating system
Windows 10
Fiona and GDAL version and provenance
Fiona installed into Python 3.6.7 Anaconda, Inc. using conda default channel

fiona 1.7.10
gdal 2.2.2
libgdal 2.2.2

Confirmed @forman.
$ fio insp /tmp/f1.geojson
Fiona 1.8rc1 Interactive Inspector (Python 3.6.6)
Type "src.schema", "next(src)", or "help(src)" for more information.
>>> feat = next(iter(src))
>>> feat
{'type': 'Feature', 'id': '0', 'properties': OrderedDict([('ID', 'a9e28096aaa4460fad9bb8264607f805'), ('Sub_Region_Name', 'Baltic'), ('Region_Name', 'Sweden')]), 'geometry': {'type': 'Polygon', 'coordinates': [[(66.116068, 9.711914), (66.116068, 30.849609), (53.252069, 30.849609), (53.252069, 9.711914), (66.116068, 9.711914)]]}}

$ fio insp /tmp/f2.geojson
Fiona 1.8rc1 Interactive Inspector (Python 3.6.6)
Type "src.schema", "next(src)", or "help(src)" for more information.
>>> feat = next(iter(src))
>>> feat
{'type': 'Feature', 'id': '0', 'properties': OrderedDict([('id', 'a9e28096aaa4460fad9bb8264607f805'), ('Sub_Region_Name', 'Baltic'), ('Region_Name', 'Sweden')]), 'geometry': {'type': 'Polygon', 'coordinates': [[(66.116068, 9.711914), (66.116068, 30.849609), (53.252069, 30.849609), (53.252069, 9.711914), (66.116068, 9.711914)]]}}

This is a GDAL issue, however, as Fiona doesn't munge field names like this. The GDAL GeoJSON format driver has some fairly complicated logic around getting feature ids and it looks like it is a little buggy.

Thanks for looking into it!

I'm reporting in the GDAL issue tracker now. The field name munging happens even before a feature is read, which should help reveal this bug to the GDAL team:
$ fio info /tmp/f1.geojson
{"driver": "GeoJSON", "schema": {"properties": {"ID": "str", "Sub_Region_Name": "str", "Region_Name": "str"}, "geometry": "Polygon"}, "crs": "EPSG:4326", "crs_wkt": "GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4326\"]]", "bounds": [53.252069, 9.711914, 66.116068, 30.849609], "name": "f1", "count": 1}

$ fio info /tmp/f2.geojson
{"driver": "GeoJSON", "schema": {"properties": {"id": "str", "Sub_Region_Name": "str", "Region_Name": "str"}, "geometry": "Polygon"}, "crs": "EPSG:4326", "crs_wkt": "GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4326\"]]", "bounds": [53.252069, 9.711914, 66.116068, 30.849609], "name": "f2", "count": 1}

Okay, closing this one. Let's watch the upstream issue for a solution and workarounds.


Adding clarifications to the README.md

I listed the workflow steps to the README.md.

I refer to the Issue #34.


chore: bdd-sbhg-1587545302 to 0.0.1

chore: Promote bdd-sbhg-1587545302 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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


[5.4] Environment providers

With this PR a developer is able to register environment specific providers straight from within the config/app.php file.
'providers' => [
    ...
    App\Providers\EventServiceProvider::class,
    App\Providers\RouteServiceProvider::class,
],

// Providers for local env only
'providers-local' => [
    \Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,
],

The providers array from /config/app.php contains all serviceproviders required for your application.
But this list is environment-agnostic which means it will register all providers no matter which environment it's running in.
There are however some scenarios where packages are meant to only run on local or test devices, not on production. E.g. the IdeHelper package. This could be accomplished via the following:
// Within your AppServiceProvider
if(app()->environment !== 'production')
{
    app()->register(LocalServiceProvider::class);
}

Usage

With this PR a developer is able to assign providers to a specific environment inside the config/app.php file where all providers reside. In addition to the default providers array you can add environment specific ones.
They must follow the naming convention: providers-<environment>. E.g. providers-local.
By adding a service provider to the e.g. providers-local array, you assert it is registered in the local environment and nowhere else.
It is possible to add multiple provider lists. One for each environment.

Example:
'providers' => [
    ...
    App\Providers\EventServiceProvider::class,
    App\Providers\RouteServiceProvider::class,
],

'providers-local' => [
    \Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,
],

'providers-staging' => [
    \MetricsServiceProvider::class,
],

Notes

This is a minor features that is fully backwards compatible. No breaking changes are introduced with this PR. Environment providers can be omitted entirely or left empty to maintain current registration logic.
There is currently no similar logic suggested for the aliases listing.
Should this proposal get accepted, It's our opinion that no additional boilerplate is needed for the config/app.php file (such as an empty providers-local array for instance). This feature can be launched 'under the radar'.
As a developer, you still need to make sure that your code works in every environment and avoid dependencies in environments where you omitted the provider to be registered.

I'm 👎 here since this is already achievable using conditionals in the config file. Remember, that you config file is just a php file.

You can indeed achieve the same effect by conditionals and maybe in this regard the PR is redundant. But it could help make the code more explicit and less cluttered.

Been using my own package for this in all my projects to date to disable having local and development providers enabled in production, but in a clean way without excessive conditionals.
See https://github.com/sebastiaanluca/laravel-conditional-providers