Getting error while installing ng add @ng-toolkit/universal

I'm submitting a...

[ ] C:\ORGOSIAS\orgosias>ng add @ng-toolkit/universal
Installing packages for tooling via npm.
ERROR: Invalid rule result: Function().
ERROR: If you think that this error shouldn't occur, please fill up bug report here: https://github.com/maciejtreder/ng-toolkit/issues/new
INFO: stacktrace has been sent to tracking system.
Nothing to be done.

[ ] Feature request
[ ] Documentation issue or request

In package

[ ] @ng-toolkit/init
[ ] @ng-toolkit/serverless
[ ] @ng-toolkit/universal
[ ] @ng-toolkit/pwa
[ ] @ng-toolkit/firebug

Current behavior

Expected behavior

Minimal reproduction of the problem with instructions

Example repository

What is the motivation / use case for changing the behavior?

Environment

Angular version: X.Y.Z

- Node version: XX
- Platform:

Others:

Hello @krei-school,
Please use ng add<EMAIL_ADDRESS>instead, for some reason, the package version being installed is a old version.
Cheers!

Hi @KingDarBoja ,
Thank you, but still getting same error even i tried with below
(current: {"os":"win32","arch":"x64"})

<EMAIL_ADDRESS>updated 1 package in 29.564s
Installed packages for tooling via npm.
ERROR: Invalid rule result: Function().
ERROR: If you think that this error shouldn't occur, please fill up bug report here: https://github.com/maciejtreder/ng-toolkit/issues/new
INFO: stacktrace has been sent to tracking system.
Nothing to be done.

Could you please provide any solution for that
Thanks,
Vijay.

@krei-school I have no idea which rule would be causing this behaviour. Can you provide more info like your package.json file, Angular version and so on?
I am waiting for my PR to be reviewed in order to fix those issues and ensure every package is working fine.

HI, I'm getting the same error.
 Excluding it from installation.
[3/4] Linking dependencies...
warning " ><EMAIL_ADDRESS>has unmet peer dependency "<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has unmet peer dependency "joi@*".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>|| ^8.0.0 || ^9.0.0".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>|| ^8.0.0 || ^9.0.0".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>|| ^8.0.0 || ^9.0.0".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has unmet peer dependency "jasmine@>=3".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>warning "@ng-toolkit/universal ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>warning "@ng-toolkit/universal ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>warning "@ng-toolkit/universal ><EMAIL_ADDRESS>has unmet peer dependency "<EMAIL_ADDRESS>[4/4] Building fresh packages...
success Saved lockfile.
success Saved 1 new dependency.
info Direct dependencies
└─<EMAIL_ADDRESS>info All dependencies
└─<EMAIL_ADDRESS>Done in 13.10s.
Installed packages for tooling via yarn.
ERROR: Invalid rule result: Function().
ERROR: If you think that this error shouldn't occur, please fill up bug report here: https://github.com/maciejtreder/ng-toolkit/issues/new
INFO: stacktrace has been sent to tracking system.
Nothing to be done.

@rubenjimenez Can you upgrade the project to Angular 7 then Angular 8 and test it again?
I do feel like it is being related to Angular version mismatch.

Hi @KingDarBoja,
I upgraded the project to Angular 8 and apparently it's working like a charm.
I tried @ng-toolkit/universal installation again and I got a different error:

iMac-de-Ruben:folder ruben$ ng add @ng-toolkit/universal [--http false]
Installing packages for tooling via yarn.
yarn add v1.17.3
[1/4] 🔍  Resolving packages...
warning @ng-toolkit/universal > @ng-toolkit/_utils ><EMAIL_ADDRESS>All projects should upgrade to our universal JS notifier: "@bugsnag/js". See https://github.com/bugsnag/bugsnag-js/blob/master/UPGRADING.md for more details.
warning @ng-toolkit/universal > @ng-toolkit/_utils > bugsnag > cuid ><EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 🔨  Building fresh packages...
success Saved lockfile.
success Saved 7 new dependencies.
info Direct dependencies
└─<EMAIL_ADDRESS>info All dependencies
├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>└─<EMAIL_ADDRESS>✨  Done in 18.81s.
Installed packages for tooling via yarn.
Two or more projects are using identical roots. Unable to determine project using current working directory. Using default workspace project instead.
Two or more projects are using identical roots. Unable to determine project using current working directory. Using default workspace project instead.
INFO: Project property is set to 'angular-material'.
ERROR: Cannot read property 'unshift' of undefined
ERROR: If you think that this error shouldn't occur, please fill up bug report here: https://github.com/maciejtreder/ng-toolkit/issues/new
INFO: stacktrace has been sent to tracking system.
Nothing to be done.

Thanks!

@KingDarBoja, forget my previous post. I solved all the errors by selecting the proper version of universal:
ng add<EMAIL_ADDRESS>Without indicating the version it install 1.2.1, which seems to be broken. At least, with Angular 8.
The main problem now is that it doesn't work. According to the video tutorial, after installing, running ng build --prod and node server it should work but it doesn't.
I try to do curl localhost:4040 and I don't get the prerendered page. It's worthy to mention that the installation didn't change any file in my project. Neither update nor create. I guess this is not the expected behavior.
Any idea?
Thanks!

@rubenjimenez Sorry for the late response, been busy with job and other stuff.
And yeah, I think the current version is a bit bugged, hopefully the next version will fix several issues (as I made the PR for it) and properly install the latest version.
Of course, we do have to wait for the author to release it at npm first.
Cheers!

@rubenjimenez Please try again, latest version has been released and it should be fixed now 💯

I can not get ng-toolkit/universal 8.1.0 to work with Angular CL 11.0.3. is it only compatible with version 8.1 and lower?


Exclude time range check in report details for notebooks reports

Signed-off-by: David Cui<EMAIL_ADDRESS>Description
Exclude checking time range for notebooks report details
Check List

[ ] New functionality includes testing.

[x] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #116 (53d183c) into main (c0b29d3) will decrease coverage by 9.98%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main     #116      +/-   ##
============================================
- Coverage     63.40%   53.42%   -9.99%
  Complexity      309      309
============================================
  Files           101       69      -32
  Lines          4400     2454    -1946
  Branches        668      277     -391
============================================
- Hits           2790     1311    -1479
+ Misses         1442      978     -464
+ Partials        168      165       -3

Flag
Coverage Δ

dashboards-reports
?

reports-scheduler
53.42% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ublic/components/report_definitions/utils/index.ts

...ards-reports/public/components/main/main_utils.tsx

...rt_definitions/report_settings/report_settings.tsx

...ions/report_settings/report_settings_constants.tsx

dashboards-reports/server/model/index.ts

...s-reports/public/components/main/reports_table.tsx

...orts/server/routes/utils/converters/backendToUi.ts

.../report_definitions/report_settings/time_range.tsx

...ublic/components/main/report_definitions_table.tsx

...ic/components/main/loading_modal/loading_modal.tsx

... and 21 more

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 c0b29d3...53d183c. Read the comment docs.

is there a more precise identifier other than notebooks-dashboards string? if not it's fine

Yes I'll replace it with checking reportParams.report_source, was in a rush with using the URL check.


Add updateGitSubmodules

My Xcode Bot is using an outdated version of my repo's submodules. It builds old submodule code despite the submodule being updated.

Parent repo uses submodule v1.0.
Parent repo updates submodule to v2.0 and commits subproject commit to github.
The "on commit" Xcode Bot is run for the new commit automatically.
Parent app is uploaded to TestFlight.
TestFlight build contains the correct v2.0 submodule commit (the last commit to parent repo).
However the TestFlight build contains the outdated submodule v1.0 code.

A pre-integration trigger of cavejohnson updateGitSubmodules will update the repo's submodules to the specified commits (which Xcode should do automatically...) prior to creating the build.

I'm merging this because I am pretty laid back about merges, but ideally this should get fixed upstream.  I've opened #14 to see if some headway can be made on that.

:+1: for fixing upstream if we can.


Small docks refactor

Cleans up View class and rename it to IconAwareView
Moves responsibility of creating hexEdit and Visualization tabs to mainWindowWithDetachable...
new function MainWindowWith..:: wrapWithDock() for better code reuse
enabled Log&Database Tabs closability

Please run make format on the code (there are warnings on Jenkins about this).
You should also fix your mail in commits metadata, GitHub doesn't link them with your account ;)


add missing commas in a few struct definitions

This is about code in the readme, not code per se (so no unit tests to offer). Three of the examples are missing a needed comma in the config struct.
Signed-off-by: Charlie Arehart<EMAIL_ADDRESS>

