A way to apply sensitive labels to M365 groups

Hi Team,
This is more of a technical query with PNP PowerShell. Please redirect me to the concerned team if this is not the right place.
Is there a way to apply sensitive label to Office 365 group via PowerShell?
I've automated the process of creating SP team sites and want to apply Sensitive labels via PowerShell to the M365 group that gets created.
Many thanks,
Kevin

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

ID: 0d40ac52-6f02-b0f3-0c45-9f359473703b
Version Independent ID: 108355a9-05a3-4d17-c417-c4d5664a4506
Content: Use sensitivity labels with Microsoft Teams, Microsoft 365 groups, and SharePoint sites - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/sensitivity-labels-teams-groups-sites.md
Service: o365-seccomp
GitHub Login: @cabailey
Microsoft Alias: cabailey

Since M365 groups are an Azure AD feature, I think you could ask your question on the following page to get to the right people: https://docs.microsoft.com/en-us/azure/active-directory/enterprise-users/groups-assign-sensitivity-labels  In Next steps I see they have a link to "Manage groups using PowerShell commands" but it doesn't include this information.
However, I asked internally & was pointed towards MSGraph and the assignedLabels property from
https://docs.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-beta#properties   Hope this helps!

Thanks @cabailey for your response.
The shared Links help, but I didn't find the way to assign a sensitive label to the group. Using assignedLabels, I can Get the values but not Post or update a group.


Exporting NodeDOMTreeConstruction via glimmer-node's entry point

Description
Exporting glimmer-node module to enable ember-glimmer to import it for use in setup-registry.
Status
Ready to merge
Changes

Exported NodeDOMTreeConstruction in gimmer-node/index.ts

How to test this PR

run npm test
run node bin/run-node-tests.js

Published as v0.11.1.  You can bump your Ember PR to that version to use these changes...


Flows and Power apps migrator article

About PR
Article dedicated to the flow & power apps migrator: https://github.com/Zerg00s/FlowPowerAppsMigrator. It's a free open source project that helps power apps and flow developers and users migrate artifacts across tenants.
Twitter handle
@Zerg00s
Text for Twitter
Flow & Power Apps migrator by @Zerg00s is a portable tool that lets you migrate apps and flows that primarily use SharePoint as a data source.

Thanks @Zerg00s! This is a great article (and a great tool!).
You also have the dignified honor of being the first person to submit a post for our new blog!  Thank you for being a trailblazer!
I hope the process to submit the article was painless and that this is going to be the first of many posts from you!!!
@LuiseFreese I will leave you the honors!

hey @Zerg00s  - this is totally amazing! Thank you for being our very first author on our new blog. Can I ask you to delete the en-us from the links? This ensures that everyone can read a docs article in a language that they prefer :-)  I will merge after that small correction :-)
Thank you again, you rock! 🚀

Hi @LuiseFreese! Thank you so much for the review! en-us is now removed from the hyperlinks.


Datagrid column width not set correctly inside hidden tab content

Select one ...  (check one with "x")
[x] bug
[ ] feature request
[ ] enhancement

Expected behavior
Two datagrids displaying the same data set inside different tabs should have the same column widths and appearance.
Actual behavior
The datagrid displayed on the first active tab has column widths that are properly sized for the content. But the datagrid in the second tab does not have the same column widths and does not appear the same as the first.
Reproduction of behavior
https://plnkr.co/edit/rawWLfu1n7ejxPTgrUhq?p=preview
Environment details

Angular version: 2.0.X

Clarity version: 0.8.12

Browser: all

@estrode Thanks for bringing this issue to our attention. We know what is causing this issue, but we will need to further investigate various ways to solve this problem and go with the most appropriate one.
In the meantime, I am showing you a way to circumvent this issue in the following Plunkr:
https://plnkr.co/edit/oevUos8tbK40srgj8IEy?p=preview

Fixed in 0.10.0-rc.1 as part of the tabs refactor.


Gpu redesign

Awesome :100: ! Looks like there are some conflicts.
Shouldn't we add theh ptx files to the gitignore?

Awesome 💯 ! Looks like there are some conflicts.
Shouldn't we add theh ptx files to the gitignore?

Yes we 100% should, let me push an update, did we want to add the cuda code to its own dir?

Yes, let's put all the cuda files in their own dir. I would do that in a different PR tough


fix(image-to-video): enhance error handling for width/height parameters

This pull request improves the error handling for the width and height parameters in the image-to-video pipeline. It ensures that a
detailed JSON error response is returned when the width and/or height parameters are not divisible by 8, as required by the
StableVideoDiffusion pipeline. This enhancement aids in better debugging and user experience.

LIV-84


Considering disabled extensions

Visual Studio Code Version : 1.7.1
Code Sync Settings Version : 2.3.8
Operating System : W10
Occurs On: [Upload / Download]
Proxy Enabled: No
As of version 1.7, VSCode introduced disabled extensions.
We're excited to find these supported by this beloved plugin soon, hopefully! ;) Thank you!

IssueHunt Summary

Backers (Total: $120.00)

 issuehunt ($120.00)

Become a backer now!
Or submit a pull request to get the deposits!
Tips

Checkout the Issuehunt explorer to discover more funded issues.
Need some help from other developers? Add your repositories on IssueHunt to raise funds.

IssueHunt has been backed by the following sponsors. Become a sponsor

Added some thoughts @ https://github.com/Microsoft/vscode/issues/15466#issuecomment-260871236

I installed a lot of extentions. And some of them are not used in my daily working. Therefore to make vs code work fast, I disabled them. When I needed them I will enable them temporarily, and disable them afterwards.
I noticed that disable extension are not synced. I hope I can sync those disabled extension as well, since they are useful as well.
Thanks a lot!
Jiming

to make vs code work fast, I disabled them. When I needed them I will enable them temporarily, and disable them afterwards.

As for now, its the limitation from code itself, in the issue referenced.
But in upcoming versions, im going to introduce the the hot switch dev environment options, you can have multiple gist but can switch to any other gist and that extensions will be installed
https://github.com/shanalikhan/code-settings-sync/issues/308

code --list-extensions command will show all your extensions, included the disabled ones.

@shanalikhan Can I use the settings to choose to upload disabled or enabled plugins?

@shanalikhan Just wondering, do you just ignore disabled extensions or does the  code api just not tell you about disabled extensions?

Now there is no way to achieve this function ?

@mastrauckas It sounds like the latter.

No, Code API dont provide information regarding extension either its disabled / enabled.
Getting information is not useful by getting by any mean (CLI) unless Settings sync disable extension automatically after downloading in other code machines which currently not supported by code

https://code.visualstudio.com/docs/editor/extension-gallery#_command-line-extension-management

@shanalikhan Why not sync extension that are enabled and disabled ?  I much rather have my extensions synced and have to disable manually on the other machine than lose them completely.

Really interested in seeing this feature. @shanalikhan can you elabore on the code limitation?
Is it possible to list and install everything (even the disabled ones)? I'd really prefer this then maybe losing some extensions.

If you can get the full list via code --list-extensions and the the list of enabled extensions through extensions.json, can't you just subtract the latter from the former to get the disabled list? Then you can selectively disable the correct extensions. This could be a workaround until the API is nicer. (Ideally an issue on that could be opened on the code repo.)

Any plan for releasing something to address this?

As there is no official support, the only ways seems is the approach mentioned by @fiblit
There are no exact release plan for this issue but I'm open for PR though, feel free to send. I will release new version with it.

I would appreciate it not uninstalling disabled extensions, I normally have some extensions disabled on my work machine but now I have to leave them enabled so I don't lose them at home.

Concerning code limitation, i saw that you use vscode api to get list of extentions, but you can also get list of all extention by calling CLI /bin/code --list-extentions. Since you are already capable calling code in cli for installing extentions, maybe you could look into it?

+1 on it at least not uninstalling disabled extensions. It's a real chore managing extensions between multiple machines right now. Eg. I only do Python work on my work laptop, I only do JS on my personal laptop. I'd like to disable JS extensions on my work and Python extensions on my personal laptop. Right now everything being enabled makes startup that much slower

@issuehunt has funded $120.00 to this issue.

Submit pull request via IssueHunt to receive this reward.
Want to contribute? Chip in to this issue via IssueHunt.
Checkout the IssueHunt Issue Explorer to see more funded issues.
Need help from developers? Add your repository on IssueHunt to raise funds.

https://github.com/microsoft/vscode/issues/15466
Please upvote and comment over there. Using API instead of CLI is more feasible.
Settings Sync use API to install/uninstall all the extensions from the v3.3.0

Yeah, I also code both angular and react. I usually have disabled extensions of either one and enable only for workspace... This extension did not sync my disabled extensions

REALLY need this, I use vue and java, they're different env set. Every time switching is painful.

I can do this. Please assign me

We need the API from code itself to allow Settings Sync to enable / disable extensions.
cc : @sandy081

@shanalikhan, is there something that's changed since I suggested two feasible approaches/workarounds that would make them unfeasible to do? To my understanding having the API from code is not needed, even if it is preferable.

@shanalikhan This requires exposing the internals which can be flux.
Hence as mentioned in this issue - https://github.com/microsoft/vscode/issues/78966, we are planning to expose an API to an extension to register its backend data store and through which VS Code will synchronise user data.

To my understanding having the API from code is not needed, even if it is preferable.

@fiblit Yes i can understand, but as per discussion with @sandy081 on https://github.com/microsoft/vscode/issues/78966 and https://github.com/microsoft/vscode/issues/78869 the official support is already planned and on its way that will help Settings Sync to get such information. I suggest to wait rather then using custom CLI approaches.

Reporting only to register (as it may be interesting to know more scenarios and how this function is important to some)!
Visual Studio Code Version : 1.45.1
Code Sync Settings Version : 3.4.3
Operating System : ubuntu 18.04.4
Occurs On: [Upload / Download]
Proxy Enabled: No
PS: I have another instalation on a win10 machine.
I program in several languages, Java, C++, Python, PHP, bash. I set up a good environment for PHP, when I started a job in Java I set up the environment and disabled the plugins in the worksplace. It was alright till I found PHP environment in a workspace missed some plugins afther the sync. It took me a day or so to understand what was up. Therefore I ask, please, add workspace disabled plugins to the sync.
If you need some help investigating or whatever you can call me, I'll do my best to help.

It seems that when I enable extensions in WSL2, they get disabled locally automatically. This means any extension which is enabled in WSL2 won't sync over.


