reg_wr, i2c_wr - writing only immediate values?

Hmm, AFAICS these 2 instructions only write constant data (given as immediate data, stored inside the instruction) to registers or i2c.
So, how would one write variable data?

As far as i know, there are two options:

switch/case constructs to write one of predefined values, and
self-modifying code

Huh, that is dirty.
Was that design by mistake? It could also have used a register for the data maybe?
(what I mean is an arbitrary byte value, like e.g. a brightness value for something, 0..255)

Well, the whole ULP thing initially was a very-very primitive FSM designed to poll ADCs and write values to memory. It got some features bolted on to it in the very final days of the design process: arithmetic instructions, loops, jumps. But there was not enough time to make all the things generic enough (like for example reg_wr), and verify the changes. So yes, it would definitely have been great if we could reg_wr from register, but that late feature just didn't make it.

Ah, that explains it.
Luckily these unused/reserved bits in the instructions are usually set to 0, so a later, compatible fix/extensions looks possible, even without using the free opcode numbers.

I just stumbled over this today; was trying to create an example where I would use the ULP to control GPIO lines.  Note it was also discussed on the Espressif  forum.
In my case I can easily use a branch since I was just setting 1 or 0 but this could be a serious limitation...


Mod crashes game upon start

As soon as I tried to start minetest_game it crashed with the following error. Unable to start game. [edit] This is after the new update.
ModError: Failed to load and run script from D:\Games\Minetest\bin..\mods\hopper_compat\init.lua:
D:\Games\Minetest\bin..\mods\hopper_compat\init.lua:50: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
D:\Games\Minetest\bin..\mods\hopper_compat\init.lua:50: in function 'remove_hopper_support'
D:\Games\Minetest\bin..\mods\hopper_compat\init.lua:65: in main chunk
Check debug.txt for details.

Which release are you using. I have encountered issues with v2.0.0 and v2.0.1 but I never have had it crash which I am currently fixing. I looked at line 50 in the init.lua file and there is no ipairs argument. Try release v2.0.0 and see if you are still encounter this issue.

I can't replicate the crash. Do you have any other mods installed other than the default minetest_game mods, hopper, hopper_compat and connected_chests? What operating system are you using? What minetest version are you running on?
I ran hopper_compat version 2.0.2 in a new world on minetest_game with only hoppers, hopper_compat and connected_chests enabled on the stable release minetest version 5.8.0, and I didn't get the crash message.
As a temporary fix you could enable the protected chest support setting. When this is enabled, the hoppers can interact with locked nodes and the remove_hopper_support function is not used.

I'm using whatever version is on ContentDB. As for minetest version I'm using the newest release of 5.8.0. I will try the newest update that's available in minetest as I see it has updated.

I believe it should be up now.

Make on that is an unblocked website and post it in your notes

I downloaded the mod from here on github and I still get the same error

I downloaded a new install of minetest, minetest_game hopper, hopper_compat and connected_chests and I was able to recreate the crash. I will investigate this and let you know when I find a fix.

I understand if you are busy or just haven't read my last comment so whenever you can get back to me so I or you can close this issue, that would be great.


Fix table and README

The failing lint job was caused by a new linter (exhaustruct). I'm already creating a new config which uses opt-in for linters instead of opt-out


Replace usage of nested PassManager-s in BufferizeOp::apply

As an added bonus we get to avoid re-running cleanup transformations multiple times (might improve compilation time).


Remove ifs from hotpaths using templates or function pointers.

General note that we should remove all the if's we can using templates.

I think we know this now and has been applied in #103


[META] UI/UX Enhancements

This Issue collects relevant UI / UX enhancement ideas.
General

