Enchantment effect bug

What is the output link of /viaversion dump?
https://gist.github.com/anonymous/2deea22de649d6d41dd171b6b9672dde
Are you using any additional software like BungeeCord? If so, what software and version? (Please list your plugins as well)
Yes, its the latest BungeeCord version. Proxied through a haproxy instance.
How does this error happen? login? Using an item?
When i add an enchantment effect without an enchantment to an item, it  is only be visible when i connect with the 1.8.* clients, not with a client higher than that.
public static ItemStack addGlow(ItemStack itemStack) {
        net.minecraft.server.v1_8_R3.ItemStack nmsStack = CraftItemStack.asNMSCopy(itemStack);
        NBTTagCompound tag = null;
        if (!nmsStack.hasTag()) {
            tag = new NBTTagCompound();
            nmsStack.setTag(tag);
        }
        if (tag == null) tag = nmsStack.getTag();
        NBTTagList ench = new NBTTagList();
        tag.set("ench", ench);
        nmsStack.setTag(tag);
        return CraftItemStack.asCraftMirror(nmsStack);
    }

That ist my code to make an item glow without an enchantment. When i use the code on a 1.12 server it is displayed correctly.

I don't think this is a ViaVersion issue. Anyways, you don't need to use nms for this, just add the "HIDE_ENCHANTS" flag to the item's meta. Here's a method.
public static ItemStack addGlow(ItemStack itemStack) {
    ItemMeta meta = itemStack.getItemMeta();
    meta.addEnchant(Enchantment.LURE, 1, false);
    meta.addItemFlags(ItemFlag.HIDE_ENCHANTS);

    itemStack.setItemMeta(meta);
    return itemStack;
}

Sure this is a way to make items glow, but i have to give the item a real enchantment, and when i give the user the item it has a enchantment, with my method it only looks like there is a enchantment.

You can just create a register a new enchantment which does nothing and add it to the item.

This is a mojang change and nothing we can personally do about this, see above solution for "glowing" from limbo :)


lmql script not passing args to model invocation

Model args are not processed correctly when invoked like eg:
lmql.model("/home/me/models/phi-1_5", cuda=True, trust_remote_code=True, dtype='float16')

Reproduction:
Fire up an lmql server:
$ lmql serve-model "distilgpt2" --cuda

Try to swap out models with one that needs --trust_remote_code
import lmql

@lmql.query
def load_big(prompt):
    '''
sample(temperature=1.2)
"""
    {prompt}[X]
"""
from
    lmql.model("/home/me/models/phi-1_5", cuda=True, trust_remote_code=True, dtype='float16')  # <<<<<<<<<< These args
where
    len(TOKENS(X)) > 10 and len(TOKENS(X)) < 30
'''

print(load_big('Hi there'))

