Add type that is always stored in little endian order.

For my work at std.zip I could use a type that always stores it's value in little endian, regardless of the architecture used. For me, it looks like it's better to place such a type in bitmanip.d to make it available for everyone. Of course, it's companion BigEndian should also be implemented, but before doing so, I'd be happy to know your oppinion on this.

I'm wondering why circleci is not able to build although auto-tester does. Does circleci use a different compiler version? Or different settings? I tried to find out, but my knowledge of makefiles is too limited and I'm lost here.

cc @atilaneves

I'm trying to understand what the use case is for caring about the order in memory, as opposed to how it's serialised. In nearly every instance I've seen of code that is specific to endianness, it wasn't needed.
Could you please explain in more detail what you're trying to achieve? Thanks.

I'm trying to understand what the use case is for caring about the order in memory, as opposed to how it's serialised. In nearly every instance I've seen of code that is specific to endianness, it wasn't needed.
Could you please explain in more detail what you're trying to achieve? Thanks.

Of course. I'm working on std/zip.d (zip-files use little endian). This file contains code like
        ...
        directorySize = getUint(i + 12);
        directoryOffset = getUint(i + 16);
        ...

        if (directoryOffset + directorySize > i) ...

I would like to replace this with something, that's not using these magic constants, but a struct, wrapped in a union, namely:
    enum endOfCentralDirLength = 22;

    union endOfCentralDirRecord
    {
        ubyte[endOfCentralDirLength] data;
        struct
        {
            align(1):
            ubyte[4] signature;
            LittleEndian!ushort numberOfDisks;
            LittleEndian!ushort numberOfThisDisk;
            LittleEndian!ushort entriesOfThisDisk;
            LittleEndian!ushort numberOfEntries;
            LittleEndian!uint directorySize;
            LittleEndian!uint directoryOffset;
            LittleEndian!ushort commentLength;
        }
    }

    auto r = endOfCentralDirRecord();
    r.data = data[start .. start + endOfCentralDirLength];

    if (directoryOffset + directorySize > i) ...

I can't see, how I'm falling for the byte-order-falacy. But maybe I'm overlooking something. And I'm open for better ideas. :-)

@crocopaw When you say "zip-files use little endian", I assume you mean on disk? I still don't see how this has to do with a little endian type and not with serialisation.

@crocopaw When you say "zip-files use little endian", I assume you mean on disk? I still don't see how this has to do with a little endian type and not with serialisation.

Yes, on disk. At the moment, the constructor of the class ZipArchive takes an array with the whole file. (In the longrun I want to replace this by a (random access) range of ubytes, but that's probably an other topic.) The question is, how to come from the ubytes to, say ints. The formular given in the article you linked to is nice, but this needs to be applied to every single variable. I hoped for something, where I can just define a struct, that matches the records used in a zip file, so I don't have to apply the formula to every variable explicitly. At the moment std.zip uses littleEndianToNative, which uses a swap algorithm, not the formula given in the article.

The question is, how to come from the ubytes to, say ints

Serialisation.

but this needs to be applied to every single variable

Which is tedious in a language without static reflection, but not D.

I hoped for something, where I can just define a struct, that matches the records used in a zip file, so I don't have to apply the formula to every variable explicitly

The best way to do that in general would be to use a serialisation library that handles little-endian as a compile-time option (or UDAs on variables that are supposed to be serialised as little-endian).

Thanks for your ideas. I think I got the main picture now. Still, it feels a little bit beyond my current abilities. (I did use serialisation in Java years ago, but never used it in D though.) I will take some time, to think about how this ideas can be implemented in case of std.zip.


Bazelify github_helper and update libs

Adds github_helper as part of slave image
Updates pipeline libraries to use github_helper directly
Updates JenkinsFileTest to build bazel targets

Jenkins job istio-testing/pr-master passed

Jenkins job istio-testing/pr-master passed

This is a test.

Jenkins job istio-testing/pr-master passed

This is a test.

Jenkins job istio-testing/pr-master passed


Handle errors in additionalItemBackupper

Fixes #509.
Currently the corresponding test fails, which I think is because of #511.

LGTM. @skriss ptal


Define the API for DARC experiments

While we have Kirby and Frye et al paradigms available, the focus of the toolbox was to use the Bayesian Adaptive Designs on the DARC paradigm.
At the moment, the design is decided by a small snippet of Python code embedded within PsychoPy. This creates a design object which provides designs for each trial, and accepts the (design, response) pairs for each trial.
What we want, is a concise, easy to understand way to allow people to decide the following:

Delayed choice tasks

Front end delay: yes or no. If there is a front end delay, then we'll need the experimenter to specify what DA values they want. So I don't think a boolean frontenddelay flag would be useful. Instead we just leave this up to the experimenter to define either DA=[0] or something likeDA=[0, 7, 14]
Paradigm: fixed reward ratio, fixed delay, fixed delayed reward... Well. Fixed delayed is just a simple case of DB=[7] for example. Fixed delayed reward is a simple case of RB=[100]. Fixed reward ratio is a bit different however. For this we maybe provide an optional DA_DB_ratio parameter.

Risky choice tasks
Delayed and Risky choice tasks

Decisions

For Delayed Choice tasks: just a standard API that we've been using. Ie. we have default values, but we can override inputs for DA, RA, etc...
Same for Risky Choice tasks and Delayed and Risky Choice tasks.

However... We do want it to be very easy for people to just ask for a delayed or risky or delayed and risky choice tasks. So we could either do 3 corresponding subclasses, or something snazzy with input arguments that can be either a set of design parameters of a general class of experiment.
No... don't have loads of different classes for just different input options. Instead do one of the following:

another function which acts as a middle-man which feeds out objects into PsychoPy
have multiple alternative constructors. This is perhaps the best option :)

What we have now is reasonable. In PsychoPy we have this code snippet which allows people to specify what they want by setting what_I_want . This code could be hidden away in a function, but my hunch is that we should keep it here - this is more transparent and it's very clear to the experimenter how to change parameters to suit their needs without digging around in code. While it's not hard, I must try to remember to keep the barriers to entry as low as possible.
what_I_want = 'delayed_choice_task'

if what_I_want is 'delayed_choice_task':

    # create an appropriate model object
    from darc.delayed import models
    model = models.Hyperbolic(n_particles=5_000)

    # create an appropriate design object
    design_thing = DARC_Designs(max_trials=12)

elif what_I_want is 'risky_choice_task':

    # create an appropriate model object
    from darc.risky import models
    model = models.Hyperbolic(n_particles=5_000)

    # create an appropriate design object
    design_thing = DARC_Designs(max_trials=12,
        DA=[0], DB=[0], PB=[0.1, 0.2, 0.25, 0.5, 0.75, 0.8, 0.9, 0.99])

elif what_I_want is 'delayed_and_risky_choice_task':

    # create an appropriate model object
    from darc.delayed_and_risky import models
    model = models.MultiplicativeHyperbolic(n_particles=5_000)

    # create an appropriate design object
    design_thing = DARC_Designs(max_trials=12,
        PB=[0.1, 0.2, 0.25, 0.5, 0.75, 0.8, 0.9, 0.99])

else:
    print('I don''t know what you want of me!')
    raise ValueError('value provided for `what_I_want` is not recognised')


Hide a confusing "getresponse() got an unexpected keyword argument 'b…

…uffering'" error
Remove the TypeError from the exception chain in Python 3; otherwise it
looks like a programming error was the cause. A quick google search of
the above phrase shows I was not the only one.
Here is how a connection timeout looks like before this patch:
urllib3.PoolManager().request('GET', 'google.com:81', retries=False, timeout=1)

Traceback (most recent call last):
File "/home/ran/src/urllib3/urllib3/connectionpool.py", line 385, in _make_request
    httplib_response = conn.getresponse(buffering=True)
TypeError: getresponse() got an unexpected keyword argument 'buffering'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/ran/src/urllib3/urllib3/connectionpool.py", line 387, in _make_request
    httplib_response = conn.getresponse()
File "/usr/lib/python3.5/http/client.py", line 1174, in getresponse
    response.begin()
File "/usr/lib/python3.5/http/client.py", line 282, in begin
    version, status, reason = self._read_status()
File "/usr/lib/python3.5/http/client.py", line 243, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/lib/python3.5/socket.py", line 575, in readinto
    return self._sock.recv_into(b)
socket.timeout: timed out

[snip]

After, the first part is gone, and only the real cause is shown.
In Python2, exceptions are not chained automatically so there is no
difference.

The travis log is a bit hard to interpret, I assume it failed because the coverage for py27 and pypy falls from 100%? That's only natural, this part of the code is never executed in Python 2.7. Maybe someone can suggest how to handle that?

You can add this to the end of the previous line to exclude coverage on Python 2:
# Python 3:

@haikuginger huh, I hadn't realized these comments have a special meaning. I will try it, thanks.

@bluetech: Yeah! Check out .coveragerc for more "special comments".

After two spurious unrelated failures, it now passed with the change @haikuginger suggested.

I'm torn on this. On the one hand, this might help @Lukasa and I with the issue that never dies in requests. On the other, we're making urllib3 uglier and slightly more complex as part of it. Also, people writing code on Python 3 should really not be terribly surprised when seeing tracebacks like this. They're fairly common.

I'm inclined to want to take this: I think it provides a useful benefit at a fairly minor cost.

@sigmavirus24 I'll just note that in my system (using requests on python3) which accesses external services, timeout errors naturally happen a lot, and whenever someone sees a traceback in the logs like the one in the commit message, they immediately think it's a bug in urllib3, and waste some time investigating. So I finally decided to just fix it at the root.

Agreed with what @lukasa said, it's a useful benefit and fairly minor cost. Let's do it!


Neon on Orange Pi

Implement Orange Pi support in neon-debos

Initial image should boot and work with a pre-determined mic/speaker combination
Functionality should match Pi image

#79


can't nest ol in p: change p to div for citation lists; add header to section

changes to make the html pass w3 validation
only inline can be nested in p so changed the p to div for citation
also added a header to the section to satisfy spec
https://stackoverflow.com/questions/5681481/should-ol-ul-be-inside-p-or-outside

Looks good to me. Thanks!


DNS fallback resolution not working correctly

Following the recent NSOne DNS attack, we had a few customers reaching to use because their search wasn't working. For most of them it was because they were using an old API client version without the DNS fallback mechanism.
But for a few of them, that were using the very latest (3.14) version, they still had issues where some requests were targetting algolia.net and others algolianet.com. One user confirmed that reverting to 3.13 fixed the issue, the other monkey patched the code to force the algolianet.com endpoint.
I haven't been able to reproduce it on my side (DNS correctly working for me), but we did change this code in between those two releases, so we might have introduced a bug. I will dive more deeply into it as soon as I can but I'm taking a 11h flight tomorrow morning so not sure I'll be able to really focus on it.
All help is thus welcome into finding the bug and fix it as fast as we can.

What changed in 3.14 was that we reintroduced hist shuffling for algolianet.com but I doubt this is the issue here.
"Linked" commits:

