Podman play kube errors out on podman-exported yaml

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
This tickets represents the import woes to #2963's export woes.
I'm not yet convinced they are related.
Steps to reproduce the issue:

Similar to my comment here https://github.com/containers/libpod/issues/2963#issuecomment-493722755, take the exported Kube yaml from the RH blog post.
I have saved it as a gist for convenience.

Observe that you are unable to import the YAML from the blog:

podman play kube blog.yml

Error: pod was given but no pod is specified: invalid argument

I was having the same problem importing my own YAML, and so reproduced it with only blog material to make the case clearer.
Output of podman version:
Version:            1.3.1-dev
RemoteAPI Version:  1
Go Version:         go1.10.4
OS/Arch:            linux/amd64

Additional environment details (AWS, VirtualBox, physical, etc.):
Physical

thanks for the well written defect, i appreciate the effort

Any update on this? Seems like play kube is unusable in 1.3.1

I think this is fixed upstream, and will be in 1.4.0 (which I'm releasing as we speak - https://github.com/containers/libpod/pull/3280

@mheon I tried with current master branch and it still doesn't work. New error is Error: error running container create option: log driver must be set: invalid argument

hey @Fodoj can you PTAL at https://github.com/containers/libpod/pull/3283 and let me know if it fixes your play kube woes?

We need to improve testing here - we're breaking master repeatedly and not
catching it.
On Sat, Jun 8, 2019, 08:27 Peter Hunt<EMAIL_ADDRESS>wrote:

hey @Fodoj https://github.com/Fodoj can you PTAL at #3283
https://github.com/containers/libpod/pull/3283 and let me know if it
fixes your play kube woes?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/containers/libpod/issues/3157?email_source=notifications&email_token=AB3AOCDHBPHLHBRSFD65CUTPZOQRLA5CNFSM4HN3RQV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXHTWRI#issuecomment-500120389,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB3AOCDRICFMEEHJ6X4XKVLPZOQRLANCNFSM4HN3RQVQ
.

Re testing: I can only agree whole play kube feature needs to be better tested. I have different bugs in 1.3.1, 1.3.2 and now 1.4.0 versions, feels like there are no tests for this feature at all!
@haircommander don't have time to test it right now, I rolled back to 1.3.0, otherwise development of my app was blocked.

Could this be reopened?
I'm afraid that on pod 1.4.0 from apt, using the same instructions above, I get a different error:
$ podman play kube blog.yml
Trying to pull quay.io/baude/demodb:latest...Getting image source signatures
Copying blob a3ed95caeb02 done

# ...

Copying blob a068a53bcb17 done
Writing manifest to image destination
Storing signatures
Error: error running container create option: log driver must be set: invalid argument

This is reminiscent of #3283, and the patch author actually mentions play kube:

note: I considered fixing it on the play kube side, but instead opted for this

Let me know if anyone has trouble reproducing.
$ podman version
Version:            1.4.0
RemoteAPI Version:  1
Go Version:         go1.10.4
OS/Arch:            linux/amd64

Hey @kofalt this was fixed with podman 1.14.1 can you try that out?

I think you mixed up your versioning there - it's 1.4.1 :smile:

(We also have improved upstream testing for play kube so failures like this should be much less frequent from here on)

Sounds good. I can confirm 1.4.1 solves the issue!


Add event image to event card

Event card is used in full event page and the event preview on the right side of the calendar page when an event is clicked. Adding the image to the card will make it show up in both places.

 Add event image to event card


Issues installing cutorch with "luarocks install"

I have CUDA toolkit 7.5 installed, but the make process fails with the following error when I run "luarocks install cutorch" from the comand line on Ubuntu 14.04:
-- Compiling for CUDA architecture: 2.0 2.1(2.0) 3.0 3.5 5.0 5.2
CMake Error at lib/THC/CMakeLists.txt:123 (IF):
  if given arguments:

    "OR" "NOT" "7.5" "LESS" "7.5"

  Unknown arguments specified

Appreciate any insight!

I had similar problems with CUDA toolkit 6.5 and 7.0 as well (re-installing torch every time I change the version).
It outputs:
-- Compiling for CUDA architecture: 2.0 2.1(2.0) 3.0 3.5 5.0 5.2
CMake Error at lib/THC/CMakeLists.txt:123 (IF):
  if given arguments:

    "OR" "NOT" "7.0" "LESS" "7.5"

  Unknown arguments specified

-- Compiling for CUDA architecture: 2.0 2.1(2.0) 3.0 3.5 5.0 5.2
CMake Error at lib/THC/CMakeLists.txt:123 (IF):
  if given arguments:

    "OR" "NOT" "6.5" "LESS" "7.5"

  Unknown arguments specified

respectively.

i am also receiving this now -- only since the last commit i believe.

I can confirm this as well, on two different computers.

I'm really sorry about that. I reverted the PR that caused this!

Now the issue should be resolved.

Verified resolved, thanks for addressing!

My bad: apparently some cmake versions react to emptry result of i${var} evaluation inside if() differently. Resubmitted fixed version: https://github.com/torch/cutorch/pull/420


Docker Update

New:

Better abstraction of the streams related to the agent process
Use docker for secureMode. Copies bot files to container and runs it
User can pass in a image field to agent options from default match configs to configure the docker image to use to serve as the base of each bot
Log files uploaded if compile or install stage fails regardless

Fixes:

changed logging of initialization of configs on the database to info level from error level

Deprecated:

entire old secureMode

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@380dbc7). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #92   +/-   ##
=========================================
  Coverage          ?   34.68%
=========================================
  Files             ?       45
  Lines             ?     3425
  Branches          ?      552
=========================================
  Hits              ?     1188
  Misses            ?     2131
  Partials          ?      106

Continue to review full report at Codecov.

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


Broken NPM package for 2.7.6 release

As we discussed in user groups thread, NPM package for MathJax 2.7.6 does not includes MathJax.js script in it's content.
So here is a ticket to track this problem.

I've put out v2.7.7 that fixes this problem, so you should be able to update to that.

It seems like the problem has been resolved. Thank you!


Longest Prefix Suffix Problem

Hey there,
I want to add Longest Prefix Suffix Problem in C++ which goes like:
Find length of longest substring that is proper prefix and suffix as well.
For ex:
Input - "rrrrr"
"rr" will be the longest substring that is prefix and suffix both,
therefore,
Output - 2
I would like to work on this issue. Kindly assign it to me.
Thankyou!
@anubhavitis @dheerajkotwani @tarun26091999 @todi-2000 @geekquad @plazzy99 @rudrakshi99

Hello, I am Sanjana S, a participant of GSSOC'21 and would like to contribute the solution to the longest prefix suffix problem in Python.
Kindly assign this issue to me.
Thank you.
@tarun26091999

Hello, I am Sanjana S, a participant of GSSOC'21 and would like to contribute the solution to the longest prefix suffix problem in Python.
Kindly assign this issue to me.
Thank you.
@tarun26091999

I would like to work on this issue in c++, please assign it to me.


Error: transaction doesn't have enough inputs to cover the outputs + fees + minLovelace

          Error: transaction doesn't have enough inputs to cover the outputs + fees + minLovelace

https://www.hyperion-bt.org/helios-book/api/reference/tx.html?highlight=addcoll#addcollateral
https://www.hyperion-bt.org/helios-book/api/reference/networkparams.html
Originally posted by @aleeusgr in https://github.com/aleeusgr/potential-robot/issues/104#issuecomment-1556605860

I get an error in
https://github.com/aleeusgr/potential-robot/blob/d799586672f3daf1ce59a769a35256435468c24b/tests/helios-vesting-cancel.test.ts#L135

[ ] Error: transaction doesn't have enough inputs to cover the outputs + fees + minLovelace

tx.dump().body.collateral[0]:

{
  +   origOutput: {
  +     address: {
  +       bech32: 'addr_test1vz2a83z0d5gceyghfrjqpaqu2f98evk8q6swje2c5ddqmaca2vhfl',
  +       hex: '6095d3c44f6d118c911748e400f41c524a7cb2c706a0e96558a35a0df7',
  +     },
  +     datum: null,
  +     refScript: null,
  +     value: {
  +       assets: {},
  +       lovelace: '59747752',
  +     },
  +   },
  +   txId: '28e8c61f4da31df8541b4fca272dd66b6fb258404bba7a8c8d7fc75d7b00c5ef',
  +   utxoIdx: '1',
  + }

tx.dump().body.inputs[0]:

{
  +   origOutput: {
  +     address: {
  +       bech32: 'addr_test1wqzs96thkxedr0jpak4ar9qp6ew58uwexmuz99ah93ckv0q6z8ey4',
  +       hex: '700502e977b1b2d1be41edabd19401d65d43f1d936f82297b72c71663c',
  +     },
  +     datum: {
  +       inlineCbor: '9f581c95d3c44f6d118c911748e400f41c524a7cb2c706a0e96558a35a0df7581c3b61a40bc5872219ce830fb9c792d8
d53fb87921f590287057e4e3b41b000001867b8b7b00ff',
  +       inlineSchema: {
  +         list: [
  +           {
  +             bytes: '95d3c44f6d118c911748e400f41c524a7cb2c706a0e96558a35a0df7',
  +           },
  +           {
  +             bytes: '3b61a40bc5872219ce830fb9c792d8d53fb87921f590287057e4e3b4',
  +           },
  +           {
  +             int:<PHONE_NUMBER>000,
  +           },
  +         ],
  +       },
  +     },
refScript: null,
  +     value: {
  +       assets: {
  +         '49b106e698de78171de2faf35932635e1085c12508ca87718a2d4487': {
  +           '56657374696e67204b6579': '1',
  +         },
  +       },
  +       lovelace: '10000000',
  +     },
  +   },
  +   txId: '28e8c61f4da31df8541b4fca272dd66b6fb258404bba7a8c8d7fc75d7b00c5ef',
  +   utxoIdx: '0',
  + }

You need to dump the complete body to be able to debug this properly (i.e. all the inputs and all the outputs)

total input: 10000000
total output: 10000000
And fees will be > 0.
Including some spareUtxos will be the easiest way to cover the fees.

I thought that the purpose of the collateral to cover fees. I stand corrected.
:thinking: I network.createUtxo but it does not show up...

[ ] add spare utxo
https://github.com/aleeusgr/potential-robot/blob/d799586672f3daf1ce59a769a35256435468c24b/tests/helios-vesting-cancel.test.ts#L135

