Consider renaming Accessible to ObjectReference

"Accessible" does not really make sense as a name. In Federico's GAUDEC talk he shows an example of a complex structure and names these all "ObjectReference", which is much more clear and useful to newcomers and still paints the right idea.
This also allows us to get rid of the distinction between an object that implements accessible "Accessible which implements the accessible interface", and then we could write the unambiguous "object which implements the accessible interface".

Yeah i noticed ObjectReference too in the slides. I agree that it is important to avoid confusion between type and trait, but I disagree that Accessible did not make sense - even in the worst light Accessible gives hints to purpose and contextual provenance of the objects referred to, all in one word. A work of art. But I guess I am partial. :smile:
What I like about ObjectReference is that it functionally describes what these things are but what I like less is that it does so in the most generic way. Is it the best we can do? Maybe boring is good.
And should we be worried that it is possible to be confused over 'reference'?

As long as "reference" is defined in the documentation, it should be fairly clear.


Cold start times

When a candidate is applying, most certainly they'll have to wait around 2-5seconds until the cloud functions start & process the application and this is annoying.
I wonder if we could have a cronjob firing at even intervals at the cloud function so it stays up? Or some other alternative to forbid cold starts?

I also only see the cronjob with an even interval as the option. As we do not have a constant traffic we need to keep it hot.
This is also what this article suggests.
If this change is not enough, we can also try out to play with the imports as suggested in this video.

Here is a template for a cronjob on staging, it runs every minute. I'm not sure it's frequent enough - will see over time. Once we merge the new application flow, we should create one in production too.
https://console.cloud.google.com/cloudscheduler?project=dps-website-staging-0&authuser=1&organizationId=903600181628&jobs-tablesize=50


Display real line number in pages

Request
The current design of log viewer display the first line number as 1 on all pages. This is confusing to me at the beginning, because logs in different pages look very similar and I was referring to the line number to see if I have moved to another page.
Possible implementation
Can we let the log viewer display the actual line number in the original file?

If we display the real line number, then the space taken up for the line number column will start to increase. In many cases, there are millions of log events, in my opinion this would be worse. Right now, we display the log event that is selected in the status bar, that indicates our progression through the log and line number indicates where we are in the current page.
I might be wrong, I'm going to do some tests to see how it would look if we kept the original line number across pages. I plan to have infinite scrolling eventually, need to think about how line number would work in this situation.


Cannot be build with stack

When putting this package into my stack.yaml as a extra-deps I'm getting the following error: ": error:
Could not find module ‘Yesod.Auth.OAuth2.GitHub’
It is not a module in the current program, or in any known package.
"

Closing as unable to reproduce. Happy to still follow up and figure out why it's not working for you, but the project indeed builds fine AFAICT, so I suspect it's something else going on.
% cat stack.yaml
resolver: lts-12.14
packages:
  - .
extra-deps:
  - hoauth2-1.7.2
  - uri-bytestring-aeson-<IP_ADDRESS>
  - yesod-auth-oauth2-<IP_ADDRESS>

allow-newer: true
% grep -A 3 '^dependencies:' package.yaml
dependencies:
- base >= 4.7 && < 5
- yesod-auth-oauth2

% grep import src/Lib.hs
import Yesod.Auth.OAuth2.GitHub
% stack build; echo $?
WARNING: Ignoring out of range dependency (allow-newer enabled): exceptions-0.10.0. hoauth2 requires: >=0.8.3 && <0.10
0


