Update JavaDoc so we can build with Java 16+

Currently Hypedlerger Besu won't fully build when using Java 16 as the JVM that is running the gradle build. One reason is that some of javadoc rules in have changed.
There are two main items that are hitting us

Not all public classes have comments. Fixing these can be tedious, but it appears our warning setting lets us get away with it.
Some places we use out-of-order <H3> headings and the javadoc linter really hates that.

If we can get away without adding javadoc on all public methods that would be great.  If we do have to do thousands of javadocs we should consider the bare-minimum needed, without blatently saying "TODO" on all of them. This can be fixed possibly with CLI flags in the build?
The other lint options should be fixed.  The heading order ones in particular.  But if there are syntax and reference bugs those should be fixed.

Can I work on this?

👋 Hi @joyita07 are you still interested in working on this?


[Feature] Support to override velaux-apiserver

Is your feature request related to a problem? Please describe.
Most adopters introduce kubevela without modifying the kubevela(vela-core and vela cli), instead modify velaux to suit our own scenarios. Therefore, we keep some of the interfaces in apiserver, modify some of the interfaces or models, and then add some more. Although #740 adds a backend plugin framework to support developing extended apiserver, but velaux-apiserver itself does not have standardized rewriting or secondary development capabilities.
So, we want velaux-apiserver to open up some rewritten methods or add frameworks to enable adopters to introduce kubevela and velaux as dependencies to build an aggregate apiserver by rewriting and adding parts of the interface or model.
Describe the solution you'd like
open up velaux-apiserver some rewritten methods or frameworks to enable adopters to introduce kubevela and velaux as dependencies to build an aggregate apiserver by rewriting and adding parts of the interface or model.
Refactorpkg/server/config/config.go, pkg/server/server.go, pkg/server/domain/service/service.go, pkg/server/interfaces/api/interfaces.go according to the extensible and rewritable principles.

Override config.go to support add ExtensionServerConfig.
Override the Run method of server.go to support register ExtensionAPIRoute.
Override service.go to support init  ExtensionServiceBean.
Override interfaces.go to support init ExtensionAPIBean.

@barnettZQG @chivalryq


Hello, may I ask where NMI is calculated?

Hello, may I ask where NMI is calculated?I didn't find the calculation for this index,