My wallet does not have spare utxos: my lockAda tx had a list of utxos's as input, and the output of the lock transaction sends all the change to a single utxo in alice.address;
if I duplicate https://github.com/aleeusgr/potential-robot/blob/d799586672f3daf1ce59a769a35256435468c24b/tests/helios-vesting-cancel.test.ts#L43
even after a transaction, my test shows only one utxo in alice.address;
maybe I can only add utxos to a wallet if it didn't have any transactions, only for emulator instantiation. :thinking:
A good way to do is to have several utxos at emulator instantiation and have lockAda consume only one utxo.

@christianschmitz thanks for your help, I solved it.
I changed tx building process so that it consumes only one utxo, while api requires a list. Adding all utxos seems to be bunching stuff up together in one utxo in the  transaction output (I got change of its value if I added network.createUtxo, and if I did so after submitting a lockAda transaction, new utxos did not appear in the wallet address.)
https://github.com/aleeusgr/potential-robot/blob/ee83e60b62775bde4563e6cc4bb48c3f7c3296a7/src/lockAda.ts#L48


Can't get stubs working

Hi there, I'm not sure what I'm doing wrong here, but I can't get stubs or autocomplete happening at all. I've run the Add stubs command, and even manually added the stubs path to my global settings in VS Code. Sorry to come begging for technical support on github, I just seriously can't figure this out.

Hey, thanks for reaching out. Absolutely no problem. We'll figure out what's happening.
This issue seems to be related to the Server Language in use. I had this issue when porting the extension to VSCodium.
Pylance uses python.analysis.extraPaths whereas Jedi uses python.autoComplete.extraPaths. I believe you are using Jedi based on the first screenshot.
Try to check if switching to Pylance does help.

On a side note, NukeTools takes care of this, but the Jedi server has changed something, as I cannot get the suggestions for it.
Let me know after you try.

I've changed it from Default to Pylance, and still not getting any help in the IDE. Also tried restarting VS Code a few time, just in case.

Are you getting completions on internal modules, like random, os and so on?
To debug this, I would copy the nuke stubs folder inside the path extensions and place that inside a new one. Then I would check if importing the module that way works.

If this doesn't work, it is likely something with the python server extension.
If it works, I would create the .vscode/settings.json file and add to the settings python.analysis.extraPaths the path of the nuke stubs in your new directory. Now I would try again, but this time just write import nuke

If this works, then NukeTools should too (theoretically).

Ok I think I've got this figured out on my system now. In my extra paths in my second screenshot, I had added the python environment that ships with Nuke at some point so it would stop complaining about the nuke import. Pretty sure that had the effect of superseding your nuke stubs file, so no autocomplete would happen.
Thanks for the troubleshooting!


fix(cloudevent): add aws cloudevent

这个 PR 实现什么功能/修复什么问题:

[x] 功能、bugfix描述
[x] 冒烟测试
[ ] 单元测试编写

是否需要 backport 到之前的 release 分支:

release/3.7

/area cloudevent
/cc @zexi

Codecov Report

Merging #9839 (ba5f19b) into master (cb1d93d) will increase coverage by 2.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #9839       +/-   ##
==========================================
+ Coverage    5.98%   8.05%    +2.07%
==========================================
  Files         848     107      -741
  Lines      131895   12991   -118904
==========================================
- Hits         7895    1047     -6848
+ Misses     123299   11824   -111475
+ Partials      701     120      -581

Flag
Coverage Δ

aFlag
8.05% <ø> (+2.07%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/compute/models/dns_zonevpc.go

pkg/monitor/models/alertresource.go

pkg/baremetal/tasks/cdrom.go

pkg/util/httputils/fs.go

pkg/util/fileutils2/fasthash.go

pkg/multicloud/ucloud/securitygroup.go

pkg/util/samlutils/util.go

pkg/compute/models/natdtable.go

pkg/multicloud/aws/iam_role.go

pkg/compute/models/cloudsyncelasticcache.go

... and 729 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #9839 (ba5f19b) into master (cb1d93d) will increase coverage by 2.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #9839       +/-   ##
==========================================
+ Coverage    5.98%   8.05%    +2.07%
==========================================
  Files         848     107      -741
  Lines      131895   12991   -118904
==========================================
- Hits         7895    1047     -6848
+ Misses     123299   11824   -111475
+ Partials      701     120      -581

Flag
Coverage Δ

aFlag
8.05% <ø> (+2.07%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/compute/models/dns_zonevpc.go

pkg/monitor/models/alertresource.go

pkg/baremetal/tasks/cdrom.go

pkg/util/httputils/fs.go

pkg/util/fileutils2/fasthash.go

pkg/multicloud/ucloud/securitygroup.go

pkg/util/samlutils/util.go

pkg/compute/models/natdtable.go

pkg/multicloud/aws/iam_role.go

pkg/compute/models/cloudsyncelasticcache.go

... and 729 more

Continue to review full report at Codecov.

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


Switch to Rust 2018

Codecov Report

Merging #23 into master will decrease coverage by 0.23%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
- Coverage   97.89%   97.66%   -0.24%
==========================================
  Files           3        3
  Lines         380      385       +5
==========================================
+ Hits          372      376       +4
- Misses          8        9       +1

Impacted Files
Coverage Δ

tests/complexity.rs
96.42% <ø> (ø)
:arrow_up:

tests/version-numbers.rs
88.88% <100%> (-11.12%)
:arrow_down:

src/lib.rs
97.98% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Improve usability by replacing private with protected

I'm trying to use this library to run some performance tests of our own by integrating it in a symfony console.
There is however no pretty way to create (and set) your own presenter, or even extend one of the current ones, as almost everything required to do so is either a private function or property.
I think this is also one of the reasons this library is forked a lot, even though there are some configuration options, if you for example only wish to not clear the console screen in the presenter, you have to pretty much fork the entire library otherwise it cannot be done.
My suggestion:

Do a global replace of private to protected
Do a global replace of self:: to static::

This already resolves a lot of issues with making minor adjustments to the library and extending on it without having to fork.

Hi,
I am trying to understand the reason why i have to replace self:: with static::.
Can you show an example where you experiencing problems with this library? Or can you create a fork with the adjustments you make to resolves a lot of issues?
In the case of 'not clear the console screen', it's possible to add this to the config. Pleas make a new issue for this.
Thanks for your feedback!

Hi! :)
Thanks for taking this on so quickly, I already have 2.4.0 in use and the clear screen option works perfectly!
The use of static vs self is partially explained here: https://stackoverflow.com/questions/11710099/what-is-the-difference-between-selfbar-and-staticbar-in-php
So that also has to do with making something extendible while still being able to use the original classes code.
One thing I noticed most while trying to extend (besides all private functions/properties) is that there is no way to create your own presenter, even though there is an abstract class. It would be convenient to for example set the class of the presenter by using MyPresenterClass::class within the config instead of using the web and console constants.
I also notice a lot of docblocks start with /* instead of /** and most class properties have no var type docblock which prevents some autocompletion, which can be very convenient when extending.
Verder hele coole library! :) Als ik nog meer dingen tegenkom tijdens ons gebruik ervan zal ik nog wel issues aanmaken, wellicht als ik in mijn vrije tijd een plekje kan maken dat ik een PR kan doen :)

Hi,
I create a new branch feat/issues-12 with changes you prefer. The purpose of this branch is te test the impact. The branch is also accessible to packagist.
Het was een druk weekend dus kon ik dit wat later maken. Ik ben benieuwd of dit je verder helpt.

See version v2.5.0


Add missing type annotations

add type annotations to snow_mask
add type annotations to geometry_io

Codecov Report
Base: 89.61% // Head: 89.62% // Increases project coverage by +0.01% :tada:

Coverage data is based on head (60e2466) compared to base (dfada66).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #546      +/-   ##
===========================================
+ Coverage    89.61%   89.62%   +0.01%
===========================================
  Files           57       57
  Lines         5313     5313
===========================================
+ Hits          4761     4762       +1
+ Misses         552      551       -1

Impacted Files
Coverage Δ

io/eolearn/io/geometry_io.py
84.53% <100.00%> (ø)

mask/eolearn/mask/snow_mask.py
98.07% <100.00%> (ø)

core/eolearn/core/extra/ray.py
95.12% <0.00%> (+2.43%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


fix: crypto not defined in cli envVars.ts. t3-oss/create-t3-app#2009

Closes #2009
✅ Checklist

[X] I have followed every step in the contributing guide (updated 2022-10-06).
[X] The PR title follows the convention we established conventional-commit
[X] I performed a functional test on my final commit

Changelog
Added the import of crypto from 'node:crypto' to envVars.ts

Screenshots
[Screenshots]
💯

global crypto should be available for most modern node versions (especially LTS+) but i guess we can add this to support even older ones
please add chacngest then i can merge and releas

Done!


Shadow tracing context. Thread dump error when pressure test

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[x] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?

Bug

Which version of SkyWalking, OS and JRE?
SkyWalking: 5.0.0-beta2
OS: CentOS release 6.6 (Final)
JRE: jdk1.7.0_80

Which company or project?
autohome Inc

What happen?
My application provide a http interface and it will query redis. i added skywalking agent to my application. When qps under 2000 everything is fine but when the qps over 2000 i get some exceptions

WARN 2018-08-15 19:04:36 TracingContext :  More than 300 spans required to create
java.lang.RuntimeException: Shadow tracing context. Thread dump
	at org.apache.skywalking.apm.agent.core.context.TracingContext.isLimitMechanismWorking(TracingContext.java:515)
	at org.apache.skywalking.apm.agent.core.context.TracingContext.access$100(TracingContext.java:56)
	at org.apache.skywalking.apm.agent.core.context.TracingContext$7.doProcess(TracingContext.java:334)
	at org.apache.skywalking.apm.agent.core.dictionary.PossibleFound.doInCondition(PossibleFound.java:50)
	at org.apache.skywalking.apm.agent.core.context.TracingContext.createExitSpan(TracingContext.java:330)
	at org.apache.skywalking.apm.agent.core.context.ContextManager.createExitSpan(ContextManager.java:125)
	at org.apache.skywalking.apm.plugin.jedis.v2.JedisMethodInterceptor.beforeMethod(JedisMethodInterceptor.java:37)
	at org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstMethodsInter.intercept(InstMethodsInter.java:82)
	at redis.clients.jedis.Jedis.get(Jedis.java)

obviously， this http interface can not have to many spans. so what's wrong with it?

Requirement or improvement

Please describe about your requirements or improvement suggestions.

you'r right. we fixed this problem. there is something wrong with plugins. the quality of these plugins is uneven.  we found there is bug in springmvc plugin. here the infos:
plugin: apm-springmvc-annotation-commons
package:   org.apache.skywalking.apm.plugin.spring.mvc.commons.interceptor
class: AbstractMethodInterceptor
method: afterMethod
line: 104
    @Override
    public Object afterMethod(EnhancedInstance objInst, Method method, Object[] allArguments, Class<?>[] argumentsTypes,
        Object ret) throws Throwable {
        Boolean forwardRequestFlag = (Boolean)ContextManager.getRuntimeContext().get(FORWARD_REQUEST_FLAG);
        /**
         * Spring MVC plugin do nothing if current request is forward request.
         * Ref: https://github.com/apache/incubator-skywalking/pull/1325
         */
        if (forwardRequestFlag != null && forwardRequestFlag) {
            return ret;
        }

        HttpServletResponse response = (HttpServletResponse)ContextManager.getRuntimeContext().get(RESPONSE_KEY_IN_RUNTIME_CONTEXT);
        try {
            if (response != null) {
                AbstractSpan span = ContextManager.activeSpan();
                if (response.getStatus() >= 400) {
                    span.errorOccurred();
                    Tags.STATUS_CODE.set(span, Integer.toString(response.getStatus()));
                }
                ContextManager.stopSpan();
            }
        } finally {
            ContextManager.getRuntimeContext().remove(REQUEST_KEY_IN_RUNTIME_CONTEXT);
            ContextManager.getRuntimeContext().remove(RESPONSE_KEY_IN_RUNTIME_CONTEXT);
        }

        return ret;
    }

