ci/Update container to atlas v0.38.1

Description
Upgrade the CI container to use atlas 0.38.1 in container v1.3.0. Point the current CI to the container at atlas 0.37.0.

@odlomax I think this setup I am experimenting with does what you wanted yesterday? - you can rebuild the container when you need to change the versions of some base packages, but you don't need to rebuild the container every time (container build takes 44 mins, ci takes 30 mins so I think its best not to roll into one set of actions that happens on every commit to a PR).
This is only a temporary solution, there are probably neater, nicer ways of working across the various Met Office repos. But its a proof of concept. It is also worth pointing out that the packages created are private to me - no-one can access my containers by default so I think its safe even for proprietary code (for now the image only contains open libraries).


When I try to implement this or just try to run the example scene, I don't see any flares

It's so weird.....
Though I found something wrong with directional light mode, the sample scene should still have one point light on and runs well.
I have fix the bug of directional light mode, update and see whether all the questions are fixed or not.
I can't really find the reason of your situation..

If no other question I'll close it.


Revert #239 "OCPCLOUD-2167: Test unhealthy node cases"

Reverts #239 ; tracked by OCPBUGS-22864
Per OpenShift policy, we are reverting this breaking change to get CI and/or nightly payloads flowing again.
Multiple payload failures due to Run multi-stage test test phase has required number of successful passes across payload jobs for including:control-plane-machine-set-operator failures
To unrevert this, revert this PR, and layer an additional separate commit on top that addresses the problem. Before merging the unrevert, please run these jobs on the PR and check the result of these jobs to confirm the fix has corrected the problem:
validate stability of new test or flake it

CC: @odvarkadaniel

PR created by Revertomatic:tm:

/lgtm

/label approved
Adding approved label to get the revert through in order to restore passing nightly jobs

/test e2e-aws-operator


GEDI L4C Footprint Level Waveform Structural Complexity Index

https://daac.ornl.gov/GEDI/guides/GEDI_L4C_WSCI.html

What is the conceptID for this dataset - I can't find it anywhere???

We basically need the ConceptID to add to this function then it should be straightforward...
https://github.com/Permian-Global-Research/chewie/blob/307ca3f881777f718e0daff1b619427170a68d4e/R/chewie-find.r#L190C1-L198C2

Looks like the answer is here! https://github.com/MAAP-Project/gedi-subsetter/issues/90


Direct access to audio_stream samples

In short, I have an audio_stream doing some processing and I want to display a waveform in my GUI. Without copying the entire buffer somewhere else during each process() call, is there a way to read the current buffer of a running audio stream?

There currently is no way to do it. Take note that audio_stream is a thin wrapper over portaudio. Have a look at portaudio API. If portaudio API allows it, then it can be added to audio_stream. I'll welcome a PR in that case.

I initially used Portaudio in my project directly and I'm in the middle of migrating it to Q. There were no fancy buffer types, just an array of floats so accessing sample data was trivial.

But look at it this way. audio_stream is real-time. It gets the samples as they come in. How would it know the audio samples that will happen in the future?

The waveform's size is equal to the current buffer size and refreshes every time a buffer finishes processing.

I initially used Portaudio in my project directly and I'm in the middle of migrating it to Q. There were no fancy buffer types, just an array of floats so accessing sample data was trivial.

In that case, you can access the contents of the buffer just fine. The mulli_buffer is just a wrapper over the buffer that Portaudio provides. See https://cycfi.github.io/q/q/v1.0_beta/reference/support/multi_buffer.html

Alternatively, we can provide access to the data in the form of T** (e.g. float**). Is that what you were asking for?
It's an easy tweak. The data is llready there. Would you be willing to do a PR and doc update?

Yes, that's exactly it. I'm willing to open a PR for this.

Portaudio doesn't allow you to read from a callback-based stream outside of the callback. Since audio_stream is always a callback stream, this might be impossible without significant changes to Q's API.

Portaudio doesn't allow you to read from a callback-based stream outside of the callback.

Yes, that is expected. It's a real-time system. All real-time audio systems have similar interfaces. You have to go through the callback.

So from what I understand the only way to access sample data outside of the callback would be to copy the buffer somewhere else every time the callback is run, right?

So from what I understand the only way to access sample data outside of the callback would be to copy the buffer somewhere else every time the callback is run, right?

Correct. Just make sure you synchronize access to your buffer from multiple threads.


[BUG]

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Help header module incorrectly displays white in black mode
Expected Behavior
Help header module displays black in black mode
Steps To Reproduce

start v.1.4.2
login the dashboard and see help module ui
change the ui mode to black mode

Environment
HertzBeat version(s): 1.4.2

Debug logs
No response
Anything else?
No response

done


Update third-party packages

What this PR does / why we need it:

Set the static and stable version of some packages from third-party vendor to avoid updating frequently
Remove some nested vendor packages
Update OpenSDS cli (osdsctl) tool

Which issue this PR fixes:
Special notes for your reviewer:
Release note:

Coverage remained the same at 43.667% when pulling 2e7ac27ce2d9c614246bacb20ab3a7de4101cd47 on leonwanghui:fixer into 9a2ba236630b61b3989fbb16f2b8dc8324f20570 on opensds:development.


Store private keys and passwords

Bring in declarative private keys, root passwords, etc. via a secrets module using simple .gitignore.
Example: adamlwgriffiths repo

Use age: https://github.com/ryantm/agenix

Example of age use: https://github.com/lovesegfault/nix-config/blob/master/hosts/jung/default.nix#L136

Use sops-nix: https://github.com/Mic92/sops-nix

Added secrets across SSH, PGP, and Syncthing with agenix.


AStar movement demo based on OpenRPG rewrite

Let me know if you find it explained well enough or if there's any problems with it.

I left in the encounters in as well to server as an example of how objects outside of the TileMap could be used as obstacle with AStar
included two Robis and one Godette :) just to make it more interesting and to show that this algorithm is generic enough that any number of Party "member" nodes can be used
made use of the Events singleton idea
also used _on_signal single function for catching all signals which are destructured through match given the msg Dictionary

Before doing a full code and comments review, could you improve some controls?

The player can't change direction when the characters are moving along a path. Clicking somewhere generates a new path but doesn't update the party's target move position. Same issue with using the keyboard
Moving the characters with the keyboard doesn't feel great. E.g. if you hold right, add the down key, then release the down key, the characters will stop although the right key is still held.
Tapping on an event/NPC cell should probably get the party to walk the cell in front of them

For the docstrings, may I proof them directly? I can write some general feedback on how you can simplify the style or make them more consistent. Things like avoiding parentheses or shortening some sentences.
The _on_signal method could use some docstring more than any other method. I also don't like it as except for you, the author, and unless you document everything, it's not clear which signal is triggering which bit of code or the expected keys in the message dictionary without browsing through the codebase.
func _on_signal(msg: Dictionary = {}, which: String = "") -> void:

I'd rather stick to _on_signal_name and one method per signal as it makes the code self documenting and will likely help with debugging and breakpoints.

Before doing a full code and comments review, could you improve some controls?

The player can't change direction when the characters are moving along a path. Clicking somewhere generates a new path but doesn't update the party's target move position. Same issue with using the keyboard
Moving the characters with the keyboard doesn't feel great. E.g. if you hold right, add the down key, then release the down key, the characters will stop although the right key is still held.
Tapping on an event/NPC cell should probably get the party to walk the cell in front of them

Yes, I didn't implement movement "at any time", it instead blocks once it's given a destination.
About the keyboard movement, never crossed my mind to check that case, I'll have to see what's going on there. At the moment I'm handling it via _unhandled_input which is also slower compared to _process so for it to be immediately responsive, if that's a goal, I need to reimplement it with _process.
With _on_signal, I'm not convinced either, what I like about is that it's one entry point to all signals and so it keeps everything contained, but on the other hand is as you say very hard to track what is happening so yeah, will go back to one function per signal.
I think it's best if I work on these changes first and then you can work on the comments - sorry I'm used to heavy language from my academic research time :)

All good, go ahead :)


Add Xcode 7.1 UUID

Just realized it's a dupe of #850 closing

@kaishin, I apologize for asking this here. I've been trying to figure out how I can contribute to this project and had a quick question. I've asked in a few different places but haven't gotten an answer and the issue still seems unresolved.
Am I the only one that can't build develop at 125c207a73d9f7584d52c2b6bd217f17ef327e20??
I have, like, 5 pull requests I want to submit, but I have not been able to test them against head of develop because it won't build. I assumed testing against head was a requirement submitting a pull request...
I've been trying to figure out why head is failing but to no avail. I'm still familiarizing myself with the codebase; hopefully, some of the community here will be willing to help me out and answer some of my questions when I have them so I can learn more and contribute to a plug-in that will help me out so much moving forward.

@neybis I am able to build post that commit. Did you open an issue for that with more details about the error you are getting?

Nope, I just commented on the commit itself. I'm running Xcode 6.1. Thank you for your response. I'll open up an issue :)


Initial implementation of pocli

Initial implementation of policy management command line interface supporting the following operations:

adding a policy for a scheme
activating a previously added policy for a scheme
deactivating all policies for a scheme
getting a policy for a scheme based on its UUID
getting the currently active policy for a scheme
listing all policies for a scheme

@sterofim, I have just started, will finish the review by end of tomorrow


Exif data not being read

Expected Behavior
Uploaded image should have correct orientation based on Exif data.
Actual Behavior
Uploaded image is not rotated correctly.
Steps to Reproduce the Problem

Duplicate upload demo code
Upload rotated image with exif data

Specifications

Browser: Chrome
Version: 66

I can't get the enableExif: true, option to work. I've essentially duplicated the upload demo code and I'm using the same versions of croppie.js and exif.js, but my uploaded images are not correctly oritented. However, the same image uploaded to the demo page is correctly oriented.
Any suggestions?

Update: Interesting thing is, if I rotate the image using something like: photo.croppie('rotate', 90); it actually rotates through 180 degrees. It's like croppie has corrected the orientation 'internally' based on the Exif data, but the displayed image is not rotated.

