text:
Challenges faced after installing the package - @datadog/mobile-react-native

Hi,
I have taken a fresh clone of my working repo and installed the package using -
npm install @datadog/mobile-react-native
OS - MacOS Big Sur (11.6.5 )
React Native vserion - 0.64.2
iOS - 11
Android - buildToolsVersion = "29.0.3"
minSdkVersion = 21
compileSdkVersion = 31
targetSdkVersion = 30
ndkVersion = "20.1.5948944"
kotlinVersion = "1.3.72"
Datadog Configuration is not initialised yet.
Expected behavior - After installation, app should run normally
Actual behavior - After installation, when I am running the app, I am getting errors on both the platforms
iOS - On Network tab in XCode:
dyld`__abort_with_payload:
0x11217de00 <+0>: movl $0x2000209, %eax ; imm = 0x2000209
0x11217de05 <+5>: movq %rcx, %r10
0x11217de08 <+8>: syscall
-> 0x11217de0a <+10>: jae 0x11217de14 ; <+20>
0x11217de0c <+12>: movq %rax, %rdi
0x11217de0f <+15>: jmp 0x11217c010 ; cerror_nocancel
0x11217de14 <+20>: retq
0x11217de15 <+21>: nop
0x11217de16 <+22>: nop
0x11217de17 <+23>: nop
Android -
:datadog_mobile-react-native:compileDebugKotlin
Task :datadog_mobile-react-native:compileDebugKotlin FAILED
e: Incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors
e: /Users/charu/.gradle/caches/transforms-2/files-2.1/777d641bce5bcf7814de2fbd24ecdf72/jetified-kotlin-stdlib-common-1.5.31.jar!/META-INF/kotlin-stdlib-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
e: /Users/charu/.gradle/caches/transforms-2/files-2.1/8ff75b43d44e2ff8f5256dbd41d561a0/jetified-kotlin-stdlib-1.5.31.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
e: /Users/charu/.gradle/caches/transforms-2/files-2.1/caea75bd52edfc1987579922c371635e/jetified-dd-bridge-android-0.5.3-api.jar!/META-INF/dd-bridge-android_release.kotlin_module: Module was compiled with an incompatible version of Kotlin.
Please suggest here.
Thanks.

Hello @NigamCharu! On Android starting from version 1.0.0-rc5 of our SDK it is necessary to use Kotlin 1.5+ and also comply with compileSdkVersion = 31 requirement (which is described here). You can check the example of the app setup in our sample app.
Regarding iOS: it is not clear from the error if it is related to our SDK or not. Can you please try to do the clean build? Any other information regarding this issue will be helpful.

Hi @0xnm
Thanks for the quick reply!
Can you please share the sample link of version 1.0.0-rc4 as well? I am planning to go for lower version.

@NigamCharu You can check our repo at the 1.0.0-rc4 tag revision.

Thanks @0xnm
Both my builds are working fine now with version 1.0.0-rc4

Hi @0xnm
We are facing an issue in CI/ CD pipeline for ios build.
Issue - fatal error: module map file '/Users/runner/Library/Developer/Xcode/DerivedData/neighbourly-cuxbeddkxwloitbesuaxjrmkwfrc/Build/Products/Release-iphonesimulator/DatadogSDK/Datadog.modulemap' not found
Our configurations on CI/ CD pipeline:
MacOS- 11
XCode - 13.2
The local build is running fine.
Can you please help here?
Thanks.

Hi @NigamCharu
This looks like an issue in your CI configuration for iOS, please check the following:

Make sure that the iOS version in your Podfile match the iOS version of your Xcode project.
run pod install prior to running the build
run the build on your .xcworkspace (not the .xcodeproj)

Hope this helps!

Hello @NigamCharu! I hope your issue is resolved now, so I am closing this ticket. Don't hesitate to re-open it if you still experience build issues.

authors: 0xnm NigamCharu maxep

repo: DataDog/dd-sdk-reactnative


text:
new option

What does this PR do?
Describes a new config set up option for automatically collecting user data.
Motivation
DOCS-4882, which is a part of DOCS-4827.
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)
[ ] If this PR is auto-generated, please make sure also to manually update the code related to the change

@louiszawadzki Just added. Let me know if it should be moved somewhere else!

Sorry, there was no need to add it in the code, just a screenshot in the comment would have been enough :)
If the image is not sourced from here, you can remove it and merge :)

source: gharchive/pull-request

authors: louiszawadzki rtrieu

license_type: permissive

license_source: github-api


text:
review of dmehala/remote-config-impl (#74)

Each commit in this pull request is effectively a review comment for https://github.com/DataDog/dd-trace-cpp/pull/74.
This pull request is a work in progress.
So far, my suggestions are all stylistic.
Please note specifically any TODO(@dgoffredo) comments that I've added.

Squash and cherry-picked 52375e0c48269eb755f4dec5e90a94bc71fe0f9a in #74

authors: dgoffredo dmehala

repo: DataDog/dd-trace-cpp


text:
🛑 Gitlab is down

In 5a700ad, Gitlab (https://gitlab.data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Gitlab is back up in 887c593 after 12 minutes.

source: gharchive/issue

repo: DataEnsta/upptime

license: MIT


text:
🛑 Gitlab is down

In 3016217, Gitlab (https://gitlab.data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Gitlab is back up in 62f6778 after 17 minutes.


text:
🛑 Staytuned is down

In 86d9251, Staytuned (https://staytuned.data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Staytuned is back up in 2db00f1 after 9 minutes.


text:
🛑 Gitlab is down

In e3b1f38, Gitlab (https://gitlab.data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Gitlab is back up in 078f67b after 10 minutes.


text:
Safeguard pid argument for Illegal Characters

Implement the equivalent of the HashStore-java Issue

When checking a given pid in Public API methods storeObject, storeMetadata and tagObject, we should also ensure that we do not accept a new line character/whitespace (\n).

This has been completed via Feature-121: Safeguard Pid Value

repo: DataONEorg/hashstore


text:
Een nieuwe tech report aangemaakt voor uitleg

Beste verantwoordelijke,
Ik heb een nieuwe pull request aangevraagd voor de uitleg van een tech report.
Groeten,
Diego

Dit was een check was sluit ik de pull request


text:
Feature request: Get unique values in column

It would be great if I could click a column header and get all unique values in this column.
Often, you are interested in knowing what values the table holds which is quite confusing in a large table.

You can use the API to get the column's data and then its unique values: table.column( 0 ).data().unique() for example. That can be put into a click handler if you need depending upon your application.

repo: DataTables/DataTables


text:
Add documentation for RSpec with Capybara

I think there are probably a large percentage of users that need DatabaseCleaner for Capybara specs.  I thought it would be nice to help them get going quickly with a little documentation.
Note: I could have used an around(:each) block as in the ordinary RSpec
example but there's currently an open issue that might affect many users:
https://github.com/DatabaseCleaner/database_cleaner/issues/273

@tgaff Thank you!

authors: etagwerker tgaff

license: mit

license_source: bigquery


text:
Initial PMIC interfacing, changes in logging function[added log type]…

…, SSID validation, added ip in network info

Seem that on the MKR1500 issue was that the address of charging IC was swapped in comparison to MKRWIFI1010, should be fixed now, can you check if this is also true for MKR Vidor?
Serial.println() in utils is not a mistake as output debug can be used only in the LiveObjects class.

No more change requests, requested ones already done, merging to master.


text:
Have configured cmp-npm but it is not showing suggestions in cmp window

I have added configurations but I don't get suggestions in package.json files

(the virtual text is from copilot)

Hi @snikoletopoulos ,
Do you have npm installed? Internally it uses the command npm info <name> versions --json and npm search --no-description --parseable to query the sources.
Could you run those commands manually to see if they work?
Thanks and best regards,
David

Hello @David-Kunz ,
Thank you for you fast response.
i tried both commands with next as name and both worked.

Let me know if you want me to try something else.

Thanks for checking, @snikoletopoulos !
Maybe you could add a few print statements in your installed package (the location is set by your package manager), just to check that the right commands are executed, e.g. here.
Could you try that out? Then we'd know more!

I didn't change anything else but when I put a print it started working.
However i noticed that when i type next in package.json, it initially does not find the package.

If i close cmp and reopen it it find it fine tho.

Do you think that's a bud? Should I open a new issue?
Thank you for you help

Hi @snikoletopoulos ,
Thanks for the update! I'm afraid there's not much I can do, I just forward it to the npm command, maybe there's some problem there.
Best regards,
David

I had the same problem and resolved it by not lazy loading cmp-nvm. Not sure why this worked so maybe it is not the right fix for lazy.nvim users but it worked for me:
  {
    "David-Kunz/cmp-npm",
    lazy = false,
    config = function()
      require('cmp-npm').setup({
        ignore = {},
        only_semantic_versions = true,
      })
    end,
  }

Hi @doctorfree ,
Thanks so much for this hint! I'll put it in the README.md.
Best regards,
David

For me just having it loading at .json files works as well.
{
  'David-Kunz/cmp-npm',
  ft = "json",
  dependencies = { 'nvim-lua/plenary.nvim' },
  opts = {},
}

Thanks @snikoletopoulos , is the ft = "json" option required? Would it also work without it?

If lazy.nvim is configured to lazy load by default then it appears the cmp-npm plugin configuration must trigger the loading one way or another. Using ft = "json" works and, in my opinion, is preferable to lazy = false. But either works. My cmp-npm config now looks like this:
  {
    "David-Kunz/cmp-npm",
    ft = "json",
    dependencies = { 'nvim-lua/plenary.nvim' },
    config = function()
      require('cmp-npm').setup({
        ignore = {},
        only_semantic_versions = true,
      })
    end,
  }

Awesome, thanks @doctorfree , I'll put it in the readme!

authors: David-Kunz doctorfree snikoletopoulos

repo: David-Kunz/cmp-npm

license: Unlicense


text:
fix: typo delete message

Fix a typo: dekete -> delete

Thanks for the MR. Running test and merging

authors: DavidBM aspnxdd

repo: DavidBM/rsmq-async-rs


text:
TypeError: $(...).on is not a function

hi ~
i clone repository today , and i use the sample , i got a error message of "TypeError: $(...).on is not a function"
the bug since like update jquery lib will fix it , in repository jquery lib version is 1.6.2
Mars...^_^

Hi,
any progress with this issue?
Tal

authors: marshsu talbenbasat

repo: DavidDurman/FlexiJsonEditor


text:
Ideation and Design Peer Grading

Implementations:
Ideas (Binary features)? (0.3)
Planning? (0.3)
Presentation Skills/Organization? (0.3)
Rough Draft Code? (0.1)
Out of 1 point!

1/1
Very creative idea

I would start the ticket ticket with link: https://davidl0914.github.io/TheIdealGam/2023/11/15/binary_overview_IPYNB_2_.html
I really like that you blogged your ideas.   It is a little technical to understand.  The demo was hard for me to now if I got anything write, start 1 binary number 201.   Does that mean I am supposed to do 200 in binary?

Scoring above is not acceptable as there is now reference to specifics.


text:
🛑 Dealsafe is down

In 26470d5, Dealsafe (https://www.dealsafe.in/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Dealsafe is back up in bba06b0 after 22 minutes.

repo: Dealsafe/ds-uptime


text:
Add notifications via GCM

Add the ability to push any notification via GCM and not just alert/invasion payloads.

This was already possible via the notification payload.

repo: Deathmax/WarDroid


text:
lowercase i has priority

attempt 1:
"i forgot to a word here" + "write*" = "write forgot to a word here"
attempt 2:
"I forgot to a word here" + "write*" = "I forgot write a word here"
(note it replaced "to" with "write")

Good find! It seems like there's an issue with how the levenshtein algorithm is implemented, and it adds a cost to replacing letters in different cases.
In the meantime, we can make Star.js return false on errors like these, since this is a bit too complex of a correction right now as there is no anchor point to put the word in. I've added it to the 2.0 milestone because I think this would be an excellent example for Star.js in the 2.x series, as we get the code cleaned up so that we can start adding these smarter cases.

Glad I could help! Nice job with this so far

authors: Decagon noamhacker


text:
Not respond J-Link debug

There are some recent changes made to mynewt_dw1000_core that are not reflected in all the mynewt_dw1000_apps. I believe this issue is related to the 8MHz SPI changes. Can you delete the lines following lines from twr_node_range:main.c:289-290 and twr_tag_range:main.c:179-180.
dw1000_softreset(inst);
dw1000_phy_init(inst, NULL);

Not respond..

This response is correct. Can you confirm that the twr_node/tag example is working for you?

Can you confirm that you are using:
newt version
Apache Newt version: 1.4.1

Apache Newt version: 1.4.1

Hi Arno,
Everything looks fine. What I can conclude is that the tools are communicating with the target correctly. It appears that the node is waiting for a range_request from the tag and vice-versa. Can you confirm that one DeviceID = 0x1234 and the other DeviceID = 0x4321 for the twr_node/tag example.
Can you send me the output of:
cd ./mynewt-dw1000-apps/repos/apache-mynewt-core
git log

I confirm DeviceID
node

tag
git log
git log

Arno,
Can you confirm are at the head of both repos:
`
cd ./mynewt-dw1000-apps
git log -1
commit 047ba114ae0f59907bec3aaa2a5da9f1dad5a0e0
cd ./mynewt-dw1000-apps/repos/mynewt-dw1000-core
git log -1
commit fbe15af4416ec373966959bca08a2b6189ecd051
`
When you run:
newt run twr_node 0
Do you see the following on the RTT console?
nc localhost 19021 SEGGER J-Link V6.30f - Real time terminal output J-Link OB-STM32F072-128KB-CortexM compiled May  4 2017 14:43:23 V1.0, SN=760026028 Process: JLinkGDBServerCLExe {"utime": 2557797,"timer_ev_cb":"rx_timeout_error"} {"utime": 2573421,"timer_ev_cb":"rx_timeout_error"} {"utime": 2589045,"timer_ev_cb":"rx_timeout_error"} {"utime": 2604669,"timer_ev_cb":"rx_timeout_error"} {"utime": 2620294,"timer_ev_cb":"rx_timeout_error"}
With the twr_node running on one board run the tag example:
newt run twr_tag 0
You should see the following on the RTT console?
`
nc localhost 19021
SEGGER J-Link V6.30f - Real time terminal output
J-Link OB-STM32F072-128KB-CortexM compiled May  4 2017 14:43:23 V1.0, SN=760007957
Process: JLinkGDBServerCLExe
{"utime": 2434656,"tof": 0,"range": 0,"res_req":"3803D8D", "rec_tra":"3803EB6", "rssi": -86}
1st={
fctrl:0x8841,
seq_num:0x4E,
PANID:0xDECA,
dst_address:0x1234,
src_address:0x4321,
code:0x0006,
reception_timestamp:0x398B9DD2,
transmission_timestamp:0x3D0BDC42,
request_timestamp:0x1A4C9E42,
response_timestamp:0x1DCCDD2A
}
2nd={
fctrl:0x8841,
seq_num:0x4F,
PANID:0xDECA,
dst_address:0x1234,
src_address:0x4321,
code:0x0008,
reception_timestamp:0x1DCCDD2A,
transmission_timestamp:0x214D1C42,
request_timestamp:0x3D0BDC42,
response_timestamp:0x408C1A4A
}
`

cd ./mynewt-dw1000-apps
git log -1
commit 047ba114ae0f59907bec3aaa2a5da9f1dad5a0e0 it same
cd ./mynewt-dw1000-apps/repos/mynewt-dw1000-core
git log -1
commit fbe15af4416ec373966959bca08a2b6189ecd051 it not same i have 8c56c4827eb776966872b49eed3dd26f826c3051

Arno,
The good news is, I was able to reproduce what you are seeing and have committed the necessary changes.
git pull on ./mynewt-dw1000-apps/repos/mynewt-dw1000-core
You should be now at commit dba90f30149a794a5a26e87e97e8f1d9647fe4fa

Hi Arno,
Do this resolved your issue?


text:
YOLO-NAS Training Halted with 'Killed' Error Message

💡 Your Question
Hello, thanks for this useful repository !
I've been trying to train YOLO-NAS on the COCO dataset, but the training process stops after running just a few epochs, with the Killed message appearing in the standard output.
According to the log file, the GPU memory usage seems to fluctuate significantly. Could there possibly be a memory leak causing this issue?
For reference, I've been using the following command to train the model:
python src/super_gradients/train_from_recipe.py --config-name=coco2017_yolo_nas_s.yaml

Versions
Collecting environment information...
PyTorch version: 1.10.2+cu111
Is debug build: False
CUDA used to build PyTorch: 11.1
ROCM used to build PyTorch: N/A

OS: Ubuntu 18.04.6 LTS (x86_64)
GCC version: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Clang version: Could not collect
CMake version: version 3.10.2
Libc version: glibc-2.26

Python version: 3.7.3 (default, Nov 15 2022, 01:26:35)  [GCC 7.5.0] (64-bit runtime)
Python platform: Linux-5.15.0-73-generic-x86_64-with-debian-buster-sid
Is CUDA available: True
CUDA runtime version: 11.1.105
CUDA_MODULE_LOADING set to:
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 4090
Nvidia driver version: 525.116.04
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.0.5
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              20
On-line CPU(s) list: 0-19
Thread(s) per core:  1
Core(s) per socket:  12
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               151
Model name:          12th Gen Intel(R) Core(TM) i7-12700K
Stepping:            2
CPU MHz:             3600.000
CPU max MHz:         5000.0000
CPU min MHz:         800.0000
BogoMIPS:            7219.20
Virtualization:      VT-x
L1d cache:           48K
L1i cache:           32K
L2 cache:            1280K
L3 cache:            25600K
NUMA node0 CPU(s):   0-19
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req umip pku ospke waitpkg gfni vaes vpclmulqdq tme rdpid movdiri movdir64b fsrm md_clear serialize pconfig arch_lbr flush_l1d arch_capabilities

Versions of relevant libraries:
[pip3] flake8==5.0.4
[pip3] flake8-commas==2.1.0
[pip3] flake8-isort==6.0.0
[pip3] flake8-polyfill==1.0.2
[pip3] flake8-quotes==3.3.2
[pip3] numpy==1.21.6
[pip3] pyproject-flake8==5.0.4.post1
[pip3] torch==1.10.2+cu111
[pip3] torchmetrics==0.8.0
[pip3] torchvision==0.11.3+cu111
[conda] Could not collect

It looks you are using quite old torch build with old CUDA. This may not be the root cause of the problem, but anyway I suggest you trying the recent torch versions.
We were able to train yolo nas in different hardware & OS and didn't notice such issues.
Try looking at the dmesg output - maybe you will find additional details why the process was Killed.
Suggestions:

Install latest SG
Install latest torch
Try running with num_workers=0 (If it works - could indicate RAM issues (how much memory you have installed?)

authors: BloodAxe khokao

repo: Deci-AI/super-gradients


text:
运行sh demo.sh出错

你好，我运行sh demo.sh报错找不到result.bvh，我看见代码里有

是什么原因呢，谢谢

你好，根据你的截图，这里报错找不到result.bvh是因为在运行eval_single_pair.py (demo.py:34行) 时出现了Segmentation fault。由于我也是第一次遇到这个问题，如果你能提供更多eval_single_pair的相关运行信息也许会更有帮助。

是否是因为配置过低导致的，我的GPU是1050ti，显存4GB

我换机器后就没问题了

repo: DeepMotionEditing/deep-motion-editing


text:
AttributeError: 'module' object has no attribute 'rnn_cell' on model.py

Hello
I'm trying to run it with weigths provided, however I didn't found our environment's setting (python version? dependencies versions?) So I'm running it on python 2.7.
I got the following error:
(captioning) rola93@rola93-Latitude-E5520:~/no_version/image_captioning$ python main.py --phase=test     --model_file='./models/289999/289999.npy' --beam_size=3
2018-08-08 14:50:20.015861: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
2018-08-08 14:50:20.015898: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
2018-08-08 14:50:20.015922: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
Building the vocabulary...
Vocabulary built.
Number of words = 5000
Building the dataset...
Dataset built.
Building the CNN...
CNN built.
Building the RNN...
Traceback (most recent call last):
  File "main.py", line 69, in <module>
    tf.app.run()
  File "/home/rola93/.pyenv/versions/captioning_2/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run
    _sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "main.py", line 63, in main
    model = CaptionGenerator(config)
  File "/home/rola93/no_version/image_captioning/base_model.py", line 27, in __init__
    self.build()
  File "/home/rola93/no_version/image_captioning/model.py", line 10, in build
    self.build_rnn()
  File "/home/rola93/no_version/image_captioning/model.py", line 228, in build_rnn
    lstm = tf.nn.rnn_cell.LSTMCell(
AttributeError: 'module' object has no attribute 'rnn_cell'

According to this tf.nn.rnn_cell.LSTMCell was moved to contrib, so instead of lstm = tf.nn.rnn_cell.LSTMCell it should be lstm = tf.contrib.rnn.LSTMCell
I tried it, and worked (actually it breaks anyway, but i'm sure it's another problem).
Does it make sense?
thank you!

try tensorflow==1.8.0


text:
add_epic jira config exception in celery worker

When editing an engagement, and possibly in other places, the celery task fails with an exception around JIRA config being not present. At least we need to make this code work if the jira config is not there (skip adding epic), but the question arises why add_epic is called at all if there is no jira config.
Running: Engagement integration tests
launching browser for:  ProductTest
starting chromedriver with options:  {'_binary_location': '', '_arguments': ['--headless', '--no-sandbox', '--disable-gpu', '--window-size=1280,1024'], '_extensions': [], '_caps': {'version': '', 'acceptInsecureCerts': True, 'browserName': 'chrome', 'platform': 'ANY'}, '_experimental_options': {}, '_extension_files': [], '_debugger_address': None} {'version': '', 'browserName': 'chrome', 'platform': 'ANY', 'goog:loggingPrefs': {'browser': 'ALL'}}
test_create_product (Product_unit_test.ProductTest) ... ×
Product added successfully.
ok
test_add_new_engagement (__main__.EngagementTest) ... ×
Engagement added successfully.
ok
test_edit_created_new_engagement (__main__.EngagementTest) ... ×
Engagement updated successfully.
ok
test_close_new_engagement (__main__.EngagementTest) ... ×
Engagement closed successfully.
ok
test_delete_new_closed_engagement (__main__.EngagementTest) ... ×
Engagement and relationships removed.
ok
test_new_ci_cd_engagement (__main__.EngagementTest) ... ×
Engagement added successfully.
ok
test_delete_product (Product_unit_test.ProductTest) ... ×
Product and relationships removed.
ok
----------------------------------------------------------------------
Ran 7 tests in 39.575s
OK
tearDownDriver:  BaseTestCase
closing browser
Grepping celery logs for errors:
celeryworker_1_fcf4021b1fb1 | [2020-06-17 21:27:19,394: ERROR/MainProcess] Task add_epic_task[20becd79-e7ad-4904-8a43-f780e6e1777a] raised unexpected: DoesNotExist('JIRA_PKey matching query does not exist.',)
celeryworker_1_fcf4021b1fb1 | Traceback (most recent call last):
celeryworker_1_fcf4021b1fb1 |   File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 412, in trace_task
celeryworker_1_fcf4021b1fb1 |     R = retval = fun(*args, **kwargs)
celeryworker_1_fcf4021b1fb1 |   File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 704, in __protected_call__
celeryworker_1_fcf4021b1fb1 |     return self.run(*args, **kwargs)
celeryworker_1_fcf4021b1fb1 |   File "/app/dojo/tasks.py", line 280, in add_epic_task
celeryworker_1_fcf4021b1fb1 |     add_epic(eng, push_to_jira)
celeryworker_1_fcf4021b1fb1 |   File "/app/dojo/utils.py", line 1564, in add_epic
celeryworker_1_fcf4021b1fb1 |     jpkey = JIRA_PKey.objects.get(product=prod)
celeryworker_1_fcf4021b1fb1 |   File "/usr/local/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method
celeryworker_1_fcf4021b1fb1 |     return getattr(self.get_queryset(), name)(*args, **kwargs)
celeryworker_1_fcf4021b1fb1 |   File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 408, in get
--
celeryworker_1_fcf4021b1fb1 | [2020-06-17 21:27:40,500: ERROR/MainProcess] Task add_epic_task[45d93599-b5f5-41d4-b749-c8c791a853ce] raised unexpected: DoesNotExist('JIRA_PKey matching query does not exist.',)
celeryworker_1_fcf4021b1fb1 | Traceback (most recent call last):
celeryworker_1_fcf4021b1fb1 |   File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 412, in trace_task
celeryworker_1_fcf4021b1fb1 |     R = retval = fun(*args, **kwargs)
celeryworker_1_fcf4021b1fb1 |   File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 704, in __protected_call__
celeryworker_1_fcf4021b1fb1 |     return self.run(*args, **kwargs)
celeryworker_1_fcf4021b1fb1 |   File "/app/dojo/tasks.py", line 280, in add_epic_task
celeryworker_1_fcf4021b1fb1 |     add_epic(eng, push_to_jira)
celeryworker_1_fcf4021b1fb1 |   File "/app/dojo/utils.py", line 1564, in add_epic
celeryworker_1_fcf4021b1fb1 |     jpkey = JIRA_PKey.objects.get(product=prod)
celeryworker_1_fcf4021b1fb1 |   File "/usr/local/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method
celeryworker_1_fcf4021b1fb1 |     return getattr(self.get_queryset(), name)(*args, **kwargs)
celeryworker_1_fcf4021b1fb1 |   File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 408, in get

example travis job where this happens: https://travis-ci.org/github/DefectDojo/django-DefectDojo/jobs/699469080

repo: DefectDojo/django-DefectDojo


text:
Ruff: add and fix T20

all prints replaced with logger.info or logger.debug
https://docs.astral.sh/ruff/rules/#flake8-print-t20

This one will need a little more TLC. Loggers cannot take more than one argument like print can:

Thanks @Maffooch for this. I can see it only in

dojo/decorators.py
dojo/utils.py
tests/base_test_class.py
tests/notes_test.py

I just fixed them. Have you found them somewhere else as well?

There are a few that are commented out that would break if someone were to uncomment them. An example being dojo/api_v2/prefetch/schema.py
Thought it may be more appropriate to just remove. What do you think?

There are a few that are commented out that would break if someone were to uncomment them. An example being dojo/api_v2/prefetch/schema.py
Thought it may be more appropriate to just remove. What do you think?

Agree. I will remove them

authors: Maffooch kiblik


text:
Kubernetes 1.16 / helm3 improvements

Various fixes and improvments for kubernetes:

Fixed yaml identations
Convert to kubernetes 1.16 using "kubectl convert". This probably didn't change much but this is the first thing I tried when nothing was working for me :) . I have kept the changes which is basically a bit of identation and formating changes; it's more standard this way I guess because it's how kubernetes "natively" idents yaml.
add option "django.ingress.activateTLS" : before having this option, if you hadn't setup TLS, the application wasn't working (HTTP 404). Now we have a first step without TLS with a working application. (I haven't tested TLS yet)
comment out nginx ingress controller annotation: due to this annotation, the application could only work with nginx controller (example: with traefik, HTTP 404 with error "backend not found" when debug is activated). For most users, this annotation is not required because it's only required when you have several ingress controllers. A possible improvment would be to make it configurable in values.yaml
handle secrets outside of the dependent charts: I had issues with the rabbitmq chart, because when things are not working and you re-install the carts, due to (or thanks to) the statefulset, the first password generated is the correct one and after re-installing, the secret would get populated with a wrong password. By handling secrets outside of the dependent chart and by adding options to re-create or not the secrets, it's easier to handle the lifecycle of the secrets: we can keep the same secret when re-installing so that it still holds the correct value.
bump up dependencies (otherwise it wasn't working for kubernetes 1.16)
bump up chart versions
fix documentation for use with helm 3
fix hot reloading in ptvsd env (not related to kubernetes by it had to be done)

fixed postgresql configuration:

as for mysql, I have left in comments the configuration using the secret from the chart in case someone likes it better (but the key name was erroneous)
I have added an external secret so that we can keep it with the correct value when re-installing the chart (same as mysql, rabbitmq and redis)

The issues seems related to the tls config. I will create a separate PR to fix these issues.

@alles-klar have to pulled this last commit: https://github.com/DefectDojo/django-DefectDojo/pull/1752/commits/87018efdcdf7695bb5e7d68a542e45505dd16dc9 it fixes and issue with TLS
I have tested TSL too, it works for me

@ptrovatelli,
Regarding generating secrets  for configuration, I don't think it is good idea, each secrets need to be created out of helm (to enable automation and support external secret repositories like Vault). At the other hand if we keep keep, this part  for creating secrets e.g. #createPostgresqlSecret: true" is bad idea, in case of  False, it will generate new template by using Helm without this secrets, so kubernetes will drop this secret, and than in case if pod fails, it will not be able to recreate pod.
I would rather keep default values like:
postgresql-password : {{ .Values.postgresqlPassword | default "postgres" | b64enc | quote }}
and change it by --set or --values

@dsever could you clarify what you advise?
what is a bad idea? createPostgresqlSecret: true or createPostgresqlSecret: false ?
with the newly added parameters everything is possible by configuration:

do not create the secret and use a custom one (vault or anything)

createPostgresqlSecret: false
postgresql.existingSecret : any secret

create the secret automatically:

createPostgresqlSecret: true
existingSecret: defectdojo-postgresql-specific

you can also use the secret from the chart like it used to work (postgresql.existingSecret unset) but when you uninstall the chart you loose the secret and the database becomes unusable. which is why I added this outside secret.

@ptrovatelli Let me explain:
e.g.
Installations of secrets for test:
kubectl get secrets NAME                              TYPE                                  DATA   AGE default-token-k4nbt               kubernetes.io/service-account-token   3      5m31s defectdojo-mysql-specific         Opaque                                2      3m45s defectdojo-postgresql-specific    Opaque                                1      3m45s defectdojo-rabbitmq-specific      Opaque                                2      3m45s defectdojo-rabbitmq-token-h4szq   kubernetes.io/service-account-token   3      5m31s defectdojo-redis-specific         Opaque                                1      3m45s sh.helm.release.v1.test.v1        helm.sh/release.v1                    1      3m45s test-defectdojo                   Opaque                                3      3m45s test-rabbitmq-token-4mwgz         kubernetes.io/service-account-token   3      3m45s
e.g secrets:
helm install:
DD_ADMIN_PASSWORD: WnkyMnBPdm5wemJJcXdJS2d5YnBNTg==   DD_CREDENTIAL_AES_256_KEY: ODJ0d2tvZHZGYkZYb2ZlQndmQWxUVmZZQ0JmZlhNYTI=   DD_SECRET_KEY: bWlERjAxYXpnMUl1ZDl5TEp3UzB2azR3ZWJnbk9YUEo=
after  helm upgrade  (createSecret=false)
data:
DD_ADMIN_PASSWORD: M1ZOQ0FMbGo1MmxMazBpTEw1dTlwQQ==
DD_CREDENTIAL_AES_256_KEY: aVBIR0s5R08yb0FYTHczSTZ4SnBGTnlvWUtzZWc2ZnA=
DD_SECRET_KEY: Wk9vTXZyY1doNFVpUXZpcXkyZTVqdVZxWVhkZEtsZUM=
Completely new sets of secrets
Then run:
helm upgrade --set "createSecret=false" test .
will actually remove secret:
kubectl get secret test-defectdojo -o yaml Error from server (NotFound): secrets "test-defectdojo" not found
if you list secrets you fill find out, really it is not in list anymore:
`
env) dsever@PN-HR-NB33:~/Pan-Net/test-projects2020/django-DefectDojo/helm/defectdojo$ kubectl get secret
NAME                              TYPE                                  DATA   AGE
default-token-k4nbt               kubernetes.io/service-account-token   3      12m
defectdojo-mysql-specific         Opaque                                2      10m
defectdojo-postgresql-specific    Opaque                                1      10m
defectdojo-rabbitmq-specific      Opaque                                2      10m
defectdojo-rabbitmq-token-h4szq   kubernetes.io/service-account-token   3      12m
defectdojo-redis-specific         Opaque                                1      10m
sh.helm.release.v1.test.v1        helm.sh/release.v1                    1      10m
sh.helm.release.v1.test.v2        helm.sh/release.v1                    1      3m23s
sh.helm.release.v1.test.v3        helm.sh/release.v1                    1      91s
test-rabbitmq-token-4mwgz         kubernetes.io/service-account-token   3      10m
`
Actually you have in https://github.com/DefectDojo/django-DefectDojo/blob/dev/KUBERNETES.md#re-install-the-chart that for preserving secret during uninstall, that's fine it should work, but for upgrade will not.
NOTE: Even I post secret in base64 this are adhoc only to point out the problem.
So what I'm doing, I'm actually using yaml for secrets, but each secret I'm injecting from vault, during the deployment cycle. Ok I can use existingSecrets, but in that case i have to create completely new resource out of provided helm.
I hope it is now clear, I will get slack approval in few days.

@dsever OK i replicate the issue. I think @alles-klar saw the same problem.
Those new secrets have the helm.sh/resource-policy: keep annotation that tells helm to keep this resource upon uninstall but that has no effect on helm upgrade. The same problem exists for the defectdojo secret.
I'm looking for a solution.

It is the same for all secrets, this was only example

yes but the defectdojo secret is pre-existing to this PR :)

this seems to work: https://github.com/helm/helm/pull/5290#issuecomment-462512418
  annotations:
    "helm.sh/hook": "pre-install"
    "helm.sh/hook-delete-policy": "before-hook-creation"

will create a new PR asap.

it's here : https://github.com/DefectDojo/django-DefectDojo/pull/1924
NB: this also has some valuable corrections: https://github.com/DefectDojo/django-DefectDojo/pull/1881

authors: alles-klar dsever ptrovatelli


text:
tests: resolve testing integration

adjust package name to canonical github format
require opt-in to integration test and disable fmt check (that's supposed to be covered now by golangci-lint tooling, as it can be a blocked package. for now just disabled).
@andrii-zakurenyi fix for viper config solving unit tests.
add github link workflows. (will fail right now due to touching files with gofumpt). Later workflows will only run against changed content.

@andrii-zakurenyi if you get a chance and the test is failing still, mind confirming if I'm missing something in setting up the environment for the unit test? TestHandlePolicyDeleteCmd failing the check, for example. I'll catch up tomorrow. Cheers

@andrii-zakurenyi if you get a chance and the test is failing still, mind confirming if I'm missing something in setting up the environment for the unit test? TestHandlePolicyDeleteCmd failing the check, for example. I'll catch up tomorrow. Cheers

aha, Viper Global Configuration again :)
https://github.com/DelineaXPM/dsv-cli/pull/15

@andrii-zakurenyi merging to main. I'd like you to see if you get the same viper issue after that and push another fix if you can. I'm overriding for now. I did pull in your change but still showing a failure.

authors: andrii-zakurenyi sheldonhull

repo: DelineaXPM/dsv-cli


text:
[Camera] Demo crashes / hangs after clicking the start button

Hello, thank you so much for adding this great camera component.
I'm testing the camera demo on android 10, using Delphi 10.3.3. The demo compiles and install well on my android phone but crashes or hangs as soon as I click on the start button.  At the first time of install it crashes after you grant permission to use camera and on subsequent runs it crashes just after clicking the start button.
Also, it was only able to compile and installed well, because I ignored the errors:
"Error reading LocationSensor.ActivityType: Property ActivityType does not exist" and
"Error reading LocationSensor.UsageAuthorization: Property UsageAuthorization does not exist"
while opening the CD.View.Main.pas file in the IDE
Please is there anything I'm doing wrong? Thank you.

You're not doing anything wrong - it crashes for me too when compiling with 10.3.3. At the moment I can only suggest using 10.4.1. This may take some time to resolve.

Thank you very much for your rapid response. I will consider your suggestion. Thank you

For my own reference, this seems to be semi-related:
https://stackoverflow.com/questions/41388376/surfaceview-surface-had-no-valid-native-window-android-camera-api-hardwa

to contribute, so does Delphi 10.4.1
Log Delphi
Debugger Exception Notification
Project CameraDemo.apk raised exception class EReadError with message 'Stream read error'.
Break   Continue   Help
Log Android Studio
2020-11-17 16:44:54.011 25457-25489/com.embarcadero.CameraDemo I/CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_ACTIVE for client com.embarcadero.CameraDemo API Level 2 2020-11-17 16:44:59.918 25457-25457/com.embarcadero.CameraDemo D/ViewRootImpl@dfb870e[FMXNativeActivity]: ViewPostIme pointer 0 2020-11-17 16:45:00.078 25457-25457/com.embarcadero.CameraDemo D/ViewRootImpl@dfb870e[FMXNativeActivity]: ViewPostIme pointer 1 2020-11-17 16:46:56.842 25457-25540/com.embarcadero.CameraDemo I/dero.CameraDem: Waiting for a blocking GC ProfileSaver 2020-11-17 16:47:00.819 25457-25577/com.embarcadero.CameraDemo D/SurfaceView: onWindowVisibilityChanged(8) false com.embarcadero.firemonkey.form.FormView{a6d061a VFE...... ......I. 0,0-0,0} of ViewRootImpl@dfb870e[FMXNativeActivity] 2020-11-17 16:47:00.822 25457-25577/com.embarcadero.CameraDemo W/System.err: android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. 2020-11-17 16:47:00.822 25457-25577/com.embarcadero.CameraDemo W/System.err:     at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:9816) 2020-11-17 16:47:00.822 25457-25577/com.embarcadero.CameraDemo W/System.err:     at android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:1845) 2020-11-17 16:47:00.822 25457-25577/com.embarcadero.CameraDemo W/System.err:     at android.view.View.requestLayout(View.java:26338) 2020-11-17 16:47:00.823 25457-25577/com.embarcadero.CameraDemo I/chatty: uid=10230(com.embarcadero.CameraDemo) CameraPreview identical 1 line 2020-11-17 16:47:00.823 25457-25577/com.embarcadero.CameraDemo W/System.err:     at android.view.View.requestLayout(View.java:26338) 2020-11-17 16:47:00.823 25457-25577/com.embarcadero.CameraDemo W/System.err:     at android.view.ViewGroup.removeView(ViewGroup.java:6190) 2020-11-17 16:47:00.823 25457-25577/com.embarcadero.CameraDemo W/System.err:     at com.embarcadero.rtl.ProxyInterface.dispatchToNative(Native Method) 2020-11-17 16:47:00.823 25457-25577/com.embarcadero.CameraDemo W/System.err:     at com.embarcadero.rtl.ProxyInterface.invoke(ProxyInterface.java:21) 2020-11-17 16:47:00.823 25457-25577/com.embarcadero.CameraDemo W/System.err:     at java.lang.reflect.Proxy.invoke(Proxy.java:1006) 2020-11-17 16:47:00.824 25457-25577/com.embarcadero.CameraDemo W/System.err:     at $Proxy20.onImageAvailable(Unknown Source) 2020-11-17 16:47:00.824 25457-25577/com.embarcadero.CameraDemo W/System.err:     at android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:798) 2020-11-17 16:47:00.824 25457-25577/com.embarcadero.CameraDemo W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:107) 2020-11-17 16:47:00.824 25457-25577/com.embarcadero.CameraDemo W/System.err:     at android.os.Looper.loop(Looper.java:237) 2020-11-17 16:47:00.824 25457-25577/com.embarcadero.CameraDemo W/System.err:     at android.os.HandlerThread.run(HandlerThread.java:67) 2020-11-17 16:47:01.061 25457-25485/com.embarcadero.CameraDemo I/dero.CameraDem: Background concurrent copying GC freed 446(89KB) AllocSpace objects, 6(1032KB) LOS objects, 49% free, 3800KB/7601KB, paused 66us total 120.229s 2020-11-17 16:47:01.062 25457-25540/com.embarcadero.CameraDemo I/dero.CameraDem: WaitForGcToComplete blocked ProfileSaver on ProfileSaver for 4.219s 2020-11-17 16:47:01.071 25457-25577/com.embarcadero.CameraDemo D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000

@marlonnardi What you've reported is actually a new issue. Please refer to: https://github.com/DelphiWorlds/Kastri/issues/24

To clarify, the crash happens when using Delphi 10.3.3, and causes this exception:
EJINIException java.lang.IllegalArgumentException: Surface was abandoned
I am yet to find a solution for it.

Dear, I look forward to a solution to this problem. My App depends a lot on your camera. In advance I thank you for existing. I would like to participate in your project! I used the example of EXIF's for reading and ended up finding how to write EXIFs as well. It is a pity that Delphi does not care about these features. I also need a way to record videos taking the exact moment when the recording starts. I am studying alternatives for this.

Unfortunately, I was unable to resolve this issue. Now that Delphi 10.4.2 Community Edition has been released, I am closing the issue, and advise users to upgrade

Well noted and thank you so much. I'll upgrade to 10.4.2.

From: DelphiWorlds @.>
Sent: Tuesday, July 20, 2021 7:10 AM
To: DelphiWorlds/Kastri @.>
Cc: Elinulok32 @.>; Author @.>
Subject: Re: [DelphiWorlds/Kastri] [Camera] Demo crashes / hangs after clicking the start button (#20)
Unfortunately, I was unable to resolve this issue. Now that Delphi 10.4.2 Community Edition has been released, I am closing the issue, and advise users to upgrade
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/DelphiWorlds/Kastri/issues/20#issuecomment-883151679, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALMXUYMOJ7MA7JOLELGRI7DTYUOOZANCNFSM4TR7ADVQ.

authors: DelphiWorlds Elinulok32 marlonnardi tiagoomoreira

repo: DelphiWorlds/Kastri


text:
[BUG] Multi line strings break vertical alignment

Describe the bug
The vertical alignment of the Box in the right will be broken if multi line strings are used.
To Reproduce
Steps to reproduce the behavior:
Box := box.New(box.Config{Px: 2, Py: 5, Type: Single})
Box.Println(`Box CLI Maker
		foo foobar`, `Highly Customized Terminal Box Maker
		bar`)

Expected behavior
The vertical alignment shouldn't break.
Screenshots / Logs
If applicable, add screenshots or logs to help explain your problem.

Versions (please complete the following information, if relevant):

Software version: v1.3.2
OS: Windows 10
Golang version: 1.15.3

Fixed in #11

This still isn't resolved. The vertical alignment will break for more than 1 tab.

Fixed by #14


text:
Create meter

Finalizado el meter

Para dark Mode seguir https://tailwindcss.com/docs/dark-mode
Los nombres de las propiedades en ingles

authors: LeandroPato damiansimanuk

repo: DeltaX-Community/DeltaX-UI


text:
Add production test models to our testbench

Can be larger, external test models. Refine what we're testing in such models. For example, is it performance, backwards compatibility, etc?

Is this not already covered by #1412 and #462?

AVG-test_Hydrologic.zip
AVG-Model available on deltares.thegood.cloud

report:

if model code breaks running models
-impact on results for changes in model code
impact on performance for changes in model code

Issue #1412 is about building up a teshbench for one of real-world model. It has some overlap with this issue. So I combined the goal of both issue and merge them into one. The description of #1412 is now updated with the objects of both issues. Therefore, this issue can be closed.

authors: Jingru923 evetion gijsber visr

repo: Deltares/Ribasim


text:
Download model feature

Hey @DenisovAV first thanks for this package !
How are you planning to implement the download model feature ? Do you need any help or contribution ?

Yes, this is the first thing I am going to implement: the ability to specify the model path and download it in the background. I hope to get around to it soon. However, if you want to help, I would gladly accept your assistance to get it done faster :)

The thing I noticed is to download the model you must be login and accept the google terms, and you are probably rate limited, which could be problematic in a production app, maybe the model is also freely hosted somewhere we could use ? I didn't find yet

please check 0.3.0 version, probably there is functionality you looked for

authors: DenisovAV tempo-riz


text:
start/stop anywhere at ferry routes?

i guess it's a little weird that you can start/stop anywhere on a ferry route - which would be in the middle of the water. at least when your transport mode is bicycle, and not boat?

Do you have 'excludeFromGrid = ferry' in your speedprofile.ini?

Was able to confirm this one. Preparing a fix.

yes i have this in speedprofile.ini:
excludeFromGrid = ferry

This one is fixed now and will be pushed to master repo in a short while once tests run through.

fixed.

authors: DennisOSRM emiltin

repo: DennisOSRM/Project-OSRM


text:
Enhancement: add option for partial hashes

We probably don't need to include the full hash to meet our cache busting goal. Please could you add an option to only include (e.g.) the first 8 characters of the hash?
The number of characters should probably be configurable in case others disagree with me on how many characters to use ;-)

That’s a good idea! I’ll try to get on that in a couple of days, or if anyone has a PR feel free to submit.
On 12 Jul 2024 at 22:47 +0200, Benjamin Howe @.***>, wrote:

We probably don't need to include the full hash to meet our cache busting goal. Please could you add an option to only include (e.g.) the first 8 characters of the hash?
The number of characters should probably be configurable in case others disagree with me on how many characters to use ;-)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Update: gave it a spin, should be available from 0.4.0/92b719449f693d69ed00c5a368c0e84349a7acf3 ! Let me know if it works @BenjaminEHowe

Gold star for you! Will have a tinker later today and let you know.

LGTM! See https://github.com/BenjaminEHowe/11ty-links/commit/7239eaf670d9ac4ab6c20d6abc129f99a6df309b and the source code of https://8c93565f.11ty-links.pages.dev. Thank you :-)

authors: BenjaminEHowe Denperidge

repo: Denperidge/eleventy-auto-cache-buster


text:
Content: Membership invoice PDF

[ ] Don't display "NORMAL" but something more friendly
[ ] Include the year of membership (dates)
[ ] Give user name and email (not the same as billing)
[ ] Calculate 30 days from issue date

The receipt generation should also be better in the same ways.


text:
[Bug]: can not work in vue3

Description
<masonry-wall :items="items" >.....
below code not work:
  setup (props: any, context: any) {     const items = ref<any>(....array.)     return {       items     }   }
Reproduction
<masonry-wall :items="items" >.....
below code not work:
  setup (props: any, context: any) {     const items = ref<any>(....array.)     return {       items     }   }
Additional context
No response
Preferences

[X] I want to be assigned to and work on this issue myself

Hello,
what exactly is the issue?
Did you properly import the component as described in the REAMDE?
import { createApp } from 'vue'
import MasonryWall from '@yeger/vue-masonry-wall'

const app = createApp()

app.use(MasonryWall)

I'll close this, since the report is incomplete.

authors: DerYeger leeboo

repo: DerYeger/vue-masonry-wall


text:
Feature request - Sandwich

A simple sandwich recipe of bread, cheese, and any cooked meat. Probably should have it disable this recipe if one of the popular sandwich mods is installed.

That gives three uses for cheese now!

authors: DerpyNinjaFrog Icosahunter

repo: DerpyNinjaFrog/world-of-food


text:
Identities of chips on board and interconnects

Hello,
I'm trying to get a Pine64 SOQuartz CM4 module working on the DeskPi Super6C. I was wondering if you could please identify the USB hub chip in use on this board, and confirm exactly how that's connected to the 2x 100 pin connectors on the first cm4 board?
The default soquartz-cm4io DTS file doesn't work with your board - some USB interfaces are disabled by default in the latest Manjaro Arm development build. I'm attempting to find differences between the two carrier boards so that the Super6C is supported.
The docs on this repo are insufficient and the images not quite detailed enough to identify the USB hub chip.
Any help/advice greatly appreciated.

Never mind about the USB chip - I've found it. It's a Core Chip ShenZhen Co Ltd, SL2.1A 4 post high speed USB 2.0 hub controller. The PDF data sheet can be found online in Chinese and easily translated by Google Translate to English.
Any other chip IDs and information greatly appreciated.

@adamfowleruk - Just wanted to cross-post this issue (for the CM4, but similar idea): https://github.com/geerlingguy/raspberry-pi-pcie-devices/issues/425

@adamfowleruk Any chance of a copy of your DTS please, I am trying to do exactly the same thing. I don't have the board yet but I do have the soqartz. I'm using Debian right now.

authors: PBXForums adamfowleruk geerlingguy


text:
API Keys

Description
Please provide as much info as you can.
Where can I find all the needed api keys and how?

https://github.com/Dev-CasperTheGhost/ghostybot/blob/master/docs/INSTALLATION.md#requirements

Yea, use the list Xaliks posted in the message above, its not 100% up to date tho

authors: Dev-CasperTheGhost Liqxid Xaliks

repo: Dev-CasperTheGhost/ghostybot


text:
Changed the icon of the project

Gave a little 3d style icon of the Rubik's cube for the betterment of the look.
Type of change: Boring icon to 3d icon
Checklist:

[x] I have made this from my own
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

Please level this as gssoc

Hey can you please level this PR?

repo: Dev-tanay/Rubik-Cube


text:
Ability to change OpenAPI endpoint

Hi I'm wondering if you might expose the ability to change the OpenAPI endpoint url so that users can integrate with other OpenApi compatible instances. My specific use case is a is an internal OpenApi compatible LLM that has ingested my companies private data.  We currently use a web portal for general access but it would be nice to have access via our managed wearos devices for addhoc queries.

Hey, yes, that's definitely possible. I already offer the option to switch to "pawan.krd". I will implement this as soon as possible so that you can also set customised hosts and models (!). However, it is important that the server responds exactly like OpenAI. Otherwise the API library in the background cannot interpret this correctly. However, you will have to analyse and test this, as I do not have access to your internal models. :)

Hey, I've just added the feature. From the next update (v2.5.0), you can specify your own OpenAI-like API server in the settings. :)
I would appreciate feedback on whether this worked, as like I said I can't test it. :)

This is an amazing turn around BTW!.  It seems to work perfectly.   I tested it over HTTP and HTTPS with just the base url and things respond effectively.

One gotcha.  I had to expose a public Internet endpoint for the API in order for WearOS to be able to reach it consistently.  It look like the app (rightfully so) does not request wifi access which would be required for a purly internal network call.
Some sort of toggle and logic to perform
NetworkRequest.Builder()
.addTransportType(NetworkCapabilities.TRANSPORT_WIFI);
based on if the Custom_url is RFC1918 would be a super clean way to do it.

Okay I got too excited.  I'm going to do a bit of digging but the first thing I noticed is that with a my custom API centext is lost.  My model accepts the same context as OpenAI gpt3.5 so I'm going to look into the client calls and see what differs.  Also there is a "Stream" or max_tokens issue as responses are cut off.  I'll try to get more real info.  Thanks again.

Thank you for your feedback. I will make sure that I add the feature that the app uses the WiFi connection to address private addresses as soon as possible.
Regarding your last message, I would actually need more detailed information about what went wrong so that I can work with it. You can also send me your UserID (About -> long press on the WristAssist logo), then I can view stacktraces etc.

authors: DevEmperor bfvogel

repo: DevEmperor/WristAssist


text:
Numberbox format property

Issue Type
Bug report
Description
I use dx-number-box in my project and initialize format property as a string (from devexpress documentation):
data: function () {
		return {
			numberbox: {
				value: 100.123,
				format: "$ #0.##",
			}
		}
}

The format is applying well but in the browser console I've got the red message::

Invalid prop: type check failed for prop "format". Expected Object, got String.
found in --->   at test\components\numberbox.vue

is it normal? or I do smth wrong?

Hi!
Yes, this is a bug in our prop types. We will fix it in future releases.

authors: Edisson lukyanovas

repo: DevExpress/devextreme-vue


text:
TestCafe does not trigger corresponding actions when clicking on a div with href attribute

What is your Test Scenario?

What is the Current behavior?

What is the Expected behavior?

What is your web application and your TestCafe test code?

https://www.st.com/en/amplifiers-and-comparators/comparators.html

Your complete test code (or attach your test files):

Page objects code:
'use strict';

let stPage = {
    cookiesButton: `button[aria-label='Accept Cookies']`,
    searchBox: `#widgetSearchBar`,
    searchButton: `div.small-3.columns>a`,
    searchResults: `td.search-rpns-min-width-col1>a`,
    productsMenu: `span>svg.st-svg.st-svg--all-products`,
    amplifiersLink: `a.st-nav__submenu-link`,
    comparatorProduct: `div.st-nav__blockmenu>a`,
    productSelector: `div.st-tabs-tab.js-st-tabs-tab.st-tabs-tab--icon.js-st-tabs-tab-products`,
    partNumberSearchBox: `div.st-sidebar__input.st-input--icon.st-input.js-st-input>input`,
    partNumberSearchButton: `div.st-sidebar__input.st-input--icon.st-input>svg.st-svg--block.st-svg--search`,
    partNumberResultElements: `a.js-st-quickview-toggle.js-st-quickview-adjust-height`,
    resetFiltersButton: `//div[contains(@class,'st-sidebar__filters') and not(contains(@class, 'hidden'))]//span[contains(@class,'st-sidebar__clear-all-btn')]`,
};

