timesyncd on 16.03

timedatectl status
Failed to query server: Connection timed out

There are multiple things wrong here; it doesn't show to which server it tries to connect, it doesn't say how long it tried to connect (i.e., what the timeout value is). Probably all upstream problems.
The only relevant configuration is:
services.timesyncd.enable = true;

systemd-timesyncd is running according to a process listing.
journalctl shows
systemd-timedated: /etc/localtime should be a symbolic link to a time zone data file in /usr/share/zoneinfo/
This seems to indicate that the timesyncd module is not written correctly.

Apart from the /etc/localtime should be symbolic link […] message I also see this in my journal:
Failed to determine whether NTP is enabled: Too many levels of symbolic links

To me it looks like the latter is the critical point of failure.

I don't get this issue anymore since upgrading to NixOS 16.09.


Null check operator used on a null value

Hello, when generating the code, the following error appears:
[SEVERE] swagger_dart_code_generator:swagger_dart_code_generator on swagger/api-docs.swagger:

Null check operator used on a null value

my build.yaml:
targets:
  $default:
    sources:
      - lib/**
      - swaggers/**
      - swagger/**
      - $package$
    builders:
      swagger_dart_code_generator:
        options:
          input_folder: 'swagger/'
          output_folder: 'generated/'
          with_base_url: true
          with_converter: true
          use_required_attribute_for_headers: true
          ignore_headers: false
          use_default_null_for_lists: false
          use_inheritance: false
          build_only_models: false
          include_if_null:
            enabled: true
            value: false

packages:
json_annotation: ^4.0.1
build_runner: ^2.0.6
chopper_generator: ^4.0.1
json_serializable: ^4.1.3
swagger_dart_code_generator: ^2.0.7
chopper: ^4.0.1

Hi @ltropin ,
Can you please provide swagger file or part of it where you have an error?

I do not know which part of the file is causing the problem
File

I will check it today and fix it. Thanks for raising an issue!
@ltropin

@ltropin  thanks for provided file. You can remove it now if you want.
Problem was because request did not defined any type. I fixed it by generation Object for such cases.
Please check version 2.0.7+1  in pub.dev it's already published.
Please let us know in case of any other issues!
Feel free to close issue if everything OK

Thanks it worked


Add reminders of the day to welcome message

On program launch, the following items should be first displayed:

Todo Panel

List of all todos in alphabetical order.

Deadline Panel

List of all deadlines today, sorted by urgency

Calendar Panel

List of all events for the next 3 days.

Display Panel

List of all reminders for the day, sorted by urgency


Reusing GPTMD databases

I tried to reuse GPTMD database and got the error due to multiple mods with same id and modification type. A temporary workaround was deleting the mods at the top of the database, but I think if there are mods in the database with same id/mod type, the database mods should be used instead instead of throwing exception

Oh, no!!!! This issue came back. Will address this asap

Please share the files with me, I am not able to reproduce this error.

Error is intended to be thrown, made the error box more descriptive.


Description of what will be added or updated
A fan that faces one direction or rotates and it pushes a yarn ball away.
Additional Information
No response

Mechanic added with PR #34


Helm chart doesn't clean up resources when deleted

What kind of request is this (question/bug/enhancement/feature request): Bug
Steps to reproduce (least amount of steps as possible):

Deploy Rancher using Docker for Mac via helm installation instructions
Delete helm installation helm delete rancher-server --purge

Result:
Rancher resources don't get cleaned up.  After the helm delete, attempting to manually delete the cattle-system namespace results in the namespace getting stuck in "terminating" and the namespace never fully deletes.
Other details that may be helpful:
This is reproducible on Docker for Mac, I haven't tested elsewhere.
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): Rancher stable chart v2.1.1
Installation option (single install/HA): Helm

It has been discussed before and is described in https://github.com/rancher/rancher/issues/14715#issuecomment-407900343 and following comments.
Let me know if that doesn't solve the issue.


keepalived-operator new version 1.3.0

New Submissions

[ ] Has you operator nested directory structure?
[ ] Have you selected the Project Community Operator Submissions in your PR on the right-hand menu bar?
[ ] Are you familiar with our contribution guidelines?
[ ] Have you packaged and deployed your Operator for Operator Framework?

[ ] Have you tested your Operator in all supported installation modes?
[ ] Is your submission signed?

Updates to existing Operators

[x] Is your new CSV pointing to the previous version with the replaces property?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml ?
[ ] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file a PR against this repo and explain your need
2 For more information see here

@J0zi @mvalarh can you help me here? The error seem to imply that ci.yaml. this file was not needed before. Is it really needed now?

@raffaelespazzoli, you are missing ci.yaml file. Error is pointing to the documentation. Just add the file. https://github.com/operator-framework/community-operators/pull/3485/checks?check_run_id=2247280865#step:7:40

@raffaelespazzoli please add reviewers in to ci.yaml
Example
addReviewers: true
reviewers:
  - user1
  - user2

@J0zi @mvalarh I'm getting a new error now. Can you help me with it?

/test all


Nuget release

Nuget package with no extra setup needed.
Reduce use of unsafe with features like Span.
Bundle mac and linux builds of raylib(.so .dylib ).
Add bindings to Rlgl.
Physac binding needs to be fixed.

Update on this issue.
Bindings are on nuget currently unlisted.
I have tested them and they work but still subject to change.

is this not going to be done?
it would be really nice if everything was in a neat little package.

@Shadowblitz16 This issue was my first attempt. It is something I am looking into fixing but there are some issues figuring out how to handle the native libraries. See issue #43 for details.


Add job - JSON stream is not readable

Internal server error on path ./api/queues/LOGO/add upon adding a job via Add job in queue menu. The request has valid JSON with empty data JSON.
error	"Internal server error"
message	"stream is not readable"
details	"InternalServerError: stream is not readable\n at readStream (/app/node_modules/raw-body/index.js:185:17)\n at getRawBody (/app/node_modules/raw-body/index.js:116:12)\n at read (/app/node_modules/body-parser/lib/read.js:79:3)\n at jsonParser (/app/node_modules/body-parser/lib/types/json.js:138:5)\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at trim_prefix (/app/node_modules/express/lib/router/index.js:328:13)\n at /app/node_modules/express/lib/router/index.js:286:9\n at Function.process_params (/app/node_modules/express/lib/router/index.js:346:12)\n at next (/app/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/app/node_modules/express/lib/router/index.js:175:3)"

Hi, can you elaborate?
What Queue system are you using? (Bull / BullMQ)?
What is the data payload?
Which Server adapter are u using?
What bull-board version?

Using BullMQ with Express server adapter.
Data payload {}.

I can't reproduce your issue,

Can you make a small repo which reproduces it?

@felixmosh I will have a look at it.

The request body is correct when logged by the Express router.
I tried to add error handling to the Express router, but did not succeed to catch the error.
I am using Bullboard within Nextjs similar to solution in #722.
The Express Router executes my authentication middleware as expected.
export default express().use(adminAuthentication).use(BASEPATH, serverAdapter.getRouter());

The problem was caused by Nextjs. The resolution was to disable the body-parser in the Nextjs API config for the route.
export const config = { api: { externalResolver: true, bodyParser: false } };


How can i get ripple effect in this library?

I Tried #35 suggestion but did not work.
What should i do get ripple effect?

Please do not duplicate the issues. Continue discussion in #35.


support full width character

for CJK users
http://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms

:+1:
well-known as East Asian Width(UTF-8 ambiguous) problem.
Emojis is also that.

So what's the actual problem? Can you provide me with a file I can look at?

This is a problem with blessed's screen buffer. It assumes all characters are one cell. An assumption that's true a lot of the time. Double width characters are really annoying - they make everything slower even if you're not using them. I have to find an efficient way to implement them.

Also, a lot of terminals aren't even compiled with double-width support, which means even if blessed keeps up its end of the deal, the terminal still might fail and produce even stranger effects. It sounds awful, but I sometimes wish double-width characters would just die. They don't belong on typewriters. I'm sorry, east asian languages. I'll still look for an elegant and efficient solution, but I'll probably complain while doing it.

@secrettriangle, @azu, @disjukr, double width characters can be handled by screen rendering and parseContent now. Maybe some revisions need to happen inside slap now though.

Double width chars and surrogate pairs moved behind the fullUnicode option.

Just a summary of this implementation, and a few things I figured out while implementing this:
VTE (gnome-terminal, etc) completely breaks when trying to display a character which is both double-width and a surrogate pair. If it's just displaying a single-width surrogate pair, the character will actually EAT the character after it when rendered. This is just VTE's misbehavior. There is no way for blessed to fix it.
So far the only 2 terminals that can properly render double-width chars, surrogate doubles, and surrogate singles are: rxvt-unicode and xterm (although xterm can't display the unicode glyphs themselves, it does not get the spacing mixed up like other terminals).
This means that there is, so far, only one terminal on earth that can take full advantage of this feature (rxvt-unicode). Now when you take that into account along with the percentage of people who use double-width chars and surrogate pairs in a terminal, you're left with an arguably minimal fraction of the terminal-using population. These factors make this a slightly obscure feature.
I suspected these things originally, which is why I was hesitant to implement this. I knew for a fact most terminals couldn't render double-widths properly anyway, so what is the point of the terminal app sacrificing performance and doing backflips over string length inconsistencies to allow double-width chars?
For these reasons, this feature will most likely stay behind the fullUnicode option. It's cool to have, and I think it's as performant as it can be (much faster than I thought I could make it originally). Maybe one day VTE and other terminals will start pulling their weight and implement these things correctly.
In short, if you want to use fullUnicode use xterm or, ideally, rxvt-unicode.
All that being said, I think it's a good idea to have this feature enabled by default for a text editor. The user could disable it by editing the config file if they decided to use a subpar terminal.

Awesome work @chjj, thanks so much! :metal:
This will be fixed in an upcoming version of slap.

I still haven't tested it on Terminal.app or iTerm2. Hopefully they're better than VTE. It might make this more worthwhile.

I have decided to leave fullUnicode off by default, as slap is a programmer's text editor and 1) needs to be as fast as possible 2) multiwidth characters are very infrequently used.
However, this functionality is now available. To test, add the following to ~/.slap/config:
[slap]
fullUnicode = true

I am closing this ticket. Thanks again, @chjj!

@secrettriangle, I just realized there will also be more work for you because of this. For example, I had to update the textarea backspacing, from:
  } else if (key.name === 'backspace') {
    if (this.value.length) {
      this.value = this.value.slice(0, -1);
    }

To:
  } else if (key.name === 'backspace') {
    if (this.value.length) {
      if (this.screen.fullUnicode) {
        if (this.value[this.value.length - 2]
            && unicode.isSurrogate(this.value[this.value.length - 2])) {
          this.value = this.value.slice(0, -2);
        } else {
          this.value = this.value.slice(0, -1);
        }
      } else {
        this.value = this.value.slice(0, -1);
      }
    }

Since surrogate pairs take up an actual .length of 2 for each character.

Oh, and unicode combining characters will be just as tricky since they're 0-width, however, it might be useful for an editor to allow backspacing a combining character to remove the accent/whathaveyou.

And I forgot that a lot of unicode combining characters are surrogate pairs. So, they're 2 in length and 0 in width. Are we liking utf-16 yet?


Remove "ember-lodash" dependency

This PR removes the ember-lodash dependency. Importing all of lodash just for these two functions seems a bit wasteful to me unless you're already using it anyway.

Travis failure seems unrelated


Optimize virtual attribute by adding :uses clause

Addresses: https://github.com/ManageIQ/manageiq/pull/13233#discussion_r96552373

@kbrock @Fryguy please review

@Fryguy This only relies upon 1 record vs all of them. Will the :uses bring back a slew of records here?
@moolitayer do you have a sample of a report/screen/command from rails console that takes advantage of this?

@moolitayer what the status here? Should you rebase this? Can you answer @kbrock question?

Haven't forgotten about this @simon3z but It will take some research to measure things and find the correct solution and I have more pressing priorities ATM. Hope to get to this (and some other issues) soon.

@miq-bot assign moolitayer

@kbrock Since the method uses the entire relation, then yes it would bring back everything, but if used in reporting, it would do that anyway, so I'm not sure why this change would be a negative.
@moolitayer I think this PR is ok to move forward.

@kbrock Some data for future performance tuning:
# The alerts screen does one query of:
GET localhost:3000/api/alerts?expand=resources,alert_actions&attributes=assignee,resource

# We then get (for two alerts)
SELECT COUNT(*) FROM "miq_alert_statuses"
SELECT "miq_alert_statuses".* FROM "miq_alert_statuses"
# for the first alert, has an action related to a user
SELECT  "miq_alert_status_actions".* FROM "miq_alert_status_actions" WHERE "miq_alert_status_actions"."miq_alert_status_id" =<PHONE_NUMBER>007 AND "miq_alert_status_actions"."action_type" IN ('assign', 'unassign') ORDER BY created_at DESC LIMIT 1
SELECT  "users".* FROM "users" WHERE "users"."id" =<PHONE_NUMBER>001 LIMIT 1
SELECT  "container_nodes".* FROM "container_nodes" WHERE "container_nodes"."id" =<PHONE_NUMBER>001 LIMIT 1
SELECT "miq_alert_status_actions".* FROM "miq_alert_status_actions" WHERE "miq_alert_status_actions"."miq_alert_status_id" =<PHONE_NUMBER>007 ORDER BY created_at

# for the second alert
SELECT  "miq_alert_status_actions".* FROM "miq_alert_status_actions" WHERE "miq_alert_status_actions"."miq_alert_status_id" =<PHONE_NUMBER>008 AND "miq_alert_status_actions"."action_type" IN ('assign', 'unassign') ORDER BY created_at DESC LIMIT 1
SELECT  "container_nodes".* FROM "container_nodes" WHERE "container_nodes"."id" =<PHONE_NUMBER>001 LIMIT 1
SELECT "miq_alert_status_actions".* FROM "miq_alert_status_actions" WHERE "miq_alert_status_actions"."miq_alert_status_id" =<PHONE_NUMBER>008 ORDER BY created_at

Also this data (miq-alert-statuses*/miq-alert-status-actions) has a property that can help if we decide to cache it - it is read only, each record with a timestamp
* currently when a miq-alert-status goes into the system, it can update an existing miq-alert-status. I expect that to change soon.