https://github.com/algolia/algoliasearch-client-js/commit/4ec5e6a1f8cd92924ce025d60646b3a47b7d8dca
https://github.com/algolia/algoliasearch-client-js/commit/78e3e4cca904929018f3a1c55875fe2a2fa95b08

First commit I tested it manually with success

Was nsone refusing connections our timeouting while ddos? First case would trigger network errors, second one would trigger timeouts

Not refusing, it was timeouting. I'm preparing a domain that it will be possible to test on.

The domain algolia.biz is set to timeout for whatever you ask it - latency-dsn.algolia.biz - and simulated DNS provider under attack


insim, insim_core: supporting multiple protocol (packet) versions

We already support multiple “encoding modes” (we called them compressed and uncompressed formats). Both of these modes are required.
However it would be great if we could support different packet definitions with limited effort. Often between versions of Insim the majority of packets are the same.
The least effort version seems to be:

Each protocol version gets its own module for its packet definitions
For each new version import and re-exporting all packets, but shadow those that have changed.

“Unsolved” issues that need some thought:

Can we use feature flags to gate versions using this method? Probably not.
The Packet enum is used everywhere. That’s a problem in this world.

Use generics to indicate the packet version? Probably easiest and least effort at this point.
There’s a weird relationship between compressed and uncompressed packet length encoding and Insim versions and endpoints (I.e. LFSW Relay supports v9 but only uncompressed) Can we make it ergonomic? Probably not.

Is there a significant effect on compile times?
Is there an alternative?

Proof of concept/idea in it's minimal functional format:
https://gist.github.com/theangryangel/a905f7a49732f52c916180d0922a6b6c
Letting it sit for a few days.

So “unsolved” issues:

New connection options per protocol version - the way ConnectionOptions get turned into an ISI is a “problem”
Identifying keepalive/ping packets would need to switch to something on the trait
Identifying version packets would need to switch to something on the trait
???

Thinking about it a bit more this evening -

Instead of making the Packet enum a trait, make Codec a trait, with default implementation for decoding, but have type Item
Each version of the protocol implements it’s own Packet, and also own Codec
Move the keepalive, version checking, and ISI options to the Codec somehow

This would mean that ConnectionOptions would probably need to roll into Connection
Add some kind of builder to Connection I guess

Connection becomes Connection<C: Codec> - i.e. Connection::<protocol::v9>::new() (or something like that).

I have walked this back, but left the door open to be re-added later (basically removed the traits, meaning I know that they work), and left the unsquashed commits available.
The TL;DR version is that I will just start tagging specific versions and only support specific versions of insim. I will try and match the major version number with insim. I guess.


chore:  Add support for Visual Studio 2019

Updated CMakeSettings.json to support Visual Studio 2019 compilers and schema.

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Refactor
[ ] Performance
[ ] Tests
[x] Build
[ ] Documentation
[ ] Code style update
[ ] Continuous Integration
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Does this PR release a new version?

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the develop branch, not the master branch
[x] All tests are passing
[ ] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Thanks for submitting this pull request! A maintainer will review this in the next few days and explicitly select labels so you know what's going on.
If no reviewer appears after a week, a reminder will be sent out.

Codecov Report

Merging #135 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #135   +/-   ##
========================================
  Coverage    91.82%   91.82%
========================================
  Files           33       33
  Lines          856      856
========================================
  Hits           786      786
  Misses          70       70

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 93022a8...9f3421b. Read the comment docs.

As is this moves us forward to 2019 (upgrade).
If we want to support development on older compilers then we can do that.
We could also just support the older stuff in CI and keep the configuration small for just develop in 2019.
Sent from my iPhone

On Aug 26, 2019, at 18:36, Simon<EMAIL_ADDRESS>wrote:
@ciband
Just to double check because I'm not familiar this,
will this still support 2017, or does this basically change the requirement to 2019?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@ciband
CI can be 2019.
I’d like to support 2017 & 2019 users.
I just wasn’t sure if having the 2019 config means 2017 users would have to do their own configuration or not.

@sleepdefic1t  I think we need to be consistent.  If we want developers to be able to use the 2017 compiler or the 2019 compiler, then I think CI should reflect that (meaning once we actually get Windows CI up and running via Appveyor or CircleCI).
For this PR and its scope, I'm hearing to support both so I will Add the VS2017 configs back in.

Okay, sounds good.
I know nothing about Windows Dev, I just know a lot of the students we saw at Hackathons didn’t usually have the latest releases. Lots of 2015 configs in repos too, so I don’t want to force people into 2019 if we can just offer it as an option.
I appreciate your guidance on the Windows stuff.
Thanks again, @ciband

Appveyor failure due to plan time execution limits.  Debug passed, release was aborted.
This works on VS2019 with the VS2017 changes.  It tries to invoke the VS2017 compiler under VS2019 for the appropriate config.
I still need to test on a pure VS2017 machine to see how it handles the VS2019 configs but I don't foresee any issues.
My laptop HD is small so I had to uninstall VS2017.

@sleepdefic1t  VS2017 targets work under VS2017 IDE.  The VS2019 targets to not work, which is expected.  They give reasonable diagnostics as to why they do not work.
I think this PR is ready for review.

A contributor has approved this PR. A maintainer will merge this PR shortly. If it shouldn't be merged yet, please leave a comment saying so and we'll wait.
Thank you for your contribution!

A contributor has approved this PR. A maintainer will merge this PR shortly. If it shouldn't be merged yet, please leave a comment saying so and we'll wait.
Thank you for your contribution!

Your pull request has been merged but was not assigned a bounty tier. A maintainer will assign a bounty tier to this pull request in the next few days.

Your pull request has been merged and marked as tier 4. It will earn you $20 USD.


Decide on property reference type in triple model

Kinda related to https://github.com/acdh-oeaw/apis-core-rdf/issues/3
Open points:

Experiment with ways of using ContentType for Property classes themselves, rather than instances
If we stick with property instances, their definition needs to be integrated into django's migrate command

Description
Right now, properties are instantiated from one Property class, because on the django-side this is more intuitive and consistent with other usages, and also because it's easier. However it brings issues with migrations and modelling semantics.
E.g. here properties are instantiated in the tibschol project: https://github.com/acdh-oeaw/apis-ontologies/blob/e99f66d5a3290e01effa067736448316e92754c9/tibschol/models.py#L57
where the relation Instance-Instance of->Work is created like so:
    instanceOf = Property.objects.get_or_create(
        property_class_uri="http://id.loc.gov/ontologies/bibframe/instanceOf",
    )[0]
    instanceOf.name = "Instance of"
    instanceOf.name_reverse = "Instance of Work"
    instanceOf.subj_class.clear()
    instanceOf.obj_class.clear()
    instanceOf.subj_class.add(ContentType.objects.get(model=Instance.__name__))
    instanceOf.obj_class.add(ContentType.objects.get(model=Work.__name__))
    instanceOf.save()
    list_valid_properties.append(instanceOf)

This way, we can search for triples of one work and instances of it like so:
Triple.objects.filter(
prop=Property.objects.get(uri="http://id.loc.gov/ontologies/bibframe/instanceOf"),
obj=Work.objects.get(id=1)
)

Which is quite intuitive and usual within the django context.
However, this has two downsides:

Major downside: Since properties should reside in the ontology defintion, and since they are 'objects' of django models and not the 'django models' themselves, they are not registered under django's Migration logic. This means that changes in properties must be curated manually. That's why for now and in the tibschol project, I decided to identify properties with instanceOf = Property.objects.get_or_create(property_class_uri=URI) and then modify all of its attributes. This way the uri is the identifying attribute while others can change. Additionally all other properties not defined within this authoritative module are dropped when the surrounding function construct_properties is called. But this function call is currently done manually, and should be integrated ideally into django's migrate command - if possible.

Minor downside: is that in the majority of RDF ontologies, we don't use instances of properties, but the classes themselves. My apis-rdf implementation breaks a bit with this pattern implicitely. Though this could be acceptable.

Change it to ContentType
In django, the only way to refere to classes themselves in its ORM context, is to use their ContentType. I need to test this, however I am sceptical that the queries would look as smoothly as they do with the pattern of instantiang properties. E.g. it could look like so:
Triple.objects.filter(
prop=ContentType.objects.get(model_class_name="InstanceOf"), # or similiar
obj=Work.objects.get(id=1)
)

I am unsure how to encode needed attributes into ContentType such as name_reverse, and subj_class and obj_class. Further work is needed here.
Conflict between three domains of meta and object:
In general, this is very tricky, because we have three meta<->object domains:

Django ORM (ContentType <-> model class)
Python (class <-> object)
Ontology (semantic human class <-> semantic human instance)

We will stick with properties being instances as this so much more pragmatic throughout the codebase. There are some downsides though which need compensational efffort as documented here: https://github.com/acdh-oeaw/apis-core-rdf/issues/59

But this function call is currently done manually, and should be integrated ideally into django's migrate command - if possible.

There's a new variable CREATE_RELATIONSHIPS which is checked for in start.sh to work around this, but it's not documented anywhere yet. See acdh-oeaw/apis-rdf-devops#38.

thanks for this context.


[AutoRelease] t2-eventgrid-2022-08-18-88282(Do not merge)

https://github.com/Azure/sdk-release-request/issues/3095
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=993
BuildTargetingString
azure-mgmt-eventgrid
Skip.CreateApiReview
true

issue link:https://github.com/Azure/sdk-release-request/issues/3095


create_samples | generalize such that arbitrary input files can be used

Generalize sample generation scripts to allow for using codes other than FHI-aims

:shipit: and remaining problems if any


Added Dafont

Dafont has a huge collection of fonts.

Although Dafont has a bountiful amount of fonts on it I wouldn't say that the majority of them are high enough quality to constitute the site as awesome I'm afraid.
Thanks for contributing regardless but I'm going to choose to omit this one.


Passing tests depend on whitespace

Challenge http://www.freecodecamp.com/challenges/waypoint-learn-how-script-tags-and-document-ready-work has an issue. Please describe how to reproduce it, and include links to screenshots if possible.
The working code (the enter inside the anonymous function is optional)
<script>
  $(document).ready(function(){

  });
</script>

However there are several versions that do not satisfy the two last tests.
Fails test 3 (the space between [...]ready( and function)
<script>
  $(document).ready( function(){

  });
</script>

Fails test 4 (closing with });)
<script>
  $(document).ready(function(){ });
</script>

Given that javascript is a language where whitespace is (mostly) insignificant.

This is just down to the challenge creator using their personal style. I would argue as someone who has been using js for a while and not the challenge creator that the example has given the general practice answer as accounting for every possible permutation would create slow inefficient and un-readable tests

