Are you updating right now?

생성 버튼이 작동하지 않아. 종료 후 재시작 중인데 이런 메시지가 나오네? 혹시 지금 업데이트 중인가?
Traceback (most recent call last):
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 15, in
from modules import paths, timer, import_hook, errors
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/paths.py", line 4, in
from modules.paths_internal import models_path, script_path, data_path, extensions_dir, extensions_builtin_dir
ModuleNotFoundError: No module named 'modules.paths_internal'

ah! It's because I didn't update!!! Sorry. I solved this.
But since this afternoon (I'm Korean here), the message below keeps appearing while running, can't this be solved?
Error loading script: loopback.py
Traceback (most recent call last):
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 846, in exec_module
File "", line 983, in get_code
File "", line 913, in source_to_code
File "", line 228, in _call_with_frames_removed
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/scripts/loopback.py", line 57
match denoising_curve:
^
SyntaxError: invalid syntax

will fix soon

will fix soon

Awesome! Thanks for this colab and your hard work Mr. Sir!

https://github.com/TheLastBen/fast-stable-diffusion/commit/1ea1f33b4f42bea98b9584bd79e33e82c24e520a

모두 해결된 것 같군요!! 감사합니다.!!!

will fix soon

Looks like all of these issues have been resolved!! Except the wild card list doesn't appear in the dynamic wild card menu! It's nice to be able to bring it up with the automatic prompt function!! Thank you for your effort thank you

I'll check it out

Your wild card extension is out of date, update it or simply remove it then reinstall it

Your wild card extension is out of date, update it or simply remove it then reinstall it

i got it! THX!!!! : )

Not resolved here.
Like others have posted on other threads, after 1 or 2 generations in TXT2IMG it stops working and the page needs to be refreshed, even then you get maybe one generation and it just stops working again. This is using the latest notebook.
Also the full screen preview of the generation no longer works when you click on the thumbnail.

@Dreason8 ngrok solves the freezing issue


Update flirt.py

Thought of a new flirt

Also I didn't think of it entirely I heard it in a song.


Improve Youtube_Notifications module

This PR adds json config where you can edit notifications for multiple channels.
I haven't tested it fully, but I think it should work fine.

Something doesn't work idk

For me it works :thinking:

I'll close this PR because of disabling YoutubeNotifications cog and config in json


[Conversion ALgorithm] On trying the add templates, the page throws "Something went wrong"error for the first time, then after refresh works fine

Able to add templates from Home page and also inside application without any error. Moving to done.


Lacks any kind of authnetication method.

MongoDB supports and recommends the use of authentication as a security measure, but I don't see that your gem has it at this time. Is this a feature you are working to include?

How does authentication look like with the raw mongo gem?

As I expected, authentication is done by passing username and password when initializing a Mongo::Client. Since the user is in charge of initializing the Mongo::Client themselves, that means they can configure any authentication they want, and pass that authenticated Mongo::Client object to Shrine::Storage::Gridfs.


A small bug in gridpure.py

In line 150, I think it should be "diffpure_model_dir = args.pure_model_dir" rather than "diffpure_model_dir = args.pure_model"? Otherwise it cannot work.

No matching distribution found for xformers==0.0.17.dev465.Does this have a significant impact?


Sustenance Vendor

About the PR

Adds the sustenance vendor from tg, if anyone has any better ideas for the inventory lmk
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl: Potato1234_x

add: Nanotrasen has updated their ethics policies and have supplied sustenance vendors to perma prisoners.

It would be nice to have EmaggedInventory, in case someone manages to sneak an emag and decide to start a riot.
Kitchen knifes, breath masks, emeregncy oxy tank (and coffee, idk why), like in tg\yog\para analogs.

i'll replace the coffee with a space medipen since they basically serve the same purpose in escaping


Update bowling canonical-data

This is based on my work implementing this problem for Rust
https://github.com/exercism/xrust/pull/213
I'm addressing a few things here.

The description at the top is now about implementing the tests, not
about the problem domain.

I've reordered the test to (hopefully) make things flow more smoothly.
I found that the previous set of tests introduced concepts in kind of a
mix, instead of one at a time.

They are now:

Score a 0 point game
Score a game with no spares/strikes
Spares

Simple spare
Spare with bonus
Spare in last frame

Strikes

Simple strike
Strike with bonus
Strike in last frame

Exceptions

Some other changes:

Updated descriptions. My goal here was to try to clearly state what
bit of scoring logic was being tested in each test, without relying too
much on bowling-specific terms. 'strike', 'spare' and 'frame' are
unavoidable, but other terms were replaceable.

Remove unnecessary tests. There were a few different tests of games
without spares & strikes when only one is really necessary. My goal is
that each test should lead the student to make one change to their code.
If a bunch of tests can pass because of the same change then some of
those tests can be removed.

Explicit description of arity removed. I tried to cover the expected
API in the description text.

Expectations of exceptions changed from specific error text to -1,
which is what I normally see for exception test definitions.

I think I've covered the comments to date.


How to make current location marker keep center

Hi, anyone could help me how to make current location marker keep on center, but still can zoom in or zoom out.
I made marker always center, but when I double tap to zoom in, it always back to center position and zoom is off

Try setting interactiveFlags to only zoom in the MapOptions


Weight in highres fix defaults to 1

Currently, if a LoRA is entered in the prompt as something like <lora:name:0.5>, and highres fix is enabled, if you enable plotting the weights it can be seen it jumps back to 1 in the highres fix pass. I've had to workaround this by entering <lora:name:0.5:hr=0.5>.
This is unrelated to #2 as I'm only entering the LoRA in the main prompt, and not the separate highres fix prompt.
I also don't think tests currently account for this which may explain how it got overlooked.

Ah, good catch. The hr weights weren't defaulting to their low-res equivalents correctly.
2bd6608ca445cf7fd0384667eb9e8f35544c48cb extracts the weight setup routine to its own easily-testable function, corrects the behavior, and adds tests.


feat(csharp/src/Drivers/Apache): improve GetObjects metadata returned for columns

Improve the amount and quality of column metadata returned to the call to GetObjects where depth is All for the Spark driver.

Add an enumeration to provide identifiers for the Spark-specific data types (based on JDBC Types constants).
Improve metadata for column data types, precision and scale (for DECIMAL/NUMERIC types), etc.
Improve test to ensure new metadata is present.

@ryan-syed Please review if you have a chance.

@CurtHagenlocher - If you have some time, could you review this PR. It resolves an issue for integration into ADBC data source.

@CurtHagenlocher Made the change to move the using line to the end.


Determine how we should handle streaming end points

Stellar has the ability to hold a stable connection and stream events as they occur. I'm not sure where we need this functionality yet but we need to devise how we can handle this in the client:
https://www.stellar.org/developers/horizon/reference/responses.html#streaming
I believe that hyper supports the event-stream content type, but I'm not sure how it does it. I'm also not sure we need it in our server implementation and we can delay implementation until it's needed.

One solution that doesn't use streaming would be to implement an InfiniteIter that doesn't terminate when nothing is returned, but instead sleeps and then re-queries. It could be modeled after the current Iter./

Cool, checked out the repeat method for iter: https://doc.rust-lang.org/std/iter/fn.repeat.html
Is the idea here to basically poll an endpoint, sort of like I do for the meetup bot here: https://github.com/robertDurst/tipmebch/blob/master/meetup_bot/src/meetup/stellar/mod.rs#L14

Any more thoughts here? Once I finish #215 I'd be interested in this since I may not be much help w/ XDR.
Started working in Go SDK @work and here is how it does streaming:
https://github.com/stellar/go/blob/master/clients/horizon/client.go#L298

@robertDurst That actually kinda makes me think that it doesn't work with an open connection, seems like it's just the SSE format that's it providing

Hmmm... not quite sure. Will give a closer look


Add benchmarks to our docs

@WildBlueGuy has done a great set of validator comparison benchmarks:
https://github.com/WildBlueGuy/validator-benchmarks
We should add benchmarks to our README.md that run just our version of that test suite so others can get a sense of the time it takes to validate a document.
Steps to Complete

fork this repo
pull the BenchmarkQri test from the wild blue's repo into a file called benchmark_test.go
add a commit using our commit guidelines. something like: test(benchmarks): incorporate benchmark test from WildBlueGuy validator comparison
execute the tests on your machine: go test --bench=. -v --run=XXX -benchmem
add the output to stats adding a shoutout to the validator-benchmarks repo for comparison
commit the readme changes, using some message like: docs(readme): add benchmarks to readme
file a PR!

Hey that's me! Glad y'all are finding these useful. They got merged onto https://json-schema.org/implementations.html finally!


Refactor flutter/lib/backend

Part of https://github.com/mlcommons/mobile_app_open/issues/172
This is a separate PR for a small part of the refactoring to make merge conflicts less likely and reviews easier.

Got an error running make flutter/android
rm -rf flutter/android/app/src/main/jniLibs/arm64-v8a
mkdir -p flutter/android/app/src/main/jniLibs/arm64-v8a
cp -f \
		bazel-bin/mobile_back_tflite/cpp/backend_tflite/libtflitebackend.so \
		 \
		 \
		 \
		 \
		bazel-bin/flutter/cpp/flutter/libbackendbridge.so \
		flutter/android/app/src/main/jniLibs/arm64-v8a
chmod 777 --recursive flutter/android/app/src/main/jniLibs/arm64-v8a
chmod: --recursive: No such file or directory
make: *** [flutter/android/libs] Error 1

Oh, I love macOS and its console utilities from 1970s that don't recognize options with -- prefix and force people to use one-letter alternatives (if they even have one, which they often don't). So convenient and readable.

@anhappdev, I fixed build issues on macos.