this statement  ContextManager.stopSpan(); may not execute, then this problem will be be triggered.
ContextManager.stopSpan(); is very important, We think the plugin‘s author did not understand the meaning of this sentence.

@wu-sheng Has this problem been solved? I found it in 5.0.0-ga. It occur NullPointException  in org.apache.skywalking.apm.agent.core.context.ContextManager#activeSpan . I think get() null from ThreadLocal.


Cannot dump data anymore

Bug description

Load up a new docker-compose, add a product and import some anchore scan findings.
Then try to dump the data

docker exec -ti madchap_ddojo_uwsgi_1 bash -c 'python manage.py dumpdata --indent=4 -e sessions -e admin --natural-foreign --natural-primary -e contenttypes -e auth.permission -v2' > ~/Downloads/datadump_orm_dump_small.json

CommandError: Unable to serialize database: ContentType 18 for <class 'dojo.models.BurpRawRequestResponse'> #3 does not point to a subclass!
}Exception ignored in: <generator object cursor_iter at 0x7f811cf3cba0>
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1555, in cursor_iter
    cursor.close()
  File "/usr/local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 83, in close
    while self.nextset():
  File "/usr/local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 137, in nextset
    nr = db.next_result()
MySQLdb._exceptions.OperationalError: (2006, '')

Steps to reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Deployment method (select with an X)

[ ] Kubernetes
[x] Docker
[ ] setup.bash / legacy-setup.bash

Environment information
[2020-08-31 16:06:15 +0200] 24d9f212: view finding: duplicate & similar finding improvements and fixes (#2748) [ (HEAD -> dev, upstream/dev)]
Sample scan files (optional)
If applicable, add sample scan files to help reproduce your problem.
Screenshots (optional)
If applicable, add screenshots to help explain your problem.
Console logs (optional)
If applicable, add console logs to help explain your problem.
Additional context (optional)
Add any other context about the problem here.

With --traceback
Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python3.6/site-packages/django/core/management/commands/dumpdata.py", line 186, in handle
    object_count=object_count,
  File "/usr/local/lib/python3.6/site-packages/django/core/serializers/__init__.py", line 128, in serialize
    s.serialize(queryset, **options)
  File "/usr/local/lib/python3.6/site-packages/django/core/serializers/base.py", line 114, in serialize
    self.handle_m2m_field(obj, field)
  File "/usr/local/lib/python3.6/site-packages/django/core/serializers/python.py", line 72, in handle_m2m_field
    m2m_value(related) for related in getattr(obj, field.name).iterator()
  File "/usr/local/lib/python3.6/site-packages/django/core/serializers/python.py", line 72, in <listcomp>
    m2m_value(related) for related in getattr(obj, field.name).iterator()
  File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 341, in _iterator
    yield from self._iterable_class(self, chunked_fetch=use_chunked_fetch, chunk_size=chunk_size)
  File "/usr/local/lib/python3.6/site-packages/polymorphic/query.py", line 66, in _polymorphic_iterator
    real_results = self.queryset._get_real_instances(base_result_objects)
  File "/usr/local/lib/python3.6/site-packages/polymorphic/query.py", line 377, in _get_real_instances
    real_concrete_class = base_object.get_real_instance_class()
  File "/usr/local/lib/python3.6/site-packages/polymorphic/models.py", line 137, in get_real_instance_class
    self.polymorphic_ctype_id, model, self.pk
polymorphic.models.PolymorphicTypeInvalid: ContentType 18 for <class 'dojo.models.BurpRawRequestResponse'> #3 does not point to a subclass!
Exception ignored in: <generator object cursor_iter at 0x7f64fb01d6d0>
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1555, in cursor_iter
    cursor.close()
  File "/usr/local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 83, in close
    while self.nextset():
  File "/usr/local/lib/python3.6/site-packages/MySQLdb/cursors.py", line 137, in nextset
    nr = db.next_result()
MySQLdb._exceptions.OperationalError: (2006, '')

OK, somehow, I cannot reproduce this on my other computer. So I must be messing something up somewhere. Always my fault! ;-)


多卡finetune launch_agent run报错

hello，使用accelerate多卡finetune时launch_agent报错
报错信息如下：
INFO:torch.distributed.distributed_c10d:Added key: store_based_barrier_key:2 to store for rank: 2
INFO:torch.distributed.distributed_c10d:Added key: store_based_barrier_key:2 to store for rank: 3
INFO:torch.distributed.distributed_c10d:Added key: store_based_barrier_key:2 to store for rank: 1
INFO:torch.distributed.distributed_c10d:Added key: store_based_barrier_key:2 to store for rank: 0
INFO:torch.distributed.distributed_c10d:Rank 0: Completed store-based barrier for key:store_based_barrier_key:2 with 4 nodes.
INFO:torch.distributed.distributed_c10d:Rank 2: Completed store-based barrier for key:store_based_barrier_key:2 with 4 nodes.
INFO:torch.distributed.distributed_c10d:Rank 3: Completed store-based barrier for key:store_based_barrier_key:2 with 4 nodes.
INFO:torch.distributed.distributed_c10d:Rank 1: Completed store-based barrier for key:store_based_barrier_key:2 with 4 nodes.
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: -11) local_rank: 0 (pid: 459723) of binary: /data/shiyi_yue/miniconda3/envs/pt113/bin/python
Traceback (most recent call last):
  File "/data/shiyi_yue/miniconda3/envs/pt113/bin/accelerate", line 8, in <module>
    sys.exit(main())
  File "/data/shiyi_yue/miniconda3/envs/pt113/lib/python3.10/site-packages/accelerate/commands/accelerate_cli.py", line 45, in main
    args.func(args)
  File "/data/shiyi_yue/miniconda3/envs/pt113/lib/python3.10/site-packages/accelerate/commands/launch.py", line 900, in launch_command
    deepspeed_launcher(args)
  File "/data/shiyi_yue/miniconda3/envs/pt113/lib/python3.10/site-packages/accelerate/commands/launch.py", line 643, in deepspeed_launcher
    distrib_run.run(args)
  File "/data/shiyi_yue/miniconda3/envs/pt113/lib/python3.10/site-packages/torch/distributed/run.py", line 753, in run
    elastic_launch(
  File "/data/shiyi_yue/miniconda3/envs/pt113/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 132, in __call__
    return launch_agent(self._config, self._entrypoint, list(args))
  File "/data/shiyi_yue/miniconda3/envs/pt113/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 246, in launch_agent
    raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
========================================================
finetune_moss.py FAILED

请问可以帮助确定是哪里的问题吗？

是怎么指定多卡的

解决了吗 @yueshiyi 求分享


feat: fix logs display for e2e test failures

Signed-off-by: RinkiyaKeDad<EMAIL_ADDRESS>
What this PR does / why we need it: Makes it easy to read the logs when the E2E tests fail sometimes during setup.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): xref #3796
Release Note:
NONE

/assign @wallrj

/unassign

/unassign

@wallrj thanks for the feedback! Can we merge this now?

/unhold
/unassign

/kind cleanup


🐞 - Editor has problems with switching between HEX and RGB modes

Playground Link
https://taiga-ui.dev/editor/custom-tool/color-picker
Description

Open https://taiga-ui.dev/editor/custom-tool/color-picker

Open color picker, open dropdown with color mode options and close everything (it important step because bug is NOT reproducible for the first opening of color picker!)

Open color picker again and try to switch color mode

Actual behaviour: dropdown opens and immediately closes without any user's interactions.
https://github.com/Tinkoff/taiga-ui/assets/35179038/49e6c0d5-f4bb-424c-8179-7b928a4f0616
Angular version
any
Taiga UI version
3.33.1
Which browsers have you used?

[X] Chrome
[ ] Firefox
[ ] Safari
[ ] Edge

Which operating systems have you used?

[X] macOS
[ ] Windows
[ ] Linux
[ ] iOS
[ ] Android

The bug is not reproducible now.


Switching language from default Tamil to En throws 404

When I click En it takes to http://tamilpesu.us/i18n/setlang/  and it says Not Found. May be this is known issue, or already reported, if so pls close this.

Marking as closed; this is a bug in tamillpesu.us hosting. Source repository web app when run as properly hosted Django site will not show this error.


Font Subset Failure with Multiple Languages

I'm using the library to generate a PDF that contains both both Japanese and Roman characters. Future use may include even more languages in a single document.
Demo may take a second to spin up the Heroku dyno:
Demo
Code
For some reason, some characters are becoming empty during generation. In the example, look at the footer of the second page. The first word should be "Dude", but the "D" is not getting included in the font subset (Arial), so it's loading as an empty square.
I included the font in the repository, to show that the characters are there, but they're not getting included in the subset. Please help.
More Info:
In Safari, the lowercase "d" is also not shown.

We were trying the workaround with embedding the font multiple times, but it still seemed to be caching it, even when we used a different first parameter ('arial1', 'arial2', 'arial3', ...).
When we replaced this line with "if false", the caching stopped:
https://github.com/devongovett/pdfkit/blob/e58a7ce809520144d5053e311cf36c89695b991b/lib/mixins/fonts.coffee#L44
Is that something that sneaked in after the suggestion of the workaround, or did we do something wrong when we tried it before?

doc.registerFont('arial', path.join(__dirname + '/Arial.ttf'), 'arial');
doc.registerFont('arial2', path.join(__dirname + '/Arial.ttf'), 'arial');
when use the same ttf,
doc.font('arial');
doc.font('arial2') //the second font(...) don't stop cache.
int PDFFont.font :
this._font = new PDFFont(this, src, family, id);
// this._font.name  with the same name which get from ttf

