Facebook videos only buffers first 5s

System Details

OS: Edition	Windows 11 Pro
Version	22H2
OS build	22621.2428

Thorium Version 117.0.5938.157

Problem
Any Facebook video only streams the first 5s and gets stuck, even in incognito window, with default settings (I do have memory save turned on)
Screenshots

Additional info

Same behaviour on Incognito (logged out from facebook/app data cleared)
No issue on other browsers
1GB internet connection, definitely not a networking issue.
Same behaviour with Memory Saver off, and/or facebook being excluded

Oh wow, I had this issue all morning, tested it with and without Memory Saver on, incognito and not, different videos, etc.
And suddenly  after reporting, it just started working! 😬
Apologies for the misreport, must have been something on FB itself.


feat(prow): kustomize config and jobs

Signed-off-by: wuhuizuo<EMAIL_ADDRESS>
What problem does this PR solve?
Issue Number: close #xxx
Problem Summary:
What is changed and how it works?
What's Changed:
How it Works:

/unhold


fix: Chart shrinking uncontrollably on browser zoom (#11089)

My comment on the original issue contains the full analysis (scenario, root cause, how to reproduce):
https://github.com/chartjs/Chart.js/issues/11089#issuecomment-1418418088
The functions retinaScale and getMaximumSize are full of minor details and multiple flows.
Hence, this area in the code is quite sensitive IMHO.
I'm making an attempt to fix the issue with minimum side effects.
Fixes #11089.

Really need this fix!

This fix is really needed ! My chart on Android browser shrinks all the time.

Bumping this one, also really in need of the fix! 🙏

Badly waiting for this fix, can we get this one merged and released soon?

@fly74 this hasn't been merged because this is very risky code to touch and this is an issue that the bulk of our users are not experiencing. While this fix solves this specific issue, there are no guarantees that it doesn't break other user's charts or introduces the same problem in other ways. @kurkle already commented that round1 instead of round should likely be used here since it will round to a single decimal place and I think that change would align better with what we've done elsewhere.

@etimberg I know that the use of HiDPI Monitors is not common for everybody but 4k with a scale is the future. This is resulting that the browser is choosing a zoom value which is sometimes like 116% or other what is resulting is this rounding issue. Why is it dangerous to round?

@fly74 the risk is that we run into a scenario like this hence why we're reluctant to make a ton of changes to this code

Round the width
Height changes slightly
Scrollbar removed from container
Width increases so height is increased
Scrollbar comes back
Infinite loop

If we merge this, we're rounding the height. From what I recall when we last ran into this, rounding to the nearest integer was much more likely to cause the scrollbar problem hence rounding to a single decimal place where our testing showed that it was less likely to occur.

@fly74 the risk is that we run into a scenario like this hence why we're reluctant to make a ton of changes to this code

A thought. Are you open to adding a configuration parameter or allowing a custom/passthrough rounding function to modify this behavior?
That way individual users could extend the behavior to meet their specific requirements? As it stands right now, we're in this situation you described with the existing functionality. It's just the chart that's freaking out, not the scrollbars (we have them disabled via CSS.)

@lincolnthree that would really a perfect solution for everybody who are waiting to get it work. Let's try it with a config parameter. Great idea 👌!

@lincolnthree I would be open to having a config option for this + something in the docs discussing this problem and potential solutions.
@LeeLenaleee @kurkle opinions?

@etimberg with regards to config option, what did you have in mind?

@gbaron could be something like roundContainerHeightDuringResize which defaults to false. I'd probably put that under the layout options https://www.chartjs.org/docs/latest/configuration/layout.html


Sending a batch of CloudEvents fails because source, type and id are (legitimately) empty

Sending the following payload:
Context Attributes,
  specversion: 1.0
  type:
  source:
  id:
  datacontenttype: application/cloudevents-batch+json
Data,
  [
    {
      "datacontenttype": "application/json",
      "id": "2e7c3514-ca09-414c-8d85-4b821f2f54db",
      "source": "arn:aws:sqs:eu-central-1:043455440429:antoineco",
      "specversion": "1.0",
      "subject": "AIDAQUHRFMYWSR2PNVTVZ",
      "type": "com.amazon.sqs.message",
      "data": {
        "Attributes": {
          "ApproximateFirstReceiveTimestamp": "1603832160600",
          "ApproximateReceiveCount": "1",
          "SenderId": "AIDAQUHRFMYWSR2PNVTVZ",
          "SentTimestamp": "1603832160599"
        },
        "Body": "payload",
        "MD5OfBody": "7594406d9b2893a8ec1bb2d53ce50fbc",
        "MD5OfMessageAttributes": null,
        "MessageAttributes": null,
        "MessageId": "2e7c3514-ca09-414c-8d85-4b821f2f54db",
        "ReceiptHandle": "AQEBAOpznC6oBR91VbnjNLv5fE29Y8SUGK5MzpvyzFx0UNTPeHXkGhLf47Fp2b5MTVeBx7PAU8szcoolUdXDr0w/QRj65IFCjA0X8ftltv2mjkqhyjcCVpC7JlgZMCg/HOr6kZxZWHm1LyOhUcGVA1oyG5kRA8YUQO95Sml8A/0sDqLT/1iQE4wshlUIFxbwSvjFBeKRhuXPGsyXG31OKy8tPDzqI+Q/eh3wZG1Owib1RgWzk0T2taKmK0fYwxfD6IsPmB3RH1637rot6yc6SfZruthYEB7n1kOLrd2uwhrYpg3QcXctKTDkPe9WQKB9HW8cGHDLKWuU4No7lJPQpfeEnuxFELtlKGI1eIpkN69J/jtjBHWmCoqO3H43y98M+iikO4LUIu+Dst7sM/Q3oqWfJg=="
      }
    },
    {
      "datacontenttype": "application/json",
      "id": "250d3eb6-234b-496f-8ff0-1d4392d50ed9",
      "source": "arn:aws:sqs:eu-central-1:043455440429:antoineco",
      "specversion": "1.0",
      "subject": "AIDAQUHRFMYWSR2PNVTVZ",
      "type": "com.amazon.sqs.message",
      "data": {
        "Attributes": {
          "ApproximateFirstReceiveTimestamp": "1603832160602",
          "ApproximateReceiveCount": "1",
          "SenderId": "AIDAQUHRFMYWSR2PNVTVZ",
          "SentTimestamp": "1603832160600"
        },
        "Body": "payload",
        "MD5OfBody": "7594406d9b2893a8ec1bb2d53ce50fbc",
        "MD5OfMessageAttributes": null,
        "MessageAttributes": null,
        "MessageId": "250d3eb6-234b-496f-8ff0-1d4392d50ed9",
        "ReceiptHandle": "AQEBAutqePFPOOvAebD7GMGvanhGl7aTWSIZCMRxDYZbmSAYUtMX1t7wTuBpmwTqMM6D8YfYVGm06lRPATAvMB00ZVj/UFVL4xVclgPAsHiaDIgjVi9wB3le+NVXdKaI684G9+2wh47gtzvQ0bf/nwRlvPPWKedSsJdL5WQybTSZ/UIqevHSqvaMednIDYGm4qEeovxJixN7WQvwEZreUqPb6GWD/fMsLpQxe8rA1NgDK60o/lX1qgUecv1H/hdCfexwWNKEdl0euJ4DdChy4Wfy3Ze/fgdEQJxZ8m4mKaul70d46VFG+ulGw6gkRJIyv2EJawyjiLteAs3JOdO7KTSKa1pbPWUAtvBMBSPgDCkYG/16JboTIn5jTbrIE4M1gQf5dlUtjPI6ojJwi+PgGNd9KA=="
      }
    }
  ]

causes the client's Send() method to return the following error:
source: REQUIRED
type: MUST be a non-empty string

facepalm this is purely related to Knative. Moving the issue there.

Reopening with an updated title and error in the description.

There is no support at the moment for batch mode, please look at https://github.com/cloudevents/sdk-go/issues/301


FancyZones settings not saving

Microsoft PowerToys version
0.66.0
Installation method
GitHub
Running as admin
Yes
Area(s) with issue?
FancyZones
Steps to reproduce
open powertoys
select fancyzones
launch layout editor
select layout I want
exit powertoys settings
✔ Expected Behavior
I should be able to snap windows to layout I selected and they should save when I restart the computer.
❌ Actual Behavior
the settings dont work on side monitor half the time.
when I restart the computer the selected layout is lost and I have to redo it
PowerToysReport_2023-01-13-12-41-13.zip
Other Software
No response

/dup https://github.com/microsoft/PowerToys/issues/16370


Update dependencies to latest tagged versions

Change: NIOKit to AsyncKit
Change: NIORedis to RedisNIO
Change: SwiftLog to depend on 1.0.0
Change: Code to match latest versions of dependencies

Hey @Mordil, you just merged a pull request, have a coin!
You now have 76 coins.


Compiler warnings

I compiled fiche on Ubuntu 15.04 today, and while it worked, I got these warnings:
cc -pthread -O2    fiche.c   -o fiche
fiche.c: In function ‘thread_connection’:
fiche.c:95:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
         write(connection_socket, "You are not whitelisted!\n", 26);
         ^
fiche.c:104:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
         write(connection_socket, "You are banned!\n", 17);
         ^
fiche.c:119:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
         write(connection_socket, response, strlen(response));
         ^
fiche.c:125:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
         write(connection_socket, "Use netcat.\n", 12);
         ^
fiche.c: In function ‘load_list’:
fiche.c:253:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
     fread(buffer, fsize, 1, fp);
     ^

Thought this might be helpful.

Travis also noticed them: https://travis-ci.org/solusipse/fiche. I'm going to fix that soon. Thank you!

I'm glad I could be of help!


[BUG]

Describe the bug
When installing the application, it gives an error and says that the file contains a Trojan

OS: Windows 11
Hydra Version:1.2

you can literally see the entire hydra code here, and no one report any trojan in hydra code, so it's a false positive.


Add DICOM SR support for Bi-dimensional length

We're cleaning up issues as we prepare to announce the OHIF Viewer's version 2 release. This, and the other DICOM SR issues have been moved to this roadmap card:
https://github.com/OHIF/Viewers/projects/3#card-21713351


Edit hdinsight-sample-10gb-graysort.md

Edit complete.
The link "Get started with Azure HDInsight" goes to a page titled "Get started using Hadoop with Hive in HDInsight to analyze mobile handset use." Please confirm that this is the right link.
This article uses "reduce" as a noun multiple times. Please confirm that this is technically accurate. The word "reduce" is normally a verb, whereas "reduction" is the noun form.
This article uses both "article" and "topic" to refer to itself (and related articles). Please standardize on whichever word is more accurate.
Line 28 includes the text "In particular, all keys such that sample[i-1] <= key < sample[i] are sent to reduce i." Please confirm that this sentence is technically accurate and that readers will understand it exactly as written. I'm not sure what "such that" means in the context.
I didn't do any editing to the long Java code sample because it's provided under license. If it's okay to change the code comments, keep in mind that other code comments begin with a capital letter and don't have a period at the end (unless a particular comment consists of more than one sentence).
There's a typo in code: "paritions" (should be "partitions"). I didn't try to change it.

Hi @ShawnJackson, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (v-shawja). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


Glide

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

One thing I’m wondering is how this plays out with “stateful” transformations, like an InstantSplitter which uses a stateful sampler

I guess whatever object state will be local to each process and depend on what sequence of task each process gets assigned

One thing I’m wondering is how this plays out with “stateful” transformations, like an InstantSplitter which uses a stateful sampler

I guess whatever object state will be local to each process and depend on what sequence of task each process gets assigned

Yes. I assume that wouldn't be different from the current approach. Essentially, we get N different instances and each one has its own state.


Make dependencies check optional

Hi,
I need to be able to disable checking for dependencies.  This patch keeps the current default of checking them automatically.

About the why.  I've written an ebuild for Gentoo.  Automagical dependencies are quite frowned upon in the Gentoo community, mostly because with the same ebuild and the same USE flags users may obtain different results if they happen to have some apparently unrelated dependencies installed or not.  Adding all dependencies unconditionally is not ok, if I make fastfetch depend on X or GNOME it cannot be used on minimal (maybe headless) installations.  So I need a way to disable a test if the user does not enable a certain USE flag, even if the corresponding dependency is actually present on that system.
You can see the old ebuild and the new ebuild here:
https://gitweb.gentoo.org/repo/proj/guru.git/tree/app-misc/fastfetch/fastfetch-0.569.ebuild?id=d85485e0f12f38fa8f06f15e3859b56f9b03f4c7
https://gitweb.gentoo.org/repo/proj/guru.git/tree/app-misc/fastfetch/fastfetch-0.569-r1.ebuild?h=dev&id=61a59bd4bd8f1bc7dd41dc0bff153c866d9ddb53
The second one looks nicer :)

