The docker image is not consistent with the Dockerfile in the git repository

Dockerfile from the image on docker hub:
MAINTAINER Tim Nolet<EMAIL_ADDRESS>WORKDIR /opt/docker
ADD dir:985a50ce70482f89bdc2087e1a2f52face7c83ee3e479d932f539b49d17cc7a2 in /opt
USER root
ENTRYPOINT &{["/opt/docker/vamp-router"]}
CMD []
RUN echo 'deb http://ppa.launchpad.net/vbernat/haproxy-1.5/ubuntu trusty main' >> /etc/apt/sources.list
RUN /opt/docker/vamp-router
RUN /opt/docker/data
This is totally different from:
MAINTAINER<EMAIL_ADDRESS>ADD ./target/linux_i386/vamp-router /vamp-router
ADD ./configuration /configuration
ADD ./examples /examples
ADD ./target/linux_i386/haproxy /usr/sbin/haproxy
EXPOSE 80
EXPOSE 10001
EXPOSE 1988
ENTRYPOINT ["/vamp-router"]

Hi @mpaluru thanks for reporting. Vamp Router is currently not actively maintained, as it's not designed for running in High-available setups. For this we created the Vamp Gateway Agent project, which can be setup in HA clusters. In the future we might pick up Vamp Router again if enough interest. Could you tell us more about your specific use-case for Vamp Router?


Any updates?

Description from June states it'll be a few weeks before working again (hopefully), but that was months ago 😅

@wefalltomorrow You can try this, if it is working or not

@wefalltomorrow I have no idea as of now how to reverse engineer the new update as most of the data I see is encrypted, and it's tough to get an idea of how they have implemented the chat functionality.

Sorry for the delay, as it is a leisure time developed project, I cannot guarantee when I will be able to finish this. Also, I am looking for a new job as of now, so mostly involved in searching and interviewing.

Fair enough, thanks for the quick response nonetheless <3


my six blog | Donaldhan Blog

https://donaldhan.github.io/life/2017/11/04/my-six-blog.html
my six write by markdown, power by jekyll in github page

all right
if(is the six blog)
   true


Update metadata/Add Scope: namazso.OpenHashTab version v3.0.1

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@palenshus Can you take a look?

It again installs fine on my x86 machine but doesn't pass the pipline...

This was a weird error tho as it got Validation-Executable-Error and Validation-No-Executables, but yeah i don't trust the x86 VM as it fails a lot

@OfficialEsco I just stumbled across this. I am assuming that the "v" in the version name does not make this version show as the newest. Is there anything we can do about this? or is this to be related to the way the CLI works?

I've seen this before, i believe there is a issue on winget-cli about it, is the older version actually 2.3.0 or v2.3.0?

It is actually 2.3.0...

ouch that sucks, i guess we can cheese it by naming it v2.3.0 if its the only version?
or wait for schema v1.1.0


Can't be used with json_serializable >= 5.0.0 (upgrade to analyzer ^2.0.0)

Since this package depends on analyzer 1.5 it cannot be used together with newer packages like json_serializable v5. It would be nice, if the package could be updated for analyzer >= 2.0
Because json_serializable >=5.0.0 depends on analyzer ^2.0.0 and every version of intl_generator depends on analyzer ^1.5.0, json_serializable >=5.0.0 is incompatible with intl_generator.
So, because motionsense depends on both intl_generator ^0.2.0+0 and json_serializable ^5.0.2, version solving failed.

all good in 0.2.1 :)


Feature: TcpServer hot reload SSL file

Reload the global cert file and private key file for https server
Note: The goal of this method is not to make the framework use the new SSL path, but rather to reload the new content from the old path while the framework is still running.Typically, when our SSL is about to expire,
we need to reload the SSL. The purpose of this function is to use the new SSL certificate without stopping the framework.

#2149


Agenda branding: End hour not shown for multi-date events

In the events detail screen

Hi,
Can we have a ETC of this issue so we can update.
Else If the issue is resolved please put the state_resolved label and close the issue.
Thanks!


Improve resolution of Python / PIP dependencies

ORT's analyzer has various problems with resolving Python / PIP dependencies

[ ] Dependencies on native packages require native system stool to be installed, see #4578.
[ ] The Python-3-compatibility check might fail, see #4289.
[ ] Any specifically requested Python version is not adhered to, see #3671.
[ ] We use some rather obscure helper scripts based on abandoned projects, see #2816.
[ ] We might have some general problems with retrieving metadata:

[ ] #812
[ ] #509
[ ] #485
[ ] #5159

or leveraging / extending existing tools like https://github.com/ddelange/pipgrip.

See in particular https://github.com/ddelange/pipgrip/issues/40.

Also maybe worth a look as a helper tool is https://github.com/trailofbits/it-depends which claims to

Finds native dependencies for high level languages like Python

@sschuberth re:

Also maybe worth a look as a helper tool is https://github.com/trailofbits/it-depends which claims to

Finds native dependencies for high level languages like Python

From a quick look  they seem to:

create a docker image in https://github.com/trailofbits/it-depends/blob/8f8988330239c6d3eb39f05988fdbe6802f4bbbe/it_depends/pip.py#L35
run pip directly https://github.com/trailofbits/it-depends/blob/8f8988330239c6d3eb39f05988fdbe6802f4bbbe/it_depends/pip.py#L176 or through https://github.com/wimglenn/johnnydep/blob/master/johnnydep/pipper.py

Also see the difficulties in finding Python 2 example projects.

We could also take a deeper look at component-detection's approach for PIP.

Some interesting insights on the general topic from a Python maintainer.

And yet another interesting discussion with links to:

https://github.com/spack/spack
https://github.com/thoth-station/solver
https://github.com/pypa/pip/pull/10748

@sschuberth FWIW, ScanCode does parse requirements files, setup.py, setup.cfg, pyproject.toml, Pipfile and Pipfile.lock and a few more and has what is likely the best requirements parser around https://github.com/nexB/pip-requirements-parser also used in CycloneDX. You can see the code in action in https://github.com/nexB/scancode-toolkit/blob/syspacfiles/src/packagedcode/pypi.py
We also parse various Python metadata files and detect packages in various installed, archive and extracted layouts. We maintain https://github.com/nexB/dparse2 and https://github.com/nexB/pkginfo2 for additional manifest formats and https://github.com/nexB/univers to parse all versions including all Python package versions.  We also built utilities to resolve, collect and download actual package archives based on these. And we are continuously adding support for new formats as they come.

ScanCode does parse requirements files, setup.py, setup.cfg, pyproject.toml, Pipfile and Pipfile.lock and a few more

Can you clarify on what "parse" means here exactly? I assume in the context of ScanCode only declared license data is parsed, but not declared direct and implied transitive dependencies, incl. resolution of version ranges to concrete versions. Correct?

Can you clarify on what "parse" means here exactly? I assume in the context of ScanCode only declared license data is parsed, but not declared direct and implied transitive dependencies, incl. resolution of version ranges to concrete versions. Correct?

By parse I mean collecting the data as they are and found locally without making any network call, e.g. this means:

parsing and normalizing actual package manifests (and of course all the declared data there such as licenses)
extracting direct dependencies constraints from manifests,
extracting resolved dependency versions from lockfiles,
collecting any extra data available from lockfiles (some formats have more data in their lockfiles, like newer npm lockfiles or PHP composer may contains declared license info).

This does not mean resolving dependencies and getting extra data for these dependencies yet: for Python and PyPI proper that's been the essence of the proposal I had put forward to the ACT project.
Now this will eventually happen as all parts are mostly in place now:

ScanCode collects all the explicit dependencies
-Univers knows how to parse and make sense of most package version, version constraints and version ranges and how to resolve and evaluate versions constraints to concrete versions given ranges.
VulnerableCode and FetchCode both know how to get the list of versions for a package by querying upstream registries APIs.
FetchCode knows how to fetch actual package metadata from these API and also fetch the code.

The last step will be to bring these together:  as it is, this could already be used to resolve transitive dependencies using a simple strategy such as getting the latest version. It would later benefit from adding extra version resolvers to emulate the behaviour of package managers such the pip solver (this was the ACT proposal), the pubgrub solver, the maven solver, etc.

See also: https://github.com/oss-review-toolkit/ort/issues/3671#issuecomment-1203248523

Some updates that are likely relevant here: https://github.com/nexB/python-inspector is now out and has been designed specifically to be integrated in ort and resolve pip dependencies without having the constraints of running pip. And see https://github.com/nexB/ort/pull/1 for the working ort integration that we are refining there first before submitting to ort proper

python-inspector does resolve transitive dependencies.


migrated project to angular 6

Please rebase and lets merge.

Hi, could you please merge this pull request, I really would like to use the generator for my latest angular project. Thanks

We will do it soon. Before that, you can use rxjs-compat, can't you?
On Mon, 1 Oct 2018, 20:54 Máté Hársádi<EMAIL_ADDRESS>wrote:

Hi, could you please merge this pull request, I really would like to use
the generator for my latest angular project. Thanks
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/jnwltr/swagger-angular-generator/pull/65#issuecomment-426022005,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACkMtp697jcQYv0FM80353xpqVDyN3_8ks5ugmT6gaJpZM4WwNHx
.


onnx inference:ValueError: cannot reshape array of size 8640000 into shape (1200,1800,1)

ValueError                                Traceback (most recent call last)
 in <cell line: 3>()
1 plt.figure(figsize=(10,10))
2 plt.imshow(image)
----> 3 show_mask(masks, plt.gca())
4 show_points(input_point, input_label, plt.gca())
5 plt.axis('off')
 in show_mask(mask, ax)
2     color = np.array([30/255, 144/255, 255/255, 0.6])
3     h, w = mask.shape[-2:]
----> 4     mask_image = mask.reshape(h, w, 1) * color.reshape(1, 1, -1)
5     ax.imshow(mask_image)
6
ValueError: cannot reshape array of size 8640000 into shape (1200,1800,1)

I'm not familiar with the formatting of the onnx output, but at least from the error message it looks like you're getting an array which is 4x bigger than expected, that is: 8640000 = 4 * (1200 * 1800)
So I either the mask image is 4x bigger than the 1200x1800 sizing (e.g. 2400x3600) or maybe you're getting 4 masks. If the sizing is the problem, you could quickly fix it by hard-coding in the extra scaling by adding a 2*h and 2*w on the line with the error:
mask_image = mask.reshape(2*h, 2*w, 1) * color.reshape(1, 1, -1)

It seems more likely that you're getting 4 masks, in which case you could reshape the mask output accordingly, though you'll then need to pick which index to use when drawing the image with something like:
mask_index = 0
mask_image = mask.reshape(4, h, w, 1)[mask_index] * color.reshape(1, 1, -1)