I have some other suggestions to offer, but I wanted to put this first one out to see if PRs are being even considered (I see an open one from 2015).
FWIW, I will note that the code worked just fine in CF2021. :-)  And Johnny, if you may have moved on from all of this long ago and really don't care to be maintaining it, I'd be happy to fork it and update more of the readme (and take on maintaining it). Just want to see what you think, first.
If I don't hear back in some days, I'd proceed to do that, and start pointing people at mine (which would clearly acknowledge your original efforts. I'd also point to the Ortus variant now as a ColdBox module. But we need something that stands alone for CFML folks not using CB.)

Folks?


Better grouping of user defined commands

Now they are randomly printed, most often out of sequence, under the heading 'user defined commands'.   This should be more structured.
for M1 alphabetical sorting is ok, for M2 define a higher level grouping structure.

This is an issue to fix in spring-shell


Enhancement: Playback volume in GUI Adjusts Based Upon Volume Setting

Basically, increasing or lowering the playback volume in the GUI based on the song's individual volume setting for ingame playback, to give a a sense of what songs may end up being too loud or quiet when in use.

While I would love to get it to work i don't have enough information currently. Increasing or lowering a value arbitrarily in the GUI would not necessarily result in the same increase/decrease in game.
It'd be great to get the top/bottom volume values in game, then I can do some tests.

While I would love to get it to work i don't have enough information currently. Increasing or lowering a value arbitrarily in the GUI would not necessarily result in the same increase/decrease in game.
It'd be great to get the top/bottom volume values in game, then I can do some tests.

Working on a proposition #42


Implement Auth

Instructions

Set up a route to create an account using email and password.
Set up a route to reset password.
Set up a route for email action used to verify email and reset password (refer to the EmailAction component)
Set up a route to log in with email and password.
Set up a route to log out the user.
For all of these functionalities, refer to the Auth Utils file and the components from the frontend.
Add an authInterceptor to the backend (this intercepts all API calls and ensures the user token is valid, otherwise refresh it)

Summarized flow
Signing Up

input email and password
get a verification email
verify email (link in email redirects to website)
show confirmation page

Logging in

input email and password
if not verified or account does not exist, show error message
successful login redirects to dashboard page

Forgot password

input email
received email link (redirects to website)
input new password
update in FIrebase

Notes

Remember to add the frontend .env.
Each of the pages can be minimal for now since the design is not finalized yet.
Creating a user in the database and anything to do with roles can be put on hold until the user table is created.
The signup functionality should be reusable for admins to create drivers and super admin to create admin accounts on a separate page.
Sign up page itself is temporary for now so that we can create accounts with firebase, but it will eventually be removed.
A lot of the functions should be able to be copied and pasted from [Auth Frontend], but there may be errors.
Since TLs (specifically @hang-m-cao) will be assisting on this task, they will be able to provide support as needed, but the majority of the work should still be done by the devs.

Acceptance Criteria

Signing up creates an account in the Firebase console. The user email should receive a verification email.
Can log in with an existing account. Cannot log in if the account does not exist or the user email is not verified.

On successful login, redirect to the / for the dashboard.
Store relevant information in cookies.

Any error shows the corresponding error on the page.
A successful login redirects to a "dashboard" page (this can be any temporary page for now).

Can sign out and doing so clears any cookies set. Redirect to login page

A user who tries to access any Protected Route is redirected to the login page.
Implement one sample Protected Route that is accessible to certain roles (ex: only super admin or admin can access).

Resources

CTC Auth Project Frontend
CTC Auth Project Backend
Auth Utils

createUserInFirebase
registerWithEmailAndPassword
logInWithEmailAndPassword
sendPasswordReset

Axios Interceptor
Functionality behind refresh token

As always, feel free to pm Justin or Hang on Slack for support
Related backend issue 11

/cib implement-auth


break pec cycles: refactor ParticleExecutionHost ctor to accept list of PecOuterPortImpl

addresses https://github.com/PolymerLabs/arcs/issues/1878

i think #4378 is better, closing this one!


Support LAMP based monthly csvs

There's a new dataset for monthly dumps based on LAMP with slightly different formatting
Use that new file and handle its formatting

Already using this for data already in the production dashboard, going to merge to avoid someone parsing data with the old version


(C# documentation) Improve Metadata.Entry documentation

Add notes about the parameters in public constructors of Metadata.Entry, and Metadata's Add methods (which call the aforementioned constructors), to clearly indicate what a valid key should be, and the fact that it is converted to lowercase. Seems like an important enough side effect that it should be explicit in the documentation.

Thank you for your pull request. Before we can look at your contribution, we need to ensure all contributors are covered by a Contributor License Agreement.
After the following items are addressed, please respond with a new comment here, and the automated system will re-verify.

User @alexvy86 isn't covered by a CLA. They will need to complete the form at https://identity.linuxfoundation.org/projects/cncf

Regards,
CLA GitHub bot

CLA signed.

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,964,802      Total (=)      1,964,802

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,887,471      Total (>)     10,887,470

 No significant differences in binary sizes

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,964,802      Total (=)      1,964,802

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,887,464      Total (<)     10,887,469

 No significant differences in binary sizes


Benchmarking (python-side)

Please work..!

:white_check_mark: Build carball 0.6.64-gkhdupdk completed (commit https://github.com/SaltieRL/carball/commit/f281cea0eb by @DivvyCr)

:white_check_mark: Build carball 0.6.64-gkhdupdk completed (commit https://github.com/SaltieRL/carball/commit/f281cea0eb by @DivvyCr)

:white_check_mark: Build carball 0.6.64-ahfdlotx completed (commit https://github.com/SaltieRL/carball/commit/7c7383fe30 by @DivvyCr)

:white_check_mark: Build carball 0.6.64-ahfdlotx completed (commit https://github.com/SaltieRL/carball/commit/7c7383fe30 by @DivvyCr)


MFA Licensing Clarification

To clarify, if we are deploying a Hybrid Azure AD Joined Key Trust Deployment in a non-federated environment, we do not need Azure AD Premium licenses for our users, so long as we perform MFA directly against Azure, correct? Does the MFA included in our Office 365 Azure AD license suffice in this case?

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

ID: c47de28c-e44b-ca73-efde-fae303e0d3f8
Version Independent ID: 71202a24-5b2f-844a-acce-d48c46873f2b
Content: Hybrid Key trust Windows Hello for Business Prerequisites (Windows Hello for Business)
Content Source: windows/security/identity-protection/hello-for-business/hello-hybrid-key-trust-prereqs.md
Product: w10
Technology: windows
GitHub Login: @MikeStephens-MS
Microsoft Alias: mstephen

Hy @mypil , According to the following article, what the reporter says is true. I will adjust the article accordingly.
https://docs.microsoft.com/en-us/windows/security/identity-protection/hello-for-business/hello-hybrid-key-new-install

@mypil Created PR https://github.com/MicrosoftDocs/windows-itpro-docs/pull/3348

@officedocsbot assign @mypil

@arourke - Thank you for submitting feedback.
From our understanding, the issue has been resolved but it may take a few days for the merged content to appear in the article. If you feel it hasn't been resolved, please re-open this issue.
Thank you for your contribution to make the docs better! Much appreciated!

@officedocsbot close


Add functional tests for comments

Part of userstory: #651

@debloper , this issue is duplicate of https://github.com/fabric8io/fabric8-planner/issues/480
you can  close this issue , we can tracj #651 in #480

Dups #480


Added some more minor code generation improvements

This fails on Linux with
      actonc: fd:7: hGetContents: invalid argument (invalid byte sequence)

this comes from when we run zig cc using readCreateProcessWithExitCode. LANG is not set in env, so defaults to LANG=C I think. I suppose the output from the process we run might not be utf8. We don't have control over the file handle here, so can't force an encoding anyway.
I wrote a patch (#1276) to change the way we run processes, gaining control over the pipes and it indeed fixes this problem (although I don't quite understand why, because it works even without forcing an encoding, the refactoring alone is enough)... but that introduces other problems, now there are tests that time out. Very strange.

Hi,
I saw that. The fault is with builtin_auto/builtin_functions_test.act, which does indeed contain a few non-ASCII  characters in UTF8. I note also that it is actonc which complains when it reads the file? But the most surprising thing is that it appears now. This test has been unchanged for a long time and I don’t think that anything in the pull request has anything to do with this. Could it have anything to do with a new zig? But I take it that the main branch still passes CI.
Björn

On 18 May 2023, at 17:25, Kristian Larsson @.***> wrote:
This fails on Linux with
  actonc: fd:7: hGetContents: invalid argument (invalid byte sequence)

this comes from when we run zig cc using readCreateProcessWithExitCode. LANG is not set in env, so defaults to LANG=C I think. I suppose the output from the process we run might not be utf8. We don't have control over the file handle here, so can't force an encoding anyway.
I wrote a patch (#1276) to change the way we run processes, gaining control over the pipes and it indeed fixes this problem (although I don't quite understand why, because it works even without forcing an encoding, the refactoring alone is enough)... but that introduces other problems, now there are tests that time out. Very strange.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

@sydow no, it is not when actonc directly reads the file. We have our own readFile function that I wrote awhile back that forces utf8 encoding when we read .act files. For .ty files we have our own readFile which doesn't enforce an encoding, but this has never been a problem, besides the files are rather binary, so perhaps we should do openBinaryFile instead of openFile?
But anyway, the hGetContents that fails is called from within the System.Process library. We call readProcessWithExitCode. It runs a process and sets up pipes to read that process stdout and stderr. It is somewhere there that it fails with this invalid byte sequence.
So whatever process we are running must output something to stdout or stderr that it doesn't like, perhaps a warning and then it includes part of the source file, thus we see the invalid byte sequence and error out. Perhaps your changes to CodeGen now outputs code that cc warns about, includes a line of the source code in the warning (does it ever do that?) and thus the error?
A workaround would be to set a locale in CI, like LANG=en_US.UTF-8 and defer a more proper fix for later

I pushed a commit to set LANG and LC_ALL but it didn't make a difference, so back to the drawing board...
I did make some progress in my other branch (#1276) to entirely rework how we run subprocesses and got it running locally. It was like my 3rd attempt and the earlier ones failed and deadlocked but while developing this 3rd one I realized that I had a an actual block, like I was actually waiting on zig which in turn was trying to acquire a lock for building a file. The lock was held by another zig process from an earlier version of my code which was blocked on my buggy code in actonc :P so after killall actonc this 3rd version worked alright, but my 2nd attempt and perhaps even 1st attempt could also potentially have worked :P
Anyhow, this 3rd version works also in CI except for the brew test where it reproducibly hangs and brew test times out after 5 minutes. I can't figure out why. Not possible to reproduce locally (on macos) and debugging in CI is hell.
My latest attempt is now in #1277 and it appears to pass. It's treating stdout & stderr output as bytestrings as to avoid any encoding issues altogether. Will rerun it a couple of times just to make sure but does look like we have a working path forward there.. now to check if it makes this branch pass...

I did 3 reruns of #1277 and they all passed CI just fine, so I think I've solved the process running stuff there now. It's merged to main and I have now rebased this branch on main. CI running now... will hopefully pass :)

Kristian, you’re a phenomenon.

On 19 May 2023, at 12:03, Kristian Larsson @.***> wrote:
Merged #1274 into main.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.


GResource bindings

Does a plan exist to support GResource apis?
Nowadays some of gtk apis have _from_resource variations, so embedding GResource bytes with include_bytes! is convinient in gtk-rs programming.
Currently I use GResource with -sys crates directly, but it's ugly (the code is below).
let res_bytes = include_bytes!("resources/resources.gresource");
unsafe {
    // gbytes and resource will not be freed
    let gbytes = glib_sys::g_bytes_new(res_bytes.as_ptr() as *const libc::c_void, res_bytes.len());
    let resource = gio_sys::g_resource_new_from_data(gbytes, std::ptr::null_mut());
    gio_sys::g_resources_register(resource);
}

(the full project source is here: https://github.com/sunnyone/gresource-gtkrs-example)
I lack the knowledge of Rust to create GResource binding, especially a part to determine correct lifetime of GResource. I hope a GResource binding will be implemented smartly.

Binding GTypes is quite difficult and it takes time to determine what's the best way to do it. It'll be done, but I don't when.
cc @gkoz

We'll generate some gio classes soon. I'll keep an eye on this.
@sunnyone I think you can avoid extra copying by changing g_bytes_new to g_bytes_new_static because include_bytes returns &'static [u8; N].

Thanks for replies and a advice! I'm looking forward to using new classes.

The safe translation of the above should now be
let bytes = glib::Bytes::from_static(include_bytes!("resources/resources.gresource"));
let res = gio::Resource::new_from_data(&bytes).unwrap();
gio::resources_register(&res);

Thanks!

 However I'm having some issues because Glib seems to need 8-byte-aligned data. If the data included via include_bytes!() is not aligned, the program crashes as soon as a resource is referenced from code, e.g. via Builder::new_from_resource(...):
GLib:ERROR:/build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gvariant-serialiser.c:167:g_variant_serialised_check: assertion failed (alignment & (gsize) serialised.data == 0): (5 == 0)

The C source file generated by glib-compile-resources resources.gresource.xml --generate-source assures aligned data with the following line:
# define SECTION __attribute__ ((section (".gresource.res"), aligned (8)))

Unfortunately, Rust's #[repr(align = "64")] proposal hasn't landed yet. In nightly Rust you can use the hack from here. But in stable Rust my code only works if the compiler has coincidentally put the gresource bytes at the right location. Do you have any ideas how to solve this?

I've got a temporary solution: If glib::Bytes copies the static data, it seems to be aligned (however I haven't found any documentation on this).
// first make &[u8;...] unsized because &[u8;N] doesn't implement std::borrow::Borrow<[T]> for N>32
let resource_data: &[u8] = &include_bytes!("../res/res.gresource")[..];
let bytes = glib::Bytes::from(&resource_data);
let res = gio::Resource::new_from_data(&bytes).unwrap();
gio::resources_register(&res);

Is there a reason for glib::Bytes::new() not being public? Using new() directly the first line (&...[..]) shouldn't be necessary.

If the data included via include_bytes!() is not aligned,

Yeah, I've encountered this in this build-helper prototype. I had to forego include_bytes! and use array syntax (not that it matters much, it's automated anyway). The only solution I can see is to ask for an optional alignment argument. So far this is the only use case for such an extension I'm afraid.

If glib::Bytes copies the static data, it seems to be aligned

I suppose large allocations are likely to be aligned but one can't really depend on that.

Is there a reason for glib::Bytes::new() not being public? Using new() directly the first line (&...[..]) shouldn't be necessary.

Not sure now but it might be making new copy data didn't feel right and I wanted to leave other options on the table.


cache-dir created with wrong ownership when using process-user flag on 0.4.6

snmpsimd.py --process-user=nobody --process-group=nogroup --cache-dir=/tmp/snmp-cache
When running the above command with version 0.4.6, the newly created snmp-cache directory is owned by the user executing snmpsimd.py. On version 0.4.5 and below, the same command creates the cache directory with ownership assigned to the configurable process-user flag, ie. nobody.
This seems like a regression after the file permission changes in the new version.

Thank you for reporting this! Should be fixed and released shortly.

Let's see if commit 8e35fd57d49bab2cee59c154abb23b0bcc67fc8b fixes this problem?


Corrected errant parenthesis error.

Added unstructured events to Main config file.

+1

+1

+1


Authentication is not taking Place

In Multiple Login Pages Authentication is not taking Place only redirection of URL with antMatchers

Closing since the issue doesn't reproduce and due to inactivity.


Restriction on Copying and Scrolling

Description
The log viewer component currently prevents users from scrolling down while copying text. Consequently, only the text visible on the screen can be copied, making it impossible to copy the entire log or reach certain lines that are not initially visible.
The copying and scrolling work with key controls but not with the mouse.
Steps to Reproduce

Open the log viewer component.
Attempt to scroll down while copying the log text.
Observe that copying is restricted to only the visible text on the screen.

Expected Behavior
It should be possible to copy and scroll down the text within the log viewer up to a certain limit, including lines that are not initially visible.
Actual Behavior
Copying is restricted to the text visible on the screen, preventing the entire log text from being copied, including lines that are not visible.
Environment

Package Version: ^5.2.0
Browser: Chrome, Safari

Screenshots

This is an interesting problem, because since the log viewer is vitrtualized, it is only rendering the visible text in the DOM - there is no other text to copy. It might be that a button should be added to the log viewer's toolbar which adds the whole content in the stream to the clipboard?

I have a string of data separated by new lines and an overscan count of approximately 60. Initially, all lines are present in the DOM, and with the overscan count, I expect to copy at least 60 lines.
Copying and Scrolling works fine with keyboard controls, but it doesn't work with mouse.

hm... yeah using the overScanCount should enable you to copy more lines with mouse click. I'm not sure what's happening here. Will likely take more investigation, and I'm not sure we have bandwidth to dig into this particularly soon. If you discover anything else which may help in the investigation, let us know. We'd absolutely welcome a contribution.

Hi @nicolethoen, Has the issue been resolved in version 5.3.0? Do we need any extra props to be added?

Hi @nicolethoen, do we have any new updates?

I don't currently have an update. We haven't had a lot of resources to investigate the log viewer issues super recently. But it still has a P1 tag, so as soon as we do, this is toward the top of the list.

@dagrawalla
Our team began discussing this issue again during backlog clean up.
Would either of these solutions work for you?

The copy button does not have to place the contents of the UI into the clipboard. it could be wired up so that clicking the 'copy to clipboard' button copies the entire log file as long as it's available to the frontend. (Not just the visible text on the screen). I think you could wire this up without us needing to make any changes to the component itself.
alternatively, we could enable a non-virtualized version of the log viewer (this new feature would take more time since it's not currently part of the log viewer component). if it's not virtualized, then even if the text is non-visible in the log viewer, it'd still exist in the DOM and allow for it to be copied.

Would either of those solutions work for you?


trouble trying to import random-extra modules on elm 0.18

i'm using random-extra 2.0.0 compatible version with elm 0.18 but in spite of the package successfully installation and present on the packages folder of elm-stuff the compiler gives an error when trying to import one of the modules, say Random.String for instance, saying it cannot find the module in question. i'm on win10.
the only dependency for random-extra is elm-core, which my project uses version 5.1.1 which fits the spec for random-extra. i have tried to clean exact-dependencies.json with no avail, to reinstall everything from scratch, and also to clone the src locally and add a ref to it on the source-directories section of elm-package but the error persist on either cases. any sugestions are welcome. thx

turns out it was just a misconfig on my side on a fork of another project not an issue whatsoever with the package


Flyctl, Coder should be in main bucket?

flyctl (extras) is really similar to railway (main), both manage cloud resources on Fly.io and Railway respectively. It also fits the main bucket requirements. Therefore flyctl should be in the main bucket.
Also seems to be true for coder as well.

I am fine with this change, but I want some opinions from other maintainers:
@rashil2000 @tech189

Thumbs up from me!

Fine by me!

Moved the packages:
https://github.com/ScoopInstaller/Extras/commit/6c94883622ff18dfdaf6dcff3eb775da6d304246
https://github.com/ScoopInstaller/Main/commit/34791996725dc6f1d7332806ecd420ed32327b62


Travis-CI Repository Access Update Requires Organization Owner

What is the idea?
@fordnox

Mustafa Ergul (Support)
3:45 AM (3 hours ago)
to me
##- Please type your reply above this line -##
from Travis CI has an update for your ticket, #31168. If you'd like to add additional comments, please reply to this email:
Mustafa Ergul (Travis CI)
Aug 6, 2021, 4:45 GMT-3
Hey Timothy,
I have been checking your plan status on your account boxbilling and it seems like there is no plan on this account. With the new pricing model[1], you will need to at least sign up for a Free Plan to be able to trigger builds. Please visit this[2] link and select at least a Free plan.
I hope this helps, please let us know if you need further assistance, we will be glad to help.
Sincerely,
[1] https://docs.travis-ci.com/user/billing-overview/
[2]https://travis-ci.com/organizations/boxbilling/plan
Mustafa
Your Friends @Travis CI
Test and Deploy with Confidence.
www.travis-ci.com

Why would this be beneficial
Merging of pull requests and the passing of status checks.

Travis free plan has been enabled and builds are being triggered again

Thanks for your help.
Thanks
Timothy Webb Sr.
On Fri, Aug 6, 2021, 11:31 AM Benjamin Aerni @.***>
wrote:

Travis free plan has been enabled and builds are being triggered again
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/boxbilling/boxbilling/issues/924#issuecomment-894339877,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD24K7JSJQVWI2NUA7WHR53T3P557ANCNFSM5BVVXBDQ
.


Internationalization

Overall, that is impressive work! :+1:  :wink:
There are some little things to update. See my comments...
I will most likely add another one tomorrow about the preferences page.
You should also add a unit test to verify translation works (by dynamically setting the language preference).
Eventually, once everything is good, I will ask you to squash you commits. Indeed, given the way you merged your branch, I cannot do it myself during the merge. So, let's first fix and validate the PR's content. And then, I will let you squash your commits before merging.
BTW, did you know August 15th is a public holiday (non-working day).
We will make a brief audio tomorrow. :smiling_imp:

Missing MENU_WEB_SITE key (click the help menu to verify it).

As I suspected it, the preferences page does not look like the other ones.
Here is a short hint.

<rbcf-menu></rbcf-menu>

{{'PREFERENCES_PREFERENCES' | translate}}

		{{'PREFERENCES_MANAGE_SETTINGS_PREFERENCES' | translate}}

Language

		Please, select your language.

 {{'PREFERENCES_ENGLISH' | translate}}

 {{'PREFERENCES_FRENCH' | translate}}

Please, rework the dropdown list.
You should also update the routes so that preferences and preferences/language show the same content (until we add new preference pages).

Merged through ec2c5e8444946b639ec81a756b3d35cafede9ca6
We will need to discuss about Git. :beer:


Update license dating

In the future, an action to automatically bump the license date should be employed.

It seems odd to have a non-team member PR the license file, I don't know how licenses work all that much, but I'll stay on the safe side and make this edit myself.
Thanks for bringing this to our attention though.


Correctly scaffold generic types

Necessary for PostgreSQL range support, and possibly other.
Also added tests for CSharpUtilities.GetTypeName()

Post-holidays ping...

Can someone take a look at this please? It seems to have fallen through the cracks and is really quite trivial...

It is assigned to @lajones. He should be able to look at it in the coming days.

Great, thanks!

Ping, have just rebased on dev. It's a really simple PR too...

Merged via f9b36236a48f95af3f63ff93da4cbe2669e367a0
Sorry for delay @roji

Thanks!


add chmod 777 -R $STORAGE_LOCATION && \

Pull Request Type

[ ] ✨ feat
[x] 🐛 fix
[ ] ♻ refactor
[ ] 💄 style
[ ] 🔨 chore
[x] 📝 docs

Relevant Issues
chmod 777 -R $STORAGE_LOCATION && \
for less comment like this ;)

https://github.com/Mintplex-Labs/anything-llm/issues/1402

What is in this change?

Additional Information

Developer Validations

[ ] I ran yarn lint from the root of the repo & committed changes
[ ] Relevant documentation has been updated
[ ] I have tested my code functionality
[ ] Docker build succeeds locally

chmod 777 is a bad security practice, especially in a docker container, it would be better to allow the user to set the UID and GID then have the container check the permissions.
The default container deploy on my docker swarm uses UID 1000 and GID 1000 which seems to be common among docker containers. So you can set the directory with "chown 1000:1000 " rather than doing a chmod 777.

I understand why you would want this, because so many people are bitten by it, but I would hesitate to add this because all someone needs to do is mount this to some bad root level folder and accidentally cause a bad day for them in the future.
That command is using $HOME which should always be okay, so it should make the chmod duplicitous. Honestly, id rather answer the support question constantly then accidentally set someone up in a way that can have bad security implications


Turn stop

First, I love the concept of the mod and how it works, so please keep up the great job.
Now the problem: when an enemy ejects (normally last mech on board) the game does not advance to last turn for combat final. I think this glitch may be connected to the eject problem over all. Is there a way of having the enemy eject on there round and not when attacked?
Also, if they are going to eject, have them stand the mech first and/or run away before ejecting (this seems to be one of the work arounds for the eject problem).
Here are a couple of threads that relate to the eject bug:
https://steamcommunity.com/app/637090/discussions/0/1693795812287632730/
https://steamcommunity.com/app/637090/discussions/0/1696048426817029570/
Looking forward to seeing more on this.

Thanks for the feedback, we're glad you like it.
There was a time when this was an issue but it hasn't recurred to my
knowledge, in quite some time.  I will need the output_log.txt or at least
the exceptions being thrown in it, and if you have turn on debug in the
mod.json and include that it couldn't hurt.
Also make sure your DLL version 3.04, which I assume is the case since
you're posting to github, but since what you're describing seems like old
bug it needs to be covered off.  Those threads definitely predate the
bugfixes for ejection FWIW, I didn't even start coding on PanicSystem until
June and the hang fixes were not complete until the very last release Aug
28th.
On Sun, Nov 11, 2018 at 5:47 AM toguspyder<EMAIL_ADDRESS>wrote:

First, I love the concept of the mod and how it works, so please keep up
the great job.
Now the problem: when an enemy ejects (normally last mech on board) the
game does not advance to last turn for combat final. I think this glitch
may be connected to the eject problem over all. Is there a way of having
the enemy eject on there round and not when attacked?
Also, if they are going to eject, have them stand the mech first and/or
run away before ejecting (this seems to be one of the work arounds for the
eject problem).
Here are a couple of threads that relate to the eject bug:
https://steamcommunity.com/app/637090/discussions/0/1693795812287632730/
https://steamcommunity.com/app/637090/discussions/0/1696048426817029570/
Looking forward to seeing more on this.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gnivler/PanicSystem/issues/39, or mute the thread
https://github.com/notifications/unsubscribe-auth/ARmQpfR0I2DdqfG9KOjJGzQSIsGa-prWks5uuA5EgaJpZM4YYcbg
.

Thanks for the quick feedback. I am currently running the latest version of all the mods to it and recommended to it. I’ll have a log for you some time later today (as soon as I know I’m doing it right).

Here is the info from the log file:
12:23:15 PM PanicSystem v3.0.4
New contract; done reset
##############################################
Phoenix Hawk attacks Jenner
Damage >>> Armor: 22.5 Structure: 0 (3.68%)
Not enough damage
##############################################
Cicada attacks Jenner
Damage >>> Armor: 12.5 Structure: 0 (2.12%)
Not enough damage
Condition worsened: Unsetlled
Condition worsened: Stressed
##############################################
Centurion attacks Cicada
Damage >>> Armor: 103 Structure: 80 (27.9%)
Structure damage requires panic save
Factors              |     Change |      Total
Mech health 72.1%    |            |
Pilot injuries       |     16.667 |     16.667
CT                   |     26.207 |     42.874
LT                   |         25 |     67.874
Guts and Tactics     |         -9 |     58.874
Resolve 29           |       -1.6 |     57.274
Panic multiplier     |       0.66 |     37.801
Saving throw         | 38      51 |       Roll
Successful panic save
##############################################
Griffin attacks Cicada
Damage >>> Armor: 62 Structure: 33 (20.08%)
Structure damage requires panic save
Factors              |     Change |      Total
Mech health 57.62%   |            |
Pilot injuries       |     16.667 |     16.667
CT                   |     57.241 |     73.908
LT                   |         25 |     98.908
RL                   |      4.688 |    103.596
Guts and Tactics     |         -9 |     94.596
Resolve 29           |       -1.6 |     92.996
Panic multiplier     |       0.66 |     61.377
Saving throw         | 61      71 |       Roll
Successful panic save
##############################################
Griffin attacks Phoenix Hawk
Damage >>> Armor: 16 Structure: 0 (1.41%)
Not enough damage
##############################################
Shadow Hawk attacks Cicada
Damage >>> Armor: 4 Structure: 25 (7.67%)
Structure damage requires panic save
Factors              |     Change |      Total
Mech health 53.2%    |            |
Pilot injuries       |     16.667 |     16.667
CT                   |     74.483 |     91.149
LT                   |         25 |    116.149
RL                   |      5.438 |    121.587
Guts and Tactics     |         -9 |    112.587
Resolve 29           |       -1.6 |    110.987
Panic multiplier     |       0.66 |     73.251
Saving throw         | 73      16 |       Roll
Failed panic save
Condition worsened: Panicked
Base ejection resist |         75 |     35.987
Eject multiplier     |          1 |         36
Saving throw         | 36      75 |       Roll
Successful ejection save
##############################################
Phoenix Hawk attacks Centurion
Damage >>> Armor: 70 Structure: 0 (5.4%)
Not enough damage
##############################################
Vindicator attacks Centurion
Damage >>> Armor: 4 Structure: 0 (.33%)
Not enough damage
##############################################
Centurion attacks Phoenix Hawk
Damage >>> Armor: 106 Structure: 30 (12.14%)
Structure damage requires panic save
Factors              |     Change |      Total
Mech health 86.62%   |            |
CT                   |       6.19 |       6.19
LT                   |       1.97 |       8.16
LL                   |       .818 |      8.978
RL                   |       .364 |      9.342
Guts and Tactics     |        -18 |     -8.658
Resolve 40           |         -6 |    -14.658
Panic multiplier     |          1 |    -14.658
Negative saving throw; skipping
##############################################
Griffin attacks Cicada
Damage >>> Armor: 18.75 Structure: 0 (5.37%)
Not enough damage
##############################################
Griffin attacks Phoenix Hawk
Damage >>> Armor: 4 Structure: 4 (.81%)
Not enough damage
##############################################
Shadow Hawk attacks Phoenix Hawk
Damage >>> Armor: 69 Structure: 0 (7.07%)
Not enough damage
Condition improved: Stressed
##############################################
Phoenix Hawk attacks Centurion
Damage >>> Armor: 25 Structure: 0 (2.05%)
Not enough damage
##############################################
Vindicator attacks Griffin
Damage >>> Armor: 67 Structure: 0 (5.51%)
Not enough damage
##############################################
Cicada attacks Griffin
Damage >>> Armor: 25 Structure: 0 (2.18%)
Not enough damage
Condition worsened: Panicked
##############################################
Griffin attacks Cicada
Damage >>> Armor: 12.25 Structure: 57.75 (21.2%)
Structure damage requires panic save
Factors              |     Change |      Total
Mech health 39.67%   |            |
Pilot injuries       |     16.667 |     16.667
Knockdown            |          5 |     21.667
CT                   |     74.483 |     96.149
LT                   |         25 |    121.149
RT                   |      9.934 |    131.084
RL                   |         15 |    146.084
Guts and Tactics     |         -9 |    137.084
Resolve 57           |      -12.8 |    124.284
Panic multiplier     |        0.5 |     62.142
Saving throw         | 62      89 |       Roll
Successful panic save
##############################################
Centurion attacks Phoenix Hawk
Damage >>> Armor: 108 Structure: 28 (14.99%)
Structure damage requires panic save
Factors              |     Change |      Total
Mech health 67.87%   |            |
CT                   |     31.429 |     31.429
LT                   |      3.788 |     35.216
RT                   |     17.879 |     53.095
LL                   |       .818 |     53.913
RL                   |       .364 |     54.277
Guts and Tactics     |        -18 |     36.277
Resolve 12           |        5.2 |     41.477
Panic multiplier     |          1 |     41.477
Saving throw         | 41      41 |       Roll
Successful panic save
Condition worsened: Unsetlled
Condition worsened: Stressed
##############################################
Shadow Hawk attacks Phoenix Hawk
Damage >>> Armor: 108 Structure: 72 (23.35%)
Structure damage requires panic save
Factors              |     Change |      Total
Mech health 52.02%   |            |
Pilot injuries       |      18.75 |      18.75
Unsteady             |          5 |      23.75
CT                   |     59.524 |     83.274
LT                   |      3.788 |     87.062
RT                   |         25 |    112.062
LL                   |       .818 |     112.88
RL                   |      1.091 |    113.971
Guts and Tactics     |        -18 |     95.971
Resolve 16           |        3.6 |     99.571
Panic multiplier     |       0.66 |     65.717
Saving throw         | 66      49 |       Roll
Failed panic save
Condition worsened: Panicked
Base ejection resist |         75 |     24.571
Eject multiplier     |          1 |         25
Saving throw         | 25      84 |       Roll
Successful ejection save
##############################################
Vindicator attacks Centurion
Damage >>> Armor: 55 Structure: 0 (4.59%)
Not enough damage
##############################################
Phoenix Hawk attacks Centurion
Damage >>> Armor: 55 Structure: 0 (5.06%)
Not enough damage
##############################################
Phoenix Hawk attacks Centurion
No damage
##############################################
Cicada attacks Griffin
No damage
It doesn't show the attack.

The output_log.txt is the one I need to see most, it will show what
exceptions are thrown.  Both together is the full picture if you can.
Thanks
On Sun, Nov 11, 2018 at 11:54 AM toguspyder<EMAIL_ADDRESS>wrote:

Here is the info from the log file:
12:23:15 PM PanicSystem v3.0.4
New contract; done reset
##############################################
Phoenix Hawk attacks Jenner
Damage >>> Armor: 22.5 Structure: 0 (3.68%)
Not enough damage
##############################################
Cicada attacks Jenner
Damage >>> Armor: 12.5 Structure: 0 (2.12%)
Not enough damage
Condition worsened: Unsetlled
Condition worsened: Stressed
##############################################
Centurion attacks Cicada
Damage >>> Armor: 103 Structure: 80 (27.9%)
Structure damage requires panic save Factors | Change | Total Mech health
72.1% | |
Pilot injuries | 16.667 | 16.667
CT | 26.207 | 42.874
LT | 25 | 67.874
Guts and Tactics | -9 | 58.874
Resolve 29 | -1.6 | 57.274
Panic multiplier | 0.66 | 37.801 Saving throw | 38 51 | Roll Successful
panic save
##############################################
Griffin attacks Cicada
Damage >>> Armor: 62 Structure: 33 (20.08%)
Structure damage requires panic save Factors | Change | Total Mech health
57.62% | |
Pilot injuries | 16.667 | 16.667
CT | 57.241 | 73.908
LT | 25 | 98.908
RL | 4.688 | 103.596
Guts and Tactics | -9 | 94.596
Resolve 29 | -1.6 | 92.996
Panic multiplier | 0.66 | 61.377 Saving throw | 61 71 | Roll Successful
panic save
##############################################
Griffin attacks Phoenix Hawk
Damage >>> Armor: 16 Structure: 0 (1.41%)
Not enough damage
##############################################
Shadow Hawk attacks Cicada
Damage >>> Armor: 4 Structure: 25 (7.67%)
Structure damage requires panic save Factors | Change | Total Mech health
53.2% | |
Pilot injuries | 16.667 | 16.667
CT | 74.483 | 91.149
LT | 25 | 116.149
RL | 5.438 | 121.587
Guts and Tactics | -9 | 112.587
Resolve 29 | -1.6 | 110.987
Panic multiplier | 0.66 | 73.251 Saving throw | 73 16 | Roll Failed panic
save
Condition worsened: Panicked
Base ejection resist | 75 | 35.987
Eject multiplier | 1 | 36 Saving throw | 36 75 | Roll Successful ejection
save
##############################################
Phoenix Hawk attacks Centurion
Damage >>> Armor: 70 Structure: 0 (5.4%)
Not enough damage
##############################################
Vindicator attacks Centurion
Damage >>> Armor: 4 Structure: 0 (.33%)
Not enough damage
##############################################
Centurion attacks Phoenix Hawk
Damage >>> Armor: 106 Structure: 30 (12.14%)
Structure damage requires panic save Factors | Change | Total Mech health
86.62% | |
CT | 6.19 | 6.19
LT | 1.97 | 8.16
LL | .818 | 8.978
RL | .364 | 9.342
Guts and Tactics | -18 | -8.658
Resolve 40 | -6 | -14.658
Panic multiplier | 1 | -14.658
Negative saving throw; skipping
##############################################
Griffin attacks Cicada
Damage >>> Armor: 18.75 Structure: 0 (5.37%)
Not enough damage
##############################################
Griffin attacks Phoenix Hawk
Damage >>> Armor: 4 Structure: 4 (.81%)
Not enough damage
##############################################
Shadow Hawk attacks Phoenix Hawk
Damage >>> Armor: 69 Structure: 0 (7.07%)
Not enough damage
Condition improved: Stressed
##############################################
Phoenix Hawk attacks Centurion
Damage >>> Armor: 25 Structure: 0 (2.05%)
Not enough damage
##############################################
Vindicator attacks Griffin
Damage >>> Armor: 67 Structure: 0 (5.51%)
Not enough damage
##############################################
Cicada attacks Griffin
Damage >>> Armor: 25 Structure: 0 (2.18%)
Not enough damage
Condition worsened: Panicked
##############################################
Griffin attacks Cicada
Damage >>> Armor: 12.25 Structure: 57.75 (21.2%)
Structure damage requires panic save Factors | Change | Total Mech health
39.67% | |
Pilot injuries | 16.667 | 16.667
Knockdown | 5 | 21.667
CT | 74.483 | 96.149
LT | 25 | 121.149
RT | 9.934 | 131.084
RL | 15 | 146.084
Guts and Tactics | -9 | 137.084
Resolve 57 | -12.8 | 124.284
Panic multiplier | 0.5 | 62.142 Saving throw | 62 89 | Roll Successful
panic save
##############################################
Centurion attacks Phoenix Hawk
Damage >>> Armor: 108 Structure: 28 (14.99%)
Structure damage requires panic save Factors | Change | Total Mech health
67.87% | |
CT | 31.429 | 31.429
LT | 3.788 | 35.216
RT | 17.879 | 53.095
LL | .818 | 53.913
RL | .364 | 54.277
Guts and Tactics | -18 | 36.277
Resolve 12 | 5.2 | 41.477
Panic multiplier | 1 | 41.477 Saving throw | 41 41 | Roll Successful
panic save
Condition worsened: Unsetlled
Condition worsened: Stressed
##############################################
Shadow Hawk attacks Phoenix Hawk
Damage >>> Armor: 108 Structure: 72 (23.35%)
Structure damage requires panic save Factors | Change | Total Mech health
52.02% | |
Pilot injuries | 18.75 | 18.75
Unsteady | 5 | 23.75
CT | 59.524 | 83.274
LT | 3.788 | 87.062
RT | 25 | 112.062
LL | .818 | 112.88
RL | 1.091 | 113.971
Guts and Tactics | -18 | 95.971
Resolve 16 | 3.6 | 99.571
Panic multiplier | 0.66 | 65.717 Saving throw | 66 49 | Roll Failed panic
save
Condition worsened: Panicked
Base ejection resist | 75 | 24.571
Eject multiplier | 1 | 25 Saving throw | 25 84 | Roll
Successful ejection save
##############################################
Vindicator attacks Centurion
Damage >>> Armor: 55 Structure: 0 (4.59%)
Not enough damage
##############################################
Phoenix Hawk attacks Centurion
Damage >>> Armor: 55 Structure: 0 (5.06%)
Not enough damage
##############################################
Phoenix Hawk attacks Centurion
No damage
##############################################
Cicada attacks Griffin
No damage
It doesn't show the attack.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/gnivler/PanicSystem/issues/39#issuecomment-437690456,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARmQpWGUy__1Ym49k-ZTHIlFqlb-24kxks5uuGRhgaJpZM4YYcbg
.


Feature Request: Command Lock Mode

Sometimes there are false positive wake up events and command execution which can cause the bed to move when it isn't intended. A feature in which the user can put Sandman into a locked mode so limited commands can be interpreted may be helpful. For instance, in the locked mode the user can only issue an unlock or status command.

I agree that this sounds like a good idea. This might be a good thing to implement at roughly the same time as "quiet mode".


Add query operators introduced with MongoDB 3.2

This PR adds the $caseSensitive and $diacriticInsensitive options to $text queries as well as the following operators:

$bitsAllClear
$bitsAllSet
$bitsAnyClear
$bitsAnySet

LGTM.

:+1:


Unable to cancel the opening of a node

It does not appear possible to cancel the before_open event that jstree raises. It would be useful to prevent the user from opening nodes under certain circumstances.

Sorry, none of the events jstree raises are meant to be canceled. If some setting is meant to be highly customizable and user controllable it can be set to a function.
Events are just informative and the API provides a lot of ways for you to react. before_open simply means that the node is already loaded, it probably is in the DOM and is about to be shown. So you can easily attach to the open_node event and close the node (the animation probably wouldn't have started anyway).
Best regards,
Ivan


only print message if console format is used

Bugfix patch for my junit formatter.
Finally found time to test it with CI/CD and found one issue:
Using config /Users/xxx/composer-dependency-analyser.php
<?xml version="1.0" encoding="UTF-8"?><testsuites><testsuite name="shadow dependencies" failures="1"><testcase name="laminas/laminas-uri"><failure>e.g. Laminas\Uri\Uri in src/Infrastructure/ExternalService/Url/UrlService.php:45 (+ 10 more)</failure></testcase></testsuite></testsuites>

The first line breaks the valid xml and I would have to remove it by script.

Does junit support any kind of metadata? I'd rather keep those in the xml if possible. There are also other places with similar output.

Will check if JUnit does support that, but would require a complete rework as there would be no single point of writing the xml.
I'm quite unsure about all the other lines. If they are just informal output I would need to suppress them all. May be I should add a different printMethod and change the other one that they does not output anything with format 'junit'. That would keep the code much cleaner.

https://github.com/testmoapp/junitxml
There are some sort of properties that can be defined but that would need to be defined at any testsuite. Also the information from the output would need to be transfered to the JUnit-Formatter.
And the known JUnit-Parser does not display them properly. So if it fine for you I would skip that part for displaying these informal content.
Another, but different idea, would be that we add an output-file as option where the xml would be stored. Then the normal output could also happen but the xml would only be in that file.

PHPStan deals with the same issue by using STDERR for informatory message and STDOUT for the regular "formatter output". This seems like a best solution to me.

Fixed in 1.5.3


I-quants incompatibility?

Models with this type of quantization (like IQ3_XS) doesn't work? I've tried a few an they throw me an error. They work fine in koboldcpp.

phi models also don't work, it's because llama-cpp-python is less compatible than llama.cpp?

Solved! Just had to install last version of llama-cpp-python, the node installed version 0.2.20 and last version is 0.2.61


Fix CI

This should fix CI for Haddock. I've gotten it to succeed in my forked repo, so any additional changes needed to get it to succeed here should be minimal.
Let me know if there is any reason we need to keep all the constraints in cabal.project. If there is, then we'll probably need to go through and update them by hand to get the build to work. I'm not familiar with how haddock is integrated into GHC packaging, so I'd appreciate any feedback in that regard.
I'm also hoping to add other versions of GHC to the workflow so that we can back up our tested-with claims. I'll create a separate PR for those changes later.

Wonderful, thank you very much. :)

Let me know if there is any reason we need to keep all the constraints in cabal.project. If there is, then we'll probably need to go through and update them by hand to get the build to work. I'm not familiar with how haddock is integrated into GHC packaging, so I'd appreciate any feedback in that regard.

That can be done at a later time. :)

I'm also hoping to add other versions of GHC to the workflow so that we can back up our tested-with claims. I'll create a separate PR for those changes later.

The whole development cycle has to be revised, so maybe we'll have to do this indeed. :)


Possible usage of itemgetter(key)

Thank you for a great library!
I would like to sort a list of dicts by multiple values - some possibly in Unicode - sample program:
from pyuca import Collator
from operator import itemgetter
coll = Collator()

def multisort_list_of_dicts(xs, specs):
    for key, reverse, col in reversed(specs):
        if col:
            xs.sort(key=coll.sort_key(itemgetter(key)), reverse=reverse)
        else:
            xs.sort(key=itemgetter(key), reverse=reverse)
    return xs

data = [{'k1': 'd', 'k2': 10},{'k1': 'č', 'k2': 10},{'k1': 'a', 'k2': 20},{'k1': 'a', 'k2': 10}]

Standard sorting:
sort_spec = (('k2', False, False), ('k1', False, False))

for item in multisort_list_of_dicts(data, sort_spec):
    print(item)

works as expected - with the accented chars shifted after normal chars:

{'k1': 'a', 'k2': 10}
{'k1': 'd', 'k2': 10}
{'k1': 'č', 'k2': 10}
{'k1': 'a', 'k2': 20}

Unicode sorting for k1:
sort_spec = (('k2', False, False), ('k1', False, True))

for item in multisort_list_of_dicts(data, sort_spec):
    print(item)

this obviously cannot work, because sort_key() expects a string:
def sort_key(self, string):

  File "C:\Programs\Python\Python311\Lib\site-packages\pyuca\collator.py", line 119, in sort_key
    normalized_string = unicodedata.normalize("NFD", string)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: normalize() argument 2 must be str, not operator.itemgetter

How to get the desired output with pyuca ?
{'k1': 'a', 'k2': 10}
{'k1': 'č', 'k2': 10}
{'k1': 'd', 'k2': 10}
{'k1': 'a', 'k2': 20}

How to possibly handle the itemgetter input in pyuca ?

Sure there is a workaround - just pre-populate the data with sort_key(s). But it might not be always possible.
from operator import itemgetter
from pyuca import Collator
coll = Collator()

def multisort_list_of_dicts(xs, specs):
    for key, reverse in reversed(specs):
        xs.sort(key=itemgetter(key), reverse=reverse)
    return xs

data = [{'k1': 'd', 'k2': 10},{'k1': 'č', 'k2': 10},{'k1': 'a', 'k2': 20},{'k1': 'a', 'k2': 10}]

data_sortable = []

for d in data:
     d['ks'] = coll.sort_key( d['k1'] )
     data_sortable.append(d)

sort_spec = (('k2', False), ('ks', True))

for item in multisort_list_of_dicts(data_sortable, sort_spec):
    print(item)

Output:
{'k1': 'd', 'k2': 10, 'ks': (7311, 0, 32, 0, 2, 0)}
{'k1': 'č', 'k2': 10, 'ks': (7290, 0, 32, 40, 0, 2, 2, 0)}
{'k1': 'a', 'k2': 10, 'ks': (7239, 0, 32, 0, 2, 0)}
{'k1': 'a', 'k2': 20, 'ks': (7239, 0, 32, 0, 2, 0)}

Sure there is a workaround - pre-populate the data with sort_key() values. But this might not be always optimal/feasible.
from operator import itemgetter
from pyuca import Collator
coll = Collator()

def multisort_list_of_dicts(xs, specs):
    for key, reverse in reversed(specs):
        xs.sort(key=itemgetter(key), reverse=reverse)
    return xs

data = [{'k1': 'd', 'k2': 10},{'k1': 'č', 'k2': 10},{'k1': 'a', 'k2': 20},{'k1': 'a', 'k2': 10}]

data_sortable = []

for d in data:
     d['ks'] = coll.sort_key( d['k1'] )
     data_sortable.append(d)

sort_spec = (('k2', False), ('ks', False))

for item in multisort_list_of_dicts(data_sortable, sort_spec):
    print(item)

Output:
{'k1': 'a', 'k2': 10, 'ks': (7239, 0, 32, 0, 2, 0)}
{'k1': 'č', 'k2': 10, 'ks': (7290, 0, 32, 40, 0, 2, 2, 0)}
{'k1': 'd', 'k2': 10, 'ks': (7311, 0, 32, 0, 2, 0)}
{'k1': 'a', 'k2': 20, 'ks': (7239, 0, 32, 0, 2, 0)}


api: Add missing prefix condition for ListMultipartUploads

tested, with this change the policy is:
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Action": [
        "s3:GetBucketLocation"
      ],
      "Effect": "Allow",
      "Principal": {
        "AWS": [
          "*"
        ]
      },
      "Resource": [
        "arn:aws:s3:::test"
      ],
      "Sid": ""
    },
    {
      "Action": [
        "s3:ListBucket",
        "s3:ListBucketMultipartUploads"
      ],
      "Condition": {
        "StringEquals": {
          "s3:prefix": [
            "1/2/3"
          ]
        }
      },
      "Effect": "Allow",
      "Principal": {
        "AWS": [
          "*"
        ]
      },
      "Resource": [
        "arn:aws:s3:::test"
      ],
      "Sid": ""
    },
    {
      "Action": [
        "s3:AbortMultipartUpload",
        "s3:DeleteObject",
        "s3:GetObject",
        "s3:ListMultipartUploadParts",
        "s3:PutObject"
      ],
      "Effect": "Allow",
      "Principal": {
        "AWS": [
          "*"
        ]
      },
      "Resource": [
        "arn:aws:s3:::test/1/2/3*"
      ],
      "Sid": ""
    }
  ]
}

Closing this PR as discussed with @balamurugana , we need to re-do our bucket policy code and simplify it.  More patch work is not needed.


"million", "billion", "thousand" etc should not be valid numbers

They should require a prefix such as "one", eg "one million"

Reminder to myself: try each option and see what effect it has on both dfa compile times and parse times.


cpp: do not use system-specific defines or headers

This prevents inadvertent rewrites of tokens such as "linux" due to the
system having an implicit #define linux 1.

I agree that just -undef is sufficient. I included -nostdinc at @vgurevich's suggestion, but I don't think it's really necessary.

Oh, I should also mention that p4c's call to cpp also includes -nostdinc: https://github.com/p4lang/p4c/blob/80f8970b5ec8e57c4a3611da343461b5b0a8dda3/frontends/common/options.cpp#L292


Colored indent guides

Colored bracket pairs are marvelous, but there are languages use indent level to express code blocks (yes I use Python). It will be very nice if the indent guide lines would be colored just like brackets.
Maybe like:

until this gets implemented, you can take a look at the indent-rainbow extension as a stopgap.


mc_scanner file problem

hello dear,
I am trying to run your project in my Xcode .. but it gives me error in  mc_scanner.hpp file when i include the followings:
#include "mc_parser.tab.hh"
#include "location.hh"
'mc_parser.tab.hh' file not found..
I know I have missed something .. but I am too beginner in parser (this is my first time to use it). I would like to know what is the main use of mc_scanner.hpp  file ? and how can i avoid this kind of error
i read your page  http://www.jonathanbeard.io/tutorials/FlexBisonC++ that describes all the project but still did not get  the idea of having mc_scanner very well.
I try to run the project after adding all files into new  Xcode project by this commands:
bison -d -o mc_parser.tab.cpp mc_parser.ypp
flex -o mc_lexer.yy.cpp mc_lexer.lpp
g++  -o  last mc_parser.tab.cpp mc_lexer.yy.cpp
I really appreciate your help.
best regards,

Hi. I'll try to help out if possible. I'm not an xcode user for the most part, so...will have to wing it a bit.
To start, have you tried building the generator for an xcode understandable build configuration file from cmake? To do this from scratch, you'd do the following:
If you don't have cmake installed*, follow instructions here: homebrew then
open the terminal and type
brew install cmake

make sure cmake is in your path, then you can go to the next step, where you reclone the
repo (just in case it's been modified, it's easier to start with an unmodified copy). Do the
following from the terminal:
git clone https://github.com/jonathan-beard/simple_wc_example.git
cd smple_wc_example
cmake -G Xcode .

From there, close any currently open projects, then re-open the simple_wc_example repo with it's now recognizable xcode generated project file. This should allow you to run directly from xcode.
From a C++ perspective, the scanner is a sub-class of yyFlexLexer. The reason we want to subclass, is primarily so we can inject state cleanly with the sub-class's private variables. You can likely technically get away without having to do this, however, it's easier in the long run to just make s sub-class. If you look at the Raft language I started to put together a long time ago you can see an example of adding extra state through the sub-class. Another thing to keep in mind as you're thinking about sub-classes is that when you do so, you must tell flex the sub-class name in a few places, most importantly here:
%option yyclass="MC::MC_Scanner"

I'll leave this one open for now, let us know if this works!
-J

thank you for your prompt helpful reply .
i did what you said and now i have Xcode project without issues, but when i run the project nothing happen !
to be honest my problem is i have c++ project written in Xcode with sets of classes and functions. then a added a rule language in pasrer.ypp file inside my project + lexer.lpp . now i would like to make the parser execute one of the function if the entered input matches the rule. like what did you do in your mc_parser.y file when its call  (driver.add_upper();)  function if rule UPPER . but i do not know what i need to add in each file where to include parser and i feel lost !

sent you an example via email. closing.


⚠ Samsung has degraded performance

In 2ee14d0, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2329 ms

Resolved: Samsung performance has improved in 3d38edf.


Copy .proto highlighting and snippets from vscode-proto3

Fixes #8 and some changes to tests caused by my little quirks.

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

Thanks for your submission. We can't merge this, however:

We don't want to copy/paste code in from vscode-proto3 without attribution.
We aren't sure if this functionality should live in vscode-buf at this point. vscode-buf is meant for buf interaction only right now - we may expand that to be a full-fledged one-stop-shop Protobuf plugin in the future, but that isn't the case right now.


Unable to mutate objects in list on upgrade to 0.1.213.

Description
After upgrading from 0.1.192 to 0.1.213, our application started breaking.
Upon investigation, we found that we used to be able to mutate objects in lists stored as a Skia Value, but unfortunately that seems to not work anymore. See below:
useComputedValue(() => {
    pendingAnimations.current
        .filter(
            animation =>
                animation.id === id &&
                animation.status === AnimationStatus.PENDING &&
                handledAnimations.current.indexOf(
                    animation.animationType,
                ) === -1,
        )
        .forEach(animation => {
            animation.status = AnimationStatus.RUNNING;
        });
}, [pendingAnimations]);

The part which is breaking is setting the animation status to running: animation.status = AnimationStatus.RUNNING;
Our app expects the object to be mutated, however, it appears as if this mutation is not reflected on the Skia Value.
Version
0.1.213
Steps to reproduce
Sample included above.
Snack, code example, screenshot, or link to a repository
useComputedValue(() => {
    pendingAnimations.current
        .filter(
            animation =>
                animation.id === id &&
                animation.status === AnimationStatus.PENDING &&
                handledAnimations.current.indexOf(
                    animation.animationType,
                ) === -1,
        )
        .forEach(animation => {
            animation.status = AnimationStatus.RUNNING;
        });
}, [pendingAnimations]);

This is not something we are supporting at all.
We recommend you use Reanimated for such task: https://shopify.github.io/react-native-skia/docs/animations/animations
Let us if we can help you make sense of your use-case, we trust that Reanimated can support it.


196 as a dev I want to refactor the header component

[x] Must contain the ACIA logo
[x] Must contain a button to change language
[x] Must contain a profile button profile / dashboard page issue
[x] Must contain a button to display the side menu side menu issue

test

Animations like loading indicators are necessary however.
@k-allagbe
This is gonna be made in another Issue about skeleton loading

Create new issue : Create new issue for separate user Popup and the header.: https://github.com/ai-cfia/fertiscan-frontend/issues/298

It's doing a weird horizontal scroll thing on the sidenav

It's doing a weird horizontal scroll thing on the sidenav . Left Bottom. Also the vertical scrollbar persists no matter the browser height

The side nav was already implemented but not done at all gonna be done in other issue.


Issue/1

Address #1

Don't show stack traces for "user input errors" - should just show message and exit 1.


Updated docs with Azure Architecture Center link

Purpose
Updated docs with Azure Architecture Center link

Thanks @norelina!


fix: fix typo in engines

Codecov Report

Merging #151 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #151   +/-   ##
=======================================
  Coverage   96.61%   96.61%
=======================================
  Files          10       10
  Lines         325      325
  Branches       22       22
=======================================
  Hits          314      314
  Misses         11       11

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 145ca8b...3422d1e. Read the comment docs.


feat: add pkg/erofs

add erofs package

@nicocha30

@myml
Can you tell me a little bit more? Why erofs is necessary?

I need read EROFS image using golang.
pkg/erofs is a newly added package in gvisor.  This is the only go library I have found so far that can read EROFS image file.

This repo hosts a modified version of gvisor for Ligolo-ng.
As the erofs package is not used by Ligolo-ng, I don't understand why this PR is necessary.

Okay. I thought this repository was meant to be a 'prune golang' version of gvisor.

@myml use the "go" branch of the official gvisor repository 😉


Flutter Camera Plugin - TakePicture (Suggestion)

final path = join((await getTemporaryDirectory()).path, '${DateTime.now()}.png');
void value = await controller.takePicture(path);
File file = File(path);

Hello Flutter Team! and Community!
I'm just want to know if we can do something like this? (Code Below to reduce boilerplate)
final path = join((await getTemporaryDirectory()).path, '${DateTime.now()}.png');
File file = await controller.takePicture(path);

It will be great if takePicture future directly return the captured file :)

Hi @ianjaspersantos
I'm labeling this both as a proposal and as a question
because even if this isn't an 'out of the box' feature in camera plugin,
it doesn't seem impossible to implement, with today's tools.
thank you


Profile subject: Regex

Profile subject: Regex
Rationale
I'd like to compare the performance between different regex operations.
For example I'd like to compare the speed of the following functions

String.search(regex)
-String.match(regex)
Regex.test(string)
-Regex.exec(string)

Profiled functionality

String.search(regex)
-String.match(regex)
Regex.test(string)
-Regex.exec(string)

We can profile performance as the length of the string to search increases
We can also profile different regular expressions that uses different features such as look behind and look ahead

Hi,
I think comparing different Regex operations this is a great enhancement!
Feel free to create a profile and submit a PR for it.
If you don't feel like coding the profiling it'll have to wait a bit since I'm quite occupied at the moment.


Add CI GitHub Action

Add GitHub Action to run nix flake check after pushing or making PR.

Closed by 246dd417355c8ab433696a97509341d0a1e1cf02


Fix multiple keyloading bug

Multiple keyloading has been broken for large numbers of keys since the introduction of CMD_SEND_BYTES. This is due to us overrunning a buffer on the adapter when too many bytes are sent to it when certain bytes have to be escaped in the message.
Reduce our maximum message size for CMD_SEND_BYTES to handle even the worst-case situation where every byte has to be escaped.
Tested on a KFDnano with 20 AES-256 keys with value<PHONE_NUMBER>616161616161616161616161616161616161616161616161616161. Observed that they loaded correctly, and the maximum message size logged was ~450 bytes.
Thanks to @duggerd for pointers on where to look for this.

LGTM, merging in.


Fix for recursion and other tweaks

I've made the following fixes:
Infinite recursion bug
Infinite recursion on setting a date should no longer happen. This was happening because calling set on the components date property would trigger the observer watch function, which then sets the date and causes the loop.
Comparing dates and showing the selected date
When rendering the days inside the calendar, the timestamp for the current date was being compared against the calendar day. This could only work if the date property for the component was set to midnight for any given day, and in my case, no day was matched.
I relaxed the check a little to only check the days are the same, not the times as well.

Please merge this so people can update from 1.1.2 :)

+1

Implemented the fix above and works great but would be even more awesome to have this fix in the bower installation :)