Also because Gentoo does not support version numbers that start with r, I set the version to 0.569 for r569.

I see you merged it, thank you

So maybe this is where gentoo and arch defers. In arch those dependencies are listed as "make dependencies", so they are automatically installed during build time and automatically uninstalled afterwards. That is why fastfetch checks at runtime, if a library is available.


Copying selection as PNG results in a flicker on all open windows

Hi folks,
Upfront, thanks to the entire team for all the effort that is poured into making this tool. It has made everything easier and was partially responsible for saving our team a lot of troubles when we were forced to go remote during the pandemic.

I'm here today because I seem to be facing a lot of issue in one regard. Before I get there, here is my workflow:

Design something on excalidraw
Select said design
Copy to clipboard
Add to notion / send to engineer (via slack, teams, etc)

I keep everything previously designed as well. So I have one HUGE canvas.
The issue right now seems to be coming from step (3) in the workflow. Whenever I copy to clipboard as a PNG, all the open windows seem to be getting focused and losing focus.
This is best illustrated with a gif:

If you notice above, the instant I hit on the "copy to clipboard as PNG" button, both the windows start flickering. Once this happens, I can't type in any window or do any interaction because the focus just keeps going off (I attempted to write notepad in the run window by the side and only ended up registering n there)
I am able to mitigate this in 2 ways:

Restarting the machine (which is my last resort, since I might have a lot of work being done then)
Locking the machine. Doing so, and leaving it locked for a few seconds and then relogging in seems to fix this problem.

I hope that I was able to convey the point across. Please do feel free to ask for more clarification as required.
Thanks again for your efforts! Cheers ✨

Hey @shrayasr, and thanks for your words!
As for the issue, I've not seen this yet. Can't repro myself (I'm on Win 10, you seem to be on Win 11 — /cc @maielo can you check on your end?).
That said, what you're describing is an OS issue, so there's not much we can do here. So the best hope here is to try to reproduce elsewhere, narrow down the issue (specific browser, OS update, ...), and report to the browser.
Also, I see you're using Brave. Does it also reproduce in Chrome or Edge?

@dwelle just testing it and can not reproduce it. Also was testing it with huge scene & brave.

Also, I see you're using Brave. Does it also reproduce in Chrome or Edge?

Yes it happens on all browsers, @dwelle

That said, what you're describing is an OS issue, so there's not much we can do here. So the best hope we have is to try to reproduce elsewhere, narrow down the issue (specific browser/engine, OS update, ...), and report to the browser.

I was thinking that it was an OS issue too. And I believe you might be right. Today I copied a selection in photoshop and this happened for me even there.
So I think its some kind of a windows 11, copying an image related issue then 🤔

So I think its some kind of a windows 11, copying an image related issue

https://community.adobe.com/t5/photoshop-ecosystem-bugs/p-windows-11-icons-and-menus-quot-flicker-quot-after-copying-a-selection-in-photoshop/idc-p/12958792#M56952
Seems to be the perfect explanation for it right now. Copying an image to the clipboard causes this. When I copy something else (with great difficulty I might add), then the flicker stops. 🤦🏽

OK dug around a bit more and it looks like its some combo of WSL2, Docker and windows 11 that's causing this.
Greenshot (the screenshot tool) also has an issue on this: https://github.com/greenshot/greenshot/issues/348 which they seem to have resolved by using a different way to copy to windows' clipboard. Recap here: https://github.com/greenshot/greenshot/issues/348#issuecomment-1033470769
But the core problem seems to be in WSL's GUI layer as I found via this issue here: https://github.com/microsoft/wslg/issues/443
I will try the fixes mention and get back. But as of now, this is not an excalidraw related issue. It seems like excalidraw was just in the line of fire, sorry. I hope we can keep this open until resolved from my end, so that it can be a reference for passerby like me.

Okkkk. This seems to be fixed now. Just adding the solution here for clarity:
I tried to do a wsl --update as advised here but this didn't fix it. Looks like I was on an older version of WSLg (the GUI layer) since as per their instruction wsl --version gave me an error.
Then I installed WSL preview from here: https://aka.ms/wslstorepage and it seems to have been fixed now when copying an image from both excalidraw and photoshop
My wsl --version now shows
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>
WSLg version: 1.0.45
MSRDC version: 1.2.3575
Direct3D version: 1.606.4
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22000.1098

Closing this. Thanks for your assistance folks! :)


Qt 6?

BUILD.md sais this depends on python3-qt5. Any chance to build this against python3-qt6?
Qt 6 was released almost three years ago, and torbrowser-launcher is the last software on my system depending on Qt 5.

KDE/Plasma 6 has been released and distros started moving away from Qt5, it's now deprecated and soon to be obsoleted.
Although, it seems devs made an excuse that "Tor Browser, theoretically, should be flatpack, so, practically, we will not do either and let it bitrot". I'm not a fan of Tor Browser even existing, I was fine with local service being used as selective proxy in vanilla Firefox but normal working mode was sabotaged by state's DPI-censorship and service sources do not have whatever workarounds built in Tor Browser, so I've just moved away from Tor completely.
Users being tied to some half-baked binaries from mysterious developers is the opposite of "security", after all.


v4: Error while trying to use LoadingController

Bug Report
Ionic Info
Ionic:

   ionic (Ionic CLI)          : 4.0.0-rc.11 (C:\Users\admin\AppData\Roaming\npm\node_modules\ionic)
   Ionic Framework            : @ionic/angular 4.0.0-alpha.11
   @angular-devkit/core       : 0.7.0-rc.2
   @angular-devkit/schematics : 0.7.0-rc.2
   @angular/cli               : 6.0.8
   @ionic/ng-toolkit          : 1.0.0-rc.11
   @ionic/schematics-angular  : 1.0.0-rc.11

System:

   NodeJS : v8.11.1 (C:\Program Files\nodejs\node.exe)
   npm    : 6.0.1
   OS     : Windows 10

Describe the Bug
When trying to use the "LoadingController" in a Component or a Service, the loading.present() method and loading.dismiss() method both get underlined in red color. Intellisense reports the following issues:
TS2339: Property 'present' does not exist on type 'Promise<HTMLIonLoadingElement>.'
TS2339: Property 'dismiss' does not exist on type 'Promise<HTMLIonLoadingElement>.'
Because of the above issue, I am unable to use LoadingController/Spinner in my project.
Steps to Reproduce
Steps to reproduce the behavior:

In any component or service, import LoadingController like this: import {LoadingController} from '@ionic/angular';
Add dependency in the constructor:
constructor(public loadingCtrl: LoadingController) { }
Add the following method to the component/service:

 presentLoadingDefault() {
        let loading = this.loadingCtrl.create({
            content: 'Please wait...'
        });

        loading.present();

        setTimeout(() => {
            loading.dismiss();
        }, 5000);
    }

The present() and dismiss() methods in the code above, gets highlighted in red color and Intellisense will show this error:
TS2339: Property 'present' does not exist on type 'Promise<HTMLIonLoadingElement>.'
TS2339: Property 'dismiss' does not exist on type 'Promise<HTMLIonLoadingElement>.'

Related Code
Unfortunately, I am unable to setup a demo of this issue using Stackblitz. However, I am attaching a screenshots of these issues below.
Expected Behavior
The loading.present(); and loading.dismiss(); should not be highlighted in red i.e. they should not have an error. In the UI, the Loading Spinner should show up normally, whenever the presentLoadingDefault() method is invoked.
Additional Context
Here are the screenshots of the issues:

In v4 the loadingController(and others like alert etc.) return a promise
You could rewrite your above code like the following (see async/await)
async presentLoadingDefault() {
    let loading = await this.loadingCtrl.create({
        content: 'Please wait...'
    });

    await loading.present();
}

Hi Peter,
Thank you for the response. I tried to implement the couple of code blocks that you have given, but I am confused. I am using this to fetch the data from backend. So how do I go about invoking the Loading Controller when I start the operation and close it automatically when the operation is done?

@peterpeterparker
Thank you for the response. I tried to integrate your solution in my code and I think I may be couple steps away from achieving the goal. I am trying to invoke a method in my Component. This method will call a Method in my Service. So instead of hard-coding/adding the Loading Controller in every component, I was trying to add the Loading Controller just in the Services file, so that any Component that invokes the method in the Service, will also trigger and show the Spinner.
Here is the code from my Component (the one that calls the Service method):
     queryDb(fieldsObj) {

        this.todoService.readAllTodos(fieldsObj)
            .then(
                response => {

                    console.warn(response);

                    // The above console warn shows the following in console:
                    // Observable {_isScalar: false, source: Observable, operator: FinallyOperator}
                },);
    }

