Error Installing CMake in Windows64

Describe the bug
https://github.com/YDLIDAR/YDLidar-SDK/blob/master/doc/howto/how_to_build_and_install.md
We are following the instructions above and kept getting the error:
error while loading cmake, the port directory does not exist, error: failed to load port from C:\src\win64\vcpkg\portd\cmake
note: uploading vcpkg by rerunning bootstrap-vcpkg may resolve this failure
We made a directory called cmake inside of ports and now we are getting this error:

Environment

OS: Window
Compiler: revision

To Reproduce
Steps to reproduce the behavior:

./vcpkg install cmake
See error
Repro code when

Expected behavior
successfully install and move to next step (integrate install, cc build && \ cmake .."-DCMAKE_TOOLCHAIN_FILE.....)
Failure logs
Additional context
https://github.com/YDLIDAR/YDLidar-SDK/blob/master/doc/howto/how_to_build_and_install.md
We are trying to follow these instructions to use python to interface with the X2 YDLiDar for a project. We are trying to extract the raw data from the sensor

Hi @madeline-m
Thanks for posting this issue.
Since cmake is listed in scripts/test_port/cmake, which is different from these ports in ports/ directory.
So It cannot be installed like this.
You can copy cmake folder in https://github.com/microsoft/vcpkg/tree/master/scripts/test_ports to ports folder, then try to rebuild.

Just to make it clear, the port cmake provided by vcpkg in test_ports/ folder is used to test these ports in vcpkg.
I'm not clear about this document https://github.com/YDLIDAR/YDLidar-SDK/blob/master/doc/howto/how_to_build_and_install.md. But I think this is not the proper way to install cmake.

Closing this issue since it should not a problem in vcpkg.


Keg relocation should also relocate RPATHs on macOS

Provide a detailed description of the proposed feature
On macOS, the relocation of kegs does not touch LC_RPATH entries in MachO files. This behaviour differs from that on Linux, where RPATHs are relocated, and I believe this partly explains why more formulae are relocatable on Linux than on macOS.
I propose that brew also apply the existing relocation logic to LC_RPATH entries. That is, it should substitute path prefixes in each LC_RPATH entry with the appropriate placeholders (e.g. @@HOMEBREW_PREFIX@@, @@HOMEBREW_CELLAR@@, etc) upon bottling, and substitute those placeholders with the correct prefixes upon pouring.
This complements #10846. Personally, I think this should be implemented first before we do any binary patching.
There is some existing (but, AFAICT, unused) logic in brew that clears MachO files of "unused" RPATHs:
https://github.com/Homebrew/brew/blob/42ffee75a1245117d25b9e3bfd6e8e51b0cb0ff4/Library/Homebrew/extend/os/mac/keg_relocate.rb#L57-L65
but my (admittedly limited) testing suggests that the test it uses for deciding whether to clear redundant RPATHs is incorrect, and actually breaks formulae.
What is the motivation for the feature?
More relocatable bottles.
How will the feature be relevant to at least 90% of Homebrew users?
Probably won't be.
What alternatives to the feature have been considered?
Doing nothing, or just relying fully on binary patching instead.

To be clear, I am willing to work on this (but not immediately). However, I am opening this issue in case this is actually not a good idea for reasons I haven't considered.
CC @sjackman @danielnachun

This seems like a good idea given my limited understanding.

This would help with Swift. The current approach I'm doing is deleting the absolute rpath (becuase in the Swift case, it's actually a duplicate of an already existing relative path and thus pointless).
There's an argument that the absolute rpath should be fixed at source, but this sometimes isn't possible and can require patches.

As for HOMEBREW_RELOCATE_METAVARS, I agree that should be deleted. It does look like it would cause problems.

Makes sense to me. Thanks, Carlo!

Personally, I think this should be implemented first before we do any binary patching

I completely agree, and I actually proposed https://github.com/Homebrew/brew/issues/10846 under the assumption that we were already doing this.  Since we are not, I fully support getting this working before trying to do binary patching on macOS.
One question that may warrant some further thought: should we be checking if the user is actually running a non-default cellar before doing this?  If they are not, then we end up replacing the old install prefix in the RPATHs with the same one.  This is harmless but arguably unnecessary.  I'm not actually sure we even check that for patching install_names on macOS or RPATHs on Linux.
When https://github.com/Homebrew/brew/issues/10846 is implemented, install_name/RPATH patching will be mandatory for bottles built with long prefixes because all users will have a different install prefix than the one used to build the bottle.  However, bottles which don't need binary patching could still be built with the default prefix and would only need install_name/RPATH patching when the user is in a non-default cellar.

If they are not, then we end up replacing the old install prefix in the RPATHs with the same one.

The bottles contain @@HOMEBREW_PREFIX@@ - we don't actually scan for /usr/local at pour time. A similar practice would be done here where the RPATHs will be replaced with @@HOMEBREW_PREFIX@@.

This would help with Swift.

I've been contemplating this on and off for a little while now, but your comment about making Swift relocatable did encourage me to open this. And this: #11331

I've merged #11331. RPATH relocation is currently gated behind HOMEBREW_RELOCATE_RPATHS, which I intend to test more thoroughly at https://github.com/carlocab/homebrew-rpath-test.

Tested about 20 formulae, and this doesn't seem to break anything. A minority of the ones I tested become cellar: :any after RPATH relocation. CC @Bo98 (since you said you wanted updates)

These environment variables are now gone, and will be removed from Homebrew/core in Homebrew/homebrew-core#93327.


Fix EU's link and add AI Austria strategy

Update European Commission's Guidelines for Trustworthy AI's broken link
Add Austria's Artificial Intelligence Mission Austria 2030

Thanks


Optional default lambdas with params (Close #785)

@dblock What do you think about validate! method taking request object instead of params hash as an argument?

I think it's a lot better, but I am worried about the backward incompatible change. I am also not in love with the fact that we check whether the proc takes an argument or not and we have to check for it.
What context to validators execute in? Maybe we can expose request explicitly in the context of the evaluation, so basically add a request method to Validator::Base?

I see this change more like refactoring. Also, what I understand from the code and documentation, we are rather exposing validate_param! method for any custom validators, that's why I didn't care about backward compatibility.
To be sure for the future commits - what's the policy about backward compatibility? I assumed that before 1.0 release it's not the problem to change some methods.
Everything regarding creation of the validators are done before the request (during rackup). Then, created validators are executed from the endpoint where I can pass request object instead of just params. So the env is in the same place where request, outside the validator object. I'm not sure if I got the point but you can paste some even pseudo-code example if it's not clear.

I'll try to be clearer. We can break backwards compatibility but we would rather not when possible. That's more of a general statement. I think the problem is that validators take params and we want to change that. The question is what do we want to change that into, right?
I think we want to change it into something where someone writing a validator can just call request anywhere inside the validator. So this should become a method on Validations::Base. I am happy to take a stab at it, but it might take a bit of time :)

Bump @rodzyn, what should we do about this PR?

@dblock as I remember it's breaking backward compatibility (passing request instead of params) and it was quite tough to do it other way around so probably can close it for now

OK, I'll close this.


twai: TWAI_ALERT_TX_FAILED long before bus off mode is reached (IDFGH-13273)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.2.1
Espressif SoC revision.
ESP32-S3 (QFN56) (revision v0.2)
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32-S3-DevKitC-1
Power Supply used.
USB
What is the expected behavior?
I'm using twai_transmit with the TX queue disabled. When twai_transmit returns ESP_OK, to my understanding, the twai controller should keep trying retransmissions until success or bus off error (Transmission error counter > 255). Once transmission is successful, the TWAI_ALERT_TX_SUCCESS alert is received.
What is the actual behavior?
In most cases, I get the TWAI_ALERT_TX_SUCCESS alert, indicating the CAN frame was transmitted.
In some cases however, I get TWAI_ALERT_TX_FAILED long before bus off error state is reached.
This doesn't make sense to me, as I expect the twai controller to automatically re-attempt sending the message until bus off error is reached. Is there another reason why a message would be dropped by the twai controller?
Note: The single-shot flag on my CAN frame is set to false. Re-transmissions do seem to work most of the times, because if I disconnect the cable and reconnect, the pending frame is correctly sent.
Steps to reproduce.

