has to be type "number" but received type "string"

JS-Controller 3.3.15
Meldung unifi.0 State value to set for "unifi.0.default.vouchers.voucher_.duration" has to be type "number" but received type "string" kommt laufend.

Objekte gelöscht
Fehler bleibt.
unifi.0 | 2021-08-06 20:26:34.040 | info | State value to set for "unifi.0.default.vouchers.voucher_.duration" has to be type "number" but received type "string"
Zusätzlich jetzt ein neuer Fehler.
unifi.0 | 2021-08-06 20:26:33.815 | warn | Object of state "unifi.0.default.num_new_alarms" is missing the required property "common.type"

Hier auch:
`

2021-08-28 07:05:10.757  - info:  unifi.0 (3052) State value to set for  "unifi.0.default.devices.xxxxxx2b.port_table.port_1.speed" has  to be type "number" but received type "string"
2021-08-28 07:05:10.820  - info:  unifi.0 (3052) State value to set for  "unifi.0.default.devices.xxxxxxx:2b.port_table.port_2.speed" has  to be type "number" but received type "string"
2021-08-28 07:05:10.890  - info:  unifi.0 (3052) State value to set for  "unifi.0.default.devices.xxxxxxx:2b.port_table.port_3.speed" has  to be type "number" but received type "string"
2021-08-28 07:05:11.067  - info:  unifi.0 (3052) State value to set for  "unifi.0.default.devices.xxxxxxx:2b.port_table.port_4.speed" has  to be type "number" but received type "string"
2021-08-28 07:05:11.279  - info:  unifi.0 (3052) State value to set for  "unifi.0.default.devices.xxxxxxx:2b.port_table.port_5.speed" has  to be type "number" but received type "string"
2021-08-28 07:05:11.334  - info:  unifi.0 (3052) State value to set for  "unifi.0.default.devices.xxxxxxx:2b.port_table.port_6.speed" has  to be type "number" but received type "string"
2021-08-28 07:05:11.394  - info:  unifi.0 (3052) State value to set for  "unifi.0.default.devices.xxxxxxx:2b.port_table.port_7.speed" has  to be type "number" but received type "string"
2021-08-28 07:05:11.450  - info:  unifi.0 (3052) State value to set for  "unifi.0.default.devices.xxxxxxx:2b.port_table.port_8.speed" has  to be type "number" but received type "string"

`

I am having the same error but related to Datapoint Client.Satisfaction.
Possibly because I have switched from a Cloud Key to a UDM Pro. So now I am also having wired clients which do not have a satisfation-Info.
(669025) State value to set for "unifi.0.default.clients.macmacmacmac.satisfaction" has to be type "number" but received type "string"

Same issue, with a lot of datapoints in this adapter
Pls fix the datapoints.
The most issues a had with:
"satisfaction" under the clients tab. Every client with the datapoint satisfaction, has the error: has to be type "number" but received type "string"
Other datapoints who fail in my newly configurated unifi adapter:
"port_table.port_4.speed" under the devices folder: has to be type "number" but received type "string"
"noted" under the clients folder: has to be type "boolean" but received type "string"

Same issue, with a lot of datapoints in this adapter
Pls fix the datapoints.
The most issues a had with:
"satisfaction" under the clients tab. Every client with the datapoint satisfaction, has the error: has to be type "number" but received type "string"
Other datapoints who fail in my newly configurated unifi adapter:
"port_table.port_4.speed" under the devices folder: has to be type "number" but received type "string"
"noted" under the clients folder: has to be type "boolean" but received type "string"

Das selbe bei mir:
Bitte dies einmal fixen, da es das Log unnötig befüllt.

bis eine neue Version verfügbar ist, einfach den gemeldeten Datenpunkt manuell auf den korrekten Datentyp ändern somit sind die Logeinträge nicht mehr aktiv.

 Andere Devices funktionieren problemlos.
Hier noch eine komplette Liste, die jede Sekunde im Protokoll aufläuft:

2022-04-14 20:44:15.642	info	State value to set for "unifi.0.default.vouchers.voucher_.used" has to be type "number" but received type "string"
2022-04-14 20:44:15.641	info	State value to set for "unifi.0.default.vouchers.voucher_.quota" has to be type "number" but received type "string"
2022-04-14 20:44:15.640	info	State value to set for "unifi.0.default.vouchers.voucher_.qos_overwrite" has to be type "boolean" but received type "string"
2022-04-14 20:44:15.639	info	State value to set for "unifi.0.default.vouchers.voucher_.duration" has to be type "number" but received type "string"
2022-04-14 20:44:15.587	info	State value to set for "unifi.0.default.num_new_alarms" has to be type "number" but received type "string"
2022-04-14 20:44:15.286	info	State value to set for "unifi.0.default.devices.uu:uu:uu:uu:uu:uu.uptime" has to be type "number" but received type "string"
2022-04-14 20:44:15.285	info	State value to set for "unifi.0.default.devices.uu:uu:uu:uu:uu:uu.upgradable" has to be type "boolean" but received type "string"
2022-04-14 20:44:15.284	info	State value to set for "unifi.0.default.devices.vv:vv:vv:vv:vv:vv.uptime" has to be type "number" but received type "string"
2022-04-14 20:44:15.283	info	State value to set for "unifi.0.default.devices.vv:vv:vv:vv:vv:vv.upgradable" has to be type "boolean" but received type "string"
2022-04-14 20:44:15.281	info	State value to set for "unifi.0.default.devices.vv:vv:vv:vv:vv:vv.port_table.port_5.speed" has to be type "number" but received type "string"
2022-04-14 20:44:15.280	info	State value to set for "unifi.0.default.devices.vv:vv:vv:vv:vv:vv.port_table.port_4.speed" has to be type "number" but received type "string"
2022-04-14 20:44:15.279	info	State value to set for "unifi.0.default.devices.vv:vv:vv:vv:vv:vv.port_table.port_3.speed" has to be type "number" but received type "string"
2022-04-14 20:44:15.278	info	State value to set for "unifi.0.default.devices.vv:vv:vv:vv:vv:vv.port_table.port_2.speed" has to be type "number" but received type "string"
2022-04-14 20:44:15.234	info	State value to set for "unifi.0.default.devices.vv:vv:vv:vv:vv:vv.port_table.port_1.speed" has to be type "number" but received type "string"
2022-04-14 20:44:14.647	info	State value to set for "unifi.0.default.clients.ww:ww:ww:ww:ww.ww.noted" has to be type "boolean" but received type "string"
2022-04-14 20:44:14.627	info	State value to set for "unifi.0.default.clients.xx:xx:xx:xx:xx:xx.noted" has to be type "boolean" but received type "string"
2022-04-14 20:44:14.568	info	State value to set for "unifi.0.default.clients.yy:yy:yy:yy:yy:yy.noted" has to be type "boolean" but received type "string"
2022-04-14 20:44:14.511	info	State value to set for "unifi.0.default.clients.zz:zz:zz:zz:zz:zz.noted" has to be type "boolean" but received type "string"
2022-04-14 20:44:14.443	info	State value to set for "unifi.0.default.clients.tt:tt:tt:tt:tt:tt.noted" has to be type "boolean" but received type "string"

Das Unifi Dashboard (v7.0.25) läuft auf nem Raspberry.
Ich versuche noch heraus zu finden, warum nicht alle clients mit dem jeweiligen Datenpunkt betroffen sind.
  Das ist aber wohl nicht Sinn der Sache.
Dies bedeutet, dass es bei "noch nie" verbundenen Devices keine Properties "upgradable oder uptime" gibt.
Entsprechend gibt es bei einigen "clients" keine Eigenschaft "noted".
Auch in der "voucher" Sektion sind entsprechende Eigenschaften nicht vorhanden.
Mein Request an die API ergab:
https://My.IP.v4.Adress:8443/api/s/default/stat/voucher
Result: {"meta":{"rc":"ok"},"data":[]}
Die nicht vorhandenen Eigenschaften sollten im jeweiligen client / device garnicht erst angelegt werden
oder / und entsprechend nicht aktualisiert werden.

Problem besteht bei mir auch immernoch

Bitte GitHub version testen

0.6.0 on npm


Xcode crashes right after new cassette recorded

Both my Xcode's (7.1 and 7.2-beta.3) crash when I run a test that uses DVR where no cassette exists yet. Crash happens right after DVR records the request, logs the fact to console and then aborts to stop running - immediately after or maybe even at the time of the abort there's a crash.
Here's a snippet from the crash log:
Crashed Thread:        38  <DBGLLDBSessionThread (pid=2221)>  Dispatch queue: DVTInvalidationPreventionQueue
DVR is probably not at fault here, but has anyone experienced this and been able to fix or workaround the crash?

Update: worked around the crash by removing DVR from the project (it was added via Carthage). Then I copied and pasted the DVR source files into the project and added them to the test target. Works.

I suspected it could have been some Xcode/Carthage interop problem, so I made sure that Carthage was compiling with correct version of Xcode and recompiled all Carthage dependencies for good measure. The command I use for recompiling: carthage update --platform iOS --no-use-binaries. Still crashed.

I had the same issue, but the recompiling command did the trick for me. Thanks.


Signing validation in dotnet-arcade-validation-official is failing

The dotnet-arcade-validation-official is failing for some time already and this is blocking arcade updates.
Seems like MSBuild is not new enough: https://dev.azure.com/dnceng/internal/_build/results?buildId=2271252&view=logs&j=b11b921d-8982-5bb3-754b-b114d42fd804&t=fb192a8b-e433-5fc8-e2b0-276ab015e7d5

If we need to update MSBuild, then probably a duplicate of: https://github.com/dotnet/arcade/issues/14031

Resolved with the MSBuild update.


⚠ TorrentLeech has degraded performance

In 58eb140, TorrentLeech ($TL) experienced degraded performance:

HTTP code: 200
Response time: 2456 ms

Resolved: TorrentLeech performance has improved in 22149cf after 9 minutes.


动态的设置TAG

在不同的类里面设置不用的TAG，不想使用局部的用法，每次设置很多参数太麻烦，怎样实现动态设置TAG

@caozhx Currently there is not a simple way to do that, but I think you don't need to set 'a lot of' parameters every time, setting the tag is enough.
For example, you have already fully initialized xLog in you Application.onCreate, you just need to define a partial logger at the beginning of your class.
private static final LOGGER = XLog.tag(className).build();

And use this LOGGER in the class.
Yes, it is a little troublesome


Custom config causing Uncaught SyntaxError: Unexpected token ':'

Describe the bug
Example ckeditor.js does not work for me. I tried copying the example code in the first ckeditor.js in the documentation and I got console error "Uncaught SyntaxError: Unexpected token ':'" and strapi failed to compile. I tried changing the name of the file to ckeditor.txt and strapi ran, but my new config wasn't visible. I required the code in https://github.com/nshenderov/strapi-plugin-ckeditor/issues/127#issuecomment-1916364219 AND a file called ckeditor.txt for my new config to work.
I'm running strapi 4.25.9 using node 18.
To Reproduce
Steps to reproduce the behavior:

