RHODS specific changes to main

@zdtsw Addressed all comments. Can you test this before merging ?

@zdtsw Addressed all comments. Can you test this before merging ?

sure, i will do a local build and test it first

local build from VaishnaviHire:rhods_changes : quay.io/wenzhou/opendatahub-operator-catalog:v2.1.47

test on the local build:
codeflare + ray => checked
dashbaord => fix  in https://github.com/red-hat-data-services/odh-manifests/pull/485
kserve => checked
dsp => keep reconcile, 2 RS using different images????
modelserving => cannot enabled after kserve was previous enabled, known issue

test on the local build: codeflare + ray => checked dashbaord => fix in red-hat-data-services/odh-manifests#485 kserve => checked dsp => keep reconcile, 2 RS using different images???? modelserving => cannot enabled after kserve was previous enabled, known issue

so what i observe now is:
DSP created 2 Configmap, one is using DSPO image from registry.redhat.io and another one is using the one from quay.io (which is the value set in ODH odh-manifests)
i cannot see how it gets this value and i do not have ODH instance running in the cluster, so it is very confusing for this case.
it would be good if anyone can either use my local build image, or do a clean build with same code base and test DSP part.

Can you share your build ?

quay.io/wenzhou/opendatahub-operator-catalog:v2.1.47

i used this one  quay.io/wenzhou/opendatahub-operator-catalog:v2.1.47

@zdtsw Update with latest dashboard changes


Modularise code and improve maintainability

Done! Modularised all views scripts, window scripts and separated core scripts!


Replace T_{CLASS,FUNCTION,CONST} with ast\flags\USE_{NORMAL,FUNCTION,CONST}

In PHP 7.2 these will no longer be the same. The USE_* constants are available since more than a year, so there should be no compat issue.

Thanks, @nikic and @TysonAndre.


Import from web instead of local files

To reduce issues with import errors

The aim or this PR was to include an explicit url to cif_top in owl:imports of the generated cif_core.ttl. However, it seems that even though that we give an explicit url to cif_top when loading it in generate_cif.py, it is the ontology IRI http://emmo.info/domain-crystallography/cif_top that gets serialised.
I think we could skip this PR for now and instead concentrate on how we want to publish the ontologies.

The aim or this PR was to include an explicit url to cif_top in owl:imports of the generated cif_core.ttl. However, it seems that even though that we give an explicit url to cif_top when loading it in generate_cif.py, it is the ontology IRI http://emmo.info/domain-crystallography/cif_top that gets serialised.
I think we could skip this PR for now and instead concentrate on how we want to publish the ontologies.

According to the comment above I'll close this PR. Since the central dic2owl generation file will also be updated in #52 the minor changes here are obsolete.


Dispose context with shared isolate

When holding a shared isolate to pass to future context, calling dispose on the last remaining context kills the isolate too, so then next time you go to use the isolate, you get a segfault.
Received signal 11 SEGV_MAPERR 000000000ea0

==== C stack trace ===============================

 [0x00010c22e874]
 [0x7fff7ced1f5a]
 [0x00010f96a968]
 [0x00010bae7b1b]
 [0x00010bab45d0]
 [0x00010a80610b]
 [0x00010a7ef864]
 [0x00010a8009de]
 [0x00010a7ff4be]
 [0x00010a80754f]
 [0x00010a7ef864]
 [0x00010a8009de]
 [0x00010a80e104]
 [0x00010a7fd572]
 [0x00010a80610b]
 [0x00010a80710b]
 [0x00010a7eedc4]
 [0x00010a8009de]
 [0x00010a7ff4be]
 [0x00010a80754f]
 [0x00010a7ef864]
 [0x00010a8009de]
 [0x00010a80e104]
 [0x00010a7fbcee]
 [0x00010a628bc9]
 [0x00010a80610b]
 [0x00010a7eedc4]
 [0x00010a8009de]
 [0x00010a80e104]
 [0x00010a80f10e]
 [0x00010a7fd81d]
 [0x00010a7fded2]
 [0x00010a80610b]
 [0x00010a7eedc4]
 [0x00010a8009de]
 [0x00010a80e104]
 [0x00010a80f10e]
 [0x00010a7fd81d]
 [0x00010a7fded2]
 [0x00010a80610b]
 [0x00010a7eedc4]
 [0x00010a8009de]
 [0x00010a7ff4be]
 [0x00010a80754f]
 [0x00010a7ef864]
 [0x00010a8009de]
 [0x00010a7ff4be]
 [0x00010a80754f]
 [0x00010a7ef864]
 [0x00010a8009de]
 [0x00010a7ff4be]
 [0x00010a7c6265]
 [0x00010a7c5bcf]
 [0x7fff7cedb6c1]
 [0x7fff7cedb56d]
 [0x7fff7cedac5d]
[end of stack trace]

@wk8 any chance you can have a look at this?


SVG files cause hanging

Hi, just would like to let you know that SVG files (at least in Windows 11 22H2 clean install up to date) is causing WinThumbsPreloader to hang and blocks progress. Hopefully you can update this useful tool with a fix. Cheers

Came here to report the same thing, quite annoying really.

Might be something to do with MS Powertoys SVG previewer plugin.

Funny enough, i was about to recommend using that to generate the thumbnails to begin with. Regardless, while i also use powertoys, i believe this issue was there even before i installed it.


PHP SDK client

Checklist

[X] I agree to the terms within the OpenFGA Code of Conduct.

Describe the problem you'd like to have solved
The lack of a PHP SDK client for this project limits integration options for PHP-based applications
Describe the ideal solution
Hello,
I'm currently working with your project and find it very useful. I was wondering if there are any plans to develop a PHP SDK client in the near future.
A PHP SDK would greatly benefit developers who primarily work with PHP-based applications, making it easier to integrate your project into their existing systems.
If there are no current plans for a PHP SDK, would you be open to community contributions in this area? I'd be interested in knowing your thoughts on this and any potential roadmap for SDK development.
Thank you for your time and consideration.
Alternatives and current workarounds
No response
References
No response
Additional context
No response

Move to discussion


warnings: fix code that emits compiler warnings

Added -Wno-long-long on Windows to disable warning about ULL constants (in the filetime code). This flag was already being used for the test suite.
Not many real bugs were uncovered, but does make compilation a bit less noisy.

Actually, I might need help with the AIX warnings from someone with access to the platform:
  CC       src/unix/libuv_la-core.lo
src/unix/core.c: In function 'uv__nonblock_ioctl':
src/unix/core.c:551:5: warning: overflow in implicit constant conversion [-Woverflow]
     r = ioctl(fd, FIONBIO, &set);
     ^

  CC       src/unix/libuv_la-fs.lo
src/unix/fs.c: In function 'uv__fs_mkdtemp':
src/unix/fs.c:219:3: warning: implicit declaration of function 'mkdtemp' [-Wimplicit-function-declaration]
   return mkdtemp((char*) req->path) ? 0 : -1;
   ^

  CC       src/unix/libuv_la-fs.lo
src/unix/fs.c: In function 'uv__fs_mkdtemp':
src/unix/fs.c:219:3: warning: implicit declaration of function 'mkdtemp' [-Wimplicit-function-declaration]
   return mkdtemp((char*) req->path) ? 0 : -1;
   ^

https://github.com/libuv/libuv/pull/740

Actually, I might need help with the AIX warnings from someone with access to the platform:
  CC       src/unix/libuv_la-fs.lo
src/unix/fs.c: In function 'uv__fs_mkdtemp':
src/unix/fs.c:219:3: warning: implicit declaration of function 'mkdtemp' [-Wimplicit-function-declaration]
   return mkdtemp((char*) req->path) ? 0 : -1;
   ^

https://github.com/libuv/libuv/pull/740. From the linked issue (https://sourceware.org/bugzilla/show_bug.cgi?id=13558#c1):

Exactly: Since AIX 6.1, mkdtemp() is declared upon _XOPEN_SOURCE >= 700, and thus the symbol is available in libc.
The difference is: Upon _ALL_SOURCE (defined in config.h),
AIX 6.1 defines (overrides!) _XOPEN_SOURCE=600, while
AIX 7.1 defines (overrides!) _XOPEN_SOURCE=700,
This particularly isn't a problem on AIX 7.1, but still the check for mkdtemp() should be extended to if the declaration is available too.

Unfortunately the CI machines are AIX 6.1.
cc @gdams @gireeshpunathil @mhdawson

MSVS building for 32bit is clean with this PR + the tweak in test/test-condvar.c.
64bit is still has 65 warnings (some might be legit, like 'ULONG_PTR' to 'DWORD')

64bit is still has 65 warnings (some might be legit, like 'ULONG_PTR' to 'DWORD')

I see no warnings on CI. Where do you see these?

bump @refack (mentioning additional warnings to fix), and folks who worked on #740 (if my solution proposal is acceptable)

AFAIK the mention of C89 in https://github.com/libuv/libuv/blob/v1.x/CONTRIBUTING.md#code is spesific for variable decleration order.
All of our supported compilers know C99, so C89 wasn't enforced or checked. I'm pro modernization, but I defer to the more senior members.

@refack is AIX still an issue?

@mhdawson IIUC yes (https://github.com/libuv/libuv/pull/2066#issuecomment-436126491). @vtjnash is asking for feedback if the suggested solution is acceptable (since we can't CI it).

All of our supported compilers know C99, so C89 wasn't enforced or checked.

Except MSVC. :-) More recent versions do better but we nominally still support MSVC 2008, which does not - it only knows a subset of C99.
That doesn't need to hold back code in src/unix but back then we decided to stick to C89 for consistency. I don't have a problem with switching to a newer dialect, personally.

