[Button] MUI Buttons is not supporting Warning, Success , Error and Info style overrides

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
According to the MUI  Documentation the style overrides should allow the button colors like success , warning , info, error ,
Though they are not available in the buttons classes and I am unable to override them.
Documentation URL: https://mui.com/material-ui/api/button/
Existing Button classes:

Code Demo: https://codepen.io/ahsan9212/pen/eYrmMpQ
Expected behavior 🤔
Should allow me to override style according to the documentation for all the existing colors
Steps to reproduce 🕹
Steps:

Add a button to existing structure.
Add any variant i.e variant='outlined'
Add color="warning"
Try to override the style

Context 🔦
No response
Your environment 🌎

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

You should be able to make it work with this code (tested on mui 5.10.3):
import { ThemeProvider, createTheme } from '@mui/material/styles';
import CssBaseline from '@mui/material/CssBaseline';

import { Button } from '@mui/material';

const theme = createTheme({
  components: {
    MuiButton: {
      styleOverrides: {
        outlinedPrimary: {
          backgroundColor: 'yellow',
          '&:hover': {
            backgroundColor: 'green',
          },
        },
        outlinedWarning: {
          backgroundColor: 'red',
          '&:hover': {
            backgroundColor: '#0bbfff',
          },
        },
        outlinedInfo: {
          backgroundColor: 'blue',
          '&:hover': {
            backgroundColor: 'gray',
          },
        },
      },
    },
  },
});

const ButtonElem = () => {
  return (
    <>
      <Button variant='outlined' color='primary'>
        Outlined Primary
      </Button>
      <Button variant='outlined' color='warning'>
        Outlined Warning
      </Button>
      <Button variant='outlined' color='info'>
        Outlined Info
      </Button>
    </>
  );
};

function App() {
  return (
    <ThemeProvider theme={theme}>
      <CssBaseline />
      <ButtonElem />
    </ThemeProvider>
  );
}

export default App;

Read documentation
And add other https://mui.com/material-ui/customization/palette/#adding-new-colors also how to include color which already exist with augmentation.
You need to enable them create file augment.d.ts and add it to your tsconfig.json

Add Lines
declare module '@mui/material/Button/Button' {
    interface ButtonPropsColorOverrides {
        success: true;
        info: true;
        error: true;
        warning: true;
    }
}

@AhsanImtiazRafiq does @povilass' reply answer your issue?

@michaldudak yeah thats one way to do it , I haven't tried it but it make sense and can be used as workaround , but it would be great if you can add the relevant styleoverride props in the next release as mentioned in the Button API documentation , or don't declare it in the documentation as this creates confusion.
For me I also used a workaround with css, the solution I applied is in the following screenshot , I used the classes that are already coming with the structure!

I just realized you're using Material UI v4, but reference the docs for v5.
In v5, everything works fine: https://codesandbox.io/s/serene-curran-01dvuv?file=/demo.tsx

@michaldudak I am using "@mui/material": "^5.8.0", not v4 , but I updated and checked the version as per you sandbox , its working fine after using "5.9.3" onward!
Thanks!


Recent release of Metacello master has broken 3.5.x GemStone builds

The expected failures for GemStone builds and metacello involved failing JSON tests, as reported #514, not Security errors while installing SmalltalkCI for 3.5.x builds that we are now seeing in across the board travis ci builds.
These particular errors are showing up because normal GemStone builds use https://github.com/dalehenrich/metacello-work, however, SmalltalkCi itself ends up 'unconditionally' loading https://github.com/Metacello/metacello (hpi-swa/smalltalkCI/#459)

@tom95 and @krono, I have finally gotten around to fixing the JSOn issues that were causing massive failures (#514) and I'm in the process of merging my fixes into Metacello/metacello and I have noticed that there are still some build failures for GemStone 3.5.x.
Apparently these failures weren't noticed when you were doing your work, because of the extra noise created by the failing JSON tests...
I've tracked it down to the fact that the setLoadsInMetacelloProject: for Collection and String have been moved form the Metacello-MC package to the Metacello-Core package ... at the end of the day this is actually a bug in the 3.5.x releases, but this is released code and I cannot fix them retroactively....
Sooooo, I am wondering why the change was made? It seems that the Metacello-MC package is being loaded into Squeak, so I'm not sure that these methods have to be in Metacello-Core.
On the issue_514 branch I will be making changes to the packaging to see if can get Metacello/metacello loading into the 3.5.x releases ...
Note that Metacello/metacello is not the primary repository for GemStone (dalehenrich/metacello-work is the primary), but I was planning on moving to Metacello/metacello as the primary and this issue if unaddressed will prevent me from making the move for a while longer.

@tom95 and @krono, it looks like moving those methods back into Metacello-MC had no obvious adverse affects on the overall builds. I'm moving Pharo-6.0 to expected failures, since the build just plain fails now ... There ARE new failures {?} for Squeak64-trunk ... I'll hold off merging my GemStone changes into master until you guys have a chance to take a look at those failures.

@dalehenrich thank you for alerting us! It appears that reading the source code during that test fails in some way (the temporaries are replaced by the characteristic t1, t2 names of the decompile string). I'll see if I can figure out how that comes to be.

This is the breaking change: http://forum.world.st/The-Trunk-Monticello-jr-722-mcz-td5118088.html
We no longer log the source of the added methods into the sources file, so trying to read them back only yields the decompile string. The MetacelloToolBox, however, of course produces a proper source string. When comparing the stored version version and the newly constructed version, we thus fail because the argument is called t1 in the stored version and spec in the newly created.
So, since MetacelloDictionaryRepositoryTest>>#runCase uses #suspendSystemUpdateEventsDuring:, we no longer get the originally compiled string back. I verified that changing asMethodAddition to always logSource again allows all tests to pass. Now, my knowledge of the exact impact of that change is rather limited, as such I would tag @j4yk, the author of Monticello-jr.722.
I suppose a simple fix in Metacello, rather than Squeak, would be to always produce a decompile string from the source string MetacelloToolBox creates, but maybe there's a better way.

Ah I may want to add, while the failing build may not look nice, Squeak-trunk being unstable and these failures only affecting the testing environment, I would say you could move ahead with merging the changes @dalehenrich and we try to figure out how to fix the trunk build failure later if you like.

@tom95, I'm fine with that and will go ahead and merge my work ...

So, since MetacelloDictionaryRepositoryTest>>#runCase uses #suspendSystemUpdateEventsDuring:, we no longer get the originally compiled string back. I verified that changing asMethodAddition to always logSource again allows all tests to pass. Now, my knowledge of the exact impact of that change is rather limited, as such I would tag @j4yk, the author of Monticello-jr.722.

When you revert the change in asMethodAddition, all tests that load something with Monticello will spam the changes file again with no way to silence them.
I don't know the test in question and what it does. Can the decompiled source string be fixed with a bunch of copyReplaceAll:with:? Or instead of the source strings, compare the parse trees or the behavior of the method in question? Yet another idea would be to use suspendSystemUpdateEventsDuring: in a narrower scope.

@tom95, we've reached the point, where the travis-ci bug is fixed and we're down to only the squeak trunk failure keeping us from luscious green:). With that said, I'm fine with whatever you choose to do ... wait/expected failure/fix ...

Great to hear we'll soon be back to all-green!
I'll just tag the proposal for the fix on Squeak-trunk here for future reference: https://github.com/Metacello/metacello/pull/522 :)


kubectl run is reporting an error on HEAD

I execute:
$ kubectl run nginx --image=nginx
error: Parameter: default-name is required

Appears to be related to changes made in this PR:
https://github.com/GoogleCloudPlatform/kubernetes/pull/8804

Looks like the change here:
https://github.com/GoogleCloudPlatform/kubernetes/pull/8804/files#diff-961b43a40b4bf2300c985aa16ebcc813L119
expose should have a different set of param names than run

Looks like they do have a different set of names, but for run the wrong default was set.

@kargakis


Render Partials