Hi @reacher-l , to compute the clustering metrics, simply use test_ori_center_crop_v02_with_clustering.m
Step 1: replace `test_ori_center_crop_v02.m' of test scripts, e.g., test*.m with test_ori_center_crop_v02_with_clustering.m
Step 2 (optional): go to xinshao_test_clustering.m to revise configures of kmeans clustering, e.g., maxiters
Note: it is slow on SOP, please be patient to wait the kmeans clustering results.

Thank you for your answer. I am a newbie and have some questions.I found the code for calculating recall@k,But i don't know where you're computing NMI,

@reacher-l
I uploaded the codes for computing clustering metrics 7 days ago according to your need.  Therefore, you need to update your local repository.

Thank you very much. You've done a great job！

Thank you very much. You've done a great job！
------------------ 原始邮件 ------------------
发件人: "XAWang";
发送时间: 2019年10月17日(星期四) 晚上8:47
收件人: "XinshaoAmosWang/Ranked-List-Loss-for-DML";
抄送: "reacher-l"2698913156@qq.com;"Mention";
主题: Re: [XinshaoAmosWang/Ranked-List-Loss-for-DML] Hello, may I ask where NMI is calculated? (#3)
@reacher-l
I uploaded the codes for computing clustering metrics 7 days ago according to your need.  Therefore, you need to update your local repository.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


"ListKeys" permission on this Bing resource is required f

Hi,
I have been using the resource "Bing Search" (price level: Free) until today. I have found that every query I make returns: ["ListKeys" permission is required on this Bing resource...].
How can I fix this?
Thanks in advance.
David

Hi @Naveenommi-MSFT, I am just exploring the "Bing Search v7" resource through the resource dash as I show you:

And the point is, I do not know why I am getting ["ListKeys" permission is required on this Bing resource...] as a response.
Kind regards,
David

@DavidCelestinoIRMA
MicrosoftDocs Github issue is mainly related to the document issue. For troubleshooting related queries and issue discussions, I would recommend you to create a thread on the forums - Support Ticket, Microsoft Q&A or Stack Overflow,
Once you post your issue on forums, it will have visibility across the community which is a better suited audience for such types of issues.
I will go ahead and close this issue as this is troubleshooting issue. Thanks!

Same issue on tier 'Standard' solved enabling 'Bing Statistics'

It could be that your Pricing Tier does not support the Bing query type you are attempting.


RDS upgrade

Per @jacekn  Hello! We are planning to start upgrades of our Postgres RDS instances from 10 to 12 in the next few weeks. PG 11 and 12 do not deprecate any features but there are some small behaviour changes. Could owners or projects using postgres please review Migration to version 11 and Migration to version 12 docs in case any code updates are required?
https://stellarfoundation.slack.com/archives/CTGJ17JCA/p1662471724310419

FYI issues being tracked related to upgrades:
https://github.com/stellar/ops/issues/1810
https://github.com/stellar/ops/issues/1811
https://github.com/stellar/ops/issues/1812
https://github.com/stellar/ops/issues/1813
https://github.com/stellar/ops/issues/1815
https://github.com/stellar/ops/issues/1816
https://github.com/stellar/ops/issues/1821


Optimize Grammar for FOL with Equality

How do I modify this grammar so it matches parenthesis that are further away?
wff: compound_wff
?compound_wff: quantifier | biconditional | atomic_wff
?quantifier: (quantifier_symbol LEFT_CURLY_BRACE variable RIGHT_CURLY_BRACE SPACE?)* bracketted_wff
?biconditional: conditional SPACE (biconditional_symbol SPACE conditional)*
?conditional: disjunction SPACE (conditional_symbol SPACE disjunction)*
?disjunction: conjunction SPACE (disjunction_symbol SPACE conjunction)*
?conjunction: negation SPACE (conjunction_symbol SPACE negation)*
?negation: negation_symbol* SPACE bracketted_wff
?bracketted_wff: LEFT_PARENTHESIS SPACE? compound_wff SPACE? RIGHT_PARENTHESIS SPACE?
?atomic_wff: predicate_name [LEFT_PARENTHESIS term (COMMA term)* RIGHT_PARENTHESIS]                          -> predicate
          | term equal_to term

term: function_name LEFT_PARENTHESIS term (COMMA SPACE? term)* RIGHT_PARENTHESIS                             -> function
    | name
    | variable

SPACE: /\s+/
COMMA: ","
equal_to: "="
LEFT_PARENTHESIS: "("
RIGHT_PARENTHESIS: ")"
LEFT_CURLY_BRACE: "{"
RIGHT_CURLY_BRACE: "}"
quantifier_symbol: universal_quantifier_symbol | existential_quantifier_symbol
universal_quantifier_symbol: "\\forall"
existential_quantifier_symbol: "\\exists"
name: /[a-t]/ | /[a-t]_[1-9]\d*/
variable: /[u-z]/ | /[u-z]_[1-9]\d*/
predicate_name: /[A-HJ-Z]/ | /[A-HJ-Z]_[1-9]\d*/
function_name: /[a-z]/ | /[a-z]_[1-9]\d*/
negation_symbol: "\\neg"
conjunction_symbol: "\\wedge"
disjunction_symbol: "\\vee"
exclusive_disjunction_symbol: "\\veebar"
conditional_symbol: "\\rightarrow" | "\\Rightarrow" | "\\Longrightarrow" | "\\implies"
biconditional_symbol: "\\leftrightarrow" | "\\iff"

I'm trying to parse this using my grammar:
$$\exists{x} \forall{y} (P(f(x, y)) \vee \forall{z}(V(z) \iff \neg R(a) \wedge B(a)))$$
Which in LaTeX is:
\exists{x} \forall{y} (P(f(x, y)) \vee \forall{z}(V(z) \iff \neg R(a) \wedge B(a)))

I followed the calculator example and modified my original grammar to add operator precedence which resulted in this. But it's no longer accepting the input string.
I'm getting this error:
lark.exceptions.UnexpectedCharacters: No terminal matches '\' in the current parser context, at line 1 col 35

\exists{x} \forall{y} (P(f(x, y)) \vee \forall{z}(V(z) \iff \neg R(a) \wed
                                  ^
Expected one of:
	* RIGHT_PARENTHESIS

Ideally I want to force requiring parenthesis wherever possible except in the case of in front of a negated atomic_wff without parenthesis. This is to make sure only one parse tree is produced even on explicit ambiguity setting. How do I resolve this issue?
This is my first time using lark. Any help appreciated!

Solved here: https://stackoverflow.com/a/74632957/5586359


feat(nav): make top nav sticky for easier access on mobile

For improved UX (especially on mobile), I think the header should be sticky in order to always have easy access to navigation and address functionalities.

Cool @sverps This might make sense. We are currently working on the header with Andrea (the designer), specially on the wallet buttons.
Could you add some shadows?
The transition with the page content looks a bit rough.

I added the same shadow that the other components use:

After merging, I realized that this was applying to all screen sizes, not only mobile/tablet. We don't want that.
Fixed here 059af5452cff03c4ed6e28dbd67e77b446e8feaf


Conflicted Nodes in the Manager

Installed comfyui today and needed WAS nodes for a workflow but it lists these conflicting nodes
Conflicted Nodes: Image Save [ymc-node-suite-comfyui], Save Text File [ymc-node-suite-comfyui]

Dirty fix would be renaming the nodes in the NODE_CLASS_MAPPINGS dictionary. But I won't be renaming my nodes on account of some other custom nodes at this time. The WAS nodes need to rebuild with class names and a NODES_DISPLAY_NAME_MAPPINGS dictionary added, which would break everyones workflows since the release of this suite back when ComfyUI started.
It would make sense for that custom node to instead standardize with using class names for class mapping and display names as I am sure it has a much smaller footprint in the community.


Remote task scheduler complete

this is the complete version ov multi_machine_scheduler(with all components added)
a full test is added in 90.multi_machine_schedule folder

RPCTool can be renamed to rpc_tools.


Improve UI

Use a good colour palette.
A reference: https://domevents.dev

The number of arrows looks very messy on UI
Instead, show a hide other arrows when hovered on any one arrow or a block

same


HttpApi: Provide ReceiveRequestEntityBody example

I've been working on a high level wrapper for the new Dolphin's HttpServerApi interface.
I've tried several things to emulate the msdn example https://msdn.microsoft.com/en-us/library/windows/desktop/aa364640(v=vs.85).aspx and I could not make any of them work.
I'm testing with POST requests with a body of 1500 bytes (only A chars).
My code for receiveEntityBody is
receiveRequestEntityBody: anExternalHandle requestId: requestId
	| bytesReceived buf bufLen data |
	bufLen := 1024.
	buf := ByteArray new: bufLen.
	data := WriteStream on: (ByteArray new: buf size).
	bytesReceived := DWORDBytes new.

	[| ret |
	ret := self
				asyncReceiveHttpRequestEntityBody: anExternalHandle
				requestId: requestId
				flags: WinHttpServerConsts.HTTP_RECEIVE_REQUEST_ENTITY_BODY_FLAG_FILL_BUFFER
				entityBuffer: buf
				entityBufferLength: buf size
				bytesReturned: bytesReceived
				overlapped: nil.
	ret == Win32Errors.ERROR_INVALID_PARAMETER
		ifTrue:
			[self checkReturnCode: ret.
			^buf]
		ifFalse:
			[ret == Win32Errors.NO_ERROR
				ifTrue: [
					data nextPutAll: (buf copyFrom: 1 to: bytesReceived asInteger).
					buf := ByteArray new: bufLen]
				ifFalse:
					[
					ret == 38 "EOF"
						ifTrue: [^data contents]
						ifFalse:
							[self checkReturnCode: ret.
							^data contents]]]]
			repeat

asyncReceiveHttpRequestEntityBody: requestQueueHandle requestId: requestId flags: flags entityBuffer: entityBuffer entityBufferLength: entityBufferLength bytesReturned: bytesReturned overlapped: overlapped
	"Invoke the HttpReceiveRequestEntityBody() function of the module wrapped by the receiver.

		ULONG __stdcall HttpReceiveRequestEntityBody(
			[in]HANDLE RequestQueueHandle,
			[in]unsigned __int64 RequestId,
			[in]ULONG Flags,
			[out]void* EntityBuffer,
			[in]ULONG EntityBufferLength,
			[out]ULONG* BytesReturned,
			[in]LPOVERLAPPED OVERLAPPED);"

	<overlap stdcall: dword HttpReceiveRequestEntityBody handle qword dword void* dword dword* OVERLAPPED*>
	^self invalidCall

I've implemented an adapter for Seaside and I'm very close to get Seaside to work with this server but I can't get POST data. It's not clear to me whether I can receive the payload in pEntityChunks or I need always to end using ReceiveRequestEntityBody. Note that HTTP_REQUEST_FLAG_MORE_ENTITY_BODY_EXISTS is present in the request received by #receiveRequest:, but the call to ReceiveRequestEntityBody returns EOF and 0 bytes read.
I've tested changing in #receiveRequest: the request flag from WinHttpServerConsts.HTTP_RECEIVE_REQUEST_FLAG_COPY_BODY to 0 as in the msdn example without effects.
Also, when the payload is in pEntityChunks it is incomplete.

My code for receive the entity body was ok. The problem was that I made a mistake calling 2 times the receiveEntityBody api unintentionally. I'll try to provide a PR with the method additions and examples.

I think the new Dolphin HTTP Server packages has a good example in its HttpServerRequest class.


Implement InspectEnumerable for Uniques

This PR implements the InspectEnumerable trait for the Uniques pallet, thus allowing on-chain iteration of e.g. a user's non-fungible assets.

cc @Lohann

Not for this PR, but maybe we should think about an iter_keys function which would be slightly more optimal when we dont care about the value and dont need to read or decode it.

I've thought the same, I'll create an issue.

bot merge


Design and Deploy Your First Integration Flow : Screenshot update for Adding iflows

Lables : SCP-Trial1 ,SCP-Trial2 , SCP-Trial3 Low-Prio
Tutorials: https://developers.sap.com/tutorials/cp-starter-integration-cpi-design-iflow.html
Issue 1 :
Step 2: Create an integration package and integration flow
In  step2  Choose Add > Integration Flow........ when we click on 'Add button' it shows additional options such as Rest API, soap API etc.,

Please update screenshot accordingly.
Issue 2 :

In document screenshot show "Product Profile" name as "SAP Cloud Platform Integration" but it is "SAP Cloud Integration".
So, Please update the screenshot accordingly.
Thanks
Mounika

Hi @mounikat987 fixed the issues and pushed to QA. Will send to production by end of day.
Thanks for the feedback.


singleRun not closing any browser

Expected behaviour
With singleRun:true set,
after tests done, closing all browsers which where fetched for tests
Actual behaviour
Doing nothing. Browser instances used for testing stay open after tests done.
Environment Details

Win7
Node v6.2.2
Karma version 1.2.0:
PhantomJS 2.1.21
Firefox 48.0.2

frameworks: ['jasmine-jquery', 'jasmine'],
browsers: ['PhantomJS', 'Firefox'],
reporters: ['coverage', 'junit'],
singleRun: true,
logLevel: config.LOG_DEBUG,

@HerrDerb do you run karma from console?
If yes then which exit status return karma start ... command
Thanks

I am getting the same behavior. This is affecting my integration builds on Travis CI.
karma.conf.js:
module.exports = function (config) {
  let configuration = {
    basePath: '',
    frameworks: ['jasmine', 'angular-cli'],
    plugins: [
      require('karma-jasmine'),
      require('karma-chrome-launcher'),
      require('karma-remap-istanbul'),
      require('angular-cli/plugins/karma')
    ],
    files: [
      { pattern: './src/test.ts', watched: false }
    ],
    preprocessors: {
      './src/test.ts': ['angular-cli']
    },
    mime: {
      'text/x-typescript': ['ts','tsx']
    },
    remapIstanbulReporter: {
      reports: {
        html: 'coverage',
        lcovonly: './coverage/coverage.lcov'
      }
    },
    angularCli: {
      config: './angular-cli.json',
      environment: 'dev'
    },
    reporters: config.angularCli && config.angularCli.codeCoverage
              ? ['progress', 'karma-remap-istanbul']
              : ['progress'],
    port: 9876,
    colors: true,
    logLevel: config.LOG_INFO,
    autoWatch: true,
    browsers: ['Chrome'],
    singleRun: false,
    customLaunchers: {
      ChromeTravisCI: {
        base: 'Chrome',
        flags: ['--no-sandbox'],
        displayName: 'Chrome (Travis CI)'
      }
    }
  };

  if (process.env.TRAVIS) {
    configuration.browsers = ['ChromeTravisCI'];
    configuration.singleRun = true;
  }

  config.set(configuration);
};

I can simulate the behavior by setting the TRAVIS environment variable locally.
(master)*$ TRAVIS=true npm test

><EMAIL_ADDRESS>test /home/emcintyre/Development/src/macdaddy/desk-calendar
> ng test

01 02 2017 00:06:06.370:WARN [karma]: No captured browser, open http://localhost:9876/
01 02 2017 00:06:06.378:INFO [karma]: Karma v1.4.1 server started at http://<IP_ADDRESS>:9876/
01 02 2017 00:06:06.378:INFO [launcher]: Launching browser ChromeTravisCI with unlimited concurrency
01 02 2017 00:06:06.429:INFO [launcher]: Starting browser Chrome (Travis CI)
01 02 2017 00:06:07.278:INFO [Chrome (Travis CI)]: Connected on socket dyUOKZZcSRp18syGAAAA with id 60222982
Chrome (Travis CI): Executed 27 of 27 SUCCESS (0.814 secs / 0.79 secs)
^C

Karma is definitely using my Travis browser config (note the "Chrome (Travis CI)" in the log). But when the tests are complete, the runner and browser just sit there. I have to Ctrl-C to stop them. I see the same behavior in Karma 1.2.0 and 1.4.1.

I just installed the CLI, and specifying --single-run on the command line works properly. Only the property in the config file is being ignored.
I guess for now a workaround is to tweak the npm test command to supply the --single-run param.

I'm seeing both --single-run argument and the config file parameter being ignored when karma is launched from another process. Both work as expected when the same command line is executed in a shell.
Win10
node v7.4
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
I can upload a test case if you need it.

singleRun: true is now being respected properly.
This issue can be closed.

Nice thanks. Which on is the corresponding commit?


measure does not recompute which items are in view

Describe the bug
Calling measure does not recomputes which items are in view, it keep the same items. I need to scroll to trigger an update and see the right items.
Your minimal, reproducible example
https://codesandbox.io/s/condescending-lamport-bkqlmr?file=/src/main.tsx
Steps to reproduce

Update the estimateSize function
Call measure

Expected behavior
When calling measure after updating the estimateSize function I'd expect items to change size AND the range of visible items to be updated.
Item size is updated as expected, but the items in view do not change (items that should now be visible are not, and items that should now be hidden are still rendered).
How often does this bug happen?
Every time
Screenshots or Videos

Platform

OS: MacOS
Browser: Chrome

tanstack-virtual version
3.0.0-beta.18
TypeScript version
No response
Additional context
No response
Terms & Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

@nick-keller should be fixed in latest beta

I just ran into this issue too and updated to beta.21 and after migrating to the new rowVirtualizer.measureElement pattern everything is working smoothly. So much nicer without all the manual triggers to resize. Thanks @piecyk

Hello @piecyk ,
I updated the codesandbox to beta.21 but the same issue is still present apparently.

@nick-keller basic you need to run measure in next tick, after state change, something like https://codesandbox.io/s/loving-phoebe-8wlp7s?file=/src/main.tsx
Maybe you can describe what is the idea here, as most case calling measure is not good idea 🤔

Alright got it, thx @piecyk!
I use the virtualizer for columns, and I compute columns widths based on container's width. Which means on first render I don't have the widths yet (I need to measure the container) and need to update the widths right after.
Also when the container is resized I need to re-compute the columns widths.
Is it a good use-case for calling measure?

I would say that this is now supported out of box using ResizeObserver checkout dynamic example. If something is not working, create minimal example and I would be happy to help. Closing this issue as it's resolved. Thanks!


Next month with less days than previous

There is a problem in OnMonthChangeListener when swiping left or right, if lateral month have less days then present the month returned is next (or previous).
See picture: now is Jan 29, swiping on February listener return March but days are 28.
Thanks.

Sorry, was my fault.


feat: added automatic import of cesium css

This is a proposal to add Cesium css (Viewer's as well as CesiumWidget's) automatically by the plugin.
This allows to get rid of imports in code.
Not done yet, but this could be deactivated by an additional option if you think it's better.

Looks good to me but I think it will break apps using Cesium version 1.96 and earlier. Could you add an option css, which defaults to false, and enable this feature by setting it to true?
plugins: [
  cesium({
    css: true
  })
]

So that I can release it as a patch. We can pick a good day to release a minor version which using css: true as the default.

You're right ! Done

In the meantime, I've reverted the examples. We shall update them when defaulting css to true ?

I can update them when needed. Thanks for your contribution! I think it will be released in a few days.


Ease of including vuejs-datepicker component

I am using vuejs-datepicker in my component... https://github.com/Artistan/vuejs-range-datepickers
It would be very efficient if you could have the properties be a mixin that you use in your component and have available to other components that want to include your component with all of it's properties.
I did a quick example of how I may do it on my own component...
https://www.webpackbin.com/bins/-KnHRfIsYz8cbqfdH02V
So my component could use your mixin...
// Datepicker.vue
  var datepickerPropsMixin = {
    props: {
      value: {
        type: Object,
        default: function() {
          return {
            start: new Date(),
            end: new Date('+14 days')
          }
        },....
    }

to properly include your properties

ease of upgrades
minimize footprint of parent components
clean code

// component using the datepicker, COMPONENT.vue
  export default {
    mixins: [datepickerPropsMixin],
    components: {
      datepicker
    },
    props: {
      // other properties specific to parent component
    },
    data () {...

Let me know what you think...

I'm not sure I understand what you require from my component?
Surely this is down to the the parent component's management of data and so outside of the scope of the datepicker?

Closing due to lack of recent interest.


jitter not used in example 51 Peg fit?

In the example of fitting 51 Peg data with exoplanet, there's a log-jitter variable defined, but I don't see where it comes into the fit.
My guess on how to fix this is that you should change from
pm.Normal("obs", mu=rvmodel, sd=rv_err, observed=rv)
to
pm.Normal("obs", mu=rvmodel, sd=tt.sqrt(tt.sqr(rv_err) + s2), observed=rv).
Is that ok, or does there need to be a penalty term in the likelihood function for large jitter explicitly defined also? Or am I misunderstanding what's happening here entirely??

Yep - that should be included and your suggested syntax is right! Thanks!
I think it's done correctly in the RV tutorial, but I missed it here.

Fixed. Thanks!


return type with no $ref causing failure

I am getting this error when processing a Swagger JSON:
NoMethodError:         NoMethodError: undefined method rindex' for nil:NilClass             /Users/dvancouvering/Projects/Ventana/ventana/vendor/swagger-diff/lib/swagger/diff/specification.rb:88:in refs'
/Users/dvancouvering/Projects/Ventana/ventana/vendor/swagger-diff/lib/swagger/diff/specification.rb:186:in block in response_attributes_inner'             /Users/dvancouvering/Projects/Ventana/ventana/vendor/swagger-diff/lib/swagger/diff/specification.rb:176:in each'
/Users/dvancouvering/Projects/Ventana/ventana/vendor/swagger-diff/lib/swagger/diff/specification.rb:176:in response_attributes_inner'             /Users/dvancouvering/Projects/Ventana/ventana/vendor/swagger-diff/lib/swagger/diff/specification.rb:28:in block in response_attributes'
/Users/dvancouvering/Projects/Ventana/ventana/vendor/swagger-diff/lib/swagger/diff/specification.rb:27:in each'             /Users/dvancouvering/Projects/Ventana/ventana/vendor/swagger-diff/lib/swagger/diff/specification.rb:27:in response_attributes'
/Users/dvancouvering/Projects/Ventana/ventana/vendor/swagger-diff/lib/swagger/diff/diff.rb:117:in block in incompatible_response_attributes_enumerator'             /Users/dvancouvering/Projects/Ventana/ventana/vendor/swagger-diff/lib/swagger/diff/diff.rb:108:in each'
/Users/dvancouvering/Projects/Ventana/ventana/vendor/swagger-diff/lib/swagger/diff/diff.rb:108:in each'             /Users/dvancouvering/Projects/Ventana/ventana/vendor/swagger-diff/lib/swagger/diff/diff.rb:108:in each'
/Users/dvancouvering/Projects/Ventana/ventana/vendor/swagger-diff/lib/swagger/diff/diff.rb:108:in incompatible_response_attributes'             /Users/dvancouvering/Projects/Ventana/ventana/vendor/swagger-diff/lib/swagger/diff/diff.rb:16:in incompatibilities'
I am attaching the JSON that causes the error

I believe it is this snippet that is causing the problem.  Notice that in the 200 response the schema has a "type" field but no "$ref" field.  I believe, looking at the definition of a JSON schema, that's OK.  It looks like your code expects every response object to have a "$ref" field in its schema object either at the top level or if type is "array" as a field in an item object in the "items" array.
"/features": {
  "get": {
    "responses": {
      "200": {
        "schema": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "description": "successful operation"
      }
    },
    "parameters": [],
    "produces": [
      "application/json"
    ],
    "operationId": "getFeatures",
    "description": "",
    "summary": "The list of features that may be enabled/disabled",
    "tags": [
      "features"
    ]
  }
},

Thanks for the report, and for the example! Though we've been using swagger-diff for over a month, the Swagger specification is pretty large, and I'm not surprised if there are some corners that are untested. It looks like we expect all responses to contain references, but my read of the Swagger specification is that your Swagger is perfectly valid, and we need to handle embedded schemas as well as references. I'll look into refactoring the response parsing to handle this.

I wanted to let you know that with the latest code from your master branch,
I got swagger-diff to work with the two services that were failing!  Now I
have about 12 other services to add to the mix, we'll see how it goes :)
Thanks for all your work and great responsiveness! This tool has great
promise and should be invaluable in keeping ourselves honest.  I am meeting
with a Big Customer today who wants to know how we will prevent this from
happening in the future, and swagger-diff is one of the tools I am going to
pull out and share as a key component of the strategy.
All the best!
David
On Tue, Nov 10, 2015 at 4:10 PM jeffreyc<EMAIL_ADDRESS>wrote:

Closed #12 https://github.com/civisanalytics/swagger-diff/issues/12 via
#15 https://github.com/civisanalytics/swagger-diff/pull/15.
—
Reply to this email directly or view it on GitHub
https://github.com/civisanalytics/swagger-diff/issues/12#event-460766918
.

That's great; I'm glad to hear that things are working for you! I just released 1.0.4, so you don't need to pull master. Hopefully things will just work for your other services, but if not, we welcome more issues or pull requests.
It's also great to hear that you're getting value from swagger-diff! We hope it's as useful to you as it has been to us :)


Extend HTTPClient usage for downloads to ArtifactorySearch

          Confirmed... only NexusSearch and ArtifactorySearch are pending. As both are typically solutions within the enterprise datacenter not requiring proxy access I think it would be fine to finish up this part and leave the remainder phase-out of URLConnectionFactory for a later feature-release in the 11.x series.

Originally posted by @aikebah in https://github.com/jeremylong/DependencyCheck/issues/6949#issuecomment-2356535422
Follow-up issue to #6949 to use HTTPClient for ArtifactorySearch in order to honor the standard proxy configuration also for the (expected rare) cases in which an Artifactory repository is only reachable via a proxy

@irrandon, @jthurne Are you still using Artifactory with authentication?
If so, would you be able to test a snapshot version of DependencyCheck?
I'm looking for someone who can verify the correct working of ODC snapshot against an artifactory server requiring authentication by the time I've finished coding the required changes for this enhancement in order to not break its connectivity in a future ODC release.


chore(theme-translations): complete Polish translations

Motivation

Have you read the Contributing Guidelines on pull requests?

Test Plan

Related PRs

LGMT, thank you for the translation updates @rev4324! 👍
I can also help with filling remaining gaps in i18n files, if you want to continue working on the translation.

Let's see if @rev4324 wants to do it. If @rev4324 doesn't have the bandwidth until next Monday (provided they did sign the CLA in the meantime) I'll merge this and you can follow up. Much appreciated, for both of you guys!

No problem, I'll look into translating the remaining sentences in other files soon. Glad I could help.

Thanks! There are a few missing in theme-common.json. Mind taking a look?

Thanks a lot @rev4324
@Simek We can merge once with a confirmation from you

According to my tests, "few" is 2-4, and "many" is 5+. "other" seems to be non-integers, so it's irrelevant here. If we are already ordering the plurals in that order (one|few|many) it should be good!

@rev4324 Please take a look at the suggestions above ^^ I'll apply those changes and merge tomorrow if there are no further opinions.

If that helps: https://unicode-org.github.io/cldr-staging/charts/37/supplemental/language_plural_rules.html

Just FYI, the range section is a bit overcomplicated in there, generally the range end form is used for the whole range pluralization, which also can be seen in the most right column. In other words the form of start of the range doesn't matter in i18n context.

I was wondering why there are two pipes in a row in some translations (||).

If you are referring to the cs translations, that actually looks like a mistake to me because Czech only has four pluralizations, similar to Polish. I'm going to fix it.

Yup, it was cs translation for Algolia, at first I thought that they are skipping some unused forms for their language, but after our discussion here it seems like a bug. This is also only one file which uses that:

https://cs.github.com/facebook/docusaurus?q=path%3Atranslations+language%3AJSON+||

https://github.com/facebook/docusaurus/pull/7222 Thanks for spotting!

Thanks for the suggestions, you're right about the "image" translation, your way fits better. Also, I didn't know about the distinction between "few" and "many", since the source that I edited had only one of these two forms.
I created a page in polish after these changes and I didn't see any incorrect/missing translations now, so I think we're good.


Adds ES doi / nie / cif / nif

~- Adds Locale() to abstract away the region.~

Adds Spanish nie / nif / cif / doi validation

@kvesteri how do i compile the docs so i can test them out?

Thanks for the PR. What is the benefit of the Locale class?
I would rather use syntax of something like:
import validators

validators.fi.business_id('0112038-9')

validators.es.cif('B25162520')

rather than having to always initialize a new Locale object. Another problem with the Locale object is that it is easily confused with Bable Locale object.

@kvesteri I mean the whole idea is to abstract away the whole i18n and make it seamless. The way i envision this is: (this may be a horrible example, but just attempt to get by point across)
validators/temperature.py
@validator
def livable_temperature(temp):
     """Assuming celcius"""
     return 50 > temp > -30

validators/i18n/us/temperature.py
@validator
def us_livable_temperature(temp):
     """When will the US get with the times?!"""
     return 122 > temp > -22

in your code
from validators import Locale

def is_valid_temp(temp):
    validators = Locale()
    return validators.livable_temperature(temp)

is_valid_temp(75)  # if in the US  # this is `True`
is_valid_temp(25)  # if ANYWHERE else in the world  # this is `True`

Put it simply, the idea is to be able to not need to know the locale in order to use it. Its seamless to the user, the user simply just uses the validator, we do the heavy lifting underneath the covers.
If you're concerned with having the name Locale as it can be confused with Bable Locale. The user  can simply do from validators import Locale as ValidatorLocale or something around those lines. ... Does that make any sense? I can try again with another horrible example :P

I'm just not convinced by either this branch or the example you gave that the having a Locale class would be the way to go. The whole point of this library is to have a collection of immutable functions. I'd prefer not have anything containing a state.

@kvesteri Hey, this is your repo. You're the benevolent dictator here. I will remove the Locale and leave the rest of the validation code.

@kvesteri friendly ping.

@kvesteri can you let me know when you publish this please? I have a PR over at https://github.com/joke2k/faker/pull/959 that needs a version. Thanks.

Already released (0.13.0)

@kvesteri ps. https://validators.readthedocs.io/en/latest/ doc looks old.


[BugFix] Lost connection after query

Fix #17256
Signed-off-by: sduzh<EMAIL_ADDRESS>What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #17256
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[ ] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

[FE PR Coverage Check]
:heart_eyes: pass : 5 / 6 (83.33%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/scheduler/mv/IMTCreator.java
0
1
00.00%
[235]

:large_blue_circle:
com/starrocks/sql/parser/AstBuilder.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/statistic/StatisticsMetaManager.java
3
3
100.00%
[]

run starrocks_admit_test


Consider Thimble over CodePen

https://thimble.mozilla.org is a great, free alternative to CodePen.

Thimble does what CodePen Projects does, allows you to have multiple files.
Thimble lets you upload assets.
Thimble has tutorial mode support.
Thimble shows the full HTML whereas CodePen's HTML panel is just for the <body>, and the <head> is in settings. For CodePen, it's easy to run into issues putting the <script> tag in the wrong place.
Thimble has one-click publishing a whole project that hosts the page not within an I-Frame. This would let it work on WebVR Polyfill and better for entering VR.
Personally, prefer the Thimble default UI with the code panel having vertical space.

Only downside is I can't find embed support on Thimble yet, but we can work around that.

Glitch'ed it up


uARM fail with compiled rtos lib

The RTOS tests are failing on at least the NUCLEO_L476RG (uARM only).
Looking for NUCLEO_L476RG with MBEDLS
...port ready!
HOST: Reset target...
HOST: Property 'timeout' = '20'
HOST: Property 'host_test_name' = 'default_auto'
HOST: Property 'description' = 'Queue messaging'
HOST: Property 'test_id' = 'RTOS_5'
HOST: Start test...
OS ran out of threads!

I have launched some tests before the changes in the compilation flags and they were ok.
I tried to export a test to uvision and I had the same error with the compiled version of the rtos lib (such as rtos.ar and rtx.ar). But if i use the .c files and I compile the rtos lib inside the uvision project, the example works well.

Can you share the commands please , and SHA of before the changes to test it locally please?

The changes are in PR #1907 (3db2c030d24782f8cab70ebf077a7b58d5f00973) in the arm.py file.
All the targets are defined in single thread mode for the uARM toolchain.

Thanks that explains it. uLib for ARMCC is not thread safe, therefore that change. The tests should take into account this.
cc @c1728p9

The RTOS are also failing with  GCC_ARM ,

as in file targets.json , ST config is set to "default_build": "small", the tools/toolchains/gcc.py is configured with  :
self.cc += ["-DMBED_RTOS_SINGLE_THREAD"]
self.cppc += ["-DMBED_RTOS_SINGLE_THREAD"]

The RTOS tests are now marked as NOT_SUPPORTED.


Feature: Page Range Support

Description
TL;DR — pypisearch -p [1:5]
or maybe pypisearch -p 1-5 where the argument value of p matches some range pattern to retrieve pypi search pages, and prints the collated results

Hi! Thank you for ur request!
Please update up to 1.3.5 version and enjoy new feature!


message with oneof cannot unmarshal from json string

hi, i am using protobuf oneof, i.e. union. the message can be marshaled to json. but it cannot be unmarshaled back.
1. message definition
message Person {
    string name = 1;
    int32 age = 2;
    bool married = 3;
    oneof number {
        int32 i = 5;
        float f = 8;
    }
}

2. message initialization
msg := new(t.Person)
    msg.Name = "Allen"
    msg.Age = 30
    msg.Married = true
    msg.Number = &t.Person_F{float32(14500.6)}

3. messsage output
name:"Allen" age:30 married:true f:14500.6
4. jsonpb marshal
{"name":"Allen","age":30,"married":true,"f":14500.6}
5. json marshal
{"name":"Allen","age":30,"married":true,"Number":{"F":14500.6}}
6. json & jsonpb unmarshal
{Allen 30 true <nil>}
as above line shows, the number.f is not unmarshaled. how to solve it?

Hi @cybrcodr,
I'm having a similar issue, and I wonder if it's because the OneOf I'm marshalling with jsonpb is an element in a slice?
	// The capabilities that the provisioned volume MUST have: the Plugin
	// MUST provision a volume that could satisfy ALL of the
	// capabilities specified in this list. The Plugin MUST assume that
	// the CO MAY use the  provisioned volume later with ANY of the
	// capabilities specified in this list. This also enables the CO to do
	// early validation: if ANY of the specified volume capabilities are
	// not supported by the Plugin, the call SHALL fail. This field is
	// REQUIRED.
	VolumeCapabilities []*VolumeCapability `protobuf:"bytes,4,rep,name=volume_capabilities,json=volumeCapabilities" json:"volume_capabilities,omitempty"`

// Specify a capability of a volume.
type VolumeCapability struct {
	// Specifies what API the volume will be accessed using. One of the
	// following fields MUST be specified.
	//
	// Types that are valid to be assigned to AccessType:
	//	*VolumeCapability_Block
	//	*VolumeCapability_Mount
	AccessType isVolumeCapability_AccessType `protobuf_oneof:"access_type"`
	// This is a REQUIRED field.
	AccessMode *VolumeCapability_AccessMode `protobuf:"bytes,3,opt,name=access_mode,json=accessMode" json:"access_mode,omitempty"`
}

// XXX_OneofFuncs is for the internal use of the proto package.
func (*VolumeCapability) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
	return _VolumeCapability_OneofMarshaler, _VolumeCapability_OneofUnmarshaler, _VolumeCapability_OneofSizer, []interface{}{
		(*VolumeCapability_Block)(nil),
		(*VolumeCapability_Mount)(nil),
	}
}

Everything marshals correctly, but on unmarshal I get the unknown field warning.

Sorry for the late response on this.  Can you provide a simple reproducible case with the proto definition and similar Go code as I've posted that marshals and unmarshals?

@bh4rtp I just tried your example and it works for me on latest master or dev branches. Note that you have to use jsonpb. Here's what I have ...
package main

import (
	"fmt"
	"strings"

	"github.com/golang/protobuf/jsonpb"
	"github.com/golang/protobuf/proto"
)

func main() {
	msg := &Person{
		Name: "Allen",
		Age: 30,
		Married: true,
		Number: &Person_F{float32(14500.6)},
	}

	m := jsonpb.Marshaler{}
	js, err := m.MarshalToString(msg)
	if err != nil {
		fmt.Println(err)
		return
	}
	fmt.Printf("json output ==> %v\n", js)

	msg2 := &Person{}
	if err := jsonpb.Unmarshal(strings.NewReader(js), msg2); err != nil {
		fmt.Println(err)
		return
	}

	fmt.Printf("%+v\n", proto.MarshalTextString(msg2))
}

Outputs:
json output ==> {"name":"Allen","age":30,"married":true,"f":14500.6}
name: "Allen"
age: 30
married: true
f: 14500.6

but why just marshaled json works, the native json can't unmarshaled however. How can I solve it?

I'm not sure I fully understand your question.  If you are asking how come using encoding/json works to marshal the proto message, why doesn't it work to unmarshal, that really depends on the field types being marshaled/unmarshaled.  It may happen to work in one case, but not in another.  By saying it "works" is also dependent on whether it simply outputs JSON or whether it conforms to the proto JSON spec.  And hence that's the rationale for having the jsonpb package is to make sure the output conforms to the proto JSON spec.
This can be approached differently to make it work with encoding/json but sadly that wasn't designed properly back then.

I'm not sure I fully understand your question. If you are asking how come using encoding/json works to marshal the proto message, why doesn't it work to unmarshal, that really depends on the field types being marshaled/unmarshaled. It may happen to work in one case, but not in another. By saying it "works" is also dependent on whether it simply outputs JSON or whether it conforms to the proto JSON spec. And hence that's the rationale for having the jsonpb package is to make sure the output conforms to the proto JSON spec.
This can be approached differently to make it work with encoding/json but sadly that wasn't designed properly back then.

I'm sorry I mislead you. This is my problem. The proto message is like this:
 message BidRequest {
  // REQUIRED by the OpenRTB specification.
  required string id = 1;

  // At least 1 Imp object is required.
  repeated Imp imp = 2;

  oneof distributionchannel_oneof {
    // Only applicable and recommended for websites.
    Site site = 3;

    // (non-browser applications). Only applicable and recommended for apps.
    App app = 4;
  }
 ...
}

Then my go file is like this:
type BidRequest struct {
	// REQUIRED by the OpenRTB specification.
	Id *string `protobuf:"bytes,1,req,name=id" json:"id,omitempty"`
	// At least 1 Imp object is required.
	Imp []*BidRequest_Imp `protobuf:"bytes,2,rep,name=imp" json:"imp,omitempty"`
	// Types that are valid to be assigned to DistributionchannelOneof:
	//	*BidRequest_Site_
	//	*BidRequest_App_
	DistributionchannelOneof isBidRequest_DistributionchannelOneof `protobuf_oneof:"distributionchannel_oneof"`
 ...
}

And this is my test json string:
const js1 = `{
					"id": "80ce30c53c16e6ede735f123ef6e32361bfc7b22",
					"at": 1, "cur": [ "USD" ],
					"imp": [
						{
							"id": "1", "bidfloor": 0.03,
							"banner": {
								"h": 250, "w": 300, "pos": 0
							}
						}
					],
					"site": {
						"id": "102855",
						"cat": [ "IAB3-1" ],
						"domain": "www.foobar.com",
						"page": "http://www.foobar.com/1234.html ",
						"publisher": {
							"id": "8953", "name": "foobar.com",
							"cat": [ "IAB3-1" ],
							"domain": "foobar.com"
						}
					},
					"device": {
						"ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.13(KHTML, like Gecko) Version/5.1.7 Safari/534.57.2",
						"ip": "<IP_ADDRESS>"
					},
					"user": {
						"id": "55816b39711f9b5acf3b90e313ed29e51665623f"
					}
				}`

It looks well, the site attribute in my json string should be unmarshaled correct like this:
 {
        Id:0xc0003ce940
        Imp:[id:"1" banner:<w:300 h:250 pos:UNKNOWN > bidfloor:0.03 ]
        Site:[id:"102855" ...]
        Device: ...
        ...
}

but when my test json string Unmarshale to the struct, it will be like this:
  openrtbReq := openrtb.BidRequest{}
  json.Unmarshal([]byte(js1), &openrtbReq)
  fmt.Printf("%+v\n",openrtbReq)

{
        Id:0xc0003ce940
        Imp:[id:"1" banner:<w:300 h:250 pos:UNKNOWN > bidfloor:0.03 ]
        DistributionchannelOneof:<nil>
        Device: ...
        ...
}

And when I tried to use the jsonpb, I got the same result.
  openrtbReq := openrtb.BidRequest{}
  jsonpb.Unmarshal(strings.NewReader(js1), &openrtbReq)
  fmt.Printf("%+v\n",openrtbReq)

{
        Id:0xc0003ce940
        Imp:[id:"1" banner:<w:300 h:250 pos:UNKNOWN > bidfloor:0.03 ]
        DistributionchannelOneof:<nil>
        Device: ...
        ...
}

Yes, the oneof type site is just be ignored.

Your posted example is not complete, i.e. there's no message definition for Site and App.  So, it won't be easy for me to reproduce.  However, instead of providing those, would you be able to trim down a reproducible test case that still fails?
We do have unmarshaling testcases for oneofs here https://github.com/golang/protobuf/blob/master/jsonpb/jsonpb_test.go#L783-L787.  So, oneofs should work in general unless there's a bug.


Image stretches upon click

See image in this section: https://docs.quantum.ibm.com/run/system-information#expanded-card-for-a-sample-system

Thanks for opening. Duplicate of https://github.com/Qiskit/documentation/issues/234. We need to make infra improvements here


Create Monster

We need an access point to create new monsters

Request type
URL format
Response

POST
/api/monsters/create/
MonsterResource

Formatting the POST data might be a little nasty

Monsters created this way should also be associated with the current user #3

Do we want to be passing id's back from resources?

Do we want to be passing id's back from resources?

I think so because you want to be able to retrieve and update the relations of an object, but I was thinking we could add a code field that was like stripes format of cus_G6hi6KlmA08hj

(so then we return and retrieve items by that instead, and people can't guess the code of someone else's object)

I created a demo function for making hash ids before
UGLY CODE WARNING
function generateUniqueId(int $id) {
    $alphabet = 'AaBbCcDdEeFfGgHhJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz0123456789';
    $salt = 'isle_of_wight_porcupine';
    $pepper = 'radagast_the_brown';

    $hash = hash('sha256', $salt . $id . $pepper);

    $unique_id = '';
    $remainder = 0;

    for ($i = 0; $i < strlen($hash); $i += 4) {
        $value = hexdec($hash[$i]) + hexdec($hash[$i + 1]) + hexdec($hash[$i + 2]) + hexdec($hash[$i + 3]) + $remainder;

        if ($value > 62) {
            $remainder = $value - 62;
            $value = 62;
        } else {
            $remainder = 0;
        }

        $unique_id .= $alphabet[$value];
    }

    return $unique_id;
}

Or Laravel Encryption

that's like a hundred characters long

Never used it. Dunno if you can change the output length. But it should check if you own that item in the db, I was mainly asking if we need them all. Or if we can just update the entire character instead of each piece.

If you want to give a character a certain weapon, say a greataxe, then i think you could just post the item id for that weapon

Ok, I don't have an issue with it. Just wondering if we can reduce unnecessary things.


Please invite me to the community

Name
BellYou2717
Additional Context
For the Best

Invitation sent to join the GitHub Organization. Welcome to Infraform 🎉Please check your mail to accept the invitation sent by GitHub! 🤖About usInfraform is a remarkable open-source solution tailored for serverless platforms, aimed at empowering creators to craft their infrastructure solutions. 💻 We're thrilled to welcome you into our vibrant community! ✨ We eagerly anticipate your valuable contributions! 🤓 Don't forget to explore our community on Github and connect with us on LinkedIn 💜 Feel free to spread the word about our community to like-minded individuals interested in development, DevOps, technology, and collaborative contributions. 👉💜👈


Workshop ID#142 Added callouts to 2 screenshots in Lab 13: Public and Private Network Access in Autonomous Database

Workshop ID#142 Manage and Monitor Autonomous Database
Added callouts to 2 screenshots in Lab 13: Public and Private Network Access in Autonomous Database

@greenrick please resolve the existing conflict

@greenrick are you able to use the command line to resolve the image conflict?

@hope-fisher Hi, Hope. My GitHub page doesn't offer me the "Use the command line" link that you see on the screenshot you emailed me. So I didn't see a way to switch over to command line, nor was I comfortable using the command line for the first time to check out and check in as a method of resolving. However, I was able to find a GUI place on GitHub Desktop to resolve the mysterious "conflict" on the 2 screenshots I am attempting to update. I did a Resolve action on the 2 screenshots, in both cases choosing from the drop-down menu the new versions on my local "Main" instead of the production versions in "Upstream Main". Please see if the conflict appears to be resolved now, so that you can approve and merge my pull request. Thanks, Rick

Thanks for sharing your solution!


Add client roles mapping section

Added section describing needed client roles in order to be able to retrieve Keycloak users from the Rancher GUI.
Added details on Mappers.

Hi @anupama2501 (since you helped answer https://github.com/rancher/rancher/issues/42371), do you know which Keycloak versions are affected?

@eliaoggian Anupama had a question about the fields in the comments above

Closing for now, as there hasn't been any response. I'll be putting what we can use in a separate PR so we can move forward.

Hi @anupama2501 (since you helped answer rancher/rancher#42371), do you know which Keycloak versions are affected?

At least starting from 19 (which i have) and is already pretty old.
This PR is great. I answered questions. Hope it can get merged, i wouldve loved to see this PR in the docs.

@btat looks like more users are hitting this problem... can you PTAL this?


create search query for kanji search

Working on issue #11 instead as thats a priority for a lot of search terms to work properly, but the current code base should still work except will require some modifications once its implemented.

Working on issue #11 instead as thats a priority for a lot of search terms to work properly, but the current code base should still work except will require some modifications once its implemented.


[WIP] Discussion

You should rebase for an introduction to the literate programming section, as written by Skip.

As usual, I'll fix the grammar/spelling myself. I'll do this when the issues above have been discussed.


Add missing interpolation token

Fixes #22473

The change here looks great @Youssef1313
Can you add a project file so the CI build keeps mistakes like this from creeping in again?

The change here looks great @Youssef1313
Can you add a project file so the CI build keeps mistakes like this from creeping in again?

@BillWagner I doubt it will build successfully. The file on its current form has multiple entry points because it has code for multiple articles. It needs to be first split such that every C# file maps to one article. I preferred to keep the PR simple, but I don't mind splitting the file into multiple C# files if you prefer that.

@BillWagner I doubt it will build successfully. The file on its current form has multiple entry points because it has code for multiple articles. It needs to be first split such that every C# file maps to one article. I preferred to keep the PR simple, but I don't mind splitting the file into multiple C# files if you prefer that.

Thanks for the comment @Youssef1313
We'd prefer moving toward our end goal of having every sample built with the CI system. Thanks for offering to help with these samples. Yes, I know that's going to make a larger PR.

Thanks for the comment @Youssef1313
We'd prefer moving toward our end goal of having every sample built with the CI system. Thanks for offering to help with these samples. Yes, I know that's going to make a larger PR.

I'm converting to a draft while I'm working on it. I'll mark as ready for review once I finish.

I'm converting to a draft while I'm working on it. I'll mark as ready for review once I finish.

@BillWagner Ready for review. A commit-by-commit review is recommended.

@BillWagner Ready for review. A commit-by-commit review is recommended.


Automated cherry pick of #10464

Cherry pick of #10464 on release-7.0.
/cc  @AshishDhama
NONE

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Trying to auto merge this PR.

Pull Request successfully merged
SHA: 4a9d2b986b1b93c17ce825901c008e91a8220e72


feat: address => ens

https://user-images.githubusercontent.com/25638585/218752772-15712487-14e4-477a-8093-5ddd2dd16264.mov

Thanks!
@technophile-04 added that condition to show false result

Oh, I see. Thank! It was omitting the 0's tho.
I'll check https://github.com/scaffold-eth/se-2/pull/164 soon


NIMBLE: assertion "evbuf != NULL" failed: file ".../esp_nimble_hci.c", line 356, function: host_rcv_pkt (IDFGH-1169)

Environment

Development Kit:      ESP32-Wrover-Kit
Kit version (for WroverKit/PicoKit/DevKitC): v4.1
Module or chip used:  ESP32-WROVER-B
IDF version (run git describe --tags to find it):  v3.3-beta1-452-gfefb2fda2 (latest feature/nimble-preview branch)
Build System:  CMake
Compiler version (run xtensa-esp32-elf-gcc --version to find it): 1.22.0-80-g6c4433a
Operating System:     Linux
Power Supply:         USB|external 5V & Battery

Problem Description
Making tests with NIMBLE (logging all scanned data in BLE_GAP_EVENT_DISC event handler) and a little modyfied nimble/blecent example hangs with:
assertion "evbuf != NULL" failed: file "/home/user/esp/esp-mdf/esp-idf/components/nimble/esp-hci/src/esp_nimble_hci.c", line 356, function: host_rcv_pkt
abort() was called at PC 0x400d40fb on core 0
0x400d40fb: __assert_func at /Users/ivan/e/newlib_xtensa-2.2.0-bin/newlib_xtensa-2.2.0/xtensa-esp32-elf/newlib/libc/stdlib/../../../.././newlib/libc/stdlib/assert.c:63 (discriminator 8)
Backtrace: 0x4008c8f8:0x3ffb5d00 0x4008cb29:0x3ffb5d20 0x400d40fb:0x3ffb5d40 0x400ef869:0x3ffb5d70 0x40109fd2:0x3ffb5d90 0x401001b6:0x3ffb5db0 0x4001791d:0x3ffb5dd0 0x40100799:0x3ffb5df0 0x40100925:0x3ffb5e30 0x40017573:0x3ffb5e50 0x40019d11:0x3ffb5e70 0x40055b4d:0x3ffb5e90 0x400ff3e3:0x3ffb5eb0 0x400ff8e1:0x3ffb5ed0 0x4008cd65:0x3ffb5f00
0x4008c8f8: invoke_abort at /home/user/esp/esp-mdf/esp-idf/components/esp32/panic.c:707
0x4008cb29: abort at /home/user/esp/esp-mdf/esp-idf/components/esp32/panic.c:707
0x400d40fb: __assert_func at /Users/ivan/e/newlib_xtensa-2.2.0-bin/newlib_xtensa-2.2.0/xtensa-esp32-elf/newlib/libc/stdlib/../../../.././newlib/libc/stdlib/assert.c:63 (discriminator 8)
0x400ef869: host_rcv_pkt at /home/user/esp/esp-mdf/esp-idf/components/nimble/esp-hci/src/esp_nimble_hci.c:225
0x40109fd2: vhci_send at ??:?
0x401001b6: r_eif_send at ??:?
0x40100799: hci_tx_start at hci_tl.c:?
0x40100925: hci_tx_done at hci_tl.c:?
0x400ff3e3: r_rw_schedule at ??:?
0x400ff8e1: btdm_controller_task at ??:?
0x4008cd65: vPortTaskWrapper at /home/user/esp/esp-mdf/esp-idf/components/freertos/port.c:403
Expected Behavior
No assertions
Actual Behavior
Assert happenning
Steps to repropduce
https://github.com/no1seman/nimble_0_test
Code to reproduce this issue
https://github.com/no1seman/nimble_0_test
Debug Logs
See attached file for full log
Other items if possible
log.zip

@no1seman Looks like you have enabled duplicate advertising reports in the blecent code. I have fixed the handling which caused this issue seen from your logs. Please pull the latest feature/nimble-preview branch and test it out.

@dhrishi,
thanks for quick answer, error in gone, but now test app (https://github.com/no1seman/nimble_0_test) just stops to scan after some time (with 2 beacons after 36 minutes, and with 8 beacons to scan - after 18 minutes). Seems that there's an infinite cycle somewhere or deadlock.
P.S. You are right, i've set no filter & no whitelist & enable duplicates to make a load test of NIMBLE itself cause such a tests shows overall stability of stack in general. I'm very disapointed about stability of BlueDroid stack and looking for the ability to move to NIMBLE.

@no1seman I am trying your app and it is up and running for an hour now. Is there anything else in the setup that is required?
Also, can you please raise a new issue with the requested information and close this. Please see the log below:
I (3620536) NimBLE_BLE_CENT: MAC: xx:xx:xx:xx:xx:xx, Discoverable: Discoverable, Mode: LE & BR/EDR, Data:
02 01 02 0d 09 48 6f 6e 6f 72 20 39 20 4c 69 74 65
I (3620536) NimBLE_BLE_CENT: MAC: yy:yy:yy:yy:yy:yy, Discoverable: Discoverable, Mode: LE & BR/EDR, Data:
02 01 02 06 09 50 69 78 65 6c
I (3620576) NimBLE_BLE_CENT: Internal memory: Free: 284304 bytes, Allocated: 46328 bytes, Mininum free: 278740 bytes, Largest free block: 113804 bytes

@no1seman  I can understand that it is not very convenient but I cannot comment on the exact timeline of merging. Currently, we are in the process of QA for NimBLE.
Please close this issue

i had this problem, i solve it by removing (commented by semi column) this library (NimBLE) from platformio.ini<EMAIL_ADDRESS>then move the library folder from .\myProject.pio\libdeps\esp32dev to .\myProject\lib. then edite the function static int host_rcv_pkt(uint8_t *data, uint16_t len) in file: .\myProject\lib\NimBLE-Arduino\src\nimble\esp_port\esp-hci\src\esp_nimble_hci.c in line 407 as below:
    if (data[1] == BLE_HCI_EVCODE_HW_ERROR)
    {
        // assert(0);
        return 0; // add it by  kianoosh
    }


Can we push the library to cdn?

https://cdnjs.com/libraries or https://www.cloudflare.com/features-cdn/#how-can-cloudflare-offer-a-free-service would be great.

Guess, we should just add this to readme:
https://cdn.rawgit.com/beautify-web/js-beautify/master/js/lib/beautify-html.js

Great idea thanks!

I've added https://github.com/cdnjs/cdnjs/issues/8518 but scared about doing it by self.


Remove go.mod exclude line

This line got added in PR #1731 (commit
920dcfadc29a3b0a04ee3f4dc503fb08ab96437a), and breaks go install
github.com/sigstore/cosign/cmd/cosign.
Signed-off-by: Patrick Uiterwijk<EMAIL_ADDRESS>

@haydentherapper you added that, do you know the reason for that?

For info, the message that results, on both Go 1.16 and go 1.18:
[root@913ff300c5c8 /]# go install -v github.com/sigstore/cosign/cmd/cosign@latest
go: downloading github.com/sigstore/cosign v1.8.0
go: github.com/sigstore/cosign/cmd/cosign@latest (in github.com/sigstore/cosign@v1.8.0):
	The go.mod file for the module providing named packages contains one or
	more exclude directives. It must not contain directives that would cause
	it to be interpreted differently than if it were the main module.

(Also, I could not find any information in the PR as to why it was added nor that it was even brought up during reviews.)

@puiterwijk you need to run go mod tidy and after you should run ./hack/update-codegen.sh and then commit the changes

fixed here https://github.com/sigstore/cosign/pull/1846
closing this one
thanks for your PR!


Explain the coordinates in Table Structure Recognition

This really is an amazing work thank you.
But I am having trouble understanding the coordinates in the table structure recognition.

I am unable to interpret which is x0,x1, y0,y1.
These value seem to be repeating 1299 1750.

Got it.

x,y is actually the point and its  separated and its all four corner coordinates

I am still unclear about this coordinate system. In what format are they returning the values? also in pixels or point?

Got it.
x,y is actually the point and its separated and its all four corner coordinates

I am still unclear about this coordinate system. In what format are they returning the values? also in pixels or point?


[Question] C# Work-around

Hello,
I have been wanting to try out this framework but I write in C#. After dabbling around a bit I decided to add a C# generator. See Yahoo template output here The problem is, I am having trouble with setting request headers. The way I am doing it now works, but it requires a separate include file (straight from StackOverflow).
Generator
Include
The problem is that the simple way to add headers would be req.Headers.Add("User-Agent", "TestAgent"); but User-Agent, among many other headers, are restricted and throw an exception when modified incorrectly. They must be set by req.UserAgent = "TestAgent";. You can see how this does not match the traditional style of Gargl.
So my question is... does anyone have a better way to do this? I was thinking about adding the include to the generated file, but it may get bulky if using multiple templates. Is the best way to go just to add this logic into the Generator itself (and spit out valid values)?

Hey Sean, thanks for contributing. My opinion would be to add the logic to the generator, but I'll defer to @mross22 on this since he is our C# expert.


WIP Add support for powerline-go

Description
Adding support for powerline-go, a nice prompt for your favorite shell.
Checklist
None of the checklist items are done. I just want some high-level feedback for now.

Closed in favor of https://github.com/rycee/home-manager/pull/1285.


Remove in-memory tableCache and related code

The tableCache is now disabled by default. See https://github.com/CartoDB/CartoDB-SQL-API/issues/422
This issue is just a follow up not to forget about removing all the related code.
cc/ @rochoa for prioritization

@dgaubert @CartoDB/dc-managers this is a leftover from the past. The in-memory tableCache has been disabled for ~ 2 years and can be removed now.

WIP #605

and https://github.com/CartoDB/cartodb-platform/pull/5825

Done


Fixed 3 icons

Description
Fixed my previously added icons. The VLC logo had two v-shaped elements that were too wide, the avatar from the miUPV logo had a weird head shape, and the Mi Carpeta logo... well... it barely passed as one.
Type of change
:x: Bug fix (non-breaking change which fixes an issue)
:white_check_mark: Icon addition (non-breaking change that adds/modifies Lawnicons's icons)
:x: General change (non-breaking change that doesn't fit the above categories, such as copyediting)
Icons addition information
Icons updated

AppValència (es.valencia.lanzadera)
miUPV (es.upv.miUpv)
Mi Carpeta Ciudadana (es.gob.carpeta)

Let me know if you want the Mi Carpeta logo to fit the big square (as it does right now) or the smaller quare.


Support for using "@" in css class names

Which package(s) are affected?
Lit Core (lit / lit-html / lit-element / reactive-element)
Description
Hi! If this is not a bug and it is documented somewhere, please feel free to direct me! I did not come across this information or any similar issues.
I want to use the @ symbol in the name of a CSS class, e.g. media@md, for responsive suffixes (for more, see this article). In plain CSS/HTML, this works when you escape the @ symbol when defining the CSS (using .media\@md in the css and class="media@md" in the html).
This does not seem to work in lit.
Reproduction
Lit playground link
Workaround
I have not found a workaround.
Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
2.2.8
Browser/OS/Node environment
Browser: Chrome 110.0.5481.100
OS: macOS 13.0.1
Node version: 18.10.0
npm version: 8.19.2

This is an awkward quirk of nesting one language in strings in another language where both use the same escape character: the \ in .media\@md is interpreted as an escape sequence for the template string in JS before the CSS parser even sees it. (I.e. the css tag function sees this string as containing .media@md and writes that into the style sheet.) To get \@ passed into the style sheet, the \ itself needs to be escaped: writing .media\\@md instead does what you're looking for.

Ah, yes, I did not try that one. Thank you!

np!


Allow value(json_pointer) to work with arrays as documented

As discovered here, value(json_pointer) throws an exception, when accessing an array. This deviates from the documented behavior:
try {
   return at(ptr);
} catch(out_of_range) {
   return default_value;
}

Allow value(json_pointer) to work with arrays, update documentation, and update unit tests.

Would it make sense to also have an overload for integral types just like at or operator[]?

Right, I was going to look at that as well.
Also, if needed, that is probably better suited for the planned "parity PR". I've identified a few functions with "missing" overloads. Adding it to the list.

Coverage remained the same at 100.0% when pulling 971e5a5cb7e01aa83648b02b7926d63e03fd68a8 on falbrechtskirchinger:value-json_ptr into f4658de2701f2290baf076bbbd8540260015518c on nlohmann:develop.


Update documentation.

I've no any huge experience, I didn't no any factual reason behind not working properly with vue3. But after replacing v-model with :value it works without any problem.  I believe on contributions, happy coding.

I'll have to update this component to be vue3 compatible (which I have never checked). Except if things changed in Vue 3 about the v-model stuff, I think correcting the documentaiton is not the way, and this should be considered a bug

I'll have to update this component to be vue3 compatible (which I have never checked). Except if things changed in Vue 3 about the v-model stuff, I think correcting the documentaiton is not the way, and this should be considered a bug

The library has bee updated, and the bug fixed :)


Update URL of Repo

changed thomnico to fortinet-solutions-cse b/c. thomnico's repo seems to be behind.

 :) Thanks for your pull request!
Really appreciated!


[hotfix][runtime] Remove private methods

What is the purpose of the change
The PR removes a bunch of unused private methods
org.apache.flink.runtime.operators.hash.CompactingHashTable#insertBucketEntryFromSearch which became unused
after https://github.com/apache/flink/commit/925ac1f76bb84986764495407049a77552169d84
org.apache.flink.runtime.state.VoidNamespace#readResolve
was added here https://github.com/apache/flink/commit/3b97128f05bacfb80afe4a2a49741c31ff306cd2 as unused
org.apache.flink.runtime.dispatcher.runner.DefaultDispatcherRunnerTest#createDispatcherGateway that became unused after https://github.com/apache/flink/commit/401f5f3970c6e969f3749ee72a4c57cb3f905af2
org.apache.flink.runtime.jobmaster.slotpool.DeclarativeSlotPoolServiceTest#matchesWithSlotContext which became unused after https://github.com/apache/flink/commit/b67f0a70662819e064176a418ce2b892f3fb61b4
org.apache.flink.runtime.messages.WebMonitorMessagesTest#randomIds which became unused
after https://github.com/apache/flink/commit/67aad88ee025ce02053ab560f2504762f53b87d9
org.apache.flink.runtime.scheduler.adaptive.FinishedTest.MockFinishedContext#assertNoStateTransition
becoming unused after https://github.com/apache/flink/commit/85879bfb4e6be34481aa94bd0c215db234283ccd
org.apache.flink.runtime.scheduler.adaptive.StopWithSavepointTest#createStopWithSavepoint
which became after https://github.com/apache/flink/commit/d13cb056912d9011df96671c3bd60299a59a1117
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

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

Documentation

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

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure


Instructions for getting account ID may be incorrect

Example URL(s)
https://developers.cloudflare.com/fundamentals/setup/find-account-and-zone-ids/
Actual Behavior
I found the information under Workers and Pages. I could not see an API section anywhere, though I may just have missed it.
Expected Behavior
Docs instruct to look for API from "landing page". I couldn't find anything like that.
Additional information
No response

Howdy @gar1t, think you might have missed the select your account and domain part of step 1 in that doc. The intention of the page (currently) is to help folks find their account/zone ids that are shown on the overview page of a specific zone/domain/website.
That being said, probably worth adding a callout for the account id info w/in the Workers and Pages area, since not everyone looking at it is going to have an associated zone. I'll push up a change addressing this later today.
Thanks for raising!

I have a similar issue,
I am following this page Find account ID (Workers and Pages)
I can't find the 'account details' section to do step 4.  when on the 'workers and pages'. See screenshot.

Seems that part might have changed and needs updating.

Someone commented in a different issue that I can obtain this id from the URL. Which is not the best user experience


Ability to print file attributes and including their overrides

This PR is enhancing zAppBuild to print file attributes of the build file in verbose output mode of zAppBuild and implements #339.
It provides insights to developers if a file property is overriding the default attribute when scanning the build file with the DBB dependency scanner.
An asterisk (*) is indicating if an override is changing the flag. When values are identical, no asterisk is presented:
DBB File attributes: CICS=true*, SQL=false, DLI=false, MQ=false

The feature is available for build files mapped to Cobol.groovy, PLI.groovy and Assembler.groovy.
Sample output for MortgageApplication/cobol/epscsmrt.cbl
*** Building file MortgageApplication/cobol/epscsmrt.cbl
*** Resolution rules for MortgageApplication/cobol/epscsmrt.cbl:
search:/u/dbehm/userBuild/?path=MortgageApplication/copybook/*.cpy
/u/dbehm/userBuild>
*** Physical dependencies for MortgageApplication/cobol/epscsmrt.cbl:
{"excluded":false,"sourceDir":"\/u\/dbehm\/userBuild\/","lname":"EPSMTCOM","library":"SYSLIB","file":"MortgageApplication\/copybook\/epsmtcom.cpy","category":"COPY","resolved":true}
{"excluded":false,"sourceDir":"\/u\/dbehm\/userBuild\/","lname":"EPSMTINP","library":"SYSLIB","file":"MortgageApplication\/copybook\/epsmtinp.cpy","category":"COPY","resolved":true}
{"excluded":false,"sourceDir":"\/u\/dbehm\/userBuild\/","lname":"EPSMTOUT","library":"SYSLIB","file":"MortgageApplication\/copybook\/epsmtout.cpy","category":"COPY","resolved":true}
{"excluded":false,"sourceDir":"\/u\/dbehm\/userBuild\/","lname":"EPSPDATA","library":"SYSLIB","file":"MortgageApplication\/copybook\/epspdata.cpy","category":"COPY","resolved":true}
DBB File attributes: CICS=true*, SQL=false, DLI=false, MQ=false
Cobol compiler parms for MortgageApplication/cobol/epscsmrt.cbl = LIB,CICS,ADATA,EX(ADX(ELAXMGUX))
Link-Edit parms for MortgageApplication/cobol/epscsmrt.cbl = MAP,RENT,COMPAT(PM5)
** Generated linkcard input stream:

@donnellt
What do you think about this output instead of talking about Logical file attributes or File attributes?
 Program attributes: CICS=true, SQL=true*, DLI=false, MQ=false


Bump Fedora to 40 and ironic-python-agent to 2024.1

Implements image verification in the ironic-python-agent

Hasn't been tested yet. I wanted to make it a Draft, but misclicked.


register: Not all clients send a User-Agent header.

Screenshots and screen captures:
Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

This was missing test coverage for that no user agent case, so pushed a tiny test for it - for the whole /register codepath, since that may be a useful case to have covered in general, rather than doing a unit test for is_pronouns_field_type_supported

Merged, thanks @alexmv and @mateuszmandera!

Thank you, @mateuszmandera!


Qbittorrent SSL issue

I can't seem to get HTPC Manager to talk to QBittorrent.  I have SSL enabled on the daemon and I get the following error in the logs.
Cant contact qBittorrent, check you settings and try again [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

Is it a self signed cert?

Correct, it is a self-signed crt.
On Sat, 13 Jun 2015 at 14:45 Hellowlol<EMAIL_ADDRESS>wrote:

Is it a self signed cert?
—
Reply to this email directly or view it on GitHub
https://github.com/Hellowlol/HTPC-Manager/issues/205#issuecomment-111669718
.

Ok, what qbt version?

qBittorrent v3.2.0
On Sat, 13 Jun 2015 at 19:05 Hellowlol<EMAIL_ADDRESS>wrote:

Ok, what qbt version?
—
Reply to this email directly or view it on GitHub
https://github.com/Hellowlol/HTPC-Manager/issues/205#issuecomment-111688994
.

Ok, I'll fix it later today.

@z1lt0id Can you update and confirm that it works now?

It nows successfully tests and doesn't show the SSL errors but now the log
displays the following, and nothing appears under the qbittorrent section.
2015-06-13 21:11:50modules.delugeERRORcan't connect with {'params':
[''], 'method': 'auth.login', 'id': 1} 2015-06-13
21:11:50modules.delugeERRORcan't connect with {'params':
[['payload_download_rate', 'payload_upload_rate']], 'id': 1, 'method':
'core.get_session_status'} 2015-06-13 21:11:49modules.delugeERRORcan't
connect with {'params': [[], ['progress', 'is_finished', 'ratio', 'name',
'download_payload_rate', 'upload_payload_rate', 'eta', 'state', 'hash',
'total_size']], 'id': 1, 'method': 'core.get_torrents_status'} 2015-06-13
21:11:49modules.delugeERRORcan't connect with {'params': [''],
'method': 'auth.login', 'id': 1} 2015-06-13
21:11:49modules.delugeERRORcan't connect with {'params': [[], ['progress',
'is_finished', 'ratio', 'name', 'download_payload_rate',
'upload_payload_rate', 'eta', 'state', 'hash', 'total_size']], 'id': 1,
'method': 'core.get_torrents_status'} 2015-06-13
21:11:48modules.delugeERRORcan't connect with {'params': [], 'id': 1,
'method': 'web.connected'} 2015-06-13 21:11:48modules.delugeERRORcan't
connect with {'params': ['***********'], 'method': 'auth.login', 'id': 1}
2015-06-13 21:11:47modules.delugeERRORcan't connect with {'params': [],
'id': 1, 'method': 'web.connected'}
On Sat, 13 Jun 2015 at 20:59 Hellowlol<EMAIL_ADDRESS>wrote:

@z1lt0id https://github.com/z1lt0id Can you update and confirm that it
works now?
—
Reply to this email directly or view it on GitHub
https://github.com/Hellowlol/HTPC-Manager/issues/205#issuecomment-111698228
.

Well thats not qbittorrent, thats deluge.

My bad, let me fix that. I thought that was a little weird.
Here is the error I get now.
2015-06-13 21:30:12modules.qbittorrentERRORCouldn't get global upload limit
('Connection aborted.', BadStatusLine("''",)) 2015-06-13
21:30:12modules.qbittorrentERRORFailed to auth with new api ('Connection
aborted.', BadStatusLine("''",)) 2015-06-13
21:30:12modules.qbittorrentERRORCouldn't get global download limit
('Connection aborted.', BadStatusLine("''",)) 2015-06-13
21:30:12modules.qbittorrentERRORFailed to auth with new api ('Connection
aborted.', BadStatusLine("''",))
On Sat, 13 Jun 2015 at 21:23 Hellowlol<EMAIL_ADDRESS>wrote:

Well thats not qbittorrent, thats deluge.
—
Reply to this email directly or view it on GitHub
https://github.com/Hellowlol/HTPC-Manager/issues/205#issuecomment-111701101
.

I edited my answer. Can you provide the full log, See my previous post.

This should be fixed now btw, please reopen if you still have issues.


Overview of pointer types and related traits

When diving deeper into the PyO3 docs, I'm always flattened by the sheer number of smart pointer types and related traits.  I get that most of them are necessary, and some of them may be remnants that are on the way out, but it's still overwhelming, especially once you start playing tetris with those types, trying to get the result you need.  The guide doesn't help in that regard.
I propose (and volunteer to draft, as far as I understand it) a table-like list of those traits, their approximate meaning, and when to use them.
It can be located in the guide, or in the API docs, as you prefer.  But wherever it is, it should be linked to from every mentioned type's API docs, and the explanations should be made consistent.

Thanks. I think something like this is probably best suited for the guide. Probably with a link to it also from the module documentation frontpage.
If during your audit you have any proposals for simplifying the trait/type taxonomy, we'd be very willing to hear them.


Cannot run spork with updated Rails4/RSpec3

guard/guard-spork#134
GEM VERSIONS
Rails 4.2.0
ruby 1.9.3p547 (2014-05-14) [x86_64-linux]
rspec-core (3.1.7)
guard (2.11.1)
guard-compat (1.2.0)
guard-spork (2.1.0)
spork (1.0.0rc4)
spork-rails (4.0.0)
spork-testunit (0.0.8)
I have not used RSpec since December, when our app was still Rails 3. Since, we've upgraded to Rails 4 and updated the necessary gems. I have not changed anything in the Guardfile, .rspec, or spec/spec_helper.rb files yet.
When I run bundle exec guard like I used to, I receive no error (except for Rails-specific deprecation warnings). When I switch to another tab in my terminal, I run bundle exec rspec spec/features/admin/login_spec.rb. I receive the following error/backtrace:
Exception encountered: #<NameError: uninitialized constant RSpec::Core::CommandLine>
backtrace:
/usr/local/lib/ruby/gems/1.9.1/gems/spork-1.0.0rc4/lib/spork/test_framework/rspec.rb:11:in `run_tests'
/usr/local/lib/ruby/gems/1.9.1/gems/spork-1.0.0rc4/lib/spork/run_strategy/forking.rb:13:in `block in run'
/home/hstevens/.bundler/ruby/1.9.1/spork-224df492657e/lib/spork/forker.rb:21:in `block in initialize'
/home/hstevens/.bundler/ruby/1.9.1/spork-224df492657e/lib/spork/forker.rb:18:in `fork'
/home/hstevens/.bundler/ruby/1.9.1/spork-224df492657e/lib/spork/forker.rb:18:in `initialize'
/usr/local/lib/ruby/gems/1.9.1/gems/spork-1.0.0rc4/lib/spork/run_strategy/forking.rb:9:in `new'
/usr/local/lib/ruby/gems/1.9.1/gems/spork-1.0.0rc4/lib/spork/run_strategy/forking.rb:9:in `run'
/home/hstevens/.bundler/ruby/1.9.1/spork-224df492657e/lib/spork/server.rb:49:in `run'
/usr/local/lib/ruby/1.9.1/drb/drb.rb:1548:in `perform_without_block'
/usr/local/lib/ruby/1.9.1/drb/drb.rb:1508:in `perform'
/usr/local/lib/ruby/1.9.1/drb/drb.rb:1586:in `block (2 levels) in main_loop'
/usr/local/lib/ruby/1.9.1/drb/drb.rb:1582:in `loop'
/usr/local/lib/ruby/1.9.1/drb/drb.rb:1582:in `block in main_loop'

