Python module load warnings

>>> itk.MeshToPolyDataFilter
Loading MeshToPolyData... Template itk::ImageToPointSetFilter<itk::Image<signedshort,2>,itk::PointSet<signedshort,2>>
 already defined as <class 'itk.itkImageToPointSetFilterPython.itkImageToPointSetFilterISS2PSSS2'>
 is redefined as {cl}
Warning: template already defined 'itk::ImageToPointSetFilter<itk::Image<signedshort,2>,itk::PointSet<signedshort,2>>'
Template itk::ImageToPointSetFilter<itk::Image<signedshort,3>,itk::PointSet<signedshort,3>>
 already defined as <class 'itk.itkImageToPointSetFilterPython.itkImageToPointSetFilterISS3PSSS3'>
 is redefined as {cl}
Warning: template already defined 'itk::ImageToPointSetFilter<itk::Image<signedshort,3>,itk::PointSet<signedshort,3>>'
Template itk::ImageToPointSetFilter<itk::Image<signedshort,4>,itk::PointSet<signedshort,4>>
 already defined as <class 'itk.itkImageToPointSetFilterPython.itkImageToPointSetFilterISS4PSSS4'>
 is redefined as {cl}
Warning: template already defined 'itk::ImageToPointSetFilter<itk::Image<signedshort,4>,itk::PointSet<signedshort,4>>'
Template itk::ImageToPointSetFilter<itk::Image<unsignedchar,2>,itk::PointSet<unsignedchar,2>>
 already defined as <class 'itk.itkImageToPointSetFilterPython.itkImageToPointSetFilterIUC2PSUC2'>
 is redefined as {cl}
Warning: template already defined 'itk::ImageToPointSetFilter<itk::Image<unsignedchar,2>,itk::PointSet<unsignedchar,2>>'
Template itk::ImageToPointSetFilter<itk::Image<unsignedchar,3>,itk::PointSet<unsignedchar,3>>
 already defined as <class 'itk.itkImageToPointSetFilterPython.itkImageToPointSetFilterIUC3PSUC3'>
 is redefined as {cl}
Warning: template already defined 'itk::ImageToPointSetFilter<itk::Image<unsignedchar,3>,itk::PointSet<unsignedchar,3>>'
Template itk::ImageToPointSetFilter<itk::Image<unsignedchar,4>,itk::PointSet<unsignedchar,4>>
 already defined as <class 'itk.itkImageToPointSetFilterPython.itkImageToPointSetFilterIUC4PSUC4'>
 is redefined as {cl}
Warning: template already defined 'itk::ImageToPointSetFilter<itk::Image<unsignedchar,4>,itk::PointSet<unsignedchar,4>>'
Template itk::ImageToPointSetFilter<itk::Image<unsignedshort,2>,itk::PointSet<unsignedshort,2>>
 already defined as <class 'itk.itkImageToPointSetFilterPython.itkImageToPointSetFilterIUS2PSUS2'>
 is redefined as {cl}
Warning: template already defined 'itk::ImageToPointSetFilter<itk::Image<unsignedshort,2>,itk::PointSet<unsignedshort,2>>'
Template itk::ImageToPointSetFilter<itk::Image<unsignedshort,3>,itk::PointSet<unsignedshort,3>>
 already defined as <class 'itk.itkImageToPointSetFilterPython.itkImageToPointSetFilterIUS3PSUS3'>
 is redefined as {cl}
Warning: template already defined 'itk::ImageToPointSetFilter<itk::Image<unsignedshort,3>,itk::PointSet<unsignedshort,3>>'
Template itk::ImageToPointSetFilter<itk::Image<unsignedshort,4>,itk::PointSet<unsignedshort,4>>
 already defined as <class 'itk.itkImageToPointSetFilterPython.itkImageToPointSetFilterIUS4PSUS4'>
 is redefined as {cl}
Warning: template already defined 'itk::ImageToPointSetFilter<itk::Image<unsignedshort,4>,itk::PointSet<unsignedshort,4>>'
Template itk::ImageToPointSetFilter<itk::Image<float,2>,itk::PointSet<float,2>>
 already defined as <class 'itk.itkImageToPointSetFilterPython.itkImageToPointSetFilterIF2PSF2'>
 is redefined as {cl}
Warning: template already defined 'itk::ImageToPointSetFilter<itk::Image<float,2>,itk::PointSet<float,2>>'
Template itk::ImageToPointSetFilter<itk::Image<float,3>,itk::PointSet<float,3>>
 already defined as <class 'itk.itkImageToPointSetFilterPython.itkImageToPointSetFilterIF3PSF3'>
 is redefined as {cl}
Warning: template already defined 'itk::ImageToPointSetFilter<itk::Image<float,3>,itk::PointSet<float,3>>'
Template itk::ImageToPointSetFilter<itk::Image<float,4>,itk::PointSet<float,4>>
 already defined as <class 'itk.itkImageToPointSetFilterPython.itkImageToPointSetFilterIF4PSF4'>
 is redefined as {cl}
Warning: template already defined 'itk::ImageToPointSetFilter<itk::Image<float,4>,itk::PointSet<float,4>>'
Template itk::ImageToPointSetFilter<itk::Image<double,2>,itk::PointSet<double,2>>
 already defined as <class 'itk.itkImageToPointSetFilterPython.itkImageToPointSetFilterID2PSD2'>
 is redefined as {cl}
Warning: template already defined 'itk::ImageToPointSetFilter<itk::Image<double,2>,itk::PointSet<double,2>>'
Template itk::ImageToPointSetFilter<itk::Image<double,3>,itk::PointSet<double,3>>
 already defined as <class 'itk.itkImageToPointSetFilterPython.itkImageToPointSetFilterID3PSD3'>
 is redefined as {cl}
Warning: template already defined 'itk::ImageToPointSetFilter<itk::Image<double,3>,itk::PointSet<double,3>>'
Template itk::ImageToPointSetFilter<itk::Image<double,4>,itk::PointSet<double,4>>
 already defined as <class 'itk.itkImageToPointSetFilterPython.itkImageToPointSetFilterID4PSD4'>
 is redefined as {cl}
Warning: template already defined 'itk::ImageToPointSetFilter<itk::Image<double,4>,itk::PointSet<double,4>>'
done
<itkTemplate itk::MeshToPolyDataFilter>

It looks like the warning results from having both itk-meshtopolydata and itk-bsplinegradient implementations of itk.ImageToPointSetFilter.
ITKBSplineGradient implementation
ITKMeshToPolyData implementation
I am not familiar with the purpose of having the filter defined in two places. @thewtex perhaps you could shed light on the background here?
The following are available paths forward:

Remove itk.ImageToPointSetFilter from ITKBSplineGradient and have ITKBSplineGradient depend on ITKMeshToPolyData
Create a dedicated repository for itk.ImageToPointSetFilter and have both modules depend on that
Port itk.ImageToPointSetFilter to ITK proper
Rename itk.ImageToPointSetFilter in one or both modules and/or rename wrapping to avoid collisions

Remove itk.ImageToPointSetFilter from ITKBSplineGradient and have ITKBSplineGradient depend on ITKMeshToPolyData

:+1: to this approach

Closing per https://github.com/InsightSoftwareConsortium/ITKBSplineGradient/pull/27


Add .tox and .coverage to gitignore

This change is to make sure .tox and .coverage don't get included
in a commit by accident.
Signed-off-by: Nisha K<EMAIL_ADDRESS>

This looks good to me. Merging.


Default sorting

The plugin is very helpful and I use it a lot, thanks for that!
Unfortunately, the generated list does not seems to be sorted correctly. It would be great if I could influence this (ASC/DESC), or if there is a reliable default sort order.

That's a good idea. Can you provide more details about how you want to sort all files? I will try to implement this feature in a more general way.

Thanks for the fast reply!
It would be a dream to be able to specify not only the direction (ASC/DESC), but also what to sort by.  could be the default, sorting by the found string () would certainly be very helpful as well. Being able to sort by created time () or modified time () would just be icing on the cake, but not important.
Maybe you could define another block like:
sorting:
	- by: filename | match | ctime | mtime
	  direction: ASC | DESC

 is not a good term, maybe you find a better one.

Thanks. I got it. I will implement such a feature later.

Cool. Thanks!
I would like a add <fullpath> to sorting.by: so that you can sort by file name alone and by the full path with file name (if that is not too much to expect). This could be handy in some scenarios.

Check out the new version. I have updated the usage and explanation in the README. Let me know if you have more questions.

Thanks a lot for the update! It is really powerful and does much more than I had hoped.
I just had to figure out that the one fileIndicator parameter file was changed to result. Everything else worked instantly.

Yes, I have changed the file to result, so now the fileIndicator support all fields, and the template can be more complex.


Add TypeScript type definitions

Coverage remained the same at 97.436% when pulling 1ab5d6377b322511a683625b6bebfd7c75f05746 on larvanitis:patch-1 into 80e692c88e62a88cf5750460ff02c28298e5b09b on Tapppi:master.

@Tapppi this is useful, could this be merged and published?

@Tapppi this is useful, could this be merged and published?

Bump. This would be really great to have merged.

FYI guys I have made a type definition for this package in the definitely typed repo. You should now be able to install them with @types/async-exit-hook (I hated seeing no types considering I use this package quite a lot)


chore: update maintainer

Hi @paul-shannon,
Please find below a small PR with a maintainer update.

Thanks, Arek.    Do you wish to fork the repo, then I shut down (or otherwise reduce the prominence of) this repo?


fixed hyperledger configtxgen error

Fixed https://stackoverflow.com/questions/51195016/hyperledger-configtxgen-error

We don't need this change. The master branch is meant to work for Hyperledger Fabric version 1.1 (instructions in our book are for that version of the platform) and we are not going to change that.
We do have branches that were created to work with platform upgrades. Check out the release-1.2 branch, where the fix you are trying to push has already been made. The release-1.4 branch contains similar changes for that version of Fabric.


Add resilience to crashes during deletion

@brian-brazil would this work for what we want to achieve?
If yes, I'll check whether there are any new cases the existing tests don't cover and add them.

I was thinking about a different approach:
we write all blocks to a sub-folder first /data/compaction -> when compaction is complete delete old blocks and move new block inside /data .
at startup just delete everything in /data/compaction this way OOM-ing during compaction is not dangerous.

We've thought through this approach as well. The problem is that it is still prone to leave your data directory in a bad state. With this particular approach, we would even be losing data.
If Prometheus crashes after the old blocks are deleted but before the new one was moved, it comes back up and deletes /data/compaction and with that all data in the compacted range is now lost.
The problem is that what we are trying to do cannot be done atomically.
So to handle crashes gracefully, we must persist state about the parent blocks of a newly compacted one.

