Interoperability with numpy

Would it be possible to support interoperability with numpy?
import numpy as np
import arrayfire as af

A = np.zeros((2,3), dtype=np.complex64)
Ad = af.array(A) # <-- load data from a numpy array
af.display(Ad)
print(Ad.elements(), Ad.type(), Ad.dims(), Ad.numdims())

Currently:
Using opencl backend
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-3-c8c7947108da> in <module>()
      3
      4 A = np.zeros((2,3), dtype=np.complex64)
----> 5 Ad = af.array(A) # <-- load data from a numpy array
      6 af.display(Ad)
      7 print(Ad.elements(), Ad.type(), Ad.dims(), Ad.numdims())

/Users/cmey/Code/GitHub/arrayfire-python/arrayfire/array.pyc in __init__(self, src, dims)
    133                 type_char = tmp.typecode
    134             else:
--> 135                 raise TypeError("src is an object of unsupported class")
    136
    137             elements = 1

TypeError: src is an object of unsupported class

We are trying to ensure ArrayFire works out of the box on a python distribution. Numpy may not always be installed on the machine. That said, I pushed out 14d5bc641353f4ef14d798eed2e6aeb684d7a298 that should add the ability to interop with numpy in the following manner:
import numpy as np
import arrayfire as af

def af_array(src, transpose=False):
    res = af.array(src.ctypes.data, src.shape, src.dtype.char)
    return res if not transpose else af.transpose(res)

a = np.random.random((5,5))
b = af_array(a)

print(a)
af.display(b)

The transpose flag may be necessary because numpy is row major by default and ArrayFire is column major.

Works great, thanks!

This only work for square matrix, for example:
import numpy as np
import arrayfire as af

def af_array(src, transpose=False):
    res = af.array(src.ctypes.data, src.shape, src.dtype.char)
    return res if not transpose else af.transpose(res)

a = np.random.random((2,3))
b = af_array(a,transpose=True)

print(a)
af.display(b)

will print:
Using cuda backend
[[ 0.25789153  0.03512506  0.46146956]
 [ 0.72702506  0.40743834  0.89003303]]
b
[3 2 1 1]
    0.2579     0.0351
    0.4615     0.7270
    0.4074     0.8900

a solution to this is convert the numpy.ndarray to fortran order first:
import numpy as np
import arrayfire as af

def af_array(src):
    src_ = src if np.isfortran(src) else np.asfortranarray(src)
    res = af.array(src_.ctypes.data, src_.shape, src_.dtype.char)
    return res

@FilipeMaia Can you comment here on how you are achieving this in afnumpy ?

This is actually present in master as a constructor thanks to @FilipeMaia
The lay out changes are going to be difficult to implicitly handle inside arrayfire. I think it should be left to the user to change it to proper format before calling arrayfire functions.

The only way to ensure a conversion where the dimensions of the arrayfire array match dimensions of the numpy is like @mklf did in the last code snippet (N.B. this often means the data will have to be transposed as numpy uses C order by default).
In afnumpy I'm currently assuming the numpy arrays are always in C order and have the shape of the arrayfire array be the inverse of the numpy array, e.g.:
# Assuming src is in contiguous C order
A = af.array(src.ctypes.data, src.shape[::-1], src.dtype.char)

I closed the issue hastily. arrayfire --> numpy is supported but the opposite is not.

This is fixed in master. All you need to do now is call the following function:
af_arr = af.np_to_af_array(np_arr)

This will take care of all cases @mklf mentions.

Thank you!

@cmey I have uploaded the latest version to be available via pip


SqlCE wants null parameters to have a type

In Database.SetParameterValue when the value parameter is null we currently just set the database parameter value to DBNull.Value:
if (value == null)
{
  p.Value = DBNull.Value;
  return;
}

It turns out that Sql CE does not like this. If the parameter is used, for instance, in a COALESCE(@0, -1) expression, Sql CE throws an error about invalid function arguments. Sql CE wants the parameter to have a type. The type itself does not seem to matter, since the value is null. All in all, this seems to fix the issue:
if (value == null)
{
  p.Value = DBNull.Value;
  p.DbType = DbType.String; // SQL CE wants a type
  return;
}

Can do a PR if you want me to.

Workaround: currently running with an override to Database.CreateCommand:
public override DbCommand CreateCommand(DbConnection connection, CommandType commandType, string sql, params object[] args)
{
  var command = base.CreateCommand(connection, commandType, sql, args);

  if (!(DatabaseType is DatabaseTypes.SqlServerCEDatabaseType)) return command;

  foreach (DbParameter parameter in command.Parameters)
    if (parameter.Value == DBNull.Value)
      parameter.DbType = DbType.String;

  return command;
}

DbType doesn't seem to be able to be null. By default it would be AnsiString, so i'm gonna close this for now as you have a work around anyways.


Allow configuring a repository to be exempt from renovate management

Problem
For JSS repositories, we are likely to require customized renovate configurations. There are some aspects of the CFT-managed renovate configuration we may want to retain.
Proposal

Allow configuring opt-out of a repository from renovate management by CFT
Consider moving some of the template renovate configuration to GitHub-hosted presets so repositories that opt out can easily include custom regexManagers or other configurations that may remain universally useful.

I think the first option with opt-out should be straightforward to implement. I will defer to @apeabody who has most context for any suggestions/recommendations.

@bharathkkb
To implement the opt-out I would suggest adding a new bool to the repos map.  While the renovate.json uses the generic repo_file module, you could then use an in-line expansion to filter here.
I also like the idea of moving some/most of our renovate config to a central present to reduce the need to push some changes (e.g. regexManagers) to the actual repo config files.
@grayside
Do you have more detail on the desired customization?  We can certainly publish a preset for inclusion, just curious (beyond the obvious custom regexManagers) what might be/not be universally useful. Cheers!

regexManagers are the main thing, possibly with more flexibility in supporting *.cloudbuild.yaml instead of the limitation on int or lint currently in place.
It may be useful to have terraform grouping rules in place as well (perhaps as a separate preset).
I'm not sure how to interpret some of the constraints around Go updates & version constraints, if those are in place to ensure CFT library compatibility, that may also be a valuable preset.


refactor: redefine UnivLE

I think that ultimately, UnivLE.{u, v} should be redefined as you suggest, i.e. that all _ : Type u are v-small; I was also thinking about it! For the constructions of limits/colimits in category theory, we do not actually need the condition with max u v: but I would say it is a temporary convenience (the max u v-types come for sigma/pi types of maps J ⟶ Type v with J : Type u: if we reindex these that as J' ⟶ Type v with J' : Type v equivalent to J, we see that ultimately we only need the "weak" condition of UnivLE in order to get limits/colimits in types and some other concrete categories).
I would suggest refactoring UnivLE only after some of the cleaning up of limits/colimits in Type _ are done, i.e. at least after #7020 is merged.

Thanks for your support! However, I think the first step is to redo #5724 (construct limits in Type* using the new/weaker UnivLE); your PR #7020 seems to depend on the defeqs there, and when it's redone by shrinking α rather than shrinking Π a, β a, the defeq is gonna be different, so I'd suggest doing #7020 simultaneously with, or after this PR.
I should say I'm confident with this weaker definition because when u ≤ v (in the sense that all types in Type u are v-small), even though we can't prove all types in Type max u v are v-small, we should be able to prove all constructions involving types in Type u and Type v are v-small.

I think another potential generalization is to require the indexing category to be "EssentiallySmall", and provide an instance from UnivLE to "EssentiallySmall". The current CategoryTheory.EssentiallySmall is not quite good enough because it requires shrinking to a small category (where the morphisms and objects are in the same universe).

My suggestion is to proceed steps by steps. It was already very painful to make #7020 compile (and there I also simplified some unnecessary long proofs in the process). I think it will be much easier to merge #7020 first, rather than trying to do everything in just one PR. As long as the "downstream" constructions no longer depend to much on the definition of constructed limit/colimit cones, I will be easier to tweak the definition of UnivLE.

But can you single out changes in #7020 that will remain stable after redefinition of UnivLE? For example you redefined colimits in Type*, which needs to be redefined again after redefining UnivLE. I'd be happy to merge your PR into mine (or vice versa) and slowly fixing stuff, maybe will the help with other contributors.

Oh sorry, I realized that your proposal is that we keep Shrinking the resulting Sigma type or Pi type rather than the indexing type even after redefining UnivLE, but what I have in mind is to consistently Shrink the indexing type, which feels to me more morally correct, and also would be consistent with HasLimitsOfSize instances to be added later. However, I realize my proposal may not be very nice in terms of defeq, because the functor from C to Shrink C (equipped with the induced category structure) is not definitionally very nice (involves eqToHom); I need to think this through, maybe by first experimenting with refactoring the limit cone construction using the weaker UnivLE.

But even if defeq is not nice, I think we should still switch to Shrinking the indexing type, because with the latter

when we're dealing with other categories like CommGroup/Ring etc. we don't need to equip Shrink _ with CommGroup/Ring structures.

we can treat in a uniform way indexing categories that are not in a smaller universe per se but only essentially small.

I do not care at all about defeq. What I am trying to say is that if we change the definition of the constructed colimit cocone, there are things which break downstream. It was a lot of efforts to fix this, I would not like anybody else to have to redo it. The fixes I have done already would certainly allow for yet another change of the definition of the colimit cocone if it turns out it is the preferred way.

I guess I'll try to "port"/adapt your changes to Shrinked indexing categories then :)
The eqToHoms are probably not very important, because if I work in the generality of SkeletonSmall I would use an arbitrarily chosen equivalence (from Nonempty) anyway.