Please make sure you submit one PR per feature or bugfix and that the PR does not include line changes unrelated to the feature or bugfix.

I kind of agree that the readme and formatting random comments are not that great here, but the bug is real and looks like it hits everyone that assigns a Date object to the date, which in Polymer land might be the main use case (not assigning string to it).
If you have time maybe you (@bendavis78) could make your own fix commit just by taking in the needed lines and close this?

This issue is urgent!!!

This was fixed in #102 and merged in #1339beb.


move .osm xml file read/write functions and classes to new their own new module

This PR extracts all .osm xml functionality from the downloader and io modules into its own new osm_xml module. It makes updates throughout the package to accommodate this new module.

Coverage increased (+0.03%) to 92.71% when pulling 2bfb8d6e0a9207b76cb798d0aeb103b50475c794 on xml into 64a84bf4cb568ab8d314982a6d5bdde920410d5a on v1.


Add OSDe2e test harness to certman operator

Add the osde2e test harness and migrated tests from osde2e. This includes improvements to the tests to not depend on osde2e.
Modified manager.Options to have no specified namespace and port.

$ make lint
...
main.go:1: : # github.com/openshift/certman-operator
./main.go:149:3: unknown field Namespace in struct literal of type manager.Options
./main.go:151:3: unknown field Port in struct literal of type manager.Options
./main.go:156:3: unknown field MetricsBindAddress in struct literal of type manager.Options
./main.go:164:11: options.Namespace undefined (type manager.Options has no field or method Namespace)
./main.go:165:28: undefined: cache.MultiNamespacedCacheBuilder (typecheck)
/*
make: *** [boilerplate/openshift/golang-osd-operator/standard.mk:186: go-check] Error 1

Commented out the CertificateReques status assertion as it fails on controller-runtime v0.16.3.
The test client does not update the status of the cert runtime object, likely due to the addition of the WithStatusSubresource() functionality..

SDCICD-1326

/lgtm
/approve

/retest

/retest

/lgtm
/approve


Images don't refresh quickly enough on large searches

Related to #689. They now do refresh, but there might be a long delay during which the previous search's results still appear to be valid (and then are all suddenly replaced).

There are at least two problems here. The first is that the view components (Table, List, Gallery) are all being mounted, destroyed and remounted when loaded, and the other problems I haven't worked out yet.
Problem one is due to this line: https://github.com/NaturalHistoryMuseum/ckanext-nhm/blob/5eef69ac1cecc5f56359cc0626e76a5855e9c4ac/ckanext/nhm/theme/assets/scripts/apps/search/src/components/Results.vue#L39
If the v-show="hasResult" :class="{ disabled: invalidated }" is removed, it stops the double mounting. I can't see any reason why that would be the case though so it might be a Vue bug.


PDF support

Does this support the Document_Text_Annotation: method which allows for text recognition in PDF's?

Yes we can detect text from PDF


top-level tuple variable causes "Unable to handle assignment for node..."

cq-cli version: latest from main (https://github.com/CadQuery/cq-cli/commit/649587e229e82fcb66cbb1443e3d8fa5fa41416c)
cadquery version: latest from conda (mamba install -c conda-forge cadquery)
cq-cli command: cq-cli --codec stl --infile model.py --outfile model.stl
# model.py

import cadquery as CQ
size = (3, 4)
obj = cq.Workplane("XY").rect(*size).extrude(10)
show_object(obj)

Error message:
Traceback (most recent call last):
  File "/opt/conda/lib/python3.10/site-packages/cadquery/cqgi.py", line 564, in visit_Assign
    for n, v in zip(left_side.elts, node.value.elts):
AttributeError: 'Name' object has no attribute 'elts'
Unable to handle assignment for node 'Name(id='size', ctx=Store())'

Changing size in the model from a tuple to a list fixes things:
# model.py

import cadquery as CQ
size = [3, 4]
obj = cq.Workplane("XY").rect(*size).extrude(10)
show_object(obj)

Thanks for the pointer, that does look like my exact issue. I'll follow along that thread for updates. In the meantime, I'll just use a list instead of a tuple.

@justbuchanan The CQGI tuple PR has been merged into CQ. Could you verify that fixes this issue for you?

Works great, thank you!


Add single thread nature chapter

This chapter is basic of js which every js developer must know before starting js journey.This chapter is about how js runs and its nature.

This PR closes #46 .


helm delete is deleting all releases

I have an outage bug here.
While delete releases I ran this command:
helm delete 'app2-test-app-stage-bf1-testeiddccfllhlegfknfreebbikbfhhbkufuejlhbcrrtvn'
And all my releases were wiped off. The release name I supplied is incorrect, it has some random characters in the end.
On further investigation, I checked the tiller logs and saw:

It ran my command helm delete 'app2-test-app-stage-bf1-testeiddccfllhlegfknfreebbikbfhhbkufuejlhbcrrtvn'
It showed:

2017/03/15 01:20:55 release_server.go:913: Executing pre-delete hooks for nginx-test

and so on it logged that it was deleting all my releases.

On further investigation I thought it did helm history of my incorrect release and got all my releases.
I ran helm history
helm history 'app2-test-app-stage-bf1-testeiddccfllhlegfknfreebbikbfhhbkufuejlhbcrrtvn'
and it listed all my releases.
Gist: https://gist.github.com/nirvanagit/0099f52fd9bc1843926231d75db1b96d

I see similar behavior. If I run the same helm history command exactly, I don't get all releases, but I get most of them.
I chose to run the same helm history command exactly, but other long names do something similar (details on that below):
Here's my helm ls and helm history 'app2-test-app-stage-bf1-testeiddccfllhlegfknfreebbikbfhhbkufuejlhbcrrtvn' output: https://gist.github.com/chancez/423fb37f6da737d850ad461070c85bbd
Interesting things:

The revisions are duplicated, which tells me these are from multiple releases, not a single release.
I only see stuff that's using my soy-deploy chart, not etcd-operator, or soy-migrate.
The revisions range from 43 to 146.

43 is the highest revision of the release commerce-dev-deploy
146 is the highest revision of the release tec-production

I did the fun work, and determined the error occurs when the release name is 64 characters or longer.

Thanks a lot @adamreese for the quick fix. 👍


AVFrame: Add repeat_pict and top_field_first

Simple support for AVFrame repeat_pict and top_field_first attributes

Moved my repo to https://github.com/qualIP/PyAV
Contact me when you're ready to accept code.


chore: regenerate with the latest protos

Regenerate with the protos and gapic configs in https://github.com/googleapis/googleapis/commit/a45b0a2a8f6f497547ab531a4da978c76441d076

PTAL @chingor13


Draft blog post for Docker BuildX + rate limit post

@metcalfc I've created this draft post. Please review and modify to make the technical bits correct and overall sanity check. All edits are welcomed so pls have at it. My team is chomping at the bit to mark this up with their Rate Limit messaging so I'd appreciate any time you can spend on this.
Thanks
-a

@metcalf added the rate limit text from my people to this post