Error removing toil/src directory from python path

When installed from pip (pip install git+http://github.com/bd2kgenomics/toil) into a virtualenv:

Added job: b/k/jobHAlTgv to active jobs
Built the jobs list, currently have 1 jobs to update and 0 jobs issued
Issuing the command: /home/alden/progressiveCactus/python/bin/python -E /home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/toil/worker.py /home/alden/progressiveCactus/submodules/cactus/pipeline/toil b/k/jobHAlTgv with memory:<PHONE_NUMBER>, cores: >1, disk:<PHONE_NUMBER>
Issued job with job store ID: b/k/jobHAlTgv and job batch system ID: 98 and cores: 1, disk: >2147483648, and memory:<PHONE_NUMBER>
Acquiring<PHONE_NUMBER> bytes of memory from pool of<PHONE_NUMBER>854775807.
Attempting to acquire 10 threads for 1 cpus submitted
Acquiring semaphore blockingly.
Semaphore acquired.
Executing command: '/home/alden/progressiveCactus/python/bin/python -E /home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/toil/worker.py /home/alden/progressiveCactus/submodules/cactus/pipeline/toil b/k/jobHAlTgv'.
Traceback (most recent call last):
File "/home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/toil/worker.py", line >24, in
sys.path.remove(os.path.dirname(os.path.abspath(file)))
ValueError: list.remove(x): x not in list
Got exit code 1 (indicating failure) from command '/home/alden/progressiveCactus/python/bin/python -E /home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/toil/worker.py /home/alden/progressiveCactus/submodules/cactus/pipeline/toil b/k/jobHAlTgv'.

I want to get rid of that hack but for now we should just catch the ValueError and move on. I am puzzled though as to why this started happening. When running /foo/bar.py python always adds /foo to sys.path.
BTW: Not a big fan of installing from git.  Does "pip install --pre toil" not work? That way you'd get a build that is guaranteed to have passed the test suite.

I still get this error when installing with "pip install --pre toil"

Okay, I'll switch to the pre-release version.

Actually it looks like this fix won't be good enough. I'm getting the conflict with toil.resource now:

n/n/jobZpx21Q:	  File "/home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/toil/worker.py", line 221, in main
n/n/jobZpx21Q:	    startClock = getTotalCpuTime()
n/n/jobZpx21Q:	  File "/home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/toil/lib/bioio.py", line 179, in getTotalCpuTime
n/n/jobZpx21Q:	    return getTotalCpuTimeAndMemoryUsage()[0]
n/n/jobZpx21Q:	  File "/home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/toil/lib/bioio.py", line 170, in getTotalCpuTimeAndMemoryUsage
n/n/jobZpx21Q:	    me = resource.getrusage(resource.RUSAGE_SELF)
n/n/jobZpx21Q:	AttributeError: 'module' object has no attribute 'getrusage'

Could you please print file and sys.path and post the sys.path right before this happens and post the output here?

0/H/job6n3SVo:	---TOIL WORKER OUTPUT LOG---
0/H/job6n3SVo:	Next available file descriptor: 7
0/H/job6n3SVo:	DEBUG:main:Next available file descriptor: 7
0/H/job6n3SVo:	Parsed job
0/H/job6n3SVo:	DEBUG:main:Parsed job
0/H/job6n3SVo:	INFO:toil.lib.bioio:Path = ['/home/alden/progressiveCactus/python/lib/python2.7/site-packages/toil', '/home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg', '/home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/psutil-0.5.0-py2.7-linux-x86_64.egg', '/home/alden/progressiveCactus/python/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg', '/home/alden/progressiveCactus/python/lib/python2.7/site-packages/psutil-0.5.0-py2.7-linux-x86_64.egg', '/home/alden/progressiveCactus/python/lib/python2.7', '/home/alden/progressiveCactus/python/lib/python2.7/plat-x86_64-linux-gnu', '/home/alden/progressiveCactus/python/lib/python2.7/lib-tk', '/home/alden/progressiveCactus/python/lib/python2.7/lib-old', '/home/alden/progressiveCactus/python/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/lib-tk', '/home/alden/progressiveCactus/python/local/lib/python2.7/site-packages', '/home/alden/progressiveCactus/python/lib/python2.7/site-packages', '/home/alden/progressiveCactus/submodules']
0/H/job6n3SVo:	INFO:toil.lib.bioio:file = /home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/toil/lib/bioio.pyc
0/H/job6n3SVo:	Traceback (most recent call last):
0/H/job6n3SVo:	  File "/home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/toil/worker.py", line 221, in main
0/H/job6n3SVo:	    startClock = getTotalCpuTime()
0/H/job6n3SVo:	  File "/home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/toil/lib/bioio.py", line 174, in getTotalCpuTime
0/H/job6n3SVo:	    return getTotalCpuTimeAndMemoryUsage()[0]
0/H/job6n3SVo:	  File "/home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/toil/lib/bioio.py", line 165, in getTotalCpuTimeAndMemoryUsage
0/H/job6n3SVo:	    me = resource.getrusage(resource.RUSAGE_SELF)
0/H/job6n3SVo:	AttributeError: 'module' object has no attribute 'getrusage'
0/H/job6n3SVo:	Exiting the worker because of a failed job on host thinkpad
0/H/job6n3SVo:	ERROR:main:Exiting the worker because of a failed job on host thinkpad
0/H/job6n3SVo:	WARNING:toil.jobWrapper:Due to failure we are reducing the remaining retry count of job 0/H/job6n3SVo to 0

Sorry, I meant printing sys.path and __file__ in worker.py before the sys.path modification is done.

Traceback (most recent call last):
File "/home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/toil/worker.py", line >28, in
sys.path.remove(os.path.dirname(os.path.abspath(file)))
ValueError: list.remove(x): x not in list
sys.path: ['/home/alden/progressiveCactus/python/lib/python2.7/site-packages/toil', '/home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg', '/home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/psutil-0.5.0-py2.7-linux-x86_64.egg', '/home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg', '/home/alden/progressiveCactus/python/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg', '/home/alden/progressiveCactus/python/lib/python2.7/site-packages/psutil-0.5.0-py2.7-linux-x86_64.egg', '/home/alden/progressiveCactus/python/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg', '/home/alden/progressiveCactus/python/lib/python2.7', '/home/alden/progressiveCactus/python/lib/python2.7/plat-x86_64-linux-gnu', '/home/alden/progressiveCactus/python/lib/python2.7/lib-tk', '/home/alden/progressiveCactus/python/lib/python2.7/lib-old', '/home/alden/progressiveCactus/python/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/lib-tk', '/home/alden/progressiveCactus/python/local/lib/python2.7/site-packages', '/home/alden/progressiveCactus/python/lib/python2.7/site-packages']
file: /home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/toil/worker.py

I think I know what it is. Can you print the result of os.path.abspath(file) as well. I think one of the directories that make up the path   /home/alden/progressiveCactus/python/lib/python2.7/site-packages/toil is a symlink.

sys.path: ['/home/alden/progressiveCactus/python/lib/python2.7/site-packages/toil', '/home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg', '/home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg', '/home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/psutil-0.5.0-py2.7-linux-x86_64.egg', '/home/alden/progressiveCactus/python/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg', '/home/alden/progressiveCactus/python/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg', '/home/alden/progressiveCactus/python/lib/python2.7/site-packages/psutil-0.5.0-py2.7-linux-x86_64.egg', '/home/alden/progressiveCactus/python/lib/python2.7', '/home/alden/progressiveCactus/python/lib/python2.7/plat-x86_64-linux-gnu', '/home/alden/progressiveCactus/python/lib/python2.7/lib-tk', '/home/alden/progressiveCactus/python/lib/python2.7/lib-old', '/home/alden/progressiveCactus/python/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/lib-tk', '/home/alden/progressiveCactus/python/local/lib/python2.7/site-packages', '/home/alden/progressiveCactus/python/lib/python2.7/site-packages']
os.path.aspath(file): /home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/toil/worker.py
os.path.dirname(os.path.abspath(file)): /home/alden/progressiveCactus/python/local/lib/python2.7/site-packages/toil

It seems that /home/alden/progressiveCactus/python/local is a symlink to /home/alden/progressiveCactus/python
Could you verify that by running ls -l /home/alden/progressiveCactus/python

alden@thinkpad:~$ ls -l /home/alden/progressiveCactus/python
total 20
drwxrwxr-x 2 alden alden 4096 Aug 28 11:36 bin
drwxrwxr-x 2 alden alden 4096 Aug 27 16:50 include
drwxrwxr-x 3 alden alden 4096 Aug 27 16:50 lib
drwxrwxr-x 2 alden alden 4096 Aug 27 16:50 local
drwxrwxr-x 3 alden alden 4096 Aug 27 16:50 share
On Fri, Aug 28, 2015 at 2:35 PM, Hannes Schmidt<EMAIL_ADDRESS>wrote:

It seems that /home/alden/progressiveCactus/python/local is a symlink to
/home/alden/progressiveCactus/python
Could you verify that by running ls -l
/home/alden/progressiveCactus/python
—
Reply to this email directly or view it on GitHub
https://github.com/BD2KGenomics/toil/issues/290#issuecomment-135894036.

Just for posterity: Alden and I confirmed that he's got symlinks in /home/alden/progressiveCactus/python/local. Solution will be to apply abspath to each sys.path before comparing and removing.


[FEATURE] Dockerize the application

Description
Right now, we have to go through the manual procedure of setting up the project, after installing the nodejs, npm and then the backend frontend and the db by ourselves, which consumes lots of time, instead it would be nice to have a dockerized approach where in we don't have to much bother about the version dependencies and the initial setup.
Use Case
It would solve the problem of mismatch of the nodejs and npm versions.
Proposed Solution
No response
Additional Information
No response
Attachments
No response

Can I go ahead with the issue sir ?

@PrakharSinha-09 please don't mind, @LondheShubham153 has things already setup. Can you kindly join us in the Auth feature?

Sure Sir!

Thanks @PrakharSinha-09  @krishnaacharyaa

Grateful to @krishnaacharyaa  for creating the project and to @LondheShubham153 for expert guidance in DevOps engineering, Dockerization, and deployment. Heartfelt thanks to both for their invaluable contributions.

I hope you're doing great! As a GSSoC contributor, I'm keen on ramping up my involvement for GSSoC'24. Could you please assign this issue to me? I'm excited to continue contributing to the project. Thanks a bunch!

@LondheShubham153  can i work on this one sir If you don't mind

its already done, yet to be merged @devmadhup has worked in this issue
On Sun, 9 Jun 2024 at 13:31, Ameer jafar @.***> wrote:

@LondheShubham153 https://github.com/LondheShubham153 can i work on
this one sir If you don't mind
—
Reply to this email directly, view it on GitHub
https://github.com/krishnaacharyaa/wanderlust/issues/131#issuecomment-2156376477,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFUDZSYAITZRAAQWXKPPTU3ZGQDVBAVCNFSM6AAAAABF3QST2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWGM3TMNBXG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

@krishnaacharyaa can i work on this enhancement sir

Please go ahead , make sure you optimize it , and it is one line , seemless experience for the new people who are setting up the project,
Mongodb should be prefilled with the sample.json data, kindly take care of this aswell

can i Do this task sir in this project...


Config in interface constants

Is SEOStats configured by directly editing interface constants inside the vendor directory?
eg, vendor/seostats/seostats/SEOstats/Config/ApiKeys.php for mozscape API keys
Maybe something like https://github.com/vlucas/phpdotenv would be a better approach.

+1

+1

+1

Is there currently any workaround to set the API keys in case the vendor directory is not checked-in?

We try to make a PR

any news?

Closed by merging @mhammerschmidt's PR (#131)


Cannot subtract from pointer

Describe the bug
Compiler mistakenly gives a type error when subtracting from pointer.
Code

int main() {
        int a[5];
        int *p;
        p = &a[1];
        p -= 1;
}
<stdin>:5:8: error: cannot implicitly convert 'long' to 'int *'. help: use an explicit cast: (int *)

Duplicate of #25


RFM - tsedat

I am mostly stepping away from chocolatey as I do not really use it anymore and don't really have time to upkeep my packages (fixing issues or checking and seeing if everything is still working as it should be) I have been maintaining for a good while now, so I am currently on the lookout for someone to take over pretty much all my packages (I'll be creating an issue for each package).

