Light blue is shown as green in the emulator

I use Dark Reader. Cba to get an image with it off. Here's a comparison image.

Oh yeah just realised that what is supposed to be f63bf8 is being shown as 76121c
and what should be edee32 is shown as 763e12

Bump

It's a known issue the colors aren't right. When they designed the toypad they worked around the bulb they knew they have and the diffusion of light caused by the plastic of the toypad. Because of this the RGB values sent by the game, are not accurate to the colors you'd see on the toypad. I tried a bunch of different manipulations but couldn't find one that accurately transformed the colors to what you see on the physical toypad.
I admittedly don't know much about colors, but anyone else wants to give it a shot. All color values go through "RGBToHex" function in "Index.js" so you could put any manipulations in there.

might have to go with a lookup table then, still its possible and should be done

might have to go with a lookup table then, still its possible and should be done

Maybe you should do it yourself then, rather than just assuming it's easy and expecting it to be done.

It's a known issue the colors aren't right. When they designed the toypad they worked around the bulb they knew they have and the diffusion of light caused by the plastic of the toypad. Because of this the RGB values sent by the game, are not accurate to the colors you'd see on the toypad. I tried a bunch of different manipulations but couldn't find one that accurately transformed the colors to what you see on the physical toypad.
I admittedly don't know much about colors, but anyone else wants to give it a shot. All color values go through "RGBToHex" function in "Index.js" so you could put any manipulations in there.

i think the easiest workaround is simply grab the hex color and convert it to the actual desired value before its returned by the function.
i modified the function to show whats my plan:
`function RGBToHex(r, g, b) {
r = r.toString(16);
g = g.toString(16);
b = b.toString(16);
if (r.length == 1)
	r = "0" + r;
if (g.length == 1)
	g = "0" + g;
if (b.length == 1)
	b = "0" + b;
var hex = "#" + r + g + b;

switch(hex){
case "#99240e":
	hex="#ffffff";
	break;

default:
	break;
}

return hex;

}`
the idea would be add a case for each color we have to convert. this example code only converts #99240e to full white (what is supposed to be). there are not that many colors besides the 5th keystone so a switch is actually a good idea
any values not present in the switch would go through the default, displaying without any conversion

@Berny23 i made a working color filter but push requests are disabled on my end. could you add the changed files?
colorfilter.zip


fix format issue

This fixes a formatting issue that can be problematic when running tests in CI pipelines.
$ terraform fmt --diff --check
main.tf
diff a/main.tf b/main.tf
--- /var/folders/20/59pbfvbd0q52q8kv8j6hwdmr0000gn/T/248116428	2019-05-30 13:26:49.000000000 -0400
+++ /var/folders/20/59pbfvbd0q52q8kv8j6hwdmr0000gn/T/754506683	2019-05-30 13:26:49.000000000 -0400
@@ -31,7 +31,7 @@
   ttl     = 60

   records = [
-    "${lookup(aws_acm_certificate.this.domain_validation_options[count.index], "resource_record_value")}"
+    "${lookup(aws_acm_certificate.this.domain_validation_options[count.index], "resource_record_value")}",
   ]
 }

Thanks. Just curious which version of Terraform you are running?

Thanks. Just curious which version of Terraform you are running?

v0.11.14

v1.3.0 has been released.

v1.3.0 has been released.

Amazing! Thanks for the quick response!


Rollback cryptography to fully working version (pre-39; 38 works)

It appears, based on today's build, that https://github.com/nerfstudio-project/nerfstudio/issues/765#issuecomment-1384792529 is still necessary.  This PR ensures that we do not select too new a version of cryptography, in order to avoid resulting problems.

Me too but apparently not...

Me too but apparently not...
Stylistically, does this project do squash-and-merge, or merge commit? Happy to push the button if you like.

Squash and merge. Feel free to.

Beat me to it LOL
Was looking at RealityCapture PR (see review)


react waning for

componentWillMount has been renamed
react-dom.development.js:12357 Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.

* Move code with side effects to componentDidMount, and set initial state in the constructor.
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.

Please update the following components: Connect

Any updates here? The warning is still there.

react-dom.development.js:88 Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.
Please update the following components: Connect

Yes, I'm totally willing to accept this PR.

Is there an update coming anytime soon?

It's done, please update with latest (5.1.4)

@matheusml I just updated it, but it seems we continue with the same issues.

@matheusml I just updated it, but it seems we continue with the same issues.

I updated to 5.1.4 today and it works fine for me. No warnings.
Maybe you are missing something.

Seems like in <React.StrictMode> you can't even use the UNSAFE methods. Didn't know about that.
Either way, there's an open issue for us to properly solve this.
My advice for you is to try to replace connect/Connect with the new hooks API.
In 5.2.0 (which will be shipped today) the change is straightforward. Everything will remain the same, except for the connect/Connect, that will be replaced by useSelector and useActions

By removing the StrictMode the errors disappeared indeed. That's fine then 👍


For Rinkeby opensea testnet doing nothing when click on Buy Now for any NFT

@JamesSmartCell  can you please help me with this? When i add https://testnets.opensea.io in the browser and select Rinkeby from the test network at that time if I want to buy any NFT and click on  Buy now it's opening a screen like this.

Now when clicking on Confirm Checkout it's show the process for some time and then show message like this

We are not getting any callback from webview like onSignTransaction or onSendTransaction or any other... While i checked this same link in Chrome browser with Metamask and in there when click on Confirm Checkout it's redirected to metamask and showing confirmation there.
Do you have any idea which method is called? Can you please do check for this and help me to figurinng out this? Thanks in advance.

Thanks for reporting, I'll check it

Thanks @JamesSmartCell

Hello @JamesSmartCell Did you find anything? If then please guide me. i need solution ASAP. Could you please help?

Thanks I replicated it, you are using WalletConnect to connect, right?
It is a bit hit and miss, sometimes if you 'log out' of the wallet, then log back in using WalletConnect, then try to buy again you'll get the correct pop-up. I'm not sure what's happening; trying to see if it's our fault, WalletConnect or Opensea.

The fault appears to lie on OpenSea's or WalletConnect's side, but I have managed to add a filter that prevents the connection from shutting down when getting bad data. This let me purchase a few of the NFTs on OpenSea Rinkeby.
This fix will be in the next release due out today or tomorrow, or if you can't wait you can build from source code.
Thanks for reporting! It really helps.

Thanks... I will take a look from source code and see if it works or not. Thanks for support

Thanks... I will take a look from source code and see if it works or not. Thanks for support

I haven't pushed the PR yet but you can build from the linked PR

I build from fix-walletconnect-busy-connection  branch its showing like this... still cannot purchase nft

It wasn't working before the fix, now I get this:
https://user-images.githubusercontent.com/12689544/161367470-05861774-2440-4ea8-a6b3-a8488085c953.mp4
You have to keep logging out until when you log in, you see the WalletConnect login.
Make sure, when the 'Connect to WalletConnect' prompt appears you are connecting to Rinkeby.

@HemangiVekaria I watched your video, you need to log out, then connect via walletconnect, if you don't get the WalletConnect screen you need to log back out again, then log in with WalletConnect

Yes i selected network as Rinkeby and try to connect using walletconnect then it's connected to mainnet.. Let me uninstall and install app and see if its work for me or not

You can choose 'edit' and change the network to Rinkeby.
They didn't write the connector very well, if they did it properly it would always be Rinkeby.
No need to uninstall

Let me know how you get on

i am checking give me few minute i will check and let you know

Yes it's working now. Thanks

Nice, thanks :)

Closed by #2514


Provide option to remove created container instances

Currently container-structure-test leaks one container instance per test case, it would be great if an option is available to remove container instances after (successful) tests.

Yeah - we should definitely do this.


definition missing: geographical entity

How about: "A material entity that is a bona fide or fiat object part of the Earth"
with the following disclaimer as an rdfs:comment "Includes atmosphere, crust, geographical regions (e.g., the geographical region over which the state of Florida has jurisdiction), bodies of water, mountains, etc.
Generally, an individual organism is a distinct object that is contained within, but not a part of, the Earth, although this requires more thought.  But the intent is definitely for this class to NOT subsume organism universally.  Human beings are contained within, but not part of, the Earth, for example."

This raises two questions:

Is the earth core (or a formation of bituminous coal 300 feet below the surface) a geographical entity? (maybe the intention is that the disclaimer takes care of that)
While being aware that we geo means Earth, I am wondering whether there is something like moon geography and Martian geography and whether this entity needs to cover those.

Mathias, I would have said "yes" to #1 but looking at various definitions of 'geography', I see that the answer is clearly "no".  #2 is less clear: definitions of 'geography' clearly restrict to Earth, but you see informal references to geography of moon and Mars, although the latter is also called 'areography'.  I'm happy to add an editor preferred term of "geographical entity of Earth".
Suggestions for revision of the definition to help with #1 are welcome.

It's still a bit over-inclusive, but we could define it as "A material entity that is a bona fide or fiat object part of the Earth's lithosphere, atmosphere, and/or hydrosphere."
The over-inclusive part is the entire lithosphere which includes the entire crust (already over-inclusive) and upper mantle.  Perhaps entire atmosphere is, too, but not as worried about that.

How about: "A material entity that is a bona fide or fiat object part of the Earth's surface, atmosphere, or hydrosphere."?

regarding #2: I think it is, of course, totally ok to restrict the domain of GEO to the earth. I am just wondering whether that is the best strategy. The matter raises some interesting questions. When I think about a geographical feature (I just noticed that class doesn't have a definition either), a thing that comes to mind is a crater. When we model 'crater' as a geographical feature, we would only model craters on Earth. However, isn't there a repeatable underlying all craters (including e.g. craters on the moon)? So, the class 'crater' in GEO would model all and only craters that are part of Earth and some other ontology would need to model craters in general. Again, that is a design decision we can make. I am just wondering whether we want to make it and whether maybe making GEO a geography ontology which uses geography in the broad and not in its restricted meaning makes more sense. Just throwing it out there.

I had the same thoughts about "mountain".  They tend to be the same thing on Earth, the Moon, Mars, etc.  If we use your definition, then how do we define 'surface'?  That's what I've been struggling with.  Geography includes atmospheric and oceanographic and other aspects that really encompass the atmosphere, hydrosphere, and the crust to a certain depth, although no one I've seen really specifies it.

So I'm willing to drop the restriction to Earth.
A material entity that is a bona fide or fiat object part of the crust, atmosphere, or hydrosphere of planet or a planet's moon.

But then I'm not sure about "crust".  And Titan has ocean's that are not water, so it's more of a "liquid methane sphere" as opposed to "hydrosphere".

It may be best to drop 'hydrosphere' and just refer to the surface of a planet or satellite. I think the closest thing to what you might be looking for is either going to be the crust or the pedosphere, although the latter seems a bit too jargony and may even be too exclusive.
As such, it may be best to define a planetary surface as the portion of the crust or surface liquids of an astronomical object that comes in contact with the atmosphere or outer space.

