How to get Usercredential instead of clientCredential using spring security and oauth2

I am new in spring security and oauth2 so i am unable get usercredential,  my authentication object returning client_id and client_secret as credential but i want username and password in authentication object. see below code
LdapAuthenticationProvider.java
public class LdapAuthenticationProvider implements AuthenticationProvider{     public Authentication authenticate(Authentication authentication)         throws AuthenticationException {         AndFilter filter = new AndFilter();     filter.and(new EqualsFilter("objectclass", "person")).and(                 new EqualsFilter(userId, authentication.getPrincipal()                         .toString()));
SecurityConfig.java
protected void configure(HttpSecurity http) throws Exception {

       http
        .csrf().disable()
        .sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS)
        .and()
        .authorizeRequests()
        .antMatchers("/test/**","/register").permitAll()
        .anyRequest().authenticated()
        .and()
        .formLogin()
            .loginPage("/auth/login").permitAll()
            .and()
        .exceptionHandling().authenticationEntryPoint(delegatingAuthenticationEntryPoint)
     ;
}

what should i do to get userCredential and what should i add to get that ?  please help me

Closing this as questions are better suited on Stack Overflow. We prefer to use GitHub issues for bugs and enhancements.


Missing validation message on "Add provider" modal

The "Hostname or IP address" field is required but does not display the validation message "... is a required field" when it is skipped.
Just noticed another small fix: "Fingerprint" should be lower case.
Suggestion about the "Certificate SHA1 Fingerprint" label. It's a little odd, because it is actually the SHA-1 (this is how VMware always styles the algorithm) fingerprint of the SSL certificate of the ESXi host. "Certificate" does not quite work as an adjective in this context.
You might want to change this to "SHA-1 fingerprint" because all of these fields are for the VMware ESXi host.

@apinnick on my end the "Hostname or IP address" field is behaving just like the other fields. You have to focus the field and then move away from it while it is still blank/invalid to see the message. This is just because the Add button isn't enabled until the form is valid, and we don't want errors appearing until the user does something wrong. That's why we have the red asterisks on required fields.
I'll let @vconzola weigh in on the phrasing of the fingerprint field. I agree we should style it as "SHA-1" but I believe we originally didn't have the word Certificate in there and someone requested it (I can't remember why).

@apinnick on my end the "Hostname or IP address" field is behaving just like the other fields. You have to focus the field and then move away from it while it is still blank/invalid to see the message. This is just because the Add button isn't enabled until the form is valid, and we don't want errors appearing until the user does something wrong. That's why we have the red asterisks on required fields.

That's exactly what I did with the Hostname field-- click in it, then move to another field. I never saw the message for that field. I was using the demo site. I tried several times. Are you saying that the reason I did not see the message is because the Add button is disabled for the demo?
If you were unable to reproduce my bug, I'll take your word for it.

I'll let @vconzola weigh in on the phrasing of the fingerprint field. I agree we should style it as "SHA-1" but I believe we originally didn't have the word Certificate in there and someone requested it (I can't remember why).

I would be interested to know the reasoning behind adding Certificate. Thanks.
"fingerprint" should be lower case.

@mturley @apinnick I honestly don't remember who gave me the text for the fingerprint field, but I put in the mockups whatever I was told. If it makes more sense without "certificate", that works for me.

Which demo URL were you using, and what browser? On the latest main branch (http://konveyor-forklift-ui-preview.surge.sh/) it's working correctly for me in Chrome and Firefox:

Now I see it! I am using the same browser that I used before, Firefox. It's possible that I was using the URL for a feature branch and not main. Next time I will check what branch I'm on. So you can disregard the validation message part.
"SHA-1 fingerprint" would be great. Thanks.
Comment that is unrelated to the UI: I noticed that the Provider CR yaml is calling it a "thumbprint".  I should submit an issue for that but it will be low priority. I checked the VMware documentation to verify that fingerprint is the correct term.
Thanks again!

I think thumbprint was chosen because there's something under the hood that calls it that and they wanted to be consistent in the code. We always call it a fingerprint in user-facing places.

Ah, forgot to change the title of the field (was closing because of the validation message). Reopening.


Allow to add pubs/methods without register by Meteor

If I want to use my own method/pub setup and want to include the methods afterwards. Then the methods/pubs should not be registered by Meteor anymore.

done and merged


[FeatureRequest] Run in transparent mode.

Hi! Thanks for a great job!
Everything is working well.
I've one idea and want to know the community's opinion.
What if on run pethublocal we will make a request to surepet cloud, receive credentials to their mqtt and make second connection to it. We can resend all messages from local queue to cloud queue and almost all messages from cloud to local queue.
Why I think this is a useful feature:

original app will be working (at least for a while)
push notification will continue working
it helps with analysis packages, which are not supported yet

Of course, this feature should be optional.
If the community will be interested in this feature I can do it by myself and send PR to the main repo.
As a second option I can make a small side-service for proxying packages from/to the cloud.

I did look into the option of creating a client to connect to "the real cloud" but there are a few issues around managing the device counters and sending Home Assistant initiated requests to the hub / device incrementing the counters but then the real cloud sends an update using the same counter.
In regards to MITM the traffic, I documented that all here.
https://github.com/plambrechtsen/pethublocal/tree/main/PolarProxy
Will bring all the PolarProxy stuff over here.


Using port 80 for HTTPS ingress with Azure Application Gateway won't work

Azure Application Gateway does not allow using port 80 for HTTPS ingress:
https://github.com/Azure/application-gateway-kubernetes-ingress/blob/master/docs/annotations.md
Make sure to not use port 80 with HTTPS and port 443 with HTTP on the Pods.
PR #1009 updated the ports from 8080 to 80 which results in this issue.

Not an issue anymore.


Window closing itself and quitting app

How can I close a window and quit the whole app programatically?
class Notepad extends Component {
  state = { running: true, text: 'Enter here!' };

  render() {
    return (
        <App>
          {this.state.running && <Window
            title="Notes"
            size={{ w: 500, h: 500 }}
          >
            <Box>
              <TextInput
                onChange={text => this.setState({ text })}
              >
                {this.state.text}
              </TextInput>
              <Button onClick={()=>this.setState({running: false})}>Test</Button>
            </Box>
          </Window>}
        </App>
    );
  }
}

Should this work? On macOS only the Window is closed (even though lastWindow is true by default).

Apart from that, a method to quit the app (similar to the current dialog functions) would make sense. (Why is it Dialog and not dialog?)

You need to use the closed prop.
class Example extends Component {
  state = { running: true, text: 'Enter here!' };

  render() {
    return (
        <App>
          <Window
            title="Notes"
            size={{ w: 500, h: 500 }}
            closed={!this.state.running}
          >
            <Box>
              <TextInput
                onChange={text => this.setState({ text })}
              >
                {this.state.text}
              </TextInput>
              <Button onClick={()=>this.setState({running: false})}>Test</Button>
            </Box>
          </Window>
        </App>
    );
  }
}

I made it a prop instead of a method because if you want to use multiple windows, it gets really ugly to try and track what window you're using (which is how I did it for dialog since it doesn't matter too much what the origin window is). I pushed a fix to make this correctly quit.

It would, however, make sense if <Window closed={true}> wouldn't actually show that window.


[Feature] Toggle whether or not Plugins/Themes will load

[Feature] Toggle whether or not Plugins/Themes will load
My Pitch
Let's say you are running a system-intensive application, yet, you do not want to close discord. Depending on how many plugins a user may have or how element heavy a custom theme may be, keeping Discord open may drastically impact the overall performance of your system or said application. A way to tackle this would be a way to toggle whether or not Better Discord will load plugins and themes either through a switch/checkbox or a way to restart discord in a "safe mode" (like some applications do), and vice versa
The Feature
As said above, I would like to suggest a way for Better Discord to toggle whether or not plugins and or themes will load. This being either through a toggle button or check box. I am taking into account that disabling things while they are running can possibly cause issues. With this, in mind, an alternative way of implementing this could be through the use of a button that can relaunch discord (still injected) into a "safe mode" that disables those plugins and themes. In this "safe mode", the same button will still be available, however for reversing the "safe mode" and relaunching back into your previous setup.
Additional context
Here is a mockup of the feature

And also, if you are wondering, both methods of activating this feature are present within this mockup, the switch and the button. I did not represent the button to reverse the "safe mode", but that should be self-explanatory

yes please! this would be really great IMO,

I believe this is a duplicate of #482, please let me know if they are different.

Yes, it is different. seems like the author of that issue seems to be having debugging issues, but yes, the purpose of my feature request is to lower the resource usage of better discord, not for debugging, however ill gladly include that use for my feature into my request due to the helpfulness it can provide in fixing bugs and developing.

Actually, i take that back. The part where i mention the "safe mode", where the client restarts without plugins and themes, is a duplicate of that issue you mentioned. However, i did mention another method of implementation that involves a switch instead of an outright button which restarts the client. A method in which discord can simply disable all plugins and themes without the need of restarting the client (with the possibilities of breaking things considering the fact that plugins will be disabled while they are running. i am unsure whether or not this may actually pose an issue, however, its something to keep in mind)

However, i did mention another method of implementation that involves a switch instead of an outright button which restarts the client

Though I do appreciate the mockup, this is not a significantly different enough piece to keep it in a separate issue. I'll be closing this as a duplicate of #482 for ease of tracking this in the future

However, i did mention another method of implementation that involves a switch instead of an outright button which restarts the client

Though I do appreciate the mockup, this is not a significantly different enough piece to keep it in a separate issue. I'll be closing this as a duplicate of #482 for ease of tracking this in the future


RSocket credentials

We just use basic auth credentials for RSocket right now:
https://github.com/medusa-ui/medusa/blob/3ede1fbeaa603e7cd1b13c3cd088f9ed59066961/medusa-ui/src/main/resources/static/index.js#L25
https://github.com/medusa-ui/medusa/blob/03836caaae2e4ef3e7e060edbf6734531edf92dd/medusa-ui/src/main/java/io/getmedusa/medusa/core/config/RSocketSecurityConfiguration.java#L32-L36
Which, now that we know RSocket is a good choice for us, should become a proper implementation. Presumably a JWT implementation: https://docs.spring.io/spring-security/reference/reactive/integrations/rsocket.html#rsocket-authentication-jwt

Alternatively, a uniquely generated username/password per session could also work - but we'd have to make it scalable via redis and it would have to work with Hydra.


Env provider deserializes into unsigned int by force

I have a test db on my local machine with a password 111111. I set up environment variables. This is my Figment config:
Figment::new()
        .merge(providers::Env::prefixed("PLOG_"))
        .merge(providers::Toml::file("plog.config.toml"))
        .extract()

This is Config:
#[derive(Deserialize)]
pub struct Config {
    log_level: Option<String>,
    pub host: Option<String>,
    pub port: Option<u16>,
    pub db_host: Option<String>,
    pub db_port: Option<u16>,
    pub db_user: String,
    pub db_password: String,
}

As you can see, db_password is type String, but I have an error saying this:
Error: invalid type: found unsigned int `111111`, expected a string for key "DB_PASSWORD" in `PLOG_` environment variable(s)

See https://github.com/SergioBenitez/Figment/issues/42#issuecomment-1144321239.

Feel free to close.


Godot v4.0 Beta 4 HTML5 Builds Do Not Run On Popular Itch.io Publishing Site?

Godot version
v4.0.beta4.official [e6751549c]
System information
Windows 11 Pro 64Bit Edge/Firefox/Chrome/Opera -|- Linux Mint 21 Cinnamon 64Bit Firefox/Chrome
Issue description
Hi,
In Beta 5,
You need to add an opt out when building HTML5 for:
"Cross Origin Isolation"
"SharedArrayBuffer"
Our Godot v4.0 Beta 4 HTML5 game does not work on popular itch.io publishing website.
Jesse
Steps to reproduce
View:
https://betamaxhero.itch.io/gdscript-godot-4-t-story
in your web browser of choice...
HTML5 working on New Grounds:
https://www.newgrounds.com/projects/games/1946017/preview
Minimal reproduction project
No response

Looks like you need to enable the required settings. Described here: https://github.com/godotengine/godot/issues/68180#issuecomment-1302352717 where the user got it working.
At any rate, this is a duplicate of #68180. So closing in favour of #68180. Please remember to search through existing issues before opening a new issue


New version: Xpress v0.11.0

Registering package: Xpress
Repository: https://github.com/JuliaOpt/Xpress.jl
Created by: @joaquimg
Version: v0.11.0
Commit: 1ab86a9817c6ffd195261ed50a37033fa9d25f20
Reviewed by: @joaquimg
Reference: https://github.com/JuliaOpt/Xpress.jl/commit/1ab86a9817c6ffd195261ed50a37033fa9d25f20#commitcomment-37633897
Release notes:

Bug fixes in QCQP interface.
Add SOC and RSOC to MOI.
Add semiinteger and semicontinuous variables to MOI.
Add indicator constraints to MOI.
Add infeasibility certificates to MOI.
Simplify MOI interface.
Improve parameter handling.
Improve log file handling.

[noblock] This package requires a commercial third-party dependency which is the cause of the installation failure.


Need to fetch intermediate state transitions

The PBIs getting ‘approved’ by a person other than the PO.
The Test Cases getting ‘validated’ by the creator.
Bugs getting closed by developers.
The Functional PBIs getting to ‘Done’ status by a person other than PO/BA

All these above checks need the full state transition history to be fetched. Is it possible to be filtered out in TFS?

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

ID: 104a125c-c68d-e4fb-2d6b-ffd8fb7b7462
Version Independent ID: be4e20fc-72bb-a2a8-a404-8048bd739bf1
Content: Query by history - Azure Boards
Content Source: docs/boards/queries/history-and-auditing.md
Product: devops
Technology: devops-agile
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

Thanks for your question. It looks like you're working through an issue with your scenario or implementation, rather than an issue with the documentation. Here are a couple of options where you might consider asking your question:

Azure DevOps Support Bot
Azure DevOps on Stack Overflow


Recipe package should be "lightweight"

To add a recipe for Makie requires this package, but the number of dependencies is very large. One of the nice things about RecipesBase.jl is that it is really light.
Is there a plan to make the basic recipes package as lightweight?

Closing in favor of: https://github.com/JuliaPlots/Makie.jl/issues/996


graph: make the cleanup clear and not racy

in the current form, the err from function signature is completely
shadowed in errors returned. Therefore the cleanup needing to happen
does not occur.
cc @stevvooe @dmcgowan
Signed-off-by: Vincent Batts<EMAIL_ADDRESS>

updated PTAL

Can't we now remove the named err returned value to avoid one extra source of confusion?

Clarified this a bit with http://play.golang.org/p/nWjY-hEmsv. If the err return parameter is declared, this change is not necessary. Once the err is no longer declared in the function, the variable gets shadowed by local closure.

@stevvooe I see now. So perhaps I can change this to update the comment and need for named variable in function signature?

@vbatts SGTM

PTAL

LGTM

LGTM


Change transformation for Renewal model in test suite

This PR closes #490
This PR makes the CI parameter recovery more robust by changing the transformation defined by EpiData from exp to softplus.
NB: Since the exp transform is very commonly used for $R_t$ for example in EpiNow2 we might want to consider the problem in more detail despite this fix.
Mathematical details
Softplus transformation and its inverse:
\begin{aligned}
\text{softplus}(x) &= \log(1 + \exp(x)) \\
\text{invsoftplus}(y) &= \log(\exp(y) - 1)
\end{aligned}

In the parameter recovery test I have modified to do:
\text{invsoftplus}(R_t) \sim Z_t

Where $Z_t$ is the latent process being tested (e.g. random walk, AR(1) and Diff AR(1)).

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 89.56%. Comparing base (21fb991) to head (52e5618).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #491      +/-   ##
==========================================
- Coverage   90.02%   89.56%   -0.47%
==========================================
  Files          57       51       -6
  Lines         742      738       -4
==========================================
- Hits          668      661       -7
- Misses         74       77       +3

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

From f2f I think the conclusion was not to do this and instead solve issue elsewhere in the package?

but to pin the link function as a future research question

actually maybe we do need this as well for now?

pin the link function as a future research question

actually maybe we do need this as well for now?

I think both of these. I think it is reasonable to have this as a CI unit test but unreasonable to quietly drop using exp. I favour merging this and then revisiting after #492 is played out.


Scroll Up to the previous div when scrolling back to top

I am trying to scroll back up to previous div when scrolling back to top. I have the solution for scrolling continuously after last slider.  But now i am not able to find for the opposite when scrolling back to top. I have attached the  jsfiddle and codepen snippets for the reference

====================================================================
[  paste your jsfiddle link here  ]
use this jsfiddle to reproduce your bug:
https://jsfiddle.net/Pavankumar_Kori/pw3svdnr/2/
we will likely close your issue without it.

@kenwheeler can you help me with this?

Hi @PavankumarKori1
Could you try with infinite: true , thats work form me when scoll to top.
https://jsfiddle.net/azs7Ljhd/


"Synchronized failed: exceeded maximum retry count" when you attempt to store numbers

This took me a little while to figure out.  When I attempted to store a numeric value I kept getting this error on synchronization:
Synchronized failed: exceeded maximum retry count

Yes, 'synchronized' failed but that's beside the point.   And the error wouldn't go away until I manually cleared local storage.
Workaround:  force values to be strings.  Numbers, arrays and objects all suffer the same fate.
To reproduce:
...
dataset.put('ten', 10, function (err, record) {
  dataset.synchronize({
    onSuccess: function (data, newRecords) {
      console.log('sync.onSuccess()');
    },
    onConflict: function(dataset, conflicts, conflictCallback) {
      var resolved = [];
      for (var i=0; i<conflicts.length; i++) {
        resolved.push(conflicts[i].resolveWithLocalRecord());
      }
      dataset.resolve(resolved, function() {
        return conflictCallback(true);
      });
    },
    onFailure: function (err) {
      console.log('sync.onFailure()', err);
    }
  });
});
...

Thanks, you saved me a lot of time and headhashes ;)


Improve speed by executing outside craft

While the current 1.0.3 release does improve the speed by a few ms, it still does not improve the TTFB (Time To First Byte). Since the TTFB is primarily caused by the Yii 1 framework, the best solution would be to not include Craft at all when serving a cached request.
I think the best solution for this would be to add a small function to the public/index.php file (like we change them already to add extra defines), which can be done manually and automatically.
The main theory behind this:

before the craft file gets included, add a require for a file inside the app/plugins/htmlcache/ directory
check if a static file exists and is still valid
include that static file and add default headers
end the request before craft gets initialised

Added in release 1.0.4


Support ILDA fonts

It should be possible to write text with a custom font to the laser.

The basics work now but the ILDA fonts are reversed. Need to figure out if this is  on purpose.

Hey @SpaceK33z,
In CNC/Laser engraving designs "Hershey Fonts" are very popular, most so due to the fact that it contains a single stroke font and can be downloaded freely (https://emergent.unpythonic.net/software/hershey). I think this fact also makes it very suitable for laser projection. Maybe this is something usefull to add to the @laser-dac/draw library?
I made simple proof of concept:
https://gist.github.com/elzekool/538efd2b8fbfc26123a73b6cccf74f62
That class/file can be used as following:
import {DAC} from "@laser-dac/core";
import {Simulator} from "@laser-dac/simulator";
import {Scene} from "@laser-dac/draw";
import {HersheyFont, loadHersheyFont} from "./HersheyFont";
import * as path from 'path';

(async () => {
    const dac = new DAC();
    dac.use(new Simulator());

    await dac.start();

    const scene = new Scene();

    const font = loadHersheyFont(path.resolve(__dirname, './futural.jhf'));

    function renderFrame() {
        scene.add(new HersheyFont({
            x : 0.1,
            y : 0.1,
            font : font,
            text : 'Hello world!',
            charWidth : 0.05,
            spacingFactor : 0.8,
            color : [ 0, 0, 1 ]
        }));
    }

    scene.start(renderFrame);
    dac.stream(scene);
})();

This generates the following preview:

Oh that's very cool! I was struggling with finding good fonts so I kinda give up on this, but Hershey Fonts look good!!

If you make a PR, could you also remove IldaFont with it? It's not necessary after that anymore, it's kindof a failed experiment (I haven't found good ILDA fonts).


Compile list of features from subprojects

I understand one of the tasks we have is to map (somehow) the documentation across the subprojects, so we can understand their structure and processes. One of the information we want to collect is good/nice/working features (eg, best practices) in the subprojects.

List of Official Jupyter Subprojects (see 11/Oct meeting notes)

Documentation template by JupyterHub:
https://github.com/jupyterhub/jupyterhub-sphinx-theme

A bit off-topic, but in the spirit of good practices or important aspects of OSS contributions and sustainability:

https://www.youtube.com/live/5Bjo6pWj-88?si=Ths0oRG47MWJ4eUq&t=721


Cosmos DB Emulator Docker Image is 3 years old

The Cosmos DB Emulator Docker Image on dockerhub is incompatible with current tools such as the vscode Azure Cosmos DB extension (api version mismatch error). Please update the docker image to have version parity with the local cosmosdb emulator msi version.

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

ID: 109ed3f8-faf1-92b9-bf50-4be52e9099d4
Version Independent ID: ebc5326a-46da-6bc1-1f47-01a8e16d11fb
Content: Develop locally with the Azure Cosmos Emulator
Content Source: articles/cosmos-db/local-emulator.md
Service: cosmos-db
GitHub Login: @markjbrown
Microsoft Alias: mjbrown

@ihl396, Thanks for the feedback! We are taking a look into this and will get back to you soon.

Not sure where you are getting that the docker image is 3 years old. The image on Docker Hub is in fact less than a week old.
Where I think the issue is with this is your host OS is a 2019 based one. In which case the Docker base image must match. For that to work a different image must be referenced.
Try this instead.
docker run --name azure-cosmosdb-emulator --memory 2GB --mount "type=bind,source=%hostDirectory%,destination=C:\CosmosDB.Emulator\bind-mount" --interactive --tty -p 8081:8081 -p 8900:8900 -p 8901:8901 -p 8902:8902 -p 10250:10250 -p 10251:10251 -p 10252:10252 -p 10253:10253 -p 10254:10254 -p 10255:10255 -p 10256:10256 -p 10350:10350 mcr.microsoft.com/cosmosdb/winsrv2019/azure-cosmos-emulator:latest
We will make an update to our docs on this just in case some others run into this issue.
Let us know if this command resolves your issue.
thanks.

@ihl396 We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


Associate branches with PRs

The Github API allows us to query which PR a branch is associated with. It would be useful to add this information to the branch list or above the list of commits to quickly jump to the PR page on Github.

How often does it have to be updated? We could add that information to the branches list in the data-repo.
Otherwise we have to take a look at rate limits again, but I believe it's higher for gh-pages since they are running on GitHub Servers.


Add missing version

See #51

We would prefer not to have to update too many version numbers when doing a new release. What is the bower.json version number needed for?

It's not needed, since bower install gets it from git tags.

I am building webjars for Polymer (https://github.com/chevdor/webjars-polymer) and web-animations-js is a dependency.
I am not using bower itself but I parse the bower.json to know the version and what is the latest archive I can download to build the webjar. So far more than 99% of the bower components I went thru do provide a version and I am relying on that.
I understand that it is a little extra work to maintain that. I see you are using grunt, you may want to have a look at https://github.com/vojtajina/grunt-bump or one of the alternatives. It may provide a way to do it easily.

Why not use package.json for that ?

@tnga I am not writing something just for web-animations-js and since the 100+ repo I am makeing webjars for are bower packages, I handle them all as such. Out of 130 repo, only 2 don´t have a version.
I don´t get your point about bower and npm, sorry. They are nice tools, yes...
I am sure you are nicely trying to help but proposing 'something else' as solution does not help.
Now concretely, bumping the version is supported by bower: http://bower.io/docs/api/#version
So including that to the release workflow would fix this 'issue' and keep things simple.

Bower's version is deprecated and ignored, so it seems wrong to add it. Relying on it when parsing basically means your whole process of producing the webjars is really fragile, and could break at any time.
See https://github.com/bower/spec/blob/master/json.md#version

Closing this given that bower's version property is deprecated.


Modified .podspec and update README

Modified podspec to specific TwitterKit & TwitterCore version, and fix the iOS platform version (9.0)
Update README

I made this fix because I encounter a build fail issue when build with TwitterKit 3.3.0 (the latest version in current time):
▸ Compiling RNTwitterSignIn.m

❌  /Users/patw/Projects/cryp/node_modules/react-native-twitter-signin/ios/RNTwitterSignIn.m:9:9: 'TwitterKit/TwitterKit.h' file not found

#import <TwitterKit/TwitterKit.h>
                                                                                ^

** BUILD FAILED **

It seems that we should use lower TwitterKit version (and the TwitterCore dependency) to avoid this.

Another important thing, this package's 1.0.2 version is not include the podspec file. So if you want to install with cocoapods, please install with the github's master branch in current time.

this would be fixed by now. Thanks.


Wgpu render pass on paint callback has now static lifetime

A very common usability issue on egui-wgpu callbacks is that paint can't access any data that doesn't strictly outlive the callback resources' data. E.g. if the callback resources have an Arc to some resource manager, you can't easily pull out resources since you statically needed to ensure that those resource references outlived the renderpass, whose lifetime was only constrained to the callback resources themselves.
Wgpu 22 no longer has this restriction! Its (render/compute-)passes take care of the lifetime of any passed resource internally. The lifetime constraint is still opt-out since it protects from a common runtime error of adding commands/passes on the parent encoder while a previously created pass wasn't closed yet.
This is not a concern in egui-wgpu since the paint method where we have to access the render pass doesn't even have access to the encoder!

May I request some assistance for making https://github.com/ruffle-rs/ruffle/pull/18082 work, after this change?

@torokati44 should be fairly straight forward: Just remove the lifetimes on paint. Since all changes are strictly lessenings of previous lifetime constraints it should be working out of the box once you adjusted the callback method's signature. Let me know if you have any concrete issues and I can have a look!


hpack 0.12.0

hpack-0.12.0 is out of bounds for:

[ ] stack-<IP_ADDRESS> (>=0.9.0 && < 0.12). Emanuel Borsboom<EMAIL_ADDRESS>@borsboom. @commercialhaskell

Tested with hpack-0.13.0 and updated constraints on Hackage.


nvkelso/update vector tile docs

source vector-tile docs from new location
expand doc coverage

I've verified it locally, but I'm not a pro at this system so please verify it again!

@nvkelso @louh @migurski - So this deprecates the vector-tiles-service-docs repo and moves all the docs under vector-datasource?

Yep, I've updated the old location to point people to mapzen.com for live docs, and the vector-datasource repo for src docs.

@louh I see this merged (thanks!), but I don't see the new content live on mapzen.com?

It's only on dev internal site for now. We'll test there and send to
production once verified.
On Feb 12, 2016 9:38 PM, "Nathaniel V. KELSO"<EMAIL_ADDRESS>wrote:

@louh https://github.com/louh I see this merged (thanks!), but I don't
see the new content live on mapzen.com?
—
Reply to this email directly or view it on GitHub
https://github.com/mapzen/mapzen-docs-generator/pull/102#issuecomment-183596416
.

Never deploy on Friday afternoon!
Dev also failed to publish, it seems. Here are logs from Circle:
Building Vector Tiles documentation...
Loading: ./config/default.yml
Loading: ./config/vector-tiles.yml
Dumping: ./mkdocs.yml
INFO    -  Cleaning site directory
INFO    -  Building documentation to directory: /home/ubuntu/mapzen-docs-generator/dist/vector-tiles
ERROR   -  file not found: /home/ubuntu/mapzen-docs-generator/src/vector-tiles/docs/index.md
ERROR   -  Error building page docs/index.md
Traceback (most recent call last):
  File "/home/ubuntu/virtualenvs/venv-3.4.3/bin/mkdocs", line 11, in <module>
    sys.exit(cli())
  File "/home/ubuntu/virtualenvs/venv-3.4.3/lib/python3.4/site-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/home/ubuntu/virtualenvs/venv-3.4.3/lib/python3.4/site-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/home/ubuntu/virtualenvs/venv-3.4.3/lib/python3.4/site-packages/click/core.py", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/ubuntu/virtualenvs/venv-3.4.3/lib/python3.4/site-packages/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/ubuntu/virtualenvs/venv-3.4.3/lib/python3.4/site-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "/home/ubuntu/virtualenvs/venv-3.4.3/lib/python3.4/site-packages/mkdocs/cli.py", line 134, in build_command
    ), clean_site_dir=clean)
  File "/home/ubuntu/virtualenvs/venv-3.4.3/lib/python3.4/site-packages/mkdocs/build.py", line 299, in build
    build_pages(config)
  File "/home/ubuntu/virtualenvs/venv-3.4.3/lib/python3.4/site-packages/mkdocs/build.py", line 259, in build_pages
    dump_json)
  File "/home/ubuntu/virtualenvs/venv-3.4.3/lib/python3.4/site-packages/mkdocs/build.py", line 171, in _build_page
    input_content = io.open(input_path, 'r', encoding='utf-8').read()
FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/mapzen-docs-generator/src/vector-tiles/docs/index.md'
make: *** [vector-tiles] Error 1

Let's review on Tuesday.

Derp, yes. I’d love to wrap up Tuesday with a map of our docs similar to the ones @heffergm has been making for his excellent blog posts:

@nvkelso - this is fixed now and on production. The code changes are in commits here: https://github.com/mapzen/mapzen-docs-generator/pull/105


Fix -epub properties

These are currently excluded from DSL properties due to duplications.

Fixed, not using const so no longer an issue.


Title update needed

Need to update title on all pages to be consistent

Thanks for the tip @telrod84 . The changes have been made.


Improve Award Amount UX

Award amounts under scholarships do not conform to traditional dollar amount displays. (i.e. 200.00 is displayed as 200.0)
Also award amount can display in greater than thousandths place (i.e. 200.00001) – do colleges award less than 1 cent for scholarships?
Also, improve validation error message (because no one knows what a float is)

fixed


Support array in struct?

What's your opinion on supporting array in struct? @dtolnay
I assume this should be straightforward:
#[cxx::bridge]
mod ffi {
    struct Foo {
        a: [i32; 16],
        b: [Vec<usize>; 32],
    }
}

And it should be translated to
...
struct Foo;
struct Foo final {
  int32_t a[16];
  ::rust::Vec<size_t> b[32];
};

I'm not sure this is 100% safe as I'm new to both languages. If you're open to support this, I'll send a draft pull request.

I am open to supporting this.
std::array would probably be a friendlier equivalence.
struct Foo final {
  std::array<int32_t, 16> a;
  std::array<rust::Vec<size_t>, 32> b;
};

Support for std::array would be awesome, I think it is one of the most useful stl bits imo.

Implemented in #503, released in cxx 1.0.4!


Add double header with inline sticky sub header

Adapte DoubleHeaderDecoration to support inline sticky sub header
Add InlineDoubleHeader to example

Thanks for the contribution! I'm sorry it took me so long to get to it. I've reviewed your changes and it's all good to go. 👍


JsonConfig: Added brightness properties and dim_ colors

I was making a custom config in VScode and noticed issues with Intellisense.
First, most of the properties for the brightness module weren't valid according to the template.
Second, when using colors, I noticed that bright_ colors are returning the same color as the base ones. I then tried with the dim_ prefix which did give me the other shades which were the darker ones.  I got this behavior on both Fedora 40 GNOME 46 and Ubuntu 22.04 GNOME 42.9.  I am not sure if the issue is GNOME or Linux-specific which is why I only added dim_ variants to the color list instead of replacing the bright_ ones.

dim_ bright_ are meant to be used by combining standard color keywords. Adding all the combinations will make the list too verbose.
In addition, 256 color and true color can also be specified. See fastfetch -h color for detail. JSON schema is main for suggestion purpose, not validation.

I noticed that bright_ colors are returning the same color as the base ones.

Some colors (like keys) are already in bright mode. Try --bright-color false

In addition, 256 color and true color can also be specified. See fastfetch -h color for detail. JSON schema is main for suggestion purpose, not validation.

I get how it works now, thank you.


Please add a typescript definition file

This would make it much easier to use your api with full intellisence.

Yes these days to truly be a good 3rd party JavaScript library, there needs to be TypeScript definitions.  TypeScript is self documenting so it is easier to consume a library without constantly referring to documentation or using dev tools or console to figure out what an object is or a function should return.  I think the turtledb seems like an awesome project, but will try pouchdb or rolling my own sync with something like Dexie.js which has TypeScript support.  Thanks will keep an eye on this lib! 👋


OrganisationClaim vs OrganisationTask: focus cardinality  does not fit

@NathanPeeters @SmalsJulien
The cardinality of the prescription referred to does not fit.
Please advise!

see https://github.com/hl7-be/referral/issues/400

Should be 1..1.
An OC/OrgTask is always related to a prescription


colgroup should be col

the structure for setting properties on table columns is <colgroup><col class="a"><col class="b"></colgroup> ... . Column Groups without cols make little sense.

Thanks!


Error getting on File Deletion

while trying to delete an uploaded image ,getting an error "An error occurred: errornError: Unauthorized"

Hi @ManjuAbhijith,
please check the HTTP logs of your web server to identify the error message.
Likely, your server is not configured to support DELETE requests.
If you cannot change that configueration, you can set the delete_type option of the sample PHP upload handler to POST:
https://github.com/blueimp/jQuery-File-Upload/blob/93467eff3721f9405758eaee3bb079f95509536b/server/php/UploadHandler.php#L58-L60
Please also see #2190


error TS2322: Type 'MatMenu' is not assignable to type 'MatMenuPanel'

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
 <button mat-button [matMenuTriggerFor]="menu">{{ price | currency }}</button>
<mat-menu #menu="matMenu">
    <button mat-menu-item>EUR</button>
    <button mat-menu-item>DOL</button>
</mat-menu>

When I enable in tsconfig.json exactOptionalPropertyTypes I have problem
"exactOptionalPropertyTypes": true,

Error
Error: integration/apps/virtual-table/src/samples/sample-second/sample-second.component.html:253:41 - error TS2322: Type 'MatMenu' is not assignable to type 'MatMenuPanel<any>'.
  Types of property 'hasBackdrop' are incompatible.
    Type 'boolean | undefined' is not assignable to type 'boolean'.
      Type 'undefined' is not assignable to type 'boolean'.

253                     <button mat-button [matMenuTriggerFor]="menu">{{ price | currency }}</button>
                                            ~~~~~~~~~~~~~~~~~

  integration/apps/virtual-table/src/samples/sample-second/sample-second.component.ts:21:18
    21     templateUrl: './sample-second.component.html',
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Error occurs in the template of component SampleSecondComponent.

Reproduction
Git clone https://github.com/angular-ru/angular-ru-sdk/
replace <button mat-button [matMenuTriggerFor]="$any(menu)">{{ price | currency }}</button>
to <button mat-button [matMenuTriggerFor]="menu">{{ price | currency }}</button>
Expected Behavior
Error: integration/apps/virtual-table/src/samples/sample-second/sample-second.component.html:253:41 - error TS2322: Type 'MatMenu' is not assignable to type 'MatMenuPanel<any>'.
  Types of property 'hasBackdrop' are incompatible.
    Type 'boolean | undefined' is not assignable to type 'boolean'.
      Type 'undefined' is not assignable to type 'boolean'.

253                     <button mat-button [matMenuTriggerFor]="menu">{{ price | currency }}</button>
                                            ~~~~~~~~~~~~~~~~~

  integration/apps/virtual-table/src/samples/sample-second/sample-second.component.ts:21:18
    21     templateUrl: './sample-second.component.html',
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Error occurs in the template of component SampleSecondComponent.

Actual Behavior
No error
Environment

Angular: 12
CDK/Material: 12
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): macOS

Duplicate of https://github.com/angular/components/issues/24078. You should be able to work around it by disabling exactOptionalPropertyTypes.


[GSSoC'23] Swap Game Completed

PR Description 📜
Title - Swap Card Game
Tech using - HTML, CSS and JS
Fixes #2753

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸
https://github.com/kunjgit/GameZone/assets/114330097/3aaefca1-1dd0-4355-a63a-00def247b727

Thank you soo much for contributing to our repository 💗

Thank you @Avdhesh-Varshney ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

@gurjeetsinghvirdee @kunjgit sir, please review this pull request

@gurjeetsinghvirdee @kunjgit please review this pr

Thank you  @Avdhesh-Varshney , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


New, styled character sheet for Ghost Lines

Completely new sheet for Ghost Lines, with a much more graphic approach
that better mirrors the print character sheets. Due to the completely different approach, the old Ghost Lines sheet would have to be deprecated (some key attributes have been handled differently).

Awesome!
How extensive are the attribute changes? If it's not too complicated, I could write a quick migration sheet worker to just transfer over stuff.

Looking at it again, it actually transfers over very smoothly! The only things that would need to change:

attr_Badge on the old sheet becomes attr_name on the new sheet
attr_Gear on the old sheet goes into attr_notes
attr_Rumors, attr_Notes,and attr_Log on the old sheet could all get compiled into one attribute, attr_notes2 . These are all free-text areas which could be combined into one free text area on the new sheet.

Okay, that's easy!
<script type="text/worker"> on('sheet:opened', () => { 	const attrs = ['Badge', 'Gear', 'Rumors', 'Notes', 'Log', 'version']; 	getAttrs(attrs, v => { 		if (v.version) return; 		let setting = {}; 		if (v.Badge) { 			setting.name = v.Badge; 			setting.Badge = ''; 		} 		if (v.Gear) { 			setting.notes = v.Gear; 			setting.Gear = ''; 		} 		let notes2 = ''; 		if (v.Rumors) { 			notes2 += v.Rumors + '\n'; 			setting.Rumors = ''; 		} 		if (v.Notes) { 			notes2 += v.Notes + '\n'; 			if (!v.Gear) setting.notes = ''; 		} 		if (v.Log) { 			notes2 += v.Log; 			setting.Log = ''; 		} 		if (notes2) { 			setting.notes2 = notes2; 		} 		setting.version = 1; 		setAttrs(setting); 	}); }); </script>

You're a legend, thanks! I've added that in now, so this new sheet can cleanly replace the old one.

Happy to see authors working together! Since this can now replace the old sheet, could you submit this as a direct update to those files?
Also, this includes some files for the Sprawl sheet, I'm not sure if this was intentional or not, but if it is, we generally prefer each sheet have a seperate pull request. Thanks!


Poor formatting of expression with attribute inside of slice

static REPRO: &[usize] = &[
    #[cfg(feature = "zero")]
    0,
];

As of rustfmt 1.2.0-nightly (09940a7 2019-03-27), rustfmt formats the static as:
static REPRO: &[usize] = &[#[cfg(feature = "zero")]
0];

I believe that it should be formatted as originally written. It looks as though rustfmt believes it is emitting &[0], but the attribute and newline make that form not readable.

@dtolnay Thanks for the report! Out of curiosity, how woul you use the REPRO variable ?

@scampi this is minimized from code in Chromium OS.
https://chromium.googlesource.com/chromiumos/platform/crosvm/+/d59cb24741de02b81369bb11a78f9d8968a734b5/protos/build.rs#30


add button for sync with existing workflows

No idea where to add this or what icon. This one looks too much like refresh. The gist of what the button does it add the user to existing workflows on Dockstore that others have registered but that the user should have access to.
I was gonna put where the message  "Don't see an organisation..." on the left sidebar, but it looks too cluttered.
I've also added it to the note when the user has no workflows.
Making this a draft as it both relies on the new web service release and I don't know where to put the button.
https://github.com/dockstore/dockstore/issues/3486

I'm...not sure what I'm looking at in the image.

@garyluu sorry I should've been more clear. The refresh all button was removed in 1.8.0, so this new button where the refresh used to be is the new button I am adding.

idk if I like my own ideas but...

what if that my workflows sections was an accordion like the others and had 'register workflows +' and the 'add yourself to workflows... (icon)`?
An actions dropdown with the options?

2. An actions dropdown with the options?

I like this one.

So the + and sync buttons in the image would be replaced by [Actions v], then clicking on actions would show "register workflows" and "add me to existing Dockstore workflows" or something like that?

So the + and sync buttons in the image would be replaced by [Actions v], then clicking on actions would show "register workflows" and "add me to existing Dockstore workflows" or something like that?

Yeah something like that

Would we want the word "Action" or would the "..." icon be better?

Some options

Actions with a dropdown which includes add workflow(s) and add a user to existing workflows. https://material.angular.io/components/menu/overview
Have two icon buttons as seen in the screenshot in this PR.
Context menu. Similar to option 1 but uses vertical ... icon (https://lh3.googleusercontent.com/djK1rThQ30yU32azhWve0J0rMUkJLzPnitUbEwYf5Hnf5MZgmmFlY-LbGj6n51UeyroPUywoqirccgyzAPAaNNCl0gKMqmqCsnA5Dg=w1064-v0). This is used in Gmail for example.
Floating action button - we moved away from this so probably not (https://material.io/components/buttons-floating-action-button)

We decided to use the Slack approach, main action icon shown (ex. Add workflows), vertical ... is used for extra actions.

I personally think it's better to leave the icon in the menu out.  If we add a new item to the menu, we won't have to worry about finding a unique icon for it.

For future reference, I tried to get working with OpenAPI. https://github.com/dockstore/dockstore/issues/3517

(on build success)


Signing in with GitHub with no verified email addresses results in endless loop

Product and Version [VS/VSCode]: VSCode
OS Version [macOS/Windows]: macOS
Live Share Extension Version: <IP_ADDRESS>
Steps to Reproduce / Scenario:

Create a GitHub account with no verified email addresses
Sign in to Live Share
Choose GitHub
Sign in with GitHub

It makes the user think sign in was successful. If you close VS Code and reopen, the user information was not saved. Upon inspection of Keychain, the credential stored is only github| and it is missing the email address at the end. This makes me believe GitHub does not send the email address in the payload for the Live Share extension to store.
It would be super helpful if the extension were to recognize this and let the user know they can only operate in read-only mode until an email address is in the account and verified (or to use a Microsoft account).

@enozero Thanks for reporting this! We haven’t seen issue yet, so we appreciate you reaching out. We’ll look into how we can improve this situation. Stay tuned!
/cc @avanderhoorn

This issue has been closed due lack of any recent activity. We've made lots of improvements to Live Share since this issue. Please re-open the issue, if this problem persists.
🤖Live-Share-Clean-Up-Bot🤖


UX - Make the buttons in the lower left more visible and obvious

Suggested by @johncokos

Fixed in v0.6


ungoogled-chromium removed from latest Tumbleweed snapshots

OS/Platform
Portable Linux
Installed
OS/Platform's package manager
Version
latest
Have you tested that this is not an upstream issue or an issue with your configuration?

[ ] I have tried reproducing this issue in Chrome and it could not be reproduced there
[ ] I have tried reproducing this issue in vanilla Chromium and it could not be reproduced there
[ ] I have tried reproducing this issue in ungoogled-chromium with a new and empty profile using --user-data-dir command line argument and it could not be reproduced there

Description
The packages was removed from the latest snapshot releases in Tumbleweed
How to Reproduce?
sudo zypper se "ungoogled-chromium"
Actual behaviour
Is not in the repository anymore and was replaced with the default chromium during an update.
Expected behaviour
Was always in the the standard factory repository of openSuse Tumbleweed.
Relevant log output
No response
Additional context
No response

Please see https://github.com/ungoogled-software/ungoogled-chromium/pull/2819


Fencepost Interview with MAJ Clark Howard (podcast with the Georgia National Guard)  - Added to the Website?

Summary
Is it possible to add the MAJ Clark Howard Fencepost podcast (with the Georgia National Guard) to the website? (The podcast is now on our Facebook page and our Instagram page.)

@BeverlyRShepard @kerryhatcher Can this issue be closed?

Need to find podcast media file and post it... @kerryhatcher

https://www.dvidshub.net/audio/72261/georgia-guard-fencepost-podcast-clark-howard-talks-georgia-sdf


fixed sha256 for coconubattery under macos sierra

There was a pull request template when you submitted. It must be filled.
If you were not presented a template, you may have submitted via a CLI tool (likely hub). It that was the case, you may wish to see if the tool has a way to let you use the template (hub is working on it).
In either case, please refer to the template and update your comment.
It will tell you why Travis is failing.

Removed unused metadata

Fixed sha256

Thank you for the report. Closing in favour of https://github.com/caskroom/homebrew-cask/pull/25349.
Next time, please fill the template, as it included needed checks.


As a developer I want my namesapce to use it's own instance of the CDK

Description
Currently the CDK is shared between all developer namespaces.
This is causing issues because to perform a full journey with consent etc. AM needs to redirect users to the correct RCS in the namespace from which the request came from. For this to happen the AM config in the CDK needs to be configured to us a specific Remote Consent Server (RCS). That means that there can really only be a 1:1 relationship between RCS and CDK.
Currently each developer needs to go and change the AM config in the CDK to make it point to their RCS in order to perform a full consent journey.
Acceptance Criteria

each developer namespace uses it's own 'platform CDK' namespace.
Each CDK is configured such that it uses the developer namespaces' RCS
When a developer pushes new AM/IDM config to a PR it is deployed to only their CDK.
When a developer merges new AM/IDM config to master (merges a PR) the new config is deployed to both dev's CDK instance and to the instance of FIdC used by nightly

This is now complete.


Spotify freezes during video ads.

Spotifree is blocking the ads from playing which then freezes Spotify and doesn't allow for it to play the add. So then Spotify is waiting for the ad to play, thus resulting in it freezing. Must restart everytime a video ad plays to continue with more tunes. I tested Spotify without Spotifree on and the video ads play fine.

Hi, NN! I had this issue as well. I resolved the issue, in my instance, by restarting spotify, which sounds like what you've done tirelessly. It may be worth a shot to restart or reinstall either spotify or spotifree or both. Hope this helps!

I have exactly the same issue that Spotify freezes during video ads.
Reinstalling Spotify and Spotifree didn't help.

What Spotifree / Spotify version do you use?

Usually I use the last version (currently <IP_ADDRESS>2), so I experienced the issue across versions I guess and I use Spotifree 1.6.5.
I usually have spotify running the background. Hence, I cannot tell if it happens with every video ad because I might not see it...

Thanks, every report helps!
Could you try this dev version and report whether it is fixed there?

Perfect, I just downloaded it a few minutes ago.
Listening to Spotify, so far no problems with the dev version.
I will report back when it gets stuck again!

I listened to Spotify yesterday for 2 hours without an issue.
If I encounter any issue I will report back.

Hi @Enellis - dev build 2.0dev2 fixed the video bug for me! Video(s) now freely play muted and volume returns after. However, I noticed the notification window said "[zero] seconds."

After two weeks I can definitely say that the dev version fixed it for me :)
Thanks @Enellis

Thank you very much first of all. I will tell you my case and how I solved it. Spotify got stuck and had to restart Spotify every time an ad went through. Spotifree did not work well. I did the two things suggested above. I used version 2 dev and also removed Spotify and reinstalled it. This way my problem was solved. I did it in that order. I downloaded version 2 dev, removed Spotify and then reinstalled it and that's how it worked, if something else happens, I'll report it. A thousand thanks for all your help.


chore: Update WebSocket server code from feedback

SUMMARY
#14398 was merged but there was some feedback from @villebro and @michael-s-molina that I wanted to follow up on.

@rusackas @villebro please help @michael-s-molina merge?


Fixed create-module task

What does this PR do?

The default choice was not respected as '' in 'yY' is True while '' in ['y', 'Y'] is not, fixed this.
Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


Dust Transfer More than One Coin

Hi I am trying to use the dust_transfer method on the binance client class and I was wondering if there is any support for transferring multiple coins in a single call (since I can only make this call every 24hrs)?  I can transfer a single coin this:
client.dust_transfer(asset='BTC')
but I would want to do something like this:
client.dust_transfer(asset=['BTC', 'LSK', 'ETH'])
But that is not supported by the python api.  Anyone know how to create the correct function signature or even the raw request?  According to the Binance REST api docs example for the dust_transfer, it should be possible to pass it any array of coin assets.
https://github.com/binance-exchange/binance-official-api-docs/blob/9dbe0e961b80557bb19708a707c7fad08842b28e/wapi-api.md#dust-transfer-user_data

I tried writting my own implementation of the transfer dust method and built the request with multiple assets like the REST docs say and I get:
"Signature for this request is not valid"
Also tried building the request in postman and I can do a single asset fine its just when I try and do multiple assets I get that same error. Anyone have any ideas on what else I could try?

Upvote, I was trying the same and didn't find any solutions.
Did anyone find one ?

@sdurivau25 I ended up using the ccxt python module.  It supports passing a list of coins. Here is how I used it.
https://github.com/jamesbaber1/user_data/blob/7a5cc14a31a2d844c8db9b59fad059e37c429abc/utils/bot.py#L229

Thanks mate !
I'll give it a look, as long as I think it's way better than what I did.
For the others, here is the solution I found :
What you can do is create a string :
to_be_dusted = "ONE ASSET U WANT TO DELETE&asset=SECOND ASSET&asset=THIRD ASSET" etc
It'll work when doing client.transfer_dust(asset=to_be_dusted)
But obviously it's a homemade and ugly solution. Poor error handling, unpythonic.

if we can get a PR for a fix on this, I would be glad to review + merge

if we can get a PR for a fix on this, I would be glad to review + merge

+1. transfer_dust really need to support having a list as argument. This is especially annoying since you cannot transfer dust more than once every 6 hours.

if we can get a PR for a fix on this, I would be glad to review + merge

+1. transfer_dust really need to support having a list as argument. This is especially annoying since you cannot transfer dust more than once every 6 hours.

la ligne de commande doit etre comme caresult = client.transfer_dust(asset="EOS, XVG, STX")
et la limit de paire simultané est de 10
mon script est comme cela
`import json
import binance
from binance.exceptions import BinanceAPIException
from binance.client import Client
init
api_key = ""
api_secret = ""
client = Client(api_key, api_secret)
from binance.enums import *
info = client.get_account()
data = json.dumps(info)
result = json.loads(data)
result_asset = result['balances']
listpaire = ""
countpaire = 0
php = json.dumps(list(filter(lambda x:x["free"]!="0.00000000",result_asset)))
#for e in result_asset:
php2 = json.loads(php)
for i in php2:
paire = i["asset"] + "USDT"
try:
info2 = client.get_avg_price(symbol=paire)
#print(info2['price'])
calc = float(i["free"]) * float(info2['price'])
if countpaire == 20:
break
else:
if calc < 10:
if listpaire == "":
listpaire = i["asset"]
print(countpaire)
countpaire = countpaire + 1
else:
listpaire = listpaire + ", " + i["asset"]
countpaire = countpaire + 1
print(countpaire)
except BinanceAPIException:
print("Oops!")
cmdbnb = str('(asset="' + listpaire + '")')
cmdbnb = "client.transfer_dust" + cmdbnb
print(cmdbnb)
result = exec(cmdbnb)`
pas forcement optimisé mais ca fonctionne

la ligne de commande doit etre comme caresult = client.transfer_dust(asset="EOS, XVG, STX") et la limit de paire simultané est de 20
mon script est comme cela ` import json import binance
from binance.exceptions import BinanceAPIException from binance.client import Client
init
api_key = "" api_secret = "" client = Client(api_key, api_secret)
from binance.enums import *
info = client.get_account() data = json.dumps(info) result = json.loads(data) result_asset = result['balances'] listpaire = "" countpaire = 0 php = json.dumps(list(filter(lambda x:x["free"]!="0.00000000",result_asset))) #for e in result_asset: php2 = json.loads(php) for i in php2: paire = i["asset"] + "USDT" try: info2 = client.get_avg_price(symbol=paire) #print(info2['price']) calc = float(i["free"]) * float(info2['price']) if countpaire == 15: break else: if calc == 0: print("0") else: if calc < 10: if listpaire == "": listpaire = i["asset"] countpaire = countpaire + 1 else: listpaire = listpaire + ", " + i["asset"] countpaire = countpaire + 1 except BinanceAPIException: print("Oops!")
cmdbnb = str('(asset="' + listpaire + '")') cmdbnb = "client.transfer_dust" + cmdbnb print(cmdbnb) result = exec(cmdbnb) `
pas forcement optimisé mais ca fonctionne

This worked for me , thank you

There is an alternative solution for the latest api:
from binance.client import Client

client = Client(XXX, XXX)
dust_assets = ",".join([o['asset'] for o in client.get_dust_assets()['details']])
client.transfer_dust(asset=dust_assets)


Extra Space in References Numbering

TeX renders the items to references with an extra space after the number,

Where as the .html version works correctly.

@szymczdm said this should be resolved once we switch to using BibTeX

Possible solution that corrects output in tex files:
[{[}1{]}:]
Put curly braces around the square brackets when generating the list.

[1 :] David L. Parnas.
->
[1]: David L. Parnas.

Similar issue happens with the symbol {x,y} as html renders it fine but tex only renders the x,y part (since tex uses "{}" as brackets.


This is company selling Leaflet.markercluster for $39.00 USD?

http://regionbound.com/

Hi,
I recently added an interface to RegionBound for my Drupal CMS module http://drupal.org/project/ip_geoloc.
[BTW, there has been a Drupal interface to Leaflet.markercluster for years: https://www.drupal.org/project/leaflet_markercluster]
Let me share what I know about RegionBound.
RegionBound are NOT selling Leaflet.markercluster. As is common in Open Source, they forked it and then added significant features (region-awareness, tight coverage outline and region-aware in-situ aggregations) and are selling the added value.
This is both common and legal.
Think of RedHat. Or of the system you and I are using right now: Git
Using your words, one could say that GitHub are "selling" Git.
One can wonder, whether it is fair.
Personally I think that the genius of Linus Torvalds deserves to be a billionaire for what he has given us. But I don't think he is. And danzel deserves to be a millinonaire to.
danzel released Leaflet.markercluster under the MIT License which means that he allowed anyone to do just about anything with it, including monetising it, provided you give credit to the original developer. Which RegionBound do on their home page and at the top of the code.
Personally I am not a great fan of the way that Open Source software has panned out. To me it seems we have ended up with a small group of developers producing software that is consumed by much larger groups of consumers who pay nothing to the developers, but reap the benefits of the software for both personal and corporate use.
When you publish a book or a song you receive money for that. Sometimes quite a lot of money.
When you publish Open Source software you get nothing.
To me that does not sound fair and not sustainable. Yet this is the attitude of the average Open Source punter. The moment they have to pay a couple of dollars for ANYTHING they run.
It is probably one of the reasons, apart from its superb quality, why the Leaflet.markercluster plugin has become so popular. Because it is free. If danzel had charged for it, it may still have been just as obscure as RegionBound is and will remain.
Rik

Might be nice if they send me some money hint hint :)
But they are totally within their rights to do it.
Region-aware clustering is a cool feature too!

@Danzel, Adding the region aware clustering feature within Leaflet.markercluster will be very helpful.

@danzel - Do you have a donate link? My new years resolution last year was to monetarily support more open source tools that I use, but I never really followed through on it as much as I should have... There's 14 days left for me to make good on my resolution :smile:

Donate to a charity on my behalf if you would like :-)
I usually work on markercluster during work hours, so I'm already getting paid for it.


Questions/Issues about batch test evaluation.

Mask Image Correspondence
If I am batch evaluating on a custom dataset, do I need to have the same number of masks as the number of evaluation images? How does the code decide correspondence between an image and mask? Is there any naming convention? I have generated the wireframes for all evaluation images. I have 1200 images. But the provided test masks are only 1000. I am wondering if the batch evaluation will work.
Possible bug
https://github.com/DQiaole/ZITS_inpainting/blob/main/src/FTR_trainer.py#L271
If test is True (batch eval), the self.val_dataset is never created.
Wouldn't https://github.com/DQiaole/ZITS_inpainting/blob/main/src/FTR_trainer.py#L443 throw an error?

Mask Image Correspondence
You don't need the same number of masks as the number of evaluation images. We just sort the masks according to their names and read the images according to a txt files (like the https://github.com/DQiaole/ZITS_inpainting/blob/main/places2_test_list.txt) to decide the correspondence between an image and mask. If masks less then images, we will reuse some masks:
https://github.com/DQiaole/ZITS_inpainting/blob/fac833f62d4ad1cee64cfe64872a08807d6d4d92/datasets/dataset_FTR.py#L382-L383
Possible bug
Thanks for point it out,  I have update the code and create the val_dataset when test.


Quick Consecutive Save causes error in build

Bug Report or Feature Request (mark with an x)
- [ X ] bug report -> please search issues before submitting
- [ ] feature request

Versions.
chakru@T430:~$ ng --version
    _                      _                 ____ _     ___
   / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
  / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
 / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
/_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
               |___/
@angular/cli: 1.4.2
node: 6.11.3
os: linux x64
@angular/animations: 4.4.1
@angular/common: 4.4.1
@angular/compiler: 4.4.1
@angular/core: 4.4.1
@angular/forms: 4.4.1
@angular/http: 4.4.1
@angular/platform-browser: 4.4.1
@angular/platform-browser-dynamic: 4.4.1
@angular/router: 4.4.1
@angular/cli: 1.4.2
@angular/compiler-cli: 4.4.1
@angular/language-service: 4.4.1
typescript: 2.3.4

chakru@T430:~$ node --version
v6.11.3

chakru@T430:~$ npm --version
3.10.10

chakru@T430:~$ lsb_release -a
Distributor ID: Ubuntu
Description:  Ubuntu 16.04.3 LTS
Release:  16.04
Codename: xenial

Repro steps.

start listening on file change to continuously build using ng serve
edit a file and save
before the previous build finishes, edit again and hit save

The log given by the failure.
Uncaught Error: Unexpected value 'undefined' declared by the module 'AppModule'
    at syntaxError (compiler.es5.js:1694)
    at compiler.es5.js:15574
    at Array.forEach (<anonymous>)
    at<EMAIL_ADDRESS>(compiler.es5.js:15572)
    at<EMAIL_ADDRESS>(compiler.es5.js:26958)
    at<EMAIL_ADDRESS>(compiler.es5.js:26931)
    at<EMAIL_ADDRESS>(compiler.es5.js:26860)
    at<EMAIL_ADDRESS>(core.es5.js:4536)
    at<EMAIL_ADDRESS>(core.es5.js:4522)
    at Object.../../../../../src/main.ts (main.ts:11)

Desired functionality.
Handle the second save with a full file refresh
Mention any other details that might be useful.
package.json:
{
  "name": "appv7",
  "version": "0.0.0",
  "license": "MIT",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "s": "ng serve --proxy-config proxy.conf.json",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^4.2.4",
    "@angular/common": "^4.2.4",
    "@angular/compiler": "^4.2.4",
    "@angular/core": "^4.2.4",
    "@angular/forms": "^4.2.4",
    "@angular/http": "^4.2.4",
    "@angular/platform-browser": "^4.2.4",
    "@angular/platform-browser-dynamic": "^4.2.4",
    "@angular/router": "^4.2.4",
    "@types/pikaday": "^1.6.1",
    "@types/googlemaps": "^3.26.17",
    "angular2-markdown": "^1.5.1",
    "angular2-text-mask": "^8.0.1",
    "bootstrap": "^3.3.7",
    "bootswatch": "^3.3.7",
    "core-js": "^2.4.1",
    "font-awesome": "^4.7.0",
    "html2canvas": "^0.5.0-beta4",
    "jquery": "^3.1.1",
    "js-beautify": "^1.6.14",
    "moment": "^2.17.1",
    "mustache": "^2.3.0",
    "ng2-completer": "^1.4.0",
    "ng2-toasty": "^4.0.0",
    "ngx-bootstrap": "^1.6.6",
    "pikaday": "^1.6.1",
    "rxjs": "^5.4.2",
    "simplemde": "^1.11.2",
    "sweetalert2": "^6.4.4",
    "zone.js": "^0.8.14"
  },
  "devDependencies": {
    "@angular/cli": "1.4.2",
    "@angular/compiler-cli": "^4.2.4",
    "@angular/language-service": "^4.2.4",
    "@types/jasmine": "~2.5.53",
    "@types/jasminewd2": "~2.0.2",
    "@types/node": "~6.0.60",
    "codelyzer": "~3.1.1",
    "jasmine-core": "~2.6.2",
    "jasmine-spec-reporter": "~4.1.0",
    "karma": "~1.7.0",
    "karma-chrome-launcher": "~2.1.1",
    "karma-cli": "~1.0.1",
    "karma-coverage-istanbul-reporter": "^1.2.1",
    "karma-jasmine": "~1.1.0",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.1.2",
    "ts-node": "~3.2.0",
    "tslint": "~5.3.2",
    "typescript": "~2.3.3",
    "@types/codemirror": "0.0.40",
    "@types/html2canvas": "^0.5.33",
    "@types/js-beautify": "0.0.29",
    "@types/mustache": "^0.8.29",
    "@types/simplemde": "^1.11.6"
  }
}

We've been having this issue ever since we upgraded from 1.3 to 1.4. It seems to happen randomly. Sometimes it refreshes fine, some other times we get that error.

Glad to see this is confirmed, thought I was going crazy. It started happening to us as well when we upgraded from 1.2.6 to 1.4.3. Restarting the server helps, however, it randomly does it again. We noticed that it was more frequent when we would update an ng service file for the first time, in a long time. Then, consecutive refreshes were fine until it sat for a bit. As soon as a service was updated again, it would break.

Running into the same issue after upgrading from angular-cli 1.2.3 to 1.4.2 and angular from 4.3.1 to 4.4.3

It happens to me almost every day after an TS error (some type mismatch) then nothing helps but restart the ng-cli. It makes development almost impossible as most of the time I spent on waiting for ng to restart :(

Updated to 1.4.9 and still experiencing the same behavior.

Is there an update / ETA on this? I am surprised not more people are complaining about this. Seems to be a very common and basic use case that is broken.

Same problem for me using 1.4.9 cli when running ng serve. Usual occurs after an Typescript compile error and is resolved by restarting the cli.
cli: 1.4.9
angular: 4.4.6
typescript: 2.3.4

Any updates on this issue? I hit this problem multiple times a day and am required to restart the server each time which slows down development.

Thanks for reporting this issue. This issue was originally reported a long time ago and since then we've had many releases, one of which might have addressed this problem. Please update to the most recent Angular CLI version.
If the problem persists after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior.


Symfony 4 compatibility

hi, is bundle compatible with symfony 4 ?

I didn't test it yet, but it should work fine tho. It could be awesome to have your feedback on this.

hi, I have an error with symfony 4...
ClassNotFoundExceptionAttempted to load class "NzoUrlEncryptorBundle" from namespace "Nzo\UrlEncryptorBundle".Did you forget a "use" statement for another namespace?
in Kernel.php (line 32)
at Kernel->registerBundles()in Kernel.php (line 403)
at Kernel->initializeBundles()in Kernel.php (line 122)
at Kernel->boot()in Kernel.php (line 185)
at Kernel->handle(object(Request))in index.php (line 37)

The bundle is not compatible with the version 4 of symfony yet.


cannot estimate gas; transaction may fail or may require manual

I got this error when I tried to add polygon using setMulticallAddress

Same problem, any update?


AKPlayer Scheduling bug in realtime vs offline

AKPlayer still has a strong sense of hostTime scheduling when realtime playback is happening, so this is currently needed.
        if renderingMode == .offline {
            let nowTime = AVAudioTime(hostTime: refTime, sampleTime: 0, atRate: sampleRate)
            avTime = nowTime.offset(seconds: scheduledTime)
        } else {
            avTime = AVAudioTime.secondsToAudioTime(hostTime: refTime, time: scheduledTime)
        }

Pull request on wrong branch, hence 124 changed files.


Loading a data uri string

I would like to load a data uri string of the form
data:audio/wav;base64,UklGRuR+JwNXQVZFZm10IBAAAAAB...
string into the player. Is that possible without saving it first locally and than load it using src?
Are there any problems when loading a very long string into the player, e.g. 1-2 GB (w.r.t. buffering...).

Any problems would be exactly the same as loading the same string into an <audio> element. That is all that essentially happens when you pass in a data url.


Allow concurrent search queries

- Do you want to request a feature or report a bug?
Feature
- What is the current behavior?
At the moment, the code can perform search queries at any point in time through redux store search query action.
However, the QUERY_SUCCESS reducer which handles storing the queryHits, will overwrite this object by creating a new one with the latest query results, indexed by controlID keys.
That means multiple queries requested at a near point in time would result in potentially only one query result (the last one in time) being available in the store.
The problem was encountered while implementing #591  .
- What is the expected behavior?
The QUERY_SUCCESS reducer should mutate the state by adding the results to the query object, indexed by controlID keys, instead of rewriting the entire object.
NB: what's written here is also applicable to the other exported search actions and reducers (i.e searchEntries)

Note: Mehdi ran into this because the relation widget and the primary CMS search bar share actions, reducers, and state.

Closing as stale and/or outdated.


How to use Ace extensions?

I'd like to use the ace/ext/spellcheck extension.  It seems to be included in the package (it's in .meteor/local/build/programs/web.browser/packages/mizzao_sharejs-ace/ace-builds/src/ext-spellcheck.js).  But I'm not sure how to trigger its use.  The following CoffeeScript does not seem to work:
Meteor.startup ->
  ace.require 'ace/ext/spellcheck'

The way it's supposed to work is, in the config helper, write
editor.setOption 'spellcheck', true
But this results in the error misspelled option "spellcheck" from Ace.

Hi could you provide me with a small example app, such that I can try it out.

Sure, here you go.  Look for the misspelled option "spellcheck" in the JavaScript console.
test.coffee
if Meteor.isClient
  Meteor.startup ->
    ace.require 'ace/ext/spellcheck'

  Template.registerHelper 'config', -> (editor) ->
    editor.setOption 'spellcheck', true

test.html
<body>
{{> sharejsAce docid='test' onRender=config}}
</body>

test.css
.ace_editor { width: 100%; height: 20em; }

Packages: meteor add coffeescript mizzao:sharejs mizzao:sharejs-ace

I also did it not get to work. I also find very little documentation about this extensions. I wonder if this is actually what you want:
https://github.com/ajaxorg/ace/issues/2107
This only provides spell checking via the browser context menu. There is another example that seems to be more reasonable:
https://github.com/mcasperson/ace-editor-expirments/blob/master/ace-spellcheck/ace.html

Yes, exactly, I was trying to get spellchecking via the browser context menu, as described in https://github.com/ajaxorg/ace/issues/2107
The code is here: https://github.com/ajaxorg/ace-builds/blob/master/src/ext-spellcheck.js
The first line suggests that "ace/ext/spellcheck" is indeed the module's name...
I'm trying to avoid included an entire dictionary in my project, which is what your latter link does.

@edemaine I found a way to include the script.
Add somewhere in your template the following code:
<script src="/packages/mizzao_sharejs-ace/ace-builds/src/ext-spellcheck.js"></script>

This loads the extension and I do not see the error of the misspelling. However I do not find any changes in the context menu.

I encountered a similar problem (wanted to use Ace's mode extenstions). At first, sourcing the script as @DavidSichau suggests worked for me, but then I ran meteor update, and I had to move sourcing it from the <head> to the <body>, and then his solution worked perfectly for me. Hope this helps!


pricing.js:530 JSON parse failse (broken chunk?)

For whatever reason, fails always on XAU/USD
error: uncaughtException: Unexpected end of JSON input date=Mon Jan 22 2018 10:54:22 GMT-0500 (EST), pid=17684, uid=501, gid=20, cwd=/Users/me/depot/backoffice/utils, execPath=/Users/me/.nvm/versions/node/v8.6.0/bin/node, version=v8.6.0, argv=[/Users/me/.nvm/versions/node/v8.6.0/bin/node, /Users/me/depot/backoffice/utils/stream.js], rss=35946496, heapTotal=15269888, heapUsed=11493680, external=108305, loadavg=[2.79296875, 2.89208984375, 2.9814453125], uptime=142613
SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at /Users/me/depot/backoffice/utils/node_modules/@oanda/v20/pricing.js:530:32
at chunks.forEach.chunk (/Users/me/depot/backoffice/utils/node_modules/@oanda/v20/context.js:133:33)
at Array.forEach ()
at IncomingMessage.response.on.d (/Users/me/depot/backoffice/utils/node_modules/@oanda/v20/context.js:130:32)
at emitOne (events.js:115:13)
at IncomingMessage.emit (events.js:210:7)
at addChunk (_stream_readable.js:266:12)
at readableAddChunk (_stream_readable.js:253:11)
at IncomingMessage.Readable.push (_stream_readable.js:211:10)
error: uncaughtException: Parse Error date=Mon Jan 22 2018 10:54:22 GMT-0500 (EST), pid=17684, uid=501, gid=20, cwd=/Users/me/depot/backoffice/utils, execPath=/Users/me/.nvm/versions/node/v8.6.0/bin/node, version=v8.6.0, argv=[/Users/me/.nvm/versions/node/v8.6.0/bin/node, /Users/me/depot/backoffice/utils/stream.js], rss=36257792, heapTotal=15269888, heapUsed=11751584, external=108539, loadavg=[2.79296875, 2.89208984375, 2.9814453125], uptime=142613
Error: Parse Error
at TLSSocket.socketOnData (_http_client.js:454:20)
at emitOne (events.js:115:13)
at TLSSocket.emit (events.js:210:7)
at addChunk (_stream_readable.js:266:12)
at readableAddChunk (_stream_readable.js:253:11)
at TLSSocket.Readable.push (_stream_readable.js:211:10)
at TLSWrap.onread (net.js:587:20)
Response {
method: 'GET',
path: '/v3/accounts/101-001-5495877-001/pricing/stream?instruments=,EUR/USD,GBP/USD,USD/JPY,XAU/USD,USD/CHF,EUR/CHF,AUD/USD,USD/CAD,NZD/USD,EUR/GBP&snapshot=true&',
statusCode: '200',
statusMessage: 'OK',
contentType: 'application/octet-stream',
rawBody: '{"type":"PRICE","time":"2018-01-22T15:54:22.661804860Z","bids":[{"price":"1334.848","liquidity":1000},{"price":"1334.768","liquidity":1000},{"price":"1334.728","liquidity":1000},{"price":"1334.648","liquidity":1000},{"price":"1334.548","liquidity":1000}],"asks":[{"price":"1335.138","liquidity":1000},{"price":"1335.218","liquidity":1000},{"price":"1335.25',
body: null }

Also seeing broken chunks in the HTTP stream. Any advice?

i just closed it with try/catch, I don't use it for production

I'm seeing the same issue.

This seems to occur once the response buffer of the http request reaches a certain length. If it gets  too long split arbitrarily which, if not handled correctly, results in unparsable JSON.
Oanda sort off handles this. Notice that in line 140 of context.js responsBody is set to chunk. If this chunk is one of those unparsable ones that is split in two then in the next on data call (response.on('data', d => {) the remaining data will be appended resulting in a legal JSON string. But.. Oanda apparently didn't account for JSON.parse to throw an error.
A simple fix is to wrap line 650 of pricing.js in a try catch. The problem then solves itself.
This is how I adapted lines 125-141 of context.js but keep in mind that this code can't be used together with pricing.js. I alreay parse the JSON strings in here then handle it elsewhere without ever using pricing.js.
    // OLD
    responseBody = '';
    response.on('data', d => {
        responseBody += d;    // appending buffer to string converts it into string

        if (streamChunkHandler)
        {
            let chunks = responseBody.split("\n");

            chunks.forEach(chunk => {
                if (chunk.length > 0)
                {
                    streamChunkHandler(chunk);
                }

                responseBody = chunk;
            });
        }
    });

    // CUSTOM
    response.on('data', d => {
          responseBody += d;
          let chunks = responseBody.split('\n');
          for (const chunk of chunks) {
              if (chunk.length > 0) {
                  try {
                      let msg = JSON.parse(chunk);
                      // TODO: handle message, eg. streamchunkHandler(msg)
                      responseBody = ''; // reset responseBody; not sure if necessary
                  }
                  catch (err) {
                      responseBody = chunk; // store bad chunk, next response.on(data) will be appended to this
                  }

              }
          }
    });


Remove unused identity transform from anatomical derivatives

Summary

The file is named sub-PNC/anat/sub-PNC_from-orig_to-T1w_mode-image_xfm.txt.

Hello, I tried to fix the issue
This is what I did:
Modified the ValidateImage class to update the output file naming convention for transformation matrix files. The new naming convention follows the pattern 'sub-{subject_id}_from-orig_to-T1w_mode-image_xfm.txt'.
I also created pull request: https://github.com/PennLINC/qsiprep/pull/852

[!CAUTION]
Disclaimer: This fix was created by Latta AI and you should never merge before you check the correctness of generated code!
The fix provided by Latta AI might not be complete and it can serve as an inspiration.

This bug was fixed for free by Latta AI - https://latta.ai/ourmission
If you no longer want Latta AI to attempt fixing issues on your repository, you can block this account.

Here's the relevant section of code:
https://github.com/PennLINC/qsiprep/blob/ee895af9cff8053aa95d2272aab744eca3a81390/qsiprep/workflows/anatomical/volume.py#L626-L645
I think what we need is individual T1w/T2w image-to-combined T1w/T2w image transforms, which isn't really captured here.

fMRIPrep will write out orig-to-T1w transforms if there are multiple T1ws across sessions (not sure what happens where there are multiple T1ws in a single session), but it won't write them out if there's a single T1w, so we don't need to write out the identity transform.


Use s3-tests conformance suite

s3-tests provide a conformance test suite for S3 implementations.  gofakes3 could automate these tests via Travis as S3Proxy does.

Thanks for sharing this repo, it looks pretty good! Well, the whole CEPH project is of course a decent project ;-)
I'll setup Travis or a similar CI soon.

Update on this: I've not had any time to implement the whole s3-test suite! :-/


Mark Duplicates

Is it a right command to for duplicate removal- -mark_duplicate_reads

Yes
$ adam-submit transformAlignments \
  -mark_duplicate_reads \
  in.alignments.adam \
  out.alignments.adam

Got it
Thanks


setData() doesn't work correctly

Version
2.5.16
Reproduction link
https://github.com/Remeic/vue-highlighter/tree/tests
Steps to reproduce
Clone repository, checkout on tests branch and run yarn test
What is expected?
wrapper.setData() change data of App correctly and directive can update the highlighted word
What is actually happening?
setData doesn't update correctly the data and console print "Cannot read property 'split' of undefined", seems wrapper is not mounted, if i remove data from App.vue SFC error changes and it is "Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."

This should be reported to https://github.com/vuejs/vue-test-utils instead.


Service Worker Gateway is borked

I tried with Firefox and Chrome and both fail.

This needs to get automatically tested.

What's the update here?

Seems that the Service Worker is correctly getting installed on dev.ipfs.io, however, loading some of the example websites takes infinity, example:

https://dev.js.ipfs.io/ipfs/QmX7uKymLyHHdsVY9yXbj54AdKSaLuamXJHcXyWfKQ6fus
https://dev.js.ipfs.io/ipfs/QmfQiRPTxVTT31ecDMAcUgTSTDt2HdPHKTuDWnD7T689oi

Looking into it @daviddias

You can now use the service worker properly on js.ipfs.io as we shipped the new version. We are now looking into the time it takes to load the example websites.
//cc: @vasco-santos @daviddias

Regarding the reported speed issue, the first hash for Awesome IPFS is working properly for us. The second one, peer-pad takes infinity for us, as well. After an analysis, we are having a connectivity issue, as you can see in the following screenshot. From my local daemon, I can get the Awesome IPFS, but not peer-pad. Or we are lacking any bootstrap node that go-ipfs has, since using the public gateway in ipfs.io we can reach peer-pad, or peer-pad was not properly added to the preloader gateways, or we have an issue with js-ipfs.

@alanshaw @daviddias any idea? Meanwhile we should create a new issue for this, as it does not seem a problem with js.ipfs.io nor service-worker-gateway. @daviddias please just confirm that we are having the expected behavior for the service worker now in production.

Ok, so the problem is that the peer-pad hash is not correct 🤔
it shoud be:
➜  js-ipfs git:(feat/ipns-over-dht) ✗ dig +short txt _dnslink.peerpad.net
"dnslink=/ipfs/QmXRTzu4dUFnA1nLR7ogifE1EeY2hEsVyQNkZu4CzF6g2v"

We will update it

@vasco-santos it isn't the case that the PeerPad hash was incorrect, it means it got lost (unpinned) //cc @pgte @jimpick. Updating it will solve it for now, but we need to make sure we don't loose pins.

true! I meant that the hash there is not the most recent for peer-pad, but we still had an issue with it.

Hashes are updated now on js.ipfs.io. It solves our problem for now but we will manage to a definitive solution soon.

Service worker tests are now running on the pre-push hook. This is a temporary solution until we get ipfs/infrastructure#455 solved.

Preventive measures were taken: the tests are running on the pre-push hook. This is not the final solution as it makes a lot more sense having them running on the CI. I'll update the priority label to P3 - Low and I'll close this issue as soon as ipfs/infrastructure#455 gets solved.


Lab 4 Level 5: printing of updated roster after being added

Summary
Problem: I'm unsure about the correct method to print the updated roster after using the add() function. Currently, my code prints the entire roster instead of just the updated portion according to the test case. I attempted to address this by printing only the new update via a new roster, but this approach doesn't align with the test case requirements either. Do i create a new toString() method in the Roster class? I'm uncertain about the exact requirements of the question.
Code Snippets
input: jshell> roster.add("Natasha", "CS1231", "Test", "A-")
expected output: $.. ==> AY1920: {Natasha: {CS2040: {{Lab1: B}}, CS1231: {{Test: A-}}}}
my output: $.. ==> AY1920: {Natasha: {CS2040: {{Lab1: B}}, CS1231: {{Test: A-}}}, Tony: {CS1231: {{Test: A-}}}}
input: jshell> roster.add("Natasha", "CS2040", "Test", "A-")
expected output: $.. ==> AY1920: {Natasha: {CS2040: {{Lab1: B}, {Test: A-}}}}
my output $.. ==> AY1920: {Natasha: {CS2040: {{Lab1: B}, {Test: A-}}, CS1231: {{Test: A-}}}, Tony: {CS1231: {{Test: A-}}}}
thank you in advance!

i think you can define a new updated toString method in the roster class that overrides the one which u may have in KeyableMap, but you can still abstract out the similar parts and try to reuse the code as much as possible. Because based on the output seems like your roster is having double of the string? You can try not printing in the add method but rather print in initialising a new roster

you may be assigning the edited roster to the original roster

did you add Tony into the roster before doing this? As it seems like your code is working fine, just that Tony is in the roster as well. maybe you accidentally did roster = roster.put(Tony)

Agree with the others that it is likely you assigned the edited roster to the original roster in your code. Instead, this assignment is done by the client and not in the add method

I will work on the suggestions, thank you so much guys!


Inspector's array-editing fields do not respect type-hinted elements

Godot version:
master as of b5a20d2 (8/8/2018)
Issue description:
According to #3586, 3.0+ should allow users to export arrays of type-hinted data, however I am encountering problems with this.
export(Array, String, FILE) var test = ["res://icon.png"]
# Results in: (class_name:), (hint:23), (hint_string:4/13:), (name:test), (type:19), (usage:8199)
# So: hint is TYPE_STRING_ARRAY and the hint string is TYPE_STRING/PROPERTY_HINT_FILE

However, the Inspector does not reflect this in its portrayal of the data:

The individual element's type is fully editable (so I could set element 0 to be an int)
The Inspector creates a simple LineEdit for each entry rather than a button that opens a file dialog to change the value like it does for an individually exported export(String, FILE) property.

Steps to reproduce:
Use the code snippet above in a scene and print the results of get_property_list().

Will be fixed with #20363 is merged.


Expose token

Hi
Here's a pr to expose the token creation as well. It's needed in various API requests besides the redirect url.
I also added some type safety.

There are some formating-related unnecessary changes, but anything else are LGTM.
Thanks for your contribution!

Thanks! Yeah my editor was a bit too eager with the formatting.. I tried to revert those.


IDK BUT I GOT THIS

Microsoft PowerToys version
0.83.0
Installation method
Microsoft Store
Running as admin
None
Area(s) with issue?
General
Steps to reproduce
Version: <IP_ADDRESS>
OS Version: Microsoft Windows NT 10.0.22631.0
IntPtr Length: 8
x64: True
Date: 25/10/2024 11:52:40 AM
Exception:
System.Runtime.InteropServices.COMException (0x80263001): {Desktop composition is disabled} The operation could not be completed because desktop composition is disabled. (0x80263001)
at Standard.NativeMethods.DwmExtendFrameIntoClientArea(IntPtr hwnd, MARGINS& pMarInset)
at System.Windows.Shell.WindowChromeWorker._ExtendGlassFrame()
at System.Windows.Shell.WindowChromeWorker._UpdateFrameState(Boolean force)
at System.Windows.Shell.WindowChromeWorker._HandleDwmCompositionChanged(WM uMsg, IntPtr wParam, IntPtr lParam, Boolean& handled)2024-10-25.txt
at System.Windows.Shell.WindowChromeWorker._WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
✔ Expected Behavior
IDK BUT LIKE WORK NORMALLY
❌ Actual Behavior
AN ERROR
Other Software
No response

/dup #30507


Why not use dropbox-sdk version 1.2.0

Hi,
I have found that if you use dropbox-sdk v 1.1.x there is a weird error with openssl and the cert used by dropbox in some system. The error has been resolved in the version 1.2.x of dropbox-sdk, so why don't update the dependency.rb for allow this gem?

Done, Thanks! 37d95082cc807f8b14f2689926fe1f168d0c5677


Update org/cfstatic/CfStatic.cfc

Changes to make sure the server scope is not set until yui and less is instantiated.

I'm unsure of what this achieves. Is it to avoid multiple assignments to variables in the server scope? Is doing that a bad thing? I've no objection to the code in general, just curious to know the reasons behind it...

Main reason is, if the yui or less object instantiation errors out, in current code, your server scope is already set as an empty struct. So, next request will skip the instantiation and error out on next line.
In general I think it will be better to keep in application scope instead of server, specially considering people use it on shared server. Some other application can muck with the variable causing other application to error.

That makes a lot of sense. I'll pull it in. Good point re shared hosting too. It's put in the server scope to avoid memory leak issues with JavaLoader  and I think that should be the default place for it. There could be an option to cache it in scope of the CfStatic instance but I wouldn't want to cater for shared hosting by default (perhaps init arg of storeJavaLoadersInServerScope defaulted to true).

p.s. thanks for the contribution! really appreciated :)


Initial game database for trackball devices

This is ground foundation for future trackball support out of the box.
Note for the future: adjust trackball's sensitivity per game.

Note to myself :
NES uses the HORI TRAK
Mega Drive uses SEGA MOUSE (into "trackball mode")
Master System uses SPORTS PAD
Atari 5200 uses TRAK-BALL


Using Fast Image component instead of the default

How about using FastImage instead of normal Image component? I can give a pr if permitted.

How about using FastImage instead of normal Image component? I can give a pr if permitted.

Impossible

@art1373  I think it's a good idea, can I Fork you?


Fix(eos_cli_config_gen): Check that the ptp mode valid values are correct on some platform (especially transparent)

          Hmmm regarding the valid_values `transparent` for mode:

l3leaf1(config)#ptp mode ?
  boundary        Boundary Clock Mode
  disabled        Disable PTP and forward PTP messages normally
  e2etransparent  End-to-End Transparent Clock
  gptp            Generalized PTP Clock
  ordinarymaster  Ordinary Master Clock
  p2ptransparent  Peer-to-Peer Transparent Clock

@ClausHolbechArista maybe on another device (using CloudEOS here)
Originally posted by @gmuloc in https://github.com/aristanetworks/avd/pull/3666#discussion_r1504156794

checked even very old platforms and "transparent" is not a valid option.

Shall we replace transparent with all of these options in valid values?

Shall we replace transparent with all of these options in valid values?

In eos_cli_config_gen I would say yes. Thanks.


connection not being alive

everything was working fine, but a few days ago the connection began to steadily fall after a few minutes online in about 1-2 hours online, receiving and answering messages I get the message:
<stream: error> <system-shutdown> </ system-shutdown> </ stream: error>

how to best time for delay ?
Thread.Sleep(89000);
this.Instance.SendPing();

and

Thread.Sleep(90000);//49000
this.Instance.SendActive();

send ping every 1 minute or so


Minor UI tweaks

Hey,
this is a small list of minor graphic bugs/oddities that I've encountered with the version 3.2. Nothing critical, just stuff that I think would make the app better looking:

When the app is opened by default, the plugins tab is slightly larger than the window itself, and thus the horizontal scrollbar appears. I suppose that the window should be slightly larger, or the content itself should stop shrinking on smaller window widths (see 1st screenshot below).

"Custom" input field has black text on black background - unlike the rest of the sections, which have correctly white color on dark background (see 2nd screenshot below).
Disabled input field has changed background & text color, but disabled selector and disabled button has only changed text color. I think it would be less confusing if this would be united (see 2nd screenshot below) - so change the background on selector too.

Everything was encountered on Arch Linux laptop, 1920x1080px (no scaling), with KDE Plasma 5.26.2.

The bug with the window being smaller then the plugin widgets was there since the ui update, I didn't figure out how to fix that yet.
The colors are all (except the brave inputs) defined by the theme, nothing I can change.

If the coloring is a wontfix, than this would be resolved by #148

#148 is now released, so I will close this now


Sentry publish command generate a SSL error

Environment
How do you use Sentry?
sentry.io
Which SDK and version?

Laravel 8
PHP 7.4.19
Sentry SDK (2.10.1)
Laragon

Steps to Reproduce

Install Sentry SDK with composer
Run php artisan sentry:publish --dsn=xxxxxx
Sentry ask to Enable Performance Monitoring (yes)
Sentry ask to send a test event (yes)

Expected Result
Sentry SDK should send a test event
Actual Result
There was an error sending the event.
SDK: Failed to send the event to Sentry. Reason: "SSL peer certificate or SSH remote key was not OK for "https://oxxxxxx.ingest.sentry.io/api/xxxxxx/store/".".
Please check the error message from the SDK above for further hints about what went wrong.

With an image:

The problem might be related to the Let's Encrypt root certificate that expired and your machine not having an up-to-date enough OpenSSL version or still having the expired root in your certificate authority store.
For more information you can check out this forum post from Let's Encrypt that contains helpful links on how to resolve this for your environment: https://community.letsencrypt.org/t/production-chain-changes/150739/4.

Thank you, @stayallive, it works now!
I have updated my certificate from https://curl.se/docs/caextract.html.
Replacing the DSN with sentry.io also worked.


Update fb-checkpresence to 1.2.2

Please update my adapter ioBroker.fb-checkpresence to version 1.2.2.
This pull request was created by https://www.iobroker.dev c0726ff.

1.2.2 created 28.07.2023
340 User (5%)
OK