Current Maintainer

[x] I am the maintainer of the package and wish to pass it to someone else;

Checklist

[x] Issue title starts with 'RFM - '

Existing Package Details
Package URL: https://chocolatey.org/packages/tsedat
Package source URL: https://github.com/JourneyOver/chocolatey-packages/tree/5046f4d352f51a07a95bd40762275339949f6b81/automatic/tsedat

Hello,
I'll take this one.
Can you add me as maintainer ? tunisiano
Thank you

@tunisiano187 I have added you as a maintainer (that you need to accept), thanks for taking over the package.

Thank you.
That's ready for the next update.
Have a nice day.

Done and approved
Have a nice day


Extension install is cludgy

Current install process involves copying files into the correct folders, and editing an existing file, making symlinking or other shortcuts impossible.
Installing an extension should only requiring dropping in the extension files.

Extensions can now be symlinked in.


Fix link example

Edit: This now fixes the media example as well as the link example.
The link and media examples were using an outdated syntax that changed
in #376.
Old syntax:
const entityKey = Entity.create('LINK', 'MUTABLE', {url: urlValue});

Correct:
const contentStateWithEntity = contentState.createEntity(
  'LINK',
  'MUTABLE',
  {url: urlValue}
);
const entityKey = contentStateWithEntity.getLastCreatedEntityKey();

Also while working on this, removed the 'require' of 'Entity' in the
'entity' example.
This closes #676

@flarnie LGTM 👍

@flarnie, I practiced  link example and found that
  contentState.createEntity is not a function

Draft.JS version
"draft-js": "^0.9.1",

ok, it's as same as #679

@tingwei628 PRs are not the place for asking for help ;) Posting on the actual issue is the way to go.

@johanneslumpe, got it!
Thank you!


S3 timeout during request to meta

I'm getting this error:
** (exit) exited in: GenServer.call(ExAws.Config.AuthCache, {:refresh_config, %{access_key_id: [{:system, "AKIAJ6LWBSSVXLXR3OGA"}, :instance_role], host: %{"ap-northeast-1" => "s3-ap-northeast-1.amazonaws.com", "ap-southeast-1" => "s3-ap-southeast-1.amazonaws.com", "ap-southeast-2" => "s3-ap-southeast-2.amazonaws.com", "eu-central-1" => "s3-eu-central-1.amazonaws.com", "eu-west-1" => "s3-eu-west-1.amazonaws.com", "sa-east-1" => "s3-sa-east-1.amazonaws.com", "us-east-1" => "s3.amazonaws.com", "us-west-1" => "s3-us-west-1.amazonaws.com", "us-west-2" => "s3-us-west-2.amazonaws.com"}, http_client: ExAws.Request.HTTPoison, json_codec: Poison, region: "us-east-1", scheme: "https://", secret_access_key: [{:system, "WJoAaH70Y4Aw8iu3pTMlHWplypKOJFaIFjnwfrfB"}, :instance_role]}}, 10000)
    ** (EXIT) an exception was raised:
        ** (CaseClauseError) no case clause matching: {:error, %{__exception__: true, id: nil, reason: :connect_timeout}}
            (ex_aws) lib/ex_aws/instance_meta.ex:5: ExAws.InstanceMeta.request/2
            (ex_aws) lib/ex_aws/instance_meta.ex:15: ExAws.InstanceMeta.security_credentials/1
            (ex_aws) lib/ex_aws/config/auth_cache.ex:37: ExAws.Config.AuthCache.refresh_config/2
            (ex_aws) lib/ex_aws/config/auth_cache.ex:27: ExAws.Config.AuthCache.handle_call/3
            (stdlib) gen_server.erl:629: :gen_server.try_handle_call/4
            (stdlib) gen_server.erl:661: :gen_server.handle_msg/5
            (stdlib) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
    (elixir) lib/gen_server.ex:682: GenServer.call/3

My config looks like this:
config :ex_aws,
  access_key_id: [{:system, "my_access_key_id"}, :instance_role],
  secret_access_key: [{:system, "my_secret_access_key"}, :instance_role],
  s3: [
    region: "us-east-1"
  ]

I see that the error happens during ExAws.InstanceMeta.request/2. Am I doing anything wrong?

2 things.

Is this happening on an AWS instance or on your local dev box?
Why are you setting s3 config, the us-east-1 region is default.

If for (1) you're on your local dev box, the issue is that System.get_env("my_access_key_id") is returning nil, which means your AWS key environment variables are not set correctly.

@benwilson512 I see what I was doing wrong now. Your response helped me identify and fix the issue.
I should have read Readme more carefully, my bad. Thanks for helping out!

No problem!
I should probably match on errors there and raise a message that offers this explanation.


docs: OLM integration docs reference new commands (new and legacy CLI)

Description of the change:

website/content/en/docs/olm-integration: rewrite docs with new generate subcommands, and move legacy docs to the legacy/ child directory.
cmd/operator-sdk: remove bundle create references, which will be deprecated soon in favor of generate bundle.

Motivation for the change: generate bundle, generate packagemanifests, and run packagemanifests are available in both new and legacy CLI's. OLM integration docs should be updated to reflect this
/cc @joelanford @shawn-hurley @jmrodri @hasbro17
/kind documentation

Seems pretty good overall. I just need to finish going through the legacy OLM docs.


Fixed Dark Mode On AddCustomRPCNetwork Screen

Tap Settings > Select Active Networks > Plus.

Before
After

merge after rebase when you ready


Rclone beta: 'panic: runtime error: invalid memory address or nil pointer dereference'

I was running this software:
rclone v1.48.0-147-g873e87fc-beta

os/arch: linux/amd64
go version: go1.12.7
rclone-browser 1.2

All my attempts at restoring files, via rclone-browser, yielded the following.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x60 pc=0x99aa59]

