FilterExpression doesn't work with LocalDateTime values

When passing in a LocalDateTime, the expression parser needlessly converts into a Date

This makes the filter unusable if you want to convert it to JPA format or SQL using filterExpression.getExpression(ExpressionFormat.JPA);

Is it still open?

@PrabhatUpadhyay1 Yes. We had to publish our own version of this library to use this locally. But ideally this fix could be merged and released


Remove schedule component base

Summary
Replace the ScheduleComponent interface with NamedValue by removing most of the abstract methods from the interface besides name and channels. Replaced all ScheduleComponent occurrences with the NamedValue interface where applicable and with 'Schedule' where the NamedValue was too broad
Details and comments
The ScheduleComponent due to its specificity was too restrictive and constraining as an abstract base class. This class has been eliminated due to its restrictiveness and a new base abstract class NamedValue has taken its place. The docstrings for the removed properties have been propagated to the Instruction and the Schedule classes themselves. Schedule and Instruction both now uses a 'Schedule' type forwardRef of the class in the typed arguments
 - Made the ```ch_start_time``` channel argument as optional and disabled
   pylint warnings for compatibility in ```Instruction``` class

Fixes #5076

Refer to PR #5245 for further changes. Closing


SideBarEnhancements input fields are not visible

Since installing this theme (which looks wonderful, well done!), the input fields for the SideBarEnhancements package have not been showing up. This makes it difficult to create a new file or folder, and next to impossible to move files. Haven't had time to look under the hood yet, but I thought I'd at least let you know.

I pushed a new release (1.0.3) to the package manager. Maybe this could fix your error. If not a workaround is to put the cursor above the statusbar until it changes than move it up. The rename box is there but "minified".

Ah, I see. I actually found the same solution from the readme in the Material Theme repo, which I noticed this was based on. Might be a good idea to include it in your readme as well, since it seems to be affecting other users ( #8 ).

For future reference, the solution is indeed to hover around where the input fields should be, until the cursor becomes a vertical resize cursor. Grab the invisible border and expand the input fields manually. It seems that the size is persistent, so you only need to do it once. Can probably close this issue.

https://github.com/artifactdev/Theme-Dark-Material/issues/9


OpenClose for blinds: invert openPercentage?

The OpenClose trait works a little bit strange for blinds.
Example (tested in German):
Set the blinds to 90%
Actually the result is that the blinds are set to 90% open. So not the blinds are 90% visible, but the blinds are nearly completely open.
From user perspective this sounds really strange, as you think that 100% means closed and not open for blinds. Of course, if you think about a door it's the other way around (100% = open, 0% = closed).
I would suggest to include an invert attribute to the OpenClose SYNC response so that the result of "set the blinds to 90%" results in openPercentage = 10%.

From my POV, I'd interpret 90% to mean 90% open, so it seems to be a matter of opinion.
But in your service, you can set it up so that when you get an EXECUTE with 90%, you handle it in the way that you want.

I would not prefer to change it in my service, as that would lead to wrong QUERY and ReportState (and maybe to wrong icons in the app in the future?).
Example:

user sets blinds to 90% (90% open)
openPercent = 90 is received by my service
I would need to respond with SUCCESS openPercent = 10, which might be handled by Google as no SUCCESS as it is not the openPercent value I received in the EXECUTE json
user receives as an answer, that the blinds will be 10 percent opened, which is pretty confusing for the user as he asked before to set the blinds to 90% and therefore the answer should include the number (90) the user requested. I can't send back 90, as the response from Google Assistant includes the word 'open'.
user asks which state the blinds are
I would need to report openPercent=10, so that the user gets the right answer
ReportState would also need to be faked to 10%

So the EXECUTE values would always differ from the QUERY and ReportState values.
If I think of an slider in the Home App like brightness for blinds, it can't work that way as well. Would you drag the slider to the left (0%) to have the blinds closed or to the right (100%)? I would say the slider should go to the right (100%) to close the blinds.

I'll file a ticket internally for this request.

Closing as obsolete.

Closing as obsolete.


Using assumego to connect to EKS not working

I had configured my kubeconfig file as per the documentation https://docs.commonfate.io/granted/recipes/eks
However, I was getting the following error:
assumego Error while proxying request: getting credentials: decoding stdout: yaml: line 3: mapping values are not allowed in this context

I found that changing the command from assumego to assume solved the issue.
This is an issue since release v0.20.x as I had tested with v0.19.2 and did not have the same problem.
I'm currently on v.0.20.2

Docs have been updated to reflect the above


Need to embed videos, mobile responsive

Currently, videos are embedded on the Cogostar crowdfunding platform:
https://www.cogostar.org/projects/operationcode
Need to embed on here too.

Fixed via 40256a61f75149f7220c76ec8a53c1dbbe68cc92.


Error While Recording

flutter: PlatformException(, Failed to start recording, null, null)

Sorry it was my fault the mic was used by another app so. You guys should have proper error log.


resolve issue #46

simplify RouterMapCallRWImpl: don't use errgroup, channels and workers just send a bunch of requests and wait for their results (similar to the lua implementation)

This PR also closes the issue #7

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 0% with 75 lines in your changes missing coverage. Please review.

Project coverage is 32.93%. Comparing base (5f5cc35) to head (7fe4073).

Files with missing lines
Patch %
Lines

api.go
0.00%
75 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #47      +/-   ##
==========================================
+ Coverage   30.74%   32.93%   +2.18%
==========================================
  Files          10       10
  Lines         709      662      -47
==========================================
  Hits          218      218
+ Misses        477      430      -47
  Partials       14       14

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


[iOS][Action Rendering] Allow for text wrapping in Action buttons

What platform is your feature request related to? (Delete other platforms).
iOS
Is your feature request related to a problem? Please describe.
An action with a really long title can extend beyond the bounds of the button without any wrapping. The title then gets cut off with no way to see the rest of it.
Describe the solution you'd like
Allowing for text wrapping would be a simple solution to resolve this.
Describe alternatives you've considered
n/a
Additional context
Wasn't sure if this is considered a "bug" or not (feel free to make it a bug if it's more fitting there).
Here is an example card that does not allow for text wrapping (note the host config has "actionsOrientation": "vertical"):
{
   "$schema":"http://adaptivecards.io/schemas/adaptive-card.json",
   "type":"AdaptiveCard",
   "version":"1.2",
   "body":[
      {
         "type":"TextBlock",
         "wrap":true,
         "text":"There are also still actions at the bottom of the card"
      }
   ],
   "actions":[
      {
         "type":"Action.ShowCard",
         "title":"Really Long Title That's Too Long For the Card",
         "style":"positive",
         "card":{
            "type":"AdaptiveCard",
            "body":[
               {
                  "type":"TextBlock",
                  "text":"This is a show card"
               }
            ]
         }
      },
      {
         "type":"Action.OpenUrl",
         "title":"Desctructive",
         "url":"https://adaptivecards.io",
         "style":"destructive"
      },
      {
         "type":"Action.Submit",
         "title":"Default",
         "data":{
            "x":13
         }
      }
   ]
}

this produces the card:

Its worth noting that this seems to be the default behavior on Android.

The same JSON on iOS results in this:

JSON for these images is here:  https://developer.webex.com/buttons-and-cards-designer/lesson-9

Updating this with the priority per offline sync for now.

Based on this stackoverflow discussion: https://stackoverflow.com/questions/62470617/how-would-it-be-possible-that-adaptive-cards-in-microsoft-teams-for-android-neve
It seems to be an issue for Android aswell.

Based on this stackoverflow discussion: https://stackoverflow.com/questions/62470617/how-would-it-be-possible-that-adaptive-cards-in-microsoft-teams-for-android-neve
It seems to be an issue for Android aswell, at least for MS Teams tho
Seems to be similar to this aswell: #3919

There's an important distinction between the two issues you linked and the one above (although I believe that the issues above are valid issues to figure out as well). In both of the ones you linked, the actions have a property set: "actionsOrientation": "horizontal". With the horizontal orientation, the behavior is for the actions to be scrollable if they go outside of the view (which I don't love, but it's still usable to a degree).
The bug I mentioned above is with "actionsOrientation": "vertical". When the action title is too long in that scenario, it just goes off these screen and is no longer scrollable.

Hello @JohnnyKehr,
The cut off issue has been fixed via PR4108
Even in vertical orientation, with this fix, button will scroll horizontally.
Thank you.


Beta Data Visualization with D3: Work with Dynamic Data in D3 - append()

Challenge work-with-dynamic-data-in-d3 has an issue.
User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:51.0) Gecko/20100101 Firefox/51.0.
Please describe how to reproduce this issue, and include links to screenshots if possible.
I keep receiving the error that I'm not including the "USD" on to each h2. I believe this is a bug can someone confirm if it's me or just my bad D3 coding ability.
Thanks

<body>
  <script>
    const dataset = [12, 31, 22, 17, 25, 18, 29, 14, 9];

    d3.select("body").selectAll("h2")
      .data(dataset)
      .enter()
      .append("h2")
      // Add your code below this line
       //var u = " USD";
    .text(dataset, function (d, i) {
        return dataset[i].data.append("USD");

    })

      // Add your code above this line
  </script>
</body>

I also had a problem with this challenge related to issue #15286. However, I think there might also be a problem with your code.

Thanks! It was a problem with my code...closing.


fix: change storage expiration hours to 4hours

What type of PR is this?
Change storage expiration from 12 hours to 4 hours for more aggressive clean up

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2450

Relevant Lines:
2985

💛  - Coveralls


feat: add caniuse to other/devtools

Fixes Issue
Closes #2547
Changes proposed
adds the following to databse/other/devtools.json
{
"name": "Can I Use",
"description": "Can I use is a valuable web tool that helps developers check browser support for various web technologies, including CSS, HTML5, JavaScript, and APIs. It provides up-to-date compatibility data for different browsers and versions, helping developers ensure cross-browser functionality in their projects.",
"url": "https://caniuse.com/",
"category": "other",
"subcategory": "devtools"
}
Screenshots

Note to reviewers
merging this branch, adds the webpage can i use in the devtools category

@rupali-codes i have created a new PR after removing the empty files


[Android] App get crashed when user taps on “Send an issue report” option from the “Setting” screen.

Frequency: 100%
App version: zero-sync build: Staging build v1.5.0 (101548577)
Repro on: Samsung Galaxy Grand Prime (5.1.1), Samsung Galaxy s5 (6.0.1)
Testing Account:<PHONE_NUMBER>/Backup Kay
Repro Steps:

Launch the app.
Tap on the “Cog” icon.
Tap on send an issue report.
Observe.

Impact: User is blocked to send an issue log.
Current Behavior: App gets crashed.
Expected Behavior: User should be able to create an issue log
Attachment:

Android_AppGetCrashed.mp4 (Bug observe at 6 sec)
Crashlog.txt