@matbeard In my project I found that exif.js was not on the window.
I had to manually import and assign e.g.
window.EXIF = EXIF;```

Maybe double check exif.js is present on the window before you initialise croppie.

@ollieBaker I'm using Webpack, so I've just changed from require('exif-js') to window.EXIF = require('exif-js')
Exif is definitely on the window, but still no luck.
It's not a big deal... just a minor annoyance.

You could try current master (probably my change fixed your issue as well: https://github.com/Foliotek/Croppie/commit/6a6bc79410214cd23d9b35d6d4a1d11891c45e06).

Yup... current master has fixed it.
Thanks


round-trip question

Dear author,How do you use MolecularTransformer to evaluate round-trip accuracy? Could you please give a link to the open-source code?

The general pipeline for calculating round-trip accuracy involves the following steps:

Generate candidate reactants using your own model. We obtain the top 10 predictions from our model.
Generate candidate products based on the predicted reactants from step 1 using the pre-trained Molecular Transformer. You can refer to the "Pre-processing", "Testing", and "Evaluate Predictions" sections in https://github.com/pschwllr/MolecularTransformer. And the authors have provided the checkpoints in https://ibm.ent.box.com/v/MolecularTransformerModels.

计算往返准确度的常规管道包括以下步骤：

使用您自己的模型生成候选反应物。我们从模型中获得前 10 个预测。
使用预训练的 Molecular Transformer 根据步骤 1 中预测的反应物生成候选产物。您可以参考 https://github.com/pschwllr/MolecularTransformer 中的“预处理”、“测试”和“评估预测”部分。作者在 https://ibm.ent.box.com/v/MolecularTransformerModels 年提供了检查点。

The general pipeline for calculating round-trip accuracy involves the following steps:

Generate candidate reactants using your own model. We obtain the top 10 predictions from our model.
Generate candidate products based on the predicted reactants from step 1 using the pre-trained Molecular Transformer. You can refer to the "Pre-processing", "Testing", and "Evaluate Predictions" sections in https://github.com/pschwllr/MolecularTransformer. And the authors have provided the checkpoints in https://ibm.ent.box.com/v/MolecularTransformerModels.

Got it, thanks for your reply. But I noticed that Molecular Transformer has multiple checkpoints. Could you please tell me which checkpoints you chose when evaluating the round-trip?

We used the STEREO_separated_augm_model_average_20.pt.

We used the STEREO_separated_augm_model_average_20.pt.

Got it,Thank you very much for your guidance and contributions in the field of retrosynthesis. Please accept my sincere gratitude, and I wish you even greater success in your future research endeavors.


getProducts always return null

@dooboolab I am receiving null array after calling getProducts method after prepare method.

@companytest1206 This should not happen. Could you please share more information? Such as your codes, your products status, os, devices, and etc. For in-app products configuration, please refer to blog.

Here is my code..
`async componentDidMount() {
try {
await RNIap.prepare();
const products = await RNIap.getProducts(itemSkus);
console.log('Products', products);
}
catch (err) {
console.warn(err.code, err.message);
}
this.fetchData();
}`
My app status is in alpha mode. Using nexus 6 for debugging.

@companytest1206 Your code seems fine. What about your product configuration in playstore or itunesconnect?

I have the same issue.

@systemride @sanilcgs Could you please share the platforms you are having trouble with using getProducts method?

I'm having trouble with this on Android 7.0 (running on an LG G6), developing on MacOS 10.13.4 @dooboolab

Created my app using create-react-native-app package. For integrating in-app purchase I have detached my app. After that I integrated react-native-iap into my app. For me the issue is happened in both iOS and android. I am using Android Studio 3.0.1 and Xcode 9.3.  @dooboolab

According to [https://github.com/idehub/react-native-billing](this README) of another library it should be possible to get the available products when running in a debug environment (not an Alpha/Beta release), is that correct? (I'm thinking it should be the same for this library as that probably is dependant on how Google handles the IAP).

Another related question; should the SKUs be prefixed with the package name? In other words; is "unlock_premium" or "com.kimer.unlock_premium" correct when the ID I have specified in Google Play Console is "unlock_premium"?

@axelkennedal The SKUS don´t have any format, are totally customizables. In few words: "unlock_premium" or "com.kimer.unlock_premium"  are correct.

UPDATE:
It is now working for me 😄! I tried a couple of things but I'm not sure what was key to getting it to work 🤔 This is anyways what I did:

Reinstalled the package
Changed my import statement from import InAppPurchase from "react-native-iap;" to "import * as InAppPurchase from 'react-native-iap';"
Changed my SKU in the code from "com.kimer.unlock_premium" to "unlock_premium"

@axelkennedal  you must use any name, but you must use on Google Play Console> your application > Google Play store> in app products. And the SAME name you must use on source code.

@dooboolab When I am trying to execute RNIap.buyProduct('*****') with my productID, I got the error message That item is unavailable. Actually my managed product is in active state. What will be the issue? I can able to list the product details using RNIap.getProducts(itemSkus). Do I need to add the license key into my app??

@sanilcgs could you tell me which platform you are facing error?

@sanilcgs are you using our newer module which is ‘0.3.23’? Also similar issue can be found here. https://github.com/dooboolab/react-native-iap/issues/142

@dooboolab  Yes I'm using '0.3.23'. My problem is now with RNIap.buyProduct('*'). I got this error 'Error: That item is unavailable.'.  Currently I have released my alpha version and published it to google play.

@sanilcgs I posted some help info for that in above issue. I will paste here again. Please check below.
         Do's

1)Create sign apk for your application.
2)Upload your apk on Google play store.
3)Create product for your application.
4)wait for 6-12 hour for update item's on store.
5)Give Billing permissions in Manifest.xml
           Don't

1)Don't use emulator for testing its does not support Billing Services.
2)Don't use unsigned apk for Billing services.
Read more: http://www.androidhub4you.com/2013/03/how-to-inegrate-in-app-purchase-billing.html#ixzz5DqRctVJp

@dooboolab As I already said that my app is not released to production. Now I have released my alpha version only. So can I test this RNIap.buyProduct('****') with my alpha version or do I need to release my production for testing purchase???

@sanilcga If you read above throughly, you should be aware you do not need to release apk to production. Just alpha or beta is fine but your apk should be signed as explained. Check above once more and see what you are missing first.

@dooboolab The do's and don'ts above are helpful. For noobs, this would be really helpful to explain in the documentation that you can only test this on an alpha/beta release and if you test this in a dev build on emulator, it will always return an empty array. I see no mention of that anywhere. I'm happy to add this in a pull request if you'd like?

@systemride Any PR is appreciated!

@axelkennedal did all those things, I'm still getting an empty array. Any ideas?

@axelkennedal getProducts() in iOS works well on simulator. Purchasing actions should be test on the real device with sandbox apple account.

@JJMoon if you read my comments you would have known I'm on Android, not iOS.

@axelkennedal being passive aggressive with the people who voluntarily spend their precious time trying to help you will not get you a long way.
@JJMoon @dooboolab  thank you for the great work

@raduflp lol what are you talking about? I just pointed out that we are on different platforms

@raduflp Thank you for your kind response and concern. I don't think @axelkennedal meant it to be aggressive. He is just too overwhelmed using react-native-iap. Feel like this issue can be closed so I'll close it. Also, any PR is appreciated that may help new generations.

Try it. Work for me:
"You need additionally add your testing account to another special list of accounts "Gmail accounts with testing access", you can find that on play account setting(not project!). On the page where you can see a list of your projects go to settings, and then on "Account details" page (scroll down, it's almost in the bottom of page) you will find the "Gmail accounts with testing access" list."
Set up application licensing
To set up application licensing, start by adding your list of tester's Gmail addresses in the Play Console.
Go to your Play Console.
Select Settings Settings > Account details.
Under "License Testing," add your testers' Gmail addresses.
At the top of the screen, select Save.

I have integrated the react-native-iap and uploaded my signed apk to beta release on play store and also added one subscription plan. I am trying to get the list of subscription by subscription ID in debug mode which is always returning an empty array. Can I actually test the subscription in debug mode?

@ShridharCodewave you use real device or simulator?

@NarekChang  I use real device

[iOS] Is it possible to get the product in getProducts without the product being submitted for review?
If yes, then I am getting getProducts as an empty array

It's not clearly stated in the document but you need to fetch subscriptions with getSubscriptions method.
getProducts can get products and subscriptions in iOS but in android, getProducts cannot fetch subscriptions.

I have the exact same issue, my signed bundle is on the alpha channel (unreviewed), I tried both Release builds, Debug builds, Simulator, Real device, I can fetch the subscriptions correctly but impossible to make a purchase.
Should I wait for Apple to review the alpha release first?

@NarekChang I use real device and now somehow I am getting the subscriptions.

are you able to get the subscriptions list in your debug build or you need to make a release build to test the subscription list

getSubscriptions is returning an error right now on android "subscriptionOffers are required for Google Play Subscriptions"

@NarekChang I use real device and now somehow I am getting the subscriptions.

are you able to get the subscriptions list in your debug build or you need to make a release build to test the subscription list

Did you figure out? I'm baffled by this. Why is so hard to retrieve a simple list of subscriptions? Do we need to publish the app, submitting a signed apk/aab, to TEST/IMPLEMENT our subscriptions? OMG, I almost can't believe it.

@NarekChang I use real device and now somehow I am getting the subscriptions.

are you able to get the subscriptions list in your debug build or you need to make a release build to test the subscription list

Did you figure out? I'm baffled by this. Why is so hard to retrieve a simple list of subscriptions? Do we need to publish the app, submitting a signed apk/aab, to TEST/IMPLEMENT our subscriptions? OMG, I almost can't believe it.
btw, how you debug the apk from the play store? Am I confused or what..?

I solved this problem, use hooks https://react-native-iap.dooboolab.com/docs/api-reference/hooks

I just restarted the app and the issue got solved.

I have added the app on internal testing still i haven't got data on the product array. do I need to upload the app to alpha or beta testing?

I'm using a real device but I am wanting to develop the code for IAP on Android so I am using the debug version (e.g. react-native run-android, and getting the E_ITEM_UNAVAILABLE error.
Do I really have to only develop using a signed build? How exactly does that work, surely it would make development take forever and I wouldn't be able to debug my app as I work?!

@NarekChang I use real device and now somehow I am getting the subscriptions.

are you able to get the subscriptions list in your debug build or you need to make a release build to test the subscription list

Did you figure out? I'm baffled by this. Why is so hard to retrieve a simple list of subscriptions? Do we need to publish the app, submitting a signed apk/aab, to TEST/IMPLEMENT our subscriptions? OMG, I almost can't believe it.
btw, how you debug the apk from the play store? Am I confused or what..?

I solved this problem, use hooks https://react-native-iap.dooboolab.com/docs/api-reference/hooks

I am unable to get it working with hooks. It gives undefined when I use getSubscriptions. Did you use the debug app or did you try in closed testing directly? Any help is highly appreciated as I have been struggling for the past 4 days with this.

@hyochan  and others, will I be able to get subscriptions on physcial device before the app in closed testing has been reviewed. I have submitted it for review so meanwhile will I get subscriptions on physical device?
Currently I am getting []


Fix 'stuck' database inputs

Input fields of database connection switch properly now, when clicking throug database contexts.
When reviewing, it would be greate if you could test that this fix didn't break anything else.

Ahh, the fixes need to be done for release 6 as well 🙈

Is this issue resolved by #405 or should it be rebased and proceed on release/6?


verbose external-provisioner output when shutting down

When deleting a pod that contains PMEM-CSI and external-provisioner and PMEM-CSI shuts down first, external-provisioner logs a "connection lost" error before shutting down itself
[2021-01-18T12:07:10.563Z]<EMAIL_ADDRESS>I0118 12:07:10.189564       1 server.go:56] Server on 'unix:///csi/csi.sock' stopped
[2021-01-18T12:07:10.563Z]<EMAIL_ADDRESS>F0118 12:07:10.183283       1 connection.go:87] Lost connection to CSI driver, exiting
[2021-01-18T12:07:10.563Z]<EMAIL_ADDRESS>I0118 12:07:10.182345       1 pmem-csi-driver.go:264] Caught signal terminated, terminating.
[2021-01-18T12:07:10.563Z]<EMAIL_ADDRESS>I0118 12:07:10.184162       1 server.go:56] Server on 'unix:///csi/csi.sock' stopped
[2021-01-18T12:07:10.563Z]<EMAIL_ADDRESS>goroutine 27 [running]:
[2021-01-18T12:07:10.563Z]<EMAIL_ADDRESS>k8s.io/klog/v2.stacks(0xc00000e001, 0xc00018e600, 0x57, 0x1e2)
[2021-01-18T12:07:10.564Z]<EMAIL_ADDRESS>	/workspace/vendor/k8s.io/klog/v2/klog.go:1026 +0xb9
[2021-01-18T12:07:10.564Z]<EMAIL_ADDRESS>k8s.io/klog/v2.(*loggingT).output(0x2604640, 0xc000000003, 0x0, 0x0, 0xc0000e1810, 0x2553078, 0xd, 0x57, 0x0)
[2021-01-18T12:07:10.564Z]<EMAIL_ADDRESS>	/workspace/vendor/k8s.io/klog/v2/klog.go:975 +0x19b
[2021-01-18T12:07:10.564Z]<EMAIL_ADDRESS>k8s.io/klog/v2.(*loggingT).printf(0x2604640, 0x3, 0x0, 0x0, 0x0, 0x0, 0x19a584d, 0x26, 0x0, 0x0, ...)
[2021-01-18T12:07:10.564Z]<EMAIL_ADDRESS>	/workspace/vendor/k8s.io/klog/v2/klog.go:750 +0x191
[2021-01-18T12:07:10.564Z]<EMAIL_ADDRESS>k8s.io/klog/v2.Fatalf(...)
[2021-01-18T12:07:10.564Z]<EMAIL_ADDRESS>	/workspace/vendor/k8s.io/klog/v2/klog.go:1502
[2021-01-18T12:07:10.564Z]<EMAIL_ADDRESS>github.com/kubernetes-csi/csi-lib-utils/connection.ExitOnConnectionLoss.func1(0x2604640)
[2021-01-18T12:07:10.564Z]<EMAIL_ADDRESS>	/workspace/vendor/github.com/kubernetes-csi/csi-lib-utils/connection/connection.go:87 +0x1d4
[2021-01-18T12:07:10.564Z]<EMAIL_ADDRESS>github.com/kubernetes-csi/csi-lib-utils/connection.connect.func1(0xc0001eb010, 0xd, 0x4a81737a6, 0x4a81737a6, 0xc0000e7101, 0x10, 0xc00059c600)
[2021-01-18T12:07:10.564Z]<EMAIL_ADDRESS>	/workspace/vendor/github.com/kubernetes-csi/csi-lib-utils/connection/connection.go:134 +0x2aa
[2021-01-18T12:07:10.564Z]<EMAIL_ADDRESS>google.golang.org/grpc.WithDialer.func1(0x1ba4a00, 0xc00030c6c0, 0xc0001eb010, 0xd, 0x10, 0x17d5240, 0xa8281195d4fee022, 0x2635dc0)
[2021-01-18T12:07:10.564Z]<EMAIL_ADDRESS>	/workspace/vendor/google.golang.org/grpc/dialoptions.go:398 +0x8e
[2021-01-18T12:07:10.564Z]<EMAIL_ADDRESS>google.golang.org/grpc/internal/transport.dial(0x1ba4a00, 0xc00030c6c0, 0xc00031b250, 0xc0001eb010, 0xd, 0x1980038, 0x9, 0xc0003480b0, 0x0, 0x0, ...)
[2021-01-18T12:07:10.564Z]<EMAIL_ADDRESS>	/workspace/vendor/google.golang.org/grpc/internal/transport/http2_client.go:143 +0x2dd
[2021-01-18T12:07:10.564Z]<EMAIL_ADDRESS>google.golang.org/grpc/internal/transport.newHTTP2Client(0x1ba4a00, 0xc00030c6c0, 0x1ba4980, 0xc0005a61c0, 0xc0001eb010, 0xd, 0x1980038, 0x9, 0xc0003480b0, 0x0, ...)
[2021-01-18T12:07:10.564Z]<EMAIL_ADDRESS>	/workspace/vendor/google.golang.org/grpc/internal/transport/http2_client.go:183 +0x15e
....

This is from https://cloudnative-k8sci.southcentralus.cloudapp.azure.com/blue/rest/organizations/jenkins/pipelines/pmem-csi/branches/PR-838/runs/14/nodes/88/steps/105/log/?start=0, i.e. testing of PR #838 , but should also occur on current devel.
That output is very verbose. It would be nice to avoid it.

Solutions:

Slightly delay the shutdown in PMEM-CSI. Assuming that all containers get killed roughly at the same time (to be checked!), external-provisioner then should shut down first.
If shutdown order is container-by-container, then we can re-order containers to so that external-provisioner comes first. It wasn't done that way because during startup, PMEM-CSI must be up first before external-provisioner can work. But it will retry to connect without verbose output, so this may be better.
Silence the error message in external-provisioner (upstream solution).

Solutions:

Slightly delay the shutdown in PMEM-CSI. Assuming that all containers get killed roughly at the same time (to be checked!), external-provisioner then should shut down first.
If shutdown order is container-by-container, then we can re-order containers to so that external-provisioner comes first. It wasn't done that way because during startup, PMEM-CSI must be up first before external-provisioner can work. But it will retry to connect without verbose output, so this may be better.
Silence the error message in external-provisioner (upstream solution).

Silence the error message in external-provisioner (upstream solution).

That was done. Our next regular sidecar update will fix this issue.


Documentation is missing that Named Ranges and Macros are not supported

The documentation should state:
Not supported by either format:

Named Ranges
Macros (VBA)

Fixed in v0.1.5


zsh: illegal hardware instruction" error on Mac OS, M1 chip

Orion version: 0.6.1
Python version: 3.11
Operating System: Mac OS (M1 chip)

Description
Trying to creare an Orion object, the Jupyter notebook hangs forever, without crashing or erroring.
Running the same commands in a script, I get the error zsh: illegal hardware instruction
What I Did
I installed orion-ml using pip as recommended in a freshly minted conda environment, with Python 3.11.
I then tried a "smoke test":
from orion.data import load_signal from orion import Orion train_data = load_signal('S-1-train') orion = Orion()
and the jupyter notebook hung forever (>10 minutes).
I tried using a python script and I got the error zsh: illegal hardware instruction

Hi @MarcoEng77, thank you for using Orion!
Unfortunately, I can't immediately see why the test you have done is not working. I tried it myself and everything runs as expected. I did alter the hyperparameters such that we can see the training epochs.
Python 3.11.10 (main, Oct  3 2024, 02:26:51) [Clang 14.0.6 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from orion.data import load_signal
>>> from orion import Orion
>>> train_data = load_signal('S-1-train')
>>> orion = Orion(hyperparameters={'keras.Sequential.LSTMTimeSeriesRegressor#1': {'epochs': 5, 'verbose': True}})
>>> orion.fit(train_data)
/opt/anaconda3/envs/orion-py11/lib/python3.11/site-packages/sklearn/impute/_base.py:356: FutureWarning: The 'verbose' parameter was deprecated in version 1.1 and will be removed in 1.3. A warning will always be raised upon the removal of empty columns in the future version.
  warnings.warn(
WARNING:absl:At this time, the v2.11+ optimizer `tf.keras.optimizers.Adam` runs slowly on M1/M2 Macs, please use the legacy Keras optimizer instead, located at `tf.keras.optimizers.legacy.Adam`.
Epoch 1/5
33/33 [==============================] - 8s 194ms/step - loss: 0.4498 - mse: 0.4498 - val_loss: 0.4378 - val_mse: 0.4378
Epoch 2/5
33/33 [==============================] - 6s 182ms/step - loss: 0.4227 - mse: 0.4227 - val_loss: 0.4316 - val_mse: 0.4316
Epoch 3/5
33/33 [==============================] - 6s 189ms/step - loss: 0.4161 - mse: 0.4161 - val_loss: 0.4259 - val_mse: 0.4259
Epoch 4/5
33/33 [==============================] - 6s 192ms/step - loss: 0.4139 - mse: 0.4139 - val_loss: 0.4290 - val_mse: 0.4290
Epoch 5/5
33/33 [==============================] - 6s 193ms/step - loss: 0.4085 - mse: 0.4085 - val_loss: 0.4219 - val_mse: 0.4219

Can you share a google colab notebook showing the problem you are running into? You can also try running the following notebook.

@sarahmish thank you very much for looking into this.
I cannot use colab notebooks, but all was needed to reproduce my error was to run
from orion.data import load_signal
from orion import Orion
train_data = load_signal('S-1-train')
orion = Orion()

and I would get the error zsh: illegal hardware instruction (in the terminal, running the code as a script: the VS code jupyter notebook would simply run forever).
I have been spending quite some time tracking this down, I think it boils to the (sadly too well known!) difficulties in using Tensorflow on Mac Silicon chips (in my case M1 one). I am surprised your installation has been tested to work on MacOS M1, to the best of my knowledge the simple pip install tensorflow still does not work for Mac M1.
For now, the best (sort of) workaround I got is the following
I first install Tensorflow (2.14.1, as I see on your setup.py that Orion uses <2.15) using the procedure  recommended on Mac M1, that is, using Miniforge and installing tensorflow-macos and tensorflow-metal.
In this same environment, I run pip install ml-orion, the pip installer leaves the tensorflow package untouched, and I can run your basic examples.
Will continue to try to figure it out. I take it you have tested the installation  on MacOS M1,need to understand why it would not work in my case Thank you for your support and for this great library

Definitely, I expect so. I opened another issue https://github.com/sintel-dev/Orion/issues/578 to mark this as a request for future releases.
For the time being, here are the versions that are installed on my machine where I have an M2 chip
tensorflow==2.14.1
tensorflow-estimator==2.14.0
tensorflow-io-gcs-filesystem==0.37.1
tensorflow-macos==2.14.1


How to begin new page automatically

Hi there,
how can we determine page height according to content, basically i have define pagesize but unable to begin new page as data is overlapping in single page
can you help me out how can start new page automatically

Hey, I tried it.
pdf = SimplePDF.init(pageSize: CGSize.init(width: 595, height: 841), pageMarginLeft: 100, pageMarginTop: 180, pageMarginBottom: 20, pageMarginRight: 100)
For every loop in your data just add pdf.beginNewPage() at the beginning.
It'll create a new page for new content and if any content is long, it'll extend content to the new page automatically.

what do

Hey, I tried it.
pdf = SimplePDF.init(pageSize: CGSize.init(width: 595, height: 841), pageMarginLeft: 100, pageMarginTop: 180, pageMarginBottom: 20, pageMarginRight: 100)
For every loop in your data just add pdf.beginNewPage() at the beginning.
It'll create a new page for new content and if any content is long, it'll extend content to the new page automatically.

What do you mean "for every loop in your data"? Can you be more precise?


Fix form wizard code sandbox

The bug was brought up here: https://spectrum.chat/react-hook-form/help/official-docs-example-is-not-working-please-check~aa1204e1-d833-4089-b381-c7952d8163d6. I fixed the codesandbox and moved it to our codesandbox "area".

thanks for updating that 👍

thanks for updating that 👍


D2IQ-69020 update docs-links

https://jira.d2iq.com/browse/D2IQ-69020

:tada: This PR is included in version 5.0.50 :tada:
The release is available on:

v5.0.50
GitHub release

Your semantic-release bot :package::rocket:


Is cycle-mouse taken?

cycle-mouse sounds better than cycle-mouse-driver to me, and is also in line with other drivers like cycle dom and cycle http :)
Your thoughts, please?

I like cycle-mouse-driver myself, as it is nice and searchable and very clear. I did that with beginners and people new to the community in mind, kind of a 'does what it says on the label' mentality. As it's not part of the cycle core, I don't think it should have to use the same naming as cycle-dom or cycle-http.
I'm open to more opinions on this! In a minute I'm going to add a Suggestions/Feedback section to the readme, and open a general issue for suggestions and feedback, so that community members know that they can post there.


Neon Side-by-side

the eslint failure appears to be a failure with the linting tool on the size of the patch. I have linted it locally and it looks fine.

I still need to get a half-hour or so to actually get this running locally. Time keeps getting away from me.

I still need to get a half-hour or so to actually get this running locally. Time keeps getting away from me.

No worries.

some rework happening will resubmit later


Overlapping subtitles

the extension just overlaps any lines that run at the same time.

I also noticed that  behaviour.  I believe starting with 6.1 version.   I use  a 6.0.13 version of extension and dont have that problem  with overlaping lines.  And also broken transparency.  Just see an example below :
6.0.13

6.1.6

Release 6.2.x will fix that issue.
A new checkbox is added to the customizing tab, which enables snapToLines, which prevents overlapping subtitles.
If you want to show the subtitle on the bottom, you have to select a high position value, like 94%

do not show overlapping hint for firefox


Remove obsolete dependencies from install scripts

The new build script does not support ninja anymore, and we haven't
been building bare-metal arm targets for long. This patch removes
now-obsolete dependencies from install scripts.
This can also help to reduce the load on Travis CI (as it keeps
installing dependencies for each build job over and over again).
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss<EMAIL_ADDRESS>

LGTM

LGTM
I think we should consider to keep building with Ninja though :) (although I guess that means adding yet another option to build.py). Or we change build.py to check whether Ninja is installed and if so use it instead of Make?
Regarding the bare metal support I think in the long-term it would be nice to have Travis CI testing support for the bare metal targets as well :) (e.g. testing the NuttX/RIOT/Zephr/mbed OS ports using QEMU)


[Regions] Add region-in and region-out events

v6 had in and out events on the Region object. They should be restored.

Agree, this would be helpful or at least some kind of workaround.
We used it to toggle on the autoCenter to get the desired centering.


Refactor TableView column resizing to Spectrum packages

Closes https://github.com/adobe/react-spectrum/issues/3024
Also fixes the bug:

VO in Safari announces too many columns, probably including the "Spooky column"

By removing the "spooky column"
✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

Open any TableView story with resizing and try to break it.
Open Questions

[x] Should useTableColumnResize aria hook also be moved into Spectrum?
Resolution, moving to Spectrum as well until API signature is solidified and we decide how/if we're going to expose resizing behaviors outside of our own components

@ktabors

When I made a column really wide the menu popup occurs away from the title. Shouldn't it stick to the left/start edge?

pre-existing, I'll attempt to fix it in another PR, this PR is purely meant to move things around into more or less the right places before I create others PR's because I don't want a ton of merge conflicts

When I resize the columns sometimes the last three columns resize equally and sometimes the first column, of the three columns, gets stuck will the other two resize equally. The image shows the column that stops resizing.

I don't know what I'm looking at. Best guess, once a column has been resized, it will hold it's size. If it hasn't been resized, it will auto-fit into the remaining space as best it can.

Sometimes when resizing the table columns lag behind the header resizing.

Can you explain more?

Should I be able to select a column resizer with the keyboard, use it, and select another column resizer with my mouse (and use it) and use the keyboard one again after that?

I don't understand the question. I think the answer is, when you click something, focus moves to what you clicked on. So you shouldn't be able to resize the old column without navigating back to it. If you mean keyboard resize the one you just mouse resized, then yes, I think that should work. Is it pre-existing?

I haven't been able to figure out how to reproduce this, but sometimes when I resize the last column it doesn't take the change, it goes back to the previous value. Usually happens when the column is small and I try to make it bigger. It has happened with both keyboard and mouse resizing.

I'm actually looking for this bug, can you try to get concrete reproduction steps? I've been unable to do it.

Changes look good to me, will wait for spooky column removal to be confirmed with Danny and Marshall before approving

Reviewed the column resize behavior that originally required the "spooky column" and confirmed that the issue is resolved and the "spooky column" is no longer needed. @snowystinger and I did this together on a call.

Steps to reproduce the original need for Spooky column are:
Go to a story, drag the furthest right column at the edge of the table past the table boundary so the table expands.
Use the scrollbar and scroll to the end so you can see the resizer again.
Try to drag the resize back to shrink the column.
One thing to know, it does have a behavior now where the cursor will drift off the resizer because it shrinks at a different rate than the mouse moves for this particular case. I believe this is ok as it's how Mac's native file system browser columns work.

@snowystinger
1 - cool
2 - I should demo this. Basically, I start out and I resize a column and its siblings resize proportionally at the same time. I keep doing this, something happens, and one of the columns stops resizing proportionally with its siblings.
3 - I feel like I should demo the columns in table headers and the columns in the table not lining up sometimes unless this sentence explained it better. Also, it's hard to reproduce and I can't take an image of it. Maybe a video would work.
4- I checked and it is existing behavior. The behavior is being able to resize one column with the keyboard, mouseover and resize a different column, stop and use the keyboard to resize the first column.
5 - I really don't know how to reproduce it. I've tried to figure out the logic to reproduce and I haven't been able to. Frustrating.

Why are we moving column resizing from aria/stately to Spectrum? Seems like it could be useful for other implementations as well?

Pausing as we discuss API


[Feature Request]: Support for CVE-2021-45046 in Log4j 2.15.0

CVE-2021-45046 was discovered in Log4j 2.15.0 that could lead to a denial of service attack.
When will log4j-scan be updated?

We should ideally not support denial of service attacks for detection on external attack surfaces. The CVE-2021-45046 can actually achieve RCE. We will support it as soon as there's a reliable detection mechanism for it.
Reference: https://twitter.com/pwntester/status/1471543754775580673

This has been added into log4j-scan
cc @hank-nuss
https://twitter.com/mazen160/status/1471866364759625736


project name "new" creates invalid Android build

[x] Review the documentation: https://facebook.github.io/react-native
[x] Search for existing issues: https://github.com/facebook/react-native/issues
[x] Use the latest React Native release: https://github.com/facebook/react-native/releases

Closest existing issue is #19473 which deals a different create-time error when using a numeric project name.
Environment
Scanning folders for symlinks in /Users/ryanstelly/code/new/node_modules (15ms)

  React Native Environment Info:
    System:
      OS: macOS High Sierra 10.13.3
      CPU: x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
      Memory: 173.73 MB / 16.00 GB
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 10.5.0 - /usr/local/bin/node
      Yarn: 1.7.0 - ~/.yarn/bin/yarn
      npm: 6.1.0 - /usr/local/bin/npm
      Watchman: 4.5.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3
      Android SDK:
        Build Tools: 21.1.2, 23.0.1, 24.0.0, 24.0.3, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.1, 26.0.2, 26.0.3, 27.0.2, 27.0.3
        API Levels: 21, 23, 24, 25, 26, 27
    IDEs:
      Android Studio: 3.0 AI-171.4443003
      Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.4.1 => 16.4.1
      react-native: 0.56.0-rc.4 => 0.56.0-rc.4
    npmGlobalPackages:
      create-react-native-app: 1.0.0
      react-native-cli: 2.0.1

Description
Creating a project with the name "new" (react-native init new --version 0.56.0-rc.4) results in a project which fails to build on Android.
:app:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).

* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 2.88 secs

The issue seems to be that sections of JVM package names cannot be Java keywords. This also fails for package com.class, package com.package, package com.final`, etc.
Reproducible Demo
From react-native init:
react-native init new --version 0.56.0-rc.4
react-native run-android