Update to my plan: I think we can keep the original (co)limit cone constructions but provide UnivLE/SkeletonSmall versions using CategoryTheory.Limits.IsLimit.whiskerEquivalenceEquiv, and provide Initial/Final versions using CategoryTheory.Functor.Initial.isLimitWhiskerEquiv. We could also define the former in terms of the latter for slightly worse defeq.
Another philosophical realization is that since we can't prove max u v is smaller than or equal to either u or v, current declarations with resulting type max _ _ or TypeMax are strictly less general than the versions with [UnivLE.{u, w}] [UnivLE.{v, w}] (where w is the resulting type's universe) and probably should be replaced by such in the long term. Ideally, automation and LLMs could help with that (I'm hopeful of the Morph models).

If I understand properly what you suggest, the plan would be:

Define an explicit colimit/limit co/cone only in the case of a functor J ⥤ Type v when J : Type v (and Category.{w} J for any w)
Show that limit/colimits exist more generally when J : Type u and J is v-small (or the skeleton is v-small), e.g. when [UnivLE.{u, v}] (which can be weakened).
When constructing limits/colimits in concrete categories (AddCommGroupCat, etc.), when it is necessary to use the definitional properties of the explicit co/cone, prove the results first for J : Type v, and deduce the HasLimits, PreservesLimit, etc for the more general case afterwards.

Yeah, I think you basically get it! For more details see docstrings here and here. (I just discovered InitiallySmall which is more general than EssentiallySmall but still has the morphism universe restriction.)

There probably isn't much benefit to be garnered from this approach, so closing.


[10.x] Handle missing translation strings using callback

This change adds the ability to customise the behaviour of how missing translations are handled. The current behaviour is to return the key unchanged. For example {{ __('user.name') }} will render as user.name if the corresponding translation key doesn't exist in language files. This change allows a callback to define the missing translation behaviour increasing customisability. The callback can return a string which will then be returned by the get method.
An example of a use case for this is: I would like to add the ability to trigger a log message if a translation key is missed in production to detect when cryptic text such as user.name are being displayed to users in production.
There are packages to solve this problem using static analysis such as https://github.com/LarsWiegers/laravel-translations-checker, however static analysis is limited and can not pick up run-time generated keys, e.g. __("user.$field"). This change would make it possible to detect translation misses in run-time.
Example of usage in any service provider:
use Illuminate\Translation\Translator;
use Log;

Translator::handleMissingTranslationKeyUsing(function ($key) {
    Log::error("Missing translation key [$key] detected.");
});

These changes also include functionality to prevent infinite loops where the user defined callback itself contains a missing translation.
This idea was originally proposed at: https://github.com/laravel/framework/discussions/48862

This is a lovely feature, personally I'd like to use this to report missing translation string automatically

It is a very minor procedural point, but force-pushing commits is not generally considered the way to make minor incremental changes to code in a PR - a normal push is generally used.

Congrats @DeanWunder for getting this PR accepted. 👍

Congrats again to @DeanWunder - this PR is now live in Laravel 10.33.0.

Thanks  @Sophist-UK I can now say I contributed to laravel 😍
We have now deployed this to our websites and look forward to the benefits it will provide!


New package: DGP-Studio.Snap-Hutao version 1.10.7

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
Resolve #164178

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.6 schema?

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

Microsoft Reviewers: Open in CodeFlow

Hi @Dragon1573,
This package installed normally, but gave an error when launched, even with elevated permissions:

Is this due to can’t access to the WindowsApps folder?

See Minimum System Requirements.
See Can I Add Missing System Components to Install Snap Hutao.

@stephengillie - Is Windows Sandbox, your manual validation VM and Azure Pipelines a "lite" version of Windows? Only full Windows version from Microsoft is supported.

[!WARNING]
We recommend using Snap.Hutao.Deployment to install Hutao. Any issues encountered when using the MSIX installation package will not be actively addressed.

See Download Snap Hutao

Hi Dragon1573,
This package installed normally, but gave an error when launched, even with elevated permissions:

Hi @stephengillie ,
Are you serious to open an MSIX app by opening the executable file directly?

Hi @stephengillie , Are you serious to open an MSIX app by opening the executable file directly?

For external contributors & volunteers, the recommended validation is as follows:

Create the manifest by using wingetcreate.exe, komac.exe, Tools/YamlCreate.ps1 or any other tools you want
Enable Windows Sandbox feature on your device
Run Tools/SandboxTest.ps1 <manifest_path>, this will launch a Sandbox instance and install the package unattended. If package successfully installed, it should be listed in the "ARP Entries".
Do further test manually by launching the application from "Start Menu" or desktop.

I can't sure if his/her validate this package as mentioned above. Maybe it's all Windows Sandbox or VM's fault?

Try to use Snap.Hutao.Deployment in Windows Sandbox but also failed. 😞

Successfully install and launch Snap.Hutao MSIX on Windows 11 amd64 device.

Try to use Snap.Hutao.Deployment in Windows Sandbox but also failed. 😞

Successfully install and launch Snap.Hutao MSIX on Windows 11 amd64 device.

0x80070015 ERROR_NOT_READY
It seems that AppX runtime is partially supported in the sandbox.


adding coverage report for unit tests and a codecov workflow

EES-4129
In order to monitor a code quality in the project, we need a codecov integration.

👍

+1

+1


Unc0ver 3.0.0 videosubscriptionsd keeps crashing and rebooting phone

This doesn’t belong here, remember tweaks break the substrate not substrate tweaks, if it doesn’t work for you just uninstall the tweak or futurerestore to a version where it works. 👍🏻

@Cryptiiiic

Install cappd

Well i didn't have crashes on lower versions of Unc0ver with the same tweaks installed, problems started to show up when switching to newer versions. That’s why i posted this here.

@AccelShiftx not unc0ver related, use cappd like @atifchy suggested. Closing this.


[#2641] Internally display message sender

closes #2641
screenshot

@AudreyKj @thorstenairy nice one, where i can see/test it?
Also, it wasn't in the last release, although it was merged on the same day of last release, right?

@M-Shorouk we gonna push the lastest develop image into staging so you can test on staging.airy.co, will ping you when it's done


Per account sounds notification sounds have disappeared

Describe the bug
With the older version you could configure a different notification sound per account. This has now disappeared. Now only the system setting is used.
Environment:

K-9 Mail version: 5.800
Android version: 10 with EMUI <IP_ADDRESS>
Device: Honor 10 (COL-L29)
Account type: IMAP with Inbox set for Push

Additional context
Could be considered related to #5118

+1
I'm finding the new app rather annoying in this regard. I'm getting dozens of default system notification sounds playing every hour. I previously had my email sound set to a quiet, short pop sound, which I was able to easily ignore if busy. Now I don't have a clue what's trying to tell me stuff, and I have to pull my phone out all the time to check.

Seems like there is also no way to turn off the notification sound, but still keep notifications showing up on the lock screen? Seems like a total design bomb in my opinion. This bug as well as https://github.com/k9mail/k-9/issues/5452 have made the new k-9 mail totally unusable. Any idea what the latest version of k-9 mail is that I can downgrade to that does not have this notification bug?

Now only the system setting is used.

The system settings screen (that you can reach by pressing the last item in K-9's notification settings screen) allows setting a custom notification sound for each account.

The system settings screen (that you can reach by pressing the last item in K-9's notification settings screen) allows setting a custom notification sound for each account.

That seems to not be the case for every Android version. For me - with EMUI 9.1 (based on Android 9) - that screen does not allow to change the notification sound. But if I open the apps notifications settings manually from the Android settings menu, I do get the option to configure a notification sound per account. With one big problem there: The screen doesn't show for which account I'm configuring that right now - all accounts have the same description texts. So it's trial and error.

With EMUI 10, in App notifications, I only get the options to Show notifications, Messages and Miscellaneous per account. The account is named but there is no option to change the sound.

Directly tap on the text "Messages".

Directly tap on the text "Messages".

Ok, thanks.

Wow! No wonder I could not find it. Agree with:

That UI design is not very intuitive...
I guess it makes the bug invalid, but anyone can raise another bug about the UI.

I guess it makes the bug invalid, but anyone can raise another bug about the UI.

Is this confusing UI a k-9 UI or android UI? Hard to tell because I don't know if android is super customizable there and k-9 mail used the customization in a confusing way or if android forces it to be that confusing.

It's confusing UI in Android. You get the same screen for all other apps, too, and K-9 can't do anything about it.

Seems the name "messages" is set by the app, as other apps appear to have other names for their notifications (eg qksms simply has "default", while Google Maps has things like "assistant driving mode", both of which have a notification sound option).
Perhaps some of the confusion could be avoided by renaming the notification type to "New Email" or something similar so it's clearer that this is what we need to press, since I personally assumed "messages" meant things the app was trying to tell me, like connection error or whatever.

IMHO, the Messages text should not have a check box beside it if it is the entry point for a sub-menu.  There is a feint separator between the Messages text and the check box but this is not intuitive.
Personally I'd remove the check box and use a slider at the top or the next menu.


IoT module knack conversion

@digimaun Please review. You can use the prompt.ws service below to do some ad-hoc testing of the commands (It takes 2/3 minutes to load so refresh the page afterwards).

View a preview at https://prompt.ws/r/Azure/azure-cli/5084
This is an experimental preview for @microsoft.com users.
(It may take a minute or two for your instance to be ready)
Email feedback to 'azfeedback' with subject 'Prompt Feedback'.


Ferdi email login should be case insensitive

Bug description: Ferdi email login should be case insensitive.

Steps to reproduce: Simply try signing in with Ferdi using a different email casing (e.g<EMAIL_ADDRESS>vs<EMAIL_ADDRESS>and you'll notice that only the casing you used when signing up works.
Expected behavior All casing variations of an email are equivalent when logging into Ferdi.

Thank you for your bug report. We are already discussing this at https://github.com/getferdi/server/issues/24


no readme?

no readme?

🤔 https://github.com/andygeorge/containers/blob/main/README.md

if anything, there are too many readmes


Can't run the project on a server in eclipse

I just cloned the project with "git clone https://github.com/spring-guides/gs-securing-web.git".
Then I opend the Project in Eclipse

After I wanted to start the completed version on my Tomcat v9.

And then I'm getting this, no idea why.

 In my eyes everything what just remontenly could be importend to run this project should stand in the doku.
Excuse my english, I'm from switzerland.
Thank you and Regards
Leo

What happens if you Run As > Spring Boot App?

Works, thanks :)

Looks like this question has been answered, so I'll close the ticket. Feel free to reopen, though, if there is more to discuss.


Screen Blur Feature

Description of the new feature / enhancement
When I press a key combination it blurs the screen so that the privacy of user stays prolonged. untill user clicks the same key combination again almost same as find my mouse feature as give n the old update by your team,
this feature would be the most prominnet feature while hiding user from suspacting out screen
Scenario when this would be used?
When some one peaking to anothers desktop screen
Supporting information
No response

Why not just lock the device with the shortcut (Win + L)?
/needinfo

allows users to quickly and discreetly blur their screen for added privacy during sensitive moments. This feature will enhance user privacy by obscuring the content on the screen, making it less accessible to anyone attempting to view it without authorization.

This would be /dup https://github.com/microsoft/PowerToys/issues/13035 but if someone is looking at your computer, lock it or get a proper privacy monitor cover that restricts field of view.


Image get transformed to "!"

The result of the two following operations:
{ ops: [
           { retain: position},
           { insert: 1}
       ]
}
# and then
{ ops: [
           { retain: position},
           { retain: 1, attributes: {image: "someimageurl.png"}}
       ]
}

has not the same result as
{ ops: [
           { retain: position},
           { insert: 1, attributes: {image: "someimageurl.png"}}
       ]
}

The first one results in a weird ! and no image, while the second one gives the image.

I made a hack by adding a attributes: {image: "http://" } when missing for an {insert : 1}. There's an open issue on quilljs (https://github.com/quilljs/quill/issues/347)

I fixed this in the initial_editor branch. In the current master branch, quill receives two deltas on startup:

one for the text
one for the selections

But now I transform text+selections into one delta. Therefore, this cannot happen anymore.


Provide documentation for onboarding repos onto source-build

The current documentation for onboarding repos onto source-build is out-of-date.  This documentation needs updating for the VMR.  It may be better for this documentation to reside with the VMR documentation.
This was a hinderance here.

This is a duplicate of https://github.com/dotnet/source-build/issues/4470.


Evaluating predictions

I would appreciate if someone can help me in this issue. As I am newbie in fiftyone, I am not really sure where the starting point is for evaluating models (after I have computed the predictions).
I have a dataset created as follows:
`    dataset = fo.Dataset('my_dataset')
dataset.add_dir(
    data_path = "./data/training/image_2",
    labels_path = "./data/training/label_2",
    dataset_type=fo.types.KITTIDetectionDataset,
    split='trainval',
    tags='trainval'
)

dataset.add_dir(
    data_path = f"./data/testing/image_2",
    labels_path = f"./data/testing/label_2",
    dataset_type=fo.types.KITTIDetectionDataset,
    split='test',
    tags='test'
)
dataset.persistent = True

`
I am able to visualize it with fiftyone app and also play around with the interface. I have 4 models and I have their predictions on the testing set. The predictions are in Kitti format.
I am looking for starting point or recipes for these issues:

Adding predictions to the dataset: Is it possible to add 4 predictions to the same model and still be able to visualize all of the them in the app with different colors?
Is it possible to visualize both the grounf truth and the predictions in the same time?
How can I compute the commonly know evaluation metrics? Is that possible only using a python code or can I use the app for that? NB. I want to be able to compute the evaluation metrics without running model predictions again (as I already have the predictions dumped in Kitti format).

Thanks a lot.

Hi @nasserdr welcome to the FiftyOne community then! Feel free to join our community slack where you can get help from others, feature updates, give feedback, and more.
As to your specific q's:

Yes you can add any custom metadata fields you want, including predictions. Many people add a new detection field, e.g., to the same dataset for each model training run, in order to compare and evaluate models. You could add the new fields by adding detections directly this way, or potentially using merge_dir() which works similary to the add_dir() method you've already used.
Yep absolutely, this is bread and butter FiftyOne app. Check out using the app user guide to see how the labels fields can be toggled on and off, filtered, colored differently, and more.
See the evaluating models user guide for more. This is with python code yes, but you could also install the evaluation plugin and then do it all through the app!

Hello @swheaton,
Thanks for your input.
I was able to add the predictions of several models to several dataset. That works super fine and it's indeed a life saving feature. This allowed me to make some visual inspections. Now, I am moving to concretize my results with numbers, but I ran into troubles.
Visually speaking, my results seem to be appealing, where I can see the predicted bounding boxes mostly aligned with the annotations.
However, computing the metrics seem to bear wrong results. Here's a snapshot.

I am sure that the results should not be zero but I am not able to find the glitch. Also, I it seems that the performance is measured on the whole dataset (~2900 images). How can I make it measure the mAP on the test set only?

Thanks

The boxes are hard to see, I recommend a custom color scheme.
Just from my naked eye, I don't see any overlapping boxes in this view but again it's hard to tell because of the colors.
To your second question, you could run evaluate_detections() on a view containing only 'test' tag.
view = dataset.match_tags("test")
view.evaluate_detections ( ... )

Thanks, I actually had another glicht completely unrelated to the evaluations, that's why I was getting a zero, but not only. Evaluating metrics on the whole dataset seems to be uncorrect. The metrics on the test view are different that on the whole dataset:
On the test view (79 samples):
`              precision    recall  f1-score   support
   rumex       0.62      0.31      0.42       343

micro avg       0.62      0.31      0.42       343
macro avg       0.62      0.31      0.42       343
weighted avg       0.62      0.31      0.42       343
On the dataset (794 samples):              precision    recall  f1-score   support
   rumex       0.62      0.05      0.09      2162

micro avg       0.62      0.05      0.09      2162
macro avg       0.62      0.05      0.09      2162
weighted avg       0.62      0.05      0.09      2162
`
I would say that this is expected because the valtrain set does not contains any predictions but only ground truth.


vlc 64

can you give me libVlc 64, i downloaded it from vlc, but when build not working"
this is error:
http://screencloud.net/v/9SSx

http://screencloud.net/v/8J00, i run with 4 cameras(RTSP)

In your first screenshot, I don't found any build error...
About performance issue, I can't do anything. You open 4 VLC, you will get 100% too.

i just change debug mode to x64 and change libvlc and it show this error when build

What error？

http://screencloud.net/v/9SSx
This is error when i change mode x64

can you give me libvlc x64, i used to libvlc x64 from vlc.org but its not working

I see no error in your screenshot, if you mean "Design View is unavailable for x64 and ARM target platforms".
it is not a error, because XAML Designer is only work on x86 platforms, actually VisualStudio is only have x86 version too.
So, you can't use XAML Designer on x64 mode, it can't load x64 dll.
You can Design your app on x86, and debug on x64.

Ok, but x64 better than x86 for perfomance, right?
because i want to fix issue with cpu vlc
Vlc player just 5-10% cpu
but your project it used to 25-30%

Ummm, I have no idea to fix this performance issue, I have used some diagnosis tools for it, but everything look good.
Maybe you can try other project Vlc.DotNet.

yeah, latest version is good, just took 10% cpu. you just disabled show log and it just took 10% cpu
thanks


fix: when use golang lsp, not use guru and godoc

Issue
When we use golang lsp, use guru and godoc to find references or documentation.
To reproduce
configure (go +lsp)
press gD use guru to find references
Fix
When we use golang lsp, not use guru and godoc

I don't understand why this is necessary. Due to the order of set-lookup-handlers! in the :tools lsp module (here) and :lang go (here), gD should use LSP when lsp-mode (or eglot) are active, and fall back to guru/godoc otherwise. This change should not be necessary, and may indicate an unrelated issue with your config. Can you confirm?

I updated doom emacs. And I can not reproduce the issue.


Authentication Bar Disappears on Frontend header

Problem
In the browser, when you login to the front end and navigate to a different page, the authentication bar disappears. In the browser console you can see there was an authorization error talking to auth0. Going into the auth0 Console under logs you can see:

Type: Failed Silent Auth
Description:
The specified redirect_uri 'https://browser.dev.single-cell.czi.technology/' does not have a registered origin.

The Allowed Web Origins is set to https://browser.dev.single-cell.czi.technology/.

Seems to work now!


AttributeError: module 'py2neo' has no attribute 'cypher_escape'

Describe the bug
Receive the titled error when attempting to run the following line from the directed GraphSAGE demo
neo4j_sg = Neo4jStellarDiGraph(neo4j_graphdb, node_label="paper")

To Reproduce
Steps to reproduce the behavior:

Go to https://stellargraph.readthedocs.io/en/stable/demos/connector/neo4j/directed-graphsage-on-cora-neo4j-example.html

Under cell 5, the line of code that produces the error is
neo4j_sg = Neo4jStellarDiGraph(neo4j_graphdb, node_label="paper")

The error received is the title of this issue

Observed behavior
AttributeError thrown as seen in the title
Expected behavior
No errors thrown
Solution to this issue

The issue is that in stellargraph/connector/neo4j/graph.py, the method raw_and_cypher calls py2neo.cypher_escape(raw). This is perhaps outdated as the py2neo docs has cypher_escape() under py2neo.cypher.
This bug is fixed if line 105 in graph.py is replaced as follows:
Before:
return raw, py2neo.cypher_escape(raw)
After:
return raw, py2neo.cypher.cypher_escape(raw)

Reference
https://py2neo.org/v4/cypher/index.html

neo4j_sg = Neo4jStellarGraph(neo4j_graphdb, node_label="paper")
neo4j_sg.cache_all_nodes_in_memory()
I'm also having the same issue while using Neo4jStellarGraph object
AttributeError                            Traceback (most recent call last)
 in ()
----> 1 neo4j_sg = Neo4jStellarGraph(neo4j_graphdb, node_label="paper")
2 neo4j_sg.cache_all_nodes_in_memory()
2 frames
/usr/local/lib/python3.7/dist-packages/stellargraph/connector/neo4j/graph.py in raw_and_cypher(raw)
103         def raw_and_cypher(raw):
104             if raw is not None:
--> 105                 return raw, py2neo.cypher_escape(raw)
106             else:
107                 return None, None
AttributeError: module 'py2neo' has no attribute 'cypher_escape'
Have you solved the issue

Yep! If you do not wish to wait for StellarGraph to push an update, you can go to graph.py in your path
/usr/local/lib/python3.7/dist-packages/stellargraph/connector/neo4j/graph.py
and change line 105 according to my suggestion.
Remember to re-import the library after you have saved the file!

AttributeError                            Traceback (most recent call last)
 in ()
----> 1 neo4j_sg = Neo4jStellarGraph(neo4j_graphdb, node_label="paper")
2 neo4j_sg.cache_all_nodes_in_memory()
2 frames
/usr/local/lib/python3.7/dist-packages/stellargraph/connector/neo4j/graph.py in raw_and_cypher(raw)
103         def raw_and_cypher(raw):
104             if raw is not None:
--> 105                 return raw, py2neo.cypher.cypher_escape(raw)
106             else:
107                 return None, None
AttributeError: module 'py2neo' has no attribute 'cypher_escape'
I do that and re import the libray again but still facing issue

Hmm, try restarting the kernel?


Mixnet benchmark

Since the PR #328 contains a lot of changes made from other branches, I'm instead opening this PR with also simplifying the benchmark code.

The code looks good to me. But I am curious about whether are we still facing port conflicts when running the benchmark.

Thank you! Yeah, we don't have port conflicts now. We use the same mechanism (get_available_port()) for not only benchmark but also integration tests. And, this mechanism guarantee that port conflicts doesn't happen when all tests are started by a single process. If multi processes run tests simutaneously in the same machine (like Jenkins), port conflicts can sometimes happen. But, we switched to Github Actions which execute a fresh VM for each workflow. So, we're safe!


DotaPlus Endpoints Request

Hey @howardchung, following our talk on Discord, here are the required API calls for DotaPlus - Just 2 endpoints.
I tried to make them as minimal as possible and used the same field names and conventions of the existing OpenDota API whenever I could.
GET /dotanext/matchPlayers
For each supplied account_id, return some general account info and some match info for each of their matches within the supplied game_mode, lobby_type and date parameters. If also supplied enemy_account_id or ally_account_id, return the lifetime wins and loses against or with supplied account ID, respectively.
Query Parameters:

game_mode: Same for the rest of the API
lobby_type: Same for the rest of the API
date: Same for the rest of the API
account_id: Array of Steam IDs of players for which to get info
enemy_account_id: Optional. Cannot appear when ally_account_id is supplied. A Steam ID to get lifetime wins/loses against (as enemy), for all supplied account_ids (win/lose)
ally_account_id: Optional. Cannot appear when enemy_account_id is supplied. A Steam ID to get lifetime wins/loses with (as ally), for all supplied account_ids (win/lose)

Response:
The response will be an object, with a key for each supplied account_id, and a value that looks like this:

win (integer): Lifetime wins (same as /player/wl)
lose (integer): Lifetime losses (same as /player/wl)
personaname (string): Account name
name (string): Pro player name if applicable, or null
rank_tier (integer): Rank tier of the player
leaderboard_rank (integer): Leaderboard rank of player
previous_season_rank_tier (integer): (NEW FIELD) The final rank tier of the player from last season, before this seasons' recalibration time.
previous_season_leaderboard_rank (integer): (NEW FIELD) The final leaderboard rank of the player from last season, before this seasons' recalibration time.
enemy (object): If supplied enemy_account_id, an object containing win (integer) and lose (integer), of the lifetime wins and loses of the player against enemy_account_id, otherwise (or if no results) null/undefined.
ally (object): If supplied ally_account_id, an object containing win (integer) and lose (integer), of the lifetime wins and loses of the player with ally_account_id, otherwise (or if no results) null/undefined.
matches (array of objects): Array containing and object for each match returned.

match_id (integer): Id of the match
account_id (integer): Id of the player
radiant_win (boolean): true if Radiant won
rank_tier (integer): (NEW FIELD) The average rank tier of the match which is basically the average rank of all 10 players (it's a little trickier than just a simple average of course). If you don't want to calculate it yourself, you can just call it 'rank_tiers' and return an integer array which will contain the rank tiers of all 10 players instead.
start_time (integer): Timestamp of start of the match
duration (integer): Match duration
game_mode (integer): Game mode
lobby_type (integer) Lobby type
player (object): An object containing some info about the player in that match. It contains only fields already known to you from the general /matches/ endpoint, so I will just list them:

player_slot
hero_id
kills
deaths
assists
leaver_status
gold_per_min
xp_per_min
randomed
lane
lane_role
purchase_ward_observer
purchase_ward_sentry
last_hits
total_gold

Notes:

Regarding the 3 new fields, if it's not possible, I will manage without them.
Performance-wise, if you see something that can cause an issue, please tell me. If the ally/enemy part requires too much processing, I'll remove it.
Date will probably never be more than 90 days. The app currently has presets of 7, 30, 90 days, 30 is the default,
This endpoint will be called twice for each game, once for the enemy team (5 ids) with the local player as enemy_account_id, and then for the local player's team (5 ids), with the local player as ally_account_id. The first call needs to finish between the loading/connection phase and the beginning of the ban phase, that's why performance is important.
For spectated games this endpoint will be called once, with 10 ids and no ally/enemy info.

Example URL:
https://api.opendota.com/api/dotanext/matchPlayers/?account_id=94531730&account_id=351659733&account_id=104963314&account_id=345803031&account_id=206144913&enemy_account_id=81256461&game_mode=2,3,22&lobby_type=0,1,7,9&date=30
Example response (not for the supplied URL): It's just a basic response with 2 players and for each of them 2 matches (copy-pasted). Just to see the structure.

GET /dotanext/playerHeroPurchaseLogs
For the supplied account_id and hero_id, return his purchase_log for each of the matches within the supplied hero_id, game_mode, lobby_type and date parameters.
Query Parameters:

account_id: An account ID for which to get purchase_logs.
hero_id: A hero ID for which to get purchase_logs.

Path Parameters:

game_mode: Same for the rest of the API
lobby_type: Same for the rest of the API
date: Same for the rest of the API

Response:
An array of purchase logs. Account/match IDs are not needed. Purely an array of purchase logs for each match.
Example URL:
https://api.opendota.com/api/dotanext/playerHeroPurchaseLogs/94531730/68?game_mode=2,3,22&lobby_type=0,1,7,9&date=30
Example response: Simply an array of purchase logs

That's about it. I hope it's not too much and that it's possible. Thank you for your time and effort.
Feel free to DM me on Discord if you have any questions, or just ask here.

So for /matchPlayers, this appears to be data that could be assembled with the existing APis. Is the number of calls too high to do this by making individual calls?
Similarly for purchase logs, this data could be fetched by making individual calls to the match IDs you find in the matches listing, but this could be very inefficient.
We don't currently index in the match listing the full purchase log, but we do track the "time of first purchase" of each item, which might be enough for you:
https://api.opendota.com/api/players/88367253/matches?project=purchase_time&limit=100

I can't know for sure until I try to map all of the data into existing API calls, but it looks like every match will require between 4 and 5 calls per player (3-4 exclusiding purchase log), so for 10 players that will be around 40-50 calls. Putting aside the high amount of calls, in cases where a player fails to connect into a match and you are thrown into a new match, it may even exceed the 60 calls per minute limit. The other issue is the time-criticality. I'm not sure it's possible to reliably fetch all required info for bans suggestions within time limits, when taking into account poor network conditions/geographical aspects.
I can try to build a rough tester and check the feasibility, but even if I am able to make something work, I will be worried about its performance and realiability.
If it makes it any less of a big deal, I can forfiet the purchase logs endpoint for now.

Aggregating the logic on the server side may not improve the time it takes the server to handle 10 players, but it will definitely improve the overall time it takes to eventually get all of the info due to the (much) lower amount of network calls required. I know this from my experience with STARTZ's API.
But yeah, even if you don't aggregate the logic on the server, combining the required data into 1 call per player will probably make it feasible. We can maybe revisit the aggregation part afterwards.
Regarding the purchase logs, I missed what you originally said about what data you keep. From what I see, having the first time of purchase for each type of item will be enough for me.

Note that the purchase data is actually the sum of the purchase times, since I think I was trying to compute "average time of purchase" for each item. This may have unexpected results if a player buys multiples of the same item...
Sounds like a plan for the player data endpoint. Are you planning to implement the new endpoint yourself? I can probably do it, but might be a bit of a delay before I can get started

I need the purchase data mainly for "interesting" items (bkb, hex, scepter, pipe, etc), so usually these are bought only once (rip selling bkb days), so should be fine.
I can look at the code and see how comfortable I am with implementing it myself. Haven't seen any code yet :) If I do it myself, can I bundle in the server-side aggregation of players? I really want it...
In any case thank you for your time and help, appreciated!


Org Market

Adds a supertype column to Org which specifies if its a CI org (MetaCI can run tasks on it) or a Registered Org (an org in the org mart).
Updates the metaci.cumulusci.models.Org entity to add a bunch of attributes (some added to filter):

org ID (salesforce 15 or 18 digit org id)
org type (scratch, packaging, persistent unmanaged, persistent beta, persistent prod)
description
owner
release cycle (opt into QA releases for registered orgs only)

Added or updated the following views:

Updated org list view to have lots more details (and qs filter on type and supertype).
Added Org ID to display on org details.
Added ci_orgs and registered_orgs managers to Org that filter on supertype.
Current orgs/ API endpoint switched to only show CI Orgs.
new registered_orgs/ API endpoint with CRUD access to register new registered orgs.

The end goal is to easily get a list of orgs that should be used by CCI for QA push upgrade. Well, how's this?
http://<IP_ADDRESS>:8000/api/registered_orgs/?org_type=PRODUCTION&release_cycle=QA&repo=4

Okay, changes are wrapped up and this is good to review.

Chatted with Chris offline today and came up with this set of todos:

[ ] squash migrations
[ ] validation that CI persistent orgs have persistent org JSON
[ ] validation that CI scratch orgs have scratch org JSON
[ ] remove last_release fields
[ ] add choices to release_cycle (feature commit, master commit, beta release, production release) to categorize CI orgs too (for a self documenting system)
[ ] review where plan creation and build creation happens so that they can't run against a non-CI org.
[ ] any other code review notes chris has.

add choices to release_cycle

Can't some orgs fall into multiple parts of the cycle? Like the packaging org would be used for beta tags and release.


preloading a trusted key doesn't prevent auto-trusting https keys

rkt fetch or rkt run will trust new public keys over https automatically because the flag --trust-key-from-https is set to true by default. It is desirable for a user or OS to opt-out of the https CA trust model by placing a trusted key in the keystore manually and possibly changing some systemwide setting.
Currently, if I place a trusted key in a keystore, more keys will be added and auto-trusted as soon that key fails to verify a signature of a pulled image. This reduces the trust to the https model. Even if a service file relies on --trust-key-from-https=false to avoid https keys, it would be easy to accidentally fetch a new version of that aci in testing causing a https key to pass into the keystore and subsequently be used by that service file.
I propose that if a key already exists on disk (for a given prefix), rkt fetch and rkt run, by default, will no longer auto-trust new keys over https and will print a failure message if using the on-disk key fails. An explicit action should be required to trust new keys for that prefix via either a manual insecure flag or a rkt trust action.
If its is desirable to sometimes keep the current behavior maybe we could implement varying levels of trust policies for rkt placed in something like /etc/rkt/policy.  I could envision even stricter policies that only trust the system keystore and ignore user-loaded keys for given prefixes.
@jonboulle @philips @aaronlevy

I propose that if a key already exists on disk (for a given prefix), rkt fetch and rkt run, by default, will no longer auto-trust new keys over https and will print a failure message if using the on-disk key fails.

I think this is reasonable behaviour since the auto-trust is really a convenience for first time use. However i) there's a little magic to do around prefix matching (at what point do you stop walking up the tree?), and ii) it now makes me uneasy that it's enabled by default (since it really becomes --trust-key-from-https-if-none-exists). I almost wonder if it should only be set to true if called from a user on a TTY (cringe)...

In regards to i) Presumably, when looking for a matching key in the store you start with the most exact match and walk up the tree until root keys to find a valid key?  Or is it something like: find the most precise prefix with greater than zero keys and only check for matches there?
Either way, I think for any key in the store with a matching prefix, you would have to count that as a pre-existing key.
In regards to ii) I think the nature of the statefulness of the trusted keystore makes this flag difficult because separate runs interact with each other. The way its done now, setting --trust-key-from-https to true is always respected, but, setting false just means --don't-trust-https-keys-IFF-I-haven't-already. If we change the behavior to only auto-trust keys on first use, then its more likely that setting it false will be respected, but now its a race to the first key placed in the store for a given prefix (though in the OS case, we will always win this race) and setting true is only true if none exists, as you mentioned. So my proposal as is, solves the OS's problem, but doesn't feel quite like a complete solution to the UI
With that in mind, what do you think about this proposal:
a) Simply defaulting--trust-key-from-https=false as default. Now trusting https keys is an explicit action and so I think its ok that those end up in your trusted keystore for later uses without the flag set true. This way it is not the default action changing the keystore state, rather the explicit action.
To mitigate the loss in usability for first-time use here we could handle failure to verify an image with run/fetch and --trust-key-from-https set as false in two ways:
i) harder failure case: If there are keys in the keystore with a matching prefix, just fail to verify the sig and explain its because you have no keys that match the sig. Warn the user and say something like: please trust a valid key using rkt trust or by placing it directly in the keystore.
ii) Softer failure case: If no keys in the keystore match, print warning and ask the user to verify the fingerprint (yes/no)

