python312Packages.griffe: 1.3.1 -> 1.3.2

Diff: https://github.com/mkdocstrings/griffe/compare/refs/tags/1.3.1...1.3.2
Changelog: https://github.com/mkdocstrings/griffe/blob/1.3.2/CHANGELOG.md

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

13 packages built:

griffe (python312Packages.griffe)
griffe.dist (python312Packages.griffe.dist)
netbox (netbox_3_7)
python311Packages.griffe
python311Packages.griffe.dist
python311Packages.mkdocstrings-python
python311Packages.mkdocstrings-python.dist
python311Packages.netbox-reorder-rack
python311Packages.netbox-reorder-rack.dist
python312Packages.mkdocstrings-python
python312Packages.mkdocstrings-python.dist
python312Packages.netbox-reorder-rack
python312Packages.netbox-reorder-rack.dist


Question

Hello, one question, is it possible to generate a transcript of the messages? And if you can, how would it be?

The example code shows how to generate a transcript of all the messages in a channel, or on an array or collection of messages that you provide.
https://github.com/ItzDerock/discord-html-transcripts#example-usage-using-the-built-in-message-fetcher

But a query how would I get the messages?

If you use createTranscript and pass it a TextChannel it will automatically fetch all the messages

I want to use generateFromMessages & createTranscript is it possible?

createTranscript does the same thing as generateFromMessages except it fetches the messages for you.
You can use whatever you want.

In generateFrom Messages how to get the messages generate From Messages(-1, channel)?

generateFromMessages will not fetch the messages for you, so you will have to create your own system to fetch them.

Oh ok now I understand thank you very much

In order not to create another issue, a query, do you know why the name is not changed?

Can you make sure you are using the latest version of discord-html-transcripts with npm i discord-html-transcript@latest?
On older versions, you want to use fileName instead of filename

I have the version 2.6.1

oops, made a typo, try npm i discord-html-transcripts@latest

closing due to no response


fix typo and ad unit tests

This PR fixes Array/Dictionary of primitive types when doing mapping from json to object

Good find! thanks for the fix


fix swap DISK token error

fix swap action when min_amount_out is not integer

Should fix toNonDivisibleNumber which should never return a decimal number
My idea is to deal with when toNonDivisibleNumber result is a decimal, if not, keep the original value.This will have no effect on tokens that have no precision problems.

My idea is to deal with when toNonDivisibleNumber result is a decimal, if not, keep the original value.This will have no effect on tokens that have no precision problems.

But toNonDivisibleNumber should never result in a decimal. If it does, then that is a bug that should be fixed with that function.


API token required when public access is available

With the strapi v3 version this plugin was usable without an access token, when public access to a collection was enabled. It's not clear to me, why this is now required.

Hello, I understand why this seems odd, but this is the expected behavior.
The API token is required because the plugin now fetches data from the content-type-builder API, which has restricted access. We also plan on using this API more in the future to generate the Gatsby graphql schema.
Another small benefit is that you only have to to set the access token once, to have access to everything. On v3 you had to enable the permissions for each content type in the settings.


Fanzy Zones resizes Windows Calculator to maximised when it's added to the excluded apps list

Microsoft PowerToys version
0.76.1
Installation method
GitHub
Running as admin
Yes
Area(s) with issue?
FancyZones
Steps to reproduce
It took me a long time to work out Fancy Zones was causing this bug.  Whenever I open Windows Calculator it opens fully maximised inside one of my fancy zone layouts, way too big.  I resize the app but it always opens like this, really annoying.  Years ago I added calculatorapp.exe (Formally calc.exe) to the Fancy Zones excluded apps section because it was annoying that it wanted to snap my little calculator into a fullsize fancy zone.  But by adding it to the excluded list it creates this bug where it makes it fill the size of the entire screen whenever I open it.  Once I have deleted it from excluded apps this behavior stopped and calc opens in a normal size.
✔ Expected Behavior
Calc should open in the same size it was last closed in but not snap when excluded.
❌ Actual Behavior
It opens in the full size of a fancy zone on my 49" screen.  It does stop the snapping behavior though.
PowerToysReport_2024-03-27-21-22-09.zip
Other Software
No response

calc.exe should be an alias and the process name is CalculatorApp.exe.
Working after replacing calc.exe with CalculatorApp.exe.

You can't read can you? I excluded calculatorapp.exe. Calç Is just an
alias. This isn't to do with fancy zones or snapping that works fine as
does the exclusion. It's a bug about resizing the app.
On Thu, 28 Mar 2024, 12:02 am Davide Giacometti, @.***>
wrote:

calc.exe should be an alias and the process name is CalculatorApp.exe.
Working after replacing calc.exe with CalculatorApp.exe.
/needinfo
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/32093#issuecomment-2022851099,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH6NBGAEI7TAMU3DQ3566A3Y2K7OTAVCNFSM6AAAAABFKV53QKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRSHA2TCMBZHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Oh, my bad! I have confused the issue with #29772

I have this same bug too, it's been irritating me for months but it looks like removing calculatorapp.exe from the exclusions list seems to fix it. I wish it worked as intended.

This bug is still alive and kicking.

Why won't anyone fix it!
On Tue, 24 Dec 2024 at 07:54, rhamej @.***> wrote:

This bug is still alive and kicking.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/32093#issuecomment-2560353660,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH6NBGBPYDOT4YLMS3X734L2HCBBBAVCNFSM6AAAAABUDWZ4U6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRQGM2TGNRWGA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Creature variants will not breed with each other

When fed, variant animals will only breed within their variant type.  It would be better for them to breed within their species.  The offspring ought to be randomized between the two parent variants.

Would also be neat to have some rarer variants to be born through mutation rather than spawning, such as the rainbow sheep.


Document workflow of tool with not-just-microbiome datasets

I imagine this would work best as a separate tutorial (analogous to the moving pictures one), but using Qurro standalone instead of through QIIME 2. Depending on where we get the data from, we could cover:

Wrangling arbitrary data into the types accepted by Qurro (BIOM table, tab-separated metadata files, ALDEx2 / DEseq2 / ... output)
Running Qurro
Interpreting results (e.g. what columns in the ALDEx2 / DEseq2 / ... output should be used in the visualization) -- likely ties in with #229

Update: progress --

