Fingerprint stylesheet assets with Webpack

Changes
Process stylesheets and assets using Webpack. This allows us to "fingerprint" assets in the dist folder so that they break cache only if they change. It also allows Webpack to handle whether to inline assets as data URLs based on their file size: for now, it's configured to inline any files that are less than 4kb.

References #4867.
For review/discussion: @DoSomething/front-end

Closing this, since it ended up getting merged with the shared config introduced in #4867!


When you change a lane type, also adjust to the default width for the…

… new type. #597
It's always been kind of weird in the new road editor to change a lane type, but use the existing width of a lane. The width dropdown lets you adjust this (and maybe we should have more options there, or a custom slider even). But by default, I think it's a little more sane to change the width too.
Before:

After:

Whoops I meant to merge this in for the release. Oh well, next week

I wonder if there could be a width option that preserves the previous width of the street?

I'd also like to get more explicit about width management. Maybe some of it could be a simple UI change, like "Total width: 15m (+2m from original)", with a tooltip there that explains the huuuuuge caveat of the original width being a wild guess most of the time.
Another step could be to auto-adjust lane widths given a known total width and a list of lane types. Where's the extra space get distributed? How should this change as the user edits the road? This gets more complicated, but thankfully, it sounds ripe for unit testing.

Thinking about this more, I am not sure reducing the total Street width when replacing motor lane with a thinner cycling lane is better than what was the before (sorry for change of tune). Truth is that a 2 way cycleway fits perfectly in a 1 way motor lane. Could that be added as an option?


Iterate large collection

I am trying to iterate a very large collection, offset and limit is not working for me. I use last ID approach but the documents I am getting are less than the total total documents count I get from the query. I am prepared another test collection and also tested in CentOS, Debian and Windows but I got same results.
Below code I copied from my class. I remove irrelevant code to keep it to the point.
// function that iterate docs and print count
function getResults() {
  $lastId                 = null;
  $condition = []; // just grab entire collection for now
  $total =  $this->collection->count( $condition );
  $docsFoundInMongoDB = 0;

  while ( true ) {
    $documents = $this->getDocumentsFromMongoDB( $lastId, $condition );
    if ( ! $documents ) {
      break;
    }

    $lastId     = null;
    foreach ( $documents as $doc ) {
      $docsFoundInMongoDB ++;
      $lastId = $doc ['_id'];
    }
    echo  'Got ' . $docsFoundInMongoDB . ' out of ' . $total;
  }
}

private function getDocumentsFromMongoDB( $lastId, $condition = [] )
{
  if ( $lastId != null ) {
    $condition['_id'] = [ '$gt' => $lastId ];
  }
// i tried with and without sort but no luck
  $options = [ 'limit' => $this->batchCheckMongoLimit, '$sort' => ['_id' => 0], 'projection' => ['id'=>1] ];
  $result  = $this->collection->find( $condition, $options )->toArray();
  if ( ! $result ) {
    return false;
  }

  return $result;
}

I see that your $sort specification is incorrect. For one, the option name is sort, not $sort. To sort by _id in ascending order, you must pass 1 as sort specification: 'sort' => ['_id' => 1].
Please note that the count method on MongoDB\Collection is deprecated as it can return inaccurate . You should use countDocuments instead.

@alcaeus thanks so much. Changing sort worked for me.

This solved one issue but opened another one. It worked on a small collection but on a large collection it's failing and giving me timeouts.

Hi @moazam1,
please create an topic in the MongoDB Developer Community Forums to debug the timeout problem. Thanks!


Deploying to Heroku

How do you deploy this to Heroku given that they use DATABASE_URL env var?

Please see https://www.playframework.com/documentation/2.5.x/ProductionHeroku#connecting-to-a-database


Customize view templates

is there any way to style laravel file manager views according to my themes?

Did you publish the assets? You can go wild as long as you leave all the important parts intact. Just don't edit anything in the root/vendor/Unisharp directory or you'll have trouble with future updates.

Thank you,
Sometimes I forgot RTFM


Appforms.cordova

@corinnekrych @edewit There is no version bump for this PR.

@nialldonnellyfh sorry I forgot it, let me do another PR with it


[BUG] The page "Deploy MinIO: Single-Node Single-Drive" for Linux actually describes single-node multi-drive deployment

Describe the bug
The documentation for deploying single-node single-drive server on Linux actually lists down instructions for deploying a single-node multi-drive instance.
To Reproduce
Steps to reproduce the behavior:

Go to https://min.io/docs/minio/linux/operations/install-deploy-manage/deploy-minio-single-node-single-drive.html#
The instructions create 4 drives /mnt/disk{1..4} that serve as storage for the minio server.
And these instructions are not very different from those for deploying SNMD in Linux -- https://min.io/docs/minio/linux/operations/install-deploy-manage/deploy-minio-single-node-multi-drive.html

Expected behavior
The instructions laid out for the MacOS documentation seem more accurate -- https://min.io/docs/minio/macos/operations/install-deploy-manage/deploy-minio-single-node-single-drive.html. This is what the SNSD page for Linux should also be showing.
Screenshots
See links above.
Desktop (please complete the following information):
n/a
Smartphone (please complete the following information):
n/a
Additional context
n/a

The actual env file is correct, but this is likely an include that needs cleaning up.
@Bradamant3 this might be another good 'first issue' sort of thing for getting your feet wet in our Sphinx build.


Forge format on repo

Fixing formatting issues that potentially occurred with subsequent foundry updates, but forge fmt consistently alters every file which makes formatting and PR clarity difficult.  This PR is only* running forge fmt on the repo.
If other people do not have similar behavior this PR can be closed.
Currently on:
forge 0.2.0 (2f698e4 2024-12-13T06:34:28.109924000Z)

I am also seeing this behavior when I run forge fmt locally
Perhaps we should add a GHA CI step that runs forge fmt and fails the check if any files in the PR need to be formatted

agreed


[Communication]Set the sender as undefined instead of empty when sender id not populated

The current behavior for the SDK if message sender ID is not populated from service, the SDK will return an empty sender property. This PR is to change that to undefined instead of empty in that situation.

Lets also update E2E live test to fail if the senderid is not the expected instead of silently pass.
We can do that as a follow up PR

This PR already include the test change


sendkeys fails with error An unknown error occurred in the remote end while processing the command

My testcode will launch microsoftword and tries to type inside.
Here is the code I am using

    	String application="C:\\Program Files (x86)\\Microsoft Office\\root\\Office16\\WINWORD.EXE";
    	String appWorkingDir="c:\\tmp";
    	//To suppress the splash screen and want to use blank word doc. so we use flags /q and /w flags respectively
    	String appArguments = "/q /w";
...
....
....
WebElement element =  ((WindowsDriver) webDriver).findElement("name", "Page 1 content");
		if ( element != null ) {
					element.sendKeys(keysToSend);
               }

When I debug I notice that webelement is not NULL...But sendKeys is failing on it.
I get exception "An unknown error occurred in the remote end while processing the command." I am not sure how to proceed..
WinAppDriver log
POST /wd/hub/session/7D092E3B-44FD-4C0F-957C-4F99363BEF69/element/42.1115954.2.2/value HTTP/1.1
Accept-Encoding: gzip,deflate
Connection: Keep-Alive
Content-Length: 55
Content-Type: application/json; charset=utf-8
Host: <IP_ADDRESS>:4723
User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_112)

{"id":"42.1115954.2.2","value":["This is sample text"]}
HTTP/1.1 500 Internal Error
Content-Length: 133
Content-Type: application/json

{"status":13,"value":{"error":"unknown error","message":"An unknown error occurred in the remote end while processing the command."}}

It will be helpful for us if you print what exactly went wrong. Please help me to proceed further.

I even tried attaching from desktop session
				DesiredCapabilities desktopCapabilities = new DesiredCapabilities();
                desktopCapabilities.setCapability("app", "Root");
                WindowsDriver rootSession = new WindowsDriver(new URL(wadHubURL), desktopCapabilities);
                Assert.assertNotNull(rootSession);

                RemoteWebElement wordShellWindow = (RemoteWebElement) rootSession.findElementByName("Document1 - Word");
                String wordTopLevelWindowHandle = "0x"+ Integer.toHexString(Integer.decode(wordShellWindow.getAttribute("NativeWindowHandle"))).toString();

                DesiredCapabilities appCapabilities = new DesiredCapabilities();
                appCapabilities.setCapability("appTopLevelWindow", wordTopLevelWindowHandle);
                webDriver = new WindowsDriver<WindowsElement>(new URL(wadHubURL), appCapabilities);
                Assert.assertNotNull(webDriver);

              Assert.assertNotNull(((WindowsDriver)webDriver).findElement("name", "Page 1 content"));
              RemoteWebElement wordPage = ((WindowsDriver)webDriver).findElement("name", "Page 1 content");
            wordPage.click();
             wordPage.sendKeys("Test");

It fails for last 2 lines...I cannot make it work. Please suggest how to proceed further. My team is blocked bcz of this issue. It would be great if you take a look at this and help us.

@hassanuz / @timotiusmargo  These are some observations that might help you to find the rootcause....
Also Please make sure you are running the test on a remote machine and not on local machine. My observation is that when it is running on local machine it works fine ...but when we run on a remote machine we face this issue. On remote machine I am running using below command. On this machine I have MS word installed. I am trying to open it using WAD.
WinAppDriver.exe 10.xxx.xx..51 4723/wd/hub

One more observation is I created similar test for notepad application on remote machine...It works fine..Its able to send keys and click works fine. It fails only on application like microsoft word and that too when executed on a remote machine.

@hassanuz / @timotiusmargo any updates on this?

@hassanuz / @timotiusmargo any updates on this? My team iw kind of blocked bcz of this issue. We cannot run the tests in CI environment as we need to run WAD on a remote machine. Your fast response highly appreciated.

Hi @shankarkc,
Thank you for bringing up the issue along with all the information. I reproduced this issue and it came down to an exception that happened when attempting to set focus on the Microsoft Word Page 1 content Edit Control. The UIAutomationClient.IUIAutomationElement.SetFocus system call invoked at this element returned "Operation is not valid due to the current state of the object." error.
Looking at this issue, it doesn't warrant a fix with WinAppDriver as we need to enforce focus on the target element before sending the keyboard input. Your observation that this issue only happens on remote machine (running as administrator) may indicate that there's an access problem when WinAppDriver or the application under test is run as administrator. However, I also replicated the issue even when Microsoft Word is not run as administrator.
Nevertheless, I found that using a generic (non-element targeting) SendKeys works well in the scenario you described. You may need to find what the Java command looks like, but in C# it is as follows:
webDriver.Keyboard.SendKeys("Test");

Expected JSON Wire Protocol command:
POST /session/FC8AA401-30BC-4B22-B5D1-6C729171198C/keys HTTP/1.1