[ ] Consider working with: https://github.com/django-ckeditor/django-ckeditor
[x] Add drag&drop for images/files (#79 #233)
[ ] Copy plugins inside text editor

Nested Plugins

[x] Add real preview and remove <img> (#143, #220, #274)
[x] Allow resizing of images inside the editor (#68, #120)
[x] Improve saving/opening mechanism (#152, #249, #271)
[x] Connect filer with the native CKEditor settings (#307)

Issues

[x] Non-breaking spaces (#131)

@FinalAngel is "Non-breaking spaces" issue fixed? I am still see that kind of output.


chore: ts-ignoring some stuff in tests

These lines in test cause tsc errors both locally and in gax system tests. No idea why/how it passes in Pub/Sub CI but anyway, let's @ts-ignore failing lines for now.

[x] Tests and linter pass
[x] Code coverage does not decrease (if any source code was changed)
[x] Appropriate docs were updated (if necessary)

Hi @alexander-fenster I made some changes so we don't have to resort to ts-ignore :)

Thanks @kinwa91! Can you please make a patch release when this PR lands?

Note: samples test in Kokoro is flaky :(

Merged - please use your release magic tool to draft a patch release to make gax system tests work!  I have no idea how to do it :)


Adapting and Retrying Requests for Basic Authentication System

I'm implementing an app using Alamofire as the networking framework to communicate with the REST API services, and the authentication system we use is the Basic Auth by matching the username and password with the server. I tried to renew the session using the adapter and retrier to post the authentication request again to the server, but it doesn't work. I'm new to Swift and I have no idea since I'm asked to fit with the Basic Auth but most of the web services use the OAuth systems.
Alamofire Environment
Alamofire version: 4.7
Xcode version: 10.1
Swift version: 4.2
Platform(s) running Alamofire: iOS
macOS version running Xcode: High Sierra
Demo Project
The helper class of the request adapter is written as follow:
class APIRequestAdapter: RequestAdapter, RequestRetrier {
    private typealias RefreshCompletion = (_ succeeded: Bool, _ userId: Int?) -> Void

    private let lock = NSLock()

    private var username: String
    private var password: String

    private var isRefreshing = false
    private var requestsToRetry: [RequestRetryCompletion] = []

    var headers: HTTPHeaders = [:]

    var userId: Int? = nil

    // Session ID for user authentication - It expires for every 30 minutes inactivity.
    var sessionId: String? = nil
    var newSessionId: String? = nil

    // MARK: - Initialization

    public init(username: String, password: String) {
        self.username = username
        self.password = password
    }

    // MARK: - RequestAdapter

    func adapt(_ urlRequest: URLRequest) throws -> URLRequest {
        var urlRequest = urlRequest

        let loginString = String(format: "%@:%@", self.username, self.password)
        let loginData = loginString.data(using: String.Encoding.utf8)!
        let base64LoginString = loginData.base64EncodedString()

        if let urlString = urlRequest.url?.absoluteString, urlString.hasPrefix(serverConstant.BASE_URL) {
            urlRequest.httpMethod = "POST"
            urlRequest.setValue("Basic \(base64LoginString)", forHTTPHeaderField: "Authorization")
            urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
            return urlRequest
        }
        return urlRequest
    }

    // MARK: - RequestRetrier

    func should(_ manager: SessionManager, retry request: Request, with error: Error, completion: @escaping RequestRetryCompletion) {
        lock.lock() ; defer { lock.unlock() }

        if let response = request.task?.response as? HTTPURLResponse, response.statusCode == 401 {
            requestsToRetry.append(completion)

            if !isRefreshing {
                refreshTokens { [weak self] succeeded, userId in
                    guard let strongSelf = self else { return }

                    strongSelf.lock.lock() ; defer { strongSelf.lock.unlock() }

                    if let userId = userId {
                        strongSelf.userId = userId
                    }

                    strongSelf.requestsToRetry.forEach { $0(succeeded, 0.0) }
                    strongSelf.requestsToRetry.removeAll()
                }
            }
        } else {
            completion(false, 0.0)
        }
    }

    // MARK: - Private - Refresh Tokens

    private func refreshTokens(completion: @escaping RefreshCompletion) {
        print("[DEBUG] Refresh Sessions.")

        guard !isRefreshing else { return }
        isRefreshing = true

        let urlString = serverConstant.BASE_URL + "/auth"
        let parameters: Parameters=["username":username,
                                    "password":password]

        if let authorizationHeader = Request.authorizationHeader(user: username, password: password) {
            headers[authorizationHeader.key] = authorizationHeader.value
        }

        BackgroundManager.shared.manager.request(urlString, method: .post, parameters: parameters, encoding: JSONEncoding.default, headers: headers).responseJSON { [weak self] response in
            guard let strongSelf = self else { return }
            if
                let json = response.result.value as? [String: Any],
                let userId = json["id"] as? Int
            {
                print("[DEBUG] Renew completed for user \(userId).")
                completion(true, userId)
            } else {
                print("[DEBUG] Error - Failed to renew session.")
                completion(false, nil)
            }
            strongSelf.isRefreshing = false
        }
    }
}

The server URL is the API base URL, for example https://www.myweb.com/api/v1.

Hi @markandshare,
Could you please provide more info as to what doesn't work? Without quite a bit more information, we won't be able to help you.

Thanks @cnoon for your reply.
We are developing an app that uses API services to get and post the data to our server. Currently, we are tackling with the session timeout of our implemented authentication system (basic auth), and we think of using the adapt and retry mechanism to handle the session expiry problem for inactivity.
However, I'm not quite familiar with Swift and I tried to follow the guidelines to setup my handler function for the adapt and retry part but it doesn't work. I'm not sure where I should initialise the adapter and retrier to my session manager.
The workflow is as the following:

Sign in to system (SignInViewController) and the controller has delegation functions to handle other view's requests to server via API.
After user authentication, it brings to Home screen (MainViewController) of our app, which is a master-details view. The home controller has all the delegations to hand over the API requests from other views to SignInViewController.
There are remaining subsequent view controllers for the functions of our app.
All the data in master and details view controller, as well as the subsequent views, has to retrieve from the server by API, through MainViewController and passing back to SignInViewController to perform the API requests.

The problem is actually the handling of expiring a session due to user's inactivity. So we tried to use  your mechanism to re-perform the requests, once the session is invalid. But somehow I can't figure out how to implement it correctly.
Many thanks if you could help me to solve the issue.

Can you post how you are setting up the session? Your adapter seems fine more or less, so I'm guessing it's how you set up the session and are using it.

I 'm not sure if in this site you could find something helpful there are examples that use basic auth but I'm not sure if is this that you want to do

btw https://github.com/Alamofire/Alamofire/blob/master/Documentation/AdvancedUsage.md#adapting-and-retrying-requests docs is out of date.
func retry(_ request: Request, for session: Session, dueTo error: Error, completion: @escaping (RetryResult) -> Void)

@cnoon, Thanks for your reply.
Here's the sample code for initialising the session in the SignInViewController:
class SignInViewController: UIViewController, MainPageDelegate, UIScrollViewDelegate, UITextFieldDelegate {

    // Session Manager
    var sessionManager = Alamofire.SessionManager()
    var headers: HTTPHeaders = [:]

    var username = ""
    var password = ""

    @IBOutlet weak var textFieldUsername: UITextField!
    @IBOutlet weak var textFieldPassword: UITextField!
    @IBOutlet weak var loginButton: UIButton!
    @IBOutlet weak var scrollView: UIScrollView!

    // Login function
    @IBAction func buttonLogin(_sender: UIButton) {
        // Authentication API
        let URL_USER_LOGIN = serverConstant.URL_HOME + "/loginProcessRest"

        username = textFieldUsername.text!
        password = textFieldPassword.text!

        // API parameters for user authentication
        let parameters: Parameters=["j_username": user,
                                    "j_password": password,
                                    "json": "true"]

        if let authorizationHeader = Request.authorizationHeader(user: user, password: password){
            headers[authorizationHeader.key] = authorizationHeader.value
        }

        if !isConnectedToInternet() {
            /* Some action for no network connection */
        }
        else {
            sessionManager = Alamofire.SessionManager(serverTrustPolicyManager: ServerTrustPolicyManager(policies: serverConstant.serverTrustPolicies))
            sessionManager.request(URL_USER_LOGIN, method: .post, parameters: parameters, headers: headers).responseJSON {
                //making a post request
                loginResponse in

                if loginResponse.response?.statusCode == nil {
                    /* Action of Error handling for server error */
                }

                if let result = loginResponse.result.value {
                    /* Store user's profile data to local storage */
                }

                // Check for user's role privilege
                self.getUserPriviliege(userId: String(self.userId)) { returnUserAuthList, error in

                    if returnUserAuthList!.contains("<UNAUTHORIZED_ROLE_NAME>") {
                        /* Action of Error handling for role authentication error */
                    }
                    else {
                        if loginResponse.result.value != nil {
                            /* Some actions for Keychain services */
                            /* Another actions for getting user's other profile data and store locally */
                        }
                        else {
                            /* Action of Error handling for invalid username and password */
                        }
                    }
                }
            }
        }
    }

    func getSomeUserData(completionHandler: @escaping (SomeDataType?, [SomeDataList]?, Error?) -> Void) {
        let URL_GET_SOMEUSERDATA = serverConstant.BASE_API_URL + "/v1/someUserData"
        /* Some variables declaration */

        self.sessionManager.request(URL_GET_SOMEUSERDATA, method: .get, parameters: nil, headers: self.headers).responseJSON {
            //making a get request
            response in
            do {
                someDataList = try JSONDecoder().decode(Array<SomeDataList>.self, from: response.data!)
                completionHandler(someData, someDataList, nil)
            } catch {
                print ("[Error] Error in decode JSON - ", error)
                completionHandler(nil, nil, error)
            }
        }
    }
}

The function getSomeUserData is a sample API request handling function for my app to get data from the server via API. These kind of requesting functions will be called when the data is needed to grab down from server.
Recently, I also had another problem of handling another type session expiry. This expiry problem is because the app was not be terminated (still working in background and using other apps) after the user successfully signed in before. I was trying to check this type of inactivity by determining whether the API returns 401 status and ask the user signing in again. May I know whether there is mechanism to achieve this by the library?
Sorry for my late reply and many thanks for your help in advance.

@SandraMarcelaHerreraArriaga, Thanks for your help.
The site seems to discuss the problem when the authentication system adopted the token approach. However, our app simply authenticates the user by the username and password only with a simple session management (handled by session IDs) without token generation.

@NikKovIos, Thanks for your help.
So does that mean the retrier support the mechanism of session ID management, for my case?

@markandshare There are several issues with the code you posted, some of which will impact your ability to retry request requiring authorization, especially if you have other requests needing to retry at the same time.
First and foremost, you're recreating your SessionManager every time you make a request. This has both a performance impact, as you're recreating quite a bit of state every time, as well as preventing you from using a common retrier for all requests.Your SessionManager should be a singleton, and the logic that builds your requests and issues them to the SessionManager instance should not be part of a view controller. This will be more performant and allow you to take advantage of Alamofire's retry features.
Second, you're not adding a retrier to the SessionManager when you initialize it, so there is nothing attempting to retry. You need to add the retrier when you create the SessionManager or update to Alamofire 5 and add it when you make the request.
Third, you should not be doing any sort of connection precheck when making requests. You should make the request and let it fail, using the error you receive to take any next steps, or to trigger retry. Alamofire 5's RetryPolicy type can do this sort of retry for you automatically.

If there are no additional question, I'm closing this issue.


Add private key support for Azure Key Vault

The private keys for a Tessera node can be stored in an Azure key vault instead of being provided in config or saved in files

Will close for the time being to add some additional features


Why do you think I'm a sybil?

I have only 1 account, create a Google form for the convenience of preparing hair removal. I am the host of the top space "KOTOV INVEST". I sat 24/7, helping the community figure out how your site works. And you put me on the list of sybils. Without explanation!! I ask you to look into this and distribute the golda correctly!!

0x0b699f8b455517E66ea0D4454952A7E89FdCFdaB Here is my wallet, check me, I have passed at least POH in the LINEA network, and good statistics in almost all networks


How should I load MathJax?

I've created a website for my bachelors thesis which I checked now, 3 years later. I saw that the CDN is retired, so I thought I should update it (website - just draw a circle and you will see it)
I had the following in the <head>:
<script type="text/javascript"
  src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>

I tried to simply replace the URL with<EMAIL_ADDRESS>but this made me run into issue #1934 .
I tried to replace the URL with https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.0.1/es5/startup.js but then I get:
MathJax(?): Cannot read property 'MmlTree' of undefined

The new address that corresponds to your original one is
https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS-MML_HTMLorMML

though unless you are using both TeX and  MathML formats in your document, you might want to select a smaller configuration.  TeX-AMS_CHTML is probably sufficient.
If you want to try version 3, then use
<EMAIL_ADDRESS>
If you have a version 2 configuration block, you should use the conversion tool to convert it from v2 to v3 format.

PS, this issue tracker is for reporting bugs in MathJax.  General questions are better asked in the MathJax User's Forum where more people will see them and can respond.

Nice, this works:
https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS-MML_HTMLorMML

Thank you, @dpvc !


Series[int] instead of Series[bool] for masks combined with binary operators

Describe the bug
When combining masks with a binary operator (e.g. &), the returned type is Series[int] instead of Series[bool]. This means mypy complains if you use the mask for indexing.
To Reproduce

Provide a minimal runnable pandas example that is not properly checked by the stubs.

import pandas as pd

df = pd.dataframe({"a": [1, 2, 3, 4, 5]})
mask = (df["a"] < 4) & (df["a"] > 2)
print(df[mask])

Indicate which type checker you are using (mypy or  pyright).
mypy --strict
Show the error message received from that type checker while checking your example.

bug.py:5: error: Invalid index type "Series[int]" for "DataFrame"; expected type "Union[Tuple[Any, ...], Series[bool], DataFrame, List[str], Index, ndarray[Any, dtype[str_]], ndarray[Any, dtype[bool_]], Sequence[Tuple[Union[str, bytes, date, datetime, timedelta, bool, int, float, complex, Timestamp, Timedelta], ...]]]"
Found 1 error in 1 file (checked 1 source file)

Please complete the following information:

OS: Ubuntu 20.04
python version 3.8.10
version of type checker: mypy 0.982
version of installed pandas-stubs: <IP_ADDRESS>010

The workaround I currently use is:
df[mask.astype(bool)]

This was introduced in #378 .
We need to differentiate between pd.Series([1,2,3,4], dtype=int) & 3 and pd.Series([True, False, True], dtype=bool) &  (pd.Series([1,2,3]) > 2)
The former produces Series[int], the latter produces Series[bool], so we have to introduce appropriate overloads for __and__(), __or__(), __xor__() and the reverse operators as well based on whether booleans or ints are passed.
You could go back to version <IP_ADDRESS>003 and your code will work, but we should fix this.


x/vgo: godoc and blog posts don't agree on a single issue tracker

https://research.swtch.com/vgo-tour says:

Please try vgo. Start tagging versions in your repositories. Create and check in go.mod files. File issues at github.com/golang/vgo/issues. More posts tomorrow. Thanks, and have fun!

(funnily enough, the link is faulty, and the target is a 404 due to https://github.com/golang/go/issues/23945)
Meanwhile, https://godoc.org/golang.org/x/vgo says:

This is still a very early prototype. You are likely to run into bugs. Please file bugs in the main Go issue tracker, https://golang.org/issue, and put the prefix x/vgo: in the issue title.

Which also means that this issue might be filed in the wrong GitHub issue tracker :)

Ah, it seems to be fixed in the blog post now, to point to golang/go/issues. Russ mentioned on Reddit that it was already fixed, it just wasn't visible yet due to caching of the blog website.


Open source guide for creating a repo in Linux

Do you think you could make a guide for creating a repo(or setting up with code you already have), I mean, even if it is impossible to create a repo from the terminal, maybe how would you create one online, clone it down, transfer the code over, stage and commit, and push OR you could make a Github desktop version for Linux. I would like a guide on this because, even though I figured it out, it took me a couple hours  in which I could have been programming in.

I can't put my finger on it, but this kind of step-by-step technical how-to documentation seems out of place for this project.
Documentation on new guides.
FWIW you might want to follow https://github.com/desktop/desktop/issues/1525 about Desktop on Linux or look at building and running it yourself https://github.com/desktop/desktop/pull/2271 or you can use https://hub.github.com to create a repo from the command line.

Hi @StevenCopeland, thanks for the suggestion!
I agree with @mlinksva that this is probably too technical and GitHub-specific for an open source guide. However, I think this could be a great candidate for content that GitHub would offer elsewhere. I've passed it on to the appropriate team, thank you for letting us know!

@StevenCopeland A colleague also pointed me to this: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
Hope it helps for the future :)

Thanks! That really helps!


[WIP] update storage to include volumeMode and volumeDevice API parameters

This change is

I think the correct file is under docs/concepts/storage

Can you add this tag to all the new sections:
{% assign for_k8s_version="v1.9" %}{% include feature-state-alpha.md %}

I couldn't find explanation about volumeDevices. Can you add it?

@erinboyd :wave: Because this is documentation for a 1.9 release feature, it needs to base off of release-1.9. I'll make the change, just surfacing it for visibility.

@erinboyd Is this PR ready for review?

Not yet... Tomorrow
On Dec 3, 2017 3:59 PM, "Zach Corleissen"<EMAIL_ADDRESS>wrote:

@erinboyd https://github.com/erinboyd Is this PR ready for review?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/website/pull/6486#issuecomment-348818308,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADLTZxUxZCaIVpKo1naaOtlEzkpuVZ8uks5s8xm-gaJpZM4QvXw3
.

@msau42 this doc is at https://kubernetes.io/docs/concepts/storage/persistent-volumes/
@mtanino I am not going to mention bounding or volumeDevices as this section is just about Persistent Volumes. I will updates such details in the other suggested file.

@msau42 my branch doesn't appear to have a docs/concepts/storage
eboyd:concepts erinaboyd$ pwd
/Users/erinaboyd/block/kubernetes.github.io/docs/concepts
eboyd:concepts erinaboyd$ ls
abstractions	configuration	index.md	object-metadata	policy		tools		workloads
eboyd:concepts erinaboyd$

@ zacharysarah if I change a differnet file do you want me to move to a different branch?


fixed memoization of RankedModel::Ranker::Mapper#finder

Fixed memoization of RankedModel::Ranker::Mapper#finder; it now caches a value for each passed sort order; without this multiple calls to finder can cause weird flipping issues where whole list gets reversed.
May be related to issue mentioned here: https://github.com/mixonic/ranked-model/issues/103

When updating position using ":up", "update_index_from_position" calls "find_previous_two" which calls "finder" with ":desc" parameter - and causes finder to be memoized with descending order which causes problems when rebalance is called when saving. This should fix #103, I added test 37e19f899119dd5825299c8611fff75be1c631a9  which demonstrates problem (moving up and rebalance because positions are consecutive without gaps) and is fixed by this PR

This has now been fixed by #103


Support JSONP Wrapper

Support JSONP Function Wrapper for cross-domain calls.
good information on the requirement can be found here: http://stackoverflow.com/questions/3295692/does-jsonp-require-server-modifications
JSONP requires server side support unfortunately, would be great if RestUp supported it

This may be made redundant by the issue Jark opened about CORS support..  #70
Apparently JSONP is oldhat..

My understanding too. CORS will be available as custom implementation when #77 is done.


GLFW 3.3 error in Python 3.7 on Windows 10

Component
GLFW 3.3
Describe the bug
After succesfull compilation with Visual Studio 2019 calling dv.Show(img) gives the following error in Python 3.7:
RuntimeError: Failed to create window
in function: createWindow (D:\src\diplib\viewer\src\manager\glfw.cpp at line number 70)
in function: Show (D:\src\diplib\viewer\src\dipviewer.cpp at line number 65)

Using FreeGLUT 3.0.0-2 instead of GLFW works fine!
To Reproduce
import PyDIP as dip
import PyDIP.PyDIPviewer as dv
fname='d:/images/acros.ics'
img=dip.ImageReadICS(fname)
dv.Show(img)
dv.Spin()

System information:

Windows 2016
Python 3.7
Visual Studio 2019

Hmm. I just did a test with GLFW 3.3 on Linux and it works. Since GLFW 3.3 adds the glfwGetError function to get an error string, I added that to the error message. Could you reproduce the error with the latest version and report what it says?

Nice! That explained a lot:
RuntimeError: Failed to create window: WGL: The driver does not appear to support OpenGL
in function: createWindow (D:\src\diplib\viewer\src\manager\glfw.cpp at line number 85)
in function: Show (D:\src\diplib\viewer\src\dipviewer.cpp at line number 65)

I'm compiling and building on a virtual server via Citrix Viewer. After testing the build with GLFW on a real computer all works fine.
Thanks for the help Wouter! :-)


rc v0.11.0

Please take a look through changelog updates

Coverage decreased (-0.3%) to 78.158% when pulling e18b7d8ed6e315f4d469cad3bd82754dc125c487 on mparke:rc-v0.11.0 into 85ffca8be854bc7f607a50809773a98a2bf3e084 on linode:master.

Coverage decreased (-0.3%) to 78.132% when pulling d4c0db0306894b00102c45c8c0db5b1c1703393a on mparke:rc-v0.11.0 into 85ffca8be854bc7f607a50809773a98a2bf3e084 on linode:master.

Coverage decreased (-0.3%) to 78.132% when pulling d4c0db0306894b00102c45c8c0db5b1c1703393a on mparke:rc-v0.11.0 into 85ffca8be854bc7f607a50809773a98a2bf3e084 on linode:master.

Coverage decreased (-0.3%) to 78.158% when pulling d4c0db0306894b00102c45c8c0db5b1c1703393a on mparke:rc-v0.11.0 into 85ffca8be854bc7f607a50809773a98a2bf3e084 on linode:master.

Coverage decreased (-0.3%) to 78.132% when pulling d4c0db0306894b00102c45c8c0db5b1c1703393a on mparke:rc-v0.11.0 into 85ffca8be854bc7f607a50809773a98a2bf3e084 on linode:master.

Coverage decreased (-0.3%) to 78.132% when pulling d4c0db0306894b00102c45c8c0db5b1c1703393a on mparke:rc-v0.11.0 into 85ffca8be854bc7f607a50809773a98a2bf3e084 on linode:master.

Coverage decreased (-0.3%) to 78.137% when pulling c7a70fdeb9ddf6247cd6c1719b32f47371467eea on mparke:rc-v0.11.0 into 85ffca8be854bc7f607a50809773a98a2bf3e084 on linode:master.

Coverage decreased (-0.3%) to 78.163% when pulling c7a70fdeb9ddf6247cd6c1719b32f47371467eea on mparke:rc-v0.11.0 into 85ffca8be854bc7f607a50809773a98a2bf3e084 on linode:master.


Trailing slash redirect causes CORS error

What did you do?
Make a CORS request with a trailing slash
What did you expect to happen?
Get back data.
What actually happened?
Get the following error:
`XMLHttpRequest cannot load http://api.site.local/forums/. Redirect from 'http://api.site.local/forums/' to 'http://api.site.local/forums' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://site.local' is therefore not allowed access.
What versions of PHP, Lumen and this module are you using?
PHP 7.1, Lumen 5.3, Nord 1.6
Honestly, this may be more a question than issue, and if so, my apologies. It's quite possible I'm doing something that's erroneous with Lumen or how CORS works. I currently have the config set to 'allow_origins' => ['*'],, so I don't quite understand why this error is coming up.
I'm trying to access pages with a trailing slash, knowing Lumen will redirect them to the page without the trailing slash, but it breaks the CORS request, and while I'd really like to get trailing slashes working, if they don't work, I'd mostly just like to understand why.

Hard to tell without more information, but I guess the headers disappear when Lumen does a redirect. Why don't you send the request directly to the correct URL and thus avoid the redirect?

I doubt it's Lumen that redirects in this case, it's probably your web server. Since you apparently solved this already (sorry for not noticing this issue earlier) I'll close this.

Well, it's my understanding that Lumen is the part that does the redirect; from my research, it strips trailing slashes. That's one of the reasons this bug bothered me: if Lumen does the redirect, it'd be nice to get it to work with that piece of functionality.

AFAIK Lumen doesn't do that, but I could be wrong. Normally this type of redirect is done by the web server itself.

This is caused by your .htaccess in /public directory.
These are the guilty lines:
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]


Support for Jupyter Lab 3.1.x

Would be great to add support for Jupyter Lab 3.1.x ?
https://github.com/deshaw/jupyterlab-execute-time/blob/master/package.json#L59-L64
https://jupyterlab.readthedocs.io/en/stable/getting_started/changelog.html#v3-1
Thanks!

This should work if you install it with the new directions: https://github.com/deshaw/jupyterlab-execute-time#install

Did you enable recordTiming?

Yes, I did. It's something else that is going wrong in my environment. I created a new one and it worked.

I was having this issue when trying to install the extension directly on the JupyterLab interface but the conda command worked smoothly. Thanks for this great tool!

@mlucool, I can confirm this works if you install via pip:
# Works
/usr/bin/pip install jupyterlab-execute-time
jupyter lab build --log-level=DEBUG
jupyter labextension list

It fails when you try to install via jupyter labextension
# Fails
jupyter labextension install --no-build jupyterlab-execute-time
jupyter lab build --log-level=DEBUG
jupyter labextension list

And yes, @mlucool, I was already aware of the setting requirement:

Settings- > Advanced Settings Editor -> Notebook: {"recordTiming": true}

Close the issue?

I am happy to mark this issue closed, given that it works via pip install.

@bschulth thanks, this works for me.
however, when i did this, something else broke, and i had to fix that using this


Icon no dupes

Fix #219
I think fully resting this against a set of pages with multiple icons on it would be good, but haven't yet set that up.
Also probably can't be merged as is due to fstab change for my google drive. I can revert that, but would make setting up test pages with multiple icons difficult because I don't have edit access to https://drive.google.com/drive/folders/1MGzOt7ubUh3gu7zhZIPb7R7dyRzG371j
Before: https://main--franklin-playground--shsteimer.hlx.live
After: https://icon-no-dupes--franklin-playground--shsteimer.hlx.live

I tested this change against my pages that have several fragments with the same icon in them and only one icon sprite is now added.

@ramboz @davidnuescheler I do not have permissions/ability to merge this myself. What is the general process once PR is approved to merge?

@shsteimer Sorry, was on PTO and missed the notification. Thanks for the contribution!


Seeking help for PyTorch conversion

class TextCNNModel(nn.Module):
def init(self):
super(TextCNNModel, self).init()
self.embedding = nn.Embedding(
num_embeddings=config.num_embeddings,
embedding_dim=config.embedding_dim,
padding_idx=config.padding_idx
)
self.convs = nn.ModuleList(
[nn.Conv2d(1, config.num_filters, (k, config.embedding_dim)) for k in config.filter_sizes]
)
self.dropout = nn.Dropout(config.dropout)
self.fc = nn.Linear(config.num_filters * len(config.filter_sizes), config.target_len)
def conv_and_pool(self, x, conv):
    x = F.relu(conv(x)).squeeze(3)
    x = F.max_pool1d(x, x.size(2)).squeeze(2)
    return x

def forward(self, x):
    out = self.embedding(x)
    out = out.unsqueeze(1)
    out = torch.cat([self.conv_and_pool(out, conv) for conv in self.convs], 1)
    out = self.dropout(out)
    out = self.fc(out)
    return out

def model_eval(self, x):
    out = self.embedding(x)
    out = out.unsqueeze(1)
    out = torch.cat([self.conv_and_pool(out, conv) for conv in self.convs], 1)
    out = self.fc(out)
    return out

I am in the process of converting a Python codebase that is based on PyTorch into Rust using the Candle library. I've encountered some blocking issues and I'm looking for assistance. Can anyone help me with this?
The APIs are incompatible between the two, and some methods are not found.

import torch.nn.functional as F
def conv_and_pool(self, x, conv):
x = F.relu(conv(x)).squeeze(3)
x = F.max_pool1d(x, x.size(2)).squeeze(2)
return x

join Huggingface discord server and ask for help in candle channel , i will try to help you out there.

join Huggingface discord server and ask for help in candle channel , i will try to help you out there.

All right, Thanks!


client/authority-discovery: Add option to disable querying

The authority discovery module (1) publishes a nodes address onto the
DHT and (2) queryies the DHT for the addresses of other authorities.
When a node is only allowed to connect to the configured reserved nodes
there is no benefit in discovering other authorities (2). To reduce the
unnecessary overhead this patch adds an option to disable (2) while
still running (1).
In the scenario above where a node can only connect to a small subset of
the nodes (reserved nodes) of the DHT the publishing of addresses (1) is
likely failing as the node can not place its addresses on the node
closest to its chain identity. For now the node will still try to
publish its addresses, hoping that (a) one of its reserved nodes is
close enough to accept the record and (b) the reserved node will
republish the record to other nodes.
polkadot companion: https://github.com/paritytech/polkadot/pull/1262
Relates to https://github.com/paritytech/substrate/issues/6031.

@mxinden needs resolving.

CC @mxinden

Closing here as the authority discovery is likely going through a larger change (https://github.com/paritytech/substrate/issues/6595). Sorry for keeping this open so long.


Disable permission alert for simulators

Since bluepill generates new simulator every time, permission alerts will keep coming.
I wonder if we have a way to disable them?
Permission alerts like:

location
push notification
ect...

please check out https://github.com/plu/JPSimulatorHacks

Hmm, looks like they don't have support to disable location and notification permissions.
Thanks @oliverhu

Close as there is no plan to support permission alert dismiss. A list of supported permission https://github.com/plu/JPSimulatorHacks includes:
@"kTCCServiceAddressBook",
@"kTCCServicePhotos",
@"kTCCServiceCamera",
@"kTCCServiceMicrophone"


Document Ephemeral Containers for 1.16

Documents Ephemeral Containers kubernetes/enhancements#277 for the 1.16 release

/milestone 1.16

Filed #15995 about assigning milestones

@simplytunde Ack, I plan to have it ready much sooner.

@jimangel @zhangxiaoyu-zidif @simplytunde This is ready for a first review

@sftim Thanks for the feedback and suggestions!
The duplication is intentional, and I think it's appropriate given that we're introducing a new concept. Many of the reviewers of this features had legitimate concerns that users might misunderstand the feature, so I'm attempting to overcommunicate our intentions to avoid the scenario where someone (for example) starts using ephemeral containers to back up their production critical database.

How about mentioning Job in this documentation, and maybe also sidecar containers? Those serve as examples of things that ephemeral containers are not.

Preview pages:
https://deploy-preview-15994--kubernetes-io-vnext-staging.netlify.com/docs/concepts/workloads/pods/ephemeral-containers/
https://deploy-preview-15994--kubernetes-io-vnext-staging.netlify.com/docs/reference/command-line-tools-reference/feature-gates/
https://deploy-preview-15994--kubernetes-io-vnext-staging.netlify.com/docs/reference/glossary/
https://deploy-preview-15994--kubernetes-io-vnext-staging.netlify.com/docs/tasks/debug-application-cluster/debug-running-pod/

@verb The doc deadline to have this merged  is 9/9

I've split the concept and task docs into separate commits. I'll send a PR for the task when we find a home for the plugin.

Good documentation.
/lgtm

/approve


Feature/prefix css class

fix: prefixed internal css classes (#93)

@UncleDave merge this. Still working on custom classes...


Using getResource()

In chapter 3, to let the ExecuteAround example run we need to convert the filename in a resource filename.
A simple way could be via a call to the getResource() method from Class and then converting the resulting URL to string by getPath().

你好，您的邮件已收到


a plane is measured as a concavity

| Camera Model                       | {D435} |
I have recently encountered a problem. A plane is measured by the camera as a concave surface.

As is shown above, The depth value in the middle of the plane is lower than the two sides.I have recalibrated the camera, and things get a little better.But the depth value in the middle of the plane is still 10-20 cm lower than the two sides. I hope somebody can help me and reply me  quickly..

The way the image 'bows' in at the center reminds me of a distortion phenomenon that is rare (at least in Librealsense) called 'pincushion distortion' (the opposite of barrel distortion, which bulges outward).  I have not seen a reported case of it in Librealsense since the old 1.12 legacy SDK in 2016.

Here's the case that was referenced:
https://github.com/IntelRealSense/librealsense/issues/61#issuecomment-194380453
Hopefully, if it is a pincushion distortion, a member of the Intel RealSense team on this forum can provide helpful insight about how to correct it.

Thank you for the quick reply.
I have five realsense d435 camera and only one camera doesn't have the distortion. Haha, maybe this phenomenon is not rare for me.  And the depth value in the middle is lower than two sides. Is it a barrel distortion rather than pincushion distortion?

A barrel distortion bulges outwards instead of inward.

Actually, you have a point.  If the depth reading at the center is lower, this would suggest that the pixels are nearer to the camera than the ones at the side, indicating a bulge rather than a depression (where you might expect the pixels to be further away and have a higher depth value).  Apologies for that!

So how can I solve this problem. Can I only return to the factory for repair? I have a more urgent project, and long-term maintenance is unbearable.

If cameras are within the return period (30 days from purchase I believe) then they can be returned to Intel (if you bought it from them) or from the retailer that you bought it from.  There is only refund or replacement, as Intel do not have a repair facility for RealSense cameras.
Could you check what temperature your cameras are running at please?  This can be done in the RealSense Viewer.  For a cold startup, I would expect to see ASIC temperature values of mid to late 20's.  If your cameras have temperatures of 40 or more from cold startup, that would suggest a problem.

I think Dynamic Calibrator software may help. Depth image is synthetic and is generated using extrinsic calibration between left and right sensors. In our experience relative rotation between the two sensors can create concave / convex depth. @agrunnet - what is your opinion?

Please let us know if you need further assistance about this topic. Thank you.

Even after dynamic calibration we are facing pincushion distortion!

We are also seeing heights in the center to be lower than at the fringes. Our camera is mounted 24" from a flat conveyor belt. We measure the heights of objects by taking a difference of empty conveyor distance measured minus distance measured to the center of the object. We see a difference of 2cm (0.02m) between the center and the fringes. If the height of an object observed in the center is 10cm, on the fringes it shows up as 12cm.

And they no solution for this or they dont want to give!

As a depth camera, the D400series is not satisfactory in terms of measurement accuracy. You can't restore the geometry of objects well on point clouds. However I can give some of my previous solutions. It is to fit these errors with a function. Although this method is not very good, it is barely enough. Hope this helps you.

Accuracy is one thing. Distortion(Barrel, Pincushion) is another. Intel should make software to rectify distortion dependent on intrinsic values open source. That will be a step truly towards open source and in interest of developer community. After this experience we are hesitant to try out any Intel products be it Lidar Cameras, open vino etc..

@Cavendish-Koo we were actually looking to develop similar function, it will be great if you can share your solution. Thank you!

I found that the distortion of a point on the depth image is mainly related to the pixel distance from the center pixel of the image and the distance from the camera to the target.
I first placed the camera parallel to a plane, then acquired several depth images at different distances and recorded the true distance. This way we can get some triples (pixelCol, depthValue, realDistance). Then I used matlab to fit this surface.
In this way, I can get realDistance according to pixelCol and depthValue. This method ignores vertical distortions. Hope this will help you.

@octalframes That makes sense. But as developers, all we can do is feed back problems to manufacturers and think about possible solutions. I hope both manufacturers and developers can do better and better.


When using Jackson to serialize OAuth2AccessToken, it will never expire, fix this problem.

@xyrc Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@xyrc Thank you for signing the Contributor License Agreement!


Tile component

IT'S ALIVE

Classy one

IT'S ALIVE

hahaha yeah it is :D Gonna finish this money machine. Wanna join ? We gonna plan on the next upcoming days.

hahaha yeah it is :D Gonna finish this money machine. Wanna join ? We gonna plan on the next upcoming days.

I'll try to squeeze in a PR or two, according to my availability. Free of charge :P

hahaha yeah it is :D Gonna finish this money machine. Wanna join ? We gonna plan on the next upcoming days.

I'll try to squeeze in a PR or two, according to my availability. Free of charge :P

Free of charge ? That is a good deal !! xD
Jokes around, ill finish this and pitch for investment. Too tired of working to others.
Carlos is onboard. We gonna finish this, decided - if u wanna have a chat on it, could not find u on discord give me a ping !
Good to catchup too long time no see :D


Config entry "solidCraftingBlock", multiple blocks possible ?

Hi, is it possible to add multiple blocks under the config entry for
solidCraftingBlock ?
For example I'd like to make it so, that you can craft colored blocks from
either cobblestone, stone or concrete.
Is this possible ?
And what would the syntax for the config be ?
Thanks!

The crafting block config values are ore dictionary names. You could combine it with a mod like craft tweaker that lets you create a new ore dictionary entries with other items, but I can't really help with that since I've never used it myself. Not sure if there are other simpler mods that do the same thing... So far its been more of a "I would like to use stone blocks instead" type of thing. Rather then a collection of different unrelated blocks.
As it is its just a single ore dictionary value.

I see, I try it with CraftTweaker then, that might just work fine.
Thanks!


Replace Recommonmark by MyST

Recommonmark is deprecated and no longer recommended by Sphinx. It should be replaced by MyST.

[ ] requirements.txt
[ ] docs/docs/source/conf.py (extensions). See DSMS docs
[ ] Admonitions
[ ] eval_rst directive

Getting started guide from MyST

/cib

I spotted a bug in https://simphony.readthedocs.io/en/dev/contribute.html, probably due to this change.

/cib


[tech-insights] Allow logical conditions on scorecards

Allow logical conditions on scorecards
This PR adds the optional prop filter to EntityTechInsightsScorecardContent and EntityTechInsightsScorecardCard which works in conjunction with checkIds.
checkIds has the drawback of needing to be an exact set of strings, meaning that if you add/remove/rename checks in the backend, the frontend needs to be precisely updated to match those. When having grouped sets of EntityTechInsightsScorecardContent, it is easier and more flexible to group by e.g. the beginning of strings or the occurrence of a word in the name, and have a few filter functions handle this, such as isCodeQualityCheck(), isSecurityCheck(), isMetadataCheck().
This way you don't need to provide checkIds. However, when displaying a couple of EntityTechInsightsScorecardContent side-by-side, this will cause multiple identical /checks/run/ API calls. This PR adds an API cache of 2 seconds, such that multiple concurrent calls to the exact same path and payload will reuse the same call.
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Hi @grantila, sorry, this one fell threw the cracks. Could you please rebase as I know there's been changes to these files and that should also help resolve the conflicts 👍
Hi @Xantier, can you please give this a look? I'm not terribly knowledgeable around this plugin's code base so would like your eyes on it first.

@grantila can you rebase?

Hi @grantila, any chance you can rebase this? Happy to merge once that's done and we get a green CI build 👍

Sorry for the delay @awanlin, I have rebased now. The logic was partly moved to the common package, as that's where the API client was moved into. Apart from that, no logic change.


App not resume after press home button iOS 8.1.2 (black screen)

I have posted this in robovm but this seem libgdx issue.
I use robovm 1.0 beta 1 and libgdx 1.5.0. After press home button my iPad Mini 2 iOS 8.1.2 it can not resume (press home button and then click app icon), it just show black screen. This not occur with robovm 1.0 alpha 4 and libgdx 1.4.1

I have this issue now.
It only happen when the app goes to the background. When this happen it fires the pause method, but never call resume.
I have the latest LibGdx snapshot (1.5.3-SNAPSHOT) and Robovm 1.0.0-beta-01 (beta 02 and snapshots doesn't work with IOS Bindings so I haven't use them), and robovm-gradle-plugin 1.0.0-beta-01.
Also plain IOS app (meaning no ext module like IOS Bindings from @blueRiverInteractive) when leaving the app in the background and then coming back, gives the black screen, resume() is not called.


Write functionality to just output solution notebook

ie remove all checks but don't remove solutions

Closed by #41

Closed by #41

Closed by #41

Closed by #41


JAMES-3705 Refactoring POP3 handlers to be more extensible

A minor refactoring to make the POP3 RETR/TOP handlers more easily extensible: Retrieve the message content via a separate protected method.

Commented in the Jira ticket:
"My original intent was extensibility with minimal code change, hence just the lonely protected method. It still makes sense for this purpose, e.g. we hook up a custom monitoring solution that probably nobody else would be interested in.
I agree that it also makes sense to improve James metrics for POP3. I can take a look at integrating MetricFactory, but this is a different scope and a bigger change. I would prefer to do this in a separate ticket."
And a separate PR of course.

@ottoka : I let you this one for your first merge, as a test for you 2FA github setup ;-)

Thanks, but it seems I still do not have the proper access rights. The only buttons I see here are "Comment" and "Close" (which I now know is something different). And the box at the bottom says "Only those with write access to this repository can merge pull requests." :-(

Well don't hesitate to ask if you want us to merge this on your behalf...

I did found this link, that might be usefull!
https://cwiki.apache.org/confluence/display/OPENWHISK/Accessing+Apache+GitHub+as+a+Committer
Here are the steps

Verify you have a Github ID enabled with 2FA https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/
Enter your Github ID into your Apache ID profile https://id.apache.org/
Merge your Apache and GitHub accounts using GitBox (Apache Account Linking utility): https://gitbox.apache.org/setup/ You should see 3 green checks in GitBox

Wait at least 30  minutes for an email inviting you to Apache GitHub Organization and accept invitation

After accepting the Github Invitation verify that you are a member of the team https://github.com/orgs/apache/teams/james-committers

Yes agreed. I remember before doing those steps I could merge but only from the command line. After doing this, could merge directly from the github interface. You should follow this procedure @ottoka :)

BTW I added this procedure (amongst others) in the Apache James guidelines! https://github.com/apache/james-project/pull/856

Aha, I was missing the third step about gitbox! After doing that I was added to the james team about 30 mins later, and now I finally see a "Merge pull request" button. Thanks for digging up the step-by-step list!

Seems it worked. By default the button seems to create a merge commit, but there are also "squash" and "rebase" options. Which one do you prefer?

Seems it worked. By default the button seems to create a merge commit, but there are also "squash" and "rebase" options. Which one do you prefer?

Whatever as long as a clean history is produced.
-> If there is a single commit, or a bunch of commits that deserve to be one commit I prefer squash
-> If a complex and clean history was produced then I rebase to preserve it: the author likely put greate efforts on it. Merge would also achieve that goal.
-> A complex not clean history, I would ask the author to rebase himself...

Seems it worked. By default the button seems to create a merge commit, but there are also "squash" and "rebase" options. Which one do you prefer?

Koodo!
The project documentation definitly lacks some committer docs - I often end up looking for ASF procedure links for long period of time. Hopefully https://github.com/apache/james-project/pull/856 will change that. If you see other things to include in it...


Tdr scripts backend

I've added in the missing line breaks and I've ran terraform fmt over the whole thing.


Do not update hosts file with internal networks endpoint IP

Related to https://github.com/docker/docker/issues/24637, https://github.com/docker/docker/issues/27157

ping @sanimej @mrjana

LGTM


26.x [WFLY-15799] Upgrade to Kafka client 3.1.0

https://issues.redhat.com/browse/WFLY-15799
upstream: https://github.com/wildfly/wildfly/pull/15172

Thanks, @kabir


Question about the output of the Unet

Hi, thank you so much for your work and sharing.
I want to retrain the Unet from the beginning, may I ask what is the output of the Unet according to this ddpm scheduler? Whether it is the random noise or the noise computed with the specific time step? I saw other codes, they use the random noise as the output of the model, but my model only works when I used the later one.
Highly appreciate your help!

Hi! The input of the Unet is image + noise + timestep, the output of the Unet is noise (how much noise was added to the input).
If you want to train your own Unet, I recommend training a Diffusion Model, and not a Latent Difusion Model. Please check my implementation of the DDPM paper at: https://github.com/hkproj/pytorch-ddpm
This implementation also has a training code.


[Question] How to refresh token when i use DefaultAzureCredential to get token to connect Azure MySQL

Library name and version
Azure.Identity 1.8
Query/Question
Here is my code in program.cs file
    var credential = new DefaultAzureCredential();
    var token = credential.GetToken(new Azure.Core.TokenRequestContext(new[] { "https://ossrdbms-aad.database.windows.net" }));
    var connectionString = $"Server={builder.Configuration["DatabaseConfiguration:Server"]};" +
                           "Port=3306;" +
                           "SslMode=Required;" +
                           $"Database={builder.Configuration["DatabaseConfiguration:Database"]};" +
                           $"Uid={builder.Configuration["DatabaseConfiguration:UserId"]};" +
                           "Password=" + token.Token;
    var connection = new MySqlConnection(connectionString);

When i try to connect mysql by this way, (I'm a newer on c#, actually i also try DI, but it doesn't refresh token, so i try this simple way from offcial document, hope it can work), so how to refresh token when i use DefaultAzureCredential to get token to connect Azure MySQL, anyone can give some example to me ?
Environment
dotnet version is 6

Hi @clgcn.   Thank you for reaching out and we regret that you're experiencing difficulties.  The Azure Identity credentials will refresh tokens when GetToken or GetTokenAsync is called, either for each invocation or when the cache entry is near expiration, depending on the credential used.
In this case, you're hardcoding the token into the connection string, which represents it as a static value.  Since nothing is calling GetToken or GetTokenAsync on the credential, the token value will never change.   To update the token, you would need to have an API that allows you to do so in the MySql package that you're using and call it with a new token value that your application requested via GetToken or GetTokenAsync.
Unfortunately, there is no further guidance that the Azure SDK team can provide.  We would suggest consulting the documentation for the MySql package that you're using and/or engaging their support process as your next step.

Hi @jsquire , appreciate for your reply, actually i found some comment from DefaultAzureCredential class,
 /// <summary>
        /// Sequentially calls <see cref="TokenCredential.GetToken"/> on all the included credentials in the order
        /// <see cref="EnvironmentCredential"/>, <see cref="ManagedIdentityCredential"/>, <see cref="SharedTokenCacheCredential"/>, and
        /// <see cref="InteractiveBrowserCredential"/> returning the first successfully obtained <see cref="AccessToken"/>. Acquired tokens
        /// are cached by the credential instance. Token lifetime and refreshing is handled automatically. Where possible, reuse credential
        /// instances to optimize cache effectiveness.
        /// </summary>
        /// <remarks>
        /// Note that credentials requiring user interaction, such as the <see cref="InteractiveBrowserCredential"/>, are not included by default.
        /// </remarks>
        /// <param name="requestContext">The details of the authentication request.</param>
        /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param>
        /// <returns>The first <see cref="AccessToken"/> returned by the specified sources. Any credential which raises a <see cref="CredentialUnavailableException"/> will be skipped.</returns>

can you help to explain what is mean refresh automatically ? and BTW, i use the code my previous comment, looks like it works fine, i didn't get token expired error anymore from last night

That comment is basically the statement that I made above:  when GetTokenAsync or GetToken is called, the token will be refreshed.   In your scenario, you requested a token and then used it as a string value as part of your connection string.    At that point, the Azure.Identity credential is no longer being used so no calls to GetToken are made.
If you want to refresh the token, something needs to be calling GetToken so that the logic runs to allow token renewal.   This is why the Azure SDK clients accept a TokenCredential during construction - they will implicitly refresh the token.   In your implementation, MySql is not using the credential - just the value of the token embedded into  its connection string.
To distill that to the important part:  the return value of credential.GetToken(...).Token is just a string, like any other .NET string.


你好，请问template和jsx能不能混写在一个template里

What problem does this feature solve?
你好，请问template和jsx能不能混写在一个template里 v-jsx-xxx 的标签 代表了是jsx组件，这样在data或methods里定义一个方法，return一个jsx写法的标签模块，那么也会被填充到template里渲染成组件
What does the proposed API look like?

Mixing two syntax in one template causes chaos and I think we won't put efforts into this.
Feature requests require a proposed API.


How to get launchId of completed launch to use in separate API call

Hi There,
Is it possible to access the launchId for a launch created via this library?
Context:

I need to create the launch via this plugin
Access launchId
Query API directly inputting launchId
Accessing launch stats to build up message to post to slack along with the launchURL as well

N.B: previous library used wdio-reportportal-reporter (3rd party library) allowed access to it via environment variable:
e.g: const uuid = process.env.RP_LAUNCH_ID;
Any help appreciated

Hi @CraigAndrew !
We have launchUUIDprint option in the RP client lib. We plan to support it in this agent as well.
Now it supports only two output targets: 'STDOUT', 'STDERR'.
Will it suites you if an additional 'environment' output target and may be 'file' will be added to it?

Yes that would be brilliant thanks. Right now I'm making a network call to
fetch the latest launches and using the latest one which is not robust
because it can clash with other launces that finish at the same time
On Wed, Oct 25, 2023 at 8:48 PM Ilya @.***> wrote:

Hi @CraigAndrew https://github.com/CraigAndrew !
We have launchUUIDprint
https://github.com/reportportal/client-javascript#:~:text=eg. timeout.-,launchUuidPrint,-Optional
option in the RP client lib. We plan to support it in this agent as well.
Now it supports only two output targets: 'STDOUT', 'STDERR'.
Will it suites you if an additional 'environment' output target and may be
'file' will be added to it?
—
Reply to this email directly, view it on GitHub
https://github.com/reportportal/agent-js-webdriverio/issues/50#issuecomment-1779857485,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2TZ7EH2DF6UQIH7MQL5EDYBFNJLAVCNFSM6AAAAAA6MYAKT2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZZHA2TONBYGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

Would be great if there was basically any way to get the UUID or URL of a launch after it completes, especially a merged launch

Hi guys!
We've just released this feature in client-javascript version 5.1.3.
So you can use this feature by simply reinstalling the agent-js-webdriverio version.
The documentation has been updated accordingly.


Added enableObjectStream option

Background
I've got a similar use case with the issue raised: https://github.com/expressjs/morgan/issues/181.
I am using Morgan for a lot of my projects and I would like to be able to write an Object in a stream instead of just a string.
Reason is that I am using Winston which supports meta-data for reach-er logs. I would like to use morgan and pass an object to Winston - instead of parsing a string.
Changes

Added a backwards compatible enableObjectStream in morgan() call.
Defaults to false
It needs a custom format function and a defined stream to work.
The only diff is that if the above are true (customFormatFunction && stream && enableObjectStream), we are not concatenating a \n (newline char), hence morgan can stream an object.

Any improvements/changes are welcome.
TODO:

Update README
Update HISTORY

but I'd like to get some opinions first 😄

@dougwilson  Could you please have a look 😄  Thanks !

I will after the express 4.17 release is out, as there was a premature vulnerability listed and it is our number 1 priority right now, I hope you understand.

@dougwilson
Thank you for getting back to me 😄 No worries I do understand that you have other priorities
I did some digging and I've realised that a lot of people tried to make this change to Morgan but it never went out.
Morgan is being used by numerous of our project and does the job, other than the fact that it emits a string that we have to parse.
It would be great if we can work something out, otherwise, we might have to implement our own middleware
Thanks again and looking forward to your review & opinion

@dougwilson
Any updates?
I can see that express 4.17 was released last week?
Thanks!


remote valves

@rultor release, tag is 0.27.0

@rultor release, tag is 0.27.0

@yegor256 OK, I will release it now. Please check the progress here.

@rultor release, tag is 0.27.0

@yegor256 Done! FYI, the full log is here (took me 2min).


Add clang-format comments

Disable clang-formatting for volk source files.
This will simplify integration with other projects, such as ANGLE,
where clang-formatting may significantly change the code and make
comparisons more difficult.

Thanks!

Just to confirm for possible future changes - the same impact could be achieved by adding a .clang-format to this repository, right? (want to make sure that if I end up doing this the clang-format markers can be removed)

Yes, a .clang-format file with the contents "DisableFormat: true" would achieve the same result.


LightNovelReader: Search Broken

Source information
lightnovelreader.org
Steps to reproduce
Search novel in lightnovelreader.org
Expected behavior
novel search from lightnovelreader.org should appear
Actual behavior
I tried searching novels in lightnovelreader.org and all search results received are resulting like this. No matter what name I input, all search results are the same ..

LNReader version
v1.1.10
Android version
Android 9
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 1.1.8.
[X] I have updated all installed extensions.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

The the app is using the detailed search present on the website which seems to return the same search result.

It was moved to ReadLiteNovel in v2 app
You should use v2 beta app or wait for its stable release


loadPath as Array - not importing mixins

I'm trying to define a couple .scss files within my loadPath array, and upon compilation, am getting an error that a mixin is undefined:
./grunt/sass.js
'use strict';

module.exports = function() {
  return {
    dist: {
      options: {
        loadPath: [
          'node_modules/[module_name]/modules/mixins.scss',
          'node_modules/[module_name]/modules/helpers.scss'
        ],
        noCache: true,
        sourcemap: 'none',
        style: 'compressed'
      },
      files: {
        'index.css': 'index.scss'
      }
    }
  }
};

index.scss
#app-example-component {
  @include rounded(5px);
}

err
Running "sass:dist" (sass) task
Error: Undefined mixin 'rounded'.
        on line 2 of index.scss, in `rounded'
        from line 2 of index.scss

If this has been answered, sorry for the repeat issue - I couldn't find a similar solution elsewhere.
Thanks in advance.

In your sass.js remove one of the array items and change it to:
'''
node_modules/[module_name]/modules/
'''
Then in your index.scss import both files
'''
@import 'mixins';
@import 'helpers';
'''


2.0.0 - Add support for loading unpacked ZIPs

This is a major update. It includes support for loading unpacked mods without ZIPs, which lets you work on mods in the Godot editor without needing to pack them into ZIPs whenever you want to test them.
I've also updated the docs to recommend putting extender scripts in a dir named "extensions". This helps keep your mod folder tidy, as all extender scripts are separate from your mod's core files (eg ModMain.gd).
Breaking Changes
This update changes the way mod ZIPs are structured. I've updated the README.md to describe their new structure. In short, the zip's filename is now arbitrary, and the contents of the ZIP are loaded into the root. A mod's own files should be included in a folder called "mods-unpacked", and internal references to your mod's files should follow that path, eg:
res://mods-unpacked/Author-ModName/ModMain.gd
Here's an example ZIP:
Brotato-VersionString.zip
And here's how it looks when editing a Brotato project:

Closes #7

Compiled PCK for Brotato:
https://brotato.codemuffin.com/_files/Brotato--ModLoader-2.0.0.pck
ZIP of a few Brotato mods for testing (ContentLoader, Invasion, VersionString):
https://brotato.codemuffin.com/_files/mods.zip


Npm fails on parallel tox invocation.

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

1.0.1
GitHub release

Your semantic-release bot :package::rocket:


Updated to support Flutter v3 null safety. Fixes WidgetsBinding error warning.

Fixes: Flutter: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null

Merge this!!!!!

@10ndavis  Shouldn't you also update pubspec.yaml  to use flutter >= 3.0?
environment:
  sdk: ">=2.17.0 <3.0.0"
  flutter: ">=3.0.0"


Transfer OAuth 2 examples

from https://github.com/rabbitmq/rabbitmq-oauth2-tutorial.

Note that we intentionally do not link to this guide as it is not yet ready for prime time.
It will be "soft launched" for a a few select large scale users.


[How to] fine-tune MAGNeT with custom data?

Hi all
Please answer if you can help

Can I finetune the MAGNeT Music Generation Model
If so, What are the things I need like - data format, compute, etc.
What else to consider?

I'm also highly interested in these questions. Preferably some google colab that shows the process.


AvaloniaResource inclusion results in erroneous embedding when resources are outside of project folder

Describe the bug
Given referenced Avalonia resources:
<ItemGroup>
<AvaloniaResource Include="..\avaresdir\**">
    <!-- LinkBase does not seem to matter - whether it is present or not -->
    <LinkBase>avaresdir</LinkBase>
   </AvaloniaResource>
</ItemGroup>

and the dir structure:
src\app.csproj
avaresdir\*.png

The resources get resolved as avares://AppProjectName/../avaresdir/resourcefile.png instead of avares://AppProjectName/avaresdir/resourcefile.png. The generated -AvaloniaResources resource stores resource paths as /../avaresdir/resourcefile.png.
This would all be ok, but it fails at runtime, because regardless how the resource is referenced in xaml (whether as avares://avaresdir/resourcefile.png or avares://AppProjectName/avaresdir/resourcefile.png or averes://AppProjectName/../avaresdir/resourcefile.png or avaresdir/resourcefile.png or /../avaresdir/resourcefile.png), it complains that file is not found, presumably because the asset loader loads resources as /avaresdir/resourcefile.png.
To Reproduce
Include resources from outside project folder:
<ItemGroup>
<AvaloniaResource Include="..\avaresdir\**">
    <!-- LinkBase does not seem to matter - whether it is present or not -->
    <LinkBase>avaresdir</LinkBase>
   </AvaloniaResource>
</ItemGroup>

Expected behavior
Regardless of whether the files are physically coming from, they should be properly included/embedded. LinkBase should be taken into account when including such resources from external directories.
Avalonia version
11.1
OS
Windows
Additional context
Furthermore there are related issues:

File Symlinks are not supported - fails at compile time with totally unrelated error message. In other words if the included files, are not real files, but symlinks, it fails entirely, which is pretty disappointing since symlink support is important.
<AvaloniaResource> does not support Visible element is when included from external dir will not be shown in Solution Explorer in any case, again just because it is not coming from within the project dir should not make it not appear in solution explorer when LinkBase is specified.

LinkBase is not handled at all indeed. But Link is.

If anybody want to take a look at this issue, LinkBase support can be added in this part of the code:
https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Build.Tasks/GenerateAvaloniaResourcesTask.cs#L40


Should altLabels follow conventions outlined for prefLabels?

See #227 for conventions defined for prefLabels.

Peter, Boris: altLabels may come from other sources, we shouldn't govern them.


Fixed typo

No worries at all, happy to help and thanks for a great tool! Hopefully the new commit closes this out for you.

Yep, this looks good, thanks for this. And no problem, I'm happy you find it useful!


claude integration

So happy to find this, I wrote and am using something similar, which I'll now ditch for this.
I used an external command line tool (https://llm.datasette.io/) so I could use different LLMs and compare them, and Claude Opus was better probably 80% of the time than GPT4 (I was doing pretty much all my tests in both in parallel). When Claude wasn't better, they were roughly even. There might have been one or two instances where GPT4 was better, but nothing notable.
Anyway, wanted to mention this because you might want to bump up the priority of supporting Claude, or using a third party lib like I did to abstract the LLMs away. This will give your project a real boost... until GPT5 switches it around inevitably of course

I also had very similar observations. I am a ML Eng. and I use LLMs daily for my work. Using the exact same prompts, the output of Claude is much more structured and direct that gpt4 around 80% of the time.
It would a huge bump to the project if we can get Claude integration into this.

This is definitely on the short term roadmap 👍

@qume @ma-abdellaoui Claude is now supported via OpenRouter.ai! Just make an OpenRouter account/api key and then use plandex set-model to try it. I've been playing with it and results are impressive so far.


Time changes for HackIllinois 2020

Updated times to HI 2020

Might want to make it an API Call instead to reduce error


changed email to no longer be staff

Description of changes

Changes central point of contact to eilish instead of staff
Issue Resolved

Fixes #939
Maybe in the future we should look at pulling some constants out of the inline values that are replicated.

ping @wimo7083 Ready for final review / merge

lgtm


Cannot re-save a permanently deleted file with same filename as when first created

Issue Type: Bug

Create a new file, with some text content
Save File (MyFile.txt)
In file explorer, permanently delete MyFile.txt
In VSCode, note file is suffixed: "MyFile.txt (deleted)"

Attempt to re-save file (File > Save As...)
Use same filename as before (MyFile.txt)
Note file is not saved, and no warnings given

Workaround
6a: Use a different filename than before (MyNewFile.txt)
Possibly related
#90090
VS Code version: Code 1.45.1 (5763d909d5f12fe19f215cbfdd29a91c0fa9208a, 2020-05-14T08:27:35.169Z)
OS version: Windows_NT x64 10.0.17134
Extensions (13)

Extension
Author (truncated)
Version

markdown-jira
chi
1.1.0

xml
Dot
2.5.0

LogFileHighlighter
emi
2.8.0

vscode-peacock
joh
3.7.2

chat
kar
0.34.0

csharp
ms-
1.22.0

mssql
ms-
1.9.0

cmake-tools
ms-
1.4.0

powershell
ms-
2020.4.0

vsliveshare
ms-
1.0.2274

vsliveshare-audio
ms-
0.1.85

vsliveshare-pack
ms-
0.4.0

markdown-all-in-one
yzh
3.0.0

Good catch indeed!


Failing to display correct background colours

Attach (recommended) or Link to PDF file here:
HumeSection2a.pdf
Configuration:

Web browser and its version: PDF.js is being used in Chrome Version 92.0.4515.107 but same problem if PDF is simply viewed in Firefox 91.0.1 (64-bit)
Operating system and its version: Mac OSX version 10.12.6
PDF.js version: 2.9.359
Is a browser extension: No

Steps to reproduce the problem:

View PDF in Firefox or using PDF.js

What is the expected behavior? (add screenshot)
The pdf appears correctly if loaded directly into Chrome/Safari/Opera/Preview/AdobeReader

What went wrong? (add screenshot)
As it appears in Firefox or when using pdf.js in any browser

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
https://HigherPhilosophy.github.io/MoodleFiles/web/viewer.html
higherphilosophy.github.io/MoodleFiles/web/viewer.html?file=../Hume/HumeSection2a.pdf

Duplicate of #5046


Remove "Microsoft Docs" from titles

A wee bit of a PR to remove the "| Microsoft Docs" from titles.

Can you resolve merge conflicts @GuardRex?

:rat: 🍔 Roasted Rat Burgers! 🐀 🍔 ... it's due to the latest batch of SEO updates. I'll fix it! lol :smile:

@mairaw kk ... think we're good now. :grinning:


Add pipe delimiter to CSV normalizer

Fixes https://github.com/CartoDB/cartodb/issues/8097

@ethervoid :eyes:

❄


StateError (Bad state: Stream has already been listened to.)

First, just want to say that I have really been enjoying working with Serverpod, so thanks for all the hard work put into this.
I am creating and disposing this cubit (view code snippet below) every time I enter a screen. When the cubit is created the first time I encounter no issues. However, when I navigate back and then return to the same screen I get the error " StateError (Bad state: Stream has already been listened to.) ". I checked the previous closed issue on this github repository and I have made sure to close the connectionHandler when the cubit is closed. I also double checked that this method is actually being called. The _listenToServer(); function is the one causing the issue for me. I also made sure this function is not being called twice on cubit creation.
If this isn't a bug then any explanation as to what I am doing wrong would be great.
class GameCubit extends Cubit<GameState> {
  late final StreamingConnectionHandler connectionHandler;

  GameCubit() : super(const GameState.initial()) {
    connectionHandler = StreamingConnectionHandler(
      client: client,
      listener: (connectionState) {},
    );

     _listenToServer();
       connectionHandler.connect();
  }

  Future<void> _listenToServer() async {
    await for (var update in client.gameLobby.stream) {}
  }

  @override
  Future<void> close() async {
    connectionHandler.close();
    return super.close();
  }
}

There is a method for resetting the stream, you may want to have a look at that. Pixorama https://pixorama.live and Bacterial Boom https://github.com/serverpod/bacterialboom show different approaches to handling reconnections to the server.

Hi @vlidholt, thanks for the two references I will make sure to check them out in the coming days and update this thread if I manage to solve my issue :)

Adding client.gameLobby.resetStream(); to the start of the _listenToServer function solved the issue. @vlidholt Thanks for the bacterialboom example which highlighted what I was missing.


events on multiple interactive sprites or events on single stage and guess coordinates?

I am working on a graph-layout visualisation, pixi 4.5.4.
Nodes are interactive and allow to expand the graph.
For simplicity I attached interactive sprites for each node (and each node is decorated with its own texture).
I binded pan events to the stage.
The graph looks great, but soon enough on mobile will start clobbering.
How to profile if it due to:

the number of events (soon I will have hundreds of interactive sprites)
the size of textures
other things...

Would you handle all events from the stage, as example guessing coordinates of the object closer to the touch event ?
Or is not expected to be a buttleneck having multiple interactive sprites dragging around canvas ?

Clobbering how exactly?
Size of textures is not important. Number of base textures is. Use spritesheets or atlases.

buttleneck

butt or neck?
Not enough info on your case :(

I mean that it start to be very slow : I click on nodes, or drag the stage, and re-position of elements is slow and choppy.
Size of textures is not important : good to now.
Number of base texture is:
I guess each time I do a PIXI.Sprite.fromImage('a_different_image.png') ,  a new base texture is created.
How many could the stay on the canvas, orientatively?
I cannot use sprite sheets because images are pulled from other websites.
What is an atlas?
Could not find it in reference in documentation: https://pixijs.download/v4.5.4/docs/PIXI.GraphicsRenderer.html

Not if the string is the same. "PIXI.Sprite.fromImage('a_different_image.png') " is cached :)
Yeah, culling is a good idea. Just follow the algorithm:

put everything into rectangular chunks (containers).
set "chunk.renderable =false" if its too far from the camera.

You have to think about padding for chunks, how far away chunk has to be from camera to stop being renderable.

Ok, I ll try like this.
I have different graphics objects added to stage.
That is, the graphics.parent is the stage :)
how could I get the graphics position respect to stage?

"graphics.position".
But if you have multiple things inside the graphics, then you cant get it. There's no way of knowing "center of that particular circle".
However, you dont need it! If you want interaction, I have a good code for it: https://pixijs.github.io/examples/#/projection/basic.js
Forget about projections, you just need to figure out how my interaction works.

Mmm.. it is kinda complicated here :) the positions calculated for the nodes are respect to graph object, and don't know how map them respect to "global" coordinates..
I am working on this example: https://github.com/anvaka/ngraph.pixi

Use toLocal / toGlobal of PIXI.DisplayObject . I provided you with code that makes drag&drop in local coordinates even if coordinate system is strange.

You have to study the code of

Transform

https://github.com/pixijs/pixi.js/blob/dev/src/core/display/TransformStatic.js

toGlobal/toLocal

https://github.com/pixijs/pixi.js/blob/dev/src/core/display/DisplayObject.js#L261
There's no easy way to do it, that's one of basics of any engine or rendering lib - know how Transform works in that particular lib.

ok @ivanpopelyshev , thank you for the references!

Ivan, thank you so much.
So, the good part was that I was able to do it ... culling, a new thing to me :)
the the so so part is that I don't perceive any particular improvement : Doh!
I say perceive beacuse I am not particularly running any other test than counting the number of taps I do and... watch what happens!
Happy to have learnt something, but maybe the culprit in performance was not that.
However I will stay positive and think that at least there have been some improvement :)
Just to check:
my nodes are carries a thumbnail, each thumbnail loads its own texture.
I set:
ui.thumbnail.renderable = false;
for topics outside a visibile area in the canvas.
Note that nodes will be still rendered, just the texture goes off.
Another possibility:

How to check if performance issue are due to events bound to thumbnails?
How to check how much is due to layout computation?
Does rendering engine can be paused once a layout computation of my object is stopped (basically, I wonder if the rendering engine continues to try to calculate positions of elements, even if their position is now constant)?

Note that with layout computation without nodes, thousands of nodes can rendered.
But with images (even if thumbnail.renderable = false) and events, it reduces to a couple of hundreds (about 40 taps per session in my design).

Closing due to inactivity. If you're still having issues, please create a new issue :)


[Windows][wrt] Update fullscreen usecase testcase

BUG=XWALK-5616

usecase-wrt-windows-tests:
Impacted TCs num(approved): New 0, Update 1, Delete 0
Unit test Platform: Crosswalk Project for Android 19.48.505.0
Unit test result summary: Pass 1, Fail 0, Blocked 0

LGTM


Code snippet - design system

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

Comparison is base (df4b5f8) 100.00% compared to head (acb334e) 100.00%.
Report is 1 commits behind head on release/1.0.0.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@               Coverage Diff               @@
##           release/1.0.0      #543   +/-   ##
===============================================
  Coverage         100.00%   100.00%
===============================================
  Files                 67        67
  Lines               1240      1240
  Branches             458       458
===============================================
  Hits                1240      1240

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

Hello thanx for all, first a little thing the merge request has conflicts. it need rebase locally.

@jgonza16 resolved the conflict.


Can existing DPM disk and tape data be backed up on Azure?

Hi, Currently we have DPM physical servers running on our on-premise spread across 20 geographical sites which is using disk and tape level backups.
We have requirement to discontinue DPM and move entire DPM disk & tape data to Azure Backup and finally use Azure as a backup service. Please let us know if this is possible.

Hi @Nikhil0928, since this is more of a product question than documentation feedback, please post your question to Microsoft Q&A for support on this. https://docs.microsoft.com/en-us/answers


Canvas Sizing

How do you get NGL to fill its container? I am getting a canvas that's smaller then it's viewport. In addition, the area that is being drawn on is smaller than the canvas. So I have two sets of "borders" and no idea where they came from.

Calling stage.handleResize() should make the NGL canvas the size of its parent container.


can't link libpqxx on linux ubuntu

Package: libpqxx:x64-linux
Vcpkg version: 2018.11.23-unknownhash
pavels@crab:~/dev/cpp/test/release$ ../../cmake .. -DCMAKE_TOOLCHAIN_FILE=/home/pavels/dev/cpp/vcpkg/scripts/buildsystems/vcpkg.cmake
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Current source dir /home/pavels/dev/cpp/test
-- set project test
CMake Warning at /home/pavels/dev/cpp/vcpkg/scripts/buildsystems/vcpkg.cmake:234 (_find_package):
  By not providing "Findlibpqxx.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "libpqxx", but
  CMake did not find one.

  Could not find a package configuration file provided by "libpqxx" with any
  of the following names:

    libpqxxConfig.cmake
    libpqxx-config.cmake

  Add the installation prefix of "libpqxx" to CMAKE_PREFIX_PATH or set
  "libpqxx_DIR" to a directory containing one of the above files.  If
  "libpqxx" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  src/CMakeLists.txt:12 (find_package)

-- Configuring done
-- Generating done
-- Build files have been written to: /home/pavels/dev/cpp/test/release

Output errors:
pavels@crab:~/dev/cpp/test/release$ ../../cmake --build .
/home/pavels/cmake/cmake-3.14.3-Linux-x86_64/bin/cmake -S/home/pavels/dev/cpp/test -B/home/pavels/dev/cpp/test/release --check-build-system CMakeFiles/Makefile.cmak                                           e 0
/home/pavels/cmake/cmake-3.14.3-Linux-x86_64/bin/cmake -E cmake_progress_start /home/pavels/dev/cpp/test/release/CMakeFiles /home/pavels/dev/cpp/test/release/CMakeF                                           iles/progress.marks
/usr/bin/make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/pavels/dev/cpp/test/release'
/usr/bin/make -f src/CMakeFiles/test.dir/build.make src/CMakeFiles/test.dir/depend
make[2]: Entering directory '/home/pavels/dev/cpp/test/release'
cd /home/pavels/dev/cpp/test/release && /home/pavels/cmake/cmake-3.14.3-Linux-x86_64/bin/cmake -E cmake_depends "Unix Makefiles" /home/pavels/dev/cpp/test /home/pav                                           els/dev/cpp/test/src /home/pavels/dev/cpp/test/release /home/pavels/dev/cpp/test/release/src /home/pavels/dev/cpp/test/release/src/CMakeFiles/test.dir/DependInfo.cm                                           ake --color=
Scanning dependencies of target test
make[2]: Leaving directory '/home/pavels/dev/cpp/test/release'
/usr/bin/make -f src/CMakeFiles/test.dir/build.make src/CMakeFiles/test.dir/build
make[2]: Entering directory '/home/pavels/dev/cpp/test/release'
[ 50%] Building CXX object src/CMakeFiles/test.dir/test.cpp.o
cd /home/pavels/dev/cpp/test/release/src && /usr/bin/c++   -I/home/pavels/dev/cpp/test/src  -std=gnu++1z -o CMakeFiles/test.dir/test.cpp.o -c /home/pavels/dev/cpp/t                                           est/src/test.cpp
[100%] Linking CXX executable test
cd /home/pavels/dev/cpp/test/release/src && /home/pavels/cmake/cmake-3.14.3-Linux-x86_64/bin/cmake -E cmake_link_script CMakeFiles/test.dir/link.txt --verbose=1
/usr/bin/c++    -rdynamic CMakeFiles/test.dir/test.cpp.o  -o test -llibpqxx
/usr/bin/ld: cannot find -llibpqxx
collect2: error: ld returned 1 exit status
src/CMakeFiles/test.dir/build.make:86: recipe for target 'src/test' failed
make[2]: *** [src/test] Error 1
make[2]: Leaving directory '/home/pavels/dev/cpp/test/release'
CMakeFiles/Makefile2:93: recipe for target 'src/CMakeFiles/test.dir/all' failed
make[1]: *** [src/CMakeFiles/test.dir/all] Error 2
make[1]: Leaving directory '/home/pavels/dev/cpp/test/release'
Makefile:86: recipe for target 'all' failed
make: *** [all] Error 2

./CMakeLists.txt
cmake_minimum_required(VERSION 3.12)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_VERBOSE_MAKEFILE ON)

