Web interface

Description
The new version of Briskhome web interface should be a significant step up from a current LAMP-based legacy UI.
It should be:

Modular and extensible. Custom Briskhome components should be able to render custom elements on any page, or create pages that are managed entirely by a specific custom component.
Modern. Use React as a view layer, Redux to manage the application state (and components' states) and GraphQL as data source and API.
Single-Page Application. No reloads. Period. With react-router.
Offline-capable. If the application is offline it still should be able to load and say something like 'Hey, while I'm not connected to the Briskhome network, here is the application state as of last run'.
Server-prerendered. Fetching most of the required information locally on the server and then pushing the prefilled page to client is way more efficient than asking the application to fetch all the data after loading itself on a client device.
Secure. There should be about 3 routes available:

/ Default route. Accepts only authorised users. Returns application. Hashbang navigation inside with react-router.
/welcome First-launch route. Allows unauthorised users. Deleted/deactivated after initial setup is complete.
/unauthenticated Invalid credentials route. Returns static I don't like you page.

Customisable (minor). Users should have the ability to rearrange panels / components the way they like it.

Target Flow

User installs custom component abc that provides webapp views.
User opens 'Components' webapp pane.
User opens abc's detail view in components pane.
The component's detail panel has options to add Custom view (AbcView) to any preexisting (or link to create new) page.
User selects a page and adds AbcView to it.

Resources
Here are some resources that may help during development:

Building Plugins for React Apps @ nylas.com (example code)
Building modular javascript applications in ES6 with React, Webpack and Babel @ medium.com (example code)
Lazy Loading - React @ webpack.js.org
React redux plugin POC @ github.com

MVP
To achieve a minimum viable product all of the following need to be checked:

[ ] Create core.graphql plugin
[ ] Create core.webapp plugin
[ ] Set up webpack
[ ] Set up react-apollo, redux and react-router
[ ] Create an application skeleton – navigation & content area
[ ] Create a Dashboard (index) page
[ ] Create a Users widget on a Dashboard page (see required functionality below)
[ ] Create a System Preferences page
[ ] Style all of the above to look somewhat modern
[ ] Commit, Push & Merge

Users widget
It should:

Display all registered users
Have support for displaying their status (the definition of status will be provided later)
Allow adding new users and guests
Allow editing users' and guests' information
Allow deleting users and guests
Allow changing priviliges – e.g. promoting guests to users and users to superusers

Currently only Users dashboard widget prevents this PR from being merged. I suppose I will have time this week to complete it.


#89

@OldFaggotGeek commented on Sat Apr 25 2020
https://github.com/MicrosoftDocs/cpp-docs.ru-ru/issues/89 - closed by writing a template "unsubscribe", but the description of the first example is still nonsense!

Сведения о документе
⚠ Не вносите правки в этот раздел. Это необходимо для связывания страницы сайта docs.microsoft.com с вопросом на GitHub.

ID: a000dbf7-4ebd-8227-41c8-343c8f8a3af5
Version Independent ID: 38e5a6ab-69ef-8f16-a828-c0f01e297393
Content: Оператор switch (C)
Content Source: docs/c-language/switch-statement-c.md
Product: visual-cpp
Technology: cpp-c-language
GitHub Login: @corob-msft
Microsoft Alias: corob

@srvbpigh commented on Sat Apr 25 2020
Hello, @OldFaggotGeek
Thank you for your feedback.
We are actively reviewing your comments and will get back to you soon.
Kind regards,
Microsoft DOCS International Team

@CeciAc
I made an update to the article, which should be translated now. I know some words and formatting are fixed. Unfortunately, I don't know more than three or four phrases in Russian, so I can't tell if the article makes sense. Can you get a confirmation before I close this issue?

Closing as part of backlog grooming. We have accrued more issues than our resources can manage.
Criteria for closing include severity of the issue, how broadly applicable it is, whether the issue enough information is provide to act on the issue, how old it is, etc.
If you think this issue should not have been closed, reopen it with a comment explaining why.


mathching all paths

Trying to match all paths, none of the below seems to work, am I missing something in the docs?
get "" do |ctx|
end

get "*" do |ctx|
end

get "/*" do |ctx|
end

This is undocumented.
You can do something like
get "/**" do |ctx|
end

Also this should work I guess:
get "/*path" do |ctx|
end

You also can read radix tree algorithm to understand how route matching works in Kemal.

Thanks for the help on this, however both of those options (and "/*") seem to match everything but the root url "/".

Unfortunately that's a shortcoming of Radix. Closing as of now.

workaround for multiple/all routes:
["/", "/*", "/**"].each do |route|
  get route do |env|
    "response here"
  end
end

Obviously this could be done with anything:
["/", "/home", "/index"].each do |route|
  get route do |env|
    "Welcome home."
  end
end

@samueleaton thanks...
Maybe kemal could be updated to accept an array for the route parameter...?
ie.
get ["/","/*"] do |env|
  "Welcome home."
end

I've already written the code to add this feature, i can do a PR if its fine with @sdogruyol
Although my workaround doesn't seem that difficult to do, but it would be a nice-to-have.


5454082B - Red Dead Redemption GOTY

Validation

[X] I've read the FAQ.
[X] The Xenia build used is from a canary branch. (not MLBS/AlexVS/master/pull requests, etc)
[X] This issue isn't for help (tech support) with Xenia, or a game.
[X] I've checked if this game doesn't already have a compatibility report.

Xbox 360 Marketplace link
https://marketplace.xbox.com/en-US/product/Red-Dead-Redemption/66acd000-77fe-1000-9115-d8025454082b
Xenia version
https://github.com/xenia-canary/xenia-canary/commit/3876a1632ac8355fde37808d604e2050d8864f72
Issues
(Apologies if I am doing something wrong and wasting your time as I do appreciate the work you guys are putting into Xenia, first time reporting an issue on here as well but I did my best to follow the formatting as best I could)
I am running the game of the year edition off of an ISO file for each disc and the gameplay itself appears to work just fine but whenever I pause and select the main menu option the game give me an unhandled exception pop up before closing the emulator and game.
I did deviate from the standard set up of the xenia-canary.config.toml files with the following changes:

apu_max_queued_frames = 16
postprocess_ffx_cas_additional_sharpness = 0.5
postprocess_scaling_and_sharpening = "fsr"
vsync = false

I also ran it with the default set up and while the unhandled exception window did not pop up the game did still freeze and become non-responsive.
Log
xenia.log
xenia default config.log
Screenshots

Labels
state-gameplay

Hello, I've been trying to get the game to work and it keeps having these bright broken textures, using rov in render_target_path_d3d12 fixes it, but the performance is severely hindered, and changing "gpu" to vulkan also does the trick, but then everything related to the map/mini-map breaks, what can I do to fix this problem? I'm on an Nvidia Gtx 1650 with Studio Driver 551.23; both canary and the stable release return the problem, the log is attached, thank you in advance!

xenia.log

@Margen67 can you close this issue as this is already open? https://github.com/xenia-canary/game-compatibility/issues/129


Android build crashes on already present dependencyResolutionManagement

Hi Team,
I already have a dependencyResolutionManagement added to my project. This is needed by a different dependency as follows:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
repositories {
google()
mavenCentral()
}
versionCatalogs {
create("moengage") {
from("com.moengage:android-dependency-catalog:3.2.1")
}
}
}
If i comment out "repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)" from the above, I am able to build the project but my app crashes on launch.
RN version: "react-native": "^0.73.10"
dependency x:  "react-native-moengage": "^9.1.0",

@SrinjoyBarman , I'm not sure how this library is involved in this issue. I'm going to close this ticket until you make that more clear.


issue in auto scroll feature added in RC3

Short description of the problem:
In RC3 version, screen automatically gets scrolled when we are changing the focus from one field to the another.  it might be nice for longer forms, but I have only two fields (Login and Registration) when I focus to password field, user Id field is scrolled up and only the password field is visible. Before it was working fine. PFB the screen print
What behavior are you expecting?
No need to scroll for smaller forms or Ionic can scroll such that the focus text box can be little above the keypad.
Steps to reproduce:
can run any form and test it on android device
<form [formGroup]="loginForm" (ngSubmit)="signIn()">
                <ion-list class="login-data">
                    <ion-item [class.error]="!userId.valid && userId.touched">
                        <ion-label fixed icon-only>
                            <ion-icon name="person"></ion-icon>
                        </ion-label>
                        <!--<ion-label floating>Username</ion-label>-->
                        <ion-input type="text" placeholder="Username" formControlName="userId" value="ab"></ion-input>
                    </ion-item>

                    <ion-item [class.error]="!password.valid && password.touched">
                        <ion-label fixed icon-only>
                            <ion-icon name="lock"></ion-icon>
                        </ion-label>
                        <!--<ion-label floating>Password</ion-label>-->
                        <ion-input type=password placeholder="Password" formControlName="password"
                                   value="abd12"></ion-input>
                    </ion-item>
                </ion-list>
            </form>

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
https://forum.ionicframework.com/t/ion-input-auto-scrolls-on-focus-in-rc3/70571
screenshot_2016-11-18-14-47-46
Which Ionic Version? 2.0.0-rc.3
Run ionic info from terminal/cmd prompt: (paste output below)
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
OS: Windows 7 SP1
Node Version: v6.7.0

I am facing the same issue in RC3. Is there any way to stop the auto scrolling of ion-input.

I think ion-input should have an option to disable auto scroll
Something like that:
<ion-input no-auto-scroll></ion-input>

Scrolling under the header should be fixed from what's in master. We'll keep this open and keep testing it, thanks. cc @jgw96

@adamdbradley my form contain username and password field but the password goes way too up below the header , are you referencing the same issue.
steps to reproduce

click on username -keyboard will show up
click on password - pass will go up to the header.

Hello @jtushar53 would you mind trying the latest nightly (npm install ionic-angular@nightly --save) and seeing if that fixes the issue for you? Thanks!

hi @jgw96 , yes working perfect on chrome desktop dev tools but different behaviour on dev tools and device
current behaviour on 2.0.0-rc.3-201611302233 on chrome dev tools

click on first field (Username) - page scrolls up
click on second field (Password) - page doesn't scroll and justifies above keyboard.

current behaviour on 2.0.0-rc.3-201611302233 on device

click on first field (Username) - page scrolls up
click on second field (Password) - page scroll gently which is also not close from header

Hello @jtushar53 ! Unfortunately I cannot reproduce this issue. Could you post a screenshot of the issue you are seeing?

Hey @jtushar53 ! Thanks for opening an issue with us! We just released RC4 today, would you mind updating and trying that?

hi @jgw96 in RC4 also we are facing the same issue, I updated my App to RC4 and I am able to the same problem, on focus of text fields, they automatically scrolling up and give very poor look and feel.
Please find below the screen print
screen print 1
screen print 2
screen print 3
Ionic Info:
 ordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.4
