Using useRoute from auto-import makes the page component render twice.

Environment

Operating System: Linux
Node Version:     v18.18.0
Nuxt Version:     3.7.4
CLI Version:      3.9.0
Nitro Version:    2.6.3
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      -
Runtime Modules:  -
Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-tmvnrq?file=layouts%2Fdefault.vue
Describe the bug
Inconsistent behavior exists between two versions of useRoute. The one imported from vue-router functions as expected, while the other from Nuxt causes the component to render twice (mount -> unmount -> then mount again). This behavior leads to a performance penalty, particularly on pages with heavy computation.
Additional context
No response
Logs
No response

let's track in https://github.com/nuxt/nuxt/issues/21340.


[Question] How to skip empty rows (3.1)

Package version: 3.1

Description
How to skip empty rows in the doc?

Duplicate of #1834

How does it work for the toModel way?

You can return null in toModel, will skip those rows.

Hello,
I have tried to use $row->filter()->isNotEmpty() but due to the fact that I use WithValidation the codes stops with an validation error. My rules look like this:
public function rules(): array     {         return [             'name' => 'required',             '*.name' => 'required',             'email' => 'required|email',             '*.email' => 'required|email',             'discount' => 'nullable|numeric',             '*.discount' => 'nullable|numeric',         ];     }
Unfortunately, if you have an excel file an delete the content of some rows at  the end of the excel file Laravel-Excel still recognizes them as not empty. Then the validation fails. I want to skip such rows before validation.

@seven21 , did you find a solution for this ?  does anyone got resolved this issue ?