Previous discussion (merged, making master now declare c99) is at https://github.com/libuv/libuv/pull/994
Note that while MSVC has been supporting a larger subset of C99 as time goes on, it still doesn't implement all of it (https://docs.microsoft.com/en-us/cpp/visual-cpp-language-conformance?view=vs-2017). In particular, VLA support might never be implemented (they've apparently been removed from the C11 requirements), and the variadic macro implementation is still being overhauled.
On the other hand, mixed code and declarations was added in VS2013, so that policy could now be altered. Although, as Ben mentioned above, when this policy was adopted, it was done so for consistency in the codebase and not strictly just technical reasons. (saghul mentioned a similar preference in https://github.com/libuv/libuv/pull/994#issuecomment-239382014)

so C89 wasn't enforced or checked

It is checked (insofar as gcc and msvc implements warnings for it). It's not enforced by Jenkins (it might be good to add -Werror to the CI configuration to prevent future regressions), but that's what this PR is addressing.

so C89 wasn't enforced or checked

It is checked (insofar as gcc and msvc implements warnings for it). It's not enforced by Jenkins (it might be good to add -Werror to the CI configuration to prevent future regressions), but that's what this PR is addressing.

Yes, I meant not checked in CI.
-Werror and /W4 or /WX could be added to the build scaffolding.

New CI run: https://ci.nodejs.org/job/libuv-test-commit/1109/
Remaining warnings:
AIX were assigning a function that's supposed to return an int to a variable of type int, but perhaps the prototype for this function was wrong on AIX 6.1?
src/unix/core.c: In function 'uv__nonblock_ioctl':
src/unix/core.c:551:5: warning: overflow in implicit constant conversion [-Woverflow]
     r = ioctl(fd, FIONBIO, &set);
     ^

smartos 14 has a couple nuisance warnings, but these go away with newer versions of the OS / compiler:
src/unix/sunos.c: In function 'uv_fs_event_start':
src/unix/sunos.c:490:16: warning: 'portfd' may be used uninitialized in this function [-Wmaybe-uninitialized]
     uv__io_init(&handle->loop->fs_event_watcher, uv__fs_event_read, portfd);
                ^
test/test-fork.c: In function 'assert_wait_child':
test/test-fork.c:81:3: warning: format '%d' expects argument of type 'int', but argument 2 has type 'pid_t' [-Wformat=]
   printf("Waited pid is %d with status %d\n", waited_pid, child_stat);
   ^

On zos, two casts were missing (now fixed in followup commit):
WARNING CCN3280 ../src/unix/fs.c:729   Function argument assignment between types "char*" and "const char*" is not allowed.
WARNING CCN3068 ../src/unix/os390.c:232   Operation between types "struct Output_path_type*" and "char*" is not allowed.

and there's few more nuisance warnings in the tests on zos:
 WARNING CCN1109: Infinite loop detected in function maybe_run_test.  Program may not stop.
 WARNING CCN1142: NOSTRICT may alter the semantics of a program.

New CI run passing: https://ci.nodejs.org/job/libuv-test-commit/1110/

Yes, I meant not checked in CI.

If I wanted to explore enabling this (and adding Win64 CI), where would I find this configuration? Or do I not have access to see it.

@vtjnash, 👋 I'm your friendly BuildWG member in residence. Either ping me directly or open an issue at https://github.com/nodejs/build.
I'll try to get to this (adding Win64) later today.
Just for reference, we (BuildWG) use Jenkins machine labels to select for 86/64 tests. So for example win-vs2017-x86 is used as a variable in the script to select for x86 flavored testing, while win2012r2-vs2017 is usually used for default testing, but I think in this case we should use it for x64 tests.


CI: run tests on stable

closes #40

bors r+

bors r+

The nightly builds will be fixed in a follow up PR.


[HUDI-7223] Cleaner KEEP_LATEST_BY_HOURS should retain latest commit before earliest commit to retain

Change Logs
The KEEP_LATEST_BY_HOURS cleaner policy will find the earliest time to retain and then find the earliest commit that is greater than or equal to that time:
String earliestTimeToRetain = HoodieActiveTimeline.formatDate(Date.from(latestDateTime.minusHours(hoursRetained).toInstant()));
earliestCommitToRetain = Option.fromJavaOptional(completedCommitsTimeline.getInstantsAsStream().filter(i ->
    HoodieTimeline.compareTimestamps(i.getTimestamp(),
          HoodieTimeline.GREATER_THAN_OR_EQUALS, earliestTimeToRetain)).findFirst());

In the CleanPlanner, any file slice before this earliestCommitToRetain will be removed. This can result in deleting files that were still relevant N hours ago and users will not be able to query the table as of that time.
For example, imagine you have configured keep latest 24 hours. You have a new base file written for a file group at time NOW-48hr. An update comes in at time NOW-8hr and does not touch this file group. Another commit writes a new base file at time NOW-1hr and the cleaner kicks in. It will see NOW-8hr as the latest commit that is not more than 24 hours old causing the file written in NOW-48hr to be removed even though it would be required if someone wants to do a time travel query for a point in time 8+ hours in the past.
Impact
Fixes expectations for time based cleaning and retention.
Risk level (write none, low medium or high below)
Low, will keep files longer for those using this policy
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@hudi-bot run azure

@hudi-bot run azure


Error when trying to run quick start  code

Reminder

[X] I have searched the Github Discussion and issues and have not found anything similar to this.

Environment
- OS:
- Python:
- PyTorch:
- CUDA:

Current Behavior
Getting this error when single_inference.py is trying to load model from HF Hub.
huggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': '../model/Yi-VL-6B'. Use repo_type argument if needed.
Expected Behavior
Load should load.
Steps to Reproduce
I was using this code provide for quick start in Google Colab free tier.
! CUDA_VISIBLE_DEVICES=0 python /content/Yi/VL/single_inference.py --model-path ../model/Yi-VL-6B --image-file images/cats.jpg --question "Describe the cats and what they are doing in detail."
Anything Else?
Nil

I have successfully launched the demo in Google Colab with this line of code:

My directory is different from yours. I used this code to set us environment.
!git clone https://github.com/01-ai/Yi.git
!cd Yi/VL
!export PYTHONPATH=$PYTHONPATH:$(pwd)
!pip install -r requirements.txt
Please suggest.

!git clone https://github.com/01-ai/Yi.git
!cd Yi/VL
!export PYTHONPATH=$PYTHONPATH:$(pwd)
!pip install -r requirements.txt

The cd command in colab notebook needs to start with %, so you can either try
!git clone https://github.com/01-ai/Yi.git
%cd Yi/VL
!export PYTHONPATH=$PYTHONPATH:$(pwd)
!pip install -r requirements.txt

or
!git clone https://github.com/01-ai/Yi.git
!pip install -r ./Yi/VL/requirements.txt

Hope this solves the problem!

Thank you. Still getting this error.
OSError: Incorrect path_or_model_id: './Yi-VL-6B'. Please provide either the path to a local folder or the repo_id of a model on the Hub.
My directory structure is still different from yours. Sharing my notebook.
https://colab.research.google.com/drive/1jBT5BM10boMaEW5no1qfugc-_nfmmatG?usp=sharing

Thank you. Still getting this error. OSError: Incorrect path_or_model_id: './Yi-VL-6B'. Please provide either the path to a local folder or the repo_id of a model on the Hub. My directory structure is still different from yours. Sharing my notebook. https://colab.research.google.com/drive/1jBT5BM10boMaEW5no1qfugc-_nfmmatG?usp=sharing

It seems like the model has not been downloaded in your notebook.
Please add a new code cell at the beginning, and run the following code:
!git lfs install
!git clone https://huggingface.co/01-ai/Yi-VL-6B

This will download the weight of the Yi-VL-6B model to your director (It takes about 5-10 minutes to download).
Then, run the remaining cells, and you should be able to see the output.

Thank you so much @markli404 !!. It works now.


Session graph empty eror when loading weights with tensorflow

I am using keras 1.2 with tensorflow 1.0.0 backend.
I have a function that loads a pre-calibrated model from json and then loads its weights from a hdf5 file.
def load():
    model = model_from_json(open(model_path).read())
    model.load_weights(model_weights_path)

This function, more precisely the call to load_weights results in the following exception:
RuntimeError: The Session graph is empty.  Add operations to the graph before calling run()

I wonder if that is due to these lines that I put in the beginning of my module to set the tensorflow seed for reproducibility:
tf.set_random_seed(123) # To set Tensorflow seed
session_config = tf.ConfigProto(inter_op_parallelism_threads=1,
                                intra_op_parallelism_threads=1)
sess = tf.Session(config=session_config)
keras.backend.set_session(sess)

It seems the keras session does not automatically set the loaded model as the graph associated to the session, hence failing to initialize the weights.
Any explanation and workaround to avoid the exception?

This was due to a bug in my own code, apologies for putting the issue, I close it.

@volvador what was your mistake? I am having a similar issue

@volvador I'd also be interested in your solution :)

It'd be really useful if you've mentioned the bug. I'm also facing the same issue and I think it's because of a bug in my code and I don't know how to solve it.


Self dependency not detected for dependencies

Reproduction: add cubit="1.3.0" as dependency of your package. In the cubit package there will appear diagnostics stating that cubit identifier was not found. Additionally, crate cubit with default settings comes up when running view analyzed crates.

Happened due to cubit="1.3.0" having cairo_project.toml uploaded to https://scarbs.xyz/.  Closing, as this is expected behavior.


feat: create blog post page

Currently does not have any links pointing at it. Need to add link to the post card. URL format for post page: post/:id

I'll add the routing from the feed page - thank you!


Add delayed processes as a new argument starting overmind

Hi. I love your tool and using it for day-to-day development. I've run into only one use case that I wasn't really able to get working, and it's the "not always required" / "delayed" processes.
Let me give you a quick example of what do I mean by that: I have a react native repo where I need to work sometimes. It has a few processes that I would like to start with Overmind, but it also has the emulator that I don't need that often. Currently the only option is to set this emulator to be an ignored process (I don't want it to start every time I'm opening the project), but then overmind restart emulator won't recognize the process and won't be able to start it later, so I need to stop all the other processes and restart overmind when I need the emulator.
My change request is trying to solve this scenario: let's just start a noop script for these "delayed" processes than can die immedialety and then you can overmind restart xy / overmind stop xy whenever you need these processes.
Let me know if this makes sense to you or if I need to make any further changes to have this as a viable feature.

I think it solves https://github.com/DarthSim/overmind/issues/112 as well, or at least gives a better option than restarting the whole


style: refactoring, cleanup, #LuaTeX

forced output font to always use New Computer Modern
factored out magic numbers into constants (drop, kern, size dictionaries)
factored out helpers for box(baseline: ..) and scale(x: -100%)
factored out A component
changed to function which only returns exported symbols, where all temporaries are just local variables/functions
added LuaTeX
fixed demo.typ:

imports local file and *, more useful for testing
fixed typos ("typesetting", "Typst")
mentioned LuaTeX

Note, I changed the import in demo.typ - you may want to change it back to the public @preview version.
Also, I didn't update the demo.svg output to match the new content (with the LuaTeX addition).

While I agree with the majority of these changes, I won't be merging this PR due to the following:

It reverts 17ff078d03b52baf7571a94b0abd2e95c5444314, reintroducing the bug described in #2
I don't want to force a font change for the compiler logos

While reviewing this PR I found out the original metalogo LaTeX package I named this package after was specifically written to give fine-grained control over the spacing parameters of the compiler logos when using different typefaces. LaTeX does not change fonts for compiler logos, and I'd like to keep this behavior in Typst as well.
I've implemented some of your proposed changes on a separate development branch. Since the original LaTeX package contains other features that are currently missing from the Typst version, I'll continue to work on this branch for a bit.

Funny thing. I had it as move(dy: ...) originally, but then got a conflict with a change you made, and changed it back to box(baseline: ...) to resolve the conflict. Either way, that's an easy fix, and I'm glad to make it.
In general, I prefer to ask people to update their PRs. The work they put into them otherwise evaporates when they're treated the way you are here.. to just close it and copy changes to your own branch.
Regardless, I'm glad you found some of the ideas good.

A piece on PR etiquette, in case anyone else sends you a PR in the future:

Common etiquette and best practices for handling partial agreement with pull requests (PRs):
The most common and preferred approach is to work with the PR author rather than closing and implementing changes yourself. Here's why and how:

First, engage constructively by commenting on the PR:

Thank them for their contribution
Clearly identify which parts you agree with and which parts need changes
Provide specific feedback for requested changes
If there are parts you definitely don't want, explain why

Give the author a chance to respond and make changes. This is better because:

It respects the author's time and effort
Builds community and encourages future contributions
The author might have insights or reasoning you hadn't considered
They may be willing to make the changes quickly

If the PR contains good changes mixed with problematic ones, you can suggest:

Splitting it into multiple PRs (if the changes are separable)
Removing the parts you don't want while keeping the good parts
Making specific modifications to align with your project's needs

Only consider closing and implementing yourself if:

The author becomes unresponsive (usually after 1-2 weeks)
There's urgent time pressure
The changes needed are so substantial that it would require a complete rewrite
The author explicitly gives you permission to take over

If you do close it to implement yourself:

Thank the author in the closing comment
Acknowledge their contribution when you make your changes
Explain why you're taking this approach
Link to your new implementation when it's ready

This approach maintains good community relations and encourages future contributions while still maintaining your project's standards.

Furthermore, your branch is going in a few non-idiomatic directions.  This will impact anyone who wants to #import "your-package:version": * (i.e. * means "import everything", which is convenient). The version I sent you only exports the main symbols (TeX, etc).
you're using state() which means you have to use context basically everywhere. This is an anti-pattern in Typst. You should only use context when absolutely necessary, and even then in the smallest hunk of code possible. This is completely unnecessary (as my PR shows, as your previous code shows), especially for what boils down to a set of macros.

And answering your question:

// TODO: how to write this so drop(1mm)[content] works?

Should just be something like this (note, untested):
#let drop(distance, body) = { box(move(dy: distance, body)) }

#drop(1em)[some content]

Sorry if my original comment came off as dismissive, I certainly appreciate that you sent a contribution! I'll try to keep the PR etiquitte tips in mind in the future.

On the dev branch, I've split the package into lib.typ and metalogo.typ, where the former contains all symbols, and the latter is used to only export "public" symbols. I looked to cetz for inspiration on how to do this, as I was not satisfied with the way you originally solved the namespace pollution issue.

you're using state() which means you have to use context basically everywhere

This is true, and I originally wanted to implement this as a Typst element as it seemed like the right mechanism for setting document/package configuration options, but creating user-defined element functions does not yet seem to be possible (typst/typst#147). After finding this blog post from laurmaedje I gave up trying to find a better solution:

However, there are no custom elements in Typst at the moment. Instead, packages use functions for things that conceptually should be elements. Unfortunately, this severely hinders styling and customization of package “elements”: Most packages either use .with(..) overrides or expose some state()-based solution for global configuration.

Your solution does nicely clean up the magic numbers, but doesn't allow users to change the spacing properties.
I only realized thanks to this PR that the LaTeX metalogo package does much more than just output compiler logos, but felt that asking for a nice configuration interface was out of scope of this PR, so opted to create a separate branch without merging.

#let drop(distance, body) = box(move(dy: distance, body))

Indeed seems to work and I've updated the dev branch accordingly. Thanks for the tip!

Fair enough. Thanks.


Please remove the pc- prefix from the repository's name

Hello, Powercord developer here.
Since you don't seem to be in our Discord server, I'll ask here: the pc- prefix is reserved for internal plugin and should not be used by any third party plugin made. If you could please rename your repository to remove this (by using powercord- for example) it'd be very appreciated.
Thank you!

Apologies, didn't realise it was a reserved prefix, I've renamed the repository and because I'd forgotten to update my Discord it's Bri-ish#0001.
Thank you :)


feat: Watcher event fail component

Description
This PR introduces a foundational implementation for the RetryManager. It includes:
Initialization of a message-passing system with a channel (Sender and Receiver).
A RetryEvent structure to represent retryable events, including fields like uri, event_type, retry_count, and optional dependencies or error messages.
Basic methods for:

Adding failed events to a retry queue (add_fail_event).
Processing retry events for a specific homeserver (retry_events_for_homeserver)

Motivation
The RetryManager is a core component to handle failed events during homeserver interaction. This initial implementation sets up the required structure and logic to:

Track and store retryable events.
Manage retries based on specific homeserver URIs.

Pre-submission Checklist

For tests to work you need a working neo4j and redis instance with the example dataset in docker/db-graph

[ ] Testing: Implement and pass new tests for the new features/fixes, cargo test.
[ ] Performance: Ensure new code has relevant performance benchmarks, cargo bench

2 initial comments to think about:

Can we use Redis as the messaging queue?
being able to identify ghost(?) users.


Unable to derive type class for Scrooge generated product class

Scrooge generates classes representing thrift structs which if you squint hard look a bit like case classes, but are different enough that Shapeless doesn't recognise them as such, so is unable to derive type classes.
I created an example repo (https://github.com/philwills/scrooge-shapeless-example) which if you fire up the console and run the following shows the issue:
scala> import scrooge.shapeless.example._
scala> import scrooge.shapeless.example.Show._
scala> def s[T](t: T)(implicit s: Show[T]) = s.show(t)
scala> s(Prod(1, "f"))
res0: String = a = 1.0, b = f
scala> s(thrift.Product(1, "f"))
<console>:15: error: could not find implicit value for parameter s: scrooge.shapeless.example.Show[thrift.Product]

The generated thrift if we cut out a lot of guff looks like
object Product extends ThriftStructCodec3[Product] {
   def apply(a: Double, b: String): Product =
    new Immutable(a, b)

  class Immutable(val a: Double, val b: String,override val _passthroughFields: immutable$Map[Short, TFieldBlob]) extends Product {
    def this(a: Double, b: String) = this(a, b, Map.empty)
  }

  def unapply(_item: Product): Option[scala.Product2[Double, String]] = Some(_item)
}

trait Product
  extends ThriftStruct
  with scala.Product2[Double, String]
  with java.io.Serializable
{
  import Product._

  def a: Double
  def b: String

  def _passthroughFields: immutable$Map[Short, TFieldBlob] = immutable$Map.empty

  def _1 = a
  def _2 = b

  override def productArity: Int = 2

  override def productElement(n: Int): Any = n match {
    case 0 => this.a
    case 1 => this.b
    case _ => throw new IndexOutOfBoundsException(n.toString)
  }

  override def productPrefix: String = "Product"
}

i.e. it is a non-sealed trait, rather than a class which puts shapeless off the scent.

Just looking at this again ... are you able to summon a Generic instance for Product.Immutable?

 implicitly[shapeless.Generic[thrift.Product.Immutable]]

fails to summon anything.
Incidentally, I did have a stab at trying to address this by broadening the isCaseClassLike check, but then ran into issues in mkProductCases that were sufficiently deep in the AST that I decided to retreat.

I'm poking around in that area at the moment ... I'll see what I can come up with.

OK, I think this can be done.
It really requires a thorough reworking of the criteria that are used for determining that a type is case class like and its alignment with the mechanism for introducing and eliminating values of that type though, and I don't want to do that in a point release.
I'll revisit for 2.3.0.

Reduced test case,
import shapeless._

object TProduct {
  def apply(a: Double, b: String): TProduct = new Immutable(a, b)

  def unapply(tp: TProduct): Option[Product2[Double, String]] = Some(tp)

  class Immutable(val a: Double, val b: String) extends TProduct
}

trait TProduct extends Product2[Double, String] {
  def a: Double
  def b: String

  def _1 = a
  def _2 = b

  override def productPrefix: String = "TProduct"

  def canEqual(t: Any): Boolean = true
}

object GenDemo {
  Generic[TProduct]
}

Let me know if you think this is missing anything essential from your original ...

Sorry, I missed this. I think that reduced test case covers everything important.

See also this scalac issue.

OK, the current state of play is that Generic[TProduct.Immutable] is fine as is, and Generic[TProduct] is fine if trait TProduct is marked as sealed.
Would this get you any further with Thrift, or is the sealed issue still a showstopper?

I just tried this against a 2.3.0-SNAPSHOT using https://github.com/philwills/scrooge-shapeless-example and am still not able to summon a Generic[Product.Immutable] or Generic[Product]. As a consumer, rather than author of Scrooge, I'm not sure of the reasoning behind the trait's it produces not being sealed and whether there would be an issue with changing that.

It was the secondary constructor in Product.Immutable which was causing the problem there, and I now have this working for that case (not pushed yet, needs some cleanup).
Is this likely to be sufficient for your scenario? Bear in mind that due to the lack of sealing on the Product trait you will only get an automatic Generic instance if you explicitly refer to the concrete type Product.Immutable.

@philwills I've added this compilation test, which corresponds directly to the generated Thrift output.
Note that because the trait is unsealed we won't be able to summon a Generic instance for it. Instead we have to summon a Generic instance for the concrete class TProduct.Immutable.
Is this good enough for your scenario?


Dont anonymize known custom functions

We are adding a way for the hosts to declare a list of non-core public functions that should be kept plain when getting function names from an expression.

✅ No public API change.

✅ No public API change.


Translations update from Hosted Weblate

Translations update from Hosted Weblate for Metadata Remover/Metadata.
It also includes following components:

Metadata Remover/Metadata Remover

Current translation status:

Thank you so much for your support, @realBruno! 😘


ui/serverless.yml

I cannot locate ui/serverless.yml

Thank you. It's actually api/serverless.yml


Assert in ClassDB::set_current_api in latest master

Godot version
master [75f9c97deaa8378477441e07ea1782ecab6d2eca]
System information
Godot v4.2.dev (262d1eaa6) - Ubuntu 20.04.6 LTS (Focal Fossa) - X11 - Vulkan (Forward+) - dedicated AMD Radeon RX 6800 XT - AMD Ryzen 9 5900X 12-Core Processor (24 Threads)
Issue description
Running a dev build on both Linux and Windows reaches the following crash:
TextServer: Primary interface set to: "ICU / HarfBuzz / Graphite (Built-in)".
CORE API HASH:<PHONE_NUMBER>
EDITOR API HASH:<PHONE_NUMBER>
ERROR: FATAL: DEV_ASSERT failed  "!api_hashes_cache.has(p_api)" is false.
   at: set_current_api (core/object/class_db.cpp:59)

Call stack (Linux):
1 ClassDB::set_current_api                class_db.cpp        59   0x9c77bf6
2 EditorSettings::ensure_class_registered editor_settings.cpp 883  0x639a96a
3 EditorNode::EditorNode                  editor_node.cpp     6825 0x61badd9
4 Main::start                             main.cpp            3085 0x4a6e353
5 main                                    godot_linuxbsd.cpp  72   0x49c9d0d

Call stack (Windows):
>	godot.windows.editor.dev.x86_64.exe!ClassDB::set_current_api(ClassDB::APIType p_api) Line 58	C++
 	godot.windows.editor.dev.x86_64.exe!EditorSettings::ensure_class_registered() Line 886	C++
 	godot.windows.editor.dev.x86_64.exe!EditorNode::EditorNode() Line 6826	C++
 	godot.windows.editor.dev.x86_64.exe!Main::start() Line 3085	C++
 	godot.windows.editor.dev.x86_64.exe!widechar_main(int argc, wchar_t * * argv) Line 179	C++
 	godot.windows.editor.dev.x86_64.exe!_main() Line 204	C++
 	godot.windows.editor.dev.x86_64.exe!main(int argc, char * * argv) Line 218	C++
 	godot.windows.editor.dev.x86_64.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * hPrevInstance, char * lpCmdLine, int nCmdShow) Line 232	C++
 	[Inline Frame] godot.windows.editor.dev.x86_64.exe!invoke_main() Line 102	C++

Steps to reproduce
Compile with (possibly not all of those flags are needed):
scons platform=linuxbsd optimize=none debug_symbols=True tests=False dev_mode=True dev_build=True use_llvm=yes use_lld=yes  opengl3=no openxr=no
Open a project on the editor with:
Working folder: The project's path
Arguments: -e
Other info (for bisect)
It must've broken somewhere between 75f9c97deaa8378477441e07ea1782ecab6d2eca and 6588a4a29af1621086feac0117d5d4d37af957fd since it was working fine before that.
Workaround
Just commenting out the assert runs fine.
Minimal reproduction project
Any.

Cannot replicate on latest master, on Windows

I was ignoring the error because I thought I may have done something wrong but then I got the same error today on Windows which is why I decided to report it.
Do you know what scons settings did you use? I'm uploading my .scons_env.json for Windows if that helps (I use vsproj=yes and build from Visual Studio which invokes scons).
scons_env.json.zip

I use the same settings as your Linux build minus the llvm

AHHH!!!!
Turns out I was missing a command line parameter: It must be launched with --verbose

AHHH!!!!
Turns out I was missing a command line parameter: It must be launched with --verbose

I can confirm this issue, bisecting now

Is indeed caused by the --verbose flag as it causes:
https://github.com/godotengine/godot/blob/3fa8fad26b97a8af20e7996b7e17d8f23fc04b89/main/main.cpp#L2583-L2584
And you cannot update the API hash if it has been read, as per here:
https://github.com/godotengine/godot/blob/3fa8fad26b97a8af20e7996b7e17d8f23fc04b89/core/object/class_db.cpp#L58-L61

I can confirm, this is a regression from https://github.com/godotengine/godot/pull/78615. Reverting https://github.com/godotengine/godot/pull/78615 fixes the crash
Thanks AThousandShips for finding that, you saved me a lot of bisecting time

I'm not sure why EditorSettings is not registered in register_editor_types, but registering it there seems to ensure it is registered, and no other errors popping up

CC @RandomShaper

Oh yes EditorSettings is already registered, as an abstract class, and then registered again as a non-abstract class, unsure why, only found that now, that is strange

For the records, I put that DEV_ASSERT there precisely to realize when the caching of hashes wouldn't be reliable. I didn't expect that to happen that soon, though. In any case, the problem is that the editor API is modified after its hash having already been computed, which was an issue in itself.


Enhancements

@MahmoudElSharkawy I moved all the io-prefix packages to unify package names
added internal main package and internal sub-packages where needed to ensure that all categories make sense
exposed the listeners in the main com.shaft.listeners package, and moved any non-user facing packages to the internal main or sub package as needed
In addition to the above, I detected an issue with the safari execution failures, it's hitting an invalid element state exception despite my best attempts, I implemented a fix for that by moving the problematic actions to be performed inside the fluent wait block... thus fixing this issue for good.
Now the type action should be much faster and 100% robust across all systems.
This will be nearly impossible to review, that's why I split it into 3 commits.

The first commit is for the element action movement inside the fluent wait block. -> this is important for you to understand the new structure and the potential impact moving forward if similar issues arise.
The second commit is unreviewable since it includes all the classes and packages movements.
The third commit is a smaller sample, showing the cucumber test runner listener moving into the com.shaft.listeners package so it gives you a feel of the changes that were made in the second commit.


ENH: Add checkBoxControlsButtonToggleState property to ctkCheckablePushButton

If checkBoxControlsButtonToggleState is enabled then clicking the checkbox also makes the button pushed (for user's convenience) and unpushing the button makes it unchecked, too (to avoid the ambiguous state when the button's checkbox is checked but the button is not pressed down).
The property is disabled for now to preserve the current behavior (for backward compatibility).
Also did a small refactoring (add separate variable for two properties, improve documentation).

Comment from @finetjul:

Your commit looks good to me. I am simply a bit worried about: QObject::connect(q, SIGNAL(toggled(bool)), q, SLOT(onToggled(bool))); This has the drawback to break your internal behavior if/when "blockSignals(true)" is called on the button.
You might want to consider overriding checkStateSet() instead.

Closing. This was superseded by #908


How to pass additional Headers to msal-node HttpClient

Core Library
MSAL Node (@azure/msal-node)
Core Library Version
latest
Wrapper Library
Not Applicable
Wrapper Library Version
None
Description
I need to add some custom Headers to the HTTP requests made by the msal-node.
The reason for this is that I'm trying to implement the Authorization code with PKCE flow in Node and it only works if I add the Origin header (normally the browser would add this but it's not the case in Node)
Can you provide some guidance on how to do this?
Is it possible to extend the default HttpClient and override the methods to add in the additional headers and then set this as the networkClient in msalConfig.system.networkClient
MSAL Configuration
No response
Relevant Code Snippets
No response
Identity Provider
Azure AD / MSA
Source
External (Customer)

