Could not locate the configuration_phi.py

I try to run the evaluation step to follow the code in the readme.
First, I download the checkpoints from the huggingface. And then set --model-path /data2/TinyMed/pretrained_weights/Tinymed-phi2 to run the code.
But encounter the following errors:
Could not locate the configuration_phi.py inside /data2/TinyMed/pretrained_weights/Tinymed-phi2
So, Is there a missing file? Or caused by other reasons. I run this code on two A100 (80GB).

By the way, I also try to use Tinymed-stablelm-1.6b but still get the errors:

Traceback (most recent call last):
File "/home/haowei/project/TinyMed/model_vqa_med.py", line 246, in
eval_model(args)
File "/home/haowei/project/TinyMed/model_vqa_med.py", line 107, in eval_model
tokenizer, model, image_processor, context_len = load_pretrained_model(model_path, args.model_base, model_name)
File "/home/haowei/project/TinyMed/moellava/model/builder.py", line 505, in load_pretrained_model
model = AutoModelForCausalLM.from_pretrained(model_path, low_cpu_mem_usage=True, trust_remote_code=True, **kwargs)
File "/home/haowei/anaconda3/envs/llavaMed/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 441, in from_pretrained
config, kwargs = AutoConfig.from_pretrained(
File "/home/haowei/anaconda3/envs/llavaMed/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 926, in from_pretrained
config_class = CONFIG_MAPPING[config_dict["model_type"]]
File "/home/haowei/anaconda3/envs/llavaMed/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 632, in getitem
raise KeyError(key)
KeyError: 'moe_llava_stablelm'

Could you help me with these errors? Thanks a lot

Hello, please ensure that 'moe' is included in the file path name, such as 'moe_tinymed_stablelm'.

Thanks, I will try it.
For the first issue, do you have any suggestions?

Hello, there is a 'configuration_phi' file in the project. It seems like you should modify the path for 'AutoConfig' in 'config.json' to correspond to your specific path.

The config.json in the provided checkpoints? The following shows the subset of this config.json :

{
"_name_or_path": "/home/songtaojiang/TinyLLaVABench/MoE-LLaVA/checkpoints/llavaphi-2.7b-finetune-3epoch",
"architectures": [
"MoELLaVAPhiForCausalLM"
],
"attention_dropout": 0.0,
"auto_map": {
"AutoConfig": "configuration_phi.PhiConfig",
"AutoModelForCausalLM": "modeling_phi.PhiForCausalLM"
},

So, I need to modify  "AutoConfig": "configuration_phi.PhiConfig"? If yes, how should I set this? Thanks

Just replace configuration_phi.PhiConfig to xxxx.configuration_phi.PhiConfig, which depends on your path.

I modify this line as:

{
"_name_or_path": "/home/songtaojiang/TinyLLaVABench/MoE-LLaVA/checkpoints/llavaphi-2.7b-finetune-3epoch",
"architectures": [
"MoELLaVAPhiForCausalLM"
],
"attention_dropout": 0.0,
"auto_map": {
"AutoConfig": "/home/haowei/project/TinyMed/moellava/model/language_model/phi/configuration_phi.py",
"AutoModelForCausalLM": "modeling_phi.PhiForCausalLM"
},

But still the errors:

shutil.SameFileError: '/home/haowei/project/TinyMed/moellava/model/language_model/phi/configuration_phi.py' and PosixPath('/home/haowei/project/TinyMed/moellava/model/language_model/phi/configuration_phi.py') are the same file

And I also found this checkpoint /home/songtaojiang/TinyLLaVABench/MoE-LLaVA/checkpoints/llavaphi-2.7b-finetune-3epoch is required to run. Could your provide the link to download this one? Thanks

Hello, I have already uploaded it to https://huggingface.co/JsST/TinyMed. You can also try using phi.configuration_phi.PhiConfig in AutoConfig.

Still errors:

Traceback (most recent call last):
File "/home/haowei/project/TinyMed/model_vqa_med.py", line 246, in
eval_model(args)
File "/home/haowei/project/TinyMed/model_vqa_med.py", line 107, in eval_model
tokenizer, model, image_processor, context_len = load_pretrained_model(model_path, args.model_base, model_name)
File "/home/haowei/project/TinyMed/moellava/model/builder.py", line 505, in load_pretrained_model
model = AutoModelForCausalLM.from_pretrained(model_path, low_cpu_mem_usage=True, trust_remote_code=True, **kwargs)
File "/home/haowei/anaconda3/envs/tinymed/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 526, in from_pretrained
config, kwargs = AutoConfig.from_pretrained(
File "/home/haowei/anaconda3/envs/tinymed/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 1109, in from_pretrained
config_class = get_class_from_dynamic_module(
File "/home/haowei/anaconda3/envs/tinymed/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 483, in get_class_from_dynamic_module
module_file, class_name = class_reference.split(".")
ValueError: too many values to unpack (expected 2)

Where I set:

"auto_map": {
"AutoConfig": "phi.configuration_phi.PhiConfig",
"AutoModelForCausalLM": "modeling_phi.PhiForCausalLM"
},

Normally, EvalMoELLaVAStablelmForCausalLM should be executed when the path contains 'moe', 'llava', and 'stablelm'. I checked the path where you encountered the error and noticed that you might be missing these. I re-cloned this project, and this code runs fine on my computer. You could also do some simple debugging to see where it's running up to in builder.py.

Thanks for your kind reply and sorry for my previous comment. And I will do more debugging work following your suggestions. Thanks again.

Never mind. Thank you for your interest in our work. TinyMed will be updated within two weeks with a new version, and I will also provide a more detailed readme.md at that time. Feel free to contact me if you have any further questions.

Thanks a lot! And now, I basically reproduce your results in the paper by inference on your provided checkpoints.
TinyMoE-Med (Phi2-2.7B×4:3.6B): 84.56(paper) vs 83.46 (mine)
TinyMoE-Med (StableLM-1.6B×4:2.0B): 83.82(paper) vs 82.72 (mine)
The point is the checkpoints in the huggingface. You rename the previous Tinymed-ph2 directory to MoE-Tinymed-ph2-llava but delete these files: model-00001-of-00003.safetensors, model-00002-of-00003.safetensors, model-00003-of-00003.safetensors, pytorch_model.bin and training_args.bin (the version: 141affd9a1f2ea9847c0392887957f2760b77f52). By the way, I don't know why you delete these files.
SO, I move these missing files from the previous Tinymed-ph2 directory to new MoE-Tinymed-ph2-llava directory. And then, modify the _name_or_path and mm_image_tower term in the config.json in MoE-Tinymed-ph2-llava  directory as the path in your machine. For example:

"_name_or_path": "/data2/TinyMed/pretrained_weights/llavaphi-2.7b-finetune-3epoch", # this is the download path in my machine
"mm_image_tower": "/data2/TinyMed/pretrained_weights/clip-vit-large-patch14-336",

And finally, for the evaluation step, set --conv-mode as phi instead of the default simple would work.
The same steps for the MoE-Tinymed-stablelm-llava.

Hello, thank you for your detailed steps. Previously, some files and corresponding model weights were not synchronized when I used a VPN to upload to Hugging Face, resulting in some files being missed. I have now re-uploaded the model weights and updated the simple conv_mode in the conversations.py file. I apologize for any confusion this may have caused.

Thanks a lot.
And reminder to update the link for these weights in the Readme.md.


Publish 7.4.2-20220331234933+0000

Publish 7.4.2-20220331234933+0000

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


Tags are missing for the 2.1.15, 3.0.2, & 3.1.1 release.

The 2.1.15, 3.0.2, & 3.1.1 release happened on 1/14/2020.  I don't see the corresponding Tags for these releases.  Please create them.

Sorry, have been working through CI and other issues.  I've tagged 2.1.15, 3.0.2 and 3.1.1 should happen tonight or later this weekend.

These have been tagged, closing this.


Cannot log in

So I have the plugin installed but for some odd reason whenever a member attempts to sign in to the forum they are taken back to the sign in page but myself when I attempt to log into my AdminCP I can indeed use Steam Authentication.
Any clues on how I can fix this?
Regards,
-Santos

https://github.com/Lavoaster/IP.Board-Steam-Authentication-Method/issues/75
That is essentially what happens to me, please help. :)

I believe it's related to the board's SSL option to trigger on Logins, maybe I'm wrong. I need help anyways.

I've figured it out, you can't have your site partially in SSL (Like the AdminCP or logins) you need to have your site fully in HTTPS/SSL which can be done easily by editing the board url.


Replace ChaCha20Poly1305 implementation

Improve AEAD speed with slightly faster poly1305 implementation.
Avoid memory allocations whenever possible. (AEAD)
But currently missing AVX2 support.
BenchmarkSeal64B-8               40.97 MB/s
BenchmarkSeal1K-8        183.82 MB/s
BenchmarkSeal64K-8         406.37 MB/s
BenchmarkOpen64B-8        45.79 MB/s
BenchmarkOpen1K-8           181.14 MB/s
BenchmarkOpen64K-8      417.22 MB/s

[Current coverage][cc-pull] is 86.81%

Merging [#221][cc-pull] into [master][cc-base-branch] will decrease coverage by 0.08%

@@             master       #221   diff @@
==========================================
  Files            67         67
  Lines          4129       4132     +3
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           3588       3587     -1
- Misses          312        314     +2
- Partials        229        231     +2

Powered by Codecov. Last updated by [0412926...233bd5e][cc-compare]
[cc-base-branch]: https://codecov.io/gh/lucas-clemente/quic-go/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/lucas-clemente/quic-go/compare/0412926b3ddf54e95c804c9f985b2de54db359b0...233bd5e7c5bf68c80f321066a8b0c8667d8c3179?src=pr
[cc-pull]: https://codecov.io/gh/lucas-clemente/quic-go/pull/221?src=pr

The Travis-CI build seems to fail because of a network error...

unable to access 'https://go.googlesource.com/tools/

Thanks for this PR! I restarted the travis build and it worked, so I'm going ahead with merging this now.
I've had a quick look at your implementation, and it indeed looks better with regard to allocations. It also allows us to use in-place encryption, which will probably be done in our current milestone (see #217).
However, I'm not sure if you're aware that we're only using AES-GCM right now. We switched since it is around an order of magnitude faster (with the current implementations, see below). Due to a lack of time I didn't build proper negotiation for chacha yet (the client gets to decide, see #201), but I will do this soon-ish.
Just pasting my benchmark results for future reference (of course they don't cover GC pressure):
Old implementation:
BenchmarkChaCha20Poly1305Seal1K-8   	  500000	      2804 ns/op	 365.13 MB/s
BenchmarkChaCha20Poly1305Open1K-8   	  500000	      2808 ns/op	 364.60 MB/s

New implementation:
BenchmarkSeal1K-8            	  500000	      2745 ns/op	 373.03 MB/s
BenchmarkOpen1K-8            	  500000	      2732 ns/op	 374.76 MB/s

AES-GCM:
BenchmarkAESGCMSeal1K-8   	 3000000	       466 ns/op	2196.10 MB/s
BenchmarkAESGCMOpen1K-8   	 3000000	       440 ns/op	2326.29 MB/s

Thanks for merging!
It's quite hard to beat AES-GCM on amd64 with AES-NI - Maybe AVX2 has a chance (but both poly1305 and chacha20 must use it).
I'm working on that as soon as I have some time left.
Thanks for the benchmark reference - quite helpful!

Significant performance improvement for poly1305 through amd64 assembly.
But still not comparable with AES-NI:
BenchmarkSeal64B-8       57.89 MB/s
BenchmarkSeal1K-8       298.51 MB/s
BenchmarkSeal64K-8      688.23 MB/s
BenchmarkOpen64B-8      47.62 MB/s
BenchmarkOpen1K-8     302.07 MB/s
BenchmarkOpen64K-8   678.04 MB/s

Very cool work! :+1: On my machine it's around 420, up from 370.
BenchmarkSeal1K-8            	 1000000	      2435 ns/op	 420.48 MB/s
BenchmarkOpen1K-8            	  500000	      2431 ns/op	 421.14 MB/s

Once QUIC gets adopted by mobile browsers (who like choosing chacha over AES) this will become really useful :)

Thanks :smile:
I've some working (experimental) AVX2 code for ChaCha20 giving a great speedup again, but only go-1.7 will support AVX2 asm instructions (VPSHUFD etc.). The current go 1.7beta-3 have still some problems with AVX2 instructions - so readable asm-code requires the final go 1.7 release.
The main problem for you now is the compilation. If I add the AVX2 code to the repo (as soon as the release is available), only the 1.7 builds will pass ( <= 1.6.3 will fail). As far as I know Go does not support something like "version depended compilation", so I cannot fix this...
Do you want to keep support for older versions of Go ( <= 1.6.3) ?
Currently i think i'll create a AVX2 branch for chacha20 and as far as possible (without breaking other's code) make it the master...
Some benchmarks for AVX2 code on a Skylake i7-6500U:
Without AVX2:

BenchmarkSeal1K-4 565.44 MB/s
BenchmarkOpen1K-4 559.03 MB/s

With AVX2:

BenchmarkSeal1K-4 791.02 MB/s
BenchmarkOpen1K-4 779.34 MB/s

I would like to support keep support for 1.6 for the near future.
However, I think it's possible to use Go's build tags for that purpose, see https://golang.org/pkg/go/build/#hdr-Build_Constraints.
In short, if you put // +build go1.7 into the AVX2 files, they will only be compiled on go 1.7 or up. Similarly for the old implementation.

Thanks for the info - perfect :+1:
Okay, AVX2 will be supported as soon as 1.7 is stable...

SSSE3 support available: aead/chacha20@b2542acc9b7dab45d6ac7f7ecf4fce58a06eb79b
Performance improvement about 8-10% on my machine
Further fixed a critical bug detected by v2ray See  aead/chacha20@b9b9fe0318a29cfdf8024f4e2e92a735c23529a3
Dependency update necessary...


Make the github docs deploy action more efficient

Current version is a little cobbled together

Completed with #71


[Bug] Share button looks more like a label.

https://www.notion.so/Share-button-looks-more-like-a-label-ccb01d408e7c4b2f8718422cd9707d48

duplciate of #1053


refactor: Implement custom xml scanner instead of using fastparse

While trying to cross compile to Scala 3 it become evident that I can't move XmlParser from the trees module. On the other hand, I am not able to reimplement all the macros there, so instead I decided to reimplement the parser.
Why not keep using fastparse?
If using fastparse in trees we would get fastparse_2.13 to all the Scala 3 modules and that would conflict with fastparse_3 that we would need there.
So did I implement the parser?
No, since it's hard, but I wonder if a scanner would not be enough for us:

the additional validation can be checked by the compiler
scanner should be faster (I can improve the implementation for sure here)
we can add the parser back for validation later while actually parsing, but since xml is ~deprecated~ discouraged in Scala 3 I wonder if this is worth the effort. Maybe it's fine to just leave out the additional validation.

The code is not yet perfect, but if the approach is ok, I will work on it some more.

and it's not possible to shade fastparse?

Hmm... I guess that's another option that I didn't think about. Though then we would have both unshaded and shaded fastparse , which seems wrong.
But maybe that's still a safer option, I will check that out tomorrow

Looks like we are already shading them, but that is only done on the release, so if we want to run the tests then it will still not work. We will get:
[error] Modules were resolved with conflicting cross-version suffixes in ProjectRef(uri("file:/home/tgodzik/Documents/scalameta/"), "parsersJVM"):
[error]    com.lihaoyi:geny _3, _2.13
[error]    com.lihaoyi:sourcecode _3, _2.13
[error]    com.lihaoyi:fastparse _3, _2.13

even if we shade _2.13 and _3 under separate package names.
So I have to exclude fasparse_2.13 so that we can compile the modules that use fasparse_3. But then we miss one class from 2.13 that is needed and is not present in fastparse_3.
We would have to go back to publishing fastparse separately and shading it differently for Scala 2 to use in the trees module.
We could possibly make a minimal sbt project that only does it and then we can depend on it. What do you think?

why are there both _2.13 and _3 versions? i assumed that if we build with scala2, we'd have _2.13, and with scala3 only _3

We want to build trees with 2.13.x and use that version for Scala 3. This means trees brings in fastparse_2.13, but then parsers module also uses fasparse and they are cross compiled for Scala 2.13 and 3. So for parsers_3 we need fastparse_3 as it uses macros. So we end up having both fastparse versions and sbt is unhappy with it:

fastparse_2.13 is coming from trees_2.13
fastparse_3 is coming from parsers_3 which depends on trees_2.13

So the options are to not use fastparse at all in trees or have a totally shaded module. Anything else I tried fails since

do you have a branch in your fork that shows what you have been trying to do?

That's basically https://github.com/scalameta/scalameta/pull/3939 <- I am working on making that ready and start porting changes. The Scala 3 is still not working, I need to separate the semanticdb tests and figure out how to deal with the XmlParser.

should we ask if there's something that the author of fastparse could suggest for this case?

That's not really related to fastparse itself but to sbt build definition itself

while i don't mind implementing our own scanner, i'd strong prefer to avoid it, more debt

I know, but it also felt this is actually the most maintainable in the long run. It's much simpler than a full parser and should be faster. Though we might get some bugs along the way. I see spark repo had some xml that we test in the community build and  we have a bunch of tests, so this should be safe.
It also feels weird to me that we have parser in the scanner which we don't actually need at all as we don't have xml trees.

maybe this is somehow evidents... but why wouldn't parsers_3 depend on trees_3 (and not trees_2.13)?

maybe this is somehow evident... but why wouldn't parsers_3 depend on trees_3 (and not trees_2.13)?

That's the thing, publishing trees_3 would require rewriting all the ast macros to something different since Scala 3 macros do not allow for annotations yet. And as Scala 3 can just use 2.13 libraries and the macros are contained within trees itself, we should be fine (at least from what I checked) to use 2.13. So trees would not be cross compiled to Scala 3

ah, interesting. in that case, why do we even need to compile parsers for 3?

... or are you slowly porting to 3, and trees is something you'd like to leave for dessert? :)

or are you slowly porting to 3, and trees is something you'd like to leave for dessert? :)

Yes, though I wouldn't call it exactly a dessert :sweat_smile:
My hope is that at some point I will figure out which way will be easiest:

wait for the macro annotations
change to generating code

I think the second part would probably be safer in the long run.

you said that parsers_3 requires fastparse_3 but you also said that scala3 can use 2.13 libraries; can parsers_3 use fastparse_2.13 instead (if that gets rid of the problem)?

fastparse uses macros which are not compatible between 2 and 3. There 2 different implementations.

if for some reason not, can we move scaladoc parsing stuff (both own and the older contrib version) into the trees module (as that's the only code that uses fastparse within parser)?

That could work,  together with shading it would mean downstream users would not see any issue

Ok, it seems to work. I had move a couple of classes in https://github.com/scalameta/scalameta/pull/3939/files#diff-f689a3ed75de1834609a68720ce3ef5eb1369e1d928b4e7c1c61d1ecde356c67 like:

Do you think that's ok? I think I can start moving some changes out of that PR.

Ok, it seems to work. I had move a couple of classes in https://github.com/scalameta/scalameta/pull/3939/files#diff-f689a3ed75de1834609a68720ce3ef5eb1369e1d928b4e7c1c61d1ecde356c67 like:
Do you think that's ok? I think I can start moving some changes out of that PR.

yes, of course, as we discussed, moving these files is perfectly appropriate. looks like you're also moving some tests to their dedicated project, also fine. i didn't look through the rest of the change, though :)

I plan to extract most of it to smaller pieces since the pr was mostly my experiment


Debian: module change ownership of directory /run to unbound

Hello,
regarding   "name": "zleslie-unbound",  "version": "2.4.1",  "summary": "Puppet Unbound management module",
I would suggest this patch:
puppet-unbound.patch.txt
Best wishes
ap-16

@ap-16 please create a pull request.  Also checkout #202 and  #180

Hello,
I do not have push access!
puppet-unbound.patch.txt
And yes, IMHO this would solve  #180
Best wishes
ap-16

@xaque208 not sure if this is any better/worse then #202

Regarding puppet-unbound Debian rollout, I aimed for 3 targets:
./ Introduce an intermediate directory to store unbound.pid file below /run directory. IMHO should this be state of the art.
./ Leave owner-ship of /run directory to root (this was solved automatically from aim 1).
./ Handle this tmpfile with systemd means (ie. after reboot, when tmpfiles are removed no puppet run should be needed to start unbound). OK, maybe this is better done by an unbound Debian-package maintainer but I've sadly missed it.

@ap-16 yes thanks for the patch i understand what you are doing and think its a completely fine aproch however there are a few minor things i don't like

changing the Debian default for storing the pid file
using systemd for this seems overkill
the solution i have in #202 has its own issues which i don't like either.  That said im not the maintainer  so will wait for @xaque208 to comment

Hi,
You are completely right when you want to obey application defaults, but I have to draw your attention to these defaults with Debian/systemd:

Debian9-host# grep pid /etc/unbound/unbound.conf
pidfile: "/run/unbound/unbound.pid"

Thus my patch fixes this issue. Your value originates from the old systemV init.d setup which isn't in charge any more. Maybe you should remove the entry from modules/unbound/data/os/Debian.yaml as a fix.
Regarding systemd, like it or not: systemd is removing all tmpfiles and tmpdirs when OS is shutting down (where /run directory is part of), thus with systemd means pid-file directory must be setup during boot or service start. Some do it with systemd-tmpfiles facility, I prefer to use the unit.service method.
Whatever you choose as solution, I would be heavily glad to use it.
Best wishes
ap-16

Debian9-host# grep pid /etc/unbound/unbound.conf
pidfile: "/run/unbound/unbound.pid"

I dont know where this is from but i tested stretch and buster and neither of them have this in the config file after a fresh install of unbound.  further this bug shows debian changed this a long time ago.  finally i also checked the source package for buster and stretch and they both use /run/unbound.pid
Regarding systemd I'm not against it out right however just because systemd can do everything dosn't mean it should do everything.

You'll have to forgive my ignorance, as I've been away from Debian for some years now.  Thank you for chasing down the Debian patch @b4ldr.  It looks like the default has changed, so I'd suspect that the only change necessary to this module would be to update the default Debian.yaml here https://github.com/xaque208/puppet-unbound/blob/master/data/os/Debian.yaml#L2  .  If this was not true in Debian 8, then perhaps an 8.yaml is also in order to avoid breaking users who are on Debian 8 and using this module.   The other systemd changes in #209 don't seem to be necessary to me if we only want to relocate the pid dir set by this module.  Perhaps a test condition also needs updating.
As for contribution @ap-16, feel free to fork this module, and then you can send a PR from your fork, which we will be able to review.

@xaque208 not sure if you miss read my last coment or if i miss read yours however for clarity

/run/unbound.pid is the correct location for Debian >= 9
/var/run/unbound.pid is the correct location in debian <= 8)

so in relation to the current defaults everything is good except that you probably do want to copy Debian/7.yaml -> Debian/8.yaml.
That said there is still the initial bug reported in #180.  The patch in #209 would fix this issue by changing the pid file to a debian none standard location *which as you point our could be done in different ways avoiding systemd).  the patch in #202 fixes the issues with some hackery (i need to refresh my own brain on what i did there).  neither solution is ideal

I've added #210, a simpler variant of #202, with tests.
My first attempt was a $manage_piddir parameter set per OS, but it would have been less friendly to users in case they tried changing the PID file location.

Of the available solutions, I like the shape of #210.  We probably need to do as you suggest @b4ldr and copy the Data files around to ensure 8 keeps the right settings, but otherwise I think this satisfies the desires.  How does #210 look to others here?

All looks good in #210 to me thanks @tequeter


apropiate property naming

CamelCase? camelCase (CAPE-OPEN convention) ? with_lines_i_between (julia style)

julia style it is


LifeWindow: 0 <- is this valid?

I would like to have unexpired LifeWindow but only through LRU removal. Is it possible with LifeWindow: 0,?

is bigcache production ready?

config := bigcache.Config {
// number of shards (must be a power of 2)
Shards: 1024,
// time after which entry can be evicted
LifeWindow: 0,
// rps * lifeWindow, used only in initia

To answer your questions,

Yes.
Yes.

Please let us know if you have more questions. :)

You should set LifeWindow to large enough value to prevent expiration.
cacheShard.onEvict() evicts the key immediately on next call to cacheShard.set() if LifeWindow is zero.
https://github.com/allegro/bigcache/blob/21e5ca5c3d539f94e8dc563350acd97c5400154f/shard.go#L246-L253
As this is fairly old issue the logic might have changed since then. This is a note for future issue-seeker like me :)


Error: Failed to parse PDF document (line:0 col:16 offset=8): No PDF header found

I want to use https://pdf-lib.js.org/, but i don't understand one thing.
How i can to edit some pdf if i download it using input.
example:
https://codepen.io/Raneto4ka/pen/MWjxgQb?editors=1010
If I add some pdf and click the button Modify PDF I get an error: Error: Failed to parse PDF document (line:0 col:18 offset=9): No PDF header found

I fixed it yourself.
Need use fileReader.readAsArrayBuffer(files);


Allow an (optional) slightly more relaxed policy when declaring parameters

This allows a color to be declared as float[3] for example. This may be useful when declaring shaders from systems that do not explicitly keep track of the source data type.

At first view it seems like a nice addition. But frankly, I feel this will not be a real service for users and might lead to sloppiness and mistakes down the road.

We figured some may feel that way, that's why the default is still to typecheck exactly.
You have to opt-in to the sloppy behavior.

LGTM. I think Aghiles' concerns are already addressed by the implementation. You won't see any change unless you take action to set the "relaxed_param_typecheck" attribute to nonzero.

Perfect ! Thanks guys for your continued work on OSL.


[Feature] implement cardinality(), element_at() and map_concat()

What type of PR is this:

[ ] BugFix
[x] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes:

Fixes #
Problem Summary(Required):

implement cardinality(), element_at() and map_concat()
Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[x] This pr needs user documentation (for new or modified features or behaviors)

[x] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[ ] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

[FE PR Coverage Check]
:heart_eyes: pass : 28 / 28 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/parser/AstBuilder.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/AstToStringBuilder.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/PolymorphicFunctionAnalyzer.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/Type.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/ExpressionAnalyzer.java
12
12
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 29 / 29 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/parser/AstBuilder.java
5
5
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/AstToStringBuilder.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/PolymorphicFunctionAnalyzer.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/Type.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/ExpressionAnalyzer.java
12
12
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 17 / 17 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/parser/AstBuilder.java
5
5
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/AstToStringBuilder.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/PolymorphicFunctionAnalyzer.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/Type.java
2
2
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 17 / 17 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/parser/AstBuilder.java
5
5
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/AstToStringBuilder.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/PolymorphicFunctionAnalyzer.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/Type.java
2
2
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 17 / 17 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/parser/AstBuilder.java
5
5
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/AstToStringBuilder.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/PolymorphicFunctionAnalyzer.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/Type.java
2
2
100.00%
[]

@mergify backport branch-3.0


[feature-request] Use Custom CommandExecutors

Some users request the option for using their custom CommandExecutor to execute command operator e.g. py>, rb>. They want to execute the operators on different place from Digdag where are running. Currently we don't have any extension point to load custom CommandExecutor and specify it for command operators.

I wrote Scripting Operators without custom CommandExecutors. > https://github.com/civitaspo/digdag-operator-ecs_task#experimental-scripting-operators
This is what I wanted to do. When the CommandExecutor can be implemented, we will reimplement these Scripting Operators.


Audio with PDF Transcript

Use case: Sodargye lectures from Wayne Bivens-Tatum — these are lectures with a PDF transcript.
Possible Solutions:

[ ] Two items in Figgy with the same BIB ID.
[ ] Somehow get UV to display a PDF and audio.

@hackmastera. ingesting twice w/same bib id would get the job done quickly, but I wonder how user friendly it would be if it were presented in this way. @escowles is there an ideal deadline for this?


Getting Null Pointer exception when running tests with QAFDataProvider

I'm using 2.1.13 maven dependency and I have my tests something like, and When I run my tests I'm getting null pointer exception with below stack trace. Could you please help me?
public class SimpleGoogleTest {
@QAFDataProvider(dataFile = "/Users/TesUser/Workspace/FixProject/ExcelCheck/src/test/resources/excelfile.xls", sheetName = "excelreader")
@Test()
public void testGoogleData(Map<String, Object> data)
{ System.out.println(data.get("name")); }
}
FAILED: testGoogleData
java.lang.NullPointerException
at com.qmetry.qaf.automation.testng.pro.QAFTestNGListener.afterInvocation(QAFTestNGListener.java:208)
at com.qmetry.qaf.automation.testng.pro.QAFTestNGListener2.afterInvocation(QAFTestNGListener2.java:158)
at org.testng.internal.invokers.InvokedMethodListenerInvoker$InvokeAfterInvocationWithContextStrategy.callMethod(InvokedMethodListenerInvoker.java:108)
at org.testng.internal.invokers.InvokedMethodListenerInvoker$InvokeAfterInvocationWithContextStrategy.callMethod(InvokedMethodListenerInvoker.java:104)
at org.testng.internal.invokers.InvokedMethodListenerInvoker.invokeListener(InvokedMethodListenerInvoker.java:62)
at org.testng.internal.Invoker.runInvokedMethodListeners(Invoker.java:552)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:696)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)

@kabothu , i am not able to reproduce this issue. Will you please debug it and provide steps to reproduce? I see that you have typo in above code sample  @test() instead of @Test.

@cjayswal : Please follow the steps below:
Add these maven dependencies to pom.xml

com.qmetry
qaf
2.1.13

org.testng
testng
6.14.3

Create an excel file(excelfile.xls) and sheet name as (excelreader) with columns as (name,address,email) and one row with some values.
2.Point this to QAF dataProvider and give the sheetName as well.
3.In the @Test method, call data.get("name") and see you find get following exception.

Other Information: I'm using JDK 1.8 version.

remove testng dependency from your pom and try.

@cjayswal : If I remove testng annotation, Could you please let me know how to import annotation for @Test()?

Keep your code as it is. Remove TestNG dependency from you pom.xml it will automatically resolved by qaf.

@cjayswal : This way I can't use some of the default features of testng. We are forcing to use all the features of QAF and their respective syntaxes. Could you please confirm can I still use testng syntaxes or do i need to use QAF syntaxes?

You will be able to utilize each and every feature of TestNG as QAF is extension to TestNG. QAF provides additional features on top of TestNG and you can use TestNG features as is with additional capabilities. Will you please provide details about syntaxes you are talking about?

Hi @cjayswal, I am talking about features like priority, grouping, dependsOnMethods etc. One more quick question, Is there a way i can map excel sheet columns to a Bean class Object and Pass the Bean Class Object to my test method something like @Test(BeanClass obj) and use object.getName() something like this?

Defiantly you can use all the features of TestNG  including priority, grouping, dependsOnMethods etc. as your test is TestNG test. What i would suggest is try to overcome from the NullPointerException by removing testNG dependency from pom (or use 6.10 instead of 6.14.3). Once it resolved post your other queries into users group.

Sure. I will check and let you know.

@cjayswal : I removed testng dependency from pom and it shows an error in my Test Class asking me to import Testng annotation. It doesn't provide any suggestions from QAF. Can you please share me your code?

qaf-example-project.zip is the working example you can try.

Your code works fine with lot of dependencies. Can you please check and let me know what am I missing?
ExcelCheck.zip

@cjayswal : I figured it out the issue. If the package name is default package you will see that issue. It can be reproducible from your end as well. Please try and let me know

Here you go ExcelCheck.zip with fix. I was able to reproduce the Null Pointer exception. The reason for the null pointer exception is that your test class was not in any package and that's why when looking for package it was throwing null pointer! You can move you test class in any package and it should start working.
As a side not, you should extend appropriate base test case classeee from qaf depending on the functionality. For example:

TestNGTestCase for none ui, none api
WebdriverTestCase for UI
RestWSTestCase for Web services

Thanks for reporting bug and providing testcase to reproduce it. I will consider this bug not-critical because in real projects there is not use case i seen where test classes are in default package.

@cjayswal : Sounds great. and thanks for all your efforts and timely response. Appreciate it.


Detect if door opener light is on

I have setup my garage door controller to add "doors" that turn on/off the lights on the garage door openers.  What type of sensor would I need to use to determine if the light on a particular opener is on or off?  I currently have the state_pin for the lights set to the pin for the opener it is on, so I have no idea if the light is on or off.  I have a camera in the garage and use this app to turn the light on to be able to see.
I hope that makes sense.

Hi there! That sounds like a great setup you have going on with your garage door controller. To determine if the light is on or off, you can use a photoresistor or a light-dependent resistor (LDR) sensor. These sensors work by detecting the amount of light in the environment and outputting a corresponding voltage or resistance value. By monitoring this value, you can determine if the light is on or off. I hope this helps and if you need any further assistance contact Poquoson Quick Service don't hesitate to reach out.

Hi there! For your garage door setup, you may want to use a light sensor to determine if the light on a particular opener is on or off. This will allow you to accurately control the lights based on the state of the opener. You could also consider using a smart Garage Door light bulb that can be controlled through your app, which would eliminate the need for a separate sensor. Good luck with your project!


ENH: Pattern computation for linear models

This is a simple function that fit a linear model onto some data (X, y), computes the corresponding patterns and create an evoked object with it.
Visualization is much more simple now...

also you'll need to make travis happy

It would be nice if the function could also be passed a pre-fitted model, in which case linear_model.fit() would not be called.
From the scikit-learn manual:

As a result the existence of parameters with trailing _ is used to check if the estimator has been fitted.

I would for example love to use this function to do the following:

Fit classifier to my data
Verify the fitting is proper by using compute_patterns
Start using the classifier for fun and profit

what's the status of this? how does it relate to CSP patterns?

why was this closed? I was excited to see this feature!

it's a dupe with the other PR creating the LinearModel class that will come with plot_patterns method.

Yep @agramfort is right, sorry I should have said that before closing the PR.
@wmvanvliet have a look at examples/decoding/plot_linear_model_patterns.py in PR #2292
It nicely show different patterns/filters on MEG vs EEG data.


[feature request] Admin/Server Portal Support

This mod looks just about perfect for having a single public hub at spawn for multiple dimensions and regions. However, I worry about players breaking the public portal blocks, or setting them to private.
Right now I'm assuming that the portals I make (even if copied by something like recurrent complex) are attached directly to my player ID as the mod creator so I guess I'm the only one who could accidentally screw things up but I'd rather not have that option when I'm not in OP/Administrator mode.
I'm also looking at using another mod to make portal blocks unbreakable but it would be much nicer if I had a creative mode only bedrock version . . . especially one that didn't require RF since I'm going to be hiding an endless RF block under the portal and surrounded by bedrock to keep players from cheating.
Of course, the big drawback to this method is that I'm either going to be giving players (griefers) access to unbreakable blocks or I'm going to have to prevent them from having their own portals entirely.  I've got a few ideas (using other mods) to handle this but it definitely is awkward.

Just wanted to make a quick comment thanking you for your quick work and responsiveness. Very impressive. Here is a picture of my new WORKING/CREATIVE spawn structure:


coding in lua for csgo

I am very new to lua and dont know the syntax much
Can anyone suggest lua code for below C ++ code.
recoilCrosshair = interfaces->cvar->findVar("cl_crosshair_recoil");
recoilCrosshair->setValue(config->misc.recoilCrosshair ? 1 : 0);
its part for recoil crosshair code that daniel used earlier.
Thanks

you need this to work on another paid cheat with lua?
if so, look at their documentation or wiki on how to change cvars.

Oh i found it. Forgot to close this thread.


Press button for view a post on telegram channel for viewing a post

Hi
i'm new for bot telegram programming with php and i want to create 3 button under post that one of theme after click on it by user increase the number of view of the post and does not increase this number with scrolling on content of the channel!
sorry for my language
please help.

You mean inline keyboard buttons? Like a vote counter or something?

No, i mean that when a user see the post in telegram channel , a method like a counter call for increasing the post views count, and I want user click on the button for call this method to increase the post views count and this button by bot has been placed under the channel posts and user must click on it to increase the post views count.

Hmm, i think that view count is automatic and counted by Telegram itself, to show how many users in the channel have seen it.
Happy to stand corrected though, maybe @Hitmare @jacklul @chuv1 know more.

Yes, that's I mean, tnx for your reply.

I don't think you can do anything about that, which kind of makes sense, as that is managed by Telegram.

I've seen before this functionality on telegram bot that forcing you to join telegram channel and that channel, under each post three button was there and one of those by user clicks increase the post views count and I was very surprised and after I searched for this functionality, but I did not find anything.

as far as is used google to find such a function in the BOT API i could not find one. Maybe it was an bot based on the Telegram Client API which we are not supporting here.

OK, thanks,after a while I think so


Contributing cl-gles-user-module to AGL

Hi,
I really like the cl-gles-user-module recipe! I don't see an explicit license to it, but would you be okay with me contributing it to the Automotive Grade Linux project? I think it will need some build adaptations, but I've already done most of the work to make that happen.
Thanks,
Martin

Thanks. To be clear, I was asking only about the bitbake packaging rather than cl-gles-user-module itself, which I know is proprietary. I see you added an MIT license to the recipes here, so I will use them, with attribution. Thanks!


Why use shortcut=False in the dark5 layer of backbone?

@songkq We just keep this setting the same as YOLOv5 for a fair comparison.

I believe shortcuts are generally used, if a deeper layer is present. Since dark5 is the last layer of the backbone, we do not need to preserve previous information.


Allow users to create a working extensibility config from UI

Description
Changes proposed in this pull request:

Add a modal on CRD details, enabling user to easily create simple extensibility UI.

Related issue(s)
Closes #1434

/test pre-busola-smoke-test-docker

/retest

/retest

/retest

/test pre-busola-smoke-test-docker

/test pre-busola-smoke-test-docker

/test pre-busola-integration-test-k3s-cluster


Add MEGA: Megaverse

[x] I understand that token listing is not required to use the Polygon Wallet with a token.

Please provide the following information for your token.
Token Name: Megaverse
Token Symbol: MEGA
Decimals: 18
Polygon Address: 0xD87958D9Cc146aBe382Ee20D1EF278321E61ADe9
Ethereum Address: 0xCF9b27399447f92462Dad69491edbA304a063591
Logo URI: https://imgur.com/1pDWnjT
Project Name: Megaverse
Project Summary: Where social media users and the world’s most vibrant global communities enter the metaverse
Project Contact<EMAIL_ADDRESS>Project Website: https://megaverse.game/
Mainnet/Testnet: Mainnet
Additonal Notes:

logoURI: https://i.imgur.com/1pDWnjT.jpeg

Included in AllTokens v1.2.0.


improve: remove unnecessary Rows in SQL tests 🪶

The sqlmock.NewRows returns rows that are used for test cases that we expect some rows to be returned by the sqlmock. In these 3 cases, these rows were created unnecessarily and could be removed.
Describe the solution you'd like
Remove NewRows from templates and the following variables from the parser.

Please do these:

assign MR labels correctly
update the changelog file
add a comment to MR for your reasons for changes

Thanks a lot 🗿

@n25a Branch is ready to merge, It's been updated by the master branch.

Thanks, Bamdad. 🏅☕


Add caesar request

This PR lays out the scaffolding for the Caesar export requests:

A Caesar export duck with an Effect that requests from Caesar. This part isn't working yet since I'm waiting on the user group id to be serialized with classrooms in zooniverse/education-api#67
A modal to show the status of the export as well as options on how to download it. I still need to add the buttons for this. Placeholder button for CSV download is now added.

@shaunanoordin I think this is ready for review. Most of this is UI placeholder and is non-functional until the updates to the API to have the Panoptes user group id.


How use moduleDirectories in next.js?

Hi all,
I had a look at https://github.com/tleunen/babel-plugin-module-resolver but it was not enough for me.
I want to use moduleDirectories(webpack) but it does not work on next.js.
It looks like https://gist.github.com/ryanflorence/daafb1e3cb8ad740b346#shared-module-resolution
Thanks advance.

It's currently not possible to use that webpack config. We have an example for plugin-module-resolver. https://github.com/zeit/next.js/tree/master/examples/with-absolute-imports.


Fix hmac issues for Emacs 24 and 25

In Emacs 24 the json-encode-string function returns alway a unibyte string whereas the new performance improved json-encode-string in Emacs 25 returns the string with same encoding as the input.

This looks good and seems to work for me on both 24 and 25.
@r4nt @halbtuerke Can you test this real quick? It should work on both emacs 24 and 25.

As mentioned in my issue report this works for me under Emacs 25.

Ah, ok, I missed the discussion on the issue. Thanks for everyone's work on this!


Deepfreeze the nextState object as well.

To avoid somebody tampering with the result of the reducer, you should deepFreeze the nextState object as well.
Otherwise, somebody who just takes the output of the store and starts changing this object will reflect changes into the store as well, since this will be the same reference.
You need to guard for a situation like this as well.

This is a must have for our needs! :)