I agree about dropping hydrosphere.  According this Wikipedia entry on "planetary surface", (1) crust includes solid and liquid portions and (2) natural satellites (aka moons) have a planetary surface (well not all of them necessarily, but nearly all anyway).
This article also references the planetary boundary layer, which is a good stopping point I think.
So, perhaps we could say "A material entity that is a bona fide or fiat object part of the crust or planetary boundary layer of a terrestrial planet (including Earth), dwarf planet, exoplanet, natural satellite, planetesimal, or Small Solar System body".
Then in the comment we can say "Not all such astronomical objects necessarily have a crust or planetary boundary layer (for example, the gas giants Jupiter and Saturn).  So only those objects that have a crust with or without a planetary boundary layer have geographical entities as parts".

Been thinking some more:
A material entity that is (1) a bona fide or fiat object part of the crust, any bodies of liquid on or contained within the crust, or planetary boundary layer (if present) of a terrestrial planet (including Earth), dwarf planet, exoplanet, natural satellite, planetesimal, or small Solar System body, and that (2) overlaps the planetary surface (including having part of the planetary surface as a boundary).
We're not just talking about the surface as a geometrical plane or sheet.  When we talk of a mountain, it's a 3D thing.  Ditto for a river, lake, ocean.  So it can't just be planetary surface.

Yes, I agree on the surface issue. I like the definition you propose


Changing affordable_real and related tests

Now, runtest.jl works without any error.
I made some changes which are as follows:
1- Modifying affordable_real function to cover quaternionic characters.
2- Modifying @testset "affordable real degrees/dot" to accommodate affordable_real.
3- Modifying @testset "Orthogonality of projections" to accommodate affordable_real.
4- Removing ex_SL(2,3).jl

I also added a test in projections.jl based on the group SL(2,3) for doubling the quaternionic characters.

@kneshat thanks, tests look good!
I'll squash and merge once the tests finish.

I did not change the file yet. I am wondering why tests do not work here, while "runtest.jl" works fine.
Can it relate to the warning  ┌ Warning: Possibly wrong rank estimate? (numerical) 4 ≠ 2 (expected) └ @ SymbolicWedderburn C:\Users\raven\.julia\packages\SymbolicWedderburn\lbiby\src\image_basis.jl:124 that I get?

here I need to approve tests to run, since CI services have been abused to perform computations unrelated to the package.