############ Project name and version
set (TEST_MAJOR_VERSION 1)
set (TEST_MINOR_VERSION 0)
set (TEST_PATCH_VERSION 0)
set (TEST_VERSION ${TEST_MAJOR_VERSION}.${TEST_MINOR_VERSION}.${TEST_PATCH_VERSION})

# Include our cmake macros
set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
message (STATUS "Current source dir " ${CMAKE_CURRENT_SOURCE_DIR})
include (CMakeHelpers)

add_subdirectory (src)

src/CMakeLists.txt
init_target (test)
message (STATUS "set project " ${TARGET_NAME})
project (${TARGET_NAME} VERSION ${TEST_VERSION})

file (GLOB SOURCE_FILES
        *.cpp
        )
file (GLOB HEADER_FILES
        *.h
        )

find_package(libpqxx)

add_executable(${TARGET_NAME} ${SOURCE_FILES} ${HEADER_FILES})
target_link_libraries(test PRIVATE libpqxx)

Why package not found? How to link it well?

Same issue here. The find package configuratuion file of libpqxx seems not to be installed by vcpkg while protobuf's are installed.

I have the same issue [though on alpine]

Hi @pahan76, you should use find_library to find libpqxx. This is my CMakeLists.txt:
cmake_minimum_required (VERSION 3.9)