@KwintenP @dsebastien sorry for the delay
@KwintenP merged both PR-s and added you as a collaborator

Nice, thanks @tsm91 !

Thanks!


Update vendor dockershim

To fix the nil pointer here: https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/dockershim/security_context.go#L129
cc @Crazykev Watch out for staging part

Sorry, I updated in my local branch, while my docker environment broke, and haven't got time to fix it yet. Will check this when come back to Hangzhou.
Welcome!

                        张浩

            浙江大学  VLIS/SEL实验室

<EMAIL_ADDRESS>
On 05/09/2017 20:25, Harry Zhang wrote: To fix the nil pointer here: https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/dockershim/security_context.go#L129
cc @Crazykev Watch out for staging part
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kubernetes/frakti","title":"kubernetes/frakti","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kubernetes/frakti"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Update vendor dockershim (#138)"}],"action":{"name":"View Issue","url":"https://github.com/kubernetes/frakti/issues/138"}}}

Fixed by #142.


Add Alistair and Martin names to all required places

In the same way that @patriksvensson @devlead and @gep13 names appear in various locations within the code base, the same should happen with @agc93 and @mholo65.
PR incoming.

Part of this is in #1562

@mholo65 which parts aren't? Would if any would you be in a position to send a PR?

@devlead see PR #1596. Rebase that (ignore project.json) changes, and it's all good, I think :smile:

@mholo65 perfect 👍


--list-extensions --category themes shows non-themes

Testing https://github.com/microsoft/vscode/issues/78106
When running code-insiders --list-extensions --category themes, I see a few extensions show up in the list that are not themes (highlighted):

There's not much I can do here as GraphQL and Profile Switcher are both classified as themes in the marketplace even searching the market place for @category:themes will display them.


Consider a strict_templates setting

A setting which turns on Jinja strict mode, so any templates that access undefined variables raise a hard error.
Prototype here:
diff --git a/datasette/app.py b/datasette/app.py
index 40416713..1428a3f0 100644
--- a/datasette/app.py
+++ b/datasette/app.py
@@ -200,6 +200,7 @@ SETTINGS = (
         "Allow display of SQL trace debug information with ?_trace=1",
     ),
     Setting("base_url", "/", "Datasette URLs should use this base path"),
+    Setting("strict_templates", False, "Raise errors for undefined template variables"),
 )
 _HASH_URLS_REMOVED = "The hash_urls setting has been removed, try the datasette-hashed-urls plugin instead"
 OBSOLETE_SETTINGS = {
@@ -399,11 +400,14 @@ class Datasette:
                 ),
             ]
         )
+        env_extras = {}
+        if self.setting("strict_templates"):
+            env_extras["undefined"] = StrictUndefined
         self.jinja_env = Environment(
             loader=template_loader,
             autoescape=True,
             enable_async=True,
-            undefined=StrictUndefined,
+            **env_extras,
         )
         self.jinja_env.filters["escape_css_string"] = escape_css_string
         self.jinja_env.filters["quote_plus"] = urllib.parse.quote_plus

