ls output formatting

Currently running ls through Lind gives us something like
.
..
bin
dev
lib
dc.nexe
forkexecarg.nexe
forkexecls.nexe
forkexecv.nexe
hello.nexe
Persisting metadata: ...
Done persisting metadata.
Terminated

The formatting runs into even more problems when additional flags are introduced. I think some of the flags may be due to unimplemented syscalls. OTOH the general formatting (rogue nonsense characters and extra newlines) is almost certainly due to the weird stdout buffering discussed here.

The mega-merge uncovered an old commit that got rid of the nonsense-chars which is most of the battle here. There still seems to be newlines after each item in ls which doesn't happen natively.
I originally thought this was because of NaCl's stdout buffering problem, but it seems that write is actually receiving this whole block of text separated by newlines at one time, so that's not it. At this point it seems that getdents is actually inserting these extra newlines. Most likely on the NaCl-side in the NaClStreamDirents function.
This would be a good first issue for someone wanting to work on the NaCl side of lind.

On closer examination, this does not actually appear to be a bug with Lind, or with anything at all for that matter.
I had a version of ls that I wrote myself for a class that worked without issue (no newlines printed), and after that I tested coreutils dir, which also did not separate entries with newlines.
I read through the ls source code and managed to track down the issue (or at least what I think the issue is) to the fact that ls only bothers formatting multiple entries per line if it's outputting to a terminal. You can see this behavior by seeing that ls | cat has only one entry per line even when ls has many. Within Lind, the environment does not look like a terminal to the called process (because it is not, and this is not behavior we will want to change likely), and thus any calls to tcgetgrp if that function is even implemented in the first place will fail.
For those that want standard terminal ls style within Lind, they can specify the -x flag, and also specifying -w and the number of columns they want the output to format to helps, as the default is 80, which might not look the best on every size of terminal.
This issue is being closed as it was solved with the mega merge and any further differences are not bugs.


Integrate Azure Active Directory into Github Joiners

