[Enhancement]make is_null compute auto vectorized

Why I'm doing:

StoredColumnReadValuesTime4 is computing is_null, that costs even as much time as decode.
What I'm doing:
Make it auto vectorized.

this part from 53ms->3ms
Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

Do you need to add some comment?

Do you need to add some comment?

Will do it.

Perhaps we should upgrade our compiler version 🤣

Perhaps we should upgrade our compiler version 🤣

I have tested the latest stable gcc, it's not a good way to slove this issue.


Add Go to list of supported languages

This change adds Go to the list of compiled languages that may be autobuilt, or manually built, in our documentation.
A PR to add it to the official starter workflow is up at https://github.com/actions/starter-workflows/pull/1796 as well.
Merge / deployment checklist

[x] Confirm this change is backwards compatible with existing workflows.
[x] Confirm the readme has been updated if necessary.
[x] Confirm the changelog has been updated if necessary.

Waiting for #1330 to merge to fix the associated PR checks.


can i use this for image share on facebook

That would depend on your meta OpenGraph tags.

Image share is not supported, og-tags however are respected when sharing pages.


Patch inference multithread buffer

Description
This PR added a section to modular patch inference notebook to demonstrate the multithread buffer for batch sampling.
Checks

[x] Avoid including large-size files in the PR.
[x] Clean up long text outputs from code cells in the notebook.
[x] For security purposes, please check the contents and remove any sensitive info such as user names and private key.
[x] Ensure (1) hyperlinks and markdown anchors are working (2) use relative paths for tutorial repo files (3) put figure and graphs in the ./figure folder
[x] Notebook runs automatically ./runner.sh -t <path to .ipynb file>

Requires https://github.com/Project-MONAI/MONAI/pull/6139 to be merged first.

Hi @KumoLiu, can you take a look here? Thanks


Travis is failing

https://github.com/conda/conda/issues/1701

Mostly fixed now by a fix within conda I think, I might have time to finish this up tomorrow.


Return union of Django objects

Hi,
Return an union of Django models isn't supported at the moment (strawberry-graphql==0.74.1 and strawberry-graphql-django==0.2.5).
This example will fail:
Contributor = strawberry.union("Contributor", types=(Tenant, ShippingCompany))

    @strawberry_django.field
    def contributor(self) -> Optional[Contributor]:
        return getattr(self.contributor, "shippingcompany", self.contributor)

with this error:
The type "<class 'users.models.ShippingCompany'>" cannot be resolved for the field "contributor" , are you using a strawberry.field?

One workaround is to set _type_definition on the retuned type like this:
    @strawberry_django.field
    def contributor(self) -> Optional[Contributor]:
        if hasattr(self.contributor, "shippingcompany"):
            self.contributor.shippingcompany._type_definition = ShippingCompany._type_definition

            return self.contributor.shippingcompany

        self.contributor._type_definition = Tenant._type_definition  # type: ignore [attr-defined]

        return self.contributor

It would be great if we could return the Django objects directly.

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.

Thanks @edouardruiz! Just wanted to add that this is issue is not just for Django but also for any other integration.
At the moment when using unions you need to return a Strawberry Type. We should allow to return any type, by either allowing to pass a function to unions that finds the correct type or by finding the right type automatically (not sure I like this option though)

It feels like it should be possible to solve this in strawberry-Django. @la4de is there a way to find the strawberry type from a Django model?

@jkimbo are you suggesting that create a resolve_type for unions in strawberry django?

@patrick91 no, I was thinking that you could implement some logic in the strawberry-django resolver to look up the right StrawberryType from the Django instance. Something like this:
class StrawberryDjangoField(StrawberryField):
	def get_result(self, source, info, arguments):
		if self.resolved_type is Union:
			model_instance = super.get_result(source, info, arguments)
			strawberry_type = get_type_from_instance(model_instance, options=self.resolved_type.types)  # this function will need to be implemented
			return strawberry_type.from_instance(model_instance)
		...

What do you think?

@jkimbo that sounds a like a good plan, we would still need to do a generic solution in future I think (for when you return dicts or other instances) :)

Is a method like strawberry_type.from_instance(o) actually available? I'm trying to figure out how to deal with this in my code right now.
Normally if I have a query or mutation that returns an object I can say:
@strawberry.field
def foo() -> GQLFoo:
    return Foo()

and strawberry seems to deal with generating a GQLFoo from my Foo so that its fields can work. Now, when I introduce a union:
@strawberry.field
def foo() -> Union[GQLFoo, OtherThing]:
    return Foo()

it blows up with that error in the issue description. Is there a way I could write GQLFoo.bind(Foo()) to explicitly invoke the logic that strawberry must have somewhere to do this conversion?

I have been spelunking the code and I guess the issue with my assumption is that a GQLFoo is never actually instantiated when I return a Foo instance even without a union. So a method like GQLFoo.bind or strawberry_type.from_instance can't be implemented, at least not trivially.
I guess some sort of concept of a "bound instance" would need to be created? so that the resolving machinery can know which graphql type to look up resolvers on for a given concrete type?
I am pretty sure that Graphene solved this somehow, so there's probably some inspiration there

I have been spelunking the code and I guess the issue with my assumption is that a GQLFoo is never actually instantiated when I return a Foo instance even without a union. So a method like GQLFoo.bind or strawberry_type.from_instance can't be implemented, at least not trivially.
I guess some sort of concept of a "bound instance" would need to be created? so that the resolving machinery can know which graphql type to look up resolvers on for a given concrete type?
I am pretty sure that Graphene solved this somehow, so there's probably some inspiration there

@radix I think this can be used by using resolve type on the union: https://github.com/graphql-python/graphql-core/blob/c214c1d93a78d7d1a1a0643b1f92a8bf29f4ad14/src/graphql/type/definition.py#L1004-L1020
/cc @bellini666 as you might have done something similar in strawberry django plus

Hey @patrick91 and @radix ,
If I'm understanding the issue correctly, it is on how to tell which type of a union the object is if it isn't actually an instance of it (e.g. a django model)
In both strawberry-graphql-django and strawberry-django-plus this issue was solved by implementing a custom is_type_of which basically checks for isinstance(obj, (cls, model)), the cls being the type class itself and the model the django model. Since the strawberry union implementation checks for that for non strawberry objects, it resolves to the correct type.
Here are both implementations for reference (both are injected when processing the type):

https://github.com/strawberry-graphql/strawberry-graphql-django/blob/main/strawberry_django/type.py#L174
https://github.com/blb-ventures/strawberry-django-plus/blob/main/strawberry_django_plus/type.py#L294

ps. The implementation of checking for cls.__dict__ is better because otherwise inheritances of that given type would not override that check.

I am pretty sure that Graphene solved this somehow, so there's probably some inspiration there

It actually solved in a way that also causes other issues =P
Graphene django has a register in which it basically created a map of model => type, which gets populated automatically when you create a model. This is fine for 99% of the cases, but what happens if you have more than one type created for a given model?
E.g. I faced this in a graphene project where I had 2 types for the User model, a UserType and a PublicUserType. The public one was the one I used to return in public places, which only displayed public and insensitive user information. What happened is that the last created one was the one graphene was going to map always. Also, the relay interface became sensitive to only one type, since it only know the model for one of the types (it could be fixed if the map was a model => [type]), so the other one did not exist based on that map.

I'd just like to suggest that I think having a supported, explicit mechanism to choose the variant, unrelated to any Django support, would be useful as the first solution to this problem (I assume _type_definition is a private member). If we can return an object that includes both the value and the chosen variant, then an automatic variant inference could be built on top of that.

Can we bump this? It's kind of a show stopper and Graphene does this brilliantly with https://docs.graphene-python.org/en/latest/types/interfaces/. See the resolve_type method at the bottom.


Error. Amount must be at least 1. Requesting createLoanOffer

Hello there.
Does anybody know what to do?
Best greetings,
Sebastian
2017-01-29 12:59:52 Error: Amount must be at least 1. Requesting createLoanOffer
Traceback (most recent call last):
File "lendingbot.py", line 69, in
Lending.lend_all()
File "/home/abuna/poloniexlendingbot/modules/Lending.py", line 141, in lend_all
usable_currencies += lend_cur(cur, total_lended, lending_balances)
File "/home/abuna/poloniexlendingbot/modules/Lending.py", line 214, in lend_cur
create_lend_offer(active_cur, sum_diff, offer['rate'])
File "/home/abuna/poloniexlendingbot/modules/Lending.py", line 95, in create_lend_offer
msg = api.create_loan_offer(currency, amt, days, 0, rate)
File "/home/abuna/poloniexlendingbot/modules/Poloniex.py", line 174, in create_loan_offer
"lendingRate": lending_rate, })
File "/home/abuna/poloniexlendingbot/modules/Poloniex.py", line 80, in api_query
json_ret = _read_response(ret)
File "/home/abuna/poloniexlendingbot/modules/Poloniex.py", line 46, in _read_response
raise PoloniexApiError(data['error'])
PoloniexApiError: Amount must be at least 1. Requesting createLoanOffer
Unhandled error, please open a Github issue so we can fix it!
2017-01-29 13:01:02 Error: Amount must be at least 1. Requesting createLoanOffer
Traceback (most recent call last):
File "lendingbot.py", line 69, in
Lending.lend_all()
File "/home/abuna/poloniexlendingbot/modules/Lending.py", line 141, in lend_all
usable_currencies += lend_cur(cur, total_lended, lending_balances)
File "/home/abuna/poloniexlendingbot/modules/Lending.py", line 214, in lend_cur
create_lend_offer(active_cur, sum_diff, offer['rate'])
File "/home/abuna/poloniexlendingbot/modules/Lending.py", line 95, in create_lend_offer
msg = api.create_loan_offer(currency, amt, days, 0, rate)
File "/home/abuna/poloniexlendingbot/modules/Poloniex.py", line 174, in create_loan_offer
"lendingRate": lending_rate, })
File "/home/abuna/poloniexlendingbot/modules/Poloniex.py", line 80, in api_query
json_ret = _read_response(ret)
File "/home/abuna/poloniexlendingbot/modules/Poloniex.py", line 46, in _read_response
raise PoloniexApiError(data['error'])
PoloniexApiError: Amount must be at least 1. Requesting createLoanOffer
Unhandled error, please open a Github issue so we can fix it!