@kevinkilroy  Yes it is possible to override the default HttpClient implementation in msal-node. While configuring the app, a user can initialize it with an instance of INetworkModule to do this.

Yes I know I can do that, I was more thinking of extending the current implementation rather than replace it. Something like:
MyHttpClient extends HttpClient {
//Override existing functions
async sendGetRequestAsync(url, options) {
// Add additional headers to options
super.sendGetRequestAsync(url, options);
}
}

But I couldn't find a way of importing the existing HttpClient. Is it possible?
Thanks,
Kevin.

The reason for this is that I'm trying to implement the Authorization code with PKCE flow in Node and it only works if I add the Origin header (normally the browser would add this but it's not the case in Node)

Can you please clarify why you want to do this? The Auth Code Flow w/ PKCE for SPAs (i.e. CORS) requires the origin header (i.e. the flow used by MSAL.js), but you can still use the Auth Code Flow w/ PKCE without CORS. See this sample for more: https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/samples/msal-node-samples/auth-code-pkce

I tried that sample but on the 2nd leg (handling the callback from Microsoft IDP and requesting a token) I was get the following exception:
Msal Node Auth Code Sample app listening on port 3000!
[Tue, 02 Aug 2022 01:26:38 GMT]<EMAIL_ADDRESS>: Info - getAuthCodeUrl called
[Tue, 02 Aug 2022 01:26:38 GMT]<EMAIL_ADDRESS>: Verbose - initializeRequestScopes called
[Tue, 02 Aug 2022 01:26:38 GMT] : [aa857391-dd7b-48ba-bcc0-35cbf9f7b77a]<EMAIL_ADDRESS>: Verbose - buildOauthClientConfiguration called
[Tue, 02 Aug 2022 01:26:38 GMT] : [aa857391-dd7b-48ba-bcc0-35cbf9f7b77a]<EMAIL_ADDRESS>: Verbose - building oauth client configuration with the authority: https://login.microsoftonline.com/<TENANT_ID_REDACTED>
[Tue, 02 Aug 2022 01:26:38 GMT] : [aa857391-dd7b-48ba-bcc0-35cbf9f7b77a]<EMAIL_ADDRESS>: Verbose - createAuthority called
[Tue, 02 Aug 2022 01:26:38 GMT] : [aa857391-dd7b-48ba-bcc0-35cbf9f7b77a]<EMAIL_ADDRESS>: Verbose - Auth code client created
[Tue, 02 Aug 2022 01:26:49 GMT]<EMAIL_ADDRESS>: Info - acquireTokenByCode called
[Tue, 02 Aug 2022 01:26:49 GMT]<EMAIL_ADDRESS>: Verbose - initializeRequestScopes called
[Tue, 02 Aug 2022 01:26:52 GMT] : [418edea0-ce66-4a6a-8a4b-c9405eea72ea]<EMAIL_ADDRESS>: Verbose - buildOauthClientConfiguration called
[Tue, 02 Aug 2022 01:26:52 GMT] : [418edea0-ce66-4a6a-8a4b-c9405eea72ea]<EMAIL_ADDRESS>: Verbose - building oauth client configuration with the authority: https://login.microsoftonline.com/<TENANT_ID_REDACTED>
[Tue, 02 Aug 2022 01:26:52 GMT] : [418edea0-ce66-4a6a-8a4b-c9405eea72ea]<EMAIL_ADDRESS>: Verbose - createAuthority called
[Tue, 02 Aug 2022 01:26:54 GMT] : [418edea0-ce66-4a6a-8a4b-c9405eea72ea]<EMAIL_ADDRESS>: Verbose - Auth code client created
[Tue, 02 Aug 2022 01:26:55 GMT] : [418edea0-ce66-4a6a-8a4b-c9405eea72ea]<EMAIL_ADDRESS>: Info - in acquireToken call
ClientAuthError: network_error: Network request failed. Please check network trace to determine root cause. | Fetch client threw: Error: HTTP status code 400 | Attempted to reach: https://login.microsoftonline.com/<TENANT_ID_REDACTED>/oauth2/v2.0/token
    at ClientAuthError.AuthError [as constructor] (/home/kevin/projects/microsoft-authentication-library-for-js/lib/msal-common/dist/index.cjs.js:496:24)
    at new ClientAuthError (/home/kevin/projects/microsoft-authentication-library-for-js/lib/msal-common/dist/index.cjs.js:790:28)
    at Function.ClientAuthError.createNetworkError (/home/kevin/projects/microsoft-authentication-library-for-js/lib/msal-common/dist/index.cjs.js:833:16)
    at NetworkManager.<anonymous> (/home/kevin/projects/microsoft-authentication-library-for-js/lib/msal-common/dist/index.cjs.js:3406:51)
    at step (/home/kevin/projects/microsoft-authentication-library-for-js/lib/msal-common/dist/index.cjs.js:79:23)
    at Object.throw (/home/kevin/projects/microsoft-authentication-library-for-js/lib/msal-common/dist/index.cjs.js:60:53)
    at rejected (/home/kevin/projects/microsoft-authentication-library-for-js/lib/msal-common/dist/index.cjs.js:51:65)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  errorCode: 'network_error',
  errorMessage: 'Network request failed. Please check network trace to determine root cause. | Fetch client threw: Error: HTTP status code 400 | Attempted to reach: https://login.microsoftonline.com/<TENANT_ID_REDACTED>/oauth2/v2.0/token',
  subError: ''