[#2065] Fix QuorumTest to use random port

What changes were proposed in this pull request?
As title.
Why are the changes needed?
Fix: #2065
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing UTs.

@zuston Thanks for you review, I think @2068 and this PR are two way to avoid port conflict.

#2068 aimed to try to use an free port, but cannot promise to use the free port, since outer Process could obtain the same port too.
This PR aimed to start Process with port 0 and export the listen port which Coordinator process is using now, and the other Uniffle process can get the Coordinator listening port and connect it with that port.

@jerqi @zuston Thanks for your review


(Option?) to stop application on compile errors

Hello,
I would like to be able to configure revolver in a way that it would stop the application on compile errors.
Eg:
sbt ~re-start
// application runs, start implementing new feature
// make changes to the code, but accidentally break compilation
// recompilation triggered, and it fails
At this point I would expect the application running in the background to stop running. I am developing a webapp, so I expect navigating to the correct address to give an unable to connect error.
What happens is that the former version keeps on running, and unless I take a good look at the compilation output, I am interacting with the old version, and wondering why my changes are not taking any effect

@jrudolph

I agree that this would be nice to have.

Just looking around, I think this should only be optional or governed by a flag

Just searched for this again, and stumbled upon my own issue report here :(


Fix the bug that you can't read custom data in data class before postInit event

this.tempRegistry.valueProcessorMap.get(key) is nullable and should be checked.
Not every custom data class is associated with data processor.
So, this.tempRegistry.valueProcessorMap.get(key) may return null.
And ImmutableList.copyOf(null) will throw NullPointerException and panic the plugin.
This PR fix the problem that custom data is unreadable before the SpongeManipulatorRegistry being completely initialized.
Fixes #2047

This is breaking-change in impl. Old impl. throws exception, if list is null.

But this method is nullable by design, since valueProcessor is not always exist for every type.
Why you should make the temporary method throw exception when the formal one never does?
 return this.valueDelegates.get(key);

The formal one always return something and never throws

@gabizou Hello, I fixed the problem you mentioned, is there still any problem in this PR?

How to reproduce:
@Listener
public void onPreInit(GamePreInitializationEvent event) {
    ItemStack.of(ItemTypes.SPONGE, 1).createSnapshot().createStack()
            .offer(MyHomes.FRIENDS, Arrays.asList(UUID.randomUUID(), UUID.randomUUID()));
}

(MyHomes is part of the myhomes testplugin)


Map: Identify all variables that wont work w 'Plan D'

We have entities like Sample and Assay which have records representing multiples specimens. Plan D involves doing things like incorporating weighted means into our repertoire of stats, but that will only work for those variables which do actually represent specimens. Ex: the pathogen detection assay has variables like pathogen prevalence (the percent of specimens positive for some pathogen in a 'pool') and pathogen presence (values are like 'present' or 'absent' for the enitre pool, the most you can say is at least one specimen was positive). Plan D will work for variables like pathogen prevalence, which represents data about specimens, but not for pathogen presence which represents data about pools.
We need to know, so we can annotate, all terms which are not appropriate for Plan D.

lol. sorry, i should probably put this somewhere else... hmm.


Specifying prerelease with dependencies does not work

Paket version: 2.31.1
The names of the real packages had to be renamed in this example.
The following works
paket.dependencies:
source http://internal-proget/nuget/OurFeed

nuget My.Company.PackageA.Server prerelease
nuget My.Company.PackageB.Server prerelease

My.Company.PackageA.Server and My.Company.PackageB.Server depends on My.Company.PackageC.Server version 1.0 <= x < 2.0, but our proget server only contains prerelease packages, the latest is 1.0.0-pre18038. My.Company.PackageC.Server depends on several other packages, which have released versions.
The output when running paket.exe install is:
Paket version <IP_ADDRESS>
Resolving packages for group Main:
 - My.Company.PackageA.Server 1.0.0-pre18038
 - My.Company.PackageB.Server 1.0.0-pre18038
 - My.Company.PackageC.Server 1.0.0-pre18038
 - Other.Package1 13.0.0-pre0248
 - Other.Package2 2.2.0-pre0105
 - Other.Package3 31.0.0-pre0280

The following does not work
We expect the list in paket.dependencies to grow quite rapdily, and in order to have an overview we want to list everything explicitly:
source http://internal-proget/nuget/OurFeed

nuget My.Company.PackageA.Server prerelease
nuget My.Company.PackageB.Server prerelease
nuget My.Company.PackageC.Server prerelease

We have tried listing all 6 packages (Other.Package*), or just the 3 in the example above. Different permutations does not seem to affect the result:
Paket version <IP_ADDRESS>
Resolving packages for group Main:
 - My.Company.PackageA.Server 1.0.0-pre18038
 - My.Company.PackageB.Server 1.0.0-pre18038
 - My.Company.PackageC.Server 1.0.0-pre18038
 - My.Company.PackageC.Server 1.0.0-pre18036
 - My.Company.PackageA.Server 1.0.0-pre18036
Paket failed with:
        There was a version conflict during package resolution.
  Resolved packages:
   - My.Company.PackageA.Server 1.0.0-pre18036
   - My.Company.PackageC.Server 1.0.0-pre18036
  Could not resolve package My.Company.PackageC.Server:
   - Dependencies file requested: >= 0
   - My.Company.PackageA.Server 1.0.0-pre18038 requested: >= 1.0 < 2.0 (no prereleases)

  Please try to relax some conditions.

My.Company.PackageA.Server and My.Company.PackageB.Server depends on My.Company.PackageC.Server version 1.0 <= x < 2.0

shouldn't it explicitly depend on the prerelease versions?

shouldn't it explicitly depend on the prerelease versions?

This could be a solution, but not one we're particulary willing to use, since it would mean updating all dependencies when we release. Our company has hundreds of unique packages, so this would be quite a lot of work.
We could always specify a range like 0.9.32767 <= x < 2.0, but that feels like an ugly hack.
The reason I'm asking is because Paket resolved the dependencies in the first example (the same does nuget and chocolatey when provided the -Pre flag). We were wondering why the second example failed. The paket.lock file looks like this:
remote: http://internal-proget/nuget/OurFeed
specs:
    My.Company.PackageA.Server (1.0.0-pre18038)
      My.Company.PackageC.Server (>= 1.0 < 2.0)
    My.Company.PackageB.Server (1.0.0-pre18038)
      My.Company.PackageC.Server (>= 1.0 < 2.0)
    My.Company.PackageC.Server (1.0.0-pre18038)
      Other.Package2 (> 2.0.0 <= 3.0.0)
      Other.Package1 (> 13.0.0 <= 14.0.0)
      [...]

Yes we resolve it since only prerelease packages are available. There is
not a single "release" of that package, right?
If this is the case then it tries to be a bit more tolerant.
That said: I can try to create a repro case with the versions you gave.
Maybe we find a way around it.
But still you should consider to update the requirements in the nuspecs.
What is nuget.exe doing in this case?
On Dec 2, 2015 15:06, "Eirik Mildestveit Hammerstad" <
<EMAIL_ADDRESS>wrote:

shouldn't it explicitly depend on the prerelease versions?
This could be a solution, but not one we're particulary willing to use,
since it would mean updating all dependencies when we release. Our company
has hundreds of unique packages, so this would be quite a lot of work.
We could always specify a range like 0.9.32767 <= x < 2.0, but that feels
like an ugly hack.
The reason I'm asking is because Paket resolved the dependencies in the
first example (the same does nuget and chocolatey when provided the -Pre
flag). We were wondering why the second example failed. The paket.lock
file looks like this:
remote: http://internal-proget/nuget/OurFeed
specs:
My.Company.PackageA.Server (1.0.0-pre18038)
My.Company.PackageC.Server (>= 1.0 < 2.0)
My.Company.PackageB.Server (1.0.0-pre18038)
My.Company.PackageC.Server (>= 1.0 < 2.0)
My.Company.PackageC.Server (1.0.0-pre18038)
Other.Package2 (> 2.0.0 <= 3.0.0)
Other.Package1 (> 13.0.0 <= 14.0.0)
[...]
—
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/issues/1280#issuecomment-161304796.

(OK I can reproduce your case and try to investigate)

I assume it's really a bug.

could you please check if it now works for you?

Works like a charm!
Thank you for the quick response :smile:


Performance tests

Last summer we ran some tests to see how many transactions-per-second fedimint could achieve with various settings.
It would be useful to have tests like these and run them periodically.

We do have latency tests.  I think for the initial fedimints that will probably be the performance point to optimize for rather than throughput.
In other words, we should worry more about how long it takes to perform a single payment rather than how many payments per second we can achieve.

yes, fedimint-load-test-tool provides many test options that can easily be run locally or remotely by anyone


Updated Cost Management KBA

Added estimation engine and time to live as recommendations.

I see Markdown syntax was mixed in at the end of this file... Since it's such a small file can you just convert the whole thing to markdown for us?

Ok.

Fixed it up.


Page overlaping

Issue Type: Bug
The extension descriptions are overlaping the head...

VS Code version: Code - Insiders 1.60.0-insider (efaa9c304bba61bdce8b0d39db5df94ce3a53fb6, 2021-08-31T15:01:21.969Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No

This one is the VS Code issue


Need \n for Printing untagged message

Signed-off-by: Daniel J Walsh<EMAIL_ADDRESS>

Fixes
https://github.com/projectatomic/buildah/issues/133#issuecomment-311847186

@14rcole PTAL

LGTM

@rh-atomic-bot r+  	4a85aaf


Does it run on pure EGL?

When we program on devices, there is usually no X11 or desktop environment. But we still need to build a full-screen standalone GUI app. We need the GUI framework which supports EGL, DRM/KMS or framebuffer such as QT. Does webview support EGL (or DRM/KMS, framebuffer)? Can we build a full-screen standalone app based on it?

WebView is basically wrapper around different technologies available on Windows, Linux & Mac, if your target platform isn't one of the Or you don't have one of the technologies used on the platforms above then you will need to:

Choose A Backend that WebView will use
Write Binding For That Backend.

because webview itself doesn't do any rendering or executing the js code, it basically calls the function available on that backend.

Thank you for the quick answer.
Since I'm quite new to GUI/graphics, I'd like to throw more questions.

Choose A Backend that WebView will use

What backend does WebView use on Linux? How can we choose another backend?

Write Binding For That Backend.

Sounds incredibly hard. Any doc for that?
By the way, it is prevalence to use web-to-desktop-framework such as electron, nwjs and tauri. But none of them support EGL. If it were supported by webview, webview would dominate the embedded linux programming.

What backend does WebView use on Linux? How can we choose another backend?
On Linux WebView uses WebKit2Gtk, there's not really a way to Choose a backend.

on Linux you have to use Webkit2Gtk you've got no other choice since no one has written a binding for other available WebView Backends.

Sounds incredibly hard. Any doc for that?
there isn't really any doc for this, you'll have to look into the code and see how bindings for other backends are implemented and would then implement your own binding for the backend you want.

also since you're on some sort of embedded system you'll also need a webview backend if there's not available one, the webview backend is what is responsible for rendering your HTML & CSS correctly & it is responsible for managing & executing you JavaScript code.
and Embedded Systems aren't the best choice to use WebView or any Web Related Technology Like Tauri Or Electron since you probably don't have enough CPU & RAM.
and awesome alternative i would recommend is: Ocornut's ImGui, it is a GUI Solution for C++, but there are bindings for C too!
ImGui is extremely portable & performant, it has multiple Backend to run on different platforms like Windows, Linux, Mac, Android, IOS... but since you're using EGL graphics API you'll need to implement that backend yourself, which is EXTREMELY easy.

Thanks for the explanation and recommendation. I'll look into WebKit2Gtk and ImGui. However, I believe that it would be a trend to use web-to-desktop-framework on embedded linux.

Could it be a full-screen standalone app if its render engine is switched to WPE?

Could it be a full-screen standalone app if its render engine is switched to WPE?

sure, if you manage to do it, please do share it here, even if the issue is closed.

I'll take a look at it. Thanks again.


Add automatic update

Iris should have automatic updates so users won't have to manually reinstall every new version. Ideally, it would fetch new updates from the latest GitHub release.

Via electron builder:
https://www.electron.build/auto-update
or
Via built-in electron:
https://www.electronjs.org/docs/latest/api/auto-updater


Creating a cohort / multisample VCF

Hello,
We have ~100 samples for which we would like to call mitochondrial variants. The cohort contains a mix of related and unrelated samples. We would like to know the recommended way to call variants for all samples in the cohort.
For ex, a trio was used for test example, so I'm not sure if combining data that way would be feasible for our data.
Or, would it be better to mity call + normalize the variants separately for each sample, merging the vcfs, then using mity report to annotate the variants?

UPDATE - I tried to run mity call with all the bam files, but got this error -
Calling mitochondrial variants
Running FreeBayes in sensitive mode
No variants in VCF with specified chromosome/s
Writing normalised vcf: cohort_output/all_cohort_chrM.mity.vcf.gz

And the vcf file was empty with no variants. Looks like merging VCFs might be better option :/

I tried to combine the vcfs with bcftools merge and ran into this error -
mity 0.3.0
Generating mity report
Traceback (most recent call last):
  File "/root/scripts/mity", line 29, in <module>
    args.func(args)
  File "/root/scripts/mitylib/commands.py", line 160, in _cmd_report
    report.do_report(args.vcf, args.prefix, args.min_vaf, args.out_folder_path)
  File "/root/scripts/mitylib/report.py", line 494, in do_report
    min_vaf)
  File "/root/scripts/mitylib/report.py", line 180, in make_table
    if float(FORMAT_VAF) > float(min_vaf):
ValueError: could not convert string to float: '.'

Any leads appreciated, thanks!

Hi,
I've never tried a huge cohort, as we usually ran mity for probands or trios. So my first recommendation is to run the related samples together in batches, with normalize and report for each family.
If the VCF is empty, my first suggestion is to look at which --reference was used and that this matches the MT chromosome name in the BAM, see https://github.com/KCCG/mity#human
The most recent error message looks like a variant in the VCF has '.' for the AD or DP value. This likely arose from running bcftools merge in the middle of the toolchain which is not supported. Thanks for the report, we could add some code that checks for this and at least allows the valid variants to be analysed.

Hi, the issues you've mentioned should be resolved in the new release of Mity 1.1.0. If you encounter any further problems, please feel free to open a new issue. Thanks!


Name parent space as 'master'

Helps encourage the feature branch concept

We'll leave it as it is ('dev') since it breaks other quickstarts


fix: Support resolving module.register dependencies

Closes #428
module.register(specifier[, parentURL][, options])

Looks like I need to pull my Windows laptop out and work out why those tests are failing!

So the failing unit test (zeromq-node-gyp) passes in isolation on my Windows machine but fails when all the tests are run.
One thing I don't understand is how it's passing at all, even on other platforms.
The expected output is:
https://github.com/vercel/nft/blob/31ab41706201cadf09763273199af2aebd6dfcc2/test/unit/zeromq-node-gyp/output.js#L1-L11
But it's failing with an extra file included:
<EMAIL_ADDRESS>    +<EMAIL_ADDRESS><EMAIL_ADDRESS>        "node_modules\\zeromq\\lib\\draft.js",
        "node_modules\\zeromq\\lib\\index.js",
        "node_modules\\zeromq\\lib\\native.js",
        "node_modules\\zeromq\\lib\\util.js",

And the reason it's being included:
<EMAIL_ADDRESS>=> {
        type: [ 'dependency' ],
        ignored: false,
        parents: Set(1) {<EMAIL_ADDRESS>}
      }

And then when you look at the actual source of the parent, it's obvious why this is being included:
} else { // else use the runtime version here
  module.exports = require('./node-gyp-build.js')
}

So how is this passing on every other platform but failing on Windows when the full test suite is run?

This might fix it: https://github.com/vercel/nft/pull/432
I merged it in to see if tests pass now 🤞

Unfortunatly not 😭
I'm more confused as to how this test passes on any platform. The additional dependency in the failing case looks like it should be included!

Looks like the only failing test is the new one now
 ● should correctly trace module-register from cwd

    expect(received).toEqual(expected) // deep equality

    - Expected  - 3
    + Received  + 0

      Array [
        "package.json",
    -   "test\\unit\\module-register\\hook.mjs",
    -   "test\\unit\\module-register\\hook2.mjs",
    -   "test\\unit\\module-register\\hook3.mjs",
        "test\\unit\\module-register\\input-esm.mjs",
        "test\\unit\\module-register\\input.js",
        "test\\unit\\module-register\\node_modules\\test-pkg\\index.mjs",
        "test\\unit\\module-register\\node_modules\\test-pkg\\package.json",
      ]

https://github.com/vercel/nft/actions/runs/9785332243/job/27018410588?pr=429#step:9:1063

On my Windows 11 machine the module-register test passes.

I probably need to revisit this at a more reasonable hour in the morning!

So I reverted the path.sep change and the tests now all pass on Windows.
Looking at the resulting deps and imports and on Windows for ALL the tests, these all contain forwards slashes /. It appears that Node fs and path are perfectly happy dealing with these on Windows.

@styfle can this be merged?


Move mock test to use ::grpc_impl

Some mock tests are using ::grpc which was causing build issues. Move
them over to use ::grpc_impl.

@karthikravis

Known issue: https://github.com/grpc/grpc/issues/20254


Exception in thread "main" java.net.ConnectException: Connection timed out: connect

That is caused by the connection to the server timing out. Is your server or the server you are trying to connect to online? A connection times out after 30 seconds of no response from the server.


TILA-247 reservation unit search enhancements

I was unable to reproduce the spinner problem. Updated hds to new version, that adressed some spinner bug.

I was unable to reproduce the spinner problem. Updated hds to new version, that adressed some spinner bug.


[#6] Update plugin to use new IDomainObjectModification notification

Since https://github.com/ckan/ckan/pull/1855 has been merged into CKAN this plugin can now use the new method to be notified after the database commit has happened avoiding potential race condition.
Fixes #6

BTW this went into the CKAN 2.3 and subsequent releases


TensorFlowSharp return diffrent values to same model then calling in pyton

Hi all,
I am new in TensorFlowSharp and I have a model I created in tensorflow (not sharp).
I want to use this model in my c# app so I try to running the Example of Object Detection in the reposritoy and It return diffrent values then calling to the object detection runner without the TensorFlowSharp.
Thanks.

Try to remove the operation "//   float using (value - Mean)/Scale." in ImageUtil.cs file (or set the value of MEAN variable to 0). Final code should be:
output = graph.Cast(
graph.ResizeBilinear(
images: graph.ExpandDims(
input: graph.Cast(image, DstT: TFDataType.Float),
dim: graph.Const(0, "make_batch")),
size: graph.Const(new int[] { W, H }, "size")
), destinationDataType);
If it will not resolve, one another reason might be the image dimension in the above code snippet... i.e. your original image might be 4:9 scale and above code scales the image to have same width&height... In TensorFlow "keep_aspect_ratio_resizer" is used.

Hi,
First of all thank you about the response.
Second, the two options didn't worked for me.
This is the "keep_aspect_ratio_resizer" from my faster_rcnn_resnet101.config:
keep_aspect_ratio_resizer {
min_dimension: 600
max_dimension: 1024
}
and this is the new code from ImageUtil.cs after your advice:
`const int W = 600;
const int H = 1024;
		var graph = new TFGraph ();
		input = graph.Placeholder (TFDataType.String);

		output = graph.Cast (
				graph.ResizeBilinear (
				images: graph.ExpandDims (
				input: graph.Cast (graph.DecodeJpeg (contents: input, channels: 3), DstT: TFDataType.Float),
				dim: graph.Const (0, "make_batch")),
				size: graph.Const (new int [] { W, H }, "size")
				), destinationDataType);

		return graph;`

Thanks.

Hi,
I am sorry,  I pay attention that the image was formated as the defualt format when saving images witout format in c# which I think is png. I don't know how my object_runner.py eat this, but TensorFlowSharp didn't. So I recreate the image with Jpeg format and now it works - both of the suggestions you mention above were needed to make it work perfect!
Thanks!

One more think regarding above code: It resizes the image to have specified width and height (not keeping the aspect ratio)... In tensorflow (config portion that you shared), while it is resizing it keeps the aspect ratio too... this also affects the inference result... I give up implementing that portion (keep aspect ratio resizing...) but keep that in mind too.

Hello @mustafakasap
I have time problem
my run() function took close 16 second .
what is my mistake ???
here is my code
https://gist.github.com/mg021/ecb4444986006ec2826f2d92fa942ebc


Not compatible with dropwizard 2

The latest version of dropwizard (2.0.2 at the time of writing) uses jersey 2.30. dropwizard-pac4j depends on jersey225-pac4j, and as a result is not compatible.
A good solution might be to release separate artifacts targeting different dropwizard versions, similar to what jax-rs-pac4j does

@Naveg normally, at least as a workaround, you should already be able to use the maven dependency management to

exclude jersey225-pac4j
add jersey-pac4j to the classpath

If you can confirm this works, then some solution should be findable in a more generic manner here I suppose.

Hmm - I tried that but wound up with a different problem:
java.lang.NoClassDefFoundError: org/glassfish/jersey/server/model/Parameter$Source
        at org.pac4j.jax.rs.jersey.features.Pac4JValueFactoryProvider$Pac4JProfileValueFactoryProvider.<init>(Pac4JValueFactoryProvider.java:62)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)

Before your suggestion I was getting this error, which makes sense (AbstractContainerRequestValueFactory is removed in jersey 2.26)
java.lang.NoClassDefFoundError: org/glassfish/jersey/server/internal/inject/AbstractContainerRequestValueFactory
        at java.base/java.lang.ClassLoader.defineClass1(Native Method)
        at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)
        at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
        at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:800)
        at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698)
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621)
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
        at org.pac4j.jax.rs.jersey.features.Pac4JValueFactoryProvider$Binder.<init>(Pac4JValueFactoryProvider.java:169)
        at org.pac4j.jax.rs.jersey.features.Pac4JValueFactoryProvider$Binder.<init>(Pac4JValueFactoryProvider.java:153)
        at org.pac4j.dropwizard.Pac4jBundle.run(Pac4jBundle.java:98)
        at org.pac4j.dropwizard.Pac4jBundle.run(Pac4jBundle.java:35)