In addition, I also find element click to work fine with the Edit Control you are targeting. If this is also the case with your setup, you can simply use it to enforce the focus on the right element. Otherwise, I would attempt to click on other element within the window to set the focus instead.
A quick tip that I don't get to share enough is that you can set focus on a window by switching to it. I find this to be the most reliable way to enforce focus on an application window. Would you try the workaround above and let us know?
Nevertheless,

@timotiusmargo thanks for the investigation. I will gibe a try using switchto windows.. And non-element targeted send keys and update you.

@timotiusmargo I tried this. But it didnt give me desired results.
webDriver = new WindowsDriver(new URL(wadHubURL), capabilities);
			Thread.sleep(5000);
			webDriver.switchTo().window(webDriver.getWindowHandle());
			((WindowsDriver)webDriver).findElement("name", "Page 1 content").click();

Click failed for me. Here is WAD log
==========================================
POST /wd/hub/session/F3FD0991-1620-4527-A2BF-8017F466E6C8/element HTTP/1.1
Accept-Encoding: gzip,deflate
Connection: Keep-Alive
Content-Length: 41
Content-Type: application/json; charset=utf-8
Host: <IP_ADDRESS>:4723
User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_112)

{"using":"name","value":"Page 1 content"}
HTTP/1.1 200 OK
Content-Length: 99
Content-Type: application/json

{"sessionId":"F3FD0991-1620-4527-A2BF-8017F466E6C8","status":0,"value":{"ELEMENT":"42.853088.2.2"}}

==========================================
POST /wd/hub/session/F3FD0991-1620-4527-A2BF-8017F466E6C8/element/42.853088.2.2/click HTTP/1.1
Accept-Encoding: gzip,deflate
Connection: Keep-Alive
Content-Length: 22
Content-Type: application/json; charset=utf-8
Host: <IP_ADDRESS>:4723
User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_112)

HTTP/1.1 500 Internal Error
Content-Length: 133
Content-Type: application/json

{"status":13,"value":{"error":"unknown error","message":"An unknown error occurred in the remote end while processing the command."}}

==========================================

I tried to use sendkeys too as you suggested without targeting elements. But it didnt work too.
                        webDriver = new WindowsDriver(new URL(wadHubURL), capabilities);
			Thread.sleep(5000);
			webDriver.switchTo().window(webDriver.getWindowHandle());
				((WindowsDriver)webDriver).getKeyboard().sendKeys("Test");

Here is wad log for same
==========================================
GET /wd/hub/session/694BEFE6-167E-4A09-B213-9C7FE242BCA5/window_handle HTTP/1.1
Accept-Encoding: gzip,deflate
Cache-Control: no-cache
Connection: Keep-Alive
Host: <IP_ADDRESS>:4723
User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_112)

HTTP/1.1 200 OK
Content-Length: 84
Content-Type: application/json

{"sessionId":"694BEFE6-167E-4A09-B213-9C7FE242BCA5","status":0,"value":"0x00070432"}

==========================================
POST /wd/hub/session/694BEFE6-167E-4A09-B213-9C7FE242BCA5/window HTTP/1.1
Accept-Encoding: gzip,deflate
Connection: Keep-Alive
Content-Length: 21
Content-Type: application/json; charset=utf-8
Host: <IP_ADDRESS>:4723
User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_112)

{"name":"0x00070432"}
HTTP/1.1 200 OK
Content-Length: 63
Content-Type: application/json

{"sessionId":"694BEFE6-167E-4A09-B213-9C7FE242BCA5","status":0}

==========================================
POST /wd/hub/session/694BEFE6-167E-4A09-B213-9C7FE242BCA5/keys HTTP/1.1
Accept-Encoding: gzip,deflate
Connection: Keep-Alive
Content-Length: 18
Content-Type: application/json; charset=utf-8
Host: <IP_ADDRESS>:4723
User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_112)

HTTP/1.1 500 Internal Error
Content-Length: 133
Content-Type: application/json

{"status":13,"value":{"error":"unknown error","message":"An unknown error occurred in the remote end while processing the command."}}

It would be great if you unblock my team.

what puzzles me is why it works for notepad and fails for MSWord? As this is not opensource i cannot debug beyond this boundary. WAD doesnt handle apps with splash screens? I have disable splash screen. Still WAD has difficulty to interacting with UI elements.

@timotiusmargo can you pls help me here...can you pls post a code that opens winword on a remote machine and types helloworld? why it works for notepad and fails for MSWord?

I can also verify this issue. It only occurs for us when running tests from a tfs build agent

@timotiusmargo can we get some solution for this issue. Its a blocker for my team. If no solution in sight we have to evaluate some other tool for our testing. Your faster resolution is highly appreciated.

@hassanuz / @timotiusmargo any updates on this?

Hi @shankarkc,
The issue you saw is caused by the "Page 1 Content" Edit Control that is a part of a custom control used in Microsoft Word, This particular UI control is not keyboard focusable and unlike other non-actionable element, it actively refuse a focus event. For this reason, both set text and click hit the same error.
I understand that you attempted sending non-element targeting keys without success, In addition to this, I also had another workaround below that always succesfuly send the text to Microsoft Word in a remote machine as long as it is interactive (has keyboard and mouse focus).
// Send the input to the first parent node of "Page 1 Content" that can receive focus instead
RemoteWebElement element = session.FindElementByName("Document1");
if (element != null)
{
    element.Click();
    element.SendKeys("Test");
}

Would you try this instead and let us know how it goes? This perform the send text without issue in my setup.

I'm discovering click is not working when executed through tfs build agent:
at System.Net.HttpWebRequest.GetResponse()
at OpenQA.Selenium.Remote.HttpCommandExecutor.CreateResponse(WebRequest request)
--- End of inner exception stack trace ---
at OpenQA.Selenium.Appium.Service.AppiumCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary2 parameters) at OpenQA.Selenium.Appium.AppiumDriver1.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Remote.RemoteWebElement.Click()
at WinAppDriver_Word2016_Example.Tests.Initialize()

@timotiusmargo  thanks for the pointers. Its working now. I realized now that there are some UI elements that cannot take keyboard inputs and if we send keybord inputs it will fail. As per your suggestion when i used Document1 it works and I am able to type text inside word document.

Thanks for the update @shankarkc!. I'm glad it worked out well. Note that you may still need to refer to "Page 1 Content" when you are trying to retrieve the text value. E.g.
// Send the text input
RemoteWebElement element = session.FindElementByName("Document1");
if (element != null)
{
    element.Click();
    element.SendKeys("Test");
}

// Get the text value
RemoteWebElement element1 = session.FindElementByName("Page 1 content");
if (element1 != null)
{
    var text = element1.Text;
}

Unfortunately this didn't work for me =/

didn't work for me...

me neither, I think it's losing the focus or the keyboard interface is being used by previous test runs.

What makes me crazy is it sometimes work fine. But Once fails, It continuously fails. if I wait few minutes or restart computer, it works( or sometimes not!).

What makes me crazy is it sometimes work fine. But Once fails, It continuously fails. if I wait few minutes or restart computer, it works( or sometimes not!).

Exactly the same...

Ditto on this issue.    It seems like a bigger deal than anticipated.

I get the same issue. It happens intermittently, so far only when I run all the tests together, and not when I run them individually.
Also, I get the error on different tests, on Click method.
I am running the tests on my local machine, the app has only one window and the button that should be clicked is visible and enabled.
Any help is welcome

You can just use sendkeys.sendwait instead for now I guess. Focus the
session you are working on using switch() before you do that. That's how
I'm doing it.

What makes me crazy is it sometimes work fine. But Once fails, It continuously fails. if I wait few minutes or restart computer, it works( or sometimes not!).

I had facing exactly same issue. I have multi language ("KO", "EN"). If set the language to "EN" is working, but "KO" is not. OR "KO" is working, but "EN" is not.
When the error occur try switch language and try again. It works for me. thank you

What makes me crazy is it sometimes work fine. But Once fails, It continuously fails. if I wait few minutes or restart computer, it works( or sometimes not!).

I had exactly same issue. I think that is Windows10 multi language(IME) input mode issue.
When I set Windows10 to only English input mode, solved this problem.

@retrogemHK What exactly have you set in the language input mode?
I can't seem to find a setting besides changing the input method.
And is it important that the only language is set to english?

@Jteve-Sobs
You can find Windows Settings -> Time & Language -> Language -> Add a perferred language

@Jteve-Sobs
You can find Windows Settings -> Time & Language -> Language -> Add a preferred language
I don't know setting to English is important or not. In my cases, when set to my local keyboard(It can toggle English and Korean using ALT key) I got the error. But English(United States) is working

Thank you.
The key input is Korean, but an error occurred when entering English.


Improve secrets DX for Dockerbuild

Following up the conversation from this thread: https://discord.com/channels/707636530424053791/1059587293247193320 there's current no straightforward way to send secrets to a build step without making some changes to the Dockerfile.
The current way to achieve this is by leveraging build_args and modifying the Dockerfile as follows:
FROM alpine

ARG SECRET

RUN --mount=type=secret,id=$SECRET,target=/secrets/muysecret \
cat /secrets/muysecret

A possible alternative is to modify the current build step and allow sending secrets:[SecretID!] so Dockerfiles can continue to work without any changes.
type Directory {
   build(context: DirectoryID!, dockerfile: String, build_args: [BuildArg!], secrets:[SecretID!])
}

cc @jlongtine

Is this the same thing as #2550 @sipsma ?

Is this the same thing

Yes but I'll close my older pre 0.3 one since this one has a proposal in terms of the new API


Story/csi 752 del snap a9k v120

create volume from snapshot a9k

@igorgonibm do we also plan to support "retain" deletion policy?


Fix options

Allow for times and size maximums in the form from the config. Sizes are indexes and times are in hours.
This configuration would allow for up to extra-large size and up to 6 hours.
jupyter/OSC_JUPYTER/3/6:          PZS1118

This relies on a bug fix in ood, but even so, I'm moving on it now.


docs: Update description of how files are selected for instrumentation

So I've put together a draft to better explain how files are included for coverage in nyc.
Take a look and tell me what you think, it probably needs a few changes here or there but I think it will take out a little of the mystery in configuring nyc.

Coverage remained the same at 96.639% when pulling 497b8719cd30ed01d76736a120f1e22eb9655f6b on AndrewFinlay:include-exclude-doc into b64d921ee15a57779e54f7ea14102c79ebf7498b on istanbuljs:master.

@JaKXz thanks for the review,
I'll add the [skip ci] in future, simply didn't know it existed.
The line endings are simply an artefact of how I work with my editor.  I'll fix it up tomorrow

This is odd... the single newlines are being rendered as <br/>s... not sure why that's happening.

This is odd... the single newlines are being rendered as s... not sure why that's happening.

@JaKXz where are you seeing this?

@coreyfarrell in the rich diff


Rename "CascadeBot" to "Cascade"

Was this discussed in a meeting?

Nope, wondering if we should