+1

Try this:
gem 'spork', github: 'sporkrb/spork'
gem 'spork-rails'
if not work, try
https://github.com/manafire/spork/commit/38c79dcedb246daacbadb9f18d09f50cc837de51#diff-937afaa19ccfee172d722a05112a7c6fL6 (this worked for me)

Thank you @jpsneto but I decided to use Spring and guard-rspec. Works great.

Great @onebree
I'm using Windows :\

With the extension Windows compat issues, I am glad to use Linux at work, and I use an online VM at home (for personal)

Same problem on OS/X.


[Data collection] Show user-defined "help text" on data collection tasks

See also https://github.com/google/ground-platform/issues/704

@JSunde assigning this to you for now, please reassign if needed!

We're currently showing the Task "label", is that different from the "help text" that is being requested here?

@gino-m

Yes, this was intended to be should using a subtitle styling below the actual question. It could be used to provide additional instructions or clarifications. I don't think this is required for the pilots, so please feel free to unassign. In the meantime I'll move to our Icebox.


Using jsonencode

I am currently trying to write something which relies on using terraforms jsonencode.
From what I can tell this is currently not supported/possible, is this correct?
So what I was trying to do was basically wrapping a block into a jsonecode block and therefore be able to write everything in rust/hcl-rs without having to resort to raw string inputs in attributes (which also mess up escaping and intendation)