//the follow code will return (may be the autor want to improve perfermance),don't clear the cache
// so,we should annotation the code,or add a params name celarCache to control it like this
//  if (font = this._fontFamilies[this._font.name] && !celarCache ) {
//then we can use  doc.font('arial',true),  it will be stop the same ttf cache,the problem will go away.
 if (font = this._fontFamilies[this._font.name]) {
    this._font = font;
    return this;
  }
  if (cacheKey) {
    this._fontFamilies[cacheKey] = this._font;
  }
  this._fontFamilies[this._font.name] = this._font;

Hi there, any news on the CID Font branch ... ?
Would it be a lot of work to push the branch to github, or would it make any sense to have an opt-in mode that enable CID support in the normal build of pdfkit ?
I tried playing with pdfkit-cjk but it looks behind, and I ran into runtime problems when trying to use it.

@devongovett on Jun 25, 2014 you said:

I have been working on a brand new font engine for
PDFKit for some time now and it works fine with
that since everything is encoded as CID fonts. I
hope to release it soon, but unfortunately it's not
quite ready for prime time yet.

What is the status on this?


Firmware 1.47 doesn´t work properly on SEGA Ringedge 2

Hello,
I have recently upgrade my firmware from 1.40 to 1.47 and I have noticed that the device it doesn´t work with a SEGA Ringedge 2 motherboard anymore.
The system is unable to initialize (white screen) under this particular firmware version (any game).
Comming back to 1.40 solved the problem.
Best regards.

Thank you for the report.
If you can try other versions to identify which version introduced the specific problem, that will help.
Also, just in case, can you try both modes, signal adjustment ON and OFF?

Hello,
I have recently upgrade my firmware from 1.40 to 1.47 and I have noticed that the device it doesn´t work with a SEGA Ringedge 2 motherboard anymore.
The system is unable to initialize (white screen) under this particular firmware version (any game).
Comming back to 1.40 solved the problem.
Best regards.

May I ask, what settings are you using to get 1.40 working with the RE2? I can't seem to get it working no matter what.

Now I'm focusing on v2 firmware to support more various kind of boards and titles flexibly.
As I'm just published the first experimental v2 firmware, can you try it?
I think the root cause would be USB transactions are too heavy and some packet lost happens on JVS, or recent updates add more functions support in JVS. So, JVS transaction gets heavy and motherboard cannot handle everything in a permitted time slice for 1 frame.
As v2 firmware can allow you to have minimum function supports easily, it may help to investigate the problem.

After a large refactoring, JVS response performance is drastically improved in v2.10.
I guess this will solve most stability issues.

let's close for now.
feel free to reopen or file another bug if it isn't working yet.


Execute Temportal Queries

I couldn't find any docs on how to fire some temportal queries using linq are there any samples or is this not supported?

Hi, at this point this is not supported but I've definitely planned it for future releases.
The main goal is to support temporal tables creation/deletion (current functionality) and ability to query temporal data.

Might not be as complete as what you would like but I just created a PR to query the temporal tables to get entities at specified dates.
https://github.com/findulov/EntityFrameworkCore.TemporalTables/pull/10

Thanks for the AsOf implementation.
When I use Include the related data is not loaded as of the specified date. Only the main entity
Any generic method to get that at the moment?

No, sorry to inform you that at this point it's not possible to fetch related data but I keep thinking of an appropriate way to implement that behavior.

Any progress on related tables?  What is the current functionality?  .AsOf() only works if there is a single table in the query?


GH-44446: Add mask creation helper

Rationale for this change
Implement a convenience method to create boolean masks where only some rows are set to true
What changes are included in this PR?
C++ MakeMaskArray factory function and pyarrow.mask Python factory function
Are these changes tested?
Yes both C++ and Python
Are there any user-facing changes?
Yes, new API has been added

GitHub Issue: #44446

I'm a bit confused by the linter complaining about unrelated code
+++ fixed//arrow/python/pyarrow/lib.pyx
@@ -87,9 +87,9 @@

 def is_threading_enabled() -> bool:
     """
-    Returns True if threading is enabled in libarrow.
-
-    If it isn't enabled, then python shouldn't create any
+    Returns True if threading is enabled in libarrow.
+
+    If it isn't enabled, then python shouldn't create any
     threads either, because we're probably on a system where
     threading doesn't work (e.g. Emscripten).
     """
@@ -175,7 +175,7 @@
     if __cuda_loaded is not True:
         raise ImportError(
             "Trying to import data on a CUDA device, but PyArrow is not built with "
-            f"CUDA support.\n(importing 'pyarrow.cuda' resulted in \"{
+            f"CUDA support.\n(importing 'pyarrow.cuda' resulted in "{
                 __cuda_loaded}\")."
         )

@pitrou Do you have time to review? I think this is more or less done

When you have the chance I'd appreciate if you could re-review this one @pitrou  🙂


[HOTT-503] Add CircleCI config

Jira link
HOTT-503
What?
I have added/removed/altered:

[ ] Setup CircleCI
[ ] Run tests in CI

Why?
I am doing this because:

We are porting CI from GitHub Actions to CircleCI

So if the goal is only to get the tests running in circleci I think this is totally fine. I think for consistency we want to make sure we're deploying to dev? I guess that would mean removing the current test workflow file for github actions in the same PR?


Dark mode API

Proposed new API:
_UI_EXTERN int uiThemeDarkMode();
_UI_EXTERN void uiThemeOnDarkModeChanged(void (*f)(void *), void *data);

unix and darwin are both very easy to implement.
windows support is bit difficult: https://github.com/solemnwarning/rehex/issues/101

One strong selling point for the original libui was the "works on different operating systems out-of-the-box by default".
While I think this is a very good focus to have, I think a slightly more relaxed approach to the API may be nice to have
too, so that e. g. things could work on some operating systems, but not on others, as a "second tier" support, with
the primary focus on cross-platform still. So kind of like "two API sets" - the primary one, where things work on each
operating system (or at the least the three supported ones), and a secondary one that is allowed to lag behind while
being specified to be not cross-platform (at the least at a given time). That way libui-ng could continue to operate from
a practical point of view, just adding more code, and if other developers can chime in then they can help with support
from the "secondary" API to the primary one. Sorry for inflating the issue tracker, I just wanted to mention this before
I forget it again.

So kind of like "two API sets" - the primary one, where things work on each operating system (or at the least the three supported ones), and a secondary one that is allowed to lag behind while being specified to be not cross-platform (at the least at a given time). That way libui-ng could continue to operate from a practical point of view

This is inevitably going to come up for certain features yes. The plan always though was to expose these things dynamically through an "extension API", kinda like OpenGL extensions. Maybe instead we'll keep it simple and just prefix platform specific APIs.

To be clear: dark mode API is not one of these features! This needs to work out of the box on all platforms.

Sorry for inflating the issue tracker, I just wanted to mention this before I forget it again.

Right now its better that it gets discussed in the "wrong place" than forgotten. :p

The best solution I've found is still: win32-darkmode library.
It is a very small lib and MIT licensed. Although a couple years out of date now.. doesn't support the very latest Win10, nor Win11 at all I don't think. We'll either have to fork this lib, or write our own Windows dark mode support from scratch.

Quick update on win32-darkmode library: Win11 support here, menu bar fix here.

Imo, dark mode is something that has to come from the operating system. Windows has a theming engine and Microsoft has the tools to implement an official dark mode for all common controls. They still didn't however and users have to resort to third party themes to get a fully dark user interface.
The only things libui should be responsible for is properly rendering custom controls compliant to the operating systems visual style.


added lazy args

Some tools don't accept input streams, they accept filenames. I added lazy args initialization.
Just use a function instead of array.

agree this. may support some hooks to replace.
	var args = options.args;
		args = args.map(function(value, index){
			return value.replace("${f}",file.path).repalce("${n}", path.basename(file.path));
		})


Server process terminates with no debug messages on Complete Order