Closing, no longer needed since https://github.com/ManageIQ/manageiq/pull/14303


Update Navigator Integration Documentation

Update the Workbench integration documentation to accurately reflect the proposed changes in navigator#370 which modifies the versioning structure in the Navigator configuration file.

Resolved in #339


Fix #16 and #17

updated a valid condition to solve the runtime error's while running following commands
rbenv shell
rbenv local

Oops.
Thanks for your PR.I merged it.


not found cache\prod/doctrine/odm/mongodb/Hydrators\AppDocumentUserHydrator.php

Fatal error: require(): Failed opening required 'XXX\var\cache\prod/doctrine/odm/mongodb/Hydrators\AppDocumentUserHydrator.php' (include_path='.;C:\php\pear') in XXX\vendor\doctrine\mongodb-odm\lib\Doctrine\ODM\MongoDB\Hydrator\HydratorFactory.php on line 142
why? I tried everything.. It works in debug mode, but no in prod mode.

You missed to warmup the hydratorcache for prod.
Should by something like this:
php bin/console doctrine:mongodb:generate:hydrators --env=prod

Also you seem to have "/" and "" mixed in the path, you may want to check if path to the cache folder is correct.

Closing as there's no new activity and to me the question seems to be answered.

@malarzm
There's still a problem:
[2021-01-20 06:23:08] php.CRITICAL: Fatal Compile Error: require(): Failed opening required '/var/app/current/var/cache/prod/doctrine/odm/mongodb/Hydrators/CollageBundleClientBundleDocumentApplicationHydrator.php' (include_path='.:/usr/share/pear7:/usr/share/php') {"exception":"[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Compile Error: require(): Failed opening required '/var/app/current/var/cache/prod/doctrine/odm/mongodb/Hydrators/CollageBundleClientBundleDocumentApplicationHydrator.php' (include_path='.:/usr/share/pear7:/usr/share/php') at /var/app/current/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Hydrator/HydratorFactory.php:134)"} []
It occur occasionally and persist till you clear cache or regenerate hydrators.

I thought about the delay from the system, but production is on AWS.
Instances are pretty powerful so I doubt it.
Yeah Collage still alive :)

I've had a similar issue on a production environment before (unrelated to ODM itself). I've had two possible causes:

I was mv-ing the instances around.
I had a symlink-based installation and my nginx passed to php-fpm

fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;

which caused my php-fpm to share cache between instances. What helped me was:
fastcgi_param  SCRIPT_FILENAME  $realpath_root$fastcgi_script_name;

And in my case it was the cause for errors on instance switch.
This might be completely unrelated to what you're having, but maybe it will point you in the right direction...? Because as malarzm said, this looks like just PHP failing to load an existing file.


json.twig is not working

I m trying to load the page as json content type and it always loads as html.
I have installed Grav CMS in my local IIS and everything works fine except json. I have followed the below link with JSON example.
https://learn.getgrav.org/17/content/content-types#example-with-json-files
Grav Version - Grav CLI Application 1.7.30
OS - Windows
PHP 7.4.27 (cli) (built: Dec 14 2021 19:52:04) ( NTS Visual C++ 2017 x64 )
Really appreciate any help.

I cannot test using your environment, but tested it on Windows 10 using WSL with Ubuntu-2-.04.
I've followed the same tutorial, although slightly altered, as follows:

Using fresh installation of latest Grav
Created file /user/themes/quark/templates/default.json.twig with the following content:{% set payload = {frontmatter: page.header, content: page.content}  %}
{{ payload|json_encode(constant('JSON_PRETTY_PRINT'))|raw }}

Accessed page with http://dev-dev/typography.json and got the following result:{
  "frontmatter": {
      "title": "Typography"
  },
  "content": "
\n
Details on the full capabilities of Spectre.css can be found in the <a ...
  [stuff deleted]
  ... This is a error notification\n\n!!! This is a default notification\n\n!!!! This is a success notification<\/code><\/pre>"
}

Thanks, it worked. I named the file as page name instead of default.json.twig which works fine.
I really appreciate for quick response @pamtbaau


KHR_texture_transform shouldn't emulate sampler repeat options

The KHR_texture_transform extension was looking at texture repeat options and trying to factor them into the transformed texture.  This is not needed, as WebGL will do the correct thing with sampler repeat options regardless of whether the coordinates have been transformed or not.
Fixes #7916
Alternative solution to #8065

Thanks for the pull request @emackey!

:x: Missing CLA.

Please send in a Contributor License Agreement (CLA) and comment back here to let us know to check this!

:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

Missing CLA??

Not sure if a unit test is needed.  This is strictly a removal of code, there's nothing new to test.
However, I can demonstrate that the clamping and mirroring features work fine even with this code removed:
TexRotateTest_clamp.zip
TexRotateTest_mirror.zip
The original test model shows repeating, which is the 3rd option and the default.

@OmarShehata can you look into why @emackey's CLA is missing?
@lilleyse is this good with you?

Closes #8065

Just for visual reference, this is the original test model from #7916, which doesn't specify a sampler and thus ends up with the default REPEAT behavior.  The texture coordinates are axis-aligned, but, the KHR_texture_transform extension introduces a small rotation, producing a slight diagonal edge.
The rotation reveals an area where the texture coordinates begin repeating. revealing block A1 and its neighbors.

With the samplers set to CLAMP_TO_EDGE, the texture rotation reveals an area that appears smeared.  This is intentional, from the texture coordinates being clamped along the edges after the rotation has taken place.

Finally, the text model above with samplers set to MIRROR will show some reverse blocks, such as blocks G8 and F8 being shown from mirrored texture coordinates.

The upshot of all this is, Cesium's implementation of the KHR_texture_transform extension was trying to emulate two of these options with shader code, but, the underlying WebGL sampler enums are still in effect from the main model, so it's safe to remove this code without losing the functionality.

This all sounds correct to me, but I'm not qualified to merge.  @lilleyse or @likangning93 any thoughts here? Please merge if you are good with this.

Yup this looks good to me. I'll merge after the last merge commit passes CI.

Thanks @emackey!


cluster: Add a fedora template

Signed-off-by: Fabian Deutsch<EMAIL_ADDRESS>

/cc @gszasz

We have already a lot of stuff under the cluster, maybe it time to create two directories cluster/vms and cluster/templates
Template lgtm :smile:

Let me see if I can find some structure ...