I use a workaround which helps in my case. Validation is extended by nullable on all rows to avoid errors and then In the method I have added
public function model(array $row) {if(!array_filter($row)) { return null;} return new Customer([..... and skip these rows at this point. Not really happy with this as I cannot return an useful error message but as I found no solution the best way to get the code running.

@seven21  Thank you very much for your instance and useful message, But I'm also thinking this isn't a good way if we actually using validations.

@mohamednizar how did you solve this issue?

I didn't completely resolve the issue, but for my solution I added following custom functions to return the batch size and row limit. the row limit only will be count if data exists in the column.
 public function limit(): int {
        $highestColumn = $this->worksheet->getHighestDataColumn(3);
        $higestRow = 0;
        for ($row = $this->startRow(); $row <= $this->highestRow; $row++) {
            $rowData = $this->worksheet->rangeToArray('A' . $row . ':' . $highestColumn . $row, NULL, TRUE, FALSE);
            if (isEmptyRow(reset($rowData))) {
                continue;
            } else {
                $higestRow += 1;
            }
        }
        return $higestRow;
    }

   public function batchSize(): int {
        $highestColumn = $this->worksheet->getHighestDataColumn(3);
        $higestRow = 1;
        for ($row = $this->startRow(); $row <= $this->highestRow; $row++) {
            $rowData = $this->worksheet->rangeToArray('A' . $row . ':' . $highestColumn . $row, NULL, TRUE, FALSE);
            if (isEmptyRow(reset($rowData))) {
                continue;
            } else {
                $higestRow += 1;
            }
        }
        if ($higestRow == 0) {
            exit;
        } else {
            return $higestRow;
        }
    }

Some time this may help you to resolve some sort of problems.

you can ignore the empty row by updating the config/excel.php file.
from:

        /*
        |--------------------------------------------------------------------------
        | Ignore Empty
        |--------------------------------------------------------------------------
        |
        | When dealing with imports, you might be interested in ignoring
        | rows that have null values or empty strings. By default rows
        | containing empty strings or empty values are not ignored but can be
        | ignored by enabling the setting ignore_empty to true.
        |
        */
        'ignore_empty' => false,

to:

        /*
        |--------------------------------------------------------------------------
        | Ignore Empty
        |--------------------------------------------------------------------------
        |
        | When dealing with imports, you might be interested in ignoring
        | rows that have null values or empty strings. By default rows
        | containing empty strings or empty values are not ignored but can be
        | ignored by enabling the setting ignore_empty to true.
        |
        */
        'ignore_empty' => true,

you can ignore the empty row by updating the config/excel.php file.
from:

        /*
        |--------------------------------------------------------------------------
        | Ignore Empty
        |--------------------------------------------------------------------------
        |
        | When dealing with imports, you might be interested in ignoring
        | rows that have null values or empty strings. By default rows
        | containing empty strings or empty values are not ignored but can be
        | ignored by enabling the setting ignore_empty to true.
        |
        */
        'ignore_empty' => false,

to:

        /*
        |--------------------------------------------------------------------------
        | Ignore Empty
        |--------------------------------------------------------------------------
        |
        | When dealing with imports, you might be interested in ignoring
        | rows that have null values or empty strings. By default rows
        | containing empty strings or empty values are not ignored but can be
        | ignored by enabling the setting ignore_empty to true.
        |
        */
        'ignore_empty' => true,

if($row->filter()->isNotEmpty()){

Worked like a charm, Thank you very much you saved me a-lot of time :)

if($row->filter()->isNotEmpty()){
// you logic can go here
   		$user = User::create([
           	'name' => ucwords($row['name']),
           	'class' => $row['class'],
			...
		]);
	}

Worked like a charm, Thank you very much @Otienoh you saved me a-lot of time :)

`if($row->filter()->isNotEmpty()){
// you logic can go here
   		$user = User::create([
           	'name' => ucwords($row['name']),
           	'class' => $row['class'],
			...
		]);
	}

`
Worked like a charm, Thank you very much @Otienoh you saved me a-lot of time :)

@whoami213 It works. Thanks a lot man


Not sure if this is a bug or not

Issue Type: Bug
I think this is not a specific version related but I've observed the following for a very long time:

Open a file with vscode and place the cursor at where you want;
Hold the mouse left button first and then hold Alt key;
While holding the Alt key move the cursor right and down several characters;
You'll see a block is highlighted while the cursor is moving but the highlighting is off if the cursor stops moving and both the mouse button and Alt key is released. You'll see the selected block has a light gray background;
Then it seems I have to press the Alt key again to "activate" this block selection. And it seems the Alt key is the switch for "activating" or "de-activating" the block selection.

I have a few questions:

Anything wrong with my manupulation? or is there a better way to select a block?
Is "holding mouse left button first and then holding Alt ..." by design?
Is the "activate" and "de-activate" by design?
I tried to find the answer from the documents but found nothing.

Thank you.
VS Code version: Code - Insiders 1.50.0-insider (bc38b0accb3c62180317c63dbe7323200977db0f, 2020-09-11T12:27:36.137Z)
OS version: Linux x64 3.10.0-693.17.1.el7.x86_64

System Info

Item
Value

CPUs
Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz (32 x 2100)

GPU Status
2d_canvas: unavailable_softwareflash_3d: disabled_softwareflash_stage3d: disabled_softwareflash_stage3d_baseline: disabled_softwaregpu_compositing: disabled_softwaremultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: disabled_offprotected_video_decode: disabled_offrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_software

Load (avg)
0, 0, 0

Memory (System)
187.41GB (82.21GB free)

Process Argv
--no-xshm --no-sandbox

Screen Reader
no

VM
0%

DESKTOP_SESSION
undefined

XDG_CURRENT_DESKTOP
undefined

XDG_SESSION_DESKTOP
undefined

XDG_SESSION_TYPE
undefined

Extensions (3)

Extension
Author (truncated)
Version

python
ms-
2020.8.108011

cpptools
ms-
0.30.0-insiders4

material-icon-theme
PKi
4.3.0

@sweettyler When using "editor.multiCursorModifier": "ctrlCmd", the alt modifier becomes free and is used to create column selections:
So mouse click + drag will create regular selections, while mouse click + alt + drag will create column selections. Column selection is its own very popular feature, useful for editing tabular looking code:

@alexdima Thank you so much for the detailed answer and the video.
My last concern is how the "activate" and "deactivate" things? I mean after releasing both the alt key and the mouse button, pressing alt key again (and again) turn on and off the selection highlighting mode.
Sorry if I didn't speak my question clearly.
Regards.

Yes, when alt is pressed the selection becomes a columnar selection, when alt is not pressed the selection becomes a regular selection, so alt functions like a toggle between the two modes.


Can I set password access?

Can I set password access?
and
Can you provide the armv8 binary file

Hi @flytkgl
Thank you for reaching out.
Unfortunately I can not follow your questions and I am trying to answer as best as I can

Can I set password access?

It is possible to set basic auth for the server. See the example config and its comments

Can you provide the armv8 binary file

Currently armv8 is not supported. You should be able to use docker on armv8 or the home-gallery-latest-all-generic.tar.gz without node environment, ffmpeg, ffprobe and sharp. These needs to be installed by the user. See the docs for help.
If you have further questions, please do not hesitate to comment here.

Hi @flytkgl
Thank you for reaching out.
If you are using generic tarball you need to set the external commands convert/vipsthumbnail, perl, ffmpeg and ffprobe so that the previews can be rendered. See install generic-application-bundle. The generic bundle does not come with these tools and needs to be configured manually. Basically these tools needs to be in the PATH and you tell the gallery to use them.
Further, your screenshot looks like the preview calculation did not work. Please run a full import ./gallery.js run import without --initial or --update argument to fix that.
If that does not help, please inspect or send your gallery.log from /data/adb/modules/home-gallery/.config/home-gallery. jq will be your friend to inspect the log.

I have added node/convert/ffmpeg/ffprobe to PATH,No perl, ./gallery.js run import and ./gallery.js run import --initial and ./gallery.js run import --update  I've tried them all
gallery.log

Hi @flytkgl
Thank you for providing the log. I was hoping to identify a problem here but could not find any.
HomeGallery uses also exiftool to extract meta data from images. So the generic bundle requires also perl binary to be in the PATH. I have checked how HomeGallery behaves if perl is not available and it seems that it fails silently and no file is stored in the storage directory. Is it possible to install perl on your side, too?
Then you can check the storage directory. Within the storage directory /data/adb/modules/home-gallery/.cache/home-gallery/storage there should be some files of exiftool with -exif.json suffix and image previews such as -image-preview-1280.jpg suffix like outlined in the internal docs. Could you list the files of some directories here?

After I installed perl to PATH, it is now normal
It feels like you have too many external dependencies. I would prefer to make it a static binary file
Like https://github.com/navidrome/navidrome

After I installed perl to PATH, it is now normal

Awesome! Thank you for the update

It feels like you have too many external dependencies. I would prefer to make it a static binary file
Like https://github.com/navidrome/navidrome

Thank you for the input. PRs are welcome to build the static binary.
HomeGallery uses caxa to bundle the binary. caxa 2.0.0 supports armv8, too. So basically HomeGallery could also provide binary bundles for armv8 besides its given OSs Linux/arm64, Mac and Windows.

Can I set password access?

@flytkgl is your initial request solved?

Can I set password access?

@flytkgl is your initial request solved?

YES,it is OK


bump tgis adapter to v0.5.1

Changelog https://github.com/opendatahub-io/vllm-tgis-adapter/releases/tag/0.5.1

/cherry-pick release

@NickLucche can you make sure release is synced with main?


Allow splitting of futures holding std::tuple

Analogous to the case of std::pair, it should be possible to split a hpx::future<std::tuple<Ts...>> into std::tuple<hpx::future<Ts>...>.

Can one of the admins verify this patch?

Ah, completely missed that part. So would wrapping the respective sections using #if defined()/#endif be acceptable or is there a more elegant solution that would somehow allow the conversion between the tuple types (if enabled)?

Ah, completely missed that part. So would wrapping the respective sections using #if defined()/#endif be acceptable or is there a more elegant solution that would somehow allow the conversion between the tuple types (if enabled)?

That would be perfectly acceptable, thanks!

retest

As far as I can tell, the failed CI jobs are unrelated to the changes introduced here, but maybe an admin can have a look?

As far as I can tell, the failed CI jobs are unrelated to the changes introduced here, but maybe an admin can have a look?

This looks good, the remaining failures are unrelated to your changes. Thanks!


Sri Hari: Batch-2/Neetcode-150/articles

@neetcode-gh

Took 5 hours for this work.
Please review.

Thanks looks good


GitHub pages not found

http://osrg.github.io/ryu/ leads to 404, is there a new address?

Hello, yes. Ryu project has changed the repository. The new address is: https://github.com/faucetsdn/ryu.


Twitter @ajabreaking failed with error 400

Error message: The requested resource cannot be found! Please make sure your input parameters are correct! cUrl error:  (0) PHP error:
Query string: action=display&bridge=Twitter&context=By+username&u=ajabreaking&format=Atom

Usually twitter returns valid response, sometimes this. As a workaround, if you are instance admin, in config.ini.php set output = "http" in error section. For example:
; <?php exit; ?> DO NOT REMOVE THIS LINE

[error]
output = "http"


Requirements for Follow Up Reports

Figure out what reports are needed for viewing follow up data

Maybe have filter criteria for:

Communication Card Received date range
Not yet visited
Thank you card not sent

Add "interested in" criteria

Screen mockup:
http://www.mockupplus.com/community/page/f5by5d1KP


Crash with event hander when it is last attribute without space and tag is />-terminated

(First let me say thanks!! for the new event handlers, which makes BlazeComponent code much more logical)
I came across a crash with a not so easy to understand error message which I thought I should report.
If an event handler is specified like this:
<input type="text" ..... onChange={{handler}}/>
(Note the end of the tag!)
You get this traceback:
Error: Invalid event handler: /
    at https://dev/packages/peerlibrary_blaze-components.js?4eddb4e3f0f660190548347e680d109a51a7050f:2497:13
    at Array.filter (native)
    at Function._.filter._.select (https://dev/packages/underscore.js?46eaedbdeb6e71c82af1b16f51c7da4127d6f285:242:65)
    at Object.Blaze._toText (https://dev/packages/peerlibrary_blaze-components.js?4eddb4e3f0f660190548347e680d109a51a7050f:2490:14)
    at updateAttributes (https://dev/packages/peerlibrary_blaze-components.js?4eddb4e3f0f660190548347e680d109a51a7050f:1022:39)
    at https://dev/packages/blaze.js?9391df93ba5076c2cfc61ee68724eb79b65f00d9:1872:20
    at Function.Template._withTemplateInstanceFunc (https://dev/packages/blaze.js?9391df93ba5076c2cfc61ee68724eb79b65f00d9:3671:12)
    at https://dev/packages/blaze.js?9391df93ba5076c2cfc61ee68724eb79b65f00d9:1870:29
    at Object.Blaze._withCurrentView (https://dev/packages/blaze.js?9391df93ba5076c2cfc61ee68724eb79b65f00d9:2211:12)
    at viewAutorun (https://dev/packages/blaze.js?9391df93ba5076c2cfc61ee68724eb79b65f00d9:1869:18)

This is probably Blaze bug, that it parses the / as part of the argument.

Hmm... could be. It appeared with the new BlazeComponents version, but this might be due to the fact that other Blaze attributes are within quotes, this is the first time I am using your syntax.

Try something like <input foo={{foo}}/>. You will see that it renders <input foo="/">.

OK, so over to Blaze...

I opened https://github.com/meteor/meteor/issues/6278.

Moved to: https://github.com/meteor/blaze/issues/1


add PSR-16 SimpleCacheChain and SimpleArrayCache

Question
Answer

Bug fix?
no

New feature?
yes

BC breaks?
no

Deprecations?
no

Tests pass?
yes

Fixed tickets

License
MIT

Doc PR

Description
hi Team,
thank you for a wonderfully useful library!
this request:

adds SimpleCacheChain which implements PSR-16 and mimics the CachePoolChain implementation of PSR-6, except that SimpleCacheChain cannot restore hits later in the chain to pools earlier in the chain because TTL is not known.
adds SimpleArrayCache which implements PSR-16.
adds unit tests to cover CachePoolChain, SimpleCacheChain, and SimpleArrayCache. SimpleCacheChainTest uses SimpleArrayCache as a dummy pool.

neither of these new PSR-16 pools implement Taggable, nor do they descend from a common ancestor. i imagine you might require one or both of these as entry criteria, but i wanted to float this idea past you before i put much more time into it.
thoughts?
oh, i see now that a resolved conflict resulted in unintended formatting changes in CachePoolChainTest. i will undo those changes : )
TODO

[x] Add tests
[ ] Add documentation
[ ] Updated Changelog.md

ouch. i'm an idiot. i think i did this work branched from an old version of master, before PSR-16 was integrated.
power close!


How to profile the perf of 2bit T-MAC GEMM in llama.cpp

Hi, thank you for your outstanding work.
I am currently trying to profile the kernel-level performance of 2bit T-MAC GEMM in llama.cpp.
From this issue, I learned that I can use the test-backend-ops provided by llama.cpp for benchmarking.
However, based on my experiments, when running the llama-3-8b-2bit model, the weight’s ggml_type in llama.cpp is GGML_TYPE_I2. However, there is no test case for this type in test-backend-ops. When I added GGML_TYPE_I2 to the ggml_type list to be tested, the program triggered an assertion error:
GGML_ASSERT: /home/gta/T-MAC/3rdparty/llama.cpp/ggml.c:3153: view_src == NULL || data_size == 0 || data_size + view_offs <= ggml_nbytes(view_src)
How can I quickly complete the kernel-level performance testing of 2bit T-MAC GEMM in llama.cpp?

You can use tools/profile.py as https://github.com/microsoft/T-MAC/issues/44#issuecomment-2349601221
If you still want to conduct it in llama.cpp, you need to achieve it in a more hacky way, by adding GGML_TYPE_Q2_K to https://github.com/kaleid-liner/llama.cpp/blob/70c312d654539860b4839e7851432b75813edaa1/ggml-tmac.cpp#L379 and https://github.com/kaleid-liner/llama.cpp/blob/70c312d654539860b4839e7851432b75813edaa1/ggml-tmac.cpp#L72

Hi @kaleid-liner  Thank you for your response.

If you still want to conduct it in llama.cpp, you need to achieve it in a more hacky way, by adding GGML_TYPE_Q2_K to https://github.com/kaleid-liner/llama.cpp/blob/70c312d654539860b4839e7851432b75813edaa1/ggml-tmac.cpp#L379 and https://github.com/kaleid-liner/llama.cpp/blob/70c312d654539860b4839e7851432b75813edaa1/ggml-tmac.cpp#L72

I tried the hacky way with llama.cpp, but unfortunately, the program threw a segmentation fault in the ggml_compute_forward_mul_mat function, and I haven’t had the chance to look into it closely yet.

You can use tools/profile.py as https://github.com/microsoft/T-MAC/issues/44#issuecomment-2349601221

As for running the profile.py file, I have the following questions:

It seems that we need to specify the problem size for GEMM in profile.py, and then TVM will compile the optimal kernel based on that problem size. However, the compiled kernel at this point should not be exactly the same as the one used in llama.cpp. If I only care about the kernel-level performance in llama.cpp, does the performance data obtained from the profile.py have any guiding significance?
Does the qgemm_lut column in the CSV data exported by profile.py include the time consumed by generate preprocess_LUT? If not, would this result in overly optimistic performance measurements? After all, when the activation matrix changes, we need to rebuild the LUT.

@zhewang1-intc
I'm not sure about the cause of segmentation fault, as I used to profile the kernel in llama.cpp in this way. Another option is to add I2 support to test-backend-ops. It does require some efforts tho.

According to our profiling, they are consistent.
You can specify -k preprocessor during profile.py and add it. However, preprocessor only occupies ~1% of the total latency.

thanks, I got the reasonable result, I will close this issue.


chore: release 1.0.0

Release is at https://github.com/googleapis/nodejs-precise-date/releases/tag/v1.0.0

The release build has started, the log can be viewed here. :sunflower:

:egg: You hatched a release! The release build finished successfully! :purple_heart:


jless - NetBSD package

Hi,
I've just packaged jless for NetBSD. I haven't merged the package yet as I have one question about it.
Is this planned to be a viewer only or, do you intend to have editor functionality at some point?
This is basically an internal thing as I would like to know what to assign as package category, either textproc or, editors
I can merge  the package very soon, just need a clarification on the above. FYI, it works as expected.
Thanks

@PaulJuliusMartinez it was among new crates in crates.io, I usually look there for interesting new projects.
Nice post on hackernews. Btw, if you would like to read hackernews from the terminal, there's https://github.com/aome510/hackernews-TUI
textproc it is than 😄
I'll post back here once it's merged.

@PaulJuliusMartinez Imported into the main branch, https://mail-index.netbsd.org/pkgsrc-changes/2022/02/09/msg248346.html
###To install on NetBSD run,
pkgin install jless

or, if you prefer to build from source,
cd /usr/pkgsrc/textproc/jless
make install

Closing now!


Browser reload in image watcher is broken.

How can this bug be reproduced?

npm start
Copy an image into src/assets/images/
Browser will reload this time.
Copy another image into src/assets/images/
Browser will not reload this time or any other time after this.

What did you expect to happen?
I expect the browser to reload every time I copy at least 1 image into src/assets/images/.
What happened instead?
The first time the browser reloaded, my command line logged the following:
[15:08:56] Starting 'images'...
[15:08:56] Finished 'images' after 39 ms
[15:08:56] Starting '<anonymous>'...
[Browsersync] Reloading Browsers...

<anonymous> never finishes. Now any time I go to copy an image into the assets folder, nothing happens. The images wont even copy.
Please List the Following:

OS & version: Windows 10 Enterprise, Version 1709, OS Build 16299.492
Node version (node -v) [Node v4+ is required] : v9.3.0
FoundationPress version (see line 3 in package.json): 2.10.4
Foundation version (found in node_modules/foundation-sites/package.json) : 6.4.3

Include Test Case (if applicable):
Not applicable. Just follow the few steps in how this bug can be reproduced.
Proposed Solution:
In gulpfile.babel.js, change
gulp.watch('src/assets/images/**/*', gulp.series(images, browser.reload)); [line 232]
to
gulp.watch('src/assets/images/**/*', gulp.series(images, reload));
Misc Notes:
Also, if you plan on keeping the svg task around, probably you should apply the same solution. Not sure why you have a separate task for svgs anyway, since imagemin can handle svgs (even since 2.4.0). Consider updating repo's imagemin version to latest (4.1.0 at time of writing).

I've had this issue for awhile, I'm glad I'm not the only one. I always have to kill/restart the watch task to get the dist folder to update with newly added images.


Where is hawtio-json-schema-generator maven plugin now located?

This maven plugin is used to generate the required version of the camel model json. It is published to maven central but the source is only available from the hawtio/hawtio 1.x branch. It was then removed(?). Where is it now located if at all and if it was never moved elsewhere, should it be??

Right, we still uses 1.x version from the old branch because it just works fine. We can restore it to the latest 3.x branch if needed.

Right, we still uses 1.x version from the old branch because it just works fine. We can restore it to the latest 3.x branch if needed. Or you can use it as-is for the time being.

Might be good to publish it to its own repository. I'll maybe have a look at that next week.

Yes, splitting it into another repo under hawtio org is another option. I'm not sure if we can reuse the same settings and credentials to publish a Maven plugin to Maven Central, but please go ahead with the option.

@phantomjinx Thanks, that's great!  I think it's almost ok, but there are a few minor comments.
Implementation

I see the impl still partly depends on a legacy part of Hawtio. I think the only needed dependency is io.hawt.jsonschema.SchemaLookup. Then, we can also copy it to the project and remove the dependency.
 <version.hawtio.json.schema.mbean>2.0-M3</version.hawtio.json.schema.mbean>

Maybe we can stop using commons-lang, as the only usage seems to be Validate.notNull() and you can use Objects.requireNonNull() instead.

Styling and structure

Let's use spaces for indentation (I see some files use tabs)
Unless we plan to host more than one maven plugin, I don't think we need to have a nested Maven project structure. We could simply flatten it and move hawtio-camel-catalog-schema-generator-plugin top level.
Once we transter it to hawtio org, we can rename it to hawtio/camel-catalog-schema-generator-plugin

That said, overall it looks great already and we can start improving it from here. Why don't we transfer the project to hawtio org?
I think the remaining thing to do is:

Copy release profile and script from the main Hawtio project so that it can be published to Maven Central Repo.
https://github.com/hawtio/hawtio/blob/main/pom.xml#L258-L327
https://github.com/hawtio/hawtio/blob/main/bin/release
(I'm not sure if we can use the same credentials for publishing the maven plugin as well, or we should file another JIRA ticket to OSSRH for this project again: https://central.sonatype.org/publish/publish-guide/)

One more question.

Added components to model schema;

What does it mean from the Hawtio.next point of view?  Do we need to change the Camel plugin to utilise the new info from the model?

What does it mean from the Hawtio.next point of view? Do we need to change the Camel plugin to utilise the new info from the model?

The camel-model package will end up with a new camelModel.ts once the co-ordinates in its pom will be updated. However, even before its published, I can update the camelModel.ts manually with a locally generated version.


Don't make metalign.py executable

since we need to use python3 metalign.py, don't make it executable by default (i.e. no chmod +x metalign.py)

Fair enough, done.


generate_code_execution_reply search

Why are these changes needed?

generate_code_execution_reply doesn't actually search. It just finishes at the first case found.
Related issue number

#3304
Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

The condition is for breaking. When the message doesn't have a role of "user", we break the loop.


Add %define api.value.type feature, fixes #6

Thanks for the extension, it’s great.
So here’s my attempt to fix #6. I’ve tried my best to remain the code style as it was but probably missed some meaning (or forgot about some details). I’ve added new parser states and modified regex for word (it now includes minus sign). Some details:

%define variables are defined in switch statement, so possibility to add new features still remains. %defined data type saved as default;
%union highlighted as warning if api.value.type is defined (and visa versa);
if non terminal is not defined with %type and default type is defined, non terminal’s type set to default

Hi, thank you for the PR.
I've reviewed your code, it looks good.
However, I think that if we want to support the %define option, we need to keep in mind all other possible define values, that are defined in bison.
https://www.gnu.org/software/bison/manual/html_node/_0025define-Summary.html
The solution you proposed won't be very extensible for other %define values, although we might not need to handle the others...... as they are rarely used... XD
Some problems I've found in your code
https://github.com/babyraging/yash/pull/8/files#diff-2fb9a0bec2bff7c8d6f1dbb6a530c02908493f34e4ba23d0afe072a10b8a47cfR218-R223
Actually, this can be allowed if the defined type is union-directive
https://github.com/babyraging/yash/pull/8/files#diff-8520701a43509ebb5bdceb328ede5beb98e91121807c434dbd6ff112f8039a04R15
Here I think we cannot have the minus sign in a word. A word supposes to be a token o a non-terminal, I think you cannot declare a token with the minus sign, can you?

We might need to support this too
%code requires
{
  struct my_value
  {
    enum
    {
      is_int, is_str
    } kind;
    union
    {
      int ival;
      char *sval;
    } u;
  };
}
%define api.value.type {struct my_value}
%token <u.ival> INT "integer"
%token <u.sval> STR "string"

Hi, thanks for reply!
While trying to fix that issue I already realized how actually problematic it is to add %define :)
Here are some points:

Actually, this can be allowed if the defined type is union-directive

Well yes, it says that in the manual but I've actually tried to run it and Bison threw me an error:
%define api.value.type union-directive

%token TOKEN

%union {
    char *;
}

%%

expr
    : TOKEN
    ;

%%

$ bison test.y
test.y:1.9-22: error: '%union' and '%define api.value.type' cannot be used together
 %define api.value.type union-directive
         ^^^^^^^^^^^^^^

(worth to mention, it's not even a warning, it's an error)

A word supposes to be a token o a non-terminal, I think you cannot declare a token with the minus sign, can you?

You are right, missed that. For some reason I thought C id's support the minus sign


Smarter code block formatting

Should target Obj-C when taking up full width

Otherwise it should use a more condensed monospace font, smaller font size, less padding, etc. before forcing the reader's eyes to jump left to right to left.

this is less bad now with the wider posts length #203


[release-2.6] Updated go to 1.18

Related issue: https://github.com/stolostron/backlog/issues/24211
Signed-off-by: dislbenn<EMAIL_ADDRESS>

/approve
/lgtm


有几个小问题，看是否可以优化下

源码如下：
<template>

你好 {{ text }} 测试一下

你好 {{ text }} 测试一下

你好({{ text }})测试一下

你好（{{ text }}）测试一下

你好【{{ text }}】测试一下

</template>

it -c ./i18n.config.js 之后：
<template>

{{ $t('你好') }}{{ text }}{{ $t('测试一下') }}

{{ $t('你好') }}{{ text }}{{ $t('测试一下') }}

{{ $t('你好(') }}{{ text }}{{ $t(')测试一下') }}

{{ $t('你好（') }}{{ text }}{{ $t('）测试一下') }}

{{ $t('你好【') }}{{ text }}{{ $t('】测试一下') }}

</template>

1、2、3...对应源码或者替换后的1、2、3...
问题1：两个空格被替换没了；
问题2： 被替换没了；
问题3、4、5：期望提取替换后：$t('你好') }}，不要带符号；
其中问题2中可能不只有 会被忽略，其他的html转义字符可能也存在改问题，没有全部测试。

不带符号暂时弄不了，把表情符号算上那可太多了，不可枚举。其他可以修

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。


[SIP-5] Remove unused function #easy-review

This function verboseMetricName is not used anywhere after the chart refactor.
Remove comment in table.js as I misunderstood something and found where the tableFilter field is used.

Codecov Report

Merging #5825 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5825      +/-   ##
==========================================
+ Coverage   63.75%   63.75%   +<.01%
==========================================
  Files         366      366
  Lines       23129    23127       -2
  Branches     2597     2596       -1
==========================================
- Hits        14745    14744       -1
+ Misses       8369     8368       -1
  Partials       15       15

Impacted Files
Coverage Δ

superset/assets/src/chart/Chart.jsx
58.53% <ø> (+0.13%)
:arrow_up:

superset/assets/src/visualizations/table.js
85.71% <ø> (ø)
: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 bebbdb8...06724f2. Read the comment docs.


Add hook to print a log message when state may not be as expected

Needs to wait for #110 to be merged prior to this one as it should probably hook into the post hook


Unclear on how to process combinations of keys.

Problem:
I'd like to process a group of keys i.e ctrl+shift+p to do my thing -- I cannot really see from the examples/docs how one would go about this, without grouping a bunch of the Event's and just checking to see the time field they share is close enough in proximity to one another... which, seems hard.
Is there a better way?

There's no timing, just check for pressed/released. If it's not released it's pressed.

awesome :) TY


Can I train if without the Flair dataset

Hi,
Thanks for your great work on Medicine deep learning.
I am trying to study your work to process brain MRI images. I only have the T1-enhanced MRI and the corresponding segmentation labels.
Can I train without the Flair images please?
Thank you.

Hello there,
Yes, absolutely. You will just need to modify the config files accordingly. (modelConfig to say you provide only 1 modality, and trainconfig to point to only T1enhanced files).
Please read the readme, explore the config files a bit, and I believe you will understand how it's done easily.
Kostas


Adapter does not implement queryRecord method

Version info

ember.debug.js:6440DEBUG: -------------------------------
ember.debug.js:6440DEBUG: Ember      : 2.5.1
ember.debug.js:6440DEBUG: Ember Data : 2.6.0
ember.debug.js:6440DEBUG: Firebase   : 3.0.4
ember.debug.js:6440DEBUG: EmberFire  : 2.0.0
ember.debug.js:6440DEBUG: jQuery     : 2.2.4
ember.debug.js:6440DEBUG: -------------------------------

Steps to reproduce
Try to fetch a model like so:
model() {
    return this.store.queryRecord('user', {
      filter: {
        email: this.get('auth.email'),
      },
    });
  },

Expected behavior
I wanted to query for a single record in a model as per ember guides here.
Actual behavior
I get the following error: You tried to make a query but your adapter does not implement queryRecord Error: Assertion Failed: You tried to make a query but your adapter does not implement queryRecord

@tavosansal you can use an alternative method to query a record, like this:
http://stackoverflow.com/questions/33071340/how-to-use-emberfire-to-query-a-firebase-db-for-all-items-with-name-equalto-xyz?answertab=active#tab-top

@villander I was having the same issue with queryRecord (for a user) and I tried using the alternate method you linked to, but I got this error when I tried to log in:
Error: Assertion Failed: normalizeResponse must return a valid JSON API document: 	* One or more of the following keys must be present: "data", "errors", "meta".
Do you have any idea why this would happen?


Should URL be "address"?

I think dest-image-address might be more accurate than URL? I guess we can add both and deprecate the old one to avoid breaking changes.

I was also wondering if we should refactor the CLI so it expects source and dest arguments with no - e.g.
incert cert.pem image-to-append-to new-image


build 1.12.1

snowpark-python 1.12.1 :snowflake:
Destination channel: defaults
Links

PKG-4245
Upstream repository
Upstream changelog/diff

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_65cvgmcpm1/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:32: python_build_tool_in_run: The python build tool setuptools is in run depends
===== Final Report: =====
0 Errors and 1 Warning were found


American style steam trains with open cars

We could create an open cars version of the american style steam trains by using sprites from AML1.DAT and NRL.DAT, i think this would make for a nice addition to the game to make the american steam trains more consistent with the standard steam trains.

Personally, I think it would be better as a custom object, but I mentioned this in the Discord chat to see what others think.


floatThead and Wordpress

Hello,
I can get a stand alone html page working with floatThead. The table header locks to the top of the screen just as I want.
But inserting this into Wordpress I can not get it to work.
Jquery is already loading and floatThead.js is loading with the script function on the page with no errors.  But the it just isnt working.
Any suggestions?
I look forward t your reply.

nope, no suggestions. I need to look at some example of something not working to have any of those.

Ok, totally understand.  I created a fiddle that is based on my local HTML test doc that is working fine, but when i try to insert into to WP nothing works.
https://jsfiddle.net/lucein/5kw5v39v/
Below is the link to my dev site with the page that I am trying to get it working on.
http://dev.afscenter.org/memory-care-services/moderate-to-late-stage-services/
I am inserting the floatThead.js and an external fixedHeader.js that holds the JS function via the functions.php. Both of which get inserted into the head of the page.
Functions.php

function my_floatThead_scripts() {
	wp_register_script( 'bootlint-script', 'https://cdnjs.cloudflare.com/ajax/libs/floatthead/1.2.13/jquery.floatThead.js', array( 'jquery' ), '1.2.0', true ); // -- From an External URL
    wp_register_script('my-floatThead-custom', get_stylesheet_directory_uri() . '/js/afs_fixedHeader.js', false, null, true);
if(is_page('moderate-to-late-stage-services')){
	wp_enqueue_script('bootlint-script');
    wp_enqueue_script('my-floatThead-custom');
}}

Here is the script in the afs_fixedHeader.js

( function( ) {
		$('table.afs_pstable').floatThead({
			useAbsolutePositioning: true
			// absolutePositioning is better for
			// highly dynamic sites
			// (which this is not)
		});
		$('table.afs_pstable').floatThead();
		$('table.afs_pstable').floatThead('reflow');
	});

I have also read that WP loads JQuery in "No Conflict" mode and it is suggested that "$" alias doesn't work.  So it is recommended that the function is wrapped like this:

(function($) {
	$(document).ready(function () {
		$('table.afs_pstable').floatThead({
			useAbsolutePositioning: true
			// absolutePositioning is better for
			// highly dynamic sites
			// (which this is not)
		});
		$('table.afs_pstable').floatThead();
		$('table.afs_pstable').floatThead('reflow');
	});
})(jQuery);

Which I have tried as well, both ways load the page without any errors but I am scratching my head to why it wont work.
Any help would be greatly appreciated.

your table html looks very malformed to me:

<col class="col1"/>
<col class="col2_mls" align="center"/>
<col class="col3_es" align="center"/>

Program/Service Benefits
 Moderate-Late Stage
Early Stage

Nursing

Basic First Aid
●
●

...

the unclosed tbody tag at the top probably causes the plugin to break.  col elements are only valid within a colgroup tag but id advise you to remove those because you will get a better result with this plugin if you do not use them.
I think what happens is that brower parses your html as best it can, builds something that floatThead cant use.

Thank you for the help!  I was able to get it working now.


Fixed required order fields

Codecov Report
Base: 43.12% // Head: 42.92% // Decreases project coverage by -0.20% :warning:

Coverage data is based on head (33c9a95) compared to base (4e9578a).
Patch coverage: 12.50% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #245      +/-   ##
==========================================
- Coverage   43.12%   42.92%   -0.21%
==========================================
  Files          42       42
  Lines        2400     2416      +16
==========================================
+ Hits         1035     1037       +2
- Misses       1283     1297      +14
  Partials       82       82

Impacted Files
Coverage Δ

openapi/code/entity.go
40.74% <0.00%> (-14.26%)
:arrow_down:

openapi/code/service.go
60.55% <100.00%> (+0.73%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Use preset-es2015 to avoid potential syntax error when use with babel cli

Include preset-es2015 to cover the case where lower version of node may not like const while using babel cli directly during transpilation.

Hello, thank you :) Please remove commit ae297a6e7560168aec4c8c697732f436b5710e33 because it will be created using release script. Just keep the first commit and I will release it as 0.0.6.

sure


Exporting mnemonics in a Linux environment

How to export mnemonics using the seid command in a Linux environment? I have checked the command and found that importing and exporting files only have the form of a secret key. I want to export files in the form of a key or mnemonic and then import them into a webpage to import a wallet

And each interaction requires entering a password. How can I close it!

I am very sorry that I still have another question. I am writing a webpage debugging wallet, how to get the gas fee request required for the transaction, and I have set a fixed gas fee at present

And each interaction requires entering a password. How can I close it!

You can use --keyring-backend test to skip the password

I'm not sure whether we support exporting mnemonics, that's something generated only once and can't be exported later, so you would have to save it somehow when you create a new wallet.
We do support exporting the secret key which can be used to recover the account.


dotenvcrypt branch for encrypting files

The idea here is to allow for easy local development with files stored as clear text, but also to provide an easy way to encrypt files when pushing to a repo. In production, the presence of a DOTENVCRYPT environment variable and a file suffixed with "crypt" indicates the file is encrypted. If so, then the DOTENVCRYPT environment variable will be used to decrypt the file when it is loaded.
This is just an idea, not sure if there's much interest, but figured I'll push it up anyway.

Nice! I love the idea. What if we publish this as a separate gem, and if someone adds dotenv-crypt to their Gemfile, it does the decryption?
It also be nice to add commands to set and unset values, such as dotenv set FOO=bar

Sounds GREAT, Brandon!
Could you create the dotenv-crypt project? You'd do a much better job than me! :-)


Fix a typo

Noticed it in Atom's console.
Related https://github.com/atom/atom/issues/8834#issuecomment-141353594

Thanks!


Seo announcement

#34
SEO+ Accessibility  for SEO (dependency)
@anushbhatia  Sir changes made to Announcements Page. Reference point taken to the Index page.
I will take the other pages in the upcoming days due to exams!
Lighthouse giving 100, so don't believe it any longer. 👍

@abhu-A-Jb i already opened an issue for the web enhancement of the app by the help of lighthouse tool.
So need to work on the other pages. Find more issues to work on.

@aashimgarg The isse for SEO was opened long before your issue.
Also you have mentioned about improveing performace of the website on your issue, so you may stick to it. I am not interfering with the isssue.  I'm only working on SEO by taking permission from @anushbatia Sir.


ArgumentError with verify_authenticity_token on Rails API

I got this error when launching resque:work with Rails 5.1.6 API only, and because CSRF token is disabled by default in API mode, the new skip_before_action doesn't work.
ArgumentError: Before process_action callback :verify_authenticity_token has not been defined
worker_1       | /usr/local/bundle/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:712:in `block (2 levels) in skip_callback'
worker_1       | /usr/local/bundle/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:708:in `each'
worker_1       | /usr/local/bundle/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:708:in `block in skip_callback'
worker_1       | /usr/local/bundle/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:622:in `block in __update_callbacks'
worker_1       | /usr/local/bundle/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:620:in `reverse_each'
worker_1       | /usr/local/bundle/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:620:in `__update_callbacks'
worker_1       | /usr/local/bundle/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:707:in `skip_callback'
worker_1       | /usr/local/bundle/gems/actionpack-5.1.6/lib/abstract_controller/callbacks.rb:181:in `block (3 levels) in <module:ClassMethods>'
worker_1       | /usr/local/bundle/gems/actionpack-5.1.6/lib/abstract_controller/callbacks.rb:74:in `block in _insert_callbacks'
worker_1       | /usr/local/bundle/gems/actionpack-5.1.6/lib/abstract_controller/callbacks.rb:73:in `each'
worker_1       | /usr/local/bundle/gems/actionpack-5.1.6/lib/abstract_controller/callbacks.rb:73:in `_insert_callbacks'
worker_1       | /usr/local/bundle/gems/actionpack-5.1.6/lib/abstract_controller/callbacks.rb:180:in `block (2 levels) in <module:ClassMethods>'
worker_1       | /usr/local/bundle/gems/griddler-1.5.0/app/controllers/griddler/emails_controller.rb:2:in `<class:EmailsController>'
worker_1       | /usr/local/bundle/gems/griddler-1.5.0/app/controllers/griddler/emails_controller.rb:1:in `<main>'
worker_1       | /usr/local/bundle/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:100:in `load'
worker_1       | /usr/local/bundle/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:100:in `load'
worker_1       | /usr/local/bundle/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:477:in `block in load_file'
worker_1       | /usr/local/bundle/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:662:in `new_constants_in'
worker_1       | /usr/local/bundle/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:476:in `load_file'
worker_1       | /usr/local/bundle/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:374:in `block in require_or_load'
worker_1       | /usr/local/bundle/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:36:in `block in load_interlock'
worker_1       | /usr/local/bundle/gems/activesupport-5.1.6/lib/active_support/dependencies/interlock.rb:12:in `block in loading'
worker_1       | /usr/local/bundle/gems/activesupport-5.1.6/lib/active_support/concurrency/share_lock.rb:149:in `exclusive'
worker_1       | /usr/local/bundle/gems/activesupport-5.1.6/lib/active_support/dependencies/interlock.rb:11:in `loading'
worker_1       | /usr/local/bundle/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:36:in `load_interlock'
worker_1       | /usr/local/bundle/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:357:in `require_or_load'
worker_1       | /usr/local/bundle/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:335:in `depend_on'
worker_1       | /usr/local/bundle/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/active_support.rb:59:in `depend_on'
worker_1       | /usr/local/bundle/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:251:in `require_dependency'
worker_1       | /usr/local/bundle/gems/railties-5.1.6/lib/rails/engine.rb:476:in `block (2 levels) in eager_load!'
worker_1       | /usr/local/bundle/gems/railties-5.1.6/lib/rails/engine.rb:475:in `each'
worker_1       | /usr/local/bundle/gems/railties-5.1.6/lib/rails/engine.rb:475:in `block in eager_load!'
worker_1       | /usr/local/bundle/gems/railties-5.1.6/lib/rails/engine.rb:473:in `each'
worker_1       | /usr/local/bundle/gems/railties-5.1.6/lib/rails/engine.rb:473:in `eager_load!'
worker_1       | /usr/local/bundle/gems/railties-5.1.6/lib/rails/engine.rb:354:in `eager_load!'
worker_1       | /usr/local/bundle/gems/resque-1.27.4/lib/resque/tasks.rb:45:in `each'
worker_1       | /usr/local/bundle/gems/resque-1.27.4/lib/resque/tasks.rb:45:in `block (2 levels) in <main>'
worker_1       | /usr/local/bundle/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'

Released as v1.5.1


Optional network ACLs in Key Vault module

Module vault_for_each_rg always deploys Key Vault resource with network_acls block. Instead, module should deploy Key Vault resources without network_acls block by default and allow to enable it with a feature flag.

Apparently, Terraform's provider azurerm v2.16 keeps network_acls block present anyway. It just makes the default block permissive:
        network_acls {
            bypass                     = "AzureServices"
            default_action             = "Allow"
            ip_rules                   = []
            virtual_network_subnet_ids = []
        }


Add topiai system from SpaceDock

This pull request was automatically generated by SpaceDock on behalf of Throwhound, to add topiai system to CKAN.
Mod details:
name = /mod/2103/topiai%20system
author = Throwhound
abstract = This mod adds in a blue gas giant just past Duna with three moons and rings
license = MIT
Homepage =
description =
The Topiai System
This mod is a stockalike pack that is very lightweight and can run on just about any computer. the only dependency is Kopernicus.
Features

A blue gas planet half the size of Jool
Three completely procedurally generated, interesting moons
Cool looking rings

This is my first mod, please show mercy!
Credits:
Throwhound: The original idea
MythicalDonuts: Everything else
Please direct questions about this pull request to Throwhound.

This was added in #7059.


Refactor form.js to allow custom field initializer callbacks

@jowilf I want to ask you something, do we have a way to watch the entire documentation and initialize some JS when an element with a certain selector is created? For example, trigger registerFieldInitializer when an element is created with a class containing "field".

I'm not sure if I fully understand your question but if you create an element you need to call initializeFields on the element. This function will loop through all the registered callbacks and invoke them. Take a look at the ListField implementation that adds dynamically a field template  ->  https://github.com/jowilf/starlette-admin/blob/63948e34919d62556c66266e67a3f3ecdfa7af8d/starlette_admin/statics/js/form.js#L210
You don't have to watch the entire document if you can control when the element is created.

I'm not sure if I fully understand your question but if you create an element you need to call initializeFields on the element.

Let me try to explain one more time. Do you know anything about HTMX? I'm using it in my project.
Here is an example of what I am doing...
</> htmx ~ Examples ~ Modal Dialogs with UIKit. Navigate to this page and click "Show Modal Dialog". The modal and its content (a form) are fetched from the backend. So the backend returns an HTML, and HTMX puts it where we tell it to do.
Let's say that one of the inputs in that form is a JavaScript-initialized field, maybe it is supposed to be a TinyMCE Editor and it has this class: "field-tinymce-editor form-control".
With HTMX, I can not trigger a function based on the content of the response and I don't want to put an extra "script" tag into that response HTML, the JavaScript file is already fetched, so why fetch it again?

I'm not sure if I fully understand your question but if you create an element you need to call initializeFields on the element.

Let me try to explain one more time. Do you know anything about HTMX? I'm using it in my project.
Here is an example of what I am doing...
</> htmx ~ Examples ~ Modal Dialogs with UIKit. Navigate to this page and click "Show Modal Dialog". The modal content (a form) is fetched from the backend. So the backend returns an HTML, and HTMX puts it where we tell it to put.
Let's say that one of the inputs in that form is a JavaScript-initialized field, maybe it is supposed to be a TinyMCE Editor and it has this class: "field-tinymce-editor form-control". With HTMX, I can not trigger a function based on the content of the response and I don't want to put an extra "script" file loader into that response HTML, the JavaScript file is already fetched, so why fetch it again?
So what I am asking is this, is there any way to "watch" the document and trigger a function (Field initializer) when an element is created with a certain selector, in this example: .field-tinymce-editor.
Even if I can not trigger a function based on the content of the response and I don't want to put an extra "script" file loader into that response, I can still add <script>initializeFields(document);</script> (or something like that). But I want it to be as dynamic as possible and I believe there is only one way to make it: watch the document for the creation of an element with a selector.
I hope this one was clear enough.

I have found these two JS packages:
kubetail-org/sentineljs: Detect new DOM nodes using CSS selectors (650 bytes)
uzairfarooq/arrive: Watch for DOM elements creation and removal
They are quite helpful for this purpose: watch the DOM and do something when a target element is created.


Add Institute of Science and Technology Austria with ista.ac.at

both domains, ist.ac.at and ista.ac.at are used by faculty and students. Corrected the institute's name on ist.txt

@tbishop-ista First stage of verification passed, official domain for Institute of Science and Technology Austria is ist.ac.at as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@tbishop-ista Pull request merged. Please start requesting the licenses in about an hour, to let the changes to propagate through our system. Thank you.


add notes on altool in PATH

This should address a common issue with the tool not being available.

Hmm, I now see that notarytool is the recommended way to do this, but in my case, using @electron/notarize v1.2.3, it failed due to altool not being found.

Seeing that altool is being phased out, I'm closing this.


feature rewrite count(null) to 0

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall


Does not close mobile left sidebar by clicking on a menu item

Is it possible to close mobile left sidebar by clicking on a menu item.  (Desktop is OK)

Yes, and I believe this should be the default behaviour.


update error type and remove int64 to int32 in convert config

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation and Context

update error type and remove int64 to int32 in convert config file since droplet support int64 now
Description

Use cases (Optional)

BC-breaking (Optional)

Checklist
Before PR:

[ ] I have read and followed the workflow indicated in the Contributors.md to create this PR.
[ ] Pre-commit or linting tools indicated in Contributors.md are used to fix the potential lint issues.
[ ] Bug fixes are covered by unit tests, the case that causes the bug should be added in the unit tests.
[ ] New functionalities are covered by complete unit tests. If not, please add more unit test to ensure the correctness.
[ ] The documentation has been modified accordingly, including docstring or example tutorials.

After PR:

[ ] CLA has been signed and all committers have signed the CLA in this PR.

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


ValueError: Config parameter "html" does not exist.

First of all, I want to thank you for a great product that you've built.
I came across it early last year, and it worked like a charm.
Yesterday, I tried it again and when I run this generic line:
profile = ProfileReport(data, title='Pandas Profiling Report', html={'style':{'full_width':True}})

I got the following error:
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-27-e5a2e28a7045> in <module>
----> 1 profile = ProfileReport(data, title='Pandas Profiling Report', html={'style':{'full_width':True}})

~/anaconda3/lib/python3.7/site-packages/pandas_profiling/__init__.py in __init__(self, df, **kwargs)
     33
     34     def __init__(self, df, **kwargs):
---> 35         config.set_kwargs(kwargs)
     36
     37         # Treat index as any other column

~/anaconda3/lib/python3.7/site-packages/pandas_profiling/config.py in set_kwargs(self, kwargs)
     49
     50         """
---> 51         self._set_kwargs(self.config, kwargs)
     52
     53     def __getitem__(self, item):

~/anaconda3/lib/python3.7/site-packages/pandas_profiling/config.py in _set_kwargs(self, reference, values)
     39                     reference[key].set(value)
     40             else:
---> 41                 raise ValueError('Config parameter "{}" does not exist.'.format(key))
     42
     43     def set_kwargs(self, kwargs) -> None:

ValueError: Config parameter "html" does not exist.

To Reproduce One can reproduce this error by running the following code:
from sklearn.datasets import load_digits
digits = load_digits()
X = pd.DataFrame(digits.data)
profile = ProfileReport(X, title='Pandas Profiling Report', html={'style':{'full_width':True}})

Version information:
python: 3.7.3
pandas_profiling: 2.4.0
All other required modules, I made sure and pip install -r-ed the requirements.txt.

Ok, I have managed to resolve the issue and this is what I did.

I re-installed the package using `pip install pandas-profiling[notebook,html] (the previous installation was with conda) and the error disappeared. However, another issue appeared once I called profile in jupyter lab:

Lurking through the issues list, I found this solution to the issue from 1., it works like a charm:
profile.to_notebook_iframe()

Closing the issue.

I have uninstalled and reinstalled from conda, from source, from pip and I still get this error.


Firebase Callable Functions

Does this support firebase.functions().onCall? I'd like to use this call a Firebase Function from my route to retrieve some data but I'm unable to find any cases where anyone has accomplished this Ember.  Thanks!
https://firebase.google.com/docs/functions/callable

It should as the firebase service is the firebase API itself

Perfect. Thanks.

@rmmmp  Any chance you could help me understand why I'm receiving this.get(...).functions is not a function?
import Route from '@ember/routing/route';
import { inject as service } from '@ember/service'
import RSVP from 'rsvp';

export default Route.extend({
    session: service('session'),
    firebase: service('firebase'),

    beforeModel: function() {
        return this.get('session').fetch().catch(function () {});
    },
    model(params) {
        return RSVP.hash({
            contactRecord:
                this.get('firebase').functions().httpsCallable('contactRecord')({contactId: params.contact_id})
                .then(recordResponse => {
                    return recordResponse;
                })
        });
    },
    setupController(controller, models) {
        controller.set('contactRecord', models.recordResponse);
        controller.set('UDFRecord', models.UDFResponse);
      }
});

Have you imported firebase-function as described [here] (https://github.com/rmmmp/ember-firebase-service/blob/master/README.md#configuration)?

Turns out my firebase module didn't include firebase-functions.js because it was relying on an older version of firebase. Updated it, now I've got a build error because of conflicting versions of firebase! Womp womp.
+--<EMAIL_ADDRESS>| `--<EMAIL_ADDRESS>`--<EMAIL_ADDRESS>``

Yeah sadly there's nothing I can do about that if you're using emberfire. You'll have to wait for it to catch up to Firebase 5.x.


Ability to send in custom systemd parameters, or use a custom systemd template.

Affected Puppet, Ruby, OS and module versions/distributions

Puppet: 6.4.x
Ruby: 2.5.7
Distribution: Ubuntu (16.04 & 18.04)
Module version: 2.0.0

How to reproduce (e.g Puppet code you use)
N/A, not a bug.
What are you seeing
I need to be able to raise the rtprio for my jenkins-slave.
What behaviour did you expect instead
I would like to see either the ability to send in a custom hash of systemd properties, or the ability to use a custom systemd erb/pp template. I have the prior in a fork, but I'm not sure if people would prefer the template over properties.
Output log
N/A
Any additional information you'd like to impart
While I can set the rtprio limits for the user in /etc/security, but when the systemd service starts, the rtprio value is reset to zero.
The only way I've found to get this to work is by setting LimitRTPRIO within the systemd service file.

Will drop-in files work?

Drop in files are indeed the best solution for this.

we could tag these kinda issues as questions (answered), would be nice for them to show up in the changelog

I don't think a changelog is the right place for that. If anything, it should be in README or examples.


https

Hi can you please implement https or if there is an example using https on the client can you please send me a link

Just change the protocol of the server url.
Example using https on the client:
using Quobject.SocketIoClientDotNet.Client;

var socket = IO.Socket("https://localhost");
socket.On(Socket.EVENT_CONNECT, () =>
{
    socket.Emit("hi");

});

socket.On("hi", (data) =>
    {
        Console.WriteLine(data);
        socket.Disconnect();
    });
Console.ReadLine();


Try to use "6D representation" for orientation representation

https://towardsdatascience.com/better-rotation-representations-for-accurate-pose-estimation-e890a7e1317f is an interesting article that encourages to use "6D representation" instead of classical quaternions (currently used).
I am up for trying that!

[x] Replace in actions

Additional Resources:

https://arxiv.org/abs/1812.07035
https://arxiv.org/abs/2010.07184

Using as the default (and currently only) option in all Grasp environments (implemented in https://github.com/AndrejOrsula/drl_grasping/pull/54/commits/620207a010ed62e76a6467aaa4ae89fe58b2018e)


Add support for ORDS 17.4.0

ORDS 17.4.0 has a different properties file.

This has been taken care of in #1


Potential failure on CallServerInterceptor if writeRequestHeader fails

Unfortunately this bug is hard to replicate and to create a failing test.
But I hope it still gets attention.
We've noticed that there is a big number of crashes in our customer base after upgrading from OkHttp 4.9.3 to version 4.12.0, as per stacktrace below.
We've also noticed a change in 4.11 could be related to that:

Read the response even if writing the request fails (https://github.com/square/okhttp/pull/6295) (https://github.com/square/okhttp/pull/7453)

https://github.com/square/okhttp/commit/e46a200fceaa5fbd9c9278eebe9c978399bd329c
It seems that a change has been introduced in CallServerInterceptor which moved the exchange.write* operations into a try/catch block (I suppose by design, to fix the issue as referenced in the commit).
However, the effect of that could be that the following block, the exchange.readResponseHeaders might be executed with state set to 0 (IDLE, not initalised), if the previous exchange.writeRequestHeaders(request) operation failed for any reason  apart from ConnectionShutdownException. The readResponseHeaders has a guard statement which would throw an exception if state == 0.
I couldn't find a way which could cause the exchange.writeRequestHeaders call to raise an exception, but we are observing many cases (it is our top crash, affecting thousands of customers in a couple of days after rollout).
It is important to note that we also updated from Okio 3.0.0 to 3.7.0 in the same release.
Stacktrace:
Exception java.lang.IllegalStateException: state: 0
  at okhttp3.internal.http1.Http1ExchangeCodec.readResponseHeaders (Http1ExchangeCodec.kt)
  at okhttp3.internal.connection.Exchange.readResponseHeaders (Exchange.kt)
  at okhttp3.internal.http.CallServerInterceptor.intercept (CallServerInterceptor.kt)
  at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.kt)
  at okhttp3.internal.connection.ConnectInterceptor.intercept (ConnectInterceptor.kt)
  at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.kt)
  at okhttp3.internal.cache.CacheInterceptor.intercept (CacheInterceptor.kt)
  at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.kt)
  at okhttp3.internal.http.BridgeInterceptor.intercept (BridgeInterceptor.kt)
  at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.kt)
  at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept (RetryAndFollowUpInterceptor.kt)
  at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.kt)
  at my.company.SomeInterceptor
  (...)
  at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.kt)
  at okhttp3.internal.connection.RealCall.getREsponseWithInterceptorChain$okhttp (RealCall.kt)
  at okhttp3.internal.connection.RealCall$AsyncCall.run (RealCall.kt)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
  at java.lang.Thread.run (Thread.java:1012)

