Syncml(500): The recipient encountered an unexpected condition which prevented it from fulfilling the request

Why do we have this error all of a sudden after successful encryption and device previously marked as "succeeded" Support said go to this page but the error isn't even listed here.
ERROR CODE
0x87d101f4
ERROR DETAILS
Syncml(500): The recipient encountered an unexpected condition which prevented it from fulfilling the request

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

ID: fbcf9add-51a3-5275-1747-0904b061e82a
Version Independent ID: 6fe2aba3-4c6c-4b94-1940-6169c17a3722
Content: Enforcing BitLocker policies by using Intune  known issues - Microsoft 365 Security
Content Source: windows/security/information-protection/bitlocker/ts-bitlocker-intune-issues.md
Product: w10
Technology: windows
GitHub Login: @Teresa-Motiv
Microsoft Alias: v-tea

@afield1235 - Thank you for submitting feedback.
I think the best way forward is if you can open a service ticket so this can get resolved ASAP. Based on outcome, let me know if it is something that can be called out in the docs.
Please follow this link to contact support for Windows 10 products:  https://support.microsoft.com/hub/4338813/windows-help?os=windows-10
If you don't mind please keep us posted here on the resolution so we can get the applicable information you are discovering back into the docs.

Likely a common problem with BitLocker + Intune Device Compliance Evaluation. Too many factors can trigger this type of error, whether it is within Windows Firewall, more than 1 user logged in on the same device, 3rd party AV software or even just trouble getting the update status from Windows Defender. For many users, the common issue seems to be how long it takes to achieve a new compliance status.
Forum thread on UserVoice:
https://microsoftintune.uservoice.com/forums/291681-ideas/suggestions/36815068-intune-device-compliance-evaluation-not-stable-fa
TechNet post with suggested solution (based on 1 user experience)
https://social.technet.microsoft.com/Forums/en-US/9aa794a9-4889-4629-bc28-acf16823cb3c/2016345612-syncml500-the-recipient-encountered-an-unexpected-condition-which-prevented-it-from?forum=microsoftintuneprod
Search for other possible answers: https://www.bing.com/search?q=0x87d101f4+SyncML+500

@mypil I already opened a support ticket, they haven't resolved it yet. This should be documented in this article and should be fixed.
@illfated Thanks, User Feedback is graveyard. Seems like it exists simply to placate customers. Nothing on their is ever taken seriously or implemented.

@afield1235 : Thanks for the feedback. I am happy to see that you have opened a support ticket. Unfortunately, I don't know enough about this scenario, but if your computer environment is small enough, I would suggest using manual updating on the non-compliant device, or at least try to narrow down what causes the status to fall out of compliance.
I hope your efforts result in a solution and that the solution could have some or any effect on the existing documentation. If so, I would appreciate additional feedback here.
Best of luck to all of you.


css scoped with v-global compilation results are incorrect

Version
3.2.26
Reproduction link
sfc.vuejs.org/
Steps to reproduce
step1: input css

step2: get css
/* incorrect */
.global {
    color: #f00;
}

/* incorrect */
.global {
    display: block;
}

/* incorrect */
.global {
    display: block;
}

.scoped[data-v-f13b4d11] {
    background-color: #0f0;
}

What is expected?
step2: get css（expected）
/* expected */
.global .scoped[data-v-f13b4d11] {
    color: #f00;
}

/* expected */
.scoped[data-v-f13b4d11] .global {
    display: block;
}

.global {
    display: block;
}

.scoped[data-v-f13b4d11] {
    background-color: #0f0;
}

What is actually happening?
It may be a problem with css compilation.

Global is for a while selector: https://v3.vuejs.org/api/sfc-style.html#style-scoped.

You don’t need global on that one
You should use a deep selector instead
That’s expected and actually the point of the global pseudo selector

the source code
<template>

1

</template>

The style after compilation
[data-v-f13b4d11] .global .scoped { ❌
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.global .scoped[data-v-f13b4d11] ✅

    color: #f00;
}
.scoped[data-v-f13b4d11] .global {
    display: block;
}
.global {
    display: block;
}
.scoped[data-v-f13b4d11] {
    background-color: #0f0;
}

playground link

The generated CSS is correct, see https://v3.vuejs.org/api/sfc-style.html#style-scoped. You probably just need .global .scoped with nothing as I said before.
Please, use the forum or the Discord chat for further questions.

To anyone looking for an answer to themeing, I wrote this postcss plugin with a :local() psuedo-selector: https://gist.github.com/tommie/c0eefee636033ff48cda50f89e3ccefa


MSO conditions are also impacting Google Pixel and mobile devices using the GMAIL app.

When using the MSO conditions to accommodate Outlook and hide mobile elements, the condition works as expected in Outlook, but it has the side effect of also hiding the table cell in Google Pixel devices or devices using the Gmail app.  Are these devices also using the Outlook engine and, if so, how to specify Outlook only?
For example:
``
This example hides it in both Outlook and mobile devices using the Gmail app and on Google Pixel devices. iPads and iPhones don't appear to be affected.


The singleton of httpclient

I think the httpclient/okhttpclient should singleton in connectionManager. Now the per request has a client. It’s so heavy and the most import is that the connection pool of client doesn‘t work.

The okhttpclient should init only one client instance and use newBuilder() to make method-level configuration effective and be able to reuse connection pools.
The same, httpclient should init only one client instance and use requestConfig.
In current situation the memory is burst.
I try to submit pr, but unfortunately I find the code needs to be refactored urgently. Sorry for my unsubmitted.

Thanks for your advice.
I'll use a cache to store clients. The different requests from a same method will have only one client.


Using ResetPartitionOffset after a rebalancing

Is there a way to call the consumer.ResetPartitionOffset() function after having received a PartitionConsumer and expect this one to read from the selected offset?

@asdine unfortunately, it is not easy to do, at least not consistently. That's why I have started working on a new effort here - https://github.com/Shopify/sarama/pull/1099


[IRGen]: Remove unused explosion schema from enum payload schema

At some point it might be useful to be able to use an appropriate
explosion schema to explode payloads but currently the code that
handles this is unused. There are lots of different ways we might
add this functionality in the future and it isn't clear that the
existing code will be the best way to use explosion schemas in the
future.
For now remove this dead code so that its presence doesn't obscure
the code that is actually in use.

@swift-ci Please smoke test

Thanks for the cleanup!


Multi GPU support

Need to support multi GPU with data parallel.
Number of GPU to use should be in config file.

Linked to containerizing GDL ?  K8S should take care of selecting the resources for us -- though we still need to tell it how many GPUs we want it to use.


CopyPaste app translation strings for crypto don't exist in other languages

To reproduce:

Open the build/dev/uproxy-networking/samples/copypaste-socks-chromeapp/ chrome app.
Change language to Italian.

Observe this:

Note the blue button lacks the translated text it has in english.

@jetpack fixed this:
https://github.com/uProxy/uproxy-lib/pull/170
Thanks @jetpack!


Certificate Management feature in Console Application needs integration tests.

Is your feature request related to a problem? Please describe.
Certificate management feature in Console application does not have any integration tests.
Describe the solution you would prefer
Implement the tests for the necessary integration scenarios.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Add features for new symphonia codecs

PR #412 has updated symphonia but in the 0.5 release there have been new codec additions. So one should add features to this crate so that users don't have to add symphonia as a dependency of their own to turn those features on.

Link to the release.


Adds disallowUnknownOptions() method to command

Will display help if user enters an option that is not in the options array.  Current default behavior is to silently ignore unknown options.  If you have a command
.command('cmd')
.option('--a')
.disallowUnknownOptions()
.action(...)

Now if the user enters cmd --a --b, the output is Unknown option: b. Showing Help: ....
The action is not invoked

Thanks. In a regular Linux terminal, the default for passing an additoinal option is:
cat: invalid option '--z'
Try 'cat --help' for more information.

In developing Vorpal, a design goal is to stick as close as possible to POSIX-compliance and familiarity of commands.
In other words, could you just make your edit the default? I don't want to add too many more things to the API.
I wouldn't call this a breaking change, as no one should be passing invalid commands to Vorpal for no reason :)