It seems he hit an OOM error. The logs can get big. I'll see if we can patch this in an easy way

Related: https://github.com/itinance/react-native-fs/issues/598

We may be able to switch to using https://github.com/joltup/rn-fetch-blob instead to stream the file gradually.

Verified with latest Android build v1.6.1 and found that issue is fixed as now user is able to send the report using "Send an issue report" option from setting.
I have also verify the issue on latest iOS Test flight build v1.6.1 (23) and found the following

Nothing happen when user taps on Send an issue Report option from setting.

Attachment: IOS_SendReportIssue.mp4

@Lss-Ankit thank you for verifying but actually this is not yet fixed. However the crash will only occur on low-end phones when the logs get large.
As for iOS, we have fixed that and the fix will go out with the next app update.

@jmrossy Thanks for the update. I have verified this issue in Android 5 & 6 os devices and issue is fixed now in play store build : 1.6.1 (104794404).
Verified on Account :<PHONE_NUMBER>/Backupkey (quiz egg lumber aisle juice impose control lens office caught turn skull rude planet merge hub cross purchase gown castle dinner steak license depart)
Verified on Devices : Samsung Galaxy S5 (6.0.1) & Samsung Galaxy Grand Prime (5.0.1)
Attachment : Android 5 & 6_App does not get crashed(https://drive.google.com/file/d/1Eq3ovkDvR-c92K35ckL6ERj0MzKZn_bJ/view?usp=sharing)


Rewrite outer-joins to inner-join if possible

@dobe please review

if you discover nothing else ... ack


Lens becomes unusably laggy in a large cluster

Describe the bug
Lens becomes unusably laggy with a large cluster, to the point where it becomes completely frozen if the size grows enough. I am attempting to use it on a cluster with ~20k pods (many hundreds starting/stopping per minute) and the app completely hangs and never recovers when attempting to do anything (especially the pods tab).
To Reproduce
Steps to reproduce the behavior:

Have significantly large cluster and connect
open pods tab
Lens will freeze after a few seconds

Expected behavior
Lens doesn't freeze.
Environment (please complete the following information):

Lens Version: 4.1.3
OS: [e.g. OSX]

Are these pods all in a single namespace?

No, but a vast majority are. However it still lags just as much if I have the namespace hidden. If theres anything I can do to help get you info let me know

The solution for this is probably related to streaming results to stores. Though the fact that you said that the pods are in the 100s starting and stopping per minute is certainly the bigger problem.
Are you using pods for individual requests? I would like to have some understanding behind why so many pods are being stopped and started. That should help us prioritize this issue.

We are a game server hosting, so we have lots user requested servers spinning up and down constantly.

Thanks for the information. I guess we need some feedback.
How "up to date" do you want your information to be if the number of pods is constantly changing?

I think at that size/rate, the most important thing is being able to find the pod when searching for it. So as long as the search is able to find new pods, it doesn't matter as much if the full list is "live". For smaller, less active namespaces, its far more important for the list to be "live"

Thanks for the information. I think I will flesh this out into a feature request tomorrow and then close this then.

@Double0negative Would you be fine if you were required to mark a cluster like this as "large" (or something similar, ignore bikeshedding) and have the system instead of doing streaming we do slow polling and fall back to querying the kube server for an item if we don't find it?

Yea that would be fine. If possible it would be preferable to do this per namespace, but if not on the whole cluster would be ok

Per namespace would be interesting, but more difficult when you have both selected, (or for that matter if you select "All Namespaces"). One possibility would be for you to add the cluster twice and limit the namespaces on one (or both). Though that might mean that we should add the opposite of "accessible namespaces" so that you could turn off namespaces that you want to view using the other configuration.

i am having the same problem here after updating to Lens 5
before it took time to retrieve the cluster info but lens will not hang and stop responding
now lens stop responding and the laptop fans start spin loudly for a few minutes and it will go back to normal again
the CPU and Memory usage is hitting the roof when this happens
Lens Helper (Renderer) the process that using the resources

If you turn off "Allow Error Reporting" in user preferences does Lens's performance improve?

no it did not i think this problem could be avoided if the default name space is selected by default not all name spaces
also we can retrieve all pods names with out statuses and get the statuses when scrolling down
i noticed that lest is getting all pods info at one
we can get list of pod names it will be fast
and create a pagination by 10
each page we retrieve 10 pods info

The default set of namespaces is current "default" or first (if default is not a namespace known to Lens).
The idea about getting events on demand is interesting we will consider it.

@Double0negative is this still an issue with the latest version (5.3.x)?


Minor fixes and review

@cekk A couple adjustments I made here. Do let me know about your opinions through comments, I could change accordingly.

Thanks @stevepiercy @svx for all the tips. I'm so sorry, I'm totally new here, my bad I should've gone through the guides and docs before trying to contribute myself. Will note all of these while working on further docs

Thanks @stevepiercy @svx for all the tips. I'm so sorry, I'm totally new here, my bad I should've gone through the guides and docs before trying to contribute myself. Will note all of these while working on further docs

Thanks @stevepiercy @svx for all the tips. I'm so sorry, I'm totally new here, my bad I should've gone through the guides and docs before trying to contribute myself. Will note all of these while working on further docs

Thanks @stevepiercy @svx for all the tips. I'm so sorry, I'm totally new here, my bad I should've gone through the guides and docs before trying to contribute myself. Will note all of these while working on further docs

@stevepiercy i agree..i am going merge this pr and take some time to review all the paragraphs.
When it is in a good shape, i will ping you for a final review if you are ok.

@stevepiercy i agree..i am going merge this pr and take some time to review all the paragraphs.
When it is in a good shape, i will ping you for a final review if you are ok.

@stevepiercy i agree..i am going merge this pr and take some time to review all the paragraphs.
When it is in a good shape, i will ping you for a final review if you are ok.

@stevepiercy i agree..i am going merge this pr and take some time to review all the paragraphs.
When it is in a good shape, i will ping you for a final review if you are ok.

@stevepiercy i agree..i am going merge this pr and take some time to review all the paragraphs.
When it is in a good shape, i will ping you for a final review if you are ok.

@stevepiercy i agree..i am going merge this pr and take some time to review all the paragraphs.
When it is in a good shape, i will ping you for a final review if you are ok.

@stevepiercy i agree..i am going merge this pr and take some time to review all the paragraphs.
When it is in a good shape, i will ping you for a final review if you are ok.

@cekk sounds like a good plan, and ping @svx, too.

@cekk sounds like a good plan, and ping @svx, too.

@cekk sounds like a good plan, and ping @svx, too.


Feature request: improve key output

Currently tmkms yubihsm keys list outputs key information in hex format, that is hard to reconcile or use.
I'd like to suggest the following changes:

Output the key label in tmkms yubihsm keys list to make intended use obvious.
Introduce a tmkms chains list command that outputs keys in the expected format (bech32). It could display the chain-id, and then the formatted list of associated keys.

The output was originally a bit better for cosmos, but regressed in #205. It'd be nice if it used chain-specific formatting logic if available.

I closed this in #275, implementing something close to the behavior before #205, which is to list keys in Bech32 with chain-specific prefixes when the configuration allows for this.
It should hopefully work almost all of the time, provided the KMS is properly configured. In the event it isn't, it will fall back on the hex representation (i.e. the current behavior).

Cool, thanks!


Fixed Issue #4

Added Illustration below Buttons.

@dibyanshu-mohanty  The addition of the illustration is ok but I think you should have updated the project before making the PR as the project was already updated with the rounded buttons. Apart from that, rest everything is fine, and let's wait for the response from PA.

The PR wasn't merged at the time I worked with the project , if the PA wants then I can do it with the updated project

Any update?

Yep , Will Do the PR by tonight
On Thu, Jun 24, 2021, 21:53 Anush Bhatia @.***> wrote:

Any update?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/smaranjitghose/Upcharika/pull/19#issuecomment-867776726,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARKKS6YTTIVTDJ2Z74MOKRLTUNLYZANCNFSM466XSHKA
.


Exception during login

I'm following along the AspNet Core quickstart and I get the following exception while trying to login:
_SecurityTokenInvalidSignatureException: IDX10503: Signature validation failed. Keys tried: 'Microsoft.IdentityModel.Tokens.X509SecurityKey , KeyId: RTM1NzUzMkJCMDIwRjc5MTQ4MTIyNzU2QTQ4OUI0QkZCOTYxMjIyRg
Microsoft.IdentityModel.Tokens.RsaSecurityKey , KeyId: RTM1NzUzMkJCMDIwRjc5MTQ4MTIyNzU2QTQ4OUI0QkZCOTYxMjIyRg
'.
Exceptions caught:
'System.ArgumentException: IDX10634: Unable to create the SignatureProvider.
SignatureAlgorithm: 'HS256', SecurityKey: 'Microsoft.IdentityModel.Tokens.X509SecurityKey'
is not supported._
Any help will be greatly appreciated.
Thanks,
Rudy

If you're using a HS256-key, it can be fixed by setting the TokenValidationParameters on the OpenIdConnectOptions.
First turn the clientSecret into a byte[] like so:
var keyAsBase64 = Configuration["auth0:clientSecret"].Replace('_', '/').Replace('-', '+');
var keyAsBytes = Convert.FromBase64String(keyAsBase64);
Next add the TokenValidationParameters like so:
TokenValidationParameters =
{
IssuerSigningKey = new SymmetricSecurityKey(keyAsBytes)
}

I'm having the same issue with this one. I've just followed the basic login tutorial for .net core. Where am I able to set the TokenValidationParameters? I can't seem to find a reference to it following the tutorial.

If you are getting this error it means you haven't changed the settings in the Auth0 dashboard. You need to change JsonWebToken Signature Algorithm to use RS256 under advanced options of your client.

Thank you very much.
This fix the error.
I've changed from HmacSha256Signature to RsacSha256Signature.


Update default-texture-mapping.md

Typo

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


test: Added snapshot tests.

Adds snapshot testing for final code generation and certifies absence of diagnostics. Adds tests for examples from the Readme

Nice! I wasn't aware that Verify had an extension for source generators. It's one of my favourite libraries. I have adjusted a few things on your PR to match the existing conventions in the project.

This has now been merge in version 2.4.0! Thanks a lot for the PR!


Update gbif-doi to version 2

gbif-doi version 2 stopped supporting mds and ezid services(It's using DataCite REST JSON API now). Check what changes are needed.

Use gbif-doi 2.1 or higher, API should be the same

To create a new instance of DoiService CommonBuilder#createRestJsonApiDataCiteService should be used instead of CommondBuilder#createDataCiteService

Relevant to #1361 .

I have tested this, and it seems to be working fine — thanks!


Add expansion to POST parameters

The object should expand on post parameters for objects, arrays, enums, etc.

moving to backlog until we can decide on method level changes


FSR 2.2 causes some shaders to glitch with 3d scaling below 1.0

Godot version
v4.2.dev6.official [57a6813bb]
System information
Godot v4.2.dev6 - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2060 SUPER (NVIDIA; <IP_ADDRESS>42) - AMD FX(tm)-8350 Eight-Core Processor (8 Threads)
Issue description
When using FSR 2.2 if the scaling is set below 1.0 it causes very noticeable glitches in some shaders

Steps to reproduce

run the MRP
use the slider to change Viewort.scaling_3d_scale below 1.0

Minimal reproduction project
FSR2 Shader Bug MRP.zip

Commenting as I will investigate this.

Got a fix, will push a PR later.


[Feature] Add a cron schedule to an sqljob

Is your feature request related to a problem? Please describe.
The problem I face is the need for a SQL cron job. An application I am using grows the database my logging to a table unfortunately. I would like to control this by adding a cron scheduled sqljob that can run daily.
Describe the solution you'd like
Here is my sqljob (Edited to remove info)
---
apiVersion: mariadb.mmontes.io/v1alpha1
kind: SqlJob
metadata:
  name: delete-logs
  namespace: my-namespace
spec:
  mariaDbRef:
    name: mariadb
  username: mariadb
  database: mariadb
  passwordSecretKeyRef:
    name: mariadb-secret
    key: db_password
  sql: |
    DELETE FROM logs
    WHERE date < DATE_SUB(NOW(), INTERVAL 60 DAY);

I'd like to add spec.schedule to the CRD so that it can behave like a scheduled Backup rather than being a 1-shot job. i.e.
---
apiVersion: mariadb.mmontes.io/v1alpha1
kind: SqlJob
metadata:
  name: delete-logs
  namespace: my-namespace
spec:
  mariaDbRef:
    name: mariadb
  schedule:
    cron: "0 3 * * *"
    suspend: false
  username: mariadb
  database: mariadb
  passwordSecretKeyRef:
    name: mariadb-secret
    key: db_password
  sql: |
    DELETE FROM logs
    WHERE date < DATE_SUB(NOW(), INTERVAL 60 DAY);

Describe alternatives you've considered
I considered building a pod that can run on a cron-schedule and apply/delete the above yaml after a success.
Additional context

Cluster is a 3-node rancher k3s cluster.
MariaDB is HA with replication.

Environment details:

Kubernetes version: v1.21.5+k3s2
mariadb-operator version: v0.0.12
Install method: helm over argocd (chart version 0.12.0)
Install flavour: recommended

Hey @chris102994 ! Thanks for your suggestion.
This shouldn't be too hard to implement, I would agree that periodically running a SqlJob can have a lot of use cases like yours.
In addition to your CRD definition, I would suggest adding some fields from the Job and CronJob spec to allow the user fully customize the underlying the Job like we do already with the Backup:

https://github.com/mariadb-operator/mariadb-operator/blob/main/api/v1alpha1/backup_types.go#L55

apiVersion: mariadb.mmontes.io/v1alpha1
kind: SqlJob
metadata:
  name: delete-logs
  namespace: my-namespace
spec:
  mariaDbRef:
    name: mariadb
  schedule:
    cron: "0 3 * * *"
    suspend: false
  backoffLimit: 5
  restartPolicy: OnFailure
  concurrencyPolicy: Forbit
  ....
  sql: |
    DELETE FROM logs
    WHERE date < DATE_SUB(NOW(), INTERVAL 60 DAY);

It has been prioritized already in our roadmap. Contributions are very welcome, so feel free to give it a try if you like! Happy to help you if you need! 🙏🏻

@chris102994 @CanisHelix this has been supported by this PR and will be released in the v0.0.14 the next few days, stay tuned 🚀

Awesome! Thanks!


Drop unused beaker_setfiles output

A long long time ago, this was used. It's not required anymore, so we can drop it.

Before merging this, I would like to merge:

https://github.com/voxpupuli/puppet_metadata/pull/65
https://github.com/voxpupuli/puppet_metadata/pull/59

@smortex I missed that, dropped it as well.


aeronmd consumes 300% CPU in idle state

I noticed that just starting aeronmd causes it to spin and consume exactly 300% CPU (3 cores). I observed this on 2 different machines: ubuntu 16 and ubuntu 18.
Is this expected, and if yes - why? if no, what could be special about my (vanilla) linux boxes?
Thanks.

What idle strategies have you configured?

Thanks for mentioning this. I was not having any idle strategy settings specified, which means a noop policy as I understood after looking at the code. It would be good to mention existence of these codes for C++ programs in your documentation:
#strategies: sleeping, spinning, yielding, noop
strategy=sleeping
export AERON_CONDUCTOR_IDLE_STRATEGY=$strategy
export AERON_SENDER_IDLE_STRATEGY=$strategy
export AERON_RECEIVER_IDLE_STRATEGY=$strategy
export AERON_THREADING_MODE=DEDICATED

However, even with sleeping an no workload the driver app is using ~30% of a single core on linux and ~80% of a core on my mac laptop.
So, is there a way to not consume CPU in idle state?

Note the number of idle wake-ups on mac

You can use a shared, or shared network threading mode to further reduce CPU usage. However you are trading off responsiveness for CPU resource. Aeron is a not a system that will use no CPU at idle. If this is a concern for you then Aeron is maybe not such a good fit as a solution.

BTW these idle strategies use less CPU on Linux that what you are seeing on OS X.

It does not have to be so binary. Looking at this code: ```static void aeron_idle_strategy_sleeping_idle(void *state, int work_count)
{
if (work_count > 0)
{
return;
}
nanosleep(&(struct timespec){.tv_nsec=1}, NULL);

}```

Java has a progressive backoff strategy and I've raised a issue for this.


outdated auth0 lock

Samples using lock v10.0 when up-to-date version is 10.10. (AUTH-3751)

This issue is affecting the Regular Web App JAVA spring Security sample projects. (login.jsp).

Hi @Amialc, as Auth0's product offering and this sample (along with supporting SDKs) have been updated since reporting, I'm going to close this issue. If you are still encountering issues, don't hesitate to reopen or create a new issue (just be sure to include updated debugging info). Thanks!


Update for selenium nugets

Change list
Update selenium nugets

@yardenschweppe Can you:

Rename the PR title to follow the conventional commit format

For posterity, update your PR description to elaborate on the problem this PR solves and why it is necessary/ why you have changed default values. At this point in time, your title states selenium update but the context can't be grasped from the file changes.

Please sign the CLA. It is usually a one time thing, and is required for the PR to be merged.

Hi @yardenschweppe Would you like to complete this PR?


Missing CSRF in session when authentication agains Keycloack

Bug description
There is no CSRF set on session, then the _process_callback is failing when checking:
if csrf_token != session_csrf_token:
    logger.debug("CSRF token mismatch")
    return True, self._oidc_error()

To Reproduce
Minimal python code for a flask server to reproduce the error:
#!/usr/bin/env python

import jwt
import logging
from flask import Flask, request, redirect, render_template
from flask_cors import CORS
from flask_oidc import OpenIDConnect

logging.basicConfig(level=logging.DEBUG)
app = Flask(__name__, static_url_path = '/static')
app.config.from_pyfile('main_config.py')
app.config.update({
    'DEBUG': True,
    'TESTING': True,
    'SECRET_KEY': 'test',
    'OIDC_CLIENT_SECRETS': 'client_secrets.json',
    'OIDC_ID_TOKEN_COOKIE_SECURE': False,
    'OIDC_REQUIRE_VERIFIED_EMAIL': False,
    'IDC_VERIFY_SSL': False
})
oidc = OpenIDConnect(app)
cors = CORS(app, resources={r"*": {"origins": "*"}})

@app.route('/')
def index():
    return render_template('welcome.html')

@app.route('/admin')
@oidc.require_login
def admin():
    info = oidc.user_getinfo(['email', 'openid_id', 'group'])
    return ('Hello, %s (%s)! Return' %
            (info.get('email'), info.get('openid_id')))

@app.route('/logout')
def logout():
    oidc.logout()
    return redirect("/", code=302)

if __name__ == '__main__':
    app.run(host = '<IP_ADDRESS>', port = 5000, debug = True, threaded = True)

The welcome.html has a form with a link to the "admin" page, wich needs authentication:

	Go!

Expected behavior
I think that, somehow, before therequire_login the library should set a CSRF token in session used by _process_callback.
Screenshots

Screenshot-1: Checking the content of both csrf_token and session_csrf_token.

Screenshot-2: Location of the breakpoint in flask_oidc:

Desktop:

OS: Mac OS 10.11.6
Browser firefox
Version 81.0
Stack:

cryptography==2.9.2
Flask==1.1.2
Flask-Cors==3.0.8
Flask-Login==0.5.0
flask-oidc==1.4.0
flask-restplus==0.13.0
httplib2==0.18.1
oauth2client==4.1.3
PyJWT==1.6.4
requests==2.23.0
rsa==4.6
urllib3==1.25.9
Werkzeug==0.16.1

@carleshf Facing a similar issue... Did you ever came up with a work-around?

Unfortunately, no.
On Sun, Jan 30, 2022 at 20:29 PT @.***> wrote:

@carleshf https://github.com/carleshf Facing a similar issue... Did you
ever came up with a work-around?
—
Reply to this email directly, view it on GitHub
https://github.com/puiterwijk/flask-oidc/issues/111#issuecomment-1025213349,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAPTRZACZAWXXNPRNMLCAPTUYWGQNANCNFSM4SFZGDDA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Carles Hernadez-Ferrer
www.carleshf.com

Thanks for your swift reply!

Hello @carleshf @P-T-I
I had the same problem. I solved it because it keycloak generate cookie (from an other domain) and my cookie policy was same-site="strict.
So, try to set Same-Site to None ?


A replacement for .sync on the client side

Now a promise can chain methods as well.
A promise can be chained with methods supported by the previous resolve object.
e.g. store._jobs.fetch.each ...
e.g. Promise.new.resolve([1, 2, 3]).length <= returns a promise that resolves into the
length of the array
e.g. Promise.new.resolve(4) + 3 <= returns a promise that resolves into 7
An error will be raised if the promise got rejected.

Btw, this change is also a workaround on passing a block in attribute or content binding since the html parser can't handle {} in a {{}} properly yet.
e.g.  will result in an error. fetch_current_user returns Volt.fetch_current_user

One thing, raising in a promise will get wrapped back up in the promise.
I'm not sure if you were in on the conversation, but I had this exact same idea.  I'm still debating it though because it makes things a little confusing.  It feels a bit like cleverness over clarity.  That said, I really don't like using promises and want a way to write synchronous API's.  What I want to do long term is write an extension to opal to support an async/await api (like C# or ES7).  The cool thing is we could make it work in MRI also with fibers.
The problem is some things don't work as you would expect.
Example:
begin
  a = store._items.fetch_first
  a._first_name + " " + a._last_name
rescue => e
  ..
end

This won't work for a few reasons: 1) your adding a string to a promise, and then 2) any errors won't be captured.  Doing a parser extension and async/await would make this all work as expected.
Also, I think if people don't understand when they are working with a promise, you might get more issues than its worth.
I am interested in trying the method_missing approach though, but I kind of want to see how it works for people.  Would you be interested in moving it to a gem?

Sure, that is fine with me.

@pencilcheck cool.  I think if people like it and aren't confused by it, then I'll pull it into volt.  I just want to work out the kinks first and make sure its not too confusing.

https://rubygems.org/gems/opal-promise-patch


Support Recycle Bin in the Content Pane

Is your feature request related to a problem? Please describe.
This is split from #109 :
File deletion: Right now, deleting a file permanently deletes it from SAS. In this issue, we'll want to implement the Recycle Bin functionality that is currently part of SAS drive (look for TODO #109 in the project's code)
Describe the solution you'd like

In the content navigation pane, add a top level folder Recycle Bin
Change the 'Delete' action of normal file/folder to move it to the Recycle Bin.
The Recycle Bin has a context menu item 'Empty Recycle Bin' to delete all the files/folders in the Recycle Bin permanently
The files/folders in the Recycle has a context menu which has 2 menu items 'Restore' and 'Delete'
The file in the Recycle Bin is supposed to be opened in read only mode
The file is supposed to be closed when it's moved to the recycle bin, deleted permanently, or restored from the recycle bin.

Environment
SAS Viya

@Zhirong2022

Deleting files or folders from the content tree does not need a confirmation

Permanently deleting items from the recycle bin should have confirmation messages.

Single item selected warning dialog with title of "Delete" and Delete and Cancel buttons:
Are you sure you want to permanently delete the item ""?

Multiple items selected warning dialog with title of "Delete" and Delete and Cancel buttons:
Are you sure you want to permanently delete the selected items?

Empty recycle bin warning dialog with title of "Empty Recycle Bin" and Delete and Cancel buttons:
Are you sure you want to permanently delete all the items? You cannot undo this action.

fix pushed and close this feature


Ways to Perform AAM in SP Online

Hi, Can you please let me know if there is any alternate way to perform Alternate Access Mapping (AAM) in SharePoint Online ?
I had a requirement to change the domain name of the Site we are using in Our Company for exmaple  "https://sssoft.sharepoint.com/sites/sss/SitePages/DevHome.aspx"to "www.sssoft.com" like that kind of User friendly URL.
Please suggest me any alternate for this requirement.
Thanks in advance

@PremK6969 The sharepoint support site should point you in the right direction.


Working on 1st draft of the API design

Pull request created to see how the linting works
Linting works fine. Now working on the 1st draft

1st draft of the API is good enough to use internally to start coding.
Most of the listed functions still need some notes for user to know how to use them correctly. To-do later.


theming.md Typo Fix

Very tiny fix in the docs to update a grammatical typo.
it's ≠ its

good spot, thanks

Happy to help! No matter how small the contribution! :D


Question: does swagger spec support root nodes

Hey there,
I am writing documentation for rails application. And I am struggling with root nodes in responses.
Here is the example to describe what I mean by that.
GET /orders/ # get all orders
{
  "orders": [
    {
      "id": 28,
      "customer_name": "Peter"
    },
    {
      "id": 29,
      "customer_name": "Tomas"
    }
  ]
}

I came up with the workaround and so far I was creating artificial model Orders, that reference real model Order.
paths:
  /orders:
    get:
      summary: Get all orders
      description: Get All orders
      responses:
        '200':
          description: An array of orders inside root node
          schema:
            type: object
            $ref: '#/definitions/Orders'

definitions:
  Orders:
    type: object
    required:
      - orders
    properties:
      orders:
        type: array
        items:
          $ref: '#/definitions/Order'

  Order:
    type: object
    properties:
      id:
        type: integer
        description: Unique identifier representing a specific order
      customer_name:
        type: string
        description: The customer that the order is for

But I guess there has to be better way to do it. Because this is not the only endpoint (for instance /order/:id has root node 'order' etc.). So I will have to have a lot of artificial models. So my question is.
How am I supposed to write specs for responses that contains root node?
Thank you for any ideas.

But now I lost root node name orders (and order in /orders/:id endpoint) and it also changes response class in swagger UI.
from:

to:

So this is not correct I guess. Any other suggestions?

I misread your post.  It looks like what you described is a good way to do so, if you want the orders key to hold the array.  Sorry for the confusion!

We have the same issue. This seems like a feature that Swagger really should support. This is a fairly common pattern for modern APIs now. Creating an Orders object seems more akin to a hack than a solution.

The problem isn't really clear, so not sure what support is missing.

Really not sure what the question is, apologies.    If it's stuffed inside another object, you have two choices:

Define a holding object, if it's going to be reused across many places.  That's what is described in the first post with the Orders holder, which has an array of type order

Define the response in-line so that the order attribute points to the Order array:

responses:
  200:
    description: the order you wanted
    schema:
      type: object
      properties:
        order:
          type: array
          items:
            $ref: '#/definintions/Order'

This seems to fit in with #519. The ability to define a "collection" wrapper, which can be reused for various resources avoids creating bespoke 'wrappers' for each collection in a CRUD resource pattern.
That said, this example design is somewhat flawed from taking advantage from that type of approach...if orders were items, this would be a reusable collection format.

Parent issue #586

Discussions relevant to this general idea are happening in the Moonwalk project, specifically:

OAI/sig-moonwalk#30

Since I cannot imagine that we could fit this into the 3.x line (too much change would be required), I'm going to mark this as "moved to moonwalk."  Please feel free to join the conversation there!


Printer fixes

Pull Request Test Coverage Report for Build 836

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

Totals

Change from base Build 834:
0.0%

Covered Lines:
19

Relevant Lines:
416

💛  - Coveralls


Delivery on Demos Panel (rviz) only works once

on office.launch.xml
changing the delivery ID  and clicking it again doesn't start a second delivery

This was fixed in the full_control fleet adapter by @cnboonhan94
Did you build with the master branch of rmf_core?

nah, I'm on develop, is that the reason?

gotcha, this has been fixed before, will just close this issue


ECO is not handling bolt of type IStatefulWindowedBolt

heron flavor of ECO StreamBuilder is not handling a bolt object of type IStatefulWindowedBolt. It only handles the bolt if it is a IWindowedBolt at https://github.com/apache/incubator-heron/blob/bc4719746bf613bc5eaf4c3781a435ceb6349198/eco/src/java/org/apache/heron/eco/builder/heron/StreamBuilder.java#L71
When the bolt is of type IStatefulWindowedBolt  which extends IWindowedBolt , the stream builder will only treat it as IWindowedBolt, resulting in invoking https://github.com/apache/incubator-heron/blob/bc4719746bf613bc5eaf4c3781a435ceb6349198/heron/api/src/java/org/apache/heron/api/topology/TopologyBuilder.java#L191, wrapping the bolt in a WindowedBoltExecutor , therefore, the statefulness of the bolt is lost, it's treated as a plain windowed bolt.

the storm-compatibility library in Heron didn't choose to include stateful bolt API from Apache Storm, therefore, its ECO counterpart does not need to handle stateful case.


[1.12.2] [Suggestion] The One Probe – What block is in a framed block

Describe your suggestion:
Compatability with The One Probe: Have it display what block is inside a framed block. Currently, there’s no way to know.

While not a perfect solution, with https://www.curseforge.com/minecraft/mc-mods/nbt-tooltip installed, right-clicking a framed block with an arrow and reading the popup window seems to give information on what block is inside of the framed block.


Show other socket status updates in setup log

Currently, we only show disconnected. So if you disconnect, and reconnect, the logs will not tell the user that they reconnected and it may cause confusion

Issue created by BlueBubbles Bot in the BlueBubbles commnity on behalf of @zach in #support.

We may even want to create a method to "wait" for the status to change back to connected. So if a disconnect occurs, the setup sync function can wait until the socket is reconnected, and resume

DIdn't do what i said in the comment above, however, i added a connected status as part of the log


Crashing minecraft while playing a game with mod

I installed the mod and It work on the main menu but I couldn't get into the game and they give me a crash report.

Post the crash report here to diagnose the issue

What mod?

I don't have a crash report and the exit code is -1

And the mod is immersive portals


Question about fine-grained dataset CUB and Aircraft

Hello
When I tried to reproduce the AUC results of the Easy and Medium datasets for the CUB and Aircraft datasets, I couldn't reproduce the results of the paper, for CUB, Easy and Medium were only 87.5 and 81.8; for Aircraft is 89.0 and 85.4.
I trained according to the bash script/osr_finegrained_train.sh and fix corresponding Optimal Hyper-parameters, and used the places_moco pre-trainmodel, but the results in the paper could not be reproduced. What is the reason?

Hi, I imagine the reason for the discrepancy with the 'Medium' examples is that in the latest version, we combine 'Medium' and 'Hard' into a single split. Regarding 'Easy', I am not sure exactly the reason for the discrepancy (we fix the seeds at the start of training), but within 1% AUROC may be expected between different runs.


Add RabbitTemplate getBeforePublishPostProcessors method

The RabbitTemplate class currently provides a setBeforePublishPostProcessors method to configure MessagePostProcessor instances that can modify messages before they are sent. However, there is no corresponding getBeforePublishPostProcessors method to retrieve the currently configured processors. This PR introduces the getBeforePublishPostProcessors method, enhancing the flexibility and configurability of RabbitTemplate.
Justification:

Increased Flexibility:

While setBeforePublishPostProcessors allows users to configure message processors, there is currently no way to retrieve or modify the existing MessagePostProcessor list. Adding getBeforePublishPostProcessors gives users the ability to access and modify these processors dynamically, allowing for greater flexibility in scenarios where message processing needs to be altered based on context.

Support for Multiple RabbitTemplate Instances:

In more complex applications, it's common to create multiple RabbitTemplate instances to handle different business logic. For instance, the ConfirmCallback mechanism is globally applied, but by manually creating different RabbitTemplate instances, users can configure distinct callbacks for each instance. Introducing the getBeforePublishPostProcessors method will allow users to retrieve and reuse message processors between different RabbitTemplate instances, enhancing flexibility when handling different message routing and confirmation scenarios.

Improved Consistency:

Spring generally follows a "getter-setter" pattern for its components, and many classes offer both methods for configuring and retrieving values. By providing getBeforePublishPostProcessors, the API will become more consistent, following Spring’s design principles and making it easier for developers to interact with the RabbitTemplate class.

Better Support for Advanced Use Cases:

In advanced scenarios where users need to dynamically add or remove message processors based on business needs, the ability to retrieve the current processors simplifies the code. Without this getter method, developers need to manually track and manage MessagePostProcessor lists, which adds unnecessary complexity and can lead to duplication of logic.

Enhanced Developer Experience:

Having the ability to get the current MessagePostProcessor list helps developers debug and analyze the message pipeline more easily. This makes it simpler to understand how messages are being transformed before being sent, improving both the developer experience and troubleshooting process.


Error calling /host/announce : host address not reachable; ensure you have forwarded port 9982

Some people, including me, report this problem on this linux.org.ru announcment thread. I'm pretty sure that port is forwarded since I have DMZ setup on my router pointing to my machine. Online checkers report that port is open.

The port forwarding check doesn't always work for some reason.
You can however use 'siac' to make the host announcement anyway. If you haven't actually forwarded your ports, then you will be unable to get file contracts. (There is not much demand for storage right now - it may take a while to get file contracts even if you have forwarded your ports). The command is 'siac host announce --force'

Worth noting that a good sign you are not connectible is having 8 peers or less. siad only makes 8 outgoing connections, if you have more than 8 it means at least one peer was able to reach you. So I would recommend using --force only if you have more than 8 peers.

There is now improved support in the GUI for port handling.
There should probably be something that detects whether foreign renters are finding you, because if you are properly announced you should be receiving dozens of pings.


Option to manipulator selected images

Ability to compress or resize the selected images using the expo imageManipulator

will add in the next update :) both base64 support and resize

will add in the next update :) both base64 support and resize

