UI decisions based on new schema/setup

Summary
Got some really significant changes coming to the schema and how we fetch config and data. Need to determine how they should impact the UI and code.
Omnibox
Filtered vs. not
Does this need to continue to use only the filtered data, or could it just always search the unfiltered set instead? The latter is nicely standalone API-wise and need not rely on the same huge all-column data that the table needs, and it would be trivial to implement with the Airtable setup. The only columns we'd need (from the "Language" table in Airtable):

Glotto
ISO
Language
Primary Neighborhoods (or primaries or whatever I called it)
For each of the instances, an id, either our current one or, ideally, the Airtable internal ID (which I will add to the dataset), so that the clicked result takes users to Details.

The potentially weird scenario would be clicking a result for a community that's currently filtered out in the table and the map. However, now that Airtable is separate from MB, the user would still see the full Details view and (I think) the map would still zoom to the right spot and most likely show the popup. You just wouldn't see the point itself, although I could slap a generic icon instead of the currently selected symbology? That little dot is not exactly standing out anyway:

I think a big fella would stand out more, something similar to this (pretend there's a popup there):

and the user has other means for interpreting the symbol anyway:

Primary vs. addl neighborhoods
Regardless of filters, we are searching primary neighbs, correct? As in, a search for Albanian (Geg) should return Morris Park and Tompkinsville, but not Belmont?
Table
Language-level description
Should this be included as part of the search, behind a hidden column? Similar to instance-level Description, but sans column (the "view details" btn technically comes from Description).
My concern is that the data is going to be huge if there are two Description-like columns included. Maybe it's fine, but either way just wondering if this should be the approach. No promises that the Search won't choke with that many records!
1100 rows X many columns = a lot of cells
Neighborhood/s
Probably came full circle and back again on this, but now that we'll have "Primary" and "Addl" neighborhoods broken out in the data, should they be shown as such in the table (in their own columns)? I think this falls under the same concept as our intended hiding-of-the-addl approach in Details (e.g. "Woodside +1"), and adding an additional column seems potentially unruly, not to mention inconsistent with how we'll be presenting it in Details.
The /Explore/Thing/Language/LangName will indeed break out addl neighbs, but since that is more of a language-level view (whereas the table is more of a mixture between language and instance-level) I think it makes sense to reinforce our distinction between primary and addl in the table by not tiptoeing around the distinction but rather obviating it with a dedicated "Primary Neighborhood" column. 6 months into this project, I think it's time to commit to this concept and call it what it is. The user has plenty of opportunities to explore and discover more instance locations, and it will be presented and spelled out very clearly in /Explore/Thing/Language/LangName and the Woodside +1 chip.
Combo
I am not very open to combining the two columns after we finally dismantled them into their respective parts and agreed on a way to present it in the UI. This would be more work, another Airtable column, and an inconsistent way to communicate Neighborhoodness, so let me know an A or B answer: show "Primary Neighborhood" in table, or show that and Addl?

Omnibox
Filtered vs. not
Does this need to continue to use only the filtered data, or could it just always search the unfiltered set instead?

Yep, I reckon it can always search the unfiltered set.

The potentially weird scenario would be clicking a result for a community that's currently filtered out in the table and the map. However, now that Airtable is separate from MB, the user would still see the full Details view and (I think) the map would still zoom to the right spot and most likely show the popup. You just wouldn't see the point itself, although I could slap a generic icon instead of the currently selected symbology? That little dot is not exactly standing out anyway:

I think a big fella would stand out more, something similar to this (pretend there's a popup there):

Seems like a good solution, I'm into it.

Regardless of filters, we are searching primary neighbs, correct? As in, a search for Albanian (Geg) should return Morris Park and Tompkinsville, but not Belmont?

You mean no secondaries in the omnibox, right? Yes, I think that makes sense.

Should this be included as part of the search, behind a hidden column? Similar to instance-level Description, but sans column (the "view details" btn technically comes from Description).

Forgot about this. Could be nice but I don't think it's crucial, and certainly not worth it if there's a performance impact.

I think it makes sense to reinforce our distinction between primary and addl in the table by not tiptoeing around the distinction but rather obviating it with a dedicated "Primary Neighborhood" column.

Understand what you're saying but I have two concerns/counter-arguments. One is that the Data Table, despite some hidden columns, has been kind of masquerading as the total data set for the real geeks to play with. ISOs and Glottos don't really need filtering, and something like Macro is pretty marginal, but cutting the Addl Neighborhoods seems like a hit to the usefulness of this table. Like: go here to filter and sort and sift in all kinds of great ways, just don't come here to see all the languages spoken in Astoria!
The second thing I'm worried about is that with the very blunt distinction between Primaries and Secondaries that's emerging is that we're losing the fact that Secondaries are for the most part associated quite specifically with certain Primaries. In other words, there is a Punjabi community in Brooklyn (with one record), for which the Primary Neighborhood is Flatbush and the Secondary Neighborhood is Kensington. Not "there is a Punjabi community in the NYC with these four Primary Neighborhoods and these Six Secondary Neighborhoods scattered all around". Does that make sense?
At the moment, at least those who know about the areas and communities can see Primary-Secondary relationships represented in a few places besides shout-outs in Descriptions. I understand that for other users it might all be a blur, and I really like that we're tackling the confusion of Secondaries not showing up on the map, but just having a laundry list of alphabetized Primaries followed by a list of alphabetized Secondaries seems to mean losing something that we actually already have in our data. I'm open to various ways, but I want to keep representing this. Like maybe in Explore, but for now I think that's shaping up to be two alphabetized lists one after another. And if I'm understanding it right, we just decided that it makes sense to axe secondaries in the Omnibox altogether.
So besides Table, I guess the +n in Details (e.g. Woodside +1) is the one place we'll still have Secondaries being associated with a particular record? Having it only there just feels too marginal to me, so if the combo in Table is out, which I agree makes sense, I think I'm on the side of having an "Additional Neighborhoods" column in the table short of any other solution. Believe me, I really don't want to add more columns to our poor overstretched table, especially with two long headers "Primary Neighborhoods" and "Secondary Neighborhoods". I'm down to change those names if it's worth it and to consider of other solutions to keep the table trimmer.
Just a related thought that I can try to reinforce in Help: we definitely don't want people to think we're showing them the Primary Languages spoken in Astoria (as in the top languages spoken there). We're not. We're showing them the languages for which Astoria is a Primary Neighborhood. So anything that suggests "Primary Languages" and "Additional Languages" (as in the Neighborhood table in Airtable, even if it's just meant to be shorthard and no one sees it) could be confusing.

If combo would communicate it better then we could probably make one in Airtable, but I could see that getting confusing for a lot of reasons code-wise and maybe UI-wise. So, if the two-column approach and some supplemental Help wording sufficiently communicate your message and goals, let's roll with that.
Let me know what the column headings should be, and please rename them in Airtable. I created a view with just the relevant Data cols, and another one of the same name in Language table.

One more hopefully coherent thought before I hit the hay. What about replacing “Neighborhood” in the table with “Primary Location” that serves up either Primary Nabe or Towns for the suburban ones? That way one value per record, and also every record has a value. In a way that would match what we’ll be serving up in the top half of Pre-Details, right, which should probably also be called “Primary Location(s)”, and in card footers? So hopefully something we’ll already have anyway in Airtable. Just a thought, but somehow I feel like that could better justify leaving Secondaries out of the table...

On Dec 14, 2020, at 8:31 PM, Jason Lampel<EMAIL_ADDRESS>wrote:
If combo would communicate it better then we could probably make one in Airtable, but I could see that getting confusing for a lot of reasons code-wise and maybe UI-wise. So, if the two-column approach and some supplemental Help wording sufficiently communicate your message and goals, let's roll with that.
Let me know what the column headings should be, and please rename them in Airtable. I created a view https://airtable.com/tblHBOmrPVk0WJGZ1/viwZj06z4ObY9bnA3?blocks=hide with just the relevant Data cols, and another one of the same name in Language table.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub https://github.com/Language-Mapping/language-map/issues/150#issuecomment-744969547, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMNKB5ADTO6UWAVS2M44BXDSU24ARANCNFSM4UZ4SSCA.

What about replacing “Neighborhood” in the table with “Primary Location” that serves up either Primary Nabe or Towns for the suburban ones?

yeah that sounds good, i thought i had suggested that but maybe it was actually including Town in that column

That way one value per record, and also every record has a value. In a way that would match what we’ll be serving up in the top half of Pre-Details, right, which should probably also be called “Primary Location(s)”, and in card footers?

Whew, so many implications with this! The routing (/Explore/Neighborhood) is super married to the data, and there are dozens of spots in the code to consider. Whatever we settle on, we should do so before I start working on any of the airtable-driven Explore stuff (and table and omnibox for that matter).
so would the /Explore/Neighborhood become /Explore/Primary Location? i'll say off the bat that any disparity between the route and what's in the data is kind of a deal-breaker, so let's confirm we're on same page there.

So hopefully something we’ll already have anyway in Airtable.

well it's just based on Neighborhood right now, but yeah with a formula it's conceivable that Town and Primary Neighborhood columns could be combined into a "Primary Location" field via formula and ensure that all the records in that column are populated.
and Addl/Secondary wouldn't change, right? still distinct from Primary (and Town obviously)?

Just a thought, but somehow I feel like that could better justify leaving Secondaries out of the table...

sounds good. and if you want to include Secondaries, but hidden yet still searchable via Search in table, that might be doable. i'm not sure how well it searches arrays though, i don't think we've had that scenario yet, it's all been strings so far.
let me know about the Primary Location field. or better yet, take a stab at creating it in the Data table. 😉  i'll give you a hint: it's going to be a formula, probably very similar to what I created for "Census Pretty" in the Language table...
buena suerte!

In terms of the data, I don't see a need for this because it's only the neighborhoods that have tons of languages, most towns just have one, and we've made our city focus clear

ok so /Explore/Neighborhood will live on with its current behavior, correct? essentially this?

But out of curiosity would it be awful or impossible to add Explore/Towns sometime in a SOW far, far in the future?

how about in the recent, recent past? already a thing ;) The beauty that is routing! 🏅  And if you want it to be in the top-level Explore landing, I think if I set up based on this then that could ultimately be controlled on your end.
Not set up yet, will likely save the Explores for last. Today going to do my best to knock out airtable-only map symbology, and Details if i can. looking fwd to that one as it will be awesome to see it load way before the map is done.

Just threw in a Concatenate formula

beauty! sweet JSON gold coming back:

i stole your concat idea for the Census Pretty as well.

required axing "New York (NY)" as a town (do we need that?)

seems awfully redundant, and Town should represent non-NYC locations so i'd vote No.

Not exactly consistent and maybe just a feeling that will pass, but I'm a little tempted to put (NYC) after the neighborhoods now

whatever floats your data boat. i'm not going to do any extra checks in the code, although i don't think the NYC addition would require that anyway.
IMO i think it's fine sans since the "(NY)" and "(CT)" indicate the non-neighb-ness pretty well, and a lack thereof says "neigbh-ness". and we've got blurbs for days if that doesn't cut it.

oops forgot to reply to this...

Understood, but my thought was that we were kind of doing this anyway now.

ah you're right, i must've been thinking it was Neighb-only for pre-Details. so, at that level i'll be hitting your Primary Location field, correct? i mean it will be a rollup-ish field of it in the Language table, but either way that's the field i'll be consuming, right?

For instance, Amharic, where East Orange (NJ) and the NYC neighborhoods are all happily swimming together in Pre-Details. Parkchester is a Secondary, so that'll get bumped down, but then won't we have a header like "Primary Location" covering the other three?

yep, we've got some deets on that floating around somewhere, in #132 i believe.

ok so /Explore/Neighborhood will live on with its current behavior, correct? essentially this?

Yeah, including both Primaries and Secondaries

But out of curiosity would it be awful or impossible to add Explore/Towns sometime in a SOW far, far in the future?

how about in the recent, recent past? already a thing ;) The beauty that is routing! 🏅 And if you want it to be in the top-level Explore landing, I think if I set up based on this then that could ultimately be controlled on your end.

Sweet!

ah you're right, i must've been thinking it was Neighb-only for pre-Details. so, at that level i'll be hitting your Primary Location field, correct? i mean it will be a rollup-ish field of it in the Language table, but either way that's the field i'll be consuming, right?

Great, I think so

Yeah, including both Primaries and Secondaries

Hmm, that's not something we discussed, unless i'm not understanding correctly. We're not going to have multiple sections of cards or lists at the /Explore/Neighborhood level, just one set of cards, so change that Gallery view I created so that it resembles what the cards are supposed to look like.
For /Explore/Something/Language/LangName, yes, we will have a section of "Primary location" cards, followed by an "additional locations" list.

Great, I think so

going to take that as a yes.

I meant just sticking with what we currently have— see Lower East Side screenshot below. Hebrew, Romanian etc have the LES as a  Secondary Neighborhood. It’s fine not to divide this into two sets, I thought it could literally stay exactly like it is, except for the footers which I think we agreed would change throughout to show only Primaries.
In the Airtable Gallery at first I see only Primaries (with the label Primary Languages which we don’t want), but then when I click I see two sets of cards, Primaries and Addl.
I know we’re in favor of a clearer separation of Primaries and Secondaries overall, but this is a place where I think it makes sense to see everything and I was figuring so be it if they’re all together. And a case of "if it ain’t broke". Sorry if I'm misunderstanding or not thinking of something

On Dec 16, 2020, at 12:16 AM, Jason Lampel<EMAIL_ADDRESS>wrote:
Yeah, including both Primaries and Secondaries
Hmm, that's not something we discussed, unless i'm not understanding correctly. We're not going to have multiple sections of cards or lists at the /Explore/Neighborhood level, just one set of cards, so change that Gallery view I created so that it resembles what the cards are supposed to look like.
For /Explore/Something/Language/LangName, yes, we will have a section of "Primary location" cards, followed by an "additional locations" list.
Great, I think so
going to take that as a yes.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub https://github.com/Language-Mapping/language-map/issues/150#issuecomment-745769754, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMNKB5CG3I6EPMQJD2XN5XTSVA7EDANCNFSM4UZ4SSCA.

I meant just sticking with what we currently have— see Lower East Side screenshot below.

not seeing it, please post.

In the Airtable Gallery at first I see only Primaries (with the label Primary Languages which we don’t want), but then when I click I see two sets of cards, Primaries and Addl.

sorry this caused so much confusion, i didn't mean that the Airtable gallery was an exact replica of the UI (clicking, and content, etc.). I just thought it would be an easy way to say: "Are these the languages that should be shown in the card footer for Auburndale when the user is at the URL of /Explore/Neighborhood?"

and are all the cards in the Gallery the entirety of cards that should be shown for /Explore/Neighborhood?
what about the ones that don't have any primary languages? should they be excluded from /Explore/Neighborhood?

not seeing it, please post.

Right, attachments don't seem to make it when I reply to an issue from email.

sorry this caused so much confusion, i didn't mean that the Airtable gallery was an exact replica of the UI (clicking, and content, etc.). I just thought it would be an easy way to say: "Are these the languages that should be shown in the card footer for Auburndale when the user is at the URL of /Explore/Neighborhood?"

For card footers, yes, exactly
But my bad for not being clear that #149 is really only about the card footers.
Are you ok with `/Explore/Neighborhood/Something (like Lower East Side) remaining as it is now?

and are all the cards in the Gallery the entirety of cards that should be shown for /Explore/Neighborhood?

As with/Explore/Neighborhood/Something, I think I'm pretty happy with /Explore/Neighborhood/ as is, i.e. showing all languages associated associated with a nabe (see Lower East Side above) as well as showing nabes that don't have primary languages, e.g. Laurelton, Castle Hill etc.
Any reason not to from your end?

Right, attachments don't seem to make it when I reply to an issue from email.

If you happen to be on your phone, I highly recommend the GH iOS app.

Are you ok with /Explore/Neighborhood/Something (like Lower East Side) remaining as it is now?

Is that the one with the comprehensive/combined primary/secondary footers? That's fine, as long as /Explore/NotNeighborhood/Something is consistent. I think we'd need a formula field to smash those two together for this view, though.

As with /Explore/Neighborhood/Something I think I'm pretty happy with /Explore/Neighborhood/ as is, i.e. showing all languages associated associated with a nabe (see Lower East Side above) as well as showing nabes that don't have primary languages, e.g. Laurelton, Castle Hill etc.

So, the neighbs w/o primaries in /Explore/Neighborhood would just have empty footers then? But when clicked they would take you to the list of cards where they occur as primary and/or secondary?

Any reason not to from your end?

If i understand correctly, no? I'm getting simultaneously more and less confused by the comment though. If you are able to create a Gallery that contains a representation of just what I need for those levels, that would go a long way. I'm kind of losing time trying to make those and clarify the requirements, so anything helps.

Getting pretty confused here now as well, sorry if I'm missing things. I'm down to hop on a call quick but have a million other things to do as well. I really want just about everything to remain the same. The only request was in #149 that footers showing Neighborhoods, across the board, only show Primary Neighborhoods, but otherwise I would just keep everything exactly as it is now, including  /Explore/Neighborhood. Sorry if I've said anything contradicting that
If #149 is hard or has ramifications I'm not seeing, we can drop it. I don't see any need to change anything else about how Neighborhoods are presented in Explore, except Pre-Details (aka the Language Profile) where we're going to split Primary Neighborhoods (with cards) and Secondary Neighborhoods (with bullets) for any given language, right?

Are you ok with /Explore/Neighborhood/Something (like Lower East Side) remaining as it is now?

Is that the one with the comprehensive/combined primary/secondary footers? That's fine, as long as /Explore/NotNeighborhood/Something is consistent. I think we'd need a formula field to smash those two together for this view, though.

Take the Lower East Side screenshot. I want all the same cards to appear with Lang and Endonym exactly as they currently do. I was just hoping (with #149) to change the footers to show Primary Neighborhoods. So for Arberesh, we would change "Lower East Side" to "Great Kills, Lower East Side", just as in the Primary Neighborhoods column in AirTable. Don't understand what would need a formula.

So, the neighbs w/o primaries in /Explore/Neighborhood would just have empty footers then? But when clicked they would take you to the list of cards where they occur as primary and/or secondary?

I'm happy with Explore/Neighborhood and Explore/Neighborhood/Auburndale etc exactly as they are now. They have language names in their footers and I'm fine with all language names in all footers as they are now. They shouldn't be blank because we wouldn't be changing the way we display language names in footers, only neighborhood names

I think we are good on the decisions here? Some overlap probably with #151. I will get secondary neighborhoods into /Explore/Neighborhood footers and do this:

hide the Addl Neighborhoods while keeping it searchable?

i still think we should remove glotto and ISO from the table though. they're not advertised, and it's already searchable and advertised in omnibox. could make the case that it's same concept as searching hidden Addl Neighbs and Descrips, but neighborhoods would be something the user is already searching for and showing up in Addl Locations (and/or Description in some cases).
something for another SOW/issue, but regardless of approach we should advertise what the user can search for and that some of the results may be hidden, e.g. it's hanging out behind Description or Addl Neighborhoods, which won't be apparent since their table columns are hidden.

I think we are good on the decisions here? Some overlap probably with #151. I will get secondary neighborhoods into /Explore/Neighborhood footers and do this:

hide the Addl Neighborhoods while keeping it searchable?

i still think we should remove glotto and ISO from the table though. they're not advertised, and it's already searchable and advertised in omnibox. could make the case that it's same concept as searching hidden Addl Neighbs and Descrips, but neighborhoods would be something the user is already searching for and showing up in Addl Locations (and/or Description in some cases).
something for another SOW/issue, but regardless of approach we should advertise what the user can search for and that some of the results may be hidden, e.g. it's hanging out behind Description or Addl Neighborhoods, which won't be apparent since their table columns are hidden.

Ok all sounds good

Ok all sounds good


feature: implement xcb for windowing

Description
WIP support that replaces x11 with xcb

Btw please decide on XCB vs Xcb in the class names and document that decision.

I'm currently rewriting the future_t and AsyncQueueDispatcher because of deadlock bugs.
This will need to be brought in line with the changes later.

ref: https://github.com/Devsh-Graphics-Programming/Nabla-Examples-and-Tests/pull/32

[CI]: Can one of the admins verify this patch?


Supervisor does not run in Privileged mode.

Home Assistant release with the issue:
0.99.3
Operating environment (HassOS/Generic):
HassOS 2.10
Supervisor logs:

Description of problem:
I´m running on a Pi 3B+. And get from time to time the error: "ERROR (MainThread) [hassio.supervisor] Supervisor does not run in Privileged mode. Hassio runs with limited functionality." It is not possible to reach the GUI (web or app) and also not possible to access via ssh. The only solution to get it running again is to restart the Pi.

Please update HassOS to the latest version.

Thanks for feedback. I've updated HA to version 0.101.3, but I assume you actually mean that I should update HassOS (from 2.10)? I thought that HassOS would update along with HA to the "preferred" version, but maybe that's not the case?
Not sure how I update HassOS

I Found where to update HassOS and are now on version 2.12. After rebooting I get the same error.
starting version 3.2.8
19-11-16 20:20:26 INFO (MainThread) [main] Initialize Hass.io setup
19-11-16 20:20:27 INFO (SyncWorker_0) [hassio.docker.supervisor] Attach to Supervisor homeassistant/armhf-hassio-supervisor with version 192
19-11-16 20:20:27 ERROR (MainThread) [hassio.supervisor] Supervisor does not run in Privileged mode. Hassio runs with limited functionality!
19-11-16 20:20:27 INFO (MainThread) [main] Setup HassIO
19-11-16 20:20:27 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.systemd1 - /org/freedesktop/systemd1
19-11-16 20:20:28 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.hostname1 - /org/freedesktop/hostname1
19-11-16 20:20:28 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: de.pengutronix.rauc - /
19-11-16 20:20:28 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.NetworkManager - /org/freedesktop/NetworkManager/DnsManager
19-11-16 20:20:28 INFO (MainThread) [hassio.host.info] Update local host information
19-11-16 20:20:28 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
19-11-16 20:20:28 INFO (MainThread) [hassio.host.services] Update service information
19-11-16 20:20:28 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
19-11-16 20:20:29 INFO (MainThread) [hassio.host.network] Update local network DNS information
19-11-16 20:20:29 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
19-11-16 20:20:29 INFO (MainThread) [hassio.host.apparmor] Load AppArmor Profiles: {'hassio-supervisor'}
19-11-16 20:20:29 INFO (MainThread) [hassio.host.services] Reload local service hassos-apparmor.service
19-11-16 20:20:29 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ReloadOrRestartUnit on /org/freedesktop/systemd1
19-11-16 20:20:29 INFO (SyncWorker_1) [hassio.docker.interface] Attach to homeassistant/armhf-hassio-dns with version 1
19-11-16 20:20:29 INFO (MainThread) [hassio.dns] Update resolv from Supervisor
19-11-16 20:20:29 WARNING (MainThread) [hassio.dns] Can't write local resolv: [Errno 13] Permission denied: '/etc/resolv.conf'
19-11-16 20:20:29 INFO (MainThread) [hassio.misc.forwarder] Start DNS port forwarding to <IP_ADDRESS>
19-11-16 20:20:29 INFO (MainThread) [hassio.dns] Start CoreDNS plugin
19-11-16 20:20:29 INFO (SyncWorker_2) [hassio.docker.interface] Clean hassio_dns application
19-11-16 20:20:34 INFO (SyncWorker_2) [hassio.docker.dns] Start DNS homeassistant/armhf-hassio-dns with version 1
19-11-16 20:20:34 INFO (SyncWorker_0) [hassio.docker.interface] Attach to homeassistant/raspberrypi3-homeassistant with version 0.101.3
19-11-16 20:20:35 INFO (MainThread) [hassio.hassos] Detect HassOS 2.12 on host system
19-11-16 20:20:35 INFO (SyncWorker_4) [hassio.docker.hassos_cli] Found HassOS CLI homeassistant/armhf-hassio-cli with version 14
19-11-16 20:20:36 INFO (MainThread) [hassio.store.git] Load add-on /data/addons/git/7be23ff5 repository
19-11-16 20:20:36 INFO (MainThread) [hassio.store.git] Load add-on /data/addons/git/a0d7b954 repository
19-11-16 20:20:36 INFO (MainThread) [hassio.store.git] Load add-on /data/addons/core repository
19-11-16 20:20:37 INFO (MainThread) [hassio.store] Load add-ons from store: 63 all - 63 new - 0 remove
19-11-16 20:20:37 INFO (MainThread) [hassio.addons] Found 9 installed add-ons
19-11-16 20:20:37 INFO (SyncWorker_3) [hassio.docker.interface] Attach to homeassistant/armhf-addon-deconz with version 3.6
19-11-16 20:20:37 INFO (SyncWorker_6) [hassio.docker.interface] Attach to dwelch2101/dropbox-sync-armhf with version 1.3.0
19-11-16 20:20:37 INFO (SyncWorker_15) [hassio.docker.interface] Attach to homeassistant/armv7-addon-check_config with version 3.1
19-11-16 20:20:37 INFO (SyncWorker_1) [hassio.docker.interface] Attach to hassioaddons/node-red-armv7 with version 5.0.2
19-11-16 20:20:37 INFO (SyncWorker_5) [hassio.docker.interface] Attach to homeassistant/armv7-addon-samba with version 8.2
19-11-16 20:20:37 INFO (SyncWorker_14) [hassio.docker.interface] Attach to homeassistant/armv7-addon-ssh with version 6.4
19-11-16 20:20:37 INFO (SyncWorker_0) [hassio.docker.interface] Attach to hassioaddons/mqtt with version v1.1.0
19-11-16 20:20:37 INFO (SyncWorker_10) [hassio.docker.interface] Attach to homeassistant/armv7-addon-duckdns with version 1.10
19-11-16 20:20:37 INFO (SyncWorker_11) [hassio.docker.interface] Attach to homeassistant/armv7-addon-configurator with version 3.6
19-11-16 20:20:38 INFO (MainThread) [hassio.updater] Fetch update data from https://version.home-assistant.io/stable.json
19-11-16 20:20:38 INFO (MainThread) [hassio.snapshots] Found 3 snapshot files
19-11-16 20:20:38 INFO (MainThread) [hassio.discovery] Load 1 messages
19-11-16 20:20:38 INFO (MainThread) [hassio.ingress] Load 0 ingress session
19-11-16 20:20:38 INFO (MainThread) [hassio.secrets] Load Home Assistant secrets: 1
19-11-16 20:20:38 INFO (MainThread) [main] Run Hass.io
19-11-16 20:20:38 INFO (MainThread) [hassio.api] Start API on <IP_ADDRESS>
19-11-16 20:20:38 INFO (MainThread) [hassio.addons] Phase 'initialize' start 0 add-ons
19-11-16 20:20:38 INFO (MainThread) [hassio.addons] Phase 'system' start 1 add-ons
19-11-16 20:20:41 INFO (SyncWorker_18) [hassio.docker.addon] Start Docker add-on homeassistant/armhf-addon-deconz with version 3.6
19-11-16 20:20:46 INFO (MainThread) [hassio.addons] Phase 'services' start 5 add-ons
19-11-16 20:20:56 INFO (SyncWorker_4) [hassio.docker.addon] Start Docker add-on homeassistant/armv7-addon-samba with version 8.2
19-11-16 20:21:00 INFO (SyncWorker_19) [hassio.docker.addon] Start Docker add-on dwelch2101/dropbox-sync-armhf with version 1.3.0
19-11-16 20:21:00 INFO (SyncWorker_2) [hassio.docker.addon] Start Docker add-on hassioaddons/mqtt with version v1.1.0
19-11-16 20:21:01 INFO (SyncWorker_13) [hassio.docker.addon] Start Docker add-on homeassistant/armv7-addon-ssh with version 6.4
19-11-16 20:21:01 INFO (SyncWorker_3) [hassio.docker.addon] Start Docker add-on homeassistant/armv7-addon-duckdns with version 1.10
19-11-16 20:21:06 INFO (SyncWorker_1) [hassio.docker.interface] Start homeassistant/raspberrypi3-homeassistant
19-11-16 20:21:10 INFO (MainThread) [hassio.api.security] /host/info access from a0d7b954_mqtt
19-11-16 20:21:16 WARNING (MainThread) [hassio.api.security] No API token provided for /api/config
19-11-16 20:21:29 WARNING (MainThread) [hassio.api.security] No API token provided for /api/config
19-11-16 20:22:29 INFO (MainThread) [hassio.homeassistant] Detect a running Home Assistant instance
19-11-16 20:22:29 INFO (MainThread) [hassio.addons] Phase 'application' start 2 add-ons
19-11-16 20:22:29 WARNING (MainThread) [hassio.addons.validate] Unknown options username
19-11-16 20:22:29 WARNING (MainThread) [hassio.addons.validate] Unknown options password
19-11-16 20:22:29 WARNING (MainThread) [hassio.addons.validate] Unknown options ssl
19-11-16 20:22:29 WARNING (MainThread) [hassio.addons.validate] Unknown options certfile
19-11-16 20:22:29 WARNING (MainThread) [hassio.addons.validate] Unknown options keyfile
19-11-16 20:22:29 WARNING (MainThread) [hassio.addons.validate] Unknown options allowed_networks
19-11-16 20:22:29 WARNING (MainThread) [hassio.addons.validate] Unknown options banned_ips
19-11-16 20:22:29 WARNING (MainThread) [hassio.addons.validate] Unknown options banlimit
19-11-16 20:22:29 WARNING (MainThread) [hassio.addons.validate] Unknown options notify_service
19-11-16 20:22:29 WARNING (MainThread) [hassio.addons.validate] Unknown options port
19-11-16 20:22:36 INFO (SyncWorker_18) [hassio.docker.addon] Start Docker add-on hassioaddons/node-red-armv7 with version 5.0.2
19-11-16 20:22:39 INFO (SyncWorker_3) [hassio.docker.addon] Start Docker add-on homeassistant/armv7-addon-configurator with version 3.6
19-11-16 20:22:44 INFO (MainThread) [hassio.tasks] All core tasks are scheduled
19-11-16 20:22:44 INFO (MainThread) [hassio.core] Hass.io is up and running
19-11-16 20:22:45 INFO (MainThread) [hassio.api.security] /host/info access from a0d7b954_nodered
19-11-16 20:22:56 INFO (MainThread) [hassio.api.security] /dns/info access from a0d7b954_nodered

This warning is not an issue. I should avoid it.


[MODEL EVALUATION REQUEST] HuggingFaceTB/SmolLM2-135M

Model ID
HuggingFaceTB/SmolLM2-135M
Model type
Decoder model (e.g., GPT)
Model languages

[X] Danish
[X] Swedish
[X] Norwegian (Bokmål or Nynorsk)
[X] Icelandic
[X] Faroese
[X] German
[X] Dutch
[X] English

Merged model
Not a merged model

Live on the leaderboards now 🎉


grid nx & ny are not doing anything

The arguments nx and ny in grid are not actually being used. Also, the grid lines are plotting overtop of the box.
gs <- gsplot() %>%
    points(1:10,1:10) %>%
    grid(nx=NA, ny=2)
gs

Warning messages:
1: In int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) :
  "nx" is not a graphical parameter
2: In int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) :
  "ny" is not a graphical parameter

@lindsaycarr is this a deal breaker for stable release?

I've got a possible fix coming through on branch right now, but yes - repgen uses it a lot

perhaps related to https://github.com/USGS-R/gsplot/issues/343 ?

Possibly? But I don't think that covers all the issues (maybe the grid lines over the box). The arguments for ny & nx were not being passed along or used at all. Checkout the graphics::grid function compared to what we have https://github.com/USGS-R/gsplot/blob/master/R/grid.R#L56-L77

See #384 for a possible solution

fixed in #386

@jread-usgs did not close yet because of the box issue. The grid lines are covering the box around the plot

Oh, missed that. ordering of print?

Yeah, I think so - looking into it now

grid lines covering box and tick marks fixed in #390


feat(kubectl plugin): add get block-devices command to list all/usable disks per node

Usage/Output All, Usable
➜  mayastor-control-plane (device-inv) kubectl mayastor get block-devices <node-name> --all

 DEVNAME          DEVTYPE    SIZE       AVAILABLE  MODEL                       DEVPATH                                                         FSTYPE  FSUUID  MOUNTPOINT  PARTTYPE                              MAJOR            MINOR                                     DEVLINKS
 /dev/nvme0n1     disk       167772160  no         Amazon Elastic Block Store  /devices/pci0000:00/0000:00:04.0/nvme/nvme0/nvme0n1             259     0                                                                                "/dev/disk/by-path/pci-0000:00:04.0-nvme-1", "/dev/disk/by-id/nvme-nvme.1d0f-766f6c3038346136373931663365363866613164-416d617a6f6e20456c617374696320426c6f636b2053746f7265-00000001", "/dev/disk/by-id/nvme-Amazon_Elastic_Block_Store_vol084a6791f3e68fa1d"
 /dev/nvme0n1p1   partition  167544799  no         Amazon Elastic Block Store  /devices/pci0000:00/0000:00:04.0/nvme/nvme0/nvme0n1/nvme0n1p1   259     1       ext4        4211f95f-755b-4c22-9740-17b12a609123  cloudimg-rootfs  gpt:0fc63daf-8483-4772-8e79-3d69d8477de4  "/dev/disk/by-uuid/4211f95f-755b-4c22-9740-17b12a609123", "/dev/disk/by-id/nvme-nvme.1d0f-766f6c3038346136373931663365363866613164-416d617a6f6e20456c617374696320426c6f636b2053746f7265-00000001-part1", "/dev/disk/by-partuuid/54ecbbe1-f829-4864-bd41-588e2ccc038b", "/dev/disk/by-label/cloudimg-rootfs", "/dev/disk/by-id/nvme-Amazon_Elastic_Block_Store_vol084a6791f3e68fa1d-part1", "/dev/disk/by-path/pci-0000:00:04.0-nvme-1-part1"

➜  mayastor-control-plane (device-inv) kubectl mayastor get block-devices <node name>

 DEVNAME       DEVTYPE  SIZE       AVAILABLE  MODEL                       DEVPATH                                              MAJOR  MINOR  DEVLINKS
 /dev/nvme3n2  disk     104857600  yes        Amazon Elastic Block Store  /devices/pci0000:00/0000:00:1e.0/nvme/nvme2/nvme3n2  259    7      "/dev/disk/by-path/pci-0000:00:1e.0-nvme-1", "/dev/disk/by-id/nvme-Amazon_Elastic_Block_Store_vol019d8523478a2a7cc", "/dev/disk/by-id/nvme-nvme.1d0f-766f6c3031396438353233343738613261376363-416d617a6f6e20456c617374696320426c6f636b2053746f7265-00000001"

Signed-off-by: Abhinandan Purkait<EMAIL_ADDRESS>

Not related to these code changes but, out of curiosity, on your PR description example, after we create the pool, is the device still reported as AVAILABLE ?

Not related to these code changes but, out of curiosity, on your PR description example, after we create the pool, is the device still reported as AVAILABLE ?

Yes, it does. Seems like the blockdevice api, doesn't mark the disks used by mayastor pool as not available. The identification factor a disk to be used is not present. Need to come up with some approach to handle this.

Since this is the case, there's not much we could do...
we have a few options to think about:
IF we can tell the device IS in one of the Pool's reported by the OpenApi, in such case we simply mark it as NOT AVAILABLE - we may even show the pool name as one of the properties?
But how do we know that pool is our pool? Should mayastor inspect each AVAILABLE device and check if it's a pool?
In any case this seems like a separate task so I propose that we simply document this on the help section of the plugin. And instead of yes, maybe it should read yes ? :)
Thoughts?

bors merge


Improve rbx_reflector Roblox Studio automation and logging on macOS

This PR brings automatic place saving to macOS, so it now works exactly the same as on Windows. It also pipes the stdout and stderr streams to null to get rid of extreme verbosity on macOS.
https://github.com/rojo-rbx/rbx-dom/assets/78505208/c488f168-dea0-4a3f-8f26-b83c8b5b4a66

New automation with old verbose output

I also updated the plugin.lua to ensure the correct Roblox Studio instance is connecting to the rbx_reflector


findspam.py: body_text_repeated rule

This should hopefully identify a recently prevalent pattern.
The rule so far is very specifically tailored to the samples I have at hand; going forward, we might want to try to generalize it for broader use.

First off, sorry for not reviewing quickly. I put off doing so a bit when I first saw this, then ended up quite tired and went to sleep.
This seems quite similar in intent to the existing rule "repeating words in {}". Are there cases where that rule and this rule will both match the same text?
It looks like you found and fixed the first issue I had, which was the redundant detection name. And fixed the second issue (that post bodies start with an HTML tag). Just FYI: a <p> is not the only HTML tag which can start a post body, but it is, by far, the most common.
In the version as of the point you removed it from SD:
You use (.+?) in the second regex. That seems over-broad. I'd be much more comfortable if there was a relatively/moderately short limit to the number of characters there. Perhaps a couple/few hundred characters? However, that's probably not all that critical.
The code:
repeats = regex.match(r"\A(\w+(?:\W+\w+){%i}\W*){10,}" % (len(period.groups(0)[0].split()) + 1), s)

doesn't appear to do what you're intending. It doesn't end up looking for a repeating pattern, it just looks for a bunch of words, which would match nearly anything and return the last portion of the text.
For example, on this post, the first regex does this, which then results in the second regex being \Awhat\W+is\W+your\W+(.+?)what\W+is\W+your\b and is doing this. That makes the final regex be \A(\w+(?:\W+\w+){2}\W*){10,}, which is doing this on that text. However, it's going to match anything. For example, using the text of this comment as the body text, it does this.

Thanks for the comments. I backed out the hosed code yesterday, but will try again in the near future with a second PR. I was hoping to be able to catch the current spam wave with higher precision, but given that we ultimately remove those posts quickly anyway, I'll just force myself to ignore the urgency I feel.


If you can't be bothered to download Chrome, which takes about 10mins, why bother making this issue? He clearly states that's where he's put his time and effort to, to support Chrome.
The code is MIT, feel free to include support for other browsers yourself.

A bit of history in regards to Firefox (and other browsers) with Homebrewery. When I first started the project, it wasn't even possible to make the site on Firefox. Homebrewery relies on using CSS columns which Firefox didn't support for quite some time.
Eventually support came, so I invested so time on mking the rendering a bit better for Firefox. But this is incredibly boring and tedious work. Every change I make I have to double check many edges cases back and forth between Chrome and Firefox, and some things I want to do just end up being too finicky or impossible. The final nail in the coffin for me was just how bad Firefox's render to PDF functionality is. Even if you can get a brew looking perfect on web, when you render to PDF on FF all bets are off. This is something I just have no control over. I'd much rather spend my time working features that would benefit the whole user base, or on new tools.
As Saucy pointed out, could do all work work and still deliver a subpar product, or just ask the user to Chrome. I understand your comment was constructive in hopes of better browser support, but I just wanted to give you some context on how tricky of a problem it is.


Bypassing the InstantID nodes in the workflow leads to washed-out and corrupted generations

I've found that if you bypass these nodes inside your workflow while they are connected to the ksampler it leads to washed-out color and corruptions in generation.
When the nodes are enabled or if they are completely removed (or disconnected from other nodes) the quality is the same as per usual image generation. The corruption only starts to appear when the nodes are bypassed while connected to ksampler.
bypassed nodes in the workflow

the result with bypassed nodes

the result with removed (disconnected nodes)

upgrade the extension, only bypass the InstantID node and the Controlnet.


Bump NSwag and Swashbuckle package versions

part of #8462
react to changes in these new packages

nits:

update NSwag URLs to current GitHub location
add solution for web-api-help-pages-using-swagger projects
remove unused namespaces

Thank you for the PR, @dougbu!


Publish temporal chart

Fixes #45
Changes:

Move chart content (16 file renames) to charts/temporal folder
Add chart-release workflow to publish on push to master branch
Bump helm chart to version 0.2.4

NOTE: The helm/chart-releaser tool depends on the existence of a gh-pages branch. This should be created manually in temporalio/helm-charts repo prior to merging this PR.

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

You might want to use a vanity domain, like charts.temporal.io.

@sagikazarmark Good point, though the vanity domain can be added or not separately. It doesn't need to affect publication script.
For example, localstack publishes helm charts to http://localstack.github.io/helm-charts via gh-pages, and the charts repo can also be installed as http://helm.localstack.cloud/

rebased onto chart 0.2.3
@underrun PTAL

@joebowbeer I love this concept and we will definitely want to do this, but it's blocked on another more significant change: breaking apart the helm chart into one that only installs and configures temporal itself (which will be our production helm chart) and another that combines the separate temporal helm chart and charts for dependencies into something more like what we have today (and which we name clearly as a development chart).
part of the problem today is that there are production pieces and development pieces in the same chart and that's made it difficult to message about. if we're going to create a first class helm experience it really needs to start by having a chart we can say is entirely production ready without any caveats.
I've created an issue describing this: https://github.com/temporalio/helm-charts/issues/189

Closing this for now as we will take a different approach to releasing the chart after our new approach to helm charts is implemented: https://github.com/temporalio/proposals/issues/42


Series window expects year as int not None

GenericMetadata defaults year to None but the series window expects an int and so crashes:
Traceback (most recent call last):
  File "comictagger/comictaggerlib/seriesselectionwindow.py", line 546, in cell_double_clicked
    self.show_issues()
  File "comictagger/comictaggerlib/seriesselectionwindow.py", line 337, in show_issues
    title = f"{series.name} ({series.start_year:04}) - "
TypeError: unsupported format string passed to NoneType.__format__

That's because ComicVine always had a year...


[OSB[ New collection log items aren't purple

🐛 Bug Report
When you get an item thats new to the log, the '1' doesn't become purple as it should. As you can see in the image below, I got a mace drop from nightmare and it was a new log item, yet it didn't change the '1' color. I've also noticed the same issue with my friend getting a Zalcano shard, which was new.

This should be fixed now.


EventBridge support

Hello all,
I was wondering if there are any plans to create an extension for EventBridge? I assume I can build a native Quarkus executable
using the https://aws.amazon.com/blogs/developer/graalvm-native-image-support-in-the-aws-sdk-for-java-2-x/  but it would be nice to get the plug-and-play benefit of an extension.

2.9.0 is out with support for eventbridge


DD_HOSTNAME environment variable is not working with dogstatsd only images

The entrypoint.sh scripts (for both the alpine and ubuntu versions of the dogstatds only image) is missing the logic to set the hostname configuration option from DD_HOSTNAME environment variable.

Hi @nimeshksingh,
Thanks for catching that! latest images are currently rebuidling, and the new mapping should be available as soon as the build finishes.
Regards

Still not working in.. 6.4.1 for me...

Hi @drozzy
This docker-dd-agent repository is the packaging of Agent5. You are referring to Agent6 6.4.1, that is a complete rewrite and lives in https://github.com/DataDog/datadog-agent
I just confirmed datadog/dogstatsd:6.4.1 reacts to the value of the DD_HOSTNAME environment variable. Please keep in mind this hostname is only added if no hostname is already specified at metric submission. If that still does not work for your use case, please contact our support team.

Please keep in mind this hostname is only added if no hostname is already specified at metric submission

Thank you this clarifies it!


Converting the Koala Weights to HF Transformers

Hi,
Thanks for the great work. To convert the Koala model weights to HuggingFace Transformers format, the following script is given:
python -m EasyLM.models.llama.convert_easylm_to_hf \
    --load_checkpoint='params::path/to/koala/checkpoint' \
    --tokenizer_path='path/to/llama/tokenizer' \
    --model_size='13b' \  # '7b', '13b', '30b' or '65b'
    --output_dir='path/to/output/huggingface/koala/checkpoint'

so the load_checkpoint is the path to weights diff (e.g. koala_13b_diff_v2) and tokenizer_path is the path to the Meta's released weights of LLama, right?

Due to the llama license, we are not able to directly release Koala weights. Therefore, we released it as a diff against the base LLaMA model weights. Therefore, you need to obtain the base LLaMA weights from Meta and recover the Koala weights first. Please follow the Koala documentation here.


key with space in it's name breaks SSH

I was using ssh key with blank space in it's name. CC allowed me to add it to environment. Then when i sshed into container, i got error:
"bash: jun: command not found"
Key-name was " jun"
OS: debian, branch - master.

Fixed


Baykok's Bow from Totemic and the Sentient Bow from Blood Magic consumes Wildwood Quiver

Whenever I use Baykoks bow, or the sentient bow it consumes the entire quiver (with the entire inventory) upon firing one shot. It will fire arrows in my inventory first, but seems to treat the quiver as an arrow itself

Those are issues for the relevant mods. They aren't checking if the arrow itself is infinite ammo, but they're checking for an enchantment on the bow. This means they're still using 1.7.10 logic/code rather than the new 1.12.2 method.


Analyzer to remove existing pinvoke methods with CsWin32 based ones

Is your feature request related to a problem? Please describe.
Converting projects requires lots of manual code changes which is difficult for large projects with little resources.
Describe the solution you'd like
A code analyzer would reduce the cognitive burden on the developer.
Describe alternatives you've considered
None.
Additional context

Well, that's a very interesting idea. An analyzer alone probably isn't that interesting, but if it came with a code fix (which seems to be what you're thinking too), that would be awesome.
It would probably start very conservatively. For example it might only change the methods that were user-defined with exactly the same signature as CsWin32 would generate, in order to avoid build breaks. Considering enums, structs, and other types that support these extern methods and COM interfaces, etc., I don't expect we'd ever get to 100%. Maybe not even 30%. Which makes me wonder if it would be worthwhile if it was only partially effective.
Still a really interesting idea though.

An analyzer/code fix would make it really easy to identify where the changes can be made. The way I see it working, is that there would be one codefix which suggests the same signature. Then another codefix which suggests the most performant signature of that method, where manual fixes might be needed.
It also can be used to stop pinvokes being added to a project after the project has converted to using CsWin32 via warning/error severity. Which lots of projects use via the automated build/test on pull requests.
Just being told where I can make the changes in a project is VERY powerful.


chore: Introduction to Arrays

Fixes #1
Short description of what this resolves:

What Changes proposed in this pull request:
-Added images
-Added content in Arrays.md
Checklist

[x] Added description of change
[x] Added file name matches File name guidelines
[x] Added code examples, test must pass
[x] Added documentation so that the program is self-explanatory and educational.
[x] Relevant documentation/comments is changed or added
[x] PR title follows semantic commit guidelines
[x] Search previous suggestions before making a new one, as yours may be a duplicate.
[x] I acknowledge that all my contributions will be made under the project's license.

Notes:

Thank you for your contribution @shoebxsiddiqui 🎈🎉🎉. and please don't call me as sir 😄 , Great work by the way 👍🏻.
One thing I want to suggest to you is that in future contributions please make sure the content you add doesn't exactly copy from other sites. 🎉🎈

Thanks for your suggestion, I will take care from next time.


Is not possible to remove / disable Modem Manager

Describe the bug
Is not possible to remove modemmanager
Steps To Reproduce
Steps to reproduce the behavior:
1.
environment.gnome.excludePackages = with pkgs; [
  modemmanager
];

or

services.xserver.excludePackages = with pkgs; [
  modemmanager
];

sudo nixos-rebuild switch

● ModemManager.service - Modem Manager
     Loaded: loaded (/etc/systemd/system/ModemManager.service; enabled; preset: enabled)
    Drop-In: /nix/store/c1gmki530v0pnnvawlzjxmr4qlkck3rj-system-units/ModemManager.service.d
             └─overrides.conf
     Active: active (running) since Sun 2024-03-24 19:07:54 CET; 3h 20min ago
   Main PID: 15571 (ModemManager)
         IP: 0B in, 0B out
         IO: 0B read, 0B written
      Tasks: 4 (limit: 18999)
     Memory: 2.3M (peak: 3.1M)
        CPU: 175ms
     CGroup: /system.slice/ModemManager.service
             └─15571 /nix/store/r8makyq7kwn9mj3b54bagjcfyghjg9kj-modemmanager-1.22.0/sbin/ModemManager

mar 24 19:07:53 nixos systemd[1]: Starting Modem Manager...
mar 24 19:07:53 nixos ModemManager[15571]: <msg> ModemManager (version 1.22.0) starting in system bus...
mar 24 19:07:54 nixos systemd[1]: Started Modem Manager.
mar 24 19:07:58 nixos ModemManager[15571]: <msg> [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:1c.2/0000:02:00.0': not s>
mar 24 19:07:58 nixos ModemManager[15571]: <msg> [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:1f.6': not supported by

Expected behavior
Modem Manager should be removed
Notify maintainers
@jtojnar
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
kamilcynk@nixos nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.22, NixOS, 24.05 (Uakari), 24.05pre601756.44d0940ea560`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

You cannot really expect excludePackages to remove whatever package you want, you always need to check the module definitions.
In this case, ModemManager is brought in by NetworkManager and there is no option to disable it:
https://github.com/NixOS/nixpkgs/blob/94faf6bd44de4d4ff8da8382a847249f6d2bd589/nixos/modules/services/networking/networkmanager.nix#L136
Other than disabling NetworkManager itself:
https://github.com/NixOS/nixpkgs/blob/85a4ee7da66c15d6756a337e92cc19493b5f1d01/nixos/modules/services/x11/desktop-managers/gnome.nix#L358
If you want to make it optional, someone will need to research what effect the removal will have and then introduce an option to the NetworkManager NixOS module.

You cannot really expect excludePackages to remove whatever package you want, you always need to check the module definitions.
In this case, ModemManager is brought in by NetworkManager and there is no option to disable it:
https://github.com/NixOS/nixpkgs/blob/94faf6bd44de4d4ff8da8382a847249f6d2bd589/nixos/modules/services/networking/networkmanager.nix#L136
Other than disabling NetworkManager itself:
https://github.com/NixOS/nixpkgs/blob/85a4ee7da66c15d6756a337e92cc19493b5f1d01/nixos/modules/services/x11/desktop-managers/gnome.nix#L358
If you want to make it optional, someone will need to research what effect the removal will have and then introduce an option to the NetworkManager NixOS module.

Thank you for answer, you are right but looks like is not possible also to disable this service. On each my Fedora setup i disiable all not necessary services like this one and looks like on nixos this is not possible.
Currently is possible to stop the service but is not possible to disable it. More details below
kamilcynk@nixos sudo systemctl stop ModemManager
Warning: The unit file, source configuration file or drop-ins of ModemManager.service changed on disk. Run 'systemctl daemon-reload' to reload units.
kamilcynk@nixos sudo systemctl daemon-reload
kamilcynk@nixos sudo systemctl status ModemManager
○ ModemManager.service - Modem Manager
     Loaded: loaded (/etc/systemd/system/ModemManager.service; enabled; preset: enabled)
    Drop-In: /nix/store/c1gmki530v0pnnvawlzjxmr4qlkck3rj-system-units/ModemManager.service.d
             └─overrides.conf
     Active: inactive (dead)

mar 24 22:34:03 nixos ModemManager[1985]: <msg> ModemManager (version 1.22.0) starting in system bus...
mar 24 22:34:03 nixos systemd[1]: Started Modem Manager.
mar 24 22:34:07 nixos ModemManager[1985]: <msg> [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:1c.2/0000:02:00.0': not supported by any plugin
mar 24 22:34:07 nixos ModemManager[1985]: <msg> [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:1f.6': not supported by any plugin
mar 24 23:57:38 nixos ModemManager[1985]: <msg> caught signal, shutting down...
mar 24 23:57:38 nixos systemd[1]: Stopping Modem Manager...
mar 24 23:57:38 nixos ModemManager[1985]: <msg> ModemManager is shut down
mar 24 23:57:38 nixos systemd[1]: ModemManager.service: Deactivated successfully.
mar 24 23:57:38 nixos systemd[1]: Stopped Modem Manager.
mar 24 23:57:38 nixos systemd[1]: ModemManager.service: Consumed 147ms CPU time, 8.7M memory peak, 0B memory swap peak, read 11.0M from disk, written 0B to disk, no IP traffic.
kamilcynk@nixos sudo systemctl disable ModemManager
Failed to disable unit: File /etc/systemd/system/dbus-org.freedesktop.ModemManager1.service: Read-only file system

Currently is possible to stop the service but is not possible to disable it. More details below

You should set networking.networkmanager.enable = false.

Related: https://github.com/NixOS/nixpkgs/issues/41055


Text should replace "eligible atoms"

"Eligible" is used generically in the text, but is also defined as with implicit hydrogen counts. It's not clear that this definition (line 199), even if the term is changed, needs to be kept given the new hydrogens enumeration. References to "eligible" in the sense of virtual-hydrogen-computable should be removed.
Delete the definition, then find all occurrences of the word "eligible." If referring to implicit hydrogen counting, replace with the new enum-based definition.

"Eligible" is also used to mean "selectable." Maybe swap that usage as well.


Introduce a command line parsing library based on cxxopts.

I am honored to introduce to you a new command line parsing library recently developed based on cxxopts.
The YACO it is designed with a style similar to LLVM CommandLine2.0.
For example:
enum OptLevel { Debug, O1, O2, O3 };
yaco::Opt<OptLevel> OptimizationLevel(
    "opt",
    yaco::desc("Choose optimization level."),
    yaco::values(
        coEnumValN(Debug, "g", "No optimizations, enable debugging"),
        coEnumVal(O1, "Trivial optimizations"),
        coEnumVal(O2, "Default optimizations"),
        coEnumVal(O3, "Expensive optimizations")
        ),
    yaco::inject(parser)
    );

Due to the modification of too much code on the basis of cxxopts, it is completely impossible to merge with cxxopts directly.
In the subsequent development process, it is most likely to manually merge from the cxxopts repository on a regular basis and submit a small amount of valuable code to the cxxopts repository.
Thank you, jarro.

I appreciate that my project has been able to contribute to something, thanks for the heads up.
It looks like your readme needs to remove some references to cxxopts though.

Can I ask what you didn't like about cxxopts and the features you wanted to add to your one?

I appreciate that my project has been able to contribute to something, thanks for the heads up.
It looks like your readme needs to remove some references to cxxopts though.

Thank you for your reminder, I will continue to update the README file. The reference to cxxopts is due to the fact that cxxopts has not yet been fully made transparent, and I will continue to modify it in the future.

Can I ask what you didn't like about cxxopts and the features you wanted to add to your one?

cxxopts is a great project with many amazing features. Due to the habit of using LLVM, I spent some time encapsulating it.
I think these improvements can be made:

Some coding standards require not to use C++ exceptions, so I added an ErrOr template to the modified code to replace the original return value;
If you want to support options like -O3, the prefix of multi-character options may not need to be --, I know that this will make another parser more complicated.


new bug report

Expected Behaviour
Ability to make a call using the aio-lib-analytics and establish connectivity to Analytics via that library.
Actual Behaviour
When running the code below (in the sample code), we both receive a "Swagger is not a constructor" error:

Reproduce Scenario (including but not limited to)
We can consistently reproduce the issue by calling the default sdk.init function.  Since that step is unsuccessful we cannot get any further with it.
Steps to Reproduce
We can consistently replicate this by simply loading the sample code in our sample Firefly app - we were adding it to the Home.js.  The same issue happens if we load this same code in our more well-developed prototype.
Environment Info
  System:
    OS: Windows 10 10.0.19042
    CPU: (8) x64 Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz
    Memory: 3.73 GB / 15.60 GB
  Binaries:
    Node: 14.16.0 - C:\Bitnami\wampstack8\apache2\node.EXE
    Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 7.10.0 - C:\Bitnami\wampstack8\apache2\npm.CMD
  Virtualization:
    Docker: 20.10.5 - C:\ProgramData\DockerDesktop\version-bin\docker.EXE
  npmGlobalPackages:
    @adobe/aio-cli: Not Found

Sample Code that illustrates the problem
import React from 'react'
import { Heading, View } from '@adobe/react-spectrum'
const sdk = require('@adobe/aio-lib-analytics')
const company = 'test'
const apiKey = 'test key'
const token = 'test token'
const rsid = 'test rsid'
async function initAnalyticsSDK (){
    sdkClient = await sdk.init(company, apiKey, token)
    // any sdk call here
}
initAnalyticsSDK()
.then(res => {
  console.log(res)
})
.catch(e => {
  console.log(e)
})

export const Home = () => (

  <View width='size-6000'>
    <Heading level={1}>Welcome to gcoeProjectHexagon!</Heading>
  </View>
)

Logs taken while reproducing problem
I don't have any logs at the moment by can try and retrieve them later if necessary.

Thanks for raising the issue @jbranson000 !
You seem to use the SDK directly on the client. The recommendation when building a Firefly App will be to do it within a Runtime action and benefit from our features like cloud-based persistence and token validation for authorization.
More details in our doc: https://www.adobe.io/apis/experienceplatform/project-firefly/docs.html#!AdobeDocs/project-firefly/master/getting_started/first_app.md
cc @sandeep-paliwal and @shazron for their review and feedback on your reported issue.


Separate item and terrain atlas data

Starting on https://github.com/Blockception/BC-Minecraft-Bedrock-Diagnoser/issues/290

I'm unsure on the find() function; I've made it return itemTextures, if that fails, then terrainTextures and then fallback to textures.

I'm unsure on the find() function; I've made it return itemTextures, if that fails, then terrainTextures and then fallback to textures.

The find function is more meant for just checking if something exists for example :) should be fine


Use array notation with noexpand:

Currently, array branches are missed with using noexpand: because using array indicies leaves everything in a list of len == 1. These commits address this issue.
e.g.
df = read_root('tmp.root', columns="noexpand:x[0]")

before returned nothing, whereas now it returns a dataframe with a single column named 'x[0]'

Under which circumstances do you get a list of length 1?
If I run the example you've added to the tests using the current code, it seems to work:
In [1]: read_root('tmp.root', columns=['noexpand:x[1]'])
Out[1]:
   x[1]
0   1.0
1   1.0
2   1.0
3   1.0

After checking out the latest master of ibab/root_pandas and running my test in ipython, I get an empty dataframe. My versions of root things are:
root                      6.06.02                 py35_10    chrisburr
root-numpy                4.5.2                     <pip>

I've verified that I also get a single-element array with root_numpy 4.5.2.
I think it's best if we fix this upstream with root_numpy.
For example, we could add a special case when the ROOT multiplicity for the variable is -1 here:
https://github.com/rootpy/root_numpy/blob/640beb7bdd511837701c98f92a3d6eb708ea911d/root_numpy/src/tree.pyx#L344
Solving it this way will be much more efficient and robust than trying to identify the variables after the fact.

Agreed, shall we close this pull request then?
I'm happy to have a go at solving this issue in root_numpy, if no one else has a burning desire to do so :)

Let's keep this pull request open until we have a solution.
I've opened a root_numpy issue about this here: https://github.com/rootpy/root_numpy/issues/266.

It looks like root_numpy have implemented a possible solution. Are there any feelings on the best way to implement in root_pandas?
Hopefully I'll be able to have a look this week and have a think about it.

@chrisburr, we should be dealing with or closing issues and PRs now that we have decided to archive the package early next year, moving on with uproot instead. Shall we close this and others asap? Seems the right move at this stage. We should also provide a deprecation warning and a message on the package README … Thoughts?

As explicitly written in the README since a while, root_pandas, and root_numpy on which it depends, has been deprecated and effectively unmaintained for quite a while. We decided to close anthing outstanding as "won't do" and archive the package at this point.


variable expansion doesn't seem to work with showroom

Going through the lab I've noticed a lot of unexpanded variables, such as %aws_web_console_url% in the lab notes. I've attached to examples. If this can't be done in showroom or is done differently let me know and I can go through and send PRs for issues I see. But wanted to raise as an issue first for feedback and guidance for next steps.

This seems to also affect things like the if statement in
https://github.com/augustrh/bookbag-rosa-mobb/edit/showroom/content/modules/ROOT/pages/100-setup/lab_2_cluster_creation.adoc
== Introduction
ifeval::["{rosa_console_url}" == "none"]

During this workshop, you will be working on a cluster that you will create yourself in this step. This cluster will be dedicated to you.

endif::[]
ifeval::["{rosa_console_url}" != ""]
ifeval::["{rosa_console_url}" != "none"]

As I cannot see it on the page before the "INFORMATIONAL PURPOSES" warning (see attachment)


CERT_UNTRUSTED error

Hi everybody,
I'm using node-activedirectory  in order to authenticate user against  AD "ldaps://url" using SSL. (it is using ldapjs as dependency for SSL/TLS negotiation)
the SSL certificate that the domain controller (i.e. Active Directory) is using or returning to me
is signed by a certificate authority that my machine trusts.
When I test the authentication against the same AD using another application it works perfectly(same certification, same client, same AD, the application is not a nodejs application).
It means that my machine trusts the certificate authority returned by the AD. (I can also see the certificate on the list of trusted certificates).
So now the problem is that when I try the same in my nodejs application using the node-activedirectory modul, I'm getting a CERT_UNTRUSTED error !!!!
I think that the node-activedirectory doesn't recognize the certification although it is on the list of trusted certifications.
This error is driving me crazy. So if anyone has a suggestion, please help!
Thank you

That's because your node.js application doesn't automatically load your trust store. Go have a look at the ca param offered in the TLS module or this SO question.

Hey thank you for your help,
I have a question... I have now this code:
var ActiveDirectory = require('activedirectory');
var config = { url: 'ldaps://dc.domain.com',
baseDN: 'dc=domain,dc=com',
username<EMAIL_ADDRESS>password: 'password' }
var ad = new ActiveDirectory(config);
Where do I have to specify the array array of strings or Buffers of trusted certificates in PEM format.
Do you have an explicit example ???
Thank you again

I started with the activedirectory module myself, but then couldn't get it to do what I needed, so I just used ldapjs directory. I checked my old ad branch (not merged) and didn't have any SSL/TLS support in there, so that's probably the rock my AD module usage shipwrecked on. I went straight to ldapjs and have been using that instead.

⚠ This issue has been locked due to age. If you have encountered a recent
problem that seems to be covered by this issue, please open a new issue.
Please include a minimal reproducible example
when opening a new issue.


Fix docstring of linen.Module.bind

Sphinx used to raise an error, which is annoying for packages with classes inheriting from flax linen.Module as we see those errors as well.
besides, the documentation was also broken and this fixes it
Current behaviour:
<!--
<img width="587" alt="Screenshot 2023-07-04 at 01 41 11" src="https://github.com/google/flax/assets/2407108/4bebb7f8-3483-43e6-887b-b836b52d0bb3">

Fixed behaviour:
(to add a screenshot from readthedocs)

Codecov Report

Merging #3177 (d194c97) into main (8efa997) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #3177      +/-   ##
==========================================
- Coverage   82.32%   82.31%   -0.02%
==========================================
  Files          54       54
  Lines        6060     6060
==========================================
- Hits         4989     4988       -1
- Misses       1071     1072       +1

Impacted Files
Coverage Δ

flax/linen/module.py
92.82% <ø> (-0.15%)
:arrow_down:

Hey @PhilipVinc thanks for looking into this!
The issue, however, seems to prevail:

Preview: https://flax--3177.org.readthedocs.build/en/3177/api_reference/flax.linen/module.html#flax.linen.Module.bind


Show bucket url when installation failed even it's not in buckets.json

When you install app, installation failed and your bucket is not in buckets.json you will get default bucket url (lukesampson/scoop) or just none link for creating issue.
Pure powershell

pwsh

Hm, maybe we should limit the ticket URL to GitHub only and display the remote URL/Repo as is for other services (e.g. Gitlab/Gitea/self-hosted).


Panic when advertising data

First: Thank you for this library, this is what got me into Rust programming!
Problem
When I start my light bulb control  I get no panics.
Usually that is. But if I let it run for a couple of hours, at one point it panics with the following log (which prints a lot of words twice for some reason):
Spoiler

thread 'thread '<unnamed><unnamed>' panicked at '' panicked at 'attempt to subtract with overflowattempt to subtract with overflow', ', /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec8
23/rumble-0.2.1/src/bluez/protocol/hci.rs/home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/rumble-0.2.1/src/bluez/protocol/hci.rs::442442::1515

note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
             at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
   1: std::sys_common::backtrace::print
             at libstd/sys_common/backtrace.rs:71
             at libstd/sys_common/backtrace.rs:59
   2: std::panicking::default_hook::{{closure}}
             at libstd/panicking.rs:211
   3: std::panicking::default_hook
             at libstd/panicking.rs:227
   4: std::panicking::rust_panic_with_hook
             at libstd/panicking.rs:476
   5: std::panicking::continue_panic_fmt
             at libstd/panicking.rs:390
   6: rust_begin_unwind
             at libstd/panicking.rs:325
   7: core::panicking::panic_fmt
             at libcore/panicking.rs:77
   8: core::panicking::panic
             at libcore/panicking.rs:52
   9: rumble::bluez::protocol::hci::le_advertising_data
             at /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/rumble-0.2.1/src/bluez/protocol/hci.rs:442
  10: rumble::bluez::protocol::hci::le_advertising_info
             at /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/rumble-0.2.1/<::nom::macros::named macros>:13
  11: rumble::bluez::protocol::hci::le_meta_event
             at /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/rumble-0.2.1/src/bluez/protocol/hci.rs:586
  12: rumble::bluez::protocol::hci::hci_event_pkt
             at /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/rumble-0.2.1/src/bluez/protocol/hci.rs:659
  13: rumble::bluez::protocol::hci::message
             at /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/rumble-0.2.1/src/bluez/protocol/hci.rs:740
  14: rumble::bluez::adapter::ConnectedAdapter::add_raw_socket_reader::{{closure}}
             at /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/rumble-0.2.1/src/bluez/adapter/mod.rs:256
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

The bug seems to happen in this line: https://github.com/mwylde/rumble/blob/889bdcad8ceb91b59c975ced92f19fe97ed9a837/src/bluez/protocol/hci.rs#L441
I'd really appreciate any help on narrowing this bug down. This is my first Rust project so I don't know too many debugging tips.
Cheers!

I've also run into this occasionally. In debug mode happens exactly as described, in release mode the error is a bit more cryptic:
thread '<unnamed>' panicked at 'slice index starts at<PHONE_NUMBER> but ends at 1', src/libcore/slice/mod.rs:2355:5

Backtrace
```
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
    0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
              at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
    1: std::panicking::default_hook::{{closure}}
              at src/libstd/sys_common/backtrace.rs:71
              at src/libstd/sys_common/backtrace.rs:59
              at src/libstd/panicking.rs:211
    2: std::panicking::rust_panic_with_hook
              at src/libstd/panicking.rs:227
              at src/libstd/panicking.rs:491
    3: std::panicking::continue_panic_fmt
              at src/libstd/panicking.rs:398
    4: rust_begin_unwind
              at src/libstd/panicking.rs:325
    5: core::panicking::panic_fmt
              at src/libcore/panicking.rs:95
    6: core::slice::slice_index_order_fail
              at src/libcore/slice/mod.rs:2355
```


Function signature with Tuple argument can't be invoked at runtime

Run the following CQL:
define e1: f1(Tuple { y: 3 });
define function f1(x Tuple { y Integer }) returns Integer: x.y

This successfully translates but the Engine throws a runtime exception:
>> Error: Could not resolve call to operator 'f1' in library 'null'.
>> f1 [2:1] Definition successfully validated

The exception is thrown in Context.resolveFunctionRef() due to the following line resulting in false:
isMatch = isType(resolveType(argument), resolveOperandType(operandDef));

Fundamentally the error is that isType() is asking this, which evaluates to false:
"class org.cqframework.cql.elm.execution.Tuple".isAssignableFrom("class org.opencds.cqf.cql.runtime.Tuple")

A workaround exists for the above CQL which can make it run successfully, by wrapping the Tuple in a singleton list:
define e1: f1(Tuple { y: 3 });
define function f1(x List<Tuple { y Integer }>) returns Integer: SingletonFrom(x).y

Then we get the expected result:
>> e1 [1:1] 3
>> f1 [2:1] Definition successfully validated

The task of this ticket is to fix the CQL Engine so that this workaround is not necessary.

Resolved in release 1.2.20


Update swift stack to Swift 5.1, add debugging support

Updates the incubator/swift stack to use Swift 5.1, and adds debugging support.
Checklist:

[x] Read the Code of Conduct and Contributing Guidelines.

[ ] Followed the commit message guidelines.

[x] Stack adheres to Appsody stack structure.

Modifying an existing stack:

[x] Updated the stack version in stack.yaml

@skoh7645 @ianpartridge Changes made.
I've tested the debug configuration locally - you can spin up vscode, CMD-Shift-B and run 'appsody debug', then launch the debug configuration.
Upon changing the app, eg. "Hello World" -> "Hello Debug", the debug container will rebuild the image automatically, and you can then launch the debug configuration again and see the new output.


[Bug]: Transparent background color on dark theme

Is there an existing issue for this?

[X] I have searched the existing issues

Is there a StackOverflow question about this issue?

[X] I have searched StackOverflow

Is this an issue related to the sample app?

[X] Yes, this is a specific issue related to this samples repo.

What happened?
The black background becomes transparent when the app is in the recents [only in dark mode]:

Part of GTC open source initiative
Relevant logcat output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

The issue is fixed with PR #892


PLUGIN-92 Offline Document Text Extractor action plugin

JIRA: https://issues.cask.co/browse/PLUGIN-92
WIKI: https://wiki.cask.co/display/CE/Cloud+Vision+Plugins
In the scope of this PR:

Added Offline Text extractor plugin
Added tests for Offline Text extractor plugin

@albertshau, @CuriousVini, @mikkin could you, please, take a look?


Can't reproduce Binary_Crossentropy Accuracy Metric with confusion matrix

I build a binary classifier to either predict true or false. The reported binary accuracy during training is different than the accuracy calculated using a confusion matrix after the training phase:
Epoch 1000/1000 180/836 [=====>........................] - ETA: 0s - loss: 0.1821 - binary_accuracy: 0.9556 360/836 [===========>..................] - ETA: 0s - loss: 0.1690 - binary_accuracy: 0.9583 540/836 [==================>...........] - ETA: 0s - loss: 0.1546 - binary_accuracy: 0.9556 725/836 [=========================>....] - ETA: 0s - loss: 0.1868 - binary_accuracy: 0.9503 836/836 [==============================] - 0s 367us/step - loss: 0.1730 - binary_accuracy: 0.9533 - val_loss: 3.1886 - val_binary_accuracy: 0.6393 [[ 0.77313433  0.22686567]  [ 0.7961165   0.2038835 ]] Precision: 0.773134328358 Recall: 0.492677341312 F1: 0.60183639399 Accuracy: 0.488508911752
Do you know why it differs so much? Saw your implementation and normaly it shouldn't differ at all.

Sorry folks, did something wrong with the normalisation of the confusion matrix -.-. Ignore my Issue


[ubuntu] Refactor PowerShell build scripts

Description
This PR refactors PowerShell scripts used for Ubuntu builds:

Get-ToolsetContent helper function is used instead of direct commands
Invoke-DownloadWithRetry helper function is added
Local functions are renamed
Simplified conditions
Minor style changes

Related issue: https://github.com/actions/runner-images-internal/issues/5606
Check list

[x] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run ubuntu2004,ubuntu2204

/azp run ubuntu2004,ubuntu2204

/azp run ubuntu2004,ubuntu2204


Add support for feed item visibility

See http://salesforce.stackexchange.com/questions/102367/using-postfeeditemwithmentions-i-cant-set-visibility-allusers for the details.

@alouie-sfdc Do you want to use method overloading to not break or just add a parameter by default?


[Wallet] Hide CTAs with verification when insufficient balance

Description
This hides CTAs with verification when balance is insufficient to retrieve a pepper if it's not cached.
Tested
iOS simulator
Related issues

Fixes https://github.com/celo-org/celo-monorepo/issues/4748
Fixes https://github.com/celo-org/celo-monorepo/issues/4797

Backwards compatibility
Yes

@jeanregisser @jmrossy thanks for the great feedback! I've addressed it - PTAL.

Hi @jeanregisser  i have verified task using Test flight build v1.1.0 (20) and Android play store build v1.1.0<PHONE_NUMBER>) and found below new issue:
Test scenarios:

Verify user not be able to see "Phone number verification CTA" on home screen, "Start Verification" option from Send & receive screen , "Confirm Phone Number" option from Setting when user sign up without invite code with 0 balance.
Verify user is able to see "Phone number verification CTA" on home screen, "Start Verification" option from Send & receive screen , "Confirm Phone Number" option from Setting when user received $ 0.01 cUSD from any other user.
Verify "Confirm Phone Number" screen is open with "Your current Balance is not high enough..." description when user try to confirm phone number with low balance.
Verify Confirm phone number CTA is not shown when user sign in with Account has 0 balance.

New Issue:

https://github.com/celo-org/celo-monorepo/issues/5018

Please let me know if any thing else i need to verify for this task.
Thanks !


Node example not work

Hello,
The sample in: https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/outgoing-webhook/nodejs is not working with current version of Teams ( Microsoft Teams Version <IP_ADDRESS>66 (64-bit) ) on Windows 11 x64
There are two problems with it:

first problem is that the sample not contains the environment file, and the npm start commant try to serve it on port 8080, however, the ngrok redirect requires 3978
second problem is, thet teams not display any of the messages send by the node app, just the "Sorry, there was a problem encountered with your request" message, because of the response.write usage, you need to use

response.setHeader('Content-Type', 'application/json');
response.statusCode = 200;

instead of the line (currently is line 28 on app.js )
response.writeHead(200);

@vectorkft - We checked this at our end by running the outgoing webhook nodejs sample.
point 1 is correct, as you correctly said npm start command tries to serve it on port 8080.
For point 2, we see that it is working properly with  response.writeHead(200). We havent made any changes in sample except changing the port to 3978. The sample is running properly.

PR has been raised to update the port in sample - https://github.com/OfficeDev/Microsoft-Teams-Samples/pull/795
Could you please let us know if you are still facing the issue?

PR is merged now.
@vectorkft - Could you please let us know if you are facing any other problems?

Hello @vectorkft - Hope your issue has resolved.
We are closing this issue for now, please feel free to reopen it, if required.


Siege of Whiterun (imperials) barriers won’t respawn

Inside Whiterun hold after lowering the drawbridge and entering Whiterun the barriers won’t respawn to prevent you from running straight to dragonsreach (they remain broken)
this was the season’s unending update on a save where I took Whiterun as a stormcloak then betrayed Ulfric

This is a known issue that I might do as a feature later. Unfortunately barriers don't repair on their own and need to be repaired via scripting. And the quest that keeps track of everything during the city interiors for Whiterun, Riften, and Markarth (CWAttackCity) don't have any reference aliases for the barricades.

Added to CWO Feature Board https://trello.com/c/qWda4rj8/40-siege-of-whiterun-imperials-barriers-wont-respawn


Check if the arrows and the search field from "Cum poți ajuta tu?" section are aligned properly

Description: You must check if the arrows and the search field from "Cum poți ajuta tu?" section are aligned properly.
Precondition: The website is up and running

Step 1: Scroll down to "Cum poți ajuta tu?" section.
Expected result: The "Cum poți ajuta tu?" section should be displayed.

Step 2: Check if the arrows and the search field from "Cum poți ajuta tu?" section are aligned properly.
Expected result: The arrows and the search field from "Cum poți ajuta tu?" section should be aligned properly .

Step 3: Check if the arrows and the search field from "Cum poți ajuta tu?" section are aligned properly on your phone.
Expected result: The arrows and the search field from "Cum poți ajuta tu?" section should be aligned properly on your phone.


List of files variable type reset after calling the async List type of API

I am passing the List of Files to the function. That List of Files variable reset after calling the DB API. That API return type is List. And there is no way to reset attachFiles from another way.
This is my function
   List<File> attachFiles = [];

  Future postRequest(BuildContext context, PostModel postModel) async {
    List<RequirementModel> requirements = [];
    attachFiles = postModel.fileNotifierValues;
    print('attach files-1 : ${attachFiles?.length}');
    requirements = List.from(await db.checkRequirement(postModel.customerId, postModel.subCategory.subCategoryId));
    print('attach files-2 : ${attachFiles?.length}');
...
}

Output result
attach files-1 : 1
attach files-2 : 0

checkRequirement function
  Future<List<RequirementModel>> checkRequirement(String uid, String subId) async {
    var ref = _db
        .collection('requirement')
        .where('status', isEqualTo: 'Active')
        .where('customerId', isEqualTo: uid)
        .where('subCategory.id', isEqualTo: subId);

    List<RequirementModel> model = await ref.get().then((list) => list.docs.map((doc) => RequirementModel.fromForestore(doc)).toList());
    if ((model?.length ?? 0) != 0) {
      model.removeWhere((element) => element.enquiryPrivate == true);
      model.removeWhere((element) => element.isPromoInquiry == true);
      return model;
    } else {
      return [];
    }
  }

flutter doctor -v

[✓] Flutter (Channel stable, 2.5.3, on macOS 12.0.1 21A559 darwin-x64, locale
en-LK)
• Flutter version 2.5.3 at /Users/bhanukaisuru/dev/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 18116933e7 (8 weeks ago), 2021-10-15 10:46:35 -0700
• Engine revision d3ea636dc5
• Dart version 2.14.4
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/bhanukaisuru/Library/Android/sdk
• Platform android-31, build-tools 30.0.3
• Java binary at: /Applications/Android
Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 13.1, Build version 13A1030d
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2020.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
[✓] VS Code (version 1.62.3)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.29.0
[✓] Connected device (2 available)
• PRA LX2 (mobile) • 6MU7N17A12000618 • android-arm64  • Android 8.0.0 (API
26)
• Chrome (web)     • chrome           • web-javascript • Google Chrome
96.0.4664.55
• No issues found!

@bhanuka96
What's the expected behavior you are looking for ? The code seem to involve backend. Is there an easy way to replicate the behavior you are seeing ?
Also looking at the code sample you provided, this doesn't seem to be framework related behavior, at best, it could be related to Dart and also you can reach out on stackoverflow.

@darshankawar This is not about the backend. I change my code into this. Now it's working fine.
from
attachFiles = postModel.fileNotifierValue;
to
attachFiles = List.from(postModel.fileNotifierValue ?? []);
Why doesn't this work to my previous code?

From the code you posted, you have attachFiles declared as an array of list List<File> attachFiles = [];, so it'll accept only an array object coming from List.from(postModel.fileNotifierValue ?? []);.
Closing this as resolved based on your comment above.


tvchak.com This site distributes azure microsoft cloud api, so please give me api sniffer

microsoft cloud m3u8 sniffer please. If possible, use chrome extension.

Out of scope for this project.

네이버 메일 앱에서 보냈습니다.
날짜: 2023.01.15 오후 03:22:00 (GMT+09:00)
제목: Re: [microsoft/api-extractor.com-website] tvchak.com This site distributes azure microsoft cloud api, so please give me api sniffer (Issue #56)
Closed #56 as completed.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>