module.exports = stPage;

Testcafe code:
When(
    'I/user click(s) {word} from {word}( page)',
    async function (t, [element, page]) {
        const elem = getElement(page, element);

        await t.click(elem);
    }
);

function getElement (page, elem) {
    const locator = pageObjects[page][elem];
    let element;

    try {
        if (isXPath(locator)) {
            element = SelectorXPath(locator);
        } else {
            element = locator;
        }
    } catch (error) {
        throw new ReferenceError(`${errors.SELECTOR_NOT_DEFINED} "${page}"."${element}" ${error}`);
    }

    return element;
}

I use TestCafe with Cucumber and testcaferc.json config file

{
    "browsers": "firefox",
    "src": ["node_modules/testcafe-cucumber-steps/index.js", "tests/**/*.js", "tests/**/*.feature"],
    "screenshots": {
        "path": "tests/screenshots/",
        "takeOnFails": true,
        "pathPattern": "${DATE}_${TIME}/test-${TEST_INDEX}/${USERAGENT}/${FILE_INDEX}.png"
    },
    "quarantineMode": false,
    "stopOnFirstFail": true,
    "skipJsErrors": true,
    "skipUncaughtErrors": true,
    "concurrency": 1,
    "selectorTimeout": 3000,
    "assertionTimeout": 1000,
    "pageLoadTimeout": 1000,
    "disablePageCaching": true
}

