plugin can't be loaded on mobile app (iOS)

Hi,
Plugin can't be loaded on mobile editor on iOS with the message "Failed to load obsidian-checklist-plugin". In setting it is disabled. Enabling it fails with same error message.
Regards,

(For me Android and ChromeOS)

Isn't this a duplicate of #63 ?


Wrong behaviour after entering unicode string

a) Launch the demo
b) Input a̐éö̲
c) Move to the left at least four times
the cursor is now in the middle of the prompt.

It looks like your example string has some combined characters. (Is that what they're called?) I'm very much not familiar with the more subtle aspects of Unicode, so I will learn more about this and then come up with a fix. Thanks for the issue!


feat: pass adapterLocale to adapter

Add another prop for MultiLocalizationProvider named "passLocaleToAdapterLocale" which is by default false.
We pass currentLocale to adapterLocale of LocalizationProvider if mentioned prop was true.
Also we can have adapterLocale in the object type of localeOption (optional).
Revert back getLocalizedDateFnsAdapter function.


OpenPGPv5 AEAD: Add missing out.close() call when closing AEADOutputS…

…tream
I noticed that the AEADOutputStream classes do not close the underlying packet stream when getting closed. This results in truncated output packets.

I think this might cause issues - would a call to flush() fix the problem you are seeing?

Calling flush is not sufficient in my experience.
See the test I added (please do not merge the test since it is adapted from #1346).
If you revert https://github.com/bcgit/bc-java/pull/1345/commits/a56b42220bb98b503bd069a99cde52bd52cb4f36 you will see that the test starts to fail.

Is my test case perhaps misusing the API?

No, you're actually correct - the encryptor classes are only used with ClosableBCPGInputStream objects - in this case the close method is actually used to finish the stream in the layer above but it doesn't propagate the close further meaning further PGP packets can be written to the stream as required. Being a while since I looked at this, a lot of code has flooded under the bridge since then. Merged with minor changes. Should appear on github shortly. Thanks!


HACS requirements not met.

If you install via HACS then after a reboot the custom repository is removed as it does not meet the pre-reqs
For example, there is no issue track in the manifest.json

I guess it is closed in latest release 2024.11.4.


[question] how to save and load trained model?

For example:
In file open_spiel/python/examples/tic_tac_toe_dqn_vs_tabular.py
I would like to save trained agents:
dqn_agent = dqn.DQN(
        sess,
        player_id=0,
        state_representation_size=state_size,
        num_actions=num_actions,
        hidden_layers_sizes=hidden_layers_sizes,
        replay_buffer_capacity=replay_buffer_capacity)
...

How to save dqn_agent?

Unfortunately DQN does not support that yet. However, it should be relatively easy to do by using savers similar to NFSP and policy gradients (see nfsp.py and policy_gradient.py).
It would make a nice contribution. If you do this, it would be great to submit a PR so everyone benefits!

If the task is still useful, I can have a look at it! It does not seem to be too much complicated.

I think this would still be quite useful. I also think it would be straight-forward since it would be quite similar to what we did in NFSP and policy gradients code.

That's great, will work on that!

Hi @gsdt, thanks to @colibri17 there is now a PR for this: https://github.com/deepmind/open_spiel/pull/437. I'll try to import it by next update.

Fixed by https://github.com/deepmind/open_spiel/pull/437 which was merged today.


Add capacity flag to namespaces - cluster-capacity-exhausted

Now when calling /user/services, the namespaces information that is
returned by wit service will also include an attribute
cluster-capacity-exhausted which is a boolean which indicates if the
cluster this namespace is hosted on has exhausted it's resources or is
still capable of running more workloads.
This information can be used by OSIO services to make a decision whether
to spawn any new OSIO service in user namespace on that cluster.
Related to openshiftio/openshift.io#3320

Codecov Report

Merging #2074 into master will increase coverage by 0.32%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master   #2074      +/-   ##
=========================================
+ Coverage   67.27%   67.6%   +0.32%
=========================================
  Files         157     157
  Lines       14385   14278     -107
=========================================
- Hits         9677    9652      -25
+ Misses       3782    3730      -52
+ Partials      926     896      -30

Impacted Files
Coverage Δ

controller/user_service.go
65.11% <100%> (+65.11%)
:arrow_up:

remoteworkitem/jira.go
75% <0%> (-25%)
:arrow_down:

remoteworkitem/scheduler.go
53.65% <0%> (-7.32%)
:arrow_down:

controller/work_item_comments.go
72.64% <0%> (-0.26%)
:arrow_down:

controller/planner_backlog.go
66.27% <0%> (+2.14%)
:arrow_up:

controller/workitem.go
81.49% <0%> (+2.38%)
:arrow_up:

controller/search.go
74.08% <0%> (+3.56%)
:arrow_up:

controller/work_item_link.go
85.47% <0%> (+3.72%)
:arrow_up:

controller/workitems.go
82.95% <0%> (+4.94%)
:arrow_up:

Continue to review full report at Codecov.

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

@surajssd snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-2074-2

@surajssd snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-2074-3

@surajssd snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-2074-4


Initial base implementation for the new version

reprogramming the base foundation like parsing xml
changing to lxml library for parsing
better structure to make transactions faster
basic foundation for the UI

New README.md needed


system_contract::buyram() should call require_recipient(receiver)

forwarded from EOSIO/eos#5070 from @cc32d9
At the moment if Alice buys RAM for Bob, the transaction is only reflected in Alice's history, and Bob's RAM increases silently.
So, require_recipient(receiver);  should be called from system_contract::buyram(), so that the recipient gets notified too. It may be called only when recipient != payer.

Here's a full list of system actions that are missing this kind of events:  https://github.com/cc32d9/eos_zmq_plugin/blob/0dd3ec781482974e678c0fa2fda32de74e84a3c8/zmq_plugin.cpp#L184


Can to start spotlight whit Spotlight spotlight=Spotlight.with(this)...start

hi
i want to skip splotlight after a time so i set spotlight object in variable :
Spotlight spotlight=Spotlight.with(this)...start();
but i have a erorr incompatible type that start return void and we need spotlight object !

I know this is old but if anyone else comes across the issue as well.
I had the same issue, if you do the following it will work
Spotlight spotlight = Spotlight.with(this); ... spotlight.start()


Spring boot upgrade -  Fixing tests

Fixing tests

How to replicate CI configuration locally?

Build Chain tool does "simple" maven build(s), the builds are just Maven commands, but because the repositories relates and depends on each other and any change in API or class method could affect several of those repositories there is a need to use build-chain tool to handle cross repository builds and be sure that we always use latest version of the code for each repository.
build-chain tool is a build tool which can be used on command line locally or in Github Actions workflow(s), in case you need to change multiple repositories and send multiple dependent pull requests related with a change you can easily reproduce the same build by executing it on Github hosted environment or locally in your development environment. See local execution details to get more information about it.

How to retest this PR or trigger a specific build:

for pull request checks
Please add comment: Jenkins retest this

for a specific pull request check
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] tests

for quarkus branch checks
Run checks against Quarkus current used branch
Please add comment: Jenkins run quarkus-branch

for a quarkus branch specific check
Run checks against Quarkus current used branch
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] quarkus-branch

for quarkus main checks
Run checks against Quarkus main branch
Please add comment: Jenkins run quarkus-main

for a specific quarkus main check
Run checks against Quarkus main branch
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] quarkus-main

for quarkus lts checks
Run checks against Quarkus lts branch
Please add comment: Jenkins run quarkus-lts

for a specific quarkus lts check
Run checks against Quarkus lts branch
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] quarkus-lts

for native checks
Run native checks
Please add comment: Jenkins run native

for a specific native check
Run native checks
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] native

for native lts checks
Run native checks against quarkus lts branch
Please add comment: Jenkins run native-lts

for a specific native lts check
Run native checks against quarkus lts branch
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] native-lts

How to backport a pull request to a different branch?

In order to automatically create a backporting pull request please add one or more labels having the following format backport-<branch-name>, where <branch-name> is the name of the branch where the pull request must be backported to (e.g., backport-7.67.x to backport the original PR to the 7.67.x branch).

NOTE: backporting is an action aiming to move a change (usually a commit) from a branch (usually the main one) to another one, which is generally referring to a still maintained release branch. Keeping it simple: it is about to move a specific change or a set of them from one branch to another.

Once the original pull request is successfully merged, the automated action will create one backporting pull request per each label (with the previous format) that has been added.
If something goes wrong, the author will be notified and at this point a manual backporting is needed.

NOTE: this automated backporting is triggered whenever a pull request on main branch is labeled or closed, but both conditions must be satisfied to get the new PR created.

Quarkus-3 PR check is failing ... what to do ?

The Quarkus 3 check is applying patches from the `.ci/environments/quarkus-3/patches`.
The first patch, called 0001_before_sh.patch, is generated from Openrewrite .ci/environments/quarkus-3/quarkus3.yml recipe. The patch is created to speed up the check. But it may be that some changes in the PR broke this patch.
No panic, there is an easy way to regenerate it. You just need to comment on the PR:
jenkins rewrite quarkus-3

and it should, after some minutes (~20/30min) apply a commit on the PR with the patch regenerated.
Other patches were generated manually. If any of it fails, you will need to manually update it... and push your changes.

Kogito Runtimes errors seems unrelated:
2024-04-04T12:31:43.1752254Z ##[group]🚀 Publish results
2024-04-04T12:31:43.1753403Z ℹ - JUnit Test Report - 3226 tests run, 3170 passed, 53 skipped, 3 failed.
2024-04-04T12:31:43.1756361Z    🧪 - apache_incubator-kie-kogito-runtimes/quarkus/addons/tracing-decision/integration-tests/src/test/java/org/kie/kogito/tracing/QuarkusTracingAddonDevServicesIT.java | java.lang.RuntimeException: Failed to start quarkus
2024-04-04T12:31:43.1760134Z    🧪 - apache_incubator-kie-kogito-runtimes/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow/src/main/codestarts/quarkus/sonataflow-quarkus-codestart/java/src/test/java/org/acme/GreetTest.java | java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
2024-04-04T12:31:43.1764154Z    🧪 - apache_incubator-kie-kogito-runtimes/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-integration-test/src/test/java/org/kie/kogito/quarkus/ServerlessWorkflowCodestartTest.java | [Run project return status is zero]
2024-04-04T12:31:43.1827884Z ##[error]java.lang.RuntimeException: Failed to start quarkus
2024-04-04T12:31:43.1865731Z ##[error]java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor#generateSources threw an exception: org.kie.kogito.codegen.process.ProcessCodegenException: Error while elaborating process id = "greet", packageName = "org.kie.kogito.serverless": class java.util.ArrayList cannot be cast to class org.jbpm.workflow.core.Constraint (java.util.ArrayList is in module java.base of loader 'bootstrap'; org.jbpm.workflow.core.Constraint is in unnamed module of loader io.quarkus.bootstrap.classloading.QuarkusClassLoader @5bfdc92b)
	at org.kie.kogito.codegen.process.ProcessCodegen.internalGenerate(ProcessCodegen.java:329)
	at org.kie.kogito.codegen.core.AbstractGenerator.generate(AbstractGenerator.java:72)
	at org.kie.kogito.codegen.core.ApplicationGenerator.lambda$generateComponents$0(ApplicationGenerator.java:98)
	at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:273)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
	at org.kie.kogito.codegen.core.ApplicationGenerator.generateComponents(ApplicationGenerator.java:100)
	at org.kie.kogito.codegen.core.ApplicationGenerator.generate(ApplicationGenerator.java:77)
	at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateFiles(KogitoAssetsProcessor.java:291)
	at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateSources(KogitoAssetsProcessor.java:146)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:864)
	at io.quarkus.builder.BuildContext.run(BuildContext.java:282)
	at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
	at java.base/java.lang.Thread.run(Thread.java:840)
	at org.jboss.threads.JBossThread.run(JBossThread.java:501)