Install a new version of strapi
Install the ckeditor plugin
copy the example text in the documentation at https://github.com/nshenderov/strapi-plugin-ckeditor into ckeditor.js
run develop

Expected behavior
The config that's documented by the example becomes available as "My Custom Preset"
What actually happened: I got "Uncaught SyntaxError: Unexpected token ':'" and strapi failed to run.
please complete the following information:

plugins.js (if exist)
module.exports = () => ({});

package.json
{
"name": "gta",
"private": true,
"version": "0.1.0",
"description": "A Strapi application",
"scripts": {
"develop": "strapi develop",
"start": "strapi start",
"build": "strapi build",
"strapi": "strapi",
"deploy": "strapi deploy"
},
"devDependencies": {},
"dependencies": {
"@_sh/strapi-plugin-ckeditor": "^2.1.3",
"@strapi/plugin-cloud": "4.25.9",
"@strapi/plugin-graphql": "^4.25.9",
"@strapi/plugin-i18n": "4.25.9",
"@strapi/plugin-users-permissions": "4.25.9",
"@strapi/strapi": "4.25.9",
"better-sqlite3": "8.6.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "5.3.4",
"strapi-plugin-navigation": "^2.5.3",
"styled-components": "5.3.3"
},
"author": {
"name": "A Strapi developer"
},
"strapi": {
"uuid": "6e813ed3-8cb0-4483-96c2-b02cffeb0b21"
},
"engines": {
"node": ">=18.0.0 <=20.x.x",
"npm": ">=6.0.0"
},
"license": "MIT"
}

node version
18.0.0

Hello, I had the same problem recently. To fix it, I changed the format of the CKEConfig() function.
I pretty much put presets into an object (it being the "configuration" object) and returned it.
const CKEConfig = () => {
    return {
        presets: {
        myCustomPreset: {
            field: {...},
            editorConfig:{
                plugins: [...],
                toolbar: [...],
                heading: {...},
                image: {...},
                table: {...}
            }
        }
    }
}}```

There is a typo in the example, I forgot to include the parentheses


Debug not finding node

(This might be the same problem as #303, I'm not sure)
I am using this extension in VSCode for mac, and have specified my node using nvm.  I can use the "run" command exposed by codelens, but when I try to use the debug command I encounter the following error:

Can't find Node.js binary "node": path does not exist. Make sure Node.js is installed and in your PATH, or set the "runtimeExecutable" in your launch.json

It would be desirable for the extension to more directly find the node executable for the debugger to use.
Workaround
I managed to solve this problem by updating the debug.javascript.defaultRuntimeExecutable setting in settings.json. Previously it was set to  {"pwa-node": node}, and I modified it to
{
  "debug.javascript.defaultRuntimeExecutable": {
    "pwa-node":  "/full/path/to/node-binary"
  }
}

Happy to include more config information if that's helpful.

It’s not the answer you’re looking for unfortunately, but ultimately, this is a VS code issue, not an issue with this extension.
The VS code team would probably suggest it’s a user issue as well… But a case could be made to at least improve the UX around the failure to them.
Your issue is certainly related to the referenced issue. TLDR if you launch your editor in such a fashion that the editor doesn’t see node on PATH, nothing that launches child processes dependent on node are going to work.

cd project && nmv use && code .
and ur good to go

@cdaringe thanks and much appreciated!

@cdaringe please accept collaborator invitation. i think someone removed you by accident.

https://github.com/firsttris/vscode-jest-runner/issues/344#issuecomment-1839478655
courtesly closing as wont do. if you feel otherwise, please take it up with vscode and feel free to cross ref this issue


built with Gridsome page?

Summary
Do you have a Built with Gridsome page? We'd look good on one!
https://beta.blackship.com

No showcase yet, but we have this thread #210 :)

Closing as a duplicate of #210


Update stoplist.txt

Added cuiwah.edu.pk

@bilalrcc lib/domains/stoplist.txt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@bilalrcc Thank you for your suggestion! I will not merge the request because stoplist.txt is not supposed to be updated with pull requests. I checked the domain you suggested to add to the stoplist, and took appropriate measures to eliminate frauds who used the domain. However there are much more real students from there than frauds, thus this domain is not qualified for the stoplist.
Thank you for your help!


fishy response.end handling  in connect middleware

Hello I was working on an express project that  uses custom middleware after swagger is added and realised that there exist issues with the provided connect middleware. I have just spotted the exact line in the source code:
https://github.com/theganyo/swagger-node-runner/blob/master/lib/connect_middleware.js#L91
In the above line, response.end is called without returning and as a result next is called afterwards. I consider this as unexpected behaviour as the middleware is supposed either render response or call next and not both. The result is that request is unexpectedly   processed by middleware loaded after swagger and in cases where that middleware responds to the user as well you get a 'Can't set headers after they are sent.' error.

You're absolutely right, this is clearly a bug. Thanks for reporting it. It looks like the correct thing here would be to populate the response body without calling .end().

In that case when would end be expected to to get called?

Well, this is the long-standing argument... Some people want the framework to end it, others want the framework to allow connect handlers after the fact. It seems to me that after the fact is more flexible.
As to when it would get called, I believe Express, at least, will automatically do that if a response was populated in the handler chain... but we'd need to be certain of it and the other frameworks.

My initial was why call next? and not why call end.
It doesn't make sense for any reason to run middleware after res.send/res.end/res.json for the only reason that the request life-cycle is done.
Practical Example : By convention a server can have a 'not found hanlder' middleware in case there is no middleware /matching path for the request to be served(a lot of scripts that bootstrap express apps generate that by default).
If any middleware calls next after rendering  it causes errors as you cannot re-respond with the not found  message but that middleware gets called and tries to do so.
Another downside is the overhead of processing unneeded middleware. Response was served mission accomplished.
It's a common practice not to call next when you render for the above reasons I also had similar issues with other third party middleware that was patched:
https://github.com/i18next/i18next-express-middleware/issues/19
As I understand you want to write a response and leave everything in the middle because you want to be flexible. I that case I would prefer no  response and some clear result set in req or even better req.swagger. Up-to setting some headers and calling next sounds normal to me but I haven't  encountered any middleware that leaves rendering in the middle and calls next or renders and calls next(feel free to give some examples if you have seen this)

Yes, I think that's a fair argument. I was actually thinking of different cases that don't apply here anyway. Another argument for simply calling end() is that when you start writing to the body, you may actually be starting the process of responding to the client regardless... in which case you're back to the error you described above.

yes exactly

not sure how is see you havre already fixed this end it's not there:
https://github.com/theganyo/swagger-node-runner/commit/737f5fcd1ed399e3b69a439c562d6eb7a37dc5ad#diff-53c9a79e933c4da44b7ab7ad372897b9

Is there an ETA for a release that contains this patch?

@agalazis It looks like it was fixed in 0.7.1, but if you install 0.7.1 and have a look, it is definitely not fixed.  Also, this bug is still here in master:
https://github.com/theganyo/swagger-node-runner/blob/master/lib/connect_middleware.js#L99-L101

Super ugly hack while you're waiting for that PR to be merged.  This needs node v0.9.3 or higher:
    swaggerExpress.register(app);

    app.use((req, res, next) => {
        if(res.headersSent) {
            // Hack to get around
            // https://github.com/theganyo/swagger-node-runner/issues/87.
            // If headers have already been sent, it means swagger-node-runner
            // has written a response and called `next()` incorrectly.  Just drop
            // the request.
        } else {
            next();
        }
    });


fix: Fraud Detection sample repo moved

Found the note about the move here https://github.com/Microsoft/SQL-Server-R-Services-Samples/tree/master/FraudDetection

@nschonni : Thanks for your contribution! The author, @HeidiSteen, has been notified to review your proposed change.

@HeidiSteen  please review

#sign-off  Thank you @nschonni!


Peek editor tree color tokens are broken

Set color customizations for the peek widget:
"workbench.colorCustomizations": {
        "peekViewResult.selectionBackground": "#ff0000",
        "peekViewResult.fileForeground": "#00ff00",
        "peekViewResult.selectionForeground": "#0000ff"
    }

1.29:

1.30:

Candidate or 1.30.1 maybe?

Grrr, another regression... I am for putting this into 1.30.1

I have pushed a fix to master and I have created https://github.com/Microsoft/vscode/pull/64880. @roblourens we think having for for 1.30.1 is good enough, otherwise the PR can be merged for 1.30


Select Linq not working with more than one parameter

Hello Team,
I want to use following expression but it is throwing error "UnknownIdentifierException 'visualCount' ". Following expression is fine fine when select linq has only single property i.e. pageName or visualCount.
var options = InterpreterOptions.Default | InterpreterOptions.LambdaExpressions;
var interpreter = new Interpreter(options).SetVariable("courseList", courseList);

string expression = @"courseList.Select(x =>  new { pageName = x.PageName , visualCount = 5 })";

Lambda parsedExpression = interpreter.Parse(expression);
var result = parsedExpression.Invoke();

Note: I have tried every property, each time it worked for single property but not for multiple properties.
Please resolve this issue as I am currently blocked.

Thank you @sachindevtomar for the bug report. This is a free and open source project, we cannot guarantee any kind of support, but any contribution and help is appreciated.

I'm surprised it even works with a single property, because anonymous types are not supported (see #75).
Can you share an example where it's working?

I managed to reproduce, and it's indeed a bug with the way we determine where the body of a lambda expression ends:
[Test]
public void Lambda_Issue_259()
{
	var options = InterpreterOptions.Default | InterpreterOptions.LambdaExpressions;
	var interpreter = new Interpreter(options);
	interpreter.SetVariable("courseList", new[] { new { PageName = "Test" } });
	interpreter.Reference(typeof(PageType));

	var results = interpreter.Eval<IEnumerable<PageType>>(@"courseList.Select(x => new PageType() { PageName = x.PageName, VisualCount = 5 })");
	Assert.AreEqual(1, results.Count());

	var result = results.Single();
	Assert.AreEqual("Test", result.PageName);
	Assert.AreEqual(5, result.VisualCount);
}

public class PageType
{
	public string PageName { get; set; }
	public int VisualCount { get; set; }
}


quarto-cv

Link to suggestion
https://github.com/mps9506/quarto-cv
Targeted section
Templates/PDF Documents
Describe your suggestion
A Quarto pdf template for academic CVs.
Checklist

[X] checked if your suggestion is not already listed in Awesome Quarto list.
[X] checked if it can fit in an existed section or suggest a new section and explain why your item does not fit into one and what would be the interest of your new section.
[X] checked when it's a repository if it's maintained (archived repository will be rejected).

Added to the list (note that in the future, it's highly possible that extensions will me moved elsewhere).


ENH: make datalad_installer.py script executable

It already carries a shebang.  Having it executable simplifies the usecase
of having this repository cloned and just trying to use it.  I am not sure
if there are any side-effects for it being used as Python module

Codecov Report

Merging #2 (025d0af) into rewrite01 (b41213a) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           rewrite01       #2   +/-   ##
==========================================
  Coverage      64.26%   64.26%
==========================================
  Files              1        1
  Lines            876      876
  Branches         167      167
==========================================
  Hits             563      563
  Misses           258      258
  Partials          55       55

Impacted Files
Coverage Δ

src/datalad_installer.py
64.26% <ø> (ø)

Continue to review full report at Codecov.

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


fix test to use :any and rake file to use generative formatter

I noticed the test for "any" was testing array, so I changed it. It fails with "fixnum" not being equal to "interger" so I replaced that in the list of types to look for.
I changed the Rake file to use the generate formatter so the tests are run several times (as configured by the environment variable "GENERATIVE_COUNT") and output as expected.
use

bundle exec rake
to test this.

:+1: Thanks much!


Bring in styles and custom markup from the prototype

Update the linting rules inherited from wagtail, and fix some linting issues not present in the prototype
Remove any custom font-sizes and most line-heights from the imported css, and use design system classes instead
Fix the display of charts in the ons-embed block for now - we need a separate embed block ultimately
Don't import customisations to the document-list styling or template
Update the headers on the analysis and topic pages

What is the context of this PR?
Describe what you have changed and why, link to other PRs or Issues as appropriate.
How to review
Describe the steps required to test the changes (include screenshots if appropriate).
Follow-up Actions
List any follow-up actions (if applicable), like needed documentation updates or additional testing.

Everything is looking sooo much better. Left a few suggestions.

That was speedy! I have a few more to dos before this is totally ready though.


bar charts for prism groupings of forcing

temp precip gpp
show sites and domains somehow?

then plot trends in runoff ratios within those groups


Github Pages Button missed

Reason founded:

API rate limit exceeded for <IP_ADDRESS>. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)


Symbol link path issues

I used symbol link path to use git. This script can not switch correct git.

@svfgvvvu
Hi!
Thank you for reporting :D
I tried to fix this.
https://github.com/aiya000/git_bridge_wsl2_and_windows/commit/114166887401195a8b7004ead443f392593c3c64


(C) 2019 Back to The Future?

On the readme page it says

MS SQL Server module is (c) 2017 - 2019 G DATA Software AG and other authors.

Is that a mistake and it should say 2018, or was it done deliberately to keep the file updated for next year?

Has been fixed ;)


Arguments in logging statement are in the wrong order

Description
I think the _segmentMaxRowCount argument in the log message when a segment is about to be flushed is in the wrong place in the arg list.
Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)

[ ] Yes (Please label as backward-incompat, and complete the section below on Release Notes)

Does this PR fix a zero-downtime upgrade introduced earlier?

[ ] Yes (Please label this as backward-incompat, and complete the section below on Release Notes)

Does this PR otherwise need attention when creating release notes? Things to consider:

New configuration options
Deprecation of configurations
Signature changes to public methods/interfaces
New plugins added or old plugins removed

[ ] Yes (Please label this PR as release-notes and complete the section on Release Notes)

Release Notes

Documentation

Codecov Report

Merging #7939 (410a8a2) into master (58e7f10) will decrease coverage by 56.75%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master    #7939       +/-   ##
=============================================
- Coverage     71.08%   14.33%   -56.76%
+ Complexity     4109       80     -4029
=============================================
  Files          1593     1548       -45
  Lines         82373    80502     -1871
  Branches      12269    12067      -202
=============================================
- Hits          58555    11538    -47017
- Misses        19867    68109    +48242
+ Partials       3951      855     -3096

Flag
Coverage Δ

integration1
?

integration2
?

unittests1
?

unittests2
14.33% <0.00%> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


fix JSON newtype symbol

Just a small typo I randomly noticed 😄 similar to https://github.com/samhh/fp-ts-std/pull/153

Oops :sweat_smile: cheers!


Cannot remove the User Picture

Checklist

[X] I have looked into the README and have not found a suitable solution or answer.
[X] I have looked into the documentation and have not found a suitable solution or answer.
[X] I have searched the issues and have not found a suitable solution or answer.
[X] I have upgraded to the latest version of this SDK and the issue still persists.
[X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
[X] I agree to the terms within the Auth0 Code of Conduct.

Description
It seems to not be possible to remove the profile picture of a user even though the auth0 management API allows it
Here is the auth0 request that I'd like to make using the SDK
curl -L -X PATCH 'https://AUTH0_DOMAIN/api/v2/users/USER_ID' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer 🔒' \
-d '{"picture":null}'

But a request like that is impossible to make becuase in the SDK, the type of the Picture field is *string, so if I make it nil it just gets omitted from the request body
Expectation
I expect to be able to remove the User picture with the SDK, by either setting it to an empty string
func TestRemoveUserProfilePicture(t *testing.T) {
	userId := "USER_ID"

	emptyString := ""
	userUpdate := &management.User{
		Picture: &emptyString,
	}
	err := client.User.Update(context.Background(), userId, userUpdate)

	assert.NoError(t, err)
	assert.Equal(t, userUpdate.GetPicture(), "")
}

Or that the type of Picture is sql.NullString (or similar) and I can explicitly set it to null:
func TestRemoveUserProfilePicture(t *testing.T) {
	userId := "USER_ID"

	nullString := sql.NullString{}
	userUpdate := &management.User{
		Picture: &nullString,
	}
	err := client.User.Update(context.Background(), userId, userUpdate)

	assert.NoError(t, err)
	assert.Equal(t, userUpdate.GetPicture(), "")
}

Reproduction

Create a user with a profile picture
Try to remove the profile picture using the SDK
It doesn't work

Auth0 Go SDK version
1.0.1

Hey @JakubC-projects thanks for the issue! This is a difficult one to solve in the SDK currently as the structs are shared between create and update requests and whilst the update API accepts these values the create one doesn't.
What I would recommend is following something similar to the custom user struct example here, but to not embed the management.User struct as that would override the picture tag. That could then be combined with the api.Request function when you know you want to update the picture to be null.
type CustomUser struct {
	Picture *string `json:"picture"`
}

err = api.Request(context.Background(), http.MethodPatch, api.URI("users", userID), &CustomUser{
	Picture: nil,
})

if err != nil {
	log.Fatalf("failed to update %+v", err)
}

Alternatively, you could use the user_metadata as described in this document.

Thanks for the answer @ewanharris,
We ended up using a custom struct to do those user updates


Login Language selector should always be top right positioned.

When the header overflows to more than one line, the language selector is vertically centered. It should always sit in the top right corner like when there is one line for the header.

Closing in favor of #1821 as we will no longer want the language selector in the login form.


Unable to serialize ComposeExtensionAttachment

Repro

Run any sample C# app that uses ToComposeExtensionAttachment() extension method (e.g. https://github.com/OfficeDev/microsoft-teams-sample-get-started/blob/master/CSharp/TeamsToDoApp/Compose/ComposeExtension.cs).
Serialization of https://github.com/OfficeDev/microsoft-teams-sample-get-started/blob/master/CSharp/TeamsToDoApp/Compose/ComposeExtension.cs#L75 blows up with the following error:

Self referencing loop detected for property 'preview' with type 'Microsoft.Bot.Connector.Attachment`