Enable CONFIG_TWAI_ISR_IN_IRAM=y (The issue doesn't seem to occur when this is set to false, but I need it or else I sometimes miss RX packets).
Disable the TX queue --> twai_transmit returning ESP_OK means the transmission was successfully initiated
twai_transmit
twai_read_alerts to wait for TWAI_ALERT_TX_FAILED or TWAI_ALERT_TX_SUCCESS
repeat previous 2 steps

It only happens during quite high bi-directional throughout. In my case: 250 CAN frames per second in both directions. Bus speed set to 125kb/s.
My twai_message_t:
  msg->flags = 0;
  msg->identifier = 0x523
  msg->data_length_code = 8

My driver config:
  const twai_timing_config_t t_config = TWAI_TIMING_CONFIG_125KBITS();
  const twai_filter_config_t f_config = TWAI_FILTER_CONFIG_ACCEPT_ALL();
  twai_general_config_t g_config = TWAI_GENERAL_CONFIG_DEFAULT(
      CONFIG_CAN_TX_GPIO_NUM, CONFIG_CAN_RX_GPIO_NUM, TWAI_MODE_NORMAL);
  g_config.rx_queue_len = 100;
  g_config.tx_queue_len = 0;
  g_config.intr_flags = ESP_INTR_FLAG_LEVEL1 | ESP_INTR_FLAG_IRAM; // even without this IRAM flag, the issue occurs

I found out this error also occurs when above IRAM interrupt flag is not added. Just enabling IRAM optimisations alone (without allowing the ISR to actually make full use of them) causes the issue. Weird.
Debug Logs.
No response
More Information.
No response

@robin96c
Can you describe more how long between you receive TX_FAIL and BUS_OFF.
Then at first, you receive BUS_OFF means may some noise or connection issues on your hardware, the twai controller don't drop any tx message except BUS_OFF, it is really contiuing re-trans one message, if it just simplly don't receive ACK, controller don't enter BUS_OFF, at least one of another error is here lead BUS_OFF.
Can you check and enhance your connection, here I simply both trans between 2 nodes can't reproduct this issue.

@wanckl
That's the thing, the controller doesn't reach BUS_OFF state before or after the TX failure. I get randomly dropped frames (alerted by TWAI_ALERT_TX_FAILED), but frames sent immediately after the failure get sent correctly (TWAI_ALERT_TX_SUCCESS).
I recreated the error by editing the twai_alert_and_recovery example. I flashed it to two ESP32S3 devices and let them send data in both directions (though you can also use just one ESP and a CAN2USB device with a python script for example). It can take some time before the error is triggered. In the attached logs it took 17 minutes.
The bus load during my tests was around 45%, with 2 nodes connected and data being sent in both directions.
Sidenote: in the logs you will see a bus off failure of device 1 shortly after bootup. This was due to the fact that device 2 was booting at that time, and is unrelated to the TX failure that occurred 17 minutes later.
Project + full device logs: twai_tx_fail_error.zip
I (988401) TWAI_TEST: sent 246000 messages
I (988412) TWAI_TEST: received 246000 messages
I (992401) TWAI_TEST: sent 247000 messages
I (992412) TWAI_TEST: received 247000 messages
E (992764) TWAI_TEST: TWAI_ALERT_TX_FAILED
E (992764) TWAI_TEST: tx failed [ESP_FAIL]
I (996404) TWAI_TEST: sent 248000 messages
I (996413) TWAI_TEST: received 248000 messages
I (1000404) TWAI_TEST: sent 249000 messages
I (1000413) TWAI_TEST: received 249000 messages
I (1004404) TWAI_TEST: sent 250000 messages
I (1004413) TWAI_TEST: received 250000 messages
I (1008404) TWAI_TEST: sent 251000 messages
I (1008413) TWAI_TEST: received 251000 messages
I (1012404) TWAI_TEST: sent 252000 messages


We need a way to let repos define flags

/area test-and-release
/kind cleanup
We should have flag parsing being performed in pkg, because that initializes the common logging infrastructure, and also avoids replicated boilerplate code (plus bug fixes, unification, etc).
We should have a simple and documented process of adding extra flags defined in a repo/test/etc.

This is fixed because go test does flag parsing now, and files like knative/serving/test/e2e_flags.go do define flags.
/close


Deprecate 3 unused Django settings

This commit deprecates 3 unused Django settings:
OFFLINE_OUTPUT_DIR = ''
GOOGLE_ANALYTICS_ID = ''
GOOGLE_ANALYTICS_SITE = ''

These were all added back in April 2016 (in commit b859cc8bce8e62666f4a8677186d63d2d04cd092) but as far as I can tell are not used anywhere. Therefore we can remove them.
Checklist

[x] PR has an informative and human-readable title
[x] Changes are limited to a single goal (no scope creep)
[x] Code follows the standards laid out in the CFPB development guidelines

Maybe intended for https://github.com/cfpb/consumerfinance.gov/issues/495 ? Would it make any sense to use the Google variables versus removing them?

@anselmbradford definitely a good idea! Since we have that issue open as a place to track it, though, I'd prefer to delete for now and re-add when we pick that back up.
If it's the case (as it seems to be?) that we're using the same Google ID in the base.html template and so every page in every cf.gov request -- production, beta, internal, even local development? -- record that traffic to the same GA account.. and that's been happening since you opened #495 in 2015? that seems like a bigger problem. Pinging @sonnakim for awareness.


connect database to paper metadata (e.g., publication year)?

Should we connect the annotation database to one with other paper metadata? Such as the publication year and journal?

Should we connect the annotation database to one with other paper metadata? Such as the publication year and journal?

we may need to eventually, but if it is just the publication year and
journal we can easily read those from the jsonl files themselves.
they can be found in the doc["text"] at the locations indicated in the
corresponding field in doc["metadata"]["field_positions"].
I'll add that to the script that creates the database.

I added the year, journal and title

Thanks! and sorry I didn't realize it was already there


net: lwm2m: check content-format and respond with error if not support

Currently, we always set the content-format as "plain/text" when
it is unrecognized. This is wrong for it's possible that payload
is actually something else.
For example, we don't support JSON as incoming format right now.
But if I send a PUT request to /1/0/1 (server objectinstance/lifetime
resource) with value 3200 in JSON format: {"e":[{"n":"","v":3200}]}.
The client will still handle the request and respond with changed (2.04)
except for the lifetime resource is updated incorrectly due to parsing
error.
Correct the behavior by not setting a default format and respond with
content-format-not-support error code (4.15)
Ref: #3857

@jukkar @nashif
Please help to check on this PR. Thanks


[SMALLFIX]replace anonymous type with lambda

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/577/
Test FAILed.


MSAL Invalid_State error in Edge

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[x ] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Browser:

[ ] Chrome version XX
[ ] Firefox version XX
[ ] IE version XX
[x] Edge version Microsoft EdgeHTML 17.17134
[ ] Safari version XX

Library version

Library version: 0.2.4

## Current behavior
In a few EDGE browsers when logging in we receive an Invalid State Error "Invalid_state. state: 0ac5d133-c84d-4eda-8fa1-0acb622b8e92"

## Notes

- We are using the msal npm package in an angular project
- This works in IE on the same machine
- Looking at previous issues, it was fixed in 0.2.2 (we are using a later version)
- Even using the suggested work arounds such as adding the login page to trusted sites in IE, it still doesn't work

Fixed - forgot I raised a similar issue before and a fix was mentioned here:
https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/519#issuecomment-451555765
This has now been resolved by setting the storeAuthStateInCookie flag in the set up of the user agent application:
new UserAgentApplication(       /* clientId, */       /* authority, */       /* callback, */       {           storeAuthStateInCookie: true          ...      } )


Data Not Found

@harshit1142 I can fix this issue can you pls assign this to me also pls add hacktoberfest and gssoc labels

@charliehustlr1792 Sure

Acknowledged

Please checkout this https://github.com/harshit1142/NewsX/pull/9

Please checkout this #9

@harshit1142


[DPG] Support of Record in models

Record<unknown> means any JSON object, but not JSON token. You can pass anything like {...}, but not an array of string or null.
It may or may not makes sense to separate this scenario from unknown which is more wide
Tests should include a JSON object, input output

Already exists one here: https://github.com/Azure/cadl-ranch/blob/34be94ff4a86e485862786382ba0c56e1db63da2/packages/cadl-ranch-specs/http/type/dictionary/main.tsp#L84

Test is covered by Record from dictionary test and Record property from model property test.


Istio HA - HPAs

This PR adds management of Istio HPAs to make Istio deployment Highly Available. All the components are set to min 2 instances (while still allowing them to autoscale up to 5 - GKE's default), except for istio-ingressgateway which is set to 3 instances as this is component in the critical path accessed externally via the load-balancer and more instances give the gcp load-balancer health checks a bit more time to settle in situations like node auto-upgrade.
Unfortunately, as Istio components are created and managed by Google (via Kubernetes add-on manager), they have to be imported to Terraform state first, before being modified via Terraform.

This seems pretty weird, so I'd like to see some high-level comments explaining: what it does
why it is needed. Basically, what you wrote in the PR but a little closer to the code so that readers can make sense of what they're looking at. I would keep the documentation about magic numbers (80%, 5 max) close to the config so there's a chance that someone would remember to update the comment while updating the value.

Yep, makes sense.

I don't want to add too much scope/time to this task since we are still in FERPA mode, but perhaps this is an opportunity to illustrate how to call a standalone shell script rather than using inline shell (the "API" looks simple -- @env, the live directory structure, and kubectl config)? Or to implement this with (unit-tested) ruby?

While I still have some objections, I see that making the shell code external so that it's lintable, without crazy escaping and with well-defined interface brings value, so 👍
Thanks everyone for the reviews, I'm refactoring the code as per replies to individual comments:

create a dedicated task, which is triggered based on xk's parameter
move actual shell code to an external script
include comments explaining this and "magic" values in the code
maybe simplify and/or explain the error handling logic/scenarios
(note to myself - common, no state, pull fail)

I believe I've addressed all the concerns raised, please have a look. Changes made are mainly:

Created a dedicated task, which is triggered based on xk task' parameter
Move actual shell code to an external script
Included comments explaining why is the module/task required and "magic" values
Simplified the script logic and va minor improvements (incl. making script pass shellcheck)
Added the import task to gcp-plan* CI steps - (pls. let me know if you have idea for a nicer way)

I've tested the following scenarios

running rake and rake deploy_module[k8s/istio] repeatedly in dev env
running deploy_module[k8s/istio] after destroy_module[k8s/istio] and also after destroy_state[k8s/istio]
running rake from scratch
running rake 'deploy_module... under /common


persistStrategies with top level keys

I'm new to the library so many I'm missing something. Given the following top level state:
{
  userID: string,
  photos: {
    id: string,
    url: string
  }
}

is there a way to persist photos using MultiFile while having userID in a single file? or do I need to add userID to a top level object?

Hi yes you can. Although I think userID might need to be an object. But please test and let me know if it works as string:
Here is how you would do:
const appStateProxy = proxyWithPersist({
  // must be unique, files/paths will be created with this prefix
  name: 'appState',

  initialState: {
    counter: 0,
  },
  persistStrategies: {
    userID: PersistStrategy.SingleFile,
    photos: PersistStrategy.MultiFile,
  },
  version: 0,
  migrations: {},

  // see "Storage Engine" section below
  getStorage: () => storage,
});

yeah, I just ended up putting userID in an object. If I don't it just silently fails :D

Ah thanks for sharing that. I'll document that. I also want to plan to update this lib to support more situations.


Update pipeline-rest-api.md with mounting API updates

Add updates to Mounting APIs (completed + add example of how to use mounted data factory)
Thank you for contributing to Microsoft Fabric documentation
Fill out these items before submitting your pull request:
If you are working internally at Microsoft:
Provide a link to an Azure DevOps Boards work item that tracks this feature/update.

Who is your primary Skilling team contact? @mention them individually tag them and let them review the PR before signing off.

For internal Microsoft contributors, check off these quality control items as you go

[ ] 1. Check the Acrolinx report: Make sure your Acrolinx Total score is above 80 minimum (higher is better) and with no spelling issues. Acrolinx ensures we are providing consistent terminology and using an appropriate voice and tone, and helps with localization.

[ ] 2. Successful build with no warnings or suggestions: Review the build status to make sure all files are green (Succeeded).

[ ] 3. Preview the pages:: Click each Preview URL link to view the rendered HTML pages on the review.learn.microsoft.com site to check the formatting and alignment of the page. Scan the page for overall formatting, and look at the parts you edited in detail.

[ ] 4. Check the Table of Contents: If you are adding a new markdown file, make sure it is linked from the table of contents.

[ ] 5. #sign-off to request PR review and merge: Once the pull request is finalized and ready to be merged, indicate so by typing #sign-off in a new comment in the Pull Request. If you need to cancel that sign-off, type #hold-off instead. Signing off means the document can be published at any time. Note, this is a formatting and standards review, not a technical review.

Merge and publish

After you #sign-off, there is a separate PR Review team that will review the PR and describe any necessary feedback before merging.
The review team will use the comments section in the PR to provide feedback if changes are needed. Address any blocking issues and sign off again to request another review.
Once all feedback is resolved, you can #sign-off again. The PR Review team reviews and merges the pull request into the specified branch (usually the main branch or a release- branch).
From the main branch, the change is merged into the live branch several times a day to publish it to the public learn.microsoft.com site.

@microsoft-github-policy-service agree company="Microsoft"

@kromerm
Can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

#sign-off

Merged in https://github.com/MicrosoftDocs/fabric-docs-pr/pull/6297. #please-close


Updated README: added info about APNS_AUTH_KEY_PATH, APNS_AUTH_KEY_ID, APNS_TEAM_ID

Updated README: added info about APNS_AUTH_KEY_PATH, APNS_AUTH_KEY_ID, APNS_TEAM_ID settings for using Apple's p8 push certificates.
This addresses issues #455  and #527

@auvipy could you please review this change?

@hamstap85 🙏
I also suggest adding a new release on PyPi as https://github.com/jazzband/django-push-notifications/pull/568 fixed a crash in 2.0.0 on test pushes admin action


Edit and Save MP Monitoring Qualifications Data (14.0)

AC
Given a facility is selected
When a MP exists for the facility
Then MP can be edited
Given at least one change is made to MP Qualifications Data
When the user saves the plan
Then updates are stored

dupe


Add json convenience methods to websocket message objects

Resolves https://github.com/KeepSafe/aiohttp/issues/862
This change adds a json method to the aiohttp.websocket.Message object and a receive_json coroutine method to the aiohttp.web_ws.WebSocketResponse object.

@asvetlov is there auto-documentation for the websocket.Message class?

Coverage decreased (-0.01%) to 98.2% when pulling d55740d33935924a89ebc30b276e11b8484484b7 on sseg:ws_json into c059e0b000c12f67938cfcb24014f40ffd45f60f on KeepSafe:master.

Yes, it is: http://aiohttp.readthedocs.io/en/stable/api.html#aiohttp.websocket.Message
Message.json() should be documented with versionadded also.

Sure, are you targeting version 0.23 for this?

Coverage decreased (-0.1%) to 98.097% when pulling a56290a0e3fc515a92419596be9dabff014e48ef on sseg:ws_json into c059e0b000c12f67938cfcb24014f40ffd45f60f on KeepSafe:master.

aiohttp 0.22 was not released yet :)

:+1: bumping back to 0.22

Thanks!


Basic example to run Cairo 1 programs

This PR shows the minimal steps required for running a Cairo 1 program, as it can be found in the StarkWare's cairo repo.
It is done with a simple fibonacci Cairo 1 program. The sierra code can be read directly from the fibonacci.sierra file or compiled inside the example.
To test it, just run cargo run inside the cairo1-run repo.

The feature of running cairo 1 Programs with proof mode, will be implement directly in the prover repo
https://github.com/lambdaclass/lambdaworks_stark_platinum


Websockets and building process

FuseBox version: 3.2.0

Is it possible to separate websockets from "production" bundling step (e.g. require websockets only when development server is used)?
For what particular reason ws package has been swapped with uws in faf7bad1038549c5540b2130d2ae2aec6e031a3f? Why do you need a C++ based implementation of WebSockets for development?

@pavel

Can't really separate it
I will revert that in the next patch version (It gives me a headache too)

Hopefully tomorrow.

@nchanged Thanks.

To be honest this ticket was created purely because of uws change.

no worries, I will reference this issue with autoclose

https://github.com/fuse-box/fuse-box/releases/tag/v3.2.1


Now, how do I use SQLite executing a SQL statement?(0.11.2)

The sample can't perform in the document
i use:
try db.prepare(query: QueryType)
I need  a example available,thanks

You can find the example to run an SQL statement under the "Usage" part of the README.
let stmt = try db.prepare("INSERT INTO users (email) VALUES (?)")
for email in<EMAIL_ADDRESS><EMAIL_ADDRESS>{
    try stmt.run(email)
}

So after preparing the statement with try db.prepare(SQLStatement) you need to run the statement with try statement.run()

Thank you for your answer，I understand and solved the problem

Glad that I could help. I'm not a contributor or so, just another user which had the same issue and solved it.


feat: Add support for setting FluentDialog width as the max of two values

🙋 Feature Request
The goal of this feature is to allow a FluentDialog to be set to the maximum of two values.  There are situations where we want the dialog to fill a majority of the width of the current browser window (ex: 95%), but not have the dialog be wider than some maximum value to improve readability of the contained dialog information (ex: no wider than 1300px).
🤔 Expected Behavior
For example, it should be possible to set the width of the dialog to be 95% or 1300px, whichever is less.
There are several possible ways this could be accomplished.   Currently, if you set the width to 95% and then manually apply a style to the resulting div fluent-dialog[b-dsxskpj5rr]::part(control)  such as "max-width: 1300px", this is nearly an adequate workaround.  However, this is not easy since the element you need to style contains the unique Id which is not known prior to rendering.
😯 Current Behavior
Currently, the dialog only supports setting a single Width property using the DialogParameters.Width property.
💁 Possible Solution
One possible solution would be to add a property to the DialogParameters object called MaxWidth and have the dialog handle outputting this directly to the correct location.
Another option would be to add an additional class to the fluent-dialog div element when output so that it would be possible to write a rule using the Id (that can currently be assigned in DialogParameters).  The rule would look something like: #myFluentDialog > .dialog-wrapper { max-width: 1300px; }

@vnbaaij this is more likely refereing to bootstrap like modal size classes.
https://getbootstrap.com/docs/5.3/components/modal/#optional-sizes
I have this one on my list of good to have as well. Right now I'm achieving this by creating a custom modal component from scratch like this:

<FluentDialog Class="@Class" @ref="_dialog" @bind-Hidden="@Hidden" aria-label="Simple dialog" Modal="true" TrapFocus="true" PreventScroll="true" @ondialogdismiss="OnDismiss">
    <FluentDialogHeader ShowDismiss="ShowDismiss" Visible="ShowHeader">
        <FluentStack VerticalAlignment="VerticalAlignment.Center">
            <FluentIcon Value="@Icon" />
            <FluentLabel Typo="Typography.PaneHeader">
                @Title
            </FluentLabel>
        </FluentStack>
    </FluentDialogHeader>

    <FluentDialogBody Style="overflow-y: auto;">
        @if (!Hidden)
        {
            @ChildContent
        }
    </FluentDialogBody>

    <FluentDialogFooter Visible="ShowFooter" Class="justify-content-end">

        <FluentButton Appearance="Appearance.Accent" Autofocus="true" @onclick="Hide">Schließen</FluentButton>

    </FluentDialogFooter>

</FluentDialog>

@code {
    private FluentDialog _dialog = default!;

    private bool Hidden { get; set; } = true;

    [Parameter]
    public bool ShowFooter { get; set; } = true;
    [Parameter]
    public bool ShowHeader { get; set; } = true;
    [Parameter]
    public bool ShowDismiss { get; set; } = true;

    [Parameter]
    public string Class { get; set; } = "modal-xl";

    [Parameter]
    public string Title { get; set; } = string.Empty;
    [Parameter]
    public Icon Icon { get; set; } = new Icons.Regular.Size24.WindowApps();
    [Parameter]
    public RenderFragment ChildContent { get; set; } = default!;

    public void Show()
    {
        _dialog.Show();
    }

    public void Hide()
    {
        _dialog.Hide();
    }

    private void OnDismiss(DialogEventArgs args)
    {
        if (args is not null && args.Reason is not null && args.Reason == "dismiss")
        {
            _dialog.Hide();
        }
    }
}

And in my CSS:
/* Modals */
@media (min-width: 576px) {
    .modal {
        --dialog-width: 500px !important;
    }

    .modal-sm {
        --dialog-width: 300px !important;
    }
}

@media (min-width: 992px) {
    .modal-lg,
    .modal-xl {
        --dialog-width: 800px !important;
    }
}

@media (min-width: 1200px) {
    .modal-xl {
        --dialog-width: 1140px !important;
    }
}

.modal-fullscreen {
    --dialog-width: 100% !important;
    --dialog-height: calc(100dvh - 2px) !important;
    --layer-corner-radius: 0 !important;
}

Ok, I'll look at this after the vacation period

I don't see why this cannot be solved with standard CSS rules. Closing this for now. @MarvinKlein1508 showed how to have a working approach for this,

@vnbaaij I would suggest to re-open this. My solution requires the user to Embed a new Modal isnatnce everytime. It would be really great if this library could support this feature out of the box. With variables which can be overritten if neccessary.

I don't understand why you would need a new instance. The Dialog allows for a class to be specified. You showed how to define some classes with specific sizes. What more is needed?

@vnbaaij providing a class via the dialogService.


Create data saves parquet

Use parquet format for saving features and tokenized features.
Update test and test data.


multi service-manager with different BTP subaccount in one cluster

For the service catalog, we can install service-broker-proxy to achieve different namespaces mapping to different BTP subaccounts, which means, In one k8s cluster, we can provision BTP service instance for each BTP subaccount in different namespace.
To migrate btp-service-operator from the service catalog, how can I achieve this?
It seems that the clientid & clientSecret is provided during the installation of the btp operator.

hi please refer this issue:
https://github.com/SAP/sap-btp-service-operator/issues/67


Parse NFAs from Mata format easily

This PR adds an easy way to parse an NFA from Mata format using a single function instead of about 30 lines of complicated internal parser code.
This function is useful for the interface when one “just wants to parse an NFA, not a multisectional Mata format file with different automata types for each section.”

Do we want to be able to parse the automata constructed using print_to_mata? If so, I am not sure these functions are enough, see the test case for print_to_mata to see how to parse it

Yes, isn't there a problem if we use nonconsecutive numbers for symbols?

Do we want to be able to parse the automata constructed using print_to_mata? If so, I am not sure these functions are enough, see the test case for print_to_mata to see how to parse it

Do you mean only adding the IntAlphabet to parse the symbol values directly? Otherwise, parse_from_mata() does exactly the same as the example you suggested.

Yes, isn't there a problem if we use nonconsecutive numbers for symbols?

I added a test with NFA used in parse_to_mata() test case and extended it to use nonconsecutive numbers. Does it cover your issue?


use shipment router in shipment creator

Jira ticket for this change
Summary
The PR changes updates the shipment creator orchestrator to use the shipmentRouter instead of directly setting shipment statuses. Since the ticket was written, we've moved the status changes to an orchestrator, so the changes were made in the orchestrator rather than the handlers.
Setup to Run Your Code

💻 You will need to use three separate terminals to test this locally.
Terminal 1
Start the Storybook locally.
make storybook

Terminal 2
Start the UI locally.
make client_run

Terminal 3
Start the Go server locally.
make server_run

Additional steps

Access the
Login as a

Verification Steps for Author
These are to be checked by the author.

[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

Frontend

[ ] User facing changes have been reviewed by design.
[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] There are no new console errors in the browser devtools
[ ] There are no new console errors in the test output
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.

Backend

[ ] Code follows the guidelines for Logging
[ ] The requirements listed in Querying the Database Safely have been satisfied.

Database
Any new migrations/schema changes:

[ ] Follows our guidelines for Zero-Downtime Deploys
[ ] Have been communicated to #g-database
[ ] Secure migrations have been tested following the instructions in our docs

Screenshots

Warnings

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against 8ccf04393e5318af9560e07fd70dc1b9cab9b7fb


Error

Hi all
When I start emulater I catch up exception.
lang.UnsatisfiedLinkError: Can't obtain InputStream for com/sun/jna/win32-x86-64/jnidispatch.dll
	at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:962)
	at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:922)
	at com.sun.jna.Native.<clinit>(Native.java:190)
	at com.sun.jna.NativeLibrary.<clinit>(NativeLibrary.java:96)
	at oxcafedead.barcodereader.keybind.windows.User32.<clinit>(User32.java:23)
	at oxcafedead.barcodereader.keybind.windows.HotkeyBindManagerWindowsAdaptor.bindKey(HotkeyBindManagerWindowsAdaptor.java:35)
	at oxcafedead.barcodereader.ui.HotkeyListeningThread.run(HotkeyListeningThread.java:53)

