Jobs Return no Output - Error processing result packet

Empire Version
2.3
OS Information (Linux flavor, Python version)
Kali 2017.2
Python 2.7.14
Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.
Tasking an agent to run a job (such as a powerview module or mimikatz) works fine, and I can see the job start in the UI. However, the agent does not return any output. I can see the HTTP POST back to the server with results, but an error is thrown in the debug log. It's detailed below.
Screenshot of error, embedded text output, or Pastebin link to the error
2017-10-31 15:46:47 Empire : [*] Tasked agent EPRAF4GU to run module powershell/situational_awareness/network/powerview/get_session 2017-10-31 15:46:50 listeners/http : [*] GET request for <IP_ADDRESS>:8899/admin/get.php from <IP_ADDRESS> 2017-10-31 15:46:50 listeners/http : [*] GET cookie value from <IP_ADDRESS> : session=ZPGcDSom+CZG8o761rSf9RFte5U= 2017-10-31 15:46:50 Agents : [*] handle_agent_data(): sessionID EPRAF4GU issued a TASKING_REQUEST 2017-10-31 15:46:50 listeners/http : [*] Agent from <IP_ADDRESS> retrieved taskings 2017-10-31 15:46:50 listeners/http : [*] POST request data length from <IP_ADDRESS> : 94 2017-10-31 15:46:50 Agents : [*] handle_agent_data(): sessionID EPRAF4GU issued a RESULT_POST 2017-10-31 15:46:50 Agents : [*] Agent EPRAF4GU returned results. 2017-10-31 15:46:50 listeners/http : [*] Valid results return by <IP_ADDRESS> 2017-10-31 15:46:55 listeners/http : [*] POST request data length from <IP_ADDRESS> : 670 2017-10-31 15:46:55 Agents : [*] handle_agent_data(): sessionID EPRAF4GU issued a RESULT_POST 2017-10-31 15:46:55 Agents : [!] Error processing result packet from EPRAF4GU : 'NoneType' object has no attribute '__getitem__'
Any additional information

The error is introduced by
https://github.com/EmpireProject/Empire/commit/6a283719f34f5f686c42edfec2b25bd8531fcc98#diff-452d15542357ecf268aeb147c2d159a8R1537
If you comment this line, mimikatz output is displayed, looks like a bug in the logic.
@clr2of8 any idea ?

i will look into this and resolve right away. thank you
On Tue, Oct 31, 2017 at 11:00 PM, ThePirateWhoSmellsOfSunflowers <
<EMAIL_ADDRESS>wrote:

The error is introduced by
6a28371#diff-452d15542357ecf268aeb147c2d159a8R1537
https://github.com/EmpireProject/Empire/commit/6a283719f34f5f686c42edfec2b25bd8531fcc98#diff-452d15542357ecf268aeb147c2d159a8R1537
If you comment this line, mimikatz output is displayed, looks like a bug
in the logic.
@clr2of8 https://github.com/clr2of8 any idea ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/EmpireProject/Empire/issues/792#issuecomment-340978570,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVRxpFhATV7mT16TuTGOZFNdtf9pvAkaks5sx_rfgaJpZM4QNetS
.

just submitted pull request with fix https://github.com/EmpireProject/Empire/pull/794
sorry for the trouble!

Fixed.

This seems to have been reintroduced in 2.5, we are having this issue every time we use the ssh_launcher or ssh_command module for an agent which has successfully connected back


Joelmut/test/recognizers text v2

testing

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

5361 of 12614 (42.5%)  changed or added relevant lines in 8 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-17.0%) to 67.641%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

libraries/botbuilder-vendors/src/recognizers-text/recognizers-sequence/index.js
349
361
96.68%

libraries/botbuilder-vendors/src/recognizers-text/recognizers-text/index.js
235
248
94.76%

libraries/botbuilder-vendors/src/recognizers-text/recognizers-text-suite/index.js
28
49
57.14%

libraries/botbuilder-vendors/src/recognizers-text/recognizers-choice/index.js
194
217
89.4%

libraries/botbuilder-vendors/src/recognizers-text/recognizers-number-with-unit/index.js
658
1080
60.93%

libraries/botbuilder-vendors/src/recognizers-text/recognizers-number/index.js
1186
2031
58.39%

libraries/botbuilder-vendors/src/recognizers-text/recognizers-date-time/index.js
2701
8618
31.34%

Totals

Change from base Build<PHONE_NUMBER>8:
-17.0%

Covered Lines:
25782

Relevant Lines:
35695

💛  - Coveralls


Fix wrong mapping of AttributeType::CertificateType

:tada: #117 has been merged, this can be rebased on top of main and I think it'll build cleanly.


Fusion Compiler prints warnings for 802.11a

Warning:  ./802.11a/Hardware/Receiver/ViterbiDecoder/ViterbiDecoder.v:105: signed to unsigned part selection occurs. (VER-318)
Warning:  ./802.11a/Hardware/Receiver/ViterbiDecoder/ViterbiDecoder.v:109: signed to unsigned part selection occurs. (VER-318)
Warning:  ./802.11a/Hardware/Receiver/ViterbiDecoder/ViterbiDecoder.v:101: signed to unsigned part selection occurs. (VER-318)
Warning:  ./802.11a/Hardware/Receiver/ViterbiDecoder/ViterbiDecoder.v:120: signed to unsigned part selection occurs. (VER-318)
Warning:  ./802.11a/Hardware/Receiver/ViterbiDecoder/ViterbiDecoder.v:124: signed to unsigned part selection occurs. (VER-318)
Warning:  ./802.11a/Hardware/Receiver/ViterbiDecoder/ViterbiDecoder.v:116: signed to unsigned part selection occurs. (VER-318)
Warning:  ./802.11a/Hardware/Receiver/ViterbiDecoder/ViterbiDecoder.v:136: signed to unsigned part selection occurs. (VER-318)
Warning:  ./802.11a/Hardware/Receiver/ViterbiDecoder/ViterbiDecoder.v:137: signed to unsigned part selection occurs. (VER-318)
Warning:  ./802.11a/Hardware/Receiver/ViterbiDecoder/ViterbiDecoder.v:134: signed to unsigned part selection occurs. (VER-318)
Warning:  ./802.11a/Hardware/Receiver/ViterbiDecoder/ViterbiDecoder.v:145: signed to unsigned part selection occurs. (VER-318)
Warning:  ./802.11a/Hardware/Receiver/ViterbiDecoder/ViterbiDecoder.v:146: signed to unsigned part selection occurs. (VER-318)
Warning:  ./802.11a/Hardware/Receiver/ViterbiDecoder/ViterbiDecoder.v:131: signed to unsigned part selection occurs. (VER-318)
Warning:  ./802.11a/Hardware/Receiver/ViterbiDecoder/ViterbiDecoder.v:217: Statement unreachable (Branch condition impossible to meet). (VER-61)

Hi. It's been a long time ago since I wrote and compile this code. It'd be for sure a way for ignoring these errors/warnings and compiling the whole source code. Unfortunately, I do not have any plan to update this repository but if you feel like contributing to my project and solving these issues you are more than welcome.


Slim Application Error

Describe the bug
Every request to the /api/ folder leads to a Slim Application Error
To Reproduce
I cloned the github repo and installed the necessary depencies with composer.
I tried to convert the htaccess files to nginx as good as possible and it seems to work.
After login, it won't got past the loading page.
Every request that hits an api file leads to the error above.
Additional context
Full error log:
Slim Application Error
The application could not run because of the following error:
Details
Type: ErrorException
Code: 2
Message: Illegal string offset 'Dnt'
File: /TaskBoard/api/helpers.php
Line: 11
Trace
#0 /TaskBoard/api/helpers.php(11): Slim\Slim::handleErrors(2, 'Illegal string ...', '...', 11, Array)
#1 /TaskBoard/api/helpers.php(53): getallheaders()
#2 /TaskBoard/api/helpers.php(328): getUser()
#3 /TaskBoard/api/helpers.php(306): checkDbToken()
#4 /TaskBoard/api/boardRoutes.php(5): validateToken()
#5 [internal function]: {closure}()
#6 /TaskBoard/vendor/slim/slim/Slim/Route.php(468): call_user_func_array(Object(Closure), Array)
#7 /TaskBoard/vendor/slim/slim/Slim/Slim.php(1357): Slim\Route->dispatch()
#8 /TaskBoard/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#9 /TaskBoard/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#10 /TaskBoard/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#11 /TaskBoard/vendor/slim/slim/Slim/Slim.php(1302): Slim\Middleware\PrettyExceptions->call()
#12 /TaskBoard/api/api.php(52): Slim\Slim->run()
#13 {main}

I have never seen that error before. What branch did you use (master, dev, re-write)?

Closing due to lack of response.


iRODS data storage integration

We should support direct iRODS access (via https://github.com/irods/python-irodsclient) as before. Probably easiest to expose nested commands (e.g., plantit terrain pull, plantit irods push, plantit s3 pull).

Need to make sure of compatibility with the scanner R pi OS since iCommands don't work, and we still need a more performant upload solution

For iRODS we should support both keyword auth and environment file in the default location (~/.irods/irods_environment.json). Also need to support tickets (https://github.com/Computational-Plant-Science/plantit/issues/225)

Mostly implemented as of 1be38a3, pending resolution of ticket questions here


chore(master): release 1.5.0

:robot: I have created a release beep boop
1.5.0 (2024-02-21)
Features

add star col to support favorite (9be90de)
initial pinia (548a177)

Bug Fixes

Add clearable option to search input field (20e6f74)
Add loading indicator to List.vue (821584c)
Add true-icon to v-checkbox component (03fdeee)
Fix product hunt badge theme in Footer.vue (9a0e582)
Refactor List.vue component and add type annotations (f49a506)
update margin in producthunt badge (2efd7bf)

Docs

update readme tasks (8b9327d)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/Justin3go/usesora/releases/tag/v1.5.0 :sunflower:


Misleading content library

I tried to create same gradient color like here
https://uigradients.com/#CoolBlues
Instead I am getting just a mix with two colors... half and half. It's not a gradient.

I removed gradientLayer.locations and it seemed did the trick
But It create some weird artifacts, like huge pixels

Not sure why you weren't able to get the gradient.  Here's a simple video how you would achieve the desired effect.
https://www.youtube.com/watch?v=JA_I5EXuthc
However this component requires you to set 3 gradient points. Since you want a 2 point gradient, best way to do this is colorpick the middle point of that gradient and set that value in property inspector.

@sleepwalkerfx ok, thank you, will try that


Binding controllers you don't have?

My app got rejected because bindings weren't set for Vive, Index and WMR controllers.
In Unity when I open the binding UI I can click on the current controller and change it to Oculus, Vive or Index and set them, but nothing else.
In my folder with the json files there is one there for Vive Cosmos, but that doesn't even come up.
How do I set bindings for any other controllers?

Late reply, sorry, this is more of a question for the developer forums at: https://steamcommunity.com/app/250820/discussions/7/
This was likely already resolved, but for other people: You'll need to download the driver for other controllers you want to setup bindings for. For WMR the driver is here: https://steamcommunity.com/app/719950


Display full websocket message

This is part 2 of #373 it displays the message but I havnt implemented resend yet.

Just noticed that incoming messages are still flagged as 'Outgoin' - will need to fix that.
I'll also change the table to use the 1i8n'd direction strings too.

Fixed those problems. Also fixed the problem where JSON payloads were being displayed as [Object]

The side effect of JSON.stringify the payload is that it might change it, special chars are quoted and the content itself, if plain string.

This is a bug in the websockets add-on - I'll put a PR in to fix that.

Have fixed the JSON encoding bugs in https://github.com/zaproxy/zap-extensions/pull/1954
so undone the conversion thats no longer needed here.
Hopefully good to go now...

Updated to support websocket replay :)

@Pamplemousse those were all deliberately left in there .. and have now been emabled / implemented :D

Hum, should probably disable Replay if the payload is not text, as we dont really support that - will implement that...

Replay now disabled for non TEXT messages.
Looks like there no tutorial for websockets - my bad ;)
I'll add that in a future PR if thats ok? Maybe with break support ;)