I understand that, but I can see a lot of questions coming on gitter regarding this.
http://www.freecodecamp.com/challenges/waypoint-delete-your-jquery-functions
has the same tests.
A solution might be to remove whitespace before checking.
Another one could be adding optional whitespaces in the test-cases.
$(document).ready(\s*function(){
would fix the first example I gave.
\$\(document\).ready\(\s*function\(\)\{\s*\}\)\g;
would catch the cases I introduced. Example on regexr
It would however break if anything is added inside the curly braces.
It's a minor change in my opinion. Of course there are still some cases where this regex fails.
For example if one use function () or function( ).
So I get your point of every possible permutation.
Perhaps adding a warning that they should adhere to the whitespace from the code in the text is a better solution.

That would then create difficulty with tests the have strings with spaces. The easy fix is for people to follow the example and docs completely as we have tried to replecate them as close as possible

Just giving a +1 to this as I just had to look it up because I was failing the 4th test for this very reason. Also noticed a typo in the 3rd test. It is missing a closing parentheses after "document".

The best option is to add comments
<script>
  $(document).ready(function(){
// do not modify code above

// do not modify code below.
  });
</script>

Regex is the reason a lot of test are so hard to get right, due to having to cover all the edge cases. Throwing more regex at the problem will only add more problems as @benmcmahon100 stated above.

I agree with labiej.

Adding the script and the document ready defeats the purpose of the lesson though, so we might have to think of another way about this (like normalizing white space etc)


vscode-icons super slow on startup!

[x] I'm sure this issue is not a duplicate.

[ ] I'm submitting an icon request:

Type: ``
Icon Name: ``
Sample original Icon:
Extensions: ``
Filenames: ``
Language ids: ``

Language Extensions:

More info:
The extension in itself is great, but it's activation time is sooooooooo looooooooooooong!
Opening the "Developer: Startup Performance" log, it's "Finish Activate" time is almost 30 seconds, 29851 ms to be more precise! It's Activation Event is set at (*), which is normally bad for performance, couldn't it be activated otherwise, like "onStartupFinished", or even better only when opening the Project Explorer pannel if it's even possible?

I love this extension but i had to uninstall it because of this.

Hi @DillPickle80, thank you for submitting this. I'm wondering if the fact that the extension is taking so long is because some particularity of your environment.
I'm not getting those numbers at all:

Yes in fact it is. For some reason which i'm having a hard time figuring out my remote-ssh vscode setup is perfectly fast on my home network as well as my mobile network, but not on my job network. We tried tweaking firewall settings for my remote machine but nothing has solved the problem so far. After investigation i found that while most extensions runs perfectly smooth, a handful of them are seriously impacted including vscode-icons. I also noticed that some of them seems ok in isolation but starts slowing vscode significantly when combined with other extensions, notably Python.
Sorry i forgot to specify this, it clearly is very important information. I will edit the review i left on the Extension Marketplace.

@DillPickle80 thanks for your answer. I'm going to close this unless you feel that we should keep this open.

@DillPickle80 Since I'm working with Python too on VSCode, I have noticed that the linting service for Python (I'm using py-lint) is slowing my VSCode to the point where even typing is halted.
Try disabling linting.


Make SemVersion public

Follow up of #97
This is a predecessor PR for consolidating SemVersion with ElasticVersion (https://github.com/elastic/apm-agent-dotnet/blob/main/src/Elastic.Apm/ServerInfo/ElasticVersion.cs#L243).
cc @Mpdreamz @stevejgordon I'm open to naming discussions (SemVersion vs ElasticVersion), but I think SemVersion better describes what this class does.

Mhh not sure why the build times out..

@Mpdreamz I will keep SemVersion for the new class as it models a pure semantic version without any Elasticsearch specific changes.
The Elastic.Transport/Requests/MetaData/VersionInfo.cs is still Elasticsearch specific. Should we change the name to ElasticVersionInfo?
The decision about using the full semantic version in the request headers for the Serverless clients got reverted. Currently, the semver metadata suffix encodes the API version of the serverless server which means that it's redundant information. The consensus was to stick with the p suffix for this specific usecase. However, it's still nice that we expose the metadata part in VersionInfo for this: https://github.com/elastic/elasticsearch-net/pull/7992/files#diff-b8fcb1d512c1ce688cec6e911dd56161eeaa33977a698a69b6d82cbab7f6e676R82


htmlWebpackPluginTemplateCustomizer :: Always got an error "Module not found: Error: Can't resolve '/examples/webpack-ejs-starter/undefined"

Describe the bug
I can't get the new htmlWebpackPluginTemplateCustomizer to work. Always the same message "module not found"
To Reproduce
I've created a repository to test
https://github.com/florent-cdl/ejs-webpack-sample
Expected behavior
I wanyt to be able to use the new htmlWebpackPluginTemplateCustomizer to pass individual variables to the ejs template
Version
webpack5

https://github.com/florent-cdl/ejs-webpack-sample/pull/1
You can get it working with PR here.
In the case of your sample, the option name passed to htmlWebpackPluginTemplateCustomizer  was wrong,
and the value passed to data was missing.


create empty rs dataframe from another one?

is there a way to do this: https://stackoverflow.com/questions/18176933/create-an-empty-data-frame-with-index-from-another-data-frame for rs dataframes?

There are a few ways that this can be accomplished -- let's assume we have a rs.DataSet that looks like the following:
> ds
            FMODEL   PHIFMODEL
H  K  L
45 12 14  9.349418  -48.853035
37 10 13 17.603436 -126.121925
39 2  33 24.622107   -68.23137
14 1  37 214.67409  -46.876408
35 17 23  34.46986   86.572845

A simple solution would be this:
> ds2 = ds[[]].copy()
> ds2
Empty DataSet
Columns: []
Index: [(45, 12, 14), (37, 10, 13), (39, 2, 33), (14, 1, 37), (35, 17, 23)]

It is also possible to directly initialize one rs.DataSet with another:
> ds2 = rs.DataSet(ds[[]])
> ds2
Empty DataSet
Columns: []
Index: [(45, 12, 14), (37, 10, 13), (39, 2, 33), (14, 1, 37), (35, 17, 23)]

rs.DataSet objects are subclasses of pd.DataFrame, so typically any pandas solution should work in reciprocalspaceship. In my mind, this is a significant advantage to the design choice in rs, because it means that you can typically just follow the advice of stackoverflow results regarding pandas.
However, I'd like to provide one cautionary example -- if you were to do it using the currently accepted answer, you will lose the attributes associated with rs.DataSet (i.e. ds.cell and ds.spacegroup):
> ds2 = rs.DataSet(index=ds.index)
> ds2
Empty DataSet
Columns: []
Index: [(45, 12, 14), (37, 10, 13), (39, 2, 33), (14, 1, 37), (35, 17, 23)]
> ds.spacegroup
<gemmi.SpaceGroup("P 31 2 1")>
> ds2.spacegroup

This is because the rs.DataSet is only initialized with an index, which doesn't carry with it all the "metadata" of the rs.DataSet object.

There are a few ways that this can be accomplished -- let's assume we have a rs.DataSet that looks like the following:
> ds
            FMODEL   PHIFMODEL
H  K  L
45 12 14  9.349418  -48.853035
37 10 13 17.603436 -126.121925
39 2  33 24.622107   -68.23137
14 1  37 214.67409  -46.876408
35 17 23  34.46986   86.572845

A simple solution would be this:
> ds2 = ds[[]].copy()
> ds2
Empty DataSet
Columns: []
Index: [(45, 12, 14), (37, 10, 13), (39, 2, 33), (14, 1, 37), (35, 17, 23)]

It is also possible to directly initialize one rs.DataSet with another:
> ds2 = rs.DataSet(ds[[]])
> ds2
Empty DataSet
Columns: []
Index: [(45, 12, 14), (37, 10, 13), (39, 2, 33), (14, 1, 37), (35, 17, 23)]

rs.DataSet objects are subclasses of pd.DataFrame, so typically any pandas solution should work in reciprocalspaceship. In my mind, this is a significant advantage to the design choice in rs, because it means that you can typically just follow the advice of stackoverflow results regarding pandas.
However, I'd like to provide one cautionary example -- if you were to do it using the currently accepted answer, you will lose the attributes associated with rs.DataSet (i.e. ds.cell and ds.spacegroup):
> ds2 = rs.DataSet(index=ds.index)
> ds2
Empty DataSet
Columns: []
Index: [(45, 12, 14), (37, 10, 13), (39, 2, 33), (14, 1, 37), (35, 17, 23)]
> ds.spacegroup
<gemmi.SpaceGroup("P 31 2 1")>
> ds2.spacegroup

This is because the rs.DataSet is only initialized with an index, which doesn't carry with it all the "metadata" of the rs.DataSet object.


Spike: Run GETH and create local testnet to run against. (deploying smart contracts, reading balances, etc.)

todo: work breakdown for front end functionality.


Suggestion: Rename {admiral} packaged ADaM Dataset

You've package ADaM data within {admiral}, which is great - but I have some concerns about keeping standard ADaM dataset names for these dataset within the package. For example - this is the issue that I've just run into:

Reviewing code from someone else
Dataset named advs_temp is created and read from external source
Subsequent code references advs, not advs_temp
All code runs without error

So, this would be a potentially common scenario within a clinical workflow. A user might try to reference advs directly, or any other adam dataset named within {admiral}, and the data will be found. But for novice users - or even experienced users like myself that weren't considering the ADaM data in admiral - this can cause some confusion. With the stack of the namespaces, the data are found and there's no inherent message that the data being referenced are pulled from {admiral}. The object is just found.
So my suggestion is to alter the names of the data so that they're unique and obviously belong within {admiral}. While packaging data is common within other pages (i.e. ggplot and the mpg dataset), within our industry specific workflows, it's pretty likely that you'll be working with datasets by these names exactly.

makes sense to me! @thomas-neitmann & @bms63 do you agree? maybe an "admiral_" prefix would make these more obviously dummy data? would the same be needed for {admiraltest} SDTMs?

I'm in favor of renaming the datasets - this happened to me as well while doing ADaM programming at GSK lol.  I guess we should get this into the next release?

I can pick it up, but I am off on Monday, so Tuesday would be earliest I would look at this. Just to clarify, the following changes are required:

Rename all ADaM data sets in admiral/data area to have prefix of admiral_.
for each template script that creates an ADaM dataset, update final data set outputted to have prefix of admiral_, and make sure any ADaM data sets read in, have prefix of admiral_.
Check if any other vignettes/examples read in {admiral} ADaM datasets, and rename accordingly.

We DO NOT need to rename intermediate data sets created within templates?
We DO NOT need to change names of SDTM datasets in {admiraltest}?

Those steps make sense to me and timeline seems good to me!
Maybe we should rename data in the admiraltest package as well.  @bundfussr @thomas-neitmann @rossfarrugia what do you all think??
...
admiral_dm
admiral_vs
...

@bms63 i guess the same argument holds for admiraltest too and would be safer to just rename in both. can't harm and if it makes things clearer for users and less potential risk of accidentally inputting test data instead of the required real data then makes sense to me.

I agree that we should rename the datasets in both packages. admiral_ sounds like a reasonable prefix for both packages to me.

I created a issue for this in {admiraltest}.

I have created an issue to update {admiraltest} references and will work on this tomorrow.
I was wondering if I should also update the names of data within the {admiral} package within that issue also or whether it would be best to do this separately?

@sophie-gem thanks for picking this up! as it's all closely connected i'd be happy for you to self-assign to this issue as well and just do 1 admiral PR for both these. that probably contravenes our best practice but in this case it makes sense to me.

Right ok, I'll do it all in one then - thanks @rossfarrugia!
(I'll make the changes as part of the 1108_update_references_to_admiraltest_data branch and then link both these issues to the subsequent PR).

Can I just confirm, for the example_scripts, is the following ok
data("admiral_ae")
data("admiral_suppae")

ae <- convert_blanks_to_na(admiral_ae)
suppae <- convert_blanks_to_na(admiral_suppae)

Or would you prefer me to also change the variable names throughout the program?

@sophie-gem , I would not change the variable names throughout the program because then the users would need to change them back when they copy the code.

Makes sense, I shall just do as above then - many thanks @bundfussr.

I'm not quite sure about that. Wasn't part of the motivation for renaming the datasets to not have the same names as "real" datasets. @bms63 Can you comment?

What was the original problem?  #1088
Is the template causing the issue or how we have these datasets in the package??

I think the problem was that if a user used the dataset name adsl but did not have such dataset in the study, the ADSL dataset from admiral was used silently. As we have renamed the datasets in admiral, this should no longer happen.

I think the problem was that if a user used the dataset name adsl but did not have such dataset in the study, the ADSL dataset from admiral was used silently. As we have renamed the datasets in admiral, this should no longer happen.

Ah, I see so that was the original problem. In that case I think it's fine to leave the variable names as is in the template programs.

I'll go with that then - thanks all!


release knmi-weather

maybe remove the MacOS files from GitHub :-)
are the used Roles really defiend? weather.rain.radar? and the others ...?

Any update on this?

Any update on this?

jup, planned some spare time for today will update the source :)


Mighty air v2.3.1

Hi, I wanted to upload my custom IR, but the site told me that the firmware is not supported. Apparently, the program has not been updated for a long time and support for the new mighty air firmware version 2.3.1 has not been added to it.

I never saw that version was released. It's updated now.


Docs: pagination component issue on documentation page

[x] I have searched the Issues to see if this bug has already been reported
[x] I have tested the latest version

Steps to reproduce

Go to this page.
Click on the 'Next' button
Notice how the page ranges stay the same

Current behavior
https://github.com/themesberg/flowbite-react/assets/136707592/d00c55d4-a5ac-48ba-8efc-15756ae1a2d2
Expected behavior
It should go to the next page range (2 to 6)
Context
Video is recorded using Microsoft Edge, but assuming it wont matter

Hey. Can I work on this issue?

@rajatpandey441 don't need to ask, just go ahead and create the PR. :)

https://github.com/themesberg/flowbite-react/assets/20161529/06dcc018-52df-4e45-823d-3dce27f2411d
Please note that functionality is working correctly


ns-process-data realitycapture fails due to images with different dimensions

When using ns-process-data realitycapture, after solving #1648, still seeing this failure
RuntimeError: stack expects each tensor to be equal size, but got [718, 1086, 3] at entry 0 and [1086, 722, 3] at entry 1
~which I suspect may have something to do with image rotation metadata~
due to some images having different dimensions.

Note that even when realitycapture processing is corrected, currently nerfacto doesn't work properly when images are different dimensions, even though it can parse that information just fine.  See PR #1651 for a fix there.


react-native-xcode.sh doesn't filter out link local addresses correctly

Description
At https://github.com/facebook/react-native/blob/63e893d23d84c9bf65bad64fc359b9686eb19b4d/packages/react-native/scripts/react-native-xcode.sh#L17-L22 the script goes through a list of interfaces looking for an IP, using ipconfig getifaddr.
At https://github.com/facebook/react-native/blob/63e893d23d84c9bf65bad64fc359b9686eb19b4d/packages/react-native/scripts/react-native-xcode.sh#L23-L25 if the previous search hasn't found anything (IP is empty) it uses a looser search, grepping for inet and discarding link local addresses (127.x and 169.254.x).
The scenario I have is where my en0 has a link local address (<IP_ADDRESS>) and so as the first search doesn't filter out these addresses, this is what is written to ip.txt at https://github.com/facebook/react-native/blob/63e893d23d84c9bf65bad64fc359b9686eb19b4d/packages/react-native/scripts/react-native-xcode.sh#L27 and so my iOS device cannot connect to the metro instance.
Steps to reproduce

React Native Version
0.74.1
Affected Platforms
Runtime - iOS
Output of npx react-native info
-

Stacktrace or Logs
-

Reproducer

Screenshots and Videos
No response

cc @cipolleschi @robhogan et al. if we need to fix this in a different way for iOS

@msbit you have issues with your physical device only, right? It works properly on the simulator, correct?

@cipolleschi I haven't checked explicitly, but I'm guessing the check of platform at: https://github.com/facebook/react-native/blob/63e893d23d84c9bf65bad64fc359b9686eb19b4d/packages/react-native/scripts/react-native-xcode.sh#L16 would exclude this behaviour under simulators.

yes, it is possible. @robhogan could you take this? I'm going to be on PTO next week. Otherwise I can look into it when I'm back.


'SpatialInteractionController' does not contain a definition for 'TryGetRenderableModelAsync'

When Building for HoloLens and targeting the 10.0.15063 SDK, the building process in Unity terminates because of the following error:
Assets\HoloToolkit\Input\Scripts\Utilities\Extensions\InteractionSourceExtensions.cs(101,39): error CS1929: 'SpatialInteractionController' does not contain a definition for 'TryGetRenderableModelAsync' and the best extension method overload 'InteractionSourceExtensions.TryGetRenderableModelAsync(InteractionSource)' requires a receiver of type 'InteractionSource'
This does not happen when targeting 10.0.16299 SDK, however in the MRTK Latest Release notes it says to specifically target 10.0.15063 for HoloLens Development.

My mistake, didn't check the closed issues prior to writing this.
See #1184 and #1186


skeleton tracking

I have the skeleton3d example working correctly in Windows 8. However, in Windows 10 instead of seeing the skeleton I just see the whole display window changing colour. Is there some issue with 3D skeleton tracking in Windows 10?

I seem to remember the window being a solid color as well, but I had no problems with the library on windows 10. Here is kinectpv2 skeleton3d working with toxiclibs.
https://github.com/slowizzm/Processing-Gallery/tree/master/kinectParticles_spine
Sent from my iPhone
On Aug 21, 2017, at 9:57 PM, SimonBiggsUK <notifications<EMAIL_ADDRESS>wrote:
I have the skeleton3d example working correctly in Windows 8. However, in Windows 10 instead of seeing the skeleton I just see the whole display window changing colour. Is there some issue with 3D skeleton tracking in Windows 10?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/ThomasLengeling/KinectPV2/issues/65, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AOR0m3yu1qkepmEMTKUovRIdIQwVD8ekks5sakOXgaJpZM4O-DbO.

Thanks
I've downloaded your example along with toxic and mesh libraries and installed everything but the app will not run as it can't find the class AttractionBehavior - which I think is part of the toxic library. Am I missing something?

Yes, the AttractionBehavior class is part of toxi.physics2d.behaviors. Not sure why it would not be working properly. I do remember initially having issues with processing pointing to the library. You may just need to restart a few times until process locates it.
Sent from my iPhone
On Aug 22, 2017, at 8:14 PM, SimonBiggsUK <notifications<EMAIL_ADDRESS>wrote:
Thanks
I've downloaded your example along with toxic and mesh libraries and installed everything but the app will not run as it can't find the class AttractionBehavior - which I think is part of the toxic library. Am I missing something?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/ThomasLengeling/KinectPV2/issues/65#issuecomment-324193442, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AOR0m4tUUKtVohi6lNYZhvb4z8Pq70FHks5sa3zmgaJpZM4O-DbO.

Hello, I had the same problem. It seems that the strokeWeight depends on the z-value of the joints, but it's not properly scaled (or maybe the function or the map scaling have changed across the version).
As a suggestion to test it the skeleton example, try to substitute every strokeWeight with a simple "strokeWeight(0.3)". Now I cannot see the bones, but the joints are just fine.

I've found that turning off the setColor function to the kinematic object (PJBullet) attached to the joint incoming from Kinect the flashing problem has gone away. I am assuming I've not fixed the problem but have stopped the symptom. I can live with that for now.
//pJoint.setColor(color(Colour));

@SimonBiggsUK
Hi I am having the same issue now. Can you elaborate more on where to comment out pJoint.setColor(color(Colour));? I couldn't find this line in this repository.
Many thanks!

pJoint is only applicable if you are rendering the skeleton in the JBullet physics engine. Is that what you are doing? If not then it's not relevant, which is why you can't see the function call. What you can try is only drawing the bones and commenting out the joint drawing. This gives you a clean skeleton image. I found that after doing that I didn't have anymore artefacts. I think the problem is one of a mismatch in scaling, which affects the joint drawing but not the bone drawing. You might need to add some extra bones to incorporate all the joints. Set the strokeweight to something light, like 0.01. Here's the relevant code:
void drawBody(KJoint[] joints) {
drawBone(joints, KinectPV2.JointType_Head, KinectPV2.JointType_Neck);
drawBone(joints, KinectPV2.JointType_Neck, KinectPV2.JointType_SpineShoulder);
drawBone(joints, KinectPV2.JointType_SpineShoulder, KinectPV2.JointType_SpineMid);
drawBone(joints, KinectPV2.JointType_SpineMid, KinectPV2.JointType_SpineBase);
drawBone(joints, KinectPV2.JointType_SpineShoulder, KinectPV2.JointType_ShoulderRight);
drawBone(joints, KinectPV2.JointType_SpineShoulder, KinectPV2.JointType_ShoulderLeft);
drawBone(joints, KinectPV2.JointType_SpineBase, KinectPV2.JointType_HipRight);
drawBone(joints, KinectPV2.JointType_SpineBase, KinectPV2.JointType_HipLeft);
// Right Arm
drawBone(joints, KinectPV2.JointType_ShoulderRight, KinectPV2.JointType_ElbowRight);
drawBone(joints, KinectPV2.JointType_ElbowRight, KinectPV2.JointType_WristRight);
drawBone(joints, KinectPV2.JointType_WristRight, KinectPV2.JointType_HandRight);
drawBone(joints, KinectPV2.JointType_HandRight, KinectPV2.JointType_HandTipRight);
drawBone(joints, KinectPV2.JointType_WristRight, KinectPV2.JointType_ThumbRight);
// Left Arm
drawBone(joints, KinectPV2.JointType_ShoulderLeft, KinectPV2.JointType_ElbowLeft);
drawBone(joints, KinectPV2.JointType_ElbowLeft, KinectPV2.JointType_WristLeft);
drawBone(joints, KinectPV2.JointType_WristLeft, KinectPV2.JointType_HandLeft);
drawBone(joints, KinectPV2.JointType_HandLeft, KinectPV2.JointType_HandTipLeft);
drawBone(joints, KinectPV2.JointType_WristLeft, KinectPV2.JointType_ThumbLeft);
// Right Leg
drawBone(joints, KinectPV2.JointType_HipRight, KinectPV2.JointType_KneeRight);
drawBone(joints, KinectPV2.JointType_KneeRight, KinectPV2.JointType_AnkleRight);
drawBone(joints, KinectPV2.JointType_AnkleRight, KinectPV2.JointType_FootRight);
// Left Leg
drawBone(joints, KinectPV2.JointType_HipLeft, KinectPV2.JointType_KneeLeft);
drawBone(joints, KinectPV2.JointType_KneeLeft, KinectPV2.JointType_AnkleLeft);
drawBone(joints, KinectPV2.JointType_AnkleLeft, KinectPV2.JointType_FootLeft);
}
void drawBone(KJoint[] joints, int jointType1, int jointType2) {
strokeWeight(0.01f);
line(joints[jointType1].getX(), joints[jointType1].getY(), joints[jointType1].getZ(),joints[jointType2].getX(), joints[jointType2].getY(), joints[jointType2].getZ());
}

Thanks for the quick reply!
I just tried your method, it works!
Thanks so much!!!

Thanks for the quick reply!
I just tried your method, it works!
Thanks so much!!!


What if I want to make the sticky header move when the footer arrived the top?

Hi, first I want to thank you for this great work, it helps me a lot.
Here's the thing: I want to achieve this special effect when the footer-like thing(red-marked in the pic) arrives the top and the header moves with it instead of waiting for the next header. I've tried including this part into the next header and apparently it will stay on the top of the screen. Anyway I can do this without changing the source code?

A hacky solution would be to override getSectionHeaderUserType and implement your footer as a header (have the footer and header return different numeric codes). Just use your footer layout when itemType is whatever you used to denote the footer in onCreateHeaderViewHolder. Messy but should work.


Timeout Error using react-native-git-upgrade

Description
I'm trying to upgrade my app from RN 0.36.0  to RN 0.42.0.  I installed react-native-git-upgrade and ran it but it gave timeout errors.  I also attempted to ping the IP address and it timed out.
The error I received was:
git-upgrade ERR! An error occurred during upgrade:
git-upgrade ERR! Error: Command 'npm view<EMAIL_ADDRESS>--json' exited with code 1:
stderr: undefinednpm ERR! Darwin 16.4.0
npm ERR! argv "/Users/gmccullough/.nvm/versions/node/v6.2.2/bin/node" "/Users/gmccullough/.nvm/versions/node/v6.2.2/bin/npm" "view"<EMAIL_ADDRESS>"--json"
npm ERR! node v6.2.2
npm ERR! npm  v3.9.5
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
npm ERR! syscall connect

npm ERR! network connect ETIMEDOUT <IP_ADDRESS>:8081
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/gmccullough/Development/Build/BuildApp/npm-debug.log

stdout:
    at ChildProcess.child.on.code (/Users/gmccullough/.nvm/versions/node/v6.2.2/lib/node_modules/react-native-git-upgrade/cliEntry.js:58:18)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)

