[Help] "No TV service" makes TV act as bulb, need for deeper configuration

My LG TV already has HomeKit exposed directly so I switched off the "TV Service"; the only thing I really need is the volume slider and the Screen on/off.
This ends me up with a "bulb", where the on/off simple press effectively works as a mute button. In the advanced view, there is a brightness slider which controls the volume, and a toggle switch for the screen on/off state.
Would it be possible to configure this in such a way that the simple press toggle would control the screen on/off, and have a volume slider instead of a brightness slider?

Not possible! There is no slider control in the home app. The only possible way is to show volume control as a light bulb.


Fixing base64String Array leaving old values on it

On my tests adding the line fix issue that casues base64StringArray do not get reset. Not sure is works on main branch and other scenarios but wanted you to check it. Probably i am missing generic use cases.

your code will break for users who don't use base64StringArray. Please check my fix for your issue


TLS connections and connection support for security group

Change Description

this is TLS implementation for net_plugin. Changes are in the middle of implementation and not supposed to work. Those can be compiled.
Change Type
Select ONE:

[ ] Documentation

[ ] Stability bug fix

[ ] Other

[ ] Other - special case

Testing Changes
Select ANY that apply:

[ ] New Tests

[ ] Existing Tests

[ ] Test Framework

[ ] CI System

[ ] Other

Consensus Changes

[ ] Consensus Changes

API Changes

[ ] API Changes

Documentation Additions

[ ] Documentation Additions

The flex_socket does not solve the issue. Since async_write is using a raw socket THAT socket must live for the complete lifetime of the async_write the typical pattern followed is to capture a shared_ptr to the socket in the lambda so that the socket lives as long as the async_write.

async_write is using not raw but flex_socket.
flex_socket                               socket;     // only accessed through strand after construction
auto write_lambda = [c, socket=c->socket]( <-- here we copy flex_socket instance by value hence increase shared_ptr counter


HTTPS Requirements?

Does this require the Identity Server to be running over https with a valid cert or can that be turned off when developing locally?
Thanks

That can be turned off.

What's the OidcClientOptions' option? Or how do you go about turning it off?

There are discovery options on it. It should be pretty self-explaining.

Nevermind, WebAuthenticationOptions has to have a https address to work. That's my issue. Will use the system browser instead

Here is how to disable HTTPS requirements (only use for development purposes)
var options = new OidcClientOptions
              {
                  Policy = new Policy
                  {
                           Discovery = new DiscoveryPolicy
                                             {
                                                  RequireHttps = false
                                              }
                     }
              };


Some questions

Hi,
First of all, sorry for this "issue" which is not really an "issue" but a bunch of questions by a noob :p
I would like to make a python program to interact with pool or farm from different protocols on Solana DEX.

Can I achieve this using solana-py (I think yes)
I read the doc but there is no examples for what I want to achieve, do you have some links to educate myself ?
I saw in the doc that smart contract ID on Solana are called "Program ID", is it the same as a pool/farm address and so we could simply connect to RPC, and make simple transaction on that "Program ID" to swap token for example ?

Thank you for you answers.
Regards,
Mitolius

I also want to know like as a python-dev can I get a job in the blockchain domain?

Please check out https://github.com/kevinheavey/anchorpy for program specific interactions.


An strange thing in parallel::util::detail::handle_local_exceptions.

https://github.com/STEllAR-GROUP/hpx/blob/76f7c3bc8eac51d73be7de4146b729335ce03c3f/hpx/parallel/util/detail/handle_local_exceptions.hpp#L29-L40
Does 'Line 38' make sense?
That function seems to just rethrow exception_ptr.
As I think, 'Line 38' should be changed to
throw exception_list(std::current_exception());

@taeguk please construct a test which exposes the problem you believe we have.

@hkaiser This is not bug which can be tested. This is the problem about intention of that function. And I want to just question about it.
I want to know what is the meaning of that function.
Is it intended that function just rethrows std::exception_ptr?
https://github.com/STEllAR-GROUP/hpx/blob/76f7c3bc8eac51d73be7de4146b729335ce03c3f/hpx/parallel/util/detail/handle_local_exceptions.hpp#L56-L68
Like above, other overloaded functions of that function are related to exception_list.
So, I guess that 'Line 38' is an mistake and changing to throw exception_list(std::current_exception()); may be reasonable.
I can't determine whether my guessing is correct because that code is not written by me.

@taeguk you're right, this is a nice catch. I agree this has to be changed as you suggest. But a test would be nice anyways, mostly to ensure that those functions throw an exception_list under any circumstances.

@hkaiser I want to change 'Line 38' to what I said.

@hkaiser Do you agree that I change that?
With changing, handling exception for parallel algorithms can be abstracted as a function than explicitly coded. (https://github.com/taeguk/hpx/blob/f2d9cf60f692b50e81a69e78a93c54d0596a3294/hpx/parallel/algorithms/merge.hpp#L296-L304)

@taeguk, yes, please go ahead.


addi immediate range not correct

The immediate part of addi should support the range [-2^15,2^15) but it only supports [-2^7,2^7).

problem fix from commit 68


SSO Quickstart for Group Tab Issues and Resolution

Hello!
While trying to use the tab-channel-group-sso-quickstart Typescript sample, my team and I ran into several issues. For one, just running the project as directed in the 'Run the app' section of the leads to immediate errors like this one:

Other issues include lack of support for viewing/testing the application as a standalone web application (shows a blank page with the 'parent window not initialized' error in the console), error if there is no profile image set for a user in Teams due to the graph API call to retrieve a user's profile photo, and also difficulty debugging/decoupling because of the auto-provisioning that happens on execution.
I wanted to offer a simple version, that moves some of the work (like setting up a tunneling service) to the user, but also makes it easier to test as a web app, and then test in teams. It allows hot reload, faster time to build/run (when using the --debug flag), and a simpler application to hopefully minimize issues when running the application.
It simply uses the yeoman generator for building teams apps as suggested in the MS docs (https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/create-channel-group-tab?tabs=vs&pivots=node-java-script). Nothing fancy!
This is the code. https://github.com/snorris31/group-tab-sso
I was wondering what the process looks like for suggesting this addition to the repo?

Hello @snorris31 - Thanks for raising your query.
We will investigate your query and let you know.

We recommend you remove the toolkit related files from the existing sample and run the sample using below steps.
https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/tab-channel-group-sso-quickstart/ts#setup

note: please remove highlighted files and code.

Graph API: we need to add try and catch block to handle the Exception.
Raised the bug for this-
https://github.com/OfficeDev/Microsoft-Teams-Samples/issues/1163

Hello @Pawan-MSFT, @Prithvi-MSFT
Please Handle Exception if there is no user profile photo available during Graph API call.
https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/tab-channel-group-sso-quickstart/ts/src/components/Tab.tsx#L154

Hello @snorris31 - Thanks for sharing your feedbacks:
Please find below inputs on your queries:

Regarding below error:

Could you please try with the latest packages and NPM version and check once?

Lack of support for viewing/testing the application as a standalone web application (shows a blank page with the 'parent window not initialized' error in the console)

=> As you know that it's a Teams app and if we use Teams related libraries, it will not work as a standalone web app and you will get the sample error (By design behavior)

If there is no profile image set for a user in Teams due to the graph API call to retrieve a user's profile photo.
=> We can handle it and show the default image. We will try to change the code and will raise the PR for it.

Difficulty debugging/decoupling because of the auto-provisioning that happens on execution.
=> Initially we have created the sample without using toolkit but later we have migrated the sample to use toolkit.
You can follow these steps: https://github.com/OfficeDev/Microsoft-Teams-Samples/issues/1142#issuecomment-1961232513


CloudFormation stack stuck at CREATE_IN_PROGRESS

Whenever I am launching the CloudFormation script using either lambda or fargate, after a while CloudFormation is getting stuck at CREATE_IN_PROGRESS, which does not seem to go anywhere. I have not used any private Api key, all defaults options, just pressed next. Any clue?

You didn't do step 1 as in the deployment guide.  The Fargate task will try to access a parameter that haven't been created and it will automatically restarted again and again.
So please create the API key in parameter store first. Check out the deployment guide again.

Try with step 1 and see if the deployment is successed.

Thank you it worked, i thought step 1 was optional. Also if possible can you please tell me any frotend or app where i can use my custom api endpoint?


Removed unused clean() method in file-based session.

Unused since its introduction in bcf7e9a9fe037eff4d5dea0cdd8c35104590e1a8.

Thanks for checking :+1:


consider merging ReadOnly... APIs

The read-only APIs give us faster compilation by introducing new supertraits for the CaseClass and SealedTrait interfaces which save the cost of generating methods we are not going to use. We don't have "write-only" interfaces, but a similar approach could be used, at the expense of more complexity in the lifted interface hierarchy.
However, if Magnolia knew that one of these approaches was required, it could use the same interface, but simply implement the unused methods with ???.
There is a question about how it would determine this, but I would suggest checking whether final val readOnly = true or final val writeOnly = true exist in the derivation object; each should be typed as true.type, hence the use of final. (They could also be typed as Unit and there mere existence would be the application of that flag.)

Interesting idea! How about a sealed trait of ReadOnly/WriteOnly/ReadWrite? With them being case objects it'll work too right?

That sounds better. But I'm still not sure how the API should look like. My only worry is that making it name-based could be too obscure.

Something like this?
object ShowDerivation {
  val typeclassAccess = TypeclassAccess.ReadOnly
  type Typeclass[T] = Show[T]

  def combine[T](ctx: CaseClass[Show, T]): Show[T] = ...

  // etc
}


How to make IPv6 handle any ip

https://github.com/smoltcp-rs/smoltcp/blob/9bd836ba6555c813b5b132f24316b02fa56510b8/src/iface/interface/ipv6.rs#L192-L194
Due to the addition of filtering, but no support similar to any_ip in IPv4, all unicast destination addresses that are not the current interface are now lost.
I don’t know if there is any way to solve it?

Could you check if #900 fixes your issue? It uses the same any_ip flag to allow any IP in IPv6.

Could you check if #900 fixes your issue? It uses the same any_ip flag to allow any IP in IPv6.

Solved, it can be used like version 0.10.x


404 at /engine/reference/commandline/attach/)

I found a broken link : https://docs.docker.com/engine/reference/commandline/attach/)
I arrived on this page through: https://hh.ru/

Hi @deniskorotaevsky, thanks for sharing the issue.
It looks like there's a round bracket ) on the end. The correct link is https://docs.docker.com/engine/reference/commandline/attach/
As this link is from an external site, please inform the maintainers of hh.ru of the issue.


Feat: Catch XML parsing error for archetype catalog

This change will surround the _parse_archetypes() call with a try/except clause, and attempt to take corrective action, as follows:

If the parsing failure is in the local file, we will simply skip processing it and allow the remote content to remain as-is
If the parsing failure is in the bucket file, we will either attempt to overwrite it (upload) or attempt to delete it (delete command)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

10 of 20 (50.0%)  changed or added relevant lines in 1 file are covered.
26 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.6%) to 81.231%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