project (testpqxx C)

add_executable(testpqxx main.c)

find_path(LIBPQXX_INCLUDE_DIR pqxx)
find_library(LIBPQXX_LIBRARY liblibpqxx_static.a)
include_directories(${LIBPQXX_INCLUDE_DIR})
target_link_libraries(testpqxx PUBLIC ${LIBPQXX_LIBRARY})

Thanks for posting this issue. Please reopen this issue if it still be a problem for you.

@LilyWangL I'm sorry, but I don't think it is a common practice to use find_path and find_library directly instead of using a find_package configuration file to find libpqxx, nor it follows upstream's intention. Please reopen this issue and keep it open until a find_package configuration file can be installed though VcPkg.


Fix autobumper sed

wait wtf why it merged? shiit we dont have the tests be required for merge craaap.


Notification buttons not working.

Hey, really love this tool!
However my notification buttons aren't working.. it doesn't reply to people when I click them and I can't invite anyone either.
Is this a known issue?

for me it works like it should

Wierd.. as I've tried hard resetting and everything.. are you running PoE as admin? also do you use steam launcher or their own?

I am using the steam version and I am running the program as normal user, not as admin

Same problem here, i use the steam version, but i startet everything as admin.
Everytime i use a button the in-game mesage says : The specified character does not exist.
I think this is because the name of the player that i whispered before will not be deleted.
When i use a button Mercury Trade writes : @player1@player2
The specified character does not exist.
(player1=the player i whispered before ; player2 =the player i want to contact via button.
and sorry for my english ;)