Reproduction
I ran the following commands:
npm install -g react-native-git-upgrade
react-native-git-upgrade 0.42.0
Solution
Solution?  I don't know, restart the server?
Additional Information

React Native version: RN 0.36.0
Platform: n/a
Operating System: MacOS
Dev tools: n/a

Seems to be working now.  Closing


java.lang.ClassCastException: org.openqa.selenium.remote.RemoteWebElement cannot be cast to io.appium.java_client.MobileElement

Hello All,
I have ClassCastException issue like following error:
java.lang.ClassCastException: org.openqa.selenium.remote.RemoteWebElement cannot be cast to io.appium.java_client.MobileElement.
I could only refer an element by WebElement, but I am having ClassCastException issue using Mobile Reference.  I am trying to use an element by AutomationId (AccessibilityID).  I believe this is most stable way to locate an element in WinAppDriver.
Please correct me if there is something I miss or misunderstand?  Please let me know.
Thanks.
Here is pom.xml file info:
<appium.version>5.0.4</appium.version>
<selenium.version>3.6.0</selenium.version>

io.appium
java-client
${appium.version}

org.seleniumhq.selenium
selenium-java
${selenium.version}

Here is how I define WinAppDriver:
protected static WindowsDriver driver;
// Also tried with  protected static WindowsDriver<? extends MobileElement> driver;
caps.setCapability(MobileCapabilityType.APP, ConfigHelper.getInstance().app);
this.driver = new WindowsDriver<>(getLocalAddressURL(), caps);
return this.driver;
// OK with WebElement
WebElement title = driver.findElementByAccessibilityId("Title");
List listAirportInfo = (List)driver.findElementsByName("DataModel.Name");
WebElement code = ((WebElement)listAirportInfo.get(0)).findElement(By.className("Block"));
Case1: using findElementsByName
// CastException when I execute on the bold line: MobileElement.
List listsTypeNames = (List) driver.findElementsByName("DataContextItem");
String name = listsTypeNames.get(0).findElementByAccessibilityId("Selector_Text_Name").getText();
Case2: using findElementsByClassName
List listsTypeNames = (List) driver.findElementsByClassName("Item");
MobileElement chartTypeName = ((MobileElement)listsTypeNames.get(0)).findElementByAccessibilityId("Selector_Text_Name");
String name = chartTypeName.getText();