replying here to your comment (https://github.com/kalmarek/SymbolicWedderburn.jl/issues/82#issuecomment-2276647478) to keep the discussion related to PR in one place:

using frobenius_schur(b.character) for b in sa_basisR does not work since not all b.character are irreducible in the sense that you defined with the function isirreducible. My two first questions are: did you define isirreducible only for complex characters? What is the difference between issimple and isirreducible?
Now, I am wondering if I need to modify this function so that we can define frobenius_schur for irreducible real characters or not. In theory, frobenius_schur has a meaning for any ground field K that makes K G semisimple. This indicator relates to the possibility that the underlying irrep (not necessarily complex) accepts invariant symmetric bilinear forms and invariant skew-symmetric bilinear forms.
Do you have any other suggestion instead of checking frobenius_schur(b.character)? So that we can proceed without modifying isirreducible and frobenius_schur

issimple refers to DirectSummands (I'm no longer sure this is a good name, but this renaming is a separate issue #77), whereas isirreducible is defined for Characters only.

fair point with the irreducibility of characters! In the suggestion above I forgot that we already have realified the character. Taking a step back: what I want is a set of tests that will test precisely what we mean by issimple, now that we're changing its definition.

we have essentially three cases with three different meanings of issimple that need to be checked.

the standard case -- isirreducible(b.character)
sum of two different conjugates -- mult = Characters.multiplicities(b.character)
 !isirreducible(b.character) && count(!iszero, mult) == 2 && all(m->m in (0,1), mult)

Alternatively k = findfirst(!iszero, mult)
 χ = Character(table(b.character), k)
 χc = conj(χ)
 χ ≠ χc && b.character == χ + χc

* a double of self-conjugate character `!isirreducible(b.character) && count(!iszero, mult) == 1 && all(m->m in (0,2), mult)`

We could wrap those checks in small functions within the testset and use them there e.g.
```julia
if isirreducible(b.character)
    @test multiplicity(b) == size(b, 1)
elseif _is_irr_plus_conj(b.character)
    @test 2*multiplicity(b) == size(b, 1)
elseif _is_quaternionic_double(b.character)
    @test 4*multiplicity(b) == size(b, 1)
else
    throw("Unexpected character associated to a direct summand")
end

or something along those lines

@kneshat do you intend to work on this further, or should I carry those changes over the finish line?


GADT distinguished by boolean property not narrowed on test for truthiness

I have a Success / Failure tagged union type called Result, where the tag property is of the one of the two literal types in boolean.  Success uses the literal type true and Failure uses the literal type false.  I would expect that a test like if (someResult.success) would narrow the type in the else branch to Failure, but it does not.
TypeScript Version:  2.1.4-insiders.20161201 (on the Playground)
Code
type Success<T> = { success: true, result: T };
type Failure = {success: false, err: Error};
type Result<T> = Success<T> | Failure;

// Also possibly a bug - type assertion is necessary too
// Otherwise r is upcast to a Success<T> in spite of the type ascription
const r: Result<number> = { success: true, result: 1 } as Result<number>;

if (r.success) {
  r.result;
} else {
  r.err
}

Expected behavior:
No compilation error
Actual behavior:
Compilation error at the r.err:

Property 'err' does not exist on type 'Result'.
Property 'err' does not exist on type 'Success'.

Duplicate of #10564. It works as expected in --strictNullChecks mode.
The behavior without the as assertion is expected because control flow analysis has narrowed the actual type of r to Success<number>.

Fantastic - thanks for the explanation!


UHF-8930: Add new field announcement_title for screenreaders

UHF-8930

What was done

Add new field announcement_title for screenreaders

How to install

Check instructions from the HDBT PR.

How to test

[ ] Check instructions from the HDBT PR.
[ ] Check that code follows our standards

Other PRs

https://github.com/City-of-Helsinki/drupal-hdbt/pull/777
https://github.com/City-of-Helsinki/drupal-helfi-platform-config/pull/597

Codecov Report

Merging #597 (3344835) into main (fa485c4) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 3344835 differs from pull request most recent head 987ff7a. Consider uploading reports for the commit 987ff7a to get more accurate results

@@            Coverage Diff            @@
##               main     #597   +/-   ##
=========================================
  Coverage     12.74%   12.74%
  Complexity      236      236
=========================================
  Files            30       30
  Lines           902      902
=========================================
  Hits            115      115
  Misses          787      787

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Changed the name and description of the announcement title for assisitive technologies and moved it above the body field 👍


Loading icon docs

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

There were no docs for the loading icon.
Part of: #336
What is the new behavior?
Added docs for the loading icon.
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

/azp run

this pr needs signed commits, then it can be merged

@lderrickable I've signed my commits!

/azp run

/azp run


FEAT Optimize map + add clustering

What type of change did you make?
Either:

feat

Changes

Modified map icons to use PNG for better performance
Added clustering to map

Screenshots:

Video demo : https://streamable.com/dm3b2x
Link to Trello Card (if applicable):
https://trello.com/c/Q5BMWLmp/6-cluster-markers-on-map
https://trello.com/c/LEGbD3WY/36-set-google-maps-markers-to-use-png-instead-of-svg
Checklist:

[x] My changes don't break anything
[x] I have removed all console logs
[x] I have applied prettier before pushing

Mention someone for review
@sidharrth2002
@Shaunmak1214

Looks good, maybe we can only cluster the SOS reports and reduce opacity on foodbank markers. I tried using this config
<GoogleMap
          mapContainerStyle={mapContainerStyle}
          zoom={8}
          center={center}
          onLoad={onLoad}
          onUnmount={onUnmount}
          options={options}
          onClick={() => {
            setModalVisible(false);
            setFoodbankModalVisible(false);
          }}
        >
          <MarkerClusterer maxZoom={12} ignoreHidden={true}>
            {(clusterer) => {
              const sosMarkers = flags.map((flag, index) => {
                return (
                  <Marker
                    visible={showSOS}
                    key={index}
                    clusterer={clusterer}
                    position={{
                      lat: parseFloat(flag.lat),
                      lng: parseFloat(flag.lng),
                    }}
                    icon={{
                      url: BDGraphics.SirenIconPNG,
                      scaledSize: new window.google.maps.Size(30, 30),
                      origin: new window.google.maps.Point(0, 0),
                      anchor: new window.google.maps.Point(15, 15),
                    }}
                    options={{
                      optimized: true,
                    }}
                    onVisibleChanged={() => {
                      if (index + 1 === flags.length) {
                        clusterer.repaint();
                      }
                    }}
                    onClick={() => {
                      setSelectedMarker(flag);
                      setFoodbankModalVisible(false);
                      setModalVisible(true);
                    }}
                  />
                );
              });
              return sosMarkers;
              // const foodbankMarkers =

              // return sosMarkers.concat(foodbankMarkers);
            }}
          </MarkerClusterer>
          {foodbanks.map((foodbank, index) => {
            return (
              <Marker
                // clusterer={clusterer}
                opacity={0.5}
                visible={showFoodbanks}
                key={index + flags.length + 1}
                position={{
                  lat: parseFloat(foodbank.address[0].coordinates.latitude),
                  lng: parseFloat(foodbank.address[0].coordinates.longitude),
                }}
                icon={{
                  url: BDGraphics.FoodBankIconPNG,
                  scaledSize: new window.google.maps.Size(15, 15),
                  origin: new window.google.maps.Point(0, 0),
                  anchor: new window.google.maps.Point(10, 10),
                }}
                options={{
                  optimized: true,
                }}
                // onVisibleChanged={() => {
                //   if (index + 1 === foodbanks.length) {
                //     clusterer.repaint();
                //   }
                // }}
                onClick={() => {
                  setSelectedFoodbank(foodbank);
                  setModalVisible(false);
                  setFoodbankModalVisible(true);
                }}
              />
            );
          })}
        </GoogleMap>

@sidharrth2002 @Shaunmak1214
I personally think that leaving the foodbanks out of the ClusterMarker component makes things look very messy. So, not sure if we want to do this.
Also I don't know how what would be a good different cluster image for the foodbanks.
I think we should keep it as it is - I don't see how including the foodbanks in the cluster number count is misleading, since our app is made to connect both foodbanks and people who need help if I am not mistaken; furthermore, any confusion will be cleared up once the user zooms in.
Of course, I'm happy to disagree but commit if the majority feels that we should separate foodbanks from the SOS cluster, but this is what I think

@sidharrth2002 @Shaunmak1214
I personally think that leaving the foodbanks out of the ClusterMarker component makes things look very messy. So, not sure if we want to do this.
Also I don't know how what would be a good different cluster image for the foodbanks.
I think we should keep it as it is - I don't see how including the foodbanks in the cluster number count is misleading, since our app is made to connect both foodbanks and people who need help if I am not mistaken; furthermore, any confusion will be cleared up once the user zooms in.
Of course, I'm happy to disagree but commit if the majority feels that we should separate foodbanks from the SOS cluster, but this is what I think

I agree that it's a bit messy if we separate but I'm only worried about people thinking the report numbers are huge at first sight

@sidharrth2002 @Shaunmak1214
I personally think that leaving the foodbanks out of the ClusterMarker component makes things look very messy. So, not sure if we want to do this.
Also I don't know how what would be a good different cluster image for the foodbanks.
I think we should keep it as it is - I don't see how including the foodbanks in the cluster number count is misleading, since our app is made to connect both foodbanks and people who need help if I am not mistaken; furthermore, any confusion will be cleared up once the user zooms in.
Of course, I'm happy to disagree but commit if the majority feels that we should separate foodbanks from the SOS cluster, but this is what I think

I agree that it's a bit messy if we separate but I'm only worried about people thinking the report numbers are huge at first sight

Hmm. We could use the existing icons, but fix the colours for foodbanks and SOS requests respectively - what do you think?
Maybe red for SOS and green for foodbanks?

I agree that it's a bit messy if we separate but I'm only worried about people thinking the report numbers are huge at first sight

Hmm. We could use the existing icons, but fix the colours for foodbanks and SOS requests respectively - what do you think?
Maybe red for SOS and blue for foodbanks?

I'll do some research on this. Do you want to ask for suggestions in the community channel? A very specific UI UX issue

I agree that it's a bit messy if we separate but I'm only worried about people thinking the report numbers are huge at first sight

Hmm. We could use the existing icons, but fix the colours for foodbanks and SOS requests respectively - what do you think?
Maybe red for SOS and blue for foodbanks?

If we can control the colour, it's perfect

I'll do some research on this. Do you want to ask for suggestions in the community channel? A very specific UI UX issue

Sure I'm down to ask for suggestions especially from our designers

If we can control the colour, it's perfect

We can control colour and size.

I'll do some research on this. Do you want to ask for suggestions in the community channel? A very specific UI UX issue

Sure I'm down to ask for suggestions especially from our designers

If we can control the colour, it's perfect

We can control colour and size.

got it

Had a look at the code, will merge for now until we think of a better UI/colour separation etc.!


Scroll Navbar when change the width of the page

Hi,
If you scroll down in http://getbootstrap.com/ and then reduce your browser, the navbar will positionate on the top of the browser like this:

Then, if you scroll up, the navbar stays on the middle of the page:

Operating system and version: Windows 7
Browser and version: Chrome 56.0.2924.87

Thanks,

Works fine with FF 56 and Chrome that I tested here. Perhaps you are hitting a breakpoint. In which width does it happen for you?

Sorry, you need reduce to mobile size (less than 765px) first, then scroll down, and resize more than 765px. After that, the navbar will positionate on the top of the browser (position absolute: 0px) and if you scroll down or up you see the issue that I comment.


Will there be a third lottery?

How will the final lottery be determined?

https://medium.com/fantomfoundation/fantom-whitelisting-lottery-overview-363c4275c677


the value of "embed_dim" in Linear Embeding

Excuse me, does the value of "embed_dim" in Linear Embeding have to use 96, 128 and 192? Can it be changed to other values, such as 32 ?

Both can be, which determines the number of parameters and the representational power of the network


Use Go 1.9 math/bits funcs for counting leading / trailing zeros

Thanks 👍
I'm personally cool with bumping the minimum Go version. We also have pending PRs in prometheus/prometheus waiting for that. Any objections @brian-brazil?


Post as CF function Does not return the response

code server version 4.4.0 with The F5 Extension v3.7.1
When highlighting a JSON Payload and right clicking to use the POST AS CF function, the response message is not displayed.
Example payload
{
        "class": "Cloud_Failover",
        "environment": "gcp",
        "externalStorage": {
            "scopingTags": {
                "f5-cfe-failover-label": "student0"
            }

        },
        "failoverAddresses": {
            "enabled":true,
            "scopingTags": {
                "f5-cfe-failover-label": "student0"
            }
        },
        "controls": {
            "class": "Controls",
            "logLevel": "silly"
        }

}

Output shows that the declaration was accepted and responded with a 200.
 222 [2022-06-02T16:21:33.390Z] [INFO]: HTTPS-REQU [zdqq]: get -> https://<IP_ADDRESS>:443/mgmt/shared/cloud-failover/declare
 223 [2022-06-02T16:21:33.517Z] [INFO]: HTTPS-RESP [zdqq]: 200 - OK

However there is no JSON response body returned to VSCODE.
When the JSON payload is altered as follows, and I choose the Make HTTP Request, I get the JSON response:
{
    "url": "/mgmt/shared/cloud-failover/declare",
    "method": "POST",
    "body": {
        "class": "Cloud_Failover",
        "environment": "gcp",
        "externalStorage": {
            "scopingTags": {
                "f5-cfe-failover-label": "student0"
            }

        },
        "failoverAddresses": {
            "enabled":true,
            "scopingTags": {
                "f5-cfe-failover-label": "student0"
            }
        },
        "controls": {
            "class": "Controls",
            "logLevel": "silly"
        }
    }
}

JSON response
{
    "message": "success",
    "declaration": {
        "class": "Cloud_Failover",
        "environment": "gcp",
        "externalStorage": {
            "scopingTags": {
                "f5-cfe-failover-label": "student0"
            }
        },
        "failoverAddresses": {
            "enabled": true,
            "scopingTags": {
                "f5-cfe-failover-label": "student0"
            },
            "requireScopingTags": false
        },
        "controls": {
            "class": "Controls",
            "logLevel": "silly"
        },
        "schemaVersion": "1.11.0"
    }
}

Hi Carl, this was by design to help reduce the amount of noise in the workflow.  If things were successful, then I saw no need to make another window to disrupt the users workflow.  If things failed, then it should provide the output for visibility with a new tab json response.
Can you help me understand what you are needing here?  Do you need the whole json to be able to repost, or can we just log some of the response to provide the feedback your looking for?

Ben,
I understand your reasoning, however that is a change in behavior from every other part of the ATC within the extension.  Another change in behavior/functionality is that when you click on the specific ATC element, it will essentially return the state of that ATC element.  When clicking the CF part of the status bar, it returns an error and never displays the status of CF in a window.

Right.  I was trying something new to clean up the work flows.  Clicking the CF version on the bottom bar should provide the current CF config.  I can definitely look into that.  Then we can chat about what else you might need, ok?

Hey @CarlB-dev.   What do you want the solution to be here?  Are you ok with the newer end state with less clutter or do you want the post declaration response displayed to the user?

closing due to inactivity


test: migrate cli unit/e2e tests to vitest

Motivation
Consolidate the testing frameworks and migrate to vitest.
Description
Migrate cli unit/e2e tests to vitest.
Steps to test or reproduce

Run all tests

:tada: This PR is included in v1.14.0 :tada:


Initial code migration from egeria repo

Migrating initial code from the main egeria repo

Have done the following

Migrated initial postgres connector from open-metadata-implementation/adapters/open-connectors/data-store-connectors/postgres-connector of https://github.com/wbittles/egeria (postgres-connector branch)
Added gradle build script (./gradlew build from top level - - java 11. Output in postgres-connector/build/ including 'postgres-connector-2.5-SNAPSHOT-javadoc.jar postgres-connector-2.5-SNAPSHOT-sources.jar postgres-connector-2.5-SNAPSHOT.jar' )
Added codeQL code scan to detect bugs/security issues
Also in repo (not tracked in PR) enabled DCO, enforced gradle build, codeQL build

I think the next stage is to understand more about what we need to test - new issue


sdkmanager package bug: ANDROID_HOME environment variable is not set correctly

Describe the bug
When running sdkmanager, this error occurs: FileNotFoundError: ANDROID_HOME "/opt/android-sdk" does not exist!
I was able to fix it by changing the ANDROID_HOME variable to another dir such as ~/androidhome but not sure if it's a complete fix
Steps To Reproduce
Steps to reproduce the behavior:

run nix-shell -p sdkmanager
run sdkmanager
Error occurs

Expected behavior
sdkmanager to work as normal.
Error log
Traceback (most recent call last):
  File "/nix/store/dymwfan93vk05kjn2lr90gfr22q7kik6-python3.11-sdkmanager-0.6.5/bin/..sdkmanager-wrapped-wrapped", line 9, in <module>
    sys.exit(main())
             ^^^^^^
  File "/nix/store/dymwfan93vk05kjn2lr90gfr22q7kik6-python3.11-sdkmanager-0.6.5/lib/python3.11/site-packages/sdkmanager.py", line 1193, in main
    method(args.packages)
  File "/nix/store/dymwfan93vk05kjn2lr90gfr22q7kik6-python3.11-sdkmanager-0.6.5/lib/python3.11/site-packages/sdkmanager.py", line 1000, in install
    android_home = get_android_home()
                   ^^^^^^^^^^^^^^^^^^
  File "/nix/store/dymwfan93vk05kjn2lr90gfr22q7kik6-python3.11-sdkmanager-0.6.5/lib/python3.11/site-packages/sdkmanager.py", line 543, in get_android_home
    raise FileNotFoundError('ANDROID_HOME "%s" does not exist!' % android_home)
FileNotFoundError: ANDROID_HOME "/opt/android-sdk" does not exist!

Additional context
Add any other context about the problem here.
Notify maintainers
@linsui

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.79, NixOS, 23.11 (Tapir), 23.11.20240229.068d4db`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"home-manager-23.11.tar.gz, nixos-23.11, nixpkgs-unstable"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a :+1: reaction to issues you find important.

This is expected. You need to set ANDROID_HOME to tell it where you want to install sdk.


Make Numpy and SQL optional dependencies

This would perhaps be sweet, no?

opting for sambamba output directly imported, no need for numpy and sqlalchemy is easy to install


Wrong assumption in CMakeLists.txt

Hyprland Version
git main
Bug or Regression?
Bug
Description
Hyprland cmake build script defines
find_package(OpenGL REQUIRED)

and then tries to link target with EGL:
target_link_libraries(Hyprland
 ...
       OpenGL::EGL
 ...
)

However, OpenGL::EGL might be undefined at this point. Cmake documentation confirms that

OpenGL::EGL. Defined if the system has EGL.

And this is indeed the case on my system (alpine edge), where cmake complains that OpenGL::EGL is undefined. The way to work around this problem is like this:
find_package(OpenGL REQUIRED COMPONENTS GLES3)

This way everything builds just fine. I don't know what's the proper fix though. Maybe just use FindEGL from extra-cmake-modules, this is a much simpler cmake script?
While we're here, maybe also use FindWayland{,Scanner,Protocols} from ECM? link. This will allow to clean a lot of custom logic from CMakeLists.txt. Like find_program(WaylandScanner), execute_process(pkg-config --variable=pkgdatadir wayland-protocols), function(protocol), etc. I can prepare a PR if this looks good.
How to reproduce
build hyprland from git main on alpine edge
Crash reports, logs, images, videos
No response

feel free to make a MR. No ECM, though.


ComboBox dropdown shows weird margin.

Hi,
The ComboBox dropdown shows white margin container.
This screenshot shows packages installed, the code, and the running window:

I am using version 5.3.0, and added Suki theme with
<StyleInclude Source="avares://SukiUI/Theme/Index.xaml" />

Also, Window class NakedWindow makes the window dark. How can I make it light?

I think you have to use the 6.0.0 beta with the latest avalonia.

Your configuration seems .. complex.
Do you use NativeAOT? I saw the exact same bug in the SukiUI Demo App compiled with NativeAOT.
If you're curious btw - SukiUI Demo App NativeAOT : https://drive.filen.io/d/71b473d1-17c2-4fd4-ba51-cc3a98458503#uaKKtNDPGumDVdKya713h3M54fPIYPL4
Otherwise I would say that Suki 5.3 hasn't been tried with Avalonia 11.9 and that lots of breaking changes happen between versions so I'm not really surprised. I advice you to use SukiUI 6.0 preview, just because of the massive performance improvements too.

@CyLuGh It's same with latest beta:

@kikipoulet No, my basic app is not NativeAOT. Also, your demo app didn't even start. FWIW, my system is Windows 2016 running in VirtualBox VM.

@kikipoulet An update. I just tested SukiUI 6.0.0-beta2 and 5.3.0. in Windows 2019, and it works. I do no longer see the container margin.  However, 5.3.0 is still buggy.
Regarding windows version, I assume 6.0.0-beta2 must work in Windows 10+ as well. It'd be better if it could work on Windows 2016 as well, as my app will run on server and desktop windows. Will test on Win 10 and let you know.

Actually I think it is more an Avalonia limitation about platform support, Windows 7 is not supported for example, so :

If Combobox act the same in your configuration with another theme (like fluenttheme), it is just a platform support problem from Avalonia.

If it is specific to SukiUI in this configuration, it means that the animations and transitions features that SukiUI generously use aren't really supported on the platform anymore.

Note that the version of Avalonia is important, suki 5.3 was for Avalonia 11.0.5. Using it with Avalonia 11.0.9 can definitely cause this bug, I have seen worse between minor versions changes.

@kikipoulet It makes sense about Avalomia version and support. I ran Fluent Dark theme on Windows 2016, and it did show some irregularities, however it works well in 2019.
Anyway, I do like SukiUI so far. Is there any date decided when version 6 coming out of beta?
Thank you for your help and work on SukiUI.

@kikipoulet It makes sense about Avalomia version and support. I ran Fluent Dark theme on Windows 2016, and it did show some irregularities, however it works well in 2019.
Anyway, I do like SukiUI so far. Is there any date decided when version 6 coming out of beta?
Thank you for your help and work on SukiUI.

You're welcome, thank you for the feedback.
I plan to publish a 3rd and last preview in few days. Now, the "release" won't have any breaking changes, I'll just wait a few weeks without issues to publish a release, so I don't expect any real change.


Please, support flowplayer

Hi.
This is not the first time that I have seen a page that uses this flowplayer thing, but I would love to watch the following video without hickups
http://mediahub.rice.edu/video.aspx?DestinationID=URka-_E5-0-e4girH4pDPQ&ContentID=wJlIvN-keUqfi2MhjqDAAQ
Is there anybody who has seen something like this before?
Thanks.

Thanks a lot.


fix: ensure consistent JSON log format for automaxprocs

Configures automaxprocs to use the application logger instead of default console logging to maintain consistent JSON format across all log output.
output:
keda-admission-webhooks:
 ~/ k logs deployments.apps/keda-admission-webhooks -n keda
2024-11-15T18:39:05Z	INFO	setup	maxprocs: Updating GOMAXPROCS=1: determined from CPU quota	{"system": "automaxprocs"}
2024-11-15T18:39:05Z	INFO	setup	Starting admission webhooks
2024-11-15T18:39:05Z	INFO	setup	KEDA Version: main
2024-11-15T18:39:05Z	INFO	setup	Git Commit: c2a6df04230e1f62d335127e0a02694015c79fa6
2024-11-15T18:39:05Z	INFO	setup	Go Version: go1.23.3
2024-11-15T18:39:05Z	INFO	setup	Go OS/Arch: linux/arm64
2024-11-15T18:39:05Z	INFO	setup	Running on Kubernetes 1.30	{"version": "v1.30.0"}
2024-11-15T18:39:05Z	INFO	controller-runtime.builder	skip registering a mutating webhook, object does not implement admission.Defaulter or WithDefaulter wasn't called	{"GVK": "keda.sh/v1alpha1, Kind=ScaledObject"}

keda-operator:
 ~/ k logs deployment/keda-operator -n keda
2024-11-15T18:39:00Z	INFO	setup	maxprocs: Updating GOMAXPROCS=1: determined from CPU quota	{"system": "automaxprocs"}
2024-11-15T18:39:00Z	INFO	setup	Starting manager
2024-11-15T18:39:00Z	INFO	setup	KEDA Version: main
2024-11-15T18:39:00Z	INFO	setup	Git Commit: c2a6df04230e1f62d335127e0a02694015c79fa6
2024-11-15T18:39:00Z	INFO	setup	Go Version: go1.23.3
2024-11-15T18:39:00Z	INFO	setup	Go OS/Arch: linux/arm64
2024-11-15T18:39:00Z	INFO	setup	Running on Kubernetes 1.30	{"version": "v1.30.0"}
2024-11-15T18:39:01Z	INFO	starting server	{"name": "health probe", "addr": "[::]:8081"}
I1115 18:39:01.071646       1 leaderelection.go:254] attempting to acquire leader lease keda/operator.keda.sh...
I1115 18:39:39.767722       1 leaderelection.go:268] successfully acquired lease keda/operator.keda.sh