I got an error when trying to clear cache via Settings
[VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: LateInitializationError: Field '_manufacturerUtf8@771123192' has already been initialized.
#0      LateError._throwFieldAlreadyInitialized (dart:_internal-patch/internal_patch.dart:211:5)
#1      _manufacturerUtf8= (package:mlcommons_ios_app/backend/bridge/native.match.dart:31:26)
#2      initDeviceInfo (package:mlcommons_ios_app/backend/bridge/native.match.dart:54:3)
<asynchronous suspension>
#3      MiddleInterface.findMatchingBackend (package:mlcommons_ios_app/benchmark/benchmark.dart:76:5)
<asynchronous suspension>
#4      MiddleInterface.create (package:mlcommons_ios_app/benchmark/benchmark.dart:101:30)
<asynchronous suspension>
#5      BenchmarkState.loadResources (package:mlcommons_ios_app/benchmark/benchmark.dart:284:15)
<asynchronous suspension>
#6      BenchmarkState.clearCache (package:mlcommons_ios_app/benchmark/benchmark.dart:280:5)
<asynchronous suspension>
#7      _SettingsScreen.build.<anonymous closure> (package:mlcommons_ios_app/ui/settings_screen.dart:174:19)
<asynchronous suspension>

@anhappdev, fixed.

Hi, @anhappdev.
This PR is blocking me. Could you take another look?

Ok. I am reviewing this PR.
BTW, you can just create a new branch from this one and working on it, that should not block you.


Add apparmor

debian
ubuntu
Not found for:
fedora

@ruffsl This has been in draft state for almost 2 months.  Any thoughts on whether this is going to move forward?  Thanks.

Sorry, this fell off my backlog. I don't have any further changes for this, and is ready.

Sorry, this fell off my backlog. I don't have any further changes for this, and is ready.

Thanks, appreciated.


Add advertise-address flag to handle the scheduler being behind a NAT

In cases where the Docker daemon puts containers behind a NAT, the agent needs to use a different address to the address that is bound on to get the executor and related binaries. This change adds an 'advertise-address' flag that allow you to specify this.
I would have loved to call this flag address, and move the current address flag to bind-address or something, but I don't know how compatible that would be?

thanks for the PR, left some comments

Not 100% sure that's exactly what you wanted. Used the explicitAdvertise var to indicate if the advertiseAddress flag was ever set to anything different.


Audio Device selector doesn't seem to be working.

OS: Windows 7 Pro SP 1
Issue Descriptions: It appears that the audio device selector no longer works, as the audio is only playing from the default device.  I'm not sure if this is related to issue #1705, as this is a different OS and the menus all appear to be working properly.
If you change the default device via window settings, the music will play from the newly selected default device regardless of what is selected  in Desktop Settings.
Steps to Reproduce:

Open GMDP.
Play music on the default device and notice the music is playing.
Select a new audio device from either Desktop Settings or from the taskbar icon.
The music will continue to play from the Default device.

Fixed in 06a1757bd22b2be1642bd6c4588bc0b5785c73af
Will be out in the next release


Add an OTA demo demonstrating how to use the PSA based OTA PAL

Signed-off-by: Sherry Zhang<EMAIL_ADDRESS>Change-Id: I36ab7e5ac5861954107e8a49233ed44f356b5fcc
The demo uses the PSA based OTA PAL implementation in this PR. The target board is
the Arm Musca_b1 platform. This commit only includes the logically related
code.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Updated this PR based on the latest code base(5251eeaf0) of the official Amazon FreeRTOS repo.


moment giving wrong  month

moment.locale('hr'); moment(moment().format('DD MMMM YYYY'), 'DD MMMM YYYY').format('DD MMMM YYYY')
let's suppose current date is 16 june 2020
expected output:
16 lipanj 2020
current output:
16 siječnja 2020

Saw this on SO the other day and got me curious. From what I can gather, locale.monthsRegex does not honor format styles that use monthsParseExact and have both date styles. For example, the ca locale also suffers from this but less so since most of the standalone regex will match for the months on the format regex.
The problem is with computeMonthsParse which calls localeMonths with an empty format:
https://github.com/moment/moment/blob/dca02edaeceda3fcd52b20b51c130631a058a022/src/lib/units/month.js#L323
That always gets you back a regex that only includes standalone styles.
I suppose you would need to drag down the format all the way from here:
https://github.com/moment/moment/blob/615212478ce087aeb995699ce5a827dab9daf9ec/src/lib/create/from-string-and-format.js#L51
Although that would be a little bit ugly since only the MMMM token would need the format.

@MinusFour Perhaps the locale can be updated with a monthsParse: function?

I don't think so. Maybe someone can clarify how nominative and accusative month names are supposed to be parsed. From what I can gather on code and on website documentation, depending on the format string given it would either parse in it's standalone form or the format form. Which is nominative and which is accusative I'm not entirely sure (but if I had to guess format form is accusative).
So using es as an example (even though current es locale is not set up for this) . Today's date (9/16) with the month in its accusative form would be 16 de Septiembre and in its nominative form it would be Septiembre 16. Now, as I understand it, moment should be able to parse these correctly:
moment("16 de Septiembre", "DD MMMM");
moment("Septiembre 16", "MMMM DD");

But not:
moment("16 Septiembre", "DD MMMM")

As the format supplied would make moment parse the string with the month being in it's accusative form (de Septiembre). Likewise I believe it wouldn't parse:
moment("de Septiembre 16", "MMMM DD", true);

But do notice the strict flag set on. This is because the nominative form (Septiembre) is part of the accusative form so without the strict flag it would just ignore de.
The way moment works right now (with monthsParseExact set to true) is completely discarding it's accusative form:
moment.locale('ca');
let m1 = moment("16 de juliol", "DD MMMM"); // 07/16
console.log(m1.format('MM / DD')); // 09/16

The test in a jsfiddle with<EMAIL_ADDRESS>I initially thought moment would just ignore the token de and keep parsing the juliol as July but it doesn't, so not even accusative forms that include their nominative forms in their regular expressions are safe. It just doesn't work.
What these locales can do is turn off monthsParseExact and let moment match the month tokens by a much more broad regular expression. It seems to be working OK on other locales with separate forms though I'm unsure if that would allow improper use of its date forms (something I need to check if it's possible on other locales).
The way I see it, the matching regular expression that extracts the months from the strings is predicated on the format string used. So monthsRegex should give a different regular expression depending on which format string is given.
Maybe someone can someone clarify me if DD MMMM is valid if MMMM is using it's nominative form (standalone)?

@marwahaha is this good to go? I want to give it a try

can I work on this?

Can i work on this


pull request for e2e test at 02/01/2017 22:45:13

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Fix job_already_started error

This PR fixes and improves the following points:

Fixes JOB_ALREADY_STARTED error message by cleaning up the cache
Avoids collision of lists with the same name and different customer_ids

The unit tests are failing but I am addressing that in my PR


Not able to open device in Windows to inspect paritions

Nice project!  Many thanks for this contribution.
I ran into a challenge when trying to view the partition table information via: "mp-image-tool-esp32 COMX" (where X is serial port under Windows 11).  This works under Linux via "mp-image-tool-esp32 /dev/ttyUSB0" as well as via "mp-image-tool-esp32 u0"
I tried the short-hand device option under Windows "mp-image-tool-esp32 c6" but in both Windows cases, the serial device could not be opened, even though it is an available and unblocked serial COM port.
Any ideas?   I'm testing on multiple ESP32-WROVER-E dev boards with the same result.
Also, I found that I can resize the flash on Micropython 1.23.0 image (ESP32_GENERIC-SPIRAM-20240602-v1.23.0.bin) to 16MB and saved as a new binary,  but when I flash that updated binary to the device (ESP32 WROVER-E) that the device was not usable.  HOWEVER, if I flash the micropython.org ESP32_GENERIC-SPIRAM-20240602-v1.23.0.bin to the device and THEN increase the flash size on the device itself (only on Linux due to the device reference issue cited at the top of this note) I can see the 16MB (14MB usable).
In both cases I'm using ESPTOOL 4.7 on both Linux (Ubuntu 22.04) and Windows 11.
Thanks in advance for any guidance on this.

@kwjones - A few more diagnostic things to try on windows:

mp-image-tool-esp32 -d c6 will provide a lot of extra debugging information that may be helpful.
esptool.py --port COM6 flash_id

If the problems persist on Windows, please post the output of these commands.

I have pushed an update which might improve/fix the issue. Try pulling the latest from github (version 0.0.4) and see if that works on Windows.
If you have built and installed mp-image-tool-esp32 as a package, you will need to rebuild and reinstall. If you installed with the -e method, it will automatically use the updates.

And there is a newer version on my dev branch which does not run esptool.py as a subprocess at all. Instead, it imports the esptool module and calls the functions to operate on the device. This SHOULD be completely compatible with Windows.

Those changes have been merged from dev into the main branch. Please let me know if you continue to have issues on Windows.


Make it possible to run tests.

What type of PR is this? (check all applicable)

[ ] Refactor
[ ] Feature
[x] Bug Fix
[ ] Optimization
[ ] Documentation Update
[ ] Other: Replace this with a description of the type of this PR

Description
I followed the instructions on
https://github.com/polybar/polybar/wiki/Testing, and this happened to
me:
$ cmake .. -DBUILD_TESTS=ON
...
[ 11%] Creating directories for 'googletest'
[ 22%] Performing download step (git clone) for 'googletest'
Cloning into 'googletest-src'...
fatal: invalid reference: master
CMake Error at googletest-download/googletest-prefix/tmp/googletest-gitclone.cmake:40 (message):
  Failed to checkout tag: 'master'

make[2]: *** [CMakeFiles/googletest.dir/build.make:99: googletest-prefix/src/googletest-stamp/googletest-download] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/googletest.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
CMake Error at tests/CMakeLists.txt:19 (message):
  Build step for googletest failed: 2

It looks like the problem is that
googletest changed their branch from
master to main at some point.
Related Issues & Documents
N/A
Documentation (check all applicable)

[ ] This PR requires changes to the Wiki documentation (describe the changes)
[ ] This PR requires changes to the documentation inside the git repo (please add them to the PR).
[x] Does not require documentation changes: I fixed a broken link
https://github.com/polybar/polybar/wiki/Testing. Hopefully it's
intentional that random members of the public such as myself are allowed
to do that?

Thanks for the fix :)
Seems that changed just a few days ago. Their readme still references master :sweat_smile:

Hopefully it's intentional that random members of the public such as myself are allowed to do that?

Yes, that is intentional, exactly because of things like this.


[Examples/Intro] Fix NULL pointer deref due to huuge malloc

It would probably be good to check that malloc doesn't fail, but for a simple example like this it should be fine.

Thanks so much for fixing this, was just testing something out and obviously left the test code in 🙈
Will be more careful next time!


[SEARCHREL-547] Include the fix for SNOW-899560

This reproduces https://github.com/snowflakedb/snowpark-java-scala/pull/50 to be able to deploy a version with this fix, until Snowpark merges and deploy on their end.

PR created in the wrong repository, sorry!


Fix spelling mistakes in documentation