Hi @aeroclee,
It looks familiar with the issue on appium-dotnet-driver (C# counter part) in which case the findElementsByName returns RemoteWebElement entries instead of MobileElement you expected.
https://github.com/Microsoft/WinAppDriver/issues/237
This issue however lies in the local end implementation in Appium Java client that you should file the issue with. In the meantime, will manually cast listsChartTypeNames.get(0) into MobileElement or WindowsElement work before you perform an element search?

Hello @timotiusmargo,
I tried with cast into MobileElement and WindowsElement, but still same issue.
Also, tried with findElementsByClassName and findElementsByName methods.
However, still same issue.    Issue is exactly same as #237.
I modified the original post on coding section.
I will also log issue at here: https://github.com/appium/java-client/issues.
Thanks.

Hi @timotiusmargo ,
I also tried with cast to WebElement and works well.
String name = ((WebElement)listsTypeNames.get(0)).findElement(By.className("Block")).getText();
print("Selector Name: "+name);
I guess the best way is to use xpath along with AccessibilityID.  However, I cannot find any good example with WindowsDriver using xpath with AccessibilityID.  any tips or example?
Thanks.

Hi @aeroclee,
Thanks for sharing your progress and workaround. Below is a snippet taken from our sample test in https://github.com/Microsoft/WinAppDriver/blob/master/Tests/WebDriverAPI/Element.cs#L79:
WindowsElement alarmTab = session.FindElementByXPath("//Button[@AutomationId=\"MoreButton\"]");

Notice that AccessibilityID maps to AutomationId attribute in Windows UI tree as described in list of supported locators in our README.md

@aeroclee, this issue will be closed on this thread. Please open a new issue on the Java binding for Appium. https://github.com/appium/


Allows tagging based on github_id

Description
This PR allows for efficient cloud management by tagging the cluster & resources
using this format github_id:${GITHUB_USERNAME}
Signed-off-by: Krishna Harsha Voora<EMAIL_ADDRESS>

Hi :wave: @mukrishn @smalleni @dry923 ptal

@krishvoor not to be a :hankey: but can you add a description to the PR? :-)

@krishvoor tag format will be User:github_username. If u feel it has some conflicts let's add some suffix to it ie. User:github_username_aws_user. So will know the user from this aws user.

@dry923 had a chat with @athiruma, looks like they need it as user:${GITHUB_USERNAME} for ease of tracking.

@dry923 had a chat with @athiruma, looks like they need it as user:${GITHUB_USERNAME} for ease of tracking.

ack

@athiruma here you go.
@dry923 ptal


Fixed cross-compilation for yara dependency

yara subproject couldn't be cross-compiled. Passing CC variable to the ./configure script fixes this issue.

LGTM. Merging. Thanks for contribution.


Problems with using boolean on Cloudant, no problem on CouchDB

Perhaps this identifies some strange differences between Cloudant and CouchDB, but we were using a field that is a boolean. All of our tests pass when using CouchDB, but they failed when using Cloudant. We changed the value from using a native boolean type to an integer (0 or 1 for false and true respectively) and the issue was resolved.

@rfdickerson As of now Kitura-CouchDB treats the JSON payload sent to the database as GIGO. It isn't touched at all. Do you expect it to be scanned and modified?


Trace NodeState: demo

This is the first step toward NodeState tracing. The NodeState represents the current state of the node. So any external application (for example, cardano-wallet or cardano-tracer) will be able to ask this state (as a DataPoint) and use it.
Currently, NodeState is almost useless, it only demonstrates the changing the state of a node in real-time.
This PR introduces demo-acceptor as well: a tiny application allowing to ask DataPoint from the node.

@Jimbo4350 Done, now there are only 2 commits.

bors merge


Inconsistency in help text appearance

Help text for non-streamfield blocks appear to the right hand side of the field on hover with an icon. Help text on a block within streamfield is always visible, and doesn't have an icon.

@heymonkeyriot https://github.com/torchbox/wagtail/issues/1442 is worth a read for some background on this.
I'd like to either consistently place the help text somewhere (which might result in removal of these "full bleed" - classname="full" - designed fields we have such as the page Title) or to remove it altogether on account of it's low usage.

Thanks Dave. I think the issue would be better tracked on the already open issue.
For what its worth, I think the help text should definitely have a consistent location. It's also important to have. I think it's currently underused but is important as a way of giving advice to editors. Anyhow, will respond at more length on the other ticket.


Validation on resursive models don't raise error even on failing

Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
pydantic version: 1.9.2
pydantic compiled: True
install path: /Users/kunalsingh/anaconda3/envs/midas_pay_allocator/lib/python3.8/site-packages/pydantic
python version: 3.8.13 (default, Mar 28 2022, 06:13:39)  [Clang 12.0.0 ]
platform: macOS-12.3.1-arm64-arm-64bit
optional deps. installed: ['typing-extensions']

from __future__ import annotations

from typing import Optional, Union, List

from pydantic import BaseModel, validator

class Condition(BaseModel):
    operation: str
    value: Union[List[Condition], Condition, float, int, list, str]
    attribute_name: Optional[str]

    @validator("operation", pre=True, always=True)
    @classmethod
    def validate_operations(cls, field_value):
        if field_value not in ["and", "or", "equal"]:
            msg = f"Supported operations: [and, or, equal]. Passed operation: {field_value}"
            raise ValueError(msg)
        return field_value

if __name__ == '__main__':
    condition4 = {'operation': 'or', 'value': [
        {'operation': 'equal', 'attribute_name': 'num_pay_txns_month', 'value': 6},
        {'operation': 'incorrect_operation', 'attribute_name': 'num_pay_txns_week', 'value': 3}]}
    print(Condition(**condition4))

Actual Output:
operation='or' value=[{'operation': 'equal', 'attribute_name': 'num_pay_txns_month', 'value': 6}, {'operation': 'incorrect_operation', 'attribute_name': 'num_pay_txns_week', 'value': 3}] attribute_name=None
Expected output:
ValueError
Please bear with me if this is not an issue but an implementation miss from my end.

Looking into it. In future, please use the "bug" template when creating bug issues.