keda-operator-metrics-apiserver:
 ~/ k logs deployments.apps/keda-operator-metrics-apiserver -n keda
I1115 18:38:55.350590       1 welcome.go:34] "msg"="Starting metrics server" "logger"="keda_metrics_adapter"
I1115 18:38:55.350752       1 welcome.go:35] "msg"="KEDA Version: main" "logger"="keda_metrics_adapter"
I1115 18:38:55.350756       1 welcome.go:36] "msg"="Git Commit: c2a6df04230e1f62d335127e0a02694015c79fa6" "logger"="keda_metrics_adapter"
I1115 18:38:55.350759       1 welcome.go:37] "msg"="Go Version: go1.23.3" "logger"="keda_metrics_adapter"
I1115 18:38:55.350761       1 welcome.go:38] "msg"="Go OS/Arch: linux/arm64" "logger"="keda_metrics_adapter"
I1115 18:38:55.350775       1 welcome.go:39] "msg"="Running on Kubernetes 1.30" "logger"="keda_metrics_adapter" "version"={"major":"1","minor":"30","gitVersion":"v1.30.0","gitCommit":"7c48c2bd72b9bf5c44d21d7338cc7bea77d0ad2a","gitTreeState":"clean","buildDate":"2024-05-13T22:02:25Z","goVersion":"go1.22.2","compiler":"gc","platform":"linux/arm64"}
I1115 18:38:55.350913       1 main.go:263] "msg"="maxprocs: Updating GOMAXPROCS=1: determined from CPU quota" "logger"="keda_metrics_adapter"
I1115 18:38:55.351645       1 main.go:112] "msg"="Connecting Metrics Service gRPC client to the server" "address"="keda-operator.keda.svc.cluster.local:9666" "logger"="keda_metrics_adapter"

Checklist

[N/A] When introducing a new scaler, I agree with the scaling governance policy
[x] I have verified that my change is according to the deprecations & breaking changes policy
[N/A] Tests have been added
[ ] Changelog has been updated and is aligned with our changelog requirements
[N/A] A PR is opened to update our Helm chart (repo) (if applicable, ie. when deployment manifests are modified)
[N/A] A PR is opened to update the documentation on (repo) (if applicable)
[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)

Fixes #5970

Thanks, this is great!
Could you please define this in a single place and just reference in each component? The best place is probably a new file in https://github.com/kedacore/keda/tree/main/pkg/util

fixed :)

/run-e2e internal

@omerap12 could you please also update Changelog? https://github.com/kedacore/keda/blob/main/CHANGELOG.md#improvements-1

@omerap12 could you please also update Changelog? https://github.com/kedacore/keda/blob/main/CHANGELOG.md#improvements-1

Done

/run-e2e internal

/run-e2e internal Update: You can check the progress here

Passed. can we merge it? :)

LGTM! Could you move the changelog entry to the unreleased section? after the release it was moved to v2.16 and should be unreleased yet

hopes I did it right this time lol

/skip-e2e
(last commit is just CHANGELOG.md change, previous commit e2e tests passed)


repairing accidental deletion of extract_decomp, and tweaking variable renaming in g3po

this PR also addresses issue 6 https://github.com/tenable/ghidra_tools/issues/6


error with command "convert.py"

I followed your steps to convert my smses from windows to Android.  At this stage of convert command I keep getting errors and cannot proceed from the command "convert.py"
Could you please send to me any additional commands or process steps I should use?
Thanks

Hi, could you specify the errors you're getting?

Hi See below. Says 'convert' is not defined
Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:19:22) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.

convert.py

Traceback (most recent call last):
File "<pyshell#0>", line 1, in
convert.py
NameError: name 'convert' is not defined

Hi,
I get the error that 'convert' is not defined
Hope I can get a fix.
Thanks,
Allan
On Tue, 10/18/16, Matteo Contrini<EMAIL_ADDRESS>wrote:
Subject: Re: [matteocontrini/sms-wp-to-android] error with command "convert.py" (#21)
To: "matteocontrini/sms-wp-to-android"<EMAIL_ADDRESS>Cc: "washiall"<EMAIL_ADDRESS>"Author"<EMAIL_ADDRESS>Date: Tuesday, October 18, 2016, 5:25 PM
Hi, could you specify the errors
you're getting?
—
You are receiving this because you authored the thread.
Reply to this email directly, view
it on GitHub, or mute
the thread.

You need to launch a cmd window and then run python convert.py

cmd from python or from dos promt?
I did the above from python and i get:
syntax error: invalid syntax

cmd is the command prompt. Click Start => write "cmd" or "command prompt"

so that's from dos prompt?

that results into:
'python' is not recognized as an internal or external command, operable program or batch file.

You need to add Python to your PATH env variable

sorry I may not be following correctly. this is what i typed on the dos cmd prompt that resulted in the error:
C:\users\user>python convert.py

what am i missing, that command is not working.. ?

Hey, it has finally worked :-) than you so much. I realized there was a step I missed. Basically I was downloading and installing python but not the program itself. So once I downloaded the program it worked like magic !