Ionic CLI Version: 2.1.18
Ionic App Lib Version: 2.1.9
Ionic App Scripts Version: 0.0.47
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 7
Node Version: v6.7.0
Xcode version: Not installed

Hi!, I'm facing the same issue on RC5.
Ionic Info:
 ordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.5
Ionic CLI Version: 2.1.18
Ionic App Lib Version: 2.1.9
Ionic App Scripts Version: 1.0.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 8.1
Node Version: v6.9.4
Xcode version: Not installed

one solution that worked for me is to add  below lines of code in app.module.ts. But i am not sure that this is the proper solution as there is no documentation found on this.
imports: [
    IonicModule.forRoot(MyApp, {
      scrollAssist: false
    })
  ],

Facing the same issue, scrollAssist: false did help

Hello all! So scrollAssist is on by default to help with issues around inputs being hidden and not popping into the view until you start typing. We are constantly working on making this better, in fact 2.0 stable that was released today has a fix related to this. If you prefer the older behavior of inputs behind hidden and then popping into view when you start typing you can set scrollAssist to false as @AishApp mentioned above. Thanks for using Ionic!


Make it possible to link to a given home screen panel

This change makes it possible to link to given panel by its identifier.
To for example go straight to the language settings one could navigate to:
http://<IP_ADDRESS>:3333/#lang-settings

What about the next level of tabs in 'Create project'?

@elebitzero I'm not sure, it gets tricky especially if one would like to deal with things like focus management (which I would like to follow up with).


Incorrect access_token for v7.2 SDK

Hi,
We are integrating v7.2 Javascript file picker SDK into our app. However, when opening the file picker, the outh call made to get the access_token is returning a non-LWT format access token which contains equals (=) sign in it. Because of this, the file picker doesn't open up at all. Can you please let me know why the callback URL is returning an additional equals. Here is the oauth call I am seeing being made from the SDK
https://login.live.com/oauth20_authorize.srf?client_id=3cdcad16-b7d9-4776-bd10-478950d7e9c5&scope=profile openid https://graph.microsoft.com/User.Read https://graph.microsoft.com/Files.ReadWrite.All&redirect_uri=http://localhost:9080/community/home&response_type=token id_token&state=http://localhost:9080_80gyX&response_mode=fragment&nonce=BT2Qm&uaid=40c512b7234e43118f22ec1051b57c4c&msproxy=1&issuer=mso&tenant=common&ui_locales=en-US&swu=1&contextid=08CEFB9494633747&mkt=EN-US&lc=1033&bk=1531866668
Callback URL with access_token is http://localhost:9080/community/home#access_token=EwCAA8l6BAAURSN/FHlDW5xN74t6GzbtsBBeBUYAASva5GioVokg22TeMF7F+eS+nzug/zW5d/31WQU7+FUKNev65MuEU2bd++cWnySiz2SxELV1H1azqTkLkWta7I2DMkL8l6Mf65gDIBcAiMFBBf9XYbfjE1G6tFflQaDrkczCHHNfXu5yk6kpr7UVgxXZrw3VL9ETC+6+T/H2ab5rEqPeICZC0VGPMpuAr8qosWkrrjrPVJT8kjcEoZnkhR1++SlcbI6F26snUFI7KIwdRcdC+1A1Bm7bAISuvtCHnu9A+qlsctCzF9iYfjcQgl/Ygsg+DMipxcDw44djOFxmwwfeJFtfh5LLkETq+lqYPzp5hzD5AT+jdJWEJKv+6J4DZgAACKM7LAdKmu8CUAJotT2ePXCJVLdxMcuZkxfnG6NbYwjD+7Aqqs4rgP9Lxqr5RBIFl2J1s2y8dbw7jybPhlSH6KxTvlGO608VDyOq01VgHiHyob0Iass2rhA8CJG0mHVAkJWHU/J/+PS53cd4taQcLVQ7HXACmvtfcT4QfxQNCUP9cGUsS7ZxiySHp1KlqEp6cDJPh9Y2k6OTomGpDTYrbB8lEZYuDkNNirdjyg2nacKSUat/h7Im83uyvJbttLRMpoWIQB4mH6E/T+wgJg8VouXn/ELAWFkS35p3IbOKCrZwPiEFPdHeKwOSQYtrCvH8Vuq3FzIFyxIYorfpYF4KEulhNscj9zZjNL45wmnG5Km7eeT4tuI0uCR9X+1RwXsJTz+Phu/3iPUxvzu5MXOLdGARL9nv0yTxZPNlcZwz6vlEzFe01UgtEZoLYRREncAiZ+ExcUMU9su8chXoGbzc5Xt7HszlG3T5kHj5A4Zfxa8qHW8Njc8Ygi+PLYLb5F/+PUIyZJStCt2eiRihQITI+dz3cs3O5pD0Py8dGMn4HpMwb9c1oTLmZGrrJNnh2vTR70fa5117oIl3Cmr8BB6xfcqLeIgVJFlD4XOd0+XgnHuKAnBwDOBGW5Za3ahKqh/BT/dKuUwrcdnKc/Oh+Ea+VUCi/PzBqWuNUqrezb0CqDQOHmLOsyzl46DNTppKYXjJ7v2TrkPbsqC6aIA9NeVbGPUnVdvAHy5xie2X/G3Hu/seggTNB/koertOVXeEWPKywf8wzxq3RsuzX575KSIQDDEXVWtqNDrhEkcPkAI=&token_type=bearer&expires_in=3600&scope=profile openid https://graph.microsoft.com/User.Read https://graph.microsoft.com/Files.ReadWrite.All https://graph.microsoft.com/Files.Read.All https://graph.microsoft.com/Files.ReadWrite&id_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjFMVE16YWtpaGlSbGFfOHoyQkVKVlhlV01xbyJ9.eyJ2ZXIiOiIyLjAiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vOTE4ODA0MGQtNmM2Ny00YzViLWIxMTItMzZhMzA0YjY2ZGFkL3YyLjAiLCJzdWIiOiJBQUFBQUFBQUFBQUFBQUFBQUFBQUFPNUhVRVp2bFBuUGhBLXVpTkdUamNBIiwiYXVkIjoiM2NkY2FkMTYtYjdkOS00Nzc2LWJkMTAtNDc4OTUwZDdlOWM1IiwiZXhwIjoxNTMxOTUzMDcyLCJpYXQiOjE1MzE4NjYzNzIsIm5iZiI6MTUzMTg2NjM3MiwibmFtZSI6IlByYWRlZXAgS3VtYXIiLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJwcmFkZWVwLnNoYXN0cnk4NUBnbWFpbC5jb20iLCJvaWQiOiIwMDAwMDAwMC0wMDAwLTAwMDAtMjlhOC0yZDA4MDZjNjk0NTQiLCJ0aWQiOiI5MTg4MDQwZC02YzY3LTRjNWItYjExMi0zNmEzMDRiNjZkYWQiLCJhdF9oYXNoIjoiMDZNT0lRU3dDM2cxMFNlLS1uNjViQSIsIm5vbmNlIjoiQlQyUW0iLCJhaW8iOiJEUmlwc0lTMktmWW51bHp2VGFSVHNFZncwTDdTUWVWYlFycjhuMHZ0cW9SOHk3NEt4djdaSzRLTVJCSm90aEJEVnplQzBadExFdXFZa0VwTXVlaFgwdUZ3cGQ0MDdJRVdmNG9MaXFpd3pnSFAifQ.Abtmpo8hQAka_u1XS4HtfNhjFMJ9bJOZF4Z8GTGZL1m6JRZ0RwHAZHMAztLL-o5nxZdLDZMXGmQE9rQIKt0T4Qmvhtwd5BMCEjb_bN75HRk1mmesHD2WN56Ft5oXLUjtVVDt7fwMymuyJ5K6OXhBVadwlESa_kNunvTDV7mx4mRtXruAMG9vk4P4vpLWOnbkhA5vJFa6muPUAFMvb1j-ezjXsLVRwz4XBeOaEvgZmCG4agDd1hIhoE1vkz1tjg2BmkWFW3Vt276_H47PzT-CKOqdJQ777TYDH_dnChPy2jnvWdaoloo7eVX_pbmX98pFu59uaTdKjCcjnIZr5f8qfg&state=http://localhost:9080_80gyX
Please note that we will see an additional = in the access_token
Quick response is highly appreciated.

Hi,
Would appreciate a quick response on this as we have a release and we are running out of time to fix this. Any leads is highly appreciated.

I believe the tokens returned by login.live.com are straight base64 encoded, in which case the trailing = is standard base64 padding and is valid. Unfortunately I'm not familiar enough with the picker to take a guess at why it would not accept such a token.

This is really frustrating to see no help at all from Microsoft. We have been struggling with this simple integration and are getting no support at all with the SDK. We have a release and this feature is blocking us from a smooth release. Can somebody please help us out here. There really isn't anything we can do to solve this from our end

It looks like a bug in the query string parsing - it should not be using split on =, but rather a combination of indexOf and substr.