User Need
As a GitHub Developer
I want to self service my onboarding onto GitHub
so that I can quickly start contributing to projects
This ticket is to integrate Azure Active Directory into the current github-joiners-app (https://github.com/ministryofjustice/operations-engineering-landing-page-poc)
Value
To secure the application and only allow users to access invitations after they have proven they have access to a pre-approved email address.
Functional Requirements:

Azure Active Directory Integrated
Only users with access to pre-approved emails can send an invitation to join an organisation

Non-Functional Requirements:

Secure
Intuitive

Acceptance Criteria:

[x] Only users with access to pre-approved emails can send an invitation to join an organisation

Notes:

A lot of this work has been completed as part of https://github.com/ministryofjustice/operations-engineering/issues/3598
Azure App Registration - this has been approved by an admin, making it functional
Auth0 App

👀 Update

App now live in the testing environment at https://operations-engineering-landing-page-poc.cloud-platform.service.justice.gov.uk
App fully integrates with Auth0 and the Azure Active Directory (AAD) - meaning only users who have access to AAD can access the submissions API to request an invitation to the test organisation
Will now close the ticket and raise further work as separate tickets


Bug: wrong until default value for chat based model

In the generation_until mode, the until argument should be the default EOS of the language model itself. However, currently it is set to fewshot_delimiter, which further defaults to \n\n, if it is not provided. This makes chat LM to very quickly terminate the response in many cases.
The problem is both present in the add-chat-template branch (below)
https://github.com/EleutherAI/lm-evaluation-harness/blob/495d50bf103d7db160a9244f16a73aa4ece46ca4/lm_eval/api/task.py#L102
and the main branch (below)
https://github.com/EleutherAI/lm-evaluation-harness/blob/main/lm_eval/api/task.py#L112

Some questions to consider.
What if model benchmarked is not a "chat model"?
There is a condition
if "until" not in self.generation_kwargs, so why chat model is scored without needed generation_kwargs provided in the first place?

Indeed, if the model is not a chat model, then it rarely knows to stop, so some until parameter is needed, such as the few shot delimiter. What I mean is that the base model and the chat model should have different default stopping criteria, because the chat model knows when to stop.
I don't quite understand what you mean by "why chat model is scored without needed generation_kwargs provided in the first place?" In my opinion, the default behavior for chat models should be not to have any until parameter, because it knows when to stop via its native EOS token, which is also respected by the generation code. By the way, it looks like the if not until: condition is actually never triggered because we overwrite the until parameter in the task initialization.


[Asset Hub] [HydraDX] Add support for token BEEFY

If you want to integrate an asset (fungible token/ NFT), you would need to provide

Name of the asset: BEEFY
Origin blockchain of the asset: Polkadot Asset Hub
Is it available on other blockchains? HydraDX
Metadata of the asset (symbol, decimals, smart contract address, on-chain metadata like assetId,...)
https://assethub-polkadot.subscan.io/assets/420?tab=holders
Logo of the token: https://www.figma.com/file/PxPvXw5woBernBu3BtwxkX/SubWallet-Project-Logo?type=design&node-id=3818-2858&mode=design&t=XnfviCbj31Iu3NF4-4
Is your asset transferable? Yes
Is your asset listed on any exchange? n/a

Account has beefy on asset hub, hydradx: 5DsjARhzdCR9dQZP8iaBWGZxM7RPKDofBvC4GTUATs1rLz9V

Resolved in https://github.com/Koniverse/SubWallet-Extension/issues/2890


[Event Request] Codeunit 10750 SII XML Creator - OnBeforeGenerateXML

We need a new event function in Codeunit 10750 "SII XML Creator", named OnBeforeGenerateXML:
LOCAL [IntegrationEvent] OnBeforeGenerateXML(LedgerEntry : Variant;VAR XMLDocOut : DotNet "System.Xml.XmlDocument";UploadType : Option;IsCreditMemoRemoval : Boolean;VAR IsHandled : Boolean;VAR Result : Boolean)
called from GenerateXML procedure, with two local variables of boolean type (IsHandled,Result):
GenerateXml(LedgerEntry : Variant;VAR XMLDocOut : DotNet "System.Xml.XmlDocument";UploadType : Option;IsCreditMemoRemoval : Boolean) : Boolean
//INIT-INSERT
OnBeforeGenerateXML(LedgerEntry,XMLDocOut,UploadType,IsCreditMemoRemoval,IsHandled,Result);
IF IsHandled THEN
EXIT(Result);
//END-INSERT
GetSIISetup;
IF NOT IsInitialized THEN
XMLDocOut := XMLDocOut.XmlDocument;
RecordRef.GETTABLE(LedgerEntry);
CASE RecordRef.NUMBER OF
DATABASE::"Cust. Ledger Entry":
BEGIN
RecordRef.SETTABLE(CustLedgerEntry);
IF UploadType = UploadTypeGlb::"Collection In Cash" THEN
EXIT(CreateCollectionInCashXml(XMLDocOut,CustLedgerEntry,UploadType));
EXIT(CreateInvoicesIssuedLedgerXml(CustLedgerEntry,XMLDocOut,UploadType,IsCreditMemoRemoval));
END;
DATABASE::"Vendor Ledger Entry":
BEGIN
RecordRef.SETTABLE(VendorLedgerEntry);
EXIT(CreateInvoicesReceivedLedgerXml(VendorLedgerEntry,XMLDocOut,UploadType,IsCreditMemoRemoval));
END;
.......
.......
.......

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


failed to create k8s 1.25.11 by kind

Describe the bug

orb 0.14.1 on intel macos
create k8s 1.25.11 by kind, failed;  while 1.21.10 is okay

the kind k8s container error message is :
start systemd-modules-load.service failed
To Reproduce
cat <<EOF | kind create cluster --image=kindest/node:v1.25.11 --kubeconfig=~/.kube/easyai-k8s-1-25-11  --config=-
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
name: easyai-k8s-1-25-11
nodes:
  - role: control-plane
    kubeadmConfigPatches:
      - |
        kind: InitConfiguration
        nodeRegistration:
          kubeletExtraArgs:
            node-labels: "ingress-ready=true"
    extraPortMappings:
      - containerPort: 80
        hostPort: 80
        protocol: TCP
      - containerPort: 443
        hostPort: 443
        protocol: TCP

EOF

kind export kubeconfig --name easyai-k8s-1-25-11 --kubeconfig ./easyai-1-25-11-kubeconfig

Expected behavior
k8s cluster should ready
Logs
No response
Screenshots and additional context (optional)
No response

Can't reproduce:
Creating cluster "easyai-k8s-1-25-11" ...
 ✓ Ensuring node image (kindest/node:v1.25.11) 🖼
 ✓ Preparing nodes 📦
 ✓ Writing configuration 📜
 ✓ Starting control-plane 🕹
 ✓ Installing CNI 🔌
 ✓ Installing StorageClass 💾
Set kubectl context to "kind-easyai-k8s-1-25-11"
You can now use your cluster with:

kubectl cluster-info --context kind-easyai-k8s-1-25-11 --kubeconfig '~/.kube/easyai-k8s-1-25-11'

Have a nice day! 👋
Set kubectl context to "kind-easyai-k8s-1-25-11"

❯ kubectl  --context kind-easyai-k8s-1-25-11 --kubeconfig '~/.kube/easyai-k8s-1-25-11' get node
NAME                               STATUS   ROLES           AGE   VERSION
easyai-k8s-1-25-11-control-plane   Ready    control-plane   60s   v1.25.11

Are you running this in a Linux machine? If so, which distro, version, and architecture? Also update to the latest version and share a diagnostic report from Help -> Collect Diagnostics.

Released in v0.15.1.

@kdrag0n
I still have the same issue with orbstack version 0.17.1 (15969).
---
apiVersion: ctlptl.dev/v1alpha1
kind: Registry
name: ctlptl-registry
port: 5005

---
apiVersion: ctlptl.dev/v1alpha1
kind: Cluster
product: kind
registry: ctlptl-registry
kubernetesVersion: v1.25.3
kindV1Alpha4Cluster:
  name: quickci-kind
  nodes:
    - image: ghcr.io/koolay/images-mirror/kindest/node:v1.25.0
      extraPortMappings:
        - containerPort: 8000
          hostPort: 8000
          protocol: TCP
        - containerPort: 80
          hostPort: 80
          protocol: TCP
        - containerPort: 443
          hostPort: 443
          protocol: TCP

$ ctlptl apply -f ./deploy/k8s/cluster.yaml
registry.ctlptl.dev/ctlptl-registry created
No kind clusters found.
Creating cluster "quickci-kind" ...
 ✓ Ensuring node image (kindest/node:v1.25.11) 🖼
 ✓ Preparing nodes 📦
 ✓ Writing configuration 📜
⠈⠱ Starting control-plane 🕹
⠈⠑ Starting control-plane 🕹
⠈⡱ Starting control-plane 🕹

log:
Queued start job for default target Graphical Interface.
[  OK  ] Created slice slice used to run Kubernetes / Kubelet.
[  OK  ] Created slice system-modprobe.slice.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[  OK  ] Set up automount Arbitrary…s File System Automount Point.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Slices.
[  OK  ] Reached target Swap.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket.
[  OK  ] Reached target Sockets.
         Mounting Kernel Debug File System...
         Mounting Kernel Trace File System...
         Starting Load Kernel Module configfs...
         Starting Load Kernel Module fuse...
         Starting Journal Service...
         Starting Load Kernel Modules...
         Starting Remount Root and Kernel File Systems...
<EMAIL_ADDRESS>Succeeded.
[  OK  ] Finished Load Kernel Module fuse.
<EMAIL_ADDRESS>Succeeded.
[  OK  ] Finished Load Kernel Module configfs.
         Mounting FUSE Control File System...
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Trace File System.
[  OK  ] Finished Remount Root and Kernel File Systems.
         Starting Create System Users...
         Starting Update UTMP about System Boot/Shutdown...
systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
systemd-modules-load.service: Failed with result 'exit-code'.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
         Starting Apply Kernel Variables...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Finished Create System Users.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Basic System.
[  OK  ] Reached target Timers.
         Starting Undo KIND mount hacks...
[  OK  ] Finished Undo KIND mount hacks.
         Starting containerd container runtime...
[  OK  ] Started containerd container runtime.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Finished Update UTMP about System Runlevel Changes.

@koolay what's the output of systemctl status systemd-modules-load.service and journalctl -u systemd-modules-load.service?

$ systemctl status systemd-modules-load.service
○ systemd-modules-load.service
     Loaded: masked (Reason: Unit systemd-modules-load.service is masked.)
     Active: inactive (dead)

$ journalctl -u systemd-modules-load.service
-- No entries --


[Bug] Portainer should attempt to create the data directory if it does not exist

Description
Note - Running portainer OUTSIDE of a container
When starting Portainer and specifying a data directory, portainer fails to start if the directory does not exist.  I would expect portainer to attempt to create the directory if does not exist and only fail if it does not exist.
Steps to reproduce the issue:
Windows Server 2016 (Although I expect this will also affect *nix systems too)

Download portainer from github releases. Unpack.
Create a parent directory called c:\ProgramData\portainer.
Run portainer --data="C:\ProgramData\portainer\data"

Console output:
PS C:\tools\portainer> .\portainer.exe --data="C:\ProgramData\portainer\data"
2017/01/01 20:45:24 open C:\ProgramData\portainer\data/portainer.db: The system cannot find the path specified.
PS C:\tools\portainer> dir c:\programdata\portainer
PS C:\tools\portainer>

If you create the directory first, everything is fine:
PS C:\tools\portainer> .\portainer.exe --data="C:\ProgramData\portainer\data"
2017/01/01 20:48:34 open C:\ProgramData\portainer\data/portainer.db: The system cannot find the path specified.
PS C:\tools\portainer> md c:\programdata\portainer\data

    Directory: C:\programdata\portainer

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----         1/1/2017   8:48 PM                data

PS C:\tools\portainer> .\portainer.exe --data="C:\ProgramData\portainer\data"
2017/01/01 20:48:41 Starting Portainer on :9000

Any other info e.g. Why do you consider this to be a bug? What did you expect to happen instead?
I consider this a bug as

Portainer is meant to be as simple to deploy as it is to use

Portainer should attempt to create the directory if it does not exist and THEN fail.  Also note the TLS directory is automatically created under data even though it didn't previously exist.
Technical details:

Portainer version: 1.11.0
Portainer Docker image tag (latest/arm/windows...): Outside of docker
Target Docker version (the host/cluster you manage): N/A
Target Swarm version (if applicable): N/A
Platform (windows/linux): Windows
Browser: Chrome

This will be added soon !


Vae infra

Introduce a new page with info about the infra used
and display existing notebooks

Now deployed at https://snoopycrimecop.github.io/idr.openmicroscopy.org/linked-environments.html for initial review

The layout seems to be dictated by the thumbnail sizes which vary. Is it possible in the first iteration to either omit the thumbnails or put them under the texts and badges, so that these do not "float/jump" from item to item ?

To discuss options next Monday during the IDR call

A couple of first-impression comments...

The heading subtitle: "IDR uses Analysis Environments provided..." is jumping the gun a bit. Page intro should be "This page provides sample analysis routines for working with the data in IDR" etc before going into details of how it is provided.
I would probably expect the "generic" IDR-wide examples to come before the study-specific examples, since they would have a wider audience?
I tried one notebook: "Access Images and metadata using omero-py". The focus in this one is actually on s3 rather than omero-py. It could do with a bit of explanation about how only a small number of IDR images are available as OME-Zarr on s3, which these are (blog post) and that more are planned. The notebook worked fine, except the Z-slider on the final image had no effect for me.

@will-moore: The initial goal is to migrate some of the content from IDR analysis. Since we now rely on public resources or resources run by EBI, the text has been adjusted.
The second part with example is the key point of the discussion. Do we want to have it here? A few options are proposed, in "gallery-idr" view is one for some notebooks.
We need a redirect in place for the next IDR release to avoid broken links.

Notebooks discussions moved to
https://github.com/IDR/idr.openmicroscopy.org/issues/144

I have been looking at this PR as a basis for adding an Analyse Data section to the IDR front page.
I would like to provide a small number of well described notebooks that lead a user from into -> more advanced.
But I am struggling to find a notebook that gives a nice intro to Python OMERO API.
E.g. https://colab.research.google.com/github/ome/omero-guide-python/ lists lots of examples, but they all ask for passwords for workshop server?
https://mybinder.org/v2/gh/ome/omero-guide-r/HEAD?filepath=notebooks/idr0021_Segmentation-noSave.ipynb is fine for R.
Something like this in Python would be great.
https://mybinder.org/v2/gh/ome/omero-guide-python/HEAD?filepath=notebooks/idr0062_prediction_zarr_public_s3.ipynb is using OME-NGFF which is nice to have somewhere, but not as a general intro since it is limited to pre-converted data.
https://colab.research.google.com/github/IDR/idr-notebooks/ also gives a big list of notebooks, making it hard for the novice user to know which one to pick.
I don't know if this section of the front page should be more like a brief omero-guide: 1) try this, 2) now try this... or if it should briefly describe the Analysis options then link to a different page?

I don't really like the idr-notebooks repository. It is a collection of notebooks. Some of related to paper, some not really useful.
I started to extract some to other repos but I had to put that work on hold

https://mybinder.org/v2/gh/ome/omero-guide-r/HEAD?filepath=notebooks/idr0021_Segmentation-noSave.ipynb is fine for R. Yes agree
This should be no difficult.
https://colab.research.google.com/github/ome/omero-guide-python/ lists lots of examples, but they all ask for passwords for workshop server?
We have a few that are not workshop specific but should certainly extend the coverage.


Provide a 'Paste mode' to allow a paste keybinding to be 'smart'.

Description of the new feature/enhancement
As part of the discussion in https://github.com/microsoft/terminal/issues/968 there was a suggestion that, while creating a selection was a good cue for enabling a smart copy mode, there was no equivalent cue for smart paste.
Implementing a paste mode may be a good addition to assist those that wish to use Ctrl+V as both a paste key and a key combination in terminal apps.
Proposed technical implementation details (optional)
My idea is frankly quite vague. Apologies if it feels unreasonable.
Perhaps the terminal could, on app activation and in the event of a clipboard addition, detect the presence of a compatible item in the clipboard and enable a paste 'mode'. This would provide a visual cue that the paste keybinding(s) would paste rather than be sent through to the terminal. Once in this mode, an opportunity to cancel the mode would be available to the user, through a UI element and/or another keybinding.

Okay, I can kinda see the use of this. one keybinding that lets the user chose between "paste", "send ^V", or "Cancel". Makes sense. However, I think it would be best served as an extension rather than built-in by default. I'll tag this as such and add to the extensions megathread.
Thanks!

It's important to note that I provided this example to make it simple to use just the Ctrl+V key combination to work as a user would expect in the correct situations. Requiring that a user press e.g. Ctrl+Shift+F7 to enter paste mode before pressing Ctrl+V does not provide value, nor does it work in the opposite situation where paste mode needs to be turned off every time a user wishes to send Ctrl+V to e.g. Vim. Having a visual cue to identify if paste mode is enabled is important, even if it is just a change to the display of the cursor (perhaps changing from a solid box to a < sign?). being able to permanently enable or disable it is also desirable.


npm

Your package is called "durationjs" and has a version, but it doesn't seem to have been published to npm: https://npmjs.com/package/durationjs
Could you publish it please? Just run npm publish in the directory.

I have published it. If you let me know your npm username, I'll add you as the owner.


add plural to Resource and GroupVersionKind

replaces #468.
closes #467
This changes kube-derive to no longer implement k8s_openapi traits.
We now instead implement kube::Resource instead so we can control the plural.
Because the trait now picks up on an override when it is generating the path_url, it is now correct in the Api urls.

One slightly awkward thing about this is that it sets up a cycle:

kube: depends on kube-derive so it can re-export it
kube-derive: depends on kube for kube::Resource

Not sure this is problematic or not. We avoided it before because the trait came from k8s_openapi, but now we would have to have a kube-traits  or something. I don't think this causes any problems though?


Prefixes introduced from OpenShift 4.5

Where:
index_name_prefixes = os.getenv("INDEX_NAME_PREFIXES", "infra-,app-,audit-")
What:
Indices in this example with cluster version 4.4.16 don't have "infra-,app-,audit-" prefix convention.
green  open   project.snow-poker-feature-aloha-potatoes-tree.a41c5e5a1-0c45-4274-a426-7bfc539c6be.2020.09.23                   k8pwmycmRkGnYWrbx2OLMw   3   1         30            0    706.3kb        353.1kb
green  open   project.aloha-cherry.b03e1dfd4-fade-4771-be54-74dd11eb619.2020.09.23                                             5aXlxOh5TYSq51En78YLbA   3   1          7            0      171kb         85.5kb

Compatibility of index name prefixes from OSD 4.4 is out of scope.


Gem assumes you're using default "admin" namespace

It won't work if you set config.default_namespace = false
Sorry, didn't notice in readme

In plan
check who it works with: models under a certain namespace

Sorry for a late answer.
You can user builder option path_prefix to redefine namespace for polymorphic_has_many. Isolated engine mechanism doesn't allow to fetch that value from activeadmin.
So your code will look some like:
config.default_namespace = :foobar in activeadmin initializer
f.polymorphic_has_many :sections, ..., path_prefix: "foobar" in admin model definition


Add functionality to close a connection

Q
A

Branch?
master

Bug fix?
yes

New feature?
yes

Deprecations?
no

Tickets
none

License
MIT

Allows to close a connection directly via the Mode instance.
This improves the testability of label print code, as the printer
and its dependencies can be replaced with mocks in unit/integration tests.
The original direct fclose() call according to the docs would prevent such uses.

@RamyTalal What do you think about this change, would it make sense to suggest that way as default in the docs?

@xelan I think it's fine to add this.

@xelan Although, I'm not entirely sure if closing the connection is something that library must do.

Thanks for the feedback, @RamyTalal. It's not strictly necessary, but makes usage of the library easier if the printer creation is decoupled from its usage (e.g. via a factory). Otherwise, the calling library or a cleanup script would need to know about the internals of  Label-Printer to close the connection properly.

Thanks for the quick merge and your feedback :+1:


Integrate terrain hill shading code

https://github.com/bdon/leaflet-terrarium is a prototype of how it can work. Still need to implement

data sources for RGB terrain, whether an API endpoint or PMTiles archives
Overzooming

This is out of scope


Bookinfo - Namespace onboarding

Modifies bookinfo configuration yaml files to support namespace onboarding

Actually, I don't think kind.sh should be added a namespace for bookinfo (a kind.sh user will end up with a bookinfo namespace that they don't use).   IMO all the bookinfo stuff should be in the bookinfo app/dir.    This can be an example of adding a namespace to an existing slice (or adding a new slice... either way).