Let's stop adding all those templates at all. We have enough examples already. If they are meant to  be used by e.g. manageIQ, then they should be included there.

Both existing templates are not working out of the box.
This newly introduced template does, because it's using a registry disk.

I agree that items not critical to running a KubeVirt cluster probably don't belong there.
Now that we have a user-guide repository, would it be worth considering moving any example templates/manifests there? A lot of the documents have examples inline, but it might be helpful to also have a dedicated directory.

So, flame me. But I'll merge this template. I'll propose some changes to make the locations better.


Remote Exception: Error finding pathways by Xref

Hi,
I was trying to find wiki pathways by Xref ( using ChEbi ids ) using the wikipathways java api client. It was running fine on my local machine but when I tried it on the production server its failing. I looked into the source code but could not find the actual cause. It would be really helpful if you could help me debugging this.
Thanks in advance.
Error message:
java.rmi.RemoteException: Connect to webservice.wikipathways.org:80 [webservice.wikipathways.org/<IP_ADDRESS>] failed: Connection timed out; nested exception is:
java.net.ConnectException: Connection timed out
at org.pathvisio.wikipathways.webservice.WikiPathwaysRESTBindingStub.findPathwaysByXref(WikiPathwaysRESTBindingStub.java:147)
at org.wikipathways.client.WikiPathwaysClient.findPathwaysByXref(WikiPathwaysClient.java:414)
at uk.ac.ebi.metabolights.referencelayer.importer.ReferenceLayerImporter.getPathways(ReferenceLayerImporter.java:532)
at uk.ac.ebi.metabolights.referencelayer.importer.ReferenceLayerImporter.chebiEntity2Metabolights(ReferenceLayerImporter.java:411)
at uk.ac.ebi.metabolights.referencelayer.importer.ReferenceLayerImporter.importMetabolitesFromChebi(ReferenceLayerImporter.java:253)
at uk.ac.ebi.metabolights.controller.MetaboliteImporterController$1.run(MetaboliteImporterController.java:104)
Caused by: java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:72)
at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:123)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:318)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
at org.wikipathways.client.utils.Utils.connect(Utils.java:58)
at org.pathvisio.wikipathways.webservice.WikiPathwaysRESTBindingStub.findPathwaysByXref(WikiPathwaysRESTBindingStub.java:138)
... 5 more

Hi @CS76, it's a "Connection timed out" message, meaning that the server did not reply an answer in time... this could have been a temporary glitch...


popup: should avoid adding the win on zoom to the history of <C-o>

https://github.com/nyngwang/NeoZoom.lua/blob/f71b06f1c73b27c887a42bf953e747121f56b67c/lua/neo-zoom/init.lua#L182-L185

Should provide a way to set the previous window instead.

btw, this is why one should not mention any issue in the commit message unless you're sure that it will be the final commit.


[feat] setter for the tiemout field

The class CachingDirectoryLister should have a setter for its timeout limit field.

#1


Execute Project In Python Interactive Django doesn't work

All I see in the interactive window is:
"Running C:\Users\cmedcoff\Documents\Visual Studio 2013\Projects\DjangoWebProject3\DjangoWebProject3\manage.py

Type 'manage.py help <subcommand>' for help on a specific subcommand.

Available subcommands:....

Its like its not passing runserver.
Below is the "Diagnostic Info" dump (abbrevisated - too large for allowed submit here)
Projects:
    Project: DjangoWebProject3\DjangoWebProject3.pyproj
        Kind: Python
        InterpreterId: b908c31f-3231-4be5-ac0f-cdd9cea4a9c8
        InterpreterVersion: 3.4
        StartupFile: C:\Users\myname\Documents\Visual Studio 2013\Projects\DjangoWebProject3\DjangoWebProject3\manage.py
        WorkingDirectory: .
         This is the default.
        Standard Python launcher

    Launcher: Microsoft.PythonTools.Project.Web.PythonWebLauncherProvider
        Launches web sites using the Python debugger. This enables launching and starting a web browser automatically, using the commands specified in the project file.
        Web launcher

    Launcher: Microsoft.IronPythonTools.Debugger.IronPythonLauncherProvider
        Launches IronPython scripts using the .NET debugger.  This enables debugging both IronPython code as well as other .NET code such as C# or VB.NET.
        IronPython (.NET) launcher

    Launcher: Microsoft.PythonTools.Django.Debugger.DjangoLauncherProvider
        Launches Django web sites using the Python debugger. This enables launching and starting a web browser automatically. It launches using manage.py and passes the runserver flag as well as additional options to configure the port and other settings.
        Django launcher

Logged events/stats:
Installed Interpreters: 1
Configured Interpreters: 0
Debug Launches: 0
Normal Launches: 1

Installed Packages:
Name,Version,InterpreterName,InterpreterVersion,InterpreterArchitecture,Installer,Elevated,InstallResult
  Successful Installations
    django,1.8.4,DerivedInterpreterFactory,3.4,Amd64,Existing,False,0
    pip,7.1.0,DerivedInterpreterFactory,3.4,Amd64,Existing,False,0
    setuptools,18.0.1,DerivedInterpreterFactory,3.4,Amd64,Existing,False,0
    wheel,0.24.0,DerivedInterpreterFactory,3.4,Amd64,Existing,False,0
    pip,7.1.0,DerivedInterpreterFactory,3.4,Amd64,Existing,False,0
    setuptools,18.0.1,DerivedInterpreterFactory,3.4,Amd64,Existing,False,0
    wheel,0.24.0,DerivedInterpreterFactory,3.4,Amd64,Existing,False,0
    django,1.8.4,DerivedInterpreterFactory,3.4,Amd64,Existing,False,0

  Failed Installations

System events:

(I wrapped some of your text in triple backticks to make it more readable. You can also post long logs on gist.github.com and link to them.)
This is currently "by design", but I'm not entirely clear what behavior you'd like or why you'd like it. If you launch normally then you can use the Debug Interactive window at a breakpoint, but running a web server in a regular interactive doesn't seem to make much sense.
Can you describe what you're trying to achieve? We may have another way to do the same thing.

Thank you.  Perhaps I don't understand the intent of the command. I had the expectation that rather than launching/running python/django on a separate console window, it would do so in a combination of the output and interactive window.  Perhaps that is what happens when just performing a normal "F5" type of debug.  The console window output is confusing compared to ASP.NET web app development.

Yes, compared to ASP.NET it is strange. Unfortunately, compared to Python development outside of VS it is entirely normal, so it isn't easy for us to match either of them without potentially confusing people.
I suspect you'd really like the Debug Interactive window, which you can find under the Debug, Other Windows menu. We should copy all output from the console into this window, and if you hit a breakpoint then you can interact directly with the code - think of it as a combined Output and Immediate window, but much more powerful.
This video (about 6 minutes) is about cross-platform debugging, but it also demonstrates the Debug Interactive window.

OK, I can accept the 'extra window' since that's how the django test server works without visual studio and yes it seems that the Debug Interactive window does what I expected.  I would like to understand what the purpose of "Execute Project In Python Interactive" is and why it isn't suitable for a django/web app.  I will say that I'm very happy to find rich support for Python in the IDE where I spend most of my time.

That execute command is more directed at single-run processing scripts. For example, you may be parsing a text file and doing something with the results. Running it in the interactive window is like running each command by hand, except far more convenient, and you have all the variables (parsed log lines) stick around after it's finished. It's like running python.exe -i <script>, but within VS we expose it as a separate command.
A web server basically loops until it's terminated, and there's no reason to interact with it directly (both accessing the web content and debugging are considered "indirect" here), so it doesn't make much sense to run it in an interactive window. It's output should be going into the Output window, as for C# applications, but because people also expect to see the console window we display that too.

Thanks.


Full screen color overlay

If I set the color scheme to Sakura, the pink color overlay will fill the whole screen while in full screen (Spotify default feature). Here's an image:

It washes out the song image with pink, and makes the text unreadable, as seen above.

this seems to be dependant on the color schemes shadow

Not sure how to go about this yet but i'll look into it.

#116


Does Apollo. Label support multiple labels configured for a project

I checked the source code (version 2.0.0), the label I saw was only input in the form of string, there was no special processing of label, but my colleague said that it supports multiple labels.

I believe apollo.label now is treated as a single label, however, it would be interesting to discuss whether it should support multiple labels, i.e. separated by commas.

Thank you. I got it.


kubernetes: SVG diagrams handle fonts incorrectly

Formatting of the "Frontend Service" is inconsistent with the others.

In fact, all of the Kubernetes images exhibit the same problem.

Looks like all of the fonts weren't outlined when this was created, causing the browser to rely on the fonts the local machine has installed.

Closing due to inactivity.


don't use extra optional type, just return unchanged value or …

…a different state and assign to mState

Thanks for the idea, and for the contribution! 👍


Arduino hangs on any read attempt

Hi, i trying to use this library on Mega:
HardwareSerial modbusSerial = Serial2;
modbusMaster modbus;

modbusSerial.begin(2400);
modbus.begin(101, modbusSerial);

float val = modbus.uint16FromRegister(0x04, 1, bigEndian);
TTL to RS485 adapter blink 8 times TX on boot, then Mega hangs on any type read register attempt.
Any suggestion how to debug this?

Definitely use the setDebugStream function.
If you have a second mega or any other board I would also try spying on the serial communication.  That is, run your first mega with your desired program connected to your RS485 adapter and your modbus device.  On your second mega connect the Rx of Serial1 to the Tx of the RS485 adapter, the Rx of Serial2 to the Rx of the adapter.  Then run a very simple program that mirrors both back to the terminal:  while (Serial1.available()) Serial.print(Serial1.read());  while (Serial2.available()) Serial.print(Serial2.read());


[ffmpeg] add amd/amf, qsv hard encoding and openh264 encoding support

Anything update? Still no qsv support

@mcmtroffaes
Would you like to help add these features for ffmpg?
Thanks in advance.

Currently a bit too swamped with other things to take a lead on this.
I lack the hardware to test amf or qsv. For openh264, https://github.com/cisco/openh264 needs to be added as a port first. Judging from the readme, this will be non-trivial for vcpkg, requiring msvc to be called from an msys2 shell (similar to what we currently do to compile ffmpeg itself). Happy to help with reviewing and testing where I can.

Thanks for your help and clarifications about this.
We might delay to implement these features.

