az account show command fails

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az account show
Errors:

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

Put any pre-requisite steps here...
az account show

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

azure-cli 2.27.0 *

Extensions:
ai-examples 0.2.5
ssh 0.1.5

Additional Context

@jiasli for awareness

Please share the error message, call stack or --debug log to help us identify the issue.


Connection already closed error in SolrQueue

This issue occurred yesterday to two pods (api-indy-cat-7-t87kh and api-indy-cat-7-z8bxq) in devex-von-bc-tob-prod during a window of platform maintenance.  It appears the solrqueue instance lost its connection to the database while in the process of indexing credentials and the connection was never re-opened.  This triggered an infinite loop where the items where re-queued for later processing, and when later processed the connection error would occur again.
The issue appears to have started around 10:00am.  Platform services was alerted to the issue due to the issue around 7:00pm due to the size of the log files.  Steven Barre killed the affected pods around 9:00pm, ending the issue.  Other API pods have since processed and indexed credentials without issue.
Two things need to occur to address the issue:

Add alerting when items are re-queued due to unexpected exceptions.
Investigate the issue and see if there is a permanent solution.

The following log is an example of the looping error (Log growth for one of the pods was 8.6G in the last 90 minutes):
DEBUG 2020-05-27 02:20:00,041 index 1<PHONE_NUMBER>65408 Initializing TxnAwareSearchIndex ...
INFO 2020-05-27 02:20:00,041 solrqueue 1<PHONE_NUMBER>65408 Updating indexes for 1 row(s) from Solr queue: {3108637}
ERROR 2020-05-27 02:20:00,043 solrqueue 1<PHONE_NUMBER>65408 An unexpected exception was encountered while processing items from the Solr queue.
Traceback (most recent call last):
  File "/home/indy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/django/db/backends/base/base.py", line 235, in _cursor
    return self._prepare_cursor(self.create_cursor(name))
  File "/home/indy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/django/db/backends/postgresql/base.py", line 223, in create_cursor
    cursor = self.connection.cursor()
psycopg2.InterfaceError: connection already closed
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/home/indy/vcr_server/utils/solrqueue.py", line 121, in _drain
    self.update(last_index, last_using, last_ids)
  File "/home/indy/vcr_server/utils/solrqueue.py", line 148, in update
    backend.update(index, rows)
  File "/home/indy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/haystack/backends/solr_backend.py", line 58, in update
    for obj in iterable:
  File "/home/indy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/django/db/models/query.py", line 274, in __iter__
    self._fetch_all()
  File "/home/indy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all
    self._result_cache = list(self._iterable_class(self))
  File "/home/indy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/django/db/models/query.py", line 55, in __iter__
    results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
  File "/home/indy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1138, in execute_sql
    cursor = self.connection.cursor()
  File "/home/indy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/django/db/backends/base/base.py", line 256, in cursor
    return self._cursor()
  File "/home/indy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/django/db/backends/base/base.py", line 235, in _cursor
    return self._prepare_cursor(self.create_cursor(name))
  File "/home/indy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/home/indy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/django/db/backends/base/base.py", line 235, in _cursor
    return self._prepare_cursor(self.create_cursor(name))
  File "/home/indy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/django/db/backends/postgresql/base.py", line 223, in create_cursor
    cursor = self.connection.cursor()
django.db.utils.InterfaceError: connection already closed
INFO 2020-05-27 02:20:00,043 solrqueue 1<PHONE_NUMBER>65408 Requeueing items for later processing ...

DEBUG 2020-05-27 02:20:00,043 index 1<PHONE_NUMBER>65408 Initializing TxnAwareSearchIndex ...
INFO 2020-05-27 02:20:00,043 solrqueue 1<PHONE_NUMBER>65408 Updating indexes for 1 row(s) from Solr queue: {3272093}
ERROR 2020-05-27 02:20:00,046 solrqueue 1<PHONE_NUMBER>65408 An unexpected exception was encountered while processing items from the Solr queue.
Traceback (most recent call last):
  File "/home/indy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/django/db/backends/base/base.py", line 235, in _cursor
    return self._prepare_cursor(self.create_cursor(name))
  File "/home/indy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/django/db/backends/postgresql/base.py", line 223, in create_cursor
    cursor = self.connection.cursor()
psycopg2.InterfaceError: connection already closed
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/home/indy/vcr_server/utils/solrqueue.py", line 121, in _drain
    self.update(last_index, last_using, last_ids)
  File "/home/indy/vcr_server/utils/solrqueue.py", line 148, in update
    backend.update(index, rows)
  File "/home/indy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/haystack/backends/solr_backend.py", line 58, in update
    for obj in iterable:
  File "/home/indy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/django/db/models/query.py", line 274, in __iter__
    self._fetch_all()
  File "/home/indy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all
    self._result_cache = list(self._iterable_class(self))
  File "/home/indy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/django/db/models/query.py", line 55, in __iter__
    results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
  File "/home/indy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1138, in execute_sql
    cursor = self.connection.cursor()
  File "/home/indy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/django/db/backends/base/base.py", line 256, in cursor
    return self._cursor()
  File "/home/indy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/django/db/backends/base/base.py", line 235, in _cursor
    return self._prepare_cursor(self.create_cursor(name))
  File "/home/indy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/home/indy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/django/db/backends/base/base.py", line 235, in _cursor
    return self._prepare_cursor(self.create_cursor(name))
  File "/home/indy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/django/db/backends/postgresql/base.py", line 223, in create_cursor
    cursor = self.connection.cursor()
django.db.utils.InterfaceError: connection already closed
INFO 2020-05-27 02:20:00,046 solrqueue 1<PHONE_NUMBER>65408 Requeueing items for later processing ...

What environment was this in?
(Looks like the old orgbook code vs aries-vcr?)

No, this is aries-vcr.  Can tell by the pod names.


Workload cluster release process (with CAPI)

This depends on the https://github.com/giantswarm/giantswarm/issues/25443
This is not about the automation but how teams create releases and customers "use" releases.

[ ] Define how a team creates a cluster release
[ ] Define how the workflow for customers would look like

Will be addressed with https://github.com/giantswarm/roadmap/issues/2522


Handle Rate Limit

Instead of letting the action fail because of having hit the rate limit, we may consider handling it through suitable wait states by reading relevant info via the API.
See:

https://octokit.github.io/octokit.rb/Octokit/Client/RateLimit.html
https://octokit.github.io/octokit.rb/Octokit/RateLimit.html

Done in #24 ✔

@pattacini FYI
Although this solution works, I have changed the workflow a little bit, and instead of using a PAT, we're now using a github app to do all the API calls.
We've used something similar to: https://github.com/peter-murray/workflow-application-token-action
You can grant the exact permissions to an app, and with the workflow-application-token-action you can get a temporary token to do all API calls. This will no longer case any rate limit to be hit since the number is set a lot higher for apps.
See: https://docs.github.com/en/developers/apps/rate-limits-for-github-apps
Workflow will look something like:
      - uses: peter-murray/workflow-application-token-action@v1
        name: Retrieve App Token
        id: app_token
        with:
          application_id: ${{ secrets.APP_ID }}
          application_private_key: ${{ secrets.APP_PRIVATE_KEY }}

      - name: Outside collaborators
        run: |
          cd scripts
          ./outside-collaborators-handler.rb
        env:
          OUTSIDE_COLLABORATORS_GITHUB_ORG: ${{ github.repository_owner }}
          OUTSIDE_COLLABORATORS_GITHUB_TOKEN: $ {{ steps.app_token.outputs.token }}

I can't really make a PR, because without creating an app it's hard to tell if it works in your case.

Thanks a lot @JeroenKnoops for this nice suggestion!
I may give it a try in the upcoming days. Either way, I'll be documenting somehow this nice addition from the main README.md

Hi @JeroenKnoops
I've incorporated your suggestion in the main README (see 46d1ee18f5866ecedc846e02bec2630a77ad395a), but with a second thought, I believe this further layer would add an unnecessary complication now as we rarely hit the rate limit.
I'll certainly be considering this again in the future if I'll start out experiencing downgraded performances in our context.

We were having a lot of rate limit hits, because we were using the same user also for other actions like gathering metric with CHAOSS. That's why this was our solution. I just wanted to share it for the future or when other people have similar issues! :)


Add correct prompt text in password field.

User might get confuse by just "At least 8 character" of what? It can be replace with "********" or "Enter 8 character password"

That is a good idea! It is really confusing, I like the second suggestion the best.

Great. I'm modifying. Can you please assign this issue to me?

It is online :smile: :tada:
But now we have to make the text field a bit wider especially in German. German language! :roll_eyes:

Yeah I had fear of that but couln't find any right prompt to fix it. What do you think? Should we change hint or make textfield larger?

Sorry, did not see your answer. We should make the text field larger. :)

I fixed the width of the field so the user can see the whole place holder text:
https://github.com/rubymonsters/speakerinnen_liste/commit/2108647bfcb53e7131b4076a0c5612d45dcd687b

Thanks a lot for your work!!
I gonna close the ticket now.


[Feature] Validate received FCM message payload

Currently the plugin assumes that the received FCM message payload is valid JSON which conforms to the FCM specification.
This means if invalid payload data is received, the plugin does not fail gracefully and indicate that the payload is invalid - e.g. #364
So it would be good if the plugin could validate the received payload and if it's invalid, error in such a way as to indicate why the payload is invalid

Reopening as  stalebot incorrectly closed it


How to get viewer watch time?

i want to display the viewer watch time of this player
if(e.ChatMessage.Message.StartsWith("!hours", StringComparison.InvariantCultureIgnoreCase))
{
client.SendMessage($"{e.ChatMessage.Username} Has been watching for {hoursviewerwatched}");
}

you have to track it yourself in a database. there is nothing in the lib or in the twitch api that does that for you

As discussed, this is outside the scope of the project as TwitchLib strives to be the foundation of a Twitch bot and offer up the functionality to enable just about anything related to Twitch. To include such functionality in the bot would considerably bloat the library as most developers wouldnt use this functionality, I think.
As far as how to go about this. I would do what Syzuna said.

Create timer with an interval of 60000 (1 minute).
Your timer elapsed event should look something like this:

public async static void onWatchTimeElapsed(object sender, System.Timers.ElapsedEventArgs e)
{
            var viewers = await TwitchLib.TwitchAPI.Undocumented.GetChatters("channel_name");
            // do whatever you want with viewers object
}

As mentioned earlier, because this is out of scope of the project, I'm going to go ahead and close this. If you need help with anything else, you can reopen though.


Focus on dictionary/thesaurus/line completions.

Rename this plugin to vim-haskell-pica-completions and focus exclusively on dictionary/thesaurus/line completions. This will make the plugin more self-contained and cohesive, and hopefully easier to combine with other plugins providing unrelated functionality.

Done in c9202d7297f8c590f0931ef3bf33304671daf9fb.