Explored this idea a bit in:

#1999

I'm torn on this. It's useful for me right now for refactoring, but I feel like it should be a permanent thing, not a setting - or it should default to on and people should turn it off, but who would ever do that?

Here's an example of something that would break:
https://github.com/simonw/datasette/blob/56b0758a5fbf85d01ff80a40c9b028469d7bb65f/datasette/templates/database.html#L12-L15
Because metadata is an empty dictionary sometimes, so {{ metadata.title or database }} would raise an error and need to be replaced by {{ metadata.get("title") or database }}.


Error when trying to use ezlinks

When I try to use ezlinks do I get the following error on mkdocs serve:
https://paste.helpch.at/rileqagejo.sql
I use MkDocs 1.1 just downloaded the plugin today (in the past 30 minutes) and also use Material for MkDocs v7 alongside all the dependencies it downloads

Hmm. It looks possibly related to the version of python you're using (maybe also with what i specified on PyPi too)
The problem is (I believe) that you're using a python from before the introduction of the walrus operator, which was not available until python 3.8.
It is a simple change to avoid using the walrus operator, which I will put together and publish asap.

I pushed the fixes into mainline. I'm prepping a release right now.
As soon as version 0.1.7 is released, it will include the changes.

The release is live @ https://github.com/orbikm/mkdocs-ezlinks-plugin/releases/tag/v_0.1.7 and https://pypi.org/project/mkdocs-ezlinks-plugin/
Please install the latest version, and let me know if you are still experiencing issues.
Thanks for taking the time to report the issue!