Update to latest version.

Thank's a lot! It works again :)

Your Welcome!
I recommend next time to search the closed issues as you might have found the answer there faster. :)


Tables don't scroll horizontally when they're too big for the screen

Related tweet: https://twitter.com/jacobmischka/status/835936216088526850

div#main has an overflow-x: hidden on it
The issue can be solved by adding the following styles to the tables:
    display: block;
    max-width: 100%;
    overflow-x: scroll;

but I am not sure if overriding the display property is a good idea. The other way I can think of is adding a wrapper with the above properties to each table.

Setting:
table td,
table th {
    word-break: break-word;
}

would fit the entire table to the available width. But the result is not very pretty:

Close

Interestingly the rightmost border on the table doesn't display when scrolled all the way right, but this is much better!


Create quarkus configuration to allow changing config file name

Please, let me know, what you think @xstefank

On hold now, as this app will be used for wildfly only currently.

I think this one is relevant again as we already have a configuration file WildFlyBotConfig, what do you think @xstefank . We can add good-first-issue and hacktoberfest labels here then.


Update page title/meta

Description of the feature
Update the page title and possibly other metadata when GitHub user is loaded.
Motivation
It's necessary to set the proper metadata when you want a credible personal website. Since CRA doesn't support SSR, at all, it might be wise to implement Helmet in the page component(s).
Additional context
Luckily, guides like these do exist. But it seems to be opinionated and complex, so I'd rather avoid it for now and only implement Helmet.

:tada: This issue has been resolved in version 0.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


synth_ice40 -noflatten produces multiple drivers in nextpnr

Not sure if it's a yosys or nextpnr issue, but adding -noflatten to the synth_ice40 command gives the following error in nextpnr
ERROR: multiple drivers on net 'o_clk' (pll.PLLOUTCORE and pll.o_clk)

Example design. noflatten.tar.gz
Run make -C noinithacked/tinyfpga_bx-icestorm to reproduce. Also includes the generated json file if you want to look at that in isolation

Hi Olof! Great to see you on here. I don't believe nextpnr can handle non flattened netlists at the moment.

Hi Eddie!
No worries then. I don't actually need to run the P&R in this case, so closing this. Let me know if I should open up an enhancement issue for nextpnr


⚠ Processors has degraded performance

In 6587477, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 49 ms

Resolved: Processors performance has improved in 5a181b4.


qlever-wikidata-proxy should report a 503 if the backend is 503

when the backend is down the server responds but with no proper result. This makes our end to end tests fail since for a server down situation we expect a 503 Service Unavailable
see
https://github.com/WolfgangFahl/pyLoDStorage/blob/master/tests/test_queries.py
def testQueryEndpoints(self):
        """
        tests the sparql endpoint commandline endpoint selection
        """
        testArgs=[
            {"en":"wikidata",},
            {"en":"qlever-wikidata",},
            {"en":"qlever-wikidata-proxy",},
        ]
        debug=self.debug
        showServerDown=True
        for testArg in testArgs:
            endpointName = testArg.get("en")
            args = ["-d", "-qn", "cities", "-p","-l", "sparql", "-f", "json", "-en", endpointName, "-raw"]
            result=self.captureQueryMain(args)

            if not "503 Service Unavailable" in result:
                #if debug:
                #    print(result)
                self.assertTrue("Arnis" in result, f"{endpointName}: Arnis not in query result")
            elif showServerDown:
                print(f"{endpointName} returns 503 Service Unavailable")

Fixed by https://github.com/ad-freiburg/qlever-proxy/commit/c5909cfae9d0f27e0887176c2a2a5dd486f030a8 (already a month ago, but I committed the change only now)


Expanding codebase to support Date-Range picker

Hello @koukibadr, @DevYahia.
I would like to commend you on the great effort you have put into the creation and maintenance of this package.
I would also like to suggest that you add, in future releases, a date range selector where users can select a date range. It doesn't necessarily have to start as DateTime.now(). You can let the developer choose to backdate it to their preference.
Looking forward to seeing this in action!😍🤩🤩

Hello @georonathan47 great idea I will work on it
thanks a lot for your support


[google_maps_flutter_web] Allow Markers with icon:null

Description
The current conversion of our Marker type to gmaps.Marker assumes that marker.icon is never null (internally, it defaults to BitmapDescriptor.defaultMarker), however users can break the default by creating a marker like so:
Marker(markerId: MarkerId('boom'), icon: null);

This PR makes the Marker to gmaps.Marker conversion resilient to the case where the passed icon is null.
Related Issues

Fixes https://github.com/flutter/flutter/issues/64938

Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[x] I updated CHANGELOG.md to add a description of the change.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[x] No, this is not a breaking change.

Addressed PR comments, and rebased branch.


phonegap build plugin id

Hi,
We are using phonegap build with angularjs for one of our hybrid apps.
We are trying to integrate the plugin using this version https://build.phonegap.com/plugins/3403 and we are getting the same issue as in https://github.com/Crypho/cordova-plugin-secure-storage/issues/13 because the plugin id in securestorage.js is not correct:
var sjcl_ss = cordova.require('com.crypho.plugins.securestorage.sjcl_ss') where it should be
var sjcl_ss = cordova.require('com.m2phear.plugins.securestorage.sjcl_ss')
Is there any chance the phonegap plugin will be updated any time soon? any alternatives?
Thanks in advance

Hey,
You are using one of the broken forks instead of the original (hint: this is the repo of the original).
Seems that the plugin you are using has only one change from our original, changing the namespace.
I cannot control the forks nor fix them.
You could also kindly ask @nespapu to remove his broken plugin as it just causes confusion.

Hi again, thanks for replying so soon
Sorry then, we tried using the original plugin "com.crypho.plugins.securestorage", added to config.xml but phonegap build states is an invalid plugin when trying to rebuild.
The correct one is this https://build.phonegap.com/plugins/5851 ?
I´ll get in touch with @nespapu to ask for removal of his plugin

You should be using npm to manage your plugins. Crypho is publishing all releases to the npm registry. The version you indicate is old (we are now on 2.2.2) and build.phonegap.com is deprecated.
I am not using phonegap, but I know others have managed just fine so I am guessing it's a configuration problem. If you post details about what you do and how it fails, I might be able to help.

changed to the version from npm you quoted and seems to be working now, thanks again!

Sorry for reopening the issue but i´m having some misconceptions with how the plugin works.
Once the plugin is instantiated, initialized, for every ss.get do we need to use the success callback in order to manage the data?
Being aysncronous is giving us headaches for how we managed localstorage inside our app (angularjs) previously so maybe i´m looking at it from a completely wrong perspective and need to change the point of view. Should we only use the plugin at start of app to setup values in rootscope and before closing it to store them again if needed?

Cordova plugins unfortunately need to be async. That's how the bridge works.
With that in mind it's not that hard to rethink your app that way. For our own apps we use promises to avoid callbacks.
You are also correct that typically you would read whatever data you need when initialising the app or a some view. If you need a lot of secure data, you might as well store only keys in securestorage and encrypt/decrypt on the client synchronously.

ok, thanks a lot for the advice.

Hi @ggozad and @gorkagb I have just deleted the repository as you asked.


Compiler features that claim to be on by default are actually off

WebAssembly features that are apparently on by default are treated by wabt.js as off. Developers need to explicitly opt into all features desired, including features that are on by default.
It looks like desired features are defined here:
function parseWat(filename, buffer, options) {
...
  var features = new Features(options || ({}));

function Features(obj) {
      this.addr = Module._wabt_new_features();
      for (var i = 0; i < FEATURES.length; ++i) {
        var feature = FEATURES[i];
        this[feature] = obj[feature] | 0;
      }
    }

FEATURES is an array of strings describing all of the recognized features. this[feature] will only be defined if it is included in obj[feature]. No default value is applied.
When developers try to compile using WAT that includes multi-value, for example, the parser/validator will only allow the code to be compiled if the 'multi_value' flag is explicitly defined. As a developer, I would expect that feature switches marked as on by default would be on.

Should be fixed by https://github.com/AssemblyScript/wabt.js/pull/38


.item-after doesn't align correctly on Firefox

It seems as if the :after style used for the border between list items causes Firefox to incorrectly justify the content in .item-inner. If the :after style is switched off, .item-after text is aligned properly. I'm not sure what the best solution would be.

Sorry, don't know either how to fix it, it is a long playing FireFox issue. The only fix here will be remove those :after borders and replace them with plain CSS border

You know, you can add the following CSS rule:
.list-block .item-title {
  width: 100%;
}

But i am not sure that it will not break something else

Ah I see, yes, do you know the issue for that bug? I can't find it with the search.
Thanks for the suggestion, but I'm afraid it causes a few other problems; it may help for some though, since it depends on the markup.

Just google firefox position absolute in flexbox some of the first results lead to FF issues


feat(PersistentVolume): Add iSCSI Persistent Volume and possibility to bind PVs to PVCs in any namespace

This adds the IscsiPersistentVolume class to be able to generate iSCSI backed persistent volumes.
This also adds the ability to bind a PV to a PVC in another namespace than the default one.

@iliapolo Could you take a look please ?

Awesome, thanks for this!


How to migrate in bootatrap 4

In bootatrap 4 classes are changed how to migrate it ..

sory for now bootsnav isn't support for bootstrap 4

I just love ur navbars,
But now im shifting to bootstrap4
And navigation bar is my real problem.
You made bootsnav real quick..
Waiting 4 bootstrap 4's bootssnav

👍  Waiting for v4 :)

:+1: Waiting for v4 :)

Waiting for v4 too! Donate button!


Hash is always pushed to history and saved , need a option to for opt for the same

#433    PR for the same


cabal-install 1.24 attempts to create /homeless-shelter/.cabal/config causing builds to break