Brief Description:  When trying to compete an order the server process goes belly up without so much as a moan. This is like issue #347 but there is no related message with loglevel debug.
Operating System (OS and version):  RHEL 7.2
OpenBazaar version:  pulled 4-20-2015
Hardware: ESXi guest
Reproducible (Always / Almost Always / Sometimes / Rarely / Couldn't Reproduce):  Still can't un-reproduce. Will instruct moderator to release funds (right?) by end of day as this is not a trivial amount.
Steps to reproduce:

Type in review
Hit Save
pull hair

Observed Behavior:
Leaving the Review field blank will error with missing data message.
Expected Behavior:
Completing the contract.
Additional info (links, images, etc go here):
I randomly get (mostly) pubkey error messages if I try to create a contract. This is one of the few contracts I was able to initiate.

Command line: /usr/bin/python openbazaard.py start -d -a <IP_ADDRESS>9 -l debug

Please take a look at this one @cpacia

Looks like the last packets received are for POST /api/v1/complete_order HTTP/1.1
I have a pcap I can supply if it would be helpful.

Yeah if you can give me a copy of contract json I can look to see what might have caused it.
It would be helpful too if you can get the seller to send his as well. If I have both I should be able to figure out the problem. You can either post it here or email to me<EMAIL_ADDRESS>I also have a pgp key you need it.

You should have received the files yesterday. The contract dispute completed several hours ago. My contract then updated to show there was a dispute and that is was completed. The clients button changed to Accept Dispute Payout. Clicking this also crashes the server quickly and quietly. I might have an updated client, but this time the client died with a white screen when trying to reconnect. Had to restart the client.
Guess this contract will be forever in limbo for me. Don't know if there was a 'payout'. Hope my next contract works better...

I don't see this email in my inbox or junk folder. Do you know what the subject was so I can search for it?

the subject was "Files for issue #365" to<EMAIL_ADDRESS>Date: Fri, 22 Apr 2016 05:21:19 -0700

got it

OK it's showing that the funds were successfully released from the multisig to the vendor.
https://live.blockcypher.com/btc/address/32je67qTUZoUXZLG7ZBuhW5FZBWZ7WEKPx/
I can't tell from the data I have if that was the result of you're node broadcasting the transaction or if it was a moderator payout. But it doesn't look like the funds are locked up any more.

That is good. Anyway for me to debug the server crash?

If you can look in the OB-Mainnet.db database under the purchases table... take a look at what the outpoints column says for your order ID.
The only thing I can think of is that your client might not have detected the bitcoin payment properly.
Also make sure you are using the latest version. There was a similar bug that I fixed recently.

The initial payment went fine. The problem occurred when I tried to "Complete Order", and latter at "Accept Dispute Payout" in the client.

Yeah the "Complete Order" button actually builds a bitcoin transaction and releases the funds. If there was some kind of issue saving the payment details it could possibly fail to build the payout tx which would cause the complete order to fail. Not sure if that's what happened here.

Updated file and purchases.outpoint data send.

Hmm.. that looks normal. When you clicked complete order did the UI display an error message  (if so what did it say?) or was it just crashing?
If it was just a crash it makes me think it might have been something to do with the environment.

The UI goes to server setup window as soon as the button is pressed.Same for the Accept Dispute Payout button.

This issue still exists. The guid was moved to  another server and when the client connects it operates normally and does not crash the server process. I have reached a dead end trying to trouble shoot this issue. Sodium was not installed initially and installing it had no effect so I assume that is no longer a requirement?


feat(protocol): PCR-2 fixed base fee

DON'T REVIEW.
Description of change

Introduce a feature flag fixed_base_fee
Modify reference gas price based on protocol config
update the IotaSystemState and associated types to V2 to include a computation_charges_burned field.
update the iota_system move code advance_epoch function to burn base fee and pass additional fee to validators.

Links to any relevant issues
Fixes #3122
Fixes #4114
Type of change

Enhancement (a non-breaking change which adds functionality)

How the change has been tested
Describe the tests that you ran to verify your changes.
Make sure to provide instructions for the maintainer as well as any relevant configurations.
Change checklist
Tick the boxes that are relevant to your changes, and delete any items that are not.

[ ] I have followed the contribution guidelines for this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked that new and existing unit tests pass locally with my changes

Hey, I would like to point out that Split Cluster Check / validate-testnet (pull_request) is failing, which means that if we deployed a node sw with this PR on a the testnet/devnet that runs protocol config 1, we would fail miserably.
Looking at the code I miss one aspect: ensuring that the node can handle past protocol versions. We can't simply add new fields to structs, or new parameters to functions if older protocol versions don't have them. One example is the creation of advance_epoch call in the authority. Let's imagine what would happen if you do a rolling validator update on a network where only your node has the new sw yet:

The system is on protocol version 1, so all other validators would construct the advance_epoch without the additional computation_charge_burned parameter.
This would result in a different EndOfEpochTx for your node, a different checkpoint hence, so you basically fork.

My point is that we need to add the changes in a way that they are backwards compatible!
+1: I'm no expert in the indexer/analytical indexer, but I'm also convinced that adding new fields to existing tables must happen via migrations.


CE0003 on std functions

The following code throws the CE0003 error because of the mutation of the iterator in the position.
pub fn position() {
    let _index = [1u8, 2, 3]
        .iter()
        .enumerate()
        .position(|(i, _value)| i % 2 == 0);
}

Same goes for Option::take and replace.
let _ = Some(1).take();
let _ = Some(1).replace(2);

Fixed by #214


Checmsum and Length Autofilling

A lot of Network protocols require a checksum, but who wants to do that manually. There should/could be an option to specify which byte (or maybe line? Some kind of marker) to insert/replace a checksum of a specific kind.

Here's the rough plan:
Do a first pass looking for the notation for inserting the checksum/length there. Something like @16:checksum(span) where span is similar to $start(span) <data> $end(span). During the second pass parse the tree you now have and try not to recur to hard?


[Bug] Repairing materal becomes unstackable

1.18.2 fabric.
Environment:
fabric api and this mod.
Desc:
Repairing material becomes unstackable after put into the anvil.
The unstackable item was added a tag that has no value(tag{}), it goes back to normal after thrown on the ground and picked up.
Steps to reproduce:

/give @p minecraft:diamond_boots{Damage:50}
/give @p minecraft:diamond 64
Put down an anvil, open its gui, put the boots in the first slot, and a diamond the second slot.
Don't repair, just grab the diamond back, and you'll find it becomes unstackable.

Thank you for the detailed report, which made the problem easy to find and fix.


Args parsing unexpected behavior and prints incorrect error messages

Describe the bug
When providing an arg in the format -abcdef (i.e., single dash with multiple letters), the CLI parses it into
-a bcdef

and thus prints incorrect error messages.
To Reproduce
The command az group -name foo is parsed into az group -n ame foo and thus prints the error:
az group: 'foo' is not an az group command. See 'az group --help'.

If I have a resource group called foo, running az group show -nfoo is equavalent to running az group show -n foo.
Expected behavior
Running az group show -nfoo should error out because -nfoo is not a valid.
Environment summary
azure-cli (2.0.38)
acr (2.0.28)
acs (2.1.1)
advisor (0.5.1)
ams (0.1.1)
appservice (0.1.35)
backup (1.1.1)
batch (3.2.4)
batchai (0.3.0)
billing (0.1.8)
cdn (0.0.14)
cloud (2.0.14)
cognitiveservices (0.1.13)
configure (2.0.16)
consumption (0.3.1)
container (0.1.24)
core (2.0.38)
cosmosdb (0.1.21)
dev-tools (0.1.1)
dla (0.1.0)
dls (0.0.22)
dms (0.0.1)
eventgrid (0.1.12)
eventhubs (0.1.3)
extension (0.0.15)
feedback (2.1.2)
find (0.2.10)
interactive (0.3.23)
iot (0.1.21)
keyvault (2.0.22)
lab (0.0.22)
maps (0.2.0)
monitor (0.1.7)
network (2.1.4)
nspkg (3.0.2)
policyinsights (0.1.0)
profile (2.0.26)
rdbms (0.2.4)
redis (0.2.13)
reservations (0.2.0)
resource (2.0.31)
role (2.0.26)
servicebus (0.1.2)
servicefabric (0.0.12)
sql (2.0.27)
storage (2.0.35)
testsdk (0.1.3)
vm (2.0.34)
Additional context
Add any other context about the problem here.

This is standard argparse behavior and is expected. It is also part of the reason that multi-character short options are not allowed in the CLI.

It however seems to me that multi-character short options are allowed because of this behavior. If they are truly not allowed, shouldn't they always error out?
It really puzzled me when az group show -nfoo gives me back the resource group foo.

For whatever strange reason, argparse allows them, but for all the weird ambiguity that can result, we do not allow them in the CLI. There is a linter rule that will prevent them from being checked in. I routinely make use of the short-option "feature" when I'm using output formats (i.e.: az group list -otable)


Option to specify propagate resource to all cluster

Currently, the placement objects are designed such that if you wish to propagate the federated resource to a member cluster, then one need to explicitly specify the cluster name in corresponding placement object. This could be hard as the cluster members could added/removed over time and user needs to keep updating the placement objects of federated resource. There is a clear desire to be able to specify the intent that the federated resource should be propagated to member clusters without additional steps.
Background:
For cross-cluster service discovery feature, there is a need to update federation map in Cluster DNS. We could achieve this by creating a FederatedConfigMap in federation and specifying a placement object which would take care of propagating the configmap to all members clusters. it should also take care of propagating to any newly joined cluster.
Note: Currently, if the cluster name is not present in the placement object the resource is removed during propagation, which could have some impact on the service discovery within the cluster.
To facilitate such a behaviour, i do not have a clear solution, but have some thoughts.

Introduce some special keyword (like * or all) which when specified as clusterNames the resource will be propagated to all member clusters.
Introduce a new field in placement (like propogateToAllClusters) which when set to true, the controller will take care of federating to all member clusters.

/cc @irfanurrehman @marun @kubernetes-sigs/federation-wg
p.s: This is partly brought out in https://github.com/kubernetes-sigs/federation-v2/issues/87, but i created a separate issue to disambiguate between the little different but related requirement.

I have been writing down some rough ideas for what advanced placement might look like, that I started writing after looking at #87.
I do not know what the implementation process would be like for something like this, so it is may be that some of the things could be impossible. I also don't know if something like this fits in with the current design goals for federation-v2.
If you have the time, please take a look and give some feedback if you can.
https://gist.github.com/tghartland/a09b351eec5168720b76df12f8538bb0

@shashidharatd not sure if this is still the case but historically an empty label selector meant all. Is there a specific reason while we cannot use the same approach?
I'm not 100% sure that adding a special keyword would be consistent with the traditional kube APIs.

AFAIK, there is no label selector based placement implementation of any sort in federation-v2. @font, can you please confirm.

I can confirm that there is currently no selector-based placement available in fedv2.  I've had reservations about using selectors to provide associativity between primitives, but I think it makes sense to use selectors for placement.  Either selector-based placement could be added to the current scheme, or the existing name-based strategy removed in favor of selectors.  We're still in alpha, so deprecation or compatibility is not strictly required.
I would prefer implementation to wait until I have completed the in-progress transition to generated primitives.  I don't think it makes sense to maintain code that will be removed in the near term (< 2 weeks).
@tghartland If selector-based placement became the default, would the proposal you linked to in your gist still be necessary?  I'm not sure I understand the need for hierarchical labeling, and I wonder if better labeling wouldn't address most of the concerns you propose to address.

@marun my main concern was that I had over complicated things.
I thought about a hierarchy because in the suggestion in #87 it has region=eu, zone=east, and I felt that zone=east on its own is an odd thing to have, because I think nobody would ever want to select us-east, eu-east and asia-east all at once. zone would only ever be used to limit within a region.
I think this is an important point as well

I suppose that is what the inclusivity should be used for. It's the difference between interpreting an absent selector as "I don't want any of these clusters" and "I don't care about this selector".

In my example, placement on a cluster with GPU resources should be opt-in only, so that only workloads which require GPUs are placed on those clusters. With simple label based selection, you would at least have to have some way to say that if no GPU label is specified then it should default to gpu: none. And you would also then be required to label each cluster without GPUs with that label. Right?

@tghartland It may be that nobody would ever use zone=east on its own.  That doesn't preclude implicit hierarchy - i.e. region=eu includes all zones in that region - and I'm not sure what the value would be in imposing explicit hierarchy.
Regarding your gist's questions about troubleshooting selectors, I can see the value in adding something to kubefed2 that would allow testing of a selector statement against the current set of FederatedCluster instances.
I think advanced placement (i.e. a controller that manages placement resources) is suggested for the example in your most recent comment.  Maybe even OPA integration (as per fedv1), since it sounds like it is an application of policy to placement more than placement itself.

@marun in any case I would be happy to see label based selection over the current naming method. Any higher level management can come after that, if needed.

I'm working on replacing name-based placement with a selector-based scheme.


updated Jacobi_CUDAGraph  sample.json file in development branch is malformed

Summary
updated Jacobi_CUDAGraph  sample.json file in development branch is malformed. https://github.com/oneapi-src/oneAPI-samples/blob/development/DirectProgramming/C%2B%2BSYCL/DenseLinearAlgebra/guided_jacobiCudaGraphs_SYCLMigration/sample.json. The ciTests key value pairs section is not structured correctly.
Version
Development branch
Environment
N/A
Steps to reproduce
Look at the file.
Observed behavior
The ciTests key-value pairs section is not structured correctly.
Expected behavior
The ciTests key-value pairs section is structured correctly.

Fixed in PR#1753 and PR#1754


PermittedProduct

Logistics.PermittedProduct is an orphaned class of vague intention.   Who or what is permitting a product?
Pending clarity I'm inclined to omit it going forward as an incomplete concept.

Thinking back to the original "data card" orientation of ADAPT, it was POSSIBLE for an ADM to contain data from multiple "growers". In that instance, you would need a way to distinguish which Product(s) should appear in a pick list for a given Grower.

If that is the meaning, I think "AvailableProduct" would be a lot clearer and avoid confusion that this defines a pesticide that is "permitted" in certain circumstances.
Also, as is it is orphaned without any ability to store it.   I would suggest we make it a List of values on the Grower (or perhaps future Organizational node) entity.

25 August committee agreement to remove this entity.   It is a use case that has not materialized due to its lack of being wired up in ADAPT today.   At such time we need to map products to growers, we can re-examine and add to the model.


Script bundle takes time and failed to load in IIS deployment

Hi,
my Script bundle is 5.83 MB. It loads fine in local.
But in IIS bundle files failed to failed.

can anyone suggest how to load script bundle when its size is high

@sanmscse Can you share the configuration where you load the Ignite UI scripts.

Hi @mpavlinov
FYI, i'm using Angular5
Ignite UI scripts are configured in angular-cli.json file
 "scripts": [
        "assets/js/misc_modules/Ignite-UI/js/modernizr-2.8.3.js",
        "assets/js/misc_modules/Ignite-UI/js/infragistics.core.js",
        "assets/js/misc_modules/Ignite-UI/js/infragistics.lob.js",

        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.ext_core.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.ext_collections.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.ext_text.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.ext_io.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.ext_ui.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.documents.core_core.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.ext_collectionsextended.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.excel_core.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.ext_threading.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.ext_web.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.xml.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.documents.core_openxml.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.excel_serialization_openxml.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.gridexcelexporter.js",

        "assets/js/blob.js",
        "assets/js/filesaver.js"
      ],

@sanmscse I don't see references to jquery and jquery-ui here. Have you tried adding them here to the scripts section?

Hi @dkamburov ,
i've already added i've just skipped those in this screenshot,
here is the exact references

"styles": [
        "../node_modules/bootstrap/dist/css/bootstrap.min.css",
        "../node_modules/font-awesome/css/font-awesome.min.css",
        "../node_modules/ionicons/dist/css/ionicons.min.css",
        "_variables.less",
        "../node_modules/admin-lte/plugins/daterangepicker/daterangepicker.css",
        "../node_modules/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css",
<EMAIL_ADDRESS>        "../node_modules/ng2-toastr/bundles/ng2-toastr.min.css",
        "styles.css"
      ],
      "scripts": [
        "../node_modules/jquery/dist/jquery.min.js",
        "../node_modules/jqueryui/jquery-ui.min.js",
        "../node_modules/bootstrap/dist/js/bootstrap.min.js",
        "../node_modules/moment/min/moment.min.js",
        "assets/js/moment-timezone-with-data-2012-2022.min.js",
        "../node_modules/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js",
        "../node_modules/admin-lte/dist/js/app.min.js",
        "assets/js/adminLTEOptions.js",
        "assets/js/scripts.js",

        "assets/js/misc_modules/Ignite-UI/js/modernizr-2.8.3.js",
        "assets/js/misc_modules/Ignite-UI/js/infragistics.core.js",
        "assets/js/misc_modules/Ignite-UI/js/infragistics.lob.js",

        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.ext_core.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.ext_collections.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.ext_text.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.ext_io.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.ext_ui.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.documents.core_core.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.ext_collectionsextended.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.excel_core.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.ext_threading.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.ext_web.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.xml.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.documents.core_openxml.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.excel_serialization_openxml.js",
        "assets/js/misc_modules/Ignite-UI/js/modules/infragistics.gridexcelexporter.js",

        "assets/js/blob.js",
        "assets/js/filesaver.js"
      ],

Hi @sanmscse, I generated a project with ng cli and I build it. Then I deployed the output of the dist folder to IIS and it all seems to work fine.
Not sure why you are receiving the error. Could it be some option in the configuration or some limitation of the IIS?
Here's also the project I tested, so you can review it on your side. Hope it helps.
ng-cli-with-angular-wrappers.zip

Hi @dkamburov,
the given example does not included ignite files. so i've used it from my example with version of 18.1.152.
**FYI, to be more clear with this issue
I'm using this in india server which is worked fine after deployed in IIS.
But when i deploy this in US server machine, the latency issue is causing to failed to load scripts file
which the file size is high**
For ex:
infragistics.lob.js file is 2.56MB as its minimized version
infragistics.excel_core.js is 1.80 MB
and total bundle size of all listed above is 5.83MB
I've already set maximum bandwidth

even after that files not loading with file load failed as

@sanmscse You can use the Ignite UI Custom Download to bundle only the controls that you use in your project. This should lower down your bundle size.
Also you can apply gzip content compression when serving it through IIS.

@sanmscse Did you try the suggested approaches?


target has transitive dependencies

Hi there
Faced issues while integrate you Library.
Specially created new test project

[!] The 'Pods-TestPayments' target has transitive dependencies that include statically linked binaries: (/Users/maslovsa/Projects/Profsoft/TestPayments/Pods/MoneyAuth/MoneyAuth.xcframework)

or

[!] An unexpected version directory Source was encountered for the /Users/maslovsa/.cocoapods/repos/yoomoney/YandexCheckoutWalletApi Pod in the YandexCheckoutWalletApi repository.

Test project can be find there:
https://github.com/maslovsa/TestPayments.git
My Podfile
source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/yandex-money-tech/cocoa-pod-specs.git'

platform :ios, '10.0'
use_frameworks!

target 'TestPayments' do

  pod 'YandexCheckoutPayments',
   :git => 'https://github.com/yandex-money/yandex-checkout-payments-swift.git',
   :tag => '4.0.0'

end

@maslovsa
Hello!
I apologize for the long delay in answering.
How can I reproduce the issue?
What I tried:
➜ pod --version
1.10.0

17:41:37 in ~/Desktop
➜ g clone git@github.com:maslovsa/TestPayments.git
Cloning into 'TestPayments'...
remote: Enumerating objects: 32, done.
remote: Counting objects: 100% (32/32), done.
remote: Compressing objects: 100% (25/25), done.
remote: Total 32 (delta 4), reused 32 (delta 4), pack-reused 0
Receiving objects: 100% (32/32), 10.77 KiB | 3.59 MiB/s, done.
Resolving deltas: 100% (4/4), done.

17:41:44 in ~/Desktop
➜ cd TestPayments

17:41:48 in TestPayments on  master
➜ pod install --repo-update
Updating local specs repositories
***
Analyzing dependencies
Pre-downloading: `YandexCheckoutPayments` from `https://github.com/yandex-money/yandex-checkout-payments-swift.git`, tag `4.0.0`
Downloading dependencies
Installing FunctionalSwift (1.1.2)
Installing MoneyAuth (1.0.1)
Installing When (4.0.0)
Installing YandexCheckoutPayments (4.0.0)
Installing YandexCheckoutPaymentsApi (2.1.0)
Installing YandexCheckoutWalletApi (2.1.0)
Installing YandexMobileMetrica (3.7.1)
Installing YandexMoneyCoreApi (1.8.1)
Generating Pods project
Integrating client project
Pod installation complete! There is 1 dependency from the Podfile and 8 total pods installed.

17:45:47 in TestPayments on  master [?] took 1m 2s

As I can see, all dependencies works fine.
In what step in the integration guide you got the error.

Hello!
I set YooKassaPayments like
pod 'YooKassaPayments',     :git => 'https://github.com/yoomoney/yookassa-payments-swift.git',     :tag => '5.0.0'
and set YandexMobileMetrica like
pod 'YandexMobileMetrica', '3.12.0'
because I need 3.12 version only.
After that i do pod install --repo-update and get error

We'll update YandexMobileMetrica to 3.12.0 soon.

@yanapreobrazhenskaya
Try new 5.1.0 version
https://github.com/yoomoney/yookassa-payments-swift/releases/tag/5.1.0
@maslovsa
Are you working on the same project with @yanapreobrazhenskaya ?

@oltv00 thank you for the help. Yes, I helped @yanapreobrazhenskaya to resolve the issue


Can't build docker container.

When trying to build the docker container on windows, I get the following error:
D:\SGDK>docker build -t sgdk .
[+] Building 0.8s (9/10)
 => [internal] load build definition from Dockerfile                                                               0.0s
 => => transferring dockerfile: 32B                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 35B                                                                                0.0s
 => [internal] load metadata for docker.io/amd64/ubuntu:20.04                                                      0.5s
 => [1/6] FROM docker.io/amd64/ubuntu:20.04@sha256:9d42d0e3e57bc067d10a75ee33bdd1a5298e95e5fc3c5d1fce98b455cb8792  0.0s
 => [internal] load build context                                                                                0.0s
 => => transferring context: 18.99kB                                                                               0.0s
 => CACHED [2/6] RUN dpkg --add-architecture i386   && apt-get update    && DEBIAN_FRONTEND=noninteractive apt-ge  0.0s
 => CACHED [3/6] RUN useradd -ms /bin/sh -d /sgdk sgdk                                                             0.0s
 => CACHED [4/6] COPY . /sgdk                                                                                0.0s
 => ERROR [5/6] RUN /sgdk/bin/create-bin-wrappers.sh                                                               0.3s
------
 > [5/6] RUN /sgdk/bin/create-bin-wrappers.sh:
#9 0.247 /bin/sh: 1: /sgdk/bin/create-bin-wrappers.sh: not found
------
executor failed running [/bin/sh -c /sgdk/bin/create-bin-wrappers.sh]: exit code: 127

D:\SGDK>

The dockerfile looks correct, so I'm not too sure what the issue might be.

The docker is made for *nix systems only, SGDK is native for Windows so you don't need to use Docker build here.
I guess it fails when trying to execute the #!/bin/bash command on Windows.

FWIW, I have been working on the docker container for marsdev, which includes the SGDK, and it works fine on Windows and other systems.
You can pull it as dleslie/marsdev, it should be PR'd to http://github.com/andwn/marsdev soon.

Hello, first thank you very much @Stephane-D for all your work on this SDK 🙏.
About building the docker image from windows, the problem comes from git.
When you're using git (with the default configuration) and trying to clone a git project, it replaces all end of line formats by the crlf format (on windows only) :

And because of that, this error occurs when docker's trying to run .sh file :

To solve that issue, I just added a new .gitattributes file to specify to git that it should not change any end of line format for all .sh files.
And now, if any users are trying to clone the project and build the image, no more CRLF and so, no more error to generate the image under linux and under windows :

I tried to build the image with that new git configuration on MacOs & Windows and now everything's fine.

I just merged your MR ! As i'm using windows, I never tested the docker script myself so thanks a lot for having sorted that issue out !


[CT-2750] [Bug] 'charmap' codec can't encode character

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
When I run dbt seed with utf-8 characters, I get
Runtime Error in seed state (seeds/state.csv)
    'charmap' codec can't encode character '\u548c' in position 0: character maps to <undefined>

Expected Behavior
By all accounts, dbt should be able to read and write utf-8 data.
Steps To Reproduce
seeds/state.csv:
state_id,state_name,country_id
JP-01,Hokkaidō Prefecture,JP

dbt_project.yaml:
name: 'test_dbt'
version: '1.0.0'
config-version: 2
profile: 'test_dbt'
seed-paths: ["seeds"]

dbt seed --debug --full-refresh

Relevant log output
19:27:34  Running with dbt=1.5.1
19:27:34  Found 0 models, 0 tests, 0 snapshots, 0 analyses, 421 macros, 0 operations, 1 seed file, 0 sources, 0 exposures, 0 metrics, 0 groups
19:27:34
19:27:34  Concurrency: 8 threads (target='dev')
19:27:34
19:27:34  1 of 1 START seed file test_dbt.state ......................................... [RUN]
19:27:34  1 of 1 ERROR loading seed file test_dbt.state ................................. [ERROR in 0.09s]
19:27:34
19:27:34  Finished running 1 seed in 0 hours 0 minutes and 0.51 seconds (0.51s).
19:27:34
19:27:34  Completed with 1 error and 0 warnings:
19:27:34
19:27:34  Runtime Error in seed state (seeds/state.csv)
19:27:34    'charmap' codec can't encode character '\u014d' in position 7: character maps to <undefined>
19:27:34
19:27:34  Done. PASS=0 WARN=0 ERROR=1 SKIP=0 TOTAL=1

Debug mode:

19:25:21  Sending event: {'category': 'dbt', 'action': 'invocation', 'label': 'start', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f9192acf5b0>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f91945f6be0>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f91945f6a90>]}
19:25:21  Running with dbt=1.5.1
19:25:21  running dbt with arguments {'printer_width': '80', 'indirect_selection': 'eager', 'write_json': 'True', 'log_cache_events': 'False', 'partial_parse': 'True', 'cache_selected_only': 'False', 'profiles_dir': '/Users/scottgigante/.dbt', 'debug': 'True', 'fail_fast': 'False', 'log_path': '/Users/scottgigante/git/ctvc/test_dbt/logs', 'version_check': 'True', 'warn_error': 'None', 'use_colors': 'True', 'use_experimental_parser': 'False', 'no_print': 'None', 'quiet': 'False', 'warn_error_options': 'WarnErrorOptions(include=[], exclude=[])', 'introspect': 'True', 'static_parser': 'True', 'log_format': 'default', 'target_path': 'None', 'send_anonymous_usage_stats': 'True'}
19:25:22  Sending event: {'category': 'dbt', 'action': 'project_id', 'label': '24d8d80d-2b2e-4b66-995e-6c929a1d8d1f', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f918de1a2b0>]}
19:25:22  Sending event: {'category': 'dbt', 'action': 'adapter_info', 'label': '24d8d80d-2b2e-4b66-995e-6c929a1d8d1f', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f9194767b20>]}
19:25:22  checksum: 51f6b581eba8f8101bc020bf9faf8f96af641e2da86d581f66e2bdf0ff384b1c, vars: {}, profile: , target: , version: 1.5.1
19:25:22  Partial parsing enabled: 0 files deleted, 0 files added, 0 files changed.
19:25:22  Partial parsing enabled, no changes found, skipping parsing
19:25:22  Sending event: {'category': 'dbt', 'action': 'load_project', 'label': '24d8d80d-2b2e-4b66-995e-6c929a1d8d1f', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f9192cabbb0>]}
19:25:22  Sending event: {'category': 'dbt', 'action': 'resource_counts', 'label': '24d8d80d-2b2e-4b66-995e-6c929a1d8d1f', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f91950807c0>]}
19:25:22  Found 0 models, 0 tests, 0 snapshots, 0 analyses, 421 macros, 0 operations, 1 seed file, 0 sources, 0 exposures, 0 metrics, 0 groups
19:25:22  Sending event: {'category': 'dbt', 'action': 'runnable_timing', 'label': '24d8d80d-2b2e-4b66-995e-6c929a1d8d1f', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f9195080880>]}
19:25:22
19:25:22  Acquiring new postgres connection 'master'
19:25:22  Acquiring new postgres connection 'list_postgres'
19:25:22  Using postgres connection "list_postgres"
19:25:22  On list_postgres: /* {"app": "dbt", "dbt_version": "1.5.1", "profile_name": "test_dbt", "target_name": "dev", "connection_name": "list_postgres"} */

    select distinct nspname from pg_namespace