will add in the next update :) both base64 support and resize

When will this update be coming out? I seriously need the base64 support and the deadline for the project I'm working on has passed. Please, the earlier the better.
Another thing, the data returned from the images selected does not include an md5. Can you add that?

will add in the next update :) both base64 support and resize

When will this update be coming out? I seriously need the base64 support and the deadline for the project I'm working on has passed. Please, the earlier the better.
Another thing, the data returned from the images selected does not include an md5. Can you add that?

hi later today we deploy new ver include resize , compress , and base64 options

Done enjoy , if you got issues make sure to run expo r -c to clear expo caching .


Use current X11 background on lock screen

Feature Request
Rather than configuring a separate lock screen background, just use the current X11 background image and apply effects to that instead.
Implementation
I've already implemented this in my own script here, because of course I didn't discover betterlockscreen until the day after I needed it. It makes use of xbgdump to get the X11 background, and graphicsmagick to apply a blur. (I found imagemagick was too slow for doing this on demand.)
I needed this feature because I like my lock screen to match my wallpaper, but I use XMonad's per-workspace (and therefore also per-monitor) wallpaper module. So my wallpaper is changing all the time as I switch workspaces.
Have you planned working on this feature?
No

I also packaged xbgdump for nix in my dotfiles. If you use the nix package manager with flake support, you can try it out with nix shell github:ajgrf/dotfiles#xbgdump.