Thanks @ificator . But is there a reason why the access_token has and = in it? This works fine sometimes in our app and works always fine in my POC (https://pradeepshastry.github.io/onedrive/app/index.html) . I don't see any difference in the app portal configurations either. Here are the configurations we have in the app portal

Platform - Web
Allow Implicit Flow - Checked
Redirect URLs - Home page URL
Microsoft Graph Permissions

Delegated Permissions

Files.Read.All
Files.ReadWrite.All
openId
User.Read

Home Page URl - Same as redirect URL
Live SDK support - Checked

Also, when can we expect a fix for the query string parsing fix?
Highly appreciate your time and response.

Thanks for the report and helpful debug info @pradeepshastry & @ificator. I'm confirming that the = splitting is the issue (it looks to be) and fixing the function. Apologies for the delay, I just returned from leave. Will report back shortly.

I've confirmed that the = splitting logic is faulty with the Base64 tokens (thanks again for the tip)... something closer to the below function should address the issue:
function deserializeParameters(query, queryParameters) {
    const properties = query.split("&");

    for (let i = 0; i < properties.length; i++) {
        const qp = properties[i];
        const idx = qp.indexOf('=');

        const key = qp.substr(0, idx);
        const value = qp.substr(idx + 1);

        queryParameters[key] = decodeURIComponent(value);
    }
}

Will engage folks in getting a patch published. Will follow-up once I hear back.

Follow-up: I have a fix in PR and am working to get it approved. Once approved, will follow the steps to publish a new version and will provide the URL here tho its likely to be 7.3.

Thanks @KevinTCoughlin for working on fixing this. Do we have a timeline when this will be fixed as we have a dependency on this for our release and your inputs will help us plan it better.

Earliest is next week. I'm trying to get proper access to unblock a build that's gating my fix. Once that's done will raise the changes to publish, get sign-off, and publish. Sorry for the delay, but I recently inherited this so there are some growing pains.

I've got the build passing. I'm going to verify locally and then raise a PR to publish a new version of File Picker.

Publish PRs are raised, hoping to have this on the CDN tomorrow if not Thursday.

@pradeepshastry have you seen an issue similar to #900 recently?

@KevinTCoughlin Nope, I haven't came across this issue.

The library fix is merged, but given the cache headers expire in 24hr on Friday we've decided to deploy first thing Monday morning PST in-case of regression. I will follow-up once the deployment is complete on Monday. It also gives us time to see what is going on with non-blocking #900.

Thanks for the update and quick fix @KevinTCoughlin .

@KevinTCoughlin Do we have the fix deployed. I checked it this morning and I still don't see it

@pradeepshastry deployment finished this morning, can you try the updated scripts?
<script type="text/javascript" src="https://js.live.net/v7.2/OneDrive.debug.js"></script>
Or
<script type="text/javascript" src="https://js.live.net/v7.2/OneDrive.js"></script>

Thanks @KevinTCoughlin I am able to see the fix and it is working fine. Thanks a lot for your support. Will let you know if we see any other issues.


Implement struct defaults

Ebert has finished reviewing this Pull Request and has found:

1 fixed issue! 🎉

You can see more details about this review at https://ebertapp.io/github/pinterest/elixir-thrift/pulls/154.


[Addition]: 15297 HS in selfwitnessing only clusters (CN)

Hotspot b58 Addresses
As this list will certainly hit the boudaries of 64k a seperate csv file is attached to this issue with all 15297 b58 addresses in it.
CN-b58-list-complete.csv
Discord Handle
No response
Reason(s)
Hereby a number of HS clusters which are ony witnessing themselfes. They also all have the same properties within each cluster (same brand, height, antenna dbi, IP range). All locations are clearly spoofed (some are inserted in an impossible area), and every cluster itself appeared in the same time span. Below are some examples of such clusters.
CN-b58-list-complete.csv

A few of the rssi/snr charts looks normal to me. but just mean they are getting more sophisticated.

There are so many innocent hotspots in your list.
Below is just one sample from your report
Please check this one: 11PCnwNSAPKrfTAceSuqtodGB5p5EeYZmUuAHcm5kv9WgMQqKdm with IP: <IP_ADDRESS>
What's your reason? You just search it by similar "IP range"? IP is not the reason, VPN is also not the reason.
If you want to report, please check one by one, don't inlcude so many innocent hotspots.
We are against Gamers, We ARE AGAINST ABUSING denylist more!
Hopefully Helium team or community could review these hotspot carefully. There are so many innocent hotspot inside, IP Address or VPN is NOT the reason!

@Reachmyemail I do not see the hotspot 11PCnwNSAPKrfTAceSuqtodGB5p5EeYZmUuAHcm5kv9WgMQqKdm in the list for this issue.


Session property for setting source tasks count to be used while plan…

…ning

@findepi ping

@rohangarg could you describe the use case more?

could you describe the use case more?
@sopel39 : While debugging query plans post their execution, I've seen that the plans change depending on the number of nodes in the cluster (join-distribution type's cost is dependent on the number of running nodes in the cluster).
So, it becomes hard to scale the cluster to the same size as it was during the execution of the query (incase the cluster sizes dynamically) for the exact query plan.
Further, local debugging of such query plans is also hard without the ability to specify/mock the number of running nodes.

@sopel39 ping

@sopel39 : I have addressed the review comments.

This change is reasonable, but I think we need a better name than node_count_for_stats_override for the property. For one, it's not about "stats", it's about cost estimates. Also, I'm not sure I like the for and override in the name. Maybe something like cost_estimate_node_count.

node_count_cost_estimate sounds natural as “node count” is the adjective for “cost estimate”.

I think that’s more confusing. It reads like “the cost estimate for node count”, while the actual meaning is “the node count used to the cost estimate”.

@martint @electrum : Does something like worker_count_for_cost_estimation sound unambiguous? I agree that it contains for as a conjunction but it makes the property clearer imo. We can also use cost_estimation_worker_count count if that seems reasonable.

cost_estimation_worker_count seems reasonable to me.

@martint : I have updated the changes with the new config name.


adds support for mongo paginate pipelines

Had some problems implementing the tests. Perhaps you could give me some instructions here.

Had some problems implementing the tests. Perhaps you could give me some instructions here.

I haven't looked into this in detail (@uriyyo please correct me if I am wrong), but I believe with the current test setup, instead of including both in the same file, you would need to create a separate one and include the tests for the aggregate there, eg. test_motor_aggregate.py.
You can try to run it locally and see if it works:
docker run -p 27017:27017 --name mongo -d mongo:5.0.3
poetry run pytest tests/ext/test_motor_aggregate.py --cov-report=xml --ignore=tests/ext/test_async_sqlalchemy.py --ignore=tests/ext/test_sqlalchemy_future.py --ignore=tests/ext/test_sqlmodel.py
You can also run the whole test workflow with act, the test cases pass, only the Codecov upload will fail.

@zsltg Thanks, for the detailed explanation.
@markbaas Please, follow Zsolt instruction.

@markbaas Do you have plans to update this PR?

@markbaas Do you have plans to update this PR?

sorry done!


fix: upgrade to version 3.1.9

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign rawlingsj
You can assign the PR to them by writing /assign @rawlingsj in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

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

@jenkins-x-bot-test: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

kube
cefcec67360509425f67b6b508aef2379abb13ef
link
/test kube

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

/retest

@jenkins-x-bot-test: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gsm
cefcec67360509425f67b6b508aef2379abb13ef
link
/test gsm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gsm
cefcec67360509425f67b6b508aef2379abb13ef
link
/test gsm

kube
cefcec67360509425f67b6b508aef2379abb13ef
link
/test kube

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gsm
cefcec67360509425f67b6b508aef2379abb13ef
link
/test gsm

kube
cefcec67360509425f67b6b508aef2379abb13ef
link
/test kube

vault
cefcec67360509425f67b6b508aef2379abb13ef
link
/test vault

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.


Investigate/azdevify CSU app templates

https://github.com/azure-samples/app-templates-integration-services is azdevified.


feat: Add button to clear products for test and development environment

Description
Adding a button to clear up all products for the test/development environment
Testing instructions
A new button/link will appear to delete all products.

Could we use a warning button instead https://design-system.service.gov.uk/components/button/?


Sensor Library - TMP006

Test Script Author: Angus Wu @AngusWu25
Current Hardware Owner: Rosalie Pampolina @rosalie1612
Final Review: Urmil Modi @urmilmodi

Author reviews library contents
Jayden Lefebvre writes Arduino test script using library
Current owner tests library implementation on hardware, documents results

Comment on this PR if you have any questions

Regarding the comment in TMP006.cpp line 11 "//TODO is tmp006.wake()", the sensor library's init function already wakes the sensor. So unless the sensor is instructed to head into sleep mode during operation, there is no need to implement the wake function.

@AngusWu25 Thanks for the clarification!

The TMP006 sensor works as expected and it outputs the current temperature as shown in the attached image.

@urmilmodi Awaiting your review


Citation may not need to use protocol "cite:"

Is it an issue related to Adaptive Cards?
No
Is this an accessibility issue?
No
What version of Web Chat are you using?
Development build
Which distribution are you using Web Chat from?
Bundle (webchat.js)
Which hosting environment does this issue primarily affect?
Others or unrelated
Which browsers and platforms do the issue happened?
Others or unrelated
Which area does this issue affect?
Chat history
What is the public URL for the website?
No response
Please describe the bug
Today, citations must be a IRI using protocol cite:. This restriction should be lifted.
Instead, a citation should only be a Schema.org Claim in the entities array, with an @id for an IRI.
Do you see any errors in console log?
No response
How to reproduce the issue?

Handcraft an activity with a citation using protocol abc:
Start conversation
Click on the citation

What do you expect?
The citation modal dialog show show.
What actually happened?
The citation modal dialog is not shown.
Do you have any screenshots or recordings to repro the issue?
No response
Adaptive Card JSON
No response
Additional context
No response

We probably need to lockdown on a specific protocol prefix because browser could use other protocols to launch native apps.

what should be the JSON structure into turn_context.send_activity to activate pop up modal citation?


New feature: mix local and remote stubs in the stub runner?

Currently when want to change a stub locally and test the dependency works in the consumer we need to do the following:
1) amend the stub - let's say stub1.
2) In the consumer change the stub runner from remote to local
@AutoConfigureStubRunner(repositoryRoot = StubRunnerRepositoryRoot.URL, stubsMode = StubsMode.REMOTE,
    ids = {"stub1:+:stubs", "stub2:+:stubs", "stub3:+:stubs"})

to
@AutoConfigureStubRunner(repositoryRoot = StubRunnerRepositoryRoot.URL, stubsMode = StubsMode.LOCAL,
    ids = {"stub1:+:stubs", "stub2:+:stubs", "stub3:+:stubs"})

3) update and compile all other related dependencies stub2 and stub3.
My feature request:  is it possible to mix remote and local so I can pull in my local stub1 but download stub2 and stub3 remotely saving time?

Theoretically you could use an annotation for the remote and a junit rule for local stubs (or vice versa) in the same test

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.


WIP: Create interactive-message-buttons.rst

@ccbrown I mentioned you in a few places in the doc where it would be good to get your review/help with.
Also, if there's any additional info you think would be useful for a developer creating an integration with buttons, let me know.

@ccbrown Updated, let me know how that looks?


Adding demo dockerfile based on UbuntuGIS packages.

Supersedes #8

Thanks for the contribution. We can probably plan to have the docker image built using the same kind of GitHub Action than the one used for testing the ZOO-Project setup and publish the binary image on DockerHub.


ci: upload a merged coverage report to codecov

Issue or need
Currently if you check Codecov status on main and just the unit test coverage report has been uploaded, the status will be reported as if other coverage reports aren't to come. This also means the coverage status badge may report a lower coverage than the actual one if that scenario is in place.

Proposed changes
Merge all coverage reports as part of CI/CD. Then just upload one to Codecov. This way coverage updates will be atomic
Also adds that new job as a required status check to pass in order to merge to main branch in GitHub configuration of this repository

Quick reminders

🤝 I will follow Code of Conduct
✅ No existing pull request already does almost same changes
👁 Contributing docs are something I've taken a look at
📝 Commit messages convention has been followed
💬 TSDoc comments have been added or updated indicating API visibility if API surface has changed.
🧪 Tests have been added if needed. For instance, if adding new features or fixing a bug. Or removed if removing features.
⚙ API Report has been updated if API surface is altered.

#729  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @davidlj95 and the rest of your teammates on  Graphite

Seems we've actually discovered that somehow this way the coverage reporting is more exact. As coverage has dropped. So before some code branches were marked as covered when they weren't


[FEATURE]: Migrate to Gazebo Garden for simulation

Feature Type
Changing existing functionality in the Alpha driver
Problem Description
The current implementation uses the old version of Gazebo. While this is fine and works well for the system, it becomes challenging to integrate the existing implementation into a system which depends on at least Gazebo Garden (namely ardupilot_gazebo).
Feature Description
Migrate from the current version of Gazebo to Gazebo Garden. This will require manual installation of roz_gz; however, previous work has done this without any issues (see here).
Alternative Solutions
No response
Additional Context
No response