The plugin loads now, thanks for the fix.
But I now encounter a rather weird behaviour, where the expansion doesn't seem to recognize a page properly.
In my case is it happening with a button, where instead of linking to the right page, the link is handled like as if the plugin isn't installed (Is treated as relative to the current page).
What makes it even more weird is, that the same link on a different place in the page is actually working as expected, despite being the exact same format.
Here's the part that confuses me:
<!--
        "general" is a page within the same directory (docs/github/)
        The page where this happens in is called issues-pull-requests
-->

!!! pages "Pages" <!-- "pages" is a custom admonition type -->
    [:brands-github: General](general){: .md-button } <!-- This link is treated as relative (github/issues-pull-requests/general) -->

# Issues/Pull Requests
This page lists all features that can be used across all issues and Pull requests on GitHub.

!!! info "Note"
    Issues and Pull requests support all [general features](general). <!-- This link is treated as it should (github/general) -->

Note: Adding .md makes it behave normal again.

Interesting. I will take a look at this issue. Can you please create a new issue, with essentially your comment above? It would help me track the issue a bit more.


[FEATURE] Allow authentication via JWTs

Is your feature request related to a problem? Please describe.
I'd like to authenticate a User via a JWT that contains a payload.
Describe the solution you'd like
Implement a JWTAuthGroup that authenticates a JWT and injects it into req.auth.
A CorvusJWTAuthenticator can be used to seperate the authentication from the group type.

Maybe this fits better in a separate package (like corvus-jwt) as this is not a core functionality and requires to have the jwt-kit and jwt dependencies from Vapor.

Hmm, I'm not sure. I think if we want to go with a batteries-included approach, we can just include everything in Corvus, even if that makes the package size quite large. @PSchmiedmayer what do you think?

@bmikaili @jhoogstraat I generally think that having everything in Corvus so far makes sense. One dependency that support all the functionality.
What about making it a separate target that is exported as a separate product? So you only have to import Corvus as a dependency but only if you include the target you have to build the JWT package. Then we also don't have to maintain two separate project and you can always test all the functionality in one repo 👍

We will archive Corvus in favor of Apodini as a worthy successor.


Whitelisting for higher limits

Hi, thanks for the extensive documentation, it's been very useful.
I've got one question about a phrase in the 'known limitations' section:

Unless your bot is whitelisted for higher limits, the bot's attempt at sending a message will get throttled at 8,000 messages every 30 minutes (rolling window)

My clients tenant has 40.000 users, so we easily hit the 8.000 messages. Can you please explain more on the white listing? I can't find any documentation on it. Is there a possibility to whitelist a bot for larger tenants?
thanks in advance!

Please connect with your CSM for details on whitelisting a tenant.

Closing due to inactivity. Please re-open if you're still facing the issue.


what's up with all the scroll bars?

the ones at the bottom also show up in the template.add_sidebar_menu example

Hi, thanks! Having a hard time repro-ing on macOS Firefox/Chome/Safari. Do you see these in every code box, or just on this page? What browser/os?