@Naveg ha, I suppose the latest fixes for working with jersey 2.30 is not out yet, see https://github.com/pac4j/jax-rs-pac4j/pull/74. Maybe you could try using the snapshot version to validate it works as expected?

A new error message must be progress...
org.glassfish.hk2.api.UnsatisfiedDependencyException: There was no object available for injection at SystemInjecteeImpl(requiredType=Pac4JValueFactoryProvider$Pac4JProfileValueFactoryProvider,parent=Pac4JValueFactoryProvider$ProfileInjectionResolver,qualifiers={},position=0,optional=false,self=false,unqualified=null,617304845)
        at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:51)
        at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:188)
        at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:205)
        at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:334)
        at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:463)

Looks very similar to some errors posted in https://github.com/pac4j/jax-rs-pac4j/issues/45

Keep me posted if a new release is necessary. I plan some major work on jax-rs-pac4j and dropwizard-pac4j (pac4j v4 upgrade) before spring.

@Naveg I'm not exactly sure what's happening there, sorry
@leleuj apparently there is still a bug if I understand well… as always I can't take care of it, sorry about that.

If someone has the solution, we can fix that now. Otherwise, I'll investigate in a few months...

I'm using jersey 2.29 and I notice the same issue

https://github.com/pac4j/dropwizard-pac4j/pull/51
opened though its having build issues(over flowing the log limit in travis) due to hk2 injection issues in the jersey-pac4j library, but it adds full support for Dropwizard 2.x

@richeyh thanks for the pull request. We'll need to schedule the Dropwizard v2.x upgrade vs the pac4j v4 upgrade.

Any news on the Dropwizard v2.x compatibility front?

I didn't get any update for my last comment: https://github.com/pac4j/dropwizard-pac4j/pull/51#issuecomment-691054982
I expect a contribution on this...

Thanks. I'm not there yet with DW2, but may be able to help out once I take the plunge. Watching #51 meanwhile.
-JM

yeah i can open the PR the compatibility issue was dealt with on our end via some exclusions and versions bumps.

<dependency>
    <groupId>org.pac4j</groupId>
    <artifactId>dropwizard-pac4j</artifactId>
    <version>3.0.0</version>
    <exclusions>
        <exclusion>
            <groupId>javax.inject</groupId>
            <artifactId>javax.inject</artifactId>
        </exclusion>
        <exclusion>
            <groupId>org.pac4j</groupId>
            <artifactId>jersey225-pac4j</artifactId>
        </exclusion>
    </exclusions>
</dependency>

<!-- http HeaderClient in specified config.yaml -->
<dependency>
    <groupId>org.pac4j</groupId>
    <artifactId>pac4j-http</artifactId>
    <version>3.8.2</version>
    <scope>runtime</scope>
</dependency>

was the snippet to get around this ill go ahead and update the pr though

v5 of dropwizard-pac4j will be based on Dropwizard v2.x.


Add Pylon widget to Rill Developer

We should look into adding the Pylon widget to Rill Developer, similar to what we are doing in Rill Cloud with #3652, so we can more directly engage with our community and foster a PLG motion. For example, rather than having to go to Discord, we can provide an alternative where users can reach out directly via the product (with best effort / no guaranteed SLAs). This will be contingent on #3653 to ensure we can provide an unified support experience with proper follow-up on our end.

@cohenscottr After speaking with @mindspank on this topic, we agreed that the potential upside on better community engagement is at least worth exploring on our end and we could always roll this back later if needed. However, we'll want to implement #3653 first to make sure this is done the right way and so we can avoid complications that could come with trying to hack an anonymous workaround (e.g. users potentially sharing the same id, users not seeing our response, etc.)

FYI @nishantmonu51 since this came up in one of our earlier conversations


⚠ Bofrost.be has degraded performance

In d4ce7f1, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1748 ms

Resolved: Bofrost.be performance has improved in 67179f4.


"realpath: command not found" error when running all.sh

Following the installation instructions (not using Docker), I got to the step to run all.sh and got the following error:
➜  jsc-android-buildscripts git:(master) ✗  ./all.sh
=== compiling toolchain ===
=== compiling icu ===
./icu.sh: line 16: realpath: command not found

If you have Homebrew you can fix this with brew install coreutils.

This fixed what I thought was a pods issue.
resources.sh: line 7: realpath: command not found
:1581: error: Unexpected failure

Thanks!


Build issues

A couple of things ...

I think the gh-pages build should be triggered on every merge to master, even if the build fails. What do other think?
The most recent build failed (https://ci.appveyor.com/project/ColinEberhardt/containerjs/build/1.0.194), but the commit is showing a green tick https://github.com/symphonyoss/ContainerJS/commits/master

Yeah that sounds like a good idea, although we won't have the test data, it better than out of date API information
I'm working on it :-)

For (1), I think my new build has a bug, it fails if it cannot find the test file. It should warn and continue.

Also, the tests for OpenFin (and browser on my branch) keep failing on timeouts. I'm looking into it but increasing the timeouts doesn't seem to help.

I think (2) is still happening (if tests fail in npm run test), but the build is marked as successful on AppVeyor. e.g. https://ci.appveyor.com/project/ColinEberhardt/containerjs/build/1.0.236


docs: add examples for interceptors

Codecov Report

Merging #121 (3773dae) into master (ffc29c0) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #121   +/-   ##
=======================================
  Coverage   87.24%   87.24%
=======================================
  Files          24       24
  Lines         196      196
  Branches       35       35
=======================================
  Hits          171      171
  Misses         22       22
  Partials        3        3

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 ffc29c0...3773dae. Read the comment docs.


Current CSV download of cultural data misses many ISO codes

Many missing ISO codes when download cultural data for all cultures. Could this be because there is a 'look up' between glottolog id and iso code, which doesn't work when the glottolog id refers to a 'dialect'-level language?

Do we need them (@kirbykat)? ISO is a problematic standard in many ways and should be replaced with glottocodes.
We could fix this in the data import stage by adding all ISO codes to all varieties? (@xrotwang?)

Will look into this tomorrow. But I tend to agree with @SimonGreenhill : glottocodes should be all people need. If they want to map to ISO, use pyglottolog - recipe for doing this will be here soon.

Related to


[Desktop] Need Help| Give Help | Question 1 screen | back button

env: https://staging.fightpandemics.work/

Open Need Help|Give Help Question 1 screen
Could we correct back button: have the same space between arrow and text like on the Question 2 screen:

Question 1 screen back button:

Question 2 screen back button:

Hey @Joeu remember about this bug that I mentioned you? Now we have an issue for :)))

A gif showing the result of my change:

@Joeu
it looks good!


Fix name for cloned profiles.

CloneProfile function has an optional argument for the profile name, which
was used for child profile actions, but not for the main profile.
Overview
Changes

Fixes: # .

Didn't see Will already has a PR, closing this one (https://github.com/Microsoft/MixedRealityToolkit-Unity/pull/3992)