Error while building

Hi,
I am getting the below error while doing go build to install redskul.
redskull]# go build
can't load package: package src/github.com/therealbill/redskull: code in directory /usr/local/go/src/src/github.com/therealbill/redskull expects import "github.com/therealbill/redskull"
Please let me know the solution.
Thanks
Sunny

Hmm it looks like you have an extra "src" directory in your Go path. Did you clone the repo or use go get? I'd check to ensure you have it in /usr/local/go/src/github.com/... instead of /usr/local/go/src/src/github.com.

 Did
you clone the repo or use go get? I'd check to ensure you have it in
/usr/local/go/src/github.com/... instead of /usr/local/go/src/src/
github.com/....
—
Reply to this email directly or view it on GitHub
https://github.com/therealbill/redskull/issues/38#issuecomment-168777278
.

--
Regards
Sherin Sunny
Devops

I dont know from where it is taking the gopath value:
redis1 redskull]# cat /etc/profile.d/go.sh
export GOROOT=/usr/local/go
export GOPATH=$GOROOT/src
export PATH=$GOROOT/bin:$PATH
Above is my path in go.sh but when I do a build it is taking everything from src/src
redskull]# go build
../libredis/client/redis.go:84:2: cannot find package "bufio" in any of:
/usr/local/go/src/bufio (from $GOROOT)
/usr/local/go/src/src/bufio (from $GOPATH)

export GOPATH=$GOROOT/src <-- there is the problem. You're adding a src directory to the GOPATH. Personally I use export GOPATH=$HOME/.go so I can keep my user-level stuff local. But ultimately the problem is having /src in the path as a proper GOPATH has src under it instead.  As such it is treating 'src' as a repo location where normally it would be, for example,  'github.com'.
You can also see it in the output where it is showing the difference between GOROOT and GOPATH. That said that it can't find buffo is a bit disconcerting for your Go installation, but maybe the multiple src directory is confusing it.
See https://golang.org/pkg/go/build/ for details on GOPATH. Mainly, don't add /src and I highly recommend not using GOROOT.

Is the below settings fine?
edis1 vagrant]# cat /etc/profile.d/go.sh
export GOROOT=/usr/local/go
export GOPATH=/home/vagrant/
export PATH=$GOROOT/bin:$PATH
I am getting the below errors while running "go build" command:
edis1 redskull]# /usr/local/go/bin/go build
rpcserver.go:4:2: cannot find package "encoding/gob" in any of:
/usr/local/go/src/encoding/gob (from $GOROOT)
/home/vagrant/src/encoding/gob (from $GOPATH)
main.go:4:2: cannot find package "encoding/json" in any of:
/usr/local/go/src/encoding/json (from $GOROOT)
/home/vagrant/src/encoding/json (from $GOPATH)
rpcserver.go:5:2: cannot find package "errors" in any of:
/usr/local/go/src/errors (from $GOROOT)
I am running the build frm the below path now:
/home/vagrant/redskull/
But there is no github.com folder in any of my path.
On Mon, Jan 4, 2016 at 12:12 PM, Bill Anderson<EMAIL_ADDRESS>wrote:

export GOPATH=$GOROOT/src <-- there is the problem. You're adding a src
directory to the GOPATH. Personally I use export GOPATH=$HOME/.go so I
can keep my user-level stuff local. But ultimately the problem is having
/src in the path as a proper GOPATH has src under it instead. As such
it is treating 'src' as a repo location where normally it would be, for
example, 'github.com'.
You can also see it in the output where it is showing the difference
between GOROOT and GOPATH. That said that it can't find buffo is a bit
disconcerting for your Go installation, but maybe the multiple src
directory is confusing it.
See https://golang.org/pkg/go/build/ for details on GOPATH. Mainly, don't
add /src and I highly recommend not using GOROOT.
—
Reply to this email directly or view it on GitHub
https://github.com/therealbill/redskull/issues/38#issuecomment-168790721
.

--
Regards
Sherin Sunny
Devops

I would use /home/vagrant/go as the GOPATH. Then when you go get github.com/therealbill/redskull it should create the tree structure in there as follows:
/home/vagrant/go/
      src/
          github.com/
               therealbill/
                    redskull/
      bin/
      pkg/

I'd also change the PATH statement to add $GOPATH/bin BTW. The fact that it isn't finding standard library packages makes me question if Go is properly installed to /usr/local/go.  What does ls $GOROOT/ show? It should show the README.md, some other markdown files, bin, doc, src, and several other directories.
If you ls $GOROOT/src you should see several directories including buffo and errors as well as encoding. If not your Go installation is not correct/complete.

Thanks. I corrected it but my redis-sentinel conf file path is different. it is /etc/redis-sentinel.conf instead of /etc/redis/sentinel.conf. So I get the below error while starting redis skul. Where can I correct the path ?
@ redskull]# ./redskull
2016/01/04 20:42:38.465728 Launch Config: {Name: Port:0 IP: SentinelConfigFile: GroupName: BindAddress: SentinelHostAddress: TemplateDirectory: NodeRefreshInterval:60 RPCPort:0}
2016/01/04 20:42:38.465762 ENV contained no port, using default
2016/01/04 20:42:38.465768 binding to ':8000'
2016/01/04 20:42:38.465779 ENV contained no SentinelConfigFile, using default
2016/01/04 20:42:38.465784 ENV contained no GroupName, using default:redskull:1
2016/01/04 20:42:38.465863 Config: {"Name":"","Port":8000,"IP":"","SentinelConfigFile":"/etc/redis/sentinel.conf","GroupName":"redskull:1","BindAddress":"","SentinelHostAddress":"","TemplateDirectory":"","NodeRefreshInterval":60,"RPCPort":8001}
2016/01/04 20:42:38.466752 open /etc/redis/sentinel.conf: no such file or directory
2016/01/04 20:42:38.466762 Initializing LOCAL sentinel
2016/01/04 20:42:38.466766 No Hostname, determining local hostname
2016/01/04 20:42:38.466966 [<IP_ADDRESS> ]
2016/01/04 20:42:38.466973 Determined LOCAL address is: <IP_ADDRESS>:0
2016/01/04 20:42:38.466977 Determined LOCAL name is: <IP_ADDRESS>:0
2016/01/04 20:42:38.468263 LOCAL Sentinel '<IP_ADDRESS>:0' failed connection attempt

I created a soft link to the actual sentinel conf. Also please let me know how can I see the web interface ?

See the Getting Started guide at http://redskull.io/guide/gettingstarted-part1/ it will walk you through it. By default RS runs on port 8000 of the host it is running on.

Thanks.
Iam planning to have 2 redis servers in one data center and other 2 in other datacenter. One shuld be master. How many sentinels do u suggest for this structure ? Also is it gud to have one master and one slave in one datacenter and remaining 2 slaves in other datacenter or do we need to have seperate masters in 2 datacenters ? I need the master from one Datacenter to replicate to the slaves in other datacenter

You're most welcome.
As to your Sentinel layout questions, I'd direct you to the Redis mailing list as it is too involved and detailed for Github issues. ;)

pls let me know how can I access the redis mailing list ?
On Mon, Jan 4, 2016 at 12:53 PM, Bill Anderson<EMAIL_ADDRESS>wrote:

You're most welcome.
As to your Sentinel layout questions, I'd direct you to the Redis mailing
list as it is too involved and detailed for Github issues. ;)
—
Reply to this email directly or view it on GitHub
https://github.com/therealbill/redskull/issues/38#issuecomment-168805420
.

--
Regards
Sherin Sunny
Devops

Also does this redis skull makes any changes in my current redis-sentinel configuration ?

ML: https://groups.google.com/forum/#!forum/redis-db
Redskull will not make changes to Sentinel directly. If you alter your pod's configuration via Redskull such as by adding a slave to an existing pair Sentinel will modify the file for you a part of it's normal behavior.
Closing this as the original question around building has been addressed.

Pod means just a master?
On Mon, Jan 4, 2016 at 12:58 PM, Bill Anderson<EMAIL_ADDRESS>wrote:

ML: https://groups.google.com/forum/#!forum/redis-db
Redskull will not make changes to Sentinel directly. If you alter your
pod's configuration via Redskull such as by adding a slave to an existing
pair Sentinel will modify the file for you a part of it's normal
behavior.
Closing this as the original question around building has been addressed.
—
Reply to this email directly or view it on GitHub
https://github.com/therealbill/redskull/issues/38#issuecomment-168806838
.

--
Regards
Sherin Sunny
Devops

http://redskull.io/guide/terminology/

Thank You !
On Mon, Jan 4, 2016 at 1:02 PM, Bill Anderson<EMAIL_ADDRESS>wrote:

http://redskull.io/guide/terminology/
—
Reply to this email directly or view it on GitHub
https://github.com/therealbill/redskull/issues/38#issuecomment-168807733
.

--
Regards
Sherin Sunny
Devops

I have 3 slaves connected to redis master. I installed redis skull only in
master. But it is showing that no slaves are connected to it. cant I
monitor everything from one redis skull or do I need to install redis skull
in all slaves too ?
[image: Inline image 1]
On Mon, Jan 4, 2016 at 1:13 PM, Sherin Sunny<EMAIL_ADDRESS>wrote:

Thank You !
On Mon, Jan 4, 2016 at 1:02 PM, Bill Anderson<EMAIL_ADDRESS>wrote:

http://redskull.io/guide/terminology/
—
Reply to this email directly or view it on GitHub
https://github.com/therealbill/redskull/issues/38#issuecomment-168807733
.

--
Regards
Sherin Sunny
Devops

--
Regards
Sherin Sunny
Devops

Sherin, Please open a new GH issue for new questions. Or if you use Slack send me your email address and I can send you an invite to the Redskull Slack server.

I would like you to please help me with your vast experience in redis regarding the layout.
So could you please tell me the
1.) Number of sentinels needed for monitoring one master and 3 slaves in 2 datacenters
2.) Do I need to install redskul in all slaves to get the correct information or one red skull in one master can give the entire information ?


please help me

https://jp.mercari.com/mypage
I'm trying to get a list of people who favorited (いいね!) a product here.
I'm trying to get an API for this, but I don't know how to get it.
I'd like help in making all of this happen.

This is not a support for our product.
You may want to visit:
https://help.jp.mercari.com/


pytest is not listed as a dep

Can't test using the testing instructions: https://ross-rotordynamics.github.io/ross-website/contributing.html#tests
cc https://github.com/openjournals/joss-reviews/issues/2120

just noticed that pytest is listed in setup.py under:
EXTRAS = {
    "dev": [
        "pytest",
        "pytest-cov",
        "coverage",
        "codecov",
        "sphinx",
        "sphinx_bootstrap_theme",
        "nbsphinx",
        "numpydoc",
        "sphinxcontrib-bibtex",
    ]
}

this is why https://github.com/ross-rotordynamics/ross/issues/461 is important


