Remove string members from CallTreeView

The function nodes of the CallTreeView always stored three strings, for module path, build id and function name. Many of them were even highly redundant.
As we build the complete tree in memory, we not only allocate/deallocate a big amount of memory on the heap, but als querry function/module names for all nodes, even if they are not visible.
In general, Qt is very good at caching and only queries item view items that are visible.
So this change removes the three strings, and instead retrieve the content on query.
This reduces the time to update the UI in the 5min test capture from 29sec to 17sec.
Test: Take a capture of Orbit loading the 5min test capture.

Sorry, i needed to rebase in order to build....


Content pages cannot be accessed with URL

Steps to reproduce
Build and run. Go to http://localhost:8080/content/dynamic/index/header or any other page. See that there is no content there.
Expected result
The Header page should be displayed
Actual result
Nothing is displayed.
The response looks like this:
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Content</title>

    <script src="/sys/webcomponentsjs/webcomponents.min.js"></script>
    <script>
      /* this script must run before Polymer is imported */
      /*
       * Let Polymer use native Shadow DOM if available.
       * Otherwise (at least Polymer 1.x) assumes everybody else
       * uses ShadyDOM, which is not true, as many Vanilla CE uses
       * real Shadow DOM.
       */
      window.Polymer = {
        dom: "shadow"
      };
    </script>
    <link rel="import" href="/sys/polymer/polymer.html">
    <link rel="import" href="/sys/starcounter.html">
    <link rel="import" href="/sys/starcounter-include/starcounter-include.html">
    <link rel="import" href="/sys/starcounter-debug-aid/src/starcounter-debug-aid.html">

    <link rel="import" href="/sys/bootstrap.html">
    <style>
        body {
            margin: 20px;
        }
    </style>
</head>
<body>
    <template is="dom-bind" id="puppet-root">
        <template is="imported-template" content$="{{model.Html}}" model="{{model}}"></template>
    </template>

    <puppet-client ref="puppet-root" remote-url="/__default/BEB7CA9C29F3CF8D20000010"></puppet-client>

    <starcounter-debug-aid></starcounter-debug-aid>
</body>
</html>

The view-model looks like this:
{
  "_ver#c$": 0,
  "_ver#s": 0,
  "Pages": [
    {
      "Content": {
        "Html": "/content/dynamic/index/HeaderPage.html",
        "User": {
          "Username": "admin"
        }
      }
    }
  ]
}

Technical information
Starcounter version <IP_ADDRESS>56
It seems like the handler in ContentHandlers is called twice.

This is my bad. The right URL to call is /content/cms/item/{key}
Closing

The above link only takes me to the edit page, not the actual page.
Reopening

Fixed with 	a2106f6
Closing


adding namd gnu cyg

Can we support Intel and GNU with the same cygnet file?
Or is this because "intel" is broken?

well, this one works well for the job that had some issues with intel build. I thought that if we have both intel and gnu then users will still use the intel build. We might have a look and add intel support again when we upgrade PrgEnv-intel to a newer version.


Port documentation from the wiki: Boolean field

Port old article from wiki and refresh them for sensenet 7. The new article should be an .md file in the /_docs folder. Old screenshots should be re-created on the new admin-ui if it is possible and placed into the /docs/images folder.
admin.sensenet.com
name: BuiltIn\admin
password: admin
repository url: https://dev.demo.sensenet.com
The .md file should have the following header:
---
title: %title%
source_url: %url of the file on github%
category: Development
version: v7.0.0
tags: %possible tags as an array%
---

(you can use the docs here as example)
Boolean field
Please change the old wiki urls as if they were available on github (e.g. https://wiki.sensenet.com/content_templates sould be changed to /content-templates)

Hey @herflis I would like to work on this!

@herflis  Raised PR #336
Review and please provide your feedback. Please help me regarding recreating screenshots for new admin-ui.


People 154 generate user skill rates

Ticket
https://netguru.atlassian.net/browse/PEOPLE-154
Description
Added rake task for generating user skill rates for all of the users with default values

BTW: Circle failed :)

Yep, we have problem with random specs failing. I have added ticket for that.


table component improvement

migration experience needs button and hyperlink column types in table component.

new hyperlink column for table component.
code refactoring, move the clickable column logic to a base class and let button column and hyperlink column inherit it.
update sqlservices sample extension to use the new features.

image button, text button, link with icon, link

UI impacted by this PR, no visual changes:

Schema Compare Main
before

after

Schema Compare options dialog
before

after

SQL Assesment
before

after

Database list
before

after

Pull Request Test Coverage Report for Build 421600891

17 of 105 (16.19%)  changed or added relevant lines in 7 files are covered.
4 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.06%) to 43.107%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/sql/base/browser/ui/table/formatters.ts
0
1
0.0%

src/sql/base/browser/ui/table/plugins/buttonColumn.plugin.ts
1
9
11.11%

src/sql/base/browser/ui/table/plugins/hyperlinkColumn.plugin.ts
1
10
10.0%

src/sql/base/browser/ui/table/plugins/tableColumn.ts
2
34
5.88%

src/sql/workbench/browser/modelComponents/table.component.ts
10
48
20.83%

Files with Coverage Reduction
New Missed Lines
%

src/sql/workbench/browser/modelComponents/table.component.ts
1
11.81%

extensions/import/src/wizard/pages/fileConfigPage.ts
3
72.99%

Totals

Change from base Build 421419736:
-0.06%

Covered Lines:
24112

Relevant Lines:
51258

💛  - Coveralls

noticed the width of  'more actions' column has been changed while comparing screenshots, update the code to use fixed width for image only button column to match the previous behavior.

before:

after


FontBakery Mission Covenant

Draft one.
Then, ask for community feedback.
It would most probably be based on the current contents of our docs at https://font-bakery.readthedocs.io/en/latest/
Definitely stressing out the mission of gathering knowledge on font issues and organizing them in the most useful manner to the general public, while also documenting the vendor-specific needs.
And software freedom, of course!
Do we need anything else?

Do we need anything else?

A mandate from the user community and user-developer stakeholders.
For the former, I started a TD thread to try to gather more signals @ https://typedrawers.com/discussion/4818/fontbakery-feedback/p1
For the latter, I believe a well run summit event would help.
Stepping back a bit, to the meta level of this issue, I'd like to share this link, which is where I learned about the more formal vision/mission/etc definitions and how they fit together:

Vision (long term) 'dream statement' of where we dream to be in a few
years - the world we hope to arrive into, the big picture we are moving
towards.

Mission (long term) what are we, what do we do, why do we do it - this
should hold good for the same amount of time as the Vision; what exists
today, that powers us to move towards the Vision

Goals (mid term) expected outcomes that are not measurable, eg "Increase
adoption of Sugar by non-English-native-speaking children". These typically
arise from a SWOT analysis.

Objectives (mid term) specific targets that are measurable, eg "Increase
8 translation locales from 80% coverage to 100% coverage before 2017/1/1"

Tasks (short term) actual activities that are assigned to people to get
done, eg "Chris Leonard to organize volunteers to meet the translation
objective."

http://lists.sugarlabs.org/archive/iaep/2016-June/018838.html


Ability to pan editor camera

The editing camera is locked around the scene origin.  It's hard to edit anything in detail without being able to pan around when zoomed in.

You can pan by moving your mouse while pressing right button.

OK wow, that helps a lot!
We'll have to figure out how to help people find some of these functions.


Add common theorem-like reference types

Hi @gusbrs ,
I noticed that, while the default language files are pretty extensive, some common theorem-like environments (e.g. axiom, notation, and some more) are lacking. Would you be interested in a PR which adds some reference types? I would be able to submit additions for the English, Dutch and German language files, but not for the other languages...

Hi @niluxv , indeed the language files are not exhaustive, and there's actually no intention of being so (because, well, it would be impossible anyway). I wanted the language files to cover types for well established packages and, in the case of math environments, some traditional ones, the most commonly used. And I think the current set is already quite generous in covering a somewhat wide range of possibilities. Besides, there's full support for users adding new types, and it is trivial to do so. All in all, there's a balance to reach in this coverage of different types -- user convenience vs. maintenance burden -- and my current feeling is that I might have already overstreched a bit in the original set. So, I appreciate your offer, and thank you very much for it, but I count on your understanding in keeping the current set as it is.

Okay, no problem. I'll close the issue then.


Add draft watermark to DOS Preview panels

https://trello.com/c/IwpYvT8z/148-add-draft-overlay-to-dos-preview-instead-of-draft

Follows the GOV.UK Content Publisher pattern of using a watermark overlay on the draft preview.
The ~CCS~ CSS is copied wholesale from the GOV.UK static repo. Most of the diff in this PR is whitespace changes, as I had to add a draft-preview wrapper div around the source page content.
I ran the Chrome dev tools accessibility audit and the text/background contrast passes 👍
I removed [DRAFT] from the brief title inside the panel, but kept it on the source page title in case anyone looks at the source page outside the iframe (unlikely?).

Out of scope for this PR: navigation/buttons etc.

Oh yay we have the watermark

The CCS is copied wholesale

Links will open in a new tab.

Should this piece of content maybe say "Links here will open in a new tab" or something to make it clear that it's referring to this page itself, not what will happen in the final brief?

That's a good question. As part of the navigation improvement ticket I'm going to add functional test support which should pick up any big howlers, but the long term plan was to have a shared toolkit template for both pages (though of course that relies on the Buyer FE and Briefs FE having the same version of the toolkit). This page hasn't changed much in a while, but if we do any significant improvements as part of the FE upgrade then we'll have to keep a close eye on it.

Oh yes I remember you talking about this ... carry on.

Agree on the link content - I need to check the navigation content for the next ticket anyway, will make a note to review this as well.


i18n(ko-KR): update routing.mdx

Description (required)

update routing.mdx
#10370

Related issues & labels (optional)

Closes #
Suggested label:

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File
Note

ko/guides/routing.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


Fix encoding issues