goroutine 1 [running]:
github.com/rclone/rclone/fs/operations.moveOrCopyFile(0x183af40, 0xc0000ba010, 0x184f760, 0xc000161c00, 0x0, 0x0, 0x7fffc9f564bf, 0x9, 0x7fffc9f564bf, 0x9, ...)
/home/travis/gopath/src/github.com/rclone/rclone/fs/operations/operations.go:1640 +0xe9
github.com/rclone/rclone/fs/operations.CopyFile(...)
/home/travis/gopath/src/github.com/rclone/rclone/fs/operations/operations.go:1743
github.com/rclone/rclone/cmd/copy.glob..func1.1(0xc00000c400, 0xc000000180)
/home/travis/gopath/src/github.com/rclone/rclone/cmd/copy/copy.go:81 +0xf3
github.com/rclone/rclone/cmd.Run(0xc000340101, 0x23f5620, 0xc0005dfd38)
/home/travis/gopath/src/github.com/rclone/rclone/cmd/cmd.go:234 +0xc7
github.com/rclone/rclone/cmd/copy.glob..func1(0x23f5620, 0xc00034a000, 0x2, 0x12)
/home/travis/gopath/src/github.com/rclone/rclone/cmd/copy/copy.go:77 +0x129
github.com/rclone/rclone/vendor/github.com/spf13/cobra.(*Command).execute(0x23f5620, 0xc0000ede60, 0x12, 0x12, 0x23f5620, 0xc0000ede60)
/home/travis/gopath/src/github.com/rclone/rclone/vendor/github.com/spf13/cobra/command.go:830 +0x2ae
github.com/rclone/rclone/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x23f2420, 0x5d57371e, 0x2408fa0, 0xc0000ae058)
/home/travis/gopath/src/github.com/rclone/rclone/vendor/github.com/spf13/cobra/command.go:914 +0x2fc
github.com/rclone/rclone/vendor/github.com/spf13/cobra.(*Command).Execute(...)
/home/travis/gopath/src/github.com/rclone/rclone/vendor/github.com/spf13/cobra/command.go:864
github.com/rclone/rclone/cmd.Main()
/home/travis/gopath/src/github.com/rclone/rclone/cmd/cmd.go:499 +0x96
main.main()
/home/travis/gopath/src/github.com/rclone/rclone/rclone.go:13 +0x20

The files remain accessible via rclone itself. I found that V1.48 or rclone was out of beta. I installed the non-beta version of 1.48. Now rclone-browser works again. Here is the software I have now.
rclone v1.48.0

os/arch: linux/amd64
go version: go1.12.6
rclone-browser 1.2

OS: Linux Mint 19.2 Cinnamon

This is crash in rclone itself, report it to rclone issues.


React-native: Not possible to use remote debug after client.connectWithSession

I'm trying to create a connection using client.connectWithSession method. When it connect successfully, the application crashes.

Versions:
React-native: 0.45.1
layer-websdk: 3.3.3
Emulator:
Genymotion - android 7.1.0

That is certainly an interesting definition of "connect successfully".
Can you replicate this with a bare-bones "Hello World" React Native project that contains nothing but the websdk?  If so, please share the project as well as instructions for running it.  If not, maybe there's a hint there for you to follow up on.
Concerning time frame, it will be at least a few weeks before we can take a closer look at this.

You can use your react-native example
https://www.dropbox.com/s/ptrwxcyg6w4wlvg/LayerReactNativeSample.zip?dl=0

We have the same crash when we enable Remote JS Debugging on Android. The error comes from a JSON decoding library, there seems to be some conflict with web sockets. My best guess is that the the remote debugging code receives a message from Layer.

Is there any progress with that? We are also experiencing this only on Android. Thanks!


Lineage : Number is displayed in side drawer instead of dashboard name and superset url

Affected module
UI
Describe the bug
Number is displayed in side drawer instead of dashboard name and superset url
To Reproduce

Expected behavior
Dashboard name should be displayed
Version:

OpenMetadata version: 0.9.0

Additional context
Add any other context about the problem here.

@Sachin-chaurasiya @darth-coder00

Same is happening on activity feed
https://user-images.githubusercontent.com/83201188/157458264-3b564d45-73f4-4794-858b-329b8aa01348.mov


cmd/server: remove qledger

Fixes: https://github.com/moov-io/accounts/issues/58

Codecov Report

Merging #69 into master will decrease coverage by 6.93%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #69      +/-   ##
==========================================
- Coverage   63.94%   57.01%   -6.94%
==========================================
  Files          11        9       -2
  Lines         846      656     -190
==========================================
- Hits          541      374     -167
+ Misses        228      214      -14
+ Partials       77       68       -9

Impacted Files
Coverage Δ

cmd/server/account_storage.go
0% <ø> (ø)
:arrow_up:

cmd/server/transaction_storage.go
50% <ø> (+8.33%)
: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 014e6a3...94824e3. Read the comment docs.


setUserId

Hello, In setUserId function of PiwikTracker:
How can we set the userId if
1-  By default it is null ( this.userId = null; in constructor )
2- Before changing the userId value we check if the current userId is null or empty and throw an exception when it is the case.
Got this in decompiled code from nuget PiwikTracker v 2.7
public void setUserId(string userId)
{
if (userId == null)
{
this.setNewVisitorId();
}
else
{
if (string.IsNullOrEmpty(this.userId))
throw new Exception("User ID cannot be empty.");
this.userId = userId;
}
}
I think we shall replace  if (string.IsNullOrEmpty(this.userId)) by  if (string.IsNullOrEmpty(userId))
Sincerely.
H.T

You have found a bug thank you.
The bug is at line https://github.com/piwik/piwik-dotnet-tracker/blob/2.7.0/Piwik.Tracker/PiwikTracker.cs#L1103
            if (string.IsNullOrEmpty(this.userId)) {
                throw new Exception("User ID cannot be empty.");
            }

should be
            if (string.IsNullOrEmpty(userId)) {
                throw new Exception("User ID cannot be empty.");
            }

As in https://github.com/piwik/piwik-php-tracker/blob/1.0.1/PiwikTracker.php#L1119
        if ($userId === '') {
            throw new Exception("User ID cannot be empty.");
        }

Thanks for reporting the bug.
It has been fixed and published in version 2.8.0 : https://www.nuget.org/packages/Piwik.Tracker/2.8.0


Update WebRTC to M120

Updated to latest available WebRTC version - M120.

Random unrelated that unit tests failed?

More like a testing timeout, need to investigate this as CI started to regularly time out.


Fixed in 6d41a3a0270a56e2261a6e4e8559cad352de6e60