Confirmed, but the problem is more severe, there's no validation whatsoever on the List[Condition] branch of the Union.
The following input also passes:
condition4 = {
    'operation': 'or', 'value': [
        {'operation': 'equal', 'attribute_name': 'num_pay_txns_month', 'value': 6},
        {'operation': 'incorrect_operation', 'attribute_name': 'num_pay_txns_week', 'value': 3},
        'foobar'
    ]
}

This is not new in v1.10, the same error exists in v1.9.2 at least.
I don't know how difficult a fix will be, we might just need to raise an error if ForwardRefs can't be resolved like this.

Thank you for looking into this promptly.
Please correct me if I am wrong but your input is passing because foobar falls back to str because of this type resolution sequence: Union[List[Condition], Condition, float, int, list, str]. Hence, it doesn't go through the validation check of the Condition model.
For my original question, the solution that I am going for is raising a generic Exception rather than ValueError and that's solving my use case. Do you see a problem with that approach?

:facepalm: :facepalm: :facepalm: :facepalm:
Bad new is I'm being very dumb.
The good news (at least from my point of view :smile:) this that this is a mistake in your code, not an issue with pydantic.
Because value: Union[List[Condition], Condition, float, int, list, str] includes list which is interpreted as List[Any] the input to the top level value is validated against List[Any] and passes.
If you remove list from the union, your example behaves as expected.

Great, thank you for pointing out my mistake. :)


🐞 Beastiary isn't parsed when Obsidian restarts

Check for existing bug reports before submitting.

[X] I searched for existing Bug Reports and found no similar reports.

Expected Behavior
When starting Obsidian, Fantasy Statblocks should parse the beastiary directory set in its settings, and when searching in the encounter builder, the creatures appear.
Current behaviour
When opening Obsidian and trying to add creatures in the encounter builder, no options appear when searching. You must first go to the Fantasy Statblocks settings, remove the beastiary directory, and add it again. After this, the directory is parsed and you can use the encounter builder properly until you close and reopen Obsidian again.
Reproduction
Close Obsidian, reopen it, and try to add a creature to an encounter. No creatures appear when searching.
Which Operating Systems are you using?

[ ] Android
[ ] iPhone/iPad
[ ] Linux
[ ] macOS
[X] Windows

Obsidian Version Check
1.6.3
Plugin Version
4.4.2
Confirmation

[ ] I have disabled all other plugins and the issue still persists.

Possible solution
No response

Turning on the "Parse frontmatter automatically" setting resolved this issue for me.


input container's width has problem in flex layout

when I put the Datepicker in a flex container with equal width children, the datepicker's width is not equal with it's siblings. codesandbox below:
codesandbox
image

any updates?


additional data on Emoji Click ?

Is it possible to get additional data into moment you click the emoji the like this ? @emojiClick="handleEmojiClick(detail, nodeinfo)"
I am iterating over objects and would be useful to add some of my own data when the emoji is clicked ?
I tried to write as two method calls on the click but that didn't seem to work.
Thanks again

<VuemojiPicker @emojiClick="$event => handleEmojiClick($event, nodeinfo)" />

Thank you again.


Where is rowHeight used?

Where is the rowHeight resource used? There's no StaticResource used for rowHeight, only BoxSize. Changing the rowHeight number for any platform doesn't do anything? Thanks

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

ID: 969d1fbd-aeab-0c4f-8e1b-f7f3c139fd78
Version Independent ID: 6ea369b2-0654-27ac-5911-aaf77e1c1495
Content: Part 4. Data Binding Basics - Xamarin
Content Source: docs/xamarin-forms/xaml/xaml-basics/data-binding-basics.md
Service: unspecified
GitHub Login: @charlespetzold
Microsoft Alias: chape

See the linked sample code, where the RowHeight="{StaticResource rowHeight}" is set on the ListView element.
We'll update the doc to match - thanks for your feedback.