I then stepped through the code and saw that another exception was occurring which was being swallowed/lost:
"{\"error\":\"invalid_request\",\"error_description\":\"AADSTS9002327: Tokens issued for the 'Single-Page Application' client-type may only be redeemed via cross-origin requests.\\r\\nTrace ID: 7c5df8ca-373a-4979-b8af-632349e39500\\r\\nCorrelation ID: d7debd4c-71e8-4ee3-b530-7dc8ee020f4f\\r\\nTimestamp: 2022-08-02 01:26:58Z\",\"error_codes\":[9002327],\"timestamp\":\"2022-08-02 01:26:58Z\",\"trace_id\":\"7c5df8ca-373a-4979-b8af-632349e39500\",\"correlation_id\":\"d7debd4c-71e8-4ee3-b530-7dc8ee020f4f\"}"
Googling for this error resulted in this:
https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/2482
Where they mention adding the Origin header. I added the Origin header using the debugger and then the call succeeded and the Token was returned.

@kevinkilroy This likely means the redirect URI you are using for the flow is registered as a "spa" redirect URI, which should only be used for redirect URIs needed for MSAL.js (not MSAL Node). Can you try changing the redirect URI to be of type "Web"?

That's what I thought. If I do that I now need to setup a client secret which was something I was trying to avoid (since they need to be rotated)

@kevinkilroy The sample linked above demonstrates how to use MSAL Node to do the Auth Code Flow as a public client (i.e. without a client secret).

@jasonnutter I was getting an exception saying client_secret or client_assertion must be present in the body. I finally got it to work when switching the redirect URL from Web to Public (mobile/desktop) in the App registration in Azure portal. Thanks for your assistance.


#200: Added PeerListProvider interface and static implementation.

Issue #, if available: #200
Description of changes:

Defined PeerListProvider interface and static implementation (w/ factory)
Factored out PeerClientPool for managing GRPC clients
Starting to invert dependencies in PeerForwarder class so it's not responsible for building/managing its dependencies

Manually tested with 2 Prepper instances and the following entry-pipeline:
entry-pipeline:
  delay: "100"
  source:
    otel_trace_source:
  processor:
    - peer_forwarder:
        discovery_mode: "static"
        data_prepper_ips:
          - "data-prepper"
          - "data-prepper2"
  sink:
    - pipeline:
        name: "raw-pipeline"
    - pipeline:
        name: "service-map-pipeline"

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