Your complete test report: The error occurs because the previous step of clicking the div is not working

Feature: Product Selector Filters
 × Scenario: Filter products by part number (screenshots: ..\Automation\TestCafe_Cucumber\tests\screenshots\2020-09-11_10-14-42\test-1\Firefox_80.0_Windows_10\errors\1.png)

   1) The element that matches the specified selector is not visible.

      Browser: Firefox 80.0 / Windows 10
      Screenshot: ..\Automation\TestCafe_Cucumber\tests\screenshots\2020-09-11_10-14-42\test-1\Firefox_80.0_Windows_10\errors\1.png

         420 |When('I/user type(s) {string} in {word} from {word}( page)', async function (
         421 |    t, [text, element, page]
         422 |) {
         423 |    const elem = getElement(page, element);
         424 |
       > 425 |    await t.typeText(elem, text);
         426 |});
         427 |
         428 |When('I/user type(s) {string}.{string} in {string}.{string}', async function (
         429 |    t, [page1, element1, page2, element2]
         430 |) {

         at <anonymous> (..\Automation\TestCafe_Cucumber\node_modules\testcafe-cucumber-steps\index.js:425:13)
         at <anonymous> (..\Automation\TestCafe_Cucumber\node_modules\testcafe-cucumber-steps\index.js:420:1)
         at GherkinTestcafeCompiler._runStep (..\Automation\TestCafe_Cucumber\node_modules\gherkin-testcafe\src\compiler.js:201:12)
         at GherkinTestcafeCompiler._resolveAndRunStepDefinition (..\Automation\TestCafe_Cucumber\node_modules\gherkin-testcafe\src\compiler.js:189:21)
         at <anonymous> (..\Automation\TestCafe_Cucumber\node_modules\gherkin-testcafe\src\compiler.js:108:28)

Screenshots:

the div element that receive the click is:

Steps to Reproduce:

Go to the page URL from summary
Click on "Product selector link"
Wait until the custom search selector appears after click

Note: the same behavior can be found in a simple way using the TestCafe studio with the provided link and make the IDE perform the click (nothing happens either). Clicking manually the div is working ok.
Your Environment details:

testcafe version:
node.js version:
command-line arguments:   ".\node_modules.bin\gherkin-testcafe firefox"
browser name and version:
platform and version:
other:

Additionally you can try to run this code in TestCafe Studio, it will give the same behavior:
import { Selector } from 'testcafe';
fixture New Fixture
.page st.com;
test('New Test', async t => {
await t
.click(Selector('button').withText('Accept Cookies'))
.click(Selector('header a').withText('Amplifiers and Comparators'))
.click(Selector('header span').withText('Products').nth(1))
.click(Selector('header a').withText('Comparators').nth(2))
.click(Selector('main span').withText('Product selector'))
.click(Selector('main span').withText('Product selector'))
.click(Selector('main span').withText('Product selector'));
});

@stefanurziceanu, Thank you for your report. I've reproduced the issue. We'll update this thread once it's fixed.

Hi, regarding this issue what I experienced with the browser launched by TestCafe, the dynamic page elements (probably related to third party controls integrated) are not displayed no matter how long I wait with timeouts. As soon as I remove the "http://10.0.0.72:56773/u5Mue81M2*AfD3R1R0D" part from the URL, the dynamic elements are loaded. Any thoughts?

Hello @stefanurziceanu,
Thank you for sharing your observation. This part of the URL is the proxy that TestCafe uses to interact with the page. If you remove it, you're basically just opening the tested page in your browser without TestCafe.

Hello @stefanurziceanu,
Thank you for sharing your observation. This part of the URL is the proxy that TestCafe uses to interact with the page. If you remove it, you're basically just opening the tested page in your browser without TestCafe.

Hello,
Thank you for your response. Is there any workaround for the proxy to load all the dynamic elements from the page in order to manipulate the page elments that now are not displayed?
Thank you.

Unfortunately, there is no workaround for this issue at the moment. We need more time to research it. Once we fix the issue or find a workaround, we'll update this thread.

authors: Ogurecher stefanurziceanu

repo: DevExpress/testcafe


text:
proj: create project labels

https://github.com/DevOps-Boot/fastapi-k8s/issues/labels

I believe that's enough for a start :sweat_smile:
I tried to create relevant labels along different tagging "axes" like project management, issues state and nature, architectural and functional components... These should allow for nice and helpful filtering and grouping capabilities.
Please review and close if that's ok for y'all


text:
story63

Query/Filter Action implemented under BDD; fix a small error

Codecov Report

Merging #68 (2e77ef9) into master (17dcc17) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #68   +/-   ##
=======================================
  Coverage   97.82%   97.82%
=======================================
  Files           7        7
  Lines         322      322
=======================================
  Hits          315      315
  Misses          7        7

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 17dcc17...2e77ef9. Read the comment docs.


text:
Reconciler crashes with Missing field 'SetIdentifier'

I tried running the reconciler on staging, and it crashes with this in the server logs (cc @dadolhay):
starchart_mycustomdomain.1.szxwrejre3cw@cudm-mgmt01dv.dcm.senecacollege.ca    | {"changeSet":[{"Action":"DELETE","ResourceRecordSet":{"MultiValueAnswer":false,"Name":"stage.mystudentproject.ca.","ResourceRecords":[{"Value":"\"v=spf1 -all\""}],"TTL":300,"Type":"TXT"}},{"Action":"DELETE","ResourceRecordSet":{"MultiValueAnswer":false,"Name":"_dmarc.stage.mystudentproject.ca.","ResourceRecords":[{"Value":"\"v=DMARC1; p=reject; sp=reject\""}],"TTL":300,"Type":"TXT"}},{"Action":"DELETE","ResourceRecordSet":{"MultiValueAnswer":false,"Name":"foo.davidhumphrey.stage.mystudentproject.ca.","ResourceRecords":[{"Value":"github.com"}],"TTL":300,"Type":"CNAME"}},{"Action":"DELETE","ResourceRecordSet":{"MultiValueAnswer":false,"Name":"test1.wno.stage.mystudentproject.ca.","ResourceRecords":[{"Value":"192.168.0.1"}],"TTL":300,"Type":"A"}}],"level":"debug","message":"Reconciler intends to push the following 4 changes","timestamp":"2023-03-25T23:43:50.576Z"}
starchart_mycustomdomain.1.szxwrejre3cw@cudm-mgmt01dv.dcm.senecacollege.ca    | {"error":{"$fault":"client","$metadata":{"attempts":1,"httpStatusCode":400,"requestId":"07d2e314-a5a1-4c94-9a2d-9a12c9ff0350","totalRetryDelay":0},"Code":"InvalidInput","Type":"Sender","name":"InvalidInput"},"level":"error","message":"DNS Error - Failed to execute changeSet","timestamp":"2023-03-25T23:43:50.742Z"}
starchart_mycustomdomain.1.szxwrejre3cw@cudm-mgmt01dv.dcm.senecacollege.ca    | InvalidInput: Invalid request: Missing field 'SetIdentifier' in Change with [Action=DELETE, Name=stage.mystudentproject.ca., Type=TXT, SetIdentifier=null]
starchart_mycustomdomain.1.szxwrejre3cw@cudm-mgmt01dv.dcm.senecacollege.ca    |     at deserializeAws_restXmlInvalidInputResponse (/app/node_modules/@aws-sdk/client-route-53/dist-cjs/protocols/Aws_restXml.js:5262:23)
starchart_mycustomdomain.1.szxwrejre3cw@cudm-mgmt01dv.dcm.senecacollege.ca    |     at deserializeAws_restXmlChangeResourceRecordSetsCommandError (/app/node_modules/@aws-sdk/client-route-53/dist-cjs/protocols/Aws_restXml.js:1928:25)
starchart_mycustomdomain.1.szxwrejre3cw@cudm-mgmt01dv.dcm.senecacollege.ca    |     at processTicksAndRejections (node:internal/process/task_queues:95:5)
starchart_mycustomdomain.1.szxwrejre3cw@cudm-mgmt01dv.dcm.senecacollege.ca    |     at /app/node_modules/@aws-sdk/middleware-serde/dist-cjs/deserializerMiddleware.js:7:24
starchart_mycustomdomain.1.szxwrejre3cw@cudm-mgmt01dv.dcm.senecacollege.ca    |     at /app/node_modules/@aws-sdk/middleware-signing/dist-cjs/middleware.js:14:20
starchart_mycustomdomain.1.szxwrejre3cw@cudm-mgmt01dv.dcm.senecacollege.ca    |     at /app/node_modules/@aws-sdk/middleware-retry/dist-cjs/retryMiddleware.js:27:46
starchart_mycustomdomain.1.szxwrejre3cw@cudm-mgmt01dv.dcm.senecacollege.ca    |     at /app/node_modules/@aws-sdk/middleware-logger/dist-cjs/loggerMiddleware.js:7:26
starchart_mycustomdomain.1.szxwrejre3cw@cudm-mgmt01dv.dcm.senecacollege.ca    |     at executeChangeSet (/app/build/index.js:769:20)
starchart_mycustomdomain.1.szxwrejre3cw@cudm-mgmt01dv.dcm.senecacollege.ca    |     at reconcile (/app/build/index.js:2696:7)
starchart_mycustomdomain.1.szxwrejre3cw@cudm-mgmt01dv.dcm.senecacollege.ca    |     at action7 (/app/build/index.js:2712:14) {
starchart_mycustomdomain.1.szxwrejre3cw@cudm-mgmt01dv.dcm.senecacollege.ca    |   '$fault': 'client',
starchart_mycustomdomain.1.szxwrejre3cw@cudm-mgmt01dv.dcm.senecacollege.ca    |   '$metadata': {
starchart_mycustomdomain.1.szxwrejre3cw@cudm-mgmt01dv.dcm.senecacollege.ca    |     httpStatusCode: 400,
starchart_mycustomdomain.1.szxwrejre3cw@cudm-mgmt01dv.dcm.senecacollege.ca    |     requestId: '07d2e314-a5a1-4c94-9a2d-9a12c9ff0350',
starchart_mycustomdomain.1.szxwrejre3cw@cudm-mgmt01dv.dcm.senecacollege.ca    |     extendedRequestId: undefined,
starchart_mycustomdomain.1.szxwrejre3cw@cudm-mgmt01dv.dcm.senecacollege.ca    |     cfId: undefined,
starchart_mycustomdomain.1.szxwrejre3cw@cudm-mgmt01dv.dcm.senecacollege.ca    |     attempts: 1,
starchart_mycustomdomain.1.szxwrejre3cw@cudm-mgmt01dv.dcm.senecacollege.ca    |     totalRetryDelay: 0
starchart_mycustomdomain.1.szxwrejre3cw@cudm-mgmt01dv.dcm.senecacollege.ca    |   },
starchart_mycustomdomain.1.szxwrejre3cw@cudm-mgmt01dv.dcm.senecacollege.ca    |   Type: 'Sender',
starchart_mycustomdomain.1.szxwrejre3cw@cudm-mgmt01dv.dcm.senecacollege.ca    |   Code: 'InvalidInput'
starchart_mycustomdomain.1.szxwrejre3cw@cudm-mgmt01dv.dcm.senecacollege.ca    | }

Here is is cleaned up:
{
  "changeSet": [
    {
      "Action": "DELETE",
      "ResourceRecordSet": {
        "MultiValueAnswer": false,
        "Name": "stage.mystudentproject.ca.",
        "ResourceRecords": [{ "Value": "\"v=spf1 -all\"" }],
        "TTL": 300,
        "Type": "TXT"
      }
    },
    {
      "Action": "DELETE",
      "ResourceRecordSet": {
        "MultiValueAnswer": false,
        "Name": "_dmarc.stage.mystudentproject.ca.",
        "ResourceRecords": [{ "Value": "\"v=DMARC1; p=reject; sp=reject\"" }],
        "TTL": 300,
        "Type": "TXT"
      }
    },
    {
      "Action": "DELETE",
      "ResourceRecordSet": {
        "MultiValueAnswer": false,
        "Name": "foo.davidhumphrey.stage.mystudentproject.ca.",
        "ResourceRecords": [{ "Value": "github.com" }],
        "TTL": 300,
        "Type": "CNAME"
      }
    },
    {
      "Action": "DELETE",
      "ResourceRecordSet": {
        "MultiValueAnswer": false,
        "Name": "test1.wno.stage.mystudentproject.ca.",
        "ResourceRecords": [{ "Value": "192.168.0.1" }],
        "TTL": 300,
        "Type": "A"
      }
    }
  ],
  "level": "debug",
  "message": "Reconciler intends to push the following 4 changes",
  "timestamp": "2023-03-25T23:43:50.576Z"
}

{
  "error": {
    "$fault": "client",
    "$metadata": {
      "attempts": 1,
      "httpStatusCode": 400,
      "requestId": "07d2e314-a5a1-4c94-9a2d-9a12c9ff0350",
      "totalRetryDelay": 0
    },
    "Code": "InvalidInput",
    "Type": "Sender",
    "name": "InvalidInput"
  },
  "level": "error",
  "message": "DNS Error - Failed to execute changeSet",
  "timestamp": "2023-03-25T23:43:50.742Z"
}

And:
InvalidInput: Invalid request: Missing field 'SetIdentifier' in Change with [Action=DELETE, Name=stage.mystudentproject.ca., Type=TXT, SetIdentifier=null]

I'm not finding a specific answer to why this is happening in my searches so far.
It looks like there are records in here that aren't related to our app, so we're going to have to rethink the idea of owning the entire zone.

My guess is that SetIdentifier is set on one of those records we don't own, and it's refusing to delete them because we haven't included it where it expects to find it.
I wonder if we should limit our scope to only records that follow the form {something}.{someusername}.root.domain., which would eliminate both stage.mystudentproject.ca. and _dmarc.stage.mystudentproject.ca. in the case above.

Despite the work to add limp mode in #447, I'd like to avoid stepping on records we don't actually own in the hosted zone.

This was fixed in our debugging tonight.

repo: DevelopingSpace/starchart


text:
Added German translation

German translation based on v12

Hello o/
Looks great! I can see you've added the extra translation key added after v12 release too.
Thank you for your contribution :relaxed:

authors: DevilXD ThisIsCyreX

repo: DevilXD/TwitchDropsMiner


text:
When i use inside fragment get Error

Get error when i use it a fragment of "android.support.v4.view.ViewPager" .
E/ViewPager: Error changing children drawing order
                                                                  java.lang.IllegalAccessException: access to method denied
                                                                      at java.lang.reflect.Method.invokeNative(Native Method)
                                                                      at java.lang.reflect.Method.invoke(Method.java:515)
                                                                      at android.support.v4.view.ViewPager.setChildrenDrawingOrderEnabledCompat(ViewPager.java:789)
                                                                      at android.support.v4.view.ViewPager.setPageTransformer(ViewPager.java:768)
                                                                      at com.gigamole.infinitecycleviewpager.HorizontalInfiniteCycleViewPager.setPageTransformer(HorizontalInfiniteCycleViewPager.java:109)
                                                                      at com.gigamole.infinitecycleviewpager.InfiniteCycleManager.<init>(InfiniteCycleManager.java:143)
                                                                      at com.gigamole.infinitecycleviewpager.HorizontalInfiniteCycleViewPager.init(HorizontalInfiniteCycleViewPager.java:30)
                                                                      at com.gigamole.infinitecycleviewpager.HorizontalInfiniteCycleViewPager.<init>(HorizontalInfiniteCycleViewPager.java:26)
                                                                      at java.lang.reflect.Constructor.constructNative(Native Method)
                                                                      at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
                                                                      at android.view.LayoutInflater.createView(LayoutInflater.java:601)
                                                                      at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:703)
                                                                      at android.view.LayoutInflater.rInflate(LayoutInflater.java:762)
                                                                      at android.view.LayoutInflater.rInflate(LayoutInflater.java:771)
                                                                      at android.view.LayoutInflater.inflate(LayoutInflater.java:499)
                                                                      at android.view.LayoutInflater.inflate(LayoutInflater.java:398)
at android.support.v4.app.Fragment.performCreateView(Fragment.java:2080)
                                                                      at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1108)
                                                                      at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1290)
                                                                      at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:801)
                                                                      at android.support.v4.app.FragmentManagerImpl.execSingleAction(FragmentManager.java:1638)
                                                                      at android.support.v4.app.BackStackRecord.commitNowAllowingStateLoss(BackStackRecord.java:679)
                                                                      at android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:143)
                                                                      at android.support.v4.view.ViewPager.populate(ViewPager.java:1240)
                                                                      at android.support.v4.view.ViewPager.populate(ViewPager.java:1088)
                                                                      at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1614)
                                                                      at android.view.View.measure(View.java:16677)
                                                                      at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5286)
                                                                      at android.support.design.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:700)
                                                                      at android.support.design.widget.HeaderScrollingViewBehavior.onMeasureChild(HeaderScrollingViewBehavior.java:90)
                                                                      at android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onMeasureChild(AppBarLayout.java:1364)
                                                                      at android.support.design.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:765)
                                                                      at android.view.View.measure(View.java:16677)
                                                                      at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5286)
                                                                      at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
                                                                      at android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:135)
                                                                      at android.view.View.measure(View.java:16677)
                                                                      at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5286)
                                                                      at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
                                                                      at android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
                                                                      at android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
                                                                      at android.view.View.measure(View.java:16677)
                                                                      at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5286)
                                                                      at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
                                                                      at android.view.View.measure(View.java:16677)
                                                                      at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5286)
                                                                      at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
                                                                      at android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
                                                                      at android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
                                                                      at android.view.View.measure(View.java:16677)
                                                                      at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5286)
                                                                    at android.widget