Caused by: java.lang.ClassCastException: class java.util.ArrayList cannot be cast to class org.jbpm.workflow.core.Constraint (java.util.ArrayList is in module java.base of loader 'bootstrap'; org.jbpm.workflow.core.Constraint is in unnamed module of loader io.quarkus.bootstrap.classloading.QuarkusClassLoader @5bfdc92b)
	at org.jbpm.compiler.canonical.SplitNodeVisitor.visitNode(SplitNodeVisitor.java:69)
	at org.jbpm.compiler.canonical.SplitNodeVisitor.visitNode(SplitNodeVisitor.java:48)
	at org.jbpm.compiler.canonical.AbstractNodeVisitor.visitNode(AbstractNodeVisitor.java:79)
	at org.jbpm.compiler.canonical.ProcessVisitor.visitNodes(ProcessVisitor.java:230)
	at org.jbpm.compiler.canonical.ProcessVisitor.visitProcess(ProcessVisitor.java:184)
	at org.jbpm.compiler.canonical.ProcessToExecModelGenerator.generate(ProcessToExecModelGenerator.java:103)
	at org.kie.kogito.codegen.process.ProcessExecutableModelGenerator.generate(ProcessExecutableModelGenerator.java:47)
	at org.kie.kogito.codegen.process.ProcessCodegen.internalGenerate(ProcessCodegen.java:325)
	... 24 more
2024-04-04T12:31:43.1885258Z ##[error][Run project return status is zero]

Closing this in favor of https://github.com/apache/incubator-kie-kogito-runtimes/pull/3463


How to add a sample text  along with Date in Date View

I couldn't find this feature in this library.
I don't know whether this library will be supporting this feature or not.

You might be able to add text using decorators https://github.com/prolificinteractive/material-calendarview/blob/master/docs/DECORATORS.md

I can see how to add same labels/images to selected dates that are passed. How do I add different labels. Let's say Nov 3 - '5 jobs'; Nov 4 - '3 jobs'; Nov 5 - 'no jobs' and so on. Help would be greatly appreciated.

@vaidasta how can you add label to selected date?

@vaidasta just add different decorator to different days :P

@vaidasta just add different decorator to different days :P

any example?


Does Scriban support .NET Object Indexers ?

Firstly, thanks for this awesome library. I am investigating using it in an app that will retrieve data for CAD drawings of wiring diagrams for television stations, just in case you thought you'd heard every use-case.
My question: does the .NET object property retrieval support class indexers like Thing["Index"] where Index isn't an actual property but rather the argument for an indexer lookup? For a MSFT example on indexers - https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/indexers/using-indexers#example-2
cheers

I think I can answer my own question here: "not yet" and "looks tricky". Or it does and I missed it,
Looking at https://github.com/lunet-io/scriban/blob/63ad634ffaf55cd4b8e72d1342f979520934c5be/src/Scriban/Runtime/Accessors/TypedObjectAccessor.cs at TryGetValue is only looks up fields and properties.
I found https://stackoverflow.com/questions/14462820/check-if-indexing-operator-exists/14462921#14462921 for reference on indexers and how to find it.
I tried adding this code to TryGetValue ...
var indexer = _type.GetProperties().FirstOrDefault(p => p.GetIndexParameters().Length != 0
                                                      && !typeof(IList).IsAssignableFrom(_type));

if (indexer != null)
{
    object[] indexArgs = { member };

    try
    {
        value = indexer.GetValue(target, indexArgs);
    }
    catch (Exception )
    {
        return false;
    }
    return true;
}

return false;

but it broke .NET standard v1 & it also bypasses any filters etc. so it's not pull-request worthy.
Severity	Code	Description	Project	File	Line	Suppression State
Error	CS1061	'Type' does not contain a definition for 'GetProperties' and no accessible extension method 'GetProperties' accepting a first argument of type 'Type' could be found (are you missing a using directive or an assembly reference?)	Scriban(netstandard1.1), Scriban(netstandard1.3)	D:\CodezOnD\Github\scriban\src\Scriban\Runtime\Accessors\TypedObjectAccessor.cs	63	Active

Your thoughts?

The commit 14b0b171bd1937522c97eee6f45e2583a9ae4230 should fix this issue. it will be part of the next release

Thank you!
Sorry about my delay in responding. This is much appreciated. I will put together some tests of the way I plan to implement it and let you know how I go.
Thanks again
Ewen


[RDV-91] add xhr withCredentials support to DicomWebDataSource

Closing, will create new PR after rebase.


samples: regional topics samples

DO NOT SUBMIT until service goes live (early 2022).
DO NOT SUBMIT until we cut a new release of the library that includes #274.
All tests pass using the whitelisted project for now.
Also see https://github.com/googleapis/java-pubsublite/pull/929

Do you know why all the "Samples - Python 3.X" tests fail? Can you resolve those, after that ping me and I will LGTM

Hi @anguillanneuf, please could you take a look?


easyClose doesn't work if menu option is set to something other than 'menu'

If the menu option is changed to something other than the default 'menu', say $('#sidenav'), the panel doesn't close even when easyClose is set to true. The following error is also referenced in FF's console: ReferenceError: menu is not defined.
Not sure if this is a bug or something I'm doing.

@beau-gosse when initiating the plugin are you changing the menu option? Such as:
$( '#sidenav').bigSlide({
    menu: "#sidenav"
});

@ascott1 I tried the following two methods and both produced the results I described:
Method 1:
// .sidenav-trigger being the button used to open the sidenav
$('.sidenav-trigger').bigSlide({
    menu: '#sidenav',
    easyClose: true,
});

Method 2 (as you suggested):
$('#sidenav').bigSlide({
    menu: '#sidenav',
    easyClose: true,
});

Thanks for the prompt follow-up!

Sorry for the problems @beau-gosse! I'll start looking into it, but it may take a bit before I get there.