LGTM for the static implementation. I think when we change to dynamic model we should should avoid using string/ips rather reference it as Endpoints.


Release of new version 2.2.0

f74947c [TEST] Use better default locale in test
0507451 [BUILD] Replaced deprecated "weak_vendors" option
530b31e Added GitHub sponsoring information
a414694 [PATCH] Fixed CS
fd7d077 [BUILD] Updated export-ignore files
e18bf64 [BUILD] Updated build tools
7f9dab9 [PATCH] Fixed S
c7fcc13 [BUILD] Removed dependency stage from build matrix
b3c1e3c [TEST] Fixed tests for old symfony versions
d7cf491 [TEST] Removed deprecation warning
c7f65ac [TEST] Increased test coverage
392f97b [PATCH] Fixed CS
960e91e [MINOR] Set (Date)OutputType compound to false
7c69b92 [MINOR] Deprecated DatePickerType
e7ad3b1 [MINOR] Deprecated class in BatchTimeType constructor
9eea35d [TEST] Removed hard Form::getData call in FormHandlerTest
4a2f80c [MINOR] Changed default help_translation_domain to null
b066fd9 [MINOR] Throw exception when validating invalid model
47fbbb9 [PATCH] Minor internal code refactoring
9dd9960 [PATCH] Added FormExtension::getExtendedType method as a symfony BC layer
65ba957 [MINOR] Deprecated HelpTypeExtension in favor of the symfony "help" extension
0de2920 [BUILD] Removed current copyright date
c587559 [BUILD] Cleanup phpstan errors
8473f61 [PATCH] Fixed BatchTimeAfterValidator for with fields
575f23b [PATCH] Minor internal code refactoring
50d94ca [PATCH] Minor internal code refactoring
5c1865f [BUILD] Fixed phpstan ignore list
f18e325 [BUILD] Added more tests
a8fbed6 [MINOR] Fixed wrong form service ids
04a596c [MINOR] Throw correct exception in constraints
d824412 [BUILD] Added more tests

Coverage remained the same at 91.957% when pulling 2d548d6fb27f672d42da1f171aa5a47b52fe6abd on develop into 71bd50f2f48a1887f759c971a9216cbdedb00383 on master.

Coverage remained the same at 91.957% when pulling 2d548d6fb27f672d42da1f171aa5a47b52fe6abd on develop into 71bd50f2f48a1887f759c971a9216cbdedb00383 on master.

Coverage remained the same at 91.957% when pulling 2d548d6fb27f672d42da1f171aa5a47b52fe6abd on develop into 71bd50f2f48a1887f759c971a9216cbdedb00383 on master.


ValueError: Given nodata value, nan, is beyond the valid range of its data type, uint8.

I have a single band .tif file which is in floating point and no NaN values present.  However when I run the following on my image:

mask = "segment.tif"
sam.generate(
    image, mask, batch=True, foreground=True, erosion_kernel=(3, 3), mask_multiplier=255
)

It returns:
rasterio/_io.pyx in rasterio._io.DatasetWriterBase.__init__()

ValueError: Given nodata value, nan, is beyond the valid range of its data type, uint8.

But I already filled any NaN values with -999, so I am confused why rasterio is complaining?

The value range of uint is 0-255. No negative value is allowed


Add joliGEN in Image Services

JoliGEN is an integrated framework for training custom generative AI image-to-image models
Main Features:

JoliGEN implements both GAN and Diffusion models for unpaired and paired image to image translation tasks, including domain and style adaptation with conservation of semantics such as image and object classes, masks, ...

JoliGEN generative AI capabilities are targeted at real world applications such as Controled Image Generation, Augmented Reality, Dataset Smart Augmentation and object insertion, Synthetic to Real transforms.

I will move this to the discoveries list.


[Bug - Partner Center] Unable to publish extension update due to unexpected error

name: Bug report on Partner Center (impacting all developers)
about: Create a report to let us of any breaking issues or bugs that all Edge Addons
developers are facing when publishing their extension to Microsoft Edge Addons
title: "[Bug - Partner Center] Unable to publish extension update due to unexpected error"
labels: Bug, Partner Center
assignees: nagachaitanyalokam

Describe the bug
When attempting to publish a new extension version, after a few minutes of waiting, a vague error messages is shown:

We came across an unexpected error while trying to process your request. Please try again later

Neither the page's JavaScript console nor the network requests that are being made during those few minutes expose any additional information about what kind of error occurred.
To Reproduce
Steps to reproduce the behavior:

Go to https://partner.microsoft.com/en-us/dashboard/microsoftedge/overview
Click on the extension that you want to update
Click on "Update" button
Click on "Replace" link
Upload the new extension update
Click "Continue" button
Click "Publish" button
Click "Publish" button
Wait until the page no longer shows a loading indicator (usually takes a few minutes)
See error: "We came across an unexpected error while trying to process your request. Please try again later"
Go back to "Extension overview" page
Click "Publish" button next to extension version marked as "In draft"
Repeat steps (8) to (13)

Expected behavior

Step (9) should take less than a minute to complete
Step (10) should not show an error message, but instead show a message indicating that the extension was published successfully

Otherwise: The publishing should at least succeed after two or three retries.

Steps (11) to (13) should not be necessary

Screenshots

Desktop (please complete the following information):

OS: Ubuntu 22.04
Browser Chrome
Version 129

Additional context
When publishing new updates for the Adblock Plus for Microsoft Edge extension, we have encountered this problem every once in a while, but it seems to be occurring more frequently recently and it is currently so persistent that we are unable to publish the Adblock Plus 4.8 version to the Microsoft Edge extension store.

@nagachaitanyalokam It looks like the issue meta data wasn't applied and I can't update it after the fact either. I assume I did something wrong there, but I hope it's not a big deal, and thought I'd ping you this way instead.

Hey @ThomasGreiner, thank you for reporting this issue. Could you please try reuploading your extension as this might be an intermediate issue? If you still encounter any problems, feel free to write back to us.

@ManikanthMSFT Thank you for the quick reply and for the suggestion.
I have reuploaded the extension now by replacing the extension file in the "In draft" version, and the problem still persists even after multiple attempts to publish the extension.

Hey @ThomasGreiner, Thank you for your confirmation. We are looking into this and will let you know as soon as we have an update.

Hi @ManikanthMSFT. We're now trying to upload the next version of Adblock Plus and we're still running into this bug. Is there any feedback on getting this resolved?

@ManikanthMSFT Here's a screenshot of the error message we received today.  It appears to be the same issue that Thomas reported 2 weeks ago.

@ManikanthMSFT Sure, no problem. Here's the seller ID that's shown under Account settings > Organization profile > Legal info > Legal business profile > Account details: 26403930

Hi @ThomasGreiner, we appreciate your patience. We see that you submitted an extension, and it got published in the store yesterday. If you have any further questions or concerns, please don’t hesitate to contact us.


fix: throw validation error when updating models with misconfigured h…

…asMany relationship
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #886 (fa408c8) into main (b90e191) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #886      +/-   ##
==========================================
+ Coverage   92.96%   92.97%   +0.01%
==========================================
  Files         117      117
  Lines        4974     4982       +8
  Branches     1446     1448       +2
==========================================
+ Hits         4624     4632       +8
  Misses        329      329
  Partials       21       21

Impacted Files
Coverage Δ

...-react/lib/forms/form-renderer-helper/cta-props.ts
100.00% <100.00%> (ø)

...react/lib/forms/form-renderer-helper/form-state.ts
98.84% <100.00%> (+<0.01%)
:arrow_up:

...act/lib/forms/form-renderer-helper/relationship.ts
90.83% <100.00%> (ø)

.../codegen-ui-react/lib/forms/react-form-renderer.ts
95.85% <100.00%> (+0.04%)
:arrow_up:

packages/codegen-ui-react/lib/helpers/index.ts
100.00% <100.00%> (ø)

packages/codegen-ui/lib/generic-from-datastore.ts
98.88% <100.00%> (+0.03%)
:arrow_up:

Continue to review full report at Codecov.

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


Databases from WS 2016 cannot be opened on non-DCs

When you try to open a ntds.dit file from Windows Server 2016 on Windows 10, you get error JET_errCallbackNotResolved, "A callback function could not be found", pointing to a missing ntdsai.dll file. This file is only present on DCs and LDS servers. Thanks to @ZilentJack for reporting this issue.
I will try to play with the JET_paramDisableCallbacks system parameter that might bypass this issue.

Hi Michael, do you have a sample NTDS.dit and SYSTEM hive that you can post so we can test?

ntdsai.dll is missing even on WS 2016 (fresh install)

Yes, @c0d3z3r0, even a clean install of WS2016 is missing AD DS/AD LDS components. Adding them through the Server Manager (without dcpromo) should solve the issue for now.
Note that these components are also part of AD LDS for Windows 10.

Aaah, thanks! :-)

Am 02.08.2018 um 18:42 schrieb Michael Grafnetter<EMAIL_ADDRESS>Yes, @c0d3z3r0, even a clean install of WS2016 is missing AD DS/AD LDS components. Adding them through the Server Manager (without dcpromo) should solve the issue for now.
Note that these components are also part of AD LDS for Windows 10.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


:arrow_up<EMAIL_ADDRESS>

related to #15939
@50Wliu Next try, because teste are green in https://github.com/atom/language-perl/commits/master

@50Wliu test local passes:
~/.atom/packages/language-perl$ apm test
.....................................................................................................

Finished in 3.997 seconds
101 tests, 1062 assertions, 0 failures, 0 skipped

Tests passed

I need your help here.

I believe this is related to the first-mate changes.  Try removing the leading \\s* from https://github.com/atom/language-perl/blob/26b2f65ba9d3dce67a7de16f2e09b56576b4a643/grammars/perl.cson#L2261 and removing https://github.com/atom/language-perl/blob/26b2f65ba9d3dce67a7de16f2e09b56576b4a643/spec/grammar-spec.coffee#L690 and https://github.com/atom/language-perl/blob/26b2f65ba9d3dce67a7de16f2e09b56576b4a643/spec/grammar-spec.coffee#L693.


Not able to display month events

@twinssbc
When I click on the date in the month view, events are showing undefined. Could you please let me know how to resolve it? Kindly find the below screen grab.

@Raagu1993 If events is undefined, that mean there's no event on that date. Is that not expected?

Thanks, I am getting events.
After getting events in onTimeSelected function, how to bind events in monthviewEventDetail.html.
I am not able to bind it from controller

@Raagu1993 Could you provide your code?

-In my controller I am assigning events to "selectedDate" as below
   $scope.onTimeSelected = function(selectedTime, events, disabled) {
              $scope.selectedDate = events;
    };

-I am trying to bind events values in monthviewEventDetail.html. Not able to print

{{::event.startTime|date: 'HH:mm'}}
                -
                {{::event.endTime|date: 'HH:mm'}}

All day
{{::event.title}}

-But, If I hard code any content in monthviewEventDetail.html. I am able to see in the view

@Raagu1993 You don't need to assign events to selectedDate. It is handled internally.


Validation/fix endpoint nil

Please provide a description of this PR:

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-telemetry-mc_istio
4eeafba4fcad72b7559c71aaaf8b52f502be899f
link
true
/test integ-telemetry-mc

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-telemetry-mc_istio
4eeafba4fcad72b7559c71aaaf8b52f502be899f
link
unknown
/test integ-telemetry-mc

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


无法获取feedly的音频订阅