I have started working on a GitHub version of JMapProjLib a few years ago and while picking up this work, I realized you have created a more popular fork in the meantime. Instead of working on my own separate version, I would like to participate in the evolution of this project here.
While setting up your project locally, I noticed some files were not properly UTF-8 encoded. Other platforms, including GitHub itself, have problems with this encoding, which is also visible in the rendering of the files and the diffs here on the GitHub website (see the diff of this PR as an example).
Also, four files contained dos-style line-endings, which is discouraged for files checked into Git (if you're working on Windows, git can be configured, also on a per-repository basis, to check in files with the recommended Unix line endings and check out using DOS line-endings on your machine. See
https://help.github.com/articles/dealing-with-line-endings for more information).
Those are the relevant files:

src/com/jhlabs/map/GeodeticPosition.java
src/com/jhlabs/map/proj/NZMGProjection.java
src/com/jhlabs/map/proj/SwissObliqueMercatorProjection.java
src/com/jhlabs/map/proj/UniversalTransverseMercatorProjection.java

It would be awesome if you accepted this pull request and try to configure your IDE and git to avoid these problems in the future. Thanks

I'm working on some improvements in other branches but will wait with pull requests on those because they contain the above commits, too:

Gradle buildsystem (in additon to Ant)
More features in GUI

The changes from this seem to already be in master, since a local merge from this branch into master resulted in no changes.

You should probably just fork this project, at this point.  Seems to be abandoned.


BCP073 thrown for properties in resourceDerivedTypes

Bicep version
last worked in 0.29.47
broken since 0.30.3
Describe the bug
We use the experimental resourceDerivedTypes feature and the new bicep versions are breaking our setup.
We have this parameter defined in a module:
param siteProperties<EMAIL_ADDRESS>= {
  clientAffinityEnabled: false
  clientCertEnabled: true
  clientCertMode: 'OptionalInteractiveUser'
  httpsOnly: true
}

In the module there are no warnings or exceptions. But in the file that is using this module we see exceptions, like this:
The property "inProgressOperationId" is read-only. Expressions cannot be assigned to read-only properties. bicep (BCP073)

To Reproduce
Create 2 modules;
Enable Experimental Feature in bicepconfig.json
    "experimentalFeaturesEnabled": {
        "resourceDerivedTypes": true
    }

Module 1, parameter with a set of default options:
param siteProperties<EMAIL_ADDRESS>= {
  clientAffinityEnabled: false
  clientCertEnabled: true
  clientCertMode: 'OptionalInteractiveUser'
  httpsOnly: true
}

resource appService 'Microsoft.Web/sites@2022-09-01' = {
  name: appServiceName
  location: location
  tags: tags
  kind: kind
  identity: {
    type: 'SystemAssigned'
  }
  properties: union({
    serverFarmId: servicePlanId},
    siteProperties
  )

Module 2
@description('Site resource specific properties.')
param siteProperties<EMAIL_ADDRESS>

module appService 'module1.bicep' = {
  name: 'appService'
  params: {
    siteProperties: siteProperties
  }
}

First use bicep version 0.29.47, then update to 0.30.3 and you'll see the exceptions.

Bicep 0.30 included an update that performs deep type checking on values passed in as parameters, which has the unexpected side effect documented here. Resource-derived types (unlike standard user-defined types) can have read-only properties, which makes an assignment of type<EMAIL_ADDRESS>to a target of type<EMAIL_ADDRESS>raise some warning diagnostics.
One thing we could do here is skip the check that raises BCP073 on read-only properties of the assigned value. This make sense for the case of a resource-derived-typed parameter, since a parent module wouldn't be able to populate those read-only properties without raising its own BCP073 diagnostic.
But it would miss cases like this:
main.bicep
resource appService 'Microsoft.Web/sites@2022-09-01' = {...}

module mod 'mod.bicep' = {
  name: 'mod'
  params: {
    siteProperties: appService.properties
  }
}

mod.bicep
param siteProperties<EMAIL_ADDRESS>
resource appService 'Microsoft.Web/sites@2022-09-01' = {
  ...
  properties: siteProperties
}

since appService.properties is likely to have read-only properties populated since it's a return value from the RP. I expect RPs already have to handle this gracefully, though, since GET-modify-PUT is a pretty common pattern in imperative deployments.

If the RPs don't handle this gracefully, is it possible to detect if the property is read-only? Because in that case you can ignore or remove those properties. It will behave as expected because if you try to set a read-only property manually the BCP073 will be raised, and if you were referencing the resource as you do in your example, you don't intent to change those read-only properties.

Writeup for discussion: https://gist.github.com/jeskew/150611ca5280493e0f10d22823f86e67


Add correct paths for cri's systemd config files in CentOS.

Fixes #1378
Signed-off-by: George Goh<EMAIL_ADDRESS>

@georgegoh  looks like this needs a rebase

apply LGTM based on reviews


Fix group window layout with many buffs

Try to avoid group members moving up and down when they have many buffs that wrap to the second row

Make another widget just for special buffs and solve #283 too.


Combine documentation states that the Subscription protocol is class constrained

Im not sure if this is an issue in Apples documentation or implementation but according to the documentation it says "Subscriptions are class constrained because a Subscription has identity, defined by the moment in time a particular subscriber attached to a publisher." But according to the implementation it is not class constrained. I see two instances of a non class conformance to Subscription in OpenCombine one is SideEffectSubscription in Publishers.Autoconnect and the other is _EmptySubscription. I am not sure if I am missing something here but I was wondering what everyones thoughts are on this

Yeah, well, much of the documentation on Combine is misleading or just wrong. Like with multicast, where it says:

In contrast with multicast(subject:), this method produces a publisher that creates a separate Subject for each subscriber.

Subscription is not class-constrained in Combine as well.


HBASE-25754 StripeCompactionPolicy should support compacting cold reg…

…ions

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 27s
Docker mode activated.

Reported the test failure to https://issues.apache.org/jira/browse/HBASE-25774

You use StripeCompactionPolicy? Good, mind sharing some more information? Thanks.

Hi, @Apache9 , it's my pleasure to share these information.
We use StripeCompactionPolicy in almost all of our production clusters. And we let recently data in memstore flush to L0, limit stripe size to about 10G. Most of our regions are large than 50G, there even exist regions larger than 2T... StripeCompactionPolicy has no major compactions, and it can limit compactions in only L0 and one stripe files, and it can perform cells deletion in one stripe just like the major-compaction. The pressure of compactions is broken down. Though the total files count in a region maybe a little larger than normal compactions, because the files are organized as in mini-regions, it works well for most read requests.
And we also implemented a fast split and compact method based on StripeCompactionPolicy, practiced in all our production clusters, results show that split is very light weight and no need to perform read+write files compactions right after split. Details are in HBASE-25302, hope you have interest...
Thanks.

Thanks. If you do not mind, I plan to send the above comment to mailing list.

Of course, I'm glad to share these information. Thanks, @Apache9.


base5ck: Bump version to 0.2.0

In preparation for release add a changelog entry, bump the version, and update the lock files.

typo in commit log and branch name - I'll have another go.


Replace package rng-tools-debian with rng-tools5

How to categorize this PR?

/kind technical-debt
/area os
/os garden-linux
What this PR does / why we need it:
GCP and KVM features of Garden Linux install rng-tools-debian for gathering entropy from the hardware random generator provided by virtio-rng. As recommended in the package description of rng-tools-debian and rng-tools this PR changes the package to rng-tools5.
It also fixes the cosmetic issue of systemd complaining about a missing unit file as rng-tools-debian still uses Sys-V init-scripts, rng-tools5 uses native systemd units.
Also adds the rng-tools5 packages to AWS and Azure feature sets to allow for faster collection of entropy on those platforms.
Which issue(s) this PR fixes:
Fixes #291
Special notes for your reviewer:
Release note:

- rng-tools-debian replaced by rng-tools5 for KVM and GCP features
- added rng-tools5 to Azure and AWS features for faster entropy collection on those platforms

/ready


[BugFix] Fix backend number assert

What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes https://github.com/StarRocks/StarRocksTest/issues/464
Problem Summary(Required) ：

Backend number may be not continuous, so we cannot assert that be number is smaller than the size

run starrocks_fe_unittest

"Backend number may be not continuous, so we cannot assert that be number is smaller than the size"
backend numbers must be continuous,  may be some upper fragments finished early because of short-circuit.

"Backend number may be not continuous, so we cannot assert that be number is smaller than the size"
backend numbers must be continuous, may be some upper fragments finished early because of short-circuit.

yes, you're right

@Mergifyio backport branch-2.2

[FE PR Coverage check]
:disappointed: fail : 0 / 4 (00.00%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/qe/Coordinator.java
0
4
00.00%

[FE PR Coverage check]
:disappointed: fail : 0 / 4 (00.00%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/qe/Coordinator.java
0
4
00.00%


Android Navigation Component Stable Release 2.0.0

Describe the feature you'd like
Android navigation component stable v2.0.0 has released
Additional context
https://android-developers.googleblog.com/2019/03/android-jetpack-navigation-stable.html?linkId=64791391&m=1

@liveHarshit As suspected, we're using safe args the wrong way https://youtu.be/Y0Cs2MQxyIs

In this video, he is also talking to type-safe args. Sorry, I can not get it.

*she
Look at the way safe args are implemented in the video

I'd like to point out that the example she demonstrated in the video is using Actions for navigation, instead of destinations. Actions have a cleaner API of working with safe args, if I remember correctly.

Currently No actions are used . As far as I can see in the NavGraph. Also actions is the recommended way . Using actions should be done.
@haroldadmin  Don't know about saying Actions as cleaner API.

Yes they do have a cleaner API. I don't have to create a bundle, just pass in arguments to a function

@iamareebjamal I did raise the proposal to migrate the project to use Actions, however in the end it was decided that it would needlessly complicate our project.

Yes they do have a cleaner API. I don't have to create a bundle, just pass in arguments to a function

Yes, @haroldadmin You said that passing bundle is necessary, generated classes are only for type safety?

@liveHarshit Yep. Creating a bundle is necessary when you're not using actions. I use actions in one of my projects, and you don't have to deal with bundles that way. Under the hood everything uses bundles though. Actions just provide a layer of abstraction over them.

Look at the way safe args are implemented in the video

Get it, we are using it in a different way by passing bundles.
Here https://codelabs.developers.google.com/codelabs/android-navigation/#7 implemented in the same way as shown in the video.


added check for file name is not other than utf-8

What this PR does / why we need it:
other than utf-8 character not allowed
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

Code looks good. Please attach the screenshot of local test


[util] Document "d3d9.allowDirectBufferMapping" in dxvk.conf

I'm not sure if the description of the option is correct; I described it as best I could interpret it from past commits and current usage.

#2466 and #4132 make it seem kinda more complex and nuanced


pkg: update style field

Tachyons v5 will become a monorepo so this pull request is being closed, if the pull request is still relevant please open an pull request with the main repo https://github.com/tachyons-css/tachyons/ & link to this one.


dataframe summary is requested for the numpy import

Steps to Reproduce:

run

import pandas as pd
import numpy as np

pd.options.display.max_columns

# Create a dataframe with 20 columns
df = pd.DataFrame(
    np.random.randint(0, 100, size=(100, 20)), columns=list("ABCDEFGHIJKLMNOPQRST")
)
df.columns = [f'{col}_{"0"*(10-len(col))}' for col in df.columns]

print("original width", pd.options.display.width)
print("original max_columns", pd.options.display.max_columns)

print(df)

click the generate button to insert a copilot cell

:bug: the variable summary will be requested for the np variable
found with the debugger, but with https://github.com/microsoft/vscode-jupyter/pull/15495, this will show up as a warning in the logs

it actually just requests it for all variables


Copy from row selection checkbox is not copy the last column

Copy From line selection no copy last column
When I copy a full line using the line selection checkbox and I paste the data in an Excel File the last line is not pasted, but when I manually select all columns on a row and copy and paste the data, the data is copy correctly.

This is fixed in 5.2.2


'NoneType' object is not callable when building container with az acr build

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az acr build
Errors:
The command failed with an unexpected error. Here is the traceback:
'NoneType' object is not callable
Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 657, in execute
    raise ex
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 720, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 691, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/acr/build.py", line 109, in acr_build
    variant=platform_variant
TypeError: 'NoneType' object is not callable

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az acr build --image {} --registry {} --resource-group {} --file {} {}

Expected Behavior
Environment Summary
Linux-5.4.0-1055-azure-x86_64-with-debian-10.2 (Cloud Shell)
Python 3.6.10
Installer: DEB

azure-cli 2.26.0 *

Extensions:
interactive 0.4.5
ai-examples 0.2.5
ssh 0.1.5

Additional Context

route to service team

Thanks for reporting it and sorry for the inconvenience.
2.26.1 has been released to address the issue.
https://docs.microsoft.com/en-us/cli/azure/release-notes-azure-cli?tabs=azure-cli

Thank you @northtyphoon , I will try and see if it's fixed once new az cli version will be upgraded on the cloud shell. Looks like I cannot upgrade manually:

@Piotr1215 Hi, the CLI latest version will be updated at 08-03 on Cloud Shell, can this date meet your expectations?

Hi @zhoxing-ms , absolutely, thank you for a very quick patch. I will close the issue now and if the problem happens after the patch, I will open a new one.

Please update the AZURE CLOUD SHELL before 8-03.  This has stopped the entire lab here for the past 2 weeks.

@mabrahamdevops Since Cloud Shell is deployed according to a certain period, and the next release time happens to be 08-03, we will pull the latest version 2.27.0 (including the fixes in version 2.26.1), so we generally do not continuously release new versions at such a short interval
For this, I provide a workaround for your reference. Maybe you can use the reference this document doc link to install the latest CLI in Cloud Shell.

The only workaround I found to make this work for me, was though a virtual environment in python
python -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install azure-cli

The Instructions here just reinstalled 2.26.0

I can confirm that the bug was resolved with the latest version

The image can be built successfully.


additional AddValidationKeys signatures to reflect AddValidationKey

I would like to add ValidationKeys (probably the past Token Signing Key, he current Token Signing Key, and the upcoming, future Token Signing Key) in order to support key roll-over.
While I can add a single Validation Key from a X509Certificate2, the method AddValidationsKeys currently support only AsymmetricSecurityKey[].
I would propose to make the API methods
AddSigningCredential
AddValidationKey
AddValidationKeys
symmetric, so they are easier to use.
Please find the list of missing signatures below:
`public static IIdentityServerBuilder AddValidationKeys(this IIdentityServerBuilder builder, params SigningCredentials[] credentials)
public static IIdentityServerBuilder AddValidationKeys(this IIdentityServerBuilder builder, params X509Certificate2[] certificates)
public static IIdentityServerBuilder AddValidationKeys(this IIdentityServerBuilder builder, params CertificateSearchOption[] searchOptions) with
public class CertificateSearchOption
{
public string Name { get; set; }
public StoreLocation Location { get; set; ] = StoreLocation.LocalMachine;
public NameType NameType { get; set; } = NameType.SubjectDistinguishedName
}
public static IIdentityServerBuilder AddValidationKeys(this IIdentityServerBuilder builder, params RsaSecurityKey[] rsaKeys)
public static IIdentityServerBuilder AddValidationKey(this IIdentityServerBuilder builder, SigningCredentials credential)
public static IIdentityServerBuilder AddValidationKey(this IIdentityServerBuilder builder, RsaSecurityKey rsaKey)
public static IIdentityServerBuilder AddValidationKey(this IIdentityServerBuilder builder, AsymmetricSecurityKey key)`

you know that you can simply create an X509SecurityKey by passing in the cert?

Sorry, I just read up the AddValidationKey methods in the code, and of course, I can return AsymmetricSecurityKey[] from my IEnumerable by creating a X509SecurityKey for each certificate and casting this to AsymmetricSecurityKey.
In my opinion, public static IIdentityServerBuilder AddValidationKeys(this IIdentityServerBuilder builder, params X509Certificate2[] certificates) would still have made my life easier.

Feel free to do a PR to get signatue parity between the two..

Would love to do so, but can't push my local branch to your repository. Any guides for this?

If you're willing to submit a PR before Friday June 12 2019, then we can get this into our next release.

I've send you a patch file as I am not able to create a PR for this.
Hope this is sufficient.
Kind Regards
Stephan

In the UI here in github, for each file in the source there's an edit button on the top right. You can use that to submit a PR.


php array sort is not equal

<?php
    $str = [1,2,11,23,12,3];
    sort($str, SORT_STRING);
    var_dump($str);
?>

echo 1 11 12 2 23 3
var a = [1,2,11,23,12,3];
phpArray.sort(a, 'SORT_STRING');
console.log(a);

console [ 23, 12, 11, 3, 2, 1 ]
and if params is 'SORT_LOCALE_STRING' will throw an Error
TypeError: Cannot read property 'en_US_POSIX' of undefined

I just pushed a commit that fixes the SORT_STRING. The code used strnatcmp instead of simple string comparison.
I will deal with the second issue asap.

The issue with SORT_LOCALE_STRING is now also fixed. It will be available once @kvz makes a release.


Local settings.xml results current folder used as repository

For a reason, we have a valid settings.xml file under our project root folder. This file is not intended to be used by Maven when building and it is only meant to be packed into a container.
It seems mvnd will by default use that file, treat the folder where this file sits as maven repository root, and download artifacts to the folder. Is this an intended behaviour? Plain maven does not seem to be bothered by the existence of this file.

Tried using mvnd -s .../.m2/settings.xml, mvn -gs .../.m2/settings.xml and mvn -Dmaven.settings=.../.m2/settings.xml. But none of them works and the one in current folder is still being picked up.
Also tried making the settings.xml in the project root folder malformed, and that broke the build, which means it is indeed picked up.

I think this is caused by https://github.com/apache/maven-mvnd/pull/573

@gnodet Thanks for the info. Do you mean it's caused by changes made in #573?

@gnodet Thanks for the info. Do you mean it's caused by changes made in #573?

No, I meant it's the same issue. This should already be fixed in the master branch if you can build it and give it a try to confirm, that would be awesome !

Aha, I see. I will give it a try later.

@gnodet I can confirm that the build from main branch fixes this issue. Thanks for the help! I'm closing this.


HERE routing network ignores some prohibitions

Our HERE data routing network is having a couple of strange problems:

When we alter the restriction that is applied to “Avoid Unpaved Roads”, the resultant route responds appropriately.

When we alter the restriction that is applied to “Through Traffic Prohibited”, the resultant route responds appropriately.

When we alter the restriction that is applied to “Avoid Private Roads”, the resultant route ignores the restriction.

When we alter the restriction that is applied to “Avoid Gates”, the resultant route ignores the restriction.

Why do some of the categories seem to not work?

I apologize that we never responded to this question.
There doesn't seem to be enough information here for me to fully understand or answer the question.  What do you mean by "alter the restriction"?  Do you still need help with this problem?

It's been three months, and there has been no response on this issue, so I'm closing it.  If you're still having problems, feel free to re-open.


I found a broken link

from https://github.com/docker/for-win/issues/new
clicked on link in issue template:  https://docs.docker.com/docker-for-win/troubleshoot

Hi, @davidwmartines , the link you say is broken is not referenced in the docs. From the docker.github.io repo, this command ... grep -ri --include=".*.md" "docker-for-win/troubleshoot" ... yields no results.
Please provide more info if you still believe there is broken link.


Completely untested. Fix Localytics screen tracking using events. Should use dedicated screen tracking method instead.

didShowNewPageView is not actually ever called. didShowNewPageView:withProperties: is called, but LocalyticsProvider does not implement it, so a normal event is triggered in ARAnalyticalProvider instead.
Completely untested.

Any chance you can do a quick find in project to see if other providers have the same problem?

At a glance, potentially SnowPlow, UMeng. Providers that did not override or call the "designated method" might have the same issue: https://github.com/orta/ARAnalytics/search?utf8=✓&q=didShowNewPageView%3ApageTitle+{&type=Code

OK, gonna call this PR as closed - happy to have it resubmitted 👍


added parent set selection

-----ISSUES-----
My PARENT_PATH variable disappeared twice because:

i cloned repository to other device
i changed default name of parent set directory from store to redux

-----PROBLEM-----
then there is no option to set PARENT_PATH again once you loose it, and you see a message Parent set not found.
-----PROPOSED SOLUTION-----
Because the "Create Set" is the only command making change in parent .state.dart file, i added option inside it to reselect parent set file in given directory.
-----DOUBTS-----
User can select incorrect .state.dart file because of for ex. miss click. Meaby its good idea to create a comand in Command Palette to rescan whole file tree and give on option to choose a parent.

Thanks for contribution in this extension.
If any new features you want or issues feel free to raise.


add(sepolia): migration resources [WIP]

What :computer:
Updates for

Sepolia RPC urls
Verification URL
Block Explorer URL
Goerli to Sepolia migration

Why :hand:

We're migrating to Sepolia testnet

Evidence :camera:
Include screenshots, screen recordings, or console output here demonstrating that your changes work as intended

Notes :memo:

Any notes/thoughts that the reviewers should know prior to reviewing the code?

@AlbionaHoti please run prettier command to address linting issues.


Updated links to exchanges to the direct URL for the NAV pair where possible

Description
I've changed the URLs of the exchanges to point to directly point to the page where one can trade NAV.
Issues Resolved
none
Preview Links
Paste the preview links where the changes can be viewed on the netlify deploy preview (you'll need to add these after the PR is made and the preview is deployed).
eg. https://deploy-preview-205--navcoin.netlify.com/en/buy-navcoin
The preview can be found on the pull request once it's made by clicking show all checks > details.
Checklist

[x] Have you assigned/claimed the issues you've resolved in this pull request?
[x] Have the issues been moved to the QA column of the Navcoin Websites project?
[x] Have you checked there are no merge conflicts?
[x] Have you tested the changes work across both mobile and desktop?

What I've also seen is, that the big tier 1 exchanges like Binance are far down in the list. I imagine this is by design at the moment so that the decentralized exchanges are shown first, but wouldn't it also make sense to have the big "trustworthy" and known exchanges at the top?

We're showing Binance, Bittrex and PancakeSwap (biggest exchanges by volume) on the get-started page for this reason, but when taking a closer look at the list of exchanges, we've decided to highlight exchanges that doesn't require KYC.

Closing this as linking to the exchange itself, rather than a specific trading pair, is by design (linking to an individual trading pair is not a scalable structure).


knative-operator crashes with SIGSEGV, k3s v1.21.5

Describe the bug
knative-operator crashes with a segmentation fault shortly after the lease-election phase of its lifecycle
Expected behavior
knative-operator would not crash.
To Reproduce
Install knative-operator by applying the operator.yaml file.
Knative release version
knative-operator image gcr.io/knative-releases/knative.dev/operator/cmd/operator@sha256:2a3d5775443ab4a49cf8d5dc89f34585aa324ac8be64285e2d3d0ff5f962ac8a
Additional context
This is a k3s environment running 1.21.5+k3s2 -- I'm not sure if there's some functionality in knative that requires >=1.22?
Log snippet of crash text:
{"severity":"WARNING","timestamp":"2022-02-22T18:51:47.939251125Z","logger":"knative-operator","caller":"logging/warning_handler.go:32","message":"API Warning: policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget","knative.dev/pod":"knative-operator-7b8c4857bb-w6khx"}
{"severity":"INFO","timestamp":"2022-02-22T18:51:47.94041132Z","logger":"knative-operator.manifestival","caller":"manifestival@v0.7.1/manifestival.go:145","message":"Merging","knative.dev/pod":"knative-operator-7b8c4857bb-w6khx","diff":"{\"spec\":{\"selector\":{\"matchLabels\":{\"app\":\"eventing-webhook\"}}}}"}
{"severity":"INFO","timestamp":"2022-02-22T18:51:47.941195358Z","logger":"knative-operator.manifestival","caller":"manifestival@v0.7.1/manifestival.go:207","message":"Updating","knative.dev/pod":"knative-operator-7b8c4857bb-w6khx","name":"knative-eventing/eventing-webhook","type":"policy/v1beta1, Kind=PodDisruptionBudget"}
{"severity":"WARNING","timestamp":"2022-02-22T18:51:48.015769908Z","logger":"knative-operator","caller":"logging/warning_handler.go:32","message":"API Warning: policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget","knative.dev/pod":"knative-operator-7b8c4857bb-w6khx"}
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1162cb8]

goroutine 564 [running]:
k8s.io/apimachinery/pkg/apis/meta/v1/unstructured.(*Unstructured).GetKind(...)
        k8s.io/apimachinery@v0.22.5/pkg/apis/meta/v1/unstructured/unstructured.go:226
github.com/manifestival/manifestival.okToDelete(0x0)
        github.com/manifestival/manifestival@v0.7.1/manifestival.go:234 +0x38
github.com/manifestival/manifestival.Manifest.delete({{0xc0004c9000, 0x34, 0x40}, {0x1ccb2b0, 0xc000146dc0}, {{0x1cebe20, 0xc0007adb90}, 0x0}}, 0x1ccb2b0, {0x0, ...})
        github.com/manifestival/manifestival@v0.7.1/manifestival.go:179 +0xae
github.com/manifestival/manifestival.Manifest.Delete({{0xc0004c9000, 0x34, 0x40}, {0x1ccb2b0, 0xc000146dc0}, {{0x1cebe20, 0xc0007adb90}, 0x0}}, {0x0, 0x0, ...})
        github.com/manifestival/manifestival@v0.7.1/manifestival.go:116 +0x1e5
knative.dev/operator/pkg/reconciler/common.Uninstall(0xc000e7dc00)
        knative.dev/operator/pkg/reconciler/common/install.go:76 +0x278
knative.dev/operator/pkg/reconciler/knativeserving.(*Reconciler).FinalizeKind(0xc0001c00e0, {0x1ccb198, 0xc000eda690}, 0xc000ea4fc0)
        knative.dev/operator/pkg/reconciler/knativeserving/knativeserving.go:86 +0x365
knative.dev/operator/pkg/client/injection/reconciler/operator/v1alpha1/knativeserving.(*reconcilerImpl).Reconcile(0xc0004d4aa0, {0x1ccb198, 0xc000eda660}, {0xc0008013e0, 0x1f})
        knative.dev/operator/pkg/client/injection/reconciler/operator/v1alpha1/knativeserving/reconciler.go:240 +0x518
knative.dev/pkg/controller.(*Impl).processNextWorkItem(0xc0008418c0)
        knative.dev/pkg@v0.0.0-20220217155112-d48172451966/controller/controller.go:542 +0x5a5
knative.dev/pkg/controller.(*Impl).RunContext.func3()
        knative.dev/pkg@v0.0.0-20220217155112-d48172451966/controller/controller.go:478 +0x68
created by knative.dev/pkg/controller.(*Impl).RunContext
        knative.dev/pkg@v0.0.0-20220217155112-d48172451966/controller/controller.go:476 +0x2de

@PeterGrace Am I able to produce this issue on ANY kubernetes 1.21.5? I do not have k3s with me.

@jcrossley3 Could you check on this issue? Thx.

@PeterGrace Am I able to produce this issue on ANY kubernetes 1.21.5? I do not have k3s with me.
I would assume so as this looks to be a container problem rather than a kubernetes scheduling issue -- the only other interesting tidbit is the fact that k3s uses containerd instead of docker, which might affect things but not sure about that.

@PeterGrace Are you installing operator.yaml 1.2.0?

@PeterGrace Are you installing operator.yaml 1.2.0? Did u NOT apply any CR? Only installing the operator.yaml?

I am installing via operator.yaml  release v1.2.1.  I see the operator.yaml contains CRD's.  I assume these are expected?

If by any chance u can use 1.22 kube, does the issue disappear? Can u verify on this?

Not immediately, I'd have to coordinate a cluster upgrade for that.

I have faced same problem after upgrade to kubernetes v1.23.4

@darkstarmv What is the knative operator version you are using?
I am using 1.23.3 Kube and install knative operator 1.2, it worked fine.

I am seeing the same stacktrace with operator 1.3.0 (specifically: gcr.io/knative-releases/knative.dev/operator/cmd/operator@sha256:a1bb612a75386c491b3739a2bf3c04a8e1f6710548e780941f8fe08b912905ae) running on an RPi4 cluster on Talos 1.0 with k8s v1.23.5.

This might be an entirely separate issue, but it might not be... I used fluxcd to deploy the operator, and flux and the knative-operator (I presume) are constantly rewriting ClusterRole/knative-serrving-operator-aggregated (and the corresponding eventing cluster role). What's curious is that the .spec of these manifests is being rewritten to null (by which of knative-operator and kustomize-controller is hard to tell, but I'm pretty sure kustomize-controller is repopulating the manifests).

Knative operator is now on the release of 1.6.
Min Kubernetes requirement is 1.22.
Plz upgrade your cluster accordingly.
Close this issue for now.

I´m facing the same issue running operator 1.8.2 and k8s 1.23.13
I0227 16:10:41.259700       1 leaderelection.go:258] successfully acquired lease knative-operator/knative-operator.knative.dev.operator.pkg.reconciler.knativeeventing.reconciler.00-of-01
{"severity":"INFO","timestamp":"2023-02-27T16:10:41.259838436Z","logger":"knative-operator","caller":"leaderelection/context.go:158","message":"\"knative-operator-6fcf68c849-7zk7k_fdbf704e-2bd6-472a-9f78-bb8616db5035\" has started leading \"knative-operator.knative.dev.operator.pkg.reconciler.knativeeventing.reconciler.00-of-01\"","commit":"b339284-dirty","knative.dev/pod":"knative-operator-6fcf68c849-7zk7k"}
I0227 16:10:43.580469       1 leaderelection.go:258] successfully acquired lease knative-operator/knative-operator.knative.dev.operator.pkg.reconciler.knativeserving.reconciler.00-of-01
{"severity":"INFO","timestamp":"2023-02-27T16:10:43.580616994Z","logger":"knative-operator","caller":"leaderelection/context.go:158","message":"\"knative-operator-6fcf68c849-7zk7k_8a209c28-1a04-4b78-8737-6b0ea453a0f3\" has started leading \"knative-operator.knative.dev.operator.pkg.reconciler.knativeserving.reconciler.00-of-01\"","commit":"b339284-dirty","knative.dev/pod":"knative-operator-6fcf68c849-7zk7k"}
{"severity":"INFO","timestamp":"2023-02-27T16:10:43.585615863Z","logger":"knative-operator","caller":"knativeserving/knativeserving.go:81","message":"Deleting cluster-scoped resources","commit":"b339284-dirty","knative.dev/pod":"knative-operator-6fcf68c849-7zk7k","knative.dev/controller":"knative.dev.operator.pkg.reconciler.knativeserving.Reconciler","knative.dev/kind":"operator.knative.dev.KnativeServing","knative.dev/traceid":"cbf2ec3c-000b-4c76-9619-17eaf9e0146d","knative.dev/key":"knative-serving/knative-serving"}
{"severity":"INFO","timestamp":"2023-02-27T16:10:43.673359004Z","logger":"knative-operator","caller":"common/config_maps.go:57","message":"Setting","commit":"b339284-dirty","knative.dev/pod":"knative-operator-6fcf68c849-7zk7k","knative.dev/controller":"knative.dev.operator.pkg.reconciler.knativeserving.Reconciler","knative.dev/kind":"operator.knative.dev.KnativeServing","knative.dev/traceid":"cbf2ec3c-000b-4c76-9619-17eaf9e0146d","knative.dev/key":"knative-serving/knative-serving","map":"config-features","kubernetes.podspec-nodeselector":"enabled"}
{"severity":"INFO","timestamp":"2023-02-27T16:10:43.673433167Z","logger":"knative-operator","caller":"common/config_maps.go:57","message":"Setting","commit":"b339284-dirty","knative.dev/pod":"knative-operator-6fcf68c849-7zk7k","knative.dev/controller":"knative.dev.operator.pkg.reconciler.knativeserving.Reconciler","knative.dev/kind":"operator.knative.dev.KnativeServing","knative.dev/traceid":"cbf2ec3c-000b-4c76-9619-17eaf9e0146d","knative.dev/key":"knative-serving/knative-serving","map":"config-features","kubernetes.podspec-tolerations":"enabled"}
{"severity":"INFO","timestamp":"2023-02-27T16:10:43.673490393Z","logger":"knative-operator","caller":"common/config_maps.go:57","message":"Setting","commit":"b339284-dirty","knative.dev/pod":"knative-operator-6fcf68c849-7zk7k","knative.dev/controller":"knative.dev.operator.pkg.reconciler.knativeserving.Reconciler","knative.dev/kind":"operator.knative.dev.KnativeServing","knative.dev/traceid":"cbf2ec3c-000b-4c76-9619-17eaf9e0146d","knative.dev/key":"knative-serving/knative-serving","map":"config-gc","min-non-active-revisions":"0"}
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x11fd498]

