VideoSprite script help

Describe your problem here.
I'm trying to get a video to play in the background of the song while the Hud is still visible. I have this lua file in my 'scripts' folder
--[[
    Made By BBPanzu
    Improved By Cherry
    A Bit Fix By Laztrix

    How To Use:
        Put script in scripts folder
        if you want to use it on a certain script add a local or global variable called video sprite which equals
        dofile("mods/scripts/videoSprite.lua")
        to make the sprite do

            makeVideoSprite("tag", "path", x, y, "Camera")
        for the camera you can put
            -camHUD
            -camGame
            -other
]]--

-- [[the stuff ]] --
function onCreate()
    addHaxeLibrary('MP4Handler', 'vlc')
    addHaxeLibrary('Event', 'openfl.events')
end
local videoSprites = {}
function makeVideoSprite(tag, videoPath, x, y, camera)
    makeLuaSprite(tag, '', x, y)
    setObjectCamera(tag, camera)
    addLuaSprite(tag, false)
    runHaxeCode([[
        ]]..tag..[[= new MP4Handler();
        ]]..tag..[[.playVideo(CarVideoMissing);
        ]]..tag..[[.visible = false;
        FlxG.stage.removeEventListener("enterFrame", ]]..tag..[[.update);
        ]]..tag..[[.finishCallback = function()
            {
                game.getLuaObject("]]..tag..[[").visible = false;
            }

    ]])
    table.insert(videoSprites, tag)
    --debugPrint('bro the video has been started!')
end
function onUpdatePost()
    for _, __ in pairs(videoSprites) do
        runHaxeCode([[
            if (game.getLuaObject("]]..__..[[") != null)
            {
            game.getLuaObject("]]..__..[[").loadGraphic(]]..__..[[.bitmapData);
            ]]..__..[[.volume = FlxG.sound.volume + 0.4;
            }
        ]])
    end
end
function onPause()
    for _, __ in pairs(videoSprites) do
        runHaxeCode([[
            ]]..__..[[.pause();
        ]])
    end
end
function onResume()
    for _, __ in pairs(videoSprites) do
        runHaxeCode([[
            ]]..__..[[.resume();
        ]])
    end
end`

"CarVideoMissing" is the template video that im trying to get to play with this script, the video is in my 'videos' folder.
In my stage file i have this code:
`function onCreatePost()
    setProperty('boyfriend.visible', false)
    setProperty('gf.visible', false)
    setProperty('dad.visible', false)
    setProperty('healthBar.visible', false)
    setProperty('healthBarBG.visible', false)
    setProperty('iconP1.visible')
    setProperty('iconP2.visible')
end
function onUpdate()
   if canDodge == true and keyJustPressed('enter') then
   pauseVideoSprite('CarVideoMissing')
   end
end
function onSongStart()
    callScript('scripts/videoSprite', 'makeVideoSprite', {'CarVideoMissing', 'CarVideoMissing', -320, -170, 'camHUD'})
    setScrollFactor('Dl', 0, 0)
    scaleObject('CarVideoMissing', 0.65, 0.65)
end`

The video however doesnt play and I only receive this black screen:

Any help will be appreciated I am rather lost on what to do/what im missing exactly.
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
Nothing is edited

Idk i help or not but you can use this:
https://pastebin.com/BN5kXQkB

I think it stopped working on Psych Engine 0.7. You may have to use the source code maybe

MP4Handler was changed to VideoSprite and its functionality is a bit different


Use django-s3-file-field.

This avoids direct uploads in the development environment.  It would be better if the django-s3-file-field package had a more sensible way to control this.

Resolves #80.


feat: add job creation

What type of PR is this?
feat
What this PR does / why we need it (en: English/zh: Chinese):
en: add job creation
zh: 增加了 job 的功能

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: ViolaPioggia:x: violapioggiaviolapioggia seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


[FEATURE] - Support streaming response over Sequential Agents

Describe the feature you'd like
Sequential  Agents to support streaming response from LLM (mainly Open AI)
Additional context
As of now, I see Sequential Agents don't support streaming response from LLM. This reduce the usability of these agents, please fix it.
@HenryHengZJ 🙏
Thanks

This would be truly game changing. Currently Seq agents responses over API is delivered in one huge block, making it unusable for production applications.

This would be truly game changing. Currently Seq agents responses over API is delivered in one huge block, making it unusable for production applications.

I totally agree with you
I wonder if there was any special root cause for that. Having a look over the code, unfortunately it doesn't seem so straight forward 😔
@HenryHengZJ we would like to get your 2 cents about it, highly appreciated 🙏🏼

its on the roadmap!

its on the roadmap!

Thanks @HenryHengZJ , do you know to tell what's the ETA for that and whether there's some workaround we can use for now? Even if it requires some code changes.
Thanks 🙏🏼

yes, right now agents are powerful but unusable for complex tasks, no one will wait until the flow completes before getting an answer


unused import should not be generated

In repo:protocolbuffers/protobuf-go
The proton-gen-go has some test data shows the problem
Proto file location:
https://github.com/protocolbuffers/protobuf-go/blob/master/cmd/protoc-gen-go/testdata/imports/test_import_all.proto
line: 17 and 18 there are comments said this is not used

Generate file location:
https://github.com/protocolbuffers/protobuf-go/blob/master/cmd/protoc-gen-go/testdata/imports/test_import_all.pb.go
line: 13 there is a '_' before the import package.

Why not remove the unused import in xxxx.pb.go file?
If this import exist,it will add useless dependences when copy the xxx.pb.go from project A to project B
If project A and project B belongs to different department, they have different access control on their project, this will cause problem

There are init stuff and types imported when you import one of these. I think the interest is in keeping and respecting the imports listed in the proto file, even when they are unused.
In order to ensure the package is still imported, but that the compiler does not complain about unused imports, it is then imported with the alias to _ which just imports a package for side effects only.

@puellanivis

@puellanivis
I think the xxx.pb.go file is only for messages, so where is the init stuff
In my case:
I'm use a message validate plugin, this plugin will generate a new xxx_validate.pb.go
This plugin will not effect the file generated by the protoc-gen-go
And the validate will only happened on the server side
So client will copy the xxx.pb.go file, and this file contains a _ import which the client will never used.
Unfortunately,the client has no access to get the _ import.
Here is the proto file:
syntax="proto3";

package admin;

option go_package="github.com/chenjie199234/admin/api;api";

import "pbex/pbex.proto";

//this is the proto file for status service
service status{
	//ping check server's health
	rpc ping(pingreq)returns(pingresp){
		option (pbex.method)="get";
		option (pbex.web_midwares)="accesskey";
		option (pbex.web_midwares)="rate";
		option (pbex.crpc_midwares)="accesskey";
		option (pbex.crpc_midwares)="rate";
		option (pbex.cgrpc_midwares)="accesskey";
		option (pbex.cgrpc_midwares)="rate";
	}
}
//req can be set with pbex extentions
message pingreq{
	int64 timestamp=1[(pbex.int_gt)=0];
}
//resp's pbex extentions will be ignore
message pingresp{
	int64 client_timestamp=1;
	int64 server_timestamp=2;
}

I think the xxx.pb.go file generated by the protoc-gen-go plugin is only for messages, so where is the init stuff

In your specific example: https://github.com/protocolbuffers/protobuf-go/blob/master/cmd/protoc-gen-go/testdata/imports/test_import_all.pb.go#L182-L219

Additionally:

So client will copy the xxx.pb.go file, and this file contains a _ import which the client will never used.

OK, but is there a particular reason to care that the import will never be used? Dead code elimination should happen… so I’m not sure that this would have any impact on your client in any case.

Importing a generated protobuf package has side effects; notably, it adds types defined within that package to the global registry.
The import in the .pb.go is replicating the dependency defined in the .proto file.
The .proto file contains these import statements:
import "cmd/protoc-gen-go/testdata/imports/test_a_2/m3.proto"; // unused in this file
import "cmd/protoc-gen-go/testdata/imports/test_a_2/m4.proto"; // unused in this file

Both m3.proto and m4.proto are defined in package google.golang.org/protobuf/cmd/protoc-gen-go/testdata/imports/test_a_2, so the generated code contains a blank import for that package. To avoid blank imports of this nature, remove the undesired dependency from the .proto file.


Show more data using tool tips?

Use tool tips to show optional info about a word, such as # of syllables, stress pattern, etc...

Maybe later, I'm more interested in finding a solid way to show the meter outside of the text.

I have the perfect candidate: hide the rhyming part in a tool tip, it makes the line too long and is a bit hard to read otherwise.

Use BS tool tips


[BUG] judge_prompts.jsonl not found

Hi, I have installed the current version of lighteval following the instructions in the repository, but cannot run any evals due to the following error:
'/home/dkuznedelev/miniconda3/envs/pysparse/lib/python3.10/site-packages/lighteval/metrics/judge_prompts.jsonl'
Seems like for some reason judge_prompts.jsonl is not present in the conda environment. How can one fix this issue?
 This is a duplicate of https://github.com/huggingface/lighteval/issues/243, so I'm closing your issue.
TLDR: The quickest fix is to do an editable install from source, waiting for our clean fix it in the next release, sorry about the bug!

I resolved the issue via manually putting judge_prompts.jsonl from repository into conda env.


Organization of proliferation terms

I'm a little confused about the placement of specific cell proliferation terms. In general, proliferation terms are under physiology trees. However, proliferation terms in regards to development fall under morphology (abnormal neuronal precursor proliferation [MP:0004948]). This seems to be a conflict.
Reported by: michknow
Original Ticket: obo/mammalian-phenotype-requests/842

long standing problem described elsewhere.


Don't attempt to fetch UUIDs for inputs longer than 16 characters.

/pex user {playername}

If the input for playername is longer than 16 characters, that means either an invalid name was entered, or the input is already a UUID. In this case, the plugin should not still attempt to fetch the UUID from the playerdata as it will not find anything anyway, and it should not try to auto-complete a UUID.
Currently, the plugin has some weird behavior when a UUID is entered of a player that has recently changed their name, but has not logged in yet to the server where the command is executed on. This is especially problematic for servers that run on BungeeCord + MySQL.
This pull request should fix those problems.

rather than doing > 16, check that length == 36 and UUID.fromString(name) doesn't throw an IllegalArgumentException, to confirm that the input is actually a uuid

also, would you be able to describe this weird behavior?

I actually first had exactly what you said. However, then I realized that there would not be a point, as any input longer than 16 characters can impossibly be found in the offline player data anyway.
Is there any specific reason why you would want to first confirm that it is actually a UUID first?
And I can give you an example right now. When I type:
/pex user 6c675780-b837-4db2-96a9-945d385437ac

.. I get the correct info for user 6c675780-b837-4db2-96a9-945d385437ac.
However, when I put a # in front of it, indicating that I do not it want to auto-complete the UUID, I get a completely incorrect UUID, namely: f9a99558-0d64-33e9-b571-a45707b87880

Mostly I would rather not depend on an arbitrary restriction that could change at some point in the future. I'm not sure what exactly is causing the issue with exact matching -- I'll have to look into it.

Will this ever be merged? =)

Bump, anything on this?

Unfortunately PermissionsEx is currently unmaintained and no further updates are planned. Because of this, all pull requests are being closed. If you are looking for an actively maintained permissions plugin, take a look at LuckPerms. It is compatible with major server platforms and can import data from PEX.


added a program and added my info in contribution

Hello,
I added a folder for C programs and added a program that calculates the time taken for a 100x100 array to populate.
I also added my info in the contribution.md.
Let me know if there's something missing.
Can you also add the tag hacktoberfest-accepted as tag please ?

Your PR is accepted Under hacktoberfest-22 tag.
Congratulations @jeremie1112 . 👍👍🚀🚀

@py3-coder Thank you my brother ♥


Add System.Text.Json workarounds

This works around https://github.com/dotnet/runtime/issues/85981 so we can move forward with System.Text.Json migration.
Not all the workarounds necessary to fully emulate dotnet/runtime#86056 (the fix) are in place here, both because some code changes cannot be replicated in our own code due to accessing internal APIs, and because some of them seem less likely to be used so I didn't bother.
CC: @eiriktsarpalis

/azp run


Neko SimpleOpenGL sample seg faulting on Mac

Hi,
I'm a new Haxe/Lime/Neko user, and I'm having trouble testing the SimpleOpenGL sample using Neko on Mac.
The sample works great on a native Mac target.
But when I attempt the test command using the -neko option, the system busies itself for a while and then returns back to the command prompt silently.
Running the command with the -verbose option suggests the build process completes successfully:
~/SimpleOpenGL$ lime test mac -neko -verbose
 |. _ _  _
 ||| | ||_|
 ||| | ||_.

Lime Command-Line Tools (1.4.0)

Initializing project...
Using project file: ~/SimpleOpenGL/project.lime
Reading HXCPP config: ~/.hxcpp_config.xml
Using target platform: MAC

Running command: UPDATE
 - Copying template file: ~/homebrew/Cellar/haxe/3.1.3/lib/haxe/lib/lime-tools/1,4,0/templates/haxe/DefaultAssetLibrary.hx -> Export/mac64/neko/haxe/DefaultAssetLibrary.hx
 - Copying template file: ~/homebrew/Cellar/haxe/3.1.3/lib/haxe/lib/lime/0,9,7/templates/haxe/ApplicationMain.hx -> Export/mac64/neko/haxe/ApplicationMain.hx
 - Copying template file: ~/homebrew/Cellar/haxe/3.1.3/lib/haxe/lib/lime/0,9,7/templates/haxe/lime/AssetData.hx -> Export/mac64/neko/haxe/lime/AssetData.hx
 - Copying template file: ~/homebrew/Cellar/haxe/3.1.3/lib/haxe/lib/lime/0,9,7/templates/neko/hxml/debug.hxml -> Export/mac64/neko/haxe/debug.hxml
 - Copying template file: ~/homebrew/Cellar/haxe/3.1.3/lib/haxe/lib/lime/0,9,7/templates/neko/hxml/release.hxml -> Export/mac64/neko/haxe/release.hxml
 - Copying template file: ~/homebrew/Cellar/haxe/3.1.3/lib/haxe/lib/lime/0,9,7/templates/mac/Info.plist -> Export/mac64/neko/bin/SimpleOpenGL.app/Contents/Info.plist
 - Copying template file: ~/homebrew/Cellar/haxe/3.1.3/lib/haxe/lib/lime/0,9,7/templates/mac/Entitlements.plist -> Export/mac64/neko/bin/SimpleOpenGL.app/Contents/Entitlements.plist
 - Copying library file: ~/homebrew/Cellar/haxe/3.1.3/lib/haxe/lib/lime/0,9,7/ndll/Mac64/lime.ndll -> Export/mac64/neko/bin/SimpleOpenGL.app/Contents/MacOS/lime.ndll

Running command: BUILD
 - Running command: haxe Export/mac64/neko/haxe/release.hxml
 - Running command: chmod 755 Export/mac64/neko/bin/SimpleOpenGL.app/Contents/MacOS/SimpleOpenGL

Running command: RUN
 - Changing directory: Export/mac64/neko/bin/SimpleOpenGL.app/Contents/MacOS
 - Running command: ./SimpleOpenGL
~/SimpleOpenGL$

This suggested to me that an attempt was actually made to run the built application, but for some reason it had failed.
So next I tried running the built application manually to see if that gave any more output, and this is what I got:
~/SimpleOpenGL$ Export/mac64/neko/bin/SimpleOpenGL.app/Contents/MacOS/SimpleOpenGL
Segmentation fault: 11

Seg fault.
So on a whim I decided to try running it via the debugger, with the following results:
~/SimpleOpenGL$ lldb Export/mac64/neko/bin/SimpleOpenGL.app/Contents/MacOS/SimpleOpenGL
Current executable set to 'Export/mac64/neko/bin/SimpleOpenGL.app/Contents/MacOS/SimpleOpenGL' (x86_64).
(lldb)
(lldb) run
Process 7898 launched: '~/SimpleOpenGL/Export/mac64/neko/bin/SimpleOpenGL.app/Contents/MacOS/SimpleOpenGL' (x86_64)
Process 7898 stopped
* thread #1: tid = 0x17026, 0x000000010070eaf6 libneko.dylib`neko_val_id + 86, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x18)
    frame #0: 0x000000010070eaf6 libneko.dylib`neko_val_id + 86
