Log export metadata

First cut at data we probably want to capture:
For kick-off request:

Timestamp (there may be value in capturing all timestamps as time with local tz rather than UTC so can easily determine if time of day consistently impacts performance)
Vendor and server info (should be available via the server's capability statement: software.name, software.version, software.releaseDate, fhirVersion)
Server URL and/or another way to distinguish between sites
Request parameters (possibly exclude the Patient reference list, since this could be very large?)

For kick-off error (when applicable):

Timestamp
Error code
Error body

For status error (when applicable):

Timestamp
Error code
Error body

For completion manifest (when applicable):

Timestamp
Resource file count
Error file count

For each file download:

Timestamp (start)
File identifier (hash of output[].url ?)
Resource type (output[].type)

For failed file downloads:

Timestamp (end)
File identifier (hash of output[].url ?)
Error code
Error content

For completed file downloads:

Timestamp (end)
File identifier (hash of output[].url ?)
Line count
Size in bytes

Design thoughts

Option to turn logging on and off by config and command line parameter
Could put a file in output directory of each export so it's easy for users to review and share
Probably want to generate a unique id for each export and include it in all the log items so they're it's to import them into a data store and query over them
ndjson would be flexible and familiar to users
Lines could be objects with standard properties like:

exportId - UUID generated per export
timestamp - as mentioned above, maybe iso 8601 with tz
eventName -  e.g., "kick_off", "kick_off_error", "status_error", "manifest", "download_start", "download_end", "download_error", etc.
eventData - object with event specific parameters

Open questions

Are there other export activities or data that it would make sense to capture?
Do we want to capture a set of client side errors like "error_writing_file"?
Does the event format above make sense?
How much data should we repeat in each log item for easy queryability (e.g., include resource type in all of the file related events or just in the download start and assume that users can join events on the file identifier)?

cc: @vlad-ignatov @mikix

We talked about this a bit in slack, and I think the only useful contributions I had were:

Maybe worth capturing normal delays vs server is busy delays (i.e. 202 vs 429) and the server-requested delay (or absent that, the client-decided delay)
Don't forget about capturing performance of downloading the error files too (when the server provides an error array)

So here's what I'd add on to your overview, Dan:

For each of those categories you listed, they should have some type field like status-request or error-download etc to distinguish them. (this felt assumed, but I'm just making that explicit)
For each of those categories you listed, they can all appear multiple times.
For any captured request, if there is a delay (202 or 429), capture the delay type (status code) and the delay amount and omit other fields.

Sound reasonable? But I like this! Next step might be a more explicit spec-style doc listing the request categories and fields for each?

Sounds good! I started a wiki page for us to define how the specific log items should look at https://github.com/smart-on-fhir/bulk-data-client/wiki/Bulk-Data-Export-Log-Items . @mikix @vlad-ignatov - please expand, and highlight if there are any of the properties that might be challenging to capture in your client implementations.


Issues attempting to implement IApplicationOverrides

Hello,
I am attempting to implement IApplicationOverrides in an attempt to write a UWP xaml app without requiring the use of xaml islands. I'm basing my attempt off of the code here, specifically how to manually generate an Application class, not the old WRL machinery. My attempt at replicating that setup is here.
However, I'm running into these three errors:
error[E0433]: failed to resolve: use of undeclared crate or module `windows`
 --> src\main.rs:6:1
  |
6 | #[implement(windows::ui::xaml::IApplicationOverrides)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `windows`
  |
  = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0433]: failed to resolve: there are too many leading `super` keywords
 --> src\main.rs:6:1
  |
6 | #[implement(windows::ui::xaml::IApplicationOverrides)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ there are too many leading `super` keywords
  |
  = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0308]: mismatched types
 --> src\main.rs:6:1
  |
6 | #[implement(windows::ui::xaml::IApplicationOverrides)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `WindowCreatedEventArgs`, found reference
  |
  = note: expected struct `WindowCreatedEventArgs`
          found reference `&Option<WindowCreatedEventArgs>`
  = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to 3 previous errors; 1 warning emitted

Sorry for the code and error dump: if some other format or information would be helpful or would suit you better, I'd be happy to provide it.
The first error has to do with me moving winrt code generation to a bindings crate, which I can undo (although I would love suggestions on how to implement interfaces while retaining it), but the second and third errors are completely opaque to me, as they seem to revolve around proc macro output. Am I implementing something incorrectly, or is this a bug with the new implement feature?
Thanks again for your help!

Hi Darius, the new implement macro is still very much in development. https://github.com/microsoft/winrt-rs/pull/354 introduced the macro but it only just began working and still needs a lot more development. Rest assured I continue to work furiously on it.
In this particular case, the Xaml API refers to many other namespaces and that trips up the code generation as it assumes the code is relative to the Xaml namespace and injects the super keyword to find the path to those other namespaces. Anyway, I'll get this fixed as soon as possible.

And here's a fix for this issue: https://github.com/microsoft/winrt-rs/pull/363


Remove "default" suffix from generated component name

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1397
Special notes for your reviewer:

Default name suffix was left from legacy reason when we were creating default/canary pair in v1alpha2, we should remove it now as it adds to the dns name limits
In order to to backwards compatible for existing deployed service, we do not change the generated if the controller detects that the service exists.

Release note:

/lgtm

close for https://github.com/kserve/kserve/pull/2508


Add an option for CDK to Deploy REST APIs for WAF Integration

The current CDK setup deploys HTTP APIs. However, to integrate with WAF and put it in front of our APIs, we need to deploy REST APIs instead. We need to update our CDK to support this.
FYI: https://github.com/sourcefuse/arc-cdk/blob/main/src/aws/lambdaWithApiGateway/lambdaWithApiGateway.ts#L58

Observation: The interface assumes that the domain will be hosted in
Route53 whereas, user can also use a custom domain from another
DNS provider in which case the HostedZone Id becomes redundant as it is AWS
Route53 specific.
Regards,
Ravichandran JVAssociate Director – Learning and Development
SourceFuse
T: +91-735-855-9390
@.*** | www.sourcefuse.com
On Mon, Feb 12, 2024 at 11:08 AM Yogi-Vishwas @.***>
wrote:

Closed #48 https://github.com/sourcefuse/arc-cdk/issues/48 as completed
via #49 https://github.com/sourcefuse/arc-cdk/pull/49.
—
Reply to this email directly, view it on GitHub
https://github.com/sourcefuse/arc-cdk/issues/48#event-11770147054, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A6RWHMKKDLEESTVSHZUFPQTYTGTHHAVCNFSM6AAAAABBS7HY5KVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRG43TAMJUG4YDKNA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended recipient
you are notified that disclosing, copying, distributing or taking any
action in reliance on the contents of this information is strictly
prohibited.


Image in Subsampling has compression artifacts

Image in Subsampling has compression artifacts. How can I change compression rate in Subsampling.

Can you provide a screenshot that shows this?

Image viewed from native Gallery

Image viewed via Subsampling has artefacts on top actionbar, just under plus sign.

This might be a result of using RGB_565 to save memory, but I've never seen artifacts like that from a PNG. You could try creating a copy of SkiaImageRegionDecoder and using ARGB_8888, but you might get more out of memory errors on older or low-end devices.

Sorry I sent you screenshots from my Android phone(which are created in PNG format). The image that causes problem is actually JPEG(this image originally was created as screenshot in iPhone 6).
I am attaching this original JPEG  image.

It would be better to save that as a PNG because the JPEG has compression artifacts as you can see from the attached image. The same advice I gave above still applies, use ARGB_8888 but be aware this can cause OOMEs.

Thank you for advice


Adding custom country not allowed when geocoding by postal code if there is not string column

Steps to Reproduce

Create a map with a dataset with just a numeric column containing postal codes
Add "Georeference" analysis to the layer
Select "Postal Codes" as TYPE
Try to type a custom country

Current Result

Typing a custom country is currently not allowed.
The dropdown menu is inactive because there is not a string column.

Expected result

It would be great you could type without the need to have a string column.

Browser and version

Google Chrome v54

We should then add the component we have in the address geocoding that lets you type custom values

S/B: 11241218

Same as https://github.com/CartoDB/cartodb/issues/12334 so closing


Handle vectorize for LE statement

Fix a new cases introduced by commit 7afbca5691fdb599cd90b043d5a5036e55cae2d6
test_vectorize_with_le_cond was failing as a.type() == b.type(): BinaryOp of mismatched types before this fix.

@tqchen @ZihengJiang please take a look.


Swinging sprite for axe is reversed.

Description
When swinging the fire axe, its the wrong way. Pretty simple, if anyone knows any others like this add em below, I just don't want to check every weapon.
Reproduction
Tested with normal and syndi fireaxe.
Swing while in combat more/ right click.
Screenshots
Mid swing

Additional context
Still works, just bit silly to not swing with the pointy end.

this is my fault entirely

also pickaxe


Set the annotation name to the same as the event name if the attributes are empty

Following "OpenTelemetry to Zipkin Transformation", I set the annotation name, but I found that if event's attributes is empty, it is meaningless and inconvenient as attached. In this PR, if attributes is empty, the event name is used as the annotation name.

some test fuzz yet

oops, fixed


Update to go 1.20

https://github.com/networkservicemesh/deployments-k8s/issues/9216

@LionelJouin Do you have an idea on how to fix linter issues?


to add resize script to change the size of Cloud9 EBS volume

Describe the feature
the documentation requires to increase the size of Cloud9 EBS volume - https://aws-samples.github.io/aws-genai-conversational-rag-reference/overview/quick-start/
a ready-to-use script can be useful
Use Case
Pls. have a look at https://github.com/aws-samples/aws-genai-llm-chatbot/issues/446
Proposed Solution
Pls. have a look at https://github.com/aws-samples/aws-genai-llm-chatbot/issues/446
Other Information
No response
Acknowledgements

[ ] I may be able to implement this feature request
[ ] This feature might incur a breaking change

addressed in updated documentation


Update README with subtitles and ParcelConverter example

I added some subtitles to the README to make things easier to find.  I also added a note on polymorphism and an example of using a ParcelConverter to properly handle polymorphic fields.
That might make the ParcelConverter example bad form for normal use - maybe there should be another, more typical example.

:+1: Great additions.
Would you happen to want to work on an official documentation website for Parceler by chance?

Updated with your suggestion.  I'm not that keen on documentation -- I just like to help out where I can =)