Unfortunately this won't be possible as gazebo_ros2_contro is intended only for classic Gazebo. I am considering removing Gazebo as a dependency here as support for it is pretty sparse at the moment and is mostly broken (see #12).

Unfortunately this won't be possible as gazebo_ros2_contro is intended only for classic Gazebo. I am considering removing Gazebo as a dependency here as support for it is pretty sparse at the moment and is mostly broken (see #12).

I was wrong about this not being available for Gazebo Ignition, but regardless, support for Gazebo at the time was minimal and needs full attention prior to being integrated into the project


[Sandbox - Faucet] Button to enable PoX for 12 cycles in testnet

Is your feature request related to a problem? Please describe.
I would like to test stacking on testnet
Describe the solution you'd like
If proof of burn is active there should be a button on the faucet page that triggers a transaction signed by a faucet address. The transaction stacks sufficient stacks for 12 cycles such that PoX is active for the next cycle after the tx was confirmed.
Describe alternatives you've considered
Run devnet/local testnet.
Additional context
See discussion here: https://discord.com/channels/621759717756370964/691807526118883418/864929318919733262

I have a similar issue. Been trying to stack on a local private testnet (through ./manage.sh private-testnet up from stacks-local-dev repo).
I stack 55M. Total liquid supply on my private testnet is 1.5B (which means I am stacking >1%).
This is what /v2/pox returns:
{"contract_id":"ST000000000000000000002AMW42H.pox","pox_activation_threshold_ustx":15082676063198,"first_burnchain_block_height":0,"prepare_phase_block_length":1,"reward_phase_block_length":4,"reward_slots":8,"rejection_fraction":3333333333333333,"total_liquid_supply_ustx":1508267606319817,"current_cycle":{"id":490,"min_threshold_ustx":47140000000000,"stacked_ustx":55479999000000,"is_pox_active":false},"next_cycle":{"id":491,"min_threshold_ustx":47140000000000,"min_increment_ustx":3142224179832,"stacked_ustx":55479999000000,"prepare_phase_start_block_height":2454,"blocks_until_prepare_phase":3,"reward_phase_start_block_height":2455,"blocks_until_reward_phase":4,"ustx_until_pox_rejection":14186730892300068534},"min_amount_ustx":47140000000000,"prepare_cycle_length":1,"reward_cycle_id":490,"reward_cycle_length":5,"rejection_votes_left_required":14186730892300068534,"next_reward_cycle_in":4}

If proof of burn is active there should be a button on the faucet page that triggers a transaction signed by a faucet address. The transaction stacks sufficient stacks for 12 cycles such that PoX is active for the next cycle after the tx was confirmed.

This is more a request for stacks-blockchain-api I think, as the keys are all contained in that. The explorer could have a button, but it would simply call that function from the api.

For participation below 25%, there is a fixed price per reward slot.
The price per block on regtest is 25% / 8 = 3.125% that is 128M STX per slot.
On testnet, one slot price for participation below 25% is 5,13M STX. However, the 1% threshold to activate pox is 41,010.02m STX.

Quick follow up here that PoX should get activated on testnet with the next cycle (63). Hiro is also working on a more durable solution internally to ensure PoX remains active on testnet. I'm going to close out this issue for now, thanks!


Issue configuring environment

Hi,
I am facing issues while configuring the environment using the project settings. I have a requirements file with the required packages for the project. Even though its being configured properly, the behavior while importing the package in the notebook's script is inconsistent. This method is working for one of my projects and not for the other.
Getting a "ModuleNotFoundError" error.
Thanks,
Waleed

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

ID: 9d489aee-cc0e-e0a2-1fc5-d1cc373a2a51
Version Independent ID: 2c35136b-1bde-44a0-f901-4cf9845409c8
Content: Configure and manage Azure Notebook projects
Content Source: articles/notebooks/configure-manage-azure-notebooks-projects.md
Service: azure-notebooks
GitHub Login: @kraigb
Microsoft Alias: kraigb

@walsehgal, Thank you for sharing the query. We are looking into this and will get back to you soon on this thread.

@walsehgal Yes, please file an issue on https://github.com/Microsoft/AzureNotebooks/issues as this doesn't seem like a doc issue. Once you've filed an issue there, please close this one.

@RohitMungi-MSFT , @souravmishra-msft  thanks. Opened a new issue here https://github.com/microsoft/AzureNotebooks/issues/755. Closing this one now.


Compatibility issue with Plan (Jobs 4.10.3)

https://pastebin.com/YK1Zg8QK
Plan-4.7.0-SNAPSHOT-b2.jar
Jobs4.10.3.jar
There were no issues with jobs4.10.1

I don't think the software called Plan supports Bukkit plugins. There is no right way for this error in Jobs to fix it.

https://www.spigotmc.org/resources/plan-player-analytics.32536/
It IS a Spigot/Bukkit plugin that I have used without issue on my server for the better part of a year. This issue only affects the latest version of Jobs

Ok, but there is no proper path for the Jobs code in this error.

That is the full error.
Previous versions of Jobs work with the current version of Plan. This error only shows when using the current version of Jobs.

I have examined the code and the error is caused by a recent commit that changes how JobsManager is returned by Jobs#getDBManager https://github.com/Zrips/Jobs/blame/master/src/main/java/com/gamingmesh/jobs/Jobs.java#L285
If JobsManager is initialized in the getter, JobsDAO returned by it will be null, leading to this exception.

Confirmed fixed in 417b6f7

Yea, just a class registering problem was. Did I release a dev version, that you can download and test it?

I cloned the latest commit from master and ran mvn package to get the latest version


appVersion not visible on Bugsnag dashboard with iOS

Description
When creating configuration for bugsnag crash reporter and adding appVersion for configuration, it appears that it won't show up with the crash to the dashboard. This is happening only when crash is on iOS
const configuration = new Configuration();
configuration.appVersion = 'loool';

I can only see these information:

Version 9.9.9 is from native.
Environment
Library versions:

├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>└─<EMAIL_ADDRESS>

iOS/Android version(s): iOS 11.4

simulator/emulator or physical device?: simulator

debug mode or production?: both

[x] (iOS only) [BugsnagReactNative start] is present in the
application:didFinishLaunchingWithOptions: method in your AppDelegate
class?

We have [BugsnagReactNative start] in application:didFinishLaunchingWithOptions so it can't be that

We ran into the same issue. We compute a custom appVersion (different for android and iOS), which is reported correct for android but NOT for iOS.
Android sample:
version 1072 versionCode 2 versionName 1.0.7
iOS sample:
version 1.0.7 versionCode 2
In the sample above iOS should have version 1071(as in our custom computation) and versionName should be 1.0.7 As a result uploaded sourcemaps with 'APP VERSION' 1071 don't match.

@fractalwrench Hmm any news on this? 🤔

@henrikra this was an issue with serialisation in the Cocoa library, which has been addressed here: https://github.com/bugsnag/bugsnag-cocoa/pull/292
We're in the process of testing these changes out on React Native, and should hopefully have a release available soon.

Excellent 👍

Fixed in v2.10.1


Problem Sending Code to F# Interactive

When I press Alt+Enter to send selected F# code to F# Interactive terminal, a "Microsoft Visual C++ Runtime Library" dialog window appears.
The window has a disabled close button and have to terminate it in Task Manager. The window also has a white frame.
I can run Fsi.exe from the command prompt (system path) and these are my settings:
"FSharp.toolsDirPath": "C:/Program Files (x86)/Microsoft SDKs/F#/4.0/Framework/v4.0",
"FSharp.fsiFilePath": "C:/Program Files (x86)/Microsoft SDKs/F#/4.0/Framework/v4.0/Fsi.exe",

VSCode Version: 1.8.1
OS Version: Windows 8.1
Extension: Ionide 2.21.1

It looks super wired... All we do is passing path to fsi to VSCode's Terminal API.
@Tyriar, any idea what should I investigate? (and sorry for pinging you on all those issues)

No idea what's going on there, there was no error message in the box?
Does it appear when you run C:/Program Files (x86)/Microsoft SDKs/F#/4.0/Framework/v4.0/Fsi.exe in cmd?

Solved it by setting "FSharp.legacyFSI": true.

Removed the ["FSharp.legacyFSI": true] setting in Code 1.9.0 and it is working fine now.
Maybe it was an issue with Code 1.8.1.


Add caching for ArcticEDS endpoints for all communities

As part of a recaching, we want to have the ArcticEDS /eds + others cached for all communities.

All communities are cached in the current version of the recache functionality in the API.


Avacadoorg patch 3

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

This change isn't required, or requested, as such, I am going to close it out.
If this change is related to Hacktoberfest, then please reach out via our Discussions, as there are likely places where we are looking for help.


random.nextIntBetween weird results

What version of Effect is running?
3.8.4
What steps can reproduce the bug?
https://effect.website/play#ed3baf500ee0
What is the expected behavior?
Random numbers
What do you see instead?

Additional information
No response

Looks like it is indeed a bug

Are you sure that the fix is right? Just asking.

I added a test, also I am not sure ChatGPT is a good source for this, modulo is a linear operation which is equally distributed so there is no loss of precision. The solution proposed by gpt has max excluded BTW.

https://research.kudelskisecurity.com/2020/07/28/the-definitive-guide-to-modulo-bias-and-how-to-avoid-it/

Sorry for reopening, but if it affects distribution, then this comment should be updated.

Get a uniformly distributed 32 bit integer between [0, max).

Get a slightly less uniformly distributed 32 bit integer between [0, max).

Also, in the forked lib, they use:
PcgRandom.prototype.integer = function(max) {
  if (!max) {
    return this.next32();
  }
  var umax = umax >>> 0;
  if ((umax & (umax - 1)) === 0) {
    // fast path for power of 2.
    return this.next32() & (umax - 1);
  }
  var num = 0;
  var skew = ((-umax >>> 0) % umax) >>> 0;
  for (num = this.next32(); num < skew; num = this.next32()) {
    // this loop will rarely execute more than twice,
    // and is intentionally empty
  }
  return num % max;
};

It doesn't. The one you posted now is the old buggy code that was fixed with the last commit. Do not reopen the issue without a test that asserts the bug you're looking for.

https://effect.website/play#a37564788f78

Math.floor(random.number() * (max + 1))

is wrong, for example if max = 1 and random.number() returns 1.0 you'd have Math.floor(1.0 * 2) = 2.0 which is greater than 1.

Fixing the test, and repeating the program a few times to avoid test skew the chi-squared is comparable (sometimes module is actually better):
import { NodeRuntime } from "@effect/platform-node"
import { Effect, Random } from "effect"

interface RandomNumberGenerator {
  number(): number // Returns a floating-point number between 0 and 1
}

class RandomGenerator implements RandomNumberGenerator {
  number(): number {
    return Random.next.pipe(Effect.runSync)
  }
}