您好，我正在使用此产品的iOS app，我发现他无法获取到Feedly的音频文件。
例如：https://rsshub.app/lizhi/user/27151442948222380
这个rss源在feedly网站上是可以正常收听音频的。但是到app上却无法查看。
—Google translate——
Hello, I'm using this product's iOS app, and I found that he can't get Feedly's audio file.
For example: https://rsshub.app/lizhi/user/27151442948222380
This rss source can listen to audio normally on the feedly website. But it can't be viewed on the app.

Maybe you can refer to #2780 .
也許你可以參考看看這個 commit #2780。


Remove an unsed ci setup file

See #231, I think I can remove it by this point. I'm happy with github actions.


Ambiance: language manager unsaved changes missing styling

Issue #3562. Please, check.

kick jenkins

:+1:


feat: adding react-layout package

Closes #
📝 Description
Moving layout components to separate package.
Screenshots

Please provide screenshots for any visual changes

Merge checklist

[x] Added/updated tests
[x] Added changeset

@Ashley-p44 yep! Will add some tsdoc comments to these components


Publish to AWS: I could not deploy to an existing cloud app

In Publish to AWS, the Existing Targets list did not show my project. I expected to see it there.

Toolkit: <IP_ADDRESS>
Visual Studio: 17.11.4

Closing as it is duplicate of https://github.com/aws/aws-toolkit-visual-studio/issues/475


Use key derivation and salting to fix rainbow table and brute-force attack opportunities

Hi! I am the writer of a very similar project:
https://github.com/MaxLaumeister/clientside-html-password
I just wanted to drop by to say: please consider using key derivation and salting in your crypto, so that users are less exposed to brute-force and rainbow table attacks.
You can read more here about why it's a good idea:
https://en.wikipedia.org/wiki/Key_(cryptography)#Key_vs_password

I've been meaning to add it for a long time, it should be done now. Thank you for opening this issue !


Add rel-next and rel-prev link tags

https://github.com/kaminari/kaminari#the-rel_next_prev_link_tags-helper-method
Not on all pages. Only ones that have pagination, namely Articles (singular and collections).
That includes the homepage.

@veganstraightedge did you want this on the admin pages too?

Nah. This is mostly a hint for search engine. I'm not even sure if browsers use them to prefetch. Even if they do, that doesn't really apply to our /admin usage.


Dbl click event emit

:+1: will merge and release a new version

Forgot documentation in README, added in 4fae404.


Add Probability Prediction Method

Add wrapper method to predict probabilities via predict_proba, if that method exists in the sklearn class lscv.

@christophM think this is a pretty straightforward addition, would like to see it merged in!

Hey, I just saw this. Thanks for opening this pull request!
Could you add a test as well? Then I think it would be ready to merge.

Of course - added a separate script for some simple testing. Lmk what you think!

Thanks!


Save complete corpus definition in database

In order for curators to add corpora via the interface, it must be possible to save a complete definition of a corpus in the SQL database. Currently, the Corpus table underspecifies the corpus, and most information is stored in the python files.

Status update: https://github.com/UUDigitalHumanitieslab/I-analyzer/pull/1226 greatly expanded the database model. During runtime, I-analzyer uses the database model most of the time, but loads the python definition for features that are still missing in the database model.
The most important thing missing in the current model is anything related to source data extraction. Right now, it looks like we'll resolve #979 by keeping python corpus definitions as they are, but there needs to be a simplified version of the extractor definition, that can actually be stored in the database.
Other than that, there are a few more "specialised" features such as scanned images, but those are not immediately necessary.


Routing ?

How can I do routing, it doesn't work in production.
I tried react-router-dom and React-location both didn't work.

You should use hash routing mode.

@jctaoo  thanks it worked.


docs: Describe what this tool do in short description

Hi, your project looks useful, but to understand what this tool is do i have to scroll readme for section https://github.com/google/wireit#dependencies
Please, save our time and add short description about tool to head of readme. Current description "Wireit upgrades your npm scripts to make them smarter and more efficient. " is give nothing info about what is this.
Let's simplify a search of this tool

Thank you for the feedback, I agree the README could do a better job at showing what Wireit is about at the top. I think the list of features has some of this, but it's not enough detail/context.

I think you can mention main feature of this tool in first paragraph and then add some list of additional features.
Example of short description (i have bad english): "wireit allow you to describe complex npm/yarn scripts with dependencies easy"
And then mention parallelism, incremental building and other features as list with feature and short description if necessary.


Add parsing for various Content-type

Currently the API only accepts text/plain as it's content type. The API needs to be able to parse other content types like application/json and application/x-www-form-urlencoded
Some hints on how to implement this can be taken from https://github.com/oakserver/oak/blob/main/examples/routingServer.ts#L50-L67
If it is the first time that you contribute to the project, follow these steps:
Write a comment in this issue thread to let other possible contributors know that you are working on this bug. For eg : Hey all, I would like to work on this issue., follow Contributing to the project🔥✨ and feel free to ask anything related to this issue ✌

Hey, i wanna work on this. :)


I have already added the relevant changes to the code and now I am having trouble with creating docker image and running it.

I clone Hyperledger Besu code from repo. then I changed hashing algorithm of pow from keccak to acson. then I need to run this code and create some nodes but I'm in trouble with run and create docker image of this code to run network. how can I create an image and then using of it?

Hi there - we have a graldetask that should work for this - can you try:
./gradlew distDocker in your Besu directory. This needs to be done at the top level /besu
Let me know if this answers your question. There might be more info that is useful here: https://wiki.hyperledger.org/display/BESU/Building+from+source

To add to @non-fungible-nelson 's answer, distDocker is the correct task, but it is going to build images as hyperledger/besu-[variant]:[version] which you will not be able to publish to dockerhub.  An easy way to build images that are for a different docker repo you can publish to (for kubernetes usage, for example) you can pass a couple extra gradle parameters:
release.releaseVersion (defaults to the value found in gradle.properties)
dockerOrgName (defaults to "hyperledger")
dockerArtifactName (defaults to "besu")
So, for example to build images for abolfazlak/my-super-besu you can use:
./gradlew -PdockerOrgName=abolfazlak -PdockerArtifactName=my-super-besu distDocker
Like that you can target a docker repository you can publish to.

thanks.
after running this command it gives me 6 images. what should I do for creating some nodes or adding some transactions?

@non-fungible-nelson

@non-fungible-nelson
@garyschulte
could you please help me?