Cause
I suspect the cause of this issue is https://github.com/OfficeDev/BotBuilder-MicrosoftTeams/blob/master/CSharp/Library/Microsoft.Bot.Connector.Teams.Shared/AttachmentExtensions.cs#L60. If previewAttachment is null which is the default, it references itself and this eventually will blow up on JSON serialization.
Workaround
Don't use the extension method
                var composeExtensionAttachment = new ComposeExtensionAttachment
                {
                    Content = attachment.Content,
                    ContentType = attachment.ContentType,
                    ContentUrl = attachment.ContentUrl,
                    Name = attachment.Name,
                    ThumbnailUrl = attachment.ThumbnailUrl,
                };

Using https://www.nuget.org/packages/Microsoft.Bot.Connector.Teams/0.5.6 but looking through the commit history, I suspect this issue has been there since the feature was introduced.

This should be fixed in the latest release nuget. Please reopen if this is not the case.


Add total account value to summary page

It is already listed on Poloniex, but should not be difficult to add to the summary page.

it's not really "lending" bot specific
need to call 'returnCompleteBalances' and calculate the total

Yea, this would be handy. I still log into polo for that. It would be especially handy for me as we could apply output currency to it.

Started working on this.

I have an implementation working on this branch https://github.com/Mikadily/poloniexlendingbot/tree/total_account_value
Do you think we need to enable/disable the option in the configuration? default to disabled?

Should always be enabled, but (maybe) have a setting between all wallets or just lending.

It seems the api either returns all or exchange, no option to retrieve lending alone.

@rnevet https://github.com/Mikadily/poloniexlendingbot/blob/master/modules/Data.py#L129

Those are available balances, not taking offers, active loans.  We might have an internal value calculated of the total.


Is there any way to filter metrics before sending to HostedGrafana?

Question
Is there any way to filter metrics before sending to HostedGrafana?
My apps is sending tonnes of bucketed metrics for things like connecting to keyvault.

I know in the adaptive metrics in the hosted Grafana side I can drop those metrics or drop certain labels.

The problem is that the adaptive metrics don't provide fine grained enough control over which label values I want to keep or drop.
metric http_client_request_duration_seconds_bucket
has a label called server_address. If server_address = keyvault I want to drop those series, if not I want to keep them.

An official way of filtering metrics is being defined in the OpenTelemetry specification:
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#metricfilter
The AddView API in the OpenTelemetry .NET SDK allows for dropping metrics:
https://github.com/open-telemetry/opentelemetry-dotnet/tree/main/docs/metrics/customizing-the-sdk#drop-an-instrument
There is an overload that accepts a delegate that may allow for conditionally dropping metric points. I'm traveling currently but will take a look next week.

@matt-hensley I've looked into the addView feature of open telemetry and it doesn't appear to be able to drop metrics by filtering on a specific label as I described in the OP.

There is a proposal to add MetricProcessors to the specification, but it's not being actively worked on as of July 2024:
https://github.com/open-telemetry/opentelemetry-specification/issues/3617#issuecomment-2260864363
The only way to do filtering by metric label today is in Alloy/OTel Collector.
Examples:
Alloy
OTel Collector


Is publish/subscribe system supported ?

Hello is the pub/sub system supported, i cannot find it in the library ?
Thanks in advance!

Not yet. However we do support the list commands that you could use to create a queuing system, if you only have one subscriber.


subs: Scroll selected stream row into view on reload/settings modification.

This PR has a series of commits to fix #9982 with extensive CSS/JS refactoring.

Previously, there was a bunch of complex JS attempting to smoothly keep the currently active stream row visible in the subscriptions modal (such as in the case of automatic keyboard arrow navigation). By switching to use the scroll_util.scroll_element_into_container method, we can eliminate that.
The CSS overlays in the app (informational, settings, drafts, subscriptions, invites, etc.) all used differing styling. This commit attempts to normalize it a bit by using the same DOM structure and responsive width.
Overlay size changes cause considerable issues for subscription modal
stream row scrolling calculations because all stream rows are half
of their supposed height when the scrolling calculation method is
initialized.
The scroll_util.scroll_element_into_container method failed to account for padding in the stream rows, leading to miscalculated scrolling. Using innerHeight instead of height solved the issue.