For AMF, it looks like https://github.com/GPUOpen-LibrariesAndSDKs/AMF needs to be added as a port first, as the AMF framework headers are needed to configure ffmpeg with --enable-amf (see https://www.ffmpeg.org/general.html#toc-AMD-AMF_002fVCE).
Since AMF/VCE is Windows-only (see the ffmpeg link above), I believe a new Windows-only ffmpeg feature amf would need to be added that includes the --enable-amf option during ffmpeg compilation.
If anyone can provide further guidance that would be great, as I'm quite new to vcpkg. I'll try to create a port for the AMF headers in the meantime.

Any progress? Still no qsv support.


Export/Backup while updating

Is there a way to export data from an existing libreboard instance and then import that data into an updated libreboard instance?
How do you currently update your libreboard instance to a newer version,  while migrating the data from the older instance of libreboard? Or is it not currently possible to do this?

LibreBoard puts its whole state and users data in the linked MongoDB (doesn't write the file system, or do anything else). So to backup your entire state you have to mongodump this database.
To upgrade to a new version, you'll have to stop the old version and start the new one. The new version will detect that some data have an old format and will automatically migrate them on start.

So the update automatically happens when the old version is replaced with the new version and is restarted. Thanks for the information.


add missing free allocated memory for device classes, fix typo

add missing free allocated memory for device classes (pima/dfu/rndis).
remove extra spaces.
add hid instance sanity check in ux_device_class_hid_uninitialize before freed hid instance memory.

@eclipse-threadx/iot-threadx-committers I need a volunteer to review.


[feature] contributors page

To honor all contributors to OmniaWrite, it would be useful to include a page to list everyone.
This should be automated from the GitHub API.

We could utilize .all-contributorsrc in our repo for this.

Hey, can I take this issue?

Sure, feel free to add a link to the route here: https://github.com/TorstenDittmann/OmniaWrite/blob/master/src/routes/Settings.svelte#L89-L95

Is it still there to be taken? Can I take this ? @TorstenDittmann


Boost FOREACH confused the outline tree

If a Method contains a boost foreach macro, the method doesnt appaer in the outline tree.
Look the screenshot for more clarity

Could you please provide the smallest possible file that reproduces this? Also please share a list of vscode plugins I need to install if any.

Hello, I've a similar issue in typescript:
class ForeachBug {
	method1() {
		let a = 1;
		let b = 2;
	}
	method2() {
		let p = [2,3,4];
		p.forEach(element => {
			let u = 1;
		});
	}
}

the variable u inside the forEach block is put on top of outline hierarchy.

I use the symbol provider and in this case I think I have a clean solution. The only problem is finding time to implement it 😄
My idea is to to use the reported ranges of symbols to deduce which symbols are contained by which. The code currently depends on scope names which unfortunately means that anonymous functions break it.

@gludion In your case it looks like the same problem I have ( issue #30 ).

There could be a temporary solution: use the option symbolOutline.topLevel to hide variables, if you don't need to show the variables.
    "symbolOutline.topLevel": [
        "Module",
        "Class",
        "Interface",
        "Namespace",
        "Object",
        "Package",
        "Struct",
        "Function",
        "Method",
        "Property"
    ]

it works, but then variables a and b in method1() (in my example above) are now hidden (even though they were correctly reported as children of method1()).

@gludion Yes, that's why I said it's a TEMPORARY SOLUTION.


bug/MM-39875 : Fix warning printed after closing any ModalController modal

Summary
This PR fixes the console warning which shows up when a modal is closed. In this we are clearing out the modal key from the store. The files reducers/views/modals.ts and its test file are migrated to typescript as well.
Ticket Link
https://mattermost.atlassian.net/browse/MM-39875
Related Pull Requests

~Has server changes (please link here)~
~Has mobile changes (please link here)~
Screenshots

Release Note

/release-note-none

/update-branch

/update-branch

Thanks @M-ZubairAhmed running the E2E tests here I'll verify the report when ready.

/update-branch

Branch updated to include recent fix on E2E that cause several tests to fail. Will run again on successful build - https://github.com/mattermost/mattermost-webapp/pull/9396

/update-branch

Thanks @saturninoabril for re-running the E2Es. New results here  - no related failures.

Thanks @M-ZubairAhmed
Tested, looks good to merge.

Verified opening and closing modals controlled by ModalController - no console errors.


Error "Process is terminating due to StackOverflowException." occurs every time when a C# program ends.

Environment data
dotnet --info output:
.NET Core SDK (reflecting any global.json):
Version:   2.1.403
Commit:    04e15494b6
Runtime Environment:
OS Name:     arch
OS Version:
OS Platform: Linux
RID:         arch-x64
Base Path:   /opt/dotnet/sdk/2.1.403/
Host (useful for support):
Version: 2.1.5
Commit:  290303f510
.NET Core SDKs installed:
2.1.403 [/opt/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.NETCore.App 2.1.5 [/opt/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download
VS Code version: 1.27.2
C# Extension version: 1.17.0-beta5
Steps to reproduce
Create a new C# console application using dotnet new console;
Try to debug the default HelloWorld program;
Expected  behavior
Program exits with no error.
Actual behavior
Error "Process is terminating due to StackOverflowException." occurs.

@TobiichiAmane If you run the program without debugging, do you get the same problem?
This sounds like an incompatibility between arch and .NET Core.

@gregg-miskelly No. I won't get the same problem when running it directly.

This problem occurs no matter if I try to debug it in the integrated terminal or an external terminal. The same problem occurs when using Gnome-terminal instead of Konsole. The same problem occurs when using Gtk based DE (I tried Gnome and Cinnamon) instead of KDE.

Seem to be a duplicate of #2439

I hope to put out a new beta tomorrow that has a fix for 2439. So we should hopefully know if this is indeed a duplicate or not soon...

1.17.0-beta6 is now on the release page. Please follow these instructions to install.

1.17.0-beta6 solved this issue. Nice work!
And it confirmed that this issue is a duplicate of #2439 .

@gregg-miskelly i wanted to try the new version but vscode just repeatedly wanted me to reload which is why I updated vscode.
Now when installing the 1.17.0-beta6 it says that the extension is not compatible with code 1.27.2.
Which version do I need to correctly install the beta?

@Aides359 My code version is 1.28.2, and OmniSharp 1.17.0-beta6 works perfectly.

The extension currently requires 1.28 (see this line). I believe that is the version of VS Code that came out in early October on the stable channel.


Yet another TCP performance enhancing proxy based on UDP and FEC

Hi all,
Recently, our research group has implemented a novel TCP PEP based on UDP and FEC. To some extent, this work is inspired by kcptun. Therefore, we think it might be appropriate to post here and would like to see if you are interested.
Our target scenario is the non-terrestrial networks (NTNs), where the links are often lossy and has long propagation delay. Different from kcptun which uses Reed-Solomon code, which is a block code, we have investigated the usage of another type of FEC called streaming code (SC), which may be viewed as a convolutional counterpart of block codes. We have found that the SC-enhanced PEP can be retransmission-free, which is very attractive for NTN scenarios where retransmission would cause long head-of-line (HoL) blocking delay and hence cause fluctuating goodput at the application layer.  The PEP is named as PEPesc (PEP Enhanced by SC).
The PEPesc work has been published at IEEE Transactions on Mobile Computing (https://ieeexplore.ieee.org/document/10107444), where we present the design and the analysis in detail, and have also included a comparison with kcptun in certain scenarios (we do not claim that PEPesc would beat kcptun in all cases, but just in certain lossy long-distance NTN scenarios). The source codes have been open-sourced at https://github.com/yeliqseu/pepesc. Please note that the current implementation is only a prototype for research verification, and is far from a matured (and deploy-able) product as kcptun.
We are interested in introducing the SC to kcptun, and to see whether it would help in other (terrestrial) Internet scenarios. It would be great to hear suggestions and comments from kcptun users.

I don't like python

Good job.  Hope to see more various comparisions.

Nice one, expecting for comparsions.


This is the first commit for RESTEasy tracing feature

This is the rebased version of https://github.com/resteasy/Resteasy/pull/1516

This is the rebased commit to sum up all the work in https://github.com/resteasy/Resteasy/pull/1516 and https://github.com/resteasy/Resteasy/pull/1494

@asoldano Here is the final version(hopefully) of the first commit for resteasy tracing feature. Could you please help to check it?


Add a test for deployed manifest

For some reason, the latest :latest manifest built by cron did not contain :s390x in its definition even all commands in the build succeeded. A manual restart fixed it so the configuration should be okay.
This PR adds a check that the manifest contains all supported architecture. docker manifest inspect returns json like this:
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
   "manifests": [
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 949,
         "digest": "sha256:7f6beb6d44eea8c25ff8bef2e28318bc8dae3d390996fb8593ac668073e8f6b5",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 949,
         "digest": "sha256:07dfbf24149a051be9b1b4a1b7b19f20b6501fa83c006e89c13a154f623ee56b",
         "platform": {
            "architecture": "arm64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 949,
         "digest": "sha256:ef105db6039de2c6a8144f6051600a4eb2857c9363a3140312432afcda8e8ac3",
         "platform": {
            "architecture": "ppc64le",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 949,
         "digest": "sha256:56f9e27d17a7986030a3f816a30f503acf57aac3a07f5127cfbacc4e48ea1c3f",
         "platform": {
            "architecture": "s390x",
            "os": "linux"
         }
      }
   ]
}

So the grep command I've created should end with return code 1 if it cannot find four architectures in the manifest.
This PR won't test it, we have to merge it to actually test it.

Now it's a good time to test this.


How to center Processing message in laravel-datatables with existing data?

Hi all,
In my laravel 5.7 application I use "yajra/laravel-datatables-oracle": "~8.0" library and reading this
https://m.datatables.net/forums/discussion/25666/how-to-customize-the-processing-message
I modified processing message with style :
.dataTables_processing {
  margin-top: -80px !important;
  padding: 70px !important;
  background: #F5F8FA !important;
  color:    blue !important;
  border: 2px dotted darkgrey;
  border-radius: 3px !important;
  font-size: xx-large !important;
  opacity : 1 !important;
  text-decoration: none;
}

and it works and I retrieve data on page open with empty data area.
But I refresh data I do not see processing message : it is below(looks like middle of the data area).
I tried to raise with adding to style above :
  vertical-align: top;
  vert-align: top;

But failed.

If laravel-datatables-oracle has method to clear data area rows before data retrieving ?
I think that could be helpfull...

Thanks!
System details

Kubuntu 18
PHP 7.2
laravel 5.7
yajra/laravel-datatables-oracle": "~8.0

I uploaded live  example at http://demo2.nilov-sergey-demo-apps.tk/login
It is under credentials<EMAIL_ADDRESS>111111
after that http://demo2.nilov-sergey-demo-apps.tk/admin/box-rooms
on uploading page message is visible within 1-2 seconds
If in filter field “Enter Box Room No.” enter value “001” and click “Search” I added 30 seconds delay for debugging in browser.
You need to scroll down to see processing message...
Thanks!

I uploaded live  example at http://demo2.nilov-sergey-demo-apps.tk/login
It is under credentials<EMAIL_ADDRESS>111111
after that http://demo2.nilov-sergey-demo-apps.tk/admin/box-rooms
on uploading page message is visible within 1-2 seconds
If in filter field “Enter Box Room No.” enter value “001” and click “Search” I added 30 seconds delay for debugging in browser.
You need to scroll down to see processing message...
Thanks!


Updated About Us

Working on Issue #115

Coverage remained the same at 73.64% when pulling 5ea01f0a81b6b00da3a2cc04f7fcc93b06deef95 on alvinlyj:V0.5rc.1 into 4e14ad56827d2b92aafd4fca332b36cefd298567 on CS2103JAN2017-T11-B1:V0.5rc.


cmd/api: enable disabled api test

https://go-review.googlesource.com/8564 disabled the api self-test for nacl:
https://go-review.googlesource.com/#/c/8564/7/src/cmd/api/goapi_test.go (TestGolden function).
Investigate and fix.

I will fix this one.

https://go-review.googlesource.com/8620


Support public folder output

So there is a public folder option in vite build that does not create any entries, but you can still reference entries off of the root.  https://vitejs.dev/guide/assets#the-public-directory
In my template I still want to reference these items by using the vite_asset_url function.
<link rel="apple-touch-icon" href="{{ vite_asset_url('site-images/site/apple-touch-icon.png') }}">

So my way around this was to add a configuration of public_folder_passthrough.  I don't know a better name or if this is even the correct path, but I updated the ManifestClient.get() method to make a pass through entry if it fails to find it in the manifest.json.
        if path not in self._entries:
            if self._config.public_folder_passthrough:
                return ManifestEntry(
                    file=path,
                    src=path,
                    isEntry=True,
                )
            else:
                raise DjangoViteAssetNotFoundError(
                    f"Cannot find {path} for app={self.app_name} in Vite manifest at "
                    f"{self.manifest_path}"
                )

I am not sure if there is a better way, but this works exactly as expected once I added the passthrough for the public assets

I bypass this problem by adding both the dist and public folders in STATICFILES_DIRS. In my templates, I always reference the files that are in public using the static tag rather than using the vite_asset_url tag. Naturally, if Django-Vite managed the files correctly in a public directory, it would be great. This would avoid asymmetry between the files associated with the frontend.
However, this has the advantage of being a simple solution that does not involve any direct modification of Django-Vite. Maybe I'm missing, however, a border effect that is likely to pose a problem.
Kind regards, Thierry


PayPal shippingAddressOverride

Hi! I am currently using braintree's sandbox. When I try to setup braintree, I use shippingAddressOverride to set the test shipping address. However, I've been getting the default shipping address returned back to me. I have tried to use an older version of braintree.js, and in version 2.7.1 it worked correctly.

Hi @illia94ua - just for some more context, are you using our mocked Sandbox flow? Also, are you using Checkout with PayPal or our Vault flow?

Hi @danielwu426, yes I'm using mocked Sandbox flow and this applies to both of flow.

@illia94ua - our team is digging into the issue and will update here once we figure out the root cause. Stay tuned!

At this time, our mocked Sandbox flow does not support the shippingAddressOverride feature. As a workaround, you may want to test this feature in production.
Meanwhile, we're looking into adding a passthrough to our mocked Sandbox flow so that the behavior is more similar to production. Thanks for your patience :)

 Allow shippingAddressOverride to work in sandbox

@illia94ua As of version 2.21.0, this issue has been fixed. Thanks for bringing it to our attention!


Missing Using after migrating to v12

Hi, I'm sorry if this is already written somewhere, I read the migration guides and the readme, but couldn't find my actual issue.
This is my current code:
var assemblies = Assembly
            .GetEntryAssembly()!
            .GetReferencedAssemblies()
            .Select(Assembly.Load)
            .Append(Assembly.GetCallingAssembly())
            .ToArray();
services.AddMediatR(config => config.Using<Mediator>(), assemblies);

From what I understood, this is how it should be done on v12:
var assemblies = Assembly
            .GetEntryAssembly()!
            .GetReferencedAssemblies()
            .Select(Assembly.Load)
            .Append(Assembly.GetCallingAssembly())
            .ToArray();
services.AddMediatR(config => config.RegisterServicesFromAssemblies(assemblies));

Is that correct? config => config.Using<Mediator>() is no longer required?
Thanks!

Is the Mediator class your custom one? If not, then no it's not required and never was required if you wanted to use the built-in version.

Thanks!


Expose additional fields from ComponentData streams

This PR exposes the following fields:

frequency from MeterData objects
temperature_max from BatteryData objects

This PR also temporarily switches to an older version of the channels library.

Maybe add an entry to the release notes.

done.


MinecraftServer.stopCleanly() throws an error if a player is logged in when called.

The Bug
Whenever I've got an account logged in to a Minestom server and run my /stop command (basically just calls MinecraftServer.stopCleanly()), I get an error with the following stacktrace:
java.nio.channels.ClosedChannelException         at java.base/sun.nio.ch.SocketChannelImpl.ensureOpenAndConnected(SocketChannelImpl.java:215)         at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:527)         at net.minestom.server.utils.binary.BinaryBuffer.writeChannel(BinaryBuffer.java:144)         at net.minestom.server.network.player.PlayerSocketConnection.flush(PlayerSocketConnection.java:293)         at net.minestom.server.network.player.PlayerSocketConnection.writeAndFlush(PlayerSocketConnection.java:271)         at net.minestom.server.entity.Player.kick(Player.java:1400)         at net.minestom.server.entity.Player.remove(Player.java:475)         at net.minestom.server.network.ConnectionManager.shutdown(ConnectionManager.java:350)         at net.minestom.server.MinecraftServer.stopCleanly(MinecraftServer.java:721)         at me.arcanewarrior.com.commands.StopCommand.lambda$new$0(StopCommand.java:13)         at net.minestom.server.command.builder.ParsedCommand.execute(ParsedCommand.java:67)         at net.minestom.server.command.builder.CommandDispatcher.execute(CommandDispatcher.java:94)         at net.minestom.server.command.CommandManager.execute(CommandManager.java:111)         at net.minestom.server.listener.ChatMessageListener.listener(ChatMessageListener.java:34)         at net.minestom.server.listener.manager.PacketListenerManager.processClientPacket(PacketListenerManager.java:100)         at net.minestom.server.network.packet.client.ClientPlayPacket.process(ClientPlayPacket.java:19)         at net.minestom.server.entity.Player.update(Player.java:306)         at net.minestom.server.entity.Entity.tick(Entity.java:467)         at net.minestom.server.thread.TickThread.tick(TickThread.java:69)         at net.minestom.server.thread.TickThread.run(TickThread.java:41)
Potential Explanation
Following the stacktrace, I noticed that the ConnectionManager's shutdown method calls these lines:
playerConnection.sendPacket(disconnectPacket);
playerConnection.flush();
player.remove();
But the player.remove(); line eventually leads into this line (in the kick() function that it calls at the end):
((PlayerSocketConnection) playerConnection).writeAndFlush(disconnectPacket);
playerConnection.disconnect();
So Minestom is sending 2 disconnect packets and flushing the connection twice, which I believe is the cause of the error.

Fixed by ae08ac29872fdd394d261c20587efd5ebead3c6f


New Models (GoogLeNet & ResNet)

Will have to use Keras's functional API to construct GoogLeNet since the Inception module passes the same input to multiple layers in parallel. See: https://keras.io/getting-started/functional-api-guide/
Note we could likely find a pre-made solution that is highly optimized but we're going out of our way to build a solution on our own without external reference. This helps us learn more about Keras. We can always improve the implementation based on other people's work.

We have created functions for generating the outputs of inception modules and residual units using the functional API. We can now use the functional API along with these functions to create the GoogLeNet and ResNet models. That will be our next step.

Cleaned up data preprocessing shell scripts and added instructions for downloading and preprocessing Imagenet images.

Finished GoogLeNet, doing ResNet next. Then need to tweak both to a starting point we're happy with based on information in original papers.

ResNet done. Can easily switch between ResNet-18 and ResNet-34. Next is tweaking starting points for both to something reasonable based on papers.

AlexNet running with changes. Now need to test GoogLeNet and ResNet change with the default configurations we've made for them. We also need to move AlexNet rundef.py files into version folders to match new project convention.
After we check new models run and finalize project structure we can merge and move to training and tuning the new models!

Parametrized the number of classes we train the model to learn so we can debug! Also parametrized the number of minibatches that we can train on so we can try fitting minibatches for debugging as well.
Left to do:

Reorganize Alexnet model structure.
Rename AlexNetSequence class.
Update README.md to reflect current project structure.

Done!


SEQ IDs are not inherited from parent activity

winner
https://jira.jpl.nasa.gov/browse/AERIEQS-273
Moderate
When giving an activity which is a parent a Sequence ID, that Sequence ID is not flowed down to the children. Each child has to be manually given a Sequence ID.
I would expect that updating the parent activity's SEQ ID would at a minimum update the SEQ ID for all children which have not been manually set a SEQ ID by the user. There may still be an open question on whether we want parent IDs to override children IDs in all cases.
This is related to AERIEQS-272 Can't add SEQ ID to activity before simulation and AERIEQS-274 Sequence IDs not persistent in a plan.

New issue links are #798 and #796 (to replace the AERIEQS references above.)


Data Retention Policy for Check history

How long does Cabot's database keep check history for?
I'm deploy it using AWS EC2 instances, and I'd like to know the size I should be looking at and how scalable Cabot it is. If I were to have 500 checks running regularly (say every 5 minutes or so), for example, what would be a good hard drive size to use in order to handle the database growth over time?

Also, is there to change it? If so, how?

+1
A sizing section in the deployment guide would be helpful.


Support OpenCL.DebugInfo.100 extended instruction set

The interesting bits are:

The extended instruction set adds enum types, with names that overlap with enum types from  the older DebugInfo extension.  This affects spv_operand_type_t enum values.
So I added a mechanism to prefix the operand-kind names, so distinguish the cases.
The enums from the old DebugInfo are left unprefixed, but we do add a CLDEBUG100_ prefix to the new ones.

The OpenCL.DebugInfo.100 extended instruction has been ratified by Khronos but is not yet on the SPIR-V registry.

cc: @AlexeySotkin

I don't have an active GN setup, so I took a guess at the BUILD.gn changes.   Cc: @dj2 @zoddicus

:thumbsup: @dneto0 Thank you very much!

Is there going to be a header file for the opcodes of this instruction set?
(similar to this for the GLSL ext set.)

Hey @jaebaek please take a look now.  I think I fixed the operands to all the instructions now.

Is there going to be a header file for the opcodes of this instruction set?

The build generates an OpenCLDebugInfo.h file in the build output directly.
Ideally all these grammar files would be migrated into the KhronosGroup/SPIRV-Headers repo, and the tooling to generate headers too.

The generated header file is at this gist:  https://gist.github.com/dneto0/a8fe7e0362b817092fde746a97322204

SG. Thanks!

Hi @jaebaek  I think you reviewed the old commit.  I posted another commit after that. Please take another look.

Oh, you are right. It looks good to me now.

Rebased. Keeping the approval.


Also move authorization to the grpc interceptor

This PR completes the move from server based authentication and authorization to grpc interceptor based authorization and authentication.
This should make it much easier for specific deployments to swap in their own appropriate authentication and authorization functions.
Diffbase #973

Codecov Report

Merging #974 into master will increase coverage by 0.25%.
The diff coverage is 44.31%.

@@            Coverage Diff            @@
##           master    #974      +/-   ##
=========================================
+ Coverage   47.34%   47.6%   +0.25%
=========================================
  Files          28      29       +1
  Lines        2034    2044      +10
=========================================
+ Hits          963     973      +10
- Misses        894     896       +2
+ Partials      177     175       -2

Impacted Files
Coverage Δ

core/keyserver/keyserver.go
35.63% <ø> (+2.46%)
:arrow_up:

impl/authentication/google.go
18.75% <0%> (ø)

impl/authorization/interceptor.go
0% <0%> (ø)

impl/authentication/context.go
100% <100%> (ø)

impl/integration/env.go
73.83% <100%> (+2.4%)
:arrow_up:

impl/authentication/fake.go
88.88% <100%> (ø)

impl/authorization/authorization.go
86.66% <80%> (-5.65%)
:arrow_down:

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 a662a3e...430589b. Read the comment docs.


[BUG]: List of required documents PDF download before E-Filing is not affected by language preferences.

The pdf for List of Required Documents shown before starting e-filing, when downloaded on malayalam language setting is in English

@devarajd94 We need a Malayalam version of this PDF


Pretrain dimension issue

I record data using the generate_expert_traj function taking the following shape:
actions (2633, 1)
obs (2633, 1, 24, 1)
rewards (2633,)
episode_returns (20,)
episode_starts (2633,)
Total trajectories: 1
Total transitions: 274
Average returns:<PHONE_NUMBER>8425773
Std for returns: 7.912250069270531
My observation space is defined as follows:
self.observation_space = spaces.Box(low=-100, high=100,
shape=(1,24,1), dtype=np.float32)
When I feed this dataset to pretrain using a DQN model using below command:
dataset = ExpertDataset(expert_path = 'greedy.npz', traj_limitation=1,
batch_size=128)
env = LoadEnv() # Load the environment for the agent

policy_kwargs = dict(act_fun = tf.nn.relu, layers = [32, 32])

model = DQN('MlpPolicy', env,policy_kwargs = policy_kwargs, gamma = 0.01, verbose=1, batch_size=128, learning_rate=1e-3,
                         prioritized_replay=True, seed = 2)
model.pretrain(dataset, n_epochs = 1000)
model.learn(int(5e5))
model.save("DQN_agent_5")

I get an error about the shape of the pretraining data:
Note : my observation only contains numerical values, not an image.
Pretraining with Behavior Cloning...
Pretraining with Behavior Cloning...
Traceback (most recent call last):
File "[sic]", line 407, in
main()
File "[sic]", line 359, in main
model = train_agent() # Train the agent
File "[sic]", line 312, in train_agent
model.pretrain(dataset, n_epochs = 1000)
File "C:\Users\joemm\anaconda3\lib\site-packages\stable_baselines\common\base_class.py", line 351, in pretrain
train_loss_, _ = self.sess.run([loss, optim_op], feed_dict)
File "C:\Users\joemm\anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 950, in run
run_metadata_ptr)
File "C:\Users\joemm\anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1149, in _run
str(subfeed_t.get_shape())))
ValueError: Cannot feed value of shape (128, 24) for Tensor 'deepq/input/Ob:0', which has shape '(?, 1, 24, 1)'
System Info
Describe the characteristic of your environment:
Python version: 3.7.6
Tensorflow version: 1.14.0
Versions of any other relevant libraries: stable-baselines 2.8.0; numpy 1.17.3

I mainly want to know what shape the observation from the pre-training needs to be in order to work. My observation space has shape (1,24,1) and as far as I can tell that is what is being stored in the pre-training.

I mainly want to know what shape the observation from the pre-training needs to be in order to work. My observation space has shape (1,24,1) and as far as I can tell that is what is being stored in the pre-training.

Without code I not say for certain, but I think issue lies in the odd shape of your observations. Try removing the "1" dimensions from your observation shape and only leave in self.observation_space = spaces.Box(low=-100, high=100, shape=(24,), dtype=np.float32).
Sidenote: Try to normalize your data to be in [-1, 1] for neural network's comfort.

Without code I not say for certain, but I think issue lies in the odd shape of your observations. Try removing the "1" dimensions from your observation shape and only leave in self.observation_space = spaces.Box(low=-100, high=100, shape=(24,), dtype=np.float32).
Sidenote: Try to normalize your data to be in [-1, 1] for neural network's comfort.

@Miffyli , based on your recommendation I modified the shape of the observation space. The pretraining worked!
I plan to work on normalizing the data soon, this was an oversight on my part.
Thank you!

@Miffyli , based on your recommendation I modified the shape of the observation space. The pretraining worked!
I plan to work on normalizing the data soon, this was an oversight on my part.
Thank you!


Implement API Gateway skeleton and unit tests

This change is

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:

crates/gateway/src/gateway.rs line 59 at r1 (raw file):
Previously, ArniStarkware (Arnon Hod) wrote…
What am I missing? How come this method has no self?

This method will always succeed, as it does not actually query an instance of the gateway to see if it is alive.
Either explain that and add a Todo or make it into a method.

crates/gateway/src/gateway.rs line 51 at r1 (raw file):
Previously, giladchase wrote…

What am I missing? How come this method has no self?

Associated method (like a @staticmethod).
This is less common in rust, free functions are preferred over associated functions unless the function references Self in some way (usually constructors or using associated consts).

My question is about the logic. The method handle_request should know what request it is handling and who is handling it (I assumed self).


Hikari + MSSQL 7.2.1 having issues

Hello All,
We have an spring boot application that is using HikariCP and mssql 6.x libraries and everything seems working fine.
We started moving to the latest version of mssql, which is 7.2.1 and started observing issues connecting to the database, once in a while under load test.
On the initial research, we found that the SharedTimer thingy that got introduced is killing us.
2019-04-17_00:27:40.315 [42122f1e7f861f55:42122f1e7f861f55:0] [Root=1-5cb672fb-8a9936f01f1e83407ebf0024] [qtp1673605040-61] ERROR com.zaxxer.hikari.pool.HikariPool - HikariPool-278 - Exception during pool initialization. java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@746dc536 rejected from java.util.concurrent.ScheduledThreadPoolExecutor@7dd4eba[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0] 	at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2063) 	at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:830) 	at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:326) 	at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:533) 	at com.microsoft.sqlserver.jdbc.SharedTimer.schedule(SharedTimer.java:102)
Any help on how to fix is highly appreciated.