Probably a dupe of https://github.com/square/okhttp/issues/6853


[WIP] HIVE-24201-WorkloadManager kills query being moved to different pool if destination pool does not have enough sessions

What changes were proposed in this pull request?
Currently, the Workload management move trigger kills the query being moved to a different pool if destination pool does not have enough capacity. This PR introduces a "delayed move" configuration which doesn't immediately kill the query when the destination pool is full but lets the query run in the source pool as long as possible. Workload manager will attempt the move to destination pool only when there is claim upon the source pool.
Why are the changes needed?
For better utilization of cluster resources.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Unit test

@guptanikhil007, could you please review ?

@sankarh, Could you please review?

@sankarh, refactored code to mark the WmTezSession as delayed move so that duplicate move session events are not created for a delayed move every time the triggers are validated. Also, added delayed move retry and expiry. Could you please review?

+1, Patch looks good.


MGMT-18434: Upgrade setuptools to mitigate CVE-2024-6345

/retest

/retest

/retest

/cc @paul-maidment


python 2.7 used while installing requirements into gcs-env

While installing gcs-env a warning appeared for python 2.7
[root@rhsqa-virt05 deploy]# ./prepare.sh
vagrant and vagrant-libvirt were found.
For easier operation, ensure that libvirt has been configured to work without passwords.
Ref: https://developer.fedoraproject.org/tools/vagrant/vagrant-libvirt.html