Hi @igorpooh1978,
what version of emulator do you use? Is it a zip archive - downloaded from releases and unpacked? What operating system and how do you run the application?
It seems that classpath is broken. Do you have jnidispatch.dll in your distribution? It should be packed into lib/jna-4.5.0.jar (inner path is com/sun/jna/win32-x86-64 if you unpack this jar file).
The more info you provide the more probability I'll be able to come up with the root cause and the fix.

Hi @oxcafedead
It's latest version from here https://github.com/oxcafedead/barcode-reader-emulator/releases/tag/0.4.0
OS Win 10 x64 19042
Yes. I have this file

BTW. When I starting emulator directly from zip archive application working well.
PS. I extracted this file into root folder from jar file and application started well

@igorpooh1978
Could you please describe in details, how did you run the application when it didn't work? Like, was it from the command line, what was the working directory, where did you extract the initial zip archive and so on.

Not relevant for a new 2.0.0-alpha go version.
https://github.com/oxcafedead/barcode-reader-emulator/releases


Missing first letter in file name

Hi Patrick!
I've noticed the first letter of files is missing after transfer.
Server: goshs -d  /absolute/path/to/folder/
Client: "Select All" --> "Download Selected" --> extract downloaded .ZIP file --> Files are missing the first letter (e.g. "foobar" --> "oobar")