Looks like most historical discussion about this UX is here: https://github.com/coreos/rkt/issues/481

Still mulling on this one a bit.
Mr @robszumski , want to throw in some UX wisdom?

Would this issue be mitigated if we downloaded and used, but didn't store keys fetched over https?

Pro: You can never introduce a key erroneously, because it would require a specific trust command.
Pro: Still have the out of box UX that is secure
Con: You add a dependency on the network, even for ACIs that originate on disk, each run.

This was a little bit hard for me to follow, is all of that correct?

@robszumski I think that is the other route to go down: mainly, stopping runs with the default --trust-keys-from-https from interfering with runs that set it false.
I think you nailed it as far as the pro and con to this approach. Anyone know if there are odd cases to be concerned about here when running an image that has no key to validate itself? I assume we just discover it (temporarily) and fail if https-trust is set to false until a valid key is in the store.
One more con I would add is that while this approach makes --trust-keys-from-https=false valid, it makes it slightly harder for the OS to own the security for the coreos.com prefix unless we ship service files for everything we distribute on that domain with the flag set (which, for now, we will do I think). Anyone writing their own service files or just fetching our software might expect to use the baked in coreos key, since its there.
All said, for shipping the kubelet as an aci, the above approach also solves the problem and preserves existing UX the best.

@dgonyeo any progress on this?