charon/pkgs/maven.py
10
20
50.0%

Files with Coverage Reduction
New Missed Lines
%

charon/pkgs/maven.py
26
86.4%

Totals

Change from base Build<PHONE_NUMBER>:
-0.6%

Covered Lines:
1307

Relevant Lines:
1609

💛  - Coveralls


Load and emitted events

I am trying to key on when the accordion loads, however using the "load" option to attach a function does not seem to fire, and trying the "tabs-load" does not work either.
Can you please explain how to use this features?
I have tried the following:
$('#tab-container').responsiveTabs({
      <otheroptions>,
      load: function () {
        console.log("test");
      }
  });

$('#tab-container').responsiveTabs({
      <otheroptions>,
      load: function (event, firstTab) {
        console.log("test");
      }
  });

and:
$('#tab-container').responsiveTabs({
      <otheroptions>
  }).on('tabs-load', function () {
        console.log("test");
      });

And I am not seeing my log statements. I see other log statements that I ahve running on the page, and have tried warn() and error() just to see.

developers are too lazy to answer? or don't know what to say?


Added TitleId to TitlePlayerAccount Entity and loads its on creation …

…to Fix #56

I think teh change in semantics is not correct. Please check. Otherwise, looks good

Reverted back to intial semantics and merged it :). thanks for the review!


Encode whitespace as a component.

Looks like you have some JDK 7 vs 8 problems on tests. Otherwise LGTM.

Turns out it was a rebase issue. I was still using + in the query. Fixed now.

https://github.com/square/okhttp/issues/1486


[Help] How can I get StateManager from onChanged's event?