Issue description
It appears to me that a number of cabal-install commands in cabal install 1.24 have a side effect of attempting to create ~/.cabal/config which gets expanded to /homeless-shelter/.cabal/config which fails. For example, installing ghcjs fails with
Creating package registration file:
/private/var/folders/_b/wj7ns2190gd3hbz9w0f3m17c0000gn/T/nix-build-ghcjs-0.2.0.drv-0/pkgConf-ghc-prim-0.4.01622650073984943658.0
Config file path source is default config file.
Config file /homeless-shelter/.cabal/config not found.
Writing default configuration to /homeless-shelter/.cabal/config
/homeless-shelter: createDirectory: permission denied (Permission denied)
cabal: Leaving directory './boot/ghc-prim'
Failed to install ghc-prim-<IP_ADDRESS>
cabal: Error: some packages failed to install:
ghc-prim-<IP_ADDRESS> failed during the final install step. The exception was:
ExitFailure 1

Steps to reproduce
I am not entirely sure. Many Haskell libraries install just fine. I think the issue only occurs with things like ghcjs which attempt to invoke cabal-install itself.
This is the patch to cabal-install which I believe is responsible:
https://github.com/haskell/cabal/commit/3bb8c7a9a2499dc2a06325d290628a8c7d8ab6bf
In particular, wrapperAction is changed to call loadConfigOrSandbox
https://github.com/haskell/cabal/commit/3bb8c7a9a2499dc2a06325d290628a8c7d8ab6bf#diff-53e6b83dd13dd8fb7781bc0ce3e6b36bL282
and loadConfig is responsible for trying to create ~/.cabal/config.
A second data point is my cabalsdist helper:
https://github.com/stepcut/cabalsdist
Previous I was able to use it in my default.nix to ensure that only files listed in the .cabal file were added to the src .tar.gz
mkDerivation {
  pname = "happstack-server";
  version = "<IP_ADDRESS>";
  src = cabalsdist { pathname = ./.; };
  # [snip]

But that also started failing with an error about not being able to create /homeless-shelter/.cabal/config.
I have no suggestions for a fix or a work around at this time.

I typically set export HOME=$TMP to work around these kind of issues.

Does this issue still exist?

The issue still exists in that, if you write a Nix package that runs cabal build, you're going to have to be aware of it and apply the workaround.
I opened a Cabal issue. If they're not interested in fixing it there, then I think we ought to reopen this as a documentation issue here.

Why would anyone call cabal build inside of a Nix build? Just run runhaskell Setup.hs build to achieve the same effect with way less moving parts involved.

Because one didn't know you could do that! Either way, documentation issue? :smiley:

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/testing-haskell-projects-that-use-homeless-shelter-up/7540/2


[📚 Firebase Dynamic LInks] write how to test on iOS TestFlight

thanks to this package we save our time to develop app.
Recently I developed applying Firebase dynamic links to our app.
I had a lot of time that how to test receiving Firebase Dynamic Links path and parameters on iOS TestFlight.
especially how can I test receiving dynamic links parameters after installing app.
But I couldn't understand how to test on it.
finally I thought there is a test that go app store via dynamic link then install the app from TestFlight app.
So I think it is helpful how to test dynamic links on iOS TestFlight.
I also  searched document on Flutter Fire, but I couldn't find that about that.
May be it is difficult for developers to test on their first release of dynamic links.
thanks in advance.

@yasu47b
Can you check this link and see if it helps ?

@darshankawar
thanks for your quick reply. I'll check your suggested link.
I Just thought it is helpful that there is a FlutterFire's document that describing test on iOS Test
the contents is like stackoverflow.

[How to test Firebase Dynamic Link with TestFlight (Unpublished ios app)]

So I create this issue.
unless it no need and test process is changed by short span, I think adding it to FlutterFire is very helpful.

@yasu47b you need to add "ifl" param to your link to delegate to beta.itunes
this should install the app from testlfight instead of app store
https://link.xxx.app/?apn=com.xxxxx.xxx&isi=xxxxxxxxx&ibi=com.xxxxx.xxx&ifl=https://beta.itunes.apple.com/v1/app/{appId}&link=https://xxx.xxx.xxx?id=123

Hey @yasu47b, do you mind creating a pull request with the exact steps to follow at the bottom of this page here? 😄


[BUG] - forthebadge.com is down due to which few badges don't load.

Describe the bug
badges such as

built-by-developers.svg
built-with-love.svg
ctrl-c-ctrl-v.svg">
open-source.svg

don't show up because forthebadge.com is down.
Screenshots

Desktop (please complete the following information):

OS: Windows
Browser: Edge
Version: 10

Additional context
I think would we should the changes the source to more reliable one.

Thanks for reporting this issue @PriyansuMaurya. If you know any reliable source, please raise a PR. 👍🏾

Yeah, sure. Just assign it to me,


CB-10234 Better error message when Windows10 requires 'arch' flag

This patch adds the following error message:

Original message is showed below:

@rakatyal FYI - LGTM!

Looks good. Thanks Sergey.


Disable failing NSNumber bridging tests

Exact conversions are succeeding on 64-bit Linux.

@swift-ci Please test

This looks like we are just commenting out code. When will we go back and fix these issues?

Are these tests only failing on 32bit platforms? If so it might be better to document that in the tests

@alblue Sorry about that! Opened SR-6322 and added FIXMEs to the commented out bits.

@swift-ci Please test

@swift-ci Please test and merge


Reflow updating the legend not using graphInstance object

What part of Carbon does this bug correlate to?
General graph logic:

[X]  Graph attributes (axes, legends, regions...etc.)
[ ]  Other (please specify):

Specific graph logic:

[ ]  Bar graph
[ ]  Bubble graph
[ ]  Gantt chart
[ ]  Line graph
[ ]  Paired result
[ ]  Pie chart
[ ]  Scatter plot
[ ]  Timeline

Describe the bug
The legend is updated during reflow using the dom query selector and not using the graph instance object. If there are 2 graph objects and have the same legend in both graphs, then when we try to toggle off the legend of any of the graph and click on panning, it will show unusual behavior.
Link to CodeSandbox
Use this template to reproduce the behavior.
Expected behavior
When we update the toggle off the legend of a particular graph, then during reflow the legend of other graph instances should not get affected.
Screenshots
When we load two graph instances with same legend,

On reflow, after toggling off the first legend,

On reflow, after toggling off the second legend,

@pranav300 Since we are done with the migration, you can raise this issue PR in terra-graphs. Please feel free to contact me if you have any issues in raising PR.


Middlewares

Middlewares are lovely.
They're useful for all kinds of stuff, and they're especially useful when accompanied by a great routing library.
We need to figure out a nice design to apply middlewares to Routes, Groups and Subroutes. Chi does this amazingly well

I'd imagine we could do it similarly to chi, just with our Handler type instead.


Add test utils to abstract away implementation details

you may also consider methods like hasTag(span, key, value) and similar for the logs. Can also have plural versions of those (i.e. input is a subset of span data). Comparing the full set of tags/logs is often problematic because it's a bit implementation dependent (e..g root span might have more tags).


Replication of subscriptions

(This is somehow related to #70, so I've reopened it.)
I have a cluster with two nodes, and I'm trying to "manually" subscribe clients to topics using vmq_reg:subscribe as described in #70.
However, I am noticing that if I issue the vmq_reg:subscribe/4 command (either from the console or a plugin) in a node different from the node the client has last been connected to, the subscription won't take effect and no offline messages will be stored. Here's a picture for a better understanding:

If, however, the subscription is directed to the last node the client was connected to, everything goes smoothly:

@ioolkos Is there anything that can be done to mitigate this?

Thank you for this great issue report!
Just realized this might actually be related to queues. you try a subscription, but there is no queue there. if you do the same process, but from a regular mqtt client, does it work like expected?
You might use the gen_mqtt from the vmq_commons package programmatically.
This would make vmq_reg:subscribe only "functionally" similar on the same node unfortunately.
I'll have to look deeper into this.

@ioolkos You're most welcome :-) I'll have a try at that and report back. In the meantime, would it "hurt" if I somehow broadcasted the vmq_reg:subscribe request to all the nodes? Could there be any problem with that later (during session migration, for example)?

@ioolkos I tried running
gen_emqtt:subscribe(Pid, [<<"a">>, <<"b">>], 1).

But I am not entirely sure if I got it correctly since I got some errors. Should Pid be the queue PID? I got this:
11:09:05.830 [error] got unknown event in online state {subscribe,[{[<<"c">>,<<"351914403106">>,<<"1">>],1}]}

@ioolkos I've got new input which may be useful. If I broadcast the subscription to every node and call vmq_reg:subscribe without checking if there is a local queue for that particular client ID, no more messages will be received (even if one of those subscribes was issued to the correct node).

does any log show that the queue crashes if you do the broadcast?
if you want to trace this a little, erlyberly is very easy to use
the pid from gen_emqtt is the pid of the client state machine itself (you have to start the client with one of the start functions in gen_emqtt).
But you figured probably more out than I have by now

You definitely need a queue. So the broadcast won't work.
Can you post how you actually start the client?  Then I disconnect one of them, force a subscription and later reconnect it and check whether offline messages are being delivered.

@ioolkos My current workaround is to use a gen_server in the plugin and use gen_server:multicall/3 to the result of vmq_cluster:nodes(). Then, in the handle_call callback I use vmq_reg:status to check if the client has a queue in the current node and, in case it does, do the subscription (ignoring the request otherwise). Do you think this is a good idea?

No too fond of doing it this way, but I can't offer better right now :)

@ioolkos Yes, I'm too not too fond of this. But do you see any possible issues with this?

@testark you shouldn't use vmq_reg:subscribe directly as multiple edge-cases aren't considered.
As you know we currently don't expose a 'real' internal interface for doing such things so I would stick to using the 'external' interface, MQTT. Our bundled simple MQTT client gen_emqtt should be enough for that, we currently use it in the erlio/vmq_bridge.

@dergraf for a couple of reasons I cannot resort to MQTT for doing these subscriptions (as I would have to connect with the target client's ID and would start receiving offline messages right away, which is not acceptable in our use case). It would be great if in the future you could provide an API for this, but until then I must really resort to calling vmq_reg:subscribe directly.

ok. Probably you've already dig into the vmq_reg details but this is something you must be aware of when using it. Currently subscriptions are replicated in our internal distributed subscriber store (using plumtree). The subscriber store is essentially a key value store storing entries in the following format
Key:                    Value:
SubscriberId1     [{Topic1, QoS, NodeA}, {Topic2, QoS, NodeA}]
SubscriberId2     [{Topic1, QoS, NodeB}, {Topic2, QoS, NodeB}]

Calling vmq_reg:subscribe(false, User, SubscriberId1, [{Topic3, QoS}])  on  NodeB will transform the Subscriber entries to:
Key:                    Value:
SubscriberId1     [{Topic1, QoS, NodeB}, {Topic2, QoS, NodeB}, {Topic3, QoS, NodeB}]
SubscriberId2     [{Topic1, QoS, NodeB}, {Topic2, QoS, NodeB}]

At this moment the routing process will relay messages for SubscriberId1 to NodeB, but won't find a matching queue process. I think one can conclude that prior to manually calling vmq_reg:subscribe for the first time a vmq_reg:register_subscriber(SubscriberId, QueueOpts)  should be issued on the same node. vmq_reg:register_subscriber will then check the other nodes for already existing queues and migrate them (and its messages) to the new node.
Hope this makes sense.

@dergraf I deeply appreciate and thank you for your explanation. Yes, that's more or less what I ended up doing—I implemented a gen_server behaviour and broadcast to all nodes the request for subscription. Then I have each node checking if there is a local queue for that client and only issue the vmq_reg:subscribe call in case there is one. Is this acceptable?

Probably. However, keep in mind that in case of a consistent cluster (no network partition) as well as allow_multiple_sessions=false (default) is used only one queue per clientid can exist at anytime in the cluster. In short, ensure that you are very sure that vmq_reg:subscribe is issued on the proper node, otherwise you're going to loose messages without knowing it.

@dergraf I understand. Thank you very much for your thorough explanation!

Closing this for now, feel free to reopen if you have further questions.


Implement a Proper Way to Check “New Scratcher” Status

For Scratchattach, it would be very helpful if there was a simple way to check if a particular user is a New Scratcher or Scratcher.
There is already code in Scratchattach that allows you to check your own account for the status but that it not helpful in my case.
session.new_scratcher #Returns True if the associated account is a New Scratcher
If added, it should probably look something like this.
username.new_scratcher #Returns True if the username is a New Scratcher
Currently, I have to make use of something like this to check if the account is less than 2 weeks old but this does not catch all New Scratchers.
iso_date = session.connect_user(event.user).join_date
if (time.time() - (datetime.datetime.strptime(iso_date, "%Y-%m-%dT%H:%M:%S.%fZ").timestamp())) < 1209600):
    # code here…

Good idea! This could be done with web scraping if nothing else works
Are-You-a-Person @.***> schrieb am Do., 23. Mai 2024,
04:51:

For Scratchattach, it would be very helpful if there was a simple way to
check if a particular user is a New Scratcher or Scratcher.
There is already code in Scratchattach that allows you to check your own
account for the status but that it not helpful in my case.
session.new_scratcher #Returns True if the associated account is a New
Scratcher
If added, it should probably look something like this.
username.new_scratcher #Returns True if the username is a New Scratcher
Currently, I have to make use of something like this to check if the
account is less than 2 weeks old but this does not catch all New Scratchers.
iso_date = session.connect_user(event.user).join_date
if (time.time() - (datetime.datetime.strptime(iso_date,
"%Y-%m-%dT%H:%M:%S.%fZ").timestamp())) < 1209600):
code here…
—
Reply to this email directly, view it on GitHub
https://github.com/TimMcCool/scratchattach/issues/211, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCKMZQQ6DP5SJFJIMLHI73ZDVKRNAVCNFSM6AAAAABIEYFHZ6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGMYTCOBSGUZDAOA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

🚨 hecker detected !!! bad person  (https://github.com/Are-You-a-Person/scratchSploit/tree/main/scripts) hacks
Anyway, the scratch api doesn't provide this, but
we can fetch it ourselves (in a hacky way):
def is_new_scratcher(username):
    res=arc.scratch3.requests.get(f"https://scratch.mit.edu/users/{username}/").text
    group=res[res.rindex('<span class="group">'):][:70]
    return "new scratcher" in group.lower()

This code can break if scratch receives a very big update (never).
I'm providing help because I see you need this for your ban_annoyances project and you understand the consequences of hacking.

ok

I will update the ban_annoyances code on my GitHub page since it’s extremely outdated; I fixed a bunch of issues with it over time and added improvements to make it more efficient at blocking hackers.

user.is_new_scratcher() has been added in v1.3.7 (will be released in a few minutes)

Great!


DPU - Public Utilities map and data rebuild

Benefit

Critically needed data updates for several layers
Migrate from AGOL Web AppBuilder app, which will no longer be supported by Esri after July 1, 2024

Acceptance Criteria

Updated data sets for

Rural telecom
Natural gas service areas (approximate)
Electric service areas

Instant App, ExB or similar to replace the features and functionality of the Utah Public Utilities app

Sprint 1 Tasks

[ ] Meet with DPU to discuss data update coordination with utility providers
[ ] Reacquaint with existing data and app and start considering new app alternatives

Sprint 2

[ ] Compare URTA data from Feb. 2022 with the current URTA web map, and the UGRC Rural Telecom Boundaries
[ ] Continue to work on obtaining electrical and natural gas service areas

Sprint 2 Notes

Sent PacifiCorp GIS data request on October 17 (cc'd Jana Saba)

Started aggregating electric service providers from G:

Sprint 3

[ ] Use URTA data and FCC study area boundaries to build a new Utah Telecom Boundaries data set to replace Rural Telecom Boundaries
[ ] Continue aggregating electrical co-op service provider boundaries
[ ] Continue to work on obtaining electrical and natural gas service areas

UMPA & UAMPS

Sprint 3 Notes
The natural gas municipal system managers were harder to get in touch with. Zach reached out to the UMPA group. Still waiting for a response from Mike Squires about the UAMPS members.

Sprint 4

[ ] Finish rural telecom data set

[ ] Porter issues to deprecate rural telecom and introduce Utah telecom

[ ] Follow-up on natural gas areas, and other pending electrical contacts

Sprint 5

[ ] Finish telecom data set

[ ] Porter issues to deprecate rural telecom and introduce Utah telecom
[ ] Create calendar reminder to check on FCC data in one year

[ ] Natural gas: final follow-up with Hildale, Nephi
[ ] Electrical: final follow-up on pending contacts
[ ] Finish up map/app and send to Ron and Chris at DPU

NOTE:

Nathan will be in contact with Mike Squires from UAMPS during this sprint

Q3 Sprint 1 Tasks

Q3 Sprint 1 Notes

2024/01/08 - Sent new app to Chris and Ron for testing and feedback

Q3 Sprint 3 Notes

Waiting for a response to the feedback doc.
Still trying to figure out a way to link to websites from county/municipality utility lists.

New url without 'template'
https://experience.arcgis.com/experience/e9c56c0135084f47920317704b0d3d2c

Considered done unless issues found by DPU

Q3 Sprint 4

[ ]  Decommission old DPU app


Provide an ongoing working Terminal able to integrate with Atom.

Summary

One paragraph explanation of the feature.

Provide or support the maintenance of a working terminal for Atom.
Contenders for forks: Platformio-IDE-Terminal
Motivation

Why are we doing this? What use cases does it support? What is the expected outcome?

Currently there is ONLY one barely just working Terminal for Atom and that is no longer actively developed and has just about been able to survive the Atom 1.28.0 and electron 2.0.3.
Motivation: The future of Atom, how will Atom justify its existence in the modern editor world without a built-in or working Terminal that integrates in Atom?
Describe alternatives you've considered

A clear and concise description of the alternative solutions you've considered. Be sure to explain why Atom's existing customizability isn't suitable for this feature.

One alternative is VScode from your parent company MIcrosoft, but its also the death to opensource competition and innovation.
A second alternative is revert to ancient editors and/or OLD workflows. Use convoluted workflows with external consoles.
Additional context
Add any other context or screenshots about the feature request here.
There was already a request that was closed see  atom/atom#12649
Back then there were actively developed alternatives, now, the reality has changed.

atom-ide-ui provides a terminal emulator since v0.11.0. Regrettably, the last version seems to be broken on Windows (https://github.com/facebook-atom/atom-ide-ui/issues/278)

Thanks for the suggestion. The closest we're going to get to a built-in terminal is in atom-ide-ui.


Upload plugin doesn't work on IE

On my website i've installed the upload plugin :

works fine on Firefox and Chrome
doesn't work on IE11

When I tried to debug I noticed that the $_FILES variable is empty when sended via IE11 or IE10. var_dump($_FILES) is array(0) {}.
Any idea to fix it ? Am I missing a parameter ?

I need to check that. Idk for now :/

Is this "bug:plugin" found by many people? I have tested uploading images using IE10 and IE11 on my website and they work OK. I am using https://cdnjs.cloudflare.com/ajax/libs/Trumbowyg/2.17.0/plugins/upload/trumbowyg.upload.js

So I assume taht the upload plugin is working on IE :)
I've never checked since my comment (oops)


fix: apply and use theme colors on landing page and algolia

The theme "light" will now be applied to the landing page. This doesn't have much of an effect but it allows us to use the newly introduced theme colors there. I've styled the algolia search box using the new theme colors.
The twitter cards also now don't look out of place anymore.
The primary font family will be switched to Inter. If you do not like this change, please leave feedback below on why you oppose the idea.
✅ Checklist

[x] I have followed every step in the contributing guide (updated 2022-08-15).
[x] The PR title follows the convention we established conventional-commit
[x] I performed a functional test on my final commit

Can we also change the styling in light mode? Currently it shows the same styles for both light and dark mode.

Yes, should be fairly easy to implement.

This only works in the docs because the landing page defaults to light theme. Changing the default theme to dark would break the landing page because it was written with light theme in mind.
I'll attempt to change the default to dark theme now.

Okay, so apparently this was already implemented but when the theme colors were introduced, the color "base" was implemented. Whenever text-base was used it did not only affect the text size but also the color which resulted in the landing page theme being broken. I'm fixing it now...

I like it. Imo we don't need a light and dark landing page, with its current colors, it's somewhere in between already :)

Footer on docs look a bit weird though

Could you look into fixing the scroll behavior of the left sidebar too, I dont think it should scroll with the page.
https://share.cleanshot.com/c26dQD

I like it. Imo we don't need a light and dark landing page, with its current colors, it's somewhere in between already :)

Yeah, that's what I was thinking too. The problem was that I needed the dark theme colors to also be available on the landing page because the Algolia is styled using them. So I had to fix the styling issues that the introduction of the dark theme brought with it, that's all.

Could you look into fixing the scroll behavior of the left sidebar too, I dont think it should scroll with the page.
Yes

Footer on docs look a bit weird though

I'm gonna look into it

#465 refactors things on the blog page, and seems to fix scroll behavior as well as removing grid in favor of copying what astro.build did for their layout. I think merging this issue first will be ideal, since the other changes lots of classes. Lmk if you prefer to merge #465 into this branch or if you prefer to maintain them as separate PRs

@gabrielelpidio Let's merge #465 into this branch.

#465 refactors things on the blog page, and seems to fix scroll behavior as well as removing grid in favor of copying what astro.build did for their layout. I think merging this issue first will be ideal, since the other changes lots of classes. Lmk if you prefer to merge #465 into this branch or if you prefer to maintain them as separate PRs

I can't rebase your PR onto this branch since it's from different forks, is it ok if I merge #465 and then you can update this branch @Coyenn?

@juliusmarminge Sure!

@juliusmarminge Resolved.

whoops sorry

found a bit of an edgecase: https://share.cleanshot.com/ouedza

Also the footer seems to have been messed up

We could merge this PR and I'll have a look at those bugs later

@Coyenn @gabrielelpidio I'll invite you guys as contributors so that you can create branches in the repo, that way it's easier to collaborate and fix conflicts etc

We could merge this PR and I'll have a look at those bugs later

alright

@juliusmarminge I'll address the bugs/improvements in your comments today or tomorrow after I finish #475 👍


⚠ Bofrost.be has degraded performance

In efde6f1, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 935 ms

Resolved: Bofrost.be performance has improved in b025beb.


Support for UPSERT

https://github.com/tablelandnetwork/go-sqlparser/issues/15

Close with https://github.com/tablelandnetwork/wasm-sqlparser/pull/37


i want to breakdown devices

[Enter feedback here]

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

ID: 35f8441a-d145-c5ce-36ee-49058d0c09b4
Version Independent ID: 49a7f4be-4d96-8b7b-537d-3a758d0a4beb
Content: Change a drive letter
Content Source: WindowsServerDocs/storage/disk-management/change-a-drive-letter.md
Product: windows-server
Technology: storage
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

Hey fizafatima12,
We're unable to determine what the intent of your question is. If there are any errors or areas of improvement with said documentation, please let us know so we may better assist.
We're closing this issue. Thank you and have a most pleasant day.
#please-close


Create esbonio.lua

Add esbonio.lua for support Sphinx(rst)

This is a dupe of GH-1292.

waiting for it :)