@eric978 That's a good point. What about the slice.yaml file? Can I reapply that same same file and just add the info about the new namespace? Should I create a new slice just for bookinfo?

IMO, it's probably cleanest to just make a new slice for bookinfo
On Tue, Jun 21, 2022 at 12:20 PM Juan Veras @.***>
wrote:

@eric978 https://github.com/eric978 That's a good point. What about the
slice.yaml file? Can I reapply that same same file and just add the info
about the new namespace? Should I create a new slice just for bookinfo?
—
Reply to this email directly, view it on GitHub
https://github.com/kubeslice/examples/pull/17#issuecomment-1161975134,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AX2CF2WC7KQVS3PTPMV5BB3VQHTV3ANCNFSM5ZMKBBNA
.
You are receiving this because you were mentioned.Message ID:
@.***>


[Feature] Support Ray v1.11.0 in KubeRay

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
v1.11.0 has been officially released.  https://www.anyscale.com/blog/ray-version-1-11-released
In order for KubeRay to work with v1.11.0, we need to check whether we has references to redis-address etc and make sure they can be migrated to address etc.
Use case
Support v1.11.0
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

/cc @wilsonwang371


Output as .h5

Dear SchulzLab,
I am trying to reduce a 55gb illumina reads file but even when I specify fasta as output i keep getting a .h5 file. Any idea why this might be happening?
The command I am using is the following:
"ORNA -input illumina.fq.gz -kmer 115 -nb-cores 16 -type fasta "

Hi Fedjurrui,
Sorry for the late reply. The h5 file is the graph file that is deleted towards the end. You would also be getting a fasta file as specified

Hi Fedjurrui,
Sorry for the late reply. The h5 file is the graph file that is deleted towards the end. You would also be getting a fasta file as specified


Add the ability to extend options for a tool.

It's a bit of a kludge, but it will hold us until we get the new build tool.
There is a new .json file entry, "ToolOpts". To use it, name the full path
of the tool, and if you are using that tool, the opts get added.
So, for example, for /usr/bin/clang, you can see we do this:
"ToolOpts": {
"/usr/bin/clang": [
"-mno-implicit-float"
]
}
Tested and correctly invoking clang. The built kernel works, modulo the ongoing
bug with failing to get dhcp back (frequently).
Signed-off-by: Ronald G. Minnich<EMAIL_ADDRESS>

LGTM


pypi url and badges are using the wrong URLs

They need to be updated to use the new org URL :)

Fixed! Just need to release for the new pypi URL to be adjusted


Fix NavigationMenu sample

App.xaml: Removed reference to nonexistent namespace.
AppShell.xaml: Frame needs to be placed within the SliptView.Content
property to prevent Visual Studio from throwing errors and
impossibilitating its visualization on the Design view.

Thank you, these changes have been incorporated.


show current version in GUI

Hi,
I'm very happy with this plugin.
On a similar plugin (IKEA Tradfri Plugin), I noticed that the current version is displayed in "type" in the GUI.
It would be nice to have this functionality also on domoticz-zigbee2mqtt-plugin (see attachment)
Kind regards,
Bart Plessers

Unfortunately, zigbee2mqtt doesn't provide such information


output size is 16 times bigger than input???

Hi, perhaps it's me not understanding how to use turbo.js, but I have the following test program, which produces an array of size 256, whereas I would expect it to produce an array of size 16 by reading (perhaps in a wrong way) the docs. Indeed that's because in "alloc" there is a line reading "data: new Float32Array(ns * 16)", and the values of sz and ns are the same when sz is a power of two. Could you clarify or maybe this is actually a bug?

    let k = 16
    var input = turbojs.alloc(k)

    var t0 = window.performance.now()
    for (let i = 0; i < k; i++) input.data[i] = i
    var t1 = window.performance.now()
    console.log(t1 - t0)

    t0 = window.performance.now()
    turbojs.run(input, `
      void main(void) {
        commit(read());
      }
      `)
    t1 = window.performance.now()
    console.log(t1 - t0)
  }

  console.log(input.data)

Update: if you replace your "1.386" constant in alloc with "log(4)" then allocation fails with an error, that's because the result of ns gets divided by 4. Same if you just divide sz by 4 instead of going through logarithms. What's the purpose of that calculation? Is 1.386 actually meant to be log(4)?


Fix/staticfiles

Updated dockerfile and settings to more accurately copy and serve static files.

looks good!


implement #162

Push chunks of dagnabbit parser state on stack; also keep list of start and end of each parallel branch, since serial within parallel has a different end than start job for each line.  Also clean up condor_submit_dag wrapper a bit.

Also added fixes for #163, mainly small template changes.

Also including a fix for the discovered bug that we were looking for the pushed proxy in /tmp rather than the current directory in DAGs, which is  unhappy.   We could get rid of that check by copying the proxy into the submit sandbox and just always make it local, but it's a smaller change to make the template smarter...

Okay, so now we take:
jobsub -n --mail_on_error $SUBMIT_FLAGS  ${JOBSUB_EXPORTS} file://./jobA.sh
<parallel>
jobsub -n --mail_on_error $SUBMIT_FLAGS  ${JOBSUB_EXPORTS} file://./jobB.sh
<serial>
jobsub -n --mail_on_error $SUBMIT_FLAGS  ${JOBSUB_EXPORTS} file://./jobC.sh
jobsub -n --mail_on_error $SUBMIT_FLAGS  ${JOBSUB_EXPORTS} file://./jobD.sh
jobsub -n --mail_on_error $SUBMIT_FLAGS  ${JOBSUB_EXPORTS} file://./jobE.sh
</serial>
</parallel>
jobsub -n --mail_on_error $SUBMIT_FLAGS  ${JOBSUB_EXPORTS} file://./jobF.sh
</serial>

and turn it into
DOT dag.dot UPDATE
JOB stage_1 stage_1.cmd
VARS stage_1 JOBSUBJOBSECTION="1" nodename="$(JOB)"
JOB stage_2 stage_2.cmd
VARS stage_2 JOBSUBJOBSECTION="2" nodename="$(JOB)"
JOB stage_3 stage_3.cmd
VARS stage_3 JOBSUBJOBSECTION="3" nodename="$(JOB)"
JOB stage_4 stage_4.cmd
VARS stage_4 JOBSUBJOBSECTION="4" nodename="$(JOB)"
PARENT stage_3 CHILD stage_4
JOB stage_5 stage_5.cmd
VARS stage_5 JOBSUBJOBSECTION="5" nodename="$(JOB)"
PARENT stage_4 CHILD stage_5
PARENT stage_1 CHILD stage_2 stage_3
JOB stage_6 stage_6.cmd
VARS stage_6 JOBSUBJOBSECTION="6" nodename="$(JOB)"
PARENT stage_2 stage_5 CHILD stage_6

which  runs and makes the pretty picture:

Yes, both.


Cannot compile FFmpeg

Hi, during compilation I'm getting following:
ERROR: OpenMAX IL headers from raspberrypi/firmware not found
how to correct?
Thanks,
Vladimir #

That's a new one.
Are you compiling this on a Raspberry Pi, and which model?
What OS and version are you running it on?

It was latest lite OS image for RPI3. Finally I was able to setup everything on legacy OS image, what is raspbian buster.
May be some incompatibilities with newest OS or other issues.
Thank you for great script!

I want to confirm that I receive this error with latest raspbian 32bits when I tried to configure ffmpeg:
alin@raspberrypi:~/FFmpeg $ sudo ./configure --arch=armel --target-os=linux --enable-gpl --enable-omx --enable-omx-rpi --enable-nonfree --enable-libfreetype --enable-libx264 --enable-libmp3lame --enable-mmal --enable-indev=alsa --enable-outdev=alsa --extra-ldflags="-latomic"
ERROR: OpenMAX IL headers from raspberrypi/firmware not found
If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
<EMAIL_ADDRESS>mailing list or IRC #ffmpeg on irc.libera.chat.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
alin@raspberrypi:~/FFmpeg $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
alin@raspberrypi:~/FFmpeg $ uname -a
Linux raspberrypi 5.15.32-v7l+ #1538 SMP Thu Mar 31 19:39:41 BST 2022 armv7l GNU/Linux
alin@raspberrypi:~/FFmpeg $
How to repro:

RPI4 8G
flashed 2022-04-04-raspios-bullseye-armhf-full.img.xz
apply all updates available (today: May 27, 2022)
applied the following steps:

compile ffmpeg with HW encoder:
sudo apt-get install libomxil-bellagio-dev libfreetype6-dev libmp3lame-dev checkinstall libx264-dev fonts-freefont-ttf libasound2-dev -y
cd ~
git clone https://github.com/FFmpeg/FFmpeg.git --depth 1
cd FFmpeg
sudo ./configure --arch=armel --target-os=linux --enable-gpl --enable-omx --enable-omx-rpi --enable-nonfree --enable-libfreetype --enable-libx264 --enable-libmp3lame --enable-mmal --enable-indev=alsa --enable-outdev=alsa --extra-ldflags="-latomic"
Let me know if you want me to run any tests/provide more data.
config.log
Thank you,
Alin

ERROR: OpenMAX IL headers from raspberrypi/firmware not found

I reached the same error, on a Pi Zero W with Raspberry Pi OS Debian 11 (bullseye) September 2022
Rather than downgrading the OS, I tried removing the omx options (omx seems to be deprecated, and v4l2m2m seems to be a good alternative):
I removed omx from the configure options, and the compiled ffmpeg works great for my purposes using v4l2m2m

Fixed in 1.7, thanks for the details!
https://github.com/cdgriffith/pi_streaming_setup/releases/tag/1.7


Updated base config profile inspector

Overview