// Modulo Method
function moduloMethod(random: RandomNumberGenerator, max: number): number {
  return Math.round(random.number() * Number.MAX_SAFE_INTEGER) % max
}

// Scaling Method
function scalingMethod(random: RandomNumberGenerator, max: number): number {
  return Math.floor(random.number() * max)
}

// Function to test distribution
function testDistribution(
  methodName: string,
  randomIntFunction: (random: RandomNumberGenerator, max: number) => number,
  max: number,
  iterations: number
) {
  const random = new RandomGenerator()
  const frequencies = new Array<number>(max).fill(0)

  for (let i = 0; i < iterations; i++) {
    const value = randomIntFunction(random, max)
    frequencies[value]++
  }

  // Calculate expected frequency
  const expectedFrequency = iterations / max
  let chiSquared = 0

  for (let i = 0; i < max; i++) {
    const observed = frequencies[i]
    const expected = expectedFrequency
    chiSquared += Math.pow(observed - expected, 2) / expected
  }

  // Degrees of freedom is (number of categories - 1)
  const degreesOfFreedom = max - 1

  console.log(`Method: ${methodName}`)
  console.log(`Chi-Squared: ${chiSquared.toFixed(2)}`)
  console.log(`Degrees of Freedom: ${degreesOfFreedom}`)
  console.log("---------------------------")
}

// Parameters
const max = 1000 // Range of random integers [0, max)
const iterations = 1_000_000 // Total number of random numbers to generate

const program = Effect.sync(function() {
  testDistribution("Modulo Method", moduloMethod, max, iterations)
  testDistribution("Scaling Method", scalingMethod, max, iterations)
}).pipe(Effect.withSpan("program", {
  attributes: { source: "Playground" }
}))

program.pipe(
  Effect.repeatN(5),
  NodeRuntime.runMain
)

outputs:
Method: Modulo Method
Chi-Squared: 1012.54
Degrees of Freedom: 999
---------------------------
Method: Scaling Method
Chi-Squared: 966.60
Degrees of Freedom: 999
---------------------------
Method: Modulo Method
Chi-Squared: 1022.61
Degrees of Freedom: 999
---------------------------
Method: Scaling Method
Chi-Squared: 947.17
Degrees of Freedom: 999
---------------------------
Method: Modulo Method
Chi-Squared: 1081.90
Degrees of Freedom: 999
---------------------------
Method: Scaling Method
Chi-Squared: 960.70
Degrees of Freedom: 999
---------------------------
Method: Modulo Method
Chi-Squared: 890.20
Degrees of Freedom: 999
---------------------------
Method: Scaling Method
Chi-Squared: 1063.25
Degrees of Freedom: 999
---------------------------
Method: Modulo Method
Chi-Squared: 995.24
Degrees of Freedom: 999
---------------------------
Method: Scaling Method
Chi-Squared: 929.76
Degrees of Freedom: 999
---------------------------
Method: Modulo Method
Chi-Squared: 977.09
Degrees of Freedom: 999
---------------------------
Method: Scaling Method
Chi-Squared: 994.92
Degrees of Freedom: 999
--------------------------

This proves the precise method of scaling is irrelevant for the purpose of this module. Feel free to use a different method in your code.


ci: test plugin when rook deployed in custom namespace

this commit adds ci to test plugin when rook deployed
in custom namespace.
Signed-off-by: subhamkrai<EMAIL_ADDRESS>

Closing since these changes are included in other PR. Thanks!


Is it bug or feature? The problem with redirect plugin and session.

Hello
Let me first tell a story how I reached to this issue. I have spent more than 6 hours in sum with a face like this one 'O_O' trying to add a very simple feature, which every modern framework have, in my app based on zf3. It's a flash messenger.
I just wanted to display some fancy messages after actions connected with form submission, like auth or change password.

I have started with official zend-mvc-flash messenger and was happy. After testing it in a scope of one action I decided to use it to display success message after a redirect. And was wondering why a message wasn't displayed. I started to debug $_SESSION and found that array key connected with FlashMessanger wasn't there. Only __ZF with validators and Zend_Auth were presented.
Well, something wrong with auth, I decided. It was my guess because I have used Doctrine auth for auth routine and though that I have an error in config or a bug in DoctrineModule that overwrites session.

I was wrong. During my investigation, I became zend auth master and doctrine config master. But the problem wasn't there. I have tried all crazy config variants and different factories. No results.

Then I decided that probably there is a bug in FlashMessanger. Maybe it conflicts with Doctrine or something. So I used some not popular modules from GitHub to wrap FlashMessenger or replace it.
No results. Still nothing in session after form submit.

I decided to write my own plugin. And even did! It based on pure PHP solution wrapped with View Helper and Controller Plugin into Zend. I was happy, seems like it worked. I have even integrated it with some js lib to have temporary messages in the right corner.

Next day I found, that my plugin faced the same problem. No value in session after form submit. In plugin logic I haven't used any Zend component, just worked with a $_SESSION. And the value was there until auth or password change form submits and redirect.

I decided to investigate zend-session docs, config variants, a code, and factories. I had a guess that session rewrites container somehow. I was wrong.
In the end, when I'm almost was defeated, I decided to use another redirect way with build in in my plugin simple redirect function. And it's worked!
Waaaait a minute. All the time problem was with a redirect plugin?
Then I saw this commented code.
$this->msg()->success("Password updated");
$this->redirect()->toRoute('profile', ['action' => 'index']);

}
Hmmm... I read controller plugin redirect docs.
https://docs.zendframework.com/zend-mvc/plugins/#redirect-plugin
And I returned redirection back with $this->redirect() and changed it in this way
$this->msg()->success("Password updated");
return $this->redirect()->toRoute('profile', ['action' => 'index']);

}
And it's worked like a charm. After a redirect, all session keys like flash_messenger and FlashMessneger were presented.

So, I have spent more than 6 hours with a debug, trying different stuff, writing my own flash messenger plugin, and reading docs only because of
return
This is what I think about this situation encoded in rude64();
^&^%$$%#$#^) ()* (*&*^%$%$@ ##$^&^*&&( ()* (* !!!!
And now we reached the question.
In a documentation written, that usage of return with redirect plugin is optional.
If you return this immediately, you can effectively short-circuit execution of the request.
And from this phrase, we could conclude that there shouldn't be a difference if you return a response immediately or not.
In each case, the Response object is returned.
Somebody, please, explain me, why $this->redirect() with a return and without return works differently?
Why without return after redirect all my custom keys in $_SESSION were deleted and it's looked like the session was created from scratch?
I'm using latest skeleton app with all latest vendor zend libs. All configs and code are correct (I have checked 100 times).
If there is no adequate answer to my questions, then, please, consider this issue as a bug report.
Because on my opinion redirect plugin SHOULD work the same in both cases, if a response was returned immediately or not (we just reached an end of action method).
Some senior PHP developer with 6 years of experience shouldn't be so confused with a framework which he loves...

Just asking the obvious: Is there anything you're doing after your call to $this->redirect() that may be executed and may clear the session?

@MatthiasKuehneEllerhold of course not. And I have written it above.

(we just reached an end of action method).

This repository has been closed and moved to laminas/laminas-mvc; a new issue has been opened at https://github.com/laminas/laminas-mvc/issues/19.


Don't retry enclave calls on failure

Before this PR, when the enclave-proxy returns a non-200 status code, the substrate node keeps the pending enclave call and retries it forever. This PR expands on the error checking and removes all attempted enclave calls from the call queue, even failed ones.
Re-trying failed calls is probably a good idea but I think it requires some thought to enable configuration of different number of retries for different types of calls. In the meanwhile I think it's best to only ever execute an enclave call once.

Re-trying failed calls is probably a good idea but I think it requires some thought to enable configuration of different number of retries for different types of calls. In the meanwhile I think it's best to only ever execute an enclave call once.

If we emit an event EnclaveCall failed or something that would be fine, then it should be easy to subscribe from a UI perspective to either success or failed and retry if they want to.


Draft: Import YW changes

This PR is meant to provide an opportunity to examine the differences between the repository that YoppWorks has been using as compared to the current Google repository for the PBMM GCP landing zone.

reviewing on the side over the next couple days.
If possible can you merge main into yw_changes to fix the merge conflict
I/we can then do a deployment verification
thank you /michael

Thanks svershin - there are several permissions level and config changes that are of great interest.  Looking forward to your patches /michael


Add an alias field and groups for Hosts

When the number of added Hosts is very large, especially if the domain name looks very similar to the same domain, it is difficult to quickly find the desired Host configuration.
It is recommended to add an alias to Hosts, so that you can intuitively find the desired Host by name.
It is recommended to add a grouping feature, which can manage the services provided by the Host in groups.

I would also like to request the ability to add hostnames and just not specific IP, for those with dynamic ip:s


Update API Key

Endpoint: /api/keys/restrict/{keyId}
Method: PUT
Description: Allows users to add or update domain restrictions for an existing API key.
Authorization Required: Yes
Parameters:
Domains: A list of new or updated domains for restriction.
Validations:
Domains:
Each domain must be in a valid format.
Check for domain uniqueness within the user's API keys to ensure no duplicate restrictions.
Security Measures:
Authorization Check: Ensure the user is authenticated and owns the API key before updating restrictions.
Input Sanitization: Validate and sanitize the input domains to avoid injection attacks.
Feedback:
Success: "Domain restrictions updated successfully."
Failure: "Failed to update domain restrictions. Ensure domains are valid and unique."

@alexboateng I will like to pick up this issue

@alexboateng I would like to pick up the issue

https://github.com/mestafrica/mobile-wallet-fraud-database/pull/64


cannot find module parseurl

Error: Cannot find module 'parseurl'

Please check. The issue has been fixed.


Add fun finish to companion?

Hi, I'm using this library for login, but since there's no finish function, it kept coming back to splashy when I click back from main activity. Please consider add finish function.

It's already there
Splashy.Companion.hide();

Yes, but it only hiding, I use it as middle screen from login to main, when I press back it made the app stuck at splashy screen.

ohh So it you dont want to go back from main to login at all
you can call Normal Android method
finishAffinity();
It thats not case then let me know


Show progress while resolving next level hover

Testing #210904
When a hover provider takes a few seconds to resolve the next level hover, there is not currently any feedback that next hover is being resolved. I suggest we show a spinner and also prevent the user from clicking the +/- buttons in these cases

The hover verbosity logic has been changed so that it is now possible to make consecutive requests while a request is still pending in https://github.com/microsoft/vscode/pull/213317. This will end the current request and start a new request. With this logic, the + and - buttons need to be enabled.
We could still consider adding a loading spinner however to show that work is done. I am not sure however where to place it. Indeed there is little space in the hover. The hover can be of variable size - as tall as the height of 1 line for example (19 pixels only), so there isn't vertical space where to place the spinner. We could place the spinner to the left or to the right of the +/- icons but that could look a bit strange, as the hover expands horizontally to accomodate a spinner and then contracts when loading is finished.