Json streaming support [WIP]

Marking it as still WIP since I'm going to implement for all modules. I just need to know if I should fix something in this module (play-json) first.
=)

Thanks for your contribution. I am currentlyon vacation and will review as soon as possible when back.

Finished 6 modules, three to go.

I left akka-http-avsystem-gencodec behind since it's not compiling.
I think that's it. Sorry for the 1k LoC, but, the code is pretty much the same between the modules, with a few adjusts to work with the respective libraries.


Minor RTK mutation function call fix

What docs page needs to be fixed?

Section: Redux Essentials
Page: Part 8 RTK Query Advanced Patterns

What is the problem?
Seems like a minor typo/missing function call in the usage of mutation function. In part 7, it is stated that the .unwrap() function needs to be called for the RTK mutation query.

As with the thunk dispatch, we call addNewPost with the initial post object. This returns a special Promise with a .unwrap() method, and we can await addNewPost().unwrap() to handle any potential errors with a standard try/catch block.

Whereas in part 8 code snippet for Editing Post, the .unwrap() call is missing for a very similar mutation function.
  const [updatePost, { isLoading }] = useEditPostMutation()

  /* code omitted */

  const onSavePostClicked = async () => {
    if (title && content) {
      await updatePost({ id: postId, title, content }) // <- this should have a .unwrap() ?
      history.push(`/posts/${postId}`)
    }
  }

