Does current version support pre-Maxwell GPUs?

I have noticed some issues discussing support for pre-Maxwell GPUs. However, I check it on my k20 machine, and find that neon cannot run on gpu backend.
Device 0 does not have CUDA compute capability 5.0 or greater

Kepler support is WIP

Just for context, Kepler generation cards are now a couple of years behind current technology and we recently dropped support in neon. While we are planning to add support for these GPUs again in the future, the performance of a top of the line Kepler card will only be about that of a $200 GTX960 Maxwell card, which has enough memory to support most current models. If you do not have access to a machine with a current generation Maxwell GPU (e.g. GTX960, GTX980, Titan X), we recommend running on the CPU backend. Older versions of neon (e.g. 0.8.2) did support Kepler GPUs, but there have been significant API changes in neon so we do not recommend using this older version.


closed the output stream so that the file handle gets let go sooner

I noticed that in our production environment that sometimes this would go through its 20 retries and bomb out really quickly. If I closed the output stream at the end, it got much happier!

Cool thanks!
Did you say "production environment?"
If so, are there any API/structural changes you would make? How is it working, and how are you using it (to the degree you can share)?

it works well (almost) in the environment we have it in. The largest
problems we have with it is that we get 'file locked' errors from time to
time.
I have been thinking about putting a lock around the write to 'slow down'
the writes and single thread it to also help keeping the file from locking.
we will see how this change goes.
On 27 February 2015 at 11:23, John Atten<EMAIL_ADDRESS>wrote:

Merged #26 https://github.com/xivSolutions/biggy/pull/26.
—
Reply to this email directly or view it on GitHub
https://github.com/xivSolutions/biggy/pull/26#event-242960298.

I assume the file locking issues are related to concurrent access? That was the primary challenge with the file/JSON store (and what finally drove Rob to try on some database back-ends as well).
I've been debating between trying to solve the concurrency problem, or pushing the notion that when concurrency issues arise, it's time to move to SQLite or PG.

Yeah, I was almost to that point. The json packets just make it so easy to
debug (client side)

Sent on the go ( from the phone )
Sorry for being so short & for any bad typos or spelling
On 27 Feb 2015, at 10:33 pm, John Atten<EMAIL_ADDRESS>wrote:
I assume the file locking issues are related to concurrent access? That was
the primary challenge with the file/JSON store (and what finally drove Rob
to try on some database back-ends as well).
I've been debating between trying to solve the concurrency problem, or
pushing the notion that when concurrency issues arise, it's time to move to
SQLite or PG.
—
Reply to this email directly or view it on GitHub
https://github.com/xivSolutions/biggy/pull/26#issuecomment-76381499.

Keep us posted. I haven't done much here in a bit, but I am actively looking for feedback as to which direction to take this. Actual use is the very best indicator...


fixed systemd start timeout on ubuntu 16.04

Description
Fix start timeout on ubuntu 16.04.
Change systemd Service Type=notify to Type=simple on Ubuntu. Apache on ubuntu 16.04 does not come with systemd integration, so the type=notify can't be used.
Issues Resolved
[List any existing issues this PR resolves]
Check List

[x] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[x] The CLA has been signed. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

Apparently apache on Ubuntu 16.04 does not contain systemd support. This means that systemd Service type=notify can't be used.
This change adds a condition to the template so that Type=simple would be used on ubuntu.

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
Non-GitHub Verified Committers
There are 1 commit author(s) whose commits are authored by a non-GitHub verified email address. Chef will have to manually verify that they are authorized to contribute.
Please sign the CLA here.

Hi. Your friendly Curry bot here. Just letting you know that all commit authors have become authorized to contribute. I have added the "Signed CLA" label to this issue so it can easily be found in the future.

This looks good. The failures appear to be unrelated to what you have got so I'm going to go ahead and pull it in.


filterOptions should accept an object

Expected Behavior
filterOptions should also accept an object for dropdowns.
Current Behavior
Right now we can only provide an array for filterOptions. This might be okay for client-side filtering but we could also use an object for server-side filtering cases.
filterOptions: { enum_1: "Enum 1", enum_2: "Enum 2" } // Render "Enum 1"
...
onTableChange: (action, tableState)  // At this point I prefer to get "enum_1" value

So this is a use case that we just stumbled upon as well. We basically want to translate the filterOption labels but want to have the key value returned on filters. It cannot be done with an array of options, since that would require us to change the default filter values on each translation.

@erencay This functionality might exist now. As of 2.6.0, there is a filterOptions object that accepts names: Array, login: Function, and display: Component. Let me know if this satisfies your use case.


500 Oops, server error!

Describe the bug
After upgrading to v0.20.3-ls28, Speedtest Tracker now just shows a 500 error when trying to launch it.
To Reproduce
Steps to reproduce the behavior:

Upgrade to v0.20.3-ls28
Open website

Expected behavior
Website to load.
Environment (please complete the following information):

OS: Docker
Architecture: x86
Browser Firefox
Version v0.20.3-ls28

Screenshots

Logs
**** The following active confs have different version dates than the samples that are shipped. ****

**** This may be due to user customization or an update to the samples. ****

**** You should compare the following files to the samples in the same folder and update them. ****

**** Use the link at the top of the file to view the changelog. ****

┌────────────┬────────────┬────────────────────────────────────────────────────────────────────────┐

│  old date  │  new date  │ path                                                                   │

├────────────┼────────────┼────────────────────────────────────────────────────────────────────────┤

│ 2023-04-13 │ 2024-05-28 │ /config/nginx/site-confs/default.conf                                  │

│ 2023-04-13 │ 2024-05-27 │ /config/nginx/nginx.conf                                               │

└────────────┴────────────┴────────────────────────────────────────────────────────────────────────┘

[custom-init] No custom files found, skipping...

[ls.io-init] done.

nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /config/nginx/site-confs/default.conf:7

nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /config/nginx/site-confs/default.conf:8

Additional context
Have looked at the nginx.conf file, but unsure what I am meant to be changing?

Can you post your docker-compose file so we can check the config.
With 0.20.x some changes are needed to make it work with the new version see https://github.com/alexjustesen/speedtest-tracker/releases/tag/v0.20.0

I created the container manually in Portainer, so don't have a compose file (that I know of).
But I've added some screenshots to show the config.

First thing let's get rid of the = before base64 in your APP_KEY and restart the container after you've updated that.
If that doesn't work follow these steps to enable debug mode to get more verbose logs: https://docs.speedtest-tracker.dev/help/faqs#im-getting-a-500-or-server-error-error

@alexjustesen thanks for the help. Removing = fixed the issue. Sorry, what a silly mistake 😮


Revert "Refactor withFullPolicy"

Reverts Expensify/App#10873
cc @arosiclair @jasperhuangg
$ https://github.com/Expensify/App/issues/10978
QA / Tests

Click on your avatar to open the Settings menu
Click on your Workspace in the left panel
Open the "Reimburse Expenses" page
In the "Track Distance" section, make sure the default mileage rate populates
Make sure you can edit the mileage rate