libneko.dylib`neko_val_id + 86:
-> 0x10070eaf6:  movq   0x8(%rcx,%r12), %rdx
   0x10070eafb:  leaq   0x8(%rcx,%r12), %rsi
   0x10070eb00:  movq   %rsi, 0x18(%rsp)
   0x10070eb05:  movl   (%rcx,%r12), %ebp
(lldb)
(lldb) bt
* thread #1: tid = 0x17026, 0x000000010070eaf6 libneko.dylib`neko_val_id + 86, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x18)
  * frame #0: 0x000000010070eaf6 libneko.dylib`neko_val_id + 86
    frame #1: 0x000000010204e4fd lime.ndll`___lldb_unnamed_function1112$$lime.ndll + 333
    frame #2: 0x00000001020516c9 lime.ndll`___lldb_unnamed_function1176$$lime.ndll + 57
    frame #3: 0x00000001020528a4 lime.ndll`___lldb_unnamed_function1199$$lime.ndll + 36
    frame #4: 0x0000000100010e3a libneko.dylib`loader_loadprim + 570
    frame #5: 0x000000010000c102 libneko.dylib`neko_interp_loop + 11922
    frame #6: 0x0000000100008ca9 libneko.dylib`neko_interp + 473
    frame #7: 0x0000000100008ab6 libneko.dylib`neko_vm_execute + 134
    frame #8: 0x000000010000846b libneko.dylib`neko_val_callEx + 1035
    frame #9: 0x000000010000132d SimpleOpenGL`___lldb_unnamed_function8$$SimpleOpenGL + 381
    frame #10: 0x0000000100001579 SimpleOpenGL`___lldb_unnamed_function11$$SimpleOpenGL + 89
    frame #11: 0x0000000100000c1d SimpleOpenGL`___lldb_unnamed_function2$$SimpleOpenGL + 203
(lldb)

I'm afraid I'm new to Haxe/Lime/Neko - not to mention lldb on OSX - so at this point I've hit something of a brick wall, but I was hoping someone else here may be able to shine a light on this?
In case it's useful, here's some info on my versions:
~$ brew info neko
neko: stable 2.0.0-6ab8f48 (bottled), HEAD
~$
~$ brew info haxe
haxe: stable 3.1.3 (bottled), HEAD
~$
~$ haxelib list
format: [3.0.5]
haxelib_client: [3.1.0-rc.4]
hxcpp: [3.1.30]
hxlibc: [1.1.4]
lime-tools: [1.4.0]
lime: [0.9.7]
~$

And finally, the Neko test also seems fine:
~$ neko test
The virtual machine is working !
Calling a function inside std library...
Test successful

Any advice would be much appreciated.
Thanks!

I can't say I've had this issue lately, so I think this must have been resolved, thanks guys :smile:

Thanks jgranick. I just thought I'd try this again to see if the problem has indeed been resolved, however I could no longer find a way to create the SimpleOpenGL sample in a more recent Lime... :wink:

Ah, gotcha :smile:
"SimpleOpenGLView" is an OpenFL sample, and "SimpleImage" is a Lime sample that behaves similarly :smile:

Ahha, right!
OK, I just did a haxelib update and gave the "SimpleImage" sample a try, and the original command line I posted worked a treat with it.
So I agree, this looks like it's all OK now. Thanks very much! :smile:


Fix CVE-2023-25613

Description

Fixes CVE-2023-25613 by bumping up org.apache.kerby:kerb-admin

Related Issues

https://nvd.nist.gov/vuln/detail/CVE-2023-25613
https://issues.apache.org/jira/browse/HADOOP-18655

Check List

[ ] ~New functionality includes testing.~

[ ] ~All tests pass~

[ ] ~New functionality has been documented.~

[ ] ~New functionality has javadoc added~

[ ] ~Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)~
[x] Commits are signed per the DCO using --signoff
[x] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
[ ] ~Public documentation issue/PR created~

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

@reta Can you please review this?


Missing the using System

Issue moved from MicrosoftDocs/feedback#3929

Please respond to @Tuturado.

From @Tuturado on Monday, June 19, 2023 3:01:28 PM
Describe the bug
In the Objects - create instances of types part, when I clicked to run the first available code snippet, it gives an error, because the using System.
To Reproduce
Steps to reproduce the behavior:

Go to https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/object-oriented/objects#code-try-0'
Click to execute the first or second section
The output will indicate the error

Expected behavior
I hoped that I didn't need to add anything for the code to work correctly, considering that I'm still a beginner in the language.
Desktop (please complete the following information):

OS: Windows 10
Browser Google Chrome
Version 114.0.5735.134

Issue moved from MicrosoftDocs/feedback#3929

Please respond to @welcome[bot].

From @welcome[bot] on Monday, June 19, 2023 3:01:30 PM
Thank you for opening an issue! One of our team members will get back to you with additional information.
If this is a product issue, please close this issue and contact the product's support instead. For a list of support websites, see Support for Microsoft products and apps.


feat(coral): Add notifications for pending requests

Linked issue
Resolves: #2065
What kind of change does this PR introduce?

[ ] Bug fix
[x] New feature
[ ] Refactor
[ ] Docs update
[ ] CI update

What is the current behavior?
There is currently no way of keeping track of pending request in the coral UI, as opposed to the Angular UI which has a pop up and direct links to pending request in the top nav.
What is the new behavior?

Add pending requests data from getAuth to the returned value of useAuthContext
Add badge with total pending requests to the Approverequest link
Add notification dot on the top nav Approve requests link in the top nav

https://github.com/Aiven-Open/klaw/assets/20607294/9a4c97b2-a4ee-45cf-9159-1c43833f0925
Requirements (all must be checked before review)

[x] The pull request title follows our guidelines
[x] Tests for the changes have been added (if relevant)
[x] The latest changes from the main branch have been pulled
[x] pnpm lint has been run successfully

weird that the tests fail on CI, they succeeded locally 🤔

@mathieu-anderson  are you up to date with main and all dependencies locally? We had an update for aquarium yesterday & I needed to update that snapshot test that fails for you for that.

Yes, it's all up to date, and the snapshot has been updated in this commit 🤔 e5a51af

@programmiri I was up to date with main, but I didn't reinstall deps. I see a new snapshot is updated, so I will push it now ^^

Sorry to nitpick but the link color in cards is also not the same as other link ^^'
https://github.com/Aiven-Open/klaw/assets/20607294/4dc4c628-dcc9-4fce-be1c-fc2830e0a743

Nitpicking is good!
I treaded the cards like text-links: blue & white on hover. They are not underlined because the border that has a hover effect is enough clue (I hope).
For navigation items it's ok to have them less "visible links" than in text because the placement is a good enough help for users.
If you check the light version, it's similar.


Enable Kotlin metadata version check for script compilation

This will be the default in Gradle 9.
https://docs.gradle.org/8.5/release-notes.html#kotlin-dsl

Warnings

:warning:
This PR is approved with no milestone set. If merged, it won't appear in the detekt release notes.

  Generated by :no_entry_sign: dangerJS against 8fdc189ca3d29d1b3c3a61bcc17ef450400ddadf


Python executable in pype 3

Description
Pype code currently uses python executable at many places but pype 3 won't have any. These parts of code must use different approach and some will require modification. Some of them may be added to tray cli arguments some may require to use run argument to execute a script file.