Perhaps. It's a big change to make, after all.

I don't mind, but can we at least make the "cascadebot" change to "cascade" in the wrapper as well if we're doing it here

Waiting on meeting.


Feature: Exporting the snippets as components

The older version of Hen would export the code snippet but was just creating a blob out of everything instead of creating proper components out of the AST.
This has to handle 2 cases.
One where the user is directly just rendering from the root snippet
() => {
  return <>hello</>;
};

In this case the export component is named snippet and has nothing else to do, so go through the AST, check if there are no other react nodes inserted into the snippet and just wrap the component inside a wrapper named Snippet / App
The other case where there's nested components.
() => {
  const ComponentOne = () => {
    return <>hello</>;
  };

  return (
    <>
      <ComponentOne />
      world
    </>
  );
};

In this case the same checks as the first one are to be done but this time the nested one's are to be exported as separate files with the needed imports (for now copy everything that's in the import statements ) and Snippet should add imports for these files.
You might have to add a few more helpers in the lib/ast-helpers.js for the same and then zipping logic needs to be added into lib/zip-helpers.js and then called from the needed serverless function which can be added to pages/api/zip.js

It would be better if https://github.com/barelyhuman/hen/issues/9 is take care of before this, to avoid adding in more clutter to the ast helpers


REFPLTV-2545 PLAT_Reset call is not rebooting the DUT

Reverting this change due to continuous reboot.

Revert is not required since we used the previous tag.
Please find the proper fix for the issues which got addressed by this change.


Region Filter not working

Describe the Bug
On v2.11.0, the region filter throws 500 error. The new migration seems to have run fine.
Database
PostgreSQL
Relevant log output
umami_postgres  | 2024-04-05T10:54:28.222008784Z
umami_postgres  | 2024-04-05T10:54:28.222075914Z PostgreSQL Database directory appears to contain a database; Skipping initialization
umami_postgres  | 2024-04-05T10:54:28.222080729Z
umami_postgres  | 2024-04-05T10:54:28.259394420Z 2024-04-05 10:54:28.259 UTC [1] LOG:  starting PostgreSQL 15.6 on aarch64-unknown-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit
umami_postgres  | 2024-04-05T10:54:28.259638664Z 2024-04-05 10:54:28.259 UTC [1] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
umami_postgres  | 2024-04-05T10:54:28.259660108Z 2024-04-05 10:54:28.259 UTC [1] LOG:  listening on IPv6 address "::", port 5432
umami_postgres  | 2024-04-05T10:54:28.270180193Z 2024-04-05 10:54:28.270 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
umami_postgres  | 2024-04-05T10:54:28.285749781Z 2024-04-05 10:54:28.284 UTC [24] LOG:  database system was shut down at 2024-04-05 10:54:26 UTC
umami_postgres  | 2024-04-05T10:54:28.295568579Z 2024-04-05 10:54:28.294 UTC [1] LOG:  database system is ready to accept connections
umami_postgres  | 2024-04-05T10:59:28.097195426Z 2024-04-05 10:59:28.097 UTC [22] LOG:  checkpoint starting: time
umami_postgres  | 2024-04-05T11:03:58.144729398Z 2024-04-05 11:03:58.144 UTC [22] LOG:  checkpoint complete: wrote 6747 buffers (41.2%); 0 WAL file(s) added, 0 removed, 21 recycled; write=269.892 s, sync=0.014 s, total=270.048 s; sync files=68, longest=0.014 s, average=0.001 s; distance=336963 kB, estimate=336963 kB
umami_postgres  | 2024-04-05T11:04:16.082560623Z 2024-04-05 11:04:16.082 UTC [169] ERROR:  column "subdivision1" does not exist at character 20
umami_postgres  | 2024-04-05T11:04:16.082615039Z 2024-04-05 11:04:16.082 UTC [169] STATEMENT:
umami_postgres  | 2024-04-05T11:04:16.082622019Z 	    select
umami_postgres  | 2024-04-05T11:04:16.082626667Z 	      subdivision1 x,
umami_postgres  | 2024-04-05T11:04:16.082630351Z 	      count(distinct website_event.session_id) y
umami_postgres  | 2024-04-05T11:04:16.082634424Z 	      , country
umami_postgres  | 2024-04-05T11:04:16.082637813Z 	    from website_event
umami_postgres  | 2024-04-05T11:04:16.082641516Z
umami_postgres  | 2024-04-05T11:04:16.082645071Z 	    where website_event.website_id = $1::uuid
umami_postgres  | 2024-04-05T11:04:16.082648903Z 	      and website_event.created_at between $2 and $3
umami           | 2024-04-05T10:54:34.427263928Z yarn run v1.22.19
umami           | 2024-04-05T10:54:34.490442104Z $ npm-run-all check-db update-tracker start-server
umami           | 2024-04-05T10:54:35.122835015Z $ node scripts/check-db.js
umami           | 2024-04-05T10:54:35.265447536Z ✓ DATABASE_URL is defined.
umami           | 2024-04-05T10:54:35.344337060Z ✓ Database connection successful.
umami           | 2024-04-05T10:54:35.408867344Z ✓ Database version check successful.
umami           | 2024-04-05T10:55:43.533678108Z Prisma schema loaded from prisma/schema.prisma
umami           | 2024-04-05T10:55:43.533941185Z Datasource "db": PostgreSQL database "umami", schema "public" at "umami_db:5432"
umami           | 2024-04-05T10:55:43.534098502Z
umami           | 2024-04-05T10:55:43.534165854Z 5 migrations found in prisma/migrations
umami           | 2024-04-05T10:55:43.534220448Z
umami           | 2024-04-05T10:55:43.534237540Z Applying migration `05_add_visit_id`
umami           | 2024-04-05T10:55:43.534245744Z
umami           | 2024-04-05T10:55:43.534251541Z The following migration(s) have been applied:
umami           | 2024-04-05T10:55:43.534257596Z
umami           | 2024-04-05T10:55:43.534263041Z migrations/
umami           | 2024-04-05T10:55:43.534269022Z   └─ 05_add_visit_id/
umami           | 2024-04-05T10:55:43.534276078Z     └─ migration.sql
umami           | 2024-04-05T10:55:43.534281504Z
umami           | 2024-04-05T10:55:43.534464710Z All migrations have been successfully applied.
umami           | 2024-04-05T10:55:43.534521396Z
umami           | 2024-04-05T10:55:43.534606378Z ✓ Database is up to date.
umami           | 2024-04-05T10:55:43.861411790Z $ node scripts/update-tracker.js
umami           | 2024-04-05T10:55:43.930336939Z Updated tracker endpoint: /api/kentaro.
umami           | 2024-04-05T10:55:44.220954951Z $ node server.js
umami           | 2024-04-05T10:55:44.589829479Z    ▲ Next.js 14.1.4
umami           | 2024-04-05T10:55:44.589953999Z    - Local:        http://localhost:3000
umami           | 2024-04-05T10:55:44.590150279Z    - Network:      http://<IP_ADDRESS>:3000
umami           | 2024-04-05T10:55:44.590177557Z
umami           | 2024-04-05T10:55:44.697660653Z  ✓ Ready in 115ms
umami           | 2024-04-05T11:04:16.088080995Z PrismaClientKnownRequestError:
umami           | 2024-04-05T11:04:16.088125172Z Invalid `prisma.$queryRawUnsafe()` invocation:
umami           | 2024-04-05T11:04:16.088133022Z
umami           | 2024-04-05T11:04:16.088137633Z
umami           | 2024-04-05T11:04:16.088142076Z Raw query failed. Code: `42703`. Message: `column "subdivision1" does not exist`
umami           | 2024-04-05T11:04:16.088151760Z     at In.handleRequestError (/app/node_modules/@prisma/client/runtime/library.js:122:6854)
umami           | 2024-04-05T11:04:16.088156499Z     at In.handleAndLogRequestError (/app/node_modules/@prisma/client/runtime/library.js:122:6188)
umami           | 2024-04-05T11:04:16.088160813Z     at In.request (/app/node_modules/@prisma/client/runtime/library.js:122:5896)
umami           | 2024-04-05T11:04:16.088165609Z     at async l (/app/node_modules/@prisma/client/runtime/library.js:127:10871)
umami           | 2024-04-05T11:04:16.088169386Z     at async m (/app/.next/server/pages/api/websites/[websiteId]/metrics.js:1:2976)
umami           | 2024-04-05T11:04:16.088180717Z     at async K (/app/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:16545)
umami           | 2024-04-05T11:04:16.088184642Z     at async U.render (/app/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:16981)
umami           | 2024-04-05T11:04:16.088187994Z     at async NextNodeServer.runApi (/app/node_modules/next/dist/server/next-server.js:554:9)
umami           | 2024-04-05T11:04:16.088191437Z     at async NextNodeServer.handleCatchallRenderRequest (/app/node_modules/next/dist/server/next-server.js:266:37)
umami           | 2024-04-05T11:04:16.088194992Z     at async NextNodeServer.handleRequestImpl (/app/node_modules/next/dist/server/base-server.js:791:17) {
umami           | 2024-04-05T11:04:16.088199140Z   code: 'P2010',
umami           | 2024-04-05T11:04:16.088201917Z   clientVersion: '5.11.0',
umami           | 2024-04-05T11:04:16.088205101Z   meta: { code: '42703', message: 'column "subdivision1" does not exist' }
umami           | 2024-04-05T11:04:16.088208212Z }
umami           | 2024-04-05T11:04:19.302044246Z PrismaClientKnownRequestError:
umami           | 2024-04-05T11:04:19.302110752Z Invalid `prisma.$queryRawUnsafe()` invocation:
umami           | 2024-04-05T11:04:19.302120639Z
umami           | 2024-04-05T11:04:19.302124898Z
umami           | 2024-04-05T11:04:19.302128767Z Raw query failed. Code: `42703`. Message: `column "subdivision1" does not exist`
umami           | 2024-04-05T11:04:19.302133063Z     at In.handleRequestError (/app/node_modules/@prisma/client/runtime/library.js:122:6854)
umami           | 2024-04-05T11:04:19.302137525Z     at In.handleAndLogRequestError (/app/node_modules/@prisma/client/runtime/library.js:122:6188)
umami           | 2024-04-05T11:04:19.302142506Z     at In.request (/app/node_modules/@prisma/client/runtime/library.js:122:5896)
umami_postgres  | 2024-04-05T11:04:16.082652458Z 	      and website_event.event_type = $4
umami_postgres  | 2024-04-05T11:04:16.082709984Z
umami_postgres  | 2024-04-05T11:04:16.082718260Z 	    group by 1
umami_postgres  | 2024-04-05T11:04:16.082722352Z 	    , 3
umami_postgres  | 2024-04-05T11:04:16.082725907Z 	    order by 2 desc
umami_postgres  | 2024-04-05T11:04:16.082729295Z 	    limit 500
umami_postgres  | 2024-04-05T11:04:16.082733017Z 	    offset 0
umami_postgres  | 2024-04-05T11:04:16.082764715Z
umami_postgres  | 2024-04-05T11:04:19.300560245Z 2024-04-05 11:04:19.300 UTC [169] ERROR:  column "subdivision1" does not exist at character 20
umami_postgres  | 2024-04-05T11:04:19.300613532Z 2024-04-05 11:04:19.300 UTC [169] STATEMENT:
umami_postgres  | 2024-04-05T11:04:19.300619271Z 	    select
umami_postgres  | 2024-04-05T11:04:19.300623548Z 	      subdivision1 x,
umami_postgres  | 2024-04-05T11:04:19.300634602Z 	      count(distinct website_event.session_id) y
umami_postgres  | 2024-04-05T11:04:19.300638027Z 	      , country
umami_postgres  | 2024-04-05T11:04:19.300641045Z 	    from website_event
umami           | 2024-04-05T11:04:19.302146783Z     at async l (/app/node_modules/@prisma/client/runtime/library.js:127:10871)
umami           | 2024-04-05T11:04:19.302151411Z     at async m (/app/.next/server/pages/api/websites/[websiteId]/metrics.js:1:2976)
umami           | 2024-04-05T11:04:19.302155670Z     at async K (/app/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:16545)
umami_postgres  | 2024-04-05T11:04:19.300644193Z
umami_postgres  | 2024-04-05T11:04:19.300646859Z 	    where website_event.website_id = $1::uuid
umami_postgres  | 2024-04-05T11:04:19.300652543Z 	      and website_event.created_at between $2 and $3
umami_postgres  | 2024-04-05T11:04:19.300656857Z 	      and website_event.event_type = $4
umami_postgres  | 2024-04-05T11:04:19.300660153Z
umami_postgres  | 2024-04-05T11:04:19.300662708Z 	    group by 1
umami_postgres  | 2024-04-05T11:04:19.300665911Z 	    , 3
umami_postgres  | 2024-04-05T11:04:19.300669910Z 	    order by 2 desc
umami_postgres  | 2024-04-05T11:04:19.300672835Z 	    limit 500
umami_postgres  | 2024-04-05T11:04:19.300675816Z 	    offset 0
umami           | 2024-04-05T11:04:19.302160076Z     at async U.render (/app/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:16981)
umami           | 2024-04-05T11:04:19.302164576Z     at async NextNodeServer.runApi (/app/node_modules/next/dist/server/next-server.js:554:9)
umami           | 2024-04-05T11:04:19.302168816Z     at async NextNodeServer.handleCatchallRenderRequest (/app/node_modules/next/dist/server/next-server.js:266:37)
umami           | 2024-04-05T11:04:19.302173111Z     at async NextNodeServer.handleRequestImpl (/app/node_modules/next/dist/server/base-server.js:791:17) {
umami           | 2024-04-05T11:04:19.302177147Z   code: 'P2010',
umami           | 2024-04-05T11:04:19.302181128Z   clientVersion: '5.11.0',
umami           | 2024-04-05T11:04:19.302184924Z   meta: { code: '42703', message: 'column "subdivision1" does not exist' }
umami           | 2024-04-05T11:04:19.302189164Z }