Create backend endpoint for user creation

We should parse the form data (of the sign up window) and send it to the database.

Commit: 052313d33b248016b02e818b8048e1620bf32fcf


Train content network.

Is there code to train the content network? Or could you point us to how to train the content network?

https://github.com/pathak22/context-encoder


Transitional clarification

Hi guys, a couple of points of clarification required I think:-

For customers with Windows 10 'Enterprise' clients actively being used in production environments using KMS or Active Directory for activation via a VL agreement, what are the technical steps required to disable KMS / AD Activation and implement Windows 10 Enterprise E3 in CSP in its place? The article above currently implies that you need to rebuild all your devices to Windows 10 Pro edition.

Where should Enterprise IT admins be obtaining the media for rolling out Windows 10 Enterprise in CSP for use with deployment tools such as MDT and SCCM, and does it have to be Pro edition for the activation to be successful?

Many thanks in advance.

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

ID: ad3ecbc1-9c02-5681-7214-356be22ac7e8
Version Independent ID: 73af82f6-079b-6c37-55c4-cb59e921457a
Content: Deploy Windows 10 Enterprise licenses
Content Source: windows/deployment/deploy-enterprise-licenses.md
Product: w10
GitHub Login: @greg-lindsay
Microsoft Alias: greglin

So found this that covers point 1 above for SA subscriptions, would it work for CSP too: https://docs.microsoft.com/en-us/windows/deployment/windows-10-enterprise-subscription-activation#existing-enterprise-deployments

That said this would only appear to work for PC's with Firmware-embedded activation keys

@officedocsbot assign @mypil

@stusims Thanks for reaching out and helping improve MS Doc. I'm working to find the solution to question 2. Thank you for solving question 1, I'll be sure to add it to the article soonest.

@stusims - Thank you for submitting feedback.
From our understanding, the issue you raised has been answered by Reeced40. If you feel it hasn't been answered, please re-open this issue.
Thank you for your contribution to make the docs better! Much appreciated!

@officedocsbot close


Add round number in BigMessage at round start

Like "Round 2/5", in big message with sound like round mode

Done in https://github.com/BossBravo/Trackmania2020_LastManStandingCup/commit/62fef01d96100591904da57b715d753d272da046


Notes are not created as child blocks

Hi @c6p, thank you for this amazing plugin !
I've noticed one bug since the last update. When I have a highlight that has a comment, when it gets imported to Logseq I expect it to have the following format:
- > An highlight
    - A commentary

So basically, that any commentary gets added to the respective highlight under its child block
However, what I get is all in one block:
- An highlight
A commentary

Thank you for your time !

I'm sorry, I thought this was a bug. Then I think this issue might be turned into a feature request :sweat_smile:  ?

Come to think of it, hypothesis does not make any distinction between a highlight and an annotation. Returning it in the same row with a single ID. Placing an annotation into another block in Logseq, would make tracking it impossible. So, it won't be fixed. Sorry, @krillin666.
You can modify the templates to make it visually more distinct, though.
Is there anything I could do, to make the current behavior more bearable?
Cheers

Actually, there is ! Is it possible to add a vertical space (shift+enter) in the block when we have highlight+annotation ?
Because, what is happening now is that since there's no space between the highlight and the annotation, the annotation gets blended and rendered has a highlight.
Basically, this is what's happening:
- It focuses on privacy, longevity
Annotation

And so that Annotation is not rendered has a highlight due to the settings having > before the highlight, I have to manually had a shift+enter vertical space like this:
- It focuses on privacy, longevity

Annotation

Thank you for your time !

You are right, I'm going to add a line break before annotation in the next version.

@yhkang, from now on, you can use \n in annotation formats to add newlines where you want.


Mobile design

Description
The design for smaller screens. Kept the structure the same as for desktop sized screens.
Components
Form
Form component that auto-scales for all screens.
Figma link: Figma form

Items list
Items list component that auto-scales for all screens.
Figma link: Figma items-list

Header for small screens
Header specific for small screens
Figma link: Figma header-smallscreens

Video
https://github.com/openstate/jodal/assets/8989205/11732ab0-9b1b-4b0a-a5d2-3d8c75941f05

Spacing (padding/margin) should be 30px 20px;


[google_maps_flutter] [iOS 15] Unable to interpret bytes as a valid image