From example repo:
git clone git@github.com:FLGMwt/rn-android-project-name-bug-repro.git
cd rn-android-project-name-bug-repro
react-native run-android

Suggested Solution
Blacklist all Java keywords for init project names.
This does not affect iOS as far as I can tell. react-native run-ios works fine.

Hello, new is a keyword in Java, so you can't use it for variables and packages names, which is a part of your project name.

Right, but can we blacklist Java keywords in the react-native init cli to surface this to users earlier? Happy to PR if this is welcome.

@FLGMwt Welcome


Fix shard group creation

This PR fixes two issues with shard group creation.
The first is that a shard group creating request was sent for every point which can cause large pauses when a new shard group needs to be created and sending large batches.
The second is that the shard group end time was being include in the point calculation which allow a point to be included in two shard group ranges if it matched the end time of a shard group.

The change makes sense, except for the removal of the locks.

Removed the lock removal changes.  Not supposed to be in this PR.

@otoolep Updated PR to fix another place where shard group boundaries were calculated incorrectly.

:clap: for the ShardGroup API improvements.  i couldn't find a way to justify touching that API with any of my other PRs but i was just waiting for the chance to find a reason to improve/simplify the logic around checking whether a shard contains an interval.

+1, great catch.


Add sound notification and context menu.

Folder called "Sounds" will be created.
Add a force exit button and shutdown button in context menu of Notifyicon.