Hi @TheHydGuy, thanks for reporting this issue. The team is looking into this, and we'll let you know soon once we have an update.

Is it because you have not thread-safe implementation of SharedTimer introduced in #920
public static synchronized SharedTimer getTimer() use lock on class instance
public synchronized void removeRef() use lock on timer object instance
so possible situation when

first thread start removeRef, shutdown executer and execute executor = null;
second thread receive the same object over getTimer and execute schedule on the same timer object

refCount also updated in lines 63 and 84 without any memory barriers or synchronization, so nobody can guaranty what the final result will be =)

Thanks for the response.
That means the HikariCP library we are using is not handling properly in this case? We do not directly deal with SharedTimer class in our code.
Thanks!

HikariCP use SQLConnection and QueryExecutor, QueryExecutor use SharedTimer, SharedTimer contain bug.
It doesn't mean how you will use mssql-jdbc driver with HikariCP or directly without any pool, you always will have incorrect work of SharedTimer in the end.

Hi @TheHydGuy @xhumanoid
I've created PR #1046 to address thread safety issues as discussed here, please take a look and let me know if I missed something.


Autocomplete is out of control

VSCode Version: 1.4.0
OS Version: Windows 10

Autocomplete is just out of control.  It tries to complete statements for me when I'm typing a comment, like if I'm adding a comment to a typescript file and I'm writing a sentence like "this service is for" and hit enter to go to a new line, it expands into a whole for statement block.  This is only one example, it seems to happen a lot and is very disruptive.
It also likes to autocomplete while I'm editing markdown files for some reason, I think it might just go off of words in the file?  This is very disruptive because the 'enter' key which I use in normal typing performs the completion, I'll often have errors in my file if I don't watch while I'm typing.  Like I might use the word 'completed' earlier in the file, but if I want to end a line with the word 'complete', it changes to 'completed'
Steps to Reproduce:

Start typing in a markdown file or in comments in typescript/javascript/html files, hit 'enter' after typing 'for' in a comment in a typescript file, or type a sentence with the word 'created' in a markdown file, and later type 'create' and hit 'enter'.  I think I've noticed something in html comments as well, but I don't have a handy example.

This is in addition to the aggressive completion of all quotes and parenthesis.  First, I don't understand why this is even helpful to anyone.  What are you supposed to do when you're done with the parenthesis?  I always have to type them anyway to move on, like if I'm saying "console.log('", I end up between the single parens in "console.log('')", but when I'm done typing I still need to type "');" to put a semicolon at the end of the line.  I don't think they serve a useful purpose, and they cause errors or extra keystrokes when I want to replace things sometimes, like if I want to change quotes to a backtick for a typescript template string, or I'm using a combination of quotes in an attribute in an angular template.

You can try using the following settings:

editor.autoClosingBrackets: false to not get the automatic bracket closing.
editor.quickSuggestions: false to not get the suggestions unless you ctrl+space
editor.acceptSuggestionOnEnter: false to accept suggestions only on Enter.
editor.snippetSuggestions: "none" to never see snippets (such as the for loop)

@JasonGoemaat would these or a combination work for you?
You can find all the settings under File > Preferences > User Settings. If you look around, you might find others which would work best for you.