19:25:22  Opening a new connection, currently in state init
19:25:22  SQL status: SELECT 15 in 0.0 seconds
19:25:22  On list_postgres: Close
19:25:22  Re-using an available connection from the pool (formerly list_postgres, now list_postgres_test_dbt)
19:25:22  Using postgres connection "list_postgres_test_dbt"
19:25:22  On list_postgres_test_dbt: BEGIN
19:25:22  Opening a new connection, currently in state closed
19:25:22  SQL status: BEGIN in 0.0 seconds
19:25:22  Using postgres connection "list_postgres_test_dbt"
19:25:22  On list_postgres_test_dbt: /* {"app": "dbt", "dbt_version": "1.5.1", "profile_name": "test_dbt", "target_name": "dev", "connection_name": "list_postgres_test_dbt"} */
select
      'postgres' as database,
      tablename as name,
      schemaname as schema,
      'table' as type
    from pg_tables
    where schemaname ilike 'test_dbt'
    union all
    select
      'postgres' as database,
      viewname as name,
      schemaname as schema,
      'view' as type
    from pg_views
    where schemaname ilike 'test_dbt'

19:25:22  SQL status: SELECT 0 in 0.0 seconds
19:25:22  On list_postgres_test_dbt: ROLLBACK
19:25:22  On list_postgres_test_dbt: Close
19:25:22  Using postgres connection "master"
19:25:22  On master: BEGIN
19:25:22  Opening a new connection, currently in state init
19:25:22  SQL status: BEGIN in 0.0 seconds
19:25:22  Using postgres connection "master"
19:25:22  On master: /* {"app": "dbt", "dbt_version": "1.5.1", "profile_name": "test_dbt", "target_name": "dev", "connection_name": "master"} */
with relation as (
        select
            pg_rewrite.ev_class as class,
            pg_rewrite.oid as id
        from pg_rewrite
    ),
    class as (
        select
            oid as id,
            relname as name,
            relnamespace as schema,
            relkind as kind
        from pg_class
    ),
    dependency as (
        select distinct
            pg_depend.objid as id,
            pg_depend.refobjid as ref
        from pg_depend
    ),
    schema as (
        select
            pg_namespace.oid as id,
            pg_namespace.nspname as name
        from pg_namespace
        where nspname != 'information_schema' and nspname not like 'pg\_%'
    ),
    referenced as (
        select
            relation.id AS id,
            referenced_class.name ,
            referenced_class.schema ,
            referenced_class.kind
        from relation
        join class as referenced_class on relation.class=referenced_class.id
        where referenced_class.kind in ('r', 'v')
    ),
    relationships as (
        select
            referenced.name as referenced_name,
            referenced.schema as referenced_schema_id,
            dependent_class.name as dependent_name,
            dependent_class.schema as dependent_schema_id,
            referenced.kind as kind
        from referenced
        join dependency on referenced.id=dependency.id
        join class as dependent_class on dependency.ref=dependent_class.id
        where
            (referenced.name != dependent_class.name or
             referenced.schema != dependent_class.schema)
    )

    select
        referenced_schema.name as referenced_schema,
        relationships.referenced_name as referenced_name,
        dependent_schema.name as dependent_schema,
        relationships.dependent_name as dependent_name
    from relationships
    join schema as dependent_schema on relationships.dependent_schema_id=dependent_schema.id
    join schema as referenced_schema on relationships.referenced_schema_id=referenced_schema.id
    group by referenced_schema, referenced_name, dependent_schema, dependent_name
    order by referenced_schema, referenced_name, dependent_schema, dependent_name;
