Build Failed IOS - React Native 0.62.2

Description
After installing a new fresh React Native app, and after updating Xcode to version 11.4.1, it keeps crashing with these errors:
The following build commands failed:
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
CompileSwift normal x86_64 /Users/user/Desktop/testing/ios/Pods/YogaKit/YogaKit/Source/YGLayoutExtensions.swift
System
OS: macOS 10.15.4
CPU: (4) x64 Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
Memory: 542.31 MB / 8.00 GB
Shell: 5.7.1 - /bin/zsh

Binaries:
Node: 13.12.0 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.9.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK: Not Found
IDEs:
Android Studio: 3.6 AI-192.7<IP_ADDRESS>41897
Xcode: 11.4.1/11E503a - /usr/bin/xcodebuild
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.2 => 0.62.2
npmGlobalPackages:
react-native: Not Found

##Development Environment:
OS: macOS 10.15.4
CPU: (4) x64 Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
Memory: 542.31 MB / 8.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 13.12.0 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.9.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK: Not Found
IDEs:
Android Studio: 3.6 AI-192.7<IP_ADDRESS>41897
Xcode: 11.4.1/11E503a - /usr/bin/xcodebuild
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.2 => 0.62.2
npmGlobalPackages:
react-native: Not Found

Version being used in circleci is 11.3, whereas this is 11.4.1. It should, but it may be less tested. Anticipate that being upgraded at some point in the future.
Would be helpful to have more of the xcode output if you could supply that? Build logs and such? Also might be helpful to link to a repo of the empty new project just in case there was something else.

Hi @chrisglein , I have a similar issue. This is my build log from AppCenter.
17_Xcode build (signed).txt
Please let me know if there's anything I can help with. Thank you!

@DanMCX, i had the same problem. The reason is outdated CocoaPods. After running this command "sudo gem install cocoapods" I deleted old initial project and created new one with "npx react-native init AwesomeProject", after that, everything worked fine.

i'm having the same problem when generating a new RN app and attempting to run. it seemed to work on the first app i generated, but after closing the metro terminal window and simulator, it started doing this and continues on all of the new apps i generate. it seems to run ok from within Xcode, but not from the terminal.

Hi, I'am having the same issue, since I updated my Mac last night, I can't run my project anymore.
tried to pod update with no effect.
My environment setup:
System:     OS: macOS 10.15.5     CPU: (8) x64 Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz     Memory: 29.47 MB / 8.00 GB     Shell: 3.2.57 - /bin/bash   Binaries:     Node: 12.13.1 - /usr/local/bin/node     Yarn: 1.22.4 - /usr/local/bin/yarn     npm: 6.12.1 - /usr/local/bin/npm     Watchman: 4.9.0 - /usr/local/bin/watchman   Managers:     CocoaPods: 1.8.4 - /usr/local/bin/pod   SDKs:     iOS SDK:       Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2     Android SDK:       API Levels: 28, 29       Build Tools: 28.0.3, 29.0.2       System Images: android-28 | Intel x86 Atom_64, android-28 | Google Play Intel x86 Atom, android-29 | Google APIs Intel x86 Atom       Android NDK: Not Found   IDEs:     Android Studio: 3.5 AI-191.8<IP_ADDRESS>10548     Xcode: 11.5/11E608c - /usr/bin/xcodebuild   Languages:     Java: 1.8.0_232 - /usr/bin/javac     Python: 2.7.16 - /usr/bin/python   npmPackages:     @react-native-community/cli: Not Found     react: 16.11.0 => 16.11.0      react-native: 0.62.2 => 0.62.2    npmGlobalPackages:     *react-native*: Not Found

I have the same problem after updating macOS and Xcode.
System:
OS: macOS 10.15.5
CPU: (4) x64 Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz
Memory: 18.84 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 8.12.0 - /usr/local/bin/node
Yarn: 1.12.3 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.9.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 11.5/11E608c - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_101 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.2 => 0.62.2
npmGlobalPackages:
react-native: Not Found

@ryndshn Thank you. It is working again after computer restart.

Getting this too, it's stopping me from building with Fastlane.
System:
    OS: macOS 10.15.6
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 295.65 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 10.19.0 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.4 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.3 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.0, DriverKit 19.0, macOS 10.15, tvOS 14.0, watchOS 7.0
    Android SDK:
      API Levels: 28, 29
      Build Tools: 28.0.3, 29.0.3, 30.0.0, 30.0.1
      System Images: android-28 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom_64
      Android NDK: Not Found
  IDEs:
    Android Studio: 3.6 AI-192.7<IP_ADDRESS>41897
    Xcode: 12.0/12A7209 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_242 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0
    react-native: 0.62.2 => 0.62.2
  npmGlobalPackages:
    *react-native*: Not Found

i'm having the same problem when generating a new RN app and attempting to run. it seemed to work on the first app i generated, but after closing the metro terminal window and simulator, it started doing this and continues on all of the new apps i generate. it seems to run ok from within Xcode, but not from the terminal.
edit: i'm sure this isn't helpful, but after restarting my mac it worked as expected

it worked for me

i'm having the same problem when generating a new RN app and attempting to run. it seemed to work on the first app i generated, but after closing the metro terminal window and simulator, it started doing this and continues on all of the new apps i generate. it seems to run ok from within Xcode, but not from the terminal.
edit: i'm sure this isn't helpful, but after restarting my mac it worked as expected

worked for me as well.  I have 2 "sister" apps that work together, both worked fine then suddenly only 1 ran into this issue.
Up to date on the latest packages and development tools.

Hmm, today I got it on 0.63.3. Previously worked fine, seems I updated something (dependency or Xcode) but revert not helping.

It's clearly not a local environment issue as I get the same error when running my Fastlane release lane on GitHub actions.

Builded by Bitrise successfully but I'd to build also by cli locally:)

Close all terminal windows and re-open it worked for me.

@ryndshn Thank you. It is working again after computer restart.

This good old trick worked for me

Closing terminals and restarting didn't work for me, nor did uninstalling and reinstalling xcode/npm/brew for a couple different versions of xcode. Not much other info online about this, so what did work was backing up my project and reformatting my Mac :upside_down_face:

WOW!!! Very perfect!!!
I have just restarted my pc and it is working correctly!!!
Thanks for @MCKmecik and @ryndshn.

It worked for me to close all terminals including Visual Studio Code, and closing the emulator. Then the terminal compiled without errors.

All ways above doesn't help on Mac Apple Silicon m1 :(

@rhenanteix @leizard something similar was founded in 31941

final call

just run npm start && npm run ios(react-native run ios)

Had this issue as well, turned out to be because I have a space in one of the directory name's that the project is under.

I got this working on my m1 mac by setting up a rosetta terminal to run my react-native run-ios command
https://www.courier.com/blog/tips-and-tricks-to-setup-your-apple-m1-for-development/

Restart Computer
Run: yarn start --reset-cache
Worked for me....

Issue can be closed.All you have to do is close the terminal then reopen it

Had this issue as well, turned out to be because I have a space in one of the directory name's that the project is under.

Thank you! I don't know if to cheer or cuss at this stage after spending a long time with this issue!!
I wonder how many of the people who have suffered with this problem had a parent folder labelled "React Native" ☺

This issue takes me time and try all answers in the Google. Only this page helps me out. Can any developer of facebook to solve this problem or give some tips on the React Native home page?

It took me two days to resolve this, in my case, the error when running the pod install command was this:
CompileSwift normal x86_64 (in target 'PurchasesHybridCommon' from project 'Pods')
SOLUTION:

Update react-native-purchases in package.json from "^4.3.1" to "^4.6.1"
rm -rf ios/Pods;
rm -rf node_modules;
npm install or cd ios && pod install

System:
    OS: macOS 12.4
    CPU: Apple M1 Pro
Binaries:
    Node: 16.15.1
    npm: 8.11.0
Managers:
    CocoaPods: 1.11.3
npmPackages:
    "react": "16.9.0",
    "react-native": "0.63.4",

I am still affected by this issue, and unfortunately none of the solutions above work for me.

@Ruben-Krueger where you able to solve it?

@DanMCX did you find the solution? got stuck on the same problem


feat(linter): support LogicExpression and MemberExpression

MemberExpression's message is not accurate, I will update later.

#3148  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @mysteryven and the rest of your teammates on  Graphite


Provider claims more than one backend matches the request even when an Instance is provided

Information

qiskit-ibm-provider version: main
Python version: 3.9
Operating system: OSX

What is the current behavior?
The provider claims more than one backend matches a request even though I've provided a hub/group/project
Steps to reproduce the problem
from qiskit_ibm_provider import IBMProvider

provider = IBMProvider()
provider.get_backend(instance=hgp)

What is the expected behavior?
I receive a backend.
Suggested solutions

