Will not connect to car and Apps check box missing.

Hey folks.  Ever since, AAI will not connect & the apps check box is now missing under "device settings". Would anyone have any suggestions on how to rectify it please?

Here also connection unreliable since 2 days. I managed to fix it temporarly by disconnecting the phone in car settings, then starting the My BMW app and confirming all the agreements and reconnecting again.
Maybe it has to do with the new My BMW app version 2.11.1 which was released some days ago? So a My BMW app downgrade to 2.9.3 could help until @hufman enhances AAIdrive support for My BMW version 2.11.1.

Here also connection unreliable since 2 days. I managed to fix it temporarly by disconnecting the phone in car settings, then starting the My BMW app, confirming all the agreements and reconnecting again.
Maybe it has to do with the new My BMW app version 2.11.1 which was released some days ago? So a My BMW app downgrade to 2.9.3 could help until @hufman enhances AAIdrive support for My BMW version 2.11.1.

It sure is a strange issue. I can't even delete or forget the phones stored in the iDrive & the connected drive notifications have also stopped.

Same here.
Tried to disconnect and reconnect but no luck

Same here. Tried also My BMW 2.11.0 (current last is 2.11.1) and still not
working.
I think this might be something that BMW has to fix independently from the
app version.
Is there anyone with a working version of My Bmw?
On Sun, 4 Dec 2022, 11:24 KdiKomunismo, @.***> wrote:

Same here.
Tried to disconnect and reconnect but no luck
—
Reply to this email directly, view it on GitHub
https://github.com/BimmerGestalt/AAIdrive/issues/639#issuecomment-1336370394,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFOS2DFLT46XHR4ZQONF7ELWLRWNNANCNFSM6AAAAAASSBGC6I
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

For me it is working with the application 2.11.1 with HU NBT id 4

Hey gente. Tuve un problema en el que mi iDrive se apagó y encendió y tuve que realizar un reinicio. Desde entonces, AAI no se conectará y ahora falta la casilla de verificación de aplicaciones en "configuración del dispositivo". ¿Alguien tiene alguna sugerencia sobre cómo corregirlo, por favor?

Tengo el mismo problema. AAI ha dejado de funcionar con la última versión de la app My BMW

Hey folks.  Ever since, AAI will not connect & the apps check box is now missing under "device settings". Would anyone have any suggestions on how to rectify it please?

I have the same problem. AAI has stopped working with the latest version of the My BMW app 2.11.1

Tracking MyBMW 2.11 is in #638 and not related to this issue, of the car losing its subscription status and not showing the Apps option.
Have you tried manually refreshing the car's subscription status? It should do it automatically within a day or two, and perhaps your issue has been resolved already.
If the car is having troubles letting you manage the paired devices, that sounds like something in the car might need to get reset harder, perhaps with a service center's help.

Tracking MyBMW 2.11 is in #638 and not related to this issue, of the car losing its subscription status and not showing the Apps option. Have you tried manually refreshing the car's subscription status? It should do it automatically within a day or two, and perhaps your issue has been resolved already. If the car is having troubles letting you manage the paired devices, that sounds like something in the car might need to get reset harder, perhaps with a service center's help.

Confirmed that it is a problem of version 2.11.1 of the My BMW app. I have reinstalled version 2.9.1, which you have at the following link, and everything is back to normal.
https://apkfun.com/es/down_My-BMW.40652332.html

Tracking MyBMW 2.11 is in #638 and not related to this issue, of the car losing its subscription status and not showing the Apps option. Have you tried manually refreshing the car's subscription status? It should do it automatically within a day or two, and perhaps your issue has been resolved already. If the car is having troubles letting you manage the paired devices, that sounds like something in the car might need to get reset harder, perhaps with a service center's help.

Thank you. So my car had unlimited subscription to connected drive, but I have booked it in with BMW for some warranty work, so I will see what happens there.

Hi.  My aaidrive stopped working after my connected drive subscription ended.  I have a G20 with ID6.  Apps in connected drive are gone and now aaidrive can't connect.  Is there any option to use aaidrive without a Connected drive subscription? I checked that it is not caused by the new version of My BMW.  I have installed the latest version and an older one, the result is the same.  Aaidrive stopped working on the exact day the subscription ended. Thanks for the help.

Confirmed that it is a problem of version 2.11.1 of the My BMW app. I have reinstalled version 2.9.1, which you have at the following link, and everything is back to normal.
https://apkfun.com/es/down_My-BMW.40652332.html

Just a quick update. Going back to 2.9.1 did not solve the problem for me, but thanks for the suggestion.

About the subscription status: I went into my Connected Drive profile page to check mine.
I should have unlimited coverage with "connected drive service" and "remote services"
The first seems the closer of what we require to have the Apps working.
There is also an extra package called "Connected+" which I have booked until Apr 2023.
Do any of you know if there is a "service status" page for such services?

@Sza5wz12 as far as I know, the Apps functionality required for AAIdrive can only be added with a subscription or with coding techniques. My Mini has it coded from the factory and doesn't offer any subscription services, so I'm not certain exactly which subscription is needed.
@HaivanJV I think it only needs ConnectedDrive and not Connected+, a vague memory from previous emails with other users. BMW offers different services in different regions, further confusing things :)
@JLedge81 I hadn't expected the app version to affect it, hopefully your service appointment will fix things up!

In my case the issue seems to have been fixed by one of these things but I can't say which one exactly, so here is everything I had done while troubleshooting:

relogging into My BMW 2.11.1
making sure all agreements in My BMW accepted
making surecar stats visible in My BMW app
delete BT connection to the phone in the car and reconnect AAIdrive by initiating connection from car and selecting "Apps"
delete BT connection to the phone in the car and reconnect AAIdrive by initiating connection from car and selecting "Phone"
check permissions of AAIdrive and My BMW on the phone: Both need Nearby Devices permission

Tried everything of the above with one addition: I connected the Apps via USB and everything worked immediately, AAidrive included.
This has more the looks of a major problem with the Bluetooth connection between idrive (mine is ID6) and My BMW app, with the additional complication that it is not sensitive of which version of the My BMW app is installed.
I tried to email the connected drive support, but I have low expectations there...

Again, this thread is about the Apps option disappearing entirely from the car. Please move discussion about inability to connect to an activated car to the other issue.

Hi everyone, I have an update that could be useful to everyone.
Brief recap:
I use AAIdrive for Android, last version from Play Store, My BMW for Android, last version from Play Store, on a 2018 BMW 418d with ID6L, with an active subscription to connected+ program.
After updating My BMW to last version my first symptom was the inability to use AAIdrive, but then I noticed a couple more. First, as already pointed out, I don't see the App option in my car's phone connection, but second, I cannot send a destination from the app to the car anymore. For the rest of the remote functions (door lock, lights, etc) the app-car connection works, but when I try to send one destination to the car the notification just doesn't appear, despite being sent from the app. Also, car's location in the app is updated only when I turn on the car, then it just stay there for the whole trip, until I shut down the car and turn it on again.
I reached out to BMW assistance today and it seems like they have noticed the problem on a bunch of cars with the same operating system. The resolution of the issue has been rescheduled for the end of March, from the end of November it was before.
Only positive side, they told me that I could ask for a reimbursement of the connected+ if the solution takes too long.

@KdiKomunismo I have all the same symptoms as yours, with only USB coming to help (not how I would solve though).
BMW assistance hasn't reply to me yet. I was curious though: this has all the sounds to be a ID6L specific problem, not MyBmw App version related/ not phone-android related/ neither for other idrive versions (i.e. for Mini). Do you have the feeling that this is clear from the answer they gave you?
March is quite far. Incredibly long times to bug fix something centrally...

I'm totally sure it is a ID6L related problem.
Haven't tried USB connection yet, I'll give it a try.

Question for @hufman
What should we see on the MyBMW app, in order to confirm that is connected to the car?
ie: When I use USB, phone prompts me whether to allow sharing/access to data
Without USB (wireless) I don't even know whether the MyBMW app is connected
How can we confirm that?

The MyBMW or Mini notification will change, from saying "Bluetooth connection is established" to "MINI App is connected to vehicle".

Your MyBMW or Mini app should have a Info section with a Device Connection line that shows the following screen:

But again, this issue is about this person's car losing Apps subscription, perhaps you meant to comment on #638 about MyBMW 2.11.1 Bluetooth connections?

I have tried version 2.12 and still have the same problems as in version 2.11. So I reinstall version 2.09 and everything goes back to normal, everything works correctly.

 Haben Sie versucht , den Abonnementstatus des Autos manuell zu aktualisieren ? Es sollte dies automatisch innerhalb von ein oder zwei Tagen tun, und vielleicht wurde Ihr Problem bereits gelöst. Wenn das Auto Probleme hat, Sie die gekoppelten Geräte verwalten zu lassen, klingt das so, als müsste etwas im Auto möglicherweise schwieriger zurückgesetzt werden, möglicherweise mit der Hilfe eines Servicecenters.

Bestätigt, dass es sich um ein Problem der Version 2.11.1 der My BMW App handelt. Ich habe Version 2.9.1 neu installiert, die Sie unter folgendem Link haben, und alles ist wieder normal.
https://apkfun.com/es/down_My-BMW.40652332.html

I can only confirm!
After updating the My BMW app, no more app connection via Bluetooth.
Have tried many things.
The only thing that worked is to reinstall version 2.9.1. Thus, everything works normally again, as before!

Considering he said he had to do a reset, try to update your BMW Services, the location can be different depending on your iDrive Version. But usually can be found at least in the ConnectedDrive Menu, then pressing the Option Button of your iDrive Controller. Serveral Options should pop-up, selecting Update BMW Services.
Additionally, you can search for a new Version for your Cars OS on https://www.bmw.com/en/footer/software-updates.html scroll down and enter your VIN. If you have Remote Updates suported in-car, you can run Remote Update from your cars iDrive available since ID7 (maybe ID6 as well)

I quick update.
I got back to My BMW 2.9.3 and now everything works perfectly again.
Il mer 28 dic 2022, 08:41 LACNR @.***> ha scritto:

Considering he said he had to do a reset, try to update your BMW Services,
the location can be different depending on your iDrive Version. But usually
can be found at least in the ConnectedDrive Menu, then pressing the Option
Button of your iDrive Controller. Serveral Options should pop-up, selecting
Update BMW Services.
Additionally, you can search for a new Version for your Cars OS on
https://www.bmw.com/en/footer/software-updates.html scroll down and enter
your VIN. If you have Remote Updates suported in-car, you can run Remote
Update from your cars iDrive available since ID7 (maybe ID6 as well)
—
Reply to this email directly, view it on GitHub
https://github.com/BimmerGestalt/AAIdrive/issues/639#issuecomment-1366437064,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASZQZ7LMEUBTHVCHFNILRLLWPPVLFANCNFSM6AAAAAASSBGC6I
.
You are receiving this because you were mentioned.Message ID:
@.***>

BMW services update has brought me nothing!!!
The only thing that helped was to reinstall version 2.9.1, so everything works normally again, as before!

Remote updates only from Operating System 7!
(Whether your vehicle is eligible for the BMW Remote Software Upgrade depends on the hardware installed in your vehicle. Almost all vehicles with BMW Operating System 7 and 8 are capable of this.
You can easily determine yourself whether your vehicle is one of them. To do this, select the following in the vehicle menu: "My Vehicle" > "Settings" > "General Settings" > "Remote Software Upgrade". If "Remote Software Upgrade" is displayed, you can use this function).

BMW services update has brought me nothing!!!
The only thing that helped was to reinstall version 2.9.1, so everything works normally again, as before!

Remote updates only from Operating System 7! (Whether your vehicle is eligible for the BMW Remote Software Upgrade depends on the hardware installed in your vehicle. Almost all vehicles with BMW Operating System 7 and 8 are capable of this.
You can easily determine yourself whether your vehicle is one of them. To do this, select the following in the vehicle menu: "My Vehicle" > "Settings" > "General Settings" > "Remote Software Upgrade". If "Remote Software Upgrade" is displayed, you can use this function).

Yeah I wasn't sure if 6 could do it already via Remote. Did you then try from the link I provided which will if Updates are available allow you to download the new Software Update, check frequently as it may have serveral updates for your vehicle (a new Update doesn't include the other updates) be aware to follow instructions to download it on a USB Stick and then install it via the car interface - Settings - Software Update -  Update Software. The Updates usually expand functions and compatibility with phones, fixed bugs and improved overall functionality and various features.

Yes I have installed the latest USB software from BMW. There is no newer version for my model!
Whether it is specifically on my phone, I do not think. Since all functions work in the new and old "my Bmw App"! I can see fuel level, position and status. Also the activation of the auxiliary heating works!

UPDATE - Resolved
Car has just had the iDrive basic settings reinstalled at the dealer and AAI is now working again. Thanks for all your input folks.

I'm glad to hear it :D

Das freut mich zu hören :D

Hmm...
And that means now that the problem is solved for all parties involved...???
I do not understand...?
So now I should go to BMW service and give them the order "to reinstall the iDrive basic settings"...?
Reason... I have an app that suddenly no longer works...?
This is illogical for me!

Well, technically the issue is solved for the original author. It doesn't seem to be a generel problem (I don't have any difficulties with the latest and previous MyBMW App and AADrive. By the way by now MyBMW has released 2.12 or 2.13? a few weeks ago maybe it helps for lost of you?
Technically, anyone can do a reset within the car question is if it is needed but restore basic settings is always possible, question is are we talking about the iDrive profile Settings, a system reboot or hard-reset to default factory software.

Oh that's right. Had I overlooked that it was the original author!
Thanks for the quick reply and the reference that there is now already the version 2.12 or 2.13!
I will try on occasion times whether with the new version also my problems are fixed!
That with the iDrive profile reset within the car, I have made several times.
But has not brought any changes.

Yes, JLedge81's problem of the car forgetting its lifetime activation for the Apps feature and removing the Apps checkbox entirely was resolved by the dealer reloading the factory settings.
The unrelated issue of MyBMW not connecting to the car after version 2.9 is primarily discussed in #638, please subscribe to that discussion.

Sorry to budge in
Any other  way to reload configuration by ourselves?
TBH I've never successfully connect via BT to the MyBMW app
Not even to the point I can see fuel info etc on it
I have lifetime ConnectedDrive subscription as well
Even with USB, I don't get fuel info
I asked the dealer in Malaysia, all claim it is normal, which I think is
not right
On Fri, 30 Dec 2022, 01:28 Walter Huf, @.***> wrote:

Yes, JLedge81's problem of the car forgetting its lifetime activation for
the Apps feature and removing the Apps checkbox entirely was resolved by
the dealer reloading the factory settings.
The unrelated issue of MyBMW not connecting to the car after version 2.9
is primarily discussed in #638
https://github.com/BimmerGestalt/AAIdrive/issues/638, please subscribe
to that discussion.
—
Reply to this email directly, view it on GitHub
https://github.com/BimmerGestalt/AAIdrive/issues/639#issuecomment-1367480371,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AS4TNVLCS5PFJTBHF2J6LCTWPXC2DANCNFSM6AAAAAASSBGC6I
.
You are receiving this because you commented.Message ID:
@.***>

Sorry to budge in Any other way to reload configuration by ourselves? TBH I've never successfully connect via BT to the MyBMW app Not even to the point I can see fuel info etc on it I have lifetime ConnectedDrive subscription as well Even with USB, I don't get fuel info I asked the dealer in Malaysia, all claim it is normal, which I think is not right
…

Bluetooth Connection and availability of the MyBMW App functions depends on the model year of your car. While MyBMW is build to support models build from 2014+, specific functions may not be supportedavailable anymore by MyBMW depending on your production year and country. Sad to know, that the old apps BMW Connected Classic and BMW Connected could show fuel level and estimated mileage from models 2012+ via USB and Bluetooth. For some reason, the MyBMW App doesn't use the same method to read the information.
Bluetooth Apps was a feature that was available around production year 2017+ although if you had a specific opitions equipped in your car (e.g. enhanced bluetooth connection) it may work with modes build 2015+. So yes, your dealer can be right, you can read the terms of the app on the App Store. They specifically mention that not all functions are available with each car depending on your car, production year, options and country.


_includes/head.html: remove unused ng-cloak styles

These styles seem to be used when using AngularJS;
https://docs.angularjs.org/api/ng/directive/ngCloak

The ngCloak directive is used to prevent the AngularJS html template from
being briefly displayed by the browser in its raw (uncompiled) form while
your application is loading. Use this directive to avoid the undesirable
flicker effect caused by the html template display.

And I don't think that's used anywhere currently, so let's remove

@usha-mandya ptal


Null Safety

Hi,
are you planning to migrate this library to sound null safety?
If you don't have time yourself, would you accept pull requests in this direction and make a Prerelease?

I do accept pull requests! :)

I do accept pull requests! :)

Can you update the pub.dev with null safety?


[WIP] GUI hdf5 parameter loading

Add support for loading connectivity and drive parameters from an hdf5 saved network object.
closes #708

@ntolley
Hit a blocker on this PR. The GUI operates on a self.param attribute that is a dict of a parameter json.
I've gotten to the point of being able to read in the hdf5 file as a Network object and now I need to get it into the same dict format of self.param so I can update the GUI's parameter state.
Is there a way to create a param dict/json from a Network object? If not I'll need to come up with a way to map all of a network's attributes to the correct key-value pairs.

@gtdang unfortunately I think the latter option is necessary. The reason we developed the hdf5 format is precisely because we didn't have a way to output HNN-core network models into a .param file. The ultimate goal is to break ties with the param format entirely, and instead operate on the dict used to store the network.

Can you point me to a line where this crops up? It may be more expedient for me to figure out that mapping since I have a good sense of what attributes in the Network object map to .param values.

@ntolley
Sorry it took some time to respond. There isn't a single place where parameter mapping necessarily appears. To get a better sense of how the GUI utilizes the param format I've mapped the flow of the params attribute in the image below.

@ntolley Sorry it took some time to respond. There isn't a single place where parameter mapping necessarily appears. To get a better sense of how the GUI utilizes the param format I've mapped the flow of the params attribute in the image below.
The GUI functions are often initializing a Network object with the params attribute and then uses the Network object in another function to display the encoded Connections and Drives. I suppose if we wanted to do away with the params attribute we could just load the HDF5 Network to the GUI and pass that around. The function that would need to be reworked is the add_drive_tab and extract_drive_specs_from_hnn_params functions, which require the param dictionary format.

One solution to support both hdf5 and the param file is:

Add a new class attribute to flag if the params are in a Network or param format (self.is_param)
Add a new class attribute to save a Network from hdf5 (self.network)

In the diagram above, any function that "Initializes Network with self.params" will we rewritten to handle either param dict or a Network object. Probably will add self.is_param flag as an argument and logic to either initialize a Network from params dict or use self.network.
Add a new function extract_drive_specs_from_hnn_network

@gtdang the more complexity you add, the more maintenance work and the harder for a future contributor ... I think you guys need to take a judgement call whether to support hdf5 or param or both and whether for read/write or both. My plan was to phase out params by outputting hdf5 always (never params/json) but allowing to read json for backwards compatibility ... for a while.

@gtdang the more complexity you add, the more maintenance work and the harder for a future contributor ... I think you guys need to take a judgement call whether to support hdf5 or param or both and whether for read/write or both. My plan was to phase out params by outputting hdf5 always (never params/json) but allowing to read json for backwards compatibility ... for a while.

Totally agree with keeping complexity at a minimum. I'm curious about the shift to hdf5. Is the plan for the Network to only be instantiated by an hdf5 read-in? Seems like a chicken and egg situation where you need a Network to write to hdf5 yet need to init a Network with an hdf5.
Is the idea that users are not likely create & edit their own hdf5 Network and are always starting pre-constructed Network? Do we have a recommendations for hdf5 viewers/editors for those that want to edit params outside of the the API?

We don't want to encourage users to edit params outside the API ... they are on their own if they do so.
In the past, we had the params being passed around willy-nilly in different functions and it was hard to keep track what was happening. Modifying the Network only through the API allows us to validate the parameters while also ensuring that they are consistent ... for example start/end time of the drives cannot be outside the simulation start/end time.
Hdf5 was chosen as it's a simple hierarchical format that allows you to translate python objects into a binary format while also being future-proof (unlike pickling). Users should always start with a template network that we provide and make changes through the API. They can then save the network and load it back but they cannot make arbitrary changes to the network object.