Contributor (PR Author) Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

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

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product was added in all src/languages/* files
[x] I verified any copy / text that was added to the app is correct English and approved by marketing by tagging the marketing team on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] Any functional components have the displayName property
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

The failing action was Contributor+ Checklist, which we bypass here because this is a revert.

🚀 Cherry-picked to staging by @francoisl in version: 1.2.0-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.


Define all parser AST nodes

Currently, only the PGQL spec syntax was defined and left all AST constructive actions empty. The next step is to implement all of them.
TODO:

[ ] Basic classes of statement/expr node
[ ] Select statement related nodes
[ ] Update statement related nodes
[ ] Delete statement related nodes
[ ] Insert statement related nodes
[ ] Create graph/index related nodes

in parser/ast， just add node?

@tanqiangyes Thanks for you for interesting in zGraph project.
Yes, you can implement where have TODO implement me.

Is there some documentation on the corresponding requirements, the end result, and the testing methods?

@tanqiangyes Currently, this project is in the early stage, and there is no more documentation except comments in the code.  Only some unit tests for the core module.


refresh in browser failed locally (works on production)

When I tried the first time locally all work propertly but when click refresh failing with a 404 page no found using your code without changed .

I am using root path localhost:8080/ but url should be localhost:8080/execute and it work ok


#37 logo is updated

Signed-off-by: gunjanmimo<EMAIL_ADDRESS>

fixes #37

Uh-oh, this PR is missing your changes, I think, @gunjanmimo


Build error With audio analysis tools

Hello bro.....when i try to build my project that contains audio analysis tools plugin , it returns this error
UATHelper: Packaging (Windows (64-bit)):   c:\Program Files\Epic Games\UE_4.27\Engine\Plugins\Marketplace\RuntimeAudioImporter\Source\RuntimeAudioImporter\RuntimeAudioImporter.Build.cs(7,14) : error CS0101: The namespace '<global namespace>' already contains a definition for 'RuntimeAudioImporter'
UATHelper: Packaging (Windows (64-bit)):   c:\Program Files\Epic Games\UE_4.27\Engine\Plugins\Marketplace\RuntimeAudioImporter\Source\RuntimeAudioImporterEditor\RuntimeAudioImporterEditor.Build.cs(5,14) : error CS0101: The namespace '<global namespace>' already contains a definition for 'RuntimeAudioImporterEditor'

ooo...I solved it by deleting RuntimeAudioImporter plugin from unreal egine installation folder. So ther will not be duplicated file.


Using ASOAnimation with UIBarButtonItem

Hello, I need to Know how to use this library with UIBarButtonItem, I've tried already to create Bar button but I can't make Use ASOTwoStateButton class on it ? any solution

Hi there,
Have you tried to follow its user guide in https://github.com/agusso/ASOAnimatedButton/tree/master/Example/TwoStateButtonExample
Let me know if you had already followed them and which part you stumbled.

Yes I've followed the guide and as I told you I want to use bar button item
not simple button, and the problem is that in te storyboard I can't asign
ASOTwoButton class two the bar button item
On Tuesday, February 17, 2015, Agus Soedibjo<EMAIL_ADDRESS>wrote:

Hi there,
Have you tried to follow its user guide in
https://github.com/agusso/ASOAnimatedButton/tree/master/Example/TwoStateButtonExample
Let me know if you had already followed them and which part you stumbled.
—
Reply to this email directly or view it on GitHub
https://github.com/agusso/ASOAnimatedButton/issues/4#issuecomment-74708562
.

--
Regards :
Kaouach Ahmed Alaeddine
Software Engineer
chlebta.com  / about.me/chlebta

You can't use this library for UIBarButtonItem since ASOTwoStateButton inherits from UIButton and not UIBarButtonItem.


Set project active in admin page but project is still inactive

It is ok, should go to Admin/Project Management tab.


Forgotten Sentence

While going through the spec I found this line on the Cryptographic Extensions manual - p.408 - "We expect to pick up this work in earnest in Q4-2021 or Q1-2022." I don't know if it has been addressed or not but it seems to be forgotten in the manual.

The whole paragraph should be deleted, as this has long since been resolved.


About training a new dataset

Thank you for your work. If I want to input a custom data set, how do I configure the network parameters? My data set size is 1189, 1, 10000 (data set size, data dimension, data length), looking forward to your reply

Just want to add something. In case of an unlabelled custom data set, what training mode should I use?  Could not find unsupervised in the list of training modes.
I really appreciate any help you can provide.

@xuchunyu123 I believe that you are asking about the base_Model configurations.
First, you can use your own custom base model instead of ours (maybe something related to your data from the literature).
If you want to use ours, you have to first create a configuration file here with the dataset name. For that, you can copy the contents from any available configuration file, but you need to modify it a bit according to your dataset settings.
For example, you will update the self.input_channels = 1. Also, I think since you have a 10k sample length, you would need to use a big self.kernel_size and probably a big self.stride, so you can test that by setting the training model as supervised and see how the model performs. You will need to update self.features_len accordingly or just use an adaptiveAvgPooling layer to have a fixed length. You also need to update the self.num_classes.
For the augmentations parameters, it would depend on the signal itself and if it is noisy not.
For self.timesteps in the temporal contrasting module, you would need to set it around 40% of self.features_len as recommended by our experiments.

@NithyasreeVP
The unsupervised mode is self_supervised, which trains the model without any labels.


Move CONTRIBUTION.md to the project root

See also https://github.com/MyIntervals/emogrifier/issues/1284.


Automated cherry pick of #11784: fix(baremetal): inject mac to cmdline

Cherry pick of #11784 on release/3.6.
#11784: fix(baremetal): inject mac to cmdline

/lgtm

/approve


cortex-query-frontend config error resulting CrashLoopBackOff

Tested locally, this is not failing the CI tests:
$ KUBECTL=./kubectl ; ./tests/e2e.sh deploy-operator  ; ./tests/e2e.sh test
Error from server (AlreadyExists): namespaces "minio" already exists
namespace/observatorium created
secret/thanos-objectstorage created
persistentvolumeclaim/minio created
deployment.apps/minio created
service/minio created
customresourcedefinition.apiextensions.k8s.io/observatoria.core.observatorium.io created
clusterrole.rbac.authorization.k8s.io/observatorium-operator created
clusterrolebinding.rbac.authorization.k8s.io/observatorium-operator created
deployment.apps/observatorium-operator created
observatorium.core.observatorium.io/observatorium-xyz created
Waiting for observatorium-xyz currentStatus=
Waiting for observatorium-xyz currentStatus=
Waiting for observatorium-xyz currentStatus=
Waiting for observatorium-xyz currentStatus=
Waiting for observatorium-xyz currentStatus=
Waiting for observatorium-xyz currentStatus=
Waiting for observatorium-xyz currentStatus=
Waiting for observatorium-xyz currentStatus=
Waiting for observatorium-xyz currentStatus=Not Started
Waiting for observatorium-xyz currentStatus=Not Started
observatorium-xyz CR status is now: Finished
deployment.extensions/minio condition met
deployment.extensions/observatorium-xyz-thanos-query condition met
job.batch/observatorium-up created
job.batch/observatorium-up condition met

Result:
[test@bkr-hv01 configuration]$ kubectl -n observatorium logs observatorium-xyz-cortex-query-frontend-86c9c6c798-pt25w
error loading config from /etc/cache-config/config.yaml: yaml: unmarshal errors:
  line 4: field log_queries_longer_than not found in type frontend.Config
  line 6: field query_range not found in type cortex.Config

Additional details
Name:         observatorium-xyz-cortex-query-frontend-86c9c6c798-pt25w
Namespace:    observatorium
Priority:     0
Node:         crc-w6th5-master-0/<IP_ADDRESS>
Start Time:   Sun, 15 Mar 2020 18:11:12 +0200
Labels:       app.kubernetes.io/component=query-cache
              app.kubernetes.io/instance=observatorium-xyz
              app.kubernetes.io/name=cortex-query-frontend
              app.kubernetes.io/part-of=observatorium
              app.kubernetes.io/version=master-8533a216
              pod-template-hash=86c9c6c798
Annotations:  k8s.v1.cni.cncf.io/networks-status:
                [{
                    "name": "openshift-sdn",
                    "interface": "eth0",
                    "ips": [
                        "<IP_ADDRESS>"
                    ],
                    "dns": {},
                    "default-route": [
                        "<IP_ADDRESS>"
                    ]
                }]
              openshift.io/scc: restricted
Status:       Running
IP:           <IP_ADDRESS>
IPs:
  IP:           <IP_ADDRESS>
Controlled By:  ReplicaSet/observatorium-xyz-cortex-query-frontend-86c9c6c798
Containers:
  cortex-query-frontend:
    Container ID:  cri-o://2f23fbb1a78c242f6070976af78a269a06aa9d763996a327bec0c33ff6c82b58
    Image:         quay.io/cortexproject/cortex:master-8533a216
    Image ID:      quay.io/cortexproject/cortex@sha256:fddd93b98b5789761700f5103734a0f2af39b3b5bfeece26b224f5bbb53e4e4c
    Port:          9090/TCP
    Host Port:     0/TCP
    Args:
      -log.level=debug
      -config.file=/etc/cache-config/config.yaml
      -querier.max-retries-per-request=0
      -frontend.downstream-url=http://observatorium-xyz-thanos-query.observatorium.svc.cluster.local.:9090
    State:          Waiting
      Reason:       CrashLoopBackOff
    Last State:     Terminated
      Reason:       Error
      Exit Code:    1
      Started:      Sun, 15 Mar 2020 18:14:10 +0200
      Finished:     Sun, 15 Mar 2020 18:14:10 +0200
    Ready:          False
    Restart Count:  5
    Environment:    <none>
    Mounts:
      /etc/cache-config/ from query-cache-config (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-vrqwc (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
Volumes:
  query-cache-config:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      observatorium-xyz-cortex-query-frontend
    Optional:  false
  default-token-vrqwc:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  default-token-vrqwc
    Optional:    false
QoS Class:       BestEffort
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
Events:
  Type     Reason     Age                   From                         Message
  ----     ------     ----                  ----                         -------
  Normal   Scheduled  <unknown>             default-scheduler            Successfully assigned observatorium/observatorium-xyz-cortex-query-frontend-86c9c6c798-pt25w to crc-w6th5-master-0
  Normal   Pulled     4m8s (x5 over 5m33s)  kubelet, crc-w6th5-master-0  Container image "quay.io/cortexproject/cortex:master-8533a216" already present on machine
  Normal   Created    4m8s (x5 over 5m33s)  kubelet, crc-w6th5-master-0  Created container cortex-query-frontend
  Normal   Started    4m8s (x5 over 5m33s)  kubelet, crc-w6th5-master-0  Started container cortex-query-frontend
  Warning  BackOff    23s (x25 over 5m32s)  kubelet, crc-w6th5-master-0  Back-off restarting failed container

Thanks for reporting!

I suspect this is because the configuration scheme was broken at some point in cortex. Are you using the latest version used elsewhere in this repo?

@brancz yup. Looks better when I use quay.io/cortexproject/cortex:master-fdcd992f
I'll submit a PR to update this, but will also open an issue to reflect that this failure is not reflect on CI.
$ kubectl -n observatorium describe pod observatorium-xyz-cortex-query-frontend-db5989b46-r9qfb
Name:         observatorium-xyz-cortex-query-frontend-db5989b46-r9qfb
Namespace:    observatorium
Priority:     0
Node:         crc-w6th5-master-0/<IP_ADDRESS>
Start Time:   Tue, 17 Mar 2020 16:40:40 +0200
Labels:       app.kubernetes.io/component=query-cache
              app.kubernetes.io/instance=observatorium-xyz
              app.kubernetes.io/name=cortex-query-frontend
              app.kubernetes.io/part-of=observatorium
              app.kubernetes.io/version=master-fdcd992f
              pod-template-hash=db5989b46
Annotations:  k8s.v1.cni.cncf.io/networks-status:
                [{
                    "name": "openshift-sdn",
                    "interface": "eth0",
                    "ips": [
                        "<IP_ADDRESS>"
                    ],
                    "dns": {},
                    "default-route": [
                        "<IP_ADDRESS>"
                    ]
                }]
              openshift.io/scc: restricted
Status:       Running
IP:           <IP_ADDRESS>
IPs:
  IP:           <IP_ADDRESS>
Controlled By:  ReplicaSet/observatorium-xyz-cortex-query-frontend-db5989b46
Containers:
  cortex-query-frontend:
    Container ID:  cri-o://1dcdd7f1d365bf2b027f6ef36665c8f771849527308bccb437aed5a5541b4666
    Image:         quay.io/cortexproject/cortex:master-fdcd992f
    Image ID:      quay.io/cortexproject/cortex@sha256:8e9302c22c33a8e3d1568470b3d45532d6256251c6204be3928c03a4c61b70cc
    Port:          9090/TCP
    Host Port:     0/TCP
    Args:
      -log.level=debug
      -config.file=/etc/cache-config/config.yaml
      -querier.max-retries-per-request=0
      -frontend.downstream-url=http://observatorium-xyz-thanos-query.observatorium.svc.cluster.local.:9090
    State:          Running
      Started:      Tue, 17 Mar 2020 16:40:55 +0200
    Ready:          True
    Restart Count:  0
    Environment:    <none>
    Mounts:
      /etc/cache-config/ from query-cache-config (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-gdjcq (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             True
  ContainersReady   True
  PodScheduled      True
Volumes:
  query-cache-config:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      observatorium-xyz-cortex-query-frontend
    Optional:  false
  default-token-gdjcq:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  default-token-gdjcq
    Optional:    false
QoS Class:       BestEffort
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
Events:
  Type    Reason     Age        From                         Message
  ----    ------     ----       ----                         -------
  Normal  Scheduled  <unknown>  default-scheduler            Successfully assigned observatorium/observatorium-xyz-cortex-query-frontend-db5989b46-r9qfb to crc-w6th5-master-0
  Normal  Pulling    73s        kubelet, crc-w6th5-master-0  Pulling image "quay.io/cortexproject/cortex:master-fdcd992f"
  Normal  Pulled     67s        kubelet, crc-w6th5-master-0  Successfully pulled image "quay.io/cortexproject/cortex:master-fdcd992f"
  Normal  Created    66s        kubelet, crc-w6th5-master-0  Created container cortex-query-frontend
  Normal  Started    66s        kubelet, crc-w6th5-master-0  Started container cortex-query-frontend


jay-edit

Delete me and write your Pull Request message here!

Some of the spelling and grammer changes


Decide if RegexManager::dump_config should dump highlight-article rules as well

Newsboat https://github.com/newsboat/newsboat/commit/f5225b8333185a11c6ef7d9d32475c0b66b104c4
While adding tests for RegexManager, I noticed that dump_config() doesn't write highlight-article rules, only highlight rules.
Need to comb through Git history to see if this is deliberate, or simply an omission.

My guess is that we can't turn Matcher back into an expression, so we can't "stringify" it, and thus can't print it back. This should be easily fixeable once we have a Matcher that uses a syntax tree internally; see #631.

My last comment is wrong: there is a Matcher::get_expression() method that returns the original filter expression.


Improve Accessibility of Components - Styling

Review and improve the accessibility of the components, ensuring they meet WCAG guidelines.
This issue's scope should focus on styling/CSS as it pertains to the components. This includes color, size of elements, margins, button sizes, et c. According to WebAIM Contrast Checker the background color with the nearly-black font color combo works - let's make sure the book cards and everything else also works to the WCAG guidelines. Color changes are welcome, as long as the colors look nice together and meet the guidelines.

Hi @livoszlak I would love to make UI changes and try different colors to make the website more appealing and interactive. Can you please assign the issue to me?

@om9090 Great! Thank you! 🙌

Yes thank you I’ll start working on it.


New version: ChilliBits.Spice version 0.17.4

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

@wingetbot waivers Add Validation-Executable-Error


Update yubiswitch to v0.12

Thank you for the contribution. It was merged directly as e857182f549ae6f41ccea97f3c417879761f1660 to keep commit history cleaner. Your contribution is still credited to you.


Create SECURITY.md

Trying to find the right contact but I haven't been able to. This would be helpful.
What changes are proposed in this pull request?
Please outline the changes and how this PR fixes the issue.
Why are the changes needed?
Please clarify why the changes are needed. For instance,

If you propose a new API, clarify the use case for a new API.
If you fix a bug, describe the bug.

Does this PR introduce any user facing changes?
Please list the user-facing changes introduced by your change, including

change in user-facing APIs
addition or removal of property keys
webui

What's the contact email to report security issues privately?

please contact me and I will route to the right person. thanks.  @cldrn

Details were shared via email. Thanks for following up on this.


Layer Contents header on information panel inherits text from default report, not DisplayTitle

The header text for the property/site information on the information panel appears to be inherited from the name of the default report, rather than from the DisplayTitle in the config.js.  This is the case for both the Buildings and Sites tabs.
In the image below, the application has been configured with only the 'Traffic Count Profile' and the 'Demographic and Income Profile' reports available. The 'Site Information' report has been removed.  Note how the bold header text that displays above the site information says "Traffic Count Profile", the name of the default report.

At the same time, the DisplayTitle is set to "Site Information", which is not reflected in the application.
LayerContents: {
                        ShowAttachments: true,
                        DisplayTitle: "Site Information",
                        DisplayFields: [
                            {
                                DisplayText: "Name:",
                                FieldName: "FACNAME"
                            }, {
                                DisplayText: "Address:",
                                FieldName: "FULLADDR"
                            }, {
                                DisplayText: "Type:",
                                FieldName: "ZONEDESC"
                            }, {
                                DisplayText: "Area (acres):",
                                FieldName: "TOTAREA"
                            }
                        ]

This issue needs to be addressed in order to implement https://github.com/Esri/site-selector/issues/191.

Verified with v1.8 - UAT Bug Fix.


Stuck on Installing for %talk and %groups

Describe the bug, optionally with screenshots
I am updating from ~binnec-dozzod-marzod and both my %talk and %groups are stuck on installing. In addition %pongo is also stuck. Additionally, the %talk and %groups web endpoint aren't loading. My logs do not have anything in them.

To Reproduce
Steps to reproduce the behavior:

Go to landscape home
See above

Expected behavior
Being able to access my apps
Additional context:

planet
GroundSeg
Windows Chrome

have you tried running install from the terminal?

I think I got pongo'd but it showed up in a weird way. I uninstalled it and %talk and %groups are working. I'm currently syncing back to ~binnec to make sure it was that. I'll close when the sync is complete

Got pongo'd. talk and groups is working. closing

good to hear


last.fm scrobbling

Resolved in https://github.com/tb0hdan/voiceplay/commit/b54d29a17c2f1b11dbb5c264de7d25c8ecd28a4f


Add required build, Dependencies and github workflows

set up, so these will need to be added to the

I have already added all the secrets https://github.com/nationalarchives/tdr-terraform-github/pull/10/files


Usability regression after deprecating some add* methods in #1958

Description
Let me know if I'm missing something else here, but I was updating swift-format to remove deprecation warnings around add* methods after https://github.com/apple/swift-syntax/pull/1958 and the code seems worse as a result.
The example I'm struggling with is when manipulating modifiers on a *DeclSyntax. For example:
return DeclSyntax(
  newEnumDecl
    .addModifier(newModifier)
    .with(\.memberBlock, newMemberBlock))

The benefit of the addModifier method was that it worked both in cases where newEnumDecl did have existing modifiers and when it didn't. But since newEnumDecl.modifiers returns DeclModifierListSyntax?, which is nil when empty. So I ended up with this:
return DeclSyntax(
  newEnumDecl
    .with(
      \.modifiers,
       (newEnumDecl.modifiers ?? DeclModifierListSyntax([])).append(newModifier))
    .with(\.memberBlock, newMemberBlock))

(Granted, I should probably look at SwiftSyntaxBuilder and string interpolation for a lot more tasks, but they didn't exist at the time most of these rules were built, so I'm trying to make smaller incremental changes.)
Would it make sense for properties that return node collections to always be non-optional, returning empty collections instead of nil? Then I could at least write:
return DeclSyntax(
  newEnumDecl
    .with(\.modifiers, newEnumDecl.modifiers.append(newModifier))
    .with(\.memberBlock, newMemberBlock))

which gets us at least closer to the original code.
Steps to Reproduce
No response

Sigh, I just realized part of this was being influenced by extensions to DeclModifierListSyntax that we had added in swift-format; specifically append functions that actually returned a new collection rather than mutating it in place. I should absolutely remove those, which I think now that leaves me with the following code:
    return DeclSyntax(
      newEnumDecl
        .with(\.modifiers, (newEnumDecl.modifiers ?? DeclModifierListSyntax([])) + [newModifier]))
        .with(\.memberBlock, newMemberBlock))

Making the collection non-optional would still provide a nice simplification to:
    return DeclSyntax(
      newEnumDecl
        .with(\.modifiers, newEnumDecl.modifiers + [newModifier])
        .with(\.memberBlock, newMemberBlock))

I have to admit that I didn’t have the optional case in mind when removing the add* methods. But I think they are not enough to justify the existence of the add* methods.
If you import SwiftSyntaxBuilder you can create DeclModifierListSyntax from an array literal, simplifying your example a little bit to something that isn’t a huge step down from the original.
return DeclSyntax(
  newEnumDecl
    .with(\.modifiers, (newEnumDecl.modifiers ?? []) + [newModifier]))
    .with(\.memberBlock, newMemberBlock))

And also just my personal opinion but I think in many cases it’s more readable if you modify the node instead of using with
var newEnumDecl: EnumDeclSyntax
newEnumDecl.modifiers = (newEnumDecl.modifiers ?? []) + [newModifier]
newEnumDecl.memberBlock = newMemberBlock
return DeclSyntax(newEnumDecl)

Thanks! Yeah, I'm going to revisit a lot of these operations with SwiftSyntaxBuilder once I get the initial warnings cleared out. I want to do that a bit more holistically.
What do you think about the idea of never returning nil collections? Is there a reason we (either SwiftSyntax, or clients) need to distinguish between a node.modifiers that is nil vs. one that is present but empty? I'm assuming the parser will never produce an empty one, but users can still construct nodes manually that end up in that state (most easily by removing modifiers from a collection that's already present), and so if possible it would be nice to coalesce those two states into one.

Tracked in Apple’s issue tracker as rdar://113638893

Very good idea. I’m making all syntax collections non-optional in https://github.com/apple/swift-syntax/pull/2043.


Workflow to add an admin user

We have no process currently to add new users (like the adminXX/userXX IDs) to the system.  This was one of those things that we (narrator: he means himself) postponed because our users have two components (or, actually, three)

the LDBM record, which is what is "seen" via LDAP
the RACF ID, where the password/phrase lives for Native Authentication
the Directory ID, so that we don't have "floating" RACF IDs that aren't connected to the directory (and we can create RACF IDs simply using DirMaint).

To meet the initial need, let's just make a script on the ELAN that

does a DirMaint ADD to create the user and the RACF record
does an ldapadd to create the LDBM entry
sets an expired passpharase

In time we will create a web interface, or look at adding the required RACF/SMAPI parts to the LDAP Service Desk workflow for adding a user.

There are no "create user" capabilities in LDAP Tool Box.  It's either create one, or build our own.
Or...  I'm looking at phpLDAPadmin (I ran into Deon George at one point, and he seemed a little disappointed that PLA wasn't the "OSS LDAP tool" that I'd appropriated to use in ESI). There are native LDAP add and modify capabilities in PLA, as well as hooks for performing additional processing.  If there is a way to use PLA as the "engine" underneath a ESI user-creation web page, this might be nice (I kind-of feel like PLA exposes too much LDAP-ness to use on its own).

There are no "create user" capabilities in LDAP Tool Box.  It's either create one, or build our own.
Or...  I'm looking at phpLDAPadmin (I ran into Deon George at one point, and he seemed a little disappointed that PLA wasn't the "OSS LDAP tool" that I'd appropriated to use in ESI). There are native LDAP add and modify capabilities in PLA, as well as hooks for performing additional processing.  If there is a way to use PLA as the "engine" underneath a ESI user-creation web page, this might be nice (I kind-of feel like PLA exposes too much LDAP-ness to use on its own).

esi-add-user.sh posted to Slack, for testing.

The esi-add-user.sh script has had a bunch of testing either via Slack or on RDBKESI3.  Ready to look at how to integrate it.


doc: security: Disclose CVE-2024-3332

Disclose information about published CVE.

It looks like an oversight that this was never backported to stable release branches after it got merged to main. I've created #75361 and #75362 to fix that.


Graph API 429 error (activityLimitReached) returned immediately when issuing a query request to https://graph.microsoft.com/beta/sites

I receive a 429 error response immediately after issuing a Graph API query request to https://graph.microsoft.com/beta/sites, no data is ever returned with the complete response below. This is clearly not a standard Graph API throttling response as it doesn't contain Retry-After. Can this be fixed please?
HTTP/1.1 429
Content-Type: application/json
request-id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
client-request-id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"4","ScaleUnit":"005","RoleInstance":"AGSFE_IN_33"}}
Strict-Transport-Security: max-age=31536000
Date: Wed, 01 Jul 2020 11:08:23 GMT
Content-Length: 271
Cache-Control: private, proxy-revalidate
Connection: Keep-Alive
{
"error": {
"code": "activityLimitReached",
"message": "The request has been throttled",
"innerError": {
"code": "throttledRequest",
"date": "2020-07-01T11:08:23",
"request-id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
}
}

Thanks for your feedback, we will need to investigate this issue.

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.


feat: optimize cache performance

📑 Description
https://github.com/patrickmn/go-cache package use sync.Mutex, this PR replace it to sync.Map for better performance.
And also refactor Increment and Decrement method to int64 for atom control (atomic package doesn't support int)
✅ Checks

[x] Added test cases for my code

Summary by CodeRabbit

New Features

Enhanced handling of unary server interceptors for improved performance.

Bug Fixes

Improved atomic operations in cache methods to handle int64 values, ensuring better precision and reliability.

Refactor

Transitioned cache storage to use sync.Map for better concurrency management.
Updated method signatures in cache interfaces to accept and return int64 values.

Tests

Added concurrent tests for cache increment and decrement operations.
Adjusted existing tests to accommodate int64 values.

Dependencies

Updated and added various dependencies for improved functionality and security.

@coderabbitai review

@coderabbitai review

@coderabbitai full review

https://github.com/coderabbitai review


In this project, is FLOPs equal to MACs？

Thanks for your excellent work. In this project, is FLOPs equal to MACs？

No, 1 MAC= 2 FLOPs (mul and add)

@ThanatosShinji first thanks so much for your project, I find it very very neat and useful.
I have been studied your code for profiling. While I understand your original implementation is assuming x86, it is not exactly accurate given your explanation above for the difference between ALU operation and MAC unit. ALU and MAC are almost always separate units on all the processors (that I know).
I feel the challenge here is how to fairly describe the network compute complexity. While the current MAC accounting can give a reasonable ballpark for CNN, if you use the same method to estimate newer topology like transformer-based networks it will be way off. Also training and inferencing often have quite different compute complexity for operations like activation functions.
I am working to separate the current accounting into two buckets: MAC & ALU ops. I am trying to add an implementation for inferencing first as it is earlier and cleaner. If you are interested to take a look at my work I'll share my commit with you later and hopefully I can help to improve this area in your project

@MarvinChao Thanks for your interest! The initial idea of the MAC design is to tell people the complexity change between sigmoid and hardsigmoid. Of course, ALU and FPU usually have their own backend port. As you mentioned, it's difficult to describe all OPs on all platforms. Transformer-based networks are memory-intensive models, if the input sequence is less than some value. In this case, the parameter size can tell the inference complexity.


chore(main): release 1.7.0

:robot: I have created a release beep boop
1.7.0 (2024-08-13)
Features

add name to BasaltError (3639e9c)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/Basalt-Lab/basalt-helper/releases/tag/v1.7.0 :sunflower:


fix: recognizer bug

Description
A dialog and a lu file with the same name should exist simultaneously. But the lu file may be deleted by users.
Add check on the above scenario.
Task Item
#minor
Screenshots

Coverage decreased (-0.005%) to 51.153% when pulling 18522cca0d4b2e113adba5d359a22330d080d213 on recognizerBug into 7019ef096e9361f104317b25151a6f0b2add4de1 on main.


website: redirect to /docs/community

Description
close #2927
https://lima-vm.io/community/ should just redirect to https://lima-vm.io/docs/community/ .
Testing

https://deploy-preview-2937--lima-vm.netlify.app/community/ doesn't seem redirected to https://deploy-preview-2937--lima-vm.netlify.app/docs/community/

https://deploy-preview-2937--lima-vm.netlify.app/community/ doesn't seem redirected to https://deploy-preview-2937--lima-vm.netlify.app/docs/community/

The redirection from /community/ to /docs/community/ has been fixed. Please check the latest deployment preview at your convenience.


presence constraint should reject more whitespace than just spaces

The backslash here needs to be escaped, since it appears in a ruby double-quoted string:
def add_presence_constraint(table, attribute)
  name       = "#{table}_#{attribute}"
  conditions = "#{attribute} !~ '^\s*$'"
  execute("ALTER TABLE #{table} ADD CONSTRAINT #{name} CHECK (#{conditions})")
end

In Ruby, \s turns into a space character, as you can see:
2.3.3 :004 > puts "'\s'".bytes
39
32
39

Just to confirm, here is a constraint created by the gem:
Check constraints:
    "users_email" CHECK (email::text !~ '^ *$'::text)

This fix adds escaping so that the backslash survives into Postgres.
Also: it would be nice to have a new category of tests that actually generate the constraints and verify that they work as expected. That would have caught this bug. In my own gem db_leftovers I have tests for MySQL and Postgres that only run if you have set up a database and made a configuration file pointing at it. Are you interested in a PR to add something similar to rein?

Also: it would be nice to have a new category of tests that actually generate the constraints and verify that they work as expected. That would have caught this bug. In my own gem db_leftovers I have tests for MySQL and Postgres that only run if you have set up a database and made a configuration file pointing at it. Are you interested in a PR to add something similar to rein?

Definitely, it would be good to integrate it all against a real database.

Nice fix, thank you!


[docs] Discuss and document what is and isn't an acceptable community triplet

From discussion:
We would like to assume that, in general, community triplets are fine to submit and be merged. However, we should have some rules set out for what we consider to be "unacceptable" community triplets (note that this is not an exhaustive list):

Older versions of compilers are not acceptable; this is a list that will expand forever and we are not interested in supporting this.
Operating systems that are EOL are not acceptable. We request no XP nor Solaris triplets.

@strega-nil, do we need add above conclusion to https://github.com/microsoft/vcpkg/blob/master/docs/users/triplets.md#community-triplets?


[Feature Request] Support delta aggregation temporality in Otel metrics

Is your feature request related to a problem? Please describe.
NewRelic at https://docs.newrelic.com/docs/more-integrations/open-source-telemetry-integrations/opentelemetry/best-practices/opentelemetry-best-practices-metrics/#otel-histogram needs to let users use DELTA temporality instead of CUMULATIVE. See https://github.com/open-telemetry/opentelemetry-specification/blob/ce50e4634efcba8da445cc23523243cb893905cb/specification/metrics/sdk_exporters/otlp.md#opentelemetry-metrics-exporter---otlp for the spec on it.
Describe the solution you'd like
We should have a otel metrics option to set the aggregation temporality which should continue to default to cumulative. I believe this is done in the Rust library via an aggregate selector option (which seems removed from the config pipeline in 0.11.0?) and it looks like we have our own AggregatorSelector that we'd have to plug that into. I can help research at a deeper level if needed.
When complete, the TypeScript and Python SDKs should expose this option.

@cretz
This is pretty easy and I already have updates prepared for the underlying libs. https://github.com/tokio-rs/tracing just released which is what I was waiting for.
Will get to it this week most likely


Remove deprecated legacy backends

The GTC toolchain is now very mature and has only a few minor bugs to iron out. It implements the parallel model very well. The legacy toolchain is no longer maintained, and does not clearly implement the parallel model. In the next release of GT4py let's remove the old code.
When doing this, we need to also remove the dawn4py integration since it was only ever integrated with the legacy backends.
Steps:

[x] Disable tests and unregister backends (#620)
[ ] Remove unused backend files
[ ] Remove unused tests
[ ] Move references to gt_backends.py and other legacy files to better locations
[ ] Remove GridTools1 from the source manager and update regression tests to use GridTools2 sources

I propose we also remove the gtc: prefix from all backend names.

Yes, agreed 🎉 ! I was going to do that in a separate branch after this one.

Yes, agreed 🎉 ! I added it to the list above.

This is done!


analyze date type error

sometimes analyze empty string "" to be a Bool type . hope you can solve it .

@smalldu Can you provided a bit of more example on this?
Maybe a code snippet?

  for item in json["result"]["items"]{
        for (k,v) in item.1["room"].dictionary!{
                 print("\(v.type),\(v)")
                //I found v is a empty string  but type is Bool  yesterday, but i can't reproduce it now.
        }
  }

if i reproduce it someday , i will show you the json data and code snippet

Cool, feel free to reopen this if needed.


Add dialog to VNodeKind

https://html.spec.whatwg.org/#the-dialog-element

Sorry this did not get added before. Closing as this was superseded by #245


Sort functionality on Home Page is not working

Latest dev branch
Test case :
Step -1 : Open Home page  e.g., https://rair.market/
Step -2 : Try "Sort by Name"  on MARKET Tab and also on Videos Tab
Observation :  Selecting Name: A-Z  or Name: Z-A is having no effect on the order in which Collections or Videos tiles are displayed

PR - https://github.com/rairprotocol/rair-dapp/pull/251
Ready for testing
@sarora180673


Prevent a WebView from becoming a responder

I've tried adding a PanResponder to a View that holds the WebView as a child. But when trying to use onStartShouldSetPanResponderCapture, the WebView still responds to the touch.
A workaround is to set the WebView's scrollEnabled to false inside onPanResponderGrant, but that doesn't prevent the text zoom/selection from being triggered.

Try a transparent View absolutely positioned over the the WebView maybe?

@cmcewen The problem there is that the touch is already being handled by the time the View is there to block the touch.

I could take advantage of - (void)sendEvent:(UIEvent *)event in UIWindow to intercept the touch before it is sent to the UIWebView, but that may not be applicable here depending on how touch handling is done in React Native.

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/prevent-a-webview-from-becoming-a-responder
ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub.
Also, if this issue is a bug, please consider sending a PR with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.


join_CAZI ProtectedOutputException error

It appears that the annotate_split_assembly checkpoint is being retriggered by join_CAZI and then errorring with a ProtectedOutputException.  Possibly related to https://github.com/snakemake/snakemake/issues/884?
cat /data/brinkvd/isabl/data_lake/analyses/17/57/11757/logs/cluster/annotate_join_CAZI/unique/jobid6_6916c4cb-72b0-49d0-90a3-ae43bb5517a2.err
Building DAG of jobs...
Using shell: /usr/bin/bash
Provided cores: 1 (use --cores to define parallelism)
Rules claiming more threads will be scaled down.
Provided resources: mem_mb=1000, disk_mb=1000
Conda environments: ignored
Select jobs to execute...
ProtectedOutputException in rule annotate_split_assembly  in line 158 of https://github.com/vdblab/vdblab-shotgun/raw/0.4.0/workflow/rules/annotate.smk:
Write-protected output files for rule annotate_split_assembly:
    output: tmp, tmp-megahit_14026_GB101B_HJ2T2DSX5.assembly.fasta
    affected files:
        tmp-megahit_14026_GB101B_HJ2T2DSX5.assembly.fasta

~fixed~ avoided  with #60


arthur-saephan

I was so close to finishing the project just wasnt able to get my middle content to wrap

I was so close to finishing ahhhhhhj


DOC: Improved docs for jnp.fft.rfft and irfft

Part of #21461

Thanks @rajasekharporeddy! It looks like there is an issue with the example code: it's failing with a dimension mismatch error. Can you take a look? Otherwise looks great!

Thanks @dfm, I have fixed the indentation in code example. The outputs in code examples are checked and they look fine. I don't know why its failing with a dimension mismatch error. Can you please run the tests once again and check if it still failing with the same error.

Sorry, I got what the error here. Here we can not reproduce x using jnp.fft.irfft(jnp.fft.rfft(x). I will remove that code.

Rebased onto latest main and squashed all commits into one.


[FLINK-34458][checkpointing] Rename options for Generalized incremental checkpoints (changelog)

What is the purpose of the change
As one part of FLIP-406, this PR relocate the options for changelog under the prefix state.changelog.
Brief change log

Rename the options and deprecate the old ones.

Verifying this change
This change is a trivial rework and is already covered by existing tests.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@flinkbot run azure


fix the counting of event lumi number when addtional work is added

fixes #5489

Lots of errors like ```Error invoking TaskChainWorkloadFactory:
WMSpecFactoryException
Message: not defined parameters set(['Task1', 'Task2', 'Task3', 'Task4']): remove it
from

File "/build/cmsbuild/jenkins-workarea/workspace/DMWM-PR-unittests/SLICE/4/label/slc6_amd64-cloud-tiny/deploy/1.0.19.pre4/sw/slc6_amd64_gcc493/external/python/2.7.11-comp/lib/python2.7/unittest/case.py", line 329, in run
testMethod()
File "/build/cmsbuild/jenkins-workarea/workspace/DMWM-PR-unittests/SLICE/4/label/slc6_amd64-cloud-tiny/code/test/python/WMCore_t/WMSpec_t/StdSpecs_t/StepChain_t.py", line 392, in testStepMapping
testWorkload = factory.factoryWorkloadConstruction("TestWorkload", testArguments)
File "/build/cmsbuild/jenkins-workarea/workspace/DMWM-PR-unittests/SLICE/4/label/slc6_amd64-cloud-tiny/code/src/python/WMCore/WMSpec/StdSpecs/StdBase.py", line 809, in factoryWorkloadConstruction
workload = self.call(workloadName=workloadName, arguments=arguments)
File "/build/cmsbuild/jenkins-workarea/workspace/DMWM-PR-unittests/SLICE/4/label/slc6_amd64-cloud-tiny/code/src/python/WMCore/WMSpec/StdSpecs/StepChain.py", line 62, in call
StdBase.call(self, workloadName, arguments)
File "/build/cmsbuild/jenkins-workarea/workspace/DMWM-PR-unittests/SLICE/4/label/slc6_amd64-cloud-tiny/code/src/python/WMCore/WMSpec/StdSpecs/StdBase.py", line 79, in call
raise WMSpecFactoryException("not defined parameters %s: remove it" % additionalArguments)
'WMSpecFactoryException\nMessage: not defined parameters set([u'Comments', 'Step4', u'Step3', u'Step2', u'Step1', u'RequestString']): remove it

Thanks Eric, I put tight validation and it seems causing problem in different places. I updated the patch to handle this differently.

test this please


Replace tabulario/iceberg-rest with apache/iceberg-rest-fixture

We now publish the apache/iceberg-rest-fixture from the Java repository. The tabulario is severely outdated.

couple of places where tabulario image is currently used
https://github.com/search?q=repo%3Aapache%2Ficeberg-rust tabulario&type=code

can i take this issue?

@flaneur2020 sure thing, much appreciated 🙌


examples: add pmem mapreduce sample (first commit)

Please, consider this pull request. It is the first commit of the pmem mapreduce code sample. Thanks.

This change is

Reviewed 14 of 14 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


quafu.users.exceptions.UserError: 'Current priority is not allowed'

Dear developers,
I meet the error as the title says
quafu.users.exceptions.UserError: 'Current priority is not allowed'
I am using python 3.8.5 and pyquafu 0.2.9.
I am just running the example and the priority is the default value "priority=2". The code is below.
Please let me know if I can do something to debug.
Thank you.
cheers,
Yu
from quafu import User
import numpy as np
from quafu import QuantumCircuit
qc = QuantumCircuit(4)
test_ghz = """OPENQASM 2.0;
include "qelib1.inc";
qreg q[4];
h q[0];
cx q[0],q[1];
cx q[0],q[2];
cx q[0],q[3];
"""
qc.from_openqasm(test_ghz)
qc.draw_circuit()
from quafu import Task
task = Task()
task.load_account()
task.config(backend="ScQ-P20", shots=2000, compile=True, priority=2)
print(task.priority)
res = task.send(qc)
print(res.counts) #counts
print(res.amplitudes) #amplitude
res.plot_amplitudes()

Hi @bobeina ,
I had a private chat with quafu maintainers and the problem was solved.
I have no idea about your problem.
cheers,
Yu

Hi @bobeina ,
Thanks for using PyQuafu! Have you tried to reinstall or update it, because we have updated the pip package in recent days.

Hi @zhangyu0217 , thanks for reporting a bug. Have a good job😁.

@ScQ-Cloud I installed it two days ago.
After
from quafu import User
pycharm 2022.3.2 + virtualenv 20.13.0:
Process finished with exit code 132 (interrupted by signal 4: SIGILL)
With python console only:
Illegal instruction (core dumped)

@bobeina It seems that your CPU does not support AVX2.
This issue may help you https://stackoverflow.com/questions/49094597/illegal-instruction-core-dumped-after-running-import-tensorflow


updated to agones v1.40.0

Tks for the PR. I've updated Agones and other dependencies on https://github.com/Octops/agones-relay-http/pull/8.
I will close this one.


Option --composerNoProgress for dev apps building

Use case: going to use it here https://github.com/rugabarbo/yii2-contributor-vagrant/blob/master/vagrant/provision/once-as-vagrant.sh#L26 for silent composer downloads while vagrant machine building.

Merged. Thank you!


Allow environment members to add users

To enable set the following setting:
set.member.roles=owner,member
Addresses part of issue: https://github.com/rancher/rancher/issues/9017

@amy @cjellick Why?  This is eliminating the primary difference between member and owner, the other being the ability to delete it.
And I see no logic to prevent a member from adding a new owner and gaining that ability.

@vincent99 because customers. But yes, you're right. We need to add validation such that only owner can add other owners.
@amy I'm going to modify this PR to do that.


feat: "Try this:" custom code action title

Currently, the code action title in the lightbulb menu is hardcoded to Try this: <prettyPrintedSuggestionText>. This needs to be customized in various cases, such as teaching in non-English languages. This PR:

Adds a field toCodeActionTitle? : Option (String -> String) to Suggestion, which, if provided, can be applied to the pretty-printed suggestion text and transform it as desired (note that this application occurs prior to encoding, so we only pass the result, if any, in the Json version of the Suggestion structure; note also that we don't want to pretty-print twice, so we take in the resulting String as an argument instead of the SuggestionText itself)
Adds an argument codeActionPrefix? : Option String := none to addSuggestions to conveniently provide a default code action title prefix to use for all elements in an Array Suggestion which do not have a nontrivial toCodeAction? value.

See zulip for the feature request and discussion on the choice of default behavior.

awaiting-review


Afterqc with pypy

Hello,
I have a 12 paired end files(50gb~). For each file it takes me 14hrs approx to run with native python. I read that with pypy command it runs 3 times faster. But when i edit my script with pypy command it returs error saying there is no such command. Am i need to download somwthing to use it with pypy command?

You have to install pypy first. See: http://doc.pypy.org/en/latest/install.html
BTW, I suggest to use fastp, instead of AfterQC. fastp is another tool I developed, providing all AfterQC features, but 10x faster.

I did analyze the first part of my experiment using AfterQc, is it better
to use this new tool? I do not want to have variability.
Thanks for the above link.
Kuldeep Makwana
(Ph.D. candidate regulatory biology)
SR 271,BGES
Cleveland State University.
216-262-9156
On 4 February 2018 at 19:16, Shifu Chen<EMAIL_ADDRESS>wrote:

You have to install pypy first. See: http://doc.pypy.org/en/latest/
install.html
BTW, I suggest to use fastp, instead of AfterQC. fastp is another tool I
developed, providing all AfterQC features, but 10x faster.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OpenGene/AfterQC/issues/33#issuecomment-362952699,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Afd3lo-EgvUpgfzoFcU7ul2igqMT5Ubbks5tRkhtgaJpZM4R4rs7
.

It provides similar quality, but much higher performance.
But since you have done the first part of analysis using AfterQC, I suggest you to continue use AfterQC for this project.
If you're using Ubuntu, you may be able to install pypy with: sudo apt-get install pypy, or sudo pip install pypy.
If these two commands don't work, you can download and install it manually.

Thank you again so much.
Kuldeep Makwana
(Ph.D. candidate regulatory biology)
SR 271,BGES
Cleveland State University.
216-262-9156
On 4 February 2018 at 19:23, Shifu Chen<EMAIL_ADDRESS>wrote:

It provides similar quality, but much higher performance.
But since you have done the first part of analysis using AfterQC, I
suggest you to continue use AfterQC for this project.
If you're using Ubuntu, you may be able to install pypy with: sudo
apt-get install pypy, or sudo pip install pypy.
If these two commands don't work, you can download and install it manually.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OpenGene/AfterQC/issues/33#issuecomment-362953174,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Afd3ltAn7-WPWWKJOZ1b2_aErWzgAuigks5tRkn1gaJpZM4R4rs7
.

How to install it on batch computing? The shell command for Batch computing
does not accept "sudo" commands. Any way out?
Kuldeep Makwana
(Ph.D. candidate regulatory biology)
SR 271,BGES
Cleveland State University.
216-262-9156
On 4 February 2018 at 19:24, Kuldeep Makwana<EMAIL_ADDRESS>wrote:

Thank you again so much.
Kuldeep Makwana
(Ph.D. candidate regulatory biology)
SR 271,BGES
Cleveland State University.
216-262-9156 <(216)%20262-9156>
On 4 February 2018 at 19:23, Shifu Chen<EMAIL_ADDRESS>wrote:

It provides similar quality, but much higher performance.
But since you have done the first part of analysis using AfterQC, I
suggest you to continue use AfterQC for this project.
If you're using Ubuntu, you may be able to install pypy with: sudo
apt-get install pypy, or sudo pip install pypy.
If these two commands don't work, you can download and install it
manually.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OpenGene/AfterQC/issues/33#issuecomment-362953174,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Afd3ltAn7-WPWWKJOZ1b2_aErWzgAuigks5tRkn1gaJpZM4R4rs7
.


delay

Is your feature request related to a problem? Please describe.
It should be able to add the delay by command line.
Describe the solution you'd like
The cli should be like the following example:
hjs generate get authors/{id} --delay 10000

It will include 10000 milliseconds.

0.20.0 ❤


add val check analyze and magnet loss

Codecov Report
Attention: Patch coverage is 69.04762% with 13 lines in your changes are missing coverage. Please review.

:exclamation: No coverage uploaded for pull request base (main@fd499ac). Click here to learn what that means.

Files
Patch %
Lines

...kits/magnet_segmentation/backend/workflows/aedt.py
69.04%
13 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #177   +/-   ##
=======================================
  Coverage        ?   87.47%
=======================================
  Files           ?       12
  Lines           ?      551
  Branches        ?        0
=======================================
  Hits            ?      482
  Misses          ?       69
  Partials        ?        0

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


Questions about SQL Query metrics

Hello :)
We are new to using the databricks sql driver and have a question.
After executing a query, is there a way to see the metrics for that query?
We were able to see the metrics in the Databricks Cloud SQL History like the screenshot below.
I would like to receive this metric information after a successful query execution in the SQL driver. (even with the query progress callback if possible)
Do you currently have a way to receive metrics or are there plans to provide a way?
Thank you.

Hi @bitofsky! Sorry for not getting back for a while. Unfortunately, currently it's not possible to get query metrics via this library. I don't know if there's a public API for this, so please contact Databricks support - I'm sure they can provide a better help for your case


YETUS-874. Add support for Cirrus CI from Cirrus Labs

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://builds.apache.org/job/yetus-github-multibranch/job/PR-49/1/console in case of problems.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
107
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

_ master Compile Tests _

0
mvndep
10
Maven dependency ordering for branch

_ Patch Compile Tests _

0
mvndep
4
Maven dependency ordering for patch

+1
markdownlint
2
There were no new markdownlint issues.

+1
shellcheck
0
There were no new shellcheck issues.

+1
shelldocs
0
There were no new shelldocs issues.

+1
whitespace
0
The patch has no whitespace issues.

+1
yamllint
1
There were no new yamllint issues.

_ Other Tests _

+1
asflicense
23
The patch does not generate ASF License warnings.

174

Subsystem
Report/Notes

Docker
Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/yetus-github-multibranch/job/PR-49/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/yetus/pull/49

Optional Tests
dupname asflicense markdownlint yamllint shellcheck shelldocs

uname
Linux 0a2e1334420d 4.4.0-144-generic #170~14.04.1-Ubuntu SMP Mon Mar 18 15:02:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
precommit/src/main/shell/personality/yetus.sh

git revision
master / d76a93e

Max. process+thread count
46 (vs. ulimit of 2000)

modules
C: . asf-site-src precommit U: .

Console output
https://builds.apache.org/job/yetus-github-multibranch/job/PR-49/1/console

versions
git=2.7.4 maven=3.3.9 shellcheck=0.6.0 markdownlint=0.15.0 yamllint=1.12.1

Powered by
Apache Yetus 0.11.0-SNAPSHOT http://yetus.apache.org

This message was automatically generated.

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://builds.apache.org/job/yetus-github-multibranch/job/PR-49/2/console in case of problems.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
43
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

_ master Compile Tests _

0
mvndep
10
Maven dependency ordering for branch

_ Patch Compile Tests _

0
mvndep
4
Maven dependency ordering for patch

+1
markdownlint
1
There were no new markdownlint issues.

+1
shellcheck
0
There were no new shellcheck issues.

+1
shelldocs
0
There were no new shelldocs issues.

+1
whitespace
1
The patch has no whitespace issues.

+1
yamllint
0
There were no new yamllint issues.

_ Other Tests _

+1
asflicense
21
The patch does not generate ASF License warnings.

105

Subsystem
Report/Notes

Docker
Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/yetus-github-multibranch/job/PR-49/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/yetus/pull/49

Optional Tests
dupname asflicense markdownlint yamllint shellcheck shelldocs

uname
Linux fafa6630fcfa 4.4.0-144-generic #170~14.04.1-Ubuntu SMP Mon Mar 18 15:02:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
precommit/src/main/shell/personality/yetus.sh

git revision
master / 8df783b

Max. process+thread count
45 (vs. ulimit of 2000)

modules
C: . asf-site-src precommit U: .

Console output
https://builds.apache.org/job/yetus-github-multibranch/job/PR-49/2/console

versions
git=2.7.4 maven=3.3.9 shellcheck=0.6.0 markdownlint=0.15.0 yamllint=1.12.1

Powered by
Apache Yetus 0.11.0-SNAPSHOT http://yetus.apache.org

This message was automatically generated.

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://builds.apache.org/job/yetus-github-multibranch/job/PR-49/3/console in case of problems.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
110
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

_ master Compile Tests _

0
mvndep
11
Maven dependency ordering for branch

_ Patch Compile Tests _

0
mvndep
4
Maven dependency ordering for patch

+1
markdownlint
2
There were no new markdownlint issues.

+1
shellcheck
1
There were no new shellcheck issues.

+1
shelldocs
0
There were no new shelldocs issues.

+1
whitespace
0
The patch has no whitespace issues.

+1
yamllint
0
There were no new yamllint issues.

_ Other Tests _

+1
asflicense
21
The patch does not generate ASF License warnings.

176

Subsystem
Report/Notes

Docker
Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/yetus-github-multibranch/job/PR-49/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/yetus/pull/49

Optional Tests
dupname asflicense markdownlint yamllint shellcheck shelldocs

uname
Linux b4e650f3a0d2 4.4.0-137-generic #163-Ubuntu SMP Mon Sep 24 13:14:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
precommit/src/main/shell/personality/yetus.sh

git revision
master / 5aca27b

Max. process+thread count
50 (vs. ulimit of 2000)

modules
C: . asf-site-src precommit U: .

Console output
https://builds.apache.org/job/yetus-github-multibranch/job/PR-49/3/console

versions
git=2.7.4 maven=3.3.9 shellcheck=0.6.0 markdownlint=0.15.0 yamllint=1.12.1

Powered by
Apache Yetus 0.11.0-SNAPSHOT http://yetus.apache.org

This message was automatically generated.


Upgrade: Dependencies and dist

Run JSCS in posttest as well as eslint.
Leave no-bind disabled for now. Intend to enable later.
Karma 0.13.18 is broken, so lock into 0.13.9 for now (see
https://github.com/karma-runner/karma/issues/1782 )

Current coverage is 100.00%

Merging #68 into master will not affect coverage as of b41baf0

@@            master     #68   diff @@
======================================
  Files           16      16
  Stmts          147     147
  Branches         0       0
  Methods          0       0
======================================
  Hit            147     147
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of b41baf0

Powered by Codecov. Updated on successful CI builds.

Merging!


Add symbol table writing support

This PR adds symbol table for

ELF & MachO object files
in GNU, GNU64, Thin, BSD and Darwin64 format
s and S modifiers
(includes code from zld)

I will have a look this evening - I think I have an idea for a cleaner solution so will give that a try then.

I've created PR #26 which might help? Feel free to merge if its something along the right lines for this. :)

Ahh that's better. It should do it. I will make the changes to this later along with merging #26
Thanks.


How to use netDxf to read 3Dsoild from DXF

If netDxf does not have this feature, can you recommend another package?

Read the README.md file to the end. I do not know of any free DXF reader capable of making sense of the data stored in the 3DSolid, and probably never will be one. One thing is reading its contents and another making some sense out of it.

Thanks for answer. It's really hard to read 3D figure from DXF. Now I get it from STL file that exported from AutoCAD.

Alternatively, if you use AutoCad, you can convert your 3D Solid into a Mesh and import that.

wow. very creative


--version causes httpie to exit with status code 1

--version should return 0 because the program succededed in providing the requsted information.

Thanks!


Add xibs to podspec

Cambios introducidos :

Soluciona el crash importando la sdk como podspec. Se agregan los xibs a los resources en el podspec

Codecov Report

Merging #1619 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1619   +/-   ##
=======================================
  Coverage   54.62%   54.62%
=======================================
  Files         267      267
  Lines       21467    21467
=======================================
  Hits        11727    11727
  Misses       9740     9740


[FEATURE]: remove instrShape from mma encoding

Currently, I have no idea how to fix this type converter for slice encoding: https://github.com/openai/triton/blob/main/lib/Conversion/TritonGPUToLLVM/TypeConverter.cpp#L143
For flash attention, I will visit all dotOp to determine the smallest mmaV3InstrN, please check this PR:
https://github.com/openai/triton/pull/2169


Change the destination of where failed script is written to

This is typically what we see when a job failed,
ERROR: [susie_twas_1]: [0]:
Failed to execute Rscript /home/aw3600/.sos/97de343d7da3f0ce/susie_twas_1_0_ff982a12.R
exitcode=1, workdir=/home/mambauser/data
---------------------------------------------------------------------------
[susie_twas]: Exits with 1 pending step (susie_twas_2)

The line Rscript /home/aw3600/.sos/97de343d7da3f0ce/susie_twas_1_0_ff982a12.R is how we track and try to reproduce the error, to debug. However, long story short is that we are working with cloud computing where /home/aw3600/.sos/ is a path in the VM that gets destroyed after a command ends. Although it is possible to copy the entire .sos folder to permanent AWS S3 bucket before the VM dies, it is non-trivial to sync the entire folder ... all we care is this file susie_twas_1_0_ff982a12.R.
I think this conversation was once brought up but I don't remember we have an option to do it yet -- can we specify something on the sos run interface to make these temporary scripts saved to a given folder? I like the behavior of:
R: ... , stdout =, stderr =

which writes the stderr and stdout to where I want them. I wonder if we can add something like:
R: ..., stdout=, stderr=, debug_script="/path/to/debug/folder"

and only keep the scripts to /path/to/debug/folder when there is an issue -- and change the prompt Failed to execute  to pointing to this script?

Cannot you -v outside_sos:/home/user/.sos to save the content outside of the VM?

The suggestions we get from the vendor team is to avoid any communications between VM and S3 directly especially for frequent file exchanges. That was why their setup is to write data only to specific folders pre-mounted which later gets automatically copied to S3. I guess we can try to mount it as you suggest and see if it is feasible for large embarrassing parallel workflows involving many signature checks. I will report it back here if it seems too slow.

Let me know if it works for you. It is pretty easy to add this setting from command line but the problem is that ~/.sos/config.yml is the default configuration path and moving ~/.sos away will force users to use this option all the time. It is possible to keep ~/.sos/ but move the command log to somewhere else though.

@BoPeng thank you! Currently we cannot test it properly because the way our vendor set it up is that the S3 bucket is mounted with read-only. The automatic process runs the sync separate from our SoS run so we don't really write there the real time. I am asking them to reconfigure it and am waiting for the response.

It is possible to keep ~/.sos/ but move the command log to somewhere else though.

I think all we would need is to move the failed script ("command log"?) elsewhere. That's what we are interested in. If that's written to a folder that we sync between the VM and S3 that'd be the best. We should be able to leverage that and test it out.

It is possible to keep ~/.sos/ but move the command log to somewhere else though.

@BoPeng I'm sorry, it turns out we do need this feature -- to keep ~/.sos where it is but set the failed script to write to somewhere else, perhaps the output folder? The problem is that we did try to mount S3 bucket to ~/.sos as the cache. However, the I/O is an issue and we encounter SQLite failure frequently for large jobs to the extend that we cannot get our analysis done this way ..  We will need to keep ~/.sos local.
Can we change the default for SoS anyways to write the command log to the same folder as where people set stderr to be, and if they did not set it we still write to ~/.sos? Thank you in advance for helping with this emergency fix!

The problem is that the .sos/... has the complete script that can be executed by Rscript .... etc, but stderr is a file with other content, and cannot be directly executed. Would not be enough if we write the content of the script also to stderr?

Thank you @BoPeng it's very helpful pointer to where to modify it. I have change it to:
https://github.com/vatlab/sos/pull/1533/files
It seems good. For example for this script:
[1]
R:
  print(hello)

it says:
Failed to execute Rscript /home/gw/.sos/aee75cfb40461b96/1_0_a0afcf75.R
exitcode=1, workdir=/home/gw/tmp/04-Feb-2024

but when i set stderr file explicitly:
[1]
R: stderr="file.txt"
  print(hello)

the temporary script gets into the current folder properly:
Failed to execute Rscript /home/gw/tmp/04-Feb-2024/1_0_9b3f78e8.R
exitcode=1, workdir=/home/gw/tmp/04-Feb-2024, stderr=file.txt

Do you see any obvious issues with this patch? Please improve as you see fit. I wonder if we can also release a new version to conda for us to pull the changes and apply it to our jobs on AWS. Thanks!

How about a combination of both patches? I think having the script directly in stderr can be useful especially when stderr is the default (sys.stderr).

If we do that, for consistency and convenient, we should also write the script to
https://github.com/vatlab/sos/blob/23bd5e95f977260036b23e19a7cd782548bc8ce3/src/sos/task_executor.py#L311
This is because  sometimes it is not entirely clear what went wrong with a task when it fails due to variable replacement problem.

@BoPeng I brought the other patch back via: https://github.com/vatlab/sos/commit/ffeac9cb300a3e247c48598649c5118014a8a4a2 instead of writing the entire script, because the script can be very long in many applications.
I think by placing the error message into stderr, it should also reflect into the task status so we don't have to modify task_executor.py?
The patch does not work as is, however. The error message is
TypeError: a bytes-like object is required, not 'str'

I think this is because you opened the stderr file with b option so we need to se.write a byte object not str? I'm not sure how to do that. I tried to wrap it around with encode_msg which bypasses the problem but the output has non-ASCII characters in it ... perhaps you know a quick fix to it :)

ok, the patch is updated, it should work w/wo option stderr and w/wo task:. Please let me know if it works as expected.

Thanks @BoPeng the patch works well in a couple of tests I tried. But for the conda release -- I see that there are some failed tests on #1533 should they be ignored?

I will clean up the code (pylint) and make a release.

sos 0.24.5 is relased.

Thank you @BoPeng . It's not here yet: https://anaconda.org/conda-forge/sos but i guess it will show up soon?

Yes, it should be there in a few hours after the pypi release.

I am not sure if that will be the  case ... according to the release history, conda should have version 0.24.4: https://pypi.org/project/sos/#history
However, it is still 0.24.3  https://anaconda.org/conda-forge/sos
Perhaps there are some check fails that prevents it from getting onto conda-forge?

It's posted after I merged PR.


Standardized output of api

This MR depends on #204 and should be applied after it.

Please rebase, too much unrelated changes to understand the real scope of this PR

Hi @chemelli74,
I have done the rebase and now it can be merged without any conflicts.
I added two new outputs to get the same output as other methods in test library with debug level on.


[FLINK-26797][runtime] Hardens ZKCheckpointIDCounterMultiServersTest

What is the purpose of the change
There was a connection issue again with ZK that supposedly caused the IDCounter to be incremented once too often.
Brief change log

I fixed the issue in the same way it was done in FLINK-26120.
Additionally, I extended the ci log4j properties to log also request handling on the ZK server side

Verifying this change
A CI run with a forced ZK test failure was added temporarily to verify the log4j configuration changes.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

Thanks, @autophagy . I removed the debug commit and rebased the branch. I'm gonna go ahead and create backport PRs.


City

Hi there,
I really like this little awesome library! However, I can't set the city on the Address Type, how is this supposed to work?

There is Locality field on the address


[bug] navigator.mediaCapabilities.decodingInfo returns a promise but is treated as a synchronous method in useMediaCapabilities

@wingleung cc @addyosmani
const useMediaCapabilities = (mediaConfig, initialMediaCapabilities = {}) => {
  let mediaCapabilities = {
    supported,
    hasMediaConfig: !!mediaConfig
  };

  mediaCapabilities = (mediaCapabilities.supported && mediaCapabilities.hasMediaConfig)
    ? navigator.mediaCapabilities.decodingInfo(mediaConfig)
    : {
      ...mediaCapabilities,
      ...initialMediaCapabilities
    };

  return {mediaCapabilities};
};

I think navigator.mediaCapabilities.decodingInfo(mediaConfig) was considered synchronous method in above implementation but according to MediaCapabilities.decodingInfo() MDN doc, it's asynchronous method that returns a promise.
So I wonder if this hook returns false for supported property all the time.
And this highlights an issue with the tests which should be catching such problems.
@wingleung Would you mind addressing this issue? Thank you.

@wingleung
I thought this dropped battery hook could be helpful for writing tests for async methods.

hmm I guess I was too focused on the test case in the unit tests, PR ready for review ☝

@wingleung cc @addyosmani
Thank you! I'll review soon.


Scene file 'CharacterSelect.tscn' and 'Title.tscn' appears to be invalid/corrupt.

There is a way to fix this? (Sorry if I sounded weird or mean)

Can you specify which branch and revision you were using?

Can you specify which branch and revision you were using?

I'm using Main Branch meaning Godot 4 update. (Sorry if I sounded weird or mean)

Yeah I can confirm that this is happening. I take blame for this one as I was kind of in a rush last night (because work) so I didn't check things over well enough. We had something similar happen with the test level scene file not too long ago (claims to be corrupt but actually works fine?) and Sharb thinks it has to do with the editor configuration? DW, if you're not seeing this error, mind doing a comparison between your local copy of the repo and a fresh download of the repo? Would be nice to nail this down once and for all.

Turns out the problem was due to preloading the Character Select scene in the Title script. Changing it to use "load" instead solves the issue.


Kong hybrid mode deployment with docker containers

Summary
Kong hybrid mode deployment have to be added as future with additional environmental parameters during runtime to select the mode ( CP DP) and pass the generated certificates to kong container image during runtime.

Hi there,
Please have a read of https://www.cryptobells.com/christmas-from-kong-container-control-planes/, I discussed this a bit. Also bear in mind Kong 2.1 will release with support for PKI mTLS, which will change deployment models even more. Thanks!


parse canner schema string to jsx

Parse string to jsx
I have a string schema and I want parse to canner jsx. I have been using react-jsx-parser, but don't work. is there anything to do it?

Already answered on spectrum here, so I closed this one


Twitter Moments

Is it possible to retrieve user's Moment using this library ?
I think not, as of now.
It will be great if feature is added.

Currently, no, but it looks feasible. Will add to the backlog.
If someone wants to implement this, PRs are welcome!

@arusahni Actually, it is exactly like you said.
I will try to create it and send a PR
Thanks for your great work btw :+1:


Update Tabman to 1.0.7

Updated Tabman and Pageboy pods to latest available versions. This also removes the need for the local Tabman fork as the insetting issues from #923 have been fixed in an update.

Awesome, thanks @msaps! I'll get better at contributing back to Tabman upstream too 😇

@rnystrom For what it's worth, I'm only seeing 20 changes of this PR via the app. There's clearly a tonne more I'm missing!
You seeing the same?

@Sherlouk ugh yup same here. We should be using the paging API on this. However the files VC is made w/ a UITableViewController, we should migrate it to use IGListKit and BaseListViewController since that has paging built in.
In fact we should probably be using that for everything.......


Cannot load native modules inside a webview element after a navigation

My problem is mostly described in the title and can be easily reproduced with any native module. I use a webview element in which I load native modules that cannot be reloaded after a navigation request. I get the error message:
Module did not self-register.

The module does work correctly before the navigation. This problem does not occur with the render process which created that webview. My guess is that the render process is re-created for each navigation request which in turn results in a new node instance. Calling process.pid always shows another id whereas the process id of the webview element does not change after a navigation.
As a side note: this problem is reproducible with NodeJS itself. I am therefore not quite sure if this is a problem that can be resolved by Atom Shell. Here is a small snippet that can be executed inside Atom Shell or a NodeJS application:
require('<path to native module>');
var path = require.resolve('<path to native module>');
delete require.cache[path];
require('<path to native module>');

I know that deleting an entry inside the require.cache property is not a good idea, but this simulates the behavior with a navigation pretty good. You can of course also just open the dev tools of the webview element and require a native module inside there, navigate somewhere else and require the same module again.
I have read the blog about Multi-Context in node v0.12 (which I guess is also supported in iojs), and expected that already loaded native modules (shared libraries) can be reused across different node enviroments.
The reason why I am using a webview element instead of the rendering process itself is pretty easy. I dislike the white screen that is displayed for a short amount of time when I navigate to another page. That is probably due to the process being recreated on each navigation.
I guess I could also just load those native modules inside the browser process and just use the remote api to invoke them, thus preventing them from being reloaded after a navigation. However, I would like to prevent sharing them between all rendering process.
Is there a solution without loading those native modules inside the browser process and calling them through the remote api?

The design of Node's module system doesn't allow loading the same native module for multiple times in one process, so in atom-shell the renderer process is forced to restart when a page navigation happens or page is reloaded, in this way a page navigation would behave like restarting a Node process.
However in webview the renderer process doesn't restart for navigation or reloading, which prevented the native module to load when it has already been loaded in the same process.
Ideally the page in webview should behave the same with the page in BrowserWindow, but Chromium somehow treats it differently, I'm still looking into it.

I investigated a little further and found a comment inside node's source code: Link
Seems like it's indeed a NodeJS problem with multi-contexts where node tries to reload shared libraries even though they were already loaded in another node environment.
Am unsure if this issue can be closed since it should resolve itself as soon as node fixes module loading.

Seems like it is working as intended when already loaded shared libraries do register themselves again in the new node environment. See the following diff patch for more details:
https://gist.github.com/Shinryuuji/0aab152a0c431760868e
Am note sure if this could have any side effects. Any ideas?

@Shinryuuji Lots of native modules do not work correctly if you load them multiple times in the same process, because it is very likely their C++ code rely on some global states. So even your patch solved the module not loading problem, lots of native modules will still not work after a page navigation.
The correct solution is to force webview to restart render process on navigation, which behaves in the exact same way with Node/io.js.

+1. This is kind of killing us in the Slack app.


[6.0] Int128 support in json

Support for round-tripping [U]Int128 through our JSON encoder + decoder.

@swift-ci test


#641: allow executing single matrix job

Closes #641

Might conflict with #845

I think it's an edge case and I would not worry too much about it 😅
On gitlab.com, I get the following behavior. Note that the job name has a : for matrix job now?

Seems that if someone creates the same job name as the matrix job, then we see only one of them in the UI

There is a inconvenience if we decide to roll with your suggestion.
test-job [beb, stage]
test-job [stage, beb]

Only one will execute the job the developer is after.
test-job --matrix="NAME=beb,TIER=stage"
test-job --matrix="TIER=stage,NAME=beb"

Here the developer is forced to know about the matrix variables, and ordering is irrelevant for him.

---
test-job:
  parallel:
    matrix:
      - SITE: denmark
        TIER: stage
      - SITE: sweden
        TIER: stage
  script: echo "Ok"

"test-job: [denmark, stage]":
  script: echo "Over"

Ok, you can actually override a parallel.matrix job :smile: I didn't know that, lol...

Seems like unspecified behavior on GitLab side 😅
Do you think it's ok to roll-it as is? I think it would be convenient to leave it working as implemented in this MR so that you can execute jobs as they appear in the output of
gitlab-ci-local --list

I feel like having the matrix option would be harder to discover. Even if we add it, we would need to add a message to let the users know about it if the command line argument is matching one of the matrix jobs or try to run it?
Also, I think the matrix option would need to be specified if one tries to execute multiple matrix jobs?

Implementing it "as-is" would be ok.
If we resolve https://github.com/firecow/gitlab-ci-local/issues/860 before next release

@hverlin The colon just conflicted here.
Let me know, when you've resolved, and we will add this to master.


API Endpoint: Send Course Report

Make an API endpoint for sending out a course scoring report.

I am going to attempt this

@BatuhanSA Are you still trying this?

yes I am going to work on it this week

Okay, good luck.
I will be on very low internet the next few weeks, so may not be very responsive.


Badges are down?

Hi!
Some time ago badges stopped showing stats.
How can I fix it?

@puf17640

@puf17640

Please use https://github.com/puf17640/git-badges/issues/52#issuecomment-1175972488
The author may have stopped developing the project

@dimkagithub @Slluxx
Please use #52 (comment) The author may have stopped developing the project

Thanks. Will try )

So just so you guys know, the API is up and running again and will be doing so for a long time now.


bower: fix licence header

https://github.com/inveniosoftware/invenio-assets/blob/master/invenio_assets/bower.py#L1-L8

Being fixed as part of #11

closed via #11


Update README.md

remove extra spaces

Hi, the trailing newline is actually on purpose: if it is not there and I add some text the git diff will show that the previous last line has been modified but in reality I just added a newline, the truly modified content is afterward.
Thanks for the PR!

Oh, no! I was just trying to close the space between the last word and the exclamation point. I used the GitHub online editor. It must have chomped the newline!