Hi there!
Reading your description I'm still not entirely sure what your use case is.
Let's take a simple example as a starting point. Given the following HCL:
resource "aws_sqs_queue" "queue" {
  name = "my-queue"

  redrive_policy = jsonencode({
    deadLetterTargetArn = aws_sqs_queue.dead_letter_queue.arn
    maxReceiveCount     = 5
  })
}

Do you want to parse it and evaluate the jsonencode function so that redrive_policy becomes a JSON encoded string?
Do you want to construct and format an HCL block that contains an HCL expression that's wrapped in jsonencode, like in the block above?
Something else.

The first two cases are supported by hcl-rs and I can provide examples for them.
Can you further elaborate? Maybe an example of what you're trying to achieve in pseudo code could help.

Sorry I was not clear.
It's the second one, I want to output data I have in a struct in rust as HCL.
Example:
I have this:
struct Demo {
foo: String
}

Demo{foo: "bar".into()}

And want to get this:
resource "demo" "demo" {
   model = jsonencode({
     foo = "bar"
    })
}

This is certainly possible. Here's one way to achieve this (I added comments to the most relevant bits):
use hcl::expr::FuncCall;
use hcl::structure::{Attribute, Block, Body};

#[derive(serde::Serialize)]
struct Demo {
    foo: String,
}