The above console warn shows the following in console:
Observable {_isScalar: false, source: Observable, operator: FinallyOperator}
Here is the code from my Service file (the one based on the changes that you mentioned):
 async readAllTodos(fieldsObj: Object) {
        const body = JSON.stringify(fieldsObj);

        // Show Spinner
        const loading = await this.loadingCtrl.create({
            content: 'Please wait...'
        });

        return loading.present().then((res) => {

            return this.http.post<Todo>('http://mywebsite.com/read.php' body, httpOptions)
                .pipe(
                    tap((response) => {
                        return response;
                    }),
                    // Show Error message
                    catchError((errorData) => {
                        return throwError(errorData);
                    }),
                    // Hide the Spinner regardless of the API query Success or Failure
                    finalize(() => {
                            // Hide Spinner irrespective of success or error when the API is called
                            loading.dismiss();
                        }
                    )
                );

        })
    }

Any help is highly appreciated.

@devner007 first of all I think it's not an Ionic v4 issue, so you should probably open a support request on the Ionic forum, link it here and close this issue (i'll follow)
I'm not sure I understand your question but looking at your 2nd code I just noticed two things

Don't use any components in your services, respectively loadingCtrl should not be use in a service but only in your components or pages

remove the return of return this.http.post<Todo>

@peterpeterparker
Your Point 1 is the answer that I was looking for. I will make the changes accordingly.
Thank you so much for all your help! Appreciate it!


question about locking of vcs requirements

When we pip install then pip freeze an editable vcs requirement, the frozen requirements include all dependencies and the sha of the editable requirements.
With pipenv the dependencies of editable vcs requirements do not appear in Pipfile.lock, nor the sha of the installed version.
$ pipenv install -e git+https://github.com/sbidoul/subdirtest.git#egg=subdirtest\&subdirectory=setup
...
$ cat Pipfile.lock
...
    "default": {
        "subdirtest": {
            "editable": true,
            "git": "https://github.com/sbidoul/subdirtest.git",
            "subdirectory": "setup"
        }
    },
...
$ pipenv run pip freeze
click==6.7
pkg-resources==0.0.0
-e git+https://github.com/sbidoul/subdirtest.git@7b18afe980a42bfe8d1a96b5ed52e05f58d9ef6c#egg=subdirtest&subdirectory=setup

Since the installed package depends on click I expect to see it in the locked dependencies.
I also expect to see the sha of the installed subdirtest in Pipfile.lock.
Is it a missing feature in pipenv? (perhaps I misunderstand something)

The example above requires #507

I believe we do not currently resolve dependencies from VCS packages. That would be tricky.

We also don't resolve deps for file dependencies either.

pip-tools currently lacks this ability.

FWIW, my use case is pip install -e git+...@branch  then pip freeze to get the exact commit used. This is fairly important when working with unreleased dependencies.
BTW, in the tricky department, everything depending on pip internals is going to break with pip 10.0.

Yeah, luckily that's almost nothing on our side — it's all pip-tools dipping into pip's codebase. I hope they're up to the task!

We can see about adding refs to .lock...

Added :)

sweet.
Is it normal it goes to the develop section of Pipfile.lock too? (I did not install with --dev, only -e)

that might be a bug.

try off master and see if the case is still the same, the logic's been re-written

you're right, it does end up in develop, grrr

found the bug

fixed

Works fine now. Thanks!
Shall I open another issue to track the handling of dependencies of editable vcs requirements?

sure

✨🍰✨


Automatically discover and add new devices

Ability to create new devices automatically when added to Imou Life