oh wait... AppVeyor doesn't support C# 6.0 ! xD


[Feature] Add auth and databasing

Description

These features would be available on completing Auth.

New ideas:

[ ] 1. Add authentication, we can use Firebase to make it easy and effective

We basically just need a GitHub Auth, as people who want to contribute must have their GitHub, so that they can directly create issues from the dashboard.
We will follow proper conventions like middleware.ts based on the logic

[ ] 2. Create upvoting system for resources so that LinksHub user's can filter out the resources and use LinksHub more effortlessly

We will follow proper logic and it will be synced from firestore database
We will focus on two main things:

A authenticated user can only upvote a resource once
Keep count of how many times a resource has been updated
Keep count of upvoted resources by a user (not necessary depending upon the logic)

[ ] 3. Take feedback, taking feedback from LinksHub user's and other people would help making it more better, we can use something a like a form and store the feedbacks in database, then create a sperate page and display all the feedbacks in there

There will be a simple CTA, to submit the quick feedback. We can either store it in the database, or we can use this to create a comment in a discussion based on the data.

[ ] 4. Add database, we would need database to store user's data, the resources and feedbacks in different documents

We will use Firestore with security rules.

[ ] 5. We will include a header, with a simple popup to show the data and the basic profile info.

For reference:

For more, reference you can read here: https://github.com/rupali-codes/LinksHub/issues/731#issuecomment-1566209719. It may not be what we are trying to achieve, but we can get the idea.

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[ ] I am willing to work on this issue (optional)
[ ] I am participating in Hacktoberfest 2023

