Events are not detected on Android 10

On HeadphoneDetection.isAudioDeviceConnected().then(console.log);  I get bluetooth true but no events are detected when I press on any button on the headphone.
The event listener HeadphoneDetection.addListener(console.log); is never called
I am testing on android 10.

same issue

same issue

I found out that Android 9 & 10 ignores the media button actions if the app is not a media app. Since my app was not a media app that was the reason that this library could not detect any event

I found out that Android 9 & 10 ignores the media button actions if the app is not a media app. Since my app was not a media app that was the reason that this library could not detect any event

I believe this package only detects connected devices but not events when pressed on a headphone. The event listener will fire only whenever you connect with a wired/bluetooth headphone

You have might to look into react-native-incall-manager to get events when headphone buttons media is pressed but I believe it only supports android devices


Provide UV and Barycentric coordinate information when picking objects with MeshColliders

This change modifies the picking classes and functions to calculate Barycentric and UV coordinates based on the HitPosition and the face which the picking ray passed through. Using an explicit formula for finding the Barycentric coordinates of our HitPosition, we can interpolate the UV coordinates of the three face vertices in order to find the UV coordinates of the HitPosition on the mesh.
Also note that UV coordinates, Barycentric coordinates, and the collision face index are standard outputs of other raycasters such as Unity's.

Please revert unnecessary javadoc changes. Like the removal of the "" tags. Thanks.

I returned the HTML tags to their proper places (although it seems that many of these tags are unclosed or misaligned), but I can't keep the spaces at the end of comment lines, as Android Studio automatically strips those whitespace characters whenever I save. I can probably turn off this formatting-at-save, but I'm not sure how necessary it is. I would assume that most developers will be using Android Studio and these changes will happen eventually anyways. Let me know what you think.

What does this do if I am not using a mesh collider? Does it give me texture coordinates for the sphere or box colliders? I think this pull request is incomplete unless does something useful for all of the basic collider types. Maybe we can't do barycentric coordinates for all of them but perhaps we can pass something else that would be equally useful.

As of now, it populates the corresponding GVRPickedObject instance with Barycentric coordinates of { -1.0f, -1.0f, -1.0f } and texture coordinates of { -1.0f, -1.0f } if a GVRMeshCollider isn't used. This is supposed to indicate that Barycentric /Texture coordinates weren't calculated for the object since the coordinates are normally on a range of [0, 1].  This convention was based loosely off of Unity's raycaster behavior:

RaycastHit._textureCoord is a texture coordinate when a hit occurs. A Vector2 zero is returned if no mesh collider is present in the GameObject.

However, I do agree that supplying information about other colliders could prove useful (think spherical coordinates for SphereColliders, front/back/left/right/bottom/top face indication for BoxColliders).

@NolaDonato All texture and Barycentric coordinate information is now populated based on a boolean argument passed into GVRMeshCollider. The coordinate calculation functions have been moved from picker.cpp to mesh_collider.cpp in accordance with this change.

Good job. Now we need to visit the samples that use GUI views to see if this will help clean them up.

Yes, anything that features interaction with an Android View can be greatly simplified by using my new GVRGUISceneObject, which incorporates these picking changes and will have its own pull request once this one is merged.

Can we have some other opinions on whether removing the collider group functionality is OK? The GVREyePointee class allows you to group together multiple colliders to describe the collision geometry. I am thinking we should keep it and rename it GVRColliderGroup. What does everybody else think?

It is high time to get rid of eyePointee references. GVRColliderGroup sounds good to me too.
On the other hand this pull is changing too many things. It would be nice if the eyePointee stuff can be done separately and this kept to the topic as stated by the title.

@liaxim I agree that this change should probably be in a different PR. I will make the necessary changes and prepare a branch to remove the references to EyePointee and create a GVRColliderGroup object.

Looks good to me and what I tested worked as expected. Can be merged even with the extra JNI calls.
@NolaDonato let us know whether you are ok with merging this. Thanks.

Yes, it looks good.


Don't Merge! PR real time test for source branch full build

Docs Build status updates of commit a9c3b32:
:clock10: Pending: waiting for processors (5 builds ahead of you)
:warning: Docs Build is busy, currently there are 5 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit a9c3b32:
:clock10: Full build: the average full build time is 5 min(s) 55 sec(s), this is based on the last 764 build(s) for this repository.

Docs Build status updates of commit a9c3b32:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


IQ# Magic commands list is outdated

This page has a manually edited list of IQ# commands, and it looks like it diverged from the automatically generated list at https://docs.microsoft.com/en-us/qsharp/api/iqsharp-magic/. At a glance, several of the missing commands are %azure.quotas, %trace and %debug.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: fc66ff43-2536-a6f6-a7c0-464b3ce95c5e
Version Independent ID: 18740ea8-a9c7-3911-5c4b-a1cc6f220875
Content: IQ# Magic Commands - Azure Quantum
Content Source: articles/user-guide/quickref/iqsharp.md
Service: azure-quantum
Sub-service: qsharp-guide
GitHub Login: @gillenhaalb
Microsoft Alias: a-gibec

Good catch!
@geduardo Should we keep the article in this form? It manually duplicates the commands from the API reference with slightly different explanatory sentences.

I think we can remove this article since it's basically a duplicate. What do you think @tcNickolas @dime10?

+@anjbur


Removing license

Can you please explicitly mention in the article what exactly happens when you remove a license, and also clearly state what is a supported configuration? For example, if a user has 100GB worth of files in their OneDrive and you choose to convert it to shared mailbox, with only removing the license and not deleting the user account. What will happen to the files, will ODFB still be accessible, can he add/remove files, is this a violation of the license agreement, etc?
The corresponding Onedrive documentation (https://docs.microsoft.com/en-us/onedrive/retention-and-deletion) refers to this article for the above scenario, which is not really explained here.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f6245943-00b8-c47b-f739-731531d5d357
Version Independent ID: a9ec7066-ed8c-7b77-1d87-8c50bf74ec6c
Content: Delete a user from your organization - Microsoft 365 admin
Content Source: microsoft-365/admin/add-users/delete-a-user.md
Service: o365-administration
GitHub Login: @cmcatee-MSFT
Microsoft Alias: cmcatee

Hello @michevnew Vasil, how are you?
Did the test in my lab, and I still could access the ODFB files, both as an admin and as a user.
However, as I can not mimic 30 days to see what would happen the day after the default retention period, I need to ask @cmcatee-MSFT , Cern can you kindly clarify here? I appreciate.

@cmcatee-MSFT - Can you please share your insights on this issue?
Thank you.
cc: @kenwith

This has been forwarded to the product team. We'll update the documentation when we receive clarification.


Add a parser for wrapping the grammar

The grammar should not be called using the Antlr files, but with an implementation of the Parser interface.

A parser interface is now used to hide the ANTLR one.


support for fuse filesystems

mount.fuse usage:
usage: mount.fuse type#[source] destination [-t type] [-o opt[,opts...]]
as an example:
mount -t fuse s3fs#s3bucket /mnt/bucket

Thank you for supporting Chef! Our process has a couple prerequisites before we can merge your contribution. We need to ensure you've completed a Contributor License Agreement (CLA) and a ticket on our ticket tracker for the release workflow. Please take a moment to review the below wiki page for the appropriate steps:
http://wiki.opscode.com/display/chef/How+to+Contribute
The Opscode Team


PrivateKey

How can I see my PrivateKey

>>> from coincurve import PrivateKey
>>> from bip44 import Wallet
>>> from bip44.utils import get_eth_addr
>>> mnemonic = "purity tunnel grid error scout long fruit false embody caught skin gate"
>>> w = Wallet(mnemonic)
>>> sk, pk = w.derive_account("eth", account=0) # sk is the bytes key
>>> sk = PrivateKey(sk) # sk is the coincurve wrapped key

>>> from coincurve import PrivateKey
>>> from bip44 import Wallet
>>> from bip44.utils import get_eth_addr
>>> mnemonic = "purity tunnel grid error scout long fruit false embody caught skin gate"
>>> w = Wallet(mnemonic)
>>> sk, pk = w.derive_account("eth", account=0) # sk is the bytes key
>>> sk = PrivateKey(sk) # sk is the coincurve wrapped key

You can refer to coincurve API
https://github.com/ofek/coincurve#coincurveprivatekey

You can refer to coincurve API
https://github.com/ofek/coincurve#coincurveprivatekey


ORC-1792: Upgrade Spark to 3.5.3

What changes were proposed in this pull request?
This PR aims to upgrade Apache Spark dependency to 3.5.3 in branch-1.9 bench module.
Why are the changes needed?
To run the benchmark with the latest Spark 3.5.3.
How was this patch tested?
Pass the CIs.
Was this patch authored or co-authored using generative AI tooling?
No.

Merged to branch-1.9.


Replace <+> with <>

Description
Replaces <+> usage with <> as discussed in https://github.com/xmonad/xmonad/issues/132#issuecomment-886218490
Checklist

[x] I've read CONTRIBUTING.md

[x] I've considered how to best test these changes (property, unit,
manually, ...) and concluded: I ran cabal build using ghc 8.4.4, and 9.2.2

[x] I updated the CHANGES.md file

Thank you!


/search and /ask are the same thing...

The '/search?q=My+question' and '/ask?q=My+question' is the same thing..
The only difference is the "Ask New Question" form in '/ask'.
I think we should remove '/search'

/search is a much better fuzzy search

It is basically like StackOverflow
Where you search for similar question and if none exists you ask one

Yea but you can search questions too. Also the /search endpoint is much more advanced in searching

I merged both of them..just check it out

I merged both of them..just check it out


No Version Visible in App

It would be nice to have it visible in the app, somewhere, to give people confidence that the updates worked.

Available in add_version branch


feat: add retry to helm installation and knative manifests apply

What this PR does / why we need it
This PR adds the retry package that can be used to trigger commands that should be retried in case of a failure.
Which issue does this solve
Closes #476 and #466

Codecov Report
Base: 53.33% // Head: 18.31% // Decreases project coverage by -35.02% :warning:

Coverage data is based on head (e4d4dd6) compared to base (ad4be26).
Patch coverage: 70.96% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #523       +/-   ##
===========================================
- Coverage   53.33%   18.31%   -35.02%
===========================================
  Files          49       50        +1
  Lines        3896     3903        +7
===========================================
- Hits         2078      715     -1363
- Misses       1555     3090     +1535
+ Partials      263       98      -165

Flag
Coverage Δ

integration-test
17.52% <70.96%> (-40.74%)
:arrow_down:

unit-test
3.27% <0.00%> (-0.01%)
:arrow_down:

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

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

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


can's use Streaming plots

Hello, I am trying to use Streaming plots, but it does not work. I got this output. The operating system is Ubuntu 18.04.IDE is Pycharm

`/usr/bin/python3.7 /home/hu/Desktop/jMetalPy-master/examples/multiobjective/moead_DTLZ2.py
Error importing optional module IPython.core.display
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/plotly/optional_imports.py", line 25, in get_module
return import_module(name)
File "/usr/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 953, in _find_and_load_unlocked
File "", line 219, in _call_with_frames_removed
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 953, in _find_and_load_unlocked
File "", line 219, in _call_with_frames_removed
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/dist-packages/IPython/init.py", line 54, in
from .core.application import Application
File "/usr/local/lib/python3.7/dist-packages/IPython/core/application.py", line 25, in
from IPython.core import release, crashhandler
File "/usr/local/lib/python3.7/dist-packages/IPython/core/crashhandler.py", line 27, in
from IPython.core import ultratb
File "/usr/local/lib/python3.7/dist-packages/IPython/core/ultratb.py", line 119, in
from IPython.utils import path as util_path
File "/usr/local/lib/python3.7/dist-packages/IPython/utils/path.py", line 17, in
from IPython.utils.process import system
File "/usr/local/lib/python3.7/dist-packages/IPython/utils/process.py", line 19, in
from ._process_posix import system, getoutput, arg_split, check_pid
File "/usr/local/lib/python3.7/dist-packages/IPython/utils/_process_posix.py", line 23, in
import pexpect
File "/usr/lib/python3/dist-packages/pexpect/init.py", line 75, in
from .pty_spawn import spawn, spawnu
File "/usr/lib/python3/dist-packages/pexpect/pty_spawn.py", line 14, in
from .spawnbase import SpawnBase
File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 224
def expect(self, pattern, timeout=-1, searchwindowsize=-1, async=False):
^
SyntaxError: invalid syntax
Error importing optional module IPython
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/plotly/optional_imports.py", line 25, in get_module
return import_module(name)
File "/usr/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/dist-packages/IPython/init.py", line 54, in
from .core.application import Application
File "/usr/local/lib/python3.7/dist-packages/IPython/core/application.py", line 25, in
from IPython.core import release, crashhandler
File "/usr/local/lib/python3.7/dist-packages/IPython/core/crashhandler.py", line 27, in
from IPython.core import ultratb
File "/usr/local/lib/python3.7/dist-packages/IPython/core/ultratb.py", line 119, in
from IPython.utils import path as util_path
File "/usr/local/lib/python3.7/dist-packages/IPython/utils/path.py", line 17, in
from IPython.utils.process import system
File "/usr/local/lib/python3.7/dist-packages/IPython/utils/process.py", line 19, in
from ._process_posix import system, getoutput, arg_split, check_pid
File "/usr/local/lib/python3.7/dist-packages/IPython/utils/_process_posix.py", line 23, in
import pexpect
File "/usr/lib/python3/dist-packages/pexpect/init.py", line 75, in
from .pty_spawn import spawn, spawnu
File "/usr/lib/python3/dist-packages/pexpect/pty_spawn.py", line 14, in
from .spawnbase import SpawnBase
File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 224
def expect(self, pattern, timeout=-1, searchwindowsize=-1, async=False):
^
SyntaxError: invalid syntax
Error importing optional module IPython.display
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/plotly/optional_imports.py", line 25, in get_module
return import_module(name)
File "/usr/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 953, in _find_and_load_unlocked
File "", line 219, in _call_with_frames_removed
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/dist-packages/IPython/init.py", line 54, in
from .core.application import Application
File "/usr/local/lib/python3.7/dist-packages/IPython/core/application.py", line 25, in
from IPython.core import release, crashhandler
File "/usr/local/lib/python3.7/dist-packages/IPython/core/crashhandler.py", line 27, in
from IPython.core import ultratb
File "/usr/local/lib/python3.7/dist-packages/IPython/core/ultratb.py", line 119, in
from IPython.utils import path as util_path
File "/usr/local/lib/python3.7/dist-packages/IPython/utils/path.py", line 17, in
from IPython.utils.process import system
File "/usr/local/lib/python3.7/dist-packages/IPython/utils/process.py", line 19, in
from ._process_posix import system, getoutput, arg_split, check_pid
File "/usr/local/lib/python3.7/dist-packages/IPython/utils/_process_posix.py", line 23, in
import pexpect
File "/usr/lib/python3/dist-packages/pexpect/init.py", line 75, in
from .pty_spawn import spawn, spawnu
File "/usr/lib/python3/dist-packages/pexpect/pty_spawn.py", line 14, in
from .spawnbase import SpawnBase
File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 224
def expect(self, pattern, timeout=-1, searchwindowsize=-1, async=False):
^
SyntaxError: invalid syntax
Progress: 100%|##########| 50000/50000 [00:10<00:00, 4570.83it/s]
Algorithm (continuous problem): MOEAD
Problem: DTLZ1
Computing time: 10.940814733505249
Process finished with exit code 0'

Hello @Gxinhu ! The traceback shows that you are using Python 3.7. async is a reserved keyword in that version of Python, which is why you are getting a SyntaxError in the line 224 of /usr/lib/python3/dist-packages/pexpect/spawnbase.py.
This issue seems to be fixed in latter versions of pexpect (see https://github.com/pexpect/pexpect/issues/453), so I suggest to manually update that package.

Thank you sir！I updated the pexpect, and it's worked.


Polytopes only support 6-sided polytopes for now

Line 41 of polytopes.py uses 6, not n, for the dimension.
-1 would naturally work better, provided the algorithm still works.

PR #3

Done. Thanks!


(#149) Switch to only signing when required

Description Of Changes
This commit addresses this need by changing the DAG to use a new Verify-PowerShellScipts task, rather than the Sign-PowerShellScripts task.  The latter is still available to call directly, when required, but only when a valid certificate is in place.
Supporting parameters and build directories have been created, to allow control over what the tasks due, including the ability to skip the verification step, using the --shouldVerifyPowerShellScripts command line argument.
A new verify-powershell.ps1 file has been added to check the list of incoming files, and the sign-powershell.ps1 has been updated to only sign when the current signature is invalid.  To aid with getting the signed files added to back into the repository, the signed files are uploaded as artifacts of the build.
Motivation and Context
We don't want to sign files when we don't need to.  Going forward, PowerShell scripts are going to be signed when they are committed to the repository and only re-signed when required.
Testing
This will be a tricky one to test 😢
This will need to be tested in conjunction with this PR, and also in conjunction with a new build configuration for calling the updated Sign-PowerShellScripts task.
Happy to jump on a quick call to discuss further.
Operating Systems Testing
N/A
Change Types Made

[ ] Bug fix (non-breaking change).
[x] Feature / Enhancement (non-breaking change).
[ ] Breaking change (fix or feature that could cause existing functionality to change).
[ ] Documentation changes.
[ ] PowerShell code changes.

Change Checklist

[ ] Requires a change to the documentation.
[ ] Documentation has been updated.
[ ] Tests to cover my changes, have been added.
[ ] All new and existing tests passed?
[ ] PowerShell code changes: PowerShell v2 compatibility checked?

Related Issue
Fixes #149

Thanks for getting this in, @gep13!


Closes #345 | Implemented dataloader for vlsp2016_ner

Closes #345
Checkbox

[X] Confirm that this PR is linked to the dataset issue.
[X] Create the dataloader script seacrowd/sea_datasets/vlsp2016_ner/vlsp2016_ner.py (please use only lowercase and underscore for dataset naming).
[X] Provide values for the _CITATION, _DATASETNAME, _DESCRIPTION, _HOMEPAGE, _LICENSE, _URLs, _SUPPORTED_TASKS, _SOURCE_VERSION, and _SEACROWD_VERSION variables.
[X] Implement _info(), _split_generators() and _generate_examples() in dataloader script.
[X] Make sure that the BUILDER_CONFIGS class attribute is a list with at least one SEACrowdConfig for the source schema and one for a seacrowd schema.
[X] Confirm dataloader script works with datasets.load_dataset function.
[X] Confirm that your dataloader script passes the test suite run with python -m tests.test_seacrowd seacrowd/sea_datasets/vlsp2016_ner/vlsp2016_ner.py.
[ ] If my dataset is local, I have provided an output of the unit-tests in the PR (please copy paste). This is OPTIONAL for public datasets, as we can test these without access to the data files.

@luckysusanto Everything works, only formatting is needed. Can you please run
make check_file=seacrowd/sea_datasets/vlsp2016_ner/vlsp2016_ner.py
to format the file.

To solve three issues from flake8 you need to remove import os, and also add \ at the end of 17 and 47 lines (descriptions of the dataset) to remove trailing whitespace.

@luckysusanto I saw your issue with formatting commands in the discord. I formatted this file myself.

Merged


fix: Compatibility changes  to the gremlin integration

Signed-off-by: Andrew Ciambrone<EMAIL_ADDRESS>
Summary of Changes
Made changes to the Neptune proxy so that you can configure the s3_bucket via the configuration settings. Before you had to made changes to the code to do that.
Added a Configuration for Neptune.
Made shards optional in Neptune.
Minor changes to the queries to be more compatible with the data builder.
Tests
Made changes to the testing framework to be more compatible.
Documentation
What documentation did you add or modify and why? Add any relevant links then remove this line
CheckList
Make sure you have checked all steps below to ensure a timely review.

[X] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[X] PR includes a summary of changes.
[X] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[X] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain docstrings that explain what it does

[X] PR passes make test

cc @friendtocephalopods could you take a look? thanks

Codecov Report

Merging #260 (e334e66) into master (2752492) will increase coverage by 3.51%.
The diff coverage is 72.35%.

@@            Coverage Diff             @@
##           master     #260      +/-   ##
==========================================
+ Coverage   74.10%   77.61%   +3.51%
==========================================
  Files          25       27       +2
  Lines        1255     1358     +103
  Branches      136      162      +26
==========================================
+ Hits          930     1054     +124
+ Misses        297      256      -41
- Partials       28       48      +20

Impacted Files
Coverage Δ

metadata_service/api/__init__.py
82.60% <ø> (ø)

metadata_service/api/column.py
100.00% <ø> (ø)

metadata_service/api/popular_tables.py
100.00% <ø> (ø)

metadata_service/api/system.py
66.66% <ø> (ø)

metadata_service/api/user.py
100.00% <ø> (ø)

metadata_service/proxy/statsd_utilities.py
81.25% <ø> (ø)

metadata_service/util.py
100.00% <ø> (ø)

metadata_service/proxy/shared.py
28.57% <28.57%> (ø)

metadata_service/api/badge.py
61.29% <61.29%> (ø)

metadata_service/proxy/neo4j_proxy.py
71.65% <61.84%> (-3.35%)
:arrow_down:

... and 16 more

Continue to review full report at Codecov.

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

I think I have resolved all differences pointed out between the databuilder and the common models. @feng-tao let me know if there is anything I missed.

will take a look

@AndrewCiambrone going to merge this pr now. Do you need to plan to update the databuilder pr with some name changed discussed here?

@feng-tao Pretty sure all the name changes should be set in https://github.com/amundsen-io/amundsendatabuilder/pull/445


RuntimeError while running ir_neighbors in .py file

I wrote a script to automate the data processing. When the script runs to pp.ir_neighbors, my script will automatically start from the beginning. No errors are reported when running this command alone.
import sys
from anndata import AnnData
sys.path.insert(0, "../..")

import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
import scirpy as ir
import scanpy as sc
from glob import glob
import pandas as pd
import tarfile
import anndata
import warnings
from numba import NumbaPerformanceWarning

BCRundel = "C:/Users/Ribose/Desktop/ZYY1030VDJ/undel_results.h5ad"
BCRdata = "C:/Users/Ribose/Desktop/ZYY1030VDJ/results.h5ad"

adata_raw = ir.io.read_h5ad(BCRundel)
adata = ir.io.read_h5ad(BCRdata)

ir.pp.ir_neighbors(adata, metric="hamming", sequence="aa", cutoff=2,
                   receptor_arms="all")
print(70)

The error is reported as follows, and is stuck in an infinite loop.
RuntimeError:
        An attempt has been made to start a new process before the
        current process has finished its bootstrapping phase.

        This probably means that you are not using fork to start your
        child processes and you have forgotten to use the proper idiom
        in the main module:

            if __name__ == '__main__':
                freeze_support()
                ...

        The "freeze_support()" line can be omitted if the program
        is not going to be frozen to produce an executable.

It seems to be a multi-threaded issue, and I haven't found a way to run it without multi-threading. It reports an error even if n_jobs=1. I was tempted not to use multithreading because pycharm also has problems working with multithreading.

I added
`if __name__ = "__main__"
    main()