The dialogue just allows to replay the message once, one has to reopen the dialogue to replay again.

Good spot!
Simple option would be to close the dialog I guess...

Changed to close the dialog after sending. This keeps it consistent with the HTTP one.
We can always change it in the future ...


.Net 5.0 Installation On Arch Linux

I don't see installation support for arch linux like other linux distributions. Will arch linux distribution get any support soon.

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

ID: e92ae0e3-2f90-5eeb-ed2c-bdfb85c5eaca
Version Independent ID: 1850602d-6b92-1449-c8bd-116e36fc0f26
Content: Install .NET on Linux Distributions
Content Source: docs/core/install/linux.md
Product: dotnet
Technology: dotnet-install
GitHub Login: @adegeo
Microsoft Alias: adegeo

Hi 👋 @yuvarajvelmurugan
Thank you so much for posting this issue. We really appreciate it.
Yes, .NET Core is supported on Arch Linux. While it is not explicitly called out in the docs, there are a few ways to install it.
All you need to do is enable snaps and install it through the snap store, our docs do call attention to manual installs with Snaps.:

https://snapcraft.io/install/dotnet-sdk/arch

Additional resources:

https://wiki.archlinux.org/index.php/.NET_Core


not genereate env.g.dart

Hello, I'm trying to implement the package, but I have the following problem:
Version: envied: ^0.3.0+3
dev_dependencies:
envied_generator: ^0.3.0+3

create folder lib/env
create file .env.dev with
KEY1=12345
create file env.dart equal exemple from readme with
import 'package:envied/envied.dart';
part 'env.g.dart';
@Envied(path: '.env.dev')
abstract class Env {
@EnviedField(varName: 'KEY1')
static const key1 = _Env.key1;
}

5.run -> dart run build_runner watch --delete-conflicting-outputs

I receive this error:
Environment variable not found for field key1.
/env/env.dart:14:16
╷
14 │   static const key1 = _Env.key1;

What I already did, 1- Change the name of the variable to uppercase, lowercase, put the value between quotation marks, removed it, put another name, removed @Envied(path: '.env.dev'), changed the file name, I couldn't do the generation.
Do you help me?
Thanks.

one problem - .env path wrong.
two replace const to final String


Support AgentExecutor features via create_agent_executor

Privileged issue

[X] I am a LangChain maintainer, or was asked directly by a LangChain maintainer to create an issue here.

Issue Content

[x] ~max_iterations~ handled by recursion_limit config?
[X] ~max_execution_time~ OK with step_timeout? (via asyncio task timeouts)
[X] return_intermediate_steps (always)
[X] trim_intermediate_steps (via the message functioN)
[ ] handle_parsing_errors
[ X] early_stopping_method (via timeouts + recursion error handling)
[ X] verbose (via deug)
[x] handle old style tools that do not expose a schema and expect a single string argument as an input
[ ] ??

Think this can be closed now!


[BUG] scrollUntilVisible can't handle Ümlauts

Given a button labeled Antrag zurückziehen below "the fold"

- scrollUntilVisible:
    element:
      text: "Antrag zurückziehen"

won't even begin to scroll down.
- scrollUntilVisible:
    element:
      text: "Antrag zuruckziehen"

Starts scrolling, but obviously times out eventually as it won't be able to find an element with Antrag zuruckziehen
Funnily enough
- tapOn:
    text: "Antrag zurückziehen"

works just fine, so God knows what's going on 😅

@marckrenn is this bug still occuring? i tried to reproduce, but it works fine for me


vocab db: report memory usage

Added methods to report approximate memory usage of protected class members in the bag of words data structures. The methods are designed to be called from a higher-level ReportMemoryUsage() function in the sparse_mapping package.
This PR needs to be merged into master and deployed to astrobee_base before the higher-level code will pass tests.
The larger aim is to figure out the main contributors to sparse map memory usage so we can evaluate possible optimizations.

If we update this, it is going to take some extra effort from the facility to track debian versions for dbow2. Which is fine, they can do that, but I am not sure if it is worth it for a debugging change we can run on the ground with the same map file and get the same results. If we do need to check the size regularly, we could get a rough estimate from the public size function. What do you think, is this needed long-term, or would running it just when needed be sufficient?

If we update this, it is going to take some extra effort from the facility to track debian versions for dbow2. Which is fine, they can do that, but I am not sure if it is worth it for a debugging change we can run on the ground with the same map file and get the same results. If we do need to check the size regularly, we could get a rough estimate from the public size function. What do you think, is this needed long-term, or would running it just when needed be sufficient?

Those are great points.
It would be totally valid to have this capability available only on the ground, but I think our current tooling makes it difficult to provide features on the ground while not deploying them on-orbit.
There are public size() functions, but they return a count of elements rather than an estimate of memory usage.
I would like to have the ability to run this query again on future maps or with future changes to our sparse map representation, without forcing people through a complex process of switching branches and rebuilding dbow2, so I think it's worth cutting a new debian to allow that.
Coming out of this discussion, some new tasks before this should be merged:

[ ] Update the patchlevel of the debian
[ ] Update the changelog
[ ] Update any dbow2 dependencies in other debian control files to require the new patchlevel

Also:

[ ] return needed items publicly from dbow, move prints into our function (so we can change it without updating the debian)


[RFC] Launch broken when using wechaty-puppet-padchat

Recently we found that launching a brand new account with wechaty usually caused broken. It got broken in the middle of sync contact and room process.
 I think this is the root cause of the broken.
This is triggered by new message, so I looked into the code that we deal with the new message:
case 'message':
  puppet.on('message', async messageId => {
    const msg = this.Message.load(messageId)
    await msg.ready()
    this.emit('message', msg)
  })
  break

When we receive a new message, we call Message.ready() method. Here is the Message.ready() method:
public async ready (): Promise<void> {
  log.verbose('Message', 'ready()')

  if (this.isReady()) {
    return
  }

  this.payload = await this.puppet.messagePayload(this.id)

  if (!this.payload) {
    throw new Error('no payload')
  }

  const fromId = this.payload.fromId
  const roomId = this.payload.roomId
  const toId   = this.payload.toId

  if (fromId) {
    await this.wechaty.Contact.load(fromId).ready()
  }
  if (roomId) {
    await this.wechaty.Room.load(roomId).ready()
  }
  if (toId) {
    await this.wechaty.Contact.load(toId).ready()
  }
}

As we can see, this Message.ready() method will also call the ready() method on fromId, roomId and toId. Here is the Room.ready() function:
public async ready (
  forceSync = false,
): Promise<void> {
  log.verbose('Room', 'ready()')

  if (!forceSync && this.isReady()) {
    return
  }

  if (forceSync) {
    await this.puppet.roomPayloadDirty(this.id)
    await this.puppet.roomMemberPayloadDirty(this.id)
  }
  this.payload = await this.puppet.roomPayload(this.id)

  if (!this.payload) {
    throw new Error('ready() no payload')
  }

  const memberIdList = await this.puppet.roomMemberList(this.id)

  await Promise.all(
    memberIdList
      .map(id => this.wechaty.Contact.load(id))
      .map(contact => {
        contact.ready()
          .catch(e => {
            log.verbose('Room', 'ready() member.ready() rejection: %s', e)
          })
      }),
  )
}

From the code above, I noticed that this logic will call Contact.ready() on each room member. If wechaty is just started, the data of room member won't be in contact, so it will fire up an WXGetContact request to Wechat server.

I will try to fix this in wechaty-puppet-padchat layer by populate room member data into contact when getRoomMemberList(). Will update in this issue.

@windmemory thanks for the analysis!
I have a question:

Did you find out the reason that why we did not have this problem before?

And, BTW: If you populate room member data into contact, then please also consider a situation: one contact is the bot's friend and it also in one room. If you populate the room member data to contact payload, then the contact payload will be the room member data instead of a normal contact payload,some properties might be empty forever because it will not be get from the server anymore.

Patch fix: 03fa49fd008f92ec611b7363198579291c319876

@zixia
I haven't went that far in this problem, so I don't know why it doesn't happened before.
I think you make a good point here, I should also consider the situation that you brought up. I think when we are syncing contact, contact will always override the data in cache for lower level(puppet-padchat), thus it is promised that the data in the cache will be correct eventually. But for upper level(wecahty), I think it would be hard to determine that whether a contact is a friend or stranger in a room. Do you have any better idea?

Thanks for the fix!
About the contact payload, a friend payload will be different with a room member payload, especially when the room member is a stranger(not a friend) to the bot, which is the most common case.
Let's start thinking and try to find a better way to solve this problem.