Which Umami version are you using? (if relevant)
2.11.0
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
Docker

Can you confirm your session table no longer has the subdivision1 column? I have no idea how it would not be there, since the database is initialized with that column.

This is the schema for the session table
umami=# \d+ session
                                                           Table "public.session"
    Column    |            Type             | Collation | Nullable |      Default      | Storage  | Compression | Stats target | Description
--------------+-----------------------------+-----------+----------+-------------------+----------+-------------+--------------+-------------
 session_id   | uuid                        |           | not null |                   | plain    |             |              |
 website_id   | uuid                        |           | not null |                   | plain    |             |              |
 hostname     | character varying(100)      |           |          |                   | extended |             |              |
 browser      | character varying(20)       |           |          |                   | extended |             |              |
 os           | character varying(20)       |           |          |                   | extended |             |              |
 device       | character varying(20)       |           |          |                   | extended |             |              |
 screen       | character varying(11)       |           |          |                   | extended |             |              |
 language     | character varying(35)       |           |          |                   | extended |             |              |
 country      | character(2)                |           |          |                   | extended |             |              |
 subdivision1 | character varying(20)       |           |          |                   | extended |             |              |
 subdivision2 | character varying(50)       |           |          |                   | extended |             |              |
 city         | character varying(50)       |           |          |                   | extended |             |              |
 created_at   | timestamp(6) with time zone |           |          | CURRENT_TIMESTAMP | plain    |             |              |
Indexes:
    "session_pkey" PRIMARY KEY, btree (session_id)
    "session_created_at_idx" btree (created_at)
    "session_session_id_key" UNIQUE, btree (session_id)
    "session_website_id_created_at_browser_idx" btree (website_id, created_at, browser)
    "session_website_id_created_at_city_idx" btree (website_id, created_at, city)
    "session_website_id_created_at_country_idx" btree (website_id, created_at, country)
    "session_website_id_created_at_device_idx" btree (website_id, created_at, device)
    "session_website_id_created_at_hostname_idx" btree (website_id, created_at, hostname)
    "session_website_id_created_at_idx" btree (website_id, created_at)
    "session_website_id_created_at_language_idx" btree (website_id, created_at, language)
    "session_website_id_created_at_os_idx" btree (website_id, created_at, os)
    "session_website_id_created_at_screen_idx" btree (website_id, created_at, screen)
    "session_website_id_created_at_subdivision1_idx" btree (website_id, created_at, subdivision1)
    "session_website_id_idx" btree (website_id)
Access method: heap

is something wrong with it? I did not see any errors while upgrading from 2.10.2 and 2.11.0 but started noticing these errors specifically after 2.11.0

Same issue happened @v2.11.0

Confirmed. The query is not joining to the session table. We will get this hot fixed. Thanks for reporting.


How to unlike/undislike

Hi,
My site has like/dislike functions, it works with raccoon well.
However, user can unlike/undislike (undo everything as if no like/dislike before), how can I do that?

hey @arthurtalkgoal , glad to hear it's working well for you!! ummm nope, there is currently no interface for unliking and undisliking, but that makes total sense. i would say i'd get to it but i'm super super busy with work right now, if you edit input.js and do the exact opposite of all those commands that would probably work

pull request?

Cool. I can PR

Input.js as a whole needs to be cleaned up. Thanks man :)
On Mon, May 4, 2015 at 7:49 PM Arthur CHAN<EMAIL_ADDRESS>wrote:

Cool. I can PR
—
Reply to this email directly or view it on GitHub
https://github.com/guymorita/recommendationRaccoon/issues/31#issuecomment-98916821
.

Hi @guymorita ,
Can I ask why zincrby is needed in liked and disliked; doesn't the sadd add the score?
client.sismember([config.className, itemId, 'liked'].join(":"), userId, function(err, results){
      if (results === 0){
        client.zincrby([config.className, 'mostLiked'].join(":"), 1, itemId);
      }
      client.sadd([config.className, userId,'liked'].join(':'), itemId, function(err){
        client.sadd([config.className, itemId, 'liked'].join(':'), userId, function(err){
          updateSequence(userId, itemId, callback);
        });
      });
    });

Any update on the progress of un-like/un-disliked functionality?

@arthurtalkgoal Hey, I'm working on this project again. The call to zincrby is for the mostliked list. Which is a separate count of which items are most liked.

@arthurtalkgoal @rkaneriya Hey, this is one of the first features I'll be building in the next few weeks.


[angular-query]  Accessing .data kicks off the CreateQueryOptions function

Describe the bug
I have a very simple use case when I do not have an error handler or loading indicator, so I am trying to create a query and save a reference to only the .data signal.  I am not invoking the signal immediately, but saving a reference to only the signal.
ie: something = injectQuery(() => { ... }).data;
I am using a signal input as a part of my query key.
I wanted to make that signal input required, but in doing so, Angular started throwing a runtime error saying that the required input had no value.  From the outside, I was always passing a value in for the input.
After I reverted the input back to not required, I noticed that the CreateQueryOptions function I was using for the signal was actually being invoked immdeiately upon construction of the component as well as after the input value was set.
I was able to narrow it down and realize that this only happens when I have .data on the end in order to store off the signal.  I was only doing this for the sake of simplicity.  Nothing else in my code needs a reference to the query itself.  They only need access to the data signal, so that's what I stored off.  I was not expecting that to immediately invoke the options, and thus access the signal input before it is initialized.
I can confirm that if I store the reference to the entire query (ie: without .data), then it works correctly (and I can add .required if I want to).  It confuses me because either way, my template will access the signal "immediately" via either query.data() or data().  But I suppose that is actually when rendering, vs at construct time when I store off .data.
Is this just bad practice the way I am trying to do it, or would this actually be considered a bug?
Your minimal, reproducible example
https://stackblitz.com/edit/angular-query-input-order?file=src%2Fapp%2Fsimple-example.component.ts&preset=node
Steps to reproduce

Open the repro
Look in the TanStack devtools and see that the "broken" example query ran twice.  Once with null, and once the correct result:

Now, change someInput to be required (see commented out line where the input is defined)
You will get a runtime error in the console like so:

Expected behavior
I would expect that I can store off a reference to the .data signal whenever I want without it accessing signal inputs too soon.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform

OS: MacOS 14.5
Browser: Edge
Version: 125.0.2535.67

Tanstack Query adapter
angular-query
TanStack Query version
5.40.0
TypeScript version
5.3.3
Additional context
No response

This happens because when the instance of an Angular component is constructed inputs aren’t immediately available. If a required input is read when not available it will throw.
To support required inputs without having to use component lifecycle methods I put in a delay for when the callback is executed and so when signals in that function will be read. That will be either when one of the properties of the query object is accessed or on next tick. The idea is that when a property (signal) is accessed any required input signal should be available.
It may be possible to change this into when the signal function is executed but not sure yet if it’s worth it as a fix would likely add complexity. If anyone else is encountering this please let me know under what circumstances and what the use case is.

I am also facing this issue. Btw i have raised this concern in the first PR of angular query. Because the query functions is evaluated instantly this was always going to be an issue.

@gmfun I think what you are referring to is something else. It's the nature of signals that they always have a value whereas observables can be cold and only have a value when subscribed to. It's no issue when not sharing query instances.

@arnoud-dv I got the same error if I use a component with required input and injectQuery with dependency on required input inside ng-boostrap model. See repo.
The setup is 3 components: The App component, Modal component and Test Component.
The test component has a required input and injectQuery inside.
The App component spawns the Modal component using NgbModal from ng-boostrap.
The Modal component uses the Test component in the markup.
I guess, the query gets evaluated immediately and gets Error: NG0950: Input is required but no value is available yet.