Hello. This is a strange error.
Try to find some fix. This is about android.

hello,Is this bug fixed?

i have face same issue when i am using

How can I fix this?

Have you worked out any approach to solve the problem?

is there have other idea to solve the  problem with adding library ad a module in my project

is there have other idea to solve the problem without adding library ad a module in my project

repo: Devlight/InfiniteCycleViewPager


text:
update getRegions() to return std::span<> instead of core::SRange<>

Description
shallowly updates getRegions() in ICPUImage.h (and methods explicit usages) to use std::span<>
to obtain raw pointers (required by some methods) <span>.data() and <span>.data() + <span>.size() is used, since it's the only method to access raw pointers without dereferencing iterators

dereferencing .end() iterator may cause address violation segfault

Testing
passes 24_ColorSpaceTest (requires a patch - see 0aa4c5)

TODO list:

[ ] decide if methods like CBasicImageFilterCommon::executePerRegion should use iterators or raw pointers (current)

[CI]: Can one of the admins verify this patch?

Maybe make the executePerRegion take a span as well?

Maybe make the executePerRegion take a span as well?
done in 42c1f12

repo: Devsh-Graphics-Programming/Nabla


text:
Contents of login page are not aligned properly

@abhijeet007rocks8 Please assign.

repo: DhairyaBahl/React-Messenger-App