Since there are limitations on the number of devices which can be attached to a developer Imou account (#77) better not to auto discover / auto add devices


tidy up some names in the docs

Just a little change found while looking over things...

Found a couple more things, so I changed the title.
Let me know if you'd like these squashed up - I was lazy and did it in the web editor.

Thanks!


README: Update deps to latest tag 0.4

Update README to reflect latest tag. Especially important for new users.

Thanks!


Threshold labels at extremes not labelled correctly when using custom formatter

Without formatter:

Less than -0.1
More than 0.1

With percentage formatter labelFormat(d3.format('+.1%')):

+NaN% to -12.0%
More than +15.0% to +NaN%

This is due to the replacements made in helpers.js relying on the formatter returning exactly NaN. This would also cause an issue if the default labelDelimiter is changed from "to".
Workaround: copy and adapt the helper.

This has been fixed in v2.25.5 https://github.com/susielu/d3-legend/releases/tag/v2.25.5 let me know if you have any issues with it.

I see that the commit c1bcef83d4a4a3afc5d2fc3c602cd03c50398db9 fixes #78 (more than X vs. X or more), but not this one #77 (NaN% not being replaced).

Ahhh understood. This version should fix this bug as well<EMAIL_ADDRESS>


HTML statistics different from console ones

I'm seeing very different confidence intervals on the HTML report than on the command line. In one benchmark I see a confidence interval of 340 ns - 460 ns with a mean of 169 us in the report and 168.6 us - 169.4 us with a mean of 168.9 us. The code I'm benchmarking is proprietary, but with some guidance I can try to boil down a test case. This is Criterion version <IP_ADDRESS> with GHC 8.2.1 and Stackage nightly-2017-07-31. Console output and report in this gist.

Oh dear, this looks really bad.
From some quick testing, it appears that this is a regression that occurred sometime between criterion-<IP_ADDRESS> (which doesn't seem to have this problem) and criterion-<IP_ADDRESS> (which does). I'll try to see if any particular commits look suspicious.

After a quick investigation, it appears that #141 is where everything went wrong (I tested commit 36c22078b704f3c99dd16c9332f3fc78ab650d17, before #141 landed, and it works fine). To make things worse, I can't pinpoint an exact commit since not all of the commits in the PR still build, but several large changes came about from that:

In 97540e8709ce4904550f5078e940972bb94c11b5, we migrated over from statistics-0.13 to 0.14. That commit doesn't built, but abe1760c1dc03bf67747e5fb9009a083aca660c2, which is some number of commits later, does. When I test abe1760c1dc03bf67747e5fb9009a083aca660c2, I get HTML reports where every single lower and upper bound is xxx, which is certainly not a good sign. My guess is that statistics-0.14 changed its ToJSON instances, which causes the HTML report to go haywire.
In df4515c4ba62d444b803d1e80e0f8f96eb4a8d31, we migrated from hastache to microstache. That commit is mostly routine API conversion, but there is a noticeable change in behavior, starting at https://github.com/bos/criterion/commit/df4515c4ba62d444b803d1e80e0f8f96eb4a8d31#diff-ca0bc1a3409ff865bbb3161972350affL76 : the HTML report now uses, e.g., estError.confIntLDX instead of estLowerBound. This causes the HTML reports to give actual numbers again for the lower and upper bounds, but I'm guessing these aren't the numbers we really want (cc'ing @phadej in case he has any insight here).

Ack, I know what is happening here. The issue is that we're not computing the lower/upper version bounds properly in the HTML report--instead, we're just retrieving the confidence intervals! We should be subtracting and adding these intervals from the point estimate to get the actual lower and upper bound, as done in the confidenceInterval function in statistics-0.14.
Now I'm paranoid that we're doing //other// things incorrectly in the HTML report post-statistics-0.14, so I'll do an audit of that file and submit a PR to make things right again.

Ugh. To make things worse, it's not just templates/default.tpl that's affected - it affects www/report.html and www/fibber.html, since they're also retrieving lower/upper bounds incorrectly post-statistics-0.14.

Never mind, I suppose we needn't touch anything in the www/ directory, since it's just showing a sample criterion report. Moreover, it's showing a report from well before #141, so it should still be working.

I've released criterion-<IP_ADDRESS> with this bugfix, and deprecated versions <IP_ADDRESS> and <IP_ADDRESS> (in which the bug was present).

Thanks a lot guys!


TPM owner password cannot be changed in Windows 11 despite setting registry config

Although the TPM owner password is not retained starting with Windows 10, version 1607, or Windows 11, you can change a default registry key to retain it. ... set the registry key 'HKLM\Software\Policies\Microsoft\TPM' [REG_DWORD] 'OSManagedAuthLevel' to 4.

I set the registry on a Windows 11 laptop and used tpm.msc to clear the TPM, then restarted the machine.

With Windows 10, version 1507 or 1511, or Windows 11, if you have opted specifically to preserve the TPM owner password, you can use the saved password to change to a new password.
To change to a new TPM owner password, in TPM.msc, click Change Owner Password

The "Change Owner Password" option is not present.

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

ID: 589107e3-caf8-797e-391e-41457437e5c1
Version Independent ID: acce4c69-e822-f7e9-8341-06b6d3061c57
Content: Change the TPM owner password (Windows) - Windows security
Content Source: windows/security/information-protection/tpm/change-the-tpm-owner-password.md
Product: m365-security
GitHub Login: @Dansimp
Microsoft Alias: dansimp

Hello, I believe Windows 11 was added there by accident. Change TPM is the legacy option which is not available since 1607
Thank you


isort incompatibilites with lowercase, MixedCase, UPPERCASE

isort --profile=black --ca:
import lowercase
import MixedCase
import UPPERCASE
from module import UPPERCASE, MixedCase, lowercase

ruff --select=I:
import MixedCase
import UPPERCASE
import lowercase
from module import MixedCase, UPPERCASE, lowercase

Nice, thank you.

To phrase it differently: ignoring isort compatibility, would we want this behavior? (I think it's worth implementing for compatibility purposes.)

Interestingly, it looks like this just applies to import from members. For import statements, isort sorts in a non-case-sensitive way (which I also find surprising! but it's probably rare to have cased module names anyway?).

(At the very least, making this clearer in https://github.com/charliermarsh/ruff/pull/676.)

Yeah, I think compatibility is the main value.
In Zulip, the diff for combine_as_imports = true would be +51 −65: fine, if that’s likely to be the future isort default, and it is a bit more compact. The diff for order_by_type = false + case_sensitive = true would be a further +80 −78: not abhorrent, but would be nicer to avoid, if there’s no particular rationale either way.
I noticed another effect of case-sensitivity:
-from typing import Type, TypeVar, TypedDict
+from typing import Type, TypedDict, TypeVar

which would maybe a weak argument in favor, except that the effect on all-uppercase names is exactly the opposite:
-from loud_typing import TYPE, TYPED_DICT, TYPE_VAR
+from loud_typing import TYPE, TYPE_VAR, TYPED_DICT

🤷
Uppercase modules are indeed rare but do exist: Zulip uses DNS and PIL.

Haha yeah, now that I'm being forced to confront it, I find the isort behavior pretty confusing. I wish it was all just lexicographic sorting? But like most stylistic issues, I don't have a strong opinion as long as some standard is consistently enforced, and so it makes sense to me to prioritize isort compatibility.


[Feature Request] Save Results as Insert Statements

Currently, we have the option to export query results as JSON, CSV, and an Excel spreadsheet. In some scenarios, it would be useful to have an export as insert statements function. For example, seeding a production environment with static data from a staging environment; or, when you want to change the definition of a table but want to keep the data.

I opened a request like this for the VS Code extension before opsstudio was announced.  Update statements by primary key would also be helpful to update environments.

Curious as to why this has been tagged as a bug since I've never seen this functionality in SQL Operations Studio. Perhaps an accident?
I think I may look into adding the functionality myself. I've always wanted to contribute something worthwhile to one of these projects. Sounds like it might be a good stepping stone.

@nalexander50 you're correct, this was incorrectly tagged as Bug as triage oversight.  This would be a great candidate for a community contribution.  We'd be happy to help you get started if you're interested in contributing this feature.  Thanks!

We're tracking this request in this issue https://github.com/Microsoft/sqlopsstudio/issues/459.  I'll make a note in that issue to review this one while resolving.   Please add additional comments there is desired.


Save favorite indicator and notifications_preference in db

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


test(scorecard): adjust scorecard report generation expectation

Welcome to Cryostat! 👋
Before contributing, make sure you have:

[x] Read the contributing guidelines
[x] Linked a relevant issue which this PR resolves
[x] Linked any other relevant issues, PR's, or documentation, if any
[x] Resolved all conflicts, if any
[x] Rebased your branch PR on top of the latest upstream main branch
[x] Attached at least one of the following labels to the PR: [chore, ci, docs, feat, fix, test]
[x] Signed all commits: git commit -S -m "YOUR_COMMIT_MESSAGE"

See https://github.com/cryostatio/cryostat/pull/698
Description of the change:
This change adds allows the users to provide...
Motivation for the change:
This change is helpful because users may want to...
How to manually test:

Insert steps here...
...

/build_test

#986


[FT] Any Pypi package for this toolkit?

Hi ! Yes you can install using: pip install lighteval, to add some needed extras, you can
pip install lighteval[extra]

extra name
description

accelerate
To use accelerate for model and data parallelism with transformers models

tgi
To use Text Generation Inference API to evaluate your model

nanotron
To evaluate nanotron models

quantization
To evaluate quantized models

adapters
To evaluate adapters models (delta and peft)

tensorboardX
To upload your results to tensorboard

vllm
To use vllm as backend for inference

Hi ! Yes you can install using: pip install lighteval, to add some needed extras, you can pip install lighteval[extra]
extra name	description
accelerate	To use accelerate for model and data parallelism with transformers models
tgi	To use Text Generation Inference API to evaluate your model
nanotron	To evaluate nanotron models
quantization	To evaluate quantized models
adapters	To evaluate adapters models (delta and peft)
tensorboardX	To upload your results to tensorboard
vllm	To use vllm as backend for inference

Thanks! Would you put this information in the readme by any chance?

Good idea, opened #307


[Feature Request] Add support for filtering layer dynamically

I haven't seen any options right now within Tegola to pass on parameters from frontend to DB for filtering the input dataset. Is there any updates on that?

@aaj013 it's not currently on our roadmap. Could you give a more concrete example on how you would want this to work from the frontend? It's an interesting idea though I see it conflicting with concepts like tile caching, but I'm open to exploring the possibility.

I see the same functionality in another vector tile server Martin passing on parameters from client side to plpgsql (https://github.com/urbica/martin#function-sources). Wouldn't it be nice to integrate that feature?

One possible use case:
There is a tourism map/website allowing you to choose a number of POI types to display from a list of ~50+. It then uses a bbox strategy to request a list of poi's in a viewport (bbox), something like poi.php?bbox=12,23,45,56&type=ABC (where A, B and C are types of POI to be displayed). This works with OpenLayers.
While trying to migrate to mapbox-gl-js, there is a problem: bbox strategy is not available in mapbox-gl-js.
Putting all 50+ categories of POI's into one source of vector tiles is not nice, as there is a requirement to display POI's even on small scales (putting all POI's on small scales would make vtiles too large).
Having as many vector tile sources/layers as POI types (50+) would be too cumbersome/slow when a lot of POI types is selected. And map style file would have to include all 50+ types separately.
Solution could be to use similar request url but with parameter, say: 15/78/456.pbf?type=ABC
Argument "type" with value "ABC" could be passed to Tegola so that it does a one-time query, creates a pbf, returns it and does not save in a cache. Query could be written like this:
select ...
from ...
where instr(:type, field_type) > 0

P.S. This is just a theoretical use case. I have not tested if this would be usable in mapbox-gl-js.

@aaj013 one thing about martin is that it only supports PostGIS. Tegola has more than one provider type so I'm always trying to think of how we can make the implementation provider agnostic. I have not dug into Martin too much, but do you know if it supports a tile cache along with the query feature? I think that would be an interesting challenge to tackle.
@tomass this is an interesting use case and seems to be very specific. I still think we're going to run into issues with a tile cache, but I guess in this use case there would be no tile cache. I'm not opposed to this feature, just trying to understand the use case more.

Tilegarden does this by letting the client include filters in the header
[
    {
        "name":"layer1",
        "mode": "AND" // optional, operator to use to combine filters, can either be AND or OR, defaults to AND
        "filters": [ // optional, applies no filters if missing
            {
                "col":"column1", // table column you wish to filter by
                "val":"value1", // value to filter on
                "op": ">" // optional, boolean operator to use when comparing col to val, = by default
            }
        ]
    }
]

Useful if you only want to return geometry from a specific set of data. Maybe you have many data collection projects that each store geometry in the same geographic area, but you would like to view separately. A lot of tile servers (this one included) are configured to source geometry from one table specified in a config file, so you wouldn't be able to store data in separate tables and query it out based on client input.

I'm starting to see more and more use cases for this. Tegola has the concept of map tiles (encodes several layers together in a single tile request) and then layer tiles (only has a single layer encoded in the tile). I think adding support for filtering on the layer requests could make sense. If this were to be implemented, support for caching individual layer caches would probably need to be dropped (not a big deal, I think this is rarely used right now).
@jj0hns0n do you have a link to what OGC came up with as a solution for this? Looks like there are several strategies tegola could adopt for layer filtering, so I would like to get that one into the conversation.

Just wanted to echo my interest here as well. My use case involves serving different tiles to different users, so my maps all make tile requests in the form of user_id/z/x/y
Of course, the reason I'd like dedicated tile server is to reduce the load on my PostGIS sever since many of these tiles are too complex to be rendered on the fly, so it'd be ideal if there were some way to preserve caching here.

@durkie thanks for chiming in. This feature is getting requested more and more and I'm hearing a few different query strategies. I'm also aware the OGC has recently completed a testbed to standardize a spec for vector tile querying. I believe they rallied around CQL, but I could also see the simple use case of query strings.
In your use case, you're looking for caching the queried tiles. The initial idea is to not provide caching for tiles that can be queried. One way we could potentially accommodate this is to allow a user-defined cache key which would need to be provided at the time of the query. For example, in your use case, it would be user_id and the tiles could be written to that namespace.

I'm also interested in this. I am currently using martin with postgis to create vector tiles. As I would like to decrease load on the database, I'd like to use tegola on lambda.
In my use case the frontend makes a query for multiple ids, whose linestrings martin then returns as a single layer.
The current request looks something like this: /map/item_ids=[1,2,3..]
So if filtering would be possible in tegola, it would be a perfect fit.
Are there any plans to implement something like this in the future?

@flyingjoe It's something we would like to implement but it's a fairly involved feature. If I have to be honest, I think it might take a commercial use to help resource the development. We would absolutely support a PR if someone would like to lead the effort. I have some ideas on the design, but there's a lot to think about.


version up for reflecting scatterplot logscale margin work

This PR is simply for allowing web-components' version up to web-eda by merging https://github.com/VEuPathDB/web-components/pull/361

@jtlong3rd thank you for your approval (in advance 😄 )


home office icon

Icon Request

Icon name: Home Office
Tags of this icon: home office, work from home, mobile work
Use case: business, employee benefit
Screenshots of similar icons:

https://www.remixicon.com/icon/home-office-line


LaunchDarkly store implementation

Please connect the PR to the related issue 🙏

Update lib in saas and update.
after release create new branch for CLI


"Malformed decrypted payload, probably used the wrong key"

python3 examples/decode.py --serial XXXXXXXXXXXXXX resources/config.bin resources/config.xml outputs "Malformed decrypted payload, probably used the wrong key!" even though router's serial is right..

I'm having the same problem, can anyone help?

This message means that the tool couldn't decode it, either due to the inputs used being wrong, or the model not being supported.
You've provided no info whatsoever, so Idk what you expect. I get hiding the serial, but why the model?
Anyway, if you think this is a type 4, maybe try again with the latest version. If it doesn't work, more info is definitely needed here (maybe the output of examples/info.py).

Closing as not enough information.


Run fetcher in Foreground mode

I use foreman locally for development. Its a bit of a pain to have to run fetcher in a separate process while I'm doing dev work. It would be cool if fetcher worked with something like a foreman Procfile, so you could just add zencoder fetcher to your local procfile, run foreman start -f Procfile.local, and watch it go.
Trying to run fetcher in a foreman process causes the entire process to immediately terminate. Pretty sure this is related to this issue, as I believe fetcher can't really be run in a background process.

Would you be willing to take a pass at implementing this in a pull request? It sounds like it'd be handy to have, but it's not something that we're going to be able to add any time in the coming months.

I'm totally into it. I'll whip something up this weekend and send it over for review.


IMPR/GRID-201

Will merge, Since your PR is based on it https://github.com/openfin/fin-hypergrid/pull/336

no, #336 is not based on this...


Support dynamic ID keys

Adds support for dynamic ID keys introduced in https://github.com/vapor/fluent-kit/pull/153 (#44).

These changes are now available in 4.0.0-beta.3.1


Speech cloud-client nits

Removes commented out code snippet and adds note on async time limit for local files.

Codecov Report

Merging #609 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #609   +/-   ##
=========================================
  Coverage     50.81%   50.81%
  Complexity      244      244
=========================================
  Files            87       87
  Lines          2775     2775
  Branches        185      185
=========================================
  Hits           1410     1410
  Misses         1315     1315
  Partials         50       50

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9e9cf29...e5d8de8. Read the comment docs.


Error 403 Forbidden when trying to connect to Colab's server

So when I click on the localhost link, it is supposed to open File Explorer, but all I get is error 403. Any reason for that?

you need to wait for a couple second to prepare the tunne, like webui in colab

feel free to reopen this issue ticket


Replace the failure crate

It's deprecated now. anyhow or thiserror?

Related: https://github.com/dtolnay/anyhow/issues/75


Fix jagged parentheses

Fixes #2198.
As you may recall, an earlier issue (#1975) complained of occasional gaps in built-up vertical delimiters. PR #1986 introduced small overlaps at each junction, then added one extra repeat element to cover the last gap. For parentheses around a 3x3 matrix, that extra repeat element runs past the curve in the parenthesis and looks jagged.
This PR uses a shorter repeat element to cover that last gap.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@f09955c). Click here to learn what that means.
The diff coverage is 44.44%.

@@            Coverage Diff            @@
##             master    #2234   +/-   ##
=========================================
  Coverage          ?   88.48%
=========================================
  Files             ?       83
  Lines             ?     5366
  Branches          ?      942
=========================================
  Hits              ?     4748
  Misses            ?      544
  Partials          ?       74

Flag
Coverage Δ

#test
88.48% <44.44%> (?)

Impacted Files
Coverage Δ

src/buildCommon.js
91.57% <ø> (ø)

src/svgGeometry.js
61.29% <ø> (ø)

src/delimiter.js
68.08% <44.44%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f09955c...7d643ad. Read the comment docs.

Codecov Report

Merging #2234 into master will increase coverage by 0.08%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #2234      +/-   ##
==========================================
+ Coverage   94.77%   94.85%   +0.08%
==========================================
  Files          83       83
  Lines        5360     5366       +6
  Branches      940      942       +2
==========================================
+ Hits         5080     5090      +10
+ Misses        257      253       -4
  Partials       23       23

Flag
Coverage Δ

#screenshotter
88.55% <100.00%> (+0.09%)
:arrow_up:

#test
88.48% <44.44%> (-0.16%)
:arrow_down:

Impacted Files
Coverage Δ

src/buildCommon.js
98.08% <ø> (ø)

src/svgGeometry.js
90.32% <ø> (ø)

src/delimiter.js
89.00% <100.00%> (+1.68%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f2886af...13d6559. Read the comment docs.

Thank you for the review!


Replacing channel expand pool with pre-created pool.

I've been meaning to remove the expand pool for a while.  I ran the client load test, and there was no discernible difference between a pre-created pool and one that gets created on demand.  I'm going to run the latency test before assigning a reviewer.

This slowed down the latency test by .3 ms. closing.


Add Support for CloudWatch Agent

Problem Description:
Templates last based prior to usage of CloudWatch Agent. Update to include optional CloudWatch logic
Expected Behavior:
Template installs CloudWatch agent in regions that support it.
Actual Behavior:
No hooks for CloudWatch Agent present
(Optional) Fix recommendation:
Re-baseline EC2 templates against latest watchmaker templates

Encapsulated in rebasing effort (see f971888f278da06d94a507721ef68277df344400)


Fix types not being emitted

I was trying to use this package but noticed that the JSX types are missing in dist/.
As it turns out tsc (used in pridepack to generate type declaration) does not copy over .d.ts files. (see https://stackoverflow.com/questions/56018167/typescript-does-not-copy-d-ts-files-to-build)
This PR fixes the problem for this package.
I love the idea behind this package, I found it half way through writing my own.

Thanks


functional-tester: different storage hash in case 0

2016-04-14 09:30:25.678051 I | etcd-tester: [round#255 case#0] start failure kill all members
2016-04-14 09:30:25.678088 I | etcd-tester: [round#255 case#0] start injecting failure...
2016-04-14 09:30:25.742142 I | etcd-tester: [round#255 case#0] injected failure
2016-04-14 09:30:25.742180 I | etcd-tester: [round#255 case#0] start recovering failure...
2016-04-14 09:30:28.601684 I | etcd-tester: [round#255 case#0] recovered failure
2016-04-14 09:30:28.601721 I | etcd-tester: [round#255 case#0] canceling the stressers...
2016-04-14 09:30:28.604002 I | etcd-tester: [round#255 case#0] canceled stressers
2016-04-14 09:30:28.604020 I | etcd-tester: [round#255 case#0] checking current revisions...
2016-04-14 09:30:29.736208 I | etcd-tester: [round#255 case#0] all members are consistent with current revisions
2016-04-14 09:30:29.736263 I | etcd-tester: [round#255 case#0] checking current storage hashes...
2016-04-14 09:30:29.736294 I | etcd-tester: [round#255 case#0] checking current storage hashes failed (map[<IP_ADDRESS>:2379:4050619795 <IP_ADDRESS>:2379:2305646342 <IP_ADDRESS>:2379:2305646342])
2016-04-14 09:30:29.736317 I | etcd-tester: [round#255 case#0] cleaning up...
2016-04-14 09:30:32.752815 I | etcd-tester: [round#255 case#1] start failure kill majority of the cluster

More details coming.

seems like we hit the compaction issue again.

etcd logs look fine. Not sure why. I will deploy testing cluster with more debugging lines.
Thanks.

# tester

2016-04-14 19:06:43.143792 I | etcd-tester: [round#28] check compaction at 12493841
2016-04-14 19:06:43.143802 I | etcd-tester: checkCompact with rev 12493841 for <IP_ADDRESS>:2379
2016-04-14 19:06:43.241787 I | etcd-tester: checkCompact DONE with rev 12493841 for <IP_ADDRESS>:2379
2016-04-14 19:06:43.241829 I | etcd-tester: checkCompact with rev 12493841 for <IP_ADDRESS>:2379
2016-04-14 19:06:43.331300 I | etcd-tester: checkCompact DONE with rev 12493841 for <IP_ADDRESS>:2379
2016-04-14 19:06:43.331354 I | etcd-tester: checkCompact with rev 12493841 for <IP_ADDRESS>:2379
2016-04-14 19:06:43.360756 I | etcd-tester: checkCompact DONE with rev 12493841 for <IP_ADDRESS>:2379
2016-04-14 19:06:43.360790 I | etcd-tester: [round#28] confirmed compaction at 12493841

...
2016-04-14 19:06:47.021773 I | etcd-tester: [round#29 case#0] checking current storage hashes...
2016-04-14 19:06:47.021803 I | etcd-tester: [round#29 case#0] checking current storage hashes failed (map[<IP_ADDRESS>:2379:419597258 <IP_ADDRESS>:2379:1898239087 <IP_ADDRESS>:2379:1898239087])
...

So only the agent1 is off with hash. And looked at the logs and found agent1 didn't finish the compaction but tester thinks the compaction is done.
# agent1


handle new lines better in docker.env using bashEscaped helper

still sourcing docker.env in the runner script as well so that any vars set can be used in docker arguments
/cc @jonathanwgoodwin

docker is silly, closing this and going to try a different strategy (already reverted the change on hs_staging branch)


Fix encryption mapping expiration race-condition

Hello,
I was doing some load testing and I discovered a race condition in the netcode server logic related to adding and removing encryption mappings.
The issue can occur when the server receives a packet from a connected client on the exact frame is it set to timeout. In this frame if either netcode_encryption_manager_add_encryption_mapping or netcode_encryption_manager_remove_encryption_mapping is executed for another client, netcode_encryption_manager_entry_expired will return true, which allows a connecting client to "steal" the encryption mapping, or a disconnecting client to clear it out.
It's extremely unlikely to occur, but I've been able to reliably reproduce it by spamming a server with clients that connect, send a bunch of packets with frame sleeps ranging from 10ms to >timeout, and then disconnect (or get timed out).
Here's a walkthrough of how both scenarios can occur:
Scenario 1) netcode_encryption_manager_add_encryption_mapping "stealing" another clients encryption mapping:

ClientA successfully connects to the server, gets it's encryption_index index assigned to server->client_encryption_index.
The server does not receive a packet from ClientA until exactly the frame that it would expire / timeout.
In that frame three things happen:

server->time is stepped such that the method netcode_encryption_manager_entry_expired returns true for ClientA's encryption_mapping
The server receives a NETCODE_CONNECTION_REQUEST_PACKET from a new ClientB. While executing netcode_server_process_connection_request_packet for ClientB's NETCODE_CONNECTION_REQUEST_PACKET the netcode_encryption_manager_add_encryption_mapping mapping re-assigns ClientA's encryption mapping to ClientB (because it returns true for netcode_encryption_manager_entry_expired)
The server then processes ClientA's packet to keep the connection for ClientA alive, bumping its client_last_packet_receive_time preventing netcode_server_check_for_timeouts from disconnecting the client.

Now both the server->client_encryption_index entries for ClientA and ClientB refer to the same encryption_index. So whenever the server calls netcode_encryption_manager_touch for ClientA, the mapping is no longer associated with its address and logs: error: encryption mapping is out of date for client X, preventing it from sending packets.
From this point one of two situations follows, either:

ClientA is starved of packets and disconnects from it's end, netcode_server_disconnect_client_internal is executed but netcode_encryption_manager_remove_encryption_mapping fails to remove the mapping, since it can no longer associate ClientA's address to it. Now the server state is "corrected". Or:
ClientB disconnects before ClientA disconnects, netcode_server_disconnect_client_internal is executed and netcode_encryption_manager_remove_encryption_mapping removes the mapping and decrements server->encryption_manager.num_encryption_mappings. Which will cause ClientA to trigger the netcode_assert( index < encryption_manager->num_encryption_mappings ); in netcode_encryption_manager_touch.

Scenario 2) netcode_encryption_manager_remove_encryption_mapping prematurely clearing a clients encryption mapping:

ClientA successfully connects to the server, gets it's encryption_index assigned to server->client_encryption_index.
The server does not receive a packet from ClientA until exactly the frame that it would expire / timeout.
In the single frame three things happen:

server->time is stepped such that the method netcode_encryption_manager_entry_expired returns true for ClientA's encryption_mapping
The server receives a NETCODE_CONNECTION_DISCONNECT_PACKET from some other clientX, whose encryption_index is encryption_manager->num_encryption_mapping - 1. While executing netcode_encryption_manager_remove_encryption_mapping, netcode_encryption_manager_entry_expired returns true for ClientA's mapping and it is cleared out.
The server then receives a packet to keep the connection for ClientA alive. While processing the packet for ClientA, the client_last_packet_receive_time is bumped, which prevents netcode_server_check_for_timeouts from disconnecting the client.

Now when clientA attempts to access its encryption_mapping a netcode_assert( index < encryption_manager->num_encryption_mapping ) will trigger.
The Solution:
I'm sure there is a better way to do this, but I figured the easiest solution was to just prevent expired mappings that belong to a connected client from being assigned / cleared until after that client is disconnected. To do this I added a client_index field to the encryption_manager struct: an inverse of the servers client_encryption_index. With the changes made in this PR I was no longer able to reproduce the issue. I would normally be able to reproduce the issue within a few minutes of running my tests, I ran this branch for 2 hours with no incidents.
Also, slightly related, this PR removes the return from netcode_server_check_for_timeouts, which prevented timing out more than one client per frame. I'm not sure if that was intentional or not.

Excellent


Adam (Haq) <> Alberto (QOSF,QUE,qBraid) <> Ricky (qBraid)

qBraid, Adam Fattal, and @MaldoAlberto Alberto are leading a project to build a revamped qbook.qbraid.com
Goal:
We want to submit a tutorial notebooks which are hosted on qbraid and incorporates some of the technological features in haq.ai such as the code judging with judge0.

Responsiblities:
@rryoung98

Building the integration of haq.ai
Revamping qbook

Adam

Provide guidance on importing questions and the haq.ai code.

@MaldoAlberto

Rally the community.
Get people to submit tutorial notebooks that can be added to the platform which Ricky and Adam will build.

https://qce.quantum.ieee.org/2023/call-for-tutorials/

stale issue, so, closing it!


[BEAM-7473] Pack RangeTracker into restriction

Use (SourceBundle, RangeTracker) as restriction for SDFBoundedSourceWrapper.
This PR fixes the issue that the system and SDF.process don't use the same instance of RangeTracker, which causes splitting failed.
R: @robertwb
cc: @chamikaramj

Run Python PreCommit

Run Python PreCommit

Changed usage to _SDFBoundedSourceRestriction. Please take another look @robertwb

Thanks for your help!


FW: handle loss of and/or not having an airspeed sensor

As discussed in dev call 2016-02-29
In reference to https://github.com/PX4/Firmware/issues/3834
And for VTOL expanding on https://github.com/PX4/Firmware/issues/3850
FW flight currently depends on an airspeed sensor in auto mode, and for VTOL it is even required for transition. Given a properly tuned config (cruise throttle with maybe some pitch mixing) it should be possible to fly without an airspeed sensor. This flight mode could be desired for small airplanes that do not have an airspeed sensor, but it would also add the ability to failsafe the loss of reliable airspeed readings during flight.
I propose to implement falling back to cruise throttle and mixing in pitch angle when either an airspeed sensor is missing, or the reading becomes unreliable. In the latter case I would propose a RTL failsafe event.
@tumbili @AndreasAntener your thoughts please

I consider flying at a fixed throttle (higher than cruise, because cruise is for efficient flight) a valid option as airspeed failsafe.

implemented


Performance problems of ui

During this time, I used the gui of go language to implement a package capture program, and the gui of hyperdng used the form control. I found that the form has no problem for loading complete data at one time, but the performance of dynamically adding rows is not good. At present, I am studying another gui scheme using Google skia, but I am still learning how to use it, so I can't replace the current ui interface for the time being.

If you are also a lover of go language, please submit a pr after you pass the unit test. Of course, if I master this technology first, I will give priority to the gui v2 version. During this period, dll and c api will be bound to go language, and a lot of binding codes need to be written. If you are interested, please submit pr to speed up the connection between gui and hyperdbg driver layer. The expected goal is to be as easy to use as x64dbg.

Newer ui lib choose:
https://github.com/richardwilkes/unison

Well, that's great. Yes, I might not be good at GO but I will try to learn it.
> During this period, dll and c api will be bound to go language, and a lot of binding codes need to be written.
Please tell me the specific tasks like converting these APIs from xxx to yyy, so I can convert them for you. Or if there are any other modifications that need to be done on C or C++ project at this time, please let me know.

Well, that's great. Yes, I might not be good at GO but I will try to learn it.
> During this period, dll and c api will be bound to go language, and a lot of binding codes need to be written.
Please tell me the specific tasks like converting these APIs from xxx to yyy, so I can convert them for you. Or if there are any other modifications that need to be done on C or C++ project at this time, please let me know.

Okay

hi, if you have free time, please help layout the table widget.

demo rep:
https://github.com/ddkwork/unisonUi

Hi,
Currently, I'm finishing the refactoring codes of HyperDbg at : https://github.com/HyperDbg/HyperDbg/tree/refactor-vcpu
I'll join you later.

Hi,
Currently, I'm finishing the refactoring codes of HyperDbg at : https://github.com/HyperDbg/HyperDbg/tree/refactor-vcpu
I'll join you later.

nice， and if you have vps，please give me one，i use it connect ssh etc for open Google，github， China's vpn so bad.

As for go language, I think the fastest way for us to communicate is this: run jetb goland ide on your machine, then open code with me, then you send me the token, and I will connect to your computer. At this time, we are coding, compiling, testing and discussing on the same screen, which is very real-time.

Hi,
Currently, I'm finishing the refactoring codes of HyperDbg at : https://github.com/HyperDbg/HyperDbg/tree/refactor-vcpu
I'll join you later.

nice， and if you have vps，please give me one，i use it connect ssh etc for open Google，github， China's vpn so bad.

need vpn

https://www.jetbrains.com/code-with-me/

I have some VMESS VPNs. I can send it to you. Would you please give me your email address so I can privately send the credentials to you?

I have some VMESS VPNs. I can send it to you. Would you please give me your email address so I can privately send the credentials to you?

<EMAIL_ADDRESS>Thx you.

I'm a little curious that your country also needs vpn. As far as I know, except China, you can't access Google, so it seems that other countries can. What's worse: in China, it's not just the problem of not being able to access Google. After accessing github, it can't be accessed for tens of seconds or even half an hour, and then it resumes for about a minute. It's intermittent and quite a bad network.

good

I encountered another layout problem: the layout of the two controls, tab and table, is not normal. If the table layout is set to flex, the table contents will not be displayed. If the table layout is not specified, the table data will be displayed, but the video card is arranged at the bottom, and the tab layout is invisible.

I encountered another layout problem: the layout of two controls, tab and table, is not normal. If the table layout is set to flex, the table contents will not be displayed. If the table layout is not specified, the table data will be displayed, but the tabs are arranged at the bottom, so the tab layout can't be seen.

v2 starting, please join me codeing


Android: no ability to re-init Akavache on Activity re-start

On a root view, tap Back button
Android gets to the Home, the main activity is stopped & destroyed
OnStop() shuts down Akavache in my case
Then I use the Android App Stack button and choose my app again
Android re-creates the main activity
But Akavache static BlobCache is actually ShutdownBlobCache already and there's no way to re-init Akavache. It's EnsureInitialized() does nothing as all the init logic is in the static constructor

Why not get the initialization lazy and re-enterable via EnsureInitialized()?

Hi,
did you find a solution or workaround?
I'm running in the same issue....

Actually, not. For now, just need to ask user to explicitly re-start the app (yeap, ugly).
Considering to fork and move the initialization from the static ctor to a dedicated method..

I would also appreciate it if Akavache would offer a possibility to shutdown and initialize a BlobCache again.
We ran into problems with our tests because some of the tests need a Blobcache with a different EncryptionProvider. Unfortunatelly if the Blobcache is already created, you can not change the EncryptionProvider again. So it would be very practical to dispose the Blobcahe after every testcase and then initialize it again.

I use Flush instead of shutdown just to ensure everything in flight gets pushed and so far haven't seen any issues..
As far as for testing maybe just don't use the static stuff and just instantiate your own?

What's this Global Variable nonsense? Why can't I use $FAVORITE_IOC_LIBRARY
You totally can. Just instantiate SQLitePersistentBlobCache or SQLiteEncryptedBlobCache instead - the static variables are there just to make it easier to get started.

If you set the static properties to something it will just use those instead
So like in my unit tests I have this inside TestCleanup
    BlobCache.LocalMachine.InvalidateAll().Wait();
    BlobCache.InMemory.InvalidateAll().Wait();
    BlobCache.Secure.InvalidateAll().Wait();

And then this inside TestInitialize
  BlobCache.InMemory = new InMemoryBlobCache(TestScheduler);
  BlobCache.LocalMachine = new InMemoryBlobCache(TestScheduler);
  BlobCache.Secure = new InMemoryBlobCache(TestScheduler);

So in your case when the test initializes you could just instantiate a new static property. Or just don't use the static access methods and just create the Blob Cache's yourself

Seems, with the #342 ticket, we have a solution.
As recommended, just manage the instancing and flushing of IBlobCache explicitly.

I changed the ShutDown to Flush only and everything is working fine.


Add ha performance benchmarks page

:nut_and_bolt: Description: What code changed, and why?

:chains: Related Resources
:+1: Definition of Done
:athletic_shoe: How to Build and Test the Change
:white_check_mark: Checklist
All PRs must tick these:

[ ] I have read the CONTRIBUTING document.
[ ] All commits signed-off for the Developer Certification of Origin.

With occasional exceptions, all PRs from Progress employees must tick these:

[ ] Is the code clear? (complicated code or lots of comments--subdivide and use well-named methods, meaningful variable names, etc.)
[ ] Consistency checked? (user notifications, user prompts, visual patterns, code patterns, variable names)
[ ] Repeated code blocks eliminated? (adapt and reuse existing components, blocks, functions, etc.)
[ ] Spelling, grammar, typos checked? (at a minimum use make spell in any component directory)
[ ] Code well-formatted? (indents, line breaks, etc. improve rather than hinder readability)

All PRs from Progress employees should tick these if appropriate:

[ ] Tests added/updated? (all new code needs new tests)
[ ] Docs added/updated? (all customer-facing changes)

Please add a note next to any checkbox above if you are NOT ticking it.
:camera: Screenshots, if applicable

My first questions are:

what is the user supposed to do with this document?
what do they get out of doing that thing?

My first questions are:

what is the user supposed to do with this document?
The purpose is to give the users additional information about the performance of an Automate HA cluster based on our internal testing. The goal of this page is to eventually replace the existing hardware requirements calculator we have in the documentation.
what do they get out of doing that thing?
The hardware calculation pages will be removed at a future date as the calculator is giving incorrect values, and we cannot predict the exact usage. The purpose is to provide information about our performance benchmarking and allow the customer to extrapolate the necessary hardware requirements and how to configure and benchmark their installation to determine the exact hardware requirements.


Option to block on queue full for async writer

The async writer currently just drops points when max queue size is reached.
There are some use cases where we would instead like to block when the queue is full for async writer. This could be an async option that defaults to current (drop) behavior so as not to break existing usages.

Fixed with 1d9642e.


Just a suggestion...

May I suggest  new categories of lists  for ...

Dating sites  // major time pass in office
Jobs sites   // HR will thank you.
News & Current Affairs Sites  // major time pass in office
Sports Sites // major time pass in office
Shopping Portals //major time pass in office
VPN / Proxy sites  // stop bypassing firewall / router
Cloud Services  sites  // stop moonlight working from office itself
Web Mail Services Sites  //  stop transferring office files
Torrent Sites  // stop illegal file transfers
Streaming Videos Sites  // bandwidth consuming and time pass sites

Hello @mithubindia thank you for this suggestion.
I don't feel that office gatekeeping is a significant segment of our base. Moreover there's an industry built around isolating office networks where hosts files have a necessarily limited place.
Secondly it's one thing to declare categories, quite another to find serious curators to maintain such lists over the long term.
Thirdly, since we amalgamate broad categories of lists, our offerings grow geometrically. I need to keep a lid on that.  I'm not keen on generating and maintaining hundreds of variants. Presently we have 5 basic categories (n = 5) which leads to 31 ((2^n) - 1) variants already.
Nonetheless thank you for the suggestion, but presently I decline to entertain it for the reasons listed above.
Closing.


MAKEINTRESOURCE macro

Winuser.h defines a macro that is used a fair bit : MAKEINTRESOURCE.

Converts an integer value to a resource type compatible with the resource-management functions. This macro is used in place of a string containing the name of the resource.

#define MAKEINTRESOURCEA(i) ((LPSTR)((ULONG_PTR)((WORD)(i))))
#define MAKEINTRESOURCEW(i) ((LPWSTR)((ULONG_PTR)((WORD)(i))))

Would it be within the scope of this crate to reimplement this macro for inclusion inside winuser.rs ?

It would if the macro did anything. As it is, it's nothing more than a type cast, not even any bitshifts.

So if we are not going to implement it, can this be closed?


Set up CI with Azure Pipelines

[skip ci]

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


Delete Flow

Now that we have The Key, we need to delete the Flow from the package.

Moved the Flow to the unpackaged folder, so we have it for sentimental/historical reasons and if necessary we can load  in scratch orgs reasons.


Propagate Exceptions through the coroutine chain

Currently, if a coroutine raises an exception an error is created and the test is over.  There currently is no chance for the "parent" coroutine to process the exception.  Ideally it would be nice to support something like the following:
@cocotb.coroutine
def err():
    yield NullTrigger()
    raise ValueError("Example of raising an error")

@cocotb.coroutine
def catch_err():
    try:
        yield err()
    except ValueError:
        print("Handle the error")

The mechanism is already supported through the "throw()" function of the generator base coroutines.  It would just require modifications to the scheduler to "re-throw" the exception into the calling coroutine.  If at the top of the call stack then use raise_error().
@stuarthodgson and @chiggs  Was there a reason for not having this capability, i.e. not supported in certain versions of python, or never saw a need?  Is this functionality that you would be ok with being added?

Sounds like a good idea - I have a feeling there is a slight complication with throw() but it's so long ago I'm afraid I can't remember any concrete details.  Definitely worth seeing if this is feasible now though.
As an aside, I had a prototype of a better debug reporting mechanism for when things go wrong with coroutines which may be relevant - I'll try and push that to a branch in case it's useful.

Sounds good.
I did a very basic prototype of this in python 3.5.1 and it worked.  The one caveat was you couldn't catch the exception and throw it into the other coroutine, you had to 're-construct' it to use the throw() feature.  I hadn't tried to see what happens if the coroutine doesn't catch the exception that is thrown.

Any news on this? Did the prototype make it to the master? Is there anything I could do to help this issue forward?

Looks like I re-reported this at #632

@TL-SjoerdOptLand: See #640 for a working implementation


How Avalon tests UI JavaScript components using Jest and @testing-library

Adam Arling, Dananji Withana
<EMAIL_ADDRESS>As more and more ReactJS UI components are developed for the Avalon Media System project, we caught ourselves in a common habit of testing implementation details over writing tests to cover how the components and applications are actually used.   We'll provide an overview of what we test in Avalon's UI components, and how we're testing JavaScript components in React applications using Jest and the @testing-library package family.  We'll go over some reusable components we've developed included a visual waveform Structural Metadata Editor, and a IIIF Media player you could import into your projects.

This seems like a combination skill-building presentation and demo, which is a weird fit. I'd rather see it focus on just the testing strategies.

8/23 Confirmed

9/11 - Adam A. registered

10/4 Dananji Withana is not attending connect this year. Adam is still planning to present.


[WIP] Retry failed update if UUIDandVersion.Version changed

Need to run this through your new Eden test @sadov

@eriknordmark Seems like re-updating should be done automatically, without setting UUIDandVersion?

@eriknordmark Seems like re-updating should be done automatically, without setting UUIDandVersion?

No, because then EVE would repeatedly retry by itself which is a bad idea if the image is actually bad; would cause reboot loop. So we need some change from the controller to indicate that we want a retry.
Note that to oday we can force a retry by 1) remove the baseos image from the edgedevconfig, 2) wait for EVE to no longer report it as failed 3) add it to the edgedevconfig again. But that means waiting in #2.

Thanks @eriknordmark -- I will try.

@eriknordmark seems to have some problems with the EVE build (log in attach):
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:        20.04
Codename:       focal
[make_eve.002.log](https://github.com/lf-edge/eve/files/6289898/make_eve.002.log)
$ go version
go version go1.16.2 linux/amd64
$ git status
On branch fixes
Your branch is up to date with 'origin/fixes'.

nothing to commit, working tree clean
$ git pull
Already up to date.
$ make eve
...
  Create OCI config for lfedge/eve-pillar:50eb8ba9f017ae583508ca90fb012071813d6bb3-amd64
time="2021-04-10T16:06:22+03:00" level=fatal msg="Could not pull image lfedge/eve-pillar:50eb8ba9f017ae583508ca90fb012071813d6bb3-amd64: error getting manifest for trusted image docker.io/lfedge/eve-pillar:50eb8ba9f017ae583508ca90fb012071813d6bb3-amd64: GET https://index.docker.io/v2/lfedge/eve-pillar/manifests/50eb8ba9f017ae583508ca90fb012071813d6bb3-amd64: MANIFEST_UNKNOWN: manifest unknown; map[Tag:50eb8ba9f017ae583508ca90fb012071813d6bb3-amd64]"
containers/services/guacd/runtime.json: Truncated input file (needed 71 bytes, only 0 available)
bsdtar: Error exit delayed from previous errors.
make: *** [Makefile:482: /data/work/sadov/EVE/github/eriknordmark/eve/dist/amd64/0.0.0-fixes-4cd79370/installer/rootfs.img] Error 1
rm images/rootfs-kvm.yml.in

@eriknordmark seems to have some problems with the EVE build (log in attach):

@sadov if you patch pkg/pillar you have to do make pkg/pillar eve
since the Makefiles don't know which docker containers need to be rebuilt.

Doing this differently using a retry counter,


python3Packages.aiounifi: init at 4 + a few other minor updates to satisfy HA

Motivation for this change
ffmpeg and unifi components broke with HA 0.87.1
Cc: @dotlambda
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

included in #55383


Failed to execute 'postMessage' on 'DOMWindow'

I'm facing the exact same error as described here: #303
As soon as i set monitorSession to false, the error goes away.
I'm using version 1.5.3

Can you consistently reproduce this? If so, what are the exact staps?

I'm sorry, i'm not usint oidc-client anymore.

I was consistently able to reproduce this.  When I first login I don't get the error but when I refresh the browser the issue would happen every time.  I found the issue was I was running my vue app on http and identity server on https.  Running identity server on http fixed the issue.  Guess what I found interesting was the error didn't seem to stop anything working.

Guess what I found interesting was the error didn't seem to stop anything working.

Well, signout notifications probably didn't work.

Hmmm, might have this wrong but I thought they did.  Guess the next question is should oidcjs or identityserver warn if there is a mismatch between http and https?

Guess the next question is should oidcjs or identityserver warn if there is a mismatch between http and https?

it's the browser's job to do this


About CentOs

In the documentation, I noticed:

NOTE: Since the TensorFlow framework is not officially supported on CentOS*, the Model Optimizer for TensorFlow can't be configured and ran on those systems.

Can't I use vino to run Tensorflow model in CentOS at all?

Hello,
You can run Inference Engine with pre-generated IR on CentOS 7.
System requirements for inference published here: https://software.intel.com/en-us/articles/OpenVINO-RelNotes#inpage-nav-12-2

I created a simple tensorflow model based on MNIST，and then transformed it with optimizer。But it would cause error about "dropout". If I remove the dropout layer in the trainning phase ,the optimizer will success.
What can i do if I want remain the "dropout"  layer in training phase?
PS:
" --offload_unsupported_operations_to_tf " doesn't work.  it shows:
mo_tf.py: error: unrecognized arguments: --offload_unsupported_operations_to_tf


Feature request: Rerun

Normally, I don't ever have to rerun anything, Tilt just knows and that's awesome! However, today my disk filled up when tilt was building a docker image. So I went off and cleared some space and now I'd love to have a way to rerun the docker-build action without having to quit tilt or make an empty patch to some file that would trigger a rebuild.
here is a link to my workspace snapshot so you can see.
https://alerts.tilt.dev/snapshot/AY6wrdULbLCfixQODzU=

This seems related to some of our manual update control work. What do you think @hyu?

I was going to open an issue about rebuilding via the cli in manual trigger mode -- it sounds like this would address that desire.

Closing this in favor of #1012.


roundtripping inline code with escape before it loses inline code

Subject of the issue
\\\\`code`

is stringified as:
\\\`code`

which changes the structure
Your environment

OS: Ubuntu
Packages: mdast-util-to-markdown 0.6.4
Env: node v15.5.1, npm 7.3.0

Steps to reproduce
parse
\\\\`code`

which has the structure
{
    "type": "root",
    "children": [
        {
            "type": "paragraph",
            "children": [
                {
                    "type": "text"
                },
                {
                    "type": "inlineCode"
                }
            ]
        }
    ]
}

and stringify it:
\\\`code`

the resulting markdown has a different structure than the original
{
    "type": "root",
    "children": [
        {
            "type": "paragraph",
            "children": [
                {
                    "type": "text"
                }
            ]
        }
    ]
}

:notebook: comparing how the two pieces of markdown text are being parsed with https://spec.commonmark.org/dingus it appears in both cases it is parsed as expected.
Expected behavior
structure is the same
Actual behavior
structure is different

may be related to https://github.com/syntax-tree/mdast-util-to-markdown/issues/19

this appear to be the same as #19, moving details there and closing this issue


The mariadb service doesn't get create on a new install leaving OBS UI down.

The mariadb service doesn't get create on a new install leaving user interface down. This appears to be different from previous installs, and it might be something to do with the link to the MySQL service.

Okay, it looks like this is caused by MySQL being an alias for mariadb. The service module doesn't seem to like applying the enabled argument to this. A quick test demonstrates this works properly if we call the module directly against mariadb instead of the mysql alias


get_transactions error

Hi man,
hope you are well!
I am trying to get this bot up & running... i keep getting:
main.py:166: RuntimeWarning: coroutine 'get_transactions' was never awaited get_transactions() RuntimeWarning: Enable tracemalloc to get the object allocation
many thanks in advance

Double check the code here<EMAIL_ADDRESS>


Should we ask the PyKube author if they want to merge into gcloud?

See https://github.com/eldarion-gondor/pykube
Maybe we should ask @eldarion-gondor if they'd be interested in merging into gcloud-python ? It's not really a perfect fit, because k8s is its own open-source project... but maybe there's something worth discussing?

I don't know much about Kubernetes so don't know that I can offer much insight here. Asking them to merge in before any other discussion seems a bit quick.


Error: Could not find or load main class Server

Hi,
when I run my custom moquette code from IDE (Eclipse or IDEA) it works fine (after removing mapdb files). But when I try to run the same code from command line (for production server) using same class path and same set of libraries, I got following error:
Error: Could not find or load main class Server
My shell script that runs broker is here:
export mql='../mqtt-libs'
echo 'jars libs in:' $mql/*.jar
java Server -cp $bin -Dfile.encoding=UTF-8 -verbose:class
MQTT/etc libraries are currently removed from the script for debugging.
All compiled class files are in bin/io/... including Server.class.
My CLASSPATH begins with
$ echo $CLASSPATH
.:/opt/jdk1.7.0_79/db/lib/derby.jar:.:/opt/jdk1.7.0_79/lib/tools.jar:/home/gm/soft/mongodb/mongo-java-driver-2.11.4.jar:/home/gm/soft/mysql/mysql-java-5.1/mysql-connector-java-5.1.39-bin.jar:...
Any idea what is wrong?
Best regards,
GM

Hi,
this is not a fail on Moquette, but I can see in your sh file java Server
... you have to put full class name, for example:
java io.moquette.server.Server -cp ...
Take a look at Moquette's distribution launch script (
https://github.com/andsel/moquette/blob/master/distribution/src/main/scripts/moquette.sh
)
Andrea
On Wed, Oct 26, 2016 at 10:48 AM, George Matveev<EMAIL_ADDRESS>wrote:

Hi,
when I run my custom moquette code from IDE (Eclipse or IDEA) it works
fine (after removing mapdb files). But when I try to run the same code
from command line (for production server) using same class path and
same set of libraries, I got following error:
Error: Could not find or load main class Server
My shell script that runs broker is here:
export mql='../mqtt-libs'
echo 'jars libs in:' $mql/*.jar
java Server -cp $bin -Dfile.encoding=UTF-8 -verbose:class
MQTT/etc libraries are currently removed from the script for debugging.
All compiled class files are in bin/io/... including Server.class.
My CLASSPATH begins with
$ echo $CLASSPATH
.:/opt/jdk1.7.0_79/db/lib/derby.jar:.:/opt/jdk1.7.0_79/
lib/tools.jar:/home/gm/soft/mongodb/mongo-java-driver-2.
11.4.jar:/home/gm/soft/mysql/mysql-java-5.1/mysql-
connector-java-5.1.39-bin.jar:...
Any idea what is wrong?
Best regards,
GM
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/andsel/moquette/issues/226, or mute the thread
https://github.com/notifications/unsubscribe-auth/AA_Y0eqhi_RQXHDFOrDLM82oi9oM8UvSks5q3xPKgaJpZM4Kg6Jg
.


API documentation is difficult to navigate

gdsfactory seems to do a great job with documentation in general! But I find navigating the API documentation to be a little difficult. For example, I'm using the the geometry.offset function. I can easily find this function in the expected place in the source code. And there is a docstring describing how to use the function.
But, when I go to the API documentation, I literally cannot find the documentation for this function. Shouldn't this docstring be in the API docs somewhere?

Thank you for pointing that out Dan,
I added some more entries to the API documentation
let me know if it's better with this PR https://github.com/gdsfactory/gdsfactory/pull/1606

Thanks @joamatab!
The API docs seem similar though. For example, I still don't see the "geometry.offset" function listed.
On the main page, the "Sphinx docs to GH pages" badge says "Failing", so perhaps there is some issue with synchronizing to GH pages?

can you check again? yes, it takes 20 min to build the docs, and during those 20min the workflow shows up as failing :)
https://gdsfactory.github.io/gdsfactory/api.html

It works now! Thanks :)


cephfs: Initial directory support

This PR conflicts with / obsoletes PR #91.
Start implementing functions related to directories in cephfs. We establish a new directory handle type with associated open and close functions. We add a readdir wrapper. We add a rewinddir wrapper and with readdir create a List convenience function for common use cases that just want to consume all the dir entries in one call and iterate over them. The List function returns a DirEntries type that has a Names() method that returns only the names of the directory entries, once again as a convenience for the common case.
Checklist

[x] Added tests for features and functional changes
[x] Public functions and types are documented
[x] Standard formatting is applied to Go code

This differs from the other PR in that the Close method is on the dir handle, the functionality is located in its own file and the additional methods provided.

There's a bunch of fields in the underlying dir entry that are not represented in the new struct yet. I did this intentionally to keep this initial PR simple. I do plan on specifically adding support for "d_type" but didn't want to "boil the ocean" with this pr.

this will meet my requirements.  Thanks for putting in the effort to revitalize it!

@nixpanic I have removed capitalization, and thus made private, from the list method as well as names and dirEntries type. This retains the logic for any future tests I will write as well as leaving open the possibility of making these convenience functions public again in the future without advertising them right away and locking them in as the convenience api. PTAL.


feat(rust): app and service apps

Updates the okta example to use two different processes: the service and the enroller.

Closing  - extremely out of date, using CI resources


Terms and conditions and privacy policy

When I receive an email notification for the access to credit scheme, I want to be able to view the terms and conditions and privacy policy information, so I can view the finer details of the scheme and how my data is managed.

Provide a link to a terms and conditions document online
Provide a link to a privacy policy document online
These documents need to be for the Credere tool covering all FIs who partner with us for the tool
Mandatory checkboxes for users to tick before continuing

Design TBD

Closing as this was implemented already, and we just need to update the texts


[ASCII-1805] Remove useless flaky test

What does this PR do?

Remove a test which has flaked recently (timing issue), and is useless since it doesn't test anything that is not tested by other tests.
Motivation

Not have flaky tests.
Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


[YUNIKORN-1958] Fix link to merge script

What is this PR for?
The link to the merge script on the how to contribute page i is broken. It points to:
https://github.com/apache/yunikorn-release/blob/master/tools/merge-pr.sh
and should point to:
https://github.com/apache/yunikorn-release/blob/master/tools/merge_pr.sh
What type of PR is it?

[ ] - Bug Fix
[ ] - Improvement
[ ] - Feature
[x] - Documentation
[ ] - Hot Fix
[ ] - Refactoring

Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-1958
How should this be tested?
Screenshots (if appropriate)
Questions:

[ ] - The licenses files need update.
[ ] - There is breaking changes for older versions.
[ ] - It needs documentation.

@FrankYang0529 Thanks for reviewing !


Support multi-license software

Describe the bug
Libraries can have multiple licenses, depending on the components or the developer's choice, e.g. https://github.com/KDE/karchive/tree/master/LICENSES
However, vcpkg enforces providing a single, generic "copyright" file, which is problematic since in case of multi-licensed software there no single "right" license to choose from.
Expected behavior
At the minimum, post-build checkouts should check if any file matches copyright* pattern, which would allow to provide multiple license files, each with a different suffix (e.g. an SPDX identifier) denoting specific license.
Failure logs
-- Performing post-build validation
The software license must be available at ${CURRENT_PACKAGES_DIR}/share/kf5plotting/copyright

Actually, I just realized that it is enough that ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright is a folder itself, and so copying all the license files to it does the trick.


Job retry distribution in the Workflow Summary

Copying what I wrote in HN (https://hypernews.cern.ch/HyperNews/CMS/get/wmDevelopment/398.html):
Around 5 months ago, I contributed with a view, that shows the failure
distribution for a workflow, documented on this ticket (Steve commited
for me) :
https://svnweb.cern.ch/trac/CMSDMWM/ticket/3313
I hoped that it would go in into some release some time afterwards,
but if I look here :
https://cmsweb.cern.ch/couchdb/workloadsummary/_design/WorkloadSummary/_show/histogramByWorkflow/amaltaro_RVCMSSW_6_0_0_pre10MinBias_120725_230422_8052
For instance, I don't see that it was used.
It was agreed that this will be done in the priority WMCore gives it, so I'm creating this ticket so it gets moving.

Samir, it seems this information is available in the workloadSummary. Since nobody looks at the "human" workflow summary. I would close this issue.
@ticoann can we close it please


Clarify lifecycle of Dapr process and app process

In what area(s)?
/area runtime
Describe the proposal

At the moment, the expected lifecycle between Dapr process and app process is not clear.

Dapr runtime has a blockUntilAppIsReady, meaning it waits for app to be ready (i.e. opening a port) before initialization and opening dapr-grpc-port
For an app process, it typically needs to do some initialization (e.g. bind to a message broker, get some initial config from a state service) on startup, which requires connecting to Dapr process. Only then will the app open a HTTP port and become ready.

In current implementation, it seems both Dapr process and app process expect the other one to be ready before initializing itself.
With Kubernetes sidecar feature, sidecar processes typically start and initialize before app processes. And sidecar processes shut down after app processes.
I think we should follow this. Dapr processes should not blockUntilAppIsReady.

Hi @xiazuojie, you're right that once the sidecar feature is implemented, Dapr should not use blockUntilAppIsReady.
Unfortunately, that features has been removed from 1.18, then removed from 1.19 and currently has no specific date for landing.
reference: https://github.com/kubernetes/enhancements/issues/753

In current implementation, it seems both Dapr process and app process expect the other one to be ready before initializing itself.

However, we are working on fixing this by making the Dapr API available before blocking for the app status.

In current implementation, it seems both Dapr process and app process expect the other one to be ready before initializing itself.

However, we are working on fixing this by making the Dapr API available before blocking for the app status.

Can you clarify what you mean by "making the Dapr API available"?
Does it mean only dapr-grpc-port is open, or that Dapr process is fully working?
I believe we need a fully working Dapr process before an app process is started, because the app may need to do some initialization (e.g. get some initial config from a state service) on startup through Dapr.

It means Dapr will be fully working before it blocks for the app.


Upgrade most packages

What kind of a pull request is this?
Package upgrades and bug fixes.
Code Checklist

[x] The code follows dotkom code style
[x] The code passes the defined tests
[x] I have added tests for the code I added
[ ] I have provided documentation for the code I added
[ ] The code is ready to be merged

(Possible) Breaking Changes

[ ] The changes are backwards compatible

[ ] I have updated the build configuration
[ ] These changes requires changes to configuration in production

[ ] I have applied the required changes in production
[ ] I cannot apply the required changes in production before this is deployed.

Description of changes
Upgrade of a bunch of python packages. Main change is support for Django 1.11.
This requires a lot of testing before we can deploy it to production. I have done a simple manual test of most of the functionality, but it's likely that I haven't tested everything. In the future package upgrades need to happen earlier as it's just too likely that something broke in unexpected ways now.

Good job.
I played around a bit with it locally and all of the things I came across worked fine. I also tested to deposit some money into my account using Stripe, which also worked fine.