https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/create-base-query.ts#L67
this is the issue
const defaultedOptionsSignal = computed(() => {
      const options = runInInjectionContext(injector, () => optionsFn())
      const defaultedOptions = queryClient.defaultQueryOptions(options)
      defaultedOptions._optimisticResults = 'optimistic'
      return defaultedOptions
    })

    const observer = new Observer<
      TQueryFnData,
      TError,
      TData,
      TQueryData,
      TQueryKey
    >(queryClient, defaultedOptionsSignal())

defaultedOptionsSignal() is being computed. and for input.required() this value is not yet available.
I possible solution would be to pass an dummy defaultOptions here without reading optionsFn(), else we will have this issue

defaultedOptionsSignal() is being computed. and for input.required() this value is not yet available. I possible solution would be to pass an dummy defaultOptions

Dummy value would result in invalid query result. The solution in the PR that mentions this issue is a closure that returns a computed with the observer.

 For example the Angular router example in the documentation uses a required signal.

Well it actually made me wonder if this example is affected the same way as ng-boostrap, unfortunately, it does. If you introduce a nested component and pass the signal received from the router into nested component and then use it inside query it gives an error.
See [stackblitz](https://stackblitz.com/edit/tanstack-query-afnjs6ds?file=src%2Fapp%2Fcomponents%2Fpost.component.ts

If you introduce a nested component and pass the signal received from the router into nested component and then use it inside query it throws an error.

Thanks, I just tried this with the new solution and it doesn't throw an error anymore.

Disabling a query with a boolean signal and setting this signal inside mutation onSuccess function throws an error

Thanks for testing and the repro! This is now fixed in v5.62.5


Bump versions of agent, commons and metrics.

cc @jshaughn @jpkrohling @jmazzitelli @stefannegrea

Looks good to me, but it looks like Metrics is still at Commons  0.7.1.Final.

@jpkrohling Is that an issue? I don't think metrics will bump that and re-release

Ideally, we would ship all the same versions. But I guess it's fine, at least for tomorrow's release.


Vcard highlevel interface pr

This PR contains the high-level interface for Vcard types.
Notice: No tests yet. If you would like to have some, please suggest some,... I'm a bit lost on what to test.
Rel https://github.com/untitaker/rust-vobject/issues/14

Updated with your requested changes. Very basic tests are in the codebase with this PR.

Awesome, thanks!

Should I release a new version, or are you planning to open more PRs soonish?

I plan to open more soonish and also I am not sure whether this actually breaks something. I just noticed that ;-seperated lists contain a \\ now... Not sure whether this is standard-conform (Also have a look at the last test in this PR).

No that isn't standards conform.

I'll fix it, hang on

Done in https://github.com/untitaker/rust-vobject/commit/50d72dffafb023f27610a7dbe2761673467b5b1c.


Moved similar-segment merging control flow and file output into AllelicCNV.

Look good.  I'd like to put a little less logic in the CLI, but we can reserve that discussion for when we are doing the other refactorings.


Add y42 variant of tap-klaviyo extractor

Migrated from GitLab: https://gitlab.com/meltano/hub/-/issues/141
Originally created by @DouweM on 2021-04-26 23:15:27

Original: https://github.com/singer-io/tap-klaviyo
Actively supported fork by y42: https://github.com/goes-funky/tap-klaviyo

View 5 previous comments from the original issue on GitLab


Feat: Centre aligned the To The Top Button

Describe the feature
Have aligned the "To the top" button to center. Works fine in both PC and Mobile view and gives a clean look to the UI.
Add ScreenShots
Current Website:

After Update:

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Hello @SUGAM-ARORA  please assign this issue to me under gssoc 24.

@amandeeep02 Issue assigned to you


Uprate adoption calculator

Check the due date and show the lel at the beginning of that period
Check if due_date is in a specific range and show the rate for that period
Check the match_date and show the lel at the beginning of that period
Check if match_date is in a specific range and show the rate for that period

To test visit
/pay-leave-for-parents-adoption/y/yes/no/2014-1-1/employee/employee/yes/yes/400-week/yes/yes/yes/400-week/yes
You should see rates for both 2013/2014 and 2014/2015

Other than one comment it's good to merge.
It's not LGTM though, we should consider rewriting it in ruby as complexity of changes like this does not seem to be getting better and the next person to work on this thing next is going to require a lot of time and patience to understand what's going on here.

:shipit:


Sort Related Questions by Level then Title

Umberto suggested changing the sorting of related questions from alphabetical to level (which seems more useful).
The fix is changing QuestionPod.js to alter line 34 to be:
var n = parseInt(a.level.toString() + a.title);

not
var n = parseInt(a.title);

which should in part preserve whatever behaviour led to attempting to parse the title as an int in the first place! It seems unnecessary, because it fails as is and the title is returned instead.
Even better, if we understand why it was as it was and don't need it; we could do:
return a.level.toString() + "_" + a.title

and be done with it. I'm happy to do this, but I want to understand why it was as it is before I change it.

We decided it would be better to leave the questionComparer function alone and change how they were sorted in the footer itself.
Fixed in https://github.com/ucam-cl-dtg/isaac-app/commit/4d9be7b6f22a10482acc18328981f8a11f439076


Added Slack notification for verify and test

Changes:-
Added Slack notification for verify and test in github workflows.

Hi @Jay07GIT - Could you elaborate a bit on why you'd like to see terraform-provider-vinyldns GitHub Actions send Slack notifications? And what Slack instance do you intend to notify?

Hi @Jay07GIT - Could you elaborate a bit on why you'd like to see terraform-provider-vinyldns GitHub Actions send Slack notifications? And what Slack instance do you intend to notify?

Intention is to notify slack, when PR commit is passed/failed with tests in github.
Vinyldns-alerts is the slack channel which will be notify, when committed code is passed/failed.


CLDC-1228 Scheme and Location imports

Rename the import folder
Rename total_units to units
Added import logic for schemes and locations

Generally LGTM but think I'd appreciate a walk through to check I've understood everything properly


Bitbucket cloud collector issue

@MarkRx  @mrpudn  @pxk5958
I am having an issue while configuring bitbucket cloud private repo.
when i run the collector, I am getting below error,
2017-06-06 17:52:00,112 ERROR c.c.d.c.DefaultBitbucketCloudClient - 401 Unauthorized:
  https://bitbucket.org/api/2.0/repositories/cket.org/awsagero/testapi/commits?sha=master&since=2017-05-23T17:52Z
2017-06-06 17:52:00,114 INFO c.c.d.collector.CollectorTask - Repo Count 1 0s
2017-06-06 17:52:00,115 INFO c.c.d.collector.CollectorTask - New Commits 0 0s
2017-06-06 17:52:00,115 INFO c.c.d.collector.CollectorTask - Finished 0s

I did some research to find out why URL is saying Unauthorized. I have followed password encryption details provided on ReadME of UI Section.  Then i tried to check the URL by browsing it locally. It didn't work. I removed /cket.org After removing it. The new URL is https://bitbucket.org/api/2.0/repositories/awsagero/testapi/commits?sha=master&since=2017-05-23T17:52Z   It asked me for authentication, entered credentials and it worked. I got output as
{"pagelen": 30, "values": [{"hash": "bf9420418f08f9bf60d902e554ebb565ea2ab79c", "repository": {"links": {"self": {"href": "https://api.bitbucket.org/2.0/repositories/awsagero/testapi"}, "html": {"href": "https://bitbucket.org/awsagero/testapi"}, "avatar": {"href": "https://bitbucket.org/account/awsagero/avatar/32/"}}}}, "parents": [], "date": "2017-05-26T02:41:30+00:00", "message": "added all files\n", "type": "commit"}]}
I don't know, why in my URL it's adding /cket.org. can you please let me know how to remove it from URL. is it configured anywhere in DefaultBitBucketCloudClient? I am not adding it anywhere in bitbucket.properties file.
here is my bitbucket.properties file
dbname=hygieiadb
dbhost=<IP_ADDRESS>
dbport=27017
dbusername=admin
dbpassword=admin
logging.file=./logs/bitbucket.log
git.cron=0 0/2 * * * *
git.host=bitbucket.org/
git.api=/api/2.0/repositories/
git.key=4DKrBLraYpKhC4pGJRCSRXMEcFekStx8
github.key=4DKrBLraYpKhC4pGJRCSRXMEcFekStx8
git.commitThresholdDays=15
git.pageSize=25
git.product=cloud

can some one please take a look into this and advice/suggest any solution?
Thank you.

I got it why URL is wrong, it was because of i had entered wrong url in UI widget. After fixing URL. but still after fixing URL, i am getting unauthorized
2017-06-08 20:34:00,086 ERROR c.c.d.c.DefaultBitbucketCloudClient - 401 Unauthorized:https://bitbucket.org/api/2.0/repositories/awsagero/testapi/commits?sha=master&since=2017-06-08T20:22Z
2

Then i realize that i am getting errors in api section. When my bitbucket collector runs, i see an error on api as below,
2017-06-08 20:24:51,087 ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [/api] threw exception
io.jsonwebtoken.SignatureException: JWT signature does not match locally computed signature. JWT validity cannot be asserted and should not be trusted.
        at io.jsonwebtoken.impl.DefaultJwtParser.parse(DefaultJwtParser.java:342) ~[jjwt-0.6.0.jar!/:0.6.0]
        at io.jsonwebtoken.impl.DefaultJwtParser.parse(DefaultJwtParser.java:458) ~[jjwt-0.6.0.jar!/:0.6.0]
        at io.jsonwebtoken.impl.DefaultJwtParser.parseClaimsJws(DefaultJwtParser.java:518) ~[jjwt-0.6.0.jar!/:0.6.0]

it looks like something wrong with encryption key i am using, what can be wrong? i make sure my key is correct,
here is my api.properties file
dbname=hygieiadb
dbusername=admin
dbpassword=admin
dbhost=<IP_ADDRESS>
dbport=27017
key=4DKrBLraYpKhC4pGJRCSRXMEcFekStx8

can someone please help?, I have added same key in git.key and github.key

@meet101 - Can you please let me know what URL you put in the UI?
Currently i am also facing similar issue of URL getting added.
Did you added Repo URL as "https://bitbucket.org/api/2.0/repositories/awsagero/testapi" in UI?
for bitbucket.properties content as below (taken from your post)
git.host=bitbucket.org/
git.api=/api/2.0/repositories/
Regards,
Raghav

Never mind. I figured out the issue

Do you why am I getting this error about "JWT signature does not locally match locally computed signed"????
I am not using the URL in UI https://bitbucket.org/awsagero/testapi
It worked for me. Now it's not adding URL as I mentioned above. Does my URL is correct? How did you fix it?

@meet101  - I am also facing similar error in api when i enter "key" attribute.