[#1352, #1349, #1350] Infer nullability from entity view mappings for attributes in GraphQL schema

Description

Related Issue

Fixes #1352. Fixes #1349. Fixes #1350
Motivation and Context

This is pretty awesome 😃


Allow optional X selection copy/paste on Linux

As an X11 greybeard I use select-to-copy/middle-click-to-paste more than the standard clipboard. This patch lets us specify 'xsel=True' as an optional argument to copy() and paste() to enable that behaviour.

Add optional argument to also copy into the X primary selection
for middle-click copy/paste ability on Linux.
Use unique text for each test run

:sparkles: :cake: :sparkles:


Node Guide

I understand the node guide is coming but would it be possible for simple bullet point steps on how to run a node in order to serve the site and also earn coins into the account / wallet?
I mean the pocketcoind and pocketcoin-cli combo.
Cheers

cc @pocketnetteam @iskatel56 @only1question @elliottminns

cc @pocketnetteam @iskatel56 @only1question @elliottminns

https://pocketnet.app/help?page=node

https://pocketnet.app/help?page=node


Union types are not applied on properties

I expect properties to inherit union types
type Student = {
	type: 'student'
}

type Teacher = {
	type: 'teacher'
}

const getType = (someone : Student | Teacher) =>  someone.type;

const type = getType({ type: 'student' });

('student' : typeof type);
// ^ string literal `teacher` [1] is incompatible with string literal `student` [2].

Not a bug.
Type of type is "teacher" | "student" as expected.

Regression from Flow 0.55.0


inconsistencies in version ids

This concerns versions that were re-uploaded. There seems to be no consistent 'format' for the ids of these versions.

Some version ids copy the omniarchive id

server-c1.4 re-upload -> server-c1.4-1327
server-a0.1.1 re-upload -> server-a0.1.1-1707
a1.2.0_02 (launcher) -> a1.2.0_02-launcher
server-a0.2.5 -> server-a0.2.5-0923
server-a0.2.5 re-upload -> server-a0.2.5-1004
b1.3 -> b1.3-1647 (while the first re-upload follows the incremental suffix format)
b1.3 second re-upload -> b1.3-1731 (while the first re-upload follows the incremental suffix format)
b1.9-pre4 -> b1.9-pre4-1425
b1.9-pre4 first re-upload -> b1.9-pre4-1435
b1.9-pre4 second re-upload -> b1.9-pre4-1440 (which also has a dead download link, since the omniarchive version is b1.9-pre4-1441)
12w05a -> 12w05a-1354
12w05a re-upload -> 12w05a-1442
13w03a first re-upload -> 13w03a-1538
13w03a second re-upload -> 13w03a-1647
13w05a -> 13w05a-1504
13w05a re-upload -> 13w05a-1538
13w06a -> 13w06a-1559
13w06a re-upload -> 13w06a-1636
1.5.2-pre re-upload -> 1.5.2-pre-250903

Some version ids have a number suffix that increments for every re-upload. There are also inconsistencies in whether the original gets a suffix, and whether the first re-upload gets suffix -1 or -2.

c0.0.19a_06 re-upload -> c0.0.19a_06-2
a1.0.13_01 -> a1.0.13_01-1
a1.0.13_01 re-upload -> a1.0.13_01-2
a1.0.14-> a1.0.14-1
a1.0.14 re-upload (launcher) -> a1.0.14
a1.0.14 re-upload -> a1.0.14-2
a1.1.0 -> a1.1.0-1
a1.1.0 (launcher, supposedly a pre-re-upload version) -> a1.1.0
a1.1.0 re-upload -> a1.1.0-2
b1.1 re-upload -> b1.1-2
b1.3 first re-upload -> b1.3-1 (while the pre-re-upload and second re-upload follow the omni-id format)
b1.8-pre1 -> b1.8-pre1-1
b1.8-pre1 re-upload -> b1.8-pre1-2
b1.9-pre3 re-upload -> b1.9-pre3-2
1.0.0-rc2 -> 1.0.0-rc2-1
1.0.0-rc2 first re-upload -> 1.0.0-rc2-2
1.0.0-rc2 second re-upload -> 1.0.0-rc2-3

Some version ids are not unique

a1.0.4 and a1.0.4-launcher on omniarchive both get id a1.0.4 in mc-versions
b1.2_02 and b1.2_02-launcher on omniarchive both get id b1.2_02 in mc-versions
b1.4-1507 and b1.4-1634 on omniarchive both get id b1.4 on mc-versions

Additionally there are some version ids that appear wrong, but I might be mistaken here.

inf-20100617-2 and inf-20100617-3 should be inf-20100617-1 and inf-20100617-2 respectively.

All ids in mc-versions are based on omniarchive as much as possible (sometimes client and servers are a few minutes apart, omniarchive tracks them separately and mc-versions only assigns a single id to both)

Some version ids have a number suffix that increments for every re-upload. There are also inconsistencies in whether the original gets a suffix, and whether the first re-upload gets suffix -1 or -2

That's incorrect, at least for the first couple you list (I haven't checked them all). mc-versions calls those c0.0.19a_06-0137, a1.0.13_01-1038, a1.0.13_01.1444, etc.
I suppose you're going by the file name of the jar?

Some version ids are not unique
a1.0.4 and a1.0.4-launcher on omniarchive both get id a1.0.4 in mc-versions

No, mc-versions has both

b1.2_02 and b1.2_02-launcher on omniarchive both get id b1.2_02 in mc-versions

mc-versions has both, but looks like the url for the b1.2_02 JAR incorrectly points to the launcher one as well

b1.4-1507 and b1.4-1634 on omniarchive both get id b1.4 on mc-versions

mc-versions has both and points to betacraft/archive.org for -1507 and to mojang for -1634

I was going off a copy of the manifest json in my gradle cache somewhere. I suppose it's been there for a long time at this point, and has some outdated information? I double checked all the cases I listed, they do occur that way in my copy of the manifest. I'll redownload the manifest and re-assess.

Hmm I am still seeing the same issues. In case it helps, I downloaded the manifest from (https://skyrising.github.io/mc-versions/version_manifest.json), but I can also see them in the repo. For example:

c0.0.19a_06-0137
b1.4-1634
b1.4-1507

It looks like in the main manifest the version ids do not match the version ids listed in the version specific manifests. For example b1.4-1507 main manifest vs version specific manifest

Yes, the main manifest lists both id and omniId. The idea behind that was that the id would match id in the version specific manifest (data/manifest/..., since that would be coming from Mojang).
Since the introduction of generated version specific manifests (data/version/manifest/...) it would probably make sense to use the omni/mc-versions id in the main manifest id as well.

it would probably for the best, since afaik tools like Loom parse versions from the manifest through these ids

on the other hand we'll get versions like 1.3 and 13w36a which will get really ugly ids like 1.3-pre-07261249 and 13w36a-09051446 which makes them hard to use also - it's just that at the moment these ids are not unique which is a bit problematic


fix: Update indexes to optimise the performance for git flows

Description

Update indexes to improve query performance for git flows. Please check performance advisor for more details:
https://cloud.mongodb.com/v2/5c9f1373014b76f3442f7ced#metrics/replicaSet/5f3e37324edf3c3e844f31ee/advisor/createIndexes

Fixes #https://github.com/appsmithorg/appsmith/issues/13130
Type of change

Bug fix (non-breaking change which fixes an issue)

/ok-to-test sha=3b37f5e

/ok-to-test sha=ede53eb


feat: add contributors on readme

Description

feat: add contributors on readme

Type of change

📖 documentation

@jiyuan0125 what do you think about this PR?

This idea is great. Tribute to every contributor.


chore(main): release 1.3.2

:robot: I have created a release beep boop
1.3.2 (2024-07-13)
Bug Fixes

enable cursorline even if not enabled (b1147c9)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.3.2
:sunflower:


how to  upload private or public certificate to one web app

According to my research,  we can use the rest api to create certificate

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}?api-version=2016-03-01

Can I use it to upload private and public certificate to one web app? If ok, how to do

HI @test123114 is this helpful to you? https://docs.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-custom-ssl

Ok. I will check it

Hi @test123114, Can we close it if you feel the link is helpful. thanks


Is it a good idea to support some popular indicators directly?

🌟 Feature Description

Support some popular indicators directly like RSI, KDJ, DMI, BOLL KCHANNEL.
Motivation

Application scenario
Technical indicators are very popular in technical anlysis area. If we want to add a RSI, we need to write a lot of code like
""Sum(Greater($close-Ref($close, 1), 0), %d)/(Sum(Abs($close-Ref($close, 1)), %d)+1e-12)" % (d, d) for d in windows"

Related works (Papers, Github repos etc.):
TALib: https://mrjbq7.github.io/ta-lib/

Any other relevant and important information:
The implemetations of the indicator sometimes are very different. But we can stick our own version with easily extend coding pattern. Then people can extend their own indicator if they don't satisfy qlib's version.

Alternatives

Additional Notes

@you-n-g how do you think?


POST request parameters not properly added/rewritten

Hi, greets from Italy! I hope this is a real issue and not just me overlooking something.
I am attempting to write a phishlet for proxying the Microsoft Outlook login mechanism (login.live.com) and I stuck at a JS fetch request towards the endpoint for obtaining the auth token: a POST request containing body parameters, one of those is the redirect_uri.
This request is made by a JS script getting the actual phishing URL, writing it in the parameters as URL encoded string and then sending the request.
Auto filters are enabled, so every URL should be rewritten to the phishing domain, but this doesn't happen for this request. This is the first thing that is strange to me, as all the other URLs are properly rewritten and all domains proxied.
The second thing is that given this, I tried basically to rewrite it using force_post, but this doesn't work either. For testing purposes, I tried to force post parameters in 3 different paths with 3 different domains, guess what? It works just on the other two's. :')
This seems strange to me, so that's why I am writing here.
Are those issues, or am I doing something wrong?
In the former, happy to have spotted a problem, in the latter case, sorry for wasting time.
Evilginx v3.2.0 proxied through Burp
Phishlet:
proxy_hosts:
  - {phish_sub: 'login', orig_sub: 'login', domain: 'live.com', session: true, is_landing: true, auto_filter: true}
  - {phish_sub: 'cdn', orig_sub: 'logincdn', domain: 'msauth.net', session: true, is_landing: false, auto_filter: true}
  - {phish_sub: 'account', orig_sub: 'account', domain: 'live.com', session: true, is_landing: false, auto_filter: true}
  - {phish_sub: 'microsoft', orig_sub: 'account', domain: 'microsoft.com', session: true, is_landing: false, auto_filter: true}
  - {phish_sub: 'login.microsoftonline', orig_sub: 'login', domain: 'microsoftonline.com', session: false, is_landing: false, auto_filter: true}
  - {phish_sub: 'www', orig_sub: 'www', domain: 'microsoft.com', session: true, is_landing: false, auto_filter: true}
  - {phish_sub: 'browser.events.data', orig_sub: 'browser.events.data', domain: 'microsoft.com', session: false, is_landing: false, auto_filter: true}
  - {phish_sub: 'graph', orig_sub: 'graph', domain: 'microsoft.com', session: false, is_landing: false, auto_filter: true}