What should be changed to fix the problem?
Add .unwrap() to the code snippet

adding unwrap is a specific choice for the call site - by default, the promise will not reject regardless of whether the request succeeded or not.
calling unwrap makes it so it will reject the promise for an unsuccessful request, which means you should be adding specific error handling (.catch or try catch) for that promise rejection.
calling a trigger without unwrapping essentially says "i don't care if the request succeeds or not, i just want to try it - I'll probably handle the failure via the hook result instead". this is a valid choice, and likely the one this example is conveying.
when you add an unwrap without handling the error it might throw, you'll end up with logged errors about an unhandled promise rejection, which is usually undesirable.


Support Request: Errors and Warning for Switchbot Curtain, not sure where to configure these values

Describe Your Problem
Once restarting the plugin (it runs in a child bridge) I see the following log entries for my two Switchbot curtain. I already deleted cached devices, the errors and warning appear again and again. But I am not sure where to put these config values so they go away; it seems to be just some wrong default values.
Relevant log output
[2/3/2024, 9:48:50 AM] [@switchbot/homebridge-switchbot] This plugin threw an error from the characteristic 'Hold Position': Characteristic Property 'minValue' can only be set for characteristics with numeric format, but not for bool. See https://homebridge.io/w/JtMGR for more info.
[2/3/2024, 9:48:50 AM] [@switchbot/homebridge-switchbot] This plugin threw an error from the characteristic 'Hold Position': Characteristic Property 'maxValue' can only be set for characteristics with numeric format, but not for bool. See https://homebridge.io/w/JtMGR for more info.
[2/3/2024, 9:48:50 AM] [@switchbot/homebridge-switchbot] This plugin threw an error from the characteristic 'Hold Position': Characteristic Property `minStep` can only be set for characteristics with numeric format, but not for bool. See https://homebridge.io/w/JtMGR for more info.
[2/3/2024, 9:48:50 AM] [@switchbot/homebridge-switchbot] This plugin generated a warning from the characteristic 'Hold Position': Characteristic Property `validValueRanges` was supplied for non numeric format bool. See https://homebridge.io/w/JtMGR for more info.