i.e I wasn't downloading the code 'convert'

And one question now, WHAT ABOUT WHATSAPP MESSAGES, any way to convert?

I backed up already on onedrive
but cannot get them on the Android ...?


Allow both demand and forbid annotations on Regent tasks

The following Regent code currently doesn't parse:
import 'regent'
__demand(__cuda) __forbid(__optimize)
task main() end
regentlib.start(main)

This was added in a0e103837b3c2a97bb667ce76c610e25cd9eb9a6.


[AutoPR datalake-store/resource-manager] Add datalake-store/resource-manager/readme.typescript.md

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4176

(message created by the CI based on PR content)


NotImplementedException When Using MaterialWindow

Issue
I tried to prettify a regular WPF Window to MaterialWindow but encountered this error at startup:
System.Windows.Markup.XamlParseException: ''Initialization of 'Sample.WPF.FirstWindow' threw an exception.' Line number '7' and line position '6'.'

Inner Exception:
NotImplementedException: The method or operation is not implemented.

This was the XAML used, very straightforward:
<mdx:MaterialWindow x:Class="Sample.WPF.FristWindow"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:Sample.WPF"
                    xmlns:mdx="clr-namespace:MaterialDesignExtensions.Controls;assembly=MaterialDesignExtensions"
                    Title="Hello" Height="450" Width="800">
    <Grid />
</mdx:MaterialWindow>

The code-behind had nothing other than InitializeComponent();
And I have merged the following dictionaries in App.xaml:
<Application x:Class="Sample.WPF.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:local="clr-namespace:Sample.WPF"
             StartupUri="FirstWindow.xaml">

             <!--
             Startup="OnStartup"
             Exit="OnShutdown"-->

    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary
                    Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Light.xaml" />
                <ResourceDictionary
                    Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" />
                <ResourceDictionary
                    Source="pack://application:,,,/MaterialDesignExtensions;component/Themes/Generic.xaml" />
                <ResourceDictionary
                    Source="pack://application:,,,/MaterialDesignExtensions;component/Themes/MaterialDesignLightTheme.xaml" />
                <ResourceDictionary
                    Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Primary/MaterialDesignColor.Amber.xaml" />
                <ResourceDictionary
                    Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Accent/MaterialDesignColor.Indigo.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>

</Application>

It would've worked without using MaterialWindow, i.e. using WPF window themed by MaterialDesignToolkit alone, although not fancy enough.
Installed NuGets:

MaterialDesignColors
MaterialDesignExtensions
MaterialDesignThemes
Nito.AsyncEx.Context

All on latest preview.

@VaslD Could you try the latest stable versions please?

MaterialDesignExtensions 2.8.0
MaterialDesignThemes 2.6.0

If you still get the exception, please post the full stack trace.

For me what did the trick was uninstalling the preview 3.0 version of MaterialDesignThemes.
On 2.6 this is all working fine.

I think this issue is only a non working combination of pre-releases introducing breaking changes.


AttributeError: 'NoneType' object has no attribute 'items'

Train the model
cnnhistory=model.fit(x_traincnn, y_train, batch_size=20, epochs=500, validation_data=(x_testcnn, y_test))
after running this i am getting issue as:
Epoch 1/500
AttributeError                            Traceback (most recent call last)
Cell In[50], line 2
1 # Train the model
----> 2 cnnhistory=model.fit(x_traincnn, y_train, batch_size=20, epochs=500, validation_data=(x_testcnn, y_test))
File C:\Users\samenanc\Lib\site-packages\keras\src\utils\traceback_utils.py:123, in filter_traceback..error_handler(*args, **kwargs)
120     filtered_tb = _process_traceback_frames(e.traceback)
121     # To get the full stack trace, call:
122     # keras.config.disable_traceback_filtering()
--> 123     raise e.with_traceback(filtered_tb) from None
124 finally:
125     del filtered_tb
File C:\Users\samenanc\Lib\site-packages\keras\src\trainers\trainer.py:854, in Trainer._pythonify_logs(self, logs)
852 def _pythonify_logs(self, logs):
853     result = {}
--> 854     for key, value in sorted(logs.items()):
855         if isinstance(value, dict):
856             result.update(self._pythonify_logs(value))
AttributeError: 'NoneType' object has no attribute 'items'
Please resolve issue as ASAP.

I encountered the same issue when using the following optimizer configuration:
opt = keras.optimizers.RMSprop(lr=0.00005, rho=0.9, epsilon=None, decay=0.0)

The problem was caused by setting epsilon=None. The solution is to set a small value for epsilon (e.g., 1e-07). This resolved the error during training (AttributeError: 'NoneType' object has no attribute 'items').


differentiate onChange vs. manual input?

Hi there! I would just like to start by saying thanks! React-Codemirror has been awesome. Sometimes I wish instead of bug reports there was a thing on github for "appreciation reports".
Anyway, a thing I just ran into is that it seems the onChange handler gets called both when a user is editing a codemirror and also when changing the value from React (which I believe uses cm.setValue()). I was wondering if it's worth differentiating those two cases in this library. Maybe it isn't, but it might at least be specified in the docs. Either way, I'm going to figure out a way around it for my use case so that I can tell when a user is doing something in the text field vs when my stuff is re-rendering a value to the codemirror instance.

After some digging, I made a monkeypatch in my version that surfaces CodeMirror's onChange handler's "origin" property:
codemirrorValueChanged: function codemirrorValueChanged(doc, change) {
	var newValue = doc.getValue();
	if (this._currentCodemirrorValue !== newValue) {
		this._currentCodemirrorValue = newValue;
		this.props.onChange && this.props.onChange(newValue, change.origin);
	}
},

Here is a description of the Codemirror change object for reference. I don't know if it's actually a good idea to put this object in React-CodeMirror's onChange handler, but it was useful in my project.

See the discussion at #5
I created a pull request to help fix this: #35

Possibly closed by #35.

If this issue still persists please give react-codemirror2 a look. I'm planning on maintaining this moving forward. Better docs will be coming. Feel free to open up any issues/suggestions as I'll be trying to gather as much constructive feedback from the community moving forward


We may need a lock in ModuleObject#ancestors_includes and ModuleObject#is_subclass_of

Just a note for myself to investigate this more...
module Bar; end
class Foo; include Bar; end

Thread.new do
  10000.times do
    mod = Module.new
    Foo.include(mod)
  end
end

1000.times do
  Foo.new.is_a?(Bar)
end

I was able to confirm with the following code:
Thread.abort_on_exception = true

class NotAnAncestor
end

10000.times do
  klass = Class.new

  t = Thread.new do
    320.times do
      # trigger reallocation of m_included_modules vector so memory moves
      klass.include(Module.new)
      print '.'
    end
  end

  thing = klass.new
  100.times do
    thing.is_a?(NotAnAncestor)
    print 'x'
  end

  t.join
end

...and compiling Natalie with rake build_asan.
Got the following error:

TM::Vector iterators are not thread-safe, so any time we iterate over one, and another thread could be adding to the vector, causing a reallocation (when the vector grows), we have to stop-the-world.
I'll have a PR to fix shortly...


Add Enrrollment and Certificate Signing requests / approval functionality

Adds:

Adds enrollmentrequests / csr endpoint for usage with the existing flightctl module
New flightctl_approve module that allows for approving or denying requests
Start writing some simple unit tests which can be run via make test-unit
Start writing some integration tests which can be run via make integration-test

Currently, these are dependent on a local flightctl instance being run and aren't really configurable or able to be run as a part of a CI process.  The goal here is to begin writing them to aid in development and so that the roles/tests themselves will be in place for a more robust CI pipeline in the future

Future TODOs:

Idempotency in any form has not yet been considered for the flightctl_approve module

I also suggest checking whether the module is running in check_mode and whether idempotency is assured.


Settings script plugins block works

Fixes #6710
Context
This adds support for the plugins block in settings.gradle and settings.gradle.kts.
This allows plugin portal plugins to be applied to settings scripts.
Limitations
This PR does not allow the following:

I don't believe that pluginManagement manages this plugins block yet.
Static Kotlin accessors aren't generated on the Settings object.

Contributor Checklist