Why do anyone use WebRTC in the backend?

As it's clear that, WebRTC is totally a client side of things. So when building applications like audio/video chat, we use the client side logic to initiate and make/answer offers.
So what is the use case to use WebRTC on the server side like Go? What is the use of it? What can I build with pions and golang server side? I don't find any real use cases.
Please let us know.
Thanks

@cyantarek Check out awesome-pion there are a few server side applications (harmony and cloud-game are good ones)
For non-Pion I would look into

mixer.com
Google Stadio
Janus

@cyantarek
Even in C/S application, WebRTC is the only technology that allows us to take advantage of UDP transport (low latency where packet loss can be tolerated.) on browsers at the moment IMO. Pion allows us to write server-side logic purely in Go.


chore(update): update to the latest releases

Update to the latest aurelia/templating so that we don't get jspm forks.

oh hey sorry for not merging this , must have missed the notification ... thx anyway though , i have merged an update to the latest releases now though ;)


MSFT_xRDSessionCollection: Workaround for bug in Windows Server 2019

MSFT_xRDSessionCollection: Workaround for bug in Windows Server 2019
Pull Request (PR) description
Workaround for Get-RDSessionCollection bug in Windows Server 2019.
This Pull Request (PR) fixes the following issues
Fixes #91
Task list

[x] Added an entry under the Unreleased section of file CHANGELOG.md.
Entry should say what was changed, and how that affects users (if applicable).
[x] Resource documentation added/updated in README.md.
[x] Resource parameter descriptions added/updated in README.md, schema.mof
and comment-based help.
[x] Comment-based help added/updated.
[x] Localization strings added/updated in all localization files as appropriate.
[x] Examples appropriately added/updated.
[x] Unit tests added/updated. See DSC Community Testing Guidelines.
[x] Integration tests added/updated (where possible). See DSC Community Testing Guidelines.
[x] New/changed code adheres to DSC Community Style Guidelines.

This change is

@danielboth Is there anything else I need to do for this PR to be accepted?
Any questions about the issue https://github.com/dsccommunity/xRemoteDesktopSessionHost/issues/91 this PR resolves?

Hey Rob, are you up for writing a test for this PR as well? For example, you could write a test where the call to Get-RDSessionCollection returns 2 results and then ensure that the correct one is picked from that result. Other than that, PR looks good to me.

@danielboth is there anything I can help with to move this PR along? Two of my customers have the same issue, and were able to validate the solution that was proposed here.


Landing page redesign

Updated landing page
Increase size of logo in nav bar
Show hidden posts is now a button
Buttons are rounded


Possible bug / security issue with checkout action

@cansavvy wanted to make sure you saw this.

This looks similar to the issue here.
We solved it with the following (example here):
    steps:
      - name: Checkout files
        uses: actions/checkout@v3
        with:
          fetch-depth: 0

      # Set up git checkout
      - name: Set up git checkout
        run: |
          git config --global --add safe.directory "$GITHUB_WORKSPACE"
          git config --local user.email<EMAIL_ADDRESS>          git config --local user.name "jhudsl-robot"

Not sure if we want to implement this just yet, since the checkout actions team might have a fix for it. Suggest keeping a close eye on it!

Thanks for digging into this, @avahoffman If it's something that makes OTTR unusable, we should probably implement this fix and then we can undo the fix after the checkout bug is fixed.

@cansavvy I'm not really sure what's causing it. I relaunched a render-all in another repo and it was fine 🤔 Maybe something specific to the syncs?

Maybe something specific to the syncs?

Are you saying this because it has only happened with syncs and your regular PRs are running fine?

https://github.com/jhudsl/Documentation_and_Usability/runs/8165984943?check_suite_focus=true
This problem doesn't arise in syncs from general OTTR_Template. I think it may be something related to the pull_request.yml changes in AnVIL_Template. Happy to help look into it further. But I do believe this means this is not an OTTR_Template problem generally but an AnVIL_Template problem.
But let's keep this issue open until we know the real source of the problem. Either way, knowing the source of the issue is informative.

That's what I thought initially, but it's failing on a part of pull-request that we haven't changed.
I encountered a similar problem with an OTTR template before that was fixed by changing the action version. The initial issue seems to be related to the version of git running on the container.
I don't think we need to do anything now, just wanted to document this error so it's not maddening when someone else runs across it 🙂

There is an action required and ran before the render-preview that could affect it though. But I haven't looked into this enough.
So far, I'm not able to replicate the error so far which makes it all the more mysterious. I'll look into it later.
Thanks for documenting it, I agree that's a good call!

so mysterious haha. I'll look into it more time premitting!


Need help with proxying ID3D12GraphicsCommandList methods.

How would I go about proxying ID3D12GraphicsCommandList methods inside d3d12-proxy?

Probably you can follow same pattern that I used with dxgi-proxy. You can check it here -> dllmain.c

I would suggets you to check RenderDoc source, they have wrapped almos all D3D12 interfaces. You can check CommandList here for example -> ID3D12GraphicsCommandList


release for xpd again

@mrakitin ready for another round!

Actually do you mind if I self merge?
This way I can run the deployment first thing tomorrow.

Sorry, was too late last night to check the status.


String: prevent executable stacks on GNU targets

The use of the hand written assembly files could potentially introduce
executable stacks.  Since these files do not require the executable stacks,
ensure that we add the special marker to indicate that executable stacks are not
required.

@swift-ci please test

@swift-ci please test

CC @phausler

@swift-ci Please test and merge

@swift-ci please test and merge

pending CI being up and running properly this looks good to me

@swift-ci please test and merge


Avoids executing inject.js twice

Removed the inspect.js from manifest.json as it was already injected using background.js

@trembacz could you approve this PR :)


UDM as an asset type

great product. one thing that i am am noticing is that the UDM is an unknown asset type therefore it is skipped with the following message in the logs:
[ERROR] unknwon asset type  - udm  - skipping
can this be added?

UDM is still early access? I don't know hardly anything about it. I do not have one to get the api output. But you do, and you can help me. :D
Run unifi-poller -j d to print out the json payload. Pipe to jq to format it better. | jq - Put the UDM json portion (or all of it) into a gist.
The whole command to save the output might look like:
unifi-poller -j d -c /path/to/up.conf | jq | tee controller.json

If you can provide this data, I can likely add support for the device. Thanks!

I could get this info for you.... but my unifi-poller installation has
stopped working.. Getting "Network Error: Bad Gateway(502)" in Grafana and
influxd isn't running and won't start.  I already tried reinstalling it and
removing then installing.  Something giving me a major headache... Don't
understand since not only didn't I make any changes, I haven't done
anything but look at the Grafana dashboards for the past few weeks.
On Thu, Aug 15, 2019 at 11:21 PM David Newhall II<EMAIL_ADDRESS>wrote:

If you can provide this data, I can likely add support for the device.
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/davidnewhall/unifi-poller/issues/98?email_source=notifications&email_token=AC767ZLXPONJLXM3HPXWDN3QEYMKZA5CNFSM4IMB56RKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4NRWSA#issuecomment-521870152,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC767ZLGR2ZJGTIW2ROWRP3QEYMKZANCNFSM4IMB56RA
.

Technically, you don't need influx or Grafana to dump the controller data. You only need the unifi-poller binary, up.conf and a network connection to your Unifi controller.
Grafana giving you a bad gateway message sounds just like what you described: influxdb is not running.
Jump in discord and lets fix your Influx. ;)

I was able to get a UDM Pro dump from vizir in the Ubiquiti Discord. I'll see if we can't make this work.

I am trying to get you the son dump but I am unfamiliar with the jq command

You an skip jq. or install it: sudo apt install -y jq  || sudo yum install jq.
Without jq:
unifi-poller -j d -c /path/to/up.conf  | tee controller.json

All jq does is format the json. It's not needed.

Someone else had problems with this earlier. This command should work.
unifi-poller -j d -c /path/to/up.conf > controller.json 2>&1

What's your Discord? I'm MedicNYC on Discord.
Sorry for late reply, was away from computer all day.
Thanks,
Marc
On Thu, Aug 15, 2019 at 11:49 PM David Newhall II<EMAIL_ADDRESS>wrote:

Technically, you don't need influx or Grafana to dump the controller data.
You only need the unifi-poller binary, up.conf and a network connection to
your Unifi controller.
Grafana giving you a bad gateway message sounds just like what you
described: influxdb is not running.
Jump in discord and lets fix your Influx. ;)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/davidnewhall/unifi-poller/issues/98?email_source=notifications&email_token=AC767ZNUZNBLK7ZMNBU2TMDQEYPWPA5CNFSM4IMB56RKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4NSWUY#issuecomment-521874259,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC767ZO3RFQLOLLEECAOX5TQEYPWPANCNFSM4IMB56RA
.

TwitchCaptain. The person that DM'd you a week ago and you never replied. ;)

This should be fixed in latest / master branch. I'll cut a release soon.


Doesn't work on esp32.

Hello! My application runs on ESP32 (ESP-WROOM-32), and in addition to the telegram bot, it uses a web server, and also connects to another bluetooth device in master mode.
As a result, my application does not receive messages from the getNewMessage function. Here is the log:
Test Telegram connection...
[D][src/AsyncTelegram2.cpp:38] checkConnection():       Start handshaking...OK
[E][BluetoothSerial.cpp:865] isReady(): BT is not initialized. Call begin() first
[E][src/AsyncTelegram2.cpp:221] getNewMessage():        deserializeJson() failed
[E][src/AsyncTelegram2.cpp:222] getNewMessage():        NoMemory
[E][src/AsyncTelegram2.cpp:223] getNewMessage():        m_rxbuffer.length()==478
[E][src/AsyncTelegram2.cpp:226] getNewMessage():        m_rxbuffer="␘��?�␁���"
The device started in master mode, make sure remote BT device is on!
[E][src/AsyncTelegram2.cpp:221] getNewMessage():        deserializeJson() failed
[E][src/AsyncTelegram2.cpp:222] getNewMessage():        NoMemory
[E][src/AsyncTelegram2.cpp:223] getNewMessage():        m_rxbuffer.length()==23
[E][src/AsyncTelegram2.cpp:226] getNewMessage():        m_rxbuffer="␘��?␗"
[E][src/AsyncTelegram2.cpp:221] getNewMessage():        deserializeJson() failed

Apparently the problem is in the function:
MessageType AsyncTelegram2::getNewMessage(TBMessage &message )
If replace:
            #if defined(ESP8266)
            DynamicJsonDocument updateDoc(ESP.getMaxFreeBlockSize() - BUFFER_MEDIUM);
            #elif defined(ESP32)
            DynamicJsonDocument updateDoc(ESP.getMaxAllocHeap());
            #else
            DynamicJsonDocument updateDoc(BUFFER_BIG);
            #endif