On further introspection, this is because I forgot the backend name parameter as it is possible for it to be None. In what context is not specifying a parameter useful?

I agree that it is a bit odd that name is an optional param for get_backend() but this method also takes other filters as parameters so users could use these to narrow down to one backend.
provider.get_backend(min_num_qubits=5, simulator=False)
Either way the error message could probably include all the backends that match the given criteria

+1 on it being odd. Since get_backend() raises an error if <>1 backend is found, so presumably it should take a single input that uniquely identifies a backend - in our case the backend name. Perhaps we should raise this issue with qiskit-terra where the base class is defined.


doesn't compile with the latest stable rust

getting the following while trying to compile:
Compiling deconz-exporter v0.1.0 (/root/deconz-exporter)
error[E0554]: `#![feature]` may not be used on the stable release channel
--> src/lib.rs:1:1
|
1 | #![feature(box_syntax)]
| ^^^^^^^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0554`.
error: could not compile `deconz-exporter` due to previous error
warning: build failed, waiting for other jobs to finish...

Ah! Looks like rust removed box_syntax here https://github.com/rust-lang/rust/pull/108471.  Thanks @zoltan
Do you mind sending a PR to fix this? The feature is used in just one place, so it might be trivial. https://github.com/jaseemabid/deconz-exporter/blob/main/src/lib.rs#L272-L279


add background color

Description
Added background color to the footer element so that it sits 'on top' of page content.
Fixes #104
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Closing becaue this has been stale for a long time.


Created main action script

Test invite link: https://discord.com/oauth2/authorize?client_id=923025973593649212&scope=bot&permissions=9127066640
Related: https://discordapi.com/permissions.html


[Feature Request] Batch mark chapters as read / unread

Describe the solution you'd like
Currently we can mark only a single chapter at a time as read, or an entire manga-worth of chapters. I would like to see a middle ground where we could batch mark many chapters as read (and similar for unread).
Describe a small use-case for this feature request
Often I read manga after having watched the anime. I don't want to re-read the chapters I've watched, so want to pick up where the anime left off. Currently marking each single chapter as read takes a LONG time, so would like to be able to do it en masse.
Additional context
There are a few ways I can see to do this (though I would be happy with any implementation of this feature):

Include checkboxes of some sort on each chapter so we can select the chapters we want to mark as read / unread/ Then have "Mark selected as Read" and "Mark selected as Unread" buttons at the top / bottom of the page.

Include fields at the top to mark X number of chapters as read / unread.

Make it so that the entire page doesn't reload every time you mark something as read / unread [Ideally this will be implemented as well. You should be able to update the reading progress UI without having to reload the entire page again]

I like the idea! It's not a small feature so it might take a while :-)

Added in v0.10.0. Thanks for the request!


Namespace creation is not idempotent

When running helmfile apply where a namespace already exists, helmfile fails as the namespace already exists.  It should not fail, but just use the namespace.
Steps
I am not sure if it was due to an error in a chart that cause an abortive deploy, or if it occurred when running helmfile template when I was debugging the template.

helmfile template
helmfile apply

Actual Results
ERROR:
  exit status 1

EXIT STATUS
  1

STDERR:
  Error: namespaces "linkerd" already exists

COMBINED OUTPUT:
  Release "linkerd" does not exist. Installing it now.
  Error: namespaces "linkerd" already exists

Expected Results
I expected that this process would be idempotent, where if a namespace already exists, just use it, but if it does not exist, create it.

This was a bug in the linkerd chart.


Run travis ci with all supported python versions

Codecov Report

Merging #117 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #117   +/-   ##
=======================================
  Coverage   96.06%   96.06%
=======================================
  Files           2        2
  Lines         305      305
=======================================
  Hits          293      293
  Misses         12       12

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 3194c46...c51f995. Read the comment docs.


MaxConcurrentWorkflows is not respected and always 5 workflow execution are triggered

Describe the bug
I want to set MaxConcurrentWorkflows to 1 for test a use case where caption generated is being duplicated in when multiple execution are running in parallel. For Duplicate Content in WebVTT file I will create seperate issue. currently I am not able to make Media insight engine to respect MaxConcurrentWorkflows
To Reproduce
Update CloudFormation Stack of Media Insight engine Parameter value of MaxConcurrentWorkflows to 1 and wait for cloudformation update to finish and trigger the Media Insight with 7 to 8 videos then 5 workflow will be triggered in parallel instead of 1.
Expected behavior
Only one workflow execution should run at a time.
Please complete the following information about the solution:

[x] Version:   v5.1.1

[x] Region: [eu-central-1]

[x] Was the solution modified from the version published on this repository? => NO

[x] If the answer to the previous question was yes, are the changes available on GitHub?

[x] Have you checked your service quotas for the sevices this solution uses? => Yes

[x] Were there any errors in the CloudWatch Logs? Not related

Screenshots
Not Applicable
Additional context

@bhaveshdaswani93 Can you please confirm if you are editing the parameter "MaxConcurrentWorkflows" on the fly while running the stack or are you editing the template before deploying the stack?
Have you tried using the API to read if the parameter was updated successfully? https://docs.aws.amazon.com/solutions/latest/media-insights-on-aws/api-reference.html

Closing this issue since we didn't hear back from user. Feel free to re-open with more details.


Loss stuck, not decreasing

Hi, I'm noticing a very strange loss behavior during the training phase.
Initially, the loss decreases as it should be. At a certain point, it reaches a plateau from which most of the times cannot escape.
In particular, if I use pre-extracted features without fine-tuning the image encoder, the plateau is overtaken quite immediately, as show in the following plot:

However, if I try to fine-tune, the loss get stuck forever:

I noticed that the loss stuck on a very specific value, that is 2 * (batch_size * loss_margin).
It seems that the loss is collapsing to values where the difference between positive and negative pair similarities is always 0:

and

I'm using margin = 0.2. For the pre-extracted features I used a batch size = 128, while for the fine-tuning the batch size = 32. The configuration is the very same as yours.
In general I noticed this behavior happening when the network is too complex.
Maybe the reason is that good hard negatives cannot be found if I use batch sizes less than 128. However, I have hardware constraints.
Did you notice a similar behavior in your experiments? If so, how did you solve?
Thank you very much

Thanks for reporting.
Generally, we observed that MAX loss can be harder to optimize. There are ways to reduce the difficulty:

Train with the SUM loss and make sure it achieves a reasonable performance. This is rather a sanity check for the rest of your code.
Stage-wise optimization. First, start from pretrained encoders and train only the embedding, then switch to fine-tuning and train end-to-end.
Tune the batch size. I expect the optimal batch size for MAX loss to be dataset-dependent. If the batch size is too large hard negatives can be outliers. If they are too small, it can take longer to train or the best we end up with is bounded by the SUM loss.
We have unpublished studies on the effect of a separate negative set. On MSCOCO, it happended that the optimal negative set size was the same as the batch size used (128). Depending on your setting, a large negative set could be cheaper. You can trade-off speed for a larger negative set. Choose a large negative set, compute all embeddings, get rid of activations for memory saving, match your mini-batch to a single example in the negative set, then do another forward pass only for selected pairs.
Here is a plot for varying the negative set size on MSCOCO.

Thank you very much for these hints. Actually, I think that the stage-wise optimization is the way to go. If I first optimize using SUM loss and then I resume, after 10 epochs, using MAX loss, the problem disappears and the validation metrics keep increasing smoothly.
However, I will pay attention also to the batch size, as you suggested.
Thanks again


nbdev_trust fails - assuming notebooks are in "nbs" directory?

Hi,
I'm new to nbdev, and trying to use just the hooks to have notebooks play nice with Git.
I wanted to check out the merge-conflict handling so I generated a conflict and did a pull, but nbdev_trust fails as shown here:
dlang@cn002:~/psychic-fiesta$ git pull
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 3 (delta 1), reused 3 (delta 1), pack-reused 0
Unpacking objects: 100% (3/3), 4.52 KiB | 231.00 KiB/s, done.
From github.com:dstndstn/psychic-fiesta
   f76b915..a6fe989  main       -> origin/main
Successfully merged conflicts!
Auto-merging Untitled190.ipynb
Merge made by the 'recursive' strategy.
 Untitled190.ipynb | 290 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------
 1 file changed, 244 insertions(+), 46 deletions(-)
Traceback (most recent call last):
  File "/cm/shared/apps/conda-environments/jupyterhub3/bin/nbdev_trust", line 8, in <module>
    sys.exit(nbdev_trust())
  File "/cm/shared/apps/conda-environments/jupyterhub3/lib/python3.8/site-packages/fastcore/script.py", line 119, in _f
    return tfunc(**merge(args, args_from_prog(func, xtra)))
  File "/cm/shared/apps/conda-environments/jupyterhub3/lib/python3.8/site-packages/nbdev/clean.py", line 43, in nbdev_trust
    nb = read_nb(fn)
  File "/cm/shared/apps/conda-environments/jupyterhub3/lib/python3.8/site-packages/execnb/nbio.py", line 57, in read_nb
    res = dict2nb(_read_json(path, encoding='utf-8'))
  File "/cm/shared/apps/conda-environments/jupyterhub3/lib/python3.8/site-packages/execnb/nbio.py", line 16, in _read_json
    return loads(Path(self).read_text(encoding=encoding, errors=errors))
  File "/cm/shared/apps/conda-environments/jupyterhub3/lib/python3.8/pathlib.py", line 1235, in read_text
    with self.open(mode='r', encoding=encoding, errors=errors) as f:
  File "/cm/shared/apps/conda-environments/jupyterhub3/lib/python3.8/pathlib.py", line 1221, in open
    return io.open(self, mode, buffering, encoding, errors, newline,
  File "/cm/shared/apps/conda-environments/jupyterhub3/lib/python3.8/pathlib.py", line 1077, in _opener
    return self._accessor.open(self, flags, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/home/dlang/psychic-fiesta/nbs'
dlang@cn002:~/psychic-fiesta$

where my repository contains just:
dlang@mn003:~/psychic-fiesta$ ls -1
hello.txt
README.md
Untitled190.ipynb

This seems to be coming from the default config; running nbdev_trust in pdb, I see:
> /cm/shared/apps/conda-environments/jupyterhub3/lib/python3.8/site-packages/nbdev/clean.py(34)nbdev_trust()
-> fname = Path(fname if fname else get_config().nbs_path)
(Pdb) p get_config().nbs_path
Path('/home/dlang/psychic-fiesta/nbs')

I don't even have a ~/.config/nbdev/ directory, so it's not immediately obvious where to change this.  (Yeah,
This web page suggests that the nbdev hooks are supposed to be usable for "any git repo, including those that don’t use the broader nbdev system.".... but this config default seems to break that promise, and isn't mentioned in the "Configuring nbdev hooks" section.
https://nbdev.fast.ai/tutorials/git_friendly_jupyter.html

I did eventually figure out that I can create the directory & file
~/.config/nbdev/settings.ini
with contents
[DEFAULT]
nbs_path =

to change this setting.  But if the goal is to be broadly useful, I would argue this should already be the default.  And if that's not desired in your broader nbdev context, then I feel the git-friendly-Jupyter page ought to be updated to mention this.  Thanks.

Worth noting that the current versions of nb_test shows a similar issue. I was able to solve another way by just placing an empty nbs folder in the top directory of my project. Regardless, as it stands right now, the functions listed in modular_nbdev don't seem to work on a non-nbdev project without additional steps that aren't listed in the documentation.


Fix haskellcomplete: reset variables

So further completions work properly

You probably want to send this to https://github.com/alx741/haskellcomplete.vim

You probably want to send this to https://github.com/alx741/haskellcomplete.vim

Yes, I am the maintainer of https://github.com/alx741/haskellcomplete.vim (and haskellcomplete.vim in the runtime of course) I'm trying to reflect the changes upstream... Should I do it some other way?

any updates on this?

the prefered way to send updates of runtime files is to send the complete files for inclusion with Vim to Bram directly.

Don't you update the "Last Change" date in the header?

Don't you update the "Last Change" date in the header?

oh! I forgot about that, will change it
Will send the new file to Bram then. Thanks guys

Codecov Report

Merging #4371 into master will increase coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4371      +/-   ##
==========================================
+ Coverage   80.38%   80.45%   +0.07%
==========================================
  Files         105      109       +4
  Lines      142461   142725     +264
==========================================
+ Hits       114519   114834     +315
+ Misses      27942    27891      -51

Impacted Files
Coverage Δ

src/channel.c
83.51% <0%> (-0.08%)
:arrow_down:

src/os_unix.c
60.63% <0%> (-0.05%)
:arrow_down:

src/json_test.c
100% <0%> (ø)

src/memfile_test.c
100% <0%> (ø)

src/kword_test.c
66.66% <0%> (ø)

src/message_test.c
100% <0%> (ø)

src/mbyte.c
65.29% <0%> (+0.19%)
:arrow_up:

src/memfile.c
79.05% <0%> (+0.21%)
:arrow_up:

src/message.c
76.6% <0%> (+0.24%)
:arrow_up:

src/gui_gtk_x11.c
48.91% <0%> (+0.29%)
:arrow_up:

... and 4 more

Continue to review full report at Codecov.

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

Included now, sorry it took so long.


HttpRequestClientHostIPEnricher throws exception with ASP.NET Integrated Mode

Logging events from Application_Start in global.asax can throw Exception if enriching with HttpRequestClientHostIPEnricher
for background/discussion see http://stackoverflow.com/questions/2518057/request-is-not-available-in-this-context

This is fixed by #9.

@nblumhardt
Seemingly not fixed, I'm using the current version and experiencing this.

Ah yes good catch 👍
I didn't know about this HttpContext.Current.Request getter throwing in some cases ... that seems like an unpleasant violation of the principle of least astonishment, but 🤷♂  ...
A quick search for HttpContext.Current in this repo reveals that we are using it in many places.
I understand that the only problematic one is HttpContext.Current.Request , and that HttpContext.Current.Items , HttpContext.Current.Session, HttpContext.Current.User are safe to use ? (i.e. they might be null, but accessing the property won't throw an exception) ... I haven't done any ASP.NET in quite a while.

@douglasg14b SerilogWeb.Classic 5.0.56  has just been released , it should fix the issue.

Thanks! I'll give it a try when I'm next able to get a bug fix iteration approved.


Added vendor-github.yml and vendored the latest openshift-ansible byo installer from github.

:+1:  in STG pr #421


can I add tables synchronization to PG at any time?

My MySQL database has a capacity of 1600GB, full table synchronization to PG time is too long, and some data is not needed. I hope to synchronize some of the tables to the PG, but if the requirements change, I can always select some other table synchronization to the PG, how to achieve this requirement?
I tried to add a new source, but the error message:
There is a duplicate destination schema in the schema mappings
What should I do? thanks

hi, it's possible of course.
if you need to add a new table to the replica just add it to the list of limit_tables: specifying the table in the form SCHEMA.TABLE
then you shall run the command
chameleon.py sync_tables --source <your_source> --tables schema.table1,schema.table2 etc
After the sync is done you can start the replica and the tables will catch up with the consistent status eventually.
Details about the command line reference are here. http://www.pgchameleon.org/documents_v2/usage.html#command-line-reference
If you need to sync an entire schema there is also the command refresh_schema which does the same as sync_tables.

Great, I test it and it works, that's  exactly what I needed.
2017-12-11 20:27 GMT+08:00 Federico Campoli<EMAIL_ADDRESS>
hi, it's possible of course.
if you need to add a new table to the replica just add it to the list of
limit_tables: specifying the table in the form SCHEMA.TABLE
then you shall run the command
chameleon.py sync_tables --source <your_source> --tables
schema.table1,schema.table2 etc
After the sync is done you can start the replica and the tables will catch
up with the consistent status eventually.
Details about the command line reference are here.
http://www.pgchameleon.org/documents_v2/usage.html#command-line-reference
If you need to sync an entire schema there is also the command
refresh_schema which does the same as sync_tables.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/the4thdoctor/pg_chameleon/issues/50#issuecomment-350710492,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGvNtYxJT7qm2KpKJ58FG-NVIujLoh8Hks5s_R_OgaJpZM4Q9IqQ
.

Happy to help :-)


Broken cable cuffs and zipties can't be put in trash bags

Broken cable cuffs and broken zipties are missing the trash tag

If by broken cables you mean when cables get ripped up from the floor by explosions, I, as an engineer, would prefer janitors not trash all of those cables forcing me to go grab a fresh roll (if i can find them at all/they are not taken already)

If by broken cables you mean when cables get ripped up from the floor by explosions, I, as an engineer, would prefer janitors not trash all of those cables forcing me to go grab a fresh roll (if i can find them at all/they are not taken already)

i am talking about cable cuffs, that snaps after uncuffing someone which turns into broken cable

edited to make it hopefully more clear


Assert the response has a given data-structure

Assert that the JSON response has a given structure with contents.
Example:
        $jsonStructureContains = [
            'status' => 'success',
            'message' => '*',
            'code' => 2000,
            'data' => [
                'results' => [
                    '*' => [
                        'id' => '*', 'lat' => '*', 'lng' => '*', 'saved_address' => true
                    ]
                ],
                "total" => '*',
                "paginate" => []
            ]
        ];
        $response->seeJsonStructureContains($jsonStructureContains);

Please send to 5.4, or indeed, the new replacement package we have if this part is no longer in 5.4.

https://github.com/laravel/browser-kit-testing

@GrahamCampbell to master?


Emphasize parameters that affect the current step (Trac #80)

For example, perhaps the labels for the voltage and frequency text inputs could mention that they are for the current step.
Migrated from http://microfluidics.utoronto.ca/microdrop/ticket/80
{
    "status": "closed",
    "changetime": "2014-04-17T19:39:01",
    "description": "For example, perhaps the labels for the voltage and frequency text inputs could mention that they are for the current step.",
    "reporter": "cfobel",
    "cc": "",
    "resolution": "fixed",
    "_ts": "1397763541728826",
    "component": "microdrop",
    "summary": "Emphasize parameters that affect the current step",
    "priority": "major",
    "keywords": "",
    "version": "0.1",
    "time": "2012-03-24T00:06:03",
    "milestone": "Microdrop 1.0",
    "owner": "ryan",
    "type": "enhancement"
}

Trac update at 20120329T17:00:47:

<EMAIL_ADDRESS>commented:

commit 51e8b0e4764f714f3fd511dd5e56faddff43aa80
Author: Ryan Fobel<EMAIL_ADDRESS>Date:   Thu Mar 29 10:49:05 2012 -0400
Update GUI re: #84, #85

Fixes #84 by emphasizing that the Voltage, Frequency, Duration parameters relate
to the current step. Rename "duration" to "minimum duration" (#85) but to close #85,
we should also rename the duration member of DmfControlBoardOptions so that it
is also reflected in the protocol grid, or better yet, pull the duration
parameter out of the dmf_control_board plugin since it is actually more general.

<EMAIL_ADDRESS>changed resolution from "" to "fixed"
<EMAIL_ADDRESS>changed status from "new" to "closed"

Trac update at 20140313T20:02:55: ryan changed milestone from "1.1" to "1.0"

Trac update at 20140417T19:39:01: ryan changed component from "gui" to "microdrop"


Error when opening top-level or sample project in Android Studio

Describe the bug
I'm unable to successfully import either the top-level project or one of the sample projects into Android Studio or IDEA.  When I do so, the Build output console in the IDE displays an error.
To Reproduce
Steps to reproduce the behavior:

git clone the top-level project
In either IDE: Import the project.  In Android Studio - In the IDE welcome dialog select Open an existing Android Studio project.  Select the directory containing Acorn.  The IDE loads the project.
When the project is done loading the following error is displayed in the Build output console:

Unable to load class 'org.gradle.execution.taskgraph.TaskInfo'.
Possible causes for this unexpected error include:Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.

Expected behavior
I should be able to import the project and perform a build successfully.
Stack trace
Here's an abbreviated version of the stack trace:

Environmental info (please complete the following information):

Intellij IDEA 2018.3.4, Android Studio 3.3
OS: Mac Mojave 10.14.2

The sample projects are part of the entire projects, so it is intended to open the top-level project.
I'm not really sure what this error causes, but currently the master branch uses AGP 3.4.0-alpha10. When I import it into AS 3.3 I get a specific error:
FAILURE: Build failed with an exception.

* What went wrong:
This version of Android Studio cannot open this project, please retry with Android Studio 3.4 or newer.

You could try downgrading the AGP to 3.3.0:
Index: build.gradle
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- build.gradle	(revision a4853b07ee031dd07614f82121a271f19ebcfb95)
+++ build.gradle	(date<PHONE_NUMBER>000)
@@ -8,7 +8,7 @@

     configurations.maybeCreate("pitest")
     dependencies {
-        classpath("com.android.tools.build:gradle:3.4.0-alpha10")
+        classpath("com.android.tools.build:gradle:3.3.0")
         classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
         classpath("de.mannodermaus.gradle.plugins:android-junit5:<IP_ADDRESS>")
         classpath("com.adarshr:gradle-test-logger-plugin:1.6.0")

When I do this, the project syncs and builds fine in AS 3.3.
Does this work for you?

Nevermind!
After trying ./test at the command line, I got this:

> FAILURE: Build failed with an exception.

* Where:
Initialization script '/Users/bayo/.gradle/init.gradle' line: 10

* What went wrong:
Failed to apply plugin [class 'com.dorongold.gradle.tasktree.TaskTreePlugin']
> Could not create task ':taskTree'.
   > Could not generate a proxy class for class com.dorongold.gradle.tasktree.TaskTreeTask.

Sure enough, the source of the problem was in the file specified above.  Removing TaskTreePlugin allowed me to run ./test.
Then I discovered that I couldn't import the project into Android Studio 3.3.  I got a message saying a more recent version of the IDE is required.
That was solved by downloading and installing Android Studio 3.4 Preview.  But then AS gave a dialog saying The project is using an incompatible version of the Android Gradle plugin, with the option to have AS update the plugin.  I chose that and was able to complete the import of the project into AS.

Cool, good to hear!

Thanks for your prompt response and willingness to help!  :)


std:prt_fun is removed in c++17

Expected behaviour
compile with c++17
Actual behaviour
doesn't compile
restclient-cpp/helpers.h(56): error C2039: 'ptr_fun': is not a member of 'std'
Environment and debugging details
msvc 17/windows 10
https://en.cppreference.com/w/cpp/utility/functional/ptr_fun

work to address this is happening in https://github.com/mrtazz/restclient-cpp/pull/127

closed via https://github.com/mrtazz/restclient-cpp/pull/127


[Gardening] 'throw' is not an expression keyword

Remove the workaround in CodeCompletion for this.
Noticed while fooling around with Twitter Koans.

@swift-ci please smoke test

⛵


Implement 'alsa library is not found' panic.

Replace the deprecated 'find_library' function.
show a more user-friendly message if the alsa library is not found.

Thanks! I merged the new version and adjusted the wording slightly.


Rerun some ARGOS orgs for the Paper

Rerun at least 20 organisms (that are already in ARGOS) for the QC paper. These will be additional tables. This task is linked to the one on creating a page about the orgs and why I chose them and how the data is more useful

Currently at 11/20 organisms as of today. Will continue.

Currently at 18/20. With ARGOS being funded, we will continue our processing of the bioproject. I will close this now as I am projected to complete the 20 today


Proposal: rename timeline._events to timeline.events

The events property of timelines currently starts with a _. This seems to tell me, I should not access it from outside. This is done all the time though, both in editor, and probably by people who want to create timelins through code.
Either we need to change the way this is accessed, or I would consider renaming it.

Agreed 👍

Fixed as of https://github.com/coppolaemilio/dialogic/commit/e8328ec96619c1deeceed902b34dc2d61a0c63ef
Also renamed _events_processed for the same reason


feat: support go-redis/v9

Add support for new go-redis version v9.
The Hook interface has changed significantly in v9.
// old v8
type Hook interface {
	BeforeProcess(ctx context.Context, cmd Cmder) (context.Context, error)
	AfterProcess(ctx context.Context, cmd Cmder) error

	BeforeProcessPipeline(ctx context.Context, cmds []Cmder) (context.Context, error)
	AfterProcessPipeline(ctx context.Context, cmds []Cmder) error
}

// new v9
type Hook interface {
	DialHook(next DialHook) DialHook
	ProcessHook(next ProcessHook) ProcessHook
	ProcessPipelineHook(next ProcessPipelineHook) ProcessPipelineHook
}

type (
	DialHook            func(ctx context.Context, network, addr string) (net.Conn, error)
	ProcessHook         func(ctx context.Context, cmd Cmder) error
	ProcessPipelineHook func(ctx context.Context, cmds []Cmder) error
)

Hi, are you a user of this repo ? Actually, we want to archive this repo. Users are suggested to use OpenTelemetry.

Yes,I'm a user of this repo.In this case,should I close this pr?

OpenTracing is officially archived by CNCF, please use OpenTelemetry instead.

Thank you,I will close this pr.


Provide some addtional information on the definition of "Cloud scenario"

Type of issue
Missing information
Description
The document should provide additional information on what is "Cloud scenario" which can be any of the following or even entirely different concepts

Application is on windows VM on any cloud
Application is on Linux VM on any cloud
Application is on Docker on or not on any cloud
Application is using hosted cloud services such as Azure AppService or Elastic Beanstalk
Database is on cloud ?

Page URL
https://learn.microsoft.com/en-us/ef/ef6/saving/transactions#passing-an-existing-transaction-to-the-context
Content source URL
https://github.com/dotnet/EntityFramework.Docs/blob/main/entity-framework/ef6/saving/transactions.md
Document Version Independent Id
dcb6d719-ffc2-2796-c82c-b9873b74cb76
Article author
@ajcvickers

This issue has been closed because EF6 is no longer being actively developed. We are instead focusing on stability of the codebase, which means we will only make changes to address security issues. See the repo README for more information.


Add git status to Ribasim CLI wrapper version

Fixes #1475
ribasim -V
ribasim 2024.8.0-68-g333e2ac-dirty

What's a bit ugly is that the Cargo.toml is now in a dirty state, but for CI builds that doesn't matter.

We could do a similar thing to the Project.toml of the Julia core (as that is printed on running).

This looks nice. Do I understand the format right? ribasim 2024.8.0-68-g333e2ac-dirty means 68 commits after git tag 2024.8.0, last commit g333e2ac, and dirty means you have local uncommitted changes. And for a release it is still just 2024.8.0?

What's a bit ugly is that the Cargo.toml is now in a dirty state, but for CI builds that doesn't matter.

Does this also mean that -dirty is always added? Or just that the act of building always makes Cargo.toml dirty?
What I like now is that we always have uniform version numbers. By applying this enhancement to the CLI version number, we don't have that anymore for non-release builds.
The version number now exists in these places: https://github.com/Deltares/Ribasim/pull/1462
This test still works with this change: https://github.com/Deltares/Ribasim/blob/333e2acc23a7789b3f35f469ff3920a3a226dddd/build/tests/test_cli.py#L33
This version number is still the latest release:
https://github.com/Deltares/Ribasim/blob/333e2acc23a7789b3f35f469ff3920a3a226dddd/core/src/libribasim.jl#L176-L181
This format does seem to somewhat work with Julia's VersionNumber:
julia> dump(VersionNumber("2024.8.0-68-g333e2ac-dirty"))
VersionNumber
  major: UInt32 0x000007e8
  minor: UInt32 0x00000008
  patch: UInt32 0x00000000
  prerelease: Tuple{String}
    1: String "68-g333e2ac-dirty"
  build: Tuple{} ()

julia> Ribasim.pkgversion(Ribasim)
v"2024.8.0-68-g333e2ac-dirty"

Though if it is easier we could also stop setting the Ribasim version in Project.toml, since we don't use SemVer anyway. We could just set it to 1 and use a constant String in the code.
The clap docs also refer to https://crates.io/crates/shadow-rs for these kinds of things, perhaps that is less hacky? Don't know how / if this is worth doing for python.

Also, shouldn't we bump the version number to 2024.9.0 directly after tagging 2024.8.0? To clarify it is a pre-release of 2024.9.0.

This looks nice. Do I understand the format right? ribasim 2024.8.0-68-g333e2ac-dirty means 68 commits after git tag 2024.8.0, last commit g333e2ac, and dirty means you have local uncommitted changes. And for a release it is still just 2024.8.0?

Yes.
git describe --tags
v2024.8.0-71-g6b97f732
# Full commit information
git show v2024.8.0-71-g6b97f732

Does this also mean that -dirty is always added? Or just that the act of building always makes Cargo.toml dirty?

The latter.

This format does seem to somewhat work with Julia's VersionNumber:

I've indeed made sure it works for both Rust and Julia's version semantics (both use semver).

What I like now is that we always have uniform version numbers. By applying this enhancement to the CLI version number, we don't have that anymore for non-release builds.

Agreed, but that caused our confusion when comparing our builds locally. Non-release builds should only be for testing and comparing, and having this information really helps.

Though if it is easier we could also stop setting the Ribasim version in Project.toml, since we don't use SemVer anyway. We could just set it to 1 and use a constant String in the code.

When one set versions programmatically on release, I have seen versions like 0.0.0 in code as placeholder. Not sure if that change makes sense at the moment, but I do think we have too many version strings now.

The clap docs also refer to crates.io/crates/shadow-rs for these kinds of things, perhaps that is less hacky? Don't know how / if this is worth doing for python.

That's a nice crate, it's the external version of our metadata code in Julia. However, I think ideally we have the version in the Julia source code, and other parts (Rust/Python) access it from there. Julia itself has a shellscript to bake the (git) versions into the Base code.

Also, shouldn't we bump the version number to 2024.9.0 directly after tagging 2024.8.0? To clarify it is a pre-release of 2024.9.0.

That would depend on our release branches/management (never patch releases?). For now our approach seems to work fine though?

If we switch to directly updating the version number post-release, will this approach still work?

If we switch to directly updating the version number post-release, will this approach still work?

No, as it currently uses the git tag. Neither will the information that's now been made in add_metadata be correct. We could change it to use the Julia version instead, and suffix it.
But I'm hesitant to make such changes here, let's discuss design in a new issue first.

Sounds good, feel free to merge.


README File of the Python Folder Modification.

💥 Proposal
The README.md file of python folder needs to be updated.
The README file is not containing all the programs that are under the sub-folders, on addition to this few programs are added to the wrong title (example: Data structure programs are added under graphs section) and there are 2 sections for searching, sorting, graphs and competitive programming and programs are added twice because of this reason.
Have you read the Contributing Guidelines on Pull Requests?
Yes.

Yeah no need we are already rename and fixing all this issue.

@ankitaggarwal23 I have already updated the readme file . I you can check once. Pull request #6322.
Thank you in anticipation.

@ankitaggarwal23 I have already updated the readme file . If you can check once. Pull request #6322.
Thank you in anticipation.

No you did only for python we already working for all the files almost done just we have to push the changes.


[Bug] Occasional Server Load while editing/saving configs in GUIs

Server hangs while in GUI, usually when clicking checkmark, for 100-300 ticks.  Have repeated about 7-10 times. Log outputs this: https://pastebin.com/u2iz3fBc
Using Purpur, ask me for other plugins or configs.

The cause of this is that when the save button is clicked the configs are saved and loaded for validation. It seems like in your case Windows choked when trying to check if a file exists, either due to a slow drive or some other issue. I haven't seen this issue on Linux, and it doesn't impact performance when not actively editing configs, so this is not an important issue to me, although it would be possible to optimize this a bit to avoid this problem.

The issue should be even lesser in 1.8.0+, closing this. If there are still issues with the newest build feel free to open a new issue.


Support Invoking Modules/Classes from JS in C#

I can see this is possible from C# to JS like so
var calculator = new Calculator();
messenger.RegisterObject(calculator)

How do I do this for JS? It seems I can only invoke functions from the window context.

Does this mean that you want to call a member function of an object on the JS side as an instance of a class object from the .NET side?
.NET Proxy feature on https://github.com/kekyo/DupeNukem/issues/5#issue-1183238546 for example?
This issue eventually pivoted to being able to pass a callback function. The reason is that I felt that if the callback function could be implemented, it would no longer be necessary. However, the callback function is a different method than the realization of a proxy feature, so it is not exactly a replacement.
Do you think this function should be there?

I think not to this extent but I want to be able to do call functions from a class/module from JavaScript in C#
Let's say this is JS
let calculator = new Calculator(); // declaring using let will not attach calculator to window
messenger.RegisterObject(calculator) // so we need a way to expose it to C#

I should be able to do this in C#
invokeClientMethod(`calculator.add`, 1,2);

@geocine Sorry too later :(
I remembered that I had implemented it to accept that operation, so I wrote some test code:
https://github.com/kekyo/DupeNukem/pull/21/commits/4132b6b8c21bc1aef06e14d0c26a384244102bfb
JavaScript classes like this one:
class JSCalculator {
  async add(a, b) { return a + b; }
  async sub(a, b) { return a - b; }
};
var jscalc = new JSCalculator();

It can be called like this:
            var result_jscalc_add = await messenger.InvokePeerMethodAsync<int>(
                "jscalc.add", 1, 2);

If you could check out this commit and give it a try, you can confirm this. However, it may just be my environment, but now in Edge WebView2, the apply function in the JavaScript is not working correctly, so the call after the Ready event does not complete (I checked all other environments, only Edge WebView2 is abnormal (I checked all other environments, but only Edge WebView2 is out of order).


feat(kepler): upgrade to kepler 0.6 release

DRAFT PR to ensure that the configmap for kepler is in sync with kepler repo.

Please note that https://github.com/sustainable-computing-io/kepler/issues/971 may be relevant


1.18?

What is the current status of 1.18 support?

https://github.com/MeowMC/PortalGun/releases/tag/v3.0.0


Update views and serializers for songs and change_room_icon, created update function for comments

please pull and push again after my merge, thank u. want to push test coverage now.


DEBU = False mode getting server error after includeing my ip in allowed_hosts[]

Hi,
In production server, i set DEV=False and debug=False than my IP added to allowed_hosts. but its getting server error 500. Now how can i fix the issue.whats wrong with my settings , But in development mode everything works fine

allowed_hosts refers to the name being used to access. Are you using http://your_ip to access or http://something_else . if it is something_else that is what should go in allowed_hosts.

allowed_hosts matches whatever is in the incoming HTTP Host: header (the base URL from the address bar in your browser, normally). This setting is disabled when running DEBUG=True, which is why it works in development. Please see: https://docs.djangoproject.com/en/1.7/ref/settings/#allowed-hosts
Closing this ticket. If you're still having problems, feel free to re-open and post additional details.


Improve design on high quality viewports

Some screens must be reviewed and fixed in 1080p or higher.
1 - Comments section

2 - Articles section

Resolved


Wrong join in run-filter?

In
https://github.com/iiasa/ixmp4/blob/3f45bba201de4a448f5e7be930b9e6593fb59d49/ixmp4/data/db/filters/run.py#L29
the Run-table is joined to TimeSeries. But I don't understand why Run should always be joined to TimeSeries, which seems wrong when filtering just for the runs or for meta-indicators...
Is this an error?

If you remove these lines and run the core/test_run.py tests, they will pass, but yield this output:
=========================================== warnings summary ============================================
tests/core/test_run.py::TestCoreRun::test_filter_run[test_sqlite_mp]
tests/core/test_run.py::TestCoreRun::test_filter_run[test_api_sqlite_mp]
  /home/fridolin/ixmp4/.venv/lib/python3.12/site-packages/pandas/io/sql.py:1600: SAWarning: SELECT statement has a cartesian product between FROM element(s) "run" and FROM element "region".  Apply join condition(s) between each element to resolve.
    return self.con.execute(sql, *args)

tests/core/test_run.py::TestCoreRun::test_filter_run[test_api_sqlite_mp]
  /home/fridolin/ixmp4/ixmp4/data/db/base.py:275: SAWarning: SELECT statement has a cartesian product between FROM element(s) "iamc_timeseries" and FROM element "run".  Apply join condition(s) between each element to resolve.
    return self.session.execute(_exc).scalar_one()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

My guess is that RunFilter is widely used (almost every other kind of filter is inheriting from it, so that's why we could have an SQL execute statement here that isn't joined with the Run table. And SQLAlchemy tells us that in this case, it doesn't quite know how to join the tables and we should clarify it by applying join conditions (if I understand the warnings correctly).

Not an error. That just the default join method because thats how it almost always needs to work.
Just override the function with return exc to avoid the join.
Or find a better structure for this in general...


General Debugging

Add check for valid filename
Add missing characters to regex
Fix login password input immediately closes

@jsrayko Thanks for this fix. I added that together with https://github.com/meagar/himama-dl/pull/6 and got a working version for my single-child profile. Seems to be working OK on an ARM64 Linux machine.


Error parsing XML

When parsing the result XML (copied from ARC Raw tab):
<feed xml:base="https://test.domain.com" xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><id>urn:uuid:f82dc2a7-2ca0-4414-91f6-2ff1e025e165</id><title type="text">System On-Demand</title><updated>2014-08-20T05:00:00Z</updated><author><name>System</name><uri>http://domain.com/</uri></author><category term="J45" scheme="mainSearchCriteria.v.c" /><category term="2.16.840.1.113883.6.90" scheme="mainSearchCriteria.v.cs" /><subtitle type="text">System On-Demand Infobutton Results</subtitle><entry xml:lang="en"><id>tag: test.domain.com, 2014-20-08:/HealthSheet.aspx3,82427</id><title>Asthma, Understanding</title><updated>2014-08-20T05:00:00Z</updated><link href="https://test.domain.com/HealthSheet.aspx?id=82427aa&ContentTypeId=3&type=custom&AccessToken=B4L385DM5DQHZA5Z766MBJN01" rel="alternate" type="html" hreflang="aa" title="Asthma, Understanding" /><link href="https://test.domain.com/HealthSheet.aspx?id=82427&ContentTypeId=3&type=custom&AccessToken=B4L385DM5DQHZA5Z766MBJN01" rel="alternate" type="html" hreflang="en" title="Asthma, Understanding" />
Asthma disease description<category term="J45" scheme="mainSearchCriteria.v.c" /><category term="2.16.840.1.113883.6.90" scheme="mainSearchCriteria.v.cs" /></entry></feed>
I get the following error:
There was an error parsing XML data
NAMESPACE_ERR: The namespace declaration is incorrect
Expected outcome
I believe this XML is valid as I've checked it with several validators and with C# XML libraries. I'm not sure what the issue is.
Actual outcome
Received the error:
There was an error parsing XML data
NAMESPACE_ERR: The namespace declaration is incorrect
Versions
App: <IP_ADDRESS>-stable
Chrome: 50.0.2661.102
Platform: Windows (7)
Steps to reproduce

Well, everything is running locally for me. I'm not sure you can reproduce it?

Thanks for an issue report.
It looks like the xml.js liblary used to parse XML document result with exception. After some digging I noticed that the proper namespace declaration should looks like xmlns:base instead of xml:base. This attribute causing the problem.
Please, check documentation for namespace declaration https://www.w3.org/TR/xml-names/#ns-decl, especially:

The prefix xml is by definition bound to the namespace name http://www.w3.org/XML/1998/namespace. It MAY, but need not, be declared, and MUST NOT be bound to any other namespace name. Other prefixes MUST NOT be bound to this namespace name, and it MUST NOT be declared as the default namespace.

I can guess that other parsers in C# do not respect this rule. It doesn't change that it's wrong declaration and therefore it should not be used. Other libraries may not have this exception and your code will break.
Taking it into the account I'd be inclined to close this issue as WAI.

OK. Thank you for the information. I'll get it fixed in our XML parser.

The attribute xml:base is correct and defined here
https://www.w3.org/TR/xmlbase/

The example above will now work properly in ARC.
See #719 for more information.


Update readme

Purchasing a product is as simple as:
Includes only the step of [[RMStore defaultStore] addPayment:... success:...
But actually it is necessary to call requestProducts first.

True. The aim of the first example is to give an idea of how the library works. Mentioning request products in the intro wouldn't add too much value.


std.utf.encode should return ubyte

schveiguy (@schveiguy) reported this on 2016-02-03T16:48:27Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=15642
CC List

lucia.mcojocaru

Description
std.utf.encode accepts at most a char[4] array, then returns a size_t to let you know how many elements were filled.

Let's say you have a char[4] in a struct, and you want to store how much was encoded, would you use another 12 bytes (8 for the size_t, 4 for alignment) to store the "valid elements" in the struct to hold a number from 1 to 4?

It should be backwards compatible with any code that uses a size_t.

schveiguy (@schveiguy) commented on 2017-03-31T23:15:33Z
There was an attempt to fix this, but it died in committee.

https://github.com/dlang/phobos/pull/5077


Fix alt text and heading levels

Fixes #799

Alt text on images

There were few images in the EF Core doc set, added alt text to them.
EF6 docs had alt text automatically populated from the file name.  I added spaces between words so screen readers can read them.  I did not correct capitalization.

Heading level coherence

EF Core doc set - Reviewed all docs and saw relatively few issues.  One pattern I changed in a few places:  an H2 followed by a large number of H3s, where it would work just as well to have the H3s as H2s following the firsst H2. That also makes the doc more scannable because the H2s appear in the internal TOC.  Another issue I fixed -- some headings had links in the heading.
EF6 docs - spot checked rather than review every doc, found and fixed similar issues.

@divega When you created #799 were there any specific instances you had in mind?

@tdykstra no, I didn't have any specific instances in mind.


Python 3.6 SyntaxError: future feature annotations is not defined

setup.py says it is puython 3.6 compatible, however..
/python3.6/site-packages/data_browser/models.py", line 1
    from __future__ import annotations
                                     ^
SyntaxError: future feature annotations is not defined

That's my reward for not having CI sorted, I will look into what can be done about removing the future import.

I'm flexible; IMO targetting 3.7+ is ok.
We disable this app in production anyways, but it is great for dev work, and our devs are usually on 3.8.  Thanks for the great app.

That was surprisingly easy, the 2.0.4 version works with 3.6. And now there's CI and Tox to make sure it doesn't break again and to check that we're good with all of the >2 verions of Django.

Thanks


Is there an Example on how to handle file uploading?

const submitFiles = () => {
  console.log('Email:', email.value);
  console.log('Files:', fileNames.value);

  hook.upload("image", files.value);
  hook.pushEvent("save", { email: email.value })
};

This is what I thougt would work not sure on the server side

To be honest I didn't yet try to tackle file uploads with LiveVue.
Would be amazing if you could try to make it working. useLiveVue returns a hook instance with upload method. Just I'm not sure if it would be enough, there's likely some more to the mix, probably there's a need for a form with correct inputs.


Ledvance GU10 „Not Supported“

Issue

Ledvance GU10 Bulbs (non native Homekit) appear as not supported since last update. Other non native Bulbs work fine.
Log Messages

Debug Files

Please attach the debug dump file and a screenshot of Home showing the settings of the unsupported device.

homebridge-hue.json.gz
screen-not-supported-details
I´m sorry for leaving them out earlier. Had difficulties on the phone doing so. Here is the dump file and a screenshot of the Home-App schowing "Nicht unterstützt" = "not Supported"

Can you show the setting of one of those tiles?

You mean this? Already attached to my first reply: https://user-images.githubusercontent.com/67697036/128130664-badd5f87-5949-4e5b-9b3f-8ca7afb2837a.jpg

Yes, thanks.

Very odd.  Looking at the dump file the Hue bridge exposes the light correctly.  Is this the case for all four LEDVANCE spots, or just the two Büro spots?  What about the innr Büro bulb?  Did you recently rename them?  Maybe someone is unhappy about the umlaut?  I haven't seen this before, though.
Were there any errors in the Homebridge log?  Could you please capture and attach a debug dump, with the debug messages from when Homebridge Hue is starting up?  Do you know what version you upgraded from?

Thank you for your quick replies. Really appreciate it.
there should not be any innr bulb anymore. Yes this is also happening in the „Badezimmer“
i have updated from a version which has been 6 months old. I‘m sorry i don‘t have the old version number on hand.
i am on vacation until next tuesday and will deliver the logs then if that is okay with you.

there should not be any innr bulb anymore.

The dump file (from early this morning) lists three innr RF 265 bulbs: "Schlafzimmer Bulb 2", "Büro Bulb 4", and "Schlafzimmer Bulb 1".  All three of them are reported reachable.

Yes this is also happening in the „Badezimmer“

So not released to the umlaut in the name.

i am on vacation until next tuesday and will deliver the logs then if that is okay with you.

Sure.
The "funny" part is that, by the looks of it, Homebridge Hue exposes the accessory for the spot alright, but not the Lightbulb service, causing HomeKit to show an unsupported tile.  If I still understand my code, that would happen only if there's an error processing the resource, hence the request for the debug log file.  Could you remotely have a look what the spot looks like in Eve?  In particular, if it shows anything under Names or Type & Names in the accessory info screen (behind the little gear icon).  You might need to find the accessory under Accessories  in the Settings window.

Ahh. Now i know which innr. Yes in the bedroom and these work fine.
here are screenshots from eve

That doesn't work; it's a link to this very page.

Worked now?

Indeed, no service here either.

Alright, I´m back. Attached you´ll find the syslog startup.
Sidenote: I deleted one of the four lights in Hue, restarted Homebridge to clear the light. Then i have added the light with a new name "Deckenlicht 1" and restarted homebridge again.
The result is the same as can be seen in the screenshot. I checked syslog and your plugin exposes this new light to homekit.
One thing i noticed is that the lights are the only ones in my home labeled as "Extended Color Light", whereas other "Dimmable Light" just work fine.

syslog.txt

You're running an older version of Homebridge (and HAP-NodeJS), which hasn't defined the characteristics used for Adaptive Lighting:
Aug 11 08:22:36 raspberrypi homebridge[328]: [8/11/2021, 08:22:36] [Hue] Initializing Hue platform...
Aug 11 08:22:36 raspberrypi homebridge[328]: [8/11/2021, 08:22:36] [Hue] homebridge-hue v0.13.19, node v12.2.0, homebridge v1.1.6
Aug 11 08:22:36 raspberrypi homebridge[328]: [8/11/2021, 08:22:36] [Hue] warning: recommended version: node v14.17.4 LTS
Aug 11 08:22:36 raspberrypi homebridge[328]: [8/11/2021, 08:22:36] [Hue] warning: recommended version: homebridge v1.3.4
Aug 11 08:22:36 raspberrypi homebridge[328]: [8/11/2021, 08:22:36] [Hue] config.json: nupnp: invalid key

This causes an error when Homebridge Hue tries to expose the Lightbulb service:
Aug 11 08:22:37 raspberrypi homebridge[328]: TypeError: Cannot read property 'updateValue' of undefined
Aug 11 08:22:37 raspberrypi homebridge[328]:     at new HueLight (/usr/lib/node_modules/homebridge-hue/lib/HueLight.js:479:9)
Aug 11 08:22:37 raspberrypi homebridge[328]:     at HueAccessory.exposeLightResource (/usr/lib/node_modules/homebridge-hue/lib/HueAccessory.js:235:19)
Aug 11 08:22:37 raspberrypi homebridge[328]:     at HueAccessory.exposeLightResources (/usr/lib/node_modules/homebridge-hue/lib/HueAccessory.js:225:12)
Aug 11 08:22:37 raspberrypi homebridge[328]:     at HueAccessory.expose (/usr/lib/node_modules/homebridge-hue/lib/HueAccessory.js:123:8)
Aug 11 08:22:37 raspberrypi homebridge[328]:     at HueBridge.exposeResources (/usr/lib/node_modules/homebridge-hue/lib/HueBridge.js:589:49)
Aug 11 08:22:37 raspberrypi homebridge[328]:     at HueBridge.accessories (/usr/lib/node_modules/homebridge-hue/lib/HueBridge.js:118:16)
Aug 11 08:22:37 raspberrypi homebridge[328]:     at processTicksAndRejections (internal/process/task_queues.js:89:5)
Aug 11 08:22:37 raspberrypi homebridge[328]:     at async Promise.all (index 0)
Aug 11 08:22:37 raspberrypi homebridge[328]:     at HuePlatform.accessories (/usr/lib/node_modules/homebridge-hue/lib/HuePlatform.js:234:29)

One thing i noticed is that the lights are the only ones in my home labeled as "Extended Color Light", whereas other "Dimmable Light" just work fine.

Indeed, Adaptive Lighting is only for Extended Color Light and Color Temperature Light lights.
I'm afraid you'll have to upgrade your Homebridge installation.  Downgrading Homebridge Hue will probably not work, as you need a recent version with changes to support the latest Hue bridge firmware.

Thank you. You are totally right. Was afraid updating right away but did now after backup. Had to recreate all scenes and automations using these lights but they work just fine now.
thank you for your patience and help!


Add missing websocket BBEs in the module.md

Purpose
$Subject
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #24154 into ballerina-1.2.x will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           ballerina-1.2.x   #24154   +/-   ##
================================================
  Coverage            14.59%   14.59%
================================================
  Files                   51       51
  Lines                 1411     1411
  Branches               219      219
================================================
  Hits                   206      206
  Misses                1189     1189
  Partials                16       16

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 408f79d...9869845. Read the comment docs.


[ADD] Token Support for KUJIRA

Please add token and custom token support for KUJIRA

Any update on this capability in priority? @realpaaao

QA done


Disallow editing references after application submission

Context
Candidates shouldn't be allowed to edit their references when they are in the amendment period.
Changes proposed in this pull request
This PR updates the Edit your application page so it doesn't show the References section and the link. It also prevents a candidate from going to the page directly if their application is in the amendment period.
Screenshot

Guidance to review
Nothing in particular.
Link to Trello card
https://trello.com/c/IP7g0jBr/583-amending-an-application-after-submission
Things to check

[x] This code doesn't rely on migrations in the same Pull Request
[x] API release notes have been updated if necessary
[x] New environment variables have been added to the Azure config

We should be explicit about references not being editable, more details here:
https://bat-design-history.herokuapp.com/apply-teacher-training/amend-withdraw

@paulrobertlloyd @fofr I've updated the PR with the changes you've requested, the PR description has also been updated to reflect these. Could you check this is alright now?

This looks correct. I’d just update the status for this section, as it is distinctly different from the others. We should have a ‘submitted’ status, whose tag background colour is the design system’s dark-grey.

Also, can we make sure we use smart apostrophes:
can't => can’t
you've => you’ve

@paulrobertlloyd Made the updates you've suggested, PR description updated with changes.

:shipit:


Add swipe to back

Add swipe to back using UINavigationController extension
extension UINavigationController: UIGestureRecognizerDelegate {
    override open func viewDidLoad() {
        super.viewDidLoad()
        interactivePopGestureRecognizer?.delegate = self
    }

    public func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
        return viewControllers.count > 1
    }
}

Demo

Thanks for the input. The SwiftUI framework does not have this embedded by default (I'm not sure why tbh), and so I have decided to not include it by default as well. However, I also use this in all of my projects. So instead of including it within the framework, I've updated the Readme so developers can copy & paste. Added in 5.3.3


[0.9.0-rc26] Issue with big values stored. Select 'mean(value)' query for a one series works, for another - crashes the node

Hi,
I am facing a weird issue on 3-server-cluster setup (replication factor = 2), which might be related to #2272
I am having two measurements: memory and network_in (I have more, but let's just pock those two)
Query to the cluster:
curl -G http://influxdb:8086/query?pretty=true --data-urlencode "q=select mean(value) from memory where platform='p01'" --data-urlencode "db=stats"

answer:
{
    "results": [
        {
            "series": [
                {
                    "name": "memory",
                    "columns": [
                        "time",
                        "mean"
                    ],
                    "values": [
                        [
                            "1970-01-01T00:00:00Z",
<PHONE_NUMBER>333333
                        ]
                    ]
                }
            ]
        }
    ]
}

Then, I am making same query
curl -G http://influxdb:8086/query?pretty=true --data-urlencode "q=select mean(value) from network_in where platform='p01'" --data-urlencode "db=stats"

And result is (with crashing a node):

502 Bad Gateway

The server returned an invalid or incomplete response.

Is there something I am missing?

Update
Sometimes it returns this error (instead of Bad Gateway):
{
    "results": [
        {
            "error": "Post http://cloud-db02:8086/data/run_mapper: EOF"
        }
    ]
}

If you are wondering, what are the values for 'network_in' measurement, same query with removing 'mean' keyword is giving:
{
    "results": [
        {
            "series": [
                {
                    "name": "network_in",
                    "columns": [
                        "time",
                        "value"
                    ],
                    "values": [
                        [
                            "2015-04-20T14:27:40Z",
                            "26517893"
                        ],
                        [
                            "2015-04-20T14:27:40Z",
                            "10174"
                        ],
                        [
                            "2015-04-20T14:27:40Z",
                            "76"
                        ],
                        [
                            "2015-04-20T14:27:40Z",
                            "10312"
                        ],
                        [
                            "2015-04-20T14:32:27Z",
                            "265208164"
                        ],
                        [
                            "2015-04-20T14:32:27Z",
                            "10378"
                        ],
                        [
                            "2015-04-20T14:32:27Z",
                            "228"
                        ],
                        [
                            "2015-04-20T14:32:27Z",
                            "10228"
                        ]
                    ]
                }
            ]
        }
    ]
}

Update 2:
I tried to store some DISK values, and selecting that is behaving same. Taking the fact of big numbers into account, I think it is related.

Update 3: 0.9.0-RC26, issue is still there

i'm guessing that calculating the mean is causing an overflow when calculating the sum of large numbers.
calculating the sum can be avoided as long as we have the current average and a count for each of the 2 means we are trying to merge.
average = average1 * (count1 / (count1 + count2)) + average2 * (count2 / (count1 + count2))

since count1 / (count1 + count2) and count2 / (count1 + count2) are each less than 1, the mean of 2 means should be able to be calculated without using numbers that are larger than the largest number in the 2 sample sets.
it's probably simple enough to update the mean calculations to use this method and avoid overflow.  MapMean should return a count and an average using:
average += (value - average) / ++count

and then ReduceMean should merge these together using the first equation above.

@svscorp i can't reproduce your issue.  do you have some curl commands to reproduce this from a clean db?
meanwhile, i may still go ahead and change the way mean is calculated but it doesn't seem to be the cause of your problem from what i can tell.

I'll give it when will reach my laptop. But it happenes when I add a graph in graphana. You can change it editing the query, but that's the default query if you use the US to add filters for a graph.

@neonstalwart
I was trying to reproduce it from the scratch and couldn't either. It is only reproducable when the data is being inserted with a scheduled script.
I'm now busy logging and making a valid case. Will get back once done.
Thanks for reaction, though!

@neonstalwart I got it again. To not overload this thread I've put it here: CURL sequence with queries

ok, i should have seen this sooner but it's a very subtle issue.  your values are strings  - e.g. "10228", "0.083334".  you need to make them numbers - i.e. 10228, 0.083334.
once i had your sample data, i could see the error for myself
panic: interface conversion: interface is string, not float64

goroutine 119258 [running]:
github.com/influxdb/influxdb/influxql.MapMean(0x7fdcf623c688, 0xc2082f3760, 0x0, 0x0)
        /root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/influxql/functions.go:214 +0xbf
github.com/influxdb/influxdb.(*LocalMapper).NextInterval(0xc2082f3760, 0x0, 0x0, 0x0, 0x0)
        /root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tx.go:401 +0xd3
github.com/influxdb/influxdb/influxql.(*MapReduceJob).processAggregate(0xc2081c65b0, 0xc2085ec660, 0xac2db8, 0xc2083eeee0, 0x1, 0x1, 0x0, 0x0)
        /root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/influxql/engine.go:626 +0x264
github.com/influxdb/influxdb/influxql.(*MapReduceJob).Execute(0xc2081c65b0, 0xc2085a1d40, 0xc208270200)
        /root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/influxql/engine.go:167 +0x8bf
github.com/influxdb/influxdb/influxql.(*Executor).execute(0xc208355340, 0xc2085a1d40)
        /root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/influxql/engine.go:774 +0xba
created by github.com/influxdb/influxdb/influxql.(*Executor).Execute
        /root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/influxql/engine.go:753 +0x5a

this made me realize that your values were strings.  the fix is easy - make them numbers.  https://gist.github.com/neonstalwart/00d106d8de7c9a960696/5e0a181eb83a649bbb34965dbf6e49347e2a7e29 is a reduced example that demonstrates the problem and https://gist.github.com/neonstalwart/00d106d8de7c9a960696 is the same example with the values changed to numbers and it works.

This is a known issue, which we will address before the 0.9.0 release.
https://github.com/influxdb/influxdb/issues/2299

@otoolep @neonstalwart got it. Is it pretends to be fixed in 0.9.0 release?

It works when sending values as floats

I see Influxdb 0.9 crash on a simple select query as well.
curl -G 'http://localhost:8086/query' --data-urlencode "db=graphite" --data-urlencode "q=select * from "xxx-com.cloud.gauges.raw_storage_usage"" | python -m json.tool
The data in influxdb looks like this:
$ curl -G 'http://localhost:8086/query' --data-urlencode "db=graphite" --data-urlencode "q=select * from "xxx-com.cloud.gauges.raw_storage_usage" where time > now() - 5m"
{"results":[{"series":[{"name":"xxx-com.cloud.gauges.raw_storage_usage","columns":["time","value"],"values":[["2015-07-29T21:06:07Z",152506]]}]}]}
Here are the influxdb logs.
[http] 2015/07/29 20:59:10 <IP_ADDRESS> - - [29/Jul/2015:20:59:10 +0000] GET /query?q=select+value+from+%22xxx-com.cloud.gauges.num_sessions%22+where+time+%3E+1435611550s+and+time+%3C+1438203551s&p=root&u=root&db=graphite HTTP/1.1 200 3198 - python-requests/2.2.1 CPython/2.7.6 Linux/3.16.0-38-generic a930fa47-3634-11e5-801c-000000000000 7.753755ms
[http] 2015/07/29 20:59:12 <IP_ADDRESS> - - [29/Jul/2015:20:59:12 +0000] GET /query?q=show+series+from+%2F%5Exxx-com%5C.cloud%5C.gauges%5C.num_sessions%2F&p=root&u=root&db=graphite HTTP/1.1 200 122 - python-requests/2.2.1 CPython/2.7.6 Linux/3.16.0-38-generic aa5ba27d-3634-11e5-801d-000000000000 8.497784ms
[http] 2015/07/29 20:59:12 <IP_ADDRESS> - - [29/Jul/2015:20:59:12 +0000] GET /query?q=show+series+from+%2F%5Exxx-com%5C.cloud%5C.gauges%5C.num_sessions%2F&p=root&u=root&db=graphite HTTP/1.1 200 122 - python-requests/2.2.1 CPython/2.7.6 Linux/3.16.0-38-generic aa5d9916-3634-11e5-801e-000000000000 13.248976ms
[http] 2015/07/29 20:59:12 <IP_ADDRESS> - - [29/Jul/2015:20:59:12 +0000] GET /query?q=select+value+from+%22xxx-com.cloud.gauges.num_sessions%22+where+time+%3E+1435611552s+and+time+%3C+1438203553s&p=root&u=root&db=graphite HTTP/1.1 200 3198 - python-requests/2.2.1 CPython/2.7.6 Linux/3.16.0-38-generic aa603c90-3634-11e5-801f-000000000000 14.286768ms
panic: runtime error: slice bounds out of range
goroutine 3633 [running]:
github.com/influxdb/influxdb/tsdb.scanTagValue(0xc2086c0a00, 0x80, 0x80, 0x81, 0x103d, 0x80, 0xc2086c0a5d, 0x23)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tsdb/points.go:436 +0x74
github.com/influxdb/influxdb/tsdb.(*point).Tags(0xc2086c0a80, 0xc2086c0a00)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tsdb/points.go:559 +0x1bc


Resolving GPU Timeout Issue During LLM Training

This solution addresses the "GPU communication timed out" error encountered during the training of a large language model (LLM). The updated code includes gradient accumulation, mixed precision training (FP16), and batch size optimization to manage GPU memory usage and reduce operation times. Additionally, recommendations are provided for adjusting system timeout settings (TDR) to prevent GPU timeouts, ensuring a more stable and efficient training process. The solution focuses on optimizing model training without compromising performance or accuracy.

I believe this is a false PR, I didn't see any relation with the repo