@Bplotka this is something you might want to adopt for the Thanos compactor.

LGTM


Feature/uwp

Updated sample with UWP launcher and multidisplay feature in sample.
Include new sample screenshots

The UWP use ARM by default, I had to change it so should be better if it use x64 by default.
The mouse in the WPF sample only keep control while the mouse be on the surface, would it be possible not to lose focus while pressing the right button and lose focus if you release it?.


FST and default avatar model handling and support.

Address three skeleton model scenarios:

Invalid avatar such that default FST avatar is used.
Valid FST avatar.
Valid glTF/FBX avatar.

For all three address:

Own skeleton model data handling.
Sending own skeleton model data to the avatar mixer.
Receiving other users' skeleton model data.
Handling other users' skeleton model data.

What should the SDK provide to support user clients for the above?

Default avatar model and skeleton?
FST file-related facilities?
Avatar model file units determination?
Anything else?

Is FST still the best way to handle this? I forgot why, but is FST truly more ideal than JSON/JS/TS objects? I feel like that's easier to parse and handle in a general sense.


feat: Introduce add_module command

This add_module command introduces new prefixes, new classes (i.e AddStudentModuleCommand/Parser, etc.).
The example of the add_module command is add_module i/<INDEX> m/<MODULE_CODE>
In the parser layer, I've added a AddStudentModuleCommandParser that craps out a AddStudentModuleCommand. It then executes and deals with the Student model.
model: Student now supports a list of modules which are ModuleCode.
For now, we are storing a list of ModuleCode instead of Module in each Student model. This is because the ability to synchronize the state of Modules in ModuleMap and Student will be tough to keep track off, thus I've resorted to using ModuleCode instead.
For the storage layer, I've also added a JsonAdaptedModuleCode. I had to add this because there was some finicky issue with saving a List within a .json file so I created the adapter and it fixed the issue. If anyone knows how to do it without creating that adapter feel free to correct this!

The CI fails due to one of the tests for Student not being updated with the updated constructor.


Setup coverage report for unit tests

The goal is to have code coverage report rendered right in the PR. We might use Codecov or similar tool for it.

Codecov is definitely a versatile and well known service. Most marvelous is theirs Sourcegraph browser extension for coloring code inline right on GitHub. But to clarify whether we need to use Codecov or some other tool/service here are some questions.

Do we need Sourcegraph to be enabled for this repo?
Are coverage reports in PR discussion thread all we need from Codecov?
Following are what I have against Codecov:
It's an external service.
Its Coverage report looks off my liking. Personally I'd better prefer something looking like this or that. (Im not suggesting to bring Jenkins but talking about reports look only)
Alternatively, may I suggest a weird idea of reinventing the wheel? It's possible to make the coverage reports as the last step in Actions workflow. It's also possible to have diffs between pr commits and master branch thanks to the ability to keep jobs' artifacts.
Pros are:
We could alternate the look of these reports to any extent.
No more external services are needed.
It's always fun to code useless tools. 🤓
Cons are:
It'd take time to maintain.
If (or when) we have to add more functionality it should be (re)implemented rather than configured/enabled.
Sorry in advance for such a bikeshedding comment. 😶

Do we need Sourcegraph to be enabled for this repo?

No, this is not required for now.

Are coverage reports in PR discussion thread all we need from Codecov?

That's pretty much it.

Personally I'd better prefer something looking like this or that

This kind of report would be also enough to resolve this issue.
I'm fine with custom solution as well, as long as it is a separate project and it doesn't require maintaining of any service.


Update copyright and license headers

PR Summary
Based on standard practices, we need to have a copyright and license notice at the top of each source file.  Removed existing copyrights and updated/added copyright notices for .h, .cpp, .cs, .ps1, and .psm1 files.
Updated module manifests for consistency to have Author = "PowerShell" and Company = "Microsoft Corporation".  Removed multiple linebreaks.
Separate PR coming to update contribution document for new source files.
Manually reviewed each change.
Fix https://github.com/PowerShell/PowerShell/issues/6073
PR Checklist
Note: Please mark anything not applicable to this PR NA.

[X] PR has a meaningful title

[X] Use the present tense and imperative mood when describing your changes

[X] Summarized changes
[NA] User facing Documentation needed

[ ] Issue filed - Issue link:

[X] Change is not breaking
[NA] Make sure you've added a new test if existing tests do not effectively test the code changed

[ ] Add [feature] if the change is significant or affects feature tests

[X] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.

@lzybkr I saw the big banner versions that indicate Apache License and left those, but must have just automatically replaced these single line versions.  Did a search of master and saw 39 hits with Apache License.  Searched this branch and also 39 hits (now).

I see changes in SessionStateContainer.cs as well

code deleted out of /Get-ChildItem.Tests.ps1

@TravisEz13 I painstakingly went through each diff individually using the GitHub view and don't see the changes you show in those two files.  I do see some changes in PSReadLine sources which I'm going to revert.

Should we add meta-test to keep consistency?

I found that a blank line is absent in some cpp and h files after the header.

@iSazonov having a meta-test sounds like a good idea, but we should have that added outside this PR.  I'll add the whitespace between the header and first line of code.

@lzybkr are you ok with the changes and verification of the changes?


Fix the usage in the README

Looks like it should be the name of the repository?
Also as a side note, I am here because our uses of the action were broken:
Error: Unable to resolve action. Repository not found: zrosenbauer/slacktion

@lra I believe its fixed now, I changed the name of the repo + the usage. Apparently Github changed their rules on actions and they can't be named the same as another repo or org, in addition to another action... 🤷

@Ira I validated if you use it as is not you should be fine


closes #45 fix react generic alert flicker

Following the recommendations of this article, we do not require a useEffect when updating the config store and was the root cause of the flicker seen in issue #45.

@divdavem thx for the review !


Final Final adjustment of UG for 2101 submission

Description

Type of change

[ ] 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
[ ] Code quality improvements

How to test

Checklist

[ ] I have tested this code
[ ] I have updated the documentation

Codecov Report

Merging #241 (8f9536b) into master (169d553) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #241   +/-   ##
=========================================
  Coverage     76.07%   76.07%
  Complexity      967      967
=========================================
  Files           115      115
  Lines          2775     2775
  Branches        325      325
=========================================
  Hits           2111     2111
  Misses          588      588
  Partials         76       76

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 169d553...8f9536b. Read the comment docs.

I'm not sure how to fix the link to ab-delete. It doesn't seem to work anymore after changing the title.

Should we add more terms to the glossary?


Problem with BeginTransaction

When i am trying the example transactional from this repo, client.BeginTransaction in transactional_producer.go returns an error
"unable to initialize a producer ID due to request failures"
I am using a new docker image of redpanda, where no records have ever been produced. So the error is not understandable for me.
It is a fresh image, and the first try to produce.
My configuration seems to be ok. If I just start the transactional_consumer from the example, it logs recods, that I produce with rpk topic ...produce.
There is a second example in this repo, where client.BeginTransaction returns the same error.
Is there an issue with client.BeginTransaction

If you add kgo.WithLogger(kgo.BasicLogger(os.Stderr, kgo.LogLevelDebug, nil)) as an option to NewClient, what're the logs?

Since you mentioned redpanda, have you set enable_transactions = true in your redpanda.yaml?