While reading  some of the docs I noticed a few errors, so I ran
misspellings (https://pypi.python.org/pypi/misspellings) on markdown files

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "spelling" git@github.com:jogo/docker.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

Thanks so much! LGTM
ping @jfrazelle @calavera I've never worked with the "misspellings" tool mentioned, could it be interesting for automated scanning for small typos?
ping @fredlf @jamtur01 @moxiegirl @SvenDowideit

@thaJeztah misspellings looks for common misspellings and in my experience does a good job of only finding real typos. I think it would be a good candidate for some sort of automation.
You can try it out for yourself with:
pip install misspellings
git ls-files | grep -V vendor | grep md$ | xargs misspellings
limited search to non vendored code, and documentation only. Since vendored docs should be fixed upstream, and sometimes a misspelled word hidden in a non-user facing location (that doesn't make grepping harder) doesn't matter much.

@jogo definitely looks interesting. I'm always a bit wary of automated spell checks (especially when combined with source code), but this looks interesting because it's limited to "common" misspellings.
Perhaps we could give it a go at some point to see if it works out okay.

LGTM

Thank you for the prompt review.
Strange question:  I have been reading up the workflow documentation for Docker, and from what I read in CONTRIBUTING it says:
A change requires LGTMs from an absolute majority of the maintainers of each component affected.

Yet I only see two LGTM's on this patch.  So what is the review process?

@jogo for documentation changes, there's generally two "LGTM"s required from the docs-maintainers.
I think the description in the CONTRIBUTING and MAINTAINERS documents may need some updating


chore(ModelTheory/Complexity): move quantifier complexity into a new file

Several important files in the model theory library touch on quantifier complexity of formulas, an idea that is not yet used for anything else in mathlib.
This PR moves all quantifier complexity content to a new file, ModelTheory/Complexity and improves the documentation of these concepts.
This will hopefully make these basic files more legible and easier to refactor.

maintainer merge

bors merge


(3/4) Trigger v0.17.5 Bundle Production Pipeline

Issue #, if available:
Description of changes:
Testing (if applicable):
Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/hold

/lgtm

/unhold
/approve

/retest


Propage proper syntax errors downstream

The original issue was started here
And there was suggested that proper syntax errors could be obtained via regex-syntax here. However this is not really a solution, since you had to parse/translate regex twice, which is inefficient and then just always call unwrap. So having proper syntax errors without parsing things twice each time, is pretty helpful.
let regex_source = "hello(";
let hir = regex_syntax::Parser::new().parse(regex_source);
match hir {
    Err(error) => {
        println!("{:?}", error);
        return
    },
    _ => (),
}
let actual_regex = regex::Regex::new(regex_source).unwrap();

"proper" syntax errors are intentionally not exposed, in order to avoid creating a public dependency on regex-syntax. That is certainly not going to change. The other choice is to duplicate the error types in regex-syntax, but the error structure is quite rich and does occasionally change. So this is also not going to happen.
Considering that access to the actual underlying structured errors is incredibly niche, it seems perfectly reasonable to me for those cases to invoke regex-syntax directly. This is a hell of a lot more than you'll get with almost any other regex library, that's for damn sure. :-)

since you had to parse/translate regex twice, which is inefficient

Mildly so. Parsing the regex is typically dwarfed by compiling it into a state machine, so this doesn't seem like a big deal to me. ripgrep will parse the regex twice, for example. (Not because of errors, but because of its custom inner literal detection, which requires looking at the HIR of the regex.)

then just always call unwrap

That's not quite right, since Regex::new can fail for more reasons that a syntax error. The regex can be valid syntactically, but be too big to compile. That will make regex_syntax::Parser succeed, but Regex::new fail.

Considering that access to the actual underlying structured errors is incredibly niche, it seems perfectly reasonable to me for those cases to invoke regex-syntax directly. This is a hell of a lot more than you'll get with almost any other regex library, that's for damn sure. :-)

You can provide even limited translation to something that actually makes sense. And other libraries do expose various kind of errors right from building regex(you can offset, etc). https://docs.rs/pcre2/0.2.3/pcre2/struct.Error.html#method.offset . While such thing is not perfect, it's way more useful than whatever regex is currently doing. I agree that exposing regex-syntax isn't something one could like, however having an option to not parse regex twice and provide error message that is a bit more useful outside of some CLI tools sounds like a reasonable things to ask, don't you think?

Considering that access to the actual underlying structured errors is incredibly niche, it seems perfectly reasonable to me for those cases to invoke regex-syntax directly.

Yeah, but assume that you're live typing regex and rebuild things, rehighlight, redraw, and try to that under 7ms total, it's purely about not wasting performance, that's all.

Yeah, but assume that you're live typing regex and rebuild things, rehighlight, redraw, and try to that under 7ms total, it's purely about not wasting performance, that's all.

I remain unconvinced by this argument. I have zero interest in arguing about hypotheticals. If someone goes out and actually tries to build this, and they have problems, then we can tackle them then.

And other libraries do expose various kind of errors right from building regex(you can offset, etc). https://docs.rs/pcre2/0.2.3/pcre2/struct.Error.html#method.offset

Yes, I wrote that crate (which are just bindings for PCRE2), so of course I know that. But you were asking for propagating the errors in regex-syntax. I don't see you asking for more condensed structured error information here. I'd be potentially open to doing something like that, but I'd like to see a use case first. (Because I suspect any such use case is going to be just fine using regex-syntax directly instead.)

however having an option to not parse regex twice and provide error message that is a bit more useful outside of some CLI tools sounds like a reasonable things to ask, don't you think?

It's reasonable to ask, but I think it's also reasonable to say "no, unless you have a compelling use case to motivate it." I don't see any such use case. I see hypotheticals, but not real actionable things with measurements justifying API improvements.


Trim + Load transcript data on demand

This is too big:

I think it's mostly due to loading the word data on the transcript page, which we currently don't need.
Also would be nice to delay loading the transcript data until the transcript route is visited.

fixed https://github.com/syntaxfm/website/pull/1186


dtb extraction

https://github.com/PabloCastellano/extract-dtb

extract-dtb image_name -o /tmp/dtb/
works like a charm. Do you want to collect samples in this repository?

I thought it'd make sense to reference the tool in the README, possibly add a Rust rewrite :crab:

Gonna try the RIIR Way

I added a dtb-extract command to device_tree-rs


maint: refactor mapping.go

What?
This PR refactors mapping.go to switch on strings.Contains(), making it easier to read and extend.
Why?
Maintenance.
Notes to reviewer:
I also looked at using a map, but it made it harder to read:
	// Map of alert title substrings to investigation constructors for standard investigations
	standardInvestigations := map[string]func() *investigation.Investigation{
		"has gone missing": func() *investigation.Investigation {
			return investigation.NewInvestigation(chgm.Investigate, "ClusterHasGoneMissing")
		},
		"ClusterProvisioningDelay -": func() *investigation.Investigation {
			return investigation.NewInvestigation(cpd.Investigate, "ClusterProvisioningDelay")
		},
	}

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 37.79%. Comparing base (324519f) to head (5900c33).

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #304      +/-   ##
==========================================
- Coverage   38.51%   37.79%   -0.73%
==========================================
  Files          20       22       +2
  Lines        1594     1667      +73
==========================================
+ Hits          614      630      +16
- Misses        940      997      +57
  Partials       40       40

Files
Coverage Δ

pkg/aws/aws.go
0.00% <ø> (ø)

pkg/investigations/mapping/mapping.go
100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes

/lgtm


Default slots using functional components still call functional's render() when something else is slotted.

Version
2.6.11
Reproduction link
https://codesandbox.io/s/happy-pascal-reiyx?fontsize=14&hidenavigation=1&theme=dark
Steps to reproduce

Please see linked minimal example.
Create a component A which uses a functional component B inside a default slot.
Use Component A, but slot in something else so the functional component B does not appear.

What is expected?
The render() function of the functional component should not be called. As it does not appear, I shouldn't expect its render function to be called.
What is actually happening?
The render() function is called, as seen by the console output which logs when the function is called.

Issues:
I encountered this when I was creating a table with 10,000 cells and each <\td> was a functional component. However the table was able to slot in its own component over the <\td>. Doing so meant the slotted clotted was created along with 10,000 unnecessary renders() from the functional component. This added about ~1s load time.
Workarounds:
Don't put the functional component inside the slot. Instead, the functional component should be used outside and have a v-if on it checking if the slot has not been used. It is the same end result, but render() is not called.

Duplicate of https://github.com/vuejs/vue/issues/10926


[BUG]:  Invariant Violation: requireNativeComponent: "RCTVideo" was not found in the UIManager.

Version
6.6.2, 6.5.0 and 6.4.3
What platforms are you having the problem on?
Android, Windows
System Version
Windows 10 and Android Mobile
On what device are you experiencing the issue?
Real device, Simulator
Architecture
Old architecture
What happened?
When I try to use react-native-video, whether it's a local file or a URL hosted on AWS, the app crashes and throws the following error: Invariant Violation: requireNativeComponent: "RCTVideo" was not found in the UIManager.
I have tried different Node versions and different versions of react-native-video, but I am still encountering the same issue. I suspect I might be missing something, but I am unsure where the mistake is. I also tried the suggestion from this guide: https://thewidlarzgroup.github.io/react-native-video/other/expo#expo-plugin, but the issue persists.

Reproduction Link
https://github.com/Just9krish/react-native-video
Reproduction

Clone the repository using the provided link and install dependencies by running npm i.
Start the application with the command npm start.
The error will appear when the app is bundled and loaded.

Your issue is linked to expo go. if you run: npx expo run:android the project is rebuilt and the error disappear !
And thank you for the sample !

I'm new to React Native and Expo, and I was following your suggestion regarding running npx expo run:android to fix the "RCTVideo not found in the UIManager" error. When I ran the command, I encountered a few errors. I was able to solve a few of the errors, but now I’m stuck on the following error:
Execution failed for task ':app:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction

could you please elaborate on your comment about "Your issue is linked to Expo Go"? I understand that Expo Go might have some limitations with native modules like react-native-video, but I would really appreciate it if you could explain how exactly you resolved this and how to avoid these errors while running in development mode with Expo.

While running the command npx expo run:android I encountered the following error:
Execution failed for task ':app:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Compilation error. See log for more details

This is the complete log file. Could you please help me resolve this issue?
logErrors.txt

./gradlew : The NODE_ENV environment variable is required but was not specified. Ensure the project is bundled with Expo CLI or NODE_ENV is set.
you should check that !