Better undefined dtype behaviour

This PR fixes some issues with undefined dtypes not being filtered from custom Hypothesis strategies, and additionally skips test cases which are explicitly passed undefined dtypes (i.e. for type promotion). cc @pmeier

This does not fix the issue that I faced in
https://github.com/data-apis/array-api-tests/blob/e4ce31e2ee50af5b16e225bdd2cddda4507fe1a5/xptests/hypothesis_helpers.py#L53
The problem arises if we hit
https://github.com/data-apis/array-api-tests/blob/e4ce31e2ee50af5b16e225bdd2cddda4507fe1a5/xptests/hypothesis_helpers.py#L58-L59
with an undefined dtype, since _sorted_dtypes only contains valid dtypes.


FIX: Binder hub removal

Removed the binder hub url. only Colab is being used now as a default.

@AakashGfude is there a way that this behaviour can be controled by the _config.yml file.
If https://github.com/QuantEcon/lecture-python-intro/blob/e7f0cc599ad09220baddc73ae02f2e2124d5e388/lectures/_config.yml#L62 is not in the config file then it doesn't show up in the theme.


Build error (support for C++11 language features is required)

Building the docker file on my environment (OSX 14.4, Docker version 26.0.0) leads to the following error:
error: *** A compiler with support for C++11 language features is required.
Complete trace:
[+] Building 50.2s (11/31)                                                                                docker:desktop-linux
 => [internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 2.79kB                                                                                0.0s
 => [internal] load metadata for docker.io/library/alpine:3.17                                                                                2.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 3.10kB                                                                                0.0s
 => [builder  1/23] FROM docker.io/library/alpine:3.17@sha256:53cf9478b76f4c8fae126acbdfb79bed6e69e628faff572ebe4a029d3d247d98                                           0.5s
 => => resolve docker.io/library/alpine:3.17@sha256:53cf9478b76f4c8fae126acbdfb79bed6e69e628faff572ebe4a029d3d247d98                                                     0.0s
 => => sha256:53cf9478b76f4c8fae126acbdfb79bed6e69e628faff572ebe4a029d3d247d98 1.64kB / 1.64kB                                                                           0.0s
 => => sha256:74440a3ca0e58af8aa796467285de45d0e079067c79200f2cfab30d6a38051d8 528B / 528B                                                                               0.0s
 => => sha256:f0fd8fe16bfa55179c65d208ce8abf58197e85136f6a1dc543d2136424fd665c 1.49kB / 1.49kB                                                                           0.0s
 => => sha256:5385a9a590c3e2872b3ed27554a56fb7ce544c694b41b9b95d70fa86f30b0566 3.26MB / 3.26MB                                                                           0.4s
 => => extracting sha256:5385a9a590c3e2872b3ed27554a56fb7ce544c694b41b9b95d70fa86f30b0566                                                                                0.1s
 => [internal] load build context                                                                                0.0s
 => => transferring context: 185.09kB                                                                                0.0s
 => [builder  2/23] RUN apk update &&     apk add     make cmake autoconf automake pkgconfig     gcc g++ gdb     clang15 clang15-dev clang15-libs clang15-extra-tools   41.6s
 => [builder  3/23] RUN rm /usr/bin/ld && ln -s /usr/bin/lld /usr/bin/ld # use lld as default linker                                                                     0.2s
 => [builder  4/23] RUN git clone --quiet --branch gperftools-2.9.1 --depth 1 https://github.com/gperftools/gperftools                                                   0.8s
 => [builder  5/23] WORKDIR /gperftools                                                                                0.0s
 => [builder  6/23] RUN ./autogen.sh                                                                                4.2s
 => ERROR [builder  7/23] RUN ./configure     --enable-minimal     --disable-debugalloc     --enable-sized-delete     --enable-dynamic-sized-delete-support &&     make  0.8s
------
 > [builder  7/23] RUN ./configure     --enable-minimal     --disable-debugalloc     --enable-sized-delete     --enable-dynamic-sized-delete-support &&     make -j$(nproc) &&     make install:
0.107 checking build system type... aarch64-unknown-linux-musl
0.150 checking host system type... aarch64-unknown-linux-musl
0.150 checking for a BSD-compatible install... /usr/bin/install -c
0.250 checking whether build environment is sane... yes
0.252 checking for a race-free mkdir -p... ./install-sh -c -d
0.254 checking for gawk... no
0.254 checking for mawk... no
0.254 checking for nawk... no
0.255 checking for awk... awk
0.255 checking whether make sets $(MAKE)... yes
0.258 checking whether make supports nested variables... yes
0.260 checking whether to enable maintainer-specific portions of Makefiles... no
0.260 checking for git... /usr/bin/git
0.261 checking whether make supports the include directive... yes (GNU style)
0.263 checking for gcc... clang
0.324 checking whether the C compiler works... yes
0.371 checking for C compiler default output file name... a.out
0.371 checking for suffix of executables...
0.412 checking whether we are cross compiling... no
0.454 checking for suffix of object files... o
0.467 checking whether the compiler supports GNU C... yes
0.481 checking whether clang accepts -g... yes
0.494 checking for clang option to enable C11 features... none needed
0.526 checking whether clang understands -c and -o together... yes
0.551 checking dependency style of clang... gcc3
0.637 checking whether the compiler supports GNU C++... no
0.650 checking whether clang++ accepts -g... yes
0.664 checking for clang++ option to enable C++11 features... none needed
0.676 checking dependency style of clang++... gcc3
0.694 checking for gcc... (cached) clang
0.747 checking whether the compiler supports GNU C... (cached) yes
0.747 checking whether clang accepts -g... (cached) yes
0.747 checking for clang option to enable C11 features... (cached) none needed
0.748 checking whether clang understands -c and -o together... (cached) yes
0.748 checking dependency style of clang... (cached) gcc3
0.748 checking how to run the C preprocessor... clang -E
0.799 checking whether clang++ supports C++11 features with -std=gnu++11... no
0.811 checking whether clang++ supports C++11 features with -std=gnu++0x... no
0.824 configure: error: *** A compiler with support for C++11 language features is required.
------
Dockerfile:23
--------------------
  22 |     RUN ./autogen.sh
  23 | >>> RUN ./configure \
  24 | >>>     --enable-minimal \
  25 | >>>     --disable-debugalloc \
  26 | >>>     --enable-sized-delete \
  27 | >>>     --enable-dynamic-sized-delete-support && \
  28 | >>>     make -j$(nproc) && \
  29 | >>>     make install
  30 |     WORKDIR /
--------------------
ERROR: failed to solve: process "/bin/sh -c ./configure     --enable-minimal     --disable-debugalloc     --enable-sized-delete     --enable-dynamic-sized-delete-support &&     make -j$(nproc) &&     make install" did not complete successfully: exit code: 1```

Hi, sorry for the long delay. We've fixed the Dockerfile. In addition, you can find pre-built linux binaries in the latest release.
https://github.com/dice-group/tentris/releases/tag/v1.4.0


Implement API for compact permissions

As agreed permissions will be managed according to a "compact" set:

view: view resource
download: view and download
edit: view download and edit (metadata, style, data)
manage: change permissions, delete resource, etc.

A user can have only one compact permission assigned.
The client will receive and set compact permissions through the Permissions (Share) plugin .
The API will let the client retrieve, filter and sort compact permissions for users, organizations (group profiles) and the DJango groups used as roles (Anonymous, Contributors). Moderators are left outside since they have special roles over all the resources The GET method will return:

users):

username
first name
last name
permissions (view | download | edit | manage)

organizations:

title
name
permissions (view | download | edit | manage)

groups:

title
name
permissions (view | download | edit | manage)

GET will allow filtering and sorting on any of the returned fields.
The API will allow the client to update the permissions or set new permissions on one or multiple users, organizations and groups.

please @allyoucanmap and @afabiani report here your coclusions and the implementation plan.

I've been working on a PermSpec object able to convert a standard and verbose 'perm_spec' into 'compact mode'.

The method also recognizes special/internal security groups, like 'anonymous' and 'registered-members' and places
their permissions on a specific node called 'groups'.
Every security group, different from the former ones, associated to a GeoNode 'GroupProfile', will be placed on a
node called 'organizations' instead.

e.g.:
{
    "users": [
        {
            "id": 1001,
            "username": "afabiani",
            "first_name": "",
            "last_name": "",
            "permissions": "manage"
        }
    ],
    "organizations": [],
    "groups": [
        {
            "id": 3,
            "title": "Registered Members",
            "name": "registered-members",
            "permissions": "edit"
        },
        {
            "id": 2,
            "title": "anonymous",
            "name": "anonymous",
            "permissions": "download"
        }
    ]
}

can we close this @afabiani?


[PE-D][Tester A] Edit Command did not include editing r/ in UG

As shown in the third screenshot, the UG only states that the user can edit the contact and address. But based on the code, users are also allowed to edit the tag. Perhaps would be good to update the UG to match this feature or remove this feature. Also, in the CommandResult box, it still shows Tag instead of something like Risk Level, which may be more explanatory.
Input

Output

UG

Labels: severity.High type.DocumentationBug
original: ChongWeiJie29/ped#5

Add to UG that tag is short hand for editing risk level.


PNBarChart

Is possible PNBarChart horizontally?

I did transform. it works but not perfect! Is it another way to make it horizontal?

@DKalachniuk @lcarli @ViccAlexander  https://github.com/danielgindi/Charts  can do it


Unit Testing

Establish a framework for unit testing and implement some examples:

Use PlatformIO testing with the Unity framework

Add detailed comments to files in firmware/lib/motor and firmware/lib/pid

Create native unit tests for PID

Create embedded unit tests for motors (2 of 4 types so far - generic ones)

Add running native (desktop) unit tests to GitHub Actions CI

Describe Unit Testing in README

Other unit tests should still be added in future PRs, but this should serve as good example for developers writing unit tests for features.

@grassjelly thoughts?


Hosting the Mvc.Server project on IIS with net451 not working

project
https://github.com/openiddict/openiddict-core
This project has sample MVC.Server which i am trying to host on IIS
Actual Behaviour
when i publish with netcoreapp1.0 as a target framework and host on IIS it works fine.
But when i publish with net451 as a target framework and  host on IIS it doesn't.
For More info about this
https://github.com/openiddict/openiddict-core/issues/105

Please do not open the same bug in multiple repos.
https://github.com/aspnet/Hosting/issues/744


Add error when output_dir not specified

This pull request raises an exception when output_dir is not specified in the control .yaml file.

Not sure what is causing the failure. The message says "NetCDF: Filter error: bad id or parameters or duplicate filter", but it was passing before and the versions of netcdf and xarray are the same.

It looks like it's failing with this message:
 FAILED melodies_monet/tests/test_get_data_cli.py::test_get_airnow_comp - subprocess.CalledProcessError: Command '['melodies-monet', 'get-airnow', '-s', '2019-09-01', '-e', '2019-09-02', '--dst', '/tmp/pytest-of-runner/pytest-0/test_get_airnow_comp0', '-o', 'x.nc', '--compress']' returned non-zero exit status 1.
If I understand correctly, test_get_airnow_comp calls melodies_monet/_cli.py::get_airnow, which calls monetio's airnow.add_data function to download a small amount of airnow data from the web. I'm not sure if this is the case but if that airnow data hosted on the web has changed (in a way that would raise a netCDF error when saving to that format) or is unavailable for some reason, then that could be causing this to fail without any change on our end.


Add CosmosKit integration

Switch to CosmosKit for wallet management
Added support for Cosmostation + Cosmostation Mobile wallets
Added support for Keplr Mobile wallet
Added bundle-analyzer to track bundle size

In this commit (https://github.com/schnetzlerjoe/cloudmos/tree/features/cosmoskit-integration) I add one line of code to this PR to add Metamask support. We have been working the past week on adding Metamask to Cloudmos using the old wallet context. This adds it to the new context provider!

@schnetzlerjoe This is great thanks! cc @anilmurty

Metamask support will be added in a second step, progress will be tracked in #62


Update README.md

fix broken url

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (f89dfdb) 91.19% compared to head (1326cd4) 91.19%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #137   +/-   ##
=======================================
  Coverage   91.19%   91.19%
=======================================
  Files          11       11
  Lines         409      409
  Branches       79       79
=======================================
  Hits          373      373
  Misses         31       31
  Partials        5        5

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@ndesai-newrelic The new link that you provided (https://reactnative.dev/docs/symbolication) does not work. It would be nice if New Relic had a step-by-step guide for adding symbolication to crash reports, otherwise the entire crash reporting feature feels inadequate when compared to other solutions like Crashlytics.
Version 72 link: https://reactnative.dev/docs/0.72/symbolication
Additionally, can you add Typescript and Expo specific instructions if those are different steps to setup?

@objectiveSee this is really good idea. I can add that on our read.me docs.


Released Pretrained model only get 0.714  Mean MF-ODS in Cityscapes Val Set

I used the pretrained  dff_cityscapes_resnet101.pth model and test it on Cityscapes Val Set. The performance is about 0.714 Mean MF-ODS, which is much lower than the paper reported (0.804 mean MF-ODS). The maxDist is set to 0.02 and all other settings are the same with the code you provided.
Can you help explain why?
Thanks

Hey, did you need the pretrained weights of ResNet101 (I dont mean the checkpoint of the author, but the weights of ResNet101 trained on Imagenet) to be able to reproduce 0.714 on Cityscapes? I obtain 0.27 MF-ODS


Default app doesn't work correctly on Windows 8.1?

npm install and npm run hot-server work fine, but npm run start-hot gives me the following error:

Note that putting electron . at the start of the start-hot script fixes this error, but then electron loads up an empty screen (I believe it is meant to show a home page?).

@gbmhunter can you do the following:
set HOT=1 & NODE_ENV=development electron .

or
set HOT=1 & NODE_ENV=development & electron .

or if this is not working for you, a quick win is to modify this with
if (process.env.NODE_ENV === 'development') {
  mainWindow.loadUrl('file://' + __dirname + '/app/hot-dev-app.html');
} else {
  mainWindow.loadUrl('file://' + __dirname + '/app/app.html');
}

and run set NODE_ENV=development electron .
In this way, the html file loading in main, when NODE_ENV=development is hot-dev-app.html

Thanks for the help.
I tweaked what you mentioned above and managed to get it working with:
start-hot": "set HOT=1 & set NODE_ENV=development & electron .

@gbmhunter great!


cannot find package "github.com/src-d/enry/v2"

I am trying to install enry for use within my golang script, when grabbing the package I get the following error.
/go # go get github.com/src-d/enry/v2
package github.com/src-d/enry/v2: cannot find package "github.com/src-d/enry/v2" in any of:
        /usr/local/go/src/github.com/src-d/enry/v2 (from $GOROOT)
        /go/src/github.com/src-d/enry/v2 (from $GOPATH)

Here is the output of my go version
/go # go version
go version go1.12.9 linux/amd64

I followed the instructions in #239 , but I am unsure of what I am still doing wrong.
Any guidance would be greatly appreciated.

Is the /go directory mentioned here a module? It looks like not, but I'm not sure based only on the log output you quoted.
Note that the go get command treats imports differently depending on whether your current working directory is (or is not) inside a module, and whether it's inside $GOPATH. Based on the error message, I think you are probably inside $GOPATH for your system (possibly a container image?) but probably not a module (no go.mod file?)
Please try this, and see if it works:
$ mkdir /tmp/importest ; cd /tmp/importest
$ go mod init importest
$ go get github.com/src-d/enry/v2

If that does work, then it probably means your /go directory is not set up as a module (which would be consistent with a container $GOPATH). Can you say a bit more specifically what you're trying to do?

Thanks for your quick reply, I made a beginner mistake here and didn't run the go mod init  command before running the go get.
After running the init I am able to fetch enry.

Great, thanks for the update. In that case, I'm going to go ahead and close this issue, but if you have more related troubles please feel free to reopen it.

https://github.com/src-d/enry/issues/243


Cargo new / cargo init, origin should be master

Problem
I think it's weird to have many conventions.
Github & Gitlab changed their default branch name, it would be great to follow.
➜  heyo git:(master) ✗ cargo new MY_RUST && cd MY_RUST
     Created binary (application) `MY_RUST` package
➜  MY_RUST git:(master) ✗ git st
On branch master

Proposed Solution
Update to main by default
Notes
No response

If I recall correctly, the behavior is controlled by Cargo's dependency libgit2[^1]. Also, as of git v2.40, the initial branch name is still master[^2].
You could override the default branch name by setting init.defaultBranch. I personally might just leave it to git/libgit2 to avoid hardcoded values.
From a different angle, git init warns when you use the deault "master" for the initial branch, such as
$ git init .
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>

We may consider adding such a warning as well, but need to take more care of the wording since not every system has git installed.
[^1]: "The init.defaultBranch setting is now respected and master is no longer the hardcoded as the default branch name."
https://github.com/libgit2/libgit2/blob/2f20fe8869d7a1df7c9b7a9e2939c1a20533c6dc/docs/changelog.md?plain=1#L560-L561
[^2]: https://git-scm.com/docs/git-init/2.40.0#Documentation/git-init.txt---initial-branchltbranch-namegt

I think you're right @weihanglo, thanks for the insights, very interesting

@rustbot claim

Now I reconsider my suggestion. The warning might be less useful than I thought.
From the perspective of git, branch names are relatively important, as they are deeply linked to the workflow of git. In Cargo, other information might be more critical than branch names. Cargo shouldn't choke users' console for a thing that is essentially controlled by an external tool, unless it blocks the use of Cargo. Moreover, if a user cares about the branch name pretty much, they might already know or figure out how to configure git.
Due to it somewhat draws a certain level of complexity with little value in return, I'll close this issue and kindly recommend people configuring git's init.defaultBranch instead. Thank you!

I just finished the fix 😢 ...

Saw your message on Zulip and thought “Oh, I gave a bad suggestion and you're correct it's too verbose.”
Sorry for the inconvenience 😢🙇🏾


Frame size in code is 480 (10ms at 48000) while the article states it is 20ms

Hi @jmvalin, thanks for sharing this awesome project. I'm trying to make a connection between the article and the code. I found the mismatch in sample size. An article states that it is 20ms while i see 480 samples in the code which corresponds to 10ms at 48000. Could you please explain why did you decide to switch to the shorter samples?

I think I found the answer. It is here:


Add information about exhaustiveness check to documentation

This documents the exhaustiveness check during config validation (#4873).
Should only be merged if #5089 is merged and released.

Whoops... please approve #5164


Export or ignore specific files or directories

In order to have some other directories and files that are important for the vault but not for the generated site, the user should be able to select which files to export or not export.
I feel like git can be used for making this automatic. .gitignore file for the 1st and git status for the 2nd. or perhaps some JavaScript function emulating the two.

Thanks, I do plan to address this issue. Likely I will create a single dedicated way to specify which files to export through GUI instead of creating multiple different systems, but using a gitignore could be interesting.
Your second idea is actually more simmilar to #152 if I understand you correctly.
Thanks for the ideas.

I would also like to my voice to the ask here. Being able to stop the export of a folder/files would be helpful. (now I manually delete them, but they still exist in the menu system which looks like I have missing pages)

Hey everyone following this issue, work has been started. Here is my prototype so far, let me know if you have feedback on the design here:

@KosmosisDire the design looks great! One thing I'd make sure is that this setting stays persistent, though, so you don't have to select what to export every time you do it. Looks amazing! 💪

@marvinvr Hi thanks, yes this will definitely be persistent. I have also thought about adding presets, so if you have multiple different configurations you can save and load them easily.

@DominikRoB > On the file level: How about doing it using meta data a la "publish: true" and "publish: false" as Obsidian Publish does it?
This is something I am planning on, however I will likely make a different issue for it and implement it in a separate update. But we'll see. Thanks for the idea :)

Would it be possible to do this using a file of regex expressions as well?  For example, I would have a file that I can point to in the export page that looks like this:
\d{4} Essays\/.+_final
Notes\/

Where each line is a regex expression that matches a path, and just giving a directory exports everything in the directory.

This has been implemented in v1.7.0

Hey everyone following this issue, work has been started. Here is my prototype so far, let me know if you have feedback on the design here:

I apologize for the late reply, but can you add the 'select all' button, please?

I apologize for the late reply, can you add the 'select all' button, please?

I will add this, if you want you can open a new issue for it but it's definetly on my list :)


In VS Code Insiders, new code cell is always C#

Describe the bug
If I have an F# notebook in the insiders edition of VS Code, whenever I click the "+ Code" button the new code cell is set to be the C# language. It should be F# if I click "+ Code" below an F# cell.
This does not happen in the non-insiders version. Gif below.
For context, I want to use the insiders edition because of the fantastic new html printer from https://github.com/dotnet/interactive/pull/2671. The new printer gives far superior display for many F# values, which I'm really grateful for. But having to change the notebook cell language every time makes insiders edition hard to use with F#.

Please complete the following:
Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):
VSCode Insiders
Windows 11
.NET Interactive
© 2020 Microsoft Corporation
Version: 1.0.411302+7dd1eb90ad34e486a46432880144d1139269d86b
Library version: 1.0.0-beta.23113.2+7dd1eb90ad34e486a46432880144d1139269d86b
Build date: 2023-02-16T08:10:04.2723958Z

This is now fixed in VSCode the current insiders edition. Thank you!


Add custom Doi and Orcid structs and use them to warn of parsing errors as user types

Fixes #233 and #136.
DOIs/ORCIDs are stored in database with the full standardised protocol/resource name (https://doi.org/ or https://orcid.org). For display in the client, the protocol/resource name are stripped. Editable DOI/ORCID fields are now prepended with a static button containing the standardised protocol/resource name as a prompt to the user.
Any entry in the field which can be successfully parsed (e.g. plain correctly constructed DOI/ORCID, DOI with doi.org/ prepended, ORCID with http://ORCiD.org/ prepended) is accepted and converted on save to the display version (i.e. with protocol/resource name stripped). While the field contains a non-parsable entry, a warning tooltip is displayed, and on save, the field reverts to the previous (i.e. stored) value.
Also added the wrapper type Timestamp for DateTime<Utc>, facilitated by the diesel-derive-newtype crate added for creation of the Doi/Orcid types, allowing custom defaults and more streamlined code.

Changes from review include improving FormTextInputExtended logic (formerly FormTextInputTooltip) now that we are at Yew v0.18.0, as noted under https://github.com/thoth-pub/thoth/pull/220 (where I said I'd make an issue to track it, but then forgot...)

@ja573 In fixing merge conflicts, I added thoth-api back in as a dependency for thoth-export-server (which was removed under #256 ) - but that's only so that we can use thoth_api::model::DOI_DOMAIN in writing out Onix3ProjectMuse. Happy to remove this again and replace it with the inline string if we'd rather not have this unnecessary dependency.

@ja573 In fixing merge conflicts, I added thoth-api back in as a dependency for thoth-export-server (which was removed under #256 ) - but that's only so that we can use thoth_api::model::DOI_DOMAIN in writing out Onix3ProjectMuse. Happy to remove this again and replace it with the inline string if we'd rather not have this unnecessary dependency.

No, that's fine - leave it there for the time being


disable schema1 by default, add a config flag to enable it

fixes #2472
Master PR coming up soon if not much changed since 2.6...
Signed-off-by: Viktor Stanchev<EMAIL_ADDRESS>

The circleci failure is unrelated.

This can't be backported to the 2.6 release branch as it is not compatible. This will have to be part of 2.7.


support for Lumen 5.8

Hi,
Please add support for Lumen 5.8
Regards

Hi @scramatte ,
Sorry for the late reply, I will work on this in few days.

@albertcht any chance you can add support to 5.8

require +1

Hi, sorry for forgetting this ticket, I will finish it by this weekend.

Please try to install the latest release v0.7.


Bug: Angular 17.1.0 input.required() issues

Description of the bug
After upgrading Angular to 17.1.0 and using input.required(), my tests are broken.
see
readonly user = input.required<User>();

It seems like it is not possible to use the MockRenderer to initialize the component anymore:
Message:
      NG0950: Input is required but no value is available yet. Find more at https://angular.io/errors/NG0950

 NG0303: Can't bind to 'user' since it isn't a known property of 'app-user-profile-card' (used in the 'AppComponent' component template).
    1. If 'app-user-profile-card' is an Angular component and it has the 'user' input, then verify that it is a part of an @NgModule where this component is declared.
    2. If 'app-user-profile-card' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message.
    3. To allow any property add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

An example of the bug

Angular 17.1.0
ngMocks v14.12.1
with Jest

Link:
https://stackblitz.com/edit/ex-base-reusable-component-epbxhj?file=src%2Fapp%2Fuser-profile-card%2Fuser-profile-card.component.spec.ts
RUN npm test to see the error.
Expected vs actual behavior
All tests should run through.
There should be no difference between @Input() and the input function.
As you can see it is working as expected on npm start.

meta.inputs is empty if we use input() instead of @Input
__ngMocksDeclarations doesn't contain the inputs (see libs/ng-mocks/src/lib/resolve/collect-declarations.ts).

It looks like, at the moment, Angular themselves test out signal inputs by manually defining and using wrapper components (i.e. without any reflection on the available inputs and types):
https://github.com/angular/angular/blob/e2272750878e1f74e59121e76a01e910ad1ac607/integration/cli-signal-inputs/src/app/greet.component.spec.ts#L20-L27

How about when using Jasmine? (The default out-of-the-box experience that Angular provides)

@cuddlecake — it's useful to know, thanks for sharing.
Aside: Angular does have official experimental support for Jest; I wonder where that will go.

Not sure if this is a seperate issue or related, but I'm getting Error: NG0303 from signal components. Here is a test-case:
import { CommonModule } from '@angular/common';
import { Component, NgModule, input } from '@angular/core';

import { MockBuilder, MockRender } from 'ng-mocks';

@Component({
  selector: 'signal-component',
  template: '
{{ header() }}
',
})
class SignalComponent {
  public readonly header = input<string>();
}

@Component({
  selector: 'target-component',
  template: '<signal-component [header]="hello"></signal-component>',
})
class TargetComponent {
  public readonly hello = 'Hello!';
}

@NgModule({
  declarations: [TargetComponent, SignalComponent],
  imports: [CommonModule],
})
class TargetModule {}

describe('signal inputs', () => {
  beforeEach(() => MockBuilder(TargetComponent, TargetModule));

  it('should be created', () => {
    expect(
      MockRender(TargetComponent)?.point?.componentInstance,
    ).toBeTruthy();
  });
});

I believe it might be a good idea to migrate to reflectComponentType from @angular/core to fetch inputs / outputs (and other data regarding the component). That is however quite some work, and I'm not sure if it is the correct path or even where / how / if that should start. But I have been able to confirm that reflectComponentType does return inputs and outputs for signals, decorators and host-properties.
Do you have any input @satanTime?

Hi @andreandersson, it used to be like that, but it doesn't represent all the data which is needed for mocks, that's why ng-mocks replies on decorators data instead.

Done some digging. This relates to https://github.com/angular/angular/issues/54013
For example, this does not work in ng-mocks, but in a new Angular-repository:
import {
    Component,
    input,
    reflectComponentType,
  } from '@angular/core';

  @Component({
    selector: 'test-component',
    template: '
{{ header() }}
',
  })
  class TestComponent {
    public readonly header = input.required<string>();
  }

  fdescribe('signals', () => {
    it('should print header', () => {
      console.log(reflectComponentType(TestComponent)?.inputs);
      expect(true).toBeTruthy();
    });
  });

I've noticed that Signal Inputs are just treated as Decorator Input.
I have the following component:
@Component({
  selector: 'app-list-item',
  standalone: true,
  templateUrl: './list-item.component.html',
  styleUrl: './list-item.component.scss',
})
export class ListItemComponent {
  task = input.required<Task>();
}

I mock the component using MockComponent function:
 await TestBed.configureTestingModule({
      imports: [ListComponent],
      providers: [
        {
          provide: TasksService,
          useValue: tasksServiceStub,
        },
      ],
    })
      .overrideComponent(ListComponent, {
        remove: {
          imports: [ListItemComponent],
        },
        add: {
          imports: [MockComponent(ListItemComponent)], // I mock here
        },
      })
      .compileComponents();

And my test try to access the Singal Input from ListItemComponent to assert its value:
 expect((<ListItemComponent>item.componentInstance).task()).toEqual(completedTasksStub[index]);

But the test breaks because the task property (it's a Signal Input) is not a function.
The complete error:
TypeError: completedItemDebugEl.componentInstance.task is not a function
Logging the <ListItemComponent>item.componentInstance).task in the test, I see that it's a property
task: { id: '1', name: 'Buy milk', completed: true }
Working with Signal Inputs, we need to test it as a Signal and not as a property as it was with Decorator Inputs.
Any news about that @satanTime?
Thank for your amazing work btw

I just created an issue related to my last comment
https://github.com/help-me-mom/ng-mocks/issues/8887

This works:
import { ChangeDetectionStrategy, Component, input } from '@angular/core';

@Component({
    selector: 'app-banner',
    standalone: true,
    imports: [],
    templateUrl: './banner.component.html',
    styleUrl: './banner.component.scss',
    changeDetection: ChangeDetectionStrategy.OnPush,
})
export class BannerComponent {
    title = input.required<string>();
}

import { MockBuilder, MockRender } from 'ng-mocks';
import { I18nTestingModule } from<EMAIL_ADDRESS>import { BannerComponent } from './banner.component';

describe('BannerComponent', () => {
    async function setup() {
        await MockBuilder(BannerComponent).keep(I18nTestingModule);
        return MockRender(BannerComponent, { title: 'Hello World' }); // set your input here (it does not seem to be typed btw)
    }

    it('should create', async () => {
        const fixture = await setup();
        expect(fixture.point.componentInstance).toBeTruthy();
    });
});

@Xample thanks. I can confirm that it seems to be simply working. At first I got stuck on the typings. As when you store the fixture as a MockedComponentFixture you will get a conflict on the properties of the component.
Types of property 'myPropertyAsBoolean' are incompatible.
      Type 'boolean' is not assignable to type 'InputSignal<boolean>'.

But we can work around it of course with the penalty of losing some typings. Or, some sort of wrapper type for the MockedComponentFixture can be added, where the option is added to convert properties to a InputSignal typed one.


[IDEA] Include Apple M1 in releases

Is your feature request related to a problem? Please describe.
I'd like to be able to use grpcbin on Apple M1s without having to use the (sometimes unreliable) translation layer.
Describe the solution you'd like
Ideally I would like "grpcbin_Darwin_arm64.tar.gz" to appear in the releases
Describe alternatives you've considered
I think all this might need is modifications of the goreleaser.yml file. I have given it a look but I don't understand exactly how that yml generates the list of release files that grpcbin has.
Additional context
Goreleaser is supposed to support Apple M1s now: https://github.com/goreleaser/goreleaser/issues/1952
Thank you!

@moul I have been able to produce the m1 binary (grpcbin_Darwin_arm64.tar.gz) in our private repo. However, it is not clear what I would have to do, and how I could test goreleaser to push a multi-arch image. Is this something you could help with?
kong repo: https://github.com/Kong/grpcbin
Changes to get the arm64 m1 binary: https://github.com/Kong/grpcbin/pull/1/files


Return Active Actors count in gRPC metadata API

Signed-off-by: Bernd Verst<EMAIL_ADDRESS>Description
Even though the actors API is http only, the Metadata API can provide information about hosted actors via gRPC. This change includes the missing information about active actors.
Note that some SDKs such as Python generally query APIs via gRPC and hence this implementation is necessary.
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[x] Unit tests passing
[x] End-to-end tests passing

cc @halspang @artursouza @tmacam

LGTM

This always fails on a different Kind test. The tests are flaky but that has nothing to do with this PR :)
And Fossa is flakey as everyone knows. Their API seems to be having trouble again.


deploying model using trtis is much slower than using frozen model directly

after optimizing yolov3 using tf-tensorrt optimization, i infer in two way.

using trtis (~20fps) + bellow warning

layout failed: Invalid argument: The graph is already optimized by layout optimizer.

using frozen directly (~54 fps)

We need more information about the model configuration you are using and how you are invoking TRTIS.

Closing. Please reopen with perf_client results if those still show a problem


Equal/allclose and friends should not hide ValueError

comparing two empty tensor maps (same keys but the blocks are an empty list) using equistore.equal gives a False

There are a couple of operations impacted: equal, allclose (as well as the _block version), maybe others.  The way these function work is by calling the _raise version, and catching all ValueError, returning False if an exception was raised. Unfortunately, this hides exceptions coming from elsewhere, such as the one initially discussed here.
A simple fix would be to use a new exception type for the _raise version of the functions, for example class NotEqual(Exception): pass and raise/catch this exception instead of the generic ValueError one.


fix: use rollup watch when in watch mode

Fixes https://github.com/jlmakes/karma-rollup-preprocessor/issues/72

Thanks @YonatanKra


Fix failure to parse an invalid syntax case

Pull Request Description
Fix failure to parse a syntax case involving unexpected usage of annotated expressions (fixes #11691).
The root cause of the bug was usage of the matches! macro in a situation where a match statement should have been used to enforce exhaustiveness.

I have corrected the bug, and reviewed all usages of the matches! macro. I didn't find any other incorrect usages of matches!, but I found and replaced some potentially fragile uses. I also simplified some unnecessary uses of matches!, replacing them with expressions that are more-obviously correct.
Stricter parsing: It is now a syntax error for an inline annotation to occur in the RHS of an application (e.g. fn @Tail_Call recur)--the precedence in this case may be surprising, so parentheses should be used around the annotated expression.

parse_all_enso_files.sh: This PR does not affect any AST in the .enso corpus.
Important Notes

Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[ ] The documentation has been updated, if necessary.
[ ] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[ ] All code follows the
Scala,
Java,
TypeScript,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
[ ] Unit tests have been written where possible.
[ ] If meaningful changes were made to logic or tests affecting Enso Cloud integration in the libraries,
or the Snowflake database integration, a run of the Extra Tests has been scheduled.

If applicable, it is suggested to paste a link to a successful run of the Extra Tests.

Two days ago I tried to tackle the problem thinking there is going to be one if somewhere to do the fix. This is way bigger change and no surprise I haven't found the single place to insert my if idea...
Thanks for the quick fix.

Well the minimal solution would be to add Arity::Annotation(_) | here, but I also did some refactoring to avoid future bugs caused by the same class of mistake.


Hash collision when use long secret as salt

Hi all,
I found hash collision problem when use Hashids module for generating hash of integer.
The problem happens when:

Use custom alphabet ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890
Use the long secret string at the beginning with unique strings as salt. For example, 369727d5-d6af-4214-9234-b1b5fa698086XXXXX, 369727d5-d6af-4214-9234-b1b5fa698086YYYYY.

It works fine if I put unique strings at the beginning i.e. XXXXX369727d5-d6af-4214-9234-b1b5fa698086, YYYYY369727d5-d6af-4214-9234-b1b5fa698086. Looks like the module does not use full-length of salt to generate hash.
Here is my environments:

Hashids v1.1.1 (latest -- August 7th, 2017)
Node v8.2.1
macOS Sierra

The full code to test hash collision problem is in this link:
https://gist.github.com/korkeat/7b5ecdcba84865fbd80d257df19ae706
Thank you.

Thanks, I seem to be able to reproduce this problem on Hashids.pm as well.
One thing to observe though: your salt (long secret string + unique string) is larger than the alphabet, so I think that is an indicator that your resulting Hashids object state will be taking a salt that's just up to the alphabet (i.e. truncated salt,) hence creating the possibility for collision; this also explains why putting the unique string at the beginning of the salt works, but not the other way around.
I suppose a way to fix this would be to simply constrain salt length to be up to the alphabet length, @ivanakimov what do you think?

Digging deeper, I think the root cause for this is on the first _shuffle() call, where we pick a character position in the salt (based on both index on the salt as well as the numeric value of the character) to shuffle our alphabet with.  Since the salt is longer than the alphabet, this causes _shuffle() to pick positions that "wrap" around the alphabet; this is not so much a problem when the salt is different in the beginning up to the length of the alphabet, but it shows when the salts are otherwise same with only their end being different (and longer than the alphabet.)
My initial fix to add a constraint for length(salt) <= length(alphabet) seems to fix this per my testing.

@zakame Thank you for valuable details. So, if you guys fix salt length up to alphabet, it might break my system. However, I will prepare the changes.
BTW, should we update document for limitation to warn other people before using it ?

Its up to @ivanakimov though my Perl implementation is ready for changes either way :)

Sorry for late response.
Id uniqueness is guaranteed between ids of one constructor, not between two different constructors (of course numbers are always going to collide between hash1 and hash2 in your example @korkeat).
The problem is that the shuffle function does not work like you'd naturally expect (like md5 for example). If you change just one character, or add a few at the end like you did, the shuffle is not going to be unique every time. The benefit is it's rather small and fast (look at the code for md5).
Next version it will be revisited to see how it can stay small and if it can provide better shuffle.


CI Update

Build.Reason:Manual by Alma Jenks
Build.Url:https://apidrop.visualstudio.com/Content CI/_build/results?buildId=321532&view=results
source_repo.branch:master
source_repo.csvPath:bundlepackages/mipsdk-dotnet
source_repo.url:https://apidrop.visualstudio.com/binaries/_git/mrefconfig

Docs Build status updates of commit a9dfc95:
:bulb: Validation status: suggestions

File
Status
Preview URL
Details

mipsdk-dotnet/xml/Microsoft.InformationProtection.File/FileHandler.xml
:bulb:Suggestion
View
Details

mipsdk-dotnet/xml/Microsoft.InformationProtection.Policy.Actions/ActionType.xml
:bulb:Suggestion
View
Details

mipsdk-dotnet/xml/Microsoft.InformationProtection.Policy.Actions/JustifyAction.xml
:bulb:Suggestion
View
Details

mipsdk-dotnet/xml/Microsoft.InformationProtection.Policy/ExecutionState.xml
:bulb:Suggestion
View
Details

mipsdk-dotnet/xml/Microsoft.InformationProtection.Policy/IPolicyEngine.xml
:bulb:Suggestion
View
Details

mipsdk-dotnet/xml/Microsoft.InformationProtection.Protection/PublishingUseLicenseRequest.xml
:bulb:Suggestion
View
Details

mipsdk-dotnet/xml/FrameworksIndex/mipsdk-dotnet-1.11.xml
:white_check_mark:Succeeded

mipsdk-dotnet/xml/FrameworksIndex/mipsdk-dotnet-1.12.xml
:white_check_mark:Succeeded

mipsdk-dotnet/xml/Microsoft.InformationProtection.Exceptions/AccessDeniedException.xml
:white_check_mark:Succeeded
View

mipsdk-dotnet/xml/Microsoft.InformationProtection.Exceptions/AdhocProtectionRequiredException.xml
:white_check_mark:Succeeded
View

mipsdk-dotnet/xml/Microsoft.InformationProtection.Exceptions/BadInputException.xml
:white_check_mark:Succeeded
View

mipsdk-dotnet/xml/Microsoft.InformationProtection.Exceptions/ConsentDeniedException.xml
:white_check_mark:Succeeded
View

mipsdk-dotnet/xml/Microsoft.InformationProtection.Exceptions/ContentFormatNotSupportedException.xml
:white_check_mark:Succeeded
View

mipsdk-dotnet/xml/Microsoft.InformationProtection.Exceptions/CustomerKeyUnavailableException.xml
:white_check_mark:Succeeded
View

mipsdk-dotnet/xml/Microsoft.InformationProtection.Exceptions/DelegateResponseException.xml
:white_check_mark:Succeeded
View

mipsdk-dotnet/xml/Microsoft.InformationProtection.Exceptions/DeprecatedApiException.xml
:white_check_mark:Succeeded
View

mipsdk-dotnet/xml/Microsoft.InformationProtection.Exceptions/FileIOException.xml
:white_check_mark:Succeeded
View

mipsdk-dotnet/xml/Microsoft.InformationProtection.Exceptions/InsufficientBufferException.xml
:white_check_mark:Succeeded
View

mipsdk-dotnet/xml/Microsoft.InformationProtection.Exceptions/InternalException.xml
:white_check_mark:Succeeded
View

mipsdk-dotnet/xml/Microsoft.InformationProtection.Exceptions/JustificationRequiredException.xml
:white_check_mark:Succeeded
View

mipsdk-dotnet/xml/Microsoft.InformationProtection.Exceptions/LabelDisabledException.xml
:white_check_mark:Succeeded
View

mipsdk-dotnet/xml/Microsoft.InformationProtection.Exceptions/LabelNotFoundException.xml
:white_check_mark:Succeeded
View

mipsdk-dotnet/xml/Microsoft.InformationProtection.Exceptions/LicenseNotRegisteredException.xml
:white_check_mark:Succeeded
View

mipsdk-dotnet/xml/Microsoft.InformationProtection.Exceptions/NetworkException.xml
:white_check_mark:Succeeded
View

mipsdk-dotnet/xml/Microsoft.InformationProtection.Exceptions/NoAuthTokenException.xml
:white_check_mark:Succeeded
View

This comment lists only the first 25 files in the pull request.

mipsdk-dotnet/xml/Microsoft.InformationProtection.File/FileHandler.xml

[Suggestion: file-not-redirected - See documentation] File mipsdk-dotnet/xml/Microsoft.InformationProtection.File/FileHandler.xml was deleted without redirection. To avoid broken links, add a redirection.

mipsdk-dotnet/xml/Microsoft.InformationProtection.Policy.Actions/ActionType.xml

Line 0, Column 0: [Suggestion: ECMA2Yaml_Enum_NoRemarks] Please note: <remarks> node on Enum fields will be ignored.

mipsdk-dotnet/xml/Microsoft.InformationProtection.Policy.Actions/JustifyAction.xml

Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'seealso' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

mipsdk-dotnet/xml/Microsoft.InformationProtection.Policy/ExecutionState.xml

Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'example' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'example' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

mipsdk-dotnet/xml/Microsoft.InformationProtection.Policy/IPolicyEngine.xml

Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'param' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

mipsdk-dotnet/xml/Microsoft.InformationProtection.Protection/PublishingUseLicenseRequest.xml

Line 0, Column 0: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'param' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Install on a M1 Mac

Bug
Hi all, I am trying to install CompressAI on Mac M1, but I get the following error :

Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [4 lines of output]
Looking in indexes: https://pypi.python.org/simple/
Collecting setuptools>=42
ERROR: HTTP error 403 while getting https://files.pythonhosted.org/packages/ef/e3/29d6e1a07e8d90ace4a522d9689d03e833b67b50d1588e693eec15f26251/setuptools-65.6.3-py3-none-any.whl (from https://pypi.org/simple/setuptools/) (requires-python:>=3.7)
ERROR: Could not install requirement setuptools>=42 from https://files.pythonhosted.org/packages/ef/e3/29d6e1a07e8d90ace4a522d9689d03e833b67b50d1588e693eec15f26251/setuptools-65.6.3-py3-none-any.whl because of HTTP error 403 Client Error: Forbidden for url: https://files.pythonhosted.org/packages/ef/e3/29d6e1a07e8d90ace4a522d9689d03e833b67b50d1588e693eec15f26251/setuptools-65.6.3-py3-none-any.whl?_sm_nck=1 for URL https://files.pythonhosted.org/packages/ef/e3/29d6e1a07e8d90ace4a522d9689d03e833b67b50d1588e693eec15f26251/setuptools-65.6.3-py3-none-any.whl (from https://pypi.org/simple/setuptools/) (requires-python:>=3.7)
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.

To Reproduce
On a M1 MacBook Pro (2021) pip install compressai
Any users that did had this kind of issues?
Thank a lot for this amazing work!!!
Environment
Below packages I was able to install (from pip list)

Package Version
contourpy       1.0.6
cycler          0.11.0
fonttools       4.38.0
kiwisolver      1.4.4
matplotlib      3.6.2
numpy           1.24.1
packaging       22.0
pandas          1.5.2
Pillow          9.4.0
pip             22.3.1
pyparsing       3.0.9
python-dateutil 2.8.2
pytz            2022.7
seaborn         0.12.2
setuptools      65.6.3
six             1.16.0
wheel           0.38.4

Proxy issue, solved with a dedicated certificate. Thank you again!


feature(penColor): Add changePenColor method

I just added the following method to VueSignaturePad.js:
    changePenColor(color) {
      this.signaturePad.penColor = color;
    },

This is because I could not dynamically change the penColor after mounting. With this method I can do:
this.$refs.signaturePad.changePenColor(newColor)
I've tested it locally and it works.
Closes #124

I don't recommend actually merging this PR, since I probably stupidly ran yarn dev:prod and minified all the dist files. But if you could incorporate the change I made I would be thrilled.

Hi @andrewhl
Sorry for about this issue, I'm a long time didn't write Vue.
I think this method is not required, you can spread your options in the binding :options.
In your example, you can update your code following below and here is example:
<VueSignaturePad ref="signaturePad" :options="{ ...options }" />

@neighborhood999 Hello! Thank you for your response. I tried to do what you suggested, and it still doesn't update the color. Here is my code:
<template>
  <div class="DrawingPad">
    <VueSignaturePad ref="signaturePad" :options="{ ...options }" />
    <ColorPicker @change="handleColorChange" />
    <q-btn @click="save">Save</q-btn>
  </div>
</template>

<script>
import VueSignaturePad from "vue-signature-pad";
import ColorPicker from "components/ColorPicker";

export default {
  name: "DrawingPad",
  components: {
    VueSignaturePad,
    ColorPicker
  },
  data() {
    return {
      options: {
        minWidth: 0.5,
        maxWidth: 2.5,
        throttle: 16,
        minDistance: 5,
        backgroundColor: "white",
        penColor: "#000",
        velocityFilterWeight: 0.7
      }
    };
  },
  methods: {
    handleColorChange(value) {
      this.options = {
        ...this.options,
        penColor: value
      };
    },
    save() {
      this.$refs.signaturePad.saveSignature();
    }
  }
};
</script>

I have also attempted to update the penColor directly:
    handleColorChange(value) {
     this.options.penColor = value;
    },

Please advise. Thank you!

I think the right way is adding some method like updated inside the component. If I want to update other options, it will add more like handleXXX functions.

@andrewhl Because options are mounted with instance, so I think a good way is refactoring here, we can dynamically change options and update the signature style. The updated means Vue's lifecycle function.

@neighborhood999 Can you provide some guidance on how you would implement this? I tried the following:
  updated() {
    this.$nextTick(function() {
      this.signaturePad.penColor = this.color;
    });
  },

But it doesn't work when I try this in the component view:
    <VueSignaturePad
      ref="signaturePad"
      :color="options.penColor"
      :options="{
        penColor: options.penColor,
        minDistance: options.minDistance,
        maxWidth: options.maxWidth,
        minWidth: options.minWidth,
        onBegin,
        onEnd
      }"
    />

Modifying the 'options' data property doesn't result in rerendering the component. I also tried not using this.$nextTick:
  updated() {
    this.signaturePad.penColor = this.color;
  },

Also has no effect. Help would be appreciated.

Hi @andrewhl
Sorry, I'm a long time didn't write Vue. Above suggestion just my concept. Today I took look Vue docs, I found sync modifier, not sure this can solve this problem. I will try this in my free time.

I created branch to fix, you can try it.

I created the branch to fix, you can try it.

By the way, I tried it out and could not get it to work properly. I’ll post my code shortly.
On Nov 8, 2019, 4:40 AM -0500, Peng Jie<EMAIL_ADDRESS>wrote:

Closed #125.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


Discussion: integrategenemichaels into cargo fmt as preprocessor

While genemichaels is excellent at being uncompromisable, its style changes are too aggressive. I feel like it has its place best suited as a preprocessor before cargo fmt that cleans up the dirty mess that cargo fmt deemed unredeemable.
I really like the result of this combination, where imports are auto-sorted, long strings are formatted, and code style stays as rustfmt-eque as possible.
Would it be possible to integrate this tool directly into cargo fmt as a preprocessor?

I think that's probably a question for the cargo fmt people, but my guess is that it wouldn't be accepted since they've previously expressed (IIRC) no interest in this sort of formatting and it would double both the code complexity and formatting run-time.
Do you have some examples of changes? I can't promise anything (time wise, especially) but it might be possible to modify the output to be more similar to what you're expecting.


⚠ Secret Website 1 has degraded performance

In 771c924, Secret Website 1 ($SECRET_WEBSITE_1) experienced degraded performance:

HTTP code: 200
Response time: 3567 ms

Resolved: Secret Website 1 performance has improved in ce42b97.


Any plans to bring llava support?

Hi! Are there any plans to support llava as well? As i see, it is merged to llama.cpp about month ago and gives possibility to work with image recognition aswell.

I have a prototype working. I will see if I can clean and finish the project this weekend.

I have a prototype working. I will see if I can clean and finish the project this weekend.

Hello! Are there any news?

Looking forward to the change! Just discussed how this will help significantly to solve a use-case for our internal application. Do you have it available in your fork already? I'd like to pull it into mine and play around with it.

I would like to help too. This is very promising
Чт, 7 дек. 2023 г. в 22:01, Philipp Bauer @.***>:

Looking forward to the change! Just discussed how this will help
significantly to solve a use-case for our internal application. Do you have
it available in your fork already? I'd like to pull it into mine and play
around with it.
—
Reply to this email directly, view it on GitHub
https://github.com/SciSharp/LLamaSharp/issues/340#issuecomment-1845504668,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEKNDOSY2R4WHTFQILPOCQTYIHK5DAVCNFSM6AAAAABACXJGWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBVGUYDINRWHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Cool, thank you! I'm on osx-arm64 and can do some testing (have my colleague do it perhaps too) after implementing it in our app.

Is there any update on this? One Use case is OCR.
Thanks,
Ash

I have a branch in my fork with part of the changes. Build binaries, include runtime, etc. Those are things that I don't have done before. I first make the development with manually build binaries.
With the first versions of January, it worked.
With this prompt: What is unusual about this image? and this picture:

This is the output:

But since PR #445  it crashes on llama.cpp. I'm trying to identify the root cause and get this working again.

Thanks for the update @SignalRT
Happy to test this when you have it working.

@SignalRT
If there is any progress with this, I would be very glad to evaluate.
Btw, where is the code repo with the working branch you mentioned above?

I have also tried to do it and hava a very simple demo. I‘m trying to rewrite my code using llamasharp.
The demo is like this:
Prompt:  describe the image in detail.
Input Image:

Output:

I will work this weekend to try to publish my work. The work will be in my branch: https://github.com/SignalRT/LLamaSharp/tree/MultiModal until PR.

@SignalRT  For now I switched to plan B, OllamaSharp, but I'm happy to hear that I will be able to switch back soon.
Good luck!

@IntptrMax, I have looked at your example. It is a very good attempt! I have noticed a few bugs with marshaling the cpp output, for example,
public extern static llava_image_embed llava_image_embed_make_with_filename(IntPtr clip_ctx, int n_threads, string image);
should be changed to
public extern static IntPtr llava_image_embed_make_with_filename(IntPtr clip_ctx, int n_threads, string image);
because cpp returns a pointer to the structure and if you do not do this, then you will get some random problems...
You can marshal the IntPtr like this:
llava_image_embed image_embed = (llava_image_embed)Marshal.PtrToStructure(intptr_to_image_embed, typeof(llava_image_embed));
where intptr_to_image_embed is the output from llava_image_embed_make_with_filename.
Maybe look at all of your functions and make sure that the marshaling is OK everywhere (I did not check all).
Also, there is a problem with the context size. If the number of tokens in the image embedding is higher, then the context size (n_ctx), then the program will crash in the function llava_eval_image_embed. For example, the default 2048 will not work with your example image because it has 2880 tokens! You need to find a way to adjust the contexts size based on the input image.

@IntptrMax, I have quickly corrected your example and it seems that if we use llava_image_embed_make_with_filename with the above correction and a higher context size (4096), then it works:

@zsogitbe Thanks a lot! I have get the same problem when evaluating several images, that's a good idea to solve it.

We need a minimum context size of = image embedding size (2880 tokens) + batch size (512). In your example 2880+512 = 3392!

#555

The first PR to build llava binaries #556

I have tried to add llava to llamaSharp and it can work, but still have to improve. My demo is https://github.com/IntptrMax/LLamaSharp/tree/add_llava


Overflow problem of slice function of type range

Feature
a = range(10)
d = a[10:11]
print(d)

When slice of range overflows, the entire range is returned.
Expected result
range(10, 10)

Actual result
range(0, 10)

If this issue is valid, can I try it?

Yep, go ahead!


Sweetalert2

Hello, how can I add sweetalert2 to nuxt.js application. I placed it in the build.vendor array, imported it in the page and it says
ReferenceError: document is not defined at node_modules/sweetalert2/dist/sweetalert2.js:76:40

ok using - if (process.BROWSER_BUILD) and then requiring sweetalert works:-)


Exception is produced when attempting to rename Aggregated Stage Damage Relationship

When attempting to rename an existing Aggregated Stage Damage Relationship, the following exception is produced.
Steps to reproduce:

Select an existing Aggregated Stage Damage Relationship.
Click the "Rename" option from the selected Aggregated Stage Damage Relationship.
In the Rename dialog, update the name of the Aggregated Stage Damage Relationship.
Click the "OK" button.
The following exception will be produced.

Fixed.

Tested and verified fixed in HEC-FDA-2.0-Snapshot task4 1_6_22.


Link BioAmp bands to the "BioAmp Bands" usage guide

The links should be created in the entire docs site

To resolve https://github.com/upsidedownlabs/upsidedownlabs.github.io/pull/35#discussion_r1571197303


OS.has_touchscreen_ui_hint() returns false unexpectedly depending on surrounding code (race condition)

Godot version:
3.3
OS/device including version:
Android-Emulator running a Pixel with Android 30
Issue description:
This is a hard one, I guess, anyways...
We're developing a game using EgoVenture and it is using OS.has_touchscreen_hint() to determine wether the game's running on a touchscreen or not.
Now, in this function it hides inventory buttons depending on that: https://github.com/deep-entertainment/egoventure/blob/master/addons/egoventure/nodes/inventory/inventory.gd#L30
The example games works perfect, but in a new project we're developing, it doesn't work. If I run it using an Android emulator and set a breakpoint there, is_touch is set to false:

If I simply add another (actually bogus) code line there, it magically becomes true:

I tried creating a sample project for this issue, but can't reproduce it there. I'd say it's a race condition but according to the code, the Android platform should always return true for OS.has_touchscreen_hint().
So basically, I'm stumped. Any ideas?
Steps to reproduce:
If I'd only knew! :(
Minimal reproduction project:
Sadly nothing. :(

@m4gr3d Any ideas what could be causing this?

Thanks for the suggestion, but that behaves similarly strange. When used in _ready, OS.has_feature("mobile") returns true. When used in another part of the code, which is also code by _ready from another script, it returns false.

Thanks for the suggestion, but that behaves similarly strange. When used in _ready, OS.has_feature("mobile") returns true. When used in another part of the code, which is also code by _ready from another script, it returns false.

What about OS.get_name() == "Android" || OS.get_name == "iPhone"?

Does var is_mobile = OS.get_name() == "Android" || OS.get_name() == "iPhone" exhibit the same issue?

Using that works. Are iPads also returning "iPhone" for OS.get_name()? If so it would be a valid workaround.

Using that works. Are iPads also returning "iPhone" for OS.get_name()? If so it would be a valid workaround.

Yes, "iPhone" is the OS name returned by the OSIPhone class.

Okay, I will implement that into EgoVenture for the time being.

Thanks a lot.

@m4gr3d Any ideas what could be causing this?

@Calinou @dploeger That's a strange issue indeed. Both Android and iOS return true for this method so it should always be true.
@dploeger Based on your sample code, I'm wondering if this could be a gdscript initialization issue.
cc @vnen

Well, at least on iPadOS 15.5, OS.get_name is returning "iOS" instead of "iPhone" on Godot 3.3


[5.3] Demangler: fix a crash when re-mangling retroactive conformances

If there are multiple retroactive conformances in the mangling tree, they are put under a TypeList node.
This case was not handled by the re-mangler.
The crash shows up in an assert-build of the compiler, because the re-mangler is used for mangling verification.
rdar://problem/68467435

@swift-ci test


v3.1.10 commits and release notes

This still needs a fix for the DWAA/B aarch64 test failure described in #1460 but should otherwise be ready to go.
Patch release that addresses miscellaneous build issues, test failures, and performance regressions, as well as:
OSS-fuzz 59457 Heap-buffer-overflow in LossyDctDecoder_execute
https://github.com/AcademySoftwareFoundation/openexr/pull/1490 Readdress #1456: disallow NaNs in testOptimizedInterleavePatterns
https://github.com/AcademySoftwareFoundation/openexr/pull/1488 Revert pre-computed values
https://github.com/AcademySoftwareFoundation/openexr/pull/1484 Fix handling for corrupt number of DC components
https://github.com/AcademySoftwareFoundation/openexr/pull/1482 Add OPENEXR_MISSING_ARM_VLD1 workaround to internal_dwa_simd.h
https://github.com/AcademySoftwareFoundation/openexr/pull/1480 Fix Huffman performance regression on Linux/clang
https://github.com/AcademySoftwareFoundation/openexr/pull/1472 Fix range check in dwa compressor
https://github.com/AcademySoftwareFoundation/openexr/pull/1470 Fix build with i386 and musl libc
https://github.com/AcademySoftwareFoundation/openexr/pull/1469 Fix the code contains unhandled character
https://github.com/AcademySoftwareFoundation/openexr/pull/1467 Fix cpu detection of sse2 on non-64 x86
https://github.com/AcademySoftwareFoundation/openexr/pull/1466 Fix the code contains unhandled character
https://github.com/AcademySoftwareFoundation/openexr/pull/1463 Fix gcc-11 warnings: signed/unsigned integer comparison, unused variables
https://github.com/AcademySoftwareFoundation/openexr/pull/1462 Fix macOS and Windows build failures when threading is disabled
https://github.com/AcademySoftwareFoundation/openexr/pull/1447 Fix build error on win_arm64

I'm going to merge this and stage the v3.1.10 release as is.


Add basic support for plt service init

Signed-off-by: Matteo Collina<EMAIL_ADDRESS>
[x] JavaScript init
[ ] TypeScript init

Superseded by #427


The constructor of TestRunner encountered NBC changes in 7.8.0

TestNG Version 7.8.0

Note: only the latest version is supported

When our project upgraded to version 7.8.0 and found that the TestRunner constructor had been changed, we thought it was an NBC change and would bring us a lot of changes.
Expected behavior
Keep the original constructor and add a new method if there are new requirements.
Actual behavior
The original constructor method has been modified.
Is the issue reproducible on runner?

[ ] Shell
[ ] Maven
[ ] Gradle
[ ] Ant
[ ] Eclipse
[ ] IntelliJ
[ ] NetBeans

Test case sample

Please, share the test case (as small as possible) which shows the issue

Contribution guidelines
Incase you plan to raise a pull request to fix this issue, please make sure you refer our Contributing section for detailed set of steps.

I agree it is a breaking change but I don't understand what is difficult to change on your side.
Could you explain what is your use case?

Previously, I need to create a custom SuiteRunner instance in my project, and I implemented ITestRunnerFactory to customize how TestRunner is implemented:
`
SuiteRunner baseSuiteRunner = new SuiteRunner(configuration, suite,
"outputDir",
new ITestRunnerFactory() {
                @Override
                public TestRunner newTestRunner(ISuite suite, XmlTest xmlTest,
                                                Collection<IInvokedMethodListener> listeners, List<IClassListener> classListeners) {
                    TestRunner runner =
                            new TestRunner(configuration, suite, xmlTest,
                                    false,
                                    listeners, classListeners);

//...
return runner;
}
            },
            xxx,
           xxx);

`
But now the TestRunner constructor needs to fill in an instance of SuiteRunner.


[PTX-23277] Revert ValidateCreateVolume Fix

What this PR does / why we need it:
This PR is meant to revert the fix to ValidateCreateVolume introduced in https://github.com/portworx/torpedo/pull/2302 and https://github.com/portworx/torpedo/pull/2328 as the CBT jobs are failing.
Which issue(s) this PR fixes (optional)
Closes #PTX-23277
Special notes for your reviewer:
Please review the following Jenkins build: SetupTeardown with CBT Apps
https://jenkins.pwx.dev.purestorage.com/job/Users/job/krishna/job/tp-pxe-byoc/2422/
Aetos Dashboard: https://aetos.pwx.purestorage.com/resultSet/testSetID/607303

It looks like our CBT jobs have passed after I merged https://github.com/portworx/torpedo/pull/2328.