google_maps_flutter: ^2.0.11
flutter : 2.5.1
Hi, i have this message :
*** Terminating app due to uncaught exception 'InvalidByteDescriptor', reason: 'Unable to interpret bytes as a valid image.'
*** First throw call stack:
(0x182e8705c 0x19b3a1f54 0x102b17d38 0x102b16160 0x102b15f18 0x102b10ecc 0x102b0fe40 0x106741898 0x10628dfa0 0x106599690 0x10653e43c 0x106541a34 0x182e9c278 0x182e20c50 0x182e1b44c 0x182df9c68 0x182e0d3c8 0x19e61e38c 0x1857b30bc 0x185530be8 0x1024887e8 0x10367da24)
libc++abi: terminating with uncaught exception of type NSException
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x00000001b97759c4 libsystem_kernel.dylib`__pthread_kill + 8
libsystem_kernel.dylib`__pthread_kill:
->  0x1b97759c4 <+8>:  b.lo   0x1b97759e4               ; <+40>
    0x1b97759c8 <+12>: pacibsp
    0x1b97759cc <+16>: stp    x29, x30, [sp, #-0x10]!
    0x1b97759d0 <+20>: mov    x29, sp
Target 0: (Runner) stopped.
Lost connection to device.

The problem comes from adding a BitmapDescriptor in the Marker(icon).
I have this problem only on iOS. Normally the icon must be changed on the map(like on android) but under ios the application crashes.
I added a piece of code to allow you to reproduce the problem
  static Future<Uint8List> getBytesFromAsset(String path, int width) async {
    ByteData data = await rootBundle.load(path);
    ui.Codec codec = await ui.instantiateImageCodec(data.buffer.asUint8List(),
        targetWidth: width);
    ui.FrameInfo fi = await codec.getNextFrame();
    return (await fi.image.toByteData(format: ui.ImageByteFormat.png))
        .buffer
        .asUint8List();
  }

markerIcon = await Images.getBytesFromAsset("assets/pinvert.png", 90);
BitmapDescriptor btdes = BitmapDescriptor.fromBytes(markerIcon);
markers.add(Marker(
            markerId: MarkerId(i.toString()),
            icon: btdes,
            position: LatLng(lat,long),
));

@j20mc
Can you provide a complete reproducible code sample that we can directly use to verify this issue ?
Thanks.

Thanks for your answer, when I wanted to do a code reproduction, I realized that there was an error in the getBytesFromAsset function. Strangely this error is not visible in my project (visual studio code).
The property 'buffer' can't be unconditionally accessed because the receiver can be 'null'.
Try making the access conditional (using '?.') or adding a null check to the target ('!').dartunchecked_use_of_nullable_value

the error is on the .buffer
return (await fi.image.toByteData(format: ui.ImageByteFormat.png))
        .buffer
        .asUint8List();

Despite all the error it worked on the android side.
I fixed the function and all are working fine now.

Thanks for resolving this issue. Closing based on your comment above.


Remove Dead and Commented out code and also debug statements

Rule Description

Dont leave Unused, Dead and Commented code in the code base. Remove it frequently to keep the code base neat and clean. This include console.log statements that are used for debugging.

For Example dont do like PersonalLink.js, line 14 and PosterGrid.js, Line 18
Why it is needed

Unused, Dead and Commented code increases the file size. It gives the feeling of "Not well maintained code". And this is an issue widely talked about under the name Code smells.
Leaving out unused commented code can increase confusion to new programmers who started working on this codebase.
Clearing out these unused lines, will help us maintain a good code format, as mentioned in issue #9

Review completed.
This issue can be closed.


Fix build errors on Android SDK 33

oops I super messed up the diff -- no idea how to fix it

Oops I realized there was a patch in the comments of the existing issue -- Closing this issue


Refetching query doesnt set error back to null

Describe the bug
When query refetching happens, for example on window focus, error object is not cleared even though types say that when isLoading is set to true, error is always null. Screenshot attached
Your Example Website or App
https://codesandbox.io/s/boring-paper-l7jf0?file=/src/use-subscription.tsx
Steps to reproduce
Open the console and watch for variables being displayed, once you refocus back to the window both isLoading and error are displayed.
Expected behavior

remove the error when we go to loading state.
change the types so that they reflect that you can have an error in loading state, too.

How often does this bug happen?
Every time
Screenshots or Videos

Platform

OS: [e.g. macOS, Windows, Linux, iOS, Android]
Browser: [e.g. Chrome, Safari, Firefox, React Native]
Version: [e.g. 91.1]

Additional context
No response

:tada: This issue has been resolved in version 3.34.5 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 4.0.0-alpha.6 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

What if i want the error to stay until the data is not coming, on successive refetch the error should stay, is there's any option i can use to achieve that? @TkDodo might help.

don't think so


[intrin]support fmod for cuda

Thanks for contributing to TVM!   Please refer to guideline https://docs.tvm.ai/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers.
@siju-samuel @PariksheetPinjari909 @Huyuwei please review, thanks!

please also check other backends(vulkan, opencl, metal, rocm, nvptx) to add this function, you might need to lookup the specific reference of each backend

openCL: https://manpages.debian.org/testing/opencl-1.2-man-doc/fmod.3clc.en.html
metal: https://developer.apple.com/metal/Metal-Shading-Language-Specification.pdf
rocm: https://rocm-documentation.readthedocs.io/en/latest/ROCm_Compiler_SDK/ocml.html?highlight=fmod

Vulkan's intrinsics are defined here https://github.com/dmlc/tvm/blob/master/src/codegen/spirv/intrin_rule_spirv.cc#L33

@tqchen thanks, I mean the link of vulkan reference doc

These macros are defined in #include <GLSL.std.450.h> (they are not part of Vulkan doc, but more of GLSL standard)

@tqchen thanks
Vulkan, no fmod https://www.khronos.org/registry/spir-v/specs/1.0/GLSL.std.450.html

@tqchen thanks
Vulkan: no fmod https://www.khronos.org/registry/spir-v/specs/1.0/GLSL.std.450.html
We can open a thread on discussion to record the reference links so that others can get them easily

Thanks @xqdan @siju-samuel this is now merged. I agree that having a documented page in the docs/dev might be helpful for developers


DMXSerial not working with no 512 DMX devices

Hello
The library does not work with some lighting desks who doesn't send 512 channels
for example : the starway "commander 24" (24 dmx channels) or starway chaman (196 dmx channels)

you could try editing .h file parameter DMXSERIAL_MAX to narrow a bit the maximum channels scan..
if it work would be very usefull for low ram USART mcus.

In the standard implementations all received channels will be saved to memory. This is because the DMXSerial library doesn't know which of them you are interested in. This is by current design.
However you can change that and store only the channels you need by adding a parameter to the initialization.


[19.03] bump swarmkit to f35d9100f2c6ac810cc8d7de6e8f93dcc7a42d29 ENGCORE-1028

full diff: https://github.com/docker/swarmkit/compare/bbe341867eae1615faf8a702ec05bfe986e73e06...f35d9100f2c6ac810cc8d7de6e8f93dcc7a42d29
changes included:

docker/swarmkit#2891 [19.03 backport] Remove hardcoded IPAM config subnet value for ingress network

backport of docker/swarmkit#2890 Remove hardcoded IPAM config subnet value for ingress network
fixes ENGCORE-1028 Specifying --default-addr-pool for docker swarm init is not picked up by ingress network

ping @arkodg @dperny @kolyshkin ptal

Looks like this broke CI (quoting @andrewhsu from a comment on an internal ticket)

From the history of PRs merged to the docker/engine 19.03 codeline:
https://ci.docker.com/public/blue/organizations/jenkins/engine/activity?branch=19.03

Looks like the TestServiceWithDefaultAddressPoolInit test started failing when https://github.com/docker/engine/pull/369 was merged. See error after merge to 19.03:

 --- FAIL: TestServiceWithDefaultAddressPoolInit (1.60s)
     service_test.go:398: Creating a new daemon at: /go/src/github.com/docker/docker/bundles/test-integration/1/TestServiceWithDefaultAddressPoolInit
     daemon.go:321: [d9c735f5b777b] waiting for daemon to start
     daemon.go:339: [d9c735f5b777b] daemon started
     service_test.go:423: TestServiceWithDefaultAddressPoolInit: NetworkInspect: {Name:saanvisthiraTestServiceWithDefaultAddressPoolInit ID:skd85d6326u0vot7xj35e7w06 Created:2019-09-20 01:16:12.558779258 +0000 UTC Scope:swarm Driver:overlay EnableIPv6:false IPAM:{Driver:default Options:map[] Config:[{Subnet:<IP_ADDRESS>/24 IPRange: Gateway:<IP_ADDRESS> AuxAddress:map[]}]} Internal:false Attachable:false Ingress:false ConfigFrom:{Network:} ConfigOnly:false Containers:map[] Options:map[com.docker.network.driver.overlay.vxlanid_list:4097] Labels:map[] Peers:[] Services:map[]}
     service_test.go:425: assertion failed: <IP_ADDRESS>/24 (out.IPAM.Config[0].Subnet string) != <IP_ADDRESS>/24 (string)

I did some preparations to fix this;

rebased https://github.com/moby/moby/pull/39966 to include the swarmkit vendoring so that we can verify if it works
prepared a cherry-pick of https://github.com/moby/moby/pull/39966 to docker/engine 19.03 (https://github.com/docker/engine/pull/374)
prepared a revert of (https://github.com/docker/engine/pull/369) in case we cannot get the test merged upstream.


simplenote: 2.0.0 -> 2.1.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/Automattic/simplenote-electron/releases.
meta.description for simplenote is: "The simplest way to keep notes"
meta.homepage for simplenote is: "https://github.com/Automattic/simplenote-electron"
meta.changelog for simplenote is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.1.0 with grep in /nix/store/7jdfshhbcmxyacjs29p8pngbal3d4kh8-simplenote-2.1.0

directory tree listing: https://gist.github.com/5dfb3d3eea449a92d01d59a069e8d137

du listing: https://gist.github.com/10b5696913cb9b85176551bf329f41c8

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
0 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
simplenote

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/7jdfshhbcmxyacjs29p8pngbal3d4kh8-simplenote-2.1.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A simplenote https://github.com/r-ryantm/nixpkgs/archive/a0da20e22d8f0e4c14166037c24bd2fa6a809074.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/7jdfshhbcmxyacjs29p8pngbal3d4kh8-simplenote-2.1.0
ls -la /nix/store/7jdfshhbcmxyacjs29p8pngbal3d4kh8-simplenote-2.1.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

1 package built:

simplenote

Maintainer pings
cc @Kiwi for testing.

ty. :heart: oh yeah I need to make this work on darwin still.


Next.js to server demo galleries to JAM Stack host

What is the user story for this feature?

Switch to a React framework to combine API and UI
Describe the solution you'd like
A clear and concise description of what you want to happen.
Update dependencies by React framework maintainers

Fixed with v8.0.0


[Bug] Initial API call to create Ldap config returns HTTP 503

Rancher Versions:
Server: 1.5.2
healthcheck:
ipsec:
network-services:
scheduler:
kubernetes (if applicable):
Docker Version: 17.03-ce
OS and where are the hosts located? (cloud, bare metal, etc): Ubuntu Trusty 64 on an OpenStack Cloud
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB) Single node Rancher, internal DB
Environment Type: (Cattle/Kubernetes/Swarm/Mesos) Cattle
Steps to Reproduce: Install a fresh new Rancher Server, then try to enable Active Directory access control using an API call (manually via cURL or automatically) with valid parameters for you AD config.
Results: API response is a HTTP 503, with a "Ldap is not configured" message, instead of a 201.
Details: After configuring the Ldap access control manually within the UI, all following API calls to modify Ldap config succeed

Please let us know in a comment if you can still reproduce the issue, and we'll reopen it


HTTP Error 404.3 - Not Found

Hey Niels
getting: The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map
Not sure what Ive missed here ?

Did you run the git clone command correctly or download it as a zip? This means the setup file is missing in the folder.

Git clone to inetpub then rename to wwwroot
Setup.php is is directory C:\inetpub\wwwroot\setup.php

Just to be sure did you install PHP on the server to work with IIS? It looks like 404.3 means the server doesn't recognize the PHP file.

Hey Niels

Can u add the PHP handler as described in https://stackify.com/how-to-host-php-on-windows-with-iis/ under "Installing PHP on IIS manually"? It looks like this one is missing in the specific configuration and therefor it fails to load.

Thanks Niels
Was trying to automate all your steps through single script ...
Was using choco install php --force -y
Changed to  ( After: choco install Webpi )
WebPICMD.exe /Install /Products:PHP56 /AcceptEULA
Thanks all works

Thanks for the update. Good information for me to know as well.


Implement Linux part of examples

Fixes the Linux part of https://github.com/flutter/flutter/issues/79204
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is [test-exempt].
[x] All existing and new tests are passing.

@stuartmorgan this requires libupower-glib-dev to be installed on the build server - is that possible?

upower is a pretty standard library, so is hopefully not an issue. I initially started accessing the D-Bus API directly to avoid this, but it made the example much more complex than it needed to be.

Nice!

this requires libupower-glib-dev to be installed on the build server - is that possible?

@godofredoc What's the current situation with adding development libraries. Do we just need to define a new optional dependency to list in the .ci.yaml configuration? (If so, can someone on the infra side help with getting that set up? I don't remember how to configure new dependencies, assuming it's even the same as the last time I was involved in doing this.)
(/cc @cbracken)

Nice!

this requires libupower-glib-dev to be installed on the build server - is that possible?

@godofredoc What's the current situation with adding development libraries to builders? Do we just need to define a new optional dependency to list in the .ci.yaml configuration? (If so, can someone on the infra side help with getting that set up? I don't remember how to configure new dependencies, assuming it's even the same as the last time I was involved in doing this.)
(/cc @cbracken)

This type of dependencies need to be included at the OS level and baked into the VM image. You can create a bug requesting the dependency and I'll route it to the correct people. This process may take several days because after adding the dependency the new image needs to be tested in staging.

Filed https://github.com/flutter/flutter/issues/108872

@robert-ancell Since the blocking issue is closed, do you want to merge in master here and see if everything passes? It would be great to get this landed.

I don't understand the Linux build_tests_1_2 failure - can anyone shed some light on what the issue is?

[   +1 ms] /b/s/w/ir/cache/clang/bin/clang++  -DAPPLICATION_ID=\"io.flutter.examples.platform_channel\" -I/b/s/w/ir/x/w/flutter/examples/platform_channel/linux/flutter/ephemeral -isystem /usr/include/gtk-3.0 -isystem /usr/include/at-spi2-atk/2.0 -isystem /usr/include/at-spi-2.0 -isystem /usr/include/dbus-1.0 -isystem /usr/lib/x86_64-linux-gnu/dbus-1.0/include -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/cairo -isystem /usr/include/pango-1.0 -isystem /usr/include/harfbuzz -isystem /usr/include/atk-1.0 -isystem /usr/include/pixman-1 -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/libupower-glib -g   -Wall -Werror -pthread -MD -MT CMakeFiles/platform_channel.dir/my_application.cc.o -MF CMakeFiles/platform_channel.dir/my_application.cc.o.d -o CMakeFiles/platform_channel.dir/my_application.cc.o -c /b/s/w/ir/x/w/flutter/examples/platform_channel/linux/my_application.cc
[        ] /b/s/w/ir/x/w/flutter/examples/platform_channel/linux/my_application.cc:219:34: error: use of undeclared identifier 'up_client_get_devices2'; did you mean 'up_client_get_devices'?
[   +2 ms]   g_autoptr(GPtrArray) devices = up_client_get_devices2(self->up_client);
[        ]                                  ^~~~~~~~~~~~~~~~~~~~~~
[        ]                                  up_client_get_devices
[        ] /usr/include/libupower-glib/up-client.h:82:12: note: 'up_client_get_devices' declared here
[        ] GPtrArray       *up_client_get_devices                  (UpClient               *client);
[        ]                  ^
[        ] 1 error generated.
[        ] ninja: build stopped: subcommand failed.

Is the code here expecting a newer version of the library than is available on our builders?

Is the code here expecting a newer version of the library than is available on our builders?

Yes, that was it. I must have been looking at the wrong log, didn't see that.


Incorrect version reported as latest

BaGet seems to report the incorrect version number as the latest version:
eg: here's the main home page showing build 168 as the latest:

but when I click on it, 172 is really the latest:

The "Manage NuGet Packages" command in Visual Studio also shows the incorrect latest version.
Also, the last updated time stamp says 11 hours ago, but this was just uploaded 10 mins ago.
Restarting the server didn't help.   Pulling latest version of BaGet didn't help.
Could this be something about the way the package is authored confusing BaGet?
Brad

When I search on the home page by name I get the correct version:

I've hacked this by changing this line:
https://github.com/loic-sharma/BaGet/blob/e9ebce2bd390796f266a747db40619095750249c/src/BaGet.Core/Services/DatabaseSearchService.cs#L35
to
.OrderByDescending(p => p.Version)

Thanks for reporting this. This is a known issue with BaGet's database search that is surprisingly tricky to fix. The underlying problem is that ordering database records using Semantic Versioning 2 is very difficult. Right now, BaGet's database search just grabs the first 20 packages it can find and returns that as the search results. This is likely incorrect if there are more than 20 packages in the database.
I think the best way to fix this is to store a "search result" record for each package in the database. This record will contain the package's id and its latest version. Each time a new version is uploaded, its corresponding "search result" record should be updated.

Thanks for that.  I've pulled down your change and it seems to be working correctly now.
Perhaps the semver stuff would be easier if the db stored each version component separately, or normalized it someway so that normal string comparisons work.  eg: 00000.00001.00002

Great, I’ll close this issue off then!
That approach works for semver 1 which had a fixed number of fields, but semver 2 allows for arbitrarily deep version fields. For example, 1.0.0-0 has a lower precedence than 1.0.0-0.0 in semver 2. This is really hard to calculate in a database.


Log off all Terminal Server Session Users - No Powershell samples

Doc Title: Log off all Terminal Server Session Users from a command prompt
Issue
This article does not contain any Powershell samples to perform this, and logging of all disconnected sessions from RDS servers. This does not fly in 2022 :)
Suggestion: Change title to Log off Remote Desktop Session Users and include both Powershell and Command Prompt samples. Maybe optionally add instructions to manually log off an individual session through Server Manager.
The Powershell code below is what I use in both my RDS server farms:
To log off all user sessions, execute the following Powershell code on the Connection Broker:
$sessions = Get-RDUserSession |