goroutine 427 [running]:
k8s.io/apimachinery/pkg/apis/meta/v1/unstructured.(*Unstructured).GetKind(...)
    k8s.io/apimachinery@v0.25.2/pkg/apis/meta/v1/unstructured/unstructured.go:226
github.com/manifestival/manifestival.okToDelete(0x0)
    github.com/manifestival/manifestival@v0.7.1/manifestival.go:234 +0x38
github.com/manifestival/manifestival.Manifest.delete({{0xc0013f6200, 0x36, 0x40}, {0x1f7d350, 0xc00052f680}, {{0x1f801a8, 0xc00086db90}, 0x0}}, 0x1f7d350?, {0x0, ...})
    github.com/manifestival/manifestival@v0.7.1/manifestival.go:179 +0xae
github.com/manifestival/manifestival.Manifest.Delete({{0xc0013f6200, 0x36, 0x40}, {0x1f7d350, 0xc00052f680}, {{0x1f801a8, 0xc00086db90}, 0x0}}, {0x0, 0x0, ...})
    github.com/manifestival/manifestival@v0.7.1/manifestival.go:116 +0x1e5
knative.dev/operator/pkg/reconciler/common.Uninstall(0xc000b9ddc0)
    knative.dev/operator/pkg/reconciler/common/install.go:77 +0x278