text:
Defer Runner initialization until it is run

Fixes https://github.com/DiUS/pact-jvm/issues/1020

4.0.6 has been released with this fix

authors: dbevacqua uglyog

repo: DiUS/pact-jvm


text:
Prevent recursion into the body elements of the pact file

Hi,
I had an issue where, while the pact file was being verified, it was uppercase-ing an element in the request body, the element was named method.
The recursiveTransformJson method, runs over the whole pact including request and response bodies, this means that if the element names being transformed here appear in the request or response they will be incorrectly transformed.
Please consider this fix for this issue.
Thanks,
Simon

Thanks for the PR!
I might move the uppercasing of the method out of the recursive call as it does not need to be there.

I've actually removed the recursion all together as it did not make much sense.

Fair enough, I wasn't going to be so bold!
Thanks for looking into it :)

authors: uglyog whahoo


text:
🛑 SSO Diagoriente is down

In 83c24d3, SSO Diagoriente (https://authentification.diagoriente.beta.gouv.fr) was down:

HTTP code: 404
Response time: 835 ms

Resolved: SSO Diagoriente is back up in e12f8b0 after 15 minutes.

repo: Diagoriente/upptime


text:
⚠ Halloluise has degraded performance

In 35fa6d8, Halloluise (https://halloluise.de) experienced degraded performance:

HTTP code: 200
Response time: 3742 ms

Resolved: Halloluise performance has improved in c15bb7d.

repo: DianaHaidarbaigi/LuisenGym


text:
Change scores value of Score.py

Hi, i'm trying to change the value of movie scores in file score.py:
#: Scores for movies
movie_scores = {'hash': 119, 'title': 60, 'year': 30, 'release_group': 15,
'format': 7, 'audio_codec': 3, 'resolution': 2, 'video_codec': 2, 'hearing_impaired': 1}
The idea is to increase the format to 100 but when i save the changes and re run subliminal i get this error:
Traceback (most recent call last):
File "/usr/local/bin/subliminal", line 11, in
sys.exit(subliminal())
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/decorators.py", line 27, in new_func
return f(get_current_context().obj, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/subliminal/cli.py", line 403, in download
hearing_impaired=hearing_impaired, only_one=single)
File "/usr/local/lib/python2.7/dist-packages/subliminal/core.py", line 211, in download_best_subtitles
for s in subtitles], key=operator.itemgetter(1), reverse=True)
File "/usr/local/lib/python2.7/dist-packages/subliminal/score.py", line 146, in compute_score
assert 0 <= score <= scores['hash'] + scores['hearing_impaired']
AssertionError

