Validation  with coerce will modify the original dataframe

Describe the bug
A clear and concise description of what the bug is.

[x] I have checked that this issue has not already been reported.
[x] I have confirmed this bug exists on the latest version of pandas.
[ ] (optional) I have confirmed this bug exists on the master branch of pandas.

Note: Please read this guide detailing how to provide the necessary information for us to reproduce your bug.
Code Sample, a copy-pastable example
import pandera as pa
from pandera import Check, Column, DataFrameSchema
import pandas as pd
import numpy as np
df = pd.DataFrame({"column1": [True, False, np.nan]})
print(df)
schema = DataFrameSchema({"column1": Column(pa.Bool, coerce=True)})
schema.validate(df)
print(df)

Expected behavior
The dataframe remains the same before and after the validation
Desktop (please complete the following information):

OS: [e.g. iOS] OSX
Browser [e.g. chrome, safari] Chrome
Version [e.g. 22] Version 86.0.4240.80 (Official Build) (x86_64)

Screenshots
>>> import pandera as pa
>>> from pandera import Check, Column, DataFrameSchema
>>> import pandas as pd
>>> import numpy as np
>>> df = pd.DataFrame({"column1": [True, False, np.nan]})
>>> print(df)
  column1
0    True
1   False
2     NaN
>>> schema = DataFrameSchema({"column1": Column(pa.Bool, coerce=True)})
>>> schema.validate(df)
   column1
0     True
1    False
2     True
>>> print(df)
   column1
0     True
1    False
2     True

Additional context
validate should not have side effect

thanks for submitting this bug @CodeMySky, this is important to get right!
This PR #305 should address your issue. The validate method should now have an inplace argument, which is False by defualt: this will create a complete copy of the dataframe to be validated before the types are coerced.
Taking the cue from pandas, I added this option because in some cases the user might not care if the original dataframe is mutated, esp. in the case where one might want to be memory efficient, in which case inplace=True is always an option.

thanks for submitting this bug @CodeMySky, this is important to get right!
This PR #305 should address your issue. The validate method should now have an inplace argument, which is False by default: this will create a complete copy of the dataframe to be validated before the types are coerced.
Taking the cue from pandas, I added this option because in some cases the user might not care if the original dataframe is mutated, esp. in the case where one might want to be memory efficient, in which case inplace=True is always an option.

Thanks for your quick fix!


fix the recent list

looks like the recent workspace and folder never worked before, I've been working on the data-workspace feature and noticed errors in the console and the empty recent list

the last opened information is simply not available right now, it meant to use the folder or files last modified time, which I don't think is correct, not to mention the fullPath parameter is not set properly. so I am showing the location along with the name just like the old welcome page and the vscode welcome page.

the corresponding vscode welcome page code: https://github.com/microsoft/azuredatastudio/blob/main/src/vs/workbench/contrib/welcome/page/browser/welcomePage.ts#L377
Before:

After:
on Windows

on Mac

old welcome page:

Pull Request Test Coverage Report for Build 414263279

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 41.558%

Totals

Change from base Build 414070987:
0.01%

Covered Lines:
22101

Relevant Lines:
48810

💛  - Coveralls

@kisantia yeah, that's a separate improvement for the future owner of this feature.


Updated JAR file

Hi, is it possible to get an updated .jar of your API?
I've been looking for it everywhere but couldn't find it.
Thanks a lot!

Hi, is it possible to get an updated .jar of your API?
I've been looking for it everywhere but couldn't find it.
Thanks a lot!

Hi, I have fixed this and published my fork to the maven central, new version is 1.0.3

Thanks Serg-Maximchuk for your fast reply. I've checked and version 1.0.3 is not available yet. It's only showing: 1.0.1 and 1.0.2 versions.


eval resutls

Hi, thanks for your excellent work.
I ran the eval-scrip
python ast_eval_th.py --api_dataset ../../data/api/torchhub_api.jsonl --apibench ../../data/apibench/torchhub_eval.json --llm_responses ../eval-data/responses/torchhub/response_torchhub_Gorilla_FT_0_shot.jsonl

and get the results:
Final Functionality accuracy:  0.7580645161290323
Final hallucination:  0.16129032258064516

I find these results are inconsistent with the results reported in the paper.

I would like to ask where I got it wrong.
Thanks.

HI @Wangpeiyi9979 thanks for the pointer. When we OSS, we further cleaned up the data which reflects in the improved performance - the code/pipeline remains same. Our plan was to update the paper in the camera ready if it gets accepted, or in the subsequent submission :crossed_fingers:
Feel free to reopen the issue if you have any follow-up questions!


Circleci2

moves to circleci v2
freezes versions of python packages

closes #14 and #13

Hi @chrisgorgo @oesteban
I ported the ci to v2 and encountered a Permission denied (publickey) error in the checkout step.
On a fork on my personal account, the ci runs without issues.
Could one of you maybe dis- and reconnect the github-circleci connection for that project?
Thanks

I think now the key has been added. The error seems new.

Thanks


Add search bar to Bandada docs #476

Description
Added Algolia DocSearch and modified the styles
Related Issue

Does this introduce a breaking change?

[ ] Yes
[NO ] No

Other information

Before

After

Thank you @vplasencia you made it easy


QinQ Edit fix row add delete

Make the row delete button actually work
Do not allow ranges that go backwards like 25-20
Remember the POSTed stuff to redisplay to the user if there were input errors
Ranges or numbers entered could overlap - just save a list of the unique members. e.g. If the user enters 5-15 and 10-20

Closing in favor of #3424


Running SQuAD 1.1 on TPU encounters error

I tried to run the squad.py by following the instruction on this post and using this code (the BERT and SQuAD directories are downloaded to the same folder and set respectively):
python run_squad.py \   --vocab_file=$BERT_BASE_DIR/vocab.txt \   --bert_config_file=$BERT_BASE_DIR/bert_config.json \   --init_checkpoint=$BERT_BASE_DIR/bert_model.ckpt \   --do_train=True \   --train_file=$SQUAD_DIR/train-v1.1.json \   --do_predict=True \   --predict_file=$SQUAD_DIR/dev-v1.1.json \   --train_batch_size=12 \   --learning_rate=3e-5 \   --num_train_epochs=2.0 \   --max_seq_length=384 \   --doc_stride=128 \   --output_dir=$STORAGE_BUCKET/squad_base/ \   --use_tpu=True \   --tpu=$TPU_NAME
I always got this error message:
INFO:tensorflow:start_position: 113
INFO:tensorflow:end_position: 113
INFO:tensorflow:answer: einstein
INFO:tensorflow:***** Running training *****
INFO:tensorflow:  Num orig examples = 87599
INFO:tensorflow:  Num split examples = 88641
INFO:tensorflow:  Batch size = 12
INFO:tensorflow:  Num steps = 14599
INFO:tensorflow:Querying Tensorflow master () for TPU system metadata.
2019-01-22 00:14:25.871726: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
INFO:tensorflow:Failed to find TPU: _TPUSystemMetadata(num_cores=0, num_hosts=0, num_of_cores_per_host=0, topology=None, devices=[_DeviceAttributes(/job:localhost/replica:0/task:0/device:CPU:0, CPU, 268435456,<PHONE_NUMBER>3785243352), _DeviceAttributes(/job:localhost/replica:0/task:0/device:XLA_CPU:0, XLA_CPU,<PHONE_NUMBER>4,<PHONE_NUMBER>330435898)])
INFO:tensorflow:Error recorded from training_loop: Cannot find any TPU cores in the system. Please double check Tensorflow master address and TPU worker(s). Available devices are [_DeviceAttributes(/job:localhost/replica:0/task:0/device:CPU:0, CPU, 268435456,<PHONE_NUMBER>3785243352), _DeviceAttributes(/job:localhost/replica:0/task:0/device:XLA_CPU:0, XLA_CPU,<PHONE_NUMBER>4,<PHONE_NUMBER>330435898)].
INFO:tensorflow:training_loop marked as finished
WARNING:tensorflow:Reraising captured error
Traceback (most recent call last):
File "run_squad.py", line 1283, in
tf.app.run()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 125, in run
_sys.exit(main(argv))
File "run_squad.py", line 1215, in main
estimator.train(input_fn=train_input_fn, max_steps=num_train_steps)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/tpu/python/tpu/tpu_estimator.py", line 2409, in train
rendezvous.raise_errors()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/tpu/python/tpu/error_handling.py", line 128, in raise_errors
six.reraise(typ, value, traceback)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/tpu/python/tpu/tpu_estimator.py", line 2403, in train
saving_listeners=saving_listeners
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/estimator/estimator.py", line 351, in train
hooks.extend(self._convert_train_steps_to_hooks(steps, max_steps))
File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/tpu/python/tpu/tpu_estimator.py", line 2282, in _convert_train_steps_to_hooks
if ctx.is_running_on_cpu():
File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/tpu/python/tpu/tpu_context.py", line 400, in is_running_on_cpu
self._validate_tpu_configuration()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/tpu/python/tpu/tpu_context.py", line 586, in _validate_tpu_configuration
'are {}.'.format(tpu_system_metadata.devices))
RuntimeError: Cannot find any TPU cores in the system. Please double check Tensorflow master address and TPU worker(s). Available devices are [_DeviceAttributes(/job:localhost/replica:0/task:0/device:CPU:0, CPU, 268435456,<PHONE_NUMBER>3785243352), _DeviceAttributes(/job:localhost/replica:0/task:0/device:XLA_CPU:0, XLA_CPU,<PHONE_NUMBER>4,<PHONE_NUMBER>330435898)].
I also tried to put the BERT and SQuAD folders in a Google Cloud Storage Bucket and followed the answer in issue #98, but still got an error message (I am 100% sure that I used the correct folder names):
Traceback (most recent call last):
File "run_squad.py", line 1283, in
tf.app.run()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 125, in run
_sys.exit(main(argv))
File "run_squad.py", line 1129, in main
bert_config = modeling.BertConfig.from_json_file(FLAGS.bert_config_file)
File "/home/qiuriyi/bert/modeling.py", line 93, in from_json_file
text = reader.read()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/lib/io/file_io.py", line 128, in read
length = self.size() - self.tell()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/lib/io/file_io.py", line 104, in size
return stat(self.__name).length
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/lib/io/file_io.py", line 558, in stat
return file_statistics
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/errors_impl.py", line 528, in exit
c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.NotFoundError: Error executing an HTTP request: HTTP response code 404 with body '{
"error": {
"errors": [
{
"domain": "global",
"reason": "notFound",
"message": "Not Found"
}
],
"code": 404,
"message": "Not Found"
}
}
'
when reading gs://mst-squad/uncased_L-24_H-1024_A-16/bert_config.json/
Has anyone successfully run the SQuAD large file on a GCP TPU and can kindly provide some guidance through this process? Thanks in advance!