Updated the MixedRealityBaseConfigurationProfileInspector.RenderProfile() to have an optional GUIContent and show add profile button parameters.
Added a parameter to the check lock profile method to optionally override the profile lock if a derived profile has the need for it. (Useful if you have buttons that don't change the serialized data of the profile, but you want users to navigate different parts of the profile)
Fixed #3225

@Jarodshow does this fix your problem?

@davidkline-ms this shouldn't have conflicts with your foldout PR.

@davidkline-ms this shouldn't have conflicts with your foldout PR.

Thanks! I'm perfectly happy updating mine if there are. :)

Fixed!


Epmlabsbrn #2172 # UI web ember] add more partner logos

EPMLABSBRN-XX
Description: add more partner logos (

Add logo file to app/public/logos
Add code in frontend/app/components/footer/template.hbs
)

Hi @LyavonLitvin! Thank you for contribution!
Could you also update test case to correct count of partner logos:

3 -> 4

Hi. Ok. I'll do it.
ср, 24 авг. 2022 г., 20:59 Alex Kanunnikov @.***>:

Hi @LyavonLitvin https://github.com/LyavonLitvin! Thank you for
contribution!
Could you also update test case to correct count of partner logos:
[image: image]
https://user-images.githubusercontent.com/1360552/186489987-c7ac4773-52ed-4060-be28-c67c4e5b4fa4.png
3 -> 4
—
Reply to this email directly, view it on GitHub
https://github.com/Brain-up/brn/pull/2294#issuecomment-1226056309, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AXA5C6LK7NN6AKVXBWPRXW3V2ZPIJANCNFSM57P3KBZA
.
You are receiving this because you were mentioned.Message ID:
@.***>

@LyavonLitvin thank you for contribution!


test: add unit test for pkg/retry

What type of PR is this?
test
What this PR does / why we need it (English/Chinese):
en: add unit test for pkg/retry
zh: 增加pkg/retry的单测
Which issue(s) this PR fixes:
372

 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.


Setting respect_dns_ttl to true may result in excessive dns requests when hosts/endpoints DNS returns an NXDOMAIN

We've noticed inside our org after adding respect_dns_ttl to all clusters globally, that when Envoy finds a host that results in an NXDOMAIN on an attempted DNS lookup, Envoy appears to continue to retry the lookup infinitely, to excess.
I think that the following config is sufficient to reproduce the issue:
static_resources:
  clusters:
  - name: test
    connect_timeout: 5s
    type: STRICT_DNS
    lb_policy: ROUND_ROBIN
    respect_dns_ttl: true
    load_assignment:
      cluster_name: test
      endpoints:
        - lb_endpoints:
            - endpoint:
                address:
                  socket_address:
                    address: does-not-exist-asdkjashdaskfhasalsfhas.com
                    port_value: 8080

I think this logic starts somewhere here
https://github.com/envoyproxy/envoy/blob/e0e7628c3bc4227245f15c4f047ddad04912351c/source/common/upstream/strict_dns_cluster.cc#L14
and I think it would be good if this fell back on the default DNS refresh rate in the case of an NXDOMAIN or similar error resulting in a lack of a TTL

@crazyxy can you take a look please? Thank you.

I will fix the bug. @mattklein123 Please assign the bug to me. Thanks!

Thank you @crazyxy!

Thank you for your fast work on this 😄 ❤

Fixed


GET API for Ministry Request for division and stage(#566)

The GET API of ministry request must include the division details of the respective ministry
DOD

[x] Changes to include the divisions in GET api of ministry request
[ ] Changes to include the divisions in GET api of ministry request past CFR
[ ] Unit Testing (Existing)

GET http://localhost:15000/api/foirequests/28/ministryrequest/35
Sample Response:
{
"additionalPersonalInfo": {
"alsoKnownAs": null,
"birthDate": ""
},
"address": "4801",
"addressSecondary": "Cordova Bay Rd",
"assignedGroup": "Intake Team",
"assignedTo": "suthirum@idir",
"businessName": "Business",
"category": "Individual",
"categoryid": 2,
"city": "Victoria",
"country": "Canada",
"currentState": "Open",
"deliveryMode": "Secure File Transfer",
"deliverymodeid": 1,
"description": "TEST",
"divisions": [
{
"divisionid": 1,
"divisionname": "Minister’s Office",
"foiministrydivisionid": 22,
"stageid": 1,
"stagename": "Clarification"
},
{
"divisionid": 2,
"divisionname": "Deputy Minister’s Office",
"foiministrydivisionid": 23,
"stageid": 1,
"stagename": "Clarification"
}
],
"dueDate": "2021-11-30",
"email"<EMAIL_ADDRESS>"firstName": "Sumathi",
"fromDate": "",
"id": 28,
"idNumber": "EDUC-2021-40870",
"lastName": "Thirumani",
"middleName": null,
"phonePrimary": "7787009903",
"postal": "V8Y 2J",
"programareaid": 6,
"province": "BC",
"receivedDate": "2021 Sep, 29",
"receivedDateUF": "2021-09-29 00:00:00.000000",
"receivedMode": "Email",
"receivedmodeid": 1,
"requestProcessStart": "2021-10-18",
"requestType": "general",
"requeststatusid": 1,
"selectedMinistries": [
{
"code": "EDUC",
"name": "Ministry of Education",
"selected": "true"
}
],
"toDate": ""
}


Added handlers for custom dialer and custom udp listener

From our discussion in #2. I thought this would be the best way to resolved it.

Hi, thanks for the PR, i'm merging it, but since i want to keep the API as close as possible to the Go HTTP API, i'll remove the Func suffix from the function names, like the standard library does (https://golang.org/pkg/net/http/#Transport)

Calling just DialTimeout might be little confusing when looking ReadTimeout and WriteTimeout.


Can we get a 0.2.0 tag?

I see that you've merged in the PR that adds a new AccessToken with access to the instance_url returned from Salesforce. Can you tag a new release so we can update from Composer to get this functionality?

@stevenwadejr Wow! I apologize for that. It is very unlike me to merge some changes, update the changelog and then not cut a release. Thank you for the nudge. 0.2.0 is out.

No worries. Thanks for the tag!


Windows 10 IoT Core support

How does App Installer functionality works on Windows 10 IoT Core?

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

ID: 0414d22b-2b74-000f-9d7b-47f6dcb0e45e
Version Independent ID: 0e72ec33-b8ad-af27-bcb9-16a45936e2a1
Content: Installing Windows 10 apps from a web page - MSIX
Content Source: msix-src/app-installer/installing-windows10-apps-web.md
Product: msix
GitHub Login: @dianmsft
Microsoft Alias: diahar

Hi @rolfik you can use App Installer via APIs on Windows 10 IoT Core.  More information about this here https://docs.microsoft.com/en-us/uwp/api/windows.management.deployment.packagemanager.addpackagebyappinstallerfileasync


add jokes gilang kharisma

Sorry @GilangKharisma , could you make text joke more longer than that?

Oke, I will do it
On Mon, 3 Oct 2022, 15:11 Bayu Permana Putra, @.***>
wrote:

Sorry @GilangKharisma https://github.com/GilangKharisma , could you
make text joke more longer than that?
—
Reply to this email directly, view it on GitHub
https://github.com/babaiyu/indonesian_jokes/pull/57#issuecomment-1265086831,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APVNEZTI2BCL53UDMYT3ZCTWBKIMDANCNFSM6AAAAAAQ3KGKDM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thank u so much, i will merge it


fix typo; supersedes #565

Signed-off-by: Phil Windley<EMAIL_ADDRESS>

Already reviewed in PR #565; no need for secondary review


config: enable release-note for pd

part of ti-community-infra/tichi#395

https://github.com/ti-community-infra/tichi/issues/395

You need to modify the tide's query to prevent merging when the do-note-merge/release-note-label-needed label appears.

/hold

[ ] update the pull request template of pd.

/unhold
/merge


Prevent emitting const const on C++ codegen when using a Slice with a reference

Fixes https://github.com/dtolnay/cxx/issues/830

It seems that a container cannot hold references either: https://stackoverflow.com/questions/1155142/why-do-i-get-an-error-in-forming-reference-to-reference-type-map, instead one should wrap a reference around std::reference_wrapper, however, I don't know how to extend Slice to convert a reference into a reference_wrapper

Maybe with a partial template specialization in cxx.h which applies to instantiations of rust::Slice<T &>?
template <typename T>
class Slice<T &> final {
    /*...*/
};

Alternatively it's possible we can fix this purely by using the existing partial specialized helpers that already exist in <type_traits>. For example instead of:
https://github.com/dtolnay/cxx/blob/064cf12b7850e4a3e2e09134eeea8fc619e60792/include/cxx.h#L170
we'd have:
-   T &operator[](std::size_t n) const noexcept;
+   std::add_lvalue_reference<T>::type operator[](std::size_t n) const noexcept;

According to https://en.cppreference.com/w/cpp/types/add_reference that has the semantics we want.

If T is a function type that has no cv- or ref- qualifier or an object type, provides a member typedef type which is T&. If T is an rvalue reference to some type U, then type is U&. Otherwise, type is T.

In other words rust::Slice<const Struct>::operator[] would return const Struct &, whereas rust::Slice<const Struct &>::operator[] would also return const Struct &, because add_lvalue_reference is instantiated with a type that is already a reference.

In other words rust::Slice::operator[] would return const Struct &, whereas rust::Slice<const Struct &>::operator[] would also return const Struct &, because add_lvalue_reference is instantiated with a type that is already a reference.

Sounds like it would fix the issue, let me update the PR!

I think it is necessary to update the generated cxx.cc file to consider add_lvalue_reference
error: no declaration matches ‘T& rust::cxxbridge1::Slice<T>::operator[](std::size_t) const

I tried this change locally, and it seems to work, although I have to use std::reference_wrapper on the signature
match &slice.inner {
    Type::Ref(r) => {
        // let inner_ref = r.inner;
        write!(out, "std::reference_wrapper<");
        write_type(out, &r.inner);
        write!(out, ">");
    }
    _ => {
        write!(out, "const ");
        write_type(out, &slice.inner);
    }
}

std::shared_ptr<CrossTensor> index(
    const std::shared_ptr<CrossTensor> &tensor,
    rust::Slice<std::reference_wrapper<CrossTensorRef>> indices);

Any chance of this being merged? I ran into the issue described in #830 so having a fix would be nice. I'd be happy to help out if some work is needed to get it done :)


[Source compatibility suite] swift-cluster-membership fails to build tests using swift package

Describe the bug
The source compatibility suite project https://github.com/apple/swift-cluster-membership/commit/e9619146a1198253c587f6f34c0869d3a98b0c76 is failing to build when --build-tests is passed to the invocation used to build the swift package.
Steps To Reproduce
Steps to reproduce the behavior:

Checkout https://github.com/apple/swift-cluster-membership/commit/e9619146a1198253c587f6f34c0869d3a98b0c76
Run xcrun swift build --build-tests -Xswiftc -enable-testing

The output will contain
error: link command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture x86_64:
  "(extension in XCTest):__C.XCTestCase.addTeardownBlock(() async throws -> ()) -> ()", referenced from:
      SWIMNIOExampleTests.BaseClusteredXCTestCase.setUp() -> () in BaseXCTestCases.swift.o
      @objc SWIMNIOExampleTests.BaseClusteredXCTestCase.setUp() -> () in BaseXCTestCases.swift.o
ld: symbol(s) not found for architecture x86_64
clang-13: error: linker command failed with exit code 1 (use -v to see invocation)

Expected behavior
Expecting the project to build correctly
Environment (please fill out the following information)
Apple Swift version 5.8-dev (LLVM d90179316c5e50b, Swift<PHONE_NUMBER>1a358)

https://ci.swift.org/job/swift-PR-source-compat-suite-test-macOS/90/artifact/swift-source-compat-suite/XFAIL_swift-cluster-membership_5.0_BuildSwiftPackage.log

For now I will xfail the project on the compat suite

The project is no longer XFAILed and has passed since.


ERROR: No matching distribution found for triton==2.0.0.dev20221120

Doesn't work even if I use latest pre-release with --pre argument instead.
[+] Building 97.5s (18/21)
 => [internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 1.39kB                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2B                                                                                0.0s
 => [internal] load metadata for docker.io/nvidia/cuda:11.6.2-cudnn8-devel-ubuntu20.04                                                                                1.2s
 => [internal] load build context                                                                                0.0s
 => => transferring context: 4.82kB                                                                                0.0s
 => [ 1/17] FROM docker.io/nvidia/cuda:11.6.2-cudnn8-devel-ubuntu20.04@sha256:eb5b849e629ecdcc924d0e0eb2405377792d7ca24d3bd627cc5792e763bff977                               0.0s
 => CACHED [ 2/17] RUN apt-key del 7fa2af80                                                                                0.0s
 => CACHED [ 3/17] RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub                                      0.0s
 => CACHED [ 4/17] RUN apt-get update --yes &&     apt-get upgrade --yes &&     apt install --yes --no-install-recommends    wget    bash    openssh-server &&    apt-get c  0.0s
 => CACHED [ 5/17] RUN apt-get update && apt-get install -y --no-install-recommends                                                                                0.0s
 => CACHED [ 6/17] RUN apt-get install software-properties-common -y                                                                                0.0s
 => CACHED [ 7/17] RUN add-apt-repository ppa:deadsnakes/ppa                                                                                0.0s
 => CACHED [ 8/17] RUN apt-get install python3.10 -y                                                                                0.0s
 => CACHED [ 9/17] RUN apt-get install python3-pip -y                                                                                0.0s
 => CACHED [10/17] COPY requirements.txt /opt/ckpt/requirements.txt                                                                                0.0s
 => CACHED [11/17] WORKDIR /opt/ckpt                                                                                0.0s
 => CACHED [12/17] RUN pip3 install -r requirements.txt                                                                                0.0s
 => [13/17] RUN pip3 install xformers==0.0.16                                                                                95.4s
 => ERROR [14/17] RUN pip3 install triton==2.0.0.dev20221120                                                                                0.8s
------
 > [14/17] RUN pip3 install triton==2.0.0.dev20221120:
#18 0.783 ERROR: Could not find a version that satisfies the requirement triton==2.0.0.dev20221120 (from versions: none)
#18 0.783 ERROR: No matching distribution found for triton==2.0.0.dev20221120
------
executor failed running [/bin/bash -o pipefail -c pip3 install triton==2.0.0.dev20221120]: exit code: 1

Unable to re-produce this error, if anyone else can reproduce it we will re-open.


Add briefcase damage

About the PR

The briefcase can now be used to deal 8 blunt damage.
Why / Balance

Bonk
Technical details

- type: MeleeWeapon
    damage:
      types:
        Blunt: 8

Media

Requirements

[x] I have read and am following the Pull Request and Changelog Guidelines.
[x] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

:cl:

add: Briefcases can now be used as melee weapons.

I don't see why it can't deal damage on-par with a toolbox, it's basically the same thing.

wooden

Maybe give it the same property as the acoustic guitar where it breaks when you hit someone with it, as a briefcase usually is made out of a combination of wood leather and sometimes cardboard (knowing NT it's probably mostly cardboard)

wooden

I meant in terms of balance.

I'll put it in terms of balance:
wooden

Deadlock Pocket 👀
Add a throw damage maybe? It seems kinda logical, that you could throw a briefcase at someone, just a with smaller damage outcome

Deadlock Pocket 👀
Add a throw damage maybe? It seems kinda logical, that you could throw a briefcase at someone, just a with smaller damage outcome

I don't want to add throw damage for the same reason we don't have it on toolboxes.  This is unlike a knife or glass shards, which are intuitively dangerous to throw.


Updated typescript to 2.9.1

I noticed you recently updated to Typescript 2.7, annoyingly though conditional types were introduced in 2.8 which now means that generating docs where conditionals are used causes the generation to fail, this is evident in babel-traverse.

Closed this as I didn't see #744 or #796. Would be awesome to get TS up to 2.8 at least. 👍🏼


fmt: display contained values when formatting atomic booleans and integers

treat atomic.{Int32,Int64,Uint32,Uint64} values as integers when
formatting, using the underlying integer value (by calling Load). This
has the effect of, for example, formatting an atomic integer type
containing 42 as "42", not "{{}, 42}".

treat atomic.Bool values as booleans when formatting, using the
contained boolean value (by calling Load). This has the effect of, for
example, formatting a true atomic.Bool value containing as "true",
not "{{}, 1}" or "{{} %!t(uint32=1)}" as before.

Fixes #54731

/close


Tweaks not Loading after Installing Substrate (all versions) Unc0ver 2.0.2 - 2.1.0

The issue started off on Unc0ver 2.0.2 I installed Substrate 9.7.000 and Tweaks didn’t load so I said “I’ll just wait for updates” I downloaded Unc0ver 2.1.0 because In patches it said it fixed said problem, and also waited to install Substrate for a little but I installed all versions up to 9.7.020 and still no Tweaks are being loaded, I’ve Restored RootFS multiple times and downloaded Substrate as first thing after all necessary updates and then installed a tweak to see if it’d work but still no luck.

What iOS version are you on?

@0000vt iOS 11.3 , iPhone 6S

@wanqed install substrate from saurik’s repo, remove electra repos, restart and rejailbreak. If it doesn’t work then use restore rootfs option from unc0ver setting.

@atifchy so far I have Restored RootFS atleast 12 times because after I upgrade to Substrate after restoring RootFS it doesn’t let me install or downgrade or uninstall anything error (255) says something with /libexec/cydia/cydo

You could try a futurerestore to the same ios version, or 11.3.1. I also had a lot of trouble with substrate on 11.1.2, but it was fixed after an upgrade to 11.3.1

@0000vt I currently have no access to WiFi nor a computer as of right now because of my internet provider messing everything up with the bills. I looked at my cydia today and I realized I have BOTH Substrate and Substitute installed after my Restore RootFS last night and I’m confused? But everything works fine? But it also tells me to upgrade Substrate in notifiers..

Now everytime I upgrade to Substrate (Any Version) and try to install or downgrade Substrate itself I get “Sub-process “/usr/libexec/cydia/cydo has returned an error code (255)” @Saurik @Pwn20wnd I have no idea what’s happening

@Wanqed @BiasShadow @vitalik2187836 @ItzColdOutside Use 3.0.0. b12 then post unc0ver diagnostics.

diagnostics.zip
hope this helps

@cryptiiiic I just used b13 and I am getting bootstrap error. I’ve used every version from 2.2.2 up to 3.0.0b13 and I always get bootstrap error
Diagnostics - https://pastebin.com/1FDmC2FA

Wanqed, same.

@Cryptiiiic I have done this many times. If I try to update substrate to 0.9.7 from 0.9.6 dummy on uncover 2.1.4 and down my tweaks will stop working. But I can't install uncover version 2.2.0 and up at all! It gives an error about substrate.deb or dpkg.deb, depends on the try of installing jailbreak. On the first try it gives me an error about substrate.deb (after that I can't open any apps (system and appstore too) until reboot), on the second try (after reboot) and later on it gives me an error about dpkg.deb (and I can open apps (not jailbreak ones)).
But if I restore rootfs and install 2.1.4 version everything works fine.

If you're having this error please try with the attached ipa inside a zip (don't ask - github wouldn't take it otherwise) - this is caused by your volume up button being stuck or something similar.  Saurik will probably provide a proper fix later but this should work around it for now.
Undecimus.zip

I haven't tried it yet but you are right, my volume up button isn't working! I'll try it later, thank you

@sbingner it works! I had some error in uncover about substrate while installing this version but then I tried to launch cydia and it opened. I installed some tweaks and they work now. Finally! Thank you very much guys you are awesome.

@Wanqed can you try the ipa up there and post diagnostics.

@cryptiiiic yes I’ve had that ipa signed for about a week now, I was talking with Sam over discord about the issue. It works fine now thank you guys :)

Keeping this open until we have a substrate update that fixes it.

Hello. Can you please update this fix to beta 39. I have updated my iPhone to iOS 12.1.1 and now have this problem again.


Unsupported adapter: sqlite3

Hello, I have managed to have charts working in my rails 5 application. However, when I try to create a multi-autocomplete filter, I get the error 'Unsupported adapter: sqlite3'. I have a has_many belongs_to relationship implemented.

I got the solution from a previous issue:
https://github.com/tombenner/reports_kit/issues/21


Calculators

@AnnaWiniwarter , this is so that you can see the progress on the Calculator paradigm. Happy for comments! (I'll review your open PR in the meanwhile.)
What I've done so far:

renamed the base class Calibration to Calculator so the language can encompass other things like filters, backgrounds, and deconvolutors.
made an available_series_names attribute of Calculators and used it in the __str__ representation, also adding the calculators to the __str__ representation of Measurement objects. (Try adding calibrations to a measurement ecms and then doing print(ecms).)
moved calibration methods from Measurement classes into Calculator classes. In their new homes in a Calculator class, they need the measurement as an argument and work as "constructor" methods, returning an object of that class.
created a siqCalculator. Whether you use native or siq MS quantification now depends on which class you make the Calculator from (ixdat.techniques.ms.MSCalculator vs ixdat.plugins.siq.Calculator) rather than the name of the method. There are still warnings if native and siq quantification get mixed.
left a deprecated version of everything I moved in the original spot, to be removed in version 0.3.0
demonstrated the new functionality in development_scripts/demo_ecms_calibration_curve.py which runs as intended.

Note that, in the terminology we've used for ECMS data analysis, Calculator objects do both calibration (in constructor methods) and the quantification (in calculate_series and other normal methods). A normal work flow is to make a calculator with a constructor method using one measurement as input (calibration), and then attach it to another measurement (in general by using the add_calculator method).
What I still need to do:

make a Background class (Calculator classes for dealing with backgrounds) and get MS quantification to use the two in concert in some intuitive way.
Have Calculators save important data from the calibration method that can be analyzed later, e.g. by making calibration curves in a separate method. (Just saw that I had this in mind for #164)
Debug using all the other development scripts and tests (so that they run both without any changes, giving deprecation warnings, and with changes)

@AnnaWiniwarter ,
Yeah, removing all those things in 0.3.0 was the plan. But you're right, it's a bit intense and stuff could go wrong.
I'll reschedule the removal of everything for 0.3.0 to 0.3.1.
Is there anything deprecated you'd like to live longer than that?

@AnnaWiniwarter , let me know if this looks ready to merge for you!
@KennethNielsen , @AlexanderKrabbe , and @Caiwu-L , I've tagged you in a couple open comments here to get your eyes on these changes and think about how to best finish/optimize the implementation in the parts of ixdat you care most about.

@AnnaWiniwarter , thanks for another great review! I took your comments to heart. I also made it back-compatible so all the tutorials run.
Together these resulted in moderately significant changes that I'd appreciate your eyes on one last time before merging and releasing 0.3.0 :)


python3Packages.mpd2: 1.0.0 -> 3.0.1

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Supersedes #107215.

Result of nixpkgs-review pr 107590 run on x86_64-linux 1

11 packages built:

beets
mpdris2
poezio (python38Packages.poezio)
python37Packages.mpd2
python37Packages.poezio
python38Packages.mpd2
python39Packages.mpd2
python39Packages.poezio
qtile
rofi-mpd
sonata

Result of nixpkgs-review pr 107590 run on x86_64-darwin 1

4 packages marked as broken and skipped:

poezio
python37Packages.poezio
python38Packages.poezio
python39Packages.poezio

5 packages built:

mpdris2
python37Packages.mpd2
python38Packages.mpd2
python39Packages.mpd2
rofi-mpd


Bot takes too long to upload video

So this took longer than 30 seconds and I had to wait 2 seconds for my video to complete, please fix this

...what?

I meant 2 minutes


simplifying the mathematical solution for Sum All Numbers in a Range

We don't need to sort the two number array, using Math.abs() we can get the count of the numbers in range and calculate the sum.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

Closes #XXXXX

@thecodingaviator Waiting for #34946 to be merged, but there are several PRs ahead of it that we are waiting either waiting for changes to be made or other things.

@zhengfu23 Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝

Thanks for contributing to the freeCodeCamp repository. Congratulations on your first PR! 🎊
Look forward to more contributions from you! ✈


Support wasm target

Resolves #6

To use with wasm-pack, getrandom's js feature must be enabled (assuming JavaScript is available).
# `getrandom` is a dependency of `rand` which is in turn a dependency of `xid`.
# Enable `js` feature to support `wasm32-unknown-unknown` target used by `wasm-pack`.
# See https://docs.rs/getrandom/latest/getrandom/#webassembly-support
getrandom = { version = "0.2.7", features = ["js"] }


[MRG] Bad channel names gray.

Bad channel labels on raw plot are now gray. Makes it more consistent with epochs plot.

LGTM. Is there a specific example you're using to verify functionality? With these viz PRs it would be helpful just to say "run examples/... to see the effect" if you haven't otherwise changed an example to show it. Usually with functionality PRs we can infer functionality from the tests, but with viz often we cannot, and need visual confirmation. As a reviewer I thus have to try to remember which of our examples would show the effect unless you tell me. And since you've probably been using one of the examples to test anyway, hopefully it's not too much extra work to point it out to us. :)

You can try plot_from_raw_to_epochs_to_evoked for example.

Thanks @jaeilepp


Added default archetype settings

A simple archetype setting to add to frontmatter for each file.

Thinking about it, this is completely useless. since frontmatter is overwritten everytime files are exported. Would make more sens to add properties directly into Logseq pages instead.


AddIISUrlRewrite - Condition must have an associated match / .NET Framework URL Rewrite equivalence.

Issue description
I'm migrating a small web app, in particular trying to migrate the existing URL Rewrite rules. It isn't clear if the dotnet 6 .AddIISUrlRewrite should have directly equivalent processing as the Rewrite module in .NET Framework - but I encountered an instance where it doesn't so I though I would flag.
On migrating an existing set of IIS Rewrite rule from a working .NET Framework application we get the error:
Microsoft.AspNetCore.Rewrite.IISUrlRewrite.InvalidUrlRewriteFormatException
HResult=0x80131537
Message=Could not parse the UrlRewrite file. Message: 'Condition must have an associated match'. Line number '3': '4'.
Source=Microsoft.AspNetCore.Rewrite
StackTrace:
at Microsoft.AspNetCore.Rewrite.IISUrlRewrite.UrlRewriteFileParser.ParseRuleAttributes(XElement rule, UrlRewriteRuleBuilder builder)
at Microsoft.AspNetCore.Rewrite.IISUrlRewrite.UrlRewriteFileParser.ParseRules(XElement rules, IList`1 result, Boolean global)
at Microsoft.AspNetCore.Rewrite.IISUrlRewrite.UrlRewriteFileParser.Parse(TextReader reader, Boolean alwaysUseManagedServerVariables)
at Microsoft.AspNetCore.Rewrite.IISUrlRewriteOptionsExtensions.AddIISUrlRewrite(RewriteOptions options, TextReader reader, Boolean alwaysUseManagedServerVariables)
at Program.$(String[] args)
I believe the cause is the following section:
<rewrite>
	<rules>
		<rule name="Whitelist" stopProcessing="true">
			<conditions logicalGrouping="MatchAny" trackAllCaptures="false">
				<add input="{REQUEST_FILENAME}" pattern="(.*?)\.gif$" />
				<add input="{REQUEST_FILENAME}" pattern="(.*?)\.png$" />
				<add input="{REQUEST_FILENAME}" pattern="(.*?)\.css$" />
				<add input="{REQUEST_FILENAME}" pattern="(.*?)\.js$" />
				<add input="{REQUEST_FILENAME}" pattern="(.*?)\.jpg$" />
				<add input="{REQUEST_FILENAME}" pattern="(.*?)\.jpeg$" />
				<add input="{REQUEST_FILENAME}" pattern="(.*?)\.svg$" />
				<add input="{REQUEST_FILENAME}" pattern="(.*?)\.axd$" />
				<add input="{REQUEST_URI}" pattern="^(/-/).*$" ignoreCase="true" />
				<add input="{REQUEST_URI}" pattern="^(/content/).*$" ignoreCase="true" />
				<add input="{REQUEST_URI}" pattern="^(/layouts/).*$" ignoreCase="true" />
				<add input="{REQUEST_URI}" pattern="^(/sitecore).*$" ignoreCase="true" />
				<add input="{REQUEST_URI}" pattern="^(/ui/).*$" ignoreCase="true" />
				<add input="{HTTP_METHOD}" pattern="GET" negate="true" />
			</conditions>
			<action type="None" />
		</rule>
	</rules>
    ....
</rewrite>

In .NET Framework applications we typically use this to prevent processing particular URLs as an ignore list, often used with CMS systems where we have no control over certain URLs. It would be nice if this would work in dotnet 6 as it does with IIS / .NET Framework, as it would help with porting applications across the different frameworks.
Software versions
.NET 6

Even removing this rule we also get other errors based on previously working URL Rewrite rules:
System.FormatException
HResult=0x80131537
Message=Unrecognized parameter type: 'HTTP_METHOD', terminated at string index: '12'
Source=Microsoft.AspNetCore.Rewrite
StackTrace:
at Microsoft.AspNetCore.Rewrite.IISUrlRewrite.ServerVariables.FindServerVariable(String serverVariable, ParserContext context, UriMatchPart uriMatchPart, Boolean alwaysUseManagedServerVariables)
at Microsoft.AspNetCore.Rewrite.IISUrlRewrite.InputParser.ParseParameter(ParserContext context, IList1 results, UriMatchPart uriMatchPart)    at Microsoft.AspNetCore.Rewrite.IISUrlRewrite.InputParser.ParseString(ParserContext context, UriMatchPart uriMatchPart)    at Microsoft.AspNetCore.Rewrite.IISUrlRewrite.InputParser.ParseInputString(String testString, UriMatchPart uriMatchPart)    at Microsoft.AspNetCore.Rewrite.IISUrlRewrite.UrlRewriteFileParser.ParseCondition(XElement conditionElement, UrlRewriteRuleBuilder builder, PatternSyntax patternSyntax)    at Microsoft.AspNetCore.Rewrite.IISUrlRewrite.UrlRewriteFileParser.ParseConditions(XElement conditions, UrlRewriteRuleBuilder builder, PatternSyntax patternSyntax)    at Microsoft.AspNetCore.Rewrite.IISUrlRewrite.UrlRewriteFileParser.ParseRuleAttributes(XElement rule, UrlRewriteRuleBuilder builder)    at Microsoft.AspNetCore.Rewrite.IISUrlRewrite.UrlRewriteFileParser.ParseRules(XElement rules, IList1 result, Boolean global)
at Microsoft.AspNetCore.Rewrite.IISUrlRewrite.UrlRewriteFileParser.Parse(TextReader reader, Boolean alwaysUseManagedServerVariables)
at Microsoft.AspNetCore.Rewrite.IISUrlRewriteOptionsExtensions.AddIISUrlRewrite(RewriteOptions options, TextReader reader, Boolean alwaysUseManagedServerVariables)
at Program.$(String[] args)
Which I believe corresponds to:
		<rule name="Redirect" enabled="true" stopProcessing="true">
			<match url="^(_+)(.*)$" />
			<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
				<add input="{HTTP_METHOD}" pattern="GET" />
			</conditions>
			<action type="Redirect" url="http://{HTTP_HOST}/{R:2}" />
		</rule>

This is a rule that has often been used in some form or another to prevent things like case based redirection to POST or PUT requests which may cause the post to fail.

It isn't clear if the dotnet 6 .AddIISUrlRewrite should have directly equivalent processing as the Rewrite module in .NET Framework

You're correct, they don't.


Rebase videos out of repo

Move all videos to an external service like YouTube, and then rebase all repo branches to remove these videos from the commit history entirely. The 500MB download is simply too much for students with spotty internet connections.

Until 1080p videos are posted to Hyperledger, links to videos here:
https://www.youtube.com/playlist?list=PLW_OuWgJzqX0VDi1OYbbPhToPzdX_6zNd

Addressed on personal fork: https://github.com/delventhalz/education-cryptomoji


get BepInEx config path programmatically

bepinex exposes the config path so we should use this otherwise the root directory of the game is used as the working directory but the bepinex config might not be in there in some cases (e.g. if the mod manager is used)

Thank you.

My bad I didn't realize that I used the wrong bepinex path. Your solution works but there's also BepInEx.Paths.ConfigPath which is where I derped

No worries, updated the code to use ConfigPath property instead, thanks again.


Implement Hash trait for primitive u256 in hash.sw

This task was already merged into this PR https://github.com/FuelLabs/sway/pull/5366


feat: Add filter for sessions and speakers

Part of #1825

@anhanh11001 yes it is not a filter for call for speakers, currently I did the same as frontend. Because there is no value in event type to filter call for speaker events, Need to find another way for it.

Please resolve conflicts, rest is good

Please resolve conflicts, rest is good

Done


Service Links API changes

setServiceLinks/add/removeServiceLink APIs accept array of ServiceLink objects now
@ibuildthecloud @vincent99 ^--^

We'll have to synchronize this + ui + rancher-compose again since this isn't backwards compatible..

Will fix https://github.com/rancherio/rancher/issues/1302

Closing this PR as it became a part of a bigger one for LB host name routing: https://github.com/rancherio/cattle/pull/653


Clear existing IRC event handlers before connecting new ones

Clear all existing IRC event handler registrations before registering
new handlers in case we are connecting via a BNC and are seeing
a reconnect.
Fixes #1564

My attempt at building and testing this locally did not work as hoped (https://phabricator.wikimedia.org/T305487#7833968), but I think the problems were unrelated to this code change.

LGTM, Good catch 👍


iap sample readme has a bad link

In the README.md of
https://github.com/GoogleCloudPlatform/java-docs-samples/tree/master/iap
there is a link in the Testing section "Deploy the demo app engine application. "
which is a 404 https://github.com/GoogleCloudPlatform/java-docs-samples/blob/master/appengine/iap/README.md
I do not know what or were is the app engine application, so this is blocking my IAP investigation

Via archeology research, it might be https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/iap/app_engine_app ? Not sure.
Would be  nice to better document this in the README...
Bonus point, since this is a Java sample, it would be better to see a Java App Engine App to talk to, so that we do not confuse/distract developers.

It was deleted when all Java7 samples were deleted. Undoing this in #2057


Getting recurring error CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY

Using NPSP and Volunteers for Salesforce on my org (Enterprise Edition) with DLRS (v2.9). We are attempting to roll up a number of hours volunteers are working if they are flagged as a special group. This roll up was working at one point, but now is getting errors. No real changes to that part of the org have been identified. The error message is:
GW_Volunteers.VOL_VRS_MaintainHours: execution of AfterUpdate
caused by: System.ListException: Duplicate id in list: a3q0P000000UloIQAS
(GW_Volunteers)
: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY ()
Parent Object: GW_Volunteers__Volunteer_Recurrence_Schedule__c
Attached is a screenshot of the rollup declaration.

I have to confess, NPSP issues are a big challenge for me. It's a super complex package to navigate and even to start asking more questions here it's hard to pinpoint. The only thing i can suggest is DM me some details and we can perhaps arrange for me to go into the org (subscriber support?) and find out a bit more. That said the debug logs can be huge still and hard to understand. An ideal option is to sit down with a dev on NPSP and myself at the same screen. I have no idea if this is possible, but i am willing to give it a try if such a thing could be arranged? I am based in San Francisco.

Closing, happy to re-open for further discussion.


Try creating python scripts/modules that can be useful/reusable!!

Whatever you think is useful and can be reusable in any relevant script.
For example:
Creating CSV File CURD functionality so that can be useful in small scripts without writing much code every time.

Share Your Awesome Ideas! 💡✨
Description:
🎉 Hello Amazing Contributors! 🌟
We believe in the power of collective creativity! This issue is an open invitation for you to share your brilliant ideas and kickstart exciting projects. Whether it's a cool feature, a useful utility, or an out-of-this-world script, we want to hear it!
💡 Feel free to drop a comment below with your idea, and if it sparks joy, we'll create a dedicated issue for it! Let's turn your inspiration into reality together! 🚀
Remember, no idea is too big or too small - innovation knows no bounds! Let's dive into a world of endless possibilities! 🌈🚀
How to Share Your Idea:
Click on the "Comment" button.
Type out your idea and hit "Submit new issue."
Watch the magic happen! ✨
Let's create something amazing together! Happy coding! 🌟🐍

Hi can I pick up this issue.

Hi @TanyaKansal,
This not an issue, but you can submit your idea here, and I will open new issue for you,
you can contribute there.
Thanks :)

Hi @bhargavnova ! I've come up with an idea for a configuration file manager module. It will be a handy tool that would save us from rewriting code to manage (store, access, update and delete) json configs in every python script without any hassle.
Would it be possible to assign this issue to me? Let me know if this is a something you would be interested in, and as well as aligns with the project's end goals.
Looking forward to your response!..

Sure @harshjais369 :)
go ahead!
Happy Coding!


docs(readme): Fix type branding link

The website changed its structure so the link doesn't work anymore.

@david-szabo97 Thanks!


ToggleSlider: changing visibility only for mobile profile.

Issue: https://github.com/Samsung/TAU-Design-Editor/issues/192
Problem: ToggleSlider is not implemented in wearable profile.
Solution: In wearable from version 1.1, ToggleSwitch looks like ToggleSlider.
Signed-off-by: Tomasz Lukawski<EMAIL_ADDRESS>

@TomaszLukawskiSam could you put assignee?

Verified (WATT) works good.
Looks good to me.


Add error boundaries

Error boundaries should be added in the following locations:

Around the main content area so the navigation and header can still be used.
Around the side content on the right as the site is still usable without this.
At the highest level to capture any other errors, e.g. from layout components, providers, modals.

Sentry provide a component for this that will send the errors to Sentry:
https://docs.sentry.io/platforms/javascript/guides/react/features/error-boundary/


I have a small question. Why doesn't this tool have a Releases package?我有一个小疑问，为什么这个工具没有Releases包呢？ (IDFGH-13695)

Checklist

[X] Checked the issue tracker for similar issues to ensure this is not a duplicate.
[X] Described the feature in detail and justified the reason for the request.
[X] Provided specific use cases and examples.

Feature description
I hope to provide a release package similar to esptool.exe
Use cases
I compiled an exe using PyInstaller, but I'm not familiar with Python. My exe is very large, and I'm not sure what I did wrong. I hope the volume of the mass-produced tool I make can be smaller. I see that the volume of esptool.exe is less than 6Mb.
我自己使用PyInstaller编译了一份exe，但是我对python不算熟悉，我的exe体积非常的大，我不清楚我什么地方没做对。我希望自己作的量产工具体积可以小一点，我看esptool.exe的体积是小于6Mb的。
Below is the exe file I have released
下面的是我自己发布的exe
nvs_partition_gen_Releases.zip
Alternatives
No response
Additional context
No response

我希望可以有这个工具主要是希望量产的电脑上可以不需要安装python以及他所需要的库，这对没有相关知识的人员是不友好的。
I hope to have this tool mainly because I hope that mass-produced computers can be installed without Python and its required libraries, which is not friendly to people without relevant knowledge.


Add travis deploy of rpm to bintray

Publish sam-collector to a proper rpm repository on bintray.

:shipit:

:shipit:


An error ocurred while starting the kernel

Description of your problem
My code was running fine in the beginning, but after maybe 20 seconds, it shows following errors:
2017󈚰󈚲 12:55:35.692732: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
2017󈚰󈚲 12:55:35.692779: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
2017󈚰󈚲 12:55:35.692785: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
2017󈚰󈚲 12:55:35.692789: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
2017󈚰󈚲 12:55:35.692793: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
2017󈚰󈚲 12:55:35.777783: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:893] successful NUMA node read from SysFS had negative value (𔂫), but there must be at least one NUMA node, so returning NUMA node zero
2017󈚰󈚲 12:55:35.778333: I tensorflow/core/common_runtime/gpu/gpu_device.cc:955] Found device 0 with properties:
name: GeForce GTX 950M
major: 5 minor: 0 memoryClockRate (GHz) 1.124
pciBusID 0000:0a:00.0
Total memory: 3.95GiB
Free memory: 3.67GiB
2017󈚰󈚲 12:55:35.778357: I tensorflow/core/common_runtime/gpu/gpu_device.cc:976] DMA: 0
2017󈚰󈚲 12:55:35.778371: I tensorflow/core/common_runtime/gpu/gpu_device.cc:986] 0: Y
2017󈚰󈚲 12:55:35.778382: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1045] Creating TensorFlow device (/gpu:0) ‑> (device: 0, name: GeForce GTX 950M, pci bus id: 0000:0a:00.0)
2017󈚰󈚲 12:55:40.437879: I tensorflow/stream_executor/dso_loader.cc:129] Couldn't open CUDA library libcupti.so.8.0. LD_LIBRARY_PATH:
2017󈚰󈚲 12:55:40.437937: F ./tensorflow/stream_executor/lib/statusor.h:212] Non‑OK‑status: status_ status: Failed precondition: could not dlopen DSO: libcupti.so.8.0; dlerror: libcupti.so.8.0: cannot open shared object file: No such file or directory
What steps will reproduce the problem?

Open spyder from Anaconda Navigator
Run my code, in the beginning, it was running fine, but after maybe 20 seconds, it shows these errors

What is the expected output? What do you see instead?
Please provide any additional information below
Versions and main components

Spyder Version:3.2.4
Python Version:3.5
Qt Version:5.6.2
PyQt Version:5.6.0
Operating system: Ubuntu 16.04

Dependencies
Please go to the menu entry Help > Optional Dependencies (or
Help > Dependencies), press the button Copy to clipboard
and paste the contents below:
IPython >=4.0    :  6.2.1 (OK)
cython >=0.21    :  None (NOK)
jedi >=0.9.0     :  0.11.0 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
numpy >=1.7      :  1.13.3 (OK)
pandas >=0.13.1  :  0.21.0 (OK)
psutil >=0.3     :  5.4.1 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pyflakes >=0.6.0 :  1.6.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
pylint >=0.25    :  1.7.4 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
rope >=0.9.4     :  0.10.7 (OK)
sphinx >=0.6.6   :  1.6.3 (OK)
sympy >=0.7.3    :  None (NOK)

Thanks for reporting. A similar user reported a somewhat similar error, on a GPU with similarly small RAM, so most likely it has something to do with your GPU or running out of memory, not Spyder. Unless the issue can be isolated to the latter, i.e. occuring only in Spyder and not plain Python, iPython, etc., then this can be closed.

Thank you for your explanation.

@estathop There is no error included in your traceback, so its not clear what is going on.
Regardless, as we stated above, please test to see if this occurs outside of Spyder, e.g. in QtConsole (from Anaconda navigator, or by typing jupyter qtconsole in the terminal/Anaconda prompt. If it does, then it certainly has nothing to do with Spyder, and is either an issue with Tensorflow, user error, your environment, or something else along those lines that we have no control over. Thanks, and best of luck!

the case is I loaded a keras model which occupied my whole GPU Memory, then used
cuda.select_device(0)
cuda.close()

in order to try to release the GPU memory and give it to a pytorch model
I overcame this problem with a naive way

Okay, thanks for clarifying further and glad you found a solution!


book: fix typo in Template Syntax page

The semicolon in {% let entity = entity; %} causes the template compilation to fail, so this commit removes it.
Backport of https://github.com/djc/askama/pull/1082.

Thanks!


Recommend not forcing shrink in adorned input

As noted in an inline comment to the introductory PR: Why force the control to have shrunken text?  In the case of an endAdornment specifically it seems to be to be more consistent to not force shrink.  I did some CSS-hacking to screenshot this:

If a user has trouble with it not being shrunk he or she can simply add the shrink attribute to the InputLabel, but I've not found an easy way to unset it when core sets it.

@kf6kjg I have been asking this question too. I have decided to be lazy and see if the issue would be raised. Well, it's the case. Do you want to change the adored logic so we only use the start option into account?

WIP :P

I thought about this with the initial implementation and decided that the safer option from a library point of view was to shrink everything as the label could overlap the end adornment especially with localised text in a responsive environment leading to a poor user experience but I also understand the desire for a label to not be shrunk when no overlap occurs but I can also gaurentee we will end up with an issue when a long label overlaps an end adornment and need to start measuring the label to decide if we shrink or not..

@eyn Good analysis, there is limitations in both solutions. I think that @kf6kjg solution has a better recovery story.

@eyn Agreed, however as @oliviertassinari pointed out the user can recover by doing as they will.  Also overly long test has other issues too:

@oliviertassinari @kf6kjg totally happy with the change - agree its easier to add a shrink property if you want to keep the current behaviour and have the nicer behaviour by default

As noted in my commit comment:
This was not done with the startAdornment for two reasons:

I don't yet know how, and I don't think it's possible to do generically due to indeterminate adornment width.  Could be wrong due to ignorance.
"$ Amount" just doesn't feel right.

Thus I'm open to suggestions.


Refactor the API to use go-kit

Started looking at the api code and I think it can be improved by using the go-kit package.
https://github.com/go-kit/kit
https://youtu.be/JXEjAwNWays?t=1451
https://www.youtube.com/watch?v=NX0sHF8ZZgw

@tomwilkie what do you have against go-kit?
I haven't used it, but it looks like a good fit.

@krasi-georgiev Can I take the initiative to help out .
This is the code right ?
https://github.com/prometheus/prometheus/blob/master/web/api/v2/api.go

that would be great!
I started a topic in the groups, but hasn't been discusses yet so a bit more input from the other maintainers.
https://groups.google.com/forum/#!topic/prometheus-developers/IebVSsE2_Gk
I am leaning towards gokit + swagger spec generation via annotations.
https://goswagger.io/generate/spec.html

Have you looked at Gilmour : https://www.youtube.com/watch?v=rDQTBpIWa7M
https://github.com/gilmour-libs/gilmour

@krasi-georgiev I'll go through the api code and check out go-kit + swagger and follow the thread.

Thanks.
post your findings or questions in the Google groups thread.

Hi I’m Katsuya,
I’m thinking to participate GSoC’18,  and I’d like to work on Prometheus.
I found this issue Prometheus’s ideas page,
It’s sounds very interesting.
Could you tell me more detail of this issue?
If there is anything I can do, I want to help.

I did a quick research and started a dicsussion in the Prometheus mailing list.
https://groups.google.com/forum/#!topic/prometheus-developers/IebVSsE2_Gk
also started a doc to take some notes
https://docs.google.com/spreadsheets/d/1juaYH-unAYIp1-rlmYRNojxxwRswK4w7lDPHtUQj398/edit#gid=0
overall I am leaning towards go-kit with some code annotations to auto generate the code based on the code annotations/comments next to each endpoint.
if you have an opinion can post it in the mailing list to get some more comment and can also ping me on irc #prometheus-dev if you have any questions.

@Bo0km4n should hang around a bit longer in the IRC. Saw your question, but you were not in the irc anymore. if you put @krasi in front of the question I will get a notification and better chance to get a quick reply.

Oh, I’m sorry,,, I’m the first time to use IRC.
Even if you skipped a private chat with the “/privmsg command”, I got an error.
If you do not bother you, I’d like to contact you by email or github issue.

2018/03/15 4:34、Krasi Georgiev<EMAIL_ADDRESS>@Bo0km4n https://github.com/bo0km4n should hang around a bit longer in the IRC. Saw your question, but you were not in the irc anymore. if you put @krasi https://github.com/krasi in front of the question I will get a notification and better chance to get a quick reply.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/prometheus/prometheus/issues/3416#issuecomment-373147753, or mute the thread https://github.com/notifications/unsubscribe-auth/AOYwmz5QdQz1cJHR1Il2S8T3jLebCezlks5teXCvgaJpZM4QTJWL.

it might be a bit difficult of you have more than one question , but lets try , fire away.

Fmm... Ok, I think I will try a conversation on irc.
Could you tell me about private chat command?
I tried command “/privmsg krasi hello, nice to meet you”
But actually, I couldn’t send message to you.
What command when you send private message to other user?
Sorry to hear persistently.

send me a message in the main room

Sorry I don't know how to enter main room.
Do not you just enter the #prometheus-dev channel?
2018-03-15 5:02 GMT+09:00 Krasi Georgiev<EMAIL_ADDRESS>
send me a message in the main room
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/prometheus/prometheus/issues/3416#issuecomment-373155751,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOYwm5kdrxq11lt-b396zDDijFLN_edgks5teXdDgaJpZM4QTJWL
.

What's the actual problem we're trying to solve here?

AFAIR the code is not well organised  , v1,v2, admin are all separate and difficult to follow.
versioning is difficult and non DRY , API documentation is all manual so easy to drift.

I don't see how using a framework would resolve any of that, it'd just add an extra layer of abstraction and complicate the code. That versioning was never properly designed wouldn't be fixed either, and I personally think we should be considering deleting v2 rather than fixing it.

can't be sure on a 100% , but I would like at least to try and refactor it.
If it ends up the same or more complicated than we don't have to merge it.
I am against using frameworks as well so will try to avoid it at all cost unless it brings some real time and maintaining savings.

As is stands there's very little maintenance required on the APIs, and adding new endpoints isn't that hard.

It was long ago so will check again and will close the proposal if that is the case.

I had a look at the code again as part of troubleshooting a race condition and must say it is extremely unorganised , difficult to  follow and difficult to troubleshoot.
It uses 2 different routers with some rules defined in the New function and others in the Run function.
Overall adding more things to the api . versioning etc. would make it really difficult to maintain in its current state.
Now I am even more convinced than before that this can get a lot better.

the last dev summit it was decided to try open api for the alertmanager and it all good will consider it for Prometheus as well.


Command mode is not opening an existing sessions when piping is used

I have a session named test which I can initiate using the following command:
$ aichat -s test
Welcome to aichat 0.11.0
Type ".help" for more information.
test）

This command functions correctly. However, when I attempt to open the session using piping, it does not work as expected, the session does not open and I return to the command prompt:
$ echo 'hello' | aichat -s test
Hello! How can I assist you today?
david@mycomputer:~$

According to an example provided in the README, this functionality should be operational:
cat config.json | aichat -s i18n # Read stdin with a session

Environment details:

Operating System version: Debian 12
aichat version: 0.11.0
Terminal emulator version: kitty 0.26.5

Aichat will only enter REPL mode when there is no input.
echo hello | aichat     # command mode
aichat hello            # command mode
aichat                  # repl mode

If you want to use file in session, please use .file command
Usage: .file <file>... [-- text...]

.file message.txt
.file config.yaml -- convert to toml

Thanks for the updated info, but it does not explain what the following from the README does:
cat config.json | aichat -s i18n # Read stdin with a session

Maybe I just not understanding properly, thanks for the amazing project!

Thank you, now I understand.


Event rule patterns are not being configured properly

Apparently terraform is converting x.0 numbers to just x (4.0 => 4, 5.0 =>5, etc.)
This makes the finding events not to match vs the pattern and information is not following the expected workflow.
Basically, no messages with x.0 severy are being pushed to any SNS topic.

This does not appear to be resolvable.  Even the event rule pattern editor in AWS management console truncates x.0 numbers, so I don't think there's a way to force AWS event patterns to use decimal numbers with 0 at the end.


Add matchAnchorWidth to popover

This commit is a WIP.
I will add tests to this if this is the way to go.

@probablyup Thanks for the comments. I will make the updates and work on adding tests this weekend.

I made the changes and added a test for this. Let me know if there's anything else needed :)

Sorry for the very long delay, this looks excellent.


Fix overflowing headers on small screens

Long words in headers will overflow and break the layout on mobile screens (e.g. https://reactjs.org/acknowledgements.html). This fix allows them to break on small screens.
Before:

After:

Tested on mobile Safari, Chrome & Firefox

Thanks


Update v8 6.0.286.52

Update V8 to latest stable version: https://github.com/NativeScript/android-runtime/issues/808
TO DO:

[x] test performance compared to previous v8 version
[x] test hello-world app with snapshot
[x] test inspector behavior and verify it isn't broken
[x] add mksnapshot tool binaries for macOS - https://github.com/NativeScript/mksnapshot-tools/pull/1
[x] add mksnapshot tool binaries for linux - https://github.com/NativeScript/mksnapshot-tools/pull/2
[x] clean up workspace (.DS_Store, AStudio) files

run ci

@Plamen5kov @pkoleva tried out the inspector, debugging, network requests, and dom appear to be working. Travis builds fail due to test results fetching timeouts.

@Pip3r4o - Do you know when is this going to be in the release?

@NathanaelA as soon as we figure out how to handle garbage collection issues in our runtime, caused by optimized gc routine in V8. The changes in the PR were shortly reverted as we realized that there are crashes.

That is a bummer, v8 6.0's JIT is considerably faster than v8 5.x's JIT.  Node benchmarks shows almost twice as fast in most areas.   This could be a very nice speed increase for Android.

@NathanaelA we are well aware of the benefits, however, we cannot push it if it breaks a major part of the runtime.


Travis CI is not performing anything on PR

It should at least run nodejs based tests.

Actually, tests is running fine on "travis.sh coverage" script.


syscall: dropping FreeBSD 11 compatibility code in go1.20

Go 1.18 release notes state that Go 1.18 will be the last release that still supports FreeBSD 11.x, which reached EOL on September 30, 2021. Yet there's still FreeBSD 11.x compatibility code in the tree introduced by e.g. https://github.com/golang/go/commit/dc6eb200dd59dfedaa5259565b8ef1aa96a39271 and https://github.com/golang/sys/commit/5535b4e6bf4d5ce873049ff678353d726336e396 which still requires COMPAT_FREEBSD11 in the kernel.
It's probably too late for 1.19, but are there any plans to remove this 11.x compat code in 1.20 and drop COMPAT_FREEBSD11 requirement?

CC @paulzhol @golang/freebsd

Hi, yes sorry I'll try to get around doing that this weekend.
IIRC the 64-bit inode code in syscall and sys/unix does a runtime detection. So on FreeBSD 12.0 and up, the new syscalls are used. The new structs are always used, even in FreeBSD 11 with a compatibility hack to convert the old layout to the new.
The only user of COMPAT_FREEBSD11 is  the runtime package for the kevent syscall in the poller which has an extra argument in FreeBSD 12. And it is not dynamic. Also COMPAT_FREEBSD11 is still part of the GENERIC kernel, even on arm64.
On a related note, how do I get Gerrit credentials to trigger the build bots?

On a related note, how do I get Gerrit credentials to trigger the build bots?

See https://go.dev/wiki/GerritAccess.

Thanks.


Cannot install from active repo

Hello I am trying to install cuckoo sandbox from the repo below
https://hub.docker.com/r/jgajek/cuckoo-docker/
I get the error below:
Tag latest not found in repository docker.io/jgajek/cuckoo-docker
Any help provided to get this installed wold be great thanks.
Mark

This is a non-issue, if you look at the tags available for that repo, you'll see that there isn't a 'latest' tag.
Prior to creating the container based on that image, simply select a different tag from within Kitematic:
 - Click the 3 dots 'ooo'
 - Click select tag
 - Click the tag of choice


[terra-hyperlink] Create terra-hyperlink version 3

Feature Request
Description

There are several requests on terra hyperlink that will require a major version update.

Split href and onClick hyperlinks into two separate components. They are combined today and that forces the api to have optional parameters that should be required for one variant or the other.
Remove the isUnderlineHidden prop. Hyperlinks should always have the underline.

Per Audit: https://github.com/cerner/terra-core/issues/3016
Additional Context / Screenshots

@ Mentions

This should be worked on after #3340 and #3341 are complete.


Un-installing plugin results in recurring error

Error detected while processing function <SNR>15_define_maps:
line    3:
junegunn/vim-pseudocl not found

This error is now showing every time I start vim after un-installing junegunn/vim-pseudocl and running PlugClean. It's not stopping anything else from working, as far as I can see, but obviously it's not ideal

Assuming you are using this
https://github.com/sjmarshy/vim/blob/master/.vimrc
then the issue is most likely because vim-oblique requires vim-psuedocl (I can reproduce your issue that way).

Yes, you can't use Oblique alone.
@Pyrohh Thanks!


ESLint plugin?

Mixing shorthand and longhand properties in style objects is problematic, and worse when combined with our algorithm. I think an ESLint plugin would be a great way to help people avoid this pitfall.
See also: #16

I'm not sure when I'll get to this, and I'm not finding it to be as big of a problem as I'd imagined. I am going to close this for now, but if anyone's interested in moving this forward please let me know and we can consider re-opening the issue.