Well, the error tells you what's wrong. The maximum score has to be smaller than or equal to hash + hearing_impaired.

Either increase hash or substitude compute_score with your own function altogether.

@Diaoul related idea: support environment variables for most of the internals. such as score.

I don't want to bind the library to some env variables, explicit is better than implicit. For the CLI that's an insteresting idea but a configuration file would be best suited.

authors: Diaoul pannal verahert

repo: Diaoul/subliminal


text:
Audit and make documentation for command JSON.CLEAR consistent #772

Summary of Changes
Audit documentation for JSON.CLEAR and make it consistent with the existing implementation.
https://github.com/DiceDB/dice/issues/772
Changes Made

Attempted to follow documentation format in SET
Found some discrepancies in ## Behaviour section which i changed.
Fixed few things in the ## Errors section.

Thanks for the contribution @nm123github! Thanks for the reviews @apoorvyadav1111.

repo: DiceDB/dice


text:
Update README.md

tested on Volvo C40 (2023)

Thanks!

Is your C40 a BEV or PHEV ?


text:
Update memory cgroup kernel cmdline option for newer kernels, remove …

…errant +, fixes #40

Thanks @ecliptik, that's indeed a great improvement!

authors: DieterReuter ecliptik


text:
Default rect mode setting

Should the default rect mode stay as the corner? Should it default to center instead?