I would do this tomorrow. Then we can move forward step-by-step.

@rupali-codes,
I have removed the dashboard part and added brief descriptions. We will expand on this properly when we create individual issues.
Should we proceed? You need to create Firebase credentials. Also, create a Discord channel for this purpose; we will invite these contributors there to address any doubts they may have, which I'm sure there will be many of.
Additionally, perhaps we should consider creating a new channel permanently so that these contributors can stay in touch with us. These are complex features and they should definitely be rewarded for this.
Please create Firebase credentials, and I will create separate issues. Just let me know one thing: how will they get access to the database?
We must handle these tasks thoroughly, and we'll need to update everything from scratch.

@rupali-codes,
I have removed the dashboard part and added brief descriptions. We will expand on this properly when we create individual issues.
Should we proceed? You need to create Firebase credentials. Also, create a Discord channel for this purpose; we will invite these contributors there to address any doubts they may have, which I'm sure there will be many of.
Additionally, perhaps we should consider creating a new channel permanently so that these contributors can stay in touch with us. These are complex features and they should definitely be rewarded for this.
Please create Firebase credentials, and I will create separate issues. Just let me know one thing: how will they get access to the database?
We must handle these tasks thoroughly, and we'll need to update everything from scratch.

@Anmol-Baranwal please create sperate issues for this :)

@Anmol-Baranwal there you go! I have created this this channel. should i make it private as well?

@rupali-codes,
I have removed the dashboard part and added brief descriptions. We will expand on this properly when we create individual issues.
Should we proceed? You need to create Firebase credentials. Also, create a Discord channel for this purpose; we will invite these contributors there to address any doubts they may have, which I'm sure there will be many of.
Additionally, perhaps we should consider creating a new channel permanently so that these contributors can stay in touch with us. These are complex features and they should definitely be rewarded for this.
Please create Firebase credentials, and I will create separate issues. Just let me know one thing: how will they get access to the database?
We must handle these tasks thoroughly, and we'll need to update everything from scratch.

@Anmol-Baranwal please create sperate issues for this :)

Sure. I will do it till the evening.

@rupali-codes,
I have removed the dashboard part and added brief descriptions. We will expand on this properly when we create individual issues.
Should we proceed? You need to create Firebase credentials. Also, create a Discord channel for this purpose; we will invite these contributors there to address any doubts they may have, which I'm sure there will be many of.
Additionally, perhaps we should consider creating a new channel permanently so that these contributors can stay in touch with us. These are complex features and they should definitely be rewarded for this.
Please create Firebase credentials, and I will create separate issues. Just let me know one thing: how will they get access to the database?
We must handle these tasks thoroughly, and we'll need to update everything from scratch.

@Anmol-Baranwal please create sperate issues for this :)

Sure. I will do it till the evening.

Alright, thanks


Bump supervisor to v2.6.2

This was fixed in #424

It was "fixed" but it still didn't make it to staging, so it should probably sit as "Waiting for staging" instead of being closed.
Though now there's #425 so I don't know how we'd treat this specific case. I'd rather keep this ticket in Waiting for staging so that we have clarity about what has made it to staging and production.
But then again, we might want to revisit the way we use the Waffle labels since most of the meta-resin PRs are being written with "Fixes #issue" or "Closes #issue" instead of "Connects to #issue".

Sorry if I've messed up your workflow, feel free to reopen.

On the contrary, thanks for bringing this up :)
@agherzan is the maintainer here and knows the proper workflow, I just commented cause there seems to be this bit of a contradiction in how tickets are handled, unless there's something I'm missing.

That is indeed something we need to think about it. Currently the way I see it is that all things towards meta-resin would be closed as soon as implemented and then be released at the next meta-resin release. We need to talk this internally and decide on a way forward.

...and if you haven't already seen it, see my comment here https://github.com/resin-os/meta-resin/issues/344#issuecomment-253760350


Docs Home Page

What changed? Why?
Added docs Home page. The new page is also deployed to the staging site.

Notes to reviewers
Please let @jacob-moore-cb merge this PR. As soon as this is live, the Algolia crawler will need to reindex the site content to ensure search results link to the new /docs/doc-slug URLs.
How has it been tested?
Ran the app locally to test styles on light/dark themes and all screen sizes. Also deployed these changes to staging.
Does this PR add a new token to the bridge?

[x] No, this PR does not add a new token to the bridge

Other than broken link, LGTM.


linux-16, 19, 22 & 51 are dead.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
linux-16, 19, 22 & 51 are dead.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

Room temperature was above 80 degrees, all machines power-off themself might be related to room temperature.


Adapted README.md to latest changes and added MANIFEST.in to ship example data

See https://github.com/weigertlab/trackastra/issues/2

Hi Richi, thanks for the PR, works for me now as well.


Groups show name on other platforms as a number and other groups parsing issues on coracle

I've checked out several other platforms and it seems the name of groups isn't following the NIP.
I created this group on coracle: https://coracle.social/groups/naddr1qvzqqqyx7cpzp4q7xsdz6p636akhnafg9yru265l572nerhyqzhxeuu8waej8nfaqqgnxvfn8ymnjd3kxs6ngwpjxvergdgz3jre7/notes
the name seems to consistently show as this number which is a d tag:

When I try to reference the group on coracle, it shows like this:

Just pushed an update that fixes the rendering within quotes. For the name, I'm optimistically using the title tag described in https://github.com/nostr-protocol/nips/pull/1024, which makes it possible to rename a group. This also avoids conditions where a user intends to create a new group, and instead updates an old group with the same name. What client are you looking at there?


Feature: entity registration

WIP

Pull Request Test Coverage Report for Build 264839575

0 of 0   changed or added relevant lines in 0 files are covered.
7 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.01%) to 58.406%

Files with Coverage Reduction
New Missed Lines
%

internal/agent/event_sender.go
1
72.56%

pkg/helpers/recover/recover.go
6
0%

Totals

Change from base Build 264799522:
-0.01%

Covered Lines:
11082

Relevant Lines:
18974

💛  - Coveralls

obsolete branch

obsolete branch


Faker.RandomNumber.Next & Faker.Enum - not generating last enum value

Thank for an awesome product.
I'm not sure which one of these has the actual bug, but one of them does.
Faker.RandomNumber.Next(0, 1) always returns 0 ... so not including max. Which is kind what .NET Random does.
But ... Faker.Enum.Random actually calls Random like: RandomNumber.Next(0, array.Length - 1)
So it never generates one of the last value in the enum type.
I will gladly try to make a PR ... I just need to know if Enum or Random should be fixed.

OMG, wrong repo. Sorry.


FT: AWS TAGGING

Implement object tagging for AWS backend.
Depends on Arsenal#310

@ironman-machine go

Hello @dora-korpar
Starting end to end procedure using the following payload:
{"REPO_NAME": "S3", "DEFAULT_BRANCH": "master", "SCALITY_S3_BRANCH": "ft/S3C-448-aws-tagging"}
Please follow http://ci.ironmann.io/gh/scality/Integration/14142 for CI status.

oh, just noticed it was merged half an hour ago ^^


amd-build

This change adds a python build script that handles

Dependency updates
Build file generation - each build variant build files is created in a separate directory
Build the project - each build variant build occurs in a separate directory

The following was added to the bulid

Adds pre build step to run clang-format on all source files (default is on, can be turned off)
Add an option to run clang-tidy as a post build step (default is off, can be turned on)

One more thing... using build.py requires that clang-format be installed on the system.  This should be added to the build instructions, along with reasonable instructions on how to install on common OSes.

Updated based on review comments.

Updated based on review comments.

Any other comments/requests?

Could you make the following changes to the clang-format behavior?

Disable the pre-build clang-format step by default, and update the documentation to reflect this change.
Omit the generated files from clang-format

I would also like @lunarpapillo to review and mark his requests as resolved.

Done.

Fixed

Changes were pushed to the dev branch after rebasing with dev and squashing a few of the 'fixup' commits to address some internal CI issues.


QBD landing page

Qbd integration
component: onboarding-landing-page
https://user-images.githubusercontent.com/55541808/214527836-d2796442-adc2-4f4f-95d6-d2faab99296b.mov


SB: Define final input parameters can user send when creating Service Binding (e.g. ttl creds expiration time: 3h), and result response from the binding

Subtask of the EPIC: https://github.com/kyma-project/kyma-environment-broker/issues/284
AC

[ ] 1) document final Input params like ttl and serviceAccount: true/false
[ ] 2) document Service Bindning output

Looks like TTL was already defined here https://github.com/kyma-project/kyma-environment-broker/pull/1189

We decided to change to service_account from token_request.
ExpirationSeconds won't be changed.

Only service account will be used.


Adds an option to be able to create left/right icons on bs3 buttons

Example:
Submit('submit', _('Login'), icon_left='icon-lock', css_class='btn-success')

Current coverage is 96.35%

Merging #501 into dev will not affect coverage as of 155c42e

@@              dev    #501   diff @@
=====================================
  Files          25      25
  Stmts        2299    2301     +2
  Branches      206     206
  Methods         0       0
=====================================
+ Hit          2215    2217     +2
  Partial        35      35
  Missed         49      49

Review entire Coverage Diff as of 155c42e

Uncovered Suggestions

+0.30% via ...y_forms/bootstrap.py#77...83
+0.17% via ...spy_forms_filters.py#102...105
+0.13% via ...crispy_forms_tags.py#65...67
See 7 more...

Powered by Codecov. Updated on successful CI builds.

As it stands I don't think we can add this:

It adds a lot of complexity to the template for a very use-case specific feature.
BaseInput is not the place to add Template Pack specific code. (That way lies madness 👾)

I appreciate the use-case. It seems to fit the model of the existing extension points. A number of options come to mind:

Use a custom template on the Layout Object.
Create a custom Layout Object
Use the existing css_class attribute and do the rest in CSS.


Better documentation for Envoy extensions