[x] Review Contribution Guidelines
[x] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[x] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[x] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[x] Provide unit tests (under <subproject>/src/test) to verify logic
[ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[x] Ensure that tests pass locally: ./gradlew <changed-subproject>:check

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation

@JLLeitschuh This PR seems quite light on integration test coverage.
Most things I'd like to see tested are failure conditions:

An unknown plugin id or version is requested
A settings plugins plugin declares apply false or apply true
Multiple plugins blocks in a settings script
A plugins block in settings that appears before pluginManagement or before buildscript
Reference a Project plugin from settings

Also, I think the interaction with pluginManagement is important. Can these plugins be resolved, or not? Test coverage that shows this behaviour is important.

@bigdaz Agreed, thanks for the inspiration. This is a really good idea.
My goal was to avoid dealing with pluginManagement till a follow on to keep theses PR's smaller.
Your expectations seem very reasonable though. Let me turn them into checkboxes so I make sure I cover them.

Note that we don't want to merge this yet, in case anyone gets trigger happy.
We don't want to merge this until pluginManagment also affects the loaded plugin, and there are lifecycle ordering concerns that may require a deprecation period, because we want these plugins to be executed before :buildSrc is built (to allow e.g. the build cache to be configured by such a plugin). We don't want a Gradle 5.6 release with one set of behaviour that then changes in 6.0.
Definitely useful to get review, but needs to stay on a branch for now.
@JLLeitschuh You might want to keep this stuff all together on a branch under gradle/gradle, see https://github.com/gradle/gradle/branches/active for branch naming conventions.

Reference a Project plugin from settings

Can @bigdaz or anyone else clarify what that means?
This?
plugins {
  id("my.plugins").version("1.0").apply(false)
}

gradle.beforeProject {
    plugins.apply("my.plugins")
}

The above currently fails with a classloader error. I think it's probably a use case we don't need to support.

and there are lifecycle ordering concerns that may require a deprecation period, because we want these plugins to be executed before :buildSrc is built (to allow e.g. the build cache to be configured by such a plugin).

@tomdcc Adding plugins is already supported in Settings scripts via the buildscript mechanism so adding this isn't really directly tied to the change of ordering with respect to buildSrc.
If we have pluginManagement support, couldn't this go in before the buildSrc ordering changes?
I don't know why we want to couple those two different changes together.

Reference a Project plugin from settings

Can @bigdaz or anyone else clarify what that means?

Sorry if this wasn't clear. I was asking for test coverage of the (failure) case where a Plugin<Project> is applied to a Settings script.

TODO:

[ ] Forbid apply(false) on Settings

@tomdcc Adding plugins is already supported in Settings scripts via the buildscript mechanism so adding this isn't really directly tied to the change of ordering with respect to buildSrc.
If we have pluginManagement support, couldn't this go in before the buildSrc ordering changes?
I don't know why we want to couple those two different changes together.

We discussed this, but for anyone else following along:

This is still a spike, and questions like "what should we do if someone tries an apply:false here" need to be answered in a considered manner. This work wasn't really designed before starting (since it's a spike) - we should take the bits that we've learned and consider them before putting it into master.
When we implement this, we'll probably want to announce it in some way. This will likely lead to more people using the functionality. Having it work one way wrt execution order vs buildSrc for one release (5.6) and then changing it for 6.0 means potentially breaking the new plugins that people write, plus having to keep documentation around to explain the special 5.6 case, plus potentially having to understand that difference in special-case code that tries to understand this stuff like build scans.
We should only merge this when the whole piece is done, or we're fairly certain that it will be done before the next release. We e.g. definitely shouldn't merge this unless we know that we can get pluginManagement support for it into the same release, and we know no such thing at this point.
pluginManagement support will include some minor breaking changes in what people can do in their pluginManagement blocks, as Jonathan discovered (e.g. can't refer to functions etc defined outside the block anymore). For that reason alone we wouldn't want to have that part in before 6.0, so none of it should go in.

This PR now has full support for both plugins and pluginManagement in settings.gradle[.kts].
The pluginManagement block is now extracted and executed as a stage 1 program for the Kotlin DSL.

I think this was superseded by https://github.com/gradle/gradle/pull/10382


indent svg file using spaces & remove fill property

we do not need the fill property in svg element because every path element has a fill property.

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

I add color brand on hover in footer links.

@unluisco I like the idea of the branding! I wonder if we would run into accessibility issues, it doesn't seem to have enough contrast especially on 'Code' and 'GitHub' ?

Nice & clean 👌

Oops! I did not refresh so I missed the hover colors on links. Please submit another PR to fix 👌

@adrianmg yes, you are right, maybe a background-color would do the work instead of color property.
I would try.


migrate reset fails on MS SQL server

When executing migrate reset it refuses to do so
This database grammar does not support this operation
compileDropAllObjects
When renaming my existing cfmigrations table and trying  to init it refuses to do so because the explicit name of a constraint
There is already an object named 'pk_cfmigrations_name' in the database. I guess this name is explicitly given by cfmigrations,  but for this also a random name would be OK.
Database version MSSQL 12.0.4100.1. Didn't check other versions

The dropAllObjects is coming to SqlServer and Oracle in the next version of qb (7.0.0).  Once that drops, this functionality will work for your grammar.


Add multiple link generation in a single command

It would be nice for youtube-dl to to be able to generate multiple direct links for different quality of the same video
for e.g youtube-dl -g -f 18 22 43  https://www.youtube.com/watch?v=NrXdauEv9HY
would generate urls  for the different itags.Each url could be separated by a  special character in the output.
Advantages
No need to call youtube-dl multiple times for different qualities of the same video will save CPU and decrease the chance of getting Too Many request as the same page won't be requested from youtube multiple times.

Just use --dump-json .

It should works but a cleaner version would be better.There is a lot of info that is not needed

All this info is extracted anyway, and it's unreasonable to make options to list any particular part of it. Moreover, suggested -f syntax is not consistent with format filters.

I am fine with any other syntax you guys may come up with but here i am
interested only with the urls
What regex can be used to extract the specific infos
On Sun, Mar 15, 2015 at 3:46 PM, Sergey M<EMAIL_ADDRESS>wrote:

All this info is extracted anyway, and it's unreasonable to make options
to list any particular part of it. Moreover, suggested -f syntax is not
consistent with format filters.
—
Reply to this email directly or view it on GitHub
https://github.com/rg3/youtube-dl/issues/5209#issuecomment-80981581.

If you are using a shell script, then you just need to use jq:
$ youtube-dl test:youtube -f 137,136 -j | jq -r '"\(.format_id): \(.url)"'
137: https://r9---sn-h5q7ener.googlevideo.com/videoplayback?<...>
136: https://r9---sn-h5q7ener.googlevideo.com/videoplayback?<...>

I am using php :)
On Sun, Mar 15, 2015 at 4:58 PM, Jaime Marquínez Ferrándiz <
<EMAIL_ADDRESS>wrote:

If you are using a shell script, then you just need to use jq
https://stedolan.github.io/jq/:
$ youtube-dl test:youtube -f 137,136 -j | jq -r '"(.format_id): (.url)"'
137: https://r9---sn-h5q7ener.googlevideo.com/videoplayback?<...>
136: https://r9---sn-h5q7ener.googlevideo.com/videoplayback?<...>
—
Reply to this email directly or view it on GitHub
https://github.com/rg3/youtube-dl/issues/5209#issuecomment-80998687.

I don't use php, but it seems to have json support: http://php.net/manual/en/ref.json.php.
Just note that with my approach each line of the output will contain a single json object, so you need to decode each line individually.


Add a Lighter Dark Theme

This would add a lighter dark theme as some people think that the current theme is to dark (understandably). This would most likely move the current theme to being a high-contrast theme and add a normal dark theme which is a bit lighter.

In case you need docs using this great package, have a look at https://mys-lang.org/. I think a lighter dark theme would be nice!

In case you need docs using this great package, have a look at https://mys-lang.org/.

@eerimoq what does this have to do with anything in this extension?

@eerimoq thanks! I see you have modified the theme manually to suit your color scheme. When v2 is released tho, you should be able to do this all from the config file and release community themes which should be exciting!

It's based on the Github color scheme. Feel free to use it.

Ok sounds good thanks!

My latest changes can be found here: https://github.com/mys-lang/mys/tree/main/mys/sphinx_rtd_dark_mode

I've made more changes, just to let you know. All found in the link in the previous comment.

Just discovered this extension and installed it. Thanks for the work! I'm amazed there aren't more dark themes out there for Sphinx.
I don't personally mind how dark the dark theme is, but in some cases it seems to have a dark-on-dark color combination that's difficult to read. For example, the environment variable name in this shell code snippet:

Thanks! Im glad you like it! However, that seems like a bug in the dark theme so if you wouldn't mind opening a separate issue for that that would be great! Thanks!

Done! See #27
That slate theme from Material on MkDocs is also great. Looking forward to trying out the new options too.

Thanks! Glad your looking forward to it!


Unrecognized model in weights/icon_caption_florence.

I run the program in pycharm, one error listed below occurs, how to solve it?
ValueError: Unrecognized model in weights/icon_caption_florence. Should have a model_type key in its config.json, or contain one of the following strings in its name: albert, align, altclip, audio-spectrogram-transformer, autoformer, bark, bart, beit, bert, bert-generation, big_bird, bigbird_pegasus, biogpt, bit, blenderbot, blenderbot-small, blip, blip-2, bloom, bridgetower, bros, camembert, canine, chameleon, chinese_clip, chinese_clip_vision_model, clap, clip, clip_text_model, clip_vision_model, clipseg, clvp, code_llama, codegen, cohere, conditional_detr, convbert, convnext, convnextv2, cpmant, ctrl, cvt, dac, data2vec-audio, data2vec-text, data2vec-vision, dbrx, deberta, deberta-v2, decision_transformer, deformable_detr, deit, depth_anything, deta, detr, dinat, dinov2, distilbert, donut-swin, dpr, dpt, efficientformer, efficientnet, electra, encodec, encoder-decoder, ernie, ernie_m, esm, falcon, falcon_mamba, fastspeech2_conformer, flaubert, flava, fnet, focalnet, fsmt, funnel, fuyu, gemma, gemma2, git, glm, glpn, gpt-sw3, gpt2, gpt_bigcode, gpt_neo, gpt_neox, gpt_neox_japanese, gptj, gptsan-japanese, granite, granitemoe, graphormer, grounding-dino, groupvit, hiera, hubert, ibert, idefics, idefics2, idefics3, imagegpt, informer, instructblip, instructblipvideo, jamba, jetmoe, jukebox, kosmos-2, layoutlm, layoutlmv2, layoutlmv3, led, levit, lilt, llama, llava, llava_next, llava_next_video, llava_onevision, longformer, longt5, luke, lxmert, m2m_100, mamba, mamba2, marian, markuplm, mask2former, maskformer, maskformer-swin, mbart, mctct, mega, megatron-bert, mgp-str, mimi, mistral, mixtral, mllama, mobilebert, mobilenet_v1, mobilenet_v2, mobilevit, mobilevitv2, moshi, mpnet, mpt, mra, mt5, musicgen, musicgen_melody, mvp, nat, nemotron, nezha, nllb-moe, nougat, nystromformer, olmo, olmoe, omdet-turbo, oneformer, open-llama, openai-gpt, opt, owlv2, owlvit, paligemma, patchtsmixer, patchtst, pegasus, pegasus_x, perceiver, persimmon, phi, phi3, phimoe, pix2struct, pixtral, plbart, poolformer, pop2piano, prophetnet, pvt, pvt_v2, qdqbert, qwen2, qwen2_audio, qwen2_audio_encoder, qwen2_moe, qwen2_vl, rag, realm, recurrent_gemma, reformer, regnet, rembert, resnet, retribert, roberta, roberta-prelayernorm, roc_bert, roformer, rt_detr, rt_detr_resnet, rwkv, sam, seamless_m4t, seamless_m4t_v2, segformer, seggpt, sew, sew-d, siglip, siglip_vision_model, speech-encoder-decoder, speech_to_text, speech_to_text_2, speecht5, splinter, squeezebert, stablelm, starcoder2, superpoint, swiftformer, swin, swin2sr, swinv2, switch_transformers, t5, table-transformer, tapas, time_series_transformer, timesformer, timm_backbone, trajectory_transformer, transfo-xl, trocr, tvlt, tvp, udop, umt5, unispeech, unispeech-sat, univnet, upernet, van, video_llava, videomae, vilt, vipllava, vision-encoder-decoder, vision-text-dual-encoder, visual_bert, vit, vit_hybrid, vit_mae, vit_msn, vitdet, vitmatte, vits, vivit, wav2vec2, wav2vec2-bert, wav2vec2-conformer, wavlm, whisper, xclip, xglm, xlm, xlm-prophetnet, xlm-roberta, xlm-roberta-xl, xlnet, xmod, yolos, yoso, zamba, zoedepth

It is not able to load from local weights file.
just replace this current line no 16 in gradio_demo.py with this
caption_model_processor = get_caption_model_processor(model_name="florence2", model_name_or_path="microsoft/Florence-2-base")
it works and load model directly from hugging face.

@xiaoscofield did you pip install the required packages and run it on gpu?

@xiaoscofield did you pip install the required packages and run it on gpu?

Yes, I have installed the required packages and ran on GPU NVIDIA GEFORCE RTX 3060


What about a teamshaker?

That would make it much more convenient when you have to mix up teams! We will do just that! What about a table that shows the teams then?

Done already.


change CATALINA_HOME to CATALINA_BASE