@alexandrudima Thanks for pointing to "editor.acceptSuggestionOnEnter". This setting fixed the enter-always-autocompletes issue for me

These are good workarounds, but IMO autocomplete should never happen in comments. It would be nice to see that change made.

Thanks @alexandrudima, that helps a lot.  I didn't even think that autoClosingBrackets would work for quotation marks.  Problem is that I like the closing brackets ( ], }, ) ), it's just the closing quotes that I hate :8ball:

@alexandrudima I'd like to set all of those options (especially editor.acceptSuggestionOnEnter: false), but only when I'm inside a comment. For code, they're all quite useful. Is it possible to set them contextually?

as @ffxsam and @danvk have said, the autocomplete it's very useful and it's also good to be able to control it with different options, but IMO it should be deactivated automatically inside of a comment where a developer should be free to write whatever he wants.
editor.acceptSuggestionOnEnter: false mitigates a little the problem but it's still present...

+1, would really like to see this happen. I like using auto-complete (on enter) in code, but it's unbearable (and doesn't make sense) for it to happen in comments.

@jrieken Can this use-case be covered by the new per completion item accept character?

Closing this as dup of  #10819. Plan is to extend the editor.wordBasedSuggestions-setting to something like comments, strings, everywhere instead of the current true|false.

@alexandrudima thanks so much for this:

editor.autoClosingBrackets: false

Is there any way to get the same beheaviour turned for single/double quotes?


mbedtls_net_accept missing port of remote

Type: Enhancement\Feature Request
Priority: Minor

After accepting a remote client by calling mbedtls_net_accept I would like to know beside IP also its port.
Maybe add mbedtls_net_accept_ex which would return the whole sockaddr_in/sockaddr_in6 of an accepted client?

This can be derived from client_ctx->fd (similar to how net_sockets.c obtains the IP address returned via client_ip).
We could add built-in support for this, but I'm not sure how generally useful this would be? I would lean towards not adding this, unless you feel there is a reason this would be widely useful?

This can be derived from client_ctx->fd (similar to how net_sockets.c obtains the IP address returned via client_ip).

Do you mean this line?
memcpy( client_ip, &addr4->sin_addr.s_addr, *ip_len );
The IP address is returned not by a file descriptor (client_ctx->fd), but by struct sockaddr in the accept system call:
accept( bind_ctx->fd, (struct sockaddr *) &client_addr, &n )


WebSocket: Close event is not cancelable, so its default cannot be prevented

This may call back to the Node's issue where MessageEvent is not cancelable. I can see the same being true for the close event:
https://github.com/mswjs/interceptors/blob/2a06bce76dddaeeeb38fc37f2d3e78fbe458ce23/src/interceptors/WebSocket/WebSocketServerConnection.ts#L349
Checking this always yields false even if event.preventDefault() has been called on the close event on the server object.
We currently do a custom CancelableMessageEvent for message events. We may want to do the same for the close event.

Released: v0.35.9 🎉
This has been released in v0.35.9!

📄 Release notes
📦 npm package

Make sure to always update to the latest version (npm i @mswjs/interceptors@latest) to get the newest features and bug fixes.

Predictable release automation by @ossjs/release.


Incompatible Node Versions

[cds] - ❗Uncaught Error: The module '/Users/I569113/Documents/SAP/Praxisphase 4/custom widgets/notifications/node_modules/better-sqlite3/build/Release/better_sqlite3.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 120. This version of Node.js requires
NODE_MODULE_VERSION 108. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).

Hi please provide detailed steps to reproduce this issue. Which versions do you use? Which Node version do you use? Did npm rebuild or npm install solve the issue? Looks like other ppl had the same issue before.

Try to use @cap-js/sqlite -D
And yes I did npm install/rebuild, multiple times.
Am Do., 11. Juli 2024 um 16:54 Uhr schrieb Patrice Bender <
@.***>:

Hi please provide detailed steps to reproduce this issue. Which versions
do you use? Which Node version do you use? Did npm rebuild or npm install
solve the issue? Looks like other ppl had the same issue before
https://github.com/WiseLibs/better-sqlite3/issues/919.
—
Reply to this email directly, view it on GitHub
https://github.com/cap-js/cds-dbs/issues/741#issuecomment-2223151365,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AST6DVGYKYNEOU3LUF6R2X3ZL2MC7AVCNFSM6AAAAABKW5EFSWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRTGE2TCMZWGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

So it happens every time I start my cap application. And debug it by using
cds-ts watch
Am Do., 11. Juli 2024 um 19:27 Uhr schrieb Anna Stabel <
@.***>:

Try to use @cap-js/sqlite -D
And yes I did npm install/rebuild, multiple times.
Am Do., 11. Juli 2024 um 16:54 Uhr schrieb Patrice Bender <
@.***>:

Hi please provide detailed steps to reproduce this issue. Which versions
do you use? Which Node version do you use? Did npm rebuild or npm install
solve the issue? Looks like other ppl had the same issue before
https://github.com/WiseLibs/better-sqlite3/issues/919.
—
Reply to this email directly, view it on GitHub
https://github.com/cap-js/cds-dbs/issues/741#issuecomment-2223151365,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AST6DVGYKYNEOU3LUF6R2X3ZL2MC7AVCNFSM6AAAAABKW5EFSWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRTGE2TCMZWGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

please provide a sample project where I can reproduce this (never seen this in all my cap projects with this dependency), otherwise I can just guess what is wrong here :/

Hi @annabbabl
If the problem persists, please feel free to re-open → If you provide the project + steps to reproduce I'll have a look.


net/netip

What version of Go are you using (go version)?

$ go version
go version go1.18.3 linux/amd64

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/gaissmai/.cache/go-build"
GOENV="/home/gaissmai/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/gaissmai/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/gaissmai/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib64/go/1.18"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib64/go/1.18/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.18.3"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1872475051=/tmp/go-build -gno-record-gcc-switches"
GOROOT/bin/go version: go version go1.18.3 linux/amd64
GOROOT/bin/go tool compile -V: compile version go1.18.3
uname -sr: Linux 5.14.21-150400.22-default
LSB Version:    n/a
Distributor ID: openSUSE
Description:    openSUSE Leap 15.4
Release:        15.4
Codename:       n/a
/lib64/libc.so.6: GNU C Library (GNU libc) stable release version 2.31 (git 0a8262a1b2).

What did you do?

https://go.dev/play/p/VcQyBOfU2sV
What did you expect to see?
panic
What did you see instead?
the address string is parsed without error.
but see, RFC 5952  A Recommendation for IPv6 Address Text Representation
The address with mixed ':' and '.' is only allowed/recommended for addresses with well-known prefixes, see
RFC 5952, section 5 and RFC 4291, section 2.5.5
::ffff:0: is no well-known prefix

From RFC 5952 Section 5

For these addresses, mixed notation is
RECOMMENDED if the following condition is met: the address can be
distinguished as having IPv4 addresses embedded in the lower 32 bits
solely from the address field through the use of a well-known prefix.
Such prefixes are defined in [RFC4291] and [RFC2765] at the time of
this writing.

This is read as the mixed notation is recommended for addresses known to embed ipv4.

If it is known by some external method that a given
prefix is used to embed IPv4, it MAY be represented as mixed
notation.

This is read as there are no limits on what may be considered a prefix for embedding ipv4.
Closing as working as intended.


Support android plugin DSL in flutter 3.19

Latest Flutter version 3.19 has been released recently.
Among the changes, there is 1 mentioning about deprecated gradle plugin :
Deprecated imperative apply of Flutter's Gradle plugins
I've try to migrate it according to the flutter doc but new relic failed with exceptions.
FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\User\MeoStudio\pure360-app-v2\android\app\build.gradle' line: 6

* What went wrong:
An exception occurred applying plugin request [id: 'com.newrelic.agent.android']
> Failed to apply plugin 'com.newrelic.agent.android'.
   > Could not create plugin of type 'NewRelicGradlePlugin'.
      > No such property: logger for class: com.newrelic.agent.InstrumentationAgent

Here's my settings.gradle
plugins {
    id "dev.flutter.flutter-plugin-loader" version "1.0.0"
    id "com.android.application" version "7.4.2" apply false
    id "org.jetbrains.kotlin.android" version "1.7.10" apply false
    id "com.google.gms.google-services" version "4.3.15" apply false
    id "com.newrelic.agent.android" version "7.0.0" apply false
}

Here's my app/build.gradle
plugins {
    id "com.android.application"
    id "kotlin-android"
    id "dev.flutter.flutter-gradle-plugin"
    id "com.google.gms.google-services"
    id "com.newrelic.agent.android"
}

Please update the android implementation or let me know what should I do for the migration. At the moment, I'll continue using flutter 3.16. Thanks

@LanShunoda A suggested workaround to use the plugins closure:
The Android agent plugin is not yet published to the Gradle Plugin Portal (we plan on doing this later this year), so until this is done you will have to provide the classpath to the plugin either through the buildscript DSL (as documented), or in settings.gradle(.kts) through the pluginManagement closure:
pluginManagement {
  var nr_version = "7.1.+"

  repositories {
    mavenCentral()
  }
  resolutionStrategy {
    eachPlugin {
      if (requested.id.id.startsWith("newrelic")) {
        useModule("com.newrelic.agent.android:agent-gradle-plugin:${nr_version}")
      }
    }
  }

  // optiional: define here or root level build
  plugins {
    id("newrelic") version "${nr_version}"
  }
}