Ensuring kubespray is present
Creating a python virtualenv gcs-venv
Installing requirements into gcs-venv
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.

Virtualenv gcs-venv has been created
The virtualenv needs to be activated before doing any operations. Operations may fail if virtualenv is not activated.

To activate the virutalenv, run:
$ source gcs-venv/bin/activate
(gcs-venv) $

To deactivate an activated virtualenv, run:
(gcs-venv) $ deactivate
$

@ksandha that is the default python in your system, gcs will use the default python whatever is available.


Do you plan to expand access via API?

Hello, thanks for your nice job.
Do you plan to expand access via API?
For example send result mask as base64 png transparent image, thanks in advance...

Is everything working fine for you now!? Maybe I'm doing something wrong!? My api is not working properly, but in the browser it's fine.

See https://github.com/djbielejeski/a-person-mask-generator/issues/9


Mongodb3.x

This is a merge of all needed patch for mongo3.x from macdaddyaz, my patch for ubuntu/debian and the fix for json object.

These changes have just landed through different PRs.


upgrade to zxcvbn 4.3.0

@ghostbar , do you mind an upgrade to zxcvbn 4.3.0?  Here's the diff.  Thanks!

thumbs up! :)

zxvbn has been bumped to 4.4.0 including mixed bugfixing: https://github.com/dropbox/zxcvbn/commits/master