Very nice extension, but is there a way to render partials?
middleman build succeeds, but it just removed my <%= render … Code :(

Hmmmm...where is render documented? partial seems to work as expected for me.

Closing due to inactivity, but @albertschulz feel free to reopen if you're stilling having problems with render!


interface eth0 information coverage

When the eth0:1 network card information is used in the virtual machine, the content of the status.interface.eth0 information of the vmi will be overwritten by the eth0:1 information

/sig network

@mzzgaopeng can you share the full VMI status ?

Please provide all the information that is mentioned in the issue template.
We need versions used, expected report vs actual report. What you see in the Guest, etc.

version:0.46.1
I configured a subnet named eth0:1 in the network .

version:0.46.1

There have been several changes to the interfaces reporting.
Specifically, reported interfaces by the Guest Agent which are not appearing in the spec/domain will be reported with a "guest-agent value  in the infoSource field [1].
Unfortunately, this is a way too old version which is no longer under formal support.
I suggest you try this out with a more recent version and let us know the results.
[1] https://kubevirt.io/user-guide/virtual_machines/guest_agent_information/#guest-agent-info-in-virtual-machine-status

version:0.46.1

There have been several changes to the interfaces reporting. Specifically, reported interfaces by the Guest Agent which are not appearing in the spec/domain will be reported with a "guest-agent value in the infoSource field [1].
Unfortunately, this is a way too old version which is no longer under formal support. I suggest you try this out with a more recent version and let us know the results.
[1] https://kubevirt.io/user-guide/virtual_machines/guest_agent_information/#guest-agent-info-in-virtual-machine-status

I would like to know, will the latest version cover multiple subnets when GA reports eth0, eth0:1, and eth0:2?

I would like to know, will the latest version cover multiple subnets when GA reports eth0, eth0:1, and eth0:2?

It will just report what the guest-agent reported back.
But there are some limitations due to the way kubevirt is associating guest interfaces with spec/domain interfaces.
You can try your scenario even without installing the latest version, by adding an e2e test to the existing ones [1].
[1] https://github.com/kubevirt/kubevirt/blob/main/tests/network/vmi_infosource.go

@mzzgaopeng , please update if you have checked this on a recent release.
If you cannot upgrade your deployment or check it on a new one, then we will close the issue and you may ask to reopen (or open a new one) it when you have the results.

/assign @EdDev


Conflict between guidelines and codes

com.alibaba.p3c.idea.quickfix.* does not satisfy the following rule while the word quickfix is not only one English word:

[Mandatory] A package should be named in lowercase characters. There should be only one English word after each dot. Package names are always in singular format while class names can be in plural format if necessary.

We are meeting a similar situation in our project, where the package name is not suitable to be replaced by only one English word. Do you have a suggestion?

I think It's a big problem, It’s easy for coder to understand the meaning of quickfix.

I think It's not a big problem


[FEATURE]: Start Playlist

Consent

[X] I have searched the existing issues and verified that there is no open issue for the same subject.
[X] I understand that the YTMDesktop Elgato Plugin has NO affiliation with Google, YouTube or the YTMDesktop application.

Feature
An additional button to start a certain playlist that can be defined in the button's settings
Solution
No response
Alternatives
No response
Anything else?
No response

Hello! This sadly can't be implemented

Was looking for this functionality as well -- Sad to hear it's not availble in the API. Is it possible to play a certain track instead of a playlist?

Was looking for this functionality as well -- Sad to hear it's not availble in the API. Is it possible to play a certain track instead of a playlist?

Sadly no. At least AFAIK. Specific tracks and playlists would be kinda the same logic, which is both not available.

Was looking for this functionality as well -- Sad to hear it's not availble in the API. Is it possible to play a certain track instead of a playlist?

Sadly no. At least AFAIK. Specific tracks and playlists would be kinda the same logic, which is both not available.
But you could try it with an run / open url action from Elgato. YTMDesktop supports custom URI schemes, here's a small explaination:
You can run ytmd://play/<VideoID>/<PlaylistID>. <VideoID> is your desired video id and <PlaylistID> is the playlist id.
At least that's the last thing I remember. I tried using that inside the plugin to simplifying it, but with the current plugin architecture (in javascript) this is not possible, I would have to re-develop the whole plugin in another language and I'm not sure if just one feature would be "worth it".

When trying the ytmd://play// the song plays correctly but the bar on the bottom of ytmd disappears N?A comes in the middle of the song button like this
Song Name
N/A
Artist Name
and when the song ends everything breaks it shows
N/A
N/A


Missing support for Ubuntu 16.04 with Python 3.5

Environment info
Operating System:
Ubuntu 16.04 Xenial Xerus
Installed version of CUDA and cuDNN:
none (using CPU version)
If installed from binary pip package, provide:
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp34-cp34m-linux_x86_64.whl
What have you tried?
I tried to install
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp34-cp34m-linux_x86_64.whl

but it failed with the following message:
tensorflow-0.8.0-cp34-cp34m-linux_x86_64.whl is not a supported wheel on this platform.

This is probably because the python3 version in Xenial is Python 3.5.x
I managed to install tensorflow using instead:
linux/cpu/tensorflow-0.7.0-py3-none-linux_x86_64.whl

but there's not anything like that neither for the protobuf nor for the tensorflow-0.8.0 packages.

+1

i have download it and rename to tensorflow-0.8.0-cp35-cp35m-linux_x86_64.whl to install it

@caisq: Can you take a look as someone more familiar with pip-land?

+1

We are in the process of getting python3.5 build to work for linux. Stay tuned. Renaming is the temporary solution.

+1

With PR #2585, we now have Linux Python 3.5 whl files built and tested nightly. The links to the whl files and build history can be found in the main README.md:
https://github.com/tensorflow/tensorflow/
Linux Python 3.5 whl files will also be included in future releases.


HOUR/DAY

Is it possible to set for the user the option of hour or day? Having the two options as filter?
Thank you!

Yes it is possible but you need to implement it yourself.
In your case prices filter already concerns default listing price by hour.
You just have to do the same for price by day. I think you can do it mainly on client side though JS by converting price / day in price by hour.


Can there be an option to have Redisson only use daemon threads?

Right now Redisson uses some non-daemon threads, and apps must call client.shutdown() before main completes, otherwise the process won't actually terminate. Would it be possible to have a config option to relax that requirement and have Redisson only use daemon threads instead? I understand that means that the app won't have a chance to complete any work that the background threads are doing, but that is ok for our use case. The use case is that we have a library that uses Redisson to connect to Redis and clients of the library always forget to close() on the java client we give them, or it is created deep inside some object heirarchy or through dependency injection and it isn't straightforward to call close() before main returns, and as a result apps hangs on shutdown.
Our library either only reads data from Redis, or writes data that we are ok losing if the app were to shutdown before it gets flushed. I am assuming that abrupt shutdown won't leave Redis itself in a bad state (right now there are cases our user's apps are shutdown with SIGTERM and therefore shutdown() isn't called and we haven't seen any issues with redis as a result). If we can have this option to turn on a mode where Redisson only use daemon threads it will make its usage much more straightforward.

I think this can be configured with proper executors.

How does one configure the thread pools to use for redisson?

I'm running into the same problem even after configuring the client to use an Executor that uses daemon threads.
 Config   config.setExecutor(Executors.newFixedThreadPool(threads, new DefaultThreadFactory("redissonx", true)));
Even after this the client is stopping the JVM to end because of the 'redisson-timer' thread which is not a daemon thread.
I couldn't find a way to configure the timer so it uses a daemon thread.
Any suggestion?
Thanks


Support Dapr as a Logic Apps Action Type

A typed Logic Apps Action would provide a more natural Logic Apps experience to the developer rather than simply using http calls onto Dapr. This is a better developer experience for calling of properties and methods.

Hi!
I would like to pick up this ticket. I was thinking to create custom logic app connector and publish it to the marketplace.  Could you provide please more requirements?  Thank you


x/website: The "Call your code from another module" tutorial has a typo in a command

In the Call your code from another module tutorial, a command in step 5.1. has a typo:
$ go mod edit -replace=example.com/greetings=../greetings
should be
$ go mod edit -replace example.com/greetings=../greetings

CC @stevetraut @jayconrod

@kova98, are you sure it's a typo? I would expect both of those forms to work equivalently.

@bcmills I assumed it was a typo. The first command outputs the following error:
go mod: -replace=: need old[@v]=new[@w] (missing =)
I am using Powershell.

That's a Powershell bug (https://github.com/PowerShell/PowerShell/issues/6291).

Duplicate of #44924


PR: Update components with code from the main repository

Resolves #7
merge message
Updated components with the code from the main Hypothesize repository and format it according to the es-lint rules.

Remove the theme property from the components. We want to make components have general properties and seems that the theme is too specific. The style property must be enough for the components customization.


Fix for fingerprint in e2e test

[x] Fix for fingerprint in e2e test

Comments

Issue Number

bors r+


Add wrapper_options to input definitions for simple_form 3.1.0

Simple form 3.1.0 requires custom input definitions to accept a wrapper_options argument. Defining the input method without accepting wrapper_options is deprecated and will be removed in the next version of simple_form.
See https://github.com/plataformatec/simple_form/pull/997 for more information.

rejected because it fails specs (even if it would be trivial to fix it). this problem was fixed by #14


Sidebar widgets not showing when adding them after a Time-Series one

OS: mac OS El Capitán 10.11.5
Browser in which this issue happens (this doesn't happen on Safari Version 9.1.1):

Chrome Version 53.0.2785.116 (64-bit)
Firefox 47.0

CARTO Account used when this happened: arianaescobar
Issue
From having no widgets added on a map, if I first add a Time-Series widget and then I try to add any other kind of widgets (the ones that go on the side), I do add them (they appear on my widgets list on the left sidebar) but the actual widgets don't appear on the right side. They only appear if I reload the window.

Although if I first add a widget on the left sidebar and then I add a Time-series one, it will get added and shown on the builder perfectly.

Expected behaviour
I should be able to see the widgets I add, not only on the widgets list but also the proper widgets in whichever order I decide to add them.

Already reported @arianaescobar https://github.com/CartoDB/cartodb/issues/9694.

Great 👍🏼  sorry for the duplicate!


Fixing bugs in CV-TV

Completed tasks

Switched SPAT timestamp to utcTimestamp, from odeReceivedAt
Fixing locking of time query parameters when in live view
Allowing manual typing of date times in query parameters (previously threw exception)
Correctly displaying current MAP message time in live view
Changing intersection ID while live streaming restarts the websockets with the new intersection ID/road regulator ID
Adding max BSM trail length to visual settings

displays the most recent {5} bsms within the current slider window

BSM legend colors not reflect only vehicles which are currently displayed

There is kind of an oddity here, where if one vehicle drives through, and then another, they will have the same color. This could be resolved by making the colors deterministic, but that is a task for later

Adding horizontal scrollbar to notifications table
Added support for downloading message data while in live view
Message flickering: From all of the testing I have done, the application correctly displays what it has received. I suspect that this is due to messages coming out of order

Please download the message data while in live view, this will help!

Web socket token expiration - This could be handled better by the UI, which should log you out here. For now, increasing the token expiration time should help

List of tasks from John:

[x] Incorrect MAP message times
[x] BSM Trails are rough Perhaps combine a longer time window, with a message history retention (5 - 10 BSMs)
[x] Changing IntersectionID in drop down doesn't switch intersection in live mode
[ ] Occasional Light Flickering Red-Yellow-Red. Not sure if this is a problem with the UI, if messages are out of sequence, if or if there is actually a problem with message order.
[x] Time render window length can be changed in live mode, but is really hard to switch. It keeps bouncing back to the previous value.
[ ] Web socket system stops working when token expires. (Not sure this is actually a bug or not)
[x] remove latent BSMs from the legend

New tasks created by this PR:

[ ] Make BSM colors deterministic?

For making BSM colors deterministic, you may want to also use a color selection that is distinct from the colors already used for lights, lanes, etc. This will help the BSM's pop more on the map.


fix: scoring shapes

:tada: This PR is included in version 1.4.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Are conditional Fields possible?

Hey Guys,
are conditional fields possible with jsonform?
My scenario is like this:
Based on a Selection (enum) i want to display different kind of fields in the final form. I tried to use event handlers for this scenario as described in here https://github.com/jsonform/jsonform/wiki#using-event-handlers-to-react-on-fields-updates-in-real-time but i could not figure out the best way to do this yet.
For example:

If the user will chose "Task" from the selection I would like to show another field. Should I use a CSS Hack (Display "None") for this or is there another way you would recommend?

This is the current schema.

Would something like this example work ? https://jsonform.github.io/jsonform/playground/index.html?example=fields-selectfieldset

Would something like this example work ? https://jsonform.github.io/jsonform/playground/index.html?example=fields-selectfieldset

Would only work partially since I would also like to use the information of the previous fieldset in the array.
So Array[0] would be Selectvalue '1' -> based on this i want to display a different fieldset for Array[1]. Hope that makes sense.

Would only work partially since I would also like to use the information of the previous fieldset in the array.
So Array[0] would be Selectvalue '1' -> based on this i want to display a different fieldset for Array[1]. Hope that makes sense.

I guess the most "correct" way would be to display: none the fields you don't want with event listeners, so you can have a consistent form structure whatever the values inputted by the user are.
Instead of using display: none you could also visually arrange your form so that when a specific value is chosen, one part of the form would fold and another unfold, conveying the meaning that some parts of the form need to be filled depending on the answers you give to certain fields ?

I guess the most "correct" way would be to display: none the fields you don't want with event listeners, so you can have a consistent form structure whatever the values inputted by the user are.
Instead of using display: none you could also visually arrange your form so that when a specific value is chosen, one part of the form would fold and another unfold, conveying the meaning that some parts of the form need to be filled depending on the answers you give to certain fields ?


d3.csv.min.js is consider csv file

When trying to work with the d3 javascript library, sprockets will not include d3.csv.min.js because it recognizes it as a csv file:
d3.csv.min.js is 'text/csv', not 'application/javascript'
   (in /Users/abhik/Projects/branchout/vis/app/assets/javascripts/application.js:10)

I think it's going to be because of the extension, not the token, so if you need a workaround that isn't too ugly, I'd replace it with d3_csv.min.js. Also you ought to be including the uncompressed version in assets/javascripts, as the asset pipeline can take care of compression.

I'd probably consider this an actual bug.
I think we should be reading extensions right to left. Since .js is the last extension, it should stop and use that as the format.

Thanks!


[BUG] Queue.move is not a function

Every time I attempt to use the move part of the Queue documentation, it throws an error, Queue.move() is not a function
/move(2,3)
The above command should move song at index 2 to index 3

OS: Mac OS Monterey
Node 16.6.0
DMP Version 9.1.1

@Siris2314 can you log the queue?

Sure here is the logged queue

It's songs from a playlist on YT

@Siris2314 seems like the queue you got is not the queue class, base on the logs its a collection of the songs in queue

It is printing the whole class, apologies my terminal was not big enough to handle the entire log, but yes it prints the entire Queue class itself

if you console log the queue.move is it undefined? log it outside your condition

Do you mean outside the conditional statements, the queue is logged before them:

The update containing the move feature hasn’t been released to NPM

Interesting that it is listed on the documentation lmfao


Switch CI/CD to GitHub actions instead of Travis

Signed-off-by: Bernd Hufmann<EMAIL_ADDRESS>

We will only know if it works after we merge it.


Fix the GitHub token placeholder format

Randomly generated.

I tested that this is indeed not a valid token (which is what I expected).
I'm glad you didn't leak your own :D


[Enhancement]: Interactive Background and New Features

Do you want to have the enhancement of existing game ? 😀 Describe yourself..
Yes, I am a passionate developer and gamer looking to enhance the user experience of the existing game by adding interactive and dynamic features. I would like to propose adding an interactive background that responds to mouse movements, along with several other features such as a loading screen, sound effects, a scoreboard, and a settings menu.
Describe the solution you'd like

Implement an interactive background that responds to mouse movements for a more dynamic visual effect.

Add a loading screen to improve the user experience while the game assets are loading.

Include background music and sound effects for various in-game actions.

Develop a scoreboard to track and display player scores.

Create a settings menu where users can adjust game options like sound volume, game difficulty, etc.

Solution steps:

Interactive Background:

Use JavaScript to detect mouse movements and apply transformations to the background layers.
Update CSS to support dynamic changes based on user interaction.

Loading Screen:

Create an HTML and CSS loading screen.
Use JavaScript to display the loading screen until all game assets are fully loaded.

Sound Effects and Music:

Add audio files for background music and sound effects.
Implement JavaScript code to play sounds at appropriate game events.
Provide controls in the settings menu to adjust volume levels.

Scoreboard:

Develop a scoreboard UI component using HTML and CSS.
Implement JavaScript logic to update and display the scores in real-time.

Settings Menu:

Create a settings menu UI using HTML and CSS.
Add JavaScript functionality to allow users to change settings like sound volume and game difficulty.

Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

i want to work on this issue, please assign me this issue.

@Swapnilden Could you please explain more what you want to do, if possible you can also add screenshot.

@Durgesh4993 want to add new features like background music, give user choice to select difficulty of the game and one loading screen before the start of game

hello, please assign this issue to me under GSSOC'24.


Acknowledgement, reference, doi

What are the best practices to acknowledge  @bradyrx  and @aaronspring (and contributors work like Abby) work for
a) e.g. using climpred to make a figure for a paper
b) all the S2S development eventually leading to the ASP summer tutorial.
Will latter be a separate repo or linked to climpred? Shall we create a doi for a possible S2S repo that others can cite? Is there an update on your climpred manuscript (would be good to cite for a) ). Maybe ask for citation on main page of climpred in more prominent place.
Thanks!