chore(databases): add support for oracle 23ai (#4522)

related to camunda/camunda-bpm-platform#4001
Backported commit 95ad993bb1 from the camunda-bpm-platform repository.
Original author: tasso94<EMAIL_ADDRESS>

The .ci/config/matrices.yaml file does not exists anymore in the Operaton repo, see:
https://github.com/camunda/camunda-bpm-platform/commit/95ad993bb18821e32907328e8e7b4c598cabbe73
I think currently there is no actual testing happening against "real" databases?

@hauptmedia There are tests against Testcontainers, but I'm not 100% sure they are executed. This is something we need to check, thanks for pointing this out!


provide example env for env var project root, provide good documentat…

…ion about env vars

Trying a squash and merge of branch itphilcloud/project-root-env-var-5 back to main, as branch 5-project-root-env-var  does not seem to contain the desired changes from Project Root Env Var lesson.


@conda-forge-admin, please rerender

Additional comment:
No response

I need to bump the version manually due to https://github.com/conda-forge/gz-common-feedstock/issues/10 .


Flaky Test: RequestHeaderLimitsTests.ServerAcceptsRequestWithHeaderCountWithinLimit

http://aspnetci/viewLog.html?buildId=212066&tab=buildLog&buildTypeId=XPlat_Linux_UbuntuUniverseCoreCLR&logTab=tree&filter=important
[22:34:33]i:		 [VSTest] Microsoft.AspNetCore.Server.Kestrel.FunctionalTests.RequestHeaderLimitsTests.ServerAcceptsRequestWithHeaderCountWithinLimit(headerCount: 5, maxHeaderCount: 1337)
[22:34:33]i:		 [VSTest] Microsoft.AspNetCore.Server.Kestrel.FunctionalTests.MaxRequestLineSizeTests.ServerRejectsRequestLineExceedingLimit(requestLine: "DELETE /a%20b%20c/d%20e?f=ghi HTTP/1.1\r\n")
[22:34:33]i:		 [VSTest] Microsoft.AspNetCore.Server.Kestrel.FunctionalTests.ChunkedResponseTests.ResponsesAreChunkedAutomatically(listenOptions: http://<IP_ADDRESS>:0)
[22:34:33]i:		 [VSTest] Microsoft.AspNetCore.Server.Kestrel.FunctionalTests.HttpsConnectionAdapterTests.CertificatePassedToHttpContext
[22:34:33]i:		 [VSTest] Microsoft.AspNetCore.Server.Kestrel.FunctionalTests.ChunkedRequestTests.ExtensionsAreIgnored(listenOptions: http://<IP_ADDRESS>:0)
[22:34:33]i:		 [VSTest] Microsoft.AspNetCore.Server.Kestrel.FunctionalTests.BadHttpRequestTests.TestInvalidHeaders(rawHeaders: "Header-1: value1\r\nHeader-2: value2\n\r\n", expectedExceptionMessage: "Invalid request header: 'Header-2: value2\\x0A'")
[22:34:33]i:		 [VSTest] Microsoft.AspNetCore.Server.Kestrel.FunctionalTests.RequestHeaderLimitsTests.ServerAcceptsRequestWithHeaderCountWithinLimit(headerCount: 0, maxHeaderCount: 1337)
[22:34:34]E:		 [VSTest] Runner error: The active test run was aborted. Reason: Unable to communicate with test host process.
null

@muratg - can someone take a look to see what we should do for Preview1?

I'm guessing this is fixed with https://github.com/aspnet/KestrelHttpServer/commit/35b5d9265251dd7ae1b2f70085820d25a4ada1e9 but it's not in preview1. Since it's a shutdown bug, I don't think we should bother for preview1.

@halter73 could you take a quick look and verify if this is fixed in dev? If so, perhaps we just disable this in preview1.

Assuming we don't think this bug meets the customer bar for preview1, my recommendation would be to not merge this to preview1, to reduce risk.
I would go with option 2 if required to unblock builds, otherwise option 3.

Agree with Mike, and I think option 2 or 3 depending on how bad test runs are.

I would argue for option 3 assuming this isn't causing a lot of builds to fail.
Finding all the affected tests would probably take about an hour, but my guess is that well over half the tests would need to be disabled. We'd be losing most of the test coverage in the Kestrel repo, but considering checkins are pretty locked down, I understand that option 2 probably isn't that risky.

Lets just back port the fix. It's trivial.

@davidfowl eh... we have enough going on for preview1... if you feel strongly, fine.
But I don't know the answer to @halter73 's question about how often this fails. If it's rare - let's say less than 1%, I don't see it being worth it.

Here's are the bugs that were likely fixed https://github.com/aspnet/KestrelHttpServer/issues?utf8=✓&q=is%3Aissue is%3Aopen The active test run was aborted.
Lets do nothing then.

Moved to preview2 per the discussion. We'll close if this is indeed fixed in dev.

@davidfowl claims to have fixed this one.


[QLC+ forum] Unable to validate a change of e-mail address

Well, I know it is not the best way to report a problem with the forum. But I didn't found any other.
I have an account on the forum, named nilsvanzuijlen, and I have posted a bit with it in the past.
Today, I wanted to change the e-mail address associated with it, and it worked... in a way. It disconnected me, updated it in the database (seems like it, I am not able to use that e-mail to register because "The entered email address is already in use.").
But then, when I want to reconnect, I am greeted with a very unpleasant message: "The specified username is currently inactive. If you have problems activating your account, please contact a board administrator." So that's what I am doing by opening this issue, as I didn't found any other way.
PS: I checked my e-mails for an activation link, even in the spam folder, and I didn't receive any.

If you can manually activate my account, or send me an activation link, it would be great.
You may ask if you need more information.

Activated

Thank you


Fix cursor not displaying on HoloLens 1

Overview
Fixes: #4510 while maintaining ability to show cursor when articulated hands are used in GGV mode.
Also add unit tests to cover HoloLens 1 and articulated hands in GGV.

Yes that’s a separate issue.
From: Yoon Park<EMAIL_ADDRESS>Sent: Wednesday, May 22, 2019 1:45 PM
To: microsoft/MixedRealityToolkit-Unity<EMAIL_ADDRESS>Cc: Julia Schwarz<EMAIL_ADDRESS>Assign<EMAIL_ADDRESS>Subject: Re: [microsoft/MixedRealityToolkit-Unity] Fix cursor not displaying on HoloLens 1 (#4529)
@cre8ivepark approved this pull request.
Tested on HoloLens 1 and works well.
I guess #4511https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FMixedRealityToolkit-Unity%2Fissues%2F4511&data=02|01|jschwarz%40microsoft.com|2b361a6fcd864e7fc0f308d6def661fe|72f988bf86f141af91ab2d7cd011db47|1|0|636941547117176300&sdata=fpU87L2Fgw5XH0Ii3PCuQZheQV3%2B4JYJMcbRT7Vg3QE%3D&reserved=0 is a separate issue? (on hand lost, the cursor stays as a ring, not changing to dot)
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FMixedRealityToolkit-Unity%2Fpull%2F4529%3Femail_source%3Dnotifications%26email_token%3DAABJELFDWQ4KCAVQ6RJ44Z3PWWWFNA5CNFSM4HOXSNF2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOBZNWDPA%23pullrequestreview-240869820&data=02|01|jschwarz%40microsoft.com|2b361a6fcd864e7fc0f308d6def661fe|72f988bf86f141af91ab2d7cd011db47|1|0|636941547117176300&sdata=HWaUQpIbtXIt%2BSsc5VqmAV77xD9O6iMqCDoXk8pZdE0%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAABJELAAGUUP5IYFNTVFRETPWWWFNANCNFSM4HOXSNFQ&data=02|01|jschwarz%40microsoft.com|2b361a6fcd864e7fc0f308d6def661fe|72f988bf86f141af91ab2d7cd011db47|1|0|636941547117186254&sdata=XAcn93uctusGWf4wQ6cHD33LKEPtl4y41xgS2N5HFKE%3D&reserved=0.

/azp run mrtk_pr


Is it possible to access server data (user.data) from client.presence.subscribe?

Possible use case to log in database event of user logged on and logged off and additional information (other than just username) from server data can be useful.
But for logged off, depending on whether this event triggers before or after the user is actually logged off deepstream, maybe server data for the user is already lost?

So I would suggest something like the following.

Add a custom plugin that listens to connection events
Emit an event with the data you want

export default YourPlugin extends DeepstreamPlugin implements ConnectionListener {
  constructor (options: any, services: DeepstreamServices) {
  }

  onClientConnected (socketWrapper: SocketWrapper) {
    // log via a HTTP API, log something specific via DS
  }

  onClientDisconnected (socketWrapper: SocketWrapper) {
    // log via a HTTP API, log something specific via DS
  }
}

Generally we want to keep the surface area of the API really small. However, you can always cheat and post a HTTP command to the server to emit an event with the data you care about! That way your backend services will get the event.

Closing this issue as it won't be implemented in core


//test/extensions/filters/udp/udp_proxy/session_filters/dynamic_forward_proxy:dynamic_forward_proxy_filter_integration_test is very flakey

This appears to be a new issue possibly introduced in https://github.com/envoyproxy/envoy/pull/30270
its flaking pretty hard on main (and i guess presubmit)
we will want to backport any resolution to the release/v1.28  branch
[ RUN      ] IpVersions/DynamicForwardProxyIntegrationTest.BasicFlow/IPv4
test/extensions/filters/udp/udp_proxy/session_filters/dynamic_forward_proxy/proxy_filter_integration_test.cc:155: Failure
Value of: fake_upstreams_[0]->waitForUdpDatagram(request_datagram)
  Actual: false (Timed out waiting for UDP datagram.)
Expected: true
Stack trace:
  0xacf7d5: (unknown)
  0x7f81c818631d: testing::internal::HandleSehExceptionsInMethodIfSupported<>()
  0x7f81c816d09e: testing::internal::HandleExceptionsInMethodIfSupported<>()
  0x7f81c815499d: testing::Test::Run()
  0x7f81c815548e: testing::TestInfo::Run()
... Google Test internal frames ...

https://dev.azure.com/cncf/envoy/_build/results?buildId=152986&view=logs&j=4930ecaf-18f4-5b3c-dea3-309729c3b3ae&t=573d8780-d7b9-52e3-b4e0-a89886b0b9ff

#30270 is not the reason for flakiness of //test/extensions/filters/udp/udp_proxy/session_filters/dynamic_forward_proxy:dynamic_forward_proxy_filter_integration_test
the test can not possibly trigger premature reset protection since there is no HCM, the code that #30270 is not running in this test.
There is an inherent race condition in this test, as it checks for the main thread to complete DNS resolution. The main thread still has to dispatch to the worker and allow the second request to succeed. This may not always be the case on since the test oversubscribes CPU.

Giving the test more CPU reduces the flakiness quite considerably. But the test needs to be adjusted to solve its inherent flakiness.

duplicate of https://github.com/envoyproxy/envoy/issues/30303


Release 0.20 Fixes

use decode/encode method for component rather than whole URL
Upgrades to Concerto and Markdown transform
Rename ergo execute to ergo trigger

Coverage remained the same at 95.55% when pulling 49320666fdf39bb21845cad6f6017b6209686783 on js-release-0.20 into 495da57b83fd813f31bc5fdd2197aec051cc4f3f on master.


[Feature] support starrocks/dorisdb connector

Feature Request
As title, Is there a plan to support support starrocks/dorisdb connector ?

doris sql connector is supported. You can directly introduce the relevant dependent jars, DataStream connector
The connector for simplified development of DatasSream has not been developed yet


Better clarity when running multiple emulators via flutter run -d and flutter emulators --list

Dear wonderful Flutter team,
For folks running 2 or more emulators at a time, it'd be useful to show that there is a -d flag available for the flutter run command.
Though, if implemented, I do recommend then showing the emulator "device ID" when running flutter emulators --list, as one cannot use this -d flag with anything except the actual emulator device ID. I have to manually run adb devices in order get the device ID. As for iOS, I am not sure what the ideal behavior would be though or what is possible.
Thanks,

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.

vs code terminal command for running two emulators?

@Syafix-dev there's info on running concurrently on multiple devices from VS Code here:
https://github.com/flutter/flutter/wiki/Multi-device-debugging-in-VS-Code

I was also looking for away to find the device-id. I used the below commands:

flutter emulators (to list the available emulators)
flutter emulator --launch <emulator_name>
flutter devices

Not sure if this information is available somewhere in the documentation, but it might save some time to others.
Below is the output of the commands (using flutter version 2.1.0-12.2.pre):
$ flutter emulators
2 available emulators:

apple_ios_simulator • iOS Simulator  • Apple  • ios
Pixel_3_API_30      • Pixel 3 API 30 • Google • android

To run an emulator, run 'flutter emulators --launch <emulator id>'.
To create a new emulator, run 'flutter emulators --create [--name xyz]'.

You can find more information on managing emulators at the links below:
  https://developer.android.com/studio/run/managing-avds
  https://developer.android.com/studio/command-line/avdmanager
$ flutter emulators --launch Pixel_3_API_30
$ flutter devices
2 connected devices:

sdk gphone x86 (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
Chrome (web)            • chrome        • web-javascript • Google Chrome 89.0.4389.114


Use blacklist for determining if app is migrated

This commit does several things:

Removes config gem
Removes config initializer that reads the settings.yml file
Removes settings.yml file
uses NON_MIGRATED_APPS constant in Artefact object instead

All this changes aim to ease future changes, since migrating apps to the new tagging is a work in progress at the moment.
This NON_MIGRATED_APPS constant should be in sync with content-tagger - blacklisted-apps
And with Rummanger - NON_MIGRATED_APPS constant.
By removing the config gem we were able to see that  TaggingUpdater was stil coupled with the settings.yml file, if we had not removed it this would had reached production with a silent bug that was not catched by the test suite.
Part of:
https://trello.com/c/tZd23gW5/568-allow-tagging-in-content-tagger-for-apps-that-can-t-be-tagged-yet-s

The PR title isn't fully covering the changes: perhaps "Use blacklist for determining if app is migrated"?
Also, this PR changes the behaviour of pages that were previously in apps_without_tagging. They were included there because pages owned by that app do not have a content_id as we're trying to get rid of them.
For pages without a content_id we should not be showing the link to content-tagger, which would go nowhere.

Also, this PR changes the behaviour of pages that were previously in apps_without_tagging. They were included there because pages owned by that app do not have a content_id as we're trying to get rid of them.

For pages without a content_id we should not be showing the link to content-tagger, which would go nowhere.

That's true, I will correct that.

comments have been addressed.
@tijmenb I've re-implemented the list of apps without tagging, because implementing a check on content_id would conflict with someone trying to add a new artefact (http://panopticon.dev.gov.uk/artefacts/new) and I wasn't 100% sure about changing that behaviour.


Feat/Support Fish Audio

This PR add Fish Speech (both commercial and open-sourced version) to TEN-Agent.

LGTM


[SPARK-32926][TESTS] Add Scala 2.13 build test in GitHub Action

What changes were proposed in this pull request?
The PR aims to add Scala 2.13 build test coverage into GitHub Action for Apache Spark 3.1.0.
Why are the changes needed?
The branch is ready for Scala 2.13 and this will prevent any regression.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Pass the GitHub Action.

cc @srowen and @HyukjinKwon .
I dropped my PR (for core module) previously, but master branch seems to be almost ready for Scala 2.13 now. So, I'm trying another try to enforce this in GitHub Action. Since the full testing is almost ready, and I hope we can add Jenkins job for Scala 2.13 for Apache Spark 3.1.0.

https://github.com/apache/spark/pull/29312

Test build #128839 has started for PR 29793 at commit f52385c.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/33462/
Test PASSed.

Thank you, @srowen ! Merged to master for Apache Spark 3.1.0 on December 2020.

Test build #128839 has finished for PR 29793 at commit f52385c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/128839/
Test PASSed.

+1

Thanks, @HyukjinKwon .

@dongjoon-hyun do we want to put the full testing of Scala 2.13 into GitHub Action or Jenkins job ?

Please file a JIRA for creating Scala 2.13 Jenkins job. I guess we don't have enough resource for Scala 2.13 full testing inside GitHub Action, @LuciferYang .

@dongjoon-hyun ok ~ I will do it later, on holiday now :)


[Bug]: Can't pull large image through the on demand sync

zot version
v2.0.4
Describe the bug
When pulling large image index (aka multi arch images) a timeout is hit after 50 seconds and the sync in cancelled. In older versions of zot the download would continue in the background, so one would eventually get the image. Now the background sync is also cancelled and it is impossible to get the image.
To reproduce

Configure the sync extension with one registry with onDemand: true
Try to inspect or pull an image with skopeo that take more than 50 seconds to download
skopeo abort with: received unexpected HTTP status: 504 Gateway Time-out

Expected behavior
It should be possible to download large images in pass-through mode. Ideally it should also be possible to get the image manifest without having to wait for the full image to be downloaded.
Screenshots
No response
Additional context
I can download the image directly from the original registry with skopeo without any issue so I don't think the timeout is in skopeo or the gitlab registry.
Skopeo log (domain replaced with example.com):
DEBU[0000] GET https://registry.example.com/v2/
DEBU[0000] Ping https://registry.example.com/v2/ status 200
DEBU[0000] GET https://registry.example.com/v2/embedded-sw/meta-lros/testing/manifests/2024.7.6
DEBU[0050] Content-Type from manifest GET is "text/html"
DEBU[0050] Accessing "registry.example.com/embedded-sw/meta-lros/testing:2024.7.6" failed: reading manifest 2024.7.6 in registry.example.com/embedded-sw/meta-lros/testing: received unexpected HTTP status: 504 Gateway Time-out
FATA[0050] Error parsing image name "docker://registry.example.com/embedded-sw/meta-lros/testing:2024.7.6": reading manifest 2024.7.6 in registry.example.com/embedded-sw/meta-lros/testing: received unexpected HTTP status: 504 Gateway Time-out

Zot log:
{"level":"info","module":"http","component":"session","clientIP":"<IP_ADDRESS>:33652","method":"GET","path":"/v2/","statusCode":200,"latency":"0s","bodySize":0,"headers":{"Accept-Encoding":["gzip"],"Docker-Distribution-Api-Version":["registry/2.0"],"User-Agent":["skopeo/1.13.2-dev"],"X-Forwarded-For":["<IP_ADDRESS>"],"X-Forwarded-Proto":["https"]},"goroutine":58,"caller":"zotregistry.dev/zot/pkg/api/session.go:132","time":"2024-05-15T15:20:47.245754953Z","message":"HTTP API"}
{"level":"info","repository":"embedded-sw/meta-lros/testing","reference":"2024.7.6","goroutine":58,"caller":"zotregistry.dev/zot/pkg/api/routes.go:1913","time":"2024-05-15T15:20:47.246517473Z","message":"trying to get updated image by syncing on demand"}
{"level":"info","goroutine":69,"caller":"zotregistry.dev/zot/pkg/extensions/sync/service.go:481","time":"2024-05-15T15:20:47.246594127Z","message":"getting available client"}
{"level":"info","remote":"https://git.example.com:4567","repository":"embedded-sw/meta-lros/testing","reference":"2024.7.6","goroutine":69,"caller":"zotregistry.dev/zot/pkg/extensions/sync/service.go:283","time":"2024-05-15T15:20:47.25352728Z","message":"syncing image"}
{"level":"info","remote image":"git.example.com:4567/embedded-sw/meta-lros/testing:2024.7.6","local image":"embedded-sw/meta-lros/testing:2024.7.6","goroutine":69,"caller":"zotregistry.dev/zot/pkg/extensions/sync/service.go:438","time":"2024-05-15T15:20:47.429342485Z","message":"syncing image"}
{"level":"error","error":"copying image 1/4 from manifest list: writing blob: happened during read: context canceled","errortype":"*fmt.wrapError","remote image":"git.example.com:4567/embedded-sw/meta-lros/testing:2024.7.6","local image":"embedded-sw/meta-lros/testing:2024.7.6","goroutine":69,"caller":"zotregistry.dev/zot/pkg/extensions/sync/service.go:451","time":"2024-05-15T15:21:37.301336505Z","message":"coulnd't sync image"}
{"level":"error","error":"copying image 1/4 from manifest list: writing blob: happened during read: context canceled","repository":"embedded-sw/meta-lros/testing","reference":"2024.7.6","goroutine":58,"caller":"zotregistry.dev/zot/pkg/api/routes.go:1917","time":"2024-05-15T15:21:37.301603165Z","message":"failed to sync image"}
{"level":"info","module":"http","component":"session","clientIP":"<IP_ADDRESS>:33652","method":"GET","path":"/v2/embedded-sw/meta-lros/testing/manifests/2024.7.6","statusCode":404,"latency":"50s","bodySize":218,"headers":{"Accept":["application/vnd.oci.image.manifest.v1+json","application/vnd.docker.distribution.manifest.v2+json","application/vnd.docker.distribution.manifest.v1+prettyjws","application/vnd.docker.distribution.manifest.v1+json","application/vnd.docker.distribution.manifest.list.v2+json","application/vnd.oci.image.index.v1+json"],"Accept-Encoding":["gzip"],"Docker-Distribution-Api-Version":["registry/2.0"],"User-Agent":["skopeo/1.13.2-dev"],"X-Forwarded-For":["<IP_ADDRESS>"],"X-Forwarded-Proto":["https"]},"goroutine":58,"caller":"zotregistry.dev/zot/pkg/api/session.go:132","time":"2024-05-15T15:21:37.302120796Z","message":"HTTP API"}

Hello @AlbanBedel
Ok, I see, this should be easy to fix, thank you for raising this one, I'll come back with a fix.

Ideally it should also be possible to get the image manifest without having to wait for the full image to be downloaded.

^ this one is work in progress.
Thank you!

@AlbanBedel thanks for trying out zot and reporting this issue.

Ok, I tried to reproduce this one but it doesn't.
Tried with this image which has ~4gb:
skopeo inspect --tls-verify=false docker://localhost:8090/cimg/android:2024.04.1-ndk
Because I'm on a slow vpn it took 15 minutes to sync it. So there is no timeout in sync config that would close the connection.
The context cancelled error can happen only if the user cancels the on demand process (skopeo inspect in your case) or the client hits a timeout and bails out, or if the zot config file is updated and zot restarts internally all its components, sync included.
And because of the 504 error, I think you have an http server in front of zot? like an nginx and in this case you must increase its timeouts configuration.

You are right, my cluster use haproxy ingress which has a 50s inactivity timeout by default, so this bug can be closed. Nonetheless having an HTTP connection idle for such a long time is bound to create various problems, so I still hope this will be addressed at some point.

You are right, my cluster use haproxy ingress which has a 50s inactivity timeout by default, so this bug can be closed. Nonetheless having an HTTP connection idle for such a long time is bound to create various problems, so I still hope this will be addressed at some point.

Thank you! yes, we will address that.


Add tests for favourites (guests) and Click control in Icon-list-view

Summary

Added tests for favourites (as guest)
Added Click-Control-Tests to Icon-View in Process-List

Details

[ ] TODO: Add login as Jane Doe to check if favourites persist

After #301 renamed some files, this needs to be merged again, unfortunately.


regular text looks dim and thin

the regular text looks dim, thin on your build, and I have no idea what that has to do with.
I use st-flexipatch with XRESOURCES_PATCH enabled, as I remember that's the only patch I enabled
config doesn't matter, because they both use font from .Xresources

it turns out that the problem was in the color scheme. I apologize again.


calling "/cosmwasm.wasm.v1.MsgExecuteContract"

Is this possible currently? I want to execute the equivalent of
const cosmwasmClient = await SigningCosmWasmClient.createWithSigner(
  // ..
);

const [account] = await signer.getAccounts();
const result = await cosmwasmClient.execute(
  // ...
);

@o-az yes it should be! You can pull the signer like so and feed it in and should run like any others cosmos wallet.
let offlineSigner = await window.cosmos.getOfflineSigner("cosmoshub-4");
const cosmwasmClient = await SigningCosmWasmClient.createWithSigner(
    "my rpc",
    offlineSigner
);


Only the global IdentityFile is used

Since the v4.0.0, I'm not able to connect to my server with different private keys than the global host config.
I was first using a per server config and nothing was connecting, after I defined the "Host *" block with one private key and the servers using that private key were ok.
I'm using SSHS v4.1.1 and SSH v<IP_ADDRESS> on Windows. (previously was on SSH v8.6 and that was the same)
It was working on SSHS v3.4
Thanks

Same issue with me

Hey 👋 I'm not sure to understand, you have a per-server config file or IdentityFile directive?
I'm a bit confused because sshs does not alter how ssh works.

Hello ! I use one only ".ssh/config" file, it contains a list of arround 20 servers, here is a part of my file from the beginning to the bottom with elapsed part :
Host "XX1"
   IdentityFile  C:\Users\XXX\.ssh\FR-SaaS.pem
   HostName <IP_ADDRESS>
   User admin
   Port 22

Host "XX2"
   IdentityFile  C:\Users\XXX\.ssh\FR-SaaS.pem
   HostName <IP_ADDRESS>
   User admin
   Port 22
[......]
Host "YY1"
   IdentityFile  C:\Users\XXX\.ssh\Interne.pem
   HostName <IP_ADDRESS>
   User admin
   Port 22

Host "YY2"
   IdentityFile "C:\Users\XXX\.ssh\Interne.pem"
   HostName <IP_ADDRESS>
   User admin
   Port 22

As you can see, each Host as an IdentityFile and them aren't the same for all..
What I see on the command shown after selecting the server I want to connect to is :
Running command: ssh<EMAIL_ADDRESS>-p 22
What I think is, the command should be ssh XX2 where XX2 is the real value of the alias name (and so that would be retrieving the config from config file naturelly
OR
Should be ssh -i C:\Users\XXX\.ssh\Interne.pem<EMAIL_ADDRESS>-p 22 where "C:\Users\XXX.ssh\Interne.pem" represent the IdentityFile

Ooooh you're right! I don't even know why I did it that way in v4

I just built it myself and it's now ok ! Thanks a lot for that tool, I really like to work with it !


Multimodal conversable agents

### Tasks

built by community:
vision: https://www.youtube.com/watch?v=zo2ft4Qje1Y
speech: https://www.youtube.com/watch?v=JgVb8A6OJwM

@BeibinLi this issue was marked done and closed but shouldn't that be after multimodal agents become a core part of repo? If this issue was specific to the notebook example, should we have an open issue on the roadmap for multimodal convertible agents?

+1. You can add a task list to keep track of the progress. See #203 as an example.


feat: demo scraper fully working

Pull Request
Scope
Connects to JSTOR, pulls file metadata and downloads PDF to test location
Work Done
Set up connection to JSTOR, download of metadata, and saving of test file to disk
Steps to Test
Change destination file in OUT_FILE constant.
Add cookies in AUTH_COOKIE constant
Run script.

As before, to get cookies you will still have to obtain them by looking at an authenticated JSTOR request in your browser in the developer console.


Set up CI with Azure Pipelines

[skip ci]

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


feat(workspaces): visible CSS selector

Adds CSS class visible to all workspace buttons whose workspaces are visible (displayed on a monitor), including the focused workspace. Like focused, the rule is .workspaces .item.visible.
Implementation replaces focused: bool of clients::compositor::Workspace with visibility: Visibility, which represents focused, visible, and hidden (not on a monitor). Both compositors' listeners now fill the changed field, clients::compositor::WorkspaceUpdate::Focus now carries Workspaces rather than workspace names, and modules::workspaces::WorkspacesModule now adds/removes the new CSS class according to the Workspaces.
Fixes #282

Just rebased, see if that works.


Get rid of kubernetes-common-v2 folder and package

Task name:  AzureFunctionOnKubernetesV1
Description:

migrate azure-pipelines-tasks-kubernetes-common-v2 to azure-pipelines-tasks-kubernetes-common
remove utility-common-v2 from make.json

Documentation changes required: N
Added unit tests: N
Checklist:

[x] Task version was bumped - please check instruction how to do it
[x] Checked that applied changes work as expected

Working fine.

Looks good to me!


value of @source in  not displayed

Is something wrong with my encoding or is the non-display of the siglum G based on @source and <bibl> an imperfection of the database code?
<app loc="3">
	<lem source="bib:Griffiths2019_01">Urām̃</lem><rdg source="bib:Cabaton1904_01">uraṅ</rdg>
</app>
<app loc="3">
	<lem source="bib:Griffiths2019_01">rāṣ<orig>t</orig>ra</lem>
	<rdg source="bib:Cabaton1904_01">rāṣṭra</rdg>
</app>
...
  <bibl n="G"><ptr target="bib:Griffiths2019_01"/><citedRange unit="page">200-201</citedRange><citedRange unit="figure">4</citedRange></bibl>

I did not check lem/@source, now fixed.


Why self.train_batch() function dosen't have a specific implementation?

https://github.com/marcelampc/aerial_mtl/blob/c6a2033ec89a89ff06836014c619d66bc907d958/models/train_model.py#L122

Hello, it's been a while since I worked on this project. This is an abstract class, so for this function, I've just established here that it should be implemented for each other class that inherits from it. For example, models/mtl_train.py has an implementation to it.
As I look into this code now, years later, I see it could benefit from a good refactor =)

Thank you very much for replying me in time, and I can benefit from your code also =)