e: file:///C:/Users/desktop/Desktop/test-app/android/app/src/main/java/com/fernandes/developer/testapp/MainActivity.kt:18:14 Unresolved reference: R
e: file:///C:/Users/desktop/Desktop/test-app/android/app/src/main/java/com/fernandes/developer/testapp/MainActivity.kt:35:11 Unresolved reference: BuildConfig
e: file:///C:/Users/desktop/Desktop/test-app/android/app/src/main/java/com/fernandes/developer/testapp/MainApplication.kt:31:60 Unresolved reference: BuildConfig
e: file:///C:/Users/desktop/Desktop/test-app/android/app/src/main/java/com/fernandes/developer/testapp/MainApplication.kt:33:52 Unresolved reference: BuildConfig
e: file:///C:/Users/desktop/Desktop/test-app/android/app/src/main/java/com/fernandes/developer/testapp/MainApplication.kt:34:51 Unresolved reference: BuildConfig
e: file:///C:/Users/desktop/Desktop/test-app/android/app/src/main/java/com/fernandes/developer/testapp/MainApplication.kt:44:9 Unresolved reference: BuildConfig

--> looks like an issue in you app ...


yesod-test-1.5

yesod-test-1.5 depended on by:

yesod-static-angular-0.1.6 (>=1.2 && < 1.5). John Lenz<EMAIL_ADDRESS>@wuzzeb.

Created issue: https://bitbucket.org/wuzzeb/yesod-static-angular/issues/1/upgrade-to-yesod-test-15

I just fixed this on hackage with version 0.1.7

Awesome, thanks @wuzzeb.


Support for Set collection type

There is a bunch of cases where we need to compare two sets of data and deal with their diff but here we forced to convert these collections to arrays and obviously use a heavier algorithm to deal with them. This can be achieved with the basic Swift Set operations like subtracting but I would really like to see such option in this library.

Hmm, I'm a bit confused by what you're looking for. I think order of insertions/deletions is the primary use case for Dwifft. If you're looking for the series of changes to make to convert set a into set b, couldn't you just say let insertions = b - a; let deletions = a - b?

Yes, that's right. In my particular case, I just wanted to be consistent in my code base and use the same [DiffStep<T>] output to update the database for both Sets and Arrays.

Ah, ok. I think that's reasonable - would be happy to accept a PR that did this (I think it'd be pretty short/straighforward...)


KilledWorker error when running Groupby on 5GB dataset

What happened:
When running Dask's GroupBy Query for a 5GB dataset, a KilledWorker error occurred, stopping the query from completing.
What you expected to happen:
The query is supposed to complete and display Dask's runtime for a groupby query.
Minimal Complete Verifiable Example:
Source repository required for running benchmark:  https://github.com/h2oai/db-benchmark
Run db-benchmark for Dask using ./_launcher/solution.R --solution=dask --task=groupby --nrow=1e8
Anything else we need to know?:
Steps to generate 5GB dataset using linked repository (cloning the entire repository is required to generate the necessary dataset for running the query):

Run Rscript _data/groupby-datagen.R 1e8 1e2 0 0 in db-benchmark to create a 5GB dataset
Create a new directory in db-benchmark called data. Store the generated dataset in this directory.

Environment:

Dask version: 2022.5.0
Python version: 3.9.6
Operating System: Ubuntu 20.04.3 LTS (Focal Fossa)
Install method (conda, pip, source): Conda

Cluster Dump State:

@RitikParmar Thanks for reporting, I'll look into reproducing this. Would you also be able to share the complete error traceback?
@MrPowers was looking into running the groupby queries with Dask, and AFAICT the queries on the 5GB dataset didn't cause issues. cc @ncclementi and @ian-r-rose who have more background on this.
You may also find #9292 interesting. :)

@RitikParmar the benchmark as done in the repository: https://github.com/h2oai/db-benchmark has a lot of problems as they are persisting the data in memory. So likely the problem you are seeing is due to that. Keep in mind that the h2o benchmarks as stated on that repository were done in a powerful ec2 instance with lots of memory (needed if you persist the data).
That repository is not maintained anymore but you can find these resources useful.
Useful link:
Data generation scripts https://github.com/coiled/h2o_benchmark_data


User-centric docs

Reason/Context
At the moment all docs are contributor-centric and do not explain how a user can use the project.
Description
We need to add user-centric docs together with examples in generator language.

The initial take on how we could change the documentation to be more user-centric. I declared each question as a potential use-case (or more specifically a feature in Modelina) that the user of the library can encounter. Each of these use-cases will be an individual document, that will explain how to accomplish it and the reason behind it.

Generate Go models
Generate C# models
Generate Java models
Generate TypeScript models
Generate JavaScript models
Integrate Modelina in a website
Integrate Modelina in an AsyncAPI generator template
Generate each model in the same file
Generate a model in separate files
Change the generated indentation type and size
Change the naming format for properties
Change the naming format for data models
Include a custom function in the data model
Use the models for data transfer
Extend the logic of an existing renderer
Build your own model renderer
Create your own models from the ground up, instead of a supported input

Language-specific use-cases
TypeScript

Generate an interface instead of class
Generate un/marshal functions for each class

Java

Include equals function for the class
Include hashCode function for the class
Change the collection type for arrays
Include toString function for the class
Include Java doc for properties
Include javax validation constraints annotations for properties
Include Jackson annotations for the class

Anything missing?

The majority of these docs topics are about coding, using Modelina API. Providing initial docs is easy, harder to maintain in the future. Did you plan to write just markdown or rather examples for each, examples that can be tested on a PR?

The majority of these docs topics are about coding, using Modelina API. Providing initial docs is easy, harder to maintain in the future. Did you plan to write just markdown or rather examples for each, examples that can be tested on a PR?

Good point 🤔 Most of these are actually already in place as tests. They are just all over the place (not structured to be easily discovered based on example), would you suggest we create an extra specific test per example, or restructure the tests, so there are no duplicates @derberg ?

for user most important is example, not test itself so might be that tests are in one location, refactored to not have duplications. More important is to have "runnable examples"

Each of these use-cases will be an individual document, that will explain how to accomplish it and the reasons behind it.

Do we really need this? 🤔  I think that idea having each language as separate document with possible options - described by examples, not by tables like currently - should be better. For the rest use cases we can create advanced.md file for the cases like Use the models for data transfer, Include a custom function in the data model and integration.md to describe integration with Generator, front-end app etc.
When we are talking about tests, it's ok for me, but as I remember the test cases, probably we should restructure them.

When we are talking about tests, it's ok for me, but as I remember the tests structure, probably we should restructure them.

it can be separate to not mix with library itself as they are not library-related but rather examples only + they work as integration tests too (which is then library related) 😆

it can be separate to not mix with library itself as they are not library-related but rather examples only + they work as integration tests too (which is then library related) 😆

In that way, we ensure provided examples are real working examples 👍

I think that idea having each language as separate document with possible options - described by examples, not by tables like currently - should be better. For the rest use cases we can create advanced.md file for the cases like Use the models for data transfer, Include a custom function in the data model and integration.md to describe integration with Generator, front-end app etc.

@magicmatatjahu you are right, we should probably bundle a lot of the cases together.
So to sum it up, what if we divide it into:

integration.md

Listing the different, tested integration methods.

advanced.md

For advanced customization of the output.

<language>.md

For language specific use-cases.

For the test structure, we can address it later, not anything we have to decide upon now 🙂

it can be separate to not mix with library itself as they are not library-related but rather examples only + they work as integration tests too (which is then library related) 😆

In that way, we ensure provided examples are real working examples 👍

@derberg @smoya I love killing two birds with one stone 😄 Solves https://github.com/asyncapi/modelina/issues/296.


Added copy to clipboard functionality and a few hotkeys.

I was surprised that it isn't possible to copy query results into the clipboard, so I added such functionality + hotkeys.
Tabs
middle mouse click - close tab under the cursor
QueryControl
F5 - run the current query
QueryResultsControl
Ctrl+A - select all
Ctrl+C - copy to clipboard

For those who are searching a compiled version with this feature, you can download it from my fork.


error NameError: name 'video_main_function' is not defined

I am a beginner to python and NodeJS
when I am running this app. I am getting this error
NameError: name 'video_main_function' is not defined
on a backend terminal, I am getting this
INFO:     Started server process [9272]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:8000 (Press CTRL+C to quit)
INFO:     <IP_ADDRESS>:52834 - "GET /videoCreate HTTP/1.1" 405 Method Not Allowed
Any idea why I am getting these error

oh i made a mistake, in main.py video_main_function was supposed to be video_main, i fixed the bug, you can try again by cloning or go to main.py and and rename video_main_function to video_main in line 30 path = ...


Support version 0.5.x HLS Dailymotion

Linking to hls.js repo using npm without https url. Example: "hls.js": "^0.5.11"

Done in latest version


Keylogger problem

I am not receiving any key logs but the notification is working fine. Please help.

Keylogger needs accessibility permission

@Ride-dot hi Is it still working?


Add new ports to network requirement doc

Signed-off-by: Lan Luo<EMAIL_ADDRESS>

/skip-all
Documentation changes only.


Publish script

Fixes the build on master and adds a script to help ensure this process goes smoothly in the future.

Codecov Report

Merging #126 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #126   +/-   ##
=======================================
  Coverage   99.67%   99.68%
=======================================
  Files           1        1
  Lines         923      947   +24
  Branches      184      187    +3
=======================================
+ Hits          920      944   +24
  Misses          1        1
  Partials        2        2

Impacted Files
Coverage Δ

src/turbot/__init__.py
99.68% <100.00%> (+<0.01%)
: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 4843905...64b262e. Read the comment docs.

Worked like a charm! 🎉
$ ./scripts/publish.sh patch
Bumping version from 3.2.0 to 3.2.1
================================================= test session starts ==================================================
platform darwin -- Python 3.7.6, pytest-5.4.1, py-1.8.1, pluggy-0.13.1
Matplotlib: 3.2.1
Freetype: 2.6.1
rootdir: /Users/me/source/turbot, inifile: tox.ini
plugins: mpl-0.11, mock-3.1.0, snapshot-0.3.0, freezegun-0.4.1, asyncio-0.11.0
collected 166 items

tests/test_turbot.py ........................................................................................... [ 54%]
...........................................................................                                      [100%]

================================================= 166 passed in 8.02s ==================================================
Building turbot (3.2.1)
 - Building sdist
 - Built turbot-3.2.1.tar.gz

 - Building wheel
 - Built turbot-3.2.1-py3-none-any.whl