Hey, after tryin a lot of configurations, i have to say mercury trade works absolutly correct. The only thing i had to do, was not to run the trade macro at the same time.
everytime i had the trade macro running, mercury trade doesn't work.
i hope this will help you

Hey, after tryin a lot of configurations, i have to say mercury trade works absolutly correct. The only thing i had to do, was not to run the trade macro at the same time.
everytime i had the trade macro running, mercury trade doesn't work.
i hope this will help you

This is quite counterproductive seeing as both programs are used for different purposes. One is to trade and other is to get info on what to trade and other item info.


Multi Scale STFT Discriminator checkpoint

Hello. First of all, thank you very much for your great work !
Now I'm trying to finetune the hierarchical speech synthesizer on my own dataset. In my understanding, in your adversarial training process, you adopted 2 different discriminators (the multi-period discriminator (MPD) and the multi-scale STFT discriminator). In #4 , I saw you only shared the checkpoint of MPD. Can you kindly share the checkpoint of MS-STFT ? If I'm misunderstood, please correct me !
Once again, your work is wonderful !

Hi
Sorry for the confusion.
MultiPeriodDiscriminator includes both MPD (DiscriminatorP) and Multi-scale STFT (DiscriminatorR)
In https://github.com/sh-lee-prml/HierSpeechpp/blob/main/hierspeechpp_speechsynthesizer.py#L536C1-L545C51
class MultiPeriodDiscriminator(torch.nn.Module):
    def __init__(self, use_spectral_norm=False):
        super(MultiPeriodDiscriminator, self).__init__()
        periods = [2,3,5,7,11]
        resolutions = [[2048, 512, 2048], [1024, 256, 1024], [512, 128, 512], [256, 64, 256], [128, 32, 128]]

        discs = [DiscriminatorR(resolutions[i], use_spectral_norm=use_spectral_norm) for i in range(len(resolutions))]
        discs = discs + [DiscriminatorP(i, use_spectral_norm=use_spectral_norm) for i in periods]

        self.discriminators = nn.ModuleList(discs)