As it stands, the documentation for extending Envoy is pretty thin. The envoy-filter-example project does provide a nice example but it'd be good to have a more step-by-step, narrative-style tutorial surrounding this.
I will be taking on this work. If anyone has recommendations for resources, possible directions, sub-topcs, etc., please feel free to weigh in here.

There are several required integration points that are not documented. Some are easy to discover by cargo-culting from existing extensions, but others are harder to figure out. Here are the places I've figured out by working on the HTTP caching filter PR.

Add extension owners to CODEOWNERS.
Add ...:pkg to api/BUILD
api/docs/BUILD: Add ...:pkg
Write api/envoy/config/filter/http//v2/.proto, including several required lines of boilerplate.
Don't write api/envoy/config/filter/http//v2/BUILD
Write docs/root/configuration/http/http_filters/_filter.rst. Docs should include reference to the file format, and any required elements / style conventions.
docs/root/configuration/http/http_filters/http_filters.rst: Add -filter
source/common/common/logger.h: Probably add FUNCTION(_filter)
9.source/extensions/extensions_build_config.bzl: Add "envoy.filters.http.": "//source/extensions/filters/http/:config"
source/extensions/filters/http/well_known_names.h: Add const std::string  = "envoy.filters.http.";
Write source code in source/extensions/filters/http/.
Write test code in test/extensions/filters/http/

Note that some contexts use "filter" and others use "filters".
Side note: there's a tremendous amount of duplication; it would be nice to reduce that.

I owe better docs for the API build system, I will work on this shortly.


[mesheryctl] Panic error while running mesheryctl filter list

See mesheryctl Command Tracker for current status of commands.
Current Behavior
When we run mesheryctl filter list it returns a panic error instead of data.

Desired Behavior
It should return list of filters.
Screenshots/Logs

Environment

Host OS: Mac Linux Windows
Meshery Server Version: stable-v
Meshery Client Version: stable-v
Platform: Docker Kubernetes

Contributor Guides and Handbook

📚 mesheryctl Contributing Guide
📺 Beginner's guide to contributing to Meshery and mesheryctl
⌨ mesheryctl Command Tracker
⌨ Meshery CLI Commands and Documentation
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

@Jougan-0 I wanna work on this.

@Jougan-0 I wanna work on this.
Great, there are a couple of questions that would help me confirm we're on the same page:

Were you able to build and run Meshery locally?
Were you able to run mesheryctl locally?

Hey @Jougan-0,
I have now mesheryctl running on my laptop.
Can I take other issues ?

Hey @Jougan-0, I have now mesheryctl running on my laptop.
Can I take other issues ?

That's great, if you find any other mesheryctl open issue ping me. I'll assign it to you.

Hey @Jougan-0, I have now mesheryctl running on my laptop.
Can I take other issues ?

That's great, if you find any other mesheryctl open issue ping me. I'll assign it to you. I have noted that you can now fix mesheryctl issue's I'll ping you if I find one. In the meantime you can explore different commands.

Thank you.
I found one open and commented https://github.com/meshery/meshery/issues/11305#issuecomment-2206021972


unoconv PDF: unix process error: wait for unix process: signal: segmentation fault (core dumped)

Seemingly LibreOffice segfaults - not sure if that's anything that can be rescued by gotenberg itself. I guess it's just another instability of LO itself?
{
   "level":"error",
   "ts":1682589868.6889822,
   "logger":"api",
   "msg":"convert HTML to PDF: convert PDF: convert PDF to 'PDF/A-1a' with multi PDF engines: convert PDF to 'PDF/A-1a' with PDFcpu: method not available; convert PDF to 'PDF/A-1a' with PDFtk: method not available; convert PDF to 'PDF/A-1a' with QPDF: method not available; convert PDF to 'PDF/A-1a' with unoconv: unoconv PDF: unix process error: wait for unix process: signal: segmentation fault (core dumped)",
   "trace":"deb4a7ef-184a-4f80-bbe1-f2654d310b25",
   "remote_ip":"<IP_ADDRESS>",
   "host":"converter:3000",
   "uri":"/forms/chromium/convert/html",
   "method":"POST",
   "path":"/forms/chromium/convert/html",
   "referer":"",
   "user_agent":"ReactorNetty/1.0.17",
   "status":500,
   "latency":1898941311,
   "latency_human":"1.898941311s",
   "bytes_in":-1,
   "bytes_out":21
}

The image used is gotenberg/gotenberg:7.7.2

Hello @PierreSchwang, @pieterocp

I guess it's just another instability of LO itself

I guess so.
AFAIK, PDF/A-1a is nothing fancy, just some metadata added to the PDF itself. One day I could implement some sort of Go solution directly.

Sadly, PDF/A-1a is quite a bit more to be really conform. Of course, you can set specific headers in the PDF itself - which displays that the PDF file is a PDF/A-1a file, but most validators will fail. You'd have to do a few more things like embedding fonts and stuff. But I'd be glad to help you there - even tho I'm missing a bit of experience in the general pdf format.

Thanks for the details!

Maybe there should be some kind of logic to handle those errors, destroys LO instances and retries the action (up to x times)?

I am also experiencing this issue during a performance test with 220 simulated users and 15 gotenberg replicas. The file subject to conversion is always the same, yet a small percentage of conversions fail with this error. Any chance to add an automatic retry into gotenberg as suggested in this comment


OSerror mac Big Sur

Hi there!
I got the following stack trace running pyads on

mac big sur
python 3.7/3.8/3.9

I tested it also on catalina, there it works

mac catalina
python 3.8

Im not familiar with the inner workings and cant fix it sadly, is this something that can be fixed?
File<EMAIL_ADDRESS>line 373, in init
self._handle = _dlopen(self._name, mode)
OSError: dlopen(/Users/../.local/share/virtualenvs/WebBackend--zKZU3uM/lib/python3.8/site-packages/pyads/adslib.so, 6): no suitable image found.  Did find:
/Users/../.local/share/virtualenvs/WebBackend--zKZU3uM/lib/python3.8/site-packages/pyads/adslib.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00
/Users/../.local/share/virtualenvs/WebBackend--zKZU3uM/lib/python3.8/site-packages/pyads/adslib.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00

@Swaab seems like the there was some error compiling adslib. Can you try to compile adslib manually?

I will close this issue for now. Feel free to attach to it if the problem still persists.

HI! srry was gone for a bit; Thx for your response!
I've been searching for a bit but don't quite understand how I can compile the adslib manually. Would you mind giving me some pointers?  Thx in advance!

HI! srry was gone for a bit; Thx for your response!
I've been searching for a bit but don't quite understand how I can compile the adslib manually. Would you mind giving me some pointers?  Thx in advance!

@Swaab You need to change in the directory adslib and run make.

@Swaab You need to change in the directory adslib and run make.

Aaah I finally got it together; I was looking in the pyads folder within my venv and only say the adslib.so file and didn't really understand the structure; Apperntly the adslib folder get's installed higher in the venv hierarchy. I dit 'make' and copied the adslib.so file to the pyads folder; This fixet it;
Making did give a warning, ill print it here for your reference:
mkdir -p obj/ c++ -c -std=c++11 -pedantic -Wall -fPIC AdsLib/AdsDef.cpp -o obj/AdsDef.o -I AdsLib/ mkdir -p obj/ c++ -c -std=c++11 -pedantic -Wall -fPIC AdsLib/AdsDevice.cpp -o obj/AdsDevice.o -I AdsLib/ mkdir -p obj/ c++ -c -std=c++11 -pedantic -Wall -fPIC AdsLib/AdsLib.cpp -o obj/AdsLib.o -I AdsLib/ mkdir -p obj/ c++ -c -std=c++11 -pedantic -Wall -fPIC AdsLib/AdsNotification.cpp -o obj/AdsNotification.o -I AdsLib/ mkdir -p obj/ c++ -c -std=c++11 -pedantic -Wall -fPIC AdsLib/AmsConnection.cpp -o obj/AmsConnection.o -I AdsLib/ mkdir -p obj/ c++ -c -std=c++11 -pedantic -Wall -fPIC AdsLib/AmsPort.cpp -o obj/AmsPort.o -I AdsLib/ mkdir -p obj/ c++ -c -std=c++11 -pedantic -Wall -fPIC AdsLib/AmsRouter.cpp -o obj/AmsRouter.o -I AdsLib/ mkdir -p obj/ c++ -c -std=c++11 -pedantic -Wall -fPIC AdsLib/Frame.cpp -o obj/Frame.o -I AdsLib/ mkdir -p obj/ c++ -c -std=c++11 -pedantic -Wall -fPIC AdsLib/Log.cpp -o obj/Log.o -I AdsLib/ mkdir -p obj/ c++ -c -std=c++11 -pedantic -Wall -fPIC AdsLib/NotificationDispatcher.cpp -o obj/NotificationDispatcher.o -I AdsLib/ mkdir -p obj/ c++ -c -std=c++11 -pedantic -Wall -fPIC AdsLib/Sockets.cpp -o obj/Sockets.o -I AdsLib/ AdsLib/Sockets.cpp:196:69: warning: adding 'int' to a string does not append to the       string [-Wstring-plus-int]         throw std::runtime_error("Connect TCP socket failed with: " + WSAGetLastError());                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ AdsLib/Sockets.cpp:196:69: note: use array indexing to silence this warning   ...std::runtime_error("Connect TCP socket failed with: " + WSAGetLastError());                                                            ^                         &                                  [                  ] 1 warning generated. c++ -shared -fPIC -o adslib.so obj/AdsDef.o obj/AdsDevice.o obj/AdsLib.o obj/AdsNotification.o obj/AmsConnection.o obj/AmsPort.o obj/AmsRouter.o obj/Frame.o obj/Log.o obj/NotificationDispatcher.o obj/Sockets.o