Ability to hide the sell button and gold value from items [feature request] [REPLACEMENT ISSUE]

The original issue
Id: 1511
Title: Ability to hide the sell button and gold value from items [feature request]

could not be created.
This is a dummy issue, replacing the original one.In case the gitlab repository still exists, visit the following link to see the original issue:
https://gitlab.com/hooking/foundry-vtt---pathfinder-2e/-/issues/1511

I would like to upvote this as a feature. My players have accidentally sold something multiple times and it's really annoying. At least adding a confirmation box or disabling it all together to prevent accidents would be great.


How to build face_landmarks.tflite from mediapipe graph?

OS Platform and Distribution
macOS Ventura 13.2.1
Compiler version
No response
Programming Language and version
TFLite
Installed using virtualenv? pip? Conda?(if python)
No response
MediaPipe version
Newest from source with branch master
Bazel version
5.2.0
XCode and Tulsi versions (if iOS)
No response
Android SDK and NDK versions (if android)
No response
Android AAR (if android)
None
OpenCV version (if running on desktop)
No response
Describe the problem
I just want to build model .tflite from the graph of face landmark.
Please help me or give me the instruction how to do that. Really appreciate for your helps

Complete Logs
(Don't know how to build .tflite from .pbtxt of face_landmark)

Hello @nguyennyssf
TfLite models are artifacts which cannot be created from MediaPipe graphs. They can only be used in MediaPipe graph like here in face landmarks. These can be downloaded from the Model cards page/documentation page of the corresponding solution. For face landmark, the model can be found in this section.

Yes, thanks for your response @ayushgdev. In fact that I really really need to build an ios framework use the latest model of facemesh. I cannot build it on macOS Ventura with XCode 14.3 (macOS Ventura only supports XCode 14 and so I cannot downgrade version).
Really need help or could you give me an example of facemesh xcodeproj? I cannot install Tusi app as well due to macOS version.

@nguyencse We are using MacOS Ventura 13.4 with Xcode 14.1. You can build the legacy solutions in Tulsi with this version setup. However, iOS APIs are getting major upgrades since we are ending support for these MediaPipe Legacy Solutions, and upgrading the others.
We are yet to release the iOS MediaPipe Task APIs and we would request you to wait for sometime. These APIs will be much simpler to use.

ok thanks @ayushgdev , I built a temp framework of my own in ios and waiting for your task api. Thank you


Not able to get a text (value)

backend="uia", win64
I'm trying to read a text (in reed frame) from a window.  I did homework and couldn't  find any appropriate method to get the text
The screenshot is attached.

It could be retrieved by .legacy_properties()['Value']

It looks resolved since no reply for a long time. Closing. Please re-open if any.

I am having similar issue however though its not a legacy_properties value.
I'd like to get the email value<EMAIL_ADDRESS>but the following methods below are not returning the value:
window_text(), texts(), children_texts()
LocalizedControlType:	"edit"
Name:	""
AccessKey:	""
HasKeyboardFocus:	true
IsKeyboardFocusable:	true
IsEnabled:	true
AutomationId:	"CtxtEmail"
ClassName:	"WindowsForms10.EDIT.app.0.194e1a4_r17_ad1"
HelpText:	""
IsPassword:	false
NativeWindowHandle:	0x332B2
IsOffscreen:	false
FrameworkId:	"WinForm"
ProviderDescription:	"[pid:5640,hwnd:0x332B2 Main:Nested [pid:10132,hwnd:0x332B2 Main(parent link):Microsoft: MSAA Proxy (unmanaged:uiautomationcore.dll)]; Nonclient:Microsoft: Non-Client Proxy (unmanaged:uiautomationcore.dll); Hwnd(parent link):Microsoft: HWND Proxy (unmanaged:uiautomationcore.dll)]"
Value.IsReadOnly:	false
Value.Value<EMAIL_ADDRESS>Here is what I get when using print_control_identifers()
Control Identifiers:
Edit - ''    (L589, T154, R753, B175)
['Edit', u'']
child_window(auto_id="CtxtEmail", control_type="Edit")

Hi @jsonpanganiban this can be obtained by .iface_value.CurrentValue
See similar example on StackOverflow for Chrome URL.

Try out get_value() for legacy values, it works out of the box, I tried on pywinauto  0.6.8 version


problem with social icon loading when deployed to netlify

I really like your starter repo!  I ran into a problem that seemed related to using react dangerouslySetInnerHTML.    It's especially noticeable when I changed the discord link to a LinkedIn link with a larger icon.  It's only noticeable when using gatsby build (don't see this on localhost).
You'll see the icons used in the social section when loading the page.
https://kind-clarke-92e677.netlify.app/
It's in this code in header.js
 {config.header.social ? (
              <ul
                className="socialWrapper visibleMobileView"
                dangerouslySetInnerHTML={{ __html: config.header.social }}
              ></ul>

I replaced the dangerouslySetInnerHTML with static HTML and values from config and I'm still seeing the loading issue.  Since it only happens on deployed code, I think it's due to due to SSR.

I solved this by adding the image to the local assets folder and importing the image into the header.js.  I'm checking in with Gatsby to see if there are any plugins or language possibilities that would allow me to supply a  variable string to an image on a CDN.

Local assets proved not to be a solution.  Social images in list items are still rendered before page.


update the expiry time of the member

hello, when i add a member and set the expiry time, how can i update the expiry time of the member?

unfortunately, there isn't an update function for the cloudidentity groups api
https://cloud.google.com/identity/docs/reference/rest/v1/groups
and simply trying to set a new expiration time in update results in
Error Adding group member googleapi: Error 409: Error(4003): Cannot create membership<EMAIL_ADDRESS>in 'groups/02grqrue4gb58m7' because it already exists.
Details:
[
  {
    "@type": "type.googleapis.com/google.rpc.ResourceInfo",
    "description": "Error(4003): Cannot create membership<EMAIL_ADDRESS>in 'groups/02grqrue4gb58m7' because it already exists.",
    "owner": "domain:cloudidentity.googleapis.com",
    "resourceType": "cloudidentity.googleapis.com/Membership"
  }
]

unfortunately, there isn't an update function for the cloudidentity groups api
https://cloud.google.com/identity/docs/reference/rest/v1/groups
and simply trying to set a new expiration time in update results in
Error Adding group member googleapi: Error 409: Error(4003): Cannot create membership<EMAIL_ADDRESS>in 'groups/02grqrue4gb58m7' because it already exists.
Details:
[
  {
    "@type": "type.googleapis.com/google.rpc.ResourceInfo",
    "description": "Error(4003): Cannot create membership<EMAIL_ADDRESS>in 'groups/02grqrue4gb58m7' because it already exists.",
    "owner": "domain:cloudidentity.googleapis.com",
    "resourceType": "cloudidentity.googleapis.com/Membership"
  }
]

what about this one: https://cloud.google.com/identity/docs/how-to/manage-expirations?authuser=6#updating_the_expiration_of_a_membership

oh, ok, i dind't see that.  i'll add an update function tomorrow
(unless you want to submit a PR sooner!)

it was relatively easy and in PR https://github.com/salrashid123/iam_autorevoke/commit/0b4364a92a789a9185bce206f9193dc184e8df66
fwiw, i used my own way to wrap GCP error responses to catch the 409 Conflict exception on update
ref:
https://github.com/salrashid123/gcp_error_handler

Thanks!

Hi, the program doesn't seem to be able to extend the validity period for existing users
User is already member of group.  Extending membership durationUpdated existing Membership: groups/01t3h5sf28t7qlz/memberships/107184595563065920041
%!(EXTRA string=2022-04-25T00:22:35Z)

the output there indicates it was successfully updated.
Here's the end-to-end
$ go run main.go --groupID=02grqrue4gb58m7<EMAIL_ADDRESS>--expireIn=5 --quotaProject=$PROJECT_ID
Members<EMAIL_ADDRESS>Added<EMAIL_ADDRESS>

$ gcloud identity groups memberships list<EMAIL_ADDRESS>---
name: groups/02grqrue4gb58m7/memberships/104497032270219758212
preferredMemberKey:
  id<EMAIL_ADDRESS>roles:
- name: MEMBER
---
name: groups/02grqrue4gb58m7/memberships/101638213306164197874
preferredMemberKey:
  id<EMAIL_ADDRESS>roles:
- name: MEMBER

$ go run main.go --groupID=02grqrue4gb58m7<EMAIL_ADDRESS>--expireIn=10 --quotaProject=$PROJECT_ID --autoExtend
Members<EMAIL_ADDRESS>Members<EMAIL_ADDRESS>User is already member of group.  Extending membership duration
Updated existing Membership: groups/02grqrue4gb58m7/memberships/101638213306164197874


Issue

This issue will explain the topic of inheritance with examples .
Inheritance in cpp

[sample.txt](https://github.com/girlscript/winter-of-contributing/files/7192020/sample.txt)
[sample.txt](https://github.com/girlscript/winter-of-contributing/files/7192021/sample.txt)
 Domain of Contribution 📊
- [ x] C/CPP

/assign

Add proper heading to your issue & use PR-template


OSError of DUF

OS related problem. You should edit system file to extend maximum fd opened.
See
https://easyengine.io/tutorials/linux/increase-open-files-limit
https://community.pivotal.io/s/article/Session-failures-with-Too-many-open-files
https://askubuntu.com/questions/181215/too-many-open-files-how-to-find-the-culprit

Thank you. T will try. And the VESPCN also happened this.


Allow loading up replays by match ID

Provide a way for users to quickly find the match they are interested in, and handle the replay downloading/decompressing for them. Proposed approach: Integrate with OpenDota to figure out where Valve has stored the replay for a given match (allow searching for these matches by match ID)
Feedback provided by numerous Reddit users.

Implemented/finalized in 7a34268d62edcad08af7a55cd987b1ff8049c3af.


How to mock namespaced modules?

I might be doing something wrong, but say I wanted to manually mock an NPM module named @foo/bar. I'm trying to figure out how to represent that in a __mocks__/*.js filename.
Would it be this?:
__mocks__/
    @foo/
        bar.js

If so, it doesn't seem like Jest is resolving the nested dir structure.

This should work in Jest 19.


Environment variable containing the exit code should be set to make the Helm diff plugin useful

Type: Feature
Enter Task Name: HelmDeploy@0
Issue Description
We want to check a release difference before we upgrade it. For this purpose we installed the helm diff plugin and executed it with the HelmDeploy@0 - Task. Depending on the exit code, we could skip the upgrade if no changes have been made (exit code 0), or wait for approval in case of changes (exit code 2).
To achieve this we would have to process the exit code. Therefore it would be nice to set an environment variable like "HELM_LAST_EXITCODE" which should contain the exit code of the execution.
Similar things have been done for the Terraform extension here: https://github.com/charleszipp/azure-pipelines-tasks-terraform/pull/74
Additionally if Helm diff runs with the --detailed-exitcode parameter, exit code 2 means that new resources or changes are available, so it would be nice not to fail the Helm-task.

@bada09089 I've raised a PR to add an output variable for helm exit code. Regarding you second ask, not failing the task depending on the exit code of a particular helm command does not seem to be a good idea, mainly because it's a very specific scenario and there are other ways to do it. You can set continueOnError to true and then take further steps depending upon the exit code.

Hi @shigupt202, lots of thanks for adding the output variable.
The problem with "continueOnError" is that in chase of changes the entire pipeline is marked as "Partially succeeded".
Would it be possible to handle it like the terraform module is doing it (https://github.com/charleszipp/azure-pipelines-tasks-terraform/commit/8c68c17309feae961410015e18fbbe0fa5a31a16)? So to detect if "helm diff" is executed with the "--detailed-exitcode" argument and therefore not fail the Helm Task on exit code 2.


[TO-DO] Enhancements

Various enhancements that can be done:

[ ] custom implementation of tail module. I may not need the full module as is, so may be interesting to do a custom implementation to reduce package size. Priority: low
[ ] expand docs for command calls. Add examples and develop on commands usage, also make sure that the feature table is up to date. May be worth auto generating the tables from docs. Auto documentation? Priority: medium
[ ] refactor generate-ssh and generate-gpg to work with config files instead of shell profile files so that it's easier to maintain and expand upon. Make sure that we can use the same commands across OS (ssh-agent one for example). Have a look if GPG/SSH passphrase cannot be stored in password managers. Priority: high
[ ] refactor app logic. See #68. Priority: critical

Refactored generate-ssh and generate-gpg through #69 and #70. Storing ssh passwords into password managers but not gpg as for now it should only run after user interaction so unattended mode doesn't seem very useful (by opposition with SSH which requires auto authentication when using the auto-pull feature)

Moved this to projects, closing for now.


Suggestion: Support provision of text key in options.callback

options.callback in query and ajax.results functions expect as argument an object with results:
options.callback({ results: data });

This is similar to the data constructor where it expects { results: data, text: key } except that options.callback does not support specifying text key.
So I want to suggest that to be added so that we can specify text key for results passed to the callback, like:
options.callback({ results: data, text: key });

Thanks

Closing this off because of the lack of activity. If this is not fixed in 4.0, and you are interested in seeing it fixed, add a :+1: to the ticket to bring it to our attention.
If you can add additional details, that would also be useful.


Spark.Formatter requires explicit compilation to work with custom modules

Describe the bug
When cloning a fresh repo that uses Spark.Formatter to format custom resource modules (i.e. like MyApp.Resource described here), mix format fails if it's not preceded by mix.compile.
To Reproduce
I've created a repo to easily reproduce the issue.
git clone https://github.com/rbino/spark_formatter_bug
cd spark_formatter_bug
mix do deps.get, format

fails with
mix format failed for file: test/test_helper.exs
** (ArgumentError) could not load module SparkFormatterBug.MyResource due to reason :nofile
    (elixir 1.15.7) lib/code.ex:1888: Code.ensure_compiled!/1
    (spark 1.1.55) lib/spark/formatter.ex:64: anonymous fn/1 in Spark.Formatter.format/2
    (elixir 1.15.7) lib/enum.ex:1693: Enum."-map/2-lists^map/1-1-"/2
    (elixir 1.15.7) lib/enum.ex:1693: Enum."-map/2-lists^map/1-1-"/2
    (spark 1.1.55) lib/spark/formatter.ex:59: Spark.Formatter.format/2
    (elixir 1.15.7) lib/enum.ex:2510: Enum."-reduce/3-lists^foldl/2-0-"/3
    (mix 1.15.7) lib/mix/tasks/format.ex:629: Mix.Tasks.Format.format_file/2
    (elixir 1.15.7) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2

While doing
mix do deps.get, compile, format

makes it work. Doing mix.clean and then mix.format recreates the error.
Expected behavior
This changes the default behaviour of mix format (which doesn't require the compilation of the app), I'd expect this to work with a freshly cloned repo (possibly detecting custom module and forcing a compilation of the application?).
Runtime

Elixir version: 1.15.7
Erlang version: OTP 26.1.2
OS: Ubuntu 22.04 LTS
Spark version: 1.1.55

I minimized the test case further (removing Ash, which was not actually needed to reproduce the bug) and I can confirm the main branch fixes the issue, thanks!


Swap in Airbnb linting.

Removes eslint-config-defaults in favor of eslint-config-airbnb.

Coverage increased (+0.7%) to 80.671% when pulling 7ba71d6951b23fc8ad35b9109bda876870dfa75e on SOI-34 into 0f35a9a8ee2ac63a51894a469e6c5c5e0f700bb8 on master.


test failure in cranelift-bforest and cranelift-entity with: no global memory allocator found but one is required; link to std

I've run the tests via:
cargo build -j12
cargo test --all -j12

here's the full log: test-failure.zip
I wonder if this is related to https://github.com/bytecodealliance/cranelift/pull/1262

This is an old bug and appears related to no_std support, which we don't support; I will go ahead and close this.


Add option to raise on validation error

Adds a new option to the validate command to force the program to raise an Exception when problems are detected with the translation files. This is useful when using the validate command with Travis and other CI solutions to ensure that new translations that are automatically downloaded and committed to projects are valid.

Coverage decreased (-0.6%) to 72.958% when pulling c2eb413eee3d1753e8b1bc66159087121daf7713 on LEARNER-1939-raise-on-validation-error into b86a9dcfe3eb39f8f4e197aadfd7ec7927aed31b on master.

Coverage decreased (-0.6%) to 72.958% when pulling c2eb413eee3d1753e8b1bc66159087121daf7713 on LEARNER-1939-raise-on-validation-error into b86a9dcfe3eb39f8f4e197aadfd7ec7927aed31b on master.

Coverage decreased (-0.6%) to 72.958% when pulling efe732c06f67e97f3fc7e2a7c848fb807c92bb59 on LEARNER-1939-raise-on-validation-error into b86a9dcfe3eb39f8f4e197aadfd7ec7927aed31b on master.

@clintonb I will change to return a non-zero exit code, but I think we should keep the command-line argument for now, as I do not want to break existing behavior if users are relying on it. The issues are already logged both to stdout and the .prob file.

Versioning. When folks choose to update to the latest version, they will have to fix any problems that result from failed validation. Given that the exit code will only change if validation fails, that's A Good Thing™.

@clintonb I made the changes you requested. Please take another look when you have a chance.

Coverage decreased (-0.6%) to 72.934% when pulling 8012a7dfa638c5cab6a0d62f9fa22d78b1f5126f on LEARNER-1939-raise-on-validation-error into b86a9dcfe3eb39f8f4e197aadfd7ec7927aed31b on master.

Coverage decreased (-0.6%) to 72.934% when pulling 8012a7dfa638c5cab6a0d62f9fa22d78b1f5126f on LEARNER-1939-raise-on-validation-error into b86a9dcfe3eb39f8f4e197aadfd7ec7927aed31b on master.

Coverage decreased (-0.7%) to 72.801% when pulling 7e96a17f23bd3e66e7ad0d009da864b7767ef077 on LEARNER-1939-raise-on-validation-error into b86a9dcfe3eb39f8f4e197aadfd7ec7927aed31b on master.

Coverage decreased (-0.7%) to 72.801% when pulling 238c131ba84be0add0b49fc1fa46299753366a9b on LEARNER-1939-raise-on-validation-error into b86a9dcfe3eb39f8f4e197aadfd7ec7927aed31b on master.

Coverage decreased (-0.7%) to 72.801% when pulling 238c131ba84be0add0b49fc1fa46299753366a9b on LEARNER-1939-raise-on-validation-error into b86a9dcfe3eb39f8f4e197aadfd7ec7927aed31b on master.

Coverage decreased (-0.7%) to 72.868% when pulling 8d41000b3e849d882ccbe47edcec155f304ec1e2 on LEARNER-1939-raise-on-validation-error into b86a9dcfe3eb39f8f4e197aadfd7ec7927aed31b on master.

@clintonb would you mind taking one more look at the latest commit? I didn't realize that report_problems also logs a warning when a .dup file is present. I'm not sure under what circumstances such a file would exist, but since it's important enough to log a warning I figure we should probably also exit 1 for that case.

Coverage decreased (-1.0%) to 72.579% when pulling 131e2ce453d4a640db15d4d3a7a0df3eebee887e on LEARNER-1939-raise-on-validation-error into b86a9dcfe3eb39f8f4e197aadfd7ec7927aed31b on master.

@nedbat I've addressed your feedback. Please take another look when you have a moment.

Coverage decreased (-1.2%) to 72.383% when pulling 8acaf3e7ca073033c5fa7a9bb5338d26011452b1 on LEARNER-1939-raise-on-validation-error into b86a9dcfe3eb39f8f4e197aadfd7ec7927aed31b on master.

Coverage decreased (-1.2%) to 72.383% when pulling ed2d0fddacda118d29eda7b27b70ded22c104c06 on LEARNER-1939-raise-on-validation-error into b86a9dcfe3eb39f8f4e197aadfd7ec7927aed31b on master.

Coverage decreased (-1.09%) to 72.448% when pulling 9449d4d383768c1b5860073e832a015102e2adb3 on LEARNER-1939-raise-on-validation-error into b86a9dcfe3eb39f8f4e197aadfd7ec7927aed31b on master.


chore: add missing eslint to example

Related Issue or Design Document

Checklist

[ ] I have read the contributing guidelines and signed the CLA.
[ ] I have referenced an issue containing the design document if my change introduces a new feature.
[ ] I have read the security policy.
[ ] I confirm that this pull request does not address a security vulnerability.
If this pull request addresses a security vulnerability,
I confirm that I got approval (please contact<EMAIL_ADDRESS>from the maintainers to push the changes.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have added the necessary documentation within the code base (if appropriate).

Further comments

It was failing for me prior but maybe because of outdated nom dependencies? This fixed it, but it seemed to work in CI prior. Not sure now... We can probably revert


Svelte 5: Support RC version

Describe the bug
Currently, the Svelte package of Urql supports only Official release of Svelte 5, and not the release candidate of Svelte 5:
"peerDependencies": {
  "@urql/core": "^5.0.0",
  "svelte": "^3.0.0 || ^4.0.0 || ^5.0.0"
},

Can the Svelte package be updated to also support the release candidate of Svelte 5?:
"peerDependencies": {
  "@urql/core": "^5.0.0",
  "svelte": "^3.0.0 || ^4.0.0 || ^5.0.0-next.1"
},

Reproduction

Urql version
urql v4.2.1
Validations

[X] I can confirm that this is a bug report, and not a feature request, RFC, question, or discussion, for which GitHub Discussions should be used
[X] Read the docs.
[X] Follow our Code of Conduct

This doesn't seem right tbh, while Svelte 5 hasn't been released, the PR to add was basically on the assumption that nothing changes for us, and that — at the time of testing — it looked like usage would be unchanged.
To clarify though ^5.0.0 is a range that includes pre-releases, e.g. 5.0.0-next.1. So, if you explicitly install a pre-release (e.g. via a range such as ~5.0.0-next.202) then you shouldn't see an error. At most, some package managers may choose to warn you about this

Sorry, then i must have done something wrong when using @urql/svelte with Svelte 5, npm did not allow me to install the package (without using --force of course). I’ll go ahead and look at the error messages again.

Alright, just let us know. I only briefly double-checked this against pnpm

@kitten Hi, the RC version for svelte doesn't work with npm install. Can we update with npm semver like what kit is doing ?
https://github.com/sveltejs/kit/blob/main/packages/kit/package.json#L50
Its currently blocking us from using Svelte 5 RC


Jenkins Plugin

It'd be super cool if there would be a Jenkins Plugin for ktlint. I also believe that the core functionality already exists since Checkstyle, PMD & Findbugs Plugin all show the errors the same way with the same information.
Maybe it's as simple as parsing the report and transforming it to the Jenkins structure.

@vanniktech I believe this will (is) taken care of in the upcoming release (which has a built-in checkstyle reporter (among others)). You'll be able to point Jenkins to the report file and everything should just work (provided I understand your request correctly).

It'll still need a Jenkins plugin though, right?

Last time I used Jenkins Checkstyle plugin allowed to specify multiple checkstyle files, so as long as ktlint can produce a file in a checkstyle-compatible format - there is no need for a separate plugin.

Oh ok now I understand it. That would make sense yeah.

checkstyle reporter added in 0.9.0 (ktlint --reporter=checkstyle > ktlint-report-in-checkstyle-format.xml should do the trick) (gradle & maven examples are available in the readme).

The generation does not quite work. ktlint fails with
Missing spacing around "="

However when I execute ktlintGenerateCheckstyleXML it generates the following file:
<?xml version="1.0" encoding="utf-8"?>
<checkstyle version="8.0">
</checkstyle>

which has no violations.

@vanniktech
$ cd /tmp
$ echo "val x=1" > A.kt
$ ktlint A.kt
/tmp/A.kt:1:6: Missing spacing around "="
$ ktlint A.kt --reporter=checkstyle
<?xml version="1.0" encoding="utf-8"?>
<checkstyle version="8.0">
	<file name="/tmp/A.kt">
		<error line="1" column="6" severity="error" message="Missing spacing around "="" source="op-spacing" />
	</file>
</checkstyle>

Check that pattern is actually matching files (you can try adding --debug CLI argument).

The normal ktlint task flags it so I'd expect it to be a generated checkstyle violation.

Hmmm weird. Now it does seem to be working. If I can reproduce this safely again, I'll report back.


Additional changes for MSPIleup data placement

Fixes #11426
Status
In development
Description
Additional changes (code re-factoring) for MSPileup data placement. In particular, for some of them listed in https://github.com/dmwm/WMCore/pull/11487#pullrequestreview-1318294689

fixes for mandatory/optional fields
relocation of MSPIleupReport under DataStructs
fixes for rucio initialization
remove rucio client code in favor of Rucio Wrapper
performed code-refactoring and provide pileupSizeTask method in MSPileupTasks module
replace usage of RSEQuotas with rucio Wrapper logic
add dry-run mode for MSPileupTaskManager and MSPileupTasks

Is it backward compatible (if not, which system it affects?)
YES
Related PRs
#11497
External dependencies / deployment changes

Alan, this PR is ready for your review. I updated its description to reflect all changes. In particular, it eliminates usage of rucio client in favor of Rucio Wrapper, etc. And, it addressed all issues we discussed on zoom and posted on Slack except integration logic.

Alan, these PR has all the changes we thought and you requested, including dry-run mode. From my side it is ready for review. Please review and merge if necessary, that I can proceed with integration which should come after this PR merge.

Alan, thanks for quick review. All issues, including fix for Rucio code, are resolved. I have the following commits:
28a111676 Fix return data-type to be consistent with Rucio API usage
e5e3fb101 Add dryRun mode and remove rucioArgs helper function
17b630080 Add pileupSizeTask and use RSEQuotas logic directly
7e60409c6 Remove usage of rucio client in favor of Rucio Wrapper
ee09ffe33 Fix import MSPileupReport in unit test
10d28325d Second round of changes for MSPileup data placement logic

I kept them separate based on categories but I can squash them together. Please let me know.

Alan, while I was awaiting your review, I built new image using this PR and https://github.com/dmwm/WMCore/pull/11504. I made several iterations to tune up k8s manifest file, new config, etc., and eventually deployed new service ms-pileup-tasks on my dev cluster:
ms-pileup-tasks-7d74777798-8xlpt   1/1     Running             0               5m26s
and within pod now I can see proper status
...
[06/Mar/2023:19:22:44] ms-pileup-tasks-7d74777798-8xlpt <IP_ADDRESS> "GET /ms-pileup-tasks/data/status HTTP/1.1" 200 OK [data: 306 in 220 out 1710 us ] [auth: OK "" "" ] [ref: "" "Go-http-client/1.1" ]
2023-03-06 19:22:44,508:INFO:Main: [06/Mar/2023:19:22:44] ms-pileup-tasks-7d74777798-8xlpt <IP_ADDRESS> "GET /ms-pileup-tasks/data/status HTTP/1.1" 200 OK [data: 306 in 220 out 1710 us ] [auth: OK "" "" ] [ref: "" "Go-http-client/1.1" ]

Therefore, if I did not miss anything, the changes are good enough to run the new service.

Alan, the commits are now squashed.

And, changes to FE, CMSKubernetes, etc are listed in https://github.com/dmwm/WMCore/pull/11504 description

Thanks Valentin!

Thanks @amaltaro for the warning. It turns out that WMCore's Rucio.py is/was too much heavily customized for WMA needs, so I found it easier to directly instantiate and use Rucio python client for the limited needs of CRAB.


zoom-area is blank if inside an ion-card

<ion-content padding>

  <ion-card>

    <zoom-area>

    </zoom-area>

    <ion-card-content>
      <ion-card-title>
        Nine Inch Nails Live
      </ion-card-title>

        The most popular industrial group ever, and largely responsible for bringing the music to a mass audience.

    </ion-card-content>
  </ion-card>

</ion-content>

I am investigating this issue, it seems to works perfectly in Ionic 3.9.2, which version are you using? Can you please add your ionic info?

After check, cards will be not supported at this time. Please consider to use it without cards.

It is not even working with
 tag.


Cannot Create Legacy SQLCipher Encrypted DB

Following along the info stated in the readme file to a create a legacy SQLCipher encrypted DB that can be opened in SQLIte Browser.
Running this code:
import Database from 'better-sqlite3-multiple-ciphers';

const db = new Database('test.db', {verbose: console.log});
db.pragma(`cipher='sqlcipher'`)
db.pragma(`legacy=4`)
db.pragma(`key='secret-key'`);
db.close();

creates a valid sqlite3 db but that db is NOT encrypted, SQLIte Browser does NOT ask a for a password or key, it directly opens the empty db. Navicat does the same thing.
What am I doing wrong?
Win 10 x64
Node 16.13.2
better-sqlite3-multiple-ciphers: 9.4.1
Also, is there a list of operating systems that are known to work or not work with this package?
Thanks!

Can you create a minimal reproducible repo so I can check it out?

Can you create a minimal reproducible repo so I can check it out?

embarrassed to say I don't know how.
But, it is literally just the few lines of code I posted above, nothing else.

@petef19 If it's only those lines of code you tried, there's an issue. You have to close the DB properly for the encryption to stick. You aren't doing that on the snippet you posted.

@m4heshd
I do, but didn't include that originally in my post.
I updated the code snippet, please see above.

@petef19 Just realized that your new DB is empty. New databases in SQLite are 0-byte files which means any 0-byte file can be a database. So when you try to encrypt it, there's no data to encrypt.
Try this for an example:
import Database from 'better-sqlite3-multiple-ciphers';

const db = new Database('test.db', {verbose: console.log});

db.pragma(`cipher='sqlcipher'`);
db.pragma(`legacy=4`);
db.pragma(`key='secret-key'`);

db.prepare(
    `
        CREATE TABLE IF NOT EXISTS "people"
        (
            "id"   TEXT,
            "name" TEXT,
            "age"  REAL,
            PRIMARY KEY ("id")
        )
    `
).run();

db.prepare(
    `
        INSERT OR IGNORE INTO "people"
        VALUES (@id,
                @name,
                @age)
    `
).run({
    id: '1',
    name: 'Jane',
    age: '25'}
);

console.log(
    db.prepare(`SELECT * FROM "people"`).all()
);

db.close();

Also keep in mind, that simply setting an SQLite PRAGMA would also do the job since that makes the new file an actual database. Try the following as well.
import Database from 'better-sqlite3-multiple-ciphers';

const db = new Database('test.db', {verbose: console.log});

db.pragma(`cipher='sqlcipher'`);
db.pragma(`legacy=4`);
db.pragma(`key='secret-key'`);
db.pragma('journal_mode=WAL');

db.close();

both approaches unfortunately do NOT produce the desired result
the created encrypted db does return data for the SELECT query but now the db does NOT open in latest DB Browser for SQLite, see here:

That's really odd because it all works perfectly fine for me. Make sure to delete the previous test.db before you run that block of code.

Make sure to delete the previous test.db before you run that block of code.
I do delete the test.db file after every test run so that a new file is created every time.
Which OS are you on and which version of DB Browser for SQLite?
I tested this in two (2) different Node repos, 1x default Node and 1x Electron.
Both exhibit the exact same behavior.

You also could've missed one other tiny detail. DB4S has two versions. One's compiled with plain SQLite3 and the other with SQLCipher.

You might be trying to open the DB in the plain version. 🤔
And when you're trying to open it in the SQLCipher version, ensure the header values reflect the following.

You might be trying to open the DB in the plain version. 🤔

🤣 yup, you were absolutely right! I never realized there is a separate exe for the SQLCipher version, holy cow!
okay, it works now - THANK YOU! 😄
so, can you comment on if there is any major concerns or differences for these encryption algos:
(1) SQLCipher legacy - works in DB4S
(2) AES 128-bit - works in Navicat
(3) SQLeet ChaCha - default for bs3 - works in SQLite Studio
I'm not a fan of SQLite Studio which is why I'm asking if (1) or (2) raise any concern?
Thanks!

I personally stick to ChaCha20-Poly1305 because, from the documentation I could find, it's much more secure and reliable. Also judging by my own tests throughout the many years, it tends to be much faster than any other cipher scheme on every platform and architecture. For reference, take a look at these latest test timings.
But then you do run into the issue of not having a good compatible tool to manipulate your database visually. I used to write my own separate programs for that specific task but, ended up setting up my own custom driver for the IDE I use since JetBrains IDEs have a really advanced data source management plugin built-in.

nice, thanks!

ended up setting up my own custom driver for the IDE I use since JetBrains IDEs have a really advanced data source management plugin built-in.

did you publish the JB addon?
we're using JB IDE as well...

it tends to be much faster

did a quick & dirty performance test between three (3) bs3 algos in Node that included these tasks:
(1) create a new encrypted db
(2) create table and insert 200 rows
(3) then read the 200 rows
results:
AES 128-bit: 	            960.136ms
SQLeet cha-cha (default):   987.61ms
SQLCipher legacy:           969.46ms

from that, they all look equal.
My concern is that if ever (god forbid) this great bs3 package gets EOL'd, then which node package can we use to open our ChaCha20-Poly1305 encrypted database in our app?
W/ SQLCipher legacy we could fall back to node-sqlite3 package, not great but at least a fallback option....
Are there other node packages that support ChaCha20-Poly1305 ?
Thanks!

did you publish the JB addon?

~I can't even remember how I set it up. Not using any of it anymore.~
Nevermind. Curiosity got the best of me. JetBrains IDE's custom data source configuration is undocumented. Just spent 3.5 hours to set this up flawlessly. It took an insane amount of effort to tests and create these template URLs. 🥵
First, head over to this repo and download both the JDBC driver and slf4j-api-1.7.36.jar file and use them as a custom data source driver in your JB IDE. It should look like this:

Then comes the infuriating URL Template portion. I managed to create the following URL Templates to cover every cipher scheme and any scenario.
Multi-cipher:
jdbc:sqlite:!(:memory:){file::database.db}[\?<&,cipher={Cipher:variants:chacha20:sqleet=chacha20,SQLCipher=sqlcipher,Ascon\: Ascon-128 v1.2=ascon128,System.Data.SQLite\: RC4=rc4,wxSQLite3\: AES 128 Bit=aes128cbc,wxSQLite3\: AES 256 Bit=aes256cbc},legacy={Legacy version:param},key={Key:param}>]

This should be enough. The following are just optional.
Sqleet:
jdbc:sqlite:!(:memory:){file::database.db}[\?<&,cipher={Cipher:param:chacha20},key={Key:param}>]

SQLCipher:
jdbc:sqlite:!(:memory:){file::database.db}[\?<&,cipher={Cipher:param:sqlcipher},legacy={SQLCipher version:param:4},key={Key:param}>]

After this, you can simply create a Data Source using that custom driver. Following is a screenshot of the active data source of the very same example application I wrote for you yesterday. It's using ChaCha20-Poly1305 now.

Please consider a donation for my time and effort if this library and my support served you well. 😌

from that, they all look equal.

Unfortunately, It's not as simple as that. Also, you need much larger test scenarios to observe any actual difference. You can clearly see from the tests I linked, that AES operations are much slower. This also depends on hardware because AES cryptography is heavily hardware-accelerated unlike ChaCha20-Poly1305.
If you test further, you'll find that opening even a smaller database encrypted using SQLCipher is a way more expensive task than opening a sqleet DB because of the resource-heavy iterations it performs for key derivation. That kind of performance matters when you develop scalable and adaptable software. This is why ChaCha20-Poly1305 is way more popular in embedded applications. You can read this wiki to get a much better understanding.

Are there other node packages that support ChaCha20-Poly1305 ?

Unfortunately, there's only one, that was also published by me 😄, now deprecated. This is the reality of using third-party libraries. You just never know when you'll run into trouble 🤷🏻. Been developing software practically my whole life and I can't even count how many times I had to write my own libraries because of this very same reason.

your timing... is impeccable 😆
I literally just figured the JB IDE part out and wanted to post here and see your post.
In case anybody else reads this here, the one thing that held me up was that one has to also specify the slf4j-api-1.7.36.jar file (in addition to the jdbc file) when creating a custom User driver!
I tested this with ChaCha20, SQLCipher and AES 128 CBC using a custom URL to open the encrypted db file - all working.
not sure if I prefer the DBMS over Navicat, but for a quick overview of the current data structure this will do nicely.
Thanks regarding your input regarding performance!

@petef19 That's great. Keeping this issue open for the moment because I'd like to add this process to the documentation at some point.

...For reference, take a look at these latest test timings.

@m4heshd is there any way you could post these test timings and have them persisted? It says the logs have all expired so cannot view them. Thanks!

is there any way you could post these test timings and have them persisted?

You can always take a look at the log of the latest test runs from the test workflow.

Sorry for the dumb question but is there a specific workflow action I should look at in there for the benchmarking of the different encryption options? I was looking for the timings you referred to above recommending chacha as the fastest (have to show my team haha) :) thanks!

@GitMurf It's always this portion of any test.


fftw: Re-enable OpenMP with non-GCC and musl

Motivation for this change
Clang now supports OpenMP, and musl has no problem with it either.
Following https://github.com/NixOS/nixpkgs/commit/3413562111a141cb7ffb687819dc9d63c52f11c7.
Related to #7023 (cc @acowley) and #34645.
Things done

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

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

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

CC @spwhitt

I've tested by:

building pkgsMusl.fftw
building pkgs.fftw with stdenv replaced by clangStdenv

Still building:

building pkgsMusl.fftw with stdenv replaced by clangStdenv

This needs a test on Darwin, can somebody please ofborg-build it for me?


Melpa stable for emacs-company

could you please create a tag to use this package using melpa stable [1].
Thanks
[1] : http://stable.melpa.org/

What tag should I add exactly? Are there any guides?

Oh, never mind, I see.

I've added this tag: https://github.com/nsf/gocode/tree/v.20150303 , should be enough?

According to Melpa maintainer, Melpa don't recognizes this tag [1].
[1] : https://github.com/milkypostman/melpa/issues/2553

http://stable.melpa.org/#/go-autocomplete


[lint] Minor lint fixes related to unused clocks

some of the prim_mubi_sync usage does not use the clock at all.
This causes the lint tool to throw a CLOCK_USE error.
in these instances, hardwire the unused clocks / resets to 0.

Signed-off-by: Timothy Chen<EMAIL_ADDRESS>

ah crap. did i squash this with the previous one? my mistake I will fix.
@msfschaffner / @mwbranstad as a separate point, do we see a need to use the mubi sync stability check for this crossing?
I THINK it's okay, since this is an otp broadcast, and things will stabilize much earlier before any of the entropy blocks are used.
Let me know if that rationale makes sense to you.

Makes sense to me.

Yeah it should be fine, unless there is a invalid checker in there on that specific MUBI, since then staggered signals might cause problems...

Yeah it should be fine, unless there is a invalid checker in there on that specific MUBI, since then staggered signals might cause problems...

when i looked yesterday, it looked like it was only there to qualify other signals and not generate alerts / errors, @mwbranstad will know best though.

Yeah it should be fine, unless there is a invalid checker in there on that specific MUBI, since then staggered signals might cause problems...

when i looked yesterday, it looked like it was only there to qualify other signals and not generate alerts / errors, @mwbranstad will know best though.

sorry, is there a specific case that i can verify?

not at the moment no, since all our synchronizers behave perfectly right now (we will have to turn on the randomization option).
So it's just more...since this is a multi-bit sync, we will likely get non-true / non-false values while it is changing.  I'm just asking if that could leave any permanent error in the system, or it would just delay certain things from happening.

if the mubi functions work as i think they will, i do not see an issue at this time.


enable way edit

this fix https://github.com/healthsites/healthsites/issues/1247
hi @markherringer
this PR will enable edit of way (polygon)
i sucessed edit a way

https://www.openstreetmap.org/way/619348670
For way, latitude/longitude input will be hidden, as well as marker

Coverage decreased (-0.04%) to 39.533% when pulling 2fa69d0b50b93d0954b068f593272b9ec2a9477a on meomancer:way-edit into de011741dcfbfc667358734a8948a33c4fbfdebe on healthsites:develop.


Installing Snowflake driver

With December release of Power BI desktop we no longer require customers to install a Snowflake driver, an appropriate driver is bundled with Power BI desktop.

@ananth11 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@davidiseminger : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Reverting this PR, replacing with https://github.com/MicrosoftDocs/powerbi-docs-pr/pull/3845 because file moved to a new folder in the meantime.


Folder structure change

Make folder structure comply with cookiecutter template:

remove js folder and move file into src under root.
change setup.py accordingly
add yarn command for watch and cleaning up
combine the two README.MD file properly

Now  pip install -e . will handle both backend and frontend build.
jupyter labextension develop  --overwrite  .
jupyter lab

good job!


JBPM-4909: Drilldown in Process and Task dashboard is broken (6.4.x)

Fix + tests
NOTE: This PR depends on https://github.com/dashbuilder/dashbuilder/pull/98

jenkins retest this

The fail is not related to changes in this PR. I will need to update the config in Jenkins after we branched (basically the 6.4.x branch is new and the tooling has no info about that). Sorry about the inconvenience. It should get fixed during the day.

6.4.x: 136c919ddeb30660ae3a448e2aeea09d399a87fb


ippserver fails two "Print-Job with {US Letter,A4} PDF, Duplex" tests with "status-message='Unsupported sides keyword value'."

Just now I reported issue #58 where I modified the ipp-1.1.test file a bit in order to get a non-failing "Get-Jobs Operation (requested-attributes)" tests.
Using this modified ipp-1.1.test file I proceeded to run ippserver with duplex printing enabled (ippserver -2 [....]) and ran the IPP-1.1 test again. It now tells me it supports duplex printing here...

[Printer IPP Default from AppImage] sides-default (keyword) one-sided
[Printer IPP Default from AppImage] sides-supported (1setOf keyword) one-sided,two-sided-long-edge,two-sided-short-edge

...as well as here:

[Printer IPP Default from AppImage] job-creation-attributes-supported (1setOf keyword) \
   copies,ipp-attribute-fidelity,job-account-id,job-accounting-user-id,job-name, job-password,\
   job-priority,media,media-col,multiple-document-handling,orientation-requested,print-quality,\
   sides

Here are the relevant IPP-1.1 test results:

    [....]
    Print-Job with A4 PDF                                                [PASS]
    Print-Job with A4 PDF, Duplex                                        [FAIL]
        RECEIVED: 194 bytes in response
        status-code = client-error-attributes-or-values-not-supported (Unsupported sides keyword value.)
        EXPECTED: STATUS successful-ok (got client-error-attributes-or-values-not-supported)
        EXPECTED: STATUS server-error-job-canceled (got client-error-attributes-or-values-not-supported)
        status-message="Unsupported sides keyword value."
        EXPECTED: job-uri
        EXPECTED: job-id
        EXPECTED: job-state
        EXPECTED: job-state-reasons
    Print-Job with US Letter PDF                                         [PASS]
    Print-Job with US Letter PDF, Duplex                                 [FAIL]
        RECEIVED: 201 bytes in response
        status-code = client-error-attributes-or-values-not-supported (Unsupported sides keyword value.)
        EXPECTED: STATUS successful-ok (got client-error-attributes-or-values-not-supported)
        EXPECTED: STATUS server-error-job-canceled (got client-error-attributes-or-values-not-supported)
        status-message="Unsupported sides keyword value."
        EXPECTED: job-uri
        EXPECTED: job-id
        EXPECTED: job-state
        EXPECTED: job-state-reasons
    [....]

The corresponding output of the ippserver -2 [....] process for this part of the IPP-1.1 test was this:

[Client 1] POST /ipp/print
[Client 1] Continue
[Client 1] Request: version=1.1
[Client 1] Request: operation-id=Print-Job(0002)
[Client 1] Request: request-id=85526
[Client 1] Request: operation-attributes-tag
[Client 1] Request: attributes-charset (charset) utf-8
[Client 1] Request: attributes-natural-language (naturalLanguage) en
[Client 1] Request: printer-uri (uri) http://lenjessie2.fritz.box:8888/ipp/print
[Client 1] Request: requesting-user-name (nameWithoutLanguage) kp
[Client 1] Request: job-name (1setOf nameWithoutLanguage) A4 Test Document, Duplex
[Client 1] Request: ipp-attribute-fidelity (boolean) false
[Client 1] Request: document-name (nameWithoutLanguage) document-a4.pdf
[Client 1] Request: compression (keyword) none
[Client 1] Request: document-format (mimeMediaType) application/pdf
[Client 1] Request: job-attributes-tag
[Client 1] Request: media (keyword) iso_a4_210x297mm
[Client 1] Request: sides (keyword) two-sided-long-edge
[Client 1] Print-Job compression='none'
[Client 1] Print-Job document-format='application/pdf'
[Client 1] Print-Job client-error-attributes-or-values-not-supported (Unsupported job-name 1setOf nameWithoutLanguage value.)
[Client 1] Print-Job client-error-attributes-or-values-not-supported (Unsupported sides keyword value.)
[Client 1] Response: version=1.1
[Client 1] Response: status-code=client-error-attributes-or-values-not-supported(040b)
[Client 1] Response: request-id=85526
[Client 1] Response: operation-attributes-tag
[Client 1] Response: attributes-charset (charset) utf-8
[Client 1] Response: attributes-natural-language (naturalLanguage) en
[Client 1] Response: status-message (textWithoutLanguage) Unsupported sides keyword value.
[Client 1] Response: unsupported-attributes-tag
[Client 1] Response: job-name (1setOf nameWithoutLanguage) A4 Test Document, Duplex
[Client 1] Response: sides (keyword) two-sided-long-edge
[Client 1] OK
[Client 1] serverRespondHTTP: Sending 194 bytes of IPP response (Content-Length=194)
[Client 1] serverRespondHTTP: Sent IPP response.
[Client 1] serverRespondHTTP: Flushing write buffer.

There is also this (additionally suspect) line to be seen, talking about "Unsupported job-name":

[Client 1] Print-Job client-error-attributes-or-values-not-supported (Unsupported job-name 1setOf nameWithoutLanguage value.)

This is because of the output device vs. printer attributes issue.

[master 088f8fe] Fix job attribute validation (Issue #49, Issue #59)


Add sample queries to gist

For newbies, adding one or multiple example queries to the underlying gist and showing/adding these example queries to the query input field might help getting started (as only the execute query-button needs to be clicked to run a first query).

Has been implemented in v0.28
Usage can be seen either in the readme or by looking at this gist: https://gist.github.com/r-prem/7d624a5f80dec980493f6dfd7bc1837d


k3s kubernetes version are offered on attempt to upgrade custom RKE2 cluster in Cluster Management in Explorer

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

Deploy custom RKE2 cluster from Cluster Management in Explorer UI
Go to Cluster Management, select the new cluster and click Edit Config

Result:

k3s kubernetes versions are offered for upgrade:

Other details that may be helpful:

In Ember UI only RKE2 kubernetes versions are offered for upgrade

Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): rancher/rancher:master-head 351f7ca
Installation option (single install/HA): any

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): custom RKE2

Thanks, now it offers only rke2 k8s versions and not k3s ones. Also downgrade is not possible anymore. Tested on rancher/rancher:master-head 562737f. Close.
Cluster was originaly deployed with 1.20, then upgraded to 1.21:


[$250] Dupe detection - Report header has "Hold" action when the expense is already in Hold status

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.41-1
Reproducible in staging?: Y
Reproducible in production?:  N/A - new feature, doesn't exist in prod
Issue was found when executing this PR: https://github.com/Expensify/App/pull/48522
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Action Performed:

Go to staging.new.expensify.com
[Employee] Submit two same expenses in the workspace chat.
[Admin] Go to any of the submitted expense in the workspace chat.
[Admin] Go offline.
[Admin] Click Review duplicates.
[Admin] Click Keep this one (any).
[Admin] Click Confirm on the confirmation page.
[Admin] Go to the other transaction thread that has "Hold" action in the expense preview.
[Admin] Click on the report header.

Expected Result:
Since the other expense has "Hold" action, the report header should have the "Unhold" action.
Actual Result:
The report header has "Hold" action when the expense is already in Hold status.
Workaround:
Unknown
Platforms:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/0055f62e-e602-418a-8393-ccaf2387c219

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021840780088904015602
Upwork Job ID:<PHONE_NUMBER>904015602
Last Price Increase: 2024-09-30

Issue OwnerCurrent Issue Owner: @eVoloshchak

On prod, the other expense vanishes instantly
https://github.com/user-attachments/assets/7f756a65-9140-466b-a8c1-2cb2e554584b

We think that this bug might be related to #wave-collect - Release 1

Dupe detection is behind a beta w/ only internal users and developers, this is NAB

Since all of these actions happen offline this issue is in the front-end and can therefore be fixed externally.

@eVoloshchak Please review proposals!

@twilight294 sorry for the confusion, I have thumbs to your proposal but didn't intend on assigning you, I was acknowledging that I saw your proposal.

@eVoloshchak the PR is waiting on your review, can you take a look?

@eVoloshchak the https://github.com/Expensify/App/pull/50383 is waiting on your review, can you take a look?

^^ Bump @eVoloshchak

I can review PR if needed

PR is on staging!

This doesn't appear to be fixed by the PR as the original issue is still reproducible on Mobile Web: https://github.com/Expensify/App/pull/50383#issuecomment-2430541377

Summarizing payment on this issue:

Contributor: @eVoloshchak $250 via NewDot - Please request
Contributor+: @daledah $250 via Upwork - offer extended, please accept!

Upwork job is here: https://www.upwork.com/jobs/~021851909474139768777

All paid!

$250 approved for @eVoloshchak


fix executor instance_cmd

There's one extra directory separator before bin/java in the current executor code. One example as follows:
2016-06-28 23:01:36: Running container_6_kvs_sink_bolt_216 process as /usr/lib/jvm/java-1.8.0-twitter//bin/java -Xmx4672M -Xms4672M .... 31029 31806 heron_internals.yaml
This PR fixes it and generates java path with exactly one directory separator along the path

:+1:

👍


Genesis GV70 2022 port

GV70 Car port
Checklist

[ ] added entry to CarInfo in selfdrive/car/*/values.py and ran selfdrive/car/docs.py to generate new docs
[ ] test route added to routes.py
[ ] route with openpilot:
[ ] route with stock system:

Todos:

Create GV70 vehicle (remove EV6 dependency)

DBC file
Carstate
Interface
HDA2can
Values

Add acc/brake/gear
Panda Safety Cleanup
Get fingerprinting working
Tune
Genericize "HDA2" in the code

This might be better suited in another PR

Docs
Test drives

@sshane @adeebshihadeh
I'm currently stuck on the two below items if you guys could be of any assistance, or point me to correct docs/people to help.
Getting accelerator_pedal command:
https://discord.com/channels/469524606043160576/524611978208215070/999060819180527801
Tuning:
https://discord.com/channels/469524606043160576/574796986822295569/998328655770030171
Thanks for the help thus far! I'm slowly getting there :)

@adeebshihadeh  Finally getting this close to PR ready. Biggest thing now is my panda safety.
https://github.com/commaai/panda/pull/1023
I have it working, but I need some help on making it generic across platforms, or possibly having the gv70 have it's own safety file.

@adeebshihadeh Finally getting this close to PR ready. Biggest thing now is my panda safety. commaai/panda#1023 I have it working, but I need some help on making it generic across platforms, or possibly having the gv70 have it's own safety file.

I merged the HDA1 Tucson today, which should hopefully make it generic enough to cover the GV70. Can you rebase on master? Also, a test route would be helpful.

.
Route is uploaded. I'm getting the following error.. I uploaded the logs and made public on useradmin. Is it possibly because there is no fingerprint?

Exception: Route: 'ca4de5b12321bd98|2022-08-22--20-23-34' with segments: (2, 1, 0) not found or no CAN msgs found. Is it uploaded?

@sshane @adeebshihadeh I know this one is a little more complex than the rest of the can-fd ports have been such far, but anything else I can do to get this merged in? I have another person who got it up and running, and a couple others who have messaged me. I know that's not a ton of people, but 2 fold from a few weeks ago :)

@sshane @adeebshihadeh I know this one is a little more complex than the rest of the can-fd ports have been such far, but anything else I can do to get this merged in? I have another person who got it up and running, and a couple others who have messaged me. I know that's not a ton of people, but 2 fold from a few weeks ago :)

I did a bunch of cleanup for the CAN-FD Hyundai's today to make everything a bit more generic. Can you rebase on master and cleanup your branch?

Moving to #26068


Add a subsection dedicated to quickly find snippets of object definition in YAML ready to be copy and paste

This is a Feature Request
What would you like to be added
I would like to have a section of the website optimized to quickly find commented snippets of code for all major object. Typically a page that contains different snippets/examples of object definition ready to be copy and paste.
Why is this needed
When someone wants to find a snippet to create an object, the typical way of doing it is to go through tasks and tutorials to find an example and copy and paste it. This requires a user to know in which tutorial/example to look in to find the right snippet.
This is particularly true during certification when a candidate can only use the kubernetes.io website to find this information. Maybe a snippet section optimized to quickly find a template could help them save some time during the exam.

/kind feature

/remove-lifecycle stale

Actually we can add examples to the kubernetes reference page.
For example, if you check https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#deployment-v1-apps, you will find that there is an example button.
To move forward with this, we can add more examples to this directory, then new API reference generated will automatically pick them up.

/remove-lifecycle rotten


Error: Building package spdlog:x64-windows failed with: BUILD_FAILED

I'm getting the following error when running:
set VCPKG_DEFAULT_TRIPLET=x64-windows
set VCPKG_ROOT=C:\dev\vobs_nrf_driver\vcpkg-master
set PATH=%PATH%;%VCPKG_ROOT%
vcpkg install --head spdlog

CMake Error at scripts/cmake/vcpkg_fixup_cmake_targets.cmake:42 (message):
'C:/dev/vobs_nrf_driver/vcpkg-master/packages/spdlog_x64-windows/debug/lib/cmake/spdlog'
does not exist.
Call Stack (most recent call first):
ports/spdlog/portfile.cmake:22 (vcpkg_fixup_cmake_targets)
scripts/ports.cmake:71 (include)
Error: Building package spdlog:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: spdlog:x64-windows
Vcpkg version: 2018.11.23-nohash
Additionally, attach any relevant sections from the log files above.

I ran vcpkg update and it reported:

Using local portfile versions. To update the local portfiles, use git pull.
No packages need updating.

Just tested using master (I was using an earlier version) and I see the same problem.

Hi @jpo38, when you install the port with the --head parameter, vcpkg will download and use the port's latest code to install, and the default port code used by vcpkg is not necessarily the latest port code.
I can't reproduce this issue on the latest version of vcpkg. Can you update vcpkg and rebuild spdlog:x64-windows?
Thanks.

Hello,
Just downloaded vcpkg:
C:\dev\vcpkg-master>bootstrap-vcpkg.bat
C:\dev\vcpkg-master>set VCPKG_DEFAULT_TRIPLET=x64-windows
Still getting the error:
C:\dev\vcpkg-master>vcpkg install --head spdlog
Your feedback is important to improve Vcpkg! Please take 3 minutes to complete our survey by running: vcpkg contact --survey
The following packages will be built and installed:

fmt[core]:x64-windows
spdlog[core]:x64-windows (from HEAD)
Additional packages (*) will be modified to complete this operation.
Starting package 1/2: fmt:x64-windows
Building package fmt[core]:x64-windows...
A suitable version of cmake was not found (required v3.14.0). Downloading portable cmake v3.14.0...
Downloading cmake...
https://github.com/Kitware/CMake/releases/download/v3.14.0/cmake-3.14.0-win32-x86.zip -> C:\dev\vcpkg-master\downloads\cmake-3.14.0-win32-x86.zip
Extracting cmake...
A suitable version of 7zip was not found (required v18.1.0). Downloading portable 7zip v18.1.0...
Downloading 7zip...
https://www.nuget.org/api/v2/package/7-Zip.CommandLine/18.1.0 -> C:\dev\vcpkg-master\downloads\7-zip.commandline.18.1.0.nupkg
Extracting 7zip...
A suitable version of nuget was not found (required v4.6.2). Downloading portable nuget v4.6.2...
Downloading nuget...
https://dist.nuget.org/win-x86-commandline/v4.6.2/nuget.exe -> C:\dev\vcpkg-master\downloads\nuget.exe
A suitable version of git was not found (required v2.21.0). Downloading portable git v2.21.0...
Downloading git...
https://github.com/git-for-windows/git/releases/download/v2.21.0.windows.1/PortableGit-2.21.0-32-bit.7z.exe -> C:\dev\vcpkg-master\downloads\PortableGit-2.21.0-32-bit.7z.exe
Extracting git...
-- Downloading https://github.com/fmtlib/fmt/archive/5.3.0.tar.gz...
-- Extracting source C:/dev/vcpkg-master/downloads/fmtlib-fmt-5.3.0.tar.gz
-- Using source at C:/dev/vcpkg-master/buildtrees/fmt/src/5.3.0-9fc40447dd
-- Downloading https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-win.zip...
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: C:/dev/vcpkg-master/packages/fmt_x64-windows/share/fmt/copyright
-- Performing post-build validation
-- Performing post-build validation done
Building package fmt[core]:x64-windows... done
Installing package fmt[core]:x64-windows...
Installing package fmt[core]:x64-windows... done
Elapsed time for package fmt:x64-windows: 1.786 min
Starting package 2/2: spdlog:x64-windows
Building package spdlog[core]:x64-windows from HEAD...
-- Downloading https://api.github.com/repos/gabime/spdlog/git/refs/heads/v1.x...
-- Skipping hash check for C:/dev/vcpkg-master/downloads/temp/gabime-spdlog-v1.x.tar.gz.version.
-- Downloading https://github.com/gabime/spdlog/archive/v1.x.tar.gz...
-- Skipping hash check for C:/dev/vcpkg-master/downloads/temp/gabime-spdlog-v1.x.tar.gz.
-- Extracting source C:/dev/vcpkg-master/downloads/gabime-spdlog-v1.x.tar.gz
-- Applying patch disable-master-project-check.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Using source at C:/dev/vcpkg-master/buildtrees/spdlog/src/head/v1.x-bda0b893e5
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
CMake Error at scripts/cmake/vcpkg_fixup_cmake_targets.cmake:45 (message):
'C:/dev/vcpkg-master/packages/spdlog_x64-windows/debug/lib/cmake/spdlog'
does not exist.
Call Stack (most recent call first):
ports/spdlog/portfile.cmake:22 (vcpkg_fixup_cmake_targets)
scripts/ports.cmake:71 (include)

Error: Building package spdlog:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: spdlog:x64-windows
Vcpkg version: 2018.11.23-nohash
Additionally, attach any relevant sections from the log files above.

@jpo38 Yeah, I know.
This is because the *.cmake build path for the code downloaded via --head has changed, causing the build to fail. This is not a port bug, we can update this port if needed.


[Exiv2] update to 0.27.1

Tested on windows and everything works like usual.
Note that there is a breaking change on cmake usage, instead of target_link_libraries(main PRIVATE xmp exiv2lib) now it becomes target_link_libraries(main PRIVATE exiv2-xmp exiv2lib)

@jasjuang, please test linux build.

iconv.patch doesn't apply

The following packages will be built and installed:
    exiv2[core]:x64-linux
Starting package 1/1: exiv2:x64-linux
Building package exiv2[core]:x64-linux...
-- Using cached /home/nartes/Documents/current/clothes-search/deps/vcpkg/downloads/Exiv2-exiv2-0.27.1.tar.gz
-- Extracting source /home/nartes/Documents/current/clothes-search/deps/vcpkg/downloads/Exiv2-exiv2-0.27.1.tar.gz
-- Applying patch iconv.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Using source at /home/nartes/Documents/current/clothes-search/deps/vcpkg/buildtrees/exiv2/src/0.27.1-0acca1f921
-- Configuring x64-linux-dbg
^CError: Building package exiv2:x64-linux failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: exiv2:x64-linux
  Vcpkg version: 2019.06.21-unknownhash

Additionally, attach any relevant sections from the log files above.

as a result Iconv::Iconv dependency breaks build, since it should be replaced

1

@nartes Unfortunately I don't have a vcpkg linux setup to test. If there's an error on linux I think the CI should catch it. Do you have any idea why it didn't?


Update README.md

"Web Serices" corregido a "Web Services"
"Factura electronica" a "Factura electrónica"
All Submissions:

[ ] Have you followed the guidelines in our Contributing document?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submissions:

[ ] Does your submission pass tests?
[ ] Have you lint your code locally before submission?

Changes to Core Features:

[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your core changes, as applicable?
[ ] Have you successfully run tests with your changes locally?

errores de tipeo


chore(master): release 0.1.4

:robot: I have created a release beep boop
0.1.4 (2022-06-28)
Bug Fixes

correct paths in Dockerfile (33a4cf2)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/indykite/metadata-publisher/releases/tag/v0.1.4 :sunflower:


Variable declaration with newlines broken in 1.1.3

This worked in the previous version of CS but now results in an UNEXPECTED 'TERMINATOR' compile error:
name =
'dave'

http://coffeescript.org/#try:name %3D
'dave'

It seems to me that CoffeeScript parses this code properly now, because 'dave' is unindented. Consider:
name =
surname =
age =
(a, b) ->

Either indent 'dave' or put a backslash after =:
name = \
'dave'

Michael, was this an intentional change? It seems undesirable to me to use indentation for line-continuation purposes in a whitespace-significant language. I expect operators at the end of lines to automatically produce continuation; for instance,  find
if lotsOfLogic and otherConditions or
a is b
  c

much more sensible than the extra-indented
if lotsOfLogic and otherConditions or
  a is b
    c

Both are acceptable to the compiler right now, so it seems odd that assignments can't be carried over in the same way.  So, pinging @satyr.

The grammar has been like this for long time, but #1102 was interfering with it.

This should be fixed, under the new unfinished() scheme, in the above commit.


[PPP-4490] We should not allow anonymous access to executeJob and exe…

…cuteTrans
@pentaho-lmartins @ssamora @ppatricio @bcostahitachivantara

:x: Build failed in 25m 18s
Build command:
mvn clean verify -B -e -Daudit -amd -pl core,engine,plugins/pur/core

:ok_hand: All tests passed!
Tests run: 4413, Failures: 0, Skipped: 7    Test Results

Errors:
Filtered log (click to expand)

script returned exit code 1

:information_source:  This is an automatic message

:white_check_mark: Build finished in 42m 56s
Build command:
mvn clean verify -B -e -Daudit -amd -pl core,engine,plugins/pur/core

:ok_hand: All tests passed!
Tests run: 4835, Failures: 0, Skipped: 7    Test Results

:information_source:  This is an automatic message

:white_check_mark: Build finished in 44m 6s
Build command:
mvn clean verify -B -e -Daudit -amd -pl core,engine,plugins/pur/core

:ok_hand: All tests passed!
Tests run: 4835, Failures: 0, Skipped: 7    Test Results

:information_source:  This is an automatic message

:white_check_mark: Build finished in 50m 21s
Build command:
mvn clean verify -B -e -Daudit -amd -pl core,engine,plugins/pur/core

:ok_hand: All tests passed!
Tests run: 4835, Failures: 0, Skipped: 7    Test Results

:information_source:  This is an automatic message

To be reformulated.


Add PIEXGO token

Project background details:
Team background:
PIEXGO is an emerging digital asset exchange, providing advanced financial services to traders globally by blockchain technology. We have solid relationships with industry leaders and provide secure and reliable digital asset trading and asset management services to millions of users. PXG is the token for PIEXGO, It is to promote the development of the platform and establish an ecological economy.
Current situation of the project:
The token has been created and the website is going to be launched soon.
Media exposures:
https://www.shenliancaijing.com/portal/activity/activedetail.html?id=2988
https://www.trzrb.com/chain/2419.html
Tradeable exchanges: none
Recommended Gas Limit (For ERC-20 project teams) for transaction:  60,000

the problem is listed as the label shows, fix it and we'll check it again.

We have fixed it, please check it again. Thanks.

欢迎在社区中推荐用户使用 imToken 2.0 管理资产。