unable to create cluster

gets below error:
Operation failed with status: 'Bad Request'. Details: Internal server error

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

ID: 471c32a2-1f6a-88d1-7df4-80b8f6fbc4a4
Version Independent ID: 10de5ee1-942d-e30f-5f0c-f163bd45904d
Content: Use Availability Zones in Azure Kubernetes Service (AKS)
Content Source: articles/aks/availability-zones.md
Service: container-service
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

Thanks for the feedback! We are currently investigating and will update you shortly.

update:
got to know from the support, it's because of Service principal access issue.

@sochan1 Thanks for sharing the update. Do you have support request open for this? If yes, please share your support request number so that I can track it and will share the resolution here, once it is resolved. Since our support team is helping you out, I will close this issue now.
If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.


Pion chooses wrong remote candidate

Unnamed SFU using Pion running on remote host.  Client is Chromium on Linux and is multihomed: has both an Ethernet and a Wifi connection.  The client offers four host candidates, IPv4+IPv6 for each of the two interfaces.
When Chomium is the controlling agent, then the Ethernet interface is chosen.  When Pion is the controlling agent, on the other hand, the WiFI interface is chosen deterministically.
A few other elements:

Chromium sets the candidate priorities correctly (Ethernet higher than WiFi);
Chromium sets the network-cost to 10 for the WiFi candidates; I believe this is described in https://tools.ietf.org/html/draft-thatcher-ice-network-cost (expired).

It is my understanding that Pion does not use the network cost, but that the candidate priority should be enough to do the right thing.  This may be related to https://github.com/pion/ice/issues/82.

I can confirm that the priorities of Chromium's host candidates are reasonable:

2122262783 for the IPv6 address of the Ethernet interface;
2122194687 for the IPv4 address of the Ethernet interface;
2122131711 for the IPv6 address of the WiFi interface; and
2122063615 for the IPv4 address of the WiFi interface.

So it definitely looks like there's something wrong with Pion's candidate selection.

I am no longer able to reproduce this — it looks like Pion is choosing the candidate with the highest priority, as it should.  Closing for now.

The issue cannot be reproduced locally, but it is definitely there when the server is remote.
Interestingly enough, if I trigger an ICE restart after the connection is established, then Pion switches to the right candidate.  So this might very well be a timing issue: the WiFi candidate is chosen before the Ethernet candidate is received.  Perhaps delaying ICE by a fraction of a second would help?

@Sean-Der has suggested that this might be due to defaultHostAcceptanceMinWait in agent_config.go being set to 0.  More experimentation is needed.

Adding
s.SetHostAcceptanceMinWait(200 * time.Millisecond)

at the right place does not solve the issue — the wrong candidate is still chosen.

@jech Were you able to find a solution for this? I'm facing a similar problem at the moment. Pion seems to choose a Relay candidate with higher priority while a srflx candidate with lower priority is available

No, I never did.  I tried tweaking all sorts of constants in the code, and I still got randomly wrong choices.


relations

There is no documentation on how to actually retrieve a relationship.
for instance:
module.exports = function (){
  this
  .validatesUniquenessOf('athlete_id')
  .validatesUniquenessOf('email')
  .validatesFormatOf('email', /^[^@\s\;]+@[^@\s\;]+\.[^@\s\;]+$/)
  .belongsTo('athlete')
  .hasMany('accountsUsers')
  .hasMany('users', {through: 'accountUsers'})
  .hasMany('infokits')
  .hasMany('account_audits')
}

how would I retrieve the 'users' for the above model?
how do I get the athlete?

I'm currently working on getting the docs complete.
You could do the following:
Model.join('athlete') //for a left join - or use .leftJoin(), rightJoin(), .innerJoin() or .outerJoin()

if you just want to prefetch relational data as well, use .include().
The arguments for .join() and .include() could be a:

String (relation name)
Array with relation names
Object where the key is the relation name. The value could by anything the .include() method accepts (String, Array, Object) - sub relations!

See includes-test.js

so there's no method to fetch an association after the parent is loaded?
e.g. the example above model is 'Account' in the following example:
Account.get(MY_ID).exec().then((account) => account.athlete.load())

With a has_many relation, you could do the following:
Account.get(MY_ID).exec()
.then((account) => account.athletes.exec())
.then(athletes => console.log(athletes))

This currently only works with has_many and belongsToMany, because the relation object (empty array) has all conditions at hand. It's a preconfigured query like Athlete.where({account_id: 1234}).
belongs_to relations return null for a record that isn't prefetched.
I've some ideas to solve this problem. But this is a breaking change, so another thing to address in v2


feat(cli): add config files and examples in docs

what this pr adds:

the capability to add config files and setup different configurations to avoid/skip some steps
allow the user to define entry points for files that will be used on some components and you have to change by hand

also noticing that different people added different kinds of versions of this, I wanted to go with the prettier approach, which is basically add Cosmiconfig which natively allows you to define a lot of entry points, I decided to name the entry point of configuration as shadcn-ui but we can change it, basically all the entry points allowed are:

"shadcn-ui" key in your package.json file.
.shadcn-uirc file written in JSON or YAML.
.shadcn-uirc.json, .shadcn-uirc.yml, .shadcn-uirc.yaml or .shadcn-uirc.json5 file.
.shadcn-uirc.js, .shadcn-uirc.cjs, shadcn-ui.config.js or shadcn-ui.config.cjs file that exports an object using module.exports.
.shadcn-uirc.toml file.

also edited the CLI entry of the documentation to show some explanation and examples:

I think this will solve also the cases provided by:
#244 by @Rawnly
#240 by @JohnDaly
could fix https://github.com/shadcn/ui/issues/207
could fix https://github.com/shadcn/ui/issues/236

Looking forward for this! 😍

Woah! Incredible work! This saves me a lot of time. I'll review and we can merge.
I think we should consider a different name for the config file. Maybe .componentrc something like this...

yeah, I can do it, if you can review it and if you need me to move things around let me know. also @Rawnly you had worked on things like this before, if you have ideas of things to add, they would help a lot.

LGTM! The naming is up to @shadcn. Honestly I think that "shadcn-ui" or something similar would be more clear.

Hi @shadcn any news on this pull request? should we merge it or do you want to do some changes? I'm open to help in whatever you need/think.

@Princezhm Yes. This is definitely going on. I'm going to focus on this and get it merge this weekend. (Sorry been busy with the day job).

This looks great! The default behavior of the settings that require the user to provide paths could be improved by looking through the project's folders for a preset of common names (ex.: src/components/ui/, components/).
There should be restrictions to ensure that the function only runs inside the project's root folder, does not look inside hidden folders (who stores components inside these? :eyes:) and has a maximum search depth.
Does this sound like a good improvement or is it too much?

This looks great! The default behavior of the settings that require the user to provide paths could be improved by looking through the project's folders for a preset of common names (ex.: src/components/ui/, components/).
There should be restrictions to ensure that the function only runs inside the project's root folder, does not look inside hidden folders (who stores components inside these? 👀) and has a maximum search depth.
Does this sound like a good improvement or is it too much?