Aaah I finally got it together; I was looking in the pyads folder within my venv and only say the adslib.so file and didn't really understand the structure; Apperntly the adslib folder get's installed higher in the venv hierarchy. I dit 'make' and copied the adslib.so file to the pyads folder; This fixet it;
Making did give a warning, ill print it here for your reference:
mkdir -p obj/ c++ -c -std=c++11 -pedantic -Wall -fPIC AdsLib/AdsDef.cpp -o obj/AdsDef.o -I AdsLib/ mkdir -p obj/ c++ -c -std=c++11 -pedantic -Wall -fPIC AdsLib/AdsDevice.cpp -o obj/AdsDevice.o -I AdsLib/ mkdir -p obj/ c++ -c -std=c++11 -pedantic -Wall -fPIC AdsLib/AdsLib.cpp -o obj/AdsLib.o -I AdsLib/ mkdir -p obj/ c++ -c -std=c++11 -pedantic -Wall -fPIC AdsLib/AdsNotification.cpp -o obj/AdsNotification.o -I AdsLib/ mkdir -p obj/ c++ -c -std=c++11 -pedantic -Wall -fPIC AdsLib/AmsConnection.cpp -o obj/AmsConnection.o -I AdsLib/ mkdir -p obj/ c++ -c -std=c++11 -pedantic -Wall -fPIC AdsLib/AmsPort.cpp -o obj/AmsPort.o -I AdsLib/ mkdir -p obj/ c++ -c -std=c++11 -pedantic -Wall -fPIC AdsLib/AmsRouter.cpp -o obj/AmsRouter.o -I AdsLib/ mkdir -p obj/ c++ -c -std=c++11 -pedantic -Wall -fPIC AdsLib/Frame.cpp -o obj/Frame.o -I AdsLib/ mkdir -p obj/ c++ -c -std=c++11 -pedantic -Wall -fPIC AdsLib/Log.cpp -o obj/Log.o -I AdsLib/ mkdir -p obj/ c++ -c -std=c++11 -pedantic -Wall -fPIC AdsLib/NotificationDispatcher.cpp -o obj/NotificationDispatcher.o -I AdsLib/ mkdir -p obj/ c++ -c -std=c++11 -pedantic -Wall -fPIC AdsLib/Sockets.cpp -o obj/Sockets.o -I AdsLib/ AdsLib/Sockets.cpp:196:69: warning: adding 'int' to a string does not append to the       string [-Wstring-plus-int]         throw std::runtime_error("Connect TCP socket failed with: " + WSAGetLastError());                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ AdsLib/Sockets.cpp:196:69: note: use array indexing to silence this warning   ...std::runtime_error("Connect TCP socket failed with: " + WSAGetLastError());                                                            ^                         &                                  [                  ] 1 warning generated. c++ -shared -fPIC -o adslib.so obj/AdsDef.o obj/AdsDevice.o obj/AdsLib.o obj/AdsNotification.o obj/AmsConnection.o obj/AmsPort.o obj/AmsRouter.o obj/Frame.o obj/Log.o obj/NotificationDispatcher.o obj/Sockets.o


Authorized_keys file empty after deleting a user

Gogs version (or commit ref): <IP_ADDRESS>8
Git version: <IP_ADDRESS>
Operating system: RHEL 7.2
Database:

[ ] PostgreSQL
[ ] MySQL
[ X ] SQLite

Can you reproduce the bug at http://try.gogs.io:

[ ] Yes (provide example URL)
[ ] No
[ X ] Not relevant

Log gist:
Nothing related to the file appears in the logs. We just see that the HHTP request for deletion returns ok.

Description
Hello,
Today I found a bug that is major. All our users use their ssh key to work with gogs, and when deleting the account of a person that left the team, it resulted in an empty ~/.ssh/authorized_keys file. Thus, nobody can use the git+ssh protocol anymore.
I didn't found anything related to such a bug in the past issues.

Please upgrade to latest version and re-test..

ping

Hello.
I'm currently quite busy on our projects, but I will try the new version as soon as possible. Normally I will have some time in the beginning of next week.
Also, there is no "binary" package available for last version, so I have to deploy all the compilation environment on the target machine.

Hello!
I just tried the two last releases 0.9.46 and 0.9.48, and the issue still exists.

Does file content come back if you go to /admin and run regenerate ~/.ssh/authorized_keys file?

Yes, this is ok.

Patch has pushed to fix this issue, please test on develop branch or https://try.gogs.io.

The bug is fixed within the develop branch.


Add marginchronicles.com

The webring icon is at the bottom of the root page.

Very nice! It's fun to see that lisp templating in the wild(Emender).

Thanks for the merge! The earlier version of oscean inspired that (and a lot more about my site). But I think Emender's days are numbered now that I'm using Ruby because it has embedded code templating in the standard library.

I have also replaced that system for something simpler since.


manifest: intel_hal: update to get new PM and gpio patches

It contains PM bug fix and gpio support both edge trigger patch.