foreach($session in $sessions)
{
    Invoke-RDUserLogoff -HostServer $session.HostServer -UnifiedSessionID $session.UnifiedSessionId -Force
}

To log off only disconnected user sessions, execute the following Powershell code on the Connection Broker:
$sessions = Get-RDUserSession |  ? {$_.SessionState -eq "STATE_DISCONNECTED"}

foreach($session in $sessions)
{
    Invoke-RDUserLogoff -HostServer $session.HostServer -UnifiedSessionID $session.UnifiedSessionId -Force
}

One liner would be:
Get-RDUserSession | `
    ? {$_.SessionState -eq "STATE_DISCONNECTED"} | `
    Foreach-Object { Invoke-RDUserLogoff -HostServer $_.HostServer -UnifiedSessionID $_.UnifiedSessionID -Force}

The PowerShell commands look good to me. I will add them to the article. Thank you for your contribution!


XESmartTarget SMO fixes #4974

super guessing here, maybe this will help?
my xe smart targets are working so i cant really debug @davidacrook can you take a look?

big ol guess

sweet i can repro


API error: [413] Request Entity Too Large (solved)

I'm trying to use the API for the first time. When I send a POST request to http://fontello.com/ I get this error:
[413] Request Entity Too Large
I tried adjusting the headers but I couldn't fix it.
Here is one of my requests, for example:
Request headers:
POST / HTTP/1.1
Host: fontello.com
Content-Type: application/json

Response headers:
HTTP/1.1 413 Request Entity Too Large
Content-Type: text/plain; charset=utf-8
Vary: Accept-Encoding
Server: Sansun Calakci
Date: Fri, 07 Aug 2015 15:36:41 GMT
Connection: keep-alive
Transfer-Encoding: chunked

What is config size you try to upload? Could you post minimal example that reproduces this problem?

@puzrin Sorry, I didn't realize the config parameter was required. (Maybe it should be mentioned here https://github.com/fontello/fontello#developers-api )
I included a config file and tried again. It worked! Thanks!
One comment, it would make things easier if instead of having to upload a 'file', we could put the config json directly in the 'config' post param.

https://github.com/fontello/fontello/wiki/How-to-save-and-load-projects#advanced-importexport here are more details about different api helpers. If you think readme or wiki info is confusing - feel free to improve. If you think you have idea about useful improvement - create a separate ticket to simplify discuss/tracking.
Closing?

Thanks @puzrin !


Add and manage machine tags using the portal

New Tag option is not showing under Manage Tags option, It's just showing a search box.
Is that step number 3 under the section 'Add and manage machine tags using the portal' right?

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

ID: 5b42e708-e334-d434-bcc9-e1860ebb36b3
Version Independent ID: 92e251c5-8613-ce97-9569-02404c9a466a
Content: Create and manage machine tags - Windows security
Content Source: windows/security/threat-protection/microsoft-defender-atp/machine-tags.md
Product: w10
Technology: windows
GitHub Login: @mjcaparas
Microsoft Alias: macapara

Hello @mahybabu ,
It shows search box:

Then, when you start to type the name of new tag, it suggests you to create a new tag:

Thank you

Thanks, I have to type to see the option 'Create new'.


Support for introspect and client credential flow

We are using this gem for some apps and not others.  This is mostly divided by which apps need introspect or the client credential flow.  Are there plans to support either of these?  They're pretty standard.

rack-oauth2 supports client credentials flow, thus you can use it in this gem too.
for introspect support, no plan.


Use keyword name as its auto-complete documentation

Fixes https://github.com/Microsoft/nodejstools/issues/517.

:+1:


Add tfsec tool

Description
Demonstration of adding a new tool.
An AquaSecurity Tfsec security scanner tool has been added for the demo.
Check list

[ ] Related issue / work item is attached
[x] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[x] Changes are tested and related VM images are successfully generated

@bgbogisha2 you checked 'Changes are tested and related VM images are successfully generated'?


(bcosCommand): fix wasm deploy bug.

Codecov Report

:exclamation: No coverage uploaded for pull request base (feature-1.3.1@c5d61e1). Click here to learn what that means.
 Consider uploading reports for the commit a72bd2f to get more accurate results

Additional details and impacted files
@@               Coverage Diff               @@
##             feature-1.3.1    #185   +/-   ##
===============================================
  Coverage                 ?   5.40%
  Complexity               ?      34
===============================================
  Files                    ?      22
  Lines                    ?    2184
  Branches                 ?     286
===============================================
  Hits                     ?     118
  Misses                   ?    2043
  Partials                 ?      23

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Ports used by --link?

Hi guys
I'm trying to launch code-server from a firewalled VPS and can't find any information on the ports I need to open for --link to work. Port 8080 is open but that's obviously not it, because I'm getting the following message when visiting the generated URL:
Error connecting to your code-server instance
Ensure code-server is running and was properly started with the --link command line flag.
Which ports does --link use? And is the connection between my server and cdr.co fully encrypted? I got a bit worried when I saw the following in my terminal:
[2021-04-27T12:14:10.297Z] info    - Authentication is disabled (disabled by --link)
[2021-04-27T12:14:10.297Z] info    - Not serving HTTPS (disabled by --link)**
Thanks!

As you probably saw, running code-server with --link prints:
info  HTTP server listening on http://<IP_ADDRESS>:50924 (randomized by --link)

The port is random. I thought you might be able to explicitly set it using PORT but that didn't work and led to the same error message you posted 🤔
As for getting around your firewalled VPS with --link, I bet @code-asher or @bpmct may have more insight.
Though it could cause other issues. We have seen issues reported when users access their code-server instance using --link from a different region to where their remote machine is. See https://github.com/cdr/code-server/issues/2734#issuecomment-813566426

@jsjoeio Thanks for the quick reply. I noticed that and tried opening the randomized port but still couldn't get it working. I'm currently in Australia and my VPS provider is in Germany so perhaps that's it... But regardless, the ability to explicitly set the port would be really helpful for those of use behind firewalls.

You don't need to open any ports! The cloud agent initiates a connection outward to our cloud then once that connection is established it uses it to proxy traffic. That means the only thing required to make it work is that the agent is able to connect outward to the internet.
I'm not sure there's a proper name for this kind of proxy but I've seen it called an "inverting proxy". This isn't our implementation but you can read a more detailed description of it here: https://github.com/google/inverting-proxy#inverting-proxy-and-agent


Update build-docs

@cqc-alec is there any easy way to build and upload the docs without making a release?

Not really, this was one motivation for moving to separate repos. But you can edit the existing workflows to do this on a branch.

The problem is that we are currently missing the links for braket and iqm docs, I will try to solve this on this branch to add them without a release.


Bug when NFREQUENCY * NSTATION > 32768

The comparison between gpu and cpu xengines fails when the number of frequency channels times the number of stations is greater than 32768.

It looks like this error is occurring whenever the x-dimension of the texture is greater than the hardware limits.  Fermi has a maximum 2-d texture size of (65536 x 65535).  The x-dimension of the texture is of size NFREQUENCY * NSTATION * NPOL, so corresponds to the above limit.  There is a wrinkle to this story however, that is this problem also seems to occur just under this limit, e.g., NSTATION=256, NFREQUENCY=255.  I'm investigating this, also checking that 1-d textures don't have this problem.

I think the check added in commit 3724693 was missing a factor of two for real+imaginary.  Also, the check doesn't seem to be valid for the case of 1D textures.  These two points are addressed in commit 7e2d146.

In the middle of a park in Pasadena so this us from memory. Complexity is included because the tex limit applies to texture dimensions, irrespective of the fact that each element is a vector of two numbers, eg char2.
Sent from my iPhone
On Dec 5, 2011, at 14:16<EMAIL_ADDRESS>wrote:

I think the check added in commit 3724693 was missing a factor of two for real+imaginary.  Also, the check doesn't seem to be valid for the case of 1D textures.  These two points are addressed in commit 7e2d146.

Reply to this email directly or view it on GitHub:
https://github.com/GPU-correlators/xGPU/issues/2#issuecomment-3024411

Quite right, texture dimensions are in texels, not bytes.  Fixed in commit 2aeebbf.
I still think the 1D texture size check is not valid regardless of this factor of 2 (1024000 >> (1 or 2)*65536).

The 1-d tex limit is 2^27 but best check the programming guide.
Sent from my iPhone
On Dec 5, 2011, at 14:43<EMAIL_ADDRESS>wrote:

Quite right, texture dimensions are in texels, not bytes.  Fixed in commit 2aeebbf.
I still think the 1D texture size check is not valid regardless of this factor of 2 (1024000 >> (1 or 2)*65536).

Reply to this email directly or view it on GitHub:
https://github.com/GPU-correlators/xGPU/issues/2#issuecomment-3024767

Sure enough, the programming guide Table F.1 gives the "Maximum width for a 1D texture reference bound to linear memory" as (1<<27), but in CUDA 4.0 cudaGetDeviceProperties returns maxTexture1D as 65536.  That seems to be a bug in cudaGetDeviceProperties, no?  Is this fixed in 4.1?  Should I re-enable the check for 1D textures using the (1<<27) for CUDA versions where maxTexture1D is not reliable?

I'll check this next time I'm on a real computer with 4.0 and 4.1.
Sent from my iPhone
On Dec 5, 2011, at 15:11<EMAIL_ADDRESS>wrote:

Sure enough, the programming guide Table F.1 gives the "Maximum width for a 1D texture reference bound to linear memory" as (1<<27), but in CUDA 4.0 cudaGetDeviceProperties returns maxTexture1D as 65536.  That seems to be a bug in cudaGetDeviceProperties, no?  Is this fixed in 4.1?  Should I re-enable the check for 1D textures using the (1<<27) for CUDA versions where maxTexture1D is not reliable?

Reply to this email directly or view it on GitHub:
https://github.com/GPU-correlators/xGPU/issues/2#issuecomment-3025221