Yeah, I do understand the difference between a friend and a stranger. The thing that I was struggled with is that, from wechaty perspective, when it receive a message from a room, it loads all room members with details and require those information to be up to date, but during the launch period, most information are not ready to be loaded in lower layer. So lower layer can not provide up to date information. Either loaded the information with interval, or do things like current implementation.
If we re-consider the design we have currently, maybe we change the flow that we are loading these contact. We could mimic the behavior in wechat app. Unless we want to check the detail data for a user, we never get the information from wechat. For basic usage, like search or get the list, properties nick_name and id are enough I think.
Let me know your thought. Maybe we could also discuss this face to face.

Did you find the reason that caused so many WXGetContact call?
As I remember, Wechaty will only call room.ready() when it receives a message in a room, and room.ready() will not call WXGetContact, it will call WXGetChatRoomMember instead.

Notice the code I pasted above
await Promise.all(
    memberIdList
      .map(id => this.wechaty.Contact.load(id))
      .map(contact => {
        contact.ready()
          .catch(e => {
            log.verbose('Room', 'ready() member.ready() rejection: %s', e)
          })
      }),
  )

This is loading the room member as a contact, if the data is not loaded, WXGetContact will be triggered for each of the room member.

Can we get rid of this part of the code?
I can not remember more details, but it seems that load all payload at here is not a good idea for now.

From my understanding, I think it should be okay to remove it. do you need me to send out a PR for this?

Thanks for share your thought.
Please hold it to think it more for some days, we do not make a decision right now.

Okay, let's discuss this later.

I think this could be closed since the issue is not exist anymore.

Glad to hear that, thanks!


Rasperry pi

Does this code work for Raspberry Pi, is there a sample video of trying this code, thank you.

any update on this?


Update aws-java-sdk-dynamodb to 1.12.99

Updates com.amazonaws:aws-java-sdk-dynamodb from 1.11.1034 to 1.12.99.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.amazonaws", artifactId = "aws-java-sdk-dynamodb" } ]

labels: library-update, semver-minor

Superseded by #178.


Update Reason

FIELD batterie identification: description unclear what is it, potential vlues, missing examples
Cell chemistry – same as identification - unclear
Document: Field name is singular, description talks about set of documents – unclear
Manufacturer: Field name is manufacturer, description is LE that sells and invoices the battery. Seems wird. Either description should be entity who manufacturs the batterie or field name should be renamed
Address: Reference to BPDM ery generic, difficult to understand for consumer of the document. Where does he get further information?
Unclear on thoroughfare, locality postal delivery point, and premise attribute  isn’t that in conflict with BPDM BPN concept (site is a BPN)?
Contact entity: Shouldn’t this be also aligned with BPDM? Website, email, phone number. Are these very specific to the batterie, or related to the manufacturer?
Battery model: description says battery type  Typo/Copy paste
Manufacturer: Is there any reference to a globally valid manufacturer ID like the VDMA Manufacturer ID code, GS1 Global Location Number, Catena-X BPN, ….) Just haing a full text name does not seem to be sufficient
Entity name “material number and weight an percentage” is weird; shouldn’t there be a better common name ?
In physical dimension entity there is also weight included??? Unclear?

MS1 Criteria

[x] The model that should be updated exists
[x] The referenced use case exists
[x] The potential updates are discussed with all stakeholders
[x] The potential update will be either

[ ] backward compatible or
[x] a (chain of) migration strategy(-ies) from all non-deprecated previous versions to the new model will be developed

core team round:
according to Kevin tram all bullet points can be ignored except for "Entity name “material number and weight an percentage” is weird; shouldn’t there be a better common name ?"

After refinement with Thorsten, the following points are added:

Change the the copyright from "Badische Anilin und Sodafabrik societates Europaea" to "BASF SE"
:BatteryVoltageCharacteristiC - large "C" at the end
:RatedCapacityCharacteristic - the description states "The total number of ampere-hours (Ah) ..." - the  bamm-c:unit unit:ampere. is ampere though, not ampere hours.
:OhmCharacterisitic - Typo. Characterisitic to be changed to Characteristic. Also in the bamm:preferredName "ohm characterisitic"@en;
Same type in :BatteryEnergyCharacterisitc, (and please again check the bamm:preferredName - same!)
Same typo in :CycleLifeTestCRateCharacterisitc
:capacityThresholdExhaustion - the bamm:preferredName here is wrong (looks like a copy-paste issue from the lines above). It's not "internal resistance".
:energyRoundtripEfficiencyChange - same as above, the preferredName should be "energy roundtrip efficiency change"@en;
:originalPower }}and {{originalPowerCapability look like they do the same job? Both have the same preferredName, too.
The picture attached still refers to KilowattCharacteristic and WattCharacteristic - has this changed in v.3.? (TD: I cannot find it any more)
:batteryType and :batteryModel have the same description - copy-paste issue (see CMP-431 for a suggestion on the description)
Misspelled "material" in model with "matierial": :matierialPercentageMassFraction, :matierialWeight, :MatierialPercentageMassFractionCharacteristic
Inconsistency in using a small letter for a property and a capital letter as first letter. Any reason for this?
EnergyRoundtripEfficiencyChangeCharacterisitic   (looks like "PascalCase") but originalPower ("camelCase")

Change the the copyright from "Badische Anilin und Sodafabrik societates Europaea" to "BASF SE" - DONE
:BatteryVoltageCharacteristiC - large "C" at the end - DONE changed to lower case
:RatedCapacityCharacteristic - the description states "The total number of ampere-hours (Ah) ..." - the  bamm-c:unit unit:ampere. is ampere though, not ampere hours. - @Kevinataccenture : sooo.....???!?
:OhmCharacterisitic - Typo. Characterisitic to be changed to Characteristic. Also in the bamm:preferredName "ohm characterisitic"@en; - DONE changed to all occurences of "Characterisitic" to "Characteristic"
Same type in :BatteryEnergyCharacterisitc, (and please again check the bamm:preferredName - same!)
Same typo in :CycleLifeTestCRateCharacterisitc
:capacityThresholdExhaustion - the bamm:preferredName here is wrong (looks like a copy-paste issue from the lines above). It's not "internal resistance". - DONE change to "capacity threshold exhaustion"
:energyRoundtripEfficiencyChange - same as above, the preferredName should be "energy roundtrip efficiency change"@en; - DONE changed to "energy roundtrip efficiency change"
:originalPower }}and {{originalPowerCapability look like they do the same job? Both have the same preferredName, too.
The picture attached still refers to KilowattCharacteristic and WattCharacteristic - has this changed in v.3.? (TD: I cannot find it any more) - @Kevinataccenture : sooo.....???!?
:batteryType and :batteryModel have the same description - copy-paste issue (see CMP-431 for a suggestion on the description) - @Kevinataccenture : sooo.....???!? the example does not help
Misspelled "material" in model with "matierial": :matierialPercentageMassFraction, :matierialWeight, - DONE changed all occurences of "matierial" to "material"
:MatierialPercentageMassFractionCharacteristic
Inconsistency in using a small letter for a property and a capital letter as first letter. Any reason for this?
EnergyRoundtripEfficiencyChangeCharacterisitic   (looks like "PascalCase") but originalPower ("camelCase") - yes, conventions
Add examples for Battery Identification: X123456789012X12345678901234567 - wrong place for example, already included in model see "batteryIDDMCCode"
Add examples for cellChemistry: LFP, Natrium, Li-Ion, NMC, NCA - wrong place for example, already included in model see "battery type"

:RatedCapacityCharacteristic - the description states "The total number of ampere-hours (Ah) ..." - the bamm-c:unit unit:ampere. is ampere though, not ampere hours. - @Kevinataccenture : sooo.....???!?
--> change line 537 in TTL to ampere-hours
:originalPower }}and {{originalPowerCapability look like they do the same job? Both have the same preferredName, too.
The picture attached still refers to KilowattCharacteristic and WattCharacteristic - has this changed in v.3.? (TD: I cannot find it any more) - @Kevinataccenture : sooo.....???!?
--> need to be clarified
:batteryType and :batteryModel have the same description - copy-paste issue (see CMP-431 for a suggestion on the description) - @Kevinataccenture : sooo.....???!? the example does not help
--> change description of BatteryModel: change battery type to batterymodel

closed with https://github.com/eclipse-tractusx/sldt-semantic-models/pull/68


How To Setup Firebase Cloud Messaging

Version info

Angular: 2
Firebase: 3
AngularFire: 2
Other (e.g. Ionic/Cordova, Node, browser, operating system): ionic 2
I want to setup push notification using FCM for my IONIC 2 app. How should i go about it and is there any tutorials or blogs you can point me to. And does angularfire2 support fcm methods ??

This isn't the right forum for FCM and you haven't followed the issue template. We can answer specific technical issues about AngularFire2, and some questions about Angular and Firebase, but only if you've done the due diligence required in the issue template.
FCM guide is here. You don't need AngularFire2 to implement this.

Katowulf no disrespect but your wrong. I don't want to have to include firebase twice, to use fcm it should be included in angularfire2 module. But the messaging functionality is missing. You should be able to access .messaging portion of the angularfiremodule object but it's completely missing. Currently I have to import firebase and angularfire2module in order to get both the database observables and FCM


Double scrollbar on page transition in long pages (regression)

Minimal reproduction of the bug with instructions:
Navigate to page with long content like features or about shows secondary inner scrollbar
Expected behavior:
Single outer scrollbar

I have quick fix. I can make PR.


Feature: Allow hosting 3rd party AU Units through eqMac audio pipeline

this is more of a roadmap idea than a short term feature:
Instead of doing all sound processing with eqMac itself, why not have a plugins chain and let existing audio plugins do the processing work..:

would be an additional module besides 'Basic Equalizer' and 'Advanced Equalizer'
look could be inspired a bit by the old free Acon Effect Chainer:

first allow for including AU plugins
then in extension maybe also include VST plugins support
save presets of chains (would include settings of plugins)
that would allow users to use their existing plugins they are familiar with
spend not too much ressources of eqMac development on specific audio processing stuff that plugins maybe already handle
allow pro users to use their purchased plugins all day long for playback etc...
if a processing delay occurs, then calculate and display it in a status bar so that playback settings can be manually adjusted

This has now been implemented in v1.7


The setup-cpp action wrongly installs Windows LLVMs to the same folder

From the log of (windows-2022, llvm-16.0.6, *, *) jobs, for the setup-cpp action specified as
- name: Setup cpp
  uses<EMAIL_ADDRESS>  with:
    compiler: llvm-16.0.6
    vcvarsall: true

    cmake: true
    ninja: true
    ccache: true
    python: true

    cppcheck: true
    clangtidy: true

    gcovr: 7.2 # The default version 5.2 stucks on macos gcc
    OPENCPPCOVERAGE: TRUE

clang-tidy triggers an installation of llvm 17.0.6 (see Setup cpp#472). After that, llvm 16.0.6 is triggered to be installed to the same folder (see Setup cpp#554), which is, however, not installed according to the log.
To further ensure that llvm 16.0.6 is not installed, I directly specify the clang version to 16.0.6 in the corresponding conan profile, but cmake still uses llvm-17.0.6 according to Configure cmake#76.

Upvote & Fund
@aminya is using Polar.sh so you can upvote and help fund this issue. The funding is received once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog!

true triggers the default version which is 17. But when you specify the compiler, it installs 16.

That's what I intended to do, and worked well on (ubuntu-22.04, llvm-16.0.6, *, *). Therefore I opened this issue to know whether the behavior of intalling different versions of Windows LLVM to the same folder is intentional.

So, either remove the clang-tidy specification or use the same version for both.

I thought the separated compiler: llvm-17.0.6 and clang-tidy: true options implies that these options are independent from each other. That's why I used different LLVM versions on purpose.
Could this be fixed by installing Windows LLVMs to different folders, or simply by reporting an error when the clang-tidy and llvm version don't match?

The code here hands syncing the version for these tools. It can be improved to use the specific version. I think the reason it doesn't work is that compiler: llvm-17.0.6 doesn't populate the llvm field in the options.
https://github.com/aminya/setup-cpp/blob/34bb7838132719f0db8a21d1b1c805d39f21977d/src/main.ts#L59


Add security markdown

This pull request introduces Intel's security policy and reporting guidelines.

Thanks Kshipra.


download_metadata and download_info functions in files.py are returning same metadata info

Both functions are making calls to metadata url

I added a new method that gets the file_summary (what the info is called in v2.) Linked to pull request.


Replace @doize decorator on methods with doify() wrapper.  Update hio dependency. Update version keripy.

didn't merge yet. In case it messes with the demo.


Add Xanadu supported projects

We're in! Good to put these on there even if bounty amounts are TBD, to help show our support and encourage more projects to participante

Thanks @co9olguy!


Dataloader that depends on input data

Is your feature request related to a problem? Please describe.
Let's say that we have a type:
type Person {
    ...
    posts(isArchived: Bool, take: Int, skip: Int): [Post]
}

and then a the query type:
type Query {
    people: [Person]
}

I would like to be able to use dataloaders in the following query:
query {
    people {
        lastArchived: posts(isArchived: true, take: 10) { ... }
        lastNonArchived: posts(isArchived: false, take: 10) { ... }
    }
}

Describe the solution you'd like
I would like to use dataloaders that depend on resolver's parameters. If possible I'd like to stay away from IResolverContext.
I'm not sure if this use case is supported. I don't think so because currently all data loaders don't take into account the fact that a resolver may have additional inputs (like isArchived, take and skip) to the data loader.
Describe alternatives you've considered
I'm currently resolving this with these extension methods:
    public static class IResolverContextExtensions
    {
        public static IDataLoader<TKey, TValue> BatchDataLoader<TKey, TValue>(
            this IResolverContext context, FetchBatch<TKey, TValue> fetch, string? extraKey = null)
        {
            var loaderKey = Regex.Replace(context.Path.ToString(), @"\[[0-9]+\]", "");
            return context.BatchDataLoader<TKey, TValue>($"{loaderKey}{extraKey}", fetch);
        }

        public static IDataLoader<TKey, TValue> BatchDataLoader<TKey, TValue>(
            this IResolverContext context, FetchBatchCt<TKey, TValue> fetch, string? extraKey = null)
        {
            var loaderKey = Regex.Replace(context.Path.ToString(), @"\[[0-9]+\]", "");
            return context.BatchDataLoader<TKey, TValue>($"{loaderKey}{extraKey}", fetch);
        }

        public static IDataLoader<TKey, TValue[]> GroupDataLoader<TKey, TValue>(
            this IResolverContext context, FetchGroup<TKey, TValue> fetch, string? extraKey = null)
        {
            var loaderKey = Regex.Replace(context.Path.ToString(), @"\[[0-9]+\]", "");
            return context.GroupDataLoader<TKey, TValue>($"{loaderKey}{extraKey}", fetch);
        }

        public static IDataLoader<TKey, TValue[]> GroupDataLoader<TKey, TValue>(
            this IResolverContext context, FetchGroupCt<TKey, TValue> fetch, string? extraKey = null)
        {
            var loaderKey = Regex.Replace(context.Path.ToString(), @"\[[0-9]+\]", "");
            return context.GroupDataLoader<TKey, TValue>($"{loaderKey}{extraKey}", fetch);
        }

        public static IDataLoader<TKey, TValue> CacheDataLoader<TKey, TValue>(
            this IResolverContext context, FetchCache<TKey, TValue> fetch, string? extraKey = null)
        {
            var loaderKey = Regex.Replace(context.Path.ToString(), @"\[[0-9]+\]", "");
            return context.CacheDataLoader<TKey, TValue>($"{loaderKey}{extraKey}", fetch);
        }

        public static IDataLoader<TKey, TValue> CacheDataLoader<TKey, TValue>(
            this IResolverContext context, FetchCacheCt<TKey, TValue> fetch, string? extraKey = null)
        {
            var loaderKey = Regex.Replace(context.Path.ToString(), @"\[[0-9]+\]", "");
            return context.CacheDataLoader<TKey, TValue>($"{loaderKey}{extraKey}", fetch);
        }
    }

which basically isolate each resolver to it's own version of the data loader by prefixing the path to the resolver to the data loader key.
But IResolverContext is hard to mock correctly in tests so I was trying to move away from IResolverContext.
Additional context
I'm trying to solve this in HC10 because HC11 is not stable enough for me to use it in production and it's lacking documentation as well.

What issue do you have with 11. I would say it is more stable than 10. The docs part I can understand.

@shoe-diamente
I am not sure if I understand this issue :)
You could use a tuple as an data loader argument and then have a member of the tuple for each possible argument, but I am not sure if this helps in you regard
Also why are you using the path as a key for data loaders? This isolates the data loader instance on one path. What do you win with this approach?

You could use a tuple as an data loader argument and then have a member of the tuple for each possible argument, but I am not sure if this helps in you regard

I tried that but I don't remember what went wrong. I think the dataloader key requires manual serialization into a string or IIRC requires the implementation of Equals for each different input type. I'm pretty sure you can't just pass anything to the dataloader key.

Also why are you using the path as a key for data loaders? This isolates the data loader instance on one path. What do you win with this approach?

As stated what I win is exactly that: isolation of a data loader instance per path (which also implies that the same arguments are passed to that resolver). It's the only way I was able to make it work.

What issue do you have with 11. I would say it is more stable than 10. The docs part I can understand.

I tried to upgrade a couple of weeks ago but I found it difficult to setup. Especially dataloaders. I don't quite remember the exact annoyances but I remember thinking I didn't agree with the design decisions taken in the newer version.
Then I had another problem with list of objects breaking in errors: https://github.com/ChilliCream/hotchocolate/issues/2947.
But if you tell me HC11 solves the issue above I'll try again.


Major sites are blocked in the recent update

Energized Protection - block ⚡

Let's make an annoyance free, better open internet, altogether!

Issue Submit Form

  Provide the following info properly, which will help us to resolve your issue quickly.

Issue(s):
Type x in between [ ] and make sure there isn't any space between brackets. Example; for Your Selected Issue(s), type like this - [x]
You can select more than one category of issues if you need to!

[x] Whitelist
[ ] Blacklist
[ ] App Broken
[ ] Website Broken
[ ] Request
[ ] Other Issue

Pack(s):
Write the name of the pack(s) you are using.

Pack(s) Name:

Extension(s):
Also name the extension(s) if you are using any. If you don't then leave it blank.

Extension(s) Name:

Domain(s):
If you are submitting this issue for whitelist/blacklist issue, send us the domain(s) for whitelisting/blacklisting here. Kindly use the Code Tag to prevent tracking.

Domain(s):

my.nextdns.io
www.amazon.in
msh.amazon.co.uk
downdetector.in

Your Config:
Just to ensure there is no issues or conflicts with other app/software/magisk module/extension/source list.
Make sure you are running Energized Protection Service only.

Client: NextDNS Blocking list

Version:

Detail:
Write us a lil bit more about your issue or query. You can attach any screen shot or log of the issue or advert, this will help to highlight it.

Your Issue Detail:
Some major sites seem to be blocked by the recently updated filters. I've been using the EnergizedProtection on NextDns.io

Thank you for making Energized Protection great, with your kind help!
A project by Ador with ❤

https://github.com/EnergizedProtection/block/issues/972
https://github.com/nextdns/metadata/issues/1145
https://help.nextdns.io/t/m1hs207/energized-ultimate-lists-blocking-nextdns
https://help.nextdns.io/t/q6hs204/nextdns-io-addresses-added-to-a-blocklist-internet-goes-down

nextdns.io
vodafone.co.uk
tailscale.io
plex.tv
snapcraft.io
All are being blocked. WTF?

PS: There's likely something broken with @NextDNS. Many filters have 0 entries or very few entries against them.
May be we should reach out to NextDNS support.

seems like recently updated lists are having problems

Even banks are blocked right now...
ing.nl
knab.nl
abnamro.nl

.gg .io .me blocked

I have removed this list from my nextdns for now as the latest update has made all my users (my wife) very unhappy

Even Spotify shareable shit is blocked

bye bye from my list

bye bye from my list

As I've mentioned, this doesn't seem to be the fault of the Energized list:

PS: There's likely something broken with @nextdns. Many filters have 0 entries or very few entries against them. May be we should reach out to NextDNS support.

Good news everyone, the issue seems to have been resolved by NextDNS:

🥳🎉
To avoid the NextDNS dashboard being inaccessible in the future for a similar reason:
Try adding "nextdns.io" (without quotes) in the "Allowlist" explicitly. This will automatically whitelist the pages used by NextDNS.
If you're affected, all websites should now (hopefully) work without doing anything on our side.

Hey, just wanted to know how this was caused by nextdns. I mean the logs on nextdns said these sites and apps are being blocked by energized. So what was the actual reason?

 seems like some recently updated lists are having problems.

I've checked the actual list of Energized Ultimate domains and compared it against the NextDNS's. As others have also pointed out, the entries for several lists don't match the official figures, which suggests that NextDNS must have had errors in fetching or during parsing of the entries at the server-side.
Link to energized ultimate hosts - https://energized.pro/ultimate/formats/hosts.txt

As to how NextDNS may have showed this was blocked by Energized is that during import, if something fails, it imports data till that point. Some line that contains .gg/.io must have been partially imported and this must have caused a block of all matching sites.
Regex-like match should be used at NextDNS side to quickly match the DNS queries against blocklist and this must have caused false positives, causing NextDNS to flag those as inadvertently blocked by Energized Ultimate List.
The lack of response from NextDNS concerns me though, the above is just my educated guess.

#916
Just letting you know.
It's definitelly NextDNS backend that's causing all of us to come to this place though.

#916 Just letting you know.
It's definitelly NextDNS backend that's causing all of us to come to this place though.

The issue seems to have affected all Energized lists and a few non-energized lists as well, according to Reddit.

Unsure who's responsible for the blocks.

LOL
I have found the entries increased about 7 hours ago but I just went to sleep after that.

#980
And now we are having problem with the energized regional version, looks like I'm going to remove yet another one from my blocklist.
Sorry, but waking up to another suprise was no more.

It's not nextdns backend. It's energized auto updater or something. Regional extension is explicitly blocking google.com. I downloaded the list in hosts format from their website.

please re-open this issue

It started blocking netflix.com last night.
That was the last straw. Disabled.
God knows what’s going on.

#916 #980 and others exist for similar issues, not reopening on a per-case basis.

Now it blocks Twitter.
Yep I'm leaving energized as well.

First time I've seen a blocklist selfdestruct like this. But any faith I once had in Energized is gone.


Edited code for dynamic year

Current behavior

Proposed changes

Checks

[x] All commits in this Pull Request are signed and Verified by Github.

@Yash636261 please merge my pr as it has successfully resolved the issue


Azure Service Bus Issues

Describe the bug
Two bugs:
There is an issue with the Azure Service Bus (ASB) examples. It lists "azure" as the argument but the CLI checks you and asks for "azure-service-bus" or "azure-event-hub".
There is an issue with the CLI validation for ASB queues. It thinks topic is always required.
To Reproduce
Steps to reproduce the behavior:
plumber write azure-service-bus --queue="name" --input="test"
FATA[0000] Unable to handle CLI input: unable to parse CLI options: missing flags: --topic=STRING
Expected behavior
That it sends the message to the queue.
Screenshots
If applicable, add screenshots to help explain your problem.
CLI (please complete the following information):

OS: MacOS
Version v2.1.0-5355376

Thank you for the report @azizabah ! we have fixed these issues in https://github.com/batchcorp/plumber/releases/tag/v2.1.1


Fix v2 bugs

fix three bugs reported by users.
VSO bug id:
2053
2058
2062

@rubio41,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Train_test_split assist  - improvement A - silence warnings with explanations

Is your feature request related to a problem? Please describe.
As a data scientist, I want to be guided in the choice of the arguments in the scikit-learn train_test_split function, without having too many warnings to avoid being over my cognitive budget charge (let's say: 2 warnings max).
It's a follow-up of issue https://github.com/probabl-ai/skore/issues/492.
As a data-scientist, I want to be helped about how I can silence warnings.
Describe the solution you'd like
Part 1 - explain that warnings can be silenced.
Before all the warnings, link to doc on how they can be silenced.
Part 2 - docs & "language structure"
Decide a structure to indicate how to silence a warning. Suggestion from Olivier: get inspiration from linting ignore.
"To silence a warning, explain why for your fellow data scientists (include your future you)."
Part 3 - create a button next to warnings
Next to warning, create a button to automatically update the code to silence warning + start a comment, something like "explain why you can silence this warning here" (feasibility to be checked).
Describe alternatives you've considered, if relevant
No response
Additional context
No response

How can the user set the amount of warnings he wants to receive / silence?
This reminds me of the verbose parameter.
Example: GridSearchCV
This verbose parameter could be set globally as a configuration parameter.
Example: https://seaborn.pydata.org/generated/seaborn.set_theme.html

Closing this epic as it's most likely going to be rewritten completely when we rewrite warnings UX.


Uncaught RangeError: Maximum call stack size exceeded

I have this error on my Tree
Uncaught RangeError: Maximum call stack size exceeded
    $(document).ready(function () {         $('.table').treegrid({             initialState: 'collapsed',             expanderExpandedClass: 'glyphicon glyphicon-minus',             expanderCollapsedClass: 'glyphicon glyphicon-plus'         });     });

@goransiriev Check the classes on the tr elements... I had the wrong classes that caused this error.


Deprecate kubeflow/training related ECR repos

What steps did you take and what happened:
As a post item of deprecating optional-test-infra, we'll deprecate kubeflow/training ECR repos provided by optional-test-infra.
Serves as sub-issue of https://github.com/kubeflow/testing/issues/1008
What did you expect to happen:
Deprecate kubeflow/training ECR repos provided by optional-test-infra
Private ECR Repo Lists:
kubeflow/training related:<PHONE_NUMBER>50.dkr.ecr.us-west-2.amazonaws.com/kserve/

pytorch-operator
tf-operator
training-operator

Public ECR Repo Lists:
kubeflow/training related: public.ecr.aws/j1r0q0g6/training

tf-operator
training-operator

@kubeflow/wg-training-leads  I believe those repos are not used in deployment, please confirm those repos are not in-use, if not, let's find alternatives by July.

https://github.com/kubeflow/testing/issues/1008#issuecomment-1154706963

@johnugeorge @kubeflow/wg-training-leads I have made a script to migrate all the Notebook WG images from ECR to GitHub Container Registry.
I will use it to migrate the PUBLIC training ones ASAP (so we don't lose access to the old images):

public.ecr.aws/j1r0q0g6/training/training-operator --> ghcr.io/kubeflow/training/training-operator
public.ecr.aws/j1r0q0g6/training/tf-operator --> ghcr.io/kubeflow/training/tf-operator

NOTE: I will only be migrating the PUBLIC existing images, the @kubeflow/wg-training-leads will still need to:

migrate their docker build CI/CD process
migrate any private images (if they care about them)
update any manifests to use the new image location
communicate with users that old images will FAIL TO PULL after next month

@johnugeorge the mirroring is now finished, you can see them at:

ghcr.io/kubeflow/training/training-operator
ghcr.io/kubeflow/training/tf-operator

For now they are just a one-time mirror from ECR (in the interest of not losing the old images if ECR dies).
If you want to start using them going forwards, I am happy to run you through how it might work.
NOTE: We still need a kubeflow org admin to associate them to the kubeflow/training-operator repo, so they show up under "packages":

I don't think training repos are actively using those ECR images for deployment, from what I can tell, only notebooks WG are using it for production deployment.
Reason for the above observation: only notebooks ECR image has version tags such as v1.1, v1.2, etc.
So the rest of the other repos are no-concern, but notebooks might be a special one.

There are public ECR repos and Private ECR repos, I don't think training WG are using private ECR repos:
809251082950.dkr.ecr.us-west-2.amazonaws.com/pytorch-operator
809251082950.dkr.ecr.us-west-2.amazonaws.com/tf-operator
809251082950.dkr.ecr.us-west-2.amazonaws.com/training-operator

Can you help confirm? @johnugeorge Thanks!


Evaluate csg optimization

I am here to see optimization about csg, I hope to help.
https://github.com/mrdoob/three.js/issues/16099#issuecomment-495749017
Just thought I'd drop these links here for inspiration and in case anyone wants to dive really deep into them. I came across this CSG tool in Unity that has some really impressive performance and content creation capabilities:

https://assetstore.unity.com/packages/tools/modeling/realtime-csg-69542

And it looks like the creator has written a few articles on the implementation (there are six parts in total):

http://sandervanrossen.blogspot.com/2010/05/realtime-csg-optimizations.html
http://sandervanrossen.blogspot.com/2010/05/realtime-csg-part-5.html

@FishOrBear Cool! I'll take a look at those in a few days.
FYI, we haven't bee sitting on our lorals. I've been building up some performance tests to compare V1 and V2 versions of the library. I can only produce the numbers for the 'primitive' shapes but even these are impressive. I'm expecting even better performance on the CPU / MEMORY intensive functions like union, etc.

v2-versus-v1.pdf

Cool, when can the v2 version be enabled?

I’m hoping sometime in August as there is a lot of change required to synchronize everything.
If you are looking for something to do... :)

@FishOrBear V2 is almost complete now. Have you tried to use this version?
There are lots of optimizations, and we continue to improve the internals.
Please see OpenJSCAD.org, V2 branch.

@FishOrBear V2 is almost complete now. Have you tried to use this version?
There are lots of optimizations, and we continue to improve the internals.
Please see OpenJSCAD.org, V2 branch.

not yet.
For me, the most important thing is accuracy, and it would be great if it could be improved.

I’m going to close this as there has been progress on both performance as well as accuracy in V2. Specific issues should be opened against V2.
@FishOrBear Please reopen if you think there’s something to discuss further.


Custom fixed back button

I was wondering to make one custom back button for all the app's views, as I want every back button to be the same and to link to the same page.
Is this possible?

http://bit.ly/UIR-SOF


Implement input-timestamps-unstable-v1

This PR implements the input-timestamps-unstable-v1 protocol. Brief description of commits in chronological order:
- gitignore: add vim .swp files
- seat: expose more from_resource() functions
Small miscellaneous commits for convenience.
- input_timestamps: initial build support
- input_timestamps: basic framework for header and source
- rootston: add input_timestamps manager
- input_timestamps: complete manager implementation
- input_timestamps: add public function to send timestamps
Complete implementation of the server side input-timestamps protocol,
subdivided in a (hopefully) clean manner. The protocol specific code is only in
the last two commits: the former being manager logic, the latter generating the
client event.
- keyboard, pointer, touch: add nsec field to relevant events
- rootston: send input timestamps
Add a time_frac_nsec field to all keyboard, (wl_)pointer, and touch events. The
field name has a 'frac' to distinguish it from 'time_msec' which has the
complete time in msec.
Note: this field hasn't been added to other events, like pointer gestures,
tablet tool, switches, and so on; even though, for example, tablets are treated
the same as pointers in rootston (afaics).
- backend/libinput: set the nsec field of relevant events
- backend/wayland: use input-timestamps client protocol to get nsec values
- backend/x11, backend/rdp, virtual_keyboard: set the nsec field of relevant events
Add support for setting the time_frac_nsec field in the backends generating
events. Libinput gives usec precision, while x11 and rdp (and the virtual
keyboard protocol) only give msec precision. If possible, we use the
input-timestamps-client protocol to get more precise events on the wayland
backend, otherwise we get timestamps in msecs.
- examples: add input-timestamp-v1 example
Add a small example that just prints keyboard and pointer events along with
more precise timestamps.
Closes #1514.

gitignore: add vim .swp files

We don't do editor-specific gitignores. Add it to your personal gitignore instead.

Alright. I'll remove that commit after dealing with code reviews.

Overall this looks quite good. Thanks for breaking it into easily reviewable chunks.
I think we should squash this into the following commits, in this order:

Add high-resolution timestamps to internal wlr input events
Add input-timestamps protocol implementation
Rig it up to rootston
Add example client

Sorry, busy week!
@ddevault: I've incorporated most of the suggestions, except the ones I commented on, and removing the comments: consider a strong NAK from my side. In the source file, they help logically segregating the functions; and the example is supposed to be slightly hand-hold-y. Making it easy to parse code never hurts.

removing the comments: consider a strong NAK from my side. In the source file, they help logically segregating the functions; and the example is supposed to be slightly hand-hold-y. Making it easy to parse code never hurts.

FWIW, I'm also not a fan of these comments.

Lots of lazy formatting issues; I'll do a second pass to see if I fixed them all.

bump?

wlroots has migrated to gitlab.freedesktop.org. This pull request has been moved to:
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/1724


Avoid "git push -f"

Explore +branchname option and possibly --force-with-lease

Also change message to reference --force-with-lease:
Unable to automatically rebase dawnwright/feature/transitionSettings on top of develop. Rebase manually and push before trying again.
Run: git checkout feature/transitionSettings
     git rebase develop and fix up any conflicts.
     git push -f


feat: support package debian

Do you have some successful CI processes running in your own repository?

I changed the CI trigger condition, and tested the packaging and uploading, and it was ok.


Agda permission denied error

See https://tio.run/##dVDNSsNAEL7vUwzUQ3LYPoBQIUKFIrZqfIFtujZbmt0knaWtIeBBRK968eqr5UXibH60pXiZ@ebjm29@xHIh6rrgA5jdPkxm0xA43yqMjUV@DQNeMmZSqUElqckRJrOj8srqCJXRR2RAlsNLq9ao9HCcWbFWuP9fcS8f17J1YZxD9fZFaaEMnBN@hqJ6@Syhev2AUCJQcYg7JYJbGdJcJXdTkchxBl5mDUpAv0c3Yj@XPozANQhws1ZmdTqlCIjq7Fum6YTgAHvOI/B7iyeZG9iR9a5nvI2NQNPsld0g7NzYhtenEm0wVnpJig65zTAXekN79MuUUAiYQ0RVUAK/oAOq929iCM4bGP2x0a9BTq9tw6hJjC0Eiu6I9krqcmkby1wylgilndZq8FKLIeZw1rw1jM22ee3RO8H36/oH
Simply import Agda.Builtin.Int will cause this error.

A lot of Agda's libraries are precompiled, but I seem to be missing a few. I tried to fix that, but I keep running into issues.
For now, I'll just copy the precompiled files to runner's home directory. That will make everything work, but it will be slow until I figure out precompilation.

Thank you!


Updated README.md

Edited the word 'lets you' to 'enables you to', which I think is better for this sentence. The word 'enable' here gives the readers a feeling that the architecture makes some awesome things possible, while 'let' is more like to give some permissions to the users.

I already signed the CLA!


Showcase example: OutputBuilder::build panicks with ALSA device

Running showcase example on ALSA device, OutputBuilder::build panicks
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: BackendSpecific { err: BackendSpecificError { description: "ALSA function 'snd_pcm_hw_params_set_buffer_size' failed with error 'EINVAL: Invalid argument'" } }', src/io.rs:81:10
stack backtrace:
   0: rust_begin_unwind
             at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/std/src/panicking.rs:515:5
   1: core::panicking::panic_fmt
             at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/core/src/panicking.rs:92:14
   2: core::result::unwrap_failed
             at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/core/src/result.rs:1355:5
   3: core::result::Result<T,E>::unwrap
             at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/core/src/result.rs:1037:23
   4: web_audio_api::io::OutputBuilder::build
             at ./src/io.rs:64:22
   5: web_audio_api::context::AudioContext::new
             at ./src/context.rs:293:22
   6: showcase::main
             at ./examples/showcase.rs:7:19
   7: core::ops::function::FnOnce::call_once
             at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/core/src/ops/function.rs:227:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

If i set BUFFER_SIZE to 256, the program doesn't panick anymore.
But another bug appears. An assertion fails in debug mode (underflow in release mode)
thread 'cpal_alsa_out' panicked at 'assertion failed: `(left == right)`
  left: `78`,
 right: `0`', src/graph.rs:117:9

I think due to #495 build_output_stream is not called at fixed rate on ALSA devices.

Thanks for the detailed report. I don't have any ALSA device here so this is very helpful.
I'll add a resampling step before writing out the audio to deal with varying buffer sizes.
And maybe try to fall back to a default backend config when the lowest buffer_sizes config fails.

Would you accept PR ?
I solve the first panic by fallback on default_output_config when build_output_stream failed.
I'm not sure what you mean by  "resampling step" ?

That's great, I'd love to have a look at your work.
A ring buffer should do indeed, or anything that cut and pastes leftover samples per render quantum


use harvester-friendly image URL

I want to be able to deploy seed images built in elemental-operator to Harvester. Currently I have to download the image locally and upload to harvester. It would be nice to paste the image URL from the image manifest directly into harvester. This also could be used with automation like Terraform.
Currently, elemental-operator does not append a file extension. This is just requesting a harvester supported extension be added the end of the URL.

Well, the file name is passed in a "Content-Disposition" header, which is honored by the browsers and by wget --content-disposition.
Yes, looks good to me to append to the download url something like that @frelon 👍🏼


jsonextract preprocessor: should drop entries that aren't JSON

Did some testing against the Drop-Misses directive on jsonextract preprocessor. It doesn't appear to be working as advertised. When set to true or false, the preprocessor will forward on records that are not JSON in their entirety, and it will also forward on properly jsonextracted records that do not contain all of the fields in the Extractions= directive.

LGTM


Feature/use implementation of iserializer

Internal PR before requesting this on the orginal package.
This PR should solve the issue of being restricted to using Newtonsoft for serialization/deserialization.

Already merged, obsolete


Spotify Clone- Want to Add new features in website

Is your feature request related to a problem? Please describe.

Here in this spotify clone all songs have same duration while actually they don't have same duration. All songs have different different durations.
Also their is nothing in Home section like if we click on 'Home' nothing is coming.
Like Home section there is nothing in About section also .

Describe the solution you'd like

I will change the previous time stamp and make the correct time stamp of all

.
I will add some random songs which will going to appear on Home page .
I would to tell about myself in About section .

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
I am very proficient in HTML, CSS, and javascript and I can make this website to look a way more beautiful than before . I will glad if i got to this and I will definitely want to work with this issue .

I would like to contribute to this issue. Please assign this to me.

I would  like to contribute to this issue. Please assign this to me.
https://github.com/TusharKesarwani/Front-End-Projects/issues/836#issue-1736700291

@ShreyoPaul Project alreday exists


Stripe joins failing to return results.

Bug report

[x] I confirm this is a bug with Supabase, not with my own application.
[x] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
Joining stripe fdw tables seems to fail or return incomplete results. I'm not sure if this is expected and just not yet implemented or a bug or what so opening an issue before I dig deeper.
e.g.
SELECT stripe_customers.email, stripe_subscriptions.currency
FROM stripe_customers
INNER JOIN stripe_subscriptions ON stripe_customers.id = stripe_subscriptions.customer

Using the mock data returns nothing and using our stripe account data returns a single row even though there are additional valid results.
To Reproduce
Add the following test and run the test suite.
  let results = c
                .select(
                    "SELECT stripe_customers.email, stripe_subscriptions.currency FROM stripe_customers INNER JOIN stripe_subscriptions ON stripe_customers.id = stripe_subscriptions.customer",
                    None,
                    None,
                ).unwrap()
                .filter_map(|r| {
                    r.get_by_name::<&str, _>("email")
                        .unwrap()
                        .zip(r.get_by_name::<&str, _>("currency").unwrap())
                })
                .collect::<Vec<_>>();
            assert_ne!(results, vec![]);

Run the query above against a stripe account with customers and subscriptions.
Expected behavior
Joined rows are returned.

In the mock data, there is only one test customer cus_MJiBgSUgeWFN0z which doesn't have subscription, so the join returns empty data set.

data returns a single row even though there are additional valid results.

This is still an issue probably because nested loop execution plan isn't handled properly, I will have a deeper look at it.

Just ran into a similar situation as well. For my use case it's not preventing me from moving forward but it was a bit confusing when my results were all over the place. Glad it has already been reported 😄

I'm adding this limitation to the docs until its fixed as I've seen it in support tickets a couple of times.
https://github.com/supabase/wrappers/pull/176
Please remove that note once this issue has been addressed

@olirice @burmecia  This seems to not be working in the supabase sql editor. (I commented on the PR as well, I'm not sure which is the right place)
This returns 1 result:
select * from stripe.customers c where c.email = 'xxx'
This returns 5 results:
select * from stripe.payment_intents where customer = 'xxx'
However, this query returns only 1 result instead of 5 and payment intents is always null
select * from stripe.customers c left join stripe.payment_intents p on (p.customer = c.id) where c.email = 'xxxx'

can you try use customer.id as the filter instead of email?
select * from stripe.customers c left join stripe.payment_intents p on (p.customer = c.id) where c.id = 'cus_xxxx'

The reason is the execution plan may be different if using different column in the filter.

can you try use customer.id as the filter instead of email?
select * from stripe.customers c left join stripe.payment_intents p on (p.customer = c.id) where c.id = 'cus_xxxx'

The reason is the execution plan may be different if using different column in the filter.

I don't understand - shouldn't it be able to join on one column and filter on another?

The Postgres query planner will work out different execution plan based on table column characteristic. When using c.id = 'cus_xxxx' the execution plan is to filter on stripe.customers first, that will make the filter pushed down to Stripe first, thus the query is fast. But when using c.email = 'xxxx' the execution plan is to get ALL Stripe customers to local first, and then apply the filter, that is a slow operation.


Unknown error occurred during Garmin Connect login request

Ran into this error
I have never gotten the connection working in HA. Tried a different version but still get the same error.
This error originated from a custom integration.
Logger: custom_components.garmin_connect
Source: custom_components/garmin_connect/init.py:82
integration: Garmin Connect (documentation, issues)
First occurred: 26 December 2024 at 23:59:38 (1 occurrences)
Last logged: 26 December 2024 at 23:59:38
Unknown error occurred during Garmin Connect login request
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/garth/http.py", line 143, in request
self.last_resp.raise_for_status()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/requests/models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://sso.garmin.cn/sso/signin?id=gauth-widget&embedWidget=true&gauthHost=https%3A%2F%2Fsso.garmin.cn%2Fsso%2Fembed&service=https%3A%2F%2Fsso.garmin.cn%2Fsso%2Fembed&source=https%3A%2F%2Fsso.garmin.cn%2Fsso%2Fembed&redirectAfterAccountLoginUrl=https%3A%2F%2Fsso.garmin.cn%2Fsso%2Fembed&redirectAfterAccountCreationUrl=https%3A%2F%2Fsso.garmin.cn%2Fsso%2Fembed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/garmin_connect/init.py", line 82, in async_login
await self.hass.async_add_executor_job(self._api.login)
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.13/site-packages/garminconnect/init.py", line 235, in login
self.garth.login(
~~~~~~~~~~~~~~~~^
self.username, self.password, prompt_mfa=self.prompt_mfa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/garth/http.py", line 164, in login
self.oauth1_token, self.oauth2_token = sso.login(
~~~~~~~~~^
*args, **kwargs, client=self
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/garth/sso.py", line 127, in login
client.post(
~~~~~~~~~~~^
"sso",
^^^^^^
...<8 lines>...
),
^^
)
^
File "/usr/local/lib/python3.13/site-packages/garth/http.py", line 155, in post
return self.request("POST", *args, **kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/garth/http.py", line 145, in request
raise GarthHTTPError(
...<2 lines>...
)
garth.exc.GarthHTTPError: Error in request: 401 Client Error: Unauthorized for url: https://sso.garmin.cn/sso/signin?id=gauth-widget&embedWidget=true&gauthHost=https%3A%2F%2Fsso.garmin.cn%2Fsso%2Fembed&service=https%3A%2F%2Fsso.garmin.cn%2Fsso%2Fembed&source=https%3A%2F%2Fsso.garmin.cn%2Fsso%2Fembed&redirectAfterAccountLoginUrl=https%3A%2F%2Fsso.garmin.cn%2Fsso%2Fembed&redirectAfterAccountCreationUrl=https%3A%2F%2Fsso.garmin.cn%2Fsso%2Fembed

Yup me to, I suspect something to do with MFA authentication pass process as I get an MFA code via email every time i try to re set up and also when i did the initial update to 0.2.26 last night

I have not activated my MFA authentication.


1.3 dev

What I've done:

Remove backup function. Why? Because I think this is not the goal of this script to perform a backup, furthermore a local copy from the saved folder to another local folder is useless. And finally, it's not
safe to copy without checking if one or more files are not in use by the system.
Update readme
Merge update --safe with the original update function because an update must be done safely. I've added the rcon savefunction before call the update function
clean some unused variables

:-1: I disagree.
There are mutiple changes to different functionality in this one pull request, each set of changes should be in a seperate pull request.
If there are extra files added that need to be backed up, we can add them to the script.
Why is a copy to another local folder useless? It protects again server corruption due to bugs or bad server updates, which is my biggest concern. It also allows for rollbacks if desired.
I do not want to be forced to do a safe update. I want the choice on whether the update is safe or not. At the moment I do a save world manually, verify the server file timestamps have changed, then do a backup. At the very least have a -without_save option on update.

I just think the backup should be done by another script or program.
If you are concerned by server corruption you need to export your backup
outside the server itself. A local backup is not enough.
And like I said, the current function just do a copy from one folder to
another without checking if one or more file are still in use by ARK
server. In this case your backup may be corrupted.
About the update function, you are not forced to do a safe update because
you can use --force. Isn't it?
You're right about the unique pull request, it's not a best practice. Sorry
about that.
2015-07-15 23:23 GMT+02:00 Stuart Whelan<EMAIL_ADDRESS>
[image: :-1:] I disagree.
There are mutiple changes to different functionality in this one pull
request, each set of changes should be in a seperate pull request.
If there are extra files added that need to be backed up, we can add them
to the script.
Why is a copy to another local folder useless? It protects again server
corruption due to bugs or bad server updates, which is my biggest concern.
It also allows for rollbacks if desired.
I do not want to be forced to do a safe update. I want the choice on
whether the update is safe or not. At the moment I do a save world
manually, verify the server file timestamps have changed, then do a backup.
At the very least have a -without_save option on update.
—
Reply to this email directly or view it on GitHub
https://github.com/FezVrasta/ark-server-tools/pull/118#issuecomment-121754171
.

--
Nicolas MARCQ

My view on backups:
I've been running modded Minecraft servers for quote some time, and local backups is a life saver. While a local backup won't save you from all types of errors, it's certainly useful to have a backup of your world in case of world destroying bugs that potentially could happen anytime or a destructive update.
Ark is an alpha game with alpha server software. So backups is defiantly a great idea.
While I do believe the script would need a backup feature when it will be able to automatically check for and update the server, we're not there yet. And as @Sispheor points out the current backup function in the script isn't all that great ;)
Removing it completely is probably not the greatest way to go about things tho.
For now when the server saves the world it just renames the previous world save with the date and a timestamp and saves the world to a new file. So there's already local backups of the world. You can just copy them elsewhere if you need to.
just my two cents ;)

I agree that local backups is nice to have, especially since this is an early access game.
You never know what is going to happen.
Either way - leave the user with the option instead of making them look for multiple tools to manage their server.

OK, i close this PR, and I'll try to improve the backup function.

@Sispheor The way the ARK server saves the world file (write to TheIsland.tmp, unlink TheIsland.ark, and rename TheIsland.tmp to TheIsland.ark) means that doing a simple copy won't get inconsistent data, but there is a small window during which TheIsland.ark may not exist.
They're not quite that safe with arkprofile and arktribe saving - they write to <id>.tmp(profile|tribe), truncate <id>.ark(profile|tribe), and copy from <id>.tmp(profile|tribe) to <id>.ark(profile|tribe), so there  is a very small window during which the ark(profile|tribe) file will be inconsistent.


[MB-6914] Create AK9 EDI segment

Description
This PR creates the AK9 EDI segment with validations and tests.
I plagiarized a lot of this code from #6084 (thanks Jacquie!)
Reviewer Notes
I couldn't find the potential values for the optional fields in this segment, AK905, AK906, AK907, AK908, or AK909,
They are supposed to be defined in Data Element 716, but that is missing from the data element dictionary section of the 997 spec.
I think this is fine, but if we ever find these definitions, we might be able to have tighter validations for these fields.
Setup
Nothing in the app uses this segment yet, so we can only run its tests for now:
make server_test

Please also double check the fields and validations against this spreadsheet
References

Jira story for this change
Spreadsheet of mapped values explains more about the approach used.
997 specification

Messages

:book:
:link: MB-6914

  Generated by :no_entry_sign: dangerJS against d5cb17a034799adbdfeb944fcde32d78cb180cde


Screen Readers won't read punctuation characters in Shortcuts

Steps to reproduce

Create a SingleActivator(LogicalKeyboardKey.comma, meta: true)
Create a MenuBarItem(shortcut:
Using a Screen Reader (VoiceOver in my case), navigate to the menu item

Expected results
The Screen Reader should read "Command Comma". Same with other punctuations like period, quotes, question mark, etc.
Actual results
The Screen Reader will read "Command [silent]", since the comma is silent.
Code sample
Code sample
final shortcut = SingleActivator(LogicalKeyboardKey.comma, meta: true);
MenuItemButton(
        shortcut: shortcut,
        onPressed: () {},
        child: Text('Test Widget)),

Screenshots or Video
No response
Logs
No response
Flutter Doctor output
[✓] Flutter (on macOS 14.3 23D56 darwin-arm64 (Rosetta), locale en)
• Framework revision 457a95fac8 (3 days ago), 2024-02-02T00:00:00.000
• Engine revision 9869d47a27
• Dart version 5a5d4c2622
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15C500b
[✓] Connected device (1 available)
• macOS (desktop) • macos • darwin-arm64 • macOS 14.3 23D56 darwin-arm64 (Rosetta)

@franciscojma86 How do you navigate to the menu item?
My keyboard doesn't have meta key so I use control instead but the reader doesn't read anything when I press control + ,.
This is a complete sample code:

Sample code
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() async {
  runApp(
    const MaterialApp(
      title: 'Flutter Demo',
      home: MyApp(),
    ),
  );
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  final _shortcut = const SingleActivator(LogicalKeyboardKey.comma, meta: true);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: MenuItemButton(
          shortcut: _shortcut,
          onPressed: () {},
          child: const Text('Test Widget'),
        ),
      ),
    );
  }
}

Please also share the entire output of flutter doctor -v as well. Thanks!

My keyboard doesn't have meta key so I use control instead but the reader doesn't read anything when I press control + ,.

The meta key is the Windows key on Windows, and the Command key (⌘) on macos.  There are some keyboards with an actual "Meta" key, but they produce the same keycode as the Windows key, so on Linux it's also the Windows key on most keyboards.

Thank @gspencergoog, looks like I see the issue now. The reader will be stopped at Command without reading ,. The same result on Windows with NVDA reader.

Demo
https://github.com/flutter/flutter/assets/104349824/a48cc470-f114-4f8f-8410-3131580d0d06

Sample code
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() async {
  runApp(
    const MaterialApp(
      title: 'Flutter Demo',
      home: MyApp(),
    ),
  );
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  final _shortcut = const SingleActivator(LogicalKeyboardKey.comma, meta: true);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: MenuItemButton(
          shortcut: _shortcut,
          onPressed: () {},
          child: const Text('Test Widget'),
        ),
      ),
    );
  }
}

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.16.9, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.16.9 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 41456452f2 (14 hours ago), 2024-01-25 10:06:23 -0800
    • Engine revision f40e976bed
    • Dart version 3.2.6
    • DevTools version 2.28.5

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.14.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio Hedgehog.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.85.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.80.0

[✓] Connected device (4 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D                         • android-arm64  • Android 11 (API 30)
    • iPhone (mobile)  • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.8 19H370
    • macOS (desktop)  • macos                                    • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome                                   • web-javascript • Google Chrome 120.0.6099.234

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.20.0-2.0.pre.17, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.20.0-2.0.pre.17 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6322fef7e0 (29 minutes ago), 2024-02-05 21:53:12 -0500
    • Engine revision 808886312e
    • Dart version 3.4.0 (build 3.4.0-104.0.dev)
    • DevTools version 2.32.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.14.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio Hedgehog.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.85.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.80.0

[✓] Connected device (4 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D                         • android-arm64  • Android 11 (API 30)
    • iPhone (mobile)  • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.8 19H370
    • macOS (desktop)  • macos                                    • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome                                   • web-javascript • Google Chrome 121.0.6167.139

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.


zigbee2mqtt device mistaken for another brand

Description of the issue
Hi I bought a Bticino brand device model "L4531C", this is seen as another LEGRAND brand device model "067775/741811". how can i make it become Btcino L4531C? thank you
Addon version
v 1.27.2-1
Platform
home assistant add-on
Logs of the issue (if applicable)
No response

Legrand and Bticino is the same manufacturer, they use the same identifier so we cannot distinguish them from each other. Therefore they will appear as Legrand. https://www.bticino.com/about-us/


extract attributes RegExp question

Another question about extract attributes regexp in code below:
([^\\s=]+)\\s*=\\s*('(\\\\'|[^']*')|\"(\\\\\"|[^\"])*\")
why not is below:
([^\\s=]+)\\s*=\\s*('(\\\\'|[^'])*'|\"(\\\\\"|[^\"])*\")

Hi,
in fact, I didn't write it, but found it on the web, so i did assume it was correct after testing it on numerous expressions.
Did you find a case were my regex fail to extract attributes ?
Regards


[BUG] Cannot read properties of undefined (reading 'anchors')

🐛 Bug Report

Lib version: 4.4.0
I have a file which crashes the loader. I have reduced it to just a single chart with some graphics, but I still need to check if I can share it. I'll update this issue with the file when I've cleared this. This is the error:
        (drawing.anchors || []).forEach(anchor => {
                 ^

TypeError: Cannot read properties of undefined (reading 'anchors')
    at /xyz/node_modules/exceljs/lib/xlsx/xlsx.js:100:18
    at Array.forEach (<anonymous>)
    at XLSX.reconcile (/xyz/node_modules/exceljs/lib/xlsx/xlsx.js:92:33)
    at XLSX.load (/xyz/node_modules/exceljs/lib/xlsx/xlsx.js:411:10)
    at async XLSX.readFile (/xyz/node_modules/exceljs/lib/xlsx/xlsx.js:55:24)

Steps To Reproduce

const ExcelJS = require('exceljs');
const wb = new ExcelJS.Workbook();
wb.xlsx.readFile('test2.xlsx').then(() => {
    console.log("File is loaded");
});

The expected behaviour:
The file would load (as it does in Excel) without crashing. I have no need to load any charts, I'm only interested in data cells. I also have no need of saving the file back.
Possible solution (optional, but very helpful):
With this change the file loads with exceljs:
in xlsx.js, in class XLSL, method 'reconcile':
    Object.keys(model.drawings).forEach(name => {
      const drawing = model.drawings[name];
      const drawingRel = model.drawingRels[name];
-      if (drawingRel) {
+      if (drawing && drawingRel) {
        drawingOptions.rels = drawingRel.reduce((o, rel) => {
          o[rel.Id] = rel;
          return o;
        }, {});
        (drawing.anchors || []).forEach(anchor => {
          const hyperlinks = anchor.picture && anchor.picture.hyperlinks;
          if (hyperlinks && drawingOptions.rels[hyperlinks.rId]) {
            hyperlinks.hyperlink = drawingOptions.rels[hyperlinks.rId].Target;
            delete hyperlinks.rId;
          }
        });
        drawingXform.reconcile(drawing, drawingOptions);
      }

I faced the same problem. I had to change another worksheet-xform.js file.
          drawing.anchors.forEach(anchor => {
            if (anchor.medium) {

Added check
        if(drawing)
        {
          drawing.anchors.forEach(anchor => {


If this is within the scope of the Open Source Client Project, examine the interface between Forms and the transmission and reception of the Form's contents between Radio based Winlink systems.

Up first  wrt to Forms is to send only the End User input data  and the Form’s unique Identification with the end user input and repopulate the form with  ser’s input at the far end of each circuit i.e. wherever it is received,
This was one of the algorithms straight out of "K&R C Language 1972”   re: implementation of *nix ‘pipes’.
It can be done while retaining all of the currently existing code that has evolved into the current set of Forms Libraries and capabilities changing only how the The Form’s message is prepped  during runtime before being  transmitted and again in reverse when the msg is received.
Source Code for fillable PDF Forms should be available as a place to start.

This will make sense only if you consider it in light of the prime use cases for Winlink Express  - as a Contingency & Emergency information system for essential Disaster Response activities aka Emergency Service Functions.
A few of the Forms (like the NorCal Winlink Net Check In - found in the non standard forms page on Winlink.org)  hardly adds any ‘overhead'.
OTOH, many of the best  Form  enhancements over the  last several years have increasingly useful ‘help’ - explanations  (like the Mercali seismic intensity  scale explanation accessible in the DYFI form’s input screen) or instructions for replying to some of the ICS Forms  and Form instructions which are user accessible while filling in the Form will have larger amounts of ‘overhead’ which could be greatly reduced or eliminated - without changing the Forms.
All of the information which is required to recreate any Standard Winlink Form at the recipient’s end(s) of the circuit(s) is already residing in every Receiving Station's Winlink Express’s Forms Library regardless of which client originates the Standard Form based messages.
Keep an eye on the transmission overhead and transmission sizes  - compared to the size of the User input data  when using any of the Standard Forms over time and the potential savings in transmission size & time to transmit.  Comparing it to transmitting just the user's input and the savings will probably surprise you.
When there are multiple recipients of a transmission,  the ‘overhead', however large or small & however it is encoded or compressed, per recipient of the same Form, is multiplied by the number of recipients.
The magic smoke of Winlink’s Forms based Contingency and  Emergency Communications is the User input data getting where it needs to be as expeditiously as possible.
I readily concede that there are more useful open source enhancements to be made prior to this issue surfacing as a 'too little, too late’ concern for most users.
Cheers & 73,
dan sohn, wl7coo
(MS: Copied from https://github.com/ARSFI/winlink-mail-client/issues/3#issuecomment-1559886103 and https://github.com/ARSFI/winlink-mail-client/issues/3#issuecomment-1560420151.)

Added this issue as an entry in the wiki: https://github.com/ARSFI/winlink-mail-client/wiki

Thank you Mooneer.
Cheers,
..dan

On May 24, 2023, at 8:13 PM, Mooneer Salem @.***> wrote:
Added this issue as an entry in the wiki: https://github.com/ARSFI/winlink-mail-client/wiki
—
Reply to this email directly, view it on GitHub https://github.com/ARSFI/winlink-mail-client/issues/7#issuecomment-1562197412, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFRDMWX7CXHQ2LSUGAZ246TXH3E5XANCNFSM6AAAAAAYNPHP4A.
You are receiving this because you authored the thread.


fix: Fixed running multiple workflows with mutex and memo concurrently is broken

Fixes #11853
Motivation
When running multiple workflows with mutex synchronization and cache at the same time, there is an issue that mutex key is not released.
The first workflow will run correctly and release the keys, but the second workflow's 1st step will run but it does not release the key.
So this results in infinite pending nodes (like second workflow's 2nd or later nodes) as described in the issue.
Modifications
Omitting releasing lock in fulfilled node check after memo in executeTemplate makes this problem.
When checking fulfilled node, this also should release any locks that this node have.
In executeTemplate,  lock is released at first of the function  or after running the details (like this or this)
However, if memoization exists, node is returned as a short-cut, so currently releasing lock only depends on the first.
Though most nodes go through executeTemplate multiple times by their state, Omitting releasing lock in fulfilled node check after memo surley makes the  problem.
Like this issue, when running multiple nodes concurrently, second workflow's first node is not fulfilled but cache is hit, so it pass the first and fulfilled node check after memo does not release the lock. so the later nodes cannot get the lock forever.
I just fix this issue by adding omitted releasing lock to fulfilled node check after memo
Verification

Simply can test this changes works by running the workflow below few times concurrently.
The fist workflows cache hit is 'NO' and 'YES' and seconds workflows cache hit is all 'YES' with no error as expected.
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: example-steps-
spec:
  entrypoint: main

  templates:
    - name: main
      steps:
        - - name: job-1
            template: sleep
            arguments:
              parameters:
                - name: sleep_duration
                  value: 30
          - name: job-2
            template: sleep
            arguments:
              parameters:
                - name: sleep_duration
                  value: 15

    - name: sleep
      synchronization:
        mutex:
          name: mutex-example-steps-simple
      inputs:
        parameters:
          - name: sleep_duration
      script:
        image: alpine:latest
        command: [/bin/sh]
        source: |
          echo "Sleeping for {{ inputs.parameters.sleep_duration }}"
          sleep {{ inputs.parameters.sleep_duration }}
      memoize:
        key: "memo-key-5"
        cache:
          configMap:
            name: cache-example-steps-simple

Thanks!

Thanks for the explanation and the fix!
Can this PR be picked for v3.4.12 #11851

@Paritosh-Anand I guess this will be automatically included to that release because of no conflict expected. I will keep checking that thread 😀


Drop "audit:runtime" script

Closes #58

Summary
Auditing runtime dependencies only is unnecessary as this is a library. Not only because there's currently no runtime dependencies, but also because it is generally not problematic[^1] for runtime dependencies being depended upon to have known vulnerabilities. The vulnerable code is never run in an interesting setting within the project and users of the library can always upgrade to a safe version because we would be using version ranges.
This suggestion is predicated on the assumption that bumping a runtime dependency from, say, ^2.0.0 to ^2.1.0 in order to "fix" the vulnerable dependency is a breaking change.
[^1]: This assessment excludes vulnerabilities in the malware category.

This suggestion is predicated on the assumption that bumping a runtime dependency from, say, ^2.0.0 to ^2.1.0 in order to "fix" the vulnerable dependency is a breaking change.

This assumption is incorrect, so I'll close this and (move forward with #58 as planned).