Fair enough, I thought I'd offer.
Looks good.  I like the fact that the ParcelConverter example shows both a ParcelConverter in action and a solution to the subclass problem.
Thanks again.


Fix broken link.

The link to CONTRIBUTING.md was broken by #18
Pull Request (PR) description
Fixes the broken link to CONTRIBUTING.md introduced by #18
This Pull Request (PR) fixes the following issues
Fixes #19

@pillarsdotnet in general it's not needed to open an issue before opening a PR. If you're going to open a PR right away, I'd skip the issue.

@pillarsdotnet in general it's not needed to open an issue before opening a PR. If you're going to open a PR right away, I'd skip the issue.

(Shrug)  Different projects have different standards; the boilerplate for yours asks for an issue number, so I provided one.  For a puppetlabs project, I'd open a jira ticket before submitting a PR, as they tend to get ignored otherwise._

(Shrug) Different projects have different standards; the boilerplate for yours asks for an issue number, so I provided one. For a puppetlabs project, I'd open a jira ticket before submitting a PR, as they tend to get ignored otherwise._

Yes, it doesn't hurt and is fine either way. Maybe I'm just lazy :)


Python script is missing Add file to Pipeline right-click option

Found this while trying to automate some heterogeneous pipeline tests:
When selecting the Notebook file:

When selecting the Python Script:

Can you clarify what's the expected behavior for the two supported file types? I tried this for notebooks without having a pipeline open, but nothing happened. I kind of expected that a new pipeline would be created ...


Use element rect for detecting overflow

Modifiers may alter state.rects.element (e.g. adjusting x/y for elements within iframes), and detectOverflow should use the state value instead of re-calculating the rect.

iframe modifier being used:
import { ModifierArguments, Modifier, Options } from '@popperjs/core/lib/types';

function frameAdjust({ state, name }: ModifierArguments<Options>) {
  const { x, y } = frameOffsets(state.elements.reference as Element);
  state.rects.reference.x += x;
  state.rects.reference.y += y;
}

export default ({
  name: 'frameAdjust',
  enabled: true,
  phase: 'beforeRead',
  fn: frameAdjust,
  data: {},
} as Modifier<'frameAdjust', Options>);

export function frameOffsets(target: Element) {
  let x = 0, y = 0;
  while (target && target.ownerDocument) {
    const frame = target.ownerDocument
      && target.ownerDocument.defaultView
      && target.ownerDocument.defaultView.frameElement;

    if (frame) {
      const rect = frame.getBoundingClientRect();
      x += rect.left;
      y += rect.top;
    }
    target = frame;
  }
  return { x, y };
}

This PR breaks tests. I'm not sure what to do to fix the tests while still providing the underlying fix. I need guidance. Is this something we should even try to do here?
I've got my own version of detectOverflow and preventOverflow that does what this PR does. I am using it in my own project to make this work correctly and everything seems fine. I'm not sure what cases it breaks.

The idea is really good, but without green tests I can't proceed with the merge. Tests can get ran locally to observe what's wrong with them. I'm closing this for now since there wasn't any recent activity but a new PR to introduce this would be awesome.


Unable to select the Swatch value

This function solves the problem (这个功能解决的问题)
In the colour picker, there is an option to provide a set of predefined colours. When you click a swatch, the preview color changes, BUT the value is not updated via on-completed or on-updated:value. So the consumer component is not aware of the color set on the picker via SWATCH
Expected API (期望的 API)
Provide the Color set via SWATCH via the  on-completed or on-updated:value to be consumed

Not relevant anymore


Fix typo in Cloudflare workers pricing

There was one too many digits in the Cloudflare workers pricing.

Ok


Block Type Cache

Currently the block type cache behaves rather strangely. Sometimes it does cache the type while it doesn't at other times (it isn't cleared either), when the type is set. Specifically, this line is the troublemaker.
There are a few ways this could be fixed. First of all, that line could be removed and something like it could be added to GlowBlock#setTypeIdAndData(int, byte, boolean) to cache the type each time it is set. Secondly, the line could be removed and the cached type could be nullified in GlowBlock#setTypeIdAndData(int, byte, boolean). And finally, the cache could be removed all together; the benefit of which is that setting the block type through another block instance doesn't create desynchronisation between the two.
I'm merely mentioning this as I'm not sure why the type is cached and what the preferable course of action is.

Block type is cached because water physics uses getType, and getType was using a lot of CPU time.

water physic (or all physic) shouldn't call GlowBlock, or use other custom structure
I suggest use GlowBlock only for api

How else would water work?

it should faster get data from blocks array


Error when trying to build NativeScript target

I'm trying to debug our app's ios-runtime error following the tutorial from the docs but when I try to build the
NativeScript target for the ios-runtime I get the following error:
PhaseScriptExecution CMake\ Rules cmake-build/NativeScript.build/Debug-iphoneos/libffi.build/Script-21C4144A2026427486AF6FBE.sh
    cd /Users/nicolae.surdu/work/ios-runtime
    /bin/sh -c /Users/nicolae.surdu/work/ios-runtime/cmake-build/NativeScript.build/Debug-iphoneos/libffi.build/Script-21C4144A2026427486AF6FBE.sh

echo ""

cd /Users/nicolae.surdu/work/ios-runtime/src/libffi && /Users/nicolae.surdu/work/ios-runtime/build/scripts/build-step-libffi.sh
+ for CURRENT_ARCH in '$ARCHS'
+ build armv7
+ local ARCH=armv7
+ local BINARY_DIR=build_iphoneos-armv7-Debug
+ '[' -f build_iphoneos-armv7-Debug/.libs/libffi.a ']'
+ local TRIPLE
+ '[' armv7 == i386 ']'
+ '[' armv7 == x86_64 ']'
+ '[' armv7 == armv7 ']'
+ TRIPLE=arm-apple-darwin11
+ autoreconf -i
autoreconf: 'configure.ac' or 'configure.in' is required
make: *** [/Users/nicolae.surdu/work/ios-runtime/cmake-build/CMakeFiles/libffi] Error 1
Command /bin/sh failed with exit code 2

Versions

MacOs Sierra v10.12.6 (16G29)
XCode v9.1 (9B55)

Hi @surdu, were you able to build successfully any of the targets in the ios-runtime project following the instructions in the repo's README?

@tdermendjiev
Based on your suggestion I've realized that I needed to use --recursive when cloning the repo, so this solved my initial problem, but now I get this error:
dyld: Symbol not found: _utimensat
  Referenced from: /usr/local/bin/cmake
  Expected in: /usr/lib/libSystem.B.dylib

/bin/sh: line 1: 87967 Abort trap: 6           /usr/local/bin/cmake -E touch_nocreate /Users/nicolae.surdu/work/ios-runtime/cmake-build/WebKit-prefix/src/WebKit-build/DerivedSources/JavaScriptCore/LLIntAssembly.h
make[1]: *** [/Users/nicolae.surdu/work/ios-runtime/cmake-build/WebKit-prefix/src/WebKit-build/DerivedSources/JavaScriptCore/LLIntAssembly.h] Error 134
Command /bin/sh failed with exit code 2

** BUILD FAILED **

@surdu what I am trying to figure out is whether you are having issues building the ios-runtime in general or just building it as a dynamic lib for the CLI project. Did you follow the instructions here and manage to build any of the Nativescript.xcodeproj targets?

@tdermendjiev Ok, so this is really odd and annoying:
If I follow any of the two scenario, dynamic (from the tutorial) or not (from the readme), and do a clean before the build, sometimes it works, but most of the times fails with the last mentioned error.
If it worked, then if I do a clean and try again, it starts failing again.
I have now a build that worked for the dynamic build that I will not touch and will continue with the tutorial and see how that goes.
It would be nice if anybody can help me to understand what's going on and make the build work every time, as the current situation is not sustainable.

@surdu What is your cmake version and how did you install it? Would you be able to try with this one?

@tdermendjiev YES! That was the problem. I was having v3.1.3 (as per the docs) but upgrading to v3.3.2 fixed this issue.


Working rods

Purpose
I am just extending the work already done on rods. Along this line, the rods that are not modelled as points now have associated 2 extra points. Now the system setup is way more natural
Type of change

[ ] Bugfix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (non-backwards-compatible fix or feature)
[ ] Code style update (formatting, renaming)
[X] Refactoring (no functional changes, no API changes)
[ ] Documentation update
[ ] Maintenance update
[ ] Other (please describe)