Awesome, thank you!

ah no @wcjr you have misunderstood.
it'szxcvb that have updated, not angular-zxcvbn :)

oops, sorry about that, reopening.


add hdf5 output

This is a draft implementation that demonstrates proof of concept for writing a N-D sparse tensors to binary format using hdf5. Currently, the fiber is written in column-major order and is 1-indexed. We can add flags for 0 or 1 indexing and do the appropriate math with a quick broadcast (e.g. lvl.idx .- 1). I suspect that mode ordering (row vs. col major) is best added as a top-level tensor trait (a permutation array at the top).

addresses https://github.com/willow-ahrens/Finch.jl/issues/120

Codecov Report
Patch coverage: 100.00% and project coverage change: -0.17 :warning:

Comparison is base (2be0bd1) 79.36% compared to head (5e961a6) 79.19%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #126      +/-   ##
==========================================
- Coverage   79.36%   79.19%   -0.17%
==========================================
  Files          42       42
  Lines        4099     4037      -62
==========================================
- Hits         3253     3197      -56
+ Misses        846      840       -6

Impacted Files
Coverage Δ

src/Finch.jl
50.00% <ø> (-46.16%)
:arrow_down:

src/fileio.jl
100.00% <100.00%> (ø)

src/FinchNotation/syntax.jl
73.07% <0.00%> (-3.76%)
:arrow_down:

src/looplets/jumpers.jl
59.37% <0.00%> (-2.39%)
:arrow_down:

src/glue_AbstractArrays.jl
65.00% <0.00%> (-1.67%)
:arrow_down:

src/looplets/shifts.jl
51.61% <0.00%> (-1.52%)
:arrow_down:

src/looplets/spikes.jl
71.42% <0.00%> (-1.42%)
:arrow_down:

src/masks.jl
80.64% <0.00%> (-1.18%)
:arrow_down:

src/looplets/steppers.jl
82.35% <0.00%> (-0.99%)
:arrow_down:

... and 24 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


CentralDogmaSessionDAO inefficiency

On each login or logout, Shiro SecurityManager ends up creating four commits into our session repository, which can increase the number of commits in the session repository very quickly. Quick investigation of login process shows that:

Subject.Builder.buildSubject() generates three commits

Initialization commit by createSession(context) in AbstractNativeSessionManager.start(context)
Redundant commit of (1) by applyGlobalSessionTimeout(session) in AbstractNativeSessionManager.start(context).
Updating the current principal

Subject.login() generates two more comments:

Updating the current principal again, because currentPrincipals.equals(existingPrincipals) returns false at DefaultSubjectDao.java:218 due to mismatching realm name.

It seems like we don't need to specify a principal when creating a Subject at all. Removing the Subject.Builder.principal() call, which was specified right before buildSubject(), gets rid of this commit.