let demo = Demo { foo: "bar".into() };

// Convert the custom struct to an `hcl::expr::Expression`.
let expr = hcl::to_expression(&demo).unwrap();

let body = Body::builder()
    .add_block(
        Block::builder("resource")
            .add_labels(["demo", "demo"])
            .add_attribute(Attribute::new(
                "model",
                // Construct the `jsonencode` function call.
                FuncCall::builder("jsonencode").arg(expr).build(),
            ))
            .build(),
    )
    .build();

assert_eq!(
    hcl::to_string(&body).unwrap(),
    indoc! {r#"
        resource "demo" "demo" {
          model = jsonencode({ "foo" = "bar" })
        }
    "#}
);

Please note that the final formatting is a little bit different than in your example:

Objects in function calls are forced onto one line. It's currently not possible to configure this, but we could add support for wrapping this onto multiple lines.
The foo key is quoted. This behaviour can be configured via a custom formatter instance to make ident-like keys render unqoted:

use hcl::format::{Format, Formatter};

let mut fmt = Formatter::builder().prefer_ident_keys(true).build_vec();

let formatted = body.format_string(&mut fmt).unwrap();

assert_eq!(
    formatted,
    indoc! {r#"
        resource "demo" "demo" {
          model = jsonencode({ foo = "bar" })
        }
    "#}
);

I hope this more or less covers your use case. Let me know if something is missing.

Thanks, thats exactly what I needed. (well, multiline would be nicer but doesn't really change anything, the code will be auto-generated and not touched 99% of the time)
One short thing, I noticed that when you have an empty list in a struct you serialze using to_expression it will not generate a comma after it. Is that a know error/Intended? If not I would create a proper bug report once I have time.

Could you provide an example of the actual output and how it should look like in your opinion? In general the formatter avoids to emit commas that are not significant.


Misc season styling

Added padding between Section Headers and Start Button
Adjusted Bonus Page card spacing

bonus page with mock data populated:

Does this use the styled scrollbars that the other pages?

Does this use the styled scrollbars that the other pages?

@dsarfati this will use the styled scrollbar once that merged in. the scrollbar is in another PR.


Attribute generation

This one is "clean"... I think

pushed fixes for all review comments except the one that requires merging of #99

finished the refactor too


Can't serve static files out of wwwroot

I've got an asp.net core 2.0 app and I've added in your service helpers. I can run the app/register the service, everything seems fine, but...
And I'm sure this is something I'm doing wrong, but I've got a directory under wwwroot that I'm serving static files from. When I debug the app or run it from the publish directory, everything works fine.  But, when I run it as a service, the files from that directory (under wwwroot) are not found.  Other MS sample files can be found, but not the ones I've added.  I can see them under the publish folder, but they aren't getting served.
Any idea what this may be?  The only reason I'm posting here is because it only happens when running as a service.

Closing this, .UseContentRoot needs to be set correctly, otherwise it defaults to C:\Windows\system32 when running as a service.

I'm glad you figured it out.
However, I should update the samples to the 2.0 hosting model and maybe add razor pages or even a full mvc sample..

@dasMulli Awesome, thanks.


Captain's antique laser size needs bumping

Right now it's 10 but should be the standard of 50. If someone wants to haul it around it should be a choice to do so (plus slots exist).

50 seems a little bit too harsh. I think a bump up to 20-25 would be better so it cant be pocketable.

Bags hold 100 and stashes exist; traitors shouldn't be able to hoard every item.

 If we wanted captains to use it less I would increase the recharge time or reduce the damage.

Yeah I was going to say this earlier but the cap’s laser gun is clearly designed as a pistol. Doesn’t make sense to have it be the same size as a regular laser gun. I do think upping the weight to 20 is good, so captains have to decide between the saber and the laser gun on the belt slot.

Also ALL the captain’s stuff is deliberately downsized to help traitors, isn’t that why the jetpack only takes up 30 space?

Both jetpack and laser should have size increased. Having them be able to be carried easily at all times just makes traitor gameplay worse.
Also, the captains laser should probably be in a display case instead of the locker. Would actually make it unique imo.

Bags hold 100 and stashes exist; traitors shouldn't be able to hoard every item.

Oh, so that’s why people keep tossing out their internals boxes! They want the space!


Sending an SPL token Example doesn't work

I tried using an example of sending a token. However, I got an error saying that 4 arguments are needed. How do I create a fourth argument?
My code:
`static void TestSendingUSDC()
{
        var wallet1 = new Solnet.Wallet.Wallet("pudding border fetch text reward text cat jacket fetch cat correct amount");

        var client = ClientFactory.GetClient(Cluster.MainNet);
        var tokens = new TokenMintResolver();
        var wallet = TokenWallet.Load(client, tokens, wallet1.Account.PublicKey);

        var source = wallet.TokenAccounts().ForToken(WellKnownTokens.USDC).FirstOrDefault();

        var sig = wallet.Send(source, (decimal)1.0D, "332DjJ3TSuZeafhYPsnN8xaNDiBF6Q2oxcCKsWtQRPN5", wallet1.Account.PublicKey);
        //wallet.Send(sig);

    }`

TokenWallet.Send requires 5 arguments, the 5th argument is a callback.
It appears you're missing the callback that is used to sign the tx.
var sig = wallet.Send(source, (decimal)1.0D, "332DjJ3TSuZeafhYPsnN8xaNDiBF6Q2oxcCKsWtQRPN5", wallet1.Account.PublicKey, (txbuilder) =>
{
    return txbuilder.Build(wallet1);
});

well, i tried ur code.
I got an error of convert from Solnet.Wallet.Wallet to Solnet.Wallet.Account
I replaced return txbuilder.Build(wallet1); to return txbuilder.Build(wallet1.Account);
Then I got a error: One or more errors occurred. (DecimalPlaces is unknown for mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v)"
Does it mean that i can't transfer this token with decimal? Or what?

Yeah, i replaced TokenInfoResolver() to TokenMintResolver because i got a error too.

Maybe I missed some using directive?

There is no need for a using directive, it looks like for some reason it couldn't find the decimals for USDC - let me take a look.

You are merely initializing a TokenMintResolver but you are not loading any tokens (this should be changed to mitigate these kinds of mishaps)
Change
var tokens = new TokenMintResolver();

to
var tokens = TokenMintResolver.Load(); // or await TokenMintResolver.LoadAsync(); in case you need this to be async

Thanks! It worked!
But now i got this error:

Can I change any parameters to fix this?

The issue is removed, more SOL was needed. Thank U again!!
Please, update instructions if U can.

We have a bunch of things to update all around, I'll add this to the list :)

I'll pick up this + add to #368 update the example in the readme.


instead on "on-administrator", it should be "non-administrator"

[Enter feedback here]

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

ID: 81440b2f-391b-5856-a216-15866f37082a
Version Independent ID: cdd15cd4-d4ed-c413-e2b9-ebf6dad8b33b
Content: Use activity reports for Microsoft Teams - Microsoft Teams
Content Source: Teams/teams-activity-reports.md
Service: msteams
GitHub Login: @chuckedmonson
Microsoft Alias: chucked

Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.