@timabbott Any updates on this?

@timabbott Mind taking a look?


List/Grids that can't actually scroll should warn that repaint boundaries are being added, or just avoid adding them.

The app at the bottom of this issue adds repaint boundaries by default for the grid view, even though it is not scrollable by itself and is shrink wrapped. This means that some of the entries will be chosen as raster cache entries, but in reality the whole thing could/should be raster cached.
The default behavior of adding repatint boundaries makes sense for grid views that actually scroll. It does not make sense when the grid view is just being used as a static layout mechanism (effectively a set of rows and columns). We should warn developers about this case and encourage them to turn off repaint boundaries for this case.
/cc @flar @jonahwilliams @goderbauer
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: SizedBox(
          width: 350,
          child: ListView(
            children: <Widget>[
              Container(
                color: Colors.red,
                height: 45,
                width: 350,
                child: const Text('Header!'),
              ),
              const Divider(),
              Container(
                color: Colors.blue,
                height: 240,
                width: 350,
                child: const Text('Foo!'),
              ),
              const Divider(),
              GridView.count(
                crossAxisCount: 4,
                crossAxisSpacing: 20,
                mainAxisSpacing: 20,
                shrinkWrap: true,
                children: const <Widget>[
                  CircleAvatar(child: Text('AB')),
                  CircleAvatar(child: Text('CD')),
                  CircleAvatar(child: Text('EF')),
                  CircleAvatar(child: Text('GH')),
                  CircleAvatar(child: Text('BA')),
                  CircleAvatar(child: Text('DC')),
                  CircleAvatar(child: Text('FE')),
                  CircleAvatar(child: Text('HG')),
                ],
              ),
              const Divider(),
              Container(
                color: Colors.yellow,
                height: 140,
                width: 350,
                child: const Text('Bar!'),
              ),
              Container(
                color: Colors.green,
                height: 45,
                width: 350,
                child: const Text('Footer!'),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

This issue was discovered when looking at raster caching behavior in customer: money. That customer uses GridViews this way, and ends up with inefficient raster caching.

Here is a document discussing the performance in customer money: https://docs.google.com/document/d/1GlBVkJ99WY1X1wJ7xyCdsI_qhYaiQIRIITp_Snj3s9Q/edit?resourcekey=0-StI02EBd8ltGOcHlRvJYJg (sorry google only)

A better way to achieve what the example code is doing would be to have a CustomScrollView with a SliverList, a SliverGrid, and another SliverList following it. That also removes the need for the costly shrinkWrap. I haven't looked what this does to repaint boundaries, though.

FWIW in this application the UI thread is doing fine. The cost is entirely in what the framework is telling the engine to render

The example code is mainly meant to demonstrate what I mean by a Grid view that's shrink wrapped and can't scroll. The rest can be ignored :)

The problem with the auto-added repaint boundaries would also stay the same, I just checked.
On a case-by-case basis, those repaint-boundaries can be disabled by setting addRepaintBoundaries to false on the GridView or SliverGridDelegate. That's not necessarily easy to discover, though.

This means that some of the entries will be chosen as raster cache entries, but in reality the whole thing could/should be raster cached.

This is probably only true if the whole grid/list fits on one screen, though, right? If it doesn't, you'd be trashing the raster cache every time the outer ListView scrolls (at least in the sliver cases where the grid can actually lacily render its children in these situations).

You wouldn't thrash the cache in that case because it only applies after 3+ frames of stability, but you wouldn't get any benefits from it.
If you have a nested shrink wrapped list/grid, can it even scroll?

If you have a nested shrink wrapped list/grid, can it even scroll?

I think @goderbauer's point is that it could extend beyond the visible portion of the viewport it is in.

On a case-by-case basis, those repaint-boundaries can be disabled by setting addRepaintBoundaries to false on the GridView or SliverGridDelegate. That's not necessarily easy to discover, though, and also requires manual work.

The request in this bug is that an assertion be added to the framework that would fire if a developer misses this. I believe it should be discoverable in the example provided, and if an assertion fired I would know to go back and disable repaint boundaries in my widget.

It doesn't mattter if it extends beyond the visible viewport though, only if it can be internally scrolled. If it can't, then it is already protected by the repaint boundary from the parent widget.
Assertion would be fine, but I also think we should change how the default is calculated

It doesn't mattter if it extends beyond the visible viewport though, only if it can be internally scrolled. If it can't, then it is already protected by the repaint boundary from the parent widget.

What do you mean by internally scrolled? If you refactor this to actually use slivers, the SliverGrid will participate in regular scrolling and only paint what's necessary making it more efficient if the grid is larger than the viewport. I am not sure if any of that applies in the awkward shrinkWrap solution presented above, though.

FWIW, I am not opposed to making this smarter. (And ideally it should just automatically do the right thing instead of asserting and requiring manual work). I just want to make sure that we cover the relevant cases.

I'll be in the office shortly, lets discuss in person?

So open questions:
Can we detect, from a SliverGrid/List that you are shrinkwrapped in another viewport? i.e. try and look up some scrollable specific inherited widget. If so, we could assert and ask that repaint boundaries are disabled - though there might be cases where that shouldn't be the default.
Instead we might want to make the repaint boundary behavior conditional. That would be difficult as we'd have to detect what the user has asked vs what the default is since there is no easy way to tell if an argument has been passed or not passed.
We could also make a reduce test case using dan's example above, though we might need to make some of the widgets more complex

Joining in from @dnfield's comment here: https://discord.com/channels/608014603317936148/608021234516754444/971496850307809351
Most often I've seen folks use shrinkwrap for

Putting a List or Grid view in a Column so it is not unbounded
when nesting inside of another scroll view

in this case, the inner scrollview is the one that uses shrinkwrap and is not scrollable, using NeverScrollableScrollPhysics. This allows the content of that inner list to scrolls with the outer as if they are one list. The example above does not change the physics here, so the difference is that the gRidView can be scrolled independently from the ListView. See below.

Demo
https://user-images.githubusercontent.com/16964204/166819188-57b8c600-4848-4f11-990b-9954a2ddb7b3.mov

It's not ideal though, and @goderbauer's comment above about composing with slivers is much better for both cases, but developers seem to prefer just setting shrinkwrap rather than refactoring to use slivers.
We've been working on making them aware of what shrinkwrap acutally means and provide codelabs on composing with slivers, like here: https://www.youtube.com/watch?v=LUqDNnv_dh0&t=8s
There is a dartpad workshop link in the comments.
I know customer: money uses a lot of shrink wrapping. I tried to refactor some of their code to see if there could be some performance improvements a few months ago, but wasn't able to prove it was costly for them at the time.
We may be able to conditionally apply repaint boundaries based on the dimensions of the viewport and whether or not it can scroll. One edge case I can think of though is on desktop and web where the user can resize the window. Something that did not scroll previously can find itself in a very small window and need to scroll.

If something has neverscrollablephysics, it definitely can't scroll right?

I know customer: money uses a lot of shrink wrapping. I tried to refactor some of their code to see if there could be some performance improvements a few months ago, but wasn't able to prove it was costly for them at the time.

Yeah, this is one of those things that changes rasterization characteristics, but if you're not able to remove all of the extra layers (not just repaint boundary, but physical model and a few others), you will see 0 benefit.

I know customer: money uses a lot of shrink wrapping. I tried to refactor some of their code to see if there could be some performance improvements a few months ago, but wasn't able to prove it was costly for them at the time.

Some of that cost is coming right now not out of build times, but out of rasterization times. @jonahwilliams has more context there.

I think the only time shrinkwrap makes sense are the cases where actually having a nested scrollable makes sense, e.g. a text field within a longer column (like the text field I'm typing into right now on this web page).
I think if we asserted when you have a shrink-wrapped scrollable that can't actually scroll, we'd be in better shape.

In that case, it would likely be better to use a column/row/wrap as it wouldn't break up the picture

If something has neverscrollablephysics, it definitely can't scroll right?

Correct!

I think the only time shrinkwrap makes sense are the cases where actually having a nested scrollable makes sense, e.g. a text field within a longer column (like the text field I'm typing into right now on this web page).

Not necessarily. Only when giving it unbounded height. In you TextField case, the scroll view would likely be contianed within a SizedBox or some sort. No need to shrinkwrap if it is given bounds.

So what's a good motivating case for where you absolutely need to shrinkwrap?

I don't know. I do not know what the original motivation for it was.


Update README.md

I have updated Readme.md with sorting and searching algorithms and cipher text, although the sorting an searching algos haven't yet been implemented.

I'm merging it, but do implement the left out algos ASAP, or ask some of your friends to push it instead.

ok


client direct chat directly without room

Two clients can chat directly without a room, just because creating room is redundant and inconvenient at this scenario.

Rooms are pretty fundamental in persisting and transferring the information needed to have a conversation. Clients can't really talk to each other without p2p or some sort of server between them, which is what Matrix is.

But there need a way to chat directry between two clients. Maybe server can implement create room internal automaticly when two clients start to chat directly?

What scenario are you thinking of where you don't want a room?  Without a room, there will be no chat history, typing notifications, etc. because those things are only defined in the context of a room.


updated Readme.md

Please fill in the fields below to submit an issue or feature request.  The
more information that is provided, the better.
Description of issue or feature request:
Current behavior:
Expected behavior:

A mistake or spam?


pgsql_big_dedupe_example.py  issue

Thanks for your last answer !
I got a new error message when i compiled the pgsql_big_dedupe_example.py file.After the active learning step and the cross validation for \alpha, I obtained :
INFO:dedupe.blocking:Canopy: TfidfNGramCanopyPredicate: (0.8, name)
INFO:dedupe.training:Final predicate set:
INFO:dedupe.training:(SimplePredicate: (firstIntegerPredicate, name), SimplePredicate: (sameSevenCharStartPredicate, name))
INFO:dedupe.training:(SimplePredicate: (sameSevenCharStartPredicate, city), SimplePredicate: (twoGramFingerprint, name))
INFO:dedupe.training:(SimplePredicate: (commonIntegerPredicate, name), TfidfTextCanopyPredicate: (0.4, name))
INFO:dedupe.training:(SimplePredicate: (firstIntegerPredicate, address), TfidfTextCanopyPredicate: (0.6, address))
INFO:dedupe.training:(SimplePredicate: (commonTwoTokens, city), SimplePredicate: (firstIntegerPredicate, address))
Traceback (most recent call last):
File "pgsql_big_dedupe_example.py", line 163, in
deduper.writeSettings(sf)
File "/Applications/anaconda/lib/python3.5/site-packages/dedupe/api.py", line 142, in writeSettings
pickle.dump(self.data_model, file_obj)
TypeError: write() argument must be str, not bytes

Thanks, closed by https://github.com/datamade/dedupe-examples/commit/d6779f8308ece736cc5c60c7aa79ed4a8f03ddc7


Please add tokenColors to vscode theme

Very nice theme, thank you for it.
However, I am now trying to import it in zed for this could you please specify tokenColors for vscode theme?
Something like that

I took what stylix generated and added some overrides. I'll make a properly done theme when I actually have some time lol. It may be a long wait though.

If you have any pointers on how I could start making some generation stuff easily let me know

I understand. Thanks for your reply

Don't close this. I'll close this when I do actually make a proper theme lol

Just started working on a proper vscode theme. Theres now a vsix and it'll soon be on the marketplace. I'll figure out how to use tokenColors soon.

This is good news. Thanks for your time

V3 is getting proper semantic token highlighting!


[ZEPPELIN-3882] Neo4jInterpreter - Support Point and Date Types

What is this PR for?
Add the support for Point and Date data types introduced since Neo4j 3.4
What type of PR is it?
[Improvement] In order to allow users to use the Neo4j Interpreter with the last introduced Data types
Todos

[x] - Bumped Neo4j dependecies version
[x] - Added new data types to test

What is the Jira issue?

Put link here, and add ZEPPELIN-3882

How should this be tested?

Execute the unit tests

Screenshots (if appropriate)
Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

@felixcheung I'm back.

looks like you are blocked by https://github.com/apache/zeppelin/pull/3243
https://api.travis-ci.org/v3/job/461718800/log.txt

Can you give me a ping when it's ready?

@conker84 #3243 is fixed, could you rebase this PR ?

I did it, and travis it's green now:
https://travis-ci.org/conker84/zeppelin

@zjffdu ping

@zjffdu @felixcheung ping

Still no news?

I see it's green. not sure why the report above is not.

merging if no more comment

it looks like the github rebase and merge option is picking the last commit description

Github doesn’t let me edit title. I think committer should use the merge script and not the github Web UI.
If you think this is a problem, let me know

I've tested my wip pr by clicking squash and merge button on the pr page. I saw we could edit a title and commit messages as well. Could you please check it again?

Squash and merge seems like the right option,
https://help.github.com/articles/merging-a-pull-request/

@conker84 sorry, could you see if you could re open this PR so I can merge again?

@felixcheung Thanks a lot 👍


fix(CreateServiceModalCatalogPanelOption): fix redirect to catalog

Problem:
Clicking the "install a package" options redirects to an improper location and hence directs to the dashboard page. Demo:
https://cl.ly/0K0m0f2g0O2i
Fix:
Adding a slash before the "catalog" name fixes the problem. Now clicking the "install a package" will direct to the catalog page.
Checklist

[x] Did you add a JIRA issue in a commit message or as part of the branch name?
[ ] Did you add new unit tests?
[ ] Did you add new integration tests?
[ ] If this is a regression, did you write a test to catch this in the future?

As @weblancaster mentioned in the comment, this PR is a reluctant patch after quite a bit of time spent trying to find why this issue was actually happening.
The strange thing is, we could only reproduce this with an Enterprise configuration - toggling the enterprise flag causes this issue to disappear. This suggests something in the Enterprise routing was different, but we couldn't find what was happening, so we arrived at this simple fix.


tooltip position top will be in a strange position

The position of the tooltip is in a strange position if it is set to top, but it is normal if it is set to right.

top

right

I would need a sample HTML code to reproduce the issue

Thank you for your reply.
Here is an sample code.

I wonder if the conflict is caused by my use of the bootstrap plugin.

I need the HTML code, which is the one causing the issue.
The tooltip library is the same used by bootstrap, issue will be coming from the HTML code

Ok.
The html code is below.

I tried to reproduce here: https://jsfiddle.net/yd9pu26s/
There is no issue, I need the rest of your HTML code, in order to reproduce the issue, unless your page is online, and I can take a look?

Thank you for your help, I will debug it myself first
If it really still doesn't work, I'll post the link for you.

Usually, it's a matter of display: block|none|inline / position: relative|absolute etc.. in your css, for the containing tag

Ok, thank you, I will check it by myself first.


Saving/serializing ThingML models with XText

After loading a ThingMLModel, saving it to a file (either ThingML or XMI) using ThingMLCompiler.saveAs...(model, file), I get the following error and output:
No valid model found for ressource: file:/C:/Users/jakobho/Documents/GitHub/ThingML-xtext/testJar/src/main/resources/tests/datatypes.thingml
No valid model found for ressource: file:/C:/Users/jakobho/Documents/GitHub/ThingML-xtext/testJar/src/main/resources/tests/datatypes.thingml
No valid model found for ressource: file:/C:/Users/jakobho/Documents/GitHub/ThingML-xtext/testJar/src/main/resources/tests/datatypes.thingml
No valid model found for ressource: file:/C:/Users/jakobho/Documents/GitHub/ThingML-xtext/testJar/src/main/resources/tests/datatypes.thingml
No valid model found for ressource: file:/C:/Users/jakobho/Documents/GitHub/ThingML-xtext/testJar/src/main/resources/tests/datatypes.thingml
No valid model found for ressource: file:/C:/Users/jakobho/Documents/GitHub/ThingML-xtext/testJar/src/main/resources/tests/datatypes.thingml
No valid model found for ressource: file:/C:/Users/jakobho/Documents/GitHub/ThingML-xtext/testJar/src/main/resources/tests/datatypes.thingml
No valid model found for ressource: file:/C:/Users/jakobho/Documents/GitHub/ThingML-xtext/testJar/src/main/resources/tests/datatypes.thingml
No valid model found for ressource: file:/C:/Users/jakobho/Documents/GitHub/ThingML-xtext/testJar/src/main/resources/tests/datatypes.thingml
No valid model found for ressource: file:/C:/Users/jakobho/Documents/GitHub/ThingML-xtext/testJar/src/main/resources/tests/datatypes.thingml
No valid model found for ressource: file:/C:/Users/jakobho/Documents/GitHub/ThingML-xtext/testJar/src/main/resources/tests/datatypes.thingml
No valid model found for ressource: file:/C:/Users/jakobho/Documents/GitHub/ThingML-xtext/testJar/src/main/resources/tests/datatypes.thingml
No valid model found for ressource: file:/C:/Users/jakobho/Documents/GitHub/ThingML-xtext/testJar/src/main/resources/tests/datatypes.thingml
No valid model found for ressource: file:/C:/Users/jakobho/Documents/GitHub/ThingML-xtext/testJar/src/main/resources/tests/datatypes.thingml
No valid model found for ressource: file:/C:/Users/jakobho/Documents/GitHub/ThingML-xtext/testJar/src/main/resources/tests/datatypes.thingml
No valid model found for ressource: file:/C:/Users/jakobho/Documents/GitHub/ThingML-xtext/testJar/src/main/resources/tests/datatypes.thingml
No valid model found for ressource: file:/C:/Users/jakobho/Documents/GitHub/ThingML-xtext/testJar/src/main/resources/tests/datatypes.thingml
Unable to load resource ../thingml.thingml
Exception in thread "main" java.lang.RuntimeException: No EObjectDescription could be found in Scope Thing.includes for ThingMLModel.types[2]->Thing'Test'
Semantic Object: ThingMLModel.types[0]->Thing'TestInt16'
URI: file:/C:/Users/jakobho/Documents/GitHub/ThingML-xtext/testing/tmp/genCode/Types/Int16.thingml
EStructuralFeature: thingML::Thing.includes
        at org.eclipse.xtext.serializer.diagnostic.ISerializationDiagnostic$ExceptionThrowingAcceptor.accept(ISerializationDiagnostic.java:131)
        at org.eclipse.xtext.serializer.tokens.CrossReferenceSerializer.getCrossReferenceNameFromScope(CrossReferenceSerializer.java:138)
        at org.eclipse.xtext.serializer.tokens.CrossReferenceSerializer.serializeCrossRef(CrossReferenceSerializer.java:111)
        at org.eclipse.xtext.serializer.acceptor.SequenceFeeder.getToken(SequenceFeeder.java:481)
        at org.eclipse.xtext.serializer.acceptor.SequenceFeeder.accept(SequenceFeeder.java:262)
        at org.eclipse.xtext.serializer.sequencer.BacktrackingSemanticSequencer.accept(BacktrackingSemanticSequencer.java:434)
        at org.eclipse.xtext.serializer.sequencer.BacktrackingSemanticSequencer.createSequence(BacktrackingSemanticSequencer.java:501)
        at org.thingml.xtext.serializer.ThingMLSemanticSequencer.sequence_Thing(ThingMLSemanticSequencer.java:2185)
        at org.thingml.xtext.serializer.ThingMLSemanticSequencer.sequence(ThingMLSemanticSequencer.java:346)
        at org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer.createSequence(AbstractSemanticSequencer.java:67)
        at org.eclipse.xtext.serializer.acceptor.SequenceFeeder.acceptEObjectRuleCall(SequenceFeeder.java:325)
        at org.eclipse.xtext.serializer.acceptor.SequenceFeeder.acceptRuleCall(SequenceFeeder.java:352)
        at org.eclipse.xtext.serializer.acceptor.SequenceFeeder.accept(SequenceFeeder.java:263)
        at org.eclipse.xtext.serializer.sequencer.BacktrackingSemanticSequencer.accept(BacktrackingSemanticSequencer.java:434)
        at org.eclipse.xtext.serializer.sequencer.BacktrackingSemanticSequencer.createSequence(BacktrackingSemanticSequencer.java:501)
        at org.thingml.xtext.serializer.ThingMLSemanticSequencer.sequence_ThingMLModel(ThingMLSemanticSequencer.java:2157)
        at org.thingml.xtext.serializer.ThingMLSemanticSequencer.sequence(ThingMLSemanticSequencer.java:349)
        at org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer.createSequence(AbstractSemanticSequencer.java:67)
        at org.eclipse.xtext.serializer.impl.Serializer.serialize(Serializer.java:115)
        at org.eclipse.xtext.serializer.impl.Serializer.serialize(Serializer.java:128)
        at org.eclipse.xtext.serializer.impl.Serializer.serialize(Serializer.java:192)
        at org.eclipse.xtext.resource.XtextResource.doSave(XtextResource.java:386)
        at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(ResourceImpl.java:1430)
        at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(ResourceImpl.java:999)
        at org.thingml.compilers.ThingMLCompiler.save(ThingMLCompiler.java:170)
        at org.thingml.compilers.ThingMLCompiler.saveAsXMI(ThingMLCompiler.java:178)
        at org.thingml.testing.commandline.Main.main(Main.java:198)

Seems like dependent models (e.g. datatypes.thingml) using import and not properly put in the Resource Set when saving, breaking some references (e.g. property cannot resolve their types). We should make sure we add all dependent resource when saving.

I don't know if it's relevant, but I don't want to save the import "..." statement. I would like it to save the full ThingML model so that it can be loaded again from this single file.
Is the import "..." statement part of the ThingML model, or is it simply a keyword for the parser to also include other files while parsing the file?

I guess this is solved now? If not, re-open

Well, yes, kind-of. I was trying to save .thingml-files with imports, which you can now do with flattening.
But saving the original models still doesn't work. But I'm completely fine with that :metal:


I'm Interested on becoming a Maintainer of napalm-huawei-vrp

Hi @tkspuk
I'm writing because i'm very interested on becoming a maintainer of this repository. I have used this driver in a project and developed multiple methods to add support for other Huawei devices, routers specifically: NE40E-X2, NE40E-X16, NE8000 and ATN 910C.
I know i can simply make pull request  and wait for your approval, but i want to be an active contributor adding codes and reviewing others people Pull requests and issues.
Regards

I asked Mircea and he invited me. @tkspuk when you read these messages please share with me your email.


A question about setting tokens

why set tokenizer.pad_token_id = 0 ？
llama model  vocabl pad_token="<0x00>": 3  ，unk_token="": 0.
Why not set it to 3 here?
I think it should be set to tokenizer.pad_token_id = 3.
I hope everyone can answer for me，thank

why set tokenizer.pad_token_id = 0 ？ llama model vocabl pad_token="<0x00>": 3 ，unk_token="": 0. Why not set it to 3 here? I think it should be set to tokenizer.pad_token_id = 3. I hope everyone can answer for me，thank

tokenizer.pad_token_id = 0 is from the alpaca-lora project and works well. But, tokenizer.pad_token_id = 3 may be more reasonable.


Support Third-Party simulate (verify on ncverilog and vcs only)

This feature enable full system debug in verilog environment with fsdb waveform database
Usage example: make build.bluesim.vcs

travis-ci fails because the LM_LICENSE_FILE is encrypted and not available to branches or pull requests so that check can be ignored.

I added boardinfo for vcs and ncverilog boards.

make build.vcs
......
make[1]: *** No rule to make target 'vcssim', needed by 'bits'.

In your pull request, please add a rule to build vcssim.
On Thu, Jun 9, 2016 at 4:43 PM Min Chen<EMAIL_ADDRESS>wrote:

make build.vcs
......
make[1]: *** No rule to make target 'vcssim', needed by 'bits'.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cambridgehackers/connectal/pull/121#issuecomment-225020238,
or mute the thread
https://github.com/notifications/unsubscribe/ACU3sykpiKTc4hv6ej9FHo15JSpb_cgMks5qKHrcgaJpZM4IxdTV
.

I don't add new target because, I want not use SVDPI, because DPI interface depends on simulate and its version, the BDPI is more compatible on simulate/debug environment.
But current code support BDPI on board_bluesim only, so I use sub-target based on bluesim.

In my experience BDPI also depends on the simulator. Xilinx xsim does not
support Verilog VPI, so BDPI does not work with that simulator. If you
generate verilog from BSV with BDPI, then I have seen it generate the VPI
headers. I do not think you have to use bsc to run the verilog simulator.
However, the way connectal applications talk to connectal hardware does
require SystemVerilog DPI. I assume ncverilog and vcs support this?
On Wed, Jun 15, 2016 at 5:42 PM Min Chen<EMAIL_ADDRESS>wrote:

I don't add new target because, I want not use SVDPI, because DPI
interface depends on simulate and its version, the BDPI is more compatible
on simulate/debug environment.
But current code support BDPI on board_bluesim only, so I use sub-target
based on bluesim.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cambridgehackers/connectal/pull/121#issuecomment-226329075,
or mute the thread
https://github.com/notifications/unsubscribe/ACU3sx7aRnMhfEvaOFHLn6MdZHd4MWBcks5qMHHKgaJpZM4IxdTV
.

so I use format build.bluesim.vcs, it may generate DPI wrapper on bsc supported simulate.
btw: I know we may get VPI header files, but BDPI control by Board_bluesim, and bsc can't handle `if

I don't want to use board name bluesim.vcs. If we need additional defines
to work around limitations of SystemVerilog preprocessors, we can add them
to boardinfo/vcs.json etc.
On Wed, Jun 15, 2016 at 6:05 PM Min Chen<EMAIL_ADDRESS>wrote:

so I use format build.bluesim.vcs, it may generate DPI wrapper on bsc
supported simulate.
btw: I know we may get VPI header files, but BDPI control by
Board_bluesim, and bsc can't handle `if
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cambridgehackers/connectal/pull/121#issuecomment-226334297,
or mute the thread
https://github.com/notifications/unsubscribe/ACU3s6DlZSijDqZ6MoKiFsBIdNMaNnYsks5qMHc9gaJpZM4IxdTV
.

it is not board name, it means  based on bluesim with extra vsim option vcs


Penalty kicker is always robot 1

Current implementation of is_penalty_kicker(team, id) does not take into account the fact that other robots of the same team might have received a red card.
The penalty kicker should always be the player with the lowest id of the team.

What if player number 1 has no red card, but has currently a 30 second penalty removal? Shall we decide that the penalty kicker is number 2 in that case?

The penalty kicker should be chosen after setting state to SET. In theory, the GameController should remove the penalty of all robots when entering state SET (if it doesn't, that's a bug). So no player should be penalized  when this function is called.

I believe that #177 now fixes this issue.

Perfect, I will add issues to test them and merge it afterwards since it is not urgent I think.


[AIRFLOW-1914] Add other charset support to email utils

Make sure you have checked all steps below.
JIRA

[x] My PR addresses the following Airflow JIRA issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-1914
In case you are fixing a typo in the documentation you can prepend your commit with [AIRFLOW-XXX], code changes always need a JIRA issue.

Description

[x] Here are some details about my PR, including screenshots of any UI changes:

The built-in email utils does not support
multibyte string content, for example,
Japanese or emojis. The fix is to add
mime_charset parameter to allow for other
values such as utf-8.
Tests

[x] My PR does not need testing for this extremely good reason:

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[x] In case of new functionality, my PR adds documentation that describes how to use it.

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.

Code Quality

[x] Passes git diff upstream/master -u -- "*.py" | flake8 --diff

@wolfier Could you also add a test?

Codecov Report

Merging #3308 into master will increase coverage by 0.04%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master    #3308      +/-   ##
==========================================
+ Coverage   75.84%   75.88%   +0.04%
==========================================
  Files         197      197
  Lines       14728    14729       +1
==========================================
+ Hits        11170    11177       +7
+ Misses       3558     3552       -6

Impacted Files
Coverage Δ

airflow/operators/email_operator.py
0% <0%> (ø)
:arrow_up:

airflow/utils/email.py
97.4% <100%> (ø)
:arrow_up:

airflow/models.py
86.64% <0%> (-0.05%)
:arrow_down:

airflow/www/views.py
71.39% <0%> (+0.13%)
:arrow_up:

airflow/jobs.py
82.83% <0%> (+0.26%)
:arrow_up:

airflow/utils/dag_processing.py
88.88% <0%> (+0.85%)
:arrow_up:

airflow/utils/state.py
96.66% <0%> (+3.33%)
:arrow_up:

Continue to review full report at Codecov.

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

added test_send_smtp_with_multibyte_content in tests/core.py


Add Ruby 3.2 to build matrix

Blocked until a compatible version of the appraisal gem is released
https://github.com/thoughtbot/appraisal/issues/199
https://github.com/thoughtbot/appraisal/issues/204


dpg, update commit id for 3 libs

sync spec for this PR https://github.com/Azure/azure-rest-api-specs/pull/31453
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.

/check-enforcer override


NCD - Labs - Creatinine test - replace Urea + Nirtogen with BUN  [2h]

Changes had to be made to the lab results input screen for creatinine. Urea + Nirtogen results are a combo result called BUN. Updated in figma.

https://nutrition-ihangane.pantheonsite.io/
QA Review
Checked and approved:

Creatinine Lab results are updated with BUN result.


Error: dns service error: no such record

I installed with npm install -g chromecast-osx-audio
When I run chromecast or chromecast -l I get:
$ chromecast -l
Devices available for casting:
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: dns service error: no such record
    at Error (native)
    at MDNSService.on_get_addr_info_done (/usr/local/lib/node_modules/chromecast-osx-audio/node_modules/mdns/lib/resolver_sequence_tasks.js:72:30)
    at SocketWatcher.MDNSService.self.watcher.callback (/usr/local/lib/node_modules/chromecast-osx-audio/node_modules/mdns/lib/mdns_service.js:18:40)

I have two Chromecasts on 2.4 GHz, and I get the same thing when the MacBook Pro is connected to 2.4 GHz or 5GHz.
I also get this https://github.com/andresgottlieb/soundcast/issues/32 when using soundcast, which uses node-chromecast-osx-audio.
Any ideas?

I've hacked this up to get it working.
First, I edited the file throwing the error:
/usr/local/lib/node_modules/chromecast-osx-audio/node_modules/mdns/lib/resolver_sequence_tasks.js:72:30
And changed
          if (error) {
            adr_getter.stop()
            next(error);
          } else {

to:
          if (false) {
            adr_getter.stop()
            next(error);
          } else {

Then I rebooted after installing soundflower (it'd be great to include the "How about the Chromecast?" section of http://milkandtang.com/blog/2014/09/26/nodejs-mac-osx-audio-and-a-chromecast/ in this README).
Then selected “Soundflower (2ch)” as both input and output (also from the blogpost).

@hugovk interesting; thanks for opening up an issue at the upstream library! while i never encountered this issue myself, I unfortunately don't have a macOS laptop any longer to test this on. i wouldn't be surprised if this is an issue with a newer version of node.js or something; have you tried with an older version to see if the same error occurs?
(also, thanks tons for the README contributions! that definitely needed some filling in)

I tried with Node v0.12.16 but the same problem occurs, and the same hack works.
brew unlink node
brew install homebrew/versions/node012
npm uninstall -g chromecast-osx-audio
npm install -g chromecast-osx-audio
chromecast -l

Hopefully the upstream issue can help :)


Revert "[ENH] Add Kubernetes pod name to traces (#3101)"

This reverts commit 5eb4da3999f54aa6dbaec4f3215700877a7a9243.

Talking at lunch, this is one of two commits implicated in coalesced traces.  The other commit is less likely to be at fault, so reverting this one first.


Add documentation for Security rule CA5366 (UseXmlReaderForDataSetReadXml) in FxCopAnalyzers

Rule implementation: https://github.com/dotnet/roslyn-analyzers/blob/master/src/Microsoft.NetCore.Analyzers/Core/Security/UseXmlReaderForDataSetReadXml.cs#L12

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

ID: f1295961-36c4-75a0-f50a-c5d86159746c
Version Independent ID: 3d4bba1e-0d05-f577-3b78-65dd6ab10635
Content: Security Warnings - Visual Studio
Content Source: docs/code-quality/security-warnings.md
Product: visual-studio-windows
Technology: vs-ide-code-analysis
GitHub Login: @gewarren
Microsoft Alias: gewarren

Bootsrapped: https://github.com/paulomorgado/MicrosoftDocs-visualstudio-docs/tree/paulomorgado/ca5366

Doc is live
https://docs.microsoft.com/en-us/visualstudio/code-quality/ca5366?view=vs-2019


Problem with vkWaitDeviceIdle() in Validation Layers

(Moved from LunarXchange 551)
Environment
Win 8.1 x64
NV GTX 1080
368.39
<IP_ADDRESS>
Description
Guys, this could be me (of course:), but I think I've found another issue...
Looks like function vkWaitDeviceIdle() does not reset tracking of vulkan objects, while it should... at least I think so. Anyway, here's an example:
using N descriptor sets...
vkQueueSubmit()
....
vkQueueSubmit()
vkWaitDeviceIdle()
free N descriptor sets
bind new desc sets (definately new!)
vkQueueSubmit() - validation error (using deleted DSs!), or sometimes even crash inside VLs.
Looks like tracking of used DSs left in VLs, while vkWaitDeviceIdle() should remove those from "tracking list". Yes, w/o VL everything works fine accross lot of vendors and platforms. :)
Regards, DEN

@chrisforbes has completely reworked the fence tracking code recently, to great benefit.  It's likely that this is no longer an issue on Master or in the imminent SDK.

@karl-lunarg does this happen w/ latest SDK? Master? It looks like user was hitting one or maybe two previously fixed issues.

We've asked the LunarXchange submitter to try it on SDK 1.0.17.   If we don't hear back shortly, we'll have to construct a repro case.

LunarXchange user reports that this is fixed with 1.0.17.


[Umbrella][Manager] Refactor the inlong group interfaces to support easily extending different MQs

Describe the proposal
Refactor the inlong group interfaces to support easily extending different MQs.
Task list

[x] #4270 @healchow
[x] #4274 @healchow
[x] #4295 @healchow
[x] #4337 @healchow

InLong Component
InLong Manager
Are you willing to submit PR?

[X] Yes, I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Supported.


[BUG] CIF Bugfix

Fixes #1690 and adds a test to prevent similar issues.

does it need check_X_y? That should be handled in the BaseClassifier?

It extends sklearn BaseEstimator, because it is not a time series classifier. This and RotationForest currently only accept 2d numpy arrays (or 3d numpy arrays with 1 dimension).
I'm not even sure if they are visible publicly, they are in contrib and the files are private.

It extends sklearn BaseEstimator, because it is not a time series classifier. This and RotationForest currently only accept 2d numpy arrays (or 3d numpy arrays with 1 dimension).
I'm not even sure if they are visible publicly, they are in contrib and the files are private.

ah ok, no problem. As an aside, I think rotation forest could come out of contrib, just not sure where to put it!

as said, this does not conform with the TSC template but is in fact an sklearn classifier. You say it is not a TSC. But how does this fit with the docstring which says it is TSC?

Which part of the docstring indicates it is a time series classifier? I think it is fine, but if it is confusing from a different perspective, I can change it. The original name for the tree from its paper was Time Series Tree, but I renamed it to its current name as the previous was pretty general and confusing.
It is pretty much only meant as a base classifier for two of our interval_based ensembles, which is why it is private and relegated to contrib.

is adding a test which tests statistical performance a good idea? If yes, why do we add this only for CIT an not for estimators in general? What is specific about CIT?

Fair enough. Don't really need to compare accuracies to determine whether the CIF specific functions work. Removed it.

you can remove return_X_y=True from the loading. We will need to update this when check_X get deprecated, probably 0.11 now. The comments seem fine, We need to resolve what to do with both this and RotationForest, they should not stay in contrib, but we can do that in another PR, I'll raise an issue

I think return_X_y is going to be similar for all tests, will deal with it in the classification test refactor we talked about in the pipeline PR.
@fkiraly Are you fine with this PR? If the docs are still an issue, I can make some changes for parts you suggest are unclear.


odo dev --debug not starting the application with default Node.JS Devfile

/kind bug
/area dev
What versions of software are you using?
Operating System:
Fedora 36
Output of odo version:
odo v3.0.0-rc1 (6c6f8ef5a)
How did you run odo exactly?
odo init --name test-nodejs --devfile nodejs --starter nodejs-starter

odo dev --debug

Actual behavior
Looks like the Debug command fails to start.
❯ odo dev --debug
  __
 /  \__     Developing using the test-nodejs Devfile
 \__/  \    Namespace: default
 /  \__/    odo version: v3.0.0-rc1
 \__/

↪ Deploying to the cluster in developer mode
 •  Waiting for Kubernetes resources  ...
 ⚠  Pod is Pending
 ✓  Pod is Running
 ✓  Syncing files into the container [113ms]
 ✓  Building your application in container on cluster (command: install) [3s]
 •  Executing the application (command: debug)  ...
 ✗  Finished executing the application (command: debug) [530ms]
 ⚠  Devfile command "debug" exited with an error status in 20 second(s)
 ⚠  Last 100 lines of log:
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile

added 64 packages, and audited 65 packages in 3s

found 0 vulnerabilities
npm notice
npm notice New minor version of npm available! 8.3.1 -> 8.19.1
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.19.1>
npm notice Run `npm install -g<EMAIL_ADDRESS>to update!
npm notice

><EMAIL_ADDRESS>debug
> node --inspect=${DEBUG_PORT} server.js

node: --inspect= requires an argument
 -  Forwarding from <IP_ADDRESS>:40004 -> 3000

Watching for changes in the current directory /tmp/nodejs
Press Ctrl+c to exit `odo dev` and delete resources from the cluster

Expected behavior
The debug command should be running, so users can start debugging their application.
I didn't investigate that much, but per the error message (node: --inspect= requires an argument), it looks like the Devfile we downloaded from the registry does not have the DEBUG_PORT environment variable in the container component. So maybe this is an issue for the Devfile registry repo instead.
components:
- container:
    endpoints:
    - name: http-node
      targetPort: 3000
    image: registry.access.redhat.com/ubi8/nodejs-16:latest
    memoryLimit: 1024Mi
    mountSources: true
  name: runtime
metadata:

Created a PR on the Devfile registry side to add this missing DEBUG_PORT environment variable: https://github.com/devfile/registry/pull/121

/status blocked
Blocked on https://github.com/devfile/registry/pull/121

Marking this issue as solved as https://github.com/devfile/registry/pull/121 has already been merged 25 days ago.

/close


Remove transform method

Wow, this is hard to tell what actually changed because of spacing issues. Is there any way to fix that?

Hey Josh, you can add ?w=1 to the end of the URL in github to ignore whitespace.

Chris, thanks! That helps a ton.


Frame graph in MRTK3's Visual Profile is always green, even when not at 60hz

Describe the bug
The VisualProfiler in com.microsoft.mixedreality.visualprofiler doesn't correctly update its frame graph.  Even though the framerate is less than 60Hz on HL2, the graph still shows green frames.
To reproduce
Steps to reproduce the behavior:

Add com.microsoft.mixedreality.visualprofiler package to project
Add VisualProfiler to some empty game object
Write some poor code that will result in a < 60 Hz framerate while on HL2
Deploy add to HL2
Confirm framerate is < 60 Hz
See VisualProfile shows all green frames with the frame graph/

Expected behavior
Expected some red or yellow frames in the graph.
Screenshots

Note: Screenshot is from Editor, not from HL2.  Issue was observed on HL2 only.
Your setup (please complete the following information)

Unity Version: 2020.3.42
MRTK Version: MRTK3
MRTK Visual Profile 2.2.-

Target platform (please complete the following information)

HoloLens 2

Additional context
This issue was originally observed in MRTK3 version of ARRS

There is a better version of the VisualProfiler at https://github.com/microsoft/VisualProfiler-Unity.git.   This works well.
We should consider removing VisualProfiler from MRTK3

Once VisualProfiler is removed, udate documents to point to  https://github.com/microsoft/VisualProfiler-Unity.git.


add new content - hue interpolation

Add hue interpolation to existing gradient section with description, code snippet and example

Content added 👍
Next stage to add styling to show examples of interpolation in gradients


feat: handle base64 image urls android

This PR adds support for base64 images in the URL/source on android.
This already works on iOS, however on android it is not supported. By handling the case where the source is a base64 image the consistency of the API is improved.

Thanks @CreatlV!


SITL: Configure mavlink to connect just to localhost

For SITL gazebo configuration in configuration file the destination address (localhost) is specified.
@LorenzMeier

Thanks! Rebased and applied.


Debug mode seems to be broken on the nodejs latest version on openshift 4.3

Debug mode seems to be broken on the nodejs latest version on openshift 4.3
Originally posted by @girishramnani in https://github.com/openshift/odo/issues/2359#issuecomment-550284845

/kind bug
/priority high

This issue has been fixed by the PR https://github.com/openshift/odo/pull/2427
Testing results:
CRC version:
➜  ~ crc version
crc version: 1.3.0-dev+b0d660e
OpenShift version: 4.3.0-0.nightly-2019-11-25-153929 (embedded in binary)

odo-init-image: "registry.access.redhat.com/openshiftdo/odo-init-image-rhel7:1.0.1"
assemble-and-restart script correctly identifying the language:
++ /opt/odo/bin/getlanguage
+ IMAGE_LANG=nodejs
+ '[' -f /tmp/.s2i/bin/run ']'
+ '[' '!' -z nodejs ']'

node.js application starting correctly with debugger:
+ echo 'Launching via nodemon...'
+ exec npx nodemon --inspect=5858
[nodemon] master: <none>
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node --inspect=5858 server.js`
Debugger listening on ws://<IP_ADDRESS>:5858/35541d56-eb98-486c-9ad8-c09ad0505796      <------ Debugger started
For help, see: https://nodejs.org/en/docs/inspector
Server running on http://<IP_ADDRESS>:8080
time="2019-12-05T07:15:31Z" level=debug msg="wait program exit" program=run

odo catalog list:
➜  ~ odo catalog list components
Odo Supported OpenShift Components:
NAME       PROJECT       TAGS
java       openshift     11,8,latest
nodejs     openshift     10-SCL,8,8-RHOAR,latest


ext_proc: support HeaderAppendAction in mutation utils

Description
Previously, ext_proc only supported the deprecated append field in HeaderValueOption for header mutations, ignoring the newer append_action field. This meant users could only choose between replacing a header value or appending to it, without access to more granular controls like ADD_IF_ABSENT or OVERWRITE_IF_EXISTS.
In this PR, we are adding support for all HeaderAppendAction values in ext_proc header mutations. Default behavior would be changed to append when no action is specified. This behavior could be temporarily reverted with runtime guard envoy.reloadable_features.ext_proc_legacy_append. We maintain the backward compatibility with the legacy append field.
The following actions are now supported:

APPEND_IF_EXISTS_OR_ADD: Appends to existing headers or adds new ones
ADD_IF_ABSENT: Only adds if header doesn't exist
OVERWRITE_IF_EXISTS: Only overwrites if header exists
OVERWRITE_IF_EXISTS_OR_ADD: Always overwrites or adds

Fixes #36982

Commit Message: ext_proc: support HeaderAppendAction in mutation utils
Additional Description: Add support for HeaderAppendAction in the ext_proc header mutations.
Risk Level: Low
Testing: Added unit tests covering all append_action behaviors and interaction with legacy append
Docs Changes: Added behavior change notice for the default append behavior
Release Note: Added release note about header mutation behavior change

/assign @tyxia

/assign @yanjunxiang-google

gentle ping @yanjunxiang-google
/wait-any

/retest

/retest

Haven't had chance to look into this PR yet.
FYI: there is another PR trying this before: https://github.com/envoyproxy/envoy/pull/29862.

/wait-any


Installing fstar-mode does not seem to work with Emacs 25.0.95

Hi @cpitclaudel.
I just installed the fstar-mode 20160701.309 package through melpa on Emacs <IP_ADDRESS> but M-x fstar-mode gives me the following error: byte-code: Symbol’s function definition is void: seq-do
I think it might be related to my flycheck (20160622.952) and/or my seq (2.3-builtin) packages but I am not sure exactly what happens... Do you have any clue about this ?
Thanks a lot ! ;) Ben
(I just installed on my mac the --devel version of emacs with Homebrew because the stable version had some updating bugs)

Hmmm. Let me look into this. I use emacs 25 as well.

I think the problem is not directly with fstar-mode (it doesn't use seq-do), but more likely with an interaction of updated and non-updated things. Can you try updating all your packages? (U in list-packages)

Also, try installing it after M-x toggle-debug-on-error; this will give us a backtrace :)

Ok, trying that. Thanks ;)

So I did remove all my packages and my entire ~/.emacs.d first.
Then enabled toggle-debug-on-error.
When I run M-x package-install fstar-mode I get:
Compiling file /Users/bbeurdouche/.emacs.d/elpa/fstar-mode-20160701.309/fstar-mode.el at Sat Jul  2 16:43:31 2016
Entering directory ‘/Users/bbeurdouche/.emacs.d/elpa/fstar-mode-20160701.309/’
fstar-mode.el:46:1:Error: Symbol’s function definition is void: seq-do

It points to line 46 which is empty so I am tempted to say it might be line 45 (require 'flycheck nil t).
By the way, dash has properly been installed but not flycheck

This is so strange. There's nothing on line 46, and flycheck isn't required (the nil t part on that line says it's optional)

Hmm. Try to install the seq package first?

seq version 2.3 is a builtin, so I have it and it was there when installing :/

Actually, here's an easier test:
$ cd /tmp/
$ mkdir sandbox/
$ emacs -Q \
		--eval '(setq user-emacs-directory "./sandbox")' \
		-l package \
		--eval "(add-to-list 'package-archives '(\"gnu\" . \"http://elpa.gnu.org/packages/\") t)" \
		--eval "(add-to-list 'package-archives '(\"melpa\" . \"https://melpa.org/packages/\") t)" \
		--eval "(package-refresh-contents)" \
		--eval "(package-initialize)"

This will run a clean copy of emacs, using /tmp/sandbox as your emacs directory. In that clean Emacs, try running M-x package-install fstar-mode

Hum. Interesting. This is working ! Means the problem is really on my end...

All right, at least this is starting to make sense :)
You said you deleted your .emacs.d, right? Presumably there are other, system wide files that are confusing emacs somewhere. In your regular (non -Q) Emacs, can you try M-x find-library seq? Which file does this open (IOW, where is seq loaded from?).  Does that file contain a seq-do? What happens when you do M-x describe-function seq-do?

It contains:
...
;;; Version 2.16
...
;;; Code:

(if (version< emacs-version "25")
    (require 'seq-24)
  (require 'seq-25))

(provide 'seq)
;;; seq.el ends here

Ok. I am attempting a complete cleanup to check where something went wrong...

Thanks. Where is that file?

 /usr/local/share/emacs/site-lisp/seq/

Neat, thanks. There's something strange happening here. The source code that you showed probably comes from an ELPA/MELPA install; the version that (should) ship with emacs is 2.3, and it doesn't include this if version test (at least that's what I get from looking at the sources of Emacs 25.0.95)

To confirm this, can you try the same (find-library and check the file name) from the sandboxed emacs launched as I wrote above?

Yep. Does not look the same at all...
;; Version: 2.3
;; Package: seq

and the path is :
/usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/emacs-lisp/

Ok, perfect. I think I understand now :)
The /usr/local/share/emacs/site-lisp/ directory is a leftover from a previous Emacs 24 install, while the /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/emacs-lisp/ one is from your new Emacs 25 install (presumably you used a different method for the old (24) and the new (25) install?).
Make sure that the old version is fully uninstalled, and things should work fine :)

No, and usually there is no such leftovers when uninstalling  a homebrew formula :s
Maybe the formula itself has a bug. I'll have a look at it later..
Well thanks a lot for the help ;) And again thanks for the fstar-mode which is super Super! useful ;)
Best ! B.

My pleasure :) Enjoy!


help fix corrupted datasets!

difficulty: advanced/creative
oh no datasets are corrupted! your mission, should you choose to accept, is to save them!
lol but fr we need a way to, if the user's tensor_meta.json/dataset_meta.json files get messed up, try to re-create them.
basically a tensor_meta.json contains:

length
min_shape <-- need to iterate over the whole dataset
max_shape <-- also need to iterate over whole dataset
dtype
type
etc. (there's a file in the codebase dedicated to these -- try to find it!)

and dataset_meta.json contains:

tensor names
groups
etc. (this also has a dedicated file)

make sure you try to reconstruct all variables if possible. some hiccups may occur; for example mixed datatypes or compressions. don't worry too much about the edge cases, we can always make changes later!
bond, we need your help!
i already started implementing this, so make sure you pull in that branch to get started!
good luck 😀

@nollied I would like to work under this issue.Kindly assign me


Error on scan when there's a 'Where' with an 'or' inside - Invalid FilterExpression: The expression has redundant parentheses;

Describe the bug
I wanted to filter a scan  using 2 attributes, so I'm using an Or expression with 2 attribute('attribute').beginsWith(var) inside.
When I run the code under 'steps to reproduce', I get a Invalid FilterExpression: The expression has redundant parentheses; from CloudWatch logs.
When I print query.params, being query my ScanRequest I get the following object:
{
    TableName: 'My_Dynamo_Table',
    Limit: 10,
    ExpressionAttributeNames: { '#fullName': 'fullName', '#country': 'country' },
    ExpressionAttributeValues: { ':fullName': { S: 'gua' }, ':country': { S: 'gua' } },
    FilterExpression: '((begins_with (#fullName, :fullName) OR begins_with (#country, :country)))'
}

Note the extra parentheses at Filter Expression
OBS: If only 1 condition is passed using whereAttribute('attribute').beginsWith(var) it works just fine.
To Reproduce
Steps to reproduce the behavior:
Just try to scan a table with 2 or more conditions inside an or operation:
public async find(startKey?: string, filter?: string): Promise<[Entity[], DynamoDB.Key]> {

        const scanRequest= this.store.scan().limit(10);

        if (startKey) { query.exclusiveStartKey(JSON.parse(startKey)); }

        if (filter) {
            scanRequest.where(or(
                attribute('fullName').beginsWith(filter),
                attribute('country').beginsWith(filter)
            ));
        }
        const response = await scanRequest.execFullResponse();
        return [response.Items, response.LastEvaluatedKey];
}

Expected behavior
Expected to filter scan results by both conditions.
Desktop (please complete the following information):

Nodejs 8.10
AWS' Lambda Environment.

Additional context
This is my first time working with dynamo and dynamo-easy, so this may be an error of mine.

The workaround I found, in case someone else is with the same problem is to apply a slice(1, -1) at scanReq.params.FilterExpression so it removes the initial and final parentheses of the filter.

@simonmumenthaler : could you have a look


Receiving an attachment from facebook in C#

SDK Platform
.Net
URL of Code Sample
https://github.com/Microsoft/BotBuilder-Samples/tree/master/CSharp/core-ReceiveAttachment
Problem Description
How do you receive attachments from the facebook messenger channel? the sample code doesn't appear to work with facebook messenger but it does with other channels.
PromptDialog.Attachment seems to give an error aswell.

Thanks for reporting this, can you answer some follow-up questions please?  What type of file(s) are you trying to upload?  Which version of the SDK are you using (3.xx.x.x)? What channel(s) is it working in for you?  Are you just using the code from the sample or is there anything you have added?

I've figured out the problem. The problem is due to the Name property being empty. Thanks for your help.


Is ByteSequence necessary?

May i know if ByteSequence is necessary?  GRPC interface require us to input ByteString param as key and value. why not just directly use ByteString.copyFrom("targetString")  to return ByteString ?  Look forward to your reply.

The reason for using ByteSequence  instead of Bytestring is to hide implementation detail. Jetcd interface shouldn't depend on protobuf type.

Then why not just use String as Jetcd interface's param?  In implementation we can transform String to ByteString directly.

@smartminghan what if you don't want to use string as the key but with arbitrary bytes? have an interface that takes bytes is more generic.

closing. reopen if you have more questions.


Export google proposal for jw3 to github, so we can comment and do diffs/prs, etc.

I'm now in the process, but this is a tracking bug.
Question for @JakeWharton, @swankjesse, @gk5885 - are we wanting square/javawriter to be the source of this?  In this case, I'll make sure that google/javawriter is a fork of square/javawriter, and we do pulls that way.  Or do we wnat to go the other direction, or what?  I'm ok with any of it, just want to know which way to orient these repos.

This is done.


[PORT]f1b5cffa0081d12aecf6600447ccae32cb752925, Fixed: Mass Curse spell not working correctly

Revision: https://github.com/Sphereserver/Source/commit/f1b5cffa0081d12aecf6600447ccae32cb752925
Author: Coruja<EMAIL_ADDRESS>Date: 21/12/2016 06:52:38
Message:
Fixed: Mass Curse spell not working correctly

I think this one needs a little more understanding because, at first sight, it seems that mass curse will not do props/buff updates with COMBAT_ELEMENTAL_ENGINE set

Seems like this has already ported, so maybe we can close that issue.

So is everything working with mass curse?

I haven't tried but seems like it's already ported, for me everything seems fine but I can make some test and can edit this message for result.

Anyway I found out the reason is script side, when you haven't set duration under spell it causes spell effect stay still because timer is -1.


Transportation controller error

Description: the learned PPO controller can control the robot smoothly in our simplified environment, but in new environment cannot even hover.
Performacen comparision

bullet
handcrafted

bullet

moving forward and backward

bullet
handcrafted

🔔 Note: it seems that the controller in Pybullet environment dose not matches real world very much. Which means the command should be more aggresive rather than current slow changes.


font-size + title

bigger font size + title in head

please enable github pages, and put link to it in website area of main repo

⁉

I'm not willing to change the font size, sorry - it'd break the layout when printing, which is the main point of this cheatsheet.

I see your point, and I raise you a css media query for printing:
@media print {
   font-size: 8pt;
}

which allows font to stay smaller when printing, while on page it displays bigger.

what do you say about that ⁉