climpred and the JOSS paper has a doi. Via zenodo it’s is super easy to get a doi for any GitHub repo.

I suggest you or Abby create a new repo for the summer school once we figured out the basic workflow here. Riley and me could also become repo owner/contributors so we would be at least the four of us in the doi as authors.


Add tests for image_resource

Changes

I simply added missing tests for image_resource! Thanks for your review! 😄
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[x] Includes tests (if functionality changed/added)
[x] Includes docs (if user facing)
[x] Commit messages follow commit message best practices

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task and TaskRun to build and release this image

/ok-to-test

Thank you!

one minor nit from me otherwise this looks good.

/lgtm

Thanks for your comments! I'll check the test names and fix them! 👍


Add a page on exceptions, and treat exceptions more consistently

Closes gh-606

Thanks, Ralf! The exception page LGTM. Didn't check the code carefully due to small screen, though.

This has now been open for a few weeks. Will go ahead and merge. If further edits are necessary, these can be addressed in follow-up PRs.


Consider Additions to the interview glossary

-docket
-hearing
-certified mail
-process server
-personal service
-serve
-post
-damages
-defense
-court clerk
-garnishment
-parties
-claim
M.R.C.P.
duress
fraudulent
induced
estopped
business entity
corporation
subsidy

discovery

protected class/status/distinction


Do the GUI properly

At the very least use actual Electron instead of Chrome. This would allow for native right-click menus etc

If at all possible, I'd like to use your interface with VIM.  The less tightly coupled your front and backends are, the more applications I forsee.

@sethwoodworth this is what I'm looking into at the moment, it might also allow backends with different languages with the same front end


🐛 [BUG] -Z-index issue

🐛 Bug Report Form

Description
When we scroll down . The images goes on top of the navbar .

Reproduction URL
Please provide your GitHub URL to reproduce the issue

Reproduction Steps
1. Step 1...2. Step 2...3. Step 3...4. Step 4...

Screenshots

https://github.com/ZeroOctave/resource-gallery/assets/85991449/b4a08c7c-62c6-4786-bc33-439dffdd4b2e
|
🌐 Browsers
Which browsers are you experiencing the problem on? (Select all that apply)

[x] Chrome

💻 OS
What is the impacted environment (operating system)? (Select all that apply)

[x] Windows

📝 Sections Completed
Check the box of the sections you have completed:

[x] Description
[ ] Reproduction URL
[ ] Reproduction Steps
[x] Screenshots
[ ] Logs
[x] Browsers
[x] OS
[ ] Additional Context

🔍 Priority
Please select the priority of the bug:

[x] High
[ ] Medium
[ ] Low

📜 Code of Conduct
By submitting this issue, you agree to follow our Code of Conduct:

[x] I follow Contributing Guidelines of this project.
[x] I have checked the current issues for duplicate problems.
[x] I have read the readme.

Can you assign this issue to me under GSSOC'23.


glx failed to create context glxbadfbconfig in ubuntu 21.04

Can't i use it on Ubuntu 21.04?

Yes. You need to install LunarG VulkanSDK for Linux: https://vulkan.lunarg.com/sdk/home#linux
Release 1.3.211 supports Ubuntu 20.04.

This error might not be Ubuntu-related, you need to check your graphics drivers and the output from 'glxinfo' tool. Most likely, your driver does not support OpenGL 4.5 which is strictly required by these samples.
Please, specify the exact demo which outputs this error and also, if possible, provide information about your graphics hardware. For example, an old Intel HD card on a laptop is not enough for running these demos. You can use the 'glxinfo' tool to print out all the relevant information.

I was using xrdp with Ubuntu Linux 21.04 on Windows 10.
xrdp was caused by not supporting OpenGL 4.6.
If you run it locally, it works. Thank you.

Thank you for clarifying this issue )  We have not checked these samples using WSL in Windows 10, only natively on Windows and on Linux (Ubuntu 19.10/20.04).


Update init.py

support django 1.7

Hi, another PR has been merged and we'll now stick to stdlib json. but thanks a lot for this pull request anyway!


Remove the filter options (question)

Is there some way to remove the filter options, like B&W, grey and so. I whould like to force the user to have only the one I want to.

As of now no.
But if you are willing to take the time to raise a pr I could help. Closing this issue for now.
Cheers and have a nice day :)
Chris
Neutrinos


Adjust history_num and encounter significant performance drop.

Greetings,
In train_config.yaml, I've changed the value of history_num to 2, 3, 6. The results show a significant performance drop.
The train and evaluation use the same configuration of history_num.
Is there anything else I need to do to change the value of history_num?

Dear @Aerotic,
I was trying to train the MVDNet after preparing the data and I am encountering some errors. I am not sure how to split the data set for training and validation and where to place them. If you were able to do training, can you please elaborate on steps after preparing the data. Any help is very much appreciated. Thank you.

Hi,
Maybe you should change to a better GPU. 2080Ti works for me