Hi,
Can you please specify the goshs version you used and also the OS running goshs and the OS downloading files?
I had Problems with this versions ago and thought I did fix it.
Cheers,
Patrick

Both systems were Arch. I'm pretty sure I've downloaded the latest version form the release page (0.2.0).

Hmmm, I might be mistaken. Sorry, let me double check!

Ok, I did make a mistake and still was on 0.1.8. But now I downloaded 0.2.0 and the issue is still there.

I think it is because I did
goshs -d /absolute/path/to/folder/

instead of
goshs -d /absolute/path/to/folder

(/ at the end)

Okay thanks for clarifying. Are there only files or do folder also miss the first Letter? And also do the files in those folder miss them too? Relevant might also be if you browse down a few folder before select All download or directly in the root itself.
I will look into the issue.

I think it is because I did
goshs -d /absolute/path/to/folder/

instead of
goshs -d /absolute/path/to/folder

(/ at the end)

That is interesting as well. I will try both Variants. This might be a quick fix then.

Hi,
i pushed a fixed version. If you need it right now just pull and install manually. Otherwise I will release v0.2.1 next time I implement a new feature or do bigger changes.
Thanks again for taking the time to report this issue and make goshs a little better this way. And also thanks for using it obviously :smile:

Is solved with merge request #36


[HB-5717] Use a hard reference when setting InMobi listeners.

Issue:
During a session, inMobi tends to lose its callback. This generally happens during a first load attempt or when we navigate between our canary.
com.chartboost.heliumcanary   D  Fetching an Interstitial ad for placement id:<PHONE_NUMBER>987 com.chartboost.heliumcanary   D  Publisher device Id is 97c2428f-419b-4680-a10b-3408d722de8f
com.chartboost.heliumcanary   D  Interstitial ad successfully fetched for placement id:<PHONE_NUMBER>987
com.chartboost.heliumcanary   D  Successfully loaded Interstitial ad markup in the WebView for placement id:<PHONE_NUMBER>987
com.chartboost.heliumcanary   D  Listener was garbage collected. Unable to give callback

Note: I attempted a few solutions, but I keep getting the same message. Putting this as the proper a solution is discussed.

Did this do it? Also might be a good idea to keep a map of [InMobi ad : their listener] too so we can retrieve the right listener for the right ad.

Did this do it? Also might be a good idea to keep a map of [InMobi ad : their listener] too so we can retrieve the right listener for the right ad.

I kept seeing it even with your initial suggestion, Vu. I did also try using a map and found similar results. Hence, am keeping this as a draft to see if we can think of other possibilities. Specially, before we decide on filing an actual bug for inMobi.🤔

try loading two inmobi interstitials at the same time. I guarantee you'll lose a listener and one load won't finish ;)

Let me push a commit in which maps are used. ^w^

So is this solution working?

Definitely better, but in brief cases, am still able to see similar behavior. If someone can confirm my sanity 😵💫, it'd be appreciated. 😄

My suggestion: let's not complicate this yet with the fancy map logic while the problem can still be seen with single ads. First, sort this out with a single ad at a time. Find the correct solution. Once something works, then prep it for a map.


how to  set  in a custome directive  like in div tag

I used a directive to replace native select ,and placeholder can't show , how to show it?

hey @weixiangzhe, select elements don't support the placeholder attribute. There's ways to get a similar effect though. I did a quick Google search and found this StackOverflow thread. Maybe those techniques will work for you.

IT NICE WORK !! Thx
now  , I think I should learn more English ...


Backport bumping rancher machine version

PR in master: https://github.com/rancher/rancher/pull/26742

https://github.com/rancher/rancher/issues/23010


Request: Gnome Glider name swaps

Not sure if the names on the map can be changed but the right click entry on the gnomes would be really nice too. I have no idea what Sindarpos is but I know what White Wolf Mountain is.

This will be very hard to implement since (iirc) the map text is entirely just images, not actually rendered text on screen. So I would need to prevent the rendering of that text, dynamically generate new images for the labels based on the config, and then render them in the correct place as well.
Probably something I will never get around to just due to its difficulty, but I'll leave this open in case myself or someone else wants to try it.


mec15xxevb_assy6853: boards.mec15xxevb_assy6853.i2c.i2c_pca95xx test failed.

Describe the bug
test/boards/mec15xxevb_assy6853/i2c_api test fails on mec15xxevb_assy6853.
To Reproduce
Steps to reproduce the behavior:

twister --hardware-map $HOME/mec1.file --device-testing -T tests/boards/mec15xxevb_assy6853/i2c_api/ -vv
See the assertion failure in logs.

Logs and console output
*** Booting Zephyr OS build v3.0.0-rc1-233-gf5f61ac605e1  ***
Running test suite i2c_test
===================================================================
START - test_i2c_pca95xx
E: Write error: -5
Assertion failed at WEST_TOPDIR/zephyr/tests/boards/mec15xxevb_assy6853/i2c_api/src/main.c:48: test_i2c_pca95xx: (ret == 0 is false)
Failed to write data to i2c device
FAIL - test_i2c_pca95xx in 0.18 seconds
===================================================================
Test suite i2c_test failed.
===================================================================
PROJECT EXECUTION FAILED

Environment (please complete the following information):

OS: Fedora
Toolchain (e.g Zephyr SDK, ...): SDK 13.2
Commit SHA: f5f61ac605e1

@enjiamai  Please work on this and collaborate with @jvasanth1

Hi @rljordan , ok, got it.

@enjiamai : Test is not failing on mec15xxevb_assy6853. Closing this issue as it is not reproducible.

Agree, I cannot reproduce it in specified commit and latest one. Let's watch if it comes out again.


Allow specifying the LLM service

There are several LLMs now available that would be adequate substitutes for ChatGPT's, using the openai API.   To avoid forcing you choose which alternatives to offer, if you just allow the user to enter the URL of the service, which might be a localhost, we could experiment with different LLMs on our own.
The other feature I would like would be the ability to iterate over all the files in a folder, which might be nested in subfolders.  It would probably be wise to have an option for how long to delay between processing each file, though there is less need for this if I am using my own local LLM.