[x] RNA-seq tutorial (#279)
[x] Color composition tutorial (#282)

closed now that #282 merged in


Autogenerated avatars for users w/o image field

PR includes

[x] Feature

Related issues
Resolve #333
QA Instructions, Screenshots, Reco


Avoid using sp_ as a prefix for stored procedures in your examples.

Avoid using sp_ as a prefix for stored procedures. Read
https://msdn.microsoft.com/en-us/library/dd172115(v=vs.100).aspx
http://sqlperformance.com/2012/10/t-sql-queries/sp_prefix

i've updated the readme with out 'sp_' in the example.


artemis can not open port

selinux blocks artemis

http://selinuxproject.org/page/RPM#Adding_Policy_to_an_RPM


feat: Add beverage to UI and refactor of header

What was doing
Related Ticket

PIZ22
Type of change

[ ] Hotfix
[x] New feature
[ ] Documentation
[x] Refactor

Checklist

[ ] Unit Test.
[ ] Coverage.

Solution

Add all necessary files to  include beverage on  UI and refactor of header

 PIZ22 - Add beverages to UI


The paths have changed

Please double check the paths.  AP should reflect:
Accounts payable > Payment setup > Due date limits
Accounts payable > Payment setup > Terms of payment
I did not check AR.

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

ID: a1b3a606-6957-74a3-58c5-93de500f46a9
Version Independent ID: 957a0ed2-9eee-3844-3059-d4f48f656530
Content: Calculate due dates and report on the average period of payments (Spain) - Finance | Dynamics 365
Content Source: articles/finance/localizations/emea-esp-invoice-due-dates.md
Service: dynamics-ax-applications
Product: ****
Technology: ****
GitHub Login: @ShylaThompson
Microsoft Alias: anasyash

@dodiggitydag, thank you for the feedback.
@Anasyash, please review and consider updating this topic.

Bug #447425 logged to track this issue.

@dodiggitydag  thank you for the feedback.
You are right the correct path is
Accounts payable > Payment setup > Due date limits
Accounts payable > Payment setup > Terms of payment
And the same in the AR
Accounts receivable > Payment setup > Due date limits
Accounts receivable > Payment setup > Terms of payment
I've created task for documentation  updating.


Question co-browsing

How can i implement co-browsing using Signalr ?
I  just want to get design ideas about a screen sharing web site with SignalR.

I think this question is too broad/out-of-topic. We are happy to help with specific issues related to SignalR but as a team we don't have the capacity to design systems/applications even if they include SignalR. Thanks for your understanding.


Quality parameter not working

I am trying to pass in the quality parameter for the jpeg image. However quality does not have any effect on the size of the image.
const imageRequest = JSON.stringify({
    bucket: "----",
    key: "----",
    edits: {
    	resize: {
            width: 300,
            height: 300,
            fit: 'inside'
    	}
    },
    jpeg: { quality: 70 }
});

I tried to change the quality to 40 but the size of the image is same as with quality 60 or even if there is no quality parameter. Am i missing something?

@khawerrind in the image-request.js it isn't passed through it doesn't look like: https://github.com/awslabs/serverless-image-handler/blob/master/source/image-handler/image-request.js#L25-L29
Just a guess, but you might pass the jpeg key in the edits hash for it to work https://github.com/awslabs/serverless-image-handler/blob/02e811850155ccb398c8f4b6c5fdbbe1481f78b4/source/image-handler/thumbor-mapping.js#L151-L161

@leviwilson this still does not work. I think this is just for thumbor but i am not using thumbor style mapping.

@khawerrind I think what you want is #116
That allows for the output option to be honored where you can additionally specify the quality I think. That currently isn't being honored, but if you pull that branch that I have it should work for you.

All, FYSA we've added @leviwilson's PR (#117) as referenced in #116 to our review board and hope to have it tested and rolled out in the next minor release. Thanks!

It would be nice to also add output settings to the demo. I know this wraps Sharp but I'm not confident how I interface with it from my request body, and what is/isn't supported. I'm just starting to dig in the source now and I noticed new concepts like requestType and outputFormat. Does this mean i can theoretically pass in an options hash for even something like this? https://sharp.pixelplumbing.com/en/stable/api-output/#heif
https://github.com/awslabs/serverless-image-handler/blob/9ccdb7180c7881eb78c220f3958b671d968c16dd/source/image-handler/test/test-image-handler.js#L64
const request = {
                requestType: "default",
                bucket: "sample-bucket",
                key: "sample-image-001.jpg",
                outputFormat: "png",
                edits: {
                    grayscale: true,
                    flip: true
                },
                originalImage: new Buffer('iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAEhQGAhKmMIQAAAABJRU5ErkJggg==', 'base64')
            }

We have updated our solution, and I believe your issue has been fixed. If you still see the issue with the latest version (v4.2), please feel free to reopen the issue.
You can refer to the recent changes here


request: support multiple ios-build-config values

Is there an existing feature request for this?

[X] I have searched the existing issues.

Command
flutterfire configure
Description
Currently, if you have more than a single build configuration for your iOs project you are required to run the flutterfire configure command multiple times. From the documentation:

You need to run flutterfire configure for every configuration type. E.g. if you have Debug & Release configurations, you need to run flutterfire configure twice with the relevant arguments documented below.

If you are sharing the same configuration for different iOs build configurations. For example if the project has the following build configurations: Debug-dev, Profile-dev and Release-dev. Then, it would be very convenient to simply run once:
flutterfire configure --project my_project --ios-build-config Debug-dev,Profile-dev,Release-dev --ios-bundle-id com.example.project.dev --ios-out ios/Runner/development --platforms ios

Hence, I would expect the above command to create three identical entries in the firebase.json file, equivalent to when its run multiple times with different ios-build-configs:
{
  "flutter": {
    "platforms": {
      "ios": {
        "buildConfigurations": {
          "Debug-dev": {
            "projectId": "my_project",
            "appId": "1",
            "uploadDebugSymbols": false,
            "fileOutput": "ios/Runner/development/GoogleService-Info.plist"
          },
          "Profile-dev": {
            "projectId": "my_project",
            "appId": "1",
            "uploadDebugSymbols": false,
            "fileOutput": "ios/Runner/development/GoogleService-Info.plist"
          },
          "Release-dev": {
            "projectId": "my_project",
            "appId": "1",
            "uploadDebugSymbols": false,
            "fileOutput": "ios/Runner/development/GoogleService-Info.plist"
          },
        }
      }
    }
  }
}

Reasoning
It is easier to run the command once rather than running it multiple times and changing the --ios-build-config each time with the same configuration.
For example, consider projects that have 3 Schemas (production, release, development) each with 3 Build Configurations (Profile, Debug, Release), a user of the FlutterFire CLI would have to run the command 9 times! Each time modifying the --ios-build-config instead of simply running it 3 times (one per schema, each schema having its own Firebase project configuration).
Additional context and comments
No response

Can this save us some time ? Or is it going to be only some sugar syntax ?
I hope that it can save us some time, we test an app generation process in a CI environment and the Firebase configuration is the longest part of the generation.

Yeah, I like the idea. I've thought about it before. I'll keep it open.


[BUG] CI reports all tests pass when tests cannot even compile!

See https://github.com/Azure/autorest.swift/pull/260

Fixed by @daviwil in Autorest. Closing.


Question

Hi there,
First of all, congratulations for your job.
I was wondering which language model architecture did you use. Is it the AWD_LSTM?

Thank you for the appreciation. Yes, the architecture is AWD_LSTM.

I'm closing this issue, feel free to reopen if there's anything!

No, no, it's ok. Thank you for your reply. Yeah, I was looking at the code, and realized that the first versions of fastai didn't require to specify the architecture as it was the only one.


Comment references the wrong layout

There is no BoxLayout anywhere, it should be FloatLayout.

Thank you!


FileNotFoundError in running_in_docker

Context

In running_in_docker if there is no /proc/1/cgroup, like on OSX for example, a FileNotFoundError is raised and zappa can't be imported.
We do some stuff with SQS and zappa's asynchronous tasks so we import zappa even during dev.
Expected Behavior

FileNotFoundError should be caught and running_in_docker should return False.
Actual Behavior

A FileNotFoundError is raised.
Possible Fix

FileNotFoundError should be caught and running_in_docker should return False.
Steps to Reproduce

Be on OSX
import zappa

Your Environment

Zappa version used: 0.56.0
Operating System and Python version: OSX 12.6, Python 3.9 and 3.11.0
The output of pip freeze:
Link to your project (optional):
Your zappa_settings.json:

Having the same issue, but triggered by "zappa init" even; eg:

create a virtualenv and activate it
install zappa ("pip install zappa")
run "zappa init"

Thanks for reporting this, we'll get a fix out soon!

Same issue on osx!

Method was changed, and fixed in the 0.56.1 release, please check.


[ios] scale overlayview to full screen, like the camera preview

bump?

@BernsteinA what issue does this resolve or new functionality does it add?

This makes it so that when using a custom overlay on iOS, it scales to cover the entire camera.
Do you need me to open an Issue for it?

@BernsteinA I'm just trying to get a handle on what is being changed and why. It would be great if the change was documented somewhere.

@macdonst @renatoc8
does https://github.com/phonegap/phonegap-plugin-barcodescanner/commit/f0a8664182688eb5db78373832a114bc5e717379 resolve this issue?

It does. The issue was fixed by adding a call to "[self.overlayView
setFrame:bounds]" when initializing overlayView.
On Tue, Oct 17, 2017 at 9:56 AM, BernsteinA<EMAIL_ADDRESS>wrote:

@macdonst https://github.com/macdonst @renatoc8
https://github.com/renatoc8
does f0a8664
https://github.com/phonegap/phonegap-plugin-barcodescanner/commit/f0a8664182688eb5db78373832a114bc5e717379
resolve this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/phonegap/phonegap-plugin-barcodescanner/pull/235#issuecomment-337284442,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACl3bZmVPp--FcpEampzIaLDOzYWD4xYks5stNxRgaJpZM4IisEJ
.


JWT Concerns

This security firm thinks that JWT and friends are. I wonder if you are aware of the issues they raise, and how you mitigate them in itsdangerous?
https://paragonie.com/blog/2017/03/jwt-json-web-tokens-is-bad-standard-that-everyone-should-avoid

This library uses JWS, with HMAC-SHA1 as fixed signing algorithm. It uses a very specific subset of the standard, so most of the post doesn't apply.


Install bash completion by default

fix multiple issues related to completion generation. Some caused by issues on the completions/Makefile and another caused by the m4 macro itself. Both could result in installation of stale completion scripts.
Add vercmp-devel to completion macro
Install bash completion by default

:+1:


Fix key positions for XGROUP, XREAD, and XREADGROUP commands

The wrong key positions were used which was breaking the sharding key.

Hi @tasn / @svix-daniel! Can you please resolve conflicts on the PR?


Ultimate Parent rollup error - SObject Row retrieved via SOQL without querying ...

From @fabm97:
Failed to process Queueable job for class RollupAsyncProcessor for job ID 7071v0000Az7nyY.
caused by: System.SObjectException: SObject row was retrieved via SOQL without querying the requested field: Meter2GenerationUnitRelationship__c.AdjustedCCId__c
Class.RollupCalculator.StringRollupCalculator.handleConcat: line 870, column 1
Class.RollupCalculator.performRollup: line 210, column 1
Class.RollupAsyncProcessor.getCalculator: line 1168, column 1
Class.RollupAsyncProcessor.getUpdatedLookupItemsByRollup: line 1048, column 1
Class.RollupAsyncProcessor.process: line 611, column 1
Class.RollupAsyncProcessor.QueueableProcessor.execute: line 455, column 1
The metadata Type looks like this:

It is started from an Apex Trigger on the Meter2GenerationUnit Object
Originally posted by @fabm97 in https://github.com/jamessimone/apex-rollup/discussions/274#discussioncomment-2730854

@fabm97 any chance that you would be able to supply a debug log associated with this error (with Is Rollup Logging Enabled set to true on the rollup control record you're using)? I am going to try to get a failing test going for this, but given your use-case seems fairly standard and all of the Ultimate Parent tests I have are not experiencing this issue, I'm trying to track down the root cause!

So far have been unable to reproduce this in my own tests, awaiting additional info ...


Deploy Checklist: New Expensify 2022-06-08

Release Version: 1.1.74-0
Compare Changes: https://github.com/Expensify/App/compare/production...staging
This release contains changes from the following pull requests:

https://github.com/Expensify/App/pull/8569

[x] QA
[ ] Accessibility

https://github.com/Expensify/App/pull/9021

[x] QA
[ ] Accessibility

https://github.com/Expensify/App/pull/9056

[x] QA
[ ] Accessibility

https://github.com/Expensify/App/pull/9060

[x] QA
[ ] Accessibility

https://github.com/Expensify/App/pull/9120

[x] QA
[ ] Accessibility

https://github.com/Expensify/App/pull/9144

[x] QA
[ ] Accessibility

https://github.com/Expensify/App/pull/9288

[x] QA
[ ] Accessibility

https://github.com/Expensify/App/pull/9328

[x] QA
[x] Accessibility

https://github.com/Expensify/App/pull/9335

[x] QA
[ ] Accessibility

https://github.com/Expensify/App/pull/9343

[x] QA
[ ] Accessibility

https://github.com/Expensify/App/pull/9346

[x] QA
[ ] Accessibility

https://github.com/Expensify/App/pull/9351

[x] QA
[ ] Accessibility

Deploy Blockers:

[ ] https://github.com/Expensify/App/issues/9362

Deployer verifications:

[ ] I checked the App Timing Dashboard and verified this release does not cause a noticeable performance regression.
[ ] I checked Firebase Crashlytics and verified that this release does not introduce any new crashes.

cc @Expensify/applauseleads

:rocket: All staging deploys are complete, @Expensify/applauseleads please begin QA on version https://github.com/Expensify/App/releases/tag/1.1.74-1 :rocket:

@yuwenmemon Regression is completed
Deploy blocker https://github.com/Expensify/App/issues/9362
PR #8569 is failing due to https://github.com/Expensify/App/issues/9365. Not a blocker checking off
PR #9060 is failing due to https://github.com/Expensify/App/issues/9364. Not a blocker checking off
Issues logged
https://github.com/Expensify/App/issues/9363
https://github.com/Expensify/App/issues/9364
https://github.com/Expensify/App/issues/9365
https://github.com/Expensify/App/issues/9366
https://github.com/Expensify/App/issues/9368

:tada: All set?…You bet! @Expensify/applauseleads https://github.com/Expensify/App/releases/tag/1.1.74-2 has been deployed to staging :tada:

Confirmed that the CP to fix https://github.com/Expensify/App/issues/9362 Deploy blocker has worked and it is not resolved 🎉

:shipit:


Load PrepMod data from Washington and Alaska

Now that the PrepMod loader works, let's start loading it! For now, the API is only turned on in Washington, and we are actively working to get it turned back on in Alaska, so this just runs it in those two states.

Thanks!


please assign this to me I want to work on it

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Additional context
Add any other context about the feature request here.


adding missing CDS ID inference for gff3 preprocessing stage and check for missing CDS features after the filtrarion step

tested on meta/2024-01.111_for_113/rs8t_mgen


Make sure that gpu always maps to GPU 0 inside the container

@kylemvz Can you take a look at this and see if it seems reasonable? I'm trying to make sure that even if we give a container gpu3 it always looks like gpu0 inside the contianer


Add field mapping for Patient - multipleBirth:multipleBirthBoolean

Added multiplebirthboolean to the patient model class, hibernate, and script class.


Start throttle at low rate during takeoff readiness & remove separate takeoff logic

We are currently confusing users by having throttle set to zero during takeoff state. We should create a parameter to set the throttle to a default while waiting for takeoff.

Some of my catapult configurations will require the default value to be zero.

Closing in favour of #3260.


Supporting optional boolean properties in TypeScript

Clear and concise description of the problem
I've documented the full issue here. Essentially, TypeScript is not mapped consistently in the case of optional booleans because of legacy Vue behavior. A type of:
interface Props {
  foo?: boolean
}

... which in TypeScript means the type of foo is boolean | undefined (with a default value of undefined) is defined as boolean (with a default value of false) when mapped to the Vue JS API, which is contrary to TypeScript's behavior.
Suggested solution
As suggested in the above, if Vue doesn't accept this feature request (or doesn't address it for some time), to do the following:

If a TypeScript type is passed into withDefaults(defaultProps, {}), any boolean type should be required in the withDefaults object, so that the developer can make it clear if they are intending the default Vue behavior, or the default TypeScript behavior.
Ideally, a withDefaults macro would be required with a defaultProps macro if, again, there are boolean types in the interface, but that could be considered too high of a burden for developers.

Alternative
The alternative is I guess to educate all developers that booleans behave weird in Vue and differently than other types? And then to use a withDefaults macro to always set the default value of each boolean as undefined.
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Vue exhibits a boolean cast behavior.
The code <Comp checked /> compiles to <Comp checked="" />, aligning with the HTML specification. However, this forces Vue to interpret an empty string as true, resulting in unusual boolean casting.
We may address this issue with a feature flag in the future.
Right now, my primary focus is on Vue Vapor, so I don't have time for these tasks in the short term.


Do we have a config guide  about overlay/direct networking for multi-host

I setup a multi host environs for k8s cluster, the devices host_vxlan host_net, host_cilium are setup by default.  I found connection between containers in different node not work, neither between container and host.

do we have an overlay network topology for multi host ? @tgraf  @aanm

@peiqi-caicloud Yes, running with -t vxlan will enable overlay mode using VXLAN. Cilium will use the first public IPv4 address it finds as the VXLAN VTEP.

Hello, I have several questions:

in my vxlan_cilium device, there is no ip (ipv4 of ens3), is it normal ？ from the dump, the packets arrive at vxlan_cilium, but does not do encapsulation, I am thinking it dropped the packet?  Am i missed some configuration for that? I read some code like bpf_overlay.c but I have not found related code.  @aanm @tgraf

2 what is gre0 and gretap devices used for, cause I saw them in container netns.
root@cilium-3:/home/peiqi# tcpdump -i cilium_vxlan -nee
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on cilium_vxlan, link-type EN10MB (Ethernet), capture size 262144 bytes
22:53:16.580859 42:28:cf:a3:99:92 > fe:8f:0e:cf:aa:a7, ethertype IPv4 (0x0800), length 98: <IP_ADDRESS> > <IP_ADDRESS>: ICMP echo request, id 48, seq 346, length 64
22:53:17.581462 42:28:cf:a3:99:92 > fe:8f:0e:cf:aa:a7, ethertype IPv4 (0x0800), length 98: <IP_ADDRESS> > <IP_ADDRESS>: ICMP echo request, id 48, seq 347, length 64
22:53:18.582748 42:28:cf:a3:99:92 > fe:8f:0e:cf:aa:a7, ethertype IPv4 (0x0800), length 98: <IP_ADDRESS> > <IP_ADDRESS>: ICMP echo request, id 48, seq 348, length 64
22:53:19.583976 42:28:cf:a3:99:92 > fe:8f:0e:cf:aa:a7, ethertype IPv4 (0x0800), length 98: <IP_ADDRESS> > <IP_ADDRESS>: ICMP echo request, id 48, seq 349, length 64
root@cilium-3:/home/peiqi# cilium monitor -d
Listening for events on 4 CPUs with 64x4096 of shared memory
Press Ctrl-C to quit
CPU 00: MARK 0x430e008f FROM 38061 DEBUG: 98 bytes Incoming packet from container ifindex 15170
Ethernet	{Contents=[..14..] Payload=[..90..] SrcMAC=42:28:cf:a3:99:92 DstMAC=fe:8f:0e:cf:aa:a7 EthernetType=IPv4 Length=0}
IPv4	{Contents=[..20..] Payload=[..64..] Version=4 IHL=5 TOS=0 Length=84 Id=13813 Flags=DF FragOffset=0 TTL=64 Protocol=ICMPv4 Checksum=60909 SrcIP=<IP_ADDRESS> DstIP=<IP_ADDRESS> Options=[] Padding=[]}
ICMPv4	{Contents=[..8..] Payload=[..56..]  Payload=[..90..] SrcMAC=42:28:cf:a3:99:92 DstMAC=fe:8f:0e:cf:aa:a7 EthernetType=IPv4 Length=0}
IPv4	{Contents=[..20..] Payload=[..64..] Version=4 IHL=5 TOS=0 Length=84 Id=13853 Flags=DF FragOffset=0 TTL=64 Protocol=ICMPv4 Checksum=60869 SrcIP=<IP_ADDRESS> DstIP=<IP_ADDRESS> Options=[] Padding=[]}
ICMPv4	{Contents=[..8..] Payload=[..56..] TypeCode=EchoRequest Checksum=17172 Id=48 Seq=520}
CPU 00: MARK 0x430e008f FROM 38061 DEBUG: CT reverse lookup: sport=2048 dport=0 nexthdr=1 flags=1
CPU 00: MARK 0x430e008f FROM 38061 DEBUG: CT lookup address: <IP_ADDRESS>
CPU 00: MARK 0x430e008f FROM 38061 DEBUG: CT lookup: sport=0 dport=2048 nexthdr=1 flags=0
CPU 00: MARK 0x430e008f FROM 38061 DEBUG: CT entry found lifetime=360, proxy_port=0 revnat=0
CPU 00: MARK 0x430e008f FROM 38061 DEBUG: CT verdict: Established, proxy_port=0 revnat=0
CPU 00: MARK 0x430e008f FROM 38061 DEBUG: Encapsulating to node 179699713 (0xab60001) from seclabel 256
CPU 00: MARK 0x430e008f FROM 38061 DEBUG: 98 bytes Incoming packet from container ifindex 15170
root@cilium-3:/home/peiqi# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet <IP_ADDRESS>/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 52:54:00:06:18:32 brd ff:ff:ff:ff:ff:ff
inet <IP_ADDRESS>/22 brd <IP_ADDRESS> scope global ens3
valid_lft forever preferred_lft forever
inet6 fe80::5054:ff:fe06:1832/64 scope link
valid_lft forever preferred_lft forever
3: gre0@NONE:  mtu 1476 qdisc noop state DOWN group default qlen 1000
link/gre <IP_ADDRESS> brd <IP_ADDRESS>
4: gretap0@NONE: <BROADCAST,MULTICAST> mtu 1462 qdisc noop state DOWN group default qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
5: gre1@NONE: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1476 qdisc noqueue state UNKNOWN group default qlen 1000
link/gre <IP_ADDRESS> peer <IP_ADDRESS>
inet <IP_ADDRESS>/24 scope global gre1
valid_lft forever preferred_lft forever
inet6 fe80::5efe:a23:30b7/64 scope link
valid_lft forever preferred_lft forever
9: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
link/ether 02:42:6f:3e:36:04 brd ff:ff:ff:ff:ff:ff
inet <IP_ADDRESS>/16 scope global docker0
valid_lft forever preferred_lft forever
inet6 fe80::42:6fff:fe3e:3604/64 scope link
valid_lft forever preferred_lft forever
15162: cilium_net@cilium_host: <BROADCAST,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether ee:8b:0e:2d:a7:80 brd ff:ff:ff:ff:ff:ff
inet6 fe80::ec8b:eff:fe2d:a780/64 scope link
valid_lft forever preferred_lft forever
15163: cilium_host@cilium_net: <BROADCAST,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 6e:77:74:22:e1:17 brd ff:ff:ff:ff:ff:ff
inet <IP_ADDRESS>/32 scope global cilium_host
valid_lft forever preferred_lft forever
inet6 f00d::a23:30b7:0:ffff/128 scope global
valid_lft forever preferred_lft forever
inet6 fe80::6c77:74ff:fe22:e117/64 scope link
valid_lft forever preferred_lft forever
15164: cilium_vxlan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
link/ether 42:9c:bf:20:21:7d brd ff:ff:ff:ff:ff:ff
inet6 fe80::409c:bfff:fe20:217d/64 scope link
valid_lft forever preferred_lft forever
15170: lxc71a94@if15169: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UP group default qlen 1000
link/ether fe:8f:0e:cf:aa:a7 brd ff:ff:ff:ff:ff:ff link-netnsid 3
inet6 fe80::fc8f:eff:fecf:aaa7/64 scope link
valid_lft forever preferred_lft forever
15174: lxc00076@if15173: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UP group default qlen 1000
link/ether 96:16:59:0a:3b:14 brd ff:ff:ff:ff:ff:ff link-netnsid 5
inet6 fe80::9416:59ff:fe0a:3b14/64 scope link
valid_lft forever preferred_lft forever
15178: lxcc556f@if15177: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UP group default qlen 1000
link/ether da:7d:0d:1e:49:de brd ff:ff:ff:ff:ff:ff link-netnsid 1
inet6 fe80::d87d:dff:fe1e:49de/64 scope link
valid_lft forever preferred_lft forever

in my vxlan_cilium device, there is no ip, is it normal ？ from the dump, the packets arrive at vxlan_cilium, but it does not do encapsulation, I am thinking it dropped the packet? Am i missed some configuration for that? I read some code like bpf_overlay.c but I have not found related code. @aanm @tgraf any advice is welcome

This is correct. Cilium uses the VXLAN device in metadata mode which means it can send and receive on multiple addresses. The packets you see on vxlan_cilium are not yet encapsulated or already decapsulated. You can see the encapsulated packets on the underlying ethernet device, e.g. eth0 or enp0s3.

3: gre0@NONE: mtu 1476 qdisc noop state DOWN group default qlen 1000
link/gre <IP_ADDRESS> brd <IP_ADDRESS>
4: gretap0@NONE: <BROADCAST,MULTICAST> mtu 1462 qdisc noop state DOWN group default qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
5: gre1@NONE: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1476 qdisc noqueue state UNKNOWN group default qlen 1000
link/gre <IP_ADDRESS> peer <IP_ADDRESS>
inet <IP_ADDRESS>/24 scope global gre1
valid_lft forever preferred_lft forever
inet6 fe80::5efe:a23:30b7/64 scope link
valid_lft forever preferred_lft forever

These are not created by Cilium.

@tgraf  hello, what mechanism do we use to populate the VTEP entries as control plane ?  does it rely on the etcd server ?  In my case, I found cilium_vxlan device can't find the destination node and encapsulate with my gateway address...

what mechanism do we use to populate the VTEP entries as control plane ? does it rely on the etcd server ? In my case, I found cilium_vxlan device can't find the destination node and encapsulate with my gateway address...

The Cilium addressing model allows to derive the node address from each container address. This is also used to derive the VTEP address which means you do not need to run a control plane protocol to distribute these addresses. All you need to have are routes to make the node addresses routeable.

to derive the node address from each container address.

@tgraf  I am sorry, but I have not yet to reach network connectivity between different containers in different nodes.  Have you implemented this function?  I have not seen the code. "IPV4 derive" ?
I run 6 pods in 3 different nodes,
strange points to me: (I did nothing for policy part, and run pods without CiliumLabel...)
**first: all **containers get an identity of 260, same "SECLABEL", is it normal ?
and the route in container:
# ip r
default via <IP_ADDRESS> dev eth0
<IP_ADDRESS> dev eth0 scope link
which is strange to me for the LAN part (not <IP_ADDRESS>/16 dev eth0 ... ?).
what I captured after ping from a container to another in a different node. (I am thinking the cilium_vxlan device has not derived the good dst node address（<IP_ADDRESS>） from dst container address (<IP_ADDRESS>)? )
root@cilium-3:~# tcpdump -i ens3 icmp -nne
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ens3, link-type EN10MB (Ethernet), capture size 262144 bytes
05:19:45.639935 70:3d:15:52:96:93 > 52:54:00:06:18:32, ethertype IPv4 (0x0800), length 70: <IP_ADDRESS> > <IP_ADDRESS>: ICMP time exceeded in-transit, length 36
05:19:45.826687 70:3d:15:52:96:93 > 52:54:00:06:18:32, ethertype IPv4 (0x0800), length 70: <IP_ADDRESS> > <IP_ADDRESS>: ICMP time exceeded in-transit, length 36
05:19:46.616261 70:3d:15:52:96:93 > 52:54:00:06:18:32, ethertype IPv4 (0x0800), length 70: <IP_ADDRESS> > <IP_ADDRESS>: ICMP time exceeded in-transit, length 36
05:19:46.830740 70:3d:15:52:96:93 > 52:54:00:06:18:32, ethertype IPv4 (0x0800), length 70: <IP_ADDRESS> > <IP_ADDRESS>: ICMP time exceeded in-transit, length 36
^C
4 packets captured
6 packets received by filter
0 packets dropped by kernel
root@cilium-3:~# arp -a
cilium-2 (<IP_ADDRESS>) at 52:54:00:d0:2b:48 [ether] on ens3
gateway (<IP_ADDRESS>) at 70:3d:15:52:96:93 [ether] on ens3
cilium-1 (<IP_ADDRESS>) at 52:54:00:70:8b:b4 [ether] on ens3
node_config.h file in /var/run/cilium/state/global/..
/*

Node-IPv6: f00d::a23:30b7:0:0
Host-IPv6: f00d::a23:30b7:0:ffff
Host-IPv4: <IP_ADDRESS>
*/

#define ENABLE_IPV4
#define NODE_ID 0xa2330b7
#define ROUTER_IP { 0xf0, 0xd, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xa, 0x23, 0x30, 0xb7, 0x0, 0x0, 0x0, 0x0 }
#define IPV4_GATEWAY 0x100b70a
#define IPV4_LOOPBACK 0xee1cb70a
#define IPV4_RANGE 0xb70a
#define IPV4_MASK 0xffff
#define IPV4_CLUSTER_RANGE 0xa
#define IPV4_CLUSTER_MASK 0xff
#define NAT46_PREFIX { .addr = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xff, 0x0, 0x0, 0x0, 0x0 } }
#define HOST_IP { .addr = { 0xf0, 0xd, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xa, 0x23, 0x30, 0xb7, 0x0, 0x0, 0xff, 0xff } }
#define HOST_ID 1
#define WORLD_ID 2
#define LB_RR_MAX_SEQ 31
#define HOST_IFINDEX 4
#define HOST_IFINDEX_MAC { .addr = {0x56,0xd9,0xc0,0x49,0x91,0x73}}
#define ENCAP_VXLAN 1
#define ENCAP_IFINDEX 6
Because I am the only engineer who work on the network part in my side, So could please do me a favor.

besides, I found #define IPV4_GATEWAY 0x100b70a is in little endian,  does it work as designed ?.

I think the ipv4 derive is not yet completed, I will take it.


scripts: Specify a version to protobuf

The newest version of protobuf will cause build failure on
samples/modules/nanopb/ , so specify a version of 3.20.1 can
aviod that.
Signed-off-by: Shaoan Li<EMAIL_ADDRESS>

@shaoanxli please see PR #46825 for an alternative solution.

Why do we need grpcio-tools rather than protobuf with lower version.

Using grpcio-tools was the original preferred package because it also provides the protoc executable, but there was an issue on windows which has been resolved upstream.

Why do we need grpcio-tools rather than protobuf with lower version.

Using grpcio-tools was the original preferred package because it also provides the protoc executable, but there was an issue on windows which has been resolved upstream.

Ok, thanks for answering. Then this pr should be closed.


inventory VirtualServerRoute

WHAT DOES THIS PR DO?

Jira cards

GitHub issues

Closes #

HOW DO I TEST OUT THIS PR?
WHICH ENDPOINTS SHOULD BE READY FOR TESTING?:
IS THERE ANY JENKINS CONSOLE LINK FOR CODE COVERAGE AND BUILD INFO?
ARE THERE ANY RELATED PRs?

Hi @Psalmz777 , kindly tag me like in a call whenever you're working on this, I had a similar issue with mlflow and would love to see hoe you're going about it.

Hi @Psalmz777 , kindly tag me like in a call whenever you're working on this, I had a similar issue with mlflow and would love to see hoe you're going about it.

Alright will do @Mnoble-19


Pop up an error when running 'Start Streaming Logs' for one deployed Linux function app with Python

Version: 1.29.0-insider (user setup)
Node.js: 8.9.3
Architecture: x64
Extension version:
Repro Steps:

Create a project with Python.
Create a Function adding an HttpTrigger.
Deploy to one Linux function app.
Right click the function app -> Select 'Start Streaming Logs' -> Check the result.

Expect:
Succeed to connect to the Streaming logs with no error.
Actual:
Pop up an error "this operation is not support"

Thanks for filing. This is a known issue with Linux Consumption apps. Closing as duplicate of https://github.com/Microsoft/vscode-azurefunctions/issues/589


[improve][build] Upgrade docker-maven-plugin to 0.45.0

Motivation
docker-maven-plugin keeps up to the latest version.
Modifications

Improve docker-push profile
Upgrade docker-maven-plugin to 0.45.0

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

@nodece does this make  #22754 and #22609  obsolete? Please close them in that case.
I forgot the reason why the tag goal is removed. please add a description.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 73.45%. Comparing base (bbc6224) to head (202a701).
Report is 471 commits behind head on master.

Additional details and impacted files

@@             Coverage Diff              @@
##             master   #23091      +/-   ##
============================================
- Coverage     73.57%   73.45%   -0.13%
- Complexity    32624    33511     +887
============================================
  Files          1877     1917      +40
  Lines        139502   144067    +4565
  Branches      15299    15741     +442
============================================
+ Hits         102638   105818    +3180
- Misses        28908    30125    +1217
- Partials       7956     8124     +168

Flag
Coverage Δ

inttests
27.51% <ø> (+2.92%)
:arrow_up:

systests
24.80% <ø> (+0.47%)
:arrow_up:

unittests
72.51% <ø> (-0.33%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 513 files with indirect coverage changes

@lhotari Thanks, Done.

@nodece One of the problems with the profile refactoring is that it breaks the current release process documented at https://pulsar.apache.org/contribute/release-process/#release-pulsar-30-and-later. I think that it would be better to revert the changes related to moving the profile to docker/pom.xml since many might have internal releases that break as a result.

If we push the image in the docker/pulsar or docker/pulsar-all directory, this PR will break the release process, otherwise, it works fine in the docker directory.
Usually, we will push images in the docker directory, what do you think?

well, the release process uses -pl docker/pulsar,docker/pulsar-all. It will break. Many others might have copied the similar command that is used in https://pulsar.apache.org/contribute/release-process/#release-pulsar-30-and-later .

@lhotari https://github.com/apache/pulsar/pull/23093 will fix that.


Cannot apply persistent metamagic to some spells

Don't know it is main game bug or mod's bug, but I can't apply persistent metamagic to grease spell and create pit spell, although they require saving throw to resist their effect.

So as Grease is currently implemented this is not possible to fix as it doesn't force saving throws in a way that would actually work with the metamagic. The same is true of similar effects like stinking cloud. While it is something that I may potentially address at some point it is fairly low on my list atm. Every spell like this essentially needs to be fully re implemented to make this work correctly.


update wiregrid tag

Update tags for wiregrid calibration:

stepwise --> wg_stepwise
continuous --> wg_continous

Please check:
https://docs.google.com/document/d/10Kobhr7TqMVplO6TPZkFc3WsCnv92FzshLK-m8Abl9g/edit#heading=h.lyckgzi08tlr
We are going to test this module in a few days. Please pull this change for the test at the site.

Wirgrid was reinstalled in SATP1.
But, unfortunately it has a guntry crane collision issue now.
If the issue is solved, sorunlib can be tested.
Until 1/24, Daiki and Yutaro at the site can help the test.
On 1/24 they will go back to Japan.
2024年1月17日(水) 6:04 Brian Koopman @.***>:

@.**** approved this pull request.
Thanks @sadachi5 https://github.com/sadachi5! Which platform will this
be tested on?
—
Reply to this email directly, view it on GitHub
https://github.com/simonsobs/sorunlib/pull/132#pullrequestreview-1825043921,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJD62RLFTFD22N5Z7AODON3YO3TPXAVCNFSM6AAAAABB3B3N7OVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTQMRVGA2DGOJSGE
.
You are receiving this because you were mentioned.Message ID:
@.***>


Add Prometheus configuration to bundle OCP

Why we need this PR
To allow User Workload Prometheus (UWP) metrics scraping for NHC, we need to modify existing bundle configuration as well as and deploy new configuration.
Changes made
Currently, only in OCP we are sure to have Prometheus installed, so this PR affects the bundle created for OCP only.

created a config/optional/prometheus-ocp directory to hold the new configuration and documentation

ca-configmap.yaml: the ConfigMap which will have the CA bundle injected for usage in the client
monitor.yaml: the ServiceMonitor (to be installed manually by the user, see more in the readme) which will make the NHC prometheus endpoint visibile
readme.md: the complete UWP configuration guide

modified config/manifests/ocp/

auth_proxy_service_patch.yaml: to modify NHC Service with the annotation to create the serving-cert-secret Secret node-healthcheck-tls
deployment_patch.yaml: to modify NHC deployment to mount the required configuration as volumes

Which issue(s) this PR fixes
https://issues.redhat.com/browse/ECOPROJECT-1760
Test plan
To configure NHC with UWP follow the steps in config/optional/prometheus-ocp/readme.md.
To ease the test process, the script hack/ocp/test_create_bundle_ocp_image_in_quay.sh build the bundle image and pushes it to quay.io.

The test didn't start. Lets try again
/test 4.15-openshift-e2e

/lgtm
Giving a chance to get more reviews
/hold

/retest

/unhold


Add default configuration for sass to use css-language-server

The css-language-server supports sass, so it should be straightforward to add a default configuration that uses this. Just need to add + test it.

Fixed with #960


Custom EOL for streams

For words like change-file-lines it would be nice to preserve the EOL characters of the existing file. It would also be nice to have the possibility to specify the EOL to use with words like set-file-lines, nl, print, etc.

See also:
basis:io.crlf
core:io.encodings
The stream has the cr field.
cr+, cr-, fix-cr.


[DCOS-41803] Add tooling to support the new plugin based CLI

TODO :

[ ] Should we use the ../latest/.. binary of CLI?
[x] Test this works with Open/EE 1.9 and 1.12 clusters (May be run nightlies manually with this custom PR/branch)
[x] Test the script works on multiple runs of integration tests with same cluster.
[x] Test multiple times with 1.9 cluster and then multiple times with 1.12 cluster and vice versa.

Except for the 1.10+ open cluster case (which has to be fixed in CLI), all other cases have been tested.

It should also be possible to pass __CLI_LOGIN_OPEN_TOKEN to stdin directly to the cluster setup command in order to avoid retrieving the acs token manually. The only thing is that it'd open a browser when run on desktop environments.

@tarun any comment on the above?

@bamarni

given that it may open browser when run directly on a dev machine, i guess it would be alright to stick to the current behavior
the current api behavior works (and is not discouraged / deprecated - right ?!)
i do think its trivial to enter input in python (without using sth like pexpect) and the current behavior enables us to call the script directly from teamcity CI if needed.

I guess that's fine to rely on the DCOS_ACS_TOKEN env var, however this is something we quickly added to unblock the situation and didn't really investigated / audited what is done with the CLI in these tests.
So we will probably not document this env var for now, how about we look at it again later, after the 1.12 release? Maybe when dropping support for 1.9 and the old CLI. My main concern here is that DCOS_ACS_TOKEN will be passed to plugins in the future (and contain the auth token for the current cluster), so if plugins then call cluster setup for some reasons they might get strange behaviours (because of the default env var inheritance with child processes).

(discussed in slack, copy pasting) I just realized that this needs to be backported to a sdk40 as well (and it needs to support 1.9 to master as well) and it already ended up a bigger diff than I previously imagined. I will account for the "entering auth token via stdin" refactor when we deprecate 1.9 flow for good in future where we have less things to worry about.

@kvish created https://jira.mesosphere.com/browse/DCOS-42159 to address the deprecation.

Thanks for the pointers @elezar and @jeschkies  I have addressed your concern of accessing username and password from the environment.

@bamarni updated to use DCOS_CLUSTER_SETUP_ACS_TOKEN in accordance with https://github.com/dcos/dcos-cli/pull/1343/files


chi's future

Instead of an additional parameter of type context.Context with a new handler type, an alternative approach was favoured in the standard library.
See: https://github.com/golang/go/commit/c1c7547f6ad7264c1d6eea3fc1645b2eab104694

It's already done in v2 branch :) this was my entire all along and even messaging Go core team nudging them to add context to stdlib! It all worked out

On May 27, 2016, at 11:21 PM, Anmol Sethi<EMAIL_ADDRESS>wrote:
Instead of an additional parameter of type context.Context with a new handler type, an alternative approach was favoured in the standard library.
See: golang/go@c1c7547
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Love chi, it's fast becoming my default router choice for golang. The 1.7 compatibility branch is beginning to look like the perfect router for go.
If we're talking about a version 2.0 with breaking changes to the API, could I please ask you to consider introducing the notion of names for the routes? Named routes are handy for reverse lookups in templates etc, and also in monitoring tools such as Datadog and New Relic.

Thanks Luke :) Can you give me an example of some pseudo code for the named routes?
It's like chi can already do it with either Handle, Route, or Mount, but maybe there's a case I'm missing.

On Jun 1, 2016, at 11:49 PM, Luke Cawood<EMAIL_ADDRESS>wrote:
Love chi, it's fast becoming my default router choice for golang. The 1.7 compatibility branch is beginning to look like the perfect router for go.
If we're talking about a version 2.0 with breaking changes to the API, could I please ask you to consider introducing the notion of names for the routes? Named routes are handy for reverse lookups in templates etc, and also in monitoring tools such as Datadog and New Relic.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Sure thing, this is what I had in mind:
	app := chi.NewRouter()

	app.Post("/users", "user_create", func(w http.ResponseWriter, r *http.Request) {
		user := pretendUserCreator(r)
		http.Redirect(w, r, app.URLFor("user_view", map[string]interface{}{"user_id": user.ID()}), http.StatusFound)
	})

	app.Get("/users/:user_id", "user_view", func(ctx context.Context, w http.ResponseWriter, r *http.Request) {
		userID := chi.URLParam(ctx, "user_id")
		pretendDisplayUser(w, userID)
	})

Gives a nice DRY way to generate urls to routes.

ah, railzzz, ..... shoot myself in the face :) my suggestion if you want this is to write your own helpers. Chi's philosophy is to stay minimal and build-your-own-adventure, besides a robust way to nest routes and manage context.
however, this is also why I've kept chi.Router to be an interface.
You can most certainly enhance the interface, or implement this ability yourself.
package nmux // aka named-mux

type Mux struct {
  *chi.Mux
}

var _ chi.Router = &Mux{} // ensures the chi router interface is met by Mux struct

// some example code I pulled from an ACL router that is built by enhancing chi's mux.. you'll have to update it slightly to remove resourcecontrol and Route()
func (r *Mux) Use(middlewares ...interface{}) {
	r.Mux.Use(middlewares...)
}

func (r *Mux) Handle(pattern string, handlers ...interface{}) {
	h := append([]interface{}{Route(pattern), ResourceControl}, handlers...)
	r.Mux.Handle(pattern, h...)
}

func (r *Mux) Connect(pattern string, handlers ...interface{}) {
	h := append([]interface{}{Route(pattern), ResourceControl}, handlers...)
	r.Mux.Connect(pattern, h...)
}

func (r *Mux) Head(pattern string, handlers ...interface{}) {
	h := append([]interface{}{Route(pattern), ResourceControl}, handlers...)
	r.Mux.Head(pattern, h...)
}

func (r *Mux) Get(pattern string, handlers ...interface{}) {
	h := append([]interface{}{Route(pattern), ResourceControl}, handlers...)
	r.Mux.Get(pattern, h...)
}

func (r *Mux) Post(pattern string, handlers ...interface{}) {
	h := append([]interface{}{Route(pattern), ResourceControl}, handlers...)
	r.Mux.Post(pattern, h...)
}

func (r *Mux) Put(pattern string, handlers ...interface{}) {
	h := append([]interface{}{Route(pattern), ResourceControl}, handlers...)
	r.Mux.Put(pattern, h...)
}

func (r *Mux) Patch(pattern string, handlers ...interface{}) {
	h := append([]interface{}{Route(pattern), ResourceControl}, handlers...)
	r.Mux.Patch(pattern, h...)
}

func (r *Mux) Delete(pattern string, handlers ...interface{}) {
	h := append([]interface{}{Route(pattern), ResourceControl}, handlers...)
	r.Mux.Delete(pattern, h...)
}

func (r *Mux) Trace(pattern string, handlers ...interface{}) {
	h := append([]interface{}{Route(pattern), ResourceControl}, handlers...)
	r.Mux.Trace(pattern, h...)
}

func (r *Mux) Options(pattern string, handlers ...interface{}) {
	h := append([]interface{}{Route(pattern), ResourceControl}, handlers...)
	r.Mux.Options(pattern, h...)
}

func (r *Mux) Group(fn func(r chi.Router)) chi.Router {
	return r.Mux.Group(fn)
}

func (r *Mux) Mount(path string, handlers ...interface{}) {
	r.Mux.Mount(path, handlers...)
}

func (r *Mux) URLFor(key string, params map[string]interface{}) string {
  // TODO
}

func NewRouter() *Mux {
	r := &Mux{chi.NewRouter()}
	return r
}
// EOF

// ... now... you can use your own mux

app := nmux.NewRouter()
app.Post("/users", func(ctx context.Context, w http.ResponseWriter, r *http.Request) {
   http.Redirect(w, r, app.URLFor("users", map[string]interface{}{"id", user.ID()}
})

you'll have to implement your own named route registry into the custom Mux{}, but it will work with all of chi and be passed throughout.
A simpler, but a bit more verbose issue is just to write some explicit helper functions for generate urls based on some scheme... URLFor("users/:id", Params{"id", user.ID()}) which could implement your own conventions to adhere to REST.
Having said that though, I'm not sure why you need to redirect to these resources after making a new object, its better to just return the object itself on Post(), the same presenter function pretendDisplayUser(w, userID) used in Get() should be used to return in Post(), no redirection.. better.

It's not as easy as it looks - how would the named routes work in this example?
app := chi.NewRouter()

userRouter := chi.NewRouter()
userRouter.Post("/", "user_create", UserCreateHandler)
userRouter.Get("/:id", "user_view", UserViewHandler)

app.Mount("/users", userRouter)
app.Mount("/admin/users", adminMiddleware, userRouter)

either way, named routes are not the concern of core chi, but would need to be a router enhancer that is outside of the core lib.

@c2h5oh the middleware approach could work as well, but it would have to register the path's when the middleware is mounted, and the handler itself would just next.ServeHTTP(w,r) and nothing more.

Haha, I certainly wasn't channeling rails! Also yeah that example was contrived to illustrate my requirement, not adhere to REST best practices 😉
It's a fairly common DRY practice to repurpose your routes & router for url generation, but I can appreciate you keeping it out of scope. Decorating the router is a viable solution.

btw, what do you guys think about https://github.com/pressly/chi/commit/3c613e2cdf70c0dbd4350eb7accf91dd3175b092 ? for chi v2, I believe the names Group() and Stack() reflect better the intention of the methods. That is, to group routes by a routing pattern and to stack one router ontop of another without a pattern.

Let's discuss in #48.

Closing to move discussion to #48 and #49


rewind / loop only works forwards

When setting rewind or loop to true, and clicking "previous", I would expect the slider to loop / rewind to the last slide in the slider. Instead, nothing happens. Thus, I can only loop or rewind when clicking forward in the slider but not backwards.

Fixed in v2.5.2


Radio button input not initially focused

Are you requesting a feature, reporting a bug or ask a question?
bug. it seems or doing something wrong again
What is the current behavior?
focus on first input does not seem to work with radio buttons
What is the expected behavior?
I would expect to be able to switch to other radio button with arrow keys if input was selected
How would you reproduce the current behavior (if this is a bug)?
create a page with a radio button in dxsurvey and then test it. Arrow keys do not move input. If you click next and get an error due to validation, then the input is correctly focused
Provide the test code and the tested page URL (if applicable)
Tested page URL:
https://dxsurvey.com/Home/EditSurvey/cc151b92-f270-4dbd-9bbc-47c1d9515805

@enricribas Do you want to focus the first input on the first page?
Thank you,
Andrew

yes, please. I think that makes the most sense, at least for us

@tsv2013 Let's add the code that will focus the first question on published page in our service:
survey.focusFirstQuestion();
call it right after the initial rendering.
Thank you,
Andrew

@andrewtelnov Done
@enricribas I've updated the sites. Please check.


Search process

When using the ctrl + backspace to delete the previous word it just add square character ...

using the ctrl + backspace to delete the previous word

I've been testing SHAutoComplete for the searchbox but because it's on the main window SHAutoComplete delays application startup initializing the shell.

just add square character

This would be correct:
https://devblogs.microsoft.com/oldnewthing/20071011-00/?p=24823


Setup actions/checkout@v3 to fetch complete Git history

Attempt to fix #31.

@hugo-sid thank you for the fix, didn't realized the update timestamps were the same lol

didn't realized the update timestamps were the same lol

Ah, no problem. I'm glad we could fix this.

thank you for the fix

You're most welcome @imfing.


Portal Deployment - Issue when selecting option to Connect corp landing zones to connectivity hub

Selecting Yes on option for "Connect corp landing zones to the connectivity hub" leads to following validation issue on the Review+ Create screen:
{   "code": "InvalidTemplate",   "message": "Deployment template validation failed: 'The template resource 'alz-UserAssignedIdentityRg-southcentralus-08891d32-5f1c-59dd1' at line '1689' and column '9' is not valid: Evaluation result of language expression '[variables('subscriptionIds')[copyIndex()]]' is type 'Object', expected type is 'String'.. Please see https://aka.ms/arm-functions for usage details.'." }

Thank you @matheuscarboni for raising this issue. I've started working on it and will keep you informed here.

Hi @matheuscarboni, hope you are doing well. The issue has been fixed in the latest release and it's ready to be deployed. If you have other questions or comments, please let me know.


GO and Reactome results with the API

When getting the data with the API, I've noticed we've got GO IDs and descriptions, whereas for Reactome we've got IDs only e.g. R-HSA-5685942.
In the web app, we've got a description rather than the R-HSA-50951 (see attached image). Could we have the description in the results from the API query in addition to the R-HSA-5685942?
Would an API user like that? Or would they be happy with the ID only? It would be good to be consistent in my opinion. So GO IDs and description and the same for the other resources.

@gkos-bio this is minor issue, need to confirm requirement.

Issue moved to opentargets/platform #101 via ZenHub


feat(tekton): frontend plugin setup for tekton

Tracks: https://github.com/janus-idp/backstage-plugins/issues/182 (Setup a frontend plugin for tekton with dev setup)
Description:
Setup a frontend plugin for tekton with dev setup
Test Setup

For Dev test

yarn install
yarn workspace @janus-idp/backstage-plugin-tekton run start

For normal test

Install and configure Tekton plugin by following https://github.com/jquad-group/backstage-jquad#configuration

Enable an additional tab on the entity view page
// packages/app/src/components/catalog/EntityPage.tsx
import { TektonPage } from '@janus-idp/backstage-plugin-tekton';

const serviceEntityPage = (
  <EntityPageLayout>
    // ...
    <EntityLayout.Route path="/pipelines" title="Pipelines">
      <TektonPage />
    </EntityLayout.Route>
  </EntityPageLayout>
);

@tumido Will it make sense to have the initial PR just have Setup a frontend plugin for tekton with dev setup and features will be added in follow-up PRs? Not sure if it's ideal but will help to have smaller PRs. LMK your thoughts.

@tumido Thaks for review.  User needs to install and configure the complete tekton plugin (both frontend and backend) for this plugin to use the hook directly usePipelineRunObjects https://github.com/janus-idp/backstage-plugins/pull/196/files#diff-da201b26d1d64a686ffa285e470876ed967939b13762860b27a31d745850936aR30.
Otherwise, there would be some duplicity in this frontend plugin.

@invincibleJai well... I'm not sure that's what you want though. If you want to rely on the upstream tekton plugin to provide you with the API, you need the have the EntityTektonPipelinesContent upstream compoment mounted somewhere in the JSX static. That means the upstream plugin needs to display its UI somewhere on the page (as another tab for example). If you remove the instance of the upstream component from the page, you'll get:
No implementation available for apiRef{plugin.tekton-pipelines.service}

In other words, (if I'm doing this right and didn't miss anything) user has no means to display only our UI, it always has to be displayed together with the upstream one. And I don't think we want that.
Since your plugin already lists the @jquad-group/plugin-tekton-pipelines{,-common} as its dependencies, the code comes in bundled. You just have to reexport it so backstage can use this plugin as a standalone. As a result, user doesn't have to install the upstream frontend plugin, they will only install this one (+ the obvious upstream backend).

@invincibleJai well... I'm not sure that's what you want though. If you want to rely on the upstream tekton plugin to provide you with the API, you need the have the EntityTektonPipelinesContent upstream compoment mounted somewhere in the JSX static. That means the upstream plugin needs to display its UI somewhere on the page (as another tab for example). If you remove the instance of the upstream component from the page, you'll get:
No implementation available for apiRef{plugin.tekton-pipelines.service}

In other words, (if I'm doing this right and didn't miss anything) user has no means to display only our UI, it always has to be displayed together with the upstream one. And I don't think we want that.
Since your plugin already lists the @jquad-group/plugin-tekton-pipelines{,-common} as its dependencies, the code comes in bundled. You just have to reexport it so backstage can use this plugin as a standalone. As a result, user doesn't have to install the upstream frontend plugin, they will only install this one (+ the obvious upstream backend).

@tumido Thanks, have updated PR to make use on only backend, effectively needed to add apiFactory and updated README as well. LMK if it makes sense

@invincibleJai it totally makes sense and I like that approach. However I'm struggling to make it work with a full instance (not a dev setup).
I'm getting following:

When I've had to change following and than it started working:
diff --git a/plugins/tekton/src/api/types.ts b/plugins/tekton/src/api/types.ts
index 69b5c34..7a09788 100644
--- a/plugins/tekton/src/api/types.ts
+++ b/plugins/tekton/src/api/types.ts
@@ -2,5 +2,5 @@ import { createApiRef } from '@backstage/core-plugin-api';
 import { TektonApi } from '@jquad-group/plugin-tekton-pipelines';

 export const tektonPluginApiRef = createApiRef<TektonApi>({
-  id: 'plugin.tekton.service',
+  id: 'plugin.tekton-pipelines.service',
 });
diff --git a/plugins/tekton/src/plugin.ts b/plugins/tekton/src/plugin.ts
index 33f7aa9..3c84113 100644
--- a/plugins/tekton/src/plugin.ts
+++ b/plugins/tekton/src/plugin.ts
@@ -9,7 +9,7 @@ import { TektonBackendClient } from './api/TektonBackendClient';
 import { tektonPluginApiRef } from './api/types';

 export const tektonPlugin = createPlugin({
-  id: 'tekton',
+  id: 'tekton-pipelines',
   apis: [
     createApiFactory({
       api: tektonPluginApiRef,
diff --git a/plugins/tekton/src/routes.ts b/plugins/tekton/src/routes.ts
index 78fddea..de829f8 100644
--- a/plugins/tekton/src/routes.ts
+++ b/plugins/tekton/src/routes.ts
@@ -1,5 +1,5 @@
 import { createRouteRef } from '@backstage/core-plugin-api';

 export const rootRouteRef = createRouteRef({
-  id: 'tekton',
+  id: 'tekto-pipelines',
 });

I think the provided api name has to match the expected name by the upstream plugin. WDYT? Does it work for you fine?
You can see my setup here: https://github.com/tumido/backstage-plugins/commit/aa82d4ad18e13f9bbde876f1b547f7ced87a10a4
Please verify if those changes are needed for an user installation to work properly or I'm doing something wrong.

Closing this PR as we have https://github.com/janus-idp/backstage-plugins/pull/214
There was a need to get more data like pipeline spec and tasksRuns to get Pipeline run visualisation to show all the tasks structure (parallel, finally etc)


example file of Extreme SeaState Contour v1

I am very interested in learning the Extreme Sea State Contour method. I have downloaded the Matlab codes from GitHub. But I did not find "NDBC46022_1996_2012_Hs_Te.mat" that you used in the code as a example.
I am a beginner of ocean data analysis. Could you please send me this data file so that I can follow your code and learn this method quickly?
Thanks very much, and have a great day!

@Yuepeng9 Thank you for posting your question as an issue on GitHub. We are looking into the issue and will get back to you shortly.

@Yuepeng9 Thank you for your inquiry. The name of the .mat file that you mentioned was provided as an example. The user should provide a dataset matching the description in the code documentation in order to run the analysis (Data must be in .mat format and must include three vectors of input values: DateNum, Hs, and Te or Tp). Data can be provided from any source, but we have been using data downloaded from the NDBC website (https://www.ndbc.noaa.gov/) that is pre-processed to match the required format.
Alternatively, you can also check out the WDRT toolbox (http://wec-sim.github.io/WDRT/), which contains a Python ESSC module. This toolbox includes the capabilities to pull data directly from the NDBC site and run contour analyses.

Thanks a lot, aubreyeckert.
Per your advise, I need to create a mat format file with the DateNum which is converted from date and time info provided in NDBC files as below. But if the NDBC has some data missing, do I need to fill the missing data with N/A?

 However, if there is a significant amount of data missing, the accuracy of the calculated contour will be at risk.

Hi  aubreyeckert,
Thanks for your response.
In order to run the example, I created a .mat file with the same name in the ESSC Matlab code, however, I could not complete run with the error of :
"Unrecognized function or variable 'Hs'.
Error in Extreme_SeaState_Contour_v1 (line 165)
NaNrem = find(isnan(Hs)|isnan(T)); % Find NaN data in either Hs or T"
could you please advise what was wrong?
Thanks
Pam

Hi aubreyeckert,
Thanks for your response.
In order to run the example, I created a .mat file with the same name in
the ESSC Matlab code (see attached), however, I could not complete run with
the error of :
"Unrecognized function or variable 'Hs'.
Error in Extreme_SeaState_Contour_v1 (line 165)
NaNrem = find(isnan(Hs)|isnan(T)); % Find NaN data in either Hs or T"
could you please advise what was wrong?
Thanks
Pam
On Tue, Apr 7, 2020 at 6:45 AM aubreyeckert<EMAIL_ADDRESS>wrote:

@Yuepeng9 https://github.com/Yuepeng9 If there is missing NDBC data,
you can eliminate the rows where the data should be in your data file.
However, if there is a significant amount of data missing, the accuracy of
the calculated contour will be at risk.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SNL-WaterPower/SNL-ESSC/issues/2#issuecomment-610395728,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APCS2R3JHN6HJOB43IWWD3DRLMU7LANCNFSM4MCN3WFQ
.

@Yuepeng9 can you upload the *.mat file so that we can reproduce the error. Thank you.

mat file.zip

Hi Kelley,
I could not upload the .mat format file, therefore I created a zip file and uploaded it.
Thank you for your assistance and patience.
Pam

@Yuepeng9 It looks like your variable in your .mat named "Te" should be named "T". Please let me know if this correction fixes the problem.

Hi aubreyeckert,
Per your advise, I have named the Te with T, but when I ran the Extreme_SeaState_Contour_v1, it still poped up the the same error message as before:
**"Unrecognized function or variable 'Hs'.
Error in Extreme_SeaState_Contour_v1 (line 165)
NaNrem = find(isnan(Hs)|isnan(T)); % Find NaN data in either Hs or T"**
Could you please provide me with further advise?
Thanks
Pam

@Yuepeng9 I believe the issue is that your variables are saved in a table format in the .mat file that you provided. As specified in the code documentation, these should be separate vectors (i.e., not saved in a table). You can extract the vectors from the table with the command Hs = NDBC4602219962012HsTe.Hs, for example, and resave as a new .mat file including all three vectors.
There also appears to be a few anomalous data points in your data for which Hs has a value of 0 and Te has a nonzero value. These data points seem to be errors and do not seem physically realistic. These can be removed by adding the following code to the beginning of the ESSC script (after line 168 should work):
Zerorem = find(Hs==0);
DateNum(Zerorem) = [];
Hs(Zerorem) = [];
T(Zerorem) = [];
If this removal doesn't happen, the distribution fitting will fail with an error.
One final note is that the code was developed in 2015 and is only expected to run without error for the 2015 version of Matlab. If you are running a different version of Matlab, follow the error message prompts to use updated functions. In particular, in the function "princomp_rotation.m," line 29 should be updated to use "pca" instead of "princomp" as dictated by Matlab error messages. You may have other issues to debug depending on the version of Matlab you are using and should follow Matlab's error message directions to debug.

Hi aubreyeckert,
After having revised per your advice, the ESSC works very well now.
Thank you very much, and have a great day!
Pam

@aubreyeckert thanks for resolving this issue


Random Generator Personas

Define "personas" to replicate different node behaviours in the random generator. This is helpful to approximate the behaviour seen on mainnet, in the signet. It's also helpful for research purposes.

How are ya'll thinking about incorporating these "personas" into the project?
Seems like there are quite a few ways one could go about it:

Single node perspective: scripts fire off a set of actions from an individual node
Network-level controller: aware of the whole network, and triggers a network-wide series of events
/ something else smarter than these options (?)


Key length

There is a 14 character limit in Aerospike for keys.
I am trying to import data from redis to aerospike. The key length in Redis in some cases, much longer than that.
Is there any way to handle that.

No, that's a current limitation for bin names (See: FAQ. You'll have to come up with a renaming schema that works for you at the moment.  The issue has been raised before, so it's something we're aware of.

Ok. The bin name length is tied to 14 characters.
But, can we have key length greater in the LDT's.

There should not be any limit to map keys, not LDT, nor regular (complex type) maps.
That said, when I was verifying your question I ran into a bug with the PHP client.
<?php
$config = ['hosts'=>[['addr'=>'<IP_ADDRESS>','port'=>3000]]];
$db = new Aerospike($config);
$bins = [ 'thisseemstobetoobigofakeyname' => 2 ];
$key = $db->initKey('test','demo','longkeyname_test');
$status = $db->put($key, $bins);
if ($status !== Aerospike::OK) {
    var_dump($status, $db->error());
}
$bins = [ 'thisalsoseemstobetoobigofakeyname' => 'the cake is a lie!' ];
$key = $db->initKey('test','demo','longkeyname_test');
$status = $db->put($key, $bins);
if ($status !== Aerospike::OK) {
    var_dump($status, $db->error());
    exit(1);
}
$status = $db->get($key, $record);
var_dump($record);

Gives the following output:
int(-1)
string(27) "Unable to set record to int"
int(-1)
string(32) "Unable to set record to a string"

Also, I've tested and there is no limit of 14 characters on the keys of an array which is being stored in an LDT. The bug exists only for PHP arrays which are being cast to an Aerospike map.

Oops, I tested it wrong. Actually there's no limits on the key length in a map type either.  So the 14 character limit only applies to the bin names.
For example, this works:
$config = ['hosts'=>[['addr'=>'<IP_ADDRESS>','port'=>3000]]];
$db = new Aerospike($config);
$bins = [ 'my_bin'=> ['thisseemstobetoobigofakeyname' => 2 ]];
$key = $db->initKey('test','demo','longkeyname_test');
$status = $db->put($key, $bins);
if ($status !== Aerospike::OK) {
        var_dump($status, $db->error());
}
$bins = [ 'another_bin'=> ['thisalsoseemstobetoobigofakeyname' => 'the cake is a lie!' ]];
$key = $db->initKey('test','demo','longkeyname_test');
$status = $db->put($key, $bins);
if ($status !== Aerospike::OK) {
        var_dump($status, $db->error());
            exit(1);
}
$status = $db->get($key, $record);
var_dump($record);


Pixel 2, Android O cannot connect to D415

Re-openning #1798 --- please see this for the detailed info.

Required Info

Camera Model
D415

Firmware Version
<IP_ADDRESS>

Operating System & Version
Ubuntu

Kernel Version (Linux Only)
4.9.0

Platform
Android  (8.1.0)

SDK Version
2.11.1

Using libUSB, the samples cannot see or connect to the device.
Using libUVC the samples are able to connect and enumerate devices but hang / do not receive data.

[Realsense Customer Engineering Team Comment]
@performador Could you please provide the logcat and dmesg for the issue? Thanks!

[Realsense Customer Engineering Team Comment]
Have you try other USB3 cable?
BTW, when you using libusb, have you apply the kernel patch into your android kernel? In this way, Android is a special Linux distribution.

[Realsense Customer Engineering Team Comment]
@Performador Any update of this issue? Can other USB3 cable work?  Have you applied the kernel patch? Thanks!

[Realsense Customer Engineering Team Comment]
@Performador  Any update? Waiting for your reply. Thanks!

[Realsense Customer Engineering Team Comment]
Hi Performador,
Thank you for your patch.
I think you have to try other USB OTG adapter, if system said that is USB 2.0 port.
BTW, please make sure the resolution and fps are existed in the output of "rs-enumerate-devices -m"
https://github.com/IntelRealSense/librealsense/blob/master/doc/android/AndroidNativeSamples.md


New changelog_from_last_tag action.

I created this action because the existing changelog_from_git_commits did not serve my use case. We have different lanes for different types of releases (e.g. Dev, QA, Prod) and use the git_add_tag action to tag these releases. Using changelog_from_git_commits the changelog will only contain the commit messages since the last tag even if that tag exists in a different grouping, lane, or uses a different prefix. For us this means that our changelog for a new QA release won't contain all the changes since our last QA release if we have made and tagged a Dev or Prod release since then. This action solves this issue by using the same pattern as add_git_tag for searching for the last tag.
I have two questions:

Currently I am duplicating the pattern creation portion of add_git_tag, but perhaps this can be refactored into a commonly accessible function to avoid duplication and keep the actions consistent in event of a change?
I would like to use the same output (FL_CHANGELOG) as changelog_from_git_commits so that there can be a common lane value for other actions to use. I am currently doing this by overriding FL_CHANGELOG in my SharedValues as well, but perhaps we can declare FL_CHANGELOG or simply just CHANGELOG in actions_helper to facilitate multiple actions that might want to set a common changelog? If so, I can make the changes necessary to accomplish this.

Also, what do you think about the action name? Should it be changed to be less vague or to differentiate from changelog_from_git_commits?

I went ahead and laid claim to the CHANGELOG shared valued since the test on Travis was throwing warnings about the redeclaration.

Let me know what you think about this @mfurtak and @asfalcone.

Hi @scottrhoyt - thanks for putting this together! :+1:
We'll definitely take a look, but I wanted to let you know that some folks (including me) are on vacation until the new year, so it will probably be another week or so until we review. Apologies for the delay, and have a happy new years! :tada: :confetti_ball:

Hey @scottrhoyt - I've read this over. Thanks again!
If I'm understanding correctly, the main thing you are looking to affect is the tag selection process when determining how far back to collect messages for, is that right?
I'm curious whether the changelog_from_git_commits action can work for you if the tag naming logic you grabbed from add_git_tag is used to feed the right tag name as input. Just as a test, if you were to do something like...
#...
lane_name = Actions.lane_context[Actions::SharedValues::LANE_NAME].delete(' ')
build_number = Actions.lane_context[Actions::SharedValues::BUILD_NUMBER]
tag = "builds/#{lane_name}/#{build_number}"

changelog_from_git_commits(between: [tag, 'HEAD'])
#...

does that meet your needs? If so, I think it would be great to get the default tag selection logic internal to changelog_from_git_commits to match this strategy as you've laid out.

I think that would work, that's more or less what I did anyway. :)

Hi @scottrhoyt - we've been doing some more thinking and planning and I think we'd like to support this use case by extending the capability of the existing changelog_from_git_commits action.
Apologies for the long time in limbo on this PR. I hope we can have some good news about solving the use case soon! :+1:

Thanks. No rush because my action is working well for me.

Excellent! Just out of curiosity - are you using this as a local extension?

Yeah. I've always loved that feature. :)

Awesome. I wanted to get a feel for how aware folks were of it!

I don't think enough. IMO this should be moved to the main README. Anecdotally, some people seem to not know it exists and build lanes that really should be actions.


how to define dynamic resources according to luigi parameters?

for example, x = luigi.Parameter()
if x==1:
resource = {"r1": 1}
elif x==2:
resource = {"r2": 1}
What can I do? redefine the init function?

not sure how to do it. maybe define a property decorator?

I actually do this a lot and a property decorator is the answer:
class ExampleTask(luigi.Task):
    x = luigi.IntParameter()

    @property
    def resources(self):
        if self.x == 1:
            return {'r1': 1}
        else:
            return {'r2': 2}

@daveFNbuck - many thanks!  That's just what I needed!
I'm updating HDF5 files, and I need to make sure that no two tasks try to write to the same file at once. Following your example of using a property, I can do (effectively):
class HDF5TestTable(luigi.Task):
    ...

    @property
    def resources(self):
        return {self.hdf_file_name: 1}

Seems to work nicely!  I'll do a pull request to get something like this into the documentation, I think.

How could you ever check this? Is there a small test/hello world example to show this indeed works and the file is held by only worker at a time? I shall be glad to help if someone is interested.

@visjedi we have unit tests for resources. Luigi can only guarantee that you won't exceed your resource limit. It's on you to set up your resources such that this means you won't have multiple jobs touching the same file at the same time.

This looks already resolved


[SPARK-28130][PYTHON] Print pretty messages for skipped tests when xmlrunner is available in PySpark

What changes were proposed in this pull request?
Currently, pretty skipped message added by https://github.com/apache/spark/commit/f7435bec6a9348cfbbe26b13c230c08545d16067 mechanism seems not working when xmlrunner is installed apparently.
This PR fixes two things:

When xmlrunner is installed, seems xmlrunner does not respect vervosity level in unittests (default is level 1).
So the output looks as below
Running tests...

If we manually set the vervocity level to xmlrunner, it prints messages as below:
test_mixed_udf (pyspark.sql.tests.test_pandas_udf_scalar.ScalarPandasUDFTests) ... SKIP (0.000s)
test_mixed_udf_and_sql (pyspark.sql.tests.test_pandas_udf_scalar.ScalarPandasUDFTests) ... SKIP (0.000s)
...

This is different in our Jenkins machine:
test_createDataFrame_column_name_encoding (pyspark.sql.tests.test_arrow.ArrowTests) ... skipped 'Pandas >= 0.23.2 must be installed; however, it was not found.'
test_createDataFrame_does_not_modify_input (pyspark.sql.tests.test_arrow.ArrowTests) ... skipped 'Pandas >= 0.23.2 must be installed; however, it was not found.'
...

Note that last SKIP is different. This PR fixes the regular expression to catch SKIP case as well.

How was this patch tested?
Manually tested.
Before:
Starting test(python2.7): pyspark....
Finished test(python2.7): pyspark.... (0s)
...
Tests passed in 562 seconds

========================================================================
...

After:
Starting test(python2.7): pyspark....
Finished test(python2.7): pyspark.... (48s) ... 93 tests were skipped
...
Tests passed in 560 seconds

Skipped tests pyspark.... with python2.7:
      pyspark...(...) ... SKIP (0.000s)
...

========================================================================
...

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/11975/
Test PASSed.

Test build #106748 has started for PR 24927 at commit b9983c0.

Test build #106748 has finished for PR 24927 at commit b9983c0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/106748/
Test PASSed.

retest this please

Test build #106787 has started for PR 24927 at commit b9983c0.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/12008/
Test PASSed.

Test build #106788 has started for PR 24927 at commit 9a04e70.

Test build #106787 has finished for PR 24927 at commit b9983c0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/106787/
Test PASSed.

Test build #106788 has finished for PR 24927 at commit 9a04e70.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/106788/
Test PASSed.

I'm pretty confident of this change since it doesn't break anything and just change messages pretty.
Merged to master.


Better handling for multiple watchers.

This PR adds a few improvements:

on every page refresh a new connection is sent, as a result, it creates multiple unnecessary file watchers, which is a waste of resources. Now on socket close event it destroys the corresponding watcher
added a file path to the output to see the actual file that triggered the reload.

LGTM


DataTables warning on documentation page at, datatables.yajrabox.com/fluent/joins

I was browsing through the documentation and I came across a tn/7 error on the fluent/joins page. URL: http://datatables.yajrabox.com/fluent/joins
"DataTables warning: table id=posts-table - Ajax error. For more information about this error, please see http://datatables.net/tn/7."
It's not really a serious issue, I just thought I should let you know.

Thanks for reporting! Will check it as soon as I can.

Found the issue and it was due to HTML facade registration. Fixed and upgraded the demo to Laravel 5.1. Thanks again!


Usability surveys.

Describe the feature you'd like
Surveys to ask people how ergonomic/easy to use they find different APIs and how they can be improved.
Is your feature request related to a problem? Please describe. (Optional)
I find that some of Yew's features are well implemented, but the exposed API isn't as clean as it could be.
Describe alternatives you've considered (Optional)
Additional context (Optional)
Yew previously ran a spring developer survey which asked some questions to people from which we were able to gain actionable information.
Questionnaire

[ ] I'm interested in implementing this myself but don't know where to start
[x] I would like to add this feature
[ ] I don't have time to add this right now, but maybe later

@teymour-aldridge I think I'd like to wait awhile before doing another survey. We already have a lot of feedback that hasn't been acted on yet (looking at you Fetch API). Now is the time for working down the issue backlog, not building it up IMO

I agree, I'm just putting this down as something to get round to eventually rather than something which to do right now.

Ah ok, sounds good 👍

Related: #2322

Related: #2322


got an error using CDN

Uncaught TypeError: Cannot read properties of null (reading 'querySelectorAll')
at Object.c.createSvg (chartist.js:330:42)
at f.e [as createChart] (chartist.js:4190:25)
at f.h (chartist.js:1925:10)

Hi @CarlosBCIII 👋
Is the issue still relevant for you with the latest version (v1.1.2)?


missmatches in return types of response lib functions

Trying to add the response lib to my environment I run into the following error:
│2020-08-18 09:17:06.958 UTC [71] ERROR:  return type mismatch in function declared to return void                                                     │
│2020-08-18 09:17:06.958 UTC [71] DETAIL:  Actual return type is text.                                                                                │
│2020-08-18 09:17:06.958 UTC [71] CONTEXT:  SQL function "set_header"                                                                                │
│2020-08-18 09:17:06.958 UTC [71] STATEMENT:  create or replace function response.set_header(name text, value text) returns void as $$                 │
│        select set_config(                                                                                │
│            'response.headers',                                                                                │
│            jsonb_insert(                                                                                │
│                (case coalesce(current_setting('response.headers',true),'')                                                                           │
│                when '' then '[]'                                                                                │
│                else current_setting('response.headers')                                                                                │
│                end)::jsonb,                                                                                │
│                '{0}'::text[],                                                                                │
│                jsonb_build_object(name, value))::text,                                                                                │
│            true                                                                                │
│        );                                                                                │
│    $$ stable language sql;                                                                                │
│psql:/docker-entrypoint-initdb.d/libs/response/schema.sql:35: ERROR:  return type mismatch in function declared to return void                        │
│DETAIL:  Actual return type is text.                                                                                │
│CONTEXT:  SQL function "set_header"

I assume that is because the return type of the set_config function is actually text.
What do you think could be the cause for me running into this problem?
€: same problem with the set_cookie and delete_cookie function

as discussed with @ruslantalpa in slack it is probably the postgres version; note: we did not verify this
am using 10.9 right now, while the starter-kit uses 11.x which seems to have been become less strict
but changing the return type of the three mentioned functions fixes the errors


Help!!! binwalk Can't identify file system

This is a hp printer firmware:
Firmware address:
https://drive.google.com/file/d/1c6ndzNIXJgA6fYu0XNO7wDf0pXWsp-gk/view?usp=sharing

Using binwalk 2.1.2-f636501
I get
`DECIMAL       HEXADECIMAL     DESCRIPTION
88            0x58            Copyright string: "Copyright (c) 2000 Hewlett-Packard Company"
65836         0x1012C         Copyright string: "Copyright 1984-1997 Wind River Systems, Inc.Copyright (c) 1999, Hewlett-Packard Company."
65880         0x10158         Copyright string: "Copyright (c) 1999, Hewlett-Packard Company."
81413         0x13E05         Zlib compressed data, default compression
1378468       0x1508A4        VxWorks operating system version "5.4.2" , compiled: "Oct 17 2002, 04:42:41"
1379256       0x150BB8        Copyright string: "Copyright 1984-1996 Wind River Systems, Inc."
1966158       0x1E004E        Private key in DER format (PKCS header length: 4, sequence length: 605
1967572       0x1E05D4        Certificate in DER format (x509 v3), header length: 4, sequence length: 611
1986072       0x1E4E18        Private key in DER format (PKCS header length: 4, sequence length: 605
1987486       0x1E539E        Certificate in DER format (x509 v3), header length: 4, sequence length: 611
2005960       0x1E9BC8        Private key in DER format (PKCS header length: 4, sequence length: 605
2007374       0x1EA14E        Certificate in DER format (x509 v3), header length: 4, sequence length: 611`
Guessing the zlib might be the root filesystem, I'd try to extract that

Running binwalk -eM on it (Extract, Matryshkha) renders two files, 13E05 and 13E05.zlib. The first of which appears to be the extracted filesystem but neither binwalk nor libfile appears to have magic for it, so further details are hard to come by.

If you're looking for a Linux or Linux-like file system, I don't think you'll find it here. This is a VxWorks Real Time Operating System, not Linux. The Zlib compressed blob at offset 0x13E05 is the compressed RTOS kernel image. Binwalk extracts this fine, but you'll need to load it into a disassembler to analyze the code and figure out how things work.