[master 77662ba] Release v3.2.1
 1 file changed, 1 insertion(+), 1 deletion(-)
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 16 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 290 bytes | 290.00 KiB/s, done.
Total 3 (delta 2), reused 0 (delta 0)
remote: Resolving deltas: 100% (2/2), completed with 2 local objects.
To github.com:theastropath/turbot.git
   0d2ca5c..77662ba  master -> master

Publishing turbot (3.2.1) to PyPI
 - Uploading turbot-3.2.1-py3-none-any.whl 100%
 - Uploading turbot-3.2.1.tar.gz 100%

Oh... interesting. It didn't work: https://github.com/theastropath/turbot/actions/runs/93461003
I think it's because of how dunamai gets the version number 🤔

Yep, that was it. Ok fixed for real this time, I think 🤞

Ha! Working now https://github.com/theastropath/turbot/actions/runs/93464298


Cannot edit body parameters

It should be possible to edit the body parameters, but the section only appears for a moment before vanishing.
Screencast from 03-31-2024 09:44:49 AM.webm

This is still happening, and on a new install of ComfyUI, it is not fixed

I am having this problem as well.


Hotkey run selected code in the Code tab.

R, CTRL-R, Enter keys maybe

added in this branch
https://github.com/louisVottero/vtool/pull/374


Use config: faster_rcnn_resnet50_v1_800x1333_coco17_gpu-8.config Error