Sure, I agree that it should be the default, but wanted to avoid breaking existing behavior.  Do we need to keep a .allowUnknownOptions() in command.js?  Seems useless now the default is false (unknown options don't get passed to your action method anyway)

I was thinking about it... I almost don't want to - It just seems like it would contribute to making Vorpal overwhelming.
You see these frameworks where a brand new person visiting sees these relatively obscure methods to handle rare edge cases, and they get blown off. So let's leave it out and just adopt your (better) functionality.

Can you see any possible case where it would break anything? I can't, but I could be wrong.

:+1: fully agree.  Can't see any downside (unless my calculation of unknown options is wrong ;) )

:+1: So just make those few changes and send me a ping, and I'll pull and publish right away!

Is it documented anywhere the correct ordering of long/short options?  If I have `.option('-a', 'blah'), the underlying Option will be created as  { flags: '-a', long: '-a' } which seems incorrect.

I think the wiki docs go over short, then long:
.option('-a, --aardvarks', 'summons a horde of aardvarks');
Unless I'm mistaking your question?

Digging a bit more - is it valid to only pass '-a' (without --aardvark)?  That is the case which leads to an Option with { long: '-a' }

It should be!

yep, ok. Then we probably need to make https://github.com/dthree/vorpal/blob/3b54cfcfa856b1969bdee175d39fdbe731d88ef9/lib/option.js#L24-L27 a bit smarter about setting the correct long/short properties

Yeah probably. Haha look - I just pulled this out of Commander:
/**
 * Initialize a new `Option` with the given `flags` and `description`.
 *
 * @param {String} flags
 * @param {String} description
 * @api public
 */

function Option(flags, description) {
  this.flags = flags;
  this.required = ~flags.indexOf('<');
  this.optional = ~flags.indexOf('[');
  this.bool = !~flags.indexOf('-no-');
  flags = flags.split(/[ ,|]+/);
  if (flags.length > 1 && !/^[[<]/.test(flags[1])) this.short = flags.shift();
  this.long = flags.shift();
  this.description = description || '';
}

Literally copy paste.

Alright.  The simplest fix would be to inspect the first 2 chars of each flag and assign it to the correct variable.  Will do that now

K.

Done. If you don't see any problems with it I will squash the commits so you can merge

I'm ready to merge. You?

Yep! I was going to squash the commits but actually they fix 2 different things, so will leave them separated.

Okay thanks, you're awesome. :+1:

great, thanks for quick merge+publish :)


Organize utils folder

create-project.js:

Lines 12-14: These variables don't need to be exported.

geo-dash.js:

Line 20: Drop space between function name and args for stylistic consistency.

generalUtils.js:

Line 53: Drop space between function name and args for stylistic consistency.


Try implementing Bucket via PrefixedStorage and TypedStorage

A Bucket is a TypedStorage on top of a PrefixedStorage. A Singleton is Bucket plus a key. Implementations should reflect that, which ensures API consistency.

This is not easy because of lifetimes of the intermediate storages

The lifetimes issue is why I did not do this.
I pulled out all common logic into functions which were much more easy to compse

I am open for better functional composition. But would not invest too much into this until 0.12 or 1.0

Yeah I basically gave this up for the near future

I took a different approach in cosmwasm-plus - storage-plus where the Storage is not in the object, and this allows const fn constructors and easier composability. It does not wrap Storage directly.
I spent quite some time on this and similar issues and that was the closest I could come. Closing this unless someone really, really feels inspired on a whole new architecture


About Readme files

In the java section of UniProjects Repository, I am willing to add readme files which include the details about each example and a somewhat detailed explanation about each of the experiments/projects.
Why to make them? So that it helps anyone who visits these and to help me in future when I revisit these codes.
Obviously such Documentation will take time as I completed the codes of each example with no thought on explanation. I willing complete this issue within coming months with each readme file containing through text of the theoretical aspects of each file attached.
from adityawardhanm

The README files have been added and are linked below
•       C programming
•       Java programming
•       Python programming
From adityawardhanm


LinuxDeps OpenImageIO Build Issue

All right, here we go.
I'm running Arch Linux (fairly recently updated) and trying to run the LinuxDeps build-64-sse2 script. The build progresses all the way through
[ 95%] Linking CXX static library libOpenImageIO.a
where it sits for a good long while, and then fails without giving me a link error, just a Make error:
make[2]: Leaving directory '/tmp/luxbuild/oiio-Release-1.8.11/build/linux64'
make[1]: *** [Makefile:163: all] Error 2
make[1]: Leaving directory '/tmp/luxbuild/oiio-Release-1.8.11/build/linux64'
make: *** [Makefile:365: cmake] Error 2
 !!! openimageio compilation failed

If I navigate to /tmp/luxbuild I can find the unpacked build files and if I go to /tmp/luxbuild/oiio-Release-1.8.11/build/linux64 I can run make again, where I get the error
make[2]: *** No rule to make target '../../src/doc/oiiotool', needed by 'src/doc/oiiotool.1'.  Stop.
Navigating to ../../src/doc I find that there's a file called oiiotool.tex, which makes me think that maybe there's just a mistake in the Makefiles? But I've dredged through so many Makefiles and couldn't find mention of oiiotool at all. I'm at a loss on this one.
I did some searching and saw an issue from about a year and a half ago that said that using the compiler switch -std=gnu++98 would make it work better, since OpenImageIO has problems with C++11, but when I edited the main script to change the switch, it was overridden in another configuration file somewhere. I was unable to find mention of additional compiler options in other files.
In addition, this is one of my first issues I've posted, so please let me know if there's anything I've missed that I need to provide.
Thank you,
Catherine Tower

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

tex, doc ... is it failing to build the latex documentation? Maybe this step can be disabled?

After searching through more Makefiles, I found a directory with some C++ sources that looked like they're used to generate an executable called oiiotool. I tried compiling them manually and it gave me a link error, I can revisit that later.
I ended up just telling build-64-sse2 to skip to the next stage and it continued along just fine. This seems more like a workaround than anything else, but it's good enough for now.
My next problem comes from a missing Boost header. Should I create a new issue, or can I continue on here?

Better to post it here, the problems might be interlinked.

boost/spirit/home/support/detail/math/fpclassify.hpp is not present on my system. Looking through Boost documentation, it appears to have been taken out of more recent releases. The build script goes through the build process for Boost and succeeds, but doesn't seem to find it when it comes time to compile LuxCore.

The boost version in LinuxCompileDeps is boost_1_67_0.
What's the exact error message?

In file included from /home/catherine/src/personal/luxcore/LuxCore/include/luxrays/utils/serializationutils.h:47,
                 from /home/catherine/src/personal/luxcore/LuxCore/include/luxrays/core/geometry/vector.h:29,
                 from /home/catherine/src/personal/luxcore/LuxCore/include/luxrays/core/epsilon.h:23,
                 from /home/catherine/src/personal/luxcore/LuxCore/src/slg/cameras/projective.cpp:21:
/home/catherine/src/personal/luxcore/LuxCore/deps/eos_portable_archive-v5.1/eos/portable_oarchive.hpp:125:10: fatal error: boost/spirit/home/support/detail/math/fpclassify.hpp: No such file or directory
 #include <boost/spirit/home/support/detail/math/fpclassify.hpp>

It's that error some thirty times or so for various different files.
My system version of Boost is 1.69.0, but I was under the impression that the script would download and use its own version.

Try to check your LinuxCompile/LuxCore/CMakeCache.txt file, just look for any boost related line, they should point to LinuxDeps Boost library with something like:
//Boost chrono library (debug)
Boost_CHRONO_LIBRARY_DEBUG:FILEPATH=/home/david/projects/luxcorerender/LinuxCompile/target-64-sse2/lib/libboost_chrono.a

//Boost chrono library (release)
Boost_CHRONO_LIBRARY_RELEASE:FILEPATH=/home/david/projects/luxcorerender/LinuxCompile/target-64-sse2/lib/libboost_chrono.a

//Boost date_time library (debug)
Boost_DATE_TIME_LIBRARY_DEBUG:FILEPATH=/home/david/projects/luxcorerender/LinuxCompile/target-64-sse2/lib/libboost_date_time.a

They are likely to point to your system Boost v1.69.0 instead that LinuxDeps v1.67.0 (where fpclassify.hpp is still available).
The problem is to investigate why your cmake are picking the system Boost instead of the local one. What cmake version do you have ?

Sure enough, that solved it. I changed all references to /usr/include to /home/catherine/src/personal/luxcore/target-64-sse2/include and /usr/lib to /home/catherine/src/personal/luxcore/target-64-sse2/lib and it built just fine.
I'm using CMake version 3.14.4
% cmake --version
cmake version 3.14.4

CMake suite maintained and supported by Kitware (kitware.com/cmake).

So LuxCore built successful? Fixing the openimageio stuff was not required?

I'm not entirely clear on how that ended up working out. The build script didn't report an error, but it did say that it finished building OpenImageIO. When it stopped, I restarted it at a stage past the OpenImageIO stage, and it continued without complaining. It seems very much like a brittle workaround, but it did solve my problem.

The error messages seemed to indicate to me that only the documentation building was failing (the PDF manual for oiio). That's probably why it worked out.

Good enough for now, I say. If a subsequent commit breaks the build, I'll revisit this. Thank you very much for your help.


[tree-similarity] Fix wrong port name in usage file

Small typo in the usage file. I had copied the file from another port and forgot to update the name.
No changes in the port's version

[x] Changes comply with the maintainer guide
[x] SHA512s are updated for each updated download
[x] The "supports" clause reflects platforms that may be fixed by this new version
[x] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

Note: I will be converting your PR to draft status. When you respond, please revert to "ready for review".
That way, I can be aware that you've responded since you can't modify the tags.

@remz1337 Why closed this PR ? :)

I couldn't figure out how to increase port version without changing the sem-ver. I don't want to change the sem-ver (0.1.1) since it needs to reflect the actual library version.
I figured I could fix this type on the next release of the library

I couldn't figure out how to increase port version without changing the sem-ver. I don't want to change the sem-ver (0.1.1) since it needs to reflect the actual library version.

Revert the changes in versions.
Add "port-version": 1, in port/tree-similarity/vcpkg.json.
Then run vcpkg x-add-version tree-similarity to correctly update versions.

This for the detailed instructions. I resynced my repo to start from scratch, so I had to open a new PR: https://github.com/microsoft/vcpkg/pull/32409
Still having issues though.. It says : PRs must add only one version, and must not modify any published versions.


Create expense flow: clarify what info will be shared with collective/host admins

User story

As a user submitting an expense on Open Collective, I want to know exactly what info of my personal profile will be shared with the third-parties I'm interacting with.
As a GDPR regulator, I need to make sure that the platform is properly informing the users when their data is shared with third parties.

When you submit an expense to the collective, the following information from your profile are shared:

Email: accessible to the collective and host admins
Address: accessible to the collective and host admins
Payout method (paypal email): accessible to collective and host admins (may change with https://github.com/opencollective/opencollective/issues/2848)

Best solution for this problem

In the dismissable info box at the top we already talk about personal info in there so it's just a matter of completing the sentence
In the FAQ it's just a matter of completing the Is my private data made public? entry

Messages proposals

For the blue info message (bold=changes)

Request payment from ${collective} for work you’ve done or to be reimbursed for purchases. Expenses will be processed for payment once approved by a Collective admin. Only the amount and description are public in the Collective’s transparent budget— attachments, payout details, emails and addresses are only shared with the admins.

For the FAQ: Is my private data made public? (bold=changes)

No. Only the expense amount and description are public. Attachments, payment info, emails and addresses are only visible to you and the admins.

Assigning @piamancini as the decision maker on this one

Go ahead with the changes. Thank you Ben. Good catch

Alright thanks!


CircleCI is deprecating machine based on Ubuntu 16/14 images

Motivation
https://circleci.com/blog/ubuntu-14-16-image-deprecation/
Feature
Upgrade the only affected job :point_down: to a newer Ubuntu image.
https://github.com/falcosecurity/charts/blob/cc07b87d94dd37dd221f475c985a8809c1d4eaf3/.circleci/config.yml#L21-L23
Alternatives
Moving jobs to Prow would be another solution, but CircleCI has been working fine in this repo, so I wouldn't change it (unless we have other compelling reasons).
Additional context
We have to fix this before May.

I will work on this
/assign

i think for this repo we can stick with circleci, I would prefer to move to github actions, but this is working very well than lets keep it :)

Btw, switching to GitHub is likely a good idea. I'm no longer against it (since all issues CircleCI has caused on the main repo).
But, unfortunately, I do have not enough cycles to help with that :(

i can do that if you want @leogr


Add tests for GitHub script used in pr-bot

Add tests for the GitHub script to help catch errors during tidy-up/refactoring for #1538

Initial test structure for build scripts and tests for getCommandFromComment
Add tests for labelAsExternalIfAuthorDoesNotHaveWriteAccess

/test-force-approve
not covered by PR tests


Make copying UNSIGNED return the same instance

botocore.UNSIGNED is meant as a sentinal value like None, so copying
it should always return the same instance. This implements that
behavior.
Fixes boto/boto3#1144
cc @kyleknap @jamesls @dstufft @stealthycoin

Codecov Report

Merging #1230 into develop will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #1230      +/-   ##
===========================================
+ Coverage    98.02%   98.02%   +<.01%
===========================================
  Files           45       45
  Lines         7335     7340       +5
===========================================
+ Hits          7190     7195       +5
  Misses         145      145

Impacted Files
Coverage Δ

botocore/__init__.py
100% <100%> (ø)
:arrow_up:

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 b4f88de...090e03a. Read the comment docs.


Adds IoT Hub Basic Tier capabilities.

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[x] I adhere to the Command Guidelines.

View a preview at https://prompt.ws/r/Azure/azure-cli/6320
This is an experimental preview for @microsoft users.

Please hold off on merging this. We have a couple fixes to make in our extension code first.

@andrew-buckley please advice when this PR is ready. for now it is labelled as do not merge.

@troydai this should be good to go now. Please have a look at the PR when you can.

Just pinging again @troydai.
@iluican

Looks good to me.

I will merge by the end of the day. @tjprescott  do you want to take a nother look?


Python plot issue

if I enter,

python plot.py

I get the following error message due to some eps output problem I suppose
The PostScript backend does not support transparency; partially transparent artists will be rendered opaque.
Removing/uncommenting the savefig and clf commands resolves this issue. A simple plt.show() does the job. This works also for "python plot2d.py"

 plt.show()

# plt.savefig(filename+'.eps', format='eps')
# plt.clf()

Thanks for the comment. The error message itself does not seem to have effects on the output of the script, but if the output is not intended to be saved this is an option.

If you just need to show your figure in the editor, no need to save it as eps. When you show it, it will be presented as a PNG image, that is why the problem is solved when deleting the savefig command.

But if the intent is to save the output as a .eps format file, it would be ideal if the warning message could be suppressed using the standard warnings.filterwarnings("ignore") library command since, as noted by apenzk, the error message itself does not seem to have effects on the output of the script.

But if the intent is to save the output as a .eps format file, it would be ideal if the warning message could be suppressed using the standard warnings.filterwarnings("ignore") library command since, as noted by apenzk, the error message itself does not seem to have effects on the output of the script.

I had the same issue with *.eps that is not supported properly. I resolved that by saving as *.svg which handles transparency nicely:
plt.savefig("filename.svg", format="svg",transparent=True)


Countries?

What countries is the app available in?
I can't seem to find it in the Swedish app store

It isn't in the U.S. iOS App Store either. It says I have to switch to the Japanese store (which I did, but it still wouldn't allow me to even view it (possibly because of family sharing) and I had to log out and back into my apple id to switch back because of family sharing.)

i forget if it compiled by myselef. bug you can use it .unzipping the apk from zip file bellow.
Boostnote_1.2.3.apk.zip

I am just guessing here but I think they removed it from the store when they paused developing it but I could be wrong

Not available on Indian store also.


[Windows] Autostart application if no paramaters are passed to xwalk.

Automatically try to find the manifest.json relative to the xwalk.exe path
in approot/ (which is the place for application files created using
crosswalk-app-tools). If it's not found then crosswalk doesn't start.

@pozdnyakov PTAL it goes with https://github.com/crosswalk-project/crosswalk-app-tools/pull/144

@pozdnyakov landed the app-tool part.

@pozdnyakov ping

I think Misha is on holidays. rs=me


Question about error - The credential provided is not a supported type

Library name and version
Azure.Messaging.Servicebus version 7.11.1
Query/Question
I am trying to integrate a service with service-bus and while instantiating ServiceBusClient class present in service-bus SDK, I see an error saying "The credential provided is not a supported type.". I want to understand more details about this error. What are the supported credential types? In what cases can we see this error?
The token-credential I am passing is generated using ClientCertificateCredential by passing in a certificate to that.
Stacktrace:
System.ArgumentException: The credential provided is not a supported type. Parameter name: credential at Azure.Messaging.ServiceBus.ServiceBusConnection.CreateWithCredential[TCredential](String fullyQualifiedNamespace, TCredential credential, ServiceBusClientOptions options) at Azure.Messaging.ServiceBus.ServiceBusClient..ctor(String fullyQualifiedNamespace, Object credential, ServiceBusClientOptions options) at NotificationServiceClient.QueueClient.SenderStrategy.ServiceBusSenderFactory.CreateSender(String entityName, ClientSettings initConfig)
Code snippet:
        var clientCredOption = new ClientCertificateCredentialOptions()
        {
            AuthorityHost = NotifyEnvironment.GetAADAuthorityHost(environment)
        };

        TokenCredential token;

         var certificate = initConfig.GetAADPrincipalAuthentication().GetClientAuthCertificate();
         token = new ClientCertificateCredential(initConfig.GetAADTenantId().ToString(),
                                                    initConfig.GetAADPrincipalClientId().ToString(),
                                                    certificate,
                                                    clientCredOption);

        ServiceBusClientOptions serviceBusClientOptions = initConfig.GetServiceBusClientOptions();
        var client = new ServiceBusClient(NotifyEnvironment.GetServiceBusEndpoint(primaryRegion, environment), token, serviceBusClientOptions);

Environment
No response

Hi @Vishwak4.  Thank you for reaching out and we regret that you're experiencing difficulties.   I'm unable to reproduce the error that you're seeing using ClientCertificateCredential  with ServiceBusClient nor directly with ServiceBusConnection.     I've also verified that our credential-based live tests are not experiencing this.
Are you able to package a minimal reproduction that we could use to investigate?


PCM DPC Italian COVID-19

Official Italian repository: https://github.com/pcm-dpc/COVID-19

Diff should be the difference since yesterday in case the total case is a running sum. I do not know if this data is a daily snapshot or a running sum. But the goal is to have columns where we can see for instance in case of "Recovered" how many reported recoveries happened since yesterday. --> This notebook caclulates DIFFs as today's snapshot data minus yesterday's snapshot data for Hospitalized, Intensive Care, Total Hospitalized (sum of Hospitalized and Intensive Care), Home Isolation, Total Positive, Discharged Healed, Deceased, Total Cases and Tested. New Positive cases are not calculated here as they are provided as change since yesterday in the source data. In v2 corrected total cases vs active cases issue.
please call the workbook as PCM_DPS_COVID19 to know who is the data provider --> notebook renamed to PCM_DPS_COVID19
we move S3 upload to a different place (out from the notebook). --> S3 uplaod removed (changed to markup)
Please output PCM_DPS_COVID19.csv as output (same as the basename of the notebook) --> output file renamed (easily configurable in Parameters section)


Windows and missing path fix

Hi, thanks for the really cool project!
Here is some fix for issue I got when running the latest 0.4.1 version
Bug fix

Fix NPM build not running in Windows by recreating package-lock.json.

I cannot verify if this break something in Mac OS. But from diff looks like existing darwin dependency is not removed.

Fix assets path not found when serving html from Flask
Fix missing model attribute when running non HF model

Enhancement

Add GPT-4o-mini model

Testing

thank you for this! I will review soon and verify the changes still work on Mac. appreciate the extra fixes as well


SR_Triangles_Object_Space.shader has warnings

Describe the bug
This shader, added in #5988, throws some Unity warnings on first load.
To reproduce

Pull the latest mrtk_dev and open in Unity (might need to right click on this shader and select Reimport)

Screenshots

@keveleigh, you mention this may have been fixed and not closed. please confirm and close as appropriate

Fixed (a while ago) via https://github.com/microsoft/MixedRealityToolkit-Unity/pull/6686


nested aggregator bug

@concat(
@pct( ...

works, but
@concat(@pct( ...

doesn't

maybe use a proper DSL grammar
<EMAIL_ADDRESS>

Fixed


Scheduler incorrectly schedules the container instance on a host with a different zone label  after deleting one instance of the service

Rancher Versions:
Server:Server:Master with scheduler image daishan1992/scheduler
**Docker Version:**17.04.0-ce
**OS and where are the hosts located? (cloud, bare metal, etc):**Ubuntu, Cloud
**Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)**Single node
**Environment Type: (Cattle/Kubernetes/Swarm/Mesos)**Cattle
Steps to Reproduce:

Create a master setup with 4 hosts and use the scheduler image daishan1992/scheduler. The hosts have the label as below:
Host1 with label - goup=east
Host2 with label - group=west
Host3 with label - group=north
Host 4 with no label
Create service with scale 4 with label io.rancher.scheduler.scale_per_group: key=group; east=1, west=3. One container gets created in host1 and three containers get created on host2 as expected
Delete one instance of the service on host2 which has label group=west
After service reconcile, the container gets created on host1 which has label group=east

Expected

After service reconcile, the container should be created on host2

The same issue is seen when we upgrade a service.

The feature needs to be re-designed to use api fields. Ticket is invalid.


Conda

Whoops, messy PR. Merging anyway since the erroneous commit (da29a40) doesn't break anything.


Onboarding flow

https://www.figma.com/file/tQ5EDjgrVMMrwMUuOP47PG/Lilico-Mobile-Design-v1.5?type=design&node-id=3955%3A2350&t=PKNYZndRNsxgprpJ-1

[ ] fill localize on Translized
[ ] Remove debug code after functional development is complete


refactor(react-query-next-experimental): use isServer to determine server environment

This PR is to improve codes that use typeof window... rather than isServer when determining whether it is server environment.
We can use isServer from the core package for more consistency and precision.
I fixed the react-query-next-experimental package, and nextjs related docs and example codes.
cf) discussion

prettier is failing :/

Why is prettier failing? pnpm run prettier --check succeeds in my local.
I tried changing the import order to alphabetic order in the docs but I'm not sure if that's the reason why 🤔


Page Navigator v1.42

I'm getting merge conflicts with your pull request. Can you please re-pull from the source and resubmit your changes.


Fix goroutine leak in cmd/agent/app/reporter/grpc

Which problem is this PR solving?

part of #5006

Description of the changes

fixed goroutine leaks in cmd/agent/app/reporter/grpc and also added a goleak check

How was this change tested?

go test

Checklist

[x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
[x] I have signed all commits
[x] I have added unit tests for the new functionality
[x] I have run lint and test steps successfully

for jaeger: make lint test

Thanks!


chore: bump deps to support go1.21

Regular bump

Codecov Report

Merging #95 (b48bdf7) into main (6069d6a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #95   +/-   ##
=======================================
  Coverage   68.27%   68.27%
=======================================
  Files          37       37
  Lines        2909     2909
=======================================
  Hits         1986     1986
  Misses        771      771
  Partials      152      152


Explore the possibility of analysing password data with DataFrames

Might be a nice way to handle reports, too ...

This is the Rust-equivalent for Python Pandas:

https://github.com/pola-rs/polars

Sadly, big python installs are required.

There's a pure-Rust option for DataFrames with this crate:

https://github.com/Axect/Peroxide

Native Rust implementation of Apache Arrow in-memory columnar format:

https://github.com/apache/arrow-rs


Remove Germany logic from marriage-abroad outcome_os_consular_cni

In 01841437a70bc680091d8aaf1e81a1641c66cc0a, information about opposite sex marriages in Germany was moved from the outcome_os_consular_cni outcome to outcome_os_germany. This branch removes the now unused code from outcome_os_consular_cni.

Ideally there'd be a reference to the point at which outcome_os_germany  was introduced i.e. where this code should've been removed. However, don't worry if it's hard to find because of the v2 git history craziness.
Otherwise this looks good to me. :+1:

Thanks for reviewing this, @floehopper. I've updated the PR description with a link to the commit that added the outcome_os_germany outcome.

I've rebased this on master and force pushed now that PR #2349 (Remove Japan from marriage-abroad outcome_os_consular_cni) has been merged.
I'm going to wait for the tests to pass and get it merged.


Include connectors in sidebar

It would be helpful to have the (currently two?) connector types available as templates in the sidebar.
Is this sufficiently easy implementable?
Here are the two connector types and their respective styles (I removed superfluous default entries in the styles).
Normal Connector

Style:
html=1;
strokeWidth=2;

Control Connector

Style:
html=1;
strokeWidth=2;
startArrow=diamondThin;
startFill=1;
endArrow=none;
endFill=0;

Sorry for the late reply. It should be rather easy to add the two connector types to the sidebar. I will have a look into this later.


Fixed absolute output path

Absolute output path gives me this error
Error: ENOENT: no such file or directory, open '/Users/matar/workplace/react/door/smart_door_back/Users/matar/workplace/react/door/smart_door_back/modules/user/generated/nexus-prisma/nexus-prisma.ts'

Hey there !
Thanks a lot for your PR and sorry for the latency. Merging now 🙏

Thank you.


Error when launching OF-Scraper in OSX

Lately been getting this error and a pop up that python crashed:
objc[69266]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called.
objc[69266]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.
Using v2.7.12. I also tried the latest dev build to see if it fixes it and it doesn't.

Are you using the binary or from pip/pipx?

This is with pipx

2.7.13 should fix the issue for now
What version of python are you on by chance
The latest commits are for 3.0 unless your on the 2.7patch branch

That got rid of my error but 2.7.13 does't have the shift arrow/alt fix that the 3.0 dev version had.

What version of python are you on by chance?

Python 3.10.1

Updated to 3.11 same result with 2.7.13

Does this happen with 3.0

Still getting this
Exception in thread Thread-1 (logger_process):
Traceback (most recent call last):
File<EMAIL_ADDRESS>line 1038, in _bootstrap_inner
ofscraper -sk -dc normal
[start.startvalues:87]  config path:                                start.py:87
/Users/your_username/.config/ofscraper/config.json
[start.startvalues:88]  profile path:                               start.py:88
/Users/your_username/.config/ofscraper/main_profile
[start.startvalues:89]  log folder:                                 start.py:89
/Users/your_username/.config/ofscraper/logging
objc[11322]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called.
objc[11322]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.

Seems to be related to this I pushed a fix where the type is set as spawn is set explicity
https://stackoverflow.com/questions/50168647/multiprocessing-causes-python-to-crash-and-gives-an-error-may-have-been-in-progr

can you try the latest commit
pipx uninstall ofscraper
pipx install git+https://github.com/datawhores/OF-Scraper.git

Uninstalled and reinstalled with the latest back to 3.0.5 and same error.
objc[16081]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called.
objc[16081]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.
Welcome to OF-Scraper Version 3.0.5
Using python3 v 3.11.4

Yeah sure
Just install the git version

Uninstalled pipx version and installed pip version and same issue

What version of mac are you on?

Monterey

Can you try to set this enviroment variable before running
export "OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES"

Yeah, was just about to comment. That removed the python error popup. Thanks!
https://hynek.me/til/rq-macos/

I added the environmental variables to the script
So I think that should fix the error without having to manually set that value.
I haven't been able to recreate this issue


running docker-compose-gui-nvidia.yml on jetson nano

So I'm trying to run the nvidia gui file on jetson nano.
I installed docker-compose on the nano using pip3:
sudo apt update && sudo apt -y upgrade
sudo apt install curl python3-pip libffi-dev python-openssl libssl-dev zlib1g-dev gcc g++ make -y
sudo python3 -m pip install --upgrade pip
sudo python3 -m pip install setuptools-rust
sudo python3 -m pip install docker-compose

I might've missed some packages that I installed!
then I did:
xhost +local:root
docker compose -f docker-compose-gui-nvidia.yml build
docker compose -f docker-compose-gui-nvidia.yml up

and with the last command I get this output:
/usr/local/lib/python3.6/dist-packages/paramiko/transport.py:32: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography (40.0) will be the last to support Python 3.6.
  from cryptography.hazmat.backends import default_backend
Building realsense_ros2
Sending build context to Docker daemon  139.8kB
Step 1/9 : FROM ros:humble-perception
 ---> bad31d6015e0
Step 2/9 : ENV WS_DIR="/ros2_ws"
 ---> Using cache
 ---> b351c85dd87d
Step 3/9 : WORKDIR ${WS_DIR}
 ---> Using cache
 ---> 5c526ba274d9
Step 4/9 : SHELL ["/bin/bash", "-c"]
 ---> Using cache
 ---> 6fedfec2692e
Step 5/9 : ARG DEBIAN_FRONTEND=noninteractive
 ---> Using cache
 ---> 4cb30bb908bd
Step 6/9 : RUN apt-get update -y  && apt-get install -y     build-essential     cmake     git-all     software-properties-common
 ---> Using cache
 ---> d4f66f96e17b
Step 7/9 : RUN apt-get update -y  && apt-key adv --keyserver keyserver.ubuntu.com --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE  && add-apt-repository "deb https://librealsense.intel.com/Debian/apt-repo $(lsb_release -cs) main" -u  && apt-get install -y     librealsense2-dbg     librealsense2-dev     librealsense2-dkms     librealsense2-utils
 ---> Running in 4e125806f392
Hit:1 http://packages.ros.org/ros2/ubuntu jammy InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Reading package lists...
W: http://packages.ros.org/ros2/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.pvaIdQjDQ2/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE
gpg: key C8B3A55A6F3EFCDE: public key ""CN = Intel(R) Intel(R) Realsense", O=Intel Corporation" imported
gpg: Total number processed: 1
gpg:               imported: 1
Hit:1 http://packages.ros.org/ros2/ubuntu jammy InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Get:6 https://librealsense.intel.com/Debian/apt-repo jammy InRelease [2400 B]
Fetched 2400 B in 2s (1378 B/s)
Reading package lists...
W: http://packages.ros.org/ros2/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://librealsense.intel.com/Debian/apt-repo/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Repository: 'deb https://librealsense.intel.com/Debian/apt-repo jammy main'
Description:
Archive for codename: jammy components: main
More info: https://librealsense.intel.com/Debian/apt-repo
Adding repository.
Adding deb entry to /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package librealsense2-dbg
E: Unable to locate package librealsense2-dev
E: Unable to locate package librealsense2-dkms
E: Unable to locate package librealsense2-utils
The command '/bin/bash -c apt-get update -y  && apt-key adv --keyserver keyserver.ubuntu.com --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE  && add-apt-repository "deb https://librealsense.intel.com/Debian/apt-repo $(lsb_release -cs) main" -u  && apt-get install -y     librealsense2-dbg     librealsense2-dev     librealsense2-dkms     librealsense2-utils' returned a non-zero code: 100
ERROR: Service 'realsense_ros2' failed to build : Build failed

Any thoughts?

Hi @RezaOptimotive
I sadly do not have a Jetson Nano. Could you try to modify the Dockerfile and replace it with the following (basically removing everything that comes after the step that failed)?
FROM ros:humble-perception

ENV WS_DIR="/ros2_ws"
WORKDIR ${WS_DIR}

SHELL ["/bin/bash", "-c"]

ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update -y \
 && apt-get install -y \
    build-essential \
    cmake \
    git-all \
    software-properties-common

# Install dependencies: See https://github.com/IntelRealSense/realsense-ros/tree/ros2-development
# Librealsense: See https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md#installing-the-packages
RUN apt-get update -y \
 && apt-key adv --keyserver keyserver.ubuntu.com --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE \
 && add-apt-repository "deb https://librealsense.intel.com/Debian/apt-repo $(lsb_release -cs) main" \
 && apt-get update -y

 ARG DEBIAN_FRONTEND=dialog

Then once inside the Docker perform
$ apt-get update
$ apt search librealsense2
and let me know the output of it.
In case it does not find any packages it might as well be that Intel does not provide readily available Debian packages for the Jetson. In that case you could try the installation from source Dockerfile that I put inside the read-me.

This is the output I get:
nano@jetson:~$ docker exec -it docker_realsense_ros2_1 /bin/bash
root@jetson:/ros2_ws# apt update
Hit:1 http://packages.ros.org/ros2/ubuntu jammy InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Hit:4 https://librealsense.intel.com/Debian/apt-repo jammy InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Hit:6 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
4 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: http://packages.ros.org/ros2/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://librealsense.intel.com/Debian/apt-repo/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://librealsense.intel.com/Debian/apt-repo jammy InRelease' doesn't support architecture 'arm64'
root@jetson:/ros2_ws# apt search librealsense2
Sorting... Done
Full Text Search... Done
ros-humble-librealsense2/jammy 2.51.1-2jammy.20221108.153031 arm64
  Library for controlling and capturing data from the Intel(R) RealSense(TM) D400 devices.

ros-humble-librealsense2-dbgsym/jammy 2.51.1-2jammy.20221108.153031 arm64
  debug symbols for ros-humble-librealsense2

root@jetson:/ros2_ws#

Next I'll try building from source.

I'll test this new one right after testing the source container.

@RezaOptimotive Excellent, keep me posted. Would be cool if we could make this work for arm64 as well. Was not aware that the packages for arm64 would be different.

Building from source works great!
Moving on to the latest image you sent!

It gives unable to locate package librealsense2

@RezaOptimotive I see, just saw before that you had the output Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://librealsense.intel.com/Debian/apt-repo jammy InRelease' doesn't support architecture 'arm64'. So their repository in fact does not support arm64. Meaning building from source is your only option.
Have you already tested that it not only builds but you are also able to access the camera with e.g. $ rs-enumerate-devices --compact and visualize the camera stream?

Yes! rs-enumerate-devices --compact runs successfully.
After that I tested rs-depth and that works as well.
Then I tested running ros2 launch realsense2_camera rs_launch.py pointcloud.enable:=true and the topics are available, however it does not allow me to open rviz2 so I looked up the error:
Unable to create the rendering window

So from this I added -NVIDIA_DRIVER_CAPABILITIES=all to the yaml file yet I still have no success getting the GUI to open.

Excellent, let's open a separate issue for that (but it should be fairly easy to fix). Let me know in that issue what your set-up is like in more detail (operating system, is a screen attached to the Jetson or are you connecting over ssh?).

Should be resolved in https://github.com/2b-t/realsense-ros2-docker/issues/2#issuecomment-2159277212.


The README should explain how to use this SDK from Objective-C

I'm in a hackathon with @germanattanasio who is trying to help but we can't figure out how to use this SDK from an Objective-C project

Hi @danielsoner. We've been working on a project to demonstrate how to consume the SDK from Objective-C. Here's a link to the repo.

You'll want to follow the same instructions in the quick start guide. The only catch is that many of the Swift types are not accessible from Objective-C, so you'll want to build a Swift "bridge". In the Swift file, you can create classes that are exposed to Objective-C, but since they are implemented in Swift, they can execute functions from the SDK and process the models.
Here's an example from the project repository linked above. You may also need a bridging header and some build settings configurations. Then you can import an automatically-generated header in your Objective-C code.
Let me create a project and see if I can't come up with step-by-step instructions for you real quick.

Here are the steps I followed:
Create Objective-C application.

Create Cartfile and run carthage update --platform iOS

Add the frameworks you'd like to use and their dependencies to the project. Most of the frameworks depend upon Alamofire, Freddy, and RestKit. SpeechToText also depends upon Starscream.

Add a "Copy Frameworks" build phase with the frameworks (and dependencies) you'd like to use. I'll use Text to Speech as an example.

Add an App Transport Security exception to Info.plist.
<key>NSAppTransportSecurity</key>
    <dict>
        <key>NSExceptionDomains</key>
        <dict>
            <key>watsonplatform.net</key>
            <dict>
                <key>NSTemporaryExceptionRequiresForwardSecrecy</key>
                <false/>
                <key>NSIncludesSubdomains</key>
                <true/>
                <key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
                <true/>
                <key>NSTemporaryExceptionMinimumTLSVersion</key>
                <string>TLSv1.0</string>
            </dict>
        </dict>
    </dict>

Create a WatsonBridge.swift file. Allow Xcode to build an Objective-C bridging header when prompted.

In WatsonBridge.swift, import the Watson Developer Cloud iOS SDK framework(s) that you'd like to use. I'll use TextToSpeechV1 as an example.

Create a class in WatsonBridge.swift that inherits from NSObject (this makes it accessible from Objective-C). Write any desired methods.

In your Objective-C file, import the generated Swift header. Since my app is called, ObjectiveCTest, I #import "ObjectiveCTest-swift.h". Write Objective-C code that calls the classes/functions defined in WatsonBridge.swift.

Hi,
Thank you for this detailed description!
Actually I wasn't the person who was integrating with Objective C, but my
account was used to report it.
Have a great week
On Sat, Sep 10, 2016 at 10:33 PM, Glenn R. Fisher<EMAIL_ADDRESS>wrote:

Here are the steps I followed:
Create Objective-C application.
[image: screen shot 2016-09-10 at 11 51 19 pm]
https://cloud.githubusercontent.com/assets/1957636/18415277/06699246-77b2-11e6-880e-9b533bed5b7f.png
Create Cartfile and run carthage update --platform iOS
[image: screen shot 2016-09-10 at 11 54 36 pm]
https://cloud.githubusercontent.com/assets/1957636/18415279/1fff458e-77b2-11e6-99c2-755b2b62b2ef.png
Add the frameworks you'd like to use and their dependencies to the
project. Most of the frameworks depend upon Alamofire, Freddy, and RestKit.
SpeechToText also depends upon Starscream.
[image: screen shot 2016-09-11 at 12 21 16 am]
https://cloud.githubusercontent.com/assets/1957636/18415380/b3500e88-77b5-11e6-8054-8e7dca31be3e.png
Add a "Copy Frameworks" build phase with the frameworks (and dependencies)
you'd like to use. I'll use Text to Speech as an example.
[image: screen shot 2016-09-11 at 12 11 49 am]
https://cloud.githubusercontent.com/assets/1957636/18415353/605425f8-77b4-11e6-8221-d932cc7247cc.png
[image: screen shot 2016-09-11 at 12 12 17 am]
https://cloud.githubusercontent.com/assets/1957636/18415354/6ec2fea2-77b4-11e6-9d43-b13a9315a63e.png
[image: screen shot 2016-09-11 at 12 13 04 am]
https://cloud.githubusercontent.com/assets/1957636/18415356/882803c4-77b4-11e6-912c-0a4d9745340c.png
Add an App Transport Security exception to Info.plist.
NSAppTransportSecurity

NSExceptionDomains

watsonplatform.net

NSTemporaryExceptionRequiresForwardSecrecy

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

NSTemporaryExceptionMinimumTLSVersion
TLSv1.0

[image: screen shot 2016-09-11 at 12 22 54 am]
https://cloud.githubusercontent.com/assets/1957636/18415393/1b2c54c6-77b6-11e6-9821-c0a1ea633aa4.png
[image: screen shot 2016-09-11 at 12 23 11 am]
https://cloud.githubusercontent.com/assets/1957636/18415396/1df60da0-77b6-11e6-95cd-971aab361fb5.png
Create a WatsonBridge.swift file. Allow Xcode to build an Objective-C
bridging header when prompted.
[image: screen shot 2016-09-11 at 12 05 26 am]
https://cloud.githubusercontent.com/assets/1957636/18415325/7a4355ac-77b3-11e6-9e3b-a4365f906eea.png
In WatsonBridge.swift, import the Watson Developer Cloud iOS SDK
framework(s) that you'd like to use. I'll use TextToSpeechV1 as an
example.
[image: screen shot 2016-09-11 at 12 13 51 am]
https://cloud.githubusercontent.com/assets/1957636/18415358/a5693d04-77b4-11e6-859e-ff067388bd19.png
Create a class in WatsonBridge.swift that inherits from NSObject (this
makes it accessible from Objective-C). Write any desired methods.
[image: screen shot 2016-09-11 at 12 17 13 am]
https://cloud.githubusercontent.com/assets/1957636/18415368/2231e4a8-77b5-11e6-873c-7524f05a4c5e.png
In your Objective-C file, import the generated Swift header. Since my app
is called, ObjectiveCTest, I #import "ObjectiveCTest-swift.h". Write
Objective-C code that calls the classes/functions defined in
WatsonBridge.swift.
[image: screen shot 2016-09-11 at 12 27 43 am]
https://cloud.githubusercontent.com/assets/1957636/18415411/ebe5762e-77b6-11e6-9017-f0a50fd61ff2.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/watson-developer-cloud/ios-sdk/issues/439#issuecomment-246163010,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALjVrkZUVA2LtyiOCUEyD2O2vpzqAA8lks5qo5KXgaJpZM4J55yL
.

We added this tutorial with details about consuming the iOS SDK in an Objective-C application. The readme was also updated to link to the tutorial.


Batch mode?

Hi, I am not able to figure out how to use this code in batch mode. Has this functionality been implemented?

MondrianForestClassifier#fit does not work?

The fit method does work. But it goes through each data point in a for loop and updates the forest for each data point. This is online learning. But this is very slow when the number of data points is large.
I believe we should be able to run the algorithm in a 'batch mode': by which we learn a forest from a large training dataset and also in an 'online mode': by which we can further update the forest with a stream of training data.

Thanks. To run the batch mode, i think that it's necessary to implement the SampleMondrianBlock of the reference papers. But, there isn't the plan to implement it soon for now.

Okay, thanks for the reply!


Add more built-in functions in default_env.gd

For examples,
show_fps() will allow to add a label on the top left screen displaying current frame rate.
fullscreen() will allow to make the game fullscreen
These simple functions would be very convenient.

Would the idea of putting FPS information be static? I believe it would be useful to have another window with status, which can be added and removed

Would the idea of putting FPS information be static? I believe it would be useful to have another window with status, which can be added and removed

Nice suggestion. I'm considering adding floating widgets so we can monitor an expression's value at a constant frequency.


Circular Imports causes an infinite loop

Creating a circular import chain will never pass type checking as it will get itself inside an infinite loop.

Taken from here
// file A
import plus from B

function sum(a, b) {
  return plus(a, b)
}

// file B
import sum from A

function plus(a, b) {
  return a + b
}

function sumThree(a, b, c) {
  return plus(sum(a, b), c)
}

and make it so that after imports it becomes
function plus(a, b) {
  return a + b
}

function sum(a, b) {
  return plus(a, b)
}

function sumThree(a, b, c) {
  return plus(sum(a, b), c)
}


Way to feed  c# captured video / images into canvas ?

hi,
is there a way to push images or video captured with opencvsharp and processed in c# to the ui? Maybe filling  a canvas or using a video element ?
Any hint would be great!

You can write a SetTimeout in Javascript and call the C# script periodically.  But that would be slow another thing is that you can use https://github.com/lolp1/Overlay.NET or any similar library and draw to the window itself.

if you are using blazor try this https://github.com/Mercurial/BlazorMedia


Add StringIndex support in Python/C++

The java bindings currently support a StringIndex class which wraps the Index class but adds a mapping of strings to index integer IDs.  This is a handy piece of functionality which would be beneficial and should be fairly straightforward to implement in the Python bindings

Additionally, we should support string index containment checking with this python StringIndex as well so that we can write things like
if "some-string-key" in my_index:
  # Do something

cc @Ibrokhimsadikov


Remove stdout assumption

This interface assumes you are always asking if stdout its a tty. In other case you may want to ask if stderr is a tty.

I think this was done: https://github.com/softprops/atty/commit/fdabaef65751f137b62e7377e4f9892fc471cbe9


Documentation improvement: defining your own functions

Description
I was playing with the ability to write custom functions (hopefully to be turned into a package eventually), but found the syntax as described by the documentation on functions to be rather confusing.
My main issue was the use of #.  The example in the section on defining functions includes this line: [*Warning:\ #body*].  Since that was the first time a variable was used in the function body, I assumed you had to always use # to indicate a variable rather than the corresponding word.  But this of course isn't the case, and thankfully PgSuper on the discord was able to explain it.
To that end, I'd like to propose updating the corresponding part of the docs.  Specifically, it should be made clearer that one may have to switch between "modes" in the code, i.e. between code mode (starting with #) and markup mode (via [ ]).
I'm happy to help with a draft, although I'm not sure I fully understand how typst's scripting works yet to be confident in doing so.
Use Case
Clarify the docs, so hopefully more users can use them to create their own functions and packages.

Since that was the first time a variable was used in the function body, I assumed you had to always use # to indicate a variable rather than the corresponding word.

There is actually fill being used before, but that probably doesn't stand out. I agree that this could be clearer. If you want to try writing a draft, I'd be happy to review it and make any necessary corrections.


[Bug]: Deduct Points

What happened?
User's level is not changing when the points are reduced.
When a user gains certain amount of points the level changes and he will get to a higher level.
However if I deduct points for this user , his experience changes but his level stays the same even tho now it should be lower.
How to reproduce the bug
Add points to a user until he reaches a certain level. Then try to deduct his points. The experience will change however the level will stay the same
Package Version
2
PHP Version
8.2.0
Laravel Version
9.0.0
Which operating systems does with happen with?
macOS, Linux
Notes
No response

Hi,
So this isn't really a bug, more of a design choice. I opted not to lower levels when points were deducted.
I can see why you'd expect that behaviour though.
Honestly, I don't for-see any plans to implement it on my own, so I am open to a PR to implement it.
Thanks.


validate API. Safe validate against multiple validators

Problem
Currently, it is impossible to safely validate against multiple validators.
Proposed solution
export const validateSafe = <V, Validators extends ((v) => any)[]>(
  value: V,
  validators: Validators,
) => {
  let result: V | undefined
  for (const validator of validators) {
    try {
      result = validator(value)
    } catch {}
  }

  return result
}

const body = validateSafe(value, [validator1, validator2])

What's the use-case for this @o-alexandrov ?

@mmiszy to be honest, when you asked about the use case, I realized that I don't need a new helper to not throw an error in my own case. The reason why I used it is because I was migrating from zod's safeParse and there, .safeParse was the only way it would have worked there.
With @typeofweb/schema since validators & schemas are separate, I could have used oneOf for the validator to accept one of the schemas.
So I'm sorry for wasting your time and I'll be closing this issue.
If you believe you'd need zod's safeParse, you are welcome to reopen.

I don't see a need to validate without throwing to be popular enough to complicate this project

@all-contributors please add @o-alexandrov for bug


Different results depending on search path despite same identifier

I use the CLI on Windows in the version 9.0.9 to check a .ASP.NET MVC project with NET Framework 4.8.
I have run the following two commands but I got different results.
I understand that in the first one DependencyCheck also checks existing DLLs.
In the report I see that the same identifiers with highest confidence are used but only in one vulnerabilities are shown. Why?
Why does the check on just the packages.config files not show vulnerabilities even tough the same dependencies in the same versions are found. (See attached screenshots.)
PS ...\dependency-check\bin> .\dependency-check.bat --enableExperimental --project 'MyProj' --nvdApiKey <myApiKey> --scan 'C:\path\to\the\project\' -o C:\out\put\path

PS ...\dependency-check\bin> .\dependency-check.bat --enableExperimental --project 'MyProj' --nvdApiKey <myApiKey> --scan 'C:\path\to\the\project\**\packages.config' -o C:\out\put\path

Because when scanning .NET applications more information can be gleaned from the DLL - which improves the matching. See how dependency-check works.


The terminal cannot run the vscode tool

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

VS Code Version: VSCodeUserSetup-x64-1.87.0.exe
window Version: window 10 and 21H2

Steps to Reproduce:

copy vscode path
put the path into terminal and running
results open vscode failed

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!

Thanks


Update duckdb from 0.10.0 to 0.10.3

Update duckdb from 0.10.0 to 0.10.3 to include bug fixes. See:

https://github.com/duckdb/duckdb/releases/tag/v0.10.3
https://github.com/duckdb/duckdb/releases/tag/v0.10.2

Apparently, the updates are not just bug fixes... :thinking:

It was just an issue with some tests that require an explicit duck connection by mypy.


Invoicing bank accounts section

Details

The PR introduces the invoice bank accounts section.
Fixed Issues

$ https://github.com/Expensify/App/issues/45177
PROPOSAL: N/A
Tests

When no bank accounts

Open the invoices page.
Verify that the new bank accounts section is displayed.
Verify that the green "Add bank account" button is displayed.
Click on the "Add bank account" button.
Verify that the Plaid flow has been started.

When bank accounts are present

Open the invoices page.
Verify that the new bank accounts section is displayed.
Verify that the bank accounts list is displayed.
Verify that the transparent "Add bank account" button is displayed.
Click on the "Add bank account" button.
Verify that the Plaid flow has been started.
Click on non-default bank account.
Verify that there is a button to set the particular bank account as a default one.
Click on the button.
Verify that the badge has been attached to the new default bank account.

[x] Verify that no errors appear in the JS console

Offline tests

Click on the "Add bank account" button.
Verify that the "Add bank account" page shows the offline view.

QA Steps

Same as "Tests".

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/user-attachments/assets/62094ceb-5be8-4c3b-944d-59d5e681cbd7

Android: mWeb Chrome

https://github.com/user-attachments/assets/6d82435c-5692-4e19-9e11-58b09a213a40

iOS: Native

https://github.com/user-attachments/assets/edc84eee-a940-42e5-8d14-5b75e95d2d04

iOS: mWeb Safari

https://github.com/user-attachments/assets/2eed4a78-52bc-4d1d-bd23-f0bf2e5d3dd4

MacOS: Chrome / Safari

https://github.com/user-attachments/assets/6a490728-5d76-4a5a-9fbb-c00f3a54fda3

MacOS: Desktop

https://github.com/user-attachments/assets/660fc1d1-4df0-423f-b1b2-449299f919bb

Reviewer Checklist

[ ] I have verified the author checklist is complete (all boxes are checked off).
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[ ] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If any new file was added I verified that:

[ ] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[ ] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[ ] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[ ] I verified that all the inputs inside a form are aligned with each other.
[ ] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[ ] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[ ] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

As we are not showing the invoices option in the LHN yet, in the test steps we can add to open invoices page directly in URL
https://staging.new.expensify.com/settings/workspaces/policy_id/invoices

@rezkiy37 if we login and open the invoices page, it doesn't show any existing bank accounts. It only shows once we visit the wallet page as I believe Onyx data is updated with API OpenPaymentsPage. Do we need to call that API here?

@rezkiy37 if we login and open the invoices page, it doesn't show any existing bank accounts. It only shows once we visit the wallet page as I believe Onyx data is updated with API OpenPaymentsPage. Do we need to call that API here?

Please ignore this as it was due to the old session. Getting the list now on fresh login.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.


qfn packages

Hi
I found all QFP packages created by python script.
Do you plan to create QFN packages in the same way ?
Have a good day

Yes that's the goal. There's a PR open but unfortunately not ready yet (also from our side not having time for review yet): https://github.com/LibrePCB/librepcb-parts-generator/pull/99

Great.
This is just to complete my ATmega lib.
I can wait.


Sorin prompt missing space between "V" and branch name

I'm not sure what the "V" means in the prompt but it doesn't look correct.

Sorry, I tracked this down to a bad alias.


Not Learning the Data Distribution

I am working with a structured dataset of 20 input features and a single predicted value. All input features are uniformly distributed.
I trained a sequential INN to map input features to a N(0,1) latent space. When I run the trained INN in reverse with z values sampled from N(0,1), the predicted distribution for any input feature doesn't quite match the data distribution p(x). I tried tuning the hyperparameters, training for more epochs, but still no luck. An example for one of the input features is shown below:

Same setup works fine for the Make Moons and Boston Housing datasets in sklearn. Running in reverse yields the right distribution for the input features. An example for the Boston dataset is included below:

Any suggestions why it is not learning the data distribution? The dataset I am working with is small only 361 samples. Could that be an issue? Although, Boston Housing is 506 samples and 13 features and the INN works fine.
Code below:
import torch
import torch.nn as nn
from torch.utils.data import DataLoader, TensorDataset
import FrEIA.framework as Ff
import FrEIA.modules as Fm
BATCHSIZE = 19
N_DIM = 20
epochs = 500
def subnet_fc(dims_in, dims_out):
return nn.Sequential(nn.Linear(dims_in, 512), nn.ReLU(),
nn.Linear(512,  dims_out))
inn = Ff.SequenceINN(N_DIM)
for k in range(8):
inn.append(Fm.AllInOneBlock, subnet_constructor=subnet_fc, permute_soft=True)
from sklearn.preprocessing import MinMaxScaler
scaler_input = MinMaxScaler()
X_train_full_scaled = scaler_input.fit_transform(X_train_full)
train_x = torch.Tensor(X_train_full_scaled)
train_dataset = TensorDataset(train_x)
train_dataloader = DataLoader(train_dataset, batch_size=BATCHSIZE, shuffle=True)
optimizer = torch.optim.Adam(inn.parameters(), lr=0.001)
losses = []
for epoch in range(epochs):
running_loss = 0.0
for x in train_dataloader:
optimizer.zero_grad()
z, log_jac_det = inn(x)
loss = 0.5*torch.sum(z**2, 1) - log_jac_det
loss = loss.mean() / N_DIM
loss.backward()
optimizer.step()
running_loss += loss.item()
epoch_loss = running_loss
losses.append(epoch_loss)
sample_size = 100
z = torch.randn(sample_size, N_DIM)
samples, _ = inn(z, rev=True)
samples = samples.detach().numpy()
pred = scaler_input.inverse_transform(samples)

Looks like if I reduce the number of features to ~5 it works. With more features it starts deviating

.


Snake game

Adding a simple yet nostalgic snake game would add more to the site's functionalities. Please assign it to me under GSSOC'23.

I would like to work on this project. Please assign it to me.

I am Anvesha Jain, I have earlier made a snake game in Python and Flutter please assign it to me under GSSOC'23.

Hello, I am Interested in contributing to this project .I am Skilled in web development and i am ready to collaborate and follow project guidelines.

Thank you for assigning it to me.

I would love to contribute to this issue Pls assign this to me

please assign this to me

Can you please assign me this issue


[feature] Test animation progress

Thanks again, sorry that I open so many issues lately.
I was wondering how I might test animation progress in general. In my case I have an open state which is rendered. As I read through the docs I saw that detox waits for the idle state, e.g. not in the middle of the animation.
How can I overcome this feature? I would like to write tests like "after 100ms it is about half way through", may I use the expect without an await for that or is it just not possible?

Currently, Detox synchronises so that it is blocked when animations are in progress. In the future, we plan to have API allowing the user to disable these synchronisations for a more hands on approach to testing.

@LeoNatan Let assume you have a component like this (The component can be some notification on the page, etc. It is actually the example from Animated API but with Animated.sequence, where the animation should be in the loop):
const animatedDelay = (duration) => Animated.timing(
  new Animated.Value(0),
  {
    duration,
    isInteraction: false,
    toValue: 0,
    useNativeDriver: true,
  }
);

class FadeInView extends React.Component {
  state = {
    fadeAnim: new Animated.Value(0),
  }

  startAnimation() {
    Animated.sequence([
      Animated.timing(
        this.state.fadeAnim,
        {
          toValue: 1,
          duration: 2000,
          useNativeDriver: true,
        }
      ),
      Animated.timing(
        this.state.fadeAnim,
        {
          toValue: 0,
          duration: 2000,
          useNativeDriver: true,
        }
      ),
      animatedDelay(5000)
    ]).start(({ finished }) => {
      if (finished) {
        this.startAnimation();
      }
    });
  }

  componentDidMount() {
    this.startAnimation();
  }

  render() {
    let { fadeAnim } = this.state;

    return (
      <Animated.View
        style={{
          ...this.props.style,
          opacity: fadeAnim,
        }}
      >
        {this.props.children}
      </Animated.View>
    );
  }
}

Add this component to demo-react-native project
  <View testID='welcome' style={{flex: 1, paddingTop: 20, justifyContent: 'center', alignItems: 'center'}}>
          <Text style={{fontSize: 25, marginBottom: 30}}>
<FadeInView style={{width: 250, height: 50, backgroundColor: 'powderblue'}}>
          <Text style={{fontSize: 28, textAlign: 'center', margin: 10}}>Fading in</Text>
        </FadeInView>

And tests will never pass

I have the similar question:
I have two tests, with await device.disableSynchronization(), each test can pass when running them individually, but when run them together, the second always hang.
PS. I added await device.enableSynchronization() in the end of the test, or else the second test will fail immediately with cannot find UI element.


Fix build in mingw

One issue that got recently is this:
F:/pupnp/bin/upnp/inc/upnpconfig.h:67: warning: "UPNP_LARGEFILE_SENSITIVE" redefined
   67 | #define UPNP_LARGEFILE_SENSITIVE
      |
In file included from F:/pupnp/upnp/test/test_internal.c:1:
F:/pupnp/bin/autoconfig.h:2: note: this is the location of the previous definition
    2 | #define UPNP_LARGEFILE_SENSITIVE 1
      |

I am not sure how to troubleshoot that.

FYI @Vollstrecker

One issue that got recently is this:
F:/pupnp/bin/upnp/inc/upnpconfig.h:67: warning: "UPNP_LARGEFILE_SENSITIVE" redefined
   67 | #define UPNP_LARGEFILE_SENSITIVE
      |
In file included from F:/pupnp/upnp/test/test_internal.c:1:
F:/pupnp/bin/autoconfig.h:2: note: this is the location of the previous definition
    2 | #define UPNP_LARGEFILE_SENSITIVE 1
      |

I am not sure how to troubleshoot that.

Maybe you have old autotools? This file is generated from configure, and in my system all #defines are generated with 1, they are not empty. I have:
autoconf-2.69-17.31.noarch
automake-1.16.5-1.3.noarch

No he's right, compare Line 67 and Line 80
I just want to get mingw running in my win-vm to see what else happens there unexpected, but the change could be done anyway.

No he's right, compare Line 67 and Line 80

Oh, I see, my bad.

I just want to get mingw running in my win-vm to see what else happens there unexpected, but the change could be done anyway.

So, just to be sure, you mean we can commit it, right?

No, I think this one was my fault.
I guess we can commit, I think if a user of mingw suggests that patch which should only influence mingw, we can trust him. I'm going to fix the redef later today. Maybe someone who knows how to do it can include mingw in our tests.

Maybe someone who knows how to do it can include mingw in our tests.

Thank you all. If you want I can try to add msys2/mingw build environment in GitHub Actions CI.

Sure, that would be great!


dev hot reload server not updating without restart when using tutorial

I'm playing around with next.js. Very cool stuff!
When I run npm run dev, often times the code does not update without restarting the dev server, which is not so great.
For instance, going through this step of the tutorial:
https://learnnextjs.com/basics/create-dynamic-pages/special-prop-url
I wasn't getting the props to the child content component.
Since the source maps don't allow breakpoints inside stateless functional components that immediately return jsx, I modified them to be non fat arrow functions so I could set a breakpoint, ie:

import Layout from '../components/Layout.js'

const Content = function(props) {
	const toReturn = (

{props.title}

This is the blog post content.

	);

	return toReturn;
};

export default function(props) {
	const toReturn = (
		<Layout>
			<Content title={props.url.query.title}/>
		</Layout>
	);

	return toReturn;
};

Ideally, hot reload would pick this up without a page refresh and all would be well.  However, even with a page refresh, the source maps show the old code, and the application appears to be using the old code.
If I restart the dev hot reload server, it fixes it.
I am using next v2.1.0 on osx 10.12.3.

I'm having that same issue 😢

I have OSX 10.12.4 and I can't reproduce this issue.
@mike3run what's the OS you've.

Same OS and version

@mike3run Try using v2.2.0?

I'm using now the latest next version with same results 😢

@mike3run not having this issue anymore. I was trying revert to older versions and changed my package.json's dev from "dev": "next"command to "dev": "node server.js". Hot-reloading is working again.

It's also worth noting that it looks like HMR happens when the files you're working on are inside /pages. Is that right, @arunoda?

I'm also having similar issues here.  Even on server starting, I don't get props into my child components. I see this when when I run the server or reload the page manually:
client.js?05d798a:67 [HMR] connected
client.js?05d798a:199 [HMR] bundle rebuilding
client.js?05d798a:207 [HMR] bundle rebuilt in 123ms

If I change anything in any component (including components outside the pages directory) I see this:
[HMR] Updated modules:
process-update.js?05d798a:102 [HMR]  - ./components/layout.js
process-update.js?05d798a:102 [HMR]  - ./pages?entry
process-update.js?05d798a:107 [HMR] App is up to date.

And props are passed in.
Using 2.3.1, with "dev": "next" as server.

@caffo can you please provide an example repository in a new issue.

#1910 for reference


storybook

Would be great to have https://github.com/storybooks/react-storybook built into this starter. The part I'm not sure how to do is the webpack config as shown here: https://getstorybook.io/docs/react-storybook/configurations/custom-webpack-config.

https://github.com/griddlegriddle/griddle   Uses storybook and webpack.  What are you thinking as the use case in this starter?

Yeah storybook would be pretty cool to have!  I will add it to the roadmap.
@matt-erhart we are definitely looking for help, so if that's something you'd like to work on it would be very much appreciated.

Hey @matt-erhart, I've added storybook and it should be on master later today.  We could definitely use some help writing stories for the reusable components.  If you are still interested in helping, that'd be a great place to start.
Thanks again for your input!


access token not persisted to keychain when using iOS simulator

Using Xcode 8.1 and iOS Simulator - iOS 10.1 w/ Swift 3:
The access token and refresh token are not persisted to the keychain when running the app in the simulator.
I have not encountered this issue running the app on an actual device.
This bug also affects the example project at https://github.com/stormpath/stormpath-ios-example

This appears to be an apple bug related to http://stackoverflow.com/questions/38456471/secitemadd-always-returns-error-34018-in-xcode-8-in-ios-10-simulator
A temporary workaround is to run on the iOS 9.X simulator instead which works fine for me.

Yep! It's been really annoying the past few months, but it should be fixed in Xcode 8.2 =] Let me know if you have any other questions; I'll leave this issue open in case others are having the same issue.

Update: Xcode 8.2 is now out of beta, so hopefully people will upgrade soon and stop experiencing this problem =]