@Aerotic , thanks for the reply. I don't think GPU is a problem for me. The error I am getting is below. I am not sure but I think the issue is with giving the training data paths appropriately.  If so, I am not sure how to do it.
File "D:\Implementation\MVDNet\tools\train.py", line 52, in
launch(
File "D:\Implementation\detectron2\detectron2\engine\launch.py", line 62, in launch
main_func(*args)
File "D:\Implementation\MVDNet\tools\train.py", line 44, in main
trainer = Trainer(cfg)
File "D:\Implementation\detectron2\detectron2\engine\defaults.py", line 310, in init
model = self.build_model(cfg)
File "D:\Implementation\detectron2\detectron2\engine\defaults.py", line 452, in build_model
model = build_model(cfg)
File "D:\Implementation\detectron2\detectron2\modeling\meta_arch\build.py", line 21, in build_model
model = META_ARCH_REGISTRY.get(meta_arch)(cfg)
File D:\Implementation\mvdnet\mvdnet\modeling\meta_arch\mvdnet.py", line 21, in init
self.backbone = build_backbone(cfg)
File "D:\Implementation\detectron2\detectron2\modeling\backbone\build.py", line 31, in build_backbone
backbone = BACKBONE_REGISTRY.get(backbone_name)(cfg, input_shape)
File "D:\Implementation\mvdnet\mvdnet\modeling\backbone\mvdnet_backbone.py", line 238, in build_mvdnet_backbone
radar_backbone = VGG(
File "D:\Implementation\mvdnet\mvdnet\modeling\backbone\mvdnet_backbone.py", line 54, in init
...
self.out_channels = out_channels
File "C:/Users/Akash/anaconda3/lib/site-packages/torch/nn/modules/module.py)", line 1317, in setattr
super().setattr(name, value)
AttributeError: can't set attribute

Sorry it has been so long and I forgot the details of experiences about this model


Update .less/.css for BS3 release

The variable names have changed in BS3, and there are some alignment issues (e.g. twitter/typeahead.js#392).
This revised .less file seems to build nicely when added to a bootstrap.less stack.

Looks like the project has been abandonned.


There are no more endpoints available from the endpoint mapper.

Hello!
I tried to Run :
$DictFile = "C:\PasswordDict.txt"
$DC = "DC1"
$Dict = Get-Content $DictFile | ConvertTo-NTHashDictionary
Get-ADReplAccount -All -Server Server -NamingContext "dc=dc1,dc=dc2" |
Test-PasswordQuality -WeakPasswordHashes $Dict -ShowPlainTextPasswords -IncludeDisabledAccounts
And i got the followng error
There are no more endpoints available from the endpoint mapper.
It has a problem with Get-AD....
Maybe i m just a fool, can some1 help me?  Try to do some troubleshooting.


C: Vertical table - Tableau vertical

https://canada-ca.github.io/design-system-systeme-conception/backlog/vertical-table/vt.html

http://universallabs.org/tables/index-en.php
Take a deeper look at the responsive table and the tablesaw plugin.

@duboisp I cannot see any vertical table in the link above but the vertical table is different than a responsive table.   It mimics the news table on Canada.ca
https://www.canada.ca/en/news.html
But is more flexible, and does not bind the content to a "news" format only with classes like "nws-tbl".


Investigate improvments to CDN purging

Investigate solutions to not purge the CDN on every update to the storage blob

Hopefully setting the correct header in the storage account see https://docs.microsoft.com/en-us/rest/api/storageservices/setting-and-retrieving-properties-and-metadata-for-blob-resources
Other information on CDN

https://docs.microsoft.com/en-us/azure/cdn/cdn-caching-rules
https://docs.microsoft.com/en-us/azure/cdn/cdn-features
https://docs.microsoft.com/en-us/azure/cdn/cdn-standard-rules-engine-actions

This may be made moot by https://app.zenhub.com/workspaces/simplereport-growth--engagement-605b43a6ceb92c000f86279a/issues/cdcgov/prime-simplereport/1048

Microsoft CDN will be replace by Akamai this will be removed


Don't Merge - Avoid SSL revocation check.

r? @ustulation
(maidsafe_highfive has picked a reviewer for you, use r? to override)


lambda policy should validate ids expressions pre deploy

Policy yaml below works to create the lambda function however when triggered the function fails with this error:
ParseError: Unexpected token: CopyImage: Parse error at column 5, token "CopyImage" (QUOTED_IDENTIFIER), for expression:
"event"CopyImage""
thanks
Will
policies:

  - name: ec2-ami-compliance
    resource: ami

    mode:
      type: cloudtrail
      events:
       - source: ec2.amazonaws.com
         event: RegisterImage
         ids: "eventRegisterImage"
       - source: ec2.amazonaws.com
         event: DeregisterImage
         ids: "eventDeregisterImage"
       - source: ec2.amazonaws.com
         event: CopyImage
         ids: event"CopyImage"
       - source: ec2.amazonaws.com
         event: ImportImage
         ids: "eventImportImage"
       - source: ec2.amazonaws.com
         event: ModifyImageAttribute
         ids: "eventModifyImageAttribute"
       - source: ec2.amazonaws.com
         event: ResetImageAttribute
         ids: "eventResetImageAttribute"

    filters:
       - type: value
         key: ImageId
         op: ni
         value:
          - ami-1234546

    actions:
      - type: notify
        to:
         - event-user
         - resource-creator
         -<EMAIL_ADDRESS>        template: policy-template
        transport:
          type: sqs
          region: us-east-1_

seems like a jmespath syntax error on and invalid ids keey, we should pre-validate this before deploying. re invalid expression
ids: event"CopyImage"

Thanks @kapilt


Eloquent returns MSSQL data as strings rather then their respective datatypes

What am I using
 - PHP 7.3.8
 - MSSQL Server 2016
 - SQLSRV 5.8.1
 - Laravel 5.8.23
 - ODBC Driver 17

Mysql returns data with their respective datatypes so integers are actually integers, datetimes are datetimes etc...
Mssql returns data as strings rather then their respective datatypes.
Tinker raw query: (example of data being returned as strings)
    >>> DB::select(DB::raw("select * from pallet_labels where id = 1"))
    => [
         {#3090
           +"id": "1",
           +"crop_date": "2019-08-14",
           +"article_amount": "160",
           +"note": "seeded label",
           +"pallet_label_farmer_id": "1",
           +"made_by": "tomm",
           +"cell_number": "1",
           +"cell_description": "seeded label",
           +"harvest_cycle": "1",
           +"harvest_cycle_day": "1",
           +"created_at": null,
           +"updated_at": null,
           +"deleted_at": null,
           +"cell_id": "1",
           +"user_id": "2",
           +"farmer_id": "1",
           +"cultivation_cycle_id": "1",
           +"pallet_type_id": "1",
           +"status_id": "1",
           +"article_id": "2",
         },
       ]

I have found https://github.com/laravel/framework/issues/11780#issuecomment-415694128 whilst googling:
They are talking about adding these options to your "config/database.php sqlsrv connection"
    'options' => array(
                    PDO::ATTR_STRINGIFY_FETCHES => false,
                    PDO::SQLSRV_ATTR_FETCHES_NUMERIC_TYPE => true
                )

However that changes nothing.
I do not want to use https://laravel.com/docs/7.x/eloquent-mutators#attribute-casting as I believe this is not the answer.
I believe this is related to the sqlsrv extensions as the code has not changed a bit.

@Tommvv -- Tom, thank you for your feedback.  It looks like you're having a product issue rather than a documentation issue.  Please try these links:

DBA Stack Exchange
Stack Overflow

Also, you are welcome to add this issue here:

SQL Server Feedback


Updated libraries path for Linux, included build dependencies

SR appears to have changed the location to which the SDK installs include files for building pyedfead. This updates setup.py to account for this.
I also added pyproject.toml to include build dependencies, should help with gathering requirements during build.

Time to fork?


Sync Analog Output on Multiple Channels for USB-3114

Hello everyone,
I recently purchased a USB-3114 board and I am planning to use the synchronized analog output capability in a setup.
I am running on a Python 3.9.5 installed via Miniconda on WIndows 10. I installed  the Universal Library for Windows library via pip.
According to the documentation, the the USB 3114 should support this feature calling a_out_scan.
I modified the a_out_scan example to demonstrate the ability to output different voltages on the 16 different channels.
The desired output is the one shown by the program ouput:
Found 1 DAQ device(s):
  USB-3114 (1D6B589) - Device ID = 164

Active DAQ device: USB-3114 (1D6B589)

Channel 0 Output Signal: 5.01
Channel 1 Output Signal: 5.02
Channel 2 Output Signal: 5.03
Channel 3 Output Signal: 5.04
Channel 4 Output Signal: 5.05
Channel 5 Output Signal: 5.06
Channel 6 Output Signal: 5.07
Channel 7 Output Signal: 5.08
Channel 8 Output Signal: 5.09
Channel 9 Output Signal: 5.10
Channel 10 Output Signal: 5.11
Channel 11 Output Signal: 5.12
Channel 12 Output Signal: 5.13
Channel 13 Output Signal: 5.14
Channel 14 Output Signal: 5.15
Channel 15 Output Signal: 5.16

Waiting for output scan to complete....
Scan completed **successfully**

Unfortunately, the output value is not updated in the voltage of the channels. Can you tell where the mistake is?
I also tried to use the single-channel function call a_out to control each channel in a loop. Unfortunately, this function call updates the value of the next channel and at the same time returs the voltage of the previous channel to zero. This makes its use to control multiple channels not viable.
Would appreciate any support in the development of this capability.
Thank you for your help: much appreciated.
Kind regards,
Giorgio

Please see the attached example.
It is written to output a value of 1V on ch0, 2V on ch1 and so on, up to channel 4, using a_out_scan().
3100_a_out_scan.zip


Annotations in kubectl describe ing don't have consistent ordering

I'm running watch kubectl describe ing and my annotations keep shuffling around. Would it be reasonable to display them in alphabetical order? Have barely touched Kubernetes source code but happy to work out a pull request if that change sounds good.

/remove-lifecycle stale

/remove-lifecycle stale

@omerzach please open this request in the main Kubernetes repository


ChromeDriver service fails to start on Azure when Chrome Options are present

Description
Hi,
We are having some issues with ChromeDriver on Azure which we can't replicate locally (on Windows 11). The issue seems to be that whenever chrome options are added to chrome driver the driver service fails to start.
As an example the following will work without any issues:
driverPath = Environment.GetEnvironmentVariable("ChromeWebDriver") ?? AppDomain.CurrentDomain.BaseDirectory;
webDriver = new ChromeDriver(ChromeDriverService.CreateDefaultService(driverPath));

However the following will cause the driver service to fail to start:
var chromeOptions = new ChromeOptions();
chromeOptions.SetLoggingPreference(LogType.Browser, LogLevel.All);
chromeOptions.AddArgument("no-sandbox");
chromeOptions.AddUserProfilePreference("profile.default_content_setting_values.automatic_downloads",1);
driverPath = Environment.GetEnvironmentVariable("ChromeWebDriver") ?? AppDomain.CurrentDomain.BaseDirectory;
webDriver = new ChromeDriver(ChromeDriverService.CreateDefaultService(driverPath),chromeOptions);

This will result in a failure like this:
InitBrowser: Cannot start the driver service on http://localhost:50420/ -    at OpenQA.Selenium.DriverService.Start()
   at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
   at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
   at OpenQA.Selenium.WebDriver.StartSession(ICapabilities capabilities)
   at OpenQA.Selenium.WebDriver..ctor(ICommandExecutor executor, ICapabilities capabilities)
   at OpenQA.Selenium.Chromium.ChromiumDriver..ctor(ChromiumDriverService service, ChromiumOptions options, TimeSpan commandTimeout)
   at OpenQA.Selenium.Chrome.ChromeDriver..ctor(ChromeDriverService service, ChromeOptions options, TimeSpan commandTimeout)
   at OpenQA.Selenium.Chrome.ChromeDriver..ctor(ChromeDriverService service, ChromeOptions options)
   at Rbs.CyBake.Web.CyBake.Test.Ui.Helpers.Drivers.InitBrowser() in D:\a\24\s\Release\Rbs.CyBake.Web.CyBake\Version 1.100\Test.Ui\Helpers\Drivers.cs:line 115

It seems now that whenever the chrome options parameter is passed the service fails to start on Azure. This wasn't the case in the past as they were used without issue.
Our Azure config is https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md
Thanks,
Ian
Platforms affected

[X] Azure DevOps
[ ] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] Ubuntu 24.04
[ ] macOS 11
[ ] macOS 12
[ ] macOS 13
[ ] macOS 13 Arm64
[ ] macOS 14
[ ] macOS 14 Arm64
[ ] Windows Server 2019
[X] Windows Server 2022

Image version and build link
20240610.1.0
Is it regression?
yes
Expected behavior
The chromedriver service starts as normal when chrome options are added
Actual behavior
the chromedriver fails to start
Repro steps
var chromeOptions = new ChromeOptions(); chromeOptions.SetLoggingPreference(LogType.Browser, LogLevel.All); chromeOptions.AddArgument("no-sandbox"); chromeOptions.AddUserProfilePreference("profile.default_content_setting_values.automatic_downloads",1); driverPath = Environment.GetEnvironmentVariable("ChromeWebDriver") ?? AppDomain.CurrentDomain.BaseDirectory; webDriver = new ChromeDriver(ChromeDriverService.CreateDefaultService(driverPath),chromeOptions);

Hi @RedBlack-DevOps ,
We're looking into your issue , we will get back to you ASAP.

Hi @RedBlack-DevOps ,
We're looking into your issue , we will get back to you ASAP.

Thankyou for your quick response to this. Please keep us updated.
Thankyou,
Ian

HI @RedBlack-DevOps ,
We have roll-out to new version , Could you please try to reproduce with the new release.
Thankyou !

Thanks for the release but we don't seem to have permission to access that link. Can you advise?

Hi @RedBlack-DevOps ,
Sorry, it is a private link, kindly try to rerun the pipeline with the new version .
Chrome driver  updated to new version.

OK no worries we will try that and let you know.

HI @RedBlack-DevOps ,
Could you please provide your comments ? Thank you !

Hi,
Sorry we (coincidentally) had downtime on our host this morning so we won't know the results until tomorrow morning.

HI,
We were able to run this morning. The image version is 20240618.1.0 can you confirm this is correct? We are still seeing the same exception when the service is started.

Ok this has not resolved the issue then unfortunately.

Ok this has not resolved the issue then unfortunately.

Kindly try to re run the pipeline now . Yesterday it got deployed to all SUs.

HI @RedBlack-DevOps , Could you please post your comments ?

We still have the same issue. Passing in chrome options causes the driver service to fail:
Bake.Web.CyBake.Test.Ui.SpecFlow.Features.Administration.AdministrationPageFeature.EnsureTheAdministrationAreaManagersStructureIsCorrect    EnsureTheAdministrationAreaManagersStructureIsCorrect
2024-06-26T00:35:29.9834802Z RunMessage : DriverPath: C:\SeleniumWebDrivers\ChromeDriver
2024-06-26T00:35:30.1683290Z InitBrowser: Cannot start the driver service on http://localhost:65051/ -    at OpenQA.Selenium.DriverService.Start()
2024-06-26T00:35:32.0895986Z    at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
2024-06-26T00:35:32.8742472Z    at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
2024-06-26T00:35:33.1627471Z    at OpenQA.Selenium.WebDriver.StartSession(ICapabilities capabilities)
2024-06-26T00:35:33.4086991Z    at OpenQA.Selenium.WebDriver..ctor(ICommandExecutor executor, ICapabilities capabilities)
2024-06-26T00:35:34.6407559Z    at OpenQA.Selenium.Chromium.ChromiumDriver..ctor(ChromiumDriverService service, ChromiumOptions options, TimeSpan commandTimeout)
2024-06-26T00:35:35.0406971Z    at OpenQA.Selenium.Chrome.ChromeDriver..ctor(ChromeDriverService service, ChromeOptions options, TimeSpan commandTimeout)
2024-06-26T00:35:35.1719281Z    at OpenQA.Selenium.Chrome.ChromeDriver..ctor(ChromeDriverService service, ChromeOptions options)
2024-06-26T00:35:35.6861800Z    at Rbs.CyBake.Web.CyBake.Test.Ui.Helpers.Drivers.InitBrowser() in D:\a\12\s\Release\Rbs.CyBake.Web.CyBake\Version 1.100\Test.Ui\Helpers\Drivers.cs:line 115
2024-06-26T00:35:35.9954807Z Given I am on the login page
2024-06-26T00:35:36.3912373Z -> skipped because of previous errors
2024-06-26T00:35:36.8731160Z And I enter a login form known username
2024-06-26T00:35:37.3924022Z -> skipped because of previous errors
2024-06-26T00:35:37.6352809Z And I enter a login form known password
2024-06-26T00:35:38.1151817Z -> skipped because of previous errors
2024-06-26T00:35:38.3950746Z And I select the login form login option
2024-06-26T00:35:38.5157052Z -> skipped because of previous errors
2024-06-26T00:35:38.8615081Z And I am on the home page
2024-06-26T00:35:39.0966930Z -> skipped because of previous errors
2024-06-26T00:35:39.5009374Z And I select the side bar menu toggle option
2024-06-26T00:35:39.8105770Z -> skipped because of previous errors
2024-06-26T00:35:39.9989343Z And I select the side bar menu icon option Admin
2024-06-26T00:35:40.1976455Z -> skipped because of previous errors
2024-06-26T00:35:40.3548085Z And I am on the administration overview page
2024-06-26T00:35:41.6008960Z -> skipped because of previous errors
2024-06-26T00:35:42.1009938Z And I select the administration page menu item import data
2024-06-26T00:35:44.0460619Z -> skipped because of previous errors
2024-06-26T00:35:45.1904283Z And the page has finished loading
2024-06-26T00:35:46.6681465Z -> skipped because of previous errors
2024-06-26T00:35:47.8195145Z And I am on the administration import data page
2024-06-26T00:35:48.9070662Z -> skipped because of previous errors
2024-06-26T00:35:52.8311806Z Then the administration import data page structure is correct
2024-06-26T00:35:53.7373135Z -> skipped because of previous errors
2024-06-26T00:35:56.8048918Z
2024-06-26T00:35:57.3520624Z Failed    Rbs.CyBake.Web.CyBake.Test.Ui.SpecFlow.Features.Administration.AdministrationPageFeature.EnsureTheAdministrationImportDataStructureIsCorrect    EnsureTheAdministrationImportDataStructureIsCorrect
2024-06-26T00:43:50.3538682Z RunMessage : DriverPath: C:\SeleniumWebDrivers\ChromeDriver

We still have the same issue. Passing in chrome options causes the driver service to fail:
Bake.Web.CyBake.Test.Ui.SpecFlow.Features.Administration.AdministrationPageFeature.EnsureTheAdministrationAreaManagersStructureIsCorrect EnsureTheAdministrationAreaManagersStructureIsCorrect 2024-06-26T00:35:29.9834802Z RunMessage : DriverPath: C:\SeleniumWebDrivers\ChromeDriver 2024-06-26T00:35:30.1683290Z InitBrowser: Cannot start the driver service on http://localhost:65051/ - at OpenQA.Selenium.DriverService.Start() 2024-06-26T00:35:32.0895986Z at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute) 2024-06-26T00:35:32.8742472Z at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters) 2024-06-26T00:35:33.1627471Z at OpenQA.Selenium.WebDriver.StartSession(ICapabilities capabilities) 2024-06-26T00:35:33.4086991Z at OpenQA.Selenium.WebDriver..ctor(ICommandExecutor executor, ICapabilities capabilities) 2024-06-26T00:35:34.6407559Z at OpenQA.Selenium.Chromium.ChromiumDriver..ctor(ChromiumDriverService service, ChromiumOptions options, TimeSpan commandTimeout) 2024-06-26T00:35:35.0406971Z at OpenQA.Selenium.Chrome.ChromeDriver..ctor(ChromeDriverService service, ChromeOptions options, TimeSpan commandTimeout) 2024-06-26T00:35:35.1719281Z at OpenQA.Selenium.Chrome.ChromeDriver..ctor(ChromeDriverService service, ChromeOptions options) 2024-06-26T00:35:35.6861800Z at Rbs.CyBake.Web.CyBake.Test.Ui.Helpers.Drivers.InitBrowser() in D:\a\12\s\Release\Rbs.CyBake.Web.CyBake\Version 1.100\Test.Ui\Helpers\Drivers.cs:line 115 2024-06-26T00:35:35.9954807Z Given I am on the login page 2024-06-26T00:35:36.3912373Z -> skipped because of previous errors 2024-06-26T00:35:36.8731160Z And I enter a login form known username 2024-06-26T00:35:37.3924022Z -> skipped because of previous errors 2024-06-26T00:35:37.6352809Z And I enter a login form known password 2024-06-26T00:35:38.1151817Z -> skipped because of previous errors 2024-06-26T00:35:38.3950746Z And I select the login form login option 2024-06-26T00:35:38.5157052Z -> skipped because of previous errors 2024-06-26T00:35:38.8615081Z And I am on the home page 2024-06-26T00:35:39.0966930Z -> skipped because of previous errors 2024-06-26T00:35:39.5009374Z And I select the side bar menu toggle option 2024-06-26T00:35:39.8105770Z -> skipped because of previous errors 2024-06-26T00:35:39.9989343Z And I select the side bar menu icon option Admin 2024-06-26T00:35:40.1976455Z -> skipped because of previous errors 2024-06-26T00:35:40.3548085Z And I am on the administration overview page 2024-06-26T00:35:41.6008960Z -> skipped because of previous errors 2024-06-26T00:35:42.1009938Z And I select the administration page menu item import data 2024-06-26T00:35:44.0460619Z -> skipped because of previous errors 2024-06-26T00:35:45.1904283Z And the page has finished loading 2024-06-26T00:35:46.6681465Z -> skipped because of previous errors 2024-06-26T00:35:47.8195145Z And I am on the administration import data page 2024-06-26T00:35:48.9070662Z -> skipped because of previous errors 2024-06-26T00:35:52.8311806Z Then the administration import data page structure is correct 2024-06-26T00:35:53.7373135Z -> skipped because of previous errors 2024-06-26T00:35:56.8048918Z 2024-06-26T00:35:57.3520624Z Failed Rbs.CyBake.Web.CyBake.Test.Ui.SpecFlow.Features.Administration.AdministrationPageFeature.EnsureTheAdministrationImportDataStructureIsCorrect EnsureTheAdministrationImportDataStructureIsCorrect 2024-06-26T00:43:50.3538682Z RunMessage : DriverPath: C:\SeleniumWebDrivers\ChromeDriver

we started  investigation on the same, we will respond to you asap. Thankyou !

Thanks

Hi @RedBlack-DevOps ,
We have tried to download chrome driver and install  , it succeeded for uswith the new version (20240624.1).
Image: ubuntu-22.04
Version: 20240624.1.0
Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20240624.1/images/ubuntu/Ubuntu2204-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240624.1
Kindly try to re run the pipeline with new version , i hope it will resolve your issue .
Last two build has same version (20240618.1,20240610.1) of chrome drive and chrome.
We request you to with newer version and confirm the status. Thankyou !

Hi,
I noted you tried with Ubuntu we are using Windows 2022, is it resolved for this also?

Hi @RedBlack-DevOps ,
I tried for both , please find below details.
Image: windows-2022
Version: 20240624.1.0
Included Software: https://github.com/actions/runner-images/blob/win22/20240624.1/images/windows/Windows2022-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/win22%2F20240624.1
Runner Image Provisioner

HI @RedBlack-DevOps ,
Could you please provide your status ? Thank you !

Hi @RedBlack-DevOps ,
Reminder !,
Kindly provide your update to proceed . Thankyou !

Hi @RedBlack-DevOps , We have attempted to follow up regarding your response. We hope the issue has been resolved. We are now closing the case. Thank you.

HI,
We can still replicate this on image Version: 20240630.1.0
2024-07-04T00:38:46.8233494Z Passed    Rbs.CyBake.Web.CyBake.Test.Ui.SpecFlow.Features.Administration.AdministrationPageFeature.EnsureTheAdministrationAreaManagersStructureIsCorrect    EnsureTheAdministrationAreaManagersStructureIsCorrect
2024-07-04T00:38:51.5790673Z RunMessage : DriverPath: C:\SeleniumWebDrivers\ChromeDriver
2024-07-04T00:38:59.6236607Z InitBrowser: Cannot start the driver service on http://localhost:53110/ -    at OpenQA.Selenium.DriverService.Start()
2024-07-04T00:39:04.1693486Z    at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
2024-07-04T00:39:15.3267094Z    at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
2024-07-04T00:39:31.4486558Z    at OpenQA.Selenium.WebDriver.StartSession(ICapabilities capabilities)
2024-07-04T00:39:46.0772180Z    at OpenQA.Selenium.WebDriver..ctor(ICommandExecutor executor, ICapabilities capabilities)
2024-07-04T00:40:07.5827552Z    at OpenQA.Selenium.Chromium.ChromiumDriver..ctor(ChromiumDriverService service, ChromiumOptions options, TimeSpan commandTimeout)
2024-07-04T00:40:25.3837606Z    at OpenQA.Selenium.Chrome.ChromeDriver..ctor(ChromeDriverService service, ChromeOptions options, TimeSpan commandTimeout)
2024-07-04T00:40:38.4444337Z    at OpenQA.Selenium.Chrome.ChromeDriver..ctor(ChromeDriverService service, ChromeOptions options)
2024-07-04T00:40:56.7747041Z    at Rbs.CyBake.Web.CyBake.Test.Ui.Helpers.Drivers.InitBrowser() in D:\a\24\s\Release\Rbs.CyBake.Web.CyBake\Version 1.101\Test.Ui\Helpers\Drivers.cs:line 115


Fix date and author formatting on blog posts

via https://twitter.com/tjfio/status/941321039207960576

It looks like this regressed in #932, specifically here: https://github.com/electron/electronjs.org/blame/372e5c46577b564f934da8d4bb6c7fd117b182b7/middleware/blog.js#L26
@pierreneter does the author property need to be an array in the feeds?


views: keyword arguments addition

Adds key word arguments to the view method so other possible
implementations can take profit of additional parameters.

Signed-off-by: Esteban J. G. Gabancho<EMAIL_ADDRESS>

Did you find a different way of doing this since you closed it?

Yes, sorry I didn't put any comment before


Update RFC -0036 with the type to didComm.org

"@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/issue-credential/1.0/offer-credential",
https://github.com/hyperledger/aries-rfcs/tree/master/features/0036-issue-credential
RFC needs to be versioned to update the type to :
"@type": "https://didcomm.org/issue-credential/1.0/offer-credential",

For our purposes, assume that this has already happened. The larger community is debating timing of this string switch for RFCs that are already in Accepted state.


Click calendar icon twice to show selected date

I have an issue where I have to click the calendar icon twice in order for the datetimepicker to recognize the date provided from my model. In other words, my model provides the input field with '08/18/2016' but the first time I click on the calendar icon to select a date from the datetimepicker, December 2016 is displayed instead of August 2016. When I click outside of the datetimepicker (to close it) and then click the calendar icon to open it again, August 2016 is selected as expected. It works every time after. I cannot figure out how to fix it. I have tried this but it does not work:
var dt = new Date($('#dtinput').val());
$('#datetimepicker').datetimepicker({
allowInputToggle: true,
ignoreReadonly: true,
format: 'L',
showTodayButton: true
}).on('dp.show', function () {
$(this).data("DateTimePicker").date(moment(dt).format('L'));
});

We have the same issue. I created a fiddle to reproduce it.

Any updates or anyone looking into this?

For those still having this issue the problem was solved on version 4.17.45 just update library and it's done tested with same Fiddle  different version

Thank you! Works great now!


Developer Quickstart page

In GitLab by @franzi233 on Aug 18, 2021, 15:07
How can a developer work with the blockchain/compile the code

In GitLab by @franzi233 on Aug 18, 2021, 15:07
assigned to @franzi233


Fix accessibility issues by adding role presentation and tabindex

It fixes #56

Looks good! :dolphin:

Published as 2.2!


css not loading after build on netlify

css not loaded,  balise is grey (not loaded ?)
no build error or in nav console

edit : the bug was with the kit that you give in your freelancer tuto, this one (sass) work great

@CDaCoW how did you fix


libp2p helper updates

Hey guys! I've completed all the specified libp2p helper updates. Please let me know your feedback :)
Explain your changes here.

Update openStreamMsg.run to not call handleStreamReads

Update handleStreamReads to close stream before returning

Update closeStreamMsg to delete stream from app.Streams mapping (need clarification)

Update addPeerMsg.run to directly connect to peer instead of using bootstrap.Bootstrap

Update beginAdvertisingMsg.run to connect directly to bootstrap peers, and use dht.Bootstrap instead of using - bootstrap.Bootstrap

Update beginAdvertisingMsg.run to use routingDiscovery.FindPeers to find peers and call foundPeer, instead of using EventBus

Test that peers can be discovered using DHT and mDNS

added NoMDNS and NoDHT bools to app for testing this

Use go-mplex library instead of fork and change MaxMessageSize 1 << 30

Test to make sure message of desired size can still be sent

Update libp2p.New to use BandwidthReporter option

Store BandwidthReporter inside codanet.Helper for access

Update app.Validators[seqno] setting in pubsub validation function

Start goroutine to regularly check bandwidth used by its connected peers using BandwidthReporter.GetBandwidthByPeer

Start goroutine to regularly record latency using Peerstore.RecordLatency

In same goroutine, regularly calculate avg of latency using Peerstore.LatencyEWMA

Expose bandwidth for each peer and latency for each peer using Prometheus

run golangci-lint and fix all lint errors

run go mod tidy to cleanup go.mod and go.sum file

Explain how you tested your changes here.
in project root:
cd src/app/libp2p_helper/src
go test ./...

Checklist:

[ ] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[x] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them:

Closes #0000
Closes #0000

@MinaProtocol/infra-eng-reviewers after this PR, the helper runs a prometheus server exposing latency/bandwidth metrics. this probably needs some infra work to integrate?

@nholland94 and I talked with @noot and she's going to make sure to (at least) run-local-network.sh with mDNS on and off before we land this. @lk86 is interested in trying these changes on a node for the public network too

@bkase just ran run_local_network.sh with both app.NoMDNS = false and app.NoMDNS = true, in both cases I'm able to connect to the other 3 peers, eg for fish:
$ _build/default/src/app/cli/src/coda.exe client status -daemon-port 5005
{"timestamp":"2020-12-09 00:25:31.687514Z","level":"Debug","source":{"module":"Block_time","location":"File \"src/lib/block_time/block_time.ml\", line 76, characters 18-30"},"message":"Environment variable CODA_TIME_OFFSET not found, using default of 0","metadata":{"pid":27335}}
Coda daemon status
-----------------------------------

Global number of accounts:       246
Block height:                    1
Max observed block length:       37
Local uptime:                    3m10s
Ledger Merkle root:              jwqrqt64qKCZuGaD168ZvTBVfS7xKSDEL1xxRFRb8duzA9gCiWy
Protocol state hash:             3NKJHQiJrkmvMq52AeeT97BdK5uTcW2ipyKCwVugy3xwYp7bhF5o
Chain id:                        b6d84ac9737187eaedfe2b22a72d3ec29521e973c884c0e99ae7291400e8ec39
Git SHA-1:                       cb3736a77f2137ba5239b7159e10b7275c62cf89
Configuration directory:         /tmp/mina-local-network-1-1-1/nodes/fish_1
Peers:                           3 (<IP_ADDRESS>:4007 <IP_ADDRESS>:6007 <IP_ADDRESS>:3002)
User_commands sent:              0
SNARK worker:                    B62qp4UturELw4MmhAZhor8rwzaH1BBAivRnvdp1Yhkq6odhhFiT8uC
SNARK work fee:<PHONE_NUMBER>
Sync status:                     Catchup
Block producers running:         1 (B62qrQr5TWN1FVcNMTxkKmm46MDCj13gqdyFiLgRuGySWaRNRsNepxi)
Best tip consensus time:         epoch=0, slot=0
Next block will be produced in:  None this epoch… checking at in 15.981m
Consensus time now:              epoch=0, slot=96
Consensus mechanism:             proof_of_stake
Consensus configuration:
	Delta:                     0
	k:                         24
	Slots per epoch:           576
	Slot duration:             2s
	Epoch duration:            19m12s
	Genesis state timestamp:   2020-12-09 00:22:18.538000Z
	Acceptable network delay:  2s

Addresses and ports:
	External IP:    <IP_ADDRESS>
	Bind IP:        <IP_ADDRESS>
	Libp2p PeerID:  12D3KooWRUUPF1jz65Sic6G1nJuUMYVAWDo7Fue2E4y5vUCFfrR3
	Libp2p port:    5007
	Client port:    5005

!ci-build-me

I rolled this up into https://github.com/MinaProtocol/mina/pull/6992


[docs] +server does not inherit from +layout

Describe the bug
As far as I can tell, +server does not inherit from +layout. Propose to increase the distinction between +server and the other +files.
For example, an auth guard place in routes/(app)/+layout.server.ts does not protect routes/(app)/api/+server.ts. (relevant discord thread)
An inverse example when using<EMAIL_ADDRESS>it also affects which +page.(server).ts get loaded.
To me, it shows that of the 4 +files, +server stands alone. Aside from the fact that it uses folders to determine its route, it has nothing to do with the other 3 +files, and don't inherit from any of them.
But the docs seem to imply that +server is a part of the family in the way that it is presented:

+layout and +error files apply to subdirectories as well as the directory they live in

Reproduction
.
Logs
No response
System Info
.

Severity
annoyance
Additional Information
No response

No, it doesn't, because +server is for REST endpoints and has no bearing on +layout which is for page rendering (and vice versa). +layout.server can access the same server-side event props that +server can, that's the only similarity.
As for security, expecting any checks in +layout.server to protect any routes underneath is a mistake, unless they all await the parent load fn which can be a performance killer.
They only reside together because that is how routes are defined.


Add support for Gnosis Chain so we can support POAPs

POAP - Proof of Attendance Protocol (POAP) is a non-fungible token (NFT) that can be used to gate parts of the web. POAPs are digital badges that are sent to a person's wallet as a reward for participating in an event or activity.
POAPs are standard ERC-721 tokens minted on the POAP smart contracts.
More info about POAPs here. POAP collection: https://opensea.io/collection/poap-v2
Requirements
Add support for Gnosis Chain - we need all of the node operators to implement, and then a config file for app.towns.com, but no code changes.
Let's ask the node operators to update config by a specific date and we can ask QA to run through the scenarios on Gnosis Chain as well to make sure it's working.
We will support ERC-721 first then once 1155 support is up we will support that

node operators informed to update by next release cycle next Tuesday


crossorigin attribute mismatch on preload links for non-module scripts

preload links generated for non-module scripts don't work and emit the following console warnings:

preload for 'http://eg11.test:3000/_nuxt/polyfills-legacy.ce23a3a2.js' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.

This is because the logic is indeed out of sync between getPreloadLinks (which only sets crossorigin for module scripts):
https://github.com/nuxt-contrib/vue-bundle-renderer/blob/bd7adb39f5ac61f760a0cfd85eb1ae3cd85d5933/src/runtime.ts#L219
and renderScripts (which sets crossorigin for all scripts):
https://github.com/nuxt-contrib/vue-bundle-renderer/blob/bd7adb39f5ac61f760a0cfd85eb1ae3cd85d5933/src/runtime.ts#L241

I tried with Nuxt 3.7.4 and it worked almost fine (the module didn't remove legacy prefetch links due to the above changes, but the actual legacy build was functioning).
Please come up with a reproduction repo.


How do I cite this repository?

Hey @waspinator, thanks for this work. I have used this in my master's thesis and I would like to know how I should cite this repository. Thank you.

Hi @PratikANaik, please site using https://zenodo.org/record/4627206. Thanks for using pycococreator.


fix(deps): update module github.com/onsi/ginkgo/v2 to v2.20.0

This PR contains the following updates:

Package
Type
Update
Change

github.com/onsi/ginkgo/v2
require
minor
v2.19.1 -> v2.20.0

Release Notes

onsi/ginkgo (github.com/onsi/ginkgo/v2)
v2.20.0
Compare Source
2.20.0
Features

Add buildvcs flag [be5ab95]

Maintenance

Add update-deps to makefile [d303d14]
bump all dependencies [7a50221]

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: go.sum
Command failed: go get -d -t ./...
go: go.mod requires go >= 1.22.6 (running go 1.22.5; GOTOOLCHAIN=local)

ℹ Artifact update notice
File name: go.mod
In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

4 additional dependencies were updated

Details:

Package
Change

github.com/google/pprof
v0.0.0-20240424215950-a892ee059fd6 -> v0.0.0-20240727154555-813a5fbdbec8

golang.org/x/mod
v0.19.0 -> v0.20.0

golang.org/x/net
v0.27.0 -> v0.28.0

golang.org/x/tools
v0.23.0 -> v0.24.0


internal/socks: add the ability to control socks5 resolution

not all servers support remote resolution, and require one to send only ip addresses
this add a new SOCKS5 dialer creation function that lets one pass in a custom *net.Resolver.
if a resolver is set on the dialer, it will use it it convert non ip addresses into ip addresses.  For instance, can simply be used with net.DefaultResolver to do local resolution

In working more on this, I'd want to argue that there should be a Resolver interface type, so custom resolution solutions can be passed in to any place that wants a resolver.  Currently, there's only a concrete Resolver type, which means any place (such as this PR) that takes a resolver cannot work as one might want.


Allow external sources and support ebuilds

See commit messages for more details.

We rejected to add external sources by default recently bc we're not sure if it is good default. Is it supported everywhere? Since when? Why is it a flag if it should/can be set always?


Fix Node.js stack traces when code in a transaction throws

The error stack was losing context because the Promise chain must be unbroken for the error context to correctly work.
E.x. on an internal codebase:
await kysely.transaction().execute(async trx => {
  // generates invalid query
  await trx.selectFrom("foo").where("foo_id", 'in', []).execute()
})

before:

after:

(tests/db/tests/db/postgres-error-stacks.test.ts is the path to the file that throws)
Added test was previously failing.

Thanks, but this caused at least two big new issues.

This should work correctly
  async provideConnection<T>(
    consumer: (connection: DatabaseConnection) => Promise<T>
  ): Promise<T> {
    while (this.#runningPromise) {
      await this.#runningPromise.catch(ignoreError)
    }

    // `#runningPromise` must be set to undefined before it's
    // resolved or rejected. Otherwise the while loop above
    // will misbehave.
    this.#runningPromise = this.#run(consumer).finally(() => {
      this.#runningPromise = undefined
    })

    return this.#runningPromise
  }

function ignoreError(_err: unknown) {
  // Do nothing.
}

Thank you @codetheweb for bringing this up and fixing it 💯


GLSL: Array sizes that use expressions on specialization constants

Vulkan GLSL allows for the size of an array to depend non-trivially on a specialization constant:
layout(constant_id = 0) const int N = 5;

float foo[N]; // trivial dependence

float bar[ (N+ 15) / 4 ]; // non-trivial dependence

The GLSL spec language around this stuff is messy, and gives the impression that somebody worked backwards from the implementation in glslang. The basic behavior in glslang (which is now the "correct" behavior via spec) is:

Two array types, with the equivalent element types, that use specialization constants in their sizes are equivalent if and only if their sizes are specified using the exact same specialization constant (no math on the constant is allowed, not even N +1). All other cases are deemed not equivalent (even when syntactically identical).

Computed layout information as exposed in, e.g., SPIR-V or a reflection API will always be based on the "default" value for the specialization constant, and it is up to the user to carefully avoid cases where this will lead to incorrect behavior (e.g., don't put an array with speciaziation-constant-based size in the middle of something).

Item (1) is unfortunate, but understandable. Handling such things "right" means building a more complete dependent type system, and most people are going to back away from that. I'd like Slang to eventually do a better job, and at least incorporate a very basic "solver" to check for obvious algebraic identity. This would mean going against the GLSL spec, but compatibility with GLSL is a non-goal for Slang.
Item (2) is just plain dangerous. At some point it would be good to at least emit a warning in cases where the user has done something that could cause problems. A good policy would be to treat an array that uses a specialization constant a bit like an array with no statically-specified size (float foo[]), and only allow it at the end of a structure, etc.
I'd like to ensure that the Slang reflection API never lies to people.
For now, I'm considering all of this mess out of scope, so this issue only exists to provide a backlog item.

Slang no longer supports GLSL input, so this should no longer be a relevant issue.
The underlying problem would arise again if we ever allow the user to write arrays where the size comes from a generic parameter (including a global-scope generic parameter).


Suggest the next question for user

Is it possible for me to generate suggested questions as Bing search does?

The assistant will provide the user with suggested questions to choose from and use as input for their next question.

The generation would be up to you in your python code. To display them in the UI, you can use actions


Deploygpo.ps1 hangs on $encryptedSecret = [DpapiNgUtil]::ProtectBase64($descriptor, $ServicePrincipalSecret)

Im trying to deploy the gpo, but it doesnt get past encrypting the secret, it hangs and never finishes.
I ran the script step by step and the hang happens on line 231, importing the module doesnt give any errors.
Name                           Value

PSVersion                      5.1.20348.1366
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.20348.1366
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
log:
Remote path  \Domain-LAN.local\appdata\beheer\AzureArc found!
Creating remote folder's structure...
Assigning appropriate permissions...
Replacing the data the scheduled task...
Report Server FQDN Domain-LAN.local was successfully set in the scheduled task
Arc Remote share appdata\beheer\AzureArc was successfully set in the scheduled task...
Adding ReportServerFQDN Domain-LAN.local to the scheduled task ...
ReportServerFQDN was successfully added to the scheduled task
Creating the new GPO...
DisplayName      : [MSFT] Azure Arc Servers Onboarding20230320032055
DomainName       : Domain-LAN.local
Owner            : DOMAIN-LAN\Domain Admins
Id               : ae8c42ea-3180-48e3-895b-aef71df2709c
GpoStatus        : AllSettingsEnabled
Description      :
CreationTime     : 20-3-2023 15:20:56
ModificationTime : 20-3-2023 15:20:56
UserVersion      : AD Version: 0, SysVol Version: 0
ComputerVersion  : AD Version: 0, SysVol Version: 0
WmiFilter        :
GPO '[MSFT] Azure Arc Servers Onboarding20230320032055' was successfully created in Domain Domain-LAN.local

When I wait for 20 minutes it comes back with the following error:
C:\temp\scripts\DeployGPO.ps1 : Exception calling "ProtectBase64" with "2" argument(s): "Encryption failed.

Did you figure this out?  We are having an issue on the decrypt end when running the onboarding script.

Could you try testing with the system account?

Replied on Gitbub.
Same result as before, even using a brand new service principal
https://github.com/Azure/ArcEnabledServersGroupPolicy/issues/21#issuecomment-1766951181
From: Justin Chen @.>
Sent: Tuesday, October 17, 2023 2:42 AM
To: Azure/ArcEnabledServersGroupPolicy @.>
Cc: Christian Courchaine @.>; Comment @.>
Subject: [CAUTION EXTERNAL] Re: [Azure/ArcEnabledServersGroupPolicy] Deploygpo.ps1 hangs on $encryptedSecret = [DpapiNgUtil]::ProtectBase64($descriptor, $ServicePrincipalSecret) (Issue #13)
CAUTION: This email is from OUTSIDE Travis County. Links or attachments may be dangerous. Click the Phish Alert button above if you think this email is malicious.

Could you try testing with the system account?
—
Reply to this email directly, view it on GitHub [github.com]https://urldefense.com/v3/__https:/github.com/Azure/ArcEnabledServersGroupPolicy/issues/13*issuecomment-1765845327__;Iw!!OAqB8m26hw!rwuDy5P2jgSWN_R7bCtbwAOZlx4C_Es1niMOtEDE4VotcDgL9BsFT-q583tMoF8vZUOkYypUAh5-sFFziE3QtlESwhBEwRKYCjxBQeeRNFE$, or unsubscribe [github.com]https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/A5PM2LKDRGOU45KPO7DCZ33X7YZC3AVCNFSM6AAAAAAWBFDGVSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRVHA2DKMZSG4__;!!OAqB8m26hw!rwuDy5P2jgSWN_R7bCtbwAOZlx4C_Es1niMOtEDE4VotcDgL9BsFT-q583tMoF8vZUOkYypUAh5-sFFziE3QtlESwhBEwRKYCjxBagV9SKg$.
You are receiving this because you commented.Message ID<EMAIL_ADDRESS>
This electronic mail message, including any attachments, may be confidential or privileged under applicable law. This email is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this email, you are notified that any use, dissemination, distribution, copying, disclosure or any other action taken in relation to the content of this email including any attachments is strictly prohibited. If you have received this email in error, please notify the sender immediately and permanently delete the original and any copy of this email, including secure destruction of any printouts.

Currently running into this issue as well on a Server 2016 DC, where the DeployGPO.ps1 script gets stuck after successfully creating the GPO and fails with "Exception calling "ProtectBase64" with "2" argument(s): "Encryption failed.""
I have tried the solutions mentioned in the above-mentioned thread regarding the decrypting process and adding the registry keys for older versions of .NET Framework, but the issue persists. This also occurs when testing with the system account using PSTools
As I was typing this up I decided to test both on a fresh install of Server 2022 joined to the domain and ran into the same problem. I then tried the relevant section of the script on my home lab DC and had no issues at all, so this is a domain-level issue likely being caused by some other GPO.
If anyone has any suggestions on how to further narrow down the issue that would be awesome. In the meantime, if I find the conflict, I will post back here with my findings.

@Borgquite > Thanks for the follow up! Unfortunately the gpresult would have too much client data involved to realistically post.
I did run through the domain level GPOs and nothing stuck out as an obvious block. I tried running the encryption portion of the script on a non-domain joined machine in the environment and ran into the same "Exception calling "ProtectBase64" with "2" argument(s): "Encryption failed." error.
At this point I am really not sure what the problem could be. It almost seems like some sort of dependency is missing, but I cannot find any evidence of that. All of the DLLs being called by the "AzureArcDeployment.psm1" module are available as well. Truly weird.


Supports for binding std::optional or potentially user defined type in SqlBinder?

Is your feature request related to a problem? Please describe.
In some cases I need to do insert/update query that has non mandatory fields and in my application I expect that non mandatory fields could contains NULL.
As far I know to be able to bind NULL to the query is using nullptr, but in my use case its not enough, because I also need to pass the value when defined.
So for now I used to define multiple query with and without non mandatory fields.
Are am I missing the docs or there is another way of doing that?
Describe the solution you'd like
I suggest to be able to pass std::optional<T> since it can represent database like value which could contain either std::nullopt_t or T.
The downside is std::optional are only available since C++17, previous version maybe could use boost::optional
May be add simple overload interface in SqlBinder.h is sufficient:
    template <typename T>
    operator<<(const std::optional<T> &parameter) {
        if(parameter) {
            return *this << parameter.value();
        }
        return *this << nullptr;
    }

Describe alternatives you've considered
As an alternative I'm also thinking that it will more flexible if there is interface using ADL lookup if there is no matching overload for current type in SqlBinder.
So we could specialize user defined type to the SqlBinder, maybe we custom DateTime type, or just like above to supports std::optional<T>, i.e :
template<typename T>
drogon::orm::internal::SqlBinder& operator<<(drogon::orm::internal::SqlBinder& binder, const std::optional<T>& parameter) {
    if(parameter) {
        return binder << parameter.value();
    }
    return binder << nullptr;
}

just like overload ostream operator<<
Additional context
Add any other context or screenshots about the feature request here.

@euiko  The using of SqlBinder in drogon supports ADL, so I think difining a operator function outside the SqlBinder class like you pasted can work.
And the first solution is a good idea for users, I'll consider to add it.
thanks for your suggestion.
@rbugajewski What do you think about this?

I stopped using NULL values in databases a long time ago, because they introduce their own kind of problems, but this is just my personal opinion, and the debate has pretty much stalled in the recent years.
That said, I think this would be an improvement for current users if they desire to model their data with NULL values.
In a good, or more complex, application this should be handled by the application’s validation logic nonetheless.

@an-tao oh for ADL overload in my previous snippet, I forgot if it will resolve under SqlBinder's namespace, thank you in advance
So for current users you could use this updated snippet :
namespace drogon::orm::internal {
template <typename T>
SqlBinder& operator<<(SqlBinder& binder, const std::optional<T>& parameter) {
  if (parameter) {
    return binder << std::move(parameter.value());
  }
  return binder << nullptr;
}
}

and so on for the other type

@euiko Please check the PR #644, thanks.

@an-tao okay I see,
you're welcome


Improve draw button function

As a user, I want to be able to draw a new image without needing to refresh the page, so that I can use the app more easily and intuitively.
Definition of Done

[x] Draw button no longer disappears after being clicked
[x] Canvas is being updated based on which file is used when Draw button is clicked

Tasks

[x] #222
[x] #223
[x] #224
[x] #225

This story took about 1-2 hours to complete. Figuring out the best way to clear the canvas and when to clear the canvas and reactivate the draw button took me a little bit.


Performance observability

As you start your TypeScript journey (or even before!) I suggest adding some observability across all the major pipeline steps. For example, if I have 100 pages being generated but 5 of them take 95% of time to generate, we should be able to see that when the pages are being tracked. For large sites some parts of site take much longer to generate so the developer should be responsible for caching those pages but she'd need to be told which ones they are.
Something like this?
🔥 Deno prepare (900ms)
🔥 /images /images (copy: 25ms)
🔥 /index.html /index.tmpl.ts (load: 1025ms, render: 255ms, process: 190ms, etc: ??)
🔥 /styles.css /styles.css (??)

🍾 Site built into ./_site (1255ms)

It would be good to build OpenTelemetry and OpenMetrics (Prometheus) into Lume so that large sites can fine tune performance through observability.

That's good idea. Deno has support for the performance web API, so it should be something easy to do.

Also @oscarotero when there are thousands of pages, how does one turn off the generated file details list and show only a summary of pages generated? Is that in _config.js? I did not see a --verbose CLI option either.

@shah I've added performance metrics functionality to Lume. It's not released yet but you can test it installing the last commit with lume upgrade --dev.
Runnign lume --metrics will display some metrics from the build process. You can save them to a file for better inspection with lume  --metrics=filename.json.
And about the --verbose option, it's a good idea. I'll add it.
Thanks!

Great, thanks @oscarotero - I'd consider adding an observability property in _config.ts so that it can be controlled from CLI or config. Something like this:
observability: {
    telemetry: { ...what to capture for traceability  },
    metrics: { ...all metrics options  },
}

In _config.ts you can simply set metrics: true to enable them and get it from the site.metrics property. For example, if you want to inspect them, just create a "afterBuild" event:
const site = lume({ metrics: true });

site.addEventListener("afterBuild", () => {
    // Get all metrics:
    const entries = site.metrics.entries;
});

I just added a --verbose option. More info

@oscarotero here's what I see with --metrics please LMK if I'm doing something incorrectly?

@oscarotero for the config.ts model I tried this:
import { lume, postCssPlugin, slugifyURLsPlugin } from "./deps.ts";

const site = lume.default({
  location: "https://lectio.netspective.com/",
  metrics: true,
});

site
  .copy("images")
  .use(postCssPlugin.default())
  .use(slugifyURLsPlugin.default({ alphanumeric: false }))
  .ignore(
    "README.md",
    "config.ts",
    "*.code-workspace",
    "Justfile",
    ".env",
    ".env.example",
  );

site.addEventListener("afterBuild", () => {
  // Get all metrics:
  // const entries = site.metrics.entries;
});

export default site;

This results in:

I think it's something related with Deno's cache. Try to remove the cache folder. I had the same problem and after remove the cache it works fine.

btw, ignore doesn't support patterns like *.code-workspace. Just real files or directories.

mmm, no it's not the cache. I have to investigate more

Yep, it's not the cache, same output after clearing caches.
I'll add a ticket to add support globs or *.code-workspace style for ignore.

there's already a ticket (https://github.com/lumeland/lume/issues/53) but it's not easy to support for performance reasons.

Also, while you're checking the --verbose=0 or --verbose=1 or --verbose=2 did not seem to change any behavior.

I think there's a problem detecting these new options (metrics and verbose) in --dev installation.

Got it, no worries - you can put it in with the next release. Thanks!

I know what's happens. You have to import the same lume module defined in the import_map. I mean, this works:
import lume from "lume/mod.js";

But this doesn't work:
import lume from "./my-lume-fork/mod.js";

Because the mod.js module is not the same as the uses by cli, so options passed by cli aren't applied.

Got it! I try not to use import maps since they're less portable, I usually stick with deps.ts.
Here's my deps.ts:
export * as lume from<EMAIL_ADDRESS>export * as slugifyURLsPlugin from<EMAIL_ADDRESS>export * as postCssPlugin from<EMAIL_ADDRESS>export * as dotenv from<EMAIL_ADDRESS>export * as pg from<EMAIL_ADDRESS>
To use upgrade --dev you're suggesting I use import map or are you suggesting I switch to import maps for production and dev?

Import maps are configured automatically by lume upgrade command. So they are always available, just need to change your deps.ts to use them.
Anyway, I'll try to change the way the cli arguments are applied to the final Lume instance for better portability.

Confirmed - when I use this deps.ts the metrics are working:
export * as lume from "lume/mod.js";
export * as slugifyURLsPlugin from "lume/plugins/slugify_urls.js";
export * as postCssPlugin from "lume/plugins/postcss.js";
export * as dotenv from<EMAIL_ADDRESS>export * as pg from<EMAIL_ADDRESS>export * as gitBeaker from "https://cdn.skypack.dev/@gitbeaker/core";

The minor issues that the compiler fails in VS Code (and shows syntax errors) without special import map setup so if we can stick with direct URLs that would be ideal.

Ok, but note that on importing the dependencies statically, lume upgrade [--dev] won't work because you are stuck to a fixed version of lume.

Agreed, I use udd to update Deno dependencies and I'll have to be careful about that and switch to import map manually. Having something special for upgrade --dev makes sense as long import maps aren't required for non-devl versions.

Overall the metrics look good now but we should create the output in more useful formats, starting in OpenMetrics (which very close to Prometheus exposition format or PEF). By emitting in both JSON and OpenMetrics/PEF we'll be able to use proper metrics ingestion systems for alerting. When you're ready to implement, this is a good Deno library as is this one to use. If we need ability to track Deno metrics we can also check out this library.

Ok, but I don't want to include dependencies or big developments for this in de Lume core. I prefer have a simple solution that can be extended with plugins. The print and save actions are here: https://github.com/lumeland/lume/blob/master/metrics.js#L39 so it would be easy to create a plugin that can configure or replace this default solution with something more powerful or adapted to specific needs. A plugin example could be:
import Metrics from "lume/metrics.js";

class MyCustomMetrics extends Metrics {
  print() {
    // Custom print
  }
  async save(file) {
    // Custom save
  }
}

export default function () {
  return (site) => site.metrics = new MyCustomMetrics();
}

Great point @oscarotero and I completely agree that everything should be a plugin whenever possible. Collecting the metrics and providing observability capabilities (e.g. traceability) should be in the core. I love the idea of exporting the observability to different formats/file with events in config.ts or plugins.


DALI-dataloader

I wonder if you have updated the DALI dataloader since last push? If not, I'll send a PR that makes fixed dali dataloader for newer versions of dali/nvidia stuff.

It is not recommended now due to some known issues related to model accuracy.

Hi @d-li14,
Could you please provide a reference to the issues that you mentioned?
Thanks!

I guess someone like this https://github.com/NVIDIA/DALI/issues/400.


Remove domain from group name

Purpose
User store domain should not be in the group name since some of the legacy listeners expect the group name to be without any prefixes
Related issues

https://github.com/wso2/product-is/issues/19948

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/8186627507

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/8186627507
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/8197942716

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/8197942716
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/8198696043

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/8198696043
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/8199639834

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/8199639834
Status: success

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/8201323296

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/8201323296
Status: success


can save playlist and collections to the server for the docker version

Is your feature request related to a problem? Please describe.
can save playlist and collations to the server for the docker version.
Describe the solution you'd like
so that i can watch iptv from different devices and use the same m3u file and same collections.
Additional context
i don't know anything about javascript project. but i know something about writing code, if you can tell me how you save the playlist for now version, i can try it myself. thank you for your great work. thank you!!!

Yes, please add an option to save the changes to the filesystem.

这是自动回复邮件。您好，您的来信已收到。