I found the following code which resets CATALINA_BASE to /home/tomcat, but cannot find codes about resetting CATALINA_HOME.
https://github.com/Azure-App-Service/tomcat/blob/master/shared/misc/init_container.sh#L28-L31
if [[ -z $CATALINA_BASE && -a /home/tomcat/conf/server.xml ]]
then
    export CATALINA_BASE=/home/tomcat
fi

So it seems that the description is about CATALINA_BASE.
Could you please provide me any comments?

@hihorika : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Compute shader results from other threads

Description
This might be related to https://github.com/baldurk/renderdoc/issues/1038 It seems like compute shader threads that depend on the values read from other threads can't be debugged properly. For instance, if I have a compute shader that sets up a groupshared value like so:
groupshared uint gs_variable1 = 0;

[numthreads(8, 1, 1)]
void MyShader(uint groupIndex : SV_GroupIndex)
{
    if(groupIndex == 0)
    {
        gs_variable1 = g_Buffer.Load( // ...
    }
    GroupMemoryBarrierWithGroupSync(); // Wait

    // Other threads do things using that value
}

the value of gs_variable1 is correct for thread (0, 0, 0) but not for the rest of the threads, which don't go through that codepath, meaning the rest of the execution can't be debugged.
Environment

RenderDoc build: 1.1
Operating System: Windows 7 64 bits
API: D3D11

Yeh as I mentioned in #1038 the simulation of compute shaders is done with only a single thread running, so you'll never get the results of any other thread's execution.
The main problem is you have a huge multiplying effect on the time taken to simulate. Even if I multithreaded the execution that's only a small improvement.
Potentially it's something I could add behind an opt-in toggle for people who want  to pay the cost but I'm unsure of how useful it would be if it takes ages to run... I don't like adding options to let users shoot themselves in the foot.

It would be useful to me, that's for sure. However I understand it might not be a very commonly requested feature.
As a workaround is there a way we could edit the value of a register to fake the other thread's execution? Meaning I could jump to where I want to debug, then set the register I know is supposed to contain a certain value and proceed from there. It would be a bit manual and only realistic for certain scenarios but definitely better than not being able to debug at all.

Someone has asked for that before to be able to test out shader fixes. The difficulty is as described in the other bug the full simulation is run at once rather than in incremental steps, so it's not easy to inject in new values.
Right now the higher priority to spend time on in this area is supporting debugging at all for new APIs.

Yeah I would agree with you it should be the focus. Thanks a lot for taking the time to clarify in any case :)

I have an implementation of simulating all the threads in the thread group across all available cpu cores that I made when I needed to debug a shader with groupshared memory.
It can take a while with a large group size, but it's time well spent if you're trying to understand what your compute shader is doing!
It only simulates a single thread group, so if threads in another group can write to a location that the simulated group reads then that won't be reflected.  Ideally it would detect cases that won't be simulated correctly, but it doesn't at the moment.
It works by blocking at each thread sync instruction until all threads have arrived, and then atomic instructions are inside critical sections.
It uses deferred contexts, which turned out to be a bit of nuisance because I have to turn off the single threaded device bit.
It still puts up the cancel dialog if it runs for a certain number of instructions.  Ideally I think it would have a cancel button next to the "thinking" indicator that you could press at any time, but I haven't done that.

Thanks for @bredbored 's implementation, it was very helpful for me to debug my compute shader :-) And are there any official plans to support it?


doesn't work on Windows 7

Is that correct? Any hope you can get it to work on windows 7?

What problem are you encountering? Did you try both the binary and running from the source?
I don't really us Windows and can only provide limited help. If you manage to find and fix Windows-related issues, I would be happy to accept a PR.

I tried the win64 exe, not from source. It looks for a typical runtime Windows 10 dll.

I am a bit rusty on this. How do you build for Windows with your source code? Do I need Visual Studio...?

Actually, I solved this problem. I downloaded api-ms-win-core-winrt-l1-1-0.dll from the web, copied to the express folder, and it seems to work now.


Using Tags to identify all the resources

When I did the deployment into production environment, the EC2 instances created with production-a-xdfdsfdfs names and so are the other AWS resources with the similar names.
Is there a way to pass tags attributes to the EB deployment environment??

Honestly I've never heard of tags.  If you can point me to one of the AWS docs, I can tell you if it integrates.

Refer to:
https://github.com/ThoughtWorksStudios/eb_deployer/search?utf8=✓&q=tags
      def create_environment(app_name, env_name, stack_name, cname_prefix, version, tier, tags, settings)
        request = reject_nil({
          :application_name => app_name,
          :tier => environment_tier(tier),
          :cname_prefix => name_prefix,

**          :tags => tags**
        })
        @client.create_environment(request)

Refer to:
https://github.com/ThoughtWorksStudios/eb_deployer/blob/master/lib/eb_deployer.rb
    environment = Environment.new(application, env_name, stack_name, bs) do |env|
      env.resource_stacks = resource_stacks
      env.settings = opts[:option_settings] || opts[:settings] || []
      env.inactive_settings = opts[:inactive_settings] || []
      env.creation_opts = {
        :solution_stack => opts[:solution_stack_name],
        :cname_prefix =>  opts[:cname_prefix],
        :smoke_test => opts[:smoke_test],
        :phoenix_mode => opts[:phoenix_mode],
        :blue_green_terminate_inactive => opts[:blue_green_terminate_inactive] || false,
        :blue_green_terminate_inactive_wait => opts[:blue_green_terminate_inactive_wait] || 600,
        :blue_green_terminate_inactive_sleep => opts[:blue_green_terminate_inactive_sleep] || 15,
**        :tags => opts[:tags],**  # this gem is not passing the tags
        :tier => opts[:tier]
      }

See here:
https://github.com/alienfast/elastic-beanstalk/blob/master/lib/elastic/beanstalk/tasks/eb.rake#L328
options = {
        application: EbConfig.app,
        environment: EbConfig.environment,
        version_label: find_option_app_version,
        solution_stack_name: EbConfig.solution_stack_name,
        option_settings: EbConfig.option_settings,
        inactive_settings: EbConfig.inactive_settings,
        strategy: EbConfig.strategy.to_sym,
        package: package
    }

    options[:package_bucket] = EbConfig.package_bucket unless EbConfig.package_bucket.nil?
    options[:keep_latest] = EbConfig.keep_latest unless EbConfig.keep_latest.nil?
    options[:version_prefix] = EbConfig.version_prefix unless EbConfig.version_prefix.nil?
    options[:tier] = EbConfig.tier unless EbConfig.tier.nil?

If we can do the following line added above:
options[:tags] = EbConfig.tags unless EbConfig.tags.nil?
supports:
package_bucket: 'app-name-124-deploy'
**tags:
  Name: app-name124**

This will help name all the EC2 instances and other resources with name starting from app-name124-a-sdfsdfsd.
That will help identify all the resources ... especially useful when we have multiple apps / environments running under the same AWS login.
Hope the above is clear!

Feel free to send a PR with any of the additional options for eb_deployer, there isn't a reason I can see that we shouldn't support passing through those options.  We've just been adding them as needed.

Closed with #49, thanks @canatella


Wyze Color Bulbs No Longer Dimmable

Describe The Bug:
After updating to the newest version of the plugin, v0.5.37-alpha.4, I can no longer change the brightness level of my Wyze Color Bulbs through the Home app, only turn them on/off.
To Reproduce:

Tap to go into detail view on a Wyze Color Bulb in the Home app.
Slide the brightness slider up and down.

Expected behavior:

Bulb changes brightness corresponding to input value.

Logs:
[10/22/2023, 3:51:19 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution
[10/22/2023, 3:51:19 PM] [HB Supervisor] Started Homebridge v1.6.1 with PID: 1239653
[10/22/2023, 3:51:22 PM] Loaded config.json with 0 accessories and 2 platforms.
[10/22/2023, 3:51:22 PM] Loaded 0 cached accessories from cachedAccessories.
[10/22/2023, 3:51:22 PM] ---
[10/22/2023, 3:51:22 PM] Loaded plugin<EMAIL_ADDRESS>[10/22/2023, 3:51:23 PM] Registering platform 'homebridge-wyze-smart-home.WyzeSmartHome'
[10/22/2023, 3:51:23 PM] ---
[10/22/2023, 3:51:23 PM] Loading 2 platforms...
[10/22/2023, 3:51:23 PM] [Wyze] Initializing WyzeSmartHome platform...
[10/22/2023, 3:51:23 PM] [Wyze] Initializing child bridge 0E:96:AD:C5:04:DD
Setup Payload:
X-HM://xxxxxxxxxxx
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

    ┌────────────┐
    │ xxx-xx-xxx │
    └────────────┘

[10/22/2023, 3:51:23 PM] Homebridge v1.6.1 (HAP v0.11.1) (Homebridge E9E7) is running on port 51097.
[10/22/2023, 3:51:23 PM] [Wyze] Launched child bridge with PID 1239703
[10/22/2023, 3:51:24 PM] Registering platform 'homebridge-wyze-smart-home.WyzeSmartHome'
[10/22/2023, 3:51:24 PM] [Wyze] Loaded homebridge-wyze-smart-home v0.5.37-alpha.4 child bridge successfully
[10/22/2023, 3:51:24 PM] Loaded 12 cached accessories from cachedAccessories.0E96ADC504DD.
[10/22/2023, 3:51:24 PM] Homebridge v1.6.1 (HAP v0.11.1) (Wyze) is running on port 55731.

Plugin Config:
{
    "bridge": {
        "name": "Homebridge E9E7",
        "username": "0E:27:14:61:E9:E7",
        "port": 51097,
        "pin": "xxx-xx-xxx",
        "advertiser": "bonjour-hap"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "auto",
            "tempUnits": "f",
            "lang": "auto",
            "platform": "config"
        },
        {
            "name": "Wyze",
            "username": "xxxxxxxxxxx",
            "password": "xxxxxxxxxxx",
            "keyId": "xxxxxxxxxxx",
            "apiKey": "xxxxxxxxxxxs",
            "refreshInterval": 60000,
            "hms": false,
            "showAdvancedOptions": false,
            "apiLogEnabled": false,
            "logLevel": "none",
            "excludeMacAddress": false,
            "excludedeviceType": false,
            "_bridge": {
                "username": "0E:96:AD:C5:04:DD",
                "port": 55731
            },
            "platform": "WyzeSmartHome"
        }
    ],
    "disabledPlugins": []
}

Screenshots:
N/A
Environment:

Plugin Version: v0.5.37-alpha.4
Homebridge Version: v1.6.1
Node.js Version: v18.16.0
NPM Version: v8.10.0
Operating System: Ubuntu Jammy Jellyfish (22.04.3 LTS)

Error logs would help with this. I mean I think this is the same issue as the other ticket but hard too tell without them.

I'm also experiencing this.  With alpha 5, and it started with 3 I think.  But I only just began using it while 3 was available, and at the time I found another unverified one to use.  I'd very much prefer to use this plugin though.  So, here's my best attempt at capturing logs.  If I can get something better please let me know?
homebridge_brightness_bug.log