@likongintel please fix compliance issues.
 38902c40d4fa3a5170f90c0bffd3daf555821671: author email (likong<EMAIL_ADDRESS>needs to match one of the signed-off-by entries.
38902c40d4fa3a5170f90c0bffd3daf555821671: author email (likong<EMAIL_ADDRESS>does not follow the syntax: First Last <email>.

@likongintel please fix compliance issues.
 38902c40d4fa3a5170f90c0bffd3daf555821671: author email (likong<EMAIL_ADDRESS>needs to match one of the signed-off-by entries.
38902c40d4fa3a5170f90c0bffd3daf555821671: author email (likong<EMAIL_ADDRESS>does not follow the syntax: First Last <email>.

@nashif the signoff has already been "Signed-off-by: Li Kong<EMAIL_ADDRESS>wonder why CI reports such failure.

replace with https://github.com/zephyrproject-rtos/zephyr/pull/74133.


error in VAE.py

Traceback (most recent call last):
File "compare_gan_run_one_task", line 71, in
tf.app.run()
File "C:\anaconda3\lib\site-packages\tensorflow\python\platform\app.py", line 125, in run
_sys.exit(main(argv))
File "compare_gan_run_one_task", line 57, in main
gan_lib.run_with_options(options, task_workdir)
File "c:\users\e\python\compare_gan\compare_gan\src\gan_lib.py", line 255, in run_with_options
gan.train(sess, progress_reporter)
File "c:\users\e\python\compare_gan\compare_gan\src\gans\abstract_gan.py", line 441, in train
d_loss, g_loss = self.run_single_train_step(features, step, g_loss, sess)
TypeError: run_single_train_step() missing 1 required positional argument: 'sess'

We just released an update of the library and VAEs are no longer part of it. You can continue to use the v2 branch and if you send a pull request to fix this I will merge it.


feat: ruby and rails upgrade

Closes https://github.com/datadryad/dryad-product-roadmap/issues/2984
Closes https://github.com/datadryad/dryad-product-roadmap/issues/3201
https://github.com/datadryad/dryad-product-roadmap/issues/3062 needs to be completed before we can further upgrade rails

The latest version of this is deployed on dev, @ryscher

This is working well!


RNA string needs to be reversed!

https://www.reddit.com/r/learnprogramming/comments/cgr7eg/ten_easy_scientific_programming_problems/euljuoc/

When I've seen the same problem RNA transcription problem elsewhere, it was usually described as a translation "map", like the following:
def rna(dna):
    # G -> C
    # C -> G
    # T -> A
    # A -> U
    trans = str.maketrans("GCTA", "CGAU")
    return dna.translate(trans)

I've no idea how biologically accurate and easy to understand that method is though!

Ah I had to Google but I think that's the DNA complement rather than the RNA?
I think the Reddit post was talking about also reversing the string to be biologically accurate. You can tell I'm no biologist lol.
Would just have to change the solution and update the website description (nothing major), maybe the problem module but don't think so.

Yeah I'm most definitely no biologist either so won't pretend I know which is correct. It's quite possible that the other problems I've seen are also written by non-biologists (and shouldn't be lazily copied), but for reference here's the example I mentioned above:
https://github.com/exercism/javascript/tree/master/exercises/rna-transcription

Solution and website description have been fixed.


Subcategories not accessible

Hi!
tried looking into this a bit but couldn't find a nice way to fix this. When selling a bike, I selected the correct category:
https://www.ebay-kleinanzeigen.de/p-kategorie-aendern.html#?path=210/217/herren/
However, this requires another step to select a "Subtype" in the submission field - checking for additional categories, I could find this in the source of the page so tried adding this to additional_category_options but wasn't successful.
"additional_category_options": {
                "fahrraeder.type_s": "city"
            },

Any hint? Couldn't find anything in the docs so far... other things work fine, just if I need to specify subtypes, this seems to not work

Quick and dirty workaround: Put a time.sleep(300) before driver.close() in kleinanzeigen.py and select the category manually in the browser after the image upload is completed.

Yeah, did something similar in the end (just watching and clicking the category myself during the image upload - which works fine even without modifications) - but "not optimal" lets say ;-)


If we have multiple notifications ,after reading only one  notification all the other unread Notification shows as read.

Environment-staging
Devices used-samsung Galaxy s8
Browser-Google chrome
1.log in with valid user name and password.
2.consider we have 4 notification.
3.click on notification .
4.we can see the notification with green light mentioning as unread notification.
5.click on any one of the Notification.
6.It lands on correct post.
7.click on Notification again.
Expected result:
Remaining 3 Notification should shown with green light(i.e unread one) as we have read only one notification.
Actual result:
It shows as all Notifications are read (i.e no green light with the Notification unread).

@nivetheatha I was the one who implemented this and the logic behind clearing all notifications is that when the notification dropdown is open, you have seen the notifications so they should be marked as "read", but the notifications are still there as they haven't been cleared. I would be happy to open a new pull request if this should be changed!

@nivetheatha I was the one who implemented this and the logic behind clearing all notifications is that when the notification dropdown is open, you have seen the notifications so they should be marked as "read", but the notifications are still there as they haven't been cleared. I would be happy to open a new pull request if this should be changed!

@rz-0605 But I have seen only one Notification right?.It have marked all the remaining 3 notifications as read.

@rz-0605 But I have seen only one Notification right?.It have marked all the remaining 3 notifications as read.


Update shard.yml

No need for openssl.cr anymore. Also it would break the build

Thanks @cserb. LGTM 👍 I'll update the code accordingly. Cheers


Push and pull with gutters

I am developing a site which is using push and pull for semantic columns. This was working fine until I was asked to change the design and have gutters in-between the columns.
The result is not good, the first column (which is actually the second column) has the gutter on the wrong side, its positioned incorrectly, and the second column (which is actually the first column) is in the wrong position.
Here are some screenshots of the problem:

I can correct this by adjusting the css but was wondering if this needed to be fixed in the framework.
Steve

It can be a problem with the framework, but I don't know if @keenanpayne wants to fix this since we are going to release the next version soon.
However, IMHO, changing the order in the HTML instead of using pull/push is a better option.

Hi James,
Having semantic columns is in my mind an essential feature of any grid framework. There is a previous post about this from V1. I understand there is a new grid being used for V3, it would be great if semantic columns could stay, otherwise I might end up stripping it out and using another one that does have them.
Steve

Don't worry! atGrid.css already supports semantic columns and with it there shouldn't be any problem with the gutters.

Excellent! Would it be easy to drop it into V2? I am working on a Wordpress theme which has been hacked to death, not sure I want to update it to V3 just yet.

Yes I think it would be easy, in my profile there is only the original Stylus version but I think you have access to the repo of v3 so you can get the Sass port there. If you have any problem doing that just let me know!

I will give it a go and let you know how I get on.

@Dooza Did you happen to check out the v3 grid system to see if it works for you? If not, this problem should be fixed in the next few days as we're planning on releasing v3 of the framework this week!


Audio & video timestamp delay

This adds support for altering the presentation timestamp of samples. Allows audio and video stream synchronizations.

Hi @lukasf
I implemented your suggestions from #355
So regarding playback, this seems to have absolutely no effect on audio-only streams. Media Foundation seems to ignore the offset. At least from what I can tell.
Seems to work well for video.

I was actually just about to suggest unifying  the subtitles delay API lol. You beat me to it.

Agreed to all points.


Fix simultaneous sample updates overwriting each other

Motivation and Context
Attempting to simultaneously update more than one item of sample data, or sensitive sample data, can result in changes from one or the other of them being lost due to the overlapping attempts to write the same piece of JSON data.
Fundamentally, Postgres provides no functionality to only update a small part of a JSON binary blob column... the Postgres functions like jsonb_set are only convenience methods for manipulating JSON on Postgres, and do not change the fundamental thing that is happening: that the JSON is manipulated and then replaced in its entirety, and as such, in the event that two SQL UPDATE statements are simultaneously executing, values will be overwritten by whatever was in memory at the time of update.
What has changed
The only way to solve this "dead heat" problem is to lock the row for the duration of the update. Using 'repeatable read' transaction isolation gives further protection, preventing data corruption which occurs after a transaction has committed, but another transaction has a 'working copy' of the data in memory.
How to test?
Use the bulk processor to update several fields of a single case at once, and you should see that all values are updated successfully... previously some of the updates would have been lost.
Links
Trello: https://trello.com/c/vB3gAseM

 Repeatable read bug during bulk processing


Canonical location for local apps

Cookiecutter-django defines apps inside project folder, i.e.: red_dwarf/red_dwarf/users. I tried following the convention, but Django complains that it can't find my module, e.g.:
md red_dwarf/posts
python manage.py startapp red_dwarf/posts

config/settings/common.py
LOCAL_APPS = (
    'ref_dwarf.posts.apps.PostsConfig',
)

ImportError: No module named 'posts'
I'd have to adjust sys.path to include the APPS_DIR, but then Django complains, burns, and crashes with Model class [...] doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS
So my question is, what is the recommended location for local apps? I've red the docs back to back, gh issues, and the internets but could not find a meaningful answer.

As I understand it you should not create your app with startapp command. If you want new app posts just do in the project root:
mkdir red_dwarf/posts
cd red_dwarf/posts
touch apps.py models.py urls.py views.py

Into your apps.py add this code:
from django.apps import AppConfig

class PostsConfig(AppConfig):
    name = 'red_dwarf.posts'
    verbose_name = 'Posts'

and in config/settings/common.py into LOCAL_APPS add red_dwarf.posts so it will looks like this:
LOCAL_APPS = (
    # custom users app
    'red_dwarf.users.apps.UsersConfig',
    'red_dwarf.posts',
)

And you can start code your app. It works perfectly form me.

Just extending @Sgiath answer, make sure include __init__.py when creating the other files, otherwise you won't be able to import your app:
touch apps.py models.py urls.py views.py __init__.py

Thanks @chrisleaman I forgot that. I'm using PyCharm and it creates this file automatically.

The canonical place is inside the the project folder, otherwise the root folder gets littered with too much stuff. You can use startapp and it should just work. That's why we recommend it. So I partly disagree with @Sgiath's response.
Where I agree with @Sgiath is his mention ensuring that you have apps.py correctly written, which I concur.
In any case, I'll find a place in the docs to put a more detailed description of how to add apps to a Cookiecutter Django project.

I fact startapp just create this (https://github.com/django/django/tree/master/django/conf/app_template) structure in whatever path you provide. You can also create your own app template and use it with startapp command (more in the doc ). This is why I think manually create just the files you need is more transparent.

Just wanted to drop a note that this thread just helped me through the startapp default AppConfig problem through github search. As someone who hasn't touched Django in a few years and with AppConfig being foreign to me, this was super helpful. Thanks for the details on this @pydanny @Sgiath.

@pydanny when you say startapp should just work, do you mean when the apps directory is passed as an argument?
When I used the command without specifying a directory (e.g. python manage.py startapp test):
- project_slug
-- test
-- project_slug

@Sgiath i have a question
why do we use 'red_dwarf.users.apps.UsersConfig', for users app but just 'red_dwarf.posts', without PostsConfig?

@kodeine honestly I am not sure :smile: Django can definitely find the config automatically. I guess Users app is just some special case or just preference of the author.
For your apps I recommend using always just equivalent of 'red_dwarf.posts' as described in the Django doc where you can read more about it.

by django docs:

New applications should avoid default_app_config. Instead they should require the dotted path to the appropriate AppConfig subclass to be configured explicitly in INSTALLED_APPS.

I was getting an error telling me that the app i was trying to use didn't have an explicit app_label even tho it did,  I resolved the issue by instead of doing from .models import Product, I now do Product = apps.get_model('product', 'Product')

Not to jump on an old thread, but no one seemed to address @wasabigeek's comment. If run via docker-compose for someproject...
docker-compose -f local.yml run --rm django python manage.py startapp someapp will create someapp alongside (not within) someproject
The comments here suggest supplying startapp with a directory...
(master)]$ docker-compose -f local.yml run --rm django python manage.py startapp someapp ./someproject/someapp/
Starting someproject_postgres_1 ... done
PostgreSQL is available
CommandError: Destination directory '/app/someproject/someapp' does not exist, please create it first.

Creating it then results in
(master)]$ mkdir someproject/someapp
(master)]$ docker-compose -f local.yml run --rm django python manage.py startapp someapp ./someproject/someapp/
Starting someproject_postgres_1 ... done
PostgreSQL is available
CommandError: 'someapp' conflicts with the name of an existing Python module and cannot be used as an app name. Please try another name.

which conflicts because I've created a directory within someproject 😕

Have you tried the below? I think I recall the path needs to be the parent path within the app will be created...
(master)]$ docker-compose -f local.yml run --rm django python manage.py startapp someapp ./someproject/

I've just been struggling with this myself, I had the same issue as @ltankey, tried @browniebroke suggestion but it created the files in the project folder.  The only way I could create an app using docker-compose was to log in to a shell and create it from within the project folder.
$ docker-compose -f local.yml run --rm django sh
# cd <project>
# python ../manage.py startapp <appname>

Yikes - that works thanks @carlosfunk
Sucks that's the only way.

It's a shame "startapp" does not modify the name in the apps.py file (when pointing the command to other directories besides root).
But that's a Django limitation.


Segmentation fault on startup

[Invictus root]~ # gdb /opt/local/bin/znc
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
(gdb) run -c
Starting program: /opt/local/bin/znc -c
[New LWP 101445]
[New Thread 29db708e000 (LWP 101445/znc)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 29db708e000 (LWP 101445/znc)]
0x0000029db70339e8 in vtable for __cxxabiv1::__si_class_type_info () from /lib/libcxxrt.so.1
Current language:  auto; currently minimal
(gdb) bt f
#0  0x0000029db70339e8 in vtable for __cxxabiv1::__si_class_type_info () from /lib/libcxxrt.so.1
No symbol table info available.
#1  0x0000029db67d4ec9 in __dynamic_cast () from /usr/local/lib/gcc6/libstdc++.so.6
No symbol table info available.
#2  0x0000029db68584d0 in std::has_facet<std::ctype<char> > () from /usr/local/lib/gcc6/libstdc++.so.6
No symbol table info available.
#3  0x0000029db684bdd4 in std::basic_ios<char, std::char_traits<char> >::_M_cache_locale () from /usr/local/lib/gcc6/libstdc++.so.6
No symbol table info available.
#4  0x0000029db684bf50 in std::basic_ios<char, std::char_traits<char> >::init () from /usr/local/lib/gcc6/libstdc++.so.6
No symbol table info available.
#5  0x0000029db67e9561 in std::ios_base::Init::Init () from /usr/local/lib/gcc6/libstdc++.so.6
No symbol table info available.
#6  0x0000000000000001 in ?? ()
No symbol table info available.
#7  0x0000000000466fe0 in main ()
No symbol table info available.

If I understand https://wiki.freebsd.org/NewC++Stack correctly, libcxxrt is supposed to replace libstdc++. That page is from 2013, so apparently this is not new....
Anyway, that backtrace looks like something is mixing the two libraries in an incompatible way. And apparently it is something were early, because the crash happens in std::ios_base::Init::Init, which does sound "early"...


Word Object should not change if not saved

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to Any word e.g "Diffident"
Edit the word
Make edits
Cancel the operation by clicking the cross on the left top

Expected behavior
No changes should be made to the word
Actual results
The word Object is getting changed due to data shadowing.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

macOS chrome

This is fixed and no longer reproducible


Fix spinnaker clouddriver role json

Deleted comma led to the "Bad string" error in AWS.
It was either a typo or an old syntax for IAM-roles
Deleting the comma fixes the problem.

LGTM thanks!


deepin.util-dfm: 1.2.8 -> 1.2.12; dde-file-manager: 6.0.15 -> 6.0.23

Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

@ofborg build deepin.dde-file-manager

@ofborg test deepin


[Twitch] Add VOD ID and VOD offset in seconds to info

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[X] At least skimmed through contributing guidelines including yt-dlp coding conventions
[X] Searched the bugtracker for similar pull requests
[X] Checked the code with flake8

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[X] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[X] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
Include the ID of the VOD where a Twitch clip was clipped from and how many seconds into the VOD the clip was from.
For example, in the Twitch clip linked in the tests for TwitchClipsIE:

The View Full Video button links to https://twitch.tv/videos/72078016?tt_content=full_vod_button&tt_medium=clips_web&t=2h8m14s, a Twitch VOD with ID 72078016 at timestamp 2h8m14s.
In this case, the vod_id is 72078016 and vod_offset_seconds is 7694 (2h8m14s converted to seconds).
Conversely, if a Twitch clip's associated Twitch VOD is no longer available (e.g. it has been removed by the broadcaster, it has expired, etc.), the VOD ID and offset will be None.
This addition would be helpful for archivists who would like to also preserve which Twitch VOD a Twitch clip is from.

You cannot just add arbitrary fields to the info-dict. First we need to decide whether it is appropriate to use any existing fields for this. If not, what (if any) fields could be added that addresses this, but is also generalizable to other extractors (and not just for twitch).


dot(.) in the field names are assumed to be array elements

Are you submitting a bug report or a feature request?
Bug report
What is the current behavior?
Field name is having dot(.) char is splitting the values and it is not taking the value from textbox.
For example, the field name is "FirstName." then in the values json it is taking it as "FirstName.":"","FirstName":[]. Even if the field has the dot(.) char at somewhere at the middle also behaving the same as I mentioned.
Deep fields with a name prop containing digits are assumed to be array elements. For example, if you place a field with name="FirstName." in a , foo is assumed to be an array, not a standard object.
What is the expected behavior?
Expected behavior is to take the value from the textbox and map it to the field.
A  would represent a plain object, not an array. Any nested field names would show up as properties on that object.
Sandbox Link
https://codesandbox.io/s/rjo85xwqoo
What's your environment?
Testing in Chrome using redux-form 8.1.0
Other information
This scenario may be related to the issue described in PR #3582 .

Is there anyone looking into this issue?