It's a nice idea, but I don't think I would add any dependencies that aren't widely available.
Also, the use-case you describe doesn't fit betterlockscreen very well. You want something on-the-fly, but the image processing can lead to delays and\or failures in locking the screen, which is kinda what we're about (see About).


[FancyZones] When desktop scaling is changed, layout doesn't scale

Giving my personal case, I have a HiDPI laptop whose scaling I frequently keep changing between 150% and 100%
I had made a custom layout that covers the whole screen, while it was scaled at 150%
But then, I switched back to 100%, and the layout doesn't cover the whole screen anymore. It seems to be still assuming that I am at 150% scaling.

The custom layout in the picture was created at 150% scaling, and the screenshot is taken when the scaling is 100%
I think it may be due to the fact that the FancyZones editor uses hard numbers instead of percentages. (as written here). Please fix it ASAP

@subnut
currently this is by design.
We are considering to add support for scaling but only if we manage to preserve pixel precision.

I ran into this issue when increasing scaling. Perhaps a notification could be added when the zones no longer match the initial would be useful?

Closing this issue in favor of https://github.com/microsoft/PowerToys/issues/8528 where we will support pixel-perfect layouts per desktop, so that switching from one DPI scaling to another will automatically select the correct layout.


Error Message no longer includes log info in built Tabula