PlutoGrid(
  onLoaded: (event) => { event.stateManager ...} // we can get a stateManager in this event.
  onChanged: (event) => // here there is no stateManager.

why I can't get a stateManager from onChanged?

Use the stateManager passed in onLoaded in a property.
late PlutoGridStateManager stateManager;

PlutoGrid(
   onLoaded: (event) => { stateManager = event.stateManager ...}
   onChanged: (event) => stateManager.rows


Can we switch to different URL without reloading the complete webpage?

Hi All,
I am automating application developed in AngularJS using the Protractor. I have a scenario where I have to open different pre-created documents using the URLs. Though the base url for all the documents is same but the url for page itself differs (here page corresponds to the document path). When I am switching to different documents through URL instead of just workspace the whole web-page reloads and this is causing some issues as some settings done in earlier steps are lost.
Here is how I coded:
protractor's conf.js file
baseUrl: 'https://abc.staging.xyz.com'
In script:
browser.get('/document1');
// switch to another document
browser.get('/docuemnt/testdocuemnt1')
When I perform the steps manually I just change the path for document and baseUrl remains un-touched. Doing this retains the settings made in earlier steps but the same actions I am unable to perform through protractor.
Can someone please let me know if there are any method which can just change part of url and apply changes to the workspace without loading the complete web-page.
Thanks in Advance,
Bhupender Agarwal

It sounds like you like to use browser.setLocation: http://angular.github.io/protractor/#/api?view=Protractor.prototype.setLocation

Thank you very much eolognt. It worked like a charm !


File.build and writer additions

Coverage increased (+2.03%) to 90.401% when pulling 87f88fc47e6c7b51f63f0ffa41e6a6a3307c4f0c on File.Build-and-Writer-additions- into a1525ae2581b5bab2c4b8dc0c2698f066726c502 on master.


Dor 41 front end changes

I'll have a look this evening
On Mon, 28 Sep 2020, 17:38 slashrealm<EMAIL_ADDRESS>wrote:

@slashrealm commented on this pull request.
In
app/uk/gov/hmrc/traderservices/journeys/TraderServicesFrontendJourneyModel.scala
https://github.com/hmrc/trader-services-route-one-frontend/pull/11#discussion_r496086911
:

@@ -70,6 +70,7 @@ object TraderServicesFrontendJourneyModel extends JourneyModel {
Transition {
case EnterDeclarationDetails(_) =>
if (declarationDetails.isExportDeclaration) goto(AnswerExportQuestions(declarationDetails, None))

     else if (declarationDetails.isImportDeclaration) goto(AnswerImportQuestions(declarationDetails, None))

@rhague-hmrc https://github.com/rhague-hmrc Could you have a look at
this when you got a min? I could try to fix it myself but I don't want to
make it worse
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hmrc/trader-services-route-one-frontend/pull/11#discussion_r496086911,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ6KITRD4Q5AMDEGU5G2MELSIC3YZANCNFSM4R4WZFTA
.

LGTM


Update CONTRIBUTING.md

Signed-off-by: samslow<EMAIL_ADDRESS>Description
Remove unnecessary steps

pod install step is not necessary because not exist ios directory now

I don't know if it's an intentional commit, "git:log": "git log --decorate --oneline --all --graph" was removed on supporting universal layout commit. but If it should remain, we should add it on scriptsin package.json.

Related Issues
N/A
Tests
this PR don't need any test
Checklist
Before you create this PR confirms that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the [CLA].
[x] Run yarn test or yarn test -u if you need to update snapshot.
[x] Run yarn lint
[x] I am willing to follow-up on review comments in a timely manner.

Hm.. can someone tell why the Greetings is failing?

I understood that this message was of course a message to the first PR person.
@hyochan I understood that this message was of course a message to the first PR person.
I'll find out more.

I understood that this message was of course a message to the first PR person.
@hyochan I understood that this message was of course a message to the first PR person.
I'll find out more.

Actually, we can ignore this for this case. I don't think this is important. However, we can find out more next time! Thanks for the contribution 👍


Wrap games array in object

in GET /users/games

Pull Request Test Coverage Report for Build 126225476

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+3.1%) to 65.567%

Totals

Change from base Build 125209849:
3.1%

Covered Lines:
318

Relevant Lines:
485

💛  - Coveralls


Issue with form generation on Angular 5 and forms loaded via JSON

I'm submitting a ...  (check one with "x")
[X ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request

Current behavior

The form is not generated and errors out with errors printed on the console.
Expected behavior

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

VS CODE

Angular version: 2.0.X

5

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Chrome

Language: [all | TypeScript X.X | ES6/7 | ES5]
Typescript
Node (for AoT issues): node --version =

Using angular 5 with wrong version of ngx formly

hi, can provide a reproduction example please, here is a working example that use Angular5 https://stackblitz.com/edit/ngx-formly-ui-bootstrap

Instead of [model]="model", I had (model)="model". It's resolved now. thanks.


[main] Upgrade to latest dependencies

v1.3 Release prep -xtreme-sameer-vohra
/cc knative-sandbox/eventing-writers lberk
/assign knative-sandbox/eventing-writers lberk
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/eventing f2045b0...9590bc3:
  > 9590bc3 adding min and max nodes annotation to rekt tests entrypoint (# 6243)
  > 4252411 Increase rekt test timings and reduce concurrency (# 6221)
  > 6fabdd5 Remove a second trigger of the autoscaler (# 6203)
  > 28a968c upgrade to latest dependencies (# 6230)
  > b349443 fixed links to source.md (# 6223)
  > f40fc74 Zero placements for rebalancing (# 6204)
  > 78aae1e Update community files (# 6220)
  > fdaca85 Update actions (# 6218)
  > 7ab1b0e upgrade to latest dependencies (# 6216)
bumping knative.dev/pkg fe26417...2fdd5f2:
  > 2fdd5f2 Update actions (# 2449)
  > 76a28b0 set git user name/email prior to merging upstream (# 2448)

/lgtm
/approve


go modules

Make sure these boxes checked before submitting your pull request.

[x] Do only one thing
[x] No API-breaking changes
[x] New code/logic commented & tested

For significant changes like big bug fixes, new features, please open an issue to make an agreement on an implementation design/plan first before starting it.
What did this pull request do?
corresponded to go modules

Without this change it seems gorm cannot easily be added using Go Modules.

GORM works with modules just fine, without this change.

@jinzhu it looks like the module import path you committed is not jinzhu rather it's istsh? Was that intentional?
See https://github.com/jinzhu/gorm/blob/4b13e079fcea637fcb166ee1752c8d80601e3ef0/go.mod#L1
module github.com/istsh/gorm

Also, the go.mod and go.sum in my PR #2307 was generated automatically by Go and so it includes quite a lot more than what you merged into master. Is there any reason for only including github.com/jinzhu/inflection in go.mod?
cc @istsh

That's mistake. Please revert this commit @jinzhu


⚠ Bofrost.fr has degraded performance

In a3565cd, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 996 ms

Resolved: Bofrost.fr performance has improved in 9562922 after 44 minutes.


"Action Preview" gets stuck

Describe the bug
Hello, thank you for the great library. The hover terminal especially has become a part of my daily routine.
My problem now is that whenever at "Action Preview" is shown for a code action it never goes away. Is there a way to disable the action preview? I'm not in a position to give a super detailed bug report atm, but maybe do it some other time.
Steps to reproduce
Initate code_action where Action preview is available.
Exit code action
Action preview is still visible

Expected behavior
Action Preview is dismissed when code_action is.
Neovim version (nvim -v)
NVIM v0.9.0-dev-843+g860fea1a3
lspsaga commit
Newest at this time (03-03-2023)
Terminal name/version
Alacritty

how you quit the code action window.

how you quit the code action window.

with :q

Ah, it goes away by using just q

just press q

Thank u 👍


Add files array to package.json

package.json.files[] is a whitelist of files that are included when a user npm installs the module. In the case of this repo, we can get rid of the various config files (.gitignore, .eslintrc.yml, etc), build scripts, and tests.
All that's required to specify is lib. index.js, LICENSE, and README.md are included automatically.

Current coverage is 92.84% (diff: 100%)

Merging #45 into master will not change coverage

@@             master        #45   diff @@
==========================================
  Files             8          8
  Lines           951        951
  Methods         129        129
  Messages          0          0
  Branches        208        208
==========================================
  Hits            883        883
  Misses           68         68
  Partials          0          0

Powered by Codecov. Last update 4d2aacf...8e04d12


Failed to start media pipeline

First, thanks for the great work on this crate.
I'm running into a bit of a strange issue where my video stream is refusing to start. My settings for the device:
let mut fmt = dev.format()?;
fmt.fourcc = FourCC::new(b"BA81");
fmt.width = 640;
fmt.height = 480;
fmt.stride = 640;
fmt.size = 640 * 480;
fmt.field_order = FieldOrder::Progressive;
fmt.colorspace = Colorspace::RAW;
dev.set_format(&fmt)?;

// Using an mmap stream:
mmap::Stream::with_buffers(&dev, Type::VideoCapture, 8)

When I check syslog, I see a bunch of the following:
Jul 23 00:08:38 pi3 kernel: [33785.523627] unicam 3f801000.csi: Wrong width or height 640x480 (remote pad set to 3280x2464)
Jul 23 00:08:38 pi3 kernel: [33785.523643] unicam 3f801000.csi: Failed to start media pipeline: -22

Versions and such:
# v4l-utils package
1.20.0-2

# uname -a
Linux pi3 5.15.32-v8+ #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022 aarch64 GNU/Linux

The main question I have is: how can I configure that remote pad setting? Seems to be part of the issue here.

@thedodd If I have to guess, the "remote pad" here is part of the Media API (use media-ctl -p to print the layout of your camera hardware). Fortunately I had written some support for this API and hope to finish + PR it one day, when there's interest:
https://github.com/MarijnS95/libv4l-rs/tree/media


NucleiClassification has sklearn.externals.joblib import error (which prevents install as plugin)

If run this:
master ▶ docker pull dsarchive/histomicstk:latest
master ▶ docker run dsarchive/histomicstk:latest NucleiClassification --xml

I get this:
Traceback (most recent call last):
  File "NucleiClassification/NucleiClassification.py", line 7, in <module>
    from sklearn.externals import joblib
ImportError: cannot import name 'joblib'

Looks like the NucleiClassification module in the latest dsarchive/histomicstk docker container needs fixing or the pip requirements do.
This error prevents an admin from installing histomicstk as a plugin.

Thanks for the bug report.  This was caused by a change in the scikit-learn module.  PR #870 has a fix.

Fix confirmed to work.


Close action

There are three actions you can call in the onAction setting and they are close, cancel, and confirm.  There are only 2 options in the settings cancel and confirm.  I think we should be able to hook into all three actions including the close action. i.e.
confirm: function() {
            return false;
        },
        cancel: function() {
            return false;
        },
        close:function(){
             return false;
        },

I'm trying to stop the closing using the close icon and the hook into the close event in the onAction function.  However setting the close to false just breaks it.

+1

This is added in v3, :)


Default configuration and default database for staging environments.

Is your feature request related to a problem? Please describe.
In my static web app, I often like to work with the staging environments. In my configuration I manage the connection strings, e.g. to the storage or to the database. At the same time I use the new data-api datanbank feature in some projects.
But currently each staging environment gets the settings of the main environment copied (security risk). Also I have to configure the database manually with the staging environment.
Describe the solution you'd like
It would be great if you could configure a "default configuration" for new staging environments (which contains e.g. settings that allow access to special developer resources like storage or database). This configuration is then given to each new staging environment.

Thanks ChrMaass, this is good feedback and I agree. We have this other thread that has brought this up https://github.com/Azure/static-web-apps/issues/86. This will be something that we look into prioritizing when we plan for our next semester.


Add instruction to pre-check dotnet image stream

I spun-up an ARO cluster and it lacks the .NET 7 image stream.
This instruction could help fool-proof someone who want to try this repo out, but if the maintainers would like to keep it as a learning curve then it's totally understandable.
Cheers!

Thanks!
We could also link to the more "official" installation instructions here: https://github.com/redhat-developer/s2i-dotnetcore#installing
@tmds @aslicerh what do you think?

I think both are valid solutions and don't have a big preference either way.

I think both are valid solutions and don't have a big preference either way.

I could add the official docs url as mentioned by @omajid to the current commit, wdyt?


Update to confluent_group_mapping filter forces replacement

Terraform Provider Version: 2.1.0
Terraform Version: 1.8.5 & 1.9.5
I wanted to update the filter value for a confluent_group_mapping because a group that is to be evaluated during SSO has changed. This is easily possible via the Confluent Cloud UI without the group changing and receiving a new group ID.
However, using Terraform I get the result in the plan that the resource has to be recreated due to the change in the filter.
  # confluent_group_mapping.group_mapping["Unclassified"] must be replaced
-/+ resource "confluent_group_mapping" "group_mapping" {
      ~ filter       = "\"Old-Group-Name\" in groups" -> "\"New-Group-Name\" in groups" # forces replacement
      ~ id           = "group-EMBR" -> (known after apply)
        # (1 unchanged attribute hidden)
    }

The recreate would cause problems because all role bindings for this group would have to be recreated.

Hi @S1M0NM ! Thank you for reporting this issue. We have filed an internal ticket to patch this capability.


Remove allowed_failure from Python 3.12

and disable profiling tests there, since it doesn't look like we'll be able to fix them.
Knowing about other regressions is probably more important than testing profiling...

In 3.0.x in f71205d55

Looks like we used the "in" operator just above to disable tests. Seems simpler than something as obscure as "find() != - 1"

Looks like we used the "in" operator just above to disable tests. Seems simpler than something as obscure as "find() != - 1"

I've gone back and fixed that.

I missed that there's a Windows Py3.12 failure. I'll have a look at that this evening. Possibly by just turning Windows 3.12 to an allowed failure for now.

It seems master is failing in more than just windows. The master run (after the merge of #5819) seems to be failing on python3.13, ubuntu-20.04, pypy-3.9-v7.3.12, the latter with a failure in trashcan.Sub2

https://github.com/cython/cython/pull/5826 is the fixup for CyCache on Windows.
@mattip - I think that trashcan test may be "flakey" in PyPy rather a permanent failure (which I suspect we can live with) - it seems OK on other recent runs. That probably makes sense - it's looks like something that might work best with deterministic destructors.


feat: changes required to add an extra type detection head to pvrcnn++

Part of our effort to have pvrcnn++ predict element types.
We're adding an extra classification head to the anchorhead.
This requires some changes to the target proposal logic and post processing logic.

@julianschoep I think that this new version of OpenPCDet should be integrate into IOS in isolation, i.e. without any model update, to ensure that there are no regressions and that the current model can still be used with this new version.


Issue #51 | John | Create RESTFul API for system

Closes #51
Completes stubs for all endpoints.
Postman workspace is also updated with request examples to use.
Validation with proper response and message according to schema.
All typings for requests and responses.
Routes:

Coverage of the files for this PR are all over 73% We need 60%+ Most are 100.

ty!


Unable to disable module once loaded

I built Modsecurity and Modsecurity-apache on Debian 10.
When I load the module into Apache it works and logs fine.
I needed to disable the module for a specific virtualhost, so inside a vhost I put the modesecurity off directive. To make a long story short, I tried to put it in every possible place, even directly after the LoadModule line. The module is always alive and kicking.
If I remove the LoadModule directive, apache complains about the modsecurity directives in the various files, as expected.
My apache is
Server version: Apache/2.4.38 (Debian)
Server built:   2021-06-10T10:13:06
Server's Module Magic Number: 20120211:84
Server loaded:  APR 1.6.5, APR-UTIL 1.6.1
Compiled using: APR 1.6.5, APR-UTIL 1.6.1
Architecture:   64-bit
Server MPM:     prefork
  threaded:     no
    forked:     yes (variable process count)

If I try to override rules (modsecurity_rules directive) it seems to just ignore them.
Am I missing something big or is this what the "NOTE: This project is not production ready" line refers to?
Thanks

Hi @LoZio ,
The content:
The warning not to use ModSecurity-apache is not just about one specific bug or functionality gap, but a more overall warning that it is not ready for use.  As additionally noted in the README:
"With Apache HTTP Server, the recommended version of ModSecurity is v2.9.x."

When I load the module into Apache it works and logs fine.
I needed to disable the module for a specific virtualhost, so inside a vhost I put the modesecurity off directive. To make a long story short, I tried to put it in every possible place, even directly after the LoadModule line. The module is always alive and kicking.

Try this:
        <IfModule security3_module>
          modsecurity_rules "SecRuleEngine Off"
        </IfModule>

When I load the module into Apache it works and logs fine.
I needed to disable the module for a specific virtualhost, so inside a vhost I put the modesecurity off directive. To make a long story short, I tried to put it in every possible place, even directly after the LoadModule line. The module is always alive and kicking.

Try this:
        <IfModule security3_module>
          modsecurity_rules "SecRuleEngine Off"
        </IfModule>

Already tested, I wrote it in the first post.


Spectroscopy qubits don't pass to CurveAnalysisResult

What is the current behavior?
The following lines are taken from CurveAnalysis._run_analysis:
        # TODO update this with experiment metadata PR #67
        try:
            self.__qubits = experiment_data.data(0)["metadata"]["qubits"]
        except KeyError:
            pass

But for spectroscopy, the metadata key is qubit (singular).
Suggested solutions
This is anyway temporary until #67 is merged. But I'm worried because I'd expect tests to fail, so possibly something is wrong with the tests or with their coverage.

Same for Rabi

#88 aligns the spectroscopy key to qubits through
"qubits": (self.physical_qubits[0],),

in the circuit metadata. Would T1 not also have this issue? https://github.com/Qiskit/qiskit-experiments/blob/608833fa4bedd269ce22c717411fe5a30e689c89/qiskit_experiments/characterization/t1_experiment.py#L288

T1 will have the same issue when it inherits from CurveAnalysis, so will have to be careful when doing it

Resolved by #88


spatial/r3: add method to obtain a rotation matrix

I have not added the matrix→quat function as this requires more thought in terms of what we should accept and is arguably less valuable; the quat→mat operation means that large sets of points can be operated on with a single matrix multiply while it's not entirely clear what you get from being able to convert a mat to a quat, and the code is more complex.
Please take a look.

Codecov Report

Merging #1682 (1d7c921) into master (f2a128f) will decrease coverage by 0.15%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1682      +/-   ##
==========================================
- Coverage   73.27%   73.12%   -0.16%
==========================================
  Files         507      491      -16
  Lines       60004    59496     -508
==========================================
- Hits        43970    43504     -466
+ Misses      13553    13530      -23
+ Partials     2481     2462      -19

Impacted Files
Coverage Δ

spatial/r3/vector.go
98.18% <100.00%> (+0.68%)
:arrow_up:

internal/asm/c64/conj.go
0.00% <0.00%> (-100.00%)
:arrow_down:

internal/asm/f64/axpy.go

...fourier/internal/fftpack/array_no_bounds_checks.go

internal/asm/f64/scal.go

internal/asm/c64/stubs_noasm.go

mat/offset_appengine.go

internal/math32/sqrt.go

internal/asm/f32/ge_noasm.go

graph/internal/set/same_appengine.go

... and 8 more

Continue to review full report at Codecov.

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


[ytmusic] parse Album Name as metadata

Checklist

[X] I'm reporting a feature request
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2022.05.18 (update instructions) or later (specify commit)
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Description
example - music.youtube.com/watch?v=J9BQRMBjUOY
Album there is Blizzard Of Ozz (40th Anniversary Expanded Edition)
Now yt-dlp only copies if is available in description of www. subdomain version www.youtube.com/watch?v=J9BQRMBjUOY
Verbose log
No response

dup of https://github.com/yt-dlp/yt-dlp/issues/622
We currently extract all metadata from the equivalent youtube.com page.


fix the admin verbs trying to kill players by filling their lungs with plasma

About the PR
reported on discord

Why / Balance
bugfix
Technical details
it was set to always use plasma
Requirements

[x] I have read and I am following the Pull Request Guidelines. I understand that not doing so may get my pr closed at maintainer’s discretion
[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes
none
Changelog
:ADMIN:

fix: The tricks verb for refilling someone's air tank with O2/N2 no longer fills the the tank with plasma.

lol
change :CL: part or PR description to:
## Changelog
:ADMIN:
- fix: ...

change :CL: part or PR description to

I changed it, but that was how everyone else was doing it. Did the template get changed?
And can we put the right formatting into the PR template or the PR guidelines at least?

:cl:
for player-facing changelogs
:ADMIN:
for admin changelogs

thanks!


Added support for custom Http Headers for Websocket Client and fix objectdisposed expetion

Description
Option for adding custom headers to the Websockets.Client
small fix of bug when trying to close websocket that's already disposed (racing conditions) objectdisposedExpetion
Motivation and Context

You can now have extra control over custom headers. This can be used for authentication or other things. This makes the Client more usable.

How Has This Been Tested?

With websocket server and NF websocket Client.

Screenshots
Types of changes

[ ] Improvement (non-breaking change that improves a feature, code or algorithm)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Config and build (change in the configuration and build system, has no impact on code or features)
[ ] Dependencies (update dependencies and changes associated, has no impact on code or features)
[ ] Unit Tests (work on Unit Tests, has no impact on code or features)
[ ] Documentation (changes or updates in the documentation, has no impact on code or features)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

@Feiko don't worry about the build failure. It's with our tool. Working on it.

@josesimoes, Great! Yeah this will make the client side more use full I think.

@Feiko something to keep in mind for future PRs: we should have these "atomic" as much as possible. Main reason to be able to isolate changes and even make quick reverts, if needed.
In this case the fix should have been on it's own PR separated from the new feature. 😉


[BEAM-11205] bump com.google.cloud:libraries-bom to 16.3.0

bump com.google.cloud:libraries-bom to 16.3.0
This changes required an update for "com.google.auto.value:auto-value-annotations:1.7.4", so I updated it.
I got a build error if I didn't update it.
R: @lukecwik @iemejia

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[x] Update CHANGES.md with noteworthy changes.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run SQL_Java11 PreCommit

@kennknowles This seems ok and it is passing all tests, it is good to merge for me but just wanted to double check with you in case there is some extra test that needs to be run or some extra validation at the G side.

There is #13765 in progress

CC @reuvenlax @suztomo

There are actually some complications that are just about worked out there.

I see #13765 takes care of dependency conflicts with "google-api-services-*" artifacts. Merging 13765 should meet the purpose of this PR 13937.

It is merged. Try it out!

The goal of this PR has been achieved by #13990 , so it's closed.


Propose move dependencies feature

Propose move dependencies.
https://github.com/V-Sekai/godot/tree/move-dependencies

https://github.com/fire/godot/files/5459847/Move.Project.zip

Postponing, should be a Godot Engine org proposal and pull request.


change zed.Value.Copy to return a pointer

This will let us remove zed.Value.Keep.

That's a nice statement of the contract. And let's discuss the long-term plan tomorrow.


Don't let #retrieve_work to short-circuit when there are no queues to handle. Fix #63

BIG thanks to @d4rky-pl and @grahamlyons!

Only jruby build is failing. I'm not sure why.

It seems like a bug with jruby-head builds on travis-ci
The issue

Thank you very much! :smile:

Glad I could help!


Add support for Mistral-Nemo-Base-2407 model

Description
This PR is to add support for a recent Mistral's Mistral-Nemo-Base-2407.
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

Screenshots
After the PR, the existing mistral-7b and the new mistral-nemo-base-2407 work fine.

mistral-7b
mistral-nemo-base-2407

Checklist:

[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have not rewritten tests relating to key interfaces which would affect backward compatibility

Thanks for adding this! I am wrapping up a big notebook that will outline all model compatibility with Colab. I only have to test the really big models at this point, and I will probably have that demo in the source before I merge this. This demo is going to add a new requirement to model submission, which will be figuring out what Colab environments models can be used in. If you can spin up Colab, and see if this model works on the free tier, that would be very helpful for getting this merged. If it does not work, if you could then check it on the A100 config, and finally on the high memory config via CPI if you cannot get it to load via CUDA. If you do not have access to a paid Colab account let me know, and I will do the check if need be!

The notebook I mentioned previously is now in dev. If you can take a look at it, and organize your new model accordingly, that would be very much appreciated! You are the first person to submit a model with this new requirement, so if you have any questions, or if you need some help with running your model on paid Colab tier, let me know.

I have put the model under paid_gpu_models list. Same with mistral-7b, this one can only be loaded via A100 GPU on Colab I think (even L4 doesn't have enough to load).

In what context are you referring to CPI? For beartype, this seems to be an issue that a lot of people are running into these days. I normally set up the project with poetry install without the dev container, and that seems to work well. I will have to review the setup documents to see why so many people are running into this issue. For the time being, try running it locally with poetry install, and let me know if you can get the tests to pass.

In what context are you referring to CPI?

In the instruction above: "If it does not work, if you could then check it on the A100 config, and finally on the high memory config via CPI if you cannot get it to load via CUDA..."
Re: the beartype errors, I just switch my python version from 3.8 to 3.11 and that seems to resolve the errors

Ahh! Typo. It's supposed to say CPU

For 3.8, we honestly don't even officially support that version anymore. There may still be a handful of references to it in the docs, but it was removed from the CI a couple months ago based on feedback from the community. Everything should still hypothetically work in 3.8, but I would not be surprised if issues like these gradually began popping up. I will have to go through the docs to make sure references to it are removed.

Yeah sounds good!


chore: remove "private" field from update package.json

Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Hi @awanlin,
I removed the private property from both the common and frontend packages because they were not being published to npm.

@esw-afabiano the backend packages is in place: https://www.npmjs.com/package/@backstage-community/plugin-copilot-backend but for some reason I can't see the Common package yet: https://www.npmjs.com/package/@backstage-community/plugin-copilot-common (this takes me to a sign-in page)
The build did succeed, let's wait a bit and see: https://github.com/backstage/community-plugins/actions/runs/10773786365/job/29874473395#step:10:87

Oh, I'm wrong the next versions haven't show up yet, I bet this is on the NPM side, let's wait a few hours 👍

Looks like they are all on NPM now 🚀

I can see there! pretty good!!


On Heroku, webpack doesn't pick up changes to environment variables

In the Heroku app dashboard, change the value of ABE_URL, DEBUG, or GA_ID.
Now re-load the app.
It doesn't pick up the new settings.
This is a common ops operation. (In fact, being able to change these values without re-building the app is part of the point of environment variables.)
Will fix by moving the build steps from the heroku-postbuild npm task to postinstall, per these resources:

https://devcenter.heroku.com/articles/node-best-practices#hook-things-up
https://stackoverflow.com/questions/44054563/webpack-not-updating-on-heroku-rebuild

This didn’t work. You have to explicitly redeploy the last deployed branch.


Video Player Connector SiteWise

I still can't solve this issu, could you help me, thanks.

@atifali  Hi! Could you help me with this, is there any documentation to follow? Thank you
pD:I hope not to bother with the mention

Hi, here is our documentation for this panel: https://github.com/grafana/grafana-iot-twinmaker-app/blob/main/src/panels/video-player/README.md
I'll need more information about your setup (workspace, entities, panel config)

Closing this as not updates to this ticket for a few months now. Also, verified that this is working fine.


Images?

It would be really nice if you could upload some images or show a live demo of the theme. Wondering if that's possible. Thanks!

Hey @amilajack, check out #29.


Inline if statements are not supported

The parser does not recognize the follow inlined if-statement:
         if( tha(i,j,k).gt. 1.0 ) thrad = -1.0/(12.0*3600.0)

Would you mind to recheck with the develop-acc branch?
It appears that this issue was fixed here.
Here, the above single-line statement is correctly converted into the
following multiline statement:
if( tha(i,j,k).gt. 1.0 ) then
  thrad = -1.0/(12.0*3600.0)
endif

Thank you for your suggestion.  Use of the develop-acc branch did indeed resolve this issue.


Return 500 on non-zero exit status for Serializing and Streaming modes

Signed-off-by: Eric Stoekl<EMAIL_ADDRESS>
Description

This PR is to bubble up non-zero exit code from the fprocess that is run by the of-watchdog as a 500 ISE response to the client which invokes the watchdog.
Motivation and Context

[X] I have raised an issue to propose this change (required)
https://github.com/openfaas-incubator/of-watchdog/issues/12

How Has This Been Tested?

Start the watchdog server with port=8081 mode=serializing fprocess="stat x" ./of-watchdog
Before the update, when you curl the endpoint it will return 200 OK despite the fprocess command failing.
$ curl localhost:8081 -i
HTTP/1.1 200 OK
Content-Type: application/octet-stream
Date: Wed, 04 Apr 2018 14:48:20 GMT
Content-Length: 0

After update, it will return 500 if the fprocess command return non-zero:
$ curl localhost:8081 -i
HTTP/1.1 500 Internal Server Error
Content-Type: application/octet-stream
Date: Wed, 04 Apr 2018 15:11:24 GMT
Content-Length: 13

When running with a working fprocess (use pwd for the fprocess variable for example) I get a 200 response:
$ curl localhost:8081 -i
HTTP/1.1 200 OK
Content-Type: application/octet-stream
Date: Wed, 04 Apr 2018 15:16:00 GMT
Content-Length: 64

/home/s/github/go/src/github.com/openfaas-incubator/of-watchdog

You will see the same results with the streaming (fork) mode.
Types of changes

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[X] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[X] I've read the CONTRIBUTION guide
[X] I have signed-off my commits with git commit -s
[ ] I have added tests to cover my changes.
[X] All new and existing tests passed.

I think this will work and have a similar patch on my laptop from when I raised the issue. Let's re-evaluate which modes are needed in the of-watchdog and what else is different in this implementation.

/close: inactive


suite_runner: fix deprecated debug mode argument

fixes Auto Attach in vscode

@per-gron what about backwards compatibility? --inspect and --inspect-brk has been available from node 6.x.

@marcushultman thanks for updating the test. I don't care that much about backwards compatibility to be honest. It's probably not a great idea to be using a node version that's from early 2016 or before...

@per-gron When and how are releases created? Are there any items on the roadmap for a new release? We could use overman from trunk, but if there is an npm release that would be better.

@per-gron ping

@marcushultman There is no roadmap.
The process for a new version is simply bumping the version number in package.json and manually publishing to npm.
Are you working at Spotify? The only user of this library that I know of is there. If you do I can give you merge rights and npm publish rights so you can handle this yourself.

@per-gron Ok! Yes I do work at Spotify and we use it. Sounds good https://www.npmjs.com/settings/hultman/profile npm profile

@marcushultman Ok! At the moment I am travelling and I have lost my phone so I'm currently locked out from doing these things. I'll get the phone back tomorrow. Then I will check your identity using some other means than Github and give you access.

@per-gron sounds good 👍


HTTP error 500

Description
Hello, my Bookstack installation "stopped working" and is now returning an error 500. The only thing I did around the time where it stopped working (although I did not check the website straight after) was to execute the backup commands (database and filex) from the documentation. I literary have no idea where to start investigating.
Configuration:

BookStack Version: v0.26.2
PHP Version: v7.2.19
Hosting Method: Ubuntu 18.04 Droplet (DigitalOcean), set up with the installation script

Additional context
Here is the message from the Laravel logs everything I load the bookstack URL:
[2019-07-01 16:17:28] production.ERROR: Dotenv values containing spaces must be surrounded by quotes. {"exception":"[object] (Dotenv\\Exception\\InvalidFileException(code: 0): Dotenv values containing spaces must be surrounded by quotes. at /var/www/bookstack/vendor/vlucas/phpdotenv/src/Loader.php:262)
[stacktrace]
// Lines removed for security
/var/www/bookstack/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadEnvironmentVariables.php(27): Dotenv\\Dotenv->load()
#7 /var/www/bookstack/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(213): Illuminate\\Foundation\\Bootstrap\\LoadEnvironmentVariables->bootstrap(Object(Illuminate\\Foundation\\Application))
#8 /var/www/bookstack/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(162): Illuminate\\Foundation\\Application->bootstrapWith(Array)
#9 /var/www/bookstack/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(146): Illuminate\\Foundation\\Http\\Kernel->bootstrap()
#10 /var/www/bookstack/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#11 /var/www/bookstack/public/index.php(53): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#12 {main}
"}

Thanks a lot!

Hi @corentincharron,
I've edited your original post just to remove some encoded data that could have potentially been private (I didn't decode to check though).
Can you review your .env file and look for any values that contain a space or complex characters? It's likely these options that are causing issues. Anything with a space has to be wrapped in quotes if appropriate (For Example: MAIL_FROM="Dan Brown")

That was it @ssddanbrown!
The .env was corrupted because of me messing up with the backup archiving command.
Thank you very much! (And well done for this incredibly well-thought and designed application)

@corentincharron Awesome, Happy to hear you got things going again!


update hash in dice to be swissMap

I believe this wouldn't be required after yesterday's community call discussion to not use swissMap other than store.
@kolharsam if you've seen any efficient gains by this change please confirm once, otherwise we can close the PR.


Cannot read property 'split' of undefined

I created a new project and strider told me everything is fine, but when I want configure my project (/project/name/config), strider crashes with the following message:
/root/strider/node_modules/strider-git/lib/index.js:132
    return line.split(/\s+/)[1].split('/').slice(-1)[0];
                               ^

TypeError: Cannot read property 'split' of undefined
    at /root/strider/node_modules/strider-git/lib/index.js:132:32
    at Array.map (<anonymous>)
    at processBranches (/root/strider/node_modules/strider-git/lib/index.js:131:39)
    at /root/strider/node_modules/strider-git/lib/index.js:153:7
    at ChildProcess.exithandler (child_process.js:267:7)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:925:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
1726 died 1 null
1747 forked

Did you get a chance to update your plugins first?


Create Unit test to assert properties observed by Ember.observer()

sl-grid: https://github.com/softlayer/sl-ember-components/blob/EmberCli-1.13.8/addon/components/sl-grid.js#L403
style guide: https://github.com/softlayer/ember-style-guide/commit/a9e58324035b365d9279848019889609805e68c6

@notmessenger addressed by https://github.com/softlayer/sl-ember-components/pull/1103


Add test

Checklist

[ ] Title of this PR is meaningful: e.g. "Adding my_nifty_package", not "updated meta.yaml".
[ ] License file is packaged (see here for an example).
[ ] Source is from official source.
[ ] Package does not vendor other packages. (If a package uses the source of another package, they should be separate packages or the licenses of all packages need to be packaged).
[ ] If static libraries are linked in, the license of the static library is packaged.
[ ] Build number is 0.
[ ] A tarball (url) rather than a repo (e.g. git_url) is used in your recipe (see here for more details).
[ ] GitHub users listed in the maintainer section have posted a comment confirming they are willing to be listed there.
[ ] When in trouble, please check our knowledge base documentation before pinging a team.

conda-forge/staged-recipes usrghoiurhgoiwhgwiphgiew owihgiowrgho poweihig

Test comment

conda-forge/staged-recipes Test

conda-forge/staged-recipes Another test


Confusing Normalization of Aerosol Optical Properties inside Radiation

The computation of extinction, ssa and asymmetry parameter for radiation is currently implemented in a very confusing way and sooner or later it may cause a well-intentioned person implementing a new callback to make a mistake.  A zero-diff refactoring is badly needed.
THE PROBLEM:   The radiation callback in GOCART provides 3 variables to radiation: EXT, SSA and ASY.  Variable EXT is what one would expect: extinction. However, SSA is actually the scattering extinction coefficient, and ASY is the asymmetry parameter multiplied by scattering extinction coefficient. The radiation code current performs the proper normalization but this misnomer of variables is unnecessarily confusing.
THE SOLUTION: move this normalization inside the GOCART2G_GridComp so that the variables (EXT,SSA,ASY) are indeed (extinction, single scattering albedo, asymmetry parameter). Here's the code fragment near line 1437 in GOCART2G_GridComp.
do i = 1, size(aeroList)
…
ext = ext + ext_
ssa = ssa + ssa_           ! accumulator, ext_s
asy = asy + asy_           ! ext_s * asy_
end do
asy = asy / ssa    ! ext_s weighted average of asy_
ssa = ssa / tau     ! ext_s / ext
The radiation code would need to be consistently modified (removal of normalization). It may pay to change variable names for clarity.  Similar cleanup of variable names should happen in the children components as well. This refactoring should be zero-diff.

Hi Arlindo, I understand and agree this is confusing. Radiation routines correctly handle the situation as it is, but can be adapted (I can do this) if you change the aerosol optical property definitions back to normalized values. Currently RRTMG and RRTMGP explicitly normalize the confusing variables using the rubric:
where (TAUA > 0. .and. SSAA > 0. )
ASYA = ASYA/SSAA
SSAA = SSAA/TAUA
elsewhere
TAUA = 0.
SSAA = 0.
ASYA = 0.
end where
while Chou-Suarez takes the unnormalized (confusing ) variables directly and uses them directly (which is the most natural use for radiation).
Anyway, if you normalize the definitions within GOCART, according to the above rubric, I will only need to remove the radiation's normalization for RRTMG and RRTMGP, and for Chou-Suarez I will just change the code to remultiply the normalized variables.
I think it will be zero diff for RRTMG and RRTMGP and zero-diff to rounding for Chou-Suarez, which is fine.


Incorporate GAN for acoustic model

I've done it for TTS quite a while ago: https://github.com/r9y9/gantts. It's worth doing to improve acoustic models for SVS as well.

After #72, I will implement GAN for acoustic models.

Initial attempt: https://github.com/r9y9/nnsvs/commit/711c575071f0dcf194fc5dd69eada5e76051039a

Apparently it didn't work well. I am running several experiments with dev branch now.

Without GAN:

With GAN:

Generated spectrogram looks fine to me, but I am still struggling with subjective quality issues. It turned out training GANs for SVS is difficult.

TODO: try post-net approach

Stil needs more experiments but GAN started to work:
w/o GAN

w/ GAN

(NOTE: surprisingly, the result is at epoch 5)


Query Feature + Marker Cluster

If I combine the query example and marker example
https://esri.github.io/esri-leaflet/examples/querying-feature-layers-1.html &
https://esri.github.io/esri-leaflet/examples/clustering-feature-layers.html
The cluster counts don't update correctly when changing the data based on the query.
To see it working , simply combine code appropriately from the two examples, zoom all the way out till you'll see a single cluster with count = 6916. Now change the direction from any to either of the four directions, and then change it back to any. The expected cluster count is 6916, but I see 2000.

Any updates on this ?

i can reproduce the behavior you describe by launching the clustering-feature-layers example with the map zoomed out to level 1. (live demo)
this is occurring because the service is configured to return a maximum of 2000 features for any given query.
from the service metadata:

Max Record Count: 2000

when you zoom out far enough, even though Esri Leaflet breaks up the current map extent into a grid and executes more than one query simultaneously, all the features are located within a single cell.
if no local cache from previous queries is present, or if the cache is cleared manually by calling setWhere() any feature layer is going to be limited to drawing the features that are retrieved from the service itself.

Thanks for the update, perhaps a note in the documentation would be helpful.

perhaps a note in the documentation would be helpful.

agreed.


How can this list be exported?

Its kind of hard to document without this ability

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

ID: 100228be-3a7f-ca84-3fe4-f3e537b27030
Version Independent ID: 73602e3b-9ecb-05cf-ec63-e89ca1f78218
Content: Performance recommendations - Azure SQL Database
Content Source: articles/sql-database/sql-database-advisor.md
Service: sql-database
Sub-service: monitor
GitHub Login: @danimir
Microsoft Alias: danil

@StingyJack Thank you for your inquiry. Are you looking to export any of the recommendations and information provided via the tools/processes detail in the document? Or are you looking to export something specific?
The Azure Portal does provide a list of recomandations that are being advised when you have Automatic Tuning enabled (Note: You can review and manually implement the recommendations being made): Find and apply performance recommendations
There is also the manual method of tuning an Azure SQL Database and the following document has T-SQL that can be run to identify index recommendations: - Manual tune query performance in Azure SQL Database.

I want to be able to export or copy the recommendation list from the SQL database panels/pages so I can circulate it for review or comments.
I managed to Ctrl+click each item and then screen cap those and paste into an Excel workbook, but it seems like something that probably has an easier way to go about it than that.

@StingyJack - The only alternative you can consider is by calling API Get-AzureRmSqlDatabaseRecommendedAction from your custom application providing performance recommendations for Azure SQL Database in the Portal. To use the API you will however need to have appropriate technical knowledge to implement your custom solution. Hope this helps.
@Mike-Ubezzi-MSFT #please-close

@danimir - whats up with you all asking @Mike-Ubezzi-MSFT to #please-close issues?  If you think you answered it as best as is possible, just close it yourself, though it doesn't usually take me long to catch up and close it if its an answer I can work with.  Asking a 3rd party is just... strange.

This is our process that we follow. Mike is internal to Microsoft, as am I. The question was answered in the best possible way. Thanks.


Hotfix/set 387

PR Description
Fixed Issue(s)

Documentation

[ ] I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

[ ] I thought about adding a changelog entry, and added one if I deemed necessary.

Closed as this is included in #12


Question about the TransWeather

Hey @jeya-maria-jose,
It's really interesting of the Transwheathe in CVPR22,
However, I found there is one file named utils.py missing, and how to organize the train/test dataset is also not clear.
May I ask if you can take care of these issues?
Bests,

Hey @jeya-maria-jose,
Thanks for giving the codes of Transweather , but I also found there is one file named utils.py missing,so I could not debug , shall you give the utils.py code ?
Best regards
Judy


support using the target agent puppet config

modules like puppetlabs-puppetdb which make use of Puppet.runtime[:http] require the agent ssl certificate and key. this change supports an optional flag which simply skips the confdir setting override when initializing the Puppet object.

Apply blocks intentionally isolate from existing agent settings. A generalized option like this I think will have many unintended consequences. Perhaps we can brainstorm some other way to pipe through specific settings for a use case like this.


Package '@react-native-community/geolocation' doesn't seem to be linked

Hi all!
I'm trying to use @react-native-community/geolocation inside my iOS app. I'm testing with my macOs iOS emulator and I'm getting this error:
Error: The package '@react-native-community/geolocation' doesn't seem to be linked. Make sure:
- You have run 'pod install'
- You rebuilt the app after installing the package
- You are not using Expo managed workflow
, js engine: hermes
 ERROR  Invariant Violation: "main" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and AppRegistry.registerComponent wasn't called., js engine: hermes

I read some blogs about auto-link and I follow that steps (pod install, etc.). I also try to remove the package-lock.json and node-modules but I got the same error..
This is the way how I'm importing the library: import Geolocation from "@react-native-community/geolocation";.
Do you have any ideas?

+1


Why all the pointers?

Maybe it is a way to go now but it breaks all our code. Basically it always generates pointers even if property is required.
Note how Code field is generated. In 0.5.0 it is an int while 0.6.0 generates pointer there.
$ cat /tmp/swag.json
{
    "swagger": "2.0",
    "info": {
        "title": "Borked"
    },
    "definitions": {
        "Error": {
            "type": "object",
            "properties": {
                "code": {
                    "type": "integer"
                },
                "message": {
                    "type": "string"
                }
            },
            "required": [
                "code",
                "message"
            ]
        }
    }
}

0.5.0
$ env GOPATH=/tmp /opt/swagger-0.5.0/swagger_linux_amd64 generate client -f /tmp/swag.json -t /tmp/src/
...
$  cat tmp/src/models/error.go | head -32
package models

// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command

import (
        strfmt "github.com/go-swagger/go-swagger/strfmt"

        "github.com/go-swagger/go-swagger/errors"
        "github.com/go-swagger/go-swagger/httpkit/validate"
)

/*Error error

swagger:model Error
*/
type Error struct {

        /* code

        Required: true
        */
        Code int64 `json:"code"`

        /* message

        Required: true
        */
        Message string `json:"message"`
}

// Validate validates this error

0.6.0
$ env GOPATH=/tmp /opt/swagger-0.6.0/swagger_linux_amd64 generate client -f /tmp/swag.json -t /tmp/src/
...
$  cat tmp/src/models/error.go | head -32
package models

// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command

import (
        strfmt "github.com/go-openapi/strfmt"

        "github.com/go-openapi/errors"
        "github.com/go-openapi/validate"
)

/*Error error

swagger:model Error
*/
type Error struct {

        /* code

        Required: true
        */
        Code *int64 `json:"code"`

        /* message

        Required: true
        */
        Message *string `json:"message"`
}

// Validate validates this error

It breaks everything but I couldn't find any BREAKING change for 0.6.0.

The reason for the change is that a zero value for a required property is a valid value.
So for a string "" is valid but nil or absence of the key isn't.
You can change your spec and add x-nullable: false

I added the entry about the breaking change to the release notes too. Thanks for that.

Probably you should regenerate all examples, revisit all docs and tutorials as they are simply broken now.

@casualjim no, x-nullable doesn't help as if, say, int64 field is set to 0 then server code still treats it as a missing one. Sure, this happens before 0 value is the zero value for int64 type.

This is a problematic part here. If value is a required property, the only
thing you can do is to have a pointer.
I really understand your problem, I went through this suffering too. It
broke many things on my side as well, but it is not as critical as it could
be. It just took 2 hours for me to update all projects to handle this
change gracefully.
Yes, access values like *v - looks very ugly, but this is necessary evil to
make things right.
Also, this change will be very helpful when swagger switch over to the
bitset for indication if the value is nil and set. You practically will
just need to change v == nil to v.IsNil()
On Fri, Sep 2, 2016 at 3:29 AM, Alexander Krasnukhin <
<EMAIL_ADDRESS>wrote:

@casualjim https://github.com/casualjim no, x-nullable doesn't help as
if, say, int64 field is set to 0 then server code still treats it as a
missing one. Sure, this happens before 0 value is the zero value for int64
type.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/go-swagger/go-swagger/issues/651#issuecomment-244340734,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEJjqw4xXHPj_XbERNtM5k77li9d8aEXks5ql_qTgaJpZM4Jy_Cl
.

You can make use of this: https://github.com/go-openapi/swag/blob/master/convert_types.go
To make the referencing/dereferencing easier

@vburenin meh, I'm ok to have zero values  everywhere by default. I we have golang client talking to golang server. Having pointers makes it awkward on both sides.

I close this issue as we decided to simple not upgrade. Doesn't worth the effort for us.

How about generating something like this? https://godoc.org/github.com/google/go-github/github#App
Then it is possible to make the difference between a missing and zero value but it gives nice getters on top of it for consumers. Having to use https://github.com/go-openapi/swag/blob/master/convert_types.go is not that user-friendly.


Added the directory with my README.md file. Also made a very modest c…

…orrection to the main README.md file of the project.
Description

[x] I have added a folder(vbsmbb)
[x] I have added a Readme.md file inside the folder
[x] I understand the GitHub Forking Concept fully

Mr. Adhikary,
I had trouble revoking the changes so I deleted the readme file from my
fork, and then deleted my repository to start over. When I forked the
repository, again, it was missing the readme file. I am very sorry. I'll
leave things alone.
Sorry, again,
MikeS
On Tue, Nov 29, 2022, 7:14 AM Tapas Adhikary @.***>
wrote:

@.**** requested changes on this pull request.
@vbsmbb https://github.com/vbsmbb Sir I see also updated the main
readme file that creating conflicts. Can you please take care?
—
Reply to this email directly, view it on GitHub
https://github.com/atapas/fork-me/pull/429#pullrequestreview-1197436606,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJYRKZI4DIREQPQ6IXQP6A3WKXXQRANCNFSM6AAAAAASJHDOFA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Feedback for your ADD ON

For your information, the addon work with:
5 V 12 V Sonoff WiFi Smart Switch Wireless
Sonoff S55
Many thanks for your work!

@alesoft73 could you send link to "5 V 12 V Sonoff"?

This works well with the  T4eu1cWall switch. Great work!
Is it possible to add the ability to control the brightness of the led back-light?
Great work though.. Keep it up 😁👍

@alesoft73 could you send link to "5 V 12 V Sonoff"?
Sure,
https://it.aliexpress.com/item/32818293817.html?spm=a2g0s.90423<IP_ADDRESS>424c4dH3GFvS

@RDoull led back-light it is Sonoff L1?

@RDoull led back-light it is Sonoff L1?

Excuseme,
if i would you send a beer for ypur work ?? ;)
Bye Sir.

@alesoft73 There is a donation button at the beginning of the readme 😄

@alesoft73 There is a donation button at the beginning of the readme 😄

Do you have a paypal link for donation ?
Thanks!

@alesoft73 sorry, paypal donation does not work in my country 😢

@alesoft73 I hope this should work :)
https://www.buymeacoffee.com/AlexxIT

@alesoft73 I hope this should work :)
https://www.buymeacoffee.com/AlexxIT

I send you a present<EMAIL_ADDRESS>💃

@alesoft73 Thank you!


fix(buffer): use node:buffer instead of safe-buffer

@wesleytodd
Since express@5 will support minimum of nodejs version 18, I think it would be safe to use node:buffer .
Also I didn't see any new Buffer usage anywhere in their repo.

🤴


Error

Hi Davi,
Today i try execute locally after edit the conversation in my bluemix, and, when I execute the command "server run" in /wlp/bin, and try to open the localhost in the browser, it presents the error that is in the print:

Hello,
Could this potentially be a firewall issue? gateway.watsonplatform.net maps to <IP_ADDRESS> and it appears to be a connection problem to that IP. I believe you mentioned you had a proxy in place before? Perhaps an issue with that?

Exactly, Davi, thank you.
I did a test accessing the site and gave a proxy error, I requested that it be released.
At home it works normally.
I am wanting to build a similar application, any tips?
Can I use your project as a help?

I'm trying to run the project with some modified files, with eclipse, and it gives me this error:

I'm trying to run the project with some modified files, with eclipse, and it gives me this error:


update docs to demonstrate best practices in regards to named templates

This PR modified named template documentation:

update helper examples to demonstrate namespace best practices

highlight that templates names are global at the top of the documentation

address #3487

Hi @mueedc
This is looking great! I notice that you have moved the helper naming explanation closer to the top (thanks). Can we simply and reword the second occurrence of that same text? Perhaps leading with something like "As noted above, template names are global... etc"

Oh yeah absolutely. Gotta be DRY with our code and docs


test: Test fix grep spec case insesitive

Description
Failed tests are only filtered for spec. We need to make them case insenistive
Fixes #
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Code reivew
Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes

/ok-to-test sha=e3dfdc

/ok-to-test sha=6783261

/ok-to-test sha=6783261

/ok-to-test sha=e572bb2


jellyfin: NVENC transcoding does not work

Describe the bug
When enabling transcoding via NVENC I get the error below (see screenshots)
I looked further into the transcoding logs and found that ffmpeg is erroring with this message:
[AVHWDeviceContext @ 0xa52500] cu->cuInit(0) failed -> CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected.
I remember NVENC transcoding in the past.
Steps To Reproduce
Steps to reproduce the behavior:

Enable jellyfin
Enable NVENC playback transcoding
Play a video which requires transcoding

Expected behavior
Playback working with transcoding happening on the GPU instead of the CPU.
Screenshots

Additional context
I have an Nvidia GTX 950.
nvidia-smi output: (see screenshots:
Notify maintainers
@minijackson @purcell @jojosch @nyanloutre
Metadata
[kranzes@pongo ~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.10, NixOS, 22.05 (Quokka)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.6.0pre20211217_6e6e998`
 - channels(root): `""`
 - channels(kranzes): `""`
 - nixpkgs: `/etc/nix/inputs/nixpkgs

I have the same issue, I tried to run the exact same command that jellyfin uses, using sudo -u jellyfin /nix/store/ffmpeg..., but it works fine, so I don't know what's causing this

See my comment here: https://github.com/NixOS/nixpkgs/pull/144082#issuecomment-1013568030
It is something with the systemd hardening we apply in nixpkgs for that module.

See my comment here: #144082 (comment) It is something with the systemd hardening we apply in nixpkgs for that module.

Thanks, I'll disable it on my system to make it work

Okay, for everyone waiting for this to be fixed upstream, add this in your configuration.nix to fix NVDEC and NVENC:
systemd.services."jellyfin".serviceConfig = {
  DeviceAllow = pkgs.lib.mkForce [ "char-drm rw" "char-nvidia-frontend rw" "char-nvidia-uvm rw" ];
  PrivateDevices = pkgs.lib.mkForce false;
  RestrictAddressFamilies = pkgs.lib.mkForce [ "AF_UNIX" "AF_NETLINK" "AF_INET" "AF_INET6" ];
};

for everyone waiting for this to be fixed upstream

Is this an upstream issue, though? It seems like only our hardening is at fault. (In case this sounds rude: I couldn't find a better way to word this, and my apologies.)

@Kranzes, @D4Delta, can you please try the PR and confirm it solves the issue please?


copy current notebooks to examples

Renamed directories, and added a small readme.

@epapoutsellis confirmed that it is an appropriate directory name.


branch name with '/' not supported

A branch named feature/doclets will cause a Err null result
See https://doclets.io/openzero-zte/js-generator-openstack/feature/doclets

Thanks for reporting! This must be supported definitely. It is on the todo list. I'll target this immediately after my vacation.


Folder workspaceStorage is not synchronized

🐛 Describe the bug
When synchronizing the workspaceStorage is not synchronized
This folder is located in the $HOME/Library/Application Support/Code/User/ directory.
Basically I need to have a identical setup of my VSCODE environment on both machines.
🌴 **Visual Studio Code Version : 1.27.2
🌴 **Code Settings Sync Version : 3.1.2
🌴 **Operating System : Mac High Sierra
🌴 **Occurs On: Download
🌴 **Proxy Enabled: No

Update; the Project Manager has a setting "alternate storage location" for the projects.json file. This setting is synchronized by code-settings-sync 👍
However I was wondering why the whole "user" directory is not sychronized... ?

It does.
There are certain files for some extensions it doenst sync
Read the global settings ignoreUploadFiles key here to see your extension config file.
https://github.com/shanalikhan/code-settings-sync#global-settings

Well, I expected and honestly think that synchronising an extension must also synchronise the data (files/folders/settings) of that extension.
The synchronised counterpart would not be exactly the same as the original if it doesn't.
Otherwise it makes no sense at all to sync because one cannot rely on it. I have strong doubts whether I can rely on my iMac system!
The user should not need to care about which files/folders/settings belong to an extension and which ones should be synced or shouldn't be synced.
(Often there is even no documentation about what files belong to an extension as well.)


Fix mega pokemon being able to use Z-Moves

Why though? Custom Games and Hackmons are a thing

Is this a mechanics issue? Is Rayquaza able to do it?

because hackmons is everything possible on cart and this doesn't work

Do you have a YouTube video of it not working on cart?

no I don't but it's on the known mechanical bugs issue

You missed the word "Transformed". As in with the move Transform or the ability Imposter.

@Marty-D, could you advise on mechanics?

welp guess I should learn to read :p

This reminded me to check Transforming into Primals for the same behaviour, will fix in a bit.


Data Purging recomendations

Is your suggestion related to a missing or misleading document? Please describe.
WSO2 IS has a set of in-built operations to clean invalidated/expired data such as session data, access tokens, etc. from respective DB tables. Also, there is a set of stored procedures written to do the same task in an optimum way without consuming the resources of the IS nodes. These also make sure all the old data are removed from the respective tables.
The current recommendation for production environments is to fully disable the internal cleanup operations with the following configs and schedule the stored procedures located on the DB itself. These are compatible with all the versions since IS 5.2.0.
[session_data.cleanup]
enable_expired_data_cleanup = false
clean_logged_out_sessions_at_immediate_cycle = false
enable_pre_session_data_cleanup = false

[oauth.token_cleanup]
enable = false

This information needs to be clearly explained in the documentation. We can bring this to the deployment recommendations document instead of [2] and [3].
Also need to point to [1] for stored procedures since they are being improved actively and duplicating the same in the document will cause old scripts to be kept in the document.
Additionally, the steps like taking backups, testing with DB dump need to be removed (or should not be prioritized) since people get scared of executing the stored procedures due to these steps.
Related; https://github.com/wso2/product-is/issues/3901
[1] https://github.com/wso2/carbon-identity-framework/tree/master/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/dbscripts/stored-procedures
[2] https://is.docs.wso2.com/en/latest/setup/data-purging/
[3] https://is.docs.wso2.com/en/latest/setup/removing-unused-tokens-from-the-database/#removing-unused-tokens-from-the-database

Related; https://github.com/wso2/product-is/issues/3901

These changes are not done in the 6.0 branch.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Crash happens when training a lambdrank model

It crashed when i train a lambdrank model. crash info is as following. Does anybody know why. Thanks !
Thread 3 Crashed:
0 lib_lightgbm.so 0x0000000111bee863 LightGBM::LambdarankNDCG::GetGradients(double const*, float*, float*) const (._omp_fn.13) + 1331
1 libgomp.1.dylib 0x0000000111f56c0b gomp_thread_start + 347
Thread 3 crashed with X86 Thread State (64-bit):
rax: 0x00000000000001d4 rbx: 0x0000000000000000 rcx: 0x00007fb84d9e9c00 rdx: 0x000000000009a430
rdi: 0x00007fb84da07200 rsi: 0x0000000000000000 rbp: 0x00000001129c63a8 rsp: 0x0000700005bd0dd0
r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000001 r11: 0x0000000000000003
r12: 0x00007fb84e2c0890 r13: 0x00007fb84c6ba200 r14: 0x00007fb84e2d8cf0 r15: 0x00007fb84d9e9dd4
rip: 0x0000000111bee863 rfl: 0x0000000000010246 cr2: 0x0000000000000000
Logical CPU: 3
Error Code: 0x00000004
Trap Number: 14
crash_lambdrank.log

what is the range of your label? Did you set label_gain?

I know why.    In group file, there are several group num is 0.    Thanks @guolinke


Add attention example in tracing test

This PR adds an FP8 attention kernel to the
tracing test to validate that it traces correctly.

This is outdated with all the latest changes in attention.


sslv3 alert handshake failure

Environmental Info:
K3s Version:

k3s version v1.24.4+k3s1 (c3f830e9)
go version go1.18.1

Node(s) CPU architecture, OS, and Version:

Linux srv200956 5.4.0-125-generic #141-Ubuntu SMP Wed Aug 10 13:42:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.5 LTS"

Cluster Configuration:

1 server (single-node cluster)

Describe the bug:

I have deployed a simple Django project with k3s, the problem is the project can not send any outbound HTTP requests, project deployed without any problem ,and works fine but if it want to request for example google.com from the pod, it throw SSL handshake error, I tried execute curl on the pod:
$ curl https://www.google.com
curl: (35) error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure
$ curl --tlsv1.2 --tls-max 1.2 https://www.google.com
curl: (35) error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure

I tried to curl an HTTP domain and got:
error code: 1001

ping websites works fine:
$ ping google.com
2 packets transmitted, 2 received, 0% packet loss, time 1002ms

DNS config of the pod:
search mynamespace.svc.k3s.test.com svc.k3s.test.com k3s.test.com bitcommand.com
nameserver <IP_ADDRESS>
options ndots:5

openssl version:
OpenSSL 1.1.1n  15 Mar 2022

Steps To Reproduce:

Installed K3s:

$curl -sfL https://get.k3s.io | sudo sh -s - server
  --token="test=="
  --datastore-endpoint="postgres://postgres:postgres@<IP_ADDRESS>:5432/postgres"
  --cluster-domain="k3s.test.com"
  --node-name="test"

Expected behavior:

send HTTP requests from the pod
Actual behavior:

SSL handshake failed when trying to curl a website which has HTTPS, and on the http domains, error 1001
Additional context / logs:

I didn't find anything helpful yet

It sounds like you have something on your network that's blocking outbound HTTP/HTTPS connections. Are you using or do you need to use a proxy server to reach the internet?

Yeah, after your comment, I reset the VPS and installed k3s again, but the error was still there.
I get another VPS from another VPS provider, and the error is gone;
I think there is some rule or something on their service which cause this error;


Issue with multiple level of *

Script has issue with following code :
Bar:
* Foo

While this code is working :
Bar:

* Foo

Isn't that right though? You should have an empty line between a paragraph and your list. Never mind, I tested on GitHub, it does work...
Turns out it's an easy fix with markdown2, I'll fix this in a sec


ERROR: eslint cannot locate 'eslint'

I know I'm probably just missing something stupid, but I can't seem to get eslint to work unless I install it within the directory I'm working in. I'm getting these two errors:
SublimeLinter: WARNING: eslint deactivated, cannot locate local or global binary
SublimeLinter: ERROR: eslint cannot locate 'eslint'

I'm currently using nvm, and I have source ~/.nvm/nvm.sh in my .zshenv file. I can also get it to load in my $PATH in my console, eslint -v works just fine, but I can't seem to get it to load in Sublime. It also doesn't look like it's in my $PATH when Sublime loads:
SublimeLinter: computed PATH using /bin/zsh:
/usr/local/bin
/usr/local/sbin
/Users/spentacular/.rbenv/shims
/Users/spentacular/.bin
/usr/local/sbin
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin

Is there something just completely dumb I'm missing? I've restarted Sublime multiple times, reinstalled everything, I just can't get it to reference the global copy. Thanks!

Try which eslint, then paste that path up to the bin in your Sublime Linter.sublime-settings.
Mine looks like this:
"paths": {
   "osx": [
    "/usr/local/opt/nvm/versions/io.js/v1.8.1/bin"
  ]
},

@uipoet Thanks so much! That worked perfectly. I'm using iojs as well and I was worried that may be apart of the problem, but this worked perfect!

@uipoet thanks, your tip helped me too.

@uipoet thank you for tip!

thanks! works for my case