I've been busy with moving since I said I'd do this. It's on the top of my list for this week.

On Jan 18, 2016, at 13:08, Alban Crequy<EMAIL_ADDRESS>wrote:
@dgonyeo any progress on this?
―
Reply to this email directly or view it on GitHub.

Maybe next week ;)

Closed via #2033


Add new emojis including 14.0 support.

includes some from 14.0: https://emojipedia.org/emoji-14.0
Given the state of the twitter and the twemoji project (it was forked here https://github.com/jdecked/twemoji but appears to be running into copyright issues). We likely won't see support for 15.0. Sorry 🪿 and 🫎.

Note: this pushes us over 700 emojis which will change the message from:

Psst. There are over 600 emojis in total...
to
Psst. There are over 700 emojis in total...

and drive some people mad 😈


Load image using paths

Speed up the loading of linkLibraries when building the SwiftASTContext by inserting the path list into the target, and having the dlopen helper function iterate over the paths passed to it.

@swift-ci please test


README - Add video demo of local UI in action

Help demonstrate the value of the repo with a short video recording of the bee-ui running locally.

Can we close as resolved? The gif does a great job.
We can add a "To do" for any bee-ui tickets to review the readme gif and the stills as needed.


MLB-1740: Fix Circle CI Pipeline to work with sdk 35 (Android 15)

📲 What
Fix CircleCI Pipeline to work with SDK 35(ANDROID 15
🤔 Why
CircleCI pipeline broke after using an Android Image that has SDK 35
🛠 How

Make some changes in CircleCI configuration to make it use JVM 17 on the build
updated some dependencies
fix tests

💖 nicely done!

Thanks for the help!


useGlobalFilter, filtered rows dont take care subRows

Describe the bug
When I filtered a row the subrows is empty and the subrows dont render.
To Reproduce
Go on the codesanbox react-table codesandbox
Choose a statut , that represent a "age" in column age in a subrow.
The parent has a summary of all age of children.
Expected behavior
The filtered good row with the filtered subrow.
Codesandbox!
react-table codesandbox to reproduce the issue.
Screenshots
If applicable, add screenshots to help explain your problem.

Browser [ chrome, safari]
Version lastest

SubRows are filtered out as well. If you need a more custom approach to how global filtering works, then I would suggest extending or replacing the useGlobalFilter hook with your own version for now.


Apply last example_ynh

Solution

Apply last example_ynh
Fix #5

PR Status

[ ] Code finished and ready to be reviewed/tested
[ ] The fix/enhancement were manually tested (if applicable)

Automatic tests
Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

!testme


Cannot read property 'spacing' of undefined  at styles

I used a material component with styles such mentioned in all the existant components.

[x] This is not a v0.x issue.
[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior 🤔

The component will be displayed successfully.
Current Behavior 😯

I got an error with theme style in the compoent.
The error is:
Cannot read property 'spacing' of undefined
    at styles (button.jsx:9)

Steps to Reproduce 🕹

Link:

https://codesandbox.io/s/1vy69y4jpq

Context 🔦

Your Environment 🌎

Tech
Version

Material-UI
v3.6.1

React
16.18.1

Browser
chrome 71.0.3578.98 (64bit)

@slim-hmidi It's the other way around:
-theme.unit.spacing
+theme.spacing.unit

We are changing the API in v4: https://next.material-ui.com/customization/themes/#spacing.


Add react types

Otherwise linter will throw this error: Cannot find module 'react/jsx-runtime' or its corresponding type declarations
I haven't seen this affecting pnpm dev but the error shows up in text editor (by the virtue of LSP I suppose)

Hello, @qubbit! Thanks for the interaction.
Just to enrich the debug, could you please specify the process to get this error? As well as your env info, node version, npm/yarn?

This is an pnpm change to not hoisted @types by default in v7.

Thanks, @qubbit!


specify command line args and system properties in Run configuration

Eeeek: currently there is no way to even pass a command line argument to a Ceylon program!

Thanks @bjansen, but I would love to be able to set JVM system properties too...

done!

Excellent, thanks :)


Broken TOS links on the swagger/openapi pages

Describe the bug
The TOS links are about:blank on the api page https://dockstore.org/api/static/swagger-ui/index.html#. The link is also nonexistant on the swagger side of the API.
To Reproduce
Steps to reproduce the behavior:

Go to https://dockstore.org/api/static/swagger-ui/index.html#
Click on the terms of service link.

Expected behavior
Should have a link to the most recent TOS, much like the footer in the UI pages.
Desktop (please complete the following information):
Webservice - 1.10.2
UI - 2.7.4
Compose Setup - 1.1
Deploy - 1.10.1
┆Issue is synchronized with this Jira Story
┆Issue Number: DOCK-1749
┆Sprint: Backlog
┆Issue Type: Story

Well
https://github.com/dockstore/dockstore/blob/dockstore-1.10.0-alpha.2/dockstore-webservice/src/main/resources/swagger.yaml#L10
https://github.com/dockstore/dockstore/blob/dockstore-1.10.0-alpha.2/dockstore-webservice/src/main/resources/openapi3/openapi.yaml#L1794


Implement  component This component displays how many votes a candidate has received.

The puzzle 1-db2b4d14 from #1 has to be resolved:
https://github.com/codeforthailand/election-live/blob/82cfcc413f4b85562d579e63e57093743a75bc07/src/components/CandidateStatsRow.js#L4-L5
The puzzle was created by Thai Pangsakulyanont on 17-Mar-19.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

(From InVision)

This one is low priority na

okie I see

@dodadoa are you working on this one?

not anymore

The puzzle 1-db2b4d14 has disappeared from the source code, that's why I closed this issue.


Render HTML file from src

Hi, when I try to render Iframe with HTML file in src director, it's renders iframe tag with my whole application.
it doesn't matter how I provide the path - src={'./test.html'} works exactly the same.
External links like url="http://www.youtube.com/embed/xDMP3i36naA" works fine

Iframes doesn't allow relative urls, so you have to provide an absolute url.


Extended theming (and Swift 4 compatibility)

In addition to a minor Swift 4 compatibility tweak, I added a couple of backwards-compatible customisation options that I needed in my project and hopefully will help others as well:

user customisable forceNoFiltering option
detailTextLabel can now be set to a different color  than the titleLabel (if such an option is given; otherwise, the titleLabel's color is used, just like before)
user customisable tableView border width (if no custom setting is given, the previous default is used instead)

Hey there !
Thanks for the update!
I wanted to do the same thing for the forceNoFiltering and saw your MR.
It's been officially merged but I can't see the usage of this new parameter on the documentation page. I tried to use it as it is but it's not working in 1.2.0, any ideas please ?
Here's my code
mySearchTextField.forceNoFiltering = true
Here's the error
Value of type 'SearchTextField' has no member 'forceNoFiltering'
Thank you very mutch guys !

@Lecyp you'll find it in the last 1.2.1 version. Thanks!


#286 Renamed link-rest-swagger module to link-rest-swagger-tests. Refactored codegen and mustache templates. Added constraints for POST and PUT methods.

It was implemented in scope of #324


[9.x] Support an array of models as input for destroy method

Currently, if we pass an array of models into the destroy method it either ignores (for Mysql driver) or errors (Postgres or SqlServer) with this PR the models get retrieved and delete. https://github.com/laravel/framework/pull/45904#issuecomment-1412860121

But someone may complain that their app is broken because the models are now really deleted.

This implementation mimics when we pass an eloquent collection to the destroy, another way was to only loop through the array and call the delete method on all the instances. So that the select query does not get run redundantly and the passed models exist property gets updated.

It also adds back the removed tests during a recent revert.

Honestly changing my mind on this.


Felix/test native ts

Pull Request Test Coverage Report for Build 8206

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 29.498%

Totals

Change from base Build 8202:
0.0%

Covered Lines:
573

Relevant Lines:
1742

💛  - Coveralls


ibm-quantum-challenge-2021

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

Sorry for the delay. Thank you very much for your submission!


Use a tool to help keep up to date with CRA

Suggestion is to use https://github.com/wei/pull but I haven't done much research into if that's the best tool

Done by installing https://wei.github.io/pull/ github app 🎉


[DRAFT] testing upgrade to 75-preview1

Description
Why
What is the motivation for this change? Add a few sentences describing the context and overall goals of the pull request's commits.
Resolves [Add Relevant Issue Here]
What
What changes were made to the codebase to solve the bug, add the functionality, etc. that you specified above.
Screenshots
Add any relevant screen captures here from before or after your changes.
Microsoft Reviewers: Open in CodeFlow

Flyout Errors


 I'm getting the following error:
Error detected while processing function spelunker#toggle[1]..spelunker#toggle#toggle[5]..spelunker#matches#delete_matches:
line    5:
E735: Can only compare Dictionary with Dictionary
E15: Invalid expression: l:delete_match_id > 0

Hi, @sQVe .
I'm sorry, this is a bug that was added when another bug was fixed.
The corresponding bug was fixed in b6c797a and abebcf9.
Please update spelunker.vim.

Works as expected now @kamykn. Thank you for the quick fix. :pray:


cudacanvas.im_show throws errors

I'm using cudacanvas to display images directly from GPU memory in a Python application. However, when I try to display an image using cudacanvas.im_show, I encounter one of two errors:
cudaGraphicsGLRegisterImage failed: OS call failed or operation not supported on this OS
or
cudaGraphicsMapResources failed: invalid resource handle
Details of My Setup:
Operating System: Windows 10
Python Version: 3.9
CUDA Version: 12.1
GPU: NVIDIA GeForce GTX 1080 Ti
cudacanvas Version: 1.0.1
Pytorch Version: 2.2.2+cu121
Driver Version: Nvidia 566.14
I used the installation code as:
pip install cudacanvas==1.0.1.post222121 --force-reinstall
I also have cupy installed. I am not sure whether it is a problem.
The code i used is:
import torch
import cudacanvas
while True:
noise_image = torch.rand((4, 500, 500), device="cuda")
cudacanvas.im_show(noise_image)
What I've Tried:
Confirmed that CUDA is working for other libraries (e.g., PyTorch and CuPy).
Checked that the NVIDIA driver is up to date.
Ensured that the cudacanvas installation was successful.
Any help would be greatly appreciated! Thank you in advance.

Not sure to be honest, that's usually when it doesn't have access to the rendering resources, you are not by any chance running it on a remote machine, are you?
if not, can you try running this code and see if this works, cudacanvas got gl dependencies which is covered by glfw, meaning if this code doesn't work, the window creation is probably failing before getting to the cuda related stuff
import glfw

def main():
    # Initialize the library
    if not glfw.init():
        return
    # Create a windowed mode window and its OpenGL context
    window = glfw.create_window(640, 480, "Hello World", None, None)
    if not window:
        glfw.terminate()
        return

    # Make the window's context current
    glfw.make_context_current(window)

    # Loop until the user closes the window
    while not glfw.window_should_close(window):
        # Render here, e.g. using pyOpenGL

        # Swap front and back buffers
        glfw.swap_buffers(window)

        # Poll for and process events
        glfw.poll_events()

    glfw.terminate()

if __name__ == "__main__":
    main()

Hi
Thanks for the reply.
I am not running this on a remote machine.
The code you have provided works nicely and creates a small black window.
Do you have any ideas?


Adding api annotations to graph and keyvault

Runtime changes detected. pull request created. CI running:

Oops? I haven't converted the annotations.


(childlock): An error occured during getting state!

Hi,
I have some troubles with childlock and did not find a proper solution.
[8/13/2021, 10:50:59] [FritzPlatform] Eufy: Setup accessory...
[8/13/2021, 10:50:59] [FritzPlatform] Eufy (childlock): Adding Switch service
[8/13/2021, 10:51:02] [FritzPlatform] Eufy (childlock): An error occured during getting state!
[8/13/2021, 10:51:02] [FritzPlatform] Eufy (childlock): service with id urn:X_AVM-DE_HostFilter-com:serviceId:X_AVM-DE_HostFilter1 not known
[8/13/2021, 10:51:17] [FritzPlatform] Eufy (childlock): An error occured during getting state!
[8/13/2021, 10:51:17] [FritzPlatform] Eufy (childlock): service with id urn:X_AVM-DE_HostFilter-com:serviceId:X_AVM-DE_HostFilter1 not known
Hopefully you can have a quick look at this.
Many thanks.

@mol7os
it seems that your fritzbox doesnt support it, which model do you have?
@roschiraf
which fritzbox model?

7362SL in my case


Go 1.18 support

Getting the following error after update to 1.18:
("Unsupported Go version. Supported versions are: 1.15, 1.16, 1.17") (no value) used as value...

Don't think 1.18 is fundamentally different than 1.17 so we can just add the version in? Although that "no value" doesn't look good

Go 1.18 has difference on module function registration which sonic use to register JIT func address to be identified by Golang runtime.

ah I see. is this development currently underway? I can go take a look but looks to be out of my league :P I just use it in my own project and I'm keen to pivot to generics hence asking for 1.18

Here https://github.com/bytedance/sonic/tree/feat/go118


Shouldn't shown and hidden callbacks be a per-toastr setting?

I use toastr's all over a large project I am working on.  In most cases, I need to do some action after the toastr is shown or hidden, to provide the asynchronous behavior I need to achieve (i.e. SHOW the toastr, then DO SOMETHING).  In every case I can find the action is linked to the specific toastr I am displaying, and should NOT be a global option.  So to avoid other issues on the page/view, I have to setup every toastr onShown or onHidden function this way:
toastr.options.onShown = function(){
    toastr.options.onShown = null;
    // DO SOME STUFF HERE
};
toastr.success('Yay, you did it!');

Shouldn't there be an option to provide an onShown within each toastr instance, so that it is not a global setting for all toastr's?  Or maybe I'm missing the whole point (quite possible)?

Do we have a per toast callback yet?

Could we just send the affected toast as an argument?

Was it addressed?

Honestly I don't remember - it was over 5 years ago...  I think so.

Well, anyway just an idea you can add this to the global options and after calling the toastr be called revert the option back to default.


Nested stateless components do not hot reload

Provide a minimal code snippet / rnplay example that reproduces the bug.

import React, { Component } from 'react';
import {
  AppRegistry,
  View,
  Text
} from 'react-native';

const ThisWillNotHotReload = () => {
  return (
    <Text>If change this text, it will not hot reload.</Text>
  )
}

const BugTest = () => {
  return (
    <View style={{
      flex: 1,
      justifyContent: 'center',
      alignItems: 'center'
    }}>
      <ThisWillNotHotReload />
    </View>
  )
}

AppRegistry.registerComponent('BugTest', () => BugTest);

Provide screenshots where appropriate

Stateless components:

Same but with a class:

What's the version of React Native you're using?

0.28.0

Does this occur on iOS, Android or both?

both

Are you using Mac, Linux or Windows?

Mac

cc @martinbigio

Have same issue

React Native version: 0.29.0
iOS
Mac

I think it should work for components placed in another file.
Maybe AppRegistry.registerComponent('BugTest', () => BugTest); is the problem.

React Native 0.31.0
Android
Linux

I don't even need to nest the components.

components/App/index.android.js

import React from 'react';
import {
  Text,
  View
} from 'react-native';

const App = () => (
  <View>
    <Text>
      Welcome to React Native!
    </Text>
  </View>
);

export default App;

index.android.js

import { AppRegistry } from 'react-native';
import App from './src/components/App';

AppRegistry.registerComponent('ReactNativeStarter', () => App);

I think the trick is to have at least one ES6 component. Then it should work.

@steida could you elaborate you comment?

https://github.com/este/este/blob/master/src/native/main.js#L37

@steida thanks. I tried but it doesn't work, i'm using react native ver 31.0.

It works in Este, so get an inspiration from it.

Same issue on 0.33, stateless functional component doesn't hot reload, works with ES6 class syntax.

React Native version: 0.33.0
iOS
Mac

This still happens for me too. in 0.34.1

Any fix on the horizon? Been using hot reloadable stateless components in React vanilla for some time now, and wouldn't want to switch back to stateful components if there is no actual need.

Same issue on 0.35.0, iOS simulator and device, Mac.

Still an issue. 0.37.0 with iOS simulator on mac.

+1 under  v0.37

+1 on 0.40

+1

Boomp! +1 on v0.40

Will this issue be resolved anytime in the near future?

+1! still existing on 0.44.0

If you're still running into this, the best approach right now would be to send a PR with a fix. Please refrain from adding metoo comments so that we can keep the discussion focused on a fix.

Try my babel plugin https://github.com/bvic23/babel-plugin-functional-hmr until the issue is fixed.

This has been fixed on master and should get into 0.61. https://github.com/facebook/react-native/issues/18899#issuecomment-506881769
If you have more cases that don't work please post reproducing examples in https://github.com/facebook/react-native/issues/18899.

(The only caveat is that for Fast Refresh to work, you'll need to move your root component to a separate file)


Fixing the colours for sites and changing the inlets visualisation

[DRAFT]
This PR updates the inlet values mentioned in the map to the outlined button view.
It also deals with giving a fixed set of colours to the lines in the graph and to the sites highlighted on the map.

Understanding the implementation of the shuffled colours is a bit tough. need help understanding that. @gareth-j

I was thinking to keep the markers on the map to be of the same colour as they won't correspond to the lines in plot if we don't want them to be random from an array of camp. Something like below, I felt it projecting a standardise colour scheme.


AT-14: Obtain the location of a searched indoor point of interest

Test Case ID: AT-14
User Story: CC-25 (#25)
As a user, I want to be able to search for an indoor location so that I can determine its position on the floor map.
Acceptance Criteria
Given that the user is viewing the outdoor map or a Concordia building’s indoor floor map,
The user should be able to search for an available indoor location and see it highlighted on the indoor floor map.

Accepted


MAINT: add f2py-generated scipy.integrate files to .gitignore

Thanks Ralf

+1, I was seeing these in my git status often but didn't find what was generating them.


Real-time Sync: Add base methods and traits

Closes #501, closes #502, closes #503, closes #504, closes #505;
~TODO: Add signer methods from #495~
TODO: Add hooks to sync service across the SDK

Closed in favor of #555.

Closed in favor of #555.


Update graph base url from graph.windows.net to graph.microsoft.com.

The current documentation says to use 'graph.windows.net', which does not work. Changing the url to graph.microsoft.com works.

@victormarante : Thanks for your contribution! The author, @davidmu1, has been notified to review your proposed change.

Hi, I believe this PR is incorrect, as the old endpoint is still in use for other things. Will leave PR open for authors input.

The engineering team confirms that the URLs should stay as is for now.
#please-close


feature: Provide a better development experience

Proposal
It's great to see such a promising, future-oriented, and active project, especially with K8sGPT's superpowers like ChatGPT.
As a Kubernetes enthusiast, I was deeply attracted to K8sGPT, so I pulled the code to my local machine to dive deeper into it.
However, I encountered some issues:

The Makefile doesn't provide compilation and testing capabilities, which is currently very simple:
❯ cat Makefile
.PHONY: docker-build
IMG ?= ghcr.io/k8sgpt-ai/k8sgpt:latest

deploy:
ifndef SECRET
        $(error SECRET environment variable is not set)
endif
        kubectl create ns k8sgpt || true
        kubectl create secret generic ai-backend-secret --from-literal=secret-key=$(SECRET) --namespace=k8sgpt || true
        kubectl apply -f container/manifests
undeploy:
        kubectl delete secret ai-backend-secret --namespace=k8sgpt
        kubectl delete -f container/manifests
        kubectl delete ns k8sgpt
docker-build:
        docker buildx build --build-arg=VERSION="$$(git describe --tags --abbrev=0)" --build-arg=COMMIT="$$(git rev-parse --short HEAD)" --build-arg DATE="$$(date +%FT%TZ)" --platform="linux/amd64,linux/arm64" -t ${IMG} -f container/Dockerfile . --push

The handling of the binary after compilation is not very friendly, even though the [contributing document](https://github.com/k8sgpt-ai/k8sgpt/blob/main/CONTRIBUTING.md) tells me: Building the binary is as simple as running go build . in the root of the repository.

Suggestions
As my first step in contributing to K8sGPT, I would like to hear everyone's suggestions for any good features and proposals.

Hey thanks for reaching out - you're right we could provide some additional make directives. Would you like to contribute ?
go test ./...
go build .
go vet ./...

These would all be valuable to add

Great, it's the same idea with me, you can assign it to me, thank you.

Is copyright addition and verification required, even though k8sgpt is an MIT protocol?


KeyError: 'InfType' in impute.py

Hello, I am attempting to run impute.py in a conda environment with Python version 3.9.16, pandas version 1.1.4. I am encountering the following error:
023-06-27 14:22:47,023 INFO impute - main: creating pedigree ...
2023-06-27 14:22:47,106 INFO preprocess_data - create_pedigree: loaded kinship file
Traceback (most recent call last):
  File "/home/anp9168/anaconda3/envs/sniparEnv/lib/python3.9/site-packages/pandas/core/indexes/base.py", line 2895, in get_loc
    return self._engine.get_loc(casted_key)
  File "pandas/_libs/index.pyx", line 70, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/index.pyx", line 101, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/hashtable_class_helper.pxi", line 1675, in pandas._libs.hashtable.PyObjectHashTable.get_item
  File "pandas/_libs/hashtable_class_helper.pxi", line 1683, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'InfType'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/anp9168/anaconda3/envs/sniparEnv/bin/impute.py", line 432, in
    main(args)
  File "/home/anp9168/anaconda3/envs/sniparEnv/bin/impute.py", line 239, in main
    pedigree = create_pedigree(args.king, args.agesex)
  File "/home/anp9168/anaconda3/envs/sniparEnv/lib/python3.9/site-packages/snipar/imputation/preprocess_data.py", line 93, in create_pedigree
    mz_kin = kinship.loc[kinship['InfType']=='Dup/MZ']
  File "/home/anp9168/anaconda3/envs/sniparEnv/lib/python3.9/site-packages/pandas/core/frame.py", line 2906, in __getitem__
    indexer = self.columns.get_loc(key)
  File "/home/anp9168/anaconda3/envs/sniparEnv/lib/python3.9/site-packages/pandas/core/indexes/base.py", line 2897, in get_loc
    raise KeyError(key) from err
KeyError: 'InfType'

Here is the code I ran:
source activate sniparEnv
unset PYTHONPATH

impute.py -c --ibd IBD_Chr@ --bgen chr@ --out Imputed_Chr@ --king FirstDegreeKING_forImputation.kin0 --agesex FirstDegreeAgeSex_forImputation.txt

Here is a description of my inputs:
IBD_Chr@ IBD information generated using the ibd.py command-line script
chr@ phased chromosomal information.
FirstDegreeKING_forImputation.kin0
This file is derived from a KING output file.
This file was generated by a collaborator and only had values for the "ID1", "ID2", "HetHet", "IBS0", "Kinship", and "InfType" columns, so I restricted the file to just the following columns requested in the snipar documentation for the impute.py --king flag: FID1 ID1 FID2 ID2 InfType.
Both the FID1 and FID2 columns are filled with NAs
I also restricted the file to only first degree relatives (Kinship >= 0.177) to save space.
When I got the error the first time, I double-checked that the file was separated by single spaces. The error persisted. Since the original InfType column contained only 'PO' and 'FS', I replaced the InfType values of all individuals with Kinship>0.354 with 'Dup/MZ' and re-ran the code. The error is still persisting.
FirstDegreeAgeSex_forImputation.txt
Describes the age and sex of all individuals in FirstDegreeKING_forImputation.kin0 . The columns are “FID”, “IID”, “FATHER_ID”, “MOTHER_ID”, “sex”, “age”. The "FID" column contains all NAs, while the FATHER_ID column is NA unless the individual in the IID column has a PO relationship with a male who is at least 12 years older. Likewise, the MOTHER_ID column is NA unless the individual in the IID column as a PO relationship with a female who is at least 12 years older.

I think this may because your file is formatted with white space delimiter.
The king output is tab separated.
On Tue, Jun 27, 2023, 12:02 PM Annabel Perry @.***>
wrote:

Hello, I am attempting to run impute.py in a conda environment with Python
version 3.9.16, pandas version 1.1.4. I am encountering the following error:
023-06-27 14:22:47,023 INFO impute - main: creating pedigree ...
2023-06-27 14:22:47,106 INFO preprocess_data - create_pedigree: loaded kinship file
Traceback (most recent call last):
File "/home/anp9168/anaconda3/envs/sniparEnv/lib/python3.9/site-packages/pandas/core/indexes/base.py", line 2895, in get_loc
return self._engine.get_loc(casted_key)
File "pandas/_libs/index.pyx", line 70, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 101, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 1675, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 1683, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'InfType'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/anp9168/anaconda3/envs/sniparEnv/bin/impute.py", line 432, in
main(args)
File "/home/anp9168/anaconda3/envs/sniparEnv/bin/impute.py", line 239, in main
pedigree = create_pedigree(args.king, args.agesex)
File "/home/anp9168/anaconda3/envs/sniparEnv/lib/python3.9/site-packages/snipar/imputation/preprocess_data.py", line 93, in create_pedigree
mz_kin = kinship.loc[kinship['InfType']=='Dup/MZ']
File "/home/anp9168/anaconda3/envs/sniparEnv/lib/python3.9/site-packages/pandas/core/frame.py", line 2906, in getitem
indexer = self.columns.get_loc(key)
File "/home/anp9168/anaconda3/envs/sniparEnv/lib/python3.9/site-packages/pandas/core/indexes/base.py", line 2897, in get_loc
raise KeyError(key) from err
KeyError: 'InfType'
Here is the code I ran:
source activate sniparEnv
unset PYTHONPATH
impute.py -c --ibd IBD_Chr@ --bgen chr@ --out Imputed_Chr@ --king FirstDegreeKING_forImputation.kin0 --agesex FirstDegreeAgeSex_forImputation.txt
Here is a description of my inputs:
IBD_Chr@ IBD information generated using the ibd.py command-line script
chr@ phased chromosomal information.
FirstDegreeKING_forImputation.kin0
This file is derived from a KING output file.
This file was generated by a collaborator and only had values for the
"ID1", "ID2", "HetHet", "IBS0", "Kinship", and "InfType" columns, so I
restricted the file to just the following columns requested in the snipar
documentation https://snipar.readthedocs.io/en/latest/scripts.html#id2
for the impute.py --king flag: FID1 ID1 FID2 ID2 InfType.
Both the FID1 and FID2 columns are filled with NAs
I also restricted the file to only first degree relatives (Kinship >=
0.177) to save space.
When I got the error the first time, I double-checked that the file was
separated by single spaces. The error persisted. Since the original InfType
column contained only 'PO' and 'FS', I replaced the InfType values of all
individuals with Kinship>0.354 with 'Dup/MZ' and re-ran the code. The error
is still persisting.
FirstDegreeAgeSex_forImputation.txt
Describes the age and sex of all individuals in
FirstDegreeKING_forImputation.kin0 . The columns are “FID”, “IID”,
“FATHER_ID”, “MOTHER_ID”, “sex”, “age”. The "FID" column contains all NAs,
while the FATHER_ID column is NA unless the individual in the IID column
has a PO relationship with a male who is at least 12 years older. Likewise,
the MOTHER_ID column is NA unless the individual in the IID column as a PO
relationship with a female who is at least 12 years older.
—
Reply to this email directly, view it on GitHub
https://github.com/AlexTISYoung/snipar/issues/28, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQQS6MNTRNCUJ5LN5DI5HDXNMU4JANCNFSM6AAAAAAZWARUOE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks! Switching the files to tab-separation worked


Corp: Add dark core notification sound when spawned

I believe this goes against Jagex's statement on third party clients, specifically Adds additional visual or audio indicators of a boss mechanic.
https://secure.runescape.com/m=news/another-message-about-unofficial-clients?oldschool=1

I believe this goes against Jagex's statement on third party clients, specifically Adds additional visual or audio indicators of a boss mechanic.
https://secure.runescape.com/m=news/another-message-about-unofficial-clients?oldschool=1

I see where you're coming from, but if that's the case, why is the
 allowed then? It adds a visual red square over the dark core. Not to mention the many other audio notifiers in existing plugins

Doesn't the core despawn if you teleport out?

Doesn't the core despawn if you teleport out?

Not from what I've experienced. I've been doing 170~ kills on my ironman and when I spawn the core during my specing period it will still be there when I teleport out and back into the cave.

Okay, this seems fine then. Overall I think this is okay since we know the NPC highlight is okay for the core, I don't see why a spawn notification wouldn't either.

I'm pretty sure it disappears as corp dies without dropping ashes

I'm pretty sure it disappears as corp dies without dropping ashes

Then wouldn't that skip the isdead() check in that despawn branch, and the plugin wouldn't send a notification the next time the core spawned?

Then wouldn't that skip the isdead() check in that despawn branch, and the plugin wouldn't send a notification the next time the core spawned?

Then wouldn't that skip the isdead() check in that despawn branch, and the plugin wouldn't send a notification the next time the core spawned?

You could just reset it when the corp dies too I think.


Configurable zeeq client timeout

Is your feature request related to a problem? Please describe.
Processes list show empty results although there are processes. It turns out that the timeout value is hardcoded to 5000 ms, while the actual query took 18 seconds in my environment.
Describe the solution you'd like
Make the timeout value configurable somehow. I have hazelcast, zeebe, postgresql and zeeq all installed independently. I managed to configure zeebe-play to connect to them (except zeeq there's no option for remote configuration). However, it seems the default limit of 5000 ms is not enough for this setup, it would work with everything embedded, and with short list of processes.
Describe alternatives you've considered
N/A
Additional context
N/A

@HMubaireek thank you for raising this. :+1:
How many processes did you deploy?
If the query takes 18 seconds then it's a lot. Even if you could configure the timeout, you would need to wait 18 seconds until the processes are loaded. It doesn't sound like a great UX.
How do you use Play?
Can you clear your state after a while?


v0.10.0 Clock format: chrono format error: no '%' at start of chrono-specs

Before the update to v0.10.0 this format for the clock used to work:
    "format": "  {:%I:%M %p}",

However, now with v0.10.0 it appears that the  within the {: ... } is something that doesn't work anymore.
Is there a different way to specify such a format now? Or is this a bug? Thank you!

I think it's the space at the start, I ran into a similar issue, but it turns out removing it and adding a margin fixed it.

https://github.com/Alexays/Waybar/wiki/Module:-Clock, It maybe help you.

I also had this issue. I think something changed in version 0.10.0 so that now you cannot have the {: part of the format not starting with % (as the error says).
Basically I think this might work, although I do think it's a pretty weird solution:
 "format": "  {:%I:%M %p}",

No idea why did this suddenly change in version 0.10.0.

In waybar 0.9.24 I was able to have "format": "{: %d\n %m\n%Y}", which centred the text to the centre. I can no longer do this in 0.10.0. Is there an alternative way to do this?

For me changing format = "🕑 {:%R 📅 %d/%m}"  to format = "{:🕑 %R 📅 %d/%m}"  worked

Is this also not the same as #3021 ?

Is this also not the same as #3021 ?

It appears to be. I did a quick search on the exact error message before I created this issue, but nothing showed up back at the time -- probably because the author of the other issue did not include it in their initial description.
Going to close this one in favor of the other issue.


user/group not activating changes

Tested with 0.3.0-beta2 from the release page on linux:
Using the samples/group.hcl and samples/user.hcl, no user or group are created.
root/user.group.group:
 Messages:
 Has Changes: no
 Changes: No changes

Summary: 0 errors, 0 changes

The problem is that 0.3.0-beta2 was a mac osx cross compile. A linux build, linux cross compile, or werker cross compile work.


How can I shut down my node app instantly if mysql is offline?

For example, I am using this to detect when the mysql server is offline.
For my game, I NEED MYSQL running and if it doesn't, my app needs to shut down.
function handleDisconnect() {
  setTimeout(handleDisconnect, 2000);
  db.on('error', function(err) {
    console.log('db error', err);
  //shut down server
  });
}
handleDisconnect();

But, I don't want to be using setTimeout, I was wondering if it's possible to check it instantly?

afaik just do the db.on when the error event is emitted it will call the listener

Adri, can u give an example please? Thanks

just something simple like
 db.on('error', process.exit.bind(process, -1));

Oh, hey sideorares,
Yeah, I tried that, but I'm getting:
http://i.gyazo.com/293da526453f97ec0a0318c9240f3aec.png
I'm using
function handleDisconnect() {
  setTimeout(handleDisconnect, 2000);
  	console.log('checking for errors');
   db.on('error', process.exit.bind(process, -1));

}
handleDisconnect();

Any idea?

that's because you add event listener every 2 seconds. Why do you need that? As @AdriVanHoudt suggested, do this only once as simple db.on('error', yourCleanupAndExitHandler);

Oh, didn't know the .on method acts as an event listener.
I do it every 2 seconds because I need to somehow check dynamically if the DB is down.
When someone connects to the WS server they can stay idle in a game not send any commands, but I need something to check when mysql goes down to disconnect them.

You just add a handler every 2 seconds, and not checking for server state with db.on('error', handler)
The 'error' event is fired immediately when there is unexpected end of tcp stream. This is not 100% reliable and time when reported differ based on various settings of your tcp stack
If you need more control, try to issue simple query ( or ping() command ) every 2 seconds and treat "took more than a second to respond" as error

Oh i know the issue.. I'm using a pool.. Hmm

@sideorares, I think this solution is best for me cause I'm using pooling.
setInterval(function(){

db.query('SELECT 1', function(err) {
		if(err){
			process.exit(1);
			//We have a big issue here boys
		}
});

}, 2000);

My problem is, is this bad?

You want to exit even if one single connection fail? Why are you using pool in that case?

Well, I'm only wanting to check if the MYSQL server is offline :P So that works as if I shut down the server (mysql) and wait 2 seconds, it will exit node which is what I want. I just don't know if the 2 second interval will have performance issues ~


php: add libxcrypt to nativeBuildInputs

Since #181764, we are not able to build older version of PHP (<= 7.0).
This PR add libxcrypt to the nativeBuildInputs of PHP.
Description of changes

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

[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build php80 php81

Ignore this PR, going to do that in fossar/nix-phps.


Remove aqt einsum for dropping

i) Remove AQTEinsum for 1st step where inputs are masked with dispatch mask. This will lead to failure in loading weights that are pre-quantized without capacity_factor > 0.
which should not be the case. As capacity factor is only forward pass, we should be able to load weights.
ii) Remove AQTEinsum from last step where C axis is contracted, that is element wise op and AQT does not support the same.
iii) Pass top_k weights to generate_masks instead of softmax_prob.
The correctness tests done -
when given capacity_factor = 2 (which is almost dropless). The rouge scores for 8x22B are
{'rouge1': 44.5123, 'rouge2': 24.5477, 'rougeL': 31.3922, 'rougeLsum': 42.0639, 'gen_len': 1269606, 'gen_num': 1200}
as compared to capacity_factor = -1
{'rouge1': 44.1463, 'rouge2': 24.2765, 'rougeL': 31.2481, 'rougeLsum': 41.6197, 'gen_len': 1229222, 'gen_num': 1200} which makes sense.
tested 8x22B with capacity factor 1.5
{'rouge1': 43.9813, 'rouge2': 24.1528, 'rougeL': 30.8425, 'rougeLsum': 41.5053, 'gen_len': 1312280, 'gen_num': 1200}

Removing "pull ready" to avoid merging.


train the cityscape dataset with RCNNL1Loss=nan?

when training the dataset in stage TRAIN RCNN WITH RPN INIT AND DETECTION (after COMBINE RPN2 WITH RCNN1), the RCNNL1Loss is always nan, i try several times, and i set the base_lr really low, it is always nan,
environment is  p40/8 gpu

@iFighting Could you provide your training configuration?

i use your default config, but i use 8 gpus
other base_lr i use is 0.004, 0.002,0.001,0.0005,  but all get nan

How was your training, is it smooth from step 1 to step 3?

i found the problem, the rpn data is not matched with the mask data
solved, thanks @Zehaos

@iFighting  Hi !
I am training with my own data and encounter the same problem.
RCNNL1 loss become nan at the first iteration in maskrcnn. and mask loss is very low.
ex:RCNNLogLoss=2.330018,   RCNNL1Loss=nan, MaskACC=0.999521,       MaskLogLoss=0.000710
Can you provide more detail about "rpn data is not matched with the mask data" ?
Thank you very much !

Sorry I found that the order of bounding box is actually [xmin, ymin, xmax, ymax]. Silly mistake :(

@tkuanlun350 Have you solved the problem?


#65 added version check for topics api

added simple version check, from debezium 1.2 it support topics end point

Thx, @SiddiqueAhmad! Added an emoji to the commit message and applied.

sorry I forgot to add emoji


Honour the schemaName setting for the snapshot table

The schemaName setting in the configuration is currently being ignored for the snapshot table. This causes problems when using a schema other than public with Postgres (ERROR: relation "snapshot" does not exist).

Thanks for noticing and your contribution! I will merge and release ASAP


[client, node] Move payment profile creation to node and management to external service

Needed for Graph integration (and all other paid users).
Will warrant a speccing/brainstorming call to think through what data we need to push through the API and what the interface should look like.

Let's say Tuesday morning after the kt call? @ArjunBhuptani @hthillman

Duplicate of: https://github.com/ConnextProject/indra/issues/802


Characters are visible instead of .png(../media/kb/flow-create-as-new.png)

https://docs.microsoft.com/ja-jp/yammer/integrate-yammer-with-other-apps/knowledge-base-community-flow-qna-maker

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 32446a8e-a16c-8017-290e-d414e6d9a242
Version Independent ID: e4f45a16-0deb-2eb4-eca2-31bec804dc51
Content: Create a knowledge-based commnity in Yammer by using QnA Maker and Flow
Content Source: yammer/integrate-yammer-with-other-apps/knowledge-base-community-flow-qna-maker.md
Service: yammer
GitHub Login: @IrenePasternack
Microsoft Alias: v-irpast

@OfficeGlobal

@hyoshioka0128 - From our understanding the issue has been resolved based on issue #346. If you feel it hasn't been resolved please re-open this issue.
Thank you for your contribution to make the docs better! Much appreciated!

@officedocsbot close


other: Add Dashboard sample data

Summary of Changes
Add Dashboard sample data
Tests
Tried out python3 example/scripts/sample_data_loader.py
Documentation
docstring
CheckList
Make sure you have checked all steps below to ensure a timely review.

[x] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[x] PR includes a summary of changes.
[x] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[x] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain docstrings that explain what it does

[x] PR passes make test

Codecov Report

Merging #292 into master will decrease coverage by 0.60%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #292      +/-   ##
==========================================
- Coverage   73.67%   73.06%   -0.61%
==========================================
  Files         101      102       +1
  Lines        4288     4307      +19
  Branches      399      382      -17
==========================================
- Hits         3159     3147      -12
- Misses       1029     1052      +23
- Partials      100      108       +8

Impacted Files
Coverage Δ

databuilder/transformer/generic_transformer.py
0.00% <0.00%> (ø)

databuilder/loader/file_system_neo4j_csv_loader.py
83.33% <0.00%> (-5.96%)
:arrow_down:

...ilder/transformer/regex_str_replace_transformer.py
92.85% <0.00%> (-3.58%)
:arrow_down:

...tabuilder/extractor/postgres_metadata_extractor.py
93.54% <0.00%> (-1.62%)
:arrow_down:

...abuilder/extractor/snowflake_metadata_extractor.py
93.75% <0.00%> (-1.57%)
:arrow_down:

databuilder/extractor/mssql_metadata_extractor.py
94.02% <0.00%> (-1.50%)
:arrow_down:

databuilder/publisher/neo4j_csv_publisher.py
83.49% <0.00%> (-0.95%)
:arrow_down:

databuilder/task/neo4j_staleness_removal_task.py
84.16% <0.00%> (-0.84%)
:arrow_down:

Continue to review full report at Codecov.

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

looks good! do you have a screenshoot after running the databuilder csv job on open source? If so, would be good to update the screenshot in https://github.com/lyft/amundsen#user-interface

Yeah, good suggestion. However, FE has not yet released Dashboard, yet. We can upload Dashboard screenshot once FE releases it.

cc @ttannis

Coll! cc @danwom as well since I know he was interested in how we improve our sample data.