and the problem is solved.

I added
`if __name__ = "__main__"
    main()

and the problem is solved.

This one is resolved then? Feel free to open otherwise!

This one is resolved then? Feel free to open otherwise!


Add check for typo correction across docs (proposal 1)

This is one of the proposed way we can do, I'll make the other PR asap, once we compare we'll understand which would be best choice for the project. PR for #14

I think we'll need to add a few more words to the wordlist, but I think the initial idea stands good.
Thoughts, @pdorbala @veenamj-avesha @that-backend-guy @uma-kt ?

@divya-mohan0209  sounds good. @sayantani11  - we can start off with this. But we have one Code Spell Checker for markdown that we use at our end.
We have a couple of words to add to the list wordlist. We can try this.
Thanks for your efforts, @sayantani11


Change doc to say that in .NET Core 3 there will be WPF support.

When to choose .NET Framework says no plans to bring WPF to .NET Core, but .NET Core 3 will have it.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 7b76cb0d-df6d-88c4-557d-ad327a566eef
Version Independent ID: 95083e1c-ef53-e813-08e2-1aa31b431f00
Content: Choose between .NET Core and .NET Framework for server apps
Content Source: docs/standard/choosing-core-framework-server.md
Service: dotnet
GitHub Login: @cartermp
Microsoft Alias: mairaw

Thanks @liubomirwm. That's a great suggestion given the announcements we made at BUILD.


Change sitemap to site map to align with Style Council decision

Description
Bring site map file into line with Style Council decision - "sitemap" should be 2 words "site map" for accessibility reasons.
Related issue
Get the site map page on the NHS and service manual sites changed #873
Checklist

[ ] Tested against the NHS.UK frontend testing policy (Resolution, Browser & Accessibility)
[ ] Code follows the NHS.UK frontend coding standards
[ ] Version number has been increased in package.json (using SEMVER)
[ ] CHANGELOG entry
[ ] Whats new page entry
[x] Page updated date

@AdamChrimes I've changed the njk files but not touched the xml. Is that right?
I won't add this to the What's new till I publish the other Style Council changes - hopefully later this week. If we want to publish this before then, I can update the changelog so we can get this out.


Aeschli/smoke in productbuild

This PR fixes #

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: eman291 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


DOC: fix links in contributing.rst

fixup for #12428

LGTM!

closed by https://github.com/pydata/pandas/commit/db12255881c7438e0d79bc8250c3af3ef62f14b8


Github pull request template improvements

(TBDiscussed)

Suggest to remove "Is there a issue open describing the motivation for this pull request ?" since linked issues become immediately visible upon code push (commits should themselves contain the issue id that are dealt with).

Suggest to change the title Description of the Change to Pull Request Justification because the changes should be described by commits, and the PR should be higher level than that.

Suggest to change the first section into a removable soft-checklist, with statements instead of questions.

i suggest to simplify the section "State of spinalcordtoolbox", which is heavy. A simple commit number should suffice, no?

i suggest to remove: "Reproduces how often: What percentage of the time does it reproduce?". Usually when things go wrong in SCT they go wrong for good ;-)


Discuss/research next steps in relation to database performance

We should have a dedicated meeting to plan work that has to be done as part of: https://github.com/ooni/api/issues/116.
The goal for this meeting is to have an initial investigation and see what are the usages currently for OONI Explorer.

Update: discussed strategies for DB update to PG 11.5 or 12 with minimum impact. Run simple benchmarks on queries. Currently pending a reply on availability of hardware in AMS.

We did some progress on this yesterday with @FedericoCeratto
Specifically we added some metrics that tell us which are the slowest queries in prometheus and based on that were able to identify some low hanging fruit for optimisation which we fixed here:
https://github.com/ooni/api/pull/137
https://github.com/ooni/api/pull/138
It was deployed to the production API in https://github.com/ooni/sysadmin/commit/89292d53cbdda5b0896f99fd7d2c4c839908c62d and we should check the monitoring to see if the performance is a bit better.

The database metric generator is in https://github.com/ooni/pipeline/pull/205
It's producing http://fastpath.ooni.nu:8080/analysis/db_slow_queries_standby.html and http://fastpath.ooni.nu:8080/analysis/db_slow_queries_active.html every hour

Also created https://mon.ooni.nu/grafana/d/FNVKM2-Wk/api-and-amsdb?orgId=1

Also investigating performance in https://github.com/ooni/api/issues/142

Discussions were had, plans were made and PRs are ready to be merged.


HTTP JSON response is not recognised as JSON if it begins with a newline

When the HTTP JSON response begins with a newline, it is not recognised as a valid JSON. Any subsequent matching of JSON fields using the response variable will not work as aspected.
Looks like JSON Text can begin with a whitespace according to https://tools.ietf.org/html/rfc7159#section-2
This is a minor issue, but as Karate DSL works beautifully in handling whitespaces in gneeral, probably it should handle this scenario also.
And thanks for the wonderful work being done on Karate!

I guess it is this line causing the behavior,
https://github.com/intuit/karate/blob/01496e16ff308cbd877d4a7ae3ac92d5d3c8e9d0/karate-core/src/main/java/com/intuit/karate/Script.java#L97

thanks ! will look into this, you should be able to work around this for now by using type conversion, maybe something like this:
* json response = response

Thanks. I figured out the workaround, but in this case I had the control over the API implementation, so removed the newline in the response and its working fine.

not technically closed without release

closing with release of v0.6.2

Thanks for the new shiny release! 👍


What actually happens

Failed on Node: length 14348907 (single): when attempting Scheme: CS_L1D_TRTRT
rocfft-selftest: /tmp/portage/sci-libs/rocFFT-4.3.0/work/rocFFT-rocm-4.3.0/library/src/plan.cpp:1620: void TreeNode::build_1D(): Assertion `false' failed.

How to reproduce

Build rocFFT from source and run rocfft-sleftest

Environment

Hardware
description

GPU
Vega 20 [Radeon VII]

CPU
AMD Ryzen 7 5800X

Software
version

Linux
5.13.3

ROCK
Upstream Kernel

ROCR
v4.3.0

Compiler
hipcc-4.3.0

Googletest
aee0f9d9  (after v1.10.0

Boost
1.76

fftw
3.3.9

The full build log and test log is attached in this file:
rocFFT-4.3.0-gfx906:xnack-.build.log.gz

14348907 = 3^15, meaning it's prime factor only contains 3. I tried using gdb to find the cause of this failure, and found             function_pool::has_function(fpkey(length0 / factor, precision)) returned all false which indicates that there is no supported kernel.
The supported vector is:
std::vector of length 162, capacity 256 = {4096, 4050, 4000, 3888, 3840, 3750, 3645, 3600, 3456, 3375, 3240, 3200, 3125, 3072, 3000, 2916, 2880, 2700, 2592, 2560, 2500, 2430, 2400, 2304, 2250, 2187, 2160, 2048, 2025, 2000, 1944,
  1920, 1875, 1800, 1728, 1620, 1600, 1536, 1500, 1458, 1440, 1350, 1296, 1280, 1250, 1215, 1200, 1152, 1125, 1080, 1024, 1000, 972, 960, 900, 864, 810, 800, 768, 750, 729, 720, 675, 648, 640, 625, 600, 576, 540, 512, 500, 486, 480, 450,
  432, 405, 400, 384, 375, 360, 343, 336, 324, 320, 300, 288, 270, 256, 250, 243, 240, 225, 224, 216, 208, 200, 192, 180, 176, 169, 168, 162, 160, 150, 144, 135, 128, 125, 121, 120, 112, 108, 104, 100, 96, 90, 88, 84, 81, 80, 75, 72, 64,
  60, 56, 54, 52, 50, 49, 48, 45, 44, 42, 40, 36, 32, 30, 28, 27, 26, 25, 24, 22, 21, 20, 18, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1}

While 14348907 = 3^15 = 3 * 4782969 = ... = 2187 * 6561, but even function_pool::has_function(fpkey(6561, rocfft_precision_single)) returned false -- 6561 is still too latge.

There is one line when build log: don't gen sbcc for large size. Is that related?

This is fixed by 573544b912d62285f706e01087b8d4d32f037477, which is in the develop branch but is too new for ROCm 4.3.0.  If you're able to build a commit that's at least that new, the problem should go away.


Misc updates for low rank model trainer

added unit test for multi-label cases
fix gradient updates
normalizing weights
add a simple gradient descent method
to: @hectorgon @Patrick1860

@hectorgon removed the multilabel test since it's very flaky; make the delta_max in rprop an input parameter, since for Low rank model, we do the weight normalization, it does not make sense to allow too large step.

:+1:


Implement AdjacentGroupBy Extension for IAsyncEnumerable

Open Problems:

EnumerableExtensions.Grouping is an internal class and cannot be reused from funcky-async.

Decisions:
1.) EnumerableExtensions.Grouping shall not be shared, the GroupBy returns a different Interface IAsyncGrouping instead of IGrouping.
2.) All Selectors must be of the same categorie (Async, Await, AwaitCancellation) we do not allow mixture. (GroupBy in RX does the same)