force_post:
  - path: '/ppsecure/post.srf'
    search:
      - {key: 'ps', search: '.*'}
    force:
      - {key: 'NICHOLAS', value: 'YES'}
    type: 'post'
  - path: '/auth/complete-silent-signin'
    search:
      - {key: 't', search: '.*'}
      - {key: 'NAP', search: '.*'}
    force:
      - {key: 'NICHOLAS', value: 'YES'}
    type: 'post'
  - path: '/consumers/oauth2/v2.0/token'
    search:
      - {key: 'client_id', search: '.*'}
      - {key: 'scope', search: '.*'}
      - {key: 'code', search: '.*'}
    force:
      - {key: 'NICHOLAS', value: 'YES'}
    type: 'post'

this can be handled outside the phishlet, edit evilginx to patch this while patching the post-body.

Seems that the problem resides in the fact that, for whatever reason, evilginx is unable to match the URL, so it doesn't trigger the POST body patching. So it's not enough to add hardcoded patching. And it's a feature already provided from the phishlet

yes, I would suggest adding debug prints to evilginx so you know what gone wrong.
evilginx has a lot of weird bugs and features

**Hi 👽 ! If you are interested in ⚙Advanced Phishing⚙ and the ✨Evilginx3✨ tool then I offer you Google Gmail and Custom Phishlets with a ✅Free Tutorial✅ which arrives if the 📈Telegram reaches 50 Subscribers📈
⏳ GOOGLE GMAIL PHISHLET 2024 WITH PROOF ⏳
->
⛔https://www.youtube.com/watch?v=nA47UknIE6A⛔
🔓 Ask your questions and a free tutorial from 50 subs on telegram !!!
->
📩https://t.me/Noremorse1011📩**

oh yeas, already did. filled the code with good print statements.
the problem it's not Url matching, it's not body parsing... it seems that evilginx doesn't catch some packets' bodies, but really strange, when I'll have time I'll post more code here

Been looking at this myself, the code catching the force_post instructions sits inside an if statement that requires a proxy session token to be present in the request here https://github.com/kgretzky/evilginx2/blob/master/core/http_proxy.go#L658. This is the cookie thats set in response to visiting a lure. Any request thats sent without cookies, like your example screenshots, wont include this sessionid and wont event get to the point where the force_post conditions can be checked.
Im looking at doing a code fix for this now that I will do a PR for, just thinking about the best approach for this because I assume this decision has been made for a reason. I might add a boolean field to the force_post structure to allow it to apply without a proxy session in place, or maybe it can just apply regardless...


Error: 500 storage 'local-lvm' is not available on node

Getting this error when creating, I do not have the storage local-lvm in proxmox as it is installed on zfs.
Is it possible to add a option to modify this in a setting?
"master_node_storage=USERSPECIFIED"
"support_node_storage=USERSPECIFIED"
?

Yeah I should be able to get around to that later today. Thanks for the issue!

The option to specify the storage type and id are now available in v0.1.0. Feel free to re-open the issue if this did not solve your problem.

Great!
Thank you very much🙂🔥


Client-side validation: fix terminology

RGB doesn't use pay-to-contract commitment scheme since 2022. I also fixed use of term "associates" to "assigns", as a valid technical term - and added information about single-use seals.

Thank you @bitschmidty for fixing my broken spelling. Sorry, I am not a native English (or human languages) speaker :)

Are there any changes that this PR will get merged? It seems to be quite simple and clearly improves on the invalid use of terminology...


[bug ][http] [v2] Compilation failed in beta.0 version

thread 'main' panicked at 'error while running tauri application: PluginInitialization("http", "invalid type: map, expected unit")', apps/desktop/src-tauri/src/lib.rs:80:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

tauri.conf.json
// If I remove `plugin.http` in the conf file it compiles successfully.
{
 ...
  "plugins": {
    "http": {
      "scope": [
        "*"
      ]
    },
   }
 ...
},

tauri info

[✔] Environment
    - OS: Mac OS 14.2.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.72.0 (5680fa18f 2023-08-23)
    ✔ cargo: 1.72.0 (103a7ff2e 2023-08-15)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 20.11.0
    - pnpm: 8.10.2
    - yarn: 4.0.2
    - npm: 10.2.4

[-] Packages
    - tauri [RUST]: 2.0.0-beta.1
    - tauri-build [RUST]: 2.0.0-beta.0
    - wry [RUST]: 0.35.2
    - tao [RUST]: 0.25.0
    - @tauri-apps/api : not installed!
    - @tauri-apps/cli [NPM]: 2.0.0-beta.0

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:3000/
    - framework: React
    - bundler: Vite

https://github.com/tauri-apps/plugins-workspace/issues/928#issuecomment-1925719547


Cluster Provisioning using Node Provisioning - RKE2 Linode

Similar to https://github.com/rancher/dashboard/issues/2165

RKE2 leverages the node providers already. Closing in lieu of the other RKE2 Linode ticket.

https://github.com/rancher/dashboard/issues/3261 will capture UI's work here.


Azure Monitor: Not Found: MissingSubscription

Hi everybody,
We have an error with the plugin Azure Monitor for Grafana. When I try to configure the Datasource on Grafana, I put all the required fields and I receive the error Azure Monitor: Not Found: MissingSubscription.
If I try to login via powershell with the app credentials (App ID and Key), I login succesfully and I can see the subscription.
Any ideas?
Any help will be appreciated

Hi,
Any ideas please?
Thanks

Where did you get the Subscription Id? The Application Id is something else.
In the Azure Portal, navigate to Subscriptions -> Choose subscription -> Overview -> Subscription ID.

Hi,
Everything it's OK :). The problem was the grafana version included with OMD Labs. I have tested this plugin on Grafana server with the last version (4.5.2) and it works fine.
Thanks!


Default shipping address is always selected automatically

Start order process and go to the shipping address step
Make sure you have atleast 2 shipping addresses (one of them should beloca default)
Select the shipping address that is NOT the default
Press continue
Now go back to the shipping address page (back button on browser or by clicking the "1. Shipping Address" banner.

Result:
The default payment is selected
Expected result:
The payment that we originally selected should be selected.

PR: https://github.com/SAP/cloud-commerce-spartacus-storefront/pull/3664

QA Steps:
Have atleast 1 shipping address

Start order process
Create new shipping address, after creation it should be selected
Restart order process
The default address should be selected
Manually select the other shipping address
Press continue
Press the browser's back button, the second address should still be selected

Tested on dev2.
Verified that after selecting a non-default shipping add, the selection is saved

when clicking on the shipping address tab again
clicking on the browser's back button
clicking on the cart page and proceeding to checkout
logging out and logging back in, clicking on the cart and proceeding to checkout
logging out and logging back in on another browser, clicking on cart and proceeding to checkout

Verified that after placing the order with the non-default shipping add, the next checkout is back to the default one being selected.


what are the robot's dimensions?

I couldn't find it in the site or README, and it's not clear to me from the models, since I'm new to 3d printing.
Thanks!
ps: any chance you have body parts that fit in a 200x200 build plate?

The required build plate dimensions for the slim body are 223x223. I'm afraid that it will be tricky to fit into a 200x200 build plate. However, we also provide the step models. So you could adapt the model, maybe split top and bottom into two pieces and then assemble them.

Closing due to inactivity.

I'd still like to know what the robot's dimensions are. Where can I find that info? Thanks

If anyone is able to split this for a 200x200 Printer 3d printer plate, and reassemble it successfully please share the .stl file. Thank you


Migrate rpc-tests.sh to rpc-tests.py

These are cherry-picks to switch to rpc-tests.py
I have cherry-picked up to the point where Core swiched to python3. So this is all python2.
Commits are cherry-picked from several PRs.
I find the most notable to be:

https://github.com/bitcoin/bitcoin/pull/6616
https://github.com/bitcoin/bitcoin/pull/6804
https://github.com/bitcoin/bitcoin/pull/7135

Needs rebase, I'm ready to test this.

rebased

ACK, everything works.


程序异常，请尝试重启脚本

解决了吗

我也是这个情况啊，一运行就报错

我也是，怎么弄

Traceback (most recent call last):
File "urllib3\connectionpool.py", line 700, in urlopen
File "urllib3\connectionpool.py", line 994, in prepare_proxy
File "urllib3\connection.py", line 364, in connect
File "urllib3\connection.py", line 501, in connect_tls_proxy
File "urllib3\util\ssl.py", line 453, in ssl_wrap_socket
File "urllib3\util\ssl.py", line 495, in _ssl_wrap_socket_impl
File "ssl.py", line 500, in wrap_socket
File "ssl.py", line 1040, in _create
File "ssl.py", line 1309, in do_handshake
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1129)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "requests\adapters.py", line 440, in send
File "urllib3\connectionpool.py", line 785, in urlopen
File "urllib3\util\retry.py", line 592, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /repos/PRaichu/xxqg/releases/latest (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "operation\check_version.py", line 14, in get_latest_version
File "requests\api.py", line 75, in get
File "requests\api.py", line 61, in request
File "requests\sessions.py", line 529, in request
File "requests\sessions.py", line 645, in send
File "requests\adapters.py", line 517, in send
requests.exceptions.SSLError: HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /repos/PRaichu/xxqg/releases/latest (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))
--> 请求版本号失败，请检查你的网络环境
--> 此处报错为版本号请求失败，不会影响程序运行，无需关闭程序
Traceback (most recent call last):
File "xuexi.py", line 113, in
File "custom\xuexi_chrome.py", line 15, in init
File "selenium\webdriver\chrome\webdriver.py", line 70, in init
File "selenium\webdriver\chromium\webdriver.py", line 93, in init
File "selenium\webdriver\remote\webdriver.py", line 269, in init
File "selenium\webdriver\remote\webdriver.py", line 360, in start_session
File "selenium\webdriver\remote\webdriver.py", line 425, in execute
File "selenium\webdriver\remote\errorhandler.py", line 247, in check_response
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary
Stacktrace:
Backtrace:
Ordinal0 [0x00946463+2188387]
Ordinal0 [0x008DE461+1762401]
Ordinal0 [0x007F3D78+802168]
Ordinal0 [0x0080FDFE+916990]
Ordinal0 [0x0080E331+910129]
Ordinal0 [0x00841430+1119280]
Ordinal0 [0x0084108A+1118346]
Ordinal0 [0x0083C5F6+1099254]
Ordinal0 [0x00816BE0+945120]
Ordinal0 [0x00817AD6+948950]
GetHandleVerifier [0x00BE71F2+2712546]
GetHandleVerifier [0x00BD886D+2652765]
GetHandleVerifier [0x009D002A+520730]
GetHandleVerifier [0x009CEE06+516086]
Ordinal0 [0x008E468B+1787531]
Ordinal0 [0x008E8E88+1805960]
Ordinal0 [0x008E8F75+1806197]
Ordinal0 [0x008F1DF1+1842673]
BaseThreadInitThunk [0x76716739+25]
RtlGetFullPathName_UEx [0x776F8FEF+1215]
RtlGetFullPathName_UEx [0x776F8FBD+1165]
--> 程序异常，请尝试重启脚本
--> 当前版本:<IP_ADDRESS>
请按任意键继续. . .