19:25:22  SQL status: SELECT 20 in 0.0 seconds
19:25:22  Sending event: {'category': 'dbt', 'action': 'runnable_timing', 'label': '24d8d80d-2b2e-4b66-995e-6c929a1d8d1f', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f91950808b0>]}
19:25:22  On master: ROLLBACK
19:25:22  Using postgres connection "master"
19:25:22  On master: BEGIN
19:25:22  SQL status: BEGIN in 0.0 seconds
19:25:22  On master: COMMIT
19:25:22  Using postgres connection "master"
19:25:22  On master: COMMIT
19:25:22  SQL status: COMMIT in 0.0 seconds
19:25:22  On master: Close
19:25:22  Concurrency: 8 threads (target='dev')
19:25:22
19:25:22  Began running node seed.test_dbt.state
19:25:22  1 of 1 START seed file test_dbt.state ......................................... [RUN]
19:25:22  Re-using an available connection from the pool (formerly list_postgres_test_dbt, now seed.test_dbt.state)
19:25:22  Began compiling node seed.test_dbt.state
19:25:22  Timing info for seed.test_dbt.state (compile): 15:25:22.595377 => 15:25:22.595381
19:25:22  Began executing node seed.test_dbt.state
19:25:22  Using postgres connection "seed.test_dbt.state"
19:25:22  On seed.test_dbt.state: BEGIN
19:25:22  Opening a new connection, currently in state closed
19:25:22  SQL status: BEGIN in 0.0 seconds
19:25:22  Using postgres connection "seed.test_dbt.state"
19:25:22  On seed.test_dbt.state: /* {"app": "dbt", "dbt_version": "1.5.1", "profile_name": "test_dbt", "target_name": "dev", "node_id": "seed.test_dbt.state"} */

    create table "postgres"."test_dbt"."state" ("state_id" text,"state_name" text,"country_id" text)