It works fine when Tabula is started with rackup, of course. Might be platform specific rather than build-method-specific... cf #216, among others

Just for googleability's sake:
The JRuby Rack server that you get when you start the app with rackup formats error messages differently than the Jetty server used in the Tabula .war. The Jetty version has way more HTML in xhr.responseText. This just uses jQuery to extract the text we want from the Jetty version.


Some content not rendering properly

Cloned the repo and ran it locally. Everything works fine but some of the UI components are not rendering properly which is causing distorted UI for me. Tried on both chrome and firefox but same result.
pls check the attachment. Any suggestions?

here's the console log from chrome browser

Which version are you using for hugo...? Type
hugo version
And give us a screenshot...

Hugo v0.74.3, Windows 10 , Chrome Version 86.0.4240.75

As far as I know, API key's are really vital for privacy. So developer doesn't use his API key on this project. For using the Google map you need to add your own Google Map API in [line 70] at config.toml . But your Bootstrap is breaking...

did you try locally, Is it working for you?

Yes It worked fine on my computer with older version of Hugo at Aug 25, from my Windows 10, and it also working fine on my Ubuntu Linux with the newest version of Hugo. No problem here...

I have the same exact problem.

Create a new site with hugo new site namehere
git clone the theme into themes/portio
copy requested files into root
run hugo serve and I have the same problem.

I attempted to remove all of the instances calling the google maps api to see if thats what the issue was but I have been unable to figure this out.
doesnt matter which version of hugo is used I tried 64 up to latest and all do the same thing on both windows and my ubuntu wsl instance

This are the commands I used for running this Hugo theme on my Ubuntu Linux
I think Please be patent try again, follow this step by step...

hugo new site namehere
cd namehere
git init
git submodule add git@github.com:StaticMania/portio-hugo.git themes/portio
Now go to the themes/portio/exampleSite
Coppy everything (config.toml, content, data, resources, static) from this folder to root directory of this project(namehere)
Now go to the root directory of this project(namehere), and run this command hugo server

...If still you got any problem please inform here again...

I'm also having the same issue :(
I'm not a designer so not 100% sure but getting errors with Uncaught TypeError: Cannot set property 'cssText' of undefined in Chrome console when running from hugo server.
I'm on Windows 10, installed Hugo via chocolatey.

Same issue, sometiong wrong with the .css file, I guess.

please use hugo extended.

I am using the following version.
Hugo Static Site Generator v0.79.0-1415EFDC/extended linux/amd64 BuildDate: 2020-11-27T09:16:17Z
The local server http://localhost:1313/ readers all the pages perfectly. The Github pages completely mess up the CSS and show the output as shown in the first post.

The problem here is SCSS, we are not using CSS, Sooo.... Downloading the SCSS included Extended version of hugo...
If you have snap store or using Ubuntu write...
"snap install hugo --channel=extended"
//Remember to remove old one//

Hey, thanks for the awesome theme.
I have a similar situtation,
When I do hugo server, everything looks great
it's only once I deploy it with Netlify
That things in the css or scss break completly and only the contenet shows in aan ugly naked HTML style
did @Error6251 's solution work for anyone else, I was not aware of hugo extended version I'll try that next, thanks @Error6251

I had the extended version of hugo 0.79 and now v0.78.2. Still.. no difference.
The theme renders properly with http instead of https.
What do you mean by "Downloading the SCSS included Extended version of hugo"?

The issue does not get resolved by using the extended version only. The issue is browsers block some scripts. Somehow GitHub pages are considered as unauthenticated sources for scripts.

Hey @arpitaksoni thanks for reporting your solution.
I tried changing from http to https but it didn't work in my case.

The issue does not get resolved by using the extended version only
Do you mean the extended version is needed as well?

Also, is it needed to add something like netlify.toml to make it work? I know you said you are using gitpages instead of Netlify, but do you have an equivalent to such file?
It would help a lot if you can outine any other possible steps that I might be missing, and in case your code is public, it would truly help if you link it, if it's private don't worry.
Thanks @arpitaksoni

@santiyounger

Fork the theme repo in your account.  Add the fork as a submodule in your project.
Generated website pages are in a separate repo with GH-pages enabled.

I am using the extended version of Hugo.

thanks you for the help @arpitaksoni  I will try

I had to make a couple of changes to my site which I've just built. I'm not sure if it was specific to me but maybe it will help someone. Firstly the google api key didn't work. I created a new API key and put it into the config.toml. I kept getting Development Purposes overlay on the map. Turns out v2 of the google map api is deprecated. I had to replace the js include with the v3 api code and then replace the code in footer partial with something google generated for me. THankfully their example targeted #map so it was pretty straight forward to just drop their code in and then replace the long and lat lines to use the existing code from the theme.
2ndly, I got a heap of CORS errors when deploying to netlify. This made style sheets and fonts not load. I also have a vanity domain (more on that later). To fix the CORS issue I added the following to the config.toml
[server]

  [[server.headers]]
  for = "/"

    [server.headers.values]
    X-Frame-Options = "DENY"
    X-XSS-Protection = "1; mode=block"
    X-Content-Type-Options = "nosniff"
    Referrer-Policy = "strict-origin-when-cross-origin"
    Feature-Policy = "accelerometer 'none'; camera 'none'; geolocation 'none'; gyroscope 'none'; magnetometer 'none'; microphone 'none'; payment 'none'; usb 'none'"
    Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload"
    Content-Security-Policy = "default-src 'self'; script-src 'self' 'unsafe-inline' www.google-analytics.com maps.googleapis.com; img-src 'self' www.google-analytics.com; style-src 'self' 'unsafe-inline' fonts.googleapis.com; font-src 'self' fonts.gstatic.com fonts.googleapis.com; form-action 'self';"

I'm not that familiar with what it does but it seems to overcome the CORS issues that were showing in the chrome console.
The other change I did was replace most of the AbsURL with RelURL. This fixed a heap of problems I had with cross domain issues because my netlify site had more than 1 domain.
Hope it helps someone.
Andrew


Outbound NAT is not applied to traffic for OpenVPN-Tunnel

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
[X] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[X] I have searched the existing issues and I'm convinced that mine is new.
Describe the bug
I have two OpnSense 20.1.7 (home & company)
Home
WAN = public ip
LAN = <IP_ADDRESS>/24
Site2Site VPN-Tunnel to Company = <IP_ADDRESS>/24
Company
WAN = public ip
LAN = <IP_ADDRESS>/24
Site2Site VPN-Tunnel to Home = <IP_ADDRESS>/24
Home and company has a site2site-openvpn connection (working well).
At home I have following port forwarding:
WAN-side 443 (https) to the server in company lan over the vpn.
Port forwarding rule at home:
WAN | TCP | * | * | WAN address | 443 (HTTPS) | <IP_ADDRESS> | 443 (HTTPS)
To get the same way backward (from company to home to internet) I added the following outbound nat rule:
OpenVPN_N2N | any | tcp/ * | <IP_ADDRESS>/32 | tcp/ 443 | LAN address | * | no
I dump the traffic and I can see that the traffic comes in via wan and is forwarded to the openvpn-site2site tunnel and arrives at the server in the company-lan-side. OK!
But without using the outbound nat!
The source adress should be changed to the lan address from the home firewall but this doesn't works. The source address is still the public ip from the requesting device.
I have ran this configuration for over one year, but since the last update this doesn't work anymore.
To Reproduce
Steps to reproduce the behavior:

Create port forwarding to lan subnet behind site2site-vpn-tunnel
Create outbound nat rule for the vpn-tunnel with destination of the server-ip in the remote location behind site2site-tunnel.
Dump network traffic at remote site and see wrong source address.

Expected behavior
Outbound nat should replace public ip from requesting device to the entered address before sending it through the vpn-tunnel.
OPNsense 20.1.7-amd64
FreeBSD 11.2-RELEASE-p20-HBSD
OpenSSL 1.1.1g 21 Apr 2020
Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz (8 cores)
Dual 10G SFP+ from D-1500 SoC
Quad 1GbE with Intel I350-AM4
Dual 1GbE with Intel I210

I checked it on a fresh installation, with basic configuration.
If you change to nat hybrid mode, no manual outbound nat rules are applied.


Pin Node.js version to 18.5 for unzipper issue. Fixes #16.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
125

Relevant Lines:
162

💛  - Coveralls


Make tensorforest deterministic by pre generate split features

Address https://github.com/tensorflow/tensorflow/issues/24040
Right now even  there is a lock for the random number generator which is being used to find a feature to split on.  And there is an option to partition the data into different threads based on leaf_id.
there is still a possibility of non-deterministic by the order of consuming random numbers is not guaranteed. Which comes from the multi-thread. And it is hard to reproduce, if we only train a small tree, (set the max_leaf as a small number). since the multi-thread macro is smart enough not to use multi-thread.
This pr pre-generate random numbers as requested, sequentially single threaded and save them and partition them into different threads to ensure the deterministic.

Nagging Reviewer @nataliaponomareva: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 14 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @nataliaponomareva: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 14 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @nataliaponomareva: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 30 days with no activity and the awaiting review label has been applied.

Is it ready for review? It seems it is not synced

@yupbank Can you please solve the merge conflicts? Thanks!

Can you fix test failures? For example https://source.cloud.google.com/results/invocations/7a2d3181-e236-47c1-9e1f-5764c2167c4b/targets/%2F%2Ftensorflow%2Fcontrib%2Feager%2Fpython%2Fexamples%2Fspinn:spinn_test/log

@yupbank gentle ping

I'm going to go ahead and close this PR, because it seems to have stalled. If you're still interested in pursing this (and responding to my comments), please feel free to reopen!


How to detect close() after presentFullScreenController

Hello,
Great library, saved me a lot of time. Thanks.
My app doesn't accept to rotate but I would like to accept it only when we are in the full screen controller.
I found a way to do it with appDelegate
func didTap() {
let appDelegate = UIApplication.shared.delegate as! AppDelegate
appDelegate.shouldRotate = true
SlideShow.presentFullScreenController(from: self)
}

Now everything is working : no rotate everywhere, I accept rotate when I go to the full screen but after I come back all my app can rotate.
I would like to detect that full screen is closed to put appDelegate.shouldRotate to false.

I found solution:
In the AppDelegate.swift
    func application(_ application: UIApplication, supportedInterfaceOrientationsFor window: UIWindow?) -> UIInterfaceOrientationMask {
        if self.window?.rootViewController?.presentedViewController is FullScreenSlideshowViewController {

            let secondController = self.window!.rootViewController!.presentedViewController as! FullScreenSlideshowViewController

            if secondController.isBeingDismissed {
                print("secondController is being dismissed")
                return .portrait;

            }

            if secondController.isViewLoaded {
                print("secondController is view loaded")

                return UIInterfaceOrientationMask.all;

            }

        }
        return .portrait;
    }


FAQs: questions we should answer

How do I find good first issues.
My contribution doesn't show how do it get it to.
I want to find X language or frameworks data, how do I request it.

This is a list of questions I got when presenting at OSCA.
Answers

Look for good first repos or people first. They will lead you to issues worth working on.
Indexing by adding your pr to a highlight or creating an insight page.
open-Sauced/feedback

How do I find good first issues.
My contribution doesn't show how do it get it to.
I want to find X language or frameworks data, how do I request it.

This is a list of questions I got when presenting at OSCA.
Answers

Look for good first repos or people first. They will lead you to issues worth working on.
Indexing by adding your pr to a highlight or creating an insight page.
open-Sauced/feedback

Maybe there can be a FAQ section in the Contributing Guide @bdougie? I just finished my PR for #92 (it's #100), so I'd love to create this section. :)

Maybe there can be a FAQ section in the Contributing Guide @bdougie? I just finished my PR for #92 (it's #100), so I'd love to create this section. :)

Done @bdougie! :) My PR is #103


Improve cold starts on AL2023

Improve cold start performance for .NET 8 when HTTPS requests are made on Amazon Linux 2023.
See https://github.com/aws/aws-lambda-dotnet/pull/1661.

Wow! Thanks for your contribution! I had no idea.
This is why I love open source so much 🥹


Zooz ZEN32 Missing Parameters 22 and 23.

Is your problem within Home Assistant (Core or Z-Wave JS Integration)?
NO, my problem is NOT within Home Assistant or the ZWave JS integration
Is your problem within ZWaveJS2MQTT?
NO, my problem is NOT within ZWaveJS2MQTT
Checklist

[X] I have checked the troubleshooting section and my problem is not described there.

[X] I have read the changelog and my problem was not mentioned there.

Describe the bug
What causes the bug?
Zooz ZEN32 is missing parameters 22 and 23.
What do you observe?
What did you expect to happen?
They should exist per https://www.support.getzooz.com/kb/article/608-zen32-scene-controller-advanced-settings/
Steps to reproduce the behavior:

Go to '...'
Click on '...'
Scroll down to '...'
See error

Device information
Manufacturer: Zooz
Model name: Zen32
Node ID in your network:
How are you using node-zwave-js?

[ ] zwavejs2mqtt Docker image (latest)
[ ] zwavejs2mqtt Docker image (dev)
[ ] zwavejs2mqtt Docker manually built (please specify branches)
[ ] ioBroker.zwave2 adapter (please specify version)
[ ] HomeAssistant zwave_js integration  (please specify version)
[ ] pkg
[ ] node-red-contrib-zwave-js (please specify version, double click node to find out)
[ ] Manually built from GitHub (please specify branch)
[ ] Other (please describe)

Which branches or versions?
version:
node-zwave-js branch:
zwavejs2mqtt branch:
Did you change anything?
no
If yes, what did you change?
No response
Did this work before?
Don't know, this is a new device
If yes, where did it work?
No response
Attach Driver Logfile
See https://www.support.getzooz.com/kb/article/608-zen32-scene-controller-advanced-settings/
Parameters 22 and 23 should exist, but don't in the template.

Exist in FW 10.20 per https://www.support.getzooz.com/kb/article/706-zen32-scene-controller-change-log/

Fix for this was merged in #4619

And released in v9.4.0


Screen or replace some symbols