[x] execution of help scripts like Burnin script (https://github.com/pypeclub/pype/pull/947)
[ ] deadline publish script has to be "somehow" executed
[ ] launch of Harmony, Photoshop and AfterEffects must be converted to have a launch scipt
- currently they use command line execution of python code which also have few other issues
         >>> python -c "import avalon.photoshop;avalon.photoshop.launch(\"executable\")"
[x] standalone publisher and it's publishing (https://github.com/pypeclub/pype/pull/947)
[x] ftrack event server subprocesses (for both user and server) (https://github.com/pypeclub/pype/pull/947)
[ ] celaction pre_celaction_register.py line 40

NOTES
Do we want to have a console with server in non python hosts? If yes then we should have access to both console and gui executables otherwise it won't be possible to show console.

Do we want to have a console with server in non python hosts?

I'd prefer not having it. Currently it's there just to get quicker feedback during beta testing, but its annoying to the user


Update GrandTotal to 3.4.4

Thank you for the contribution. It was merged directly as 268e0e174c8de61b3b9be3cc303e6e94a566af27 to keep commit history cleaner. Your contribution is still credited to you.


[example] Array example using a grid

Dojo v7 introduces Arrays, which is a novel addition in the Cairo ecosystem.
This task is to make a small example that leverages arrays.
Suggestion

[ ] Create a 10x10 grid (or hex grid)
[ ] Allow players to move from one hex to another.
[ ] Store the players in an Array
[ ] Create impl to check if a player is in the Array on the location

This is just an idea - if you take this task, you could do something else, as long as it incorporates Arrays.

Hi, can I take this ? I did #59 in the past but didn't finish it and since Arrays is available now, it would be easier for me to finish it 🚀

sure thing!


Documentation updates (BASEX, polynomials, formatting issues)

The documentation updated to reflect my previous code additions and changes (#227, #235, #240).
The two main changes are:

The updates/additions for the BASEX method (changes in its description doc/transform_methods/basex.rst and addition of computational details: .../basex-comp.rst with figures in .../basex-basis.py and .../basex-vert.py).
The addition of the polynomials mathematical documentation (doc/tools/polynomial.rst with a figure in ...\smoothstep.py).

There are also many minor changes to address Sphinx warnings about formatting and to improve the structure in several cases. On my computer make html now runs without warnings. Please check whether you see any problems in the building process or in the results.

I also suggest using SVG as the default format for plots in HTML. At high-resolution screens it looks much better than the default PNG:
PNG:
SVG:
PNG:
SVG:
Here I have also disabled the automatic addition of the source/formats links. In Examples, we already have the sources included, and in many other cases these links are merely distracting (if needed, they can be added on per-image basis, I believe).
All this can be done by adding
plot_formats = ['svg', 'png']
plot_html_show_source_link = False
plot_html_show_formats = False

to doc/conf.py.
Do we need to care about any other formats besides HTML? (I haven't tested any.)

@stggh,

generates this error

WTH is xravel.mask???
Do you see any other errors?
What happens if you run doc/tools/smoothstep.py manually (with uncommented show() or savefig())?

WTH is xravel.mask???

Good point!  Something to do with matplotlib.

What happens if you run doc/tools/smoothstep.py manually

Same error:
[etalon:.+R-doc/doc/tools]$ python smoothstep.py
Traceback (most recent call last):
  File "/home/stg121/Software/Python/anaconda3/lib/python3.7/site-packages/matplotlib/units.py", line 168, in get_converter
    if not np.all(xravel.mask):
AttributeError: 'numpy.ndarray' object has no attribute 'mask'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "smoothstep.py", line 51, in <module>
    plt.plot(r, map(smoothstep, r), color='red')
  File "/home/stg121/Software/Python/anaconda3/lib/python3.7/site-packages/matplotlib/pyplot.py", line 2813, in plot
    is not None else {}), **kwargs)
  File "/home/stg121/Software/Python/anaconda3/lib/python3.7/site-packages/matplotlib/__init__.py", line 1805, in inner
    return func(ax, *args, **kwargs)
  File "/home/stg121/Software/Python/anaconda3/lib/python3.7/site-packages/matplotlib/axes/_axes.py", line 1603, in plot
    for line in self._get_lines(*args, **kwargs):
  File "/home/stg121/Software/Python/anaconda3/lib/python3.7/site-packages/matplotlib/axes/_base.py", line 393, in _grab_next_args
    yield from self._plot_args(this, kwargs)
  File "/home/stg121/Software/Python/anaconda3/lib/python3.7/site-packages/matplotlib/axes/_base.py", line 370, in _plot_args
    x, y = self._xy_from_xy(x, y)
  File "/home/stg121/Software/Python/anaconda3/lib/python3.7/site-packages/matplotlib/axes/_base.py", line 205, in _xy_from_xy
    by = self.axes.yaxis.update_units(y)
  File "/home/stg121/Software/Python/anaconda3/lib/python3.7/site-packages/matplotlib/axis.py", line 1467, in update_units
    converter = munits.registry.get_converter(data)
  File "/home/stg121/Software/Python/anaconda3/lib/python3.7/site-packages/matplotlib/units.py", line 181, in get_converter
    converter = self.get_converter(next_item)
  File "/home/stg121/Software/Python/anaconda3/lib/python3.7/site-packages/matplotlib/units.py", line 187, in get_converter
    thisx = safe_first_element(x)
  File "/home/stg121/Software/Python/anaconda3/lib/python3.7/site-packages/matplotlib/cbook/__init__.py", line 1635, in safe_first_element
    raise RuntimeError("matplotlib does not support generators "
RuntimeError: matplotlib does not support generators as input

Passing a list to matplotlib.pyplot.plot() "fixes"  the problem:
ss = [smoothstep(x) for x in r]
plt.plot(r, ss, color='red')

OK, I've just found the same solution (the issue apparently is that map() in Python 3 returns an iterator, whereas in Python 2 it was a list). I'll update that file.
Any other problems spotted?

No, looks good. Excellent work fixing all the doc syntax errors.

Yes, I think linbasex docs can wait for other linbasex changes (IIRC, you had some).
If people have time to read what I have added in this PR, I would appreciate notifying me of any problems with clarity and/or grammar (hopefully, there are no mathematical errors), such that we can release this in a well readable form.

“BASEX: computational details” (basex-comp.rst) is linked from “BASEX” (basex.rst); “Polynomials” (polynomial.rst) is linked from abel.tools.polynomial (polynomial.py) and abel.tools.analytical.Polynomial (analytical.py). They are not included in any TOC, since I did not find a good place and method to do so — they describe technical/implementation details that are not really essential to the users and, logically, are subtopics of the corresponding method/tools,  so adding them in the common TOC at the same level does not look appropriate. Is it possible to add them to the TOC at a deeper level after the corresponding topic?

Yeah, we can add them at a deeper level. At the end of basex.rst, maybe we can include something like this:
Computational Details
---------------------

The links below provide more information on the computaional details of the BASEX method:

.. toctree::
   basex-comp

This includes basex-comp in the TOC.
For the polynomials article, I suppose it's okay for it to hide where it's currently hiding. Alternatively, since it's a really nice article, we could just stick in in the main TOC by changing index.rst to
.. toctree::
   :maxdepth: 2

   readme_link
   abel
   transform_methods
   anisotropy_parameter
   circularize_image
   tools/polynomial
   examples
   contributing_link

(Note, I also moved "contributing_link" to the bottom, since I think that this should come last in the TOC.

Now I've read the toctree documentation and tried to add
.. toctree::
    :hidden:

    basex-comp

at the end of “PyAbel improvements”. Looks like this:

This makes it included in the TOC at a deeper level, more or less in an appropriate place, without polluting the text. And sphinx does not complain about orphans any more.
The same thing with abel.tools.polynomial works even better (“Polynomials” appears as a subtopic of “abel.tools.polynomial” in the TOC).

Oh, nice work! I like your new approach.

While we are still in “documentation updates”, what people think about using normal plots for the transform pairs?

If “yes”, then I need a technical advice.
I think that creating individual script files for each of the plots is silly, so I have a single script parameterized with the profile number. The problem is how to call it from the docstring.
In principle, the plot directive allows calling specific functions:
.. plot:: path/to/plot.py plot_function1

so I could define def plot1(): plot(1) and so on. However, all these figures are saved in the same file, named like the script file, regardless of the function name, so producing many figures from one script does not work this way.
Using
.. plot::

    import imp
    imp.load_source('', 'tools/transform_pairs.py').plot(1)

works, but does not look like the cleanest way. And “The imp package is pending deprecation in favor of importlib” in Python 3, while in Python 2 importlib does not really exist. Although imp still works in both versions, so maybe it is fine for now and later we can do something about it (for example, if we switch to Python 3 only)?
Another questions about the pairs:

As far as I can tell, profile8 is the same as profile6, just written slightly differently. Do we need them both? If yes, maybe this needs to be mentioned in the documentation?
Why do we have profile4 broken? Wouldn't it make sense to correct it and mention that the published expression was incorrect?

Why do we have profile4 broken? Wouldn't it make sense to correct it and mention that the published expression was incorrect?

We were unable to deduce the correct coefficients.

As far as I can tell, profile8 is the same as profile6, just written slightly differently.

Probably, my bad for not recognising this. Only one function is required.

normal plots for the transform pairs?

Provided it does not mangle the docstring  help.

Provided it does not mangle the docstring help.

The docstrings would look like
    """**profile1**:
    `Cremers and Birkebak App. Opt. 5, 1057-1064 (1966) Eq(13)
    <https://doi.org/10.1364/AO.5.001057>`_

    .. math::

        \epsilon(r) &= 0.75 + 12r^2 - 32r^3  & 0 \le r \le 0.25

        \epsilon(r) &= \\frac{16}{27}(1 + 6r - 15r^2 + 8r^3)
                    & 0.25 \lt r \le 1

        I(r) &= \\frac{1}{108}(128a_1 +a_{0.25}) + \\frac{2}{27}r^2
                  (283a_{0.25} - 112a_1) +

        & \,\,\,\, \\frac{8}{9}r^2\left[4(1+r^2)\ln\\frac{1+a_1}{r} -
          (4+31r^2)\ln\\frac{0.25+a_{0.25}}{r}\\right] &  0 \le r \le 0.25

        I(r) &= \\frac{32}{27}\left[a_1 - 7a_1 r + 3r^2(1+r^2)
                \ln\\frac{1+a_1}{r}\\right]  & 0.25 \lt r \le 1

    ..
              source                projection
        ┼+1.3                  ┼+1.3
        │                      o   o
        │     x                │     o
        │   x   x              │       o
        │ x                    │
        x         x            │         o
        │           x          │
        │                      │           o
        │             x        │
        │                      │             o
        ┼+0─────────────x──┼   ┼+0─────────────o──┼
        0          r      +1   0          r      +1

    .. plot::

        import imp
        imp.load_source('', 'tools/transform_pairs.py').plot(1)
    """

It's basically turning the ASCII-plot “code block” into a comment and appending the plot directive.

As far as I can tell, profile8 is the same as profile6, just written slightly differently.

Probably, my bad for not recognising this. Only one function is required.

So should we remove profile8 completely?
Regarding profile4, it is a piecewise polynomial, for which I can now get everything...

Sounds good. Yes drop profile8. I look forward to seeing the real profile 4.
(I  will be quite for the next 2 weeks, on vacation.)

Well, seeing it is as simple as
import abel.tools.polynomial
import matplotlib.pyplot as plt
n = 1001
poly = abel.tools.analytical.PiecewisePolynomial(n, 1,
           [(0, 0.7, [0.1, 0, 5.51, -5.25]),
            (0.7, 1, [-40.74, 155.56, -188.89, 74.07])],
           symmetric=False)
plt.plot(poly.r, poly.abel)
plt.show()

(by the way, the function itself has a small discontinuity at r = 0.7).
Writing the actual expression requires some manual work, which I'm going to do soon...

It turned out that the errors in Table 1 were very simple: “193.30083” must be “196.30083” in both cases.
With this correction, the differences between profile4.abel and the polynomial abel above are ≲10−6, which is due truncated coefficients (they in principle have 1/3 terms). Numerical forward/inverse transforms also look fine.

@DanHickstein, what do you think about using SVG and removing automatic source/formats links?


go build: Undefined symbols for architecture arm64 _darwin_arm_init_mach_exception_handler

What version of Go are you using (go version)?

go version go1.21.0 darwin/arm64

Does this issue reproduce with the latest release?

You can test this repo: https://github.com/khanakia/cobratest/tree/main#readme
or create a new file main.go like below
package main

import (
	"fmt"
	"os"

	"github.com/spf13/cobra"
)

func main() {
	Execute()
}

var rootCmd = &cobra.Command{
	Use:   "hugo",
	Short: "Hugo1111is a very fast static site generator",
	Long: `A Fast and Flexible Static Site Generator built with
                love by spf13 and friends in Go.
                Complete documentation is available at http://hugo.spf13.com`,
	Run: func(cmd *cobra.Command, args []string) {
		// Do Stuff Here
	},
}

func Execute() {
	if err := rootCmd.Execute(); err != nil {
		fmt.Println(err)
		os.Exit(1)
	}
}

What did you expect to see?
It should compile go build .
What did you see instead?
➜  aa git:(main) go build .
# github.com/khanakia/cobratest
/usr/local/go/pkg/tool/darwin_arm64/link: running clang failed: exit status 1
Undefined symbols for architecture arm64:
  "_darwin_arm_init_mach_exception_handler", referenced from:
      _x_cgo_init in 000005.o
  "_darwin_arm_init_thread_exception_port", referenced from:
      _threadentry in 000005.o
      _x_cgo_init in 000005.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

is your xcode / clang version up to date?

Yes
Anyway, i just checked i have created a new user and then i am able to build it. So it seems a user-specific issue on macros.
Apple clang version 14.0.3 (clang-14<IP_ADDRESS>.1)
Target: arm64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

what if you clear the build cache?

tried already I will continue to debug to see if i can fix the issue

somehow going was Conflicting with the Xcode command line tools so i tried deleting the /Users/Luci/Library and renaming the Xcode.app and then restarting the PC Somehow it did reset the whole user account and go build started working.

Today i upgraded the MAC OS to Sonoma thus it upgraded XCode also.
Now i started getting the same error however if I log in as a different user then the build works.
mkdir -p $WORK/b001/exe/
cd .
/usr/local/go/pkg/tool/darwin_arm64/link -o $WORK/b001/exe/a.out -importcfg $WORK/b001/importcfg.link -buildmode=pie -buildid=IrOa0mMCbcmFG6SCKVtB/7ES0leaDxe0EO7LAN4Yx/6rZQn20_SSYLy8rIB6jF/IrOa0mMCbcmFG6SCKVtB -extld=clang /Users/test/Library/Caches/go-build/90/90f7e2ac98c79ec15a023732fb39c028d6b32f47795ac3e1c15eb63cd89d151e-d
# github.com/aa
/usr/local/go/pkg/tool/darwin_arm64/link: running clang failed: exit status 1
ld: Undefined symbols:
  _darwin_arm_init_mach_exception_handler, referenced from:
      _x_cgo_init in 000005.o
  _darwin_arm_init_thread_exception_port, referenced from:
      _threadentry in 000005.o
      _x_cgo_init in 000005.o
clang: error: linker command failed with exit

Solved it again.


Inclusive frontend framework detection/configuration.

Most other engines depend on the nodejs engine to provide a javascript asset compilation process if the application needs it. Currently, there are two issues with the implementation: 1) It's explicit and tedious for the other non-nodejs engines and 2) it assumes bower is the only package manager in existence.
Ideally, an engine would simply defer to nodejs for this setup in this way:

# install nodejs if the asset compilation requires
nodejs_prepare_asset_runtime

# configure the asset compilation environment
nodejs_configure_asset_environment

# optionally if the application doesn't have is own asset compilation process
nodejs_compile_assets

In this way, the engine can pick and choose which of the aforementioned steps will be required. In the case of rails, for example, the first nodejs_prepare_asset_runtime function will be the only requirement as rails handles the rest. For other engines, all of the steps might be necessary.
Following the aforementioned dsl, the details about which runtime (nodejs) and environment (bower, gulp, grunt, etc) are being used can be handled without the calling engine (python, ruby, rails, etc) having to be concerned about the details. Also, new runtimes and environments can be added without the calling engines needing to change.

@glinton @notxarb please review.

What about lib_dirs to inject into the boxfile? We might want a nodejs_boxfile_asset_lib_dirs or something like that and that would return a list of dirs to add into the boxfile's lib_dirs?

I suppose I should elaborate what I was envisioning to happen at each of those phases.
nodejs_prepare_asset_runtime
Install nodejs, bower, gulp, etc.
nodejs_configure_asset_environment
Bower install, etc
nodejs_compile_assets
Would run gulp etc

@notxarb Great point! We will need that.


Environment cleanup

Moves 'endpoint' to an envvar
So spag env set -E endpoint=http://blah is now used instead of setting endpoint by default
Makes spag unset not have a mandatory resource so you can spag unset --everything or `spag unset endpoint
Little bit of code cleanup in Environments

closes #22

This is better. I think we should remove -E and the envvars eventually, but this makes everything more consistent.


Optimize UFS access on missing paths

The main contribution of this PR is to remove a 2nd UFS call against the UFS when performing a listStatus/getStatus against a path which doesn't exist in Alluxio or the UFS.  Previously, fetchStatusIfAbsent would return null, and then call loadMetadata with a null status which then would make an exists call against the UFS. Now we will instead throw a FileNotFoundException which is the same behavior as specified in the UFS API.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/10327/
Test PASSed.

@ZacBlanco This still has the commits of https://github.com/Alluxio/alluxio/pull/11720 ?

Sorry, forgot to push

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/10348/
Test FAILed.

alluxio-bot, test this please

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/10350/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/10351/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/10352/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/10353/
Test FAILed.

jenkins, test this please

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/10356/
Test FAILed.

jenkins, test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/10360/
Test PASSed.

alluxio-bot, merge this please.

alluxio-bot, cherry-pick this to branch-2.3 please.


↔ [Converter] Add support for aten::atan2 in Torch-TensorRT

Unsupported operator: aten::atan2(Tensor self, Tensor other) -> (Tensor)

Function Schema:
aten::atan2(Tensor self, Tensor other) -> (Tensor)

Original PyTorch API:
torch.atan2(input, other, *, out=None) → [Tensor]

Relevant TensorRT Documentation:
None

Alternatives

Additional context
When using Fourier transformation in audio segmentation models, torch.atan2 will be used.
Because variable audio input lengths requires dynamic shape, fallback to pytorch would cause runtime error when creating example inputs by partitioning::generateRandomInputs.
It reports

RuntimeError: Trying to create tensor with negative dimension -1: [1, 1, -1]

Therefore, we need  convertor for torch.atan2 to successfully convert such models.

cc: @ncomly-nvidia

cc: @abose

cc: @apbose


Playground demo

Changed data inputs so that the scaling and shifting after memory mapping is done using header information not hard-coded
Changed noise_distribution to a class to make plotting easier

Also added playgound_demo.ipynb to demo how to use the playground. It's a work in progress


config: add project management collection (10096)

Add project management collection (10096), repos included:

AppFlowy-IO/AppFlowy
makeplane/plane
mattermost-community/focalboard
frappe/erpnext
hcengineering/platform
opf/openproject
kanboard/kanboard
kuaifan/dootask
Leantime/leantime
JordanKnott/taskcafe

@aplatoff Amazing! I think huly.io is probably the most popular open source project management tool these days. Feel free to share on your social media.
https://ossinsight.io/collections/project-management


Add support for AWS EventBridge

Terraform resources:
aws_cloudwatch_event_bus
aws_cloudwatch_event_permission
aws_cloudwatch_event_rule
aws_cloudwatch_event_target
Pricing details:
https://aws.amazon.com/eventbridge/pricing/

Good day. Can I pick this up if nobody minds?

Done in https://github.com/infracost/infracost/pull/415


SqlFunctions.CharIndex Incorrect Parameter Order

Seen in Version 6.1.3
The parameters for SqlFunction.CharIndex are documented as:
// Summary:
//     Returns the starting position of one expression
//     found within another expression.

//
// Returns:
//     The starting position of target if it is found in toSearch .
//
public static int? CharIndex(string toSearch, string target);

However, given the results below, it appears the parameters need to be swapped around in order to achieve the desired functionality.
// Called as documented, string to search "ABCDEFG", string to be found "D"
DbContext.Items.Select(o => SqlFunctions.CharIndex("ABCDEFG", "D"));

//Expected Result: 4
//Actual Result: 0

// Called with parameters swapped
DbContext.Items.Select(o => SqlFunctions.CharIndex("D", "ABCDEFG"));

//Result: 4

This is also the case for the other 5 overloaded methods.

Ported from CodePlex https://entityframework.codeplex.com/workitem/2935


Nested Transactional Benchmarks

Add more batch_all benchmarks to determine cost of nesting and extra keys.

/benchmark runtime pallet pallet_utility

/benchmark runtime pallet pallet_balances

/benchmark runtime pallet pallet_balances


Android second display exception

Hi,
Working with a native TextView I get this Exception the second time I navigate to the page it is in.
 java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
Can you help please?

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

ID: a781e5d5-c0c4-4bc0-2049-97442139bee3
Version Independent ID: 94e2df3f-c624-98d8-2edb-ef98134835b9
Content: Native Views in XAML - Xamarin
Content Source: docs/xamarin-forms/platform/native-views/xaml.md
Product: xamarin
Technology: xamarin-forms
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Hi @eli191
It sounds like you should remove the TextView from its parent when you navigate away from the page.

Hi @davidbritch
Thank you for your reply.
How am I suppose to do that from my custom native TextView please?
I mean in a Xamarin Forms app. My TextView is a subclassed native TextView and I don't see any thing to achieve that in the documentation.
Thanks!


Decouple autoscaler from cf extensions

recent change has added autoscaler as a dependency of cf (show autoscaler version in cf summary page)
need to break this dependency

Closing in favour of #4416


Range rate radar extension

Extension to measurement models and radar sensors to provide a range rate measurement capability

Is it worth having an inverse function so that the measurement can be converted to Cartesian?
I noticed some of the other Cartesian to spherical models have that and I already have some code that can convert Range Rate to velocity in x,y,z

Is it worth having an inverse function so that the measurement can be converted to Cartesian?
I noticed some of the other Cartesian to spherical models have that and I already have some code that can convert Range Rate to velocity in x,y,z

Done

Codecov Report

Merging #208 into master will decrease coverage by 0.04%.
The diff coverage is 92.25%.

@@            Coverage Diff             @@
##           master     #208      +/-   ##
==========================================
- Coverage   92.42%   92.37%   -0.05%
==========================================
  Files         112      112
  Lines        3998     4116     +118
  Branches      568      581      +13
==========================================
+ Hits         3695     3802     +107
- Misses        223      230       +7
- Partials       80       84       +4

Impacted Files
Coverage Δ

stonesoup/sensor/base.py
94.91% <62.50%> (-5.09%)
:arrow_down:

stonesoup/models/measurement/nonlinear.py
95.59% <92.52%> (-2.98%)
:arrow_down:

stonesoup/sensor/radar/radar.py
95.94% <100.00%> (+0.74%)
:arrow_up:

Continue to review full report at Codecov.

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


Doc: Service Principal / App Registration Documentation and Expiration

I need to document the contacts associated with the Service Principal used for automating and building our infrastructure in Azure. This should be documented within https://github.com/cdcent/data-exchange-infra/.
We have four Service Principals associated with four resource groups for our environments, and they have different expiration days. I need to document when they expire, setup a reminder, and write a contact list on how to renew it.

Documented the Service Principal and its expiration status via https://github.com/cdcent/data-exchange-infra/blob/master/docs/how-to/renewing-service-principals.md


CORS Headers

There are tools such as cropperjs which try to do a regular GET for images to get more information before loading the image.  Modern browsers will block this request due to the lack of CORS headers.  It would be wonderful if we could configure ImgProxy to respond with Access-Control-Allow-Origin: * headers as well as responding to OPTIONS requests to allow this to work.

HI.
I'm very sorry for the long period of inactivity.
CORS headers were added to the latest release. You need to set IMGPROXY_ALLOW_ORIGIN to enable them. See README.

Following up on Matt's request for the ability to allow multiple domains in the IMGPROXY_ALLOW_ORIGIN if possible. Currently have to set to * to suit my needs but would like to restrict!

Here's the thing: Access-Control-Allow-Origin does not support multiple values and masking. Usually, applications respond with dynamic Access-Control-Allow-Origin that depends on the request origin. But in the case of imgproxy where you put a CDN or a caching server in front, this won't work properly.

@DarthSim Maybe we could check if the Host or X-Forwarded-Host header is in the IMGPROXY_ALLOW_ORIGIN list  and return it if there is a match?

But in the case of imgproxy where you put a CDN or a caching server in front, this won't work properly.

If the CDN accepts a Vary: Accept, Origin header having dynamic CORS headers could work right?

Well yes, but actually no. First of all, this will divide your cache by Origin: the same request coming from a different origin will miss the cache. Also, not all CDNs respect all values in Vary.
In fact, CORS headers don't really protect your servers. They are meant to protect users from cross-site requests, but this can also be easily bypassed.
The only case I know of where images require CORS headers is when they're used in canvases or fetched using fetch(). In this case, you can use * as a IMGPROXY_ALLOW_ORIGIN value just to calm down the browser.


Fixed issue where AFNSURLSessionTaskDidResumeNotification was removed twice

version: 3.0.3
file: AFURLSessionManager.m
line: 747,748
AFNSURLSessionTaskDidResumeNotification was removed twice, why?

Thanks! That is definitely a bug.

Current coverage is 73.86%

Merging #3236 into master will increase coverage by +0.10% as of 2e5be90

@@            master   #3236   diff @@
======================================
  Files            5       5
  Stmts         3027    3027
  Branches         0       0
  Methods
======================================
+ Hit           2233    2236     +3
  Partial          0       0
+ Missed         794     791     -3

Review entire Coverage Diff as of 2e5be90

Powered by Codecov. Updated on successful CI builds.

Fixed in 2e5be90


Issues about 2.0 release

The ~2.0 release is completely broken at this moment. Since this package has some popularity and featured by official, you should not merge #19, #24 and #25 and tag new release without testing.

In #24 and #25 logPath and logLevel config has been removed, v2 equivalent is Elasticsearch/ClientBuilder::defaultLogger then Elasticsearch/ClientBuilder::setLogger.
In #24 and #25 actually the hosts config is not used at all because the return statement just create a new builder instance and build the client. See Elasticsearch/ClientBuilder::create.

More info on official doc:
https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_breaking_changes_from_1_x.html
https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html

Sorry for the inconvenience. Version 2.0.3 is working for me with a local elasticsearch (2.3.5) server.

Yes only localhost work because of below:
https://github.com/elastic/elasticsearch-php/blob/v2.2.1/src/Elasticsearch/ClientBuilder.php#L417


Progressively compute target stake

Motivation
Research into computing target stake progressively to compute participation through an epoch instead of at the end of epoch.
Description
Progressively compute target stake.
TODO:

[ ] Consider corner cases
[x] Pass sim test
[ ] Deploy to Prater and sync from genesis
[ ] Deploy to Mainnet and sync from genesis

Latest issue when syncing Prater:
Jun-29 04:22:54.602[CHAIN]           error: Block error slot=1176512, errCode=BLOCK_ERROR_PRESTATE_MISSING error=previousTargetUnslashedBalanceIncrements is wrong, expect 6214032, got 6214033,current epoch 36765

replaced by #4294


custom seed

I made a custom seed but it won't grow on it's own

Does it have enough light?

i did not i just did and they started to grow i am sorry for wasting your time

All good


Select and prefix icons

Is there an option for having prefix-icons with selects?
This is what happens now:

+1 on prefix icons working for select... also for browser-default type selects if possible.
Can't quite get it right easily right now

I solved this manually, with this solution you can't have selects without prefix in your pages (but you can create another classe tough)
In form.scss, from line 458, added
width: 92%;
width: calc(100% - 3rem);
margin-left: 3rem;
and the media queries after display:block:
@media #{$medium-and-down} {
width: 86%;
width: calc(100% - 3rem);
}
@media #{$small-and-down} {
    width: 80%;
    width: calc(100% - 3rem);
}

Same issue here.
I create a jsFiddle to illustrate. https://jsfiddle.net/rz0zk5u6/8/

adding this css to the current input-field prefix settings for input and textarea seems to work for me,
.input-field .prefix ~ div.select-wrapper

so section becomes
  .input-field .prefix ~ input, .input-field .prefix ~ textarea , .input-field .prefix ~ div.select-wrapper {
    margin-left: 3rem;
    width: 92%;
    width: calc(100% - 3rem); }

Same case here https://monosnap.com/file/tF1v6ODDdnKMKAGHh8pU1dbVTZEFc4
What is the progress on this? See also the error message display issue on image. I think it will be proper if we can have a help message class and it should be well indented whenever an prefix icon is used.

Can confirm this. I'd be glad if this would be fixed. I'm using the materialize-sass gem for my rails projects. This would benefit, too.

I think it should be fixed.

+1 still seems to not behave correctly.

Fixed - https://jsfiddle.net/va9afvoo/
Can you please close the issue?

This is not quite finished. When opening/closing the select, the class "active" should be toggled on the prefix icon. This will make the prefix icon consistent with other inputs.

I'm fairly new to MaterializeCSS, so please forgive me if i'm incorrect.
After examining select.js, I believe all that is needed is to add the following line to beginning of _handleInputClick():
$(this.wrapper).prevAll("i.prefix").toggleClass('active');


returnValue isn't always set properly

In testing a simple <form method="dialog">, it's pretty easy to get the value of the focused element returned (rather than the value of the button used, which is what the spec days).

Actually - never mind, this isn't a bug. Hitting enter on an input type="text" sets the returnValue to that element's content even in native, it doesn't naturally "fall through" to the default button.


how to re render ?

i am facing the problem where the chart is not updating the new values any documentation for this ? pleaseeeeeeeeeeeee

Did you set prop bind="true" ?
<chartjs-line :labels="labels" :data="data" :bind="true"></chartjs-line>

had a similar Problem, data within the chartjs-object got no update, so ive done something like:
watch:{chartData:function() { this.$refs.chart.chart_data.datasets=this.chartData; }},
computed:{chartData:function() { return …;}}
and of Course gave the Chart a reference


A memory leak occurs when using SurfaceView together with AndroidView

Details
There seems to be a memory leak when using AndroidView together with SurfaceView at native side.
I've created simple app which can demonstrate the issue. It displays AndroidView which could use SurfaceView or TextureView to display native content.
App is able to toggle AndroidView visibility.
The leak occurs when AndroidView is removed from widget tree and then recreated multiple times during app operation.
Sources: https://github.com/add022/flutter_native_view_sample_java
Here is sample screenshot from Profiler when app is using SurfaceView and toggling AndroidView visibility multiple times. Memory constantly growing, GC is also not able to reclaim allocated memory.

I've used SurfaceHolder's callbacks to track surface lifecycle and it seems that surfaceDestroyed() seems to be not called when AndroidView is removed from widget tree.  That may be some clue.
On the other side when TextureView is used with the same scenario the leak seems to be not visible, and memory seems to be correclty reclaimed by GC:

I've also examined the lifecycle of TextureView using TextureView.SurfaceTextureListener.
In this case the onSurfaceTextureDestroyed seems to be called every time AndroidView is removed from widget tree.
Issue was oserved on Flutter 3.3.9 and also verified that it still exists in 3.7.0-1.4.pre.
Target Platform: Android
Target OS version/browser: Android 13(and others)
Devices: Samsung S22+(and others)
Logs

Logs
Here is some StrictMode violation which can be observed after GC:
2023-01-12 14:26:48.017 20071-20092 StrictMode              com...utter_native_view_sample_java  D  StrictMode policy violation: android.os.strictmode.LeakedClosableViolation: A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.
                                                                                at android.os.StrictMode$AndroidCloseGuardReporter.report(StrictMode.java:1986)
                                                                                at dalvik.system.CloseGuard.warnIfOpen(CloseGuard.java:336)
                                                                                at android.view.Surface.finalize(Surface.java:310)
                                                                                at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:319)
                                                                                at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:306)
                                                                                at java.lang.Daemons$Daemon.run(Daemons.java:140)
                                                                                at java.lang.Thread.run(Thread.java:1012)
                                                                                Caused by: java.lang.Throwable: Explicit termination method 'Surface.release' not called
                                                                                at dalvik.system.CloseGuard.openWithCallSite(CloseGuard.java:288)
                                                                                at dalvik.system.CloseGuard.open(CloseGuard.java:257)
                                                                                at android.view.Surface.setNativeObjectLocked(Surface.java:760)
                                                                                at android.view.Surface.<init>(Surface.java:294)
                                                                                at io.flutter.plugin.platform.VirtualDisplayController.create(VirtualDisplayController.java:53)
                                                                                at io.flutter.plugin.platform.PlatformViewsController$1.configureForVirtualDisplay(PlatformViewsController.java:541)
                                                                                at io.flutter.plugin.platform.PlatformViewsController$1.createForTextureLayer(PlatformViewsController.java:219)
                                                                                at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:128)
                                                                                at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:55)
                                                                                at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:258)
                                                                                at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295)
                                                                                at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:322)
                                                                                at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
                                                                                at android.os.Handler.handleCallback(Handler.java:942)
                                                                                at android.os.Handler.dispatchMessage(Handler.java:99)
                                                                                at android.os.Looper.loopOnce(Looper.java:226)
                                                                                at android.os.Looper.loop(Looper.java:313)
                                                                                at android.app.ActivityThread.main(ActivityThread.java:8741)
                                                                                at java.lang.reflect.Method.invoke(Native Method)
                                                                                at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
                                                                                at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)

Also following logs about abandoned buffers seems to appear after GC execution:
2023-01-12 14:26:49.423 20071-20238 BufferQueueProducer     com...utter_native_view_sample_java  E  [SurfaceTexture-0-20071-0](id:4e6700000002,api:1,p:1138,c:20071) dequeueBuffer: BufferQueue has been abandoned
2023-01-12 14:26:49.423 20071-20238 BufferQueueProducer     com...utter_native_view_sample_java  E  [SurfaceTexture-0-20071-1](id:4e6700000005,api:1,p:1138,c:20071) dequeueBuffer: BufferQueue has been abandoned
2023-01-12 14:26:49.423 20071-20238 BufferQueueProducer     com...utter_native_view_sample_java  E  [SurfaceTexture-0-20071-2](id:4e6700000008,api:1,p:1138,c:20071) dequeueBuffer: BufferQueue has been abandoned
2023-01-12 14:26:49.423 20071-20238 BufferQueueProducer     com...utter_native_view_sample_java  E  [SurfaceTexture-0-20071-3](id:4e670000000b,api:1,p:1138,c:20071) dequeueBuffer: BufferQueue has been abandoned
2023-01-12 14:26:49.423 20071-20238 BufferQueueProducer     com...utter_native_view_sample_java  E  [SurfaceTexture-0-20071-4](id:4e670000000e,api:1,p:1138,c:20071) dequeueBuffer: BufferQueue has been abandoned
2023-01-12 14:26:49.423 20071-20238 BufferQueueProducer     com...utter_native_view_sample_java  E  [SurfaceTexture-0-20071-5](id:4e6700000011,api:1,p:1138,c:20071) dequeueBuffer: BufferQueue has been abandoned
2023-01-12 14:26:49.424 20071-20238 BufferQueueProducer     com...utter_native_view_sample_java  E  [SurfaceTexture-0-20071-6](id:4e6700000014,api:1,p:1138,c:20071) dequeueBuffer: BufferQueue has been abandoned
2023-01-12 14:26:49.424 20071-20238 BufferQueueProducer     com...utter_native_view_sample_java  E  [SurfaceTexture-0-20071-7](id:4e6700000017,api:1,p:1138,c:20071) dequeueBuffer: BufferQueue has been abandoned

Flutter doctor:
[✓] Flutter (Channel stable, 3.3.9, on macOS 12.5.1 21G83 darwin-x64, locale en-PL)
    • Flutter version 3.3.9 on channel stable at /Users/domin/fvm/versions/3.3.9
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (7 weeks ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/domin/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.74.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.56.0

[✓] Connected device (3 available)
    • SM S906B (mobile) • RFCTA01WFRA • android-arm64  • Android 13 (API 33)
    • macOS (desktop)   • macos       • darwin-x64     • macOS 12.5.1 21G83 darwin-x64
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 109.0.5414.87

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Thanks for the report and details around it.
It seems that SurfaceTexture is a stream of frame and rendering using this class will force the device to do a copy on each render and on top of that this use case is using SurfaceView and AndroidView together which could be leading to memory spike.
Using the code sample provided and running on Samsung S10, seeing the same behavior as reported.

 code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.lime,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  bool _showNativeView = false;
  bool _useTexture = false;

  void _toggleNativeView(bool value) => setState(() => _showNativeView = value);
  void _toggleTextureInUse(bool value) => setState(() => _useTexture = value);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      // backgroundColor: Colors.red,
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.start,
          children: <Widget>[
            SwitchListTile(
              title: const Text(
                'Toggle native view',
              ),
              value: _showNativeView,
              onChanged: _toggleNativeView,
            ),
            SwitchListTile(
              title: const Text(
                'Use texture',
              ),
              value: _useTexture,
              onChanged: _toggleTextureInUse,
            ),
            AspectRatio(aspectRatio: 1, child: _buildNativeViewWidget()),
          ],
        ),
      ),
    );
  }

  Widget _buildNativeViewWidget() {
    if (_showNativeView) {
      return Container(
        decoration: BoxDecoration(border: Border.all(color: Colors.blueAccent)),
        child: AndroidView(
            viewType:
                _useTexture ? 'texture_native_view' : 'surface_native_view'),
      );
    } else {
      return const SizedBox.expand();
    }
  }
}

 stable, master flutter doctor -v
[✓] Flutter (Channel stable, 3.3.10, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.3.10 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 135454af32 (15 hours ago), 2022-12-15 07:36:55 -0800
    • Engine revision 3316dd8728
    • Dart version 2.18.6
    • DevTools version 2.15.0

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[[!] Flutter (Channel master, 3.7.0-20.0.pre.28, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.7.0-20.0.pre.28 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 59d737e647 (81 minutes ago), 2023-01-12 22:28:25 -0500
    • Engine revision 99509a7e42
    • Dart version 3.0.0 (build 3.0.0-119.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Any updates on when a fix for this will be released?

When it will be fixed ?

Same issue here while integrating cocos2d-x game engine with flutter, destroying and re-adding native views leads to memory leak ( each time 5-10mb jump ).

Any news?

I've modified the code from the repository(https://github.com/add022/flutter_native_view_sample_java) of the report so that it automatically switch the native view's visibility diff.txt.
This way, one can use memory profiler to see how the memory grows. Even using TextureView, the memory still grows constantly overtime. I even tried to replace the SurfaceView with a simple TextView to display a few text, I still can see the constant growth. That might be additional leak somewhere.

When it will be fixed ? urgent！！

following

any news?

@favazHF I think this one was resolved in https://docs.flutter.dev/release/release-notes/release-notes-3.16.0#android / https://github.com/flutter/engine/pull/43807

any update?


Import yaml fails if the attributes field is not present

Import the following yaml fails:
resources:
  - name: test
    type: postgresql

Import the following yaml succeeds:
resources:
  - name: test
    type: postgresql
    attributes: {}

Environment

Walrus version: main

Environment

Walrus version: main 8c258fa00a3e8c3f2895a5cfb7159ca2b5d7fc1f
UI version: dev-88faa21

Test Result: pass


🐛 Bug Report: Email Recipients does not show up

👟 Reproduction steps
When I share a file, I don't get the Email Recipients box to put in the emails to whom I want to send the share link.
I have test it with Opera (main browser), Chrome and Edge.
👍 Expected behavior
An email box to show up so I can type the destination email addresses to send the share link
👎 Actual Behavior
The email box does not show up
🌐 Browser
Opera, Chrome, Edge

Damn... I don't know how I missed that. Sorry for the issues, it is working now.
Thank you, much appreciate it.

Nice, have fun with Pingvin Share:)


Add fields (filename, etc) for input to serverless nuclio models

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

Hi, thank you for your awesome work.
I'm deploying a custom model as a serverless function in nuclio (see, a custom object detection model). However, my model needs a metadata: a csv is provided during the container creation. However, in order to index this metadata, I need the image filename. I searched how should I include this information in the serverless model input, but with no results. Could you suggest me how should I modify the source code in order to do so?
Steps to Reproduce (for bugs)
It's a question, not a bug. :)
Context
I've cloned the v2.4.9 and modified the source code to my needs.
 Docker Swarm
Operating System and version (e.g. Linux, Windows, MacOS): Linux 22.04

Please, see this file cvat/apps/lambda_manager/views.py, invoke method to modify serverless input.

Thank you for your suggestion! We were able to add some metadata by looking at the file views.py, and by modifying some returns in cvat/apps/engine/frame_provider.py.
Keep the good work coming!


Edit Profile

Problem
The sidebar Edit Profile tries to collect field no longer in in use.
Solution
Remove from form

Home phone
Mobile phone number
Address Line
Address
City
State
Zip

completed


requireAuth middleware deletes genuine couchdb users from _users when their username is in an Authorization: Bearer header

Background
I have a few special users in my _users db that weren't created through couch-auth. For example, special-purpose administrative users and a "public" user that can make simple requests to couch via Basic authentication without creating a session. I'd like them to stick around. But any endpoint protected by the requireAuth middleware can be used to delete these users. A basic example:
//endpoint expecting an Authorization: Bearer header validating a couch-auth user
router.get('/protected', couchAuth.requireAuth, function(req, res, next) {
  res.send('This endpoint is protected!');
})

Actual Behavior
A request of the form
curl -X GET http://localhost:3000/api/protected -H 'Authorization: Bearer public:madeUpPassword'
will delete the user named 'public' from _users.
Expected Behavior
The requireAuth middleware checks that the document in _users identified by the first part of the Bearer credentials is actually a session for a couch-auth user instead of a "normal" couchdb user, and only removes the former. Possibly through the presence of fields like 'user_uid', 'user_id', 'expires', etc.

Yeah this shouldn't be happening. I'll adjust it s.t. only entries in _users are cleared which have expired and local.


Svg Image pointerEvents="none" not working on Android

In an SVG with a transparent image I set pointerEvents="none" to allow another Image to receive the gesture events.
It is working fine on Web and on iOS.
It is not working on Android.
Here is a simple snack working fine on web and iOS and not working on Android that shows the problem.
In the snack if you tap on the smiling face on Android the gesture event is not firing.
https://snack.expo.dev/@lorenzoangelini/rn-svg-gesture-image-gesture-swallowing
Thank you, I am at your disposal for any need for clarification.

My performance here is exactly the opposite of yours. I set pointerEvents to have no effect on IOS, but it works on other devices

Hi @lorenzo-ange, @GrinZero,
The issue is related to React Native. My colleague fixed it. Here is the PR that resolves the problem.


openalpr-android for x64 architectures

Hi @SandroMachado!
Do you have openalpr libraries for x64 architectures (arm64, x86_x64, mips64)? Google needs to upload apks in 64 bits.
This is a great limitation, please we need the new libraries.
Thanks @SandroMachado.

Firstly thanks for a great library and all the work on it.
I'm in the same position as @AguGriguol , I've spent a couple of days now building various versions of the libopenalpr.so file from scratch but can't get any to work.
It means a major app I have can't be updated since Google won't accept the old 32 bit library. Any thoughts @SandroMachado ?
Thanks,
Daniel.

Same here. Looking for 64-bit libraries support or any guide to create them manually.

Anyone got help regarding building 64bit APKs google playstore ?


Create "abbreviated" class

Probably a good idea to have a class for abbreviations. I'm thinking they'll need to be NamedIdeas at bare minimum.

Well, they could be slightly different, in that they need an id, a term (for the abbreviation) and a link to what it abbreviates (which would be a NamedIdea at a minimum).  The link idea is likely to come up again and again, so we need to think about that.

That makes sense, it would make it much easier for when we eventually run a pass over our recipes to pull out chunks and automatically create our table of acronyms/abbreviations.

Seeing that we can already automatically generate the table of abbreviations and acronyms, I'm going to consider this a non-issue as of now. It was created before we had proper abbreviations/acronyms. If it comes up later I will reopen or create a new issue for the then-current design.


only clock showing up. weather and forecast are missing..

thank you for the great little project, been keeping me busy for a week..
however after I finally get it started.. only the clock showed nothing thing else.. did I do something wrong? of course I have edit the config.php with all the APIs, City Codes. And I have been looking deep into the codes.. seems all good.. what's wrong then...?!
https://imgur.com/a/rX4WzO6

see if this helps: https://github.com/wiz78/WeatherClock/issues/4

perfect! thank you so much for the great project! teacher me a lot.


[FLINK-29622][runtime][security] Start kerberos delegation token provider only if the user provided valid credentials

What is the purpose of the change
Kerberos delegation token manager starts even if the user not provided valid credentials. This is simply wrong behavior.
Brief change log
Load kerberos delegation token manager only if the user provided valid credentials.
Verifying this change

Executed EventTimeWindowCheckpointingITCase and double checked that exception is not thrown

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

cc @gyfora @mbalassi

@flinkbot run azure

@flinkbot run azure

Thanks @gaborgsomogyi. I have verified this change via running multiple ITCases and they do not show the stacktrace that was reported previously.


Add support for ProteinComponent

Now that the writing of an Interchange object with a ProteinComponent to gromacs files is reasonably fast, we can add back in support for MD simulations with proteins.

The protocol supports protein MD simulations, however, the creation of the Interchange object and esp. saving the Interchange to Gromacs files is still quite slow, ~7 min for T4L-benzene in water.
I will close this issue for now, however, we should consider ways to speed this up as 7min is a lot of time, considering that plain MD simulations can be quite fast.


Cannot uninstall Mopidy-youtube

there is an issue with the plugin. It started to use cca 1.6M bandwith even when not used (the servers connected to are Google servers). It helped to uninstall the plugin (network usage dropped to 0), I then installed mopidy-youtube again and the issue (1.6M constant download from google) apeared again. Now I cannot unistall Mopidy-youtube plugin. Here is error message
Exception:
Traceback (most recent call last):
File "/usr/lib/python3.7/shutil.py", line 563, in move
os.rename(src, real_dst)
OSError: [Errno 18] Invalid cross-device link: '/usr/local/lib/python3.7/dist-packages/Mopidy_YouTube-3.3.dist-info/INSTALLER' -> '/tmp/pip-uninstall-tlk7n3n0/usr/local/lib/python3.7/dist-packages/Mopidy_YouTube-3.3.dist-info/INSTALLER'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 143, in main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/_internal/commands/uninstall.py", line 75, in run
auto_confirm=options.yes, verbose=self.verbosity > 0,
File "/usr/lib/python3/dist-packages/pip/_internal/req/req_install.py", line 683, in uninstall
uninstalled_pathset.remove(auto_confirm, verbose)
File "/usr/lib/python3/dist-packages/pip/_internal/req/req_uninstall.py", line 224, in remove
renames(path, new_path)
File "/usr/lib/python3/dist-packages/pip/_internal/utils/misc.py", line 280, in renames
shutil.move(old, new)
File "/usr/lib/python3.7/shutil.py", line 578, in move
os.unlink(src)
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.7/dist-packages/Mopidy_YouTube-3.3.dist-info/INSTALLER'

As being a non programmer, I forgot to use sudo in from.


add service readonly feature to nitrapi

the readonly flag is replacing the old webinterface lock but more general so that we would be able to use it at the app as well


[ WebCan ] Support Opening serial can devices

This should also check to see if the device is already opened by looking for a BELL when attempting to change baud rate.  If the device is already open, it should show that and allow the user to reopen the port on a new baud rate.

Resolved by #9


Alert on no package.json

While #2 is being worked on, it would be good to alert the user if they open Glicky in a project without a package.json present. It would tell them that they should only open Glicky in projects that have been initialised with a package.json (via npm init).

Resolved by #8


Enable Progressbar

Hey folks, as of the current Version of turbolinks (2.5.3) i cannot enable the progressbar with the command from the wiki.
Turbolinks.ProgressBar.enable();
gives me a js error. Using
Turbolinks.enableProgressBar()
on the other hand works without problems. is this an error in the wiki?

Will it work if you add this to your require?
//= require nprogress-turbolinks

This require throws an error - "couldn't find file 'nprogress-turbolinks' with type 'application/javascript'"

The master branch on github is currently at version 3.0.0, and the progress bar API changed from what it was in version 2.  If you want to read the readme for version 2.5.3, go here.

that is. thanks! a hint for that might be nice in the wiki.


[fix]: Redesign whole website and fix broken ui and theme

Full website redesign every page
Both light and dark theme included
Fix broken theme and UI
Make a consistent UI/UX

@kom-senapati May I work on this issue.
It needs for website UI design with both dark and light theme

Ok go ahead. Focus on consistency


Create a tekton task for syft

It'd be great to integrate with the tekton ecosystem as a task, so that people can easily use Syft in their tekton pipelines.
At the time of writing, there are only 3 tasks in the category of "security" in the tekton catalog.
See here for details: https://github.com/tektoncd/catalog#tekton-catalog

This would be really important for us as well, we are developing a company wide tekton based pipeline solution. Clearly we can roll our own, but having this available for folks to use would be nice

I want to work on this issue, can you please assign it to me @luhring? :)

Similar issue for Grype: https://github.com/anchore/grype/issues/232

@developer-guy are you still interested in working on this issue? If so, no rush! Just trying to get a pulse on this issue 👍

yes of course 🚀

https://github.com/tektoncd/catalog/pull/895/commits/ff56730497cbf80b6e9c1fdcb03d48097e3f87b3
I've completed the syft one 🙋🏻♂

@developer-guy highest of fives!

Tracking @developer-guy PR here 🎉  https://github.com/tektoncd/catalog/pull/895

we can close this one due the PR above is merged 🥳🕺🏻

🎊


Satellite images

Also fixed a satellite select button (works with the search bar as well) and collision prediction

Suggestion: Move the image down a bit, so the name and maybe some information about the satellite is showing when the popup is not extended. So you don't have to extend the window to see the name.

Nice! Snygg 404 logga!
Vi kanske skulle kunna visa fler decimaler på collision prediction ifall vi har det?


Using IMutableProperty.AfterSaveBehavior from other than OnModelCreating?

Can we do the AfterSaveBehavior from a place other than OnModelCreating?
I mean the AfterSaveBehavior should be dynamic, so that whenever I update I should be able to change the AfterSaveBehavior.
Further technical details
EF Core version: 2.1.0
Database Provider:  Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 10
IDE: (e.g. Visual Studio 2017 15.7.4)

Hi,
The use case is, depending on the user permissions one user can update certain columns and the other user can't update those columns. So depending on the logged in user, the update should be changed dynamically.
Thanks,
Srinivas Pulla.

@SrinivasSrinivas We discussed this in triage and agreed that this behavior is by-design a feature of the model that is intended to be used for things that are structurally required to be, for example, read-only after save. For example, PK properties. Dynamically deciding and implementing user-level behaviors should really be done in business logic, and not through mutation of the model.


Bumped cilium to v1.11.9

This PR:

bumped default version to latest v1.11 patch (v1.11.9)

This is required for compatibility with Ubuntu 22.04 (see https://github.com/kubernetes-sigs/kubespray/issues/9039#issuecomment-1199904978 for details)
Testing
Description on how cilium can be tested.

[ ] fresh install works

[ ] AWS
[ ] Azure
[ ] KVM

[ ] upgrade from previous version works

[ ] AWS
[ ] Azure
[ ] KVM

Other testing
Description of features to additionally test for cilium installations.

[ ] check reconciliation of existing resources after upgrading
[ ] X still works after upgrade
[ ] Y is installed correctly

Checklist

[ ] Update changelog in CHANGELOG.md.
[ ] Make sure values.yaml and values.schema.json are valid.

You're right, looks like the healthcheck port changed. Will get another PR up for that.


Changing CellRawValue Variant to be more meaningful

@MathNya, The Variant of Enum CellRawValue is given as Null. I find it to be confusing to the user. Therefore, I changed the name of the default item of the CellRawValue to be Empty to be more meaningful.
In src/structs/cell_value.rs & src/structs/cell.rs the function set_value() if given text "NULL" would store nothing into a cell, which can also be achieved when passed "". Therefore, I feel this should be rationalised.
Note: This would be a breaking change

@MathNya, I need to clarify some things, what is the difference between Str Variant and String variant in CellRawValue Enum. Kindly also explain the need for Inline Variant when inline strings are stored as strings anyway.


Start Chat hotkey is the same as Redo hotkey on Windows.

Describe the bug
The Start Chat hotkey is the same as Redo Hotkey on Windows. (Ctrl - Y)
How to reproduce
Ctrl Y opens up Start Chat, versus Redo.
Expected behavior
The extension should not be setting hotkeys similar to standard hotkeys.
Recommend using a different hotkey for Start Chat.
Screenshots

@all-contributors add @MercerK for bug


Add Rook to trail map

Deploy preview for landscape ready!
Built with commit 23360e0dc6c7dea9add6b3aa70be31bced5e816e
https://deploy-preview-849--landscape.netlify.com


Allow third-party implementations for data sources

Is your feature request related to a problem? Please describe.
We've made some assumptions in caikit that for places where data locations are described in our APIs, like DataStreamSource parameters or the output_path top-level training api parameter, either files will simply exist on disk or an s3 blob is "good enough" to locate the data.
However, for security-minded applications, this requires that a consuming application be responsible for securely fetching user data and providing it to caikit. This:

may be onerous in the context of a distributed application where services that need data are always responsible for fetching it themselves
may not meet security requirements if the user data has to land on disk for caikit to read

Describe the solution you'd like
Similar to how caikit allows third-party implementations of trainers finders and initializers, we think an abstraction for data sources may be necessary. This would allow users of caikit to plug in their own data fetching implementation to meet their own security requirements.
Describe alternatives you've considered
Additional context
This may affect the generated service APIs?????

This has been completed with the addition of Output Target in #546