@sraghu-rs - can you tell me what URL are you using in UI? My URL is not working still. I am now trying with public repo to just make sure what is the issue. Public repo url is not working as well. If I put the correct Repo URL which is<EMAIL_ADDRESS>then I am getting error  404 Not Found:https://bitbucket.org/api/2.0/repositories/cket.org/awsagero/test/commits?sha=master&s                                                                     ince=2017-06-09T17:40Z as it is adding cket.org
if i use https://bitbucket.org/awsagero/test URL in UI. it's not adding cket.org but still it's not working. what is correct URL?
Does anyone successfully integrated Bitbucket with hygieia??

@meet101  - I have done successful integration BitBucket Server with Hygieia.
However, i am also struggling with BitBucket Cloud.
I am able to get the Repo count and commits from BitBucket cloud but dashboard doesn't display anything.
For the Repo URL i have used https://bitbucket.org/{user}/{repo}.git but this repo is public repo.
At the end, i have to connect Private Repo and pull required information.
Now, i am getting error "JWT signature does not match locally computed signature. JWT validity cannot be asserted and should not be trusted." when i use key and git.key attribute in properties file.
Not sure, is this a bug or missing something in the integration.

@meet101 - I was able to successfully integrate with BitBucket Private Repo.
I have done below steps.

Logout from UI dashboard

Stop UI, and api

Generate key using
java -jar /core/target/core-2.0.5-SNAPSHOT.jar com.capitalone.dashboard.util.Encryption

Add the key to api.properties
key=WAFADdbmI3xArl2SXUmubdlK4CPyJWuK

Add the same key to BitBucket.properties file (to make sure, i have added both git.key and github.key)
git.key=WAFADdbmI3xArl2SXUmubdlK4CPyJWuK
github.key=WAFADdbmI3xArl2SXUmubdlK4CPyJWuK

Since my private key login depends upon SSO, i have to increase the field length of Repo username in the widget UI.
UI\src\components\widgets\repo\config.html

Start API

Start SCM collector job

start UI

Login to UI and configure repo widget
Repo URL - https://bitbucket.org/{user}/{repo}.git
E.g- https://bitbucket.org/awsagero/test.git

Enter the credentials of the Private Repo and save.

Once you enter the repo information, SCCM collector job will pick the repo URL and pull the information.

Refresh the dashboard to view the data.

Hope this helps.
Regards,
Raghav

@sraghu-rs  - Thank you for steps. I followed and stuck with 401 unauthorized error. can you do me a favor? can you share your bitbucket.properties file here? I just want to see, am i missing something there

@sraghu-rs - I got it work bit bucket cloud.  I had to change my repo password. It had special character. I didn't know it's not allowing special character. I changed it with number and alphabets. It worked.
Do you have a special character in password? Do you know what changes do i need to make to allow special character?
Thanks for your help.

@meet101 - Glad to hear this. Yes, it has special characters like +_) and it worked.

@sraghu-rs - It worked for me also, with special character. Thanks again.

@sraghu-rs
I am facing similar issue... could you guys tell me how you worked around the special character password?
I mean.,. i dont want to change my password to remove special character (company policies)... just curious how you still got it worked with special character?


New Badge in SideNav

I need new badge in SideNav but it doesn't work

So I change it by adding some code
    span.new.badge {       line-height: 20px;       margin-top: 22px;     }

This is my CodePen

thanks :)

Fixed


Maatwebsite/Excel v3 support through new component

Created new PhpSpreadsheetExport component as compatible with Maatwebsite/Excel v3 and newer. Needs PHP 7 to run (but should run on PHP 5.5 if new component is not loaded), It adresses #211 and #224 issues.
Tried it to be as much similar with rest of package as possible.
There is exception used for delivering response from within grid rendering process. Couldn't find better cleaner way to do it without requiring users to change way they deliver grid to view.
Tested it with:

laravel v5.5.43
PHP v7.4.30
maatwebsite/excel v3.1.25

Thanks!
Released as v2.0.4


chore(ci): add new e2e base target

I've noticed that we have to do a fair amount of installing from apt relatively often which only happens once the +build target is done. Ideally we'd do this in parallel so I've split off a different target in order to try and get earthly to be more proactive.

Benchmark results
Metrics with a significant change:

proof_construction_time_sha256_30_ms (16): 1,461 (-17%)
avm_simulation_time_ms (Token:transfer_public): 36.5 (-30%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256_30_ms
11,718
3,132 (-2%)
:warning: 1,461 (-17%)
1,445 (-12%)
1,596 (+9%)

proof_construction_time_sha256_100_ms
44,553
11,664 (-1%)
5,403 (-1%)
5,392
5,371

proof_construction_time_poseidon_hash_ms
78.0
34.0
34.0
58.0
89.0

proof_construction_time_poseidon_hash_30_ms
1,514
415
199
223 (-2%)
271 (+1%)

proof_construction_time_poseidon_hash_100_ms
5,717
1,571 (-1%)
723
771 (+1%)
788 (-1%)

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
4 txs
8 txs
16 txs

l1_rollup_calldata_size_in_bytes
1,412
1,412
1,412

l1_rollup_calldata_gas
9,440
9,468
9,476

l1_rollup_execution_gas
610,261
610,289
610,297

l2_block_processing_time_in_ms
751
1,410
2,703 (+1%)

l2_block_building_time_in_ms
25,498 (-1%)
51,262
100,123 (-1%)

l2_block_rollup_simulation_time_in_ms
25,401 (-1%)
50,955
99,767 (-1%)

l2_block_public_tx_process_time_in_ms
21,842 (-1%)
47,142
96,065 (-1%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 8 txs.

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
7,005
9,842

node_database_size_in_bytes
12,169,296
16,076,880

pxe_database_size_in_bytes
16,254
26,813

Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Function
time_ms
bytecode_size_in_bytes

GasToken:_increase_public_balance
65.4
13,873

GasToken:set_portal
16.8 (-9%)
3,495

Token:constructor
91.7
24,207

FPC:constructor
61.8 (-2%)
13,893

GasToken:mint_public
51.5 (+1%)
10,241

Token:mint_public
610 (+1%)
19,216

Token:assert_minter_and_mint
72.4 (-2%)
13,034

AuthRegistry:set_authorized
32.3 (+6%)
7,869

FPC:prepare_fee
178 (+17%)
15,187

Token:transfer_public
:warning: 36.5 (-30%)
31,425

FPC:pay_refund
126 (-14%)
20,080

Benchmarking:increment_balance
2,702
15,465

Token:_increase_public_balance
55.7
15,089

FPC:pay_refund_with_shielded_rebate
142 (-3%)
21,167

Public DB Access
Time to access various public DBs.

Function
time_ms

get-nullifier-index
0.155 (+1%)

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
256 leaves
512 leaves
1024 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.3
16.7
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.7
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.596
0.511
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
48.1
75.9
132
245
472 (+1%)

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
287
543
1,055

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.491
0.466
0.453
0.444
0.441 (+1%)

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
59.3
112
183 (+1%)
353
697 (+1%)

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
109
207
355
691
1,363

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.503
0.503
0.485 (+1%)
0.478
0.479 (+1%)

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
72.8
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
133
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
0.518
N/A
N/A
N/A
N/A

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
85,672
670,983

Transaction size based on fee payment method
| Metric |  |
| - |  |

May want to wait for @ludamad approval though before merging!


Add skeleton loaders for images

Ideally these skeleton loaders should be the dimensions of the ROIs and laid out the same way, so that the ROIs load into the skeleton loaders "in place", if that makes sense.
We'd need to return image dimensions from the roi_list endpoint.

Issue closed for now; the recent upgrades to the underlying VM have increased the performance to an acceptable level. If future work is needed, new tickets will be created


Sombra invis hacking

Created by: 21stcenturyblues
Sombra still is able to hack while invisible

moved from ow1_emulator_backup#514


iPhone 12 Navbar and Tabbar not respecting Safe Area

RNRF Version: 4.0.1
RN Version: 0.61.5
When using the iPhone 12, it seems that the Navbar and Tabbar are ignoring the safe area. I've seen a couple other people with this same issue but there is no clear solution to the problem.
Am I totally missing something?
Cheers.

4.3.0 resolves this


[WIP] [ENH] Improved map2loop - gempy integration

New loop2gempy_pro function
New notetook Map2Loop2GemPy minimal example
New test

A few questions:

What is the functional difference between loop2gempy_pro and loop2gempy?

Does the NB 1a. All in one Hamersley-gempy.ipnb need the code starting with the Cell: g = Out[67], as it crashes with a key error. Or should all gempy-related code be replaced by equivalent code from Map2Loop2GemPy- All in one Hamersley.ipnb and remove the old NB?

The map view of the model produced by the loop2gempy_pro code looks pretty good, but the surfaces are crazy and have no obvious relationship to the map? The map view is still very noisy though, when compared to the geomodeller map using the same data, this may be difference in the co-kriging parameters used (see comparison images:

geomodeller

gempy

, accepting that gempy didn't use the fault data)?

The 3D surfaces produced by loop2gempy look OK, except that the domes become basins and the basins become domes relative to the real data, can't tell if this is an issue with loop2gempy_pro?

How is the vertical exaggeration (ve) information passed to gempy, I could see how it was being used?

Given all this, should I accept the pull request?

Hey Mark, sorry I did not described the pull request more in detail! I was planning to have finished yesterday but in the end I did not find the motivation. The main reason to do the pull request is for you to follow what I am doing and help me to polish it.

I did not compare them in terms of the output. I just rewrote the function using more gempy syntax. In general, this should avoid some objects not updating when other objects get updated. I will try to do some comparison

I forgot to update that notebook. We should updated with the new function. I will do it in the next commit.

I think the problem is that we have too much vertical anisotropy (I should rename ve to va).  We are multiplying all coordinates by 30 (during the whole interpolation and representation). Also this exaggeration is the reason why the surfaces are so extreme.

In any case, this vertical anistropy at the moment is a dirty patch I did to try to get better results. We are working on cgre-aachen/gempy#266 , cgre-aachen/gempy#341 and cgre-aachen/gempy#265 to integrate anisotropies properly.
The noise on the map I think is due to the extreme vertical anisotropy. I will play with the value

I am not sure how to deal with this

Again, ve is misleading because it is not only on the plot side but on the whole Z coordinates to do it more isotropic.

Nop

Thanks,

Funnily enough LoopStructural had the same problem for point 4 (domes->basins) it was a sign problem with the use of orientations in Lachie's case, I guess the same here?

I was more trying to learn how the info in the variable ve was being passed to gempy, since it is not on the parameter list of any of the functions? Is that code just for explanation?

Looking to the map in vtk it looks much better - you can get that view by pressing L in the vtk renderer to hide the layers. I think is just because vtk smooth the plot. I really need to fix the plot_map option and then I can try to understand why it looks so noisy.

In GemPy (this is different to geomodeller) we do not use the order of the surfaces (within a group) as constrain, so I think it has to be some rogue data point. Hopefully I can put it in VR soon to try to understand better what is going on because there is clearly quite a few artifacts. I think all related to using one single range and not having anisotropy - perfect case study for us to work in that part of the code

At the moment if you look to the loop2gempy_pro I just use ve to multiply a bunch of Z arrays.

I think it is as good as it gets right now so maybe we should merge it and we will keep using this model to tune the hyperparameters


update pubspec.lock or remove it

I can't remember the rules around when to check in pubspec.lock. :) However, the version in source control could use a few bumps: specifically, with code_transformers.
Thanks!

This is fixed.


Set the entries dynamically in the code

i can't find how to add entries dynamically from the code, is it possible?
i have a String array.

You can use the method setStatusList() on the StatusView.


[PRAGMA journal_mode=TRUNCATE] database is locked With Room

This is a cool library to check datasbe. But when using with Room i was seeing this log in my logcat.
2019-05-27 04:46:06.569 3634-3691/com.test E/SQLiteLog: (5) statement aborts at 1: [PRAGMA journal_mode=TRUNCATE] database is locked
2019-05-27 04:46:06.579 3634-3691/com.test W/SQLiteConnection: Could not change the database journal mode of '/data/user/0/com.test/databases/MyDb' from 'wal' to 'TRUNCATE' because the database is locked.  This usually means that there are other open connections to the database which prevents the database from enabling or disabling write-ahead logging mode.  Proceeding without changing the journal mode.

It took me 1 day to figure out that this library was causing this issue.

Can you confirm this?

android.database.sqlite.SQLiteDatabaseLockedException: database is locked (code 5): , while compiling: PRAGMA journal_mode
        at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
        at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:890)
        at android.database.sqlite.SQLiteConnection.executeForString(SQLiteConnection.java:635)
        at android.database.sqlite.SQLiteConnection.setJournalMode(SQLiteConnection.java:321)
        at android.database.sqlite.SQLiteConnection.setWalModeFromConfiguration(SQLiteConnection.java:295)
        at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:216)
        at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:194)
        at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:493)
        at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:200)
        at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:192)
        at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:864)
        at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:849)
        at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:750)
        at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:767)
        at com.amitshekhar.debug.sqlite.DebugDBFactory.create(DebugDBFactory.java:13)
        at com.amitshekhar.server.RequestHandler.openDatabase(RequestHandler.java:187)
        at com.amitshekhar.server.RequestHandler.getTableListResponse(RequestHandler.java:306)
        at com.amitshekhar.server.RequestHandler.handle(RequestHandler.java:113)
        at com.amitshekhar.server.ClientServer.run(ClientServer.java:77)
        at java.lang.Thread.run(Thread.java:764)