Updating the boolean flag that tells if the session is authenticated or not.

I expect something similar occurs for logout, making a commit for each attribute updates before the session removal, which is totally inefficient.
Give this observation, it seems like Shiro has no notion of 'transaction' or 'delayed update' to reduce the number of SessionDao.update() or SessionDao.create() calls, leading CentralDogmaSessionDAO produce unnecessary commits. We need to work aroud this or to work with the upstream to fix this. Or, did the upstream fix this issue already in a newer release? We are using a little bit old version of Shiro.
/cc @hyangtack

There are various ways to fix this. One workaround I can think of is to have some in-memory area that keeps the sessions for the last few seconds and flush them every few seconds only, consolidating multiple session updates into a single commit.


rpi2.nix: pkgs.platforms.raspberrypi2 is no longer correct

See discussion at https://github.com/NixOS/nixpkgs/issues/24170

LGTM. Thanks

ping


This video contains content from WMG

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.08.04. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.08.04

Before submitting an issue make sure you have:

x[ ] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[x] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2018.08.04
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
This is the output I'm getting:
[download] Downloading video 334 of 927
[youtube] XGz0SIdj3GA: Downloading webpage
[youtube] XGz0SIdj3GA: Downloading video info webpage
ERROR: This video contains content from WMG, who has blocked it on copyright grounds.
Is there a way to skip all the blocked videos?

-i.


[BR] (use -source 8 or higher to enable default methods)

Before Submitting, be sure to

[ x] Update to the latest stable version.
[ x] Read and follow the guides described in the documentation.
[ x ] Try to reproduce in our demo project.
[ x] Search for your issue in the existing GitHub issues.

Bug Description