Then, the New Relic plugin can be declared in either pluginManagement (above), or the project level gradle build file:
pluginManagement {
  var nr_version = "7.+"

  repositories {
    mavenCentral()
  }
  resolutionStrategy {
    eachPlugin {
      if (requested.id.id.startsWith("newrelic")) {
        useModule("com.newrelic.agent.android:agent-gradle-plugin:${nr_version}")
      }
    }
  }

  // optiional: define here or root level build
  plugins {
    id("newrelic") version "${nr_version}"
  }
}

plugins {
  id("com.android.application") version "8.1.+ apply false
  id("org.jetbrains.kotlin.android") version "1.8.0" apply false
  id("newrelic") version "<version>" apply false
}

And then applied in the app-level build file with:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
    id("com.android.application")
    id("org.jetbrains.kotlin.android")
    id("newrelic")
}

Thanks for the quick response, the provided solution works perfectly.


Calling setupPlayer() from the background causes error in iOS

setupPlayer() works fine from foreground, but when application in background (app receives silent push so handler is in there) i'm getting this error:

The callback setupPlayer() exists in module TrackPlayerModule, but only one callback may be registered to a function in a native module.

Don't know what to do. I need to start play music from the background.
WORKAROUND:
I setup player from iOS native code on didreceivenotification. Not calling setupPlayer from JS code fixes the issue.

@Jlexyc Could you please explain more how the workaround is applied ?


support for Python 3.12

Argilla Community Growers

🆕-features

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactor (change restructuring the codebase without changing functionality)
[x] Improvement (change adding some improvement to an existing functionality)
[ ] Documentation update

@davidberenstein1957 - We'd love to see this as well! Once this is released we can support python 3.12 in unstructured.


Dashboard layout for events with long names weird

We either need to not display the event name in "Register for..." or we need to have padding between the lines.

This also overlaps with mobile, since all names are long on mobile ;-)


Add support for AWS environment meta data

Currently, the only cloud platform exposing any metadata is GCE via:
https://github.com/google/cloudprober/blob/master/sysvars/sysvars_gce.go
It would be nice to expose AWS meta data when the probes are run on Amazon EC2's, such as REGION, etc

#315 Made a PR for this

Marking closed. To track the release of this feature, please look at https://github.com/google/cloudprober/issues/326.


pointer uint in tvp

hi i got problm with null pointer in uint type when i using your tvp library
the problem is that when i pass nil uint pointer as a parameter of tvp  in to store  procedure i got this error
The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Table-valued parameter 0 (""), row 1, column 1: Data type 0x26 has an invalid data length or metadata length.
also my tvp struct is
type MerchantIbanTVP struct {
Id              *uint
MerchantID      *uint
IbanIndex       *uint64
IBAN            *string
SharePercentage *float64
}
also i using both gorm and sql.dataBase library for calling my sp
how can i fix this problem

hi i got problm with null pointer in uint type when i using your tvp library the problem is that when i pass nil uint pointer as a parameter of tvp in to store procedure i got this error
The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Table-valued parameter 0 (""), row 1, column 1: Data type 0x26 has an invalid data length or metadata length.
also my tvp struct is
type MerchantIbanTVP struct { Id *uint MerchantID *uint IbanIndex *uint64 IBAN *string SharePercentage *float64 }
also i using both gorm and sql.dataBase library for calling my sp
how can i fix this problem

Hi, please checkout #713 MR


use of functions

"Hello, I'm trying to use the Functions but I've initiated a minimal code to test, I don't have any errors in the response, but I have an empty response. I've been stuck for several days, is the feature working? Any ideas of what i missing ?
`
final request = ChatCompleteText(

  messages: [
    Messages(
        role: Role.user,
        content: "What is the weather like in Boston?",
        name: "get_current_weather"),
  ],
  maxToken: 2000,
  model: GptTurbo0631Model(),
  functions: [
    FunctionData(
        name: "get_current_weather",
        description: "Get the current weather in a given location",
        parameters: {
          "type": "object",
          "properties": {
            "location": {
              "type": "string",
              "description": "The city and state, e.g. San Francisco, CA"
            },
            "unit": {
              "type": "string",
              "enum": ["celsius", "fahrenheit"]
            }
          },
          "required": ["location"]
        })
  ],
);

try {
  await for (var event in openAI.onChatCompletionSSE(request: request)) {
    data = event;
    if (data?.choices != null) {
      var text = data.choices.last.message.content;
      answer += text;
    }
  }

  print('Stream is done bro');
  print(answer);
  return answer as dynamic;
} catch (error) {
  if (error is OpenAIRateLimitError) {
    print('OpenAIRateLimitError error ->${error.data?.message}');
  }
}`

@BilalKramdi you try mock function call api from server ? or real call


[incubator/vault] Added annotations

What

Added annotations for deployment
Added annotations for replicas
Redo annotations for services

Why

To provide specify annotations for deployment from values
To provide specify annotations for replicas from values to support kube2iam
To follow the same pattern in templating annotations

What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:

Please rebase master and fix merge conflicts

@rjkernick Done

Please fix linting issue: https://circleci.com/gh/kubernetes/charts/8664?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

@rjkernick I addressed your comments.

/lgtm

@unguiculus I addressed your comments.
can you review?

/lgtm


Integrate clkmgr

This is just a draft integration to see how things might look, and also to work through some of the kinks.
Once a PR like this one is merged, we can finally embark on the actual clock split and split things into real async domains.

@eunchan
i have not included your feedback on clkmgr yet, but i was wondering if you can have a look how this might look when all integrated. I don't like how clock / reset handling is bit different right now, so i'm going to go back and clean that up as part of a separate PR.

i'm not sure..i usually see these done manually.  I feel like if there are
none, the tool would probably throw some in.
Let me try later today or tomorrow, I'm kind of curious.
On Mon, May 4, 2020 at 7:31 PM Michael Schaffner<EMAIL_ADDRESS>wrote:

@msfschaffner approved this pull request.
Thanks @tjaychen https://github.com/tjaychen, looks good to me so far.
In util/topgen/merge.py
https://github.com/lowRISC/opentitan/pull/2084#discussion_r419830417:

     for port, clk in ep['clock_srcs'].items():

         ep_clks.append(clk)

       if unique == "yes":

       hier_name = clk_paths[src]

       if src == 'ext':

           # clock comes from the port and therefore have no

incomplete sentence?
In hw/top_earlgrey/rtl/clkgen_xil7series.sv
https://github.com/lowRISC/opentitan/pull/2084#discussion_r419832762:

@@ -72,15 +72,18 @@ module clkgen_xil7series (
.O (clk_fb_buf)
);

BUFG clk_50_bufg (
.I (clk_50_unbuf),
.O (clk_50_buf)
);

do we know whether the tool would insert them automatically if needed? in
that case we could remove them from this file...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/pull/2084#pullrequestreview-405459614,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSW5FIJUPTUM2KAHA5DRP527NANCNFSM4MTJPY5Q
.

@eunchan
@msfschaffner
i did some rebasing and minor lint fixes and addressed some comments, do you guys mind having one more look?

I'll follow-up with real asynchronous clocks and the clock naming fixes in a different PR.

Hey @tjaychen, I just made a PR that adds the CSR tests to the sanity (and hence the private CI). If you're okay with it, merge this in after ensuring that the CI is clean with the CSR tests having run. If not, that is fine as well.

sgtm, i'm almost positive it will break..since it will disable clocks. I"ll
probably need to add some exclusions.
On Fri, May 8, 2020 at 11:37 AM sriyerg<EMAIL_ADDRESS>wrote:

Hey @tjaychen https://github.com/tjaychen, I just made a PR that adds
the CSR tests to the sanity (and hence the private CI). If you're okay with
it, merge this in after ensuring that the CI is clean with the CSR tests
having run. If not, that is fine as well.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/pull/2084#issuecomment-625957420,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSVZEWGS2LGOCEM6WLDRQRGO7ANCNFSM4MTJPY5Q
.

@sriyerg
i've rebased and added exclusions. Do you mind taking a look to make sure I didn't add too blanket an exclusion? On another note, I think CI (private) might have gotten stuck again...

@sriyerg
i've rebased and added exclusions. Do you mind taking a look to make sure I didn't add too blanket an exclusion?

LGTM, thanks!
CI private is queued and is currently at the 5th spot. Looks ok to me.

updates with private CI revealed that the exclusions done on pwrmgr and clkmgr were insufficient.  The reset test itself can cause the device to hang.

thanks all for the review. I am merging this now.


global default value for location parameter is flagged

The following ARM snippet is flagged:
"location": {
"type": "string",
"defaultValue": "global" ,
"metadata": {
"description": "Location where the Action Group is created"
}
}
Is this by design? Global is required for deploying an Action Group.

fix in #186

Thanks!

merged


elxInvertTransform

Hi Andras,
Could you please add elxInvertTransform to the binaries?
my extension uses elastix (I am preparing to upload it next week) and I a planning to add your extension as a dependency instead of adding elastix binaries to my extension.

If you still need this then please send a pull request with the necessary CMake files changes.

I know that:
                    set (Build_TESTING  True)

will add the binary file elxInvertTransform to the bin folder bin but  I still don't know how to add it to the installation folder using CPack.

Search for "install" word in CMake files.


Installing extension behind a firewall

I tried to install an extension. As I'm currently behind a corp firewall I wasn't successful after a first try with ext install. After configuring "http.proxy": "http://xxx.yyy.zzz:1234/" within my global settings.json I was successful in loading the list of extensions. But installing one fails with the error connect ECONNREFUSED <IP_ADDRESS>:443. Yes, I also configured https.proxy correspondingly, but it seems that this value doesn't get honored.

+1 Same here. I can check for updates but cannot "ext install" being proxy. I tried setting up the corresponding http_proxy and https_proxy environment variables too just in case, but no luck.

+1 Same here.  Also using Cntlm.

Duplicate of #69

Seems like a certificate issue. If I try accessing the Extension gallery directly by its IP address as it is shown in VSCode (i.e. https://<IP_ADDRESS>), I'm getting the error:

The security certificate presented by this site was issued fora different website's address.

This worked for me.
Add proxy to File->Preferences->User settings
"http.proxy": ""


tb-form-buttons directive needs to be removed

This directive needs to be removed altogether. Buttons and containing panels are simple elements that the generator should be able to handle without a special directive.

I removed the tbFormButtons directive, and a simple div with the buttons was added to the Template Service.