I have started working on this.
Ollama support is in the works 👼  (I found it very easy to run on a mac, and works wonders with Mistral:7b)
Once that's added, I'll have to see if generalized provider support is possible (so that you select from a list, and I don't have to add support for each one manually).

@CtrlAltFocus Any news?


Add unlink command

Referses the effects of bosco link by unlinking all modules (or a subset using the -r syntax).
Takes ages when you run it - be ready for a coffee break.

Will this ever likely get fixed or best to park?

Looks like travis had a temporary problem when running this on node 0.11, this functionality should be fine to integrate but will only work properly in later versions of npm.

Great - thanks.


Redeploying ARM template with docker extension does not update image

I tried redeploying an ARM template specifying a different "image" in the docker extension. The deployment finishes with a success status. The old image is is still running after the deployment. My expectation was that the new image would be used.

Some more info:

when I retrieve the resource description after the deployment, it shows the new image name (not the old image, which is still running)
when I manually restart the vmss, I get the new image

@tmds I'm assuming you're referring to a different docker-compose configuration not being effective.
Please don't use the docker-extension to run a dynamic set of containers. Its compose functionality is meant for running a static set of containers, mostly for:

monitoring containers
security containers
agent to bootstrap clusters (see swarm template in azure-quickstart-templates)

We do not support dynamically changing the compose file for several reasons. Most important one is, it is hard to define the semantics around the compose.yml file when you do a docker-compose up. Let's say you had template v1 started containers {A,B,C} and now you updated your template to run containers {A,B,D}. Does this mean you want {A,B,C,D} running simultaneously, or {A,B,D} and {C} is deleted?
Second most important one is, people are trying to use Extension as a dynamic container orchestrator more and more, they are redeploying ARM templates for VMs to update the containers etc. It is simply not meant for that and extension channel is a low latency channel. (1-2 minutes) If you really need to update your set of dynamic containers, I suggest using a proper container orchestrator, or enabling remote API access on your docker engine and using docker CLI to accomplish that task.
Does this help?

I understand the difference in use-cases.
Still I think it makes sense to run 'docker-compose up' on a redeploy. Docker-compose itself is also limited to static use-cases. The most important case being: updating the version of an image.
The current behavior is ambiguous:
The extension reports success on a redeploy with a changed configuration, but it doesn't apply it.
The new configuration is actually written and it is applied upon reboot.

@tmds Fair point, I think it would be better to document this clearer than defining a new behavior around it.

I think it would be better to run 'docker-compose up' on redeploy which will enrich the static use-cases and get rid of the ambiguous behavior.

I tend to prefer actually not writing to the /etc/docker/docker-compose.yml if it exists (so that on the next reboot, it will not be effective). It is easier to control more strict definition and extend the contract in the future. In any case I should probably think about this a bit. Essentially, making this use case available may just end up creating a monster and more people may actually start using this as a means of container orchestration. If there is anything blocking you in the meanwhile, please let me know.

I don't see this monster, nor do I understand what drawbacks there could be from running 'docker-compose up'.
I am only one user. For my use case: one container, one image which needs to be updated from one version to another, I will have to do a setup with an orchestrator where docker-compose level setup would have sufficed.

@ahmetalpbalkan give it some thought. I understand your point from an architecture perspective. Likewise, when I look from the architecture perspective, for some setups, the 'docker-compose up' is good enough.
Most documentation and examples out there (including the azure templates and the readme of this repo) show 'functional' containers. What you wrote earlier about the intended use-cases of the compose section came came as a surprise to me.

@tmds I just came back to this issue. From my experimentation, it looks like the feature you asked is already there. I just used azure CLI command:
azure vm extension set <resource-group> <vm> DockerExtension Microsoft.Azure.Extensions '1.*' --public-config '{"compose":{"sleep1":{"image":"busybox", "command":["sleep","999"], "restart":"always"}}}'

and added new service such as:
'{"compose":{"sleep2":{"image":"busybox", "command":["sleep","999"], "restart":"always"}}}'

and updated sleep1 commandline args:
'{"compose":{"sleep1":{"image":"busybox", "command":["sleep","888"], "restart":"always"}}}'

and it all worked.
Are you trying with ARM templates and seeing that /etc/docker/compose/docker-compose.yml is not getting updated?

@ahmetalpbalkan I am sure the feature did not work when I reported it, some things must have changed. Are you using Ubuntu?
Will this be a feature? E.g. will it be documented and tested it doesn't break with new versions of the various components (OS, docker, docker compose, etc.)? Thanks.

@tmds As far as I can tell, we have not changed anything regarding this. As I said before, I am most probably going to say no to advertising this feature as the use case for having dynamic set of containers updated through Docker Extension is not a use case we want to have. That is something container orchestrators are already addressing.
Docker Extension is just a simple tool to bootstrap base containers such as orchestrator agents, monitoring and security software. Regarding the breaking behavior, we are constantly getting broken by Docker releases very consistently for the past few releases and we acted fast to get fixes out there quickly.
Regarding this issue, I suggest you to try reproducing the issue. Perhaps there is something with the Azure Resource Manager templates that are not working correctly or some combination of that and the Docker Extension, we definitely would like to address those.

@ahmetalpbalkan due to this issue I've moved to Rancher to orchestrate the image upgrade. This has issues of it's own since as Rancher is also picky about the docker version. I've stopped investigating because my current setup is good enough.


BG Translation

Bulgarian translate of integration
L40-41 is confusing

I would have to check what the currently the correct way is to link to default home assistant translations.
In the early days of creating the config flow this way used to work


Debugger links to lines are broken

VSCode Version: 1.45.0
OS Version: Windows_NT x64 10.0.18363

When I'm getting an error in code interpretator tells in which file, line and on which symbol it is. And it gives me a link like "file:///file:line:symbol", but when I'm trying to follow it I'm getting an error "Unable to open 'file.js:19:23' ":

In Insider build 1.46.0 comes the same, but if I run node D:\mihan\Documents\Code\Projects\cultist-simulator-description-tooltip-mod\recipes.js in CMD Terminal links there works fine.

Stable build doesn't have links in terminal output.
I think that new terminal links functional was implemented separately of the old buggy one. My request is to fix other links which occurs in debugger and output (using Code Runner) windows.
Steps to Reproduce:

Run Node.js code with an error in debugger or using Code Runner Extension.
Ctrl+RigtClick on link to file:line[:symbol]

Does this issue occur when all extensions are disabled?: Yes

Dup of https://github.com/microsoft/vscode/issues/34026


Proposal for API to move sync functionality into object store

I want to start a conversation, per @alazier's request, about eventually moving most of the sync functionality into the object store. This commit isn't meant to be merged, but rather to propose API changes through header file changes.
@jpsim @bdash @tgoyne @cmelchior
This is what I envision.
SyncUser
SyncUser is a new object store type. It owns zero or more SyncSessions and takes over managing sessions from the SyncManager. (The functionality itself remains almost identical, but instead of a session informing the sync manager when it's about to die it informs its parent user, and so forth.)
SyncConfig changes:
Rather than carrying a string "tag" to a user, the config now carries a shared pointer to the user object itself.
SyncManager changes:
The SyncManager no longer directly manages sessions. Instead, it now keeps track of SyncUsers and creates or vends them out to the binding as desired. (I would like to maintain the invariant of one SyncUser object per user, much like how the Cocoa binding treats RLMUser today.)
The SyncManager's login callback has been changed into a "bind session" callback. This callback now passes the following arguments back to the binding:

The current user (refresh) token for the user the session belongs to
The unresolved (containing /~/) URL of the session
A boolean indicating whether the session wants to be bind()ed or refreshed
A shared_ptr<SyncSession>

The first three arguments are sufficient for the binding to construct a network request to the auth server. The fourth argument gives the binding an object to call the appropriate bind() or refresh() API on once the network response returns and the JSON has been parsed.
NOTE: Once the new token system is implemented the callback can be removed altogether.
Minimum binding requirement
A hypothetical binding which wanted to support the minimal sync feature set given this new object store design would do the following:

Create a SyncConfiguration type which wraps realm::SyncConfig, and allow the user to set it as a property on a RealmConfiguration, updating the underlying realm::Realm::Config.
Create a User type which wraps a realm::SyncUser. This user object needs to be able to make the login call to the auth server using a credential, and might have other APIs like logOut().
Set the global "bind session" callback.

The object store would transparently take care of everything else, from closing sessions upon completion to persisting and loading user info in the metadata database.

I updated this proposal based on the reviews above and Slack discussion with @bdash. (I'll have to amend it again once Mark's test changes are in, since they add the login callback to the SyncConfig and my proposal might change that callback's signature slightly.)
The proposal is overall much smaller now.

It might be out of scope, but how well does the session states here match the states in https://github.com/realm/realm-java/blob/master/realm/realm-library/src/objectServer/java/io/realm/SessionState.java

@kneth The last time I checked:
Object store WAITING_FOR_ACCESS_TOKEN is equivalent to your AUTHENTICATING.
Object store ACTIVE is equivalent to your BOUND.
Object store DYING has no real equivalent. It's basically "ACTIVE, but unless instructed otherwise close the session once all pending uploads and download waiting calls have finished".
Object store INACTIVE is your INITIAL and UNBOUND. We don't have a separate entry state.
Object store ERROR is your STOPPED, in that it represents an invalid session that cannot be 'revived' or used ever again.
We don't have a separate state for binding. Calling bind() happens only in WAITING_FOR_ACCESS_TOKEN, and upon returning from that API we move to ACTIVE.

Implemented in #193, so closing. Discussion should take place on that PR.


CreatureTemplate dataModel does not propagate migrateData to super

https://github.com/foundryvtt/dnd5e/blob/4de2d2aabb078f0d18a26ea2d94a754ba8d99510/module/data/actor/templates/creature.mjs#L95
This prevents stuff like ac and movement migration from happening

Same thing for CommonTemplate, though that one doesn't change anything yet because CurrencyTemplate does not have migration


Fix fieldsaver

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.

Project coverage is 38.95%. Comparing base (133af7a) to head (c9c9a05).

Files
Patch %
Lines

src/processors.jl
66.66%
2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #74      +/-   ##
==========================================
+ Coverage   29.27%   38.95%   +9.68%
==========================================
  Files          35       35
  Lines        3385     3383       -2
==========================================
+ Hits          991     1318     +327
+ Misses       2394     2065     -329

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


fix: Handle multiple connections correctly on dashboard

react-query's built-in memoization was causing connections to the same domain to clobber each other. You would have a race condition on which set of data gets shown and it would show up twice.
The goal here is to allow multiple connections to be used and have the sum of all of their PR requests be shown in the dashboard. Since we are already storing the key plain in localStorage I don't immediately see an issue with utilizing the token as part of the react query key.
Though technically it does expose the access token to more libraries. If that's a concern we could hash the token.

I had not considered this use case. Out of curiosity, how do you use multiple connections to the same host? How would they be configured differently?

I provide an example in #12 but with github finer-grained tokens you grant access to a specific user/org, giving access to a user does not mean it will show all the repositories they have access to in all their orgs. So I had to create two different tokens one for the org and one for myself.
Basically the only difference is the token used for the connection.

That makes sense!


[Feature]: 翻译 upgrading/v5.md

What is the new or updated feature that you are suggesting?
增加中文版
Why should this feature be included?
增加中文版

我翻译upgrading/v5.md，时间2021.12.28-2022.01.7


Feature Extraction from Last Global Average Pooling Layer

I am trying to extract features from the last global average pooling layer. but the final tensor after
net = tf.nn.avg_pool3d(net, ksize=[1, 2, 7, 7, 1],
                             strides=[1, 1, 1, 1, 1], padding=snt.VALID)

is of size (1, 6, 1, 1, 1024) Is there a meaning in that ? am I doing something wrong ? I was hoping for only 1 feature vector of size 1x1024 not 6 of them

It's normal. The longer the video the bigger that dimension will be, it is
extracting features with a certain stride. Also if you pass a video of a
higher spatial resolution, you'll get the third and fourth dimensions
bigger than 1. If you just want to classify the whole video one possibility
is to do a global pooling step after the classification layer.
Joao
On Thu, Nov 1, 2018 at 2:34 PM estathop<EMAIL_ADDRESS>wrote:

I am trying to extract features from the last global average pooling
layer. but the final tensor after
net = tf.nn.avg_pool3d(net, ksize=[1, 2, 7, 7, 1],
strides=[1, 1, 1, 1, 1], padding=snt.VALID)
is of size (1, 6, 1, 1, 1024) Is there a meaning in that ? am I doing
something wrong ? I was hoping for only 1 feature vector of size 1x1024
not 6 of them
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/deepmind/kinetics-i3d/issues/40, or mute the thread
https://github.com/notifications/unsubscribe-auth/AO6qapBASXn6sx_sH8h-4pvN3pTlLBBfks5uqwZ0gaJpZM4YGecH
.

@joaoluiscarreira but my input is a numpy array of size (1,53,224,244,2). The number of frames is 53, thus the video is small. And the resolution is fixed as in (224,224). The paper I am trying to implement said:

The motion features are computed using a Kinetics pre-trained I3D flow network [12].
We extract the 1024-dimensional features from the last global average pooling layer
I was wondering if I remove the

logits = Unit3D(output_channels=self._num_classes,
                      kernel_shape=[1, 1, 1],
                      activation_fn=None,
                      use_batch_norm=False,
                      use_bias=True,
                      name='Conv3d_0c_1x1')(net, is_training=is_training)

and from ```
net = tf.nn.avg_pool3d(net, ksize=[1, 2, 7, 7, 1],
strides=[1, 1, 1, 1, 1], padding=snt.VALID)
net = tf.nn.dropout(net, dropout_keep_prob)
if I move directly to :

if self._spatial_squeeze:
logits = tf.squeeze(logits, [2, 3], name='SpatialSqueeze')
averaged_logits = tf.reduce_mean(logits, axis=1)
will that be the 1x1024 aforementioned feature vector the author implied ?

I'm not entirely sure about what they do in the paper but if you just want a vector then yes, averaging them in time should do the job. Easiest would be to directly do tf.reduce_mean(net, axis=[1,2,3]) and skip the avg_pool, dropout, etc.

it was more of a tensorflow question but the second dimension of that tensor augmented by how big the video was, it was non-linearly proportionate to time , so you don't actually care, you perform a global max pooling with
 net =  tf.nn.max_pool3d(net, ksize =[1, net.get_shape()[1] , 1 ,1 ,1] , strides = [1, 1, 1, 1, 1], padding = snt.VALID)
and you have the temporally aggregated feature vector you need

Hi @estathop  I am working on a similar problem to extract features using the kinetics pretrained I3d model . I want features for the RGB frames only for now. Can you help me with how did you proceed to use this code for feature extraction ? Thank you very much.

hello @rishabh2301  I am working on a similar problem statement. Did you figure out how to use this code to extract features?

@Anirudh58 and @rishabh2301 , I added the line max_pool3d estathop mentionned here to get the (1, 1, 1, 1, 1024) vector:
...
end_point = 'Logits'
with tf.variable_scope(end_point):
    net = tf.nn.avg_pool3d(net, ksize=[1, 2, 7, 7, 1], strides=[1, 1, 1, 1, 1], padding=snt.VALID)
    # To get the features, I add this line because I have a vector (1, x, 1, 1, 1024). otherwise..
    # cf. https://github.com/deepmind/kinetics-i3d/issues/40
    net = tf.nn.max_pool3d(net, ksize=[1, net.get_shape()[1], 1, 1, 1], strides=[1, 1, 1, 1, 1], padding=snt.VALID)
    ...


I added RestExpress to Java Servers section

Hopefully more folks will add Java Servers to this collection.  :)

Thanks! We are not Java experts at marmelab. But populating this section would indeed be great! :)


Request to move a file from a blob to another blob in Azure Storage Explorer

We should able to cut a file and paste file to another blob.
Instead I see the clone or copy the files that mean it doesn't provide a file to move to a another blob container.
In the older version I can able to cut and paste the files.

@pyephyoeaung I don't think we've ever supported cut? Can you tell us what version you are thinking of?
If you want to do a cut, you can simply copy and then delete.

we noticed cut & paste in the older version.
The reason we want to move the files from one blob to another blob and we just want to move the file. I know Copy & Paste is worked but the reason is we don't want to delete the file.

Like Matthew said, we have never in the past or in the older versions of Storage Explorer supported cut & paste. We only supported copy & paste.
Clone is a replacement for Rename, which we did a copy with a different name, then delete the file from the source.  Because Rename was not  done on the server side (lack of API), there were edge cases where it could fail. While we didn't delete the files that were not copied over, users sometimes were not aware of the failures and had accidentally deleted the source folders or files.  To prevent unintentional data loss, we decided to only clone the files, meaning the files in the source are never deleted by Storage Explorer.
It is unlikely we will support Cut & Paste unless there is server side API we can call. Otherwise if it's done on the client side, it likely will cause data loss in certain edge cases.


Ghost transformation of Select elements into ul li is very messy and causing major problems.

Essentially the id's for the option elements become useless - as the li elements Materialize creates -  only take in the inner most HTML i.e text for the corresponding element it is trying to clone into an

innermost text in my option element

For for example if my select options contain category.. the anchor tag is stripped out! How do you make those options actual links without messing around with javascript?!
Any class and id on my option elements for my select is also stripped out so I have no way of finding out which option was selected in the original in case I want to trigger a link or content stripped out by materialize in my select options. At the very least the id and options should also be copied over to make manipulation with js so much easier.
Example.
   <select   id="catgeories_selection">
     <option id="option_id_1" value="1">category 1</option>
     <option id="option_id_2" value="2">category 2</option>
    ... etc etc etc
  </select>

Should be converted by materialize(if you insist on not just styling the actual select) to:

      category 1
      category 1
     ... etc etc etc

and finally you will still need a value for the input element you are using to display the option selected... and using the inner most html text of each option is fine.. But you really shouldn't remove any html or content for that matter from the options when creating your styled
.

This is really bad practice to be using a select as a dropdown navigation. You shouldn't have anchor tags within options. Why don't you just use our regular dropdowns to achieve this?

What I am actually doing is replacing the Materialize tab headings with a select for mobile users.
And since the 'value' of each original object is ignored when building the Materialize 'ul'. That information is being lost - so my next attempt at working around this was to add in an anchor tag. BUT  - I see now it's not just anchor tags - Materialize strips out any HTML tags inside the option tags if I am not mistaken.
Also I am know using the Materialize js function
'$('ul.tabs').tabs('select_tab', 'tab_id')' - which seems to do that  job.
<option> tags have values for a reason though - usually, standard practice is to add the numeric id of a certain object in the value field and the actual human readable name of said object in the option field i.e
'Human readable part'
This is now impossible because the value is stripped - maybe add it to the
 elements materialize creates as an id?
I was trying to add the anchor tags because the 'value' was not being added to the   tags.
All I really needed was have a class or id ` to reference so I could hide or display the correct tab.
This is a great lib btw - thanks a bunch(forgot to mention this above.)

If you are already using javascript why dont you just check the value of the select and select the tab that way? The html materialize constructs is just for visual effect which is why we stripped it down to the bare necessities.
And thanks for saying, we appreciate that :)
And also the styling for dropdown and select are pretty similar, no?

Hi, I fixed your issue in the version I'm currently working on. The values will not disappear but will write into each  element under the data-value=value form. Hope it should be good for you too.
When u're saying that Materialize strips out any HTML tags inside the option tags, this is a normal behavior because an option element cannot have any child elements, so yes it's not advisable to insert HTML into an option.

I see.. Yeh I wasn't aware of the no child elements in an option tag being poor practice. Thanks for the heads up.
Ah that's awesome - Thank you!


Close the popup when tabbing out

When using the tab button to leave the date picker, the popup which was opened on enter, is not closed.

Update to latest version.
Now it's closing by hitting tab button.


Move user input validation from DNS module to DB

Currently user input validation is in DNS module which allows wrong values such as subdomain, value in DB. This should be moved forward not just to not allow wrong input in the database but also to send the response to the client.

This is no longer necessary as DNS module has been refactored


Diagnostics from ignored/excluded paths are reported

Bug description
Diagnostics are reported for files matching ignore and exclude in pyrightconfig.json.
I'm trying to prevent diagnostics to appear in vscode Problems output in (base) library code. I can't seem to exclude/ignore the io.py file, as you can see in the screenshot below.
To Reproduce
Exclude the base python installation path in the pyrightconfig.json, like in the screenshot.
Open a file from the base python installation in Windows.
Observe the reported diagnostics.
Expected behavior
No diagnostics to show up for the file.
Screenshot of behavior

Things to note in the screenshot:

The path of the diagnostics reported: C:\Program Files\Python38\lib\io.py
That file (io.py) is open (as you can see in the top).
Ignoring/excluding ".\venv" is honored, because if I remove that I get lots more diagnostics.

VS Code extension
I use pyright through the extension Pylance, but I don't think it's Pylance-specific.

VSCode 1.55.2
Pylance: 2021.5.1
Win10: 19042.928

Extra information
I've tried all sorts of combinations of glob patterns/full path, and path separators.
I've paid attention to case-sensitivity of the paths (even though I'm on windows).
I've restarted vscode plenty.
The diagnostics in the screeenshot were reported in all cases.

I have this exact same issue and it is very frustrating.
Specifically, sometimes I need to open up files from other packages in my environment (poetry) to see what they're doing, troubleshooting etc.
I have no control over their type checking/formatting etc so I'd like to be able to just view them without 100 red problems being shown.

Moving this issue to discussion as an enhancement request for comments and upvotes.


Add s2.bl-1.com to hosts file

I found a StaffBase Article referencing the domain here: https://support.staffbase.com/hc/en-us/articles/4412581438994-Enabling-a-Custom-Domain-for-Employee-Email-Tracking .


Fix wrong pin numbering on JS220 panel symbol and update schematic to match

Thank you for the quick fix, @MATTERealise !

No problem - shouldn't have made a bug like that in the first place!


introduce auto_mp4 request flag

only generate mp4s if auto_mp4 request flag is set and input duration is less than 2mins
Fixes https://github.com/livepeer/catalyst-api/issues/418

Changes LGTM. @victorges and @gioelecerati: mind reviewing when you get a chance? We'll also hold off on the corresponding studio changes before merging.


Adding flood freq plot

This was the code used to analyze the "unusual-ness" of the MD floods that happened in 2018 and 2016. The floods happened in places that did not have long-term USGS discharge sites. 3 high-water mark measurements were taken, and those are put into long-term context with this graph.

Sounds cool! Do you have a screenshot / image you could share here?

This was just for a static graph, not using vizzy infrastructure

That is the output image...

Please add it to the repo (instead of attaching as a comment to the PR)

OHH, got it


Download file as PDF link is broken

[Enter feedback here]
when we click on the Download the PDF link is broken
https://github.com/MicrosoftDocs/windowsserverdocs/raw/master/WindowsServerDocs/manage/windows-admin-center/media/WindowsAdminCenter1910Poster.pdf

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

ID: bd448b3c-456e-bd11-efb5-278296801fc0
Version Independent ID: f82f9906-69aa-fc5b-e479-84b42b6c716f
Content: Windows Admin Center Overview
Content Source: WindowsServerDocs/manage/windows-admin-center/overview.md
Product: windows-server
Technology: windows-admin-center
GitHub Login: @nwashburn-ms
Microsoft Alias: niwashbu

#assign:xelu86

Thanks again for contacting Microsoft. We've submitted a documentation change based on your suggestion. Changes will be live after the next business day. #please-close


[Backport] #80 to unstick releases for adapters

resolves #80 second half in which we need to control what branches our pr's tests against
Description
Pulls in #80 to latest branch to clear up tests against wrong branches.
Checklist

[x] I have signed the CLA
[x] I have run this code in development and it appears to resolve the stated issue
[ ] This PR includes tests, or tests are not required/relevant for this PR
[x] I have updated the CHANGELOG.md and added information about my change to the "dbt-redshift next" section.

Was curious if as this is the newest of the things that will be backported if removing the mentions of previous changes that will be added to back port ex. #52 and #63.

It looks like we are still failing tests with this updated workflow. Not sure what is wrong but let's dig into it and see if we really have a bug in the 1.0.latest branches or if its the CI

thoughts on why the unit test for tests/unit/test_redshift_adapter.py is failing: trying to look into a key difference between how agate.Number and agate.data_type.number.Number work both seem to describe how a integer should work in a table/table creation.

The docs_generate tests are failing due to testing against and looking for unique_key as a list changes made here #70

@McKnight-42 I think you are on the right track here with the dev_requirements change!

Closed in favore of https://github.com/dbt-labs/dbt-redshift/pull/89


Clicking on Liquid Mana in JEI gives empty buckets

Usually, when you click on liquid, it gives you bucket. If Liquid have no bucket form, JEI should do nothing on click (or at least give liquid block if it exist)
https://user-images.githubusercontent.com/936618/232201806-028b2a16-f36d-4c5c-b0d9-b71a149609ac.mp4

Liquid mana is for internal use only. You shouldn't use it directly

I understand its for internal. For internal-use-only items, JEI unallow clicking to obtain this items. For example, Mek Gases - if you klick on them, they not give you empty buckets into inventory.
It would be conventional if clicking on Mana not give anything.


feat(HMS-4276): add context primitives

This change add primitives to add
log and db connector reference to the
context.Context for the request context,
and to recover from the context.Context.
The db connection belong to the request
scope too, so to keep consistency it is
added too.
Depends on: https://github.com/podengo-project/idmsvc-backend/pull/262
https://issues.redhat.com/browse/HMS-4276

/retest


Logged into dev tag (not production) there is no "remove" for the tag even if you created it.

This is in app > term > templates > tag > _term_tags.jinja
The conditional code was excluded by an extra 'else' statement related to the portal tag formatting. Pushed fix to dev branch.


Countermeasure section can be improved

The countermeasure section does not provide accurate advice.  The RC4 technology is obsolete and unsecure and even Microsoft FINALLY is moving to removing in in July 2023.  The countermeasure section should provide guidance to enable the policy and ONLY select the AES options to secure their environments.  This guidance has been recommended by other security organizations for years so not sure how Microsoft missed the memo.

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

ID: 2d05d447-1cc1-1eeb-3c4d-74591874f4e1
Version Independent ID: 020b4d09-5ce9-e636-0545-1ce27029a921
Content: Network security Configure encryption types allowed for Kerberos
Content Source: windows/security/threat-protection/security-policy-settings/network-security-configure-encryption-types-allowed-for-kerberos.md
Product: windows-client
Technology: itpro-security
GitHub Login: @vinaypamnani-msft
Microsoft Alias: vinpa

@vinaypamnani-msft Please help us in resolving this issue. Thanks

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


New device support and RGB saturation bug fix

This adds support for the BlissLights Sky Lite Evolve Star Projector
Essentially an RGB light with a switch for the rotation motor. The rotation could be broken out into a brightness slider, but at max speed the movement is too subtle for me to justify the effort. Other models come with laser stars, which would require additional switches.
Pulling from the existing RGBOutlet code I also found an bug with saturation in the existing RGB implementations.

Doesn't really need its own device profile. And the RGB fix is handled in it's own PR here https://github.com/iRayanKhan/homebridge-tuya/pull/484


AIR Mobile support?

Could this library feasibly be modified to run in an AIR Mobile app or does this require the use of ExtInt?
Thx

i use Netty and SecureSocket in my App.
it works on iOS ,but not work on android . on android the SecureSocket.serverCertificateStatus value is invalid .
does any body know how to solve this problem?
and shat  "user-permission" should config ?


Include debugging level in the configuration file

Debugging level (:debug) is currently hardcoded, and should be configurable.

Closed by #416

@jbonnet Could we pass the option through container ENV variables?

@jbonnet I've notice that you create a text-plain file for the logs generated by the application. Theses logs are stored inside the container consuming disk resources.
What do you think if we centralize the logs in a folder and mount a external volume to store it? by this way we can rotate this logs and from the point of view IT Operations would be simple to read the logs in the local server folder as /var/log/sonata/son-gk***.log
On the other hand, can we create duplicate the logging output and save it in a file that is a simbolic link to /dev/stdout? by this way if the Platform Operator decide to use a centralize logging system will be able to do it because all the logs will be redirected to standard docker logging system.

Hi, @felipe,
It is already by ENV variable LOGGER_LEVEL, defaulting to ‘debug’.

On 20 Feb 2017, at 07:00, Felipe Vicens<EMAIL_ADDRESS>wrote:
@jbonnet https://github.com/jbonnet Could we pass the option through container ENV variables?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/sonata-nfv/son-gkeeper/issues/415#issuecomment-281002437, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAuQ6HZKtRoe8vNECTKEKNzUq9GhR3tks5reToWgaJpZM4MEbXC.

Sure, @felipevicens,
But I didn’t understand the requirement; do you want to
1. log to the stdout?
2. log to /var/log/sonata/son-gk***.log?
3. both?

Thanks,

On 20 Feb 2017, at 07:22, Felipe Vicens<EMAIL_ADDRESS>wrote:
@jbonnet https://github.com/jbonnet I've notice that you create a text-plain file for the logs generated by the application. Theses logs are stored inside the container consuming disk resources.
What do you think if we centralize the logs in a folder and mount a external volume to store it? by this way we can rotate this logs and from the point of view IT Operations would be simple to read the logs in the local server folder as /var/log/sonata/son-gk***.log
On the other hand, can we create duplicate the logging output and save it in a file that is a simbolic link to /dev/stdout? by this way if the Platform Operator decide to use a centralize logging system will be able to do it because all the logs will be redirected to standard docker logging system.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/sonata-nfv/son-gkeeper/issues/415#issuecomment-281005405, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAuQ4Sbb1gu8QEAth0sdqu8l6aja2jsks5reT8jgaJpZM4MEbXC.

@jbonnet Should be option 3. both

Sure, @felipevicens, opening a new issue


[GLUTEN-3512][CH] tolerate empty blocks when native writing

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
(Fixes: #3512)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_3513_time.csv
log/native_master_10_24_2023_277d1c4a7_time.csv
difference
percentage

q1
35.54
34.96
-0.579
98.37%

q2
23.21
25.20
1.990
108.57%

q3
40.23
40.14
-0.089
99.78%

q4
37.18
37.18
-0.005
99.99%

q5
71.69
69.60
-2.090
97.09%

q6
7.23
8.82
1.586
121.94%

q7
88.19
88.00
-0.190
99.78%

q8
87.91
87.02
-0.891
98.99%

q9
120.44
121.90
1.458
101.21%

q10
52.60
53.59
0.990
101.88%

q11
19.85
20.02
0.170
100.85%

q12
27.56
26.72
-0.834
96.97%

q13
48.42
49.37
0.956
101.97%

q14
21.10
18.89
-2.205
89.55%

q15
35.06
34.21
-0.848
97.58%

q16
16.27
16.39
0.120
100.74%

q17
102.18
102.21
0.026
100.03%

q18
148.10
148.12
0.020
100.01%

q19
16.83
16.93
0.100
100.60%

q20
31.42
31.30
-0.123
99.61%

q21
224.31
223.35
-0.954
99.57%

q22
13.33
13.34
0.014
100.11%

total
1268.63
1267.25
-1.376
99.89%


How do i deploy the demo..

Hi, thanks for an excellent session at reinvent.   A really useful set of info.
i was wondering if there was any more info on how to deploy this demo?

Each of the sub-directories have instructions on how to deploy the individual components.
For example:
Backend: https://github.com/aws-samples/aws-reinvent-2019-trivia-game/tree/master/trivia-backend
Frontend: https://github.com/aws-samples/aws-reinvent-2019-trivia-game/blob/master/static-site/README.md


Correction for raw affiliation Department of Surgery, Schulich School of Medicine and Dentistry, Western University

Correction needed for raw affiliation Department of Surgery, Schulich School of Medicine and Dentistry, Western University
raw_affiliation_name: Department of Surgery, Schulich School of Medicine and Dentistry, Western University
new_rors: 02grkyz14
previous_rors: 02agqkc58
works_examples: W4316019723
contact: bef90facdfe1bacf3ce0ecefa0b5ae24:fb9f8ff22e235218 @ uwo.ca

This issue was accepted and ingested by the OpenAlex team on 2024-12-21. The new affiliations should be visible within the next 7 days.


[Rancher 2.6.4] Provision RKE2 node gets stuck at "Waiting for ProviderId"

Rancher Server Setup

Rancher version: 2.6.4-rc14

Information about the Cluster

Kubernetes version: v1.23.5

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom)

Admin

Describe the bug
I created a new Cluster using "RKE2" and the "Custom" option to provision existing on prem servers. Selected "Cloud Provider" is "none".
After all probes are finished, the provision of the new node is stuck at "Waiting for providerID to be set". This happens for all nodes i try to provision.
Provisioning Log:
[INFO ] provisioning bootstrap node(s) custom-423ae25b480e: waiting for providerID to be set, waiting for agent to check in and apply initial plan
2:46:29 pm | [INFO ] provisioning bootstrap node(s) custom-423ae25b480e: waiting for providerID to be set, waiting for probes: calico, etcd, kube-apiserver, kube-controller-manager, kube-scheduler, kubelet
2:47:13 pm | [INFO ] provisioning bootstrap node(s) custom-423ae25b480e: waiting for providerID to be set, waiting for probes: calico, etcd, kube-apiserver, kube-controller-manager, kube-scheduler
2:47:23 pm | [INFO ] provisioning bootstrap node(s) custom-423ae25b480e: waiting for providerID to be set, waiting for probes: calico, kube-apiserver, kube-controller-manager, kube-scheduler
2:47:51 pm | [INFO ] provisioning bootstrap node(s) custom-423ae25b480e: waiting for providerID to be set, waiting for probes: calico
2:49:21 pm | [INFO ] non-ready bootstrap machine(s) custom-423ae25b480e: waiting for providerID to be set and join url to be available on bootstrap node

To Reproduce
Create a cluster and try to provision a node with RKE2 v1.22.7+rke2r2 and no cloud provider.
Result
Expected Result
Node gets provisioned and available

I have the same exact issue.
My environment:
Ubuntu 20.04.4 LTS hosts (ec2 nodes)
RKE version: v1.21.5+rke2r1
Rancher GUI version 2.6.4 (first version to support Authorized Cluster Endpoints)
User information:
Admin
Describe the bug:
I created a new Cluster using "RKE2" and the "Custom" option to provision existing on prem servers. Selected "Cloud Provider" is "none".
Error:
Provisioning process for the imported cluster is stuck in state 'provisioning' with exact process of 'Waiting for providerID to be set" for the nodes of this new cluster to be imported
Logs:
The output of the provisioning process on each of the new cluster nodes is...
$ journalctl -u rancher-system-agent.service -f
ip-10-XX-XX-XX.ec2.internal rancher-system-agent[439325]: time="2022-04-07T17:08:36Z" level=info msg="Starting /v1, Kind=Secret controller"
To Reproduce:
Create a cluster and try to provision a node with RKE2 v1.22.7+rke2r2 and no cloud provider.
Expected Result:
Nodes and cluster gets provisioned and available for management by the primary RKEv2 cluster

@netmanbworker
For me, it was solved when i corretly setup proxy settings in the Agent.
Before, i tried setting it as ENV in the agent service.
Also, i had an error in the noproxy entry which had *.example.de in it.
I had to remove the wildcard.
So, one of these two solved it for me. I Hope that helps you!

Hello BeyerJC,
Thank you for the response and info. I will look into this proxy setting for the agent. I had no clue where to look, so I appreciate your help.

running into same issue

I have the same exact issue.
My environment:
CentOS Linux release 7.9.2009 (Core)
RKE2 version: v1.22.7+rke2r2
Rancher GUI version 2.6.4
I check config
Related Resources show:
Unavailable | CAPI Cluster

anyone figured this out?

Still a problem

I was experiencing this problem and found a log message about requiring at least 2 nodes to maintain HA, when I increased my pool size to 3 I was able to deploy.

@matttrach Maybe I will give this a go again, but I tried with that config. I was also doing this from a baseline HA RKE2 cluster I manually built with three nodes, which is how I got HA Rancher in the first place. The idea was to use the HA Rancher cluster to manage the RKE2 clusters.
Sad to say, we've moved on.


installation picks up older version of the controller chart even if a new version has been released

Describe the bug
If there is a new controller chart which needs to be installed using the uffizzi install command it is not picked up until the local helm repository references are updated on the users system.
To Reproduce
Release a new version of uffizzi-controller, run uffizzi install and see uffizzi use an older version of the controller.
Expected behavior
helm repo update is run before the helm chart is being installed

For this and other reasons, it would probably be helpful for our CLI to not use the user or system's helm repositories. In fact it should probably fetch everything fresh each time it runs.

yes, helm should run in the uffizzi_cli sandbox


Remove the accessedViaPublicAPI on MTRDevice.

Now that we have a concept of suspended devices, just use that to avoid wasting time on read-throughs which would fail anyway.

Fast-tracking platform-specific fix with platform owner review.


.obj loading: use .mtl name defined in obj

Currently we try to find a .mtl with the same name as the .obj with only the extension replaced but this is often not correct.
We should read the mtllib field from the .obj and search for that name instead

@kkananen how about we remap and normalise the assets inside the obj zip, rename the mtl, change the paths in the mtl, as we need to convert TGA's to PNG anyway, and it would be good to be able to analyse and normalise at the mtl level.


fix: update test expectations for next Firefox Nightly changes

Over on https://bugzilla.mozilla.org/show_bug.cgi?id=1786299 I was fixing the error messages that we throw in certain situations when serializing objects by value. Given that Puppeteer expects very specific messages we are now in alignment.
After the patch got merged to mozilla-central the next available Nightly build of Firefox will contain these changes and CI checks for PRs and commits will start failing. This PR fixes those.
Note that right now I still expect failures and we should close / reopen the PR later today or tomorrow when the appropriate Nightly build is available.

@OrKoN while our Nightly build is already out the tests still seems to fail and maybe grab an old Firefox Nightly? As I can see there is a cache for the Firefox binary and probably it needs to be cleared? I don't seem to have the permissions or cannot find the location where to do that. Could you please have a look? Thanks!

@OrKoN cleared the GitHub action caches so a more recent Firefox binary should be used now.

Please note that a change to jshandle.spec.ts was missing in the last version of this PR. I've pushed an update now which should fix across all Firefox jobs.


Add missing ASF headers in rust files

What is the purpose of the change
A couple of files are missing ASF headers, and so rat is complaining.
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Documentation

Does this pull request introduce a new feature? no

Actually those files shouldn't have been committed at all!
I am not sure when and how I added them without noticing.

Please don't make a release with them! The config.yaml will break others' builds.

@martin-g thanks ! Indeed I was surprised to see these files on the 1.11 branch but not on main. Let me know if you want me to create a PR to delete those files.

Thanks, @jbonofre !
I've just removed them!
Actually the config.yaml was named config.yaml.disabled, so it was not problematic. Anyway, it is removed now!

@martin-g thanks !


How to set locale from the locale device ?

From example I got :
locale: Locale('pt', 'BR'),
but how to set locale from locale device?
I tried this below code but fail.
GetMaterialApp(
      debugShowCheckedModeBanner: false,
      localeResolutionCallback: (deviceLocale, supportedLocales) {
        for (var supportedLocaleLanguage in supportedLocales) {
          if (supportedLocaleLanguage.languageCode ==
                  deviceLocale.languageCode &&
              supportedLocaleLanguage.countryCode == deviceLocale.countryCode) {
            return supportedLocaleLanguage;
          }
        }
        return supportedLocales.first;
      },
      translations: AppTranslations(),
      smartManagement: SmartManagement.onlyBuilder,
      localizationsDelegates: [
        GlobalMaterialLocalizations.delegate,
        GlobalWidgetsLocalizations.delegate,
      ],
      supportedLocales: [
        const Locale('id', 'ID'),
        const Locale('en', 'US'),
      ],
      initialRoute: '/',
      getPages: [
        GetPage(name: '/', page: () => SplashView()),
        GetPage(name: '/home', page: () => HomeView()),
      ],
    )

As I work with flutter_web too, and the size of the generated file is a problem, I don't use the default Flutter location, and I use this package
https://pub.dev/packages/flutter_device_locale
Maybe I will do a better integration with flutter_localizations (but I would have to use InheritedWidget for that). I just didn't do it until then because in my projects I can't use it, because the web file is giant.

Well, as this is a question, and it has already been answered, I am closing this.


yandex-browser: <IP_ADDRESS>2-1 -> <IP_ADDRESS>7-1

Description of changes
https://repo.yandex.ru/yandex-browser/deb/pool/main/y
-    corporate = "<IP_ADDRESS>6-1";
-    beta = "<IP_ADDRESS>8-1";
-    stable = "<IP_ADDRESS>2-1";
+    corporate = "<IP_ADDRESS>5-1";
+    beta = "<IP_ADDRESS>5-1";
+    stable = "<IP_ADDRESS>7-1";

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/the-link-has-changed/38929/2


Fix initialization of s3 storage in get_boto_client

The failing test is just linting, due to a new version of black being released. I'll address it in a separate PR.


Scrolling in Flutter Web with the Mouse Wheel is not smooth

If you go to https://gallery.flutter.dev/#/ and scroll the page or the lists inside the page with the mouse wheel, you'll see that the animations are not smooth.  The offset is just jumping by a certain increment.  If you go to any other webpage and use the mouse wheel you'll see that the page scrolls smoothly in a tiny animation.
Seen on: Chrome on Window
Maybe related issue: https://github.com/flutter/flutter/issues/78634

duplicate of https://github.com/flutter/flutter/issues/32120