Testing
You can try to the following input file:
A relatively complex system with rods and bodies
------------------------- LINE TYPES --------------------------------------------------
LineType  Diam    MassDenInAir    EA       BA/-zeta    EI    Can   Cat  Cdn   Cdt
(-)       (m)       (kg/m)        (N)      (Pa-s/-)  (n-m^2) (-)   (-)  (-)   (-)
cable     0.116      25         362e6      -1.0      38e3    1.0   0.0  1.1   0.008
bouyancy  0.361      59         362e6      -1.0      38e3    1.0  0.469 2.617 0.345
nylon     0.116      25         362e6      -1.0      38e3    1.0   0.0  1.1   0.008
---------------------- ROD TYPES ------------------------------------
TypeName      Diam     Mass/m    Cd     Ca      CdEnd    CaEnd
(name)        (m)      (kg/m)    (-)    (-)     (-)      (-)
conn          0.116    25        1.1    1.0     1.1      1.0
conn_stiff    0.116    25        1.1    1.0     1.1      1.0
clamp         0.116    25        1.2    1.0     1.2      1.0
---------------------------- BODIES -----------------------------------------------------
ID   Attachment  X0     Y0    Z0      r0      p0     y0     Mass  CG*   I*        Volume  CdA*     Ca
(#)     (-)      (m)    (m)   (m)     (deg)   (deg)  (deg)  (kg)  (m)   (kg-m^2)  (m^3)   (m^2)    (-)
1      Free      452.0   0    -313.0  0       0      0      29.5   0    0.098     0.014   0.5  1.0
---------------------- RODS ----------------------------------------
ID   RodType  Attachment  Xa    Ya    Za     Xb     Yb    Zb      NumSegs  RodOutputs
(#)  (name)    (#/key)    (m)   (m)   (m)    (m)    (m)   (m)     (-)       (-)
1    clamp       Body1    0.1   0     0.0    -0.1   0     0.0     1         -
2    conn        Free     375.0 0     -250.0 375.0  0     -250.0  0         -
3    conn        Free     290.0 0     -215.0 290.0  0     -215.0  0         -
----------------------- POINTS ----------------------------------------------
Node      Type      X        Y         Z        M        V         CdA   CA
(-)       (-)      (m)      (m)       (m)      (kg)     (m^3)     (m^2)  (-)
1         Fixed    600.0     0      -320.0       0        0          0     0
2         Fixed    452.0     0      -320.0       0        0          0     0
3         Body1    0.0       0         0.0       0        0          0     0
4         Coupled  0.0       0       -63.6       0        0          0     0
-------------------------- LINES -------------------------------------------------
Line     LineType NodeA     NodeB  UnstrLen   NumSegs     Flags/Outputs
(-)      (-)       (-)       (-)    (m)         (-)          (-)
1        nylon       2         3      7.0        1           -
2        cable       1       R1A    150.0       15           -
3        cable     R1B       R2A    110.0       11           -
4      bouyancy    R2B       R3A     80.0        8           -
5        cable     R3B         4    340.0       34           -
-------------------------- SOLVER OPTIONS---------------------------------------------------
2          writeLog     - Write a log file
0.1        cfl          - Courant-Friedich-Lewy factor
3.0e6      kb           - bottom stiffness
3.0e5      cb           - bottom damping
320        WtrDpth      - water depth
4.0        ICDfac       - factor by which to scale drag coefficients during dynamic relaxation IC gen
1e-3       threshIC     - threshold for IC convergence
100.0      TmaxIC       - threshold for IC convergence
1.0        dtIC         - Time lapse between convergence tests (s)
midpoint5  tScheme      - Time integrator
0          ICgenDynamic - 0 for stationary solver, 1 for upscaled drag legacy solver
--------------------------- need this line -------------------------------------------------

Checklist
Put an x in the boxes that apply.

[X] I have run existing tests which pass locally with my changes
[ ] I have added new tests or examples that prove my fix is effective or that my feature works
[ ] I have added necessary documentation

Thanks for contributing this. It adds useful capabilities; however we are working on some plans for more comprehensive Rod handling, and one or two small things we used got removed in this PR. So we will hold off on merging this for now until we are able to implement a more comprehensive approach to Rods in MoorPy. Likely we will not add new Points for the Rods in this new approach once it's done.
Matt

Thanks for contributing this. It adds useful capabilities; however we are working on some plans for more comprehensive Rod handling, and one or two small things we used got removed in this PR. So we will hold off on merging this for now until we are able to implement a more comprehensive approach to Rods in MoorPy. Likely we will not add new Points for the Rods in this new approach once it's done. Matt

Sounds good to me!
Anyway, I think you do not need to keep this PR open. You can always get it back if needed. Up to you!

Okay, thanks!


[Bug]: vendored jars leak proto

What happened?
Beam vendors a few dependencies (grpc, guava). These vendored dependency jars have package namespace shaded (* -> org/apache/beam/vendor/*) so it won't leak classes. However this repackage does not contain protos, as a result, it still leaks proto classes
For example, in  org.apache.beam » beam-vendor-grpc-1_60_1 » 0.2:
beam-vendor-grpc-1_60_1-0.2
|-grpc
|  |-google
|  |  |-api
|  |  |  |-field_behavior.proto
...

Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components

[ ] Component: Python SDK
[X] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam YAML
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Infrastructure
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

marked as 2.62.0 release blocker (cut on Dec 18, 2024)

Added "Protobuf error" section in the description.


Link to token code only has the C implementation

The description says it is available in more languages, but the link only has the C implementation.

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

ID: 3a415ee3-98c0-248e-4904-45e04cc9b933
Version Independent ID: 2fbd4504-5c83-23da-8b21-935782f23ca7
Content: Securing Azure CDN assets with token authentication
Content Source: articles/cdn/cdn-token-auth.md
Service: azure-cdn
GitHub Login: @zhangmanling
Microsoft Alias: mazha

@mattcoz
Thanks for your feedback! We will investigate and update as appropriate.

@mattcoz , We have assigned this to the content owner/author for review.
@zhangmanling , for your review.

Thank you for you dedication to our documentation.
Unfortunately, we have been unable to review this issue in a timely manner. We sincerely apologize for the delayed response. We will create an internal tracking work item to address this issue. For now, we are closing this issue. If you have any additional information you would like to provide, please respond to this issue with any additional details.
Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close


Traction Tenant Token with alternate key/password

Currently, we return the tenant gets their walet_key and uses that to prove who they are when they get a token. We are using managed wallets, but we should provide a separate key/password that can be used to fetch a token. Tenants (managed) do not need to know their wallet_key - this is stored (securely, encrypted) in the db and can be recovered by the admin.
Add new mechanisms to return an alternate key and use that for verification on token fetch/refresh.
A similar concept is in use for reservations...

Relates to #434

#685 is the associated ticket (replaced 420)

Completed with
https://github.com/bcgov/traction/issues/685
https://github.com/bcgov/traction/issues/741
https://github.com/bcgov/traction/issues/687


[Web] Web does not support animation sheet golden tests

https://github.com/flutter/flutter/pull/55527 added animation sheet golden tests, which would be very useful when testing the animation of widgets. However it is implemented using screenshots, which is not supported by Web. It'd be great to find a way to support it.
More specifically, the current approach takes a screenshot of the target widget after every passed interval, and displays them in a grid afterwards.
Multiple solutions were considered before we ended up choosing the current one, despite knowing it was web-incompatible:

Move the target widget to a new position, and displays a new widget at the front. In this way, the animating widget will be displayed backwards.

Problem: We want to support interacting with the widget. This approach interrupts such interactions.

Render the target widget at both a new location and the original location, which is used for interactions.

Problem: Flutter does not support either cloning widget states, or rendering the same object twice.

Removed the platform-web label until this has a better description. Feel free to add it back when it's ready for triage.

The related issue: https://github.com/flutter/flutter/issues/42767 appears to have been fixed. However, when I attempted to unskip the animation sheet golden tests for the web, it still ran into 'Unsupported operation: toImage is not supported on the Web' errors.


... is not indexed

I discovered this while reading about stub methods, but it's also the sequence operator. The !!! is indexed.

Yeah, there's something wrong with the code that processes the index annotations. Filed in https://github.com/perl6/doc/issues/1743


Transition (scrollTop) between routes.

How can I disable the ScrollTopBehavior for transition between routes?
please refer to my test site.

Go to  http://test.o-logy.com/category/4
Click on People on the secondary navigation bar

I want it to only change the content instead of a new page which starts from the top.
(the scrolling animation is done by jquery btw.)

Can anyone offer me help? thanks!

Link doesn't work for me (404).
Have you tried  http://rackt.github.io/react-router/#Route ignoreScrollBehavior ?

Wrap the routes that need to be switched without scroll into a parent route, and give it ignoreScrollBehavior.

@gaearon I tried, without luck
@taurose the link works now, please try it again.
Thanks.

@genxstylez
It's hard to debug a minified website without the source code. I do not see you using ignoreScrollBehavior.

@gaearon
Please see https://github.com/genxstylez/potential-sansa/tree/master/posts/static/js for my source code.
I am still trying ignoreScrollBehavior locally, doesn't really work

Below is the snippet I m using locally.
    <Route name="app" path="/" handler={Application} ignoreScrollBehavior>
        <DefaultRoute handler={IndexPage} ignoreScrollBehavior/>
        <Route name="category" path="category/:categoryId" handler={IndexPage} ignoreScrollBehavior/>
        <Route name="subcategory"  path="category/:categoryId/:subcategoryId" handler={IndexPage} ignoreScrollBehavior />
        <Route name="search" path="search" handler={SearchPage}/>
        <Route name="albums" path="albums" handler={AlbumsPage} />
        <Route name="album" path="albums/:albumId" handler={AlbumPage} />
        <Route name="subscribe" path="subscribe" handler={SubscribePage}/>
        <Route name="post" path="post/:postId" handler={PostPage}/>
    </Route>

@gaearon really sorry for keeping on asking, but I am kinda urgent on this matter.  Any thoughts?

@genxstylez
Sorry, gulp watch fails for me. I can't even figure out how to begin reproducing your problem, because in production it is minified, and in development, well, it doesn't build:
gulp watch
[00:31:56] Using gulpfile ~/Documents/Projects/potential-sansa/gulpfile.js
[00:31:56] Starting 'watch'...
[00:31:56] gulp-notify: [Compile Error] Cannot find module './undefined/static/js/app.js' from '/Users/dan/Documents/Projects/potential-sansa'

Really, I'd love to help, but please make it easy for me. It's frustrating to clone a project and install the dependencies, only to figure out that there's no way for me to actually reproduce your problem.

Please, provide a runnable project (or host an unminified project somewhere).
At the very least, you're not using ignoreScrollBehavior as intended. If you just put it on the top-level route, the router will completely fail to restore scroll. I think you only wanted that for certain routes, not for your whole app.
ignoreScrollBehavior is supposed to “mark” certain routes (and all their descendants) as not needing any scroll adjustment. In your case, you're not using the nesting where you should. Your route config should probably look like
    <Route name="app" path="/" handler={Application}>
        <Route handler={HomePage} ignoreScrollBehavior>
            <DefaultRoute handler={Index} />
            <Route name="category" path="category/:categoryId" handler={Category} />
            <Route name="subcategory" path="category/:categoryId/:subcategoryId" handler={Category} />
        </Route>
        <Route name="search" path="search" handler={SearchPage}/>
        <Route name="albums" path="albums" handler={AlbumsPage} />
        <Route name="album" path="albums/:albumId" handler={AlbumPage} />
        <Route name="subscribe" path="subscribe" handler={SubscribePage}/>
        <Route name="post" path="post/:postId" handler={PostPage}/>
    </Route>

where Index and Category as placed into HomePage as nested routes.
In this case ignoreScrollBehavior is applied to HomePage because all transitions within it should not adjust scroll.

wait a sec ... <Route handler={HomePage} ignoreScrollBehavior> is valid jsx? don't you need ignoreScrollBehavior={true}?

don't you need

You don't, attribute without value is a shortcut for specifying true.

I have this bug/issue too wtih ignoreScrollBehavior={true} not working.
Here's my repo:
https://github.com/giantelk/react-router-scroll-issue
Steps

Scroll to bottom of page.
Click to second page.
Click back to 1st page.
Contents should not be scrolled to top of window. Should stay scrolled at the bottom of the window.

Here's a hack-around using jQuery $(window).scrollTop()
// Capture state of last window location, i.e. in `componentWillUnmount` of the Component you want to save scroll position for i.e. `<MyFeed />`
this.props.setLastWindowPosition( $(window).scrollTop() );

// In a parent Component, i.e. <App />:
setLastWindowPosition: function(value) {
   setState( {lastWindowPosition: value} );
},
getLastWindowPosition: function(value) {
   return this.state.lastWindowPosition;
}

Then in componentDidMount of <MyFeed /> (if works in componentWillMount it will be better, less visible).
$(window).scrollTop( this.state.lastWindowPosition )

I guess in theory this should work, but for me this isn't doing anything. In componentDidMount I checked $(document).height() to verify that the DOM is loading with enough space to scroll into view. $(window).scrollTop() shows the last value before going away and back to my view, but then somewhere between that and when componentDidUpdate get's called $(window).scrollTop() goes back to 0.
// In componentDidMount of <MyFeed />
$(window).scrollTop( this.props.getLastWindowPosition )

I'm having issues with scroll behavior as well.
ignoreScrollBehavior correctly prevents react router from imitating the browser behaviour, but it seems like the browsers are having this behavior by themselves now (no need to imitate), and I can't find a way to stop it.
Both chrome and firefox restore the scroll position of the previous page when I go back. Is there anyway we can affect this?

a new scrolling implementation will come on top of the router after (maybe with) 1.0

@gaearon Sorry for the very late reply, was away from the project for a while now.
@ryanflorence great to know something will be done! looking forward, Thanks


Feat auto hftextgen

Description
I have developed a class HuggingFaceTextGenInferenceAuto to automate the process of managing Docker inference server containers for the HuggingFaceTextGenerationInference LLM. It essentially acts as a factory to create an instance of HuggingFaceTextGenInference via the from_docker classmethod. This class can create, reuse, or recreate containers as-needed based on parameter changes.
The objective is to simplify the management of HuggingFace TextGen inference servers, and allow users to spin up Docker containers for model inference with ease. The code also contains methods to handle the health checks, wait for model downloads, and ensure container and API readiness before proceeding.
Issue
See feature request issue #12564
Dependencies
Updated toml and lockfile per contrib guidelines.
docker = "^6.1.3"
pytest-skip-slow = "^0.0.5"
text-generation = "^0.6.1"

Twitter Handle: @daniel_c_barker

Link to demo video of feature
Tests


Browser Language

Is there any way to set the browser language? I tried sending [--lang=de-DE, de] with chrome_flags but according to the evasion result it's still showing en-US, en

I confirm, I use this option in production, it's working for me, but I also use some proxy in the target country. The tests do not cover this option yet but a PR is welcome to ensure the flag is working as intended.

Thank you

I confirm, I use this option in production, it's working for me, but I also use some proxy in the target country. The tests do not cover this option yet but a PR is welcome to ensure the flag is working as intended.

Not really, we use a very complex but cheap solution, consumer VPNs with our own proxy manager which handle the connection to the VPN and give a socks5 for se-scraper.
You have : Luminati, Infatica, smartproxy.com can do job I think.


Not compatible with IntelliJ IDEA 2022.3

This plugin is incompatible with IntelliJ IDEA after the last update.

An update has been submitted to Jetbrains.
it takes around two days

A new compatible version is up


Detection and masking with webcam

hii vijendra,
i have followed all the steps in this tutorial. it works fine . But it works only with images. what if i want to detect objects in realtime basis using webcam. can you provide any script for it. so that . i can able to detect it webcam as well as it should apply the mask while detecting the objects.
I have tried to merge the code of image . But not able to do so. Kindly provide or suggest the solution for the same.

Hi @monikawaghole
Attached script is not clean but might help you.
object_detection_tutorial_v2.ipynb.zip

hey what is machine variable in the script.not able to change it.
On Thu, Jun 18, 2020 at 4:22 PM Vijendra Singh<EMAIL_ADDRESS>wrote:

Hi @monikawaghole https://github.com/monikawaghole
Attached script is not clean but might help you.
object_detection_tutorial_v2.ipynb.zip
https://github.com/vijendra1125/Custom-Mask-RCNN-Using-Tensorfow-Object-Detection-API/files/4798060/object_detection_tutorial_v2.ipynb.zip
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vijendra1125/Custom-Mask-RCNN-Using-Tensorfow-Object-Detection-API/issues/31#issuecomment-645941048,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADE6PUVW6I2GF4D7SV4JPA3RXHWVZANCNFSM4OBOCCAA
.

--
Hello Sir,
Below is my cv.
Thanks & Regards,
Monika Waghole
7083798676/
8668953719


adding .travis.yml and package-lock.json

@sairion any chance that this plugin is (no longer) maintained?


release-please GHA fails due to expired access token

https://github.com/nodejs/import-in-the-middle/actions/runs/10149322265/job/28064006186#step:2:380
@legendecas, I think this was your token that expired!

I can confirm the permission scope is correct on the audit page: https://github.com/organizations/nodejs/settings/personal-access-tokens/337284.
Maybe the token value is not correctly configured.

Ahh, I granted repo write access to @nodejs-github-bot on nodejs/import-in-the-middle and it works now.

https://github.com/nodejs/import-in-the-middle/pull/151

Many thanks!


[ic-link] download=false still downloads the link

Summary of the bug
Only for the web components, when download is false, it still downloads the link rather than having the default link behaviour.
🪜 How to reproduce

Add download to playground story
See that even though it is false to begin with, it still downloads the link

🧐 Expected behaviour
It should work like React which seems to remove the download prop when it is set to false.

Linked to https://github.com/mi6/ic-ui-kit/issues/2184


[vm] remove TODO for checking script arguments with instantiated gene…

…ric types
There is an unused _ty_args: Vec<TypeTag> argument and a TODO for checking these type arguments against script arguments that refer to them (e.g., main<T>(t: vector<T>). However, the bytecode verifier (rightly) requires that all parameter types are closed, and we do not plan to change this in the future. This PR simply removes the unused argument and the TODO to reflect this.

/land


Update aws-core, http-client-spi, ... to 2.17.183

Updates

software.amazon.awssdk:aws-core
software.amazon.awssdk:http-client-spi
software.amazon.awssdk:netty-nio-client

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #142.


CRITICAL: Do not disable repository requests due to network issues

I noticed that the fixes for network connection issues to repositories, cause a repository to be disabled:
https://github.com/gradle/gradle/blob/ebab52b6e2083496308fc30d32eb94c038eab66a/subprojects/docs/src/docs/release/notes.md#timeouts-for-http-requests
That's a serious change in behavior. Dependency and build correctness often depends on the exact ordering of repositories. Internal repositories may shadow OSS artifacts in public repositories for security, compliance or legacy reasons. Local repositories might be a last-resort fallback for missing dependencies, but have development dependencies published in them.
While we're frequently impacted by the issues caused by lack of connection timeouts (developers forgetting their VPN connection - we have init script checks w/ timeouts to catch the problems), this solution overcorrects and undermines build confidence.
Build repeatability and determinism should always come before efforts to protect the build from unreliable external resources.
Expected Behavior
A failure to resolve a dependency in a configured repository fails the build.
Current Behavior
The build will continue, perhaps resolving an artifact from a different repository than would usually be possible.

The blacklisting is inteded (to stop other requests from being made), but resolution should not fall through to the next repo, but mark that artifact as failed instead.

@oehme We should revisit this again to make sure it works as expected.
This test case shows that if the metadata resolution fails with a timeout then the next repository is checked. The behavior aligns with other conditions e.g. if you receive a HTTP 500 (moduleA.pom.expectGetBroken()) from the metadata resolution request. In that regard it doesn't look like behavior has changed from previous versions of Gradle if I am not mistaken.
However, if the metadata can be resolved but the artifact can't (e.g. timeout or HTTP 500) then the secondary repository is not checked. You can verify that by changing the expectations as follows for the same test case.
moduleA.pom.expectGet()
moduleA.artifact.expectGetBlocking()

The HTTP 500 case is wrong. We should not continue to the next repository unless we can answer the question "is this module present in this repository?". We cannot answer this question on a 500 response or a timeout.

Agreed, we should only continue if we got a clear "It's not here". If the answer is "We don't know", we need to fail that module's resolution.

This is on release now


QEMU custom arguments cannot contain spaces.

Describe the issue
When putting paths or parameters into a QEMU argument, UTM's parser appears to use spaces as breaks, no matter whether the string is single or double quoted or the spaces are escaped.
So "path/to this/file.qcow2", 'path/to this/file.qcow2' and path/to\ this/file.qcow2 all break.
While drive paths can be handled by removing the actual spaces in file names and directory names, setting a device label to a product string containing spaces is a bigger issue, such as:
-device scsi-cd,scsi-id=3,drive=cd1,vendor="MATSHITA",product="CD-ROM CR-8005",ver="1.0k"
UTM will split this at CD-ROM, which results in an error when you attempt to run the VM.  Of course, the hardware in question won't recognize the CD-ROM drive without this label, so it can't just be modified to remove the space.
Configuration

UTM Version: 2.x and 3.x up to 3.0.4
OS Version: macOS 12.2
Apple Silicon

We currently support quotes at the start and end of an argument but not in middle of one https://github.com/utmapp/UTM/blob/master/Managers/UTMQemuSystem.m#L703

Wouldn't it make more sense to split at \S- instead of at \S?  QEMU requires argument markers for all arguments.


segmentation fault when using dart with continue training 2

Hello,
My problem is related to #984. I have the last version and I am using mac os.
I have also the problem of segmentation fault when I am trying to use dart with continue training:
I am doing:
        gbm = lgb.train(params,
                        lgb_train,
                        num_boost_round=10,
                        valid_sets=lgb_train,
                        feature_name=header)
        y_val = gbm.predict(testset.x)
        y_train = gbm.predict(trainingset.x)
        ...
        nb_tree_by_it = 100
        nb_it = 100
        for jj in range(1, nb_it):
            lgb_train.init_score = None
            gbm = lgb.train(params,
                            lgb_train,
                            num_boost_round=nb_tree_by_it,
                            valid_sets=lgb_train,
                            feature_name=header,
                            verbose_eval=100,
                            init_model=gbm
                            )
             ...

What I am doing wrong? I also tried examples/python-guide/advanced_example.py, I get also a segmentation fault.

Can you try the latest version ?
It will be better if you provide a reproduce example with randomly generated data.

@gwuillou
we have tests for the "advanced_example", so it should not fail.

Hello,
I have the version lightgbm 2.2.2.
When I try the "advanced_example", the Segmentation fault: 11 appears randomly. sometimes I have also this error:
python(14274,0x7fff8985f380) malloc: *** error for object 0x3fd3b3c07d68: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
...
I am using mac osx high sierra,
Thank you,

I guess the problem is related to binaries release.
@gwuillou can you try to install from source ?
pip install --no-binary :all:
may related to: https://github.com/Microsoft/LightGBM/issues/1743

Closing due to inactivity.
Feel free to reopen if the error persists after installing from sources.


feat(appsync-modelgen-plugin): update Flutter ignored rules and add analysis note

Description of changes

Update the list of ignored lint rules
Add note about excluding files from analysis

Issue #, if available

https://github.com/aws-amplify/amplify-flutter/issues/462
Description of how you validated changes
I tested against the updated snapshots
Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added
[x] Changes are tested using sample applications for all relevant platforms (iOS/android/flutter/Javascript) that use the feature added/modified

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #248 (b5e4503) into master (87c1176) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #248   +/-   ##
=======================================
  Coverage   85.52%   85.53%
=======================================
  Files         144      144
  Lines        6605     6609    +4
  Branches     1517     1489   -28
=======================================
+ Hits         5649     5653    +4
  Misses        875      875
  Partials       81       81

Impacted Files
Coverage Δ

...appsync-modelgen-plugin/src/configs/dart-config.ts
100.00% <100.00%> (ø)

...delgen-plugin/src/visitors/appsync-dart-visitor.ts
96.91% <100.00%> (+0.02%)
:arrow_up:

Continue to review full report at Codecov.

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


Converted authentication middleware into an event subscriber

Preparation for #618: All middlewares that check for an authenticated user have been replaced by a single event subscriber that can be reused in Symfony.

Looks good to me, what do you think @mdwheele

:+1:


GitOps: Staging only version of PR #1810, update components/gitops/staging/base/kustomization.yaml

Same PR as https://github.com/redhat-appstudio/infra-deployments/pull/1810, but targeted to staging only, for testing purposes.

appstudio-hac-e2e-tests:
Waiting for registration-service to be available again
Waiting for registration-service to be available again
Waiting for registration-service to be available again
Waiting for registration-service to be available again
Waiting for registration-service to be available again
Waiting for registration-service to be available again
Waiting for registration-service to be available again
Waiting for registration-service to be available again
Waiting for registration-service to be available again
Waiting for registration-service to be available again

/retest

Merging as this is staging only, and the HAC tests already passed on #1810


[BUG] Out of Memory

Render says "Server unhealthy. Ran out of memory (used over 2GB) while running your code."
Deployed at Render, "Standard" package.
In short, with either of the following I get this crash:

Crawling and upserting within Flowise (see attached screenshot)
Upserting an Apify JSON dataset (markdown only) as local file within Flowise.

Both methods work for a site of 1k pages but fail for a site of 10k.

the amount of scraped pages might be too much, have you tried scraping for smaller sub pages?


Capsulte Collider Shape

**Godot version:**3.2
OS/device including version: Manjaro Linux 18.1.5 Kernel 5.4
Issue description:Capsule Collider Shape Appears Rotate horizontally even though transform rotation is on 0
Steps to reproduce:

Create new 3D Scene
Add Kinematic, or Rigid body
Create a Collision Shape and Select Capsule

Capsules are horizontal by default. They will be changed to be vertical by default in 4.0: #5813
Closing, as this isn't a bug :slightly_smiling_face:


shell.ts:440 Unexpected number in JSON at position 247

Visual Studio Code Version : [ 1.7.1]
Code Sync Settings Version : [ 2.3.8 ]
Operating System : [ Windows 10 1607 ]
Occurs On: [Start Up]
Proxy Enabled: [ No ]
I have posted frequently asked questions on
http://shanalikhan.github.io/2016/11/07/visual-studio-code-frequently-asked-questions.html
so you may able to resolve the error quickly.

have you manually added the GIST or token in settings ?

I didn't manually change the setting file
Basically, I accidentally fill wrong (in "Sync: Download Settings), tried to reset extension setting but nothing happened, no error notification appeared !

ok whats in the setting file ? can you share the file in users folder. with the name syncsettings.json

Oh I found the problem, just delete syncsettings.json and reconfig the extension resolved the issue. The extension crash when misconfiguring. Thank you anyway 🍡 , but can you add a feature that auto reset the setting file when it misconfiged ?

i will the extension setting entirely from syncsettings.json file to vs code own settings file so i dont think this will be feasible now.


p4 only plays bad if both skill level AND elos are adjusted

using only one of the combinations UCI_LimitStrength+UCI_Elo value 500 or Skill_Level value 1 doesn't result in 500 elo play, in fact it beats most engines i tested it against including toga III, and almost produced a draw against stockfish 11.
to get it to actually play at that level all mentioned options need to be enabled. from my reading of the release notes, either way should work. though maybe the Skill_Level lever should have a default setting of "uncapped" (0?) or something like that.

btw i wonder what depth is required to get the desired elo strength. i've read somewhere that human grandmasters can dive to max depth 12, so i figure for elo 500 one would need something like "go depth 2" ?

Yeah, something I overlooked is that if you set "Skill_Level" to 10 but leave "UCI_Elo" untouched, the GUI sets both and often the UCI_Elo value is the one that winds up getting used for the skill level. This will be fixed in future updates.
Patricia doesn't do limited depth or nodes searches because go depth 1 is still stronger than 500, and hangs thoughtless mates way more often than it should.

thanks for your answer, though the intent of the question was to find the depth level which should be used to accompany the desired elo setting. i figure even at 500 elo, if you let the engine search till it hits depth 30, it will still pick a pretty good move that's way above the desired level.

go depth 1 is still stronger than 500

does that mean it's actually depth 1 + quiescence search ?

yes, correct

though maybe the Skill_Level lever should have a default setting of "uncapped" (0?) or something like that.

on second thought, if this was my engine, i'd just remove the Skill_Level setting completely. those that would set it, would most likely look up which setting corresponds to the desired elo level, so they could just set the elo setting to begin with. and unlike the Skill_Level setting, it has a dedicated and well-known switch to toggle it on/off.


Copy method calls cleanup & IGListIndexSetResult hasChanges set to read only

Removed copy method calls from objects and properties that aren’t weak references or blocks.

@AdamRobertsEF are you splitting this into different PRs? Did you mean to close this one?

I'm having fun with git.
I submitted the first pull request and the GitHub app put it into the prior pull request, when I submitted the second. I reversed the commit, to put it into a new PR. Then pulled everything from master to get my fork in sync with this one, and it cancelled the PR.
Let's close this one and I'll figure out how to do it better on the next pull request. :-)

Quick note, need a new PR for this:

Missing CHANGELOG.md entry
Also need to change the index path method

I'll create a new PR when the my last PR has been accepted. The GitHub app doesn't handle multiple PRs at the same time.

@AdamRobertsEF which PR is that? You don't have any open atm.


Update for CP-SAT 9.9 9.10

The interface changed in CP-SAT of ortools 9.9. While it seems to be compatible with most parts, there are some breaking changes with specific features. Identify and fix those.
Also, there is the question of changing to the new more Pythonic interface. This is prettier but would be incompatible with older versions.

Half of the primer is already updated. The other half will come soon. The examples will also need to be updated.

I believe, I got once through the whole text. Only the separate example code is not updated, yet.


Make Ambari secure cluster work

Will work on this ASAP.

Will update the doc soon.

in the run.sh script there appears to be a syntax error at:
if s == 1; then
    echo '

if that helps

Thanks, @davidholiday. I have updated run.sh. The functionality of installing hadoop/ spark in secure mode is still IN PROGRESS, will implement it soon.


Boolean widget?

You added Choice, but no boolean?  True False please?
So the widget is a switch?

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

+1 looking for booleans

You should be able to just use bool:
e.g.:
@ComfyNode()
def maybe_invert_image(image: ImageTensor, invert: bool):
  if invert:
    image = 1 - image
  return image

Will add this to the example nodes soon

Ok, so that example works on an older ComfyUI, but seems to be acting up in the newer updates. I think the underlying format for the input in the node definition isn't quite right and ComfyUI is a bit more particular about it now.


Column Stopped Working

First, thanks for this project, I have enjoyed my keyboard for many months now.
Second, Just recently a column stopped working. I tried re-soldering what I think were the connections to the board and that did nothing. I am here asking for advice on how to trouble shoot or fix. It is the second column (going left to right) on the left side.

I had a similar issue, It was a bad solder joint in my controller(nrfmicro). test if all the gpio pins work.

Hey! Sorry for not responding. Funnily enough I had a similar issue with the number row not working on my second half for a while. In my case it was also a bad solder joint that was fixed by resoldering the headers for the nice!nano. Before that I had to wiggle the nice!nano a bit to "reconnect" the solder joints.
Since you already tried resoldering: You can also test this by shorting the relevant GPIO pins on the nice!nano with wires, pliers or something else conducting. Just be extra sure that you short the correct GPIO pins and don't fry the nice!nanos! Been there… 🙈 Check the schematics which GPIO pins would be shorted by the keyboard matrix for the column you are experiencing issues with - when shorting the GPIOs manually the system the keyboard is paired to should receive the key press. If not I'd assume something might be wrong with the nice!nano.


Jira app and liquidpy

I am not sure why, but I can't use liquidpy in the body of the jira app.
Example payload working:
{
  "update": {},
  "fields": {
    "summary":"$exec.summary",
    "issuetype": {
      "id": "10002"
    },
    "project": {
      "key": "TEST"
    },
    "description": {
        "type": "doc",
        "version": 1,
        "content": [{
          "type": "paragraph",
          "content": [{
            "text": "$exec.content",
            "type": "text"
          }]
        }]
      }
  }
}

Example payload NOT working:
{
  "update": {},
  "fields": {
    "summary":"$exec.summary",
    "issuetype": {
      "id": "10002"
    },
    "project": {
      "key": "TEST"
    },
    "description": {
        "type": "doc",
        "version": 1,
        "content": [{
          "type": "paragraph",
          "content": [{
            "text": "{{ $exec.content | replace: "a","b" }}",
            "type": "text"
          }]
        }]
      }
  }
}

Hey!
Please try to use single quotes for the replace. Wondering whether it's failing some string parsing here.

Ah, here's the fix we're looking for. Inside the string itself, it is required that the $exec.content is wrapped as a string, meaning it needs quotes around it. Doesn't matter if single or double.
{
  "update": {},
  "fields": {
    "summary":"$exec.summary",
    "issuetype": {
      "id": "10002"
    },
    "project": {
      "key": "TEST"
    },
    "description": {
        "type": "doc",
        "version": 1,
        "content": [{
          "type": "paragraph",
          "content": [{
            "text": "{{ "$exec.content" | replace: "a","b" }}",
            "type": "text"
          }]
        }]
      }
  }
}

Ok, I'll give it a try!

Hum I don't know what I am doing wrong but I don't think it works. I get a "There was an error parsing JSON. Check that your request body is valid."

Hum I don't know what I am doing wrong but I don't think it works. I get a "There was an error parsing JSON. Check that your request body is valid."

Could you try sending that exact JSON through the "Repeat back to me" action? That would show us the actual output being sent to the Jira target :+1:

I don't want to paste the result here because there are sensitive info, but when I run the exact same payload in repeat back to me, it works. But when I validate the json, I can see an error because of some "\n" which should be "\\n" I think. I'll try to replace "\n" with "\\n" see if it works

Hume somehow when I pipe in replace for "replace: "\n","\n"", other well escaped characters (like C:\) become problematic (like C:)

This works:
"content": [{
            "text": "{{ "$exec.content" | replace: "\\","\\\\" | replace: "\n", "\\n" | replace: "\"", "\\\"" }}",
            "type": "text"
          }

So besides the brain fuck, I guess we can close the issue :P

This works:
"content": [{
            "text": "{{ "$exec.content" | replace: "\\","\\\\" | replace: "\n", "\\n" | replace: "\"", "\\\"" }}",
            "type": "text"
          }

Hahah, nice workaround there. I'm re-opening this as a bug anyway though, as that

Linked to this, I am calling a webhook to call a subflow (so I don't need to display my user's API key in the parameters) using the HTTP app, and when receiving, ' are transformed in ".
I can confirm that in repeat back to me, nothing is transformed, so I assume it goes out the HTTP app as ', but can't confirm this.
Not sure why I am receiving "

Found it: https://github.com/Shuffle/python-apps/blob/master/http/1.1.0/src/app.py#L99
I think this is a bug!

I'll log a nw bug for this as it's not related to jira or anything else in this thread

Found it: https://github.com/Shuffle/python-apps/blob/master/http/1.1.0/src/app.py#L99
I think this is a bug!

Well that's dumb :D Could you make a pull request to fix it with the json parse/ast checks maybe?

Sure!

https://github.com/Shuffle/python-apps/pull/256

Closing as #256 is closed


Handle remaining disconnect scenarios when iOS rejects vc transfer

TODO

Reject VC transfer from IOS Wallet

The following PR will handle the reject scenario from iOS wallet and show disconnected message on verifier
PR for mosip/tuvali: https://github.com/mosip/tuvali/pull/24
PR for mosip/inji: https://github.com/mosip/inji/pull/573
The PRs have been merged in 20-02-2023 Release and the latest commit id on mosip/inji/develop is 6df8076


[Issue] : Updating contact page

Issue Description
Can't see text and options in the contact form and the theme doesn't align with the overall theme of the website
Are you a Hacktoberfest'21 contributor

[X] Yes, I'am Hacktoberfest'21 contributor

@saloni-15  let me know if you need help with this issue


RTU gateway error?

Describe the bug
hi i have a problem that i connect reactor unit 1-2 using turbine 1 and  reactor unit 3-4 for turbine number 2 and when i go look in the main and flow monitor it show Turbine 2 that use for reactor 3-4 offline but turbine for unit 1-2 is normal i have already try update software but it didn't work is there something i missing? can you help me?
Screenshots and Logs
Here what main and flow monitor show

Here is RTU gateway

right is turbine 1 and left is turbine 2

The numbering of boilers and turbines is on a per-reactor basis. If you have 4 turbines split across 4 reactors (one for each) you would have four "Turbine 1"s, each assigned to a different unit.

The numbering of boilers and turbines is on a per-reactor basis. If you have 4 turbines split across 4 reactors (one for each) you would have four "Turbine 1"s, each assigned to a different unit.

oh i get it Thankyou so much 🤍

Great, happy to help! :)


fix(radar): bind window events to run loops

Avoid autoruns.

Can you clarify your intent here a bit?

We are scheduling things on a non-existent run loop. This causes an autorun which is both slower and causes errors during Ember testing. If any of these events is triggered during a test, the test will fail due autoruns being disabled in tests.
When the callback is going to schedule anything on a run loop, it's important that we avoid autoruns by wrapping callbacks with run.bind in custom event listeners (which is this case), setTimeout, setInterval, ajax responses, etc.

Maybe we can also remove the scheduleOnce since it probably doesn't have an effect anymore?

@teddyzeenny thanks for this work, i think this may have resolved some issues in acceptance tests i was having.


Deployment Update

Summary
Package is published here: https://www.npmjs.com/package/graphql-limiter
These are changes are continuous deployment changes and other tweaks after seeing the package and clicking around.
This is PR is meant focus communication around final launch. Anything we want updated/changed before thursday.

[x] Note: need to consider installing "add-js-extension" package (vs real solution) for the build stage.
[x] Note: need to upadate version to 1.1.0 before publishing.
[ ] Note: file structure of package is as follows (main updated to "main": "./dist/src/index.js" to reflect this

dist
    src
        index.js
        middleware, utils, rateLimiters, analysis folder

This branch published as V1.1.0

This branch published as v1.2.0


Modified Trie to add prefix support to boolean contains(), plus unit …

…tests.

Checklist

[x] I've looked at the contribution guidelines.
[x] This pull request is complete and ready for review.

Description

There was already a function for a rapid search to see if the trie contains a word, but there was not an equivalent function that returned in the same (O) time to check for prefix matches.  The existing function findWordsWithPrefix() takes significantly longer because it tracks down all terminating nodes in the subtrie, and is a waste if you're just looking to know if the prefix matches.  A classic use case of this type of boolean request is to determine whether to return a document that matches a find-as-you-type prefix search on a pre-constructed trie of its tokenized contents.
I modified the contains() function to support this functionality for a project a couple years ago, and as I was updating that project it occurred to me that I ought to contribute this minor change upstream.  I've built similar classes in other languages, but your swift version was so clear and elegant that I just used it instead of porting another or rewriting it.
Unit tests were simply adapted from the existing findWordsWithPrefix() tests.

Thanks for the merge!


Add: class "Degree", relevant migrations file and test class

In the file models.py:
add the class "Degree", and add relevant fields and relevant methods.
In migrations directory:
create file "0007_Degree_test_data", and add test data. (see page 41; Task 5: Adding test data; in ToolIntroductionGit.pdf)
In the file tests.py:
add the class "TestDegree", and add relevant test methods. (see page 18 in Automated Software Test (B6).pdf for example)

Waiting for approval.
#52 #53

Done. closing …


Update doc/examples: BigQuerySource to ReadFromBigQuery

Hi team,
This is a doc only change to update the deprecated (since 2.25.0) BigQuerySource to the new ReadFromBigQuery.
As this is my first contribution, I am not sure if I need to also create a JIRA ticket along with doc only changes. If needed, I can create a ticket later on.
Thanks,
Bin
PS:  I noticed that that the old API is also still used in other places in the codebase 1) integration test codes 2) example/cookbook pipelines. I wonder if I should also update those to the new API?

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[x] Update CHANGES.md with noteworthy changes.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

hi @xinbinhuang ! Thanks a lot for the contribution. I would be super grateful if you would fix all the user-facing documentation-type spots where we need to update - though it's not a must. I'll review this PR for now.

hi @xinbinhuang ! Thanks a lot for the contribution. I would be super grateful if you would fix all the user-facing documentation-type spots where we need to update - though it's not a must. I'll review this PR for now.

Sure thing, I just add a deprecation notice to the doc and updated other places in the code examples to use ReadFromBigQuery, and I think that's all relevant to BigQuerySource. If I spot any other doc related places that needed to be updated, I will submit extra PRs.
BTW, do I need to create a Jira ticket to associate with this? I didn't at first because it's docs only, but now it seems to stretch out a bit more than docs.

@pabloem  Kindly reminder

Run Python PreCommit

hi @xinbinhuang ! It seems like the change breaks this test: https://ci-beam.apache.org/job/beam_PreCommit_Python_Commit/16449/testReport/junit/apache_beam.examples.snippets.snippets_test/SnippetsTest/test_model_bigqueryio/
It seems that you have to give names to the arguments so they will be received correctly by the transform

@pabloem  Happy New Year! Sorry for the delay. I just fixed the test as you mentioned!

@pabloem  Happy New Year! Sorry for the delay. I just fixed the test as you mentioned!

thanks @xinbinhuang !

thanks @xinbinhuang !


After the go router package, some computers can't click to start the task manager. Is the computer environment problem, lack of what necessary documents?

Hover doctor

$ hover doctor
PS E:\deskproject\order_app> Hover doctor
hover: Hover version v0.45.0 running on windows
hover: Sharing packaging tools
hover: darwin-bundle is supported
hover: Packaging darwin-dmg is not supported on windows
hover: To still package darwin-dmg on windows you need to run hover with the `--docker` flag.
hover: Packaging darwin-pkg is not supported on windows
hover: To still package darwin-pkg on windows you need to run hover with the `--docker` flag.
hover: Packaging linux-appimage is not supported on windows
hover: To still package linux-appimage on windows you need to run hover with the `--docker` flag.
hover: Packaging linux-deb is not supported on windows
hover: To still package linux-deb on windows you need to run hover with the `--docker` flag.
hover: Packaging linux-pkg is not supported on windows
hover: To still package linux-pkg on windows you need to run hover with the `--docker` flag.
hover: Packaging linux-rpm is not supported on windows
hover: To still package linux-rpm on windows you need to run hover with the `--docker` flag.
hover: Packaging linux-snap is not supported on windows
hover: To still package linux-snap on windows you need to run hover with the `--docker` flag.
hover: windows-msi is supported
hover:
hover: Sharing flutter version
Flutter 1.24.0-10.2.pre • channel beta • https://github.com/flutter/flutter.git
Framework • revision 022b333a08 (4 weeks ago) • 2020-11-18 11:35:09 -0800
Engine • revision 07c1eed46b
Tools • Dart 2.12.0 (build 2.12.0-29.10.beta)
hover: Flutter engine commit: https://github.com/flutter/engine/commit/07c1eed46b9d9b58df78566e9b8b2e42e80d3380
hover: Finding out the C compiler version
gcc (tdm64-1) 9.2.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

hover: Sharing the content of go.mod
module github.com/ablockhead/flutter_desk/go

go 1.15

require (
        // 非真实存在的github仓库，在下方被改写
        github.com/bettersun/go-flutter-plugin/hello v0.0.0
        github.com/go-flutter-desktop/go-flutter v0.42.0
        github.com/go-flutter-desktop/plugins/package_info v0.0.0-20201116195629-c3a5f6b84992
        github.com/go-flutter-desktop/plugins/shared_preferences v0.4.3
        github.com/go-flutter-desktop/plugins/url_launcher v0.1.2
        github.com/pkg/errors v0.9.1
        github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07 // indirect
)

// 使用本地目录改写上方的github仓库
replace github.com/bettersun/go-flutter-plugin/hello => ../go_plugin/hello
hover: Sharing the content of hover.yaml
application-name: ""
executable-name: ""
package-name: ""
license: ""
target: lib/main_desktop.dart
branch: ""
cache-path: ""
opengl: ""
engine-version: ""
hover: Sharing the content of go/cmd
go\cmd\main.go  go\cmd\options.go
PS E:\deskproject\order_app>

## Error output

<!-- Please share the output error with the associated hover command -->

Using `hover build [...] --XXX` to build my application, I get the following
error:
PS E:\deskproject\order_app> hover run
hover: Using engine from cache
hover: Cleaning the build directory
hover: Bundling flutter app
Running "flutter pub get" in order_app...                          434ms
Font subsetting is not supported in debug mode. The --tree-shake-icons flag will be ignored.
hover: Compiling 'go-flutter' and plugins
hover: Successfully compiled executable binary for windows
hover: Build finished, starting app...
hover: Running order in debug_unopt mode
hover: App 'order' exited with error: exit status<PHONE_NUMBER>

Sorry I don't understand your problem. Can you explain it a bit more?

对不起，我不明白你的问题。您能再解释一下吗？

After packaging, it can be installed and used normally on other computers. Only one computer can not start after clicking no response after successful installation. If you use an abnormal computer to run the project hover run, please give me a suggestion or idea. Thank you. Can you add my wechat or QQ or email? Wechat:<PHONE_NUMBER>3<EMAIL_ADDRESS>, email<EMAIL_ADDRESS>Thank you. It's urgent

对不起，我不明白你的问题。您能再解释一下吗？

打包后，可以在其他计算机上正常安装和使用。成功安装后，单击“无响应”后，只有一台计算机无法启动。如果您使用异常的计算机来运行项目悬停运行，请给我一个建议或想法。谢谢。您可以添加我的微信或QQ或电子邮件吗？微信：18770207933，qq：14984770355<EMAIL_ADDRESS>

对不起，我不明白你的问题。您能再解释一下吗？

对不起，我不明白你的问题。您能再解释一下吗？

Use a bad computer to run the project and report the error I described

Without additional information, we are unfortunately not sure how to resolve
this issue. We are therefore reluctantly going to close this bug for now. Please
don't hesitate to comment on the bug if you have any more information for us; we
will reopen it right away!
Thanks for your contribution.

Without additional information, we are unfortunately not sure how to resolve
this issue. We are therefore reluctantly going to close this bug for now. Please
don't hesitate to comment on the bug if you have any more information for us; we
will reopen it right away!
Thanks for your contribution.


Add invalid password message on registration_confirmation.html

…when query parameter warning is present.
Add the same message in form-info.component.html in REGISTRATION_CONFIRMATION raw template.
Closes gravitee-io/issues#3057

Hi @mpiffault , very nice work, can you just change the base branch to the 2.10.x ? That way, we can do a 2.10.5 maintenance release.
Regards


Update acme-lb with example-gatewayClass.

Update acme-lb with example-gatewayClass to make it more obvious that it is a placeholder gatewayClass that is intended to be replaced.
Add explanations and reference in simple-gateway.md on Gateway and GatewayClass concepts.

What type of PR is this?
/kind documentation
What this PR does / why we need it:
Make it more clear that acme-lb is meant to be a placeholder, and add reference to a list of available GatewayClass.
Which issue(s) this PR fixes:
Fixes #2697
Does this PR introduce a user-facing change?:
No, it is a doc change.

/assign @robscott

/release-note-none

/unhold

/lgtm


Update README examples to use ref callbacks

Refer to: https://github.com/okonet/react-dropzone/issues/246

Awesome! Thanks!


Docker Hub "plus" tag missing

https://hub.docker.com/r/crossbario/crossbar/tags/
Only community and latest tags are available

yeah, I'm aware .. working on it .. stay tuned;)


Next JS Load JS size is huge

Hi There,
Is there a setting to optimize the load time for the pages? THe first load JS has an issue that by default the entire app has about 188kb to load. I am using vercel to do the deployment, if there is a setting to gzip or optimize it, that will be great.
Here is an image when I run a build.

@B2o5T  If you have any feedback on the repo, do let me know.

which bundle size do you expect to have?

you can analyze your bundle size with @next/bundle-analyzer
where for 188kb

11kb css
44kb react/react-dom
30kb next.js
nextra-theme-docs 58kb
_app.mdx 17kb
rest of dependencies?

@B2o5T So that accounts for 160 KB + rest of dependencies. I see there is no way we can reduce that 160 kb ?

Feel free to investigate how we can reduce bundle size

closed by https://github.com/shuding/nextra/pull/2250
https://github.com/shuding/nextra/releases/tag/nextra%403.0.0-alpha.0
I made some improvements and you can see global bundle decreased https://github.com/shuding/nextra/pull/2245


Replace Enums for Artifact Types/Namespaces/Etc

Describe the feature you'd like to request
Not as dire a problem as Events but if we use artifact enums in any views the same issue will occur where we need to drop the view.
Describe the solution you'd like
Replace enums with FK relationships
Describe alternatives you've considered
n/a

OBE


collapsibles default to closed

A picture tells a thousand words
Before this PR

After this PR

Coverage remained the same at 44.162% when pulling 2650268ae2118f27639a4ec048c110a88f489729 on closedCollapsibleAsDefault into 9d963f82e4153e414c46e323b36afaec74e639ca on master.


No documentation for v4.0.7

There is no documentation for v4.0.7.
I am using v2.7.0 and I want to update to v.4.0.7, but there is no documentation on how to use v4.0.7.
I don't need update documentation. I want at least basic documentation how to use v4.0.7.
I can see at least one critical change, nms.on() function in v4.0.7 does not exist:
const nms = new NodeMediaServer(config);

// nms.on() is not a function
nms.on('postPublish', (id, streamPath, args) => {
  // ...
}

V4 to V2 is incompatible and destructive upgrade, do not exaggerate the version upgrade.

Is v4 stable, and will documentation be provided for it?

At present, it is still in the development stage, and only the basic functions are satisfied.
The documentation will be written after most of the functions are complete.

which version of ffmpeg  support in v4

There are so many unknowns. You should have developed v4 in a new branch, and keep the working version in master.

@illuspas any plan for release?


CAST-34282: add OPA rollout instructions

Description
Sometimes OPA deployment rollout is needed if istio log shows 503 UAEX error (as experienced by NERSC.) This PR adds the instructions for OPA deployment rollout.

Checklist

[ ] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[ ] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[x] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

/backport release/1.3 release/1.5 release/1.6


tclreadline: init at 2.3.7

Motivation for this change
tcl is nice
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @

@GrahamcOfBorg build tclreadline

/nix/store/ffl5ag647lkglhgd2yjdisajn5zzrr78-stdenv-darwin/setup: line 105: patchelf: command not found

right. disabled patchelf on darwin

@jtojnar good to go?

One thing I do not like is patching the ELF files. Surely, there must be a better way.

Is the binary patching a blocker? I'd write a patch for upstream, but I'm not much knowledgeable about autotools

Ping

@jtojnar what about it?

I guess I would be more confident with something like this:
diff --git a/pkgs/development/interpreters/tclreadline/default.nix b/pkgs/development/interpreters/tclreadline/default.nix
index 902d2cd6332..7535de8af73 100644
--- a/pkgs/development/interpreters/tclreadline/default.nix
+++ b/pkgs/development/interpreters/tclreadline/default.nix
@@ -10,13 +10,13 @@

 stdenv.mkDerivation rec {
   pname = "tclreadline";
-  version = "2.3.7";
+  version = "2.3.8";

   src = fetchFromGitHub {
     owner = "flightaware";
     repo = "tclreadline";
     rev = "v${version}";
-    sha256 = "07jch0qdv6n3hdkm6zj6vrfr0dsyq562k9y41mb71gqw6hp22hhp";
+    sha256 = "2IMiWC1kvXVKAiwY64ipgf29a1lng7xvt/5xCK4pVKI=";
   };

   nativeBuildInputs = [
@@ -24,14 +24,13 @@ stdenv.mkDerivation rec {
     autoconf
     libtool
   ];
+
   buildInputs = [
     readline
     tcl
     tk
   ];

-  preConfigure = "NOCONFIGURE=1 ./autogen.sh";
-
   configureFlags = [
     "--enable-tclshrl"
     "--enable-wishrl"
@@ -41,11 +40,15 @@ stdenv.mkDerivation rec {
     "--with-libtool=${libtool}"
   ];

+  preConfigure = "NOCONFIGURE=1 ./autogen.sh";
+
   # The provided makefile leaves some references to /build/ in RPATH, so we
   # just set it manually
   preFixup = stdenv.lib.optionalString stdenv.isLinux ''
-    patchelf --set-rpath "$out/lib:${tcl}/lib:${readline}/lib" $out/bin/tclshrl
-    patchelf --set-rpath "$out/lib:${tcl}/lib:${tk}/lib:${readline}/lib" $out/bin/wishrl
+    for file in $out/bin/{wishrl,tclshrl}; do
+      newRpath=$(patchelf --print-rpath "$file" | sed -E 's#^#:#; s#:/build/[^:]+##g; s#^:##')
+      patchelf --set-rpath "$newRpath" "$file"
+    done
   '';

   meta = with stdenv.lib; {

Sorry, missed your replies above. Yes that would be nicer.
I tried looking into the autotools build but was not able to determine where the rpath comes from. The only rpath reference in the generated Makefile is
libtclreadline.la: $(libtclreadline_la_OBJECTS) $(libtclreadline_la_DEPENDENCIES) $(EXTRA_libtclreadline_la_DEPENDENCIES)
	$(AM_V_CCLD)$(libtclreadline_la_LINK) -rpath $(libdir) $(libtclreadline_la_OBJECTS) $(libtclreadline_la_LIBADD) $(LIBS)

and that should be $out/lib.


Developing GUI on STM32F746 MCU(not dev kit)

Not particulary an issue, looking to develop a GUI for a student formula car on self-developed PCB based on the STM32F746 disco. kit.
So my problem is, that the pinout on my PCB's MCU(the same as the disco kit) is a little different from the discovery kit.
I have some experience in C programming, but I am not experienced for sure.
I've come to the conclusion that lvgl is the option with the smallest learning curve, compared to other GUI developing programs/libraries. It also seems to support external buttons and rotary encoders for required navigation.
I am looking for all sorts of tips/tutorials/advice on how to make lvgl compatible with my PCB and at the same time be able to receive (and send) data via CAN and sensors, save controller settings to flash etc.
So far i have worked through the lvgl documentation, analyzed demo codes/programs, and am hoping to start testing first GUI elements on the PCB next week.
Should I start editing(fix the pinout) and adding pieces of this lvgl ported discovery kit code or download the full lvgl repository and start porting it myself?

@tomtristan It would depend on how similar your PCB is to the discovery kit. The F746 discovery code assumes that it's a framebuffer-based setup.

I prefer to start you may use CubeMX and Atollic. You can solve pinout problems with alternate pin [1,2].
For example,

Label
From
To

LTDC_B3
PG11
PJ15

LTDC_B4
PI4
PG12

LTDC_B5
PI5
PK4

...

:clipboard: Reference

https://community.st.com/s/question/0D50X00009XkX9sSAF/nucleo-f303re-alternate-function-mapping
https://electronics.stackexchange.com/questions/118102/gpio-control-of-alternate-function-pin

@embeddedt The PCB has the same display(Newhaven 480x272 TFT-LCD, connected as ARGB888) as the discovery kit and has the same SDRAM. I left out all of the parts that are unnecessary for me - sdcard, uart, touchpanel plug etc.
So it should be pretty similar to the discovery kit, only difference being the pinout on the MCU.
If I were to go through the whole porting process myself, do you recon there would be many issues with the CubeMX generated HAL libraries and other drivers? Or is this process rather straight-forward and user feedback rather states that it's intuitive if one has at least some understanding of embedded systems programming and C language?
@seyyah thank you for the tip! I wasnt aware of that, even though this isn't my first PCB that I've designed using CubeMX. I have designed, had it manufactured, and tested the first revision of the PCB, so perhaps this could come handy in designing the second revision.

If I were to go through the whole porting process myself, do you recon there would be many issues with the CubeMX generated HAL libraries and other drivers? Or is this process rather straight-forward and user feedback rather states that it's intuitive if one has at least some understanding of embedded systems programming and C language?

I don't think the drivers are generated, but rather the configuration code for them. The HAL drivers are relatively easy to use based on my experience, but I've never had to configure the pinouts, clocking, etc. from scratch (I usually borrow most of that code from a demo).

Fortunately, using the project stm32f746_disco_no_os_atollic made porting this library quite easy, since it is not directly connected to the mcu's pins, but rather uses ltdc initing pin configuration instead(which is not dependant on the pinout).


pURL for reactor-netty-* libraries is incorrect

What happened:
When using reactor-netty in java applications, pURL of netty packages is incorrectly reported.
What you expected to happen:
For reactor-netty-core I expect the pURL to be<EMAIL_ADDRESS>but instead it is<EMAIL_ADDRESS>Steps to reproduce the issue:
Run syft codecentric/spring-boot-admin:2.7 -o syft-json | jq '.artifacts[] | select (.name | contains("reactor-netty-core")) | .purl'
The package purl is<EMAIL_ADDRESS>instead of<EMAIL_ADDRESS>Anything else we need to know?:
Is suppose this happens because reactor-netty-core jar does not include pom.xml, so groupId is deduced from manifest :
Bundle-Name: reactor-netty-core
Bundle-SymbolicName: io.projectreactor.netty.reactor-netty-core

but in this case Bundle-SymbolicName includes both groupId and artifactId...
Perhaps a workaround can be to remove the value of Bundle-Name field from the Bundle-SymbolicName ?
Environment:

Output of syft version:

Application:     syft
Version:         0.90.0
BuildDate:       2023-09-11T21:22:00Z
GitCommit:       b82c0ffc3417bdc8c38f4633af95a668ec29fa35
GitDescription:  v0.90.0
Platform:        linux/amd64
GoVersion:       go1.21.0
Compiler:        gc

OS (e.g: cat /etc/os-release or similar):

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"

Since opening this issue, it seems that this is now producing the correct purl:
 syft codecentric/spring-boot-admin:2.7 -o syft-json | jq '.artifacts[] | select (.name | contains("reactor-netty-core")) | .purl'
 ✔ Pulled image
 ✔ Loaded image                                                                                codecentric/spring-boot-admin:2.7
 ✔ Parsed image                                                                                sha256:15441f975812051bf22e63b5284a96bec6d8f91192ddb4281acee601c6edbecc
 ✔ Cataloged contents                                                                                cdb3f470ccf968f64497806bfbc033be0857984123ee27b6e560d0d1bbfe90af
   ├── ✔ Packages                        [92 packages]
   └── ✔ Executables                     [1,047 executables]

<EMAIL_ADDRESS>
Note, this is different than the noted purl from the issue description (the namespace has an extra .netty), however, this latest result from syft is what we'd expect based on the pURL spec for maven packages:

The group id is the namespace and the artifact id is the name.

Note that the group ID and artifact ID for https://mvnrepository.com/artifact/io.projectreactor.netty/reactor-netty-core/1.0.25
is io.projectreactor.netty and reactor-netty-core.


Add an option to refresh the containers cache on certain filters

Signed-off-by: Wayne Song<EMAIL_ADDRESS>

Build failure.
$ GOOS=linux go build
# github.com/docker/swarm/cli
cli/flags.go:158: flLeaderTTL redeclared in this block
	previous declaration at cli/flags.go:153
cli/flags.go:162: flLeaderTTL redeclared in this block
	previous declaration at cli/flags.go:158
The command "GOOS=linux go build" exited with 2.

Fixed.

Build is now successful. There appear to be some failing tests but they don't seem obviously related to this PR.

Addressed comments.

LGTM


0.18.26: sed: can't move '/opt/factorio/config/config.iniJKcLgm' to '/opt/factorio/config/config.ini': Resource busy

When my system restarted my containers with 0.18.26, They all stopped at the config.ini copy/move.
As you may recall, I got bit by a config.ini bug with 0.18.25. I still had the workaround in place. I've tried it after backing out the config.ini workaround to see if that was the issue, it appears not.
Checking for update of mod Krastorio2...
  Already up-to-date.
++ id -u
+ [[ 0 = 0 ]]
+ usermod -o -u 845 factorio
usermod: no changes
+ groupmod -o -g 845 factorio
+ chown -R factorio:factorio /factorio
+ SU_EXEC='su-exec factorio'
+ sed -i '/write-data=/c\write-data=\/factorio/' /opt/factorio/config/config.ini
sed: can't move '/opt/factorio/config/config.iniJKcLgm' to '/opt/factorio/config/config.ini': Resource busy

Here are the permissions on my volume that has my config.ini:
ls -la factorio1/volume/config/config.ini
-rw-r--r-- 1<PHONE_NUMBER>1 May 24 12:03 factorio1/volume/config/config.ini

Do you still have the config.ini mounted?
If so it can't be moved which is a limitation of Docker.
$ touch test
$ docker run -v $PWD/test:/test debian
/# mv test test2
mv: cannot move 'test' to 'test2': Device or resource busy

Can you mount the underlying directory instead of the file directly? If I remember correctly the config.ini should be in the config directory which you can safely mount and move the config file.
If this does not work I could try coming up with a workaround to write the file directly.

I’m not in a position to test at the moment but here is my docker-compose volume stanza:
volumes:
 - ./volume:/factorio
 - ../scenarios:/factorio/scenarios
 - ${PWD}/volume/config/config.ini:/opt/factorio/config/config.ini

Remming out the direct mounting of config.ini allowed it to come up.
I can't recall why I was mounting that file in as a volume. Looking back I was doing it over a year ago. I've removed it and will be running more "best practices now".
Thanks!


[Task]: Fix the issue that prevents stronghold backups from being created while onboarding

Task description
While onboarding some users are not able to create stronghold backups. The creation fails with the warning: "Something went wrong."
Requirements
TBD
Acceptance criteria
TBD
Creation checklist

[ ] I have assigned this task to the correct people
[X] I have added the most appropriate labels
[X] I have linked the correct milestone and/or project

When this error occurs it is not even possible to skip the backup anymore. Every time the skip button is pressed the warning appears again. The application has to be restarted, which means the onboarding needs to be done again.


How can I use this to encrypt with private key.

I have learned how to encrypt with public key ,and in my case ,I must encrypt something with private key .
I tried only change the PublicKeyFactory to PrivateKeyFactory in the example which is given in this page:
http://www.mysamplecode.com/2011/08/java-rsa-encrypt-string-using-bouncy.html
But it didn't work,and I got a Exception as:
java.lang.IllegalArgumentException: unknown object in getInstance: org.bouncycastle.asn1.ASN1Integer
Please help me ,pls.

I can't look at the example but my guess is you are using X509EncodedKeySpec. The exception is what I would expect if a direct encoding of an RSA key was passed to a key factory rather than an encoded SubjectPublicKeyInfo. Regardless of the algorithm X509EncodedKeySpec will only work with a full SubjectPublicKeyInfo encoding.


Add UnusedBonesByReferencesTool

Closes #103

I found AvatarOptimizer is executed after stripping EditorOnly GameObjects

EarlyProcessor is not executed on Play but stripping EditorOnly is not performed on play so I accept that for now.