Yes, this seems easy to make consistent with the other ellipse and image modes.

#26 PR to align RectMode

authors: AEllinger justinchambers-dp

repo: DigiPen-Faculty/CProcessing


text:
🛑 ZL1OTD Repeater is down

In 99175e1, ZL1OTD Repeater (https://zl1otd.dvnz.nz) was down:

HTTP code: 502
Response time: 19344 ms

Resolved: ZL1OTD Repeater is back up in c8cc4ac.

repo: DigitalVoiceNZ/upptime


text:
🛑 mirror is down

In b46acff, mirror ($LAMBDA_MONIT_SERVER_URL?server=mirror) was down:

HTTP code: 502
Response time: 28 ms

Resolved: mirror is back up in 6a9dcd8 after 7 minutes.


text:
🛑 API - Debank Gas Price Dict is down

In 8618f5d, API - Debank Gas Price Dict ($DEBANK_GAS_PRICE_DICT_API_URL) was down:

HTTP code: 429
Response time: 263 ms

Resolved: API - Debank Gas Price Dict is back up in 8f31def.

repo: DimensionDev/status


text:
🛑 API - Rarible NFT is down

In 245e713, API - Rarible NFT ($RARIBLE_NFT_API_URL) was down:

HTTP code: 502
Response time: 335 ms

Resolved: API - Rarible NFT is back up in 7411070.


text:
淘宝ip地址服务失效

如题。这个ip地址的服务还有什么免费的替代吗？

最新的Vue版本的代码已经不使用淘宝的IP查询接口了。
使用以下依赖，具体使用教程参见其GitHub地址：
        <dependency>             <groupId>org.lionsoul</groupId>             <artifactId>ip2region</artifactId>             <version>1.7.2</version>         </dependency>

此外，目前还有一个免费的IP地址查询接口：http://whois.pconline.com.cn
具体使用方法见网站介绍

authors: DimpleFeng luoqingcheng

repo: DimpleFeng/DimpleBlog


text:
🛑 Master Bot is down

In 489e00d, Master Bot (https://MasterBot.DLCDevelopment.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Master Bot is back up in 71fd460.

repo: Discord-Development-Centre/status


text:
🛑 Master Bot is down

In c6aaeb2, Master Bot (https://MasterBot.DLCDevelopment.repl.co) was down:

HTTP code: 502
Response time: 316 ms

Resolved: Master Bot is back up in a7fae77.


text:
Site works in AutoPagerize but not correctly in AutoPatchWork Mod

I use AutoPatchWork Mod in Vivaldi. When I look at image galleries of stuttgarter-zeitung.de, e.g.
Die besten Veggie-Restaurants
Lisa und Lena
the images on the first two or three pages are not visible. However, this does not happen with AutoPagerize (but autopatchwork-mod is so much faster and nicer :-) and I really like it), so I expect this not to be a siteinfo problem.

This has to do with the site programming. It's not single images there but actually programmatically controlled image galleries. Something probably breaks the code so the galleries stop working. AutoPagerize probably makes the gallery stop working altogether by showing only first image. Try changing page pageElemet rule in SITEINFO editor to //div[@class='mod-gallery'] for the similar result here.

This is related to the site's scripts. It's not single images there but actually programmatically controlled image galleries. Working with dynamic added content is tricky. Something probably breaks the original code's flow when adding new galleries so they stop working properly.Try changing page pageElemet rule in SITEINFO editor to //div[@class='mod-gallery'] to break them altogether and show only first image. Do all galleries work simultaneously with AutoPagerize or it breaks them the same way as above?

authors: Dither whumann

repo: Dither/autopatchwork-mod


text:
Rename ES7 docker image service to match existing ES config

The default docker setup expects the ES container to be named elasticsearch so this should fix the issue where the API cannot connect to the ES server. I also renamed the service node to es1 es that's the name the docker-compose.nodejs.yml depends on.
Fixes #509

Because the docker-compose.nodejs.yml file depends on a container called es1 or else it won't start.
I only decided to rename it to match the already existing ES v5 container, so it's easy to change between them.

@Fifciu No problem, should be fixed now.

That's true, however you can still start/stop the containers when testing
both.
With the current approach you need to change the container names in the
docker files and rebuild them so there's an extra step there.
On Mon, 28 Sep 2020, 10:52 ResuBaka, notifications@github.com wrote:

@ResuBaka commented on this pull request.
In docker-compose.elastic7.yml
https://github.com/DivanteLtd/vue-storefront-api/pull/523#discussion_r495820844
:

@@ -1,12 +1,12 @@
version: '3.0'
services:

es7:
container_name: es7

es1:

Doesn't this is in conflict for people that my want to run both at the
same time as an migration step? So es5 and es7.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DivanteLtd/vue-storefront-api/pull/523#pullrequestreview-497357356,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFBOUQV743DWPDANIWS5HTSIBMHXANCNFSM4R3QG6OA
.

repo: DivanteLtd/vue-storefront-api


text:
No enough code comments

You really need to explain your functions better. What do you use sass middleware for, for example?
And it would really help if you explained custom func. like the drop event https://github.com/Djaygo/real-time-web/blob/master/week-1/app.js#L23

Will be added in the current week, will do this from now on when i write new functions!

authors: Djaygo Razpudding

repo: Djaygo/real-time-web


text:
"error while upscaling"

QualityScaler 4.1.f
NVIDIA GeForce GTX 1660 Ti 6 GB Win 10
Tried all models, CPU&GPU, limited RAM, several files including logo.png from your install package.
Makes a pile of PNGs and then comes back error while upscaling.
Is there an informative log somewhere?

Extracted the directory and ran the .exe in that directory. Program runs, accepts drag and drop files, produces the intermediate files, and then errors out.

try to extract again the .zip with 7zip and check in the directory if there are 3 files:
BSRGANx2.pth
BSRGANx4.pth
RealSR_JPEGx4.pth

All present and accounted for.

Strange, in next release i will add better error message.
I think could be a driver problem, a windows 10 too old, or no permission to read and write files...
Sorry :(

what driver version do you have?

NVIDIA driver? The current Game Ready, 526.47. Win10 is up to date. The program is reading and writing files.
Informative error messages would be useful.

Hmm, that's interesting. I tried run as administrator and drag and drop stopped working.

Hi, sorry to bother again.
I have another question, when upscaling Qualitysaler will produce an image named with *_resized.png.
Can you please check if this file is created and if there is a watermark on it?

Yes, and yes. Says Upscaled with etc etc.

Okok thanks, I thought that QualityScaler was not finding the font file for applying the watermark, but it seems not :(

Hi, sorry to bother you again.
Did you have installed Visual C++ Redistributable ?
If not, here is a .zip with all packages
https://www.techpowerup.com/download/visual-c-redistributable-runtime-package-all-in-one/
:)

install_all.bat.
Oh Good. A whole bunch of random Windows installs. God, I hate this operating system.
Fine, let's go.
Welp, no change.

:(

Ran that install. DXDIAG says DirectX 12 with no problems found.

I thank you from the bottom of my heart for your support. At this point I don't know which way to turn anymore.
:(
Maybe it may be some problem in the compilation phase or something, and I have no control over that.

Time to write in some error logging?

yes

Hello, I am another user having this issue. I was about to purchase the software but then decided to do trial instead and see the results  and compare to Topaz. I installed trial version and when i run it, i see that the software resizes the photos, splits them into 9 images but when it is about to upscale, I receive "error while upscaling". If this gets fixed and the results are good, im happy to move to paid version.
Note, when i downloaded the zip file, and unpacked it, Windows 11 blocked the .exe file saying it contains Trojan Horse. I had to disable firewall and then proceeded with running the app. But not sure if Windows was still not somehow blocking the upscaling. Thanks

Hi @JadoreHC ,

yes, there is a resize option to reduce the time to upscale an image: of course the more you shrink the photo, the less the quality of the upscale will be (by default it is 70%)
qualityscaler cut the image when it does not fit in VRAM/RAM limit (default is 8 GB)
so something is not working with communication beetween gpu and pytorch:

[ ] What are your pc specs?
[ ] Did you followed the readme and installed DirectX and Visual C Redistributable?
[ ] Or maibe Windows defender is blocking the app, just disable to try this pls (I cannot try because the actually Windows i use does not have Defender preinstalled).

Let me know so i can better undestand the problem :)
Unfortunately the false positive of the antivirus is the fault of the library used to package the Python code in .exe - https://www.reddit.com/r/learnpython/comments/sidi10/pyinstaller_exe_is_labeled_as_a_trojan_by_avg/
Thank you :)

Hi,
thanks for the swift response :) very kind of you... my pc has 32 GB RAM and I also had DirectX and Visual C installed.
I have tried your advice and left the default resize to 70% (300p pic to 200p) and the upscale went through (in 7 sec.). I did some testing for different size pictures and the maximum size the software can handle is 200p (either height or width). Anything above will crash ("error while upscaling". Since i was testing 700p-1000p pics, i could compare upscaled pics to their reference and see how precise it was... Some results were interesting but due to downsizing, a lot of artifacts were lost. I upscale videos and for Topaz Upscaling, my PC can handle 720p-1080p videos and for Interpolation, Dain app can interpolate 578p videos and Rife App 1080p videos. Do you think your app will be able to handle bigger formats without crashing? Not sure what RAM i would need to be able to upscale bigger videos, in your references, you even have 4k vids.
Thank you very much for your help. Glad the program is working now :)

Good find. Confirmed, works with images 200 pixels and under. That should be a help in the troubleshooting.

Hi @nottooloud @JadoreHC thank you very much for your valuable feedback :D
Abolutely your rig is capable of upscale any kind of image and video, any directx12 gpu can works well (i've tested rx 570 and gtx 1660) so must be a Pytorch problem, i hope they release a fix in a short time.
In the meantime I will put more exhaustive logs and with more information so as to better understand what happens :)

@nottooloud @JadoreHC Hi, i just released new update 6.0 with error log improvement. If someone can test it maibe we can understand why it fails :)
Thank you in advance :)