Sometimes in posts we can see double-quotes or one-quotes or line-wrapping and instafeed give not processed content to us. My offer add something as (after 294 line):
if(typeof ref === "string"){
    varValue = varValue.replace(/"/g,"'").replace(/\r\n|\r|\n/g,"<br />");
}
but after this we must return double-quote like:
somestring.replace(/'/g,"\"")
P.S. Sorry for my English

Hi @DaemonHK - are you able to show me any examples of posts that cause the issue? Thanks!

Hi @benjamin-hull - I mean some strings in posts like - Today we tell about text with "double quotes" or 'simple quotes' #double #bug #somethingelse


Cairo Errors when Trying to Run chartjs-node

Hello:
On trying your sample after installing Cairo on Mac OSX, I get this error:
W20170110-23:33:15.810(-5)? (STDERR) Assertion failed: (!scaled_font->cache_frozen), function _cairo_scaled_glyph_page_destroy, file cairo-scaled-font.c, line 459.
=> Exited from signal: SIGABRT

Any ideas?

It seems to be related to this issue:
https://github.com/diagrams/diagrams-cairo/issues/43

Hey @nicholasalanbrown - not sure. How did you install cairo on osx? I used homebrew:
Here's the version I installed a while back:
$ brew info cairo
cairo: stable 1.14.6 (bottled), devel 1.15.2, HEAD
Vector graphics library with cross-device output support
https://cairographics.org/
/usr/local/Cellar/cairo/1.14.6_1 (118 files, 5.9M) *
  Poured from bottle on 2016-09-16 at 11:28:41
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/cairo.rb
==> Dependencies
Build: xz ✘, pkg-config ✔
Required: freetype ✔, fontconfig ✔, libpng ✔, pixman ✔, glib ✔

hey @nicholasalanbrown gonna close this. feel free to reopen if you need more help.


[PE-20] Require approval from Terra Cobranding team for PRs modifying related files

Ticket
https://broadworkbench.atlassian.net/browse/PE-20
Context
The UI Working Group decided to lift the requirement to have one approval from the Terra UI Code Owners team. Instead we'll be adding individual code owners for specific files.

@nawatts @cahrens Would you mind if I add you to the GitHub team Terra Cobranding since both of you are familiar with it and so I'm not the only one in case I'm sick, on vacation, etc.?


Login: Adjust drift_behind for MFA verification

Who is this PR for?
project leads; internal testing of verification via email
What does this PR do?
Adjusts the drift_behind to match the time window (ie, s=1 in TOTP terms).
Checklists
Which features or pages does this PR touch?

[x] Login

Does this PR use tests to help verify we can deploy these changes quickly and confidently?

[x] Included specs for changes
[x] Improved specs for existing code in need of better test coverage
[x] Manual testing made more sense here

selfie


How to generate Swagger UI for Spring Boot + Integration with springfox 3.0.0-SNAPSHOT

Hello Team,
I am trying to setup Swagger for a Spring Boot + Spring Integration Project (involving an inbound-gateway).
On following the instructions from https://github.com/springfox/springfox/tree/master/springfox-spring-integration-webmvc, I was able to generate the following snippets under
target/generated-snippets/{my-end-point-id}:

curl-request.springfox
http-request.springfox
http-response.springfox
httpie-request.springfox
request-body.springfox
response-body.springfox

However, after this point, I am unable to create/generate the Swagger UI html in the packaged .war.
Is there any extra configuration/setup that is required for this?
As recommended, Springfox version: 3.0.0-SNAPSHOT
Other version details:
Spring Boot: 2.1.2.RELEASE
Spring Integration: 5.1.2.RELEASE
Java: 8
Apache Tomcat: 9.0.14
Apache Maven: 3.6.0
Any help will be greatly appreciated!
Sincerely,
Bharath

The example at https://github.com/springfox/springfox-demos/tree/master/springfox-integration-webmvc helped me finish my implementation. Thanks for the detailed examples.


How to create a context with all-namespaces

That is not possible. The context's namespace is used as the default namespace when:

fetching namespaced resources
creating namespaced resources

/close


Co-maintainer?

Good day @kwatch ,
erubis is a dependency of Rails 3, 4, 5.0 [1][2][3]
When we install the Rails, erubis is used.
However when we install rails5.1, erubi is used instead of erubis [4][5]
erubi is a fork version of erubis.
But I think that we still need to maintain erubis for the users to use Rails 3, 4, 5.0.
So, I think that it's time to add co-maintainer newly.
Are there any people who are happy to maintain this?
I am happy to be maintainer of erubis.
I want to merge current PRs to fix tests for Rubies, and improve the development environment running Travis CI.
[1] https://github.com/junaruga/rails-install-tester/blob/master/rails/<IP_ADDRESS>/bundle_list.txt#L11
[2] https://github.com/junaruga/rails-install-tester/blob/master/rails/4.2.8/bundle_list.txt#L13
[3] https://github.com/junaruga/rails-install-tester/blob/master/rails/5.0.2/bundle_list.txt#L14
[4] https://rubygems.org/gems/erubi
[5] https://github.com/junaruga/rails-install-tester/blob/master/rails/5.1.0.rc1/bundle_list.txt#L14

Any news about it? It would be nice to get this gem back from the graveyard.

Any news about it? It would be nice to get this gem back from the graveyard.

Do you need for Rails < 5.1? If no — please, use erubi instead.

Unfortunately no news from me. As this ticket is 3 years ago, I forget some thing. The situation around Rails might be changed. It might be good to send @kwatch email, if someone has a motivation to be a co-maintainer.

Do you need for Rails < 5.1? If no — please, use erubi instead.

Unfortunately, I have an application on Rails 4.2 and I cannot easily update it.

Unfortunately, I have an application on Rails 4.2 and I cannot easily update it.

OK. Can you just use the latest version of erubis or you have problems with it? Like, outdated gem in an outdated stack of outdated application — sounds logically.


Changing Smart table action behavior

is it possible to change smart table action behavior like

change add ( + ) and edit (pencil) to redirect to other components like AddCategoryComponent and EditCategoryComponent (with parameter), show it will show a form for user input / fill the information for category.
and also is it possible to add another button between edit and delete for view usage, so it clicked then redirect to viewCategoryComponent.

update: I have found the first question solution. it can change type to external and manually add event to table.
but i still cant get any solution for

is it possible to add another button between edit and delete for view usage, so it clicked then redirect to viewCategoryComponent.
anyone got solution?

did you found a solution ?


Update patch for v8

Update the patch so that it works with the latest version of v8.

Thanks! Could you also update this file: https://github.com/googleprojectzero/fuzzilli/blob/master/Targets/V8/README.md to include the commit hash please?

Done - it applies to the latest build according to git apply --stat so it should be good to go.

Thanks!


Add a table example

Why:
Closes: https://github.com/github/docs/issues/26126

What's being changed (if available, include any code snippets, screenshots, or gifs):
Add an example table
Check off the following:

[ ] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline.

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[ ] For content changes, I have completed the self-review checklist.

@bkmgit Thank you for opening a PR and linking it to your issue! ✨
However, after checking with the team, we are not going to accept this PR. Guidance on tables can be found in the quickstart article as well as the article "Organizing data with tables."
Please take a look at our help wanted section to find open issues you can work on.
Thank you for your interest in improving GitHub Docs! :sparkling_heart:


x-ray vision

first of all: ❤  for building diffee quicker than I could even gather my thoughts on this thing 😻

after seeing sarah's codepen I made this quick proof of concept:
http://regression-differ.surge.sh/

the idea is that i have a bunch of before/after screenshots (or other elements) which are first individually diffed, then layered on top of each other and diffed again.
imo that is useful to see on first glance if your changes do produce diffs across all components and gives a vague qualitative impression on how much does break. it is kind of an x-ray vision across all the tests...
it could be imo be used for refactoring the design system itself, like in case of moving instance values to constants.
but I also see use to catch side effects in the user-facing product, given you either have a screenshot-producing test-suite (would need to serve the screenshots then) or you can reach components via url (which is not really a usecase for a user-facing service).
this might also be useful for pipeline integration because you can give an automated negative much quicker: the diff of all diffs should be zero in case of positive – if it is not zero, diffs of subsets can be checked and in the end a human should probably take a look at all non-zero diffs.

so what I wanted to do is add another before/after pair of iframes, then diff the two diffs.
but as soon as I have 4 originals, I lose the diff window, so I'm a bit lost on where to continue :)

Can you give me an example where it would be useful to diff multiple layers in this way?

Tbh I don't know how to phrase it different than the three paragraphs I already did write on how I think it is useful :)
Nevermind, thx for taking the time to look into it!


Specifying the keypair in the aws-parallelcluster script

Hello,
I'm almost sure of the answer to this question but I'm asking it just in case that I'm missing something. Can you use a custom AMI without the keypair on it? By this, I mean where the 'authorized keys' files have been erased. In other words, is there any mechanism to provide the aws-parallelcluster script with a (AWS-stored) keypair manually?
Thanks.

Hello afernandezody,
If I understood the issue, you are trying to create a cluster without specifying a keypair:
It is currently impossible to run pcluster create without specifying the key_name in the configuration file. However, we are aware of the need to create a cluster without any key pair. And a patch has been merged and will be included in the next release.
You can also use pre/post-install script to customize bootstrap actions
Please let us know if your question is answered. Thank you.

Hi @hanwen-pcluste,
This was probably an unnecessary question and my own misconception. I had assumed that, if you're using a custom AMI, you would need to use the same keypair in the AMI and pcluster script. However, that is not necessary (probably discussed in some part of the documentation that I skipped reading) and you can log in into the master instance with either key. I haven't tested it yet but using a custom AMI without keys should work fine as long as AWS ParalleCluster adds the key in the script to the master instance. This should solve my issue.
I'm not sure what you meant by creating a cluster without any key pair. How would you ssh to the master instance?
Thanks.

Seems I misunderstood the question.
If I understand it now, you are trying to create a cluster with a custom AMI, where the authorized keys file is empty. But you would like the cluster to have an AWS stored keypair attached to enable SSH access:
The answer is yes. You just need to specify the custom_ami, key_name, and other required fields in the configuration file and run pcluster create.
I will provide another reply on how to create a cluster without a keypair (This scenario is not common at all)

There are multiple options to connect to your instance. I thought you were trying to stop managing SSH keys, therefore gave you the first answer.
Regarding your use case, I'd say the common SSH connection is enough. I hope the second answer could solve you question.

Thanks!


Able to config fsck timeout

It seems that the timeout for fsck is 60 seconds.
One of the git repositories I'm hosting is 9 gigabytes, which causes the health check to be marked as failed (sometimes, not all the time, depends on the system load).
Could we increase this timeout slightly for health checks?

Hmm... yeah, should be able to add a config option for this.

Now on develop branch, you can use https://github.com/gogits/gogs/blob/develop/conf/app.ini#L299 to config timeout, the syntax is

A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms", "-1.5h" or "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".

That's perfect. Thanks a lot!

What happen when timeout?  Kill git fsck?

@linquize yes

When and where to do fsck in gogs?

Admin monitoring panel.

Close as implemented.


Upgrade to rubocop v0.58.2

factory_bot v4.11.0 deprecates static attributes.

https://github.com/thoughtbot/factory_bot/blob/v4.11.0/NEWS#L1-L4
https://github.com/thoughtbot/factory_bot/pull/1166
https://github.com/thoughtbot/factory_bot/blob/master/GETTING_STARTED.md#static-attributes

rubocop-rspec v1.28.0+ add RSpec/FactoryBot/AttributeDefinedStatically for this issue.

https://github.com/rubocop-hq/rubocop-rspec/blob/master/CHANGELOG.md#1280-2018-08-14
https://github.com/rubocop-hq/rubocop-rspec/blob/v1.28.0/lib/rubocop/cop/rspec/factory_bot/attribute_defined_statically.rb

I want to convert from static attributes to dynamic attributes in my factorties
with rubocop --auto-correct, but onkcop locks rubocop version :cry:
Bundler could not find compatible versions for gem "rubocop":
  In Gemfile:
    onkcop was resolved to <IP_ADDRESS>, which depends on
      rubocop (~> 0.53.0)

    rubocop-rspec (>= 1.28.0) was resolved to 1.28.0, which depends on
      rubocop (>= 0.58.0)

So I want to upgrade dependency.

It's ok to relax the dependence, but there are many cops that have not been reviewed yet.
I think that the reviewed version should be specified.
I try to do specify dependent version with >=, and release gem as v<IP_ADDRESS>.
will this solve your problem?
(You can write configuration for new cops in .rubocop.yml of your project)
spec.add_dependency "rubocop", ">= 0.53.0"
spec.add_dependency "rubocop-rspec", ">= 1.24.0"

I try to do specify dependent version with >=, and release gem as v<IP_ADDRESS>.
will this solve your problem?

It seems good. (other than warning...)
Details
Gemfile
gem "onkcop", require: false, github: "sue445/onkcop", branch: "tmp/rubocop_v0.58.2"
gem "rubocop", "0.58.2"
gem "rubocop-rspec", "1.28.0"

onkcop.gemspec (forked)
https://github.com/sue445/onkcop/compare/121931e...3397545
running rubocop
$ bundle exec rubocop
vendor/bundle/ruby/2.5.0/bundler/gems/onkcop-3397545ac541/config/rubocop.yml: Style/EmptyLineAfterGuardClause has the wrong namespace - should be Layout
Inspecting 71 files
.......................................................................

71 files inspected, no offenses detected

It's not perfect but it looks like a good way.

@onk I edited my patch and PR title at 2e4d742.

Thanks for the contribution!
Released as v<IP_ADDRESS>. https://rubygems.org/gems/onkcop


[drogon] build failure

Host Environment

OS: ArchLinux
Compiler: gcc (GCC) 10.1.0

To Reproduce
Steps to reproduce the behavior:
./vcpkg install drogon
Failure logs
Computing installation plan...
The following packages will be built and installed:
    drogon[core]:x64-linux
Detecting compiler hash for triplet x64-linux...
Starting package 1/1: drogon:x64-linux
Building package drogon[core]:x64-linux...
Could not locate cached archive: /home/valery/.cache/vcpkg/archives/81/81616a4c99a9d142fa1a9c55acfe4bfe0e8fc4e1.zip
-- Using cached /home/valery/Cache/vcpkg/downloads/an-tao-drogon-v1.0.0-beta18.tar.gz
-- Cleaning sources at /home/valery/Cache/vcpkg/buildtrees/drogon/src/0.0-beta18-aa4dfb0262.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/valery/Cache/vcpkg/downloads/an-tao-drogon-v1.0.0-beta18.tar.gz
-- Applying patch vcpkg.patch
-- Applying patch drogon_ctl_install.patch
-- Using source at /home/valery/Cache/vcpkg/buildtrees/drogon/src/0.0-beta18-aa4dfb0262.clean
-- Configuring x64-linux-dbg
-- Configuring x64-linux-rel
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
    Command failed: /home/valery/Cache/vcpkg/downloads/tools/cmake-3.17.2-linux/cmake-3.17.2-Linux-x86_64/bin/cmake /home/valery/Cache/vcpkg/buildtrees/drogon/src/0.0-beta18-aa4dfb0262.clean -DBUILD_EXAMPLES=OFF -DCMAKE_MAKE_PROGRAM=/home/valery/Cache/vcpkg/downloads/tools/ninja-1.10.0-linux/ninja -DCMAKE_SYSTEM_NAME=Linux -DBUILD_SHARED_LIBS=OFF -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=/home/valery/Cache/vcpkg/scripts/toolchains/linux.cmake -DVCPKG_TARGET_TRIPLET=x64-linux -DVCPKG_SET_CHARSET_FLAG=ON -DVCPKG_PLATFORM_TOOLSET=external -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE -DCMAKE_VERBOSE_MAKEFILE=ON -DVCPKG_APPLOCAL_DEPS=OFF -DCMAKE_TOOLCHAIN_FILE=/home/valery/Cache/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON -DVCPKG_CXX_FLAGS= -DVCPKG_CXX_FLAGS_RELEASE= -DVCPKG_CXX_FLAGS_DEBUG= -DVCPKG_C_FLAGS= -DVCPKG_C_FLAGS_RELEASE= -DVCPKG_C_FLAGS_DEBUG= -DVCPKG_CRT_LINKAGE=dynamic -DVCPKG_LINKER_FLAGS= -DVCPKG_TARGET_ARCHITECTURE=x64 -DCMAKE_INSTALL_LIBDIR:STRING=lib -DCMAKE_INSTALL_BINDIR:STRING=bin -D_VCPKG_ROOT_DIR=/home/valery/Cache/vcpkg -D_VCPKG_INSTALLED_DIR=/home/valery/Cache/vcpkg/installed -DVCPKG_MANIFEST_INSTALL=OFF -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/valery/Cache/vcpkg/packages/drogon_x64-linux
    Working Directory: /home/valery/Cache/vcpkg/buildtrees/drogon/x64-linux-rel
    Error code: 1
    See logs for more information:
      /home/valery/Cache/vcpkg/buildtrees/drogon/config-x64-linux-rel-out.log
      /home/valery/Cache/vcpkg/buildtrees/drogon/config-x64-linux-rel-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_cmake.cmake:319 (vcpkg_execute_required_process)
  ports/drogon/portfile.cmake:12 (vcpkg_configure_cmake)
  scripts/ports.cmake:79 (include)

Error: Building package drogon:x64-linux failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: drogon:x64-linux
  Vcpkg version: 2020.06.15-unknownhash

In the config-x64-linux-rel-err.log
CMake Error at cmake_modules/Findpg.cmake:16 (set_target_properties):
  Property INTERFACE_LINK_LIBRARIES may not contain link-type keyword
  "optimized".  The INTERFACE_LINK_LIBRARIES property may contain
  configuration-sensitive generator-expressions which may be used to specify
  per-configuration rules.
Call Stack (most recent call first):
  /home/valery/Cache/vcpkg/scripts/buildsystems/vcpkg.cmake:455 (_find_package)
  CMakeLists.txt:164 (find_package

Same issue on macOS Catalina 10.15.6.

I created a related issue here: https://github.com/an-tao/drogon/issues/536


shim RTCIceGatherer.gather()

which should allow moving buffering logic out of RTCPeerConnection.js

the tricky part is intercepting addEventListener calls access to the state (overridden by the shim anyway)


buying items

the item overhaul is cool and all but when u leave the fountain the game automatically buy the right items for u so is buying the item urself actually necessary?

I'm not aware of the game buying items for you. Which mode is this?

im currently q-ing intro, the game will buy items for u when u have 1,5k+ gold, plus i think searching for items name wouldnt work if the game isnt in english

You bring up a good point with the languages, I may have to revert it back to clicking tbh. But in beginner and intermediate  bots I don't think the game buys for you. Il look into it this weekend.

This should be fixed with the latest couple versions, the bot no longer relies on any particular language to purchase items.


修复多处逻辑错误

Coverage remained the same at 85.854% when pulling 5e1fe1da2795f7dbfc6fe40497252166c375bfc9 on develop into 0b2675f763cc38ef6a981b34867a2e3d97089316 on master.


Weird variant call/ranking

Doesn't this look a little odd?
Do you have any idea what might cause this?

EDIT: https://clinical-db.scilifelab.se:8083/cust000/15125/variants/06daf647da2e15ed22bf23d66e0b44da

Only thing I can think if is splitted variant, can you check the big VCF if there is a multicall on this position?

Det här är från gvcf:en
17      40696233        rs86312 C       G,<NON_REF>     7338.77 .       DB;DP=213;MLEAC=2,0;MLEAF=1.00,0.00;MQ=60.00;MQ0=0      GT:AD:GQ:PL:SB  1/1:0,213,0:99:7367,639,0,7367,639,7367:0,0,94,119

Då förstår jag ingenting...

It is multi-allelic and does not have the second allele, so it does make sense:
17	40696233	rs86312	C	G,A	179457.28	PASS	AC=2,0;AF=1.00,0.00;AN=2;BaseQRankSum=2.93;DB;DP=5689;FS=0.529;InbreedingCoeff=-0.0606;MQ=60.00;MQ0=0;MQRankSum=-1.975e+00;POSITIVE_TRAIN_SITE;QD=31.57;ReadPosRankSum=1.83;SOR=0.766;VQSLOD=3.09;culprit=FS	GT:AD:GQ:PL	1/1:0,213,0:99:7367,639,0,7367,639,7367
VT should split this into ./. for the A allele.

Yes this was more like i expected.

Okey, trying to understand whats happening here :)
Which VCF should I have looked in?
Why does the variant show up with such a relatively high rank score?
How should the variant be interpreted when it shows up in Scout?


DNA Methylation Tutorial: Missing Data

Hello all,
I would like to run the DNA Methylation data analysis tutorial, but the MethylSeq_2017 data library is unavailable.

@joachimwolff can you please upload these datasets to zenodo? Thanks!
@tristancofer we will work on this, sorry - everything still in progress! Thanks for your patience.

No problem. Thanks for the quick response!

@dpryan79 You wanted to check the licence of the data if we can re-publish it and not violating something. If I have your ok I will upload the data.

@joachimwolff I can't find any details regarding redistribution on ArrayExpress (it's a public database, so it really shouldn't be an issue). I'll just send the authors an email and get an OK directly from them. Then all of our bases are covered :)

We have a very enthusiastic OK from the authors :)