with:
            #if defined(ESP8266)
            DynamicJsonDocument updateDoc(ESP.getMaxFreeBlockSize() - BUFFER_MEDIUM);
            #elif defined(ESP32)
            DynamicJsonDocument updateDoc(BUFFER_BIG);
            #else
            DynamicJsonDocument updateDoc(BUFFER_BIG);
            #endif

...then everything works.
I suspect that the same should be done for the ESP8266.
P.S.: I am using SSLClient on WiFiClient because such a bundle consumes less memory compared to WiFiClientSecure, and most importantly - it works!

The "dev" branch works out of the box! )

Hello, Zenbooster the "dev" branch work because is based on version 2.0.8 where the declaration of  DynamicJsonDocument updateDoc() is like the one modified by you, DynamicJsonDocument updateDoc(BUFFER_BIG);
I am experiencing the same problem, it is definitely the DynamicJsonDocumentupdateDoc (ESP.getMaxAllocHeap()) declaration, I think it is not a good idea to use such amount of memory in a multitasking environment.


KAFKA-6906: Fixed to commit transactions if data is produced via wall clock punctuation

https://issues.apache.org/jira/browse/KAFKA-6906
Fixed StreamTask to commit transactions if the data is produced via wall-clock punctuation too.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@mjsax , Could you please review and let me know if any changes needed.

retest this please

@jadireddi Code freeze is close and thus I wanted to follow up on this. Do you plan to add a test? If we get this merged, we can also merge your other PR that is blocked by this one.

@mjsax , For the test method, can we merge this code and rebase blocked ticket pull(https://github.com/apache/kafka/pull/4912) to latest , remove the work around done for passing the testTopologyTestDriverTest#shouldPunctuateIfWallClockTimeAdvances when eosEnabled is true
and see shouldPunctuateIfWallClockTimeAdvances getting passed. I think this acts as proof for the
wall-clock punctuation working.
I already tested in local. It works.. Kindly let me know your inputs.

I would prefer an explicit test, because for shouldPunctuateIfWallClockTimeAdvances (with EOS) it's just a "side effect". If we change the shouldPunctuateIfWallClockTimeAdvances test for whatever reason, we would loose test coverage without noticing it. Does this make sense?

@mjsax , It's true.Agreed. Can i include both +ve and -ve test cases for wall-clock punctuation  in testTopologyTestDriverTest ?

Because this change affects StreamTask, the unit test should be part of StreamTaskTest IMHO. Something like: shouldAlwaysCommitIfEosEnabled

@mjsax , Can you please let me know, the below test case have all the test coverage steps or  am i deviating?.
@Test
public void shouldAlwaysCommitIfEosEnabled() {
    task = createStatelessTask(createConfig(true));
    task.initializeStateStores();
    task.initializeTopology();
    task.punctuate(processorSystemTime, 5, PunctuationType.WALL_CLOCK_TIME, new Punctuator() {
        @Override
        public void punctuate(final long timestamp) {
            task.context().forward(2, 4);
        }
    });
    task.commit();
    assertEquals(producer.history().size() , 1); //Actual value(1): still experimental.

}

If the above test case is valid . Need to write MockSinkNode(which extends SinkNode) class. The reason is :

Assume, adding one MockSinkNode object as clild to MockProcessorNode
task.context().forward(2, 4); calls ProcessorContextImpl#forward(K, V, processor.To) and at step 1 as one child got added,  if (children.size() == 1) , block gets executed.
child.process(key, value); gets invoked, and it calls MockSinkNode#Process(). And RecordCollectorImpl#send() gets called . Later call goes to MockProducer#send(ProducerRecord<K,V>, Callback) and record gets added t0 uncommittedSends
During task.commit(), uncommittedSends added to sent list. And Producer.history.size() gives necessary value.

Sounds reasonable to me.

@mjsax , Can you please review test case  emitting data from a punctuation call with EOS enabled. Currently calling recordCollector.send() directly from punctuate instead of creating MockSinkNode and calling.

retest this please

This ticket made me to learn lot of things. Thank you All for the support.

Thanks for the PR. Glad you learned something :)
Merged to trunk and cherry-picked to 2.0, and 1.1 (hit some issues for 1.0 branch so I did not back port it further)

Cherry-picked to 1.0 and 0.11.0 branches.


Command buffer and queue interfaces

Description
Discussion in https://github.com/Devsh-Graphics-Programming/Nabla/issues/3
Testing

TODO list:

Make sure to merge master after I merge armageddon


Add PMIX packages to be installed with Slurm

Slurm is built with PMIx v4 but PMIx is not published as packages and need to be built in the images used by the CycleCloud nodes.
Why not publishing PMIx packages and install them at the same time than the slurm ones ?
This will avoid lot's of issues with srun --mpi=pmix not running, as well as simplifying image built.

pmix packages are now available in new images that would be released soon, those pmix packages are slurm compatible as well.


BUG: signal.detrend on main no longer accepts a sequence for bp

Describe your issue.
Passing a sequence of integers to the bp argument of scipy.signal.detrend results in an error on the main branch. This appears to be due to #18455, which is not yet part of any release or pre-release (see https://github.com/scipy/scipy/pull/18455#issuecomment-1590660293)
Reproducing Code Example
import scipy
import numpy as np
rng = np.random.RandomState(12345)

x = rng.rand(10)
bp = np.array([0, 2])

scipy.signal.detrend(x, bp=bp)

