Random crashes when OpenCV is trying to use OpenCL

I've recently discovered that as of v3.x OpenCV will silently attempt to use OpenCL (and thus the GPU) if it finds the required libraries on the system (https://opencv.org/opencl/). Unfortunately operating multiple threads in OpenCV (eg: 2 x video capture streams + processing, in particular cv::cvtColor() calls) appears to randomly cause errors or segmentation faults in the OpenCL backend
Workaround: set the following environment variable to disable this silent use of OpenCL
% OPENCV_OPENCL_RUNTIME=disabled backscrub ...

NB: this wasted a good hour of my time today, as I thought the problem was in my code :angry:

Oh, good to know, should we put this in a Troubleshooting section in the README maybe?

Retesting needed on this after a year I think. We could force the environment variable setting in the app if it's still an issue?


Audit and fix-up places where methods are marked as noexcept too liberally

https://github.com/Azure/azure-sdk-for-cpp/search?l=C%2B%2B&q=noexcept
The string extension methods shouldn't be marked noexcept. Audit other instances, like the ones in DateTime.
Use of it in places like Nullable<T> is expected and OK.

The relevant instances that need another look are in core.
cc @antkmsft, @LarryOsterman

When 4 of the linked PRs above, we should no longer have places where noexcept is used too liberally.


hcm: fix sending local reply during encode + grpc request classification

Fixes two issues that surfaced when adding an integration test for the
gRPC reverse bridge:

when sending a local reply during the encoding path, local_complete_
is set to true which results in endStream being called twice. We fix
this by not calling endStream during the header/body callback when
local_complete_ is true
the direct reply function was not using the state variable to detect
is_grpc_request, which meant that for the reverse bridge is was using
the modified headers which no longer have a gRPC content type.

Signed-off-by: Snow Pettersen<EMAIL_ADDRESS>Risk Level: Medium, HCM changes
Testing: New integration test
Docs Changes: n/a
Release Notes: n/a

Locally this seems to work and cause no issues with integration tests, lmk if you want to proceed with this or revert the other PR @mattklein123

@zuercher Turns out there was a bug around text/plain as well, because during integration tests we end up taking a different flow and hit code that wasn't checking the state variable but instead checked the request headers that we'd already modified to not be grpc anymore.
Lesson to be learnt: integration test it!

Yeah that's reasonable, let's revert the other PR now to keep HEAD healthy.

/retest

@alyssawilk do you wanna take a look at this as well?

/retests

/retest


page.close() followed by browser.pages() includes closed page

Puppeteer version: 1.0.0-rc
Platform / OS version: Windows 10, X64

What steps will reproduce the problem?

npm init
npm i github:GoogleChrome/puppeteer#2becd156d0b25ad3fe4f7b91101b32aead70bd96
run this code:

const Puppeteer = require('puppeteer')

const puppeteer = Puppeteer.launch({
    args: [`--remote-debugging-port=9220`, '--no-sandbox', '--disable-setuid-sandbox'],
    headless: false
})

async function test() {
    const browser = await puppeteer
    const page = await browser.newPage()
    await page.goto('http://google.com')
    await page.close()
    pages = await browser.pages()

    console.log(pages.map(page => page.url()))
}

test()

Prints out:

[ 'chrome://welcome-win10/?text=faster',
  'https://www.google.dk/?gws_rd=cr,ssl&dcr=0&ei=wIIeWvnUFoOv6ASBj7igAg' ]

Should print out:

[ 'chrome://welcome-win10/?text=faster']

EDIT:
It helps to wrap the pages call in timeout with 10ms function:
setTimeout(async () => {
    const pages3 = (await browser.pages()).map(t => t.url())
    console.log(pages3)
}, 10)

@aslushnikov @JoelEinbinder - I'll be glad to help with this one, with a little guidance from you guys.
Did you mean to actually wrap something like this:
client.on('Target.targetDestroyed',...
inside a promise? I should, of course, check that it is indeed the same target (but checking targetId)

Just waiting for Target.targetDestroyed will not work here, because it will happen before Browser's Target.targetDestroyed. The actual event I need to wait for is browser.on('targetdestroyed',..., but I cannot reach it from within the Page object.


Image Cleanup with Captions - Markup Output Issue

Having trouble with the output on images and captions in posts.
I noticed the issue when: inserting an image into the post, the paragraph tags and paragraph text is showing up between the  tags where caption is supposed to be. The  wraps around all the paragraphs in the post.
See screenshots:
Step 1 -  I used Add Media and wrote in the Caption, then clicked Insert into Post as shown:
https://www.evernote.com/shard/s34/sh/a49332e0-8d90-4b13-8fd4-c9c6e8931a8c/f1bcfd44b69d09ace654a31ad745f086/deep/0/Screenshot-2-24-15,-1-11-PM.png
Step 2 - Upon Updating the post I view page to check the markup and see the paragraph text is showing up where the caption should be? :
https://www.evernote.com/shard/s34/sh/20419e43-051d-4681-b9f5-bf5969be77bf/50bb7c03410b8240eb450105d31e5ad7/deep/0/Screenshot-2-24-15,-1-00-PM.png
Step 3 - Go back to Edit the post, then click to edit the already inserted image to find my caption missing:
3a: https://www.evernote.com/shard/s34/sh/a49332e0-8d90-4b13-8fd4-c9c6e8931a8c/f1bcfd44b69d09ace654a31ad745f086/deep/0/Screenshot-2-24-15,-1-11-PM.png
3b: https://www.evernote.com/shard/s34/sh/a0c448a6-ca49-4505-b39b-cfcd00adbc41/da24a4c2b5f8b8f1bcc7a2bb182a52d4/deep/0/Screenshot-2-24-15,-1-12-PM.png
Step 4 - I Update the caption while editing the already inserted image. Then update the Page and go to check my markup to see this:
https://www.evernote.com/shard/s34/sh/09f31bdc-119e-4ee5-9c44-8f0455dc834e/d675f9e8ab1caff5f110b2d17ef294aa/deep/0/Screenshot-2-24-15,-1-05-PM.png
I will eventually have to hack away at the cleanup.php but I thought I would share what I'm seeing on my end. I probably would not have noticed this if the font weights were not changing on the View Page (due to the  tags surrounding my body text).
Love the theme BTW. Great work.

Hi,
Your issue seems to be related to this https://github.com/olefredrik/FoundationPress/issues/110 .
I'm aware of the problem, but have so far failed to fix it. It's still on the list of open issues, and will be fixed when I get time. If you have the time and opportunity to contribute, I would be more than happy to look at pull requests related to this issue.

I thought so too but the alignment is working okay for me. Or, at least the correct classes are appearing so I can control that.


An error occurred when sharing vue using @module-federation/esbuil

Describe the bug
When I tried to build a vue application based mfe1 case under “module-federal-core \core\apps\esbuild”， I configured vue's shared configuration in the “federal.config.js” file, "Error: Package path. is not exported from package" and "No matching export in virtual-share-module:vue"  were reported when pnpm run build:remote. May I ask how to configure vue's shared correctly?

Reproduction
15
Used Package Manager
npm
System Info
esbuild+vue3<EMAIL_ADDRESS>"vue": "3.3.8",
"typescript": "^5.7.2",

Validations

[X] Read the docs.
[X] Read the common issues list.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Module federation issue and not a framework-specific issue.
[X] The provided reproduction is a minimal reproducible example of the bug.

This is federation.config.js

@lessgeek Thanks for your return, the esbuild plug-in is currently in a non-maintenance state, it is recommended to consider using rsbuild


Performance Issues

Determine and fix root cause of performance issues experience by some users.

Closing for now since no additional performance issues have been reported by users for some time now.


SIP Voting (without generation of events)

I'm wondering whether we need to keep track of the opened and closed voting periods, since one is the dual of the other. To me it seems that we could simply keep one map from SIP hashes to the slot at which the voting period ends, and introduce the following logic in the rules:

So on slot ticks, on the right hand side, we simply drop the SIP hashes whose voting period has expired.


Ideas and A few Problems I noticed

[Idea for An Additions]
I think to better fit with TFC, the concrete slab and stair recipes should be removed and be replaced by the chisel recipes. I've made working versions of the recipes using kubejs as a concept and it is definitely possible.
I think the blue steel tipped drill should have less durability than the red one and be a bit faster while the red steel tipped one has more durability but is a bit slower (Sort of to parallel the existing architypes of the materials in current TFC).
This next idea I had was to change the treating process for planks in immersive engineering to instead use a new TFC lumber variant that's just a treated version of the plank. It should be made via barrels with creosote oil with a rate of around 50 mb per lumber piece and take around 8 hours. The lumber should then be crafted into a plank block like so and follow similar functionality to the current TFC woods.
Treated support beams for caves that are slightly better than normal support beams (One block range in all directions more than normal supports). That's it, something simple if possible.
[Small Issues]
The garden cloche seems entirely useless for TFC crops (This may be due to the fact TFC crops follow their own rules for growing which may conflict with it) But if you could somehow patch this to work, that would be amazing.
The boat rudders are impossible to craft by default due to TFC not using vanilla iron to function. A potential fix is to add an alternate recipe using the tough iron rods instead of the vanilla ones.
The engineering manual still has entries that shouldn't exist like ores (given TFC has it's own ore generation style and whatnot) so if that can be disabled out of the book, that would help prevent some confusion for newer players.
The steel block's cost equates to 4 steel ingots, which in itself isn't a problem, but it should be increased to 9 ingots to better align with how expensive the block was from the base mod itself. A potential fix could be to change the recipe from 4 steel sheets in a diamond pattern to 9 steel sheets in the crafting table.
Sorry if anything I wrote comes out as sort of critical of the compatibility mod you have created. I just see a lot of potential in integrating these two mods together than I wanna see explored more, given that TFC likes to be tough as nails on the effort side and immersive engineering is no different. I really like the work put into this compatibility mod and hope to see it evolve further along with these 2 mods.
If anything I have said doesn't make sense, please let me know so I can elaborate further.

I think to better fit with TFC, the concrete slab and stair recipes should be removed and be replaced by the chisel recipes. I've made working versions of the recipes using kubejs as a concept and it is definitely possible.

If you can craft stone brick slabs and stairs, I don't see why you shouldn't be able to craft concrete slabs and stairs. I won't be replacing the recipes but I can add chisel recipes.

I think the blue steel tipped drill should have less durability than the red one and be a bit faster while the red steel tipped one has more durability but is a bit slower (Sort of to parallel the existing architypes of the materials in current TFC).

I don't feel this is necessary. Blue steel tools and red steel tools have identical stats anyways.

This next idea I had was to change the treating process for planks in immersive engineering to instead use a new TFC lumber variant that's just a treated version of the plank. It should be made via barrels with creosote oil with a rate of around 50 mb per lumber piece and take around 8 hours. The lumber should then be crafted into a plank block like so and follow similar functionality to the current TFC woods.

Idea accepted.

Treated support beams for caves that are slightly better than normal support beams (One block range in all directions more than normal supports). That's it, something simple if possible.