Thank you for contacting us regarding the use of our WGBS data as part of the training dataset for Galaxy. We are delighted that it will be used as such that it benefits the wider scientific community, and please do go ahead with it.

Regards,

I-Hsuan

Thanks a lot @dpryan79.
@tristancofer I will upload the data today.

@joachimwolff can you please add this link to the training? Thanks!


Astro@next compatibility

Hi !
Amazing works, congrats! :-)
Since Astro.build have switched to Vite, I'm trying to use your tool with Astro, but it doesn't seems to works, I receive error 404 to fetch the file /@unocss-entry-css
Here the steps I've done:
npm init astro next-starter -- --template snowpackjs/astro/examples/starter#next
cd next-starter
npm install astro@next
npm install
npm i -D unocss

edit /astro.config.js like this:
import Unocss from 'unocss/vite'
import { presetUno, presetAttributify } from 'unocss'

export default (
  {
    vite: {
      plugins: [
        Unocss({
          presets: [
            presetAttributify({ /* preset options */}),
            presetUno(),
            // ...custom presets
          ]
        }),
      ],
    },

  }
);

BTW, in your documentation there is this line:
« import { presetUno, presetAttributify, presetWind } from 'unocss' »
But « presetWind » doesn't works, I suppose this was a separate package before and now merged in the default presetUno ? ( I don't see @unocss/preset-windi » on npmjs.com )
Replace the content of ./src/pages/index.astro with:
---
import 'uno.css'
---

    Text

And:
npm run dev
Open http://localhost:3000 to see the error, and the « Text » is not red.
Thank you in advance for your help !

Sorry @antfu but this patch haven't fixed the problem :(
I've done the same example, the installed package is 0.4.7
In my developer console I still have:
18:54 [astro] 404<EMAIL_ADDRESS>                     0ms
May be it's more a bug related to Astro.build, I'll try to find if they have a solution too.

Seems to be working now
"devDependencies": {
    "astro": "^0.21.0-next.1",
    "unocss": "^0.6.6"
  }

https://stackblitz.com/edit/github-d4rp6r?file=src/pages/index.astro

Seems to be working now
"devDependencies": {
    "astro": "^0.21.0-next.1",
    "unocss": "^0.6.6"
  }

https://stackblitz.com/edit/github-d4rp6r?file=src/pages/index.astro

From me the project doesn't work (from stackblitz.com) and in local the style doesn't update, only from fresh server restart


How to visualize the segmentation results on semantickitti dataset in train_semantic_kitti_grid.py?

Hi,How to visualize the segmentation results on semantickitti dataset in test_semantic_kitti_grid1.py? like test_semantic_kitti.py that .obj files can be saved.
Can you update test_semantic_kitti_grid1.py  so that it can visualize the split results

@longmalongma Hi, could you use official api of semkitti here for visualization, which can directly use our prediction outputs.


AOR Validations

Find AOR Issues,

[ ] Find AORs with no Artificial Penetration Record
[ ] Find AORs without an Authorization

'Find AOR Issues' is not activated under Area of Review Validations.  Perhaps you haven't finished with this one yet??

Please add another query in the AOR Validation query set: 'Find AORs without an Authorization.'

I apologize for not explaining this.  The UICAreaOfReview tbl has a field NoArtPenDate.  This is the date it was determined that there were no artificial penetrations into the permitted injection zone.  If this field is not populated there should be at least one UICArtPen well associated with the AOR.  Also, remember there is a many to many relationship between UICAreaOfReview and UICArtPen so there isn't an AOR_FK in the UICArtPen record.