Config for homebridge-switchbot
{
            "name": "homebridge-switchbot",
            "credentials": {
                "token": "redacted",
                "secret": "redacted",
                "notice": "Keep your Token & Secret a secret!"
            },
            "options": {
                "devices": [
                    {
                        "deviceId": "xxx",
                        "configDeviceName": "Büro Synology",
                        "configDeviceType": "Bot",
                        "connectionType": "OpenAPI",
                        "bot": {
                            "mode": "press",
                            "deviceType": "switch"
                        }
                    },
                    {
                        "deviceId": "xxx",
                        "configDeviceName": "Büro Vorhang",
                        "configDeviceType": "Curtain",
                        "connectionType": "OpenAPI",
                        "curtain": {
                            "setOpenMode": "1",
                            "setCloseMode": "1"
                        },
                        "history": true,
                        "logging": "standard"
                    },
                    {
                        "deviceId": "xxx",
                        "configDeviceName": "Schlafzimmer Vorhang",
                        "configDeviceType": "Curtain",
                        "connectionType": "OpenAPI",
                        "curtain": {
                            "setOpenMode": "1",
                            "setCloseMode": "1"
                        },
                        "history": true,
                        "logging": "standard"
                    }
                ],
                "refreshRate": 360,
                "pushRate": 1,
                "logging": "standard"
            },

Screenshots
No response
Device & Model
Switchbot Curtain
Node.js Version
v20.11.0
NPM Version
?
Homebridge Version
v1.7.0
Homebridge SwitchBot Plugin Version
latest
Homebridge Config UI X Plugin Version
v4.55.1
Operating System
Raspian

#909 fixes this.

Installed the 3.1.1-beta and the warnings are gone.


Problems with beta.3

What was changed in beta.2 and beta 3. ?  I now get errors with digest, and have bloblems with sorting in selected list

problem has to do with changing width of the dropdown, if you give the component a fixed width the problems should be resolved. I currently need to focus on other things than dynamic width.

I don't understand how width can cause Uncaught Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
And when I check item it doesnt show in dropdown. Some format of data maybe was changed, but I cant recognise what format.

The only thing that has been changed is in the smartbuttontext converter. Where when the button is smaller than ... only ... is displayed, however due to css displaying ... can result in the button growing => there is enough place to display "D..." => button growing, etc.
Due to smartbuttontext changing every time it's called you can get the digest error.

Anything helps me with this bug, but another problem is with sort
https://plnkr.co/edit/OI7UXW08lfN8CYm4y2r5?p=preview
I have list of names. When I select e.g. Sergey and Dmitriy, Sergey is upper, but when Sergey, Dmitriy and Aleksandr -> then Dmitriy is upper. Smth wrong happens with sorting


Question about error 356

Hi,
I'm trying to mimic routines in "~/legion/language/examples/circuit/circuit_dep_par2.rg" for my application. However, I wasn't able to find a solution for resolving "error 356" in my code. Would someone briefly look the code (about 70 lines) and advice me what I'm missing?
test.rg.gz
The problem has 10 "Elem" elements and 9 "surf" elements. A "surf" element connects adjacent "Elem"s. "Elem" is divided into two partitions(from 0 to 4 and from 5 to 9). I divided "Elem" in three group - Private, Shared and Ghost as in circuit example.
Partition 0 : Private = 0,1,2,3 / Shared = 4 / Ghost = 5
Partition 1 : Private = 6,7,8,9 / Shared = 5 / Ghost = 4
When I tried to use + reduction for a "surf" element which connects "Elem" 4 and 5, I'm getting error 356.

I think this is a combination of a compiler bug and user error. You shouldn't need to specify read-only privileges on 'qShared.sum' and 'qGhost.sum' in the 'residualSurfaceCross' task if you are only going to be doing reductions to those fields. By adding those fields the compiler is promoting your privileges to 'read-write' since that is the privilege that supports both 'read-only' and 'reduction' privileges on the same field. This lead to the error that you get from the runtime about having interfering region requirements. Ideally the compiler would have caught this scenario statically as we document in (still outstanding) issue #195, but the compiler has not caught up enough yet to be able to do this which is why you get the runtime error.
All this being said, it seems that 'read-only' privileges need to be specified even though I don't think they should be. When I remove the read-only privileges the compiler hits an internal assertion which should never happen so I am assigning @elliottslaughter and @magnatelee to fix the bug. This code should be able to work with just reduction privileges.
Here is the internal compiler assertion when read-only privileges are removed on 'qShared.sum' and 'qGhost.sum':
/Users/mebauer/legion/language/src/regent/std_base.t:260: assertion failed!
stack traceback:
[C]: in function 'assert'
/Users/mebauer/legion/language/src/regent/std_base.t:260: in function 'find_field_privilege'
/Users/mebauer/legion/language/src/regent/std_base.t:288: in function 'find_task_privileges'
...gion/language/src/rdir/plugin/src/regent/flow_from_ast.t:1212: in function 'get_privilege_field_map'
...gion/language/src/rdir/plugin/src/regent/flow_from_ast.t:1357: in function 'stat'
...gion/language/src/rdir/plugin/src/regent/flow_from_ast.t:1831: in function 'fn'
src/asdl.lua:16: in function 'map'
...gion/language/src/rdir/plugin/src/regent/flow_from_ast.t:1829: in function 'block'
...gion/language/src/rdir/plugin/src/regent/flow_from_ast.t:1891: in function 'stat'
...gion/language/src/rdir/plugin/src/regent/flow_from_ast.t:1831: in function 'fn'
src/asdl.lua:16: in function 'map'
...gion/language/src/rdir/plugin/src/regent/flow_from_ast.t:1829: in function 'block'
...gion/language/src/rdir/plugin/src/regent/flow_from_ast.t:3319: in function <...gion/language/src/rdir/plugin/src/regent/flow_from_ast.t:3308>
/Users/mebauer/legion/language/src/regent/passes_hooks.t:41: in function 'optimize'
/Users/mebauer/legion/language/src/regent/passes.t:54: in function </Users/mebauer/legion/language/src/regent/passes.t:46>
test.rg:49: in main chunk

As a short-term workaround for the issue, you can follow @lightsighter's advice and then run with -fflow 0 to get around the assert in the compiler. There is a known bug when using RW privileges on statically aliased regions, but I didn't think it would occur with reductions. I'll have to take a look, and many of these RDIR bugs can be quite pernicious.

Thank you @lightsighter and @elliottslaughter. I followed your advice and additionally changed field type of "sum" to int64(not uint64). Then it worked fine. Closing the issue.


Fixed broken link in line 34

Fixed the broken link for the Microsoft 365 Business Service Description found in line 34.
Closes #407

@Sirkkuw - PR is ready for final review. This is just a broken link issue based on #407
Thank you.

@mypil - done.


Automated Package Upgrade

:tada: This PR is included in version 12.0.8 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Differences in Numpy function output compiled with Numba

Hello.
I'm working in a Miniconda enviroment, using Python+Numpy+Numba code. I implemented a basic nearest-neighbors search in my study work. The fact is that the basic Numpy implementation is working well, but just adding the '@jit' decorator (compiling in Numba), the outputs are differents (it duplicates some neighbors in the end for some unknown reason...)
Here is the basic algorithm:
import numpy as np
from numba import jit

@jit(nopython=True)
def knn(p, points, k):
    '''Find the k nearest neighbors (brute force) of the point p
    in the list points (each row is a point)'''

    n = p.size  # Lenght of the points
    M = points.shape[0]  # Number of points
    neighbors = np.zeros((k,n))
    distances = 1e6*np.ones(k)

    for i in xrange(M):
        d = 0
        pt = points[i, :]  # Point to compare
        for r in xrange(n):  # For each coordinate
            aux = p[r] - pt[r]
            d += aux * aux
        if d < distances[k-1]:  # We find a new neighbor
            pos = k-1
            while pos>0 and d<distances[pos-1]:  # Find the position
                pos -= 1
            pt = points[i, :]
            # Insert neighbor and distance:
            neighbors[pos+1:, :] = neighbors[pos:-1, :]
            neighbors[pos, :] = pt
            distances[pos+1:] = distances[pos:-1]
            distances[pos] = d

    return neighbors, distances

For testing:
p = np.random.rand(10)
points = np.random.rand(250, 10)
k = 5
neighbors, distances = knn(p, points, k)

WITHOUT the @jit decorator, one gets the correct answer:
In [1]: distances
Out[1]: array([ 0.3933974 ,  0.44754336,  0.54548715,  0.55619749,  0.5657846 ])
But the Numba compilation gives weird outputs:
Out[2]: distances
Out[2]: array([ 0.3933974 ,  0.44754336,  0.54548715,  0.54548715,  0.54548715])
It seems (realized in discussion here) that there are problems with the overlapping slice. In Numpy it doesn't causes any problem, but may be Numba translates it to a different procedure.
Thanks you.

this does sound like an issue with overlapping slices.  @pitrou, can you take a look at this?

Right, we don't detect overlapping memory copies. Numpy has some heuristics to make sure this doesn't happen (when it detects the source and destination may overlap, it first makes a private copy of the source).

I think we'll need to support those same heuristics since it looks like people do rely on this behavior.

Yes, our current behaviour really is a bug. It seems Numpy is conservative and just checks the memory bounds (even though there may be "holes" due to slicing).


[Bug] Corner not clickable in request tab

After https://github.com/usebruno/bruno/pull/1649 i noticed that is not possible to close the tab clicking in corners or even out of the text, wich is not true for select (focus) the request tab. It seems a CSS problem that impacts UX.

Hey @lucasmbrute2 !
Thanks for taking time to work on this PR.
The functionality to close the tab on middle-click of mouse is already available in the latest versions of Bruno.
Increasing the clickable area in the request tabs could have the unintended consequence of someone attempting to click on the tab to open it, but instead closing the tab.


Backport example of passing through command-line flags

In https://github.com/tiny-pilot/tinypilot/pull/1768, we added a way to parse some flags in our bash script and then pass the remaining flags to a subprocess we call at the end of the script.
We should document this as the standard way of performing this so that we don't have to reinvent the wheel in the future.

@jotaen4tinypilot - Can you create those as separate bugs? I want to keep each bug tightly scoped so that we don't end up ballooning up scope when we try to improve the style guides.

We could consider switching from while [[ "$#" -gt 0 ]]; do to while (( "$#" > 0 )); do for parsing flags.

This one is small enough that it can just be a direct PR.
Actually, if any of them are less than 2 hours, you can just submit them as direct PRs if you feel inclined.


test_collections: update torsiondrive test to avoid 90 degree dihedral

Description
This PR attempts to resolve #427 by avoiding planar HOOH.
Changelog description
No changelog needed.
Status

[x] Ready to go

This is marked as draft?

Well, I didn’t know if CI would pass. Go ahead and merge, and we’ll reopen the issue if it happens again.

On Dec 2, 2019, at 18:41, Daniel Smith<EMAIL_ADDRESS>wrote:

This is marked as draft?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


[ADN] Unable to log in: HTTP Error 403: Forbidden / Requested format is not available. Use --list-formats for a list of available formats

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
france
Provide a description that is worded well enough to be understood
Hello,
I am living in France. I am facing issues to download from ADN
here is th list of format available for the video i want to download :
[debug] Command-line config: ['-vU', '-u', 'PRIVATE', '-p', 'PRIVATE', '-F', 'https://animationdigitalnetwork.com/video/647-dragon-quest-the-adventure-of-dai-fly-daibouken/12718-episode-1']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out cp1252 (No VT), error utf-8, screen cp1252 (No VT)
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [4d9231208] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: none
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.07.04, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.2, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1830 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp)
[ADN] Logging in
[ADN] Extracting URL: https://animationdigitalnetwork.com/video/647-dragon-quest-the-adventure-of-dai-fly-daibouken/12718-episode-1
[ADN] 12718: Downloading player config JSON metadata
[ADN] 12718: Downloading access token
[ADN] 12718: Downloading links JSON metadata
[ADN] 12718: Downloading vf mobile JSON metadata
[ADN] 12718: Downloading m3u8 information
[ADN] 12718: Downloading vf sd JSON metadata
[ADN] 12718: Downloading m3u8 information
[ADN] 12718: Downloading vf hd JSON metadata
[ADN] 12718: Downloading m3u8 information
[ADN] 12718: Downloading vf fhd JSON metadata
[ADN] 12718: Downloading m3u8 information
[ADN] 12718: Downloading vf auto JSON metadata
[ADN] 12718: Downloading m3u8 information
[ADN] 12718: Downloading vostf mobile JSON metadata
[ADN] 12718: Downloading m3u8 information
[ADN] 12718: Downloading vostf sd JSON metadata
[ADN] 12718: Downloading m3u8 information
[ADN] 12718: Downloading vostf hd JSON metadata
[ADN] 12718: Downloading m3u8 information
[ADN] 12718: Downloading vostf fhd JSON metadata
[ADN] 12718: Downloading m3u8 information
[ADN] 12718: Downloading vostf auto JSON metadata
[ADN] 12718: Downloading m3u8 information
[ADN] 12718: Downloading additional video metadata
[info] Available formats for 12718:
ID           EXT RESOLUTION |    FILESIZE   TBR PROTO | VCODEC      ACODEC    MORE INFO
vostf-416    mp4 640x360    | ~  71.51MiB  416k m3u8  | avc1.4d001f mp4a.40.2
vf-768       mp4 640x360    | ~ 132.16MiB  769k m3u8  | avc1.4d001f mp4a.40.2 [fr]
vf-696-0     mp4 853x480    | ~ 119.64MiB  696k m3u8  | avc1.640028 mp4a.40.2 [fr]
vf-696-1     mp4 853x480    | ~ 119.64MiB  696k m3u8  | avc1.640028 mp4a.40.2 [fr]
vostf-696-0  mp4 853x480    | ~ 119.64MiB  696k m3u8  | avc1.640028 mp4a.40.2
vostf-696-1  mp4 853x480    | ~ 119.64MiB  696k m3u8  | avc1.640028 mp4a.40.2
vf-3129-0    mp4 1280x720   | ~ 537.92MiB 3129k m3u8  | avc1.640028 mp4a.40.2 [fr]
vf-3129-1    mp4 1280x720   | ~ 537.92MiB 3129k m3u8  | avc1.640028 mp4a.40.2 [fr]
vostf-3129-0 mp4 1280x720   | ~ 537.92MiB 3129k m3u8  | avc1.640028 mp4a.40.2
vostf-3129-1 mp4 1280x720   | ~ 537.92MiB 3129k m3u8  | avc1.640028 mp4a.40.2
vf-5829-0    mp4 1920x1080  | ~1002.04MiB 5829k m3u8  | avc1.640029 mp4a.40.2 [fr]
vf-5829-1    mp4 1920x1080  | ~1002.04MiB 5829k m3u8  | avc1.640029 mp4a.40.2 [fr]
vostf-5829-0 mp4 1920x1080  | ~1002.04MiB 5829k m3u8  | avc1.640029 mp4a.40.2
vostf-5829-1 mp4 1920x1080  | ~1002.04MiB 5829k m3u8  | avc1.640029 mp4a.40.2
here is when i try donwload :
[debug] Command-line config: ['-vU', '-u', 'PRIVATE', '-p', 'PRIVATE', '-f', 'vostf-5829-1', '--video-multistreams', '--audio-multistreams', '--sub-langs', 'all', '--embed-subs', '--embed-chapters', '--embed-metadata', '--remux-video', 'mkv', '--ffmpeg-location', 'E:\yt-dlp\ffmpeg-master-latest-win64-gpl\bin\ffmpeg.exe', '-o', 'E:\ADN\%(title)s vostf.%(ext)s', 'https://animationdigitalnetwork.com/video/647-dragon-quest-the-adventure-of-dai-fly-daibouken/12718-episode-1']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out cp1252 (No VT), error utf-8, screen cp1252 (No VT)
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [4d9231208] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg N-117043-g8707c8660d-20240915 (setts), ffprobe N-117043-g8707c8660d-20240915
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.07.04, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.2, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1830 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
WARNING: [ADN] Unable to log in: HTTP Error 403: Forbidden
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
ERROR: [ADN] 12718: Requested format is not available. Use --list-formats for a list of available formats
Traceback (most recent call last):
File "yt_dlp\YoutubeDL.py", line 1626, in wrapper
File "yt_dlp\YoutubeDL.py", line 1782, in __extract_info
File "yt_dlp\YoutubeDL.py", line 1841, in process_ie_result
File "yt_dlp\YoutubeDL.py", line 2977, in process_video_result
yt_dlp.utils.ExtractorError: [ADN] 12718: Requested format is not available. Use --list-formats for a list of available formats
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp)
[ADN] Logging in
[ADN] Extracting URL: https://animationdigitalnetwork.com/video/647-dragon-quest-the-adventure-of-dai-fly-daibouken/12718-episode-1
[ADN] 12718: Downloading player config JSON metadata
[ADN] 12718: Downloading access token
[ADN] 12718: Downloading links JSON metadata
[ADN] 12718: Downloading vostf mobile JSON metadata
[ADN] 12718: Downloading m3u8 information
[ADN] 12718: Downloading vostf sd JSON metadata
[ADN] 12718: Downloading m3u8 information
[ADN] 12718: Downloading additional video metadata
[ADN] 12718: Downloading subtitles location
[ADN] 12718: Downloading subtitles data
[info] 12718: Downloading subtitles: fr
It seems try to me because if i try several time. 9 times it fails et the 10th time it can work and i can download
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', '-u', 'PRIVATE', '-p', 'PRIVATE', '-f', 'vostf-5829-1', '--video-multistreams', '--audio-multistreams', '--sub-langs', 'all', '--embed-subs', '--embed-chapters', '--embed-metadata', '--remux-video', 'mkv', '--ffmpeg-location', 'E:\\yt-dlp\\ffmpeg-master-latest-win64-gpl\\bin\\ffmpeg.exe', '-o', 'E:\\ADN\\%(title)s vostf.%(ext)s', 'https://animationdigitalnetwork.com/video/647-dragon-quest-the-adventure-of-dai-fly-daibouken/12718-episode-1']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out cp1252 (No VT), error utf-8, screen cp1252 (No VT)
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [4d9231208] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg N-117043-g8707c8660d-20240915 (setts), ffprobe N-117043-g8707c8660d-20240915
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.07.04, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.2, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1830 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
WARNING: [ADN] Unable to log in: HTTP Error 403: Forbidden
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
ERROR: [ADN] 12718: Requested format is not available. Use --list-formats for a list of available formats
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1626, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1782, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1841, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2977, in process_video_result
yt_dlp.utils.ExtractorError: [ADN] 12718: Requested format is not available. Use --list-formats for a list of available formats

Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp)
[ADN] Logging in
[ADN] Extracting URL: https://animationdigitalnetwork.com/video/647-dragon-quest-the-adventure-of-dai-fly-daibouken/12718-episode-1
[ADN] 12718: Downloading player config JSON metadata
[ADN] 12718: Downloading access token
[ADN] 12718: Downloading links JSON metadata
[ADN] 12718: Downloading vostf mobile JSON metadata
[ADN] 12718: Downloading m3u8 information
[ADN] 12718: Downloading vostf sd JSON metadata
[ADN] 12718: Downloading m3u8 information
[ADN] 12718: Downloading additional video metadata
[ADN] 12718: Downloading subtitles location
[ADN] 12718: Downloading subtitles data
[info] 12718: Downloading subtitles: fr