Idea accepted.

The garden cloche seems entirely useless for TFC crops (This may be due to the fact TFC crops follow their own rules for growing which may conflict with it) But if you could somehow patch this to work, that would be amazing.

The garden cloche already works for TFC crops. It just takes a very long time for the process to be completed (about 5.33 in-game days).

The boat rudders are impossible to craft by default due to TFC not using vanilla iron to function. A potential fix is to add an alternate recipe using the tough iron rods instead of the vanilla ones.

That item is from Immersive Petroleum, not Immersive Engineering. But yeah I can override the default recipe.

The steel block's cost equates to 4 steel ingots, which in itself isn't a problem, but it should be increased to 9 ingots to better align with how expensive the block was from the base mod itself. A potential fix could be to change the recipe from 4 steel sheets in a diamond pattern to 9 steel sheets in the crafting table.

I will look into this.
Thank you for your feedback!

On the topic of the first thing I said. I have just realized all stone blocks do have a slab and stair crafting recipe variant. I was thinking of the wooden variants as those can only be obtained via chisel, so I assumed that the stone variants followed the same logic at the time. Sorry about that.


Fixed typos in ossl_ht_new.pod, EVP_PKEY_decrypt.pod, and RSA_public_encrypt.pod

CLA: trivial

This pull request is ready to merge

Merged to the master, 3.3 and 3.2 branches. Thank you for your contribution.


Remove Endpoints - monthly-data-by-service

User Story - Business Need

In the effort to clean up our code we need to investigate and remove unused endpoints. This ticket is to take a look at the endpoints under /service/monthly-data-by-service and remove the ones marked for removal. You can view the table of endpoints here.
User Story(ies)
As an engineer
I want to clean up and reduce our codebase
So that it is easier to maintain and upgrade in the future.
Additional Info and Resources

Endpoint Table
Endpoint Spreadsheet

Engineering Checklist

[ ] Investigate the endpoints starting with /service/monthly-data-by-service to make sure they aren't being used
[ ] Remove tests associate with those endpoints
[ ] Remove the code associated with those endpoints (if possible). Make sure not to remove any code used by other parts of the application.

Acceptance Criteria

When the designated code and tests have been removed, the application retains full functionality.

QA Considerations

[ ] The QA Regression Suite passes
[ ] The Cypress regression passes

Potential Dependencies

Make sure the removal of these endpoints doesn't affect the work Strike is doing.

Closing/no longer relevant.


CDH | Add Aliyun STS Token support for KMS

cc @1570005763

Yes. This is used in some scenarios where aliyun KMS will only be used at the launch time. In this scene a short-term token is enough.

@1570005763 Yea. Also a commit to make aliyun kms suites statically built-able.


Add support for syslog

If logging is configured to "stdout" then messages are lost when using the init.sh script.
This issue is a proposal to add support for a "syslog" configuration which would send messages to the syslog daemon.

please add syslog support
ideally a structured log format :+1:


Server Managed Inventories

This change is going to bring massive breaking changes since it rewrites how inventories will be created.
Why I feel that this change is necessary
Many have trouble figuring out how to sync their items between the server and client. And I also feel like the current implementation is not very robust and secure.
What should change
Inventories should instead be server managed to improve on security and easily get the correct data for saving via DataStoreService.
Problems with this change
The biggest problem with this is keeping it simple and easy to understand. Since this is the main goal of this resource.

Related Suggestion:
Dont yield for MoveMiddleware function
Server validation feels much worse with higher ping (even with very low)
My probably not the best solution that doesn't seem to have caused any problems for me yet:
Essentially just update it as if there was no MoveMiddleware function and if it doesnt agree then move it back
				if self.MoveMiddleware then
					task.spawn(function()
						local lastPos, lastRot, lastManager = self.Position, self.Rotation, self.HoveringItemManager
						local middlewareReturn = self.MoveMiddleware(self, gridPos, self.PotentialRotation, self.ItemManager, newItemManager)

						if middlewareReturn == false then
							-- Move item
							self.Position = lastPos
							self.Rotation = lastRot

							-- Switch ItemManager if the item was hovering above one
							if newItemManager then
								self:SetItemManager(lastManager)
							end
						else
							self.PositionChanged:Fire(gridPos)
						end
					end)
				end

				-- Move item
				self.Position = gridPos
				self.Rotation = self.PotentialRotation

				-- Switch ItemManager if the item was hovering above one
				if newItemManager then
					self:SetItemManager(self.HoveringItemManager)
				end


Unable to Get Pretrained Model

I ran the following commands in python 3.9.10:

model = RepLKNetB224In1k()  # by default will download imagenet{1k, 21k}-pretrained weights

and got back this error.
  File "/home/sarvision/Desktop/rpknet/tfreplknet/../../openrpk.py", line 1, in <module>
    from tfreplknet import RepLKNetB224In1k  # + 4 other variants and input preprocessing
  File "/home/sarvision/.pyenv/versions/coral/lib/python3.9/site-packages/tfreplknet/__init__.py", line 1, in <module>
    from tfreplknet.model import RepLKNet, RepLKNetB, RepLKNetL, RepLKNetXL
  File "/home/sarvision/.pyenv/versions/coral/lib/python3.9/site-packages/tfreplknet/model.py", line 5, in <module>
    from keras.utils import data_utils, layer_utils
ImportError: cannot import name 'data_utils' from 'keras.utils' (/home/sarvision/.pyenv/versions/coral/lib/python3.9/site-packages/keras/utils/__init__.py)

Any help would be appreciated. Let me know if you need more information.
       _,met$$$$$gg.          sarvision@sarvision
    ,g$$$$$$$$$$$$$$$P.       -------------------
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux 12 (bookworm) aarch64
 ,$$P'              `$$$.     Host: Raspberry Pi 5 Model B Rev 1.0