Also experiencing this issue after updating to 0.5.37-alpha.5. Wyze bulbs are able to be turned on/off, but brightness cannot be adjusted. Attempting to adjust Brightness in Apple Home presents a spinning circle on the device tile, which never goes away. Refreshing the app just puts brightness percentage reading back where it was. No errors are being logged in Homebridge.
Not sure if worth noting, but after updating to 0.5.37-alpha.5, all of my Wyze devices were unresponsive until I logged into Wyze and generated an API Key. After inputting my API Key into Homebridge, all of my devices came back. Not sure how using an API Key would introduce any kind of functionality issues, but just mentioning it.

@AJFinnie Thanks for the tip. I just verified that reverting to v0.5.36 restores dimming for me as well. Will stay on v0.5.36 until this is sorted in the meantime.

I have this same problem, but I don't see any errors in the log to support it.

https://github.com/jfarmer08/homebridge-wyze-smart-home/releases/tag/v0.5.37-alpha.6

This did not resolve the problem for me.

Can you upload WyzeMeshLight.js so that i can verify its the latest?

Any update

Thanks for responding. I'm just dropping Wyze products for HomeKit native devices. Thanks.

@birdclan09 Keep in mind this plugin has nothing to do with Wyze. It's a community driven plugin. And I try my best to resolve all issues that I can. There is no direct API from wyze to use so this is all custom.

https://github.com/jfarmer08/homebridge-wyze-smart-home/releases/tag/v0.5.37-alpha.6

I appreciate the work on this update, but after installing it, and restarting Homebridge, it didn't seem to fix the dimming for my Color Bulbs.  It does eliminate the repeated log messages about my front door camera though.  I wish I knew where to begin looking for it in the code, and what to modify as I would be willing to try different.
I updated to it, and restarted Homebridge.  The behavior was the same, with no error logs I could see.  I'm providing the WyzeMeshLight.js so you can verify, as requested from another user.
WyzeMeshLight.zip
Thank you for taking the time to look into this.
As I was about to submit this (after gathering the file from my server), the two lights I had dimmed minutes ago, just dimmed.  So there seems to be a very large delay.  I'll try to time it if that might be of interest to you.  I didn't have logging on unfortunately.

@birdclan09 Keep in mind this plugin has nothing to do with Wyze. It's a community driven plugin. And I try my best to resolve all issues that I can. There is no direct API from wyze to use so this is all custom.

I understand. I appreciate your hard work.

@AJFinnie for the delay. You can edit that file and remove '''await this.plugin.client.sleep(500)''' you will find it in the file 3 times, but with different values. You will have to restart the plugins after this.
The delay has always been there but with recent code changes I think they are actually working now. If you remove them or lower the number and find a stable place let me know.

Thanks for responding. I'm just dropping Wyze products for HomeKit native devices. Thanks.

Exactly what I just did over the last couple days. Replaced six Wyze smart outlets and eight Wyze bulbs. Switched to Meross products which were all able to be added directly to HomeKit without any issue, no hub, and I'm no longer reliant on HomeBridge, community plug-ins, etc.
@jfarmer08 Appreciate all the work people like you do to keep things like this up and running, but I've just not been a fan of having to rely on HomeBridge in general. I know it's more capable, but I'd rather just rely on native HomeKit compatibility for ease of use.

@marcusdiddle agreee. Metros and Aqara are some device brands that are affordable and easy to use (and support HomeKit).  Thanks @jfarmer08!

@jfarmer08 Thank you for the suggestion.
I went ahead and commented out each of the lines that started with "await this.plugin.client.sleep".  There were 4?  One under Brightness, ColorTemperature, Hue, Saturation.   I'm going to continue toying with the color options in the Home app from my phone, but nothing seems to have broken from the change.  I'll keep trying to test as I can this afternoon.  Let me know if I can try any specific scenarios you can think of?
I deeply appreciate that you've been maintaining this project, and keep it up to date.  Thank you for all your time and work.

https://github.com/jfarmer08/homebridge-wyze-smart-home/releases/tag/v0.5.37-alpha.7


Unable to easily de-select custom value in function panel

Describe the Bug with repro steps

add a function and select "Custom Value" from function panel
attempt to clear the custom value and select a node value instead
must close and re-open the panel to make this change

Screenshots or Videos
No response
Version
2.42.0
Additional context
No response
AB#24467495

fixed with linked PR


GitLab CI

add .gitlab-ci.yml to enable builds on gitlab
update some build code to work with gitlab
move build files into toplevel build directory

fixes #2469

id prefer not to use something generic like scripts or tools because it becomes a pile of unrelated files (e.g. see our current scripts dir). do you like any of these: release, deploy, ci?

I went with 'ci'

I still think scripts would be better place for it specifically because it brings less attention to it. Unless the plan is that ci will constantly be broken we'll have to make changes to it and it will require community attention (and thus anyone ever opening our repo should be able to quickly find the CI scripts): I'd rather it be hidden and out of the way most of the time (buried in scripts directory with everything else).
If we want to keep the root directory clean and get people directly to the important stuff, having a ci directory feels like an eye sore.


Update to new pywemo bridge API

Description:
The pywemo api for lights was extended to support RGBW and tunable white lights. This updates the home-assistant code to work with the new API.
Related issue (if applicable): #
Example entry for configuration.yaml (if applicable):

Checklist:

[x] Local tests with tox run successfully.
[x] TravisCI does not fail. Your PR cannot be merged unless CI is green!
[x] Fork is up to date and was rebased on the dev branch before creating the PR.
[x] Commits have been squashed.
If code communicates with devices:

[x] Updated dependency in the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[x] Updated dependency in requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Looks good :dolphin: :+1:


Add support for GitHub Pages preview API

https://developer.github.com/changes/2016-07-06-github-pages-preiew-api/

I made a Pull Request #405 to add support for new endpoint: Request a Page Build


changed metrics-reader clusterrole to use apiVersion v1

Number 12 from: https://github.ibm.com/symposium/track-and-plan/issues/14332
[ERROR] bundle/manifests/redhat-marketplace-metrics-reader_rbac.authorization.k8s.io_v1beta1_clusterrole.yaml: apiVersion "rbac.authorization.k8s.io/v1beta1" is deprecated on resource "ClusterRole" and will be removed in Kubernetes 1.20, switch to apiVersion "rbac.authorization.k8s.io/v1" served since Kubernetes 1.8 (NoDeprecatedAPIs) --> see references https://github.ibm.com/IBMPrivateCloud/content-verification/blob/master/docs/rules/NoDeprecatedAPIs.md
- should fix

Yay! Thanks @dacleyra


Allow Grid in classless by $forceGrid flag

Please search for duplicate or closed issues first.
Describe the issue
When using  classless version of Pico you cant import grid.scss because condition will never match.
Grid uses a class though but this single class would be acceptable.

@if ($enable-classes and $enable-grid) {

Adding an additional $forceGrid param here would allow this.

@if (($enable-classes and $enable-grid) or $forceGrid) {

Current Behavior
Grid import is not possible in classless.
Expected Behavior
Allow Grid import in classless.

Rel:
https://github.com/picocss/pico/blob/6b05b161ef3a00e2e9b1135b88e302a4c32f4519/scss/layout/_grid.scss#L1
Instead of another flag I'd suggest to remove the $enable-classes condition and go for
@if ($enable-grid) {


Picker let me choose dropbox files, but return null

Hello,
i have a problem when i pick a dropbox file that picker let me choose.
when i click it, i receive null in files[] instead path as normal files.
is fixable? or i can hidden the dropbox folder?
Thanks
p.s What are the values of pickermode?

@Atomico001 did you try on a real device?

@farfromrefug Thanks for answer, yes real device (Xiaomi mi9t with Android 10)

@Atomico001 dont know anything about the dropbox files and how it works. This plugin uses a generic api so it should work. And i dont have dropbox :s you need to investigate this on your own. Sorry

@farfromrefug Ok,
don't know if it is usefull for you, but i found how hidden dropbox, onedrive and all external provider with:
intent.putExtra(android.content.Intent.EXTRA_LOCAL_ONLY, true);
atleast now i see only item that work.
Now i try to see if it is possible fix Dropbox/Onedrive path.


Needs additional details for stopping pcap

What the article doesn't say is that you need the SAS URL of the container, not the upper storage account.  If you don't have the SAS URL of the container, the stop attempt will fail with the error:
VirtualNetworkGateway Error: An internal error occurred. The response did not contain any data. Please check storage for the capture.

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

ID: 85090bbe-facd-f493-9817-b639df44f345
Version Independent ID: 29832cb6-6676-147d-5d5f-fccbd55b2fba
Content: Configure packet capture for VPN Gateway - Azure VPN Gateway
Content Source: articles/vpn-gateway/packet-capture.md
Service: vpn-gateway
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@ForPetesAche
Thank you for your feedback! We will review and update as appropriate.

@ForPetesAche
Thank you for the feedback. This requested information is documented in the Key considerations section.

Which links to this command.
$sasurl = New-AzStorageContainerSASToken -Name $containerName -Context $context -Permission "rwd" -StartTime $now.AddHours(-1) -ExpiryTime $now.AddDays(1) -FullUri
Hope this clarifies your query. Please tag me in your response if you have any questions. Thank you!

The article also shows how to collect the SASurl from the Azure portal with screenshots.  Those steps do not correctly outline that the SASurl is at the container level, not the storage account level.  The screenshots are incorrect as they show the options from the Storage Account level.  A little clarification goes a long way instead of us having to interpret it by understanding the PowerShell commands.  Not everyone wants to use PS for everything.

Peter

From: ChaitanyaNaykodi-MSFT @.>
Sent: Saturday, August 19, 2023 2:25 AM
To: MicrosoftDocs/azure-docs @.>
Cc: ForPetesAche @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Needs additional details for stopping pcap (Issue #113553)
@ForPetesAchehttps://github.com/ForPetesAche
Thank you for the feedback. This requested information is documented in the Key considerations sectionhttps://learn.microsoft.com/en-us/azure/vpn-gateway/packet-capture#key-considerations.
[image]https://user-images.githubusercontent.com/67453298/261780078-c9657a62-2040-4229-9dec-94e1ea2547ee.png
Which links to this command.
$sasurl = New-AzStorageContainerSASToken -Name $containerName -Context $context -Permission "rwd" -StartTime $now.AddHours(-1) -ExpiryTime $now.AddDays(1) -FullUri
Hope this clarifies your query. Please tag me in your response if you have any questions. Thank you!
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/113553#issuecomment-1684855244, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BB57EWTFUYVRK45QZBVFZWLXWBL5PANCNFSM6AAAAAA3RLOLSQ.
You are receiving this because you were mentioned.Message ID: @.***>


Unable to run

Output is not shown after compilation

...

/needsMoreInfo

"can't build or debug the file because the file is not in c/c++ source" is shown while running the code

/extCpp

It looks like this is caused by the C++ extension. Please file the issue to the C++ extension repository. Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.
Happy Coding!