try return_single_mask when output decoder, maybe help

modify "mask_image = mask.reshape(h, w, -1) * color.reshape(1, 1, 1)" to "mask_image = mask.reshape(h, w, -1) * color.reshape(1, 1, -1)" is ok


Write ACL on Topic should imply Read

This feature should be toggleable within conf, disabled by default.
ns4kafka:
  misc:
    write-implies-read: false

After careful consideration, we decided not to implement this :

It's only helpful in few scenarios
Activating the configuration have a dramatic impact on existing ACL rules
There will be a case when one namespace doesn't want this, and we won't be able to disable per-namespace.


Resolves #469 Celsius to Fahrenheit C#

Why:
Closes #469
What's being changed:
It's an solution for issue #469
Check off the following:

[x] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

https://codinasion.web.app/programme/celsius-to-fahrenheit/


[json] additionalItems keyword not validated

VSCode Version: Code 1.16.1 (27492b6bf3acb0775d82d2f87b25a93490673c6d, 2017-09-14T16:38:23.027Z)
OS Version: Windows_NT x64 10.0.15063
Extensions: Extensions are disabled

It seems that additionalItems validation keyword is not implemented or not working.
Here is example JSON schema:
{
    "properties": {
        "prop": {
            "type": "array",
            "items": [
                {
                    "type": "string"
                },
                {
                    "type": "string"
                }
            ],
            "additionalItems": {
                "type": "integer"
            }
        }
    }
}

Example JSON file:
{
    "$schema": "./test.schema.json",
    "prop": [
        1,
        2,
        "3"
    ]
}

Editor successfully reports error on 1 and 2 but doesn't report error on "3".
Reproduces without extensions: Yes

@aeschli thanks for your quick fix https://github.com/Microsoft/vscode-json-languageservice/commit/a89e995877162b698e338e8301403a4ea49d5d92  👍


Suddenly getting error about ID

Suddenly getting error: "Something went wrong. Please check out your session and conversation id is valid"

Hey @Aerasyn, this project is using unofficial APIs so you need to build this project following the steps below:
https://github.com/skydoves/chatgpt-android#-how-to-build-the-project
Also, the session & conversation id can be expired, so I would recommend using the fresh ones when you build.


COM Interop is not supported on this platform.

Hi Guys,
I have downloaded the latest source code of demo-projects and I adjusted the Chromely.CrossPlat project to work on Linux platform and I got the following error:
$ dotnet run --project Chromely.CrossPlat
Unhandled exception. System.PlatformNotSupportedException: COM Interop is not supported on this platform.
   at System.Threading.Thread.SetApartmentStateUnchecked(ApartmentState state, Boolean throwOnError)
   at System.Threading.Thread.SetApartmentState(ApartmentState state, Boolean throwOnError)
   at System.Threading.Thread.SetApartmentState(ApartmentState state)
   at Chromely.NativeHosts.ThreadApt.STA()
   at Program.<Main>$(String[] args) in /Chromely/demo-projects/regular-chromely/Chromely.CrossPlat/Program.cs:line 10

I ran this into
OS: Fedora 36 x64.
.Net: 6.0.107

@seerkong I commented the line: ThreadApt.STA(); and the Chromely.CrossPlat project is working well.
Thank you.


fix; build time for gif-player

Thank you!
✅ https://kotlinfoundation.org/news/gsoc-2023-eclipse-gradle-kotlin/


Images not generating? Help please

Hi. I have set it up on Vercel, and inputted the API key from Replica.
But when i load the site, the images never generate.
I am at a loss for what i could be doing wrong.
When i forked repo form github i did not uncheck the "only fork main" box.
I hope someone can help somehow. Thanks.

I also am having this problem. it was working at first and now its not

same, ever since the site came back nothing ends up generating

getting the same problem, they just generate endlessly

It worked flawlessly for me for one day. Today is day 2 and nothing will load. 😭 This is so frustrating.

Thank you for submitting this issue! I just discovered Replicate and Zoo and was trying to use Controlnet, but I couldn't get it to work. Would have spent another hour frustrated if I didn't find this thread...

same problem.. API is registering... but no images

same issue


[WIP]: /docs/samples revamp: move examples to /tutorials

WORK IN PROGRESS. DO NOT MERGE.

Addresses the work described at #4134.

Remove /docs/samples page: This page mostly had links to examples on
kubernetes/kubernetes (examples dir) which is now at kubernetes/examples
repository. It was linking to README.md files for tutorials. Now removing
this page as we are moving tutorials from kubernetes/examples to here:

Create redirects from /docs/samples/ to /docs/tutorials/ (both JS and
redirect_from).
Deprecate "MEAN Stack" tutorial: This tutorial overlaps quite a bit with
existing "maintained" examples and has been out-of-date for a while.
Creating an external redirect to its original and more up-to-date location:
https://medium.com/google-cloud/running-a-mean-stack-on-google-cloud-platform-with-app-engine-and-mongolab-4bbd2040ea75

Import README.md files of maintained examples (guestbook, wordpress+mysql and
cassandra) to this repository and serve them under /docs/tutorial.

Update /docs/tutorials ToC:

Link to imported tutorials.
Fix missing articles on sidebar (_data/tutorials.yml) and make the tutorials
listed on tutorials/index.md available on the sidebar (closes #4007).

Signed-off-by: Ahmet Alp Balkan<EMAIL_ADDRESS>

This change is

/assign

Executed steps 1-3 in #4134. See the PR description above for the summary. I imported 3 tutorials from kubernetes/examples and fixed main issues with them (e.g. added title, fixed some broken links and relative file path links they had on GitHub).
@cody-clark  and myself will go over these tutorials once this PR is merged and iterate to fix issues with them and bring them up to date. See the following staged pages:

Tutorials Page
Example: PHP Guestbook application with Redis

Example: WordPress and MySQL with Persistent Volumes
Example: Deploying Cassandra with Stateful Sets

PTAL @chenopis @steveperry-53 @cody-clark
/assign @chenopis

Travis is unhappy:
[0K$ ./verify-docs-format.sh
Error: docs/getting-started-guides/meanstack.md doesn't have an entry in the table of contents under _data/*.yml
Error: docs/samples.md doesn't have an entry in the table of contents under _data/*.yml
Found 2 files without entries. For how to fix it, see http://kubernetes.io/docs/home/contribute/write-new-topic/#creating-an-entry-in-the-table-of-contents


Intel ARC support with IPEX

Initial Intel ARC GPU support with IPEX on Linux / WSL.
This PR presents IPEX as CUDA.
Users needs to set these manually:
Mixed precision to BF16,
Attention to SDPA,
Optimizer to: AdamW (or any other non 8 bit one).

I can maintain IPEX side. You can tag me with IPEX specific issues. That's what other repos do most of the time.
For new scripts, adding these lines after importing torch should enable IPEX support and you can continue with using torch.cuda:
try:
    import intel_extension_for_pytorch as ipex
    if torch.xpu.is_available():
        from library.ipex import ipex_init
        ipex_init()
except Exception:
    pass

I went with converting torch.xpu to torch.cuda route because using torch.xpu needs a lot of maintenance.
I also manage my IPEX library externally here:
https://github.com/Disty0/ipex_to_cuda

when installing this via bmaltais GUI don't select this option if you don't have it and know what you are doing
I have 13900 K and it caused me to not to be able to do any training

Because it's trying to use the iGPU and IPEX currently doesn't work with iGPUs.


[BUG] Path to HDB script is hardcoded with HANA instance-number 00

Describe the bug
There is a path to the HDB script hardcoded.
In the playbook deploy\ansible\roles-db\4.0.1-hdb-hsr\tasks\<IP_ADDRESS>-set_runtime_path_facts.yml ,line 52, the HDB script ist used to check the version.
The HDB script is reference with this path:  /hana/shared/{{ db_sid | upper }}/HDB00/HDB
This leads to a failing play "HANA HSR: - capture the Hana DB version", if you install HANA with a different instance number than 00.
To reproduce
Install HANA in a high availability environment with a instance number != 00 by setting 'hdb_instance_number' in sap-parameters.yaml.
Setup the HANA Systemreplication.
Expected behavior
Play is running the HDB script and results are available for further assertions.
Additional context
To correct the issue, I just replaced HDB00 with HDB{{ hdb_instance_number }}.

Thanks, this will be fixed in the upcoming 3.8 release


Refactor visualization script

Suggestions for the visualization script

Efficiency
It is not efficient at the moment and won't work for large videos. This line:
video = np.stack([vid_reader.get_data(i) for i in sorted(labels["Frame"].unique())])

Will load all of the frame data in memory from the video reader. Quick fix is to just pass the vid_reader directly into the annotate_video function. Then this loop:
for i in sorted(labels["Frame"]):
     frame = video[i]

could just be:
for i in sorted(labels["Frame"].unique()):
     frame = video.get_data(i)

Also, this assumes that the input video is an mp4 file. This script should also work for tif files, with lazy loading. The LazyTiffStack could be used for this, e.g something like:
from biogtr.datasets.data_utils import LazyTiffStack

if cfg.vid_path.endswith('.mp4'):
     vid_reader = imageio.get_reader(cfg.vid_path, "ffmpeg")
else:
     vid_reader = LazyTiffStack(cfg.vid_path)

Then you would need also logic in the annotate_video function to either get_section or get_data based on the vid_reader type. But a better solution is to just change the get_section function in LazyTiffStack to get_data.

RGB vs Grayscale
These conversions:
if frame.shape[0] == 1 or frame.shape[-1] == 1:
     frame = cv2.cvtColor((frame * 255).astype(np.uint8), cv2.COLOR_GRAY2RGB)
else:
     frame = (frame * 255).astype(np.uint8).copy()

Don't handle cases where the data is already uint8 between 0 & 255. Should just add a check before scaling.

Saving args
When saving the video, we pass some args:
imageio.mimwrite(f"{ds_name}.mp4", data, fps=fps, macro_block_size=1)

It could also be good to optionally scale the image size (e.g if saving really large videos). And then can better control these with a kwargs dict:
w = 512
h = 512
macro_block_size = 1

kwargs = {
     'fps': fps,
     'macro_block_size': macro_block_size,
     'ffmpeg_params': ['-s',f'{w}x{h}']
}

for idx, (ds_name, data) in enumerate([(vid_path, annotated_frames)]):
     imageio.mimwrite(f"{ds_name}.mp4", data, **kwargs)

But pass them as func args

This has been fixed


ftpgrab restarts automatically after being killed

Hi,
I can't get ftpgrab to stop after killing it.
The process always starts again
Thanks

Hi,
Just use the kill(1) command but instead of giving it a process number, give it the negation of the group number. For example to kill every process in group 5112, use kill -TERM -- -5112.
Src: https://stackoverflow.com/a/392155/514571


Add rows-only batches support to RebatchingRoundoffIterator

fix https://github.com/NVIDIA/spark-rapids/issues/10751
A cuDF Table requires non empyt columns, so need to check the number of columns when converting a batch to a cuDF table. This PR adds the support for rows-only batches in RebatchingRoundoffIterator.

build


Create "GPIO setup visualizer"

This would be an Iced component that:
Initially

displays GPIO Config visually (maybe on a logical pin array by number, maybe header board physical layout)

Later

allows the user to select the config options and sub-options for each pin, such as Input/Output. If input, floating, pull-up or pull-down, etc.

some of the more complex functionality that implements IC2 bus using some of the pins, PWM etc...

Initial version exists - will evolve


Problem with duplicate ids in DOM

Hey there,
great library, thanks for that. Unfortunately your plugin uses the Kirby helper function svg which includes the svg files as inline svgs. This leads to duplicate ids in the browsers DOM as every badge svg comes with id="a" and id="b" included.
I think there are two ways to circumvent this:

Add a custom identifier before every id - maybe automatically generated from the badge content
Generate the badges as "files" and just link them like Github does:

What would you say on that?
Regards
codiflow

Small and dirty fix for the problem:
Edit file /site/plugins/kirby3-badges-master/src/badges.php and add the following code before the line return $divPrefix . $image . '
';:
$identifier = uniqid();
$image = str_replace("url(#a)", "url(#" . $identifier . "-a)", $image);
$image = str_replace("url(#b)", "url(#" . $identifier . "-b)", $image);
$image = str_replace("id=\"a\"", "id=\"" . $identifier . "-a\"", $image);
$image = str_replace("id=\"b\"", "id=\"" . $identifier . "-b\"", $image);


"Can you make the code public?"

"Can you make the code public?"

Can you make the code public ?

Looking forward  to your code~

Looking forward to your code~


Minor release

@stutrek @davecoates @udnisap
I have gone through today and tried to do "low hanging fruit" things, and move along the pull requests. We now only have three that are active, and two should be merged soon. Once #18 and #29 are merged, which can hopefully be in a couple of days, I would like to do a release.
I will write up a changelog and such and make a pull request beforehand, so everyone will be able to see it. Does anyone have any objections to this?

Sounds good.
Thanks for your work! 👍

Great!
Let me know If I can help

Nah, I'll do this one manually, and we will figure out the auto-versioning stuff that you mentioned in #28 afterwards. There are enough fixes and quality of life improvements that I think it would be useful to "just ship it".

@lukesneeringer I'm getting you a beer next time in in TX

Wine or cider, please. :-)

The release PR is up (#33). It will have to go without the enum support for now.
That is fine; it is easy enough for others to write, and we can put out an 0.0.9 later with it.


Add API validation for Venafi Issuer config

This makes the API validation a little stricter,

checks that a Zone is always supplied.
checks one  (and only) of Issuer.Spec.Venafi.[TPP,Cloud] is set.
checks that a TPP URL is supplied if TPP is configured

I considered whether this is backwards compatible and decided that it kind of is,
since these broken configurations would previously have resulted in failures in the Issuer and CertificateRequest controllers anyway.
Part of: #3148
Release note:
Improved API validation for Venafi Issuer configuration

/approve
/lgtm
/kind cleanup


Actually merge maps instead of just concatenating

libMapMerge used to just concatenate maps, i.e. two maps containing the same key would be merged into one map containing that key twice. The duplicate key did not appear in the css output when the map was used directly in then scss, but it was used by each loops.
This patch fixes it so that the resulting map contains that key only once.

Thank you!


[benchmark-dimension] Create greater than RAM read benchmark

Mostly criticised MMAP performance issues only appear when filling Page Cache, so let's fill it.

See cgroups for limiting the ram size


stream not working…

Hi, I tried to run external links, youtube link and nothing, no message appears in the console is nothing.

I am unable to reproduce this locally.

@werwolf96 Please upgrade to the latest version, try reproducing the bug, and show me what you see.

Closing in favor of https://t.me/callsmusicchat/9708.


dart2js: Object is using mixed up calling conventions

There are four calling 'conventions':
#1. direct:           receiver.foo(arg)
And three variations of passing an explicit receiver:
#2. intercepted:      interceptor.foo(receiver, arg)
The interceptor and receiver are (potentially) different objects; the receiver is passed as the first parameter and its receiver is passed as the 'this' parameter.
#3. interceptor:      receiver.foo(receiver, arg)
Used in a context where all possible receivers are self-intercepting, but the method may be reached by an interceptor or a self-intercepting class.  Example: a method from a mixin placed on a plain class and an intercepted class will need a correct explicit receiver, even if we know the receiver is a plain class.
#4. ignored-explicit-receiver: receiver.foo(0, arg)
Smaller call site used when the set of 'foo' implementations are all for self-intercepting classes and access the receiver via 'this'.
#3 is a current optimization of #2 when no genuine interceptors are possible.
#4 is a future optimization of #3.
By convention, ignored-receiver methods rename the 'receiver' first argument to '_' and don't use it.
Object seems very confused:
$$.Object = {"": ";",
  //// $eq names the receiver but ignores it!!!
  $eq: function(receiver, other) {
    return this === other;
  },
  //// get$hashCode has an ignored-receiver name, but uses it!!!
  get$hashCode: function() {
    return $.Primitives_objectHashCode();
  },
  toString$0: function() {
    return "Instance of '" + $.S($.Primitives_objectTypeName()) + "'";
  }
};
We need to decide if Object can subclassed by an interceptor class or by a regular class.
If it is both, then we can't use convention #4 for methods on Object, and we need to fix $eq and whatever is causing the incorrect naming of the 'receiver' parameter.

All intercepted classes extend Interceptor.
The compiler validates that all methods defined on Object (toString, hashCode etc) are also defined on Interceptor.  The version on Object and Interceptor differ in where they get the receiver.
NoSuchMethod stubs for interceptor calling convention methods call Object.noSuchMethod or Interceptor.noSuchMethod, which selects the correct receiver, so the stubs on Object are agnostic to the issue.


[vcpkg] Add NO_DEBUG for MSBuild install

This pull request adds to vcpkg_install_msbuild a NO_DEBUG parameter, similar to vcpkg_install_nmake.

/azp run

I have a question: The msvc project can determine whether to disable optimization and which type of CRT link to use based on whether it contains the macro _DEBUG or NDEBUG.
So is this PR required?
@dan-shaw What do you think?

So is this PR required?

This is mostly for skipping the Debug build altogether. My personal motive for this is to build Release only when VCPKG_BUILD_TYPE is not set. This lets me create a custom, personal-use port that only builds Release while also being able to use triplet x64-windows dependencies.

The msvc project can determine whether to disable optimization and which type of CRT link to use based on whether it contains the macro _DEBUG or NDEBUG.

Sorry, I'm not sure how this relates.

We strongly recommend using VCPKG_BUILD_TYPE to identify the type (debug / release) that needs to be built. You can add set (VCPKG_BUILD_TYPE release) to VCPKG_PATH/triplets/*.cmake to use.
This is because VCPKG_BUILD_TYPE contains inheritance. Once it is set, all ports under the current triplet are built with reference to this setting.

Hi @SeekingMeaning, thanks for the PR!
I believe you can accomplish what you want by using code of the form:
if(NOT DEFINED VCPKG_BUILD_TYPE)
  set(VCPKG_BUILD_TYPE release)
endif()

at the top of the special, custom portfile.
I'm closing this PR under that assumption -- if your scenario isn't addressed please ping myself and @JackBoosY and we will re-evaluate this.


Adds exception handling to the CLI layer

Ignores exceptions thrown when trying to auto-introspect an AP.  The errors will be explicitly thrown when trying to use the created ActionClient
Supports GlobusAPIErrors in printing functions
Request details now print to stderr so that tools like jq can parse command output when the verbosity flag is set

This looks great, really clean implementation

Pinging on this to give folks with bandwidth a chance to take a look at this before merging.


chore: add sample catalogsource

Signed-off-by: iam-veeramalla<EMAIL_ADDRESS>What type of PR is this?

/kind chore

What does this PR do / why we need it:
Closes #799
Have you updated the necessary documentation?
NA
Which issue(s) this PR fixes:
Fixes #799
How to test changes / Special notes to the reviewer:

@jaideepr97 this test is still flaky
--- FAIL: kuttl/harness/1-021_validate_notification_controller (308.61s)


Attempt at REST APIs using falcon

Here's an attempt at adding REST APIs to the prototype using the falcon library, which allows implementing them in an object-oriented way, fitting the rest of the code better.

The number of modules under proof_of_concept is rising steadily, maybe it makes sense to add some hierarchy? For example put registry.py, registry_api.py, and registry_api.yml under proof_of_concept/registry.

Yes, I'm going to rearrange all the classes/modules/packages, will be #24.

This took me more than 2 hours to review, and I still have the feeling I might have missed some details. I really think it would be better if you try to break stuff down into smaller steps. If you don't like pushing suboptimal solutions to develop you can always create seperate PRs to merge into new-rest-api.

I've looked at it, and it seems that the PR contains quite a few unrelated improvements. Should have done those first I think, and be more careful about that. The above clean-up will help.

The only link between the swagger specs and the actual api is through the schema validation right? This is potentially error-prone, since making a small typo in the swagger spec will not result in any errors, right? I guess we should either be very careful with this, or test this in a way.

Yes, so if the OpenAPI spec does not match the data being transmitted then we will notice, but the actual endpoint isn't checked against it. Maybe a test could be added that auto-generates a client from the spec and then calls a server and tests that the semantics are right? But that means more things to change when the API is updated as well, and we have an end-to-end test. If I had an infinite amount of time I'd do it, but I think for now I'll leave it as-is.

Another thought on this weak connection between the swagger spec and the actual API is: Why do we need the swagger spec at all? For public-facing APIs I really see the benefits of swagger, but since it is likely gonna be DDM-components talking to each other (correct me if I am wrong on this) I doubt if anyone will ever look at the .yml files.

We could remove them, but then we'd have to do the validation in some other way, probably handwritten too. I like having them however, since one idea of something to come out of this project is an open standard for how such a DDM works. The YAML files would come in handy then. So I'm leaving them in for now.

Nice that you created a new issue for this!
Yeah, let's be aware of it in the future!
That would indeed be a nice solution, but I agree that it is not high priority. Maybe create a low-priority issue for this? Which you will probably skip forever, but if you have the time at some point it might be nice to already have the solution laid out for you there.
Yes for validation it is indeed nice. I agree on keeping them, you can always kick them out at some point if you feel they are more a worry than a help.


⚠ Contemporanea Group has degraded performance

In 710f6b2, Contemporanea Group ($SITE_CNTMG) experienced degraded performance:

HTTP code: 200
Response time: 6484 ms

Resolved: Contemporanea Group performance has improved in 2d20d1d.


How do you know to make port SyncFuTransformer to forge ?

I tried to make a multiloader version but encouter multiple problem and one are SyncFuTransformer so I was suprise when I see you manage to get it port this part and develope the mod even more. So I just wonder how you can get debug it and be able to know about ITransformer.
the multiloader

unfortunately i don't have any knowledge about ITransformer, i just copy-pasted it from here

and this version are not better because more recent ? here

Ok i manage to get it work


Fix submodule parsing

Fix #32568
This PR introduced go-git/go-git/v5/config sub package as the parser of .gitmodules file.

Wrong.
Gitea never uses "go-git" in its non-gogit version.

Any better idea? Could you recommend another library or should we parse it ourselves?

It is quite simple, just write one?


⚠ Bofrost.at has degraded performance

In eeb1d82, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1996 ms

Resolved: Bofrost.at performance has improved in 513ba63.


Clarify use cases better in introductory material

Why are we implementing it? (sales eng)
When we have asked new users to classify an example use case as either multi-tenant or realtime, the intro material in "About Citus" tends not to guide them well. The "Determining the Data Model" section, on the other hand, works better for this. It talks about characteristics of schema and queries that determine which data model is appropriate.
What are the typical use cases?
New users want guidance about how to model data in Citus without false starts.
Communication goals (e.g. detailed howto vs orientation)
Copy good parts out of the section that works well and put it in the intro section, OR remove some of the intro explanation and replace with a link to the section that does it better.

We now have a "Determining Application Type" section for this.


How to drag and stretch this tasks.

Which method should be used？

Use the mouse or see updateSchedule function for programmatically updating a event.

Use the mouse or see updateSchedule function for programmatically updating a event.

Which property controls dragging?
Which property controls stretching?

Modify start and end to drag.
Modify end to stretch it.
Thank you.

Modify start and end to drag.
Modify end to stretch it.
Thank you.
How do I get e.schedule.end and e.schedule.start after clicking Stretch?

Please see the API document.
https://nhnent.github.io/tui.calendar/latest/Calendar.html#event:beforeUpdateSchedule

Please see the API document.
https://nhnent.github.io/tui.calendar/latest/Calendar.html#event:beforeUpdateSchedule
thank you for helping me,
thanks for your guidance.

If you have any question or another issue, please make a new issue. I close this.
Thank you.


Make Landing Page HTML

Implement HTML into the landing page.

I added an iframe as well as some headers, if you want you can fix the headers if they have mistakes.


WIP Refactor jira-config-gen Command

Starting some work on refactoring firewatch to have a better structure, closer to other tools our team supports (openshift-cli-installer, qe-metrics, etc.). This PR refactors the only jira-config-gen command, other PRs will follow.

Creates utils/general.py to hold some general utilities

Creates the render_jira_config function
Creates the get_file_conents function
Adds unit tests to test the new functions

Removes unneeded "Copyright" comments in modified files (will write a subsequent PR to remove all of these)

/wip

@calebevans is this PR still needed?


Applicant - Difference between Remote, Telework and Flex Hours

Description
Have definitions for Remote Work Allowed, Telework, and Flex Hours on the job description page.
Note: The text has to be reviewed.

I'm still not quite happy with these definitions. @JasmitaChawla let's discuss

Duplicate of issue #417. Closing this one, but will link to it


Bug: fixed python detection

Bug
fixed python command detection. Python from pyenv-win will be used only if installed and is set explicitly, python3 is not used on windows by default.

Ok for me. Side question: Should we do check of pyenv result in all other scripts?

no there is only one script needing direct python reference and that is create_env.ps1 as that one is installing poetry and binding virtual env with specific python location. In all other places poetry is called directly so no python detection is needed (only to detect poetry and if this is missing, then we need to create virtual env probably anyway, so we are calling create_env)


[BUG] Does not support multi-GPU in vLLM

Prerequisites

[X] I have read the ServerlessLLM documentation.
[X] I have searched the Issue Tracker to ensure this hasn't been reported before.

System Information
2 NV A100 GPUs
Problem Description
When use vLLM and set tensor_parallel_size = 2, failing to load model checkpoints.
Steps to Reproduce
error "Exception in worker VllmWorkerProcess while processing method load_model"
Expected Behavior
No response
Additional Context
No response
Usage Statistics (Optional)
No response

Our saved format for different vLLM tp levels is different. (Check my reply in this issue for more details).
Could you try to deploy the model via configuration and specify the tp level as 2 with explicit annotation? The format for configuration is under https://github.com/ServerlessLLM/ServerlessLLM/blob/main/sllm/cli/default_config.json

Specifically, you may try this config:
{
    "model": "facebook/opt-1.3b",
    "backend": "vllm",
    "num_gpus": 2,
    "auto_scaling_config": {
        "metric": "concurrency",
        "target": 1,
        "min_instances": 0,
        "max_instances": 10
    },
    "backend_config": {
        "pretrained_model_name_or_path": "facebook/opt-1.3b",
        "device_map": "auto",
        "torch_dtype": "float16",
        "hf_model_class": "AutoModelForCausalLM"
        "tensor_parallel_size": 2,
    }
}


Fix AWS profiles.

Use passed AWS config and do not recreate new one.
Fix #34

Thanks for catching and fixing this!


Pycon CFP details, fix typo for September dates.

Oops! Guess I wasn't reviewing close enough to catch those typos.
Thanks for your continued contributions, @sjwaight.


Add migrations

We need to add a migrations directory and put some migrations in there.

@damonkelley I was attempting to create migrations for invite app using Django 1.7 (initial migration on code before the AbstractInvitation came into being). It doesn't like the def make_uuid() being in the Invitation model that is then used in the same class to set the activation_code default value. Do you see any problem or better solution to me moving make_uuid() outside of the Invitation model class but leaving it in models.py?
Here is the error:
$ python manage.py makemigrations invite
Migrations for 'invite':
  0001_initial.py:
    - Create model Invitation
    - Create model InviteItem
    - Create model PasswordResetInvitation
    - Add field groups to invitation
    - Add field permissions to invitation
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "django-invite/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
    utility.execute()
  File "django-invite/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 377, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "django-invite/local/lib/python2.7/site-packages/django/core/management/base.py", line 288, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "django-invite/local/lib/python2.7/site-packages/django/core/management/base.py", line 338, in execute
    output = self.handle(*args, **options)
  File "django-invite/local/lib/python2.7/site-packages/django/core/management/commands/makemigrations.py", line 124, in handle
    self.write_migration_files(changes)
  File "django-invite/local/lib/python2.7/site-packages/django/core/management/commands/makemigrations.py", line 152, in write_migration_files
    migration_string = writer.as_string()
  File "django-invite/local/lib/python2.7/site-packages/django/db/migrations/writer.py", line 129, in as_string
    operation_string, operation_imports = OperationWriter(operation).serialize()
  File "django-invite/local/lib/python2.7/site-packages/django/db/migrations/writer.py", line 80, in serialize
    arg_string, arg_imports = MigrationWriter.serialize(item)
  File "django-invite/local/lib/python2.7/site-packages/django/db/migrations/writer.py", line 245, in serialize
    item_string, item_imports = cls.serialize(item)
  File "django-invite/local/lib/python2.7/site-packages/django/db/migrations/writer.py", line 310, in serialize
    return cls.serialize_deconstructed(path, args, kwargs)
  File "django-invite/local/lib/python2.7/site-packages/django/db/migrations/writer.py", line 221, in serialize_deconstructed
    arg_string, arg_imports = cls.serialize(arg)
  File "django-invite/local/lib/python2.7/site-packages/django/db/migrations/writer.py", line 342, in serialize
    % (value.__name__, module_name))
ValueError: Could not find function make_uuid in invite.models.
Please note that due to Python 2 limitations, you cannot serialize unbound method functions
(e.g. a method declared and used in the same class body). Please move the function into the
 main module body to use migrations.

I am guessing that is because self is not being passed to it. I would try adding that and see what happens.

But yeah there is no issue with moving it outside of the class. We also might be able to just attach it as a lambda to the default kwarg.

NameError: name 'self' is not defined when I try to pass self and run makemigrations.

Migrations have since been added.


Hi, will you release the fine-tuned code  and how long will it take?

as the title.

@Jiushanhuadao 🎉 Please check the finetuning code here https://github.com/InternLM/InternLM-XComposer?tab=readme-ov-file#finetuning


forceBaseDirectory stop working

I have been using it for over 3 months. Everything worked fine.
Today I got the error:
Error with your forceBaseDirectory setting
Can not find path: /vscode/project/~
Setting: "~/"
Workspace folder: project
My setting:
"liveSassCompile.settings.forceBaseDirectory": "~/"
In one work space I have several / scss / directories and in each of them different files for different clients.

forceBaseDirectory has never accepted a tilde (~). The purpose of this setting is to move the search location to a path higher up the hierarchy - for example to a folder at /Assets/styles/
The tilde was only ever used in formats[].savePath
Are you sure it ever worked like that? Doesn't seem right

It worked many months on macOS 12.0 :)

Hi. Documentation:
Using savePath
Starting with / or \ means the path is relative to the workspace root
Starting with ~/ or ~\ means that it's relative to the file being processed

I checked if it would work in other settings ((~/ or ~) ). And it worked. For a few weeks.

There have been no code changes to that section of code. If the setting ~/ did ever work then it would have had the same result as not including it at all. The use of ~/ was never intended to work nor is it documented.
For these reasons I am closing this issue


Add Sample app with StorIODb sample

Part of #13
@nikitin-da PTAL
Just simple example, later we should add delete tweets feature and StorIOContentProvider sample with Android's Contacts ContentProvider

so big example =)


Add parser for bif strings to probability tables and dag edges

This would aid in interoperability with the broader ecosystem as well as help in adding examples from http://www.bnlearn.com/bnrepository/#alarm
It does requires a DAG constructor from probability dataframes rather than observation dataframes
future usage example:
from brent import parsers
probability_df, edges = parsers.bif(test_bif)
DAG.from_prob_dataframe(probability_df).add_edges(edges)

Is it common to read in a string or is it more common to read a .bif file?
Also, it seems join_independent and join_dependent might be better if they're part of the common module.

I've thought about both but figured reading a string would be a bit more generic. This allows the user to decide where the content comes from without needing to write it to a file first.
Agree with your comment regarding the join_(in)dependent. I'll move them

Typically the .bif file is for cacheing/serialisation though right?  I imagine the file use-case, both reading and writing, might be more popular. I think it is perfectly fine to keep it as is, but it might be worth keeping an eye on.
Other than that, I don't see a reason not to merge. Feel free to click the green button when ready.


Update to jms/serializer v1

Thanks for your contribution, I will merge (the rebased version) first as I will be refactoring most of the codebase soon anyway: https://github.com/cleentfaar/slack/pull/51


File Hierarchy Cannot Handle Nested Directories

It seems that the file hierarchy option cannot handle nested directories.
For example, if I have:

Project/
   include/
      foo.h
      nestedInclude/
         bar.h

I get the error:
"Could not find directory parent of file [bar.h] with location [Project\include\nestedInclude\bar.h]."
bar.h still shows up in the file hierarchy, just without a parent directory.
Would it be possible to include functionality such that the include directory in the file hierarchy is able to have sub-directories as part of the list and not just files?

Hmm. Nested directories are (supposed to be) supported. So what this means is that Doxygen did not create a directory node for this. Or at least os.path.dirname(file) did not result in the same name as any of the directories reported by Doxygen.
Is this code public? It could be a Doxygen config problem, a file documentation comment problem, or a bug in exhale. Doxygen does weird things on Windows where sometimes they report Windows paths and sometimes they report Unix paths. I thought I fixed all of those though.
If the project is not public, can you include the xml for both the file and the directory? I need to see what path names it's using

@svenevs
Unfortunately not a public project.
The relevant file structure is as follows:

    Project/
       docs/
          conf.py
          api/
          doxygen/
             build
             .doxyfile
       test/
          utests/
       include/

If I put the documented .h files from doxygen into utests/; I get the error.
If I then go an delete the test/ directory from the doxygen xml folder (both in index and the generated dir xml file), it displays in the html with a folder name of utests
I tried putting in a nested include and had the same issue/"fix"
Here's the xml.zip folder from the doxygen generation.

dir_9350652c807819cafbc8c3aca0b83c13.xml
  <compounddef id="dir_9350652c807819cafbc8c3aca0b83c13" kind="dir">
    <compoundname>C:/...workspace/M..._Test/include/includeAswell</compoundname>
    <innerfile refid="_m_a_x..._8h">MAX....h</innerfile>
    <!-- ... -->
    <location file="C:/...workspace/M..._Test/include/includeAswell/"/>

directory location is include/includeAswell
<innerfile> listed is MAX....h (refid in that file tells you what xml to look in for file, refid.xml)

_m_a_x..._8h.xml
    <location file="C:/...workspace/M..._Test/include/MAX....h"/>
  </compounddef>
</doxygen>

file definition says it's in include/, not include/includeAswell

That seems to be the conflict.  So exhale gets confused about which directory to put it in.  Did you put a comment like /** \file MAX....h */ at the top of the file?  If so, try changing it to just /** \file */ without the filename in there?

"Could not find directory parent of file [bar.h] with location [Project\include\nestedInclude\bar.h]."

This seems to be the opposite of the reported message though, where this one the file said it was there in include/includeAswell?  Which file was bar.h?
If you share the doxygen configuration you are using / the relevant section of conf.py that sets up exhale I'm happy to take a look and see if anything stands out, but I'm hoping it's a /** \file */ mishap :slightly_smiling_face:

Oops - I introduced that error by not doing a clean build :P Sorry! I removed the "includeAswell" directory and shifted the associated .h to the parent so the problem would just exist with the utests directory so it could be isolated.
Rather look at this.

 dir_13e138d54eb8818da29c3992edef070a.xml

Is the one throwing the warning. It has an "Innerdir" of:

 dir_347f78c5bf8b9dbad860aafd5b962aba.xml

Which has the 2 "innerfile"s that I get the warnings from. In this particular instance it states (for the .h file):

"Could not find directory parent of file [test_MAX31855K.h] with location [MAX31855K_Test\test\utests\test_MAX31855K.h"]

The \file issue did actually exist - funnily enough. But I adjusted to just have \file without the filename appended and nothing changed.

Hmmmmm ok this seems good, doxygen is now producing valid stuff.  I think the path stripping is the problem.
How are you calling doxygen, specifically what do you set STRIP_FROM_PATH as and what do you put for doxygenStripFromPath in exhale_args?
The path stripping logic is probably the cause here, I'm digging around right now....

Are you able to edit exhale (just find exhale/graph.py) and add this:
--- a/exhale/graph.py
+++ b/exhale/graph.py
@@ -1882,6 +1882,19 @@ class ExhaleRoot(object):

         all_directories.sort()

+        err = StringIO()
+        err.write("\nDirectories\n")
+        err.write(("-" * 44) + "\n")
+        for d in all_directories:
+            err.write("- {0}\n".format(d.name))
+
+        err.write("\n\nFiles\n")
+        err.write(("-" * 44) + "\n")
+        for f in self.files:
+            err.write("- {0}\n".format(f.location))
+
+        raise RuntimeError(err.getvalue())
+
         for f in self.files:
             if not f.location:
                 sys.stderr.write(utils.critical(

Just shoving an error message in to see what's going on, I think the cause of what we're seeing here is something related to how the doxygenStripFromPath gets taken out.  When you make html it'll fail with the error message, paste that back here.  This one is kind of hard for me to test blindly :/

Based on your comments and where they were leading - I managed to resolve the issue by changing the STRIP_FROM_PATH setting in doxygen to match what was being done by exhale (ie. everything up to and including project directory name). This has resolved the issue.


use raven from npm and add fastboot support

I know this is a pretty big PR. I am ready to iterate if you have some concerns.

I removed bower as with next version of ember-cli it's usage will be deprecated anyway.
Fastboot support make usage of raven-node.
The Object.defineProperty "hack" is there because of async loading from cdn. Not sure what to do about it. I am actually curious, why this option is even there? Initializer depends on the raven presence, so it's not like that app can load without raven and initialise it later.

These seems like the correct approach rather then #63

@tchak i tried out this PR today and it seems to be working fine from the browser, but i'm not seeing any logs from fastboot despite seeing errors in my server log

@tchak had missed this before but saw in logs
<EMAIL_ADDRESS>alert: failed to send exception to sentry: HTTP Error (401): Invalid api key so it looks like the DSN must not be making it to raven-node did look into it yet. Its working fine in the browser so i know my config and dsn are good

I figured it out. In sentry there is secret DSN and a public DSN. Javascript integration uses public DSN where node uses secret DSN. We will have to take this in to account in the config while being careful to not expose secret DSN to the web page.

I swear I was going create a pull request to do that. Thanks @tchak 👍

can you fix conflicts?

Bump. Would be great to have a new 📦  instead of using a fork.

I talked with @LewisJEllis about adding support for public API key to raven-node. It will make this addon much simpler as we will not have to provide both public and private keys in the configuration (and so do all the additional work to make sure private key is not leaked to the browser).
raven-node issue https://github.com/getsentry/raven-node/issues/303

This relates to #77

+1 would love to see this merged.

Is it possible to release just the npm part without fastboot support (if it takes time)?

@leizhao4 it sims that discussion with sentry team getting more complicated then what I expected. I will try to work on an alternative solution. Release just the npm part in the mean time sounds good to me.

LGTM

To all interested in this PR, there is an interesting discussion initiated by @tchak in this issue: getsentry/raven-node#303

I opened #81 with just npm part. We also have #79. Both use different strategies. Mine is to remove cdn option and make npm default and no optout. I am also not a huge fan of adding dependencies to package.json file from addons as it makes upgrades harder. I suggested drop bower and cdn and release 3.0.0.

this is obsolete now that #81 was merged. @tchak can you open a separate PR for the fastboot support?


support self-host gitea login casdoor

add self hosted gitea providers, defualt goto gitea.com

@ysicing please use custom OAuth or custom SAML provider to link to self-deployed GitLab


Rename shell scripts to have .sh extension

Nothing fancy.
Attempted to run the tests, but it complained it "could not identify the CI environment". Not clear from the top level files what to do from here.
While always tempting, test.sh is perhaps not the most ideal name for a test runner. Most people don't notice because we lived with make test for so long, but test is a Shell built-in (see man page for test(1) if you're curious; you probably know it as [) and its presence interferes with tab completion into your tests/ directory.

I merged 'master'. There was a merge conflict. I think I merged it ok, but if this passes I'll get you to double check.

Yeah it didn't pass - I took a look, but because I was in the middile of src/ path renames it became a bit too much.
I made the same changes on PR https://github.com/CommBank/ci2/pull/13 so closing this one.


Transaction failed

failed to dispatch: method=eth_getBalance err="failed to get header from block hash or block number"

Hi @iqbalsingh108 ,
Can you please add more information to this issue by following this template. It would help us troubleshoot your issue much faster. Thank you!

Hi @laviniat1996
Actually this issue arises when in case i deleted the genesis block,after that if i create new genesis then this issue is coming.
OS & Version--Ubuntu 22.04.1 LTS
branch ----develop
version-0.50
Issue is when i'm trying to run my node polygon-edge server --data-dir ./node1 --chain genesis.json --grpc-address :10000 --libp2p :10001 --jsonrpc :10002 with this command its give me the error but my network is running fine.Only problem is transactions failed error is occuring.
Hope this is enough info. for you to look into the issue.I only have this much info.
Thanks

@laviniat1996 I think there is some bug in this release because this run only one time after creating the genesis block,if i delete that genesis and start again with new genesis it gives me polygon.dispatcher: failed to dispatch: method=eth_getBalance err="failed to get header from block hash or block number" this error and my transactions failed.

@iqbalsingh108 So, the issue happens if you delete the genesis.config file and then create a new one? Were you able to send transactions before deleting it?

@iqbalsingh108 Also, would be very helpful if you could provide the logs from the node.

@laviniat1996 Sorry but now i tried with new infra and its working,sorry but i can't provide you logs or transaction details.
I only have this much info. right now with me.
thanks

Hi @iqbalsingh108 ,
Did you use polygon-edge secrets init --data-dir test-chain-1 to generate the keys for your node? If so, if you didn't change anything in your setup, you should use polygon-edge server --data-dir ./test-chain-1 --chain genesis.json --grpc :10000 --libp2p :10001 --jsonrpc :10002 --seal to start the node. You have --data-dir ./node1, it should be  --data-dir ./test-chain-1 if you didn't change the name of the directory that contains the keys.

@iqbalsingh108 Also, you should never delete the genesis file and create a new one without removing all the data directories too. This will most likely lead to issues in your network. And this is probably the case here too, as you said that with a new setup everything works fine.
I will close this issue now, but if you run into problems again, you can open a new issue.


[5.7] Show maintenance message on error page

When the maintenance mode is enabled with a custom message, the error page still shows the default message:
php artisan down --message="Upgrading Database"

Sorry, we are doing some maintenance. Please check back soon.

With this PR, the view uses the specified message if available.
Fixes #25426.

Why did you put this string inside the translation helper and not outside it?

I think it's more useful like that: If possible, the custom message gets translated automatically.


[BUG] Not Recognizing DiscordSRV installation.

DiscordSRV is installed and is working fine for my normal chat link, however, my staff-chat link is non functional, and is sending messages in to my normal chat.
I believe the issue is that the plugin is loading before DiscordSRV, but I cannot seem to solve it nor pinpoint it to being that.
[removed pastebin links]
Version:
Paper 1.16.5 build #465
Debug Logs:

[2021-02-07 => 23:34:18]: ----- Starting Plugin: v1.3.3 -----
[2021-02-07 => 23:34:18]: DiscordSRV is enabled.
[2021-02-07 => 23:34:18]: Subscribing to DiscordSRV's API...
[2021-02-07 => 23:36:02]: Disabling plugin...
[2021-02-07 => 23:36:02]: Unsubscribing from DiscordSRV's API.
[2021-02-07 => 23:36:02]: ----- Disabled. -----
[2021-02-07 => 23:37:17]: ----- Starting Plugin: v1.3.3 -----
[2021-02-07 => 23:37:17]: DiscordSRV is not enabled. Will continue without discord support.
[2021-02-07 => 23:38:21]: [In-Game-Message] From:"xHue" Message:"l"
[2021-02-07 => 23:38:21]: Unable to send message to discord: staff-chat => null
[2021-02-07 => 23:39:47]: [In-Game-Message] From:"xHue" Message:"l"
[2021-02-07 => 23:39:47]: Unable to send message to discord: staff-chat => null
[2021-02-07 => 23:39:48]: [In-Game-Message] From:"xHue" Message:"l"
[2021-02-07 => 23:39:48]: Unable to send message to discord: staff-chat => null

Thanks for the report, however, you've just revealed your bot's token to the public internet. You must regenerate your bot's token immediately. Otherwise, a bad actor could take over your bot and potentially wreak havoc on your discord server.
In the future, please remove any sensitive information (like bot tokens) before submitting to public pastebins.

as stated on discord... I regenerated before posting and figured there was no need to remove an invalid auth token from the pastebin. thanks for looking out, but have some faith lmao.
running the latest discordsrv (1.21.3) & staffchat version 1.3.3
any idea on the problem..?

It's great to hear that your token was invalid, but short of attempting to hijack the bot myself, there was no way to discern the status of the token's validity. I wish I could "have some faith," but the risk of leaving a likely vulnerable token visible to the public internet outweighs any benefit of the doubt I could reasonably give. Bots are constantly trawling github and pastebins for accidental token leaks, and malicious actors would eagerly jump at the chance to take over your discord bot.
Now as far as the problem goes, I'm unable to replicate the described behavior using DiscordSRV 1.21.3 with DiscordSRV-Staff-Chat 1.3.3 on Paper 1.16.5 build 465.
What caused DiscordSRV-Staff-Chat to unload/start back up here? Was it a restart?

[2021-02-07 => 23:36:02]: Disabling plugin...
[2021-02-07 => 23:36:02]: Unsubscribing from DiscordSRV's API.
[2021-02-07 => 23:37:17]: ----- Starting Plugin: v1.3.3 -----
[2021-02-07 => 23:37:17]: DiscordSRV is not enabled. Will continue without discord support.

You say staff chat messages are being sent to your normal chat. Does that mean they're being sent to "normal chat" in-game or on discord? What other chat plugins do you have installed? Does the problem occur when you use the /staffchat <message> command or only with automatic staff chat enabled?

No worries.
It was a restart that caused it to unload, yes. I used the /stop command and waited for everything to completely finish.
What I mean by "normal chat" is that when I send a message into my #staff-chat channel on discord, the message is broadcasted globally to my server. Any player who is online in-game, can see the message. It is not getting sent to the in-game staff-chat channel. It is doing the same thing as my #minecraft-chat channel link, which connects the in-game chat with a discord channel allowing for discord users to communicate with players in-game and vice versa.
When I send a message to the staff-chat in-game using the /staffchat command - the message is sent to the in-game staffchat, but not the discord link.
This resource has worked in the past and seems to have started bugging after DiscordSRV updated to the 1.21 version.
Thanks for the quick support.
Chat Plugins:
EssentialsChat
ChatControlPro
AdvancedBan (Muting, etc)
mcMMO - but I've disabled all chat handling functionality it has


Google Assistant SDK / GRPC - click module not installed.

Hi, I've been updating my AIY using the now famous instructions at http://eduncan911.com/stem/embedded/aiy-google-assistant-upgrades-may-2017.html
Everything is going swimmingly well - loving using OK Google as the activation method.
However in /home/pi/assistant-sdk-python/google-assistant-sdk/googlesamples/assistant/grpc there is a file "pushtotalk.py" if I do python pushtotalk.py I get a failure
 Traceback (most recent call last):
  File "pushtotalk.py", line 21, in <module>
  import click
  ImportError: No module named 'click'

There is a requirements.txt file in that folder and sure enough click==6.7 is a requirement
Shouldn't this module (and any others needed by the assistant SDK) be in the /home/pi/voice-recognizer-raspi/scripts install-deps.sh (that me and hopefully everyone else is running when there are updates).
I started installing the modules in the start dev terminal window and then typing
python3 /home/pi/assistant-sdk-python/google-assistant-sdk/googlesamples/assistant/grpc/pushtotalk.py
but I decided to chicken out when after installing a few modules I got ERROR:root:Error loading credentials: [Errno 2] No such file or directory: '/home/pi/.config/google-oauthlib-tool/credentials.json'
ERROR:root:Run google-oauthlib-tool to initialize new OAuth 2.0 credentials.

Shouldn't this module (and any others needed by the assistant SDK) be in the /home/pi/voice-recognizer-raspi/scripts install-deps.sh

No - we only install the modules needed for the voice recognizer. This is intentional - otherwise, there's a risk of conflicting dependencies with the Assistant SDK.
If you want to run the samples from the Assistant SDK, you'll have to install their dependencies separately - I'd suggest following the Assistant SDK instructions.


Bug in cellpose_segmentation (or visualization)? Unexpected number of Z planes for labels

As part of https://github.com/fractal-analytics-platform/fractal-tasks-core/issues/194, I am setting up a fresh tasks-only example (see examples/06_secondary_labeling in the 194-store-masked-array-to-zarr branch).
After performing MIP, and acting on the 2D data with the cellpose_segmentation task, the output labels have the wrong dimension (they should be 2D, but they still somehow include a non-trivial channel dimension). See shape attribute in the .zarray file:
$ cat tmp/RS220304172545_mip.zarr/A/06/0/0/.zarray
{
    "chunks": [
        1,
        1,
        2160,
        2560
    ],
    "compressor": {
        "blocksize": 0,
        "clevel": 5,
        "cname": "lz4",
        "id": "blosc",
        "shuffle": 1
    },
    "dimension_separator": "/",
    "dtype": "<u2",
    "fill_value": 0,
    "filters": null,
    "order": "C",
    "shape": [
        4,
        1,
        10800,
        7680
    ],
    "zarr_format": 2

Ah, I have seen that our MIPs in napari sometimes had 4 Z steps instead of 1, but could never figure out what it was there. That would explain things! And if it's that, this has been around for a while :)
Cellpose used to return multiple arrays (the masks, the flows, some diameters and, before we changed the model class, also some styles). Any chance we're assigning all cellpose outputs here to the output, not just the masks?

Update: the problem seems to be with the MIP and not with the cellpose_segmentation task.
(this is clear by just looking at the .zarray file above.. no cellpose segmentation was performed yet, but the shape is wrong)

Logging what I observe.
Even after playing a bit with cellpose_segmentation (I cannot say yet whether I found some bug), I observe something unexpected.
Now the label .zarray file looks fine (that is, a single Z plane in the shape):
$ cat tmp/RS220304172545_mip.zarr/A/06/0/labels/organoids/0/.zarray
{
    "chunks": [
        1,
        1,
        1350,
        960
    ],
    "compressor": {
        "blocksize": 0,
        "clevel": 5,
        "cname": "lz4",
        "id": "blosc",
        "shuffle": 1
    },
    "dimension_separator": "/",
    "dtype": "<u4",
    "fill_value": 0,
    "filters": null,
    "order": "C",
    "shape": [
        1,
        1,
        1350,
        960
    ],
    "zarr_format": 2

The same is true for the image data (that is, a single Z plane in the shape):
$ cat tmp/RS220304172545_mip.zarr/A/06/0/0/.zarray
{
    "chunks": [
        1,
        1,
        2160,
        2560
    ],
    "compressor": {
        "blocksize": 0,
        "clevel": 5,
        "cname": "lz4",
        "id": "blosc",
        "shuffle": 1
    },
    "dimension_separator": "/",
    "dtype": "<u2",
    "fill_value": 0,
    "filters": null,
    "order": "C",
    "shape": [
        4,
        1,
        10800,
        7680
    ],
    "zarr_format": 2

Now back to napari.
If I open the label images alone, with
poetry run napari --plugin napari-ome-zarr tmp/RS220304172545_mip.zarr/A/06/0/labels/organoids/

I only see one Z plane, as expected.
However if I open the whole image, with
$ poetry run napari --plugin napari-ome-zarr tmp/RS220304172545_mip.zarr/A/06/0/

I do observe that the labels span 4 Z planes.
What are these 4 Z planes?
One guess is that 4 is the number of channels, but why would we see the labels replicated four times?
Also: do we have something wrong in our output, or is it a bug in the napari visualization when combining a multi-channel 2D image with a single-channel 2D label?

Ah, I have seen that our MIPs in napari sometimes had 4 Z steps instead of 1, but could never figure out what it was there.

Still to be understood whether this has to do with MIP.
If I just produce this MIP and open it in napari (at the plate, well or image level) I only see one Z plane. It's when I add cellpose labels that I see four Z planes (but for the labels only! the image data only populate the first Z plane).

I also wasn't sure whether this is a napari bug or our bug, so I never reported it here.
As far as napari is concerned, it has 4 separate channels and then the label image, so I doubt this should be the issue, but who knows.
If we can validate that our OME-Zarr really only has 1 plane, then I'd guess visualization bug.
But before, you reported an OME-Zarr with a label image that had a shape of:
    "shape": [
        4,
        1,
        10800,
        7680
    ],

That looks like we're pretending our label image has 4 channels (or whatever the top dimension here would be)

For the record:

napari --plugin napari-ome-zarr tmp/RS220304172545_mip.zarr correctly shows the plate, with a single Z plane and no labels.
napari --plugin napari-ome-zarr tmp/RS220304172545_mip.zarr/A/06 correctly shows the well, with a single Z plane and no labels.
napari --plugin napari-ome-zarr tmp/RS220304172545_mip.zarr/A/06/0 has a "buggy" behavior.

The "buggy" behavior is really weird.

Upon opening the image, napari says that there are 5 Z planes (from 0 to 4), and that the visualization starts from the first one (i.e. the 0/4 one). In this Z plane there are both image data and labels.
Moving the slider to the second Z plane (i.e. the 1/4 one), there are no image data but there are labels.
Moving the slider to the third Z plane (i.e. the 2/4 one), there are both image data and labels - which is very confusing.
Going to the one-but-last and last planes there is no image data, but only labels.
Going back to the first Z plane, now there are no data any more! Something is clearly wrong, since image data "moved" from plane 0/4 to plane 2/4 during visualization..

This does not appear to be a Fractal issue, but rather something on the napari-ome-zarr side


[SPARK-38706][CORE] Use URI in FallbackStorage.copy

What changes were proposed in this pull request?
This PR aims to use URI in FallbackStorage.copy method.
Why are the changes needed?
Like the case of SPARK-38652, the current fallback feature is broken with S3A due to Hadoop 3.3.2's org.apache.hadoop.fs.PathIOException.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Manually start one master and executor and decommission the executor.
spark.decommission.enabled                          true
spark.storage.decommission.enabled                  true
spark.storage.decommission.shuffleBlocks.enabled    true
spark.storage.decommission.fallbackStorage.path     s3a://spark/storage/

$ curl -v -X POST -d "host=hostname" http://hostname:8080/workers/kill/

I also verified that this is the last instance because RocksDBFileManager is already using URI too.
$ git grep -C1 copyFromLocalFile | grep -v test
core/src/main/scala/org/apache/spark/storage/FallbackStorage.scala-          val hash = JavaUtils.nonNegativeHash(indexFile.getName)
core/src/main/scala/org/apache/spark/storage/FallbackStorage.scala:          fallbackFileSystem.copyFromLocalFile(
core/src/main/scala/org/apache/spark/storage/FallbackStorage.scala-            new Path(indexFile.getAbsolutePath),
--
core/src/main/scala/org/apache/spark/storage/FallbackStorage.scala-            val hash = JavaUtils.nonNegativeHash(dataFile.getName)
core/src/main/scala/org/apache/spark/storage/FallbackStorage.scala:            fallbackFileSystem.copyFromLocalFile(
core/src/main/scala/org/apache/spark/storage/FallbackStorage.scala-              new Path(dataFile.getAbsolutePath),
--
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/KubernetesUtils.scala-    try {
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/KubernetesUtils.scala:      fs.copyFromLocalFile(delSrc, overwrite, src, dest)
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/KubernetesUtils.scala-    } catch {
--
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/RocksDBFileManager.scala-          val dfsFile = dfsFilePath(dfsFileName)
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/RocksDBFileManager.scala:          // Note: The implementation of copyFromLocalFile() closes the output stream when there is
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/RocksDBFileManager.scala-          // any exception while copying. So this may generate partial files on DFS. But that is
--
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/RocksDBFileManager.scala-          // not going to be used at all. Eventually these files should get cleared.
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/RocksDBFileManager.scala:          fs.copyFromLocalFile(
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/RocksDBFileManager.scala-            new Path(localFile.getAbsoluteFile.toURI), dfsFile)
--

All tests passed. Merged to master/3.3.


AbstractByteBuf.setCharSequence(...) must not expand buffer

Motivation:
AbstractByteBuf.setCharSequence(...) must not expand the buffer if not enough writable space is present in the buffer to be consistent with all the other set operations.
Modifications:

Ensure we only exand the buffer on writeCharSequence(...) but not on setCharSequence(...)
Add unit tests.

Result:
Consistent and correct behavior.

@fenik17 FYI

@Scottmitch @johnou rebased... PTAL again

@normanmaurer should we make the same change in the AbstractUnpooledSlicedByteBuf?

@fenik17 good catch.. I was even able to just remove the code-duplication FTW ;) PTAL again

@normanmaurer maybe merge this PR into #6953?

@fenik17 I would like to keep these separate as these fix different issues.

Ok, agree.

@normanmaurer have you decided on the next 4.1 release date?

Within the next two weeks

Am 19.07.2017 um 11:48 schrieb Johno Crawford<EMAIL_ADDRESS>@normanmaurer have you decided on the next 4.1 release date?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Cherry-picked into 4.1 (4af47f0ced39d86a1ef6a644e7c1506d81c0ea1b)


$import operation response

Currently, the Inferno test kit will return an HTML page in response to the $import operation.  It still isn't super clear to me that this is not valid, since the $import operation doesn't define any outputs.  And the FHIR core spec doesn't really have any clear language on what the response should be in those cases.
But there is at least some folks that think it isn't expected:
https://chat.fhir.org/#narrow/stream/179166-implementers/topic/Allowed.20responses.20for.20FHIR.20Operations
My suggestion is that Inferno just return a raw HTTP status code without any content, instead of returning an HTML page.

Also, the UDS spec says the response to the $import operation should include a Content-Location header for the endpoint the submitter should use to poll for the import job status.

The POST tests in the UDS+ Inferno Test Kit (e.g., Receive UDS+ Import Manifest via POST request, which is one of our first requests when a UDS+ Volunteer Tester is practicing connectivity) are only acting as a rudimentary data receiver compared to the UDS+ Sandbox (which actually tests against an endpoint (valid conformant server/s).  These tests are not a valid test of the FHIR submission process, but an initial practice run to see if your synthetic test data is healthy and likely ready for submitting to the UDS+ sandbox. If you are looking for a JSON response instead of HTML, then we advise obtaining access to the UDS+ sandbox.
FYI @arscan


Multiline formatting

We are having a problem when tools (visual studio, nuget, etc) auto format our web.config file.
Sometimes long appSettings or connectionStrings get split up into multi lines.
When this happens the task will not replace the value anymore. (If the enter is between the key/name en the value attribute.
I believe if you use this regex it should work:
(?:"test")((?!>)[\s\S])*?(?:value="|connectionString=")(.*?)"

Could you provide me with examples? So I can run tests

Could you provide me with examples? So I can run tests

Basicly if you have section below in your web/app.config.
The plugin wil replace Value1 and Value3. But not Value2.
Because "Key2" and Value= aren't on the same line.
<appSettings>
<add key="Key1" value="Value1" />
<add key="Key2"
 value="Value2" />
<add key="Key3" value="Value3" />
</appSettings>

Oh I see, yeah I noticed that too. The problem is that the engine doesn't like lookaheads so I had a hard time. Your suggested regex doesn't work, any other idea?

Ok thanks for looking at it.
And reverting the production version regex.
Little panic here when nothing got replaced anymore in production :o

Get latest extension, I just published an update

Get latest extension, I just published an update

I already downloaded version 1.4.2
I'm just a bit concerned about the new regex without the lookahead (due to unsupported reasons).
I will give a example.
If you create a web.config file. With in the service endpoints section a entry with attribute name="default".
Under the service endpoints there is a appSettings section with various entries.
Now if you have a variable with name default. I think the first value in the appSettings will be replaced. Tho the appSettings key="NotDefault".


how do i alpha 0.9 down to 0 but in order?

Describe your problem here.
im trying to port it all but also the events of Afton BG Darker but i wanted it to be like 1 by 1 fade like 0.9, 0.85, 0.8 down to 0
https://user-images.githubusercontent.com/96397208/156951935-7ba48b76-7458-47d7-8d14-c8c06539ff6d.mp4
but it only do the 0 alpha

Are you modding a build from source or with Lua?
Lua
What is your build target?
Neko, HashLink, or other build system
Did you edit anything in this build? If so, mention or summarize your changes.
No response

You can do something like:
Set up a local counter local counter = 1, then use
setProperty('tag.alpha', tonumber[counter])
-- the rest of the sprites
counter = counter + 1

thank you😃♥


LINKTA-79: Setup Firebase admin rules

Description
Created firebase web config in client folder and firebase admin config in server folder
Type of change

[ ]  🐛 Bug fix (non-breaking change which fixes an issue)
[ x ] ✨  New feature (non-breaking change which adds functionality)
[ ] 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] 📝 Documentation update
[ ] Other 🗒 ______________

How Has This Been Tested?
Not yet been tested
Checklist:

[ x ] I have performed a self-review of my own code.
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ x ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.
[ ] Any dependent changes have been merged and published in downstream modules.
[ ] I have reviewed the Security Best Practices Document.
[ ] I have followed the Naming Conventions Guide for my changes.
[ ] I have ensured that my pull request title is descriptive.

Additional Information:
For firebase admin config, a serviceAccount.json file is required. Only authorized users for Linkta's Google/Firebase project will have the access to generate your very own serviceAccount key. Once the key is generated, make sure to place the file in [./server/config]

@zhiyi15, I am merging #62 to dev, please do the following after merging with dev and before merging your current PR. Thank you!

Move ProtectedRoute.tsx from /routes to /auth-pages folder
Replace placeholders in authRoutes.tsx with actual components

@zhiyi15, I am merging #62 to dev, please do the following after merging with dev and before merging your current PR. Thank you!

Move ProtectedRoute.tsx from /routes to /auth-pages folder
Replace placeholders in authRoutes.tsx with actual components

Copy! Thank you Kinski!


How could i force restartableFirst.onError with mockito?

Hello, i have this question because i want to test the error case in my unit test. So in your test project example you test the success case. How could you force the error case using the api?

How about injecting api which raises an exception instead of returning a value?


Adding DrugBank DDI and Two Sides.

Summary

Adding DrugBank DDI and TwoSides.

[X] Code passes all tests

[X] Unit tests provided for these changes

[X] Documentation and docstrings added for these changes

Changes

Adds the DrugBank DDI and TwoSides Datasets.
Adds the loaders.
Adds tests.
Adds documentation of data cleaning.
Adds the data cleaning scripts.

I’d highly request provenance information on how these new datasets were constructed. Were they automatically downloaded from Some external repo? Was processing done to them?

Yes, @cthoyt I will do that in a moment.

There will be a whole Appendix section about this in the paper.

While you’re thinking about it maybe also consider doing the same for the previous two datasets as well :)

@cthoyt How about a dataset preprocessing section in the documentation?

Tbh the only important documentation of data preprocessing to me is code that can exactly reproduce it. Let’s start there and backfill prose-based documentation if there are any places where it can’t be better documented in code itself

Added the cleaning scripts.

It appears you merged the branch with failing tests. This shouldn’t be possible - the solution is to add some branch protection rules in the settings for the repository

Does it require changes to Github actions?

Nope that looks right!


Elastic grafana dashboard on DC/OS 1.13

Grafana dashboard

Hi @RezviyBelorus,
The dashboards aren't supposed to be added to this repository. Closing this for now.


Documentation mismatch

Great work here! However, it seems maybe the UI and things have changed so I'm not able to follow some of the steps mentioned. Can you please help?
So:
On the Service Details page, click Launch tool.

Click the Import workspace icon in the Conversation service tool. Specify the location of the workspace JSON file in your local copy of the app project:

<project_root>/training/car_workspace.json

Select Everything (Intents, Entities, and Dialog) and then click Import. The car dashboard workspace is created.

I don't see this Import workspace, I'm guessing it's just the Download json option., but what is meant by "click Import". I'm trying to embed this app with my own conversation bot in another html page.
Or can I replace the training/car-wordspace.json with my json file from my app, which is already running?

The import workspace is the line with an up arrow in it. That is so you can import some json workspace into your conversation tooling.
To embed your app in another page youll want to have your conversation workspace connected to this app via the .env credentials, and then likely embed the simple UI as an iframe or something like that.


Add blog infra

Hey @ryyppy thanks for this awesome effort! :smile: I saw that you've put together a custom date solution and came to think of a solution I've been using in some projects. It leverages the browser's built-in Intl.DateTimeFormat. It's supported by all major browsers and IE11 and might also be great for any future translations of the docs.
Code: Playground
MDN Documentation

@believer oh wow that's pretty rad! do you polyfill it for older browsers as well?

@ryyppy we only support IE11 and forward, so we don't use a polyfill!


updated toc, mal and index

Docs Build status updates of commit f18c784:
:warning: Validation status: warnings

File
Status
Preview URL
Details

advocates/index.html.yml
:warning:Warning
View
Details

advocates/map.yml
:white_check_mark:Succeeded
View

advocates/toc.yml
:white_check_mark:Succeeded
View

advocates/index.html.yml

Line 0: [Warning] Invalid file link:(~/tweets).
Line 0: [Warning] Invalid file link:(~/map).

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.


Added functionality related to DP training

Fixes #944
Proposed Changes

Add DP-enabled training and inference from private repo
Most of the code is copy-paste from the private repo, with some added documentation and changes from raised errors to assertions.

Checklist

[x] CONTRIBUTING guide has been followed.
[x] PR is based on the current GaNDLF master .
[x] Non-breaking change (does not break existing functionality): provide as many details as possible for any breaking change.
[x] Function/class source code documentation added/updated (ensure typing is used to provide type hints, including and not limited to using Optional if a variable has a pre-defined value).
[x] Code has been blacked for style consistency and linting.
[x] If applicable, version information has been updated in GANDLF/version.py.
[x] If adding a git submodule, add to list of exceptions for black styling in pyproject.toml file.
[x] Usage documentation has been updated, if appropriate.
[x] Tests added or modified to cover the changes; if coverage is reduced, please give explanation.
[x] If customized dependency installation is required (i.e., a separate pip install step is needed for PR to be functional), please ensure it is reflected in all the files that control the CI, namely: python-test.yml, and all docker files [1,2,3].
[x] The logging library is being used and no print statements are left.

This seems to be okay for me. Any comments, @VukW and @brandon-edwards?

This looks reasonable to me as well, but I have not tested it.

This should not be merged until #947 is merged and the master get tagged.

Support ticket generated with Codacy to explore the coverage issue.


Issue with finer to coarser granularity conversion of time unit in config file

When converting time from finer to coarser granularities truncate as the code uses TimeUnit#convert().
For example, if the config specifies http.keepalive.timeout as 60000ms, it is reflected as 0 instead of 60s.

@sbadugu Here is the PR with the changes added so far, in order to fix the time conversion issue. It should not be merged yet, I am still testing it.

The PR in the previous comment can be merged.


Code review

Hi
I made a hapi plugin for this lib. https://github.com/Salesflare/hapi-plugin-mysql
Now I'm getting some weird errors where sometimes it takes a long time for a request to complete (+/- 50000ms)
After a lot of searching we narrowed it down to probably the pooling. We suspect that getting a connection from the pool is taking a long time.
Now I don't have a lot of experience with this lib so I was wondering if anyone can help me with reviewing my code.
The server.ext('onPreAuth',... is called before each route and server.ext('onPostHandler',... is called after the I'm done with handling the route.
Any help or suggestions are appreciated!

I'll try my best to give some tips :)

So https://github.com/Salesflare/hapi-plugin-mysql/blob/master/lib/index.js#L45 is not necessary; getConnection already ensures that what you get is alive.
You need to call connection.release() in https://github.com/Salesflare/hapi-plugin-mysql/blob/master/lib/index.js#L70

Otherwise, it seems lie I have to have too much knowledge of how those Hapi events work and under what scenarios which ones fire and when they don't to really say more.
Perhaps if you can put together a really simple Hapi app that uses your module that demonstrates the error, I can look into it.

Thank you!
And the events are called on every request to the server. Here is the life cycle http://hapijs.com/api#request-lifecycle
The problem is we don't know what the error is. It is just after a few hours in production some calls (super random) take a super long time to complete. Right now I added logging to practically every every step so I'll let you know if I find something with that.

Also _endConnection releases the connection so it is not needed on https://github.com/Salesflare/hapi-plugin-mysql/blob/master/lib/index.js#L70

Ok so I found out it was a table lock.
{ [Error: ER_LOCK_WAIT_TIMEOUT: Lock wait timeout exceeded; try restarting transaction]
    app-0 (out):   code: 'ER_LOCK_WAIT_TIMEOUT',
    errno: 1205,
    sqlState: 'HY000',
    index: 0 }

Any suggestions on how to prevent/handle this?

This is really outside the scope of this module, since it's a database thing. To answer that, I would need to know all the queries you're doing, the length of time you are holding transactions open for and the standard lock order within your transactions.

3 queries: a select with some joins in it, a basic insert and a delete with some joins in
length depends on the duration of the request. And lock order doesn't ring a bell with me. :/

The lock always happens on the insert btw

Yes, but locking order depends on what keys are on the tables, what columns are in what order in the query and insert, etc. There is really way to much information needed to help you resolve a lock wait timeout here, unfortunately. You may want to post your whole MySQL schema along with exactly query texts to something like Stackoverflow.com to see if someone can help you determine what's happening. Typically it's because you are using incompatible locking order in your queries.


.media-left / .media-right don't move/float the element to that side of the media object

The example code at http://v4-alpha.getbootstrap.com/layout/media-object/ shows:

Media heading

    Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.

The image stays left when changing the class from .media-left to media-right. The media-right example after actually change the DOM order to place the image onto right side.
Can we just remove the media-left and media-right class and replace them with one media-header class? Then the image will show out anywhere according to the DOM order.
Andrew

Can we just remove the media-left and media-right class and replace them with one media-header class?

Doubtful. They have different padding: https://github.com/twbs/bootstrap/blob/9c8eb788ac7f79bcbc3b92d39e1408dd4c30ea83/scss/_media.scss#L63-L69

Then is it possible to let the image shows on the left when media-left is used, and to the right when media-right is used. This will match the meaning of left and right. Even better, if media-center is used, show the image between two media-content blocks.

Closing as there are no planned changes here.


fix: shift the buttons to the bottom in LNURLpay screen view

Describe the changes you have made in this PR
Shifted the confirm and cancel buttons in the LNURL screen view to the bottom
Link this PR to an issue
Fixes #2663
Type of change

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

Screenshots of the changes
Before the changes

After the changes

How has this been tested?
Tested the screens manually by trying to pay on some sites in LNURL mode.
Checklist

[x] Self-review of changed code
[x] Manual testing
[x] Responsive layout

@stackingsaunter @rolznz Can u review this PR.
Thanks

@reneaaron Made the changes, can u review it now.
Thanks!

tACK

@reneaaron Can u review these changes too.
Thanks!


[IMPORTANT] [BUG] indexHTML option is broken in latest version

[!IMPORTANT]
This bug only appears when NODE_ENV=production

Folder structure
| - public
  | - index.html
  | - test
    | - index.html
| - test.ts

Files
index.html -> fill in with any generic HTML content.
// test.ts
import { Elysia } from 'elysia';
import { staticPlugin } from '@elysiajs/static';

const port = 8080;
const hostname = '<IP_ADDRESS>';

const app = new Elysia()
  .use(staticPlugin({ prefix: '/', indexHTML: true }))
  .listen({ port, hostname });

console.log(`Server started at ${app.server?.url}`);

[!NOTE]
indexHTML is true by default, but I set it to true explicitly anyways

Versions

Bun -> 1.1.31
elysia -> 1.1.20
@elysiajs/static -> 1.1.1

Tests

GET http://localhost:8080/ -> (redirect) http://localhost:8080 -> NOT_FOUND
GET http://localhost:8080 -> NOT_FOUND
GET http://localhost:8080/test -> NOT_FOUND
GET http://localhost:8080/test/ -> NOT_FOUND
GET http://localhost:8080/index.html -> Works
GET http://localhost:8080/test/index.html -> Works

Conclusion
indexHTML option in all broken in all shape and form is the latest version. After some testing, the last working version is 1.0.3.

I've ran into this issue just now, and setting alwaysStatic: false, seems to fix it for me. I didn't dig any deeper yet.

@RafalGoslawski, it is frustrating how long we have to wait for a simple bug to be fixed even after we have reported in and opened a pr in elysia. This is sad.
More that one and a half months have passed since I open this pr.

And this is not a normal bug at all. This breaks my homepage.

@touhidurrr I get the frustration. There's always a risk when it comes to using software that's a personal project (i.e. maintained by 1 person). That being said, we're paying nothing to use this software so the author has no obligation to us.
It's MIT licensed, so you can make your own fork with the patches you need and use that. Or even simpler, use bun patch in your project and just subscribe to this issue to see if it eventually gets patched upstream and you no longer need a workaround.