emitter crashes with computed object literal names

TypeScript Version:
1.8.x
Code
// A self-contained demonstration of the problem follows...
function createDefaultProperties(): { [name: string]: any } {

	const startTime = Date.now();
	let eventCounter = 0;

	return {
		get ['common.sequenceId']() { return eventCounter++; },
		get timestamp() { return new Date(); },
		get ['common.timesincesessionstart']() { return Date.now() - startTime; }
	};
}

open playground website
paste code above
it crashes like so:

Object {stack: "TypeError: Cannot read property 'declarations' of …script/common/lib/typescriptServices.js:19:13310)", message: "TypeError: Cannot read property 'declarations' of undefined"}
message
:
"TypeError: Cannot read property 'declarations' of undefined"
stack
:
"TypeError: Cannot read property 'declarations' of undefined↵    at e.checkNode (https://www.typescriptlang.org/play/Script/vs/languages/typescript/common/typescriptWorker2.js:1:30909)↵    at t.e._checkNodeOrToken (https://www.typescriptlang.org/play/Script/vs/languages/typescript/common/typescriptWorker2.js:2:2107)↵    at t.e._visit (https://www.typescriptlang.org/play/Script/vs/languages/typescript/common/typescriptWorker2.js:2:1801)↵    at https://www.typescriptlang.org/play/Script/vs/languages/typescript/common/typescriptWorker2.js:2:1853↵    at r (https://www.typescriptlang.org/play/Script/vs/languages/typescript/common/lib/typescriptServices.js:19:10966)↵    at Object.i [as forEachChild] (https://www.typescriptlang.org/play/Script/vs/languages/typescript/common/lib/typescriptServices.js:19:14002)↵    at t.e._visit (https://www.typescriptlang.org/play/Script/vs/languages/typescript/common/typescriptWorker2.js:2:1824)↵    at https://www.typescriptlang.org/play/Script/vs/languages/typescript/common/typescriptWorker2.js:2:1853↵    at a (https://www.typescriptlang.org/play/Script/vs/languages/typescript/common/lib/typescriptServices.js:19:11081)↵    at Object.i [as forEachChild] (https://www.typescriptlang.org/play/Script/vs/languages/typescript/common/lib/typescriptServices.js:19:13310)"
__proto__
:
Object

Fixed in master branch

Actually, this doesn't repro in 1.8 either. Do you have a command-line repro?

This is a Playground bug. It's crashing inside some code that checks for unused variables, but I can't find the source for this in either our repo or vscode's. Any idea where it comes from?

I see the same with gulp-tsb and TypeScript 1.8.9

the playground hint might be wrong... I added that for ease, but when using 1.8.10 it crashes like so:
TypeError: Cannot read property 'decorators' of undefined
    at getStartPos (/Users/jrieken/Code/vscode/node_modules/typescript/lib/typescript.js:30547:45)
    at emitStart (/Users/jrieken/Code/vscode/node_modules/typescript/lib/typescript.js:30551:21)
    at emitDownlevelObjectLiteralWithComputedProperties (/Users/jrieken/Code/vscode/node_modules/typescript/lib/typescript.js:33774:25)
    at emitObjectLiteral (/Users/jrieken/Code/vscode/node_modules/typescript/lib/typescript.js:33864:25)
    at emitJavaScriptWorker (/Users/jrieken/Code/vscode/node_modules/typescript/lib/typescript.js:39065:32)
    at emitNodeWithoutSourceMap (/Users/jrieken/Code/vscode/node_modules/typescript/lib/typescript.js:38953:21)
    at emitNodeWithSourceMap (/Users/jrieken/Code/vscode/node_modules/typescript/lib/typescript.js:38947:21)
    at emitNodeConsideringCommentsOption (/Users/jrieken/Code/vscode/node_modules/typescript/lib/typescript.js:38938:21)
    at emit (/Users/jrieken/Code/vscode/node_modules/typescript/lib/typescript.js:38920:17)
    at emitOptional (/Users/jrieken/Code/vscode/node_modules/typescript/lib/typescript.js:32800:21)

That's a completely different callstack from the one in the Playground.
It seems the latter crash requires the --sourcemap flag to be provided in order to repro, and does currently repro in master.

The first problem is due to some code in the playground (taken from vscode) which uses outdated const enums and should be fixed when we next update the playground. The second problem is fixed by #8577.


quill-mention should support Quill Version 2.0.0-rc.0

Issues found :

mentionDenotationChars when inserted at start of text is not opening the Dropdown
After Selecting a value from dropdown and hitting enter is adding a new line in editor instead of inserting an embed

Marking as a duplicate of #362 even though this one is a bit older because I am blind 😅

Issues found :

mentionDenotationChars when inserted at start of text is not opening the Dropdown
After Selecting a value from dropdown and hitting enter is adding a new line in editor instead of inserting an embed

I wrote a simple implementation for my own use. You can click to see it it may be helpful to you.


Scrape course attributes from SIS

I think it'd be really helpful to users to be able to filter courses by special attributes, such as Communication Intensive, HASS Inquiry, etc. For this task just scrape course attributes on top of all information we have already.


snet/sciond: add static info metadata fields to snet.PathMetadata

Add static info metadata fields, from their temporary location in the path combinator to snet.PathMetadata. Add these fields to the sciond protobuf protocol definitions to transport this information along with sciond path replies.
Depends on #3923

This change is

/rebase


Command argument --debug-inc isn't in the sbt -h usage

steps
sbt version: 1.3.2
problem
$ sbt -h

Does not emit help information for -debug-inc|--debug-inc, despite being implemented: https://github.com/sbt/sbt-launcher-package/blob/master/src/universal/bin/sbt#L521
expectation
-debug-inc|--debug-inc  enable extra debugging for the incremental debugger
notes
https://www.scala-sbt.org/1.x/docs/Combined+Pages.html#Command+Line+Reference
xsbt.inc.debug | Boolean | false | Extra debugging for the incremental debugger.

Added in https://github.com/sbt/sbt-launcher-package/commit/f3b9d7572e1c90a43d17117eb8fffeb1ac51189b


Migrated to javalin 6.3.0 and openapi 6.3.0

After migration, nullable filed has been added to some objects
openapi-default-old.json
openapi-default-new.json

After migration, nullable filed has been added for some objects' fields openapi-default-old.json openapi-default-new.json

Then we need to modify annotation to indicate whether they actually can be nullable or not

After migration, nullable filed has been added for some objects' fields openapi-default-old.json openapi-default-new.json

Then we need to modify annotation to indicate whether they actually can be nullable or not

Hm ... @get:OpenApiPropertyType(definedBy = ..., nullability = Nullability.NOT_NULL) doesn't affect to the "nullable":true in the openapi-default.json

After migration, nullable filed has been added for some objects' fields openapi-default-old.json openapi-default-new.json

Then we need to modify annotation to indicate whether they actually can be nullable or not

Hm ... @get:OpenApiPropertyType(definedBy = ..., nullability = Nullability.NOT_NULL) doesn't affect to the "nullable":true in the openapi-default.json

Added annotations to source code.
I have applied strange approach to archive not required and not nullable
@get:OpenApiNullable(nullable = false) // this annotation is added to mark this field as not nullable if exist
@get:OpenApiPropertyType(definedBy = ..., nullability = Nullability.NULLABLE) // thia annotation is added to mark this field as optional

openapi-default.json


Add projects overview

We have a lot of repos/projects under the ponylang org. It would be good to have a page that lists the active projects, perhaps grouping them together, and give a short description of each.

done


Add id's to Unicode-emoji

This library has what I need, except an unique and short ID for each emoji. Which needs to be unique spanning all versions:
https://github.com/Julien-Marcou/Unicode-Emoji
So:

[ ] Read JSON data
[ ] Write to file
[ ] If file already exists, read file and check JSON data against file before adding new stuff (and adding ID)
[ ] Write file

Need to flatten the JSON from unicodeEmoji.getEmojis() so that all the variations (skin tone and hair style) is on the same leve.


Streaming binary data

Streaming binary data in-memory and to/from a file will improve loading/saving times of custom types.
Since the layout of the built-in and base engine types is known at compile-time and most types can be built as composites of those types templating the code is trivial and downstream projects can build upon the engine types to make their game-specific types serializable to/from binary.
I have some old code sitting around that can stream types to/from binary for reference and it is endian-aware for host order:
https://github.com/cugone/GGE1.0/blob/master/Code/Engine/Core/FileUtils.hpp
https://github.com/cugone/GGE1.0/blob/master/Code/Engine/Core/FileUtils.cpp
C++20 is supposed to have a std::endian type but that's a small part of endian-aware streaming.

I've traditionally also been a fan of binary data formats. You're right in that they're faster to process, and often take less code to implement.
There's was some earlier discussion with Leeor about supporting stream processing. Way back, Leeor had mentioned the idea of borrowing the stream code from the OP2Utility library project. That code was much more focused on binary than text. It had a number of template methods that could auto serialize all primitive types, and structs of primitive types. It also had a bit of support for serializing variable sized containers and strings. In that case it would use a length prefixed format, and you could specify the type for the length prefix, allowing for compact strings with a single byte length prefix, or larger collections with perhaps a uint32_t sized prefix.
I took a brief look at your library. It seemed similar in general concept. I noticed you used the same template trick to handle writing of simple data types. One caveat I'd like to bring up is that not all data types are safe to copy using memcpy, and so are also not safe to copy through serialization using a memcpy style approach. An example would be classes with private fields, and non-trivial constructors/destructors. You can avoid such problems by guarding the serialization methods with std::is_trivially_copyable on the template type.
A bonus of the std::is_trivially_copyable guard is that you can then write a separate specialization for containers, which are not trivially copyable.
I have mixed feelings about endian correction. There are rare cases where you might not want system dependent correction. It's something I've generally preferred being done at a higher level, so the programmer has more control over it. An endian converting stream wrapper object would be a fairly simple and lightweight way to perform endian correction, and have it done separately from the rest of the serialization, thereby giving the programmer more control over it. Also, as I've noticed in your library code, there was quite a bit of custom specializations to handle aggregate data types, as it's not simple to correct the endianess of each field without custom decomposition functions.