Hey, I just had to fix this for a client this morning, here's what I did- not sure if it's the 'right' answer but:
Line 157:
if (!$(e.target).parents().andSelf().is(menuLink) && !$(e.target).closest(menu).length && controller.getState() === 'open')  {
Change to:
if (!$(e.target).parents().andSelf().is(menuLink) && !$(e.target).closest(settings.menu).length && controller.getState() === 'open')  {
The variable 'menu' is not defined in this context, I assumed it should be the menu stored in the init settings, and it appears to work after making this change.

Nice catch @jblatt! I'd welcome a pull request, or I can make this update soon.

Hah, I'm just learning git on the command line but I'll give it shot!

Hah, I'm just learning git on the command line but I'll give it shot!

Yay! Hooray for open source!

Hi,
This mobile Safari fix didn't work for me unfortunately, just wondering if there has been any new updates since Oct 22?


Add a crate to support vhost backend drivers for virtio devices

vHost
A crate to support vhost backend drivers for virtio devices.
Kernel-based vHost Backend Drivers
The vhost drivers in Linux provide in-kernel virtio device emulation. Normally the hypervisor userspace process emulates I/O accesses from the guest. Vhost puts virtio emulation code into the kernel, taking hypervisor userspace out of the picture. This allows device emulation code to directly call into kernel subsystems instead of performing system calls from userspace. The hypervisor relies on ioctl based interfaces to control those in-kernel vhost drivers, such as vhost-net, vhost-scsi and vhost-vsock etc.
vHost-user Backend Drivers
The vhost-user protocol is aiming to implement vhost backend drivers in userspace, which complements the ioctl interface used to control the vhost implementation in the Linux kernel. It implements the control plane needed to establish virtqueue sharing with a user space process on the same host. It uses communication over a Unix domain socket to share file descriptors in the ancillary data of the message.
The protocol defines two sides of the communication, master and slave. Master is the application that shares its virtqueues, slave is the consumer of the virtqueues. Master and slave can be either a client (i.e. connecting) or server (listening) in the socket communication.

@sboeuf This PR is a dump of @jiangliu's jiangliu/v1 branch, which is what our vhost_rs crate is based on.
I'd like us to be able to switch to this external crate (cloud-hypervisor/vhost) but first we would need to port our vhost_rs patches on top of it. So I'd like to get your review on this PR and check that if we merge it, we will be able to port our patches as a follow up PR. Could you PTAL?

@sameo I'll have a look!

@sameo I've just run a diff between this PR and the content of what we have on cloud-hypervisor/cloud-hypervisor/vhost_rs, and I don't see any blocker to apply the fixes we applied on cloud-hypervisor/cloud-hypervisor/vhost_rs.
Once we do the port of these fixes, we should try to find each patch that has been submitted as it will come with an explanation about why this was needed.

@sameo I've just run a diff between this PR and the content of what we have on cloud-hypervisor/cloud-hypervisor/vhost_rs, and I don't see any blocker to apply the fixes we applied on cloud-hypervisor/cloud-hypervisor/vhost_rs.
When we do the porting of these fixes, we should try to find each patch that has been submitted as it will come with an explanation about why this was needed.

Great, this also helps us to decide which patch to backport:)

We are also porting the virtio-fs implementation, which also depends on the vhost crate.


Add user namespace support

We should support node level user namespace after https://github.com/kubernetes/kubernetes/pull/64005 is merged.
It shouldn't be hard for containerd given that all these happen on the client side, and there is already existing util function for per container user namespace remapping. https://github.com/containerd/containerd/blob/129167132c5e0dbd1b031badae201a432d1bd681/container_opts_unix.go#L149

The kubernetes PR is punted to 1.12. Let's punt, too.

I saw.. :(

Hello, we're currently evaluating to use containerd/crio, crio has host-level user namespaces ready, we're wondering the timeline or plan of cri-containerd can have any level of user namespaces support?
In addition, regarding user namespaces performance issue: the performance overhead of chowning is significant (1s v.s. N>=7 mins in our use case), any plan to improve user namespaces performance?
Given most organizations taking long time to upgrade kernel (>=4.19) to be able to use metacopy=on feature, to improve container security adoption, we are thinking about whether we can enable disable chowning or enable the option to what files/directories to skip to chown? This is feasible because files/directories in the image are world-readable, and users usually have the images built with permissions of 755 to be able to execute at runtime, there is really no need to mutate the image with shifting uid/gid when user namespaces is enabled, before shiftfs support in...
Any thoughts? Thanks for sharing!

Hi! We (@alban @mauriciovasquezbernal @rata) are working on implementing user namespaces support in containerd/cri. At the moment, we have a working proof-of-concept based on Kubernetes 1.17 and containerd/cri 1.3 (https://github.com/kinvolk/cri/pull/1). Once ready and rebased on master, we can make a proper PR.

Hi! We (@alban @mauriciovasquezbernal @rata) are working on implementing user namespaces support in containerd/cri. At the moment, we have a working proof-of-concept based on Kubernetes 1.17 and containerd/cri 1.3 (kinvolk#1). Once ready and rebased on master, we can make a proper PR.

Excellent, interested to see your POC. If I remember right from the June 9 sig-node call.. Vince?? took the task to open a new kep to replace the now very old node level user namespace issue that was written pre-kep process.

@mikebrow more-or-less I did :smile_cat:  . I was a conversation to see what the next step needed will be, and the answer was a KEP.

Excellent, interested to see your POC

@mikebrow The links to the POC are the following:

github.com/kinvolk/cri/pull/1
github.com/kinvolk/kubernetes/pull/3


ci: set gen auto release notes

Auto release body with changelogs like: https://github.com/Xunzhuo/gateway/releases/tag/v0.2.0
Signed-off-by: bitliu<EMAIL_ADDRESS>

Codecov Report

Merging #548 (85f2cb8) into main (2fb3ca8) will decrease coverage by 0.64%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #548      +/-   ##
==========================================
- Coverage   60.98%   60.33%   -0.65%
==========================================
  Files          45       45
  Lines        5564     5564
==========================================
- Hits         3393     3357      -36
- Misses       1968     2001      +33
- Partials      203      206       +3

Impacted Files
Coverage Δ

internal/provider/kubernetes/tlsroute.go
53.70% <0.00%> (-12.97%)
:arrow_down:

internal/provider/kubernetes/httproute.go
59.13% <0.00%> (-6.96%)
:arrow_down:

internal/provider/kubernetes/gateway.go
51.85% <0.00%> (+1.09%)
:arrow_up:

internal/provider/kubernetes/helpers.go
80.43% <0.00%> (+6.52%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Add --avoid-dev-deps and --avoid-build-deps

Closes #18.
 cargo-license 0.4.0
 Cargo subcommand to see licenses of dependencies.

 USAGE:
     cargo license [FLAGS] [OPTIONS]

 FLAGS:
         --all-features        Activate all available features
     -a, --authors             Display crate authors
+        --avoid-build-deps    Exclude build dependencies
+        --avoid-dev-deps      Exclude development dependencies
     -d, --do-not-bundle       Output one license per line
     -h, --help                Prints help information
     -j, --json                Detailed output as JSON
         --no-deps             Output information only about the root package and don't fetch dependencies
     -t, --tsv                 Detailed output as tab-separated-values
     -V, --version             Prints version information

 OPTIONS:
         --current-dir <CURRENT_DIR>    Current directory of the cargo metadata process
         --features <FEATURE>...        Space-separated list of features to activate
         --manifest-path <PATH>         Path to Cargo.toml
         --color <WHEN>                 Coloring [possible values: auto, always, never]

Looks good to me, but I think avoid may not be general.
How about --exclude-build-deps / --exclude-dev-deps?

Looks good to me, but I think avoid may not be general.
How about --exclude-build-deps / --exclude-dev-deps?

Additionally, this does not work on workspace.
How about the following code?
diff --git a/src/lib.rs b/src/lib.rs
index b2ede7d..cff2269 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -65,10 +65,11 @@ pub fn get_dependencies_from_cargo_lock(
     let connected = {
         let resolve = metadata.resolve.as_ref().expect("missing `resolve`");

-        let root = resolve
-            .root
-            .as_ref()
-            .with_context(|| "this is a virtual manifest")?;
+        let roots = if let Some(root) = resolve.root.as_ref() {
+            vec![root]
+        } else {
+            metadata.workspace_members.iter().collect()
+        };

         let deps = resolve
             .nodes
@@ -106,11 +107,14 @@ pub fn get_dependencies_from_cargo_lock(
                 .map(|cargo_metadata::NodeDep { pkg, .. }| pkg)
         };

-        let mut connected = iter::once(root).collect::<HashSet<_>>();
-        let stack = &mut neighbors(root).collect::<Vec<_>>();
-        while let Some(package_id) = stack.pop() {
-            if connected.insert(package_id) {
-                stack.extend(neighbors(package_id));
+        let mut connected = HashSet::new();
+        for root in roots {
+            connected.insert(root);
+            let stack = &mut neighbors(root).collect::<Vec<_>>();
+            while let Some(package_id) = stack.pop() {
+                if connected.insert(package_id) {
+                    stack.extend(neighbors(package_id));
+                }
             }
         }
         connected

Additionally, this does not work on workspace.
How about the following code?
diff --git a/src/lib.rs b/src/lib.rs
index b2ede7d..cff2269 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -65,10 +65,11 @@ pub fn get_dependencies_from_cargo_lock(
     let connected = {
         let resolve = metadata.resolve.as_ref().expect("missing `resolve`");

-        let root = resolve
-            .root
-            .as_ref()
-            .with_context(|| "this is a virtual manifest")?;
+        let roots = if let Some(root) = resolve.root.as_ref() {
+            vec![root]
+        } else {
+            metadata.workspace_members.iter().collect()
+        };

         let deps = resolve
             .nodes
@@ -106,11 +107,14 @@ pub fn get_dependencies_from_cargo_lock(
                 .map(|cargo_metadata::NodeDep { pkg, .. }| pkg)
         };

-        let mut connected = iter::once(root).collect::<HashSet<_>>();
-        let stack = &mut neighbors(root).collect::<Vec<_>>();
-        while let Some(package_id) = stack.pop() {
-            if connected.insert(package_id) {
-                stack.extend(neighbors(package_id));
+        let mut connected = HashSet::new();
+        for root in roots {
+            connected.insert(root);
+            let stack = &mut neighbors(root).collect::<Vec<_>>();
+            while let Some(package_id) = stack.pop() {
+                if connected.insert(package_id) {
+                    stack.extend(neighbors(package_id));
+                }
             }
         }
         connected

avoid may not be general

I named them after Cargo's -Z --avoid-dev-deps. I thought --exclude-dev-deps was confusable with --workspace -p <SPEC>... --exclude <SPEC>... options from basic Cargo commands.

this does not work workspace

That's right. It should work for a virtual manifest.

avoid may not be general

I named them after Cargo's -Z --avoid-dev-deps. I thought --exclude-dev-deps was confusable with --workspace -p <SPEC>... --exclude <SPEC>... options from basic Cargo commands.

this does not work workspace

That's right. It should work for a virtual manifest.

I understand the avoid naming.
I'll merge this PR after resolving conflict.
Could you resolve?

I understand the avoid naming.
I'll merge this PR after resolving conflict.
Could you resolve?

BTW, Should proc_macro crates be excluded too...?

BTW, Should proc_macro crates be excluded too...?

Why do you think so?

Why do you think so?

Because proc_macro crates just "output" ASTs and are not statically/dynamically linked to the output artifact. (IANAL)
https://www.gnu.org/licenses/gpl-faq.en.html#GPLOutput

Because proc_macro crates just "output" ASTs and are not statically/dynamically linked to the output artifact. (IANAL)
https://www.gnu.org/licenses/gpl-faq.en.html#GPLOutput

https://www.gnu.org/licenses/gpl-faq.en.html#CanIUseGPLToolsForNF

Some programs copy parts of themselves into the output for technical reasons—for example, Bison copies a standard parser program into its output file. In such cases, the copied text in the output is covered by the same license that covers it in the source code. Meanwhile, the part of the output which is derived from the program's input inherits the copyright status of the input.

https://www.gnu.org/licenses/gpl-faq.en.html#GPLOutput

So the only way you have a say in the use of the output is if substantial parts of the output are copied (more or less) from text in your program. For instance, part of the output of Bison (see above) would be covered by the GNU GPL, if we had not made an exception in this specific case.

This seems to show the output may be affected by the proc-macro license if the output AST is derived from quote! of the proc-macro.
Some proc-macros may be more similar to compiler, if so, the output may not be affected.
I don't know the boundary.

https://www.gnu.org/licenses/gpl-faq.en.html#CanIUseGPLToolsForNF

Some programs copy parts of themselves into the output for technical reasons—for example, Bison copies a standard parser program into its output file. In such cases, the copied text in the output is covered by the same license that covers it in the source code. Meanwhile, the part of the output which is derived from the program's input inherits the copyright status of the input.

https://www.gnu.org/licenses/gpl-faq.en.html#GPLOutput

So the only way you have a say in the use of the output is if substantial parts of the output are copied (more or less) from text in your program. For instance, part of the output of Bison (see above) would be covered by the GNU GPL, if we had not made an exception in this specific case.

This seems to show the output may be affected by the proc-macro license if the output AST is derived from quote! of the proc-macro.
Some proc-macros may be more similar to compiler, if so, the output may not be affected.
I don't know the boundary.

I understand. Either way we should probably add another option in another PR.

I understand. Either way we should probably add another option in another PR.


Change Header fonts to Lora

@jedddill Can you let me know which type of Lora font you are looking for? The standard font is Regular 400. Here's the link to the Lora font on Google Fonts: https://fonts.google.com/specimen/Lora.

@jedddill What does 'header font' mean? Is it referring to the navbar links or is it for the titles such as 'About Us', 'About BHPA', etc., with a blue background?


Handle base_path's in curated list data.

Currently the curated list data contains an array of contentapi API urls
that are used to match up agains the data returned from contentapi. We
want to start pulling this data from Rummager, and it will be easier to
do so if this data is sent as an array of base_path's. This therefore
updates collections to handle this data sent in either format so that we
can make the switch on the publisher end.

This looks good, but as per a discussion in person we're going to hold merging this once #146 is merged.

This needs rebasing since https://github.com/alphagov/collections/pull/146 was merged.

Rebased...


Use nullptr if compiler uses c++11

This will allow "-Wzero-as-null-pointer-constant" in client code.
See: http://www.stroustrup.com/C++11FAQ.html#11

Hello!
Thank you for submitting this! I believe http_parser is built with a C compiler, not C++. Thus I can't see how it could get in.
Cheers,
Fedor.

If someone (like us) use http_parser as an embedded resource it can be compiled by c++ compiler.

@misery I totally understand. However even the source files have .c extension... thus, having C++ primitives in them is probably something that no one would expect to find.
Really sorry to close this, but I don't think that this additional will benefit the most of the users.
cc @mscdex @jasnell what do you think?

I agree with @indutny, however it would be nice if we at least used NULL consistently.


Prompt the user to select a container if they don't provide one

and we can't infer it.

LGTM

Merging. Shippable CI failure is a flake.


periodically check for stale restic repo locks

Signed-off-by: Steve Kriss<EMAIL_ADDRESS>Fixes #1511
I think this is all we need to do, but I'm still working on testing it.

I've confirmed that when there are no stale locks, this is a no-op, and when there is a stale lock, this successfully clears it out.
I also tweaked the ensureRepo function in the restic repo controller to only try to initialize a repo if the error gotten from attempting to connect to the repo indicates that the repo doesn't exist. We were seeing issues where, if the repo had a stale lock, Velero would try to re-initialize it rather than reporting that it was locked, which just led to confusing error output for the user.

One other note - restic considers locks "stale" if they've been around for >30min, even though in the normal case, they get refreshed every 5min. We might want to consider a PR to restic to make this "stale threshold" a CLI flag, so that we could say restic unlock --older-than 10m, for example.

Hold on merging this, checking one thing.

OK, looks fine, I just had some versioning issues.


get_timeseries returning empty dictionary/dataframe

Running the following code currently returns an empty list (pylipd==1.3.2):
filename = 'https://github.com/LinkedEarth/pylipdTutorials/raw/main/data/Crystal.McCabe-Glynn.2013.lpd'
D = LiPD()
D.load(filename)
ts = D.get_timeseries(D.get_all_dataset_names())
This seems to be a problem with other datasets I've run into as well, which I'm happy to provide files for if need be! This seemed the most accessible example.

@khider recommended assigning you @varunratnakar for this one

Fixed in 1.3.3
https://github.com/LinkedEarth/pylipd/commit/1c9e86d2f04b894b20bbc00a51c2ada56fa20569


[DESKTOP] flutter can't detect windows platform

Steps to Reproduce
flutter devices
1 connected device:

Chrome (web) • chrome • web-javascript • Google Chrome 108.0.5359.125

No windows detected
Hower Visual Studio already installed with C++ developpement package

Logs

Logs

[✓] Flutter (Channel stable, 3.3.9, on Microsoft Windows [version 10.0.18362.207], locale fr-FR)
• Flutter version 3.3.9 on channel stable at C:\Users\g.bakary\gaetan1903\custom\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision b8f7f1f986 (4 weeks ago), 2022-11-23 06:43:51 +0900
• Engine revision 8f2221fbef
• Dart version 2.18.5
• DevTools version 2.15.0
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at C:\Users\g.bakary\gaetan1903\custom\Sdk
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[✓] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
[✓] VS Code (version 1.74.2)
• VS Code at C:\Users\g.bakary\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.56.0
[✓] Connected device (1 available)
• Chrome (web) • chrome • web-javascript • Google Chrome 108.0.5359.125
[✓] HTTP Host Availability
• All required HTTP hosts are available
! Doctor found issues in 2 categories.

What is the output of flutter config? It looks like you may have disable Windows support at some point.

i installed in other computer and it's work,
when i run flutter doctor it's like that flutter doesn't detect Visual Studio in my computer

@gaetan1903 Can you provide the output of this command from %ProgramFiles(x86)%\Microsoft Visual Studio\Installer\:
.\vswhere -format json -utf8 -latest -prerelease -all

@huycozy If the problem were with VS detection there would be a Windows section indicating that VS wasn't found. What we need is the flutter config output I requested above, which the previous reply didn't provide.

This is what gives flutter config
Settings:
  android-sdk: C:\Users\.......\Sdk
  enable-windows-desktop: false
  enable-windows-uwp-desktop: true

Analytics reporting is currently enabled.

In fact the `windows-desktop was disable on my config.
I just enable it with flutter config --enable-windows-desktop and it works


ros_control: 0.15.1-0 in 'melodic/distribution.yaml' [bloom]

Hola from ROSCon2018
Increasing version of package(s) in repository ros_control to 0.15.1-0:

upstream repository: https://github.com/ros-controls/ros_control.git
release repository: https://github.com/ros-gbp/ros_control-release.git
distro file: melodic/distribution.yaml
bloom version: 0.6.4
previous version for package: 0.15.0-0

combined_robot_hw

No changes

combined_robot_hw_tests

No changes

controller_interface

No changes

controller_manager
* Updated for compatibility with Python2 or Python3
* Initialize controller_manager node using init_node.
* back to Python3 prints, add '-s to remaining places
* pep8 styling
* added quotes in python code too, also changed python prints to rosconsole
* added quotes for controller name and controller type in warnings and errors
* Contributors: Daniel Ingram, Jasper Güldenstein, Stefan Profanter, Gennaro Raiola, Bence Magyar

controller_manager_msgs

No changes

controller_manager_tests
* Added quotes for controller name and controller type in warnings and errors
* Update expected text in tests to have '' around controller names
* Contributors: Bence Magyar, Gennaro Raiola

hardware_interface

No changes

joint_limits_interface

No changes

ros_control

No changes

rqt_controller_manager

No changes

transmission_interface

No changes

Holding for Melodic sync...


warning: templates not found in /workspace/destdir/share/git-core/templates

https://git-scm.com/docs/git-init#_template_directory

TEMPLATE DIRECTORY
Files and directories in the template directory whose name do not start with a dot will be copied to the $GIT_DIR after it is created.

The template directory will be one of the following (in order):

the argument given with the --template option;

the contents of the $GIT_TEMPLATE_DIR environment variable;

the init.templateDir configuration variable; or

the default template directory: /usr/share/git-core/templates.

The default template directory includes some directory structure, suggested "exclude patterns" (see gitignore[5]), and sample hook files.

The sample hooks are all disabled by default. To enable one of the sample hooks rename it by removing its .sample suffix.

See githooks[5] for more general info on hook execution


Search in static FAQs

Acceptance criteria:

when user clicks on "continue without booking", he can see list of FAQ categories and input above them
user can start typing and see results matching the input text
each item in the list of results is FAQ article preview (differs from category by ">" on right) and no category is shown in the list
when user clears the input, list of original FAQ categories is shown
screen looks just like in the design
clicking on "x" in input clears the input and list of top-level FAQs categories is shown

https://marvelapp.com/7iihb90/screen/39740344

I found only one defect: When I clicked on (x) the input text was not deleted. It was only on Firefox 59.0.2 (64bit), MacOs High Sierra 10.13.4.
I have a suggestion as an user: The scrollbar should be permanently visible in order to natively indicate that there are more articles to follow in below.
Thank you,
Meggy

Perfect job but I think I  have found something. When I typed for example "baggage or price" and It showed me results, there are some articles where text was out of the box. This does not look good.  As you can see on print screens:

Tested on MacOs High Sierra 10.13.4. browsers: Safari, Chrome, Opera, Firefox last versions.
Thank you,

This will probably require some changes in Knowledgebase, we already have a spec for that, please check it out here: https://paper.dropbox.com/doc/Knowledgebase-additional-features-SMart-FAQ-1.0.-JB8W3H8ptSG5LCvb7jtuJ

I would like to close this issue since search faq main logic works, I will create a new issue with the pending problems.

Yes, good idea.

On 13 Apr 2018, at 12:13, Joan Albert Segura<EMAIL_ADDRESS>wrote:
I would like to close this issue since search faq main logic works, I will create a new issue with the pending problems.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/kiwicom/smart-faq/issues/29#issuecomment-381091290, or mute the thread https://github.com/notifications/unsubscribe-auth/AjkizzqhDV9fQkj0wlNKCaYNK5MKltYMks5toHpbgaJpZM4SzZW7.


Georgios Kalpakas, this is the fix we discussed

Sorry, I don't know how to put it in the original pull request. I'm new to GitHub. But here it is, with just one additional class, red-error, which is the only one with quotes.
Thanks,
Ori

@qbzzt, I left an inline comment. You can update this PR by simply pushing a new commit to your branch (the PR will be updated automatically).
BTW, you can find usefull info in CONTRIBUTING.md (in case you haven't already).

Thank you. I did the changes in the comment.

@qbzzt, that was quick :) We are almost there. Now we have some failing e2e tests we need to fix.
(It's always a good idea to run grunt test before you push a new commit/PR, if you want to be sure all tests pass.)
Anyway, you need to change /red/ to /has-error/ on line 219 and line 225, because we are testing against the previous red class.

Sorry, I didn't know about the tests. Anyway, they're running now but with any luck they'll succeed.

Yup, they passed. (No luck, just deep knowledge and hard work :P)
Thx for working on this, @qbzzt !
It LGTM. Now all we have to do is sit back and wait (hopefully it won't take long) :)

It still hasn't merged. Is there a problem, or does it normally take a few days?

Yes, I meant "wait for someone from the team to give it a LGTM" and then it can get merged.

LGTM!
For (simple) doc fixes you don't have to wait for another LGTM (unless you want to ;)

Merged

Thank you.
On Fri, Jun 5, 2015 at 6:29 PM Georgios Kalpakas<EMAIL_ADDRESS>wrote:

Merged
—
Reply to this email directly or view it on GitHub
https://github.com/angular/angular.js/pull/12027#issuecomment-109481350.


Fix additional issues for Qwant search filtering

I was unable to reproduce the filter notice disappearing after appearing initially, so I hope that this one also fixes the issue from #265. If it does not I'm going to try a different strategy.
Previously the MutationObserver was registered immediately when main is called, which caused the observer to error if the element it targeted was not yet available.
The code responsible for registering the observer has now been moved to a function that gets called on the 'interactive' and 'complete' ready states. This function also prevents the observer from being registered if the element does not exist or if the observer has already been registered.
I've tested both the previous PR and this one with a throttled connection to verify that the issue is no longer present.
The previous PR would work on my 600 MB/s connection, but would often fail on any of the throttling presets available in Chrome's developer tools.
This new PR appears to work on all throttling presets, including a custom 250 KB/s preset to emulate extreme cases.
PS because I just used my previous fork without syncing first, it seems you can't automatically merge this one, sorry.

Thank you for the update! I'm currently preparing a large 3.0.0 release for this week. Once that's done, I'll re-visit this PR.

Just wanted to let you know this hasn't fallen off my radar. Planning to re-visit this in the coming week.


Adding backports.zoneinfo fall back idiom for python3 compatibility

Backports/Fallback idom:

https://pypi.org/project/backports.zoneinfo/

Motivation: Running HomeAssistant docker container on a Synology NAS I encountered:
ModuleNotFoundError: No module named 'zoneinfo'

This patch resolves the dependency issue for systems running in python3.

Does the Home Assistant docker container not use Python 3.9?
Have you tested that the back port allows this integration to work on your own system (I don't run HA as a standalone container)?

Does the Home Assistant docker container not use Python 3.9?

I'm running Home Assistant Container core-2021.6.3, which reports:
# python --version
Python 3.8.9

The reason I ask is because this post by Paulus points to zoneinfo being the standard. Interesting if their docker container isn't using 3.9.

Interesting. This possibly mitigates the issue I am encountering, but I won't be able to confirm until I update my container 😬.
I'm happy to keep this PR open until I can confirm, but it might be a while until I upgrade!

Oh boy you sure are behind on updates 😅. Time to read up on all the breaking changes from .7 to 2022.2.
I believe they deprecated 3.8 in January. You should be able to manually update to 3.9 within your container if you don't want to update HA as a whole.


Replace image crate jpeg decoder with zune-jpeg

Why
It is much faster.
On my Mac, it takes objectron JPEG decoding from 15 to 10 ms. On the web the difference is smaller: 35ms -> 29ms. See https://github.com/emilk/image-decode-bench for more.
It can also decode directly to RGBA, which means we don't need to spend cycles later padding RGB to RGBA. This takes the entire objectron demo App::update down from 21 ms to 14 ms.
Sadly, the gltf crate still use the "jpeg" feature of the image crate, so weneed to pay for the compilation and code bloat of two jpeg decoders. The .wasm of the web-viewer increases by 23kB (pre-compression) because of this PR.
This PR also adds support for monochrome JPEGs.
Related

https://github.com/image-rs/image/issues/1845
https://github.com/image-rs/image/pull/1876

Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct

PR Build Summary: https://build.rerun.io/pr/2376

Docs preview: https://rerun.io/preview/c6496ac/docs
Examples preview: https://rerun.io/preview/c6496ac/examples

Seeing similar behavior on my very different machine: ~14ms on main vs. ~8ms on this branch.

Worth noting: this slows down debug builds :(
zune-jpeg is 3x slower in debug builds than in release builds, even though we optimize all our dependencies even in debug builds with this:
https://github.com/rerun-io/rerun/blob/4acfcbd0d62da66f331d646a66bce50d038def02/Cargo.toml#L122-L124
This is strange


‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ on Ubuntu 21.04

decrunch.cpp: In function ‘int __Pyx_modinit_type_init_code()’:
decrunch.cpp:3372:38: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
3372 |   __pyx_type_8decrunch_UnpackContext.tp_print = 0;
System: Ubuntu 21.04 (GNU/Linux 5.11.0-16-generic x86_64)

installing from source using Cython works, while pip failed.

Root of the problem is that python3.9 removed tp_print, causing the pre-generated decrunch.cpp in the PyPI release to not compile. Installing from source using Cython works because the newer versions of Cython don't emit C++ sources that use tp_print.
See also: https://stackoverflow.com/questions/65462530/pyclipper-installation-error-tp-print-is-not-a-member-of-typeobject


[$500] Android - Workspace - Unable to select members in Workspace to invite members by tapping ->key

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to https://staging.new.expensify.com/
Tap fab
Tap split bill
Enter an amount
Tap next
Tap ->key repeatedly to select contacts
Tap profile icon
Tap Workspaces
Tap any Workspace
Tap members
Tap invite
Tap ->key repeatedly to select contacts
Enter an email and try to tap ->key repeatedly to select contacts

Expected Result:
Tapping ->key to select contacts in split bill is working. Similarly, user with same key must be able to select members in Workspace to invite members
Actual Result:
Tapping ->key to select contacts in split bill is working but with same key unable to select members in Workspace to invite members
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.69-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/78819774/720011a9-4376-4215-bd22-7340843b1d18
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~013b10c09c059cb764
Upwork Job ID:<PHONE_NUMBER>742261760
Last Price Increase: 2023-09-14

Sorry, I'm a bit confused by this issue.
The reproduction steps have a bunch of steps with split bill, before eventually going to the workspace. Is that required to experience the bug? Or does this bug exist with workspace invite no matter what?
As for the behavior, I think we want it to be consistent. So if I'm understanding correctly, on the split bill page you are able to select people with the return key, but in workspace invite, you aren't. Is that right?

I see...interesting. Naive question: why do we have two different components that do such similar things?

Thanks @ntdiary. I think it's best to close this for now. It seems like what we have is the expected behavior, even if it is inconsistent.
Feel free to comment if you disagree!


Localization support

Hello!
I just discovered this commenting system and it seems to be nice. I tried till no utterances, but I am a little reluctant to try it on my blog as there is no localization option. Not so much work on this issue Will it be hard to add it to giscus?
Thank you and keep up the good work!

Hey @samarulmeu, thanks for opening the issue! This is something that's been on my radar, but I haven't explored the options on how to do i18n on Next.js. If you have experience with it, feel free to let me know! Otherwise, I'll do the research and try to get this done when I have the time.

Thank you for your answer. Unfortunately, I can not help you with the code. My abilities are somehow limited.

I imagine there is no update on this yet. I would really want to help, as I think it is very important for the localized sites to have consistency.
If you can point out the code that should be changed? I was thinking of having some dictionary file that anyone can translate it in the preferred language?

Hey @samarulmeu, thanks for the initiative. Yeah, this currently isn't on top of my priority list. I'll probably try to get into this within 3-4 weeks.
If you'd like to start now, you'll need to look into the strings inside the components (e.g. here) and make them translatable somehow. Some of the code may need to be refactored to handle plurals and other stuff. After the components, you can look into other parts of the codebase (e.g. the error/info messages and make them translatable), but this shouldn't be a priority because it won't normally be shown to the user anyway.
I think it's safer to use something like next-i18next or next-translate because I'm sure it can handle edge cases better than creating our own solution from scratch. I haven't looked into the details, but it seems both libraries can use JSON files for the dictionary.
Sorry if I can't give you more in-depth pointers into this. I've never implemented i18n on Next.js myself, so I'll also have to learn about it first.
I'd suggest trying to set up a local environment for giscus first. If you encounter any issues or would like to know more about the codebase, feel free to let me know. Good luck!

@laymonage Thank you for the hint. I will try to see what I can, although you should not put much hope in my abilities.

@samarulmeu No problem! Feel free to send a draft/WIP PR and we'll take it from there.

The groundwork has been done by @mmiszy (thanks!), I will add proper support in the configuration step and update the contributing guide in a future PR.
If you want a head start @samarulmeu, you can start translating the existing strings now. For examples, check out the existing locales here: https://github.com/giscus/giscus/tree/main/locales
You can look at next-translate docs for more details.

@mmiszy Thank you so much. Great job!
@laymonage I already started working on the translation, but I took a brake waiting for the issues that arose to be solved. I'm on holiday for a few days, but soon it will be ready. Can't wait to implement giscus on my blog. I also thank you again for all the hours you put in.

Is there a problem with my translation?


To support new versions of SDL and FFmpeg

It will only be solved on my fork

Regame v0.5 supports SDL 2.24.1 and FFmpeg 5.1.
I won't publish v0.5 binaries, please compile it by yourself.


Update Site settings “info”

Automatically generated by Netlify CMS

👷 Deploy Preview for dynamic-cheesecake-5fbd8b processing.

Name
Link

🔨 Latest commit
1ffc59063b7b690e98d4bd8c01120c0d9a5b6ddf

🔍 Latest deploy log
https://app.netlify.com/sites/dynamic-cheesecake-5fbd8b/deploys/62ec9632feecc6000835269f


nixos/nginx: add prependConfig option

Nginx allows us to load dynamic modules, however the load_module directive must be close to the top of the config so that dependent directives can be processed correctly.
This change adds a prependConfig option which reflects the function of the existing appendConfig option. A new option is neccessary because the config option is mutually exclusive with some other options which users may not want to reimplement.
Note that it is currently possible to get around this using something like:
logError = ''stderr
load_module /path/to/shared/object.so'';

However this is clunky and may be prone to breaking in the future.
Tested with:
nix-build -A nixosTests.nginx

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

In NixOS we compile modules into nginx to prevent this line. Is that not working for you?

In NixOS we compile modules into nginx to prevent this line. Is that not working for you?

@SuperSandro2000 Got you. Thanks for reviewing. I made an incorrect assumption about both how we deal with this in NixOS, and what is possible with the module I am trying to use. Looking at it with fresh eyes has helped. Dynamic compilation works fine for my use case, no idea what I was thinking.
In case anyone else gets confused like I was:
  package = if cfg.enableLDAP
            then (pkgs.nginx.override {
            modules = [
              (pkgs.stdenv.mkDerivation {
                name = "nginx-auth-ldap";
                src = inputs.nginx-auth-ldap;
                inputs = with pkgs; [
                  openldap
                  openssl
                ];
              })
            ];
          })
          else pkgs.nginx;


Some minor compiling defects

libuv/src/win/tty.c: In function 'uv_tty_set_mode':
libuv/src/win/tty.c:302:8: error: 'flags' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   if (!SetConsoleMode(tty->handle, flags)) {
        ^
libuv/src/win/fs.c: In function 'uv_fs_link':
libuv/src/win/fs.c:210:5: error: 'path_len' may be used uninitialized in this function [-Werror=maybe-uninitialized]
     memcpy(pos, path, path_len);
     ^
libuv/src/win/fs.c:126:23: note: 'path_len' was declared here
   ssize_t buf_sz = 0, path_len, pathw_len = 0, new_pathw_len = 0;
                       ^
libuv/src/win/fs.c: In function 'uv_fs_symlink':
libuv/src/win/fs.c:210:5: error: 'path_len' may be used uninitialized in this function [-Werror=maybe-uninitialized]
     memcpy(pos, path, path_len);
     ^
libuv/src/win/fs.c:126:23: note: 'path_len' was declared here
   ssize_t buf_sz = 0, path_len, pathw_len = 0, new_pathw_len = 0;
                       ^
libuv/src/win/fs.c: In function 'uv_fs_rename':
libuv/src/win/fs.c:210:5: error: 'path_len' may be used uninitialized in this function [-Werror=maybe-uninitialized]
     memcpy(pos, path, path_len);
     ^
libuv/src/win/fs.c:126:23: note: 'path_len' was declared here
   ssize_t buf_sz = 0, path_len, pathw_len = 0, new_pathw_len = 0;
                       ^

https://github.com/libuv/libuv/pull/942
The first one is somewhat genuine: flags is not set when you pass invalid arguments to uv_tty_set_mode().  Arguably a case of GIGO but I'll add a path that returns UV_EINVAL.
The others are false positives.  The compiler you use is not smart enough to figure out that path_len is set and used under the same set of conditions.  I've simplified the condition, hopefully that shuts it up.  (And if not, too bad.)


Avoid freeing the conf lhashes in X509_V3_EXT*_add_conf

Fixes #16226

This pull request is ready to merge

Merged to master. Thank you for the review.


Add Roster Manager from Kerbal Stuff

This pull request was automatically generated by Kerbal Stuff on behalf of Papa_Joe, to add Roster Manager to CKAN.
Please direct questions about this pull request to Papa_Joe.

I'm assuming that the DFInterface.dll is a .dll file for interactions with the DeepFreeze mod? @PapaJoesSoup is that correct or is it from some other mod and should be installed as a dependency?

Yes.  The dll is a locally reference-able object that provides for connectivity as well as an interface to DeepFreeze.  This is similar to Ship Manifest and ConnectedLivingSpace where CLSInterface.dll provides a similar object.

So DeepFreeze is now in CKAN so I'm returning to this. I noticed that DeepFreeze also installs DFInterface.dll. Is it enough to have it installed by that mod so we can filter it out of this one or does it need to be installed with every mod for some reason? :)

It is a locally referenced resource much like CLSInterface.dll in ConnectedLivingSpace.
It contains the code needed to create the soft dependency to the Deepfreeze.dll. and provides interfaces to objects contained in the DeepFreeze.dll.
So it is necessary for every mod that integrates with DeepFreeze.
as an example, in ShipManifest, I have CLSInterface.dll, which is also contained in ConnectedLivingSpace.  However, since it is referenced locally in the build, the namespace is contained in a using directive, so without it, the code will break.
This could have been done like Toolbar where you "embed" the toolbar wrapper into your code under your own namespace, but the author chose this path instead.
I have also created such an interface dll in Ship Manifest for other modders to use, and DeepFreeze uses this dll for their purposes to integrate into my Ship Manifest mod.

As the author stated DFInterface.dll must be included, I added this to  #1775 to get resolved.

This seems ready to merge as-is. All files in archive are needed, and it passes jenkins.

Thanks for staying on top of this.   Indeed, all fires are needed.  They are NOT inclusions of dependent mods.  The inclusion of these files PREVENT dependencies on those mods...

Tested manually, merging. Thanks.


Feature/sunrise sunset

This is a lot closer to what I want. The on-screen colors need to be adjusted, but I'm close to being happy with this.
This PR is marked as a draft, but will soon polish it.

This PR closes #4. I decided to leave it mostly as is, because I have a new PR coming that makes this a lot easier to manage.

Looks good! Thank you very much for your time and effort on this project!


Fix npm install mistake in README

I got an error with npm run install. Think we mean npm install

Of course, thanks!


masks "targets" array gets deleted on remove

im not sure if this is intentional but at mask.js line 21 the "targets" array is deleted when the mask is removed.
which couses problems if you want to add that mask back into the svg document.
for example if you remove a mask from the svg and then add it back at some later point, it will be missing its "targets" array.
and then if you try to use the mask by calling Element.maskWith(mask).
the code at mask.js line 47 throws an error.

Its interesting that you mention that. I myself thught about this a half year ago: https://github.com/wout/svg.js/issues/212#issuecomment-75445762
I did not realize that the reference is deleted when removing the mask. We should instead set it back to its initial state (which is an empty array). Do you agree?


prepare for release

prepare the first release extension

@gastaldi  is ok ? Can I merge for the release ? For you issue:
https://github.com/quarkiverse/quarkus-univocity-parsers/issues/12


Requs demo shows strange text on top in Chrome for Windows

Following #79, in Chrome for Windows (Version 35.0.1916.153 m) a strange code is shown on the top of requs demo page:

In Firefox on the same machine the page is shown correctly, without this text.

@davvd assign someone else pls

@davvd assign someone else pls

@yegor256 I deducted 30 points from your rating

@davvd assign someone else pls

@yegor256 OK, I will try to assign someone else


TikTokLive.types.errors.SignatureRateLimitReached even if only starting one connection

Hi,
I'm not sure if it's a bug, but I often (pretty much always) get the following error when starting the inital connection to a live.
TikTokLive.types.errors.SignatureRateLimitReached: You have hit the rate limit for starting connections. Try again in 1551 seconds. Catch this error & access its attributes (retry_after, reset_time) for data on when you can request next.
Am I doing something wrong in my python script? I am only observing one user, my script checks until he is live, then starts client.run() then gets the livestream and on live end goes back to the loop. am I keeping old sessions active somehow?
Thanks in advance - I love this project!

How are you checking if he is live

How are you checking if he is live

I do a get on 'https://www.tiktok.com/api-live/user/room/?aid=1988&region=DE&sourceType=54&uniqueId= every minute and check the user status in the returned data. If successful I wait 60s and then do a client.run()

@PWSMarcello can you share the repo

How are you checking if he is live

I do a get on 'https://www.tiktok.com/api-live/user/room/?aid=1988&region=DE&sourceType=54&uniqueId= every minute and check the user status in the returned data. If successful I wait 60s and then do a client.run()

It is likely you are calling the connect method too frequently :)


⚠ Thumbnails API Endpoint has degraded performance

In 8f67af1, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 5662 ms

Resolved: Thumbnails API Endpoint performance has improved in 127b0f9 after 29 minutes.


Mongo connector fails during initial dump

Hi,
The mongo connector appears to fail towards the end of the initial dump and never starts the diff sync. It runs for about a day and half and then errors out. Any recommendations on how I can proceed?
2015-06-21 17:59:37,916 [INFO] mongo_connector.connector:1004 - Beginning Mongo Connector
2015-06-21 17:59:37,918 [WARNING] mongo_connector.connector:116 - MongoConnector: Can't find oplog.timestamp, attempting to create an empty progress log
2015-06-21 17:59:37,928 [INFO] mongo_connector.connector:223 - MongoConnector: Empty oplog progress file.
2015-06-21 17:59:37,941 [INFO] mongo_connector.oplog_manager:87 - OplogThread: Initializing oplog thread
2015-06-21 17:59:37,943 [INFO] mongo_connector.connector:295 - MongoConnector: Starting connection thread MongoClient([u'c0.testdb.m0.mongolayer.com:27017', u'c0.testdb.m1.mongolay
er.com:27017'])
2015-06-21 17:59:37,943 [DEBUG] mongo_connector.oplog_manager:154 - OplogThread: Run thread started
2015-06-21 17:59:37,943 [DEBUG] mongo_connector.oplog_manager:156 - OplogThread: Getting cursor
2015-06-21 17:59:37,944 [DEBUG] mongo_connector.oplog_manager:656 - OplogThread: reading last checkpoint as None
2015-06-21 17:59:37,944 [DEBUG] mongo_connector.oplog_manager:390 - OplogThread: Dumping set of collections ['testdb.activities', 'testdb.activities_templates', 'testdb.antich
eat', 'testdb.banned_list', 'testdb.configurations', 'testdb.coupons', 'testdb.elo_history', 'testdb.events', 'testdb.feeds', 'testdb.games_profiles', 'fac
eit-prod.jobs', 'testdb.ladders', 'testdb.ladders_history', 'testdb.ladders_rankings', 'testdb.leagues', 'testdb.matches', 'testdb.memberships', 'testdb.me
mberships_history', 'testdb.online_users', 'testdb.payment_analytics', 'testdb.quickmatches_available', 'testdb.registrations', 'testdb.reporting_history', 'faceit-p
rod.room_templates', 'testdb.rules', 'testdb.seasons', 'testdb.series', 'testdb.skill_level_history', 'testdb.store_products', 'testdb.streamings', 'testdb
.stripe_coupons', 'testdb.subscriptions', 'testdb.support', 'testdb.system.indexes', 'testdb.system.users', 'testdb.teams', 'testdb.tournaments', 'testdb.t
ournaments_templates', 'testdb.transactions', 'testdb.user_tokens_history', 'testdb.users', 'testdb.users_ip_history']
2015-06-21 17:59:37,948 [DEBUG] mongo_connector.oplog_manager:568 - OplogThread: Last oplog entry has timestamp<PHONE_NUMBER>.
2015-06-21 17:59:37,950 [DEBUG] mongo_connector.oplog_manager:488 - OplogThread: Using bulk upsert function for collection dump
2015-06-22 22:52:35,071 [ERROR] mongo_connector.oplog_manager:546 - OplogThread: Failed during dump collection cannot recover! Collection(Database(MongoClient([u'c0.testdb.m0.mongolayer
.com:27017', u'c0.testdb.m1.mongolayer.com:27017']), u'local'), u'oplog.rs')
2015-06-22 22:52:35,071 [DEBUG] mongo_connector.oplog_manager:168 - OplogThread: Last entry is the one we already processed.  Up to date.  Sleeping.
2015-06-22 22:52:35,542 [ERROR] mongo_connector.connector:302 - MongoConnector: OplogThread <OplogThread(Thread-2, started<PHONE_NUMBER>99232)> unexpectedly stopped! Shutting down
2015-06-22 22:52:35,542 [INFO] mongo_connector.connector:359 - MongoConnector: Stopping all OplogThreads
2015-06-22 22:52:35,542 [DEBUG] mongo_connector.oplog_manager:331 - OplogThread: exiting due to join call.
2015-06-22 22:52:36,073 [INFO] mongo_connector.doc_managers.mongo_doc_manager:89 - Mongo DocManager Stopped: If you will not target this system again with mongo-connector then you may drop t
he database __mongo_connector, which holds metadata for Mongo Connector.

I see that there is an option where I can use mongodump/mongorestore to seed the data and not use the initial dump. However this is a live system and system is changing during the dump. Here is what I would like to do

Note the oldest oplog entry
Mongodump from source
Mongo restore to target
Manually seed the oplog timestamp with the value for 1
Start the sync process with "nodump" option

If the log has not rolled over this should work right? Can you help with the commands for steps 1 and the format for 4?
Thanks for your help and quick response.

@dharshanr
Your strategy seems sound to me. Here's how to do this:

Generate a mongo-connector timestamp file:

Run mongo-connector --no-dump.
Stop mongo-connector right after it starts up. Now you have an oplog.timestamp file pointing to the latest entry on the oplog.

Run mongodump on the primary. The dump already reflects all the changes that mongo-connector saw in the oplog.
Run mongorestore with the dump from (2) on the target MongoDB.
Restart mongo-connector. Pass in the file generated in (1) to the --oplog-ts option.

I'll add this to the wiki.

This is great. I will try this out. Any thoughts on why the connector is failing towards the end of the dump - it will also be good to surface the actual error so that we can debug.

Unfortunately, there's not enough information in the log to determine what
went wrong. The exception that is caught during the collection dump was
being printed to stderr, rather than the log. I just committed a change
that redirects the exception to the log instead. If you captured stderr
while running mongo-connector, I'd be happy to take a look at the output
and figure out what's going wrong. Otherwise, all we know is that something
failed during the collection dump.
On Wed, Jun 24, 2015 at 6:07 PM, Dharshan Rangegowda <
<EMAIL_ADDRESS>wrote:

This is great. I will try this out. Any thoughts on why the connector is
failing towards the end of the dump - it will also be good to surface the
actual error so that we can debug.
—
Reply to this email directly or view it on GitHub
https://github.com/10gen-labs/mongo-connector/issues/274#issuecomment-114963502
.

@dharshanr Hello! Are you still experiencing this issue?

@dharshanr I'm going to close this issue due to inactivity, but if you are still experiencing problems or you have more questions feel free to reopen or file a new issue.
Thank you!

Hi Luke,
I am using the mongodump/mongorestore technique mentioned above to migrate from one cluster to another and I am noticing a wierd issue. When I start the connector with the "no-dump" option and immediately kill it looks like the oplog ts it is writing is older than when it started. Here are the logs
2016-06-05 03:09:32,956 [DEBUG] mongo_connector.oplog_manager:747 - OplogThread: reading last checkpoint as None
2016-06-05 03:09:32,958 [DEBUG] mongo_connector.oplog_manager:656 - OplogThread: Last oplog entry has timestamp<PHONE_NUMBER>.
2016-06-05 03:09:32,960 [DEBUG] mongo_connector.oplog_manager:731 - OplogThread: oplog checkpoint updated to Timestamp(1465084837, 2)
2016-06-05 03:09:32,960 [DEBUG] mongo_connector.oplog_manager:214 - OplogThread: Got the cursor, count is 28050378
2016-06-05 03:09:32,960 [DEBUG] mongo_connector.oplog_manager:221 - OplogThread: about to process new oplog entries
2016-06-05 03:09:32,961 [DEBUG] mongo_connector.oplog_manager:224 - OplogThread: Cursor is still alive and thread is still running.
2016-06-05 03:09:32,967 [DEBUG] mongo_connector.oplog_manager:230 - OplogThread: Iterating through cursor, document number in this cursor is 0
2016-06-05 03:09:32,967 [DEBUG] mongo_connector.oplog_manager:275 - OplogThread: Operation for this entry is u
2016-06-05 03:09:33,482 [DEBUG] mongo_connector.oplog_manager:330 - OplogThread: Doc is processed.
2016-06-05 03:09:33,482 [DEBUG] mongo_connector.oplog_manager:230 - OplogThread: Iterating through cursor, document number in this cursor is 1
2016-06-05 03:09:33,482 [DEBUG] mongo_connector.oplog_manager:275 - OplogThread: Operation for this entry is u
2016-06-05 03:09:33,485 [DEBUG] mongo_connector.oplog_manager:330 - OplogThread: Doc is processed.
.....
2016-06-05 03:10:05,190 [DEBUG] mongo_connector.oplog_manager:330 - OplogThread: Doc is processed.
2016-06-05 03:10:05,190 [DEBUG] mongo_connector.oplog_manager:230 - OplogThread: Iterating through cursor, document number in this cursor is 8918
2016-06-05 03:10:05,191 [DEBUG] mongo_connector.oplog_manager:275 - OplogThread: Operation for this entry is u
2016-06-05 03:10:05,192 [INFO] mongo_connector.connector:360 - MongoConnector: Stopping all OplogThreads
2016-06-05 03:10:05,192 [DEBUG] mongo_connector.oplog_manager:371 - OplogThread: exiting due to join call.
2016-06-05 03:10:05,194 [DEBUG] mongo_connector.oplog_manager:330 - OplogThread: Doc is processed.
2016-06-05 03:10:05,194 [DEBUG] mongo_connector.oplog_manager:230 - OplogThread: Iterating through cursor, document number in this cursor is 8919
2016-06-05 03:10:05,194 [DEBUG] mongo_connector.oplog_manager:342 - OplogThread: updating checkpoint afterprocessing new oplog entries
2016-06-05 03:10:05,195 [DEBUG] mongo_connector.oplog_manager:731 - OplogThread: oplog checkpoint updated to Timestamp(1463939399, 33)
2016-06-05 03:10:05,195 [DEBUG] mongo_connector.oplog_manager:357 - OplogThread: updating checkpoint after an Exception, cursor closing, or join() on thisthread.
2016-06-05 03:10:05,195 [DEBUG] mongo_connector.oplog_manager:731 - OplogThread: oplog checkpoint updated to Timestamp(1463939399, 33)
2016-06-05 03:10:05,195 [DEBUG] mongo_connector.oplog_manager:365 - OplogThread: Sleeping. Documents removed: 2450, upserted: 2731, updated: 3738
When it started the oplog checkpoint was Timestamp(1465084837, 2) and when I immediately killed it the checkpoint became Timestamp(1463939399, 33). The last written time seems older than the first time. Is this correct?


Windows script args

We needed to be able to pass arguments from StackStorm to PowerShell scripts, for the windows backend. This attempts(to my best understanding) to resolve that, by providing the same functionality for windows-script as remote-script.
I tried to write some automated tests, to the best of my understanding, but they might be inadequate :).
Through some testing on our server, this seems to work, and work pretty well!
P.S: Alot of the argument output is based on this http://stackoverflow.com/questions/2157554/how-to-handle-command-line-arguments-in-powershell

LGTM. Should wait for @kami to respond since he understands this code better.

Neat, I forgot to add that I essentially copied the syntax for parsing arguments from remote-shell-script, so it is the same syntax.

Ideally, eventually we would refactor get argument methods and some other functionality into WindowsShellScriptAction class (same as we do for Linux shell commands and scripts), but I'm fine with not doing this right now in this PR.

Besides the couple of comments I added, the PR looks good to me. Nice work.
On a related note - it would also be good to add some documentation to the Windows script runner section on how to use the positional on named arguments (I believe we already have some docs on how to use them with the local and remote runners).

I'm not sure why the setup on python 2.6 fails, even though that part was never modified? Everything passes on 2.7 though.
I added array support, as we needed it, and cleaned up the code per your suggestions.

I fixed a typo, added test case for array values (5f81e0bd0c3c2a861f6020615a01454f20c32a5f, b94a71d726fb408bd99e6033f0f98fd5a843a2a4) and merged changes into master.
Thanks.

Awesome, thanks! I think this PR can be closed then, right?

Yep, thanks.


Fix DCGAN and chatbot tutorials

The goal for this PR is to make master CI green. Matthew is currently looking into the chatbot tutorial error.


error message occur when open aedt file with pyaedt version "0.6.22"

Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

Description of the bug
i just install the newest version of pyaedt and start to run a simple code , the code could run but output some errors then proceed to run until finished. but the error message is wired.
here is  my code: "
with Hfss(projectname="amf_GSG_SW_lumped_1000um.aedt", designname="HFSSDesign1", new_desktop_session=True,
close_on_exit=True, student_version=False, specified_version="2022.1") as hfss:
hfss.autosave_disable()
objects = hfss.modeler.primitives.object_names
print(objects)"
which is simple and no error occur before until i install the new pyaedt version
here is the output message:
**Exception in thread pyaedt info: Logger Started
pyaedt info: Launching PyAEDT outside AEDT with CPython and PythonNET.
pyaedt info: AEDT installation Path C:\Program Files\AnsysEM\v221\Win64.
** _Thread-1:
Traceback (most recent call last):
File "C:\Users\zgl\anaconda3\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "C:\Users\zgl\anaconda3\lib\threading.py", line 870, in run
self._target(*self._args, self._kwargs)
File "C:\Users\zgl\anaconda3\lib\site-packages\pyaedt\application\Design.py", line 163, in load_aedt_thread
settings._project_properties[path] = load_entire_aedt_file(path)
File "C:\Users\zgl\anaconda3\lib\site-packages\pyaedt\generic\LoadAEDTFile.py", line 26, in load_entire_aedt_file
return _load_entire_aedt_file(os.path.normpath(filename))
File "C:\Users\zgl\anaconda3\lib\site-packages\pyaedt\generic\LoadAEDTFile.py", line 377, in _load_entire_aedt_file
_read_aedt_file(filename)
File "C:\Users\zgl\anaconda3\lib\site-packages\pyaedt\generic\LoadAEDTFile.py", line 347, in _read_aedt_file
with open_file(filename, "rb") as aedt_fh:
AttributeError: enter
pyaedt info: Launching AEDT with module PythonNET.
pyaedt info: Ansoft.ElectronicsDesktop.2022.1 Started with process ID 4864.
pyaedt info: Logger file C:\Users\zgl\Documents\Ansoft\pyaedt20221101_103621.log in use.
pyaedt info: pyaedt v0.6.22
pyaedt info: Python version 3.8.12 (default, Oct 12 2021, 03:01:40) [MSC v.1916 64 bit (AMD64)]
pyaedt info: Project amf_GSG_SW_lumped_1000um has been opened.
pyaedt info: Aedt Objects initialized
pyaedt info: Variable Manager initialized
pyaedt info: Design Loaded
pyaedt info: Successfully loaded project materials !
pyaedt info: Materials Loaded
pyaedt info: aedt file load time 0.031244993209838867
['sub', 'box', 'cladding', 'air']
Steps To Reproduce
just run the code :
with Hfss(projectname="amf_GSG_SW_lumped_1000um.aedt", designname="HFSSDesign1", new_desktop_session=True,
close_on_exit=True, student_version=False, specified_version="2022.1") as hfss:
hfss.autosave_disable()
objects = hfss.modeler.primitives.object_names
print(objects)"
the aedt file could be substitute by your own files
Which Operating System are you using?

This is a pyaedt core feature and being extensively used it has seldom given back any exception.
Maybe could you share your aedt file so we can properly test and see whether it's a pyaedt or a file issue?

Hi,gmalinve,
Sorry for replying so late, i tested one again, even reinstalled anaconda. but there is still the message.
the attachment  contain the .py file and aedt file.
Thank you for your help!
amf_GSG_SW_lumped_1000um.zip

Yes, i have updated to version 0.6.26, but the error message still occurs, Thank you!

this is the pycharm output,thanks!

Hi @alien008 ,
I tested your file with both versions 22.1 and 22.2 and didn't get any issue.
Have you checked that you don't have the .lock file in your folder? because this will prevent the opening of the aedt file.

Hi,gmalinve,
well, i think it's not because of the .lock file. I know that the .lock file will cause the aedt file to fail to open, but there is no .lock file under my folder, and the aedt file can be opened by python, and pycharm will output such an error, But the aedt file will execute normally. If I run the same file under pyaedt 0.4.23, no error will be reported. I do not know why either. Thank you!

Hi @alien008 , yes at the moment we are investigating/fixing this case. A PR has been open to tackle it.

Hi @alien008
This should be fixed within the last release 0.6.28 published yesterday.
Let us know if you still experiment any issues.
Thanks for your feedback and all the details you provided.


[IT-3471] Setup dashboard for iAtlas

Setup cross account cloudwatch dashboard for IAtlas app.
depends on #1115

This looks identical to the nextflow dashboards. Is it likely that the two dashboards will diverge once they are actively used, or does it make sense to rename nextflow-cw-dashboards.njk to ecs-cw-dashboards.njk and reuse it in both places?

Is it likely that the two dashboards will diverge once they are actively used, or does it make sense to rename nextflow-cw-dashboards.njk to ecs-cw-dashboards.njk and reuse it in both places?

I have only added the basic metrics to each project's dashboard.  Each project can have very custom dashboards with an very different configurations and there are many parameters that can be set in the json.  Therefore I think each project will have a custom dashboard and they will most definitely diverge from each other.


Adds updated text and publication list for Loihi 2.

Closes #147

Hey @pritchardn ! Thanks a lot for this PR. What info is still missing from this, as it is marked as a draft?
Thank you

I wanted to have one more look with fresh eyes before offering it up, but I'm happy with it, and I believe it covers all the elements in the original issue.


Muonmaster

Merge master into muonmaster to get Travis working

Do a little code clean up

@AMWMitchell
I think this is important to be merged soon, as a working CI enables us to work with the tests as our safety net.

Can you do a new pull request with your changes applied to the latest version of muonmaster

Working on it right now ;)


Other permutation solver in FDICA

Now, the permutation solver is based on the correlation between frequencies.
Degree-of-arrival based method may be useful.

[ ] S. Ikeda, and M. Noboru, "A method of ICA in time-frequency domain." in Proc. ICA, 1999.

I think the priority is low, so move milestone to v0.3.0.


whats the system requirment

i have 4gb ram 64mb gpu
core 2 duo 3.00GHz  directx 10 opengl 2.1
32 bit operating system

4 GB RAM is fine
64 MB GPU - not sure about this one, but if it is integrated GPU and has shared system memory, then it should work
CPU is fine
32bit OS can't run it, we publish only 64-bit binaries, if you want to run it on 32-bit, you need to build the project yourself


Missing Tax Entries functionality as it relates to APBILL

The following AP classes are missing:

BillLineTaxEntriesCreate
AbstractBillLineTaxEntries

I believe the following also need supporting modifications:

AbstractBillLine
BillLineCreate
AbstractBill
BillCreate

Hey @rictd, thanks for opening an issue on this. I'll work on this and it'll be packaged in our 4.0.0 release, TBD.


deps: replace third party statusor with absl

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]

Suspicious segfault in oauth2 test:
[2020-11-12 01:44:30.622][4884][critical][backtrace] [bazel-out/k8-fastbuild/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:104] Caught Segmentation fault, suspect faulting address 0x7f3393a28f18
[2020-11-12 01:44:30.632][8589][trace][connection] [source/common/network/connection_impl.cc:517] [C1] socket event: 3
[2020-11-12 01:44:30.632][8589][trace][connection] [source/common/network/connection_impl.cc:625] [C1] write ready
[2020-11-12 01:44:30.632][8589][trace][connection] [source/common/network/connection_impl.cc:555] [C1] read ready. dispatch_buffered_data=false
[2020-11-12 01:44:30.632][8589][trace][connection] [source/common/network/raw_buffer_socket.cc:25] [C1] read returns: 9
[2020-11-12 01:44:30.632][8589][trace][connection] [source/common/network/raw_buffer_socket.cc:39] [C1] read error: Resource temporarily unavailable
[2020-11-12 01:44:30.632][8589][trace][http2] [source/common/http/http2/codec_impl.cc:644] [C1] dispatching 9 bytes
[2020-11-12 01:44:30.632][8589][trace][http2] [source/common/http/http2/codec_impl.cc:721] [C1] about to recv frame type=4, flags=1
[2020-11-12 01:44:30.632][8589][trace][http2] [source/common/http/http2/codec_impl.cc:1522] [C1] track inbound frame type=4 flags=1 length=0 padding_length=0
[2020-11-12 01:44:30.632][8589][trace][http2] [source/common/http/http2/codec_impl.cc:745] [C1] recv frame type=4
[2020-11-12 01:44:30.632][8589][trace][http2] [source/common/http/http2/codec_impl.cc:671] [C1] dispatched 9 bytes
#0 Envoy::SignalAction::sigHandler() [0x7f332a83e1e4]
#1 __restore_rt [0x7f3316aa0980]
#2 testing::internal::HandleSehExceptionsInMethodIfSupported<>() [0x7f331792bc66]
#3 testing::internal::HandleExceptionsInMethodIfSupported<>() [0x7f3317910571]
#4 testing::Test::Run() [0x7f33178f7eb2]
#5 testing::TestInfo::Run() [0x7f33178f89c8]
#6 testing::TestSuite::Run() [0x7f33178f92a9]
#7 testing::internal::UnitTestImpl::RunAllTests() [0x7f3317907056]
#8 testing::internal::HandleSehExceptionsInMethodIfSupported<>() [0x7f33179335a6]
#9 testing::internal::HandleExceptionsInMethodIfSupported<>() [0x7f33179136c1]
#10 testing::UnitTest::Run() [0x7f3317906aa0]

/retest


Error with Install of Gemelli standalone

Greetings, I am having some issues trying to install gemelli as a standalone outside of qiime2.  The output states that there is no module named 'numpy' but I have installed. I can see it in my pip list too. Is there anything I can do differently to install this library?

I @tmdoswald87,
Could you please copy/paste the whole error report? That would help me diagnose thee issue.
Thanks!
Cameron

please see the attachment and thank you!
-Thomas

Hi @tmdoswald87 ,
I am unable to replicate the error, assuming numpy and Cython are already installed, I can get the same error if they are not.
Could you tell me the result of the commands:

python -c 'import numpy; print(numpy.__version__)'
python -c 'import cython; print(cython.__version__)'
python --version

Additionally what operating system (and version) are you using?
That should verify that they are installed and the versions so I can try and replicate.
Thanks,
Cameron

Thanks, @tmdoswald87. Looping in @wasade because the issue seems to be in the iow install. Could you try installing after changing to cython version < 3 (e.g., cython==0.29.37)?

I'm afraid it looks like the same error.

Thanks for confirming @tmdoswald87. Can you run pip install iow to make sure that is where things are breaking?

And what happens if numpy is installed explicitly prior?
Note we do not test iow on Windows, and given it is concerned with specific C types, it is more likely to be sensitive to Windows than vanilla Python

I am hesitant to install iow on my current device since I don't know that much about it, so I have switched to a different laptop.  I am installing this through PyCharm. My python version is 3.11.3 and my pip list can be seen here:

Trying to install iow:

I also tried to follow the instructions given on the iow pypi page and it failed install as well. Found here: https://pypi.org/project/iow/#:~:text=Project description. Improved Octo

What happens if you do pip install --use-pep517 as suggested in the output?


CreateCSSProperties is not assignable to CSSProperties after upgrading to 4.0.2

I found CreateCSSProperties is not assignable to CSSProperties after upgrading to 4.0.2.
Below is my code:
import { withStyles, createStyles } from '@material-ui/core/styles';
const styles = createStyles({
  logo: {
    position: 'fixed',
    top: 0,
    height: '4rem',
    backgroundColor: '#28064A',
    width: '100%',
    alignItems: 'center',
    paddingLeft: '0.5rem',
    zIndex: 1
  }
}

...
   <MenuIcon styles={styles.logo} />
...

The styles of MenuIcon is type of styles?: React.CSSProperties;. I get this error:
TS2322: Type 'CreateCSSProperties<{}> | ((props: {}) => CreateCSSProperties<{}>)' is not assignable to type 'CSSProperties | undefined'.
  Type 'CreateCSSProperties<{}>' is not assignable to type 'CSSProperties'

It seems that after 4.0.2 createStyles returns a type which is not compatible with  React.CSSProperties. Is there a quick way to fix it?

Working on a fix.

Is there a quick way to fix it?

Cast the result from createStyles would be the easiest

so you mean using as any?

I was thinking more of styles.logo as CSSProperties but yeah, you can do that as well


feat: air-gapped support with hauler

Description

use OCI client instead of Helm client due to https://github.com/helm/helm/issues/12810
prompt user for Hauler configuration for air-gapped installs & customize image and chart endpoints accordingly
reinstate advanced kind config that was inexplicably removed
fix containerdConfigPatches for insecure registries in kind cluster template
bump kindest/node image
bump kube-rbac-proxy images

Requires:

https://github.com/validator-labs/validator/pull/322

@ahmad-ibra this is ready for review, but I still need to update the integration tests


Caching of Downloads ?

After rbenv install it downloads and installs but if build fails due to some error, We again run the command , Does it download it again rather than using the previously downloaded if found ? It was really frustrating to wait for it to download again and again after multiple Failed Builds.

You can cache them with mkdir -p ~/.rbenv/cache


Confusing Scan Query example

As a beginner user of Druid, I find Scan Query Example
 confusing.
The example scan query is

{
"queryType": "scan",
"dataSource": "wikipedia",
"resultFormat": "list",
"columns":[],
"intervals": [
"2013-01-01/2013-01-02"
],
"batchSize":20480,
"limit":5
}

Here, batchSize is greater than limit, which does not make sense. Why will we load  20480 records in memory to return just 5 records. I guess adding filter to this example will add more clarity.
We can change the query to
{
  "queryType": "scan",
  "dataSource": "wikipedia",
  "resultFormat": "list",
  "columns": [],
  "intervals": [
    "2013-01-01/2013-01-02"
  ],
  "filter": {
    "type": "in",
    "dimension": "page",
    "values": [
      "Justin Bieber"
    ]
  },
  "batchSize": 20480,
  "limit": 50
}

With filter criteria, The reader can infer that filtering criteria will be applied on batch of 20480 records and result will be returned to client. If first batch filtering does not return 50 records then the next batch of 20480 records will be fetched to fulfil limit parameter. This process will happen again and again until the returned rows count is 50 or all rows are scanned

Hi Dinesh,
I think you misunderstand how the scan query is implemented.  Afaik, filtering using the index(es) occurs prior to batching.  When the historical reads rows into a batch (see ScanQueryLimitRowIterator.java for reference), this batch only contains filtered records.  Then, batches of batchSize rows are streamed back to the broker until limit rows have been returned (the only edge case being the last batch which might contain fewer than batchSize rows to avoid exceeding limit).
This differs from your understanding in that you're assuming that every row is being scanned and filtered through.  Rather than combining rows into batches prior to filtering, batching is used to combine results after filtering to be streamed back.
Referring to the doc example, the batchSize property actually corresponds to a maximum batch size. Perhaps the property could be named better but it's too much pain to change the API for minimal benefit.

Thanks @justinborromeo to clear my understanding.


Support python 3.13

Hey,
Would be awesome if you could release a new version compatible with python 3.13 and build the relevant wheels and upload to pypi.
Thanks!

Going to close this because it's not really about hiredis