6.0 works here. No error. Absolutely enormous file, 3.6mb PNG 100% scaled came out 88MB instead of the expected 15 or so, but I can always compress it with another program.

Im still getting errors in 6.0 it says to check the .log file but not sure where the .log file is located? I do not see it in QualityScaler folder or the folder where the upscaled pic is located

is located in QualityScaler folder, there is a QualityScaler.log :)

oh thanks. i used search engine and it didnt pick up extensions... i found the log. this is the error (small 200x200 pics still work, but bigger ones don't - even if software splits them into 9 smaller pics)
Error while upscaling
CHECK failed: ((((HRESULT)((d3d_device->CreateCommittedResource( &properties, D3D12_HEAP_FLAG_NONE, &resource_buffer, D3D12_RESOURCE_STATE_UNORDERED_ACCESS, nullptr, __uuidof(out), reinterpret_cast<void*>(out))))) >= 0)) == (true):

Mh, strange error; can you tell me your pc full spec? :)

Sure, here you go... thanks in advance

Thank you!
I think i found the problem. Actually QualityScaler is trying to use your Intel GPU instead of your Nvidia gpu. To resolve this issue you should go in Windows Settings > Graphic settrings > Add QualityScaler.exe > Options > Select Nvidia gpu :

Let me know if this fix the issue :) Thank you!

oh wow. this worked like a charm! thank you so much :) works perfectly now :)

Nice!!
Next release will support multi gpu system like your with the possibility to choose the gpu :D

authors: Djdefrag JadoreHC nottooloud

repo: Djdefrag/QualityScaler


text:
Removes profile link conditional

Fixes #3260
@aaronschachter

Looks good, just need to also remove the "User Profile" theme setting in the Paraneue theme settings form.

GAH that commit wont go away.

what commit?

ignore, I got rid of it the cheaty way

:+1:

:zap:

authors: aaronschachter deadlybutter

repo: DoSomething/dosomething


text:
A black rectangle lingers after removing a video on the campaign template

https://staging.dosomething.org/us/campaigns/teens-jeans

@angaither we need a solution for this for Monday's Teens for Jeans soft launch.

strange, it seems to still be pulling a video from an old revision.
@sergii-tkachenko @blisteringherb any idea why this would happen?
cleared cache a million times, replaced the video, removed the video, nothing.
my local correctly removes the reference to the video

@angaither Note: video is not yet translatable.

@sergii-tkachenko not trying to translate the field, it had a value in a previous revision and now it's removed, but the dpm shows it's still pulling something

Yes, just decided to mention that it should not be affected by all the translation stuff.

Could it be redis cache?

@sheyd and I just tried clearing redis cache, and it still appears. maybe it needs 100 clears?

@angaither The field is empty on the backend.

So it shoes empty html

right, but if you look at the dpm, that html is there because field_video is not empty

authors: angaither mikefantini sergii-tkachenko

repo: DoSomething/phoenix