Support .config and environment variable for session

For config dir, you could use: https://docs.rs/dirs/4.0.0/dirs/fn.config_dir.html
And for environment variable, I'd imagine something like ADVENT_OF_CODE_SESSION.
I'd be willing to implement this my self.

The .config would be on top of the current location to stay backward compatible.

That's a great idea, please feel free to submit a PR. We could have config_dir as default and if not found revert to home dir.
Not so sure about the env var as that could be a little confusing for users (which one takes precedence?) and possibly less safe (if exported as clear text), but happy to consider it too.
I'd suggest two separate PRs to make it easier to review.

The environment variable was actually meant to enable one to use tools that support storing env variables on the keychain.

That's a good point! My comment about it being less safe was about users doing export SESSION=xyz on the command line and the cookie staying in the shell history. Not a major problem, of course. Having it in the keychain would be neat!

To extend on what OP requests, I'd suggest fully following XDG specification instead of hardcoding support for ~/.config. While the config directory is usually placed at ~/.config and that's the default location, it can be changed to some other location with XDG_CONFIG_HOME environment variable. For reference, see: https://wiki.archlinux.org/title/XDG_Base_Directory#User_directories

To extend on what OP requests, I'd suggest fully following XDG specification instead of hardcoding support for ~/.config. While the config directory is usually placed at ~/.config and that's the default location, it can be changed to some other location with XDG_CONFIG_HOME environment variable. For reference, see: https://wiki.archlinux.org/title/XDG_Base_Directory#User_directories

already did so


Prepare release of v3.6.2-carto.4 [WIP]

Which includes mapnik v<IP_ADDRESS>

Codecov Report

Merging #19 into v3.6.2-carto will not change coverage.
The diff coverage is n/a.

@@              Coverage Diff              @@
##           v3.6.2-carto      #19   +/-   ##
=============================================
  Coverage         96.19%   96.19%
=============================================
  Files                42       42
  Lines              8837     8837
=============================================
  Hits               8501     8501
  Misses              336      336

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d904af4...07f9cf1. Read the comment docs.


[Multi] Bugs Report

Because there isn't much issues reported i thought it would be a good idea to make a bug report as i find them. @prasoc  if you want me to make a separate issue for each bug i find just let me know and i'll do that instead.

[Inventory] After assigning items to quickslot the options of that item will show "USE" 2 times and pressing the first it use the item and makes both "USE" options  disappear, and pressing the second it will give an error.
ZBUG Log:

"Reason: attempt to access a private function 'UseItem' insecure code"
EsoUI/Ingame/Inventory/InventorySlot.lua:1013: attempt to access a private function 'UseItem' from insecure code
stack traceback:
EsoUI/Ingame/Inventory/InventorySlot.lua:1013: in function 'TryUseItem'
EsoUI/Ingame/Inventory/InventorySlot.lua:1194: in function 'INDEX_ACTION_CALLBACK'
EsoUI/Ingame/Inventory/InventorySlotActions.lua:113: in function 'ZO_InventorySlotActions:DoAction'
EsoUI/Ingame/Inventory/ItemSlotActionController.lua:130: in function 'ZO_ItemSlotActionsController:DoSelectedAction'
user:/AddOns/BetterUI/Modules/Inventory/Inventory.lua:884: in function 'buttonCallback'
EsoUI/Libraries/ZO_Dialog/Gamepad/ZO_GenericDialog_Gamepad.lua:28: in function 'callback'
EsoUI/Libraries/ZO_KeybindStrip/ZO_KeybindStrip.lua:614: in function 'ZO_KeybindStrip:TryHandlingKeybindDown'
(tail call): ?
EsoUI/Libraries/ZO_Dialog/ZO_Dialog.lua:1142: in function 'ZO_Dialogs_ButtonKeybindPressed'
:1: in function '(main chunk)'

[Inventory] Motifs are also showing the "USE" option 2 times, but the second use is only working  with cursor and gives the same "Reason: attempt to access a private function 'UseItem' insecure code" error.

[Inventory] Motifs are only showing in the inventory tab, not sure if this is a bug or not but maybe they could be added to Miscellaneous Tab?

[Banking] When  moving [Stacked] items  from and to bank, GUI will not refresh until switch between deposit and withdraw is made.

[Banking] The total amount of items in the inventory and bank displayed under "Withdraw" and "Deposit" doesn't update when moving items around, only when switching between bank and inventory will the values update again.

[Inventory] Treasure maps showing both in miscellaneous and quickslots tabs, not sure is a bug or just how the category system works. Treasure maps also showing the same "USE" bug as the Motifs do.

Thanks a bunch, I will work my way through these bugs and release a patch :)
James

I,ve found a couple more but didn't had the time to make a report yet. I'll let you know as soon as I have a bit of free time. Keep on the good work 👍


Update eo-runtime to 0.34.0

PR-Codex overview
The focus of this PR is to update the dependencies and versions of the EO runtime.
Detailed summary:

Updated EO runtime version to 0.34.0.
Updated dependencies to the latest versions.
Removed unused objects and tests.
Updated package names and aliases.

The following files were skipped due to too many changes: tests/org/eolang/io/stdout-tests.eo, tests/org/eolang/cti-test.eo, make/jvm/pom.xml, objects/org/eolang/nan.eo, objects/org/eolang/string.eo, objects/org/eolang/switch.eo, objects/org/eolang/heap.eo, objects/org/eolang/bytes.eo, objects/org/eolang/bool.eo, objects/org/eolang/tuple.eo, objects/org/eolang/cage.eo, tests/org/eolang/seq-tests.eo, objects/org/eolang/int.eo, tests/org/eolang/try-tests.eo, tests/org/eolang/switch-tests.eo, tests/org/eolang/heap-tests.eo, tests/org/eolang/goto-tests.eo, objects/org/eolang/float.eo, tests/org/eolang/memory-tests.eo, tests/org/eolang/nan-tests.eo, tests/org/eolang/cage-tests.eo, tests/org/eolang/bool-tests.eo, tests/org/eolang/tuple-tests.eo, tests/org/eolang/string-tests.eo, objects/org/eolang/positive-infinity.eo, objects/org/eolang/negative-infinity.eo, tests/org/eolang/int-tests.eo, tests/org/eolang/rust-tests.eo, tests/org/eolang/runtime-tests.eo, tests/org/eolang/bytes-tests.eo, tests/org/eolang/float-tests.eo, tests/org/eolang/negative-infinity-tests.eo, tests/org/eolang/positive-infinity-tests.eo

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@yegor256 please approve and merge

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 26min)


Remove model param in Completion call

The model param is not required for Azure, and its presence results in an authentication error.
Removing it enables it to succeed.
Example error:
---------------------------------------------------------------------------
AuthenticationError                       Traceback (most recent call last)
<ipython-input-49-6182fea6bc5b> in <module>
      1 print('Sending a test completion job')
      2 start_phrase = 'When I go to the store, I want a'
----> 3 response = openai.Completion.create(engine=deployment_id, model=model, prompt=start_phrase, max_tokens=4)
      4 text = response['choices'][0]['text'].replace('\n', '').replace(' .', '.').strip()
      5 print(f'"{start_phrase} {text}"')

~/miniconda3/envs/gpt/lib/python3.9/site-packages/openai/api_resources/completion.py in create(cls, *args, **kwargs)
     29         while True:
     30             try:
---> 31                 return super().create(*args, **kwargs)
     32             except TryAgain as e:
     33                 if timeout is not None and time.time() > start + timeout:

~/miniconda3/envs/gpt/lib/python3.9/site-packages/openai/api_resources/abstract/engine_api_resource.py in create(cls, api_key, api_base, api_type, request_id, api_version, organization, **params)
     98         )
     99         url = cls.class_url(engine, api_type, api_version)
--> 100         response, _, api_key = requestor.request(
    101             "post",
    102             url,

~/miniconda3/envs/gpt/lib/python3.9/site-packages/openai/api_requestor.py in request(self, method, url, params, headers, files, stream, request_id)
    118             request_id=request_id,
    119         )
--> 120         resp, got_stream = self._interpret_response(result, stream)
    121         return resp, got_stream, self.api_key
    122