How fix it, i search the question a long time, please
my environment:
rtx3070 cuda11.1
tf-nightly-gpu==2.5.0.dev20201226
Python ==3.8.5
Traceback (most recent call last):
File "model_main_tf2_1.py", line 114, in
tf.compat.v1.app.run()
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/platform/app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "/usr/local/lib/python3.8/dist-packages/absl/app.py", line 300, in run
_run_main(main, args)
File "/usr/local/lib/python3.8/dist-packages/absl/app.py", line 251, in _run_main
sys.exit(main(argv))
File "model_main_tf2_1.py", line 104, in main
model_lib_v2.train_loop(
File "/code/model/research/object_detection/model_lib_v2.py", line 522, in train_loop
train_input = strategy.experimental_distribute_datasets_from_function(
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/util/deprecation.py", line 337, in new_func
return func(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/distribute/distribute_lib.py", line 1147, in experimental_distribute_datasets_from_function
return self.distribute_datasets_from_function(dataset_fn, options)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/distribute/distribute_lib.py", line 1138, in distribute_datasets_from_function
return self._extended._distribute_datasets_from_function(  # pylint: disable=protected-access
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/distribute/mirrored_strategy.py", line 545, in _distribute_datasets_from_function
return input_lib.get_distributed_datasets_from_function(
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/distribute/input_lib.py", line 161, in get_distributed_datasets_from_function
return DistributedDatasetsFromFunction(dataset_fn, input_workers,
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/distribute/input_lib.py", line 1271, in init
_create_datasets_from_function_with_input_context(
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/distribute/input_lib.py", line 1935, in _create_datasets_from_function_with_input_context
dataset = dataset_fn(ctx)
File "/code/model/research/object_detection/model_lib_v2.py", line 513, in train_dataset_fn
train_input = inputs.train_input(
File "/code/model/research/object_detection/inputs.py", line 870, in train_input
dataset = INPUT_BUILDER_UTIL_MAP['dataset_build'](
File "/code/model/research/object_detection/builders/dataset_builder.py", line 228, in build
batch_size = input_context.get_per_replica_batch_size(batch_size)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/distribute/distribute_lib.py", line 516, in get_per_replica_batch_size
raise ValueError("The global_batch_size %r is not divisible by "
ValueError: The global_batch_size 16 is not divisible by num_replicas_in_sync 3

I never heard of the num_replicas_in_sync parameter, but I quickly searched for it in the object_detection folder, and it seems like it should be set to 1 by default.
For the problem at hand, a simple fix would probably be to set the batch_size inside the config file to something that can be divided by three, but I'd recommend to instead open an issue on the models repository so that the underlying problem can be found.

thank you very much, that's work...!
i got another question, because i want build a docker image...
i retry install all, i got a stranger error
Traceback (most recent call last):
File "model_main_tf2_1.py", line 114, in
tf.compat.v1.app.run()
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/platform/app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "/usr/local/lib/python3.8/dist-packages/absl/app.py", line 300, in run
_run_main(main, args)
File "/usr/local/lib/python3.8/dist-packages/absl/app.py", line 251, in _run_main
sys.exit(main(argv))
File "model_main_tf2_1.py", line 104, in main
model_lib_v2.train_loop(
File "/code/model/research/object_detection/model_lib_v2.py", line 561, in train_loop
load_fine_tune_checkpoint(detection_model,
File "/code/model/research/object_detection/model_lib_v2.py", line 339, in load_fine_tune_checkpoint
if not is_object_based_checkpoint(checkpoint_path):
File "/code/model/research/object_detection/model_lib_v2.py", line 302, in is_object_based_checkpoint
var_names = [var[0] for var in tf.train.list_variables(checkpoint_path)]
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/training/checkpoint_utils.py", line 112, in list_variables
reader = load_checkpoint(ckpt_dir_or_file)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/training/checkpoint_utils.py", line 67, in load_checkpoint
return py_checkpoint_reader.NewCheckpointReader(filename)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/training/py_checkpoint_reader.py", line 99, in NewCheckpointReader
error_translator(e)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/training/py_checkpoint_reader.py", line 48, in error_translator
raise errors_impl.OpError(None, None, error_message, errors_impl.UNKNOWN)
tensorflow.python.framework.errors_impl.OpError: not an sstable (bad magic number)

Sorry for the late reply. I just took a look and didn't find a solution. Maybe open an issue on the models repository so more people can help you.

Sorry for the late reply. I just took a look and didn't find a solution. Maybe open an issue on the models repository so more people can help you.


Naruto run animation has scale transforms

The naruto run animation is violating the standard by having scale transforms on the animation.
$ node animations-baker.js

unknown track name naruto run.fbx VectorKeyframeTrack {
  name: 'mixamorigRightHandRing1.scale',
  times: Float32Array(2) [ 0, 0.4000000059604645 ],
  values: Float32Array(6) [
    0.9999999403953552,
    0.9999999403953552,
    1,
    0.9999999403953552,
    0.9999999403953552,
    1
  ],
  createInterpolant: [Function: InterpolantFactoryMethodLinear]
}

Here are the Tests I did yesterday :

deleted all scale keyframes in "naruto\ run".fbx
recompiled animations.z , still getting scale errors
rename walking.fbx to "naruto\ run".fbx , recompile no errors
import walking.fbx into blender, notice scale keyframes in this animation also
recommendation
try to retarget the animation to our rigify/fbx armature then export via our normal method to hopefully remove these errors
if that doesnt work , redo the animation from scratch

This is still not done.

so today i keyframed the naruto run by hand, matching up the run of the original animation with our fbx export rig setup. had to do this because re-retargetting did not fix the problem.  much to my surprise the warnings still happens, i did not keyframe any scale into the animation, the problem is much deeper than that.
i took another animation that was done for webaverse and replaced it with naruto run , it too has scale issues, if i import walking.fbx into blender (if you over-write naruto run with walking the warnings stop) and re-export it completely on defaults it too now has warnings about scale keyframes.
i believe the main reason for this bug is the at least the fbx exporter and most likely the fbx importer as well.

so today , i went through most of the steps that i had already tried but also with galad this helped to double check my testing methods and helped to re-inforce the idea that the exporter is forcing scale animation keyframes on export.
galad also requested i try the same testing procedure in another modelling package, so modo was chosen.
steps :

import walking.fbx
tweak modo settings to only export animation
export fbx from modo
recompile animations.z (cbor)
result:
unknown track name naruto run.fbx VectorKeyframeTrack {
name: 'mixamorigRightUpLeg.scale',
times: Float32Array(27) [
0, 0.0416666679084301,
0.0833333358168602,              0.125,
0.1666666716337204, 0.2083333283662796,
0.25, 0.2916666567325592,
0.3333333432674408,              0.375,
0.4166666567325592, 0.4583333432674408,
0.5, 0.5416666865348816,
0.5833333134651184,              0.625,
0.6666666865348816, 0.7083333134651184,
0.75, 0.7916666865348816,
0.8333333134651184,              0.875,
0.9166666865348816, 0.9583333134651184,
1, 1.0416666269302368,
1.0833333730697632
],
values: Float32Array(81) [
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1
],
createInterpolant: [Function: InterpolantFactoryMethodLinear]
}

next step : figure out why the Mixamo animations aren't throwing the same error despite being FBX

To add on to this, it seems that all exporters we have looked into/tried automatically include scale information into the file. This is regardless of if it is present in the animation itself. Blender has a series of options to adjust the types of scale applied, but no option to disable it.

Further research has shown that scale information seems to be a part of the FBX format, which is why it is so weird that the Mixamo animations don't seem to have the same error.

So i've found 2 possible way to get the fbx's exporting without throwing that warning, both of which are in the "Bake Animation" dropdown in the blender exporter

disable "Key all bones", "NLA Strips", and "All Actions", enable "Force Start/End Keying"
disable "Key all bones" and "Force Start/End Keying", enable "NLA Strips" and "All Actions"

Doing either of those removes the warning when running the animation baker, but trying to run the animation in game caused a crash due to missing tracks.  Throwing the naruto run animation into a try block allows the animation to run correctly, and the following tracks are identified as missing
mixamorigRightHandMiddle1.quaternion
mixamorigRightHandMiddle2.quaternion
mixamorigRightHandMiddle3.quaternion
mixamorigRightHandThumb1.quaternion
mixamorigRightHandThumb2.quaternion
mixamorigRightHandThumb3.quaternion
mixamorigRightHandIndex1.quaternion
mixamorigRightHandIndex2.quaternion
mixamorigRightHandIndex3.quaternion
mixamorigRightHandRing1.quaternion
mixamorigRightHandRing2.quaternion
mixamorigRightHandRing3.quaternion
mixamorigRightHandPinky1.quaternion
mixamorigRightHandPinky2.quaternion
mixamorigRightHandPinky3.quaternion
mixamorigLeftHandMiddle1.quaternion
mixamorigLeftHandMiddle2.quaternion
mixamorigLeftHandMiddle3.quaternion
mixamorigLeftHandThumb1.quaternion
mixamorigLeftHandThumb2.quaternion
mixamorigLeftHandThumb3.quaternion
mixamorigLeftHandIndex1.quaternion
mixamorigLeftHandIndex2.quaternion
mixamorigLeftHandIndex3.quaternion
mixamorigLeftHandRing1.quaternion
mixamorigLeftHandRing2.quaternion
mixamorigLeftHandRing3.quaternion
mixamorigLeftHandPinky1.quaternion
mixamorigLeftHandPinky2.quaternion
mixamorigLeftHandPinky3.quaternion

this leads me to believe that blender's export is adding in scaling data when baking because it thinks it's "missing".  2 possible solutions come to mind

ensure the above mentioned animation tracks have some type of value when exporting using the above settings, to prevent crashes
allow in code for tracks to be undefined, and throw a warning when an expected track is missing

next step: figure out why the Mixamo animations aren't throwing the same error despite being FBX

The next step seems to be to give up on that file. It seems like it would have taken no more than a few hours to remake it, even if we are literally pasting keyframe numbers to a working mixamo.
Sometimes tools have bugs and there's no point trying to get around them.

Failing that I'm ok with just adding to our code a loop that checks that if there is a scale it must be all = 1, and then thrown away. (if that is violated we should crash because there is currently no way we can render such an animation).

This is a simple a tooling failure that can be worked around. Let's not spend months on it.

Failing that I'm ok with just adding to our code a loop that checks that if there is a scale, it must be all = 1, and then it can be thrown away (if that requirement is violated we should crash because there is currently no way we can render such an animation).

blender does seem to allow you to set a scale of 1(or whatever we'd choose) to all transforms, which should satisfy this.  i can update the baker code to support this

Please. Just validate it's all 1, and then throw it out if that's the case.


Bug: Can't ignore the paths in .gitignore

Which packages are affected?

[x] @eslint/compat
[ ] @eslint/config-array
[ ] @eslint/core
[ ] @eslint/migrate-config
[ ] @eslint/object-schema
[ ] @eslint/plugin-kit

Environment
Node version:
v18.20.3
npm version:
10.7.0 (pnpm version: 9.0.6)
ESLint version:
    "@eslint/compat": "^1.2.2",
    "@types/eslint__js": "^8.42.3",
    "@types/node": "^20.12.6",
    "@typescript-eslint/eslint-plugin": "^7.6.0",
    "@typescript-eslint/parser": "^6.5.0",
    "cspell": "6.18.1",
    "eslint": "^9.14.0",
    "eslint-plugin-jest": "^28.2.0",
    "husky": "^9.0.11",
    "just-pnpm": "^1.0.2",
    "lint-staged": "^10.5.1",
    "prettier": "^2.1.2",
    "typescript": "^5.4.4",
    "typescript-eslint": "^7.6.0"

Operating System: macOS 15.0.1
What did you do?
// eslint.config.ts
import { includeIgnoreFile } from "@eslint/compat";
import js from '@eslint/js';
import tseslint from 'typescript-eslint';
import path from "node:path";

const gitIgnorePath = path.resolve(__dirname, ".gitignore");

module.exports = tseslint.config(
  includeIgnoreFile(gitIgnorePath),
  // ...
}

Run command:
tsc --target esnext --module nodenext eslint.config.ts && eslint . --fix

What did you expect to happen?
Successfully ignoring the paths in .gitignore
What actually happened?
TS say that tseslint.config expects a different return value from includeIgnoreFile(gitIgnorePath):
eslint.config.ts:22:3 - error TS2345: Argument of type 'Config<RulesRecord>' is not assignable to parameter of type 'ConfigWithExtends'.
  The types of 'languageOptions.ecmaVersion' are incompatible between these types.
    Type 'import("/Users/xxx/project/node_modules/.pnpm/eslint@9.14.0/node_modules/eslint/lib/types/index").Linter.EcmaVersion' is not assignable to type 'import("/Users/xxx/project/node_modules/.pnpm/@typescript-eslint+types@7.14.1/node_modules/@typescript-eslint/types/dist/parser-options").EcmaVersion'.
      Type '16' is not assignable to type 'EcmaVersion'.

Link to Minimal Reproducible Example
don't have
Participation

[ ] I am willing to submit a pull request for this issue.

Additional comments
No response

We need a reproduction case in order to investigate.

No response, so closing.


SSL support on android

Servers started on android should be able to host secured sites.
Currently keys are loaded via jks, which is not accessible on android, so trying to start a secured server will throw a
java.lang.RuntimeException: java.security.KeyStoreException: JKS not found

exception. It would be great if there was a way to load certificates on android. For example via bouncycastle

@algor1th
I was too trying running server with SSL on Android following the example on Javalin document page.
Yes, the first hurdle is JKS keystore. You can solve this by using bouncycastle (BKS) when setting a custom Jetty server for Javalin.
But I was not able to make that custom Jetty server running. https://github.com/tipsy/javalin/issues/1077
If you have any progress, please leave some tips here. Thank you.

Try googling for "android jetty ssl", and you'll probably find some useful articles. Maybe this? https://www.raphaelmichel.de/blog/2014/android-ssl.html
It's not really a Javalin specific problem, SSL is handled entirely by Jetty, so I'll close the issue.


Fix flowconfig parsing crash

Before we would get the cryptic error Fatal error: exception Failure("hd")
Test plan:

Added unit test
Manually checked that it would properly reject if the config contained a different version
Manually checked that it would run properly if the config contained nothing under [version] or the correct version.

@facebook-github-bot shipit


169 update code style documentation

This MR updates the docs/Development.md documentation file, which had become significantly outdated. It now contains the following sections:

overall code structure and general considerations;
coding style;
code style tools;
coding patterns that ensure code quality; and
building and testing infrastructure, and their best practices.

@alberto-scolari Could I ask you to review https://github.com/Algebraic-Programming/ALP/blob/169-update-code-style-documentation/docs/Development.md ?


SQForm Checkbox group with label

Per Chris Nemeth:
"Utilize the work Branden has done in Issue #64 for Radio Button Fields to do so for Checkbox Fields."

:tada: This issue has been resolved in version 4.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


What method should be used to calculate weeks between dates

I've been using following code to calculate weeks between dates but it doesn't work similarly as Foundation's Calendar:
let from = Date()
let to = Date().add(components: [.weekOfYear: 1])
let weeks = (from - to).in(.weekOfYear) // Prints 0

If I use Foundation's Calendar().dateComponents it correctly returns 1.
let weeks2 = from.difference(toDate: to, in: .weekOfYear) // Prints 1

extension Date {
	func difference(to date: Date, in component: Calendar.Component) -> Int {
		let cal = Calendar.autoupdatingCurrent
		let components: Set<Calendar.Component> = [component]
		let dateComponents = cal.dateComponents(components, from: self, to: date)

		return dateComponents.value(for: component) ?? 0
	}
}

Is there a method in SwiftDate I could use?

Here it returns 1 correctly.
Can you try again with 4.0.8?


Quick Ad-hoc

Thanks for the nice extension.
I was using this extension and see some issue with formatting of the columns goes missing once hide and show (like background color,Number formatting) .

Hello spavankumar1980, the extension at this moment "destroys" and "creates" the columns. As it is not storing previous formats, it is indeed destroying and creating the contents ad-hoc. But you raise a nice point for improvement. I'll take note of it and if time allows, I'll add the feature.


Code Review

Hey folks,
It would be great to get a second pair of eyes on both the task 3 and task 4 notebooks prior to submission.
Here is the assignment of reviewers:

Task 3 - Ela, Mo
Task 4 - Dustin, Kaicheng

Looks good to me and it worked fine. Nice job!


Fixing doc on Publisher/Subscriber about credentials

Fixes https://github.com/GoogleCloudPlatform/google-cloud-java/issues/1959 .

Coverage remained the same at 80.961% when pulling d85b9afc08b4dcc38a2c8e10d9062738fb48f6cb on garrettjonesgoogle:master into a740201c80bea3fc1ff162d975bd5d054813442e on GoogleCloudPlatform:master.


[bug] documentation for openinference configuration is malformed

https://arize-ai.github.io/openinference/spec/configuration.html


Completely rewrote ESDF Code

Now less incorrect. ;) And possibly readable.
Also full Euclidean is now available incrementally. If you want to. The advantage is 1.5x slower runtime for 2% more accurate results, so choose wisely.
Also fixes a potential bug with raycasting. Now we just check every incoming point for nan-ness.
Before (left=50 poses sim, no clear spheres; right=50 poses sim, clear spheres)

After (left=50 poses sim, no clear spheres; right=50 poses sim, clear spheres)

GT:

test this please (using features from newer eigen, 14.04 doesn't have it and mac-mini is also too old).


Enable profilebinding using labels

What would you like to be added:
Currently, profile binding feature can be used with image tags, can we can bind the profiles using labels?
Why is this needed:
Depending on the deployment configuration, image tags can change frequently , using labels from resources would make the profile binding easier

I think this would be a valuable addition. We decided to use the image because it's the most simple way to achieve a binding. What do you think @pjbgf @jhrozek @JAORMX ?

I think this makes sense.

In principle it makes sense. My only concern is that most pods tend to have multiple containers, so we'd need more than a label to match where a profile should go. Else, the same profile would be applied in all containers and that might not be desirable.

In principle it makes sense. My only concern is that most pods tend to have multiple containers, so we'd need more than a label to match where a profile should go. Else, the same profile would be applied in all containers and that might not be desirable.

Maybe we can both use image and label to select the correct pod, and the image name to help to narrow the corresponding pod.

Yes, there should be an option to enable profile binding for all the container images available within that specific label and  also remove/add image names in those labels as well, the problem with current implementation is image name changes frequently and to reduce operational overhead people will use a single profile for most of their application images

My concerns here would be on this being used to allow users with some cluster permissions to move a workload from a more strict security profile to a less strict one. It would be good to work out a few examples on how this would work, and what options would a platform admin have to limit malicious users (in a multi-tenant cluster for example) to use this to weaken workload enforcement.
Extending the current image-based approach to support regex/semver to enable users to define a range of image tags could potentially achieve similar results. Would that work for you?

I am sure that would be useful but it will create more confusion for applying the profiles, I think having an option to select all or specific images in a label would be much more useful

@pradeepjairamani do you mind elaborating on "will create more confusion for applying the profiles" please?
Note that my concerns around using labels is that a Cluster admin will require the use of Admission Controllers / OPA to ensure users are not using it to weaken or bypass enforcement. Given that the primary goal of SPO is to deliver security profiles, and also be able to automatically bind them to public workloads (via ProfileBinding), I don't think it is worth extending it at the cost of making it less secure to other users - unless we find a way to implement that securely, which was my initial point.
What you are trying to achieve can be achieved with a mutating admission controller. You can continue to use SPO to deploy your profiles, and add a mutating admission controller (e.g. Kyverno) to set the workload policy based on matching conditions.

got it, thanks @pjbgf

@pradeepjairamani do you mind elaborating on "will create more confusion for applying the profiles" please?
Note that my concerns around using labels is that a Cluster admin will require the use of Admission Controllers / OPA to ensure users are not using it to weaken or bypass enforcement. Given that the primary goal of SPO is to deliver security profiles, and also be able to automatically bind them to public workloads (via ProfileBinding), I don't think it is worth extending it at the cost of making it less secure to other users - unless we find a way to implement that securely, which was my initial point.
What you are trying to achieve can be achieved with a mutating admission controller. You can continue to use SPO to deploy your profiles, and add a mutating admission controller (e.g. Kyverno) to set the workload policy based on matching conditions.

Reopening although I'm not sure if what I'm describind matches the original issue, maybe it would be worth opening a new one?
What if we extended the binding CR to also contain a label selector, if the label selector was set AND matching an object AND matching the image, then the bind would happen?
What I'm looking to solve is: We maintain an operator that uses a single image to accomplish several tasks, so the image is called with different arguments. Each workload, in addition to different arguments also has different labels. So I was thinking that we could have multiple binding CRs in a single namespace, with different label selectors that would be used to bind different policies based on the labels of the workloads.
Does that sound sane?

@jhrozek let's expand the use-case a little bit more and see where we could improve. Do you really want to use the same SELinux profile for all containers in one pod? I would have thought that three different sub-programs in the container would have different SELinux profiles as needed. It would then be more relevant to match a profile to a container in a pod.

@jhrozek combining matched image and labels does sound good.
@JAORMX for of a question, on SELinux is it not possible to get the profile to have "sub-profiles" that are targeted to specific binaries?

@pjbgf It's not possible with the current SELinux implementation. It would be possible, but it would complicate the SELinux profile implementation, and I don't quite see much benefit for this. I'd much rather label profiles to mark they belong to the same pod or app.


FR locale: 'rétrogradée' for 'backtracked'

'tracé' makes no sense in French. (i think it literally means 'plotted')
'rétrogradée' is the correct wording to me, it's also what's used on https://tzstats.com/ when in FR mode.

Awesome! Thanks!


nixos/tests/sway: test GPG's pinentry pop-up

This test is important to confirm that $WAYLAND_DISPLAY is correctly
imported via "dbus-update-activation-environment --systemd" which is
done by default since #122605 (00e8e5b123f).
It ensures that the gnome3-pinentry pop-ups work as expected to avoid
regressions like #119445 (which also broke screen sharing).

Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[x] 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 nixpkgs-review --run "nixpkgs-review wip"
[ ] 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
[ ] Fits CONTRIBUTING.md.

@ofborg test sway

(that screenshot reminds me, do we want a nice default NixOS wallpaper on Sway?)

A nice wallpaper would be nice but I'd prefer to go with the default NixOS wallpaper (it was on my TODO list for a long time but requires isNixOS from #122605 so that we can use the correct path in the default configuration, copy their wallpaper to an additional output and link to that via /run/current-system/sw/share/wallpaper or so - I haven't figured out the details yet so feel free to give it a go if you want - it might be a bit tricky to get it right though :o).


chore: add space

Coverage remained the same at 100.0% when pulling 46fd63846ed16b56831b8834179f97f66c3cdd91 on add-space into 60ad6a7c435e50541bfab29e7c9a3e5a40cc6f2c on main.

:tada: This PR is included in version 2.0.4 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


extracted/exposed social color variables via social-color prefix

It was helpful to me to create larger components that used the same colors defined here, so I just exposed them as variables. Thanks!

sorry..


2.9d: Electrolyzer not working if directly connected to Fission Reactor using IC2 cable

Top most setup does not run.
The other two variants work fine.
All electrolyzers have energy.

All electrolyzers have energy.
Including the top one? So although it has energy, is doesn't run? If so, the issue is with the Electrolyser, not the Fission Controller, and given that the others are running fine, that would be very puzzling...

I've only checked IC2 cables.  Problem only shows up when cabling directly to the fission controller.

Could I have a screenshot of the GUI of the broken Electrolyser?

Here is a MultiMC instance of the setup.  I also found another bug.  If inf water source block touches a reactor port, it will drain the reactor of RF.
Nuclearcraft-Test.zip

Melter seems similarly afflicted if connected to reactor through IC2 cable.
There seems to be a solution, which may also point you to the problem.  If I drop a stack of speed upgrade into the entity to quickly deplete the energy reserve, then often I can jump start it.  It will then continues to work as long as the speed upgrade(s) did not increase consumption in RF/t beyond the  equivalent EU/t input, which depends on the setup.
A) For reactor -> Ic2 cable -> Electrolyzer/Melter => consumption must not exceed (reactor-output/4) RF/t, e.g. reactor output 1600 RF/t, then speed upgrade must not increase RF/t beyond 400 RF/t.
B) For reactor -> Ic2 cable -> Ic2 Battery -> Ic2 cable -> Electrolyzer/Melter => consumption must not exceed the (Ic2 battery rated output)*4 RF/t <= This setup is "working" as a user would have expected.
C) The RTG->IC2 cable->Electrolyzer/Melter => same as A
From observation though, this is not just a mere graphical glitch but something deeper within the mod's interface with other mods' energy cables.  Since your mod does not provide a conversion block, I will take note of the current behavior and work around the issue.  It's a bug in my opinion, but not really a serious one.

Also what goes into the empty slot next to the slot for the speed upgrades ?

Well, whether it was me updating forge or IC2, I can not recreate this bug - here is a pic of the two electrolysers running. When I release the update, hopefully the issue will disappear for you as well.
As for the additional slot: at some point I am gonna add more 'specific' upgrades like Thermal Expansion's augments. I was gonna do it a while back, hence why the slot has always been there, but never got round to it.

Sure, I'll look at the issue again when you push a release

2.9e released :)

Problem still there.  I used the same test world that I provided you.  Broke and replace the Electrolyzer.  It does not work until I force deplete its internal energy reserves with a stack of speed upgrade...
Is there anything that I am missing here?

Aha! I have the reason... that was quite tricky to spot, and I'll have to fix it.
Basically, there is a simple logic to when the machines actually run (provided they have a valid recipe, of course). If the total energy of the operation is lower than the buffer of the machine, then it will run when there is at least enough energy for the operation. Otherwise, the machine will run when the buffer is full. Because of some dodgy rounding when converting between RF and EU, not at all helped by the fact IC2 uses doubles rather than integers, the energy level of the Electrolyser that was not running was stuck at just under the buffer max.
Here is a hotfix that seemed to work for me - if this works for you, then I'll include the fix in the next update.

Works for me.


Work out how to deal with ComVisible and if it can be moved to csproj

It would be good if this could be cleared out or moved to the csproj. Below is a very typical example based on the default project created by Visual Studio. I think without ComVisible(false), the default in the compiler is true.
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components.  If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("29644e8e-6ee0-4337-8658-c926dfa83f55")]

Yeah, ComVisible is still true by default in CPS I'm afraid. It's a known bad practice and even VS sets it to false by default in AssemblyInfo on project generation. I believe we must preserve default behavior (true), but make a diagnostic for that case.

At least
[assembly: Guid("29644e8e-6ee0-4337-8658-c926dfa83f55")]

could be dropped?

A related issue:
https://github.com/Microsoft/msbuild/issues/2281
Perhaps after some time the following code will become available:
<ItemGroup>
    <AssemblyAttribute Include="System.Runtime.InteropServices.ComVisibleAttribute">
      <_Parameter1>false</_Parameter1>
      <_Treat_Parameter1AsLiteral>true</_Treat_Parameter1AsLiteral>
    </AssemblyAttribute>
  </ItemGroup>

@HavenDV ... I hope so. I'm still championing my proposed more succinct flavor of:
<ItemGroup>
  <AssemblyAttribute
    Include="System.Runtime.InteropServices.ComVisibleAttribute"
    IsLiteral="true"
    _Parameter1="false" />
</ItemGroup>

.. but I'll take a win however I can get it


chore: cargo deps using workspace=true instead of path

Related to #117

➜  trustify git:(workspace-path-deps) rg "\{ path \= \""
Cargo.toml
94:trustify-server = { path = "server"}
95:trustify-importer = { path = "importer"}
96:trustify-common = { path = "common" }
97:trustify-cvss = { path = "cvss" }
98:trustify-auth = { path = "common/auth", features = ["actix", "swagger"] }
99:trustify-migration = { path = "migration" }
100:trustify-entity = { path = "entity" }
101:trustify-module-graph = { path = "modules/graph" }
102:trustify-module-ingestor = { path = "modules/ingestor" }
103:trustify-module-importer = { path = "modules/importer" }
104:trustify-infrastructure = { path = "common/infrastructure" }
112:#csaf-walker = { path = "../../csaf-walker/csaf" }
113:#sbom-walker = { path = "../../csaf-walker/sbom" }
114:#walker-common = { path = "../../csaf-walker/common" }

:+1:


Task executor

What is the purpose of the change
Refactor executor interface
Verifying this change
This change added tests.

Codecov Report

:exclamation: No coverage uploaded for pull request base (dev@cd637f5). Click here to learn what that means.
The diff coverage is n/a.

@@          Coverage Diff           @@
##             dev     #340   +/-   ##
======================================
  Coverage       ?   42.69%
======================================
  Files          ?      167
  Lines          ?    11506
  Branches       ?     1471
======================================
  Hits           ?     4913
  Misses         ?     6368
  Partials       ?      225

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 cd637f5...7e5ba3b. Read the comment docs.


Add Ability to Configure Routes

This would require a change to the xDefaultGatewayAddress resource.
I think it would require two new parameters to be added:

Ensure = {Absent | Present} - Default to Present
Metric = 0-65536 - Default to 0.

This should enable existing configs to continue to work just fine, but allow multiple Default Gateways to be specified.

You can only have one default gateway on an interface (realistically one per machine too)!
It sounds like someone wants/needs a resource for adding and removing routes to the routing table?
We can get into a technical discussion, but we might want to remove any ambiguity around definitions first!

When I say Default Gateway I am of course referring to the default route. :smiling_imp: So yes, you're right, you can't practically have two active default gateways - even though you can set them and only one will be active. What I have is two routers connecting to a given network (an edge network) - if the one with the lowest metric fails then the next one becomes the active route.
Example:

So, you're right - what I really have a need for is to be able to manually control the default routes. But if we're going that way, we might as well extend it to be able to configure any route - and now that I've said that, it might actually make more sense to have a xRouting resource of some kind where any route can be added/edited/removed.

That's where I was going - a more generic "route" resource would also solve specifying multiple gateways. The only real difference will be being able to specify subnet masks (at least for IPv4).
I didn't realise that my Jedi mind-tricks were that good. Might just be great minds, eh?!

Forgive my ignorance here, what other routes are we looking to deal with in this resource?

Just static routes in general!
Adding an additional default gateway just adds another route to <IP_ADDRESS>/0. Why just restrict ourselves to ‘default routes’, why not add support for any custom static routes.
For example, the following adds a static route to the 192.168.10/24 network via interface '2' you would use:
route add <IP_ADDRESS> mask <IP_ADDRESS> <IP_ADDRESS> if 2

It's the same thing - I just didn't want someone to create an "AdditionalDefaultGateway" resource, when a more generic "StaticRoute" resource could cater to the wider masses!

So would this be the *-NetRoute commands? If I'm understanding what is being discussed then yes I think it should be its own resource given the constrains that are being discussed.
Though I would say let's use the *-NetRoute commands for a few reasons.

It'll make it easier to test as they are actually powershell commands and Pester will have an easier time with it.
In general we try to use those over *.exe files. :grin:

Some fine Jedi mind tricks - I almost started looking for some other droids. :+1:
I'd say a generic Route resource for creating/editing/removing any static route using the *-netroute cmdlets is exactly what is needed (solves all problems). Agree with @tysonjhayes, ideally would want to use the *-netroute cmdlets because it does expose some functionality like expiring routes and route protocols that the route command (or NetSh) does not.
Using *-netroute also enables the Dest IP and Subnet to be combined (as that is what *-netroute expects). Giving us a MOF something like this (can't remember MOF syntax off the top of my head):
[key] string $DestinationPrefix
[key,values...] string $AddressFamily
[key] string $InterfaceAlias
[write] string $Ensure
[write] int16 $Metric
[mandatory] string $NextHop
[write] string $Protocol
[write] float $ValidLifetime
[write] float $PreferredLifetime
My 2c :)

The ROUTE ADD command was just an example and I've probably just given away I'm an old geezer :). Obviously, the *-NetRoute cmdlets are the best way to go!

Haha - you have indeed! At least no one has asked for IPX/SPX support in a resource yet :smiley:

Closing because change merged.


Keep getting "Your Pokemon inventory is full!" when it is not

My inventory is not full:
2016-08-10 12:12:17,879 [PokemonGoBot] [INFO] Items: 218/350
2016-08-10 12:12:17,879 [PokemonGoBot] [INFO] Stardust: 107247 | Pokecoins: 0
2016-08-10 12:12:17,879 [PokemonGoBot] [INFO] PokeBalls: 30 | GreatBalls: 40 | UltraBalls: 32
2016-08-10 12:12:17,879 [PokemonGoBot] [INFO] RazzBerries: 25 | BlukBerries: 0 | NanabBerries: 0
2016-08-10 12:12:17,879 [PokemonGoBot] [INFO] LuckyEgg: 4 | Incubator: 2 | TroyDisk: 5
2016-08-10 12:12:17,880 [PokemonGoBot] [INFO] Potion: 10 | SuperPotion: 20 | HyperPotion: 20 | MaxPotion: 0
2016-08-10 12:12:17,880 [PokemonGoBot] [INFO] Incense: 8 | IncenseSpicy: 0 | IncenseCool: 0
2016-08-10 12:12:17,880 [PokemonGoBot] [INFO] Revive: 20 | MaxRevive: 0
But I continuously get messages saying it is:
2016-08-10 12:21:08,743 [PokemonCatchWorker] [INFO] [pokemon_inventory_full] Your Pokemon inventory is full! Could not catch!
2016-08-10 12:21:16,075 [PokemonCatchWorker] [INFO] [pokemon_inventory_full] Your Pokemon inventory is full! Could not catch!
2016-08-10 12:21:23,323 [PokemonCatchWorker] [INFO] [pokemon_inventory_full] Your Pokemon inventory is full! Could not catch!

We can't see your pokemon inventory in that log.

Sorry I thought it was talking about items


How? RectangleGeometry extrudedHeight gradient ramp Color Material bottom-up (floor-sky)

As the title suggests,What should I do?

`
static GetRectangle3() {
return new Cesium.Primitive({

  geometryInstances: new Cesium.GeometryInstance({

    geometry: new Cesium.RectangleGeometry({
      rectangle: Cesium.Rectangle.fromDegrees(121.5, 37.8, 121.7, 37.9),
      vertexFormat: Cesium.EllipsoidSurfaceAppearance.VERTEX_FORMAT,
      extrudedHeight: 150000,
      //stRotation: Math.PI * 0.5,
      height: 150.0,
    }),
    id: "rectangle",
    attributes: {
      color: Cesium.ColorGeometryInstanceAttribute.fromColor(
        Cesium.Color.fromRandom({
          alpha: 0.5,
        })
      ),
    },
  }),
  appearance: new Cesium.EllipsoidSurfaceAppearance({
    material: new Cesium.Material({
      fabric: {
        type: "Color",
        uniforms: {
          color: new Cesium.Color(0.0, 1.0, 0.0, 0.5),
        },
        source: `uniform vec4 color;czm_material czm_getMaterial(czm_materialInput materialInput)
        {
          czm_material material = czm_getDefaultMaterial(materialInput);
          material.diffuse = vec3(0.0,1.0 - materialInput.str.r ,1.0);
          return material;
        }`,
      },
    }),
  }),
});

}
`

I don't want to use image Texture.

@4NK4 this is not something supported by the RectangleGeometry.  The texture coordinates are based on the lon/lat position of the vertices, so the texture stretches along the height of the wall to match whatever is on the edge of the rectangle.
You would have to implement a custom geometry type to accomplish a gradient from the ground to the top of the shape.  The code samples in this guide are outdated, but this explains the general concepts you would need to write a custom geometry: https://github.com/CesiumGS/cesium/wiki/Geometry-and-Appearances


get video direct link

how to get video direct link instead of download it

Hello,
That is now available in v1.3.5! You can use the

thanks it's working very well


[sw/ottf] Add manifest to OTTF so mask ROM can (eventually) boot it

This adds a manifest field to any test images that are run via the ottf_start.S assembly. This includes any tests that use the OTTF itself (e.g., chip-level tests), and tests with a main() entrypoint (e.g., "Hello World" example programs).
Note, this just adds the manifest fields to OTTF test binaries, and sets the default entry point to _ottf_start. It does not place the manifest in the correct location such that it can be loaded and verified by the mask ROM or ROM_EXT. That will come in a subsequent commit.
This addresses task in #10498.
Note: this depends on #10563, and therefore contains an additional commit that will be removed when the dependency is merged.

PR dependency merged. Ready for review.


T450s Static noise when connected to audio jack

Hello!
I have a problem where I cannot seem to fix the static audio noises in my headphones when plugged into the audio jack.
I have tried installing alc_fix_swift from the utilities folder using the instructions from readme 2 times, and yet the static noise is still there.
I'm new to opencore, so maybe I missed something
Hope you can help me with this!
Thanks!

https://github.com/racka98/Lenovo-Thinkpad-T450-T450s-Hackintosh-Guide-Opencore/issues/15#issuecomment-788554414

By first boot, do you mean I will have to reinstall Mac OS and put the computer to sleep, then turn it on and the issue will be gone?

By first boot, do you mean I will have to reinstall Mac OS and put the computer to sleep, then turn it on and the issue will be gone?

No. Whenever you turn on the laptop (first boot) close the laptop lid so it can sleep and then open the lid and the static noise should be gone. If you shutdown your laptop everytime you are done with it this process can be annoying but i personally rarely shutdown the laptop. I just pit it to sleep and I'm done. Sleep/wake is very stable with this EFI and you won't ever get a kernel panic from it

Okay, I will try it soon and let you know if it worked. Thanks so much for your help!

I have tried turning on the laptop, closing the lid, wait for a bit so it can sleep and then open it and it wakes up but the static noise is still there. I tried to do it with the cable plugged in and with it unplugged. I also tried to put it to sleep by both closing it and clicking sleep on the lock screen. None of these worked, unfortunately.

It worked for me. Although i haven't tested it on the new updates as I don't use headphones on my laptop anymore. Let me find some wired headphones and see what's going on

Thanks so much! Sorry for the inconvenience.

So, I was curious and I tried to find a solution myself. Since you said that it is not an issue that occurred in the previous version, I have tried the "Big Sur Opencore v0.6.3 v1" release on a usb, and unexpectedly to me, my issue was gone. The laptop started up, I put it to sleep, then i awake it and plug in my headphones and my audio finally works properly, with no static. So, from this I can gather that this is definitely an issue that happened with an update.

I just used your guide on my T450s last night, and it has been working quite nicely and is extremely stable. I really appreciate your work!
I did, however, have this audio glitch. At first, there was simply no audio through the headphones. Then, I restarted, and the static appeared. The static that was coming through the headphone jack was very loud, to the point that I got my cheap headphones to try to resolve the problem. I was eventually able to get the audio back by plugging the headphones in with the lid closed, but I don't really trust it enough to actually use it, due to the loud static. Does anyone know where the static comes from?

I just used your guide on my T450s last night, and it has been working quite nicely and is extremely stable. I really appreciate your work!
I did, however, have this audio glitch. At first, there was simply no audio through the headphones. Then, I restarted, and the static appeared. The static that was coming through the headphone jack was very loud, to the point that I got my cheap headphones to try to resolve the problem. I was eventually able to get the audio back by plugging the headphones in with the lid closed, but I don't really trust it enough to actually use it, due to the loud static. Does anyone know where the static comes from?

It a known issue with the codec in this laptop. The current fix is to close the laptop lid and let it go to sleep then wake it up and plug your headphones. This will work until you turn off or reboot the computer. Then you'll have to get it to sleep again to fix the issue. There has multiple attempts to fix but no luck

For me the sound doesn't work at all, i managed to install Monterey but sound doesn't work. Everything else works fine !

Didn't work for me either on Monterey. I switched to Big Sur and it just worked.

Solution in here: https://github.com/racka98/Lenovo-Thinkpad-T450-T450s-Hackintosh-Guide-Opencore/issues/37