@lovedavidsilva , How did you resolve this issue ? .  Thanks

@lovedavidsilva , How did you resolve this issue ? . Thanks

I downloaded the BERT model to my storage bucket and fixed it.

@lovedavidsilva - I'm still facing the same issue that you had faced even after downloading the BERT model checkpoints to google storage bucket. Can you suggest me what else do I need to do in order to resolve that issue?

I am facing the same issue while running extract_features.py script with TPUs. Any idea how to fix this? I am also using storage bucket to store the model.

@saniaparveen - Could you add logging around use_tpu at this line of code [https://github.com/google-research/bert/blob/master/extract_features.py#L176] to check if TPU VM is connected?

@lovedavidsilva - I'm still facing the same issue that you had faced even after downloading the BERT model checkpoints to google storage bucket. Can you suggest me what else do I need to do in order to resolve that issue?

I don't remember exactly what I did. But now I just keep uploading everything to my own bucket and follow the script for the large-uncase-TPU situation. Are you still having the same errors?

@saniaparveen In my case, it is very likely that the file location is not correctly defined. Other than that, I had no issue with running scripts from my own buckets.

I don't remember exactly what I did. But now I just keep uploading everything to my own bucket and follow the script for the large-uncase-TPU situation. Are you still having the same errors?

@lovedavidsilva - Thanks for your reply. My issue is resolved now. I was giving the wrong name for TPU with an incorrect IP address earlier, once I give the actual TPU name, my errors are resolved.


Style/GuardClause weird parsing problem

I've been experiencing weird behaviour on our codebase using the latest git version of rubocop, where --auto-gen-config does not detect cop offenses but subsequent runs of rubocop do. Here is the smallest reproducing piece of code I can create that triggers the bug with Style/GuardClause - there are several features in this code snippet that should be removed but if I remove any one of them I no longer trigger the bug (eg. the line >80 chars, the attribute in the string in the multi-line fail).
def test_func(my_var)
  if my_var != 'a'
    if my_var != 'b'
      if my_var != 'c'
        if my_var != 'd'
          fail "ERROR #{my_var}" \
                "ERROR #{my_var.part}"
        else
          puts 'ok wtf'
        end
      end
    end
  end
  fail 'we only see the issue if this line is too long (more than 80 chars)' if my_var == 'blah'
end

And here is the weird behaviour:
$ bundle exec rubocop test.rb --auto-gen-config ; bundle exec rubocop test.rb
warning: parser/current is loading parser/ruby22, which recognizes
warning: 2.2.4-compliant syntax, but you are running 2.2.2.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
Inspecting 1 file
C

Offenses:

test.rb:1:1: C: Method has too many lines. [13/10]
def test_func(my_var)
^^^
test.rb:5:9: C: Avoid more than 3 levels of block nesting.
        if my_var != 'd'
        ^^^^^^^^^^^^^^^^
test.rb:14:81: C: Line is too long. [96/80]
  fail 'we only see the issue if this line is too long (more than 80 chars)' if my_var == 'blah'
                                                                                ^^^^^^^^^^^^^^^^

1 file inspected, 3 offenses detected
Created .rubocop_todo.yml.
Run `rubocop --config .rubocop_todo.yml`, or
add inherit_from: .rubocop_todo.yml in a .rubocop.yml file.
warning: parser/current is loading parser/ruby22, which recognizes
warning: 2.2.4-compliant syntax, but you are running 2.2.2.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
Inspecting 1 file
C

Offenses:

test.rb:5:9: C: Use a guard clause instead of wrapping the code inside a conditional expression.
        if my_var != 'd'
        ^^

1 file inspected, 1 offense detected

compare to this:
def test_func(my_var)
  if my_var != 'a'
    if my_var != 'b'
      if my_var != 'c'
        if my_var != 'd'
          fail "ERROR #{my_var}" \
                'ERROR'
        else
          puts 'ok wtf'
        end
      end
    end
  end
  fail 'we only see the issue if this line is too long (more than 80 chars)' if my_var == 'blah'
end

which produces expected result:
$ bundle exec rubocop test.rb --auto-gen-config ; bundle exec rubocop test.rb
warning: parser/current is loading parser/ruby22, which recognizes
warning: 2.2.4-compliant syntax, but you are running 2.2.2.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
Inspecting 1 file
C

Offenses:

test.rb:1:1: C: Method has too many lines. [13/10]
def test_func(my_var)
^^^
test.rb:5:9: C: Avoid more than 3 levels of block nesting.
        if my_var != 'd'
        ^^^^^^^^^^^^^^^^
test.rb:5:9: C: Use a guard clause instead of wrapping the code inside a conditional expression.
        if my_var != 'd'
        ^^
test.rb:14:81: C: Line is too long. [96/80]
  fail 'we only see the issue if this line is too long (more than 80 chars)' if my_var == 'blah'
                                                                                ^^^^^^^^^^^^^^^^

1 file inspected, 4 offenses detected
Created .rubocop_todo.yml.
Run `rubocop --config .rubocop_todo.yml`, or
add inherit_from: .rubocop_todo.yml in a .rubocop.yml file.
warning: parser/current is loading parser/ruby22, which recognizes
warning: 2.2.4-compliant syntax, but you are running 2.2.2.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
Inspecting 1 file
.

1 file inspected, no offenses detected

The reason for the weird behavior is the interaction between Style/GuardClause and Metrics/LineLength. When LineLength: Max is 80 (default), then GuardClause doesn't report anything, because it doesn't think that the code would fit on one line if it was changed to a guard clause. In this case, however, I think it's making a mistake. It would fit.
When LineLength: Max is 96, as it is in .rubocop_todo.yml, then we get the report.

Ah, yes, that makes sense, thanks!

In this case, however, I think it's making a mistake. It would fit.

The reason for this is that GuardClause looks at the character length of the body. In this case, the body is split over 2 lines using \, which means that the character length is rather long.

Regarding GuardClause, we could:

Not register an offense if the fail line is split over 2 or more lines
Look at the column position of the end of the fail line, rather than its total character length

What makes more sense?

Second one please - this is still a useful cop in the exit scope case even if the guard doesn't fit on one line.

Tom Ward
<EMAIL_ADDRESS>07773576062

On 30 Dec 2015, at 15:55, Alex Dowad<EMAIL_ADDRESS>wrote:
Regarding GuardClause, we could:
Not register an offense if the fail line is split over 2 or more lines
Look at the column position of the end of the fail line, rather than its total character length
What makes more sense?
—
Reply to this email directly or view it on GitHub.

@alexdowad What GuardClause suggests in this case is to change
        if my_var != 'd'
          fail "ERROR #{my_var}" \
                'ERROR'
        else
          puts 'ok wtf'
        end

to
        fail "ERROR #{my_var}" 'ERROR' if my_var != 'd'
        puts 'ok wtf'

or something, which I think is overstepping its authority. What it should want (and ideally auto-correct to) is IMO
        if my_var != 'd'
          fail "ERROR #{my_var}" \
                'ERROR'
        end
        puts 'ok wtf'

and then let Style/IfUnlessModifier deal with the rest.

I'm thinking that GuardClause can simply ignore if nodes which have a condition spread over multiple lines. For non-trailing ifs which have a return, next, etc. in the body, they will also be ignored if the control flow statement is spread over multiple lines.

I'm thinking that GuardClause can simply ignore if nodes which have a condition spread over multiple lines. For non-trailing ifs which have a return, next, etc. in the body, they will also be ignored if the control flow statement is spread over multiple lines.

I think that's fine as a solution for the problem reported here. I see some other problems with the current behavior of GuardClause, but I can open a separate issue for those.

I think that's fine as a solution for the problem reported here. I see some other problems with the current behavior of GuardClause, but I can open a separate issue for those.

Sure. File those issues!
Btw, my initial idea was to have GuardClase operate only upon trivial conditions (e.g. just one term), but for some reason I never got to actually changing this behaviour. It seems to me that guard clauses are a great option for simple conditions, but they hamper the readability otherwise.

Sure. File those issues!
Btw, my initial idea was to have GuardClase operate only upon trivial conditions (e.g. just one term), but for some reason I never got to actually changing this behaviour. It seems to me that guard clauses are a great option for simple conditions, but they hamper the readability otherwise.


manifest: update mcuboot to 1.6.0-rc2

MCUBoot was synchronized with upsteram tag v1.6.0-rc2
version.
Signed-off-by: Andrzej Puzdrowski<EMAIL_ADDRESS>

All shippable issues are inherited form the master (related to drivers/can/can_mcux_flexcan DT API)

@nvlsianpu you placed the DNM in the wrong PR :( I merged this and now we need to fix this because this is pointing to a pull/head/. Can you please merge https://github.com/zephyrproject-rtos/mcuboot/pull/16 and then send a PR that updates the SHA please?


5pm b create menu item personal schedule

Added a menu item called "personal schedule" in the Navbar

20 points (probably 10, but I'm being generous :-) )


Solve compatibility issues when calling subprocess.run

The check_output of subprocess.run argument is not available in Python 3.6, but the lib is advertized to be compatible with Python >= 3.6

Calls to subprocess.run are only called when using LFS, and this is only tested for 3.9

oh yes that's in tests only, right
Why do you need to run the tests in Py3.6?

My virtualenv for huggingface_hub is 3.6 😛

Should we also run tests for python 3.6 for git-lfs?

I don't really see a need for this


[5.6] Add custom prefix option on migration

This PR adds option (which is optional) to specify custom prefix for migration file during make:migration. That way we can create specify something like this:
artisan make:migration create_some_table --prefix='01' --create='SomeTable' which will create 01_create_some_table.php migration file. Useful for ordering process when we actually migrate.
When not specified, it uses default timestamp as file prefix.

How will this work with existing migrations? If you sort it then the existing migrations starting with 2017_..... would sorted last

I don't plan on adding this.


Added support for MQTT

Added support for MQTT with the existing events and messages.
Also added support for marking a message as delivered because I think that causes facebook to temporarly block accounts.
Also added a "change_thread_image" event triggered when a group image is changed.
To listen with mqtt simply change api.listen to api.listenMqtt

Wow this is great, thanks.
Can we mark-as-delivered automatically? Generally I'd say that that and change_thread_image could have been in a separate PR though.
I left a couple questions in the code, but it generally looks like it could work.
If you can add a brief note to the docs about the listenMqtt function being an experimental way to receive messages and a small usage example, I think we can probably merge this. If it works well for people, we can transition in a while to having it be the default listen behaviour. I'm assuming the messages that we get through this are pretty much the same as the ones we used to get through the regular listen?
In the meantime, if anyone else who is excited about this functionality wants to pull the branch and try it out, that's always helpful for a big change like this. Thanks!

Sure. We also could add an option for auto marking messages as seen.
for change_thread_image I could do that in another PR with some other events I found related to calling.
And yes, messages are exactly the same.
Thanks!

Also it would be helpful to merge #628 because of ForcedFetch.

I'd suggest changing tabs to spaces, to match rest of the code.

@Schmavery Would you like me to remove markAsDelivered and change_thread_image from this PR and do another one after this is merged?

I don't really mind change_thread_image staying but lets pull out markAsDelivered for now if you don't mind -- I think we should start trying to do that and markAsRead automatically and I don't want that to block this PR :)
Thanks for adding the docs! I left just a couple more comments and then I think we should be good to merge unless someone else has concerns.

Thank you! I'm glad I could help.
I have no problem in removing markAsDelivered for now, I can work on making it automatic with markAsRead.
PR #628 has a good way to handle GraphQL requests that way most requets are in one place.
I could try to merge it and make it up to date if you like.
I'm also thinking about refactoring parseDelta so we could add more events in the future easily. But I'll leave that for another PR.
Thanks!

Could you please take a look at the latest changes?

:|

@lequanglam what was in that message? was it normal text? emoji? sticker? picture? that would probably help

@ravkr i can't check what messages is throwing that error (cuz there's a LOT of messages going in and out), but i hooked up some error logging, hopefully it will catch what messages is messing up.

found, it was ForcedFetch that cause issues.

@lequanglam  It's fixed in the last commit. Please update

Fixed ForcedFetch issues and converted presence timestamps from seconds to milliseconds.
You can merge now. :smiley:

Thanks :)

Hi @7osCraft
Sometime mqtt client has this error or after call api.logout()

listenMqtt just show it and nothing trigger. Can you add some err return like this to handle easy.

Thanks and sorry for my English.

@thanhdatpd Sure. Thanks!


Move jest-get-type to ESM named exports

Summary
I tried using jest's expect together with snowpack (which converts everything to esm via rollup/plugin-commonjs), and it mostly worked okay except I was getting
TypeError: (0 , _jestGetType.default) is not a function
I traced this down to a problem in how rollup/babel (or the combination of them) deal with mixed default and named exports.  The rollup docs specifically talk about avoiding mixing the two, as well.  I see that all of the other jest packages (except for pretty-format, which also causes me errors) are using either default or named exports, so I chose to use named exports and convert jest-get-type to esm.
Test plan
I built the code, copied all of the newly built files to my node_modules, and my error went away.  Also, existing tests continue to pass.

Codecov Report

Merging #11359 (b28c92c) into master (4c3643c) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master   #11359   +/-   ##
=======================================
  Coverage   64.16%   64.16%
=======================================
  Files         308      308
  Lines       13515    13515
  Branches     3294     3294
=======================================
  Hits         8672     8672
  Misses       4129     4129
  Partials      714      714

Impacted Files
Coverage Δ

...ckages/jest-config/src/ReporterValidationErrors.ts
11.76% <ø> (ø)

packages/jest-diff/src/index.ts
82.75% <ø> (ø)

packages/jest-matcher-utils/src/Replaceable.ts
100.00% <ø> (ø)

packages/jest-validate/src/errors.ts
81.81% <ø> (ø)

packages/expect/src/matchers.ts
96.88% <100.00%> (ø)

packages/expect/src/spyMatchers.ts
81.79% <100.00%> (ø)

packages/jest-get-type/src/index.ts
90.32% <100.00%> (ø)

packages/jest-matcher-utils/src/index.ts
86.81% <100.00%> (ø)

packages/jest-snapshot/src/printSnapshot.ts
100.00% <100.00%> (ø)

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 4c3643c...b28c92c. Read the comment docs.


Fixed typo in Spanish

I've changed "Querer" by "Quieres" in last section's title as otherwise it has no sense in spanish.

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[ ] None of my changes are plagiarized from another source without proper attribution.
[ ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


Release 0.1.23

The more relevant changes in the new version are the following:

Don't show cluster admin credentials in the debug log.

FYI: @ethernetdan


session.Relation.RolePlayers.Iter.Res.thing: "session.Concept" seems to be defined in "grakn/service/Session/autogenerated/Concept.proto", which is not imported by "session/Concept.proto".  To use it here, please add the necessary import.
session.Relation.Assign.Req.role: "session.Concept" seems to be defined in "grakn/service/Session/autogenerated/Concept.proto", which is not imported by "session/Concept.proto".  To use it here, please add the necessary import.
session.Relation.Assign.Req.player: "session.Concept" seems to be defined in "grakn/service/Session/autogenerated/Concept.proto", which is not imported by "session/Concept.proto".  To use it here, please add the necessary import.
session.Relation.Unassign.Req.role: "session.Concept" seems to be defined in "grakn/service/Session/autogenerated/Concept.proto", which is not imported by "session/Concept.proto".  To use it here, please add the necessary import.
session.Relation.Unassign.Req.player: "session.Concept" seems to be defined in "grakn/service/Session/autogenerated/Concept.proto", which is not imported by "session/Concept.proto".  To use it here, please add the necessary import.
session.Attribute.Value.Res.value: "session.ValueObject" seems to be defined in "grakn/service/Session/autogenerated/Concept.proto", which is not imported by "session/Concept.proto".  To use it here, please add the necessary import.
session.Attribute.Owners.Iter.Res.thing: "session.Concept" seems to be defined in "grakn/service/Session/autogenerated/Concept.proto", which is not imported by "session/Concept.proto".  To use it here, please add the necessary import.`

We haven't tested the usage of grakn-client with anaconda, can you test outside of this environment and using pip directly?

Hi Joshua, the Grakn client is working outside the anaconda environment. Thank you!


Flash availability

This is a question. Is flash available to turn on/off while taking photos?

@EzequielAdrianM you should take a look at RxCameraActionBuilder

public Observable<RxCamera> flash() {
        return Observable.create(new Observable.OnSubscribe<RxCamera>() {

            @Override
            public void call(Subscriber<? super RxCamera> subscriber) {
                Camera.Parameters parameters = rxCamera.getNativeCamera().getParameters();

                parameters.setFlashMode(Camera.Parameters.FLASH_MODE_TORCH);

                rxCamera.getNativeCamera().setParameters(parameters);
                subscriber.onNext(rxCamera);
            }
        });
    }

You just need to add some checks and you are ready to go

@EzequielAdrianM the flash support was added on this commit https://github.com/ragnraok/RxCamera/blob/2a49ce63db417d8af0638f138bf3a2ca095457f1/lib/src/main/java/com/ragnarok/rxcamera/action/RxCameraActionBuilder.java


bump version to 0.5.1

@TysonAndre @Stelminator @erikjohannessen

Going to merge this for the general public. Will create a build branch for nutredis -- final chance to object to this silly name and propose something better ;)


Gekko UI with postgresql

Hello,
i am currently and succesfully running gekko in background mode using postgresql as DB
Now i want to be able to run gekko with --ui option with postgresql and not sqlite, how should i configure it? I found nothing in the docs
do i need to add the adapter and postgresql config to web/vue/UIConfig.js?
I tried adding this but it's not working:

adapter = 'postgresql';
postgresql: {
path: 'plugins/postgresql',
version: 0.1,
connectionString: 'postgres://user:pw@localhost:5432',
database: 'db',
schema: 'public',
dependencies: [{
module: 'pg',
version: '6.1.0'
}]
}

you have to type : npm install pg
in gekko folder

Edit \web\vueUIconfig.js
set adapter

\web\routes\baseconfig.js
// Postgres adapter example config (please note: requires postgres >= 9.5):
config.postgresql = {
path: 'plugins/postgresql',
version: 0.1,
connectionString: 'postgres://YOURUSERNAME HERE:PASSWORD HERE@localhost:5432', // if default port
database: 'gekko', // if set, we'll put all tables into a single database.
schema: 'public',
dependencies: [{
module: 'pg',
version: '6.1.0'
}]

Done thanks! you're my hero!

very important info. Thanks guys!
It would be nice if someone added this information to the documentation.
I do not see the difference between the --ui mode and
gekko/config / general.toml
gekko/config/adapters/postgresql.toml
in which case these settings are used?


Extracting graphs from .cpp files

Hello! My name is Maksim Zubkov, I am a bachelor's student at MIPT, Russia, and an inter at JetBrains Research.
Thank you for your work on Joern it is impressive!
Under the scope of my undergraduate thesis at JetBrains Research, I am working on a source code understanding problem using ML methods. I used Joern to extract the CPG  from code written in C++. Firstly I tried to extract CPG directly using importCode but came across the same issue as @muoitranduc (Issue).
Then I tried the following commands:
$ joern-parse my_file.cpp
$ joern
     ██╗ ██████╗ ███████╗██████╗ ███╗   ██╗
     ██║██╔═══██╗██╔════╝██╔══██╗████╗  ██║
     ██║██║   ██║█████╗  ██████╔╝██╔██╗ ██║
██   ██║██║   ██║██╔══╝  ██╔══██╗██║╚██╗██║
╚█████╔╝╚██████╔╝███████╗██║  ██║██║ ╚████║
 ╚════╝  ╚═════╝ ╚══════╝╚═╝  ╚═╝╚═╝  ╚═══╝
$ joern> loadCpg(inputPath="cpg.bin")

And everything seems to work correctly!
Due to this fact, I decided to check why importCfg and  importCode has different behavior. Here is what I have found:

According to the code (link) of joern-parse all the following extensions are supported: [".c", ".cc", ".cpp", ".h", ".hpp"]
On the other hand, the problem with importCode may occur because extensions argument in runAndOutput function (link). As I understand if we simply change Set(".c") to Set(".c", ".cc", ".cpp", ".h", ".hpp") nothing will go wrong, am I right?

Best regards, Maksim

Great! It works well on my machine now.
Thanks so much for this!

Related PR: https://github.com/ShiftLeftSecurity/codepropertygraph/pull/1165
We will merge it as soon as we fixed the GH actions ..

I guess now we can close the issue


add module/component directory to typings path in package.json files

#3820
These changes will fix the type declaration paths in the components package.json file.

Merged, thanks!


Autotune Challenge

I am a non-techie Newbie to this world.  I have loop running on an iPhone and a closed loop using a Riley link with my old Medtronic pump which works.  I also have nightscout set up and running - all good.  Now I am trying to get autotune running so that I can run it manually on my MacBook.
I have been through the instructions and it all seemed to go really well until the end when I got this error message.  I have no idea what this means and would really use some assistance.  Thank you
TypeError: Cannot set property 'i' of undefined
at tuneAllTheThings (/usr/local/lib/node_modules/oref0/lib/autotune/index.js:80:32)
at Object. (/usr/local/lib/node_modules/oref0/bin/oref0-autotune-core.js:59:27)
at Module._compile (module.js:649:30)
at Object.Module._extensions..js (module.js:660:10)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:501:12)
at Function.Module._load (module.js:493:3)
at Function.Module.runMain (module.js:690:10)
at startup (bootstrap_node.js:194:16)
at bootstrap_node.js:666:3
false
Could not run oref0-autotune-core autotune.2018-03-24.json profile.json profile.pump.json

Hi @paulcoker, please see the resolution in https://github.com/openaps/oref0/issues/971. Jump into the openaps/autotune channel on Gitter for any additional troubleshooting on this.


Review table

Wrote the review table schema to reflect the necessary changes

Finally😂😂
On Fri, 16 Sep 2022 at 12:02 Samuel Doghor @.***> wrote:

Merged #30 https://github.com/samdoghor/GomerceBE/pull/30 into main.
—
Reply to this email directly, view it on GitHub
https://github.com/samdoghor/GomerceBE/pull/30#event-7402283442, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AZT7RAQ4VEFQPKKU2RF63PDV6RHTPANCNFSM6AAAAAAQOHAM5U
.
You are receiving this because you authored the thread.Message ID:
@.***>


Issues with RDSClient

First off, awesome project -- I'm looking forward to seeing it mature.
I created this thin RDS client wrapper as an experiment:
import { RDSClient } from '@aws-sdk/client-rds';

class RDSClientWrapper {
    private client: RDSClient;

    constructor(client: RDSClient) {
        this.client = client;
    }
}

In the testing file, I have this:
import { RDSClient } from '@aws-sdk/client-rds';
import { mockClient } from 'aws-sdk-client-mock';
...
describe('RDSClientWrapper', function() {
    let rdsClientWrapper: RDSClientWrapper;
    beforeEach(function() {
        const mockRDS = mockClient(RDSClient);
        rdsClientWrapper = new RDSClientWrapper(mockRDS);
    });
...
}

This line rdsClientWrapper = new RDSClientWrapper(mockRDS); errors with:

Argument of type 'AwsStub<ServiceInputTypes, ServiceOutputTypes>' is not assignable to parameter of type 'RDSClient'.
Type 'AwsStub<ServiceInputTypes, ServiceOutputTypes>' is missing the following properties from type 'RDSClient': config, destroy, middlewareStackts(2345)

Is extra work needed to mock the RDSClient?

Hey,
Thanks for the nice words.
The problem seems to be similar to #14 - some clients have different types than most and they do not match types expected by the lib. I will try to work this out.

Thanks for the response! I don't feel knowledgeable enough to submit my own PR, but happy to review the changes to learn if it is fixed!

Hey. Took me a moment but it should work now in v0.5.0, with AWS SDK v3.17.0.
Compatibility with different SDK Clients will be now checked and monitored, see compatibility.md
Please let me know in case something still doesn't work.

Thanks!


Parser hangs on use open qw(: with no newline at the end

When trying to parse a file with the text use open qw(: and no newline at the end the parse hangs indefinitely.
asciinema recording showing the problem: https://asciinema.org/a/XX8rqGY1Npllp1BUM3X7i9vMc
Downstream issue: helix-editor/helix#4070

Sometimes it hangs even with more file content below; but it's easier to reproduce with empty file

it works with use open qw(:std :utf8);.
If I have it your way, perl says this
perl examples/test.pl
Can't find string terminator ")" anywhere before EOF at examples/test.pl line 6.

So is use open qw(: a valid syntax?

It is invalid syntax, but the issue is that the parser hangs indefinitely on it. The parser is going to run on code as it is being written, and shouldn't get stuck on invalid code. It should be returning a tree with error nodes.

Got it. Pushed the fix in my latest commit. Will publish a new version sooner.


Error running filter _extensions/quarto-journals/acm/add-bibliography.lua

Hi - I was testing out the ACM template and ran into this error:

Error running filter _extensions/quarto-journals/acm/add-bibliography.lua:
PandocLuaError "Cannot get Attr from TypeNil"
stack traceback:
	_extensions/quarto-journals/acm/add-bibliography.lua:54: in function <_extensions/quarto-journals/acm/add-bibliography.lua:53>

I'm not sure how to proceed troubleshooting this one. Any help would be great. Thanks so much!

I got this error when I tried to convert a qmd to the ACM template. When I use the template to start, I don't get this error, so I think I'm all set for now.

Thanks for reporting - it is likely something that we're inadvertently depending upon in the document yaml. If you do want to share that document (if you can) - I'll be happy to have the reproducible case so I can get it fixed! If not, no worries and lmk if you run into it again!

Hi Charles - I recreated the error. I was doing something wrong with the abstract in the YAML. I don't know how to properly format that. I am attaching a screenshot of what it looks like.

This one works:


Enhance the Contact button and information

Description
The current "Contact" section in the README is simple and lacks visual appeal, making it less engaging for users who might want to get in touch or learn more about the project. The aim is to create a more user-friendly and visually appealing "Contact" section that displays contact information and directs users to connect through various platforms.
Expected Outcome

[x] A visually enhanced and interactive "Contact" button.
[x] Clear and structured presentation of all contact information.
[x] Use of platform-specific icons (like email, LinkedIn, GitHub, Instagram) for better visual recognition.
[x] The section should encourage users to reach out easily.

Assign me the task under GSSOC EXT 24 and Hacktoberfest  @daccotta .

@alo7lika assigning you this issue but can you first attach an ss of what you are going to do as one more person is working on the contact section.

@alo7lika assigning you this issue but can you first attach an ss of what you are going to do as one more person is working on the contact section.


Update sort order for libraries based on GitHub stars

Update sort order based on GitHub stars

Updated PR to reflect latest star count

Thank's for the contribution!


[2.3]Fix text issue

Proposed changes

Update taints section text
Update edit workload text
Fix typo

Types of changes

Bugfix (non-breaking change which fixes an issue)

Linked Issues
https://github.com/rancher/rancher/issues/19579
https://github.com/rancher/rancher/issues/19158
https://github.com/rancher/rancher/issues/18129

Further comments

Updated @westlywright


How to implement a nested navigator?

I need to implement a bottombar navigator with four tabs,each tab should be a stack ,can preserve each tab's history.I can implement this using indexStack and navigator widget.But how can I do this with fluro using a more simple way.

This has been asked a few times and it is better asked on Stack Overflow


Make rails dependencies more specific

The gem currently only requires the railties gem, so let's narrow the scope of that dependency. Requiring rails is causing some weird dependencies on rails 0.9.5 in the github monolith that I'd rather not even bother investigating.
With this change we now have a dependency on railties >= 6.0.0 and a development dependency on rake.

This looks good, thank you!! Want to bump the patch version too? That way a new release is made and pushed to ruby gems.


Fix Pong Example

When I run the Pong example on my OSX 10 El Capitan (Haven't tested other platforms) machine, it looks like the following image.
This probably has to do with the recent refractoring.

This has to do with the default values of the CameraSystem. I believe this will be fixed in the "Added Scenes"-patch, which should be available soon.

Same cause as #111.


Searches for multiple tags yeild zero results

I'm currently trying to locate reports tagged with both "Testimony" and "Public Hearing". I was expecting to be able to build a search for multiple tags in the search bar. When I tried to, I got zero results. Here are the steps I took:

Type "Testimony" in the search bar and select the term from the suggestion drop down, then click search
Select "Result type" = "Tag Search", which yields 21 results.
Go back to the search bar, type "Public Hearing" and select it from the suggestion drop down, then run the search, which yields 21 results.
After verifying some of these results are tagged with both "Testimony" and "Public Hearing", select "Result type" = "Tag Search"
Get zero results.
Am I incorrect in my assumption I should be able to build a search for multiple tags in the search bar?

I'm able to get the results I expect using this process:

Click on the tag "Testimony" either on a search result in the list, or in the side bar of a report
On the new results page, clear "Testimony" from the search bar but not from the filters
Type "Public Hearing" and select it from the suggestion drop down, then run the search, which yields 21 results.
Select "Result type" = "Tag Search"
Get 4 results with both tags

There are a couple of relevant sections in the code:

On the front end, we parse the query from the search bar to send to the server here.
On the back end, we convert the parsed query to a SearchQuerySet here.

I suspect but am not 100% sure that one of these might not be behaving correctly.

Fixed in #1019.


getUV0() for an ExternalTexture always returns zero

In Android, loaded a plane from a glb file and when applying a material instance with video from an ExternalTexture, the video is not rendered edge to edge of the plane. It looks like this:

The actual video is here:
http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/SubaruOutbackOnStreetAndDirt.mp4
The plane's vertices are like this(not unit vec3) and as you can see it is not symmeterical at origin:
o Plane
v -3.449268 0.000000 2.000000
v 4.636948 0.000000 2.000000
v -3.449268 0.000000 -2.975009
v 4.636948 0.000000 -2.975009
vt 0.000000 0.000000
vt 1.000000 0.000000
vt 1.000000 1.000000
vt 0.000000 1.000000
vn 0.0000 1.0000 0.0000

Inspired from the lit.mat from sample-hello-camera, used getPosition() to convert it into uv(0 to 1). But this getPosition() method will work only if the vertices fall within -1 to +1.
My actual glb is complicated and it cannot be easily reduced to -1 to +1. So I tried using the getUV0() to get external texture material as it isn't but it always returns 0,0.

Am I missing something for getUV0() to work properly? Any reference will help.
Or how to make the video texture display edge to edge irrespective of the vertices and scale?

Smartphone (please complete the following information):

Device: Pixel 2
OS: Android 10.0

Please clarify.

Here is the full mat file:
material {
    name : lit,

    shadingModel : lit,

    doubleSided  : true,

    blending : masked,

    flipUV : false,

    variables : [
        uv
    ],

    requires : [
        position,
        uv0
    ],

    parameters : [
        // The color must be passed in linear space, not sRGB
        {
            type : float3,
            name : baseColor
        },
        {
            type : float,
            name : roughness
        },
        {
            type : float,
            name : metallic
        },
        {
            type : samplerExternal,
            name : videoTexture
        },
        {
            type : mat4,
            name : textureTransform
        },
        {
            type : int,
            name : plane
        },
        {
            type : bool,
            name : enableChromaKey
        },
        {
            type : float4,
            name : keyColor
        }
    ],
}

vertex {
    void materialVertex(inout MaterialVertexInputs material) {
        material.uv = 0.5 * (getPosition() + vec4(1));
    }
}

fragment {
    vec3 desaturate(vec3 color, float amount) {
        // Convert color to grayscale using Luma formula:
        // https://en.wikipedia.org/wiki/Luma_%28video%29
        vec3 gray = vec3(dot(vec3(0.2126, 0.7152, 0.0722), color));

        return vec3(mix(color, gray, amount));
    }

    void material(inout MaterialInputs material) {
        prepareMaterial(material);
        material.roughness = materialParams.roughness;
        material.metallic = materialParams.metallic;

        vec2 uv;
        if (materialParams.plane == 1) {
            uv = (materialParams.textureTransform * vec4(variable_uv.xz, 0, 1)).xy;
        }
        else if (materialParams.plane == 2) {
            uv = (materialParams.textureTransform * vec4(variable_uv.yz, 0, 1)).xy;
        }
        else {
            uv = (materialParams.textureTransform * vec4(variable_uv.xy, 0, 1)).xy;
        }

        vec4 color = texture(materialParams_videoTexture, uv).rgba;

        if (materialParams.enableChromaKey) {

            vec3 keyColor = materialParams.keyColor.rgb;

            float threshold = 0.675;
            float slope = 0.2;

            float distance = abs(length(abs(keyColor - color.rgb)));
            float edge0 = threshold * (1.0 - slope);
            float alpha = smoothstep(edge0, threshold, distance);
            color.rgb = desaturate(color.rgb, 1.0 - (alpha * alpha * alpha));

            material.baseColor.a = alpha;
            material.baseColor.rgb = inverseTonemapSRGB(color.rgb);
            material.baseColor.rgb *= material.baseColor.a;
        }
        else {
            material.baseColor = color;
        }
    }
}

Problematic plane:
blender_plane4.glb.zip
However, if I use the face of a distorted cube that has vertices higher than -1 to +1, and replace the face's dark material with video texture material, the same above shader works fine.

But in plane it seems getPosition() vertices are not normalized, in my understanding.

UVs from glTF files should work fine, we use them all the time (and you can see them in action in our glTF samples).
The problem you see in your first example is expected because your positions are not in -1..+1 indeed. Your texture coordinates are however, so you should use those.

How to get the texture coordinates in the fragment shader? getUV0() is returning 0,0 always.

getUV0() is the correct way. If it's always returning 0,0 there might be an issue with your glTF file. That's how this sample (sample-gltf-viewer) works for instance: https://github.com/google/filament/blob/master/docs/images/samples/sample_gltf_viewer.jpg
The first step would be to output your UVs as the color of your object so you can see what they look like.

Thanks a ton for your time @romainguy . After adding an image texture to the glb, getting the uv values properly from getUV0(). Just with a material it was returning 0,0.

I wonder if that's an optimization of the glTF exporter, or the glTF importer.
@prideout are we somehow ignoring UVs if a glTF file comes without textures? We should probably have the attribute if the data is present.

Yes it's quite possible we do this, UV management is more complicated than you might think because we remap the glTF UV set indices in order to try to fit them into slots 0 and 1.

@prideout I'm using sceneform sdk which uses gltfio to load the glb as a FilamentAsset and created a MaterialInstance with custom shader and link to ExternalTexture for video.
I tried with 2 planes(glb), one exported from Blender and one from Cinema4D. Both had the same issue i.e, getUV0() always returned 0,0. And both get proper getUV0() when an image texture was applied before exporting.
Also please clarify why getPosition()(in the custom shader posted in the second comment) is returning absolute vertices (ranging above -1 to +1) for a Plane object, but for the face of a cube it gives normalized vertices (ranging within -1 to +1) which can be observed from the results in my first and third comment.
For the plane the video looks zoomed out, which means absolute vertices are returned by getPosition().
For the face of a cube the video fits properly, which means normalized vertices are returned.

Ok I found the problem. Your cube mesh data is normalized in the glTF file. But there is a scale transform (2.0/2.0/3.0). Because .obj doesn't support transforms, your 3D package applies it to the vertices. But when exporting the glTF file, the transform is left as is. In Blender you can apply the transform at export time, it's an option in the glTF export panel, or you can use Ctrl-A in the viewport to apply the scale transform before export. Filament and getPosition() are behaving as expected here.

There is one fix for us though: we need to set the UV attributes on the mesh data even if the embedded materials don't have a texture.

Thanks for the details @romainguy !

@balarayen
Hi, Thank you in advance for bringing some issues with filament-sceneform that i am also goting through.
I am pretty new to filament, so i am having a hard time creating texture with mp4. I could barely find any source code for that.
Could you share how you built texture with video file? Any guideline would be very appreciated.
Thank you!


How to stream via webhooks?

Based on documentation, if I set webook filter with "output", If I set Iterator[str] as return type and yield strings, I would expect that my webhook is called on each yield, but that is not the case, yielded output is included on the completion webhook call.
As well I didnt set webhook filter  "logs" but logs are still included in the end webhook call.

My call:
echo '{
  "input": {},
  "webhook":"http://<IP_ADDRESS>:8080",
  "webhook_events_filter": ["start", "output" , "completed"]
}' | curl -X POST -H "Content-Type: application/json" -H "Prefer: respond-async" --data-binary @- http://localhost:5000/predictions

my code:
    def predict(
        self,
  ...
    ) -> Iterator[str]:

yield 'test'

...prediction

I get 'test' in output field, but after whole prediction has finished.


Test apps are too old - Need to be upgraded.

There are two apps in /src/test/projects/ that are too old and need to be upgraded to Grails 7.
I assume they are created to test this plugin.

Both test are converted to Grails 7 now


Vera/eng 589 api drive key unification

We'll want to wait to merge this to be at the same time we deploy the platform changes for the API keys 👍🏼


Error: Invariant Violation: You cannot modify a static location

Hi, I'm trying to make a redirect outside of a willTransition hook. If I call router.transitionTo, I get:
Error: Invariant Violation: You cannot modify a static location

Here is how I constructed my router (on the server):
  const router = Router.create({
    routes,
    location: req.path,
    onAbort: reason => console.log('abort', reason)
  });

reason => console.log('abort', reason) never gets called. I suspect the problem is that req.path is a static location? What is the proper way to make a redirect (on the server) outside of a willTransition hook? Thank you!

I found a workaround that seems to work for me, see: https://gist.github.com/maximilianschmitt/3a14dffd6645dd4529f6
It's not the cleanest piece of code so I welcome any suggestions on how to improve it.

we're still baking the 1.0 server side rendering story but you will be able to transition and get a redirectInfo result, I'm glad you found a workaround for 0.13, sorry about that :(


The protocol switches from HTTP to HTTPS if one visits the account settings

There's something strange going on with the /^https?:/ links on the settings page. Here are the steps to reproduce the behaviour:

Go to the dashboard.

Go to either the kata/kumite editor or your language/account settings.
??? (HTTPS issues, language settings don't load at all, account settings after some time)

Is this fixed? I couldn't reproduce.

I go with "no", since https://codewars.com won't redirect.
Am 30.03.2017 03:46 schrieb "kazk"<EMAIL_ADDRESS>
Is this fixed? I couldn't reproduce.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Codewars/codewars.com/issues/97#issuecomment-290277739,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGAoTbiNNzwfJ3Y6WYeByOJZgi0FDy1Oks5rqwmFgaJpZM4E8JZ4
.

Thanks. So the issue is redirection from https://codewars.com to https://www.codewars.com is not working.

Closing this because now it redirects. See also #166.


Parsing header files containing undefined functions

When a c library doesn't contain all functions, that are declared in the headef file, it is no problem, if they are declared in dale as extern-c anyway.
But if I define a wrapper around this undefined function, it won't compile anymore, because the function is not defined.
(import stdlib)

(def x (fn extern-c void (void))) ;;unused undeclared function

(def X (fn (attr inline) extern void (void) ;;wrapper function, without this, the program works
  (x)))

(def main (fn extern-c void (void)
  (printf "no problem\n")))

This is intentional, and C has analogous behaviour.  When x is unused, it doesn't matter that there isn't a definition for it, but once it is used, it must be defined, even if the use site itself is not used.


fix include activity and enum camelcase

fix #3220
fix #3228

rename IncludeActivity => activityProcessed with default value of true, and dialog actions to always set TurnPath.ACTIVITYPROCESSED when passing focus to another dialog
fixed unit tests around ActivityProcessed behavior
added appropriate attributes and updated .schema and dialog files for enums

Pull Request Test Coverage Report for Build 98923

0 of 0   changed or added relevant lines in 0 files are covered.
480 unchanged lines in 62 files lost coverage.
Overall coverage increased (+0.003%) to 78.1%

Files with Coverage Reduction
New Missed Lines
%

/libraries/Adapters/Microsoft.Bot.Builder.Adapters.Facebook/FacebookAdapterOptions.cs
1
92.31%

/libraries/integration/Microsoft.Bot.Builder.Integration.ApplicationInsights.Core/ApplicationBuilderExtensions.cs
1
75.0%

/libraries/Microsoft.Bot.Builder.AI.LUIS/LuisApplication.cs
1
97.37%

/libraries/Microsoft.Bot.Builder.AI.LUIS/V3/LuisApplication.cs
1
97.37%

/libraries/Microsoft.Bot.Builder.AI.LUIS/V3/LuisUtil.cs
1
95.24%

/libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/SequenceContext.cs
1
52.78%

/libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/TriggerConditions/OnIntent.cs
1
93.88%

/libraries/integration/Microsoft.Bot.Builder.Integration.AspNet.Core/HttpHelper.cs
2
130.77%

/libraries/integration/Microsoft.Bot.Builder.Integration.AspNet.Core/Skills/SkillHttpClient.cs
2
0.0%

/libraries/Microsoft.Bot.Builder.AI.LUIS/Generator/DateTimeSpec.cs
2
72.73%

Totals

Change from base Build 98911:
0.003%

Covered Lines:
14283

Relevant Lines:
18288

💛  - Coveralls

:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.Luis.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.QnA.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.ApplicationInsights.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Azure.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Dialogs.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Integration.ApplicationInsights.Core.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Integration.AspNet.Core.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.TemplateManager.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Testing.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Configuration.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Connector.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Schema.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Streaming.dll compared against version 4.6.3


[camera] Add ability to concurrently record and stream video

This PR adds the ability to optionally also enable streaming when starting recording of a video. This feature is useful, for example, in applications that use image recognition. The customer will want some immediate feedback as the video is being recorded (where an ML model might be run on the captured images), as well as to upload the video to a server at the end for final server-side processing.
Functionally, the new optional named parameter on startVideoRecording will combine the existing implementation with that of startImageStream. Besides this, all functionality remains the same. For existing code, that does not use the new parameter, there is no change to the code path.
I have added unit tests to the higher-level dart abstractions, added integration tests for the underlying android and iOS implementations, and tested manually on Android and iOS devices. I have updated camera_web to throw an exception if the user attempts to enable streaming when recording (given that streaming is not yet supported).
Closes https://github.com/flutter/flutter/issues/83634
Pre-launch Checklist

[X] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[X] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[X] I read and followed the [relevant style guides] and ran [the auto-formatter]. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
[X] I signed the [CLA].
[X] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[X] I listed at least one issue that this PR fixes in the description above.
[X] I updated pubspec.yaml with an appropriate new version according to the [pub versioning philosophy], or this PR is [exempt from version changes].
[X] I updated CHANGELOG.md to add a description of the change, [following repository CHANGELOG style].
[X] I updated/added relevant documentation (doc comments with ///).
[X] I added new tests to check the change I am making, or this PR is [test-exempt].
[X] All existing and new tests are passing.

Looks like I need to update camera_windows as well. Will do.

One of the checks is failing because it doesn't want the PR to include both changes to camera_platform_interface and the implementations. Can you confirm if that's the case (and that you're happy with the changes in camera_platform_interface)? If so then I'll split this out into 2 PRs.

Thanks for the feedback @hellohuanlin , I'll wait for some feedback on the other modules as well and then address everything you raised.

Saw a few updates in my email. Just double check - let me know when it's ready for a second review.

Saw a few updates in my email. Just double check - let me know when it's ready for a second review.

Yep, it's ready @hellohuanlin , thanks :)

@hellohuanlin this should be ready for review again.

@hellohuanlin can you take another look at this, if your changes have all been addressed?

@loic-sharma this still needs Windows review.
@ditman you were marked as the camera_web codeowner, did you remove yourself as a reviewer?  Not sure how that disappeared.

last line of pub output: "Because camera_web depends on camera_platform_interface ^2.3.1 which doesn't match any versions, version solving failed."

@stuartmorgan this might need some guidance landing the last few changes, but it looks pretty much ready?

last line of pub output: "Because camera_web depends on camera_platform_interface ^2.3.1 which doesn't match any versions, version solving failed."

@stuartmorgan this might need some guidance landing the last few changes, but it looks pretty much ready?

Thanks @jmagman , currently I'm waiting on https://github.com/flutter/plugins/pull/6666 to get merged so that I can fix those errors you pointed out. Just some sequencing to be done.

I've updated this now with the changes from #6550 and #6666 . I have removed the changes to the camera package, since they are dependent on the changes in the various implementation packages (e.g. camera_android). Therefore, once this PR is merged I'll open another one to include the changes to camera.

has this part been merged?

has this part been merged?

This PR? No. It's awaiting final review but should be ready to merge.

when will u give a version update?

@adam-harwood is their any set date for this merge and package update? Actually we have an app launch in coming days

@adam-harwood is their any set date for this merge and package update? Actually we have an app launch in coming days

I don't know mate, I'm not on the Flutter team (I'm just an open source contributor) so I have no idea on what their merge and release schedule is. To be honest, this PR has been open since August 18 so I don't like your changes of having it merged and released in the next few days. I'd suggest coming up with a Plan B if I was you.

@stuartmorgan  @jmagman   why is the merging blocked??

@tarrinneal @gaaclarke @cyanglaz @GaryQian @jmagman @stuartmorgan Review was requested, please approve the changes!

@adam-harwood cant we do anything about this blockage??

I can't sorry, like I said I don't work on the Flutter team and have no power here. I've been trying to get it merged for 4 months. I suggest you like for a plan B, possibly forking and distributing the code yourself.

@faisalmushtaq007 Please don't spam people with pings.

@stuartmorgan this is ready for re-review.

We'll need to revert this; the new Android integration test is failing. See https://github.com/flutter/plugins/pull/6796 for details. I should have pushed a trivial change to this PR to trigger the Android tests, but forgot.
@adam-harwood Are you able to reproduce that failure locally to debug it for an updated version of the PR?

@adam-harwood Are you able to reproduce that failure locally to debug it for an updated version of the PR?

I ran them just now on an Android phone and cannot replicate the error you posted. I did get a different error though:
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following assertion was thrown running a test:
Guarded function conflict.
You must use "await" with all Future-returning test APIs.
The guarded method "pump" from class LiveTestWidgetsFlutterBinding was called from
package:flutter_test/src/binding.dart on line 841.
Then, the "expectLater" function was called from
file:///home/adam/dev/flutter_plugins/packages/camera/camera_android/example/integration_test/camera_test.dart
on line 275.
The first method (LiveTestWidgetsFlutterBinding.pump) had not yet finished executing at the time
that the second function (expectLater) was called. Since both are guarded, and the second was not a
nested call inside the first, the first must complete its execution before the second can be called.
Typically, this is achieved by putting an "await" statement in front of the call to the first.

When the first method (LiveTestWidgetsFlutterBinding.pump) was called, this was the stack:
#0      TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:69:54)
#1      LiveTestWidgetsFlutterBinding.pump (package:flutter_test/src/binding.dart:1653:27)
#2      TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:841:13)
<asynchronous suspension>

When the exception was thrown, this was the stack:
#0      TestAsyncUtils.guardSync (package:flutter_test/src/test_async_utils.dart:267:5)
#1      expectLater (package:flutter_test/src/widget_tester.dart:491:18)
#2      main.<anonymous closure>.<anonymous closure> (file:///home/adam/dev/flutter_plugins/packages/camera/camera_android/example/integration_test/camera_test.dart:275:9)
(elided 24 frames from dart:async and package:stack_trace)

The test description was:
  recording with image stream
════════════════════════════════════════════════════════════════════════════════════════════════════
01:46 +2 ~2 -1: recording with image stream [E]
  Test failed. See exception logs above.
  The test description was: recording with image stream

  'package:flutter_test/src/binding.dart': Failed assertion: line 1736 pos 12: '!_expectingFrame': is not true.
  dart:core                                                                  _AssertionError._throwNew
  package:flutter_test/src/binding.dart 1736:12                              LiveTestWidgetsFlutterBinding.postTest
  ===== asynchronous gap ===========================
  package:stream_channel                                                     _GuaranteeSink.add
  tmp/flutter_tools.TJHMNR/flutter_test_listener.FNKBUV/listener.dart 53:22  main.<fn>
  tmp/flutter_tools.TJHMNR/flutter_test_listener.FNKBUV/listener.dart 52:20  main.<fn>

which I can fix, but I think it's unlikely it will solve the problem you posted. Applying the fix locally, all tests are then green. I'm testing this on an Android device, what device do the automatic runs execute on @stuartmorgan ?
For reference, I'm running the tests with:
flutter_plugins/packages/camera/camera_android/example$ flutter test integration_test/camera_test.dart

Which I assume is correct.

which I can fix, but I think it's unlikely it will solve the problem you posted. Applying the fix locally, all tests are then green.

Could you post a new PR that starts as a revert of the revert, and then has a commit that fixes the test issue you found locally (so we can easily review just the diff)? I can then push a commit to that PR to trigger the tests and we can see how it looks in CI.

I'm testing this on an Android device, what device do the automatic runs execute on @stuartmorgan ?

It looks like it's a Samsung Galaxy S9 and a Pixel 5.

For reference, I'm running the tests with:

That should run the same tests. Unfortunately there's no easy way to run them exactly the same way as the CI runs them (we hope to add simulator tests at some point to avoid this disconnect), but that's usually not an issue.

Could you post a new PR that starts as a revert of the revert, and then has a commit that fixes the test issue you found locally (so we can easily review just the diff)?

Sure @stuartmorgan : https://github.com/flutter/plugins/pull/6808


[Proposal] Add page configuration to pages

WHAT
Add a ne message PageConfiguration and add it to our current Pages ArticlePage and SectionPage
WHY
we need to transport some configuration values from the backend to be usesd in the frontend templates
some of the usecases are:

pre calculated adunits (we need a file containing hardcoded section mappings that are expected on SDI side)
taboola on/off per page (usecase: Umfeldvermarktung)
maybe some switchboard features like turning off some 3rd party integration

momentan nicht notwendig


Backstage Jira Plugin: Proxy Path in app-config.yaml is Ignored

The Backstage Jira Plugin has been configure according to the Roadie Documentation found here: https://roadie.io/backstage/plugins/jira/. However, the plugin is failing with the following error in the Backstage UI:
After looking through the modest logging, I found that the apiUrl being used is as follows: /api/proxy/jira/api/rest/api/latest/project/YYYY. When I cURL using this URL, using the following cURL command

curl -vvv -X GET -H "Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXX" https://xxx.xxx.com/jira/api/rest/api/latest/project/YYYY

I get the following:

302 Found

Found
The document has moved here.

* Connection #0 to host xxx.xxx.com left intact

However, when I use the following cURL command, I get the correct data back:

curl -vvv -X GET -H "Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXX" https://xxx.xxx.com/jira/rest/api/latest/project/YYYY

Notice that the in the second invocation of the cURL command there is no api after jira. And it delivered the correct results.
The conclusion that I drew here was that the Proxy Path should not be '/jira/api' as it is listed in the Roadie documentation, but should simply be '/jira'. When I change the Proxy Path in the Backstage app-config.yaml file to '/jira',

'/jira':
target: https://xxx.xxx.com
headers:
Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXXX==
Accept: 'application/json'
Content-Type: 'application/json'
X-Atlassian-Token: 'nocheck'
User-Agent: 'Backstage'

I find that that change to the Proxy Path is not being picked up by the Jira Plugin. Looking through the code, it should be picked up and used by the application in the following line:

https://github.com/RoadieHQ/roadie-backstage-plugins/blob/58067422cf6410948e73042903b918cbcc5148fc/plugins/frontend/backstage-plugin-jira/src/api/index.ts#L46

And the apiUrl should resolve the Proxy Path on the following line:

https://github.com/RoadieHQ/roadie-backstage-plugins/blob/58067422cf6410948e73042903b918cbcc5148fc/plugins/frontend/backstage-plugin-jira/src/api/index.ts#L58

Expected Behavior
The Jira Plugin should use the Proxy Path specified in the Backstage app-config.yaml file.
Current Behavior
The Jira Plugin is defaulting to the DEFAULT_PROXY_PATH as defined in the Jira Plugin code on the following line:

https://github.com/RoadieHQ/roadie-backstage-plugins/blob/58067422cf6410948e73042903b918cbcc5148fc/plugins/frontend/backstage-plugin-jira/src/api/index.ts#L26

Steps to Reproduce

Install Roadie Jira Plugin
Change the Proxy Path in the Backstage app-config.yaml file.
The Proxy Path is not picked up in the Jira Plugin.

Possible Solution

Context
The plugin fails to work issuing either a 302 error as noted above. We are demo-ing this plugin to upper management on Friday, and advice on a fix would be much appreciated.
And: When I click on the Go to project --> in the Jira card, I am taken to the following address:

http://localhost:3000/catalog/default/component/undefined/browse/YYYY

Why is this the case?

Your Environment

@backstage/plugin-catalog-react version: ^0.6.7
@backstage/integration version: ????
@backstage/integration-react:  ^0.1.15

Thanks for opening this issue, I'll take a look at it!

@kissmikijr, Thank you for that very nice explanation.
I am having difficult with getting the plugin to work correctly. Any advice would be much appreciated. As I mentioned, I followed the instructions completely, but am still not getting any data back from Jira for the Plugin.
Here is the relevant section of my app-config.yaml:
proxy:
'/jira':
target: https://xxx.xxx.com
headers:
Authorization: Basic ${BASE64_ENCODED_EMAIL:API_TOKEN}
Accept: 'application/json'
Content-Type: 'application/json'
X-Atlassian-Token: 'nocheck'
User-Agent: 'Backstage'
The above ${BASE64_ENCODED_EMAIL:API_TOKEN} was formatted from the following string:

harjeetp@xxx.xxx.com:XXXXXXXXXXXXXXXXXXXXXXXXXXX

echo 'harjeetp@xxx.xxx.com:XXXXXXXXXXXXXXXXXXXXXXXXXXX' | base64

The Jira API token was defined using the Jira site: Profile --> Personal Access Token --> Create Token
As an aside: I too am puzzled why the following cURL command works:

curl -vvv -X GET -H "Authorization: Bearer XXXXXXXXXXXXX" https://xxx.xxx.com/jira/rest/api/latest/project/XXXX | jq .

When I try any of the variation on the URL, I get either 302 response.

curl -vvv -X GET -H "Authorization: Bearer XXXXXXXXXXXXX" https://xxx.xxx.com /jira/api/rest/api/latest/project/XXXX | jq .

Or a 404 response:

curl -vvv -X GET -H "Authorization: Bearer XXXXXXXXXXXXX" https://xxx.xxx.com /rest/api/latest/project/XXXX | jq .

I created a PR to be able to modify the proxy path but until it is merged and released (and you update to use the latest version) the plugin will expect the proxy to be /jira/api.
While I was trying to reproduce your setup I realized that the bash command base64 and the node/browser JS produces a different output as base64 and for me the JIRA API returned unauthorized when I was trying to use my base64 token that I created with the bash command base64.
So one thing is could you try to create the base64 string via node or the browser console?

// node
new Buffer('jira-mail@example.com:hTBgqVcrcxRYpT5TCzTA9C0F').toString(
  'base64',
);
// in your browser console
btoa('jira-mail@example.com:hTBgqVcrcxRYpT5TCzTA9C0F');

I think if for some reason your jira instance expects it to have the context in it. Could you try to configure the proxy the following way:
proxy:
  '/jira/api':
    # Not here the addition of the /jira at the end of your URL
    target: https://xxx.xxx.com/jira
    headers:
      # Try to hardcode the token on your local setup to eliminate the possibility that something is not working with the env var substitution
      Authorization: Basic XXXXXXXXXXXXXXXXXXXX
      Accept: 'application/json'
      Content-Type: 'application/json'
      X-Atlassian-Token: 'nocheck'
      User-Agent: 'Backstage'

I have the same issue as described in the beginning.
When doing this i get the expected return.
curl -vvv -X GET -H "Authorization: Bearer xxxxxxxxxxxxxxxxxxxxx" https://jira.xxxxxx.com/rest/api/latest/project/DUM
However this gives me a 404.
curl -vvv -X GET -H "Authorization: Bearer xxxxxxxxxxxxxxxxxxxxx" localhost:7007/api/proxy/jira/api/rest/api/latest/project/DUM
Somewhere in the proxy it goes wrong, but I have no clue where.

@Makkuusen I think in the 2. case you should be just fine to curl the proxy endpoint without the Authorization header, because your proxy should have that value and the proxy will attach this header to the request when it calls the jira API.

I am facing the same issue too as @Makkuusen mentioned, somewhere with the proxy path the api call is unsuccessful from the backstage:
Using JIRA api token auth in Curl which returned the expected data-
curl -D- \
   -u myaccount@xdomain.com:XXXXXXXXXXXXXXXXXX \
   -X GET \
   -H "Content-Type: application/json" \
   https://dummy.atlassian.net/rest/api/3/project/DUM

However with the proxy path as in the following curl - it returned 404
curl -D- \
   -u myaccount@xdomain.com:XXXXXXXXXXXXXXXXXX \
   -X GET \
   -H "Content-Type: application/json" \
   localhost:7007/api/proxy/jira/api/rest/api/latest/project/DUM

I ran into the same issue but it turns out I was generating the base64 token wrongly.
Instead of
# -n  do not output the trailing newline
echo -n "user@example.com:api-token" | base64

I used
echo "user@example.com:api-token" | base64

which results in a differently encoded authorization header.
I figured this out by comparing the headers produced via curl -v -u and curl -v -H.
So please double check your token is correctly encoded.
Also FYI, there are more granular configuration options available:
    allowedMethods: ['GET']
    allowedHeaders:
      - 'Authorization'

https://backstage.io/docs/plugins/proxying#configuration

I created a PR to be able to modify the proxy path but until it is merged and released (and you update to use the latest version) the plugin will expect the proxy to be /jira/api. While I was trying to reproduce your setup I realized that the bash command base64 and the node/browser JS produces a different output as base64 and for me the JIRA API returned unauthorized when I was trying to use my base64 token that I created with the bash command base64.
So one thing is could you try to create the base64 string via node or the browser console?
// node
new Buffer('jira-mail@example.com:hTBgqVcrcxRYpT5TCzTA9C0F').toString(
  'base64',
);
// in your browser console
btoa('jira-mail@example.com:hTBgqVcrcxRYpT5TCzTA9C0F');

I think if for some reason your jira instance expects it to have the context in it. Could you try to configure the proxy the following way:
proxy:
  '/jira/api':
    # Not here the addition of the /jira at the end of your URL
    target: https://xxx.xxx.com/jira
    headers:
      # Try to hardcode the token on your local setup to eliminate the possibility that something is not working with the env var substitution
      Authorization: Basic XXXXXXXXXXXXXXXXXXXX
      Accept: 'application/json'
      Content-Type: 'application/json'
      X-Atlassian-Token: 'nocheck'
      User-Agent: 'Backstage'

Same issue. Thanks this have helper as well when getting 404

Hi I am trying to integrate the JIRA plugin and getting the same issue related to the URL . Getting the "failed to fetch data, status 404: Not Found" error. Is the issue resolved or is there anything that could help. TIA

Hi I am trying to integrate the JIRA plugin and getting the same issue related to the URL . Getting the "failed to fetch data, status 404: Not Found" error. Is the issue resolved or is there anything that could help. TIA

I fixed mine by specifying the Kira version (3)

Hi @miguelpuiggarcia, You mean specifying JIRA version (3) in the proxy config mentioned below ??
jira: # Defaults to /jira/api and can be omitted if proxy is configured for that url proxyPath: /jira/api # Add it in case your JIRA instance is connected to Confluence, in order to filter those activities # confluenceActivityFilter: wiki@uuid # Defaults to latest and can be omitted if you want to use the latest version of the api apiVersion: latest

I meant specify it like this:
`jira:
Defaults to /jira/api and can be omitted if proxy is configured for that url
proxyPath: /jira/api
Add it in case your JIRA instance is connected to Confluence, in order to filter those activities
confluenceActivityFilter: wiki@uuid
Defaults to latest and can be omitted if you want to use the latest version of the api
apiVersion: 3`

Hi @miguelpuiggarcia, thank you for the details. I did try out changing the 'apiversion'. But I am still unable to get it connected. It still hasn't connected to my proxypath yet.
Have you changed the CSP part ??  Does it look the same for you too, any other changes that you have made that is varying from the plugin docs, like may be in the Catalog-info file or so??
`img-src:
# "'self'" and 'data' are from the backstage default but must be set since img-src is overriden
- "'self'"
- 'data:'
  # Allow your Jira instance for @roadiehq/backstage-plugin-jira
  - '${JIRA_URL}' `


Windows LIBUSB_TRANSFER_STALL when connecting

Running the examples\pizza\peripheral.js demo on Windows 7 I am able to start advertising and see the advertised BLE service in a mobile app.
However, if I try to connect to the service I get the following error:
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: LIBUSB_TRANSFER_STALL
    at Error (native)

I captured a log here: log-pizza.txt
I initially filed an issue here (which contains additional environment information): https://github.com/don/node-eddystone-beacon/issues/38
But it looks like it was also reproducible using the pizza/peripheral example in bleno.

@rajsite could you please trying downgrading hci-bluetooth-socket to v0.4.2, as v0.4.3 might have introduced an issue as per https://github.com/sandeepmistry/noble/issues/372#issuecomment-205303268.

I synced bleno/master, modified package.json to the following:
    "bluetooth-hci-socket": "0.4.2",

And the examples\pizza\peripheral.js example appears to work on my Windows 7 configuration!
The service advertises, I can connect / disconnect multiple times, and it looks like I can read GATT Characteristics.
I attached a log of the working behavior here: log-pizza-working.txt

@rajsite thanks for trying, I've published v0.4.4 of bluetooth-hci-socket with a fix (https://github.com/sandeepmistry/node-bluetooth-hci-socket/commit/25999ec523325e43d5d900a7ae8866607f56fd9b). A fresh install should be fine now, please let me if there are any issues.


add supports for candidate attr: network-id / network-cost

current webrtc sdp will contain network-id and network-cost in the sdp.
NOTE:
these params still in draft.
this PR only supports:

only network-id param
only network-cost param
both params with network-id first

doesn't support:

both params with network-cost first

REASON:
the draft example shows that network-cost can be put before network-id
but the actual sdp generate by webrtc is always netword-id first.
also, network-id is mandatory, but network-cost can be ignored if it is 0
Draft: https://tools.ietf.org/html/draft-thatcher-ice-network-cost-01

Choosing a value for network cost and network ID
Network cost is an integer in the range 0-999, where larger values
indicate a stronger preference for not using that network interface.

  Each network interface SHOULD have a unique network ID, in the range
  of 0 to (2^16)-1.

Signaling network cost and network ID

  ICE agents MUST signal network cost on each ICE candidate if the cost
  is non-zero.  ICE agents MUST signal network ID on each ICE
  candidate.

  For example, in an SDP candidate line, the attributes could be
  signaled as "network-cost 100 network-id 1".

I've added test cases, not familiar with it though, correct me if I'm wrong.
let me know if you need me to rebase as well

Looks good, but think you have a merge conflict with your other branch. A rebase and it's good to go :)

done!
thanks for this great library!

Awesome. Will publish a minor on npm later today.

Landed in<EMAIL_ADDRESS>


Einstein for Developers not available in sandbox

Einstein for developers was enabled in production org on 12/10/23.  New Developer Sandboxes were created on 16/10 and 17/10.
These sandboxes have the option in settings for Enable Einstein for Developers (and it is enabled) however when selecting the sandbox in VSCode and/or Salesforce Code Builder Einstien for Developers is not available and/or message "you do not have permissions" is displayed.
A Developer Pro sandbox created later (14/11) does work correctly and Einstein for Developers is usable in this sandbox.
A further Developer Sandbox created on the 16/11 also works and allows Einstein for Developers.

Hi @MarkGoodspeed - Thank you for this feedback. Are you now able to use the Einstein for Developers extension?

Hi Joni
It is still the case that Einstein for Developers is working in some orgs, but not in others, as described
MRG
From: Joni Fazo @.>
Sent: Monday, December 4, 2023 11:01 PM
To: forcedotcom/Einstein-GPT-for-Developers @.>
Cc: Mark Goodspeed @.>; Mention @.>
Subject: Re: [forcedotcom/Einstein-GPT-for-Developers] Einstein for Developers not available in sandbox (Issue #32)
Hi @MarkGoodspeedhttps://github.com/MarkGoodspeed - Thank you for this feedback. Are you now able to use the Einstein for Developers extension?

Reply to this email directly, view it on GitHubhttps://github.com/forcedotcom/Einstein-GPT-for-Developers/issues/32#issuecomment-1839679395, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APFSSUJO4OZ4CZQB27BMBDLYHZI2RAVCNFSM6AAAAAA7PVO2KOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZZGY3TSMZZGU.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Any update on this issue.
I couldn't be able to use this feature as I got the below message when clicking the Einstein logo on the VS Code
"no einstein for developers permission in default org"

Hi @hariss63 - We are actively looking into the issue and will let you know when we have a resolution. In the meantime, thank you for your patience!

Howdy!
Sorry for the delay.  We've been chasing this issue and think we understand it.  We have planned work to address most likely closely following Dreamforce (so late Sept timeframe).  In the meantime there isn't a good workaround as we're limited in what we can do with sandboxes older then when we changed how E4D uses org permissions.  It basically boils down to there's no longer a UI to work with the Permission and if it was already off when the sandbox was created it can't be turned on.


chore(main): release 1.2.0

:robot: I have created a release beep boop
1.2.0 (2023-04-22)
Features

allow values assign for metadata (dcdf233)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/JoshAlexis/utils-abstractions/releases/tag/v1.2.0 :sunflower:


Cannot read property 'append' of undefined with init:false since 6.4.9 release

Swiper Version: 6.4.9 - 6.4.11
Platform/Target and Browser Versions: macOS, Chrome 88

What You Did
Create a simple slider with init:false property. Then programmatically add a new slide
Until 6.4.8 release it worked fine. Since 6.4.9 and later get error.
see https://github.com/textarea/swiper-test
Expected Behavior
Slider start
Actual Behavior
Slider stops with error "Cannot read property 'append' of undefined"

You can't not use Swiper API until it is initialized, .appendSlide requires some DOM manipulation which is not possible before init. If you need to add slide before swiper init, just use native DOM API


Generated manifest should be stable

The output of istioctl manifest generate is not "stable".
To reproduce, run diff <(istioctl manifest generate) <(istioctl manifest generate) a few times.  Sometimes there will be a difference.  The difference isn't functional.  It is the order of the CRDs.  (They could be sorted to eliminate the instability.)
This isn't a bug and it isn't necessary.  It would be helpful to fix.
Motivation: I ran into it testing various options like this: diff <(istioctl manifest generate) <(istioctl manifest generate --set values.global.imagePullPolicy=Always).  Having stable output makes it much easier to understand how differences in input affect output.

Interesting, I thought we did some efforts to make it stable. Maybe that was only done for tests? this is definitely useful if people are checking this into ci

@howardjohn The only thing moving is the IstioOperator CRD, which was added after the other CRDs.  I suspect it missed those efforts.

Interesting, I wrote a script to run it 50 times and I didnt get any diff? weird. this is on istioctl 1.5.4.

@adiprerepa @howardjohn @ostromart I can confirm 1.5.4 does not have the problem.  1.6.x does.
I'm seeing something I can't explain.  Tested with 1.6.0 and 1.6.1.

We do want the output to be stable (for folks that want to text diff output manifests) so this is a regression. There is a test to catch this and I wonder if it's just getting ignored as a flake.


'🦟[Bug Report]'

Describe the bug

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.
Screenshots or GIFs
If applicable, add screenshots or GIFs to help explain your problem.
Mobile device (please complete the following information):

Device: [e.g. Pixel 4]
OS: [e.g. Android 25]
Litewallet Version [e.g. v1.19.3]

Additional context
Add any other context about the problem here.
Attachments: image.png image.png(created from Zendesk ticket #3120) gz#3120

Agent comment from Jim Flanagan in Zendesk ticket #3120:Hi Gary,
Let me forward this to the Devs
I will keep an eye out for it and keep your ticket open until we resolve this issue.
Jim Flanagan
Litewallet Support
°°°

Agent comment from Garyporter302 in Zendesk ticket #3120:Hi Jim,
Apparently the full rescan is now complete and I can send crypto again.
You can close case #3120.
If you have information regarding full rescan's and why they are used I would appreciate that information.
Thanks,
Gary Porter
<EMAIL_ADDRESS>(925) 899-3085
This email message and the information contained in this
message/attachment(s) is for the sole use of the intended recipient and may
contain confidential information. Any unauthorized review, use, disclosure
or distribution is prohibited.
°°°

Agent comment from Jim Flanagan in Zendesk ticket #3120:Awesome Gary.
°°°


recreate shiftcalendar not possible

Hello,
i just deleted choosen shiftcalendar and recreate it by the same name.
After that calendar sync from shifts to calendar is not possible anymore (without any errors).
Is there a way to reset all (or this) settings for shift app ?
Thank you !

Hi,
the sync feature is a hacky mess and really error-prone. The most common error is that the id of the calendar is not exactly the same as in the config section.
You can try to clean the corresponding tables in your database. There should be one for calendar-changes.

okayy thank you for fast responce !


Doesn't download videos anymore

It doesn't download videos anymore.  Says something about url can't be downloaded with excuses about private link or something, but it has always worked before and now doesn't work for any videos on youtube, rumble, etc...

Hi @SpiritualCharlesDarwin could you send me video url so that i can check the issue. Thanks!

I just tried this one and it doesn't work:
https://www.youtube.com/watch?v=fWheqQLWrXY&t=424s
--Dennis
On Wed, Jun 19, 2024 at 4:30 AM Rishabh Bhardwaj @.***>
wrote:

Hi @SpiritualCharlesDarwin https://github.com/SpiritualCharlesDarwin
could you send me video url so that i can check the issue. Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/rishabh3354/VIZTUBE/issues/4#issuecomment-2178333796,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUERFISKBUPHTUZ63AKS2ITZIFMS3AVCNFSM6AAAAABJQ4KUKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZYGMZTGNZZGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

For me it is working fine and i just downloaded with viztube
This might be country restricted video from youtube. Which country are you from? i checked with India

My VPN is set to Las Vegas, and that seems to be the problem.  I turn it
off and then it downloads, as I am in Canada and it is not restricted
here.  When I put the VPN back on, it will stop the download right in the
middle of operation.  Turn it off, and I can download again.  But, this
video is NOT restricted in the USA, as far as I know.  Were you able to
download from USA?
--Dennis
On Wed, Jun 19, 2024 at 5:40 AM Rishabh Bhardwaj @.***>
wrote:

Screenshot.from.2024-06-19.17-08-26.png (view on web)
https://github.com/rishabh3354/VIZTUBE/assets/26843758/a1510998-1fc4-4f88-88f8-fc2f86d8ffe1
For me it is working fine and i just downloaded with viztube
This might be country restricted video from youtube. Which country are you
from? i checked with India
—
Reply to this email directly, view it on GitHub
https://github.com/rishabh3354/VIZTUBE/issues/4#issuecomment-2178484276,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUERFIU3NHYOB5EHNRJSTVLZIFU4LAVCNFSM6AAAAABJQ4KUKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZYGQ4DIMRXGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Looks like vpn issue, here i don't have any issues. I connected to the USA , worked fine

Ok I'll update VPN or re-install, or perhaps contact them. Helps to narrow
it down. Thanks for the info.
On Wednesday, June 19, 2024, Rishabh Bhardwaj @.***>
wrote:

Looks like vpn issue, here i don't have any issues. I connected to the USA
, worked fine
—
Reply to this email directly, view it on GitHub
https://github.com/rishabh3354/VIZTUBE/issues/4#issuecomment-2179790733,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUERFIRB63LVFU6ACKZUISDZIJMIVAVCNFSM6AAAAABJQ4KUKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZZG44TANZTGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks for reporting. it is now fixed in new version of the app. i am closing this issue for now.


 Take what you will :smile:

@twe4ked hey! somehow I was never notified about this, and just saw it. :cry: if you could rebase this into one commit, I would love to merge it!

The commits aren't very related though. I don't feel it belongs in a single commit. I'm not using the API anymore. Feel free to squash/merge if you want to. Happy to just close this though.

@twe4ked Good point. I went ahead and merged it. Thanks! :smile:

No worries, cheers :)