~/miniconda3/envs/gpt/lib/python3.9/site-packages/openai/api_requestor.py in _interpret_response(self, result, stream)
    325         else:
    326             return (
--> 327                 self._interpret_response_line(
    328                     result.content, result.status_code, result.headers, stream=False
    329                 ),

~/miniconda3/envs/gpt/lib/python3.9/site-packages/openai/api_requestor.py in _interpret_response_line(self, rbody, rcode, rheaders, stream)
    358         stream_error = stream and "error" in resp.data
    359         if stream_error or not 200 <= rcode < 300:
--> 360             raise self.handle_error_response(
    361                 rbody, rcode, resp.data, rheaders, stream_error=stream_error
    362             )

AuthenticationError: Incorrect API key provided: dummy-key. You can find your API key at https://beta.openai.com./

@sorinsuciu-msft

@sorinsuciu-msft This is a bug in the Azure API that needs to be fixed.

This is a bug in the Azure API that needs to be fixed. I would keep the param

After a discussion we decided it's better to remove the param and fix the bug in parallel

@sorinsuciu-msft is this good to go? If so I'll approve and merge it

Yes, please merge


Add attribution comment to feeds

I thought it wasn't necessary because the content was from off-site, but it would be helpful to have some context for the image.

This content brought from you from {feedname}.`

{standard_footer}

done


Upgrade Google Cloud Functions BOM to version 2.26.0

Description

Target

[x] I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

[ ] If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

[x] I checked that each commit in the pull request has a meaningful subject line and body.

[x] I have run mvn clean install -DskipTests locally and I have committed all auto-generated changes

/component-test camel-google/camel-google-functions


[CS2103T-W13-2] CamNUS

CamNUS targets TAs of modules that require class participation, and/or have regular submissions.
It offers a systematic and convenient way to manage assessments and class participation among students based on their contacts.

Codecov Report

Merging #31 (92ad66c) into master (4f7660a) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #31   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4f7660a...92ad66c. Read the comment docs.


Archiving of logs whose file name depends on MDC

Type:

Bug

NLog version: 4.3.10
Platform: .Net 4.6.1
Current NLog config (xml or C#, if relevant)
<nlog>
    <targets>
      <target
        name="f1"
        type="File"
        layout="${longdate} | ${level} | ${message}"
        fileName="${basedir}/Log/log_${mdc:item=clientId}.txt"
        archiveEvery="Minute"
        archiveFileName="${basedir}/Log/archive/log_${mdc:item=clientId}.{#}.txt"
        archiveNumbering="DateAndSequence"
        archiveAboveSize="1000"
        archiveDateFormat="yyyy-MM-dd" />
    </targets>
    <rules>
      <logger name="PerClientLogger" minLevel="Trace" writeTo="f1" final="true" />
    </rules>
  </nlog>

What is the current result?
Let's say that I use PerClientLogger and MappedDiagnosticsContext.Set("clientId", "First") with the config above and fill the log log_First.txt to 999 bytes. If I then switch to MappedDiagnosticsContext.Set("clientId", "Second") and log another message, log_First.txt is archived as log_Second.2016-11-02.0.txt (notice the wrong name!) and log_Second.txt is created. The same thing happens when log_First.txt is older than a minute and I log a message that should go to log_Second.txt.

What is the expected result?
Writing to log_Second.txt should not trigger the archiving of log_First.txt at all, let alone use a wrong name for it.

archived as log_Second.2016-11-02.0.txt (notice the wrong name!

Well that is bit difficult, as we don't have the previous value of ${mdc:item=clientId} anymore.
IMO this is expected, as it could be also:
    fileName="${basedir}/Log/log_${mdc:item=myfilename}.txt"
    archiveEvery="Minute"
    archiveFileName="${basedir}/Log/archive/log_${mdc:item=myarchivename}.{#}.txt"

Writing to log_Second.txt should not trigger the archiving of log_First.txt at all, let alone use a wrong name for it.

There is only 1 filetarget here and so it's sharing the properties. For this case you need a second FileTarget.

So in other words, it is impossible to write to logs using arbitrary names determined at runtime while archiving each file separately?

write to logs with arbitrary names determined at runtime

that's possible

archiving each file separately?

Currently not

PR #1993 will make it possible to perform correct archive cleanup, as the rendering of the archive-cleanup-filemask is delayed until having an actual LogEvent (with all details).


embassy-usb APIs are very clunky

Hi there!
I've recently been working on implementing some device-agnostic keyboard firmware, and I've found the functionality offered by embassy-usb to be really, really clunky, so I wanted to open an issue to mention my frustrations and hopefully start a discussion on making some improvements.
My specific gripes mostly boil down to the way that the Builder type works - it's really not intuitive, and I've found implementing USB DFU pretty frustrating since the Builder APIs make writing descriptors really awkward. I've had a look around at the rest of the embedded USB ecosystem, and I think it would be worth considering implementing an API similar to that of usb-device, especially with regards to its DescriptorWriter type, which seems significantly easier to navigate.
(Weirdly enough, parts of the DescriptorWriter API seem to be copy-pasted into embassy-usb's source code, and just not exposed publicly)
I think needing to provide references to multiple buffers when initializing a device is also pretty irritating, but I understand that there probably isn't much in the way of a better option for that specific case.
Anyways, I digress. Because of the sync-async coloring, it's probably not really feasible to implement some sort of "bridge" on top of usb-device, but in a perfect world I think that's probably what I'd want to see happen; there are already a lot of USB class/peripheral implementations on top of usb-device, which is a big help for projects that don't want to reinvent the wheel.
If this has been brought up before, if there are already plans for improvements, or if I'm just missing something, please let me know. Thank you!

First of all, embassy did use usb-device until early 2022. It would wrap usb-device, usbd-serial into an async API. This setup had a lot of issues due to the fact that usb-device polling needs &mut on all the classes: it'd force the USB task to own all classes and share them with a giant Mutex with user tasks. This'd result in complicated type signatures, and not-ideal perf/code size. usb-device drivers also don't handle the interrupts, leaving it up to the user, which required more heavy lifting in the async wrapper.
embassy-usb solved all these issues (it allows any task to own endpoints and read/write to them lock-free. No giant mutex needed, better perf). Moving async to the core driver allows it to handle its interrupts, abstracting them away from higher layers. It also allows using async when implementing classes, which helps a lot vs having to write the classes manual-polling-state-machine-style and then wrapping them with async externally.
(Side note, there's been efforts to fix some of these in usb-device itself. See the endpoint-trait branch in their repo. They've stalled though. embassy-usb is essentially usb-device with the endpoint-trait changes and written with async instead of manual state machines)
So no, the decision to "reinvent the wheel" was not made lightly. :) The stack is in much better shape now. The tradeoff is you can't use usb-device class impls as-is.
Second: about the descriptor writer:
It's designed this way to enforce at compile-time that descriptors are correct. For example, you can't write an endpoint descriptor if you haven't written an interface descriptor before that the endpoint belongs to. These things trigger runtime errors or malformed descriptors with the usb-device API, while they won't compile at all with the embassy-usb API.
You mention "clunky", "not intutiive", "awkward". These are subjective attributes, and not actionable to improve the API. Can you provide actionable insights on why you find them clunky? For example, "I'm trying to do X and it's not possible because Y is missing", "docs are missing for how to do Y", "doing Z has 6 steps which are hard to figure out, if we added $METHOD it would be 1 step with no loss of type-safety".

Thanks for your response! Regarding usb-device, that makes a lot of sense - I figured it wasn't really feasible, but didn't know the project actually had used it previously :)
One really simple thorn in the current API that tripped me up at first was the builder.function(...) -> function_builder.interface() step. For the common case it might help to have a top-level builder.interface(...) shortcut that takes the same arguments as builder.function(...) & calls interface() implicitly. In my case, this is the first time I've implemented a protocol on top of USB, and I've been following from the USB DFU spec - the way things were laid out, it almost seemed like builder.function(...) "wasn't the right thing to do" so to speak, since what I wanted to write was an interface.
I've also found it difficult to reuse code between i.e the runtime and upgrade DFU modes, for example? The crux of that is needing to keep references to different types depending on what I'd like to do next. The builder actually doing things as it goes rather than taking in a type that represents a description of the operation makes structuring/composing things more difficult too, I think.
As an aside:
I'm unsure whether it would be practical (whether for implementation or binary size reasons) but I almost wonder if something vaguely reminiscent of clap's builder-style API would be reasonable here; some sort of system with a set of easily-constructable builder types that are "lazy" and don't commit configuration until later. Similarly to clap's approach, you could potentially manage type safety and descriptor validity in that scenario by limiting where those builder types can be passed.
The main issue with an approach like that is that you then need to iterate through your description of configuration and actually interpret it; allocating interface numbers, endpoints, writing descriptors, and so forth. Since the user might want to use some of that information later - particularly the interface numbers! - you would need to return a meaningful result that somehow encapsulates that information. It does seem doable though, I think?

Interfaces belong to functions. That's the way USB works. The usb-device API looks simpler because it simply doesn't support multiple functions. It's not "simpler", it's missing features.
The alternative builder API you propose (write everything as Rust structs, then "serialize" everything to binary descriptors when finishing building has already been tried, and results in worse code size.

Right - I figured as much. That's unfortunate and I suppose there isn't much that can be done in that case. I really appreciate the clarification and apologize for the bother - please forgive my naivety! I might open a documentation PR at some point that reiterates what's been said here w.r.t API design so that it's laid out more clearly, but other than that there probably isn't really much actionable here, like you said. Thank you for your time!


Arch migrator

See #12

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge/rsync, this is ready for review/merge
Once it's merged #12 should be closed.

sorry I missed it earlier!

Thanks and no problem. I'm not surprised with everything you've been doing with ruby! 😆


Add more CODEOWNERS to v1.x branch

Problem
https://github.com/celestiaorg/celestia-app/pull/3219 has two approvals but can't be merged because the v1.x branch doesn't have @staheri14 or @ninabarbakadze listed as CODEOWNERS
Proposal
Add @staheri14 and @ninabarbakadze as CODEOWNERS on v1.x branch

Separately, it looks like the v1.x branch file has a CODEOWNERS file with errors

Closed by #3232


It was found that the deepspeed folder exists. Has the deepspeed source code been modified in this project?

Hi,
Yes, I made a bit modification, so that this deepspeed is a bit different from offical  codebase.

Thanks,
I am looking for a training solution that does not modify deepspeed and can use pp+zero. Can you explain the difference between deepspeed, or which commit can reflect the modification?

Hi,
I am afraid that I have modified it from the very beginning, so currently there is no such commit that depends on non-modified deepspeed.


Update DelaunayTriangulation.jl description

As of v1.1.0, DelaunayTriangulation.jl's new default is no longer ExactPredicates.jl and is now AdaptivePredicates.jl. I've left both in since they can ExactPredicates.jl is still available through ExactKernel(). I also changed the sentence a bit since it's also got a lot to do with Voronoi tessellations instead of only CDTs.

I updated both .jmd and .md separately without re-weaving, hopefully that's fine


Build process silently fails when running sass:main

> schema:doc
> rm -rf ./build/graphqldoc && spectaql spectaql.yml -t ./build/graphqldoc

Running "clean:css" (clean) task
>> 0 paths cleaned.

Running "clean:js" (clean) task
>> 0 paths cleaned.

Running "clean:html" (clean) task
>> 0 paths cleaned.

Running "clean:views" (clean) task
>> 0 paths cleaned.

Running "clean:helpers" (clean) task
>> 0 paths cleaned.

Running "copy:default-theme-to-cache" (copy) task
Created 12 directories, copied 63 files

Running "sass:main" (sass) task

Attempting to setup spectaql and i'm hitting the following wall when i attempt to build the static output. Command fails when the sass:main task starts. No output or warning is ejected from the process.
Running the same command with the -C flag to disable the css output resolves the error but obviously creates an unusable dist.
Running node 16.15.0

Here's my config:
spectaql:
  logoFile: public/images/logo-large.png
  faviconFile: public/images/favicon/android-chrome-512x512.png
introspection:
  schemaFile: schemas/default.graphql
  queriesDocumentedDefault: true
  queryDocumentedDefault: true
  queryArgDocumentedDefault: true
  hideQueriesWithUndocumentedReturnType: true
  mutationsDocumentedDefault: true
  mutationDocumentedDefault: true
  mutationArgDocumentedDefault: true
  hideMutationsWithUndocumentedReturnType: true
  objectsDocumentedDefault: true
  objectDocumentedDefault: true
  fieldDocumentedDefault: true
  argDocumentedDefault: true
  hideFieldsOfUndocumentedType: true
info:
  x-hideIntroduction: false
  x-hideWelcome: false
  x-hideIntroItems: false
  x-hideIsDeprecated: false
  x-hideDeprecationReason: false
  description: Chuffed.org graphql schema
  version: 1.0.0
  title: Your Welcome title here
  termsOfService: 'https://dev-portal.chuffed.org/terms'
  contact:
    name: Engineering
    email<EMAIL_ADDRESS>    url: https://dev-portal.chuffed.org/support
  license:
    name: Proprietary
  x-introItems:
    - title: Website
      url: https://chuffed.org
  x-hidePoweredBy: true
  x-url: https://chuffed.org/api/graphql
  x-swaggerUrl: https://dev-portal.chuffed.org/swagger

Here's my npm file too.  This suggest that in addition to the version ^1.2.1 that you've got as a dependency in your project, you've also installed spectaql globally...and I think the global installation is the one that you're calling there.
Can you try replacing ... && spectaql ... with ... && yarn spectaql ...? (I think the equivalent for npm is ... && npx spectaql ...)
If that doesn't work, can you post a minimal .gql file here where the error still occurs?

I've not actually used spectaql globally however that did inspire me to run spectaql via npx.
After removing my local node_modules, I ran npx spectaql spectaql.yml -t ./build/graphdocs without any issue.
This would indicate to me there's some local dependency (most likely sass related) issue, most likely with my local sass setup.
Closing for now as I've resolved this issue.


Elastalert not querying all rules

I'm using Elastalert with Sigma rules for enabling alerting in my SIEM.
I have a three nodes elasticsearch cluster.
When I lauch Elastalert I can see that, in index elastalert_status_status queries are being made but, if I add them up by execution range, they never reach the total number of rules in the directory (1473).
They reach a total between 1457 and 1461. It's not steady so I will exclude some rules related problem.

I decided to implement a load balancer for trying to balance the traffic between all nodes and, hopefully, constantly reaching total.
Reading a previous issue ( #614 ) I saw that haproxy is recommended for this task.
My elastalert configuration looks like this:
rules_folder: /opt/elastalert/rules
run_every:
  minutes: 5
buffer_time:
  minutes: 900
es_host: <elasticsearch-node01-ip>
es_port: 9200
es_username: <username>
es_password: <password>
use_ssl: True
verify_certs: False
#ca_certs: /opt/elastalert/certs/elastalert-ca.crt
writeback_index: elastalert_status
writeback_alias: elastalert_alerts
alert_time_limit:
  days: 1

Keep in mind that this is a test enviroment. I know that this configuration will raise up some warnings realted to TLS certificates but I'm trying to resolve this issue first. (I had the same problem in a HTTP enviroment btw).
My haproxy configuration looks like this:
global
  nbthread 4
  maxconn 20480

defaults
  retries 3
  timeout connect 10s
  timeout client 30s
  timeout server 30s
  # More timeouts
  timeout http-request 10s
  timeout http-keep-alive 2s
  timeout queue 5s
  timeout tunnel 2m
  timeout client-fin 1s
  timeout server-fin 1s

frontend elasticsearch
  bind <IP_ADDRESS>:4200
  bind <IP_ADDRESS>:4201
  bind <IP_ADDRESS>:4202
  mode tcp
  default_backend elasticsearch_backend

backend elasticsearch_backend
  balance roundrobin
  mode tcp
  server node01 <elasticsearch-node01-ip>:9200 check
  server node02 <elasticsearch-node02-ip>:9200 check
  server node03 <elasticsearch-node03-ip>:9200 check

Haproxy service started and I can see that localhost ports are opened and are in LISTEN mode.
I already configured iptables in my Elastalert machine and firewall rules for reaching all ES nodes.
I'm executing Elastalert with the following command:
python3 -m elastalert.elastalert --config=/opt/elastalert/config.yaml --verbose

The problem is not solved and I don't know if this is something that should happen or if it's something related to a possibile error in my configuration.
Some suggestions? Thanks

This worked like a charm.
Thank you


[SPARK-49695] Postgres fix xor push-down

What changes were proposed in this pull request?
This PR fixes the pushdown of ^ operator (XOR operator) for Postgres. Those two databases use this as exponent, rather then bitwise xor.
Fix is consisted of overriding the SQLExpressionBuilder to replace the '^' character with '#'.
Why are the changes needed?
Result is incorrect.
Does this PR introduce any user-facing change?
Yes. The user will now have a proper translation of the ^ operator.
How was this patch tested?
Was this patch authored or co-authored using generative AI tooling?
No.

Can we add some tests?

I wanted to add tests, but didn't know where to put them... Don't know how oss tests postgre.

I wanted to add tests, but didn't know where to put them... Don't know how oss tests postgre.

V2JDBCTest is base class, and there is derived class for Postgres PostgresIntegrationSuite

Added the test, let me know if this is in order.

jenkins trigger: Spark-Integration-Snowflake-Pr

+1, LGTM. Merging to master/3.5/3.4.
Thank you, @andrej-db and @urosstan-db @RaleSapic @PetarVasiljevic-DB @milastdbx @dongjoon-hyun for review.

@andrej-db Could you open separate PRs for 3.4 and 3.5 because your changes cause conflicts in the branches.

To @MaxGekk and @andrej-db , Apache Spark 3.4 reached the End-Of-Support.
Only branch-3.5 is open for backporting.
Also, cc @LuciferYang since he is the release manager for Apache Spark 3.5.4.

Thanks @dongjoon-hyun


Fix tolerance comparing call to np.dot

We were having precision problems with float32 comparing compiled function and np.dot
I changed the input to ones to reduce randomness. The test fail with rtol 0.13, I increased it to 0.2

Fix problem discussed at the end of #1162


ClipRRect borderRadius property replaced with the abstracted BorderRadiusGeometry class

Description
ClipRRect borderRadius property replaced with the abstracted BorderRadiusGeometry class instead of BorderRadius class.
Related Issues
#68870
Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[ ] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: https://flutter.dev/go/breaking-changes-template Replace this with a link to a pull request that adds the migration guide to https://flutter.dev/docs/release/breaking-changes

@abdulmuaz97  looks like this is failing a lot of existing tests. Can you take a look at those? Also, before we can accept this PR, you'll have to add a test as well. Thanks.

I am going to close this for now since there was no follow-up. Feel free to reopen when you have the time to work on this again.


App is crashing on unconfirmed shares after restore.

-Verified this issue on staging app v1.5.0(259)


"Not logged in" while logged in (Netflix)

Expected Behavior
I want to get to see my synchronzation history of my Netflix account again on the trakt scrobbler.
Current Behavior
Since today when I click on "Netflix" on the to synchronize bar on the scrobbler (the toggles are all on) it says I'm not logged in. I go to Netflix to see I'm already logged in. I cleared the cache of the scrobbler, of the browser, logged out and in repeatedly, no change.
Steps to Reproduce

Additional Information

Windows 10
Firefox 127.0:
Austria

Can confirm this is happening starting today..
Using
Ubuntu Desktop 22.04 LTS
Firefox 126.0.1
United States

Yip, same. The URL https://www.netflix.com/Activate 302 redirects to https://movies.netflix.com/Activate which 301 redirects to https://www.netflix.com/Activate ad infinitum. Another URL should be used, because Netflix is still working fine.

Same. Reproduced on Chrome, Brave and Opera (did not try Firefox), so it is not a browser issue but likely something Netflix changed that broke the extension's interaction with the site.
Can we expect an update soon, (please) devs?

Me too, reproduced on Brave, Chrome and Firefox. Tried multiple logins, cache and storage deletes on every browser. No luck.

I can confirm.  2 different Windows machine, Edge, Chrome, & Firefox.   Came here and found this, my last successful sync was on 06/07

Same issue for me as well, tried removing the extension and re-installing it. Tried signing out of netflix and logging in.
Get the same error of not being logged in.

Me too :😒

I also have the same issue.

@rafaelgomesxyz any help?? any fix yet??

This workaround works for me until the ACTIVATE_URL is updated.
Has to be done each time history sync is attempted.
Only tried in chrome.

go to history page of plugin
open developer tools
set a breakpoint around line 205 of history.js after e.ACTIVATE_URL is set
Refresh the page
Debugger should stop where you set the breakpoint
Open console and enter e.ACTIVATE_URL = 'https://www.netflix.com/settings/viewed/'
Click "Resume Script Execution" (Play button)
Click "Netflix" button
Profit 😸

Just tested on CHorme & Firefox, both are still generating "log in" errors

Just tested on Chrome (0.3.1) & Firefox, both are still generating "log in" errors

@patrickhuitema
I just logged out of Netflix and tested a dev build locally and it appears to work with the updated ACTIVATE_URL.
Did you checkout the branch from #385 and generate a dev build and manually install it? see: https://github.com/aghos7/universal-trakt-scrobbler/tree/update-netflix-activate-url?tab=readme-ov-file#development for steps to generate a build

Still not working, have removed the plugin and re added etc.

After installing the beta in developer mode it work with netflix
Op do 20 jun 2024 12:49 schreef cooldude2200 @.***>:

image.png (view on web)
https://github.com/trakt-tools/universal-trakt-scrobbler/assets/32491866/73a89f28-76ab-4c25-8cca-fe14628ee132
Still not working, have removed the plugin and re added etc.
—
Reply to this email directly, view it on GitHub
https://github.com/trakt-tools/universal-trakt-scrobbler/issues/384#issuecomment-2180378080,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG27E3A2CLGXS34S5IVDWCLZIKXTZAVCNFSM6AAAAABJJOYH52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBQGM3TQMBYGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

After installing the beta in developer mode it work with netflix Op do 20 jun 2024 12:49 schreef cooldude2200 @.>:
…
image.png (view on web) https://github.com/trakt-tools/universal-trakt-scrobbler/assets/32491866/73a89f28-76ab-4c25-8cca-fe14628ee132 Still not working, have removed the plugin and re added etc. — Reply to this email directly, view it on GitHub <#384 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG27E3A2CLGXS34S5IVDWCLZIKXTZAVCNFSM6AAAAABJJOYH52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBQGM3TQMBYGA . You are receiving this because you were mentioned.Message ID: @.>

Thank you, just installed the beta it is working fine.

Can confirm after installing the beta, Netflix syncing is working again.

Yeah it worked for me yesterday.
I actually clicked on the wrong bookmark when I was in a hurry, and inadvertently opened the sync page. To my surprise it worked without issues. Not sure why I never received an update notification, or why nobody posted that it was fixed (looks like 3 weeks ago already?). Either way, it works for me now.


How do I localize Mozilla projects online (aka How do I use Pontoon)?

Online -- Pontoon

[ ] Suggest
[ ] Translate
[ ] Review
[ ] Use Machinery
[ ] WYSIWYG editing
[ ] Check progress on projects
[ ] Changing someone's user rights
[ ] Priorities and deadlines
[ ] View community activity
[ ] Request new projects
[ ] Workflow options
[ ] Description of users (manager, translater, contributor)

Checked Firefox for Android as per: https://github.com/mozilla-l10n/documentation/blob/master/products/firefox_android/localize_android.md
Checked Firefox for iOS as per: https://github.com/mozilla-l10n/documentation/blob/master/products/firefox_iOS/adding_new_iOSlocale.md
Maybe what we also need is something more general, which would be basically the equivalent to udpating: https://wiki.mozilla.org/L10n:Contribute

It's good to mark those docs, we should move them here and probably integrate them a bit, for example adding examples of errors.

We probably need a generic document on how to start localizing an existing project (e.g. request on Pontoon).

We decided to split the document in three documents (for now). Document structure is as follows:
User accounts and roles

User account and roles

Create an account on Pontoon
Description of users: contributor, translator, manager
User settings
Changing someone's user rights

Browsing projects and strings

Language (team) page

Tabs: contributors, bugs, etc. (link to changing someone's user rights)
View community activity
Request new projects
Priorities and deadlines
Check progress on projects

Projects

Explain /projects landing page

How to search in Pontoon

Possible states of a string (suggestion, approved, etc.)
How to use filters

Translation workflows

Translating a project

Suggest: what happens to a suggestion, how to manually switch to "Suggestion mode"
Translate: submit a translation directly
Review: how to approve a suggestion, how the history tab works
Use Machinery: using tab during translation, standalone /machinery search, how it works (sources)
Locales tab
Download/upload translations
WYSIWYG editing
Mass actions

Workflow examples

@UncleNachoDuh
My jet-lagged brain just realized that it doesn't make a lot of sense to use one branch for a document of this size.
I'm going to file 3 separate issues and assign each one of them to the right person. In that way we're free to merge each of the pages when they're ready.

At this point I'd suggest you to create a specific branch for #36, instead of using the branch we created in SFO.

Done!


support for friendica

Friendica is a social network software that is using an API that is compatible to status.net.
Trying to add an account doesn't work at the moment, there appears an error message that disappears too fast to recognize.
I'm contributing code to friendica. So I would love to make it work.

Basic support is implemented.
Let's raise focused issues for individual enhancements of Friendica support, which are most important...

Am 01.02.2015 um 09:19 schrieb Yuri Volkov:

Basic support is implemented.
Let's raise focused issues for individual enhancements of Friendica
support, which are most important...
—
Reply to this email directly or view it on GitHub
https://github.com/andstatus/andstatus/issues/55#issuecomment-72356101.

Wow, will it work then with Red Matrix also? This would be awesome and
make AndStatus one killer application.

@morphtown turn on all logs and test!  ☺

Still unsure what account credentials are necessary. Just user/pw seems
not to work with the host defined as GNUsocial. I managed to connect to
the redmatrix with mustard though just read not post.

@morphtown  Maybe Mustard allows "connection" without prior authentication as a user?!
E.g. to read and search Public timeline?!
If account creation is a stumbling block,  AndStatus may be cheated :-)

Create new account in GNU social via web.
Create new Microblogging system in AndStatus,  call it e.g. RedMatrix, but set URL as for that account in point 1.
Create an account in the "RedMatrix".
Go to Settings and change URL etc of RedMatrix to the real URL of Red Maxrix (whatever it is).
Switch to Public timeline and refresh, try Global search...

@yvolk The cheat does not work. AndStatus then still tries to connect to
//redmatrix.tld/api/statusnet

BTW ... how can I delete the borked test accounts? :D

@morphtown It does work, but maybe api path inside typed URL is different?!
Anyway,  connecting another similar system is a piece of cake.
We only need documentation or source code of working client.
Remove account the same way you would remove Google account. Goto Android settings - Accounts and Sync - AndStatus - select account to remove - Remove account in the menu.

@yvolk Ha, they're all there! Thanks for the pointer.


[Bug][Azure DevOps] (MySQLdb.DataError) (1406, "Data too long for column 'description' at row 1")

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
Setup a blueprint using an Azure DevOps connection
Running the blueprint gives an error when running Azure DevOps tasks:

Log files:
logging.zip
What do you expect to happen
The blueprint to complete without errors
How to reproduce
So far I tried 4 different Azure DevOps projects and all fail with the same error, see log attached
Anything else
Every time I run a blueprint
Version
main
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

Hi @CamilleTeruel , any updates for this bug?

Hi @CamilleTeruel , any updates for this bug?

@Startrekzky #5191


entt: 3.6.0 -> 3.7.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/skypjack/entt/releases.
meta.description for entt is: "A header-only, tiny and easy to use library for game programming and much more written in modern C++"
meta.homepage for entt is: "https://github.com/skypjack/entt"
meta.changelog for entt is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.7.0 with grep in /nix/store/f7j6ihhrdx2hlc4drnw3gq4qhzfa0hsf-entt-3.7.0

found 3.7.0 in filename of file in /nix/store/f7j6ihhrdx2hlc4drnw3gq4qhzfa0hsf-entt-3.7.0

directory tree listing: https://gist.github.com/b4221f436ba0cc2a2f7d98d30aeec6f2

du listing: https://gist.github.com/c6fc3873d7a1ae61d4476a4d8a29aca0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
0 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
entt

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/f7j6ihhrdx2hlc4drnw3gq4qhzfa0hsf-entt-3.7.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A entt https://github.com/r-ryantm/nixpkgs/archive/af0a78812e6134456d1c191fdb0d2ac2a8c991c1.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/f7j6ihhrdx2hlc4drnw3gq4qhzfa0hsf-entt-3.7.0
ls -la /nix/store/f7j6ihhrdx2hlc4drnw3gq4qhzfa0hsf-entt-3.7.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

entt

Maintainer pings
cc @Twey for testing.

Result of nixpkgs-review pr 118488 run on x86_64-linux 1

1 package built:

entt


[WIP] 1078 gdd calculate decay tool

🍰 Pullrequest
gdd calculate decay tool
Issues

fixes #1078

Good idea with calendar!

@ogerly Can we close this - as far as I understood its now an external standalone tool?! From my point of view we can deploy it with our services but as external tool not directly in the app?


Dark theme issue

This specific issue was fixed in auscompgeek/fb-messenger-dark@0055901792d7669ce54408c2064e0a9e3d44d278.

This issue is fixed in the latest beta.
Please see #458


[wip] improve dependency resolution diagnostics when resolving non-versioned dependencies

motivation:  when resolving graphs with non-versioned depedendencies (such as branch dependencies), the dependencies get "flattened" onto the root node which looses the original association with the dependency's parent yielding incorrect diagnostics
changes:

more accuretly track the underlying dependency when computing root dependencies from non-versioned depedendencie
peek into the "real" cause when producing depedency based diagnostics for the root node
add a bunch of tests

rdar://87486528

@swift-ci please smoke test

ci infra issues causing build timeout?

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please test package compatibility

not able to reproduce the package compatibility failures reported, could be from a different cause

package compatibility failures: https://github.com/apple/swift/pull/40877

@swift-ci please test package compatibility

@swift-ci please smoke test


"Add users or groups" page hangs on loading identities

Repro steps:

View the debug console.
Refresh the Feed Settings page.
Select Add users/groups.
Type something in the Search users or groups textbox.

Error in debug console:
Unhandled promise rejection: TypeError: Cannot read property 'entityId' of undefined
_onUnhandledRejection @ ms.vss-web.platform-content.es6.6ko0gcvorgpnR7J2.min.js:1
ms.vss-features.identities-content.es6.PhitRCzFMz2RMIlj.min.js:1 Uncaught (in promise) TypeError: Cannot read property 'entityId' of undefined

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

ID: 0e77774e-012a-45cc-d566-7170d86003cd
Version Independent ID: 778dafea-bf98-3292-f451-d82ce8db5bbc
Content: Secure and share packages using feed permissions
Content Source: docs/artifacts/feeds/feed-permissions.md
Product: devops
Technology: devops-artifacts
GitHub Login: @elbatk
Microsoft Alias: elbatk

Hi @jaymebowers, thanks for reaching out. As this isn't specifically document-related, I'd suggest that you create a support ticket. Please go here to do so: https://developercommunity.visualstudio.com/content/problem/post.html?space=21
I'll be closing this issue, however if you have any other questions, please do reply and I'd be happy to help. Thank you and enjoy your weekend!

Will do. Thanks for the direction!
Regards,
Jayme
From: chcomley<EMAIL_ADDRESS>Sent: Friday, May 10, 2019 12:34 PM
To: MicrosoftDocs/vsts-docs<EMAIL_ADDRESS>Cc: Jayme Bowers<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/vsts-docs] "Add users or groups" page hangs on loading identities (#4183)
Hi @jaymebowershttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjaymebowers&data=02|01|jaymeb%40microsoft.com|4ceda0b811244e484f9508d6d565450c|72f988bf86f141af91ab2d7cd011db47|1|0|636931028262006861&sdata=KJ5eyke0v8QaBPrWbncQEXbtKEf6AbSqLOQd9Un2fmk%3D&reserved=0, thanks for reaching out. As this isn't specifically document-related, I'd suggest that you create a support ticket. Please go here to do so: https://developercommunity.visualstudio.com/content/problem/post.html?space=21https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdevelopercommunity.visualstudio.com%2Fcontent%2Fproblem%2Fpost.html%3Fspace%3D21&data=02|01|jaymeb%40microsoft.com|4ceda0b811244e484f9508d6d565450c|72f988bf86f141af91ab2d7cd011db47|1|0|636931028262016856&sdata=nRsM%2FCTrn9wmjYZpA23KoIWMOcPgR8J3MpgxKIh3LQk%3D&reserved=0
I'll be closing this issue, however if you have any other questions, please do reply and I'd be happy to help. Thank you and enjoy your weekend!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fvsts-docs%2Fissues%2F4183%23issuecomment-491351300&data=02|01|jaymeb%40microsoft.com|4ceda0b811244e484f9508d6d565450c|72f988bf86f141af91ab2d7cd011db47|1|0|636931028262016856&sdata=wRQJsKhaM17GbihrCAt%2FDFBz2UlsQkhyl9EwgLaCBnM%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJH72JNHZVPZRLZ3JOIXMXLPUWPWRANCNFSM4HLWMWBA&data=02|01|jaymeb%40microsoft.com|4ceda0b811244e484f9508d6d565450c|72f988bf86f141af91ab2d7cd011db47|1|0|636931028262026856&sdata=skVjkuAiGOYKldeJkthdeZjkSK5IoWVVR3t%2BxWBwdcU%3D&reserved=0.


Is there a way to capture screen shots  from more than 2 displays?

Hello , I use pywinauto to automate desktop app and this app runs with multiple display. I'd like to capture screen shot from multiple display while running pywinauto. I used capture_as_image to capture screen shot, but it seems this captures only one screen from one display.  Is there a way to capture screen shots  from more than 2 displays?  If not, I would try to add the function.

Try changing the default resolution. It might help.


Now blocks can be entities too

I'm sure they felt left out.

What about fluids?

Fluids too

Fluids are just floppy blocks anyway.

Neat (is a mod by vazkii)

Fixed merge conflicts

Please explicitly state when you re-use code from another mod next time.


Using Swift Package Manager instead of CocoaPods results in failed build

Environment
macOS 13.4.1
Xcode 14.3.1
React Native 0.67.4
Steps to reproduce

Open rnmapbox example project

Add

$RNMapboxMapsSwiftPackageManager = {
  url: "https://github.com/mapbox/mapbox-maps-ios.git",
  requirement: {
    kind: "exactVersion",
    version: "10.13.1"
  },
  product_name: "MapboxMaps"
}

to the Podfile, or
$RNMapboxMapsSwiftPackageManager = 'manual'

and add the package manually to the project in Xcode.

Build in Xcode, fails with No such module 'MapboxMaps'

cd example/ios
pod install
cd ../
react-native run-ios

Am I missing a step somewhere to properly use Mapbox through SPM instead of Pods?

Adding a component to try and get around the bot auto closing, though it's not part of the "Setup/installation error" bug template:
import React from 'react';
import {
  MapView,
  ShapeSource,
  LineLayer,
  Camera,
} from '@rnmapbox/maps';

const aLine = {
  type: 'LineString',
  coordinates: [
    [-74.00597, 40.71427],
    [-74.00697, 40.71527],
  ],
};

class BugReportExample extends React.Component {
  render() {
    return (
      <MapView style={{flex: 1}}>
        <Camera centerCoordinate={[-74.00597, 40.71427]} zoomLevel={14} />
        <ShapeSource id="idStreetLayer" shape={aLine}>
          <LineLayer id="idStreetLayer" />
        </ShapeSource>
      </MapView>
    );
  }
}

Adding code example as required:
cd example/ios
pod install
cd ../
react-native run-ios

@ryansommers What is the use case for SPM?
I think it's because of an Xcode issue if an SPM is added to non main project.  You'll need to modify Swift Import Path and add ${SYMROOT}/${CONFIGURATION}${EFFECTIVE_PLATFORM_NAME}/.
See step 3 at https://github.com/mfazekas/pods-spm-dep-poc/#how-it-works

@mfazekas I have Mapbox Navigation in SPM, and when I build with that and Mapbox Maps as a Pod (v10 only, v8 was working fine), I get “XXX-XXX.bcsymbolmap” couldn’t be copied to “BCSymbolMaps” because an item with the same name already exists."
I haven't been able to find a workaround for that, so was trying to use Maps in SPM as a workaround.
And I have Mapbox Navigation in SPM because if it's installed as a Pod, there's incorrect languages that show up in various areas, unless use_frameworks! is added, which I can't do at the moment.
I'll give your suggestion a try shortly, thanks!

@mfazekas Just want to make sure I did this right:

Clicked Pods in the Project navigator
Clicked Pods under Project
Added MapboxMaps as a SPM dependency, and chose "rnmapbox-maps" under "Add to Target"
Selected "rnmapbox-maps" under Targets and added ${SYMROOT}/${CONFIGURATION}${EFFECTIVE_PLATFORM_NAME}/ to Swift Import Paths

The project built and the "No such module" went away, but now I'm getting the error 21940 duplicate symbols for architecture x86_64. I'm just guessing, but that's probably due to MapboxMaps being a dependency of MapboxNavigation, so now there's duplicates?

@ryansommers yes it's possible. Not sure how to work around that.

Thanks for the help @mfazekas


Remove outdated Game Center security guidance

Hi!
The Login Best Practices doc actively discourages people from using Game Center auth as a recoverable login mechanism, because it is allegedly insecure.
This was true when this was written, but PlayFab has since added support for properly validating Game Center auth requests (see Andy's comment in https://community.playfab.com/idea/12921/provide-secure-gamecenter-login.html?page=2&pageSize=10&sort=oldest), meaning this guidance is outdated and there is no security reason to not use Game Center given you properly pass along the appropriate validation parameters to PlayFab.
I'll leave it to your team if there are broader changes you think should be made to update login best practice recommendations, but for now simply removing that anti-recommendation wholesale seems like a choice that will strictly improve the quality of this doc for new PlayFab users considering their login options.
Thanks so much!
(See also #56)

Hi! Wanted to nudge this — any updates? I'd love to see this merged. If there are concerns, I'm happy to dedicate time to help rewriting this to suit you. Also feel free to ping on Teams if you'd rather not chat publicly — my MS alias is emwalker
cc @joannaleecy, since you're listed as the owner in the headers.


API-keys and oauth2 clientIds

Hi,
I'm securing my API by oauth2 authentification which also requries a clientId for each application accessing the API. API-keys seem to offer the same functionality as clientIds but provided by a different framework. However, it seems that restricting the API with API-keys:
apiKeyRequired = AnnotationBoolean.TRUE
has no real consequence as my applications can still call the API without any API-key.

Are you using the endpoints-management-control-appengine dependency? Also, it doesn't really provide the same functionality, as API keys do not reveal identity. See this article.

Yes, I'm using these endpoints dependencies:
    compile 'com.google.endpoints:endpoints-framework-tools:2.0.7'
    compile 'com.google.endpoints:endpoints-management-control-appengine:1.0.3'

Your linked article says that API-keys identify projects. ClientIds do the same, don't they?

Yes, but a client id is used to assert that a token is coming from a specific source. If you don't validate a client id from a token, then a malicious party could take that token and use it with their own API key. In addition, API keys are not considered secure auth tokens.


ASP.NET analyzers and code fix providers

Identification and, if possible, replacement of System.Web APIs that won’t work on ASP.NET Core

dotnet/upgrade-assistant#684
dotnet/upgrade-assistant#683
dotnet/upgrade-assistant#682
dotnet/upgrade-assistant#673
dotnet/upgrade-assistant#681
dotnet/upgrade-assistant#680
dotnet/upgrade-assistant#677
dotnet/upgrade-assistant#676
dotnet/upgrade-assistant#500
dotnet/upgrade-assistant#503
dotnet/upgrade-assistant#675
dotnet/upgrade-assistant#674
dotnet/upgrade-assistant#672
dotnet/upgrade-assistant#72
dotnet/upgrade-assistant#495
dotnet/upgrade-assistant#496
dotnet/upgrade-assistant#497
dotnet/upgrade-assistant#498
dotnet/upgrade-assistant#506
dotnet/upgrade-assistant#660

Identification and, if possible, replacement of hosting and startup code patterns that need to be changed for ASP.NET Core

Updating configuration of static file service
Migrate MVC filter configuration
Migrate MVC routing configuration
Other startup or hosting analysis that we may think of after more brainstorming/research

dotnet/upgrade-assistant#679
dotnet/upgrade-assistant#74

Microsoft.Owin.Security.IAuthenticationManager usage
...

Additional Upgrade Assistant improvements:

Upgrade web projects in a copied project instead of in-place (unlike libraries and desktop apps which upgrade in-place)
Support ASP.NET Web API controller conversion to ASP.NET Core controllers
Integrate System.Web shim / shim-equivalent (being investigated by @davidfowl for .NET 7 timeframe) into upgrade-assistant.
Integrate bridge for Perf Counters / Event Counters (being investigated by @davidfowl for .NET 7 timeframe) into upgrade-assistant.

@cathysull / @sunandabalu is this a dupe of #60?

@cathysull / @sunandabalu is this a dupe of #60?

This might be a superset of what is described in #60 as well as some more items. Maybe we can just combine the two into one issue.


Fix typos in docs

Fix typos in docs introduced by:

#6956

Sorry, I did not have time to review that PR.
CC: @lhoestq

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Upgrade didn't update botocore

Just did an upgrade based on message during deployment.  No dependencies needed upgrading
I looked here and saw that the botocore dependency went up a version.  I manually upgraded botocore and it went from 1.5.26 to 1.5.28.

I don't this this is on our end.


Add read_netcdf function

Please confirm that this PR has done the following:

[x] Tests Added
[ ] Documentation Added
[ ] Name of contributors Added to AUTHORS.rst
[ ] Description in RELEASE_NOTES.md Added

Adding to RELEASE_NOTES.md (remove section after adding to RELEASE_NOTES.md)
Please add a single line in the release notes similar to the following:
- (#XX)[http://link-to-pr.com] Add read_netcdf() function

Description of PR
This PR adds a read_netcdf() function to read netcdf data (.nc). Note that this function currently does not support sub-annual data and meta indicators have the exact indices from META_IDX (currently ‘model’ and ‘scenario’).

Thanks a lot for your comments! To answer your question about aggregated Calliope netCDF, the current output from Calliope (“standard” netCDF) has five dimensions: nodes, techs, carriers, timesteps, and costs. They contain variables according to the model’s specifications, e.g., flow cap, flow in, flow out, flow export, etc.
Aggregated Calliope netCDF (the input data for pyam.read_netcdf) are data that are aggregated or disintegrated from standard Calliope netCDF files into variables compatible with the IAMC standard, such as Primary Energy | Coal. They have four dimensions: model, scenario, region, and time. Unit is an attribute of each variable. In the future, Calliope will be updated to also produce aggregated netCDF as an optional output.
I will be on vacation in the next two weeks and will address any further comments from you when I'm back.
Best regards,
Linh

Sorry for the delay in the review, due to your and my vacation and then too many other ongoing activities...

Pinging @coroa @Rlamboll @znicholls, @LinhHo started implementation of a read_netcdf method in pyam. Could you take a look at whether the nc file that she is using is structured in a way that is useful for the IAMC-format domain (including datetime support)?

There's lots of ways to do something like this with netCDF (similar to CSV, lots of options). The trick is more about just picking something that works.
If all you're doing is reading data, then it doesn't really matter. I would probably give the method a more specifc name. E.g. read_netcdf_caliope, because you don't have an equivalent write_netcdf function that makes it more obvious what format is expected.
There are probably some performance things you could improve in the PR, but if you test that it can read data with time columns and test that it can read data with year columns, you're probably good to go and you can fix performance later.

If you want to also support reading more arbitrary netCDF and writing netCDF, read this
The first thing to understand is that there isn't a standard netCDF format. People do crazy things, so supporting general netCDF isn't really a thing. If you have a write_netcdf method though, it's easier to be like, "We support reading netCDF written with write_netcdf or equivalents thereof.".
The thing we found difficult in scmdata was supporting arbitrary metadata columns when writing. That makes your life much trickier. If you don't care about capturing the meta table, that would make things simpler.
The other thing that can be tricky is the sparsity of data. If you want to store lots of model-scenario combinations, but not all models have run all scenarios, depending on how you format the data, you can end up with a lot of nans which can be annoying for memory or data storage/handling.
If you want the full details, our docs go into this sparsity issue here: https://scmdata.readthedocs.io/en/latest/notebooks/netcdf.html
In terms of how we implemented it, handling all our use cases was tricky (see https://github.com/openscm/scmdata/blob/main/src/scmdata/netcdf.py and https://github.com/openscm/scmdata/blob/main/src/scmdata/_xarray.py). You could do something much simpler if you make more restrictions than we did.

please see this Jupyter notebook

Looks very nice!

please see this Jupyter notebook

Looks very nice!

Awesome, thanks @LinhHo !!

Looks like you found a very inconvenient corner case...
https://docs.xarray.dev/en/stable/user-guide/io.html

I suggest the following: replace all 'None's in string-columns in meta by "NaN" when writing to netcdf, and then replace them again when reading from file.

@LinhHo, I think with the quickfix I proposed above (replacing "nan"-strings by np.nan and a little bit of clean-up (like adding a readme, removing the print statement), this should be good to go, right?

@danielhuppmann Yes, I think so. Thanks a lot for all the comments! I have just updated the release note and cleaned up the code. Could you have an overall look again if we can finalise this PR, please?
By readme did you mean a documentation like this Jupyter notebook?
https://github.com/LinhHo/pyam/blob/netcdf/docs/tutorials/read_netcdf.ipynb

readme did you mean a documentation like this Jupyter notebook?

Sorry, I meant release notes. Which you have already added but in the wrong place.

Tests are failing because the lock file isn't up to date and the release-note ist still in the wrong place - I made https://github.com/LinhHo/pyam/pull/1 to fix this for you. Please review and approach that PR, then tests for this PR should pass.

I took the liberty of pushing an update of the lock file directly to your branch

Looks like tests are failing because matplotlib published a new release, so the plots generated in the tests do not exactly match the expected figures. I will take care of that next week.

I realized that if I fix the matplotlib expected-plots in a separate branch, that would again create merge conflicts on poetry.lock. So I added the expected plots to this branch.


Adopt most recent change from loaders.gl and bump loaders.gl

Background

Change List

bump loaders.gl everywhere
introduce Josh's changes in loaders.gl
add getColor to props

Coverage remained the same at 79.941% when pulling e5bcbdb0eb6989e8cce00463b1552f5a46d93140 on xx/bump into e16688f68a91956ee5a950ed089ab5580451f255 on master.


Add supplementary gix widgets library

This would contain more complicated and non-standard widgets such as cards, carousels, and navigation drawers.

We need to discuss whether this actually makes sense.

This has been added (see https://github.com/goki/gix), although we still should expand it in the context of #510.


Disconect funcionality

Why
Will be usefull get a disconect function for scenes/moments where you don't need waste resources in a node receiving messages. Maybe a disconect function in vsc is a good feature.
Now we can disconect removing the node and adding a new one. Its too shabby and only works on anon login
How
In a non auth flow we must send the close the websocket properly. Must be careful becuase on a auth flow you must free all the resources not only the websocket. The thing is, after login a channeld and logout we can lauch another login to the same channel or another one without problems. I don't see any LEAVE command or something like that but...

I think you are totally right. I'm assigning myself to the task and adding that functionallity in the next release


Issues running catkin_make

Hi,
I have updated the CMakeList.txt file to point to the location of my Ipopt installation. Ipopt is working correctly since I have used it with other programs. When I try to run the 'catkin_make' command if get the following error:
[ 75%] Built target ifopt_core make[2]: *** No rule to make target /usr0/home/rshu/libraries/CoinIpopt/build/lib/libipopt.so, needed by /usr0/home/rshu/catkin_ws_sandbox2/devel/lib/libifopt_ipopt.so.  Stop. make[1]: *** [ifopt/ifopt_ipopt/CMakeFiles/ifopt_ipopt.dir/all] Error 2 make: *** [all] Error 2
any suggestions why this could be?
Thank you,
Roberto

Can you verify that libipopt.so is actually in the folder /usr0/home/rshu/libraries/CoinIpopt/build/lib/
If not you might have to run "make install" in ipopt after running "make". This should put the shared libraries in the folder and then allow catkin to find them. Give that a try.

Thank you for the prompt response. I found the issue. When installing Ipopt I disabled shared library compilation to make the libraries Matlab compatible. Thus, I had to change in the CMakeList.txt file the line
'set(IPOPT_LIBRARIES    ${IPOPT_DIR}/build/lib/libipopt.so) '
to
set(IPOPT_LIBRARIES    ${IPOPT_DIR}/build/lib/libipopt.a)
With that change I managed to compile ifopt without issues.


feat: hook to ease scroll to an element

What it solves
Resolves #227
How this PR fixes it
When opening the Core page, smoothly scrolls to the masthead section.
The target scroll position, ease and duration are reviewed by the design team.

I tried first with the behavior: 'smooth' but I wanted a different ease function to give an acceleration effect.

on mobile it doesn't scroll all the way. The masthead is cut off at the bottom

It was requested to not scroll the masthead all the way to the top (that's why I'm subtracting a factor of 0.2 * window.innerHeight to the masthead section top)

Thanks for the references! I will definitely look into those as I agree the project will have more custom animations.


[IOS] Flutter FPS drops when "resuming from background" and "after unlocking the screen".

Steps to reproduce

I reviewed issue #96381, but unfortunately, this problem persists.
I observed that, in addition to 'resuming from background,' a similar issue arises when the screen is locked (screen off) and then unlocked to continue using the Flutter application.
The FPS drop rate is significantly high when the screen is locked (screen off) and then unlocked, followed by continued usage.
I am using an iPhone 15 Plus running iOS 18.1.1 for development.

Expected results

Actual results

Code sample

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.5, on macOS 13.5.1 22G90 darwin-x64, locale en-VN)
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/to/macos-android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] VS Code (version 1.77.3)
[✓] Connected device (4 available)
[✓] Network resources

@quochuyR
The issue you linked was fixed last year. If you are facing same issue, please provide us updated / runnable reproducible code sample that shows the reported behavior along with detailed expected vs actual result you are looking for.

The issue doesn’t occur frequently, but I usually encounter it during app development and testing—specifically when switching to another app and then returning, or after turning the screen off and back on.

@quochuyR
Please provide us some data or visuals that backs your reported behavior. Also, if possible, check if this occurs using previous iOS devices as well or just with new version.


Rustup, more pthread tests

@bors r+

:pushpin: Commit a0c04859348047a202fac6bda26b235c34d3118f has been approved by RalfJung
It is now in the queue for this repository.

:hourglass: Testing commit a0c04859348047a202fac6bda26b235c34d3118f with merge e8123e5e40e87653e39b408a1fd2fca53fc663bf...


Fonttools unable to read Noto CJK TTC files

It seems that ToT fonttools cannot read ToT noto-cjk TTC files.
Here's what I run and what I get:
$ PYTHONPATH=$HOME/src/fonttools/Lib python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from fontTools import ttLib
>>> ttLib.TTFont('NotoSansSC-Regular.otf')
<fontTools.ttLib.TTFont object at 0x7f06c16a1790>
>>> ttLib.TTFont('NotoSansCJK-Regular.ttc')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/google/home/roozbeh/src/fonttools/Lib/fontTools/ttLib/__init__.py", line 180, in __init__
    self.reader = sfnt.SFNTReader(file, checkChecksums, fontNumber=fontNumber)
  File "/usr/local/google/home/roozbeh/src/fonttools/Lib/fontTools/ttLib/sfnt.py", line 62, in __init__
    raise ttLib.TTLibError("specify a font number between 0 and %d (inclusive)" % (self.numFonts - 1))
fontTools.ttLib.TTLibError: specify a font number between 0 and 7 (inclusive)
>>> ttLib.TTFont('NotoSansCJK-Regular.ttc', 0)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/google/home/roozbeh/src/fonttools/Lib/fontTools/ttLib/__init__.py", line 180, in __init__
    self.reader = sfnt.SFNTReader(file, checkChecksums, fontNumber=fontNumber)
  File "/usr/local/google/home/roozbeh/src/fonttools/Lib/fontTools/ttLib/sfnt.py", line 62, in __init__
    raise ttLib.TTLibError("specify a font number between 0 and %d (inclusive)" % (self.numFonts - 1))
fontTools.ttLib.TTLibError: specify a font number between 0 and 7 (inclusive)
>>> ttLib.TTFont('NotoSansCJK-Regular.ttc', 2)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/google/home/roozbeh/src/fonttools/Lib/fontTools/ttLib/__init__.py", line 164, in __init__
    file = macUtils.SFNTResourceReader(file, res_name_or_index)
  File "/usr/local/google/home/roozbeh/src/fonttools/Lib/fontTools/ttLib/macUtils.py", line 42, in __init__
    reader = ResourceReader(path)
  File "/usr/local/google/home/roozbeh/src/fonttools/Lib/fontTools/misc/macRes.py", line 32, in __init__
    self._readFile()
  File "/usr/local/google/home/roozbeh/src/fonttools/Lib/fontTools/misc/macRes.py", line 52, in _readFile
    self._readTypeList()
  File "/usr/local/google/home/roozbeh/src/fonttools/Lib/fontTools/misc/macRes.py", line 93, in _readTypeList
    resources = self._readReferenceList(resType, refListOffset, numRes)
  File "/usr/local/google/home/roozbeh/src/fonttools/Lib/fontTools/misc/macRes.py", line 102, in _readReferenceList
    res.decompile(refData, self)
  File "/usr/local/google/home/roozbeh/src/fonttools/Lib/fontTools/misc/macRes.py", line 186, in decompile
    dataLength, = struct.unpack(">L", reader._read(4, absDataOffset))
  File "/usr/local/google/home/roozbeh/src/fonttools/Lib/fontTools/misc/macRes.py", line 67, in _read
    raise ResourceError('Cannot read resource (not enough data)')
fontTools.misc.macRes.ResourceError: Cannot read resource (not enough data)
>>>

fonttools version: 87d13888ce8ed2870dab5ed6ab88e2cd5979dc51
noto-cjk version: https://github.com/googlei18n/noto-cjk/commit/f36eda03dfa5582a6d49abbfb5c83d0209584158
/cc @dougfelt @kenlunde

Weird.  I'll try it out.  But to make sure, you're not on a Mac, are you?

Linux. Python version on top of output.

Thanks for the report, I'll also have a look.
The macRes module is not Mac-only, as we no longer rely on the mac-only Res module, but have our own ResourceReader.

@roozbehp is this the "NotoSansCJK-Regular.ttc" file you used?

Please have a look at the signature of the TTFont class constructor. The second positional argument is res_name_or_index which is used for reading mac sfnt resources (ttx defaults to the first sftn resource at 0 index). For TTC, you want to use fontNumber keyword argument.
>>> ttLib.TTFont("/Users/cosimolupo/Downloads/NotoSansCJK-Regular.ttc", fontNumber=0)

when we merge the DFONT/TTC into the sampe API, we shall deprecate res_name_or_index argument and only use fontNumber. See https://github.com/behdad/fonttools/issues/228

Please have a look at the signature of the TTFont class constructor. The second positional argument is res_name_or_index which is used for reading mac sfnt resources (ttx defaults to the first sftn resource at 0 index). For TTC, you want to use fontNumber keyword argument.

Roozbeh is NOT setting the res_name_or_index argument, right?  In that case we expect this exception:
raise ttLib.TTLibError("specify a font number between 0 and %d (inclusive)" % (self.numFonts - 1))

so if we're getting error from bowels of mac resource stuff, that looks like a regression to me.

he is calling it like that
ttLib.TTFont('NotoSansCJK-Regular.ttc', 0)

so he is setting res_name_or_index.

Oh, my bad.

as the docstring explains, then res_name_or_index is set to 0 (default), then TTFont will

autodetect whether the file is a flat file or a suitcase. (If it's a suitcase, only the first 'sfnt' resource will be read!)

The TTC font is not a mac resource or data fork font, so the autodetection skips the resource reader, but the ttc reader fails because fontNumber=-1.
When @roozbehp tried with res_name_or_index=2, then the resource reader raises an exception since it does not find a resource map.

Sorry for the false alarm. Late night and overconfidence ;)


ip: command not found in some images

I found it with using ceph/daemon:tag-build-master-jewel-centos-7 but not with ceph/daemon:tag-build-master-hammer-centos-7
$ docker run --net=host -e MON_IP=<IP_ADDRESS> -e CEPH_PUBLIC_NETWORK=<IP_ADDRESS>/24 -e CEPH_DAEMON=MON ceph/daemon:tag-build-master-jewel-centos-7
/config.static.sh: line 25: ip: command not found
creating /etc/ceph/ceph.client.admin.keyring
creating /etc/ceph/ceph.mon.keyring
creating /var/lib/ceph/bootstrap-osd/ceph.keyring
creating /var/lib/ceph/bootstrap-mds/ceph.keyring
creating /var/lib/ceph/bootstrap-rgw/ceph.keyring
monmaptool: monmap file /etc/ceph/monmap-ceph
monmaptool: set fsid to 294ddbce-27af-449d-815d-f37d9896b33f
monmaptool: writing epoch 0 to /etc/ceph/monmap-ceph (1 monitors)
creating /tmp/ceph.mon.keyring
importing contents of /etc/ceph/ceph.client.admin.keyring into /tmp/ceph.mon.keyring
importing contents of /var/lib/ceph/bootstrap-osd/ceph.keyring into /tmp/ceph.mon.keyring
importing contents of /var/lib/ceph/bootstrap-mds/ceph.keyring into /tmp/ceph.mon.keyring
importing contents of /var/lib/ceph/bootstrap-rgw/ceph.keyring into /tmp/ceph.mon.keyring
importing contents of /etc/ceph/ceph.mon.keyring into /tmp/ceph.mon.keyring

@font is working on this :)

@leseb once we build a new image this can be closed.

@font just pushed new image, build is in progress.


PR: Don't show Kite dialog the third time Spyder starts

Description of Changes

Since Kite is not unsupported anymore, there's no need to keep showing that dialog.
Besides, that dialog wrongly leads users to think that Spyder still works with Kite.

Issue(s) Resolved

Fixes #16744
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @ccordoba12

Note: Needs a rebase after https://github.com/spyder-ide/spyder/pull/17015 get merged


Unpin PyNWB and HDMF versions

PyNWB and HDMF have received many updates since version 1.6.4. Some of these changes are needed by Frank Lab code that uses ndx-franklab-novela. PyNWB>=1.3.3 and HDMF>=1.6.4,<=2.3.0 work with the master branch of ndx-franklab-novela. So to avoid creating restraints on upstream packages, I recommend unpinning the PyNWB and HDMF version dependencies in setup.py.

Please consider this change so that the extension will work with the latest versions of PyNWB, HDMF, and Python.


Bumping inventory to 0.12.1.Final.

@metlos it is nice that you care, but it is not always safe to upgrade Inventory without upgrading the rest, i.e. Commons and Accounts that your Inventory version depends on and cmdgw, Alerts and Agent that depend on Invetory.

... and hawkular-parent

Ok, leaving it to more capable hands.


[ME-37] Fixes iOS Share Sheet invocation

Couldn't help myself, my curiosity got the better of me.
This bug runs deeper than Airdrop, but that's where we saw it first. Users sharing artworks to other iOS or macOS devices were sending a text file, which is not QWoA at all. So what was going on?
Our previous work on sharing had us doing a lot of semantic construction before passing the content on to iOS to actually share. This is an anti-pattern; the iOS share API is designed to be given a URL, title, and message so that the OS can massage that data into whatever semantic representation makes sense for the share destination the user picks.
That is to say, instead of computing a string title with the artwork title, artist names, and URL all in that string, we should be sending an object with that data to let the OS render however it makes sense.
I've verified this works on-device.

@ashfurrow Feel free to merge, lgtm!

And nice job with this fix we would have otherwise overlooked!

:rocket: PR was released in v1.18.21 :rocket:


Starscream hangs when trying to connect with multiple sockets

I need to create multiple simultaneous sockets and starscream consistently hangs if I try to create over 64 of them.
So this code fails, the connected callback never gets triggered.
# Class var
var websockets = [WebSocket]()

# In a method
for index in 1...64 {
    if let newWebSocket = WebSocket(url: YOUR_WS_URL) as WebSocket? {
        newWebSocket.onConnect = {
            print("\(index) Connected")
        }
        newWebSocket.onDisconnect = { (error) -> Void in
            print("\(index) Discconnected")
        }
        print("\(index) Connecting")
        newWebSocket.connect()
        self.websockets.append(newWebSocket)
    }
}

Seems to be related to this issue http://stackoverflow.com/questions/15150308/workaround-on-the-threads-limit-in-grand-central-dispatch and the way starscream always dispatches on the background https://github.com/daltoniam/Starscream/blob/master/WebSocket.swift#L144
Maybe move this into a static private operation queue?

This is similar to a suggestion opened up on Jetfire (Objective-C equivalent)
https://github.com/acmacalister/jetfire/issues/15
We have looked into a singleton thread and using a stream based APIs to fix this issue, but it requires a rather large refactor we haven't had time to finish yet. If you would like to take a stab at it, PR is welcomed.

This is similar to a suggestion opened up on Jetfire (Objective-C equivalent)
https://github.com/acmacalister/jetfire/issues/15
We have looked into a singleton thread and using a stream based APIs to fix this issue, but it requires a rather large refactor we haven't had time to finish yet. If you would like to take a stab at it, PR is welcomed.

The 1.1.0 release should resolve this. Let us know if you have any issues.


Import/edit DKIM records

Dear,
We plan to migrate from postfix/amavis/opendkim configuration to postal.
Is there a way to import/edit DKIM records into postal ?
We have many customers and we cannot impact them with this project.
Best regards.

I can configure DNS records for you. I am providing my services on Fiverr.
fiverr.com/awaisshah_works

Not sure your answer is legit.

There is not an import in the UI however most of the data is managed in the database so you may be able to add all your customers and then tweak the dkim records yourself.

@willpower232 Thank you to confirm this point. I am going to manage it like this.

@BornTKill you have as many dkims as you wany as stars on night sky while their selector is unique. What an issue to add needed record to DNS?)

@dragoangel It’s not a technical problem but an organisation one. The point is that we have customers and we would like not to bother them with our migration.
However we tryed to import existing dkim with DB update but because of dkim_identifier we failed. Even with dkim_identifer empty, the record stay -XxXx.domain.com : the hyphen remains unfortunately.
So we will contact our 50 customers to add new records.

Oh. Clean.

@BornTKill thanks for updating us, I can see that would be annoying, I feel like a small change here would resolve it https://github.com/postalhq/postal/blob/ed7889a40e1d777f1d80821043562ab18b04766e/app/models/domain.rb#L122
I wouldn't be sure how officially supported the absence of dkim_identifier should be but for your setup, it should be fine.

Hey!
Thank I found this also but don’t wanna modify original source to avoid future upgrade issue 👍
Regards.

Fair enough, I'm going to leave this open in case this minor change appeals to others.