Thanks!

Thanks a lot for your reply !


[Resourcehealth] first release

https://github.com/Azure/sdk-release-request/issues/1705

/azp run prepare-pipelines


After setting up public_activity missing render

Hey there!
After trying to setup this gem I gent an issue with missing partial.
`
ActionView::MissingTemplate in Clients#show
Showing /Users/jorge/Projects/cliente/app/views/clients/show.html.erb where line #137 raised:
Missing partial public_activity/client/_create with {:locale=>[:en, :es], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :jbuilder]}. Searched in:

"/Users/jorge/Projects/cliente/app/views"
"/Users/jorge/.rvm/gems/ruby-2.7.1/gems/pay-2.1.3/app/views"
"/Users/jorge/.rvm/gems/ruby-2.7.1/gems/devise-i18n-1.9.1/app/views"
"/Users/jorge/.rvm/gems/ruby-2.7.1/gems/devise-4.7.2/app/views"
"/Users/jorge/.rvm/gems/ruby-2.7.1/gems/administrate-field-active_storage-0.3.5/app/views"
"/Users/jorge/.rvm/gems/ruby-2.7.1/bundler/gems/administrate-239ec5bb8c06/app/views"
"/Users/jorge/.rvm/gems/ruby-2.7.1/gems/kaminari-core-1.2.1/app/views"
"/Users/jorge/Projects/cliente/lib/jumpstart/app/views"
"/Users/jorge/.rvm/gems/ruby-2.7.1/gems/letter_opener_web-1.4.0/app/views"
"/Users/jorge/.rvm/gems/ruby-2.7.1/gems/actiontext-<IP_ADDRESS>/app/views"
"/Users/jorge/.rvm/gems/ruby-2.7.1/gems/actionmailbox-<IP_ADDRESS>/app/views"

`
How can I solve this?

@JorgeDDW This is an old issue. I assume you’ve either resolved the issue or moved on‽ In any case, each activity currently needs it own partial. The error message tells you what that partial should be: public_activity/client/_create.html.erb.
There’s an open issue about providing a generic partial: https://github.com/public-activity/public_activity/issues/124.


Can't login to Remote Desktop and File Sharing fails when 2FA enabled

Authentication for Remote Desktop and File Sharing in Local Network always fails when 2FA enabled, Both devices are Windows 10 1903 and joined to Azure AD. I tried it with Surface Pro 4, Surface Book, PC and multiple Office365 accounts.
It will be solved as soon as 2FA disables.
https://docs.microsoft.com/en-us/windows/client-management/connect-to-remote-aadj-pc

Hello, @AmirHossein  thank you for providing feedback.
The issues section of this repository is intended for product documentation issues only.
Please consider opening a product support ticket by the following link below for your problem so that it gets resolved quickly.
Windows 10 Support
Thank you.