actually @tomas-machado If I understand correctly, you want to change the inner imports of the utils/other components, right? if that is the case, I already took care of it on https://github.com/shadcn/ui/pull/245/files#diff-2fb448d11702324cc59d657d5945d59cd325540eb87b71f2e66a5bc01ada834cR173-R182 where all the imports that the components are using matches with the new folder structure predefined by the user.
on the other hand, if what you want is to automagically look for a folder that matches something like */**/components/, I don't think is the best idea, mostly because it will try to install the components on that folder but probably you don't want them there.
for example I leave my own components inside src/client/components/* but I leave the shadcn-ui components inside src/ui/* so I can have everything grouped in different paths, what I want to point with this, is that not always following the */components/* search can lead to the right path.
anyways, if I miss understood you, let me know, there is always something to add 🥇

on the other hand, if what you want is to automagically look for a folder that matches something like */**/components/, I don't think is the best idea, mostly because it will try to install the components on that folder but probably you don't want them there.
for example I leave my own components inside src/client/components/* but I leave the shadcn-ui components inside src/ui/* so I can have everything grouped in different paths, what I want to point with this, is that not always following the */components/* search can lead to the right path.
anyways, if I miss understood you, let me know, there is always something to add 1st_place_medal

:wave: @Princezhm
After looking through the project's files and finding a match, it should be presented as a suggestion that the user can accept (the same behavior that is already being used). It should not be used as the final value without prompting for an action. Once the user accepts the suggestion it could be used and saved inside a config file.
If a user has already defined the path they would like to use inside their config, this process should be ignored.
Let me know if this addresses your concerns.

After looking through the project's files and finding a match, it should be presented as a suggestion that the user can accept (the same behavior that is already being used). It should not be used as the final value without prompting for an action.

I thought about this a bit more and it is probably better not to implement this. Asking the user for the path once is ok.

Once the user accepts the suggestion it could be used and saved inside a config file.

After asking for the path, the user can be prompted to choose if they would like to save it inside a config file.

that would be possible, you mean like creating a default configuration file, I would go for the .shadcn-uirc, in this weekend I could implement something similar among other improvements that I was thinking.

This is how I thought about it:

Prompt the user to provide the path they would like to use.
Ask if it should be saved in a config file for future reference (skip next steps if false).
Provide a list of the supported config locations (ex.: package.json, .shadcn-uirc, etc) and let the user choose one.
Create the entry inside the chosen location and let the user know if everything was done successfully.
Provide a link to the CLI Config section of the documentation.

Let me know what you think and if you need some help implementing it :+1:


missing syntax - TRANSPORTING ALL FIELDS

all fields is lowercased because abaplint thinks they're identifiers
TYPES stringtab TYPE STANDARD TABLE OF string.
DATA(itab) = VALUE stringtab( ).
READ TABLE itab INDEX 5 TRANSPORTING all fields INTO DATA(line).

try again, 2.46.1 published


[FEATURE] Support OceanBase JDBC Catalog

Describe the feature
Support OceanBase as a type of data source.
Motivation
OceanBase is an enterprise-ready open source distributed relational database with high availability, high performance, horizontal scalability, and compatibility with SQL standards.
We should consider supporting OceanBase as a data source, including features for managing databases, tables etc.
Describe the solution
No response
Additional context
No response

@yuanoOo
A good point, the community is open to adding more catalogs and integrating them with Gravitino, would like to work on this?

@yuqi1129 Yes, I would like to work on this!

@yuqi1129 Yes, I would like to work on this!

Okay, I will assign this to you.

Thanks @yuanoOo for your issue, my concern is that if OB's license is compatible with the Apache V2 license, we should be cautious when do plan to do this.

If I'm looking in the right place, OB's license doesn't seem to be compatible with the Apache License [1]. However, it would be possible to implement support and distribute it in an ASF release if it is an optional feature and this would only apply if no GPL license code was needed in the ASF release.

https://github.com/oceanbase/obconnector-j/blob/master/LICENSE

See https://www.apache.org/legal/resolved.html#prohibited and https://www.apache.org/legal/resolved.html#optional for details.

@jerryshao @justinmclean Thanks for your reminder. OceanBase Community Edition is fully compatible with MySQL protocol, which means we can use MySQL JDBC driver to connect to OceanBase. So we can do it like MySQL without providing driver directly.
Additional note: OceanBase Enterprise Edition has an additional oracle mode. In oracle mode, we can only connect through OceanBase's own JDBC driver. see https://en.oceanbase.com/docs/common-oceanbase-database-10000000001375341
We can only support OceanBase Community Edition first.

You will need to take care there as well, as some versions of Oracle's MySQL JDBC driver are not licensed under a license compatible with the Apache license. e.g. "MySQL Connector/J 9.0.0 Community is brought to you by the MySQL team at Oracle. This software is released under version 2 of the GNU General Public License (GPLv2)."

I see a PR has been made. Are you sure this is compatible with the ALv2 and ASF distribution and licensing policies?

To clarify, we would need answers to:

What does a user need to connect Gravitino to OceanBase and how is it licensed?
Is that software truly optional?
Is that software not installed automatically without notifying the user?
Is that software part of the binary distribution?

I see a PR has been made. Are you sure this is compatible with the ALv2 and ASF distribution and licensing policies?

@justinmclean I am not too clear about the compatibility rules between licenses. I have seen other MySQL protocol compatible databases in the code, such as Apache Doris. OceanBase is similar to them to some extent.

To clarify, we would need answers to:

What software does a user need to connect Gravitino to OceanBase and how is it licensed?
Is that software truly optional?
Is that software installed automatically without notifying the user?
Is that software part of the binary distribution?

@justinmclean  Thanks for your reminder.

mysql connector/java Or OceanBase Client for Java
Yes
No
No

The MySQL connector and the Oceanbase client for Jave are licensed under the GPL/LGPL license. This is not compatible with the ALv2.

The MySQL connector and the Oceanbase client for Jave are licensed under the GPL/LGPL license. This is not compatible with the ALv2.

As far as I know, the mysql connector/java driver binary is not directly provided in the distribution package, like other Apache open source projects. As above, will there still be compatibility issues with ALv2 licenses?

Possibly as GPL is not compatible with ALv2 see https://www.apache.org/licenses/GPL-compatibility.html. I'd need to take a look at the final artifacts to be sure.

Possibly as GPL is not compatible with ALv2 see https://www.apache.org/licenses/GPL-compatibility.html. Note that merely linking to it (i.e. having it as a dependency) is an issue, not just its distribution. I'd need to look at the final artifacts to be sure.

Justin, MySQL's license is also not compatible with ALv2 I think, but Gravitino supports it. I think OB is the same case.

It may or may not be, just because they have the same or similar licenses is not enough to go on. By default, anything with a Category X license (which includes GPL-style licenses) can't be included in a release or be depended upon.

@yuanoOo thanks a lot for your contribution. May I ask what is your email address or wechat id, I think we can have a talk first 😄 .

I've taken a look at the distribution artifact and it looks good to me. Due to the Category X license, this would not normally be OK, but it is in this case it is OK, due to https://www.apache.org/legal/resolved.html#optional and https://www.apache.org/legal/resolved.html#prohibited.

As there are several OceanBase editions (community, enterprise, cloud, etc), to avoid confusing, I recommend this to use a more specific name like "OceanBase community edition" or OceanBase CE to differenciate. What do you think? @yuanoOo

As there are several OceanBase editions (community, enterprise, cloud, etc), to avoid confusing, I recommend this to use a more specific name like "OceanBase community edition" or OceanBase CE to differenciate. What do you think? @yuanoOo

Agree, I think this is a good suggestion.

@yuanoOo  Thanks for your idea and work!
I think creating a complete OB catalog is a long-term project. I have seen your design document, which is a good start. While refining the document, we may also need to further break down the implementation plan, which may require several PRs to complete.
So could you create an epic issue to track all related matters of the upcoming OB catalog? Thank you! Feel free to ping me if you have any questions!

@mchades Thank you for your suggestion. I have just created a corresponding EPIC issue: https://github.com/apache/gravitino/issues/4848

close this since it is duplicated with #4848


Possible to do this?

Is this is a possible use-case?
I'd like to take a list of blog post titles with dates and authors and tags and turn it into several formats, with tabs.
First an archived blog in a tree-like directory structure (with arrows for dropdown) with a count. For example:

2010 (23)
v  2011 (10)
January (1)
February (3)
March (2)
v October (4)
Post 1
Post 2
Post 3
Post 4

Second, arranged by author, with count. E.g.
> John Doe (5)
> Melissa Smith (5)
Third, arranged by tag, with count. E.g.
> cooking (2)
> crafts (4)
> sculpture (6)

Hmm, it does not sound like an ideal use case unfortunately. You can't really make "folders" in List.js, but you could probably use List.js as some kind of "backend" to a script that enables these features... hmm I think.

Not sure what you mean by folders... but could list.js re-arrange the blog entries by year then month then title and provide counts? -- I could bring in another script to create accordians to drop down the levels.
Elena Reeves-Walker

Tchopshop Media
1022 Antonine St.
New Orleans, LA 70115

504-891-0940
www.tchopshop.com
On Dec 21, 2011, at 12:25 PM, Jonny Strömberg wrote:

Hmm, it does not sound like an ideal use case unfortunately. You can't really make "folders" in List.js, but you could probably use List.js as some kind of "backend" to a script that enables these features... hmm I think.

Reply to this email directly or view it on GitHub:
https://github.com/javve/list/issues/29#issuecomment-3237496

List.js can sort the entries by title, author and date. But it can't group the entries by e.g author.

Ok, thank you!
Elena Reeves-Walker

Tchopshop Media
1022 Antonine St.
New Orleans, LA 70115

504-891-0940
www.tchopshop.com
On Dec 21, 2011, at 12:37 PM, Jonny Strömberg wrote:

List.js can sort the entries by title, author and date. But it can't group the entries by e.g author.

Reply to this email directly or view it on GitHub:
https://github.com/javve/list/issues/29#issuecomment-3237639


Rosa cluster: fix when user send full candidate version to cluster - 614

[Auto generated]
Number: [#614]

openshift-cli-installer(5FJhg)[PR 614]: Closing issue for PR: Rosa cluster: fix when user send full candidate version to cluster.
PR was closed.


Remove .columns file dependence

Having to read in a few numbers from a .columns file rather than via a config param is annoying, and a remnant of how DESC_BPZ does things.  It should be simple to remove the one or two things that are read from .columns and instead make those config params.

Looking at the code, it's even less involved than I thought, I thought that we read the names of the mags, mag_errs, and zp_offsets from the columns file, but I already moved those to config params, the only remaining thing in the .columns is the filter names, should be trivial to move that to a config param.

closed by #54


clarify confusing timeout note

In the README, the documentation for timeout states:

timeout - Integer containing the number of milliseconds to wait for a request to respond before aborting the request. Note that if the underlying TCP connection cannot be established, the OS-wide TCP connection timeout will overrule the timeout option (the default in Linux is around 20 seconds).

I am confused by this. I assume that this note is supposed to refer to the socket.connect() call timing out. http://linux.die.net/man/2/connect
However, in my testing it appears that request sets the timeout on the socket before the connect() call, so it times out via the integer setting.
var request;

request = require('request');

request.get({
  uri: 'http://<IP_ADDRESS>',
  timeout: 3000
}, function(err, res) {
  console.log(err);
  console.log(res);
});

I also tried with google.com:81. Both timed out after 3 seconds, which is definitely not the system timeout (nothing in my /etc/resolv.conf), and removing the timeout parameter means the queries hang for much longer.

Wondering if you are referring to the DNS lookup, which unfortunately won't respect timeouts set on the socket. However, if I am reading the code correctly the timeout is set in Node and should catch that error.


Problem install on node 6

Problem tring to install on node 6

Mac OSX El Capitan: v10.11.4

Versions. Please run ng --version. If there's nothing outputted, please
run in a Terminal:
 nvm: v0.31.0
 node --version: v6.0.0
 npm --version: v3.8.7
 npm info angular-cli: v0.0.34

Repro steps. Tell us exactly what you did and how you came to the failure.
If you can give us steps from the moment you created an empty application,
even better! Please try to be as descriptive as you can; this will avoid
unnecessary back and forth. Was this an app that wasn't created using the
CLI? What change did you do on your code? etc.
  npm i -g angular-cli

The log given by the failure. Normally this include a stack trace and some
more information.

`npm WARN deprecated<EMAIL_ADDRESS>This package has been discontinued in favor of<EMAIL_ADDRESS>npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v6.0. Please update to<EMAIL_ADDRESS>as soon as possible.
/Users/developer/.nvm/versions/node/v6.0.0/lib
└── (empty)
npm ERR! Darwin 15.4.0
npm ERR! argv "/Users/developer/.nvm/versions/node/v6.0.0/bin/node" "/Users/developer/.nvm/versions/node/v6.0.0/bin/npm" "i" "-g" "angular-cli"
npm ERR! node v6.0.0
npm ERR! npm  v3.8.7
npm ERR! path /Users/developer/.nvm/versions/node/v6.0.0/lib/node_modules/.staging/abbrev-4e3f7ee8
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/Users/developer/.nvm/versions/node/v6.0.0/lib/node_modules/.staging/abbrev-4e3f7ee8' -> '/Users/developer/.nvm/versions/node/v6.0.0/lib/node_modules/angular-cli/node_modules/npm/node_modules/abbrev'
npm ERR! enoent ENOENT: no such file or directory, rename '/Users/developer/.nvm/versions/node/v6.0.0/lib/node_modules/.staging/abbrev-4e3f7ee8' -> '/Users/developer/.nvm/versions/node/v6.0.0/lib/node_modules/angular-cli/node_modules/npm/node_modules/abbrev'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

Seems like a dupe of https://github.com/angular/angular-cli/issues/548. Can you check if the solution there works?

I alredy using nvm 0.31.0

Hm.... can you perhaps do npm cache clean and retry?

I managed to solve it.
I had angular-cli v0.0.33 installed, I uninstalled it and ran npm cache clean again. The error disappeared.
Thanks and sorry to bother you.

No bother at all, other users might have the same issue!


Readme links to outdated instructions for Node.js on Windows

Node Version: n/a
Platform: Windows
Compiler: n/a
Module: n/a

The README links to Microsoft's Node.js Guidelines for Windows:
https://github.com/nodejs/node-gyp/blob/e6f4ede10cca28e9edeaa85d7830914c5d1499c7/README.md?plain=1#L63
Looks to me like these instructions are highly outdated. For example, they tell us to install Python 2.7 which reached end-of-life back in 2020.

microsoft/nodejs-guidelines#106


Fix Unable to Start Maxscale Pod After add StorageClassName in MaxScale Config

#611

@mmontes11

@mmontes11 Thanks!


Translate Part 6 into Hindi

Hey @rcallaby ,
I can help you with all Hindi translation issues open, please assign me.
Thank you!


[P1] HTTP Uri - Camera Details is empty - Is the Http uri being shown?

I believe in the NUC of BCN the camera is configured with the HTTP Uri, however, when going to the Camera details, it shows up empty?

Related bug:
https://github.com/Azure/mec-app-solution-accelerator/issues/128

@CESARDELATORRE this field is only populated if provided during the configuration, if it's using the rtsp converter it's not adding anything. I've double check, creating a new camera and the field is populated

Closing


Stop Working  with SSL  error

integration stop with
Error requesting FusionSolarKiosk data: HTTPSConnectionPool(host='intl.fusionsolar.huawei.com', port=443): Max retries exceeded with url:  (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)')))

What is your kiosk url? Does this show a certificate error also?
My first guess would be your kiosk url is not correct.

Same issue:
Error requesting FusionSolarKiosk data: HTTPSConnectionPool(host='intl.fusionsolar.huawei.com', port=443): Max retries exceeded with url: /rest/pvms/web/kiosk/v1/station-kiosk-file?kk=[HIDDEN] (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)')))
Attempting to access that URL via PC browser has no issues.

Do you have access to the machine where your Home Assistant is running on? If so: can you try
curl -I https://intl.fusionsolar.huawei.com. If this throws an error I think your system is outdated.

Thanks tijsverkoyen, that led me down the right track. curl indeed did not work as the SSL intermediate certificate for "Actalis Organization Validated Server CA G3" was not available, even with sudo update-ca-certificates -f
Manually adding that certificate to HA python certifi package fixed the issue


Chat QNA React UI, with conversation history

Description
Chat QNA UI using react
Issues
n/a
Type of change
List the type of change like below. Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would break existing design and interface)

Dependencies

mantine/core
mantine/hooks
microsoft/fetch-event-source
reduxjs/toolkit
tabler/icons-react
axios
react
react-dom
react-redux

Tests
Describe the tests that you ran to verify your changes.

@WenjiaoYue @lvliang-intel please review.


chore: disable semantics pr check for cherry pick bot

Explanation
Disable semantics pr check for cherry pick bot.

/cherry-pick release-0.2


2020 Gsoc selections should be collapsed by default

Working on it.

PR made.Please verify.

closed  via #140


deploy using react-native run-ios

On deploying using

react-native run-ios

it gives an error of native module cannot be null.
Whereas on running it through Xcode using .xcworkspace file it works, although it takes a lot of time to build.
Is there any way in which I can deploy it like usual through command line without having to open Xcode each time to deploy, similar to your example app?
As running 2 of 4 custom shell scripts takes a lot of time during build.
Also on side note the client id for IOS and android are different and following ones should be selected
Android from  google-service.json
"oauth_client": [
      {
        "client_id": "ThisID",
        "client_type": 1,
        "android_info": {
          "package_name": "package name",
          "certificate_hash": "hashmap"
        }
      },

Ios from GoogleService-Info.plist
<key>CLIENT_ID</key>
	<string>ThisId</string>

Replace those Id here
await GoogleSignIn.configure({
                            clientID: 'ThatId',
                            scopes: ['openid', 'email', 'profile'],
                            shouldFetchBasicProfile: true,
                        });

I had received the linker error tried a lot of fixes so don't exactly remember what worked. Currently I remember the following 3.

run pod install again. (first time it hadn't run successfully.
#14 fix
was adding $(inherited) ${PODS_ROOT}/Google/Headers $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FirebaseAnalytics" "${PODS_ROOT}/Headers/Public/FirebaseCore" "${PODS_ROOT}/Headers/Public/FirebaseInstanceID" "${PODS_ROOT}/Headers/Public/GTMOAuth2" "${PODS_ROOT}/Headers/Public/GTMSessionFetcher" "${PODS_ROOT}/Headers/Public/Google" "${PODS_ROOT}/Headers/Public/GoogleAppUtilities" "${PODS_ROOT}/Headers/Public/GoogleInterchangeUtilities" "${PODS_ROOT}/Headers/Public/GoogleSignIn" "${PODS_ROOT}/Headers/Public/GoogleSymbolUtilities" "${PODS_ROOT}/Headers/Public/GoogleToolboxForMac" $(SRCROOT)/../node_modules/react-native-google-sign-in/ios/RNGoogleSignIn
as headers for both debug and release.

@eggybot  Try uninstalling the old build and install new build again.
As we are going offtopic here, if the problem still persists you can try Stackoverflow or PM me on my email, will try to help out as much as possible.

Not sure if this is the problem you guys are experiencing, but there's a problem with the default GoogleService-Info.plist that I was downloading from Firebase.  Basically the issue was that, because the default version has ads, analytics, app invite and communication all enabled it was then requiring the corresponding pods for all of them.
So to fix just go to the GoogleService-Info.plist you added to your project and disable them like below.

After I did this I just built in xcode just to make sure I wasn't getting those errors, and then I ran the react-native run-ios command and all was fine.  Hope this helps someone, I spent too much time monkeying with it!

When I get a native module cannot be null/is undefined, I usually make sure the library is linked. If you're certain it is linked, then do a rm -rf node_modules/ and a npm install and a complete reset on the simulator and the problem is usually resolved.  If all else fails, try closing and reopening xcode (if you're running it there). It's voodoo magic with react-native sometimes, this library isn't the issue.


Simple search returns items onlly with properties.datetime field

Dear all.
I have already opened an issue in stac-fastapi-elasticsearch  repository and I will report it here as well. See issue.

Simple search http://localhost:8000/search?limit=10 returns items onlly with properties.datetime field
In particular in line
https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/blob/987f0b924b45e3f63302758b6e63d38ba504964f/stac_fastapi/core/stac_fastapi/core/core.py#L593C12-L593C64
filter_kwargs = search_request.fields.filter_fields
filter_fields is equal to
{'exclude': {}, 'include': {'assets': Ellipsis, 'bbox': Ellipsis, 'collection': Ellipsis, 'geometry': Ellipsis, 'id': Ellipsis, 'links': Ellipsis, 'properties': {'datetime'}, 'stac_version': Ellipsis, 'type': Ellipsis}}

As a response i get the FeatureCollection
{
  "type": "FeatureCollection",
  "features": [ {
    "type": "Feature",
    "properties": {
      "datetime": "2015-07-04T10:10:06.027000+00:00"
    },
    . . .
  ]
  . . .
}

Shouldnt the filter_kwargs` be equal to
{'exclude': {}, 'include': {'assets': Ellipsis, 'bbox': Ellipsis, 'collection': Ellipsis, 'geometry': Ellipsis, 'id': Ellipsis, 'links': Ellipsis, 'properties': Ellipsis, 'stac_version': Ellipsis, 'type': Ellipsis}}

FYI.
The item has the following properties
"properties": {
  "sat:relative_orbit": 22,
  "start_datetime": "2015-07-04T10:10:06.027Z",
  "end_datetime": "2015-07-04T10:10:06.027Z",
  "processing:facility": "EPA_",
  "title": "S2A_MSIL2A_20150704T101006_N0204_R022_T30NYK_20150704T102420.SAFE",
  "platform": "Sentinel-2A",
  "view:sun_elevation": 30.130819756471,
  "datetime": "2015-07-04T10:10:06.027Z",
  "instruments": [],
  "constellation": "sentinel-2",
  "sat:orbit_state": "descending",
  "eo:cloud_cover": 84.456044,
  "grid:code": "MGRS-30NYK",
  "processing:level": "L2A",
  "view:incidence_angle": 9.82920248878181,
  "created": "2019-08-05T14:29:54Z",
  "sentinel:product_id": "S2A_MSIL2A_20150704T101006_N0204_R022_T30NYK_20150704T102420",
  "view:sun_azimuth": 49.058168068692,
  "sentinel:datastrip_id": "S2A_USER_MSI_L2A_DS_EPA__20160808T224207_S20150704T102420_N02.04",
  "sentinel:processing_baseline": "02.04",
  "proj:bbox": [],
  "proj:epsg": 32630,
  "bdap:additional_attributes": {},
  "processed": "2019-08-05T14:53:58.579614Z",
  "mission": "Sentinel-2",
  "view:azimuth":<PHONE_NUMBER>2834346,
  "gsd": 10,
  "sat:absolute_orbit": 162,
  "sentinel:acquisition_station": "EPA_"
}

Addendum:
I think it would be best to follow the  STAC API  specs https://api.stacspec.org/v1.0.0/item-search/ .
There are also implementations like STAC Browser that use the search endpoint in order to return items. As a user I would expect to see all the properties of an Item and filter them only if needed.

@vincentsarago What do you think?

I haven't encountered this in the past so I'll need to have a deeper look

👋 sorry for letting this stale a bit.
I think I have a bit more understanding of what's going on. I believe this is by design and can easily be overridden by users when setting the Fields Extension in their own application.

Explicitly get a valid STAC Item
Because implementations may choose to always include other fields (e.g., extension-specific fields such as sar), this could has the same effect as an empty object for fields.

ref: https://github.com/stac-api-extensions/fields?tab=readme-ov-file#explicitly-get-a-valid-stac-item
I think stac-fastapi default cannot please all the user but at least it enable as much customization as possible.
ext = [
    FieldsExtension(
        default_includes={
            "id",
            "type",
            "stac_version",
            "geometry",
            "bbox",
            "links",
            "assets",
            "properties",
            "collection",
        }
    )
]

api = StacApi(
    ...
    extensions=ext,
    ...
)

should be resolved now


Show used modules in scan report

Situation
Currently the reports do not indicate which modules (codeScan, webScan, secretScan, etc) have been used. This can lead to uncertainty for the user.
Example
A project uses the codeScan module. After a while the administrator also adds the secretScan module to that project. The user has no way of knowing that their code now runs through a second module.
Solution
The sechub report should indicate which modules were used.

@haerter-tss @Jeeppler
I would like to precise. Does this issue was resolved with help of #345 ?

@zigfridus yes, I think you are right. However, the problem is, that if no issues were found you do not know exactly what modules were active in the scan.

@Jeeppler
Do you mean that in the attched picture should be some information about used scan modules?


Add option to override base className

Fixed by https://github.com/Canutin/svelte-currency-input/pull/44


helm-e2e tests pass even though pod in CrashLoopBackOff

At the following link, click on "Show Created K8s Resources", and you'll see that st2web pod is stuck in CrashLoopBackOff, even though helm-e2e tests indicate passed.
https://circleci.com/gh/StackStorm/stackstorm-ha/530?utm_campaign=vcs-integration-link
Seems to me that the test should fail.

This issue is resolved in #72.


Add Replicate demo and API

Hey @YBYBZhang,
Great model!
This pull request makes it possible to run ControlVideo on the Replicate web demo (https://replicate.com/cjwbw/ControlVideo) and via API:
import replicate
model = replicate.models.get("cjwbw/ControlVideo")
model.predict(prompt=...)

We would also like to transfer the ownership of the Replicate page/model to your account so you could easily modify and push changes :) - let me know!

Thanks for your attention and the GREAT web demo for our work !
I will merge pull request to master branch.


Logitech option gestures feature

OS
macOS 14.4 (Build 23E214)
LinearMouse
v0.9.5
Is your feature request related to a problem?
No
Describe the solution you'd like
I'd like to have a gestures like logitech options+, that when i hold a mouse button (mouse 4, 5) and move to left or right so it can switch between desktop (same gestures swipe left or right with three fingers)
Thank you for all your hard work.
Describe alternatives you've considered
No response
Additional context
No response

Seems duplicated with #397.


Better generator update workflow?

Hi Yeoman,
Don’t know about all generators but the question about updating a project with a new version of the generator originally used is recurring for us on gulp-angular and FountainJS.
At start, I was thinking that users should read and understand the generated code for being able to maintain it. But since, I changed my mind observing that even myself would love to benefit of all evolutions since the start of the project.
Until today, when users ask me for this I simply link the @sindresorhus SO: http://stackoverflow.com/questions/18480316/how-to-upgrade-existing-project-scaffolded-with-yeoman but to be honest, it’s not really satisfying. The diff of any generated file which has been changed is quite unusable.
This problem was blocking to a colleague of mine @ncuillery on a React Native project started with a Yeoman generator. This generator handles obscure generated files very difficult to track. He worked on a solution which is described here<EMAIL_ADDRESS>Now he works on an even better solution working mostly like:

Run the generator in the current version (i.e. erase the user’s changes)
git commit
Run the generator in the new version
git commit
Create a diff patch between the two commits
Remove the 2 commits
Apply the generated patch

These two solutions are not tied up with React Native and could bring a really better experience to all Yeoman users. So I would like to open the discussion here to embed similar solution directly into Yeoman.
The main problem I see is that it requires Git and I don’t really know how to handle such a dependency. But what I’m sure is that Fountain users including me would be very happy to have a good diff solution to update their projects.

I'm faced with the exact same problem, just typically for Python projects. Sadly there has been zero activity on this IMHO extremely relevant problem. 🙁

This is how Copier addresses the update problem: https://copier.readthedocs.io/en/stable/updating/#how-the-update-works


mattermost role update

Description
Changes proposed in this pull request:

Updated docs for Botkube user Roles

Testing

Related issue(s)

Please also update docs for previous versions before merging:

v1.0: https://github.com/kubeshop/botkube-docs/blob/main/versioned_docs/version-1.0/installation/mattermost/index.md
v1.1: https://github.com/kubeshop/botkube-docs/blob/main/versioned_docs/version-1.1/installation/mattermost/index.md
v1.2: https://github.com/kubeshop/botkube-docs/blob/main/versioned_docs/version-1.2/installation/mattermost/index.md

Addressed, could you please take a look?


[Bug] What is the purpose of UNBOUND_UID and UNBOUND_GID, when you do not set anything else other than 1000 (default) in the container ?

Describe the bug
What is the purpose of UNBOUND_UID and UNBOUND_GID ?
From other containers (e.g. linuxserver/swag), you can specify UID and GID. These are then used by usermod / groupmod at runtime and assigned to the user running in the container. This allows for me to have e.g. UID/GID set to 1104 outside the container and setup folders and files as accessible for this UID/GID combo. Then I pass it to docker in the compose file and no permissions issues. Attempting to do the same does not work for your container. So why specify those as optional at all and list them in your example docker-compose.yml files ? It gives the wrong impression and can lead to difficult to diagnose permissions problems.
Also non-system users start from 1000, so it is common to have already other user at 1000 UID/GID outside docker.
The only other thing I can think of: one can set them if one uses your Dockerfile to build locally...
For reference: Link
To Reproduce
Steps to reproduce the behavior:
pass UID/GID other than 1000 (default) in docker-compose.yml --> permissions mayhem --> unbound is not starting
Expected behavior
Passing UID/GID other than 1000 (default) in docker-compose.yml will set those UID and GID to the user running in the container
Please complete the following information:

Device: Rpi 3B
OS: Debian Bookworm
Architecture: arm64

Yeah, you are absolutely right, I'll make it more clear in the documentation.

May I also suggest, not using the default 1000 when building the container ?
Up to 999 is "reserved" for system accounts, services etc. Maybe use something in the 800s or 900s, so as to not colide with anything outside docker. Then the user can create this UID/GID outside docker and assign the permissions accordingly.

May I can manage to get the GID/UID stuff running properly for changing the given IDs. I'll take a look in it.
Thank you again for your heads-up!

Maybe you could have a look at the docker --user flag - here.
For now, I personally use the group_add directive from docker-compose, to add the _unbound user to a GID, inside the container.
For example:
image: madnuttah/unbound:latest
...
group_add:
  - 1234
...

I then set permissions to 660/770 for files/folders with UID/GID=1234 outside the container. Seems to work OK.

Thanks again, it's very appreciated! I'll do some tests.

Hey @shadarim, I've changed the texts and linked a known issue to your comment as a workaround.
Thank you.

I've made some progress and it's looking good so far @shadarim.
If there are variables set in the compose file or the command, the _unbound user gets updated and the folder permissions get set for the chosen uid/gid. The changes went into the canary build and the image will be available tonight at about 20:00 UTC.
I'm using an entrypoint script where I user&groupmod as root, set the permissions and then start the unbound process as user _unbound.
Would you mind testing it then?
Thank you.

That commit enables the custom UID/GID feature by passing environment variables to the container besides the possibility to define build args.

Hi, I'm on vacation right now. I'm gonna try to test this next weekend and let you know.
From quick glance at the script.. Not exactly sure what the point of DISABLE_SET_PERMS (and the whole if-else for that matter) is? Can you explain?
It creates the possibility to run as root if user: _unbound is not set, as you point out in the doc. So is it like a new feature?

Hey there and thanks for your answer and interest still!
There will be folder permissions set on container start for the given env vars UNBOUND_UID and UNBOUND_GID if the env var DISABLE_SET_PERMS isn't set or is set to false. For permission actions, root permissions are needed, so the container initializes with root, sets permissions and starts Unbound with user _unbound then. For users which need a rootless container just like it was before, the env var disables the setting of permissions and starts the whole container including Unbound using the _unbound account, it will be UID/GID for compatibility reasons, though. A drawback or benefit (one can decide) is that if you don't set the user _unbound explicitly in your compose or run command, the container is executed completely under root. It's a special use case but this makes the image even more versatile.
Sorry for disturbing you on your vacation. I'll keep this open until then.
Hope you like it!

I could imagine use cases where the container should be completely initialized and run rootless, so that's done already too, also the opposite 'rootful' usage.
Nice that it works for you, I'll close this then. Thank you again.


HDFS-17560: RBF: When CurrentCall does not include StateId, it can still send requests to the Observer.

JIRA: HDFS-17560.
When the size of the federated state propagated to the client exceeds maxSizeOfFederatedStateToPropagate, all requests are forwarded to the active NameNode. I don't think this is very reasonable.When enabling Observer read and there is no FederatedState propagated to the client, advanceClientStateId can use sharedGlobalStateId to assign poolLocalStateId and send the request to the Observer.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 55s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
45m  6s

trunk passed

+1 :green_heart:
compile
0m 41s

trunk passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
compile
0m 38s

trunk passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
checkstyle
0m 32s

trunk passed

+1 :green_heart:
mvnsite
0m 45s

trunk passed

+1 :green_heart:
javadoc
0m 44s

trunk passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javadoc
0m 34s

trunk passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
spotbugs
1m 22s

trunk passed

+1 :green_heart:
shadedclient
34m  2s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 33s

the patch passed

+1 :green_heart:
compile
0m 33s

the patch passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javac
0m 33s

the patch passed

+1 :green_heart:
compile
0m 29s

the patch passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
javac
0m 29s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 19s

the patch passed

+1 :green_heart:
mvnsite
0m 34s

the patch passed

+1 :green_heart:
javadoc
0m 29s

the patch passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javadoc
0m 24s

the patch passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
spotbugs
1m 21s

the patch passed

+1 :green_heart:
shadedclient
33m 50s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
32m 42s

hadoop-hdfs-rbf in the patch passed.

+1 :green_heart:
asflicense
0m 39s

The patch does not generate ASF License warnings.

159m 18s

Subsystem
Report/Notes

Docker
ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6905/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6905

JIRA Issue
HDFS-17560

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 75d5081897d9 5.15.0-106-generic #116-Ubuntu SMP Wed Apr 17 09:17:56 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 8919327bbc786581062aec1e278656d8c27b9b39

Default Java
Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6905/1/testReport/

Max. process+thread count
4603 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs-rbf U: hadoop-hdfs-project/hadoop-hdfs-rbf

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6905/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@omalley @simbadzina @goiri Master, please help me review this PR.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m  6s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
44m 30s

trunk passed

+1 :green_heart:
compile
0m 39s

trunk passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
compile
0m 37s

trunk passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
checkstyle
0m 28s

trunk passed

+1 :green_heart:
mvnsite
0m 41s

trunk passed

+1 :green_heart:
javadoc
0m 44s

trunk passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javadoc
0m 30s

trunk passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
spotbugs
1m 25s

trunk passed

+1 :green_heart:
shadedclient
34m 15s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 33s

the patch passed

+1 :green_heart:
compile
0m 34s

the patch passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javac
0m 34s

the patch passed

+1 :green_heart:
compile
0m 31s

the patch passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
javac
0m 31s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 19s

the patch passed

+1 :green_heart:
mvnsite
0m 34s

the patch passed

+1 :green_heart:
javadoc
0m 30s

the patch passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javadoc
0m 26s

the patch passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
spotbugs
1m 28s

the patch passed

+1 :green_heart:
shadedclient
34m 10s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
32m 49s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt
hadoop-hdfs-rbf in the patch passed.

+1 :green_heart:
asflicense
0m 39s

The patch does not generate ASF License warnings.

159m 21s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.federation.router.TestRouterRpcMultiDestination

Subsystem
Report/Notes

Docker
ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6905/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6905

JIRA Issue
HDFS-17560

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 6c8f029cbd45 5.15.0-106-generic #116-Ubuntu SMP Wed Apr 17 09:17:56 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 878d643aac7ca5f8205b339a0dba2e8b919ab410

Default Java
Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6905/3/testReport/

Max. process+thread count
3540 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs-rbf U: hadoop-hdfs-project/hadoop-hdfs-rbf

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6905/3/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m  4s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
44m 40s

trunk passed

+1 :green_heart:
compile
0m 38s

trunk passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
compile
0m 39s

trunk passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
checkstyle
0m 30s

trunk passed

+1 :green_heart:
mvnsite
0m 44s

trunk passed

+1 :green_heart:
javadoc
0m 42s

trunk passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javadoc
0m 32s

trunk passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
spotbugs
1m 26s

trunk passed

+1 :green_heart:
shadedclient
34m 30s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 30s

the patch passed

+1 :green_heart:
compile
0m 34s

the patch passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javac
0m 34s

the patch passed

+1 :green_heart:
compile
0m 32s

the patch passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
javac
0m 32s

the patch passed

+1 :green_heart:
blanks
0m  1s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 19s

the patch passed

+1 :green_heart:
mvnsite
0m 33s

the patch passed

+1 :green_heart:
javadoc
0m 28s

the patch passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javadoc
0m 24s

the patch passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
spotbugs
1m 30s

the patch passed

+1 :green_heart:
shadedclient
34m 22s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
35m  4s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt
hadoop-hdfs-rbf in the patch passed.

+1 :green_heart:
asflicense
0m 40s

The patch does not generate ASF License warnings.

162m  5s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.federation.router.TestRenewLeaseWithSameINodeId

hadoop.hdfs.server.federation.router.TestRouterClientRejectOverload

Subsystem
Report/Notes

Docker
ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6905/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6905

JIRA Issue
HDFS-17560

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 759dc918d2bf 5.15.0-106-generic #116-Ubuntu SMP Wed Apr 17 09:17:56 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 878d643aac7ca5f8205b339a0dba2e8b919ab410

Default Java
Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6905/2/testReport/

Max. process+thread count
3716 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs-rbf U: hadoop-hdfs-project/hadoop-hdfs-rbf

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6905/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus test

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
17m  0s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
44m 50s

trunk passed

+1 :green_heart:
compile
0m 42s

trunk passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
compile
0m 39s

trunk passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
checkstyle
0m 31s

trunk passed

+1 :green_heart:
mvnsite
0m 42s

trunk passed

+1 :green_heart:
javadoc
0m 43s

trunk passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javadoc
0m 34s

trunk passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
spotbugs
1m 24s

trunk passed

+1 :green_heart:
shadedclient
34m 19s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 33s

the patch passed

+1 :green_heart:
compile
0m 32s

the patch passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javac
0m 32s

the patch passed

+1 :green_heart:
compile
0m 30s

the patch passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
javac
0m 30s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 19s

the patch passed

+1 :green_heart:
mvnsite
0m 33s

the patch passed

+1 :green_heart:
javadoc
0m 30s

the patch passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javadoc
0m 24s

the patch passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
spotbugs
1m 22s

the patch passed

+1 :green_heart:
shadedclient
34m 11s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
32m 23s

hadoop-hdfs-rbf in the patch passed.

+1 :green_heart:
asflicense
0m 40s

The patch does not generate ASF License warnings.

175m  9s

Subsystem
Report/Notes

Docker
ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6905/4/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6905

JIRA Issue
HDFS-17560

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux e2fd359cef14 5.15.0-106-generic #116-Ubuntu SMP Wed Apr 17 09:17:56 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 171dac31dc31f17ca7caf642f840cc2955fac75a

Default Java
Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6905/4/testReport/

Max. process+thread count
4321 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs-rbf U: hadoop-hdfs-project/hadoop-hdfs-rbf

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6905/4/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


Try to modernize the codebase

Changed sizeof *myvar to sizeof(ref'ed type) as it makes it easier to understand the intend.
Replaced broken link to raylib wiki.
Use an explicit if-else statement. Again for brevity.

The checks in:
https://github.com/raylib-extras/rmem/blob/222dc462f2db55244d937a898eaff2dc1461975a/src/rmem.h#L736
https://github.com/raylib-extras/rmem/blob/222dc462f2db55244d937a898eaff2dc1461975a/src/rmem.h#L754
shouldn't include equality imo, since this way we leave the last remaining memory underutilized.
I,e, you can have a buffer of size 1024 and you have allocated 1016 bytes already but you can't use the last 8.

I have stopped using this module.


Question in replicate experiment

Hello, I tried to follow the README to replicate your experiments, but when I run python interactive_with_constraints.py, it was blocked, when I check GPU states I found the program was running in GPU, I think it should be a fast process, how to solve it?
My environment is Python 3.6, Pytorch 1.4.0, CUDA version is 10.1 and driver version is  430.64.
Hope for your answer.

sry, it's my fault, I'll close this issue.


Hello Joshua - How is WPM calculated? Something doesn't fully add up.

Dear Joshua, I just did a test with a metronome at 85BPM. And as you can see I typed 170 incorrect words on a 2 min exercise. Even in that case it says the WPM is 68WPM? Shouldn't it be 85 WPM?  I did another test with 60 correct words on a 2min exercise and instead of 30WPM it came out to 25WPM. I then did another test with longer words, wrote 60 and came out to 38WPM this time. It's as if the WPM were calculated based on a parameter other than actual words! I don't know how to read code that's why I ask :S Thank you
screencapture-joshuagrams-github-io-steno-jig-learn-plover-html-2020-03-30-12_51_32.pdf

Ok I actually looked at the files and was surprised to be able to understand that every 5 characters is counted as a word! Understood! Thank you.

Yes, just counting characters (including spaces and punctuation) and dividing by 5 is the standard for typing competitions and such. It avoids the inconsistency of some words being longer than others. And for most English texts it comes out within 10% or so of the actual value, so it's a decent compromise.

Thank you so much for the detailed explanation Joshua.
On Mon, Mar 30, 2020 at 2:24 PM Joshua Grams<EMAIL_ADDRESS>wrote:

Yes, just counting characters (including spaces and punctuation) and
dividing by 5 is the standard for typing competitions and such. It avoids
the inconsistency of some words being longer than others. And for most
English texts it comes out within 10% or so of the actual value, so it's a
decent compromise.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/JoshuaGrams/steno-jig/issues/40#issuecomment-605967766,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AORAF2TOIQKCMLPXV74HGYDRKCFQHANCNFSM4LWPXKKQ
.


Show an error when all hotels query fails

Checklist:

[ ] it works in landscape and portrait mode
[ ] it works offline (if possible) otherwise cacheConfig.force=true is used

Please test these changes in Expo after build has finished:

exp://exp.host/@mrtnzlml/code-review-allhotels-error

Please deal only with 404 situations. I will send PR with partial errors handling soon (it's not possible to handle it during render phase - it's too late).


Soul count shown with GUIs hidden

I've recently discovered how to hide the artifact and soul GUIs via a resource pack, but the number of held souls appears on screen with the elements hidden:

Going to assume this was just a leftover from applying the resource pack while the game was open, as it has since vanished from my screen.


Optimize Tween calculations by caching some divisions

Reducing the number of divisions in some rows can reduce the calculation cost.
It would be possible to turn division into multiplication, but since it was pointed out that this would cause problems in physics calculations, nothing is done here.

Are the same calculations in the same row optimized? I remember that optimization about math was turned off by default for physics. I will measure it later.

I have tested the following code and there seems to be a minute speed improvement.
gdscript
func _process(delta):
	for i in range(1000000):
		var d = randf()
		var t = d * 0.75
		Tween.interpolate_value(t, randf(), randf(), d, Tween.TRANS_BOUNCE, Tween.EASE_IN_OUT)

Before: 245 ~ 260 ms

After fix: 235 ~ 250 ms


XMPP User can't join Matrix Rooms with uppercase letter in the adress.

Describe the bug
When the adress-name of a Matrix-Room contains uppercases, xmpp users can't join the Room.
To Reproduce
Create a public Room in Matrix with a uppercase adress and try to join this room with a xmpp account.
You will see a error like this in the logs:
Aug-29 22:22:29.518 INFO ServiceHandler Handling iq request
Aug-29 22:22:29.518 INFO GatewayHandler Trying to discover #betterkingde:matrix.org
Aug-29 22:22:29.633 WARN bridge [-] GET https://aria-net.org/_matrix/client/r0/directory/room/%23betterkingde%3Amatrix.org (AS) HTTP 404 Error: "{\"errcode\":\"M_NOT_FOUND\",\"error\":\"Room alias #betterkingde:matrix.org not found\"}"
Aug-29 22:22:29.634 WARN GatewayHandler Room not found: M_NOT_FOUND: Room alias #betterkingde:matrix.org not found
    at parseErrorResponse (/app/node_modules/matrix-js-sdk/lib/http-api.js:827:13)
    at /app/node_modules/matrix-js-sdk/lib/http-api.js:782:17
    at /app/node_modules/matrix-js-sdk/lib/http-api.js:716:9
    at Request._callback (/app/node_modules/matrix-appservice-bridge/src/components/client-factory.ts:119:17)
    at Request.self.callback (/app/node_modules/request/request.js:185:22)
    at Request.emit (events.js:400:28)
    at Request.<anonymous> (/app/node_modules/request/request.js:1154:10)
    at Request.emit (events.js:400:28)
    at IncomingMessage.<anonymous> (/app/node_modules/request/request.js:1076:12)
    at Object.onceWrapper (events.js:519:28) {
  errcode: 'M_NOT_FOUND',
  data: {
    errcode: 'M_NOT_FOUND',
    error: 'Room alias #betterkingde:matrix.org not found'
  },
  httpStatus: 404
}

Source:
https://matrix.to/#/!vKsKNErebdRaQvsUkQ:half-shot.uk/$1kTcPGTZmWlpEPxqtPcyAfqlkNg0_fag4lyGl7tRUsA?via=half-shot.uk&via=matrix.org&via=libera.chat
Expected behavior
You should be able to join a room with uppercase letter.
e.G. This could be archived by a "Escape"symbol which is written before the Uppercase letter.
Additional context
A Workaround would be creating a local adress for the Matrix Room with only lower cases.
(Copy of https://github.com/matrix-org/matrix-bifrost/issues/281 )

Won't fix, XMPP servers auto normalize room JIDs so it's impossible to join legacy rooms with uppercase letters into the alias. They should add aliases that don't contain uppercase letters.


Use grpc to improve the performance of network communication between Tidb and Tikv

Refer to issue #771 point 1.

We may wait a very long time for rust supporting grpc .......
I think we try supporting pipeline first.

We'd better switch to protocol buffer version 3 if we are going to support gRPC.


Increase max Celery concurrency and memory

https://ocd.appscale.com:8080/job/Daily Build/2548/

Build: https://ocd.appscale.com:8080/job/Daily Build/2549/

OCD build https://ocd.appscale.com:8080/job/Daily Build/2563/


Fix for exceptions thrown for new miners

Fix for #3.
Logs warnings and exposes default values.

Closing, I think you need to do local development before pushing dev work on an open PR.


Emit event to stop drawing

[x] I'm reporting a bug, not asking for help
[x] I've looked at the documentation to make sure the behaviour is documented and expected
[x] I'm sure this is a Leaflet Draw code issue, not an issue with my own code nor with the framework I'm using (Cordova, Ionic, Angular, React…)
[x] I've searched through the issues to make sure it's not yet reported

when I draw a line using the polyne drawing I would like the "drawing" mode to be deactivated immediately as soon as I select the second point of the line (as I do in line 101 of the code). How do I make a library event propagate? And above all on what element should I have it emitted?
https://codesandbox.io/s/romantic-jepsen-7esnz
How to reproduce

Leaflet version I'm using: 1.0.3
Leaflet Draw version I'm using: 1.0.4
Browser (with version) I'm using: Chrome 85.0.4183.121

Solved, hope that can be useful to someone
Trigger the second click automaticcally to complete the shape
`mymap.on(L.Draw.Event.DRAWVERTEX, function (e) {
const layerIds = Object.keys(e.layers._layers);

if (layerIds.length > 1) {

    const secondVertex = e.layers._layers[layerIds[1]]._icon;

    requestAnimationFrame(() => secondVertex.click());

}

});`


Establish review process

We should establish a review process where every patch must be reviewed by someone else. Changes should, if possible, have tests to verify the behavior.

Each project owner is a reviewer. Patches don't get in without a review. Patches must have test coverage.


IsVisible not retained on window creation

Summary
I think this is a regression of #66
When the below code is ran with IsVisible = false, the window still appears. I figured the window didn't get created until after OnLoad (so I added IsVisible to OnLoad) or there was a Hide and Show function, but I was surely wrong when the window appeared, then subsequently disappeared.
public static void Main(string[] args)
{

	GraphicsAPI capi = new GraphicsAPI(
		ContextAPI.OpenGL,
		ContextProfile.Core,
		ContextFlags.ForwardCompatible,
		new APIVersion(4, 6)
		);

	WindowOptions wo = WindowOptions.Default;
	wo.IsVisible = false;
	wo.Size = new Vector2D<int>(800, 600);
	wo.Title = "OpenGL";
	wo.FramesPerSecond = 120;
	wo.UpdatesPerSecond = 120;
	wo.IsEventDriven = true;
	wo.Samples = 16;
	wo.VSync = true;
	wo.ShouldSwapAutomatically = false;
	wo.API = capi;

	window = Window.Create(wo);
	window.IsVisible = false;
	window.Load += OnLoad;
	window.Update += OnUpdate;
	window.Render += OnRender;
	window.Closing += OnClosing;
	window.Run();

}

Steps to reproduce

Platform: Windows Desktop
Framework Version: .NET Core 6.0
API: OpenGL
API Version: OpenGL 4.6 Core Forward Compatible
Full Code here: https://pastebin.com/fHBDKdJH

Comments
Issue persists despite removing all Options including WindowOptions.API keeping only IsVisible = false.

This was fixed in #902, pending release by a maintainer.

Oh okay. I searched but that title doesn't contain any useful key words. Sorry!

Haha no worries :D


qbittorrent: 3.2.3 -> 3.3.1

upstream has switched to qt5 as default, so also done here
Adds a patch to use the qt lrelease tool correct

Hm, did you try building it?
$ nix-build -A qbittorrent
error: attribute ‘base’ missing, at /home/bfo/nixpkgs/pkgs/applications/networking/p2p/qbittorrent/default.nix:22:45
(use ‘--show-trace’ to show detailed location information)

I did build it, but only on current unstable (93d8671). I will try building with master and fix the errors

Rebased against master and made it build, so it should be good now.

The travis check failed, but it does not look like it is my fault. Some python error in nox

@simonvandel: Ok. (That happens when the channel lags.) Pushed to master (fecea0b305940e92234218e27fede564518569c5), thanks!


Composite serialization bugs

I ran into a few issues when I tried to put a macro as the body node in a for-loop, just a couple of bugs in the (de)serialization. The actual fixes are just a couple lines, and the rest is tests that fail when the bugfixes aren't there.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
10 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.1%) to 92.361%

Files with Coverage Reduction
New Missed Lines
%

nodes/for_loop.py
3
98.03%

nodes/composite.py
7
91.13%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
3192

Relevant Lines:
3456

💛  - Coveralls


Total executions and failures included in value constraints proto messages

Description
Total executions and failures of the value constraints (multi column constraints as well) included in the proto messages
Addressing: https://github.com/whylabs/whylogs/issues/445

General Checklist

[ ] Tests added for this feature/bug
if it was a bug, test must cover it.
[ ] Conform by the style guides, by using formatter
[ ] Documentation updated
[ ] (optional) Please add a label to your PR

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

8 of 8 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 82.526%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
4767

Relevant Lines:
5626

💛  - Coveralls


[chore](multi catalog) Improve network interface detection in Hive container script

Proposed changes
Issue Number: close #xxx
Improved the network interface detection logic in the run container script to better support systems with multiple network interfaces (such as eth0, eth1, etc.).

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


docs: added pr label workflow

Related Issue

Fixes #83  .

Proposed Changes

Added GitHub Actions workflow to add GSSOC21 label in PRs.

Checklist

[x] Tested
[x] No Conflicts
[x] Change In Code
[ ] Change In Documentation

I think pull_request_target event is triggered only when the PR is opened on the base repo, that's why it is not working for me.
See this: nf-core/tools#765
How can we test this action?

I am merging this PR and testing it.

Working

Great 🎉


Hidden variables show up in group/filter list via the settings screen.

Hey Spencer, how do you want me to test this?

go to the settings screen, hide a variable, then set it as a group and/or filter.

Expected Outcome: When a user hides a variable, it cannot be set as a group and/or filter
Result: Pass


Condensed font family switching/setting for smaller viewports

Until we have true variable open sourced mono spaced fonts and the spec that goes with it I think it would be nice if we have along with setting the font family and size, there could be a condensed font family setting for smaller viewports.
It is a bit related to: https://github.com/zeit/hyper/issues/175
This gives a source for some good options for condensed fonts: http://graphicdesign.stackexchange.com/questions/28456/a-good-monospace-condensed-and-open-source-typeface
This can currently be done with:
     termCSS: '
      @media (max-width: 600px) {
        x-row {
          font-family: 'm+ 1m';
        }
      }
    `,

This however currently has a rendering bug in it:


Improve print CSS

This looks like a good library to use http://bafs.github.io/Gutenberg/ Should make print-outs from a page more presentable

After a brief bit of testing is appears the printed result of each page is fine. Print preview shows something clean in one column and shows everything it would need to, hiding elements would cause problems if someone wanted to print out Disqus comments or other contextual elements


chore: update GitHub Actions CI + remove redundant job

The following updates are performed:

update actions/checkout to v3
replace unmaintained actions-rs/toolchain by dtolnay/rust-toolchain
replace unmaintained actions-rs/cargo by direct invocations of cargo

Still using the outdated / unmaintained actions will generate several warnings in CI runs, for example in https://github.com/alexkirsz/dispatch/actions/runs/4903327790:

Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.

The PR will get rid of those warnings.
Futhermore, the redundant combo job is removed, because just does what the the two previous jobs ('ClippyandFormat`) in the same workflow do, so there's no need to keep it.

Thanks for the contribution!


[Bug]

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the issue
I've upgraded from 0.5.0 to 0.7.0 and in 0.6.0 you've implemented some new tests. One of which is the unique combination of columns on the stg_pinterest_ads__keyword_report model for the following columns:
- date_day
- keyword_id
- ad_group_id
- campaign_id
- advertiser_id
In our implementation, that errors out with 466K records. In checking our data it becomes unique when you add in pin_promotion_id. I haven't been able to find any documentation to verify my thought that it's not unique without pin_promotion_id, but I'm curious to know if you found documentation that specifies the 5 fields above as unique.
Relevant error log or model output
No response
Expected behavior
I expect the test to error out if it fails. I'm just curious if the test should include an additional field.
dbt Project configurations
name: 'mathis_brothers_dbt'
version: '1.0.0'
config-version: 2
profile: 'mathis'
model-paths: ["models"]
analysis-paths: ["analyses"]
test-paths: ["tests"]
seed-paths: ["seeds"]
macro-paths: ["macros"]
snapshot-paths: ["snapshots"]
target-path: "target"  # directory which will store compiled SQL files
clean-targets:         # directories to be removed by dbt clean

"target"
"dbt_packages"

models:
mathis_brothers_dbt:
reporting:
materialized: view
+schema: reporting
intermediate:
+schema: intermediate
marts:
ga4:
events:
org_specific:
+schema: custom_events
staging:
ga4:
events:
org_specific:
+schema: stg_custom_events
admind_dbt_ga4:
staging:
+schema: staging
ga4:
stg_ga4__events:
materialized: table
stg_ga4__event_params:
materialized: table
stg_ga4__event_user_properties:
materialized: table
marts:
ga4:
aggregated_reports:
+schema: reporting
processed_events:
+schema: reporting
intermediate:
+schema: intermediate
events:
admind_standard:
+schema: custom_events
builtin:
+schema: standard_events
ecommerce:
+schema: ecommerce
vars:
admind_dbt_ga4:
ga4_enums:
ui_name: 'Google Analytics 4'
db_name: 'ga4'
system_type: 'web_analytics'
not_set_value: '(not set)'
ga4_sources:
  # Note this currently only supports a single ga4 source.
  - name: ga4
    ui_name: Mathis Brothers
    business_unit: Mathis Brothers
    schema: analytics_272698041
    # optional database if different than target
    # database: YOUR_DATABASE
ga4_marts:
# To inject org-specific logic into a mart:
# Build an intermediate table(s),
# add an entry here for the mart name,
# use the `source_model` parameter to specify the intermediate table
  ga4__events:
    source_model: int__ga4__events
  ga4__event__1000_dollar_survey:
    source_model: int__ga4__event__1000_dollar_survey

ga4_config:
  ga4_start_date: '20220920'
  ga4_timezone: 'America/Denver'
  ga4_client_timestamp_parameter: 'client_timestamp_millis'
  # GA4 adMind-Specific Config
  ga4_engagement_max_seconds_per_event: 15

  builtin_events:
    - name: click
      event_params:
        - name: outbound
        - name: link_classes
        - name: link_domain
        - name: link_url
        - name: click_element
        - name: link_id
        - name: click_region
        - name: click_tag_name
        - name: click_url
        - name: file_name
      user_properties: [ ]
    - name: file_download
      event_params:
        - name: file_extension
        - name: file_name
        - name: link_classes
        - name: link_domain
        - name: link_id
        - name: link_text
        - name: link_url
      user_properties: [ ]
    - name: first_visit
      event_params: [ ]
      user_properties: [ ]
    - name: page_view
      event_params: [ ]
      user_properties: [ ]
    - name: scroll
      event_params:
        - name: percent_scrolled
          key: int_value
      user_properties: [ ]
    - name: session_start
      event_params: [ ]
      user_properties: [ ]
    - name: user_engagement
      event_params: [ ]
      user_properties: [ ]
    - name: video_complete
      event_params: [ ]
      user_properties: [ ]
    - name: video_complete
      event_params:
        - name: video_current_time
          key: int_value
        - name: video_duration
          key: int_value
        - name: video_percent
          key: int_value
        - name: video_url
        - name: video_provider
        - name: vide_title
        - name: visible
      user_properties: [ ]
    - name: video_start
      event_params:
        - name: video_current_time
          key: int_value
        - name: video_duration
          key: int_value
        - name: video_percent
          key: int_value
        - name: video_url
        - name: video_provider
        - name: vide_title
        - name: visible
      user_properties: [ ]
    - name: view_search_results
      event_params:
        - name: search_term
        - name: unique_search_term
      user_properties: [ ]

  ecommerce_events:
    # Standard ecommerce events listed here will trigger creation of staging and marts with specific fields for
    # each event type as documented here https://developers.google.com/analytics/devguides/collection/ga4/reference/events
    # If desired, additional event_params and user_properties can be added as with other events.
    - name: add_payment_info
    - name: add_shipping_info
    - name: add_to_cart
    - name: add_to_wishlist
    - name: begin_checkout
    - name: purchase
    - name: refund
    - name: remove_from_cart
    - name: select_item
    - name: select_promotion
    - name: view_cart
    - name: view_item
    - name: view_item_list
    - name: view_promotion

  custom_events:
    # adMind Standard
    # - name: engagement
    #   event_params:
    #     - name: engagement_time_msec
    #       key: int_value
    #   user_properties: [ ]
    # - name: ip_address_received
    #   event_params:
    #     - name: ip_address
    #   user_properties: [ ]
    # Org Specific events go here
    - name: video_progress
      event_params:
      - name: video_url
      - name: video_title
      - name: video_current_time
        key: int_value
      - name: video_duration
        key: int_value
      - name: visible
      - name: video_provider
      - name: video_percent
        key: int_value
    - name: apply for financing
      event_params:
      - name: click text
    - name: zipCodeApply
      event_params:
      - name: tax
        key: double_value
      - name: shipping
        key: double_value
      - name: zip_code
        key: int_value

- name: $1000 Survey
event_params:
- name: URL
- name: User ID
key: int_value
  channel_grouping:
    - channel: Paid Search - Branded
      column_rules:
        - column: source
          regex_pattern: "google|bing|yahoo|msn|gemini"
        - column: medium
          regex_pattern: "cpc"
        - column: campaign
          regex_pattern: "[Bb]rand"
    - channel: Paid Search - Non-Branded
      column_rules:
        - column: source
          regex_pattern: "google|bing|yahoo|msn|gemini"
        - column: medium
          regex_pattern: "cpc"
    - channel: Paid Social
      column_rules:
        - column: source
          regex_pattern: "facebook|twitter|linkedin|yelp|yotpo|igshopping|tiktok|instagram|reddit"
        - column: medium
          regex_pattern: "cpc|paid"
    - channel: Organic Social
      column_rules:
        - column: source
          regex_pattern: "facebook|twitter|linkedin|yelp|yotpo|igshopping|tiktok|instagram|reddit"
    - channel: Organic Social
      column_rules:
        - column: referrer
          regex_pattern: facebook|twitter|linkedin|yelp|yotpo|igshopping|tiktok|t\.co|instagram|reddit
    - channel: Display - Retargeting
      column_rules:
        - column: source
          regex_pattern: "display|cpm|banner|google|tabola"
        - column: campaign
          regex_pattern: "remarketing|retargeting"
    - channel: Display - Marketing
      column_rules:
        - column: medium
          regex_pattern: "display|cpm|banner"
        - column: campaign
          regex_pattern: "display"
    - channel: Email
      column_rules:
        - column: medium
          regex_pattern: email|Email
    - channel: Organic Search
      column_rules:
        - column: referrer
          regex_pattern: search|duckduckgo\.com|start\.att\.net|ecosia\.org|msn\.com|dogpile\.com|wowway.com|cox\.net|hidemyhistory\.co|start\.me|yandex|bing|google|360\.cn|alice\.com|aliceadsl\.fr|alltheweb\.com|altavista\.com|aol\.com|ask\.com|search\.aol\.fr|alicesuche\.aol\.de|baidu|biglobe|centrum\.cz|cnn\.com\/SEARCH|daum\.net|ecosia|ekolay|eniro\.se|globo\.com\/busca\/|go\.mail\.ru|goo\.ne\.jp|haosou\.com|kavsir\.no|mynet|najdi|naver\.com|szukaj\.onet\.pl|rakuten\.co\.jp|search-results|sesam|seznam|so\.com\/s|sogou|startsiden|szukacz|buscador\.terra\.com|voila\.fr|wp\.pl|yahoo|yam\.com|duckduckgo
    - channel: Organic Search
      column_rules:
        - column: medium
          regex_pattern: "organic"
        - column: source
          regex_pattern: "google|bing|yahoo|msn|gemini|duckduckgo"
    - channel: Direct
      column_rules:
        - column: source
          regex_pattern: "direct"
    - channel: Referral
      column_rules:
        - column: referrer
          regex_pattern: ".{1}"  # hacky not null regex

  columns_to_keep_on_all_event_dim_tables:
    - event_id
    - event_name
    - event_timestamp
    - event_value_in_usd
    - user_id
    - user_pseudo_id
    - ga_session_id
    - ga_session_number
    - privacy_info_analytics_storage
    - privacy_info_ads_storage
    - privacy_info_uses_transient_token
    - device_category
    - device_mobile_brand_name
    - device_mobile_marketing_name
    - device_mobile_model_name
    - device_operating_system
    - device_operating_system_version
    - device_language
    - device_is_limited_ad_tracking
    - device_advertising_id
    - device_vendor_id
    - device_browser
    - device_browser_version
    - geo_continent
    - geo_country
    - geo_region
    - geo_city
    - geo_sub_continent
    - stream_id
    - platform
    - business_unit
    - page_title
    - page_url
    - page_referrer
    - page_protocol
    - page_hostname
    - page_port
    - page_path
    - page_query
    - page_fragment
    - page
    - traffic_source_name
    - traffic_source_medium
    - traffic_source_source
  parameters_from_url:
    - event_parameter: gclid
      url_parameter: gclid
      user_property: gclid
      min_length: 55
    - event_parameter: msclkid
      url_parameter: msclkid
      user_property: msclkid
      min_length: 32
    - event_parameter: twclid
      url_parameter: twclid
      user_property: twclid
      min_length: 0
    - event_parameter: li_fat_id
      url_parameter: li_fat_id
      user_property: li_fat_id
      min_length: 0
    - event_parameter: fbclid
      url_parameter: fbclid
      user_property: fbclid
      min_length: 0
    - event_parameter: rdt_cid
      url_parameter: rdt_cid
      user_property: rdt_cid
      min_length: 0
    - event_parameter: utm_source
      url_parameter: utm_source
      user_property: utm_source
      min_length: 0
    - event_parameter: utm_medium
      url_parameter: utm_medium
      user_property: utm_medium
      min_length: 0
    - event_parameter: utm_campaign
      url_parameter: utm_campaign
      user_property: utm_campaign
      min_length: 0
    - event_parameter: utm_content
      url_parameter: utm_content
      user_property: utm_content
      min_length: 0
    - event_parameter: utm_term
      url_parameter: utm_term
      user_property: utm_term
      min_length: 0
  persisting_dimensions:
    last_known:
      general:
        - event_parameter: gclid
          user_property: gclid
          destination_column: gclid
          prefer: user_property
        - event_parameter: msclkid
          user_property: msclkid
          destination_column: msclkid
          prefer: user_property
        - event_parameter: twclid
          user_property: twclid
          destination_column: twclid
          prefer: user_property
        - event_parameter: li_fat_id
          user_property: li_fat_id
          destination_column: li_fat_id
          prefer: user_property
        - event_parameter: fbclid
          user_property: fbclid
          destination_column: fbclid
          prefer: user_property
        - event_parameter: rdt_cid
          user_property: rdt_cid
          destination_column: rdt_cid
          prefer: user_property
      org_specific: [ ]
    session:
      general: [ ]
      org_specific: [ ]
    hit:
      general:
        - event_parameter: ga_session_id,
          destination_column: system_session_id
        - event_parameter: ga_session_number,
          destination_column: system_session_number
        - event_parameter: session_engaged,
          destination_column: system_session_is_engaged
      org_specific:
        - event_parameter: user_interaction
          destination_column: is_user_interaction
        - event_parameter: optimizely_experiment_id
          destination_column: optimizely_experiment_id
        - event_parameter: gtm_container_version
          destination_column: gtm_container_version
        - event_parameter: gtm_container_id
          destination_column: gtm_container_id
        - event_parameter: link_domain
          destination_column: link_domain
        - event_parameter: link_classes
          destination_column: link_classes
        - event_parameter: link_text
          destination_column: link_text
        - event_parameter: form_id
          destination_column: form_id

Package versions
packages:

package: fivetran/pinterest
version: 0.7.0
git<EMAIL_ADDRESS>revision: v0.3.28

What database are you using dbt with?
bigquery
dbt Version
1.3
Additional Context
No response
Are you willing to open a PR to help address this issue?

[ ] Yes.
[ ] Yes, but I will need assistance and will schedule time during our office hours for guidance
[X] No.

Hi @jarlisle thanks so much for opening this issue.
That is interesting that you are experiencing this issue. Our understanding was that keywords were unique to the ad group and not to the pin promotion. That being said, this may be the case for some pinterest ad accounts for which we may have not accounted.
Would you be able to confirm if the keywords in your pinterest account are tied to an individual pin promotion id? If so, then this may be an adjustment that we should make to our testing philosophy.

@fivetran-joemarkiewicz In the data, there is not a 1:1 relationship between the keyword and the pin_promotion_id. Does that answer your question?

Hi @jarlisle that does answer my question, thanks for the insight!
The ad group to keyword relationship is alignment with my understanding; however, I am still trying to fully understand the pin promotion relationship to keyword and how we should handle this within our test. 🤔
While I continue digging on my side, I think it would be a good exercise to see what adjusting the test to include pin_promotion_id would look like for your data. I just made a few changes to the dbt_pinterest_source and dbt_pinterest packages to include this change. If you have a moment, would you be able to use the following in place of your hub package dependency of pinterest and confirm what the results are on your end?
packages:
# Momentarily comment out for testing purposes and use the git version to install
#   - package: fivetran/pinterest
#     version: [">=0.7.0", "<0.8.0"]
  - git: https://github.com/fivetran/dbt_pinterest.git
    revision: testfix/keyword-report
    warn-unpinned: false

@fivetran-joemarkiewicz, that worked without error. In investigating this I had a hunch that pin_promotion_id needed to be part of the test, but I wasn't able to confirm that anywhere in pinterest's docs.

Thanks so much for the confirmations @jarlisle! This is incredibly helpful and possibly something we will want to move forward with.
FYI I will be on PTO until next Tuesday. I will likely move forward with integrating this into a patch release then. Unless I come across evidence that informs this is not the right approach. Thanks!

Hi @jarlisle I just wanted to share an update here that I am going to have a member on my team take over this issue going forward. I am glad to see the test adjustment in the above branch is working for you! However, I want us to get a better understanding of the behavior of keywords before adjusting the test for all our users.
We hope to get a solid path forward with an official release by the end of next week!

@jarlisle we have released version v0.7.1, which addresses this issue. Closing this issue!


no calories from "get_activities"

Hi Hans,
like posted on https://groups.google.com/forum/#!topic/strava-api/XVs-clWvK7c
there seems to be a bug in 'get_activities'. You dont get "calories" for your activity.
Within 'get.activity' everything works.
Used version ist 0.6.6
Here is some example code for proving:
import os
from stravalib.client import Client

client = Client()
path_for_files = "./config/"

#read my strava access token from file
def read_access_token(file):
    if os.path.exists(path_for_files + file):
        with open(path_for_files + file, 'r') as string_from_file:
            global string
            string = string_from_file.read().replace('\n', '')
            return string
    else:
        sys.exit("...exiting. cannot find " + path_for_files + file)

access_token = read_access_token('access_token')
client.access_token = access_token

for activity in client.get_activities(limit=1):
    strava_id = u'{0.id}'.format(activity)
    print "no calories here"
    print "upload_id:", strava_id
    print "calories:", u'{0.calories}'.format(activity)

activity = client.get_activity(strava_id)
print "\ncalories work here"
print "calories:", activity.calories

basti ~/git/new master $ pip freeze | grep stravalib
stravalib==0.6.6
basti ~/git/new master $ python calorie_bug.py
no calories here
upload_id: 827202955
calories: None
No handlers could be found for logger "stravalib.model.Activity"

calories work here
calories: 908.9

Thanks for your lib once again. Regards
Sebastian

also "activity.athlete.lastname" (and some more like firstname; didnt test all though) returns "None", when iterating through "get_activities()" or calling "get_activity()". but "activity.athlete.id" works. not sure if that should work, since there is a "get_athlete()"
athlete = client.get_athlete()
athlete_2 = activity.athlete.lastname
#works
print "athlete get_athlete():", athlete.lastname
#doesnt work. Returns "None"
print "athelte get_activity.athlete.lastname", athlete_2

Greets
Sebastian

Hi Sebastian,
According to official Strava API document,
Summary representation attributes
The summary representation of the activity object is the same as the detailed representation, except it does NOT include these attributes:
calories
description
gear
segment_efforts
splits_metric
splits_standard
laps
best_efforts
device_name
embed_token
photos

I guess the athlete name is also not included in the protocol.

It sounds like this can be closed.  It could be nice in the future if we issued a warning or something if you access attributes that were not fetched (i.e. athlete was populated with summary-level, but you are looking for detail-level attrib).  But then that might just raise a lot of warnings for people that are comfortable with the current "maybe-the-attrib-is-set" behavior.


[2.3.x] Implement RFC 9

Cherry-picks #134 onto the 2.3.x branch.  This cherry-pick was not trivial, in particular I think the absence of #108 on the 2.3.x branch caused a bunch of conflicts in the validator code.  Requesting review from @john-h-kastner-aws in particular as a result, as I made the fixes that "looked sensible" to me but it would be good to get John's signoff.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Downstream CI fails because the current DRT version assumes the presence of #124, so it doesn't work with this 2.3.x branch.  @aaronjeline or others, I assume we can get DRT to work with the 2.3.x branch by using the version of the DRT library we use for 2.2.x rather than main?  I.e. this is just a CI problem not a fundamental problem?

Downstream CI fails because the current DRT version assumes the presence of #124, so it doesn't work with this 2.3.x branch. @aaronjeline or others, I assume we can get DRT to work with the 2.3.x branch by using the version of the DRT library we use for 2.2.x rather than main? I.e. this is just a CI problem not a fundamental problem?

Currently we only build cedar-spec against the latest commit in the main branch of cedar, so this won't actually break anything. We could skip the downstream build check for PRs that aren't going into main or we could cut branches of cedar-spec for each cedar release.