This is my issue! When i use ROOM database and androidx.

Also experiencing this issue here!

can any one help on solving the issue for instance? even after removing the library implementation, it is giving the same error.

My issue occur when i use the Firebase Database. And i remove this code to resolve issue:
FirebaseDatabase.getInstance().setPersistenceEnabled(true);


[FR] getCountFromServer for firebase-admin

Firebase Web SDK introduced a getCountFromServer function to get count of documents in a collection bypassing downloading documents. Would be neat to get it in firebase-admin.

We literally JUST released it! See https://firebase.google.com/support/release-notes/admin/node#11.2.0

I have no idea how to use COUNT( )  in  firebase-admin .currently my code is  await admin.firestore().collection("Class").count().get();

For those who came here via google and are looking for the function name: .count() as in
const snapshot = await db.collection("users").where("team", "==", "sales").count().get() console.log(snapshot.data().count)


Pulling dep with 'go get' causes teams to be out of sync

What version of dep are you using (dep version)?
0.3 and HEAD
What dep command did you run?
dep init
What did you expect to see?
Gopkg.toml
What did you see instead?
manifest.json
Essentially the problem here is that we have a team of developers now using dep. However, some of them are on windows, linux and macs.  The apple guys pull this in via homebrew and properly get 0.3.0 but the windows/linux guys get HEAD from using 'go get -u'
We quickly realized that the mac devs were using manifest.json files and the windows devs are using Gopkg.toml files.
There are alot of ways around this problem but it would be nice if dep was published to gokpg.in or something until it's part of an official release.

hi! thanks for the issue.
so, first - manifest.json is something we moved away from at the end of May. so, someone's got a really, really out of date version from a much more experimental time 😄
prior to that change, we explicitly made no guarantees about the interoperability of dep versions, at all. it was very much "caveat emptor." when we made that change, however, there came with it a guarantee - that any subsequent changes to those metadata files would be backwards-compatible.
while it is possible that substantially older versions of dep may not be able to do everything newer versions can with those files, their existing functionality will be preserved - as long as those
versions are from June 2017 or later. all of which is to say that we put a lot of thought and care into interoperability between versions, and i think your headaches will go away once you address this:

but the windows/linux guys get HEAD from using 'go get -u'

i'm guessing that they're probably doing go get -u github.com/golang/dep, which doesn't actually update anything, because that's not where the main package is. they need to be doing go get -u github.com/golang/dep/cmd/dep.
i suspect that once they make that change, your team won't have issues anymore 😄

published to gokpg.in

gopkg.in isn't something you publish to - it's just an aliasing system that works on top of github. gopkg.in's model is somewhat at cross purposes with dep (though we fully support projects that rely on it for imports), so we're not likely to point anyone at it in general. also, gopkg.in is really primarily for importing, not packaging releases per se - and it can't work for us, because we rely on self-referencing internal import paths that break if you try to reference it via gopkg.in.

thx sam for the clarification on this.


microwin windows 11 bluescreen

Describe the bug
well i tried installing windows 11 with microwin modifications applied but it blue screened when restarting to continue
To Reproduce

download windows 11 iso from official site
using microwin to debloat it
flashing the iso to a usb disk with rufus
booting it through the usb
installing it as normal
when it does its first restart it shows a blue screen

Expected behavior
no blue screen
Screenshot

Just Send it via Ventoy on Rufus make sure no other option is enabled if u need to bypass tpm or secureboot just use the shift f10 option on during install

do you think the reason for that was the options of rufus?

I have the same issue using Ventoy or Rufus

do you think the reason for that was the options of rufus?

yes i do as Rufus auto adds options I have had success install using MircoWin.iso

I have the same issue using Ventoy or Rufus

are u on the latest ventoy and did u check off the option to send it to ventoy as soon as its completed iso ?

I have the same issue using Ventoy or Rufus

are u on the latest ventoy and did u check off the option to send it to ventoy as soon as its completed iso ?

I am on the latest version of Ventoy. I manually copied the iso to the Ventoy drive.

@wms8688  tick the option on microwin to copy to ventoy while its doing everything and retry


Out of Memory.

I have 4gb Vram and it gives me out of memory error. How to switch to cpu only?

To switch to CPU, please run with run.py --device cpu

File "E:\TripSo\TripoSR\env\lib\site-packages\transformers\models\vit\modeling_vit.py", line 219, in forward
attention_scores = torch.matmul(query_layer, key_layer.transpose(-1, -2))
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 50.00 MiB. GPU 0 has a total capacity of 4.00 GiB of which 0 bytes is free. Of the allocated memory 6.05 GiB is allocated by PyTorch, and 158.95 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation.  See documentation for Memory Management  (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "E:\TripSo\TripoSR\env\lib\site-packages\gradio\queueing.py", line 501, in process_events
response = await self.call_prediction(awake_events, batch)
File "E:\TripSo\TripoSR\env\lib\site-packages\gradio\queueing.py", line 465, in call_prediction
raise Exception(str(error) if show_error else None) from error
Exception: None

what is the minimum gpu vram required. i have 4gb vram. i tried lowering the model.renderer.set_chunk_size(8192) to model.renderer.set_chunk_size(8) but still getting out of memory
ran fine on CPU though but took almost 6mins

I have the same problem here, does anyone have any suggestions?
torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 896.00 MiB. GPU 0 has a total capacity of 23.68 GiB of which 417.81 MiB is free. Process 715370 has 23.27 GiB memory in use. Of the allocated memory 22.96 GiB is allocated by PyTorch, and 19.59 MiB is reserved by PyTorch but unallocated.

could this actually be the kv cache and thus be linked to https://github.com/vllm-project/vllm/discussions/241 ?


Changed TRX file 'InnerResults' structure for datarows

Hi,
since I updated my IDE enviroment, to VisualStudio 2019  V16.10.2 my test trx result file is no longer structured as expected.
I use vstest.console.exe in version 16.0.3136.167. All my test classes are started with this option to performe more datarows are defined in the TestFiles_prepared.xml:
      [DataSource("Microsoft.VisualStudio.TestTools.DataSource.XML", "|DataDirectory|\\TestFiles_prepared.xml", "TestFile", DataAccessMethod.Sequential)]
The problem now is, that all UnitTestResults are stored flat in the 'TestResult\Results\ node'. In the past it was structured on the child node 'InnerResults'

Any ideas, how I get the old structure?
Thanks

Hi @PSchmidde,
This issue duplicates #1149 but to give you some details, there was a breaking change introduced in MSTest (sadly not following semantic versioning) to align behavior with other test frameworks (NUnit and xUnit).
With v3 of MSTest, you will be able to revert to legacy behavior. But please note that this is also going to lead to some issue with unfolding of the data tests in VS.

Dear all. Are you aware that this breaking change breaks also running of the tests via Microsoft AZDS task VSTest@2 (see here)? That is when testSuite and testPlan are used to define the tests to run. In case of DataRow it runs only one data point and reports it (ignoring the rest). In case of DynamicData it runs all and reports nothing. Is there a plan to fix that? We do rely heavily on this functionality.

Hi @dobsa,
For AzDO related issues, please open an issue on https://developercommunity.visualstudio.com/AzureDevOps/report.
This repository is not linked to AzDO

Hi @Evangelink thanks for quick reply.

For AzDO related issues, please open an issue on https://developercommunity.visualstudio.com/AzureDevOps/report.

They clearly need to be linked at least somehow since the change in one breaks the other. But I will try to search also there. I hope the breaking change has been at least communicated.
Thanks again and regards.
Martin


Run Agent Challange Tests for Polygon ZkEVM on testnet

Whenever we add a new chain support we need to test it with agent setup.
Acceptance Criteria:

Prepare a sheet showing the results of challenge tests.

https://docs.google.com/spreadsheets/d/1M_LobscxMHvOFhgLJ8lDlLcR075_fJ478Pp5AStEiMk/edit#gid=0


BUG OCPBUGS-7826: Add multi node support for consumer to identify publishers

when deploying consumer app, if NODE_NAME is used as placeholder for publisher URL , the sidecar was skipping replacement and this was resulting from identifying valid .publisher service endpoint.

/cherrypick release-4.12


FancyZones not allowing snapping to some programs

Microsoft PowerToys version
<IP_ADDRESS>
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
FancyZones
Steps to reproduce
Open application (Asus Sonic Studio in my case) hold the shit key and drag to a zone and it doesn't light up so I have to manually move the program to it's zone.  This happened with the previous version but was OK on the version before that.
✔ Expected Behavior
The zone to light up to drop on.
❌ Actual Behavior
Zone not lighting up.
Other Software
No response

Consolidating similar issues: /dup https://github.com/microsoft/PowerToys/issues/23031


$document operation bundle in Hapi-Fhir does not comply with FHIR specifications regarding the use of total and entry.search elements

Describe the bug
The issue pertains to the $document operation bundle in the Hapi-Fhir project and concerns non-compliance with FHIR specifications. Specifically, the Bundle specification (section <IP_ADDRESS>) outlines two constraints related to the use of the total and entry.search elements. According to constraint bdl-1, the total element should only be present when a search or history operation is performed. Constraint bdl-2 states that the entry.search element should only be present when a search operation is performed.
However, the current implementation of the $document operation bundle in Hapi-Fhir is not adhering to these constraints. The operation is returning both entry.search and bundle.total. This non-compliance with the FHIR specification is causing issues when the consumer of this $document operation had strict validation.
To Reproduce
Steps to reproduce the behavior:

Create a composition
Run the $document operation

Expected behavior
The bundle should not have a total and the entries should not have a search element
Environment (please complete the following information):

HAPI FHIR Version: 6.4.4

Great, can someone apply this fix?
I was just looking for exactly this issue, very nice Eernie that you fixed it!


add officer and administration accounts

Artem's request

Make sure that the admin can scroll through the member's accounts and check to see if they have the waiver filled out.

That might be slightly frontend but make sure you can access the files from mongo so I can display it, preferably through compact cards with the images as the waiver and info as the accounts thought that may not be the best looking or best way to find people

the waiver portion of the admin account functionality is at #37

make sure admins can create/delete officer accounts and approve member accounts

make sure officers can approve member accounts

make sure members receive a confirmation email once their account is approved

make sure admin and officers can see who paid and who didn't


Fix Model:GetBoundingBox return type

Changes
It doesn't return void.
Checks
By submitting your pull request for review, you agree to the following:

[x] This contribution was created in whole or in part by me, and I have the right to submit it under the terms of this repository's open source licenses.
[x] I understand and agree that this contribution and a record of it are public, maintained indefinitely, and may be redistributed under the terms of this repository's open source licenses.
[x] To the best of my knowledge, all proposed changes are accurate.

Comment to keep alive.


Update code style structure and docs

Importing code style settings was confusing because it wasn't obvious from the documentation where specific files resided.
Renamed the .settings folder to settings. This is done since on Mac OSX, by default hidden folders are not visible, thus importing these settings into your IDE is impossible without changing system configuration (undesirable).
Updated documentation to reflect this renaming.

Please submit the PR so that it contains all your changes as single commit and not other commits:
http://apex.apache.org/contributing.html
Regarding the directory name, we cannot change this. Please inspect the history as that explains why the change was made a while ago.

@tweise Based on the commit hash from the history, the change to ".settings" is only referenced in this PR:
https://github.com/apache/incubator-apex-core/pull/314
In that PR, it's complete unclear why this change was made (it's one of over 300 other commits). Is there any other discussion explaining this?