Cannot build on existing project getting -source 7 error. Only for Flutter Android, Works on iOS
Tried multiple JDK's from 8 , 11, 19;
Current buildGradle :
android {
compileSdkVersion 33
//    ndkVersion "25.1.8937393"
//    compileOptions {
//        sourceCompatibility JavaVersion.VERSION_1_8
//        targetCompatibility JavaVersion.VERSION_1_8
//    }
kotlinOptions {
    jvmTarget = '1.8'
}
sourceSets {
    main.java.srcDirs += 'src/main/kotlin'
}

defaultConfig {
    applicationId "my.id"
    minSdkVersion 21
    targetSdkVersion 33
    versionCode flutterVersionCode.toInteger()
    versionName flutterVersionName
}

As soon as I commnet face_api from pubspec it all works.
Steps To Reproduce

Expected behavior

For the app to build, tried the same Android config from Demo, used JDK 8, 11, 19
Environment:

Device:  Any Android Simulator
OS:  Ventura 13.2.1 M1, -> Android Emulator API 33

Additional context
Error Logs:
/Users/u/.pub-cache/hosted/pub.dev/flutter_face_api-5.1.1/android/src/main/java/io/flutter/plugins/regula/faceapi/flutter_face_api/FlutterFaceApiPlugin.java:74: error: default methods are not supported in -source 7
default void success() {
^
(use -source 8 or higher to enable default methods)
/Users/u/.pub-cache/hosted/pub.dev/flutter_face_api-5.1.1/android/src/main/java/io/flutter/plugins/regula/faceapi/flutter_face_api/FlutterFaceApiPlugin.java:120: error: lambda expressions are not supported in -source 7
new Handler(Looper.getMainLooper()).post(() -> eventVideoEncoderCompletion.success(JSONConstructor.generateVideoEncoderCompletion(transactionId, success).toString()));
^
(use -source 8 or higher to enable lambda expressions)
/Users/u/.pub-cache/hosted/pub.dev/flutter_face_api-5.1.1/android/src/main/java/io/flutter/plugins/regula/faceapi/flutter_face_api/FlutterFaceApiPlugin.java:291: error: method references are not supported in -source 7
Instance().setVideoEncoderCompletion(this::sendVideoEncoderCompletion);
^
(use -source 8 or higher to enable method references)
/Users/u/.pub-cache/hosted/pub.dev/flutter_face_api-5.1.1/android/src/main/java/io/flutter/plugins/regula/faceapi/flutter_face_api/JSONConstructor.java:647: error: method references are not supported in -source 7
result.put("detections", generateList(input.getDetections(), JSONConstructor::generateMatchFacesDetection));
^
(use -source 8 or higher to enable method references)
4 errors
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':flutter_face_api:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 4s
Exception: Gradle task assembleDebug failed with exit code 1

Update this file gradle-wrapper.properties
#Fri Jun 23 08:50:38 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https://services.gradle.org/distributions/gradle-7.4-all.zip .  it worked to me

just changed gradle version to 7.1.2
like
dependencies {
        classpath 'com.android.tools.build:gradle:7.1.2'
    }

and gradle-wrapper.properties to 7.4
like
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
fixed my problem


mgmtfn/k8splugin: refactor to remove nsenter

This PR rewrites the network setup for kubernetes to not use nsenter any more. No changes have been made to the unit test. The code should work just like the previous code.
Errors are now passed down to the caller.

@unclejack thanks for removing nsenter dependency. Please be sure to run system tests manually in the k8s mode (it is not part of sanity).

@unclejack Have you been able to test k8s sanity with this? If not, can you verify simple sanity manually with vagrant? Also, can you please retrigger sanity?

@jojimt: I haven't been able to do that so far, but I'll try again.

Can you verify with this procedure for now: https://github.com/contiv/netplugin/tree/master/mgmtfn/k8splugin

@jojimt: Have you been able to test k8s? I didn't get a chance to do it so far. I'll push again to trigger the CI.

No, @unclejack you need to test that. I gave you an alternative option above to perform that test.

@unclejack, now that the k8s sanity is available, can you please run it with your changes?

@jojimt: Sure, I'll take care of it.

@jojimt: I'm sorry, but k8s-test is still broken:
github.com/contiv/netplugin/vendor/github.com/docker/engine-api/types
github.com/contiv/netplugin/vendor/github.com/docker/engine-api/types/reference
github.com/contiv/netplugin/vendor/github.com/docker/engine-api/types/time
github.com/contiv/netplugin/vendor/github.com/docker/engine-api/client
github.com/contiv/netplugin/netplugin/agent
github.com/contiv/netplugin/version
github.com/contiv/netplugin/netplugin
github.com/contiv/netplugin/netmaster/objApi
github.com/contiv/netplugin/netmaster/daemon
github.com/contiv/netplugin/netmaster
github.com/contiv/netplugin/vendor/github.com/codegangsta/cli
github.com/contiv/netplugin/vendor/github.com/contiv/contivmodel/client
github.com/contiv/netplugin/netctl
github.com/contiv/netplugin/netctl/netctl
github.com/contiv/netplugin/mgmtfn/k8splugin/contivk8s/clients
github.com/contiv/netplugin/mgmtfn/k8splugin/contivk8s
github.com/contiv/netplugin/mgmtfn/mesosplugin/netcontiv
Connection to <IP_ADDRESS> closed.
CONTIV_K8=1 cd vagrant/k8s/ && ./start_sanity_service.sh
ERROR! the playbook: ./contrib/ansible/cluster.yml could not be found
make: *** [k8s-test] Error 1

Can you ping @abhinandanpb to determine if this is a breakage or an issue with lack of documentation on how to run  it.

#761 and #762 have been sent to fix issues with the kubernetes tests & cluster setup.
More work is needed to get to the point where the kubernetes environment works properly. I'll send some more PRs. @abhinandanpb is also working on this.

This is currently blocked by this test failure encountered with make k8s-test:
time="Mar  2 00:14:21.598302421" level=error msg="Error making POST request: Err: 100: Key not found (/contiv.io/state/eps) [140450]\n"
time="Mar  2 00:14:21.598371822" level=error msg="Error creating ep. Err: 100: Key not found (/contiv.io/state/nets) [140450]\n"
time="Mar  2 00:14:21.598404538" level=error msg="Handler for POST /ContivCNI.AddPod returned error: 100: Key not found (/contiv.io/state/nets) [140450]\n"
==========================================

time="2017-03-02T02:14:23+02:00" level=info msg="============================= systemtestSuite.TestTriggerNetpluginUplinkUpgrade completed =========================="

----------------------------------------------------------------------
FAIL: trigger_test.go:16: systemtestSuite.TestTriggerNetpluginUplinkUpgrade

trigger_test.go:40:
    // Verify uplink state on each node
    c.Assert(node.verifyUplinkState([]string{singleUplink}), IsNil)
... value *errors.errorString = &errors.errorString{s:"Lookup failed for uplink Port eth2. Err: Process exited with: 1. Reason was:  ()"} ("Lookup failed for uplink Port eth2. Err: Process exited with: 1. Reason was:  ()")

time="2017-03-02T02:14:23+02:00" level=info msg="============================= systemtestSuite.TestTriggerNodeReload starting =========================="
time="2017-03-02T02:14:23+02:00" level=info msg="Stopping netplugin on k8node-02"
time="2017-03-02T02:14:24+02:00" level=info msg="Cleaning up slave on k8node-02"

PR #769 makes some improvements to make these tests faster and more reliable.
PR #762 addresses some other issues which cause failures in these tests..

@jojimt The kubernetes cluster started by CONTIV_K8=1 make k8s-sanity-cluster doesn't seem healthy. Tests fail and pass at random. If the first tests have failed, the cluster needs to be shut down and started again. This was the only way I was able to fix the cluster. CPU usage and disk IO are also pretty high while not running the tests (at least 100% CPU usage for k8node-01, k8node-02 and k8node-03, ~100 MB are written to the host's disk every few seconds).

@unclejack are you running it on a laptop? You might need to use a server instead.

Lets put this on hold in view of new revelations in Go runtime limitations: https://www.weave.works/blog/linux-namespaces-and-go-don-t-mix
https://groups.google.com/forum/#!topic/golang-nuts/ss1gEOcehjk/discussion

build PR

@unclejack there's a merge conflict here that needs to be resolved first

@dseevr: I was checking to make sure the CI is ok. This needs to wait a bit longer.


The worker script or module filename must be an absolute path or a relative path starting with './' or '../'.

Hi, I got a problem when using CanvasCapture. When I try to call stop record, I had this fallback that would help me analyze the errors. I overcame this error, which reads:
Uncaught (in promise) TypeError: The worker script or module filename must be an absolute path or a relative path starting with './' or '../'. Received "blob:file:///cc745104-6f41-4c98-a3a2-bd4187ed908e"
    at __node_internal_captureLargerStackTrace (node:internal/errors:490:5)
    at new NodeError (node:internal/errors:399:5)
    at new Worker (node:internal/worker:166:15)
    at Object.Vh (25dcdf7f-aba0-4cbe-b…11097e200b86:37:263)
    at Object.li (25dcdf7f-aba0-4cbe-b…11097e200b86:37:312)
    at Bb (25dcdf7f-aba0-4cbe-b…1097e200b86:160:120)
    at n (25dcdf7f-aba0-4cbe-b…11097e200b86:206:60)
    at 7d514dec-92ae-40c8-8…489a5ab7dd:0xacb78b
    at f._proxy_main (25dcdf7f-aba0-4cbe-b…1097e200b86:226:454)
    at C:\Users\Zean\Stream…as-capture.js:354:9
    at new Promise (<anonymous>)
    at Object.run (C:\Users\Zean\Stream…s-capture.js:351:14)
    at C:\Users\Zean\Stream…-capture.js:2115:60
    at step (C:\Users\Zean\Stream…-capture.js:1325:23)
    at Object.next (C:\Users\Zean\Stream…-capture.js:1306:53)
    at fulfilled (C:\Users\Zean\Stream…-capture.js:1297:58)

Typically called from here.
document.getElementById('ui-record-stream').onclick = () => {
    if (isRecording != false) {
        isRecording = false
        try {
            CanvasCapture.stopRecord()
            document.getElementById('ui-record-status').innerText = 'camera'
        } catch (e) {
            console.error(`Failed to stop recording. Err: ${e}`)
        }
    } else {
        CanvasCapture.beginVideoRecord({
            format:  CanvasCapture.MP4,
            name: `StreamsoftCapture-${HandlerDate.getFullYear()}-${HandlerDate.getMonth()}-${HandlerDate.getDay}-at-${HandlerDate.getHours}-${HandlerDate.getMinutes()}`,
            onExportProgress: (HandlerExportProgress) => {
                console.log(`EXPORT: export_status=${HandlerExportProgress}`)
            },
            onExportFinish: () => {
                console.log('Finished exporting capture')
            },
            onError: (HandlerExportError) => {
                console.error(`ERROR: ${HandlerExportError}`)
            }
        })
        isRecording = true
        console.log('Set isRecording to true')
        console.log(`Status of recording in MP4: ${CanvasCapture.browserSupportsMP4()}`)
        try {
            CanvasCapture.recordFrame()
            document.getElementById('ui-record-status').innerText = 'square'
            console.log('Attempted to start recording')
        }
        catch (e) {
            console.error(`Failed to record. Err: ${e}`)
        }
    }
}

I'm running this on an electron environment v24.3.1.

I'm having this exact problem using https://github.com/saltyshiomix/nextron
I'd love to find a solution!

Internally the library loads up a webworker script via
// Make it so we don't have to specify workersPath for CCapture gif recorder.
// This is not a large file, so no need to separate from lib.
// @ts-ignore
import gifWorkerString from 'raw-loader!./CCapture.js/gif.worker.js';
// @ts-ignore
import * as JSZip from 'jszip';
const gifWorkersPath = URL.createObjectURL(new Blob([gifWorkerString]));

does installing raw-loader fix it?  what are you using to build this project?


After adding skill to a badge focus shall be placed on the Select Skills dropdown

After adding or removing skill to/from a badge focus shall be placed on the Select Skills dropdown
If delete operation is cancelled focus should be placed on the Delete button

pr: https://github.com/NationalSecurityAgency/skills-service/pull/2866

:+1:


[Bug]: my Game got infinite loading after download scripthookvdotnet by nighty and putting scripts in my scripts folder ?

What modules are you seeing the problem on?
ScriptHookVDotNet2.dll (v2 SDK/API)
SHVDN Version
0d5d4356
Game Version
v1.0.3258
Bug Description
as soon as i download Nightys scripthookvdotnet and putiing it in my main GTA folder and install like 2-3 scripts and putting them into my scripts folder my Game wont load it got stuck on loading the Game after the 2nd GTA Online ad
Steps To Reproduce
i get no error code ?
Link To Code Example
No response
The Current Behavior
It does nothing in the txt file thats created is only written that they resolved the dll to api and nothong happens i get stuck on my loading screen ?
ScriptHookVDotNet.log
The Expected Behavior
it should start my fricking GAME

Duplicate of #1454