Anyway, with that said, there's also been some discussion about staying with the text format data files. They are quite easy to manually check during development, and easy for new people to understand and potentially made modifications to.
Another benefit of the text format, is they support extension in a fairly natural way, which is handy when the file format is still in flux. We still add fields to structures, and provided they have a reasonable default when not specified, it's quite easy to extend the file format without invalidating old data. That's much more awkward to do with binary data. As serialization is often done raw on structs, you often end up with multiple struct definitions to cover all the previous versions of the data format.
As for performance, there are really no performance concerns about the current data file processing. I haven't noticed any significant processing delays during loading or saving. If performance was the main motivator, it would be a pretty low priority item.
Finally, as worded, it's not super clear if this issue is about support for binary stream processing, or about actually changing the current data formats. I assume it's about the support, since the issues was opened against NAS2D, rather than OPHD. Most of the current data formats are controlled by OPHD, rather than NAS2D. Being a library, we've tried to avoid specifying formats in NAS2D, particularly binary formats, and where we've failed at specifying data formats (like the RendererOpenGL and MixerSDL settings loading code), there is a general desire to push that down to the app and remove it from NAS2D at some point in the future.

...One caveat I'd like to bring up is that not all data types are safe to copy using memcpy, and so are also not safe to copy through serialization using a memcpy style approach...

At the time it was written, BinaryStream was an ADT and only provided an interface, The only completed implementation was FileBinaryStream. I'm not sure if it's the same as memcopy, but FileBinaryStream used the C functions fread and fwrite internally.

A bonus of the std::is_trivially_copyable guard is that you can then write a separate specialization for containers, which are not trivially copyable.

I will be using the std::is_trivially_copyable trick in the future until concepts come along. :) As-is, the code doesn't because any non-built-in type was intended to have its own template override and even then limited in scope to engine types. We never got around to implementing custom-for-this-game-only types.

I have mixed feelings about endian correction....

I do too, but the code was written for interfacing with Networking code that needed the feature.

Anyway, with that said, there's also been some discussion about staying with the text format data files. They are quite easy to manually check during development, and easy for new people to understand and potentially made modifications to.
Another benefit of the text format, is they support extension in a fairly natural way, which is handy when the file format is still in flux...

I agree on ease of debugging, comprehension, and extension. For small types, text is trivial; but: Things like models always perform better with binary packed files due to sheer volume of data; A "small" area of 100x100 tiles is actually quite big in terms of data and can benefit from RLE binary encoding, especially if there are large blocks of the same tile and multiple layers. By that point you really have multiple tens of thousands of tiles and trying to load all of that from text is going to show a performance hit.
My MineCraft clone had world chunks of 15x15x128 (28,800) blocks and that was binary RLE encoded to/from disk in real time on top of generating new ones on-the-fly.

Finally, as worded, it's not super clear if this issue is about support for binary stream processing, or about actually changing the current data formats....

It was about adding support.

Most of the current data formats are controlled by OPHD, rather than NAS2D....
That's kinda-sorta backwards. Games should inform the engine "Hey this might be a good feature to add to the engine to benefit all future games." and then after reviewing the feature, elevating it to engine-side rather than outright "If it's not in this game, the engine doesn't need it."

I'll use Unreal as an example since things like CryEngine, Source/Source2 (et. al) are proprietary:

Make a game, say, Fortnite, in Unreal Engine 4;
Add features like enhanced lighting, physics, and large-world streaming of static meshes;
Realize this would make the engine better;
Add features to engine;
Release Unreal Engine 5.

(Granted, some changes between UE4 and UE5 were due to preferring in-house implementations over paying licensing fees for a technology...)
Epic almost always adds new features to the engine in response to a game in development. Optimizing or bug-fixing already-established features is an on-going process.

All of memcpy, fread, and fwrite do byte by byte memory copies. They can be made to work on object addresses, even if the objects have private fields, and accessor methods to ensure the private data maintains some kind of invariant. By using a byte by byte copy, you bypass those protections and gain access to the internal data (and in a compiler and configuration specific format). This has the potential to break invariants and cause undefined behaviour.
Consider for a moment what would happen if you tried to raw serialize a std::string. The std::string object doesn't contain the string data directly (assuming no small string optimization), but rather has a pointer to the data, and perhaps fields to indicate the length of the string, or the length of the buffer so it knows how much can be stored before re-allocating storage. If you raw serialized a std::string, you'd be accessing those bookkeeping variables, and not the character data. If you overwrite the string pointer, or the size of the buffer, you've violated a class invariant which could lead to unsafe behaviour when later reading or writing to the std::string object.
Classes that maintain invariants through constructors/destructors, accessor methods, or private data, such as std::string would fail to be std::is_trivially_copyable.

Objects of trivially-copyable types that are not potentially-overlapping subobjects are the only C++ objects that may be safely copied with std::memcpy or serialized to/from binary files with std::ofstream::write()/std::ifstream::read().

See definition of TriviallyCopyable for more info.

Currently OPHD only serializes tiles that have been modified from the base map, so very few tiles actually get read or written in text format. Maybe that will change as the game nears release and colony sizes get larger?

I think the point was more that designs aren't always perfect right from the start. And sometimes you just need to get started and have something to look at, and a bit of experience, before you can really reason about the right design. I think OPHD was started with more of an ethos of get something working, and maybe make it nicer later on down the road. Lately I've been focusing on trying to make things nicer. That means revisiting some of the assumptions that lead to where code was originally placed, and adapting to changing requirements. Much of those designs made sense for where things started, and got the project to where it is today, but maybe don't entirely make sense for where we want to take it.


Render with a callback problem

While I was figuring out how layout.jade is incorporated in the rendering process, I accidentally found a problem when a callback is supplied.
The following app.js code will produce no response (got a 324 error) to client:
app.get('/', function(req, res){
  res.render('index', {
    title: 'Title'
  },
  function(err, result) {
    console.log('Render result:');
    console.log(result);
  });
});

With

express 2.4.6
node 0.4.11

tonto


project dependencies not sorted correctly with module dependencies

Looks like project dependencies are always last?
for example:
public class Build extends JkJavaBuild {

	@JkProject("../other/project")
	JkJavaBuild otherProject;

	@Override
	public JkDependencies dependencies() {
		return JkDependencies.builder()
			.on(otherProject.asJavaDependency())
			.on("somewhere:somelib:1.0")
			.build();
	}
}

This always results in somelib being before otherProject on the classpath, instead of after.

Indeed :-). I didn't think  that this issue will arise so soon.


Update deps.

Pull Request Test Coverage Report for Build 2197

0 of 0   changed or added relevant lines in 0 files are covered.
187 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.3%) to 70.149%

Files with Coverage Reduction
New Missed Lines
%

dist/routes/v2/address.js
42
78.42%

dist/routes/v2/slp.js
145
49.37%

Totals

Change from base Build 2186:
-0.3%

Covered Lines:
2045

Relevant Lines:
2721

💛  - Coveralls


SPK infra generate support for populating vars with .env vars

As a:
Developer
I want:
Use private secrets that are loaded into my scaffolded definition.json to generate the appropriate variable upon spk infra generate.
So that:
I don't have to check in my config secrets
Describe the solution you'd like:
Load .env variables into my JSON and have spk infra generate populate them.
{
  "name": "discovery-service",
  "source": "https://github.com/Microsoft/bedrock.git",
  "template": "cluster/environments/azure-single-keyvault",
  "version": "v0.12.0",
  "backend": {
    "storage_account_name": "${env:storage-account-name}",
    "access_key": "${env:storage-account-access-key}",
    "container_name": "${env:storage-account-container}",
    "key": "${process.cmd}-tfstate-key"
  },
}

Acceptance Criteria:

[ ] Use .env to load secret configs into generated spk.tfvar files

Additional context:
https://github.com/CatalystCode/spk/blob/master/src/config.ts#L41
Does this require updates to documentation?:
Yes

I'm thinking we can also have it take it environment variables if the .env file is not valid or does not exist.


Default profile to "default"

Really not a fan of "default" in ~/.aws, it has no meaning (what is the project? is it production or dev account?) but some people may expect this. At very least document setting up your aws config.

My work machine came provisioned with my "default" AWS profile having admin writes over just about everything (not good, I know)... accidentally using this profile for some personal project could potentially cost me my job, which to say the least, wouldn't be great.


Taking over Contract Pack: Bases and Stations

ContractConfigurator-KerbinSpaceStation.zip
Hi, this is the new netkan data for Bases and Stations. It redirects to my github and the new forum thread.
Cheers

Confirmed working. Seen on CKAN 1,22.3 -KSP <IP_ADDRESS>4
Thanks for carrying support for this excellent mod.

Has been merged


basePath service config property becomes outdated.

The configuration tag in the SDK was exhibiting very strange behavior. Issue was tracked down to the rest-api-client-ng package.

see: https://github.com/Senzing/sdk-components-web/issues/2

Pull Requests:

https://github.com/Senzing/rest-api-client-ng/pull/2
https://github.com/Senzing/rest-api-client-ng/pull/3
https://github.com/Senzing/rest-api-client-ng/pull/5
https://github.com/Senzing/rest-api-client-ng/pull/6


Lack of screenshots

Hi Team,
It would be great and much easier for learners to include screenshots in this page like most of the other Azure documentation pages.
Regards,
Hussein

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0f88fdf5-74e8-f6ab-5fa2-219bc94a926f
Version Independent ID: b8ed85cd-0cc4-9f39-2dd3-e1e22fc43eb3
Content: Tutorial: Deploy & configure Azure Firewall and policy using the Azure portal
Content Source: articles/firewall/tutorial-firewall-deploy-portal-policy.md
Service: firewall
GitHub Login: @vhorne
Microsoft Alias: victorh

@haalkaz , thank you for the feedback. We have assigned this to the content owner/author for review.
@vhorne , could you please review the suggestion and provide your inputs?

@halkazwini Lots of screenshots in lots of articles makes it difficult to keep them all up to date, so the best use of them is to include only if words alone are not sufficient to describe the environment.
#please-close


⚠ Bofrost.lu has degraded performance

In 58bda1a, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1096 ms

Resolved: Bofrost.lu performance has improved in a824537 after 6 minutes.