Ilya, you should find that discussion on the mailing list. The issue was that the binary files were included into the release. There were several options discussed, one was to move these settings out of the source tree altogether. There was also another discussion about the need for those in first place. Intellij actually has settings under .idea checked in.


Lich's Castle

program the /battlelich and the lich's item

Need to program the lich's item, but otherwise added.

[x] Added the lich item
[ ] Test!
[ ] Add a role to hide the command from players without the item (not necessary but nice to keep the command list shorter)

[x] Added the lich item
[x] Test normal usage.
[ ] Test queue usage.
[ ] Add a role to hide the command from players without the item (not necessary but nice to keep the command list shorter)

Need to remove role dead from target

and move target to a valid location if they aren't in one


Release/0.7.0

Coverage decreased (-3.1%) to 72.136% when pulling 53496548c9953970e258eebdf3b32961c84d1255 on release/0.7.0 into d166807eef6aa1a3e248846b40d8906ace17a6aa on master.


Don't show tab modified indicator if file isn't different than what's on disk (even if changes were made)

VSCode Version: 1.6.1
OS Version: Linux

If I make a change to a file, the tab shows the modified indicator as expected. If I undo the change with Ctrl Z, the modified indicator goes away as expected.
But if I make a change like adding a character and then I delete the character, the tab shows the modified indicator which isn't expected. Even though a change was technically made, the file currently is no different than what's on disk, so it shouldn't appear as modified.

https://github.com/Microsoft/vscode/issues/919


Remove Button Chaos On Event Creation Page

Acceptance Criteria

should look like this:

remove Workshop/Camp at the top

rework "Versteckt" checkbox -> "Veranstaltungstyp" radio buttons

move "Öffentlich" from the bottom to the top and rename it into "Entwurf"

rename "Versteckt" label on event overview page in "privat"

:+1:


[BUG] - title

Description
The 'image' as input, does not want to connect to another image loader?
It should be able to receive an image at that node?
Reproduction steps
Convert Image load to input.
Does not connect to the external loader.
Image file

Version
1.0.0

I explained the reason here #13. The Prompt Reader itself is an image loader and works in a similar way to the built-in image loader, so I believe that in most cases the Prompt Reader can replace the image loader. Of course, you can tell me why you need another image loader.

I want to use it in this manner, as to create/ a new simple image to feed into the workflow, to create a variation for an alpha (rembg) image. See screengrab, if that makes any sense.
Instead of having to find an image that fits my theme and hope it has metadata from an archive.

But the problem is that the images output from the VAE Decode don't contain any metadata, I’m guessing what you might want is the Parameter Generator node.


Manifest parser needs to find Manifests in subdirectories within GitHub

Currently, our parser will only find manifest files (i.e., manifest.yaml) within the top-level GitHub project directory/folder.  We need to be able to allow manifests for packages to be referenced (and found and processed) if they are placed within sub-directories (or sub-folders) within a GitHub project repo. as well.
For example, if we specify a dependent (GitHub hosted) package within a manifest as follows:
package:
  name: TestGitHubDependency
  dependencies:
    ow-package:
      location: github.com/myrepo/openwhisk-packages

It will find, by default, the manifest.yaml within the "github.com/myrepo/openwhisk-app" top-level directory.
However, we also need it to support subdirectories as expressed in the following example:
package:
  name: TestGitHubDependency
  dependencies:
    ow-package-1:
      location: github.com/myrepo/openwhisk-packages/pkg1
    ow-package-1:
      location: github.com/myrepo/openwhisk-packages/pkg2

where a "manifest.yaml" file exists in both the "pkg1" and "pkg2" subdirectories, but there is NO manifest.yaml in the top-level project repo. folder (i.e., no manifest in github.com/myrepo/openwhisk-packages/).
Wskdeploy will have many GitHub integartion tests that will rely upon this ability (feature).

Fixed by PR #436 and closed


Check for column of zeroes in V9

The systems in V9 could have a column of zeroes. This makes the solution ambiguous. For example, nothing in the context of the below problem implies the solution space should be a subspace of R^5 rather than R^4.

Now that https://github.com/StevenClontz/checkit/issues/17 is closed, this can be fixed. I implemented it for E1-V2 in 9818228. @siwelwerd can you take care of the rest based on those examples? If not I'll tackle this Mon/Tues next week.

Now that https://github.com/StevenClontz/checkit/issues/17 is closed, this can be fixed. I implemented it for E1-V2 in 9818228. @siwelwerd can you take care of the rest based on those examples? If not I'll tackle this Mon/Tues next week.

I get an error when I try to use Checkit now. I did a fresh copy of Checkit and the tbil-la problems, and am getting this error.
`from checkit import Bank

bank = Bank("checkit-tbil-la")
outcome = bank.outcome_from_slug("E2")
outcome.print_preview()
30.021 seconds
Generating 1 private exercises for E2...
TypeError                                 Traceback (most recent call last)
 in
3 bank = Bank("checkit-tbil-la")
4 outcome = bank.outcome_from_slug("E2")
----> 5 outcome.print_preview()
~/checkit/checkit.py in print_preview(self)
273
274     def print_preview(self):
--> 275         ex = self.generate_exercises(amount=1,regenerate=True,save=False)[0]
276         display(HTML("Preview: "+ex.html()))
277         ex.print_preview()
~/checkit/checkit.py in generate_exercises(self, public, amount, regenerate, save)
205         print(f"Generating {amount} {exs} for {self.slug}...",end=" ")
206         # returns json list of exercise objects
--> 207         result = subprocess.run(command,capture_output=True)
208         if result.stderr:
209             print("ERROR, no exercises generated:")
/usr/lib/python3.6/subprocess.py in run(input, timeout, check, *popenargs, **kwargs)
421         kwargs['stdin'] = PIPE
422
--> 423     with Popen(*popenargs, **kwargs) as process:
424         try:
425             stdout, stderr = process.communicate(input, timeout=timeout)
TypeError: init() got an unexpected keyword argument 'capture_output'`

I get an error when I try to use Checkit now. I did a fresh copy of Checkit and the tbil-la problems, and am getting this error.
`from checkit import Bank

bank = Bank("checkit-tbil-la")
outcome = bank.outcome_from_slug("E2")
outcome.print_preview()
30.021 seconds
Generating 1 private exercises for E2...
TypeError                                 Traceback (most recent call last)
 in
3 bank = Bank("checkit-tbil-la")
4 outcome = bank.outcome_from_slug("E2")
----> 5 outcome.print_preview()
~/checkit/checkit.py in print_preview(self)
273
274     def print_preview(self):
--> 275         ex = self.generate_exercises(amount=1,regenerate=True,save=False)[0]
276         display(HTML("Preview: "+ex.html()))
277         ex.print_preview()
~/checkit/checkit.py in generate_exercises(self, public, amount, regenerate, save)
205         print(f"Generating {amount} {exs} for {self.slug}...",end=" ")
206         # returns json list of exercise objects
--> 207         result = subprocess.run(command,capture_output=True)
208         if result.stderr:
209             print("ERROR, no exercises generated:")
/usr/lib/python3.6/subprocess.py in run(input, timeout, check, *popenargs, **kwargs)
421         kwargs['stdin'] = PIPE
422
--> 423     with Popen(*popenargs, **kwargs) as process:
424         try:
425             stdout, stderr = process.communicate(input, timeout=timeout)
TypeError: init() got an unexpected keyword argument 'capture_output'`

Ah, okay.  "Changed in version 3.7: Added the text parameter, as a more understandable alias of universal_newlines. Added the capture_output parameter."  The cocalc is running 3.6, and needs to be updated.  Checkit documentation should note that python >3.7 is required.

Ah, okay.  "Changed in version 3.7: Added the text parameter, as a more understandable alias of universal_newlines. Added the capture_output parameter."  The cocalc is running 3.6, and needs to be updated.  Checkit documentation should note that python >3.7 is required.