@bashonly I can provide my ADN account. Tell me how I can contact you in private

ADN account

@TheWizard-maker i'm getting error of Sign in to confirm, You are not a Bot when called the API through Server, any way to trespass this  and get the Streaming url.


Markdown formatting problem

You have a markdown formatting issue in your README. It looks like you're using three apostrophes instead of three backticks.

Fixed, thanks,


Trying to use apt-get, and fails update, upgrade and install build-essential

Window ver:
Microsoft Windows [Version 10.0.15063]
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.2 LTS
Release:        16.04
Codename:       xenial
Can't update the system using apt-get, always get missing files or failed to stat errors.
did take a while to get pass the corporate proxy (using fiddler and setting http_proxy environment variable and including
Acquire::http::Proxy "http://<IP_ADDRESS>:8888"; Acquire::https::Proxy "http://<IP_ADDRESS>:8888"; Acquire::ForceIPv4 "true";
in /etc/apt/apt.conf.d/80Proxy
have run the commands several times with the output in the following files:-
bash_out.txt
bash_build.txt
Then tried use the recommended strace command and have attached the output:-
bash_strace.txt
strace.zip
Thanks for looking into this....

@ahrensd Have you tried upgrading to Build 16299.15 (Fall Creator's Update). Alot of the network issues were resolved with this release. If you go Insider, you should see a few more fixes as well as described in https://msdn.microsoft.com/en-us/commandline/wsl/release-notes

On a corporate build of Windows 10, and already using the early adopters version. So have no control on which Windows 10 version or upgrades.
Seems to be close to working. the networking appears to be working as the packages are downloaded.
Hoping for some insight into a work around, someone that had and solved this problem, before!
Any ideas what to 'Failed to stat' errors are?

Was trying some things out and got apt-get to suddenly work
command I tried
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 apt-key update sudo apt-key update rm -R /tmp/* sudo rm -R /tmp/* --> also attemped to remove files using windows explorer (file will not go using either method) sudo apt-key update sudo apt-key list apt-get update
And it worked, installed all sorts of stuff successfully.
Exited the bash shell.
Go to do a apt-get upgrade (or anything, and back to the same old problem)
Ofcourse I've tried to above commands and no luck. So I don't know what is going on.
the files are downloaded correctly and stored in /var/cache/apt/archives/partial
but get the following error at the end of the process
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/v/vlan/vlan_1.9-3.2ubuntu<IP_ADDRESS>_amd64.deb  rename failed, No such file or directory (/var/cache/apt/archives/partial/vlan_1.9-3.2ubuntu<IP_ADDRESS>_amd64.deb -> /var/cache/apt/archives/vlan_1.9-3.2ubuntu<IP_ADDRESS>_amd64.deb).
File is defitely there....

Apt-get upgrade fails for me as well with 17.10 Artful but instead of the vlan .deb failing, it's the bash that's failing. It was odd because when I went to the /var/cache/apt/archives directory and performed an ls, it was still there. I tried gzip to re-extract it to see if it was a corruption from the upgrade from 16.04 to 17.10 and that failed. I went so far as to search the Ubuntu webpages to find the bash .deb file and removed the old file and downloaded using Windows. Moved it from my Downloads folder to the directory in WSL (from WSL) and unextracted that with no joy. Interestingly enough, dist-upgrade doesn't work either for the same reason. The fix supposedly is coming in an upcoming Insider build but didn't seem to make this latest one released. I'm half tempted to do a repair on the app for Ubuntu.exe to reset it without uninstalling (still requires launching from the Windows Store after repair, otherwise will open an OpenSuse console) and creating a Docker container for the Insider build that contains the fix. It would be great if I could run the Docker engine in WSL but that isn't on the radar right now so Docker for Windows unfortunately for now. Part of the problem I know is that repositories are missing and you'd have to know what needs to be held before performing the upgrade and the only way to successfully install in the first place is to install immediately after doing the apt-gets to update everything and then upgrade to 17.10. It's really quite annoying seeing that in a dev environment, you're always testing something new and not being able to properly utilize 17.10 is a pain. I'm probably just going to have to wait until 18.04 LTS is released in addition to the next Windows upgrade in March for things to start rolling.

@DarthSpock

Apt-get upgrade fails for me as well with 17.10 Artful but instead of the vlan .deb failing, it's the bash that's failing.
this is (was) #2615 and is now working in 17046.


[WIP]  Add QML course to linter checks

Still need to:

[ ] write missing docstrings

Closing until I manage to continue working on this


Update reporter.ts to allow for multiple CaseIDs

E.g.
it('C00001 C00002 should do two things', async function () {...

@christian-bromann Been trying to mock up all the testStats and have run into a roadblock, namely with TestStat's private _stringifyDiffObjs.
Could use some assistance.
I have some mockable test JSONs but am getting tripped up on mocking that essential property.

How can I assist?

@christian-bromann Looking for some insight on how best to mock the testStats object parameter for the various onTest* hooks.
Currently having difficulty around some of the @wdio/reporter.TestStats keys & types. Do you have an example unit test that uses TestStats that I can reference?

@christian-bromann Unit tests have been added, and updated README to illustrate usage.

mhm .. not sure where it comes from, mind pushing a fix for it into this working branch?

@spencerlavallesonos can we update the Node.js version within the pipeline to Node v18?

@spencerlavallesonos can we update the Node.js version within the pipeline to Node v18?

@christian-bromann I've updated the node-version matrix to run from v[18.x, 20.x]

This does the trick but unfortunately there seem to be 2 eslint issues now.

This does the trick but unfortunately there seem to be 2 eslint issues now.

Yep yep, sorry for all the back and forth, I'll make it squeaky clean now. 🖖


Feat: update contributing file

Naming Patterns
The Naming Patterns section establishes a consistent and structured approach for naming branches, commits, and pull requests in a repository. This consistency helps developers understand the purpose of each branch, commit, or pull request at a glance. Below is a description to include in your pull request.
Naming Patterns Overview
To maintain consistency and clarity within the repository, we follow specific naming patterns for branches, commits, and pull requests. These patterns make it easier to track changes and identify the purpose of each item.
Branch name
(feat|fix|docs|style|refactor|test|revert)/taskId_task-short-description
Ex.: feat/1_add-commit-and-branch-name-styles-to-readme

Commit name
(feat|fix|docs|style|refactor|test|revert): update descriptions
Ex.: bug: update readme

Commit description
tickets: #taskId, #taskId
Ex.: tickets: #1, #2, #3

Pull-request name
(Feat|Fix|Docs|Style|Refactor|Test|Revert): #taskId description
Ex.: Fix: #15 unnecessary request removed

Installing Pytest for Testing
To run tests with pytest, ensure you have it installed on your system. Pytest is a widely used testing framework in the Python ecosystem, known for its ease of use and support for various types of tests, including unit and integration tests.
To install pytest, follow these steps:

Open a terminal or command-line interface.
Run the following command to install pytest:

pip install pytest

Merged. Thanks a lot!


enhancement Fix too much cache leads to less memory available for queries

Proposed changes
Issue Number: close #11750
Problem summary
Disable Chunk Allocator in Vectorized Allocator, this will reduce memory cache.
For high concurrent queries, using Chunk Allocator with vectorized Allocator can reduce the impact of gperftools tcmalloc central lock.
Jemalloc or google tcmalloc have core cache, Chunk Allocator may no longer be needed after replacing gperftools tcmalloc.
Checklist(Required)

Does it affect the original behavior:

[x] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[x] No Need

Has document been added or modified:

[ ] Yes
[x] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

LGTM


Default match rules are never used

ProxyConfiguration.builder().defaultMatchRules() has no effect. This is due to the fact that Recorder will always use what it reads from @Betamax(match) since the latter can never be null (annotation element values can not be null in Java), and it would use default match rules only if it gets null from the annotation element (which is impossible).
This, together with #158, completely prevents the user from using custom rules.
(This is about the code in the current HEAD of the master branch.)

@mmazi I have discovered this as well. We expose the ability to configure properties in too many places right now, so we'll have to take some out. My preference is to have it all driven in the test itself, but I feel others may like the betamax.properties as well. Your thoughts?

@cowboygneox thanks for asking, but I'm not using BetaMax currently and I have no suggestions regarding this.

@mmazi I'm going to close this. There will be plenty of conversation around configuration in this new reboot.


remove dependency on TiDB

What problem does this PR solve?
Fix #677.
What is changed and how it works?
Copy TiDB's parser_driver and remove the unused code. This forms a minimal mock parser_driver without breaking any existing tests.
Check List
Tests

Unit test
Integration test

Code changes
N/A
Side effects
N/A
Related changes
N/A

LGTM


Filter unwanted mesh sockets

Hey. Same question as I posted on the marketplace, but I thought you want prefere it here. I just have one question about one of its core feature. "Due to the fact that the system is scanning for a first matching skeletal mesh where defined sockets exist (etc...)". The system scans  for the sockets we want to use without us having to do anything. Which means, if I have a duplicate of a weapon (Like, if i'm dual wielding the SAME source sword mesh), it's impossible for the system to know I want to use the sockets from the left hand sword, or the right hand sword. I understand that a workaround would be to have two different source meshes, as so : RightHandSourceSword with RightSockets, and LeftHandSourceSword with left sockets. This is a shame though, as there is no way (to my knowledge) to just have two different instances of the same source mesh, only with different sockets. You also can't use the "remove sockets" built-in unreal, as it removes sockets from the source mesh, not just from your current copy. So here's my question : Is there a way to implement an actor  filter to filter out unwanted meshes before the socket scan without modifying the plugin itself ? If not, I guess it would be a cool feature in the future, as it would make any kind of multi-wielding much easier to setup ! Cheers

Hi! First of all, thanks for reaching out here, I appreciate it.
I have encountered the problem you are describing in the past and in fact I have described this use case in the wiki: https://github.com/rlewicki/MeleeTrace/wiki#double-sword-attack
This is the only solution I can suggest for now. I’ll have a think about your proposed solution and will come back to you with any updates.
Cheers,
Robert
2.06.2024 o 05:19 od @.***:

Hey. Same question as I posted on the marketplace, but I thought you want prefere it here. I just have one question about one of its core feature. "Due to the fact that the system is scanning for a first matching skeletal mesh where defined sockets exist (etc...)". The system scans  for the sockets we want to use without us having to do anything. Which means, if I have a duplicate of a weapon (Like, if i'm dual wielding the SAME source sword mesh), it's impossible for the system to know I want to use the sockets from the left hand sword, or the right hand sword. I understand that a workaround would be to have two different source meshes, as so : RightHandSourceSword with RightSockets, and LeftHandSourceSword with left sockets. This is a shame though, as there is no way (to my knowledge) to just have two different instances of the same source mesh, only with different sockets. You also can't use the "remove sockets" built-in unreal, as it removes sockets from the source mesh, not just from your current copy. So here's my question : Is there a way to implement an actor  filter to filter out unwanted meshes before the socket scan without modifying the plugin itself ? If not, I guess it would be a cool feature in the future, as it would make any kind of multi-wielding much easier to setup ! Cheers
—
Reply to this email directly, > view it on GitHub https://github.com/rlewicki/MeleeTrace/issues/16> , or > unsubscribe https://github.com/notifications/unsubscribe-auth/ACRKEWUKIXKS6HF52E3OYGDZFKFM5AVCNFSM6AAAAABIUVZ3P6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZDSNBUGQ2DINY> .
You are receiving this because you are subscribed to this thread.> Message ID: > <rlewicki/MeleeTrace/issues/16> @> github> .> com>

@rlewicki why not simply remove the "return" statement?
That is, add the traces for all the meshes that matches the socket; so you would essentially run 2 traces, 1 for the left and 1for the right sockets - which is what we want.
Should be very simple as well - you only need to handle the ensureAlwaysMsgf (which honestly is quite annoying at this point anyway).
The return line I'm speaking about: https://github.com/rlewicki/MeleeTrace/blob/master/Source/MeleeTrace/Private/MeleeTraceComponent.cpp#L264


Additional Shields of Mexico City

Mexico City's ejes viales were described in #405 and implemented in #1098. These are the most prominently signed routes, although official government documents show shield designs for some other major highways.
Page 97 shows the designs for viaductos, the Circuito Interior, the Anillo Periférico and radiales:

Pages 114 and 115 indicate that the shield orientation for the Periférico and radiales is different for each route in the network:

A suggested relation-based tagging scheme for these routes would be:

Route name
network
ref

Viaducto C
MX:CDMX:VDCTO
C

Circuito Interior
MX:CDMX:CTO

Anillo Periférico N1
MX:CDMX:PERIF
N1

Radial 3
MX:CDMX:RADIAL
3

Some more context from an exchange between me and ezuplkqrhp:

The manual also includes local ‘highways’ such as Anillo Periférico, Circuito Interior, Radiales, and Viaductos, each with their own logo and reference code. However, these are rarely seen. As a local, I can confirm they are seldom utilized, but occasionally a sign will feature them. So, they are indeed official, but for some reason, local governments don’t frequently use signs with these logos.
…

Even if the shields for these local highways are uncommon on the ground, would an average Chilango expect to see them on maps?

No, not really. Perhaps only for Anillo Periférico or Circuito Interior, but not typically. Ejes Viales are far more prevalent, culturally significant, and widely recognized, having shaped the city’s history and identity. Most people are unaware of Radiales or that there are four Viaductos, commonly referring to a single, prominent one. Anillo Periférico is perceived as a highway mainly in its southern, motorway-like section, whereas it fragments into regular commuter streets elsewhere. You can even see it on Google Maps, where only Ejes Viales have reference codes - you know, those little blue rectangles.
But anyway, that’s just my opinion. Others may have different experiences or views, so it may be worth hearing from the community to get a better picture.

I'd say these routes are a low priority. Perhaps we can revisit this in a few years, if signage becomes more prevalent and these icons enter the public conscience.


Add helper function file

Add helper.py and the status == 200 tests in test_login.py.
This was discussed on an earlier pull request (#32: Add helper function file.) that then could not be merged due to other changes.

Coverage decreased (-3.09%) to 23.29% when pulling 7cfe19766cb2f65954733aca0075dd39f84a0807 on Withington:master into 7b57096976c10c6a3d8a8ab01c8f1b3487353a46 on pontikos:master.

Offline test failed - RuntimeError: Failed to access pubmed_170101.dtd at
I'll restart the Travis build and see if works this time.

There is no option to restart the Travis build on a pull request so I've touched README to facilitate a new pull request.

Coverage increased (+0.05%) to 26.43% when pulling cdc16e2c929d09050bddfdecbcd6c90ff0cb0081 on Withington:master into 7b57096976c10c6a3d8a8ab01c8f1b3487353a46 on pontikos:master.