docs: Update yum repo installation workflow to show signed packages

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem? Please describe
The current docs for apt/yum use unsigned repositories, and we don't want people to do that.
Describe the solution you'd like
For apt repositories,

Do a curl https://apt.fury.io/drud/gpg.key | sudo apt-key add - to add the key
/etc/apt/sources.list.d/ddev.list should look like this: deb https://apt.fury.io/drud/ * *

For yum repos, see https://codingbee.net/rhcsa/rhcsa-yum-repository-gpg-keys

sudo -s and cd /etc/pki/rpm-gpg/ and curl -o ddev.key https://apt.fury.io/drud/gpg.key
/etc/yum.repos.d/ddev.repo should now look like this:

[ddev]
name=DDEV Repo
baseurl=https://yum.fury.io/drud/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/ddev.key

Describe alternatives you've considered
No response
Additional context
No response

when apt update display a deprecated warning message about apt-key. It seems more appropriate to store key in /usr/share/keyring folder and ref the key file in source.list afterwards.
More detail here: https://askubuntu.com/questions/1398344/apt-key-deprecation-warning-when-updating-system

I guess you're on Ubuntu 22.04? Yes, one step at a time. Please open a new issue. I think we should install the key in the new way.

I haven't succeeded in getting a 22.04-style /usr/share/keyrings key installation to be trusted. Tried
    curl -fsSL https://apt.fury.io/drud/gpg.key | sudo tee /usr/share/keyrings/ddev.gpg >/dev/null
    echo "deb [signed-by=/usr/share/keyrings/ddev.gpg] https://apt.fury.io/drud/ * *" | sudo tee /etc/apt/sources.list.d/ddev.list

but it always complains
Err:4 https://apt.fury.io/drud * InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C16711FC1179C7CA

With

#4324
in now, we only have the yum problem to work on.

Unfortunately the vendor has not yet supported yum and signed packages.

The gemfury dev center still shows this as unimplemented: https://gemfury.com/help/yum-repository#yum-setup

I contacted their support about this in April 2023, and they said "Let me look into this and get back to you.", but I never heard again.
Contacted again.


[monitoring v2] windows rancher-monitoring-crd-create in crashloopback on clean install of 14.5.100-rcX

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

deploy a downstream windows cluster
follow steps in https://github.com/rancher/rancher/issues/31991 for workaround to install latest version of monitoring
deploy monitoring v2 v14.5.100-rc1 or rc0

enable windowsExporter on install

Result:

this pod fails with for: "/etc/config/crd-manifest.yaml": CustomResourceDefinition.apiextensions.k8s.io "prometheuses.monitoring.coreos.com" is invalid: spec.preserveUnknownFields: Invalid value: true: must be false in order to use defaults in the schema full logs below
full-logs.log

Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): v2.5.8-rc2
Installation option (single install/HA): HA

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): Windows

Machine type (cloud/VM/metal) and specifications (CPU/memory):

Kubernetes version (use kubectl version): v1.20.5

Docker version (use docker version): 20.10.5

Closing this out in favor of https://github.com/rancher/rancher/issues/31991, which should also test windows clusters.


Remove the terribly too clever usage of From<...> for the various

graph Contexts.
In preparation to split graph into better-organized parts.

@gildub finally removing the complexity you noticed around the .into() and From<...> cleverness for creating contexts.


Added a Kotlin Course

What does this PR do?
Add resource(s) | Remove resource(s) | Add info | Improve repo
This PR is to add Kotlin Tutorial for Beginners from YouTube to the Course section.
For resources
This playlist is to learn about basics of kotlin for free. Through this course, you will get to know about the essential fundamentals of Kotlin.
Why is this valuable (or not)?
It is one of the best courses for beginners to learn about Kotlin and Android.
How do we know it's really free?
It is a free playlist available on youtube.
For book lists, is it a book? For course lists, is it a course? etc.
It is a video course.
Checklist:

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

Follow-up

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

Thanks, and welcome to free-programming-books!


searchBar for iOS with Native Chinese input method issue

Ionic version:  (check one with "x")
[ ] 1.x (For Ionic 1.x issues, please use https://github.com/driftyco/ionic-v1)
[ ] 2.x
[x] 3.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
when I use the iOS10 native Chinese input method enter to searchBar the letter will show in the searchBar,such as when I typing "你好",I need typing "nihao" on input method ,but on the searchBar I get "nnini hni hani hao",and I choose the word on the input method I get "nnini hni hani hao你好".
Expected behavior:
When I typing in iOS native Chinese input method just get the word which I typing,such as when I typing "你好","你好" will show in the searchBar.
Steps to reproduce:
use iOS native Chinese input method typing any Chinese word on searchBar
Related code:
I just use the document example
<ion-searchbar
[(ngModel)]="myInput"
[showCancelButton]="shouldShowCancel"
(ionInput)="onInput($event)"
(ionCancel)="onCancel($event)">

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
global packages:
@ionic/cli-utils : 1.2.0
Cordova CLI      : 7.0.1
Ionic CLI        : 3.2.0

local packages:
@ionic/app-scripts              : 1.3.7
@ionic/cli-plugin-cordova       : 1.2.1
@ionic/cli-plugin-ionic-angular : 1.2.0
Cordova Platforms               : android 6.2.3 browser 4.1.0 ios 4.4.0
Ionic Framework                 : ionic-angular 3.3.0

System:
Node       : v7.10.0
OS         : macOS Sierra
Xcode      : Xcode 8.3.2 Build version 8E2002
ios-deploy : 1.9.1
ios-sim    : not installed

Hello, thanks for using Ionic, I am going to close this issue as a duplicate of https://github.com/ionic-team/ionic/issues/11566.


missing error-message for invalid number of arguments

BUG-issue
Description
Missing error-message in case that a function doesn't get the correct number of arguments. In the error-case, the run failes, but without error-message for debugging.

already fixed with the last cleanup-phase


Spanish translation fixes for /javascript/comments/index.md

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

Thanks for improving this translation @albertocc! 👍 👻


fixing port conflict for uperf bidrec test

Description
Context: https://github.com/cloud-bulldozer/benchmark-operator/issues/780
Fixes
Assigning a different port for the reverse test so that it doesn't conflict with the forward test port.
Testing screenshot

Codecov Report

Merging #791 (917f1db) into master (94005cd) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #791   +/-   ##
=======================================
  Coverage   53.47%   53.47%
=======================================
  Files           8        8
  Lines         331      331
=======================================
  Hits          177      177
  Misses        154      154

Flag
Coverage Δ

gha
53.47% <ø> (ø)

python-3.9
53.47% <ø> (ø)

unit
53.47% <ø> (ø)

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

Continue to review full report at Codecov.

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


Can't withdraw specific amount of metal

Describe the bug
Tried to withdraw 11.77 metal, bot failed to do the maths.
To Reproduce
Steps to reproduce the behavior:

Deposit 11.77 metal in any way.
Try to withdraw
Profit

Expected behavior
Everything works fine
Screenshots and logs
Chat history:
[17:25] Haarolean:  !pure
[17:25] [⇄] BOT:  💰 I have 19.44 refs (14 ref, 13 rec, 10 scrap)  in my inventory.

[17:20] Haarolean: !withdraw name=Refined Metal&amount=11.77

[17:20] [⇄] BOT:  ✅ 11.77 Refined Metals has been added to your cart. Type "!cart" to view your cart summary or "!checkout" to checkout. 🛒

[17:20]Haarolean:  !checkout
[17:20]  [⇄] BOT:  ❌ I failed to make the offer! Reason: Something went wrong while constructing the offer.

Some logs:
2021-01-06 14:26:02 debug: Enqueueing cart
2021-01-06 14:26:02 debug: Added cart to queue at position 0
2021-01-06 14:26:02 debug: Checking queue position in 3 minutes...
2021-01-06 14:26:02 debug: Handling queue...
2021-01-06 14:26:02 debug: Handling cart for<PHONE_NUMBER>9293516
2021-01-06 14:26:02 debug: Constructing offer
2021-01-06 14:26:02 warn: Failed to create offer because missing our items {"sku":"5002;6","required":11.77,"missing":-2.2300000000000004}

Additional context

Version: 2.3.5

You should do
!withdraw name=Refined Metal&amount=11, then
!withdraw name=Reclaimed Metal&amount=2, then
!withdraw name=Scrap Metal&amount=1
11.77 will not work.

You should do
!withdraw name=Refined Metal&amount=11, then
!withdraw name=Reclaimed Metal&amount=2, then
!withdraw name=Scrap Metal&amount=1
11.77 will not work.

That's how I actually solved the issue. I thought that was possible, since the bot accepted float value.

That's how I actually solved the issue. I thought that was possible, since the bot accepted float value.

Will make it throw an error if user input non-integer value later. Thanks.

Will make it throw an error if user input non-integer value later. Thanks.


Initialize releases when creating remoteBookController

Initialize releases when creating remote book controller to prevent undefined error.

Pull Request Test Coverage Report for Build 514115617

1 of 7 (14.29%)  changed or added relevant lines in 1 file are covered.
8 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.01%) to 43.214%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/notebook/src/dialog/remoteBookDialog.ts
1
7
14.29%

Files with Coverage Reduction
New Missed Lines
%

extensions/import/src/wizard/pages/fileConfigPage.ts
1
73.46%

extensions/notebook/src/dialog/remoteBookDialog.ts
3
43.15%

extensions/notebook/src/common/ports.ts
4
74.14%

Totals

Change from base Build 513851252:
-0.01%

Covered Lines:
24573

Relevant Lines:
52053

💛  - Coveralls

Pull Request Test Coverage Report for Build 514115617

1 of 7 (14.29%)  changed or added relevant lines in 1 file are covered.
8 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.01%) to 43.214%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/notebook/src/dialog/remoteBookDialog.ts
1
7
14.29%

Files with Coverage Reduction
New Missed Lines
%

extensions/import/src/wizard/pages/fileConfigPage.ts
1
73.46%

extensions/notebook/src/dialog/remoteBookDialog.ts
3
43.15%

extensions/notebook/src/common/ports.ts
4
74.14%

Totals

Change from base Build 513851252:
-0.01%

Covered Lines:
24573

Relevant Lines:
52053

💛  - Coveralls

How is this being undefined? I'm guessing when url is undefined? You should update the typings appropriately for the various properties/return types to be IRelease[] | undefined if undefined is a valid expected value.
But in general I would say it probably makes more sense to just default the model to having an empty array instead. Doing that should fix this I think from what I see in the code since the HTTP request properly defaults to an empty array and then populates it with the result. Unless you care about knowing when you've fetched releases and there weren't any vs we haven't actually fetched anything (undefined)