Error message
/usr/local/lib/python3.10/dist-packages/numpy/lib/arraysetops.py:270: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
  ar = np.asanyarray(ar)
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
[<ipython-input-9-3498418e6fd9>](https://localhost:8080/#) in <cell line: 8>()
      7
----> 8 print(scipy.signal.detrend(x, bp=bp)

[/usr/local/lib/python3.10/dist-packages/scipy/signal/_signaltools.py](https://localhost:8080/#) in detrend(data, axis, type, bp, overwrite_data)
   3561         dshape = data.shape
   3562         N = dshape[axis]
-> 3563         bp = np.sort(np.unique([0, bp, N]))
   3564         if np.any(bp > N):
   3565             raise ValueError("Breakpoints must be less than length "

/usr/local/lib/python3.10/dist-packages/numpy/core/overrides.py in unique(*args, **kwargs)

[/usr/local/lib/python3.10/dist-packages/numpy/lib/arraysetops.py](https://localhost:8080/#) in unique(ar, return_index, return_inverse, return_counts, axis)
    270     ar = np.asanyarray(ar)
    271     if axis is None:
--> 272         ret = _unique1d(ar, return_index, return_inverse, return_counts)
    273         return _unpack_tuple(ret)
    274

[/usr/local/lib/python3.10/dist-packages/numpy/lib/arraysetops.py](https://localhost:8080/#) in _unique1d(ar, return_index, return_inverse, return_counts)
    331         aux = ar[perm]
    332     else:
--> 333         ar.sort()
    334         aux = ar
    335     mask = np.empty(aux.shape, dtype=np.bool_)

ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

SciPy/NumPy/Python version and system information
1.11.0.dev0+2112.00f4e2e 1.22.4 sys.version_info(major=3, minor=10, micro=12, releaselevel='final', serial=0)
Build Dependencies:
  blas:
    detection method: pkgconfig
    found: true
    include directory: /usr/local/include
    lib directory: /usr/local/lib
    name: openblas
    openblas configuration: USE_64BITINT= DYNAMIC_ARCH=1 DYNAMIC_OLDER= NO_CBLAS=
      NO_LAPACK= NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP= HASWELL MAX_THREADS=2
    pc file directory: /usr/local/lib/pkgconfig
    version: 0.3.21.dev
  lapack:
    detection method: pkgconfig
    found: true
    include directory: /usr/local/include
    lib directory: /usr/local/lib
    name: openblas
    openblas configuration: USE_64BITINT= DYNAMIC_ARCH=1 DYNAMIC_OLDER= NO_CBLAS=
      NO_LAPACK= NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP= HASWELL MAX_THREADS=2
    pc file directory: /usr/local/lib/pkgconfig
    version: 0.3.21.dev
  pybind11:
    detection method: config-tool
    include directory: unknown
    name: pybind11
    version: 2.10.4
Compilers:
  c:
    commands: cc
    linker: ld.bfd
    name: gcc
    version: 10.2.1
  c++:
    commands: c++
    linker: ld.bfd
    name: gcc
    version: 10.2.1
  cython:
    commands: cython
    linker: cython
    name: cython
    version: 0.29.34
  fortran:
    commands: gfortran
    linker: ld.bfd
    name: gcc
    version: 10.2.1
  pythran:
    include directory: ../../tmp/pip-build-env-qaptfljs/overlay/lib/python3.10/site-packages/pythran
    version: 0.13.1
Machine Information:
  build:
    cpu: x86_64
    endian: little
    family: x86_64
    system: linux
  cross-compiled: false
  host:
    cpu: x86_64
    endian: little
    family: x86_64
    system: linux
Python Information:
  path: /opt/python/cp310-cp310/bin/python
  version: '3.10'

Fyi the location for nightly builds is now https://pypi.anaconda.org/scientific-python-nightly-wheels/simple

So it's the first glitch of the array-api compat movement: array API does not have np.r_ .
In [5]: np.unique(np.r_[0, bp, 10])
Out[5]: array([ 0,  2, 10])

In [6]: np.unique([0, bp, 10])
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[6], line 1
----> 1 np.unique([0, bp, 10])

File <__array_function__ internals>:200, in unique(*args, **kwargs)

File ~/mambaforge/envs/scipy-dev/lib/python3.10/site-packages/numpy/lib/arraysetops.py:272, in unique(ar, return_index, return_inverse, return_counts, axis, equal_nan)
    138 @array_function_dispatch(_unique_dispatcher)
    139 def unique(ar, return_index=False, return_inverse=False,
    140            return_counts=False, axis=None, *, equal_nan=True):
    141     """
    142     Find the unique elements of an array.
    143
   (...)
    270
    271     """
--> 272     ar = np.asanyarray(ar)
    273     if axis is None:
    274         ret = _unique1d(ar, return_index, return_inverse, return_counts,
    275                         equal_nan=equal_nan)

ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (3,) + inhomogeneous part.

A fix is (untested) --- so np.r_ is ugly, huh :-).
In [27]: np.sort(np.unique(np.concatenate(([0], bp, [10]))))
Out[27]: array([ 0,  2, 10])

It needs to handle scalar inputs for bp as well, so possibly normalize with bp = np.atleast_1d(bp) before doing that concatenation

Yes thanks, https://github.com/scipy/scipy/pull/18676 does it. Could you test that one Jake? The test suite for detrend is very minimal and was even more minimal until the 1.11 cycle. I wouldn't be surprised if there are more issues.


[Ubuntu Noble] catkin-lint version 1.6.22 is broken and hangs forever

The version of catkin-lint (1.6.22) provided in Ubuntu Noble fails to find packages and hangs forever.
The more recent versions 1.6.23+ do work. (I suppose this commit is needed)
I'm asking here as in the past catkin_lint was provided in the ROS apt repository.
Would it be possible to do one of the two following ?

provide a more recent version of catkin_lint in the ubuntu apt repositories (1.6.25 is in Debian testing) @artivis @florcabral
provide a more recent version of catkin_lint in the ROS apt repositories @nuclearsandwich @cottsay @tfoote

Related to https://github.com/ros/rosdistro/pull/41004
Thanks ! :pray:

Hi @mikaelarguedas, thanks for the ping :+1: .
Tracking this at LP#2087555 as well. Note that the version is also in Oracular.

@mikaelarguedas would you happen to have a minimal reproducible example? I gave this a quick try and it seems to work fine.

While trying to provide a simple reproducible example I faced another issue :sweat_smile:
Simply installing the package as is on a base ubuntu 24.04 image:
FROM ubuntu:noble

RUN apt update && apt install -y git catkin-lint

WORKDIR /test_ws/src
RUN git clone https://github.com/ros/std_msgs

RUN catkin_lint .

results in:
 > [5/5] RUN catkin_lint .:
0.236 catkin_lint: cannot load rosdep database: No module named 'rosdep2'
0.236 catkin_lint: unknown dependencies will be ignored
0.246 catkin_lint: cannot import 'all': No module named 'distutils'

And I can't seem to find a rosdep candidate in the ubuntu packages for noble:
https://packages.ubuntu.com/search?keywords=rosdep&searchon=names&suite=all&section=all

I haven't reproduced the freeze in a container yet but have a couple machines with fairly fresh ubuntu installs that do exhibit it, I'll dig a bit more into it in the next couple days

You may have missed the following: Changes to ROS Debian Science Support packages which explains why rosdep isn't in Noble.
As for the issue with catkin_lint, I can install it in a fresh LXD container and somewhat successfully execute it:
lxc launch ubuntu:24.04 catkin-lint
lxc shell catkin-lint

ubuntu@catkin-lint:~$ apt update && apt install catkin-lint
...
ubuntu@catkin-lint:~$ mkdir workspace && cd workspace
ubuntu@catkin-lint:~$ git clone https://github.com/ros/geometry2 -b noetic-devel
ubuntu@catkin-lint:~$ catkin_lint .
catkin_lint: cannot load rosdep database: No module named 'rosdep2'
catkin_lint: unknown dependencies will be ignored
test_tf2: CMakeLists.txt(19): error: catkin_add_gtest() used without if(CATKIN_ENABLE_TESTING)
test_tf2: CMakeLists.txt(22): error: catkin_add_gtest() used without if(CATKIN_ENABLE_TESTING)
...

Thanks for looking into it!

You may have missed the following: Changes to ROS Debian Science Support packages which may explain why rosdep isn't in Noble.

oh yeah I did miss that, good news!
Interesting that catkin-lint made the cut without rosdep.

Reproducing the exact same set of steps on the official ubuntu:noble image:
docker run -it --rm ubuntu:noble
# apt update && apt upgrade -y && apt install -y git catkin-lint
# mkdir workspace && cd workspace/
# git clone https://github.com/ros/geometry2 -b noetic-devel
# catkin_lint .

catkin_lint: cannot load rosdep database: No module named 'rosdep2'
catkin_lint: unknown dependencies will be ignored
catkin_lint: cannot import 'all': No module named 'distutils'

Note sure what is different between the lxc base image and the docker one.
That specific issue seems to be addressed in https://github.com/fkie/catkin_lint/commit/da9f311d4e9253b11dbb460170d6a8a12b433058 (commit part of 1.6.23 but not 1.6.22 of catkin_lint)

Looking into the hanging issue, it may be some conflicting deps on some of our development environment a may not be an issue with the upstream pacage itself :pray: :confused:
If that is confirmed I will close this,


[lg-quest-db] done filter lg_deposit & withdraw to questdb

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Backstage not working in Chrome

Backstage is not working in Chrome version Version 94.0.4606.54
Expected Behavior
On yarn start the application should load and show page to select a sign-in method.

Current Behavior
Seeing
This page isn’t working
localhost didn’t send any data.
ERR_EMPTY_RESPONSE

The page is loading in Firefox.

Possible Solution

Steps to Reproduce
Following the documentation to run Backstage locally and go to localhost:3000 in Chrome after the application is running.

Context

Your Environment

NodeJS Version (v14): v14.17.6
Operating System and Version (e.g. Ubuntu 14.04): Mac OS Big Sur v 11.6
Browser Information: Version 94.0.4606.54 (Official Build) (x86_64)

OS:   Darwin 20.6.0 - darwin/x64
node: v14.17.6
yarn: 1.22.1
cli:  0.8.0 (local)
Dependencies:
@backstage/catalog-client       0.3.19
@backstage/core-api             0.2.23
@backstage/core-components      0.3.3, 0.4.2, 0.5.0, 0.6.1
@backstage/core                 0.7.14
@backstage/plugin-catalog-react 0.4.6, 0.5.2

If this issue is only happening on my machine then it most likely is a security policy issue. Thank you for looking into this I think it can be closed and I can look into it more internally. It also seems to be working today even though I haven't changed anything since updating Chrome.
I'm sorry, thanks for looking!

No worries @sarahpmedeiros let us know how it goes and if you find anything!


deleting a published certificate doesn't revert to old certificates

the state machine updates don't consider this scenario.

What should the logic be around superseded versions and deleting draft or published or past versions of certificates?
Currently deleting current OR superseded version just deletes it. Nothing else happens.
Should it be possible to delete published certificates? Once deleted, should previous superseded version become 'current' and editable? Where should previously published but now deleted certificate URL resolve to? A 404 or previous version?
Can't currently edit or improve superseded versions, so deleting current leaves you with no next step (?)


Parser should allow leading math commands

x Is new feature

Description of suggestion or shortcoming:
Allow for
a = {
 firstPart
 + 3
}

Right now, we require the "+" to be at the end of the first line.

This is not possible to do without ambiguity, unfortunately.
Consider this:
a = {
  x = 4
  - 3
}

Is a -3 or 1?
C/C++ solves it by requiring semicolons; Python by requiring either \ before a new line or () around the expression; Rust by requiring semicolons after statements (but not before the final expression).
Related: #1736.

Yep, that's fair. Will close then!


ZMK_BEHAVIOR Macro no longer working after update

ZMK_BEHAVIOR(tmux_left, macro,
    wait-ms = <0>;
    tap-ms = <5>;
    bindings = <&kp LC(A) &kp H>;
)

https://github.com/lsshawn/corne-zmk/blob/f9514af7ffbd0659245a88ec1488e9c4fd61bf7c/config/corne.keymap#L188 here's my keymap.
I noticed that the macro only register the first keypress.

The syntax looks fine. What's the update that you are referring to, and did it work before? Also do the other macros in your keymap work fine?
It might be worth trying to increase the wait and tap times to see if that makes a difference. If the times are too short there can be issues over Bluetooth and on some OS and some terminals/remote connections.
BTW: since you are setting all your macros to use the same wait-ms and tap-ms, you might be interested in the new global configuration options CONFIG_ZMK_MACRO_DEFAULT_WAIT_MS and CONFIG_ZMK_MACRO_DEFAULT_TAP_MS which you can set in your corne.conf file. Then you could define all your macros in a one-liner such as
ZMK_BEHAVIOR(tmux_left, macro, bindings = <&kp LC(A) &kp H>; )

See here for details https://zmk.dev/docs/config/behaviors#macro


Adding interpolation search algorithm

Hi @verma-tanishq,
Thanks for your contributions, and welcome to our team.

The invitation link

Thank you @ming-tsai  for inviting me to the organization.


i18n(es): Translated markdown-image-not-found.mdx

What kind of changes does this PR include?

New or updated content
Translated content

Description

What does this PR change? Give us a brief description.
Translated markdown-image-not-found.mdx to spanish

Gracias por la revisión


Order Annotation maters for perEnvironment indexation

Hello,
 * @Algolia\Index(autoIndex=true)
 * @Algolia\Index(perEnvironment=false)

=> Works as expected
* @Algolia\Index(perEnvironment=false)
* @Algolia\Index(autoIndex=true)

=> Ignore perEnvironment=false
Is it normal ?

Not expected ;)
Could this somehow be related to local caching of entity metas on your side?
Otherwise, if you find the main reason, I'd gladly accept a PR 👍

Hey @bourdeau
i've been unable to re-produce this, closing it for now.
Feel free to give us more context to re-produce it.


Tables recognition

The app works pretty well on most documents, but on some it just says everything is a table:

Is there any idea how to reprocess the tables?

Hi!
We saw some errors as well, and we believe they can be fixed with more labeled data. However, we are currently focusing our time on other areas that require our attention. The training set we are using is not ours. It is called DocLayNet and is a human-annotated document layout segmentation dataset containing 80,863 pages from a broad variety of document sources.
Can you try both models (fast and slow) for this page and share your results with us?
curl -X POST -F<EMAIL_ADDRESS>-F "fast=true" localhost:5060
curl -X POST -F<EMAIL_ADDRESS>-F "fast=false" localhost:5060
Thank you very much.

I'll try it out and let you know! :)

Thank you for your suggestion.
It is not possible for us to decide which model is correct for each PDF page. We will think about this.
In our overall results, the VGT model (default model) is better on average and it detects images properly, something that the fast model is not capable of.


fixed iRODS browser issue

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case
This will fix iRODS browser issue. Without it, iRODS browser popup dialog would always show empty iRODS user and empty file content.

@Maurier As you suggested, I wrapped iRODS browser event handlers in document.ready function, and then everything works. Could you take a quick review and approve it if it looks ok with you? Thanks

retest this, please


Fix record list filter with multiple not equal conditions

The following changes are implemented
TODO: Summary
Changes in the user interface:
TODO: Add screenshots, recordings or remove this section
Checklist when submitting a final (!draft) PR

[ ] Commits are tidied up, squashed if needed and follow guidelines in CONTRIBUTING.md
[ ] Code builds
[ ] All existing tests pass
[ ] All new critical code is covered by tests
[ ] PR is linked to the relevant issue(s)
[ ] Rebased with the target branch

LGTM


Controlling precision for computations

Is it possible to control the precision used for computations in the SimpleITK python wrapper?
For instance I'm trying to compute the gradient magnitude of an image:
import SimpleITK as sitk
img = sitk.ReadImage("myfile.mrc")
grad = sitk.GradientMagnitudeRecursiveGaussianImageFilter()
g = grad.Execute(img)

But I get a memory error:
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-5-5e855a54a8db> in <module>()
----> 1 g = grad.Execute(img)

~\AppData\Local\Continuum\anaconda3\lib\site-packages\SimpleITK\SimpleITK.py in Execute(self, *args)
  31666
  31667         """
> 31668         return _SimpleITK.GradientMagnitudeRecursiveGaussianImageFilter_Execute(self, *args)
  31669
  31670 GradientMagnitudeRecursiveGaussianImageFilter_swigregister = _SimpleITK.GradientMagnitudeRecursiveGaussianImageFilter_swigregister

RuntimeError: Exception thrown in SimpleITK GradientMagnitudeRecursiveGaussianImageFilter_Execute: c:\b\3.6-64\itk-prefix\include\itk-4.13\itkImportImageContainer.hxx:199:
Failed to allocate memory for image.

It seems as though the default is double precision, but I'm wondering if there's a way to force the computation to use single precision.

That particular filer produces an image of float. It it a bit of a memory hog with its ITK implementation, but even at the ITK level for the filter it does not provide control of the internal types.
How much memory does your system have? How what is the dimensions of your image and what it the component type when read?

The system has 512 GB. The image output is:
Image<PHONE_NUMBER>0E40A0)
  RTTI typeinfo:   class itk::Image<unsigned char,3>
  Reference Count: 1
  Modified Time: 944
  Debug: Off
  Object Name:
  Observers:
    none
  Source: (none)
  Source output name: (none)
  Release Data: Off
  Data Released: False
  Global Release Data: Off
  PipelineMTime: 934
  UpdateMTime: 943
  RealTimeStamp: 0 seconds
  LargestPossibleRegion:
    Dimension: 3
    Index: [0, 0, 0]
    Size: [12500, 520, 6674]
  BufferedRegion:
    Dimension: 3
    Index: [0, 0, 0]
    Size: [12500, 520, 6674]
  RequestedRegion:
    Dimension: 3
    Index: [0, 0, 0]
    Size: [12500, 520, 6674]
  Spacing: [1, 1, 1]
  Origin: [0, 0, 0]
  Direction:
1 0 0
0 1 0
0 0 1

  IndexToPointMatrix:
1 0 0
0 1 0
0 0 1

  PointToIndexMatrix:
1 0 0
0 1 0
0 0 1

  Inverse Direction:
1 0 0
0 1 0
0 0 1

  PixelContainer:
    ImportImageContainer<PHONE_NUMBER>507460)
      RTTI typeinfo:   class itk::ImportImageContainer<unsigned __int64,unsigned char>
      Reference Count: 1
      Modified Time: 940
      Debug: Off
      Object Name:
      Observers:
        none
      Pointer:<PHONE_NUMBER>364040
      Container manages memory: true
      Size:<PHONE_NUMBER>0
      Capacity:<PHONE_NUMBER>0

So your input image is 43GB of uint8 ( one byte). For a single 40byte image of "float" the image would be 172 GB. So you can only have a couple copy of an image this size around before running out of memory, if there a image of the gradient ( which is likely internal for this filter ) you'd be out of memory.
You may be able to run the RecusiveGaussian  followed by the GradientMagnitude this combination should not create an image for the gradient.
This image is likely a noise electron microscopy image. Do you really need to do these operations at full resolution? You could use the BinShrink filter to reduce the resolution. Or you could operator on smaller chunks of the image at a time.

Ok, that answers my question, thanks!


404 Not Found after following the QuickCheck link from haskell-lang.org/packages

Steps to reproduce:

go to https://haskell-lang.org/packages,
click on the link for quickcheck.

Expected result: The quickcheck Stackage page should be loaded (I used the search on the main page of Stackage and found this: https://www.stackage.org/package/QuickCheck).
Actual result: https://www.stackage.org/package/quickcheck is loaded, saying that something was "Not Found", with the according HTTP response status code.

Can you send a PR fixing the link ?

Sure, but that's already been fixed. Sorry for the delay, was trying to get this to build on Windows. Man did I suffer.

This still appears to be an issue.

Is it? Commit e85eee1ae1b303978b4eb70e16f1dcf10e23159f fixes the issue for me. And everything seems to be fine at https://ci.haskell-lang.org/packages.

Ah, OK, we just need to deploy to prod then.


Bug in alpha-g-trg-scalers when there are no TRG packets in the MIDAS file

I have noticed that in the case where there are no TRG data packets in the MIDAS file (e.g. the simulation output), the alpha-g-trg-scalers returns a Error: BadExitCode { status: ExitStatus(unix_wait_status(256)) } (i.e. the PDF failed to compile).
I think that it should be more appropriate to produce an empty plot in these cases rather than fail compilation of the plot; this already happens with e.g. --max-time 0.0.

The problem is caused by legend entries={...},
Removing this key when there are no plots should fix the issue.


Incorrectly marking repeated letters

Thanks for this project :).
I think there's a small issue in the algorithm for providing green/yellow/grey information when the entered word has double letter and the correct one only has one.
I was guessing BALLS, BULLS when the correct word was BELOW and the game was reporting one correctly placed L and one incorrectly.

I think that it should not mark the second (misplaced) L as yellow and only as grey, right? Not sure if there are any official rules about wordle but found this on one of the sites explaining the game: "If you repeat a letter more than it appears, then the excess will be highlighted in grey."
Not expecting this to be fixed but if you are willing to accept PRs, I could refresh my DOS asm knowledge and try to fix this.

Hi Paweł, how are you doing?
Sorry for the late response, for some reason I didn't get any email =/
Yeah, that was intentionally left aside in order to simplify the algorithm at first. I thought of fixing this at some point, but if you want to submit a fix, that will be happily accepted! I'm also just starting with assembly in general, so that would be a cool experience to see how you'd fix it! =D
Thank you!

hi @CrociDB and thanks for your reply. Don't worry about it being late.
Good to know that this was omitted intentionally so I won't be chasing a bug but try add new functionally. I was thinking a bit about this and it might add some complexity but nonetheless it might be a good challenge to brush off some assembly.

@CrociDB Sorry for late update took me some time to sit to the code. If I understood the design it works on an index into the huge array of words. I think the best approach change would be to make a copy of the word and work on that instead. Any exact hit green - would remove that letter from this copy (replace with '\0' maybe) and that should correctly prepare for the yellow matches that checks if the letter is in the word but not on the right spot. I think that should work and fix the problem, but appears would change some of the functions to not operate on index - I'll try to find some simples solution possible to this.

Hi @pawlos. Yeah, there's a huge array of words, and game_selected_world keeps the index to the randomly selected word.
Oh, copying the word before doing the check is a great idea, and you can do it in the beginning of the  update_word_state function, so it always starts off with the entire word. But only that won't work right now, because it checks for the greens and yellows in the same letter interation. I think in that case, we should check all greens before, then start all over and check all the yellows.
In update_word_state, it iterates over the user input word, more specifically in _letter_iteration. Then it checks if the current letter matches for green, otherwise it start's a new loop on the target word to match for yellow. If we separate the loop, then that can be achieved we very few changes.
It's funny how simple loops become complex structures in assembly. 😆

Thanks for the additional info.
"we should check all greens before, then start all over and check all the yellows." - yes that was the idea, but I've must have missed the fact that green & yellow are checked together. That's a problem but splitting the checks - as you described - should work.

It's funny how simple loops become complex structures in assembly. 😆

Everything seems complex in assembly ;) but also with enough time everything can be understood :)

@CrociDB Sorry I haven't been providing the PR yet. Had to change the order of going through letters (was from back to front - now front to back) and I'm discovering some corner cases here and there ;)
I have some work related work this week - I'll get back to this on next one.

Created PR for this fix. Tried to limit changes as much as possible but few essential were needed to have a consistent state between the words and the keyboard with letters below.
Please let me know if something should be changed

Thanks for the PR! It looks really cool. I just found one thing, right after I approved, however. It looks like it's not marking unused letters in the main board anymore:

It's still working normally on the keyboard, though.

I guess not enough testing ;) Let me have another look.

ok, think I've just deleted too much. It looks like it's ok

I'll do a bit more testing and create new PR.

Thanks, @pawlos, I merged and generated a new release with your change! :)


Cleaned up font.py

cleaned up font.py using python inbuilt xml parser and removed the use of ISO to get font due to most fonts don't have any ISO related to it

I think you got my approach wrong for this function. Kivy already has a very simple font registration system, my purpose is to get the proper font name for a given language automatically. You are making that process manual again.
For instance; let say i have an application which supports more than ten languages and i want my app to return the right font name automatically for the language i chose, then how can I know which font name supports it?
With your approach, first i have to find out which font supports that language then call that font name.
With my approach i only need to call target language's supported font name by its iso code.

Not all iso is supported and you still have to look up the iso name before
using the font for a specific Language (just that the iso is shorter). My
point here is that inside the font.xml file, some language have more than
one font attached to it like the Telugu language which has NotoSansTelug,
NotoSerifTelugu, NotoSansTeluguUI. Using your method will skip the extra 2
and pick only the first.
Or maybe I can modify the code to still use iso and add extra parameter
that will look for a specific font_style
On Fri, 30 Sep 2022, 21:48 Yunus Ceyhan, @.***> wrote:

I think you got my approach wrong for this function. Kivy already has a
very simple font registration system, my purpose is to get the proper font
name for a given language automatically. You are making that process manual
again.
For instance; let say i have an application which supports more than ten
languages and i want my app to return the right font name automatically for
the language i chose, then how can I know which font name supports it?
With your approach, first i have to find out which font supports that
language then call that font name.
With my approach i only need to call target language's supported font name
by its iso code.
—
Reply to this email directly, view it on GitHub
https://github.com/kvdroid/Kvdroid/pull/38#issuecomment-1264011658, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AKB42IQM6LCO5EF5LQVFMFDWA5G3FANCNFSM6AAAAAAQYWFEBE
.
You are receiving this because you authored the thread.Message ID:
@.***>

@yunus-ceyhan I sent you an email requesting for a write access to be able to attend to issues (add tags, close, reopen)

"you still have to look up the iso name before using the font for a specific Language"
Actually not, you can get any language's iso code by Kvdroid so easily and automatically, that's why I'm so obsessed with it. Also i have 3 projects using the existing method so it's extremely necessary for me.

But if I have no idea of what my iso language or french language is I have to google that first, anyway I will include the use of the iso and add extra optional parameter to get other font_style

@yunus-ceyhan I sent you an email requesting for a write access to be able to attend to issues (add tags, close, reopen). I have not got a reply on that

what about this

@yunus-ceyhan I sent you an email requesting for a write access to be able to attend to issues (add tags, close, reopen). I have not got a reply on that

Ok. I will when I'm available. So please continue to make a pull request before changing any existing method which i need to check and know if it's affecting any of my existence projects.

sure, I will not merge anything without your knowledge

But if I have no idea of what my iso language or french language is, I have to google that first, anyway I will include the use of the iso and add extra optional parameter to get other font_style

@yunus-ceyhan I sent you an email requesting for a write access to be able to attend to issues (add tags, close, reopen). I have not got a reply on that

what about this

You don't need to google it, as i said you can determine device language or get requested language's iso code by Kvdroid..
from kvdroid.tools.lang import device_lang print(device_lang()) # en print(device_lang("DisplayLanguage")) # English print(device_lang(option = "DisplayLanguage", display_lang = "fr")) # Anglais """ Available options are ; Language ---> en ISO3Language ---> eng Country ---> US ISO3Country ---> USA DisplayCountry ---> United States DisplayName ---> English (United States) String ---> en_US DisplayLanguage ---> English LanguageTag ---> en-US """

@yunus-ceyhan how did you get the values of the keys in iso.py. I know it exist in fonts.xml but I want to know how you associated the keys to values

@yunus-ceyhan how did you get the values of the keys in iso.py. I know it exist in fonts.xml but I want to know how you associated the keys to values

I don't remember well but i reviewed some repos then generated my own from a mix of them. Almost all must be true, anyway if there are mistakes we can edit it or add the missing ones..

Ok, let me try to figure it out

@yunus-ceyhan I sent you an email requesting for a write access to be able to attend to issues (add tags, close, reopen). I have not got a reply on that

done

@yunus-ceyhan you can now test and if it looks good go ahead and merge

@yunus-ceyhan you can now test and if it looks good, go ahead and merge

Traceback (most recent call last):    File "/data/user/0/ru.iiec.pydroid3/files/temp_iiec_codefile.py", line 7, in <module>      font_name=system_font(font_name='NotoNaskhArabic'))    File "/data/user/0/ru.iiec.pydroid3/files/x86_64-linux-android/lib/python3.9/site-packages/kvdroid/tools/font.py", line 133, in system_font      register_system_font(True)    File "/data/user/0/ru.iiec.pydroid3/files/x86_64-linux-android/lib/python3.9/site-packages/kvdroid/tools/font.py", line 127, in register_system_font      LabelBase.register(**font_data)    File "/data/user/0/ru.iiec.pydroid3/files/x86_64-linux-android/lib/python3.9/site-packages/kivy/core/text/__init__.py", line 319, in register      fonts.append(fonts[0])  # add regular font to list again  IndexError: list index out of range

Also, since it gives an error I couldn't test it completely but the system_font() function without any parameter should return the device's current language font. For instance, if the device's current language is English it should return Roboto but if it is Arabic it should return NotoNaskhArabic.
Label(text="Hello", font_name=system_font())

@yunus-ceyhan please test again

Also, since it gives an error I couldn't test it completely but the system_font() function without any parameter should return the device's current language font. For instance, if the device's current language is English it should return Roboto but if it is Arabic it should return NotoNaskhArabic.
Label(text="Hello", font_name=system_font())

fixed too

@yunus-ceyhan please test again

Label(text="你好世界", font_name=system_font('zh'))

 Traceback (most recent call last):    File "/data/user/0/ru.iiec.pydroid3/files/temp_iiec_codefile.py", line 10, in <module>      Label(text="你好世界", font_name=system_font('zh'))    File "/data/user/0/ru.iiec.pydroid3/files/x86_64-linux-android/lib/python3.9/site-packages/kivy/uix/label.py", line 329, in __init__      self._create_label()    File "/data/user/0/ru.iiec.pydroid3/files/x86_64-linux-android/lib/python3.9/site-packages/kivy/uix/label.py", line 349, in _create_label      self._label = CoreLabel(**dkw)    File "/data/user/0/ru.iiec.pydroid3/files/x86_64-linux-android/lib/python3.9/site-packages/kivy/core/text/__init__.py", line 288, in __init__      self.resolve_font_name()    File "/data/user/0/ru.iiec.pydroid3/files/x86_64-linux-android/lib/python3.9/site-packages/kivy/core/text/__init__.py", line 356, in resolve_font_name      raise IOError('Label: File %r not found' % fontname)  OSError: Label: File 'Hant.ttf' not found

I don't know which android version you are using for testing but some android version has different font.xml format so when I wrote that function I considered all.
You can eighter check every android  font.xml then edit your code or just leave it as before. The existing function is working without any problem.
However, if you are still so obsessed with changing it you can check all android versions' font.xml from the link below.
https://cs.android.com/android/platform/superproject

I don't know which android version you are using for testing but some android version has different font.xml format so when I wrote that function I considered all.
You can eighter check every android font.xml then edit your code or just leave it as before. The existing function is working without any problem.
However, if you are still so obsessed with changing it you can check all android versions' font.xml from the link below.
https://cs.android.com/android/platform/superproject

@yunus-ceyhan if you check line 80 to 83 you will discover that I supported both xml files you previously added
if os.path.exists("/system/etc/fonts.xml"):
    SYSTEM_FONT_PATH = "/system/etc/fonts.xml"
else:
    SYSTEM_FONT_PATH = "/system/etc/system_fonts.xml"

Tested on Android 9 still same
 Traceback (most recent call last):    File "/data/user/0/ru.iiec.pydroid3/files/temp_iiec_codefile.py", line 10, in <module>      Label(text="你好世界", font_name=system_font('zh'))    File "/data/user/0/ru.iiec.pydroid3/files/x86_64-linux-android/lib/python3.9/site-packages/kivy/uix/label.py", line 329, in __init__      self._create_label()    File "/data/user/0/ru.iiec.pydroid3/files/x86_64-linux-android/lib/python3.9/site-packages/kivy/uix/label.py", line 349, in _create_label      self._label = CoreLabel(**dkw)    File "/data/user/0/ru.iiec.pydroid3/files/x86_64-linux-android/lib/python3.9/site-packages/kivy/core/text/__init__.py", line 288, in __init__      self.resolve_font_name()    File "/data/user/0/ru.iiec.pydroid3/files/x86_64-linux-android/lib/python3.9/site-packages/kivy/core/text/__init__.py", line 356, in resolve_font_name      raise IOError('Label: File %r not found' % fontname)  OSError: Label: File 'Hant.ttf' not found

i test it with different languages as well.
Label(text="Merhaba", font_name=system_font('tr'))

   File "/data/user/0/ru.iiec.pydroid3/files/x86_64-linux-android/lib/python3.9/site-packages/kivy/core/text/__init__.py", line 356, in resolve_font_name      raise IOError('Label: File %r not found' % fontname)  OSError: Label: File 'Latn.ttf' not found

system_font('zh')

This is fixed

i already checked it, the difference is not only the file name or path, the font.xml file's content is also changing from version to version, even some manufacturer has its custom font.xml

I know that, the issue is not with the change of the content of the xml file, it is with mapping iso codes to font files that does not exist. for example mapping tr to Latn or en to Latn too. if you look close enough on the xml file you will discover that there is no font with the name Latn on it. And most iso code languages are mapped to Latn on the iso.py. The issue is basically with the iso codes

This last commit fixes everything, check it out

system_font('zh')

This is fixed

i already checked it, the difference is not only the file name or path, the font.xml file's content is also changing from version to version, even some manufacturer has its custom font.xml

@yunus-ceyhan
I know that. The issue is not with the change of the content of the xml file, it is with mapping iso codes to font files that does not exist. for example mapping tr to Latn or en to Latn too. if you look close enough on the xml file you will discover that there is no font with the name Latn on it. And most iso code languages are mapped to Latn on the iso.py which is not the default language of the iso code. The issue is basically with the iso codes

i examined it a lot when i wrote it and made my code to handle almost all the cases. All "Latn languages" using Roboto so i  returned Roboto when it requested Latn.
Btw you last fix didn't solve anything still getting error.
Label(text = "你好世界", font_name = system_font('zh'))    File "/data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.9/site-packages/kvdroid/tools/font.py", line 143, in system_font      raise KeyError(f"{iso} font file not found in the system's default fonts")  KeyError: "zh font file not found in the system's default fonts"

@yunus-ceyhan I raised that error when the iso does not have any font file associated with it instead of returning Roboto. There should be some level of freedom to the users instead forcing Roboto on them. The error is raised so that they can except it and use which ever font they like. Let say for example, the user wants to make use of zulu language and lets assume the iso code is zu. So now when they try to get that language using the iso they will discover that the font does not exist and instead of forcing them to use Roboto we can raise an error and they can except it and manually use any font file they  got
code:
try:
    Label(text="kuma xu!lasd", font_name=system_font('zu'))
except KeyError:
    Labe(text="kuma xu!lasd", font_name='path/to/zulu.ttf')

Label(text = "你好世界", font_name = system_font('zh'))
File "/data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.9/site-packages/kvdroid/tools/font.py", line 143, in system_font
raise KeyError(f"{iso} font file not found in the system's default fonts")
KeyError: "zh font file not found in the system's default fonts

By the way I have fixed the above problem, zh has a font file and I was looking in the dictionary values and not the keys. you can test and confirm

Still not working for me. :( I really don't know what to say. We are spending our time on a function that works as expected without getting any negative feedback.
I have 3 applications using that function, one of them has more than 2 million downloads and you want me to ruin my app for the probability someone may want to get some level of freedom in the future.
I understand your good intentions, but you're only making things harder for me by doing this.
I think I couldn't express my approach well to that functionality. Or maybe I didn't get your concept well enough, so I have another idea. Don't touch the existing function, instead, add yours as an alternative with a different name. if I will be convinced that your concept is more practical than mine I will remove it on my own.


regarding change in inputs of running workflow

Can I change input of running workflow with signaling? Is there any sample example for this?.

Please use our community forum for questions like this:
https://community.temporal.io/

Please use our community forum for questions like this:
https://community.temporal.io/


fix: to_bitmask return uint32_t to avoid sign extend int to uint64

There is a bug in SkipString that  caused by cast int to uint64.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (6fabefe) 95.77% compared to head (03549d9) 95.77%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master      #83   +/-   ##
=======================================
  Coverage   95.77%   95.77%
=======================================
  Files          21       21
  Lines        2435     2435
=======================================
  Hits         2332     2332
  Misses        103      103

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

int _mm_movemask_epi8(__m128i a)
Shall we do the zext at the place that we call it, instead of changing the return type ?

int _mm_movemask_epi8(__m128i a)
Shall we do the zext at the place that we call it, instead of changing the return type ?

Sonic has some to_bitmask functions and all of them should return same sign or unsign type.


DS-1089 Feedback form breaks when hostname is short

Fix for a string index out of bounds error
https://jira.duraspace.org/browse/DS-1089
Rebased #193 on the correct branch (master)

Closing as outdated/obsolete (no activity in several years). Please resubmit if you are interested in helping move this forward. Thanks!


Shader optimizations don't work on material variants

If any material variants are used on the avatar, shader optimizations appear to fail with "Attempted to set shader on material variant". The build appears to continue as normal but without shader optimizations. My use case involves having material variants and then having the optimizer write the static values. This could likely be remedied by having the optimizer make copies of the material variants and then flatten them (see: top left three dots menu > flatten material variant) before continuing with other steps.

3.8.0 should now work with material variants.


Make Floating IPs available for reporting

https://bugzilla.redhat.com/show_bug.cgi?id=1504155

@jrafanie Can you take a look and merge if you're ok with this? Libor has already reviewed. Thx