重新下载


Why the plugin is not on the Logseq marketplace?

Just to check if this plugin is ready for production since it's not on the marketplace. I was thinking of trying to hack something together, but I saw your repo and was wondering.
Glad to see another logseq user from Brazil (:

I think it will be very helpful to be able to install without having to build it from source.


unionArrayBy: Find next 1-bits with countTrailingZeros

Closes #374.

The benchmark results are pretty surprising: The mean runtime of the HashMap.union benchmark has literally doubled from ~60μs to ~120μs!
I think this is due to the weird benchmark data of contiguous Ints. Of course it doesn't hurt to increment the index by 1 if the node is full! :/
So, I'll need to improve the benchmark data, maybe simply try with ByteStrings.
Also, check the generated code.

The benchmark results are pretty surprising: The mean runtime of the HashMap.union benchmark has literally doubled from ~60μs to ~120μs!

These numbers are from my desktop with an i7-4790K CPU.
I'm now using my old laptop with an i3-2350M CPU. For the union.Int benchmark I'm seeing a slowdown from 128  μs to 277  μs (116%), for the new union.ByteString benchmark I'm also seeing a slowdown from 167  μs to 240  μs (43%).
That's pretty terrible. I'll have to look at the generated code. At least I know that it matters!

The latest version (eedc32682e456ec22d5154c4693b0f9058faf4ca) finally brings a speed up for the union.ByteString benchmark: 167μs -> 143 μs (-14%).
The union.Int benchmark is still slower at 128μs -> 140μs (+9%), but IMHO less realistic.
(Both measurements are from the ancient laptop.)
I should try another version that computes the indices instead of having them as arguments in the loop.
It might also be interesting to combine the various bitmap checks into a single case expression. Maybe GHC can generate something like a lookup table from this?!

I should try another version that computes the indices instead of having them as arguments in the loop.

Much worse, even if I keep i as a loop variable.

The latest version (eedc326) finally brings a speed up for the union.ByteString benchmark: 167μs -> 143 μs (-14%).
The union.Int benchmark is still slower at 128μs -> 140μs (+9%), but IMHO less realistic.
(Both measurements are from the ancient laptop.)

On my relatively beefier machine with the i7-4790K I'm getting the following numbers:

union.Int: 60μs -> 66μs (+10%)
union.ByteString: 78μs -> 66μs (-15%)

It might also be interesting to combine the various bitmap checks into a single case expression. Maybe GHC can generate something like a lookup table from this?!

I tried this:
    let go !i !i1 !i2 !b
            | b == 0 = return ()
            | otherwise = do
                let m = 1 `unsafeShiftL` countTrailingZeros b
                let testBit :: Word -> Word
                    testBit x = fromIntegral (fromEnum (x .&. m /= 0))
                let b'' = b .&. complement m
                let t1 = testBit b1
                let t2 = testBit b2 `unsafeShiftL` 1
                case t1 .|. t2 of
                    1 -> do
                        A.write mary i =<< A.indexM ary1 i1
                        go (i+1) (i1+1)  i2    b''
                    2 -> do
                        A.write mary i =<< A.indexM ary2 i2
                        go (i+1)  i1    (i2+1) b''
                    _ -> do
                        x1 <- A.indexM ary1 i1
                        x2 <- A.indexM ary2 i2
                        A.write mary i $! f x1 x2
                        go (i+1) (i1+1) (i2+1) b''
    go 0 0 0 b'

Unfortunately it's slower:
    union
      Int:        OK (1.78s)
        162  μs ± 1.6 μs
      ByteString: OK (10.76s)
        156  μs ± 1.5 μs

I think I'll leave it at this for now. Ultimately it would be nice to recover the perf losses for cases like the union.Int benchmark, but I'll leave that for future work.


Add generic detail fetcher

Will it be used by default when resource hasn't a dedicated detail fetcher ?

Good point, I was wondering if we should add this, actually with the current implementation we should always be explicit with
remoteLibrary.AddDetailsFetcher(aws.AwsS3BucketResourceType, NewGenericDetailsFetcher(aws.AwsS3BucketResourceType, provider, deserializer))

But it can make sense to use it by default WDYT @cloudskiff/engineering ?


Incorrect Time Zone

I am running 1.8.69 using the PHP 8.2 version (:latest).  I have used several of the latest versions.
I have the env variable TIMEZONE set to America/Vancouver.  It seems to detect this when booting the container because it outputs:
Image:  tiredofit/freescout | Version  1.16.39 Type 'image_changelog' for details
Repository/Issues/Support:  https://github.com/tiredofit/docker-freescout/
Sponsor me for development and upkeep: https://www.tiredofit.ca/sponsor
2023-03-23.15:52:42 [NOTICE] ** [timezone] Timezone: Setting to 'America/Vancouver' from 'Etc/GMT'
However the config file on the server ends us America/Los_Angeles and America/Los_Angeles (GMT-0700) appears in the System Status page.

Technically they are still the same - but I agree that they are different, that was a decision on the freescout developers, where I am following the Unix timezones..

Agreed - I've been rooting for a change for many years - the spring one seems to be getting harder and harder for me each year.


Hide Toggle Fullscreen for MacOS which adds its own fullscreen menu item

Our Toggle Fullscreen view menubar item works but the check mark does not work. MacOS adds its own full screen item to view menu: https://github.com/napari/napari/issues/5092#issuecomment-1252882551, so we should just hide ours.
Suggested here: https://github.com/napari/napari/pull/6137#issuecomment-1726764083

Disabling our Full screen is easy (I have a branch), but there is a small issue:
the shortcut
The menu item has         keybindings=[StandardKeyBinding.FullScreen],
which I guess is from app_model?
It shows Control-Command-F, which works when the menu item is enabled.
...but it isn't actually the macOS standard keybinding for Full screen post Monterey (macOS 12), when it was changed to Fn (Globe) F.
So if we disable our Full screen, then only the macOS standard will work, based on OS version. So someone who learned Full Screen napari binding may be confused when it stops working?
Now they could change it in their OS settings...
I think in an ideal world, the old keybind would keep working (and be settable as a Viewer keybind), but there would be no custom menu item, just the native one?

What's weird is other apps, such as Safari or Calendar will respect either Ctrl-Command-F or Fn-F. But if I disable the non-native menu item in napari, then Ctrl-Command-F stops working.

Disabling our Full screen is easy (I have a branch)

Please feel free to put up a PR then! Do you add a condition to 'when' field in 'menu' field in Action?

I think in an ideal world, the old keybind would keep working (and be settable as a Viewer keybind),

I think that since we register the action, even if the menu item is not visible, it would be available in the command palette (when this feature gets added) but I am not sure if it would be 'editable' in the command palette. I would think that since we are only hiding this menu item, the action should still be useable via the command palette.
Potentially, if system is mac OS post Monterey, we can add a full screen action that does not get added to any menu, I think this would mean that the keybinding would work as long as this action is enabled.
Are you interested in doing this?

The menu item has         keybindings=[StandardKeyBinding.FullScreen],
which I guess is from app_model?

Yes, for reference StandardKeyBinding.FullScreen is from app-model and is defined here:
https://github.com/pyapp-kit/app-model/blob/cd8b33da58ffbc9a7b5713bf5c6ddbed35899ff1/src/app_model/types/_keys/_standard_bindings.py#L107
I think for mac it is: KeyMod.WinCtrl | KeyMod.CtrlCmd | KeyCode.KeyF

What's weird is other apps, such as Safari or Calendar will respect either Ctrl-Command-F, even if they show Fn-F. But if I disable the non-native menu item in napari, then Ctrl-Command-F stops working in napari.

Yes that is weird, do we know why mac adds its own full screen menu item? (:roll_eyes: apple)

What's weird is other apps, such as Safari or Calendar will respect either Ctrl-Command-F, even if they show Fn-F. But if I disable the non-native menu item in napari, then Ctrl-Command-F stops working in napari.

Yes that is weird, do we know why mac adds its own full screen menu item? (🙄 apple)

Yeah it's weird -- the Window menu for example doesn't have any of the native menu items, but Help does have the Search widget (which is super handy when having many plugins).

Interesting, thanks! Hiding the toggle menu item is fine, trying to retain access to the full screen keybinding while hiding the menu item is the tricky part! See  #6327

I think it would be best to wait until #6204 is in, so we can add the keybinding via app-model, before we address this.
See: https://github.com/napari/napari/pull/6327#discussion_r1363847884


feat: SvgFromUri/SvgFromXml add props onError execution

Summary
The onError function of the SvgFromUri / SvgFromXml component does not work.
According to the current code, there is no way to track if an error occurs in the component rendering.
Test Plan
What's required for testing (prerequisites)?
uri fetch fails.
What are the steps to reproduce (after prerequisites)?
Pass the onError function as props to test whether it is executed.
Compatibility

OS
Implemented

iOS
✅

Android
✅❌

Checklist

[x] I have tested this on a device and a simulator
[ ] I added documentation in README.md
[x] I updated the typed files (typescript)
[ ] I added a test for the API in the __tests__ folder

Could you resolve the failing CI job? It should be ready for merge then 🚀

@WoLewicki
I am very sorry for the late reply.
I expect TypeScript compilerOptions to be stable.
Perhaps the modified code will pass the CI job safely.
Please check new commit.
Also, I hope you compare the new commit with the code below and choose a better solution.
this.props.onError ? this.props.onError(e as Error) : console.error(e);


uTorrent installs adware, can we do something about it ?

So I installed uTorrent but totally forgot about bundled adware that installs to all browsers on system (extensions, changing homepage and default search engine) at first launch. Use Caveats to warn user or maybe remove it from caskroom ?

I’d have no quarrel with removing it. I’d also have no quarrel with removing Adobe software, though.
We had the discussion at the time utorrent started doing this. We’re not a discoverability service, so users should know what they are installing before installing it. some users do indeed want utorrent no matter what, so this is an upstream matter, not something we can fix.
Having said all that, though user-hostility might be debatable (Adobe), bundling adware is fact, so we could indeed take a stance here. That would, however, also mean we should take a stance against every sourceforge cask, as they’re becoming shadier and shadier, and we know they’re starting to bundle adware with their downloads. This is something I’ve though about before.
For the moment, I’m more inclined to leave this here. I’d like to see opinions from other maintainers and users as well, though, so lets leave the discussion open a while longer.

We won’t do it with caveats, though. For one, their not meant for such messages, but since their shown after the software is installed, it’d be pretty much useless, anyway.

Actually in this case, adware installed only at first launch, so message
might help.
On Sun, Dec 13, 2015 at 6:47 PM, Vítor Galvão<EMAIL_ADDRESS>wrote:

We won’t do it with caveats, though. For one, their not meant for such
messages, but since their shown after the software is installed, it’d be
pretty much useless, anyway.
—
Reply to this email directly or view it on GitHub
https://github.com/caskroom/homebrew-cask/issues/15799#issuecomment-164269497
.

@diimdeep May I recommend Transmission, as an alternative?
I think we should remove utorrent if an ad-free installer isn't available. (JDownloader also installs adware, but we used a clean DL link)

I think we should remove utorrent if an ad-free installer isn't available.

Keep in mind any decision in this direction also means weeding out sourceforge casks, and there are many of those. When we’re talking about removing utorrent, here, we’re also talking about removing a bunch of other casks.
Like I said, many people do still want utorrent either way (as want jdownloader, in whatever form) and us not being a discoverability service and users needing to be aware of what they are installing was always (and should continue to be) a major point of HBC, so in addition to opinions on whether utorrent should be removed, we also need strong reasoning as to why it should be removed, and how that affects other casks in a similar situation.

I'd support keeping it, and leaving the caskroom a neutral carrier.  The minute we start making executive decisions on what should/shouldn't be available through hbc is the moment its value goes away.  hbc doesn't need to facilitate illegal or malicious software, but if a user wants bad software then so be it, that's their call.  We're a service, not a decision-making enterprise.
I'm not opposed to caveats (even for sf), but I think I take a more liberal stance on them in general.

Hmm, adding a caveat for adware-bundled Casks would also go against our current policy of keeping caveats strictly for installation-related purposes.
If we do decide to allow that caveat, a "standard" format like the files_in_usr_local shortcut would be best, to keep the phrasing consistent.

I'd support keeping it, and leaving the caskroom a neutral carrier.

My stance, but in fewer words.

The minute we start making executive decisions on what should/shouldn't be available through hbc is the moment its value goes away.

I mostly1 agree, with the explicit exceptions of what is harmful to HBC itself. For example, direct piracy software2 that we have justified reason to believe could cause issues for the project as a whole (popcorn-time’s repo was deleted by github) and keeping a whole bunch of old versions that no one uses (makes it harder to maintain and manage, makes repos a mess, makes relevant stuff harder to find, makes the project worse with no clear benefits).

I'm not opposed to caveats (even for sf), but I think I take a more liberal stance on them in general.

We had an issue around that (you might’ve been part of it, even, but may not be recalling it at the moment). The conclusion was that too many irrelevant messages might make users start ignoring them altogether, so we should strive to only output those that are important to the installation of application itself (i.e. “if I ignore this message, there’s a chance things won’t work”.

1 I say “mostly” because the core itself is still valuable. Even if all the casks were removed from the project, the core would allow someone else to make the repos to host all the casks and still provide immense value.
2 Something like utorrent can be used for piracy, but it’s not necessarily meant for it. Contrast that with popcorn-time, whose whole point is piracy.

instead of caveats what about doing something like a suffix on the cask name of ones that are known to install adwware something like utorrent-adware or something similar?

@plessbd No way, as that’d be a sure fire way of causing confusion and starting to get duplicates. There’s a reason we have a strict token reference, and adding arbitrary suffixes to casks would make everything harder to manage.

Looks like this (and other related casks) are pending a decision to either:

do nothing
remove the Cask (not an option as then we become non-neutral)
rename Cask (not an option; see above)
add a new caveat

Well, adding a new caveat is also not an option, as we’ve decided we should keep messages to a minimum, so I’d say we’re at

do nothing
remove the Cask (not an option as then we become non-neutral)
rename Cask (not an option; see above)
add a new caveat
something else (what?)

Why not just add a stanza? It could be integrated into brew cask info for those casks that have it. That way users can inspect this before installation. Maybe a even preference could be added that prevents the user from installing such flagged software, with a manual override in the form of an argument for brew cask install.

@Eitot That’s not really a better solution than adding a caveat (it’s worse, since it’ll require more work and implementation) and doesn’t answer the concerns in the rest of the issue.
Seems like we don’t have a great solution for this, and it’s not really worth pursuing inside the goals of the project. Closing for now.

Here’s an interesting development.

The uTorrent team has introduced a new ad-free version of the popular file-sharing client. Users can now buy a yearly $4.95 subscription to download the latest torrents without being subjected to ads. The new client is part of an experiment to optimize the user experience.

(emphasis mine)
Sounds like a great plan. “Let’s make the experience suck, and them make people pay to have it back to normal”.

https://github.com/caskroom/homebrew-cask/pull/22383/
@diimdeep We’re still discussing the approach, but if approved, you’ll need to do the outlined steps, including reporting the app to Apple. You may wish to do that either way.

To clean up the mess if you install without reading, http://www.thesafemac.com/arg-spigot/ helps. I also had to:
rm -Rf /Users/<YOUR USER NAME HER>/Library/Application\ Support/Spigot/ApplicationManager

Also check ~/Library/Application Support content


Question: Better to use regular BioBERT on a dataset without marked PHI?

Thanks for this cool resource. I'm just trying to figure out if it's the best model for my project. In the results section of your paper, it says:

De-ID challenge data presents a different data distribution than MIMIC text.  In MIMIC, PHI is identified  and  replaced  with  sentinel  PHI  markers, whereas in the de-ID task, PHI is masked with synthetic, but realistic PHI. This data drift would be problematic for any embedding model, but will be especially damaging to contextual embedding models  like  BERT  because  the  underlying  sentence structure will have changed: in raw MIMIC,sentences with PHI will universally have a sentinel PHI  token.   In  contrast,  in  the  de-ID  corpus,  all such sentences will have different synthetic masks, meaning that a canonical, nearly constant sentence structure present during BERT’s training will be non-existent at task-time.   For these reasons,  we think it is sensible that clinical BERT is not successful  on  the  de-ID  corpora.

I'm working with EHR for patients with multiple myeloma. The records are not de-identified in any way--they're just the regular doctors' notes, lab reports, etc. with real place names, person names, and dates. So to me, it sounds like my data is more like the de-ID dataset than the MIMIC dataset, since PHI aren't tagged in any way. Would I possibly be better off just using the regular BioBERT model then, since that model performed better on the de-ID dataset?

I think that it should be fine to use as long as you're not explicitly doing a de-identification task. Clinical BERT outperformed on all of the other i2b2 challenges, and I know folks have used clinicalBERT with notes containing PHI.
That being said, you could also try Microsoft's more recent Pubmed BERT for comparison. It isn't trained on clinical text, which is a big downside, but has the benefit of being pretrained from scratch with a new vocabulary.
Hope this helps. Feel free to reopen if you have any more questions.


Channel MODE parsing and multiple mode changes

If a MODE message is received with a channel target, the parser will then attempt to sub-parse the message. This algorithm basically states "if the mode string contains a 'b', the trailing string is a banmask; else if it contains a 'k', it's a channel key; else..."
However, this assumes that only one mode change is being made. If a message such as MODE #channel +b-o<EMAIL_ADDRESS>ChanOpUser is parsed, the string<EMAIL_ADDRESS>ChanOpUser is assigned to $params['banmask'], and $params['user'] (where one would ordinarily find the ChanOpUser param) does not exist.
MODE messages may also have a different number of trailing parameters than modes (eg. MODE #channel +vvm TrustedUser1 TrustedUser2), so there is no uniform way to reliably associate modes with the respective parameters. (Clients may achieve this by parsing the MODES element of the 005 RPL_NAMREPLY numeric, which identifies which modes take parameters and which don't, but a contextless parser cannot.)
As such, I wonder if it's truly valid for an RFC-compliant parser to be processing the MODE string in this way. At the least, some kind of common named parameter should be made available so that the trailing parameters can be accessed in a consistent way.

It looks like support for multiple mode specifications in a single message is a difference in RFC 1459 (specifically section 4.2.3), on which this parser was originally based, and RFC 2812 (specifically sections 3.1.5 and 3.2.3), hence its absence in the current implementation. This should be addressed.

To avoid breaking BC in existing plugins, we could check that only a single known mode is being set and use the existing logic in that case, else simply include the modes and parameters in enumerated arrays.

Sounds like a good idea, provided that $params['params'] is still made available in those cases. Maybe a deprecation notice in the source comments?

Not sure we even need that so long as the modes are standard across 2812 or both RFCs.
Another related idea: if we added accessor methods to Client for the parser, which would then be injected into any ReadStream instances that Client created internally, any plugin that implemented ClientAwareInterface would have access to the parser. At that point, we could add methods to the parser to inject context information for server-supported modes and create a plugin that handled delivering that information to the parser. Not certain it's feasible or something that should be considered yet, but it's an idea.

What do you think of 9d064180518b1a320afc913b08dd3309e0f13d5a?

@Renegade334 Looks good. Can you submit it as a PR?

Sure!

@elazar: re. the context-aware parser idea above: since each connection might have different channel mode types if they're connected to different servers, I'm not sure this is feasible. I think a utility plugin may be a better option - have put together an example implementation at phergie-irc-plugin-react-chanmodeparser.


Investigate behaviour on choosing time-limited place

Users may be choosing time-limited place and census for a different time - investigate how often this happens and draw up actions resulting (e.g. information on No Results message, paragraph on Help).  The story on why so many search failures is probably relevant, but cannot now trace this issue.

Make people select a year or 'all years' before offering a choice?

Sent from Mail for Windows 10
Will they have a choice of the Years  ( and I presume County)  that we are  currently working on  that we do have the images for?
Otherwise it will be a case of telling them that “we are sorry, but we do not yet have the images for your chosen  Census Year and County.
Would  you like to chose from the following that we do have.”
If we do however get copies of ALL those that we are still missing, before this option  takes effect,  then not a  issue! (well wishful thinking anyway on my part)
From: PatReynolds
Sent: 13 February 2018 15:08
To: FreeUKGen/FreeCENMigration
Cc: Subscribed
Subject: Re: [FreeUKGen/FreeCENMigration] Investigate behaviour on choosingtime-limited place (#413)
Make people select a year or 'all years' before offering a choice?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Do not understand requirement


suggestions inside console.log for javascript not working

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.62.3
OS Version: Windows 10 20H2

Steps to Reproduce:

The auto suggestion is not working (like for variables) inside the console.log(var_name).
This issue seems to be on the first attempt of writting console.log(). After moving the cursor, the auto suggestion is working again.

Check the below gif for better understanding.

I can't reproduce this in Stable or Insiders in a js file on W11.  Did you try it with all extensions disabled?

I can't reproduce this in Stable or Insiders in a js file on W11. Did you try it with all extensions disabled?

Yes, tried with all extentions disabled. But this is still there, also tried in Linux as well. It's same there as well.

The suggestions are likely working, they are just not shown automatically because the snippet surpasses them. Set "editor.suggest.snippetsPreventQuickSuggestions": false to disable this behavior
/cc @jrieken I see this issue reported once or twice a month. Could we revisit this setting's default value or provide some kind of UI hint when quick suggestions are suppressed?

The suggestions are likely working, they are just not shown automatically because the snippet surpasses them. Set "editor.suggest.snippetsPreventQuickSuggestions": false to disable this behavior
/cc @jrieken I see this issue reported once or twice a month. Could we revisit this setting's default value or provide some kind of UI hint when quick suggestions are suppressed?

Thanks lot for the help.


Octopus Testing - Negative testing - Verify volume provisioning throws error if non-shared DS is used

Manually Tested: test executed successfully.
Test Done:

Created VMFS datastore on one of the hosts
Created storageclass with new datastore.
Created pvc using storageclass.

Observation:
[container]:/opt/kubernetes-anywhere> kubectl describe pvc
Name:		pvcsc-vsan
Namespace:	default
StorageClass:	fast
Status:		Pending
Volume:
Labels:		<none>
Annotations:	volume.beta.kubernetes.io/storage-class=fast
		volume.beta.kubernetes.io/storage-provisioner=kubernetes.io/vsphere-volume
Capacity:
Access Modes:
Events:
  FirstSeen	LastSeen	Count	From				SubObjectPath	Type		Reason			Message
  ---------	--------	-----	----				-------------	--------	------			-------
  18s		3s		3	persistentvolume-controller			Warning		ProvisioningFailed	Failed to provision volume with StorageClass "fast": The specified datastore Datastore is not a shared datastore across node VMs

As discussed, local datastore will be pre-created in the testbed @abrarshivani

For E2E testing we need testbed with one non-shared datastore.


Add public method for adding items from config

This isn't a PR I necessarily expected to be accepted, but I hoped it would demonstrate my requirement and maybe allow some discussion.
What's this PR do?
This PR adds a public method around the already existing functionality for creating items in the container from a config array.
Where/when would this be required?
Currently, a config structure can be injected into the container at construction only. If the user wishes to split configuration of services into separate service providers, the public interface Container::add()->withArguments() etc... must be used. It would be useful to allow these separate service providers to be able to generate complex dependencies from a configuration structure.
Current workaround:
In order to work around this limitation, duplication of the Containers internal logic is required.
<?php
class ControllerPovider
{
    protected $config = array(
        'Application\Controller\HomeController' => array(
            'arguments' => array('Services\Authentication'),
            'methods' => array(
                'setLogger' => ['Psr\Log\LoggerInterface'],
                'setRequest' => ['request']
            )
        ),
        //...
    );

    public function register(Container $app)
    {
        foreach($this->config as $class => $config)
        {
            $def = $app->add($class)->withArguments($config['arguments']);

            foreach($config['methods'] as $method => $args)
            {
                $def->withMethodCall($method, $args);
            }
        }
    }
}

Ideal alternative
<?php
class ControllerPovider
{
    protected $config = array(
        'Application\Controller\HomeController' => array(
            'arguments' => array('Services\Authentication'),
            'methods' => array(
                'setLogger' => ['Psr\Log\LoggerInterface'],
                'setRequest' => ['request']
            )
        ),
        //...
    );

    public function register(Container $container)
    {
       $container->addFromConfig($this->config);
    }
}

Notes
Maybe this is an idea that has already been discussed/rejected, or perhaps there's arguments for this not being a good idea. This is something I do reasonably often but if there is a better approach I would be very happy to discuss that too.

A ServiceProviderInterface is planned in the coming weeks which would in effect allow for this, do you think that would be sufficient for your use case?

See #18, can easily achieve this in a cleaner way with a Service Provider


Supports RGB and RGBA in ImageView

This PR release constraints on setImage to allow to set RGB and RGBA images.
Few other places were fixed, like statusbar display, but not much.
Changelog:

Added support of RGB and RGBA images to ImageView

I think it is fine to back port it to 0.15, but it's up to you.