@Charles-Gagnon , you are right. I initialized the model correctly and we are not throwing an error anymore.

How is this being undefined? I'm guessing when url is undefined? You should update the typings appropriately for the various properties/return types to be IRelease[] | undefined if undefined is a valid expected value.
But in general I would say it probably makes more sense to just default the model to having an empty array instead. Doing that should fix this I think from what I see in the code since the HTTP request properly defaults to an empty array and then populates it with the result. Unless you care about knowing when you've fetched releases and there weren't any vs we haven't actually fetched anything (undefined)

@Charles-Gagnon , you are right. I initialized the model correctly and we are not throwing an error anymore.


model[[nodes]] <- scalar breaks

This used to compile (whether it gave correct behavior would need to be checked).
Reproducible example:

nf <- nimbleFunction(
  setup = function(model, nodes) {
  },
  run = function() {
    v <- model[[nodes]]
    model[[nodes]] <<- v
    s <- 1
    model[[nodes]] <<- s # Gives run-time error and wrong behavior
    model[[nodes]] <<- 1 # Gives compile-time error
  })

nf1 <- nf(m, 'beta[1:2]')
cnf1 <- compileNimble(nf1, project = m)
nf1$run()
cnf1$run() # Error from model[[nodes]] <<- s

A relevant piece of source code to get back to the commit that changed this behavior is in these notes from Chris:
It looks like the issue is in eigenize_assign_before_recurse and occurs because of our recent addition of the lines:
promoteArgTypes(code)
if (!is.null(code$type))
    code$type <- code$args[[2]]$type

The problem in this case is that we have code$args[[2]] equal to 0, so  code$args[[2]]$type invokes the error.
It looks like that line was added by Perry:
0e6ee0359 (perrydv              2021-09-23 17:58:50 -0700 488)     promoteArgTypes(code)
0e6ee0359 (perrydv              2021-09-23 17:58:50 -0700 489)     if(!is.null(code$type)) code$type <- code$args[[2]]$type
when he was working on casting of non-scalars.

@perrydv just checking if you think we should address this for 1.0.0 release.


wwwroot zip unclear