Thank you for your support, no I have not :-(


Very low GPU utilizaiton ratio

Hello,
thank you very much for the nice work.
I found the GPU utilization ratio is very low, around 10%.

Could you please kindly help and tell how to speed up landmark detection?
Thank you!

Hi, you may try incresing the num_workersof the data_loader.
If still not helps, then you may need to reimplement the data augmentation operations than run on GPU.


[Test]Testing Gradle OOM

More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Note: DefaultCachedClasspathTransformer,
The latest code has been modified to limit the number of threads. It is changed to be linked to the number of CPU cores.
Limit the number of threads of gradle jar transfer thread
We can think from these two aspects


Ability to pass -D arguments in the sbt run task

It would be nice to be able to
    sbt -Dsome.property.setting=true "project my-project" run

In particular this is useful when using the Typesafe Config framework.

I am closing this since forked run can work around this.


runtime(doc): document global insert behavior

This is a partial revert of 8f3f58f2c361f1b7241128d9821f88d8a30aa066 since this issue was fixed in #15120.

It seems this was merged in 6d6dffa6113d44b34d1bb2d2945c7f17cfe0172a. Thanks!


chore: enable pod security admission

What type of PR is this?
/kind chore
What does this PR do / why we need it:
Updates the code to work with Pod Security Admission, which is enabled by default in k8s 1.24
Have you updated the necessary documentation?

[ ] Documentation update is required by this PR.
[ ] Documentation has been updated.

How to test changes / Special notes to the reviewer:

Install the operator on a k8s 1.24 system.
Install an Argo CD instance

apiVersion: argoproj.io/v1alpha1
kind: ArgoCD
metadata:
  name: argocd
spec:
  applicationSet: {}
  notifications:
    enabled: true
  ha:
    enabled: false
  grafana:
    enabled: true
  redis:
    disableTLSVerification: false
  dex:
    config: |
      connectors:
      - type: mockCallback
        id: mock
        name: Example

Ensure all workloads are running

% kubectl get po
NAME                                                READY   STATUS    RESTARTS   AGE
argocd-application-controller-0                     1/1     Running   0          34s
argocd-applicationset-controller-6d99f5bc48-cpbdm   1/1     Running   0          34s
argocd-dex-server-6f4bd74657-jl7zk                  1/1     Running   0          34s
argocd-grafana-7588bd47b5-8xrqt                     1/1     Running   0          34s
argocd-notifications-controller-86ddb6ff44-kqxjk    1/1     Running   0          33s
argocd-redis-7c79b9c5b6-7wmcf                       1/1     Running   0          34s
argocd-repo-server-857cf5d777-j6vnd                 1/1     Running   0          34s
argocd-server-579b655b48-c49rc                      1/1     Running   0          34s

Install the operator on a k8s 1.23 system
Install an ArgoCD instance
Ensure all workloads are running

Fixes #663

Fixes #663


Could you provide QuickVina2 and Smina finetuning script?

To my understanding, Smina will first randomly place the ligand in the pocket and do Monte Carlo searching based on energy function. In another word, the result of EQUIBINDS should be as same as Smina, but the result of the paper showed there is a huge improvement from 11.6->19.6.
Could you provide QuickVina2 and Smina finetuning script?
I am curious.

It is my guess below.
Your experiment pipline should be rigid_redocking model first, then using smina to do the finetuning. In this pipeline, actually maybe because of the ligand's initial conformer is exactly the one in the co-crystal ligand pose (rotatable bond is correct), and the Smina result(11.6) is only using rdkit conformer (rotatable bond may not be correct), finally, it causes different result.
The different rotatable bond of ligand will casue very different docking results while using traditional docking software.

Hi and thanks for the issue!
The numbers of SMINA and EquiBindS are different because SMINA searches in the bounding box as defined by the whole receptor. Meanwhile, EquiBindS only runs SMINA in a small bounding box around the ligand that was predicted by EquiBind-R.
Importantly, EquiBind-R only receives the RDKit ligand as input and SMINA directly uses the output of EquiBind-R.
The numbers of EquiBindS are better than those of SMINA since EquiBind-R often provides a correct approximate location for where to search with the smaller bounding box.
So it is correct that the experiment pipeline uses the rigid_docking model first, but this is with an RDKit conformer as input during inference and not with the co-crystallized ligand pose.
I hope this clarifies everything! Let me know if questions remain.

Here is the code that we use for EquiBindQ. For EquiBindS it is similar, but QickVina2 is replaced with SMINA.
start_time = time.time()
data_path = 'equibind_output'
names = sorted(os.listdir(data_path))
exhaustiveness = 8
radius = 5
num_cpu = 16
tune_from = 'lig_eb'

rdkit_coords = True
if rdkit_coords == True:
    rdstring = '_rdkitcoords'
else:
    rdstring = ''

output_name = f'lig_qvina2_{tune_from}_ex{exhaustiveness}{rdstring}_r{radius}'

if not os.path.exists(output_name):
    os.mkdir(output_name)
all_times = []
for i, name in enumerate(names):
    single_time = time.time()

    # load coordinates to get bounding box
    path = os.path.join(data_path, name, f'{tune_from}.pdb')
    lig = PandasPdb().read_pdb(path)
    rec_df = lig.df['HETATM']
    rec_coords = rec_df[['x_coord', 'y_coord', 'z_coord']].to_numpy().squeeze().astype(np.float32)
    center_x = (rec_coords[:, 0].max() + rec_coords[:, 0].min()) / 2
    size_x = (rec_coords[:, 0].max() - rec_coords[:, 0].min()) + radius
    center_y = (rec_coords[:, 1].max() + rec_coords[:, 1].min()) / 2
    size_y = (rec_coords[:, 1].max() - rec_coords[:, 1].min()) + radius
    center_z = (rec_coords[:, 2].max() + rec_coords[:, 2].min()) / 2
    size_z = (rec_coords[:, 2].max() - rec_coords[:, 2].min()) + radius
    if not os.path.exists(f'{output_name}/{name}'):
        os.mkdir(f'{output_name}/{name}')
    # call qvina2 wide to find binding pose
    rec_path = os.path.join(data_path, name, 'rec.pdbqt')
    lig_path = os.path.join(data_path, name, f'{tune_from}.pdbqt')
    out_path = os.path.join(f'{output_name}', name,
                            f'{output_name}.pdbqt')
    log_path = os.path.join(f'{output_name}', name,
                            f'{output_name}.log')

    return_code = subprocess.run(
        f"~/qvina2/qvina02 --receptor {rec_path} --ligand {lig_path} --num_modes 1 --center_x {center_x} --center_y {center_y} --center_z {center_z} --size_x {size_x} --size_y {size_y} --size_z {size_z} --out {out_path} --log {log_path} --cpu {num_cpu} --exhaustiveness {exhaustiveness}",
        shell=True)

    all_times.append(time.time() - single_time)

    print("single time: --- %s seconds ---" % (time.time() - single_time))
    print("time so far: --- %s seconds ---" % (time.time() - start_time))
    print('\n')
print(all_times)
print("--- %s seconds ---" % (time.time() - start_time))```

Thank you for quick reply, appreciate it.
By the way this appoarch may be the key to unlock binding affinity prediction end to end DNN training challenge, do you guys think about it?

I assume that things are clarified and am closing the issue.

We are considering different approaches for affinity prediction based on EquiBind and integrating affinity information into EquiBind. Let me know if that is not what you meant!


Added paginated query management to get all content types for cache

With this change the initial content type sync is done for all content types of the space, calling Contentful API the fewest times possible.

Hey,
thank you for your contribution. I do like the idea a lot! Enabling the cache of content types for more then the first page is a great idea. This would save so many requests, esp. if you have a huge space with a lot of content types.
I am currently working on a 8.0.0 release, and I would be happy to include this. Sadly there are some modifications I would encourage applying.

Unit Tests
I would love to see this tested.

Is there a reason to not use the build in pagination?
Using observe with CMAContentType would allow us to use already existing paths of execution. Did you encounter any issues with that road?

Additionally I was wondering about your use case you addressing. Are you having a space with more then 100 content types, and what is the general usage pattern of those.
And finally: Would you be able to spend the time to address the above mentioned issues, or would you rather have me taking it from here?

Hi Mario,
I'm using a space with about 130 content types so, at the moment, the
queries for contents are firing many single content type requests.
For details about my use case in Telepass https://www.telepass.com please
refer to Stephen Pastan, Dmytri Kleiner and Kim Bergstrand who are
following my customer.
I considered using ObserveQuery but is its all() method that initializes
itself caching the content types, so I decided to follow the logic already
present using CDAService's Observable<Response> array(String
space, String type, Map<String, String> query).
I didn't get time to write tests on that and I think I won't have in the
next weeks (vacations! ;-) ).
Thanks
Giacomo
2017-08-03 9:41 GMT+02:00 Mario Bodemann<EMAIL_ADDRESS>
Hey,
thank you for your contribution. I do like the idea a lot! Enabling the
cache of content types for more then the first page is a great idea. This
would save so many requests, esp. if you have a huge space with a lot of
content types.
I am currently working on a 8.0.0 release, and I would be happy to include
this. Sadly there are some modifications I would encourage applying.

Unit Tests
I would love to see this tested.
2.
Is there a reason to not use the build in pagination?
Using observe with CMAContentType would allow us to use already
existing paths of execution. Did you encounter any issues with that road?
Additionally I was wondering about your use case you addressing. Are you
having a space with more then 100 content types, and what is the general
usage pattern of those.
And finally: Would you be able to spend the time to address the above
mentioned issues, or would you rather have me taking it from here?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/contentful/contentful.java/pull/152#issuecomment-319893779,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADn14iwiQvB5u996fBo4Vw-Ffcp6rxfmks5sUXnDgaJpZM4Opghl
.

Hey @geco82,
I am preparing the 8.0.0 release, on https://github.com/contentful/contentful.java/pull/151 including a method-family called populateContentTypeCache on the client. This will fetch all the content types if called, and might help you too.
Do you mind taking a look at it? I'm planing on releasing 8.0.0 by the end of this week, and would appreciate feedback for your cause ...

Hi Mario,
I'm on holiday right now but I ask to give you a feedback to a colleague of
mine.
Davide is reading us in cc.
Thanks
Giacomo
Il 14/ago/2017 14:08, "Mario Bodemann"<EMAIL_ADDRESS>ha
scritto:
Hey @geco82 https://github.com/geco82,
I am preparing the 8.0.0 release, on #151
https://github.com/contentful/contentful.java/pull/151 including a
method-family called populateContentTypeCache on the client. This will
fetch all the content types if called, and might help you too.
Do you mind taking a look at it? I'm planing on releasing 8.0.0 by the end
of this week, and would appreciate feedback for your cause ...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/contentful/contentful.java/pull/152#issuecomment-322173235,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADn14lVmuhln2WHk4uERe4lQducCWB-dks5sYDiOgaJpZM4Opghl
.

I integrated a similar solution into https://github.com/contentful/contentful.java/releases/java-sdk-8.0.0 please take a look and let me know what you think. 🎉
Closing this PR for now...


Hidden Menu Bar Accessible via Alt + F

One can access the menu bar even when set to hidden by pressing Alt + F. If this is intended, note that it will not disappear on focus loss when using the native title bar style.

VS Code Version: 1.54.1
OS Version: Windows 20H2 (Building 19042.804)

Steps to Reproduce:

"window.menuBarVisibility": "hidden"
Press Alt + F

Does this issue occur when all extensions are disabled?: Yes

dup #110822


Started on Spring boot

@jkiddo I completely moved the configuration to application.yml. Thanks for the migration to Spring Boot.


[bug] In tauri-plugin-updater package, callback of update.downloadAndInstall(cb) is not called

Describe the bug
I am using tauri v2 and try to add the updater function.
Then I use tauri-plugin-updater package.
On my test, the updater works fine, the update can be downloaded, install and relaunch. But the callback of downloadAndInstall is not called. Then I can't add download progress in the UI.
import { check } from "@tauri-apps/plugin-updater";
import { relaunch } from "@tauri-apps/plugin-process";

async function checkUpdate(){
  const update = await check();

  if (update != null) {
    await update.downloadAndInstall((e)=>{
      console.log(JSON.stringify(e)); // will persist to local log file
    });
    await relaunch();
  }
}

Reproduction
No response
Expected behavior
No response
Full tauri info output
[✔] Environment
    - OS: Mac OS 13.2.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.72.0 (5680fa18f 2023-08-23)
    ✔ cargo: 1.72.0 (103a7ff2e 2023-08-15)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 20.7.0
    - pnpm: 8.3.1
    - yarn: 1.22.21
    - npm: 10.1.0

[-] Packages
    - tauri [RUST]: 2.0.0-alpha.20
    - tauri-build [RUST]: 2.0.0-alpha.13
    - wry [RUST]: 0.35.1
    - tao [RUST]: 0.24.0
    - @tauri-apps/api [NPM]: 2.0.0-alpha.13
    - @tauri-apps/cli [NPM]: 2.0.0-alpha.20

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../dist
    - devPath: http://localhost:6777/
    - framework: React
    - bundler: Rollup

```bash
    "@tauri-apps/api": "2.0.0-alpha.13",
    "@tauri-apps/plugin-clipboard-manager": "2.0.0-alpha.5",
    "@tauri-apps/plugin-dialog": "2.0.0-alpha.5",
    "@tauri-apps/plugin-fs": "2.0.0-alpha.6",
    "@tauri-apps/plugin-log": "2.0.0-alpha.5",
    "@tauri-apps/plugin-process": "2.0.0-alpha.5",
    "@tauri-apps/plugin-shell": "2.0.0-alpha.5",
    "@tauri-apps/plugin-updater": "2.0.0-alpha.5",

### Stack trace

```text
Nothing.

Additional context
No response

Strange. I make a test again, the callback is also called. The Progress and Finished event are logged. But the Started event seems not fired. I check the source code.
https://github.com/tauri-apps/tauri-plugin-updater/blob/6b08599787823320b1007609cff5b41958f8b4f0/src/commands.rs#L82

Should this line to be let first_chunk = AtomicBool::new(true); ?

Another question: is the downloaded chunk length equal to sum of chunkLength of all Progress event?

Strange. I make a test again, the callback is also called. The Progress and Finished event are logged. But the Started event seems not fired. I check the source code.
<EMAIL_ADDRESS>
Should this line to be let first_chunk = AtomicBool::new(true); ?

This has been simplified and possibly fixed in https://github.com/tauri-apps/plugins-workspace/pull/899/files#diff-0317e393a11bf22ec6f28f928f644181557c5be64eeb4616a237ef13527b1112R85

Another question: is the downloaded chunk length equal to sum of chunkLength of all Progress event?

yes, you need to add each event to the previous value to calculated the download bytes and possibly compare with the content length to have the percentage if needed


Immediate Crash on Nexus 5 Android 4.4.4

Reproduce:
Install AndStatus, read the welcome screen, click "Get Started"... The application crashes with a non-typical crash screen.

Info
Nexus 5
Android 4.4.4
AndStatus 17.1

Hello @BoringUserWhoCantCode,
This Crash screen is created by ACRA (https://github.com/ACRA/acra ) crash reporting library. It automates collecting of all required information and allows a User to send the report via email to AndStatus team.
Please press OK and send me the Crash report via email, because I cannot reproduce the problem.
Please use it for your crash reports!

I had to add this "non - typical" crash reporting, because it appeared that many AndStatus users download it NOT from the Google Play Store and hence cannot use "typical" Crash reporting facility, provided by Google.
See e.g. this discussion: https://github.com/andstatus/andstatus/issues/250

Fair enough.
I sent you a report :)
Thank you for your time and effort.
On Jun 24, 2015 10:09 AM, "Yuri Volkov"<EMAIL_ADDRESS>wrote:

Hello @BoringUserWhoCantCode https://github.com/BoringUserWhoCantCode,
This Crash screen is created by ACRA (https://github.com/ACRA/acra )
crash reporting library. It automates collecting of all required
information and allows a User to send the report via email to AndStatus
team.
Please press OK and send me the Crash report via email, because I cannot
reproduce the problem.
Please use it for your crash reports!
—
Reply to this email directly or view it on GitHub
https://github.com/andstatus/andstatus/issues/272#issuecomment-114755440
.

@BoringUserWhoCantCode Thank you, now the place, which caused exception, is located.
Caused by: java.lang.NullPointerException
at org.andstatus.app.origin.OriginList.processNewIntent(OriginList.java:89)
at org.andstatus.app.origin.OriginList.onCreate(OriginList.java:69)

Well, good luck :D
I see some gibberish there, I have no idea what it says.
Could be that my phone is swearing at me for all I know. Seems fun though :p
On Jun 24, 2015 7:35 PM, "Yuri Volkov"<EMAIL_ADDRESS>wrote:

@BoringUserWhoCantCode https://github.com/BoringUserWhoCantCode Thank
you, now the place, which caused exception, is located.
Caused by: java.lang.NullPointerException
at org.andstatus.app.origin.OriginList.processNewIntent(OriginList.java:89)
at org.andstatus.app.origin.OriginList.onCreate(OriginList.java:69)
—
Reply to this email directly or view it on GitHub
https://github.com/andstatus/andstatus/issues/272#issuecomment-114935220
.

@BoringUserWhoCantCode I didn't find any evidence that AndStatus has a "bug" in this case. This is more like a incompatibility, which I cannot reproduce and hence I don't know,  which solution will work.
As you are the only available user, who can reproduce the issue, I'm trying to figure out how we can solve the problem together. I hope you you're not completely bored as you are posting here?! :-)
If so, could you try https://github.com/andstatus/andstatus/wiki/Building-AndStatus-from-Source-code-on-your-Android-device-using-AIDE-application or maybe Android Studio? !

@yvolk, sure I can try AIDE. Seems interesting.
But what a should I clone?

I compiled it and ran it. It then prompted me to install, I did. Ran the app, still same error.

Good  :-)
I will create a branch for this investigation and will let you know.

Thanks for your support and time :)
I will be here.

Please switch to the branch "issue272" and test it.
BTW, do you see any "Action bar" at the first screen? If should have "Overflow button" with a link to Settings. Please try to go there...

Can you please tell me what link do I clone to get the branch, not the master tree?
I couldn't figure this out, sorry.

Building finished with no errors.
I installed the AndStatus and immediately when I click Open, it crashes. Nothing was seen of the app this time.

About your second point in your comment, yes, I just installed F-Droid version again, and I can indeed get to the settings.

I think that maybe your device's "Default theme" is not compatible with AndStatus now. please:

Go to Settings -> Appearance -> Color theme -> Dark (or Light...)
and see if this helps?!

Nope. Didn't do it.
I also toggled External Storage, Color, language, and nothing helped.
Anyhow, seeing as I've been seeing quite a bit of apps not working properly lately, I think I'll format my phone and start fresh.
It's not fair wasting your time on one person bug.
Thank you so much for making open source software.
I'll close this, but will try the app again some time later with a fresh OS install.

Thank you. Anyway, it would be good to know if the problem was solved :-)
For my future record, to try this:
Add the element to your style definition:
<item name="android:windowActionBar">true</item>

@BoringUserWhoCantCode Please test the latest commit  or release 18.0 at Google Play:
Yesterday I noticed and fixed another possible cause of AndStatus stopping immediately and without any visible errors.
I disabled Android backups: some bug faced on Lollipop, like here: http://stackoverflow.com/questions/27029273/backupmanagerservice-restoration-timeout-leads-to-force-stop

@yvolk, sorry I haven't gotten back to you. I don't really get on Github unless I have someone (or some project) to reach out to.
I did test that, and it now works like a charm.
Thank you very much.

Glad to hear!


'Copy All' in the search view adds extra CR chars to the copied text.

Issue Type: Bug

Grep something in the search view, right-click and select 'Copy All'.
Create a new file in VS Code and paste the text.
You will see extra blank lines.

I found that:

It doesn't always happen.
The text in the clipboard has extra CR (0x0D) chars.

VS Code version: Code 1.30.1 (dea8705087adb1b5e5ae1d9123278e178656186a, 2018-12-18T18:12:19.495Z)
OS version: Windows_NT ia32 6.1.7601

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz (4 x 2494)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: unavailable_softwarevideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: unavailable_off

Memory (System)
3.25GB (0.36GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

Can you give an example of a search result where this happened? I haven't seen it. Was it a multiline search and are you sure those characters don't exist in the document?

For instance, it happend when I searched the source code of FreeImage. (http://downloads.sourceforge.net/freeimage/FreeImage3180.zip)
I see extra blank lines like these:

And I couldn't find extra characters in the files.

Is definitely related to the line ending of the files, but I have no clue.


Convert to ValesDeDespensa complement

Converts from a mx.FoodVouchersComplement complement to a CFDI's valesdedespensa:ValesDeDespensa
Mapping is very direct as the GOBL struct was designed for this purpose and the GOBL library already validates and massages the data.
Depends on https://github.com/invopop/gobl/pull/211 => Make sure to update the mod.go file once the changes are released

Merged to move forward with testing and launching of the functionality. Feedback always welcome!

I think the only thing that's missing from these PRs for the complements is documentation. It'd be great to describe that these are available in the README.md, and how they can be used.

Indeed, thanks Sam! Done here: a963197


Make it work when rendered in server

Looks like window is not defined when pre-rendering the component on the server. This change allows the awesome react-motion-ui-pack to be used in isomorphic apps.
I hope this is useful!

@soska :+1:
Also, we need this https://github.com/souporserious/react-motion-ui-pack/pull/25 PR to be merged.


Set inertial origin to zero when is none in the urdf

Sometimes in the .urdf, a link can contain the inertial field (in such a case, we call it link, opposite to frame, which doesn't have inertial) without the origin, e.g.:
    <inertial>
      <mass value="0.06"/>
      <inertia ixx="1.6854e-05" ixy="0.0" ixz="0.0" iyy="1.6854e-05" iyz="0.0" izz="1.6854e-05"/>
    </inertial>

In this case, an error arises when StdLink.spatial_inertial() or StdLink.homogeneus() since link.inertial.origin is None.
This PR should fix this issue by assigning link.inertial.origin.xyz = [0,0,0] and link.inertial.origin.rpy = [0,0,0].
@traversaro do you think that this case can be managed in this way?

@traversaro do you think that this case can be managed in this way?

If you check the URDF specification (http://wiki.ros.org/urdf/XML/link), it is stated:

 (optional: defaults to a zero mass and zero inertia if not specified)
The link’s mass, position of its center of mass, and its central inertia properties.
 (optional: defaults to identity if not specified)

So, I think the fix is indeed correct and conformant to URDF specification (it could even make sense to report it to the urdf_parser_py repo, as it could make sense that this substitution is done by urdf_parser_py itself.

Thanks a lot @traversaro!


Updated free-programming-cheatsheets.md

What does this PR do?
Add resource(s) | Remove resource(s) | Add info | Improve repo
For resources
Description
Why is this valuable (or not)?
added another podcast
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[ ] Read our contributing guidelines.
[ ] Search for duplicates.
[ ] Include author(s) and platform where appropriate.
[ ] Put lists in alphabetical order, correct spacing.
[ ] Add needed indications (PDF, access notes, under construction).
[ ] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Check the linter error there is some issue with the spaces in your file.

already added


Hide remote scene tree when adding new scene

Don't show create_root_dialog if remote scenetree visible
Hide create_root_dialog on showing of remote scenetree
Fixes #29288

code looks ok, but should change the commit message.
git commit --amend and git push -f origin fix-remotescenetree

Indeed, this would be better as commit message:
Hide remote scene tree when adding new scene

- Don't show create_root_dialog if remote scenetree visible
- Hide create_root_dialog on showing of remote scenetree
Fixes #29288.

Should be fixed now. Thanks for the help

Thanks!


Handling empty lists when selecting minimum maximum

I've updated the algorithms to handle empty lists. This means the algorithm will return nil when given an empty list which matches the behaviour of the Swift library.
Do you think this should be included? It means we have to add a guard to each algorithm which increases the complexity. I'm not 100% sure if this pull request should be included.

It's good practice, so we might as well include it.


Refactor/Rename existing code base

Refactor progress

[ ] Parser

more modules can be added...
Description
Working through the Parser module, functions like amsu, sLL, mj, etc... make very hard to start working on stuff.
It would be nice if they had meaningful names, aswell as all the existing legacy GHC code, like for example types like RdrName.
Maybe I can refactor some I have touched? This issue could serve as a tracker

Completely agree with this. Before you carry out a refactoring of a core type or function, make sure you list out the name changes here so we can discuss.

I wonder if it would make more difficult a hypothetical change to ghc 8.
As haskell packages will increase the use of ghc >= 8 features we'll reach a situation that patches (or changes upstream) would be near impossible to accomplish

Agree with @jneira , although I'm not sure if that would be harder than refactoring...

Thinking on this again, maybe this is the point when we start departing from GHC? Is our aim to be GHCJVM or a different language that is compatible with most Haskell packages?
There is effort that maybe could be invested in generating a better ecosystem rather than keeping the pace of GHC
I don't know, I'm just giving all the ideas that come to my mind :smile:

Well, i would quote this relevant faq question:

How is Eta different from Frege?
Eta is strategically designed so that Hackage packages can be compiled with little modification, allowing reuse of existing infrastructure. This is done by supporting many of the GHC-specific extensions that are used heavily in popular libraries.
On the other hand, Frege, while it supports basic Haskell, lacks many of the key extensions required to compile Hackage, and hence cannot reuse the existing infrastructure. Moreover, because Eta uses a modified version of GHC’s frontend, we have access to all the powerful and well-tuned optimizations that Frege does not.

Also this early issue about frege and eta: https://github.com/typelead/eta/issues/3
I think eta fills a space betwen haskell and the jvm (with all it existing langs like scala, clojure, frege..) in a delicate balance. In my opinion haskell continue being the state of the art for lazy functional languages and i would like eta to be as close to haskell ecosystem philosophy (maybe not to the actual implementation) as possible.

Yep, definitely @jneira , I didn't want to imply that we should depart in philosophy. I'm with you about the Haskell philosophy.
I was talking about implementing GHC8.
I understand the differences between Frege and Eta :smile:

@jneira My gut says the scenario where GHC 8 makes a lot of patches impossible probably won't happen that soon. If/when such a situation happens, it means whatever features GHC 8 has are extremely practical and useful and it is imperative that we adopt them too.
Now, as you said, merging patches from GHC 8 upstream will become difficult if we do a refactoring. So does this mean we keep the codebase intimidating for newbies to contribute patches, especially in places like the Lexer/Parser? That's something we should discuss.

Thinking on this again, maybe this is the point when we start departing from GHC? Is our aim to be GHCJVM or a different language that is compatible with most Haskell packages?

I would say we want to be closer to the latter. The whole point of Eta since inception was to package Haskell in a way that everyone can use without sacrificing on the nice reasoning properties that the language gives you.
Moreover, we wanted to be able to take advantage of both the JVM & Haskell ecosystems and we would love to keep that going as much as possible. Of course, there are going to be some Haskell packages that we'll probably never be able to use since they'll use the most recent features and I think that's OK (singletons is a good example, though there is a way to encode it to work well with GHC 7.10). I'm sure that people who really want to use such packages will find a way to encode it differently using just the features Eta has, just like how Scala devs have been encoding Haskell constructs into Scala.

Awesome! Sounds great to hear that I'm on the same page as you :smile:


[WIP] ObservableCollection implementation

This PR adds a new ObservableCollection type that was proposed in #493.
To do:

[x] Refactor ObservableCollectionEvent to better handle diff/patch updates
[ ] Cover this PR with unit tests
[ ] Flesh out some documentation on how to extend ObservableCollection
[ ] Deprecate/typealias ObservableArray to this new class
[ ] Provide Observable2DArray alternative by leveraging TreeNode (#524).

Conditional conformances 😍
https://github.com/DeclarativeHub/Bond/pull/514/commits/6d080122406b5310ca1a6a64ad9a3388cdf0d255

I know, right? They’re excellent.

This seems like a great opportunity to refactor the event type in a way that would solve the current mess regarding diff and patch differences. I'm adding this as a TODO. Already have some draft version locally.

It looks like I don't have permission to push changes to your branch - I had a couple of changes to TableViewBinder so that it included the NSTableColumn in the cell creation closure (that's pretty important for multi-column tables!).
I'll try to get a PR against this branch together in the morning, but here's a gist of the changes if you get enthused: https://gist.github.com/tonyarnold/ead7c419f881b0f1846c98326937e837

Write permissions still don't seem to be working, but I've just created a PR and merged it in. All good!

Once this work is finished, I’m going to take a look at rolling moves into NSTableViews that are bound to a MutableObservableCollection :+1:

Very interesting. I'd forgotten about the use of structs in this way from Objective-C. Thanks!

@srdanrasic is descriptiveUpdate expecting a diff, or individual patches? I assume patches?

So I've hit something that needs design consideration. NSOutlineView seems to expect that you bundle both the data changes and the UI changes into a beginUpdates()/endUpdates() together (at least if you enable the launch argument -NSOutlineViewValidateChanges YES).
I've been using descriptiveUpdate to send through a tailored move that supports the tree of my own data structure, and the actual moves work ok, but the nodes that gain/lose children aren't updating. I assume this is because reloadItem(…) is called on an unexpected/offset item when calling OutlineViewBinder.apply(…).


Fix "primarility" typo

There's a typo in prime_options strings.

+1

+1 if you want to merge/close.


Discovering new devices in the background

Hi there,
I'm working on a similar application, that is (as far as I understand your project) is probably trying to give even more privacy guarantees. However, the bluetooth part seems very similarr, and I'm trying to find out if you have found a solution to continue to scan for new devices on iOS, while the app is in the background.
Our project: https://github.com/ito-org
Our Protocol Description: https://github.com/ito-org/STRICT
I'd love it if we could collaborate at least on a technical level, and at least ensure that the bluetooth advertisements are compatible / readable by the other apps.

I believe it is possible to link different apps through different Bluetooth processes as long as the device accepts specific channel identifiers from different "apps"
In this repo, as far as I understand, the identifier is hardcoded and only devices whose connection offers this identifier will be accepted to connect. You could make sure that your connection channel offers an identifier field and that the different app accepts your hardcoded identifier

That sounds great.
Did you guys already find a solution to the problem of communicating with other (iOS) devices while the app is in the background?
We are pretty confident that Android <-> Android works, as well as Android <-> iOS (Android can send iBeacons, which wake the iOS App), but iOS <-> iOS still eludes us, as Apple seems to not allow scanning or iBeacon sending in the background.

iOS 13.4 (and older) does not support the discoverability between third-party iOS apps in the suspended or background-running state, and with the devices' screens locked. Note: If the user unlocks the screen or launches an app (e.g., Settings.app), which does active Bluetooth scanning, then yes.
More details here: https://github.com/Co-Epi/CEN


Mention users in alert messages

Hi.
Thanks for great work.
I want to mention users in telegram and slack alert messages.
They both use "@username" format for mentioning.
but in alert message "@username" does not mention the user.
How can I achieve mentioning in messages?

I'd imagine setting the alert_text to have the @mention would achieve this ?

@Oneiroi I tried @mention in alert_text.
but in the message, it's only a plain text and does not really mention

Hi, @mortzi
On slack, Slack API mention is not same as GUI. Try <!username> format.

Any updates about Telegram?


Inflearn Whiteship HW1

인프런 기선님 강의 숙제1
3번째 기능구현이 쉽지 않았다. 하악하악.

@honux77 Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

Sorry, I just practice and try merge it my master branch please delete this!


Transfer ownership of plugin sensu-plugins-jolokia to sensu-plugins organization

We would like to transfer the ownership of this plugin to the sensu-plugins organization in hopes of better community support and exposure.
Per Slack convo I'll compare against https://github.com/sensu-plugins/sensu-plugins-skel to prep it for transfer
https://github.com/arineng/sensu-plugins-jolokia

Once you are ready follow the instructions here: https://help.github.com/articles/transferring-a-repository-owned-by-your-personal-account/ and I can transfer it over.

transffered: https://github.com/sensu-plugins/sensu-plugins-jolokia

closed per https://github.com/sensu-plugins/sensu-plugins-jolokia/pull/1


[Content]: User.com destination is no longer supported

What article on segment.com/docs is affected?
https://segment.com/docs/connections/destinations/catalog/user-com/
What part(s) of the article would you like to see updated?
User.com is not supported anymore
Additional information
No response

Thanks for flagging this, @fbonawiede. I've opened a discussion with our destinations team to figure out if this will work again going forward, or if we will remove the integration and its documentation.
I will leave this ticket open until we have a decision.

Hi @fbonawiede, I heard from Segment Support that this issue has been resolved on User.com's side. As a result, I will close this ticket.
If you continue to have issues with this destination, please reach out to Support.


Unify the aria attribute for octicons with text

Why:
As discussed in #35326 this PR unifies the aria attribute for octicons with text, by replacing aria-label="..." with aria-hidden="true".
Closes: #35326

What's being changed (if available, include any code snippets, screenshots, or gifs):
Replace aria-label with aria-hidden for octoicons with precedent or subsequent text

Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline (this link will be available after opening the PR).

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[x] For content changes, I have completed the self-review checklist.

@akordowski Thanks so much for opening a PR with these fixes! I'll update the branch and get this merged once tests are passing 🍏


Update ss-force-failover-read-scale-out.md

add additional step for listener.

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

#sign-off

@MikeRayMSFT Before I merge, can you verify that my grammar edits don't change the meaning? Thanks.

#sign-off


feat: support defaultRequestMeta on Cryption client

What this PR does:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

1.5.0


Deneb post SignedBlockContents

PR Description
Add DENEB Post SignedBlockContents API
Fixed Issue(s)

#7013
Documentation

[ ] I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

[ ] I thought about adding a changelog entry, and added one if I deemed necessary.

Clean new PR (Not rebased on https://github.com/ConsenSys/teku/pull/7055 which is closed now) https://github.com/ConsenSys/teku/pull/7082


While using command blocks i cannot use the @p input to send the person who steps on the pressure plate, to a new world.

So im trying to use command blocks to send people to new worlds, however, its seems i cannot use the "@p" command.  I have a bunch of plugins and im not sure if this is affecting the "@p" command or not. Whenever i try to use the pressure plate it says "Sorry, I couldnt find @p"
Please help me fix this! Thanks -ItzMePig

For some reason some servers do this, I remember that for my old server I would use /minecraft:tp @p (coords)
Try using that for multiverse

multiverse, just like most plugins, so not have support for command blocks and vanilla selectors. You can try using command hooks to try and solve it, but there is no guarantees.
https://www.spigotmc.org/resources/commandhook.61415/


Adds a recipe that creates a solution form

In the On Submitted section you are using: var item = createContentItem("Solution",
We want to update the team's content, not create a new contentItem. You'll need to do something like this:
var updateResult = updateContentItem(contentByVersionId(data.teamId), {
Also make sure to add validation after to check if the update was successful. Something like this:
if(updateResult == 1 || updateResult == 2 )  {   addError("serverValidationMessage", localizedText.updateSettingsError);   }


Record every time a user logs in to their accounts (last_login)

@lloan and @Andymendez100m, do I need to create an updateUser method on db in lib/db.ts? I don't think it exists yet. Maybe it's somewhere else.
... just wrapping my head around the architecture. As I understand it, the endpoints in pages/api are calling the actual db methods in lib/db.ts.

Any thoughts on the flow of this? Any ways you've seen this done before?
Right now when logging in, we're getting the user and checking their password. Would the most sensible thing to do be to update the user table after this has all been completed successfully? It would require multiple SQL queries, but it would be certain we have a valid login before updating the table.
I know there is also a way to get a column with a timestamp to update automatically on an update. But I would suppose that we'd want to check the password first and this way of doing things would keep us from being sure the password was correct.
I have also seen examples of keeping a separate table for all logins.

Left a note on #113 - I think we can approach it the way you suggested. I can't imagine we will ever have 1000 users. Obviously, this wouldn't scale, but for v1 it should be fine. We can worry about optimization for v2.

Personally tested and this works on dev at the moment. Thanks, @JacobSNGoodwin !


Support ELB tags

I'd like to be able to add tags to our ELBs. There is a boto issue that's been open for about a year adding tags https://github.com/boto/boto/issues/2549, so it doesn't seem like it will be added there. Boto3 has this feature, but only supports API versions 2014-09-01, 2014-10-01, 2015-03-01, and 2015-04-15. Moto's responses use API version 2012-06-01 so boto3 cannot parse moto's responses.
Any guidance on how to add this feature? Should we upgrade the ELB responses to the most recent version provided it works with boto 2.36? I didn't want to do a bunch of work that wouldn't get merged in.
I was thinking of doing two PRs, one upgrading moto to support boto3 for ELBs and a second adding ELB tags.

Sounds perfect

Fixed with #408


Example for Viscoelasticity

We could implement the viscoelastic model that @aradermacher started here https://github.com/BAMresearch/FenicsXConcrete/blob/50b1bf4982c49937151ef3c1d259735d6140096c/src/fenicsxconcrete/finite_element_problem/concrete_am.py#L550.
As far as i can see, there is a loop over the integration points (np.vectorize) which could be optimized with numba or C++/Rust

@aradermacher, You can wait until the solver is implemented before you start;)


Python wrapping for FixedPointInverseDisplacementFieldImageFilter

The filter you are requesting is already wrapped.
Currently there are two filters to invert displacement fields in SimpleITK:

InvertDisplacementFieldImageFilter
InverseDisplacementFieldImageFilter

There are two additional filters in ITK which can invert displacement fields:

IterativeInverseDisplacementFieldImageFilter
Remote module: FixedPointInverseDisplacementFieldImageFilter

Sorry, I meant to write "FixedPointInverseDisplacementFieldImageFilter", which is not yet wrapped.
Apologies for the confusion. Will adjust the title accordingly.

Please see pull request #257. To use the filter you will need to compile SimpleITK yourself from the Superbuild with the added CMake option -DModule_FixedPointInverseDisplacementField=ON.

Hi,
I just tried doing this. After building was complete, the FixedPointInverseDisplacementFieldImageFilter module wasn't included in the Python wrapping.
However, it was included in the ITK build - when I look at the SimpleITK-build/ITK-build/Modules/Remote/ directory, there is a folder named FixedPointInverseDisplacementFieldImageFilter.
Not sure why this is happening?
For reference, this is the code I used for building:
SimpleITK-build ramana$ cmake -DCMAKE_CXX_COMPILER:STRING=/usr/bin/clang++ -DCMAKE_C_COMPILER:STRING=/usr/bin/clang -DModule_FixedPointInverseDisplacementField=ON PYTHON_EXECUTABLE=/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python PYTHON_INCLUDE_DIR=/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 PYTHON_LIBRARY=/System/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib WRAP_TCL=OFF WRAP_JAVA=OFF WRAP_RUBY=OFF WRAP_R=OFF WRAP_CSHARP=OFF WRAP_LUA=OFF WRAP_PYTHON=ON ../SimpleITK/SuperBuild/

That configuration looks correct. Does the "Code/BasicFilters/json/FixedPointInverseDisplacementFieldImageFilter.json" file exist in you SimpleITK source tree? Did you check SimpleITK out from git? What is the git hash you are using?

The "Code/BasicFilters/json/FixedPointInverseDisplacementFieldImageFilter.json" file isn't present.
I used git clone http://itk.org/SimpleITK.git to get SimpleITK. Was this incorrect?

I apologize for not being clearer with the state of the GitHub workflow. I have a pull request ( #257 ) in this repository for this feature, it has not been merged into the master or next branch yet; It is only proposed.
Here are the instructions for checking out the patch, located at the bottom of the pull request:
git checkout -b blowekamp-AddFixedPointInverseDisplacementFieldImageFilter master
git pull https://github.com/blowekamp/SimpleITK.git AddFixedPointInverseDisplacementFieldImageFilter

HTH

Sorry, as you can tell I'm very new to this and I'm not quite clear.
Will these steps build correctly?

git clone https://github.com/blowekamp/SimpleITK.git AddFixedPointInverseDisplacementFieldImageFilter

Then use the cmake code as I wrote above, but with ../SimpleITK/SuperBuild/ replaced by ../AddFixedPointInverseDisplacementFieldImageFilter/SuperBuild/

Lets start over ( this will take longer to compile, but be clean):
git clone http://itk.org/SimpleITK.git
cd SimpleITK
git fetch  https://github.com/blowekamp/SimpleITK.git AddFixedPointInverseDisplacementFieldImageFilter
git checkout FETCH_HEAD -b AddFixedPointInverseDisplacementFieldImageFilter

You should not need to specify the compiler to CMake. You may want to look at this FAQ entry.
Then you will need to compile, with something like:
mkdir bld
cd bld
cmake -DModule_FixedPointInverseDisplacementField=ON PYTHON_EXECUTABLE=/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python PYTHON_INCLUDE_DIR=/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 PYTHON_LIBRARY=/System/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib WRAP_DEFAULT=OFF  WRAP_PYTHON=ON ../SuperBuild/
make -j

Thank you very much, will give this a try.

Thank you for your questions. If your problem is not resolved you are welcome to reopen the issue.


[C++][Parquet] parquet::CompressionToString not recognizing brotli compression

It looks like we just need to add a case to handle the brotli codec [here|[https://github.com/apache/arrow/blob/9b4cd9c03ed9365f8e235f296caa166ea692c98f/cpp/src/parquet/types.cc#L122]]
Reporter: Hatem Helal / @hatemhelal
Assignee: Hatem Helal](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=hatem) / @hatemhelal
PRs and other links:

GitHub Pull Request #2963

Note: This issue was originally created as PARQUET-1458. Please see the migration documentation for further details.

Hatem Helal / @hatemhelal:
Looking into fixing this.

Wes McKinney / @wesm:
Issue resolved by pull request 2963
https://github.com/apache/arrow/pull/2963


fix(scala): fix nested type serialization in scala object type

What does this PR do?

Related issues
Closes #1801
Does this PR introduce any user-facing change?

[ ] Does this PR introduce any public API change?
[ ] Does this PR introduce any binary protocol compatibility change?

Benchmark

strange error


Error from server (Expired)

This works for small cluster but failed for a large cluster, in this case, there were more than 5.5k HPA
$ kubectl reap hpa --all-namespaces --dry-run=client -ojson | jq -s . | jq -r '["NAMESPACE","HPA_NAME","CREATION_TIMESTAMP","LAST_USED_TIMESTAMP"],(.[] | [.metadata.namespace, .metadata.name, .metadata.creationTimestamp, .status.lastScaleTime]) | @tsv' | column -ts $'\t'

Error from server (Expired): The provided continue parameter is too old to display a consistent list result. You can start a new list without the continue parameter, or use the continue token in this response to retrieve the remainder of the results. Continuing with the provided token results in an inconsistent list - objects that were created, modified, or deleted between the time the first chunk was returned and now may show up in the list.

Hi @bjethwan, could you try the --timeout flag with a long duration like 1h?


New Theme: Pywal

Dracula for Pywal

~Currently Pywal only has the base16 version as base16-dracula, this is based on the .xrecourse  instead~
Repo: https://github.com/timescam/pywal

Updated the colors to the ANSI Color Palette under Dracula Specification.

Hey @timescam, you can transfer the repository now.
Thanks for your patience!

transferred

And we're live! https://draculatheme.com/pywal 🎉 🎉 🎉


Please npm publish the 1.x version of ionic-sdk on NPM

The latest release on the 1.x branch is 1.3.1, but that version isn't published to npm.

Please npm publish it.
Thanks!

Thanks for opening an issue with us! Ionic 1.3.1 is released under ionic-angular (along with the latest Ionic 2 release) instead of ionic-sdk.

Found it. Thanks.

No problem at all!


Flying Shuttle should not deopt Chunk Groups

Flying Shuttle shouldn't care about pages being sprawled across various chunks. This should fix https://github.com/zeit/next.js/issues/7058 because every client bundle was disproportionately large versus sharing a chunk.
This pull requests also separates React from the commons chunk.

Fixes #7058

@Timer did you check if it had the correct result across builds?


If CGO is enabled, cross compilation fails with unhelpful error message.

Prerequisites

[x] I searched to see if the issue already exists.
[x] I am running the latest version. (up upgrade)

0.2.6

[x] I inspected the verbose debug output with the -v, --verbose flag.

Error: building: build hook: "GOOS=linux GOARCH=amd64 go build -o server *.go": # runtime/cgo
ld: unknown option: --build-id=none
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Description
If environment variable export CGO_ENABLED=1 is set, Up will fail with a unhelpful error message. The reason is that Go tries to compile net/http using the CGO resolver.
"By default the pure Go resolver is used, because a blocked DNS request consumes only a goroutine, while a blocked C call consumes an operating system thread. When cgo is available, the cgo-based resolver is used instead under a variety of conditions"
https://golang.org/pkg/net/
Steps to Reproduce
[0] Using a Macbook Pro & OSX
[1] $ export CGO_ENABLED=1
[2] clone the golang Up api example
[3] run $ up in project directory
Love Up?
❤
Solution
Check if CGO is enabled at compile time and warn? Fail?

I don't know if you're looking for a workaround or just a helpful message - I think we should have both :)
Regarding the workaround, I think you'll need to define a custom build & clean hook that possibly builds with docker.

Regarding the workaround, I think you'll need to define a custom build & clean hook that possibly builds with docker.

Simply assert export CGO_ENABLED=0 with your build and clean for a workaround. No docker required.
From a product on-boarding perspective when using Up for the first time this was a bad experience. Figured it'd be best to remedy that so that it isn't a turn off for others. It sounds like you agree. But if not, no worries if you close it.

No, I definitely agree.  I was just asking because some projects need CGO enabled to be able to compile in the first place.  I wasn't sure if you fell into that category.
Feel free to add a PR, it could be done here  or it could also be asserted at build time.

sounds reasonable to force 0 it in the hook by default :D


Wofi shows formatting tags in entry list

I guess, that's now how it's supposed to be, right?  Using rofi looks normal.

Yes, that looks like a bug. I'll have a look...

:)

I think this should fix it, but could you please try out the branch fix/formatting-in-selectors? Thank you 🙂

Will check after weekend! Cheers for fixing :)

How do you start this locally? I always struggle to get things started which use relative imports.
ImportError: attempted relative import with no known parent package

Back to topic:
looks better now. I still see all entries prefixed with /. Same on rofi, tho. I suppose that's intended?

Edit: If I change all imports to absolute, which is the recommended way, I am fine. Maybe you are interested in a Pr for that?

I didn't know that absolute imports are preferred. Can you link me these guidelines, please?
Currently, rofi-rbw is on the path to use Poetry, and with that, relative imports work quite fine.

looks better now.

🥳

I still see all entries prefixed with /. Same on rofi, tho. I suppose that's intended?

Yep, that is intended. But I'm open to a discussion 😉

Yep, that is intended. But I'm open to a discussion

I like it more without. What's your intention about that?

Can you link me these guidelines, please?

Quote from PEP8:
Relative imports for intra-package imports are highly discouraged. Always use the absolute package path for all imports. Even now that PEP 328 is fully implemented in Python 2.5, its style of explicit relative imports is actively discouraged; absolute imports are more portable and usually more readable.
PR: https://github.com/fdw/rofi-rbw/pull/65

You made me curious and I dug a bit, because I couldn't find the paragraph you quoted in PEP8 anymore. It seems to have been removed in 2013 with this commit, because the new relative syntax avoided some problems the older one had.
There's also a message by Guido van Rossum about removing the anti-recommendation.
So I think using the new syntax for relative imports seems safe, at least from that perspective. Do you agree? Are there any other reasons to prefer absolute imports?

What's your intention about that?

Oh, sorry, I made a mistake 🙈 Looking at the code again, it's actually not on purpose, but an artifact when not using folders. I do use folders heavily for everything, so I never noticed you would get a single starting / if you don't. Sorry for that wrong comment!
When I have time, I'll adapt this to only show the slash when there is a folder.

So I think using the new syntax for relative imports seems safe, at least from that perspective. Do you agree? Are there any other reasons to prefer absolute imports?

You might be right. The quote I presented might have been outdated.  With your code I ran exactly into the same issue I have had already in the past with oder applications/libs.

Can you please test the new branch fix/dont-prefix-slash if that still works? Thanks :)
Regarding the relative imports, I'd like to wait until custom-shortcuts is merged, which brings Poetry. If you still have problems then, we can discuss them (but maybe in a new ticket 😉)

Hi @mindrunner, did you have a change yet to test the branch?

sorry for delay! Looks better now! :)

Just realized, that you show folder names as prefix of items. (where this issue originates from I suppose). Maybe we could implement a toggle for that? I personally prefer just seeing the items. In a very long list I actually do not care about the folders, so imho does not make sense. Personal preference I suppose and just eyecandy. So nothing important...

You can try the branch feature/no-folder, there should now be a switch --no-folder for you 🙂

Hey, if you have a moment, can you please try out the branch and report back? If it works, I'd like to merge it and build a new release.
Thank you 🙂

I tested the branch, it fixes the no folders issue but now it's returning the entry's name and username instead of username and password.

Thanks, there was a bug. I think I fixed it, but can you test again, please? 🙂

I am trying to test, but getting an
failed to connect socket: No such file or directory
error after selecting an entry.
Happens when I start rofi-rbw from my Poetry environment. Does not happen on the system wide installation.

Thanks, there was a bug. I think I fixed it, but can you test again, please? slightly_smiling_face

Looks good. Prints username and password as expect.

Looks good. Prints username and password as expect.

Thank you 👍

I am trying to test, but getting an failed to connect socket: No such file or directory error after selecting an entry.

But you get the list of all entries?
In any case, that feels more like a problem with your local setup than with the branch, so I'll merge and build a release and then, if the error persists, we can open a new bug.


web_blocking exception in response of new accounts request

[x] Updated to the lastest version v1.5.7

[x] Read the README and docs

[x] Searched the bugtracker for similar issues including closed ones

[x] Reviewed the sample code in tests and examples

[ ] app (instagram_private_api/)

[x] web (instagram_web_api/)

Describe the Bug/Error:
I recently created instagram account and with the help of media_comments route i am able to fetch comments of my specified post. I tried to run this on my VPS which i bought from hetzner but i faced the Expecting value: line 1 column 1 (char 0) exception.
After some experience with built-in code of media_comments i noticed the issue is coming from the line which is return json.loads(response_content). so i checked the response_content and it's an HTML that i pasted here.
"TermsUnblockPage": [{
    "data": {
        "screen_key": "web_blocking",
        "contents": {
            "web_blocking": {
                "consent_key": "web_blocking",
                "content_type": "text",
                "headline": "Updates to Our Terms and Data Policy",
                "paragraphs": [{
                    "text": "We've updated our Terms and made some changes to our Data Policy. Please take a moment to review these changes and let us know that you agree to them.",
                    "style": "paragraph"
                }, {
                    "text": "You need to finish reviewing this information before you can use Instagram.",
                    "style": "paragraph"
                }],
                "optional_paragraphs": []
            }
        },
        "primary_button_text": "Review Now",
        "launch_flow_directly": true
    },
    "__USE_DEPRECATED_API_SERIALIZER": true
}]

I can successfully get the response via my old instagram username and password but the new accounts have this issue.

Try logging in on the new accounts on a webbrowser or phone and agree on the new terms of service if you haven't already

@notcammy I can login on my phone and even from browser without any problems and there is no new terms of service to agree. I have this problem on the server not in my local. Also tried to use some terminal browser such as lynx to login instagram via my server but no success.

This may be linked to GDPR since you're connecting via a European host. You will need to manually accept the new TOS connected  through your browser via the same IP or another European location. Or just don't use a European host.

These errors occur when connecting via a European host because your Instagram profile is localized in a city governed by GDPR (General Data Protection Regulation). This is incompatible with the  instagram_private_api montioned in the README.md file used by the  Osintgram.py file code Line 14 - 15.
from instagram_private_api import Client as AppClient

from instagram_private_api import ClientCookieExpiredError, ClientLoginRequiredError, ClientError, ClientThrottledError

To resolve this issue, you must avoid using a European IP. Instead, create a new Instagram profile using an IP address, phone number, and email located in a non-European country, such as the USA or any other country not governed by GDPR regulations. This will prevent potential access issues to Instagram for your Instagram Private API
Please validate and close the issue if this answered your error! , this will help the developers and users of this tool who want to resolve the problem, thank you!


Use a designated initializer for RLMObject

With the following class custom class
@interface MyClass : RLMObject
@end

@implementation MyClass
- (instancetype)init {
    self = [super init];
    if (self) {
        [self doSomethingImportant];
    }
}
@end

When I create the object with [[MyClass alloc] init] doSomethingImportant is called
But when an object is pulled out of the realm, the following initializer is called
- (instancetype)initWithRealm:(RLMRealm *)realm
                       schema:(RLMObjectSchema *)schema
                defaultValues:(BOOL)useDefaults {
    self = [super init];
    ...

Due to the self = [super init]; code, I have different behavior between objects I create and objects I pull out of the Realm.
Maybe an overridable -(void)RLMObject::RLMWakeUp method would be useful to execute initialization code in both cases.
Thanks

We believe that this issue is a duplicate of #1994. Closing.


embedding docs are incomplete/inaccurate, sample project is broken

The docs here don't tell you to import react in your objective C code: https://facebook.github.io/react-native/docs/embedded-app-ios.html
This is made more confusing because the the linked sample project doesn't build (in XCode 7): https://github.com/tjwudi/EmbededReactNativeExample
It breaks on:
#import "RCTRootView.h"

Which is also where my attempt to embed breaks.

Did you run pod install after cloning the example project?
The linked project is quite out-of-date however, it was last updated March 31st. I'll try to add an up-to-date copy to this repository.

@andrewljohnson - does the docs update from #3490 help?
@javache - perhaps we can just link to this repo instead: https://github.com/dsibiski/react-native-embedded-app-example cc @dsibiski

@brentvatne @javache I've been meaning to re-write the iOS "embedded app" docs for a little while now. I think it's time now that what is there is no longer working. Perhaps I'll take a stab at it later this evening and submit a PR. I'll be adding Android example to this repo shortly as well.

AFAICT, the current embedding docs are also out of date at § Start Development Server.  That command tries to cd into Pods/React which doesn't exist after following the prior workflow.  The React pod appears to be installed, but that directory doesn't exist.  Nor is there any  package.json for the npm run start ... command to use anywhere under Pods/.  :neutral_face:
I was hoping for a quick start into using React Native for some new feature work on an existing app, but it seems that I'm stuck on the proverbial on-ramp.
Any quick pointers on the current (v0.14.2) best practice for getting the dev server running?  Is it sufficient to just grab the custom build step from a new app template generated with react-native-cli?

I think I can fix the embedding docs now, I'll do a PR unless there is other action I'm missing?
The main things that I had to work past were:

I needed to import RCTRootView.h like this:
#import <React/Base/RCTRootView.h>

the jsCodeLocation needs a platform:
NSURL *jsCodeLocation = [NSURL URLWithString:@"http://localhost:8081/index.ios.bundle?platform=ios"];

The RCTRootView *rootView in the example needs a property parameter.
 RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL: jsCodeLocation
                                                     moduleName: @"SimpleApp"
                                              initialProperties: @{}
                                                  launchOptions: nil];

@jwhitley dev server works for me when I run it in my the /ReactComponent directory that has index.ios.js
(JS_DIR=`pwd`; cd /node_modules/React; npm run start -- --root $JS_DIR)

Here is the README I added to our app repo for my colleagues to run react when developing the iOS app:
Using React Native, Embedded in iOS App
React Native is embedded based on this guide, so we can use it only for specific views.
Install React
This assumes you put your embedded React-Native code in a directory called ReactNativeComponents. React is installed via npm (using the package.json file in ReactNativeComponents), then connected to the iOS app via cocoapods (Podfile maps to React and specific modules we use).
cd ReactNativeComponents
npm install
cd ..
pod install

Start the React packager
This will conveniently hot reload your JavaScript as you edit it.
cd ReactNativeComponents
(JS_DIR=`pwd`; cd /node_modules/React; npm run start -- --root $JS_DIR)

Run the App
After that, you just run the app as usual in XCode simulator, and your React views show up.
When you edit the JavaScript, you can used cmd-R to reload the simulator, and you don't need to recompile. Recompiling is only needed (as usual) if you edit the native code for the app.
More docs here.

@jwhitley
I had the same problems, got through them.  Documented here:
http://zeemeeeng.blogspot.com/

Thanks for sharing @DougBanksPersonal! :+1:

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/embedding-docs-are-incompleteinaccurate-sample-project-is-broken
ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub.
Also, if this issue is a bug, please consider sending a PR with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.


[Feature Request]: HTTP Transfers - Resumeable Uploads

Summary
Hard due to multipart
Harder on iOS where we have to create the raw protocol.  In order to do this, we have to remove the multipart on iOS.... hmmm
API Changes
Hopefully none again
Intended Use Case
Improve
Code of Conduct

[X] I agree to follow this project's Code of Conduct

iOS 17 will have the necessary APIs for this, however, it only supports a newer HTTP protocol.
Android should be easy if we track "where" we are, but we should rely on server metrics.  May not be doable yet.
This is delayed until iOS 17 in any case.


[BUG][Monitoring v2]Prometheus target serviceMonitor/kube-system/rancher-monitoring-coredns is down in k3s hardened cluster - connect refused

Rancher Server Setup

Rancher version: 2.6-head Commit ID cb9ccde
Installation option (Docker install/Helm Chart): Helm

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): k3s

Proxy/Cert Details:

Information about the Cluster

Kubernetes version: v1.24.4
Cluster Type (Local/Downstream):

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): imported

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom)

If custom, define the set of permissions: standard user

Describe the bug

After installing monitoring, prometheus target: serviceMonitor/kube-system/rancher-monitoring-coredns/ is down. restarting the pod does not resolve issue.
I don't see this error on a non-hardened cluster
To Reproduce

import hardened k3s cluster
create standard user
install monitoring (100.1.3+up19.0.3)
install alerting drivers chart (100.0.3)
navigate to cluster>monitoring
select 'prometheus targets' link

Result
prometheus target is down
Expected Result

all prometheus targets are healthy/running
Screenshots

Additional context

SURE-5357

/backport v2.6.10

@ronhorton , we discussed in the refinement that you would retest this before we work on it.

This needs to be reproduced in 2023-Q1-2.6x and 2023-Q1-2.7x

reproduced rancher 2.7-head commit ID c66d79a666

create a hardened k3s cluster
in rancher UI, hamburger > cluster management > import existing > generic
ssh to k3s cluster node and run the following:
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml PATH=$PATH:/var/lib/rancher/k3s/bin:/opt/k3s/bin
run rancher registration command (from ui) on k3s node
cluster will register and be added to the clusters in the rancher instance
install latest rancher-monitoring (enable/disable psps according to k3s version - v1.24.4+k3s1 check psp enabled box when installing monitoring
navigate to monitoring > prometheus targets
click on 'unhealthy'
rancher-monitoring-coredns connection refused

The rancher monitoring chart is missing a network policy in the hardened cluster. As a temporary work around, you can add port 9153 to the default-network-dns-policy and restart the coredns pod.

Validated the issue on rancher v2.8-head and k8s cluster v1.26.8+k3s1.
Validation steps

Created a k3s harden cluster.
Imported the k3s harden cluster into rancher v2.8-head
Created a Standard User.
Added a Standard User as an Cluster Owner of k3s harden cluster. (Without Owner role cannot install charts with standard user)
Login into standard user.
Installed a Monitoring and Alerting charts.
Opened 'Prometheus Targets' link by navigating Cluster --> Monitoring --> Prometheus Targets.
All the Endpoints/Targets are in 'Up' state.

Since issue is resolved. Closing the ticket.


python310Packages.hickle: 4.0.4 -> 5.0.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.

WARNING: Package has meta.broken=true; Please manually test this package update and remove the broken attribute.

meta.description for python310Packages.hickle is: "Serialize Python data to HDF5"
meta.homepage for python310Packages.hickle is: "https://github.com/telegraphic/hickle"
meta.changelog for python310Packages.hickle is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 5.0.2 with grep in /nix/store/z5wji2l3p4f86qnvlk33fn0b781k97h7-python3.10-hickle-5.0.2
found 5.0.2 in filename of file in /nix/store/z5wji2l3p4f86qnvlk33fn0b781k97h7-python3.10-hickle-5.0.2

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath
python310Packages.hickle
python310Packages.pywick
python39Packages.hickle
python39Packages.pywick

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/z5wji2l3p4f86qnvlk33fn0b781k97h7-python3.10-hickle-5.0.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.hickle https://github.com/r-ryantm/nixpkgs/archive/403c160e99abf5a561a7ff2d90286b435fddf531.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/z5wji2l3p4f86qnvlk33fn0b781k97h7-python3.10-hickle-5.0.2
ls -la /nix/store/z5wji2l3p4f86qnvlk33fn0b781k97h7-python3.10-hickle-5.0.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

4 packages marked as broken and skipped:

python310Packages.hickle
python310Packages.pywick
python39Packages.hickle
python39Packages.pywick

Maintainer pings
cc @bcdarwin for testing.

Dup of #189209.


Support Triggering Buffered Events

Objective
It should be possible to trigger "buffered" events stored in Events collections.
Solution
Events collections now store an Events::triggered_event_cursor that tracks the last triggered event index. This is used in the new Events::trigger_events function, which will trigger untriggered events in the collection and increase the index.
There is a new public trigger_buffered_events::<E>  system that can be inserted at any point (or multiple points) in the schedule to trigger events. Where an event should be triggered in the schedule is context-specific, so this probably isn't something we should do by default.
I also moved the event triggering logic to World and added borrowed variants of trigger methods (as we can't / shouldn't take ownership of events that are triggered).
Testing
Included a test that exercises the trigger_buffered_events system in various scenarios.

Changelog

Added Events::trigger_buffered and a public trigger_buffered_events system that calls it, which can be inserted into a point in the schedule to trigger events of a given type that have not been triggered yet
Moved event triggering logic to a new World::trigger_unsafe and added safe World::trigger_borrowed and World::trigger_targets_borrowed variants.

Is the plan to make events and observers interchangeable? I was curious why observers and events are separate concepts when both implement Event, and I found this PR.
The idea is definitely interesting, but I have a few questions:

An event translates naturally to an observer, but as a library author, will I need to insert the trigger system myself and document it, or should I ask the user to remember to insert it somewhere? Neither option seems very intuitive to me :(
Another question is how observers will be translated into events. Observers can target entities, but events can't. I read that there is a plan to separate entity vs. non-entity observers. Does this mean that only observers without entities will be translatable into events?


Groupie Global Friends List Feature

Groupie makes heavy use of "friends" and "guildies" for the auto-response tool to work.
The in-game friends list is limited to 100 names, and it's character-specific. The in-game ignore list is also limited to 100 names.
We need a global friend (and ideally global ignore list) so that all your friends and enemies are known to you no matter what character you are on.
Not trying to sync the friends' list... instead we'll read from it, and populate a Groupie friends' list that is shared between all toons on your account.
There are too many issues with the list only supporting 100 friends, and rather than deal with that we'll just have Groupie consume whatever friends are on a list at load, and then update the Groupie list whenever someone is added or removed.
Here are a few places to start. I just want to create a global friends list for an account.

https://www.curseforge.com/tsw/tsw-mods/friends-list-sync
https://www.curseforge.com/wow/addons/kayrfriendsync-synchronized-friend-ignore-lists
https://www.curseforge.com/wow/addons/syncfriends
https://www.curseforge.com/wow/addons/friend-ignore-share

Thoughts on MVP workflow.

On Load Read and Store a Copy of the Character's Friends List
On Load Read and Store a Copy of the Character's Ignore List
On Load Read and Store a Copy of the Character's Guild List
Check for Changes on all 3 Lists
Merge All Friends Lists and Guild Lists to form Global Friends List
Merge All Ignore Lists to form Global Ignore List
Need a UI that Allows People to See And Edit Lists, but a Note Saying It'll Just Get Overwritten if They Don't Edit the Source...  this part gets a bit messy, I'll mock something up.

In this situation, if you had 2 toons in a guild, and you left the guild on one of them, you would still see the Guildies on your Global Friends List.
Likewise, if you had 2 toons in a guild and you left the guild, you would still see the Guildies on your Global Friends List until you logged in with a toon that was in that guild so the tool could properly update.
So like... your Groupie Friends List might say... if you've got a lot of toons and a lot of guilds, it'll be quite long.
 "Hey here are all my atls..." along with a note so you know why random toons were added to your friends or ignore lists.
Not MVP...
The ability to sync your toons with your friends automatically behind the scenes; so on my side in a Tooltip it'd say, "Fathom" on all your toons, and any time you posted a LFG message I could auto respond, "Hey bud, let's go!" It'll need to be something we can turn off, and I'll work up UI for it when we're ready.
And at some point I want Ignore notes to maybe show up in tooltips for your friends.  Future idea just brainstorming a bit.
Block users on the Global Ignore List... need a way to filter them from showing up in messages and in chat. Global Ignore list addon does this, we can look at their logic.

 It's so buggy when add-ons try.


Table controls not visible with IE or Chrome

Howdy.
See picture https://dl.dropbox.com/u/6281024/persistent/jwysiwyg_table_controls.png for clarification.
With Firefox 12.0 I can see the table-controls for inserting/removing rows/columns. However, with Internet Explorer 9.0 or Chrome 19.0 I cannot see these controls. The issue is reproducible e.g. in here: http://akzhan.github.com/jwysiwyg/help/examples/01-basic.html

This isn't working in IE 9


Add timeout support for long running tests

Sometimes the underlying step implementation waits for a third party to respond. Rather than having the tests hang, have a way to introduce timeout on actions.

Closing as stale. Please reopen if this is still valid.