19:25:22  SQL status: CREATE TABLE in 0.0 seconds
19:25:22  Using postgres connection "seed.test_dbt.state"
19:25:22  On seed.test_dbt.state:
          insert into "postgres"."test_dbt"."state" ("state_id", "state_name", "country_id") values
          (%s,%s,%s)
      ...
19:25:22  Postgres adapter: Error running SQL:
          insert into "postgres"."test_dbt"."state" ("state_id", "state_name", "country_id") values
          (%s,%s,%s)

19:25:22  Postgres adapter: Rolling back transaction.
19:25:22  On seed.test_dbt.state: ROLLBACK
19:25:22  Timing info for seed.test_dbt.state (execute): 15:25:22.596764 => 15:25:22.680531
19:25:22  On seed.test_dbt.state: Close
19:25:22  Runtime Error in seed state (seeds/state.csv)
  'charmap' codec can't encode character '\u014d' in position 7: character maps to <undefined>
19:25:22  Sending event: {'category': 'dbt', 'action': 'run_model', 'label': '24d8d80d-2b2e-4b66-995e-6c929a1d8d1f', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f91936f4a30>]}
19:25:22  1 of 1 ERROR loading seed file test_dbt.state ................................. [ERROR in 0.09s]
19:25:22  Finished running node seed.test_dbt.state
19:25:22  Using postgres connection "master"
19:25:22  On master: BEGIN
19:25:22  Opening a new connection, currently in state closed
19:25:22  SQL status: BEGIN in 0.0 seconds
19:25:22  On master: COMMIT
19:25:22  Using postgres connection "master"
19:25:22  On master: COMMIT
19:25:22  SQL status: COMMIT in 0.0 seconds
19:25:22  On master: Close
19:25:22  Connection 'master' was properly closed.
19:25:22  Connection 'seed.test_dbt.state' was properly closed.
19:25:22
19:25:22  Finished running 1 seed in 0 hours 0 minutes and 0.50 seconds (0.50s).
19:25:22  Command end result
19:25:22
19:25:22  Completed with 1 error and 0 warnings:
19:25:22
19:25:22  Runtime Error in seed state (seeds/state.csv)
19:25:22    'charmap' codec can't encode character '\u014d' in position 7: character maps to <undefined>
19:25:22
19:25:22  Done. PASS=0 WARN=0 ERROR=1 SKIP=0 TOTAL=1
19:25:22  Command `dbt seed` failed at 15:25:22.720961 after 0.78 seconds
19:25:22  Sending event: {'category': 'dbt', 'action': 'invocation', 'label': 'end', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f9192acf5b0>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f91945f6eb0>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f919479b160>]}
19:25:22  Flushing usage events

Environment
- OS: OS X Ventura 13.4.1 (22F82)
- Python: 3.8.10
- dbt: 1.5.1

Which database adapter are you using with dbt?
postgres
Additional Context
Related:

https://github.com/dbt-labs/dbt-core/issues/7835 -- I am not using agate and the proposed solution export PYTHONIOENCODING=utf8 does not work for me
https://github.com/dbt-labs/dbt-core/issues/6919 -- I am not using Windows

Thank you for reporting this along with such a thoughtful write-up @scottgigante !
I tried running the example you shared using macOS, and it worked without raising that error:
dbt --debug seed --full-refresh

I'm guessing there's something about your system that is using an encoding other than utf-8, but I could be wrong.
What do you get if you run the following in an interactive Python terminal? I've included my output inline below.
$ python

>>> import sys
>>> sys.getdefaultencoding()
'utf-8'
>>> sys.getfilesystemencoding()
'utf-8'
>>> exit()

Thanks @dbeatty10! For unrelated reasons I performed a full wipe of my laptop yesterday and this is now working with Python 3.9.6. Possible that it was Python 3.8, possible that it was some odd user config which changed my default encoding -- but either way it's fixed now. Thank you!


Hi, Is it possible for xamarin forms?

Hi, it is nice.
But i need version of xamarin forms. Is it possible for xamarin forms?
Thank you

@urgiinbichig
Hi, thank you.
What is xamarin forms? I don't know that. so.. It's impossible. 🥲
I'm sorry

Thank you for your reply.
https://docs.microsoft.com/en-us/xamarin/get-started/what-is-xamarin-forms
How to use it in Xamarin forms? Do you have any idea?
Thank you.


Variable Attributes: only one available attribute captured

What version of Swift are you using (swift --version)?

Apple Swift version 4.0.3 (swiftlang-9<IP_ADDRESS> clang-9<IP_ADDRESS>)
Target: x86_64-apple-macosx10.9

What did you do?

I'm parsing variables of a protocol to generate an implementation of the protocol. It is necessary to specify and keep @available attributes.
This is a minimal Version of the Template I'm trying to build:
{% for protocol in types.protocols %}
extension MyExtension {
{% for variable in protocol.variables %}
  {{ variable.attributes.available}}
  {{ variable.name }}
{% endfor %}
}
{% endfor %}

This is a minimal Code Sample that is going to be parsed:
protocol MyProtocol {
  @available(tvOS 10, *)
  @available(iOS 10, *)
  var badgeColor: UIColor? { get }
}

What did you expect to see?

I'd expect both availability annotations to be preserved in the generated code
extension MyExtension {
  @available(tvOS 10, *)
  @available(iOS 10, *)
  badgeColor
}

What did you see instead?

Only the last availability annotation was preserved
extension MyExtension {
  @available(iOS 10, *)
  badgeColor
}

Hi @iv-mexx. Multiple attributes of the same type are not supported, but in this particular case you can mention several platforms in one attribute, i.e. @available(iOS 10.0, macOS 10.12, *). See FileParser+AttributesSpec.swift:60 for example.

Alright, thanks!


Client / Server running inside same instance

Hello,
Firstly, thank you for making this library - it's been great fun to play around with.
For development speed I'd like to have the Server and Client logic running inside the same Bevy instance. Similar to your balls example, the client would events send through the reliable channel at 60fps and the server would broadcast state via an unreliable channel on state update.
It'd be good to be able to separate the client side logic and the server side simulation as soon as possible as the porotype will be p2p.
Having the NetworkResource listen() and connect() on the same address  / port has been predictably problematic with broadcast messages not being received. Can you think of any quick work-arounds?

How are you going to separate server and client entities in a shared Bevy ECS world?

Good point! I'm just using the Client ECS to tick a pure simulator function (Simulator(State)->State). As no data models are sent over the bounds the components aren't coupled and can be split into services later. This approach probably isn't right for this use case though.
For a single start Client / Server - perhaps it'd be easier to have bevy-client in one crate and bevy-server in another then then thread::spawn both Bevy Apps - rather than different repos and a docker-compose?
I'm guessing there may still be some threading issues ?

Bevy does not support running in a sub-thread. There are systems that require running on main-thread.


dotnet/fsharp fails to be loaded on macos

Describe the bug**
Projects fail to be loaded in visual studio code on MacOS.

Steps to reproduce

Clone dotnet/fsharp repo
Run ./build.sh
Open up the folder in visual studio code
Run dotnet build FSharp.sln

Expected behaviour
dotnet build populates a project's obj folder
Screenshots
see top of post
Machine info

OS: Mac
.NET SDK version: 5.0.2
Ionide version: 5.2.0

Yep, this is a dupe of https://github.com/ionide/proj-info/issues/95, which has been going for a bit. Something in the compiler repo changed about a month ago which has us flummoxed.

Yep, this is a dupe of https://github.com/ionide/proj-info/issues/95, which has been going for a bit. Something in the compiler repo changed about a month ago which has us flummoxed.

Oh oops, sorry! I should have searched the issues. I can or you can close this issue if desired.

Oh oops, sorry! I should have searched the issues. I can or you can close this issue if desired.

Will close!

Will close!


replaced javax.security.jacc

replaced javax.security.jacc:javax.security.jacc-api by org.jboss.spec.javax.security.jacc:jboss-jacc-api_1.4_spec used in jboss-ip-bom

Merged into master and 6.3.x.


My First PR commit

PR comments

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: cjxd-bot-test
If they are not already assigned, you can assign the PR to them by writing /assign @cjxd-bot-test in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@cjxd-bot-test: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr-build
2506187e38dbbfa6b637ca22626dbb4b952860a2
link
/test this

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


where is webpack config?

I want to use cross-platform components from react native web
https://github.com/react-native-web-community
but I don't know where is the webpack config file? so  I can add alias to it

I found it in node_modules\react-scripts\config
but if I removed node_modules for any reason I will lost my alias for react native web components
any solution so I don't lost my changes in the webpack config?

If you want to customize webpack config, execute react-scripts eject, and all the react-scripts internal configs will be set at project level, so react-scripts will not work anymore.


Short solution needed: "How to clear docker cache" (docker)

Please help us write most modern and shortest code solution for this issue:
How to clear docker cache (technology: docker)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

How to remove all unused images from Docker


Adding a Search bar to the TO-do-List

Issue Type:

[ ] Feature Request
A search bar can be added to the TO-do-List to make it easy for the user to find the tasks or notes they create.

@Saurabhbhatt4 Make issue again when u r ready with your code!


Improve error messages when trying to create an already-existing channel

Following #28478, it could be useful to adjust the error messages when trying to create a channel where an archived channel with that name already exists from:

Error creating channel: A channel with this name already exists.

to more specific values that better hint the likely situation, like:

Error creating channel: A private channel with this name already exists.
Error creating channel: An archived channel with this name already exists.

Not marking this help wanted, because it's likely a bit sensitive trying to do the check in a way that preserves security model properties. We don't want to leak any properties of a channel the acting user cannot access.

@zulipbot claim

@zulipbot claim

I have a pending PR #31922 that has been reviewed and pending merging. While waiting for it to be merged, I was wondering if this issue could be assigned to me.


Use Github client for fetching Git data with git_handler

What this PR does / why we need it:
Use Github client for fetching Git data with git_handler
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
@dimitar-kostadinov
Release note:

Git handler will now reuse the logic from the Github one

/lgtm


How stretch tablayout text length

@Radzhab
The Design library’s TabLayout implements both fixed tabs, where the view’s width is divided equally between all of the tabs, as well as scrollable tabs, where the tabs are not a uniform size and can scroll horizontally. Tabs can be added programmatically:
TabLayout tabLayout = ...;
tabLayout.addTab(tabLayout.newTab().setText("Tab 1"));
tabLayout.setTabMode(TabLayout.MODE_SCROLLABLE);

However, if you are using a ViewPager for horizontal paging between tabs, you can create tabs directly from your PagerAdapter’s getPageTitle() and then connect the two together using setupWithViewPager(). This ensures that tab selection events update the ViewPager and page changes update the selected tab.

thank you very much)