It could be good to include some verbiage around what level to zip the files. From this document it appears to indicate you should zip at the top (wwwroot directory) level, but in reality is looking to zip just wwwroot/* (all of the files underneath wwwroot). The API call doesn't throw any errors when no Functions appear in your Function App, the deployment says successful in the deployment logs. Thanks!

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 4581be64-415a-804a-0a45-25b6976095c3
Version Independent ID: 0cae0e82-c263-e2cf-ea54-a783291f5746
Content: Zip push deployment for Azure Functions
Content Source: articles/azure-functions/deployment-zip-push.md
Service: functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@apetre070 Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.


Feeback

For scenario "Restart Fully stopped VM's", it should just state that the operation will be failed with error
The operation requires the VM to be running (or set to run). (Code: OperationNotAllowed) or
The virtual machine 'rescue' operation failed: 'The operation is not allowed on a role that is deallocated.'. (Code: VirtualMachineOperationFailed)  or
The operation requires the VM to be running (or set to run). (Code: OperationNotAllowed)

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a1b587f6-8bf4-fb64-5515-be223a17f783
Version Independent ID: a756c758-417c-974d-1787-ad5e61edbd0b
Content: Troubleshooting Azure VM allocation failures
Content Source: articles/virtual-machines/troubleshooting/allocation-failure.md
Service: virtual-machines
GitHub Login: @JiangChen79
Microsoft Alias: cjiang

@SubbuKonathala Thanks for your feedback. We are checking on this and will respond to you soon.

@genlin can you please take a look at this one?

@SubbuKonathala  Could you share more detail about the issue?

Hi Thomas
You can easily repro the issue at your end.  It will give a different error, that I mentioned initially. So the public document seems to be wrong.
I'm from CSS support team (sukon), so you can reach out to me via Teams for more questions.
Thanks
Subbu

From: Thomas Lin<EMAIL_ADDRESS>Sent: Friday, May 31, 2019 2:45 PM
To: MicrosoftDocs/azure-docs
Cc: SubbuKonathala; Mention
Subject: Re: [MicrosoftDocs/azure-docs] Feeback (#32404)
@SubbuKonathalahttps://github.com/SubbuKonathala Could you share more detail about the issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/32404?email_source=notifications&email_token=AMGQE2NKJOSYOP6RW2MY2ETPYDUEPA5CNFSM4HQ3UFBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWUV4TY#issuecomment-497638991, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMGQE2MLNAE54ODKDGLWBHDPYDUEPANCNFSM4HQ3UFBA.

I guess, the main concern or confusion is using the work "Restart partially stopped (deallocated) VMs" or "Restart fully stopped (deallocated) VMs". Instead can't we just call is start, because there is also operation called "Restart". It's logically correct to say why would someone try to restart a stopped VM, rather they will try to start a stopped VM.
To discuss more, please feel free to reach out to me via team.
Note: I work Wed-Sat, so will not be available on Mon, tue.

From: subramanyam konathala<EMAIL_ADDRESS>Sent: Sunday, June 2, 2019 3:02 AM
To: MicrosoftDocs/azure-docs; MicrosoftDocs/azure-docs
Cc: Mention
Subject: Re: [MicrosoftDocs/azure-docs] Feeback (#32404)
Hi Thomas
You can easily repro the issue at your end.  It will give a different error, that I mentioned initially. So the public document seems to be wrong.
I'm from CSS support team (sukon), so you can reach out to me via Teams for more questions.
Thanks
Subbu

From: Thomas Lin<EMAIL_ADDRESS>Sent: Friday, May 31, 2019 2:45 PM
To: MicrosoftDocs/azure-docs
Cc: SubbuKonathala; Mention
Subject: Re: [MicrosoftDocs/azure-docs] Feeback (#32404)
@SubbuKonathalahttps://github.com/SubbuKonathala Could you share more detail about the issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/32404?email_source=notifications&email_token=AMGQE2NKJOSYOP6RW2MY2ETPYDUEPA5CNFSM4HQ3UFBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWUV4TY#issuecomment-497638991, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMGQE2MLNAE54ODKDGLWBHDPYDUEPANCNFSM4HQ3UFBA.

I will discuss Subbu offline for this issue.
#please-close


Time conversions

Times are common in javascript codes and almost always are used in milliseconds. What do you think of coffeescript compiling something like:
setTimeout myfunc, 5s
setInterval test, 2min

into this:
setTimeout(myfunc, 5000);
setInterval(test, 120000);

I think this is better to write and to understand.
Thanks!

Sidenote:
for name, value of mappings
  Object.defineProperty Number::, name,
    get: -> @ * value

3.s # => 3000

and you can always do 3e3 using exponential notation.
Alert: that snippet is not compatible for every environment.

-1 on addressing this via CS itself, +1 on the idea of making code easier to write and understand.
You can solve two problems at once by wrapping setTimeout:
after = (n, units, f) ->
  if units == 'min'
    ms = 60 * 1000 * n
  else if units == 's'
    ms = 1000 * n
  else if units == 'ms'
    ms = n
  # ... for other units
  setTimeout f, ms

Then you can say something like this:
after 5, 's', ->
  alert "Five seconds have passed"

By wrapping setTimeout, you can not only introduce unit conversions, but you can also make the callback be the last parameter, which leads to more natural looking code.

@yuchi this is a nice solution, but unfortunately has the compatibility problem :(
@showell the setTimeout function was just an example. Times are used in more places than that, like in jQuery where almost all animation related functions accept a duration parameter. Addressing this via CS itself would allow the use in every place...

I wouldn't get your hopes up on this issue.  Most people who spend their time writing/reading animation code understand that browser APIs work on the millisecond granularity.  If there's any ambiguity, just comment it:
animation_delay = 200 # ms
setTimeout(f, animation_delay)

And just to complete the circle the YUI transition API works in seconds, not milliseconds (don't ask me why, it's awkward). Saying that  5s means 5000 is not correct in this scenario, you are not creating numbers-with-units, but a forced conversion to the lowest unit.

@yuchi I suppose, in an ideal world, all the APIs would. JavaScript's numbers are floating point, after all, and we tend to think on scales of seconds rather than milliseconds.


Cannot work with obsidian 1.0.3

Describe the bug
The advance-slides plug has been installed and enabled without any other plug in the obsidian app. But slide preview cannot work with the sample content.
Samples to Reproduce
the test.md:
Hello from Cover Page
test

Im not able to reproduce this error. I've using Obsidian 1.0.3 without any issues in multiple vaults

I have the same Issue with the 1.0.3 Version of Obsidian. I can't see any Previews of my slides. Can I deliver something to help you to find the problem?

I have the same Issue with the 1.0.3 Version of Obsidian. I can't see any Previews of my slides. Can I deliver something to help you to find the problem?

Sure,thanks.🌹


Visual Studio package suggestion should include Microsoft.Data.SqlClient

When using a type in *.SqlClient, it will initially be unresolved. If you hit ctrl+. in Visual Studio on an unresolved type, it will offer to install a package that it knows about that offers the type, as shown below. Currently, Visual Studio only suggests System.SqlClient. It ought to also offer Microsoft.SqlClient, as that's the recommended path for new code:

@sharwell do you know who maintains the suggestion list?

Or @jaredpar ?

FYI, I've opened a new ticket in Visual Studio, if that helps engage right team!
https://developercommunity.visualstudio.com/t/Include-and-suggest-MicrosoftDataSqlCl/1426003?space=8&entry=suggestion

@jinujoseph do you know who maintains this list?

The codefix provider of this feature is at https://github.com/dotnet/roslyn/blob/main/src/Features/Core/Portable/AddPackage/AbstractAddPackageCodeFixProvider.cs
But I'm not sure where the packages it suggests come from. Some debugging should around it should probably help.

The package index is generated by Nuget
This is being discussed internally.

Closing this issue as external please follow the progress roslyn page here

The issue here is that MS.Data.SqlClient is in the index, but is much lower priority, so it is filtered out compared to System.Data.SqlClient.  We do this because some types show up in tons of packages due to users just including copies of things.  We don't want the user to get spammed with lots of irrelevant hits, so we order based on magnitude of importance.  It looks like MS.Data.SqlClient is orders of magnitude less used than System.Data.SqlClient so it gets filtered out.


Single caller method check

For @lekcyjna123. For some weird, but kinda sensible use cases, it makes sense to have a method which can be called at most once. In such a case, it's better to check that assumption to avoid surprises later.
Fixes #416.

Didn't really work for the intended use case. To be verified, changing to draft for now.


How can I send a private message?

Hey, I am new to this API and I somehow couldn't figure out how to send a private message.

InstagramDirectShareRequest request = InstagramDirectShareRequest.builder(InstagramDirectShareRequest.ShareType.MEDIA, recipients).mediaId(mediaId).message("An example :)").build();
this.instagram.sendRequest(request);
Just an example, I think it is obvious what the code does.
The List recipients is consiting of user.getPk() as String.

Thank you!


Terminal freeze on cd // command

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

VS Code Version: 1.74.1
OS Version: Ubuntu 22.04

Steps to Reproduce:

Open integrated terminal
Execute command cd //

I discovered this completely by accident when I mistyped cd ..

I will also add that I'm getting the error
[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")

Does not repro on macOS, but does on linux (WSL)

stack trace:
Uncaught Error: [UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")
    at E (workbench.desktop.main.js:89:27148)
    at new c (workbench.desktop.main.js:89:28056)
    at new u (workbench.desktop.main.js:89:29437)
    at c.from (workbench.desktop.main.js:89:28854)
    at $e.computeLabel (workbench.desktop.main.js:2743:10862)
    at $e.refreshLabel (workbench.desktop.main.js:2743:9642)
    at ji.wd (workbench.desktop.main.js:2743:5211)
    at [ji.bd](http://ji.bd/) (workbench.desktop.main.js:2742:653)
    at workbench.desktop.main.js:2741:3428
    at t.EventEmitter.fire (EventEmitter.ts:55:16)
    at EventEmitter.ts:68:23
    at t.EventEmitter.fire (EventEmitter.ts:55:16)
    at E.setTitle (InputHandler.ts:2871:25)
    at t.OscHandler._handler (InputHandler.ts:292:70)
    at t.OscHandler.end (OscParser.ts:223:18)
    at t.OscParser.end (OscParser.ts:159:45)
    at c.parse (EscapeSequenceParser.ts:777:43)
    at E.parse (InputHandler.ts:485:35)
    at n._action (CoreTerminal.ts:144:99)
    at n._innerWrite (WriteBuffer.ts:164:27)
    at WriteBuffer.ts:124:29

The issue is here. Perhaps we should just catch that?
https://github.com/microsoft/vscode/blob/f078e6db483250957314c56c3b12e23dae03d351/src/vs/workbench/contrib/terminal/browser/terminalInstance.ts#L2532

We could also try resolving the path:


step vs epoch

The dataset class selects data randomly rather than sequentially.
So, I'm curious about the role of steps_per_epoch and epochs: if steps_per_epoch * epochs is the same, will the results be the same? (e.g., 10 * 20 vs 20 * 10)

Solve. https://github.com/dvlab-research/LISA/issues/55#issuecomment-1747188041


Style updates

Hey guys another change list for this pull request:

updates to the navbar to make it make more sense. (profile names appear at end of navbar, you can't login again if you are already logged in)
created chat.css file to store css for the chat page
made the text box and button on same line and fit the size of the whole screen
text box and button for chat both have neat effect on hover.

Overall this LGTM. For future PRs like this it might be helpful to include a screenshot so we can see the changes a little easier. Nice work!


Default method for routes.

Just wanted to leave a suggestion of having a default method of GET for the routes, so we don't have to do this ourselves. Any thoughts?

Yes, we discussed a similar issue here https://github.com/yahoo/routr/issues/15

ah thanks. good to know.


Unable to create deployment/statefulSet without pod scheduling using form

Describe Bug
User is unable to create deployment/stateful set without pod scheduling using form in the dashboard.
Steps to Reproduce

Go to the dashboard.
Create a deployment using the form without setting pod scheduling.
Click create.
Deployment creation fails.

Verified the fix with 2.5-head, v2.5-d20c9c6685ad6a17599d8c42ce6b7344ece8fb67-head
Steps used to verify

Go to the dashboard.
Create a deployment using the form without setting pod scheduling.
Click create.
Deployment succeeded.

Note that wl1 created without pod scheduling is active now.

The fix is working, closing the issue.


EventedHTTPServer is closing after 5 sec

Hi, I am trying to setup homebridge and homeassistant plugin. When I am starting homebridge, it will fetch accessories from homeassistant nicely and show them in Home App at IOS as well. Anyway state is only shown few seconds and then all accessories are not accessible.
When I am starting homebridge by debug command:DEBUG=* homebridge -D I can see this log and HTTP connection was closed +5s is always this +5s what I assume is 5 second.
-Joni
user@chip:~/.homebridge$ DEBUG=* homebridge -D
*** WARNING *** The program 'nodejs' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs>
*** WARNING *** The program 'nodejs' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs&f=DNSServiceRegister>
[2017-6-28 20:14:57] Loaded plugin: homebridge-homeassistant
[2017-6-28 20:14:57] Registering platform 'homebridge-homeassistant.HomeAssistant'
[2017-6-28 20:14:57] ---
[2017-6-28 20:14:57] Loaded config.json with 0 accessories and 1 platforms.
[2017-6-28 20:14:57] ---
[2017-6-28 20:14:57] Loading 1 platforms...
[2017-6-28 20:14:57] [HomeAssistant] Initializing HomeAssistant platform...
[2017-6-28 20:14:58] [HomeAssistant] Fetching HomeAssistant devices.
[2017-6-28 20:14:58] Loading 0 accessories...
[2017-6-28 20:14:58] [HomeAssistant] Received event: ping
[2017-6-28 20:14:58] [HomeAssistant] Initializing platform accessory 'Kosteusprosentti'...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

    ââââââââââââââ
    â 031-45-154 â
    ââââââââââââââ

  EventedHTTPServer Server listening on port 51826 +0ms
[2017-6-28 20:14:58] Homebridge is running on port 51826.
  EventedHTTPServer [::ffff:<IP_ADDRESS>] New connection from client +1s
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP server listening on port 37190 +11ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /pair-verify +73ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: POST /pair-verify +5ms
  HAPServer [CC:22:3D:E3:CE:30] Pair verify step 1/2 +22ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Response is finished +141ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /pair-verify +99ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: POST /pair-verify +2ms
  HAPServer [CC:22:3D:E3:CE:30] Pair verify step 2/2 +7ms
  HAPServer [CC:22:3D:E3:CE:30] Client 4EE0BA56-FEA7-4F30-810E-85CEC8F7BED1 verification complete +27ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Response is finished +21ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /accessories +130ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: GET /accessories +1ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Response is finished +19ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /characteristics +216ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +2ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":2,"iid":10,"ev":true},{"aid":2,"iid":13,"ev":true}] +9ms
  Accessory [Homebridge] Registering Characteristic "Reachable" for events +7ms
  Accessory [Homebridge] Registering Characteristic "Category" for events +3ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Response is finished +6ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /characteristics +90ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +7ms
  Accessory [Homebridge] Processing characteristic set: [{"aid":2,"iid":8,"ev":true}] +5ms
  Accessory [Homebridge] Registering Characteristic "Current Relative Humidity" for events +2ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Response is finished +4ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /characteristics?id=2.8 +39ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: GET /characteristics?id=2.8 +2ms
  Accessory [Homebridge] Getting value for Characteristic "Current Relative Humidity" +16ms
[2017-6-28 20:15:00] [HomeAssistant] fetching state for: Kosteusprosentti
  Accessory [Homebridge] Got Characteristic "Current Relative Humidity" value: 58 +79ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] Muting event '2.8' notification for this connection since it originated here. +17ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Response is finished +7ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP connection was closed +5s
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP server was closed +10ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] Client connection closed +9ms

Can you pull log from iOS device and see what’s happening?
Sent from my iPhone

On Jun 28, 2017, at 11:24 AM, Joni Räsänen<EMAIL_ADDRESS>wrote:
Hi, I am trying to setup homebridge and homeassistant plugin. When I am starting homebridge, it will fetch accessories from homeassistant nicely and show them in Home App at IOS as well. Anyway state is only shown few seconds and then all accessories are not accessible.
When I am starting homebridge by debug command:DEBUG=* homebridge -D I can see this log and HTTP connection was closed +5s is always this +5s what I assume is 5 second.
-Joni
user@chip:~/.homebridge$ DEBUG=* homebridge -D
*** WARNING *** The program 'nodejs' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs
*** WARNING *** The program 'nodejs' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs&f=DNSServiceRegister
[2017-6-28 20:14:57] Loaded plugin: homebridge-homeassistant
[2017-6-28 20:14:57] Registering platform 'homebridge-homeassistant.HomeAssistant'
[2017-6-28 20:14:57] ---
[2017-6-28 20:14:57] Loaded config.json with 0 accessories and 1 platforms.
[2017-6-28 20:14:57] ---
[2017-6-28 20:14:57] Loading 1 platforms...
[2017-6-28 20:14:57] [HomeAssistant] Initializing HomeAssistant platform...
[2017-6-28 20:14:58] [HomeAssistant] Fetching HomeAssistant devices.
[2017-6-28 20:14:58] Loading 0 accessories...
[2017-6-28 20:14:58] [HomeAssistant] Received event: ping
[2017-6-28 20:14:58] [HomeAssistant] Initializing platform accessory 'Kosteusprosentti'...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
ââââââââââââââ
â 031-45-154 â
ââââââââââââââ

EventedHTTPServer Server listening on port 51826 +0ms
[2017-6-28 20:14:58] Homebridge is running on port 51826.

Reply to this email directly, view it on GitHub, or mute the thread.

Can you please explain how we can get the iOS logs.

@JoniR , which version of node.js are you using?

I wasn't able to pull logs today, but try once more tomorrow.
user@chip:~$ nodejs -v
v8.1.2

In other issues I've read that 8.x behaves differently and only 7.x is stable with homebridge right now.

I have totally forget this issue what I opened. I reinstalled homebridge by using docker image oznu/homebridge and no issues since that.


Report if IAM users have or use passwords

Passwords are not allowed.
http://docs.aws.amazon.com/IAM/latest/APIReference/API_ListUsers.html
http://docs.aws.amazon.com/IAM/latest/APIReference/API_User.html
PasswordLastUsed != null

+1

This check is only for manually added users (all IAM users) -> condition: PasswordLastUsed != null
this check is not correlated with aws events, we should run this check once a day, maybe in the evening/night

similar as #37


Withdrawal Error (3): JSON value is not a boolean as expected

Hi,
i saw there are already 2 issues of this closed, but i dont see the solution there?
Please give me short info how to solve this.
thanks!

Add ticker to this array https://github.com/3s3s/opentrade/blob/master/server/constants.js#L224

thanks