This guide uses the main besu docker images , but should help. You become. More familiar with how to start and run a blockchain
https://besu.hyperledger.org/stable/private-networks/tutorials/quickstart
Once you have an idea how it works, starting up my-super-besu can be as simple as running
`docker run

when I run this command it will return: {"gasUser":"0x0","timens":212958,"time":212,"gasTotal":"0x0","output":"0x"} and finished.


Cherry-pick : Fixing a couple of network plugin life-cycle mgmt issues

Cherry-picking https://github.com/docker/docker/pull/29556

@mavenugo doesn't compile

@vieux yes. we also need to cherry-pick https://github.com/docker/docker/pull/29665. I will take care of it.

@mavenugo windows error related ?

ping @tiborvass
LGTM

LGTM

@mavenugo looks like this was not a 1-on-1 cherry pick of https://github.com/docker/docker/pull/29556, but also contains changes that are in https://github.com/docker/docker/pull/29891/, correct?

@thaJeztah the cherry-pick for 1.13.0 branch in docker must come from libnetwork v0.9 branch and yes, by the time this vendoring happened we got 1 additional patch from #29891


Update .java style for security/action/

Description
Follows #2823.
Updates the style for java files under the **/security/action/ dir.
Check List

[ ] ~New functionality includes testing~
[x] New functionality has been documented
[x] Commits are signed per the DCO using --signoff

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

Closing this because so few changes are present here. Going to condense with other packages.


increased max version to Hugo latest v0.112.7

fixed https://github.com/nunocoracao/blowfish/issues/752


Changing the layer of a selected shape caused it to disappear

Changing the layer of a selected shape caused it to disappear, but reloading the asset shows it correctly. This might be a race condition.

This was due to a double call to the FX thread


Header write being skipped on clients causes a connection freeze

I'm currently writing more high-level tests (reverse proxy) and finding a lot of new issues with HTTP/2 and the client. Seems like I'll be adding more soon enough, it seems like a good way to validate the code.

The reverse proxy test I'm doing has this setup:
Firefox <-- HTTP/1.1 --> vibe.http.proxy <-- HTTP/2 --> vibe.http.fileserver
I tried to test to a full extend most HTTP protocol features this way. I managed to make it stable for secure http/2. There was even a severe bug in nghttp2 that made it impossible to transfer large files.
Here is a commit log just to give an idea (most of it is writeln debug info):
https://github.com/etcimon/vibe.d/commit/71752440bab77e2146fe62d44686586d9f7a0130
Most of the changes are in http2.d btw. I'm going to be testing the h2c (cleartext http/2 upgrade) and the push response over the next day and start merging. Which of your branches would you rather have it based on? Is there some way I can help merge it in the cleanup branch?

Ideal would be to keep all new changes based on the cleanup branch. I currently slowly work through the http2 commit and integrate parts into master (or revert small cosmetic bits to make the diff smaller) and constantly rebase onto master during that time. Pulling from the original http2-botan branch should still be possible without big issues, but they do start to diverge.
Regarding the test setup, that indeed seems to be very well suited for testing, I remember how a lot of bugs were caught that way in the early days when the first vibe.d version got released (which were not caught by testing the server or client components in isolation).

Regarding the test setup, that indeed seems to be very well suited for testing, I remember how a lot of bugs were caught that way in the early days when the first vibe.d version got released (which were not caught by testing the server or client components in isolation).

Yes, I'm preparing to write it for some test server in the test/ subdirectory with this in travis syntax: http://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-PhantomJS
Still need to figure out what test pages would be most suitable

I was wondering about a feature. It could be useful to have a HTMLPushStream in the fileserver, which reads the src="" attributes and pushes them if the file isn't a 304. What do you think?

Hm, just going through the open PRs, this isn't in the http2-botan-cleanup branch, yet, is it? Can you retarget the PR onto it?

This can be closed, I marged many changes except one that I made a pull request for.
I haven't merged my changes to the reverse proxy and file server so there's a few additions there too. I also fixed clearSession in the cookie jar recently.. I just need some time to finish a project and I can merge everything then


Deepgram doesn't seem to always send end of speech events.

It's a really weird one - it seems like deepgram sometimes doesn't send a final transcript even if I stop speaking. It seems to have to do with background noise.
Note I get this interim transcript with 'Yeah." at 12:26:51
Then I stop talking, and don't get the event. Finally I say "Yeah" again at 12:27:10 (after nearly 20 seconds of mic-muted silence) and then the final transcript comes in.
I dug through the code - this might just be a bug with Deepgram, I don't see where we're filtering out mesages - but it's a really strange one.
{"message": "STT event: {\"type\": \"SpeechStarted\", \"channel\": [0, 1], \"timestamp\": 91.2}", "level": "WARNING", "name": "livekit.plugins.deepgram", "pid": 63106, "job_id": "AJ_nRP3NNBXKzM7", "timestamp": "2024-10-16T12:26:50.898564+00:00"}
{"message": "STT event: SpeechEventType.START_OF_SPEECH -  alternatives", "level": "WARNING", "name": "livekit.agents.pipeline", "pid": 63106, "job_id": "AJ_nRP3NNBXKzM7", "timestamp": "2024-10-16T12:26:50.898662+00:00"}
{"message": "STT event: {\"type\": \"Results\", \"channel_index\": [0, 1], \"duration\": 1.0800018, \"start\": 90.32, \"is_final\": false, \"speech_final\": false, \"channel\": {\"alternatives\": [{\"transcript\": \"Yeah.\", \"confidence\": 0.99609375, \"words\": [{\"word\": \"yeah\", \"start\": 90.96, \"end\": 91.4, \"confidence\": 0.99609375, \"punctuated_word\": \"Yeah.\"}]}]}, \"metadata\": {\"request_id\": \"dfc3c733-fe1f-475f-96a5-f59fef8e4c24\", \"model_info\": {\"name\": \"2-phonecall-nova\", \"version\": \"2024-02-05.31606\", \"arch\": \"nova-2\"}, \"model_uuid\": \"9c7ae805-e600-4e0f-a6a2-725be88b7ede\"}, \"from_finalize\": false}", "level": "WARNING", "name": "livekit.plugins.deepgram", "pid": 63106, "job_id": "AJ_nRP3NNBXKzM7", "timestamp": "2024-10-16T12:26:51.085481+00:00"}
{"message": "STT event: SpeechEventType.INTERIM_TRANSCRIPT - Yeah. alternatives", "level": "WARNING", "name": "livekit.agents.pipeline", "pid": 63106, "job_id": "AJ_nRP3NNBXKzM7", "timestamp": "2024-10-16T12:26:51.085878+00:00"}
{"message": "Interrupted agent speech", "level": "WARNING", "name": "livekit.agents.pipeline", "pid": 63106, "job_id": "AJ_nRP3NNBXKzM7", "timestamp": "2024-10-16T12:26:51.228985+00:00"}
{"message": "VAD end of speech but no final transcript to validate", "level": "WARNING", "name": "livekit.agents.pipeline", "pid": 63106, "job_id": "AJ_nRP3NNBXKzM7", "timestamp": "2024-10-16T12:26:51.361018+00:00"}
{"message": "STT event: {\"type\": \"Results\", \"channel_index\": [0, 1], \"duration\": 2.1800003, \"start\": 90.32, \"is_final\": false, \"speech_final\": false, \"channel\": {\"alternatives\": [{\"transcript\": \"Yeah.\", \"confidence\": 0.9980469, \"words\": [{\"word\": \"yeah\", \"start\": 91.2, \"end\": 91.7, \"confidence\": 0.9980469, \"punctuated_word\": \"Yeah.\"}]}]}, \"metadata\": {\"request_id\": \"dfc3c733-fe1f-475f-96a5-f59fef8e4c24\", \"model_info\": {\"name\": \"2-phonecall-nova\", \"version\": \"2024-02-05.31606\", \"arch\": \"nova-2\"}, \"model_uuid\": \"9c7ae805-e600-4e0f-a6a2-725be88b7ede\"}, \"from_finalize\": false}", "level": "WARNING", "name": "livekit.plugins.deepgram", "pid": 63106, "job_id": "AJ_nRP3NNBXKzM7", "timestamp": "2024-10-16T12:26:52.155643+00:00"}
{"message": "STT event: SpeechEventType.INTERIM_TRANSCRIPT - Yeah. alternatives", "level": "WARNING", "name": "livekit.agents.pipeline", "pid": 63106, "job_id": "AJ_nRP3NNBXKzM7", "timestamp": "2024-10-16T12:26:52.156046+00:00"}
{"message": "STT event: {\"type\": \"Results\", \"channel_index\": [0, 1], \"duration\": 3.1800003, \"start\": 90.32, \"is_final\": false, \"speech_final\": false, \"channel\": {\"alternatives\": [{\"transcript\": \"Yeah.\", \"confidence\": 0.9970703, \"words\": [{\"word\": \"yeah\", \"start\": 91.28, \"end\": 91.78, \"confidence\": 0.9970703, \"punctuated_word\": \"Yeah.\"}]}]}, \"metadata\": {\"request_id\": \"dfc3c733-fe1f-475f-96a5-f59fef8e4c24\", \"model_info\": {\"name\": \"2-phonecall-nova\", \"version\": \"2024-02-05.31606\", \"arch\": \"nova-2\"}, \"model_uuid\": \"9c7ae805-e600-4e0f-a6a2-725be88b7ede\"}, \"from_finalize\": false}", "level": "WARNING", "name": "livekit.plugins.deepgram", "pid": 63106, "job_id": "AJ_nRP3NNBXKzM7", "timestamp": "2024-10-16T12:26:53.136890+00:00"}
{"message": "STT event: SpeechEventType.INTERIM_TRANSCRIPT - Yeah. alternatives", "level": "WARNING", "name": "livekit.agents.pipeline", "pid": 63106, "job_id": "AJ_nRP3NNBXKzM7", "timestamp": "2024-10-16T12:26:53.137251+00:00"}
{"message": "VAD end of speech but no final transcript to validate", "level": "WARNING", "name": "livekit.agents.pipeline", "pid": 63106, "job_id": "AJ_nRP3NNBXKzM7", "timestamp": "2024-10-16T12:27:10.176932+00:00"}
{"message": "STT event: {\"type\": \"Results\", \"channel_index\": [0, 1], \"duration\": 4.279999, \"start\": 90.32, \"is_final\": false, \"speech_final\": false, \"channel\": {\"alternatives\": [{\"transcript\": \"Yeah. Yeah.\", \"confidence\": 0.9970703, \"words\": [{\"word\": \"yeah\", \"start\": 91.28, \"end\": 91.78, \"confidence\": 0.9970703, \"punctuated_word\": \"Yeah.\"}, {\"word\": \"yeah\", \"start\": 94.159996, \"end\": 94.6, \"confidence\": 0.9848633, \"punctuated_word\": \"Yeah.\"}]}]}, \"metadata\": {\"request_id\": \"dfc3c733-fe1f-475f-96a5-f59fef8e4c24\", \"model_info\": {\"name\": \"2-phonecall-nova\", \"version\": \"2024-02-05.31606\", \"arch\": \"nova-2\"}, \"model_uuid\": \"9c7ae805-e600-4e0f-a6a2-725be88b7ede\"}, \"from_finalize\": false}", "level": "WARNING", "name": "livekit.plugins.deepgram", "pid": 63106, "job_id": "AJ_nRP3NNBXKzM7", "timestamp": "2024-10-16T12:27:10.256475+00:00"}
{"message": "STT event: SpeechEventType.INTERIM_TRANSCRIPT - Yeah. Yeah. alternatives", "level": "WARNING", "name": "livekit.agents.pipeline", "pid": 63106, "job_id": "AJ_nRP3NNBXKzM7", "timestamp": "2024-10-16T12:27:10.256606+00:00"}
{"message": "STT event: {\"type\": \"Results\", \"channel_index\": [0, 1], \"duration\": 4.4400024, \"start\": 90.32, \"is_final\": true, \"speech_final\": true, \"channel\": {\"alternatives\": [{\"transcript\": \"Yeah. Yeah.\", \"confidence\": 0.9975586, \"words\": [{\"word\": \"yeah\", \"start\": 91.2, \"end\": 91.7, \"confidence\": 0.9975586, \"punctuated_word\": \"Yeah.\"}, {\"word\": \"yeah\", \"start\": 94.32, \"end\": 94.76, \"confidence\": 0.98535156, \"punctuated_word\": \"Yeah.\"}]}]}, \"metadata\": {\"request_id\": \"dfc3c733-fe1f-475f-96a5-f59fef8e4c24\", \"model_info\": {\"name\": \"2-phonecall-nova\", \"version\": \"2024-02-05.31606\", \"arch\": \"nova-2\"}, \"model_uuid\": \"9c7ae805-e600-4e0f-a6a2-725be88b7ede\"}, \"from_finalize\": false}", "level": "WARNING", "name": "livekit.plugins.deepgram", "pid": 63106, "job_id": "AJ_nRP3NNBXKzM7", "timestamp": "2024-10-16T12:27:10.464816+00:00"}
{"message": "STT event: SpeechEventType.FINAL_TRANSCRIPT - Yeah. Yeah. alternatives", "level": "WARNING", "name": "livekit.agents.pipeline", "pid": 63106, "job_id": "AJ_nRP3NNBXKzM7", "timestamp": "2024-10-16T12:27:10.465346+00:00"}
{"message": "Validating final transcript", "level": "WARNING", "name": "livekit.agents.pipeline", "pid": 63106, "job_id": "AJ_nRP3NNBXKzM7", "timestamp": "2024-10-16T12:27:10.465536+00:00"}
{"message": "Validating final transcript", "level": "WARNING", "name": "livekit.agents.pipeline", "pid": 63106, "job_id": "AJ_nRP3NNBXKzM7", "timestamp": "2024-10-16T12:27:10.465956+00:00"}
{"message": "STT event: SpeechEventType.END_OF_SPEECH -  alternatives", "level": "WARNING", "name": "livekit.agents.pipeline", "pid": 63106, "job_id": "AJ_nRP3NNBXKzM7", "timestamp": "2024-10-16T12:27:10.466586+00:00"}

this seems to indicate we should have a timeout where if is_final is never set to true, just running with the interim results?

I think so, but we have to be careful too - deepgram does send the final transcript event after the user speaks again with all of the text. In the example I shared, I only said Yeah twice (with about 20 seconds between each).

@davidzhao any thoughts on using their Python SDK here?

For now though - we've switched to Google STT, which honestly feels like a better product - very fast.

I think we are going to force it to flush, like what they've recommended.. but I agree with you, even if the STT provider doesn't support streaming, as long as it can complete inference fairly quickly, it shouldn't make a huge difference. we'll evaluate things a bit as well and perhaps change our recommendations.


Replace carousel images

Images shown in a carousel need to be of a higher resolution; otherwise they look awful on desktop.

2e383c06a97108d125ce3d2c10ded3656f3868be


Windows v1.3.7-windows-alpha cannot trigger capital keys e.g. A-M-X for two pass hint mode and W for grid cut up

I can trigger hint mode with Alt+Win+x but Alt+Win+Shift+x triggers the same hint mode instead of triggering two pass hint mode.
Also, from normal mode after A-M-c I can hit x for hint mode but X (shift+x) does not trigger two pass hint mode. It triggers hint mode.
Similarly, I can trigger left with h but not top with H. I can do w for grid up but not W for grid cut up.

I fourd this issue mentions it in its third bullet:

Unable to use 2-stage hint mode. Shift + 'x' in normal mode goes into hint mode, not 2-state hint mode.

I've been recently working on a project that can do what warpd does on Linux/macOS but on Windows. It includes a few other things (mostly, a different way of defining keyboard combos that can't be integrated in warpd as far as I know), which is why it's not simply a warpd fork even though it's heavily inspired by it. If you're interested in checking it out, you can find it in my GitHub profile. Still a few things to improve (documentation!) but there's a warpd-style config file which mimics the features of warpd (two pass hints included).


feat(LightProfinite): LightProfinite is precoherent

This PR gives the characterisation effective epi \iff epi \iff continuous surjection in LightProfinite, following the same approach as for CompHaus, Profinite and Stonean. We conclude that LightProfinite is preregular and finitary extensive, hence precoherent, allowing the definition of light condensed sets (done in #11586).

[x] depends on: #9513

Thanks!
bors d+

Thanks for the review!
bors merge


When there's a password set and no profile parameters, just skip to calling the app directly.

fixes issue #13

Thanks for the patch!


fix(deps): update kubernetes packages to v0.30.1

This PR contains the following updates:

Package
Type
Update
Change

k8s.io/apimachinery
require
minor
v0.29.2 -> v0.30.1

k8s.io/client-go
require
minor
v0.29.2 -> v0.30.1

Release Notes

kubernetes/apimachinery (k8s.io/apimachinery)
v0.30.1
Compare Source
v0.30.0
Compare Source
v0.29.5
Compare Source
v0.29.4
Compare Source
v0.29.3
Compare Source

kubernetes/client-go (k8s.io/client-go)
v0.30.1
Compare Source
v0.30.0
Compare Source
v0.29.5
Compare Source
v0.29.4
Compare Source
v0.29.3
Compare Source

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.

This PR is introducing 4 critical and 9 high vulnerabilities. These requires some manual dependency upgrades, but also one critical vulnerability does not yet have any remediation.
We have decided to not to merge this PR as risk is too high.
https://security.snyk.io/vuln/SNYK-GOLANG-GOGSIOGOGS-6097269
https://security.snyk.io/vuln/SNYK-GOLANG-GOGSIOGOGS-6097481
https://security.snyk.io/vuln/SNYK-GOLANG-GOAUTHENTIKIO-3339622
https://security.snyk.io/vuln/SNYK-GOLANG-GOAUTHENTIKIO-6041974
https://security.snyk.io/vuln/SNYK-GOLANG-GOETCDIOETCDV3ETCDMAIN-1083901
https://security.snyk.io/vuln/SNYK-GOLANG-GOAUTHENTIKIO-3184404
https://security.snyk.io/vuln/SNYK-GOLANG-GOAUTHENTIKIO-5759296
https://security.snyk.io/vuln/SNYK-GOLANG-GOPKGINYAMLV2-3315326
https://security.snyk.io/vuln/SNYK-GOLANG-GOETCDIOETCDV3EMBED-1083945
https://security.snyk.io/vuln/SNYK-GOLANG-GOOGLEGOLANGORGGRPC-5953328
https://security.snyk.io/vuln/SNYK-GOLANG-GOETCDIOETCDV3ETCDMAIN-1083902
https://security.snyk.io/vuln/SNYK-GOLANG-GOETCDIOETCDV3ETCDSERVER-1083907
https://security.snyk.io/vuln/SNYK-GOLANG-GOETCDIOETCDV3PKGHTTPUTIL-1083906

Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update (v0.30.1). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.


Object key as type without identifier throws TypeError

This is a:

[X] Bug Report
[ ] Feature Request
[ ] Question
[ ] Other

Which concerns:

[ ] flow-runtime
[X] babel-plugin-flow-runtime
[ ] flow-runtime-validatosr
[ ] flow-runtime-mobx
[ ] flow-config-parser
[ ] The documentation website

What is the current behaviour?

// input.js
type Animal = {};

type AnimalID = string

type AnimalMap = {
  [AnimalID]: Animal,
}

throws...
TypeError: src/types/test.js: Cannot read property 'name' of null
    at converters.ObjectTypeIndexer (/home/seve/workspace/okcollege/libs/okc-js/node_modules/babel-plugin-flow-runtime/lib/convert.js:708:62)
    at convert (/home/seve/workspace/okcollege/libs/okc-js/node_modules/babel-plugin-flow-runtime/lib/convert.js:49:16)
    at /home/seve/workspace/okcollege/libs/okc-js/node_modules/babel-plugin-flow-runtime/lib/convert.js:682:12
    at Array.map (native)
    at converters.ObjectTypeAnnotation (/home/seve/workspace/okcollege/libs/okc-js/node_modules/babel-plugin-flow-runtime/lib/convert.js:681:114)
    at convert (/home/seve/workspace/okcollege/libs/okc-js/node_modules/babel-plugin-flow-runtime/lib/convert.js:49:16)
    at converters.TypeAlias (/home/seve/workspace/okcollege/libs/okc-js/node_modules/babel-plugin-flow-runtime/lib/convert.js:400:14)
    at convert (/home/seve/workspace/okcollege/libs/okc-js/node_modules/babel-plugin-flow-runtime/lib/convert.js:49:16)
    at TypeAlias (/home/seve/workspace/okcollege/libs/okc-js/node_modules/babel-plugin-flow-runtime/lib/transformVisitors.js:133:47)
    at NodePath._call (/usr/local/share/.config/yarn/global/node_modules/babel-traverse/lib/path/context.js:76:18)

What is the expected behaviour?

Successful compilation.

Which package versions are you using?

Approximately,
"dependencies": {
    "babel-cli": "^6.23.0",
    "babel-core": "^6.23.1",
    "babel-plugin-flow-runtime": "^0.5.0",
    "babel-plugin-transform-es2015-modules-commonjs": "^6.23.0",
    "babel-plugin-transform-flow-strip-types": "^6.22.0",
    "babel-preset-stage-1": "^6.22.0"
  },
  "babel": {
    "presets": [
      "stage-1"
    ],
    "plugins": [
      [
        "transform-flow-strip-types"
      ],
      [
        "flow-runtime"
      ],
      [
        "transform-es2015-modules-commonjs"
      ]
    ]
  }

I've used this syntax for some time, but I don't see any official documentation saying it is supported- but it is working with flow right now so it may be worth supporting.
The workaround or "correct" syntax is as follows...
// input.js
type Animal = {};

type AnimalID = string

type AnimalMap = {
  [id: AnimalID]: Animal,
}

I have this problem, too. If I find the time I'll try to create a PR for this.

Works fine now. Thank you @phpnode! Really appreciate the library


docs: add instructions on how to opt out of updates

Closes #33
If the instructions here look good, I can add them to https://github.com/ublue-os/website (I'd just need to know where)

Thanks!


Input beyond video stream

Hey friends,
As far as I understood in the YouTube videos and judging from what I read in the comments, it is also desirable for you to give the neural network input beyond the video stream. E.g. you would like to know the position and speed and maybe the planned trajectory of other vehicles around you.
I found this project on GitHub and I was wondering if we could integrate this: https://github.com/lgrahl/scripthookvpy3k
To get the information beyond the video stream. It shall give us access to a rich API that is "documented" (rather enumerated) here: http://www.dev-c.com/nativedb/
What do you think?
Regards
Patrik

Hi Patrik,
We've already been using scripthook for failsafes, along with preparing for reinforcement learning. I don't want the model itself to take inputs other than visual, but we can use GPS and some other stuff to validate what the AI does. I'd still rather not even do that, or have failsafes. Maybe one day!

Thanks for the info.
Can you please guide me to the video where you included scripthook for failsafes - thanks a lot.


random-rgba warning

opacity should be a number between 0 and 1

Should be:

Opacity should be a number between 0 and 1: #{$opacity} given. As a result, the color will be fully opaque.

I didn't think to interpolate information into warnings/errors. Useful!


Suggested changes to Adjusting the Padding of an Element lesson

Focus on padding and leave margin out of the exercise.  It's not needed for the exercise and potentially confusing for anyone looking at the css.
Remove border around yellow box because it detracts from padding lesson, which focuses on the nested boxes to illustrate padding.  While there is padding associated with the yellow box, it is not necessary for the lesson.
Also, add one more box - an orange one with no padding, to show what and where padding is.
Add explanation that the black border is outside of the padding, not part of it, the beginning of the padding cannot be seen because it is not marked and background fills entire box, including padded and non-padded areas.
Change box text to indicate amount of padding.
Here's the suggested code for the lesson:

no padding

20px padding

10 px padding

Here's the suggested lesson wording (the formatting didn't copy):

Now let's put our Cat Photo App away for a little while and learn more about styling HTML.

You may have already noticed this, but all HTML elements are essentially little rectangles.

Three important properties control the space that surrounds each HTML element: padding, margin, and border.  In this lesson, we look at padding.

An element's padding controls the amount of space between the element and where its border begins, which is also the inside edge of the border.

Here, we can see that the orange box, green box and the red box are nested within the yellow box.  There is a black border around each of the three nested boxes.  In each nested box, the padding stops where that black border begins.

You cannot see where the padding begins because it is not marked and the background color fills the entire box, including both the portion without padding and the portion with padding.  But, you can look at the orange box to get an idea of the size of the area around the text that has no padding.

The text in each of the three nested boxes tells you how much padding, if any, there is in the box.  The orange box has no padding.  The red box has 20px (20 pixels) of padding.  And, the green box has 10px (10 pixels) of padding.

When you increase the green box's padding, it will increase the distance between the text and the border around it.

Change the padding of your green box to match that of your red box.

Your proposed text is about 260 words, up from 126 words in the original.  This is too long by about ~100 words.  We aim for around 100 words.  Any more and no one reads it.  It also doesn't fit well into the display area.
We're not going to leave margin out of it because this challenge is a lead-in to the next two waypoints which DO discuss margin.  Padding here is used in contrast to the margin.
I am amenable to adding a box with no padding - I think that's potentially a good idea, but we can't increase the word count dramatically.  If you'd like to take a stab at re-writing it with a target of no more than ~160 words, we might be able to use that.

@SaintPeter any updates on this?

@freecodecamper Closing this as stale with no updates.
Please feel free to comment to re-open.
/cc @SaintPeter @bugron


Question of label set vectors

Hi thanks for providing great work.
I have a question about the implementation detail of label set vectors (T). As you've pointed out in the paper, text encoder embeds the set of N potential labels into continuous vector space. However, as far as I can see, the code below seems to be that part, but it seems that only the feature of the eos token is selected after tokenizing the label set.
https://github.com/isl-org/lang-seg/blob/9d063b126f1b64e38ddb20cc75fc74435bfdcbd3/modules/models/lseg_net.py#L183
Shouldn't it extract the embedding from each label token?
Or is it being processed by a other part of the code?
Thanks

Hi @jihwanp ,
Thanks for your interest in LSeg!
The text source is processed by here. You could use a predefined label set or you could random input any label set with random length, order and content.
Hope this helps!

Hi @jihwanp ,
Thanks for your interest in LSeg!
The text source is processed by here. You could use a predefined label set or you could random input any label set with random length, order and content.
Hope this helps!

hi、 i want to know if N dim is not sure、 How can we design the Spatial regularization Structure at the back ,


extensibility bug - report 2 "General Journal - Test" - "Gen. Journal Batch" - OnPreDataItem() - CopyFilter statements from Line destroy Batch data item's own filters

This report does the following:

That makes sense, to a point :-)
But we have a product that mediates approval of General Journal Batches, and does so by filtering to a single batch and then running this report. However, that filter gets lost as the above lines trample the Template/Batch Names on the Batch record with the Lines' filters, which in our case (because we pass only a Batch record to the report, not a Line one)... are empty, so the filters get cleared.
So the report that is produced shows all batches, not only the one that was filtered and passed in as the "Gen. Journal Batch" data item. And we can't (nicely, generically) work around this by filtering the Line data item instead, as our code only handles the Batch.
In the short term it looks like we'll have to work around this by checking if the Lines' filters are empty, and if so copying the Batch's filters to the Line... so that your later code will copy them back. edit: This can't work for runtimes that don't have report extensions. What we have done is to special-case this Report ID and do our SetRecFilter() in another group, then restore the default filter group.
But ideally we wouldn't have to do that. So is it possible, please, that your report could only copy those filters when the destination fields in the Batch are both blank? e.g.
            if (GetFilter(Name) = '') and (GetFilter("Journal Template Name") = '') then begin // NEW
                "Gen. Journal Line".CopyFilter("Journal Batch Name", Name);
                "Gen. Journal Line".CopyFilter("Journal Template Name", "Journal Template Name");
            end; // NEW

Ditto for any other Journal/Batch type reports with the same pattern, please :-) edit: I didn't find any obvious ones, yet
Thank you!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 51299.