I noticed this too. I see unnecessary horizontal scrollbars on nearly all box components. I can reproduce this by resizing the browser size, see video:
video.webm
If I had to take a guess, I'm thinking it's due to the box components having the overflow-x CSS attribute set to scroll when setting the component to scroll horizontally. I wonder if that should be set to auto instead? Possibly same goes for overscroll-y on vertical scrolling boxes.
This double scroll bar issue specifically occurs with code boxes because the pre elements have overflow: auto (which makes sense because it's a pre and should scroll if it needs too), but because they're contained in a div with the .box class, that adds the second scrollbar when the screen is small. But the box container doesn't need to scroll because the pre takes care of that.
I (briefly) looked through the code, and I think it may be just changing this line from scroll to auto. In my browser inspector, changing scroll -> auto removes the double scroll bar (just had to do it for every component). May need more thorough testing though, this was very quick glance 😅

@sphars thanks for investigating! I changed the default to "auto", as well as a specific fix for the code boxes in the docs section. The code box container was set to horizontal_scroll=True, but this should really be False (overflow-x: hidden) because the inner code box is already overflow-x: auto.
Will be in next release.

Do you guys mind testing if the extraneous scrollbars are gone in the latest release? Here's the new docs app https://docs.hyperdiv.io/

Confirmed, I'm not seeing any unnecessary scroll bars now (tested in Firefox and Chromium). Looks good to me!

Sweet, thanks!


karate still not able to disable SSL validation in some cases

Caused by: java.lang.RuntimeException: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Certificates does not conform to algorithm constraints

referencing tickets #71 #76 for those who may search for this in future.
Thanks to this SO post for the solution: https://stackoverflow.com/a/20931663/143475

I think that would be useful to ignore completely certificates, for example when using Karate for local testing. Is there a configuration for this? Tried with setting also 'ssl:{"trustAll":true}' but without success.

@aleruz my understanding is ssl = true will do this, if not please help find the right solution or a PR, there's too many SSL threads here for me to remember

Did open a PR to fix documentation, since ssl='true' is the correct config, being true a string and not a boolean.

@aleruz uh, wait a minute, that shouldn't be, see the source code: https://github.com/intuit/karate/blob/master/karate-core/src/main/java/com/intuit/karate/Config.java#L175
and we do support a string, but that is for the case where we need to set a specific sslAlgorithm
do you think you can debug and see what is going on ? * configure ssl = true should work and is so basic - that we should have heard from a lot more folks if it is working the way you observe

@aleruz oops please ignore all the above - you have indeed found a problem, I'm opening a new issue


README.md: example matrix output leads to 404

The example provided in README.md ends in a 404.
Maybe change it to sth like this? This file is located in the folder provided by the link just above this incorrect / missing example.

Many thanks, I've fixed this


chore: removing docs/website as its not used anymore

Issue #, if available:
Description of changes:
Description of how you validated changes:
Checklist:

[ ] Write/update tests
[ ] make pr passes
[ ] Update documentation

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #963 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #963   +/-   ##
========================================
  Coverage    94.78%   94.78%
========================================
  Files           69       69
  Lines         3067     3067
  Branches       578      578
========================================
  Hits          2907     2907
  Misses          84       84
  Partials        76       76

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 c6dc591...5d02fd2. Read the comment docs.

Please also remove from Travis https://github.com/awslabs/serverless-application-model/blob/master/.travis.yml#L26 and Makefile


Simplify success/failure check

Would be great if we could simplify fetch success/failure check.
...
(error || (response && !response.ok))
...

and it gets messy when there are multiple requests.

Great idea :+1:

I think I'll add a failed Boolean to go along with fetching.

Resolved in #129 ; will be released as 2.0.0


fix(es/ast): revert removal of definite in PrivateProp

Description:

BREAKING CHANGE:

Related issue (if exists):
closes #4050

Why isn't CI running

Seems like api for starting CI had some issue, and now ci is running


Add Sensor for WiFi Signal strength

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is
Describe the solution you'd like
A clear and concise description of what you want to happen.
Details of your HVAC system (e.g heat pump, gas furnace, boiler, AC, external ventilation)
Additional context
Add any other context or screenshots about the feature request here.

https://github.com/PeteRager/lennoxs30/releases/tag/2024.1.0


Title

Post title

Post description

Guide
Here are a few steps you can follow to write an AsyncAPI blog post:

After getting feedback on the issue, fork the website repository or open it in Gitpod. You can do that by prefixing the issue URL with gitpod.io/#.
Run the command npm run write:blog.
Run the website by using instructions from the README to test your changes.
Open a PR with your blog post and test your changes with a preview of the site on Netlify. If you use Gitpod, it will create a fork of the website repo for you before you create a PR.
Maintainers reviewing the article (e.g., language, images) may ask for improvements.
Once it's merged, it will be available live in production. :rocket:

We encourage you to write a blog post and share it with the community. We can't wait to read it :smile:!

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."

looks like spam


[feat] remove json4s from linkis

What is the purpose of the change
use jackson to replace json4s, we can reduce the linkis dependency
Related issues/PRs
Related issues: #4186
Related pr:#4368
Brief change log

replace json4s with jackson in linkis

Checklist

[x] I have read the Contributing Guidelines on pull requests.
[ ] I have explained the need for this PR and the problem it solves
[ ] I have explained the changes or the new features added to this PR
[ ] I have added tests corresponding to this change
[ ] I have updated the documentation to reflect this change
[ ] I have verified that this change is backward compatible (If not, please discuss on the Linkis mailing list first)
[ ] If this is a code change: I have written unit tests to fully verify the new behavior.

@jackxu2011 @rarexixi please help review


display threads above comment form

I want to display the threads above the comment form. I checked all the templates in the bundle, but no luck. anyone know how to do it?

Just overriding the friendsofsymfony/comment-bundle/FOS/CommentBundle/Resources/views/Thread/comments.html.twig file by copying it to app/Resources/FOSCommentBundle/views/Thread - you will need to create that directory, then modifying that template to relocate the comment form anywhere you want.
In your case - to put it to the bottom - the template should looks like this
`{% set depth = depth|default(0) %}
{% set view = view|default('tree') %}
{% if depth == 0 %}
{% if fos_comment_can_edit_thread(thread) %}

{{ (thread.commentable ? 'fos_comment_thread_close' : 'fos_comment_thread_open') | trans({}, 'FOSCommentBundle') }}

{% endif %}
{% set count = thread.numComments %}
<h3>{% transchoice count with {'%count%': count} from "FOSCommentBundle" %}fos_comment_thread_comment_count{% endtranschoice %}</h3>

{% endif %}
{% for commentinfo in comments %}
{% include "FOSCommentBundle:Thread:comment.html.twig" with { "children": commentinfo.children, "comment": commentinfo.comment, "depth": depth, "view": view } %}
{% endfor %}
{% if depth == 0 %}
{% if fos_comment_can_comment_thread(thread) %}
{{ render(url('fos_comment_new_thread_comments', {"id": thread.id})) }}
{% endif %}
{% endif %}
`


Game keeps freezing after killing the Solomon raid bosses

Don't know what the heck is going on but happens 7/10 times... I land the last hit and the screen shakes up and stays like that

wut


Refactor BooleanNot usage

Moves some duplicated logic out of "negative" expression resolvers by re-using parts from the "positive" ones.

Don't like the null check inside, will adapt it

Thank you.


Document instructions to setup the project on developer machine

Document instructions to setup the project on developer machine

Documented. Commit is here


[BUG]

Describe the bug
After activating the Datatable plugin I can't use it. I keep getting the error Uncaught TypeError: $ (...). DataTable is not a function. I already tried to use the solution in another Issue but it didn't solve it.

Item
Version

Laravel
8

Project
"jeroennoten/laravel-adminlte": "^3.5"

OS
Ubuntu 20.04

@Minotti Please provide the configuration you are using for the plugin and how you use it on the blade view. Also, in case you have not already read, check the following link:

Plugins Configuration


RuntimeError: Unknown layout

这个问题有遇到过的吗？怎么解决
(real3dportrait) root@VM-0-5-ubuntu:/home/autopai/jjg/Real3DPortrait# python inference/real3d_infer.py --src_img data/raw/examples/Macron.png --drv_aud data/raw/examples/Obama_5s.wav --drv_pose data/raw/examples/May_5s.mp4 --bg_img data/raw/examples/bg.png --out_name output.mp4 --out_mode concat_debug --low_memory_usage | WARN: egs/egs_bases/audio2motion/vae.yaml not exist. | WARN: checkpoints/240210_real3dportrait_orig/th1kh_512_audio2motion/base.yaml not exist. | load 'model' from 'checkpoints/240210_real3dportrait_orig/audio2secc_vae/model_ckpt_steps_400000.ckpt', strict=True | WARN: checkpoints/240210_real3dportrait_orig/secc2plane_torso_orig/secc_img2plane_orig.yaml not exist. | load 'model' from 'checkpoints/240210_real3dportrait_orig/secc2plane_torso_orig/model_ckpt_steps_100000.ckpt', strict=True WARNING: All log messages before absl::InitializeLog() is called are written to STDERR I0000 00:00:1709718794.396305    2338 gl_context_egl.cc:85] Successfully initialized EGL. Major : 1 Minor: 5 I0000 00:00:1709718794.497222    2465 gl_context.cc:357] GL version: 3.2 (OpenGL ES 3.2 NVIDIA 525.105.17), renderer: Tesla T4/PCIe/SSE2 W0000 00:00:1709718794.501735    2338 face_landmarker_graph.cc:174] Sets FaceBlendshapesGraph acceleration to xnnpack by default. INFO: Created TensorFlow Lite XNNPACK delegate for CPU. face area percent 0.22489264198096937 larger than threshold 0.2, directly use the input image... Extracted wav file (16khz) from data/raw/examples/Obama_5s.wav to data/raw/examples/Obama_5s_16k.wav. Loading the HuBERT Model... Some weights of HubertModel were not initialized from the model checkpoint at facebook/hubert-large-ls960-ft and are newly initialized: ['hubert.encoder.pos_conv_embed.conv.parametrizations.weight.original0', 'hubert.encoder.pos_conv_embed.conv.parametrizations.weight.original1'] You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference. Loading the Wav2Vec2 Processor... I0000 00:00:1709718804.534568    2338 gl_context_egl.cc:85] Successfully initialized EGL. Major : 1 Minor: 5 I0000 00:00:1709718804.598764    2580 gl_context.cc:357] GL version: 3.2 (OpenGL ES 3.2 NVIDIA 525.105.17), renderer: Tesla T4/PCIe/SSE2 I0000 00:00:1709718805.212283    2338 gl_context_egl.cc:85] Successfully initialized EGL. Major : 1 Minor: 5 I0000 00:00:1709718805.269880    2600 gl_context.cc:357] GL version: 3.2 (OpenGL ES 3.2 NVIDIA 525.105.17), renderer: Tesla T4/PCIe/SSE2 W0000 00:00:1709718805.270366    2338 face_landmarker_graph.cc:174] Sets FaceBlendshapesGraph acceleration to xnnpack by default. batch 0 | loss_lan: 0.40, loss_reg_id: 0.27,loss_reg_exp: 0.97 | To extract pose from data/raw/examples/May_5s.mp4 lms_2d file not found, try to extract it from video... data/raw/examples/May_5s_lms.npy I0000 00:00:1709718807.209767    2338 gl_context_egl.cc:85] Successfully initialized EGL. Major : 1 Minor: 5 I0000 00:00:1709718807.265839    2640 gl_context.cc:357] GL version: 3.2 (OpenGL ES 3.2 NVIDIA 525.105.17), renderer: Tesla T4/PCIe/SSE2 W0000 00:00:1709718807.266191    2338 face_landmarker_graph.cc:174] Sets FaceBlendshapesGraph acceleration to xnnpack by default. I0000 00:00:1709718807.290557    2338 gl_context_egl.cc:85] Successfully initialized EGL. Major : 1 Minor: 5 I0000 00:00:1709718807.352956    2649 gl_context.cc:357] GL version: 3.2 (OpenGL ES 3.2 NVIDIA 525.105.17), renderer: Tesla T4/PCIe/SSE2 W0000 00:00:1709718807.353318    2338 face_landmarker_graph.cc:174] Sets FaceBlendshapesGraph acceleration to xnnpack by default. | Extracted pose from data/raw/examples/May_5s.mp4 {'drv_audio_name': 'data/raw/examples/Obama_5s.wav', 'src_image_name': 'infer_out/tmp/cropped_src_img.png', 'a2m_ckpt': 'checkpoints/240210_real3dportrait_orig/audio2secc_vae', 'head_ckpt': '', 'torso_ckpt': 'checkpoints/240210_real3dportrait_orig/secc2plane_torso_orig', 'bg_image_name': 'data/raw/examples/bg.png', 'drv_pose_name': 'data/raw/examples/May_5s.mp4', 'blink_mode': 'period', 'temperature': 0.2, 'mouth_amp': 0.45, 'out_name': 'output.mp4', 'out_mode': 'concat_debug', 'map_to_init_pose': 'True', 'head_torso_threshold': None, 'seed': None, 'min_face_area_percent': 0.2, 'low_memory_usage': True} | audio-to-motion finished rendering drv secc:   0%|                                                                              | 0/3 [00:00<?, ?it/s]create rasterizer on device cuda:0 rendering drv secc:   0%|                                                                              | 0/3 [00:00<?, ?it/s] Traceback (most recent call last):   File "/home/autopai/jjg/Real3DPortrait/inference/real3d_infer.py", line 625, in <module>     GeneFace2Infer.example_run(inp)   File "/home/autopai/jjg/Real3DPortrait/inference/real3d_infer.py", line 561, in example_run     infer_instance.infer_once(inp)   File "/home/autopai/jjg/Real3DPortrait/inference/real3d_infer.py", line 187, in infer_once     out_name = self.forward_system(samples, inp)   File "/home/autopai/anaconda3/envs/real3dportrait/lib/python3.9/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context     return func(*args, **kwargs)   File "/home/autopai/jjg/Real3DPortrait/inference/real3d_infer.py", line 546, in forward_system     self.forward_audio2secc(batch, inp)   File "/home/autopai/anaconda3/envs/real3dportrait/lib/python3.9/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context     return func(*args, **kwargs)   File "/home/autopai/jjg/Real3DPortrait/inference/real3d_infer.py", line 385, in forward_audio2secc     batch = self.get_driving_motion(batch['id'], batch['exp'], batch['euler'], batch['trans'], batch, inp)   File "/home/autopai/anaconda3/envs/real3dportrait/lib/python3.9/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context     return func(*args, **kwargs)   File "/home/autopai/jjg/Real3DPortrait/inference/real3d_infer.py", line 401, in get_driving_motion     face_mask, drv_secc_color = self.secc_renderer(id[i*chunk_size:(i+1)*chunk_size], exp[i*chunk_size:(i+1)*chunk_size], zero_eulers[i*chunk_size:(i+1)*chunk_size], zero_trans[i*chunk_size:(i+1)*chunk_size])   File "/home/autopai/anaconda3/envs/real3dportrait/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1511, in _wrapped_call_impl     return self._call_impl(*args, **kwargs)   File "/home/autopai/anaconda3/envs/real3dportrait/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1520, in _call_impl     return forward_call(*args, **kwargs)   File "/home/autopai/jjg/Real3DPortrait/./deep_3drecon/secc_renderer.py", line 50, in forward     face_mask, _, secc_face = self.face_renderer(   File "/home/autopai/anaconda3/envs/real3dportrait/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1511, in _wrapped_call_impl     return self._call_impl(*args, **kwargs)   File "/home/autopai/anaconda3/envs/real3dportrait/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1520, in _call_impl     return forward_call(*args, **kwargs)   File "/home/autopai/jjg/Real3DPortrait/./deep_3drecon/util/mesh_renderer.py", line 110, in forward     fragments = self.rasterizer(mesh, cameras = cameras, raster_settings = raster_settings)   File "/home/autopai/anaconda3/envs/real3dportrait/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1511, in _wrapped_call_impl     return self._call_impl(*args, **kwargs)   File "/home/autopai/anaconda3/envs/real3dportrait/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1520, in _call_impl     return forward_call(*args, **kwargs)   File "/home/autopai/anaconda3/envs/real3dportrait/lib/python3.9/site-packages/pytorch3d/renderer/mesh/rasterizer.py", line 252, in forward     pix_to_face, zbuf, bary_coords, dists = rasterize_meshes(   File "/home/autopai/anaconda3/envs/real3dportrait/lib/python3.9/site-packages/pytorch3d/renderer/mesh/rasterize_meshes.py", line 223, in rasterize_meshes     pix_to_face, zbuf, barycentric_coords, dists = _RasterizeFaceVerts.apply(   File "/home/autopai/anaconda3/envs/real3dportrait/lib/python3.9/site-packages/torch/autograd/function.py", line 553, in apply     return super().apply(*args, **kwargs)  # type: ignore[misc]   File "/home/autopai/anaconda3/envs/real3dportrait/lib/python3.9/site-packages/pytorch3d/renderer/mesh/rasterize_meshes.py", line 297, in forward     pix_to_face, zbuf, barycentric_coords, dists = _C.rasterize_meshes( RuntimeError: Unknown layout

Hi, maybe your Pytorch3D is not well installed.
In this case, we recommend you to re-create a new conda environment and install Pytorch3D from source code:
pip install "git+https://github.com/facebookresearch/pytorch3d.git@stable"

It will takes a long time, but has a better compatibility.

Hi, maybe your Pytorch3D is not well installed. In this case, we recommend you to re-create a new conda environment and install Pytorch3D from source code:
pip install "git+https://github.com/facebookresearch/pytorch3d.git@stable"

It will takes a long time, but has a better compatibility.

I reinstall pytorch3d with conda,  it works well now.  Many Thanks to u


Show clusterIP in Services diagrams instead of ServiceIP

The documentation refers to clusterIP, however the diagrams only show ServiceIP.
There is a helpful note below each graph stating that ServiceIP should actually be clusterIP — this PR changes the diagrams directly, therefore the note is no longer required.
I've added updated PNG files, however it doesn't look like they're referenced. I can remove them instead if preferred?

/assign @kbarnard10

@SamFleming Thanks for this PR--the changes make sense.
/lgtm
/approve


fix: version in CRD files correspond to CRD spec version, not API version

Fixes #115

I am looking into it.


Clarify what users should do next

This commit updates text on the confirmation page to clarify what users should do after they have registered.

Looks good to me 👍

Thanks @gclssvglx, could you give this an approving review?


Question on disk performance

For the Dv4-series, the table does not list any cached or uncached disk throughput. What sort of disk performance can be expected? Would it match the uncached throughput listed for the Dsv4-series?
For the Dsv4-series, what would the cached throughput be? Other VM types list a "Max cached and temp storage throughput". I get that this series has not temp storage, but it does support caching, correct?
What would be really useful for comparing different VM types would be to have these tables contain the same fields for every VM type. If something is not applicable, then just put N/A. At least within the same family of VM (like general purpose, compute optimized, etc.). Otherwise it can be difficult to tell if that info is missing or just doesn't apply.

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

ID: dfc7bf3f-e024-b964-df90-9dc2ada62cd6
Version Independent ID: bb514729-296e-9bdc-257e-f33a372b1744
Content: Dv4 and Dsv4-series - Azure Virtual Machines
Content Source: articles/virtual-machines/dv4-dsv4-series.md
Service: virtual-machines
Sub-service: sizes
GitHub Login: @brbell
Microsoft Alias: brbell

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

@aschlei Thanks for the feedback! We are working on better ways to present the different information about each VM size. I've added your feedback to the rest of the feedback we have gathered. Hopefully we will be able to make some global changes in the near future.
I'm going to close this issue for now. Thanks again!
#please-close

@aschlei Thanks for the feedback! We are working on better ways to present the different information about each VM size. I've added your feedback to the rest of the feedback we have gathered. Hopefully we will be able to make some global changes in the near future.
I'm going to close this issue for now. Thanks again!
#please-close


Error: Could not start Ghostdriver

Hello sir, I'm using Phantomjs. I googled and did everything to make the possibilities. But It seems It's a kind of bug. That's why i come here to tell you. Sir, I'm getting this error from 2 months. I asked the same question everywhere and did everything but nothing resolved me.
Okay, So my issue is:
You ghostdriver runs successfully on my PC/laptop. But when i upload my project into server. Let's say Openshift. It says the following error:
PhantomJS is launching GhostDriver... [ERROR - 2014-08-01T04:14:21.160Z] GhostDriver - main.fail - {"message":"Could not start Ghost Driver","line":82,"sourceId":139887801789952,"sourceURL":":/ghostdriver/main.js","stack":"Error: Could not start Ghost Driver\n at :/ghostdriver/main.js:82","stackArray":[{"sourceURL":":/ghostdriver/main.js","line":82}]} $ ./phantomjs --version 1.9.8
I also tried by using 1.9.7 version but nothing worked to me.
I can see the phantomjs version by using ./phantomjs -v. But unable to start ghostdriver. Please help How can i resolve this issues?
Please help! :(

Please bring this up with the Ghost Driver project instead.

Sir, I don't get you!.. Ghost driver is not running on server. But it runs on my laptop. It's a bug i guess! :( I'm getting this error from 2 months :(

Sir, Ghost driver is the part of PhantomJS. You should take a look.

GhostDriver is an embedded component within PhantomJS, not a core part of it. Please submit an issue to detro/GhostDriver as @ariya already correctly advised.


Running --doctool results in error message: ERROR: unimplemented base type encountered in renderer scene cull

Related to https://github.com/godotengine/godot/issues/64720.

Tested versions

Reproducible in: 4.3.dev cae759949-https://github.com/godotengine/godot/commit/a0106607e889fb0ed4ab5bf84a4b2707c3ac5598, 4.3.dev3
Not reproducible in: 4.2.1.stable, 4.3.dev2

System information
Godot v4.3.dev (cae759949) - Fedora Linux 39 (KDE Plasma) - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4090 (nvidia; 545.29.06) - 13th Gen Intel(R) Core(TM) i9-13900K (32 Threads)
Issue description
Running --doctool results in this error message:
ERROR: unimplemented base type encountered in renderer scene cull
   at: instance_set_base (./servers/rendering/renderer_scene_cull.cpp:636)

Despite this, --doctool generates correct output.
I can look at bisecting this if needed.
Steps to reproduce
Run a Godot editor binary with --doctool command line argument.
Minimal reproduction project (MRP)
N/A

Seems the instance is incorrectly initialized:
https://github.com/godotengine/godot/blob/a0106607e889fb0ed4ab5bf84a4b2707c3ac5598/servers/rendering/renderer_scene_cull.cpp#L623-L638
Unsure if this is specifically due to headless and if it might be something to solve in the dummy setup


I'm a teapot

The HTTP 418 I'm a teapot client error response code indicates that the server refuses to brew coffee because it is, permanently, a teapot. A combined coffee/tea pot that is temporarily out of coffee should instead return 503. This error is a reference to Hyper Text Coffee Pot Control Protocol defined in April Fools' jokes in 1998 and 2014.
Let us implement an endpoint in our server called /coffee and if we tries to access that we should get the error message 418 I'm a teapot.

I will take this one on.


add newline on shift+enter

Lost the ability to hit shift+enter to create a manual line break in text;  That was better than nothing, but preferably we could just resize the text box and it would auto wrap (If I can suggest what is preferred :)

You can enter to break the line

preferably we could just resize the text box and it would auto wrap

Maybe as a bonus feature this would work, but by default the text box should auto expand and not wrap unless you want it to wrap.
We're investigating whether we should keep both shift+enter and enter to add a newline, and finalize on cmd/ctrl+enter only.

Ok, it seems that Figma & Affinity uses both, so let's align it.
I'm gonna hijack this issue to track it.

You can simply press enter to break the line

Oh! I think I must have gotten used to the other way I didn't even realize.  Thanks!

@xzab you can now use both :smile:


Use HTML5 audio for SoundCloud tracks

After https://github.com/CookPete/react-player/issues/24#issuecomment-220315123, it looks like we can stop dealing with the SoundCloud SDK completely and just add the stream_url we get from the SC endpoint to an <audio> element, something we already do with filePlayer

Hello, I managed to get something working that pretty much empty SoundCloud of all its code and have it inherit from FilePlayer, as you suggested.
The test are passing (in chrome only thought).
So here it is : https://github.com/CookPete/react-player/pull/65


Adds Coursier and Travis Cache

Please, review at your convenience. Thanks.

Codecov Report

Merging #255 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #255   +/-   ##
=======================================
  Coverage   75.16%   75.16%
=======================================
  Files          35       35
  Lines         302      302
=======================================
  Hits          227      227
  Misses         75       75

@diesalbla Experimentally, the fastest approach (like 3 minutes faster) is with the .ivy2 directory in the cache section.


Update installer.py to use cu118 instead of 121

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

[ ] Refactor
[ ] Feature
[ ] Bug Fix
[ ] Optimization
[ ] Documentation Update
[ ] Community Node Submission

Have you discussed this change with the InvokeAI team?

[ ] Yes
[ ] No, because:

Have you updated all relevant documentation?

[ ] Yes
[ ] No

Description
Related Tickets & Documents

Related Issue #
Closes #

QA Instructions, Screenshots, Recordings

Added/updated tests?

[ ] Yes
[ ] No : please replace this line with details on why tests
have not been included

[optional] Are there any post deployment tasks we need to perform?

Fixes issue in #5065


Fix/integration test

:tada: This PR is included in version @kuka-js/serverless-v1.1.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Recommendation: use -allow-initial-errors option in fortio.yaml

Is your feature request related to a problem? Please describe the problem.
I observed that the fortio container will terminate if there is an error trying to send traffic. This was observed on OpenShift and when working with linkerd.
Describe the feature/solution you'd like
Use of the option -allow-initial-errors seems to address this problem.
Will this feature/solution bring new benefits for Iter8 users? What are they?
Tutorial test cases won't fail
Will this feature/solution bring new benefits for Iter8 developers? What are they?
Make tutorials more robust
Does this issue require a design doc/discussion? If there is a link to the design document/discussions, please provide it below.
You can use this issue thread, or a discussion thread in this repo, for design discussions. Please provide the appropriate links. You can use the issue/discussion to also discuss and describe alternatives.
How will this feature be tested?

[ ] Existing tutorials/test cases still run

How will this feature be documented?
Not needed
Additional context
This does not appear to be crtitical to update in all fortio.yaml files but it seems worth the effort in case the reason is environment or load related -- something we can't control in user clusters.

@Alan-Cha

@sriumcp Is this also relevant to the task metric/collect ?

Yes, this is relevant to metrics/collect... we can try creating an invalid target to test metrics/collect (I'm not sure what the current behavior is), and then create issues for its enhancement if anything is needed (example, change the Fortio command it uses or add a flag or both)

subsumed by #940


Setting BackCardsDepth causes items to flash in and out

Repro steps:

Have a list with a bunch of items (eg. 6). Use IsCyclical="False"
Set BackCardsDepth to a large number (eg. 10)
Create two buttons which increment/decrement SelectedIndex
Scroll to the end of the list, then scroll back to the start

Expected Results:
Nothing unusual
Actual results:
When you scroll back to the first item, the last item briefly (~250ms) flashes on the screen

Hi, @BlueRaja thanks for your report.
Can I ask what's the purpose of setting BackCardsDepth to SO BIG value?

This property makes a sense for CoverFlowView only (for showing more than 1 element at the same time)

Anyway, that's not a bug. That's the limitation of Forms. XF can't render so many views at the same time, that's why some glitches appear.
If you want to forbid reusing views among different items while scrolling the carousel, then just set IsViewReusingEnabled to False
And optionally set DesiredMaxChildrenCount to 12 for example

Hi @AndreiMisiukevich,
I'm experiencing something similar - I'm using CarouselView, and when I set BackViewsDepth to 3 a different view flashes
when you change view.

In each view I'm basically just loading an image (using FFImageCache). Each image is hosted on our server and I use BackViewsDepth so that the next few images can start downloading.

@yonkahlon can I ask you what the reason you set this property to 3?
I guess I need to hide this property...
Well, just don't do it. You load too many views at the same time it causes bad performance.
If you need it for some reason, then replace CarouselView by CoverFlowView (btw it has 2 as the default value for this property).
But I don't see any reason to do it in your design.

The same thing happens if I set it to 2. After you swipe past a few pages, everything works normal. It's almost like a few views load on top of each other.
It's just really nice if users don't have to wait to images to download. I.e. while you are reading page 1, page 2 is downloading.
I'll try CoverFlowView and let you know

CoverFlowView works perfectly :-)
Thanks for pointing me in the right direction!


Fix for Issue #15.

Spring Data Rest uses a PersistentEntityResourceAssembler that requires the DynamoDBMappingContext to be exposed as a Spring Bean.
The Spring Configuration should create this bean
@Bean
public DynamoDBMappingContext dynamoDBMappingContext() {
    return new DynamoDBMappingContext();
}

then declared in the EnableDynamoDBRepositories annotation
@EnableDynamoDBRepositories(basePackages = "my.packages", dynamoDBOperationsRef="dynamoDBOperations", mappingContextRef = "dynamoDBMappingContext")

This solves issue #15

Codecov Report

Merging #168 into master will decrease coverage by 0.07%.
The diff coverage is 57.14%.

@@             Coverage Diff              @@
##             master     #168      +/-   ##
============================================
- Coverage     63.72%   63.65%   -0.08%
- Complexity      561      562       +1
============================================
  Files            72       72
  Lines          1974     1978       +4
  Branches        373      374       +1
============================================
+ Hits           1258     1259       +1
- Misses          572      574       +2
- Partials        144      145       +1

Impacted Files
Coverage Δ
Complexity Δ

...ository/support/DynamoDBRepositoryFactoryBean.java
100% <100%> (ø)
8 <1> (+1)
:arrow_up:

...tory/config/DynamoDBRepositoryConfigExtension.java
37.03% <40%> (-2.1%)
4 <0> (ø)

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 b819234...becf499. Read the comment docs.

Excellent! Thank you!
This somewhat falls into my work re #17 so I will merge & align with the changes that are needed with the context initialization anyway.
Thanks again!

Merged and will be part of 5.0.3


Flutte 2.8.1 background Crash

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x00000000000005f8
Exception Codes: 0x0000000000000001, 0x00000000000005f8
VM Region Info: 0x5f8 is not in any region.  Bytes before following region:<PHONE_NUMBER>
REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT                   100c2c000-106034000 [ 84.0M] r-x/r-x SM=COW  ....app/AFWealth
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [5062]
Triggered by Thread:  0
Kernel Triage:
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
Thread 0 name:
Thread 0 Crashed:
0   Flutter                       	0x0000000109ca0548 -[FlutterEngine iosPlatformView] + 28
1   Flutter                       	0x0000000109ca0c58 -[FlutterEngine attachView] + 20
2   Flutter                       	0x0000000109cb8af8 -[FlutterViewController viewDidLoad] + 176
3   AFWealth                      	0x0000000101547c94 -[AFWealthFlutterViewController viewDidLoad] + 64 (AFWealthFlutterViewController.m:97)
4   UIKitCore                     	0x0000000183956620 -[UIViewController _sendViewDidLoadWithAppearanceProxyObjectTaggingEnabled] + 108 (UIViewController.m:2713)
5   UIKitCore                     	0x00000001839590d4 -[UIViewController loadViewIfRequired] + 1048 (UIViewController.m:4013)
6   UIKitCore                     	0x000000018392bbf0 -[UIViewController view] + 32 (UIViewController.m:4035)
7   Flutter                       	0x0000000109cc3520 flutter::AccessibilityBridge::~AccessibilityBridge() + 80
8   Flutter                       	0x0000000109cd03c8 std::__1::unique_ptr<flutter::AccessibilityBridge, std::__1::default_deleteflutter::AccessibilityBridge >::reset(flutter::AccessibilityBridge*) + 28
9   Flutter                       	0x0000000109cd04c4 flutter::PlatformViewIOS::~PlatformViewIOS() + 184
10  Flutter                       	0x0000000109ccdfd8 flutter::PlatformViewIOS::~PlatformViewIOS() + 12
11  Flutter                       	0x000000010a053cec std::__1::__function::__func<fml::internal::CopyableLambdaflutter::Shell::~Shell()::$_6, std::__1::allocator<fml::internal::CopyableLambdaflutter::Shell::~Shell()::$_6 >, void ()>::operator()() + 40
12  Flutter                       	0x000000010a053698 flutter::Shell::~Shell() + 1536
13  Flutter                       	0x0000000109ca5434 std::__1::unique_ptr<flutter::Shell, std::__1::default_deleteflutter::Shell >::reset(flutter::Shell*) + 28
14  Flutter                       	0x0000000109ca0e28 -[FlutterEngine destroyContext] + 60
15  CoreFoundation                	0x000000018132af88 CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 28 (CFNotificationCenter.c:652)
16  CoreFoundation                	0x00000001813c6c3c ___CFXRegistrationPost_block_invoke + 52 (CFNotificationCenter.c:173)
17  CoreFoundation                	0x0000000181399ff4 _CFXRegistrationPost + 456 (CFNotificationCenter.c:199)
18  CoreFoundation                	0x0000000181340df4 _CFXNotificationPost + 716 (CFNotificationCenter.c:1147)
19  Foundation                    	0x0000000182b3ff58 -[NSNotificationCenter postNotificationName:object:userInfo:] + 96 (NSNotification.m:560)
20  UIKitCore                     	0x00000001846fe13c -[UIApplication _terminateWithStatus:] + 300 (UIApplication.m:6920)
21  UIKitCore                     	0x0000000183de5080 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 128 (_UISceneLifecycleMultiplexer.m:808)
22  UIKitCore                     	0x0000000183fd9fc8 -[_UISceneLifecycleMultiplexer forceExitWithTransitionContext:scene:] + 224 (_UISceneLifecycleMultiplexer.m:482)
23  UIKitCore                     	0x00000001846fa538 -[UIApplication workspaceShouldExit:withTransitionContext:] + 212 (UIApplication.m:3828)
24  FrontBoardServices            	0x0000000193026780 __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke_2 + 80 (FBSWorkspaceScenesClient.m:331)
25  FrontBoardServices            	0x0000000192fe106c -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 240 (FBSWorkspace.m:352)
26  FrontBoardServices            	0x0000000193026718 __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke + 132 (FBSWorkspaceScenesClient.m:328)
27  libdispatch.dylib             	0x000000018100b670 _dispatch_client_callout + 20 (object.m:560)
28  libdispatch.dylib             	0x000000018100f128 _dispatch_block_invoke_direct + 264 (queue.c:489)
29  FrontBoardServices            	0x0000000192fe29c4 FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 48 (FBSSerialQueue.m:157)
30  FrontBoardServices            	0x0000000192fe1d8c -[FBSSerialQueue _targetQueue_performNextIfPossible] + 220 (FBSSerialQueue.m:181)
31  FrontBoardServices            	0x0000000192fe6414 -[FBSSerialQueue _performNextFromRunLoopSource] + 28 (FBSSerialQueue.m:194)
32  CoreFoundation                	0x00000001813bb0d0 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 28 (CFRunLoop.c:1972)
33  CoreFoundation                	0x00000001813cbd90 __CFRunLoopDoSource0 + 208 (CFRunLoop.c:2016)
34  CoreFoundation                	0x0000000181306098 __CFRunLoopDoSources0 + 268 (CFRunLoop.c:2053)
35  CoreFoundation                	0x000000018130b8a4 __CFRunLoopRun + 820 (CFRunLoop.c:2951)
36  CoreFoundation                	0x000000018131f468 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
37  GraphicsServices              	0x000000019cec338c GSEventRunModal + 164 (GSEvent.c:2200)
38  UIKitCore                     	0x0000000183cc25d0 -[UIApplication _run] + 1100 (UIApplication.m:3493)
39  UIKitCore                     	0x0000000183a40f74 UIApplicationMain + 364 (UIApplication.m:5047)
40  AFWealth                      	0x0000000106036c4c main + 476 (main.m:89)
41  dyld                          	0x0000000108e69aa4 start + 520 (dyldMain.cpp:879)

Hi @cailianqing,
Please provide the full crash log.
Is this issue reproducible or does it occur only in production?
If it is reproducible, please provide a complete minimal reproducible code sample.
Please also provide the output of flutter doctor -v.
Thank you

flutter doctor -v

[✓] Flutter (Channel stable, 2.8.1, on macOS 12.2.1 21D62 darwin-x64, locale zh-Hans-CN)
• Flutter version 2.8.1 at /Users/ruyi/fvm/versions/2.8.1
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 77d935af4d (3 months ago), 2021-12-16 08:37:33 -0800
• Engine revision 890a5fca2e
• Dart version 2.15.1
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn

cherrypick https://github.com/flutter/engine/pull/30835 to fix，but still have some crash happen

Your flutter doctor  shows that you're on 2.8.1, but the latest version is 2.10, if any cherrypicks are made, it will be made into 2.10.
Can you upgrade to 2.10.3 to see whether or not this crash still occurs?
Thank you

it crash on only in production. whether the crash is fixed on 2.10.3？

@flutter-symbolizer-bot https://github.com/flutter/flutter/issues/99536#issue-1159298724 flutter#v.2.8.1 ios release arm64 force

@flutter-symbolizer-bot https://github.com/flutter/flutter/issues/99536#issue-1159298724 flutter#v2.8.1 ios release arm64 force

@flutter-symbolizer-bot https://github.com/flutter/flutter/issues/99536#issue-1159298724 force flutter#v2.8.1 ios release arm64

it crashed only in production. Do you know whether the crash is fixed on 2.10.3？

Hi @cailianqing, https://github.com/flutter/engine/pull/30835 fixed some issues related to the AccessibilityBridge.
It was cherry-picked in 2.10.2, I believe, so it should be available on 2.10.3
You'll need to upgrade and publish a new version to see whether or not this still occurs.
If it does, kindly update this thread with the new crash log.