The server throws an error:
  File "/home/me/lib/transformers-phi/src/transformers/models/auto/auto_factory.py", line 531, in from_pretrained
    config, kwargs = AutoConfig.from_pretrained(
  File "/home/me/lib/transformers-phi/src/transformers/models/auto/configuration_auto.py", line 1043, in from_pretrained
    trust_remote_code = resolve_trust_remote_code(
  File "/home/me/lib/transformers-phi/src/transformers/dynamic_module_utils.py", line 608, in resolve_trust_remote_code
    raise ValueError(
ValueError: The repository for /home/me/models/phi-1_5 contains custom code which must be executed to correctlyload the model. You can inspect the repository content at https://hf.co//home/me/models/phi-1_5.
Please pass the argument `trust_remote_code=True` to allow custom code to be run.

I would personally prefer more control in my hands, and less opinions baked in (eg per my suggestion to have a server library, where I just have to feed in a function with a specific signature, and the server code stands it up on some port. Or I feed in a custom module.py)
So for instance, if I want to swap in/out models, maybe I need a 4bit of a large model, but a float16 of a smaller one, or some models only play nicely if in bfloat16, not float16 (falcon comes to mind, although Mistral's made it irrelevant now.) Then there's trust_remote_code, and flash_attention_2 that not all models support yet. And I'm sure other models will hvae their own custom flags.
The alternative is, I guess, to launch different model config sets on different ports, but then you absolutely need the ability to unload models, from the client. This also means now that unload logic must be handled by the client, but, that may not be so bad.

I am working on enabling this soon, it requires some more changes with respect to stopping generation early though, so it will not be immediately available.
One thing that may be interesting here, is lmql.serve, which is a way to indeed configure the model in the same process that it will actually run in. See this snippet for an example. When launching an inference endpoint via lmql.serve, the parameters you provide will be passed through all the way to the from_pretrained (HF) or Llama(...) (llama.cpp) calls.
Still, I do want to enable this more generally. To host multiple model configurations in parallel, I would indeed advise to use multiple lmql serve-model/lmql.serve processes that serve differently configured models on different ports/endpoints.


Add puppeteerPackage option to LaunchPuppeteerOptions

I tried to use https://github.com/berstend/puppeteer-extra/tree/master/packages/puppeteer-extra-plugin-stealth in one of my actors recently.
I had to copy puppeteer.js from sdk and replace a getPuppeteerOrThrow function with this:
...
/**
 * Requires `puppeteer` package or throws meaningful error if not installed.
 *
 * @ignore
 */
const getPuppeteerOrThrow = () => {
    try {
        // This is an optional dependency because it is quite large, only require it when used (ie. image with Chrome)
        const puppeteer = require('puppeteer-extra'); // eslint-disable-line global-require
        puppeteer.use(pluginStealth());

        return puppeteer;
    } catch (err) {
        if (err.code === 'MODULE_NOT_FOUND') {
            err.message = isAtHome()
                ? 'Cannot find module \'puppeteer\'. Did you choose the correct base Docker image (apify/actor-node-chrome-*)?'
                : 'Cannot find module \'puppeteer\'. Did you you install \'puppeteer\' package?';
        }

        throw err;
    }
};
...

And then use it in launchPuppeteerFunction like this:
const { launchPuppeteer } = require('./pupeteer');

const crawler = new Apify.PuppeteerCrawler({
       launchPuppeteerFunction: async () => {
            return launchPuppeteer({
                useApifyProxy: true,
                apifyProxyGroups: proxyGroups,
            });
        },
 ...

Maybe if there was some option like puppeteer or puppeteerPackage in LaunchPuppeteerOptions, it could make this easier. If set, its value would be used instead of calling getPuppeteerOrThrow.
const puppeteer = require("puppeteer-extra");
const pluginStealth = require("puppeteer-extra-plugin-stealth");

puppeteer.use(pluginStealth());

const crawler = new Apify.PuppeteerCrawler({
       launchPuppeteerOptions: {
              useApifyProxy: true,
              apifyProxyGroups: proxyGroups,
              puppeteer,
       },

Related to https://github.com/apifytech/apify-js/issues/291

Done.


HaxLib Interface Macro

Add interface macro to replace body of hax functions with todo!()

I have been using this macro in the annotated-core. I would expect -i flag to do this functionality, however it seems not to work for removing just the body with +:.

We just chatted about this with @cmester0, let's add a proc-macro crates for macro helpers in the annotated lib core.


Support Cloud Solution Provider

cufile.so might crash when used within a VM in the cloud.
KvikIO should detect this and fallback to its own implementation.
@gigony

Out of curiosity why would it crash on a cloud VM?

I don't know, @gigony do you know?

It seems that there is a logic in the cuFileDriverOpen() method that assumes specific device mounts that crash when the assumption fails.
It is the same for WSL2.
I shared the information in GDS team and it is a bug. Filed a bug to address the issue.

https://nvidia.slack.com/archives/CJ5FK152R/p1658945158190859
https://nvidia.slack.com/archives/CJ5FK152R/p1658945626109219?thread_ts=1658945272.452739&cid=CJ5FK152R
https://nvidia.slack.com/archives/CJ5FK152R/p1658946372829689?thread_ts=1658945769.993249&cid=CJ5FK152R

xref: https://github.com/rapidsai/cucim/issues/346

Hello Team,
Has this issue been resolved?
Im using CUDA-11.7 and still facing the error when installing GDS on a VM:
`============
ENVIRONMENT:
=====================
DRIVER CONFIGURATION:
NVMe               : Unsupported
NVMeOF             : Unsupported
SCSI               : Unsupported
ScaleFlux CSD      : Unsupported
NVMesh             : Unsupported
DDN EXAScaler      : Unsupported
IBM Spectrum Scale : Unsupported
NFS                : Unsupported
BeeGFS             : Unsupported
WekaFS             : Unsupported
Userspace RDMA     : Unsupported
--Mellanox PeerDirect : Disabled
--rdma library        : Not Loaded (libcufile_rdma.so)
--rdma devices        : Not configured
--rdma_device_status  : Up: 0 Down: 0
CUFILE CONFIGURATION:
properties.use_compat_mode : true
properties.force_compat_mode : false
properties.gds_rdma_write_support : true
properties.use_poll_mode : false
properties.poll_mode_max_size_kb : 4
properties.max_batch_io_size : 128
properties.max_batch_io_timeout_msecs : 5
properties.max_direct_io_size_kb : 16384
properties.max_device_cache_size_kb : 131072
properties.max_device_pinned_mem_size_kb : 33554432
properties.posix_pool_slab_size_kb : 4 1024 16384
properties.posix_pool_slab_count : 128 64 32
properties.rdma_peer_affinity_policy : RoundRobin
properties.rdma_dynamic_routing : 0
fs.generic.posix_unaligned_writes : false
fs.lustre.posix_gds_min_kb: 0
fs.beegfs.posix_gds_min_kb: 0
fs.weka.rdma_write_support: false
profile.nvtx : false
profile.cufile_stats : 0
miscellaneous.api_check_aggressive : false
GPU INFO:
GPU index 0 Tesla V100-PCIE-16GB bar:1 bar size (MiB):16384 supports GDS
PLATFORM INFO:
Assertion failure, file index :cufio-udev  line :134`


Deleted the duplicated allocation of pointers

Fixed the allocation of the pointer 'l_group_sort' in both csr and csc soa generator.

Codecov Report

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

@@            Coverage Diff             @@
##           master     #199      +/-   ##
==========================================
- Coverage   13.91%   13.86%   -0.05%
==========================================
  Files         192      192
  Lines       29065    29063       -2
  Branches     6063     6063
==========================================
- Hits         4043     4031      -12
- Misses      24380    24382       +2
- Partials      642      650       +8

Impacted Files
Coverage Δ

src/generator_spgemm_csr_bsparse_soa.c
0% <ø> (ø)
:arrow_up:

src/generator_spgemm_csc_bsparse_soa.c
0% <ø> (ø)
:arrow_up:

src/generator_gemm_sse3_avx_avx2_avx512.c
63.45% <0%> (-2.04%)
:arrow_down:

src/generator_gemm.c
28.44% <0%> (-1.73%)
:arrow_down:

src/libxsmm_malloc.c
42.88% <0%> (-0.19%)
:arrow_down:

src/generator_x86_instructions.c
19.09% <0%> (-0.14%)
:arrow_down:

src/libxsmm_main.c
43.1% <0%> (-0.11%)
:arrow_down:

src/generator_gemm_common.c
45.17% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Add tool to do razor compilation to .cs file for razor views

We should have a tool that converts .razor files to .cs files with a specified host. Less generic would be an mvc specific view precompiler.
/cc @pranavkm @danroth27 @Eilon

We built a sample that does this most of the way. We've definitely talked about toolifying it more but haven't done it yet.
https://github.com/aspnet/Entropy/tree/dev/samples/Mvc.RenderViewToString

@davidfowl is this needed to enable a specific scenario in v1?


The gamebar cannot record 1080p vids properly!!!

Hi, i just used updated my system 2 days ago to 2004, and also also used the debloater. After doing this, when i tried screen recording my games, i can see, huge blackbars on the bottom and right side of the screen. I dont know why this is happening. Basically the screen recorder works fine in 768p, but when i use it in 1080p resolution, its like as if its recording  the input in 768p and giving the output in 1080p. Thereby displaying the black bars. I dont know why this is suddenly happening. Can you please inform me what to do regarding this? i wanted to record my games with 1080p quality but now i have to adjust to 768p quality.
I cannot find anything online regarding this, i dont know how to collect information regarding this fix, Please help me out.

Apparently there is no way to fix the resolution in the gamebar, and one thing i noticed is that the width and height is not 1080p but. in sizes of 1920x1004 and 1936x1092(full screen) respectively. Please do something about this. I want to record good quality based vids, but now, i have to adjust to the older resolution.

This is likely an issue with your windows update. Google "Windows 2004 update screen recorder black screen" (or something similar) and go on from there to find a solution to your problem.
Github is not a place to look for general support with your issues. If you need with issues that aren't within or caused by a script or software hosted on Github then you should not post an issue in its repository. Use Google to find solutions or hire an IT Technician. Good luck.

The Debloater will uninstall Xbox. You can reinstall it through Microsoft Store or you can use Obs Studio instead.


Modules modernization

Quite a code bomb, but no (intentional) functional changes: replaced var declarations in all standard modules with const/let, modernized code where possible. All tests pass, some tests were added.
Note that due to #411 i had to change some module imports to eg. const binary = require("binary"); and use binary.ByteArray throughout the module.

@grob ready to merge, or still outstanding work from your side?

No, i'm fine with that (#415 is pending too).


GraphQL uses wrong attribute name for filterset when FK and not using related_name on model

Environment

Nautobot version (Docker tag too if applicable): 2.3.x
Python version: 3.11
Database platform, version: postgres
Middleware(s): N/A

Steps to Reproduce

Go to GraphQL
Run the below query
Try and add a filter

Expected Behavior
That GraphQL finds the filterset correctly even when related_name is not being used. e.g. in the line configcompliance_set { you should be able to add filter configcompliance_set(compliance: false)
{
  devices(name__ic:"jcy") {
    name
    configcompliance_set {
      rule {
        feature {
          id
          name
        }
      }
      compliance
    }
  }
}

per @glennmatthews this line is the place where the fix is likely to be needed.

Observed Behavior
There is no filtering allowed on the configcompliance_set

Experimenting with the GraphQL query shows a configcompliance parameter under devices which contains the expected filter parameters; however, attempting to query this parameter with or without a filter will raise an error because Device has no configcompliance attribute; the related name should be configcompliance_set to resolve correctly. Hence the reference to a line of code above - for whatever reason, when no explicit related_name is set, the field.name is configcompliance even though the actual lookup is configcompliance_set. Not immediately sure how to detect and remediate this case in code but it's definitely something needed.


report for subtask

What do these changes do?

Related issue number

Fixes

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


plantuml libraries across multiple documents

Hello!
I am trying to implement PlantUML library of:

styles
a set of graphical comonent symbols as ArchiMate definitions

to be shared across multiple documents and multiple Git documentation repositories.
I see the constraint: the path sandbox in plantuml preprocessing limiting "!include" to the document directory.
This is feature request to allow https URI's outside document directory and/or a property to include specific text to all rendered plantuml files (to include library source using kroki-preprocessor)

Hi,
i've implemented the support via kroki-plantuml-include-paths for multiple local search locations.
It may not work for http URI's yet, but It can be extended.
For the second you can use kroki-plantuml-include...
see: https://github.com/Mogztter/asciidoctor-kroki#configuration

Hi!
thanks, but unusable(
I using asciidoctor-kroki.js online in browser environment to render the documents from Atlassian BitBucket.
I seeking the ideas how to inject common stylesheet as https url or a piece of plantuml code.
I would be grateful for some ideas how to do this

I thinking about this topic. I've used preprocessor in asciidoctor.js to apply a set of style-related attributes (such as table captions, default toc layout and other)  allowed to override in end document code.
My vote for implementing the 'prepocessor' extensions feature in asciidoctor-kroki.js by the similar way to asciidoctor.js - the ability to define user function to preprocess plantuml files

Interesting idea... but not sure what is the best way to implement such feature.
As mentioned by @anb0s we could also extend the current "preprocessor" to load content from URI.
I need to give it more thought.

@romkavt could you please describe in detail your use case and show what you tried and/or what you wish for (but not working currently)?
I want to understand if we can support this use case "out-of-the-box" or if we should provide an extension point.
Thanks!

We are building architecture repository using a set of asciidoctor documents with hyperlinks to each other.
Users views architecture repository online, in browser environment.
Asciidoctor documents contains Archimate, UML, C4 diagrams implemented by PlantUML.
We had implemented the asciidoctor text common styling using CSS stylesheet and preprocessor (to inject overridable attributes).
Now we have a task to:

implement common PlantUML stylesheet
implement standard library with Archimate & UML symbols of our systems

today we are using !include directive with absolute URL's and local file paths.
We have to move PlantUML symbols library to a separate Git repository, re-usable by many asciidoctor documents in different directories and different Git repositories. Every PlantUml document contains a bunch of !include macro.
We are using Git backend as repository storage. !include links have to point to correct branch.
branch can be determined by javascript code using URL of root asciidoctor document.
I think we have two options to implement this:

inject !include macro using pre-processor function
implement it's own macros which will be transformed to correct absolute urls by preprocessor

As an example of macro-preprocessing: the hyperlinks between multiple asciidoctor documents.
We've implemented the macro {uri-repository-root}. Hyperlinks will be expanded by pre-processor to absolute url's including exact git branch. The example of hyperlink in asciidoctor document:
link:{uri-repository-root}/solutions/tokenization/somesolution/index.html[Description]


Process Flow Page - Scheduler timing is not updating

Describe the bug
https://www.berrycast.com/conversations/c550d91d-7a64-5f59-b6c5-9cf91f84bc8a

every schduler run 10 AM After


Virtus Wand/Book not showing under --nex flag

--nex flag shows broken and fixed pernix/virtus/torva items, but it doesn't show virtus book or wand, only the crystals.
Please add to the flag so it shows all nex items accordingly

Done


Only create fallback mirrors for targets when there is no mirror existing for it.

Relies on https://github.com/mamba-org/powerloader/pull/152

This makes some test_create cases in mamba/micromamba tests fail, so dont merge yet.


deps: bump github.com/stretcher/testify

:nut_and_bolt: Description
We had been using some revision of master at the point of introduction -- now it's the latest release.
The new upstream commits pulled in are these: https://github.com/stretchr/testify/compare/87b1dfb5b2fa649f52695dd9eae19abe404a4308...ffdc059bfe9ce6a4e144ba849dbedead332c6053

ℹ done a rebuild for good measure; will merge when green


Cleaning up obsolete serializer implementations

Removing outdated version of the serializer that was under the benchmark folder
Moved the fast_json_serializer_simpler logic to experimental_json_builder
Removed the outdated benchmarks
Removed a bunch of files that were obsolete. We can decide to break up the experimental_json_builder in more files in the future.
Now all code references a single implementation of the StringBuilder (we had a duplicate under fast_json_serializer_simpler)
Updated example.cpp to work updated code
Kept the universal formatter, but changed the implementation to use latest implementation). Right now this is more of a miscellaneous, we might want to remove it in the future.

@lemire please take a look, whenever time permits

I am merging.


Q and A not working for Youtube

Hi,
when I add YouTube video url and click on ingest it says docs:1 chunks:3, but when I ask any question about the video its connecting to internet and giving answer. It's working fine for pdf.
Regards,
Anusha

Review the document viewer and what is in the database.  Nominally for youtube video, will get both 10 frames + audio transcription.
What does the console say when you upload a video?  It should show lots of details if you ran in --verbose mode.

@pseudotensor  Thank you for the reply. I'm using CPU. will  the YouTube chat works with CPU?

Try setting --asr_gpu=False

@pseudotensor I think its issue with database . can you please confirm. I'm getting  python src/make_db.pyExceptions: 0/0 []Traceback (most recent call last):  File "/home/anushaharish538/as/h2ogpt/src/make_db.py", line 403, in
H2O_Fire(make_db_main)
File "/home/anushaharish538/as/h2ogpt/src/utils.py", line 73, in H2O_Fire
fire.Fire(component=component, command=args)
File "/home/anushaharish538/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/fire/core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "/home/anushaharish538/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/fire/core.py", line 475, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "/home/anushaharish538/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/fire/core.py", line 691, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "/home/anushaharish538/as/h2ogpt/src/make_db.py", line 389, in make_db_main
assert len(sources) > 0 or not fail_if_no_sources, "No sources found"
AssertionError: No sources found
It's issue with only YouTube . Pdfs working good

@pseudotensor  can you please tell me , will the YouTube chat works with CPU?
Thank you.

asr_gpu -> False already if no GPUs, so it's not that.


ps job in the distributed inception trainer killed by OOM killer

Hi all:
It seems that the distributed runtime has a memory leak problem, my tf version is the 0.8.0 wheel package from http://tensorflow.org.
When I started the distributed inception trainer in http://github.com/tensorflow/models/ on a 64G RAM Linux server with 1 ps and 4 replicas, the footprint of the ps process increased slowly but continously, and the process was finally killed by the system oom killer after several days.
Anyone can reproduce this? @mrry

Thanks for the report! It might take some time to figure this out, but we'll get to the bottom of it.
First of all, was it only the PS task that died? Do the worker replica tasks show an upward trend in memory consumption over time?

I'd tried several times, only the PS task was OOM, all the worker tasks seemed ok.

My worker task was killed in a similar setup with an upward trend in memory consumption; the ps job remained fine. I do see multiple bfc_allocator warnings indicating that more memory could give performance gains.

@mrry: Any suggestions for further debugging?  I don't think we have enough information to diagnose just yet.  If it's an actual memory leak valgrind could help, but that would be difficult to set up.
@mmuneebs: The summaries should be written to disk soon after they are generated, so I don't think that's the issue.  The allocator warnings are likely a symptom, not a cause.

I fixed this issue with the workers by commenting the with tf.device('/cpu:0'): spec while calling batch_inputs in image_processing.py. One reason this may have happened with my setup though not completely clear is that I use
with tf.device(tf.train.replica_device_setter(ps_tasks=1,
                                              worker_device="/job:worker/task:%d" % FLAGS.task_id,
                                              cluster=cluster_spec)):

instead of
# Ops are assigned to worker by default.
with tf.device('/job:worker/task:%d' % FLAGS.task_id):
    # Variables and its related init/assign ops are assigned to ps.
    with slim.scopes.arg_scope(
            [slim.variables.variable, slim.variables.global_step],
            device=slim.variables.VariableDeviceChooser(num_parameter_servers)):

as the outermost training scope inside which the batch processing gets called (inception_distributed_train.py).
Not sure why exactly this became a problem for my modified setup, but now the memory increase trend has reduced at least ten-fold, and tested to run for a 100 epochs.
Maybe the original code will work fine without this CPU device specification as well.

Unfortunately I haven't been able to reproduce this, but we have seen a simpler apparent memory leak in #2942, which is caused by memory fragmentation. It's possible that this could be causing the problem here as well.
Our preferred workaround is to use tcmalloc as the malloc implementation, which more closely reproduces the way we run the distributed runtime internally. You can install tcmalloc with many package managers, and then use it with TensorFlow by setting LD_PRELOAD to include the tcmalloc library.
An alternative, which might help to test the root cause, but might also cause undesirable performance issues, is to set the MALLOC_MMAP_THRESHOLD_ environment variable to a small value (like 100000). This should reduce fragmentation, at the possible downside of increasing the cost for some allocations, since it will use mmap() and munmap() to implement malloc() and free() for more allocations.

@shendiaomo, were you able to resolve your issue using @mrry or @mmuneebs?

Automatically closing due to lack of recent activity. Please reopen when further information becomes available.

@mrry I love you


CORE-19372 Use databases for cluster schema

This PR removes the concept of a "cluster DB". Instead, the databases stanza introduced for state managers can now also be used for the config, crypto, RBAC, and virtual node databases. By default, they will all share a database as before but they can be split apart. The other, perhaps more significant, change, is that the automatic bootstrap will now create separate users for each of crypto, RBAC, and virtual node databases, and one for worker that accesses the config DB. It is, therefore, now only necessary to give a single bootstrap user for each database and everything else is handled by the chart.

@davidcurrie : one thing I've noted and forgot to ask: is there a reason for having imagePullPolicy: Always by default instead of IfNotPresent?.

@davidcurrie : one thing I've noted and forgot to ask (not related to this PR but, since we're already modifying these files...): is there a reason for having imagePullPolicy: Always by default instead of IfNotPresent?.

It's considered best practice as it prevents containers using images that are available on the node but which it doesn't actually have permission to pull (they were pulled on behalf of another container).


Proving Δ[0] is terminal in the category of simplicial sets

Worked with @emilyriehl and using [0] being terminal in the simplex category, we prove that Δ[0] is terminal in the category of simplicial sets.

Looks good. Thanks @Georjez!


Add documentation for creating test dependencies.

Using Package has always been a little unclear to me. I think I understand
it now. Maybe this will help.

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing dd3b70d6359e5cce108296cc1902cf0a617d1dbe to master...

Wonderful @ehuss, thank you. Particularly for documenting the changes where I'd forgotten to. ♥


add linter using GH workflow

The workflow will fail until https://github.com/cedrickring/golang-action/pull/19 gets merged.


"add prefix from prefix" option should not be accessible for prefixes of type host or assignment of max prefix length in the web interface

You know you don't have to put all the text in the subject line, right? ;)

My old boss taught me that and I'm sticking to it! ;)


J8a's performance test should report on open cons, files, threads, cpu and process memory used and store result as artefact

golang does not close OS threads once started, see: https://github.com/golang/go/issues/14592


"Important" admonition has "info" as label

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Description
Hi!
I noticed that with beta.22, the admonition of type important is gone. Could we add docs on how to recreate such admonition type and make it available on every docs page by default?
Example:
:::important
Something
:::

and not
:::info Important
Something
:::

I'm happy to send a PR if someone knows how to do it!
Self-service

[ ] I'd be willing to address this documentation request myself.

(I'd like to get @slorber's confirmation that it's something worth working on... IIRC the resolution last time was that these things weren't documented in the first place.)

So what I understand is that, now when using the undocumented :::important then you have the wrong label but the right level/color?
Expected:

Actual:

It would be quite easy to restore the label using swizzle now that the admonitions are mapped to a real theme components.
But everything is in one file so this requires ejecting a large API surface: we should probably split it to make it more convenient to swizzle.
But I'd also be ok if we added a retro-compatible label to the previously supported (but undocumented) admonition "aliases"

Is there any documentation on how to swizzle an admonition label or svg?

not at the time I opened this issue, but I'd be happy to contribute if someone shows me how to do it 👍

@ArtFlag Our admonition logic is entirely here: https://github.com/facebook/docusaurus/blob/main/packages/docusaurus-theme-classic/src/theme/Admonition/index.tsx
It's a bit tricky, because you still want to keep it as an alias so we don't duplicate the SVG/class name. At the same time, we need to add four new translated labels. For the initial version, you can do it however you want—we can discuss about the actual implementation later.
Remember, you can also do this in userland through ejecting Admonition. If you get it to work in your own code, you can make it work in our codebase as well!


feat(rust): support multiple addresses per worker

Proposed Changes

Each worker has a primary address (the first one)
Only primary addresses can shut down the worker
Message handle provides address of the message

Merged as https://github.com/ockam-network/ockam/pull/1019


Minor updates to compute options docs

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/guide/technology-choices/compute-comparison.md
:white_check_mark:Succeeded
View

docs/guide/technology-choices/compute-overview.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


IOS button action callbacks not getting called

I have been using an earlier version of this plugin successfully for some time w/o action buttons.
But now I want to add action buttons and am having trouble getting the callbacks to work on IOS (I haven't tried Android yet).
I am able to see the buttons and click on them in the notification, but I am only sometimes getting into callbacks.  The behavior does not seem to be the same every time, but I have seen where if I send push #1 and click on the yes button (and do NOT get into the yes callback), but then send push #2 and then click on the no button - then the yes callback finally gets called.
Also - if I continue in this vein, sending additional pushes and clicking back and forth between the yes and no buttons, it only takes a handful of pushes before I get this error as well:
void SendDelegateMessage(NSInvocation *): delegate (webView:decidePolicyForNavigationAction:request:frame:decisionListener:) failed to return after waiting 10 seconds. main run loop mode: kCFRunLoopDefaultMode
I am using:

Xcode 7.2
IOS 9.2.1 on an Iphone 5
cordova cli: 6.0.0
cordova-ios: 4.0.1
phonegap-plugin-push: 1.5.3

I have my callbacks defined like:
window.acceptVerification = function(data) {
console.log('PushService: handle Accept Verification Button');
console.log("ACCEPT DATA: " + JSON.stringify(data));
}
window.rejectVerification = function(data) {
console.log('PushService: handle Reject Verification Button');
console.log("REJECT DATA: " + JSON.stringify(data));
}
and my init config looks like:
config = {
"ios" : {
"badge": "true",
"clearBadge": "true",
"sound": "true",
"alert": "true",
"categories": {
"verification": {
"yes": {
"callback": "window.acceptVerification",
"title": "Accept",
"foreground": false,
"destructive": false
},
"no": {
"callback": "window.rejectVerification",
"title": "Reject",
"foreground": false,
"destructive": true
}
}
}
}
}

In case it helps - here's a little more logging from one of my scenarios.
I send 3 pushes and on each one I hit 'Accept' (the yes button).
You can see from the logging that the push plugin  gets the notification and sees the payload keys on every push, but my callbacks only get called sometimes.
On the 1st push/Accept - the push plugin logs, but I do NOT see my callback logging.
On the 2nd push/Accept - the push plugin logs, and I do see my callback logging.
On the 3rd push/Accept - I get the SendDelegateMessage failed logging, then the push plugin logs, and I do NOT see my callback logging.
1st Push logging
2016-02-05 11:02:34.623 Mobile Auth[323:29939] Push Plugin handleActionWithIdentifier window.acceptVerification
2016-02-05 11:02:34.624 Mobile Auth[323:29939] Notification received
2016-02-05 11:02:34.624 Mobile Auth[323:29939] Push Plugin key: sound
2016-02-05 11:02:34.624 Mobile Auth[323:29939] Push Plugin key: alert
2016-02-05 11:02:34.624 Mobile Auth[323:29939] Push Plugin key: category
2016-02-05 11:02:34.624 Mobile Auth[323:29939] Push Plugin key: badge
2nd Push logging
2016-02-05 11:02:52.914 Mobile Auth[323:29939] Push Plugin handleActionWithIdentifier window.acceptVerification
2016-02-05 11:02:52.914 Mobile Auth[323:29939] Notification received
2016-02-05 11:02:52.915 Mobile Auth[323:29939] Push Plugin key: sound
2016-02-05 11:02:52.915 Mobile Auth[323:29939] Push Plugin key: alert
2016-02-05 11:02:52.915 Mobile Auth[323:29939] Push Plugin key: category
2016-02-05 11:02:52.915 Mobile Auth[323:29939] Push Plugin key: badge
2016-02-05 11:03:16.190 Mobile Auth[323:29939] PushService: handle Accept Verification Button
2016-02-05 11:03:16.190 Mobile Auth[323:29939] ACCEPT DATA: {"additionalData":{"pushPayload":{"request":{"loginUri":"website.com","requestTimestamp":1454695346},"foreground":false,"category":"verification","callback":"window.acceptVerification"},"message":"some message","count":1,"sound":"default"}
3rd Push logging
2016-02-05 11:03:16.195 Mobile Auth[323:29988] void SendDelegateMessage(NSInvocation *): delegate (webView:decidePolicyForNavigationAction:request:frame:decisionListener:) failed to return after waiting 10 seconds. main run loop mode: kCFRunLoopDefaultMode
2016-02-05 11:03:16.197 Mobile Auth[323:29939] Push Plugin handleActionWithIdentifier window.acceptVerification
2016-02-05 11:03:16.197 Mobile Auth[323:29939] Notification received
2016-02-05 11:03:16.197 Mobile Auth[323:29939] Push Plugin key: sound
2016-02-05 11:03:16.198 Mobile Auth[323:29939] Push Plugin key: alert
2016-02-05 11:03:16.198 Mobile Auth[323:29939] Push Plugin key: category
2016-02-05 11:03:16.198 Mobile Auth[323:29939] Push Plugin key: badge

@jopelkey this is really good information but I believe it is the same root cause as #557. When foreground is set to false the callback is not triggered until the app is opened. I'm looking into it.


call the own project method from a content object of an agenda item

We may rewrite the isProjected to call this method direct on the content object. I'll make an issue, if this is merged.

@FinnStutzenstein Just as reminder:

We may rewrite the isProjected to call this method direct on the content object. I'll make an issue,
if this is merged.


Update to ungoogled-chromium 129.0.6668.100

No modification aside from the submodule bump is needed.

Builds and runs fine locally.

Signed-off-by: Qian Qian "Cubik"<EMAIL_ADDRESS>

Have you attempted to sign your builds yet?


Make the step property useful for sliders

Fixes #5773

Code change looks ok, but could someone check that it does not introduce a regression if sliders were actually meant to be usable with no forced step? (as @lordadamson pointed out in #5773).

If you set step to 0 there is no forced step.


Wrong enum in documentation

There is an error with one of the examples on the wiki page where the REST operations are listed.
The page in question is https://github.com/Netflix/eureka/wiki/Eureka-REST-operations
The erroneous example is "Take instance out of service". The problem here is that this example uses the enum OUT_OF_SERVICE, which is not defined in the XSD.

XSD documentation was incomplete. I have added missing two states (OUT_OF_SERVICE and UNKNOWN).
Thank you for spotting this.


PHP examples?

Would there be any interest in having PHP code equivalents added?
I wouldn't mind adding those if there is interested in accepting such a PR...

Sure--would gladly accept PRs for other language-specific docs!

Closing due to the closing of #55, but @Potherca, if you're still interested after all these years, I'd be happy to help you push this over the finish line.


I trained an LPN50, but the results were not good.

Hello, I used your code to train an LPN50 on the COCO dataset. The train.py used is from HR-NET.But the result is not very good, what is the reason?

Above are the results of testing on Val2017

This is my training log。
lpn50_256x192_gd256x2_gc_2020-09-23-11-07_train.log

Thank you very much for your work.


Add support for ARM and GPU containers for CodeBuild

This adds ARM_CONTAINER and  LINUX_GPU_CONTAINER to the valid list of environment types for a CodeBuild Environment.

Thanks!


select channel by index

something like ctrl-1 or if not in input mode 1-2-3-4

I'm looking into getting this added. Would it be better to do a "native" style hotkey like super+1, or a more vim style hotkey like [index]>g>t?

I'd vote super+1 style on mac
On Wed, Nov 9, 2016 at 14:05 Garet McKinley<EMAIL_ADDRESS>wrote:

I'm looking into getting this added. Would it be better to do a "native"
style hotkey like super+1, or a more vim style hotkey like [index]>g>t?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/KokoIRC/koko/issues/19#issuecomment-259540064, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADe-u-3F4S5efLahBBPao03Qrn2Ia59oks5q8kOjgaJpZM4Gk0jx
.

Native


Add a new assertion for isFill

Hello,
I noticed with mutation testing that the behavior of org.apache.pdfbox.pdmodel.graphics.state.RenderingMode.isFill() is not specified.
If the body of isFill() is replaced with return true; or return false;, no test fails.
Here is a test case that specifies it with a new assertion.
@Test
public void testIsFill()
{
    // Arrange
    final RenderingMode objectUnderTest = RenderingMode.FILL;

    // Act
    final boolean retval = objectUnderTest.isFill();

    // Assert result
    Assert.assertEquals(true, retval);
}

What do you think?
Thanks!

You're right, and you're welcome. We're always looking to improve our test coverage, thanks.


Add floating prefix

Added the ability to specify the filter prefix.

I don't merge the feature.  I only accepts prompt feature in denite.nvim.

I have added prompt option instead.

So that's it. understand.


Finding relevant documentation via search engines is incredibly difficult

It is difficult to find relevant haskell documentation with search terms. This was briefly discussed on twitter https://twitter.com/Blaisorblade/status/825082970495135744
Fixing this would allow for newcomers to easily find information, enabling them to learn more about the Haskell ecosystem.
There are some SEO tricks that we can do to fix this.
I'll come back to this issue tomorrow to fill it out further

Remove dead/broken links.
Dead/Broken links greatly reduce SEO ranking. We can use google analytics to see all the broken internal links (https://support.google.com/webmasters/answer/138752?hl=en) or some other tool.
Add Metadata
HTML metadata or JSON-LD metadata would help with indexing content
https://support.google.com/webmasters/answer/79812?hl=en
Add descriptions of content (Abstract or summary) in meta tag
https://yoast.com/meta-descriptions/
Add a sitemap (include out of date content with appropriate tags)
https://support.google.com/webmasters/answer/156184?hl=en
Add no-follow to external links
https://support.google.com/webmasters/answer/96569?hl=en
Add publish dates to content

This is a huge goal. Achieving this would greatly increased visibility and ease adoption of the Haskell language.

A note, since I suggested this bug tracker: the original discussion was about the GHC user manual, so I'm not sure this is the perfect place.
But the mission of this project is making Haskell docs more accessible, so I guessed people here would be more open to such an issue.
What I have seen is that if I search info on some feature Google suggests typically some older version of the manual, rather than the latest one. The discussion suggested SEO could fix that. The Twitter thread has even better ideas, but some seemed lower effort.

I'm totally in favor of fixing this situation, I just highly doubt there's much we can do at haskell-lang.org. Even if we started hosting the GHC user manuals from this domain, with stable permalinks and a good sitemap, it won't guarantee in any way that Google will preferentially index us. (Though having that content on either this site or stackage.org does make a lot of sense to me. Even just uploading it to S3 could be a good thing.)
Any thoughts on just the local solution and trying to convince people to start linking to our locations?

@snoyberg is correct. Hosting the ghc user manuals won't guarantee first page results.
Haskell-lang.org is a great option for storing relevant documentation for the haskell language. This is due to the keyword relation of the domain name. The search algorithms should favor haskell-lang.org due to the straightforward nature of the site content. As long as the general category of content on haskell-lang.org doesn't change then the pages should rank high due to relevancy.
Duplicate content will negatively impact SEO ranking. This include duplicated content from internal pages and external sites. Where we can innovate this is by creating content that enhances the user experience with the GHC user manuals and appropriately linking to it. Essentially this is creating a resource that interfaces with the user manual, providing the user with a better user experience. Search algorithms favor, above all else, positive user interactions which is measured via analytics metrics such as average page duration, amount of clicks, returning users, content interaction, pages iterated during session, etc..
The Proposal
We need volunteers to work on the following

Create an outline of the GHC documentation
What are the main sections of the GHC documentation? How could we reorganize that information to be simpler to consume for our target audience?
Target audience at first should be newcomers looking to learn more. This should allow for a thought environment that will foster the principle of occam's razor
Write brief descriptions of the GHC documentation sections
Place a ton of links to the GHC user manual

The Problem
This is not sustainable. By doing this once and creating this resource, it will be required of the community to update it with each version. There are ways we can optimize this process to be more efficient. By demonstrating the utility of SEO in documentation, we can begin the conversation of creating an efficient system for documentation that provides a quality user experience. Achieving such a system outweighs any other SEO tricks.

I'm totally in favor of fixing this situation, I just highly doubt there's much we can do at haskell-lang.org.

To clarify: My idea was kind of

establish there's a problem
hash out actionable ideas to get started, especially low-hanging fruits
file appropriate tickets in the appropriate places

Usually steps 1 and 2 would happen on a mailing list or the Haskell subreddit, but I suggested first a venue more friendly to this thinking. Does this make any sense?
My guess is that some things should be addressed by the GHC manual. And some things seemed to me low-effort enough to be doable.
The thread started with:

Haskell websites are littered with broken links to old GHC manual pages because it doesn't maintain consistent URLs.
Wow. that greatly reduces SEO ranking and should be fixed so ppl can find answers to their problems

So I thought they could maintain consistent URLs for things that remain stable (most of the manual I think)?
Other issues mentioned included:

manual is not searchable (a custom Google search or migrating to readthedocs might be options?);
404s on the manual could be redirected to "close" pages to improve SEO (not 100% sure why it matters);
that's hard because manual pages are huge and most links are to sections (not 100% sure why it matters).
Maybe @chris-martin wants to pitch in ideas?

Broken links damage SEO ranking because it provides a bad user experience. The goal of search algorithms is to provide better search results by favoring overall user experience.
A custom google search will solve the problem of a searchable manual but will not solve the problem of increasing visibility of relevant documentation when using general search engines. We can focus on low-hanging fruits but we sacrifice the overall mission of SEO which is to increase find-ability for haskell resources.
Fixing 404's should be the first priority if possible. We can focus our efforts on haskell-lang.org and rank topics to relevant resources as an overall SEO strategy.

I'd like to bring up a secondary goal here: We desperately need something that can overshadow HaskellWiki. That site dominates Google search results and presents a true awful face of the ecosystem.

@JeremyBellows It looks like the biggest thing we'll need on this is someone to coordinate the effort. You're seemingly getting support from everyone involved (myself included), want to step up to the plate? I'd be happy to assist on the implementation side.

Sure! I'll work on a general outline for the GHC user manual, submit it to this thread, get some feedback, and iterate. Once we have a general outline that we agree encapsulates the GHC user manual then we can begin in the implementation phase which will be clear once the outline is done.

Could I get access to the google analytics for the haskell-lang.org site? This would help with figuring out what the current user patterns are for the haskell-lang.org site content which might reveal some content we can utilize for abstracting the GHC user manual content.

Sure, can you send me your Google account address?

Yea, Pm over twitter?

That works for me.

The outline for our path to an search engine optimized resource that appropriately links to the GHC user manual content starts with phase 1.
Phase 1
Goals

Identify associations in targeted site content with the GHC user manual. Targets are determined by user flow data in site analytics.

Narrowing the Focus
Looking back at the last 4 months of data, the following pages should be targeted

/get-started
home
/library/http-client
/news
/documentation

Tasks for Phase 1
Resources
GHC User Manual - https://downloads.haskell.org/~ghc/8.0.2/docs/html/users_guide/index.html
Tasks

[ ] Identify /get-started content that corresponds with the GHC user manual
[ ] Identify home content that corresponds with the GHC user manual
[ ] Identify /library/http-client content that corresponds with the GHC user manual
[ ] Identify /news content that corresponds with the GHC user manual
[ ] Identify /documentation content that corresponds with the GHC user manual

Phase 2
Goals

Create a tutorials page to capitalize on common user flow data landing on a tutorials page where available
Identify associations in tutorials that can be linked to the GHC user manual

Phase 3
Goals

Select simple GHC user manual content and find associations between current site content. If none exist then carry over to phase 4

Phase 4
Goals

Create site content for summarizing sections carried over from Phase 3

Phase 3 and Phase 4 Notes
There will need to be some scale to determine what GHC user manual sections will be selected for phase 3. A data driven approach is the best but that would require data collection and access to the GHC user manual. We could host a popular vote on some medium to gather a small pool of opinions on which content would be most useful. Ideas?


Expose the Management Console

Hello All,
Loving this project.  Locally with minikube I am able to access the Management Console from localhost by defining a service.
We're debugging some issues in a deployed EKS cluster, and I would love to have access to the Management Console even for a short amount of time.  However, there are issues with CORS and it is unusable.
<EMAIL_ADDRESS>This article describes modifying bootstrap.xml and jolokia-access.xml to allow external access to the Management Console, is there a way to change these settings without deploying my own images?
Thank you very much.

[!TIP]
Vote this issue reacting with :+1: or :-1:

Hi @petejturner, you can use an Ingress resource to expose the management console, i.e.
apiVersion: broker.amq.io/v1beta1
kind: ActiveMQArtemis
metadata:
  name: artemis-broker
spec:
  console:
    expose: true
    exposeMode: ingress
    ingressHost: artemis-broker-console.my-domain.com

I just noticed there was a release last week, I'll try upgrading

It's working!
For anyone trying to get this to work in the future:

You must not use tls
The load balancer must point to the created service ingress, in my case it was called ex-aao-wconsj-0-svc-ing
You must use an Application Load Balancer (if you are using AWS load balancers)

@brusdev you are my hero today

Closing

@petejturner thanks for sharing your findings on EKS. I have never tried but I think you should be able to use tls setting up end-to-end TLS encryption and adding custom annotations.

I'm facing the issue,  Below is my broker yaml attached. I'm trying to expose the console and trying to access via kubectl port-forward to the created service but I'm unable to connect to console.

@basitraza1122 I don't see your  broker yaml attached.


Incompatibility between installed: false and helmfile diff --args

Operating system
Ubuntu 22.04
Helmfile Version
0.157.0
Helm Version
3.12.3
Bug description
The --args passed to helmfile diff is also passed to helm list, which is invoked apparently when a resource has installed: false, leading to failure.
Example helmfile.yaml
releases:
  - name: akv2k8s
    namespace: default
    chart: spvapi/akv2k8s
    version: 2.3.2
    installed: false

repositories:
  - name: spvapi
    url: https://charts.spvapi.no

Error message you've seen (if any)
Adding repo spvapi https://charts.spvapi.no
"spvapi" has been added to your repositories

Listing releases matching ^akv2k8s$
in ./helmfile.yaml: command "/usr/local/bin/helm" exited with non-zero status:

PATH:
  /usr/local/bin/helm

ARGS:
  0: helm (4 bytes)
  1: list (4 bytes)
  2: --filter (8 bytes)
  3: ^akv2k8s$ (9 bytes)
  4: --namespace (11 bytes)
  5: default (7 bytes)
  6: --uninstalling (14 bytes)
  7: --deployed (10 bytes)
  8: --failed (8 bytes)
  9: --pending (9 bytes)
  10: --normalize-manifests (21 bytes)

ERROR:
  exit status 1

EXIT STATUS
  1

STDERR:
  Error: unknown flag: --normalize-manifests

COMBINED OUTPUT:
  Error: unknown flag: --normalize-manifests

Steps to reproduce
helmfile diff  --args "--normalize-manifests"
Working Helmfile Version
No idea
Relevant discussion
No response

see: https://github.com/helmfile/helmfile/issues/1095

Sorry, I looked for a similar issue and failed to spot this. Confirmed working in 0.158.1.
Thank you very much for your work!

Ehm... sorry for reopening, but it seems that 0.158.1 doesn't pass the args to helm diff anymore?
Using the above file but with installed: true:
$ helmfile-0.157.0 diff --args "--normalize-manifests" --debug 2>&1 > /dev/null | grep 'helm diff'
exec: helm diff upgrade --allow-unreleased akv2k8s spvapi/akv2k8s --version 2.3.2 --namespace default --reset-values --normalize-manifests --debug

$ helmfile-0.158.1 diff --args "--normalize-manifests" --debug 2>&1 > /dev/null | grep 'helm diff'
exec: helm diff upgrade --allow-unreleased akv2k8s spvapi/akv2k8s --version 2.3.2 --namespace default --reset-values

@dvarrazzo --args will be removed in the future. please try to use --diff-args.

Ehm... sorry for reopening, but it seems that 0.158.1 doesn't pass the args to helm diff anymore?
Using the above file but with installed: true:
$ helmfile-0.157.0 diff --args "--normalize-manifests" --debug 2>&1 > /dev/null | grep 'helm diff'
exec: helm diff upgrade --allow-unreleased akv2k8s spvapi/akv2k8s --version 2.3.2 --namespace default --reset-values --normalize-manifests --debug

$ helmfile-0.158.1 diff --args "--normalize-manifests" --debug 2>&1 > /dev/null | grep 'helm diff'
exec: helm diff upgrade --allow-unreleased akv2k8s spvapi/akv2k8s --version 2.3.2 --namespace default --reset-values

Should I open a new issue?

yeah. you can post a new issue.

Will do. However --diff-args seems to work as expected.


Add .events to ReceiptAPI

Overview
In general, it's nice to see the set of events emitted by a transaction
Specification
Something maybe like
tx = my_contract.doSomething(...)
assert len(tx.events) > 0  # tx.events is list-like
assert tx.events.MyEvent[0].caller == ...  # be able to fetch items from the event log
# OR
assert tx.MyEvent[0].caller == ...  # Not sure if `__getattr__` here would be dangerous

Dependencies
Might require some changes to event decoding logic

my_contract.MyEvent.from_receipt(tx)[0].caller  # All `MyEvent` events emitted during `tx`
my_contract.MyEvent[-1].caller                  # All `MyEvent` events emitted by `my_contract`

What exactly is the return type? It would be a new class, like ContractEventInstance ?  The type of MyEvent is ContractEvent but it kind of seems more like ContractEventType ?

I am also wondering if we want to provider a way that iterates over all of them? I know that may be a lot of events, but maybe an __iter__ that does that? Otherwise, you can do that via filter() without kwargs I think, but that seems odd

Edit: Ok, I have found the ContractLog class and the decode_event method on the EcosystemAPI. Seems like this is it.

Yes this is correct

I am also wondering if we want to provide a way that iterates over all of them? I know that may be a lot of events, but maybe an __iter__ that does that? Otherwise, you can do that via filter() without kwargs I think, but that seems odd

Yeah, I mean this fits with __getitem__ method we were talking about, __iter__ would be the same. Might require something intermediate to get to work like this correctly
More concretely:
class ContractEvent:
    ...

    def __iter__(self) -> Iterator[ContractLog]:
        ...

    def __getitem__(self, index) -> ContractLog:
        ...

    def from_receipt(self, receipt) -> List[ContractLog]:
        ...

    def filter(self, **filter_args) -> Iterator[ContractLog]:
        ...

    def query(self, *fields, **filter_args) -> pd.Dataframe:
        ...

p.s. you can refactor the module structure under src/ape/contracts/* if you'd like

question: do we want the ability to poll new events?


Unable to use /var/run/docker.sock with normal user and group_add

Describe the bug
Hi there! I have a docker image that has a non root user and I'd like to be able to connect to docker from that image, but unfortunately I get the following error:
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.47/containers/json": dial unix /var/run/docker.sock: connect: permission denied

This works fine when running as root. I've also tried to change the permission on the file on my machine, but they are always reset to the original ones.
To Reproduce
Create this docker file
FROM docker:latest

RUN addgroup -S -g 1000 user && \
    adduser -S -u 1000 -G user user

USER 1000

Then build it:
docker build -t tmp-docker .

And run it:
docker run --group-add root --rm -it -v /var/run/docker.sock:/var/run/docker.sock tmp-docker ps

You'll get this error:
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.47/containers/json": dial unix /var/run/docker.sock: connect: permission denied

And try with root user, it works as expected:
docker run --user root --rm -it -v /var/run/docker.sock:/var/run/docker.sock tmp-docker ps

Expected behavior
No error, it should be able to connect to docker
Diagnostic report (REQUIRED)
OrbStack info:
Version: 1.9.2
Commit: f56c5adaa796a0902c648f038307ed8d434b0522 (v1.9.2)
System info:
macOS: 15.2 (24C101)
CPU: arm64, 14 cores
CPU model: Apple M3 Max
Model: Mac15,10
Memory: 36 GiB
Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2024-12-19T13-06-22.621822Z.zip
Screenshots and additional context (optional)
I've tried this with docker desktop and it works as expected:
➜ docker context use desktop-linux
➜ docker run --rm -it --group-add root -v /var/run/docker.sock:/var/run/docker.sock tmp-docker ps
CONTAINER ID   IMAGE        COMMAND                  CREATED                  STATUS                  PORTS           NAMES
993464d66c89   tmp-docker   "dockerd-entrypoint.…"   Less than a second ago   Up Less than a second   2375-2376/tcp   ecstatic_feistel

➜ docker context use orbstack
orbstack
Current context is now "orbstack"
➜ docker run --rm -it --group-add root -v /var/run/docker.sock:/var/run/docker.sock tmp-docker ps
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.47/containers/json": dial unix /var/run/docker.sock: connect: permission denied

Docker was working in my Ubuntu 22.04 system till the day before yesterday but now I'm getting:
docker ps
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Even with sudo, the same. My version is:
docker --version
Docker version 27.4.1, build b9d17ea
What has changed?

I recently got this issue as well after updated to 1.9.2. Can confirm this issue doesn't exist on 1.8.2.

Fixed for the next version.


Request to add Nepal Open University in domain list

What the PR does ?
Adds nou.txt file to the lib/domains/np/edu directory
More details to the university
University website: https://nou.edu.np/
Faculty: https://nou.edu.np/faculty-of-science-health-technology
Course Information.pdf

@prabin194 First stage of verification passed, official domain is nou.edu.np as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@prabin194 Could you please provide a direct link to a page at the official website with an IT-related course description?
I couldn't find any software development courses by the link you shared. Since the university is open to everyone and offers distance learning, there's a higher risk of license abuse. So, I need to ensure that students at this institute require an educational subscription for their studies.

@prabin194  You might miss my previous comment. Please react.

@prabin194 Thank you for your patience while waiting for a review and processing your request. Pull request merged.


feat: add more options for unstructured.io loader

Add more options supported by https://github.com/Unstructured-IO/unstructured-api (new params: encoding, ocrLanguages, coordinates, pdfInferTableStructure, xmlKeepTags)

Looks good but can you run yarn format?

Looks good but can you run yarn format?

Done.

Had to update some types in a test. Thank you!


Dropdown | Clearing values opens the dropdown

It doesn't seem to open the dropdown by focusing as blur events don't close it.
Either way it shouldn't open the dropdown when clicked.
Clicking on the down/up arrow also doesn't trigger the interaction feedback splash as you'd expect, the arrow shouldn't capture anything - it may as well have no pointer events
AC:

evt.preventDefault (or stopPropagation) on click of the clear button (probably in an onClear function)
Set the pointer-events css rule to none on the arrow.

:tada: This issue has been resolved in version 1.9.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Preserve content with Get-AuthenticodeSignature

PR Summary
Do not try and roundtrip the -Content bytes to a Unicode encoded string and then back to bytes. Instead just use the raw input bytes when validating the content signature.
PR Context
Fixes https://github.com/PowerShell/PowerShell/issues/18773
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[ ] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[x] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[ ] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and opened an issue in the relevant tool repository. This may include:

[ ] Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode
(which runs in a different PS Host).

[ ] Issue filed:

[ ] Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.

[ ] Issue filed:

[ ] Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).

[ ] Issue filed:

[ ] Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

[ ] Issue filed:

Any updates on this one, have been a few months with CI being green.

LGTM. @SeeminglyScience I made a change on how we get the byte sequences for the content of a script file because the existing code seems incorrect to me. CIs still passed with my changes, but I'd like you to take a look just to make sure the changes make sense. Thanks!

Yeah I think your changes make sense. It may actually solve some finickyness with encoding requirements and signing that I vaguely remember hearing about.  LGTM!


Fixes #2485 NTR - pancreatic islet capillary endothelial cell

Added a new term with textual and logical defs, synonyms and references

#gogoeditdiff


Version bump for rebuild

First bash at a pot jail with netbox with integrated posgresql and redis, things may be broken

approving for build


Should there be a route to find dumps uid?

Describe the bug
As of today when launching a dump creation process using the following route POST /dumps/ MeiliSearch returns a dumps_uid. This uid helps the user track the dump creation process using the dump status route GET /dumps/:dumps_uid/status.
If the user did not save the dumps_uid he will not be able to recover it as there is no GET /dumps/ route which could inform about the previous dumps creation.
The only solution is to go directly into the dump folder and look at the dump name. But this only works when the process succeeded.
To Reproduce
Steps to reproduce the behavior:

use POST /dumps without saving the dumps_uid
Not able to recover the dumps_uid

Expected behavior
There should be a GET /dumps/ route that gives you the history of dump creation and helps you recover any dump_uid.

Not for now, I think this route is relevant if you have a full http interface with upload, download... Which is not the case. Today's backup needs to have access to the file system to use them so the only way to have the backup list is to check the directory where backups are.

Hello,
I will close this issue in favor of our public roadmap.
I invite everyone interested in this feature to upvote it on the roadmap.


turn off the choke damage display on the armor stand

I would like to ask a question, can I turn off the choke damage display on the armor stand?

I don't really know what you mean. Are you sure you're really using my plugin? (I get a lot of people who using a different damage indicator plugin but ask in my GitHub/Discord.)

Or could you send some screenshot or more information about your problem

Like this.
The armor stand will display damage by suffocation.

Do you have showToDamagerOnly set to false?

Yes. But I just want to close suffocation damage from armor stand, want let other mobs' suffocation damage can display.

This is very weird. My plugin only shows indicators for damage dealt by players and I think armorstands can't suffocate(?).
Are you sure you're using my plugin? I get a lot of people reporting issues even though they have a different damage indicator plugin.

Yeah. I know.
But I would like to display damage indicators by suffocation on mobs and players, except the armor stand.XD
I'm sorry if you misunderstood me.


compose based deployment docs

Also, it seems that you have added images for configuring Jenkins in compose-based deployment. This should rather go in swarm-based deployment.
Compose based deployment will only have steps that we discussed yesterday on discord.

Also, it seems that you have added images for configuring Jenkins in compose-based deployment. This should rather go in swarm-based deployment.
Compose based deployment will only have steps that we discussed yesterday on discord.

I have just added the images for storing the registry_server address that we need to configure here too ri8?

@i-am-yuvi Please resolve the conflicts

I have updated the PR


Fix sharing when re-consenting after withdrawing

code copied and adapted from APCEligibleViewController.m, which handles it in the usual signing-up-for-an-entirely-new-account case

r=me


Relist wUSDM

Can we relist wUSDM on L2Beat now? It's been two weeks. Thanks
https://github.com/l2beat/l2beat/pull/2415
https://github.com/l2beat/l2beat/pull/2410

Hi,
We're using Coingecko to determine the price of tokens. As you can see for yourself, Coingecko currently does provide historical data for this token (https://www.coingecko.com/en/coins/wrapped-usdm) but it's very sparse and limited. As of this moment we do not have mechanism to support tokens with this many holes in its price chart.


How to run demo.py file with "Small-SATRN.pth" model in case-sensitive mode?

The default config file is case-sensitive. Run the demo as follows:
python .\tools\demo.py .\configs\small_satrn.py checkpoint-path img-path


Rename the visit function of minilang example.

This PR rename the visit function of the minilang.nit file. The previous name was incoherent with the module purpose.

Easy patch, but the commit history is wrong, you should only include 1cfd217, the other commits should be removed from your branch
Other than that, :shipit:

ok to test


nts/startlist

Closes: https://github.com/Not-Endurance/not-timing-system/issues/252

When you've made the changed you'll need to synch with develop before you merge for 2 reasons:

I've disabled merging when your branch is not synched, because sometimes even without conflicts you may have failures when you merge
I've added a Csharpier workflow, which you can see above, which runs automatically when commits are pushed to an open non-draft PR and formats the code. There was a bug in develop, which caused csharpier to fail, it has been fixed

Merging without resolving because I'm in a hurry and current unresolved are only explanations, all requested changes are impelemented


GDExtension is_editor_hint()==false while in editor

Godot version
4.0-alpha11
System information
Both Windows 11 and Mac
Issue description
I have a GDExtension that does things on _ready(). These cause an editor crash if run in the editor, so I have put them behind
if (Engine::get_singleton()->is_editor_hint()) return; // Because we get told we're ready, even in the editor.

however in alpha11 this condition doesn't get hit, so the rest of _ready gets run.
Bisect says that this was introduced in
commit 141c3755814cea60888c7ee548c7ce709550b784 (HEAD, refs/bisect/bad)
Author: Juan Linietsky<EMAIL_ADDRESS>Date:   Sat Jun 18 16:20:55 2022 +0200

    Clean up Hash Functions

    Clean up and do fixes to hash functions and newly introduced murmur3 hashes in #61934
    * Clean up usage of murmur3
    * Fixed usages of binary murmur3 on floats (this is invalid)
    * Changed DJB2 to use xor (which seems to be better)

although after a quick look at the patch I don't understand why - I can't revert and test master straightforwardly because the revert on master isn't clean.
Steps to reproduce
(from the examples)
void register_example_types(ModuleInitializationLevel p_level) {
    if (p_level != MODULE_INITIALIZATION_LEVEL_SCENE) {
        return;
    }
    godot::ClassDB::register_class<GameStateWrapper>();
}

void unregister_example_types(ModuleInitializationLevel p_level) {
    if (p_level != MODULE_INITIALIZATION_LEVEL_SCENE) {
        return;
    }
}

extern "C" {

// Initialization.

GDNativeBool GDN_EXPORT resort_native_init(const GDNativeInterface* p_interface,
                                           const GDNativeExtensionClassLibraryPtr p_library,
                                           GDNativeInitialization* r_initialization) {
    godot::GDExtensionBinding::InitObject init_obj(p_interface, p_library, r_initialization);

    init_obj.register_initializer(register_example_types);
    init_obj.register_terminator(unregister_example_types);
    init_obj.set_minimum_library_initialization_level(MODULE_INITIALIZATION_LEVEL_SCENE);

    return init_obj.init();
}
}

and then in GameStateWrapper,
void GameStateWrapper::_ready() {
    if (Engine::get_singleton()->is_editor_hint()) return;

and watch it not return.
Minimal reproduction project
No response

I've finally gotten to the bottom of this, and I think the ticket should be closed. There was an unmarked requirement to update godot-cpp, and having done so this issue seems to have gone away - I assume this is entirely acceptable during alpha.
On the offchance that this really did indicate an underlying issue that needs addressing, please re-open.


en-es / es-en : spm instead of bpe?

Hi,
Do you have spm versions of the tokenization for es-en / en-es models since source and target spm are required to convert to models into pytorch?
Thank you.

Unfortunately, I don't have any sentencepiece model at this moment but more models will come and soon be released. Most of them will appear from this repository: https://github.com/Helsinki-NLP/Tatoeba-Challenge

thank you so much.

There is now https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/eng-spa and https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/spa-eng

Thank you so much.
On Tue, Aug 18, 2020, 5:29 AM tiedemann<EMAIL_ADDRESS>wrote:

There is now
https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/eng-spa
and
https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/spa-eng
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/Helsinki-NLP/OPUS-MT-train/issues/16#issuecomment-675398692,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOQU2DTAQMTYTIPFP4GHAPLSBJJYBANCNFSM4PXKZSAA
.


Request clarification on session lock timeout

The article says The lock is released when Close or CloseAsync are called, or when the lock expires in cases in which the application is unable to perform the close operation.
What is the default timeout for a session lock?  Where is this set or configured?  What happens if I have a client that crashes before calling Close?  How long will the session stay open?
I'm implementing something like the sample at https://github.com/Azure/azure-service-bus/blob/master/samples/DotNet/GettingStarted/Microsoft.Azure.ServiceBus/SessionSendReceiveUsingSessionClient/Program.cs and I'm really not wanting a hard to track down bug to happen because I overlooked a setting.
Thank you!

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

ID: 0803fba3-53aa-0d6b-e692-81777f3f7641
Version Independent ID: fdc839f6-4986-89f2-5334-879559df8511
Content: Azure Service Bus message sessions
Content Source: articles/service-bus-messaging/message-sessions.md
Service: service-bus-messaging
GitHub Login: @axisc
Microsoft Alias: aschhab

@jasoncoding Thank you for your feedback! We will review and update as appropriate.

@jasoncoding I believe the lock duration set when creating a queue is used for a session as well. In case of a session, the lock is applied to all messages for that session.
Like for message locks, when session locks are not renewed before completing a message, its delivery count is affected. The impact on delivery count is mentioned at the end of this doc itself.

@jasoncoding Just following up here... Hope my previous comment clears things up.

@PramodValavala-MSFT That does help clear it up.  So essentially the session and queue lock is the same thing?

@jasoncoding The lock duration is the same.
When using a session, renewing a message lock does nothing. The lock itself is for the complete session, acting as an umbrella to all messages in the session, like the doc mentions.

@jasoncoding Just following up here... Hope my previous comments help.

@jasoncoding Hope my previous comments help.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

hi everybody
@PramodValavala-MSFT @jasoncoding
We have got issue with lock time and delivery counter in sessioned queue
and i can not find answer in doc
We have sessioned queue with with max delivery count = 10 and lock duration = 5 min
When event handler are failed with unhanded exception (abandon is not executed)
then event will be redelivered in 1 min (even lock time is 5) and delivery counter will be 0
so if event handler fails all time - event will be redelivered infinitely
with generic queue we don't have this issue, and everything works as excepted:
if handled fails with unhanded exception - delivery counter is increased for each attempt, new attempt will be in 5 min
Could you clarify how achieve the same behavior for sessioned queue as we have for generic?
jfi: We use https://github.com/microsoft/spring-cloud-azure to connect to service bus
Thanks,
Gennadiy

@gennadiy-dubina That is expected. And to quote the document

A new message can only be obtained when the prior message has been completed or dead-lettered. Abandoning a message causes the same message to be served again with the next receive operation.

@PramodValavala-MSFT
i understand that event will be redeliverd if it's abandoned
we want to have redelivery
my concern is :
in case we got unhandled  exception on our side in business logic handler we will not send abandon to service bus
so service bus will delivery event again but delivery counter will NOT be incremented, it's always 0
also redelivery will be in 1 min not in 5 as configured in lock


167254984 controls tab ui

This PR implements the controls panel styling as specified in the UI spec.  It also creates a path for SVG integration that can be used for future icon/art integration.
A few caveats that are worth discussing before bringing this in (also posted on PT):
-There are a few icon colors that are missing (I'd rather get the colored icons in cases where there is nuanced icon colors rather than trying to create a path where we dig into the SVG and adjust path colors).  However, the icons themselves are slotted in and can be easily replaced once we have additional assets.
-Based on discussion in the spec, there will obviously be additions, modifications, or possibly deletions from the set of controls. For this PR I tried to address only the styling and have not made changes to the controls themselves (so the controls that were there are still there). I feel the best move is to wait until the control set is locked down and then put in the final set of controls in another branch and PR (this PR is already getting bulky and I don't want to slow down other work as we wait on updated specs).  If others would like to see those changes in this PR, however, I can continue working on them here.

Based on review and discussion on PT, we'll handle changes to the actual slider controls and functionality in other stories.


fix: update to eye v4.15.3

fix: update to eye v4.15.3

:tada: This PR is included in version 6.6.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release
v6.6.3

Your semantic-release bot :package::rocket:


Prometheus and Grafana Monitoring

Adding an easy way to deploy monitoring tools for K8s cluster and pods.
Also providing an interactive script that helps with docker build, push, and run.

Sorry for the delay. Yesterday I approved your changes, but I forgot to merge your pull request.


Doesn't fully use CPU?

I have noticed it never uses more than 400% in glances (equivalent of 4 cores at 100%), that's only 25% of what my CPU has to offer. Is it normal, or do I have something configured wrong?
$ cat chatdocs.yml
llm: ctransformers

ctransformers:
  model: /mnt/dev/ai/oobabooga_linux/text-generation-webui/models/Wizard-Vicuna-7B-Uncensored/Wizard-Vicuna-7B-Uncensored.ggmlv3.q4_0.bin
  model_type: llama

download: false

I tried other (ggml) models, but it behaved pretty much same.
I remember from trying oobabooga's text gen webui that "Transformers" had similar poor performance and I had to switch to "llama.cpp" to get better CPU utilization.
Sadly for my GPU is still not available rocm (5.5?) in Manajro, so CPU is currently my only option :(.

Thanks for the tip :slightly_smiling_face:, after few attempts (I am very green to this ecosystem) following config works nicely:
llm: ctransformers

ctransformers:
  model: /mnt/dev/ai/oobabooga_linux/text-generation-webui/models/Wizard-Vicuna-7B-Uncensored/Wizard-Vicuna-7B-Uncensored.ggmlv3.q4_0.bin
  model_type: llama
  config:
    threads: 14

download: false

I guess the default value -1 doesn't mean auto-detect, or the auto-detect is broken (it doesn't seem to be rewritten by default config in chatdocs).


Extension experience doesn't integrate well with GitHub CLI

I often use a combination of VS Code and the terminal to interact with my repos. My expected experience was that I could use the GitHub CLI to checkout a PR, and then pick up where I left off in VS Code. Currently, that experience isn't integrated, and I can't use the tools seamlessly together
What I intuitively wanted to do:
# check out the PR using the gh cli
gh pr checkout 49

# poke at the incoming code in the terminal
npm install
npm test

# open up VS Code + this extension for some more review
code .

What actually happens:

gh checks out a branch with the original name, ex: scan-command-base
The extension doesn't realize that I have this PR checked out; it tells me I have 0 items under Local Pull Request Branches

I can right-click and open up the PR in VS Code. It gives me a different branch name, ex: pr/Joshua-Phelps/49

After doing so, the gh cli doesn't know where it is anymore, and my PR commands no longer work

Hmm, this isn't expected behavior, the extension should be able to detect that the current branch is associated with a pull request. This is using the latest version of the extension?

Thanks for the info! So far it's looking like the extension correctly detects the association when the PR branch is in the same repo, and then the failure case occurs when the PR originates from a fork
Versions:

github.vscode-pull-request-github: v0.24.0
gh: gh version 1.7.0 (2021-03-04)

https://github.com/noelbundick/config-analyzer/pulls
PR from branch in same repo:
gh pr checkout 50

PR from a fork:
gh pr checkout 51

git clone https://github.com/jetstack/cert-manager
cd cert-manager
gh pr checkout 4121

At this point, my .git/config looks like this:
[branch "certificate-shim"]
    remote = https://github.com/jakexks/cert-manager.git
    merge = refs/heads/certificate-shim

The tab "Github Pull Request" does not appear on the right, and the "GitHub" tab on the right shows 0 local pull requests.

Now, since the extension seems to want to have the github-pr-owner-number value set in .git/config (as per #1070), I manually set it:
git config branch.$(git branch --show-current).github-pr-owner-number \
  "$(gh pr view --json url | jq -r .url | sed 's@https://github.com/@@; s@/pull/@#@; s@/@#@g')"

Now, .git/config looks like this:
[branch "certificate-shim"]
    remote = https://github.com/jakexks/cert-manager.git
    merge = refs/heads/certificate-shim
    github-pr-owner-number = "jetstack#cert-manager#4121"

This time, the "Github" tab sees 1 pull request, but still no sign of the "Github Pull Request" tab:

Then, I tried right-clicking on the "Local branch" above and click "Checkout pull request".
(before that, I removed the github-pr-owner-number setting that I had set for my certificate-shim branch, otherwise it trips the extension due to duplicate github-pr-owner-number entries)
The .git/config now contains:
[remote "jakexks"]
    url = https://github.com/jakexks/cert-manager
    fetch = +refs/heads/*:refs/remotes/jakexks/*
    github-pr-remote = true
[branch "pr/jakexks/4121"]
    remote = jakexks
    merge = refs/heads/certificate-shim
    rebase = true
    github-pr-owner-number = "jetstack#cert-manager#4121"

This time, the "GitHub Pull Request" tab shows and I can see the PR comments in-line when opening the files.

I just found what was wrong: the extension seems to need a "named" remote.
Without a named remote, the extension does not show the PR comments in-line:
[branch "certificate-shim"]
	remote = https://github.com/jakexks/cert-manager.git
	merge = refs/heads/certificate-shim
	github-pr-owner-number = "jetstack#cert-manager#4121"

But with a named remote, it works:
[remote "jakexks"]
	url = https://github.com/jakexks/cert-manager
	fetch = +refs/heads/*:refs/remotes/jakexks/*
	github-pr-remote = true
[branch "certificate-shim"]
	remote = jakexks
	merge = refs/heads/certificate-shim
	github-pr-owner-number = "jetstack#cert-manager#4121"

For anyone interested, you can create yourself a shell script to "force" the GitHub Pull Request extension to get activated using a one-liner.
One-liner to create the git vscode command:
#! /bin/bash

trace() {
  printf "\033[33m%s\033[0m %s\n" "$1" "${@:(-2):1}" >&2
  "$@"
}

trace git config "branch.$(git branch --show-current).github-pr-owner-number" \
  "$(gh pr view --json url | jq -r .url | sed 's@https://github.com/@@; s@/pull/@#@; s@/@#@g')"

if git config "branch.$(git branch --show-current).remote" | grep -q ^https://github.com; then
  exit
fi

trace git remote add "$(gh pr view --json author | jq -r .author.login)" "$(git config "branch.$(git branch --show-current).remote")"
trace git config "branch.$(git branch --show-current).remote" "$(gh pr view --json author | jq -r .author.login)"

Then, whenever you want to review a PR:
gh pr checkout 3456
git vscode

and the PR comments should show in VSCode.

This should be fixed since the October 2023 release!

Can I ask how it was fixed? @alexr00 :D

Fix was here: https://github.com/microsoft/vscode-pull-request-github/pull/5351
Issue that tracked the fix is here: https://github.com/microsoft/vscode-pull-request-github/issues/4464


Xcode 11.3.1  New a swift project，import by pod，build and report an error

Xocde verson 11.3.1，new a swift project，use KingFisher verson 6.0.1 or newer.
build directly，and I get an error，Cannot call value of non-function type 'Delegate<RetrieveImageResult, Void>'
screenshot：

I suggest you try to upgrade to a new Xcode version. If you want to submit your app to AppStore, Xcode 12 is already a must:
https://developer.apple.com/news/?id=ib31uj1j

Starting April 26, 2021, all iPhone and iPad apps submitted to the App Store must be built with Xcode 12 and the iOS 14 SDK or later. The iOS SDK provides access to exciting new features like App Clips, Home screen widgets, ARKit, RealityKit, and much more.


Documentation is missing a list of actions you can execute on the browser

Hello, I want to use this library to write some functional tests for a heave client-side project. Looking at the docs I didn't found anywhere how to, for example, click a link on the page, I had to dig the issues to find the right function.
I'm missing something or they are missing indeed?

:+1: needs documentation

:+1:

+1

+1

👍

Duplicate of #799


HHH-8051 - Add graceful not-found support for to-one associations.

https://hibernate.atlassian.net/browse/HHH-8051
This is the HHH-8051 fix based on master rather than the legacy 6.0 branch.

This new feature should be added to documentation as "experimental".

Closed in favor of PR #4478


fix: incorrect date showing on price chart

Description
Fixes https://github.com/shapeshift/web/issues/700
Notice
Before submitting a pull request, please make sure you have answered the following:

[x] Have you followed the guidelines in our Contributing guide?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Do all new and existing tests pass? Does the linter pass?

Pull Request Type

[x] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)
If applicable, please link to the github issue and put closes #XXXX in your comment to auto-close the issue that your PR fixes.
Testing
Please outline all testing steps

Reproduce bug
Find place in code where bug probably lies
Find other chart code where there is no bug
Compare and fix bug in first place
Verify bug is fixed

Screenshots (if applicable)

@0xean ah wow thank you very much for the tip !
I have already been on the discord and I like the spirit there, is there a specific channel for developers ?
I am interested in contributing more in the future.

Yes ser!
Please select engineer role in #role-selector and feel free to say hello in #engineering-public


Tracking Webpack build times and build size

"As a project manager, I want to track metrics related to Webpack build times and build size, so that I can ensure that we are meeting our performance goals and making measurable improvements over time."
Tasks:

Measure Webpack build times
Researched how to implement measurable improvements to build times

Added to task board


add coverage code

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


Correct script for "Create the zonal virtual machines"

for i in `seq 1 3`; do
az vm create \
--resource-group myResourceGroupSLB \
--name myVM$i \
--nics myNic$i \
--image UbuntuLTS \
--generate-ssh-keys \
--zone $i \
--custom-data cloud-init.txt
done

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

ID: c7c17c16-8c90-9191-d138-3b450df96470
Version Independent ID: caeaac50-c0f6-3bc8-d7b6-f426828afe71
Content: Load balance zone-redundant VMs using Azure CLI
Content Source: articles/load-balancer/load-balancer-standard-public-zone-redundant-cli.md
Service: load-balancer
Product: unspecified
GitHub Login: @KumudD
Microsoft Alias: kumud

@richardspitz Thanks for bringing this to my attention. The script is correct. However, the sentence preceding the script needs to be corrected and should be changed from "Create VM in zone 1" to "Create a VM in each zone".
I will update the text. Thanks!

#in-progress

@richardspitz  Thank you! I will make the updates in the script too.

Fixed.
#please-close


What does the SIZE_FACTOR mean?

Is this only for video frame control and has nothing to do with image? I cannot find explanation of SIZE_FACTOR when finetuning Qwen2VL

https://github.com/QwenLM/Qwen2-VL/blob/main/qwen-vl-utils/src/qwen_vl_utils/vision_process.py#L82


Gridlines / axis lines / tooltip box missing

I've run into a strange issue that I have trouble fixing. My charts are missing the x and y axis lines, and the tooltip box also only shows the text, not the box itself.
I tested this even with just the example discrete bar chart from the "Basic usage" section of the readme.
Any ideas what is causing this? I have a very simple angular2 site set up, with minimal styles other than bootstrap. Even with all styles removed the problem still persists.
Here's a screenshot of what it looks like
And here's a sample app: https://github.com/ekuusi/nvd3-ng2-grid-issue
The sample app is a minimal MEAN project with the problem. To run:

npm install
npm run build
npm start

Listens to localhost:3000. The app just has one view with Hello World and the bar chart that has the issue.

Ok, so it turns out that I was missing the required styles due to the Webpack workaround required to get ng2-nvd3 to work in the final release I implemented.
Fixed this by copying the master stylesheet nv.d3.min.css into my project folders from the nvd3 node-module and linking it in my index page.
I'll leave this here if someone runs into the same problem. Also feel free to use the repo linked here if you want to see how to get ng2-nvd3 to work in an Angular 2 project with Webpack.


Add IPv4 subnet validation

Since we can create an ip with a netmask using IPAddress.new "#{ip}/#{mask}", I would suggest that IPAddress.valid? "#{ip}/#{mask}" should also validate it.

Please excuse me, I'm not that good with IPv6 netmasking, therefore I did't implement it.

Hello, this is an old PR!
Now, GitHub can allows maintainers to add commits into your branch, this would allow us to add the corresponding IPv6 code.  Can you please enable this feature (on the PR page, at the bottom of the right column, under the participants list, check Allow edits from maintainers. )?
Thanks!

Hi @smortex, I have it enabled.

Dear @paudam, I rebased your changes on top of master and added a commit to add similar feature for IPv6.


Cloned VI with "&" in name creates clone with missing "&"

@MikaelHolmstrom
Steps to reproduce:

You have a VI named such as:  "words & text.VI"
Right-Click on the VI and select "Clone VI..".
After you clone the VI, you get: "words  text.VI"

Okay, I'll let "&" be a valid character

Done, I'm just removed these characters now: <>:"/|?*


Test vecotor result seems incorrect

I tried test case 17~19, 20 and 23. I expected the 3rd string is the secret in the vector file, but it seems not. I got different results with cli 'restore'.
I got the following result by cli tool
case17~19: '0x62101a7ce21ebae7893c51426d535c43'
case20: '0xee9ec1ed13996aa575714bd3abb6b8947ac6c7add9cdef39ef55a722eded034d'
case24: '0x8f75a27a9dceb390b10e06d576007c3e7b32ed8ba6b521d5ceaf601df27b48ed'
Do I misunderstand something?
Thanks.

The format of the test vectors is explained in https://github.com/satoshilabs/slips/blob/master/slip-0039.md#test-vectors, note that it also says that the passphrase "TREZOR" is used for all valid sets of mnemonics. So you need to do the recovery with passphrase (-p option), otherwise the CLI tool assumes an empty passphrase:
$ shamir recover -p
Enter a recovery share: eraser senior acrobat romp bishop medical gesture pumps secret alive ultimate quarter priest subject class dictate spew material endless market
Completed 1 of 2 groups needed:
✓ 1 of 1 shares needed from group eraser senior acrobat
✗ 0 shares from group eraser senior beard
✗ 0 shares from group eraser senior ceramic
✗ 0 shares from group eraser senior decision
Enter a recovery share: eraser senior beard romp adorn nuclear spill corner cradle style ancient family general leader ambition exchange unusual garlic promise voice
Completed 2 of 2 groups needed:
✓ 1 of 1 shares needed from group eraser senior acrobat
✓ 1 of 1 shares needed from group eraser senior beard
✗ 0 shares from group eraser senior ceramic
✗ 0 shares from group eraser senior decision
SUCCESS!
Enter passphrase: TREZOR
Repeat for confirmation: TREZOR
Your master secret is: 7c3397a292a5941682d7a4ae2d898d11

I updated the README.rst with an explanation of the format of the test vectors: https://github.com/trezor/python-shamir-mnemonic#test-vectors

@andrewkozlik , Thank you!


Detect compare urls

Description
This will detect compare urls.
Input
https://github.com/bfred-it/shorten-repo-url/compare
https://github.com/bfred-it/shorten-repo-url/compare/d71718db6aa4feb8dc10edbad1134472468e971a
https://github.com/bfred-it/shorten-repo-url/compare/master
https://github.com/bfred-it/shorten-repo-url/compare/master...master
Output
bfred-it/shorten-repo-url/compare
bfred-it/shorten-repo-url@d71718d (compare)
bfred-it/shorten-repo-url@master (compare)
<EMAIL_ADDRESS>(compare)
Closes
#16

Failing CI build with Node 7 seems unrelated to this PR.

Can you replace the 7 with 8? It's annoying that they increased the compatibility breaking semver, but this change only affects the build anyway.

Increased minimum Nodejs version to 8. All tests pass again.

Thanks! I think the engines field can stay as is, I won't make any changes that break Node 7 compatibility in the published module. v8 is only needed on Travis because of that devDependency requiring it


Replit Node outdated

--> yarn install
yarn install v1.22.5
[1/4] Resolving packages...
[2/4] Fetching packages...
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version ">=14". Got "12.22.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
exit status 1

Is there somehow I can update? I looked around and also tried the Skyblock Facade way (using the tsconfig file) to no avail

The chat bridge is unfortunately still written in NodeJS, so the TypeScript solution won't really work, Mineflayer which the bot depends on only works for Node 14+ regardless so rewriting the application in TypeScript won't help too much.
You could try run the index.js using npx with Node 14 instead, to do that you'll need to go to your shell in Replit, then run npx node@14 index.js which should download Node 14 and run the bot using it.
You can also find more information about potential upgrades of Node versions here: https://replit.com/talk/ask/How-Can-I-Update-NodeJS-Version/42698


Integrate TanStack

https://tanstack.com/query/latest/docs/framework/react/overview TanStack is a framework that is used for fetching and updating data, which I feel could be useful for when we want to query our database to get the information for the website.

I think we will be able to query the database from Django pretty easily, so we shouldn't need this. If you wanna mess around with it, go for it, but otherwise we can close this.

Closing this, since Django will be what we use to query


User mode testing example

Reworked the example Tock user mode app to support running both in RISC-V in the emulator as well as using the libtock_unittest's fake kernel. I also moved the executor and TockSubscribe impl Future into a common crate, libtockasync, to make it easier to use from other libraries and apps.
This allows us test directly from the host without the emulator:
cargo t -p example-app

And to run the app directly:
cargo run --bin example-app

This should make it much easier to develop and test apps with a rapid development cycle.
I added some simple tests to demonstrate how to test the async code. It's a little tricky since the fake kernel and the Embassy executor need to be in the same lexical scope as the test so that they don't get dropped and cause a segfault.
A future TODO is to have integration tests using the real Tock kernel using a similar framework to tests/integration for our Tock code.

Thanks!


adding a program to print pascal triangle by java

rearranged the files scattered files and added program to print pascal triangle.
I request you to please label this PR "hacktoberfest-accepted" after reviewing the changes.

@a-abhinav contribute here https://github.com/Ishaan28malik/Get-Dev-Resources