knative.dev/operator/pkg/reconciler/knativeserving.(*Reconciler).FinalizeKind(0xc00053c540, {0x1f7d238, 0xc000c1c7b0}, 0xc00042cea0?)
    knative.dev/operator/pkg/reconciler/knativeserving/knativeserving.go:92 +0x378
knative.dev/operator/pkg/client/injection/reconciler/operator/v1beta1/knativeserving.(*reconcilerImpl).Reconcile(0xc0000ff2c0, {0x1f7d238, 0xc000c1c780}, {0xc000576940, 0x1f})
    knative.dev/operator/pkg/client/injection/reconciler/operator/v1beta1/knativeserving/reconciler.go:240 +0x3fe
knative.dev/pkg/controller.(*Impl).processNextWorkItem(0xc00082c600)
    knative.dev/pkg@v0.0.0-20221014164553-b812affa3893/controller/controller.go:542 +0x58d
knative.dev/pkg/controller.(*Impl).RunContext.func3()
    knative.dev/pkg@v0.0.0-20221014164553-b812affa3893/controller/controller.go:491 +0x68
created by knative.dev/pkg/controller.(*Impl).RunContext
    knative.dev/pkg@v0.0.0-20221014164553-b812affa3893/controller/controller.go:489 +0x312

/reopen


project test case 2

Summary
Put a summary of the question
Description
Getting this odd output on the second test case, managed to pass all the rest of the given outputs on codecrunch.
Screenshots (if any):

Customer may not be seeing the most up to date server list
Also make sure your server rests at the Done event