',$$P       ,ggs.     `$$b:   Kernel: 6.6.28+rpt-rpi-2712
`d$$'     ,$P"'   .    $$$    Uptime: 2 hours, 11 mins
 $$P      d$'     ,    $$P    Packages: 2051 (dpkg)
 $$:      $$.   -    ,d$$'    Shell: bash 5.2.15
 $$;      Y$b._   _,d$P'      Resolution: 2560x1440
 Y$$.    `.`"Y$$$$P"'         DE: LXDE
 `$$b      "-.__              WM: Openbox
  `Y$$                        Theme: PiXflat [GTK3]
   `Y$$.                      Icons: PiXflat [GTK3]
     `$$b.                    Terminal: lxterminal
       `Y$$b.                 Terminal Font: Monospace 10
          `"Y$b._             CPU: (4) @ 2.400GHz
              `"""            Memory: 888MiB / 8052MiB

Change >= to == and install exact versions https://github.com/shkarupa-alex/tfreplknet/blob/master/requirements.txt


improve assertions and remove import being imported more than once

Description

improve assertions
remove import being imported more than once

Just curious, why do we need to change 'assert' to 'require', is it bcoz we want to be uniform and only use require ? If that is the case then there are many places in /pkg folder where assert is being used.

As a "good practice" (at least from what I know), error assertions should use require because it will stop running the following tests (what does not happen with assert). I will update the PR description to be more clear the reason


feat: add more match for bufferline icons

Are these icons specific to mini.icon? Or do they exist in nvim-web-devicons?

nvim-web-devicons does not provide icons for these (maybe some do), but if nvim-web-devicons cannot be queried, it will return nil, which will not have any impact.


[HxSearchBox] Add demo of using without suggestions (e.g. ARES lookup by CompanyNumber)

(BT2 usage)

the dropdown serves as kind-of active tooltip
DefaultContentTemplate contains instructions such as "Submit company number to trigger ARES search"
DataProvider returns no results (hardcoded)
NotFoundTemplate contains additional instructions such as "Hit Enter or click the search icon to initiate  search in ARES"
...

cc @alexax578, @Allegon

@alexax578 @Allegon Please take a look at the demo, if the result makes sense for such scenarios.
https://havit.blazor.eu/components/HxSearchBox#text-query-without-suggestions


fix: delete unused layer z_proj

delete unused layer z_proj.
deprecate old pretrained weights to https://deep-earth.s3.amazonaws.com/experiments/earthformer/pretrained_checkpoints/_deprecated_z_proj_earthformer_earthnet2021.pt
update new pretrained weights using the same url as the previous: https://deep-earth.s3.amazonaws.com/experiments/earthformer/pretrained_checkpoints/earthformer_earthnet2021.pt

The unittest has passed, which means the new nn.Module load the new state_dict correctly with strict=True bu default.
https://github.com/amazon-science/earth-forecasting-transformer/blob/a01ea56de4baddc5b381757e5d789f7f1efdcffe/tests/unittests/test_pretrained_checkpoints.py#L171-L173


OpenSeaDragon not visible on iPad

You'll have to include more info! It's working fine on https://openseadragon.github.io/. Can you share a link to the one that's failing?

I can indeed see it working on that link you provided, I'm wondering what's the difference with my OpenSeaDragon elements then...
I'm facing the same issue with both OpenSeaDragon 3.1 and 4.0 versions.
This is a html sample code that's not working, i simplified it and remove all the unrelated elements to debug the problem.
I have more than 30+ similar html files, and they all work without any issues, but only on ios tablets I encountered the problem.

layout.css:
.rowContent {
flex: 1 1 auto;
}
.container {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
flex-flow: column;
}
.openseadragon-canvas {
cursor: none;
}
#openseadragon1 {
border: none!important;
}


Kitura exhausts physical memory on 2-core Mac Mini under heavy load

While investigating performance of the Blog / JSON benchmarks on a Mac Mini (2-core i7), I discovered that we run out of memory on a long run (leads to OSX memory compression kicking in and gradually killing performance of the system).
Memory allocated seems to rapidly increase while under heavy load, however once load ceases, memory usage drops back to a low level.  The recovery seems to correspond to stopping load, rather than closing connections,  since connections are closed periodically anyway by the keepalive code (100 reqs per connection).
Theory is this may relate to the periodic (1 minute interval) cleanup for idle connections.

I finally spent a little time on this.  It's still happening with Kitura 1.3.0.
When we run on the Mac Mini, All four CPU threads are at 100% while the load is applied.  I applied load over a private network:  wrk -t4 -c20 -d60s http://swiftmacminiGB:8080/blog
I ran through the XCode debugger, and took a look at the object graph (which pauses execution).  The memory usage grew rapidly (702mb process size after around 20,451 requests) at the point I paused it.
There are no apparent leaks of Kitura or Kitura-net objects themselves (ie. no obvious retain cycles), however there seems to be a buildup of these Foundation objects:
NSRegularExpressionCheckingResult (20,455 of these)  - these only seem to be referenced by something labelled @autoreleasepool content
NSConcreteMutableData (21,166 of these) - the ones at the top of the list (I assume these are the youngest) are referenced by the HTTPParser / HTTPServerRequest cycle,  BufferList,  or Socket,  but the vast majority are only referenced by @autoreleasepool content and VM: Dispatch continuations.
_NSInlineData (40,903 of these)  - only seem to be referenced by @autoreleasepool content
It looks like maybe ARC simply isn't cleaning up.
As soon as I resumed process execution, the memory dropped back down to ~40mb.

I'm pretty sure this is simply an issue of CPU starvation.  It looks like ARC may be run on a separate thread on Mac, and when the application monopolizes the CPU, cleanup doesn't happen.
This Mini has 4 CPUs.  Running with 4 concurrent clients produces ~350% CPU load, ie. 3.5 threads, and memory usage is flat.  If I go to 8 concurrent clients,  I see spikes where memory rapidly increases and then drops back to the resting (~40mb) range.  I guess this is on the verge of preventing ARC from running.
Here's the view of CPU consumption from XCode with 3, 4 and then 8 clients:

And the corresponding memory consumption:

I do not believe this is a Kitura problem at all.  It's more to do with the behaviour of ARC on Mac under extreme CPU load.


Tweak unit tests for new LfMergeBridge branching

Now that LfMergeBridge uses ###.### style branch names, the unit tests need to be updated to match those expectations. This commit updates the testlangproj-modified project to include a 7500002.7000072 branch, so that the SynchronizeActionTests suite will pass with the new version of LfMergeBridge.
Unit tests will fail with current LfMergeBridge, but should pass once https://github.com/sillsdev/flexbridge/pull/285 is applied and LfMergeBridge is recompiled.

This change is

Do we still have to support model version 7000072? Are there any released FW versions with that model version? If so we'd have to create a new branch with the previous code and create a package etc. - and make sure that things work. I don't remember, but will ask on slack.
Otherwise this change lgtm.

FLEx 8.3 uses 7000070. FLEX 9.0.7 beta used 7000072, but the 9.0.8 release went to the ###.### numbering scheme, so there are no released versions using 7000072 that I know of. If someone's using FLEx 9.0.7 beta, they probably won't mind upgrading to the final released version, so that's not an issue.


When will master branch add the function "blobDecode()" in MySQLStore.php?

It is very very very terrible that after I found this issue already happened when 2007! No one has fixed it until now!
You always get the "Bad signature" response if you don't make this change.
Please! Adds this function for the users who using MySQL (if this project is not dead).
public function blobDecode($blob)
{
    return pack('H*', substr($blob, 2));
}

This repo is being archived. Closing issue.


Dev readme

Added a first iteration of some high-level pointers to key technical features of TWA to the main readme file.

Some suggestions from Mei Qi and I regarding some more things that could be added. Please disregard if they are outdated and not useful:

JPSAgent:
Data Bridge Agent
Cloning Tool
Email agent
Some reference to Py4JPS (maybe example agents using it?)
Some reference to the IFC agents that Hou Yee worked on (IfcOwlConverterAgent, Ifc2OntoBimAgent, Ifc2TilesetAgent)

Some suggestions from Mei Qi and I regarding some more things that could be added. Please disregard if they are outdated and not useful:

JPSAgent
Data Bridge Agent
Cloning Tool
Email agent
Some reference to Py4JPS (maybe example agents using it?)
Some reference to the IFC agents that Hou Yee worked on (IfcOwlConverterAgent, Ifc2OntoBimAgent, Ifc2TilesetAgent)

Added all of the above.


Authentication provider doesn't always load before extension activation

This should be fixed soon because getSession is going to be an activation event, but there are instances where the provider isn't ready by the time the extension activates.  Using this issue to track this error.

Removed getSession from extension activation, so this shouldn't be an issue for us anymore.


scanner: Read the ScanOss library version from the JAR

This is a preparation for getting rid of the BuildConfig completely.
Signed-off-by: Sebastian Schuberth<EMAIL_ADDRESS>

This is a preparation for getting rid of the BuildConfig completely.

... in the context of the agreed removal of bootstrapping scanners.


no module named script

Hello, I Run the example code and got a "No module name script" error when I click on the "run code button". I download script.py and put it in all python directories in the project and again I get this error. I followed all steps in "Read Me". please help me

make sure you're syncing your gradle, after you put code.py in the python directory. The error means that it's not able to find the code.py file. Also make sure you're doing all the steps without skipping any of the steps.


Claimed by column in CWU grid

We need to remove the "claimed by" column in the CWU "In-Progress" grid

took out

Validated


[BUG] "Hide extension on patch list" hides extension from thcrap_loader

Describe the bug
If the "Hide extension on patch list" option in Settings is ticked, the hidden extension also applies to the arguments passed to thcrap. This result in thcrap giving the error "No run configuration .js file given" and closing before launching the target game.
To Reproduce
Steps to reproduce the behavior:

In settings, enable "Hide extension on patch list"
Choose any non-vanilla patch and any game.
Click "Start Game"
thcrap will display an error dialog.

Expected behavior
thcrap launches the game successfully, as when the "Hide extension on patch list" option is disabled.
Screenshots
n/a (but I posted some on Discord)
Desktop (please complete the following information):

OS: Windows 10 v. 1903
Version 1.1.0

Additional context
This is visible in the log - you'll see a line like Starting thcrap with "en" th17 instead of Starting thcrap with "en.js" th17.
You can manually create the same error dialog from thcrap by opening a shell and running (for example) thcrap_loader.exe "en" th17

Fixed https://github.com/Tudi20/Universal-THCRAP-Launcher/releases/tag/1.1.0a


can't yield from root fiber (FiberError)

What more info do you need if any besides the backtrace to resolve the issue? Thanks!

/usr/local/rvm/gems/ruby-1.9.2-p290@acd/gems/em-resolv-replace-1.1.2/lib/em-resolv-replace.rb:61:in yield': can't yield from root fiber (FiberError)         from /usr/local/rvm/gems/ruby-1.9.2-p290@acd/gems/em-resolv-replace-1.1.2/lib/em-resolv-replace.rb:61:in em_request'
from /usr/local/rvm/gems/ruby-1.9.2-p290@acd/gems/em-resolv-replace-1.1.2/lib/em-resolv-replace.rb:38:in em_getaddresses'         from /usr/local/rvm/gems/ruby-1.9.2-p290@acd/gems/em-resolv-replace-1.1.2/lib/em-resolv-replace.rb:14:in getaddress'
from /usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/resolv.rb:43:in getaddress'         from /usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/resolv-replace.rb:10:in getaddress'
from /usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/resolv-replace.rb:23:in `initialize'

I can't fix that - it's your bug.  You aren't running in an application fiber.


Can't convert map to collection due to Windows encoding

First of all, converting the map file distributing within the github project works fine. However, when I open the map file in Trenchbroom (on Windows 10), save it and re-export the .obj file without any changes - I got an issue with the map conversion proccess:

There is nothing special, it happens due to Windows encoding: the re-exported .obj file has CR/LF instead of just LF. So, I made a change in a regex pattern in the utils.get_lines funciton to :  '[^\r\n]+
function utils.get_lines(content)
...
  for line in content:gmatch '[^\r\n]+' do
    table.insert(lines, line)
  end
...

And now it works with both the CR/LF and LF line endings, on Mac and Windows.
Maybe it can help.

Thanks you! Fixed.


Building a dashbaord tool

I plan on building some interactive data vis for this tutorial a la this issue: https://github.com/hugobowne/COVID-19-EDA-tutorial/issues/6
After this, it would be awesome to build a basic dashboarding tool. I've always wanted to use streamlit: https://www.streamlit.io/
and was really inspired by the work of @mdbecker  and team on CHIME: http://predictivehealthcare.pennmedicine.org/2020/03/14/accouncing-chime.html
wanted to surface this to @paras009, who has been helping on this project.
also perhaps @machow could weigh in, as he has worked with streamlit?
mike, workshop as is currently, fyi https://github.com/hugobowne/COVID-19-EDA-tutorial/blob/master/notebooks/1-COVID-19-EDA-solution.ipynb

@machow we're pair programming on this issue tomorrow :)
i've got some very basic interactive plots (bokeh & altair) in this NB/branch.
environment.yml doesn't have these installs yet but executing
conda install bokeh conda install conda install -c conda-forge altair vega_datasets
after activating the env will do the trick
speak soon

You can always give D-Tale a try for this.  I already have a running example of COVID-19 data
And here's a code snippet of how I pull the data together:
import pandas as pd
    from dtale.cli.loaders.csv_loader import loader_func as load_csv

    data = load_csv(
        path='https://raw.githubusercontent.com/nytimes/covid-19-data/master/us-states.csv',
        parse_dates=['date']
    )
    codes = load_csv(
        path='https://raw.githubusercontent.com/jasonong/List-of-US-States/master/states.csv',
    )
    codes = codes.set_index('State').to_dict()['Abbreviation']
    data['state_code'] = data['state'].map(codes)

Here's a notebook for it too


Update hook.md

Closes: ??
What are the changes and their implications?
Checklist

[ ] Tests added for changes
[ ] Documentation changed (if needed)

Good catch!

@all-contributors add @Kosai106 for docs


fixes #124

fixes #124
it ain't much but it's honest work

Thanks for your submission @kurumbus but I don't think this would fix the issue here (as @a-kriya pointed out).


SharpCompress 0.28.0 throws StackOverflowException when extracting an AES encrypted zip

SharpCompress 0.28.0 throws a StackOverflowException when extracting an AES encrypted zip.
0.27.1 works fine.
Running on .NET 4.8.
Screenshots showing the StackOverflowException and callstack.
In image 5: _index and buffers.Length both = 50.

Reproducer.sln with 2 projects showing plain and AES zip file extraction on 0.28.0 and 0.,27.1.
Reproducer.zip
Callstack:
callstack.txt

Thanks for reporting this.  Fixed here https://github.com/adamhathcock/sharpcompress/commit/020f8628145bc2361bef885ea4650d6636861659
Releasing fix in 0.28.1


Fix too many styling nodes

This might need more work and testing.
Includes ExtractTextPlugin setup  see #142

This looks solid, but I haven't tried it yet. What do you think @nikgraf?

This needs a review and some refinements. @nikgraf try to run this and give me some feedback.

Reviewing now

uhh, what's the easiest way to run a branch from a fork?

@busypeoples I move this to here so I can test with the latest master: https://github.com/pure-ui/styleguide/pull/156


Add transaction links to examples

Coverage remained the same at 100.0% when pulling 7ef07a96a1fbf2492090beda240b3b25c948415d on Trimnosh:transaction_link_in_common into 822482bd83e60fb7d708c81598b2687d0a70a768 on wirecard:master.


Audio API not working with Crosswalk

Audio playback in a simple demo app does not work from  element or with JavaScript. The audio element appears, but doesn't seem to find the mp3 playable (has 0.00 length).
Running the app's code in mobile Chrome works fine.
We've tested on two different Android devices, versions 4.4 and 5.
Packaging with 'cca run android --device'.
Added permissions are RECORD_AUDIO, MODIFY_AUDIO_SETTINGS and CAPTURE_AUDIO_OUTPUT just in case.

This is a sad known issue with android webviews :(.
A good work-around exists though - to use the webaudio api:
http://middleearmedia.com/web-audio-api-audio-buffer/


There is no link to download the repo in the docs.

Path: /documentation/self-host/community-edition/getting-started
There is no link to download the repo in the docs.

Added the link of repository in Install and Build page, masked for "cloned repository" and also, in getting started page.


feat: make stream wait timeout a first class citizen [WIP]

For a server streaming api, there are 4 conceptual timeouts:

overall operation timeout - the maximum amount time that passes from the user invoking a method until that method exits
attempt/rpc timeout - if retries are enabled the maximum amount of time that passes for each attempt in an operation
message wait timeout - the maximum amount of time to wait for the next message from the server
idle timeout - how long to wait before considering the stream orphaned by the user and closing it

Each has a usecase:

operation timeout is useful for users to fulfill their own slo guarantees
attempt timeout are useful when a client developer knows the absolute limit of an rpc but that limit happens to be shorter than the required slo for a customer. For example a point read of a bigtable key shouldnt ever take more than 100ms. If it does, then we can assume something is wrong (GFE died without sending a FIN packet) and abort the request and retry.
message wait timeouts have a similar use as attempt timeouts with tighter guarantees
idle timeouts are useful to reduce buffer bloat on the server

Currently all of them are implemented in gax but the delineation was muddied by me a while back. This PR tries to fix the situation. In the current world, operation timeout is defined by RetrySettings#totalTimeout, idle timeout is defined by ServerStreamingCallSettings#idleTimeout. However RetrySettings#rpcTimeout is mapped to message wait timeout and attempt timeout is only configureable per call using ApiCallContext#withTimeout.
This PR cleans up the situation by mapping RetrySettings#rpcTimeout to attempt timeouts and exposes a new setting for wait timeout on ServerStreamingCallSettings.

I think there is too much risk with remapping rpcTimeout from response timeout to attempt timeout. I'm going to close this for now. If gax ever decided to do a major version bump, we can re-consider this


Deployment details

Description
Add deployment details to pipeline guide: CI/CD, staging test runs, cronicle setups.

Waiting for https://github.com/cmu-delphi/covidcast-indicators/pull/1983 to be approved before merging.

@korlaxxalrok I was thinking about that too, but I believe we already have them up on other public repos. Will double-check and link later today.


Translations update

Translation string freeze, see Release schedule for 22.0.

Thanks
ACK c7f74f1a7fe6afd4851705751f3c0ba278016ac5, I get the same output


cargo-public-api: 0.15.0 -> 0.17.0

Description of changes
Closes #189986

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 189723 run on x86_64-linux 1

1 package built:

cargo-public-api


HEIC support ( FROM HEIC TO JPEG )

Initial HEIC support.
Mostly AI code generated.
This project is really cool and HEIC is something I need. Take a peek if you want this code!

Thanks for the PR! It doesn’t matter if it’s AI-generated or not—what matters is if it works then lgtm haha. I’ll take a look and review it soon. Appreciate it


Marten.PLv8.Patching API not thread safe?

I am working with a client who uses the Marten.PLv8.Patching API in a multi-threaded application and we have seen a lot of unhandled exceptions in the logs which read like this one:
Unhandled exception. System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
   at Marten.PLv8.Transforms.TransformSchema.AddFunction(TransformFunction function)
   at Marten.PLv8.Transforms.TransformSchema.Load(TransformFunction function)
   at Marten.PLv8.Transforms.TransformSchema.loadPatchDoc()
   at Marten.PLv8.Transforms.TransformSchema.schemaObjects()+MoveNext()
   at System.Collections.Generic.LargeArrayBuilder`1.AddRange(IEnumerable`1 items)
   at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 source)
   at Marten.PLv8.Transforms.TransformSchema.get_Objects()
   at Weasel.Core.Migrations.DatabaseBase`1.generateOrUpdateFeature(Type featureType, IFeatureSchema feature, CancellationToken token)
   at Weasel.Core.Migrations.DatabaseBase`1.ensureStorageExists(IList`1 types, Type featureType, CancellationToken token)
   at Weasel.Core.Migrations.DatabaseBase`1.EnsureStorageExists(Type featureType)
   at Marten.Storage.MartenDatabase.Marten.Storage.IMartenDatabase.EnsureStorageExists(Type documentType)
   at Marten.PLv8.Transforms.TransformExtensions.EnsureTransformsExist(IDocumentOperations operations)
   at Marten.PLv8.Patching.PatchingExtensions.patchById[T](IDocumentOperations operations, Object id)
   at Marten.PLv8.Patching.PatchingExtensions.Patch[T](IDocumentOperations operations, Guid id)
   at Program.<<Main>$>g__PatchItemAsync|0_2(IDocumentStore store, Guid itemId) in /Users/dustingorski/Documents/Temp/MartenApp/src/MartenApp/Program.cs:line 56
   at Program.<<Main>$>g__PatchItemAsync|0_2(IDocumentStore store, Guid itemId) in /Users/dustingorski/Documents/Temp/MartenApp/src/MartenApp/Program.cs:line 57
   at Program.<Main>$(String[] args) in /Users/dustingorski/Documents/Temp/MartenApp/src/MartenApp/Program.cs:line 47
   at Program.<Main>(String[] args)

The first thing that stood out to me was that it felt very odd that the Add method of an IDictionary<TKey, TValue> would throw a System.IndexOutOfRangeException:
System.IndexOutOfRangeException: Index was outside the bounds of the array.

After further investigating I learned that this is a very common error when a dictionary gets accessed from multiple threads at the same time. It is not a thread safe data structure which is why .NET has the ConcurrentDictionary inside System.Collections.Concurrent.
I created a small demo application to reproduce this error which can be found here:
https://github.com/dustinmoris/marten-test-app
I believe that the culprit is the TransformSchema class which has a local IDictionary where it stores all transformation functions.
This dictionary is accessed during a patch operation when loadPatchDoc() is being called. I am not 100% sure, but after browsing through the Marten code I believe that the reason why this dictionary is being shared and accessed via multiple threads is because an instance of type TransformSchema is stored inside the StoreOptions object and then loaded via this static extension method, essentially making the TransformSchema a singleton because if I'm not mistaken the StoreOptions is also a singleton as part of the singleton IDocumentStore:
https://github.com/JasperFx/marten/blob/master/src/Marten.PLv8/Transforms/TransformExtensions.cs#L23
However, I am a little bit out of my depth here if I'm honest. I don't have too much experience with Marten and I might be misunderstanding some core concepts here or we might have used the Patching API in a way which it was never intended to be used. Anyhow, I'm happy to help with the investigation or even help with a PR if you think that I've found an issue indeed.
Many thanks for this library and keep up the great work!

Thank you, we'll have a look.
In most of the places, we're using ImHashMap from ImTools, which is faster than ConcurrentDictionary. It might be that we should also consider using it here.

Ditto what @oskardudycz said. Let's switch that to use ImHashMap


[Suggestions] Multi-chain Gateway

Standardize the wallet name (Boba Wallet -> Bobabase Wallet)

If you press one of the below buttons and cancel the Switch Network MetaMask pop-up, the below buttons are seemingly disabled and you need to use the upper logos to switch networks.

Changes pushed!


fix typo unimplementated -> unimplemented

Pretty harmless typo, but it does get exposed in lsp-rust-analyzer-expand-macro.

Thanks !
bors r+


Add check on imaging status of carrier

Read "success" field from batch manifest, must all be True.

Added: https://github.com/KBNLresearch/omSipCreator/commit/67380f5d52ec9c42829f15d90806a226cb965065


x/website: write a guide for fuzzing

We expect to have many users that are encountering fuzzing for the first time. We should write a thorough guide on how to use fuzzing effectively with that audience in mind.
An introductory guide should cover, at minimum:

What fuzzing is.
What fuzzing is good for (and not good for).
How to write a fuzz target.
How to run fuzzing with go test -fuzz=target, with information about relevant flags.
What to do with a crasher if one is found
Strategies for helping the fuzzer if it isn't finding any crashers after running for a while
Current limitations of the native fuzzing support (e.g. it stops running after the first crash is found, it isn't currently supported to easily integrate with CI)

Some advanced topics that could be covered in other guides:

Choosing a good seed corpus.
Measuring coverage.
Differential fuzzing.
Fuzzing continuously.

We should reconsider what documentation should be part of the go command and where that should be located. Currently, I'm thinking:

The testing package documentation should have a section on writing a fuzz target. It should explain the signature for the fuzz target (must take a *testing.F), what it must do (call F.Add then F.Fuzz), and what testing will do with it when fuzzing is enabled and disabled. This is meant to be reference documentation.
go help test and go help testflag should explain all flags, including those related to fuzzing. They should be kept brief, pointing to other sources for more explanation.
One or more guides on the website should tie this all together. Most users should read those first.
We should delete go help fuzz. It will be redundant with the guides.

Checking in on this issue as it's labeled a release blocker for Go 1.18. Is there any update?

Not yet. There are a lot of fuzzing issues. We'll get to them as soon as we can.
This one can be done during the freeze.

@katiehockman Checking in on this as a release-blocking issue. Is there more left to do here?

There is more to do on it, and it's in progress. I can remove the release-blocker label though, as we'll keep working on it and get as much done before the release as we can.

@katiehockman Is there more to do here for 1.18?  Thanks.

Nope I think we're in a pretty good spot at this point, and new things can be added at any time, so it isn't really tied to a release anymore. I'll go ahead and just close this.

Hi @katiehockman , I see this is closed, but not sure this warrants opening a new issue.
The "go doc testing" and this page https://pkg.go.dev/testing@master#hdr-Fuzzing still are pointing to this issue. I am see its @master, but unclear if that is 1.18 or not.

TODO(#48255): write and link to documentation that will be helpful to users
who are unfamiliar with fuzzing.

I am using "go version go1.18beta2 darwin/amd64"
I actually found this ticket because I was hoping to find if there is some 'eta' when fuzzing stops running. I am running the FuzzHex example and still running after 22 minutes on 12 cores, 64 GB.  I assume we want to test everything, but unclear am I suppose to stop it?

Feel free to file a separate issue with those documentation suggestions, just in case I can't get to it soon. Thanks for pointing that out.


Auto compaction can get stuck

Affected Version
0.13.x, 0.14.x, 0.15.x
Description
The auto compaction can pick up the same interval over again if there are more than 1 segment in that interval after compaction. This was introduced in https://github.com/apache/incubator-druid/pull/6407 and is because the auto compaction is not considering targetCompactionSizeBytes or maxRowsPerSegment while searching for segments to compact.

I think this should be a release blocker since it potentially breaks the auto compaction.

removing from 0.16 milestone since partial fix #8495 was merged and backported

Fixed in #8573.


Make 2.10.6 the default scalaVersion

By changing this and removing the switch in .sbtrc hopefully the local development convenience is maintained and the community build issue in scala/community-builds#202 is fixed.
/cc @InTheNow who initially setup .sbtrc
/cc @SethTisue

That makes lots of sense ... thanks!

git log says that I'm to blame rather than @InTheNow ...

git log doesn't follow to the true source of .sbtrc (which I think is from @InTheNow in cats).

I agree with @milessabin on this one as .sbtrc is not in cats ;)
What is in cats is a template and instructions in the README to

And if you want the default project to be catsJVM, just copy the file scripts/sbtrc-JVM to .sbtrc in the root directory.

NB.. copy and not check in. In cats, .sbtrc is also in .gitignore
@milessabin Sorry if this is "cheeky" language, but it's a once-in-a-life opportunity where I'm right and... ;)

Ok, then I think it went through milessabin/kittens, where it's committed as well. ;-)

+1 to this change regardless of whether it fixes the community build issue

@InTheNow yes, you're right ... it shouldn't have been checked in. Mea cupla. Mea maxima cupla ...


A first cut of an interop client.

This moves the interop server to server.rs and adds build targets for client and server in the Cargo manifest.
The server_streaming test has an odd failure that could be due to a misunderstanding of how the API should work.
I'm not sure how to implement ping_pong, it needs to interleave writes into the stream with reads from the stream. This test is described in: https://github.com/grpc/grpc/blob/master/doc/interop-test-descriptions.md#ping_pong

If I understand the problem correctly ping-pong server can be implemented like this:
fn FullDuplexCall(req: ...) -> HttpStreamSend {
    req.map(|message| transform(message))
}

(Although I'm not sure API is convenient for such operations; probably callback should have additional &tokio_core::reactor::Handle parameters, so callback could spawn a task in the same event loop).

Thanks!


AWS Multiple cluster install fails possibly due to bastion hostname?

Hi Folks,
I attempted to execute a multiple cluster Openshift install with the same region on AWS.
The first cluster install works fine, however the second cluster install fails.
The Cloudformation functions as designed and route53 DNS entries are configured however the second part of install and configuration (Openshift) fails when it is necessary to ssh via the bastion host.
The reason for this is that the install employs the short ssh proxy name bastion no matter what the stack name identity used. This name (bastion) matches the host entry in .ssh/config which itself redirect to the first clusters bastion host which then attempts to install on hosts that are not available in its VPC so it fails.
So the work around is to edit the .ssh/config and point Host bastion to the second bastion server. However this is not ideal.
Should we not have an option to provide bastion name or even append the unique stack name so bastion becomes bastion- this way we can employ multiple Host entries in .ssh/config?
(ssh ec2-user@bastion we could use ssh ec2-user@bastion-)
Could the other option be to not use the abbreviated name at all but rather the bastion's fully qualified name in the Ansible install scripts?
Having said this please feel free to correct me if I am doing this wrong or there is a more favourable option available.
Example of .ssh/config employing unique bastions:
`Host bastion
Hostname bastion.domain.net
user ec2-user
StrictHostKeyChecking no
ProxyCommand none
CheckHostIP no
ForwardAgent yes
IdentityFile /home/ec2-user/.ssh/id_rsa
Host *.domain.net
ProxyCommand ssh ec2-user@bastion -W %h:%p
user ec2-user
IdentityFile /home/ec2-user/.ssh/id_rsa
Host bastion-dev
Hostname bastion.dev.domain.net
user ec2-user
StrictHostKeyChecking no
ProxyCommand none
CheckHostIP no
ForwardAgent yes
IdentityFile /home/ec2-user/.ssh/id_rsa
Host *.dev.domain.net
ProxyCommand ssh ec2-user@bastion-dev -W %h:%p
user ec2-user
IdentityFile /home/ec2-user/.ssh/id_rsa
`
Thanks,
SRG

Did you use greenfield or brownfield?

Hey Ryan,
Both were greenfield, both had unique stack-name and public-hosted-zone.

It's an interesting situation. The way we currently handle the bastion host its access is tied directly to security groups. I wonder if the brownfield deployment may be more fitting but it would depend if you would want a vpc per openshift env or not.

@cooktheryan thanks for update Ryan.
FYI, the documentation appears to state that multiple greenfield and brownfield implementations can coexist as long as stack name and public hosted name are unique. the Cloudformation component works as expected after adding a new sub domain to route53 but the Ansible Openshift install fails because it appears that the name 'bastion' is hard-coded this resolves to the previously configured .ssh/config Host directive that points to the first cluster and as such causes Ansible SSH to fail forwarding requests to the correct cluster.
What would be nice would be to have multiple bastion .ssh/config Host directive so that one can employ a single build server.
The alternative's:

Create a build server for each OSE cluster
Create a unique user for each OSE cluster on the build server with unique and specific bastion host directive within .ssh/config
Edit .ssh/config changing Hostname directive to point to working OSE cluster bastion host. Not ideal for enterprise use, could cause confusion with risk of mistakes or unintended results.
Use the original / first bastion server employing --byo-bastion and --bastion-sg to ose-on-aws.py, this however could be prohibitive if OSE cluster isolation is a requirement for the design along with the possibility of complexity when employing multi AWS zone installs.
Add functionality to OSE Ansible to allow one to either supply a unique bastion name or to auto configure the bastion name to be appended with the unique stack name, for example, bastion-prod, bastion-dev and so on. This I think would be the preferred option, wish my python coding skill were better, I come from a unix and perl background ;-)

Documentation:
https://github.com/openshift/openshift-ansible-contrib/blob/master/reference-architecture/aws-ansible/README.md
Multiple OpenShift deployments
The same greenfield and brownfield deployment steps can be used to launch another instance of the reference architecture environment. When launching a new environment ensure that the variable stack-name is changed. If the variable is not changed the currently deployed environment may be changed.
OpenShift Container Platform
./ose-on-aws.py --rhsm-user=rh-user --public-hosted-zone=rcook-aws.sysdeseng.com --keypair=OSE-key
--rhsm-pool="Red Hat OpenShift Container Platform, Standard, 2-Core" --keypair=OSE-key --rhsm-password=password
--stack-name=prod --github-client-secret=47a0c41f0295b451834675ed78aecfb7876905f9 --github-organization=openshift
--github-organization=RHSyseng --github-client-id=3a30415d84720ad14abc
OpenShift Origin
./ose-on-aws.py --keypair=OSE-key --public-hosted-zone=sysdeseng.com --deployment-type=origin --ami=ami-6d1c2007
--stack-name=prod --github-client-secret=47a0c41f0295b451834675ed78aecfb7876905f9 --github-organization=openshift
--github-organization=RHSyseng --github-client-id=3a30415d84720ad14abc
Kind Regards,
SRG

OK I may have resolved the issues with multiple bastion hosts but along the way have noticed a potential flaw or issue with Openshift Ansible and Route53.
Firstly to enable the name bastion- I amended the following in ../aws-ansible/playbooks/roles/instance-groups/tasks/main.yml
From:
groups: bastion
To:
groups: "bastion-{{ stack_name }}
This allowed me to set multiple Host directives in .ssh/config which appear to resolve to correct bastion hosts. However a potential more alarming issue was experienced with regards to intermittent DNS resolution unrelated to the above changes.
When we initialize a greenfield install there is a requirement to have an AWS hosted zone setup within Route53.
So lets say we have executed a successful initial install with a stack name of prod which employs the Route53 Hosted Zone of domain.com.
domain.com is externally managed (GoDaddy) so we take the four DNS nameservers provided by Route53 and add them to Godaddy.
After some time everything appears to work.
Now we wish to add another OSE cluster lets call this dev and we wish to use a subdomain of domain.com called dev.domain.com. We create a new Route53 Hosted Zone called dev.domain.com note a hosted zone is a prereq of installing Openshift on AWS as it will complain that one does not exist.
The hosted domain matches --public-hosted-zone provided to ose-on-aws.py.
Here's were this problem starts to show. AWS Route53 creates another four NS servers so we take these newly created NS servers and add them to GoDaddy we know have a total of eight NS servers listed at GoDaddy. Four for the prod stack and four for the dev stack.
Problem experienced is that the dev.domain.com intermittently resolves while other times fails.
I believe this is due to non consistent and mixed AWS NS servers provided to GoDaddy, ie four resolve domain.com while four resolve dev.domain.net and that maybe domain.com NS servers take precedent and return *.dev.domain.com not found.
Idea for fix:
When configuring Route53, OSE Ansible should use route of domain (domain.com) for Route53 Hosted Zone.
So we would have something like the following in Route53:
domain.com : type NS : nameservers x 4
domian.com : type SOA : ns .... timings
bastion.domain.com : type A : IP
bastion.dev.domain.com : type A : IP
ose-master01.domain.com : type A : IP
ose-master01.dev.domain.com : type A : IP
Then we just need to add four NS servers per domain which will all be consistent in this case to GoDaddy.
Please feel free to correct me if I am going about all this the wrong way or have missed a trick.
Hope this all makes sense as was tight for time when writing.
Cheers,
SRG

Let me review this in the morning. Hopefully we can work out a good solution based on your info above.

I have a project where we spawn OpenShift clusters "on demand", and we use a single zone just as you explained. Works well for us.

Sorry for the delay in replying, thanks for the info.
So I have been working on this and this is what I have at this point in time.
I am able to create multiple stacks in the same region that uses root domain (domain.com) under Route53.
So entries for dev.domain.com, prod.domain.com, xyz.domain.com appear under the same route53 hosted zone of domain.com.
@cooktheryan I forked and made changes to your branch after you applied the atomic host fix we discussed in #289
Now I confess I am not entirely sure of what ramifications these changes may have on other functionality such as BYO bastion etc but it seems to have done the trick for our purposes.
Part of this change was to add --route53-hosted-rootzone option to ose-on-aws.py if not supplied route53-hosted-rootzone takes on --public-hosted-zone setting.
Command to set up prod stack
 ./ose-on-aws.py --stack-name=prod --rhsm-user=user* --rhsm-password=**** --public-hosted-zone=domain.net --keypair=OSE-key --github-client-secret=dd****55  --github-organization=openshift --github-organization=my-openshift --github-client-id=5****6 --rhsm-pool="60 Day Supported OpenShift Enterprise, 2 Cores Evaluation" --ami=ami-dbb45dcd --containerized=true --route53-hosted-rootzone=domain.net
Command to set up dev stack:
./ose-on-aws.py --stack-name=dev --rhsm-user=user* --rhsm-password=**** --public-hosted-zone=dev.domain.net --keypair=OSE-key --github-client-secret=dd****42  --github-organization=openshift --github-organization=my-openshift --github-client-id=7****1 --rhsm-pool="60 Day Supported OpenShift Enterprise, 2 Cores Evaluation" --ami=ami-dbb45dcd --containerized=true --route53-hosted-rootzone=domain.net
Added the stack-name to bastion group groups: "bastion.{{ stack_name }}" to allow connectivity employing multiple short Host names in .ssh/config
.ssh/config look like this now:
Host bastion-dev
  Hostname bastion.dev.domain.net
  user ec2-user
  StrictHostKeyChecking no
  ProxyCommand none
  CheckHostIP no
  ForwardAgent yes
  IdentityFile /home/ec2-user/.ssh/id_rsa
Host *.dev.wookungfu.net
  ProxyCommand ssh ec2-user@bastion-dev -W %h:%p
  user ec2-user
  IdentityFile /home/ec2-user/.ssh/id_rsa

Host bastion-prod
  Hostname bastion.domain.net
  user ec2-user
  StrictHostKeyChecking no
  ProxyCommand none
  CheckHostIP no
  ForwardAgent yes
  IdentityFile /home/ec2-user/.ssh/id_rsa
Host *.wookungfu.net
  ProxyCommand ssh ec2-user@bastion-prod -W %h:%p
  user ec2-user
  IdentityFile /home/ec2-user/.ssh/id_rsa

Route53 records for domain.net:
$ aws route53 list-resource-record-sets --hosted-zone-id ****FS | grep RESOURCERECORDSETS

RESOURCERECORDSETS    domain.net.    172800    NS
RESOURCERECORDSETS    domain.net.    900    SOA
RESOURCERECORDSETS    \052.apps.domain.net.        A
RESOURCERECORDSETS    bastion.domain.net.    300    A
RESOURCERECORDSETS    \052.apps.dev.domain.net.        A
RESOURCERECORDSETS    bastion.dev.domain.net.    300    A
RESOURCERECORDSETS    internal-openshift-master.dev.domain.net.        A
RESOURCERECORDSETS    openshift-master.dev.domain.net.                A
RESOURCERECORDSETS    openshift-master.domain.net.        A
RESOURCERECORDSETS    ose-app-node01.domain.net.    300    A
RESOURCERECORDSETS    ose-app-node02.domain.net.    300    A
RESOURCERECORDSETS    ose-infra-node01.domain.net.    300    A
RESOURCERECORDSETS    ose-infra-node02.domain.net.    300    A
RESOURCERECORDSETS    ose-infra-node03.domain.net.    300    A
RESOURCERECORDSETS    ose-master01.domain.net.    300    A
RESOURCERECORDSETS    ose-master02.domain.net.    300    A
RESOURCERECORDSETS    ose-master03.domain.net.    300    As

Please feel free to advise and comment:
https://github.com/sensiblemedia/openshift-ansible-contrib

Does prod and dev deploy to the same vpc?
Just trying to think about all of the cases in which a bastion may want to be used but not being in the same VPC. I think if we ensure that the bastion is in the same VPC we should be good to go.

@cooktheryan This scenario is to satisfy the requirement to manage isolated and sandbox clusters.
In this case prod and dev are in their own unique vpc's
From a security point of view there may be the requirement to have isolated bastion hosts that are associated to their respective isolated clusters and vpc's so that in the event that a single bastion server becomes compromised the risk is limited to its associated cluster only.
Note: The current code changes introduced in my previous post currently breaks add_node.py since I have not introduced changes to this component at this time.


Upgrade version of grpc to support mac M1 arm64

I set dev env at my m1 mac.
When I run test and met error of https://github.com/protocolbuffers/protobuf/issues/10417
It caused by m1 cpu architecture.
So I updated grpc and protobuf.
Error message of grpc has been changed So I update testcase to support it.

Thank you for doing this. I just approved the GitHub actions...

I will check the errors and pull the request again.

Hey @resoliwan! I looked into this today, upgraded to the latest versions, and made some other changes too.
I just released version 0.5: https://pypi.org/project/esdbclient/
Let me know if this works for you on your M1?


Enqueue specific songs

The user should be able to tell AskSonic to queue the song Title by Artist and have AskSonic add that song to top of the current queue

I would like to tackle this after the play specific song function. From looking at the code, it looks like the backend code to facilitate a queuing request is there. Am I correct?


order of single + double dash options to podman run can cause errors

/kind bug
Using RHCOS 44.81.202002131031-0 with podman-1.6.4-2.module+el8.1.1+5363+bf8ff1af.x86_64
Tried to run an existing container image with a mix of single dash and double dash options (notably --systemd) and the run command tries to pull the wrong image:
$ sudo podman run -d --systemd -p 80:80 docker-registry.upshift.redhat.com/miabbott/httpd:ubi-init
Trying to pull registry.access.redhat.com/80:80...
  name unknown: Repo not found
Trying to pull registry.fedoraproject.org/80:80...
  manifest unknown: manifest unknown
Trying to pull registry.centos.org/80:80...
  manifest unknown: manifest unknown
Trying to pull docker.io/library/80:80...
  denied: requested access to the resource is denied
Error: unable to pull 80:80: 4 errors occurred:
        * Error initializing source docker://registry.access.redhat.com/80:80: Error reading manifest 80 in registry.access.redhat.com/80: name unknown: Repo not found
        * Error initializing source docker://registry.fedoraproject.org/80:80: Error reading manifest 80 in registry.fedoraproject.org/80: manifest unknown: manifest unknown
        * Error initializing source docker://registry.centos.org/80:80: Error reading manifest 80 in registry.centos.org/80: manifest unknown: manifest unknown
        * Error initializing source docker://80:80: Error reading manifest 80 in docker.io/library/80: errors:
denied: requested access to the resource is denied
unauthorized: authentication required

Or it has some sort of parsing error when options are shuffled around:
$ sudo podman run --systemd -d -p 80:80 docker-registry.upshift.redhat.com/miabbott/httpd:ubi-init
Error: cannot parse bool -d: strconv.ParseBool: parsing "-d": invalid syntax

Or it can't find the image at all?
$ sudo podman run -d -p 80:80 --systemd docker-registry.upshift.redhat.com/miabbott/httpd:ubi-init
Error: image name or ID is required

OK, looking at the actual help it shows that --systemd expects a string value...so maybe we can improve the usage here so that invalid values to --systemd are reported as such?
$ sudo podman run -d -p 80:80 --systemd true docker-registry.upshift.redhat.com/miabbott/httpd:ubi-init
e829cf747f99c13054519cf82456ebe9351eb37bf0a1d5daa0e5b11a8d906107

I think I might know this one... --systemd changed from a boolean to requiring an argument sometime recently, and it could well be consuming -p as its argument.
Try --systemd=true

@mheon Yeah, I blindly went using --systemd without RTFM first.
In my original comment, you can see that passing a value to --systemd got me going.  But I still think some input validation would be appropriate here.

We do basically no parsing before pulling the image, which is arguably a mistake, but very difficult to change in the current code. Fortunately, we're already doing some reworks on create, so we might be able to fix this eventually.

@mheon Any update on this issue?

@ParkerVR --systemd option should fail unless the value of "true", "false", "always" is passed in.

Won't actually solve the original issue. The core of this was our change of --systemd from not taking an argument, to taking an argument.

Looks like it was fixed by:
commit c8f57b71a4255938efa23fec37c59181c1c657e4
Author: Daniel J Walsh<EMAIL_ADDRESS>Date:   Fri Jun 5 10:44:16 2020 -0400
Fix handling of systemd.

Systemd enablement has to happen on the server side, since we need
check if the image is running systemd.

Also need to make sure user setting the StopSignal is not overriden on the
server side. But if not set and using systemd, we set it correctly.

Signed-off-by: Daniel J Walsh<EMAIL_ADDRESS>
$ ./bin/podman run --systemd -d -p 80:80 myhelloworld-http
Error: invalid config provided: --systemd values must be one of "true, false, always": invalid configuration
@rhatdan any additional work here or should we close?

This should be safe to close
On Sun, Jun 21, 2020, 07:06 Douglas Landgraf<EMAIL_ADDRESS>wrote:

Looks like it was fixed by:
commit c8f57b7
https://github.com/containers/libpod/commit/c8f57b71a4255938efa23fec37c59181c1c657e4
Author: Daniel J Walsh<EMAIL_ADDRESS>Date: Fri Jun 5 10:44:16 2020 -0400
Fix handling of systemd.
Systemd enablement has to happen on the server side, since we need
check if the image is running systemd.
Also need to make sure user setting the StopSignal is not overriden on the
server side. But if not set and using systemd, we set it correctly.
Signed-off-by: Daniel J Walsh<EMAIL_ADDRESS>$ ./bin/podman run --systemd -d -p 80:80 myhelloworld-http
Error: invalid config provided: --systemd values must be one of "true,
false, always": invalid configuration
@rhatdan https://github.com/rhatdan any additional work here or should
we close?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/containers/libpod/issues/5232#issuecomment-647113143,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB3AOCH2WXKAIKNBBOU22NDRXXSSTANCNFSM4KWS6EJQ
.


[MRG] Remove tests on branin and hart6

This PR removes tests on branin and hart6, that should rather be considered as benchmarks.
Fix for #242.

Goes down from 27 to 13 minutes.

Current coverage is 85.39% (diff: 100%)

Merging #276 into master will not change coverage

@@             master       #276   diff @@
==========================================
  Files            25         25
  Lines          1363       1363
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           1164       1164
  Misses          199        199
  Partials          0          0

Powered by Codecov. Last update 9cb4828...48b0f5d

🚄


[ECP-9094] Easy way to change API settings depending on order data, e.g. depending on the products

Hi,
some shops might need to differentiate which credentials to use, depending on the products in the cart, e.g. some type of products are always handled by one of the companies, all others go to the normal one.
This is currently a bit tricky to implement, though not impossible, using Shopware configuration loaded events and replacing some services of the plugin.
It would be nice if this could be done easier, e.g. by decorating the configurationservice, however, it would need an interface then and the orderid or orderentity as parameter for this to work. or some events.
However, I know this is probably a low priority or might not be done at all as it is a bit of an edge case. on the other hand adding some corresponding event listerners or making the configuration service decoratable accordingly, should not be that much work either.

Hello @AndreasA,
Thanks for creating this issue. I am trying to realise the use case. As I understand, some products might use different Adyen credentials to complete the payment. Could you please give a use case of this enhancement? So that, I can discuss the implementation with our product manager.
Best Regards,
Can

@candemiralp Hi it is a bit of an edge-case which is why I think it would be enough to have some corresponding event listeners.
It is the following scenario:

Company has multiple subsidiaries
Each subsidiaries has their own webshop
In addition to products that are delivered there are digital software products
those products are only handled by some subsidiaries but all allow those products to be ordered.
Therefore, it is disallowed using a cart validator to combine those products.
all software products need to be paid to the corresponding subsidiary, so if one does not handle them directly, they defer to another subsidiary..

Hi @AndreasA,
I have created an internal ticket for this enhancement. Thank you for your contribution.
Best Regards,
Can

Hi @AndreasA @candemiralp ,
We wanted to check in regarding the issue you previously reported. Has it been resolved, or do you still require our assistance?
Please let us know if there is anything further we can help with or if we can consider the matter closed.
Kind regards

As far as I can tell nothing has changed regarding this?

Hey @AndreasA
Thank you for your suggestion. We appreciate your feedback and understand the value this feature could add.
Currently, this functionality isn’t on our development roadmap and it depends on Adyen’s feature planning and prioritization. However, we’ll certainly take it into consideration for future updates.
Best regards.


AirTap and Manipulations and Shaking

Hello
I want to use this Toolkit for my Unity project, but just today i upgraded my stuff to version 5.5. I see some changes in the code collide with my previous experience.

How do i do AirTap? Before i could add listener for GestureRecognizer and just add listener to it. Right now i can only attach some triggers only on GameObject. As a result, i cannot tap "nothing".
How do i make "Manipulations"? For example: In Kinect i could zoom in and out using both hands (not tapping, just recognizing pose and move with hands). Is it possible to do something similar with current Toolkit?
New Question: What about huge FPS drop when we are looking from very close distance (20cm or less). I receive similar results as here (https://forums.hololens.com/discussion/3045/drop-framerate-ridiculously-unity). I was able to improve shaking a little using Mobile textures (Except Standard), but its still not fix shaking problem.

Thanks for answer

A. 1 & 2: Please be sure to review the Input Documentation and take a look at some of the test scenes like InputTapTest or InputManagerTest.
Essentially any Monobehaviour you would like to place on your object requires that it derives from one of the input interfaces.
A. 3: The issue you're talking about comes from the fill rate.
A great thread discussing this topic in the forum:

On the HoloLens, fillrate represents the greatest danger to performance. Since the HoloLens has to render everything twice (once per lens), it's a good practice to keep the number of holograms in view to a minimum. Make sure that you're not trying to render every single pixel on the screen. If the user gets too close to a hologram (where it starts to fill the screen), then fade it out before this can happen. Post-camera effects (a lot of the 'standard assets' in Unity) will also tank the system, so avoid this.

Remember we're developing for a mobile device.

Hi
Thanks for answers.
About 1):
I've read the documentation a lot of time since it changed, and the only thing allowing me to AirTap is putting some invisible object next to me (far away) and "tapping" it, or add some method inside library class InputManager (not remembar exact name, but it was something similar) and  listen when application recognize tapping.
About 2):
I didn't get how IManipulationHandler works. Now i know :)
About 3):
I understand the case, and its working fine for mobile devices (as normal android apk). I made a lot of tests with the same 3D model and i receive results as below:

Shaders have huge impact on framerate. Using stardard shaders are not good as well, it must be mobile shader or your own. The simpliest, the best.
Number of object / vertexes don't have as great influnce as you could said. When I was testing it with some "bush" model i was looking closer to the object (less vertexes in view) and i had huge shaking. Everything worked fine in 60fps, when i was watching the same model from bigger distance.
As a bonus i realized that shaking was happening mainly when my face were very close to point (0,0,0) of the object (bush was scaled to be 1.5m side cube, so it wasn't small object).
I've tested shaking with simple Scene where i was shooting spheres. Spheres weren't scaled down. I was able to fill my room with them, and sometimes when i got closer to them (10-15cm or less) they were started to shake.

I know that documentation says we should stay in distance 1m or more of the object, but its not always what we need in reality. Whats best practise to avoid shaking?
Is it possible that shaking happens because of Post-camera effects?

All you need to get a tapable object is a collider and a custom MonoBehavior attached to it that implements IInputClickHandler, IFocusable, and IInputHandler.
Awesome! What you've learned here should also apply to above.
Really the only thing to do to avoid judder and shaking is to keep the frame rate at 60 fps and the graphics instructions low.

About 1)
Looks like you misundertand what i wanted to achieve. The thing is i want to tap an AIR. Air has no collider, no MonoBehaviour, no nothing. I add cursor, managers and camera and i want to recognize user tapping.
About 3)
In my opinion main problem is focused on number of cameras. Any other device i know have the same number of cameras and views (for example Vuforia - has camera for left and right eye and its working fine to devices with AR technology). Holotoolkit override any other cameras in scene and provide only 1 camera (when its provided onto 2 views - left and right eye). When we are to close to object, 1 camera is not able to provide correct data for 2 views and thats why its shaking.
I hope someone understant what i mean :)

1.) My apologies, thanks for the clarification. In that case I think you'll just need create a class that subscribes to the TappedEvent from the GestureRecognizer. Take a look at GestureInput.cs for an example.

Yes. You are right.
I was searching today for it and i found it in some hololens tutorial (Fitbox) and there was good example how to use it.
Thanks for all help.


Invalid VC JSON-LD documents in sample

At https://github.com/mattrglobal/jsonld-signatures-bbs/blob/master/sample/src/data/inputDocument.json used in a sample script, there is one unreachable context https://w3c-ccg.github.io/ldp-bbs2020/context/v1. This results in errors in different JSON-LD operations.
For example, if one tries to get Compacted form of the document using https://json-ld.org/playground/, he will get processing error like
 jsonld.InvalidUrl: Dereferencing a URL did not result in a valid JSON-LD object. Possible causes are an inaccessible URL perhaps due to a same-origin policy (ensure the server uses CORS if you are using client-side JavaScript), too many redirects, a non-JSON response, or more than one HTTP Link Header was provided for a remote context.

The same observes when using Golang library (https://github.com/piprate/json-gold):
failed to normalize JSON-LD document: loading remote context failed: Dereferencing a URL did not result in a valid JSON-LD context: https://w3c-ccg.github.io/ldp-bbs2020/context/v1

https://w3c-ccg.github.io/ldp-bbs2020/contexts/v0.1.jsonld is reachable for now...

OK, you are caching this document in the sample. No issue then.


feat(packs) Added APM foundation to C pack

Summary
Added APM foundation for C pack (dashboards and alerts).
Pre merge checklist

[x] Did you check you NRQL syntax? - Does it work?
[x] Did you check your dashboard image quality? -  Do they look good?
[x] Did you check that your alerts actually work?
[x] Did you include an InstallPlan and Documentation reference?
[x] Did you check your descriptive content for voice, tone, spelling and grammar errors?
[x] Did you attach images of your dashboards to the PR so we can see them working?

Just wondering, is this the only pack involves C?


TootClient get/delete filters and a pixelfed fix for updateCredentials

Updated Filter from v1 to v2, added TootClient.getFilter, getFilters, and deleteFilter.
Also added a pixelfed case for updateCredentials, they use POST instead of PATCH.

Nice!
The v2 endpoint is not available for Pleroma and Akkoma. Can we introduce something like V2.Filters feature similar to lists where the supported flavours are listed?

Nice! The v2 endpoint is not available for Pleroma and Akkoma. Can we introduce something like V2.Filters feature similar to lists where the supported flavours are listed? We will need v1 support for other flavours and older versions of Mastodon.

I added .filtersV2 (V2.Filters doesn't compile) only available on Mastodon

Nice! Let's see how this works. I like that we're trying out a way to version the flavour guards.

Could do the same with search. I didn't add a feature for that because I'm not sure what to do with the conditionals around the current requireFlavour.


java: Raise JattachSocketMissing if the attach socket is missing (HS only for now)

Based on https://github.com/Granulate/gprofiler/pull/352
After removing /tmp/.java_pidX:
[2022-04-29 18:36:37,267] DEBUG: gprofiler.utils: (['/app/gprofiler/resources/java/jattach', '691779', 'load', '/tmp/gprofiler_tmp/async-profiler-v2.7g2/glibc/libasyncProfiler.so', 'true', 'start,event=cpu,file=/tmp/gprofiler_tmp/tmpk8bcej93/async-profiler-691779.output,collapsed,ann,sig,interval=10101010,log=/tmp/gprofiler_tmp/tmpk8bcej93/async-profiler-691779.log,fdtransfer,safemode=64,timeout=35']) stderr: 'Could not start attach mechanism: No such file or directory\n'
[2022-04-29 18:36:37,267] ERROR: gprofiler.profilers.profiler_base: JavaProfiler: failed to profile process 691779 (java)
Traceback (most recent call last):
  File "/app/gprofiler/profilers/profiler_base.py", line 139, in snapshot
    result = future.result()
  File "/usr/lib/python3.8/concurrent/futures/_base.py", line 437, in result
    return self.__get_result()
  File "/usr/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result
    raise self._exception
  File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/app/gprofiler/profilers/java.py", line 854, in _profile_process
    return ProfileData(self._profile_process_stackcollapse(process), appid, app_metadata)
  File "/app/gprofiler/profilers/java.py", line 848, in _profile_process_stackcollapse
    return self._profile_ap_process(ap_proc, comm)
  File "/app/gprofiler/profilers/java.py", line 857, in _profile_ap_process
    started = ap_proc.start_async_profiler(self._interval, ap_timeout=self._ap_timeout)
  File "/app/gprofiler/profilers/java.py", line 479, in start_async_profiler
    self._run_async_profiler(start_cmd)
  File "/app/gprofiler/profilers/java.py", line 454, in _run_async_profiler
    raise JattachSocketMissing(*args) from None
gprofiler.profilers.java.JattachSocketMissing: Command '['/app/gprofiler/resources/java/jattach', '691779', 'load', '/tmp/gprofiler_tmp/async-profiler-v2.7g2/glibc/libasyncProfiler.so', 'true', 'start,event=cpu,file=/tmp/gprofiler_tmp/tmpk8bcej93/async-profiler-691779.output,collapsed,ann,sig,interval=10101010,log=/tmp/gprofiler_tmp/tmpk8bcej93/async-profiler-691779.log,fdtransfer,safemode=64,timeout=35']' returned non-zero exit status 1.
stdout: b''
stderr: b'Could not start attach mechanism: No such file or directory\n'
Java PID: 691779
async-profiler DSO was loaded
async-profiler log:
(empty)
JVM attach socket is missing and jattach could not create it. It has most likely been removed; the process has to be restarted for a new socket to be created.

Rebased, no diff

$ git range-diff 9585329^..7a6fd66 master..jattach-socket-missing | cat
1:  9585329 = 1:  f237d66 java: Raise JattachSocketMissing if the attach socket is missing (HS only for now)
2:  fda5b0d = 2:  a7821fd Add comment
3:  7a6fd66 = 3:  b82a69c Rename exception and add a test


Is there a way to specify output filenames of multiple videos downloaded from a playlist?

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2023.06.22 (update instructions) or later (specify commit)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
Unrelated to the output template variables. Specifically, when download a tweet containing multiple videos, by default the filenames are title + id at the end. I would like to rename them with SomeCustomNameA, SomeCustomNameB, etc. (to match with Twitter's medium.media_key).
Is there a way to rename the videos based on a list of custom filenames, other than specify the media id to download each video one by one?
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

Is there a way to rename the videos based on a list of custom filenames, other than specify the media id to download each video one by one?

A list of fixed filenames? Not possible without an external script.

(to match with Twitter's medium.media_key)

Twitter's media_key value is almost always the video's id prefixed with 7_
So couldn't you could just do -o "7_%(id)s.%(ext)s" ?

Is there a way to rename the videos based on a list of custom filenames, other than specify the media id to download each video one by one?

A list of fixed filenames? Not possible without an external script.

(to match with Twitter's medium.media_key)

Twitter's media_key value is almost always the video's id prefixed with 7_ So couldn't you could just do -o "7_%(id)s.%(ext)s" ?

I misunderstood the meaning of id (string): Video identifier. Thanks!


docs: review 1

Frameworks:

Vite: includes custom vite virtual modules references
Svelte: modified to use svelte virtual module
React: included using react virtual module

Examples: new entry

Vue 3
React
Svelte

Deployment:

Added entry Testing your application on production
Included NGINX configuration
Include configuration file name for Apache

don't merge yet, I need to add /examples/ entry to _ headers.


ci workflow: don't check initial substituter list

Description
chatted with @grahamc, we want to just drop this check.
Checklist

[ ] Tested changes against a test repository
[ ] Added or updated relevant documentation (leave unchecked if not applicable)
[ ] (If this PR is for a release) Updated README to point to the new tag (leave unchecked if not applicable)

Closing in favor of the better, more proper fix in MNC itself: https://github.com/DeterminateSystems/magic-nix-cache/pull/107

I think we'll need this change anyway!


initial demo fails: ** (FunctionClauseError) no function clause matching in Porcelain.exec/3

porcelain 2.0.2 is in the _build and it certainly has exec/3.
the full stacktrace is below.
Any thoughts on what I did wrong would be appreciated.
thanks, -doug.
versions: Phoenix v1.2.1, Elixir 1.3.2, Erlang 19

This is a new phoenix app with these configs:
  def application do
    [mod: {FlyerMaker, []},
     applications: [:phoenix, :phoenix_pubsub, :phoenix_html, :cowboy, :logger, :gettext,
                    :phoenix_ecto, :postgrex, :pdf_generator]]
  end

  # Type `mix help deps` for examples and options.
  defp deps do
    [{:phoenix, "~> 1.2.1"},
     {:phoenix_pubsub, "~> 1.0"},
     {:phoenix_ecto, "~> 3.0"},
     {:postgrex, ">= 0.0.0"},
     {:phoenix_html, "~> 2.6"},
     {:phoenix_live_reload, "~> 1.0", only: :dev},
     {:gettext, "~> 0.11"},
     {:cowboy, "~> 1.0"},
     {:pdf_generator, ">=0.3.0"}]
  end

➜  flyer_maker git:(master) ✗ iex -S mix
Erlang/OTP 19 [erts-8.0.2] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

Compiling 12 files (.ex)
Generated flyer_maker app
Interactive Elixir (1.3.2) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> html = "
Hi there!
"
"
Hi there!
"
iex(2)> { :ok, filename }    = PdfGenerator.generate html, page_size: "A5", open_password: "s3cr3t"
** (FunctionClauseError) no function clause matching in Porcelain.exec/3
        (porcelain) lib/porcelain.ex:127: Porcelain.exec(nil, ["/var/folders/fh/p_0tnm5j46lc5n00hkhzyzyw0000gn/T/zaa6W1Lz.pdf", "output", "/var/folders/fh/p_0tnm5j46lc5n00hkhzyzyw0000gn/T/iY7m1x9n.pdf", "owner_pw", "YEYmQWQv0jGdytPT", "user_pw", "s3cr3t", "encrypt_128bit", "allow", "Printing", "CopyContents"], [])
    (pdf_generator) lib/pdf_generator.ex:160: PdfGenerator.encrypt_pdf/3
iex(2)>

Ok, this fails because in this function is only looks for the pdftk_path,
which is nil in my case because I didn't install it. I thought it was optional :-)
The docs imply that wkhtmltopdf  is the default.
Which Porcelain exec function is best practice with wkhtmltopdf?
btw: I can't find pdftk to install on brew.
thanks,
-doug.

Hi @dgoldie - Thanks a lot for your report. Sure, pdftk should be optional. I am not on a Mac so I have no idea why it isn't available via your favorite package manager. But there are sources and binaries available here: https://www.pdflabs.com/tools/pdftk-server/
I will make sure that pdftk is realy optional.

On Porcelain: both variant with or without goon do work. Since the author of Porcelain suggests using goon, I simply installed it.

@dgoldie
I had the same error on MAC when I try the demo.
Then I realize we should run the command like this { :ok, filename }    = PdfGenerator.generate html, page_size: "A5"without the open_password option.
@gutschilla, tks for this work. Maybe it's better to remove this option from the sample command on README.md
$ iex -S mix

html = "
Hi there!
"
# be aware, this may take a while...
{ :ok, filename }    = PdfGenerator.generate html, page_size: "A5"
{ :ok, pdf_content } = File.read filename

# or, if you prefail methods that rais on error:
filename             = PdfGenerator.generate! html

@lypborges Thanks a lot pointing me there. It's addressed in current master. You're absolutely right.


Changing source from Youtube to .mp4 video is not working

Hi,
I am using video.js v5.9.2 and videojs-youtube v2.0.8. My player plays videos from multiple sources like .mp4 files and Youtube videos as a playlist mode.
It is working fine when all videos are .mp4 files or all videos are Youtube links. The problem is when player change from a youtube video to a .mp4 file. Youtube iframe is not removed of the DOM and it is maintained over the .mp4 video.
I created a jsfiddle with the problem:
https://jsfiddle.net/8qbgeuuh/9/
It was working fine in old versions with videojs 4. Is it a bug? or am I doing something wrong?
Thanks in advance.

This is a duplicate of #347. It's a bug that should be fixed.


[BUG] Keystore doesn't inject or setup easily for Eigenlayer example

Overview
Using the keystore in the same way to inject keys does not work well. This should be tested, have examples for, and aim to have a unified flow as any other protocol we're integrating (i.e. Tangle).

Some things to improve:

Using the env to inject the right RPCs
Using the env to maintain keystore paths
Supporting key generation on the CLI
Move tests into blueprints themselves
Make the flows consistent across environments

I think this is solved by #411


Feature/1310 add test local and implement testing for  oci feature

feature(pytest): Add local test for _oci-feature
How to categorize this PR?
/kind test
/area os
/os garden-linux
Which issue(s) this PR fixes:
Fixes #1310

@nanory the technical implementation of the new flag feature _oci has already been added and merged. As discussed, the handling for tests using the new fixture for local tests should be rewritten. Maybe we just close this PR and link it as a reference. It's in your decision how to handle this one.

Hey @adaevitncar,
thanks for your effort and this PR. Unfortunately, the local fixture might be added in a slightly different way. As a result, I created https://github.com/gardenlinux/gardenlinux/issues/1437 and https://github.com/gardenlinux/gardenlinux/issues/1438.
Thanks,
gyptazy

After discussing this in our last meeting, I will reactivate this PR and merge it. Although, there will be a change in future, this platform and test can already be used now.


changes behavior & add maliciousip blocklist

minimize file size of the rules

@adisubagja can you tests it?

rule_malicious and rule_maliciousip rejected by default it's not part of trafficads

repo updaterule https://github.com/malikshi/updaterule/commit/3be3a0309ee143392d10384f642f19b8a9e007be

Nice back update.
Will try after going home

Working fine for now
Size YES this reduced
Ram usage first start/enabled making crazy taking longer & ram eating 1,2GB i think this not for lowest device.
I Think you must try build geodata for ownscript this will make reduce all size,ram,cpu
But now this fine all working hope can have geodata for next updates 😅 i will wait
Thanks you very much for better making rules & block ads
Device : HG680P
RAM : 2GB
Firmware : OpenWRT Reyre AP 20 Latest
Kernel : 5.4.204 (Stock FW)

Working fine for now Size YES this reduced Ram usage first start/enabled making crazy taking longer & ram eating 1,2GB i think this not for lowest device. I Think you must try build geodata for ownscript this will make reduce all size,ram,cpu
But now this fine all working hope can have geodata for next updates 😅 i will wait Thanks you very much for better making rules & block ads
Device : HG680P RAM : 2GB Firmware : OpenWRT Reyre AP 20 Latest Kernel : 5.4.204 (Stock FW)

Thank your for tested new update. I been thinking between wildcard and domains. Surely wildard list will make the file much smaller.
Mine are working good and the ram usage only 150MB on openclash dashboard

Can you check if the file already replaced with new one in your device

@adisubagja test again https://github.com/malikshi/open_clash/pull/5 wildcard version are very small compared to non-wildcard

Good first start taking 300-700mb

Then waitting more 3mins here result

Nice this more stable now first start no more longer time for running & and faster reduce before previous commit

But now this fine all working hope can have geodata for next updates 😅 i will wait
Thanks you very much for better making rules & block ads

Can you share the reference?

Nice this more stable now first start no more longer time for running & and faster reduce before previous commit

Well done, yes it's much faster now.


Declaring index signature based on property type gives invalid error

TypeScript Version:  latest, demonstrable on playground (links below)
Search Terms: index signature diagnostics property type
Code:

interface BaseNode {
  kind: string;
  [key: string]: string | TokenNode["data"];
}

interface TokenNode extends BaseNode {
  kind: 'token';
  data: TokenData;
}

interface TokenData {
  offset: number;
  width: number;
  leading_width: number;
  trailing_width: number;
}

Expected behavior:
No errors, as the code is correct.
Actual behavior:
An error on interface TokenNode:
Interface 'TokenNode' incorrectly extends interface 'BaseNode'.
  Index signature is missing in type 'TokenNode'.

HOWEVER if I change TokenNode["data"] to its value TokenData, the error goes away.
Playground Link:
Code above displaying the error
Code above with the fix, no errors

Current behavior dates back to 2.1


Tracking semconv build-tools 0.24.0 release readiness and roll out plan

The next version of build-tools will contain the following new features:

[BREAKING] Requires explicit stability on each metric, attribute, and enum member and renders it on everything

[x] https://github.com/open-telemetry/build-tools/pull/267
[x] https://github.com/open-telemetry/build-tools/pull/272
[x] https://github.com/open-telemetry/build-tools/pull/244
[x] https://github.com/open-telemetry/build-tools/pull/278

[x] Add backward compatibility check - https://github.com/open-telemetry/build-tools/pull/271
[x] Code generation improvements - https://github.com/open-telemetry/build-tools/pull/295
[x] Support lenient yaml validation for code generation and back-compat checks  - https://github.com/open-telemetry/build-tools/pull/300
various cosmetic improvements

Here're the work items we need to complete inside semconv repo prior to updating build-tools version:

[x] https://github.com/open-telemetry/semantic-conventions/pull/801
[x] https://github.com/open-telemetry/semantic-conventions/pull/819

Update to 0.24.0 PR and fix new violations

[ ] https://github.com/open-telemetry/semantic-conventions/pull/820

After update:

[ ] https://github.com/open-telemetry/semantic-conventions/pull/764
Unblock PRs blocked on resource/span attributes:

[ ]  https://github.com/open-telemetry/semantic-conventions/pull/681
[ ]  https://github.com/open-telemetry/semantic-conventions/pull/758

Language SIGs can start using new code-generation

I rebased https://github.com/open-telemetry/semantic-conventions/pull/758 and generated the new md files.