For your customer 10's Wait Event at 9.160, a Serve Event at 10.536 is returned as Server 1's next available time is either not yet updated or the if statement condition in WaitEvent did not check for this. A new Wait Event should have been returned instead which then again checks for the condition and return a Serve Event at 10.781 (which is what Server 1's next available time should have been if updated correctly). Your error most likely is in Wait Event (the condition to return what next event)
or in Serve Event where you did not update server list with the correct times.

How does your wait event check decide how to return a new Serve event?
Currently, the wait event seems to have checked that the next time available is 10.536 and to return a new Serve event from that.
Also do check that when you take 9 out of the waiting list, the timing gets updated as well.

customer 10 is being served even though the server is not actually free, you can try to check if you are using the most updated server queues for all the events, and how you are updating them


Can't put a cooldown on breaking double plants

*Description of issue:
When destroying a double plant by its top, you can bypass the restrictedBlocks.yml cooldown, because it doesn't recognise that you've placed the plant, as you've placed it from the bottom.
So I can't put the double plants in the job I want, because people can abuse it and spam left-click / right-click to earn money as there's no cooldown when you break it by the top.
(not sure if I'm totally clear, if you didn't understand send me a comment)
Server Type (Spigot/Paperspigot/etc):
Spigot
Server Version (using /ver):
1.12.2

This works in the latest versions. Just make sure you have enabled PlaceAndBreakProtection option in generalConfig and added the ID of the tall_grass to the restricted_blocks file.


AJ-719: Create PRs in Cromwhelm with automerge label

ready to test
AJ-55: this is merely a test
create new branch fix up warnings
AJ-99: just a test
AJ-99: just another test

While we are bumping v2 to v3 in some of the Github Actions steps in this PR, should we also just bump:
https://github.com/DataBiosphere/terra-workspace-data-service/blob/main/.github/workflows/build-and-test.yml#L16
https://github.com/DataBiosphere/terra-workspace-data-service/blob/main/.github/workflows/build-and-test.yml#L53
https://github.com/DataBiosphere/terra-workspace-data-service/blob/main/.github/workflows/release-python-client.yml#L26


[CSMC] Case where random variable is unknown and belongs to a different sampler

Currently in CSMC if an assume statement is encountered with a random variable that doest not belongs to this CSMC's space (should not be updated) we get en error. Indeed since we have the following
assume{T<:Union{PG,SMC}}(...) = begin
...
else # !( isempty(spl.alg.space) || vn.sym in spl.alg.space)
  vi[vn] # yields error
end

We can fix that by checking whether that random variable exists, and if not sample it from its prior and push it to VarInfo with a gid=-1 (which will be updated once resampled from its sampler), as follows
assume{T<:Union{PG,SMC}}(...) = begin
...
else # !( isempty(spl.alg.space) || vn.sym in spl.alg.space)
    if haskey(vi, vn)
      vi[vn]
    else
      r = rand(dist)
      push!(vi, vn, r, dist, -1)
      r
    end
end

For BNP mixture models, that would allow to sample new clusters (atoms' location and weight) in the particle-based method update (CSMC within a Gibbs or SMC within a pseudo-marginal method).

@yebai do you have any thought on this ?

I think you fix will work. But it seems that we need a more organized way to fix this along with https://github.com/yebai/Turing.jl/issues/367?

@xukai92 i think this is orthogonal of #367.
Will gid=-1 be an issue ? Or maybe we could try to get the right gid by looking at sub_alg's spaces. ?

PR: https://github.com/yebai/Turing.jl/pull/384

Or maybe we could try to get the right gid by looking at sub_alg's spaces. ?

Yes, let's do what you proposed but we need a robust mechanism for mapping model variables to samplers. Ideally, if a new variable is created, we should be able to look up its sampler immediately instead of setting gid = -1. I will propose a method of solving this problem in #367.

Should we close this issue ? Or should we first have a more robust way than setting gid = -1 ?

I've moved the leftover issue to a separate thread. Let's close this issue now.

Eventually I set gid=0 in that case others updategid didn't update anything. This has been pushed in master.


Shape aware functional

This adds a wrapper around Functional to appropriately transform q-functions to reflect a shape displacement field. See documentation here: https://serac.readthedocs.io/en/feature-bramwell-shape_aware_functional/sphinx/dev_guide/functional.html#shape-aware-functional

Codecov Report
Attention: 33 lines in your changes are missing coverage. Please review.

Comparison is base (4bc2eda) 88.83% compared to head (794467b) 88.67%.

Files
Patch %
Lines

...rac/numerics/functional/shape_aware_functional.hpp
35.41%
31 Missing :warning:

...merics/functional/tests/shape_aware_functional.cpp
93.75%
2 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1059      +/-   ##
===========================================
- Coverage    88.83%   88.67%   -0.16%
===========================================
  Files          153      155       +2
  Lines        12344    12426      +82
===========================================
+ Hits         10966    11019      +53
- Misses        1378     1407      +29

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

I still need to clean up this PR and add some docs, but the tests all pass with HeatTransfer and SolidMechanics using the new ShapeAwareFunctional objects.

A few items in my last commit:

I moved the Jacobian calculations into a separate struct so they now only occur once per quadrature point (thanks to @samuelpmishLLNL  for pointing this out).
I removed the SFINAE in favor of constexpr if statements.
I added HCURL transformations and removed the static asserts.

Any other thoughts on this PR? Particularly @kswartz92 and @barreracruz since you will likely be the ones using it. There is an example of what the code would look like in the docs here: https://serac.readthedocs.io/en/feature-bramwell-shape_aware_functional/sphinx/dev_guide/functional.html#shape-aware-functional

Thank you for including the write-up. I think you don't need a parameter argument when you compute serac_volume and serac_area in the examples. Is this correct? Also, is there a reason behind defining the shape space as order 2?

Any other thoughts on this PR? Particularly @kswartz92 and @barreracruz since you will likely be the ones using it. There is an example of what the code would look like in the docs here: https://serac.readthedocs.io/en/feature-bramwell-shape_aware_functional/sphinx/dev_guide/functional.html#shape-aware-functional

From a high level this looks good to me. I don't have an immediate need, but at some point it might make sense to allow different shape orders in the physics (hard-coded to linear at the moment).

Thank you for including the write-up. I think you don't need a parameter argument when you compute serac_volume and serac_area in the examples. Is this correct? Also, is there a reason behind defining the shape space as order 2?

Those examples are completely notional. I think it needs a parameter in the sense that the Functional interface requires some kind of trial function in the constructor.
There is no rationale behind a quadratic shape parameter. I just wanted something higher order to ensure that it works.


incremental processing

Hi there, I'm wondering what the thinking is on making this package incremental in nature.  Is this a realistic endeavour?  To what extend will it scale to re-compute the consolidated tables and views with every run?  I'm wondering what the experiences are so far and if someone has operated this at scale?
many thanks,
Christoph.

@leinemann thanks for the question. This package does not have any incremental logic built in, however I'm curious to understand your experience.  A few questions for you:

How long does a full run take you?
Which ad sources are you using?
How many records are in your final model?
Which warehouse are you using?

@fivetran-kristin we are using snowflake and our runs are currently brief, working on small datasets and we are using facebook, linkedin, googleads, bingads.
So my question was more of forward-looking nature.  How will the model perform after 2 years worth of data and a significant marketing spend?  What is the cost I'm accumulating in additional warehouse compute spend as opposed to only processing increments?   I'm new to dbt and I was wondering what would be the level of effort of making the processing incremental, if that is even possible or whether there are certain elements that are difficult or can't be computed incrementally.

@leinemann great to meet you last week.  As discussed, here are some logs that will help you better understand the processing time this package can take in the future after you've spent significant amounts in marketing spend.  This run is in BigQuery, but a data point nonetheless. Running the full package, without incremental materialization, is < 1 min.
As your company scales, let's revisit incorporating the incremental logic if you find that this package is taking a long time to run.  Until then, I'll close this issue out.  Thanks!
16:32:31 | Concurrency: 4 threads (target='bigquery')
16:32:31 |
16:32:31 | 1 of 77 START view model dbt_kristin.stg_facebook_ads__creative_history_tmp [RUN]
16:32:31 | 2 of 77 START view model dbt_kristin.stg_facebook_ads__account_history_tmp [RUN]
16:32:31 | 3 of 77 START view model dbt_kristin.stg_facebook_ads__ad_history_tmp [RUN]
16:32:31 | 4 of 77 START view model dbt_kristin.stg_facebook_ads__ad_set_history_tmp [RUN]
16:32:32 | 2 of 77 OK created view model dbt_kristin.stg_facebook_ads__account_history_tmp [OK in 0.76s]
16:32:32 | 5 of 77 START view model dbt_kristin.stg_facebook_ads__basic_ad_tmp.. [RUN]
16:32:32 | 3 of 77 OK created view model dbt_kristin.stg_facebook_ads__ad_history_tmp [OK in 0.86s]
16:32:32 | 6 of 77 START view model dbt_kristin.stg_facebook_ads__campaign_history_tmp [RUN]
16:32:32 | 4 of 77 OK created view model dbt_kristin.stg_facebook_ads__ad_set_history_tmp [OK in 0.94s]
16:32:32 | 7 of 77 START view model dbt_kristin.stg_linkedin__account_history_tmp [RUN]
16:32:32 | 1 of 77 OK created view model dbt_kristin.stg_facebook_ads__creative_history_tmp [OK in 1.38s]
16:32:32 | 8 of 77 START view model dbt_kristin.stg_linkedin__ad_analytics_by_creative_tmp [RUN]
16:32:32 | 5 of 77 OK created view model dbt_kristin.stg_facebook_ads__basic_ad_tmp [OK in 0.70s]
16:32:32 | 9 of 77 START view model dbt_kristin.stg_linkedin__campaign_group_history_tmp [RUN]
16:32:33 | 7 of 77 OK created view model dbt_kristin.stg_linkedin__account_history_tmp [OK in 0.63s]
16:32:33 | 10 of 77 START view model dbt_kristin.stg_linkedin__campaign_history_tmp [RUN]
16:32:33 | 6 of 77 OK created view model dbt_kristin.stg_facebook_ads__campaign_history_tmp [OK in 0.91s]
16:32:33 | 11 of 77 START view model dbt_kristin.stg_linkedin__creative_history_tmp [RUN]
16:32:33 | 8 of 77 OK created view model dbt_kristin.stg_linkedin__ad_analytics_by_creative_tmp [OK in 0.63s]
16:32:33 | 12 of 77 START table model dbt_kristin.stg_microsoft_ads__account_history [RUN]
16:32:33 | 9 of 77 OK created view model dbt_kristin.stg_linkedin__campaign_group_history_tmp [OK in 0.60s]
16:32:33 | 13 of 77 START table model dbt_kristin.stg_microsoft_ads__ad_group_history [RUN]
16:32:33 | 11 of 77 OK created view model dbt_kristin.stg_linkedin__creative_history_tmp [OK in 0.52s]
16:32:33 | 14 of 77 START table model dbt_kristin.stg_microsoft_ads__ad_history. [RUN]
16:32:33 | 10 of 77 OK created view model dbt_kristin.stg_linkedin__campaign_history_tmp [OK in 0.84s]
16:32:33 | 15 of 77 START table model dbt_kristin.stg_microsoft_ads__ad_performance_daily_report [RUN]
16:32:35 | 12 of 77 OK created table model dbt_kristin.stg_microsoft_ads__account_history [CREATE TABLE (1.0 rows, 26.0 Bytes processed) in 2.29s]
16:32:35 | 16 of 77 START table model dbt_kristin.stg_microsoft_ads__campaign_history [RUN]
16:32:35 | 13 of 77 OK created table model dbt_kristin.stg_microsoft_ads__ad_group_history [CREATE TABLE (90.0 rows, 3.3 KB processed) in 2.29s]
16:32:35 | 17 of 77 START view model dbt_kristin.stg_twitter_ads__account_history_tmp [RUN]
16:32:36 | 14 of 77 OK created table model dbt_kristin.stg_microsoft_ads__ad_history [CREATE TABLE (309.0 rows, 14.9 KB processed) in 2.46s]
16:32:36 | 18 of 77 START view model dbt_kristin.stg_twitter_ads__campaign_history_tmp [RUN]
16:32:36 | 15 of 77 OK created table model dbt_kristin.stg_microsoft_ads__ad_performance_daily_report [CREATE TABLE (17.7k rows, 1.2 MB processed) in 2.45s]
16:32:36 | 19 of 77 START view model dbt_kristin.stg_twitter_ads__line_item_history_tmp [RUN]
16:32:36 | 17 of 77 OK created view model dbt_kristin.stg_twitter_ads__account_history_tmp [OK in 0.78s]
16:32:36 | 20 of 77 START view model dbt_kristin.stg_twitter_ads__promoted_tweet_history_tmp [RUN]
16:32:37 | 18 of 77 OK created view model dbt_kristin.stg_twitter_ads__campaign_history_tmp [OK in 0.94s]
16:32:37 | 21 of 77 START view model dbt_kristin.stg_twitter_ads__promoted_tweet_report_tmp [RUN]
16:32:37 | 19 of 77 OK created view model dbt_kristin.stg_twitter_ads__line_item_history_tmp [OK in 0.90s]
16:32:37 | 22 of 77 START view model dbt_kristin.stg_twitter_ads__tweet_url_tmp. [RUN]
16:32:37 | 20 of 77 OK created view model dbt_kristin.stg_twitter_ads__promoted_tweet_history_tmp [OK in 0.87s]
16:32:37 | 23 of 77 START view model dbt_kristin.stg_google_ads__final_url_performance_tmp [RUN]
16:32:37 | 21 of 77 OK created view model dbt_kristin.stg_twitter_ads__promoted_tweet_report_tmp [OK in 0.63s]
16:32:37 | 24 of 77 START view model dbt_kristin.stg_google_ads__click_performance_tmp [RUN]
16:32:37 | 22 of 77 OK created view model dbt_kristin.stg_twitter_ads__tweet_url_tmp [OK in 0.65s]
16:32:37 | 25 of 77 START view model dbt_kristin.stg_google_ads__criteria_performance_tmp [RUN]
16:32:38 | 16 of 77 OK created table model dbt_kristin.stg_microsoft_ads__campaign_history [CREATE TABLE (21.0 rows, 1.0 KB processed) in 2.28s]
16:32:38 | 26 of 77 START table model dbt_kristin.utils__facebook_ads__numbers.. [RUN]
16:32:38 | 23 of 77 OK created view model dbt_kristin.stg_google_ads__final_url_performance_tmp [OK in 0.84s]
16:32:38 | 27 of 77 START table model dbt_kristin.stg_facebook_ads__account_history [RUN]
16:32:38 | 25 of 77 OK created view model dbt_kristin.stg_google_ads__criteria_performance_tmp [OK in 0.53s]
16:32:38 | 28 of 77 START table model dbt_kristin.stg_facebook_ads__ad_history.. [RUN]
16:32:38 | 24 of 77 OK created view model dbt_kristin.stg_google_ads__click_performance_tmp [OK in 0.85s]
16:32:38 | 29 of 77 START table model dbt_kristin.stg_facebook_ads__ad_set_history [RUN]
16:32:41 | 28 of 77 OK created table model dbt_kristin.stg_facebook_ads__ad_history [CREATE TABLE (2.8k rows, 169.7 KB processed) in 2.59s]
16:32:41 | 30 of 77 START table model dbt_kristin.stg_facebook_ads__creative_history [RUN]
16:32:41 | 29 of 77 OK created table model dbt_kristin.stg_facebook_ads__ad_set_history [CREATE TABLE (2.4k rows, 106.1 KB processed) in 2.45s]
16:32:41 | 27 of 77 OK created table model dbt_kristin.stg_facebook_ads__account_history [CREATE TABLE (568.0 rows, 14.4 KB processed) in 2.88s]
16:32:41 | 26 of 77 OK created table model dbt_kristin.utils__facebook_ads__numbers [CREATE TABLE (1.0k rows, 0.0 Bytes processed) in 3.30s]
16:32:41 | 31 of 77 START table model dbt_kristin.stg_facebook_ads__basic_ad.... [RUN]
16:32:41 | 32 of 77 START view model dbt_kristin.stg_linkedin__account_history.. [RUN]
16:32:41 | 33 of 77 START table model dbt_kristin.stg_facebook_ads__campaign_history [RUN]
16:32:42 | 32 of 77 OK created view model dbt_kristin.stg_linkedin__account_history [OK in 0.73s]
16:32:42 | 34 of 77 START view model dbt_kristin.stg_linkedin__ad_analytics_by_creative [RUN]
16:32:43 | 34 of 77 OK created view model dbt_kristin.stg_linkedin__ad_analytics_by_creative [OK in 1.16s]
16:32:43 | 35 of 77 START view model dbt_kristin.stg_linkedin__campaign_group_history [RUN]
16:32:43 | 33 of 77 OK created table model dbt_kristin.stg_facebook_ads__campaign_history [CREATE TABLE (1.9k rows, 166.2 KB processed) in 2.26s]
16:32:43 | 36 of 77 START view model dbt_kristin.stg_linkedin__creative_history. [RUN]
16:32:44 | 31 of 77 OK created table model dbt_kristin.stg_facebook_ads__basic_ad [CREATE TABLE (10.8k rows, 553.4 KB processed) in 2.66s]
16:32:44 | 37 of 77 START view model dbt_kristin.stg_linkedin__campaign_history. [RUN]
16:32:44 | 35 of 77 OK created view model dbt_kristin.stg_linkedin__campaign_group_history [OK in 0.81s]
16:32:44 | 38 of 77 START view model dbt_kristin.stg_twitter_ads__account_history [RUN]
16:32:45 | 36 of 77 OK created view model dbt_kristin.stg_linkedin__creative_history [OK in 1.11s]
16:32:45 | 39 of 77 START view model dbt_kristin.stg_twitter_ads__campaign_history [RUN]
16:32:45 | 37 of 77 OK created view model dbt_kristin.stg_linkedin__campaign_history [OK in 1.09s]
16:32:45 | 40 of 77 START view model dbt_kristin.stg_twitter_ads__line_item_history [RUN]
16:32:45 | 38 of 77 OK created view model dbt_kristin.stg_twitter_ads__account_history [OK in 1.13s]
16:32:45 | 41 of 77 START view model dbt_kristin.stg_twitter_ads__promoted_tweet_history [RUN]
16:32:45 | 39 of 77 OK created view model dbt_kristin.stg_twitter_ads__campaign_history [OK in 0.74s]
16:32:45 | 42 of 77 START view model dbt_kristin.stg_twitter_ads__promoted_tweet_report [RUN]
16:32:46 | 40 of 77 OK created view model dbt_kristin.stg_twitter_ads__line_item_history [OK in 0.97s]
16:32:46 | 43 of 77 START view model dbt_kristin.stg_twitter_ads__tweet_url..... [RUN]
16:32:46 | 41 of 77 OK created view model dbt_kristin.stg_twitter_ads__promoted_tweet_history [OK in 0.92s]
16:32:46 | 44 of 77 START table model dbt_kristin.microsoft_ads__ad_adapter..... [RUN]
16:32:46 | 42 of 77 OK created view model dbt_kristin.stg_twitter_ads__promoted_tweet_report [OK in 1.04s]
16:32:46 | 45 of 77 START table model dbt_kristin.stg_google_ads__final_url_performance [RUN]
16:32:47 | 30 of 77 OK created table model dbt_kristin.stg_facebook_ads__creative_history [CREATE TABLE (383.4k rows, 112.0 MB processed) in 6.14s]
16:32:47 | 46 of 77 START table model dbt_kristin.stg_google_ads__criteria_performance [RUN]
16:32:47 | 43 of 77 OK created view model dbt_kristin.stg_twitter_ads__tweet_url [OK in 0.97s]
16:32:47 | 47 of 77 START table model dbt_kristin.stg_google_ads__click_performance [RUN]
16:32:49 | 44 of 77 OK created table model dbt_kristin.microsoft_ads__ad_adapter [CREATE TABLE (2.9k rows, 1.1 MB processed) in 2.73s]
16:32:49 | 48 of 77 START table model dbt_kristin.linkedin__ad_adapter.......... [RUN]
16:32:51 | 45 of 77 OK created table model dbt_kristin.stg_google_ads__final_url_performance [CREATE TABLE (96.9k rows, 19.4 MB processed) in 4.35s]
16:32:51 | 49 of 77 START table model dbt_kristin.stg_facebook_ads__url_tag..... [RUN]
16:32:52 | 46 of 77 OK created table model dbt_kristin.stg_google_ads__criteria_performance [CREATE TABLE (272.9k rows, 51.2 MB processed) in 5.43s]
16:32:52 | 50 of 77 START table model dbt_kristin.int__facebook_ads__carousel_media_prep [RUN]
16:32:54 | 49 of 77 OK created table model dbt_kristin.stg_facebook_ads__url_tag [CREATE TABLE (163.7k rows, 23.7 MB processed) in 3.59s]
16:32:54 | 51 of 77 START table model dbt_kristin.stg_facebook_ads__app_link.... [RUN]
16:32:54 | 50 of 77 OK created table model dbt_kristin.int__facebook_ads__carousel_media_prep [CREATE TABLE (0.0 rows, 56.5 MB processed) in 2.36s]
16:32:54 | 52 of 77 START table model dbt_kristin.stg_facebook_ads__creative_history_asset_feed_spec_link_url [RUN]
16:32:55 | 48 of 77 OK created table model dbt_kristin.linkedin__ad_adapter..... [CREATE TABLE (39.1k rows, 8.2 MB processed) in 6.49s]
16:32:55 | 53 of 77 START table model dbt_kristin.twitter__ad_adapter........... [RUN]
16:32:57 | 52 of 77 OK created table model dbt_kristin.stg_facebook_ads__creative_history_asset_feed_spec_link_url [CREATE TABLE (0.0 rows, 11.0 MB processed) in 2.36s]
16:32:57 | 54 of 77 START view model dbt_kristin.stg_microsoft_ads.............. [RUN]
16:32:57 | 47 of 77 OK created table model dbt_kristin.stg_google_ads__click_performance [CREATE TABLE (550.5k rows, 123.7 MB processed) in 9.98s]
16:32:57 | 55 of 77 START table model dbt_kristin.microsoft_ads__account_report. [RUN]
16:32:58 | 54 of 77 OK created view model dbt_kristin.stg_microsoft_ads......... [OK in 0.77s]
16:32:58 | 56 of 77 START table model dbt_kristin.microsoft_ads__ad_group_report [RUN]
16:32:59 | 53 of 77 OK created table model dbt_kristin.twitter__ad_adapter...... [CREATE TABLE (432.0 rows, 83.6 KB processed) in 3.56s]
16:32:59 | 57 of 77 START table model dbt_kristin.microsoft_ads__campaign_report [RUN]
16:32:59 | 55 of 77 OK created table model dbt_kristin.microsoft_ads__account_report [CREATE TABLE (238.0 rows, 143.7 KB processed) in 2.46s]
16:32:59 | 58 of 77 START table model dbt_kristin.google_ads__url_ad_adapter.... [RUN]
16:33:00 | 56 of 77 OK created table model dbt_kristin.microsoft_ads__ad_group_report [CREATE TABLE (2.9k rows, 304.0 KB processed) in 2.18s]
16:33:00 | 59 of 77 START table model dbt_kristin.google_ads__criteria_ad_adapter [RUN]
16:33:00 | 51 of 77 OK created table model dbt_kristin.stg_facebook_ads__app_link [CREATE TABLE (1.5m rows, 13.9 MB processed) in 6.15s]
16:33:00 | 60 of 77 START view model dbt_kristin.facebook_ads__creative_history_prep [RUN]
16:33:02 | 57 of 77 OK created table model dbt_kristin.microsoft_ads__campaign_report [CREATE TABLE (913.0 rows, 241.3 KB processed) in 2.47s]
16:33:02 | 60 of 77 OK created view model dbt_kristin.facebook_ads__creative_history_prep [OK in 0.83s]
16:33:02 | 61 of 77 START table model dbt_kristin.stg_facebook_ads__carousel_media [RUN]
16:33:02 | 62 of 77 START table model dbt_kristin.stg_facebook_ads__carousel_media_url_tags [RUN]
16:33:03 | 58 of 77 OK created table model dbt_kristin.google_ads__url_ad_adapter [CREATE TABLE (96.9k rows, 17.1 MB processed) in 3.59s]
16:33:03 | 63 of 77 START view model dbt_kristin.stg_linkedin_ads............... [RUN]
16:33:04 | 63 of 77 OK created view model dbt_kristin.stg_linkedin_ads.......... [OK in 0.68s]
16:33:04 | 64 of 77 START table model dbt_kristin.linkedin__account_ad_report... [RUN]
16:33:04 | 62 of 77 OK created table model dbt_kristin.stg_facebook_ads__carousel_media_url_tags [CREATE TABLE (0.0 rows, 0.0 Bytes processed) in 2.22s]
16:33:04 | 65 of 77 START table model dbt_kristin.linkedin__campaign_ad_report.. [RUN]
16:33:04 | 61 of 77 OK created table model dbt_kristin.stg_facebook_ads__carousel_media [CREATE TABLE (0.0 rows, 0.0 Bytes processed) in 2.23s]
16:33:04 | 66 of 77 START table model dbt_kristin.linkedin__campaign_group_ad_report [RUN]
16:33:05 | 59 of 77 OK created table model dbt_kristin.google_ads__criteria_ad_adapter [CREATE TABLE (262.8k rows, 34.7 MB processed) in 5.23s]
16:33:05 | 67 of 77 START table model dbt_kristin.google_ads__click_performance. [RUN]
16:33:06 | 64 of 77 OK created table model dbt_kristin.linkedin__account_ad_report [CREATE TABLE (960.0 rows, 2.0 MB processed) in 2.30s]
16:33:06 | 68 of 77 START view model dbt_kristin.stg_twitter_ads................ [RUN]
16:33:06 | 66 of 77 OK created table model dbt_kristin.linkedin__campaign_group_ad_report [CREATE TABLE (1.2k rows, 3.2 MB processed) in 2.36s]
16:33:06 | 69 of 77 START table model dbt_kristin.twitter__campaign_report...... [RUN]
16:33:07 | 68 of 77 OK created view model dbt_kristin.stg_twitter_ads........... [OK in 0.70s]
16:33:07 | 70 of 77 START table model dbt_kristin.twitter__line_item_report..... [RUN]
16:33:07 | 65 of 77 OK created table model dbt_kristin.linkedin__campaign_ad_report [CREATE TABLE (37.5k rows, 5.9 MB processed) in 2.98s]
16:33:07 | 71 of 77 START table model dbt_kristin.facebook_ads__ad_adapter...... [RUN]
16:33:08 | 69 of 77 OK created table model dbt_kristin.twitter__campaign_report. [CREATE TABLE (429.0 rows, 30.9 KB processed) in 2.17s]
16:33:08 | 72 of 77 START view model dbt_kristin.stg_google_ads................. [RUN]
16:33:09 | 70 of 77 OK created table model dbt_kristin.twitter__line_item_report [CREATE TABLE (429.0 rows, 46.7 KB processed) in 2.52s]
16:33:09 | 72 of 77 OK created view model dbt_kristin.stg_google_ads............ [OK in 0.87s]
16:33:11 | 71 of 77 OK created table model dbt_kristin.facebook_ads__ad_adapter. [CREATE TABLE (10.8k rows, 55.8 MB processed) in 4.09s]
16:33:11 | 73 of 77 START view model dbt_kristin.stg_facebook_ads............... [RUN]
16:33:11 | 74 of 77 START table model dbt_kristin.facebook_ads__account_report.. [RUN]
16:33:11 | 75 of 77 START table model dbt_kristin.facebook_ads__ad_set_report... [RUN]
16:33:11 | 67 of 77 OK created table model dbt_kristin.google_ads__click_performance [CREATE TABLE (550.5k rows, 55.9 MB processed) in 6.10s]
16:33:11 | 76 of 77 START table model dbt_kristin.facebook_ads__campaign_report. [RUN]
16:33:12 | 73 of 77 OK created view model dbt_kristin.stg_facebook_ads.......... [OK in 0.93s]
16:33:12 | 77 of 77 START table model dbt_kristin.ad_reporting.................. [RUN]
16:33:13 | 74 of 77 OK created table model dbt_kristin.facebook_ads__account_report [CREATE TABLE (231.0 rows, 500.4 KB processed) in 2.04s]
16:33:13 | 75 of 77 OK created table model dbt_kristin.facebook_ads__ad_set_report [CREATE TABLE (10.8k rows, 1.5 MB processed) in 2.37s]
16:33:13 | 76 of 77 OK created table model dbt_kristin.facebook_ads__campaign_report [CREATE TABLE (10.8k rows, 1.3 MB processed) in 2.23s]
16:33:16 | 77 of 77 OK created table model dbt_kristin.ad_reporting............. [CREATE TABLE (150.2k rows, 25.4 MB processed) in 4.16s]
16:33:16 |
16:33:16 | Finished running 37 view models, 40 table models in 47.18s.

Completed successfully

Done. PASS=77 WARN=0 ERROR=0 SKIP=0 TOTAL=77


chore: Script to inspect and clean up stale GCFs

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes internal issue 319307783 🦕
Usage:
$ python scripts/manage_cloud_functions.py --help
usage: manage_cloud_functions.py [-h] -p PROJECT_ID [-r REGIONS] {summary,cleanup} ...

Manage cloud functions created to serve bigframes remote functions.

options:
  -h, --help            show this help message and exit
  -p PROJECT_ID, --project-id PROJECT_ID
                        GCP project-id.
  -r REGIONS, --regions REGIONS
                        Cloud functions region(s). If multiple regions, Specify comma separated (e.g. region1,region2)

subcommands:
  {summary,cleanup}
    summary             BigFrames cloud functions summary.
    cleanup             BigFrames cloud functions clean up.

$ python scripts/manage_cloud_functions.py summary --help
usage: manage_cloud_functions.py summary [-h]

Show the bigframes cloud functions summary.

options:
  -h, --help  show this help message and exit

$ python scripts/manage_cloud_functions.py cleanup --help
usage: manage_cloud_functions.py cleanup [-h] [-n NUMBER]

Delete the stale bigframes cloud functions.

options:
  -h, --help            show this help message and exit
  -n NUMBER, --number NUMBER
                        Number of stale (more than a day old) cloud functions to clean up.
(venv) shobs@shobs-ct-3:~/code/bigframes1$

Example:
$ python scripts/manage_cloud_functions.py -p bigframes-dev summary
us-central1: Total=1412, Recent=86, OlderThanADay=1326
europe-west4: Total=270, Recent=24, OlderThanADay=246
southamerica-west1: Total=269, Recent=23, OlderThanADay=246
europe-west1: Total=262, Recent=23, OlderThanADay=239
asia-southeast1: Total=260, Recent=18, OlderThanADay=242
us-east1: Total=1, Recent=0, OlderThanADay=1

$ python scripts/manage_cloud_functions.py -p bigframes-dev -r us-central1,europe-west4 summary
us-central1: Total=1412, Recent=85, OlderThanADay=1327
europe-west4: Total=270, Recent=24, OlderThanADay=246

$ python scripts/manage_cloud_functions.py -p bigframes-dev -r us-central1,europe-west4 cleanup -n 2
[us-central1]: deleted [1] projects/bigframes-dev/locations/us-central1/functions/bigframes-597cc02ef5ce0525e4f51697b5a83b6c-3pfpu6gu last updated on 2024-01-08 21:47:58.503628+00:00
[us-central1]: deleted [2] projects/bigframes-dev/locations/us-central1/functions/bigframes-68f796a13666bb3bfe354dd1adaeef71 last updated on 2024-01-09 21:52:49.620259+00:00
[europe-west4]: deleted [1] projects/bigframes-dev/locations/europe-west4/functions/bigframes-558d0ca6649537a9e45896faf08b0a7a last updated on 2024-01-12 21:15:04.379198+00:00
[europe-west4]: deleted [2] projects/bigframes-dev/locations/europe-west4/functions/bigframes-4b7705561ec336ed80722a8e6e56ac41 last updated on 2024-01-08 05:34:59.331828+00:00

$ python scripts/manage_cloud_functions.py -p bigframes-dev -r us-central1,europe-west4 summary
us-central1: Total=1410, Recent=85, OlderThanADay=1325
europe-west4: Total=269, Recent=25, OlderThanADay=244

Can't we set a TTL to the services?
How this script is scheduled? (I assume it doesn't need to be called manually.)

Nope, there is no TTL support in GCFs. We can work out a scheduling story after this change. We could include this in the nightly script.


How do I get the free numbers?

[Enter feedback here]
This does not work.  Chat support sent me to another site for the users to sign up at a user level.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 7e37f13b-cb86-955e-147c-fa916da063f9
Version Independent ID: 4dd77188-abcb-fae2-3cf3-12b82b591bad
Content: Getting phone numbers for your users - Microsoft Teams
Content Source: Teams/getting-phone-numbers-for-your-users.md
Service: msteams
GitHub Login: @CarolynRowe
Microsoft Alias: crowe

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


Fix code scanning alert - Pinned-Dependencies

Tracking issue for:

[ ] https://github.com/wneessen/apg-go/security/code-scanning/17

Fixed via https://github.com/wneessen/apg-go/pull/71


feat: Exposes API limits on the Rest Client object

Hi guys,
We're looking into using this lib to modernize our salesforce ETLs, really love the approach!
We have a requirement to add some monitoring on our API usage/limits, so it would be great if it could be available from this library without having to make any additional requests.
This PR uses an axios interceptor to check for the limit header after each request and then sets this a public field on the object. Useful for things monitoring/reporting on limits.

Awesome Idea!  I love it.
I wonder if we shouldn't store the limits in a global variable somewhere (probably a map to allow for multiple connections).  My concern is that multiple Rest clients will have different information on the limits depending on when they made their last request.
Also, does the limit header alway reference the same "limit" regardless of which endpoint we hit?  (I think probably so)
I'm thinking about:

tooling api
custom rest endpoint (apex RestResource)
metadata api?

We'll just want to test that this code doesn't crash out or clear the limits if they aren't on the header.

From my understanding request limits are per organisation, so I'm not sure what we should key the global map with. Is login host/instanceUrl 1-1 with org?
I agree about the limit header, I'm pretty sure it corresponds to the organization's daily limit. I'll try and have a play with the other APIs and see if the header is returned/matched.
And happy to add some tests around the header parsing 👍

We could key off of access_token (instanceUrl isn't always unique), but honestly this seems hack-ish.  I think you way to wrote the code in this PR is ideal, but unfortunately doesn't work well with how the "default" client is currently constructed.
I've been meaning to rewrite this for other issues, so I think I'm just going to go ahead do so now.  I think it's a pretty easy fix...


Update project documentation

Update License section in Readme file.

Steps to reproduce the issue:

Currently, there is no 'License' section. This can be reformed into a correct structure for License showcasing like other substantial projects.

Relevant error messages and/or screenshots:

Check the current Readme file.

@prateek3255 Can I work on this please?

Please take a look at #32


Cannot debug gitea in vscodium + default vscode-go 0.30.0 config

Gitea Version
1.16
Git Version
No response
Operating System
No response
How are you running Gitea?
Compilation from source.
Database
No response
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Description
When you try to compile gitea in vscodium with current vscode-go extension version 0.30.0 using instructions from
https://github.com/go-gitea/gitea/blob/main/contrib/ide/README.md
debug binary will be build in /tmp not in ${workspaceRoot} and page http://<IP_ADDRESS>:3000/ will display only
Unable to find status/500 template
and debug console will contain errors like
2022/01/24 19:02:18 ...ers/common/logger.go:21:1() [I] Started GET / for <IP_ADDRESS>:34106
2022/01/24 19:02:18 ...s/context/context.go:206:HTML() [E] Render failed: html/template: "install" is undefined
2022/01/24 19:02:18 ...s/context/context.go:290:PlainTextBytes() [E] PlainTextBytes: Unable to find status/500 template
2022/01/24 19:02:18 ...ers/common/logger.go:30:1() [I] Completed GET / 500 Internal Server Error in 469.837µs

Problem is caused probably by new debugger mode used in vscode-go extension (dlv-dap).
Workaround that seems to work is to turn on legacy mode by adding
    "go.delveConfig": {
        "debugAdapter": "legacy",
    }

to settings.json.
Screenshots
No response

This seems to be a issue with the stable version of vscode-go, I don't encounter such issue with the preview version of vscode-go, Could you try go nightly?

I suspect that the new configuration does not set the correct working directory.
I think this might be indicating a bug though - I suspect that:
https://github.com/go-gitea/gitea/blob/main/modules/templates/base.go#L87
Should actually be:
		Directory:                 path.Join(setting.AppWorkPath, "/templates"),

@zeripath Applied the patch - same error.

add "-w=${workspaceRoot}" to the args

and the patch

Same error, different values:
2022/01/24 22:43:23 ...s/context/context.go:207:HTML() [E] Render failed: html/template: "user/dashboard/dashboard" is undefined
2022/01/24 22:43:23 ...s/context/context.go:291:PlainTextBytes() [E] PlainTextBytes: Unable to find status/500 template
2022/01/24 22:43:23 router: completed GET / for <IP_ADDRESS>:34588, 500 Internal Server Error in 7.6ms @ web/home.go:26(web.Home)
2022/01/24 22:43:23 router: completed GET /favicon.ico for <IP_ADDRESS>:34588, 200 OK in 0.9ms @ user/profile.go:51(user.Profile)

this works for me:
    {
      "name": "Launch",
      "type": "go",
      "request": "launch",
      "mode": "debug",
      "buildFlags": "",
      "program": "${workspaceRoot}/main.go",
      "env": {
        "GITEA_WORK_DIR": "${workspaceRoot}",
      },
      "args": ["web"],
      "cwd": "${workspaceRoot}",
      "showLog": true
    },

I think the cwd is what is fixing this.

cwd is not really fixing imho, just left it just in case (I think it's even defaults to this value already). Problem is that appdir and workdir from us is historically directory where binary is located

so:
        {
            "name": "Launch",
            "type": "go",
            "request": "launch",
            "mode": "debug",
            "buildFlags": "-tags='sqlite sqlite_unlock_notify'",
            "program": "${workspaceRoot}/main.go",
            "env": {
              "GITEA_WORK_DIR": "${workspaceRoot}",
            },
            "args": ["web"],
            "cwd": "${workspaceRoot}",
            "showLog": true
        },

is now working for me.

interesting - now why doesn't -w do the same thing


nuxt build 打包项目中有空标签会打包错误

如果只有一个空标签，打包回有错误，修改为就可以打包成功

We are approaching the Nuxt 2 EOL date (June 30, 2024) - see this article for more information. This is advance warning that I'm going to close this issue then, as it's currently marked as a Nuxt 2 related bug.
If it's a critical or security issue, please do comment and let me know, in case it is possible to address it before the EOL date.
If it's a an issue you think is relevant for Nuxt 3, please feel free to open a fresh issue (or just comment here so I can update labels, etc.). 🙏
Thank you for your understanding and for your contribution to Nuxt. ❤

It's the day, at last. Nuxt 2 is now marked end-of-life.
My apologies we never got round to resolving this bug in the 2.x branch, but we do have to draw a line somewhere. Again, if you think this is still relevant for Nuxt going forward, please feel free to open a fresh issue (or just comment here so I can update labels, etc.). 🙏


Remove libgcc dependency for all recipes

(This isn't an issue for this repo per se, but this repo seems like the right place for us to track build-related issues.  Let me know if you have a better suggestion.)
For Mac, we have already removed our dependency on conda's libgcc package from all of our recipes.  But on Linux, the dependency remains.  Now that we use a docker container for our builds, which already comes with a suitable libgcc of its own (and we don't intend to support any users with older OSes than that), we can stop using conda's libgcc package and just assume that our users' own machines already have a new-enough libgcc pre-installed.
You can easily see which packages currently depend on libgcc by attempting to remove libgcc from your environment:
$ conda remove -n ilastik-env libgcc
Fetching package metadata ...........
Solving package specifications: .

Package plan for package removal in environment /opt/conda/envs/ilastik-env:

The following packages will be REMOVED:

    dpct:                            1.2.post11-py36_0_ga319138        ilastik-forge
    hytra:                           1.1.4.post9-py36_0_g756bbff       ilastik-forge
    iiboost:                         0.2.post10-36_0_g08c3d66          ilastik-forge
    ilastik-dependencies-no-solvers: 1.3-h4ad2b3e_2                    ilastik-forge
    ilastikrag:                      0.1.3.post3-py36_0_g0fa508f       ilastik-forge
    ilastiktools:                    0.2.post5-np112py36_0_gdfe578c    ilastik-forge
    lemon:                           1.2.4-hda0c028_3                  ilastik-forge
    libgcc:                          4.8.5-2                           defaults
    vigra:                           1.11.1.post8-np112py36_5_gfb42744 ilastik-forge
    wsdt:                            0.2.post16-py36_0_g76f938f        ilastik-forge

Edit: Of course, some of those don't depend on libgcc directly, but inherit the dependency by transitivity.  The list of recipes that need to be changed is:

dpct
iiboost
ilastiktools
lemon
vigra

Just a progress update:
So, I have removed all dependencies on libgcc and the conda-forge provided gcc from all packages we build ourselves in order to be able to build with a newer compiler. This was necessary in order to build a current version of nifty (which we need for the improved carving workflow). For building I have used the conda linux-anvil with the developer toolset v4 (gcc 5.3.1). For the libs we compile ourselves, I have enforced the "old-style-abi" with the -D_GLIBCXX_USE_CXX11_ABI=0  cxx flag.
I tested ilastik with this new environment a bit and haven't encountered any crashes so far. But well. Whoever wants to give it a go can create an environment with
conda create -n ilastik-newgcc -c kdominik -c conda-forge ilastik-dependencies-no-solvers

The main problem that I see with moving away from the conda-forge gcc is, that if any conda-forge package uses pybind11 for python bindings, it will clash with ours. Apparently you get segfaults when using pybind11-based python packages built with different compiler versions.

I wonder if we could include testing for this into our pre-release binary testing? I know it could be any package, but there are not so many we call through pybind11.

help("modules")

this segfaults it for me if I have such modules present.

Good, then let's include it somehow into the pre-release binary tests.

done


chore: Upgrade to husky v6

Codecov Report

Merging #452 (61ceca8) into main (fe16bf9) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main      #452   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           19        19
  Lines          506       506
  Branches        40        40
=========================================
  Hits           506       506

Flag
Coverage Δ

unittests
100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


chore(tests): increase GRPC context timeout used while testing

Extended GRPC context timeout used for tests
Description

Extended GRPC context timeout used for tests
Hypothesis is that will prevent race conditions in tests while running
GRPC+healthz and MySQL container + ready to serve check.
Must say can't reproduce locally so will use draft PR to test hypothesis.
References

Related to issue #1401
Review Checklist

[X] I have clicked on "allow edits by maintainers".
[ ] I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
[X] The correct base branch is being used, if not main
[ ] I have added tests to validate that the change in functionality is working as expected

Thank you for your contribution.  At this time we're closing this pull request since it's a Draft.


Marble Blocks not always rendering properly

see this in a couple of marble houses

Seems to be in the same spots.

Might be here
https://github.com/mrkite/TerraFirma/blob/master/uvrules.cpp#L499
Seems different tiles we've labeled 'large' have differing amounts of sets

or I just didn't understand how the large tiles worked, seems they're all two and they're being dealt with that way..... maybe in the marble blends with all section is where it's being caused?

v's are being set to 185 for the vertical missing blocks and 207 for the horizontal.... seems odd to come up with those numbers


Tweak splatting implementation

Splatting currently uses getindex calls in its implementation in Umlaut. Unfortunately, I'm using a context in which getindex is not a primitive. I could always primitivize my tape, but that involves unnecessary work, and (anecdotally) appears to add quite a few additional operations to the tape.
getfield works just as well as getindex for this task, but has the advantage that it must be primitive in any context, because it is a built-in, meaning that there is no IR to look up.
So this PR changes getindex to getfield.

The docs weren't building on v1 of Documenter, so I've restricted to v0.27 to get the tests to pass.


.gitignore for shopware

This contribution provides a full-featured .gitignore for shopware-projects based on Shopware 5 (www.shopware.de)

I'm going to close this out because the value of maintaining a template like this isn't clear to me, as well as how the rules duplicate with existing templates.
@itinance if you feel like this should still be a template listed here, please read the section about specialized templates and open a new pull request that follows the new pattern.


Place armadactl binary on user's PATH

Fixes #
Special notes for your reviewer:
We need to check if instead of go run cmd/armadactl/main.go create queue e2e-test-queue user can run the same command using only armadactl create queue e2e-test-queue
┆Issue is synchronized with this Jira Task by Unito

Hmm. This is failing CI. See what you can do to fix it? Here are some ideas:
https://unix.stackexchange.com/questions/26676/how-to-check-if-a-shell-is-login-interactive-batch#:~:text=To check if you are in an interactive,the check for an interactive shell should suffice.

Hmm. This is failing CI. See what you can do to fix it? Here are some ideas:
https://unix.stackexchange.com/questions/26676/how-to-check-if-a-shell-is-login-interactive-batch#:~:text=To check if you are in an interactive,the check for an interactive shell should suffice.

It shows its passing to me, let me take a look again


live <= master

Docs Build status updates of commit a44efea:
:warning: Validation status: warnings

File
Status
Preview URL
Details

advocates/index.html.yml
:warning:Warning
View
Details

advocates/chris-nwamba.yml
:white_check_mark:Succeeded

advocates/erik-st-martin.yml
:white_check_mark:Succeeded

advocates/jing-low.yml
:white_check_mark:Succeeded

advocates/map.yml
:white_check_mark:Succeeded
View

advocates/media/profiles/chris-nwamba.jpg
:white_check_mark:Succeeded

advocates/media/profiles/erik-st-martin.png
:white_check_mark:Succeeded

advocates/media/profiles/jing-low.jpg
:white_check_mark:Succeeded

advocates/toc.yml
:white_check_mark:Succeeded
View

advocates/index.html.yml

Line 10, Column 8: [Warning-file-not-found] Invalid file link: './map'.
Line 12, Column 8: [Warning-file-not-found] Invalid file link: './tweets'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


I can't install Multibit...

As you can probably gather from the title, whenever I try to install multibit, it always says 'Java has not been found on your computer. Do you want to download it?' Now I have Java installed, on the latest 64 bit version (always have). I've tried uninstalling and installing it all again (4 times mind you), I have also tried the little help guide on the site, by changing it to run as XP Service Pack 3, and as an Administrator Account; but still nothing... Yet when I had it installed on my last computer, it worked a treat, all I need to do is get it installed again.

Multibit error take my btc , i want my btc back .

I will post any every forum about this bug and how btc owners dont want to resolve it .

Closing due to inactivity.